diff --git a/.gitignore b/.gitignore index 00cbbdf5..57154db7 100644 --- a/.gitignore +++ b/.gitignore @@ -57,3 +57,4 @@ typings/ # dotenv environment variables file .env +RTL.conf \ No newline at end of file diff --git a/README.md b/README.md index 3c5f7782..5d7e3432 100644 --- a/README.md +++ b/README.md @@ -53,45 +53,60 @@ Reset Git (for the changes you may have made to the config file). Warning: This step will revert the UI settings, you may have changed on RTL (We will address this in future revisions). -``` -$ git reset --hard HEAD +`$ git reset --hard HEAD` -$ git clean -f -d +`$ git clean -f -d` -$ git pull +`$ git pull` -$ npm install -``` +`$ npm install` -### Execution +### Prep for Execution Make sure you are in the RTL directory, where the application was built. -Locate the complete path of the readable macroon file (admin.macroon) on your node. +RTL requires a config file `RTL.conf` to start the server and provide user authentication for the app. + +Locate the complete path of the readable macroon file (admin.macroon) on your node and lnd.conf file If you followed Stacidus's guide referenced above, and you are on lnd version 0.4.2 or below it should be `/home/admin/.lnd`. For lnd versions 0.5 and above, it should be `/home/admin/.lnd/data/chain/bitcoin/testnet`. -Other platform users should accordingly locate the directory of the readable macroon file. +Other platform users should accordingly locate the directory of the readable macroon and lnd.conf files. -The path of the macroon directory needs to be provided as a command line argument to start the server. +The path of the macroon directory and lnd.conf needs to be provided in the RTL.conf file to start the server. + +Sample RTL.conf: +``` +[Authentication] +lndServerUrl=https://localhost:8080/v1 +macroonPath=C:\Users\suheb\AppData\Local\Lnd\data\chain\bitcoin\testnet +nodeAuthType=DEFAULT +lndConfigPath=C:\Users\Suheb\AppData\Local\Lnd\lnd.conf +[Settings] +flgSidenavOpened=true +flgSidenavPinned=true +menu=Vertical +menuType=Regular +theme=dark-blue +satsToBTC=false +``` + +#### User Authentication on RTL +Basic user authentication has now been added on RTL. This requires user to login to RTL server first, before accessing LND functions. +There are two options to configure authentication on RTL, depending on the `nodeAuthtype` value provided in RTL.conf. + +For `nodeAuthType=DEFAULT` +Password provided in lnd.conf for the rpc setting for bitcoind will be used for authentication. + +For `nodeAuthType=CUSTOM` +Specific password can be provided in RTL.conf, to be used by RTL for authentication. +Password should be set with `rtlPass=` in the [Authentication] section of RTL.conf ### Start the Webserver Run the following command: -`node rtl --lndir ` - -For example: - -`$ node rtl --lndir /home/admin/.lnd` - -or - -`$ node rtl --lndir /home/admin/.lnd/data/chain/bitcoin/testnet` - -or (for windows) - -`$ node rtl --lndir C:\Users\\AppData\Local\Lnd\data\chain\bitcoin\testnet` +`node rtl` If the server started successfully, you should get the below output on the console: @@ -111,7 +126,7 @@ Wants=lnd.service After=lnd.service [Service] -ExecStart=/usr/bin/node /home/admin/Projects/RTL/rtl --lndir /home/admin/.lnd/data/chain/bitcoin/testnet/ +ExecStart=/usr/bin/node /home/admin/Projects/RTL/rtl User= Restart=always TimeoutSec=120 diff --git a/angular/3rdpartylicenses.txt b/angular/3rdpartylicenses.txt index 72a8e201..97c54276 100644 --- a/angular/3rdpartylicenses.txt +++ b/angular/3rdpartylicenses.txt @@ -23,9 +23,6 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -@angular/router -MIT - hammerjs MIT The MIT License (MIT) @@ -51,6 +48,9 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +@angular/core +MIT + tslib Apache-2.0 Apache License @@ -316,9 +316,21 @@ Apache-2.0 +@angular/router +MIT + +@angular/common +MIT + +@angular/platform-browser +MIT + @ngrx/store MIT +@ngrx/effects +MIT + @angular/material/dialog @angular/material @@ -374,17 +386,10 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -@angular/common -MIT - -@angular/platform-browser -MIT - @angular/material/tooltip @angular/flex-layout MIT -<<<<<<< HEAD The MIT License Copyright (c) 2018 Google LLC. @@ -406,210 +411,6 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -======= - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "{}" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright {yyyy} {name of copyright owner} - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - ->>>>>>> Initial commit @angular/material/icon @@ -637,9 +438,6 @@ MIT @angular/material/table -@ngrx/effects -MIT - @angular/material/select angular2-qrcode @@ -1609,12 +1407,6 @@ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -@angular/core -MIT - -@angular/compiler -MIT - core-js MIT Copyright (c) 2014-2018 Denis Pushkarev diff --git a/angular/index.html b/angular/index.html index d742502d..11c0fd44 100644 --- a/angular/index.html +++ b/angular/index.html @@ -6,8 +6,8 @@ - + - + diff --git a/angular/main.0dcfb55f2edbb6c714fc.js b/angular/main.0dcfb55f2edbb6c714fc.js new file mode 100644 index 00000000..f60d8897 --- /dev/null +++ b/angular/main.0dcfb55f2edbb6c714fc.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{"+1uz":function(t,e,n){"use strict";function i(t,e,n,i,r,o){var l=o[0],a=o[1],u=o[2],s=o[3],c="";return c="M"+[t+r,e],c+="h"+((n=0===(n=Math.floor(n))?1:n)-2*r),c+=a?"a"+[r,r]+" 0 0 1 "+[r,r]:"h"+r+"v"+r,c+="v"+((i=0===(i=Math.floor(i))?1:i)-2*r),c+=s?"a"+[r,r]+" 0 0 1 "+[-r,r]:"v"+r+"h"+-r,c+="h"+(2*r-n),c+=u?"a"+[r,r]+" 0 0 1 "+[-r,-r]:"h"+-r+"v"+-r,c+="v"+(2*r-i),(c+=l?"a"+[r,r]+" 0 0 1 "+[r,-r]:"v"+-r+"h"+r)+"z"}n.d(e,"a",function(){return i})},"+Za2":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),n("CcnG");var i=n("DtyJ"),r=n("ahDk"),o=(n("yGQT"),n("f7VI")),l=(n("cpEJ"),n("QvMG"),n("iVvL"));e.ChannelPendingComponent=function(){function t(t,e,n){this.logger=t,this.store=e,this.rtlEffects=n,this.selectedFilter=0,this.pendingFilters=[{id:0,name:"Pending Open"},{id:1,name:"Pending Force Closing"},{id:2,name:"Pending Closing"},{id:3,name:"Waiting Close"}],this.position="below",this.information={},this.pendingChannels={},this.displayedClosingColumns=["closing_txid","channel_point","remote_balance","local_balance","remote_node_pub","capacity"],this.displayedForceClosingColumns=["closing_txid","limbo_balance","maturity_height","blocks_til_maturity","recovered_balance","channel_point","remote_balance","local_balance","remote_node_pub","capacity"],this.displayedOpenColumns=["commit_weight","confirmation_height","fee_per_kw","commit_fee","channel_point","remote_balance","local_balance","remote_node_pub","capacity"],this.displayedWaitClosingColumns=["limbo_balance","channel_point","remote_balance","local_balance","remote_node_pub","capacity"],this.flgLoading=[!0],this.unsub=[new i.Subject,new i.Subject]}return t.prototype.ngOnInit=function(){var t=this;this.store.select("rtlRoot").pipe(r.takeUntil(this.unsub[0])).subscribe(function(e){e.effectErrors.forEach(function(e){"FetchChannels/pending"===e.action&&(t.flgLoading[0]="error")}),t.settings=e.settings,t.information=e.information,t.pendingChannels=e.pendingChannels,void 0!==t.pendingChannels.total_limbo_balance&&(t.flgLoading[1]=!1,void 0!==t.pendingChannels.pending_closing_channels&&t.loadClosingChannelsTable(t.pendingChannels.pending_closing_channels),void 0!==t.pendingChannels.pending_force_closing_channels&&t.loadForceClosingChannelsTable(t.pendingChannels.pending_force_closing_channels),void 0!==t.pendingChannels.pending_open_channels&&t.loadOpenChannelsTable(t.pendingChannels.pending_open_channels),void 0!==t.pendingChannels.waiting_close_channels&&t.loadWaitClosingChannelsTable(t.pendingChannels.waiting_close_channels)),"error"!==t.flgLoading[0]&&(t.flgLoading[0]=void 0===t.information.identity_pubkey),t.logger.info(e)})},t.prototype.onOpenClick=function(t,e){var n=this.pendingOpenChannels.data.filter(function(e){return e.channel.channel_point===t.channel.channel_point})[0],i=JSON.parse(JSON.stringify(n,["commit_weight","confirmation_height","fee_per_kw","commit_fee"],2)),r=JSON.parse(JSON.stringify(n.channel,["channel_point","remote_balance","local_balance","remote_node_pub","capacity"],2)),o={};Object.assign(o,i,r),this.store.dispatch(new l.OpenAlert({width:"75%",data:{type:"INFO",message:JSON.stringify(o)}}))},t.prototype.onForceClosingClick=function(t,e){var n=this.pendingForceClosingChannels.data.filter(function(e){return e.channel.channel_point===t.channel.channel_point})[0],i=JSON.parse(JSON.stringify(n,["closing_txid","limbo_balance","maturity_height","blocks_til_maturity","recovered_balance"],2)),r=JSON.parse(JSON.stringify(n.channel,["channel_point","remote_balance","local_balance","remote_node_pub","capacity"],2)),o={};Object.assign(o,i,r),this.store.dispatch(new l.OpenAlert({width:"75%",data:{type:"INFO",message:JSON.stringify(o)}}))},t.prototype.onClosingClick=function(t,e){var n=this.pendingClosingChannels.data.filter(function(e){return e.channel.channel_point===t.channel.channel_point})[0],i=JSON.parse(JSON.stringify(n,["closing_txid"],2)),r=JSON.parse(JSON.stringify(n.channel,["channel_point","remote_balance","local_balance","remote_node_pub","capacity"],2)),o={};Object.assign(o,i,r),this.store.dispatch(new l.OpenAlert({width:"75%",data:{type:"INFO",message:JSON.stringify(o)}}))},t.prototype.onWaitClosingClick=function(t,e){var n=this.pendingWaitClosingChannels.data.filter(function(e){return e.channel.channel_point===t.channel.channel_point})[0],i=JSON.parse(JSON.stringify(n,["limbo_balance"],2)),r=JSON.parse(JSON.stringify(n.channel,["channel_point","remote_balance","local_balance","remote_node_pub","capacity"],2)),o={};Object.assign(o,i,r),this.store.dispatch(new l.OpenAlert({width:"75%",data:{type:"INFO",message:JSON.stringify(o)}}))},t.prototype.loadOpenChannelsTable=function(t){t.sort(function(t,e){return t.active===e.active?0:e.active?-1:1}),this.pendingOpenChannels=new o.MatTableDataSource(t.slice()),this.pendingOpenChannels.sort=this.sort,this.logger.info(this.pendingOpenChannels)},t.prototype.loadForceClosingChannelsTable=function(t){t.sort(function(t,e){return t.active===e.active?0:e.active?-1:1}),this.pendingForceClosingChannels=new o.MatTableDataSource(t.slice()),this.pendingForceClosingChannels.sort=this.sort,this.logger.info(this.pendingForceClosingChannels)},t.prototype.loadClosingChannelsTable=function(t){t.sort(function(t,e){return t.active===e.active?0:e.active?-1:1}),this.pendingClosingChannels=new o.MatTableDataSource(t.slice()),this.pendingClosingChannels.sort=this.sort,this.logger.info(this.pendingClosingChannels)},t.prototype.loadWaitClosingChannelsTable=function(t){t.sort(function(t,e){return t.active===e.active?0:e.active?-1:1}),this.pendingWaitClosingChannels=new o.MatTableDataSource(t.slice()),this.pendingWaitClosingChannels.sort=this.sort,this.logger.info(this.pendingWaitClosingChannels)},t.prototype.applyFilter=function(t){this.selectedFilter=t},t.prototype.ngOnDestroy=function(){this.unsub.forEach(function(t){t.next(),t.complete()})},t}()},"+jfF":function(t,e,n){"use strict";e.styles=[".chart-legend{display:inline-block;padding:0;width:auto!important}.chart-legend .scale-legend{text-align:center;display:flex;flex-direction:column}.chart-legend .scale-legend-wrap{display:inline-block;flex:1;width:30px;border-radius:5px;margin:0 auto}.chart-legend .scale-legend-label{font-size:12px}.chart-legend .horizontal-legend.scale-legend{flex-direction:row}.chart-legend .horizontal-legend .scale-legend-wrap{width:auto;height:30px;margin:0 16px}"]},"+kuk":function(t,e,n){"use strict";var i=n("WpQw"),r=n("CcnG"),o=n("21Lb"),l=n("OzfB"),a=n("Mr+X"),u=n("SMsm"),s=n("dEYt"),c=n("Ip0R"),d=n("lzlj"),f=n("hUWP"),p=n("FVSy"),h=n("TtEo"),m=n("LC5p"),g=n("bujt"),v=n("UodH"),_=n("dWZg"),y=n("lLAP"),b=n("wFw1"),C=n("OCG0"),w=n("o3x0"),x=n("cpEJ"),M=n("yGQT"),S=r.\u0275crt({encapsulation:0,styles:[i.styles],data:{}});function O(t){return r.\u0275vid(0,[(t()(),r.\u0275eld(0,0,null,null,3,"h4",[["class","title-message pb-1 pl-1"],["fxLayoutAlign","start center"]],null,null,null,null,null)),r.\u0275did(1,671744,null,0,o.DefaultLayoutAlignDirective,[r.ElementRef,l.StyleUtils,[2,o.LayoutAlignStyleBuilder],l.MediaMarshaller],{fxLayoutAlign:[0,"fxLayoutAlign"]},null),(t()(),r.\u0275ted(2,null,["",""])),r.\u0275ppd(3,1)],function(t,e){t(e,1,0,"start center")},function(t,e){var n=e.component,i=r.\u0275unv(e,2,0,t(e,3,0,r.\u0275nov(e.parent,0),n.data.titleMessage));t(e,2,0,i)})}function E(t){return r.\u0275vid(0,[(t()(),r.\u0275eld(0,0,null,null,3,"div",[],null,null,null,null,null)),(t()(),r.\u0275eld(1,0,null,null,2,"span",[],null,null,null,null,null)),(t()(),r.\u0275ted(2,null,["",""])),r.\u0275ppd(3,2)],null,function(t,e){var n=r.\u0275unv(e,2,0,t(e,3,0,r.\u0275nov(e.parent.parent.parent,1),e.parent.context.$implicit[1],"1.0-3"));t(e,2,0,n)})}function D(t){return r.\u0275vid(0,[(t()(),r.\u0275eld(0,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),r.\u0275ted(1,null,["",""]))],null,function(t,e){t(e,1,0,e.parent.context.$implicit[1])})}function A(t){return r.\u0275vid(0,[(t()(),r.\u0275eld(0,0,null,null,3,"mat-icon",[["class","icon-small cursor-pointer pl-1 top-5px mat-icon"],["role","img"],["rtlClipboard",""]],[[2,"mat-icon-inline",null]],[[null,"copied"],[null,"click"]],function(t,e,n){var i=!0,o=t.component;return"click"===e&&(i=!1!==r.\u0275nov(t,2).onClick(n)&&i),"copied"===e&&(i=!1!==o.copiedText(n)&&i),i},a.View_MatIcon_0,a.RenderType_MatIcon)),r.\u0275did(1,638976,null,0,u.MatIcon,[r.ElementRef,u.MatIconRegistry,[8,null]],null,null),r.\u0275did(2,16384,null,0,s.ClipboardDirective,[],{payload:[0,"payload"]},{copied:"copied"}),(t()(),r.\u0275ted(-1,0,["file_copy"]))],function(t,e){t(e,1,0),t(e,2,0,e.parent.context.$implicit[1])},function(t,e){t(e,0,0,r.\u0275nov(e,1).inline)})}function T(t){return r.\u0275vid(0,[(t()(),r.\u0275eld(0,0,null,null,1,"span",[],[[8,"hidden",0]],null,null,null,null)),(t()(),r.\u0275ted(-1,null,["Copied"]))],null,function(t,e){t(e,0,0,!e.component.flgCopied)})}function R(t){return r.\u0275vid(0,[(t()(),r.\u0275eld(0,0,null,null,18,"div",[["fxLayout","row"],["fxLayoutAlign","center flex-start"]],null,null,null,null,null)),r.\u0275did(1,671744,null,0,o.DefaultLayoutDirective,[r.ElementRef,l.StyleUtils,[2,o.LayoutStyleBuilder],l.MediaMarshaller],{fxLayout:[0,"fxLayout"]},null),r.\u0275did(2,671744,null,0,o.DefaultLayoutAlignDirective,[r.ElementRef,l.StyleUtils,[2,o.LayoutAlignStyleBuilder],l.MediaMarshaller],{fxLayoutAlign:[0,"fxLayoutAlign"]},null),(t()(),r.\u0275eld(3,0,null,null,3,"div",[["fxFlex","20"]],null,null,null,null,null)),r.\u0275did(4,671744,null,0,o.DefaultFlexDirective,[r.ElementRef,l.StyleUtils,l.LAYOUT_CONFIG,o.FlexStyleBuilder,l.MediaMarshaller],{fxFlex:[0,"fxFlex"]},null),(t()(),r.\u0275ted(5,null,["",""])),r.\u0275ppd(6,1),(t()(),r.\u0275eld(7,0,null,null,2,"div",[["fxFlex","2"]],null,null,null,null,null)),r.\u0275did(8,671744,null,0,o.DefaultFlexDirective,[r.ElementRef,l.StyleUtils,l.LAYOUT_CONFIG,o.FlexStyleBuilder,l.MediaMarshaller],{fxFlex:[0,"fxFlex"]},null),(t()(),r.\u0275ted(-1,null,[":"])),(t()(),r.\u0275eld(10,0,null,null,8,"div",[["fxFlex","75"]],null,null,null,null,null)),r.\u0275did(11,671744,null,0,o.DefaultFlexDirective,[r.ElementRef,l.StyleUtils,l.LAYOUT_CONFIG,o.FlexStyleBuilder,l.MediaMarshaller],{fxFlex:[0,"fxFlex"]},null),(t()(),r.\u0275and(16777216,null,null,1,null,E)),r.\u0275did(13,16384,null,0,c.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),r.\u0275and(0,[["notNumberTemplate",2]],null,0,null,D)),(t()(),r.\u0275and(16777216,null,null,1,null,A)),r.\u0275did(16,16384,null,0,c.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),r.\u0275and(16777216,null,null,1,null,T)),r.\u0275did(18,16384,null,0,c.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(t,e){var n=e.component;t(e,1,0,"row"),t(e,2,0,"center flex-start"),t(e,4,0,"20"),t(e,8,0,"2"),t(e,11,0,"75"),t(e,13,0,n.isNumber(e.context.$implicit[1],e.context.$implicit[0]),r.\u0275nov(e,14)),t(e,16,0,n.showCopyOption(e.context.$implicit[0])),t(e,18,0,n.showCopyOption(e.context.$implicit[0]))},function(t,e){var n=r.\u0275unv(e,5,0,t(e,6,0,r.\u0275nov(e.parent.parent,0),e.context.$implicit[0]));t(e,5,0,n)})}function k(t){return r.\u0275vid(0,[(t()(),r.\u0275eld(0,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),r.\u0275and(16777216,null,null,1,null,R)),r.\u0275did(2,278528,null,0,c.NgForOf,[r.ViewContainerRef,r.TemplateRef,r.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],function(t,e){t(e,2,0,e.component.messageObj)},null)}function I(t){return r.\u0275vid(0,[r.\u0275pid(0,c.TitleCasePipe,[]),r.\u0275pid(0,c.DecimalPipe,[r.LOCALE_ID]),(t()(),r.\u0275eld(2,0,null,null,34,"div",[["fxLayout","row"]],null,null,null,null,null)),r.\u0275did(3,671744,null,0,o.DefaultLayoutDirective,[r.ElementRef,l.StyleUtils,[2,o.LayoutStyleBuilder],l.MediaMarshaller],{fxLayout:[0,"fxLayout"]},null),(t()(),r.\u0275eld(4,0,null,null,32,"div",[["class","w-100"]],null,null,null,null,null)),(t()(),r.\u0275eld(5,0,null,null,12,"mat-card-header",[["class","mat-card-header"],["fxLayoutAlign","end"]],null,null,null,d.View_MatCardHeader_0,d.RenderType_MatCardHeader)),r.\u0275did(6,278528,null,0,c.NgClass,[r.IterableDiffers,r.KeyValueDiffers,r.ElementRef,r.Renderer2],{ngClass:[0,"ngClass"]},null),r.\u0275did(7,671744,null,0,o.DefaultLayoutAlignDirective,[r.ElementRef,l.StyleUtils,[2,o.LayoutAlignStyleBuilder],l.MediaMarshaller],{fxLayoutAlign:[0,"fxLayoutAlign"]},null),r.\u0275did(8,933888,null,0,f.DefaultClassDirective,[r.ElementRef,l.StyleUtils,l.MediaMarshaller,r.IterableDiffers,r.KeyValueDiffers,r.Renderer2,[6,c.NgClass]],{ngClass:[0,"ngClass"]},null),r.\u0275did(9,49152,null,0,p.MatCardHeader,[],null,null),(t()(),r.\u0275eld(10,0,null,2,2,"h2",[["fxFlex","91"]],null,null,null,null,null)),r.\u0275did(11,671744,null,0,o.DefaultFlexDirective,[r.ElementRef,l.StyleUtils,l.LAYOUT_CONFIG,o.FlexStyleBuilder,l.MediaMarshaller],{fxFlex:[0,"fxFlex"]},null),(t()(),r.\u0275ted(12,null,["",""])),(t()(),r.\u0275eld(13,0,null,2,4,"mat-icon",[["class","cursor-pointer mat-icon"],["fxFlex","7"],["fxLayoutAlign","end"],["role","img"],["type","button"]],[[2,"mat-icon-inline",null]],[[null,"click"]],function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.onClose(!1)&&i),i},a.View_MatIcon_0,a.RenderType_MatIcon)),r.\u0275did(14,671744,null,0,o.DefaultLayoutAlignDirective,[r.ElementRef,l.StyleUtils,[2,o.LayoutAlignStyleBuilder],l.MediaMarshaller],{fxLayoutAlign:[0,"fxLayoutAlign"]},null),r.\u0275did(15,671744,null,0,o.DefaultFlexDirective,[r.ElementRef,l.StyleUtils,l.LAYOUT_CONFIG,o.FlexStyleBuilder,l.MediaMarshaller],{fxFlex:[0,"fxFlex"]},null),r.\u0275did(16,638976,null,0,u.MatIcon,[r.ElementRef,u.MatIconRegistry,[8,null]],null,null),(t()(),r.\u0275ted(-1,0,["close"])),(t()(),r.\u0275eld(18,0,null,null,18,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),r.\u0275did(19,16384,null,0,p.MatCardContent,[],null,null),(t()(),r.\u0275eld(20,0,null,null,4,"div",[["class","pb-2 p-2 wrap-text new-line"]],null,null,null,null,null)),(t()(),r.\u0275and(16777216,null,null,1,null,O)),r.\u0275did(22,16384,null,0,c.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),r.\u0275and(16777216,null,null,1,null,k)),r.\u0275did(24,16384,null,0,c.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),r.\u0275eld(25,0,null,null,1,"mat-divider",[["class","pb-1 mat-divider"],["role","separator"]],[[1,"aria-orientation",0],[2,"mat-divider-vertical",null],[2,"mat-divider-horizontal",null],[2,"mat-divider-inset",null]],null,null,h.View_MatDivider_0,h.RenderType_MatDivider)),r.\u0275did(26,49152,null,0,m.MatDivider,[],null,null),(t()(),r.\u0275eld(27,0,null,null,9,"div",[["fxLayoutAlign","center"]],null,null,null,null,null)),r.\u0275did(28,671744,null,0,o.DefaultLayoutAlignDirective,[r.ElementRef,l.StyleUtils,[2,o.LayoutAlignStyleBuilder],l.MediaMarshaller],{fxLayoutAlign:[0,"fxLayoutAlign"]},null),(t()(),r.\u0275eld(29,0,null,null,3,"button",[["class","mb-1 mr-2"],["color","accent"],["default",""],["fxFlex","20"],["mat-raised-button",""],["type","button"]],[[8,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.onClose(!1)&&i),i},g.View_MatButton_0,g.RenderType_MatButton)),r.\u0275did(30,671744,null,0,o.DefaultFlexDirective,[r.ElementRef,l.StyleUtils,l.LAYOUT_CONFIG,o.FlexStyleBuilder,l.MediaMarshaller],{fxFlex:[0,"fxFlex"]},null),r.\u0275did(31,180224,null,0,v.MatButton,[r.ElementRef,_.Platform,y.FocusMonitor,[2,b.ANIMATION_MODULE_TYPE]],{color:[0,"color"]},null),(t()(),r.\u0275ted(-1,0,["No"])),(t()(),r.\u0275eld(33,0,null,null,3,"button",[["class","mb-1 ml-2"],["fxFlex","20"],["mat-raised-button",""],["type","button"]],[[8,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.onClose(!0)&&i),i},g.View_MatButton_0,g.RenderType_MatButton)),r.\u0275did(34,671744,null,0,o.DefaultFlexDirective,[r.ElementRef,l.StyleUtils,l.LAYOUT_CONFIG,o.FlexStyleBuilder,l.MediaMarshaller],{fxFlex:[0,"fxFlex"]},null),r.\u0275did(35,180224,null,0,v.MatButton,[r.ElementRef,_.Platform,y.FocusMonitor,[2,b.ANIMATION_MODULE_TYPE]],{color:[0,"color"]},null),(t()(),r.\u0275ted(-1,0,["Yes"]))],function(t,e){var n=e.component;t(e,3,0,"row"),t(e,6,0,n.msgTypeBackground),t(e,7,0,"end"),t(e,8,0,n.msgTypeBackground),t(e,11,0,"91"),t(e,14,0,"end"),t(e,15,0,"7"),t(e,16,0),t(e,22,0,n.data.titleMessage),t(e,24,0,n.messageObj.length>0),t(e,28,0,"center"),t(e,30,0,"20"),t(e,31,0,"accent"),t(e,34,0,"20"),t(e,35,0,n.msgTypeForeground)},function(t,e){t(e,12,0,e.component.data.type),t(e,13,0,r.\u0275nov(e,16).inline),t(e,25,0,r.\u0275nov(e,26).vertical?"vertical":"horizontal",r.\u0275nov(e,26).vertical,!r.\u0275nov(e,26).vertical,r.\u0275nov(e,26).inset),t(e,29,0,r.\u0275nov(e,31).disabled||null,"NoopAnimations"===r.\u0275nov(e,31)._animationMode),t(e,33,0,r.\u0275nov(e,35).disabled||null,"NoopAnimations"===r.\u0275nov(e,35)._animationMode)})}function L(t){return r.\u0275vid(0,[(t()(),r.\u0275eld(0,0,null,null,1,"rtl-confirmation-message",[],null,null,null,I,S)),r.\u0275did(1,114688,null,0,C.ConfirmationMessageComponent,[w.MatDialogRef,w.MAT_DIALOG_DATA,x.LoggerService,M.Store],null,null)],function(t,e){t(e,1,0)},null)}e.RenderType_ConfirmationMessageComponent=S,e.View_ConfirmationMessageComponent_0=I,e.View_ConfirmationMessageComponent_Host_0=L,e.ConfirmationMessageComponentNgFactory=r.\u0275ccf("rtl-confirmation-message",C.ConfirmationMessageComponent,L,{},{},[])},"+nza":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),n("CcnG");var i=n("DtyJ"),r=n("ahDk"),o=(n("yGQT"),n("cpEJ"),n("QvMG"),n("iVvL"));e.WalletComponent=function(){function t(t,e,n){this.logger=t,this.store=e,this.rtlEffects=n,this.addressTypes=[],this.flgLoadingWallet=!0,this.selectedAddress={},this.blockchainBalance={},this.information={},this.newAddress="",this.transaction={},this.unsub=[new i.Subject,new i.Subject,new i.Subject]}return t.prototype.ngOnInit=function(){var t=this;this.store.select("rtlRoot").pipe(r.takeUntil(this.unsub[0])).subscribe(function(e){e.effectErrors.forEach(function(e){"FetchBalance/blockchain"===e.action&&(t.flgLoadingWallet="error")}),t.settings=e.settings,t.information=e.information,t.addressTypes=e.addressTypes,t.blockchainBalance=e.blockchainBalance,void 0===t.blockchainBalance.total_balance&&(t.blockchainBalance.total_balance="0"),void 0===t.blockchainBalance.confirmed_balance&&(t.blockchainBalance.confirmed_balance="0"),void 0===t.blockchainBalance.unconfirmed_balance&&(t.blockchainBalance.unconfirmed_balance="0"),"error"!==t.flgLoadingWallet&&(t.flgLoadingWallet=!1),t.logger.info(e)})},t.prototype.onGenerateAddress=function(){var t=this;this.store.dispatch(new o.OpenSpinner("Getting New Address...")),this.store.dispatch(new o.GetNewAddress(this.selectedAddress)),this.rtlEffects.setNewAddress.pipe(r.takeUntil(this.unsub[1])).subscribe(function(e){t.newAddress=e})},t.prototype.onSendFunds=function(){var t=this,e={"BTC Address":this.transaction.address,"Target Confirmation Blocks":this.transaction.blocks};e["Amount ("+this.information.smaller_currency_unit+")"]=this.transaction.amount,e["Fee ("+this.information.smaller_currency_unit+"/Byte)"]=this.transaction.fees,this.store.dispatch(new o.OpenConfirmation({width:"70%",data:{type:"CONFIRM",message:JSON.stringify(e)}})),this.rtlEffects.closeConfirm.pipe(r.takeUntil(this.unsub[2])).subscribe(function(e){e&&(t.store.dispatch(new o.OpenSpinner("Sending Funds...")),t.store.dispatch(new o.SetTransaction(t.transaction)),t.transaction={address:"",amount:0,blocks:0,fees:0})})},Object.defineProperty(t.prototype,"invalidValues",{get:function(){return void 0===this.transaction.address||""===this.transaction.address||void 0===this.transaction.amount||this.transaction.amount<=0||void 0===this.transaction.blocks||this.transaction.blocks<=0||void 0===this.transaction.fees||this.transaction.fees<=0},enumerable:!0,configurable:!0}),t.prototype.resetData=function(){this.transaction.address="",this.transaction.amount=0,this.transaction.blocks=0,this.transaction.fees=0},t.prototype.resetReceiveData=function(){this.selectedAddress={},this.newAddress=""},t.prototype.ngOnDestroy=function(){this.unsub.forEach(function(t){t.next(),t.complete()})},t}()},"+tJ4":function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i=function(t){return function(e){for(var n=0,i=t.length;n=0}},"/FBu":function(t,e,n){"use strict";e.styles=[".p-2[_ngcontent-%COMP%]{padding:1rem}.pb-1[_ngcontent-%COMP%]{padding-bottom:.3rem}.pb-2[_ngcontent-%COMP%]{padding-bottom:1rem}.mb-1[_ngcontent-%COMP%]{margin-bottom:.5rem}.wrap-text[_ngcontent-%COMP%]{word-break:break-word}.mat-icon[type=button][_ngcontent-%COMP%]{cursor:pointer}.new-line[_ngcontent-%COMP%]{white-space:pre-wrap}.title-message[_ngcontent-%COMP%]{font-size:110%}"]},"/FgC":function(t,e,n){"use strict";e.styles=[".chart-legend{display:inline-block;padding:0;width:auto!important}.chart-legend .legend-title{white-space:nowrap;overflow:hidden;margin-left:10px;margin-bottom:5px;font-size:14px;font-weight:700}.chart-legend li,.chart-legend ul{padding:0;margin:0;list-style:none}.chart-legend .horizontal-legend li{display:inline-block}.chart-legend .legend-wrap{width:calc(100% - 10px)}.chart-legend .legend-labels{line-height:85%;list-style:none;text-align:left;float:left;width:100%;border-radius:3px;overflow-y:auto;overflow-x:hidden;white-space:nowrap;background:rgba(0,0,0,.05)}.chart-legend .legend-label{cursor:pointer;font-size:90%;margin:8px;color:#afb7c8}.chart-legend .legend-label:hover{color:#000;transition:.2s}.chart-legend .legend-label .active .legend-label-text{color:#000}.chart-legend .legend-label-color{display:inline-block;height:15px;width:15px;margin-right:5px;color:#5b646b;border-radius:3px}.chart-legend .legend-label-text{display:inline-block;vertical-align:top;line-height:15px;font-size:12px;width:calc(100% - 20px);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.chart-legend .legend-title-text{vertical-align:bottom;display:inline-block;line-height:16px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}"]},"/PH2":function(t,e,n){"use strict";n.d(e,"a",function(){return l});var i=n("mrSG"),r=n("MGBS"),o=n("zotm");function l(){for(var t=[],e=0;e0){var l=o.indexOf(n);-1!==l&&o.splice(l,1)}},e.prototype.notifyComplete=function(){},e.prototype._next=function(t){if(0===this.toRespond.length){var e=[t].concat(this.values);this.project?this._tryProject(e):this.destination.next(e)}},e.prototype._tryProject=function(t){var e;try{e=this.project.apply(this,t)}catch(n){return void this.destination.error(n)}this.destination.next(e)},e}(r.a)},"/TIM":function(t,e,n){"use strict";var i="http://www.w3.org/1999/xhtml",r={svg:"http://www.w3.org/2000/svg",xhtml:i,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},o=function(t){var e=t+="",n=e.indexOf(":");return n>=0&&"xmlns"!==(e=t.slice(0,n))&&(t=t.slice(n+1)),r.hasOwnProperty(e)?{space:r[e],local:t}:t},l=function(t){var e=o(t);return(e.local?function(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}:function(t){return function(){var e=this.ownerDocument,n=this.namespaceURI;return n===i&&e.documentElement.namespaceURI===i?e.createElement(t):e.createElementNS(n,t)}})(e)};function a(){}var u=function(t){return null==t?a:function(){return this.querySelector(t)}};function s(){return[]}var c=function(t){return null==t?s:function(){return this.querySelectorAll(t)}},d=function(t){return function(){return this.matches(t)}};if("undefined"!=typeof document){var f=document.documentElement;if(!f.matches){var p=f.webkitMatchesSelector||f.msMatchesSelector||f.mozMatchesSelector||f.oMatchesSelector;d=function(t){return function(){return p.call(this,t)}}}}var h=d,m=function(t){return new Array(t.length)};function g(t,e){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=e}g.prototype={constructor:g,appendChild:function(t){return this._parent.insertBefore(t,this._next)},insertBefore:function(t,e){return this._parent.insertBefore(t,e)},querySelector:function(t){return this._parent.querySelector(t)},querySelectorAll:function(t){return this._parent.querySelectorAll(t)}};var v="$";function _(t,e,n,i,r,o){for(var l,a=0,u=e.length,s=o.length;ae?1:t>=e?0:NaN}var C=function(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView};function w(t,e){return t.style.getPropertyValue(e)||C(t).getComputedStyle(t,null).getPropertyValue(e)}function x(t){return t.trim().split(/^|\s+/)}function M(t){return t.classList||new S(t)}function S(t){this._node=t,this._names=x(t.getAttribute("class")||"")}function O(t,e){for(var n=M(t),i=-1,r=e.length;++i=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};var F={},N=null;function j(t,e,n){return t=V(t,e,n),function(e){var n=e.relatedTarget;n&&(n===this||8&n.compareDocumentPosition(this))||t.call(this,e)}}function V(t,e,n){return function(i){var r=N;N=i;try{t.call(this,this.__data__,e,n)}finally{N=r}}}function B(t){return function(){var e=this.__on;if(e){for(var n,i=0,r=-1,o=e.length;i=x&&(x=w+1);!(C=v[x])&&++x=0;)(i=r[o])&&(l&&l!==i.nextSibling&&l.parentNode.insertBefore(i,l),l=i);return this},sort:function(t){function e(e,n){return e&&n?t(e.__data__,n.__data__):!e-!n}t||(t=b);for(var n=this._groups,i=n.length,r=new Array(i),o=0;o1?this.each((null==e?function(t){return function(){this.style.removeProperty(t)}}:"function"==typeof e?function(t,e,n){return function(){var i=e.apply(this,arguments);null==i?this.style.removeProperty(t):this.style.setProperty(t,i,n)}}:function(t,e,n){return function(){this.style.setProperty(t,e,n)}})(t,e,null==n?"":n)):w(this.node(),t)},property:function(t,e){return arguments.length>1?this.each((null==e?function(t){return function(){delete this[t]}}:"function"==typeof e?function(t,e){return function(){var n=e.apply(this,arguments);null==n?delete this[t]:this[t]=n}}:function(t,e){return function(){this[t]=e}})(t,e)):this.node()[t]},classed:function(t,e){var n=x(t+"");if(arguments.length<2){for(var i=M(this.node()),r=-1,o=n.length;++r=0&&(e=t.slice(n+1),t=t.slice(0,n)),{type:t,name:e}}),l=o.length;if(!(arguments.length<2)){for(a=e?H:B,null==n&&(n=!1),i=0;i0?this._keyManager.setPreviousItemActive():0===e&&this.options.length>1&&this._keyManager.setNextItemActive()}},e.prototype._keydown=function(t){var e=t.keyCode,n=this._keyManager,i=n.activeItemIndex;switch(e){case s.n:case s.f:this._toggleFocusedOption(),t.preventDefault();break;case s.h:case s.e:e===s.h?n.setFirstItemActive():n.setLastItemActive(),t.preventDefault();break;case s.a:t.ctrlKey&&(this.options.find(function(t){return!t.selected})?this.selectAll():this.deselectAll(),t.preventDefault());break;default:n.onKeydown(t)}e!==s.p&&e!==s.d||!t.shiftKey||n.activeItemIndex===i||this._toggleFocusedOption()},e.prototype._reportValueChange=function(){this.options&&this._onChange(this._getSelectedOptionValues())},e.prototype._emitChangeEvent=function(t){this.selectionChange.emit(new E(this,t))},e.prototype.writeValue=function(t){this.options?this._setOptionsFromValues(t||[]):this._tempValues=t},e.prototype.setDisabledState=function(t){this.disabled=t},e.prototype.registerOnChange=function(t){this._onChange=t},e.prototype.registerOnTouched=function(t){this._onTouched=t},e.prototype._setOptionsFromValues=function(t){var e=this;this.options.forEach(function(t){return t._setSelected(!1)}),t.map(function(t){return e.options.find(function(n){return e.compareWith?e.compareWith(n.value,t):n.value===t})}).filter(Boolean).forEach(function(t){return t._setSelected(!0)})},e.prototype._getSelectedOptionValues=function(){return this.options.filter(function(t){return t.selected}).map(function(t){return t.value})},e.prototype._toggleFocusedOption=function(){var t=this._keyManager.activeItemIndex;if(null!=t&&this._isValidIndex(t)){var e=this.options.toArray()[t];e&&!e.disabled&&(e.toggle(),this._emitChangeEvent(e))}},e.prototype._setAllOptionsSelected=function(t){var e=!1;this.options.forEach(function(n){n._setSelected(t)&&(e=!0)}),e&&this._reportValueChange()},e.prototype._isValidIndex=function(t){return t>=0&&t-1}function f(t){if(t)switch(t.toLowerCase()){case"reverse":case"wrap-reverse":case"reverse-wrap":t="wrap-reverse";break;case"no":case"none":case"nowrap":t="nowrap";break;default:t="wrap"}return t}var p=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(i.__extends)(e,t),e.prototype.buildStyles=function(t){return void 0===(e=(i=c(t))[1])&&(e=null),void 0===(n=i[2])&&(n=!1),{display:n?"inline-flex":"flex","box-sizing":"border-box","flex-direction":i[0],"flex-wrap":e||null};var e,n,i},e.ngInjectableDef=Object(r.defineInjectable)({factory:function(){return new e},token:e,providedIn:"root"}),e}(o.StyleBuilder),h=["fxLayout","fxLayout.xs","fxLayout.sm","fxLayout.md","fxLayout.lg","fxLayout.xl","fxLayout.lt-sm","fxLayout.lt-md","fxLayout.lt-lg","fxLayout.lt-xl","fxLayout.gt-xs","fxLayout.gt-sm","fxLayout.gt-md","fxLayout.gt-lg"],m=function(t){function e(e,n,i,r){var o=t.call(this,e,i,n,r)||this;return o.elRef=e,o.styleUtils=n,o.styleBuilder=i,o.marshal=r,o.DIRECTIVE_KEY="layout",o.styleCache=v,o.init(),o}return Object(i.__extends)(e,t),e}(o.BaseDirective2),g=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.inputs=h,e}return Object(i.__extends)(e,t),e}(m),v=new Map,_={"margin-left":null,"margin-right":null,"margin-top":null,"margin-bottom":null},y=function(t){function e(e){var n=t.call(this)||this;return n._styler=e,n}return Object(i.__extends)(e,t),e.prototype.buildStyles=function(t,e){return t.endsWith(E)?(n=t=t.slice(0,t.indexOf(E)),i="0px",r="0px","rtl"===e.directionality?r="-"+n:i="-"+n,{margin:"0px "+i+" -"+n+" "+r}):{};var n,i,r},e.prototype.sideEffect=function(t,e,n){var r,o,l,a=n.items;if(t.endsWith(E)){var u=(r=t=t.slice(0,t.indexOf(E)),o="0px",l="0px","rtl"===n.directionality?l=r:o=r,{padding:"0px "+o+" "+r+" "+l});this._styler.applyStyleToElements(u,n.items)}else{var s=a.pop(),c=function(t,e){var n,r=Object(i.__assign)({},_);switch(e.layout){case"column":n="margin-bottom";break;case"column-reverse":n="margin-top";break;case"row":n="rtl"===e.directionality?"margin-left":"margin-right";break;case"row-reverse":n="rtl"===e.directionality?"margin-right":"margin-left";break;default:n="rtl"===e.directionality?"margin-left":"margin-right"}return r[n]=t,r}(t,n);this._styler.applyStyleToElements(c,a),this._styler.applyStyleToElements(_,[s])}},e.ngInjectableDef=Object(r.defineInjectable)({factory:function(){return new e(Object(r.inject)(o.StyleUtils))},token:e,providedIn:"root"}),e}(o.StyleBuilder),b=["fxLayoutGap","fxLayoutGap.xs","fxLayoutGap.sm","fxLayoutGap.md","fxLayoutGap.lg","fxLayoutGap.xl","fxLayoutGap.lt-sm","fxLayoutGap.lt-md","fxLayoutGap.lt-lg","fxLayoutGap.lt-xl","fxLayoutGap.gt-xs","fxLayoutGap.gt-sm","fxLayoutGap.gt-md","fxLayoutGap.gt-lg"],C=function(t){function e(e,n,i,r,o,u){var s=t.call(this,e,o,r,u)||this;s.elRef=e,s.zone=n,s.directionality=i,s.styleUtils=r,s.styleBuilder=o,s.marshal=u,s.layout="row",s.DIRECTIVE_KEY="layout-gap",s.observerSubject=new l.a;var c=[s.directionality.change,s.observerSubject.asObservable()];return s.init(c),s.marshal.trackValue(s.nativeElement,"layout").pipe(Object(a.a)(s.destroySubject)).subscribe(s.onLayoutChange.bind(s)),s}return Object(i.__extends)(e,t),Object.defineProperty(e.prototype,"childrenNodes",{get:function(){for(var t=this.nativeElement.children,e=[],n=t.length;n--;)e[n]=t[n];return e},enumerable:!0,configurable:!0}),e.prototype.ngAfterContentInit=function(){this.buildChildObservable(),this.triggerUpdate()},e.prototype.ngOnDestroy=function(){t.prototype.ngOnDestroy.call(this),this.observer&&this.observer.disconnect()},e.prototype.onLayoutChange=function(t){var e=this,n=t.value.split(" ");this.layout=n[0],s.find(function(t){return t===e.layout})||(this.layout="row"),this.triggerUpdate()},e.prototype.updateWithValue=function(t){var e=this;t||(t=this.marshal.getValue(this.nativeElement,this.DIRECTIVE_KEY));var n=this.childrenNodes.filter(function(t){return 1===t.nodeType&&e.willDisplay(t)}).sort(function(t,n){var i=+e.styler.lookupStyle(t,"order"),r=+e.styler.lookupStyle(n,"order");return isNaN(i)||isNaN(r)||i===r?0:i>r?1:-1});if(n.length>0){var i=this.directionality.value,r=this.layout;"row"===r&&"rtl"===i?this.styleCache=x:"row"===r&&"rtl"!==i?this.styleCache=S:"column"===r&&"rtl"===i?this.styleCache=M:"column"===r&&"rtl"!==i&&(this.styleCache=O),this.addStyles(t,{directionality:i,items:n,layout:r})}},e.prototype.willDisplay=function(t){var e=this.marshal.getValue(t,"show-hide");return!0===e||""===e&&"none"!==this.styleUtils.lookupStyle(t,"display")},e.prototype.buildChildObservable=function(){var t=this;this.zone.runOutsideAngular(function(){"undefined"!=typeof MutationObserver&&(t.observer=new MutationObserver(function(e){e.some(function(t){return t.addedNodes&&t.addedNodes.length>0||t.removedNodes&&t.removedNodes.length>0})&&t.observerSubject.next()}),t.observer.observe(t.nativeElement,{childList:!0}))})},e}(o.BaseDirective2),w=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.inputs=b,e}return Object(i.__extends)(e,t),e}(C),x=new Map,M=new Map,S=new Map,O=new Map,E=" grid";function D(t){for(var e=[],n=1;n-1?"column":"row",a=d(l)?"max-width":"max-height",u=d(l)?"min-width":"min-height",s=String(o).indexOf("calc")>-1,c=s||"auto"===o,f=String(o).indexOf("%")>-1&&!s,p=String(o).indexOf("px")>-1||String(o).indexOf("rem")>-1||String(o).indexOf("em")>-1||String(o).indexOf("vw")>-1||String(o).indexOf("vh")>-1,h=s||p;r="0"==r?0:r;var m=!(i="0"==i?0:i)&&!r,g={},v={"max-width":null,"max-height":null,"min-width":null,"min-height":null};switch(o||""){case"":o="row"===l?"0%":!1!==this.layoutConfig.useColumnBasisZero?"0.000000001px":"auto";break;case"initial":case"nogrow":i=0,o="auto";break;case"grow":o="100%";break;case"noshrink":r=0,o="auto";break;case"auto":break;case"none":i=0,r=0,o="auto";break;default:h||f||isNaN(o)||(o+="%"),"0%"===o&&(h=!0),"0px"===o&&(o="0%"),g=D(v,s?{"flex-grow":i,"flex-shrink":r,"flex-basis":h?o:"100%"}:{flex:i+" "+r+" "+(h?o:"100%")})}return g.flex||g["flex-grow"]||(g=D(v,s?{"flex-grow":i,"flex-shrink":r,"flex-basis":o}:{flex:i+" "+r+" "+o})),"0%"!==o&&"0px"!==o&&"0.000000001px"!==o&&"auto"!==o&&(g[u]=m||h&&i?o:null,g[a]=m||!c&&r?o:null),g[u]||g[a]?e.hasWrap&&(g[s?"flex-basis":"flex"]=g[a]?s?g[a]:i+" "+r+" "+g[a]:s?g[u]:i+" "+r+" "+g[u]):g=D(v,s?{"flex-grow":i,"flex-shrink":r,"flex-basis":o}:{flex:i+" "+r+" "+o}),D(g,{"box-sizing":"border-box"})},e.ngInjectableDef=Object(r.defineInjectable)({factory:function(){return new e(Object(r.inject)(o.LAYOUT_CONFIG))},token:e,providedIn:"root"}),e}(o.StyleBuilder),T=["fxFlex","fxFlex.xs","fxFlex.sm","fxFlex.md","fxFlex.lg","fxFlex.xl","fxFlex.lt-sm","fxFlex.lt-md","fxFlex.lt-lg","fxFlex.lt-xl","fxFlex.gt-xs","fxFlex.gt-sm","fxFlex.gt-md","fxFlex.gt-lg"],R=function(t){function e(e,n,i,r,o){var l=t.call(this,e,r,n,o)||this;return l.elRef=e,l.styleUtils=n,l.layoutConfig=i,l.styleBuilder=r,l.marshal=o,l.DIRECTIVE_KEY="flex",l.direction="",l.wrap=!1,l.flexGrow="1",l.flexShrink="1",l.init(),l.parentElement&&l.marshal.trackValue(l.parentElement,"layout").pipe(Object(a.a)(l.destroySubject)).subscribe(l.onLayoutChange.bind(l)),l}return Object(i.__extends)(e,t),Object.defineProperty(e.prototype,"shrink",{get:function(){return this.flexShrink},set:function(t){this.flexShrink=t||"1",this.triggerReflow()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"grow",{get:function(){return this.flexGrow},set:function(t){this.flexGrow=t||"1",this.triggerReflow()},enumerable:!0,configurable:!0}),e.prototype.onLayoutChange=function(t){var e=t.value.split(" ");this.direction=e[0],this.wrap=void 0!==e[1]&&"wrap"===e[1],this.triggerUpdate()},e.prototype.updateWithValue=function(t){this.direction||(this.direction=this.getFlexFlowDirection(this.parentElement,!1!==this.layoutConfig.addFlexToParent));var e=this.direction,n=e.startsWith("row"),i=this.wrap;n&&i?this.styleCache=P:n&&!i?this.styleCache=I:!n&&i?this.styleCache=F:n||i||(this.styleCache=L);var r=String(t).replace(";",""),l=Object(o.validateBasis)(r,this.flexGrow,this.flexShrink);this.addStyles(l.join(" "),{direction:e,hasWrap:i})},e.prototype.triggerReflow=function(){var t=Object(o.validateBasis)(this.activatedValue,this.flexGrow,this.flexShrink);this.marshal.updateElement(this.nativeElement,this.DIRECTIVE_KEY,t.join(" "))},e}(o.BaseDirective2),k=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.inputs=T,e}return Object(i.__extends)(e,t),e}(R),I=new Map,L=new Map,P=new Map,F=new Map,N=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(i.__extends)(e,t),e.prototype.buildStyles=function(t){return{order:t&&parseInt(t,10)||""}},e.ngInjectableDef=Object(r.defineInjectable)({factory:function(){return new e},token:e,providedIn:"root"}),e}(o.StyleBuilder),j=["fxFlexOrder","fxFlexOrder.xs","fxFlexOrder.sm","fxFlexOrder.md","fxFlexOrder.lg","fxFlexOrder.xl","fxFlexOrder.lt-sm","fxFlexOrder.lt-md","fxFlexOrder.lt-lg","fxFlexOrder.lt-xl","fxFlexOrder.gt-xs","fxFlexOrder.gt-sm","fxFlexOrder.gt-md","fxFlexOrder.gt-lg"],V=function(t){function e(e,n,i,r){var o=t.call(this,e,i,n,r)||this;return o.elRef=e,o.styleUtils=n,o.styleBuilder=i,o.marshal=r,o.DIRECTIVE_KEY="flex-order",o.styleCache=B,o.init(),o}return Object(i.__extends)(e,t),e}(o.BaseDirective2),B=new Map,H=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.inputs=j,e}return Object(i.__extends)(e,t),e}(V),U=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(i.__extends)(e,t),e.prototype.buildStyles=function(t,e){var n;""===t&&(t="0");var i=String(t).indexOf("%")>-1;String(t).indexOf("px")>-1||i||isNaN(+t)||(t+="%");var r=e.isRtl?"margin-right":"margin-left";return d(e.layout)?((n={})[r]=""+t,n):{"margin-top":""+t}},e.ngInjectableDef=Object(r.defineInjectable)({factory:function(){return new e},token:e,providedIn:"root"}),e}(o.StyleBuilder),G=["fxFlexOffset","fxFlexOffset.xs","fxFlexOffset.sm","fxFlexOffset.md","fxFlexOffset.lg","fxFlexOffset.xl","fxFlexOffset.lt-sm","fxFlexOffset.lt-md","fxFlexOffset.lt-lg","fxFlexOffset.lt-xl","fxFlexOffset.gt-xs","fxFlexOffset.gt-sm","fxFlexOffset.gt-md","fxFlexOffset.gt-lg"],z=function(t){function e(e,n,i,r,o){var l=t.call(this,e,i,o,r)||this;return l.elRef=e,l.directionality=n,l.styleBuilder=i,l.marshal=r,l.styler=o,l.DIRECTIVE_KEY="flex-offset",l.init([l.directionality.change]),l.parentElement&&l.marshal.trackValue(l.parentElement,"layout-gap").pipe(Object(a.a)(l.destroySubject)).subscribe(l.triggerUpdate.bind(l)),l}return Object(i.__extends)(e,t),e.prototype.updateWithValue=function(t){void 0===t&&(t="");var e=this.getFlexFlowDirection(this.parentElement,!0),n="rtl"===this.directionality.value;"row"===e&&n?this.styleCache=Y:"row"!==e||n?"column"===e&&n?this.styleCache=W:"column"!==e||n||(this.styleCache=Z):this.styleCache=K,this.addStyles(t+"",{layout:e,isRtl:n})},e}(o.BaseDirective2),q=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.inputs=G,e}return Object(i.__extends)(e,t),e}(z),Y=new Map,W=new Map,K=new Map,Z=new Map,X=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(i.__extends)(e,t),e.prototype.buildStyles=function(t){var e={};switch(t=t||"stretch"){case"start":e["align-self"]="flex-start";break;case"end":e["align-self"]="flex-end";break;default:e["align-self"]=t}return e},e.ngInjectableDef=Object(r.defineInjectable)({factory:function(){return new e},token:e,providedIn:"root"}),e}(o.StyleBuilder),Q=["fxFlexAlign","fxFlexAlign.xs","fxFlexAlign.sm","fxFlexAlign.md","fxFlexAlign.lg","fxFlexAlign.xl","fxFlexAlign.lt-sm","fxFlexAlign.lt-md","fxFlexAlign.lt-lg","fxFlexAlign.lt-xl","fxFlexAlign.gt-xs","fxFlexAlign.gt-sm","fxFlexAlign.gt-md","fxFlexAlign.gt-lg"],$=function(t){function e(e,n,i,r){var o=t.call(this,e,i,n,r)||this;return o.elRef=e,o.styleUtils=n,o.styleBuilder=i,o.marshal=r,o.DIRECTIVE_KEY="flex-align",o.styleCache=J,o.init(),o}return Object(i.__extends)(e,t),e}(o.BaseDirective2),J=new Map,tt=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.inputs=Q,e}return Object(i.__extends)(e,t),e}($),et={margin:0,width:"100%",height:"100%","min-width":"100%","min-height":"100%"},nt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(i.__extends)(e,t),e.prototype.buildStyles=function(t){return et},e.ngInjectableDef=Object(r.defineInjectable)({factory:function(){return new e},token:e,providedIn:"root"}),e}(o.StyleBuilder),it=function(t){function e(e,n,i,r){var o=t.call(this,e,i,n,r)||this;return o.elRef=e,o.styleUtils=n,o.styleBuilder=i,o.marshal=r,o.styleCache=rt,o.addStyles(""),o}return Object(i.__extends)(e,t),e}(o.BaseDirective2),rt=new Map,ot=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(i.__extends)(e,t),e.prototype.buildStyles=function(t,e){var n={},i=t.split(" "),r=i[1];switch(i[0]){case"center":n["justify-content"]="center";break;case"space-around":n["justify-content"]="space-around";break;case"space-between":n["justify-content"]="space-between";break;case"space-evenly":n["justify-content"]="space-evenly";break;case"end":case"flex-end":n["justify-content"]="flex-end";break;case"start":case"flex-start":default:n["justify-content"]="flex-start"}switch(r){case"start":case"flex-start":n["align-items"]=n["align-content"]="flex-start";break;case"center":n["align-items"]=n["align-content"]="center";break;case"end":case"flex-end":n["align-items"]=n["align-content"]="flex-end";break;case"space-between":n["align-content"]="space-between",n["align-items"]="stretch";break;case"space-around":n["align-content"]="space-around",n["align-items"]="stretch";break;case"baseline":n["align-content"]="stretch",n["align-items"]="baseline";break;case"stretch":default:n["align-items"]=n["align-content"]="stretch"}return D(n,{display:"flex","flex-direction":e.layout,"box-sizing":"border-box","max-width":"stretch"===r?d(e.layout)?null:"100%":null,"max-height":"stretch"===r&&d(e.layout)?"100%":null})},e.ngInjectableDef=Object(r.defineInjectable)({factory:function(){return new e},token:e,providedIn:"root"}),e}(o.StyleBuilder),lt=["fxLayoutAlign","fxLayoutAlign.xs","fxLayoutAlign.sm","fxLayoutAlign.md","fxLayoutAlign.lg","fxLayoutAlign.xl","fxLayoutAlign.lt-sm","fxLayoutAlign.lt-md","fxLayoutAlign.lt-lg","fxLayoutAlign.lt-xl","fxLayoutAlign.gt-xs","fxLayoutAlign.gt-sm","fxLayoutAlign.gt-md","fxLayoutAlign.gt-lg"],at=function(t){function e(e,n,i,r){var o=t.call(this,e,i,n,r)||this;return o.elRef=e,o.styleUtils=n,o.styleBuilder=i,o.marshal=r,o.DIRECTIVE_KEY="layout-align",o.layout="row",o.init(),o.marshal.trackValue(o.nativeElement,"layout").pipe(Object(a.a)(o.destroySubject)).subscribe(o.onLayoutChange.bind(o)),o}return Object(i.__extends)(e,t),e.prototype.updateWithValue=function(t){var e=this.layout||"row";"row"===e?this.styleCache=st:"row-reverse"===e?this.styleCache=dt:"column"===e?this.styleCache=ct:"column-reverse"===e&&(this.styleCache=ft),this.addStyles(t,{layout:e})},e.prototype.onLayoutChange=function(t){var e=this;this.layout=t.value.split(" ")[0],s.find(function(t){return t===e.layout})||(this.layout="row"),this.triggerUpdate()},e}(o.BaseDirective2),ut=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.inputs=lt,e}return Object(i.__extends)(e,t),e}(at),st=new Map,ct=new Map,dt=new Map,ft=new Map,pt=function(){return function(){}}()},"26FU":function(t,e,n){"use strict";n.d(e,"a",function(){return l});var i=n("mrSG"),r=n("K9Ia"),o=n("8g8A"),l=function(t){function e(e){var n=t.call(this)||this;return n._value=e,n}return i.__extends(e,t),Object.defineProperty(e.prototype,"value",{get:function(){return this.getValue()},enumerable:!0,configurable:!0}),e.prototype._subscribe=function(e){var n=t.prototype._subscribe.call(this,e);return n&&!n.closed&&e.next(this._value),n},e.prototype.getValue=function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new o.a;return this._value},e.prototype.next=function(e){t.prototype.next.call(this,this._value=e)},e}(r.a)},"2Bdj":function(t,e,n){"use strict";function i(t){return"function"==typeof t}n.d(e,"a",function(){return i})},"2Q+G":function(t,e,n){"use strict";var i=n("CcnG"),r=n("mVsa"),o=n("Ip0R"),l=n("eDkP"),a=n("Fzqc"),u=n("Wf4p"),s=n("dWZg"),c=n("4c35"),d=n("qAlS"),f=n("wFw1"),p=n("lLAP");e.MatMenuModuleNgFactory=i.\u0275cmf(r.MatMenuModule,[],function(t){return i.\u0275mod([i.\u0275mpd(512,i.ComponentFactoryResolver,i.\u0275CodegenComponentFactoryResolver,[[8,[]],[3,i.ComponentFactoryResolver],i.NgModuleRef]),i.\u0275mpd(4608,o.NgLocalization,o.NgLocaleLocalization,[i.LOCALE_ID,[2,o.\u0275angular_packages_common_common_a]]),i.\u0275mpd(4608,l.Overlay,l.Overlay,[l.ScrollStrategyOptions,l.OverlayContainer,i.ComponentFactoryResolver,l.OverlayPositionBuilder,l.OverlayKeyboardDispatcher,i.Injector,i.NgZone,o.DOCUMENT,a.Directionality]),i.\u0275mpd(5120,l.\u0275c,l.\u0275d,[l.Overlay]),i.\u0275mpd(5120,r.MAT_MENU_SCROLL_STRATEGY,r.\u0275d23,[l.Overlay]),i.\u0275mpd(1073742336,o.CommonModule,o.CommonModule,[]),i.\u0275mpd(1073742336,a.BidiModule,a.BidiModule,[]),i.\u0275mpd(1073742336,u.MatCommonModule,u.MatCommonModule,[[2,u.MATERIAL_SANITY_CHECKS]]),i.\u0275mpd(1073742336,s.PlatformModule,s.PlatformModule,[]),i.\u0275mpd(1073742336,u.MatRippleModule,u.MatRippleModule,[]),i.\u0275mpd(1073742336,c.PortalModule,c.PortalModule,[]),i.\u0275mpd(1073742336,d.ScrollDispatchModule,d.ScrollDispatchModule,[]),i.\u0275mpd(1073742336,l.OverlayModule,l.OverlayModule,[]),i.\u0275mpd(1073742336,r.MatMenuModule,r.MatMenuModule,[])])});var h=i.\u0275crt({encapsulation:2,styles:[".mat-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 48px);border-radius:2px;outline:0}.mat-menu-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)}@media screen and (-ms-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:0;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}@media screen and (-ms-high-contrast:active){.mat-menu-item-highlighted,.mat-menu-item.cdk-keyboard-focused,.mat-menu-item.cdk-program-focused{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%)}.mat-menu-panel.ng-animating .mat-menu-item-submenu-trigger{pointer-events:none}button.mat-menu-item{width:100%}.mat-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}"],data:{animation:[{type:7,name:"transformMenu",definitions:[{type:0,name:"void",styles:{type:6,styles:{opacity:0,transform:"scale(0.01, 0.01)"},offset:null},options:void 0},{type:1,expr:"void => enter",animation:{type:2,steps:[{type:11,selector:".mat-menu-content",animation:{type:6,styles:{opacity:0},offset:null},options:null},{type:4,styles:{type:6,styles:{opacity:1,transform:"scale(1, 0.5)"},offset:null},timings:"100ms linear"},{type:3,steps:[{type:11,selector:".mat-menu-content",animation:{type:4,styles:{type:6,styles:{opacity:1},offset:null},timings:"400ms cubic-bezier(0.55, 0, 0.55, 0.2)"},options:null},{type:4,styles:{type:6,styles:{transform:"scale(1, 1)"},offset:null},timings:"300ms cubic-bezier(0.25, 0.8, 0.25, 1)"}],options:null}],options:null},options:null},{type:1,expr:"* => void",animation:{type:4,styles:{type:6,styles:{opacity:0},offset:null},timings:"150ms 50ms linear"},options:null}],options:{}},{type:7,name:"fadeInItems",definitions:[{type:0,name:"showing",styles:{type:6,styles:{opacity:1},offset:null},options:void 0},{type:1,expr:"void => *",animation:[{type:6,styles:{opacity:0},offset:null},{type:4,styles:null,timings:"400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"}],options:null}],options:{}}]}});function m(t){return i.\u0275vid(0,[(t()(),i.\u0275eld(0,0,null,null,3,"div",[["class","mat-menu-panel"],["role","menu"],["tabindex","-1"]],[[24,"@transformMenu",0]],[[null,"keydown"],[null,"click"],[null,"@transformMenu.start"],[null,"@transformMenu.done"]],function(t,e,n){var i=!0,r=t.component;return"keydown"===e&&(i=!1!==r._handleKeydown(n)&&i),"click"===e&&(i=!1!==r.closed.emit("click")&&i),"@transformMenu.start"===e&&(i=0!=(r._isAnimating=!0)&&i),"@transformMenu.done"===e&&(i=!1!==r._onAnimationDone(n)&&i),i},null,null)),i.\u0275did(1,278528,null,0,o.NgClass,[i.IterableDiffers,i.KeyValueDiffers,i.ElementRef,i.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),(t()(),i.\u0275eld(2,0,null,null,1,"div",[["class","mat-menu-content"]],null,null,null,null,null)),i.\u0275ncd(null,0)],function(t,e){t(e,1,0,"mat-menu-panel",e.component._classList)},function(t,e){t(e,0,0,e.component._panelAnimationState)})}function g(t){return i.\u0275vid(2,[i.\u0275qud(402653184,1,{templateRef:0}),(t()(),i.\u0275and(0,[[1,2]],null,0,null,m))],null,null)}function v(t){return i.\u0275vid(0,[(t()(),i.\u0275eld(0,0,null,null,4,"mat-menu",[],null,null,null,g,h)),i.\u0275prd(6144,null,r.\u0275f23,null,[r.MatMenu]),i.\u0275did(2,1294336,null,2,r.MatMenu,[i.ElementRef,i.NgZone,r.MAT_MENU_DEFAULT_OPTIONS],null,null),i.\u0275qud(603979776,1,{items:1}),i.\u0275qud(335544320,2,{lazyContent:0})],function(t,e){t(e,2,0)},null)}e.RenderType_MatMenu=h,e.View_MatMenu_0=g,e.View_MatMenu_Host_0=v,e.MatMenuNgFactory=i.\u0275ccf("mat-menu",r.MatMenu,v,{backdropClass:"backdropClass",xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:"class",classList:"classList"},{closed:"closed",close:"close"},["*"]);var _=i.\u0275crt({encapsulation:2,styles:[],data:{}});function y(t){return i.\u0275vid(2,[i.\u0275ncd(null,0),(t()(),i.\u0275eld(1,0,null,null,1,"div",[["class","mat-menu-ripple mat-ripple"],["matRipple",""]],[[2,"mat-ripple-unbounded",null]],null,null,null,null)),i.\u0275did(2,212992,null,0,u.MatRipple,[i.ElementRef,i.NgZone,s.Platform,[2,u.MAT_RIPPLE_GLOBAL_OPTIONS],[2,f.ANIMATION_MODULE_TYPE]],{disabled:[0,"disabled"],trigger:[1,"trigger"]},null)],function(t,e){var n=e.component;t(e,2,0,n.disableRipple||n.disabled,n._getHostElement())},function(t,e){t(e,1,0,i.\u0275nov(e,2).unbounded)})}function b(t){return i.\u0275vid(0,[(t()(),i.\u0275eld(0,0,null,null,1,"div",[["class","mat-menu-item"],["mat-menu-item",""],["role","menuitem"]],[[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==i.\u0275nov(t,1)._checkDisabled(n)&&r),"mouseenter"===e&&(r=!1!==i.\u0275nov(t,1)._handleMouseEnter()&&r),r},y,_)),i.\u0275did(1,180224,null,0,r.MatMenuItem,[i.ElementRef,o.DOCUMENT,p.FocusMonitor,[2,r.\u0275f23]],null,null)],null,function(t,e){t(e,0,0,i.\u0275nov(e,1)._highlighted,i.\u0275nov(e,1)._triggersSubmenu,i.\u0275nov(e,1)._getTabIndex(),i.\u0275nov(e,1).disabled.toString(),i.\u0275nov(e,1).disabled||null)})}e.RenderType_MatMenuItem=_,e.View_MatMenuItem_0=y,e.View_MatMenuItem_Host_0=b,e.MatMenuItemNgFactory=i.\u0275ccf("[mat-menu-item]",r.MatMenuItem,b,{disabled:"disabled",disableRipple:"disableRipple"},{},["*"])},"2UC5":function(t,e,n){"use strict";function i(){}function r(t,e){var n=new i;if(t instanceof i)t.each(function(t,e){n.set(e,t)});else if(Array.isArray(t)){var r,o=-1,l=t.length;if(null==e)for(;++o2?_:v,i=r=null,p}function p(e){return(i||(i=n(o,u,c?function(t){return function(e,n){var i=t(e=+e,n=+n);return function(t){return t<=e?0:t>=n?1:i(t)}}}(t):t,s)))(+e)}return p.invert=function(t){return(r||(r=n(u,o,g,c?function(t){return function(e,n){var i=t(e=+e,n=+n);return function(t){return t<=0?e:t>=1?n:i(t)}}}(e):e)))(+t)},p.domain=function(t){return arguments.length?(o=l.call(t,h),d()):o.slice()},p.range=function(t){return arguments.length?(u=a.call(t),d()):u.slice()},p.rangeRound=function(t){return u=a.call(t),s=f.e,d()},p.clamp=function(t){return arguments.length?(c=!!t,d()):c},p.interpolate=function(t){return arguments.length?(s=t,d()):s},d()}var C=n("rWgG"),w=function(t,e,n){var r,o=t[0],l=t[t.length-1],a=Object(i.i)(o,l,null==e?10:e);switch((n=Object(C.c)(null==n?",f":n)).type){case"s":var u=Math.max(Math.abs(o),Math.abs(l));return null!=n.precision||isNaN(r=Object(C.e)(a,u))||(n.precision=r),Object(C.b)(n,u);case"":case"e":case"g":case"p":case"r":null!=n.precision||isNaN(r=Object(C.f)(a,Math.max(Math.abs(o),Math.abs(l))))||(n.precision=r-("e"===n.type));break;case"f":case"%":null!=n.precision||isNaN(r=Object(C.d)(a))||(n.precision=r-2*("%"===n.type))}return Object(C.a)(n)};function x(){var t=b(g,f.c);return t.copy=function(){return y(t,x())},function(t){var e=t.domain;return t.ticks=function(t){var n=e();return Object(i.j)(n[0],n[n.length-1],null==t?10:t)},t.tickFormat=function(t,n){return w(e(),t,n)},t.nice=function(n){null==n&&(n=10);var r,o=e(),l=0,a=o.length-1,u=o[l],s=o[a];return s0?(u=Math.floor(u/r)*r,s=Math.ceil(s/r)*r,r=Object(i.h)(u,s,n)):r<0&&(u=Math.ceil(u*r)/r,s=Math.floor(s*r)/r,r=Object(i.h)(u,s,n)),r>0?(o[l]=Math.floor(u/r)*r,o[a]=Math.ceil(s/r)*r,e(o)):r<0&&(o[l]=Math.ceil(u*r)/r,o[a]=Math.floor(s*r)/r,e(o)),t},t}(t)}function M(){var t=[],e=[],n=[];function r(){var r=0,l=Math.max(1,e.length);for(n=new Array(l-1);++r0?n[r-1]:t[0],r0))return a;do{a.push(l=new Date(+n)),e(n,o),t(n)}while(l=e)for(;t(e),!n(e);)e.setTime(e-1)},function(t,i){if(t>=t)if(i<0)for(;++i<=0;)for(;e(t,-1),!n(t););else for(;--i>=0;)for(;e(t,1),!n(t););})},n&&(r.count=function(e,i){return S.setTime(+e),O.setTime(+i),t(S),t(O),Math.floor(n(S,O))},r.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?r.filter(i?function(e){return i(e)%t==0}:function(e){return r.count(0,e)%t==0}):r:null}),r}var D=E(function(){},function(t,e){t.setTime(+t+e)},function(t,e){return e-t});D.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?E(function(e){e.setTime(Math.floor(e/t)*t)},function(e,n){e.setTime(+e+n*t)},function(e,n){return(n-e)/t}):D:null};var A=D,T=6e4,R=6048e5,k=E(function(t){t.setTime(1e3*Math.floor(t/1e3))},function(t,e){t.setTime(+t+1e3*e)},function(t,e){return(e-t)/1e3},function(t){return t.getUTCSeconds()}),I=E(function(t){t.setTime(Math.floor(t/T)*T)},function(t,e){t.setTime(+t+e*T)},function(t,e){return(e-t)/T},function(t){return t.getMinutes()}),L=E(function(t){var e=t.getTimezoneOffset()*T%36e5;e<0&&(e+=36e5),t.setTime(36e5*Math.floor((+t-e)/36e5)+e)},function(t,e){t.setTime(+t+36e5*e)},function(t,e){return(e-t)/36e5},function(t){return t.getHours()}),P=E(function(t){t.setHours(0,0,0,0)},function(t,e){t.setDate(t.getDate()+e)},function(t,e){return(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*T)/864e5},function(t){return t.getDate()-1});function F(t){return E(function(e){e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)},function(t,e){t.setDate(t.getDate()+7*e)},function(t,e){return(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*T)/R})}var N=F(0),j=F(1),V=(F(2),F(3),F(4)),B=(F(5),F(6),E(function(t){t.setDate(1),t.setHours(0,0,0,0)},function(t,e){t.setMonth(t.getMonth()+e)},function(t,e){return e.getMonth()-t.getMonth()+12*(e.getFullYear()-t.getFullYear())},function(t){return t.getMonth()})),H=E(function(t){t.setMonth(0,1),t.setHours(0,0,0,0)},function(t,e){t.setFullYear(t.getFullYear()+e)},function(t,e){return e.getFullYear()-t.getFullYear()},function(t){return t.getFullYear()});H.every=function(t){return isFinite(t=Math.floor(t))&&t>0?E(function(e){e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)},function(e,n){e.setFullYear(e.getFullYear()+n*t)}):null};var U=H,G=(E(function(t){t.setUTCSeconds(0,0)},function(t,e){t.setTime(+t+e*T)},function(t,e){return(e-t)/T},function(t){return t.getUTCMinutes()}),E(function(t){t.setUTCMinutes(0,0,0)},function(t,e){t.setTime(+t+36e5*e)},function(t,e){return(e-t)/36e5},function(t){return t.getUTCHours()}),E(function(t){t.setUTCHours(0,0,0,0)},function(t,e){t.setUTCDate(t.getUTCDate()+e)},function(t,e){return(e-t)/864e5},function(t){return t.getUTCDate()-1}));function z(t){return E(function(e){e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)},function(t,e){t.setUTCDate(t.getUTCDate()+7*e)},function(t,e){return(e-t)/R})}var q=z(0),Y=z(1),W=(z(2),z(3),z(4)),K=(z(5),z(6),E(function(t){t.setUTCDate(1),t.setUTCHours(0,0,0,0)},function(t,e){t.setUTCMonth(t.getUTCMonth()+e)},function(t,e){return e.getUTCMonth()-t.getUTCMonth()+12*(e.getUTCFullYear()-t.getUTCFullYear())},function(t){return t.getUTCMonth()}),E(function(t){t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},function(t,e){t.setUTCFullYear(t.getUTCFullYear()+e)},function(t,e){return e.getUTCFullYear()-t.getUTCFullYear()},function(t){return t.getUTCFullYear()}));K.every=function(t){return isFinite(t=Math.floor(t))&&t>0?E(function(e){e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},function(e,n){e.setUTCFullYear(e.getUTCFullYear()+n*t)}):null};var Z=K;function X(t){if(0<=t.y&&t.y<100){var e=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return e.setFullYear(t.y),e}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function Q(t){if(0<=t.y&&t.y<100){var e=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return e.setUTCFullYear(t.y),e}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function $(t){return{y:t,m:0,d:1,H:0,M:0,S:0,L:0}}var J,tt,et,nt={"-":"",_:" ",0:"0"},it=/^\s*\d+/,rt=/^%/,ot=/[\\^$*+?|[\]().{}]/g;function lt(t,e,n){var i=t<0?"-":"",r=(i?-t:t)+"",o=r.length;return i+(o68?1900:2e3),n+i[0].length):-1}function vt(t,e,n){var i=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(n,n+6));return i?(t.Z=i[1]?0:-(i[2]+(i[3]||"00")),n+i[0].length):-1}function _t(t,e,n){var i=it.exec(e.slice(n,n+2));return i?(t.m=i[0]-1,n+i[0].length):-1}function yt(t,e,n){var i=it.exec(e.slice(n,n+2));return i?(t.d=+i[0],n+i[0].length):-1}function bt(t,e,n){var i=it.exec(e.slice(n,n+3));return i?(t.m=0,t.d=+i[0],n+i[0].length):-1}function Ct(t,e,n){var i=it.exec(e.slice(n,n+2));return i?(t.H=+i[0],n+i[0].length):-1}function wt(t,e,n){var i=it.exec(e.slice(n,n+2));return i?(t.M=+i[0],n+i[0].length):-1}function xt(t,e,n){var i=it.exec(e.slice(n,n+2));return i?(t.S=+i[0],n+i[0].length):-1}function Mt(t,e,n){var i=it.exec(e.slice(n,n+3));return i?(t.L=+i[0],n+i[0].length):-1}function St(t,e,n){var i=it.exec(e.slice(n,n+6));return i?(t.L=Math.floor(i[0]/1e3),n+i[0].length):-1}function Ot(t,e,n){var i=rt.exec(e.slice(n,n+1));return i?n+i[0].length:-1}function Et(t,e,n){var i=it.exec(e.slice(n));return i?(t.Q=+i[0],n+i[0].length):-1}function Dt(t,e,n){var i=it.exec(e.slice(n));return i?(t.Q=1e3*+i[0],n+i[0].length):-1}function At(t,e){return lt(t.getDate(),e,2)}function Tt(t,e){return lt(t.getHours(),e,2)}function Rt(t,e){return lt(t.getHours()%12||12,e,2)}function kt(t,e){return lt(1+P.count(U(t),t),e,3)}function It(t,e){return lt(t.getMilliseconds(),e,3)}function Lt(t,e){return It(t,e)+"000"}function Pt(t,e){return lt(t.getMonth()+1,e,2)}function Ft(t,e){return lt(t.getMinutes(),e,2)}function Nt(t,e){return lt(t.getSeconds(),e,2)}function jt(t){var e=t.getDay();return 0===e?7:e}function Vt(t,e){return lt(N.count(U(t),t),e,2)}function Bt(t,e){var n=t.getDay();return t=n>=4||0===n?V(t):V.ceil(t),lt(V.count(U(t),t)+(4===U(t).getDay()),e,2)}function Ht(t){return t.getDay()}function Ut(t,e){return lt(j.count(U(t),t),e,2)}function Gt(t,e){return lt(t.getFullYear()%100,e,2)}function zt(t,e){return lt(t.getFullYear()%1e4,e,4)}function qt(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+lt(e/60|0,"0",2)+lt(e%60,"0",2)}function Yt(t,e){return lt(t.getUTCDate(),e,2)}function Wt(t,e){return lt(t.getUTCHours(),e,2)}function Kt(t,e){return lt(t.getUTCHours()%12||12,e,2)}function Zt(t,e){return lt(1+G.count(Z(t),t),e,3)}function Xt(t,e){return lt(t.getUTCMilliseconds(),e,3)}function Qt(t,e){return Xt(t,e)+"000"}function $t(t,e){return lt(t.getUTCMonth()+1,e,2)}function Jt(t,e){return lt(t.getUTCMinutes(),e,2)}function te(t,e){return lt(t.getUTCSeconds(),e,2)}function ee(t){var e=t.getUTCDay();return 0===e?7:e}function ne(t,e){return lt(q.count(Z(t),t),e,2)}function ie(t,e){var n=t.getUTCDay();return t=n>=4||0===n?W(t):W.ceil(t),lt(W.count(Z(t),t)+(4===Z(t).getUTCDay()),e,2)}function re(t){return t.getUTCDay()}function oe(t,e){return lt(Y.count(Z(t),t),e,2)}function le(t,e){return lt(t.getUTCFullYear()%100,e,2)}function ae(t,e){return lt(t.getUTCFullYear()%1e4,e,4)}function ue(){return"+0000"}function se(){return"%"}function ce(t){return+t}function de(t){return Math.floor(+t/1e3)}J=function(t){var e=t.dateTime,n=t.date,i=t.time,r=t.periods,o=t.days,l=t.shortDays,a=t.months,u=t.shortMonths,s=ut(r),c=st(r),d=ut(o),f=st(o),p=ut(l),h=st(l),m=ut(a),g=st(a),v=ut(u),_=st(u),y={a:function(t){return l[t.getDay()]},A:function(t){return o[t.getDay()]},b:function(t){return u[t.getMonth()]},B:function(t){return a[t.getMonth()]},c:null,d:At,e:At,f:Lt,H:Tt,I:Rt,j:kt,L:It,m:Pt,M:Ft,p:function(t){return r[+(t.getHours()>=12)]},Q:ce,s:de,S:Nt,u:jt,U:Vt,V:Bt,w:Ht,W:Ut,x:null,X:null,y:Gt,Y:zt,Z:qt,"%":se},b={a:function(t){return l[t.getUTCDay()]},A:function(t){return o[t.getUTCDay()]},b:function(t){return u[t.getUTCMonth()]},B:function(t){return a[t.getUTCMonth()]},c:null,d:Yt,e:Yt,f:Qt,H:Wt,I:Kt,j:Zt,L:Xt,m:$t,M:Jt,p:function(t){return r[+(t.getUTCHours()>=12)]},Q:ce,s:de,S:te,u:ee,U:ne,V:ie,w:re,W:oe,x:null,X:null,y:le,Y:ae,Z:ue,"%":se},C={a:function(t,e,n){var i=p.exec(e.slice(n));return i?(t.w=h[i[0].toLowerCase()],n+i[0].length):-1},A:function(t,e,n){var i=d.exec(e.slice(n));return i?(t.w=f[i[0].toLowerCase()],n+i[0].length):-1},b:function(t,e,n){var i=v.exec(e.slice(n));return i?(t.m=_[i[0].toLowerCase()],n+i[0].length):-1},B:function(t,e,n){var i=m.exec(e.slice(n));return i?(t.m=g[i[0].toLowerCase()],n+i[0].length):-1},c:function(t,n,i){return M(t,e,n,i)},d:yt,e:yt,f:St,H:Ct,I:Ct,j:bt,L:Mt,m:_t,M:wt,p:function(t,e,n){var i=s.exec(e.slice(n));return i?(t.p=c[i[0].toLowerCase()],n+i[0].length):-1},Q:Et,s:Dt,S:xt,u:dt,U:ft,V:pt,w:ct,W:ht,x:function(t,e,i){return M(t,n,e,i)},X:function(t,e,n){return M(t,i,e,n)},y:gt,Y:mt,Z:vt,"%":Ot};function w(t,e){return function(n){var i,r,o,l=[],a=-1,u=0,s=t.length;for(n instanceof Date||(n=new Date(+n));++a53)return null;"w"in o||(o.w=1),"Z"in o?(r=(i=Q($(o.y))).getUTCDay(),i=r>4||0===r?Y.ceil(i):Y(i),i=G.offset(i,7*(o.V-1)),o.y=i.getUTCFullYear(),o.m=i.getUTCMonth(),o.d=i.getUTCDate()+(o.w+6)%7):(r=(i=e($(o.y))).getDay(),i=r>4||0===r?j.ceil(i):j(i),i=P.offset(i,7*(o.V-1)),o.y=i.getFullYear(),o.m=i.getMonth(),o.d=i.getDate()+(o.w+6)%7)}else("W"in o||"U"in o)&&("w"in o||(o.w="u"in o?o.u%7:"W"in o?1:0),r="Z"in o?Q($(o.y)).getUTCDay():e($(o.y)).getDay(),o.m=0,o.d="W"in o?(o.w+6)%7+7*o.W-(r+5)%7:o.w+7*o.U-(r+6)%7);return"Z"in o?(o.H+=o.Z/100|0,o.M+=o.Z%100,Q(o)):e(o)}}function M(t,e,n,i){for(var r,o,l=0,a=e.length,u=n.length;l=u)return-1;if(37===(r=e.charCodeAt(l++))){if(r=e.charAt(l++),!(o=C[r in nt?e.charAt(l++):r])||(i=o(t,n,i))<0)return-1}else if(r!=n.charCodeAt(i++))return-1}return i}return y.x=w(n,y),y.X=w(i,y),y.c=w(e,y),b.x=w(n,b),b.X=w(i,b),b.c=w(e,b),{format:function(t){var e=w(t+="",y);return e.toString=function(){return t},e},parse:function(t){var e=x(t+="",X);return e.toString=function(){return t},e},utcFormat:function(t){var e=w(t+="",b);return e.toString=function(){return t},e},utcParse:function(t){var e=x(t,Q);return e.toString=function(){return t},e}}}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]}),tt=J.format,et=J.utcParse,Date.prototype.toISOString||(0,J.utcFormat)("%Y-%m-%dT%H:%M:%S.%LZ"),+new Date("2000-01-01T00:00:00.000Z")||et("%Y-%m-%dT%H:%M:%S.%LZ");var fe=31536e6;function pe(t){return new Date(t)}function he(t){return t instanceof Date?+t:+new Date(+t)}var me=function(){return function t(e,n,r,o,a,u,s,c,d){var p=b(g,f.c),h=p.invert,m=p.domain,v=d(".%L"),_=d(":%S"),C=d("%I:%M"),w=d("%I %p"),x=d("%a %d"),M=d("%b %d"),S=d("%B"),O=d("%Y"),E=[[s,1,1e3],[s,5,5e3],[s,15,15e3],[s,30,3e4],[u,1,6e4],[u,5,3e5],[u,15,9e5],[u,30,18e5],[a,1,36e5],[a,3,108e5],[a,6,216e5],[a,12,432e5],[o,1,864e5],[o,2,1728e5],[r,1,6048e5],[n,1,2592e6],[n,3,7776e6],[e,1,fe]];function D(t){return(s(t)0?q:z)(t)},W=R,K={},Z={}.toString,X=function(t){return Z.call(t).slice(8,-1)},Q=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==X(t)?t.split(""):Object(t)},$=function(t){return Q(n(t))},J=Math.min,tt=Math.max,et=Math.min,nt=function(t,e,n){for(var i,r=$(t),o=(i=r.length)>0?J(Y(i),9007199254740991):0,l=function(t,e){return(t=Y(t))<0?tt(t+e,0):et(t,e)}(n,o);o>l;l++)if(l in r&&r[l]===e)return l||0;return-1},it=p("IE_PROTO"),rt=function(t,e){var n,i=$(t),r=0,l=[];for(n in i)n!=it&&o(i,n)&&l.push(n);for(;e.length>r;)o(i,n=e[r++])&&(~nt(l,n)||l.push(n));return l},ot="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","),lt=Object.keys||function(t){return rt(t,ot)},at=w?Object.defineProperties:function(t,e){b(t);for(var n,i=lt(e),r=i.length,o=0;r>o;)A.f(t,n=i[o++],e[n]);return t},ut=l.document&&document.documentElement,st=p("IE_PROTO"),ct=function(){},dt=function(){var t,e=S("iframe"),n=ot.length;for(e.style.display="none",ut.appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write("