diff --git a/.travis.yml b/.travis.yml index c09453f7..6e505029 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,6 @@ language: go go: - - "1.8" - "1.9" - "1.10" @@ -28,6 +27,7 @@ install: script: - make check + - make lint-ts - make build-ng - make check-ui diff --git a/Makefile b/Makefile index a5ccd726..01368f74 100644 --- a/Makefile +++ b/Makefile @@ -48,6 +48,9 @@ install-linters: ## Install linters format: ## Formats the code. Must have goimports installed (use make install-linters). goimports -w explorer.go +lint-ts: ## runs ts lint + npm run lint + check-ui: ## runs e2e tests connecting to a containerized node go run explorer.go &>/dev/null & sleep 10 diff --git a/README.md b/README.md index 4fe04fe0..74eb9b6c 100644 --- a/README.md +++ b/README.md @@ -141,6 +141,22 @@ Run linters: make lint ``` +### e2e Tests + +If you are running a Skycoin node normally, you can run the e2e tests with: + +```sh +npm run e2e +``` + +If you are running a Skycoin node using the test database (`blockchain-180.db`), you can run the e2e tests with: + +```sh +npm run e2e-blockchain-180 +``` + +The second method is the one used in Travis. + ### Customization [CUSTOMIZATION.md](CUSTOMIZATION.md) diff --git a/dist/0.4ff8f23d9b9631142fe3.js b/dist/0.4ff8f23d9b9631142fe3.js deleted file mode 100644 index 8f873d97..00000000 --- a/dist/0.4ff8f23d9b9631142fe3.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[0],{"ZF/7":function(a){a.exports={general:{coinIdentifier:"SKY",address:"Direcci\xf3n",coins:"Monedas",loadingMsg:"Cargando...",shortLoadingErrorMsg:"Error de carga",longLoadingErrorMsg:"Error al cargar los datos, int\xe9ntelo m\xe1s tarde...",waitingData:"Esperando por los datos..."},txBoxes:{transactionID:"ID de la transacci\xf3n",inputs:"Entradas",outputs:"Salidas",pending:"pendiente",date:"Fecha",finalBalance:"Saldo final de la direcci\xf3n",firstSeen:"Primera vez visto"},blocks:{blocksTitle:"Bloques",statsTitle:"Estad\xedsticas",blockHeight:"Altura",currentSupply:"Suministro Actual",totalSupply:"Suministro Total",currentCoinhourSupply:"Suministro Actual de Coinhours",totalCoinhourSupply:"Suministro Total de Coinhours",unconfirmedTransactions:"Transacciones Sin Confirmar",richList:"Top de direcciones",time:"Fecha",blockNumber:"N\xfamero de bloque",blockNumberSmall:"#",transactions:"Transacciones",blockhash:"Hash"},blockDetails:{title:"Detalles del bloque",next:"Bloque siguiente",previous:"Bloque anterior",height:"N\xfamero de Bloque",timestamp:"Fecha",size:"Tama\xf1o",hash:"Hash",parentHash:"Hash Anterior",totalAmount:"Cantidad Total",withoutParent:"Sin bloque anterior",doesNotExist:"El bloque no existe"},addressDetail:{title:"Direcci\xf3n",txsNumber:"# de Transacciones",totalReceived:"Total Recibido",currentBalance:"Saldo Actual",tools:"Herramientas",unspentOutputs:"Salidas no usadas",withoutTransactions:"Sin transacciones"},unspentOutputs:{title:"Salidas No Usadas",address:"Direcci\xf3n",outputsNumber:"# de salidas",total:"Total",origin:"Origen",date:"Fecha",withoutOutputs:"Sin salidas no usadas"},transactionDetail:{title:"Transacci\xf3n",status:"Estado",timestamp:"Fecha",size:"Tama\xf1o",block:"Bloque",confirmed:"Confirmada",unconfirmed:"No confirmada",canNotFind:"No ha sido posible encontrar la transacci\xf3n"},unconfirmedTx:{title:"Transacciones Sin Confirmar",quantity:"Cantidad",size:"Tama\xf1o total",newest:"M\xe1s reciente",oldest:"M\xe1s antigua",withoutTransactions:"Actualmente no hay transacciones sin confirmar"},richlist:{title:"Top de direcciones"},copy:{copied:"Copiado"},searchBar:{hint:"Direcci\xf3n, hash/n\xfamero de bloque o ID de transacci\xf3n"}}}}]); \ No newline at end of file diff --git a/dist/0.a76c7ccd3867033d76b2.js b/dist/0.a76c7ccd3867033d76b2.js new file mode 100644 index 00000000..e08570bf --- /dev/null +++ b/dist/0.a76c7ccd3867033d76b2.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[0],{amrp:function(t){t.exports={general:{coinIdentifier:"SKY",address:"Address",coins:"Coins",iniialHours:"Initial Hours",calculatedHours:"Final Hours",currentHours:"Current Hours",hours:"Hours",loadingMsg:"Loading...",shortLoadingErrorMsg:"Loading error",longLoadingErrorMsg:"Error loading data, try again later...",waitingData:"Waiting for data...",noData:"No data to show"},txBoxes:{transactionID:"Transaction ID",inputs:"Inputs",outputs:"Outputs",pending:"pending",date:"Date",balance:"More info",fee:"Transaction fee (in hours)",initialBalance:"Initial coins balance",finalBalance:"Final coins balance",firstSeen:"First seen at",loadAll:"Show all {{total}} elements",loading:"Loading, please wait..."},blocks:{blocksTitle:"Blocks",statsTitle:"Stats",blockHeight:"Block Height",currentSupply:"Current Supply",totalSupply:"Total Supply",currentCoinhourSupply:"Current Coinhour Supply",totalCoinhourSupply:"Total Coinhour Supply",unconfirmedTransactions:"Unconfirmed Transactions",richList:"Rich List",time:"Time",blockNumber:"Block Number",blockNumberSmall:"Block #",transactions:"Transactions",blockhash:"Blockhash"},blockDetails:{title:"Block Details",next:"Next block",previous:"Previous block",height:"Height",timestamp:"Timestamp",size:"Size",hash:"Hash",parentHash:"Parent Hash",totalAmount:"Total Amount",withoutParent:"Without parent block",doesNotExist:'The block "{{number}}" does not exist'},addressDetail:{title:"Address",txsNumber:"# of Transactions",totalReceived:"Total Received",totalSent:"Total Sent",currentBalance:"Current Coins",hoursBalance:"Current Hours",tools:"Tools",unspentOutputs:"Unspent outputs",withoutTransactions:"Without transactions"},unspentOutputs:{title:"Unspent Outputs",address:"Address",outputsNumber:"# of outputs",totalCoins:"Total Coins",totalHours:"Total Hours",origin:"Origin",date:"Date",withoutOutputs:"Without outputs"},transactionDetail:{title:"Transaction",status:"Status",timestamp:"Timestamp",size:"Size",block:"Block",confirmed:"Confirmed",unconfirmed:"Unconfirmed",canNotFind:"Unable to find the transaction"},unconfirmedTx:{title:"Unconfirmed Transactions",quantity:"Quantity",size:"Total Size",newest:"Newest",oldest:"Oldest",withoutTransactions:"Currently there are no unconfirmed transactions"},richlist:{title:"Rich List"},copy:{copied:"Copied"},searchBar:{hint:"Address, block hash or number, or transaction ID"},search:{title:"Search",unableToFind:'Unable to find "{{ term }}"'}}}}]); \ No newline at end of file diff --git a/dist/1.b2f032c505a19c32b77a.js b/dist/1.b2f032c505a19c32b77a.js deleted file mode 100644 index 6ff1c0ea..00000000 --- a/dist/1.b2f032c505a19c32b77a.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{amrp:function(t){t.exports={general:{coinIdentifier:"SKY",address:"Address",coins:"Coins",loadingMsg:"Loading...",shortLoadingErrorMsg:"Loading error",longLoadingErrorMsg:"Error loading data, try again later...",waitingData:"Waiting for data...",noData:"No data to show"},txBoxes:{transactionID:"Transaction ID",inputs:"Inputs",outputs:"Outputs",pending:"pending",date:"Date",balance:"Balance",initialBalance:"Initial address balance",finalBalance:"Final address balance",initialBalanceShort:"Initial",finalBalanceShort:"Final",firstSeen:"First seen at"},blocks:{blocksTitle:"Blocks",statsTitle:"Stats",blockHeight:"Block Height",currentSupply:"Current Supply",totalSupply:"Total Supply",currentCoinhourSupply:"Current Coinhour Supply",totalCoinhourSupply:"Total Coinhour Supply",unconfirmedTransactions:"Unconfirmed Transactions",richList:"Rich List",time:"Time",blockNumber:"Block Number",blockNumberSmall:"Block #",transactions:"Transactions",blockhash:"Blockhash"},blockDetails:{title:"Block Details",next:"Next block",previous:"Previous block",height:"Height",timestamp:"Timestamp",size:"Size",hash:"Hash",parentHash:"Parent Hash",totalAmount:"Total Amount",withoutParent:"Without parent block",doesNotExist:'The block "{{number}}" does not exist'},addressDetail:{title:"Address",txsNumber:"# of Transactions",totalReceived:"Total Received",currentBalance:"Current Balance",tools:"Tools",unspentOutputs:"Unspent outputs",withoutTransactions:"Without transactions"},unspentOutputs:{title:"Unspent Outputs",address:"Address",outputsNumber:"# of outputs",total:"Total",origin:"Origin",date:"Date",withoutOutputs:"Without outputs"},transactionDetail:{title:"Transaction",status:"Status",timestamp:"Timestamp",size:"Size",block:"Block",confirmed:"Confirmed",unconfirmed:"Unconfirmed",canNotFind:"Unable to find the transaction"},unconfirmedTx:{title:"Unconfirmed Transactions",quantity:"Quantity",size:"Total Size",newest:"Newest",oldest:"Oldest",withoutTransactions:"Currently there are no unconfirmed transactions"},richlist:{title:"Rich List"},copy:{copied:"Copied"},searchBar:{hint:"Address, block hash or number, or transaction ID"},search:{title:"Search",unableToFind:'Unable to find "{{ term }}"'}}}}]); \ No newline at end of file diff --git a/dist/3rdpartylicenses.txt b/dist/3rdpartylicenses.txt index f2f3d549..e012a2c7 100644 --- a/dist/3rdpartylicenses.txt +++ b/dist/3rdpartylicenses.txt @@ -252,6 +252,10 @@ scrollingelement@1.5.2 MIT MIT +bignumber.js@7.2.1 +MIT +MIT + tslib@1.9.3 Apache-2.0 Apache License diff --git a/dist/assets/i18n/en.json b/dist/assets/i18n/en.json index e26db1b4..8ad9cef5 100644 --- a/dist/assets/i18n/en.json +++ b/dist/assets/i18n/en.json @@ -3,6 +3,10 @@ "coinIdentifier": "SKY", "address": "Address", "coins": "Coins", + "iniialHours": "Initial Hours", + "calculatedHours": "Final Hours", + "currentHours": "Current Hours", + "hours": "Hours", "loadingMsg": "Loading...", "shortLoadingErrorMsg": "Loading error", "longLoadingErrorMsg": "Error loading data, try again later...", @@ -15,12 +19,13 @@ "outputs": "Outputs", "pending": "pending", "date": "Date", - "balance": "Balance", - "initialBalance": "Initial address balance", - "finalBalance": "Final address balance", - "initialBalanceShort": "Initial", - "finalBalanceShort": "Final", - "firstSeen": "First seen at" + "balance": "More info", + "fee": "Transaction fee (in hours)", + "initialBalance": "Initial coins balance", + "finalBalance": "Final coins balance", + "firstSeen": "First seen at", + "loadAll": "Show all {{total}} elements", + "loading": "Loading, please wait..." }, "blocks": { "blocksTitle": "Blocks", @@ -55,7 +60,9 @@ "title": "Address", "txsNumber": "# of Transactions", "totalReceived": "Total Received", - "currentBalance": "Current Balance", + "totalSent": "Total Sent", + "currentBalance": "Current Coins", + "hoursBalance": "Current Hours", "tools": "Tools", "unspentOutputs": "Unspent outputs", "withoutTransactions": "Without transactions" @@ -64,7 +71,8 @@ "title": "Unspent Outputs", "address": "Address", "outputsNumber": "# of outputs", - "total": "Total", + "totalCoins": "Total Coins", + "totalHours": "Total Hours", "origin": "Origin", "date": "Date", "withoutOutputs": "Without outputs" diff --git a/dist/assets/i18n/es.json b/dist/assets/i18n/es.json deleted file mode 100644 index 37bc82ad..00000000 --- a/dist/assets/i18n/es.json +++ /dev/null @@ -1,94 +0,0 @@ -{ - "general": { - "coinIdentifier": "SKY", - "address": "Dirección", - "coins": "Monedas", - "loadingMsg": "Cargando...", - "shortLoadingErrorMsg": "Error de carga", - "longLoadingErrorMsg": "Error al cargar los datos, inténtelo más tarde...", - "waitingData": "Esperando por los datos..." - }, - "txBoxes": { - "transactionID": "ID de la transacción", - "inputs": "Entradas", - "outputs": "Salidas", - "pending": "pendiente", - "date": "Fecha", - "finalBalance": "Saldo final de la dirección", - "firstSeen": "Primera vez visto" - }, - "blocks": { - "blocksTitle": "Bloques", - "statsTitle": "Estadísticas", - "blockHeight": "Altura", - "currentSupply": "Suministro Actual", - "totalSupply": "Suministro Total", - "currentCoinhourSupply": "Suministro Actual de Coinhours", - "totalCoinhourSupply": "Suministro Total de Coinhours", - "unconfirmedTransactions": "Transacciones Sin Confirmar", - "richList": "Top de direcciones", - "time": "Fecha", - "blockNumber": "Número de bloque", - "blockNumberSmall": "#", - "transactions": "Transacciones", - "blockhash": "Hash" - }, - "blockDetails": { - "title": "Detalles del bloque", - "next": "Bloque siguiente", - "previous": "Bloque anterior", - "height": "Número de Bloque", - "timestamp": "Fecha", - "size": "Tamaño", - "hash": "Hash", - "parentHash": "Hash Anterior", - "totalAmount": "Cantidad Total", - "withoutParent": "Sin bloque anterior", - "doesNotExist": "El bloque no existe" - }, - "addressDetail": { - "title": "Dirección", - "txsNumber": "# de Transacciones", - "totalReceived": "Total Recibido", - "currentBalance": "Saldo Actual", - "tools": "Herramientas", - "unspentOutputs": "Salidas no usadas", - "withoutTransactions": "Sin transacciones" - }, - "unspentOutputs": { - "title": "Salidas No Usadas", - "address": "Dirección", - "outputsNumber": "# de salidas", - "total": "Total", - "origin": "Origen", - "date": "Fecha", - "withoutOutputs": "Sin salidas no usadas" - }, - "transactionDetail": { - "title": "Transacción", - "status": "Estado", - "timestamp": "Fecha", - "size": "Tamaño", - "block": "Bloque", - "confirmed": "Confirmada", - "unconfirmed": "No confirmada", - "canNotFind": "No ha sido posible encontrar la transacción" - }, - "unconfirmedTx": { - "title": "Transacciones Sin Confirmar", - "quantity": "Cantidad", - "size": "Tamaño total", - "newest": "Más reciente", - "oldest": "Más antigua", - "withoutTransactions": "Actualmente no hay transacciones sin confirmar" - }, - "richlist": { - "title": "Top de direcciones" - }, - "copy": { - "copied": "Copiado" - }, - "searchBar": { - "hint": "Dirección, hash/número de bloque o ID de transacción" - } -} \ No newline at end of file diff --git a/dist/fa-brands-400.e29e9563cff9c09a6ac5.svg b/dist/fa-brands-400.8f8fac65806eec82b4e0.svg similarity index 100% rename from dist/fa-brands-400.e29e9563cff9c09a6ac5.svg rename to dist/fa-brands-400.8f8fac65806eec82b4e0.svg diff --git a/dist/fa-regular-400.576b41bc58d121b9d4e5.svg b/dist/fa-regular-400.649582a6076b3294a23d.svg similarity index 100% rename from dist/fa-regular-400.576b41bc58d121b9d4e5.svg rename to dist/fa-regular-400.649582a6076b3294a23d.svg diff --git a/dist/fa-solid-900.11c05d473f66db7ce479.svg b/dist/fa-solid-900.0f8d20430f5091676681.svg similarity index 100% rename from dist/fa-solid-900.11c05d473f66db7ce479.svg rename to dist/fa-solid-900.0f8d20430f5091676681.svg diff --git a/dist/index.html b/dist/index.html index eeb35fba..183e0ea2 100644 --- a/dist/index.html +++ b/dist/index.html @@ -8,8 +8,8 @@ - + - + diff --git a/dist/main.52f02b008b476795176d.js b/dist/main.52f02b008b476795176d.js new file mode 100644 index 00000000..66102b2c --- /dev/null +++ b/dist/main.52f02b008b476795176d.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[4],{5:function(t,n,e){t.exports=e("zUnb")},"5NFG":function(t,n){},"5ey7":function(t,n,e){var r={"./en.json":["amrp",0]};function i(t){var n=r[t];return n?e.e(n[1]).then(function(){var t=e(n[0]);return Object.assign({},"object"==typeof t&&t,{default:t})}):Promise.resolve().then(function(){var n=new Error('Cannot find module "'+t+'".');throw n.code="MODULE_NOT_FOUND",n})}i.keys=function(){return Object.keys(r)},i.id="5ey7",t.exports=i},cUpc:function(t,n){"scrollingElement"in document||function(){function t(t){return window.getComputedStyle?getComputedStyle(t,null):t.currentStyle}var n;function e(t){return"none"!=t.display&&!("collapse"==t.visibility&&/^table-(.+-group|row|column)$/.test(t.display))}var r=function(){if(function(){if(!/^CSS1/.test(document.compatMode))return!1;if(void 0===n){var t=document.createElement("iframe");t.style.height="1px",(document.body||document.documentElement||document).appendChild(t);var e=t.contentWindow.document;e.write('
x
'),e.close(),n=e.documentElement.scrollHeight>e.body.scrollHeight,t.parentNode.removeChild(t)}return n}())return document.documentElement;var r=document.body;return(r=r&&!/body/i.test(r.tagName)?function(t){for(var n,e=r;e=e.nextSibling;)if(1==e.nodeType&&(n=e,window.HTMLBodyElement?n instanceof HTMLBodyElement:/body/i.test(n.tagName)))return e;return null}():r)&&function(n){var r=t(n),i=t(document.documentElement);return"visible"!=r.overflow&&"visible"!=i.overflow&&e(r)&&e(i)}(r)?null:r};Object.defineProperty?Object.defineProperty(document,"scrollingElement",{get:r}):document.__defineGetter__?document.__defineGetter__("scrollingElement",r):(document.scrollingElement=r(),document.attachEvent&&document.attachEvent("onpropertychange",function(){"activeElement"==window.event.propertyName&&(document.scrollingElement=r())}))}()},crnd:function(t,n){function e(t){return Promise.resolve().then(function(){var n=new Error('Cannot find module "'+t+'".');throw n.code="MODULE_NOT_FOUND",n})}e.keys=function(){return[]},e.resolve=e,t.exports=e,e.id="crnd"},kB5k:function(t,n,e){var r;!function(i){"use strict";var o,l=/^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i,u=Math.ceil,s=Math.floor,a="[BigNumber Error] ",c=a+"Number primitive has more than 15 significant digits: ",h=1e14,p=14,f=9007199254740991,d=[1,10,100,1e3,1e4,1e5,1e6,1e7,1e8,1e9,1e10,1e11,1e12,1e13],y=1e7;function g(t){var n=0|t;return t>0||t===n?n:n-1}function v(t){for(var n,e,r=1,i=t.length,o=t[0]+"";ra^e?1:-1;for(u=(s=i.length)<(a=o.length)?s:a,l=0;lo[l]^e?1:-1;return s==a?0:s>a^e?1:-1}function b(t,n,e,r){if(te||t!==(t<0?u(t):s(t)))throw Error(a+(r||"Argument")+("number"==typeof t?te?" out of range: ":" not an integer: ":" not a primitive number: ")+t)}function _(t){return"[object Array]"==Object.prototype.toString.call(t)}function w(t){var n=t.c.length-1;return g(t.e/p)==n&&t.c[n]%2!=0}function x(t,n){return(t.length>1?t.charAt(0)+"."+t.slice(1):t)+(n<0?"e":"e+")+n}function C(t,n,e){var r,i;if(n<0){for(i=e+".";++n;i+=e);t=i+t}else if(++n>(r=t.length)){for(i=e,n-=r;--n;i+=e);t+=i}else n=10;h/=10,a++);return v.e=a,void(v.c=[t])}g=t+""}else{if(!l.test(g=t+""))return i(v,g,d);v.s=45==g.charCodeAt(0)?(g=g.slice(1),-1):1}(a=g.indexOf("."))>-1&&(g=g.replace(".","")),(h=g.search(/e/i))>0?(a<0&&(a=h),a+=+g.slice(h+1),g=g.substring(0,h)):a<0&&(a=g.length)}else{if(b(n,2,B.length,"Base"),g=t+"",10==n)return G(v=new z(t instanceof z?t:g),M+v.e+1,N);if(d="number"==typeof t){if(0*t!=0)return i(v,g,d,n);if(v.s=1/t<0?(g=g.slice(1),-1):1,z.DEBUG&&g.replace(/^0\.0*|\./,"").length>15)throw Error(c+t);d=!1}else v.s=45===g.charCodeAt(0)?(g=g.slice(1),-1):1;for(e=B.slice(0,n),a=h=0,y=g.length;ha){a=y;continue}}else if(!u&&(g==g.toUpperCase()&&(g=g.toLowerCase())||g==g.toLowerCase()&&(g=g.toUpperCase()))){u=!0,h=-1,a=0;continue}return i(v,t+"",d,n)}(a=(g=r(g,n,10,v.s)).indexOf("."))>-1?g=g.replace(".",""):a=g.length}for(h=0;48===g.charCodeAt(h);h++);for(y=g.length;48===g.charCodeAt(--y););if(g=g.slice(h,++y)){if(y-=h,d&&z.DEBUG&&y>15&&(t>f||t!==s(t)))throw Error(c+v.s*t);if((a=a-h-1)>D)v.c=v.e=null;else if(au){if(--n>0)for(s+=".";n--;s+="0");}else if((n+=o-u)>0)for(o+1==u&&(s+=".");n--;s+="0");return t.s<0&&i?"-"+s:s}function q(t,n){var e,r,i=0;for(_(t[0])&&(t=t[0]),e=new z(t[0]);++i=10;i/=10,r++);return(e=r+e*p-1)>D?t.c=t.e=null:e=10;a/=10,i++);if((o=n-i)<0)o+=p,y=(c=g[f=0])/v[i-(l=n)-1]%10|0;else if((f=u((o+1)/p))>=g.length){if(!r)break t;for(;g.length<=f;g.push(0));c=y=0,i=1,l=(o%=p)-p+1}else{for(c=a=g[f],i=1;a>=10;a/=10,i++);y=(l=(o%=p)-p+i)<0?0:c/v[i-l-1]%10|0}if(r=r||n<0||null!=g[f+1]||(l<0?c:c%v[i-l-1]),r=e<4?(y||r)&&(0==e||e==(t.s<0?3:2)):y>5||5==y&&(4==e||r||6==e&&(o>0?l>0?c/v[i-l]:0:g[f-1])%10&1||e==(t.s<0?8:7)),n<1||!g[0])return g.length=0,r?(g[0]=v[(p-(n-=t.e+1)%p)%p],t.e=-n||0):g[0]=t.e=0,t;if(0==o?(g.length=f,a=1,f--):(g.length=f+1,a=v[p-o],g[f]=l>0?s(c/v[i-l]%v[l])*a:0),r)for(;;){if(0==f){for(o=1,l=g[0];l>=10;l/=10,o++);for(l=g[0]+=a,a=1;l>=10;l/=10,a++);o!=a&&(t.e++,g[0]==h&&(g[0]=1));break}if(g[f]+=a,g[f]!=h)break;g[f--]=0,a=1}for(o=g.length;0===g[--o];g.pop());}t.e>D?t.c=t.e=null:t.e>>11))>=9e15?(e=crypto.getRandomValues(new Uint32Array(2)),n[c]=e[0],n[c+1]=e[1]):(h.push(l%1e14),c+=2);c=i/2}else{if(!crypto.randomBytes)throw L=!1,Error(a+"crypto unavailable");for(n=crypto.randomBytes(i*=7);c=9e15?crypto.randomBytes(7).copy(n,c):(h.push(l%1e14),c+=7);c=i/7}if(!L)for(;c=10;l/=10,c++);ce-1&&(null==l[i+1]&&(l[i+1]=0),l[i+1]+=l[i]/e|0,l[i]%=e)}return l.reverse()}return function(n,r,i,o,l){var u,s,a,c,h,p,f,d,y=n.indexOf("."),g=M,m=N;for(y>=0&&(c=F,F=0,n=n.replace(".",""),p=(d=new z(r)).pow(n.length-y),F=c,d.c=t(C(v(p.c),p.e,"0"),10,i,"0123456789"),d.e=d.c.length),a=c=(f=t(n,r,i,l?(u=B,"0123456789"):(u="0123456789",B))).length;0==f[--c];f.pop());if(!f[0])return u.charAt(0);if(y<0?--a:(p.c=f,p.e=a,p.s=o,f=(p=e(p,d,g,m,i)).c,h=p.r,a=p.e),y=f[s=a+g+1],c=i/2,h=h||s<0||null!=f[s+1],h=m<4?(null!=y||h)&&(0==m||m==(p.s<0?3:2)):y>c||y==c&&(4==m||h||6==m&&1&f[s-1]||m==(p.s<0?8:7)),s<1||!f[0])n=h?C(u.charAt(1),-g,u.charAt(0)):u.charAt(0);else{if(f.length=s,h)for(--i;++f[--s]>i;)f[s]=0,s||(++a,f=[1].concat(f));for(c=f.length;!f[--c];);for(y=0,n="";y<=c;n+=u.charAt(f[y++]));n=C(n,a,u.charAt(0))}return n}}(),e=function(){function t(t,n,e){var r,i,o,l,u=0,s=t.length,a=n%y,c=n/y|0;for(t=t.slice();s--;)u=((i=a*(o=t[s]%y)+(r=c*o+(l=t[s]/y|0)*a)%y*y+u)/e|0)+(r/y|0)+c*l,t[s]=i%e;return u&&(t=[u].concat(t)),t}function n(t,n,e,r){var i,o;if(e!=r)o=e>r?1:-1;else for(i=o=0;in[i]?1:-1;break}return o}function e(t,n,e,r){for(var i=0;e--;)t[e]-=i,t[e]=(i=t[e]1;t.splice(0,1));}return function(r,i,o,l,u){var a,c,f,d,y,v,m,b,_,w,x,C,S,O,E,k,T,P=r.s==i.s?1:-1,I=r.c,M=i.c;if(!(I&&I[0]&&M&&M[0]))return new z(r.s&&i.s&&(I?!M||I[0]!=M[0]:M)?I&&0==I[0]||!M?0*P:P/0:NaN);for(_=(b=new z(P)).c=[],P=o+(c=r.e-i.e)+1,u||(u=h,c=g(r.e/p)-g(i.e/p),P=P/p|0),f=0;M[f]==(I[f]||0);f++);if(M[f]>(I[f]||0)&&c--,P<0)_.push(1),d=!0;else{for(O=I.length,k=M.length,f=0,P+=2,(y=s(u/(M[0]+1)))>1&&(M=t(M,y,u),I=t(I,y,u),k=M.length,O=I.length),S=k,x=(w=I.slice(0,k)).length;x=u/2&&E++;do{if(y=0,(a=n(M,w,k,x))<0){if(C=w[0],k!=x&&(C=C*u+(w[1]||0)),(y=s(C/E))>1)for(y>=u&&(y=u-1),m=(v=t(M,y,u)).length,x=w.length;1==n(v,w,m,x);)y--,e(v,k=10;P/=10,f++);G(b,o+(b.e=f+c*p-1)+1,l,d)}else b.e=c,b.r=+d;return b}}(),S=/^(-?)0([xbo])(?=\w[\w.]*$)/i,O=/^([^.]+)\.$/,E=/^\.([^.]+)$/,k=/^-?(Infinity|NaN)$/,T=/^\s*\+(?=[\w.])|^\s+|\s+$/g,i=function(t,n,e,r){var i,o=e?n:n.replace(T,"");if(k.test(o))t.s=isNaN(o)?null:o<0?-1:1,t.c=t.e=null;else{if(!e&&(o=o.replace(S,function(t,n,e){return i="x"==(e=e.toLowerCase())?16:"b"==e?2:8,r&&r!=i?t:n}),r&&(i=r,o=o.replace(O,"$1").replace(E,"0.$1")),n!=o))return new z(o,i);if(z.DEBUG)throw Error(a+"Not a"+(r?" base "+r:"")+" number: "+n);t.c=t.e=t.s=null}},P.absoluteValue=P.abs=function(){var t=new z(this);return t.s<0&&(t.s=1),t},P.comparedTo=function(t,n){return m(this,new z(t,n))},P.decimalPlaces=P.dp=function(t,n){var e,r,i,o=this;if(null!=t)return b(t,0,1e9),null==n?n=N:b(n,0,8),G(new z(o),t+o.e+1,n);if(!(e=o.c))return null;if(r=((i=e.length-1)-g(this.e/p))*p,i=e[i])for(;i%10==0;i/=10,r--);return r<0&&(r=0),r},P.dividedBy=P.div=function(t,n){return e(this,new z(t,n),M,N)},P.dividedToIntegerBy=P.idiv=function(t,n){return e(this,new z(t,n),0,1)},P.exponentiatedBy=P.pow=function(t,n){var e,r,i,o,l,c,h,f=this;if((t=new z(t)).c&&!t.isInteger())throw Error(a+"Exponent not an integer: "+t);if(null!=n&&(n=new z(n)),o=t.e>14,!f.c||!f.c[0]||1==f.c[0]&&!f.e&&1==f.c.length||!t.c||!t.c[0])return h=new z(Math.pow(+f.valueOf(),o?2-w(t):+t)),n?h.mod(n):h;if(l=t.s<0,n){if(n.c?!n.c[0]:!n.s)return new z(NaN);(r=!l&&f.isInteger()&&n.isInteger())&&(f=f.mod(n))}else{if(t.e>9&&(f.e>0||f.e<-1||(0==f.e?f.c[0]>1||o&&f.c[1]>=24e7:f.c[0]<8e13||o&&f.c[0]<=9999975e7)))return i=f.s<0&&w(t)?-0:0,f.e>-1&&(i=1/i),new z(l?1/i:i);F&&(i=u(F/p+2))}for(o?(e=new z(.5),c=w(t)):c=t%2,l&&(t.s=1),h=new z(I);;){if(c){if(!(h=h.times(f)).c)break;i?h.c.length>i&&(h.c.length=i):r&&(h=h.mod(n))}if(o){if(G(t=t.times(e),t.e+1,1),!t.c[0])break;o=t.e>14,c=w(t)}else{if(!(t=s(t/2)))break;c=t%2}f=f.times(f),i?f.c&&f.c.length>i&&(f.c.length=i):r&&(f=f.mod(n))}return r?h:(l&&(h=I.div(h)),n?h.mod(n):i?G(h,F,N,void 0):h)},P.integerValue=function(t){var n=new z(this);return null==t?t=N:b(t,0,8),G(n,n.e+1,t)},P.isEqualTo=P.eq=function(t,n){return 0===m(this,new z(t,n))},P.isFinite=function(){return!!this.c},P.isGreaterThan=P.gt=function(t,n){return m(this,new z(t,n))>0},P.isGreaterThanOrEqualTo=P.gte=function(t,n){return 1===(n=m(this,new z(t,n)))||0===n},P.isInteger=function(){return!!this.c&&g(this.e/p)>this.c.length-2},P.isLessThan=P.lt=function(t,n){return m(this,new z(t,n))<0},P.isLessThanOrEqualTo=P.lte=function(t,n){return-1===(n=m(this,new z(t,n)))||0===n},P.isNaN=function(){return!this.s},P.isNegative=function(){return this.s<0},P.isPositive=function(){return this.s>0},P.isZero=function(){return!!this.c&&0==this.c[0]},P.minus=function(t,n){var e,r,i,o,l=this,u=l.s;if(n=(t=new z(t,n)).s,!u||!n)return new z(NaN);if(u!=n)return t.s=-n,l.plus(t);var s=l.e/p,a=t.e/p,c=l.c,f=t.c;if(!s||!a){if(!c||!f)return c?(t.s=-n,t):new z(f?l:NaN);if(!c[0]||!f[0])return f[0]?(t.s=-n,t):new z(c[0]?l:3==N?-0:0)}if(s=g(s),a=g(a),c=c.slice(),u=s-a){for((o=u<0)?(u=-u,i=c):(a=s,i=f),i.reverse(),n=u;n--;i.push(0));i.reverse()}else for(r=(o=(u=c.length)<(n=f.length))?u:n,u=n=0;n0)for(;n--;c[e++]=0);for(n=h-1;r>u;){if(c[--r]=0;){for(e=0,d=C[i]%_,v=C[i]/_|0,o=i+(l=s);o>i;)e=((a=d*(a=x[--l]%_)+(u=v*a+(c=x[l]/_|0)*d)%_*_+m[o]+e)/b|0)+(u/_|0)+v*c,m[o--]=a%b;m[o]=e}return e?++r:m.splice(0,1),K(t,m,r)},P.negated=function(){var t=new z(this);return t.s=-t.s||null,t},P.plus=function(t,n){var e,r=this,i=r.s;if(n=(t=new z(t,n)).s,!i||!n)return new z(NaN);if(i!=n)return t.s=-n,r.minus(t);var o=r.e/p,l=t.e/p,u=r.c,s=t.c;if(!o||!l){if(!u||!s)return new z(i/0);if(!u[0]||!s[0])return s[0]?t:new z(u[0]?r:0*i)}if(o=g(o),l=g(l),u=u.slice(),i=o-l){for(i>0?(l=o,e=s):(i=-i,e=u),e.reverse();i--;e.push(0));e.reverse()}for((i=u.length)-(n=s.length)<0&&(e=s,s=u,u=e,n=i),i=0;n;)i=(u[--n]=u[n]+s[n]+i)/h|0,u[n]=h===u[n]?0:u[n]%h;return i&&(u=[i].concat(u),++l),K(t,u,l)},P.precision=P.sd=function(t,n){var e,r,i,o=this;if(null!=t&&t!==!!t)return b(t,1,1e9),null==n?n=N:b(n,0,8),G(new z(o),t,n);if(!(e=o.c))return null;if(r=(i=e.length-1)*p+1,i=e[i]){for(;i%10==0;i/=10,r--);for(i=e[0];i>=10;i/=10,r++);}return t&&o.e+1>r&&(r=o.e+1),r},P.shiftedBy=function(t){return b(t,-f,f),this.times("1e"+t)},P.squareRoot=P.sqrt=function(){var t,n,r,i,o,l=this,u=l.c,s=l.s,a=l.e,c=M+4,h=new z("0.5");if(1!==s||!u||!u[0])return new z(!s||s<0&&(!u||u[0])?NaN:u?l:1/0);if(0==(s=Math.sqrt(+l))||s==1/0?(((n=v(u)).length+a)%2==0&&(n+="0"),s=Math.sqrt(n),a=g((a+1)/2)-(a<0||a%2),r=new z(n=s==1/0?"1e"+a:(n=s.toExponential()).slice(0,n.indexOf("e")+1)+a)):r=new z(s+""),r.c[0])for((s=(a=r.e)+c)<3&&(s=0);;)if(r=h.times((o=r).plus(e(l,o,c,1))),v(o.c).slice(0,s)===(n=v(r.c)).slice(0,s)){if(r.e0&&p>0){for(s=h.substr(0,r=p%o||o);r0&&(s+=u+h.slice(r)),c&&(s="-"+s)}e=a?s+U.decimalSeparator+((l=+U.fractionGroupSize)?a.replace(new RegExp("\\d{"+l+"}\\B","g"),"$&"+U.fractionGroupSeparator):a):s}return e},P.toFraction=function(t){var n,r,i,o,l,u,s,c,h,f,y,g,m=this,b=m.c;if(null!=t&&(!(c=new z(t)).isInteger()&&(c.c||1!==c.s)||c.lt(I)))throw Error(a+"Argument "+(c.isInteger()?"out of range: ":"not an integer: ")+t);if(!b)return m.toString();for(r=new z(I),f=i=new z(I),o=h=new z(I),g=v(b),u=r.e=g.length-m.e-1,r.c[0]=d[(s=u%p)<0?p+s:s],t=!t||c.comparedTo(r)>0?u>0?r:f:c,s=D,D=1/0,c=new z(g),h.c[0]=0;y=e(c,r,0,1),1!=(l=i.plus(y.times(o))).comparedTo(t);)i=o,o=l,f=h.plus(y.times(l=f)),h=l,r=c.minus(y.times(l=r)),c=l;return l=e(t.minus(i),o,0,1),h=h.plus(l.times(f)),i=i.plus(l.times(o)),h.s=f.s=m.s,n=e(f,o,u*=2,N).minus(m).abs().comparedTo(e(h,i,u,N).minus(m).abs())<1?[f.toString(),o.toString()]:[h.toString(),i.toString()],D=s,n},P.toNumber=function(){return+this},P.toPrecision=function(t,n){return null!=t&&b(t,1,1e9),H(this,t,n,2)},P.toString=function(t){var n,e=this,i=e.s,o=e.e;return null===o?i?(n="Infinity",i<0&&(n="-"+n)):n="NaN":(n=v(e.c),null==t?n=o<=A||o>=j?x(n,o):C(n,o,"0"):(b(t,2,B.length,"Base"),n=r(C(n,o,"0"),10,t,i,!0)),i<0&&e.c[0]&&(n="-"+n)),n},P.valueOf=P.toJSON=function(){var t,n=this,e=n.e;return null===e?n.toString():(t=v(n.c),t=e<=A||e>=j?x(t,e):C(t,e,"0"),n.s<0?"-"+t:t)},P._isBigNumber=!0,null!=n&&z.set(n),z}()).default=o.BigNumber=o,void 0===(r=(function(){return o}).call(n,e,n,t))||(t.exports=r)}()},mrSG:function(t,n,e){"use strict";e.r(n),e.d(n,"__extends",function(){return i}),e.d(n,"__assign",function(){return o}),e.d(n,"__rest",function(){return l}),e.d(n,"__decorate",function(){return u}),e.d(n,"__param",function(){return s}),e.d(n,"__metadata",function(){return a}),e.d(n,"__awaiter",function(){return c}),e.d(n,"__generator",function(){return h}),e.d(n,"__exportStar",function(){return p}),e.d(n,"__values",function(){return f}),e.d(n,"__read",function(){return d}),e.d(n,"__spread",function(){return y}),e.d(n,"__await",function(){return g}),e.d(n,"__asyncGenerator",function(){return v}),e.d(n,"__asyncDelegator",function(){return m}),e.d(n,"__asyncValues",function(){return b}),e.d(n,"__makeTemplateObject",function(){return _}),e.d(n,"__importStar",function(){return w}),e.d(n,"__importDefault",function(){return x});var r=function(t,n){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)n.hasOwnProperty(e)&&(t[e]=n[e])})(t,n)};function i(t,n){function e(){this.constructor=t}r(t,n),t.prototype=null===n?Object.create(n):(e.prototype=n.prototype,new e)}var o=function(){return(o=Object.assign||function(t){for(var n,e=1,r=arguments.length;e=0;u--)(i=t[u])&&(l=(o<3?i(l):o>3?i(n,e,l):i(n,e))||l);return o>3&&l&&Object.defineProperty(n,e,l),l}function s(t,n){return function(e,r){n(e,r,t)}}function a(t,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,n)}function c(t,n,e,r){return new(e||(e=Promise))(function(i,o){function l(t){try{s(r.next(t))}catch(t){o(t)}}function u(t){try{s(r.throw(t))}catch(t){o(t)}}function s(t){t.done?i(t.value):new e(function(n){n(t.value)}).then(l,u)}s((r=r.apply(t,n||[])).next())})}function h(t,n){var e,r,i,o,l={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function u(o){return function(u){return function(o){if(e)throw new TypeError("Generator is already executing.");for(;l;)try{if(e=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return l.label++,{value:o[1],done:!1};case 5:l.label++,r=o[1],o=[0];continue;case 7:o=l.ops.pop(),l.trys.pop();continue;default:if(!(i=(i=l.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){l=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]=t.length&&(t=void 0),{value:t&&t[e++],done:!t}}}}function d(t,n){var e="function"==typeof Symbol&&t[Symbol.iterator];if(!e)return t;var r,i,o=e.call(t),l=[];try{for(;(void 0===n||n-- >0)&&!(r=o.next()).done;)l.push(r.value)}catch(t){i={error:t}}finally{try{r&&!r.done&&(e=o.return)&&e.call(o)}finally{if(i)throw i.error}}return l}function y(){for(var t=[],n=0;n1||u(t,n)})})}function u(t,n){try{(e=i[t](n)).value instanceof g?Promise.resolve(e.value.v).then(s,a):c(o[0][2],e)}catch(t){c(o[0][3],t)}var e}function s(t){u("next",t)}function a(t){u("throw",t)}function c(t,n){t(n),o.shift(),o.length&&u(o[0][0],o[0][1])}}function m(t){var n,e;return n={},r("next"),r("throw",function(t){throw t}),r("return"),n[Symbol.iterator]=function(){return this},n;function r(r,i){n[r]=t[r]?function(n){return(e=!e)?{value:g(t[r](n)),done:"return"===r}:i?i(n):n}:i}}function b(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,e=t[Symbol.asyncIterator];return e?e.call(t):(t=f(t),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(e){n[e]=t[e]&&function(n){return new Promise(function(r,i){!function(t,n,e,r){Promise.resolve(r).then(function(n){t({value:n,done:e})},n)}(r,i,(n=t[e](n)).done,n.value)})}}}function _(t,n){return Object.defineProperty?Object.defineProperty(t,"raw",{value:n}):t.raw=n,t}function w(t){if(t&&t.__esModule)return t;var n={};if(null!=t)for(var e in t)Object.hasOwnProperty.call(t,e)&&(n[e]=t[e]);return n.default=t,n}function x(t){return t&&t.__esModule?t:{default:t}}},zUnb:function(t,n,e){"use strict";e.r(n);var r={};e.d(r,"audit",function(){return im}),e.d(r,"auditTime",function(){return um}),e.d(r,"buffer",function(){return wg}),e.d(r,"bufferCount",function(){return Sg}),e.d(r,"bufferTime",function(){return Tg}),e.d(r,"bufferToggle",function(){return jg}),e.d(r,"bufferWhen",function(){return Lg}),e.d(r,"catchError",function(){return Hu}),e.d(r,"combineAll",function(){return Ug}),e.d(r,"combineLatest",function(){return Sy}),e.d(r,"concat",function(){return Bg}),e.d(r,"concatAll",function(){return Wu}),e.d(r,"concatMap",function(){return wu}),e.d(r,"concatMapTo",function(){return zg}),e.d(r,"count",function(){return Hg}),e.d(r,"debounce",function(){return $g}),e.d(r,"debounceTime",function(){return Xg}),e.d(r,"defaultIfEmpty",function(){return vs}),e.d(r,"delay",function(){return ev}),e.d(r,"delayWhen",function(){return lv}),e.d(r,"dematerialize",function(){return Gg}),e.d(r,"distinct",function(){return pv}),e.d(r,"distinctUntilChanged",function(){return yv}),e.d(r,"distinctUntilKeyChanged",function(){return mv}),e.d(r,"elementAt",function(){return Nv}),e.d(r,"every",function(){return ns}),e.d(r,"exhaust",function(){return Cv}),e.d(r,"exhaustMap",function(){return Ev}),e.d(r,"expand",function(){return Pv}),e.d(r,"filter",function(){return Ja}),e.d(r,"finalize",function(){return Rv}),e.d(r,"find",function(){return Fv}),e.d(r,"findIndex",function(){return zv}),e.d(r,"first",function(){return Zu}),e.d(r,"groupBy",function(){return Gv}),e.d(r,"ignoreElements",function(){return Xv}),e.d(r,"isEmpty",function(){return nm}),e.d(r,"last",function(){return os}),e.d(r,"map",function(){return Cu}),e.d(r,"mapTo",function(){return am}),e.d(r,"materialize",function(){return pm}),e.d(r,"max",function(){return ym}),e.d(r,"merge",function(){return vf}),e.d(r,"mergeAll",function(){return H}),e.d(r,"mergeMap",function(){return F}),e.d(r,"flatMap",function(){return F}),e.d(r,"mergeMapTo",function(){return gm}),e.d(r,"mergeScan",function(){return _m}),e.d(r,"min",function(){return Cm}),e.d(r,"multicast",function(){return et}),e.d(r,"observeOn",function(){return Lu}),e.d(r,"onErrorResumeNext",function(){return By}),e.d(r,"pairwise",function(){return Sm}),e.d(r,"partition",function(){return km}),e.d(r,"pluck",function(){return Tm}),e.d(r,"publish",function(){return Pm}),e.d(r,"publishBehavior",function(){return Im}),e.d(r,"publishLast",function(){return Nm}),e.d(r,"publishReplay",function(){return Mm}),e.d(r,"race",function(){return Am}),e.d(r,"reduce",function(){return _s}),e.d(r,"repeat",function(){return jm}),e.d(r,"repeatWhen",function(){return Lm}),e.d(r,"retry",function(){return Um}),e.d(r,"retryWhen",function(){return Hm}),e.d(r,"refCount",function(){return Z}),e.d(r,"sample",function(){return Gm}),e.d(r,"sampleTime",function(){return $m}),e.d(r,"scan",function(){return cs}),e.d(r,"sequenceEqual",function(){return Jm}),e.d(r,"share",function(){return ot}),e.d(r,"shareReplay",function(){return rb}),e.d(r,"single",function(){return ib}),e.d(r,"skip",function(){return ub}),e.d(r,"skipLast",function(){return cb}),e.d(r,"skipUntil",function(){return fb}),e.d(r,"skipWhile",function(){return gb}),e.d(r,"startWith",function(){return bb}),e.d(r,"switchAll",function(){return Ob}),e.d(r,"switchMap",function(){return mf}),e.d(r,"switchMapTo",function(){return kb}),e.d(r,"take",function(){return Cf}),e.d(r,"takeLast",function(){return ds}),e.d(r,"takeUntil",function(){return Ib}),e.d(r,"takeWhile",function(){return Ab}),e.d(r,"tap",function(){return bv}),e.d(r,"throttle",function(){return Lb}),e.d(r,"throttleTime",function(){return Ub}),e.d(r,"timeInterval",function(){return qb}),e.d(r,"timeout",function(){return Qb}),e.d(r,"timeoutWith",function(){return Yb}),e.d(r,"timestamp",function(){return t_}),e.d(r,"toArray",function(){return xf}),e.d(r,"window",function(){return e_}),e.d(r,"windowCount",function(){return o_}),e.d(r,"windowTime",function(){return s_}),e.d(r,"windowToggle",function(){return y_}),e.d(r,"windowWhen",function(){return m_}),e.d(r,"withLatestFrom",function(){return w_}),e.d(r,"zip",function(){return $y}),e.d(r,"zipAll",function(){return S_});var i=e("mrSG"),o="undefined"!=typeof window&&window,l="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,u="undefined"!=typeof global&&global,s=o||u||l;function a(t){return"function"==typeof t}var c=Array.isArray||function(t){return t&&"number"==typeof t.length};function h(t){return null!=t&&"object"==typeof t}var p,f={e:{}};function d(){try{return p.apply(this,arguments)}catch(t){return f.e=t,f}}function y(t){return p=t,d}var g=function(t){function n(n){t.call(this),this.errors=n;var e=Error.call(this,n?n.length+" errors occurred during unsubscription:\n "+n.map(function(t,n){return n+1+") "+t.toString()}).join("\n "):"");this.name=e.name="UnsubscriptionError",this.stack=e.stack,this.message=e.message}return Object(i.__extends)(n,t),n}(Error),v=function(){function t(t){this.closed=!1,this._parent=null,this._parents=null,this._subscriptions=null,t&&(this._unsubscribe=t)}var n;return t.prototype.unsubscribe=function(){var t,n=!1;if(!this.closed){var e=this._parent,r=this._parents,i=this._unsubscribe,o=this._subscriptions;this.closed=!0,this._parent=null,this._parents=null,this._subscriptions=null;for(var l=-1,u=r?r.length:0;e;)e.remove(this),e=++l1?new n(t,r):1===i?new P(t[0],r):new I(r)},n.dispatch=function(t){var n=t.array,e=t.index,r=t.subscriber;e>=t.count?r.complete():(r.next(n[e]),r.closed||(t.index=e+1,this.schedule(t)))},n.prototype._subscribe=function(t){var e=this.array,r=e.length,i=this.scheduler;if(i)return i.schedule(n.dispatch,0,{array:e,index:0,count:r,subscriber:t});for(var o=0;o0?this._next(n.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},n}(V);function z(t){return t}function H(t){return void 0===t&&(t=Number.POSITIVE_INFINITY),F(z,null,t)}function q(){for(var t=[],n=0;n1&&"number"==typeof t[t.length-1]&&(e=t.pop())):"number"==typeof i&&(e=t.pop()),null===r&&1===t.length&&t[0]instanceof T?t[0]:H(e)(new N(t,r))}var K=function(t){function n(){var n=t.call(this,"object unsubscribed");this.name=n.name="ObjectUnsubscribedError",this.stack=n.stack,this.message=n.message}return Object(i.__extends)(n,t),n}(Error),G=function(t){function n(n,e){t.call(this),this.subject=n,this.subscriber=e,this.closed=!1}return Object(i.__extends)(n,t),n.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var t=this.subject,n=t.observers;if(this.subject=null,n&&0!==n.length&&!t.isStopped&&!t.closed){var e=n.indexOf(this.subscriber);-1!==e&&n.splice(e,1)}}},n}(v),W=function(t){function n(n){t.call(this,n),this.destination=n}return Object(i.__extends)(n,t),n}(x),Q=function(t){function n(){t.call(this),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}return Object(i.__extends)(n,t),n.prototype[w]=function(){return new W(this)},n.prototype.lift=function(t){var n=new $(this,this);return n.operator=t,n},n.prototype.next=function(t){if(this.closed)throw new K;if(!this.isStopped)for(var n=this.observers,e=n.length,r=n.slice(),i=0;i1)this.connection=null;else{var e=this.connection,r=t._connection;this.connection=null,!r||e&&r!==e||r.unsubscribe()}}else this.connection=null},n}(x),J=function(t){function n(n,e){t.call(this),this.source=n,this.subjectFactory=e,this._refCount=0,this._isComplete=!1}return Object(i.__extends)(n,t),n.prototype._subscribe=function(t){return this.getSubject().subscribe(t)},n.prototype.getSubject=function(){var t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject},n.prototype.connect=function(){var t=this._connection;return t||(this._isComplete=!1,(t=this._connection=new v).add(this.source.subscribe(new nt(this.getSubject(),this))),t.closed?(this._connection=null,t=v.EMPTY):this._connection=t),t},n.prototype.refCount=function(){return Z()(this)},n}(T).prototype,tt={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:J._subscribe},_isComplete:{value:J._isComplete,writable:!0},getSubject:{value:J.getSubject},connect:{value:J.connect},refCount:{value:J.refCount}},nt=function(t){function n(n,e){t.call(this,n),this.connectable=e}return Object(i.__extends)(n,t),n.prototype._error=function(n){this._unsubscribe(),t.prototype._error.call(this,n)},n.prototype._complete=function(){this.connectable._isComplete=!0,this._unsubscribe(),t.prototype._complete.call(this)},n.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var n=t._connection;t._refCount=0,t._subject=null,t._connection=null,n&&n.unsubscribe()}},n}(W);function et(t,n){return function(e){var r;if(r="function"==typeof t?t:function(){return t},"function"==typeof n)return e.lift(new rt(r,n));var i=Object.create(e,tt);return i.source=e,i.subjectFactory=r,i}}var rt=function(){function t(t,n){this.subjectFactory=t,this.selector=n}return t.prototype.call=function(t,n){var e=this.selector,r=this.subjectFactory(),i=e(r).subscribe(t);return i.add(n.subscribe(r)),i},t}();function it(){return new Q}function ot(){return function(t){return Z()(et(it)(t))}}function lt(){return ot()(this)}var ut=function(){function t(t){this._desc=t,this.ngMetadataName="InjectionToken"}return t.prototype.toString=function(){return"InjectionToken "+this._desc},t}(),st="__annotations__",at="__paramaters__",ct="__prop__metadata__";function ht(t,n,e,r){var i=pt(n);function o(t){if(this instanceof o)return i.call(this,t),this;var n=new o(t),e=function(t){return(t.hasOwnProperty(st)?t[st]:Object.defineProperty(t,st,{value:[]})[st]).push(n),t};return r&&r(e),e}return e&&(o.prototype=Object.create(e.prototype)),o.prototype.ngMetadataName=t,o.annotationCls=o,o}function pt(t){return function(){for(var n=[],e=0;e ");else if("object"==typeof n){var i=[];for(var o in n)if(n.hasOwnProperty(o)){var l=n[o];i.push(o+":"+("string"==typeof l?JSON.stringify(l):jt(l)))}r="{"+i.join(", ")+"}"}return"StaticInjectorError"+(e?"("+e+")":"")+"["+r+"]: "+t.replace(Qt,"\n ")}function Jt(t,n){return new Error(Xt(t,n))}var tn="ngDebugContext",nn="ngOriginalError",en="ngErrorLogger";function rn(t){return t[tn]}function on(t){return t[nn]}function ln(t){for(var n=[],e=1;e0)t._bootstrapComponents.forEach(function(t){return n.bootstrap(t)});else{if(!t.instance.ngDoBootstrap)throw new Error("The module "+jt(t.instance.constructor)+' was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.');t.instance.ngDoBootstrap(n)}this._modules.push(t)},t.prototype.onDestroy=function(t){this._destroyListeners.push(t)},Object.defineProperty(t.prototype,"injector",{get:function(){return this._injector},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(function(t){return t.destroy()}),this._destroyListeners.forEach(function(t){return t()}),this._destroyed=!0},Object.defineProperty(t.prototype,"destroyed",{get:function(){return this._destroyed},enumerable:!0,configurable:!0}),t}();function re(t,n){return Array.isArray(n)?n.reduce(re,t):Object(i.__assign)({},t,n)}var ie=function(){function t(t,n,e,r,i,o){var l=this;this._zone=t,this._console=n,this._injector=e,this._exceptionHandler=r,this._componentFactoryResolver=i,this._initStatus=o,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=Xn(),this._zone.onMicrotaskEmpty.subscribe({next:function(){l._zone.run(function(){l.tick()})}});var u=new T(function(t){l._stable=l._zone.isStable&&!l._zone.hasPendingMacrotasks&&!l._zone.hasPendingMicrotasks,l._zone.runOutsideAngular(function(){t.next(l._stable),t.complete()})}),s=new T(function(t){var n;l._zone.runOutsideAngular(function(){n=l._zone.onStable.subscribe(function(){Vn.assertNotInAngularZone(),Nt(function(){l._stable||l._zone.hasPendingMacrotasks||l._zone.hasPendingMicrotasks||(l._stable=!0,t.next(!0))})})});var e=l._zone.onUnstable.subscribe(function(){Vn.assertInAngularZone(),l._stable&&(l._stable=!1,l._zone.runOutsideAngular(function(){t.next(!1)}))});return function(){n.unsubscribe(),e.unsubscribe()}});this.isStable=q(u,lt.call(s))}return t.prototype.bootstrap=function(t,n){var e,r=this;if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");e=t instanceof xn?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(e.componentType);var i=e instanceof In?null:this._injector.get(Mn),o=e.create(Ut.NULL,[],n||e.selector,i);o.onDestroy(function(){r._unloadComponent(o)});var l=o.injector.get(Gn,null);return l&&o.injector.get(Wn).registerApplication(o.location.nativeElement,l),this._loadComponent(o),Xn()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),o},t.prototype.tick=function(){var n=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");var e=t._tickScope();try{this._runningTick=!0,this._views.forEach(function(t){return t.detectChanges()}),this._enforceNoNewChanges&&this._views.forEach(function(t){return t.checkNoChanges()})}catch(t){this._zone.runOutsideAngular(function(){return n._exceptionHandler.handleError(t)})}finally{this._runningTick=!1,Dn(e)}},t.prototype.attachView=function(t){var n=t;this._views.push(n),n.attachToAppRef(this)},t.prototype.detachView=function(t){var n=t;oe(this._views,n),n.detachFromAppRef()},t.prototype._loadComponent=function(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(vn,[]).concat(this._bootstrapListeners).forEach(function(n){return n(t)})},t.prototype._unloadComponent=function(t){this.detachView(t.hostView),oe(this.components,t)},t.prototype.ngOnDestroy=function(){this._views.slice().forEach(function(t){return t.destroy()})},Object.defineProperty(t.prototype,"viewCount",{get:function(){return this._views.length},enumerable:!0,configurable:!0}),t._tickScope=Rn("ApplicationRef#tick()"),t}();function oe(t,n){var e=t.indexOf(n);e>-1&&t.splice(e,1)}var le=function(){},ue=function(){var t={Important:1,DashCase:2};return t[t.Important]="Important",t[t.DashCase]="DashCase",t}(),se=function(){},ae=function(t){this.nativeElement=t},ce=function(){},he=function(){function t(){this.dirty=!0,this._results=[],this.changes=new Ln,this.length=0}return t.prototype.map=function(t){return this._results.map(t)},t.prototype.filter=function(t){return this._results.filter(t)},t.prototype.find=function(t){return this._results.find(t)},t.prototype.reduce=function(t,n){return this._results.reduce(t,n)},t.prototype.forEach=function(t){this._results.forEach(t)},t.prototype.some=function(t){return this._results.some(t)},t.prototype.toArray=function(){return this._results.slice()},t.prototype[Mt()]=function(){return this._results[Mt()]()},t.prototype.toString=function(){return this._results.toString()},t.prototype.reset=function(t){this._results=function t(n){return n.reduce(function(n,e){var r=Array.isArray(e)?t(e):e;return n.concat(r)},[])}(t),this.dirty=!1,this.length=this._results.length,this.last=this._results[this.length-1],this.first=this._results[0]},t.prototype.notifyOnChanges=function(){this.changes.emit(this)},t.prototype.setDirty=function(){this.dirty=!0},t.prototype.destroy=function(){this.changes.complete(),this.changes.unsubscribe()},t}(),pe=function(){},fe={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},de=function(){function t(t,n){this._compiler=t,this._config=n||fe}return t.prototype.load=function(t){return this._compiler instanceof _n?this.loadFactory(t):this.loadAndCompile(t)},t.prototype.loadAndCompile=function(t){var n=this,r=t.split("#"),i=r[0],o=r[1];return void 0===o&&(o="default"),e("crnd")(i).then(function(t){return t[o]}).then(function(t){return ye(t,i,o)}).then(function(t){return n._compiler.compileModuleAsync(t)})},t.prototype.loadFactory=function(t){var n=t.split("#"),r=n[0],i=n[1],o="NgFactory";return void 0===i&&(i="default",o=""),e("crnd")(this._config.factoryPathPrefix+r+this._config.factoryPathSuffix).then(function(t){return t[i+o]}).then(function(t){return ye(t,r,i)})},t}();function ye(t,n,e){if(!t)throw new Error("Cannot find '"+e+"' in '"+n+"'");return t}var ge=function(){},ve=function(){},me=function(){},be=function(){function t(t,n,e){this._debugContext=e,this.nativeNode=t,n&&n instanceof _e?n.addChild(this):this.parent=null,this.listeners=[]}return Object.defineProperty(t.prototype,"injector",{get:function(){return this._debugContext.injector},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"componentInstance",{get:function(){return this._debugContext.component},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return this._debugContext.context},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"references",{get:function(){return this._debugContext.references},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"providerTokens",{get:function(){return this._debugContext.providerTokens},enumerable:!0,configurable:!0}),t}(),_e=function(t){function n(n,e,r){var i=t.call(this,n,e,r)||this;return i.properties={},i.attributes={},i.classes={},i.styles={},i.childNodes=[],i.nativeElement=n,i}return Object(i.__extends)(n,t),n.prototype.addChild=function(t){t&&(this.childNodes.push(t),t.parent=this)},n.prototype.removeChild=function(t){var n=this.childNodes.indexOf(t);-1!==n&&(t.parent=null,this.childNodes.splice(n,1))},n.prototype.insertChildrenAfter=function(t,n){var e,r=this,i=this.childNodes.indexOf(t);-1!==i&&((e=this.childNodes).splice.apply(e,[i+1,0].concat(n)),n.forEach(function(t){t.parent&&t.parent.removeChild(t),t.parent=r}))},n.prototype.insertBefore=function(t,n){var e=this.childNodes.indexOf(t);-1===e?this.addChild(n):(n.parent&&n.parent.removeChild(n),n.parent=this,this.childNodes.splice(e,0,n))},n.prototype.query=function(t){return this.queryAll(t)[0]||null},n.prototype.queryAll=function(t){var n=[];return function t(n,e,r){n.childNodes.forEach(function(n){n instanceof _e&&(e(n)&&r.push(n),t(n,e,r))})}(this,t,n),n},n.prototype.queryAllNodes=function(t){var n=[];return function t(n,e,r){n instanceof _e&&n.childNodes.forEach(function(n){e(n)&&r.push(n),n instanceof _e&&t(n,e,r)})}(this,t,n),n},Object.defineProperty(n.prototype,"children",{get:function(){return this.childNodes.filter(function(t){return t instanceof n})},enumerable:!0,configurable:!0}),n.prototype.triggerEventHandler=function(t,n){this.listeners.forEach(function(e){e.name==t&&e.callback(n)})},n}(be),we=new Map;function xe(t){return we.get(t)||null}function Ce(t){we.set(t.nativeNode,t)}function Se(t,n){var e=ke(t),r=ke(n);return e&&r?function(t,n,e){for(var r=t[Mt()](),i=n[Mt()]();;){var o=r.next(),l=i.next();if(o.done&&l.done)return!0;if(o.done||l.done)return!1;if(!e(o.value,l.value))return!1}}(t,n,Se):!(e||!t||"object"!=typeof t&&"function"!=typeof t||r||!n||"object"!=typeof n&&"function"!=typeof n)||At(t,n)}var Oe=function(){function t(t){this.wrapped=t}return t.wrap=function(n){return new t(n)},t.unwrap=function(n){return t.isWrapped(n)?n.wrapped:n},t.isWrapped=function(n){return n instanceof t},t}(),Ee=function(){function t(t,n,e){this.previousValue=t,this.currentValue=n,this.firstChange=e}return t.prototype.isFirstChange=function(){return this.firstChange},t}();function ke(t){return!!Te(t)&&(Array.isArray(t)||!(t instanceof Map)&&Mt()in t)}function Te(t){return null!==t&&("function"==typeof t||"object"==typeof t)}var Pe=function(){function t(){}return t.prototype.supports=function(t){return ke(t)},t.prototype.create=function(t){return new Me(t)},t}(),Ie=function(t,n){return n},Me=function(){function t(t){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||Ie}return t.prototype.forEachItem=function(t){var n;for(n=this._itHead;null!==n;n=n._next)t(n)},t.prototype.forEachOperation=function(t){for(var n=this._itHead,e=this._removalsHead,r=0,i=null;n||e;){var o=!e||n&&n.currentIndex=e.length)&&(n=e.length-1),n<0)return null;var r=e[n];return r.viewContainerParent=null,li(e,n),or.dirtyParentQueries(r),ii(r),r}function ri(t,n,e){var r=n?Or(n,n.def.lastRenderRootNode):t.renderElement;jr(e,2,e.renderer.parentNode(r),e.renderer.nextSibling(r),void 0)}function ii(t){jr(t,3,null,null,void 0)}function oi(t,n,e){n>=t.length?t.push(e):t.splice(n,0,e)}function li(t,n){n>=t.length-1?t.pop():t.splice(n,1)}var ui=new Object;function si(t,n,e,r,i,o){return new ai(t,n,e,r,i,o)}var ai=function(t){function n(n,e,r,i,o,l){var u=t.call(this)||this;return u.selector=n,u.componentType=e,u._inputs=i,u._outputs=o,u.ngContentSelectors=l,u.viewDefFactory=r,u}return Object(i.__extends)(n,t),Object.defineProperty(n.prototype,"inputs",{get:function(){var t=[],n=this._inputs;for(var e in n)t.push({propName:e,templateName:n[e]});return t},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"outputs",{get:function(){var t=[];for(var n in this._outputs)t.push({propName:n,templateName:this._outputs[n]});return t},enumerable:!0,configurable:!0}),n.prototype.create=function(t,n,e,r){if(!r)throw new Error("ngModule should be provided");var i=Ar(this.viewDefFactory),o=i.nodes[0].element.componentProvider.nodeIndex,l=or.createRootView(t,n||[],e,i,r,ui),u=er(l,o).instance;return e&&l.renderer.setAttribute(nr(l,0).renderElement,"ng-version",bt.full),new ci(l,new di(l),u)},n}(xn),ci=function(t){function n(n,e,r){var i=t.call(this)||this;return i._view=n,i._viewRef=e,i._component=r,i._elDef=i._view.def.nodes[0],i.hostView=e,i.changeDetectorRef=e,i.instance=r,i}return Object(i.__extends)(n,t),Object.defineProperty(n.prototype,"location",{get:function(){return new ae(nr(this._view,this._elDef.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"injector",{get:function(){return new mi(this._view,this._elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"componentType",{get:function(){return this._component.constructor},enumerable:!0,configurable:!0}),n.prototype.destroy=function(){this._viewRef.destroy()},n.prototype.onDestroy=function(t){this._viewRef.onDestroy(t)},n}(function(){});function hi(t,n,e){return new pi(t,n,e)}var pi=function(){function t(t,n,e){this._view=t,this._elDef=n,this._data=e,this._embeddedViews=[]}return Object.defineProperty(t.prototype,"element",{get:function(){return new ae(this._data.renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"injector",{get:function(){return new mi(this._view,this._elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parentInjector",{get:function(){for(var t=this._view,n=this._elDef.parent;!n&&t;)n=Sr(t),t=t.parent;return t?new mi(t,n):new mi(this._view,null)},enumerable:!0,configurable:!0}),t.prototype.clear=function(){for(var t=this._embeddedViews.length-1;t>=0;t--){var n=ei(this._data,t);or.destroyView(n)}},t.prototype.get=function(t){var n=this._embeddedViews[t];if(n){var e=new di(n);return e.attachToViewContainerRef(this),e}return null},Object.defineProperty(t.prototype,"length",{get:function(){return this._embeddedViews.length},enumerable:!0,configurable:!0}),t.prototype.createEmbeddedView=function(t,n,e){var r=t.createEmbeddedView(n||{});return this.insert(r,e),r},t.prototype.createComponent=function(t,n,e,r,i){var o=e||this.parentInjector;i||t instanceof In||(i=o.get(Mn));var l=t.create(o,r,void 0,i);return this.insert(l.hostView,n),l},t.prototype.insert=function(t,n){if(t.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");var e,r,i,o,l=t;return i=l._view,o=(e=this._data).viewContainer._embeddedViews,null!==(r=n)&&void 0!==r||(r=o.length),i.viewContainerParent=this._view,oi(o,r,i),function(t,n){var e=Cr(n);if(e&&e!==t&&!(16&n.state)){n.state|=16;var r=e.template._projectedViews;r||(r=e.template._projectedViews=[]),r.push(n),function(t,e){if(!(4&e.flags)){n.parent.def.nodeFlags|=4,e.flags|=4;for(var r=e.parent;r;)r.childFlags|=4,r=r.parent}}(0,n.parentNodeDef)}}(e,i),or.dirtyParentQueries(i),ri(e,r>0?o[r-1]:null,i),l.attachToViewContainerRef(this),t},t.prototype.move=function(t,n){if(t.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");var e,r,i,o,l,u=this._embeddedViews.indexOf(t._view);return i=n,l=(o=(e=this._data).viewContainer._embeddedViews)[r=u],li(o,r),null==i&&(i=o.length),oi(o,i,l),or.dirtyParentQueries(l),ii(l),ri(e,i>0?o[i-1]:null,l),t},t.prototype.indexOf=function(t){return this._embeddedViews.indexOf(t._view)},t.prototype.remove=function(t){var n=ei(this._data,t);n&&or.destroyView(n)},t.prototype.detach=function(t){var n=ei(this._data,t);return n?new di(n):null},t}();function fi(t){return new di(t)}var di=function(){function t(t){this._view=t,this._viewContainerRef=null,this._appRef=null}return Object.defineProperty(t.prototype,"rootNodes",{get:function(){return jr(this._view,0,void 0,void 0,t=[]),t;var t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return this._view.context},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"destroyed",{get:function(){return 0!=(128&this._view.state)},enumerable:!0,configurable:!0}),t.prototype.markForCheck=function(){_r(this._view)},t.prototype.detach=function(){this._view.state&=-5},t.prototype.detectChanges=function(){var t=this._view.root.rendererFactory;t.begin&&t.begin();try{or.checkAndUpdateView(this._view)}finally{t.end&&t.end()}},t.prototype.checkNoChanges=function(){or.checkNoChangesView(this._view)},t.prototype.reattach=function(){this._view.state|=4},t.prototype.onDestroy=function(t){this._view.disposables||(this._view.disposables=[]),this._view.disposables.push(t)},t.prototype.destroy=function(){this._appRef?this._appRef.detachView(this):this._viewContainerRef&&this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)),or.destroyView(this._view)},t.prototype.detachFromAppRef=function(){this._appRef=null,ii(this._view),or.dirtyParentQueries(this._view)},t.prototype.attachToAppRef=function(t){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t},t.prototype.attachToViewContainerRef=function(t){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=t},t}();function yi(t,n){return new gi(t,n)}var gi=function(t){function n(n,e){var r=t.call(this)||this;return r._parentView=n,r._def=e,r}return Object(i.__extends)(n,t),n.prototype.createEmbeddedView=function(t){return new di(or.createEmbeddedView(this._parentView,this._def,this._def.element.template,t))},Object.defineProperty(n.prototype,"elementRef",{get:function(){return new ae(nr(this._parentView,this._def.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),n}(ge);function vi(t,n){return new mi(t,n)}var mi=function(){function t(t,n){this.view=t,this.elDef=n}return t.prototype.get=function(t,n){return void 0===n&&(n=Ut.THROW_IF_NOT_FOUND),or.resolveDep(this.view,this.elDef,!!this.elDef&&0!=(33554432&this.elDef.flags),{flags:0,token:t,tokenKey:hr(t)},n)},t}();function bi(t,n){var e=t.def.nodes[n];if(1&e.flags){var r=nr(t,e.nodeIndex);return e.element.template?r.template:r.renderElement}if(2&e.flags)return tr(t,e.nodeIndex).renderText;if(20240&e.flags)return er(t,e.nodeIndex).instance;throw new Error("Illegal state: read nodeValue for node index "+n)}function _i(t){return new wi(t.renderer)}var wi=function(){function t(t){this.delegate=t}return t.prototype.selectRootElement=function(t){return this.delegate.selectRootElement(t)},t.prototype.createElement=function(t,n){var e=Ur(n),r=this.delegate.createElement(e[1],e[0]);return t&&this.delegate.appendChild(t,r),r},t.prototype.createViewRoot=function(t){return t},t.prototype.createTemplateAnchor=function(t){var n=this.delegate.createComment("");return t&&this.delegate.appendChild(t,n),n},t.prototype.createText=function(t,n){var e=this.delegate.createText(n);return t&&this.delegate.appendChild(t,e),e},t.prototype.projectNodes=function(t,n){for(var e=0;e0,n.provider.value,n.provider.deps);if(n.outputs.length)for(var r=0;r0,r=n.provider;switch(201347067&n.flags){case 512:return Ui(t,n.parent,e,r.value,r.deps);case 1024:return function(t,n,e,r,i){var o=i.length;switch(o){case 0:return r();case 1:return r(zi(t,n,e,i[0]));case 2:return r(zi(t,n,e,i[0]),zi(t,n,e,i[1]));case 3:return r(zi(t,n,e,i[0]),zi(t,n,e,i[1]),zi(t,n,e,i[2]));default:for(var l=Array(o),u=0;u0)a=y,lo(y)||(c=y);else for(;a&&d===a.nodeIndex+a.childCount;){var m=a.parent;m&&(m.childFlags|=a.childFlags,m.childMatchedQueries|=a.childMatchedQueries),c=(a=m)&&lo(a)?a.renderParent:a}}return{factory:null,nodeFlags:l,rootNodeFlags:u,nodeMatchedQueries:s,flags:t,nodes:n,updateDirectives:e||ar,updateRenderer:r||ar,handleEvent:function(t,e,r,i){return n[e].element.handleEvent(t,r,i)},bindingCount:i,outputCount:o,lastRenderRootNode:f}}function lo(t){return 0!=(1&t.flags)&&null===t.element.name}function uo(t,n,e){var r=n.element&&n.element.template;if(r){if(!r.lastRenderRootNode)throw new Error("Illegal State: Embedded templates without nodes are not allowed!");if(r.lastRenderRootNode&&16777216&r.lastRenderRootNode.flags)throw new Error("Illegal State: Last root node of a template can't have embedded views, at index "+n.nodeIndex+"!")}if(20224&n.flags&&0==(1&(t?t.flags:0)))throw new Error("Illegal State: StaticProvider/Directive nodes need to be children of elements or anchors, at index "+n.nodeIndex+"!");if(n.query){if(67108864&n.flags&&(!t||0==(16384&t.flags)))throw new Error("Illegal State: Content Query nodes need to be children of directives, at index "+n.nodeIndex+"!");if(134217728&n.flags&&t)throw new Error("Illegal State: View Query nodes have to be top level nodes, at index "+n.nodeIndex+"!")}if(n.childCount){var i=t?t.nodeIndex+t.childCount:e-1;if(n.nodeIndex<=i&&n.nodeIndex+n.childCount>i)throw new Error("Illegal State: childCount of node leads outside of parent, at index "+n.nodeIndex+"!")}}function so(t,n,e,r){var i=ho(t.root,t.renderer,t,n,e);return po(i,t.component,r),fo(i),i}function ao(t,n,e){var r=ho(t,t.renderer,null,null,n);return po(r,e,e),fo(r),r}function co(t,n,e,r){var i,o=n.element.componentRendererType;return i=o?t.root.rendererFactory.createRenderer(r,o):t.root.renderer,ho(t.root,i,t,n.element.componentProvider,e)}function ho(t,n,e,r,i){var o=new Array(i.nodes.length),l=i.outputCount?new Array(i.outputCount):null;return{def:i,parent:e,viewContainerParent:null,parentNodeDef:r,context:null,component:null,nodes:o,state:13,root:t,renderer:n,oldValues:new Array(i.bindingCount),disposables:l,initIndex:-1}}function po(t,n,e){t.component=n,t.context=e}function fo(t){var n;Er(t)&&(n=nr(t.parent,t.parentNodeDef.parent.nodeIndex).renderElement);for(var e=t.def,r=t.nodes,i=0;i0&&$r(t,n,0,e)&&(f=!0),p>1&&$r(t,n,1,r)&&(f=!0),p>2&&$r(t,n,2,i)&&(f=!0),p>3&&$r(t,n,3,o)&&(f=!0),p>4&&$r(t,n,4,l)&&(f=!0),p>5&&$r(t,n,5,u)&&(f=!0),p>6&&$r(t,n,6,s)&&(f=!0),p>7&&$r(t,n,7,a)&&(f=!0),p>8&&$r(t,n,8,c)&&(f=!0),p>9&&$r(t,n,9,h)&&(f=!0),f}(t,n,e,r,i,o,l,u,s,a,c,h);case 2:return function(t,n,e,r,i,o,l,u,s,a,c,h){var p=!1,f=n.bindings,d=f.length;if(d>0&&mr(t,n,0,e)&&(p=!0),d>1&&mr(t,n,1,r)&&(p=!0),d>2&&mr(t,n,2,i)&&(p=!0),d>3&&mr(t,n,3,o)&&(p=!0),d>4&&mr(t,n,4,l)&&(p=!0),d>5&&mr(t,n,5,u)&&(p=!0),d>6&&mr(t,n,6,s)&&(p=!0),d>7&&mr(t,n,7,a)&&(p=!0),d>8&&mr(t,n,8,c)&&(p=!0),d>9&&mr(t,n,9,h)&&(p=!0),p){var y=n.text.prefix;d>0&&(y+=io(e,f[0])),d>1&&(y+=io(r,f[1])),d>2&&(y+=io(i,f[2])),d>3&&(y+=io(o,f[3])),d>4&&(y+=io(l,f[4])),d>5&&(y+=io(u,f[5])),d>6&&(y+=io(s,f[6])),d>7&&(y+=io(a,f[7])),d>8&&(y+=io(c,f[8])),d>9&&(y+=io(h,f[9]));var g=tr(t,n.nodeIndex).renderText;t.renderer.setValue(g,y)}return p}(t,n,e,r,i,o,l,u,s,a,c,h);case 16384:return function(t,n,e,r,i,o,l,u,s,a,c,h){var p=er(t,n.nodeIndex),f=p.instance,d=!1,y=void 0,g=n.bindings.length;return g>0&&vr(t,n,0,e)&&(d=!0,y=qi(t,p,n,0,e,y)),g>1&&vr(t,n,1,r)&&(d=!0,y=qi(t,p,n,1,r,y)),g>2&&vr(t,n,2,i)&&(d=!0,y=qi(t,p,n,2,i,y)),g>3&&vr(t,n,3,o)&&(d=!0,y=qi(t,p,n,3,o,y)),g>4&&vr(t,n,4,l)&&(d=!0,y=qi(t,p,n,4,l,y)),g>5&&vr(t,n,5,u)&&(d=!0,y=qi(t,p,n,5,u,y)),g>6&&vr(t,n,6,s)&&(d=!0,y=qi(t,p,n,6,s,y)),g>7&&vr(t,n,7,a)&&(d=!0,y=qi(t,p,n,7,a,y)),g>8&&vr(t,n,8,c)&&(d=!0,y=qi(t,p,n,8,c,y)),g>9&&vr(t,n,9,h)&&(d=!0,y=qi(t,p,n,9,h,y)),y&&f.ngOnChanges(y),65536&n.flags&&Je(t,256,n.nodeIndex)&&f.ngOnInit(),262144&n.flags&&f.ngDoCheck(),d}(t,n,e,r,i,o,l,u,s,a,c,h);case 32:case 64:case 128:return function(t,n,e,r,i,o,l,u,s,a,c,h){var p=n.bindings,f=!1,d=p.length;if(d>0&&mr(t,n,0,e)&&(f=!0),d>1&&mr(t,n,1,r)&&(f=!0),d>2&&mr(t,n,2,i)&&(f=!0),d>3&&mr(t,n,3,o)&&(f=!0),d>4&&mr(t,n,4,l)&&(f=!0),d>5&&mr(t,n,5,u)&&(f=!0),d>6&&mr(t,n,6,s)&&(f=!0),d>7&&mr(t,n,7,a)&&(f=!0),d>8&&mr(t,n,8,c)&&(f=!0),d>9&&mr(t,n,9,h)&&(f=!0),f){var y=rr(t,n.nodeIndex),g=void 0;switch(201347067&n.flags){case 32:g=new Array(p.length),d>0&&(g[0]=e),d>1&&(g[1]=r),d>2&&(g[2]=i),d>3&&(g[3]=o),d>4&&(g[4]=l),d>5&&(g[5]=u),d>6&&(g[6]=s),d>7&&(g[7]=a),d>8&&(g[8]=c),d>9&&(g[9]=h);break;case 64:g={},d>0&&(g[p[0].name]=e),d>1&&(g[p[1].name]=r),d>2&&(g[p[2].name]=i),d>3&&(g[p[3].name]=o),d>4&&(g[p[4].name]=l),d>5&&(g[p[5].name]=u),d>6&&(g[p[6].name]=s),d>7&&(g[p[7].name]=a),d>8&&(g[p[8].name]=c),d>9&&(g[p[9].name]=h);break;case 128:var v=e;switch(d){case 1:g=v.transform(e);break;case 2:g=v.transform(r);break;case 3:g=v.transform(r,i);break;case 4:g=v.transform(r,i,o);break;case 5:g=v.transform(r,i,o,l);break;case 6:g=v.transform(r,i,o,l,u);break;case 7:g=v.transform(r,i,o,l,u,s);break;case 8:g=v.transform(r,i,o,l,u,s,a);break;case 9:g=v.transform(r,i,o,l,u,s,a,c);break;case 10:g=v.transform(r,i,o,l,u,s,a,c,h)}}y.value=g}return f}(t,n,e,r,i,o,l,u,s,a,c,h);default:throw"unreachable"}}(t,n,r,i,o,l,u,s,a,c,h,p):function(t,n,e){switch(201347067&n.flags){case 1:return function(t,n,e){for(var r=!1,i=0;i0&&br(t,n,0,e),p>1&&br(t,n,1,r),p>2&&br(t,n,2,i),p>3&&br(t,n,3,o),p>4&&br(t,n,4,l),p>5&&br(t,n,5,u),p>6&&br(t,n,6,s),p>7&&br(t,n,7,a),p>8&&br(t,n,8,c),p>9&&br(t,n,9,h)}(t,n,r,i,o,l,u,s,a,c,h,p):function(t,n,e){for(var r=0;r0?n.substring(1):n},n.prototype.prepareExternalUrl=function(t){var n=bl.joinWithSlash(this._baseHref,t);return n.length>0?"#"+n:n},n.prototype.pushState=function(t,n,e,r){var i=this.prepareExternalUrl(e+bl.normalizeQueryParams(r));0==i.length&&(i=this._platformLocation.pathname),this._platformLocation.pushState(t,n,i)},n.prototype.replaceState=function(t,n,e,r){var i=this.prepareExternalUrl(e+bl.normalizeQueryParams(r));0==i.length&&(i=this._platformLocation.pathname),this._platformLocation.replaceState(t,n,i)},n.prototype.forward=function(){this._platformLocation.forward()},n.prototype.back=function(){this._platformLocation.back()},n}(vl),xl=function(t){function n(n,e){var r=t.call(this)||this;if(r._platformLocation=n,null==e&&(e=r._platformLocation.getBaseHrefFromDOM()),null==e)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=e,r}return Object(i.__extends)(n,t),n.prototype.onPopState=function(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)},n.prototype.getBaseHref=function(){return this._baseHref},n.prototype.prepareExternalUrl=function(t){return bl.joinWithSlash(this._baseHref,t)},n.prototype.path=function(t){void 0===t&&(t=!1);var n=this._platformLocation.pathname+bl.normalizeQueryParams(this._platformLocation.search),e=this._platformLocation.hash;return e&&t?""+n+e:n},n.prototype.pushState=function(t,n,e,r){var i=this.prepareExternalUrl(e+bl.normalizeQueryParams(r));this._platformLocation.pushState(t,n,i)},n.prototype.replaceState=function(t,n,e,r){var i=this.prepareExternalUrl(e+bl.normalizeQueryParams(r));this._platformLocation.replaceState(t,n,i)},n.prototype.forward=function(){this._platformLocation.forward()},n.prototype.back=function(){this._platformLocation.back()},n}(vl),Cl=["en",[["a","p"],["AM","PM"]],[["AM","PM"],,],[["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"]],,[["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"]],,[["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}",,"{1} 'at' {0}"],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"$","US Dollar",function(t){var n=Math.floor(Math.abs(t)),e=t.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===e?1:5}],Sl={},Ol=function(){var t={Decimal:0,Percent:1,Currency:2,Scientific:3};return t[t.Decimal]="Decimal",t[t.Percent]="Percent",t[t.Currency]="Currency",t[t.Scientific]="Scientific",t}(),El=function(){var t={Zero:0,One:1,Two:2,Few:3,Many:4,Other:5};return t[t.Zero]="Zero",t[t.One]="One",t[t.Two]="Two",t[t.Few]="Few",t[t.Many]="Many",t[t.Other]="Other",t}(),kl=function(){var t={Format:0,Standalone:1};return t[t.Format]="Format",t[t.Standalone]="Standalone",t}(),Tl=function(){var t={Narrow:0,Abbreviated:1,Wide:2,Short:3};return t[t.Narrow]="Narrow",t[t.Abbreviated]="Abbreviated",t[t.Wide]="Wide",t[t.Short]="Short",t}(),Pl=function(){var t={Short:0,Medium:1,Long:2,Full:3};return t[t.Short]="Short",t[t.Medium]="Medium",t[t.Long]="Long",t[t.Full]="Full",t}(),Il=function(){var t={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};return t[t.Decimal]="Decimal",t[t.Group]="Group",t[t.List]="List",t[t.PercentSign]="PercentSign",t[t.PlusSign]="PlusSign",t[t.MinusSign]="MinusSign",t[t.Exponential]="Exponential",t[t.SuperscriptingExponent]="SuperscriptingExponent",t[t.PerMille]="PerMille",t[t.Infinity]="Infinity",t[t.NaN]="NaN",t[t.TimeSeparator]="TimeSeparator",t[t.CurrencyDecimal]="CurrencyDecimal",t[t.CurrencyGroup]="CurrencyGroup",t}();function Ml(t,n){return Dl(Vl(t)[10],n)}function Nl(t,n){return Dl(Vl(t)[11],n)}function Al(t,n){return Dl(Vl(t)[12],n)}function jl(t,n){var e=Vl(t),r=e[13][n];if(void 0===r){if(n===Il.CurrencyDecimal)return e[13][Il.Decimal];if(n===Il.CurrencyGroup)return e[13][Il.Group]}return r}function Rl(t){if(!t[18])throw new Error('Missing extra locale data for the locale "'+t[0]+'". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.')}function Dl(t,n){for(var e=n;e>-1;e--)if(void 0!==t[e])return t[e];throw new Error("Locale data API: locale data undefined")}function Ll(t){var n=t.split(":");return{hours:+n[0],minutes:+n[1]}}function Vl(t){var n=t.toLowerCase().replace(/_/g,"-"),e=Sl[n];if(e)return e;var r=n.split("-")[0];if(e=Sl[r])return e;if("en"===r)return Cl;throw new Error('Missing locale data for the locale "'+t+'".')}var Fl=new ut("UseV4Plurals"),Ul=function(){},Bl=function(t){function n(n,e){var r=t.call(this)||this;return r.locale=n,r.deprecatedPluralFn=e,r}return Object(i.__extends)(n,t),n.prototype.getPluralCategory=function(t,n){switch(this.deprecatedPluralFn?this.deprecatedPluralFn(n||this.locale,t):function(t){return Vl(t)[17]}(n||this.locale)(t)){case El.Zero:return"zero";case El.One:return"one";case El.Two:return"two";case El.Few:return"few";case El.Many:return"many";default:return"other"}},n}(Ul);function zl(t,n){n=encodeURIComponent(n);for(var e=0,r=t.split(";");e0||u>-e)&&(u+=e),t===Xl.Hours&&0===u&&-12===e&&(u=12),nu(u,n,jl(l,Il.MinusSign),r,i)}}function ru(t,n,e,r){return void 0===e&&(e=kl.Format),void 0===r&&(r=!1),function(i,o){return function(t,n,e,r,i,o){switch(e){case Jl.Months:return function(t,n,e){var r=Vl(t);return Dl(Dl([r[5],r[6]],n),e)}(n,i,r)[t.getMonth()];case Jl.Days:return function(t,n,e){var r=Vl(t);return Dl(Dl([r[3],r[4]],n),e)}(n,i,r)[t.getDay()];case Jl.DayPeriods:var l=t.getHours(),u=t.getMinutes();if(o){var s,a=function(t){var n=Vl(t);return Rl(n),(n[18][2]||[]).map(function(t){return"string"==typeof t?Ll(t):[Ll(t[0]),Ll(t[1])]})}(n),c=function(t,n,e){var r=Vl(t);return Rl(r),Dl(Dl([r[18][0],r[18][1]],n)||[],e)||[]}(n,i,r);if(a.forEach(function(t,n){if(Array.isArray(t)){var e=t[0],r=t[1],i=r.hours;l>=e.hours&&u>=e.minutes&&(l0?Math.floor(i/60):Math.ceil(i/60);switch(t){case Yl.Short:return(i>=0?"+":"")+nu(l,2,o)+nu(Math.abs(i%60),2,o);case Yl.ShortGMT:return"GMT"+(i>=0?"+":"")+nu(l,1,o);case Yl.Long:return"GMT"+(i>=0?"+":"")+nu(l,2,o)+":"+nu(Math.abs(i%60),2,o);case Yl.Extended:return 0===r?"Z":(i>=0?"+":"")+nu(l,2,o)+":"+nu(Math.abs(i%60),2,o);default:throw new Error('Unknown zone width "'+t+'"')}}}var ou=0,lu=4;function uu(t,n){return void 0===n&&(n=!1),function(e,r){var i,o,l,u;if(n){var s=new Date(e.getFullYear(),e.getMonth(),1).getDay()-1,a=e.getDate();i=1+Math.floor((a+s)/7)}else{var c=(l=e.getFullYear(),u=new Date(l,ou,1).getDay(),new Date(l,0,1+(u<=lu?lu:lu+7)-u)),h=(o=e,new Date(o.getFullYear(),o.getMonth(),o.getDate()+(lu-o.getDay()))).getTime()-c.getTime();i=1+Math.round(h/6048e5)}return nu(i,t,jl(r,Il.MinusSign))}}var su={};function au(t,n){t=t.replace(/:/g,"");var e=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(e)?n:e}function cu(t,n){return Error("InvalidPipeArgument: '"+n+"' for pipe '"+jt(t)+"'")}var hu=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,pu=function(){function t(t){this.locale=t}return t.prototype.transform=function(n,e,r,i){if(void 0===e&&(e="mediumDate"),null==n||""===n||n!=n)return null;var o,l;if("string"==typeof n&&(n=n.trim()),fu(n))o=n;else if(isNaN(n-parseFloat(n)))if("string"==typeof n&&/^(\d{4}-\d{1,2}-\d{1,2})$/.test(n)){var u=n.split("-").map(function(t){return+t});o=new Date(u[0],u[1]-1,u[2])}else o="string"==typeof n&&(l=n.match(hu))?function(t){var n=new Date(0),e=0,r=0,i=t[8]?n.setUTCHours:n.setHours;t[9]&&(e=+(t[9]+t[10]),r=+(t[9]+t[11])),(t[8]?n.setUTCFullYear:n.setFullYear).call(n,+t[1],+t[2]-1,+t[3]);var o=+(t[4]||"0")-e,l=+(t[5]||"0")-r,u=+(t[6]||"0"),s=Math.round(1e3*parseFloat("0."+(t[7]||0)));return i.call(n,o,l,u,s),n}(l):new Date(n);else o=new Date(parseFloat(n));if(!fu(o))throw cu(t,n);return function(t,n,e,r){n=function t(n,e){var r=function(t){return Vl(t)[0]}(n);if($l[r]=$l[r]||{},$l[r][e])return $l[r][e];var i="";switch(e){case"shortDate":i=Ml(n,Pl.Short);break;case"mediumDate":i=Ml(n,Pl.Medium);break;case"longDate":i=Ml(n,Pl.Long);break;case"fullDate":i=Ml(n,Pl.Full);break;case"shortTime":i=Nl(n,Pl.Short);break;case"mediumTime":i=Nl(n,Pl.Medium);break;case"longTime":i=Nl(n,Pl.Long);break;case"fullTime":i=Nl(n,Pl.Full);break;case"short":var o=t(n,"shortTime"),l=t(n,"shortDate");i=tu(Al(n,Pl.Short),[o,l]);break;case"medium":var u=t(n,"mediumTime"),s=t(n,"mediumDate");i=tu(Al(n,Pl.Medium),[u,s]);break;case"long":var a=t(n,"longTime"),c=t(n,"longDate");i=tu(Al(n,Pl.Long),[a,c]);break;case"full":var h=t(n,"fullTime"),p=t(n,"fullDate");i=tu(Al(n,Pl.Full),[h,p])}return i&&($l[r][e]=i),i}(e,n)||n;for(var i,o=[];n;){if(!(i=Zl.exec(n))){o.push(n);break}var l=(o=o.concat(i.slice(1))).pop();if(!l)break;n=l}var u=t.getTimezoneOffset();r&&(u=au(r,u),t=function(t,n,e){var r=t.getTimezoneOffset();return function(t,n){return(t=new Date(t.getTime())).setMinutes(t.getMinutes()+n),t}(t,-1*(au(n,r)-r))}(t,r));var s="";return o.forEach(function(n){var r=function(t){if(su[t])return su[t];var n;switch(t){case"G":case"GG":case"GGG":n=ru(Jl.Eras,Tl.Abbreviated);break;case"GGGG":n=ru(Jl.Eras,Tl.Wide);break;case"GGGGG":n=ru(Jl.Eras,Tl.Narrow);break;case"y":n=eu(Xl.FullYear,1,0,!1,!0);break;case"yy":n=eu(Xl.FullYear,2,0,!0,!0);break;case"yyy":n=eu(Xl.FullYear,3,0,!1,!0);break;case"yyyy":n=eu(Xl.FullYear,4,0,!1,!0);break;case"M":case"L":n=eu(Xl.Month,1,1);break;case"MM":case"LL":n=eu(Xl.Month,2,1);break;case"MMM":n=ru(Jl.Months,Tl.Abbreviated);break;case"MMMM":n=ru(Jl.Months,Tl.Wide);break;case"MMMMM":n=ru(Jl.Months,Tl.Narrow);break;case"LLL":n=ru(Jl.Months,Tl.Abbreviated,kl.Standalone);break;case"LLLL":n=ru(Jl.Months,Tl.Wide,kl.Standalone);break;case"LLLLL":n=ru(Jl.Months,Tl.Narrow,kl.Standalone);break;case"w":n=uu(1);break;case"ww":n=uu(2);break;case"W":n=uu(1,!0);break;case"d":n=eu(Xl.Date,1);break;case"dd":n=eu(Xl.Date,2);break;case"E":case"EE":case"EEE":n=ru(Jl.Days,Tl.Abbreviated);break;case"EEEE":n=ru(Jl.Days,Tl.Wide);break;case"EEEEE":n=ru(Jl.Days,Tl.Narrow);break;case"EEEEEE":n=ru(Jl.Days,Tl.Short);break;case"a":case"aa":case"aaa":n=ru(Jl.DayPeriods,Tl.Abbreviated);break;case"aaaa":n=ru(Jl.DayPeriods,Tl.Wide);break;case"aaaaa":n=ru(Jl.DayPeriods,Tl.Narrow);break;case"b":case"bb":case"bbb":n=ru(Jl.DayPeriods,Tl.Abbreviated,kl.Standalone,!0);break;case"bbbb":n=ru(Jl.DayPeriods,Tl.Wide,kl.Standalone,!0);break;case"bbbbb":n=ru(Jl.DayPeriods,Tl.Narrow,kl.Standalone,!0);break;case"B":case"BB":case"BBB":n=ru(Jl.DayPeriods,Tl.Abbreviated,kl.Format,!0);break;case"BBBB":n=ru(Jl.DayPeriods,Tl.Wide,kl.Format,!0);break;case"BBBBB":n=ru(Jl.DayPeriods,Tl.Narrow,kl.Format,!0);break;case"h":n=eu(Xl.Hours,1,-12);break;case"hh":n=eu(Xl.Hours,2,-12);break;case"H":n=eu(Xl.Hours,1);break;case"HH":n=eu(Xl.Hours,2);break;case"m":n=eu(Xl.Minutes,1);break;case"mm":n=eu(Xl.Minutes,2);break;case"s":n=eu(Xl.Seconds,1);break;case"ss":n=eu(Xl.Seconds,2);break;case"S":n=eu(Xl.Milliseconds,1);break;case"SS":n=eu(Xl.Milliseconds,2);break;case"SSS":n=eu(Xl.Milliseconds,3);break;case"Z":case"ZZ":case"ZZZ":n=iu(Yl.Short);break;case"ZZZZZ":n=iu(Yl.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":n=iu(Yl.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":n=iu(Yl.Long);break;default:return null}return su[t]=n,n}(n);s+=r?r(t,e,u):"''"===n?"'":n.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),s}(o,e,i||this.locale,r)},t}();function fu(t){return t instanceof Date&&!isNaN(t.valueOf())}var du=/^(\d+)?\.((\d+)(-(\d+))?)?$/;function yu(t){var n=parseInt(t);if(isNaN(n))throw new Error("Invalid integer literal when parsing "+t);return n}var gu=function(){function t(t){this._locale=t}return t.prototype.transform=function(n,e,r){if(function(t){return null==t||""===t||t!=t}(n))return null;var i=function(t,n,e,r,i){void 0===i&&(i=null);var o,l={str:null},u=function(t,n){return Vl(t)[14][n]}(n,e);if("string"!=typeof t||isNaN(+t-parseFloat(t))){if("number"!=typeof t)return l.error=t+" is not a number",l;o=t}else o=+t;var s=function(t,n){void 0===n&&(n="-");var e={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},r=t.split(";"),i=r[0],o=r[1],l=-1!==i.indexOf(".")?i.split("."):[i.substring(0,i.lastIndexOf("0")+1),i.substring(i.lastIndexOf("0")+1)],u=l[0],s=l[1]||"";e.posPre=u.substr(0,u.indexOf("#"));for(var a=0;a-1&&(l=l.replace(".","")),(r=l.search(/e/i))>0?(e<0&&(e=r),e+=+l.slice(r+1),l=l.substring(0,r)):e<0&&(e=l.length),r=0;"0"===l.charAt(r);r++);if(r===(o=l.length))n=[0],e=1;else{for(o--;"0"===l.charAt(o);)o--;for(e-=r,n=[],i=0;r<=o;r++,i++)n[i]=+l.charAt(r)}return e>22&&(n=n.splice(0,21),u=e-1,e=1),{digits:n,exponent:u,integerLen:e}}(o);e===Ol.Percent&&(h=function(t){if(0===t.digits[0])return t;var n=t.digits.length-t.integerLen;return t.exponent?t.exponent+=2:(0===n?t.digits.push(0,0):1===n&&t.digits.push(0),t.integerLen+=2),t}(h));var p=s.minInt,f=s.minFrac,d=s.maxFrac;if(r){var y=r.match(du);if(null===y)return l.error=r+" is not a valid digit info",l;var g=y[1],v=y[3],m=y[5];null!=g&&(p=yu(g)),null!=v&&(f=yu(v)),null!=m?d=yu(m):null!=v&&f>d&&(d=f)}!function(t,n,e){if(n>e)throw new Error("The minimum number of digits after fraction ("+n+") is higher than the maximum ("+e+").");var r=t.digits,i=r.length-t.integerLen,o=Math.min(Math.max(n,i),e),l=o+t.integerLen,u=r[l];if(l>0){r.splice(Math.max(t.integerLen,l));for(var s=l;s=5)if(l-1<0){for(var c=0;c>l;c--)r.unshift(0),t.integerLen++;r.unshift(1),t.integerLen++}else r[l-1]++;for(;i=p?r.pop():h=!1),n>=10?1:0},0);f&&(r.unshift(f),t.integerLen++)}(h,f,d);var b=h.digits,_=h.integerLen,w=h.exponent,x=[];for(c=b.every(function(t){return!t});_0?x=b.splice(_,b.length):(x=b,b=[0]);var C=[];for(b.length>=s.lgSize&&C.unshift(b.splice(-s.lgSize,b.length).join(""));b.length>s.gSize;)C.unshift(b.splice(-s.gSize,b.length).join(""));b.length&&C.unshift(b.join("")),a=C.join(jl(n,i?Il.CurrencyGroup:Il.Group)),x.length&&(a+=jl(n,i?Il.CurrencyDecimal:Il.Decimal)+x.join("")),w&&(a+=jl(n,Il.Exponential)+"+"+w)}else a=jl(n,Il.Infinity);return a=o<0&&!c?s.negPre+a+s.negSuf:s.posPre+a+s.posSuf,e===Ol.Currency&&null!==i?(l.str=a.replace("\xa4",i).replace("\xa4",""),l):e===Ol.Percent?(l.str=a.replace(new RegExp("%","g"),jl(n,Il.PercentSign)),l):(l.str=a,l)}(n,r=r||this._locale,Ol.Decimal,e),o=i.str,l=i.error;if(l)throw cu(t,l);return o},t}(),vu=function(){},mu=new ut("DocumentToken"),bu=function(t){function n(n){t.call(this),this._value=n}return Object(i.__extends)(n,t),Object.defineProperty(n.prototype,"value",{get:function(){return this.getValue()},enumerable:!0,configurable:!0}),n.prototype._subscribe=function(n){var e=t.prototype._subscribe.call(this,n);return e&&!e.closed&&n.next(this._value),e},n.prototype.getValue=function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new K;return this._value},n.prototype.next=function(n){t.prototype.next.call(this,this._value=n)},n}(Q),_u=N.of;function wu(t,n){return F(t,n,1)}function xu(t,n){return wu(t,n)(this)}function Cu(t,n){return function(e){if("function"!=typeof t)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return e.lift(new Su(t,n))}}var Su=function(){function t(t,n){this.project=t,this.thisArg=n}return t.prototype.call=function(t,n){return n.subscribe(new Ou(t,this.project,this.thisArg))},t}(),Ou=function(t){function n(n,e,r){t.call(this,n),this.project=e,this.count=0,this.thisArg=r||this}return Object(i.__extends)(n,t),n.prototype._next=function(t){var n;try{n=this.project.call(this.thisArg,t,this.count++)}catch(t){return void this.destination.error(t)}this.destination.next(n)},n}(x);function Eu(t,n){return Cu(t,n)(this)}function ku(t,n,e){return void 0===e&&(e=Number.POSITIVE_INFINITY),F(t,n,e)(this)}var Tu=function(t){function n(n,e){t.call(this),this.promise=n,this.scheduler=e}return Object(i.__extends)(n,t),n.create=function(t,e){return new n(t,e)},n.prototype._subscribe=function(t){var n=this,e=this.promise,r=this.scheduler;if(null==r)this._isScalar?t.closed||(t.next(this.value),t.complete()):e.then(function(e){n.value=e,n._isScalar=!0,t.closed||(t.next(e),t.complete())},function(n){t.closed||t.error(n)}).then(null,function(t){s.setTimeout(function(){throw t})});else if(this._isScalar){if(!t.closed)return r.schedule(Pu,0,{value:this.value,subscriber:t})}else e.then(function(e){n.value=e,n._isScalar=!0,t.closed||t.add(r.schedule(Pu,0,{value:e,subscriber:t}))},function(n){t.closed||t.add(r.schedule(Iu,0,{err:n,subscriber:t}))}).then(null,function(t){s.setTimeout(function(){throw t})})},n}(T);function Pu(t){var n=t.subscriber;n.closed||(n.next(t.value),n.complete())}function Iu(t){var n=t.subscriber;n.closed||n.error(t.err)}var Mu=function(t){function n(n,e){if(t.call(this),this.scheduler=e,null==n)throw new Error("iterator cannot be null.");this.iterator=function(t){var n=t[R];if(!n&&"string"==typeof t)return new Nu(t);if(!n&&void 0!==t.length)return new Au(t);if(!n)throw new TypeError("object is not iterable");return t[R]()}(n)}return Object(i.__extends)(n,t),n.create=function(t,e){return new n(t,e)},n.dispatch=function(t){var n=t.index,e=t.iterator,r=t.subscriber;if(t.hasError)r.error(t.error);else{var i=e.next();i.done?r.complete():(r.next(i.value),t.index=n+1,r.closed?"function"==typeof e.return&&e.return():this.schedule(t))}},n.prototype._subscribe=function(t){var e=this.iterator,r=this.scheduler;if(r)return r.schedule(n.dispatch,0,{index:0,iterator:e,subscriber:t});for(;;){var i=e.next();if(i.done){t.complete();break}if(t.next(i.value),t.closed){"function"==typeof e.return&&e.return();break}}},n}(T),Nu=function(){function t(t,n,e){void 0===n&&(n=0),void 0===e&&(e=t.length),this.str=t,this.idx=n,this.len=e}return t.prototype[R]=function(){return this},t.prototype.next=function(){return this.idxju?ju:i:i}()),this.arr=t,this.idx=n,this.len=e}return t.prototype[R]=function(){return this},t.prototype.next=function(){return this.idx=t.length?r.complete():(r.next(n[e]),t.index=e+1,this.schedule(t)))},n.prototype._subscribe=function(t){var e=this.arrayLike,r=this.scheduler,i=e.length;if(r)return r.schedule(n.dispatch,0,{arrayLike:e,index:0,length:i,subscriber:t});for(var o=0;o=2&&(e=!0),function(r){return r.lift(new hs(t,n,e))}}var hs=function(){function t(t,n,e){void 0===e&&(e=!1),this.accumulator=t,this.seed=n,this.hasSeed=e}return t.prototype.call=function(t,n){return n.subscribe(new ps(t,this.accumulator,this.seed,this.hasSeed))},t}(),ps=function(t){function n(n,e,r,i){t.call(this,n),this.accumulator=e,this._seed=r,this.hasSeed=i,this.index=0}return Object(i.__extends)(n,t),Object.defineProperty(n.prototype,"seed",{get:function(){return this._seed},set:function(t){this.hasSeed=!0,this._seed=t},enumerable:!0,configurable:!0}),n.prototype._next=function(t){if(this.hasSeed)return this._tryNext(t);this.seed=t,this.destination.next(t)},n.prototype._tryNext=function(t){var n,e=this.index++;try{n=this.accumulator(this.seed,t,e)}catch(t){this.destination.error(t)}this.seed=n,this.destination.next(n)},n}(x),fs=function(t){function n(){var n=t.call(this,"argument out of range");this.name=n.name="ArgumentOutOfRangeError",this.stack=n.stack,this.message=n.message}return Object(i.__extends)(n,t),n}(Error);function ds(t){return function(n){return 0===t?new I:n.lift(new ys(t))}}var ys=function(){function t(t){if(this.total=t,this.total<0)throw new fs}return t.prototype.call=function(t,n){return n.subscribe(new gs(t,this.total))},t}(),gs=function(t){function n(n,e){t.call(this,n),this.total=e,this.ring=new Array,this.count=0}return Object(i.__extends)(n,t),n.prototype._next=function(t){var n=this.ring,e=this.total,r=this.count++;n.length0)for(var e=this.count>=this.total?this.total:this.count,r=this.ring,i=0;i=2?function(e){return E(cs(t,n),ds(1),vs(n))(e)}:function(n){return E(cs(function(n,e,r){return t(n,e,r+1)}),ds(1))(n)}}function ws(t,n){return arguments.length>=2?_s(t,n)(this):_s(t)(this)}var xs=null;function Cs(){return xs}var Ss,Os={class:"className",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"},Es={"\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"},ks={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"};Tt.Node&&(Ss=Tt.Node.prototype.contains||function(t){return!!(16&this.compareDocumentPosition(t))});var Ts,Ps=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return Object(i.__extends)(n,t),n.prototype.parse=function(t){throw new Error("parse not implemented")},n.makeCurrent=function(){var t;t=new n,xs||(xs=t)},n.prototype.hasProperty=function(t,n){return n in t},n.prototype.setProperty=function(t,n,e){t[n]=e},n.prototype.getProperty=function(t,n){return t[n]},n.prototype.invoke=function(t,n,e){var r;(r=t)[n].apply(r,e)},n.prototype.logError=function(t){window.console&&(console.error?console.error(t):console.log(t))},n.prototype.log=function(t){window.console&&window.console.log&&window.console.log(t)},n.prototype.logGroup=function(t){window.console&&window.console.group&&window.console.group(t)},n.prototype.logGroupEnd=function(){window.console&&window.console.groupEnd&&window.console.groupEnd()},Object.defineProperty(n.prototype,"attrToPropMap",{get:function(){return Os},enumerable:!0,configurable:!0}),n.prototype.contains=function(t,n){return Ss.call(t,n)},n.prototype.querySelector=function(t,n){return t.querySelector(n)},n.prototype.querySelectorAll=function(t,n){return t.querySelectorAll(n)},n.prototype.on=function(t,n,e){t.addEventListener(n,e,!1)},n.prototype.onAndCancel=function(t,n,e){return t.addEventListener(n,e,!1),function(){t.removeEventListener(n,e,!1)}},n.prototype.dispatchEvent=function(t,n){t.dispatchEvent(n)},n.prototype.createMouseEvent=function(t){var n=this.getDefaultDocument().createEvent("MouseEvent");return n.initEvent(t,!0,!0),n},n.prototype.createEvent=function(t){var n=this.getDefaultDocument().createEvent("Event");return n.initEvent(t,!0,!0),n},n.prototype.preventDefault=function(t){t.preventDefault(),t.returnValue=!1},n.prototype.isPrevented=function(t){return t.defaultPrevented||null!=t.returnValue&&!t.returnValue},n.prototype.getInnerHTML=function(t){return t.innerHTML},n.prototype.getTemplateContent=function(t){return"content"in t&&this.isTemplateElement(t)?t.content:null},n.prototype.getOuterHTML=function(t){return t.outerHTML},n.prototype.nodeName=function(t){return t.nodeName},n.prototype.nodeValue=function(t){return t.nodeValue},n.prototype.type=function(t){return t.type},n.prototype.content=function(t){return this.hasProperty(t,"content")?t.content:t},n.prototype.firstChild=function(t){return t.firstChild},n.prototype.nextSibling=function(t){return t.nextSibling},n.prototype.parentElement=function(t){return t.parentNode},n.prototype.childNodes=function(t){return t.childNodes},n.prototype.childNodesAsList=function(t){for(var n=t.childNodes,e=new Array(n.length),r=0;r0},n.prototype.tagName=function(t){return t.tagName},n.prototype.attributeMap=function(t){for(var n=new Map,e=t.attributes,r=0;r0;l||(l=t[o]=[]);var s=ha(n)?Zone.root:Zone.current;if(0===l.length)l.push({zone:s,handler:i});else{for(var a=!1,c=0;c-1},n}(qs),ma=["alt","control","meta","shift"],ba={alt:function(t){return t.altKey},control:function(t){return t.ctrlKey},meta:function(t){return t.metaKey},shift:function(t){return t.shiftKey}},_a=function(t){function n(n){return t.call(this,n)||this}return Object(i.__extends)(n,t),n.prototype.supports=function(t){return null!=n.parseEventName(t)},n.prototype.addEventListener=function(t,e,r){var i=n.parseEventName(e),o=n.eventCallback(i.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(function(){return Cs().onAndCancel(t,i.domEventName,o)})},n.parseEventName=function(t){var e=t.toLowerCase().split("."),r=e.shift();if(0===e.length||"keydown"!==r&&"keyup"!==r)return null;var i=n._normalizeKey(e.pop()),o="";if(ma.forEach(function(t){var n=e.indexOf(t);n>-1&&(e.splice(n,1),o+=t+".")}),o+=i,0!=e.length||0===i.length)return null;var l={};return l.domEventName=r,l.fullKey=o,l},n.getEventFullKey=function(t){var n="",e=Cs().getEventKey(t);return" "===(e=e.toLowerCase())?e="space":"."===e&&(e="dot"),ma.forEach(function(r){r!=e&&(0,ba[r])(t)&&(n+=r+".")}),n+=e},n.eventCallback=function(t,e,r){return function(i){n.getEventFullKey(i)===t&&r.runGuarded(function(){return e(i)})}},n._normalizeKey=function(t){switch(t){case"esc":return"escape";default:return t}},n}(qs),wa=function(){function t(t,n){this.defaultDoc=t,this.DOM=n;var e=this.DOM.createHtmlDocument();if(this.inertBodyElement=e.body,null==this.inertBodyElement){var r=this.DOM.createElement("html",e);this.inertBodyElement=this.DOM.createElement("body",e),this.DOM.appendChild(r,this.inertBodyElement),this.DOM.appendChild(e,r)}this.DOM.setInnerHTML(this.inertBodyElement,''),!this.inertBodyElement.querySelector||this.inertBodyElement.querySelector("svg")?(this.DOM.setInnerHTML(this.inertBodyElement,'

'),this.getInertBodyElement=this.inertBodyElement.querySelector&&this.inertBodyElement.querySelector("svg img")&&function(){try{return!!window.DOMParser}catch(t){return!1}}()?this.getInertBodyElement_DOMParser:this.getInertBodyElement_InertDocument):this.getInertBodyElement=this.getInertBodyElement_XHR}return t.prototype.getInertBodyElement_XHR=function(t){t=""+t+"";try{t=encodeURI(t)}catch(t){return null}var n=new XMLHttpRequest;n.responseType="document",n.open("GET","data:text/html;charset=utf-8,"+t,!1),n.send(null);var e=n.response.body;return e.removeChild(e.firstChild),e},t.prototype.getInertBodyElement_DOMParser=function(t){t=""+t+"";try{var n=(new window.DOMParser).parseFromString(t,"text/html").body;return n.removeChild(n.firstChild),n}catch(t){return null}},t.prototype.getInertBodyElement_InertDocument=function(t){var n=this.DOM.createElement("template");return"content"in n?(this.DOM.setInnerHTML(n,t),n):(this.DOM.setInnerHTML(this.inertBodyElement,t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(this.inertBodyElement),this.inertBodyElement)},t.prototype.stripCustomNsAttrs=function(t){var n=this;this.DOM.attributeMap(t).forEach(function(e,r){"xmlns:ns1"!==r&&0!==r.indexOf("ns1:")||n.DOM.removeAttribute(t,r)});for(var e=0,r=this.DOM.childNodesAsList(t);e")):this.sanitizedSomething=!0},t.prototype.endElement=function(t){var n=this.DOM.nodeName(t).toLowerCase();Na.hasOwnProperty(n)&&!Ta.hasOwnProperty(n)&&(this.buf.push(""))},t.prototype.chars=function(t){this.buf.push(Fa(t))},t.prototype.checkClobberedElement=function(t,n){if(n&&this.DOM.contains(t,n))throw new Error("Failed to sanitize html because the element is clobbered: "+this.DOM.getOuterHTML(t));return n},t}(),La=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Va=/([^\#-~ |!])/g;function Fa(t){return t.replace(/&/g,"&").replace(La,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(Va,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}var Ua=new RegExp("^([-,.\"'%_!# a-zA-Z0-9]+|(?:(?:matrix|translate|scale|rotate|skew|perspective)(?:X|Y|3d)?|(?:rgb|hsl)a?|(?:repeating-)?(?:linear|radial)-gradient|(?:calc|attr))\\([-0-9.%, #a-zA-Z]+\\))$","g"),Ba=/^url\(([^)]+)\)$/,za=function(){},Ha=function(t){function n(n){var e=t.call(this)||this;return e._doc=n,e}return Object(i.__extends)(n,t),n.prototype.sanitize=function(t,n){if(null==n)return null;switch(t){case Ze.NONE:return n;case Ze.HTML:return n instanceof Ka?n.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(n,"HTML"),function(t,n){var e=Cs(),r=null;try{ka=ka||new wa(t,e);var i=n?String(n):"";r=ka.getInertBodyElement(i);var o=5,l=i;do{if(0===o)throw new Error("Failed to sanitize html because the input is unstable");o--,i=l,l=e.getInnerHTML(r),r=ka.getInertBodyElement(i)}while(i!==l);var u=new Da,s=u.sanitizeChildren(e.getTemplateContent(r)||r);return Xn()&&u.sanitizedSomething&&e.log("WARNING: sanitizing HTML stripped some content (see http://g.co/ng/security#xss)."),s}finally{if(r)for(var a=e.getTemplateContent(r)||r,c=0,h=e.childNodesAsList(a);ct.length)return null;if("full"===e.pathMatch&&(n.hasChildren()||r.length0?t[t.length-1]:null}function Mc(t,n){for(var e in t)t.hasOwnProperty(e)&&n(t[e],e)}function Nc(t){var n=as.call(t);return is.call(n,function(t){return!0===t})}function Ac(t){return an(t)?t:sn(t)?ts(Promise.resolve(t)):_u(t)}function jc(t,n,e){return e?function(t,n){return Tc(t,n)}(t.queryParams,n.queryParams)&&function t(n,e){if(!Vc(n.segments,e.segments))return!1;if(n.numberOfChildren!==e.numberOfChildren)return!1;for(var r in e.children){if(!n.children[r])return!1;if(!t(n.children[r],e.children[r]))return!1}return!0}(t.root,n.root):function(t,n){return Object.keys(n).length<=Object.keys(t).length&&Object.keys(n).every(function(e){return n[e]===t[e]})}(t.queryParams,n.queryParams)&&function t(n,e){return function n(e,r,i){if(e.segments.length>i.length)return!!Vc(l=e.segments.slice(0,i.length),i)&&!r.hasChildren();if(e.segments.length===i.length){if(!Vc(e.segments,i))return!1;for(var o in r.children){if(!e.children[o])return!1;if(!t(e.children[o],r.children[o]))return!1}return!0}var l=i.slice(0,e.segments.length),u=i.slice(e.segments.length);return!!Vc(e.segments,l)&&!!e.children[bc]&&n(e.children[bc],r,u)}(n,e,e.segments)}(t.root,n.root)}var Rc=function(){function t(t,n,e){this.root=t,this.queryParams=n,this.fragment=e}return Object.defineProperty(t.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=wc(this.queryParams)),this._queryParamMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return zc.serialize(this)},t}(),Dc=function(){function t(t,n){var e=this;this.segments=t,this.children=n,this.parent=null,Mc(n,function(t,n){return t.parent=e})}return t.prototype.hasChildren=function(){return this.numberOfChildren>0},Object.defineProperty(t.prototype,"numberOfChildren",{get:function(){return Object.keys(this.children).length},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return Hc(this)},t}(),Lc=function(){function t(t,n){this.path=t,this.parameters=n}return Object.defineProperty(t.prototype,"parameterMap",{get:function(){return this._parameterMap||(this._parameterMap=wc(this.parameters)),this._parameterMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return $c(this)},t}();function Vc(t,n){return t.length===n.length&&t.every(function(t,e){return t.path===n[e].path})}function Fc(t,n){var e=[];return Mc(t.children,function(t,r){r===bc&&(e=e.concat(n(t,r)))}),Mc(t.children,function(t,r){r!==bc&&(e=e.concat(n(t,r)))}),e}var Uc=function(){},Bc=function(){function t(){}return t.prototype.parse=function(t){var n=new th(t);return new Rc(n.parseRootSegment(),n.parseQueryParams(),n.parseFragment())},t.prototype.serialize=function(t){var n,e;return"/"+function t(n,e){if(!n.hasChildren())return Hc(n);if(e){var r=n.children[bc]?t(n.children[bc],!1):"",i=[];return Mc(n.children,function(n,e){e!==bc&&i.push(e+":"+t(n,!1))}),i.length>0?r+"("+i.join("//")+")":r}var o=Fc(n,function(e,r){return r===bc?[t(n.children[bc],!1)]:[r+":"+t(e,!1)]});return Hc(n)+"/("+o.join("//")+")"}(t.root,!0)+(n=t.queryParams,(e=Object.keys(n).map(function(t){var e=n[t];return Array.isArray(e)?e.map(function(n){return Kc(t)+"="+Kc(n)}).join("&"):Kc(t)+"="+Kc(e)})).length?"?"+e.join("&"):"")+("string"==typeof t.fragment?"#"+encodeURI(t.fragment):"")},t}(),zc=new Bc;function Hc(t){return t.segments.map(function(t){return $c(t)}).join("/")}function qc(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Kc(t){return qc(t).replace(/%3B/gi,";")}function Gc(t){return qc(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Wc(t){return decodeURIComponent(t)}function Qc(t){return Wc(t.replace(/\+/g,"%20"))}function $c(t){return""+Gc(t.path)+(n=t.parameters,Object.keys(n).map(function(t){return";"+Gc(t)+"="+Gc(n[t])}).join(""));var n}var Zc=/^[^\/()?;=&#]+/;function Yc(t){var n=t.match(Zc);return n?n[0]:""}var Xc=/^[^=?&#]+/,Jc=/^[^?&#]+/,th=function(){function t(t){this.url=t,this.remaining=t}return t.prototype.parseRootSegment=function(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Dc([],{}):new Dc([],this.parseChildren())},t.prototype.parseQueryParams=function(){var t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t},t.prototype.parseFragment=function(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null},t.prototype.parseChildren=function(){if(""===this.remaining)return{};this.consumeOptional("/");var t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());var n={};this.peekStartsWith("/(")&&(this.capture("/"),n=this.parseParens(!0));var e={};return this.peekStartsWith("(")&&(e=this.parseParens(!1)),(t.length>0||Object.keys(n).length>0)&&(e[bc]=new Dc(t,n)),e},t.prototype.parseSegment=function(){var t=Yc(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error("Empty path url segment cannot have parameters: '"+this.remaining+"'.");return this.capture(t),new Lc(Wc(t),this.parseMatrixParams())},t.prototype.parseMatrixParams=function(){for(var t={};this.consumeOptional(";");)this.parseParam(t);return t},t.prototype.parseParam=function(t){var n=Yc(this.remaining);if(n){this.capture(n);var e="";if(this.consumeOptional("=")){var r=Yc(this.remaining);r&&this.capture(e=r)}t[Wc(n)]=Wc(e)}},t.prototype.parseQueryParam=function(t){var n,e=(n=this.remaining.match(Xc))?n[0]:"";if(e){this.capture(e);var r="";if(this.consumeOptional("=")){var i=function(t){var n=t.match(Jc);return n?n[0]:""}(this.remaining);i&&this.capture(r=i)}var o=Qc(e),l=Qc(r);if(t.hasOwnProperty(o)){var u=t[o];Array.isArray(u)||(t[o]=u=[u]),u.push(l)}else t[o]=l}},t.prototype.parseParens=function(t){var n={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){var e=Yc(this.remaining),r=this.remaining[e.length];if("/"!==r&&")"!==r&&";"!==r)throw new Error("Cannot parse url '"+this.url+"'");var i=void 0;e.indexOf(":")>-1?(i=e.substr(0,e.indexOf(":")),this.capture(i),this.capture(":")):t&&(i=bc);var o=this.parseChildren();n[i]=1===Object.keys(o).length?o[bc]:new Dc([],o),this.consumeOptional("//")}return n},t.prototype.peekStartsWith=function(t){return this.remaining.startsWith(t)},t.prototype.consumeOptional=function(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)},t.prototype.capture=function(t){if(!this.consumeOptional(t))throw new Error('Expected "'+t+'".')},t}(),nh=function(t){this.segmentGroup=t||null},eh=function(t){this.urlTree=t};function rh(t){return new T(function(n){return n.error(new nh(t))})}function ih(t){return new T(function(n){return n.error(new eh(t))})}function oh(t){return new T(function(n){return n.error(new Error("Only absolute redirects can have named outlets. redirectTo: '"+t+"'"))})}var lh=function(){function t(t,n,e,r,i){this.configLoader=n,this.urlSerializer=e,this.urlTree=r,this.config=i,this.allowRedirects=!0,this.ngModule=t.get(Mn)}return t.prototype.apply=function(){var t=this,n=this.expandSegmentGroup(this.ngModule,this.config,this.urlTree.root,bc),e=Eu.call(n,function(n){return t.createUrlTree(n,t.urlTree.queryParams,t.urlTree.fragment)});return Gu.call(e,function(n){if(n instanceof eh)return t.allowRedirects=!1,t.match(n.urlTree);if(n instanceof nh)throw t.noMatchError(n);throw n})},t.prototype.match=function(t){var n=this,e=this.expandSegmentGroup(this.ngModule,this.config,t.root,bc),r=Eu.call(e,function(e){return n.createUrlTree(e,t.queryParams,t.fragment)});return Gu.call(r,function(t){if(t instanceof nh)throw n.noMatchError(t);throw t})},t.prototype.noMatchError=function(t){return new Error("Cannot match any routes. URL Segment: '"+t.segmentGroup+"'")},t.prototype.createUrlTree=function(t,n,e){var r,i=t.segments.length>0?new Dc([],((r={})[bc]=t,r)):t;return new Rc(i,n,e)},t.prototype.expandSegmentGroup=function(t,n,e,r){return 0===e.segments.length&&e.hasChildren()?Eu.call(this.expandChildren(t,n,e),function(t){return new Dc([],t)}):this.expandSegment(t,e,n,e.segments,r,!0)},t.prototype.expandChildren=function(t,n,e){var r=this;return function(e,i){if(0===Object.keys(e).length)return _u({});var o=[],l=[],u={};Mc(e,function(e,i){var s=Eu.call(r.expandSegmentGroup(t,n,e,i),function(t){return u[i]=t});i===bc?o.push(s):l.push(s)});var s=Qu.call(_u.apply(void 0,o.concat(l))),a=ss.call(s);return Eu.call(a,function(){return u})}(e.children)},t.prototype.expandSegment=function(t,n,e,r,i,o){var l=this,u=_u.apply(void 0,e),s=Eu.call(u,function(u){var s=l.expandSegmentAgainstRoute(t,n,e,u,r,i,o);return Gu.call(s,function(t){if(t instanceof nh)return _u(null);throw t})}),a=Qu.call(s),c=Ju.call(a,function(t){return!!t});return Gu.call(c,function(t,e){if(t instanceof $u||"EmptyError"===t.name){if(l.noLeftoversInUrl(n,r,i))return _u(new Dc([],{}));throw new nh(n)}throw t})},t.prototype.noLeftoversInUrl=function(t,n,e){return 0===n.length&&!t.children[e]},t.prototype.expandSegmentAgainstRoute=function(t,n,e,r,i,o,l){return ch(r)!==o?rh(n):void 0===r.redirectTo?this.matchSegmentAgainstRoute(t,n,r,i):l&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,n,e,r,i,o):rh(n)},t.prototype.expandSegmentAgainstRouteUsingRedirect=function(t,n,e,r,i,o){return"**"===r.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,e,r,o):this.expandRegularSegmentAgainstRouteUsingRedirect(t,n,e,r,i,o)},t.prototype.expandWildCardWithParamsAgainstRouteUsingRedirect=function(t,n,e,r){var i=this,o=this.applyRedirectCommands([],e.redirectTo,{});return e.redirectTo.startsWith("/")?ih(o):ku.call(this.lineralizeSegments(e,o),function(e){var o=new Dc(e,{});return i.expandSegment(t,o,n,e,r,!1)})},t.prototype.expandRegularSegmentAgainstRouteUsingRedirect=function(t,n,e,r,i,o){var l=this,u=uh(n,r,i),s=u.consumedSegments,a=u.lastChild,c=u.positionalParamSegments;if(!u.matched)return rh(n);var h=this.applyRedirectCommands(s,r.redirectTo,c);return r.redirectTo.startsWith("/")?ih(h):ku.call(this.lineralizeSegments(r,h),function(r){return l.expandSegment(t,n,e,r.concat(i.slice(a)),o,!1)})},t.prototype.matchSegmentAgainstRoute=function(t,n,e,r){var o=this;if("**"===e.path)return e.loadChildren?Eu.call(this.configLoader.load(t.injector,e),function(t){return e._loadedConfig=t,new Dc(r,{})}):_u(new Dc(r,{}));var l=uh(n,e,r),u=l.consumedSegments,s=l.lastChild;if(!l.matched)return rh(n);var a=r.slice(s),c=this.getChildConfig(t,e);return ku.call(c,function(t){var e=t.module,r=t.routes,l=function(t,n,e,r){return e.length>0&&function(t,n,e){return r.some(function(e){return ah(t,n,e)&&ch(e)!==bc})}(t,e)?{segmentGroup:sh(new Dc(n,function(t,n){var e={};e[bc]=n;for(var r=0,i=t;r1||!r.children[bc])return oh(t.redirectTo);r=r.children[bc]}},t.prototype.applyRedirectCommands=function(t,n,e){return this.applyRedirectCreatreUrlTree(n,this.urlSerializer.parse(n),t,e)},t.prototype.applyRedirectCreatreUrlTree=function(t,n,e,r){var i=this.createSegmentGroup(t,n.root,e,r);return new Rc(i,this.createQueryParams(n.queryParams,this.urlTree.queryParams),n.fragment)},t.prototype.createQueryParams=function(t,n){var e={};return Mc(t,function(t,r){if("string"==typeof t&&t.startsWith(":")){var i=t.substring(1);e[r]=n[i]}else e[r]=t}),e},t.prototype.createSegmentGroup=function(t,n,e,r){var i=this,o=this.createSegments(t,n.segments,e,r),l={};return Mc(n.children,function(n,o){l[o]=i.createSegmentGroup(t,n,e,r)}),new Dc(o,l)},t.prototype.createSegments=function(t,n,e,r){var i=this;return n.map(function(n){return n.path.startsWith(":")?i.findPosParam(t,n,r):i.findOrReturn(n,e)})},t.prototype.findPosParam=function(t,n,e){var r=e[n.path.substring(1)];if(!r)throw new Error("Cannot redirect to '"+t+"'. Cannot find '"+n.path+"'.");return r},t.prototype.findOrReturn=function(t,n){for(var e=0,r=0,i=n;r0)?{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}:{matched:!0,consumedSegments:[],lastChild:0,positionalParamSegments:{}};var r=(n.matcher||xc)(e,t,n);return r?{matched:!0,consumedSegments:r.consumed,lastChild:r.consumed.length,positionalParamSegments:r.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function sh(t){if(1===t.numberOfChildren&&t.children[bc]){var n=t.children[bc];return new Dc(t.segments.concat(n.segments),n.children)}return t}function ah(t,n,e){return(!(t.hasChildren()||n.length>0)||"full"!==e.pathMatch)&&""===e.path&&void 0!==e.redirectTo}function ch(t){return t.outlet||bc}var hh=function(){function t(t){this._root=t}return Object.defineProperty(t.prototype,"root",{get:function(){return this._root.value},enumerable:!0,configurable:!0}),t.prototype.parent=function(t){var n=this.pathFromRoot(t);return n.length>1?n[n.length-2]:null},t.prototype.children=function(t){var n=ph(t,this._root);return n?n.children.map(function(t){return t.value}):[]},t.prototype.firstChild=function(t){var n=ph(t,this._root);return n&&n.children.length>0?n.children[0].value:null},t.prototype.siblings=function(t){var n=fh(t,this._root);return n.length<2?[]:n[n.length-2].children.map(function(t){return t.value}).filter(function(n){return n!==t})},t.prototype.pathFromRoot=function(t){return fh(t,this._root).map(function(t){return t.value})},t}();function ph(t,n){if(t===n.value)return n;for(var e=0,r=n.children;e=1;){var o=e[r],l=e[r-1];if(o.routeConfig&&""===o.routeConfig.path)r--;else{if(l.component)break;r--}}return function(t){return t.reduce(function(t,n){return{params:Object(i.__assign)({},t.params,n.params),data:Object(i.__assign)({},t.data,n.data),resolve:Object(i.__assign)({},t.resolve,n._resolvedData)}},{params:{},data:{},resolve:{}})}(e.slice(r))}var _h=function(){function t(t,n,e,r,i,o,l,u,s,a,c){this.url=t,this.params=n,this.queryParams=e,this.fragment=r,this.data=i,this.outlet=o,this.component=l,this.routeConfig=u,this._urlSegment=s,this._lastPathIndex=a,this._resolve=c}return Object.defineProperty(t.prototype,"root",{get:function(){return this._routerState.root},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parent",{get:function(){return this._routerState.parent(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"firstChild",{get:function(){return this._routerState.firstChild(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"children",{get:function(){return this._routerState.children(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pathFromRoot",{get:function(){return this._routerState.pathFromRoot(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"paramMap",{get:function(){return this._paramMap||(this._paramMap=wc(this.params)),this._paramMap},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=wc(this.queryParams)),this._queryParamMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return"Route(url:'"+this.url.map(function(t){return t.toString()}).join("/")+"', path:'"+(this.routeConfig?this.routeConfig.path:"")+"')"},t}(),wh=function(t){function n(n,e){var r=t.call(this,e)||this;return r.url=n,xh(r,e),r}return Object(i.__extends)(n,t),n.prototype.toString=function(){return Ch(this._root)},n}(hh);function xh(t,n){n.value._routerState=t,n.children.forEach(function(n){return xh(t,n)})}function Ch(t){var n=t.children.length>0?" { "+t.children.map(Ch).join(", ")+" } ":"";return""+t.value+n}function Sh(t){if(t.snapshot){var n=t.snapshot,e=t._futureSnapshot;t.snapshot=e,Tc(n.queryParams,e.queryParams)||t.queryParams.next(e.queryParams),n.fragment!==e.fragment&&t.fragment.next(e.fragment),Tc(n.params,e.params)||t.params.next(e.params),function(t,n){if(t.length!==n.length)return!1;for(var e=0;e0&&Eh(e[0]))throw new Error("Root segment cannot have matrix parameters");var r=e.find(function(t){return"object"==typeof t&&null!=t&&t.outlets});if(r&&r!==Ic(e))throw new Error("{outlets:{}} has to be the last command")}return t.prototype.toRoot=function(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]},t}(),Ph=function(t,n,e){this.segmentGroup=t,this.processChildren=n,this.index=e};function Ih(t){return"object"==typeof t&&null!=t&&t.outlets?t.outlets[bc]:""+t}function Mh(t,n,e){if(t||(t=new Dc([],{})),0===t.segments.length&&t.hasChildren())return Nh(t,n,e);var r=function(t,n,e){for(var r=0,i=n,o={match:!1,pathIndex:0,commandIndex:0};i=e.length)return o;var l=t.segments[i],u=Ih(e[r]),s=r0&&void 0===u)break;if(u&&s&&"object"==typeof s&&void 0===s.outlets){if(!Dh(u,s,l))return o;r+=2}else{if(!Dh(u,{},l))return o;r++}i++}return{match:!0,pathIndex:i,commandIndex:r}}(t,n,e),i=e.slice(r.commandIndex);if(r.match&&r.pathIndex0?Ic(e).parameters:{};o=new _h(e,s,Object.freeze(this.urlTree.queryParams),this.urlTree.fragment,Wh(t),r,t.component,t,zh(n),Hh(n)+e.length,Qh(t))}else{var a=function(t,n,e){if(""===n.path){if("full"===n.pathMatch&&(t.hasChildren()||e.length>0))throw new Uh;return{consumedSegments:[],lastChild:0,parameters:{}}}var r=(n.matcher||xc)(e,t,n);if(!r)throw new Uh;var o={};Mc(r.posParams,function(t,n){o[n]=t.path});var l=r.consumed.length>0?Object(i.__assign)({},o,r.consumed[r.consumed.length-1].parameters):o;return{consumedSegments:r.consumed,lastChild:r.consumed.length,parameters:l}}(n,t,e);l=a.consumedSegments,u=e.slice(a.lastChild),o=new _h(l,a.parameters,Object.freeze(this.urlTree.queryParams),this.urlTree.fragment,Wh(t),r,t.component,t,zh(n),Hh(n)+l.length,Qh(t))}var c=function(t){return t.children?t.children:t.loadChildren?t._loadedConfig.routes:[]}(t),h=qh(n,l,u,c),p=h.segmentGroup,f=h.slicedSegments;if(0===f.length&&p.hasChildren()){var d=this.processChildren(c,p);return[new dh(o,d)]}if(0===c.length&&0===f.length)return[new dh(o,[])];var y=this.processSegment(c,p,f,bc);return[new dh(o,y)]},t}();function zh(t){for(var n=t;n._sourceSegment;)n=n._sourceSegment;return n}function Hh(t){for(var n=t,e=n._segmentIndexShift?n._segmentIndexShift:0;n._sourceSegment;)e+=(n=n._sourceSegment)._segmentIndexShift?n._segmentIndexShift:0;return e-1}function qh(t,n,e,r){if(e.length>0&&function(t,n,e){return r.some(function(e){return Kh(t,n,e)&&Gh(e)!==bc})}(t,e)){var o=new Dc(n,function(t,n,e,r){var i={};i[bc]=r,r._sourceSegment=t,r._segmentIndexShift=n.length;for(var o=0,l=e;o0)||"full"!==e.pathMatch)&&""===e.path&&void 0===e.redirectTo}function Gh(t){return t.outlet||bc}function Wh(t){return t.data||{}}function Qh(t){return t.resolve||{}}var $h=function(){},Zh=function(){function t(){}return t.prototype.shouldDetach=function(t){return!1},t.prototype.store=function(t,n){},t.prototype.shouldAttach=function(t){return!1},t.prototype.retrieve=function(t){return null},t.prototype.shouldReuseRoute=function(t,n){return t.routeConfig===n.routeConfig},t}(),Yh=new ut("ROUTES"),Xh=function(){function t(t,n,e,r){this.loader=t,this.compiler=n,this.onLoadStartListener=e,this.onLoadEndListener=r}return t.prototype.load=function(t,n){var e=this;this.onLoadStartListener&&this.onLoadStartListener(n);var r=this.loadModuleFactory(n.loadChildren);return Eu.call(r,function(r){e.onLoadEndListener&&e.onLoadEndListener(n);var i=r.create(t);return new Cc(Pc(i.injector.get(Yh)).map(kc),i)})},t.prototype.loadModuleFactory=function(t){var n=this;return"string"==typeof t?ts(this.loader.load(t)):ku.call(Ac(t()),function(t){return t instanceof Nn?_u(t):ts(n.compiler.compileModuleAsync(t))})},t}(),Jh=function(){},tp=function(){function t(){}return t.prototype.shouldProcessUrl=function(t){return!0},t.prototype.extract=function(t){return t},t.prototype.merge=function(t,n){return t},t}();function np(t){throw t}function ep(t){return _u(null)}var rp=function(){function t(t,n,e,r,i,o,l,u){var s=this;this.rootComponentType=t,this.urlSerializer=n,this.rootContexts=e,this.location=r,this.config=u,this.navigations=new bu(null),this.navigationId=0,this.events=new Q,this.errorHandler=np,this.navigated=!1,this.hooks={beforePreactivation:ep,afterPreactivation:ep},this.urlHandlingStrategy=new tp,this.routeReuseStrategy=new Zh,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.ngModule=i.get(Mn),this.resetConfig(u),this.currentUrlTree=new Rc(new Dc([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.configLoader=new Xh(o,l,function(t){return s.triggerEvent(new fc(t))},function(t){return s.triggerEvent(new dc(t))}),this.routerState=vh(this.currentUrlTree,this.rootComponentType),this.processNavigations()}return t.prototype.resetRootComponentType=function(t){this.rootComponentType=t,this.routerState.root.component=this.rootComponentType},t.prototype.initialNavigation=function(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})},t.prototype.setUpLocationChangeListener=function(){var t=this;this.locationSubscription||(this.locationSubscription=this.location.subscribe(function(n){var e=t.urlSerializer.parse(n.url),r="popstate"===n.type?"popstate":"hashchange";setTimeout(function(){t.scheduleNavigation(e,r,{replaceUrl:!0})},0)}))},Object.defineProperty(t.prototype,"url",{get:function(){return this.serializeUrl(this.currentUrlTree)},enumerable:!0,configurable:!0}),t.prototype.triggerEvent=function(t){this.events.next(t)},t.prototype.resetConfig=function(t){Sc(t),this.config=t.map(kc),this.navigated=!1},t.prototype.ngOnDestroy=function(){this.dispose()},t.prototype.dispose=function(){this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=null)},t.prototype.createUrlTree=function(t,n){void 0===n&&(n={});var e=n.relativeTo,r=n.queryParams,o=n.fragment,l=n.preserveQueryParams,u=n.queryParamsHandling,s=n.preserveFragment;Xn()&&l&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead.");var a=e||this.routerState.root,c=s?this.currentUrlTree.fragment:o,h=null;if(u)switch(u){case"merge":h=Object(i.__assign)({},this.currentUrlTree.queryParams,r);break;case"preserve":h=this.currentUrlTree.queryParams;break;default:h=r||null}else h=l?this.currentUrlTree.queryParams:r||null;return null!==h&&(h=this.removeEmptyProps(h)),function(t,n,e,r,i){if(0===e.length)return kh(n.root,n.root,n,r,i);var o=function(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new Th(!0,0,t);var n=0,e=!1,r=t.reduce(function(t,r,i){if("object"==typeof r&&null!=r){if(r.outlets){var o={};return Mc(r.outlets,function(t,n){o[n]="string"==typeof t?t.split("/"):t}),t.concat([{outlets:o}])}if(r.segmentPath)return t.concat([r.segmentPath])}return"string"!=typeof r?t.concat([r]):0===i?(r.split("/").forEach(function(r,i){0==i&&"."===r||(0==i&&""===r?e=!0:".."===r?n++:""!=r&&t.push(r))}),t):t.concat([r])},[]);return new Th(e,n,r)}(e);if(o.toRoot())return kh(n.root,new Dc([],{}),n,r,i);var l=function(t,e,r){if(t.isAbsolute)return new Ph(n.root,!0,0);if(-1===r.snapshot._lastPathIndex)return new Ph(r.snapshot._urlSegment,!0,0);var i=Eh(t.commands[0])?0:1;return function(n,e,o){for(var l=r.snapshot._urlSegment,u=r.snapshot._lastPathIndex+i,s=t.numberOfDoubleDots;s>u;){if(s-=u,!(l=l.parent))throw new Error("Invalid number of '../'");u=l.segments.length}return new Ph(l,!1,u-s)}()}(o,0,t),u=l.processChildren?Nh(l.segmentGroup,l.index,o.commands):Mh(l.segmentGroup,l.index,o.commands);return kh(l.segmentGroup,u,n,r,i)}(a,this.currentUrlTree,t,h,c)},t.prototype.navigateByUrl=function(t,n){void 0===n&&(n={skipLocationChange:!1});var e=t instanceof Rc?t:this.parseUrl(t),r=this.urlHandlingStrategy.merge(e,this.rawUrlTree);return this.scheduleNavigation(r,"imperative",n)},t.prototype.navigate=function(t,n){return void 0===n&&(n={skipLocationChange:!1}),function(t){for(var n=0;n0){var r=t.slice(0,e),i=r.toLowerCase(),o=t.slice(e+1).trim();n.maybeSetNormalizedName(r,i),n.headers.has(i)?n.headers.get(i).push(o):n.headers.set(i,[o])}})}:function(){n.headers=new Map,Object.keys(t).forEach(function(e){var r=t[e],i=e.toLowerCase();"string"==typeof r&&(r=[r]),r.length>0&&(n.headers.set(i,r),n.maybeSetNormalizedName(e,i))})}:this.headers=new Map}return t.prototype.has=function(t){return this.init(),this.headers.has(t.toLowerCase())},t.prototype.get=function(t){this.init();var n=this.headers.get(t.toLowerCase());return n&&n.length>0?n[0]:null},t.prototype.keys=function(){return this.init(),Array.from(this.normalizedNames.values())},t.prototype.getAll=function(t){return this.init(),this.headers.get(t.toLowerCase())||null},t.prototype.append=function(t,n){return this.clone({name:t,value:n,op:"a"})},t.prototype.set=function(t,n){return this.clone({name:t,value:n,op:"s"})},t.prototype.delete=function(t,n){return this.clone({name:t,value:n,op:"d"})},t.prototype.maybeSetNormalizedName=function(t,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,t)},t.prototype.init=function(){var n=this;this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(function(t){return n.applyUpdate(t)}),this.lazyUpdate=null))},t.prototype.copyFrom=function(t){var n=this;t.init(),Array.from(t.headers.keys()).forEach(function(e){n.headers.set(e,t.headers.get(e)),n.normalizedNames.set(e,t.normalizedNames.get(e))})},t.prototype.clone=function(n){var e=new t;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([n]),e},t.prototype.applyUpdate=function(t){var n=t.name.toLowerCase();switch(t.op){case"a":case"s":var e=t.value;if("string"==typeof e&&(e=[e]),0===e.length)return;this.maybeSetNormalizedName(t.name,n);var r=("a"===t.op?this.headers.get(n):void 0)||[];r.push.apply(r,e),this.headers.set(n,r);break;case"d":var i=t.value;if(i){var o=this.headers.get(n);if(!o)return;0===(o=o.filter(function(t){return-1===i.indexOf(t)})).length?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,o)}else this.headers.delete(n),this.normalizedNames.delete(n)}},t.prototype.forEach=function(t){var n=this;this.init(),Array.from(this.normalizedNames.keys()).forEach(function(e){return t(n.normalizedNames.get(e),n.headers.get(e))})},t}(),Ap=function(){function t(){}return t.prototype.encodeKey=function(t){return jp(t)},t.prototype.encodeValue=function(t){return jp(t)},t.prototype.decodeKey=function(t){return decodeURIComponent(t)},t.prototype.decodeValue=function(t){return decodeURIComponent(t)},t}();function jp(t){return encodeURIComponent(t).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 Rp=function(){function t(t){void 0===t&&(t={});var n,e,r,i=this;if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new Ap,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=(n=t.fromString,e=this.encoder,r=new Map,n.length>0&&n.split("&").forEach(function(t){var n=t.indexOf("="),i=-1==n?[e.decodeKey(t),""]:[e.decodeKey(t.slice(0,n)),e.decodeValue(t.slice(n+1))],o=i[0],l=i[1],u=r.get(o)||[];u.push(l),r.set(o,u)}),r)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(function(n){var e=t.fromObject[n];i.map.set(n,Array.isArray(e)?e:[e])})):this.map=null}return t.prototype.has=function(t){return this.init(),this.map.has(t)},t.prototype.get=function(t){this.init();var n=this.map.get(t);return n?n[0]:null},t.prototype.getAll=function(t){return this.init(),this.map.get(t)||null},t.prototype.keys=function(){return this.init(),Array.from(this.map.keys())},t.prototype.append=function(t,n){return this.clone({param:t,value:n,op:"a"})},t.prototype.set=function(t,n){return this.clone({param:t,value:n,op:"s"})},t.prototype.delete=function(t,n){return this.clone({param:t,value:n,op:"d"})},t.prototype.toString=function(){var t=this;return this.init(),this.keys().map(function(n){var e=t.encoder.encodeKey(n);return t.map.get(n).map(function(n){return e+"="+t.encoder.encodeValue(n)}).join("&")}).join("&")},t.prototype.clone=function(n){var e=new t({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat([n]),e},t.prototype.init=function(){var t=this;null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(function(n){return t.map.set(n,t.cloneFrom.map.get(n))}),this.updates.forEach(function(n){switch(n.op){case"a":case"s":var e=("a"===n.op?t.map.get(n.param):void 0)||[];e.push(n.value),t.map.set(n.param,e);break;case"d":if(void 0===n.value){t.map.delete(n.param);break}var r=t.map.get(n.param)||[],i=r.indexOf(n.value);-1!==i&&r.splice(i,1),r.length>0?t.map.set(n.param,r):t.map.delete(n.param)}}),this.cloneFrom=null)},t}();function Dp(t){return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer}function Lp(t){return"undefined"!=typeof Blob&&t instanceof Blob}function Vp(t){return"undefined"!=typeof FormData&&t instanceof FormData}var Fp=function(){function t(t,n,e,r){var i;if(this.url=n,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||r?(this.body=void 0!==e?e:null,i=r):i=e,i&&(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.params&&(this.params=i.params)),this.headers||(this.headers=new Np),this.params){var o=this.params.toString();if(0===o.length)this.urlWithParams=n;else{var l=n.indexOf("?");this.urlWithParams=n+(-1===l?"?":l=200&&this.status<300}}(),zp=function(t){function n(n){void 0===n&&(n={});var e=t.call(this,n)||this;return e.type=Up.ResponseHeader,e}return Object(i.__extends)(n,t),n.prototype.clone=function(t){return void 0===t&&(t={}),new n({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})},n}(Bp),Hp=function(t){function n(n){void 0===n&&(n={});var e=t.call(this,n)||this;return e.type=Up.Response,e.body=void 0!==n.body?n.body:null,e}return Object(i.__extends)(n,t),n.prototype.clone=function(t){return void 0===t&&(t={}),new n({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})},n}(Bp),qp=function(t){function n(n){var e=t.call(this,n,0,"Unknown Error")||this;return e.name="HttpErrorResponse",e.ok=!1,e.message=e.status>=200&&e.status<300?"Http failure during parsing for "+(n.url||"(unknown url)"):"Http failure response for "+(n.url||"(unknown url)")+": "+n.status+" "+n.statusText,e.error=n.error||null,e}return Object(i.__extends)(n,t),n}(Bp);function Kp(t,n){return{body:n,headers:t.headers,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials}}var Gp=function(){function t(t){this.handler=t}return t.prototype.request=function(t,n,e){var r,i=this;if(void 0===e&&(e={}),t instanceof Fp)r=t;else{var o;o=e.headers instanceof Np?e.headers:new Np(e.headers);var l=void 0;e.params&&(l=e.params instanceof Rp?e.params:new Rp({fromObject:e.params})),r=new Fp(t,n,void 0!==e.body?e.body:null,{headers:o,params:l,reportProgress:e.reportProgress,responseType:e.responseType||"json",withCredentials:e.withCredentials})}var u=xu.call(_u(r),function(t){return i.handler.handle(t)});if(t instanceof Fp||"events"===e.observe)return u;var s=ec.call(u,function(t){return t instanceof Hp});switch(e.observe||"body"){case"body":switch(r.responseType){case"arraybuffer":return Eu.call(s,function(t){if(null!==t.body&&!(t.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return t.body});case"blob":return Eu.call(s,function(t){if(null!==t.body&&!(t.body instanceof Blob))throw new Error("Response is not a Blob.");return t.body});case"text":return Eu.call(s,function(t){if(null!==t.body&&"string"!=typeof t.body)throw new Error("Response is not a string.");return t.body});case"json":default:return Eu.call(s,function(t){return t.body})}case"response":return s;default:throw new Error("Unreachable: unhandled observe type "+e.observe+"}")}},t.prototype.delete=function(t,n){return void 0===n&&(n={}),this.request("DELETE",t,n)},t.prototype.get=function(t,n){return void 0===n&&(n={}),this.request("GET",t,n)},t.prototype.head=function(t,n){return void 0===n&&(n={}),this.request("HEAD",t,n)},t.prototype.jsonp=function(t,n){return this.request("JSONP",t,{params:(new Rp).append(n,"JSONP_CALLBACK"),observe:"body",responseType:"json"})},t.prototype.options=function(t,n){return void 0===n&&(n={}),this.request("OPTIONS",t,n)},t.prototype.patch=function(t,n,e){return void 0===e&&(e={}),this.request("PATCH",t,Kp(e,n))},t.prototype.post=function(t,n,e){return void 0===e&&(e={}),this.request("POST",t,Kp(e,n))},t.prototype.put=function(t,n,e){return void 0===e&&(e={}),this.request("PUT",t,Kp(e,n))},t}(),Wp=function(){function t(t,n){this.next=t,this.interceptor=n}return t.prototype.handle=function(t){return this.interceptor.intercept(t,this.next)},t}(),Qp=new ut("HTTP_INTERCEPTORS"),$p=function(){function t(){}return t.prototype.intercept=function(t,n){return n.handle(t)},t}(),Zp=/^\)\]\}',?\n/,Yp=function(){},Xp=function(){function t(){}return t.prototype.build=function(){return new XMLHttpRequest},t}(),Jp=function(){function t(t){this.xhrFactory=t}return t.prototype.handle=function(t){var n=this;if("JSONP"===t.method)throw new Error("Attempted to construct Jsonp request without JsonpClientModule installed.");return new T(function(e){var r=n.xhrFactory.build();if(r.open(t.method,t.urlWithParams),t.withCredentials&&(r.withCredentials=!0),t.headers.forEach(function(t,n){return r.setRequestHeader(t,n.join(","))}),t.headers.has("Accept")||r.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){var i=t.detectContentTypeHeader();null!==i&&r.setRequestHeader("Content-Type",i)}if(t.responseType){var o=t.responseType.toLowerCase();r.responseType="json"!==o?o:"text"}var l=t.serializeBody(),u=null,s=function(){if(null!==u)return u;var n=1223===r.status?204:r.status,e=r.statusText||"OK",i=new Np(r.getAllResponseHeaders()),o=function(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}(r)||t.url;return u=new zp({headers:i,status:n,statusText:e,url:o})},a=function(){var n=s(),i=n.headers,o=n.status,l=n.statusText,u=n.url,a=null;204!==o&&(a=void 0===r.response?r.responseText:r.response),0===o&&(o=a?200:0);var c=o>=200&&o<300;if("json"===t.responseType&&"string"==typeof a){var h=a;a=a.replace(Zp,"");try{a=""!==a?JSON.parse(a):null}catch(t){a=h,c&&(c=!1,a={error:t,text:a})}}c?(e.next(new Hp({body:a,headers:i,status:o,statusText:l,url:u||void 0})),e.complete()):e.error(new qp({error:a,headers:i,status:o,statusText:l,url:u||void 0}))},c=function(t){var n=new qp({error:t,status:r.status||0,statusText:r.statusText||"Unknown Error"});e.error(n)},h=!1,p=function(n){h||(e.next(s()),h=!0);var i={type:Up.DownloadProgress,loaded:n.loaded};n.lengthComputable&&(i.total=n.total),"text"===t.responseType&&r.responseText&&(i.partialText=r.responseText),e.next(i)},f=function(t){var n={type:Up.UploadProgress,loaded:t.loaded};t.lengthComputable&&(n.total=t.total),e.next(n)};return r.addEventListener("load",a),r.addEventListener("error",c),t.reportProgress&&(r.addEventListener("progress",p),null!==l&&r.upload&&r.upload.addEventListener("progress",f)),r.send(l),e.next({type:Up.Sent}),function(){r.removeEventListener("error",c),r.removeEventListener("load",a),t.reportProgress&&(r.removeEventListener("progress",p),null!==l&&r.upload&&r.upload.removeEventListener("progress",f)),r.abort()}})},t}(),tf=new ut("XSRF_COOKIE_NAME"),nf=new ut("XSRF_HEADER_NAME"),ef=function(){},rf=function(){function t(t,n,e){this.doc=t,this.platform=n,this.cookieName=e,this.lastCookieString="",this.lastToken=null,this.parseCount=0}return t.prototype.getToken=function(){if("server"===this.platform)return null;var t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=zl(t,this.cookieName),this.lastCookieString=t),this.lastToken},t}(),of=function(){function t(t,n){this.tokenService=t,this.headerName=n}return t.prototype.intercept=function(t,n){var e=t.url.toLowerCase();if("GET"===t.method||"HEAD"===t.method||e.startsWith("http://")||e.startsWith("https://"))return n.handle(t);var r=this.tokenService.getToken();return null===r||t.headers.has(this.headerName)||(t=t.clone({headers:t.headers.set(this.headerName,r)})),n.handle(t)},t}(),lf=function(){function t(t,n){this.backend=t,this.injector=n,this.chain=null}return t.prototype.handle=function(t){if(null===this.chain){var n=this.injector.get(Qp,[]);this.chain=n.reduceRight(function(t,n){return new Wp(t,n)},this.backend)}return this.chain.handle(t)},t}(),uf=function(){function t(){}return t.disable=function(){return{ngModule:t,providers:[{provide:of,useClass:$p}]}},t.withOptions=function(n){return void 0===n&&(n={}),{ngModule:t,providers:[n.cookieName?{provide:tf,useValue:n.cookieName}:[],n.headerName?{provide:nf,useValue:n.headerName}:[]]}},t}(),sf=function(){};T.throw=function(t){function n(n,e){t.call(this),this.error=n,this.scheduler=e}return Object(i.__extends)(n,t),n.create=function(t,e){return new n(t,e)},n.dispatch=function(t){t.subscriber.error(t.error)},n.prototype._subscribe=function(t){var e=this.error,r=this.scheduler;if(t.syncErrorThrowable=!0,r)return r.schedule(n.dispatch,0,{error:e,subscriber:t});t.error(e)},n}(T).create,T.prototype.map=Eu,T.prototype.catch=Gu,T.prototype._catch=Gu;var af=function(){function t(t){this.http=t,this.url="/api/"}return t.prototype.getAddress=function(t){return this.get("address",{address:t})},t.prototype.getUnconfirmedTransactions=function(){return this.get("pendingTxs",{verbose:1})},t.prototype.getBlockById=function(t){return this.get("block",{seq:t,verbose:1})},t.prototype.getBlockByHash=function(t){return this.get("block",{hash:t,verbose:1})},t.prototype.getBlocks=function(t,n){return this.get("blocks",{start:t,end:n})},t.prototype.getBlockchainMetadata=function(){return this.get("blockchain/metadata").map(function(t){return{blocks:t.head.seq}})},t.prototype.getCoinSupply=function(){return this.get("coinSupply")},t.prototype.getCurrentBalance=function(t){return this.get("currentBalance",{addrs:t})},t.prototype.getBalance=function(t){return this.get("balance",{addrs:t})},t.prototype.getTransaction=function(t){return this.get("transaction",{txid:t,verbose:1})},t.prototype.getRichlist=function(){return this.get("richlist").map(function(t){return t.richlist})},t.prototype.get=function(t,n){return void 0===n&&(n=null),this.http.get(this.getUrl(t,n)).catch(function(t){return T.throw(t||"Server error")})},t.prototype.getQueryString=function(t){return void 0===t&&(t=null),t?Object.keys(t).reduce(function(n,e){return n.push(e+"="+encodeURIComponent(t[e])),n},[]).join("&"):""},t.prototype.getUrl=function(t,n){return void 0===n&&(n=null),this.url+t+"?"+this.getQueryString(n)},t}(),cf=e("kB5k");function hf(t){return{id:t.header.seq,hash:t.header.block_hash,parent_hash:t.header.previous_block_hash,timestamp:t.header.timestamp,transactions:t.body.txns.map(function(t){return pf(t)}),size:t.size}}function pf(t,n){void 0===n&&(n=null);var e=null;if(n){e=new cf.BigNumber("0");for(var r=0,i=t.inputs;r=0;u--)(i=t[u])&&(l=(o<3?i(l):o>3?i(n,e,l):i(n,e))||l);return o>3&&l&&Object.defineProperty(n,e,l),l}([xt()],Tf);var Pf=function(t){return t&&"function"==typeof t.schedule},If="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function Mf(t,n){return t(n={exports:{}},n.exports),n.exports}var Nf="undefined"!=typeof window&&window,Af="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,jf=Nf||void 0!==If&&If||Af,Rf=jf;!function(){if(!jf)throw new Error("RxJS could not find any global context (window, self, global)")}();var Df,Lf={root:Rf},Vf={isFunction:function(t){return"function"==typeof t}},Ff={isArray:Array.isArray||function(t){return t&&"number"==typeof t.length}},Uf=function(t){return null!=t&&"object"==typeof t},Bf={errorObject:{e:{}}};function zf(){try{return Df.apply(this,arguments)}catch(t){return Bf.errorObject.e=t,Bf.errorObject}}var Hf=function(t){return Df=t,zf},qf=If&&If.__extends||function(t,n){for(var e in n)n.hasOwnProperty(e)&&(t[e]=n[e]);function r(){this.constructor=t}t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)},Kf={UnsubscriptionError:function(t){function n(n){t.call(this),this.errors=n;var e=Error.call(this,n?n.length+" errors occurred during unsubscription:\n "+n.map(function(t,n){return n+1+") "+t.toString()}).join("\n "):"");this.name=e.name="UnsubscriptionError",this.stack=e.stack,this.message=e.message}return qf(n,t),n}(Error)};function Gf(t){return t.reduce(function(t,n){return t.concat(n instanceof Kf.UnsubscriptionError?n.errors:n)},[])}var Wf={Subscription:function(){function t(t){this.closed=!1,this._parent=null,this._parents=null,this._subscriptions=null,t&&(this._unsubscribe=t)}var n;return t.prototype.unsubscribe=function(){var t,n=!1;if(!this.closed){var e=this._parent,r=this._parents,i=this._unsubscribe,o=this._subscriptions;this.closed=!0,this._parent=null,this._parents=null,this._subscriptions=null;for(var l=-1,u=r?r.length:0;e;)e.remove(this),e=++l1?new n(t,r):1===i?new ud.ScalarObservable(t[0],r):new ad.EmptyObservable(r)},n.dispatch=function(t){var n=t.array,e=t.index,r=t.subscriber;e>=t.count?r.complete():(r.next(n[e]),r.closed||(t.index=e+1,this.schedule(t)))},n.prototype._subscribe=function(t){var e=this.array,r=e.length,i=this.scheduler;if(i)return i.schedule(n.dispatch,0,{array:e,index:0,count:r,subscriber:t});for(var o=0;oCd?Cd:i:i}()),this.arr=t,this.idx=n,this.len=e}return t.prototype[md.iterator]=function(){return this},t.prototype.next=function(){return this.idx=t.length?r.complete():(r.next(n[e]),t.index=e+1,this.schedule(t)))},n.prototype._subscribe=function(t){var e=this.arrayLike,r=this.scheduler,i=e.length;if(r)return r.schedule(n.dispatch,0,{arrayLike:e,index:0,length:i,subscriber:t});for(var o=0;o0?this._next(n.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},n}(Fd.OuterSubscriber),Hd=function(t){return t},qd=function(t){return void 0===t&&(t=Number.POSITIVE_INFINITY),function(t,n,e){return void 0===e&&(e=Number.POSITIVE_INFINITY),function(r){return"number"==typeof n&&(e=n,n=null),r.lift(new Bd(t,n,e))}}(Hd,null,t)},Kd={concat:function(){for(var t=[],n=0;n=0;u--)(i=t[u])&&(l=(o<3?i(l):o>3?i(n,e,l):i(n,e))||l);return o>3&&l&&Object.defineProperty(n,e,l),l}([xt()],Wd);var Qd=function(){},$d=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return Ef(n,t),n.prototype.compile=function(t,n){return t},n.prototype.compileTranslations=function(t,n){return t},n}(Qd);function Zd(t,n){if(t===n)return!0;if(null===t||null===n)return!1;if(t!=t&&n!=n)return!0;var e,r,i,o=typeof t;if(o==typeof n&&"object"==o){if(!Array.isArray(t)){if(Array.isArray(n))return!1;for(r in i=Object.create(null),t){if(!Zd(t[r],n[r]))return!1;i[r]=!0}for(r in n)if(!(r in i)&&void 0!==n[r])return!1;return!0}if(!Array.isArray(n))return!1;if((e=t.length)==n.length){for(r=0;r=0;u--)(i=t[u])&&(l=(o<3?i(l):o>3?i(n,e,l):i(n,e))||l);return o>3&&l&&Object.defineProperty(n,e,l),l}([xt()],$d);var Jd=function(){},ty=function(t){function n(){var n=t.apply(this,arguments)||this;return n.templateMatcher=/{{\s?([^{}\s]*)\s?}}/g,n}return Ef(n,t),n.prototype.interpolate=function(t,n){return"string"==typeof t?this.interpolateString(t,n):"function"==typeof t?this.interpolateFunction(t,n):t},n.prototype.getValue=function(t,n){var e=n.split(".");n="";do{n+=e.shift(),!Yd(t)||!Yd(t[n])||"object"!=typeof t[n]&&e.length?e.length?n+=".":t=void 0:(t=t[n],n="")}while(e.length);return t},n.prototype.interpolateFunction=function(t,n){return t(n)},n.prototype.interpolateString=function(t,n){var e=this;return n?t.replace(this.templateMatcher,function(t,r){var i=e.getValue(n,r);return Yd(i)?i:t}):t},n}(Jd);ty=function(t,n,e,r){var i,o=arguments.length,l=o<3?n:null===r?r=Object.getOwnPropertyDescriptor(n,e):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(t,n,e,r);else for(var u=t.length-1;u>=0;u--)(i=t[u])&&(l=(o<3?i(l):o>3?i(n,e,l):i(n,e))||l);return o>3&&l&&Object.defineProperty(n,e,l),l}([xt()],ty);var ny=function(){return function(){this.currentLang=this.defaultLang,this.translations={},this.langs=[],this.onTranslationChange=new Ln,this.onLangChange=new Ln,this.onDefaultLangChange=new Ln}}(),ey=e("mrSG").__metadata,ry=e("mrSG").__param,iy=new ut("USE_STORE"),oy=new ut("USE_DEFAULT_LANG"),ly=function(){function t(t,n,e,r,i,o,l){void 0===o&&(o=!0),void 0===l&&(l=!1),this.store=t,this.currentLoader=n,this.compiler=e,this.parser=r,this.missingTranslationHandler=i,this.useDefaultLang=o,this.isolate=l,this.pending=!1,this._onTranslationChange=new Ln,this._onLangChange=new Ln,this._onDefaultLangChange=new Ln,this._langs=[],this._translations={},this._translationRequests={}}return Object.defineProperty(t.prototype,"onTranslationChange",{get:function(){return this.isolate?this._onTranslationChange:this.store.onTranslationChange},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"onLangChange",{get:function(){return this.isolate?this._onLangChange:this.store.onLangChange},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"onDefaultLangChange",{get:function(){return this.isolate?this._onDefaultLangChange:this.store.onDefaultLangChange},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"defaultLang",{get:function(){return this.isolate?this._defaultLang:this.store.defaultLang},set:function(t){this.isolate?this._defaultLang=t:this.store.defaultLang=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"currentLang",{get:function(){return this.isolate?this._currentLang:this.store.currentLang},set:function(t){this.isolate?this._currentLang=t:this.store.currentLang=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"langs",{get:function(){return this.isolate?this._langs:this.store.langs},set:function(t){this.isolate?this._langs=t:this.store.langs=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"translations",{get:function(){return this.isolate?this._translations:this.store.translations},set:function(t){this.isolate?this._translations=t:this.store.translations=t},enumerable:!0,configurable:!0}),t.prototype.setDefaultLang=function(t){var n=this;if(t!==this.defaultLang){var e=this.retrieveTranslations(t);void 0!==e?(this.defaultLang||(this.defaultLang=t),e.pipe(Cf(1)).subscribe(function(e){n.changeDefaultLang(t)})):this.changeDefaultLang(t)}},t.prototype.getDefaultLang=function(){return this.defaultLang},t.prototype.use=function(t){var n=this;if(t===this.currentLang)return _u(this.translations[t]);var e=this.retrieveTranslations(t);return void 0!==e?(this.currentLang||(this.currentLang=t),e.pipe(Cf(1)).subscribe(function(e){n.changeLang(t)}),e):(this.changeLang(t),_u(this.translations[t]))},t.prototype.retrieveTranslations=function(t){var n;return void 0===this.translations[t]&&(this._translationRequests[t]=this._translationRequests[t]||this.getTranslation(t),n=this._translationRequests[t]),n},t.prototype.getTranslation=function(t){var n=this;return this.pending=!0,this.loadingTranslations=this.currentLoader.getTranslation(t).pipe(ot()),this.loadingTranslations.pipe(Cf(1)).subscribe(function(e){n.translations[t]=n.compiler.compileTranslations(e,t),n.updateLangs(),n.pending=!1},function(t){n.pending=!1}),this.loadingTranslations},t.prototype.setTranslation=function(t,n,e){void 0===e&&(e=!1),n=this.compiler.compileTranslations(n,t),this.translations[t]=e&&this.translations[t]?function t(n,e){var r=Object.assign({},n);return Xd(n)&&Xd(e)&&Object.keys(e).forEach(function(i){var o,l;Xd(e[i])?i in n?r[i]=t(n[i],e[i]):Object.assign(r,((o={})[i]=e[i],o)):Object.assign(r,((l={})[i]=e[i],l))}),r}(this.translations[t],n):n,this.updateLangs(),this.onTranslationChange.emit({lang:t,translations:this.translations[t]})},t.prototype.getLangs=function(){return this.langs},t.prototype.addLangs=function(t){var n=this;t.forEach(function(t){-1===n.langs.indexOf(t)&&n.langs.push(t)})},t.prototype.updateLangs=function(){this.addLangs(Object.keys(this.translations))},t.prototype.getParsedResult=function(t,n,e){var r;if(n instanceof Array){for(var i={},o=!1,l=0,u=n;l=0;u--)(i=t[u])&&(l=(o<3?i(l):o>3?i(n,e,l):i(n,e))||l);return o>3&&l&&Object.defineProperty(n,e,l),l}([xt(),ry(5,_t(oy)),ry(6,_t(iy)),ey("design:paramtypes",[ny,kf,Qd,Jd,Gd,Boolean,Boolean])],ly);var uy=function(t,n,e,r){var i,o=arguments.length,l=o<3?n:null===r?r=Object.getOwnPropertyDescriptor(n,e):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(t,n,e,r);else for(var u=t.length-1;u>=0;u--)(i=t[u])&&(l=(o<3?i(l):o>3?i(n,e,l):i(n,e))||l);return o>3&&l&&Object.defineProperty(n,e,l),l},sy=function(t,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,n)},ay=function(){function t(t,n,e){var r=this;this.translateService=t,this.element=n,this._ref=e,this.onTranslationChangeSub||(this.onTranslationChangeSub=this.translateService.onTranslationChange.subscribe(function(t){t.lang===r.translateService.currentLang&&r.checkNodes(!0,t.translations)})),this.onLangChangeSub||(this.onLangChangeSub=this.translateService.onLangChange.subscribe(function(t){r.checkNodes(!0,t.translations)})),this.onDefaultLangChangeSub||(this.onDefaultLangChangeSub=this.translateService.onDefaultLangChange.subscribe(function(t){r.checkNodes(!0)}))}return Object.defineProperty(t.prototype,"translate",{set:function(t){t&&(this.key=t,this.checkNodes())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"translateParams",{set:function(t){Zd(this.currentParams,t)||(this.currentParams=t,this.checkNodes(!0))},enumerable:!0,configurable:!0}),t.prototype.ngAfterViewChecked=function(){this.checkNodes()},t.prototype.checkNodes=function(t,n){void 0===t&&(t=!1);var e=this.element.nativeElement.childNodes;e.length||(this.setContent(this.element.nativeElement,this.key),e=this.element.nativeElement.childNodes);for(var r=0;r=0;u--)(i=t[u])&&(l=(o<3?i(l):o>3?i(n,e,l):i(n,e))||l);return o>3&&l&&Object.defineProperty(n,e,l),l}([xt(),gt({name:"translate",pure:!1}),function(t,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata("design:paramtypes",[ly,me])}()],cy);var hy,py=hy=function(){function t(){}return t.forRoot=function(t){return void 0===t&&(t={}),{ngModule:hy,providers:[t.loader||{provide:kf,useClass:Tf},t.compiler||{provide:Qd,useClass:$d},t.parser||{provide:Jd,useClass:ty},t.missingTranslationHandler||{provide:Gd,useClass:Wd},ny,{provide:iy,useValue:t.isolate},{provide:oy,useValue:t.useDefaultLang},ly]}},t.forChild=function(t){return void 0===t&&(t={}),{ngModule:hy,providers:[t.loader||{provide:kf,useClass:Tf},t.compiler||{provide:Qd,useClass:$d},t.parser||{provide:Jd,useClass:ty},t.missingTranslationHandler||{provide:Gd,useClass:Wd},{provide:iy,useValue:t.isolate},{provide:oy,useValue:t.useDefaultLang},ly]}},t}(),fy=function(){function t(t,n,e,r){var i=this;this.api=t,this.explorer=n,this.route=e,this.translate=r,this.blocks=[],this.blockCount=0,this.pageIndex=0,this.pageSize=10,this.loadingCoinSupplyMsg="",this.loadingMetadataMsg="",this.mouseOver=-1,r.get("general.loadingMsg").subscribe(function(t){i.loadingCoinSupplyMsg=i.loadingMetadataMsg=t})}return Object.defineProperty(t.prototype,"pageCount",{get:function(){return Math.ceil(this.blockCount/this.pageSize)},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){var t=this;this.api.getBlockchainMetadata().first().subscribe(function(n){t.blockCount=n.blocks,t.route.paramMap.subscribe(function(n){var e=parseInt(n.get("page"),10)-1;t.navigate(e)})},function(n){t.translate.get(["general.shortLoadingErrorMsg","general.longLoadingErrorMsg"]).subscribe(function(n){t.loadingMetadataMsg=n["general.shortLoadingErrorMsg"],t.longErrorMsg=n["general.longLoadingErrorMsg"]})}),this.api.getCoinSupply().first().subscribe(function(n){t.currentSupply=n.current_supply,t.totalSupply=n.total_supply,t.currentCoinhourSupply=n.current_coinhour_supply,t.totalCoinhourSupply=n.total_coinhour_supply},function(n){t.translate.get("general.shortLoadingErrorMsg").subscribe(function(n){t.loadingCoinSupplyMsg=n})})},t.prototype.navigate=function(t){var n=this;this.pageIndex=t;var e=this.blockCount-this.pageIndex*this.pageSize,r=e-this.pageSize+1;this.explorer.getBlocks(r>0?r:0,e>0?e:0).first().subscribe(function(t){return n.blocks=t})},t}();T.prototype.filter=ec,T.prototype.switchMap=function(t,n){return mf(t,n)(this)};var dy=function(){function t(t,n){var e=this;this.explorer=t,this.translate=n,this.loadingMsg="",n.get("general.loadingMsg").subscribe(function(t){e.loadingMsg=t})}return t.prototype.ngOnInit=function(){var t=this;this.explorer.getUnconfirmedTransactions().subscribe(function(n){if(t.transactions=n,n.length>0){var e=n.sort(function(t,n){return n.timestamp-t.timestamp});t.mostRecent=e[0].timestamp,t.leastRecent=e[e.length-1].timestamp,t.totalSize=e.map(function(t){return t.length}).reduce(function(t,n){return t+n})}},function(n){t.translate.get(["general.shortLoadingErrorMsg","general.longLoadingErrorMsg"]).subscribe(function(n){t.loadingMsg=n["general.shortLoadingErrorMsg"],t.longErrorMsg=n["general.longLoadingErrorMsg"]})})},t}(),yy=function(){function t(t,n,e,r){var i=this;this.explorer=t,this.route=n,this.translate=e,this.api=r,this.loadingMsg="",e.get("general.loadingMsg").subscribe(function(t){i.loadingMsg=t})}return t.prototype.ngOnInit=function(){var t=this;this.api.getBlockchainMetadata().first().subscribe(function(n){return t.blockCount=n.blocks});var n="";this.route.params.filter(function(t){return null!==+t.id}).switchMap(function(e){return t.explorer.getBlock(+(n=e.id))}).subscribe(function(e){null!=e?t.block=e:t.translate.get(["general.noData","blockDetails.doesNotExist"],{number:n}).subscribe(function(n){t.loadingMsg=n["general.noData"],t.longErrorMsg=n["blockDetails.doesNotExist"]})},function(e){e.status>=400&&e.status<500?t.translate.get(["general.noData","blockDetails.doesNotExist"],{number:n}).subscribe(function(n){t.loadingMsg=n["general.noData"],t.longErrorMsg=n["blockDetails.doesNotExist"]}):t.translate.get(["general.shortLoadingErrorMsg","general.longLoadingErrorMsg"]).subscribe(function(n){t.loadingMsg=n["general.shortLoadingErrorMsg"],t.longErrorMsg=n["general.longLoadingErrorMsg"]})})},t}(),gy=function(){function t(t,n,e){var r=this;this.explorer=t,this.route=n,this.translate=e,this.loadingMsg="",e.get("general.loadingMsg").subscribe(function(t){r.loadingMsg=t})}return t.prototype.ngOnInit=function(){var t=this;this.route.params.flatMap(function(n){return t.explorer.getTransaction(n.txid)}).subscribe(function(n){return t.transaction=n},function(n){n.status>=400&&n.status<500?t.translate.get(["general.noData","transactionDetail.canNotFind"]).subscribe(function(n){t.loadingMsg=n["general.noData"],t.longErrorMsg=n["transactionDetail.canNotFind"]}):t.translate.get(["general.shortLoadingErrorMsg","general.longLoadingErrorMsg"]).subscribe(function(n){t.loadingMsg=n["general.shortLoadingErrorMsg"],t.longErrorMsg=n["general.longLoadingErrorMsg"]})})},t}(),vy=function(t){function n(){t.apply(this,arguments),this.value=null,this.hasNext=!1,this.hasCompleted=!1}return Object(i.__extends)(n,t),n.prototype._subscribe=function(n){return this.hasError?(n.error(this.thrownError),v.EMPTY):this.hasCompleted&&this.hasNext?(n.next(this.value),n.complete(),v.EMPTY):t.prototype._subscribe.call(this,n)},n.prototype.next=function(t){this.hasCompleted||(this.value=t,this.hasNext=!0)},n.prototype.error=function(n){this.hasCompleted||t.prototype.error.call(this,n)},n.prototype.complete=function(){this.hasCompleted=!0,this.hasNext&&t.prototype.next.call(this,this.value),t.prototype.complete.call(this)},n}(Q);function my(t){var n=t.subject;n.next(t.value),n.complete()}function by(t){t.subject.error(t.err)}function _y(t){var n=this,e=t.source,r=t.subscriber,i=t.context,o=e.callbackFunc,l=e.args,u=e.scheduler,s=e.subject;if(!s){s=e.subject=new vy;var a=function t(){for(var e=[],r=0;r=0}T.if=Ny.create;var Ry=function(t){function n(n,e){t.call(this,n,e),this.scheduler=n,this.work=e,this.pending=!1}return Object(i.__extends)(n,t),n.prototype.schedule=function(t,n){if(void 0===n&&(n=0),this.closed)return this;this.state=t,this.pending=!0;var e=this.id,r=this.scheduler;return null!=e&&(this.id=this.recycleAsyncId(r,e,n)),this.delay=n,this.id=this.id||this.requestAsyncId(r,this.id,n),this},n.prototype.requestAsyncId=function(t,n,e){return void 0===e&&(e=0),s.setInterval(t.flush.bind(t,this),e)},n.prototype.recycleAsyncId=function(t,n,e){if(void 0===e&&(e=0),null!==e&&this.delay===e&&!1===this.pending)return n;s.clearInterval(n)},n.prototype.execute=function(t,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var e=this._execute(t,n);if(e)return e;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},n.prototype._execute=function(t,n){var e=!1,r=void 0;try{this.work(t)}catch(t){e=!0,r=!!t&&t||new Error(t)}if(e)return this.unsubscribe(),r},n.prototype._unsubscribe=function(){var t=this.id,n=this.scheduler,e=n.actions,r=e.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==r&&e.splice(r,1),null!=t&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null},n}(function(t){function n(n,e){t.call(this)}return Object(i.__extends)(n,t),n.prototype.schedule=function(t,n){return void 0===n&&(n=0),this},n}(v)),Dy=function(t){function n(){t.apply(this,arguments),this.actions=[],this.active=!1,this.scheduled=void 0}return Object(i.__extends)(n,t),n.prototype.flush=function(t){var n=this.actions;if(this.active)n.push(t);else{var e;this.active=!0;do{if(e=t.execute(t.state,t.delay))break}while(t=n.shift());if(this.active=!1,e){for(;t=n.shift();)t.unsubscribe();throw e}}},n}(function(){function t(n,e){void 0===e&&(e=t.now),this.SchedulerAction=n,this.now=e}return t.prototype.schedule=function(t,n,e){return void 0===n&&(n=0),new this.SchedulerAction(this,t).schedule(e,n)},t.now=Date.now?Date.now:function(){return+new Date},t}()),Ly=new Dy(Ry);function Vy(){for(var t=[],n=0;n=t.count?r.complete():(r.next(n),r.closed||(t.index=e+1,t.start=n+1,this.schedule(t)))},n.prototype._subscribe=function(t){var e=0,r=this.start,i=this._count,o=this.scheduler;if(o)return o.schedule(n.dispatch,0,{index:e,count:i,start:r,subscriber:t});for(;;){if(e++>=i){t.complete();break}if(t.next(r++),t.closed)break}},n}(T).create;var Ky=function(t){function n(n,e){t.call(this),this.resourceFactory=n,this.observableFactory=e}return Object(i.__extends)(n,t),n.create=function(t,e){return new n(t,e)},n.prototype._subscribe=function(t){var n,e=this.resourceFactory,r=this.observableFactory;try{return n=e(),new Gy(t,n,r)}catch(n){t.error(n)}},n}(T),Gy=function(t){function n(n,e,r){t.call(this,n),this.resource=e,this.observableFactory=r,n.add(e),this.tryUse()}return Object(i.__extends)(n,t),n.prototype.tryUse=function(){try{var t=this.observableFactory.call(this,this.resource);t&&this.add(L(this,t))}catch(t){this._error(t)}},n}(V);function Wy(t){return t instanceof Date&&!isNaN(+t)}T.using=Ky.create;var Qy=function(t){function n(n,e,r){void 0===n&&(n=0),t.call(this),this.period=-1,this.dueTime=0,jy(e)?this.period=Number(e)<1?1:Number(e):M(e)&&(r=e),M(r)||(r=Ly),this.scheduler=r,this.dueTime=Wy(n)?+n-this.scheduler.now():n}return Object(i.__extends)(n,t),n.create=function(t,e,r){return void 0===t&&(t=0),new n(t,e,r)},n.dispatch=function(t){var n=t.index,e=t.period,r=t.subscriber;if(r.next(n),!r.closed){if(-1===e)return r.complete();t.index=n+1,this.schedule(t,e)}},n.prototype._subscribe=function(t){return this.scheduler.schedule(n.dispatch,this.dueTime,{index:0,period:this.period,subscriber:t})},n}(T).create;function $y(){for(var t=[],n=0;nthis.index},t.prototype.hasCompleted=function(){return this.array.length===this.index},t}(),ng=function(t){function n(n,e,r){t.call(this,n),this.parent=e,this.observable=r,this.stillUnsubscribed=!0,this.buffer=[],this.isComplete=!1}return Object(i.__extends)(n,t),n.prototype[R]=function(){return this},n.prototype.next=function(){var t=this.buffer;return 0===t.length&&this.isComplete?{value:null,done:!0}:{value:t.shift(),done:!1}},n.prototype.hasValue=function(){return this.buffer.length>0},n.prototype.hasCompleted=function(){return 0===this.buffer.length&&this.isComplete},n.prototype.notifyComplete=function(){this.buffer.length>0?(this.isComplete=!0,this.parent.notifyInactive()):this.destination.complete()},n.prototype.notifyNext=function(t,n,e,r,i){this.buffer.push(n),this.parent.checkIterators()},n.prototype.subscribe=function(t,n){return L(this,this.observable,this,n)},n}(V);function eg(t,n){return void 0===n&&(n=null),new ag({method:"GET",url:t,headers:n})}function rg(t,n,e){return new ag({method:"POST",url:t,body:n,headers:e})}function ig(t,n){return new ag({method:"DELETE",url:t,headers:n})}function og(t,n,e){return new ag({method:"PUT",url:t,body:n,headers:e})}function lg(t,n,e){return new ag({method:"PATCH",url:t,body:n,headers:e})}T.zip=Zy;var ug=Cu(function(t,n){return t.response});function sg(t,n){return ug(new ag({method:"GET",url:t,responseType:"json",headers:n}))}var ag=function(t){function n(n){t.call(this);var e={async:!0,createXHR:function(){return this.crossDomain?(function(){if(s.XMLHttpRequest)return new s.XMLHttpRequest;if(s.XDomainRequest)return new s.XDomainRequest;throw new Error("CORS is not supported by your browser")}).call(this):function(){if(s.XMLHttpRequest)return new s.XMLHttpRequest;var t=void 0;try{for(var n=["Msxml2.XMLHTTP","Microsoft.XMLHTTP","Msxml2.XMLHTTP.4.0"],e=0;e<3;e++)try{if(new s.ActiveXObject(t=n[e]))break}catch(t){}return new s.ActiveXObject(t)}catch(t){throw new Error("XMLHttpRequest is not supported by your browser")}}()},crossDomain:!1,withCredentials:!1,headers:{},method:"GET",responseType:"json",timeout:0};if("string"==typeof n)e.url=n;else for(var r in n)n.hasOwnProperty(r)&&(e[r]=n[r]);this.request=e}var e;return Object(i.__extends)(n,t),n.prototype._subscribe=function(t){return new cg(t,this.request)},n.create=((e=function(t){return new n(t)}).get=eg,e.post=rg,e.delete=ig,e.put=og,e.patch=lg,e.getJSON=sg,e),n}(T),cg=function(t){function n(n,e){t.call(this,n),this.request=e,this.done=!1;var r=e.headers=e.headers||{};e.crossDomain||r["X-Requested-With"]||(r["X-Requested-With"]="XMLHttpRequest"),"Content-Type"in r||s.FormData&&e.body instanceof s.FormData||void 0===e.body||(r["Content-Type"]="application/x-www-form-urlencoded; charset=UTF-8"),e.body=this.serializeBody(e.body,e.headers["Content-Type"]),this.send()}return Object(i.__extends)(n,t),n.prototype.next=function(t){this.done=!0;var n=this.destination,e=new hg(t,this.xhr,this.request);n.next(e)},n.prototype.send=function(){var t=this.request,n=this.request,e=n.user,r=n.method,i=n.url,o=n.async,l=n.password,u=n.headers,s=n.body,a=y(t.createXHR).call(t);if(a===f)this.error(f.e);else{if(this.xhr=a,this.setupEvents(a,t),(e?y(a.open).call(a,r,i,o,e,l):y(a.open).call(a,r,i,o))===f)return this.error(f.e),null;if(o&&(a.timeout=t.timeout,a.responseType=t.responseType),"withCredentials"in a&&(a.withCredentials=!!t.withCredentials),this.setHeaders(a,u),(s?y(a.send).call(a,s):y(a.send).call(a))===f)return this.error(f.e),null}return a},n.prototype.serializeBody=function(t,n){if(!t||"string"==typeof t)return t;if(s.FormData&&t instanceof s.FormData)return t;if(n){var e=n.indexOf(";");-1!==e&&(n=n.substring(0,e))}switch(n){case"application/x-www-form-urlencoded":return Object.keys(t).map(function(n){return encodeURI(n)+"="+encodeURI(t[n])}).join("&");case"application/json":return JSON.stringify(t);default:return t}},n.prototype.setHeaders=function(t,n){for(var e in n)n.hasOwnProperty(e)&&t.setRequestHeader(e,n[e])},n.prototype.setupEvents=function(t,n){var e,r,i=n.progressSubscriber;function o(t){var n=o.subscriber,e=o.progressSubscriber,r=o.request;e&&e.error(t),n.error(new dg(this,r))}function l(t){var n=l.subscriber,e=l.progressSubscriber,r=l.request;if(4===this.readyState){var i=1223===this.status?204:this.status;0===i&&(i=("text"===this.responseType?this.response||this.responseText:this.response)?200:0),200<=i&&i<300?(e&&e.complete(),n.next(t),n.complete()):(e&&e.error(t),n.error(new pg("ajax error "+i,this,r)))}}t.ontimeout=o,o.request=n,o.subscriber=this,o.progressSubscriber=i,t.upload&&"withCredentials"in t&&(i&&(e=function(t){e.progressSubscriber.next(t)},s.XDomainRequest?t.onprogress=e:t.upload.onprogress=e,e.progressSubscriber=i),t.onerror=r=function(t){var n=r.progressSubscriber,e=r.subscriber,i=r.request;n&&n.error(t),e.error(new pg("ajax error",this,i))},r.request=n,r.subscriber=this,r.progressSubscriber=i),t.onreadystatechange=l,l.subscriber=this,l.progressSubscriber=i,l.request=n},n.prototype.unsubscribe=function(){var n=this.xhr;!this.done&&n&&4!==n.readyState&&"function"==typeof n.abort&&n.abort(),t.prototype.unsubscribe.call(this)},n}(x),hg=function(){return function(t,n,e){this.originalEvent=t,this.xhr=n,this.request=e,this.status=n.status,this.responseType=n.responseType||e.responseType,this.response=fg(this.responseType,n)}}(),pg=function(t){function n(n,e,r){t.call(this,n),this.message=n,this.xhr=e,this.request=r,this.status=e.status,this.responseType=e.responseType||r.responseType,this.response=fg(this.responseType,e)}return Object(i.__extends)(n,t),n}(Error);function fg(t,n){switch(t){case"json":return"response"in n?n.responseType?n.response:JSON.parse(n.response||n.responseText||"null"):JSON.parse(n.responseText||"null");case"xml":return n.responseXML;case"text":default:return"response"in n?n.response:n.responseText}}var dg=function(t){function n(n,e){t.call(this,"ajax timeout",n,e)}return Object(i.__extends)(n,t),n}(pg);T.ajax=ag.create;var yg=function(t){function n(n,e){t.call(this,n,e),this.scheduler=n,this.work=e}return Object(i.__extends)(n,t),n.prototype.schedule=function(n,e){return void 0===e&&(e=0),e>0?t.prototype.schedule.call(this,n,e):(this.delay=e,this.state=n,this.scheduler.flush(this),this)},n.prototype.execute=function(n,e){return e>0||this.closed?t.prototype.execute.call(this,n,e):this._execute(n,e)},n.prototype.requestAsyncId=function(n,e,r){return void 0===r&&(r=0),null!==r&&r>0||null===r&&this.delay>0?t.prototype.requestAsyncId.call(this,n,e,r):n.flush(this)},n}(Ry),gg=new(function(t){function n(){t.apply(this,arguments)}return Object(i.__extends)(n,t),n}(Dy))(yg),vg=function(t){function n(n,e,r){void 0===n&&(n=Number.POSITIVE_INFINITY),void 0===e&&(e=Number.POSITIVE_INFINITY),t.call(this),this.scheduler=r,this._events=[],this._bufferSize=n<1?1:n,this._windowTime=e<1?1:e}return Object(i.__extends)(n,t),n.prototype.next=function(n){var e=this._getNow();this._events.push(new mg(e,n)),this._trimBufferThenGetEvents(),t.prototype.next.call(this,n)},n.prototype._subscribe=function(t){var n,e=this._trimBufferThenGetEvents(),r=this.scheduler;if(this.closed)throw new K;this.hasError?n=v.EMPTY:this.isStopped?n=v.EMPTY:(this.observers.push(t),n=new G(this,t)),r&&t.add(t=new Fu(t,r));for(var i=e.length,o=0;on&&(o=Math.max(o,i-n)),o>0&&r.splice(0,o),r},n}(Q),mg=function(t,n){this.time=t,this.value=n};function bg(t){for(var n=[],e=1;e0&&this.destination.next(n),t.prototype._complete.call(this)},n}(x),kg=function(t){function n(n,e,r){t.call(this,n),this.bufferSize=e,this.startBufferEvery=r,this.buffers=[],this.count=0}return Object(i.__extends)(n,t),n.prototype._next=function(t){var n=this.bufferSize,e=this.startBufferEvery,r=this.buffers,i=this.count;this.count++,i%e==0&&r.push([]);for(var o=r.length;o--;){var l=r[o];l.push(t),l.length===n&&(r.splice(o,1),this.destination.next(l))}},n.prototype._complete=function(){for(var n=this.buffers,e=this.destination;n.length>0;){var r=n.shift();r.length>0&&e.next(r)}t.prototype._complete.call(this)},n}(x);function Tg(t){var n=arguments.length,e=Ly;M(arguments[arguments.length-1])&&(e=arguments[arguments.length-1],n--);var r=null;n>=2&&(r=arguments[1]);var i=Number.POSITIVE_INFINITY;return n>=3&&(i=arguments[2]),function(n){return n.lift(new Pg(t,r,i,e))}}T.prototype.bufferCount=function(t,n){return void 0===n&&(n=null),Sg(t,n)(this)};var Pg=function(){function t(t,n,e,r){this.bufferTimeSpan=t,this.bufferCreationInterval=n,this.maxBufferSize=e,this.scheduler=r}return t.prototype.call=function(t,n){return n.subscribe(new Ig(t,this.bufferTimeSpan,this.bufferCreationInterval,this.maxBufferSize,this.scheduler))},t}(),Ig=function(t){function n(n,e,r,i,o){t.call(this,n),this.bufferTimeSpan=e,this.bufferCreationInterval=r,this.maxBufferSize=i,this.scheduler=o,this.contexts=[];var l=this.openContext();if(this.timespanOnly=null==r||r<0,this.timespanOnly)this.add(l.closeAction=o.schedule(Mg,e,{subscriber:this,context:l,bufferTimeSpan:e}));else{var u={bufferTimeSpan:e,bufferCreationInterval:r,subscriber:this,scheduler:o};this.add(l.closeAction=o.schedule(Ag,e,{subscriber:this,context:l})),this.add(o.schedule(Ng,r,u))}}return Object(i.__extends)(n,t),n.prototype._next=function(t){for(var n,e=this.contexts,r=e.length,i=0;i0;){var r=n.shift();e.next(r.buffer)}t.prototype._complete.call(this)},n.prototype._unsubscribe=function(){this.contexts=null},n.prototype.onBufferFull=function(t){this.closeContext(t);var n=t.closeAction;if(n.unsubscribe(),this.remove(n),!this.closed&&this.timespanOnly){t=this.openContext();var e=this.bufferTimeSpan;this.add(t.closeAction=this.scheduler.schedule(Mg,e,{subscriber:this,context:t,bufferTimeSpan:e}))}},n.prototype.openContext=function(){var t=new function(){this.buffer=[]};return this.contexts.push(t),t},n.prototype.closeContext=function(t){this.destination.next(t.buffer);var n=this.contexts;(n?n.indexOf(t):-1)>=0&&n.splice(n.indexOf(t),1)},n}(x);function Mg(t){var n=t.subscriber,e=t.context;e&&n.closeContext(e),n.closed||(t.context=n.openContext(),t.context.closeAction=this.schedule(t,t.bufferTimeSpan))}function Ng(t){var n=t.bufferCreationInterval,e=t.bufferTimeSpan,r=t.subscriber,i=t.scheduler,o=r.openContext();r.closed||(r.add(o.closeAction=i.schedule(Ag,e,{subscriber:r,context:o})),this.schedule(t,n))}function Ag(t){t.subscriber.closeContext(t.context)}function jg(t,n){return function(e){return e.lift(new Rg(t,n))}}T.prototype.bufferTime=function(t){var n=arguments.length,e=Ly;M(arguments[arguments.length-1])&&(e=arguments[arguments.length-1],n--);var r=null;n>=2&&(r=arguments[1]);var i=Number.POSITIVE_INFINITY;return n>=3&&(i=arguments[2]),Tg(t,r,i,e)(this)};var Rg=function(){function t(t,n){this.openings=t,this.closingSelector=n}return t.prototype.call=function(t,n){return n.subscribe(new Dg(t,this.openings,this.closingSelector))},t}(),Dg=function(t){function n(n,e,r){t.call(this,n),this.openings=e,this.closingSelector=r,this.contexts=[],this.add(L(this,e))}return Object(i.__extends)(n,t),n.prototype._next=function(t){for(var n=this.contexts,e=n.length,r=0;r0;){var r=e.shift();r.subscription.unsubscribe(),r.buffer=null,r.subscription=null}this.contexts=null,t.prototype._error.call(this,n)},n.prototype._complete=function(){for(var n=this.contexts;n.length>0;){var e=n.shift();this.destination.next(e.buffer),e.subscription.unsubscribe(),e.buffer=null,e.subscription=null}this.contexts=null,t.prototype._complete.call(this)},n.prototype.notifyNext=function(t,n,e,r,i){t?this.closeBuffer(t):this.openBuffer(n)},n.prototype.notifyComplete=function(t){this.closeBuffer(t.context)},n.prototype.openBuffer=function(t){try{var n=this.closingSelector.call(this,t);n&&this.trySubscribe(n)}catch(t){this._error(t)}},n.prototype.closeBuffer=function(t){var n=this.contexts;if(n&&t){var e=t.subscription;this.destination.next(t.buffer),n.splice(n.indexOf(t),1),this.remove(e),e.unsubscribe()}},n.prototype.trySubscribe=function(t){var n=this.contexts,e=new v,r={buffer:[],subscription:e};n.push(r);var i=L(this,t,r);!i||i.closed?this.closeBuffer(r):(i.context=r,this.add(i),e.add(i))},n}(V);function Lg(t){return function(n){return n.lift(new Vg(t))}}T.prototype.bufferToggle=function(t,n){return jg(t,n)(this)};var Vg=function(){function t(t){this.closingSelector=t}return t.prototype.call=function(t,n){return n.subscribe(new Fg(t,this.closingSelector))},t}(),Fg=function(t){function n(n,e){t.call(this,n),this.closingSelector=e,this.subscribing=!1,this.openBuffer()}return Object(i.__extends)(n,t),n.prototype._next=function(t){this.buffer.push(t)},n.prototype._complete=function(){var n=this.buffer;n&&this.destination.next(n),t.prototype._complete.call(this)},n.prototype._unsubscribe=function(){this.buffer=null,this.subscribing=!1},n.prototype.notifyNext=function(t,n,e,r,i){this.openBuffer()},n.prototype.notifyComplete=function(){this.subscribing?this.complete():this.openBuffer()},n.prototype.openBuffer=function(){var t=this.closingSubscription;t&&(this.remove(t),t.unsubscribe()),this.buffer&&this.destination.next(this.buffer),this.buffer=[];var n=y(this.closingSelector)();n===f?this.error(f.e):(t=new v,this.closingSubscription=t,this.add(t),this.subscribing=!0,t.add(L(this,n)),this.subscribing=!1)},n}(V);function Ug(t){return function(n){return n.lift(new Oy(t))}}function Bg(){for(var t=[],n=0;n0&&e[0].time-r.now()<=0;)e.shift().notification.observe(i);if(e.length>0){var o=Math.max(0,e[0].time-r.now());this.schedule(t,o)}else this.unsubscribe(),n.active=!1},n.prototype._schedule=function(t){this.active=!0,this.add(t.schedule(n.dispatch,this.delay,{source:this,destination:this.destination,scheduler:t}))},n.prototype.scheduleNotification=function(t){if(!0!==this.errored){var n=this.scheduler,e=new ov(n.now()+this.delay,t);this.queue.push(e),!1===this.active&&this._schedule(n)}},n.prototype._next=function(t){this.scheduleNotification(Du.createNext(t))},n.prototype._error=function(t){this.errored=!0,this.queue=[],this.destination.error(t)},n.prototype._complete=function(){this.scheduleNotification(Du.createComplete())},n}(x),ov=function(t,n){this.time=t,this.notification=n};function lv(t,n){return n?function(e){return new av(e,n).lift(new uv(t))}:function(n){return n.lift(new uv(t))}}T.prototype.delay=function(t,n){return void 0===n&&(n=Ly),ev(t,n)(this)};var uv=function(){function t(t){this.delayDurationSelector=t}return t.prototype.call=function(t,n){return n.subscribe(new sv(t,this.delayDurationSelector))},t}(),sv=function(t){function n(n,e){t.call(this,n),this.delayDurationSelector=e,this.completed=!1,this.delayNotifierSubscriptions=[],this.values=[]}return Object(i.__extends)(n,t),n.prototype.notifyNext=function(t,n,e,r,i){this.destination.next(t),this.removeSubscription(i),this.tryComplete()},n.prototype.notifyError=function(t,n){this._error(t)},n.prototype.notifyComplete=function(t){var n=this.removeSubscription(t);n&&this.destination.next(n),this.tryComplete()},n.prototype._next=function(t){try{var n=this.delayDurationSelector(t);n&&this.tryDelay(n,t)}catch(t){this.destination.error(t)}},n.prototype._complete=function(){this.completed=!0,this.tryComplete()},n.prototype.removeSubscription=function(t){t.unsubscribe();var n=this.delayNotifierSubscriptions.indexOf(t),e=null;return-1!==n&&(e=this.values[n],this.delayNotifierSubscriptions.splice(n,1),this.values.splice(n,1)),e},n.prototype.tryDelay=function(t,n){var e=L(this,t,n);e&&!e.closed&&(this.add(e),this.delayNotifierSubscriptions.push(e)),this.values.push(n)},n.prototype.tryComplete=function(){this.completed&&0===this.delayNotifierSubscriptions.length&&this.destination.complete()},n}(V),av=function(t){function n(n,e){t.call(this),this.source=n,this.subscriptionDelay=e}return Object(i.__extends)(n,t),n.prototype._subscribe=function(t){this.subscriptionDelay.subscribe(new cv(t,this.source))},n}(T),cv=function(t){function n(n,e){t.call(this),this.parent=n,this.source=e,this.sourceSubscribed=!1}return Object(i.__extends)(n,t),n.prototype._next=function(t){this.subscribeToSource()},n.prototype._error=function(t){this.unsubscribe(),this.parent.error(t)},n.prototype._complete=function(){this.subscribeToSource()},n.prototype.subscribeToSource=function(){this.sourceSubscribed||(this.sourceSubscribed=!0,this.unsubscribe(),this.source.subscribe(this.parent))},n}(x);T.prototype.delayWhen=function(t,n){return lv(t,n)(this)};var hv=s.Set||function(){return function(){function t(){this._values=[]}return t.prototype.add=function(t){this.has(t)||this._values.push(t)},t.prototype.has=function(t){return-1!==this._values.indexOf(t)},Object.defineProperty(t.prototype,"size",{get:function(){return this._values.length},enumerable:!0,configurable:!0}),t.prototype.clear=function(){this._values.length=0},t}()}();function pv(t,n){return function(e){return e.lift(new fv(t,n))}}var fv=function(){function t(t,n){this.keySelector=t,this.flushes=n}return t.prototype.call=function(t,n){return n.subscribe(new dv(t,this.keySelector,this.flushes))},t}(),dv=function(t){function n(n,e,r){t.call(this,n),this.keySelector=e,this.values=new hv,r&&this.add(L(this,r))}return Object(i.__extends)(n,t),n.prototype.notifyNext=function(t,n,e,r,i){this.values.clear()},n.prototype.notifyError=function(t,n){this._error(t)},n.prototype._next=function(t){this.keySelector?this._useKeySelector(t):this._finalizeNext(t,t)},n.prototype._useKeySelector=function(t){var n,e=this.destination;try{n=this.keySelector(t)}catch(t){return void e.error(t)}this._finalizeNext(n,t)},n.prototype._finalizeNext=function(t,n){var e=this.values;e.has(t)||(e.add(t),this.destination.next(n))},n}(V);function yv(t,n){return function(e){return e.lift(new gv(t,n))}}T.prototype.distinct=function(t,n){return pv(t,n)(this)};var gv=function(){function t(t,n){this.compare=t,this.keySelector=n}return t.prototype.call=function(t,n){return n.subscribe(new vv(t,this.compare,this.keySelector))},t}(),vv=function(t){function n(n,e,r){t.call(this,n),this.keySelector=r,this.hasKey=!1,"function"==typeof e&&(this.compare=e)}return Object(i.__extends)(n,t),n.prototype.compare=function(t,n){return t===n},n.prototype._next=function(t){var n=t;if(this.keySelector&&(n=y(this.keySelector)(t))===f)return this.destination.error(f.e);var e=!1;if(this.hasKey){if((e=y(this.compare)(this.key,n))===f)return this.destination.error(f.e)}else this.hasKey=!0;!1===Boolean(e)&&(this.key=n,this.destination.next(t))},n}(x);function mv(t,n){return yv(function(e,r){return n?n(e[t],r[t]):e[t]===r[t]})}function bv(t,n,e){return function(r){return r.lift(new _v(t,n,e))}}T.prototype.distinctUntilChanged=function(t,n){return yv(t,n)(this)},T.prototype.distinctUntilKeyChanged=function(t,n){return mv(t,n)(this)};var _v=function(){function t(t,n,e){this.nextOrObserver=t,this.error=n,this.complete=e}return t.prototype.call=function(t,n){return n.subscribe(new wv(t,this.nextOrObserver,this.error,this.complete))},t}(),wv=function(t){function n(n,e,r,i){t.call(this,n);var o=new x(e,r,i);o.syncErrorThrowable=!0,this.add(o),this.safeSubscriber=o}return Object(i.__extends)(n,t),n.prototype._next=function(t){var n=this.safeSubscriber;n.next(t),n.syncErrorThrown?this.destination.error(n.syncErrorValue):this.destination.next(t)},n.prototype._error=function(t){var n=this.safeSubscriber;n.error(t),this.destination.error(n.syncErrorThrown?n.syncErrorValue:t)},n.prototype._complete=function(){var t=this.safeSubscriber;t.complete(),t.syncErrorThrown?this.destination.error(t.syncErrorValue):this.destination.complete()},n}(x);function xv(t,n,e){return bv(t,n,e)(this)}function Cv(){return function(t){return t.lift(new Sv)}}T.prototype.do=xv,T.prototype._do=xv;var Sv=function(){function t(){}return t.prototype.call=function(t,n){return n.subscribe(new Ov(t))},t}(),Ov=function(t){function n(n){t.call(this,n),this.hasCompleted=!1,this.hasSubscription=!1}return Object(i.__extends)(n,t),n.prototype._next=function(t){this.hasSubscription||(this.hasSubscription=!0,this.add(L(this,t)))},n.prototype._complete=function(){this.hasCompleted=!0,this.hasSubscription||this.destination.complete()},n.prototype.notifyComplete=function(t){this.remove(t),this.hasSubscription=!1,this.hasCompleted&&this.destination.complete()},n}(V);function Ev(t,n){return function(e){return e.lift(new kv(t,n))}}T.prototype.exhaust=function(){return Cv()(this)};var kv=function(){function t(t,n){this.project=t,this.resultSelector=n}return t.prototype.call=function(t,n){return n.subscribe(new Tv(t,this.project,this.resultSelector))},t}(),Tv=function(t){function n(n,e,r){t.call(this,n),this.project=e,this.resultSelector=r,this.hasSubscription=!1,this.hasCompleted=!1,this.index=0}return Object(i.__extends)(n,t),n.prototype._next=function(t){this.hasSubscription||this.tryNext(t)},n.prototype.tryNext=function(t){var n=this.index++,e=this.destination;try{var r=this.project(t,n);this.hasSubscription=!0,this.add(L(this,r,t,n))}catch(t){e.error(t)}},n.prototype._complete=function(){this.hasCompleted=!0,this.hasSubscription||this.destination.complete()},n.prototype.notifyNext=function(t,n,e,r,i){var o=this.destination;this.resultSelector?this.trySelectResult(t,n,e,r):o.next(n)},n.prototype.trySelectResult=function(t,n,e,r){var i=this.resultSelector,o=this.destination;try{var l=i(t,n,e,r);o.next(l)}catch(t){o.error(t)}},n.prototype.notifyError=function(t){this.destination.error(t)},n.prototype.notifyComplete=function(t){this.remove(t),this.hasSubscription=!1,this.hasCompleted&&this.destination.complete()},n}(V);function Pv(t,n,e){return void 0===n&&(n=Number.POSITIVE_INFINITY),void 0===e&&(e=void 0),n=(n||0)<1?Number.POSITIVE_INFINITY:n,function(r){return r.lift(new Iv(t,n,e))}}T.prototype.exhaustMap=function(t,n){return Ev(t,n)(this)};var Iv=function(){function t(t,n,e){this.project=t,this.concurrent=n,this.scheduler=e}return t.prototype.call=function(t,n){return n.subscribe(new Mv(t,this.project,this.concurrent,this.scheduler))},t}(),Mv=function(t){function n(n,e,r,i){t.call(this,n),this.project=e,this.concurrent=r,this.scheduler=i,this.index=0,this.active=0,this.hasCompleted=!1,r0&&this._next(n.shift()),this.hasCompleted&&0===this.active&&this.destination.complete()},n}(V);function Nv(t,n){return function(e){return e.lift(new Av(t,n))}}T.prototype.expand=function(t,n,e){return void 0===n&&(n=Number.POSITIVE_INFINITY),void 0===e&&(e=void 0),Pv(t,n=(n||0)<1?Number.POSITIVE_INFINITY:n,e)(this)};var Av=function(){function t(t,n){if(this.index=t,this.defaultValue=n,t<0)throw new fs}return t.prototype.call=function(t,n){return n.subscribe(new jv(t,this.index,this.defaultValue))},t}(),jv=function(t){function n(n,e,r){t.call(this,n),this.index=e,this.defaultValue=r}return Object(i.__extends)(n,t),n.prototype._next=function(t){0==this.index--&&(this.destination.next(t),this.destination.complete())},n.prototype._complete=function(){var t=this.destination;this.index>=0&&(void 0!==this.defaultValue?t.next(this.defaultValue):t.error(new fs)),t.complete()},n}(x);function Rv(t){return function(n){return n.lift(new Dv(t))}}T.prototype.elementAt=function(t,n){return Nv(t,n)(this)};var Dv=function(){function t(t){this.callback=t}return t.prototype.call=function(t,n){return n.subscribe(new Lv(t,this.callback))},t}(),Lv=function(t){function n(n,e){t.call(this,n),this.add(new v(e))}return Object(i.__extends)(n,t),n}(x);function Vv(t){return Rv(t)(this)}function Fv(t,n){if("function"!=typeof t)throw new TypeError("predicate is not a function");return function(e){return e.lift(new Uv(t,e,!1,n))}}T.prototype.finally=Vv,T.prototype._finally=Vv;var Uv=function(){function t(t,n,e,r){this.predicate=t,this.source=n,this.yieldIndex=e,this.thisArg=r}return t.prototype.call=function(t,n){return n.subscribe(new Bv(t,this.predicate,this.source,this.yieldIndex,this.thisArg))},t}(),Bv=function(t){function n(n,e,r,i,o){t.call(this,n),this.predicate=e,this.source=r,this.yieldIndex=i,this.thisArg=o,this.index=0}return Object(i.__extends)(n,t),n.prototype.notifyComplete=function(t){var n=this.destination;n.next(t),n.complete()},n.prototype._next=function(t){var n=this.predicate,e=this.thisArg,r=this.index++;try{n.call(e||this,t,r,this.source)&&this.notifyComplete(this.yieldIndex?r:t)}catch(t){this.destination.error(t)}},n.prototype._complete=function(){this.notifyComplete(this.yieldIndex?-1:void 0)},n}(x);function zv(t,n){return function(e){return e.lift(new Uv(t,e,!0,n))}}T.prototype.find=function(t,n){return Fv(t,n)(this)},T.prototype.findIndex=function(t,n){return zv(t,n)(this)};var Hv=function(){function t(){this.size=0,this._values=[],this._keys=[]}return t.prototype.get=function(t){var n=this._keys.indexOf(t);return-1===n?void 0:this._values[n]},t.prototype.set=function(t,n){var e=this._keys.indexOf(t);return-1===e?(this._keys.push(t),this._values.push(n),this.size++):this._values[e]=n,this},t.prototype.delete=function(t){var n=this._keys.indexOf(t);return-1!==n&&(this._values.splice(n,1),this._keys.splice(n,1),this.size--,!0)},t.prototype.clear=function(){this._keys.length=0,this._values.length=0,this.size=0},t.prototype.forEach=function(t,n){for(var e=0;e0?n:e}:function(t,n){return t>n?t:n})}function gm(t,n,e){return void 0===e&&(e=Number.POSITIVE_INFINITY),"number"==typeof n&&(e=n,n=null),function(r){return r.lift(new vm(t,n,e))}}T.prototype.materialize=function(){return pm()(this)},T.prototype.max=function(t){return ym(t)(this)},T.prototype.merge=function(){for(var t=[],n=0;n0?this._next(n.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},n}(V);function bm(t,n,e){return void 0===e&&(e=Number.POSITIVE_INFINITY),gm(t,n,e)(this)}function _m(t,n,e){return void 0===e&&(e=Number.POSITIVE_INFINITY),function(r){return r.lift(new wm(t,n,e))}}T.prototype.flatMapTo=bm,T.prototype.mergeMapTo=bm;var wm=function(){function t(t,n,e){this.accumulator=t,this.seed=n,this.concurrent=e}return t.prototype.call=function(t,n){return n.subscribe(new xm(t,this.accumulator,this.seed,this.concurrent))},t}(),xm=function(t){function n(n,e,r,i){t.call(this,n),this.accumulator=e,this.acc=r,this.concurrent=i,this.hasValue=!1,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}return Object(i.__extends)(n,t),n.prototype._next=function(t){if(this.active0?this._next(n.shift()):0===this.active&&this.hasCompleted&&(!1===this.hasValue&&this.destination.next(this.acc),this.destination.complete())},n}(V);function Cm(t){return _s("function"==typeof t?function(n,e){return t(n,e)<0?n:e}:function(t,n){return t-1&&(this.count=e-1),n.subscribe(this._unsubscribeAndRecycle())}},n}(x);function Lm(t){return function(n){return n.lift(new Vm(t))}}T.prototype.repeat=function(t){return void 0===t&&(t=-1),jm(t)(this)};var Vm=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,n){return n.subscribe(new Fm(t,this.notifier,n))},t}(),Fm=function(t){function n(n,e,r){t.call(this,n),this.notifier=e,this.source=r,this.sourceIsBeingSubscribedTo=!0}return Object(i.__extends)(n,t),n.prototype.notifyNext=function(t,n,e,r,i){this.sourceIsBeingSubscribedTo=!0,this.source.subscribe(this)},n.prototype.notifyComplete=function(n){if(!1===this.sourceIsBeingSubscribedTo)return t.prototype.complete.call(this)},n.prototype.complete=function(){if(this.sourceIsBeingSubscribedTo=!1,!this.isStopped){if(this.retries||this.subscribeToRetries(),!this.retriesSubscription||this.retriesSubscription.closed)return t.prototype.complete.call(this);this._unsubscribeAndRecycle(),this.notifications.next()}},n.prototype._unsubscribe=function(){var t=this.notifications,n=this.retriesSubscription;t&&(t.unsubscribe(),this.notifications=null),n&&(n.unsubscribe(),this.retriesSubscription=null),this.retries=null},n.prototype._unsubscribeAndRecycle=function(){var n=this.notifications,e=this.retries,r=this.retriesSubscription;return this.notifications=null,this.retries=null,this.retriesSubscription=null,t.prototype._unsubscribeAndRecycle.call(this),this.notifications=n,this.retries=e,this.retriesSubscription=r,this},n.prototype.subscribeToRetries=function(){this.notifications=new Q;var n=y(this.notifier)(this.notifications);if(n===f)return t.prototype.complete.call(this);this.retries=n,this.retriesSubscription=L(this,n)},n}(V);function Um(t){return void 0===t&&(t=-1),function(n){return n.lift(new Bm(t,n))}}T.prototype.repeatWhen=function(t){return Lm(t)(this)};var Bm=function(){function t(t,n){this.count=t,this.source=n}return t.prototype.call=function(t,n){return n.subscribe(new zm(t,this.count,this.source))},t}(),zm=function(t){function n(n,e,r){t.call(this,n),this.count=e,this.source=r}return Object(i.__extends)(n,t),n.prototype.error=function(n){if(!this.isStopped){var e=this.source,r=this.count;if(0===r)return t.prototype.error.call(this,n);r>-1&&(this.count=r-1),e.subscribe(this._unsubscribeAndRecycle())}},n}(x);function Hm(t){return function(n){return n.lift(new qm(t,n))}}T.prototype.retry=function(t){return void 0===t&&(t=-1),Um(t)(this)};var qm=function(){function t(t,n){this.notifier=t,this.source=n}return t.prototype.call=function(t,n){return n.subscribe(new Km(t,this.notifier,this.source))},t}(),Km=function(t){function n(n,e,r){t.call(this,n),this.notifier=e,this.source=r}return Object(i.__extends)(n,t),n.prototype.error=function(n){if(!this.isStopped){var e=this.errors,r=this.retries,i=this.retriesSubscription;if(r)this.errors=null,this.retriesSubscription=null;else{if(e=new Q,(r=y(this.notifier)(e))===f)return t.prototype.error.call(this,f.e);i=L(this,r)}this._unsubscribeAndRecycle(),this.errors=e,this.retries=r,this.retriesSubscription=i,e.next(n)}},n.prototype._unsubscribe=function(){var t=this.errors,n=this.retriesSubscription;t&&(t.unsubscribe(),this.errors=null),n&&(n.unsubscribe(),this.retriesSubscription=null),this.retries=null},n.prototype.notifyNext=function(t,n,e,r,i){var o=this.errors,l=this.retries,u=this.retriesSubscription;this.errors=null,this.retries=null,this.retriesSubscription=null,this._unsubscribeAndRecycle(),this.errors=o,this.retries=l,this.retriesSubscription=u,this.source.subscribe(this)},n}(V);function Gm(t){return function(n){return n.lift(new Wm(t))}}T.prototype.retryWhen=function(t){return Hm(t)(this)};var Wm=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,n){var e=new Qm(t),r=n.subscribe(e);return r.add(L(e,this.notifier)),r},t}(),Qm=function(t){function n(){t.apply(this,arguments),this.hasValue=!1}return Object(i.__extends)(n,t),n.prototype._next=function(t){this.value=t,this.hasValue=!0},n.prototype.notifyNext=function(t,n,e,r,i){this.emitValue()},n.prototype.notifyComplete=function(){this.emitValue()},n.prototype.emitValue=function(){this.hasValue&&(this.hasValue=!1,this.destination.next(this.value))},n}(V);function $m(t,n){return void 0===n&&(n=Ly),function(e){return e.lift(new Zm(t,n))}}T.prototype.sample=function(t){return Gm(t)(this)};var Zm=function(){function t(t,n){this.period=t,this.scheduler=n}return t.prototype.call=function(t,n){return n.subscribe(new Ym(t,this.period,this.scheduler))},t}(),Ym=function(t){function n(n,e,r){t.call(this,n),this.period=e,this.scheduler=r,this.hasValue=!1,this.add(r.schedule(Xm,e,{subscriber:this,period:e}))}return Object(i.__extends)(n,t),n.prototype._next=function(t){this.lastValue=t,this.hasValue=!0},n.prototype.notifyNext=function(){this.hasValue&&(this.hasValue=!1,this.destination.next(this.lastValue))},n}(x);function Xm(t){var n=t.period;t.subscriber.notifyNext(),this.schedule(t,n)}function Jm(t,n){return function(e){return e.lift(new tb(t,n))}}T.prototype.sampleTime=function(t,n){return void 0===n&&(n=Ly),$m(t,n)(this)},T.prototype.scan=function(t,n){return arguments.length>=2?cs(t,n)(this):cs(t)(this)};var tb=function(){function t(t,n){this.compareTo=t,this.comparor=n}return t.prototype.call=function(t,n){return n.subscribe(new nb(t,this.compareTo,this.comparor))},t}(),nb=function(t){function n(n,e,r){t.call(this,n),this.compareTo=e,this.comparor=r,this._a=[],this._b=[],this._oneComplete=!1,this.add(e.subscribe(new eb(n,this)))}return Object(i.__extends)(n,t),n.prototype._next=function(t){this._oneComplete&&0===this._b.length?this.emit(!1):(this._a.push(t),this.checkValues())},n.prototype._complete=function(){this._oneComplete?this.emit(0===this._a.length&&0===this._b.length):this._oneComplete=!0},n.prototype.checkValues=function(){for(var t=this._a,n=this._b,e=this.comparor;t.length>0&&n.length>0;){var r=t.shift(),i=n.shift(),o=!1;e?(o=y(e)(r,i))===f&&this.destination.error(f.e):o=r===i,o||this.emit(!1)}},n.prototype.emit=function(t){var n=this.destination;n.next(t),n.complete()},n.prototype.nextB=function(t){this._oneComplete&&0===this._a.length?this.emit(!1):(this._b.push(t),this.checkValues())},n}(x),eb=function(t){function n(n,e){t.call(this,n),this.parent=e}return Object(i.__extends)(n,t),n.prototype._next=function(t){this.parent.nextB(t)},n.prototype._error=function(t){this.parent.error(t)},n.prototype._complete=function(){this.parent._complete()},n}(x);function rb(t,n,e){return function(r){return r.lift(function(t,n,e){var r,i,o=0,l=!1,u=!1;return function(s){o++,r&&!l||(l=!1,r=new vg(t,n,e),i=s.subscribe({next:function(t){r.next(t)},error:function(t){l=!0,r.error(t)},complete:function(){u=!0,r.complete()}}));var a=r.subscribe(this);return function(){o--,a.unsubscribe(),i&&0===o&&u&&i.unsubscribe()}}}(t,n,e))}}function ib(t){return function(n){return n.lift(new ob(t,n))}}T.prototype.sequenceEqual=function(t,n){return Jm(t,n)(this)},T.prototype.share=lt,T.prototype.shareReplay=function(t,n,e){return rb(t,n,e)(this)};var ob=function(){function t(t,n){this.predicate=t,this.source=n}return t.prototype.call=function(t,n){return n.subscribe(new lb(t,this.predicate,this.source))},t}(),lb=function(t){function n(n,e,r){t.call(this,n),this.predicate=e,this.source=r,this.seenValue=!1,this.index=0}return Object(i.__extends)(n,t),n.prototype.applySingleValue=function(t){this.seenValue?this.destination.error("Sequence contains more than one element"):(this.seenValue=!0,this.singleValue=t)},n.prototype._next=function(t){var n=this.index++;this.predicate?this.tryNext(t,n):this.applySingleValue(t)},n.prototype.tryNext=function(t,n){try{this.predicate(t,n,this.source)&&this.applySingleValue(t)}catch(t){this.destination.error(t)}},n.prototype._complete=function(){var t=this.destination;this.index>0?(t.next(this.seenValue?this.singleValue:void 0),t.complete()):t.error(new $u)},n}(x);function ub(t){return function(n){return n.lift(new sb(t))}}T.prototype.single=function(t){return ib(t)(this)};var sb=function(){function t(t){this.total=t}return t.prototype.call=function(t,n){return n.subscribe(new ab(t,this.total))},t}(),ab=function(t){function n(n,e){t.call(this,n),this.total=e,this.count=0}return Object(i.__extends)(n,t),n.prototype._next=function(t){++this.count>this.total&&this.destination.next(t)},n}(x);function cb(t){return function(n){return n.lift(new hb(t))}}T.prototype.skip=function(t){return ub(t)(this)};var hb=function(){function t(t){if(this._skipCount=t,this._skipCount<0)throw new fs}return t.prototype.call=function(t,n){return n.subscribe(0===this._skipCount?new x(t):new pb(t,this._skipCount))},t}(),pb=function(t){function n(n,e){t.call(this,n),this._skipCount=e,this._count=0,this._ring=new Array(e)}return Object(i.__extends)(n,t),n.prototype._next=function(t){var n=this._skipCount,e=this._count++;if(e1?new N(t,e):new I(e),n)}}T.prototype.skipWhile=function(t){return gb(t)(this)},T.prototype.startWith=function(){for(var t=[],n=0;n0?t.prototype.requestAsyncId.call(this,n,e,r):(n.actions.push(this),n.scheduled||(n.scheduled=_b.setImmediate(n.flush.bind(n,null))))},n.prototype.recycleAsyncId=function(n,e,r){if(void 0===r&&(r=0),null!==r&&r>0||null===r&&this.delay>0)return t.prototype.recycleAsyncId.call(this,n,e,r);0===n.actions.length&&(_b.clearImmediate(e),n.scheduled=void 0)},n}(Ry),xb=new(function(t){function n(){t.apply(this,arguments)}return Object(i.__extends)(n,t),n.prototype.flush=function(t){this.active=!0,this.scheduled=void 0;var n,e=this.actions,r=-1,i=e.length;t=t||e.shift();do{if(n=t.execute(t.state,t.delay))break}while(++r0?this.startWindowEvery:this.windowSize,e=this.destination,r=this.windowSize,i=this.windows,o=i.length,l=0;l=0&&u%n==0&&!this.closed&&i.shift().complete(),++this.count%n==0&&!this.closed){var s=new Q;i.push(s),e.next(s)}},n.prototype._error=function(t){var n=this.windows;if(n)for(;n.length>0&&!this.closed;)n.shift().error(t);this.destination.error(t)},n.prototype._complete=function(){var t=this.windows;if(t)for(;t.length>0&&!this.closed;)t.shift().complete();this.destination.complete()},n.prototype._unsubscribe=function(){this.count=0,this.windows=null},n}(x);function s_(t){var n=Ly,e=null,r=Number.POSITIVE_INFINITY;return M(arguments[3])&&(n=arguments[3]),M(arguments[2])?n=arguments[2]:jy(arguments[2])&&(r=arguments[2]),M(arguments[1])?n=arguments[1]:jy(arguments[1])&&(e=arguments[1]),function(i){return i.lift(new a_(t,e,r,n))}}T.prototype.windowCount=function(t,n){return void 0===n&&(n=0),o_(t,n)(this)};var a_=function(){function t(t,n,e,r){this.windowTimeSpan=t,this.windowCreationInterval=n,this.maxWindowSize=e,this.scheduler=r}return t.prototype.call=function(t,n){return n.subscribe(new h_(t,this.windowTimeSpan,this.windowCreationInterval,this.maxWindowSize,this.scheduler))},t}(),c_=function(t){function n(){t.apply(this,arguments),this._numberOfNextedValues=0}return Object(i.__extends)(n,t),n.prototype.next=function(n){this._numberOfNextedValues++,t.prototype.next.call(this,n)},Object.defineProperty(n.prototype,"numberOfNextedValues",{get:function(){return this._numberOfNextedValues},enumerable:!0,configurable:!0}),n}(Q),h_=function(t){function n(n,e,r,i,o){t.call(this,n),this.destination=n,this.windowTimeSpan=e,this.windowCreationInterval=r,this.maxWindowSize=i,this.scheduler=o,this.windows=[];var l=this.openWindow();if(null!==r&&r>=0){var u={windowTimeSpan:e,windowCreationInterval:r,subscriber:this,scheduler:o};this.add(o.schedule(d_,e,{subscriber:this,window:l,context:null})),this.add(o.schedule(f_,r,u))}else this.add(o.schedule(p_,e,{subscriber:this,window:l,windowTimeSpan:e}))}return Object(i.__extends)(n,t),n.prototype._next=function(t){for(var n=this.windows,e=n.length,r=0;r=this.maxWindowSize&&this.closeWindow(i))}},n.prototype._error=function(t){for(var n=this.windows;n.length>0;)n.shift().error(t);this.destination.error(t)},n.prototype._complete=function(){for(var t=this.windows;t.length>0;){var n=t.shift();n.closed||n.complete()}this.destination.complete()},n.prototype.openWindow=function(){var t=new c_;return this.windows.push(t),this.destination.next(t),t},n.prototype.closeWindow=function(t){t.complete();var n=this.windows;n.splice(n.indexOf(t),1)},n}(x);function p_(t){var n=t.subscriber,e=t.windowTimeSpan,r=t.window;r&&n.closeWindow(r),t.window=n.openWindow(),this.schedule(t,e)}function f_(t){var n=t.windowTimeSpan,e=t.subscriber,r=t.scheduler,i=t.windowCreationInterval,o=e.openWindow(),l={action:this,subscription:null};l.subscription=r.schedule(d_,n,{subscriber:e,window:o,context:l}),this.add(l.subscription),this.schedule(t,i)}function d_(t){var n=t.subscriber,e=t.window,r=t.context;r&&r.action&&r.subscription&&r.action.remove(r.subscription),n.closeWindow(e)}function y_(t,n){return function(e){return e.lift(new g_(t,n))}}T.prototype.windowTime=function(t){var n=Ly,e=null,r=Number.POSITIVE_INFINITY;return M(arguments[3])&&(n=arguments[3]),M(arguments[2])?n=arguments[2]:jy(arguments[2])&&(r=arguments[2]),M(arguments[1])?n=arguments[1]:jy(arguments[1])&&(e=arguments[1]),s_(t,e,r,n)(this)};var g_=function(){function t(t,n){this.openings=t,this.closingSelector=n}return t.prototype.call=function(t,n){return n.subscribe(new v_(t,this.openings,this.closingSelector))},t}(),v_=function(t){function n(n,e,r){t.call(this,n),this.openings=e,this.closingSelector=r,this.contexts=[],this.add(this.openSubscription=L(this,e,e))}return Object(i.__extends)(n,t),n.prototype._next=function(t){var n=this.contexts;if(n)for(var e=n.length,r=0;r0){var l=o.indexOf(e);-1!==l&&o.splice(l,1)}},n.prototype.notifyComplete=function(){},n.prototype._next=function(t){if(0===this.toRespond.length){var n=[t].concat(this.values);this.project?this._tryProject(n):this.destination.next(n)}},n.prototype._tryProject=function(t){var n;try{n=this.project.apply(this,t)}catch(t){return void this.destination.error(t)}this.destination.next(n)},n}(V);function S_(t){return function(n){return n.lift(new Yy(t))}}T.prototype.withLatestFrom=function(){for(var t=[],n=0;n=400&&n.status<500?t.translate.get(["general.noData","addressDetail.withoutTransactions"]).subscribe(function(n){t.loadingMsg=n["general.noData"],t.longErrorMsg=n["addressDetail.withoutTransactions"]}):t.translate.get(["general.shortLoadingErrorMsg","general.longLoadingErrorMsg"]).subscribe(function(n){t.loadingMsg=n["general.shortLoadingErrorMsg"],t.longErrorMsg=n["general.longLoadingErrorMsg"]})}),this.route.params.switchMap(function(n){return t.api.getBalance(n.address)}).subscribe(function(n){t.balance=new cf.BigNumber(n.confirmed.coins).dividedBy(1e6),t.hoursBalance=new cf.BigNumber(n.confirmed.hours)})},t.prototype.updateTransactions=function(){this.pageIndex>this.transactions.length/this.pageSize&&(this.pageIndex=Math.floor(this.transactions.length/this.pageSize)),this.pageTransactions=[];for(var t=this.pageIndex*this.pageSize;t<(this.pageIndex+1)*this.pageSize&&t=400&&n.status<500?t.translate.get(["general.noData","unspentOutputs.withoutOutputs"]).subscribe(function(n){t.loadingMsg=n["general.noData"],t.longErrorMsg=n["unspentOutputs.withoutOutputs"]}):t.translate.get(["general.shortLoadingErrorMsg","general.longLoadingErrorMsg"]).subscribe(function(n){t.loadingMsg=n["general.shortLoadingErrorMsg"],t.longErrorMsg=n["general.longLoadingErrorMsg"]})})},t}(),T_=function(t){return t[t.InvalidSearchTerm=1]="InvalidSearchTerm",t}({}),P_=function(){function t(t){this.explorer=t}return t.prototype.getResultNavCommands=function(t){var n=new function(){};return(t=encodeURIComponent(t)).length>=27&&t.length<=35?n.resultNavCommands=T.of(["/app/address",t]):64===t.length?n.resultNavCommands=this.explorer.getBlockByHash(t).map(function(t){return["/app/block",t.id.toString()]}).catch(function(n){return n&&n.status&&404===n.status?T.of(["/app/transaction",t]):T.throw(n)}):parseInt(t,10).toString()===t&&parseInt(t,10)>=0?n.resultNavCommands=T.of(["/app/block",t]):n.error=T_.InvalidSearchTerm,n},t}(),I_=function(){function t(t,n,e){this.searchService=t,this.route=n,this.router=e,this.searchTerm=""}return t.prototype.ngOnInit=function(){var t=this;this.route.params.first().subscribe(function(n){(!n.term||n.term.trim().length<1)&&(t.errorMsg="search.unableToFind"),t.searchTerm=n.term.trim();var e=t.searchService.getResultNavCommands(t.searchTerm);e.error?e.error===T_.InvalidSearchTerm&&(t.errorMsg="search.unableToFind"):e.resultNavCommands.subscribe(function(n){return t.router.navigate(n,{replaceUrl:!0})},function(n){return t.errorMsg="search.unableToFind"})})},t}(),M_=function(){},N_={useGenericHeader:!1,genericHeaderUrl:"https://www.skycoin.net/"},A_={useGenericFooter:!1,contactLinks:[{url:"https://www.skycoin.net/",content:''},{url:"https://www.skycoin.net/",content:''},{url:"https://www.skycoin.net/",content:''},{url:"https://www.skycoin.net/",content:''},{url:"https://www.skycoin.net/",content:''},{url:"https://www.skycoin.net/",content:''},{url:"https://www.skycoin.net/",content:''}]},j_=function(){return function(t,n){this.router=t,this.headerConfig=N_,this.footerConfig=A_,n.setDefaultLang("en"),n.use("en"),t.events.subscribe(function(t){t instanceof oc&&window.scrollTo(0,0)})}}(),R_=function(){this.loadingMsg="general.waitingData"},D_=yr({encapsulation:0,styles:[[".-msg-container[_ngcontent-%COMP%]{padding:15px 20px}"]],data:{}});function L_(t){return oo(0,[(t()(),Kr(0,0,null,null,4,"span",[],null,null,null,null,null)),(t()(),eo(1,null,["\n "," "])),Ni(131072,cy,[ly,me]),(t()(),Kr(3,0,null,null,0,"i",[["class","fa fa-spinner fa-spin fa-fw"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "]))],null,function(t,n){var e=n.component;t(n,1,0,pr(n,1,0,bi(n,2).transform(e.loadingMsg)))})}function V_(t){return oo(0,[(t()(),eo(0,null,["",""]))],null,function(t,n){t(n,0,0,n.component.longErrorMsg)})}function F_(t){return oo(0,[(t()(),Kr(0,0,null,null,9,"div",[["class","row -msg-container"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(2,0,null,null,6,"div",[["class","col-sm-12"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),qr(16777216,null,null,1,null,L_)),Mi(5,16384,null,0,Wl,[ve,ge],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),eo(-1,null,["\n "])),(t()(),qr(0,[["error_msg",2]],null,0,null,V_)),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n"]))],function(t,n){t(n,5,0,!n.component.longErrorMsg,bi(n,7))},null)}var U_=function(){this.dateMultiplier=1e3,this.mouseOver=!1},B_=yr({encapsulation:0,styles:[[".root[_ngcontent-%COMP%]{display:inline}.time[_ngcontent-%COMP%]{display:inline-block}"]],data:{}});function z_(t){return oo(0,[(t()(),Kr(0,0,null,null,6,"span",[],null,null,null,null,null)),(t()(),Kr(1,0,null,null,3,"span",[["class","timezone-icon"]],null,null,null,null,null)),Mi(2,278528,null,0,Hl,[Fe,Ue,ae,se],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),to(3,{"timezone-icon-opaque":0}),(t()(),eo(-1,null,["\uf0ac"])),(t()(),eo(5,null,["",""])),Ji(6,2)],function(t,n){t(n,2,0,"timezone-icon",t(n,3,0,n.component.mouseOver))},function(t,n){var e=n.component;t(n,5,0,pr(n,5,0,t(n,6,0,bi(n.parent,0),e.date*e.dateMultiplier,"yyyy-MM-dd")))})}function H_(t){return oo(0,[(t()(),Kr(0,0,null,null,2,"span",[["class","time -gray"]],null,null,null,null,null)),(t()(),eo(1,null,["",""])),Ji(2,2)],null,function(t,n){var e=n.component;t(n,1,0,pr(n,1,0,t(n,2,0,bi(n.parent,0),e.date*e.dateMultiplier,"HH:mm:ss")))})}function q_(t){return oo(0,[(t()(),Kr(0,0,null,null,5,"div",[["class","timezone-container"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(2,0,null,null,2,"div",[["class","timezone-label"]],null,null,null,null,null)),(t()(),eo(3,null,["",""])),Ji(4,2),(t()(),eo(-1,null,["\n "]))],null,function(t,n){var e=n.component;t(n,3,0,pr(n,3,0,t(n,4,0,bi(n.parent,0),e.date*e.dateMultiplier,"OOOO")))})}function K_(t){return oo(0,[Ni(0,pu,[Ke]),(t()(),Kr(1,0,null,null,10,"div",[["class","root"]],null,[[null,"mouseenter"],[null,"mouseleave"]],function(t,n,e){var r=!0,i=t.component;return"mouseenter"===n&&(r=0!=(i.mouseOver=!0)&&r),"mouseleave"===n&&(r=0!=(i.mouseOver=!1)&&r),r},null,null)),(t()(),eo(-1,null,["\n "])),(t()(),qr(16777216,null,null,1,null,z_)),Mi(4,16384,null,0,Wl,[ve,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,["\n "])),(t()(),qr(16777216,null,null,1,null,H_)),Mi(7,16384,null,0,Wl,[ve,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,["\n "])),(t()(),qr(16777216,null,null,1,null,q_)),Mi(10,16384,null,0,Wl,[ve,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,["\n"]))],function(t,n){var e=n.component;t(n,4,0,e.date),t(n,7,0,e.date),t(n,10,0,e.mouseOver)},null)}var G_=yr({encapsulation:0,styles:[[".-details[_ngcontent-%COMP%]{text-align:right}.-details[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:14px;line-height:14px;padding:3px 0;margin-bottom:5px}.-details[_ngcontent-%COMP%] p[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]:first-child{display:inline-block}.-details[_ngcontent-%COMP%] p[_ngcontent-%COMP%] .-label[_ngcontent-%COMP%]{display:block;color:#92a4ba;float:left}.-details[_ngcontent-%COMP%] p[_ngcontent-%COMP%] .-link[_ngcontent-%COMP%]{color:#0072ff;display:inline-block;cursor:pointer}.-details[_ngcontent-%COMP%] p[_ngcontent-%COMP%] .-value[_ngcontent-%COMP%]{display:inline-block;width:120px}@media (max-width:767px){.-details[_ngcontent-%COMP%]{text-align:left}.-details[_ngcontent-%COMP%] p[_ngcontent-%COMP%] .-value[_ngcontent-%COMP%]{margin-top:5px}}.-small-font[_ngcontent-%COMP%]{font-size:12px}.-link[_ngcontent-%COMP%]{text-decoration:none}.-small-date[_ngcontent-%COMP%]{display:inline}.-small-padding[_ngcontent-%COMP%]{padding-right:5px}"]],data:{}});function W_(t){return oo(0,[(t()(),Kr(0,0,null,null,1,"app-loading",[],null,null,null,F_,D_)),Mi(1,49152,null,0,R_,[],{longErrorMsg:[0,"longErrorMsg"]},null)],function(t,n){t(n,1,0,n.component.longErrorMsg)},null)}function Q_(t){return oo(0,[(t()(),Kr(0,0,null,null,5,"div",[["class","timezone-container"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(2,0,null,null,2,"div",[["class","timezone-label"]],null,null,null,null,null)),(t()(),eo(3,null,["",""])),Ji(4,2),(t()(),eo(-1,null,["\n "]))],null,function(t,n){t(n,3,0,pr(n,3,0,t(n,4,0,bi(n.parent.parent,1),1e3*n.parent.context.$implicit.timestamp,"OOOO")))})}function $_(t){return oo(0,[(t()(),Kr(0,0,null,null,47,"a",[["class","-row -link"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,n,e){var r=!0;return"click"===n&&(r=!1!==bi(t,1).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&r),r},null,null)),Mi(1,671744,null,0,lp,[rp,mh,vl],{routerLink:[0,"routerLink"]},null),(t()(),eo(-1,null,["\n "])),(t()(),Kr(3,0,null,null,43,"div",[["class","row"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(5,0,null,null,31,"div",[["class","col-sm-2 col-xs-4 -small-padding"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(7,0,null,null,4,"div",[["class","-not-xs"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(9,0,null,null,1,"app-date-formatter",[],null,null,null,K_,B_)),Mi(10,49152,null,0,U_,[],{date:[0,"date"]},null),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(13,0,null,null,22,"div",[["class","-xs-only -small-date"]],null,[[null,"mouseenter"],[null,"mouseleave"]],function(t,n,e){var r=!0,i=t.component;return"mouseenter"===n&&(r=!1!==(i.mouseOver=t.context.$implicit.id)&&r),"mouseleave"===n&&(r=!1!==(i.mouseOver===t.context.$implicit.id?i.mouseOver=-1:null)&&r),r},null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(15,0,null,null,6,"span",[["class","-gray"]],null,null,null,null,null)),(t()(),Kr(16,0,null,null,3,"span",[["class","timezone-icon"]],null,null,null,null,null)),Mi(17,278528,null,0,Hl,[Fe,Ue,ae,se],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),to(18,{"timezone-icon-opaque":0}),(t()(),eo(-1,null,["\uf0ac"])),(t()(),eo(20,null,["",""])),Ji(21,2),(t()(),Kr(22,0,null,null,0,"br",[],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(24,0,null,null,2,"span",[["class","-small-font"]],null,null,null,null,null)),(t()(),eo(25,null,["",""])),Ji(26,2),(t()(),Kr(27,0,null,null,0,"br",[],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(29,0,null,null,2,"span",[["class","-small-font"]],null,null,null,null,null)),(t()(),eo(30,null,["",""])),Ji(31,2),(t()(),eo(-1,null,["\n "])),(t()(),qr(16777216,null,null,1,null,Q_)),Mi(34,16384,null,0,Wl,[ve,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n\n "])),(t()(),Kr(38,0,null,null,1,"div",[["class","col-sm-2 col-xs-4"]],null,null,null,null,null)),(t()(),eo(39,null,["",""])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(41,0,null,null,1,"div",[["class","col-sm-2 col-xs-4 -gray"]],null,null,null,null,null)),(t()(),eo(42,null,["",""])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(44,0,null,null,1,"div",[["class","col-sm-6 -fix-left -not-xs"]],null,null,null,null,null)),(t()(),eo(45,null,["",""])),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "]))],function(t,n){var e=n.component;t(n,1,0,"/app/block/"+n.context.$implicit.id),t(n,10,0,n.context.$implicit.timestamp),t(n,17,0,"timezone-icon",t(n,18,0,e.mouseOver===n.context.$implicit.id)),t(n,34,0,e.mouseOver===n.context.$implicit.id)},function(t,n){t(n,0,0,bi(n,1).target,bi(n,1).href),t(n,20,0,pr(n,20,0,t(n,21,0,bi(n.parent,1),1e3*n.context.$implicit.timestamp,"yyyy"))),t(n,25,0,pr(n,25,0,t(n,26,0,bi(n.parent,1),1e3*n.context.$implicit.timestamp,"MMM dd")).toUpperCase()),t(n,30,0,pr(n,30,0,t(n,31,0,bi(n.parent,1),1e3*n.context.$implicit.timestamp,"HH:mm"))),t(n,39,0,n.context.$implicit.id),t(n,42,0,n.context.$implicit.transactions.length),t(n,45,0,n.context.$implicit.hash)})}function Z_(t){return oo(0,[(t()(),Kr(0,0,null,null,2,"a",[["class","-page -hide-xs"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,n,e){var r=!0;return"click"===n&&(r=!1!==bi(t,1).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&r),r},null,null)),Mi(1,671744,null,0,lp,[rp,mh,vl],{routerLink:[0,"routerLink"]},null),(t()(),eo(2,null,["",""]))],function(t,n){t(n,1,0,zr(1,"/app/blocks/",n.component.pageIndex-1,""))},function(t,n){var e=n.component;t(n,0,0,bi(n,1).target,bi(n,1).href),t(n,2,0,e.pageIndex-1)})}function Y_(t){return oo(0,[(t()(),Kr(0,0,null,null,2,"a",[["class","-page"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,n,e){var r=!0;return"click"===n&&(r=!1!==bi(t,1).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&r),r},null,null)),Mi(1,671744,null,0,lp,[rp,mh,vl],{routerLink:[0,"routerLink"]},null),(t()(),eo(2,null,["",""]))],function(t,n){t(n,1,0,zr(1,"/app/blocks/",n.component.pageIndex,""))},function(t,n){var e=n.component;t(n,0,0,bi(n,1).target,bi(n,1).href),t(n,2,0,e.pageIndex)})}function X_(t){return oo(0,[(t()(),Kr(0,0,null,null,2,"a",[["class","-page"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,n,e){var r=!0;return"click"===n&&(r=!1!==bi(t,1).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&r),r},null,null)),Mi(1,671744,null,0,lp,[rp,mh,vl],{routerLink:[0,"routerLink"]},null),(t()(),eo(2,null,["",""]))],function(t,n){t(n,1,0,zr(1,"/app/blocks/",n.component.pageIndex+2,""))},function(t,n){var e=n.component;t(n,0,0,bi(n,1).target,bi(n,1).href),t(n,2,0,e.pageIndex+2)})}function J_(t){return oo(0,[(t()(),Kr(0,0,null,null,2,"a",[["class","-page -hide-xs"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,n,e){var r=!0;return"click"===n&&(r=!1!==bi(t,1).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&r),r},null,null)),Mi(1,671744,null,0,lp,[rp,mh,vl],{routerLink:[0,"routerLink"]},null),(t()(),eo(2,null,["",""]))],function(t,n){t(n,1,0,zr(1,"/app/blocks/",n.component.pageIndex+3,""))},function(t,n){var e=n.component;t(n,0,0,bi(n,1).target,bi(n,1).href),t(n,2,0,e.pageIndex+3)})}function tw(t){return oo(0,[(t()(),Kr(0,0,null,null,40,"div",[["class","pagination"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(2,0,null,null,4,"a",[["class","-first"],["routerLink","/app/blocks/1"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,n,e){var r=!0;return"click"===n&&(r=!1!==bi(t,5).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&r),r},null,null)),Mi(3,278528,null,0,Hl,[Fe,Ue,ae,se],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),to(4,{disabled:0}),Mi(5,671744,null,0,lp,[rp,mh,vl],{routerLink:[0,"routerLink"]},null),(t()(),eo(-1,null,["\xab"])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(8,0,null,null,4,"a",[["class","-previous"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,n,e){var r=!0;return"click"===n&&(r=!1!==bi(t,11).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&r),r},null,null)),Mi(9,278528,null,0,Hl,[Fe,Ue,ae,se],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),to(10,{disabled:0}),Mi(11,671744,null,0,lp,[rp,mh,vl],{routerLink:[0,"routerLink"]},null),(t()(),eo(-1,null,["\u2039"])),(t()(),eo(-1,null,["\n "])),(t()(),qr(16777216,null,null,1,null,Z_)),Mi(15,16384,null,0,Wl,[ve,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,["\n "])),(t()(),qr(16777216,null,null,1,null,Y_)),Mi(18,16384,null,0,Wl,[ve,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,["\n "])),(t()(),Kr(20,0,null,null,1,"a",[["class","-page disabled"]],null,null,null,null,null)),(t()(),eo(21,null,["",""])),(t()(),eo(-1,null,["\n "])),(t()(),qr(16777216,null,null,1,null,X_)),Mi(24,16384,null,0,Wl,[ve,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,["\n "])),(t()(),qr(16777216,null,null,1,null,J_)),Mi(27,16384,null,0,Wl,[ve,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,["\n "])),(t()(),Kr(29,0,null,null,4,"a",[["class","-next"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,n,e){var r=!0;return"click"===n&&(r=!1!==bi(t,32).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&r),r},null,null)),Mi(30,278528,null,0,Hl,[Fe,Ue,ae,se],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),to(31,{disabled:0}),Mi(32,671744,null,0,lp,[rp,mh,vl],{routerLink:[0,"routerLink"]},null),(t()(),eo(-1,null,["\u203a"])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(35,0,null,null,4,"a",[["class","-last"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,n,e){var r=!0;return"click"===n&&(r=!1!==bi(t,38).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&r),r},null,null)),Mi(36,278528,null,0,Hl,[Fe,Ue,ae,se],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),to(37,{disabled:0}),Mi(38,671744,null,0,lp,[rp,mh,vl],{routerLink:[0,"routerLink"]},null),(t()(),eo(-1,null,["\xbb"])),(t()(),eo(-1,null,["\n"]))],function(t,n){var e=n.component;t(n,3,0,"-first",t(n,4,0,e.pageIndex<=0)),t(n,5,0,"/app/blocks/1"),t(n,9,0,"-previous",t(n,10,0,e.pageIndex<=0)),t(n,11,0,zr(1,"/app/blocks/",e.pageIndex>0?e.pageIndex:1,"")),t(n,15,0,e.pageIndex>1),t(n,18,0,e.pageIndex>0),t(n,24,0,e.pageIndex=e.pageCount-1)),t(n,32,0,zr(1,"/app/blocks/",e.pageIndex+2=e.pageCount-1)),t(n,38,0,zr(1,"/app/blocks/",e.pageCount,""))},function(t,n){var e=n.component;t(n,2,0,bi(n,5).target,bi(n,5).href),t(n,8,0,bi(n,11).target,bi(n,11).href),t(n,21,0,e.pageIndex+1),t(n,29,0,bi(n,32).target,bi(n,32).href),t(n,35,0,bi(n,38).target,bi(n,38).href)})}function nw(t){return oo(0,[Ni(0,gu,[Ke]),Ni(0,pu,[Ke]),(t()(),Kr(2,0,null,null,82,"div",[["class","row"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(4,0,null,null,9,"div",[["class","col-sm-6 -title"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(6,0,null,null,2,"h2",[["class","-not-xs"]],null,null,null,null,null)),(t()(),eo(7,null,["",""])),Ni(131072,cy,[ly,me]),(t()(),eo(-1,null,["\n "])),(t()(),Kr(10,0,null,null,2,"h2",[["class","-xs-only"]],null,null,null,null,null)),(t()(),eo(11,null,["",""])),Ni(131072,cy,[ly,me]),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(15,0,null,null,68,"div",[["class","col-sm-6 -details"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(17,0,null,null,9,"p",[],null,null,null,null,null)),(t()(),Kr(18,0,null,null,8,"span",[],null,null,null,null,null)),(t()(),Kr(19,0,null,null,2,"span",[["class","-label"]],null,null,null,null,null)),(t()(),eo(20,null,["",":"])),Ni(131072,cy,[ly,me]),(t()(),Kr(22,0,null,null,0,"br",[["class","-xs-only"]],null,null,null,null,null)),(t()(),eo(-1,null,[" "])),(t()(),Kr(24,0,null,null,2,"span",[["class","-value"]],null,null,null,null,null)),(t()(),eo(25,null,["",""])),Ji(26,2),(t()(),eo(-1,null,["\n "])),(t()(),Kr(28,0,null,null,9,"p",[],null,null,null,null,null)),(t()(),Kr(29,0,null,null,8,"span",[],null,null,null,null,null)),(t()(),Kr(30,0,null,null,2,"span",[["class","-label"]],null,null,null,null,null)),(t()(),eo(31,null,["",":"])),Ni(131072,cy,[ly,me]),(t()(),Kr(33,0,null,null,0,"br",[["class","-xs-only"]],null,null,null,null,null)),(t()(),eo(-1,null,[" "])),(t()(),Kr(35,0,null,null,2,"span",[["class","-value"]],null,null,null,null,null)),(t()(),eo(36,null,["",""])),Ji(37,2),(t()(),eo(-1,null,["\n "])),(t()(),Kr(39,0,null,null,9,"p",[],null,null,null,null,null)),(t()(),Kr(40,0,null,null,8,"span",[],null,null,null,null,null)),(t()(),Kr(41,0,null,null,2,"span",[["class","-label"]],null,null,null,null,null)),(t()(),eo(42,null,["",":"])),Ni(131072,cy,[ly,me]),(t()(),Kr(44,0,null,null,0,"br",[["class","-xs-only"]],null,null,null,null,null)),(t()(),eo(-1,null,[" "])),(t()(),Kr(46,0,null,null,2,"span",[["class","-value"]],null,null,null,null,null)),(t()(),eo(47,null,["",""])),Ji(48,2),(t()(),eo(-1,null,["\n "])),(t()(),Kr(50,0,null,null,9,"p",[],null,null,null,null,null)),(t()(),Kr(51,0,null,null,8,"span",[],null,null,null,null,null)),(t()(),Kr(52,0,null,null,2,"span",[["class","-label"]],null,null,null,null,null)),(t()(),eo(53,null,["",":"])),Ni(131072,cy,[ly,me]),(t()(),Kr(55,0,null,null,0,"br",[["class","-xs-only"]],null,null,null,null,null)),(t()(),eo(-1,null,[" "])),(t()(),Kr(57,0,null,null,2,"span",[["class","-value"]],null,null,null,null,null)),(t()(),eo(58,null,["",""])),Ji(59,2),(t()(),eo(-1,null,["\n "])),(t()(),Kr(61,0,null,null,9,"p",[],null,null,null,null,null)),(t()(),Kr(62,0,null,null,8,"span",[],null,null,null,null,null)),(t()(),Kr(63,0,null,null,2,"span",[["class","-label"]],null,null,null,null,null)),(t()(),eo(64,null,["",":"])),Ni(131072,cy,[ly,me]),(t()(),Kr(66,0,null,null,0,"br",[["class","-xs-only"]],null,null,null,null,null)),(t()(),eo(-1,null,[" "])),(t()(),Kr(68,0,null,null,2,"span",[["class","-value"]],null,null,null,null,null)),(t()(),eo(69,null,["",""])),Ji(70,2),(t()(),eo(-1,null,["\n "])),(t()(),Kr(72,0,null,null,4,"p",[],null,null,null,null,null)),(t()(),Kr(73,0,null,null,3,"a",[["class","-link"],["routerLink","/app/unconfirmedtransactions"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,n,e){var r=!0;return"click"===n&&(r=!1!==bi(t,74).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&r),r},null,null)),Mi(74,671744,null,0,lp,[rp,mh,vl],{routerLink:[0,"routerLink"]},null),(t()(),eo(75,null,["",""])),Ni(131072,cy,[ly,me]),(t()(),eo(-1,null,["\n "])),(t()(),Kr(78,0,null,null,4,"p",[],null,null,null,null,null)),(t()(),Kr(79,0,null,null,3,"a",[["class","-link"],["routerLink","/app/richlist"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,n,e){var r=!0;return"click"===n&&(r=!1!==bi(t,80).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&r),r},null,null)),Mi(80,671744,null,0,lp,[rp,mh,vl],{routerLink:[0,"routerLink"]},null),(t()(),eo(81,null,["",""])),Ni(131072,cy,[ly,me]),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n"])),(t()(),eo(-1,null,["\n\n"])),(t()(),Kr(86,0,null,null,2,"h2",[["class","-xs-only"]],null,null,null,null,null)),(t()(),eo(87,null,["",""])),Ni(131072,cy,[ly,me]),(t()(),eo(-1,null,["\n"])),(t()(),Kr(90,0,null,null,38,"div",[["class","table"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(92,0,null,null,29,"div",[["class","-header"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(94,0,null,null,26,"div",[["class","row"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(96,0,null,null,3,"div",[["class","col-sm-2 col-xs-4"]],null,null,null,null,null)),(t()(),Kr(97,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),eo(98,null,["",""])),Ni(131072,cy,[ly,me]),(t()(),eo(-1,null,["\n "])),(t()(),Kr(101,0,null,null,3,"div",[["class","col-sm-2 col-xs-4 -not-xs"]],null,null,null,null,null)),(t()(),Kr(102,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),eo(103,null,["",""])),Ni(131072,cy,[ly,me]),(t()(),eo(-1,null,["\n "])),(t()(),Kr(106,0,null,null,3,"div",[["class","col-sm-2 col-xs-4 -xs-only"]],null,null,null,null,null)),(t()(),Kr(107,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),eo(108,null,["",""])),Ni(131072,cy,[ly,me]),(t()(),eo(-1,null,["\n "])),(t()(),Kr(111,0,null,null,3,"div",[["class","col-sm-2 col-xs-4"]],null,null,null,null,null)),(t()(),Kr(112,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),eo(113,null,["",""])),Ni(131072,cy,[ly,me]),(t()(),eo(-1,null,["\n "])),(t()(),Kr(116,0,null,null,3,"div",[["class","col-sm-6 -fix-left -not-xs"]],null,null,null,null,null)),(t()(),Kr(117,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),eo(118,null,["",""])),Ni(131072,cy,[ly,me]),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n\n "])),(t()(),qr(16777216,null,null,1,null,W_)),Mi(124,16384,null,0,Wl,[ve,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,["\n \n "])),(t()(),qr(16777216,null,null,1,null,$_)),Mi(127,802816,null,0,Kl,[ve,ge,Fe],{ngForOf:[0,"ngForOf"]},null),(t()(),eo(-1,null,["\n"])),(t()(),eo(-1,null,["\n\n"])),(t()(),qr(16777216,null,null,1,null,tw)),Mi(131,16384,null,0,Wl,[ve,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,["\n"]))],function(t,n){var e=n.component;t(n,74,0,"/app/unconfirmedtransactions"),t(n,80,0,"/app/richlist"),t(n,124,0,!e.blocks.length),t(n,127,0,e.blocks),t(n,131,0,e.blocks&&e.blocks.length>0)},function(t,n){var e=n.component;t(n,7,0,pr(n,7,0,bi(n,8).transform("blocks.blocksTitle"))),t(n,11,0,pr(n,11,0,bi(n,12).transform("blocks.statsTitle"))),t(n,20,0,pr(n,20,0,bi(n,21).transform("blocks.blockHeight"))),t(n,25,0,e.blockCount>0?pr(n,25,0,t(n,26,0,bi(n,0),e.blockCount,"1.0-0")):e.loadingMetadataMsg),t(n,31,0,pr(n,31,0,bi(n,32).transform("blocks.currentSupply"))),t(n,36,0,e.currentSupply?pr(n,36,0,t(n,37,0,bi(n,0),e.currentSupply,"1.0-0")):e.loadingCoinSupplyMsg),t(n,42,0,pr(n,42,0,bi(n,43).transform("blocks.totalSupply"))),t(n,47,0,e.totalSupply?pr(n,47,0,t(n,48,0,bi(n,0),e.totalSupply,"1.0-0")):e.loadingCoinSupplyMsg),t(n,53,0,pr(n,53,0,bi(n,54).transform("blocks.currentCoinhourSupply"))),t(n,58,0,e.currentCoinhourSupply?pr(n,58,0,t(n,59,0,bi(n,0),e.currentCoinhourSupply,"1.0-0")):e.loadingCoinSupplyMsg),t(n,64,0,pr(n,64,0,bi(n,65).transform("blocks.totalCoinhourSupply"))),t(n,69,0,e.totalCoinhourSupply?pr(n,69,0,t(n,70,0,bi(n,0),e.totalCoinhourSupply,"1.0-0")):e.loadingCoinSupplyMsg),t(n,73,0,bi(n,74).target,bi(n,74).href),t(n,75,0,pr(n,75,0,bi(n,76).transform("blocks.unconfirmedTransactions"))),t(n,79,0,bi(n,80).target,bi(n,80).href),t(n,81,0,pr(n,81,0,bi(n,82).transform("blocks.richList"))),t(n,87,0,pr(n,87,0,bi(n,88).transform("blocks.blocksTitle"))),t(n,98,0,pr(n,98,0,bi(n,99).transform("blocks.time"))),t(n,103,0,pr(n,103,0,bi(n,104).transform("blocks.blockNumber"))),t(n,108,0,pr(n,108,0,bi(n,109).transform("blocks.blockNumberSmall"))),t(n,113,0,pr(n,113,0,bi(n,114).transform("blocks.transactions"))),t(n,118,0,pr(n,118,0,bi(n,119).transform("blocks.blockhash")))})}var ew=si("ng-component",fy,function(t){return oo(0,[(t()(),Kr(0,0,null,null,1,"ng-component",[],null,null,null,nw,G_)),Mi(1,114688,null,0,fy,[af,gf,mh,ly],null,null)],function(t,n){t(n,1,0)},null)},{},{},[]),rw=function(){function t(){this.animState=t.hideAnimName,this.showLabel=!1,this.cssClass="copy-button"}return t.prototype.copy=function(){var n=document.createElement("textarea");n.style.position="fixed",n.style.left="1px",n.style.top="1px",n.style.width="1px",n.style.height="1px",n.style.opacity="0",n.value=this.text,document.body.appendChild(n),n.focus(),n.select(),document.execCommand("copy"),document.body.removeChild(n),this.animState=t.showAnimName,this.showLabel=!0},t.prototype.animationDone=function(n){n.toState===t.showAnimName?this.animState=t.hideAnimName:this.showLabel=!1},t.showAnimName="show",t.hideAnimName="hide",t}(),iw=yr({encapsulation:0,styles:[[".icon[_ngcontent-%COMP%]{padding:5px 12px;position:absolute;margin-top:-8px;font-family:'Font Awesome 5 Free';font-size:14px;color:#dfdfdf;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-weight:300}.icon[_ngcontent-%COMP%]:hover{color:#bbb}.icon[_ngcontent-%COMP%]:active{color:#9b9b9b}.label[_ngcontent-%COMP%]{position:absolute;font-size:14px;top:-30px;left:5px;margin-left:-50%;background-color:rgba(0,0,0,.7);color:#fff;padding:5px 10px;pointer-events:none}"]],data:{animation:[{type:7,name:"showMessage",definitions:[{type:0,name:"show",styles:{type:6,styles:{opacity:1,transform:"translateY(0px)"},offset:null},options:void 0},{type:0,name:"hide",styles:{type:6,styles:{opacity:0,transform:"translateY(-10px)"},offset:null},options:void 0},{type:1,expr:"void => hide",animation:[{type:6,styles:{opacity:0,transform:"translateY(0px)"},offset:null},{type:4,styles:null,timings:"0ms 0ms"}],options:null},{type:1,expr:"* => show",animation:[{type:6,styles:{opacity:0,transform:"translateY(10px)"},offset:null},{type:4,styles:null,timings:"200ms 0ms ease-out"}],options:null},{type:1,expr:"* => hide",animation:[{type:6,styles:{opacity:1,transform:"translateY(0px)"},offset:null},{type:4,styles:null,timings:"200ms 500ms ease-in"}],options:null}],options:{}}]}});function ow(t){return oo(0,[(t()(),Kr(0,0,null,null,5,"div",[["class","icon"],["unselectable","on"]],null,[[null,"click"]],function(t,n,e){var r=!0;return"click"===n&&(r=!1!==t.component.copy()&&r),r},null,null)),(t()(),eo(-1,null,["\n \uf0c5\n "])),(t()(),Kr(2,0,null,null,2,"div",[["class","label"]],[[2,"hidden",null],[24,"@showMessage",0]],[[null,"@showMessage.done"]],function(t,n,e){var r=!0;return"@showMessage.done"===n&&(r=!1!==t.component.animationDone(e)&&r),r},null,null)),(t()(),eo(3,null,["",""])),Ni(131072,cy,[ly,me]),(t()(),eo(-1,null,["\n"]))],null,function(t,n){var e=n.component;t(n,2,0,!e.showLabel,e.animState),t(n,3,0,pr(n,3,0,bi(n,4).transform("copy.copied")))})}var lw=function(t){return t[t.ShowMore=0]="ShowMore",t[t.Loading=1]="Loading",t[t.DontShowMore=2]="DontShowMore",t}({}),uw=function(){function t(){this.maxInitialElements=10,this.disableClicks=!1,this.showMoreStatus=lw,this.totalInputs=0,this.showMoreInputs=lw.DontShowMore,this.inputsToShow=[],this.totalOutputs=0,this.showMoreOutputs=lw.DontShowMore,this.outputsToShow=[],this.unconfirmed=!1}return Object.defineProperty(t.prototype,"transaction",{get:function(){return this.transactionInternal},set:function(t){this.transactionInternal=t,this.totalInputs=this.transaction.inputs.length,this.totalOutputs=this.transaction.outputs.length,this.showInitialInputs(),this.showInitialOutputs()},enumerable:!0,configurable:!0}),t.prototype.showInitialInputs=function(){if(this.totalInputs>this.maxInitialElements){for(var t=0;tthis.maxInitialElements){for(var t=0;t0),t(n,6,0,e.block.id>0&&e.block.id0?e.pageIndex:1)),t(n,15,0,e.pageIndex>1),t(n,18,0,e.pageIndex>0),t(n,24,0,e.pageIndex=e.pageCount-1)),t(n,32,0,"/app/address/"+e.address+"/"+(e.pageIndex+2=e.pageCount-1)),t(n,38,0,"/app/address/"+e.address+"/"+e.pageCount)},function(t,n){var e=n.component;t(n,2,0,bi(n,5).target,bi(n,5).href),t(n,8,0,bi(n,11).target,bi(n,11).href),t(n,21,0,e.pageIndex+1),t(n,29,0,bi(n,32).target,bi(n,32).href),t(n,35,0,bi(n,38).target,bi(n,38).href)})}function tx(t){return oo(0,[Ni(0,gu,[Ke]),(t()(),Kr(1,0,null,null,86,"div",[["class","element-details-wrapper -right-margin"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(3,0,null,null,1,"h2",[["class","-not-xs"]],null,null,null,null,null)),(t()(),eo(4,null,["",""])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(6,0,null,null,2,"h2",[["class","-xs-only"]],null,null,null,null,null)),(t()(),eo(7,null,["",""])),Ni(131072,cy,[ly,me]),(t()(),eo(-1,null,["\n "])),(t()(),Kr(10,0,null,null,76,"div",[["class","element-details"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(12,0,null,null,12,"div",[["class","-row -xs-only"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),qr(16777216,null,null,1,null,Hw)),Mi(15,16384,null,0,Wl,[ve,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,["\n "])),(t()(),Kr(17,0,null,null,2,"span",[],null,null,null,null,null)),(t()(),eo(18,null,["",""])),Ni(131072,cy,[ly,me]),(t()(),Kr(20,0,null,null,0,"br",[["class","-xs-only"]],null,null,null,null,null)),(t()(),eo(-1,null,[" "])),(t()(),Kr(22,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),eo(23,null,["",""])),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(26,0,null,null,6,"div",[["class","-row -tx-number"]],null,null,null,null,null)),(t()(),Kr(27,0,null,null,2,"span",[],null,null,null,null,null)),(t()(),eo(28,null,["",""])),Ni(131072,cy,[ly,me]),(t()(),Kr(30,0,null,null,0,"br",[["class","-xs-only"]],null,null,null,null,null)),(t()(),Kr(31,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),eo(32,null,[" "," "])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(34,0,null,null,8,"div",[["class","-row"]],null,null,null,null,null)),(t()(),Kr(35,0,null,null,2,"span",[],null,null,null,null,null)),(t()(),eo(36,null,["",""])),Ni(131072,cy,[ly,me]),(t()(),Kr(38,0,null,null,0,"br",[["class","-xs-only"]],null,null,null,null,null)),(t()(),Kr(39,0,null,null,3,"div",[],null,null,null,null,null)),(t()(),eo(40,null,[" "," "])),Ji(41,2),Ni(131072,cy,[ly,me]),(t()(),eo(-1,null,["\n "])),(t()(),Kr(44,0,null,null,8,"div",[["class","-row"]],null,null,null,null,null)),(t()(),Kr(45,0,null,null,2,"span",[],null,null,null,null,null)),(t()(),eo(46,null,["",""])),Ni(131072,cy,[ly,me]),(t()(),Kr(48,0,null,null,0,"br",[["class","-xs-only"]],null,null,null,null,null)),(t()(),Kr(49,0,null,null,3,"div",[],null,null,null,null,null)),(t()(),eo(50,null,[" "," "])),Ji(51,2),Ni(131072,cy,[ly,me]),(t()(),eo(-1,null,["\n "])),(t()(),Kr(54,0,null,null,8,"div",[["class","-row"]],null,null,null,null,null)),(t()(),Kr(55,0,null,null,2,"span",[],null,null,null,null,null)),(t()(),eo(56,null,["",""])),Ni(131072,cy,[ly,me]),(t()(),Kr(58,0,null,null,0,"br",[["class","-xs-only"]],null,null,null,null,null)),(t()(),Kr(59,0,null,null,3,"div",[],null,null,null,null,null)),(t()(),eo(60,null,[" "," "])),Ji(61,2),Ni(131072,cy,[ly,me]),(t()(),eo(-1,null,["\n "])),(t()(),Kr(64,0,null,null,7,"div",[["class","-row"]],null,null,null,null,null)),(t()(),Kr(65,0,null,null,2,"span",[],null,null,null,null,null)),(t()(),eo(66,null,["",""])),Ni(131072,cy,[ly,me]),(t()(),Kr(68,0,null,null,0,"br",[["class","-xs-only"]],null,null,null,null,null)),(t()(),Kr(69,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),eo(70,null,[" "," "])),Ji(71,2),(t()(),eo(-1,null,["\n "])),(t()(),Kr(73,0,null,null,12,"div",[["class","-row"]],null,null,null,null,null)),(t()(),Kr(74,0,null,null,2,"span",[],null,null,null,null,null)),(t()(),eo(75,null,["",""])),Ni(131072,cy,[ly,me]),(t()(),Kr(77,0,null,null,0,"br",[["class","-xs-only"]],null,null,null,null,null)),(t()(),Kr(78,0,null,null,7,"div",[],null,null,null,null,null)),(t()(),eo(-1,null,[" "])),(t()(),qr(16777216,null,null,1,null,qw)),Mi(81,16384,null,0,Wl,[ve,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,[" "])),(t()(),qr(16777216,null,null,1,null,Kw)),Mi(84,16384,null,0,Wl,[ve,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,[" "])),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n"])),(t()(),eo(-1,null,["\n"])),(t()(),Kr(89,0,null,null,4,"div",[["class","-qr-code -not-xs"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),qr(16777216,null,null,1,null,Gw)),Mi(92,16384,null,0,Wl,[ve,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,["\n"])),(t()(),eo(-1,null,["\n\n"])),(t()(),qr(16777216,null,null,1,null,Ww)),Mi(96,16384,null,0,Wl,[ve,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,["\n\n"])),(t()(),qr(16777216,null,null,1,null,Qw)),Mi(99,802816,null,0,Kl,[ve,ge,Fe],{ngForOf:[0,"ngForOf"]},null),(t()(),eo(-1,null,["\n\n"])),(t()(),qr(16777216,null,null,1,null,Jw)),Mi(102,16384,null,0,Wl,[ve,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,["\n"]))],function(t,n){var e=n.component;t(n,15,0,e.address),t(n,81,0,e.address),t(n,84,0,!e.address),t(n,92,0,e.address),t(n,96,0,void 0===e.transactions),t(n,99,0,e.pageTransactions),t(n,102,0,e.transactions&&e.transactions.length>e.pageSize)},function(t,n){var e=n.component;t(n,4,0,e.address),t(n,7,0,pr(n,7,0,bi(n,8).transform("addressDetail.title"))),t(n,18,0,pr(n,18,0,bi(n,19).transform("general.address"))),t(n,23,0,e.address?e.address:e.loadingMsg),t(n,28,0,pr(n,28,0,bi(n,29).transform("addressDetail.txsNumber"))),t(n,32,0,e.transactions?e.transactions.length:e.loadingMsg),t(n,36,0,pr(n,36,0,bi(n,37).transform("addressDetail.totalReceived"))),t(n,40,0,e.transactions&&e.totalReceived?pr(n,40,0,t(n,41,0,bi(n,0),e.totalReceived.decimalPlaces(6).toString(),"1.0-6"))+" "+pr(n,40,0,bi(n,42).transform("general.coinIdentifier")):e.loadingMsg),t(n,46,0,pr(n,46,0,bi(n,47).transform("addressDetail.totalSent"))),t(n,50,0,e.transactions&&e.totalSent?pr(n,50,0,t(n,51,0,bi(n,0),e.totalSent.decimalPlaces(6).toString(),"1.0-6"))+" "+pr(n,50,0,bi(n,52).transform("general.coinIdentifier")):e.loadingMsg),t(n,56,0,pr(n,56,0,bi(n,57).transform("addressDetail.currentBalance"))),t(n,60,0,e.transactions&&e.balance?pr(n,60,0,t(n,61,0,bi(n,0),e.balance.decimalPlaces(6).toString(),"1.0-6"))+" "+pr(n,60,0,bi(n,62).transform("general.coinIdentifier")):e.loadingMsg),t(n,66,0,pr(n,66,0,bi(n,67).transform("addressDetail.hoursBalance"))),t(n,70,0,e.transactions&&e.hoursBalance?pr(n,70,0,t(n,71,0,bi(n,0),e.hoursBalance.decimalPlaces(0).toString(),"1.0-0")):e.loadingMsg),t(n,75,0,pr(n,75,0,bi(n,76).transform("addressDetail.tools")))})}var nx=si("app-address-detail",O_,function(t){return oo(0,[(t()(),Kr(0,0,null,null,1,"app-address-detail",[],null,null,null,tx,zw)),Mi(1,114688,null,0,O_,[af,gf,mh,ly],null,null)],function(t,n){t(n,1,0)},null)},{},{},[]),ex=yr({encapsulation:0,styles:[[""]],data:{}});function rx(t){return oo(0,[(t()(),Kr(0,0,null,null,2,"a",[["class","-link"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,n,e){var r=!0;return"click"===n&&(r=!1!==bi(t,1).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&r),r},null,null)),Mi(1,671744,null,0,lp,[rp,mh,vl],{routerLink:[0,"routerLink"]},null),(t()(),eo(2,null,["",""]))],function(t,n){t(n,1,0,"/app/block/"+n.component.transaction.block)},function(t,n){var e=n.component;t(n,0,0,bi(n,1).target,bi(n,1).href),t(n,2,0,e.transaction.block)})}function ix(t){return oo(0,[(t()(),Kr(0,0,null,null,1,"app-copy-button",[],[[1,"class",0]],null,null,ow,iw)),Mi(1,49152,null,0,rw,[],{text:[0,"text"]},null)],function(t,n){t(n,1,0,n.component.transaction.block)},function(t,n){t(n,0,0,bi(n,1).cssClass)})}function ox(t){return oo(0,[(t()(),Kr(0,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),eo(1,null,["",""]))],null,function(t,n){t(n,1,0,n.component.loadingMsg)})}function lx(t){return oo(0,[(t()(),Kr(0,0,null,null,1,"app-loading",[],null,null,null,F_,D_)),Mi(1,49152,null,0,R_,[],{longErrorMsg:[0,"longErrorMsg"]},null)],function(t,n){t(n,1,0,n.component.longErrorMsg)},null)}function ux(t){return oo(0,[(t()(),Kr(0,0,null,null,1,"app-transaction-info",[],null,null,null,mw,sw)),Mi(1,49152,null,0,uw,[],{transaction:[0,"transaction"]},null)],function(t,n){t(n,1,0,n.component.transaction)},null)}function sx(t){return oo(0,[Ni(0,gu,[Ke]),(t()(),Kr(1,0,null,null,44,"div",[["class","element-details-wrapper"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(3,0,null,null,2,"h2",[],null,null,null,null,null)),(t()(),eo(4,null,["",""])),Ni(131072,cy,[ly,me]),(t()(),eo(-1,null,["\n "])),(t()(),Kr(7,0,null,null,37,"div",[["class","element-details"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(9,0,null,null,8,"div",[["class","-row"]],null,null,null,null,null)),(t()(),Kr(10,0,null,null,2,"span",[],null,null,null,null,null)),(t()(),eo(11,null,["",""])),Ni(131072,cy,[ly,me]),(t()(),Kr(13,0,null,null,0,"br",[["class","-xs-only"]],null,null,null,null,null)),(t()(),Kr(14,0,null,null,3,"div",[],null,null,null,null,null)),(t()(),eo(15,null,[" "," "])),Ni(131072,cy,[ly,me]),Ni(131072,cy,[ly,me]),(t()(),eo(-1,null,["\n "])),(t()(),Kr(19,0,null,null,7,"div",[["class","-row"]],null,null,null,null,null)),(t()(),Kr(20,0,null,null,2,"span",[],null,null,null,null,null)),(t()(),eo(21,null,["",""])),Ni(131072,cy,[ly,me]),(t()(),Kr(23,0,null,null,0,"br",[["class","-xs-only"]],null,null,null,null,null)),(t()(),Kr(24,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),eo(25,null,[" "," "])),Ji(26,1),(t()(),eo(-1,null,["\n "])),(t()(),Kr(28,0,null,null,15,"div",[["class","-row"]],null,null,null,null,null)),(t()(),Kr(29,0,null,null,2,"span",[],null,null,null,null,null)),(t()(),eo(30,null,["",""])),Ni(131072,cy,[ly,me]),(t()(),Kr(32,0,null,null,0,"br",[["class","-xs-only"]],null,null,null,null,null)),(t()(),Kr(33,0,null,null,10,"div",[],null,null,null,null,null)),(t()(),eo(-1,null,[" "])),(t()(),qr(16777216,null,null,1,null,rx)),Mi(36,16384,null,0,Wl,[ve,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,[" "])),(t()(),qr(16777216,null,null,1,null,ix)),Mi(39,16384,null,0,Wl,[ve,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,[" "])),(t()(),qr(16777216,null,null,1,null,ox)),Mi(42,16384,null,0,Wl,[ve,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,[" "])),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n"])),(t()(),eo(-1,null,["\n\n"])),(t()(),qr(16777216,null,null,1,null,lx)),Mi(48,16384,null,0,Wl,[ve,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,["\n\n"])),(t()(),qr(16777216,null,null,1,null,ux)),Mi(51,16384,null,0,Wl,[ve,ge],{ngIf:[0,"ngIf"]},null)],function(t,n){var e=n.component;t(n,36,0,e.transaction),t(n,39,0,e.transaction),t(n,42,0,!e.transaction),t(n,48,0,void 0===e.transaction),t(n,51,0,e.transaction)},function(t,n){var e=n.component;t(n,4,0,pr(n,4,0,bi(n,5).transform("transactionDetail.title"))),t(n,11,0,pr(n,11,0,bi(n,12).transform("transactionDetail.status"))),t(n,15,0,e.transaction?pr(n,15,0,e.transaction.status?bi(n,16).transform("transactionDetail.confirmed"):bi(n,17).transform("transactionDetail.unconfirmed")):e.loadingMsg),t(n,21,0,pr(n,21,0,bi(n,22).transform("transactionDetail.size"))),t(n,25,0,e.transaction?pr(n,25,0,t(n,26,0,bi(n,0),e.transaction.length))+" bytes":e.loadingMsg),t(n,30,0,pr(n,30,0,bi(n,31).transform("transactionDetail.block")))})}var ax=si("app-transaction-detail",gy,function(t){return oo(0,[(t()(),Kr(0,0,null,null,1,"app-transaction-detail",[],null,null,null,sx,ex)),Mi(1,114688,null,0,gy,[gf,mh,ly],null,null)],function(t,n){t(n,1,0)},null)},{},{},[]),cx=yr({encapsulation:0,styles:[[""]],data:{}});function hx(t){return oo(0,[(t()(),Kr(0,0,null,null,1,"app-date-formatter",[],null,null,null,K_,B_)),Mi(1,49152,null,0,U_,[],{date:[0,"date"],dateMultiplier:[1,"dateMultiplier"]},null)],function(t,n){t(n,1,0,n.component.mostRecent,1)},null)}function px(t){return oo(0,[(t()(),Kr(0,0,null,null,2,"span",[],null,null,null,null,null)),(t()(),eo(1,null,["",""])),Ni(131072,cy,[ly,me])],null,function(t,n){t(n,1,0,pr(n,1,0,bi(n,2).transform("unconfirmedTx.withoutTransactions")))})}function fx(t){return oo(0,[(t()(),Kr(0,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),eo(1,null,["",""]))],null,function(t,n){t(n,1,0,n.component.loadingMsg)})}function dx(t){return oo(0,[(t()(),Kr(0,0,null,null,1,"app-date-formatter",[],null,null,null,K_,B_)),Mi(1,49152,null,0,U_,[],{date:[0,"date"],dateMultiplier:[1,"dateMultiplier"]},null)],function(t,n){t(n,1,0,n.component.leastRecent,1)},null)}function yx(t){return oo(0,[(t()(),Kr(0,0,null,null,2,"span",[],null,null,null,null,null)),(t()(),eo(1,null,["",""])),Ni(131072,cy,[ly,me])],null,function(t,n){t(n,1,0,pr(n,1,0,bi(n,2).transform("unconfirmedTx.withoutTransactions")))})}function gx(t){return oo(0,[(t()(),Kr(0,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),eo(1,null,["",""]))],null,function(t,n){t(n,1,0,n.component.loadingMsg)})}function vx(t){return oo(0,[(t()(),Kr(0,0,null,null,1,"app-loading",[],null,null,null,F_,D_)),Mi(1,49152,null,0,R_,[],{longErrorMsg:[0,"longErrorMsg"]},null)],function(t,n){t(n,1,0,n.component.longErrorMsg)},null)}function mx(t){return oo(0,[(t()(),Kr(0,0,null,null,1,"app-transaction-info",[],null,null,null,mw,sw)),Mi(1,49152,null,0,uw,[],{transaction:[0,"transaction"],unconfirmed:[1,"unconfirmed"]},null)],function(t,n){t(n,1,0,n.context.$implicit,!0)},null)}function bx(t){return oo(0,[Ni(0,gu,[Ke]),(t()(),Kr(1,0,null,null,61,"div",[["class","element-details-wrapper"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(3,0,null,null,2,"h2",[],null,null,null,null,null)),(t()(),eo(4,null,["",""])),Ni(131072,cy,[ly,me]),(t()(),eo(-1,null,["\n "])),(t()(),Kr(7,0,null,null,54,"div",[["class","element-details"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(9,0,null,null,7,"div",[["class","-row"]],null,null,null,null,null)),(t()(),Kr(10,0,null,null,2,"span",[],null,null,null,null,null)),(t()(),eo(11,null,["",""])),Ni(131072,cy,[ly,me]),(t()(),Kr(13,0,null,null,0,"br",[["class","-xs-only"]],null,null,null,null,null)),(t()(),Kr(14,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),eo(15,null,[" "," "])),Ni(131072,cy,[ly,me]),(t()(),eo(-1,null,["\n "])),(t()(),Kr(18,0,null,null,8,"div",[["class","-row"]],null,null,null,null,null)),(t()(),Kr(19,0,null,null,2,"span",[],null,null,null,null,null)),(t()(),eo(20,null,["",""])),Ni(131072,cy,[ly,me]),(t()(),Kr(22,0,null,null,0,"br",[["class","-xs-only"]],null,null,null,null,null)),(t()(),Kr(23,0,null,null,3,"div",[],null,null,null,null,null)),(t()(),eo(24,null,[" "," "])),Ji(25,1),Ni(131072,cy,[ly,me]),(t()(),eo(-1,null,["\n "])),(t()(),Kr(28,0,null,null,15,"div",[["class","-row"]],null,null,null,null,null)),(t()(),Kr(29,0,null,null,2,"span",[],null,null,null,null,null)),(t()(),eo(30,null,["",""])),Ni(131072,cy,[ly,me]),(t()(),Kr(32,0,null,null,0,"br",[["class","-xs-only"]],null,null,null,null,null)),(t()(),Kr(33,0,null,null,10,"div",[],null,null,null,null,null)),(t()(),eo(-1,null,[" "])),(t()(),qr(16777216,null,null,1,null,hx)),Mi(36,16384,null,0,Wl,[ve,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,[" "])),(t()(),qr(16777216,null,null,1,null,px)),Mi(39,16384,null,0,Wl,[ve,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,[" "])),(t()(),qr(16777216,null,null,1,null,fx)),Mi(42,16384,null,0,Wl,[ve,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,[" "])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(45,0,null,null,15,"div",[["class","-row"]],null,null,null,null,null)),(t()(),Kr(46,0,null,null,2,"span",[],null,null,null,null,null)),(t()(),eo(47,null,["",""])),Ni(131072,cy,[ly,me]),(t()(),Kr(49,0,null,null,0,"br",[["class","-xs-only"]],null,null,null,null,null)),(t()(),Kr(50,0,null,null,10,"div",[],null,null,null,null,null)),(t()(),eo(-1,null,[" "])),(t()(),qr(16777216,null,null,1,null,dx)),Mi(53,16384,null,0,Wl,[ve,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,[" "])),(t()(),qr(16777216,null,null,1,null,yx)),Mi(56,16384,null,0,Wl,[ve,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,[" "])),(t()(),qr(16777216,null,null,1,null,gx)),Mi(59,16384,null,0,Wl,[ve,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,[" "])),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n"])),(t()(),eo(-1,null,["\n\n"])),(t()(),qr(16777216,null,null,1,null,vx)),Mi(65,16384,null,0,Wl,[ve,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,["\n\n"])),(t()(),qr(16777216,null,null,1,null,mx)),Mi(68,802816,null,0,Kl,[ve,ge,Fe],{ngForOf:[0,"ngForOf"]},null)],function(t,n){var e=n.component;t(n,36,0,e.transactions&&e.transactions.length>0),t(n,39,0,e.transactions&&0==e.transactions.length),t(n,42,0,!e.transactions),t(n,53,0,e.transactions&&e.transactions.length>0),t(n,56,0,e.transactions&&0==e.transactions.length),t(n,59,0,!e.transactions),t(n,65,0,void 0===e.transactions),t(n,68,0,e.transactions)},function(t,n){var e=n.component;t(n,4,0,pr(n,4,0,bi(n,5).transform("unconfirmedTx.title"))),t(n,11,0,pr(n,11,0,bi(n,12).transform("unconfirmedTx.quantity"))),t(n,15,0,e.transactions?e.transactions.length>0?e.transactions.length:pr(n,15,0,bi(n,16).transform("unconfirmedTx.withoutTransactions")):e.loadingMsg),t(n,20,0,pr(n,20,0,bi(n,21).transform("unconfirmedTx.size"))),t(n,24,0,e.transactions?e.transactions.length>0?pr(n,24,0,t(n,25,0,bi(n,0),e.totalSize))+" bytes":pr(n,24,0,bi(n,26).transform("unconfirmedTx.withoutTransactions")):e.loadingMsg),t(n,30,0,pr(n,30,0,bi(n,31).transform("unconfirmedTx.newest"))),t(n,47,0,pr(n,47,0,bi(n,48).transform("unconfirmedTx.oldest")))})}var _x=si("app-unconfirmed-transactions",dy,function(t){return oo(0,[(t()(),Kr(0,0,null,null,1,"app-unconfirmed-transactions",[],null,null,null,bx,cx)),Mi(1,114688,null,0,dy,[gf,ly],null,null)],function(t,n){t(n,1,0)},null)},{},{},[]),wx=yr({encapsulation:0,styles:[[".table[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none}"]],data:{}});function xx(t){return oo(0,[(t()(),Kr(0,0,null,null,1,"app-loading",[],null,null,null,F_,D_)),Mi(1,49152,null,0,R_,[],{longErrorMsg:[0,"longErrorMsg"]},null)],function(t,n){t(n,1,0,n.component.longErrorMsg)},null)}function Cx(t){return oo(0,[(t()(),Kr(0,0,null,null,15,"a",[["class","-row"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,n,e){var r=!0;return"click"===n&&(r=!1!==bi(t,1).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&r),r},null,null)),Mi(1,671744,null,0,lp,[rp,mh,vl],{routerLink:[0,"routerLink"]},null),(t()(),eo(-1,null,["\n "])),(t()(),Kr(3,0,null,null,11,"div",[["class","row"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(5,0,null,null,1,"div",[["class","col-sm-1 -not-xs -gray"]],null,null,null,null,null)),(t()(),eo(6,null,["",""])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(8,0,null,null,1,"div",[["class","col-xs-6 col-sm-8"]],null,null,null,null,null)),(t()(),eo(9,null,["",""])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(11,0,null,null,2,"div",[["class","col-xs-6 col-sm-3"]],null,null,null,null,null)),(t()(),eo(12,null,["",""])),Ji(13,2),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "]))],function(t,n){t(n,1,0,"/app/address/"+n.context.$implicit.address)},function(t,n){t(n,0,0,bi(n,1).target,bi(n,1).href),t(n,6,0,n.context.index+1),t(n,9,0,n.context.$implicit.address),t(n,12,0,pr(n,12,0,t(n,13,0,bi(n.parent,0),n.context.$implicit.coins,"1.0-6")))})}function Sx(t){return oo(0,[Ni(0,gu,[Ke]),(t()(),Kr(1,0,null,null,2,"h2",[],null,null,null,null,null)),(t()(),eo(2,null,["",""])),Ni(131072,cy,[ly,me]),(t()(),eo(-1,null,["\n\n"])),(t()(),Kr(5,0,null,null,27,"div",[["class","table"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(7,0,null,null,18,"div",[["class","-header"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(9,0,null,null,15,"div",[["class","row"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(11,0,null,null,2,"div",[["class","col-sm-1 -not-xs"]],null,null,null,null,null)),(t()(),Kr(12,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),eo(-1,null,["#"])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(15,0,null,null,3,"div",[["class","col-xs-6 col-sm-8"]],null,null,null,null,null)),(t()(),Kr(16,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),eo(17,null,["",""])),Ni(131072,cy,[ly,me]),(t()(),eo(-1,null,["\n "])),(t()(),Kr(20,0,null,null,3,"div",[["class","col-xs-6 col-sm-3"]],null,null,null,null,null)),(t()(),Kr(21,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),eo(22,null,["",""])),Ni(131072,cy,[ly,me]),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n\n "])),(t()(),qr(16777216,null,null,1,null,xx)),Mi(28,16384,null,0,Wl,[ve,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,["\n\n "])),(t()(),qr(16777216,null,null,1,null,Cx)),Mi(31,802816,null,0,Kl,[ve,ge,Fe],{ngForOf:[0,"ngForOf"]},null),(t()(),eo(-1,null,["\n"])),(t()(),eo(-1,null,["\n"]))],function(t,n){var e=n.component;t(n,28,0,!e.entries.length),t(n,31,0,e.entries)},function(t,n){t(n,2,0,pr(n,2,0,bi(n,3).transform("richlist.title"))),t(n,17,0,pr(n,17,0,bi(n,18).transform("general.address"))),t(n,22,0,pr(n,22,0,bi(n,23).transform("general.coins")))})}var Ox=si("ng-component",E_,function(t){return oo(0,[(t()(),Kr(0,0,null,null,1,"ng-component",[],null,null,null,Sx,wx)),Mi(1,114688,null,0,E_,[af,ly],null,null)],function(t,n){t(n,1,0)},null)},{},{},[]),Ex=yr({encapsulation:0,styles:[[""]],data:{}});function kx(t){return oo(0,[(t()(),Kr(0,0,null,null,2,"a",[["class","-link"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,n,e){var r=!0;return"click"===n&&(r=!1!==bi(t,1).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&r),r},null,null)),Mi(1,671744,null,0,lp,[rp,mh,vl],{routerLink:[0,"routerLink"]},null),(t()(),eo(2,null,["",""]))],function(t,n){t(n,1,0,"/app/address/"+n.component.address)},function(t,n){var e=n.component;t(n,0,0,bi(n,1).target,bi(n,1).href),t(n,2,0,e.address)})}function Tx(t){return oo(0,[(t()(),Kr(0,0,null,null,1,"app-copy-button",[],[[1,"class",0]],null,null,ow,iw)),Mi(1,49152,null,0,rw,[],{text:[0,"text"]},null)],function(t,n){t(n,1,0,n.component.address)},function(t,n){t(n,0,0,bi(n,1).cssClass)})}function Px(t){return oo(0,[(t()(),Kr(0,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),eo(1,null,["",""]))],null,function(t,n){t(n,1,0,n.component.loadingMsg)})}function Ix(t){return oo(0,[(t()(),Kr(0,0,null,null,1,"app-loading",[],null,null,null,F_,D_)),Mi(1,49152,null,0,R_,[],{longErrorMsg:[0,"longErrorMsg"]},null)],function(t,n){t(n,1,0,n.component.longErrorMsg)},null)}function Mx(t){return oo(0,[(t()(),Kr(0,0,null,null,1,"app-date-formatter",[],null,null,null,K_,B_)),Mi(1,49152,null,0,U_,[],{date:[0,"date"]},null)],function(t,n){t(n,1,0,n.parent.context.$implicit.time)},null)}function Nx(t){return oo(0,[(t()(),Kr(0,0,null,null,75,"div",[["class","transaction"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(2,0,null,null,33,"div",[["class","-title"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(4,0,null,null,30,"div",[["class","row"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(6,0,null,null,18,"div",[["class","col-md-9 col-sm-12"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(8,0,null,null,15,"div",[["class","-row"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(10,0,null,null,4,"div",[["class","-float-left"]],null,null,null,null,null)),(t()(),eo(11,null,["",""])),Ni(131072,cy,[ly,me]),(t()(),Kr(13,0,null,null,1,"span",[["class","-xs-sm-only"]],null,null,null,null,null)),(t()(),eo(-1,null,[":"])),(t()(),Kr(15,0,null,null,0,"br",[["class","-xs-sm-only"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(17,0,null,null,5,"div",[],null,null,null,null,null)),(t()(),Kr(18,0,null,null,2,"a",[],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,n,e){var r=!0;return"click"===n&&(r=!1!==bi(t,19).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&r),r},null,null)),Mi(19,671744,null,0,lp,[rp,mh,vl],{routerLink:[0,"routerLink"]},null),(t()(),eo(20,null,["",""])),(t()(),Kr(21,0,null,null,1,"app-copy-button",[],[[1,"class",0]],null,null,ow,iw)),Mi(22,49152,null,0,rw,[],{text:[0,"text"]},null),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(26,0,null,null,7,"div",[["class","col-md-3 col-sm-12 -date"]],null,null,null,null,null)),(t()(),Kr(27,0,null,null,6,"div",[["class","-row"]],null,null,null,null,null)),(t()(),Kr(28,0,null,null,3,"span",[["class","-xs-sm-only"]],null,null,null,null,null)),(t()(),eo(29,null,["",":"])),Ni(131072,cy,[ly,me]),(t()(),Kr(31,0,null,null,0,"br",[],null,null,null,null,null)),(t()(),qr(16777216,null,null,1,null,Mx)),Mi(33,16384,null,0,Wl,[ve,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n\n "])),(t()(),Kr(37,0,null,null,37,"div",[["class","-data -clear-background"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(39,0,null,null,34,"div",[["class","row"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(41,0,null,null,31,"div",[["class","col-sm-12"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(43,0,null,null,28,"div",[["class","-body"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(45,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),eo(46,null,["",""])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(48,0,null,null,6,"div",[["class","-balance"]],null,null,null,null,null)),(t()(),Kr(49,0,null,null,2,"div",[["class","-transparent -float-left"]],null,null,null,null,null)),(t()(),eo(50,null,["",":\xa0"])),Ni(131072,cy,[ly,me]),(t()(),Kr(52,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),eo(53,null,[" ",""])),Ji(54,2),(t()(),eo(-1,null,["\n "])),(t()(),Kr(56,0,null,null,6,"div",[["class","-balance"]],null,null,null,null,null)),(t()(),Kr(57,0,null,null,2,"div",[["class","-transparent -float-left"]],null,null,null,null,null)),(t()(),eo(58,null,["",":\xa0"])),Ni(131072,cy,[ly,me]),(t()(),Kr(60,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),eo(61,null,[" ",""])),Ji(62,2),(t()(),eo(-1,null,["\n "])),(t()(),Kr(64,0,null,null,6,"div",[["class","-balance"]],null,null,null,null,null)),(t()(),Kr(65,0,null,null,2,"div",[["class","-transparent -float-left"]],null,null,null,null,null)),(t()(),eo(66,null,["",":\xa0"])),Ni(131072,cy,[ly,me]),(t()(),Kr(68,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),eo(69,null,[" ",""])),Ji(70,2),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "]))],function(t,n){t(n,19,0,"/app/transaction/"+n.context.$implicit.src_tx),t(n,22,0,n.context.$implicit.src_tx),t(n,33,0,n.context.$implicit)},function(t,n){t(n,11,0,pr(n,11,0,bi(n,12).transform("unspentOutputs.origin"))),t(n,18,0,bi(n,19).target,bi(n,19).href),t(n,20,0,n.context.$implicit.src_tx),t(n,21,0,bi(n,22).cssClass),t(n,29,0,pr(n,29,0,bi(n,30).transform("unspentOutputs.date"))),t(n,46,0,n.context.$implicit.hash),t(n,50,0,pr(n,50,0,bi(n,51).transform("general.coins"))),t(n,53,0,pr(n,53,0,t(n,54,0,bi(n.parent.parent,0),n.context.$implicit.coins,"1.0-6"))),t(n,58,0,pr(n,58,0,bi(n,59).transform("general.iniialHours"))),t(n,61,0,pr(n,61,0,t(n,62,0,bi(n.parent.parent,0),n.context.$implicit.hours,"1.0-0"))),t(n,66,0,pr(n,66,0,bi(n,67).transform("general.currentHours"))),t(n,69,0,pr(n,69,0,t(n,70,0,bi(n.parent.parent,0),n.context.$implicit.calculated_hours,"1.0-0")))})}function Ax(t){return oo(0,[(t()(),Kr(0,0,null,null,4,"div",[],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),qr(16777216,null,null,1,null,Nx)),Mi(3,802816,null,0,Kl,[ve,ge,Fe],{ngForOf:[0,"ngForOf"]},null),(t()(),eo(-1,null,["\n"]))],function(t,n){t(n,3,0,n.component.outputs.head_outputs)},null)}function jx(t){return oo(0,[Ni(0,gu,[Ke]),(t()(),Kr(1,0,null,null,52,"div",[["class","element-details-wrapper"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(3,0,null,null,2,"h2",[],null,null,null,null,null)),(t()(),eo(4,null,["",""])),Ni(131072,cy,[ly,me]),(t()(),eo(-1,null,["\n "])),(t()(),Kr(7,0,null,null,45,"div",[["class","element-details"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(9,0,null,null,15,"div",[["class","-row"]],null,null,null,null,null)),(t()(),Kr(10,0,null,null,2,"span",[],null,null,null,null,null)),(t()(),eo(11,null,["",""])),Ni(131072,cy,[ly,me]),(t()(),Kr(13,0,null,null,0,"br",[["class","-xs-only"]],null,null,null,null,null)),(t()(),Kr(14,0,null,null,10,"div",[],null,null,null,null,null)),(t()(),eo(-1,null,[" "])),(t()(),qr(16777216,null,null,1,null,kx)),Mi(17,16384,null,0,Wl,[ve,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,[" "])),(t()(),qr(16777216,null,null,1,null,Tx)),Mi(20,16384,null,0,Wl,[ve,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,[" "])),(t()(),qr(16777216,null,null,1,null,Px)),Mi(23,16384,null,0,Wl,[ve,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,[" "])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(26,0,null,null,6,"div",[["class","-row"]],null,null,null,null,null)),(t()(),Kr(27,0,null,null,2,"span",[],null,null,null,null,null)),(t()(),eo(28,null,["",""])),Ni(131072,cy,[ly,me]),(t()(),Kr(30,0,null,null,0,"br",[["class","-xs-only"]],null,null,null,null,null)),(t()(),Kr(31,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),eo(32,null,[" "," "])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(34,0,null,null,8,"div",[["class","-row"]],null,null,null,null,null)),(t()(),Kr(35,0,null,null,2,"span",[],null,null,null,null,null)),(t()(),eo(36,null,["",""])),Ni(131072,cy,[ly,me]),(t()(),Kr(38,0,null,null,0,"br",[["class","-xs-only"]],null,null,null,null,null)),(t()(),Kr(39,0,null,null,3,"div",[],null,null,null,null,null)),(t()(),eo(40,null,[" "," "])),Ji(41,2),Ni(131072,cy,[ly,me]),(t()(),eo(-1,null,["\n "])),(t()(),Kr(44,0,null,null,7,"div",[["class","-row"]],null,null,null,null,null)),(t()(),Kr(45,0,null,null,2,"span",[],null,null,null,null,null)),(t()(),eo(46,null,["",""])),Ni(131072,cy,[ly,me]),(t()(),Kr(48,0,null,null,0,"br",[["class","-xs-only"]],null,null,null,null,null)),(t()(),Kr(49,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),eo(50,null,[" "," "])),Ji(51,2),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n"])),(t()(),eo(-1,null,["\n\n"])),(t()(),qr(16777216,null,null,1,null,Ix)),Mi(56,16384,null,0,Wl,[ve,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,["\n\n"])),(t()(),qr(16777216,null,null,1,null,Ax)),Mi(59,16384,null,0,Wl,[ve,ge],{ngIf:[0,"ngIf"]},null)],function(t,n){var e=n.component;t(n,17,0,e.address),t(n,20,0,e.address),t(n,23,0,!e.address),t(n,56,0,void 0===e.outputs),t(n,59,0,e.outputs)},function(t,n){var e=n.component;t(n,4,0,pr(n,4,0,bi(n,5).transform("unspentOutputs.title"))),t(n,11,0,pr(n,11,0,bi(n,12).transform("unspentOutputs.address"))),t(n,28,0,pr(n,28,0,bi(n,29).transform("unspentOutputs.outputsNumber"))),t(n,32,0,e.outputs?e.outputs.head_outputs.length:e.loadingMsg),t(n,36,0,pr(n,36,0,bi(n,37).transform("unspentOutputs.totalCoins"))),t(n,40,0,null!=e.coins?pr(n,40,0,t(n,41,0,bi(n,0),e.coins.decimalPlaces(6).toString(),"1.0-6"))+" "+pr(n,40,0,bi(n,42).transform("general.coinIdentifier")):e.loadingMsg),t(n,46,0,pr(n,46,0,bi(n,47).transform("unspentOutputs.totalHours"))),t(n,50,0,null!=e.hours?pr(n,50,0,t(n,51,0,bi(n,0),e.hours.decimalPlaces(0).toString(),"1.0-0")):e.loadingMsg)})}var Rx=si("app-unspent-outputs",k_,function(t){return oo(0,[(t()(),Kr(0,0,null,null,1,"app-unspent-outputs",[],null,null,null,jx,Ex)),Mi(1,114688,null,0,k_,[af,mh,ly],null,null)],function(t,n){t(n,1,0)},null)},{},{},[]),Dx=yr({encapsulation:2,styles:[],data:{}});function Lx(t){return oo(0,[(t()(),Kr(0,0,null,null,2,"h2",[],null,null,null,null,null)),(t()(),eo(1,null,["",""])),Ni(131072,cy,[ly,me]),(t()(),eo(-1,null,["\n"])),(t()(),Kr(4,0,null,null,3,"app-loading",[],null,null,null,F_,D_)),Mi(5,49152,null,0,R_,[],{longErrorMsg:[0,"longErrorMsg"]},null),to(6,{term:0}),Ni(131072,cy,[ly,me])],function(t,n){var e=n.component;t(n,5,0,pr(n,5,0,bi(n,7).transform(e.errorMsg,t(n,6,0,e.searchTerm))))},function(t,n){t(n,1,0,pr(n,1,0,bi(n,2).transform("search.title")))})}var Vx=si("ng-component",I_,function(t){return oo(0,[(t()(),Kr(0,0,null,null,1,"ng-component",[],null,null,null,Lx,Dx)),Mi(1,114688,null,0,I_,[P_,mh,rp],null,null)],function(t,n){t(n,1,0)},null)},{},{},[]),Fx=(e("cUpc"),Object.assign||function(t){for(var n=1;n div[_ngcontent-%COMP%]{width:100%}@media (min-width:40em){footer[_ngcontent-%COMP%] .footer-third-row[_ngcontent-%COMP%]{padding:40px 0}footer[_ngcontent-%COMP%] .footer-third-row[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:33.3333333333%}}footer[_ngcontent-%COMP%] .footer-third-row[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0;line-height:2.4rem;font-size:13px;font-weight:100;color:#616d7c;text-transform:none}footer[_ngcontent-%COMP%] .footer-third-row[_ngcontent-%COMP%] .copyright[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{text-align:center}@media (min-width:52em){footer[_ngcontent-%COMP%] .footer-third-row[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:14px}footer[_ngcontent-%COMP%] .footer-third-row[_ngcontent-%COMP%] .copyright[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{text-align:left}}footer[_ngcontent-%COMP%] .footer-third-row[_ngcontent-%COMP%] .contact[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{text-align:center}footer[_ngcontent-%COMP%] .languages[_ngcontent-%COMP%]{display:block;list-style:none;margin:0;text-align:right}@media (max-width:479px){footer[_ngcontent-%COMP%] .languages[_ngcontent-%COMP%]{text-align:center}}footer[_ngcontent-%COMP%] .languages[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:inline;color:#616d7c;font-size:13px}footer[_ngcontent-%COMP%] .languages[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:not(:first-of-type):before{content:' \xb7 '}"]],data:{}});function Jx(t){return oo(0,[(t()(),Kr(0,0,null,null,134,"footer",[["class","page-footer"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(2,0,null,null,131,"div",[["class","wrapper"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(4,0,null,null,27,"div",[["class","footer-first-row"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(6,0,null,null,3,"a",[["href","/"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(8,0,null,null,0,"img",[["src","/assets/img/logoBlueWhite.svg"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(11,0,null,null,19,"div",[["class","footer-links"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(13,0,null,null,1,"a",[["href","https://www.skycoin.net/downloads/"]],null,null,null,null,null)),(t()(),eo(-1,null,["Downloads"])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(16,0,null,null,1,"a",[["href","https://www.skycoin.net/ecosystem"]],null,null,null,null,null)),(t()(),eo(-1,null,["Ecosystem"])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(19,0,null,null,1,"a",[["href","https://www.skycoin.net/skyminer"]],null,null,null,null,null)),(t()(),eo(-1,null,["Skyminer"])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(22,0,null,null,1,"a",[["href","https://www.skycoin.net/team"]],null,null,null,null,null)),(t()(),eo(-1,null,["Team"])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(25,0,null,null,1,"a",[["href","https://www.skycoin.net/blog"]],null,null,null,null,null)),(t()(),eo(-1,null,["Blog"])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(28,0,null,null,1,"a",[["class","active"],["href","/"]],null,null,null,null,null)),(t()(),eo(-1,null,["Explorer"])),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(33,0,null,null,81,"div",[["class","footer-second-row"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(35,0,null,null,6,"div",[["class","social-link"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(37,0,null,null,3,"a",[["href","/"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(39,0,null,null,0,"img",[["alt",""],["src","/assets/img/social/medium.svg"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(43,0,null,null,6,"div",[["class","social-link"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(45,0,null,null,3,"a",[["href","https://twitter.com/skycoinproject"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(47,0,null,null,0,"img",[["alt",""],["src","/assets/img/social/twitter.svg"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(51,0,null,null,6,"div",[["class","social-link"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(53,0,null,null,3,"a",[["href","https://www.facebook.com/SkycoinOfficial"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(55,0,null,null,0,"img",[["alt",""],["src","/assets/img/social/facebook.svg"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(59,0,null,null,6,"div",[["class","social-link"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(61,0,null,null,3,"a",[["href","https://www.instagram.com/skycoinproject/"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(63,0,null,null,0,"img",[["alt",""],["src","/assets/img/social/instagram.svg"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(67,0,null,null,6,"div",[["class","social-link"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(69,0,null,null,3,"a",[["href","https://github.com/skycoin/skycoin"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(71,0,null,null,0,"img",[["alt",""],["src","/assets/img/social/github.svg"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(75,0,null,null,6,"div",[["class","social-link"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(77,0,null,null,3,"a",[["href","https://www.youtube.com/c/Skycoin"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(79,0,null,null,0,"img",[["alt",""],["src","/assets/img/social/youtube.svg"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(83,0,null,null,6,"div",[["class","social-link"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(85,0,null,null,3,"a",[["href","https://www.reddit.com/r/skycoin"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(87,0,null,null,0,"img",[["alt",""],["src","/assets/img/social/reddit.svg"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(91,0,null,null,6,"div",[["class","social-link"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(93,0,null,null,3,"a",[["href","https://itunes.apple.com/nl/podcast/skycoin/id1348472259?l=en"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(95,0,null,null,0,"img",[["alt",""],["src","/assets/img/social/apple.svg"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(99,0,null,null,6,"div",[["class","social-link"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(101,0,null,null,3,"a",[["href","https://discord.gg/EgBenrW"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(103,0,null,null,0,"img",[["alt",""],["src","/assets/img/social/discord.svg"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(107,0,null,null,6,"div",[["class","social-link"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(109,0,null,null,3,"a",[["href","https://t.me/Skycoin"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(111,0,null,null,0,"img",[["alt",""],["src","/assets/img/social/telegram.svg"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(116,0,null,null,16,"div",[["class","footer-third-row"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(118,0,null,null,4,"div",[["class","copyright"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(120,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),eo(-1,null,["\xa9 Skycoin.net 2018"])),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(124,0,null,null,7,"div",[["class","contact"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(126,0,null,null,4,"p",[],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(128,0,null,null,1,"a",[["href","mailto:contact@skycoin.net"]],null,null,null,null,null)),(t()(),eo(-1,null,["contact@skycoin.net"])),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n"])),(t()(),eo(-1,null,["\n"]))],null,null)}var tC=function(){return function(){this.config=A_}}(),nC=yr({encapsulation:0,styles:[["footer[_ngcontent-%COMP%]{background-color:#333;color:#fff}footer[_ngcontent-%COMP%] .links-row[_ngcontent-%COMP%]{padding:14px 0;text-align:center}footer[_ngcontent-%COMP%] .links-row[_ngcontent-%COMP%] .link-icon[_ngcontent-%COMP%]{width:19%;text-align:center;font-size:0;display:inline-block;margin:10px 0}@media screen and (min-width:40em){footer[_ngcontent-%COMP%] .links-row[_ngcontent-%COMP%] .link-icon[_ngcontent-%COMP%]{width:9%}}footer[_ngcontent-%COMP%] .links-row[_ngcontent-%COMP%] .link-icon[_ngcontent-%COMP%] .element[_ngcontent-%COMP%]{height:30px;display:flex;align-items:center;justify-content:center;font-size:18px;font-family:'Font Awesome 5 Brands';font-weight:400}footer[_ngcontent-%COMP%] .links-row[_ngcontent-%COMP%] .link-icon[_ngcontent-%COMP%] .element[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]{max-width:30px;max-height:30px;text-decoration:none;overflow:hidden}footer[_ngcontent-%COMP%] .top-separator[_ngcontent-%COMP%]{width:100%;height:2px;background-color:#333}footer[_ngcontent-%COMP%] .middle-separator[_ngcontent-%COMP%]{border-top:1px dashed #111}footer[_ngcontent-%COMP%] .credit-row[_ngcontent-%COMP%]{padding:24px 0;text-align:center;opacity:.4;font-size:13px}"]],data:{}});function eC(t){return oo(0,[(t()(),Kr(0,0,null,null,4,"div",[["class","link-icon"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(2,0,null,null,1,"div",[["class","element"]],null,null,null,null,null)),(t()(),Kr(3,0,null,null,0,"a",[],[[8,"href",4],[8,"innerHTML",1]],null,null,null,null)),(t()(),eo(-1,null,["\n "]))],null,function(t,n){t(n,3,0,n.context.$implicit.url,n.context.$implicit.content)})}function rC(t){return oo(0,[(t()(),Kr(0,0,null,null,4,"div",[["class","links-row"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),qr(16777216,null,null,1,null,eC)),Mi(3,802816,null,0,Kl,[ve,ge,Fe],{ngForOf:[0,"ngForOf"]},null),(t()(),eo(-1,null,["\n "]))],function(t,n){t(n,3,0,n.component.config.contactLinks)},null)}function iC(t){return oo(0,[(t()(),Kr(0,0,null,null,0,"div",[["class","middle-separator"]],null,null,null,null,null))],null,null)}function oC(t){return oo(0,[(t()(),Kr(0,0,null,null,18,"footer",[],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(2,0,null,null,15,"div",[["class","wrapper"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(4,0,null,null,0,"div",[["class","top-separator"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n\n "])),(t()(),qr(16777216,null,null,1,null,rC)),Mi(7,16384,null,0,Wl,[ve,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,["\n\n "])),(t()(),qr(16777216,null,null,1,null,iC)),Mi(10,16384,null,0,Wl,[ve,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,["\n "])),(t()(),Kr(12,0,null,null,4,"div",[["class","credit-row"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(14,0,null,null,1,"a",[["href","https://www.skycoin.net"]],null,null,null,null,null)),(t()(),eo(-1,null,["Powered by Skyfiber"])),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n"])),(t()(),eo(-1,null,["\n"]))],function(t,n){var e=n.component;t(n,7,0,e.config.contactLinks&&e.config.contactLinks.length>0),t(n,10,0,e.config.contactLinks&&e.config.contactLinks.length>0)},null)}var lC=function(){function t(){}return Object.defineProperty(t.prototype,"value",{get:function(){return this.control?this.control.value:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"valid",{get:function(){return this.control?this.control.valid:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"invalid",{get:function(){return this.control?this.control.invalid:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pending",{get:function(){return this.control?this.control.pending:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{get:function(){return this.control?this.control.disabled:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"enabled",{get:function(){return this.control?this.control.enabled:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"errors",{get:function(){return this.control?this.control.errors:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pristine",{get:function(){return this.control?this.control.pristine:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"dirty",{get:function(){return this.control?this.control.dirty:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"touched",{get:function(){return this.control?this.control.touched:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"status",{get:function(){return this.control?this.control.status:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"untouched",{get:function(){return this.control?this.control.untouched:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"statusChanges",{get:function(){return this.control?this.control.statusChanges:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"valueChanges",{get:function(){return this.control?this.control.valueChanges:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"path",{get:function(){return null},enumerable:!0,configurable:!0}),t.prototype.reset=function(t){void 0===t&&(t=void 0),this.control&&this.control.reset(t)},t.prototype.hasError=function(t,n){return!!this.control&&this.control.hasError(t,n)},t.prototype.getError=function(t,n){return this.control?this.control.getError(t,n):null},t}(),uC=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return Object(i.__extends)(n,t),Object.defineProperty(n.prototype,"formDirective",{get:function(){return null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"path",{get:function(){return null},enumerable:!0,configurable:!0}),n}(lC);function sC(t){return null==t||0===t.length}var aC=/^(?=.{1,254}$)(?=.{1,64}@)[-!#$%&'*+/0-9=?A-Z^_`a-z{|}~]+(\.[-!#$%&'*+/0-9=?A-Z^_`a-z{|}~]+)*@[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])?)*$/,cC=function(){function t(){}return t.min=function(t){return function(n){if(sC(n.value)||sC(t))return null;var e=parseFloat(n.value);return!isNaN(e)&&et?{max:{max:t,actual:n.value}}:null}},t.required=function(t){return sC(t.value)?{required:!0}:null},t.requiredTrue=function(t){return!0===t.value?null:{required:!0}},t.email=function(t){return aC.test(t.value)?null:{email:!0}},t.minLength=function(t){return function(n){if(sC(n.value))return null;var e=n.value?n.value.length:0;return et?{maxlength:{requiredLength:t,actualLength:e}}:null}},t.pattern=function(n){return n?("string"==typeof n?(r="","^"!==n.charAt(0)&&(r+="^"),r+=n,"$"!==n.charAt(n.length-1)&&(r+="$"),e=new RegExp(r)):(r=n.toString(),e=n),function(t){if(sC(t.value))return null;var n=t.value;return e.test(n)?null:{pattern:{requiredPattern:r,actualValue:n}}}):t.nullValidator;var e,r},t.nullValidator=function(t){return null},t.compose=function(t){if(!t)return null;var n=t.filter(hC);return 0==n.length?null:function(t){return fC(function(t,e){return n.map(function(n){return n(t)})}(t))}},t.composeAsync=function(t){if(!t)return null;var n=t.filter(hC);return 0==n.length?null:function(t){var e=function(t,e){return n.map(function(n){return n(t)})}(t).map(pC);return Eu.call(yf(e),fC)}},t}();function hC(t){return null!=t}function pC(t){var n=sn(t)?ts(t):t;if(!an(n))throw new Error("Expected validator to return Promise or Observable.");return n}function fC(t){var n=t.reduce(function(t,n){return null!=n?Object(i.__assign)({},t,n):t},{});return 0===Object.keys(n).length?null:n}var dC=new ut("NgValueAccessor"),yC=function(){function t(t,n){this._renderer=t,this._elementRef=n,this.onChange=function(t){},this.onTouched=function(){}}return t.prototype.writeValue=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"checked",t)},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t}(),gC=new ut("CompositionEventMode"),vC=function(){function t(t,n,e){var r;this._renderer=t,this._elementRef=n,this._compositionMode=e,this.onChange=function(t){},this.onTouched=function(){},this._composing=!1,null==this._compositionMode&&(this._compositionMode=(r=Cs()?Cs().getUserAgent():"",!/android (\d+)/.test(r.toLowerCase())))}return t.prototype.writeValue=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==t?"":t)},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t.prototype._handleInput=function(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)},t.prototype._compositionStart=function(){this._composing=!0},t.prototype._compositionEnd=function(t){this._composing=!1,this._compositionMode&&this.onChange(t)},t}();function mC(t){return t.validate?function(n){return t.validate(n)}:t}function bC(t){return t.validate?function(n){return t.validate(n)}:t}var _C=function(){function t(t,n){this._renderer=t,this._elementRef=n,this.onChange=function(t){},this.onTouched=function(){}}return t.prototype.writeValue=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==t?"":t)},t.prototype.registerOnChange=function(t){this.onChange=function(n){t(""==n?null:parseFloat(n))}},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t}();function wC(){throw new Error("unimplemented")}var xC=function(t){function n(){var n=null!==t&&t.apply(this,arguments)||this;return n._parent=null,n.name=null,n.valueAccessor=null,n._rawValidators=[],n._rawAsyncValidators=[],n}return Object(i.__extends)(n,t),Object.defineProperty(n.prototype,"validator",{get:function(){return wC()},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"asyncValidator",{get:function(){return wC()},enumerable:!0,configurable:!0}),n}(lC),CC=function(){function t(){this._accessors=[]}return t.prototype.add=function(t,n){this._accessors.push([t,n])},t.prototype.remove=function(t){for(var n=this._accessors.length-1;n>=0;--n)if(this._accessors[n][1]===t)return void this._accessors.splice(n,1)},t.prototype.select=function(t){var n=this;this._accessors.forEach(function(e){n._isSameGroup(e,t)&&e[1]!==t&&e[1].fireUncheck(t.value)})},t.prototype._isSameGroup=function(t,n){return!!t[0].control&&t[0]._parent===n._control._parent&&t[1].name===n.name},t}(),SC=function(){function t(t,n,e,r){this._renderer=t,this._elementRef=n,this._registry=e,this._injector=r,this.onChange=function(){},this.onTouched=function(){}}return t.prototype.ngOnInit=function(){this._control=this._injector.get(xC),this._checkName(),this._registry.add(this._control,this)},t.prototype.ngOnDestroy=function(){this._registry.remove(this)},t.prototype.writeValue=function(t){this._state=t===this.value,this._renderer.setProperty(this._elementRef.nativeElement,"checked",this._state)},t.prototype.registerOnChange=function(t){var n=this;this._fn=t,this.onChange=function(){t(n.value),n._registry.select(n)}},t.prototype.fireUncheck=function(t){this.writeValue(t)},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t.prototype._checkName=function(){this.name&&this.formControlName&&this.name!==this.formControlName&&this._throwNameError(),!this.name&&this.formControlName&&(this.name=this.formControlName)},t.prototype._throwNameError=function(){throw new Error('\n If you define both a name and a formControlName attribute on your radio button, their values\n must match. Ex: \n ')},t}();function OC(t,n){return n.path.concat([t])}function EC(t,n){t||TC(n,"Cannot find control with"),n.valueAccessor||TC(n,"No value accessor for form control with"),t.validator=cC.compose([t.validator,n.validator]),t.asyncValidator=cC.composeAsync([t.asyncValidator,n.asyncValidator]),n.valueAccessor.writeValue(t.value),function(t,n){n.valueAccessor.registerOnChange(function(e){t._pendingValue=e,t._pendingChange=!0,t._pendingDirty=!0,"change"===t.updateOn&&kC(t,n)})}(t,n),function(t,n){t.registerOnChange(function(t,e){n.valueAccessor.writeValue(t),e&&n.viewToModelUpdate(t)})}(t,n),function(t,n){n.valueAccessor.registerOnTouched(function(){t._pendingTouched=!0,"blur"===t.updateOn&&t._pendingChange&&kC(t,n),"submit"!==t.updateOn&&t.markAsTouched()})}(t,n),n.valueAccessor.setDisabledState&&t.registerOnDisabledChange(function(t){n.valueAccessor.setDisabledState(t)}),n._rawValidators.forEach(function(n){n.registerOnValidatorChange&&n.registerOnValidatorChange(function(){return t.updateValueAndValidity()})}),n._rawAsyncValidators.forEach(function(n){n.registerOnValidatorChange&&n.registerOnValidatorChange(function(){return t.updateValueAndValidity()})})}function kC(t,n){n.viewToModelUpdate(t._pendingValue),t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),t._pendingChange=!1}function TC(t,n){var e;throw e=t.path.length>1?"path: '"+t.path.join(" -> ")+"'":t.path[0]?"name: '"+t.path+"'":"unspecified name attribute",new Error(n+" "+e)}function PC(t){return null!=t?cC.compose(t.map(mC)):null}function IC(t){return null!=t?cC.composeAsync(t.map(bC)):null}var MC=[yC,function(){function t(t,n){this._renderer=t,this._elementRef=n,this.onChange=function(t){},this.onTouched=function(){}}return t.prototype.writeValue=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",parseFloat(t))},t.prototype.registerOnChange=function(t){this.onChange=function(n){t(""==n?null:parseFloat(n))}},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t}(),_C,function(){function t(t,n){this._renderer=t,this._elementRef=n,this._optionMap=new Map,this._idCounter=0,this.onChange=function(t){},this.onTouched=function(){},this._compareWith=At}return Object.defineProperty(t.prototype,"compareWith",{set:function(t){if("function"!=typeof t)throw new Error("compareWith must be a function, but received "+JSON.stringify(t));this._compareWith=t},enumerable:!0,configurable:!0}),t.prototype.writeValue=function(t){this.value=t;var n=this._getOptionId(t);null==n&&this._renderer.setProperty(this._elementRef.nativeElement,"selectedIndex",-1);var e=function(t,n){return null==t?""+n:(n&&"object"==typeof n&&(n="Object"),(t+": "+n).slice(0,50))}(n,t);this._renderer.setProperty(this._elementRef.nativeElement,"value",e)},t.prototype.registerOnChange=function(t){var n=this;this.onChange=function(e){n.value=n._getOptionValue(e),t(n.value)}},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t.prototype._registerOption=function(){return(this._idCounter++).toString()},t.prototype._getOptionId=function(t){for(var n=0,e=Array.from(this._optionMap.keys());n-1)}}else n=function(t,n){t._setSelected(!1)};this._optionMap.forEach(n)},t.prototype.registerOnChange=function(t){var n=this;this.onChange=function(e){var r=[];if(e.hasOwnProperty("selectedOptions"))for(var i=e.selectedOptions,o=0;o0||this.disabled},n.prototype._checkAllValuesPresent=function(t){this._forEachChild(function(n,e){if(void 0===t[e])throw new Error("Must supply a value for form control with name: '"+e+"'.")})},n}(FC),zC=function(t){function n(n,e,r){var i=t.call(this,DC(e),LC(r,e))||this;return i.controls=n,i._initObservables(),i._setUpdateStrategy(e),i._setUpControls(),i.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),i}return Object(i.__extends)(n,t),n.prototype.at=function(t){return this.controls[t]},n.prototype.push=function(t){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity(),this._onCollectionChange()},n.prototype.insert=function(t,n){this.controls.splice(t,0,n),this._registerControl(n),this.updateValueAndValidity()},n.prototype.removeAt=function(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange(function(){}),this.controls.splice(t,1),this.updateValueAndValidity()},n.prototype.setControl=function(t,n){this.controls[t]&&this.controls[t]._registerOnCollectionChange(function(){}),this.controls.splice(t,1),n&&(this.controls.splice(t,0,n),this._registerControl(n)),this.updateValueAndValidity(),this._onCollectionChange()},Object.defineProperty(n.prototype,"length",{get:function(){return this.controls.length},enumerable:!0,configurable:!0}),n.prototype.setValue=function(t,n){var e=this;void 0===n&&(n={}),this._checkAllValuesPresent(t),t.forEach(function(t,r){e._throwIfControlMissing(r),e.at(r).setValue(t,{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)},n.prototype.patchValue=function(t,n){var e=this;void 0===n&&(n={}),t.forEach(function(t,r){e.at(r)&&e.at(r).patchValue(t,{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)},n.prototype.reset=function(t,n){void 0===t&&(t=[]),void 0===n&&(n={}),this._forEachChild(function(e,r){e.reset(t[r],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n),this._updatePristine(n),this._updateTouched(n)},n.prototype.getRawValue=function(){return this.controls.map(function(t){return t instanceof UC?t.value:t.getRawValue()})},n.prototype._syncPendingControls=function(){var t=this.controls.reduce(function(t,n){return!!n._syncPendingControls()||t},!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t},n.prototype._throwIfControlMissing=function(t){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(t))throw new Error("Cannot find form control at index "+t)},n.prototype._forEachChild=function(t){this.controls.forEach(function(n,e){t(n,e)})},n.prototype._updateValue=function(){var t=this;this.value=this.controls.filter(function(n){return n.enabled||t.disabled}).map(function(t){return t.value})},n.prototype._anyControls=function(t){return this.controls.some(function(n){return n.enabled&&t(n)})},n.prototype._setUpControls=function(){var t=this;this._forEachChild(function(n){return t._registerControl(n)})},n.prototype._checkAllValuesPresent=function(t){this._forEachChild(function(n,e){if(void 0===t[e])throw new Error("Must supply a value for form control at index: "+e+".")})},n.prototype._allControlsDisabled=function(){for(var t=0,n=this.controls;t0||this.disabled},n.prototype._registerControl=function(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)},n}(FC),HC=Promise.resolve(null),qC=function(t){function n(n,e){var r=t.call(this)||this;return r.submitted=!1,r._directives=[],r.ngSubmit=new Ln,r.form=new BC({},PC(n),IC(e)),r}return Object(i.__extends)(n,t),n.prototype.ngAfterViewInit=function(){this._setUpdateStrategy()},Object.defineProperty(n.prototype,"formDirective",{get:function(){return this},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"controls",{get:function(){return this.form.controls},enumerable:!0,configurable:!0}),n.prototype.addControl=function(t){var n=this;HC.then(function(){var e=n._findContainer(t.path);t.control=e.registerControl(t.name,t.control),EC(t.control,t),t.control.updateValueAndValidity({emitEvent:!1}),n._directives.push(t)})},n.prototype.getControl=function(t){return this.form.get(t.path)},n.prototype.removeControl=function(t){var n=this;HC.then(function(){var e,r,i=n._findContainer(t.path);i&&i.removeControl(t.name),(r=(e=n._directives).indexOf(t))>-1&&e.splice(r,1)})},n.prototype.addFormGroup=function(t){var n=this;HC.then(function(){var e=n._findContainer(t.path),r=new BC({});(function(t,n){null==t&&TC(n,"Cannot find control with"),t.validator=cC.compose([t.validator,n.validator]),t.asyncValidator=cC.composeAsync([t.asyncValidator,n.asyncValidator])})(r,t),e.registerControl(t.name,r),r.updateValueAndValidity({emitEvent:!1})})},n.prototype.removeFormGroup=function(t){var n=this;HC.then(function(){var e=n._findContainer(t.path);e&&e.removeControl(t.name)})},n.prototype.getFormGroup=function(t){return this.form.get(t.path)},n.prototype.updateModel=function(t,n){var e=this;HC.then(function(){e.form.get(t.path).setValue(n)})},n.prototype.setValue=function(t){this.control.setValue(t)},n.prototype.onSubmit=function(t){return this.submitted=!0,n=this._directives,this.form._syncPendingControls(),n.forEach(function(t){var n=t.control;"submit"===n.updateOn&&n._pendingChange&&(t.viewToModelUpdate(n._pendingValue),n._pendingChange=!1)}),this.ngSubmit.emit(t),!1;var n},n.prototype.onReset=function(){this.resetForm()},n.prototype.resetForm=function(t){void 0===t&&(t=void 0),this.form.reset(t),this.submitted=!1},n.prototype._setUpdateStrategy=function(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)},n.prototype._findContainer=function(t){return t.pop(),t.length?this.form.get(t):this.form},n}(uC),KC='\n

\n
\n \n
\n
\n\n In your class:\n\n this.myGroup = new FormGroup({\n person: new FormGroup({ firstName: new FormControl() })\n });',GC='\n
\n
\n \n
\n
',WC=function(){function t(){}return t.modelParentException=function(){throw new Error('\n ngModel cannot be used to register form controls with a parent formGroup directive. Try using\n formGroup\'s partner directive "formControlName" instead. Example:\n\n \n
\n \n
\n\n In your class:\n\n this.myGroup = new FormGroup({\n firstName: new FormControl()\n });\n\n Or, if you\'d like to avoid registering this form control, indicate that it\'s standalone in ngModelOptions:\n\n Example:\n\n \n
\n \n \n
\n ')},t.formGroupNameException=function(){throw new Error("\n ngModel cannot be used to register form controls with a parent formGroupName or formArrayName directive.\n\n Option 1: Use formControlName instead of ngModel (reactive strategy):\n\n "+KC+"\n\n Option 2: Update ngModel's parent be ngModelGroup (template-driven strategy):\n\n "+GC)},t.missingNameException=function(){throw new Error('If ngModel is used within a form tag, either the name attribute must be set or the form\n control must be defined as \'standalone\' in ngModelOptions.\n\n Example 1: \n Example 2: ')},t.modelGroupParentException=function(){throw new Error("\n ngModelGroup cannot be used with a parent formGroup directive.\n\n Option 1: Use formGroupName instead of ngModelGroup (reactive strategy):\n\n "+KC+"\n\n Option 2: Use a regular form tag instead of the formGroup directive (template-driven strategy):\n\n "+GC)},t}(),QC=function(t){function n(n,e,r){var i=t.call(this)||this;return i._parent=n,i._validators=e,i._asyncValidators=r,i}return Object(i.__extends)(n,t),n.prototype._checkParentType=function(){this._parent instanceof n||this._parent instanceof qC||WC.modelGroupParentException()},n}(NC),$C=Promise.resolve(null),ZC=function(t){function n(n,e,r,i){var o=t.call(this)||this;return o.control=new UC,o._registered=!1,o.update=new Ln,o._parent=n,o._rawValidators=e||[],o._rawAsyncValidators=r||[],o.valueAccessor=function(t,n){if(!n)return null;Array.isArray(n)||TC(t,"Value accessor was not provided as an array for form control with");var e=void 0,r=void 0,i=void 0;return n.forEach(function(n){var o;n.constructor===vC?e=n:(o=n,MC.some(function(t){return o.constructor===t})?(r&&TC(t,"More than one built-in value accessor matches form control with"),r=n):(i&&TC(t,"More than one custom value accessor matches form control with"),i=n))}),i||r||e||(TC(t,"No valid value accessor for form control with"),null)}(o,i),o}return Object(i.__extends)(n,t),n.prototype.ngOnChanges=function(t){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in t&&this._updateDisabled(t),function(t,n){if(!t.hasOwnProperty("model"))return!1;var e=t.model;return!!e.isFirstChange()||!At(n,e.currentValue)}(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)},n.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeControl(this)},Object.defineProperty(n.prototype,"path",{get:function(){return this._parent?OC(this.name,this._parent):[this.name]},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"validator",{get:function(){return PC(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"asyncValidator",{get:function(){return IC(this._rawAsyncValidators)},enumerable:!0,configurable:!0}),n.prototype.viewToModelUpdate=function(t){this.viewModel=t,this.update.emit(t)},n.prototype._setUpControl=function(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0},n.prototype._setUpdateStrategy=function(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)},n.prototype._isStandalone=function(){return!this._parent||!(!this.options||!this.options.standalone)},n.prototype._setUpStandalone=function(){EC(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})},n.prototype._checkForErrors=function(){this._isStandalone()||this._checkParentType(),this._checkName()},n.prototype._checkParentType=function(){!(this._parent instanceof QC)&&this._parent instanceof NC?WC.formGroupNameException():this._parent instanceof QC||this._parent instanceof qC||WC.modelParentException()},n.prototype._checkName=function(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()||this.name||WC.missingNameException()},n.prototype._updateValue=function(t){var n=this;$C.then(function(){n.control.setValue(t,{emitViewToModelChange:!1})})},n.prototype._updateDisabled=function(t){var n=this,e=t.isDisabled.currentValue,r=""===e||e&&"false"!==e;$C.then(function(){r&&!n.control.disabled?n.control.disable():!r&&n.control.disabled&&n.control.enable()})},n}(xC),YC=function(){},XC=function(){},JC=function(){},tS=function(){function t(t,n,e){this.searchService=t,this.router=n,this.translate=e,this.searching=!1}return t.prototype.search=function(){var t=this;if(this.query){var n=this.query.trim();if(!(n.length<1)){this.searching=!0;var e=this.searchService.getResultNavCommands(n);if(e.error)return e.error===T_.InvalidSearchTerm&&alert(this.translate.instant("search.unableToFind",{term:n})),void(this.searching=!1);e.resultNavCommands.subscribe(function(n){t.searching=!1,t.router.navigate(n)},function(){return t.searching=!1}),this.query=null}}},t}(),nS=yr({encapsulation:0,styles:[[".-search-bar-container[_ngcontent-%COMP%]{margin:4rem 0 2rem;position:relative}.-search-bar-container[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{display:inline-block;height:20px;margin:11px;position:absolute}.-search-bar-container[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{margin:13px 11px;position:absolute;font-size:17px}.-search-bar-container[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{border:2px solid rgba(0,0,0,.05);border-radius:6px;font-size:12px;height:42px;padding:0 0 0 40px;width:100%}.-search-bar-container[_ngcontent-%COMP%] input[_ngcontent-%COMP%]::-webkit-input-placeholder{color:#cdcdcd}.-search-bar-container[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:-ms-input-placeholder{color:#cdcdcd}.-search-bar-container[_ngcontent-%COMP%] input[_ngcontent-%COMP%]::-ms-input-placeholder{color:#cdcdcd}.-search-bar-container[_ngcontent-%COMP%] input[_ngcontent-%COMP%]::placeholder{color:#cdcdcd}"]],data:{}});function eS(t){return oo(0,[(t()(),Kr(0,0,null,null,0,"img",[["src","/assets/img/search.png"]],null,[[null,"click"]],function(t,n,e){var r=!0;return"click"===n&&(r=!1!==t.component.search()&&r),r},null,null))],null,null)}function rS(t){return oo(0,[(t()(),Kr(0,0,null,null,0,"i",[["class","fa fa-spinner fa-spin fa-fw"]],null,null,null,null,null))],null,null)}function iS(t){return oo(0,[(t()(),Kr(0,0,null,null,22,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(t,n,e){var r=!0,i=t.component;return"submit"===n&&(r=!1!==bi(t,2).onSubmit(e)&&r),"reset"===n&&(r=!1!==bi(t,2).onReset()&&r),"submit"===n&&(r=!1!==i.search()&&r),r},null,null)),Mi(1,16384,null,0,YC,[],null,null),Mi(2,4210688,null,0,qC,[[8,null],[8,null]],null,null),Ai(2048,null,uC,null,[qC]),Mi(4,16384,null,0,RC,[uC],null,null),(t()(),eo(-1,null,["\n "])),(t()(),Kr(6,0,null,null,15,"div",[["class","-search-bar-container"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),qr(16777216,null,null,1,null,eS)),Mi(9,16384,null,0,Wl,[ve,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,["\n "])),(t()(),qr(16777216,null,null,1,null,rS)),Mi(12,16384,null,0,Wl,[ve,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,["\n "])),(t()(),Kr(14,0,null,null,6,"input",[["name","query"]],[[8,"placeholder",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(t,n,e){var r=!0,i=t.component;return"input"===n&&(r=!1!==bi(t,15)._handleInput(e.target.value)&&r),"blur"===n&&(r=!1!==bi(t,15).onTouched()&&r),"compositionstart"===n&&(r=!1!==bi(t,15)._compositionStart()&&r),"compositionend"===n&&(r=!1!==bi(t,15)._compositionEnd(e.target.value)&&r),"ngModelChange"===n&&(r=!1!==(i.query=e)&&r),r},null,null)),Mi(15,16384,null,0,vC,[se,ae,[2,gC]],null,null),Ai(1024,null,dC,function(t){return[t]},[vC]),Mi(17,671744,null,0,ZC,[[2,uC],[8,null],[8,null],[2,dC]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ai(2048,null,xC,null,[ZC]),Mi(19,16384,null,0,jC,[xC],null,null),Ni(131072,cy,[ly,me]),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n"])),(t()(),eo(-1,null,["\n"]))],function(t,n){var e=n.component;t(n,9,0,!e.searching),t(n,12,0,e.searching),t(n,17,0,"query",e.query)},function(t,n){t(n,0,0,bi(n,4).ngClassUntouched,bi(n,4).ngClassTouched,bi(n,4).ngClassPristine,bi(n,4).ngClassDirty,bi(n,4).ngClassValid,bi(n,4).ngClassInvalid,bi(n,4).ngClassPending),t(n,14,0,zr(1,"",pr(n,14,0,bi(n,20).transform("searchBar.hint")),""),bi(n,19).ngClassUntouched,bi(n,19).ngClassTouched,bi(n,19).ngClassPristine,bi(n,19).ngClassDirty,bi(n,19).ngClassValid,bi(n,19).ngClassInvalid,bi(n,19).ngClassPending)})}var oS=yr({encapsulation:0,styles:[["[_nghost-%COMP%]{display:flex;flex-direction:column;height:100%}.app[_ngcontent-%COMP%]{flex-grow:1;padding-bottom:80px}"]],data:{}});function lS(t){return oo(0,[(t()(),Kr(0,0,null,null,1,"app-header",[],null,null,null,Wx,Kx)),Mi(1,114688,null,0,qx,[rp],null,null)],function(t,n){t(n,1,0)},null)}function uS(t){return oo(0,[(t()(),Kr(0,0,null,null,1,"app-generic-header",[],null,null,null,Zx,$x)),Mi(1,49152,null,0,Qx,[],null,null)],null,null)}function sS(t){return oo(0,[(t()(),Kr(0,0,null,null,1,"app-footer",[],null,null,null,Jx,Xx)),Mi(1,114688,null,0,Yx,[],null,null)],function(t,n){t(n,1,0)},null)}function aS(t){return oo(0,[(t()(),Kr(0,0,null,null,1,"app-generic-footer",[],null,null,null,oC,nC)),Mi(1,49152,null,0,tC,[],null,null)],null,null)}function cS(t){return oo(0,[(t()(),Kr(0,0,null,null,16,"div",[["class","app"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),qr(16777216,null,null,1,null,lS)),Mi(3,16384,null,0,Wl,[ve,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,["\n "])),(t()(),qr(16777216,null,null,1,null,uS)),Mi(6,16384,null,0,Wl,[ve,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,["\n "])),(t()(),Kr(8,0,null,null,7,"div",[["class","wrapper"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(10,0,null,null,1,"app-search-bar",[],null,null,null,iS,nS)),Mi(11,49152,null,0,tS,[P_,rp,ly],null,null),(t()(),eo(-1,null,["\n "])),(t()(),Kr(13,16777216,null,null,1,"router-outlet",[],null,null,null,null,null)),Mi(14,212992,null,0,cp,[ap,ve,Tn,[8,null],me],null,null),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n"])),(t()(),eo(-1,null,["\n"])),(t()(),qr(16777216,null,null,1,null,sS)),Mi(19,16384,null,0,Wl,[ve,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,["\n"])),(t()(),qr(16777216,null,null,1,null,aS)),Mi(22,16384,null,0,Wl,[ve,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,["\n"]))],function(t,n){var e=n.component;t(n,3,0,!e.headerConfig.useGenericHeader),t(n,6,0,e.headerConfig.useGenericHeader),t(n,14,0),t(n,19,0,!e.footerConfig.useGenericFooter),t(n,22,0,e.footerConfig.useGenericFooter)},null)}var hS=si("app-root",j_,function(t){return oo(0,[(t()(),Kr(0,0,null,null,1,"app-root",[],null,null,null,cS,oS)),Mi(1,49152,null,0,j_,[rp,ly],null,null)],null,null)},{},{},[]),pS=function(){},fS="*";function dS(t,n){return void 0===n&&(n=null),{type:2,steps:t,options:n}}function yS(t){return{type:6,styles:t,offset:null}}function gS(t){Promise.resolve(null).then(t)}var vS=function(){function t(){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this.parentPlayer=null,this.totalTime=0}return t.prototype._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(t){return t()}),this._onDoneFns=[])},t.prototype.onStart=function(t){this._onStartFns.push(t)},t.prototype.onDone=function(t){this._onDoneFns.push(t)},t.prototype.onDestroy=function(t){this._onDestroyFns.push(t)},t.prototype.hasStarted=function(){return this._started},t.prototype.init=function(){},t.prototype.play=function(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0},t.prototype.triggerMicrotask=function(){var t=this;gS(function(){return t._onFinish()})},t.prototype._onStart=function(){this._onStartFns.forEach(function(t){return t()}),this._onStartFns=[]},t.prototype.pause=function(){},t.prototype.restart=function(){},t.prototype.finish=function(){this._onFinish()},t.prototype.destroy=function(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(function(t){return t()}),this._onDestroyFns=[])},t.prototype.reset=function(){},t.prototype.setPosition=function(t){},t.prototype.getPosition=function(){return 0},t.prototype.triggerCallback=function(t){var n="start"==t?this._onStartFns:this._onDoneFns;n.forEach(function(t){return t()}),n.length=0},t}(),mS=function(){function t(t){var n=this;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 e=0,r=0,i=0,o=this.players.length;0==o?gS(function(){return n._onFinish()}):this.players.forEach(function(t){t.onDone(function(){++e==o&&n._onFinish()}),t.onDestroy(function(){++r==o&&n._onDestroy()}),t.onStart(function(){++i==o&&n._onStart()})}),this.totalTime=this.players.reduce(function(t,n){return Math.max(t,n.totalTime)},0)}return t.prototype._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(t){return t()}),this._onDoneFns=[])},t.prototype.init=function(){this.players.forEach(function(t){return t.init()})},t.prototype.onStart=function(t){this._onStartFns.push(t)},t.prototype._onStart=function(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(function(t){return t()}),this._onStartFns=[])},t.prototype.onDone=function(t){this._onDoneFns.push(t)},t.prototype.onDestroy=function(t){this._onDestroyFns.push(t)},t.prototype.hasStarted=function(){return this._started},t.prototype.play=function(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(function(t){return t.play()})},t.prototype.pause=function(){this.players.forEach(function(t){return t.pause()})},t.prototype.restart=function(){this.players.forEach(function(t){return t.restart()})},t.prototype.finish=function(){this._onFinish(),this.players.forEach(function(t){return t.finish()})},t.prototype.destroy=function(){this._onDestroy()},t.prototype._onDestroy=function(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(function(t){return t.destroy()}),this._onDestroyFns.forEach(function(t){return t()}),this._onDestroyFns=[])},t.prototype.reset=function(){this.players.forEach(function(t){return t.reset()}),this._destroyed=!1,this._finished=!1,this._started=!1},t.prototype.setPosition=function(t){var n=t*this.totalTime;this.players.forEach(function(t){var e=t.totalTime?Math.min(1,n/t.totalTime):1;t.setPosition(e)})},t.prototype.getPosition=function(){var t=0;return this.players.forEach(function(n){var e=n.getPosition();t=Math.min(e,t)}),t},t.prototype.beforeDestroy=function(){this.players.forEach(function(t){t.beforeDestroy&&t.beforeDestroy()})},t.prototype.triggerCallback=function(t){var n="start"==t?this._onStartFns:this._onDoneFns;n.forEach(function(t){return t()}),n.length=0},t}(),bS="!";function _S(t){switch(t.length){case 0:return new vS;case 1:return t[0];default:return new mS(t)}}function wS(t,n,e,r,i,o){void 0===i&&(i={}),void 0===o&&(o={});var l=[],u=[],s=-1,a=null;if(r.forEach(function(t){var e=t.offset,r=e==s,c=r&&a||{};Object.keys(t).forEach(function(e){var r=e,u=t[e];if("offset"!==e)switch(r=n.normalizePropertyName(r,l),u){case bS:u=i[e];break;case fS:u=o[e];break;default:u=n.normalizeStyleValue(e,r,u,l)}c[r]=u}),r||u.push(c),a=c,s=e}),l.length)throw new Error("Unable to animate due to the following errors:\n - "+l.join("\n - "));return u}function xS(t,n,e,r){switch(n){case"start":t.onStart(function(){return r(e&&CS(e,"start",t.totalTime))});break;case"done":t.onDone(function(){return r(e&&CS(e,"done",t.totalTime))});break;case"destroy":t.onDestroy(function(){return r(e&&CS(e,"destroy",t.totalTime))})}}function CS(t,n,e){var r=SS(t.element,t.triggerName,t.fromState,t.toState,n||t.phaseName,void 0==e?t.totalTime:e),i=t._data;return null!=i&&(r._data=i),r}function SS(t,n,e,r,i,o){return void 0===i&&(i=""),void 0===o&&(o=0),{element:t,triggerName:n,fromState:e,toState:r,phaseName:i,totalTime:o}}function OS(t,n,e){var r;return t instanceof Map?(r=t.get(n))||t.set(n,r=e):(r=t[n])||(r=t[n]=e),r}function ES(t){var n=t.indexOf(":");return[t.substring(1,n),t.substr(n+1)]}var kS=function(t,n){return!1},TS=function(t,n){return!1},PS=function(t,n,e){return[]};if("undefined"!=typeof Element){if(kS=function(t,n){return t.contains(n)},Element.prototype.matches)TS=function(t,n){return t.matches(n)};else{var IS=Element.prototype,MS=IS.matchesSelector||IS.mozMatchesSelector||IS.msMatchesSelector||IS.oMatchesSelector||IS.webkitMatchesSelector;MS&&(TS=function(t,n){return MS.apply(t,[n])})}PS=function(t,n,e){var r=[];if(e)r.push.apply(r,t.querySelectorAll(n));else{var i=t.querySelector(n);i&&r.push(i)}return r}}var NS=null,AS=!1;function jS(t){NS||(NS=RS()||{},AS=!!NS.style&&"WebkitAppearance"in NS.style);var n=!0;return NS.style&&!function(t){return"ebkit"==t.substring(1,6)}(t)&&!(n=t in NS.style)&&AS&&(n="Webkit"+t.charAt(0).toUpperCase()+t.substr(1)in NS.style),n}function RS(){return"undefined"!=typeof document?document.body:null}var DS=TS,LS=kS,VS=PS,FS=function(){function t(){}return t.prototype.validateStyleProperty=function(t){return jS(t)},t.prototype.matchesElement=function(t,n){return DS(t,n)},t.prototype.containsElement=function(t,n){return LS(t,n)},t.prototype.query=function(t,n,e){return VS(t,n,e)},t.prototype.computeStyle=function(t,n,e){return e||""},t.prototype.animate=function(t,n,e,r,i,o){return void 0===o&&(o=[]),new vS},t}(),US=function(){function t(){}return t.NOOP=new FS,t}(),BS=1e3;function zS(t){if("number"==typeof t)return t;var n=t.match(/^(-?[\.\d]+)(m?s)/);return!n||n.length<2?0:HS(parseFloat(n[1]),n[2])}function HS(t,n){switch(n){case"s":return t*BS;default:return t}}function qS(t,n,e){return t.hasOwnProperty("duration")?t:function(t,n,e){var r,i=0,o="";if("string"==typeof t){var l=t.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===l)return n.push('The provided timing value "'+t+'" is invalid.'),{duration:0,delay:0,easing:""};r=HS(parseFloat(l[1]),l[2]);var u=l[3];null!=u&&(i=HS(Math.floor(parseFloat(u)),l[4]));var s=l[5];s&&(o=s)}else r=t;if(!e){var a=!1,c=n.length;r<0&&(n.push("Duration values below 0 are not allowed for this animation step."),a=!0),i<0&&(n.push("Delay values below 0 are not allowed for this animation step."),a=!0),a&&n.splice(c,0,'The provided timing value "'+t+'" is invalid.')}return{duration:r,delay:i,easing:o}}(t,n,e)}function KS(t,n){return void 0===n&&(n={}),Object.keys(t).forEach(function(e){n[e]=t[e]}),n}function GS(t,n,e){if(void 0===e&&(e={}),n)for(var r in t)e[r]=t[r];else KS(t,e);return e}function WS(t,n){t.style&&Object.keys(n).forEach(function(e){var r=nO(e);t.style[r]=n[e]})}function QS(t,n){t.style&&Object.keys(n).forEach(function(n){var e=nO(n);t.style[e]=""})}function $S(t){return Array.isArray(t)?1==t.length?t[0]:dS(t):t}var ZS=new RegExp("{{\\s*(.+?)\\s*}}","g");function YS(t){var n=[];if("string"==typeof t){for(var e=t.toString(),r=void 0;r=ZS.exec(e);)n.push(r[1]);ZS.lastIndex=0}return n}function XS(t,n,e){var r=t.toString(),i=r.replace(ZS,function(t,r){var i=n[r];return n.hasOwnProperty(r)||(e.push("Please provide a value for the animation param "+r),i=""),i.toString()});return i==r?t:i}function JS(t){for(var n=[],e=t.next();!e.done;)n.push(e.value),e=t.next();return n}var tO=/-+([a-z0-9])/g;function nO(t){return t.replace(tO,function(){for(var t=[],n=0;n *";case":leave":return"* => void";case":increment":return function(t,n){return parseFloat(n)>parseFloat(t)};case":decrement":return function(t,n){return parseFloat(n) *"}}(t,e);if("function"==typeof r)return void n.push(r);t=r}var i=t.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return e.push('The provided transition expression "'+t+'" is not supported'),n;var o=i[1],l=i[2],u=i[3];n.push(lO(o,u)),"<"!=l[0]||o==rO&&u==rO||n.push(lO(u,o))}(t,i,r)}):i.push(e),i),animation:o,queryCount:n.queryCount,depCount:n.depCount,options:pO(t.options)}},t.prototype.visitSequence=function(t,n){var e=this;return{type:2,steps:t.steps.map(function(t){return eO(e,t,n)}),options:pO(t.options)}},t.prototype.visitGroup=function(t,n){var e=this,r=n.currentTime,i=0,o=t.steps.map(function(t){n.currentTime=r;var o=eO(e,t,n);return i=Math.max(i,n.currentTime),o});return n.currentTime=i,{type:3,steps:o,options:pO(t.options)}},t.prototype.visitAnimate=function(t,n){var e,r=function(t,n){var e=null;if(t.hasOwnProperty("duration"))e=t;else if("number"==typeof t)return fO(qS(t,n).duration,0,"");var r=t;if(r.split(/\s+/).some(function(t){return"{"==t.charAt(0)&&"{"==t.charAt(1)})){var i=fO(0,0,"");return i.dynamic=!0,i.strValue=r,i}return fO((e=e||qS(r,n)).duration,e.delay,e.easing)}(t.timings,n.errors);n.currentAnimateTimings=r;var i=t.styles?t.styles:yS({});if(5==i.type)e=this.visitKeyframes(i,n);else{var o=t.styles,l=!1;if(!o){l=!0;var u={};r.easing&&(u.easing=r.easing),o=yS(u)}n.currentTime+=r.duration+r.delay;var s=this.visitStyle(o,n);s.isEmptyStep=l,e=s}return n.currentAnimateTimings=null,{type:4,timings:r,style:e,options:null}},t.prototype.visitStyle=function(t,n){var e=this._makeStyleAst(t,n);return this._validateStyleAst(e,n),e},t.prototype._makeStyleAst=function(t,n){var e=[];Array.isArray(t.styles)?t.styles.forEach(function(t){"string"==typeof t?t==fS?e.push(t):n.errors.push("The provided style string value "+t+" is not allowed."):e.push(t)}):e.push(t.styles);var r=!1,i=null;return e.forEach(function(t){if(hO(t)){var n=t,e=n.easing;if(e&&(i=e,delete n.easing),!r)for(var o in n)if(n[o].toString().indexOf("{{")>=0){r=!0;break}}}),{type:6,styles:e,easing:i,offset:t.offset,containsDynamicStyles:r,options:null}},t.prototype._validateStyleAst=function(t,n){var e=this,r=n.currentAnimateTimings,i=n.currentTime,o=n.currentTime;r&&o>0&&(o-=r.duration+r.delay),t.styles.forEach(function(t){"string"!=typeof t&&Object.keys(t).forEach(function(r){if(e._driver.validateStyleProperty(r)){var l,u,s,a=n.collectedStyles[n.currentQuerySelector],c=a[r],h=!0;c&&(o!=i&&o>=c.startTime&&i<=c.endTime&&(n.errors.push('The CSS property "'+r+'" that exists between the times of "'+c.startTime+'ms" and "'+c.endTime+'ms" is also being animated in a parallel animation between the times of "'+o+'ms" and "'+i+'ms"'),h=!1),o=c.startTime),h&&(a[r]={startTime:o,endTime:i}),n.options&&(l=n.errors,u=n.options.params||{},(s=YS(t[r])).length&&s.forEach(function(t){u.hasOwnProperty(t)||l.push("Unable to resolve the local animation param "+t+" in the given list of values")}))}else n.errors.push('The provided animation property "'+r+'" is not a supported CSS property for animations')})})},t.prototype.visitKeyframes=function(t,n){var e=this,r={type:5,styles:[],options:null};if(!n.currentAnimateTimings)return n.errors.push("keyframes() must be placed inside of a call to animate()"),r;var i=0,o=[],l=!1,u=!1,s=0,a=t.steps.map(function(t){var r=e._makeStyleAst(t,n),a=null!=r.offset?r.offset:function(t){if("string"==typeof t)return null;var n=null;if(Array.isArray(t))t.forEach(function(t){if(hO(t)&&t.hasOwnProperty("offset")){var e=t;n=parseFloat(e.offset),delete e.offset}});else if(hO(t)&&t.hasOwnProperty("offset")){var e=t;n=parseFloat(e.offset),delete e.offset}return n}(r.styles),c=0;return null!=a&&(i++,c=r.offset=a),u=u||c<0||c>1,l=l||c0&&i0?i==p?1:h*i:o[i],u=l*y;n.currentTime=f+d.delay+u,d.duration=u,e._validateStyleAst(t,n),t.offset=l,r.styles.push(t)}),r},t.prototype.visitReference=function(t,n){return{type:8,animation:eO(this,$S(t.animation),n),options:pO(t.options)}},t.prototype.visitAnimateChild=function(t,n){return n.depCount++,{type:9,options:pO(t.options)}},t.prototype.visitAnimateRef=function(t,n){return{type:10,animation:this.visitReference(t.animation,n),options:pO(t.options)}},t.prototype.visitQuery=function(t,n){var e=n.currentQuerySelector,r=t.options||{};n.queryCount++,n.currentQuery=t;var i=function(t){var n=!!t.split(/\s*,\s*/).find(function(t){return":self"==t});return n&&(t=t.replace(uO,"")),[t=t.replace(/@\*/g,".ng-trigger").replace(/@\w+/g,function(t){return".ng-trigger-"+t.substr(1)}).replace(/:animating/g,".ng-animating"),n]}(t.selector),o=i[0],l=i[1];n.currentQuerySelector=e.length?e+" "+o:o,OS(n.collectedStyles,n.currentQuerySelector,{});var u=eO(this,$S(t.animation),n);return n.currentQuery=null,n.currentQuerySelector=e,{type:11,selector:o,limit:r.limit||0,optional:!!r.optional,includeSelf:l,animation:u,originalSelector:t.selector,options:pO(t.options)}},t.prototype.visitStagger=function(t,n){n.currentQuery||n.errors.push("stagger() can only be used inside of query()");var e="full"===t.timings?{duration:0,delay:0,easing:"full"}:qS(t.timings,n.errors,!0);return{type:12,animation:eO(this,$S(t.animation),n),timings:e,options:null}},t}(),cO=function(t){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 hO(t){return!Array.isArray(t)&&"object"==typeof t}function pO(t){var n;return t?(t=KS(t)).params&&(t.params=(n=t.params)?KS(n):null):t={},t}function fO(t,n,e){return{duration:t,delay:n,easing:e}}function dO(t,n,e,r,i,o,l,u){return void 0===l&&(l=null),void 0===u&&(u=!1),{type:1,element:t,keyframes:n,preStyleProps:e,postStyleProps:r,duration:i,delay:o,totalTime:i+o,easing:l,subTimeline:u}}var yO=function(){function t(){this._map=new Map}return t.prototype.consume=function(t){var n=this._map.get(t);return n?this._map.delete(t):n=[],n},t.prototype.append=function(t,n){var e=this._map.get(t);e||this._map.set(t,e=[]),e.push.apply(e,n)},t.prototype.has=function(t){return this._map.has(t)},t.prototype.clear=function(){this._map.clear()},t}(),gO=new RegExp(":enter","g"),vO=new RegExp(":leave","g");function mO(t,n,e,r,i,o,l,u,s,a){return void 0===o&&(o={}),void 0===l&&(l={}),void 0===a&&(a=[]),(new bO).buildKeyframes(t,n,e,r,i,o,l,u,s,a)}var bO=function(){function t(){}return t.prototype.buildKeyframes=function(t,n,e,r,i,o,l,u,s,a){void 0===a&&(a=[]),s=s||new yO;var c=new wO(t,n,s,r,i,a,[]);c.options=u,c.currentTimeline.setStyles([o],null,c.errors,u),eO(this,e,c);var h=c.timelines.filter(function(t){return t.containsAnimation()});if(h.length&&Object.keys(l).length){var p=h[h.length-1];p.allowOnlyTimelineStyles()||p.setStyles([l],null,c.errors,u)}return h.length?h.map(function(t){return t.buildKeyframes()}):[dO(n,[],[],[],0,0,"",!1)]},t.prototype.visitTrigger=function(t,n){},t.prototype.visitState=function(t,n){},t.prototype.visitTransition=function(t,n){},t.prototype.visitAnimateChild=function(t,n){var e=n.subInstructions.consume(n.element);if(e){var r=n.createSubContext(t.options),i=n.currentTimeline.currentTime,o=this._visitSubInstructions(e,r,r.options);i!=o&&n.transformIntoNewTimeline(o)}n.previousNode=t},t.prototype.visitAnimateRef=function(t,n){var e=n.createSubContext(t.options);e.transformIntoNewTimeline(),this.visitReference(t.animation,e),n.transformIntoNewTimeline(e.currentTimeline.currentTime),n.previousNode=t},t.prototype._visitSubInstructions=function(t,n,e){var r=n.currentTimeline.currentTime,i=null!=e.duration?zS(e.duration):null,o=null!=e.delay?zS(e.delay):null;return 0!==i&&t.forEach(function(t){var e=n.appendInstructionToTimeline(t,i,o);r=Math.max(r,e.duration+e.delay)}),r},t.prototype.visitReference=function(t,n){n.updateOptions(t.options,!0),eO(this,t.animation,n),n.previousNode=t},t.prototype.visitSequence=function(t,n){var e=this,r=n.subContextCount,i=n,o=t.options;if(o&&(o.params||o.delay)&&((i=n.createSubContext(o)).transformIntoNewTimeline(),null!=o.delay)){6==i.previousNode.type&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=_O);var l=zS(o.delay);i.delayNextStep(l)}t.steps.length&&(t.steps.forEach(function(t){return eO(e,t,i)}),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>r&&i.transformIntoNewTimeline()),n.previousNode=t},t.prototype.visitGroup=function(t,n){var e=this,r=[],i=n.currentTimeline.currentTime,o=t.options&&t.options.delay?zS(t.options.delay):0;t.steps.forEach(function(l){var u=n.createSubContext(t.options);o&&u.delayNextStep(o),eO(e,l,u),i=Math.max(i,u.currentTimeline.currentTime),r.push(u.currentTimeline)}),r.forEach(function(t){return n.currentTimeline.mergeTimelineCollectedStyles(t)}),n.transformIntoNewTimeline(i),n.previousNode=t},t.prototype._visitTiming=function(t,n){if(t.dynamic){var e=t.strValue;return qS(n.params?XS(e,n.params,n.errors):e,n.errors)}return{duration:t.duration,delay:t.delay,easing:t.easing}},t.prototype.visitAnimate=function(t,n){var e=n.currentAnimateTimings=this._visitTiming(t.timings,n),r=n.currentTimeline;e.delay&&(n.incrementTime(e.delay),r.snapshotCurrentStyles());var i=t.style;5==i.type?this.visitKeyframes(i,n):(n.incrementTime(e.duration),this.visitStyle(i,n),r.applyStylesToKeyframe()),n.currentAnimateTimings=null,n.previousNode=t},t.prototype.visitStyle=function(t,n){var e=n.currentTimeline,r=n.currentAnimateTimings;!r&&e.getCurrentStyleProperties().length&&e.forwardFrame();var i=r&&r.easing||t.easing;t.isEmptyStep?e.applyEmptyStep(i):e.setStyles(t.styles,i,n.errors,n.options),n.previousNode=t},t.prototype.visitKeyframes=function(t,n){var e=n.currentAnimateTimings,r=n.currentTimeline.duration,i=e.duration,o=n.createSubContext().currentTimeline;o.easing=e.easing,t.styles.forEach(function(t){o.forwardTime((t.offset||0)*i),o.setStyles(t.styles,t.easing,n.errors,n.options),o.applyStylesToKeyframe()}),n.currentTimeline.mergeTimelineCollectedStyles(o),n.transformIntoNewTimeline(r+i),n.previousNode=t},t.prototype.visitQuery=function(t,n){var e=this,r=n.currentTimeline.currentTime,i=t.options||{},o=i.delay?zS(i.delay):0;o&&(6===n.previousNode.type||0==r&&n.currentTimeline.getCurrentStyleProperties().length)&&(n.currentTimeline.snapshotCurrentStyles(),n.previousNode=_O);var l=r,u=n.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!i.optional,n.errors);n.currentQueryTotal=u.length;var s=null;u.forEach(function(r,i){n.currentQueryIndex=i;var u=n.createSubContext(t.options,r);o&&u.delayNextStep(o),r===n.element&&(s=u.currentTimeline),eO(e,t.animation,u),u.currentTimeline.applyStylesToKeyframe(),l=Math.max(l,u.currentTimeline.currentTime)}),n.currentQueryIndex=0,n.currentQueryTotal=0,n.transformIntoNewTimeline(l),s&&(n.currentTimeline.mergeTimelineCollectedStyles(s),n.currentTimeline.snapshotCurrentStyles()),n.previousNode=t},t.prototype.visitStagger=function(t,n){var e=n.parentContext,r=n.currentTimeline,i=t.timings,o=Math.abs(i.duration),l=o*(n.currentQueryTotal-1),u=o*n.currentQueryIndex;switch(i.duration<0?"reverse":i.easing){case"reverse":u=l-u;break;case"full":u=e.currentStaggerTime}var s=n.currentTimeline;u&&s.delayNextStep(u);var a=s.currentTime;eO(this,t.animation,n),n.previousNode=t,e.currentStaggerTime=r.currentTime-a+(r.startTime-e.currentTimeline.startTime)},t}(),_O={},wO=function(){function t(t,n,e,r,i,o,l,u){this._driver=t,this.element=n,this.subInstructions=e,this._enterClassName=r,this._leaveClassName=i,this.errors=o,this.timelines=l,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=_O,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=u||new xO(this._driver,n,0),l.push(this.currentTimeline)}return Object.defineProperty(t.prototype,"params",{get:function(){return this.options.params},enumerable:!0,configurable:!0}),t.prototype.updateOptions=function(t,n){var e=this;if(t){var r=t,i=this.options;null!=r.duration&&(i.duration=zS(r.duration)),null!=r.delay&&(i.delay=zS(r.delay));var o=r.params;if(o){var l=i.params;l||(l=this.options.params={}),Object.keys(o).forEach(function(t){n&&l.hasOwnProperty(t)||(l[t]=XS(o[t],l,e.errors))})}}},t.prototype._copyOptions=function(){var t={};if(this.options){var n=this.options.params;if(n){var e=t.params={};Object.keys(n).forEach(function(t){e[t]=n[t]})}}return t},t.prototype.createSubContext=function(n,e,r){void 0===n&&(n=null);var i=e||this.element,o=new t(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,r||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(n),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o},t.prototype.transformIntoNewTimeline=function(t){return this.previousNode=_O,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline},t.prototype.appendInstructionToTimeline=function(t,n,e){var r={duration:null!=n?n:t.duration,delay:this.currentTimeline.currentTime+(null!=e?e:0)+t.delay,easing:""},i=new CO(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,r,t.stretchStartingKeyframe);return this.timelines.push(i),r},t.prototype.incrementTime=function(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)},t.prototype.delayNextStep=function(t){t>0&&this.currentTimeline.delayNextStep(t)},t.prototype.invokeQuery=function(t,n,e,r,i,o){var l=[];if(r&&l.push(this.element),t.length>0){t=(t=t.replace(gO,"."+this._enterClassName)).replace(vO,"."+this._leaveClassName);var u=this._driver.query(this.element,t,1!=e);0!==e&&(u=e<0?u.slice(u.length+e,u.length):u.slice(0,e)),l.push.apply(l,u)}return i||0!=l.length||o.push('`query("'+n+'")` returned zero elements. (Use `query("'+n+'", { optional: true })` if you wish to allow this.)'),l},t}(),xO=function(){function t(t,n,e,r){this._driver=t,this.element=n,this.startTime=e,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 t.prototype.containsAnimation=function(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}},t.prototype.getCurrentStyleProperties=function(){return Object.keys(this._currentKeyframe)},Object.defineProperty(t.prototype,"currentTime",{get:function(){return this.startTime+this.duration},enumerable:!0,configurable:!0}),t.prototype.delayNextStep=function(t){var n=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||n?(this.forwardTime(this.currentTime+t),n&&this.snapshotCurrentStyles()):this.startTime+=t},t.prototype.fork=function(n,e){return this.applyStylesToKeyframe(),new t(this._driver,n,e||this.currentTime,this._elementTimelineStylesLookup)},t.prototype._loadKeyframe=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))},t.prototype.forwardFrame=function(){this.duration+=1,this._loadKeyframe()},t.prototype.forwardTime=function(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()},t.prototype._updateStyle=function(t,n){this._localTimelineStyles[t]=n,this._globalTimelineStyles[t]=n,this._styleSummary[t]={time:this.currentTime,value:n}},t.prototype.allowOnlyTimelineStyles=function(){return this._currentEmptyStepKeyframe!==this._currentKeyframe},t.prototype.applyEmptyStep=function(t){var n=this;t&&(this._previousKeyframe.easing=t),Object.keys(this._globalTimelineStyles).forEach(function(t){n._backFill[t]=n._globalTimelineStyles[t]||fS,n._currentKeyframe[t]=fS}),this._currentEmptyStepKeyframe=this._currentKeyframe},t.prototype.setStyles=function(t,n,e,r){var i=this;n&&(this._previousKeyframe.easing=n);var o=r&&r.params||{},l=function(t,n){var e,r={};return t.forEach(function(t){"*"===t?(e=e||Object.keys(n)).forEach(function(t){r[t]=fS}):GS(t,!1,r)}),r}(t,this._globalTimelineStyles);Object.keys(l).forEach(function(t){var n=XS(l[t],o,e);i._pendingStyles[t]=n,i._localTimelineStyles.hasOwnProperty(t)||(i._backFill[t]=i._globalTimelineStyles.hasOwnProperty(t)?i._globalTimelineStyles[t]:fS),i._updateStyle(t,n)})},t.prototype.applyStylesToKeyframe=function(){var t=this,n=this._pendingStyles,e=Object.keys(n);0!=e.length&&(this._pendingStyles={},e.forEach(function(e){t._currentKeyframe[e]=n[e]}),Object.keys(this._localTimelineStyles).forEach(function(n){t._currentKeyframe.hasOwnProperty(n)||(t._currentKeyframe[n]=t._localTimelineStyles[n])}))},t.prototype.snapshotCurrentStyles=function(){var t=this;Object.keys(this._localTimelineStyles).forEach(function(n){var e=t._localTimelineStyles[n];t._pendingStyles[n]=e,t._updateStyle(n,e)})},t.prototype.getFinalKeyframe=function(){return this._keyframes.get(this.duration)},Object.defineProperty(t.prototype,"properties",{get:function(){var t=[];for(var n in this._currentKeyframe)t.push(n);return t},enumerable:!0,configurable:!0}),t.prototype.mergeTimelineCollectedStyles=function(t){var n=this;Object.keys(t._styleSummary).forEach(function(e){var r=n._styleSummary[e],i=t._styleSummary[e];(!r||i.time>r.time)&&n._updateStyle(e,i.value)})},t.prototype.buildKeyframes=function(){var t=this;this.applyStylesToKeyframe();var n=new Set,e=new Set,r=1===this._keyframes.size&&0===this.duration,i=[];this._keyframes.forEach(function(o,l){var u=GS(o,!0);Object.keys(u).forEach(function(t){var r=u[t];r==bS?n.add(t):r==fS&&e.add(t)}),r||(u.offset=l/t.duration),i.push(u)});var o=n.size?JS(n.values()):[],l=e.size?JS(e.values()):[];if(r){var u=i[0],s=KS(u);u.offset=0,s.offset=1,i=[u,s]}return dO(this.element,i,o,l,this.duration,this.startTime,this.easing,!1)},t}(),CO=function(t){function n(n,e,r,i,o,l,u){void 0===u&&(u=!1);var s=t.call(this,n,e,l.delay)||this;return s.element=e,s.keyframes=r,s.preStyleProps=i,s.postStyleProps=o,s._stretchStartingKeyframe=u,s.timings={duration:l.duration,delay:l.delay,easing:l.easing},s}return Object(i.__extends)(n,t),n.prototype.containsAnimation=function(){return this.keyframes.length>1},n.prototype.buildKeyframes=function(){var t=this.keyframes,n=this.timings,e=n.delay,r=n.duration,i=n.easing;if(this._stretchStartingKeyframe&&e){var o=[],l=r+e,u=e/l,s=GS(t[0],!1);s.offset=0,o.push(s);var a=GS(t[0],!1);a.offset=SO(u),o.push(a);for(var c=t.length-1,h=1;h<=c;h++){var p=GS(t[h],!1);p.offset=SO((e+p.offset*r)/l),o.push(p)}r=l,e=0,i="",t=o}return dO(this.element,t,this.preStyleProps,this.postStyleProps,r,e,i,!0)},n}(xO);function SO(t,n){void 0===n&&(n=3);var e=Math.pow(10,n-1);return Math.round(t*e)/e}var OO=function(){},EO=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return Object(i.__extends)(n,t),n.prototype.normalizePropertyName=function(t,n){return nO(t)},n.prototype.normalizeStyleValue=function(t,n,e,r){var i="",o=e.toString().trim();if(kO[n]&&0!==e&&"0"!==e)if("number"==typeof e)i="px";else{var l=e.match(/^[+-]?[\d\.]+([a-z]*)$/);l&&0==l[1].length&&r.push("Please provide a CSS unit value for "+t+":"+e)}return o+i},n}(OO),kO=function(t){var n={};return"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(",").forEach(function(t){return n[t]=!0}),n}();function TO(t,n,e,r,i,o,l,u,s,a,c,h){return{type:0,element:t,triggerName:n,isRemovalTransition:i,fromState:e,fromStyles:o,toState:r,toStyles:l,timelines:u,queriedElements:s,preStyleProps:a,postStyleProps:c,errors:h}}var PO={},IO=function(){function t(t,n,e){this._triggerName=t,this.ast=n,this._stateStyles=e}return t.prototype.match=function(t,n){return function(t,n,e){return t.some(function(t){return t(n,e)})}(this.ast.matchers,t,n)},t.prototype.buildStyles=function(t,n,e){var r=this._stateStyles["*"],i=this._stateStyles[t],o=r?r.buildStyles(n,e):{};return i?i.buildStyles(n,e):o},t.prototype.build=function(t,n,e,r,o,l,u,s,a){var c=[],h=this.ast.options&&this.ast.options.params||PO,p=this.buildStyles(e,u&&u.params||PO,c),f=s&&s.params||PO,d=this.buildStyles(r,f,c),y=new Set,g=new Map,v=new Map,m="void"===r,b={params:Object(i.__assign)({},h,f)},_=mO(t,n,this.ast.animation,o,l,p,d,b,a,c);if(c.length)return TO(n,this._triggerName,e,r,m,p,d,[],[],g,v,c);_.forEach(function(t){var e=t.element,r=OS(g,e,{});t.preStyleProps.forEach(function(t){return r[t]=!0});var i=OS(v,e,{});t.postStyleProps.forEach(function(t){return i[t]=!0}),e!==n&&y.add(e)});var w=JS(y.values());return TO(n,this._triggerName,e,r,m,p,d,_,w,g,v)},t}(),MO=function(){function t(t,n){this.styles=t,this.defaultParams=n}return t.prototype.buildStyles=function(t,n){var e={},r=KS(this.defaultParams);return Object.keys(t).forEach(function(n){var e=t[n];null!=e&&(r[n]=e)}),this.styles.styles.forEach(function(t){if("string"!=typeof t){var i=t;Object.keys(i).forEach(function(t){var o=i[t];o.length>1&&(o=XS(o,r,n)),e[t]=o})}}),e},t}(),NO=function(){function t(t,n){var e=this;this.name=t,this.ast=n,this.transitionFactories=[],this.states={},n.states.forEach(function(t){e.states[t.name]=new MO(t.style,t.options&&t.options.params||{})}),AO(this.states,"true","1"),AO(this.states,"false","0"),n.transitions.forEach(function(n){e.transitionFactories.push(new IO(t,n,e.states))}),this.fallbackTransition=new IO(t,{type:1,animation:{type:2,steps:[],options:null},matchers:[function(t,n){return!0}],options:null,queryCount:0,depCount:0},this.states)}return Object.defineProperty(t.prototype,"containsQueries",{get:function(){return this.ast.queryCount>0},enumerable:!0,configurable:!0}),t.prototype.matchTransition=function(t,n){return this.transitionFactories.find(function(e){return e.match(t,n)})||null},t.prototype.matchStyles=function(t,n,e){return this.fallbackTransition.buildStyles(t,n,e)},t}();function AO(t,n,e){t.hasOwnProperty(n)?t.hasOwnProperty(e)||(t[e]=t[n]):t.hasOwnProperty(e)&&(t[n]=t[e])}var jO=new yO,RO=function(){function t(t,n){this._driver=t,this._normalizer=n,this._animations={},this._playersById={},this.players=[]}return t.prototype.register=function(t,n){var e=[],r=sO(this._driver,n,e);if(e.length)throw new Error("Unable to build the animation due to the following errors: "+e.join("\n"));this._animations[t]=r},t.prototype._buildPlayer=function(t,n,e){var r=t.element,i=wS(0,this._normalizer,0,t.keyframes,n,e);return this._driver.animate(r,i,t.duration,t.delay,t.easing,[])},t.prototype.create=function(t,n,e){var r=this;void 0===e&&(e={});var i,o=[],l=this._animations[t],u=new Map;if(l?(i=mO(this._driver,n,l,"ng-enter","ng-leave",{},{},e,jO,o)).forEach(function(t){var n=OS(u,t.element,{});t.postStyleProps.forEach(function(t){return n[t]=null})}):(o.push("The requested animation doesn't exist or has already been destroyed"),i=[]),o.length)throw new Error("Unable to create the animation due to the following errors: "+o.join("\n"));u.forEach(function(t,n){Object.keys(t).forEach(function(e){t[e]=r._driver.computeStyle(n,e,fS)})});var s=_S(i.map(function(t){var n=u.get(t.element);return r._buildPlayer(t,{},n)}));return this._playersById[t]=s,s.onDestroy(function(){return r.destroy(t)}),this.players.push(s),s},t.prototype.destroy=function(t){var n=this._getPlayer(t);n.destroy(),delete this._playersById[t];var e=this.players.indexOf(n);e>=0&&this.players.splice(e,1)},t.prototype._getPlayer=function(t){var n=this._playersById[t];if(!n)throw new Error("Unable to find the timeline player referenced by "+t);return n},t.prototype.listen=function(t,n,e,r){var i=SS(n,"","","");return xS(this._getPlayer(t),e,i,r),function(){}},t.prototype.command=function(t,n,e,r){if("register"!=e)if("create"!=e){var i=this._getPlayer(t);switch(e){case"play":i.play();break;case"pause":i.pause();break;case"reset":i.reset();break;case"restart":i.restart();break;case"finish":i.finish();break;case"init":i.init();break;case"setPosition":i.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(t)}}else this.create(t,n,r[0]||{});else this.register(t,r[0])},t}(),DO=[],LO={namespaceId:"",setForRemoval:null,hasAnimation:!1,removedBeforeQueried:!1},VO={namespaceId:"",setForRemoval:null,hasAnimation:!1,removedBeforeQueried:!0},FO="__ng_removed",UO=function(){function t(t,n){void 0===n&&(n=""),this.namespaceId=n;var e=t&&t.hasOwnProperty("value");if(this.value=function(t){return null!=t?t:null}(e?t.value:t),e){var r=KS(t);delete r.value,this.options=r}else this.options={};this.options.params||(this.options.params={})}return Object.defineProperty(t.prototype,"params",{get:function(){return this.options.params},enumerable:!0,configurable:!0}),t.prototype.absorbOptions=function(t){var n=t.params;if(n){var e=this.options.params;Object.keys(n).forEach(function(t){null==e[t]&&(e[t]=n[t])})}},t}(),BO=new UO("void"),zO=new UO("DELETED"),HO=function(){function t(t,n,e){this.id=t,this.hostElement=n,this._engine=e,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+t,YO(n,this._hostClassName)}return t.prototype.listen=function(t,n,e,r){var i,o=this;if(!this._triggers.hasOwnProperty(n))throw new Error('Unable to listen on the animation trigger event "'+e+'" because the animation trigger "'+n+"\" doesn't exist!");if(null==e||0==e.length)throw new Error('Unable to listen on the animation trigger "'+n+'" because the provided event is undefined!');if("start"!=(i=e)&&"done"!=i)throw new Error('The provided animation trigger event "'+e+'" for the animation trigger "'+n+'" is not supported!');var l=OS(this._elementListeners,t,[]),u={name:n,phase:e,callback:r};l.push(u);var s=OS(this._engine.statesByElement,t,{});return s.hasOwnProperty(n)||(YO(t,"ng-trigger"),YO(t,"ng-trigger-"+n),s[n]=BO),function(){o._engine.afterFlush(function(){var t=l.indexOf(u);t>=0&&l.splice(t,1),o._triggers[n]||delete s[n]})}},t.prototype.register=function(t,n){return!this._triggers[t]&&(this._triggers[t]=n,!0)},t.prototype._getTrigger=function(t){var n=this._triggers[t];if(!n)throw new Error('The provided animation trigger "'+t+'" has not been registered!');return n},t.prototype.trigger=function(t,n,e,r){var i=this;void 0===r&&(r=!0);var o=this._getTrigger(n),l=new KO(this.id,n,t),u=this._engine.statesByElement.get(t);u||(YO(t,"ng-trigger"),YO(t,"ng-trigger-"+n),this._engine.statesByElement.set(t,u={}));var s=u[n],a=new UO(e,this.id);if(!(e&&e.hasOwnProperty("value"))&&s&&a.absorbOptions(s.options),u[n]=a,s){if(s===zO)return l}else s=BO;if("void"===a.value||s.value!==a.value){var c=OS(this._engine.playersByElement,t,[]);c.forEach(function(t){t.namespaceId==i.id&&t.triggerName==n&&t.queued&&t.destroy()});var h=o.matchTransition(s.value,a.value),p=!1;if(!h){if(!r)return;h=o.fallbackTransition,p=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:n,transition:h,fromState:s,toState:a,player:l,isFallbackTransition:p}),p||(YO(t,"ng-animate-queued"),l.onStart(function(){XO(t,"ng-animate-queued")})),l.onDone(function(){var n=i.players.indexOf(l);n>=0&&i.players.splice(n,1);var e=i._engine.playersByElement.get(t);if(e){var r=e.indexOf(l);r>=0&&e.splice(r,1)}}),this.players.push(l),c.push(l),l}if(!function(t,n){var e=Object.keys(t),r=Object.keys(n);if(e.length!=r.length)return!1;for(var i=0;i=0){for(var r=!1,i=e;i>=0;i--)if(this.driver.containsElement(this._namespaceList[i].hostElement,n)){this._namespaceList.splice(i+1,0,t),r=!0;break}r||this._namespaceList.splice(0,0,t)}else this._namespaceList.push(t);return this.namespacesByHostElement.set(n,t),t},t.prototype.register=function(t,n){var e=this._namespaceLookup[t];return e||(e=this.createNamespace(t,n)),e},t.prototype.registerTrigger=function(t,n,e){var r=this._namespaceLookup[t];r&&r.register(n,e)&&this.totalAnimations++},t.prototype.destroy=function(t,n){var e=this;if(t){var r=this._fetchNamespace(t);this.afterFlush(function(){e.namespacesByHostElement.delete(r.hostElement),delete e._namespaceLookup[t];var n=e._namespaceList.indexOf(r);n>=0&&e._namespaceList.splice(n,1)}),this.afterFlushAnimationsDone(function(){return r.destroy(n)})}},t.prototype._fetchNamespace=function(t){return this._namespaceLookup[t]},t.prototype.fetchNamespacesByElement=function(t){var n=new Set,e=this.statesByElement.get(t);if(e)for(var r=Object.keys(e),i=0;i=0;O--)this._namespaceList[O].drainQueuedTransitions(n).forEach(function(t){var n=t.player;C.push(n);var i=t.element;if(p&&e.driver.containsElement(p,i)){var l=w.get(i),h=y.get(i),f=e._buildInstruction(t,r,h,l);if(f.errors&&f.errors.length)S.push(f);else{if(t.isFallbackTransition)return n.onStart(function(){return QS(i,f.fromStyles)}),n.onDestroy(function(){return WS(i,f.toStyles)}),void o.push(n);f.timelines.forEach(function(t){return t.stretchStartingKeyframe=!0}),r.append(i,f.timelines),u.push({instruction:f,player:n,element:i}),f.queriedElements.forEach(function(t){return OS(s,t,[]).push(n)}),f.preStyleProps.forEach(function(t,n){var e=Object.keys(t);if(e.length){var r=a.get(n);r||a.set(n,r=new Set),e.forEach(function(t){return r.add(t)})}}),f.postStyleProps.forEach(function(t,n){var e=Object.keys(t),r=c.get(n);r||c.set(n,r=new Set),e.forEach(function(t){return r.add(t)})})}}else n.destroy()});if(S.length){var E=[];S.forEach(function(t){E.push("@"+t.triggerName+" has failed due to:\n"),t.errors.forEach(function(t){return E.push("- "+t+"\n")})}),C.forEach(function(t){return t.destroy()}),this.reportError(E)}var k=new Map,T=new Map;u.forEach(function(t){var n=t.element;r.has(n)&&(T.set(n,n),e._beforeAnimationBuild(t.player.namespaceId,t.instruction,k))}),o.forEach(function(t){var n=t.element;e._getPreviousPlayers(n,!1,t.namespaceId,t.triggerName,null).forEach(function(t){OS(k,n,[]).push(t),t.destroy()})});var P=v.filter(function(t){return tE(t,a,c)}),I=new Map;QO(I,this.driver,b,c,fS).forEach(function(t){tE(t,a,c)&&P.push(t)});var M=new Map;d.forEach(function(t,n){QO(M,e.driver,new Set(t),a,bS)}),P.forEach(function(t){var n=I.get(t),e=M.get(t);I.set(t,Object(i.__assign)({},n,e))});var N=[],A=[],j={};u.forEach(function(t){var n=t.element,i=t.player,u=t.instruction;if(r.has(n)){if(h.has(n))return i.onDestroy(function(){return WS(n,u.toStyles)}),void o.push(i);var s=j;if(T.size>1){for(var a=n,c=[];a=a.parentNode;){var p=T.get(a);if(p){s=p;break}c.push(a)}c.forEach(function(t){return T.set(t,s)})}var f=e._buildAnimation(i.namespaceId,u,k,l,M,I);if(i.setRealPlayer(f),s===j)N.push(i);else{var d=e.playersByElement.get(s);d&&d.length&&(i.parentPlayer=_S(d)),o.push(i)}}else QS(n,u.fromStyles),i.onDestroy(function(){return WS(n,u.toStyles)}),A.push(i),h.has(n)&&o.push(i)}),A.forEach(function(t){var n=l.get(t.element);if(n&&n.length){var e=_S(n);t.setRealPlayer(e)}}),o.forEach(function(t){t.parentPlayer?t.syncPlayerEvents(t.parentPlayer):t.destroy()});for(var R=0;R0?this.driver.animate(t.element,n,t.duration,t.delay,t.easing,e):new vS},t}(),KO=function(){function t(t,n,e){this.namespaceId=t,this.triggerName=n,this.element=e,this._player=new vS,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.queued=!0}return t.prototype.setRealPlayer=function(t){var n=this;this._containsRealPlayer||(this._player=t,Object.keys(this._queuedCallbacks).forEach(function(e){n._queuedCallbacks[e].forEach(function(n){return xS(t,e,void 0,n)})}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.queued=!1)},t.prototype.getRealPlayer=function(){return this._player},t.prototype.syncPlayerEvents=function(t){var n=this,e=this._player;e.triggerCallback&&t.onStart(function(){return e.triggerCallback("start")}),t.onDone(function(){return n.finish()}),t.onDestroy(function(){return n.destroy()})},t.prototype._queueEvent=function(t,n){OS(this._queuedCallbacks,t,[]).push(n)},t.prototype.onDone=function(t){this.queued&&this._queueEvent("done",t),this._player.onDone(t)},t.prototype.onStart=function(t){this.queued&&this._queueEvent("start",t),this._player.onStart(t)},t.prototype.onDestroy=function(t){this.queued&&this._queueEvent("destroy",t),this._player.onDestroy(t)},t.prototype.init=function(){this._player.init()},t.prototype.hasStarted=function(){return!this.queued&&this._player.hasStarted()},t.prototype.play=function(){!this.queued&&this._player.play()},t.prototype.pause=function(){!this.queued&&this._player.pause()},t.prototype.restart=function(){!this.queued&&this._player.restart()},t.prototype.finish=function(){this._player.finish()},t.prototype.destroy=function(){this.destroyed=!0,this._player.destroy()},t.prototype.reset=function(){!this.queued&&this._player.reset()},t.prototype.setPosition=function(t){this.queued||this._player.setPosition(t)},t.prototype.getPosition=function(){return this.queued?0:this._player.getPosition()},Object.defineProperty(t.prototype,"totalTime",{get:function(){return this._player.totalTime},enumerable:!0,configurable:!0}),t.prototype.triggerCallback=function(t){var n=this._player;n.triggerCallback&&n.triggerCallback(t)},t}();function GO(t){return t&&1===t.nodeType}function WO(t,n){var e=t.style.display;return t.style.display=null!=n?n:"none",e}function QO(t,n,e,r,i){var o=[];e.forEach(function(t){return o.push(WO(t))});var l=[];r.forEach(function(e,r){var o={};e.forEach(function(t){var e=o[t]=n.computeStyle(r,t,i);e&&0!=e.length||(r[FO]=VO,l.push(r))}),t.set(r,o)});var u=0;return e.forEach(function(t){return WO(t,o[u++])}),l}function $O(t,n){var e=new Map;if(t.forEach(function(t){return e.set(t,[])}),0==n.length)return e;var r=new Set(n),i=new Map;return n.forEach(function(t){var n=function t(n){if(!n)return 1;var o=i.get(n);if(o)return o;var l=n.parentNode;return o=e.has(l)?l:r.has(l)?1:t(l),i.set(n,o),o}(t);1!==n&&e.get(n).push(t)}),e}var ZO="$$classes";function YO(t,n){if(t.classList)t.classList.add(n);else{var e=t[ZO];e||(e=t[ZO]={}),e[n]=!0}}function XO(t,n){if(t.classList)t.classList.remove(n);else{var e=t[ZO];e&&delete e[n]}}function JO(t,n,e){_S(e).onDone(function(){return t.processLeaveNode(n)})}function tE(t,n,e){var r=e.get(t);if(!r)return!1;var i=n.get(t);return i?r.forEach(function(t){return i.add(t)}):n.set(t,r),e.delete(t),!0}var nE=function(){function t(t,n){var e=this;this._driver=t,this._triggerCache={},this.onRemovalComplete=function(t,n){},this._transitionEngine=new qO(t,n),this._timelineEngine=new RO(t,n),this._transitionEngine.onRemovalComplete=function(t,n){return e.onRemovalComplete(t,n)}}return t.prototype.registerTrigger=function(t,n,e,r,i){var o=t+"-"+r,l=this._triggerCache[o];if(!l){var u=[],s=sO(this._driver,i,u);if(u.length)throw new Error('The animation trigger "'+r+'" has failed to build due to the following errors:\n - '+u.join("\n - "));l=function(t,n){return new NO(t,n)}(r,s),this._triggerCache[o]=l}this._transitionEngine.registerTrigger(n,r,l)},t.prototype.register=function(t,n){this._transitionEngine.register(t,n)},t.prototype.destroy=function(t,n){this._transitionEngine.destroy(t,n)},t.prototype.onInsert=function(t,n,e,r){this._transitionEngine.insertNode(t,n,e,r)},t.prototype.onRemove=function(t,n,e){this._transitionEngine.removeNode(t,n,e)},t.prototype.disableAnimations=function(t,n){this._transitionEngine.markElementAsDisabled(t,n)},t.prototype.process=function(t,n,e,r){if("@"==e.charAt(0)){var i=ES(e);this._timelineEngine.command(i[0],n,i[1],r)}else this._transitionEngine.trigger(t,n,e,r)},t.prototype.listen=function(t,n,e,r,i){if("@"==e.charAt(0)){var o=ES(e);return this._timelineEngine.listen(o[0],n,o[1],i)}return this._transitionEngine.listen(t,n,e,r,i)},t.prototype.flush=function(t){void 0===t&&(t=-1),this._transitionEngine.flush(t)},Object.defineProperty(t.prototype,"players",{get:function(){return this._transitionEngine.players.concat(this._timelineEngine.players)},enumerable:!0,configurable:!0}),t.prototype.whenRenderingDone=function(){return this._transitionEngine.whenRenderingDone()},t}(),eE=function(){function t(t,n,e,r){void 0===r&&(r=[]);var i=this;this.element=t,this.keyframes=n,this.options=e,this.previousPlayers=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.previousStyles={},this.currentSnapshot={},this._duration=e.duration,this._delay=e.delay||0,this.time=this._duration+this._delay,(0===this._duration||0===this._delay)&&r.forEach(function(t){var n=t.currentSnapshot;Object.keys(n).forEach(function(t){return i.previousStyles[t]=n[t]})})}return t.prototype._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(t){return t()}),this._onDoneFns=[])},t.prototype.init=function(){this._buildPlayer(),this._preparePlayerBeforeStart()},t.prototype._buildPlayer=function(){var t=this;if(!this._initialized){this._initialized=!0;var n=this.keyframes.map(function(t){return GS(t,!1)}),e=Object.keys(this.previousStyles);if(e.length&&n.length){var r=n[0],i=[];if(e.forEach(function(n){r.hasOwnProperty(n)||i.push(n),r[n]=t.previousStyles[n]}),i.length)for(var o=this,l=function(){var t=n[u];i.forEach(function(n){t[n]=rE(o.element,n)})},u=1;u=0&&t0&&n.children[0].routeConfig&&n.children[0].routeConfig.path.includes("app/address/")&&t.children&&t.children.length>0&&t.children[0].routeConfig&&t.children[0].routeConfig.path.includes("app/address/"))},t}(),bE=function(t,n,e){return new fl(M_,[j_],function(t){return function(t){for(var n={},e=0;e
x
'),e.close(),n=e.documentElement.scrollHeight>e.body.scrollHeight,t.parentNode.removeChild(t)}return n}())return document.documentElement;var r=document.body;return(r=r&&!/body/i.test(r.tagName)?function(t){for(var n,e=r;e=e.nextSibling;)if(1==e.nodeType&&(n=e,window.HTMLBodyElement?n instanceof HTMLBodyElement:/body/i.test(n.tagName)))return e;return null}():r)&&function(n){var r=t(n),i=t(document.documentElement);return"visible"!=r.overflow&&"visible"!=i.overflow&&e(r)&&e(i)}(r)?null:r};Object.defineProperty?Object.defineProperty(document,"scrollingElement",{get:r}):document.__defineGetter__?document.__defineGetter__("scrollingElement",r):(document.scrollingElement=r(),document.attachEvent&&document.attachEvent("onpropertychange",function(){"activeElement"==window.event.propertyName&&(document.scrollingElement=r())}))}()},crnd:function(t,n){function e(t){return Promise.resolve().then(function(){var n=new Error('Cannot find module "'+t+'".');throw n.code="MODULE_NOT_FOUND",n})}e.keys=function(){return[]},e.resolve=e,t.exports=e,e.id="crnd"},mrSG:function(t,n,e){"use strict";e.r(n),e.d(n,"__extends",function(){return i}),e.d(n,"__assign",function(){return o}),e.d(n,"__rest",function(){return l}),e.d(n,"__decorate",function(){return u}),e.d(n,"__param",function(){return s}),e.d(n,"__metadata",function(){return a}),e.d(n,"__awaiter",function(){return c}),e.d(n,"__generator",function(){return h}),e.d(n,"__exportStar",function(){return p}),e.d(n,"__values",function(){return f}),e.d(n,"__read",function(){return d}),e.d(n,"__spread",function(){return y}),e.d(n,"__await",function(){return g}),e.d(n,"__asyncGenerator",function(){return m}),e.d(n,"__asyncDelegator",function(){return v}),e.d(n,"__asyncValues",function(){return b}),e.d(n,"__makeTemplateObject",function(){return _}),e.d(n,"__importStar",function(){return w}),e.d(n,"__importDefault",function(){return x});var r=function(t,n){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)n.hasOwnProperty(e)&&(t[e]=n[e])})(t,n)};function i(t,n){function e(){this.constructor=t}r(t,n),t.prototype=null===n?Object.create(n):(e.prototype=n.prototype,new e)}var o=function(){return(o=Object.assign||function(t){for(var n,e=1,r=arguments.length;e=0;u--)(i=t[u])&&(l=(o<3?i(l):o>3?i(n,e,l):i(n,e))||l);return o>3&&l&&Object.defineProperty(n,e,l),l}function s(t,n){return function(e,r){n(e,r,t)}}function a(t,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,n)}function c(t,n,e,r){return new(e||(e=Promise))(function(i,o){function l(t){try{s(r.next(t))}catch(t){o(t)}}function u(t){try{s(r.throw(t))}catch(t){o(t)}}function s(t){t.done?i(t.value):new e(function(n){n(t.value)}).then(l,u)}s((r=r.apply(t,n||[])).next())})}function h(t,n){var e,r,i,o,l={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function u(o){return function(u){return function(o){if(e)throw new TypeError("Generator is already executing.");for(;l;)try{if(e=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return l.label++,{value:o[1],done:!1};case 5:l.label++,r=o[1],o=[0];continue;case 7:o=l.ops.pop(),l.trys.pop();continue;default:if(!(i=(i=l.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){l=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]=t.length&&(t=void 0),{value:t&&t[e++],done:!t}}}}function d(t,n){var e="function"==typeof Symbol&&t[Symbol.iterator];if(!e)return t;var r,i,o=e.call(t),l=[];try{for(;(void 0===n||n-- >0)&&!(r=o.next()).done;)l.push(r.value)}catch(t){i={error:t}}finally{try{r&&!r.done&&(e=o.return)&&e.call(o)}finally{if(i)throw i.error}}return l}function y(){for(var t=[],n=0;n1||u(t,n)})})}function u(t,n){try{(e=i[t](n)).value instanceof g?Promise.resolve(e.value.v).then(s,a):c(o[0][2],e)}catch(t){c(o[0][3],t)}var e}function s(t){u("next",t)}function a(t){u("throw",t)}function c(t,n){t(n),o.shift(),o.length&&u(o[0][0],o[0][1])}}function v(t){var n,e;return n={},r("next"),r("throw",function(t){throw t}),r("return"),n[Symbol.iterator]=function(){return this},n;function r(r,i){n[r]=t[r]?function(n){return(e=!e)?{value:g(t[r](n)),done:"return"===r}:i?i(n):n}:i}}function b(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,e=t[Symbol.asyncIterator];return e?e.call(t):(t=f(t),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(e){n[e]=t[e]&&function(n){return new Promise(function(r,i){!function(t,n,e,r){Promise.resolve(r).then(function(n){t({value:n,done:e})},n)}(r,i,(n=t[e](n)).done,n.value)})}}}function _(t,n){return Object.defineProperty?Object.defineProperty(t,"raw",{value:n}):t.raw=n,t}function w(t){if(t&&t.__esModule)return t;var n={};if(null!=t)for(var e in t)Object.hasOwnProperty.call(t,e)&&(n[e]=t[e]);return n.default=t,n}function x(t){return t&&t.__esModule?t:{default:t}}},zUnb:function(t,n,e){"use strict";e.r(n);var r={};e.d(r,"audit",function(){return iv}),e.d(r,"auditTime",function(){return uv}),e.d(r,"buffer",function(){return wg}),e.d(r,"bufferCount",function(){return Sg}),e.d(r,"bufferTime",function(){return Tg}),e.d(r,"bufferToggle",function(){return jg}),e.d(r,"bufferWhen",function(){return Lg}),e.d(r,"catchError",function(){return zu}),e.d(r,"combineAll",function(){return Bg}),e.d(r,"combineLatest",function(){return Sy}),e.d(r,"concat",function(){return Ug}),e.d(r,"concatAll",function(){return Gu}),e.d(r,"concatMap",function(){return _u}),e.d(r,"concatMapTo",function(){return zg}),e.d(r,"count",function(){return Hg}),e.d(r,"debounce",function(){return $g}),e.d(r,"debounceTime",function(){return Xg}),e.d(r,"defaultIfEmpty",function(){return gs}),e.d(r,"delay",function(){return em}),e.d(r,"delayWhen",function(){return lm}),e.d(r,"dematerialize",function(){return Gg}),e.d(r,"distinct",function(){return pm}),e.d(r,"distinctUntilChanged",function(){return ym}),e.d(r,"distinctUntilKeyChanged",function(){return vm}),e.d(r,"elementAt",function(){return Am}),e.d(r,"every",function(){return ts}),e.d(r,"exhaust",function(){return Cm}),e.d(r,"exhaustMap",function(){return Em}),e.d(r,"expand",function(){return Pm}),e.d(r,"filter",function(){return Xa}),e.d(r,"finalize",function(){return Rm}),e.d(r,"find",function(){return Fm}),e.d(r,"findIndex",function(){return zm}),e.d(r,"first",function(){return $u}),e.d(r,"groupBy",function(){return Gm}),e.d(r,"ignoreElements",function(){return Xm}),e.d(r,"isEmpty",function(){return nv}),e.d(r,"last",function(){return is}),e.d(r,"map",function(){return xu}),e.d(r,"mapTo",function(){return av}),e.d(r,"materialize",function(){return pv}),e.d(r,"max",function(){return yv}),e.d(r,"merge",function(){return mf}),e.d(r,"mergeAll",function(){return H}),e.d(r,"mergeMap",function(){return F}),e.d(r,"flatMap",function(){return F}),e.d(r,"mergeMapTo",function(){return gv}),e.d(r,"mergeScan",function(){return _v}),e.d(r,"min",function(){return Cv}),e.d(r,"multicast",function(){return et}),e.d(r,"observeOn",function(){return Du}),e.d(r,"onErrorResumeNext",function(){return Uy}),e.d(r,"pairwise",function(){return Sv}),e.d(r,"partition",function(){return kv}),e.d(r,"pluck",function(){return Tv}),e.d(r,"publish",function(){return Pv}),e.d(r,"publishBehavior",function(){return Iv}),e.d(r,"publishLast",function(){return Av}),e.d(r,"publishReplay",function(){return Mv}),e.d(r,"race",function(){return Nv}),e.d(r,"reduce",function(){return bs}),e.d(r,"repeat",function(){return jv}),e.d(r,"repeatWhen",function(){return Lv}),e.d(r,"retry",function(){return Bv}),e.d(r,"retryWhen",function(){return Hv}),e.d(r,"refCount",function(){return Z}),e.d(r,"sample",function(){return Gv}),e.d(r,"sampleTime",function(){return $v}),e.d(r,"scan",function(){return as}),e.d(r,"sequenceEqual",function(){return Jv}),e.d(r,"share",function(){return ot}),e.d(r,"shareReplay",function(){return rb}),e.d(r,"single",function(){return ib}),e.d(r,"skip",function(){return ub}),e.d(r,"skipLast",function(){return cb}),e.d(r,"skipUntil",function(){return fb}),e.d(r,"skipWhile",function(){return gb}),e.d(r,"startWith",function(){return bb}),e.d(r,"switchAll",function(){return Ob}),e.d(r,"switchMap",function(){return vf}),e.d(r,"switchMapTo",function(){return kb}),e.d(r,"take",function(){return Cf}),e.d(r,"takeLast",function(){return fs}),e.d(r,"takeUntil",function(){return Ib}),e.d(r,"takeWhile",function(){return Nb}),e.d(r,"tap",function(){return bm}),e.d(r,"throttle",function(){return Lb}),e.d(r,"throttleTime",function(){return Bb}),e.d(r,"timeInterval",function(){return qb}),e.d(r,"timeout",function(){return Qb}),e.d(r,"timeoutWith",function(){return Yb}),e.d(r,"timestamp",function(){return t_}),e.d(r,"toArray",function(){return xf}),e.d(r,"window",function(){return e_}),e.d(r,"windowCount",function(){return o_}),e.d(r,"windowTime",function(){return s_}),e.d(r,"windowToggle",function(){return y_}),e.d(r,"windowWhen",function(){return v_}),e.d(r,"withLatestFrom",function(){return w_}),e.d(r,"zip",function(){return $y}),e.d(r,"zipAll",function(){return S_});var i=e("mrSG"),o="undefined"!=typeof window&&window,l="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,u="undefined"!=typeof global&&global,s=o||u||l;function a(t){return"function"==typeof t}var c=Array.isArray||function(t){return t&&"number"==typeof t.length};function h(t){return null!=t&&"object"==typeof t}var p,f={e:{}};function d(){try{return p.apply(this,arguments)}catch(t){return f.e=t,f}}function y(t){return p=t,d}var g=function(t){function n(n){t.call(this),this.errors=n;var e=Error.call(this,n?n.length+" errors occurred during unsubscription:\n "+n.map(function(t,n){return n+1+") "+t.toString()}).join("\n "):"");this.name=e.name="UnsubscriptionError",this.stack=e.stack,this.message=e.message}return Object(i.__extends)(n,t),n}(Error),m=function(){function t(t){this.closed=!1,this._parent=null,this._parents=null,this._subscriptions=null,t&&(this._unsubscribe=t)}var n;return t.prototype.unsubscribe=function(){var t,n=!1;if(!this.closed){var e=this._parent,r=this._parents,i=this._unsubscribe,o=this._subscriptions;this.closed=!0,this._parent=null,this._parents=null,this._subscriptions=null;for(var l=-1,u=r?r.length:0;e;)e.remove(this),e=++l1?new n(t,r):1===i?new P(t[0],r):new I(r)},n.dispatch=function(t){var n=t.array,e=t.index,r=t.subscriber;e>=t.count?r.complete():(r.next(n[e]),r.closed||(t.index=e+1,this.schedule(t)))},n.prototype._subscribe=function(t){var e=this.array,r=e.length,i=this.scheduler;if(i)return i.schedule(n.dispatch,0,{array:e,index:0,count:r,subscriber:t});for(var o=0;o0?this._next(n.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},n}(V);function z(t){return t}function H(t){return void 0===t&&(t=Number.POSITIVE_INFINITY),F(z,null,t)}function q(){for(var t=[],n=0;n1&&"number"==typeof t[t.length-1]&&(e=t.pop())):"number"==typeof i&&(e=t.pop()),null===r&&1===t.length&&t[0]instanceof T?t[0]:H(e)(new A(t,r))}var K=function(t){function n(){var n=t.call(this,"object unsubscribed");this.name=n.name="ObjectUnsubscribedError",this.stack=n.stack,this.message=n.message}return Object(i.__extends)(n,t),n}(Error),G=function(t){function n(n,e){t.call(this),this.subject=n,this.subscriber=e,this.closed=!1}return Object(i.__extends)(n,t),n.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var t=this.subject,n=t.observers;if(this.subject=null,n&&0!==n.length&&!t.isStopped&&!t.closed){var e=n.indexOf(this.subscriber);-1!==e&&n.splice(e,1)}}},n}(m),W=function(t){function n(n){t.call(this,n),this.destination=n}return Object(i.__extends)(n,t),n}(x),Q=function(t){function n(){t.call(this),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}return Object(i.__extends)(n,t),n.prototype[w]=function(){return new W(this)},n.prototype.lift=function(t){var n=new $(this,this);return n.operator=t,n},n.prototype.next=function(t){if(this.closed)throw new K;if(!this.isStopped)for(var n=this.observers,e=n.length,r=n.slice(),i=0;i1)this.connection=null;else{var e=this.connection,r=t._connection;this.connection=null,!r||e&&r!==e||r.unsubscribe()}}else this.connection=null},n}(x),J=function(t){function n(n,e){t.call(this),this.source=n,this.subjectFactory=e,this._refCount=0,this._isComplete=!1}return Object(i.__extends)(n,t),n.prototype._subscribe=function(t){return this.getSubject().subscribe(t)},n.prototype.getSubject=function(){var t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject},n.prototype.connect=function(){var t=this._connection;return t||(this._isComplete=!1,(t=this._connection=new m).add(this.source.subscribe(new nt(this.getSubject(),this))),t.closed?(this._connection=null,t=m.EMPTY):this._connection=t),t},n.prototype.refCount=function(){return Z()(this)},n}(T).prototype,tt={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:J._subscribe},_isComplete:{value:J._isComplete,writable:!0},getSubject:{value:J.getSubject},connect:{value:J.connect},refCount:{value:J.refCount}},nt=function(t){function n(n,e){t.call(this,n),this.connectable=e}return Object(i.__extends)(n,t),n.prototype._error=function(n){this._unsubscribe(),t.prototype._error.call(this,n)},n.prototype._complete=function(){this.connectable._isComplete=!0,this._unsubscribe(),t.prototype._complete.call(this)},n.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var n=t._connection;t._refCount=0,t._subject=null,t._connection=null,n&&n.unsubscribe()}},n}(W);function et(t,n){return function(e){var r;if(r="function"==typeof t?t:function(){return t},"function"==typeof n)return e.lift(new rt(r,n));var i=Object.create(e,tt);return i.source=e,i.subjectFactory=r,i}}var rt=function(){function t(t,n){this.subjectFactory=t,this.selector=n}return t.prototype.call=function(t,n){var e=this.selector,r=this.subjectFactory(),i=e(r).subscribe(t);return i.add(n.subscribe(r)),i},t}();function it(){return new Q}function ot(){return function(t){return Z()(et(it)(t))}}function lt(){return ot()(this)}var ut=function(){function t(t){this._desc=t,this.ngMetadataName="InjectionToken"}return t.prototype.toString=function(){return"InjectionToken "+this._desc},t}(),st="__annotations__",at="__paramaters__",ct="__prop__metadata__";function ht(t,n,e,r){var i=pt(n);function o(t){if(this instanceof o)return i.call(this,t),this;var n=new o(t),e=function(t){return(t.hasOwnProperty(st)?t[st]:Object.defineProperty(t,st,{value:[]})[st]).push(n),t};return r&&r(e),e}return e&&(o.prototype=Object.create(e.prototype)),o.prototype.ngMetadataName=t,o.annotationCls=o,o}function pt(t){return function(){for(var n=[],e=0;e ");else if("object"==typeof n){var i=[];for(var o in n)if(n.hasOwnProperty(o)){var l=n[o];i.push(o+":"+("string"==typeof l?JSON.stringify(l):jt(l)))}r="{"+i.join(", ")+"}"}return"StaticInjectorError"+(e?"("+e+")":"")+"["+r+"]: "+t.replace(Qt,"\n ")}function Jt(t,n){return new Error(Xt(t,n))}var tn="ngDebugContext",nn="ngOriginalError",en="ngErrorLogger";function rn(t){return t[tn]}function on(t){return t[nn]}function ln(t){for(var n=[],e=1;e0)t._bootstrapComponents.forEach(function(t){return n.bootstrap(t)});else{if(!t.instance.ngDoBootstrap)throw new Error("The module "+jt(t.instance.constructor)+' was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.');t.instance.ngDoBootstrap(n)}this._modules.push(t)},t.prototype.onDestroy=function(t){this._destroyListeners.push(t)},Object.defineProperty(t.prototype,"injector",{get:function(){return this._injector},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(function(t){return t.destroy()}),this._destroyListeners.forEach(function(t){return t()}),this._destroyed=!0},Object.defineProperty(t.prototype,"destroyed",{get:function(){return this._destroyed},enumerable:!0,configurable:!0}),t}();function re(t,n){return Array.isArray(n)?n.reduce(re,t):Object(i.__assign)({},t,n)}var ie=function(){function t(t,n,e,r,i,o){var l=this;this._zone=t,this._console=n,this._injector=e,this._exceptionHandler=r,this._componentFactoryResolver=i,this._initStatus=o,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=Xn(),this._zone.onMicrotaskEmpty.subscribe({next:function(){l._zone.run(function(){l.tick()})}});var u=new T(function(t){l._stable=l._zone.isStable&&!l._zone.hasPendingMacrotasks&&!l._zone.hasPendingMicrotasks,l._zone.runOutsideAngular(function(){t.next(l._stable),t.complete()})}),s=new T(function(t){var n;l._zone.runOutsideAngular(function(){n=l._zone.onStable.subscribe(function(){Vn.assertNotInAngularZone(),At(function(){l._stable||l._zone.hasPendingMacrotasks||l._zone.hasPendingMicrotasks||(l._stable=!0,t.next(!0))})})});var e=l._zone.onUnstable.subscribe(function(){Vn.assertInAngularZone(),l._stable&&(l._stable=!1,l._zone.runOutsideAngular(function(){t.next(!1)}))});return function(){n.unsubscribe(),e.unsubscribe()}});this.isStable=q(u,lt.call(s))}return t.prototype.bootstrap=function(t,n){var e,r=this;if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");e=t instanceof xn?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(e.componentType);var i=e instanceof In?null:this._injector.get(Mn),o=e.create(Bt.NULL,[],n||e.selector,i);o.onDestroy(function(){r._unloadComponent(o)});var l=o.injector.get(Gn,null);return l&&o.injector.get(Wn).registerApplication(o.location.nativeElement,l),this._loadComponent(o),Xn()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),o},t.prototype.tick=function(){var n=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");var e=t._tickScope();try{this._runningTick=!0,this._views.forEach(function(t){return t.detectChanges()}),this._enforceNoNewChanges&&this._views.forEach(function(t){return t.checkNoChanges()})}catch(t){this._zone.runOutsideAngular(function(){return n._exceptionHandler.handleError(t)})}finally{this._runningTick=!1,Dn(e)}},t.prototype.attachView=function(t){var n=t;this._views.push(n),n.attachToAppRef(this)},t.prototype.detachView=function(t){var n=t;oe(this._views,n),n.detachFromAppRef()},t.prototype._loadComponent=function(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(mn,[]).concat(this._bootstrapListeners).forEach(function(n){return n(t)})},t.prototype._unloadComponent=function(t){this.detachView(t.hostView),oe(this.components,t)},t.prototype.ngOnDestroy=function(){this._views.slice().forEach(function(t){return t.destroy()})},Object.defineProperty(t.prototype,"viewCount",{get:function(){return this._views.length},enumerable:!0,configurable:!0}),t._tickScope=Rn("ApplicationRef#tick()"),t}();function oe(t,n){var e=t.indexOf(n);e>-1&&t.splice(e,1)}var le=function(){},ue=function(){var t={Important:1,DashCase:2};return t[t.Important]="Important",t[t.DashCase]="DashCase",t}(),se=function(){},ae=function(t){this.nativeElement=t},ce=function(){},he=function(){function t(){this.dirty=!0,this._results=[],this.changes=new Ln,this.length=0}return t.prototype.map=function(t){return this._results.map(t)},t.prototype.filter=function(t){return this._results.filter(t)},t.prototype.find=function(t){return this._results.find(t)},t.prototype.reduce=function(t,n){return this._results.reduce(t,n)},t.prototype.forEach=function(t){this._results.forEach(t)},t.prototype.some=function(t){return this._results.some(t)},t.prototype.toArray=function(){return this._results.slice()},t.prototype[Mt()]=function(){return this._results[Mt()]()},t.prototype.toString=function(){return this._results.toString()},t.prototype.reset=function(t){this._results=function t(n){return n.reduce(function(n,e){var r=Array.isArray(e)?t(e):e;return n.concat(r)},[])}(t),this.dirty=!1,this.length=this._results.length,this.last=this._results[this.length-1],this.first=this._results[0]},t.prototype.notifyOnChanges=function(){this.changes.emit(this)},t.prototype.setDirty=function(){this.dirty=!0},t.prototype.destroy=function(){this.changes.complete(),this.changes.unsubscribe()},t}(),pe=function(){},fe={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},de=function(){function t(t,n){this._compiler=t,this._config=n||fe}return t.prototype.load=function(t){return this._compiler instanceof _n?this.loadFactory(t):this.loadAndCompile(t)},t.prototype.loadAndCompile=function(t){var n=this,r=t.split("#"),i=r[0],o=r[1];return void 0===o&&(o="default"),e("crnd")(i).then(function(t){return t[o]}).then(function(t){return ye(t,i,o)}).then(function(t){return n._compiler.compileModuleAsync(t)})},t.prototype.loadFactory=function(t){var n=t.split("#"),r=n[0],i=n[1],o="NgFactory";return void 0===i&&(i="default",o=""),e("crnd")(this._config.factoryPathPrefix+r+this._config.factoryPathSuffix).then(function(t){return t[i+o]}).then(function(t){return ye(t,r,i)})},t}();function ye(t,n,e){if(!t)throw new Error("Cannot find '"+e+"' in '"+n+"'");return t}var ge=function(){},me=function(){},ve=function(){},be=function(){function t(t,n,e){this._debugContext=e,this.nativeNode=t,n&&n instanceof _e?n.addChild(this):this.parent=null,this.listeners=[]}return Object.defineProperty(t.prototype,"injector",{get:function(){return this._debugContext.injector},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"componentInstance",{get:function(){return this._debugContext.component},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return this._debugContext.context},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"references",{get:function(){return this._debugContext.references},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"providerTokens",{get:function(){return this._debugContext.providerTokens},enumerable:!0,configurable:!0}),t}(),_e=function(t){function n(n,e,r){var i=t.call(this,n,e,r)||this;return i.properties={},i.attributes={},i.classes={},i.styles={},i.childNodes=[],i.nativeElement=n,i}return Object(i.__extends)(n,t),n.prototype.addChild=function(t){t&&(this.childNodes.push(t),t.parent=this)},n.prototype.removeChild=function(t){var n=this.childNodes.indexOf(t);-1!==n&&(t.parent=null,this.childNodes.splice(n,1))},n.prototype.insertChildrenAfter=function(t,n){var e,r=this,i=this.childNodes.indexOf(t);-1!==i&&((e=this.childNodes).splice.apply(e,[i+1,0].concat(n)),n.forEach(function(t){t.parent&&t.parent.removeChild(t),t.parent=r}))},n.prototype.insertBefore=function(t,n){var e=this.childNodes.indexOf(t);-1===e?this.addChild(n):(n.parent&&n.parent.removeChild(n),n.parent=this,this.childNodes.splice(e,0,n))},n.prototype.query=function(t){return this.queryAll(t)[0]||null},n.prototype.queryAll=function(t){var n=[];return function t(n,e,r){n.childNodes.forEach(function(n){n instanceof _e&&(e(n)&&r.push(n),t(n,e,r))})}(this,t,n),n},n.prototype.queryAllNodes=function(t){var n=[];return function t(n,e,r){n instanceof _e&&n.childNodes.forEach(function(n){e(n)&&r.push(n),n instanceof _e&&t(n,e,r)})}(this,t,n),n},Object.defineProperty(n.prototype,"children",{get:function(){return this.childNodes.filter(function(t){return t instanceof n})},enumerable:!0,configurable:!0}),n.prototype.triggerEventHandler=function(t,n){this.listeners.forEach(function(e){e.name==t&&e.callback(n)})},n}(be),we=new Map;function xe(t){return we.get(t)||null}function Ce(t){we.set(t.nativeNode,t)}function Se(t,n){var e=ke(t),r=ke(n);return e&&r?function(t,n,e){for(var r=t[Mt()](),i=n[Mt()]();;){var o=r.next(),l=i.next();if(o.done&&l.done)return!0;if(o.done||l.done)return!1;if(!e(o.value,l.value))return!1}}(t,n,Se):!(e||!t||"object"!=typeof t&&"function"!=typeof t||r||!n||"object"!=typeof n&&"function"!=typeof n)||Nt(t,n)}var Oe=function(){function t(t){this.wrapped=t}return t.wrap=function(n){return new t(n)},t.unwrap=function(n){return t.isWrapped(n)?n.wrapped:n},t.isWrapped=function(n){return n instanceof t},t}(),Ee=function(){function t(t,n,e){this.previousValue=t,this.currentValue=n,this.firstChange=e}return t.prototype.isFirstChange=function(){return this.firstChange},t}();function ke(t){return!!Te(t)&&(Array.isArray(t)||!(t instanceof Map)&&Mt()in t)}function Te(t){return null!==t&&("function"==typeof t||"object"==typeof t)}var Pe=function(){function t(){}return t.prototype.supports=function(t){return ke(t)},t.prototype.create=function(t){return new Me(t)},t}(),Ie=function(t,n){return n},Me=function(){function t(t){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||Ie}return t.prototype.forEachItem=function(t){var n;for(n=this._itHead;null!==n;n=n._next)t(n)},t.prototype.forEachOperation=function(t){for(var n=this._itHead,e=this._removalsHead,r=0,i=null;n||e;){var o=!e||n&&n.currentIndex=e.length)&&(n=e.length-1),n<0)return null;var r=e[n];return r.viewContainerParent=null,li(e,n),or.dirtyParentQueries(r),ii(r),r}function ri(t,n,e){var r=n?Or(n,n.def.lastRenderRootNode):t.renderElement;jr(e,2,e.renderer.parentNode(r),e.renderer.nextSibling(r),void 0)}function ii(t){jr(t,3,null,null,void 0)}function oi(t,n,e){n>=t.length?t.push(e):t.splice(n,0,e)}function li(t,n){n>=t.length-1?t.pop():t.splice(n,1)}var ui=new Object;function si(t,n,e,r,i,o){return new ai(t,n,e,r,i,o)}var ai=function(t){function n(n,e,r,i,o,l){var u=t.call(this)||this;return u.selector=n,u.componentType=e,u._inputs=i,u._outputs=o,u.ngContentSelectors=l,u.viewDefFactory=r,u}return Object(i.__extends)(n,t),Object.defineProperty(n.prototype,"inputs",{get:function(){var t=[],n=this._inputs;for(var e in n)t.push({propName:e,templateName:n[e]});return t},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"outputs",{get:function(){var t=[];for(var n in this._outputs)t.push({propName:n,templateName:this._outputs[n]});return t},enumerable:!0,configurable:!0}),n.prototype.create=function(t,n,e,r){if(!r)throw new Error("ngModule should be provided");var i=Nr(this.viewDefFactory),o=i.nodes[0].element.componentProvider.nodeIndex,l=or.createRootView(t,n||[],e,i,r,ui),u=er(l,o).instance;return e&&l.renderer.setAttribute(nr(l,0).renderElement,"ng-version",bt.full),new ci(l,new di(l),u)},n}(xn),ci=function(t){function n(n,e,r){var i=t.call(this)||this;return i._view=n,i._viewRef=e,i._component=r,i._elDef=i._view.def.nodes[0],i.hostView=e,i.changeDetectorRef=e,i.instance=r,i}return Object(i.__extends)(n,t),Object.defineProperty(n.prototype,"location",{get:function(){return new ae(nr(this._view,this._elDef.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"injector",{get:function(){return new vi(this._view,this._elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"componentType",{get:function(){return this._component.constructor},enumerable:!0,configurable:!0}),n.prototype.destroy=function(){this._viewRef.destroy()},n.prototype.onDestroy=function(t){this._viewRef.onDestroy(t)},n}(function(){});function hi(t,n,e){return new pi(t,n,e)}var pi=function(){function t(t,n,e){this._view=t,this._elDef=n,this._data=e,this._embeddedViews=[]}return Object.defineProperty(t.prototype,"element",{get:function(){return new ae(this._data.renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"injector",{get:function(){return new vi(this._view,this._elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parentInjector",{get:function(){for(var t=this._view,n=this._elDef.parent;!n&&t;)n=Sr(t),t=t.parent;return t?new vi(t,n):new vi(this._view,null)},enumerable:!0,configurable:!0}),t.prototype.clear=function(){for(var t=this._embeddedViews.length-1;t>=0;t--){var n=ei(this._data,t);or.destroyView(n)}},t.prototype.get=function(t){var n=this._embeddedViews[t];if(n){var e=new di(n);return e.attachToViewContainerRef(this),e}return null},Object.defineProperty(t.prototype,"length",{get:function(){return this._embeddedViews.length},enumerable:!0,configurable:!0}),t.prototype.createEmbeddedView=function(t,n,e){var r=t.createEmbeddedView(n||{});return this.insert(r,e),r},t.prototype.createComponent=function(t,n,e,r,i){var o=e||this.parentInjector;i||t instanceof In||(i=o.get(Mn));var l=t.create(o,r,void 0,i);return this.insert(l.hostView,n),l},t.prototype.insert=function(t,n){if(t.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");var e,r,i,o,l=t;return i=l._view,o=(e=this._data).viewContainer._embeddedViews,null!==(r=n)&&void 0!==r||(r=o.length),i.viewContainerParent=this._view,oi(o,r,i),function(t,n){var e=Cr(n);if(e&&e!==t&&!(16&n.state)){n.state|=16;var r=e.template._projectedViews;r||(r=e.template._projectedViews=[]),r.push(n),function(t,e){if(!(4&e.flags)){n.parent.def.nodeFlags|=4,e.flags|=4;for(var r=e.parent;r;)r.childFlags|=4,r=r.parent}}(0,n.parentNodeDef)}}(e,i),or.dirtyParentQueries(i),ri(e,r>0?o[r-1]:null,i),l.attachToViewContainerRef(this),t},t.prototype.move=function(t,n){if(t.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");var e,r,i,o,l,u=this._embeddedViews.indexOf(t._view);return i=n,l=(o=(e=this._data).viewContainer._embeddedViews)[r=u],li(o,r),null==i&&(i=o.length),oi(o,i,l),or.dirtyParentQueries(l),ii(l),ri(e,i>0?o[i-1]:null,l),t},t.prototype.indexOf=function(t){return this._embeddedViews.indexOf(t._view)},t.prototype.remove=function(t){var n=ei(this._data,t);n&&or.destroyView(n)},t.prototype.detach=function(t){var n=ei(this._data,t);return n?new di(n):null},t}();function fi(t){return new di(t)}var di=function(){function t(t){this._view=t,this._viewContainerRef=null,this._appRef=null}return Object.defineProperty(t.prototype,"rootNodes",{get:function(){return jr(this._view,0,void 0,void 0,t=[]),t;var t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return this._view.context},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"destroyed",{get:function(){return 0!=(128&this._view.state)},enumerable:!0,configurable:!0}),t.prototype.markForCheck=function(){_r(this._view)},t.prototype.detach=function(){this._view.state&=-5},t.prototype.detectChanges=function(){var t=this._view.root.rendererFactory;t.begin&&t.begin();try{or.checkAndUpdateView(this._view)}finally{t.end&&t.end()}},t.prototype.checkNoChanges=function(){or.checkNoChangesView(this._view)},t.prototype.reattach=function(){this._view.state|=4},t.prototype.onDestroy=function(t){this._view.disposables||(this._view.disposables=[]),this._view.disposables.push(t)},t.prototype.destroy=function(){this._appRef?this._appRef.detachView(this):this._viewContainerRef&&this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)),or.destroyView(this._view)},t.prototype.detachFromAppRef=function(){this._appRef=null,ii(this._view),or.dirtyParentQueries(this._view)},t.prototype.attachToAppRef=function(t){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t},t.prototype.attachToViewContainerRef=function(t){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=t},t}();function yi(t,n){return new gi(t,n)}var gi=function(t){function n(n,e){var r=t.call(this)||this;return r._parentView=n,r._def=e,r}return Object(i.__extends)(n,t),n.prototype.createEmbeddedView=function(t){return new di(or.createEmbeddedView(this._parentView,this._def,this._def.element.template,t))},Object.defineProperty(n.prototype,"elementRef",{get:function(){return new ae(nr(this._parentView,this._def.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),n}(ge);function mi(t,n){return new vi(t,n)}var vi=function(){function t(t,n){this.view=t,this.elDef=n}return t.prototype.get=function(t,n){return void 0===n&&(n=Bt.THROW_IF_NOT_FOUND),or.resolveDep(this.view,this.elDef,!!this.elDef&&0!=(33554432&this.elDef.flags),{flags:0,token:t,tokenKey:hr(t)},n)},t}();function bi(t,n){var e=t.def.nodes[n];if(1&e.flags){var r=nr(t,e.nodeIndex);return e.element.template?r.template:r.renderElement}if(2&e.flags)return tr(t,e.nodeIndex).renderText;if(20240&e.flags)return er(t,e.nodeIndex).instance;throw new Error("Illegal state: read nodeValue for node index "+n)}function _i(t){return new wi(t.renderer)}var wi=function(){function t(t){this.delegate=t}return t.prototype.selectRootElement=function(t){return this.delegate.selectRootElement(t)},t.prototype.createElement=function(t,n){var e=Br(n),r=this.delegate.createElement(e[1],e[0]);return t&&this.delegate.appendChild(t,r),r},t.prototype.createViewRoot=function(t){return t},t.prototype.createTemplateAnchor=function(t){var n=this.delegate.createComment("");return t&&this.delegate.appendChild(t,n),n},t.prototype.createText=function(t,n){var e=this.delegate.createText(n);return t&&this.delegate.appendChild(t,e),e},t.prototype.projectNodes=function(t,n){for(var e=0;e0,n.provider.value,n.provider.deps);if(n.outputs.length)for(var r=0;r0,r=n.provider;switch(201347067&n.flags){case 512:return Bi(t,n.parent,e,r.value,r.deps);case 1024:return function(t,n,e,r,i){var o=i.length;switch(o){case 0:return r();case 1:return r(zi(t,n,e,i[0]));case 2:return r(zi(t,n,e,i[0]),zi(t,n,e,i[1]));case 3:return r(zi(t,n,e,i[0]),zi(t,n,e,i[1]),zi(t,n,e,i[2]));default:for(var l=Array(o),u=0;u0)a=y,lo(y)||(c=y);else for(;a&&d===a.nodeIndex+a.childCount;){var v=a.parent;v&&(v.childFlags|=a.childFlags,v.childMatchedQueries|=a.childMatchedQueries),c=(a=v)&&lo(a)?a.renderParent:a}}return{factory:null,nodeFlags:l,rootNodeFlags:u,nodeMatchedQueries:s,flags:t,nodes:n,updateDirectives:e||ar,updateRenderer:r||ar,handleEvent:function(t,e,r,i){return n[e].element.handleEvent(t,r,i)},bindingCount:i,outputCount:o,lastRenderRootNode:f}}function lo(t){return 0!=(1&t.flags)&&null===t.element.name}function uo(t,n,e){var r=n.element&&n.element.template;if(r){if(!r.lastRenderRootNode)throw new Error("Illegal State: Embedded templates without nodes are not allowed!");if(r.lastRenderRootNode&&16777216&r.lastRenderRootNode.flags)throw new Error("Illegal State: Last root node of a template can't have embedded views, at index "+n.nodeIndex+"!")}if(20224&n.flags&&0==(1&(t?t.flags:0)))throw new Error("Illegal State: StaticProvider/Directive nodes need to be children of elements or anchors, at index "+n.nodeIndex+"!");if(n.query){if(67108864&n.flags&&(!t||0==(16384&t.flags)))throw new Error("Illegal State: Content Query nodes need to be children of directives, at index "+n.nodeIndex+"!");if(134217728&n.flags&&t)throw new Error("Illegal State: View Query nodes have to be top level nodes, at index "+n.nodeIndex+"!")}if(n.childCount){var i=t?t.nodeIndex+t.childCount:e-1;if(n.nodeIndex<=i&&n.nodeIndex+n.childCount>i)throw new Error("Illegal State: childCount of node leads outside of parent, at index "+n.nodeIndex+"!")}}function so(t,n,e,r){var i=ho(t.root,t.renderer,t,n,e);return po(i,t.component,r),fo(i),i}function ao(t,n,e){var r=ho(t,t.renderer,null,null,n);return po(r,e,e),fo(r),r}function co(t,n,e,r){var i,o=n.element.componentRendererType;return i=o?t.root.rendererFactory.createRenderer(r,o):t.root.renderer,ho(t.root,i,t,n.element.componentProvider,e)}function ho(t,n,e,r,i){var o=new Array(i.nodes.length),l=i.outputCount?new Array(i.outputCount):null;return{def:i,parent:e,viewContainerParent:null,parentNodeDef:r,context:null,component:null,nodes:o,state:13,root:t,renderer:n,oldValues:new Array(i.bindingCount),disposables:l,initIndex:-1}}function po(t,n,e){t.component=n,t.context=e}function fo(t){var n;Er(t)&&(n=nr(t.parent,t.parentNodeDef.parent.nodeIndex).renderElement);for(var e=t.def,r=t.nodes,i=0;i0&&$r(t,n,0,e)&&(f=!0),p>1&&$r(t,n,1,r)&&(f=!0),p>2&&$r(t,n,2,i)&&(f=!0),p>3&&$r(t,n,3,o)&&(f=!0),p>4&&$r(t,n,4,l)&&(f=!0),p>5&&$r(t,n,5,u)&&(f=!0),p>6&&$r(t,n,6,s)&&(f=!0),p>7&&$r(t,n,7,a)&&(f=!0),p>8&&$r(t,n,8,c)&&(f=!0),p>9&&$r(t,n,9,h)&&(f=!0),f}(t,n,e,r,i,o,l,u,s,a,c,h);case 2:return function(t,n,e,r,i,o,l,u,s,a,c,h){var p=!1,f=n.bindings,d=f.length;if(d>0&&vr(t,n,0,e)&&(p=!0),d>1&&vr(t,n,1,r)&&(p=!0),d>2&&vr(t,n,2,i)&&(p=!0),d>3&&vr(t,n,3,o)&&(p=!0),d>4&&vr(t,n,4,l)&&(p=!0),d>5&&vr(t,n,5,u)&&(p=!0),d>6&&vr(t,n,6,s)&&(p=!0),d>7&&vr(t,n,7,a)&&(p=!0),d>8&&vr(t,n,8,c)&&(p=!0),d>9&&vr(t,n,9,h)&&(p=!0),p){var y=n.text.prefix;d>0&&(y+=io(e,f[0])),d>1&&(y+=io(r,f[1])),d>2&&(y+=io(i,f[2])),d>3&&(y+=io(o,f[3])),d>4&&(y+=io(l,f[4])),d>5&&(y+=io(u,f[5])),d>6&&(y+=io(s,f[6])),d>7&&(y+=io(a,f[7])),d>8&&(y+=io(c,f[8])),d>9&&(y+=io(h,f[9]));var g=tr(t,n.nodeIndex).renderText;t.renderer.setValue(g,y)}return p}(t,n,e,r,i,o,l,u,s,a,c,h);case 16384:return function(t,n,e,r,i,o,l,u,s,a,c,h){var p=er(t,n.nodeIndex),f=p.instance,d=!1,y=void 0,g=n.bindings.length;return g>0&&mr(t,n,0,e)&&(d=!0,y=qi(t,p,n,0,e,y)),g>1&&mr(t,n,1,r)&&(d=!0,y=qi(t,p,n,1,r,y)),g>2&&mr(t,n,2,i)&&(d=!0,y=qi(t,p,n,2,i,y)),g>3&&mr(t,n,3,o)&&(d=!0,y=qi(t,p,n,3,o,y)),g>4&&mr(t,n,4,l)&&(d=!0,y=qi(t,p,n,4,l,y)),g>5&&mr(t,n,5,u)&&(d=!0,y=qi(t,p,n,5,u,y)),g>6&&mr(t,n,6,s)&&(d=!0,y=qi(t,p,n,6,s,y)),g>7&&mr(t,n,7,a)&&(d=!0,y=qi(t,p,n,7,a,y)),g>8&&mr(t,n,8,c)&&(d=!0,y=qi(t,p,n,8,c,y)),g>9&&mr(t,n,9,h)&&(d=!0,y=qi(t,p,n,9,h,y)),y&&f.ngOnChanges(y),65536&n.flags&&Je(t,256,n.nodeIndex)&&f.ngOnInit(),262144&n.flags&&f.ngDoCheck(),d}(t,n,e,r,i,o,l,u,s,a,c,h);case 32:case 64:case 128:return function(t,n,e,r,i,o,l,u,s,a,c,h){var p=n.bindings,f=!1,d=p.length;if(d>0&&vr(t,n,0,e)&&(f=!0),d>1&&vr(t,n,1,r)&&(f=!0),d>2&&vr(t,n,2,i)&&(f=!0),d>3&&vr(t,n,3,o)&&(f=!0),d>4&&vr(t,n,4,l)&&(f=!0),d>5&&vr(t,n,5,u)&&(f=!0),d>6&&vr(t,n,6,s)&&(f=!0),d>7&&vr(t,n,7,a)&&(f=!0),d>8&&vr(t,n,8,c)&&(f=!0),d>9&&vr(t,n,9,h)&&(f=!0),f){var y=rr(t,n.nodeIndex),g=void 0;switch(201347067&n.flags){case 32:g=new Array(p.length),d>0&&(g[0]=e),d>1&&(g[1]=r),d>2&&(g[2]=i),d>3&&(g[3]=o),d>4&&(g[4]=l),d>5&&(g[5]=u),d>6&&(g[6]=s),d>7&&(g[7]=a),d>8&&(g[8]=c),d>9&&(g[9]=h);break;case 64:g={},d>0&&(g[p[0].name]=e),d>1&&(g[p[1].name]=r),d>2&&(g[p[2].name]=i),d>3&&(g[p[3].name]=o),d>4&&(g[p[4].name]=l),d>5&&(g[p[5].name]=u),d>6&&(g[p[6].name]=s),d>7&&(g[p[7].name]=a),d>8&&(g[p[8].name]=c),d>9&&(g[p[9].name]=h);break;case 128:var m=e;switch(d){case 1:g=m.transform(e);break;case 2:g=m.transform(r);break;case 3:g=m.transform(r,i);break;case 4:g=m.transform(r,i,o);break;case 5:g=m.transform(r,i,o,l);break;case 6:g=m.transform(r,i,o,l,u);break;case 7:g=m.transform(r,i,o,l,u,s);break;case 8:g=m.transform(r,i,o,l,u,s,a);break;case 9:g=m.transform(r,i,o,l,u,s,a,c);break;case 10:g=m.transform(r,i,o,l,u,s,a,c,h)}}y.value=g}return f}(t,n,e,r,i,o,l,u,s,a,c,h);default:throw"unreachable"}}(t,n,r,i,o,l,u,s,a,c,h,p):function(t,n,e){switch(201347067&n.flags){case 1:return function(t,n,e){for(var r=!1,i=0;i0&&br(t,n,0,e),p>1&&br(t,n,1,r),p>2&&br(t,n,2,i),p>3&&br(t,n,3,o),p>4&&br(t,n,4,l),p>5&&br(t,n,5,u),p>6&&br(t,n,6,s),p>7&&br(t,n,7,a),p>8&&br(t,n,8,c),p>9&&br(t,n,9,h)}(t,n,r,i,o,l,u,s,a,c,h,p):function(t,n,e){for(var r=0;r0?n.substring(1):n},n.prototype.prepareExternalUrl=function(t){var n=bl.joinWithSlash(this._baseHref,t);return n.length>0?"#"+n:n},n.prototype.pushState=function(t,n,e,r){var i=this.prepareExternalUrl(e+bl.normalizeQueryParams(r));0==i.length&&(i=this._platformLocation.pathname),this._platformLocation.pushState(t,n,i)},n.prototype.replaceState=function(t,n,e,r){var i=this.prepareExternalUrl(e+bl.normalizeQueryParams(r));0==i.length&&(i=this._platformLocation.pathname),this._platformLocation.replaceState(t,n,i)},n.prototype.forward=function(){this._platformLocation.forward()},n.prototype.back=function(){this._platformLocation.back()},n}(ml),xl=function(t){function n(n,e){var r=t.call(this)||this;if(r._platformLocation=n,null==e&&(e=r._platformLocation.getBaseHrefFromDOM()),null==e)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=e,r}return Object(i.__extends)(n,t),n.prototype.onPopState=function(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)},n.prototype.getBaseHref=function(){return this._baseHref},n.prototype.prepareExternalUrl=function(t){return bl.joinWithSlash(this._baseHref,t)},n.prototype.path=function(t){void 0===t&&(t=!1);var n=this._platformLocation.pathname+bl.normalizeQueryParams(this._platformLocation.search),e=this._platformLocation.hash;return e&&t?""+n+e:n},n.prototype.pushState=function(t,n,e,r){var i=this.prepareExternalUrl(e+bl.normalizeQueryParams(r));this._platformLocation.pushState(t,n,i)},n.prototype.replaceState=function(t,n,e,r){var i=this.prepareExternalUrl(e+bl.normalizeQueryParams(r));this._platformLocation.replaceState(t,n,i)},n.prototype.forward=function(){this._platformLocation.forward()},n.prototype.back=function(){this._platformLocation.back()},n}(ml),Cl=["en",[["a","p"],["AM","PM"]],[["AM","PM"],,],[["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"]],,[["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"]],,[["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}",,"{1} 'at' {0}"],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"$","US Dollar",function(t){var n=Math.floor(Math.abs(t)),e=t.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===e?1:5}],Sl={},Ol=function(){var t={Decimal:0,Percent:1,Currency:2,Scientific:3};return t[t.Decimal]="Decimal",t[t.Percent]="Percent",t[t.Currency]="Currency",t[t.Scientific]="Scientific",t}(),El=function(){var t={Zero:0,One:1,Two:2,Few:3,Many:4,Other:5};return t[t.Zero]="Zero",t[t.One]="One",t[t.Two]="Two",t[t.Few]="Few",t[t.Many]="Many",t[t.Other]="Other",t}(),kl=function(){var t={Format:0,Standalone:1};return t[t.Format]="Format",t[t.Standalone]="Standalone",t}(),Tl=function(){var t={Narrow:0,Abbreviated:1,Wide:2,Short:3};return t[t.Narrow]="Narrow",t[t.Abbreviated]="Abbreviated",t[t.Wide]="Wide",t[t.Short]="Short",t}(),Pl=function(){var t={Short:0,Medium:1,Long:2,Full:3};return t[t.Short]="Short",t[t.Medium]="Medium",t[t.Long]="Long",t[t.Full]="Full",t}(),Il=function(){var t={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};return t[t.Decimal]="Decimal",t[t.Group]="Group",t[t.List]="List",t[t.PercentSign]="PercentSign",t[t.PlusSign]="PlusSign",t[t.MinusSign]="MinusSign",t[t.Exponential]="Exponential",t[t.SuperscriptingExponent]="SuperscriptingExponent",t[t.PerMille]="PerMille",t[t.Infinity]="Infinity",t[t.NaN]="NaN",t[t.TimeSeparator]="TimeSeparator",t[t.CurrencyDecimal]="CurrencyDecimal",t[t.CurrencyGroup]="CurrencyGroup",t}();function Ml(t,n){return Dl(Vl(t)[10],n)}function Al(t,n){return Dl(Vl(t)[11],n)}function Nl(t,n){return Dl(Vl(t)[12],n)}function jl(t,n){var e=Vl(t),r=e[13][n];if(void 0===r){if(n===Il.CurrencyDecimal)return e[13][Il.Decimal];if(n===Il.CurrencyGroup)return e[13][Il.Group]}return r}function Rl(t){if(!t[18])throw new Error('Missing extra locale data for the locale "'+t[0]+'". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.')}function Dl(t,n){for(var e=n;e>-1;e--)if(void 0!==t[e])return t[e];throw new Error("Locale data API: locale data undefined")}function Ll(t){var n=t.split(":");return{hours:+n[0],minutes:+n[1]}}function Vl(t){var n=t.toLowerCase().replace(/_/g,"-"),e=Sl[n];if(e)return e;var r=n.split("-")[0];if(e=Sl[r])return e;if("en"===r)return Cl;throw new Error('Missing locale data for the locale "'+t+'".')}var Fl=new ut("UseV4Plurals"),Bl=function(){},Ul=function(t){function n(n,e){var r=t.call(this)||this;return r.locale=n,r.deprecatedPluralFn=e,r}return Object(i.__extends)(n,t),n.prototype.getPluralCategory=function(t,n){switch(this.deprecatedPluralFn?this.deprecatedPluralFn(n||this.locale,t):function(t){return Vl(t)[17]}(n||this.locale)(t)){case El.Zero:return"zero";case El.One:return"one";case El.Two:return"two";case El.Few:return"few";case El.Many:return"many";default:return"other"}},n}(Bl),zl=function(){function t(t,n,e,r){this._iterableDiffers=t,this._keyValueDiffers=n,this._ngEl=e,this._renderer=r,this._initialClasses=[]}return Object.defineProperty(t.prototype,"klass",{set:function(t){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof t?t.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClass",{set:function(t){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof t?t.split(/\s+/):t,this._rawClass&&(ke(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())},enumerable:!0,configurable:!0}),t.prototype.ngDoCheck=function(){if(this._iterableDiffer){var t=this._iterableDiffer.diff(this._rawClass);t&&this._applyIterableChanges(t)}else if(this._keyValueDiffer){var n=this._keyValueDiffer.diff(this._rawClass);n&&this._applyKeyValueChanges(n)}},t.prototype._applyKeyValueChanges=function(t){var n=this;t.forEachAddedItem(function(t){return n._toggleClass(t.key,t.currentValue)}),t.forEachChangedItem(function(t){return n._toggleClass(t.key,t.currentValue)}),t.forEachRemovedItem(function(t){t.previousValue&&n._toggleClass(t.key,!1)})},t.prototype._applyIterableChanges=function(t){var n=this;t.forEachAddedItem(function(t){if("string"!=typeof t.item)throw new Error("NgClass can only toggle CSS classes expressed as strings, got "+jt(t.item));n._toggleClass(t.item,!0)}),t.forEachRemovedItem(function(t){return n._toggleClass(t.item,!1)})},t.prototype._applyClasses=function(t){var n=this;t&&(Array.isArray(t)||t instanceof Set?t.forEach(function(t){return n._toggleClass(t,!0)}):Object.keys(t).forEach(function(e){return n._toggleClass(e,!!t[e])}))},t.prototype._removeClasses=function(t){var n=this;t&&(Array.isArray(t)||t instanceof Set?t.forEach(function(t){return n._toggleClass(t,!1)}):Object.keys(t).forEach(function(t){return n._toggleClass(t,!1)}))},t.prototype._toggleClass=function(t,n){var e=this;(t=t.trim())&&t.split(/\s+/g).forEach(function(t){n?e._renderer.addClass(e._ngEl.nativeElement,t):e._renderer.removeClass(e._ngEl.nativeElement,t)})},t}(),Hl=function(){function t(t,n,e,r){this.$implicit=t,this.ngForOf=n,this.index=e,this.count=r}return Object.defineProperty(t.prototype,"first",{get:function(){return 0===this.index},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"last",{get:function(){return this.index===this.count-1},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"even",{get:function(){return this.index%2==0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"odd",{get:function(){return!this.even},enumerable:!0,configurable:!0}),t}(),ql=function(){function t(t,n,e){this._viewContainer=t,this._template=n,this._differs=e,this._differ=null}return Object.defineProperty(t.prototype,"ngForTrackBy",{get:function(){return this._trackByFn},set:function(t){Xn()&&null!=t&&"function"!=typeof t&&console&&console.warn&&console.warn("trackBy must be a function, but received "+JSON.stringify(t)+". See https://angular.io/docs/ts/latest/api/common/index/NgFor-directive.html#!#change-propagation for more information."),this._trackByFn=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngForTemplate",{set:function(t){t&&(this._template=t)},enumerable:!0,configurable:!0}),t.prototype.ngOnChanges=function(t){if("ngForOf"in t){var n=t.ngForOf.currentValue;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).name||typeof e)+"'. NgFor only supports binding to Iterables such as Arrays.")}}var e},t.prototype.ngDoCheck=function(){if(this._differ){var t=this._differ.diff(this.ngForOf);t&&this._applyChanges(t)}},t.prototype._applyChanges=function(t){var n=this,e=[];t.forEachOperation(function(t,r,i){if(null==t.previousIndex){var o=n._viewContainer.createEmbeddedView(n._template,new Hl(null,n.ngForOf,-1,-1),i),l=new Kl(t,o);e.push(l)}else null==i?n._viewContainer.remove(r):(o=n._viewContainer.get(r),n._viewContainer.move(o,i),l=new Kl(t,o),e.push(l))});for(var r=0;r0||u>-e)&&(u+=e),t===Yl.Hours&&0===u&&-12===e&&(u=12),tu(u,n,jl(l,Il.MinusSign),r,i)}}function eu(t,n,e,r){return void 0===e&&(e=kl.Format),void 0===r&&(r=!1),function(i,o){return function(t,n,e,r,i,o){switch(e){case Xl.Months:return function(t,n,e){var r=Vl(t);return Dl(Dl([r[5],r[6]],n),e)}(n,i,r)[t.getMonth()];case Xl.Days:return function(t,n,e){var r=Vl(t);return Dl(Dl([r[3],r[4]],n),e)}(n,i,r)[t.getDay()];case Xl.DayPeriods:var l=t.getHours(),u=t.getMinutes();if(o){var s,a=function(t){var n=Vl(t);return Rl(n),(n[18][2]||[]).map(function(t){return"string"==typeof t?Ll(t):[Ll(t[0]),Ll(t[1])]})}(n),c=function(t,n,e){var r=Vl(t);return Rl(r),Dl(Dl([r[18][0],r[18][1]],n)||[],e)||[]}(n,i,r);if(a.forEach(function(t,n){if(Array.isArray(t)){var e=t[0],r=t[1],i=r.hours;l>=e.hours&&u>=e.minutes&&(l0?Math.floor(i/60):Math.ceil(i/60);switch(t){case Zl.Short:return(i>=0?"+":"")+tu(l,2,o)+tu(Math.abs(i%60),2,o);case Zl.ShortGMT:return"GMT"+(i>=0?"+":"")+tu(l,1,o);case Zl.Long:return"GMT"+(i>=0?"+":"")+tu(l,2,o)+":"+tu(Math.abs(i%60),2,o);case Zl.Extended:return 0===r?"Z":(i>=0?"+":"")+tu(l,2,o)+":"+tu(Math.abs(i%60),2,o);default:throw new Error('Unknown zone width "'+t+'"')}}}var iu=0,ou=4;function lu(t,n){return void 0===n&&(n=!1),function(e,r){var i,o,l,u;if(n){var s=new Date(e.getFullYear(),e.getMonth(),1).getDay()-1,a=e.getDate();i=1+Math.floor((a+s)/7)}else{var c=(l=e.getFullYear(),u=new Date(l,iu,1).getDay(),new Date(l,0,1+(u<=ou?ou:ou+7)-u)),h=(o=e,new Date(o.getFullYear(),o.getMonth(),o.getDate()+(ou-o.getDay()))).getTime()-c.getTime();i=1+Math.round(h/6048e5)}return tu(i,t,jl(r,Il.MinusSign))}}var uu={};function su(t,n){t=t.replace(/:/g,"");var e=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(e)?n:e}function au(t,n){return Error("InvalidPipeArgument: '"+n+"' for pipe '"+jt(t)+"'")}var cu=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,hu=function(){function t(t){this.locale=t}return t.prototype.transform=function(n,e,r,i){if(void 0===e&&(e="mediumDate"),null==n||""===n||n!=n)return null;var o,l;if("string"==typeof n&&(n=n.trim()),pu(n))o=n;else if(isNaN(n-parseFloat(n)))if("string"==typeof n&&/^(\d{4}-\d{1,2}-\d{1,2})$/.test(n)){var u=n.split("-").map(function(t){return+t});o=new Date(u[0],u[1]-1,u[2])}else o="string"==typeof n&&(l=n.match(cu))?function(t){var n=new Date(0),e=0,r=0,i=t[8]?n.setUTCHours:n.setHours;t[9]&&(e=+(t[9]+t[10]),r=+(t[9]+t[11])),(t[8]?n.setUTCFullYear:n.setFullYear).call(n,+t[1],+t[2]-1,+t[3]);var o=+(t[4]||"0")-e,l=+(t[5]||"0")-r,u=+(t[6]||"0"),s=Math.round(1e3*parseFloat("0."+(t[7]||0)));return i.call(n,o,l,u,s),n}(l):new Date(n);else o=new Date(parseFloat(n));if(!pu(o))throw au(t,n);return function(t,n,e,r){n=function t(n,e){var r=function(t){return Vl(t)[0]}(n);if(Ql[r]=Ql[r]||{},Ql[r][e])return Ql[r][e];var i="";switch(e){case"shortDate":i=Ml(n,Pl.Short);break;case"mediumDate":i=Ml(n,Pl.Medium);break;case"longDate":i=Ml(n,Pl.Long);break;case"fullDate":i=Ml(n,Pl.Full);break;case"shortTime":i=Al(n,Pl.Short);break;case"mediumTime":i=Al(n,Pl.Medium);break;case"longTime":i=Al(n,Pl.Long);break;case"fullTime":i=Al(n,Pl.Full);break;case"short":var o=t(n,"shortTime"),l=t(n,"shortDate");i=Jl(Nl(n,Pl.Short),[o,l]);break;case"medium":var u=t(n,"mediumTime"),s=t(n,"mediumDate");i=Jl(Nl(n,Pl.Medium),[u,s]);break;case"long":var a=t(n,"longTime"),c=t(n,"longDate");i=Jl(Nl(n,Pl.Long),[a,c]);break;case"full":var h=t(n,"fullTime"),p=t(n,"fullDate");i=Jl(Nl(n,Pl.Full),[h,p])}return i&&(Ql[r][e]=i),i}(e,n)||n;for(var i,o=[];n;){if(!(i=$l.exec(n))){o.push(n);break}var l=(o=o.concat(i.slice(1))).pop();if(!l)break;n=l}var u=t.getTimezoneOffset();r&&(u=su(r,u),t=function(t,n,e){var r=t.getTimezoneOffset();return function(t,n){return(t=new Date(t.getTime())).setMinutes(t.getMinutes()+n),t}(t,-1*(su(n,r)-r))}(t,r));var s="";return o.forEach(function(n){var r=function(t){if(uu[t])return uu[t];var n;switch(t){case"G":case"GG":case"GGG":n=eu(Xl.Eras,Tl.Abbreviated);break;case"GGGG":n=eu(Xl.Eras,Tl.Wide);break;case"GGGGG":n=eu(Xl.Eras,Tl.Narrow);break;case"y":n=nu(Yl.FullYear,1,0,!1,!0);break;case"yy":n=nu(Yl.FullYear,2,0,!0,!0);break;case"yyy":n=nu(Yl.FullYear,3,0,!1,!0);break;case"yyyy":n=nu(Yl.FullYear,4,0,!1,!0);break;case"M":case"L":n=nu(Yl.Month,1,1);break;case"MM":case"LL":n=nu(Yl.Month,2,1);break;case"MMM":n=eu(Xl.Months,Tl.Abbreviated);break;case"MMMM":n=eu(Xl.Months,Tl.Wide);break;case"MMMMM":n=eu(Xl.Months,Tl.Narrow);break;case"LLL":n=eu(Xl.Months,Tl.Abbreviated,kl.Standalone);break;case"LLLL":n=eu(Xl.Months,Tl.Wide,kl.Standalone);break;case"LLLLL":n=eu(Xl.Months,Tl.Narrow,kl.Standalone);break;case"w":n=lu(1);break;case"ww":n=lu(2);break;case"W":n=lu(1,!0);break;case"d":n=nu(Yl.Date,1);break;case"dd":n=nu(Yl.Date,2);break;case"E":case"EE":case"EEE":n=eu(Xl.Days,Tl.Abbreviated);break;case"EEEE":n=eu(Xl.Days,Tl.Wide);break;case"EEEEE":n=eu(Xl.Days,Tl.Narrow);break;case"EEEEEE":n=eu(Xl.Days,Tl.Short);break;case"a":case"aa":case"aaa":n=eu(Xl.DayPeriods,Tl.Abbreviated);break;case"aaaa":n=eu(Xl.DayPeriods,Tl.Wide);break;case"aaaaa":n=eu(Xl.DayPeriods,Tl.Narrow);break;case"b":case"bb":case"bbb":n=eu(Xl.DayPeriods,Tl.Abbreviated,kl.Standalone,!0);break;case"bbbb":n=eu(Xl.DayPeriods,Tl.Wide,kl.Standalone,!0);break;case"bbbbb":n=eu(Xl.DayPeriods,Tl.Narrow,kl.Standalone,!0);break;case"B":case"BB":case"BBB":n=eu(Xl.DayPeriods,Tl.Abbreviated,kl.Format,!0);break;case"BBBB":n=eu(Xl.DayPeriods,Tl.Wide,kl.Format,!0);break;case"BBBBB":n=eu(Xl.DayPeriods,Tl.Narrow,kl.Format,!0);break;case"h":n=nu(Yl.Hours,1,-12);break;case"hh":n=nu(Yl.Hours,2,-12);break;case"H":n=nu(Yl.Hours,1);break;case"HH":n=nu(Yl.Hours,2);break;case"m":n=nu(Yl.Minutes,1);break;case"mm":n=nu(Yl.Minutes,2);break;case"s":n=nu(Yl.Seconds,1);break;case"ss":n=nu(Yl.Seconds,2);break;case"S":n=nu(Yl.Milliseconds,1);break;case"SS":n=nu(Yl.Milliseconds,2);break;case"SSS":n=nu(Yl.Milliseconds,3);break;case"Z":case"ZZ":case"ZZZ":n=ru(Zl.Short);break;case"ZZZZZ":n=ru(Zl.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":n=ru(Zl.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":n=ru(Zl.Long);break;default:return null}return uu[t]=n,n}(n);s+=r?r(t,e,u):"''"===n?"'":n.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),s}(o,e,i||this.locale,r)},t}();function pu(t){return t instanceof Date&&!isNaN(t.valueOf())}var fu=/^(\d+)?\.((\d+)(-(\d+))?)?$/;function du(t){var n=parseInt(t);if(isNaN(n))throw new Error("Invalid integer literal when parsing "+t);return n}var yu=function(){function t(t){this._locale=t}return t.prototype.transform=function(n,e,r){if(function(t){return null==t||""===t||t!=t}(n))return null;var i=function(t,n,e,r,i){void 0===i&&(i=null);var o,l={str:null},u=function(t,n){return Vl(t)[14][n]}(n,e);if("string"!=typeof t||isNaN(+t-parseFloat(t))){if("number"!=typeof t)return l.error=t+" is not a number",l;o=t}else o=+t;var s=function(t,n){void 0===n&&(n="-");var e={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},r=t.split(";"),i=r[0],o=r[1],l=-1!==i.indexOf(".")?i.split("."):[i.substring(0,i.lastIndexOf("0")+1),i.substring(i.lastIndexOf("0")+1)],u=l[0],s=l[1]||"";e.posPre=u.substr(0,u.indexOf("#"));for(var a=0;a-1&&(l=l.replace(".","")),(r=l.search(/e/i))>0?(e<0&&(e=r),e+=+l.slice(r+1),l=l.substring(0,r)):e<0&&(e=l.length),r=0;"0"===l.charAt(r);r++);if(r===(o=l.length))n=[0],e=1;else{for(o--;"0"===l.charAt(o);)o--;for(e-=r,n=[],i=0;r<=o;r++,i++)n[i]=+l.charAt(r)}return e>22&&(n=n.splice(0,21),u=e-1,e=1),{digits:n,exponent:u,integerLen:e}}(o);e===Ol.Percent&&(h=function(t){if(0===t.digits[0])return t;var n=t.digits.length-t.integerLen;return t.exponent?t.exponent+=2:(0===n?t.digits.push(0,0):1===n&&t.digits.push(0),t.integerLen+=2),t}(h));var p=s.minInt,f=s.minFrac,d=s.maxFrac;if(r){var y=r.match(fu);if(null===y)return l.error=r+" is not a valid digit info",l;var g=y[1],m=y[3],v=y[5];null!=g&&(p=du(g)),null!=m&&(f=du(m)),null!=v?d=du(v):null!=m&&f>d&&(d=f)}!function(t,n,e){if(n>e)throw new Error("The minimum number of digits after fraction ("+n+") is higher than the maximum ("+e+").");var r=t.digits,i=r.length-t.integerLen,o=Math.min(Math.max(n,i),e),l=o+t.integerLen,u=r[l];if(l>0){r.splice(Math.max(t.integerLen,l));for(var s=l;s=5)if(l-1<0){for(var c=0;c>l;c--)r.unshift(0),t.integerLen++;r.unshift(1),t.integerLen++}else r[l-1]++;for(;i=p?r.pop():h=!1),n>=10?1:0},0);f&&(r.unshift(f),t.integerLen++)}(h,f,d);var b=h.digits,_=h.integerLen,w=h.exponent,x=[];for(c=b.every(function(t){return!t});_0?x=b.splice(_,b.length):(x=b,b=[0]);var C=[];for(b.length>=s.lgSize&&C.unshift(b.splice(-s.lgSize,b.length).join(""));b.length>s.gSize;)C.unshift(b.splice(-s.gSize,b.length).join(""));b.length&&C.unshift(b.join("")),a=C.join(jl(n,i?Il.CurrencyGroup:Il.Group)),x.length&&(a+=jl(n,i?Il.CurrencyDecimal:Il.Decimal)+x.join("")),w&&(a+=jl(n,Il.Exponential)+"+"+w)}else a=jl(n,Il.Infinity);return a=o<0&&!c?s.negPre+a+s.negSuf:s.posPre+a+s.posSuf,e===Ol.Currency&&null!==i?(l.str=a.replace("\xa4",i).replace("\xa4",""),l):e===Ol.Percent?(l.str=a.replace(new RegExp("%","g"),jl(n,Il.PercentSign)),l):(l.str=a,l)}(n,r=r||this._locale,Ol.Decimal,e),o=i.str,l=i.error;if(l)throw au(t,l);return o},t}(),gu=function(){},mu=new ut("DocumentToken"),vu=function(t){function n(n){t.call(this),this._value=n}return Object(i.__extends)(n,t),Object.defineProperty(n.prototype,"value",{get:function(){return this.getValue()},enumerable:!0,configurable:!0}),n.prototype._subscribe=function(n){var e=t.prototype._subscribe.call(this,n);return e&&!e.closed&&n.next(this._value),e},n.prototype.getValue=function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new K;return this._value},n.prototype.next=function(n){t.prototype.next.call(this,this._value=n)},n}(Q),bu=A.of;function _u(t,n){return F(t,n,1)}function wu(t,n){return _u(t,n)(this)}function xu(t,n){return function(e){if("function"!=typeof t)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return e.lift(new Cu(t,n))}}var Cu=function(){function t(t,n){this.project=t,this.thisArg=n}return t.prototype.call=function(t,n){return n.subscribe(new Su(t,this.project,this.thisArg))},t}(),Su=function(t){function n(n,e,r){t.call(this,n),this.project=e,this.count=0,this.thisArg=r||this}return Object(i.__extends)(n,t),n.prototype._next=function(t){var n;try{n=this.project.call(this.thisArg,t,this.count++)}catch(t){return void this.destination.error(t)}this.destination.next(n)},n}(x);function Ou(t,n){return xu(t,n)(this)}function Eu(t,n,e){return void 0===e&&(e=Number.POSITIVE_INFINITY),F(t,n,e)(this)}var ku=function(t){function n(n,e){t.call(this),this.promise=n,this.scheduler=e}return Object(i.__extends)(n,t),n.create=function(t,e){return new n(t,e)},n.prototype._subscribe=function(t){var n=this,e=this.promise,r=this.scheduler;if(null==r)this._isScalar?t.closed||(t.next(this.value),t.complete()):e.then(function(e){n.value=e,n._isScalar=!0,t.closed||(t.next(e),t.complete())},function(n){t.closed||t.error(n)}).then(null,function(t){s.setTimeout(function(){throw t})});else if(this._isScalar){if(!t.closed)return r.schedule(Tu,0,{value:this.value,subscriber:t})}else e.then(function(e){n.value=e,n._isScalar=!0,t.closed||t.add(r.schedule(Tu,0,{value:e,subscriber:t}))},function(n){t.closed||t.add(r.schedule(Pu,0,{err:n,subscriber:t}))}).then(null,function(t){s.setTimeout(function(){throw t})})},n}(T);function Tu(t){var n=t.subscriber;n.closed||(n.next(t.value),n.complete())}function Pu(t){var n=t.subscriber;n.closed||n.error(t.err)}var Iu=function(t){function n(n,e){if(t.call(this),this.scheduler=e,null==n)throw new Error("iterator cannot be null.");this.iterator=function(t){var n=t[R];if(!n&&"string"==typeof t)return new Mu(t);if(!n&&void 0!==t.length)return new Au(t);if(!n)throw new TypeError("object is not iterable");return t[R]()}(n)}return Object(i.__extends)(n,t),n.create=function(t,e){return new n(t,e)},n.dispatch=function(t){var n=t.index,e=t.iterator,r=t.subscriber;if(t.hasError)r.error(t.error);else{var i=e.next();i.done?r.complete():(r.next(i.value),t.index=n+1,r.closed?"function"==typeof e.return&&e.return():this.schedule(t))}},n.prototype._subscribe=function(t){var e=this.iterator,r=this.scheduler;if(r)return r.schedule(n.dispatch,0,{index:0,iterator:e,subscriber:t});for(;;){var i=e.next();if(i.done){t.complete();break}if(t.next(i.value),t.closed){"function"==typeof e.return&&e.return();break}}},n}(T),Mu=function(){function t(t,n,e){void 0===n&&(n=0),void 0===e&&(e=t.length),this.str=t,this.idx=n,this.len=e}return t.prototype[R]=function(){return this},t.prototype.next=function(){return this.idxNu?Nu:i:i}()),this.arr=t,this.idx=n,this.len=e}return t.prototype[R]=function(){return this},t.prototype.next=function(){return this.idx=t.length?r.complete():(r.next(n[e]),t.index=e+1,this.schedule(t)))},n.prototype._subscribe=function(t){var e=this.arrayLike,r=this.scheduler,i=e.length;if(r)return r.schedule(n.dispatch,0,{arrayLike:e,index:0,length:i,subscriber:t});for(var o=0;o=2&&(e=!0),function(r){return r.lift(new cs(t,n,e))}}var cs=function(){function t(t,n,e){void 0===e&&(e=!1),this.accumulator=t,this.seed=n,this.hasSeed=e}return t.prototype.call=function(t,n){return n.subscribe(new hs(t,this.accumulator,this.seed,this.hasSeed))},t}(),hs=function(t){function n(n,e,r,i){t.call(this,n),this.accumulator=e,this._seed=r,this.hasSeed=i,this.index=0}return Object(i.__extends)(n,t),Object.defineProperty(n.prototype,"seed",{get:function(){return this._seed},set:function(t){this.hasSeed=!0,this._seed=t},enumerable:!0,configurable:!0}),n.prototype._next=function(t){if(this.hasSeed)return this._tryNext(t);this.seed=t,this.destination.next(t)},n.prototype._tryNext=function(t){var n,e=this.index++;try{n=this.accumulator(this.seed,t,e)}catch(t){this.destination.error(t)}this.seed=n,this.destination.next(n)},n}(x),ps=function(t){function n(){var n=t.call(this,"argument out of range");this.name=n.name="ArgumentOutOfRangeError",this.stack=n.stack,this.message=n.message}return Object(i.__extends)(n,t),n}(Error);function fs(t){return function(n){return 0===t?new I:n.lift(new ds(t))}}var ds=function(){function t(t){if(this.total=t,this.total<0)throw new ps}return t.prototype.call=function(t,n){return n.subscribe(new ys(t,this.total))},t}(),ys=function(t){function n(n,e){t.call(this,n),this.total=e,this.ring=new Array,this.count=0}return Object(i.__extends)(n,t),n.prototype._next=function(t){var n=this.ring,e=this.total,r=this.count++;n.length0)for(var e=this.count>=this.total?this.total:this.count,r=this.ring,i=0;i=2?function(e){return E(as(t,n),fs(1),gs(n))(e)}:function(n){return E(as(function(n,e,r){return t(n,e,r+1)}),fs(1))(n)}}function _s(t,n){return arguments.length>=2?bs(t,n)(this):bs(t)(this)}var ws=null;function xs(){return ws}var Cs,Ss={class:"className",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"},Os={"\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"},Es={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"};Tt.Node&&(Cs=Tt.Node.prototype.contains||function(t){return!!(16&this.compareDocumentPosition(t))});var ks,Ts=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return Object(i.__extends)(n,t),n.prototype.parse=function(t){throw new Error("parse not implemented")},n.makeCurrent=function(){var t;t=new n,ws||(ws=t)},n.prototype.hasProperty=function(t,n){return n in t},n.prototype.setProperty=function(t,n,e){t[n]=e},n.prototype.getProperty=function(t,n){return t[n]},n.prototype.invoke=function(t,n,e){var r;(r=t)[n].apply(r,e)},n.prototype.logError=function(t){window.console&&(console.error?console.error(t):console.log(t))},n.prototype.log=function(t){window.console&&window.console.log&&window.console.log(t)},n.prototype.logGroup=function(t){window.console&&window.console.group&&window.console.group(t)},n.prototype.logGroupEnd=function(){window.console&&window.console.groupEnd&&window.console.groupEnd()},Object.defineProperty(n.prototype,"attrToPropMap",{get:function(){return Ss},enumerable:!0,configurable:!0}),n.prototype.contains=function(t,n){return Cs.call(t,n)},n.prototype.querySelector=function(t,n){return t.querySelector(n)},n.prototype.querySelectorAll=function(t,n){return t.querySelectorAll(n)},n.prototype.on=function(t,n,e){t.addEventListener(n,e,!1)},n.prototype.onAndCancel=function(t,n,e){return t.addEventListener(n,e,!1),function(){t.removeEventListener(n,e,!1)}},n.prototype.dispatchEvent=function(t,n){t.dispatchEvent(n)},n.prototype.createMouseEvent=function(t){var n=this.getDefaultDocument().createEvent("MouseEvent");return n.initEvent(t,!0,!0),n},n.prototype.createEvent=function(t){var n=this.getDefaultDocument().createEvent("Event");return n.initEvent(t,!0,!0),n},n.prototype.preventDefault=function(t){t.preventDefault(),t.returnValue=!1},n.prototype.isPrevented=function(t){return t.defaultPrevented||null!=t.returnValue&&!t.returnValue},n.prototype.getInnerHTML=function(t){return t.innerHTML},n.prototype.getTemplateContent=function(t){return"content"in t&&this.isTemplateElement(t)?t.content:null},n.prototype.getOuterHTML=function(t){return t.outerHTML},n.prototype.nodeName=function(t){return t.nodeName},n.prototype.nodeValue=function(t){return t.nodeValue},n.prototype.type=function(t){return t.type},n.prototype.content=function(t){return this.hasProperty(t,"content")?t.content:t},n.prototype.firstChild=function(t){return t.firstChild},n.prototype.nextSibling=function(t){return t.nextSibling},n.prototype.parentElement=function(t){return t.parentNode},n.prototype.childNodes=function(t){return t.childNodes},n.prototype.childNodesAsList=function(t){for(var n=t.childNodes,e=new Array(n.length),r=0;r0},n.prototype.tagName=function(t){return t.tagName},n.prototype.attributeMap=function(t){for(var n=new Map,e=t.attributes,r=0;r0;l||(l=t[o]=[]);var s=ca(n)?Zone.root:Zone.current;if(0===l.length)l.push({zone:s,handler:i});else{for(var a=!1,c=0;c-1},n}(Hs),ma=["alt","control","meta","shift"],va={alt:function(t){return t.altKey},control:function(t){return t.ctrlKey},meta:function(t){return t.metaKey},shift:function(t){return t.shiftKey}},ba=function(t){function n(n){return t.call(this,n)||this}return Object(i.__extends)(n,t),n.prototype.supports=function(t){return null!=n.parseEventName(t)},n.prototype.addEventListener=function(t,e,r){var i=n.parseEventName(e),o=n.eventCallback(i.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(function(){return xs().onAndCancel(t,i.domEventName,o)})},n.parseEventName=function(t){var e=t.toLowerCase().split("."),r=e.shift();if(0===e.length||"keydown"!==r&&"keyup"!==r)return null;var i=n._normalizeKey(e.pop()),o="";if(ma.forEach(function(t){var n=e.indexOf(t);n>-1&&(e.splice(n,1),o+=t+".")}),o+=i,0!=e.length||0===i.length)return null;var l={};return l.domEventName=r,l.fullKey=o,l},n.getEventFullKey=function(t){var n="",e=xs().getEventKey(t);return" "===(e=e.toLowerCase())?e="space":"."===e&&(e="dot"),ma.forEach(function(r){r!=e&&(0,va[r])(t)&&(n+=r+".")}),n+=e},n.eventCallback=function(t,e,r){return function(i){n.getEventFullKey(i)===t&&r.runGuarded(function(){return e(i)})}},n._normalizeKey=function(t){switch(t){case"esc":return"escape";default:return t}},n}(Hs),_a=function(){function t(t,n){this.defaultDoc=t,this.DOM=n;var e=this.DOM.createHtmlDocument();if(this.inertBodyElement=e.body,null==this.inertBodyElement){var r=this.DOM.createElement("html",e);this.inertBodyElement=this.DOM.createElement("body",e),this.DOM.appendChild(r,this.inertBodyElement),this.DOM.appendChild(e,r)}this.DOM.setInnerHTML(this.inertBodyElement,''),!this.inertBodyElement.querySelector||this.inertBodyElement.querySelector("svg")?(this.DOM.setInnerHTML(this.inertBodyElement,'

'),this.getInertBodyElement=this.inertBodyElement.querySelector&&this.inertBodyElement.querySelector("svg img")&&function(){try{return!!window.DOMParser}catch(t){return!1}}()?this.getInertBodyElement_DOMParser:this.getInertBodyElement_InertDocument):this.getInertBodyElement=this.getInertBodyElement_XHR}return t.prototype.getInertBodyElement_XHR=function(t){t=""+t+"";try{t=encodeURI(t)}catch(t){return null}var n=new XMLHttpRequest;n.responseType="document",n.open("GET","data:text/html;charset=utf-8,"+t,!1),n.send(null);var e=n.response.body;return e.removeChild(e.firstChild),e},t.prototype.getInertBodyElement_DOMParser=function(t){t=""+t+"";try{var n=(new window.DOMParser).parseFromString(t,"text/html").body;return n.removeChild(n.firstChild),n}catch(t){return null}},t.prototype.getInertBodyElement_InertDocument=function(t){var n=this.DOM.createElement("template");return"content"in n?(this.DOM.setInnerHTML(n,t),n):(this.DOM.setInnerHTML(this.inertBodyElement,t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(this.inertBodyElement),this.inertBodyElement)},t.prototype.stripCustomNsAttrs=function(t){var n=this;this.DOM.attributeMap(t).forEach(function(e,r){"xmlns:ns1"!==r&&0!==r.indexOf("ns1:")||n.DOM.removeAttribute(t,r)});for(var e=0,r=this.DOM.childNodesAsList(t);e")):this.sanitizedSomething=!0},t.prototype.endElement=function(t){var n=this.DOM.nodeName(t).toLowerCase();Ma.hasOwnProperty(n)&&!ka.hasOwnProperty(n)&&(this.buf.push(""))},t.prototype.chars=function(t){this.buf.push(Va(t))},t.prototype.checkClobberedElement=function(t,n){if(n&&this.DOM.contains(t,n))throw new Error("Failed to sanitize html because the element is clobbered: "+this.DOM.getOuterHTML(t));return n},t}(),Da=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,La=/([^\#-~ |!])/g;function Va(t){return t.replace(/&/g,"&").replace(Da,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(La,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}var Fa=new RegExp("^([-,.\"'%_!# a-zA-Z0-9]+|(?:(?:matrix|translate|scale|rotate|skew|perspective)(?:X|Y|3d)?|(?:rgb|hsl)a?|(?:repeating-)?(?:linear|radial)-gradient|(?:calc|attr))\\([-0-9.%, #a-zA-Z]+\\))$","g"),Ba=/^url\(([^)]+)\)$/,Ua=function(){},za=function(t){function n(n){var e=t.call(this)||this;return e._doc=n,e}return Object(i.__extends)(n,t),n.prototype.sanitize=function(t,n){if(null==n)return null;switch(t){case Ze.NONE:return n;case Ze.HTML:return n instanceof qa?n.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(n,"HTML"),function(t,n){var e=xs(),r=null;try{Ea=Ea||new _a(t,e);var i=n?String(n):"";r=Ea.getInertBodyElement(i);var o=5,l=i;do{if(0===o)throw new Error("Failed to sanitize html because the input is unstable");o--,i=l,l=e.getInnerHTML(r),r=Ea.getInertBodyElement(i)}while(i!==l);var u=new Ra,s=u.sanitizeChildren(e.getTemplateContent(r)||r);return Xn()&&u.sanitizedSomething&&e.log("WARNING: sanitizing HTML stripped some content (see http://g.co/ng/security#xss)."),s}finally{if(r)for(var a=e.getTemplateContent(r)||r,c=0,h=e.childNodesAsList(a);ct.length)return null;if("full"===e.pathMatch&&(n.hasChildren()||r.length0?t[t.length-1]:null}function Ic(t,n){for(var e in t)t.hasOwnProperty(e)&&n(t[e],e)}function Mc(t){var n=ss.call(t);return rs.call(n,function(t){return!0===t})}function Ac(t){return an(t)?t:sn(t)?Ju(Promise.resolve(t)):bu(t)}function Nc(t,n,e){return e?function(t,n){return kc(t,n)}(t.queryParams,n.queryParams)&&function t(n,e){if(!Lc(n.segments,e.segments))return!1;if(n.numberOfChildren!==e.numberOfChildren)return!1;for(var r in e.children){if(!n.children[r])return!1;if(!t(n.children[r],e.children[r]))return!1}return!0}(t.root,n.root):function(t,n){return Object.keys(n).length<=Object.keys(t).length&&Object.keys(n).every(function(e){return n[e]===t[e]})}(t.queryParams,n.queryParams)&&function t(n,e){return function n(e,r,i){if(e.segments.length>i.length)return!!Lc(l=e.segments.slice(0,i.length),i)&&!r.hasChildren();if(e.segments.length===i.length){if(!Lc(e.segments,i))return!1;for(var o in r.children){if(!e.children[o])return!1;if(!t(e.children[o],r.children[o]))return!1}return!0}var l=i.slice(0,e.segments.length),u=i.slice(e.segments.length);return!!Lc(e.segments,l)&&!!e.children[vc]&&n(e.children[vc],r,u)}(n,e,e.segments)}(t.root,n.root)}var jc=function(){function t(t,n,e){this.root=t,this.queryParams=n,this.fragment=e}return Object.defineProperty(t.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=_c(this.queryParams)),this._queryParamMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return Uc.serialize(this)},t}(),Rc=function(){function t(t,n){var e=this;this.segments=t,this.children=n,this.parent=null,Ic(n,function(t,n){return t.parent=e})}return t.prototype.hasChildren=function(){return this.numberOfChildren>0},Object.defineProperty(t.prototype,"numberOfChildren",{get:function(){return Object.keys(this.children).length},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return zc(this)},t}(),Dc=function(){function t(t,n){this.path=t,this.parameters=n}return Object.defineProperty(t.prototype,"parameterMap",{get:function(){return this._parameterMap||(this._parameterMap=_c(this.parameters)),this._parameterMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return Qc(this)},t}();function Lc(t,n){return t.length===n.length&&t.every(function(t,e){return t.path===n[e].path})}function Vc(t,n){var e=[];return Ic(t.children,function(t,r){r===vc&&(e=e.concat(n(t,r)))}),Ic(t.children,function(t,r){r!==vc&&(e=e.concat(n(t,r)))}),e}var Fc=function(){},Bc=function(){function t(){}return t.prototype.parse=function(t){var n=new Jc(t);return new jc(n.parseRootSegment(),n.parseQueryParams(),n.parseFragment())},t.prototype.serialize=function(t){var n,e;return"/"+function t(n,e){if(!n.hasChildren())return zc(n);if(e){var r=n.children[vc]?t(n.children[vc],!1):"",i=[];return Ic(n.children,function(n,e){e!==vc&&i.push(e+":"+t(n,!1))}),i.length>0?r+"("+i.join("//")+")":r}var o=Vc(n,function(e,r){return r===vc?[t(n.children[vc],!1)]:[r+":"+t(e,!1)]});return zc(n)+"/("+o.join("//")+")"}(t.root,!0)+(n=t.queryParams,(e=Object.keys(n).map(function(t){var e=n[t];return Array.isArray(e)?e.map(function(n){return qc(t)+"="+qc(n)}).join("&"):qc(t)+"="+qc(e)})).length?"?"+e.join("&"):"")+("string"==typeof t.fragment?"#"+encodeURI(t.fragment):"")},t}(),Uc=new Bc;function zc(t){return t.segments.map(function(t){return Qc(t)}).join("/")}function Hc(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function qc(t){return Hc(t).replace(/%3B/gi,";")}function Kc(t){return Hc(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Gc(t){return decodeURIComponent(t)}function Wc(t){return Gc(t.replace(/\+/g,"%20"))}function Qc(t){return""+Kc(t.path)+(n=t.parameters,Object.keys(n).map(function(t){return";"+Kc(t)+"="+Kc(n[t])}).join(""));var n}var $c=/^[^\/()?;=&#]+/;function Zc(t){var n=t.match($c);return n?n[0]:""}var Yc=/^[^=?&#]+/,Xc=/^[^?&#]+/,Jc=function(){function t(t){this.url=t,this.remaining=t}return t.prototype.parseRootSegment=function(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Rc([],{}):new Rc([],this.parseChildren())},t.prototype.parseQueryParams=function(){var t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t},t.prototype.parseFragment=function(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null},t.prototype.parseChildren=function(){if(""===this.remaining)return{};this.consumeOptional("/");var t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());var n={};this.peekStartsWith("/(")&&(this.capture("/"),n=this.parseParens(!0));var e={};return this.peekStartsWith("(")&&(e=this.parseParens(!1)),(t.length>0||Object.keys(n).length>0)&&(e[vc]=new Rc(t,n)),e},t.prototype.parseSegment=function(){var t=Zc(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error("Empty path url segment cannot have parameters: '"+this.remaining+"'.");return this.capture(t),new Dc(Gc(t),this.parseMatrixParams())},t.prototype.parseMatrixParams=function(){for(var t={};this.consumeOptional(";");)this.parseParam(t);return t},t.prototype.parseParam=function(t){var n=Zc(this.remaining);if(n){this.capture(n);var e="";if(this.consumeOptional("=")){var r=Zc(this.remaining);r&&this.capture(e=r)}t[Gc(n)]=Gc(e)}},t.prototype.parseQueryParam=function(t){var n,e=(n=this.remaining.match(Yc))?n[0]:"";if(e){this.capture(e);var r="";if(this.consumeOptional("=")){var i=function(t){var n=t.match(Xc);return n?n[0]:""}(this.remaining);i&&this.capture(r=i)}var o=Wc(e),l=Wc(r);if(t.hasOwnProperty(o)){var u=t[o];Array.isArray(u)||(t[o]=u=[u]),u.push(l)}else t[o]=l}},t.prototype.parseParens=function(t){var n={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){var e=Zc(this.remaining),r=this.remaining[e.length];if("/"!==r&&")"!==r&&";"!==r)throw new Error("Cannot parse url '"+this.url+"'");var i=void 0;e.indexOf(":")>-1?(i=e.substr(0,e.indexOf(":")),this.capture(i),this.capture(":")):t&&(i=vc);var o=this.parseChildren();n[i]=1===Object.keys(o).length?o[vc]:new Rc([],o),this.consumeOptional("//")}return n},t.prototype.peekStartsWith=function(t){return this.remaining.startsWith(t)},t.prototype.consumeOptional=function(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)},t.prototype.capture=function(t){if(!this.consumeOptional(t))throw new Error('Expected "'+t+'".')},t}(),th=function(t){this.segmentGroup=t||null},nh=function(t){this.urlTree=t};function eh(t){return new T(function(n){return n.error(new th(t))})}function rh(t){return new T(function(n){return n.error(new nh(t))})}function ih(t){return new T(function(n){return n.error(new Error("Only absolute redirects can have named outlets. redirectTo: '"+t+"'"))})}var oh=function(){function t(t,n,e,r,i){this.configLoader=n,this.urlSerializer=e,this.urlTree=r,this.config=i,this.allowRedirects=!0,this.ngModule=t.get(Mn)}return t.prototype.apply=function(){var t=this,n=this.expandSegmentGroup(this.ngModule,this.config,this.urlTree.root,vc),e=Ou.call(n,function(n){return t.createUrlTree(n,t.urlTree.queryParams,t.urlTree.fragment)});return Ku.call(e,function(n){if(n instanceof nh)return t.allowRedirects=!1,t.match(n.urlTree);if(n instanceof th)throw t.noMatchError(n);throw n})},t.prototype.match=function(t){var n=this,e=this.expandSegmentGroup(this.ngModule,this.config,t.root,vc),r=Ou.call(e,function(e){return n.createUrlTree(e,t.queryParams,t.fragment)});return Ku.call(r,function(t){if(t instanceof th)throw n.noMatchError(t);throw t})},t.prototype.noMatchError=function(t){return new Error("Cannot match any routes. URL Segment: '"+t.segmentGroup+"'")},t.prototype.createUrlTree=function(t,n,e){var r,i=t.segments.length>0?new Rc([],((r={})[vc]=t,r)):t;return new jc(i,n,e)},t.prototype.expandSegmentGroup=function(t,n,e,r){return 0===e.segments.length&&e.hasChildren()?Ou.call(this.expandChildren(t,n,e),function(t){return new Rc([],t)}):this.expandSegment(t,e,n,e.segments,r,!0)},t.prototype.expandChildren=function(t,n,e){var r=this;return function(e,i){if(0===Object.keys(e).length)return bu({});var o=[],l=[],u={};Ic(e,function(e,i){var s=Ou.call(r.expandSegmentGroup(t,n,e,i),function(t){return u[i]=t});i===vc?o.push(s):l.push(s)});var s=Wu.call(bu.apply(void 0,o.concat(l))),a=us.call(s);return Ou.call(a,function(){return u})}(e.children)},t.prototype.expandSegment=function(t,n,e,r,i,o){var l=this,u=bu.apply(void 0,e),s=Ou.call(u,function(u){var s=l.expandSegmentAgainstRoute(t,n,e,u,r,i,o);return Ku.call(s,function(t){if(t instanceof th)return bu(null);throw t})}),a=Wu.call(s),c=Xu.call(a,function(t){return!!t});return Ku.call(c,function(t,e){if(t instanceof Qu||"EmptyError"===t.name){if(l.noLeftoversInUrl(n,r,i))return bu(new Rc([],{}));throw new th(n)}throw t})},t.prototype.noLeftoversInUrl=function(t,n,e){return 0===n.length&&!t.children[e]},t.prototype.expandSegmentAgainstRoute=function(t,n,e,r,i,o,l){return ah(r)!==o?eh(n):void 0===r.redirectTo?this.matchSegmentAgainstRoute(t,n,r,i):l&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,n,e,r,i,o):eh(n)},t.prototype.expandSegmentAgainstRouteUsingRedirect=function(t,n,e,r,i,o){return"**"===r.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,e,r,o):this.expandRegularSegmentAgainstRouteUsingRedirect(t,n,e,r,i,o)},t.prototype.expandWildCardWithParamsAgainstRouteUsingRedirect=function(t,n,e,r){var i=this,o=this.applyRedirectCommands([],e.redirectTo,{});return e.redirectTo.startsWith("/")?rh(o):Eu.call(this.lineralizeSegments(e,o),function(e){var o=new Rc(e,{});return i.expandSegment(t,o,n,e,r,!1)})},t.prototype.expandRegularSegmentAgainstRouteUsingRedirect=function(t,n,e,r,i,o){var l=this,u=lh(n,r,i),s=u.consumedSegments,a=u.lastChild,c=u.positionalParamSegments;if(!u.matched)return eh(n);var h=this.applyRedirectCommands(s,r.redirectTo,c);return r.redirectTo.startsWith("/")?rh(h):Eu.call(this.lineralizeSegments(r,h),function(r){return l.expandSegment(t,n,e,r.concat(i.slice(a)),o,!1)})},t.prototype.matchSegmentAgainstRoute=function(t,n,e,r){var o=this;if("**"===e.path)return e.loadChildren?Ou.call(this.configLoader.load(t.injector,e),function(t){return e._loadedConfig=t,new Rc(r,{})}):bu(new Rc(r,{}));var l=lh(n,e,r),u=l.consumedSegments,s=l.lastChild;if(!l.matched)return eh(n);var a=r.slice(s),c=this.getChildConfig(t,e);return Eu.call(c,function(t){var e=t.module,r=t.routes,l=function(t,n,e,r){return e.length>0&&function(t,n,e){return r.some(function(e){return sh(t,n,e)&&ah(e)!==vc})}(t,e)?{segmentGroup:uh(new Rc(n,function(t,n){var e={};e[vc]=n;for(var r=0,i=t;r1||!r.children[vc])return ih(t.redirectTo);r=r.children[vc]}},t.prototype.applyRedirectCommands=function(t,n,e){return this.applyRedirectCreatreUrlTree(n,this.urlSerializer.parse(n),t,e)},t.prototype.applyRedirectCreatreUrlTree=function(t,n,e,r){var i=this.createSegmentGroup(t,n.root,e,r);return new jc(i,this.createQueryParams(n.queryParams,this.urlTree.queryParams),n.fragment)},t.prototype.createQueryParams=function(t,n){var e={};return Ic(t,function(t,r){if("string"==typeof t&&t.startsWith(":")){var i=t.substring(1);e[r]=n[i]}else e[r]=t}),e},t.prototype.createSegmentGroup=function(t,n,e,r){var i=this,o=this.createSegments(t,n.segments,e,r),l={};return Ic(n.children,function(n,o){l[o]=i.createSegmentGroup(t,n,e,r)}),new Rc(o,l)},t.prototype.createSegments=function(t,n,e,r){var i=this;return n.map(function(n){return n.path.startsWith(":")?i.findPosParam(t,n,r):i.findOrReturn(n,e)})},t.prototype.findPosParam=function(t,n,e){var r=e[n.path.substring(1)];if(!r)throw new Error("Cannot redirect to '"+t+"'. Cannot find '"+n.path+"'.");return r},t.prototype.findOrReturn=function(t,n){for(var e=0,r=0,i=n;r0)?{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}:{matched:!0,consumedSegments:[],lastChild:0,positionalParamSegments:{}};var r=(n.matcher||wc)(e,t,n);return r?{matched:!0,consumedSegments:r.consumed,lastChild:r.consumed.length,positionalParamSegments:r.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function uh(t){if(1===t.numberOfChildren&&t.children[vc]){var n=t.children[vc];return new Rc(t.segments.concat(n.segments),n.children)}return t}function sh(t,n,e){return(!(t.hasChildren()||n.length>0)||"full"!==e.pathMatch)&&""===e.path&&void 0!==e.redirectTo}function ah(t){return t.outlet||vc}var ch=function(){function t(t){this._root=t}return Object.defineProperty(t.prototype,"root",{get:function(){return this._root.value},enumerable:!0,configurable:!0}),t.prototype.parent=function(t){var n=this.pathFromRoot(t);return n.length>1?n[n.length-2]:null},t.prototype.children=function(t){var n=hh(t,this._root);return n?n.children.map(function(t){return t.value}):[]},t.prototype.firstChild=function(t){var n=hh(t,this._root);return n&&n.children.length>0?n.children[0].value:null},t.prototype.siblings=function(t){var n=ph(t,this._root);return n.length<2?[]:n[n.length-2].children.map(function(t){return t.value}).filter(function(n){return n!==t})},t.prototype.pathFromRoot=function(t){return ph(t,this._root).map(function(t){return t.value})},t}();function hh(t,n){if(t===n.value)return n;for(var e=0,r=n.children;e=1;){var o=e[r],l=e[r-1];if(o.routeConfig&&""===o.routeConfig.path)r--;else{if(l.component)break;r--}}return function(t){return t.reduce(function(t,n){return{params:Object(i.__assign)({},t.params,n.params),data:Object(i.__assign)({},t.data,n.data),resolve:Object(i.__assign)({},t.resolve,n._resolvedData)}},{params:{},data:{},resolve:{}})}(e.slice(r))}var bh=function(){function t(t,n,e,r,i,o,l,u,s,a,c){this.url=t,this.params=n,this.queryParams=e,this.fragment=r,this.data=i,this.outlet=o,this.component=l,this.routeConfig=u,this._urlSegment=s,this._lastPathIndex=a,this._resolve=c}return Object.defineProperty(t.prototype,"root",{get:function(){return this._routerState.root},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parent",{get:function(){return this._routerState.parent(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"firstChild",{get:function(){return this._routerState.firstChild(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"children",{get:function(){return this._routerState.children(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pathFromRoot",{get:function(){return this._routerState.pathFromRoot(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"paramMap",{get:function(){return this._paramMap||(this._paramMap=_c(this.params)),this._paramMap},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=_c(this.queryParams)),this._queryParamMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return"Route(url:'"+this.url.map(function(t){return t.toString()}).join("/")+"', path:'"+(this.routeConfig?this.routeConfig.path:"")+"')"},t}(),_h=function(t){function n(n,e){var r=t.call(this,e)||this;return r.url=n,wh(r,e),r}return Object(i.__extends)(n,t),n.prototype.toString=function(){return xh(this._root)},n}(ch);function wh(t,n){n.value._routerState=t,n.children.forEach(function(n){return wh(t,n)})}function xh(t){var n=t.children.length>0?" { "+t.children.map(xh).join(", ")+" } ":"";return""+t.value+n}function Ch(t){if(t.snapshot){var n=t.snapshot,e=t._futureSnapshot;t.snapshot=e,kc(n.queryParams,e.queryParams)||t.queryParams.next(e.queryParams),n.fragment!==e.fragment&&t.fragment.next(e.fragment),kc(n.params,e.params)||t.params.next(e.params),function(t,n){if(t.length!==n.length)return!1;for(var e=0;e0&&Oh(e[0]))throw new Error("Root segment cannot have matrix parameters");var r=e.find(function(t){return"object"==typeof t&&null!=t&&t.outlets});if(r&&r!==Pc(e))throw new Error("{outlets:{}} has to be the last command")}return t.prototype.toRoot=function(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]},t}(),Th=function(t,n,e){this.segmentGroup=t,this.processChildren=n,this.index=e};function Ph(t){return"object"==typeof t&&null!=t&&t.outlets?t.outlets[vc]:""+t}function Ih(t,n,e){if(t||(t=new Rc([],{})),0===t.segments.length&&t.hasChildren())return Mh(t,n,e);var r=function(t,n,e){for(var r=0,i=n,o={match:!1,pathIndex:0,commandIndex:0};i=e.length)return o;var l=t.segments[i],u=Ph(e[r]),s=r0&&void 0===u)break;if(u&&s&&"object"==typeof s&&void 0===s.outlets){if(!Rh(u,s,l))return o;r+=2}else{if(!Rh(u,{},l))return o;r++}i++}return{match:!0,pathIndex:i,commandIndex:r}}(t,n,e),i=e.slice(r.commandIndex);if(r.match&&r.pathIndex0?Pc(e).parameters:{};o=new bh(e,s,Object.freeze(this.urlTree.queryParams),this.urlTree.fragment,Gh(t),r,t.component,t,Uh(n),zh(n)+e.length,Wh(t))}else{var a=function(t,n,e){if(""===n.path){if("full"===n.pathMatch&&(t.hasChildren()||e.length>0))throw new Fh;return{consumedSegments:[],lastChild:0,parameters:{}}}var r=(n.matcher||wc)(e,t,n);if(!r)throw new Fh;var o={};Ic(r.posParams,function(t,n){o[n]=t.path});var l=r.consumed.length>0?Object(i.__assign)({},o,r.consumed[r.consumed.length-1].parameters):o;return{consumedSegments:r.consumed,lastChild:r.consumed.length,parameters:l}}(n,t,e);l=a.consumedSegments,u=e.slice(a.lastChild),o=new bh(l,a.parameters,Object.freeze(this.urlTree.queryParams),this.urlTree.fragment,Gh(t),r,t.component,t,Uh(n),zh(n)+l.length,Wh(t))}var c=function(t){return t.children?t.children:t.loadChildren?t._loadedConfig.routes:[]}(t),h=Hh(n,l,u,c),p=h.segmentGroup,f=h.slicedSegments;if(0===f.length&&p.hasChildren()){var d=this.processChildren(c,p);return[new fh(o,d)]}if(0===c.length&&0===f.length)return[new fh(o,[])];var y=this.processSegment(c,p,f,vc);return[new fh(o,y)]},t}();function Uh(t){for(var n=t;n._sourceSegment;)n=n._sourceSegment;return n}function zh(t){for(var n=t,e=n._segmentIndexShift?n._segmentIndexShift:0;n._sourceSegment;)e+=(n=n._sourceSegment)._segmentIndexShift?n._segmentIndexShift:0;return e-1}function Hh(t,n,e,r){if(e.length>0&&function(t,n,e){return r.some(function(e){return qh(t,n,e)&&Kh(e)!==vc})}(t,e)){var o=new Rc(n,function(t,n,e,r){var i={};i[vc]=r,r._sourceSegment=t,r._segmentIndexShift=n.length;for(var o=0,l=e;o0)||"full"!==e.pathMatch)&&""===e.path&&void 0===e.redirectTo}function Kh(t){return t.outlet||vc}function Gh(t){return t.data||{}}function Wh(t){return t.resolve||{}}var Qh=function(){},$h=function(){function t(){}return t.prototype.shouldDetach=function(t){return!1},t.prototype.store=function(t,n){},t.prototype.shouldAttach=function(t){return!1},t.prototype.retrieve=function(t){return null},t.prototype.shouldReuseRoute=function(t,n){return t.routeConfig===n.routeConfig},t}(),Zh=new ut("ROUTES"),Yh=function(){function t(t,n,e,r){this.loader=t,this.compiler=n,this.onLoadStartListener=e,this.onLoadEndListener=r}return t.prototype.load=function(t,n){var e=this;this.onLoadStartListener&&this.onLoadStartListener(n);var r=this.loadModuleFactory(n.loadChildren);return Ou.call(r,function(r){e.onLoadEndListener&&e.onLoadEndListener(n);var i=r.create(t);return new xc(Tc(i.injector.get(Zh)).map(Ec),i)})},t.prototype.loadModuleFactory=function(t){var n=this;return"string"==typeof t?Ju(this.loader.load(t)):Eu.call(Ac(t()),function(t){return t instanceof An?bu(t):Ju(n.compiler.compileModuleAsync(t))})},t}(),Xh=function(){},Jh=function(){function t(){}return t.prototype.shouldProcessUrl=function(t){return!0},t.prototype.extract=function(t){return t},t.prototype.merge=function(t,n){return t},t}();function tp(t){throw t}function np(t){return bu(null)}var ep=function(){function t(t,n,e,r,i,o,l,u){var s=this;this.rootComponentType=t,this.urlSerializer=n,this.rootContexts=e,this.location=r,this.config=u,this.navigations=new vu(null),this.navigationId=0,this.events=new Q,this.errorHandler=tp,this.navigated=!1,this.hooks={beforePreactivation:np,afterPreactivation:np},this.urlHandlingStrategy=new Jh,this.routeReuseStrategy=new $h,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.ngModule=i.get(Mn),this.resetConfig(u),this.currentUrlTree=new jc(new Rc([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.configLoader=new Yh(o,l,function(t){return s.triggerEvent(new pc(t))},function(t){return s.triggerEvent(new fc(t))}),this.routerState=gh(this.currentUrlTree,this.rootComponentType),this.processNavigations()}return t.prototype.resetRootComponentType=function(t){this.rootComponentType=t,this.routerState.root.component=this.rootComponentType},t.prototype.initialNavigation=function(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})},t.prototype.setUpLocationChangeListener=function(){var t=this;this.locationSubscription||(this.locationSubscription=this.location.subscribe(function(n){var e=t.urlSerializer.parse(n.url),r="popstate"===n.type?"popstate":"hashchange";setTimeout(function(){t.scheduleNavigation(e,r,{replaceUrl:!0})},0)}))},Object.defineProperty(t.prototype,"url",{get:function(){return this.serializeUrl(this.currentUrlTree)},enumerable:!0,configurable:!0}),t.prototype.triggerEvent=function(t){this.events.next(t)},t.prototype.resetConfig=function(t){Cc(t),this.config=t.map(Ec),this.navigated=!1},t.prototype.ngOnDestroy=function(){this.dispose()},t.prototype.dispose=function(){this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=null)},t.prototype.createUrlTree=function(t,n){void 0===n&&(n={});var e=n.relativeTo,r=n.queryParams,o=n.fragment,l=n.preserveQueryParams,u=n.queryParamsHandling,s=n.preserveFragment;Xn()&&l&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead.");var a=e||this.routerState.root,c=s?this.currentUrlTree.fragment:o,h=null;if(u)switch(u){case"merge":h=Object(i.__assign)({},this.currentUrlTree.queryParams,r);break;case"preserve":h=this.currentUrlTree.queryParams;break;default:h=r||null}else h=l?this.currentUrlTree.queryParams:r||null;return null!==h&&(h=this.removeEmptyProps(h)),function(t,n,e,r,i){if(0===e.length)return Eh(n.root,n.root,n,r,i);var o=function(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new kh(!0,0,t);var n=0,e=!1,r=t.reduce(function(t,r,i){if("object"==typeof r&&null!=r){if(r.outlets){var o={};return Ic(r.outlets,function(t,n){o[n]="string"==typeof t?t.split("/"):t}),t.concat([{outlets:o}])}if(r.segmentPath)return t.concat([r.segmentPath])}return"string"!=typeof r?t.concat([r]):0===i?(r.split("/").forEach(function(r,i){0==i&&"."===r||(0==i&&""===r?e=!0:".."===r?n++:""!=r&&t.push(r))}),t):t.concat([r])},[]);return new kh(e,n,r)}(e);if(o.toRoot())return Eh(n.root,new Rc([],{}),n,r,i);var l=function(t,e,r){if(t.isAbsolute)return new Th(n.root,!0,0);if(-1===r.snapshot._lastPathIndex)return new Th(r.snapshot._urlSegment,!0,0);var i=Oh(t.commands[0])?0:1;return function(n,e,o){for(var l=r.snapshot._urlSegment,u=r.snapshot._lastPathIndex+i,s=t.numberOfDoubleDots;s>u;){if(s-=u,!(l=l.parent))throw new Error("Invalid number of '../'");u=l.segments.length}return new Th(l,!1,u-s)}()}(o,0,t),u=l.processChildren?Mh(l.segmentGroup,l.index,o.commands):Ih(l.segmentGroup,l.index,o.commands);return Eh(l.segmentGroup,u,n,r,i)}(a,this.currentUrlTree,t,h,c)},t.prototype.navigateByUrl=function(t,n){void 0===n&&(n={skipLocationChange:!1});var e=t instanceof jc?t:this.parseUrl(t),r=this.urlHandlingStrategy.merge(e,this.rawUrlTree);return this.scheduleNavigation(r,"imperative",n)},t.prototype.navigate=function(t,n){return void 0===n&&(n={skipLocationChange:!1}),function(t){for(var n=0;n0){var r=t.slice(0,n),i=t.slice(n+1).trim();e.set(r,i)}}),e},t.prototype.append=function(t,n){var e=this.getAll(t);null===e?this.set(t,n):e.push(n)},t.prototype.delete=function(t){var n=t.toLowerCase();this._normalizedNames.delete(n),this._headers.delete(n)},t.prototype.forEach=function(t){var n=this;this._headers.forEach(function(e,r){return t(e,n._normalizedNames.get(r),n._headers)})},t.prototype.get=function(t){var n=this.getAll(t);return null===n?null:n.length>0?n[0]:null},t.prototype.has=function(t){return this._headers.has(t.toLowerCase())},t.prototype.keys=function(){return Array.from(this._normalizedNames.values())},t.prototype.set=function(t,n){Array.isArray(n)?n.length&&this._headers.set(t.toLowerCase(),[n.join(",")]):this._headers.set(t.toLowerCase(),[n]),this.mayBeSetNormalizedName(t)},t.prototype.values=function(){return Array.from(this._headers.values())},t.prototype.toJSON=function(){var t=this,n={};return this._headers.forEach(function(e,r){var i=[];e.forEach(function(t){return i.push.apply(i,t.split(","))}),n[t._normalizedNames.get(r)]=i}),n},t.prototype.getAll=function(t){return this.has(t)&&this._headers.get(t.toLowerCase())||null},t.prototype.entries=function(){throw new Error('"entries" method is not implemented on Headers class')},t.prototype.mayBeSetNormalizedName=function(t){var n=t.toLowerCase();this._normalizedNames.has(n)||this._normalizedNames.set(n,t)},t}(),Rp=function(){function t(t){void 0===t&&(t={});var n=t.body,e=t.status,r=t.headers,i=t.statusText,o=t.type,l=t.url;this.body=null!=n?n:null,this.status=null!=e?e:null,this.headers=null!=r?r:null,this.statusText=null!=i?i:null,this.type=null!=o?o:null,this.url=null!=l?l:null}return t.prototype.merge=function(n){return new t({body:n&&null!=n.body?n.body:this.body,status:n&&null!=n.status?n.status:this.status,headers:n&&null!=n.headers?n.headers:this.headers,statusText:n&&null!=n.statusText?n.statusText:this.statusText,type:n&&null!=n.type?n.type:this.type,url:n&&null!=n.url?n.url:this.url})},t}(),Dp=function(t){function n(){return t.call(this,{status:200,statusText:"Ok",type:Mp.Default,headers:new jp})||this}return Object(i.__extends)(n,t),n}(Rp),Lp=function(){};function Vp(t){if("string"!=typeof t)return t;switch(t.toUpperCase()){case"GET":return Ip.Get;case"POST":return Ip.Post;case"PUT":return Ip.Put;case"DELETE":return Ip.Delete;case"OPTIONS":return Ip.Options;case"HEAD":return Ip.Head;case"PATCH":return Ip.Patch}throw new Error('Invalid request method. The method "'+t+'" is not supported.')}var Fp=function(t){return t>=200&&t<300},Bp=function(){function t(){}return t.prototype.encodeKey=function(t){return Up(t)},t.prototype.encodeValue=function(t){return Up(t)},t}();function Up(t){return encodeURIComponent(t).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 zp=function(){function t(t,n){void 0===t&&(t=""),void 0===n&&(n=new Bp),this.rawParams=t,this.queryEncoder=n,this.paramsMap=function(t){void 0===t&&(t="");var n=new Map;return t.length>0&&t.split("&").forEach(function(t){var e=t.indexOf("="),r=-1==e?[t,""]:[t.slice(0,e),t.slice(e+1)],i=r[0],o=r[1],l=n.get(i)||[];l.push(o),n.set(i,l)}),n}(t)}return t.prototype.clone=function(){var n=new t("",this.queryEncoder);return n.appendAll(this),n},t.prototype.has=function(t){return this.paramsMap.has(t)},t.prototype.get=function(t){var n=this.paramsMap.get(t);return Array.isArray(n)?n[0]:null},t.prototype.getAll=function(t){return this.paramsMap.get(t)||[]},t.prototype.set=function(t,n){if(void 0!==n&&null!==n){var e=this.paramsMap.get(t)||[];e.length=0,e.push(n),this.paramsMap.set(t,e)}else this.delete(t)},t.prototype.setAll=function(t){var n=this;t.paramsMap.forEach(function(t,e){var r=n.paramsMap.get(e)||[];r.length=0,r.push(t[0]),n.paramsMap.set(e,r)})},t.prototype.append=function(t,n){if(void 0!==n&&null!==n){var e=this.paramsMap.get(t)||[];e.push(n),this.paramsMap.set(t,e)}},t.prototype.appendAll=function(t){var n=this;t.paramsMap.forEach(function(t,e){for(var r=n.paramsMap.get(e)||[],i=0;i=200&&e.status<=299,e.statusText=n.statusText,e.headers=n.headers,e.type=n.type,e.url=n.url,e}return Object(i.__extends)(n,t),n.prototype.toString=function(){return"Response with status: "+this.status+" "+this.statusText+" for URL: "+this.url},n}(Hp),Kp=/^\)\]\}',?\n/,Gp=function(){function t(t,n,e){var r=this;this.request=t,this.response=new T(function(i){var o=n.build();o.open(Ip[t.method].toUpperCase(),t.url),null!=t.withCredentials&&(o.withCredentials=t.withCredentials);var l=function(){var n=1223===o.status?204:o.status,r=null;204!==n&&"string"==typeof(r=void 0===o.response?o.responseText:o.response)&&(r=r.replace(Kp,"")),0===n&&(n=r?200:0);var l,u=jp.fromResponseHeaderString(o.getAllResponseHeaders()),s=("responseURL"in(l=o)?l.responseURL:/^X-Request-URL:/m.test(l.getAllResponseHeaders())?l.getResponseHeader("X-Request-URL"):null)||t.url,a=new Rp({body:r,status:n,headers:u,statusText:o.statusText||"OK",url:s});null!=e&&(a=e.merge(a));var c=new qp(a);if(c.ok=Fp(n),c.ok)return i.next(c),void i.complete();i.error(c)},u=function(t){var n=new Rp({body:t,type:Mp.Error,status:o.status,statusText:o.statusText});null!=e&&(n=e.merge(n)),i.error(new qp(n))};if(r.setDetectedContentType(t,o),null==t.headers&&(t.headers=new jp),t.headers.has("Accept")||t.headers.append("Accept","application/json, text/plain, */*"),t.headers.forEach(function(t,n){return o.setRequestHeader(n,t.join(","))}),null!=t.responseType&&null!=o.responseType)switch(t.responseType){case Np.ArrayBuffer:o.responseType="arraybuffer";break;case Np.Json:o.responseType="json";break;case Np.Text:o.responseType="text";break;case Np.Blob:o.responseType="blob";break;default:throw new Error("The selected responseType is not supported")}return o.addEventListener("load",l),o.addEventListener("error",u),o.send(r.request.getBody()),function(){o.removeEventListener("load",l),o.removeEventListener("error",u),o.abort()}})}return t.prototype.setDetectedContentType=function(t,n){if(null==t.headers||null==t.headers.get("Content-Type"))switch(t.contentType){case Ap.NONE:break;case Ap.JSON:n.setRequestHeader("content-type","application/json");break;case Ap.FORM:n.setRequestHeader("content-type","application/x-www-form-urlencoded;charset=UTF-8");break;case Ap.TEXT:n.setRequestHeader("content-type","text/plain");break;case Ap.BLOB:var e=t.blob();e.type&&n.setRequestHeader("content-type",e.type)}},t}(),Wp=function(){function t(t,n){void 0===t&&(t="XSRF-TOKEN"),void 0===n&&(n="X-XSRF-TOKEN"),this._cookieName=t,this._headerName=n}return t.prototype.configureRequest=function(t){var n=xs().getCookie(this._cookieName);n&&t.headers.set(this._headerName,n)},t}(),Qp=function(){function t(t,n,e){this._browserXHR=t,this._baseResponseOptions=n,this._xsrfStrategy=e}return t.prototype.createConnection=function(t){return this._xsrfStrategy.configureRequest(t),new Gp(t,this._browserXHR,this._baseResponseOptions)},t}(),$p=function(){function t(t){void 0===t&&(t={});var n=t.method,e=t.headers,r=t.body,i=t.url,o=t.search,l=t.params,u=t.withCredentials,s=t.responseType;this.method=null!=n?Vp(n):null,this.headers=null!=e?e:null,this.body=null!=r?r:null,this.url=null!=i?i:null,this.params=this._mergeSearchParams(l||o),this.withCredentials=null!=u?u:null,this.responseType=null!=s?s:null}return Object.defineProperty(t.prototype,"search",{get:function(){return this.params},set:function(t){this.params=t},enumerable:!0,configurable:!0}),t.prototype.merge=function(n){return new t({method:n&&null!=n.method?n.method:this.method,headers:n&&null!=n.headers?n.headers:new jp(this.headers),body:n&&null!=n.body?n.body:this.body,url:n&&null!=n.url?n.url:this.url,params:n&&this._mergeSearchParams(n.params||n.search),withCredentials:n&&null!=n.withCredentials?n.withCredentials:this.withCredentials,responseType:n&&null!=n.responseType?n.responseType:this.responseType})},t.prototype._mergeSearchParams=function(t){return t?t instanceof zp?t.clone():"string"==typeof t?new zp(t):this._parseParams(t):this.params},t.prototype._parseParams=function(t){var n=this;void 0===t&&(t={});var e=new zp;return Object.keys(t).forEach(function(r){var i=t[r];Array.isArray(i)?i.forEach(function(t){return n._appendParam(r,t,e)}):n._appendParam(r,i,e)}),e},t.prototype._appendParam=function(t,n,e){"string"!=typeof n&&(n=JSON.stringify(n)),e.append(t,n)},t}(),Zp=function(t){function n(){return t.call(this,{method:Ip.Get,headers:new jp})||this}return Object(i.__extends)(n,t),n}($p),Yp=function(t){function n(n){var e=t.call(this)||this,r=n.url;e.url=n.url;var i,o=n.params||n.search;if(o&&(i="object"!=typeof o||o instanceof zp?o.toString():function(t){var n=new zp;return Object.keys(t).forEach(function(e){var r=t[e];r&&Array.isArray(r)?r.forEach(function(t){return n.append(e,t.toString())}):n.append(e,r.toString())}),n}(o).toString()).length>0){var l="?";-1!=e.url.indexOf("?")&&(l="&"==e.url[e.url.length-1]?"":"&"),e.url=r+l+i}return e._body=n.body,e.method=Vp(n.method),e.headers=new jp(n.headers),e.contentType=e.detectContentType(),e.withCredentials=n.withCredentials,e.responseType=n.responseType,e}return Object(i.__extends)(n,t),n.prototype.detectContentType=function(){switch(this.headers.get("content-type")){case"application/json":return Ap.JSON;case"application/x-www-form-urlencoded":return Ap.FORM;case"multipart/form-data":return Ap.FORM_DATA;case"text/plain":case"text/html":return Ap.TEXT;case"application/octet-stream":return this._body instanceof ef?Ap.ARRAY_BUFFER:Ap.BLOB;default:return this.detectContentTypeFromBody()}},n.prototype.detectContentTypeFromBody=function(){return null==this._body?Ap.NONE:this._body instanceof zp?Ap.FORM:this._body instanceof tf?Ap.FORM_DATA:this._body instanceof nf?Ap.BLOB:this._body instanceof ef?Ap.ARRAY_BUFFER:this._body&&"object"==typeof this._body?Ap.JSON:Ap.TEXT},n.prototype.getBody=function(){switch(this.contentType){case Ap.JSON:case Ap.FORM:return this.text();case Ap.FORM_DATA:return this._body;case Ap.TEXT:return this.text();case Ap.BLOB:return this.blob();case Ap.ARRAY_BUFFER:return this.arrayBuffer();default:return null}},n}(Hp),Xp=function(){},Jp="object"==typeof window?window:Xp,tf=Jp.FormData||Xp,nf=Jp.Blob||Xp,ef=Jp.ArrayBuffer||Xp;function rf(t,n){return t.createConnection(n).response}function of(t,n,e,r){return t.merge(new $p(n?{method:n.method||e,url:n.url||r,search:n.search,params:n.params,headers:n.headers,body:n.body,withCredentials:n.withCredentials,responseType:n.responseType}:{method:e,url:r}))}var lf=function(){function t(t,n){this._backend=t,this._defaultOptions=n}return t.prototype.request=function(t,n){var e;if("string"==typeof t)e=rf(this._backend,new Yp(of(this._defaultOptions,n,Ip.Get,t)));else{if(!(t instanceof Yp))throw new Error("First argument must be a url string or Request instance.");e=rf(this._backend,t)}return e},t.prototype.get=function(t,n){return this.request(new Yp(of(this._defaultOptions,n,Ip.Get,t)))},t.prototype.post=function(t,n,e){return this.request(new Yp(of(this._defaultOptions.merge(new $p({body:n})),e,Ip.Post,t)))},t.prototype.put=function(t,n,e){return this.request(new Yp(of(this._defaultOptions.merge(new $p({body:n})),e,Ip.Put,t)))},t.prototype.delete=function(t,n){return this.request(new Yp(of(this._defaultOptions,n,Ip.Delete,t)))},t.prototype.patch=function(t,n,e){return this.request(new Yp(of(this._defaultOptions.merge(new $p({body:n})),e,Ip.Patch,t)))},t.prototype.head=function(t,n){return this.request(new Yp(of(this._defaultOptions,n,Ip.Head,t)))},t.prototype.options=function(t,n){return this.request(new Yp(of(this._defaultOptions,n,Ip.Options,t)))},t}();function uf(){return new Wp}function sf(t,n){return new lf(t,n)}var af=function(){};T.throw=function(t){function n(n,e){t.call(this),this.error=n,this.scheduler=e}return Object(i.__extends)(n,t),n.create=function(t,e){return new n(t,e)},n.dispatch=function(t){t.subscriber.error(t.error)},n.prototype._subscribe=function(t){var e=this.error,r=this.scheduler;if(t.syncErrorThrowable=!0,r)return r.schedule(n.dispatch,0,{error:e,subscriber:t});t.error(e)},n}(T).create,T.prototype.map=Ou,T.prototype.catch=Ku,T.prototype._catch=Ku;var cf=function(){function t(t){this.http=t,this.url="/api/"}return t.prototype.getAddress=function(t){return this.get("address",{address:t})},t.prototype.getUnconfirmedTransactions=function(){return this.get("pendingTxs")},t.prototype.getBlock=function(t){return this.get("block",{hash:t})},t.prototype.getBlocks=function(t,n){return this.get("blocks",{start:t,end:n})},t.prototype.getBlockchainMetadata=function(){return this.get("blockchain/metadata").map(function(t){return{blocks:t.head.seq}})},t.prototype.getCoinSupply=function(){return this.get("coinSupply")},t.prototype.getCurrentBalance=function(t){return this.get("currentBalance",{addrs:t})},t.prototype.getBalance=function(t){return this.get("balance",{addrs:t})},t.prototype.getTransaction=function(t){return this.get("transaction",{txid:t})},t.prototype.getUxout=function(t){return this.get("uxout",{uxid:t})},t.prototype.getRichlist=function(){return this.get("richlist").map(function(t){return t.richlist})},t.prototype.getInputAddress=function(t){return this.get("uxout?uxid="+t)},t.prototype.get=function(t,n){return void 0===n&&(n=null),this.http.get(this.getUrl(t,n)).map(function(t){return t.json()}).catch(function(t){return T.throw(t||"Server error")})},t.prototype.getQueryString=function(t){return void 0===t&&(t=null),t?Object.keys(t).reduce(function(n,e){return n.push(e+"="+encodeURIComponent(t[e])),n},[]).join("&"):""},t.prototype.getUrl=function(t,n){return void 0===n&&(n=null),this.url+t+"?"+this.getQueryString(n)},t}();function hf(t){return{address:t.dst,coins:parseFloat(t.coins),hash:t.uxid,hours:t.hours}}function pf(t){return{id:t.header.seq,hash:t.header.block_hash,parent_hash:t.header.previous_block_hash,timestamp:t.header.timestamp,transactions:t.body.txns.map(function(t){return function(t){return{block:null,id:t.txid,timestamp:null,inputs:t.inputs.map(function(t){return{address:null,coins:null,hash:t,hours:null}}),outputs:t.outputs.map(function(t){return{address:(n=t).dst,coins:parseFloat(n.coins),hash:n.uxid,hours:n.hours};var n}),status:null,balance:null,initialBalance:null,finalBalance:null,length:t.length}}(t)}),size:t.size}}var ff=function(t){function n(n,e){t.call(this),this.sources=n,this.resultSelector=e}return Object(i.__extends)(n,t),n.create=function(){for(var t=[],e=0;e0){var e=pf(t.blocks[0]);return T.forkJoin(e.transactions.map(function(t){return n.retrieveInputsForTransaction(t)})).map(function(t){return e.transactions=t,e})}return[null]})},t.prototype.getBlocks=function(t,n){return this.api.getBlocks(t,n).map(function(t){return t.blocks.map(function(t){return pf(t)}).sort(function(t,n){return n.id-t.id})})},t.prototype.getBlockByHash=function(t){return this.api.getBlock(t).map(function(t){return pf(t)})},t.prototype.getTransactions=function(t){return this.api.getAddress(t).map(function(n){var e=0;return(n=n.sort(function(t,n){return n.timestamp-t.timestamp})).reverse().map(function(n){var r=function(t,n){for(var e=0,r=0,i=t.inputs;r0?T.forkJoin(e.map(function(n){return t.retrieveInputsForTransaction(n)})):T.of(e)})},t.prototype.getTransaction=function(t){var n=this;return this.api.getTransaction(t).map(function(t){return{block:(n=t).status.block_seq,id:n.txn.txid,inputs:n.txn.inputs.map(function(t){return{address:null,coins:null,hash:t,hours:null}}),outputs:n.txn.outputs.map(function(t){return{address:(n=t).dst,coins:parseFloat(n.coins),hash:n.uxid,hours:n.hours};var n}),status:n.status.confirmed,timestamp:n.txn.timestamp,balance:null,initialBalance:null,finalBalance:null,length:n.txn.length};var n}).flatMap(function(t){return n.retrieveInputsForTransaction(t)})},t.prototype.retrieveInputsForTransaction=function(t){var n=this;return 0!=t.inputs.length?T.forkJoin(t.inputs.map(function(t){return n.retrieveOutputById(t.hash)})).map(function(n){return t.inputs=n,t}):T.of(t)},t.prototype.retrieveOutputById=function(t){return this.api.getUxout(t).map(function(t){return{address:(n=t).owner_address,coins:n.coins/1e6,hours:n.hours,hash:n.uxid};var n})},t}();function mf(){for(var t=[],n=0;n=0;u--)(i=t[u])&&(l=(o<3?i(l):o>3?i(n,e,l):i(n,e))||l);return o>3&&l&&Object.defineProperty(n,e,l),l}([xt()],Tf);var Pf=function(t){return t&&"function"==typeof t.schedule},If="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function Mf(t,n){return t(n={exports:{}},n.exports),n.exports}var Af="undefined"!=typeof window&&window,Nf="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,jf=Af||void 0!==If&&If||Nf,Rf=jf;!function(){if(!jf)throw new Error("RxJS could not find any global context (window, self, global)")}();var Df,Lf={root:Rf},Vf={isFunction:function(t){return"function"==typeof t}},Ff={isArray:Array.isArray||function(t){return t&&"number"==typeof t.length}},Bf=function(t){return null!=t&&"object"==typeof t},Uf={errorObject:{e:{}}};function zf(){try{return Df.apply(this,arguments)}catch(t){return Uf.errorObject.e=t,Uf.errorObject}}var Hf=function(t){return Df=t,zf},qf=If&&If.__extends||function(t,n){for(var e in n)n.hasOwnProperty(e)&&(t[e]=n[e]);function r(){this.constructor=t}t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)},Kf={UnsubscriptionError:function(t){function n(n){t.call(this),this.errors=n;var e=Error.call(this,n?n.length+" errors occurred during unsubscription:\n "+n.map(function(t,n){return n+1+") "+t.toString()}).join("\n "):"");this.name=e.name="UnsubscriptionError",this.stack=e.stack,this.message=e.message}return qf(n,t),n}(Error)};function Gf(t){return t.reduce(function(t,n){return t.concat(n instanceof Kf.UnsubscriptionError?n.errors:n)},[])}var Wf={Subscription:function(){function t(t){this.closed=!1,this._parent=null,this._parents=null,this._subscriptions=null,t&&(this._unsubscribe=t)}var n;return t.prototype.unsubscribe=function(){var t,n=!1;if(!this.closed){var e=this._parent,r=this._parents,i=this._unsubscribe,o=this._subscriptions;this.closed=!0,this._parent=null,this._parents=null,this._subscriptions=null;for(var l=-1,u=r?r.length:0;e;)e.remove(this),e=++l1?new n(t,r):1===i?new ud.ScalarObservable(t[0],r):new ad.EmptyObservable(r)},n.dispatch=function(t){var n=t.array,e=t.index,r=t.subscriber;e>=t.count?r.complete():(r.next(n[e]),r.closed||(t.index=e+1,this.schedule(t)))},n.prototype._subscribe=function(t){var e=this.array,r=e.length,i=this.scheduler;if(i)return i.schedule(n.dispatch,0,{array:e,index:0,count:r,subscriber:t});for(var o=0;oCd?Cd:i:i}()),this.arr=t,this.idx=n,this.len=e}return t.prototype[vd.iterator]=function(){return this},t.prototype.next=function(){return this.idx=t.length?r.complete():(r.next(n[e]),t.index=e+1,this.schedule(t)))},n.prototype._subscribe=function(t){var e=this.arrayLike,r=this.scheduler,i=e.length;if(r)return r.schedule(n.dispatch,0,{arrayLike:e,index:0,length:i,subscriber:t});for(var o=0;o0?this._next(n.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},n}(Fd.OuterSubscriber),Hd=function(t){return t},qd=function(t){return void 0===t&&(t=Number.POSITIVE_INFINITY),function(t,n,e){return void 0===e&&(e=Number.POSITIVE_INFINITY),function(r){return"number"==typeof n&&(e=n,n=null),r.lift(new Ud(t,n,e))}}(Hd,null,t)},Kd={concat:function(){for(var t=[],n=0;n=0;u--)(i=t[u])&&(l=(o<3?i(l):o>3?i(n,e,l):i(n,e))||l);return o>3&&l&&Object.defineProperty(n,e,l),l}([xt()],Wd);var Qd=function(){},$d=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return Ef(n,t),n.prototype.compile=function(t,n){return t},n.prototype.compileTranslations=function(t,n){return t},n}(Qd);function Zd(t,n){if(t===n)return!0;if(null===t||null===n)return!1;if(t!=t&&n!=n)return!0;var e,r,i,o=typeof t;if(o==typeof n&&"object"==o){if(!Array.isArray(t)){if(Array.isArray(n))return!1;for(r in i=Object.create(null),t){if(!Zd(t[r],n[r]))return!1;i[r]=!0}for(r in n)if(!(r in i)&&void 0!==n[r])return!1;return!0}if(!Array.isArray(n))return!1;if((e=t.length)==n.length){for(r=0;r=0;u--)(i=t[u])&&(l=(o<3?i(l):o>3?i(n,e,l):i(n,e))||l);return o>3&&l&&Object.defineProperty(n,e,l),l}([xt()],$d);var Jd=function(){},ty=function(t){function n(){var n=t.apply(this,arguments)||this;return n.templateMatcher=/{{\s?([^{}\s]*)\s?}}/g,n}return Ef(n,t),n.prototype.interpolate=function(t,n){return"string"==typeof t?this.interpolateString(t,n):"function"==typeof t?this.interpolateFunction(t,n):t},n.prototype.getValue=function(t,n){var e=n.split(".");n="";do{n+=e.shift(),!Yd(t)||!Yd(t[n])||"object"!=typeof t[n]&&e.length?e.length?n+=".":t=void 0:(t=t[n],n="")}while(e.length);return t},n.prototype.interpolateFunction=function(t,n){return t(n)},n.prototype.interpolateString=function(t,n){var e=this;return n?t.replace(this.templateMatcher,function(t,r){var i=e.getValue(n,r);return Yd(i)?i:t}):t},n}(Jd);ty=function(t,n,e,r){var i,o=arguments.length,l=o<3?n:null===r?r=Object.getOwnPropertyDescriptor(n,e):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(t,n,e,r);else for(var u=t.length-1;u>=0;u--)(i=t[u])&&(l=(o<3?i(l):o>3?i(n,e,l):i(n,e))||l);return o>3&&l&&Object.defineProperty(n,e,l),l}([xt()],ty);var ny=function(){return function(){this.currentLang=this.defaultLang,this.translations={},this.langs=[],this.onTranslationChange=new Ln,this.onLangChange=new Ln,this.onDefaultLangChange=new Ln}}(),ey=e("mrSG").__metadata,ry=e("mrSG").__param,iy=new ut("USE_STORE"),oy=new ut("USE_DEFAULT_LANG"),ly=function(){function t(t,n,e,r,i,o,l){void 0===o&&(o=!0),void 0===l&&(l=!1),this.store=t,this.currentLoader=n,this.compiler=e,this.parser=r,this.missingTranslationHandler=i,this.useDefaultLang=o,this.isolate=l,this.pending=!1,this._onTranslationChange=new Ln,this._onLangChange=new Ln,this._onDefaultLangChange=new Ln,this._langs=[],this._translations={},this._translationRequests={}}return Object.defineProperty(t.prototype,"onTranslationChange",{get:function(){return this.isolate?this._onTranslationChange:this.store.onTranslationChange},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"onLangChange",{get:function(){return this.isolate?this._onLangChange:this.store.onLangChange},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"onDefaultLangChange",{get:function(){return this.isolate?this._onDefaultLangChange:this.store.onDefaultLangChange},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"defaultLang",{get:function(){return this.isolate?this._defaultLang:this.store.defaultLang},set:function(t){this.isolate?this._defaultLang=t:this.store.defaultLang=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"currentLang",{get:function(){return this.isolate?this._currentLang:this.store.currentLang},set:function(t){this.isolate?this._currentLang=t:this.store.currentLang=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"langs",{get:function(){return this.isolate?this._langs:this.store.langs},set:function(t){this.isolate?this._langs=t:this.store.langs=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"translations",{get:function(){return this.isolate?this._translations:this.store.translations},set:function(t){this.isolate?this._translations=t:this.store.translations=t},enumerable:!0,configurable:!0}),t.prototype.setDefaultLang=function(t){var n=this;if(t!==this.defaultLang){var e=this.retrieveTranslations(t);void 0!==e?(this.defaultLang||(this.defaultLang=t),e.pipe(Cf(1)).subscribe(function(e){n.changeDefaultLang(t)})):this.changeDefaultLang(t)}},t.prototype.getDefaultLang=function(){return this.defaultLang},t.prototype.use=function(t){var n=this;if(t===this.currentLang)return bu(this.translations[t]);var e=this.retrieveTranslations(t);return void 0!==e?(this.currentLang||(this.currentLang=t),e.pipe(Cf(1)).subscribe(function(e){n.changeLang(t)}),e):(this.changeLang(t),bu(this.translations[t]))},t.prototype.retrieveTranslations=function(t){var n;return void 0===this.translations[t]&&(this._translationRequests[t]=this._translationRequests[t]||this.getTranslation(t),n=this._translationRequests[t]),n},t.prototype.getTranslation=function(t){var n=this;return this.pending=!0,this.loadingTranslations=this.currentLoader.getTranslation(t).pipe(ot()),this.loadingTranslations.pipe(Cf(1)).subscribe(function(e){n.translations[t]=n.compiler.compileTranslations(e,t),n.updateLangs(),n.pending=!1},function(t){n.pending=!1}),this.loadingTranslations},t.prototype.setTranslation=function(t,n,e){void 0===e&&(e=!1),n=this.compiler.compileTranslations(n,t),this.translations[t]=e&&this.translations[t]?function t(n,e){var r=Object.assign({},n);return Xd(n)&&Xd(e)&&Object.keys(e).forEach(function(i){var o,l;Xd(e[i])?i in n?r[i]=t(n[i],e[i]):Object.assign(r,((o={})[i]=e[i],o)):Object.assign(r,((l={})[i]=e[i],l))}),r}(this.translations[t],n):n,this.updateLangs(),this.onTranslationChange.emit({lang:t,translations:this.translations[t]})},t.prototype.getLangs=function(){return this.langs},t.prototype.addLangs=function(t){var n=this;t.forEach(function(t){-1===n.langs.indexOf(t)&&n.langs.push(t)})},t.prototype.updateLangs=function(){this.addLangs(Object.keys(this.translations))},t.prototype.getParsedResult=function(t,n,e){var r;if(n instanceof Array){for(var i={},o=!1,l=0,u=n;l=0;u--)(i=t[u])&&(l=(o<3?i(l):o>3?i(n,e,l):i(n,e))||l);return o>3&&l&&Object.defineProperty(n,e,l),l}([xt(),ry(5,_t(oy)),ry(6,_t(iy)),ey("design:paramtypes",[ny,kf,Qd,Jd,Gd,Boolean,Boolean])],ly);var uy=function(t,n,e,r){var i,o=arguments.length,l=o<3?n:null===r?r=Object.getOwnPropertyDescriptor(n,e):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(t,n,e,r);else for(var u=t.length-1;u>=0;u--)(i=t[u])&&(l=(o<3?i(l):o>3?i(n,e,l):i(n,e))||l);return o>3&&l&&Object.defineProperty(n,e,l),l},sy=function(t,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,n)},ay=function(){function t(t,n,e){var r=this;this.translateService=t,this.element=n,this._ref=e,this.onTranslationChangeSub||(this.onTranslationChangeSub=this.translateService.onTranslationChange.subscribe(function(t){t.lang===r.translateService.currentLang&&r.checkNodes(!0,t.translations)})),this.onLangChangeSub||(this.onLangChangeSub=this.translateService.onLangChange.subscribe(function(t){r.checkNodes(!0,t.translations)})),this.onDefaultLangChangeSub||(this.onDefaultLangChangeSub=this.translateService.onDefaultLangChange.subscribe(function(t){r.checkNodes(!0)}))}return Object.defineProperty(t.prototype,"translate",{set:function(t){t&&(this.key=t,this.checkNodes())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"translateParams",{set:function(t){Zd(this.currentParams,t)||(this.currentParams=t,this.checkNodes(!0))},enumerable:!0,configurable:!0}),t.prototype.ngAfterViewChecked=function(){this.checkNodes()},t.prototype.checkNodes=function(t,n){void 0===t&&(t=!1);var e=this.element.nativeElement.childNodes;e.length||(this.setContent(this.element.nativeElement,this.key),e=this.element.nativeElement.childNodes);for(var r=0;r=0;u--)(i=t[u])&&(l=(o<3?i(l):o>3?i(n,e,l):i(n,e))||l);return o>3&&l&&Object.defineProperty(n,e,l),l}([xt(),gt({name:"translate",pure:!1}),function(t,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata("design:paramtypes",[ly,ve])}()],cy);var hy,py=hy=function(){function t(){}return t.forRoot=function(t){return void 0===t&&(t={}),{ngModule:hy,providers:[t.loader||{provide:kf,useClass:Tf},t.compiler||{provide:Qd,useClass:$d},t.parser||{provide:Jd,useClass:ty},t.missingTranslationHandler||{provide:Gd,useClass:Wd},ny,{provide:iy,useValue:t.isolate},{provide:oy,useValue:t.useDefaultLang},ly]}},t.forChild=function(t){return void 0===t&&(t={}),{ngModule:hy,providers:[t.loader||{provide:kf,useClass:Tf},t.compiler||{provide:Qd,useClass:$d},t.parser||{provide:Jd,useClass:ty},t.missingTranslationHandler||{provide:Gd,useClass:Wd},{provide:iy,useValue:t.isolate},{provide:oy,useValue:t.useDefaultLang},ly]}},t}(),fy=function(){function t(t,n,e,r,i){var o=this;this.api=t,this.explorer=n,this.route=e,this.router=r,this.translate=i,this.blocks=[],this.blockCount=0,this.pageIndex=0,this.pageSize=10,this.loadingCoinSupplyMsg="",this.loadingMetadataMsg="",i.get("general.loadingMsg").subscribe(function(t){o.loadingCoinSupplyMsg=o.loadingMetadataMsg=t})}return Object.defineProperty(t.prototype,"pageCount",{get:function(){return Math.ceil(this.blockCount/this.pageSize)},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){var t=this;this.api.getBlockchainMetadata().first().subscribe(function(n){t.blockCount=n.blocks,t.route.paramMap.subscribe(function(n){var e=parseInt(n.get("page"),10)-1;t.navigate(e)})},function(n){t.translate.get(["general.shortLoadingErrorMsg","general.longLoadingErrorMsg"]).subscribe(function(n){t.loadingMetadataMsg=n["general.shortLoadingErrorMsg"],t.longErrorMsg=n["general.longLoadingErrorMsg"]})}),this.api.getCoinSupply().first().subscribe(function(n){t.currentSupply=n.current_supply,t.totalSupply=n.total_supply,t.currentCoinhourSupply=n.current_coinhour_supply,t.totalCoinhourSupply=n.total_coinhour_supply},function(n){t.translate.get("general.shortLoadingErrorMsg").subscribe(function(n){t.loadingCoinSupplyMsg=n})})},t.prototype.navigate=function(t){var n=this;this.pageIndex=t;var e=this.blockCount-this.pageIndex*this.pageSize,r=e-this.pageSize+1;this.explorer.getBlocks(r>0?r:0,e>0?e:0).first().subscribe(function(t){return n.blocks=t})},t}();T.prototype.filter=nc,T.prototype.switchMap=function(t,n){return vf(t,n)(this)};var dy=function(){function t(t,n,e){var r=this;this.explorer=t,this.router=n,this.translate=e,this.loadingMsg="",e.get("general.loadingMsg").subscribe(function(t){r.loadingMsg=t})}return t.prototype.ngOnInit=function(){var t=this;this.explorer.getUnconfirmedTransactions().subscribe(function(n){if(t.transactions=n,n.length>0){var e=n.sort(function(t,n){return n.timestamp-t.timestamp});t.mostRecent=e[0].timestamp,t.leastRecent=e[e.length-1].timestamp,t.totalSize=e.map(function(t){return t.length}).reduce(function(t,n){return t+n})}},function(n){t.translate.get(["general.shortLoadingErrorMsg","general.longLoadingErrorMsg"]).subscribe(function(n){t.loadingMsg=n["general.shortLoadingErrorMsg"],t.longErrorMsg=n["general.longLoadingErrorMsg"]})})},t}(),yy=function(){function t(t,n,e,r,i){var o=this;this.explorer=t,this.route=n,this.router=e,this.translate=r,this.api=i,this.loadingMsg="",r.get("general.loadingMsg").subscribe(function(t){o.loadingMsg=t})}return t.prototype.ngOnInit=function(){var t=this;this.api.getBlockchainMetadata().first().subscribe(function(n){return t.blockCount=n.blocks});var n="";this.route.params.filter(function(t){return null!==+t.id}).switchMap(function(e){return t.explorer.getBlock(+(n=e.id))}).subscribe(function(e){null!=e?t.block=e:t.translate.get(["general.noData","blockDetails.doesNotExist"],{number:n}).subscribe(function(n){t.loadingMsg=n["general.noData"],t.longErrorMsg=n["blockDetails.doesNotExist"]})},function(e){e.status>=400&&e.status<500?t.translate.get(["general.noData","blockDetails.doesNotExist"],{number:n}).subscribe(function(n){t.loadingMsg=n["general.noData"],t.longErrorMsg=n["blockDetails.doesNotExist"]}):t.translate.get(["general.shortLoadingErrorMsg","general.longLoadingErrorMsg"]).subscribe(function(n){t.loadingMsg=n["general.shortLoadingErrorMsg"],t.longErrorMsg=n["general.longLoadingErrorMsg"]})})},t}(),gy=function(){function t(t,n,e,r){var i=this;this.explorer=t,this.route=n,this.router=e,this.translate=r,this.loadingMsg="",r.get("general.loadingMsg").subscribe(function(t){i.loadingMsg=t})}return t.prototype.ngOnInit=function(){var t=this;this.route.params.flatMap(function(n){return t.explorer.getTransaction(n.txid)}).subscribe(function(n){return t.transaction=n},function(n){n.status>=400&&n.status<500?t.translate.get(["general.noData","transactionDetail.canNotFind"]).subscribe(function(n){t.loadingMsg=n["general.noData"],t.longErrorMsg=n["transactionDetail.canNotFind"]}):t.translate.get(["general.shortLoadingErrorMsg","general.longLoadingErrorMsg"]).subscribe(function(n){t.loadingMsg=n["general.shortLoadingErrorMsg"],t.longErrorMsg=n["general.longLoadingErrorMsg"]})})},t}(),my=function(t){function n(){t.apply(this,arguments),this.value=null,this.hasNext=!1,this.hasCompleted=!1}return Object(i.__extends)(n,t),n.prototype._subscribe=function(n){return this.hasError?(n.error(this.thrownError),m.EMPTY):this.hasCompleted&&this.hasNext?(n.next(this.value),n.complete(),m.EMPTY):t.prototype._subscribe.call(this,n)},n.prototype.next=function(t){this.hasCompleted||(this.value=t,this.hasNext=!0)},n.prototype.error=function(n){this.hasCompleted||t.prototype.error.call(this,n)},n.prototype.complete=function(){this.hasCompleted=!0,this.hasNext&&t.prototype.next.call(this,this.value),t.prototype.complete.call(this)},n}(Q);function vy(t){var n=t.subject;n.next(t.value),n.complete()}function by(t){t.subject.error(t.err)}function _y(t){var n=this,e=t.source,r=t.subscriber,i=t.context,o=e.callbackFunc,l=e.args,u=e.scheduler,s=e.subject;if(!s){s=e.subject=new my;var a=function t(){for(var e=[],r=0;r=0}T.if=Ay.create;var Ry=function(t){function n(n,e){t.call(this,n,e),this.scheduler=n,this.work=e,this.pending=!1}return Object(i.__extends)(n,t),n.prototype.schedule=function(t,n){if(void 0===n&&(n=0),this.closed)return this;this.state=t,this.pending=!0;var e=this.id,r=this.scheduler;return null!=e&&(this.id=this.recycleAsyncId(r,e,n)),this.delay=n,this.id=this.id||this.requestAsyncId(r,this.id,n),this},n.prototype.requestAsyncId=function(t,n,e){return void 0===e&&(e=0),s.setInterval(t.flush.bind(t,this),e)},n.prototype.recycleAsyncId=function(t,n,e){if(void 0===e&&(e=0),null!==e&&this.delay===e&&!1===this.pending)return n;s.clearInterval(n)},n.prototype.execute=function(t,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var e=this._execute(t,n);if(e)return e;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},n.prototype._execute=function(t,n){var e=!1,r=void 0;try{this.work(t)}catch(t){e=!0,r=!!t&&t||new Error(t)}if(e)return this.unsubscribe(),r},n.prototype._unsubscribe=function(){var t=this.id,n=this.scheduler,e=n.actions,r=e.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==r&&e.splice(r,1),null!=t&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null},n}(function(t){function n(n,e){t.call(this)}return Object(i.__extends)(n,t),n.prototype.schedule=function(t,n){return void 0===n&&(n=0),this},n}(m)),Dy=function(t){function n(){t.apply(this,arguments),this.actions=[],this.active=!1,this.scheduled=void 0}return Object(i.__extends)(n,t),n.prototype.flush=function(t){var n=this.actions;if(this.active)n.push(t);else{var e;this.active=!0;do{if(e=t.execute(t.state,t.delay))break}while(t=n.shift());if(this.active=!1,e){for(;t=n.shift();)t.unsubscribe();throw e}}},n}(function(){function t(n,e){void 0===e&&(e=t.now),this.SchedulerAction=n,this.now=e}return t.prototype.schedule=function(t,n,e){return void 0===n&&(n=0),new this.SchedulerAction(this,t).schedule(e,n)},t.now=Date.now?Date.now:function(){return+new Date},t}()),Ly=new Dy(Ry);function Vy(){for(var t=[],n=0;n=t.count?r.complete():(r.next(n),r.closed||(t.index=e+1,t.start=n+1,this.schedule(t)))},n.prototype._subscribe=function(t){var e=0,r=this.start,i=this._count,o=this.scheduler;if(o)return o.schedule(n.dispatch,0,{index:e,count:i,start:r,subscriber:t});for(;;){if(e++>=i){t.complete();break}if(t.next(r++),t.closed)break}},n}(T).create;var Ky=function(t){function n(n,e){t.call(this),this.resourceFactory=n,this.observableFactory=e}return Object(i.__extends)(n,t),n.create=function(t,e){return new n(t,e)},n.prototype._subscribe=function(t){var n,e=this.resourceFactory,r=this.observableFactory;try{return n=e(),new Gy(t,n,r)}catch(n){t.error(n)}},n}(T),Gy=function(t){function n(n,e,r){t.call(this,n),this.resource=e,this.observableFactory=r,n.add(e),this.tryUse()}return Object(i.__extends)(n,t),n.prototype.tryUse=function(){try{var t=this.observableFactory.call(this,this.resource);t&&this.add(L(this,t))}catch(t){this._error(t)}},n}(V);function Wy(t){return t instanceof Date&&!isNaN(+t)}T.using=Ky.create;var Qy=function(t){function n(n,e,r){void 0===n&&(n=0),t.call(this),this.period=-1,this.dueTime=0,jy(e)?this.period=Number(e)<1?1:Number(e):M(e)&&(r=e),M(r)||(r=Ly),this.scheduler=r,this.dueTime=Wy(n)?+n-this.scheduler.now():n}return Object(i.__extends)(n,t),n.create=function(t,e,r){return void 0===t&&(t=0),new n(t,e,r)},n.dispatch=function(t){var n=t.index,e=t.period,r=t.subscriber;if(r.next(n),!r.closed){if(-1===e)return r.complete();t.index=n+1,this.schedule(t,e)}},n.prototype._subscribe=function(t){return this.scheduler.schedule(n.dispatch,this.dueTime,{index:0,period:this.period,subscriber:t})},n}(T).create;function $y(){for(var t=[],n=0;nthis.index},t.prototype.hasCompleted=function(){return this.array.length===this.index},t}(),ng=function(t){function n(n,e,r){t.call(this,n),this.parent=e,this.observable=r,this.stillUnsubscribed=!0,this.buffer=[],this.isComplete=!1}return Object(i.__extends)(n,t),n.prototype[R]=function(){return this},n.prototype.next=function(){var t=this.buffer;return 0===t.length&&this.isComplete?{value:null,done:!0}:{value:t.shift(),done:!1}},n.prototype.hasValue=function(){return this.buffer.length>0},n.prototype.hasCompleted=function(){return 0===this.buffer.length&&this.isComplete},n.prototype.notifyComplete=function(){this.buffer.length>0?(this.isComplete=!0,this.parent.notifyInactive()):this.destination.complete()},n.prototype.notifyNext=function(t,n,e,r,i){this.buffer.push(n),this.parent.checkIterators()},n.prototype.subscribe=function(t,n){return L(this,this.observable,this,n)},n}(V);function eg(t,n){return void 0===n&&(n=null),new ag({method:"GET",url:t,headers:n})}function rg(t,n,e){return new ag({method:"POST",url:t,body:n,headers:e})}function ig(t,n){return new ag({method:"DELETE",url:t,headers:n})}function og(t,n,e){return new ag({method:"PUT",url:t,body:n,headers:e})}function lg(t,n,e){return new ag({method:"PATCH",url:t,body:n,headers:e})}T.zip=Zy;var ug=xu(function(t,n){return t.response});function sg(t,n){return ug(new ag({method:"GET",url:t,responseType:"json",headers:n}))}var ag=function(t){function n(n){t.call(this);var e={async:!0,createXHR:function(){return this.crossDomain?(function(){if(s.XMLHttpRequest)return new s.XMLHttpRequest;if(s.XDomainRequest)return new s.XDomainRequest;throw new Error("CORS is not supported by your browser")}).call(this):function(){if(s.XMLHttpRequest)return new s.XMLHttpRequest;var t=void 0;try{for(var n=["Msxml2.XMLHTTP","Microsoft.XMLHTTP","Msxml2.XMLHTTP.4.0"],e=0;e<3;e++)try{if(new s.ActiveXObject(t=n[e]))break}catch(t){}return new s.ActiveXObject(t)}catch(t){throw new Error("XMLHttpRequest is not supported by your browser")}}()},crossDomain:!1,withCredentials:!1,headers:{},method:"GET",responseType:"json",timeout:0};if("string"==typeof n)e.url=n;else for(var r in n)n.hasOwnProperty(r)&&(e[r]=n[r]);this.request=e}var e;return Object(i.__extends)(n,t),n.prototype._subscribe=function(t){return new cg(t,this.request)},n.create=((e=function(t){return new n(t)}).get=eg,e.post=rg,e.delete=ig,e.put=og,e.patch=lg,e.getJSON=sg,e),n}(T),cg=function(t){function n(n,e){t.call(this,n),this.request=e,this.done=!1;var r=e.headers=e.headers||{};e.crossDomain||r["X-Requested-With"]||(r["X-Requested-With"]="XMLHttpRequest"),"Content-Type"in r||s.FormData&&e.body instanceof s.FormData||void 0===e.body||(r["Content-Type"]="application/x-www-form-urlencoded; charset=UTF-8"),e.body=this.serializeBody(e.body,e.headers["Content-Type"]),this.send()}return Object(i.__extends)(n,t),n.prototype.next=function(t){this.done=!0;var n=this.destination,e=new hg(t,this.xhr,this.request);n.next(e)},n.prototype.send=function(){var t=this.request,n=this.request,e=n.user,r=n.method,i=n.url,o=n.async,l=n.password,u=n.headers,s=n.body,a=y(t.createXHR).call(t);if(a===f)this.error(f.e);else{if(this.xhr=a,this.setupEvents(a,t),(e?y(a.open).call(a,r,i,o,e,l):y(a.open).call(a,r,i,o))===f)return this.error(f.e),null;if(o&&(a.timeout=t.timeout,a.responseType=t.responseType),"withCredentials"in a&&(a.withCredentials=!!t.withCredentials),this.setHeaders(a,u),(s?y(a.send).call(a,s):y(a.send).call(a))===f)return this.error(f.e),null}return a},n.prototype.serializeBody=function(t,n){if(!t||"string"==typeof t)return t;if(s.FormData&&t instanceof s.FormData)return t;if(n){var e=n.indexOf(";");-1!==e&&(n=n.substring(0,e))}switch(n){case"application/x-www-form-urlencoded":return Object.keys(t).map(function(n){return encodeURI(n)+"="+encodeURI(t[n])}).join("&");case"application/json":return JSON.stringify(t);default:return t}},n.prototype.setHeaders=function(t,n){for(var e in n)n.hasOwnProperty(e)&&t.setRequestHeader(e,n[e])},n.prototype.setupEvents=function(t,n){var e,r,i=n.progressSubscriber;function o(t){var n=o.subscriber,e=o.progressSubscriber,r=o.request;e&&e.error(t),n.error(new dg(this,r))}function l(t){var n=l.subscriber,e=l.progressSubscriber,r=l.request;if(4===this.readyState){var i=1223===this.status?204:this.status;0===i&&(i=("text"===this.responseType?this.response||this.responseText:this.response)?200:0),200<=i&&i<300?(e&&e.complete(),n.next(t),n.complete()):(e&&e.error(t),n.error(new pg("ajax error "+i,this,r)))}}t.ontimeout=o,o.request=n,o.subscriber=this,o.progressSubscriber=i,t.upload&&"withCredentials"in t&&(i&&(e=function(t){e.progressSubscriber.next(t)},s.XDomainRequest?t.onprogress=e:t.upload.onprogress=e,e.progressSubscriber=i),t.onerror=r=function(t){var n=r.progressSubscriber,e=r.subscriber,i=r.request;n&&n.error(t),e.error(new pg("ajax error",this,i))},r.request=n,r.subscriber=this,r.progressSubscriber=i),t.onreadystatechange=l,l.subscriber=this,l.progressSubscriber=i,l.request=n},n.prototype.unsubscribe=function(){var n=this.xhr;!this.done&&n&&4!==n.readyState&&"function"==typeof n.abort&&n.abort(),t.prototype.unsubscribe.call(this)},n}(x),hg=function(){return function(t,n,e){this.originalEvent=t,this.xhr=n,this.request=e,this.status=n.status,this.responseType=n.responseType||e.responseType,this.response=fg(this.responseType,n)}}(),pg=function(t){function n(n,e,r){t.call(this,n),this.message=n,this.xhr=e,this.request=r,this.status=e.status,this.responseType=e.responseType||r.responseType,this.response=fg(this.responseType,e)}return Object(i.__extends)(n,t),n}(Error);function fg(t,n){switch(t){case"json":return"response"in n?n.responseType?n.response:JSON.parse(n.response||n.responseText||"null"):JSON.parse(n.responseText||"null");case"xml":return n.responseXML;case"text":default:return"response"in n?n.response:n.responseText}}var dg=function(t){function n(n,e){t.call(this,"ajax timeout",n,e)}return Object(i.__extends)(n,t),n}(pg);T.ajax=ag.create;var yg=function(t){function n(n,e){t.call(this,n,e),this.scheduler=n,this.work=e}return Object(i.__extends)(n,t),n.prototype.schedule=function(n,e){return void 0===e&&(e=0),e>0?t.prototype.schedule.call(this,n,e):(this.delay=e,this.state=n,this.scheduler.flush(this),this)},n.prototype.execute=function(n,e){return e>0||this.closed?t.prototype.execute.call(this,n,e):this._execute(n,e)},n.prototype.requestAsyncId=function(n,e,r){return void 0===r&&(r=0),null!==r&&r>0||null===r&&this.delay>0?t.prototype.requestAsyncId.call(this,n,e,r):n.flush(this)},n}(Ry),gg=new(function(t){function n(){t.apply(this,arguments)}return Object(i.__extends)(n,t),n}(Dy))(yg),mg=function(t){function n(n,e,r){void 0===n&&(n=Number.POSITIVE_INFINITY),void 0===e&&(e=Number.POSITIVE_INFINITY),t.call(this),this.scheduler=r,this._events=[],this._bufferSize=n<1?1:n,this._windowTime=e<1?1:e}return Object(i.__extends)(n,t),n.prototype.next=function(n){var e=this._getNow();this._events.push(new vg(e,n)),this._trimBufferThenGetEvents(),t.prototype.next.call(this,n)},n.prototype._subscribe=function(t){var n,e=this._trimBufferThenGetEvents(),r=this.scheduler;if(this.closed)throw new K;this.hasError?n=m.EMPTY:this.isStopped?n=m.EMPTY:(this.observers.push(t),n=new G(this,t)),r&&t.add(t=new Vu(t,r));for(var i=e.length,o=0;on&&(o=Math.max(o,i-n)),o>0&&r.splice(0,o),r},n}(Q),vg=function(t,n){this.time=t,this.value=n};function bg(t){for(var n=[],e=1;e0&&this.destination.next(n),t.prototype._complete.call(this)},n}(x),kg=function(t){function n(n,e,r){t.call(this,n),this.bufferSize=e,this.startBufferEvery=r,this.buffers=[],this.count=0}return Object(i.__extends)(n,t),n.prototype._next=function(t){var n=this.bufferSize,e=this.startBufferEvery,r=this.buffers,i=this.count;this.count++,i%e==0&&r.push([]);for(var o=r.length;o--;){var l=r[o];l.push(t),l.length===n&&(r.splice(o,1),this.destination.next(l))}},n.prototype._complete=function(){for(var n=this.buffers,e=this.destination;n.length>0;){var r=n.shift();r.length>0&&e.next(r)}t.prototype._complete.call(this)},n}(x);function Tg(t){var n=arguments.length,e=Ly;M(arguments[arguments.length-1])&&(e=arguments[arguments.length-1],n--);var r=null;n>=2&&(r=arguments[1]);var i=Number.POSITIVE_INFINITY;return n>=3&&(i=arguments[2]),function(n){return n.lift(new Pg(t,r,i,e))}}T.prototype.bufferCount=function(t,n){return void 0===n&&(n=null),Sg(t,n)(this)};var Pg=function(){function t(t,n,e,r){this.bufferTimeSpan=t,this.bufferCreationInterval=n,this.maxBufferSize=e,this.scheduler=r}return t.prototype.call=function(t,n){return n.subscribe(new Ig(t,this.bufferTimeSpan,this.bufferCreationInterval,this.maxBufferSize,this.scheduler))},t}(),Ig=function(t){function n(n,e,r,i,o){t.call(this,n),this.bufferTimeSpan=e,this.bufferCreationInterval=r,this.maxBufferSize=i,this.scheduler=o,this.contexts=[];var l=this.openContext();if(this.timespanOnly=null==r||r<0,this.timespanOnly)this.add(l.closeAction=o.schedule(Mg,e,{subscriber:this,context:l,bufferTimeSpan:e}));else{var u={bufferTimeSpan:e,bufferCreationInterval:r,subscriber:this,scheduler:o};this.add(l.closeAction=o.schedule(Ng,e,{subscriber:this,context:l})),this.add(o.schedule(Ag,r,u))}}return Object(i.__extends)(n,t),n.prototype._next=function(t){for(var n,e=this.contexts,r=e.length,i=0;i0;){var r=n.shift();e.next(r.buffer)}t.prototype._complete.call(this)},n.prototype._unsubscribe=function(){this.contexts=null},n.prototype.onBufferFull=function(t){this.closeContext(t);var n=t.closeAction;if(n.unsubscribe(),this.remove(n),!this.closed&&this.timespanOnly){t=this.openContext();var e=this.bufferTimeSpan;this.add(t.closeAction=this.scheduler.schedule(Mg,e,{subscriber:this,context:t,bufferTimeSpan:e}))}},n.prototype.openContext=function(){var t=new function(){this.buffer=[]};return this.contexts.push(t),t},n.prototype.closeContext=function(t){this.destination.next(t.buffer);var n=this.contexts;(n?n.indexOf(t):-1)>=0&&n.splice(n.indexOf(t),1)},n}(x);function Mg(t){var n=t.subscriber,e=t.context;e&&n.closeContext(e),n.closed||(t.context=n.openContext(),t.context.closeAction=this.schedule(t,t.bufferTimeSpan))}function Ag(t){var n=t.bufferCreationInterval,e=t.bufferTimeSpan,r=t.subscriber,i=t.scheduler,o=r.openContext();r.closed||(r.add(o.closeAction=i.schedule(Ng,e,{subscriber:r,context:o})),this.schedule(t,n))}function Ng(t){t.subscriber.closeContext(t.context)}function jg(t,n){return function(e){return e.lift(new Rg(t,n))}}T.prototype.bufferTime=function(t){var n=arguments.length,e=Ly;M(arguments[arguments.length-1])&&(e=arguments[arguments.length-1],n--);var r=null;n>=2&&(r=arguments[1]);var i=Number.POSITIVE_INFINITY;return n>=3&&(i=arguments[2]),Tg(t,r,i,e)(this)};var Rg=function(){function t(t,n){this.openings=t,this.closingSelector=n}return t.prototype.call=function(t,n){return n.subscribe(new Dg(t,this.openings,this.closingSelector))},t}(),Dg=function(t){function n(n,e,r){t.call(this,n),this.openings=e,this.closingSelector=r,this.contexts=[],this.add(L(this,e))}return Object(i.__extends)(n,t),n.prototype._next=function(t){for(var n=this.contexts,e=n.length,r=0;r0;){var r=e.shift();r.subscription.unsubscribe(),r.buffer=null,r.subscription=null}this.contexts=null,t.prototype._error.call(this,n)},n.prototype._complete=function(){for(var n=this.contexts;n.length>0;){var e=n.shift();this.destination.next(e.buffer),e.subscription.unsubscribe(),e.buffer=null,e.subscription=null}this.contexts=null,t.prototype._complete.call(this)},n.prototype.notifyNext=function(t,n,e,r,i){t?this.closeBuffer(t):this.openBuffer(n)},n.prototype.notifyComplete=function(t){this.closeBuffer(t.context)},n.prototype.openBuffer=function(t){try{var n=this.closingSelector.call(this,t);n&&this.trySubscribe(n)}catch(t){this._error(t)}},n.prototype.closeBuffer=function(t){var n=this.contexts;if(n&&t){var e=t.subscription;this.destination.next(t.buffer),n.splice(n.indexOf(t),1),this.remove(e),e.unsubscribe()}},n.prototype.trySubscribe=function(t){var n=this.contexts,e=new m,r={buffer:[],subscription:e};n.push(r);var i=L(this,t,r);!i||i.closed?this.closeBuffer(r):(i.context=r,this.add(i),e.add(i))},n}(V);function Lg(t){return function(n){return n.lift(new Vg(t))}}T.prototype.bufferToggle=function(t,n){return jg(t,n)(this)};var Vg=function(){function t(t){this.closingSelector=t}return t.prototype.call=function(t,n){return n.subscribe(new Fg(t,this.closingSelector))},t}(),Fg=function(t){function n(n,e){t.call(this,n),this.closingSelector=e,this.subscribing=!1,this.openBuffer()}return Object(i.__extends)(n,t),n.prototype._next=function(t){this.buffer.push(t)},n.prototype._complete=function(){var n=this.buffer;n&&this.destination.next(n),t.prototype._complete.call(this)},n.prototype._unsubscribe=function(){this.buffer=null,this.subscribing=!1},n.prototype.notifyNext=function(t,n,e,r,i){this.openBuffer()},n.prototype.notifyComplete=function(){this.subscribing?this.complete():this.openBuffer()},n.prototype.openBuffer=function(){var t=this.closingSubscription;t&&(this.remove(t),t.unsubscribe()),this.buffer&&this.destination.next(this.buffer),this.buffer=[];var n=y(this.closingSelector)();n===f?this.error(f.e):(t=new m,this.closingSubscription=t,this.add(t),this.subscribing=!0,t.add(L(this,n)),this.subscribing=!1)},n}(V);function Bg(t){return function(n){return n.lift(new Oy(t))}}function Ug(){for(var t=[],n=0;n0&&e[0].time-r.now()<=0;)e.shift().notification.observe(i);if(e.length>0){var o=Math.max(0,e[0].time-r.now());this.schedule(t,o)}else this.unsubscribe(),n.active=!1},n.prototype._schedule=function(t){this.active=!0,this.add(t.schedule(n.dispatch,this.delay,{source:this,destination:this.destination,scheduler:t}))},n.prototype.scheduleNotification=function(t){if(!0!==this.errored){var n=this.scheduler,e=new om(n.now()+this.delay,t);this.queue.push(e),!1===this.active&&this._schedule(n)}},n.prototype._next=function(t){this.scheduleNotification(Ru.createNext(t))},n.prototype._error=function(t){this.errored=!0,this.queue=[],this.destination.error(t)},n.prototype._complete=function(){this.scheduleNotification(Ru.createComplete())},n}(x),om=function(t,n){this.time=t,this.notification=n};function lm(t,n){return n?function(e){return new am(e,n).lift(new um(t))}:function(n){return n.lift(new um(t))}}T.prototype.delay=function(t,n){return void 0===n&&(n=Ly),em(t,n)(this)};var um=function(){function t(t){this.delayDurationSelector=t}return t.prototype.call=function(t,n){return n.subscribe(new sm(t,this.delayDurationSelector))},t}(),sm=function(t){function n(n,e){t.call(this,n),this.delayDurationSelector=e,this.completed=!1,this.delayNotifierSubscriptions=[],this.values=[]}return Object(i.__extends)(n,t),n.prototype.notifyNext=function(t,n,e,r,i){this.destination.next(t),this.removeSubscription(i),this.tryComplete()},n.prototype.notifyError=function(t,n){this._error(t)},n.prototype.notifyComplete=function(t){var n=this.removeSubscription(t);n&&this.destination.next(n),this.tryComplete()},n.prototype._next=function(t){try{var n=this.delayDurationSelector(t);n&&this.tryDelay(n,t)}catch(t){this.destination.error(t)}},n.prototype._complete=function(){this.completed=!0,this.tryComplete()},n.prototype.removeSubscription=function(t){t.unsubscribe();var n=this.delayNotifierSubscriptions.indexOf(t),e=null;return-1!==n&&(e=this.values[n],this.delayNotifierSubscriptions.splice(n,1),this.values.splice(n,1)),e},n.prototype.tryDelay=function(t,n){var e=L(this,t,n);e&&!e.closed&&(this.add(e),this.delayNotifierSubscriptions.push(e)),this.values.push(n)},n.prototype.tryComplete=function(){this.completed&&0===this.delayNotifierSubscriptions.length&&this.destination.complete()},n}(V),am=function(t){function n(n,e){t.call(this),this.source=n,this.subscriptionDelay=e}return Object(i.__extends)(n,t),n.prototype._subscribe=function(t){this.subscriptionDelay.subscribe(new cm(t,this.source))},n}(T),cm=function(t){function n(n,e){t.call(this),this.parent=n,this.source=e,this.sourceSubscribed=!1}return Object(i.__extends)(n,t),n.prototype._next=function(t){this.subscribeToSource()},n.prototype._error=function(t){this.unsubscribe(),this.parent.error(t)},n.prototype._complete=function(){this.subscribeToSource()},n.prototype.subscribeToSource=function(){this.sourceSubscribed||(this.sourceSubscribed=!0,this.unsubscribe(),this.source.subscribe(this.parent))},n}(x);T.prototype.delayWhen=function(t,n){return lm(t,n)(this)};var hm=s.Set||function(){return function(){function t(){this._values=[]}return t.prototype.add=function(t){this.has(t)||this._values.push(t)},t.prototype.has=function(t){return-1!==this._values.indexOf(t)},Object.defineProperty(t.prototype,"size",{get:function(){return this._values.length},enumerable:!0,configurable:!0}),t.prototype.clear=function(){this._values.length=0},t}()}();function pm(t,n){return function(e){return e.lift(new fm(t,n))}}var fm=function(){function t(t,n){this.keySelector=t,this.flushes=n}return t.prototype.call=function(t,n){return n.subscribe(new dm(t,this.keySelector,this.flushes))},t}(),dm=function(t){function n(n,e,r){t.call(this,n),this.keySelector=e,this.values=new hm,r&&this.add(L(this,r))}return Object(i.__extends)(n,t),n.prototype.notifyNext=function(t,n,e,r,i){this.values.clear()},n.prototype.notifyError=function(t,n){this._error(t)},n.prototype._next=function(t){this.keySelector?this._useKeySelector(t):this._finalizeNext(t,t)},n.prototype._useKeySelector=function(t){var n,e=this.destination;try{n=this.keySelector(t)}catch(t){return void e.error(t)}this._finalizeNext(n,t)},n.prototype._finalizeNext=function(t,n){var e=this.values;e.has(t)||(e.add(t),this.destination.next(n))},n}(V);function ym(t,n){return function(e){return e.lift(new gm(t,n))}}T.prototype.distinct=function(t,n){return pm(t,n)(this)};var gm=function(){function t(t,n){this.compare=t,this.keySelector=n}return t.prototype.call=function(t,n){return n.subscribe(new mm(t,this.compare,this.keySelector))},t}(),mm=function(t){function n(n,e,r){t.call(this,n),this.keySelector=r,this.hasKey=!1,"function"==typeof e&&(this.compare=e)}return Object(i.__extends)(n,t),n.prototype.compare=function(t,n){return t===n},n.prototype._next=function(t){var n=t;if(this.keySelector&&(n=y(this.keySelector)(t))===f)return this.destination.error(f.e);var e=!1;if(this.hasKey){if((e=y(this.compare)(this.key,n))===f)return this.destination.error(f.e)}else this.hasKey=!0;!1===Boolean(e)&&(this.key=n,this.destination.next(t))},n}(x);function vm(t,n){return ym(function(e,r){return n?n(e[t],r[t]):e[t]===r[t]})}function bm(t,n,e){return function(r){return r.lift(new _m(t,n,e))}}T.prototype.distinctUntilChanged=function(t,n){return ym(t,n)(this)},T.prototype.distinctUntilKeyChanged=function(t,n){return vm(t,n)(this)};var _m=function(){function t(t,n,e){this.nextOrObserver=t,this.error=n,this.complete=e}return t.prototype.call=function(t,n){return n.subscribe(new wm(t,this.nextOrObserver,this.error,this.complete))},t}(),wm=function(t){function n(n,e,r,i){t.call(this,n);var o=new x(e,r,i);o.syncErrorThrowable=!0,this.add(o),this.safeSubscriber=o}return Object(i.__extends)(n,t),n.prototype._next=function(t){var n=this.safeSubscriber;n.next(t),n.syncErrorThrown?this.destination.error(n.syncErrorValue):this.destination.next(t)},n.prototype._error=function(t){var n=this.safeSubscriber;n.error(t),this.destination.error(n.syncErrorThrown?n.syncErrorValue:t)},n.prototype._complete=function(){var t=this.safeSubscriber;t.complete(),t.syncErrorThrown?this.destination.error(t.syncErrorValue):this.destination.complete()},n}(x);function xm(t,n,e){return bm(t,n,e)(this)}function Cm(){return function(t){return t.lift(new Sm)}}T.prototype.do=xm,T.prototype._do=xm;var Sm=function(){function t(){}return t.prototype.call=function(t,n){return n.subscribe(new Om(t))},t}(),Om=function(t){function n(n){t.call(this,n),this.hasCompleted=!1,this.hasSubscription=!1}return Object(i.__extends)(n,t),n.prototype._next=function(t){this.hasSubscription||(this.hasSubscription=!0,this.add(L(this,t)))},n.prototype._complete=function(){this.hasCompleted=!0,this.hasSubscription||this.destination.complete()},n.prototype.notifyComplete=function(t){this.remove(t),this.hasSubscription=!1,this.hasCompleted&&this.destination.complete()},n}(V);function Em(t,n){return function(e){return e.lift(new km(t,n))}}T.prototype.exhaust=function(){return Cm()(this)};var km=function(){function t(t,n){this.project=t,this.resultSelector=n}return t.prototype.call=function(t,n){return n.subscribe(new Tm(t,this.project,this.resultSelector))},t}(),Tm=function(t){function n(n,e,r){t.call(this,n),this.project=e,this.resultSelector=r,this.hasSubscription=!1,this.hasCompleted=!1,this.index=0}return Object(i.__extends)(n,t),n.prototype._next=function(t){this.hasSubscription||this.tryNext(t)},n.prototype.tryNext=function(t){var n=this.index++,e=this.destination;try{var r=this.project(t,n);this.hasSubscription=!0,this.add(L(this,r,t,n))}catch(t){e.error(t)}},n.prototype._complete=function(){this.hasCompleted=!0,this.hasSubscription||this.destination.complete()},n.prototype.notifyNext=function(t,n,e,r,i){var o=this.destination;this.resultSelector?this.trySelectResult(t,n,e,r):o.next(n)},n.prototype.trySelectResult=function(t,n,e,r){var i=this.resultSelector,o=this.destination;try{var l=i(t,n,e,r);o.next(l)}catch(t){o.error(t)}},n.prototype.notifyError=function(t){this.destination.error(t)},n.prototype.notifyComplete=function(t){this.remove(t),this.hasSubscription=!1,this.hasCompleted&&this.destination.complete()},n}(V);function Pm(t,n,e){return void 0===n&&(n=Number.POSITIVE_INFINITY),void 0===e&&(e=void 0),n=(n||0)<1?Number.POSITIVE_INFINITY:n,function(r){return r.lift(new Im(t,n,e))}}T.prototype.exhaustMap=function(t,n){return Em(t,n)(this)};var Im=function(){function t(t,n,e){this.project=t,this.concurrent=n,this.scheduler=e}return t.prototype.call=function(t,n){return n.subscribe(new Mm(t,this.project,this.concurrent,this.scheduler))},t}(),Mm=function(t){function n(n,e,r,i){t.call(this,n),this.project=e,this.concurrent=r,this.scheduler=i,this.index=0,this.active=0,this.hasCompleted=!1,r0&&this._next(n.shift()),this.hasCompleted&&0===this.active&&this.destination.complete()},n}(V);function Am(t,n){return function(e){return e.lift(new Nm(t,n))}}T.prototype.expand=function(t,n,e){return void 0===n&&(n=Number.POSITIVE_INFINITY),void 0===e&&(e=void 0),Pm(t,n=(n||0)<1?Number.POSITIVE_INFINITY:n,e)(this)};var Nm=function(){function t(t,n){if(this.index=t,this.defaultValue=n,t<0)throw new ps}return t.prototype.call=function(t,n){return n.subscribe(new jm(t,this.index,this.defaultValue))},t}(),jm=function(t){function n(n,e,r){t.call(this,n),this.index=e,this.defaultValue=r}return Object(i.__extends)(n,t),n.prototype._next=function(t){0==this.index--&&(this.destination.next(t),this.destination.complete())},n.prototype._complete=function(){var t=this.destination;this.index>=0&&(void 0!==this.defaultValue?t.next(this.defaultValue):t.error(new ps)),t.complete()},n}(x);function Rm(t){return function(n){return n.lift(new Dm(t))}}T.prototype.elementAt=function(t,n){return Am(t,n)(this)};var Dm=function(){function t(t){this.callback=t}return t.prototype.call=function(t,n){return n.subscribe(new Lm(t,this.callback))},t}(),Lm=function(t){function n(n,e){t.call(this,n),this.add(new m(e))}return Object(i.__extends)(n,t),n}(x);function Vm(t){return Rm(t)(this)}function Fm(t,n){if("function"!=typeof t)throw new TypeError("predicate is not a function");return function(e){return e.lift(new Bm(t,e,!1,n))}}T.prototype.finally=Vm,T.prototype._finally=Vm;var Bm=function(){function t(t,n,e,r){this.predicate=t,this.source=n,this.yieldIndex=e,this.thisArg=r}return t.prototype.call=function(t,n){return n.subscribe(new Um(t,this.predicate,this.source,this.yieldIndex,this.thisArg))},t}(),Um=function(t){function n(n,e,r,i,o){t.call(this,n),this.predicate=e,this.source=r,this.yieldIndex=i,this.thisArg=o,this.index=0}return Object(i.__extends)(n,t),n.prototype.notifyComplete=function(t){var n=this.destination;n.next(t),n.complete()},n.prototype._next=function(t){var n=this.predicate,e=this.thisArg,r=this.index++;try{n.call(e||this,t,r,this.source)&&this.notifyComplete(this.yieldIndex?r:t)}catch(t){this.destination.error(t)}},n.prototype._complete=function(){this.notifyComplete(this.yieldIndex?-1:void 0)},n}(x);function zm(t,n){return function(e){return e.lift(new Bm(t,e,!0,n))}}T.prototype.find=function(t,n){return Fm(t,n)(this)},T.prototype.findIndex=function(t,n){return zm(t,n)(this)};var Hm=function(){function t(){this.size=0,this._values=[],this._keys=[]}return t.prototype.get=function(t){var n=this._keys.indexOf(t);return-1===n?void 0:this._values[n]},t.prototype.set=function(t,n){var e=this._keys.indexOf(t);return-1===e?(this._keys.push(t),this._values.push(n),this.size++):this._values[e]=n,this},t.prototype.delete=function(t){var n=this._keys.indexOf(t);return-1!==n&&(this._values.splice(n,1),this._keys.splice(n,1),this.size--,!0)},t.prototype.clear=function(){this._keys.length=0,this._values.length=0,this.size=0},t.prototype.forEach=function(t,n){for(var e=0;e0?n:e}:function(t,n){return t>n?t:n})}function gv(t,n,e){return void 0===e&&(e=Number.POSITIVE_INFINITY),"number"==typeof n&&(e=n,n=null),function(r){return r.lift(new mv(t,n,e))}}T.prototype.materialize=function(){return pv()(this)},T.prototype.max=function(t){return yv(t)(this)},T.prototype.merge=function(){for(var t=[],n=0;n0?this._next(n.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},n}(V);function bv(t,n,e){return void 0===e&&(e=Number.POSITIVE_INFINITY),gv(t,n,e)(this)}function _v(t,n,e){return void 0===e&&(e=Number.POSITIVE_INFINITY),function(r){return r.lift(new wv(t,n,e))}}T.prototype.flatMapTo=bv,T.prototype.mergeMapTo=bv;var wv=function(){function t(t,n,e){this.accumulator=t,this.seed=n,this.concurrent=e}return t.prototype.call=function(t,n){return n.subscribe(new xv(t,this.accumulator,this.seed,this.concurrent))},t}(),xv=function(t){function n(n,e,r,i){t.call(this,n),this.accumulator=e,this.acc=r,this.concurrent=i,this.hasValue=!1,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}return Object(i.__extends)(n,t),n.prototype._next=function(t){if(this.active0?this._next(n.shift()):0===this.active&&this.hasCompleted&&(!1===this.hasValue&&this.destination.next(this.acc),this.destination.complete())},n}(V);function Cv(t){return bs("function"==typeof t?function(n,e){return t(n,e)<0?n:e}:function(t,n){return t-1&&(this.count=e-1),n.subscribe(this._unsubscribeAndRecycle())}},n}(x);function Lv(t){return function(n){return n.lift(new Vv(t))}}T.prototype.repeat=function(t){return void 0===t&&(t=-1),jv(t)(this)};var Vv=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,n){return n.subscribe(new Fv(t,this.notifier,n))},t}(),Fv=function(t){function n(n,e,r){t.call(this,n),this.notifier=e,this.source=r,this.sourceIsBeingSubscribedTo=!0}return Object(i.__extends)(n,t),n.prototype.notifyNext=function(t,n,e,r,i){this.sourceIsBeingSubscribedTo=!0,this.source.subscribe(this)},n.prototype.notifyComplete=function(n){if(!1===this.sourceIsBeingSubscribedTo)return t.prototype.complete.call(this)},n.prototype.complete=function(){if(this.sourceIsBeingSubscribedTo=!1,!this.isStopped){if(this.retries||this.subscribeToRetries(),!this.retriesSubscription||this.retriesSubscription.closed)return t.prototype.complete.call(this);this._unsubscribeAndRecycle(),this.notifications.next()}},n.prototype._unsubscribe=function(){var t=this.notifications,n=this.retriesSubscription;t&&(t.unsubscribe(),this.notifications=null),n&&(n.unsubscribe(),this.retriesSubscription=null),this.retries=null},n.prototype._unsubscribeAndRecycle=function(){var n=this.notifications,e=this.retries,r=this.retriesSubscription;return this.notifications=null,this.retries=null,this.retriesSubscription=null,t.prototype._unsubscribeAndRecycle.call(this),this.notifications=n,this.retries=e,this.retriesSubscription=r,this},n.prototype.subscribeToRetries=function(){this.notifications=new Q;var n=y(this.notifier)(this.notifications);if(n===f)return t.prototype.complete.call(this);this.retries=n,this.retriesSubscription=L(this,n)},n}(V);function Bv(t){return void 0===t&&(t=-1),function(n){return n.lift(new Uv(t,n))}}T.prototype.repeatWhen=function(t){return Lv(t)(this)};var Uv=function(){function t(t,n){this.count=t,this.source=n}return t.prototype.call=function(t,n){return n.subscribe(new zv(t,this.count,this.source))},t}(),zv=function(t){function n(n,e,r){t.call(this,n),this.count=e,this.source=r}return Object(i.__extends)(n,t),n.prototype.error=function(n){if(!this.isStopped){var e=this.source,r=this.count;if(0===r)return t.prototype.error.call(this,n);r>-1&&(this.count=r-1),e.subscribe(this._unsubscribeAndRecycle())}},n}(x);function Hv(t){return function(n){return n.lift(new qv(t,n))}}T.prototype.retry=function(t){return void 0===t&&(t=-1),Bv(t)(this)};var qv=function(){function t(t,n){this.notifier=t,this.source=n}return t.prototype.call=function(t,n){return n.subscribe(new Kv(t,this.notifier,this.source))},t}(),Kv=function(t){function n(n,e,r){t.call(this,n),this.notifier=e,this.source=r}return Object(i.__extends)(n,t),n.prototype.error=function(n){if(!this.isStopped){var e=this.errors,r=this.retries,i=this.retriesSubscription;if(r)this.errors=null,this.retriesSubscription=null;else{if(e=new Q,(r=y(this.notifier)(e))===f)return t.prototype.error.call(this,f.e);i=L(this,r)}this._unsubscribeAndRecycle(),this.errors=e,this.retries=r,this.retriesSubscription=i,e.next(n)}},n.prototype._unsubscribe=function(){var t=this.errors,n=this.retriesSubscription;t&&(t.unsubscribe(),this.errors=null),n&&(n.unsubscribe(),this.retriesSubscription=null),this.retries=null},n.prototype.notifyNext=function(t,n,e,r,i){var o=this.errors,l=this.retries,u=this.retriesSubscription;this.errors=null,this.retries=null,this.retriesSubscription=null,this._unsubscribeAndRecycle(),this.errors=o,this.retries=l,this.retriesSubscription=u,this.source.subscribe(this)},n}(V);function Gv(t){return function(n){return n.lift(new Wv(t))}}T.prototype.retryWhen=function(t){return Hv(t)(this)};var Wv=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,n){var e=new Qv(t),r=n.subscribe(e);return r.add(L(e,this.notifier)),r},t}(),Qv=function(t){function n(){t.apply(this,arguments),this.hasValue=!1}return Object(i.__extends)(n,t),n.prototype._next=function(t){this.value=t,this.hasValue=!0},n.prototype.notifyNext=function(t,n,e,r,i){this.emitValue()},n.prototype.notifyComplete=function(){this.emitValue()},n.prototype.emitValue=function(){this.hasValue&&(this.hasValue=!1,this.destination.next(this.value))},n}(V);function $v(t,n){return void 0===n&&(n=Ly),function(e){return e.lift(new Zv(t,n))}}T.prototype.sample=function(t){return Gv(t)(this)};var Zv=function(){function t(t,n){this.period=t,this.scheduler=n}return t.prototype.call=function(t,n){return n.subscribe(new Yv(t,this.period,this.scheduler))},t}(),Yv=function(t){function n(n,e,r){t.call(this,n),this.period=e,this.scheduler=r,this.hasValue=!1,this.add(r.schedule(Xv,e,{subscriber:this,period:e}))}return Object(i.__extends)(n,t),n.prototype._next=function(t){this.lastValue=t,this.hasValue=!0},n.prototype.notifyNext=function(){this.hasValue&&(this.hasValue=!1,this.destination.next(this.lastValue))},n}(x);function Xv(t){var n=t.period;t.subscriber.notifyNext(),this.schedule(t,n)}function Jv(t,n){return function(e){return e.lift(new tb(t,n))}}T.prototype.sampleTime=function(t,n){return void 0===n&&(n=Ly),$v(t,n)(this)},T.prototype.scan=function(t,n){return arguments.length>=2?as(t,n)(this):as(t)(this)};var tb=function(){function t(t,n){this.compareTo=t,this.comparor=n}return t.prototype.call=function(t,n){return n.subscribe(new nb(t,this.compareTo,this.comparor))},t}(),nb=function(t){function n(n,e,r){t.call(this,n),this.compareTo=e,this.comparor=r,this._a=[],this._b=[],this._oneComplete=!1,this.add(e.subscribe(new eb(n,this)))}return Object(i.__extends)(n,t),n.prototype._next=function(t){this._oneComplete&&0===this._b.length?this.emit(!1):(this._a.push(t),this.checkValues())},n.prototype._complete=function(){this._oneComplete?this.emit(0===this._a.length&&0===this._b.length):this._oneComplete=!0},n.prototype.checkValues=function(){for(var t=this._a,n=this._b,e=this.comparor;t.length>0&&n.length>0;){var r=t.shift(),i=n.shift(),o=!1;e?(o=y(e)(r,i))===f&&this.destination.error(f.e):o=r===i,o||this.emit(!1)}},n.prototype.emit=function(t){var n=this.destination;n.next(t),n.complete()},n.prototype.nextB=function(t){this._oneComplete&&0===this._a.length?this.emit(!1):(this._b.push(t),this.checkValues())},n}(x),eb=function(t){function n(n,e){t.call(this,n),this.parent=e}return Object(i.__extends)(n,t),n.prototype._next=function(t){this.parent.nextB(t)},n.prototype._error=function(t){this.parent.error(t)},n.prototype._complete=function(){this.parent._complete()},n}(x);function rb(t,n,e){return function(r){return r.lift(function(t,n,e){var r,i,o=0,l=!1,u=!1;return function(s){o++,r&&!l||(l=!1,r=new mg(t,n,e),i=s.subscribe({next:function(t){r.next(t)},error:function(t){l=!0,r.error(t)},complete:function(){u=!0,r.complete()}}));var a=r.subscribe(this);return function(){o--,a.unsubscribe(),i&&0===o&&u&&i.unsubscribe()}}}(t,n,e))}}function ib(t){return function(n){return n.lift(new ob(t,n))}}T.prototype.sequenceEqual=function(t,n){return Jv(t,n)(this)},T.prototype.share=lt,T.prototype.shareReplay=function(t,n,e){return rb(t,n,e)(this)};var ob=function(){function t(t,n){this.predicate=t,this.source=n}return t.prototype.call=function(t,n){return n.subscribe(new lb(t,this.predicate,this.source))},t}(),lb=function(t){function n(n,e,r){t.call(this,n),this.predicate=e,this.source=r,this.seenValue=!1,this.index=0}return Object(i.__extends)(n,t),n.prototype.applySingleValue=function(t){this.seenValue?this.destination.error("Sequence contains more than one element"):(this.seenValue=!0,this.singleValue=t)},n.prototype._next=function(t){var n=this.index++;this.predicate?this.tryNext(t,n):this.applySingleValue(t)},n.prototype.tryNext=function(t,n){try{this.predicate(t,n,this.source)&&this.applySingleValue(t)}catch(t){this.destination.error(t)}},n.prototype._complete=function(){var t=this.destination;this.index>0?(t.next(this.seenValue?this.singleValue:void 0),t.complete()):t.error(new Qu)},n}(x);function ub(t){return function(n){return n.lift(new sb(t))}}T.prototype.single=function(t){return ib(t)(this)};var sb=function(){function t(t){this.total=t}return t.prototype.call=function(t,n){return n.subscribe(new ab(t,this.total))},t}(),ab=function(t){function n(n,e){t.call(this,n),this.total=e,this.count=0}return Object(i.__extends)(n,t),n.prototype._next=function(t){++this.count>this.total&&this.destination.next(t)},n}(x);function cb(t){return function(n){return n.lift(new hb(t))}}T.prototype.skip=function(t){return ub(t)(this)};var hb=function(){function t(t){if(this._skipCount=t,this._skipCount<0)throw new ps}return t.prototype.call=function(t,n){return n.subscribe(0===this._skipCount?new x(t):new pb(t,this._skipCount))},t}(),pb=function(t){function n(n,e){t.call(this,n),this._skipCount=e,this._count=0,this._ring=new Array(e)}return Object(i.__extends)(n,t),n.prototype._next=function(t){var n=this._skipCount,e=this._count++;if(e1?new A(t,e):new I(e),n)}}T.prototype.skipWhile=function(t){return gb(t)(this)},T.prototype.startWith=function(){for(var t=[],n=0;n0?t.prototype.requestAsyncId.call(this,n,e,r):(n.actions.push(this),n.scheduled||(n.scheduled=_b.setImmediate(n.flush.bind(n,null))))},n.prototype.recycleAsyncId=function(n,e,r){if(void 0===r&&(r=0),null!==r&&r>0||null===r&&this.delay>0)return t.prototype.recycleAsyncId.call(this,n,e,r);0===n.actions.length&&(_b.clearImmediate(e),n.scheduled=void 0)},n}(Ry),xb=new(function(t){function n(){t.apply(this,arguments)}return Object(i.__extends)(n,t),n.prototype.flush=function(t){this.active=!0,this.scheduled=void 0;var n,e=this.actions,r=-1,i=e.length;t=t||e.shift();do{if(n=t.execute(t.state,t.delay))break}while(++r0?this.startWindowEvery:this.windowSize,e=this.destination,r=this.windowSize,i=this.windows,o=i.length,l=0;l=0&&u%n==0&&!this.closed&&i.shift().complete(),++this.count%n==0&&!this.closed){var s=new Q;i.push(s),e.next(s)}},n.prototype._error=function(t){var n=this.windows;if(n)for(;n.length>0&&!this.closed;)n.shift().error(t);this.destination.error(t)},n.prototype._complete=function(){var t=this.windows;if(t)for(;t.length>0&&!this.closed;)t.shift().complete();this.destination.complete()},n.prototype._unsubscribe=function(){this.count=0,this.windows=null},n}(x);function s_(t){var n=Ly,e=null,r=Number.POSITIVE_INFINITY;return M(arguments[3])&&(n=arguments[3]),M(arguments[2])?n=arguments[2]:jy(arguments[2])&&(r=arguments[2]),M(arguments[1])?n=arguments[1]:jy(arguments[1])&&(e=arguments[1]),function(i){return i.lift(new a_(t,e,r,n))}}T.prototype.windowCount=function(t,n){return void 0===n&&(n=0),o_(t,n)(this)};var a_=function(){function t(t,n,e,r){this.windowTimeSpan=t,this.windowCreationInterval=n,this.maxWindowSize=e,this.scheduler=r}return t.prototype.call=function(t,n){return n.subscribe(new h_(t,this.windowTimeSpan,this.windowCreationInterval,this.maxWindowSize,this.scheduler))},t}(),c_=function(t){function n(){t.apply(this,arguments),this._numberOfNextedValues=0}return Object(i.__extends)(n,t),n.prototype.next=function(n){this._numberOfNextedValues++,t.prototype.next.call(this,n)},Object.defineProperty(n.prototype,"numberOfNextedValues",{get:function(){return this._numberOfNextedValues},enumerable:!0,configurable:!0}),n}(Q),h_=function(t){function n(n,e,r,i,o){t.call(this,n),this.destination=n,this.windowTimeSpan=e,this.windowCreationInterval=r,this.maxWindowSize=i,this.scheduler=o,this.windows=[];var l=this.openWindow();if(null!==r&&r>=0){var u={windowTimeSpan:e,windowCreationInterval:r,subscriber:this,scheduler:o};this.add(o.schedule(d_,e,{subscriber:this,window:l,context:null})),this.add(o.schedule(f_,r,u))}else this.add(o.schedule(p_,e,{subscriber:this,window:l,windowTimeSpan:e}))}return Object(i.__extends)(n,t),n.prototype._next=function(t){for(var n=this.windows,e=n.length,r=0;r=this.maxWindowSize&&this.closeWindow(i))}},n.prototype._error=function(t){for(var n=this.windows;n.length>0;)n.shift().error(t);this.destination.error(t)},n.prototype._complete=function(){for(var t=this.windows;t.length>0;){var n=t.shift();n.closed||n.complete()}this.destination.complete()},n.prototype.openWindow=function(){var t=new c_;return this.windows.push(t),this.destination.next(t),t},n.prototype.closeWindow=function(t){t.complete();var n=this.windows;n.splice(n.indexOf(t),1)},n}(x);function p_(t){var n=t.subscriber,e=t.windowTimeSpan,r=t.window;r&&n.closeWindow(r),t.window=n.openWindow(),this.schedule(t,e)}function f_(t){var n=t.windowTimeSpan,e=t.subscriber,r=t.scheduler,i=t.windowCreationInterval,o=e.openWindow(),l={action:this,subscription:null};l.subscription=r.schedule(d_,n,{subscriber:e,window:o,context:l}),this.add(l.subscription),this.schedule(t,i)}function d_(t){var n=t.subscriber,e=t.window,r=t.context;r&&r.action&&r.subscription&&r.action.remove(r.subscription),n.closeWindow(e)}function y_(t,n){return function(e){return e.lift(new g_(t,n))}}T.prototype.windowTime=function(t){var n=Ly,e=null,r=Number.POSITIVE_INFINITY;return M(arguments[3])&&(n=arguments[3]),M(arguments[2])?n=arguments[2]:jy(arguments[2])&&(r=arguments[2]),M(arguments[1])?n=arguments[1]:jy(arguments[1])&&(e=arguments[1]),s_(t,e,r,n)(this)};var g_=function(){function t(t,n){this.openings=t,this.closingSelector=n}return t.prototype.call=function(t,n){return n.subscribe(new m_(t,this.openings,this.closingSelector))},t}(),m_=function(t){function n(n,e,r){t.call(this,n),this.openings=e,this.closingSelector=r,this.contexts=[],this.add(this.openSubscription=L(this,e,e))}return Object(i.__extends)(n,t),n.prototype._next=function(t){var n=this.contexts;if(n)for(var e=n.length,r=0;r0){var l=o.indexOf(e);-1!==l&&o.splice(l,1)}},n.prototype.notifyComplete=function(){},n.prototype._next=function(t){if(0===this.toRespond.length){var n=[t].concat(this.values);this.project?this._tryProject(n):this.destination.next(n)}},n.prototype._tryProject=function(t){var n;try{n=this.project.apply(this,t)}catch(t){return void this.destination.error(t)}this.destination.next(n)},n}(V);function S_(t){return function(n){return n.lift(new Yy(t))}}T.prototype.withLatestFrom=function(){for(var t=[],n=0;n0?t+n.balance:t},0),t.updateTransactions()},function(n){n.status>=400&&n.status<500?t.translate.get(["general.noData","addressDetail.withoutTransactions"]).subscribe(function(n){t.loadingMsg=n["general.noData"],t.longErrorMsg=n["addressDetail.withoutTransactions"]}):t.translate.get(["general.shortLoadingErrorMsg","general.longLoadingErrorMsg"]).subscribe(function(n){t.loadingMsg=n["general.shortLoadingErrorMsg"],t.longErrorMsg=n["general.longLoadingErrorMsg"]})}),this.route.params.switchMap(function(n){return t.api.getBalance(n.address)}).subscribe(function(n){return t.balance=n.confirmed.coins/1e6})},t.prototype.updateTransactions=function(){this.pageIndex>this.transactions.length/this.pageSize&&(this.pageIndex=Math.floor(this.transactions.length/this.pageSize)),this.pageTransactions=[];for(var t=this.pageIndex*this.pageSize;t<(this.pageIndex+1)*this.pageSize&&t=400&&n.status<500?t.translate.get(["general.noData","unspentOutputs.withoutOutputs"]).subscribe(function(n){t.loadingMsg=n["general.noData"],t.longErrorMsg=n["unspentOutputs.withoutOutputs"]}):t.translate.get(["general.shortLoadingErrorMsg","general.longLoadingErrorMsg"]).subscribe(function(n){t.loadingMsg=n["general.shortLoadingErrorMsg"],t.longErrorMsg=n["general.longLoadingErrorMsg"]})})},t}(),T_=function(){function t(t){this.explorer=t}return t.prototype.getResultNavCommands=function(t){var n=new P_;return(t=encodeURIComponent(t)).length>=27&&t.length<=35?n.resultNavCommands=T.of(["/app/address",t]):64===t.length?n.resultNavCommands=this.explorer.getBlockByHash(t).map(function(t){return["/app/block",t.id.toString()]}).catch(function(n){return n&&n.status&&404==n.status?T.of(["/app/transaction",t]):T.throw(n)}):parseInt(t,10).toString()==t&&parseInt(t,10)>=0?n.resultNavCommands=T.of(["/app/block",t]):n.error=I_.InvalidSearchTerm,n},t}(),P_=function(){},I_=function(t){return t[t.InvalidSearchTerm=1]="InvalidSearchTerm",t}({}),M_=function(){function t(t,n,e,r){this.searchService=t,this.route=n,this.router=e,this.translate=r,this.searchTerm=""}return t.prototype.ngOnInit=function(){var t=this;this.route.params.first().subscribe(function(n){(!n.term||n.term.trim().length<1)&&(t.errorMsg="search.unableToFind"),t.searchTerm=n.term.trim();var e=t.searchService.getResultNavCommands(t.searchTerm);e.error?e.error==I_.InvalidSearchTerm&&(t.errorMsg="search.unableToFind"):e.resultNavCommands.subscribe(function(n){return t.router.navigate(n,{replaceUrl:!0})},function(n){return t.errorMsg="search.unableToFind"})})},t}(),A_=function(){},N_={useGenericHeader:!1,genericHeaderUrl:"https://www.skycoin.net/"},j_={useGenericFooter:!1,contactLinks:[{url:"https://www.skycoin.net/",content:""},{url:"https://www.skycoin.net/",content:""},{url:"https://www.skycoin.net/",content:""},{url:"https://www.skycoin.net/",content:""},{url:"https://www.skycoin.net/",content:""},{url:"https://www.skycoin.net/",content:""},{url:"https://www.skycoin.net/",content:""}]},R_=function(){function t(t,n){var e=this;this.router=t,this.headerConfig=N_,this.footerConfig=j_,n.setDefaultLang("en"),n.use("en"),t.events.subscribe(function(t){e.navigationInterceptor(t),t instanceof ic&&window.scrollTo(0,0)})}return t.prototype.navigationInterceptor=function(t){t instanceof rc&&(this.loading=!0),t instanceof ic&&(this.loading=!1),t instanceof oc&&(this.loading=!1),t instanceof lc&&(this.loading=!1)},t}(),D_=function(){this.dateMultiplier=1e3},L_=yr({encapsulation:0,styles:[[".time[_ngcontent-%COMP%]{display:inline-block}"]],data:{}});function V_(t){return oo(0,[(t()(),Kr(0,0,null,null,2,"span",[],null,null,null,null,null)),(t()(),eo(1,null,["",""])),Ji(2,2)],null,function(t,n){var e=n.component;t(n,1,0,pr(n,1,0,t(n,2,0,bi(n.parent,0),e.date*e.dateMultiplier,"yyyy-MM-dd")))})}function F_(t){return oo(0,[(t()(),Kr(0,0,null,null,2,"span",[["class","time -gray"]],null,null,null,null,null)),(t()(),eo(1,null,["",""])),Ji(2,2)],null,function(t,n){var e=n.component;t(n,1,0,pr(n,1,0,t(n,2,0,bi(n.parent,0),e.date*e.dateMultiplier,"hh:mm:ss")))})}function B_(t){return oo(0,[Ai(0,hu,[Ke]),(t()(),qr(16777216,null,null,1,null,V_)),Mi(2,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,["\n"])),(t()(),qr(16777216,null,null,1,null,F_)),Mi(5,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null)],function(t,n){var e=n.component;t(n,2,0,e.date),t(n,5,0,e.date)},null)}var U_=yr({encapsulation:0,styles:[[".-details[_ngcontent-%COMP%]{text-align:right}.-details[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:14px;line-height:14px;padding:3px 0;margin-bottom:5px}.-details[_ngcontent-%COMP%] p[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]:first-child{display:inline-block}.-details[_ngcontent-%COMP%] p[_ngcontent-%COMP%] .-label[_ngcontent-%COMP%]{display:block;color:#92a4ba;float:left}.-details[_ngcontent-%COMP%] p[_ngcontent-%COMP%] .-link[_ngcontent-%COMP%]{color:#0072ff;display:inline-block;cursor:pointer}.-details[_ngcontent-%COMP%] p[_ngcontent-%COMP%] .-value[_ngcontent-%COMP%]{display:inline-block;width:120px}@media (max-width:767px){.-details[_ngcontent-%COMP%]{text-align:left}.-details[_ngcontent-%COMP%] p[_ngcontent-%COMP%] .-value[_ngcontent-%COMP%]{margin-top:5px}}.-small-font[_ngcontent-%COMP%]{font-size:12px}.-link[_ngcontent-%COMP%]{text-decoration:none}"]],data:{}});function z_(t){return oo(0,[(t()(),Kr(0,0,null,null,4,"span",[],null,null,null,null,null)),(t()(),eo(1,null,["\n "," "])),Ai(131072,cy,[ly,ve]),(t()(),Kr(3,0,null,null,0,"i",[["class","fa fa-spinner fa-spin fa-fw"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "]))],null,function(t,n){t(n,1,0,pr(n,1,0,bi(n,2).transform("general.waitingData")))})}function H_(t){return oo(0,[(t()(),eo(0,null,["",""]))],null,function(t,n){t(n,0,0,n.component.longErrorMsg)})}function q_(t){return oo(0,[(t()(),Kr(0,0,null,null,9,"div",[["class","row -msg-container"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(2,0,null,null,6,"div",[["class","col-sm-12"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),qr(16777216,null,null,1,null,z_)),Mi(5,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),eo(-1,null,["\n "])),(t()(),qr(0,[["error_msg",2]],null,0,null,H_)),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "]))],function(t,n){t(n,5,0,!n.component.longErrorMsg,bi(n,7))},null)}function K_(t){return oo(0,[(t()(),Kr(0,0,null,null,40,"a",[["class","-row -link"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,n,e){var r=!0;return"click"===n&&(r=!1!==bi(t,1).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&r),r},null,null)),Mi(1,671744,null,0,op,[ep,mh,ml],{routerLink:[0,"routerLink"]},null),(t()(),eo(-1,null,["\n "])),(t()(),Kr(3,0,null,null,36,"div",[["class","row"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(5,0,null,null,24,"div",[["class","col-sm-2 col-xs-4"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(7,0,null,null,4,"div",[["class","-not-xs"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(9,0,null,null,1,"date-formatter",[],null,null,null,B_,L_)),Mi(10,49152,null,0,D_,[],{date:[0,"date"]},null),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(13,0,null,null,15,"div",[["class","-xs-only"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(15,0,null,null,2,"span",[["class","-gray"]],null,null,null,null,null)),(t()(),eo(16,null,["",""])),Ji(17,2),(t()(),Kr(18,0,null,null,0,"br",[],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(20,0,null,null,2,"span",[["class","-small-font"]],null,null,null,null,null)),(t()(),eo(21,null,["",""])),Ji(22,2),(t()(),Kr(23,0,null,null,0,"br",[],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(25,0,null,null,2,"span",[["class","-small-font"]],null,null,null,null,null)),(t()(),eo(26,null,["",""])),Ji(27,2),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n\n "])),(t()(),Kr(31,0,null,null,1,"div",[["class","col-sm-2 col-xs-4"]],null,null,null,null,null)),(t()(),eo(32,null,["",""])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(34,0,null,null,1,"div",[["class","col-sm-2 col-xs-4 -gray"]],null,null,null,null,null)),(t()(),eo(35,null,["",""])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(37,0,null,null,1,"div",[["class","col-sm-6 -fix-left -not-xs"]],null,null,null,null,null)),(t()(),eo(38,null,["",""])),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "]))],function(t,n){t(n,1,0,"/app/block/"+n.context.$implicit.id),t(n,10,0,n.context.$implicit.timestamp)},function(t,n){t(n,0,0,bi(n,1).target,bi(n,1).href),t(n,16,0,pr(n,16,0,t(n,17,0,bi(n.parent,1),1e3*n.context.$implicit.timestamp,"yyyy"))),t(n,21,0,pr(n,21,0,t(n,22,0,bi(n.parent,1),1e3*n.context.$implicit.timestamp,"MMM dd")).toUpperCase()),t(n,26,0,pr(n,26,0,t(n,27,0,bi(n.parent,1),1e3*n.context.$implicit.timestamp,"HH:mm"))),t(n,32,0,n.context.$implicit.id),t(n,35,0,n.context.$implicit.transactions.length),t(n,38,0,n.context.$implicit.hash)})}function G_(t){return oo(0,[(t()(),Kr(0,0,null,null,2,"a",[["class","-page -hide-xs"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,n,e){var r=!0;return"click"===n&&(r=!1!==bi(t,1).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&r),r},null,null)),Mi(1,671744,null,0,op,[ep,mh,ml],{routerLink:[0,"routerLink"]},null),(t()(),eo(2,null,["",""]))],function(t,n){t(n,1,0,zr(1,"/app/blocks/",n.component.pageIndex-1,""))},function(t,n){var e=n.component;t(n,0,0,bi(n,1).target,bi(n,1).href),t(n,2,0,e.pageIndex-1)})}function W_(t){return oo(0,[(t()(),Kr(0,0,null,null,2,"a",[["class","-page"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,n,e){var r=!0;return"click"===n&&(r=!1!==bi(t,1).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&r),r},null,null)),Mi(1,671744,null,0,op,[ep,mh,ml],{routerLink:[0,"routerLink"]},null),(t()(),eo(2,null,["",""]))],function(t,n){t(n,1,0,zr(1,"/app/blocks/",n.component.pageIndex,""))},function(t,n){var e=n.component;t(n,0,0,bi(n,1).target,bi(n,1).href),t(n,2,0,e.pageIndex)})}function Q_(t){return oo(0,[(t()(),Kr(0,0,null,null,2,"a",[["class","-page"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,n,e){var r=!0;return"click"===n&&(r=!1!==bi(t,1).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&r),r},null,null)),Mi(1,671744,null,0,op,[ep,mh,ml],{routerLink:[0,"routerLink"]},null),(t()(),eo(2,null,["",""]))],function(t,n){t(n,1,0,zr(1,"/app/blocks/",n.component.pageIndex+2,""))},function(t,n){var e=n.component;t(n,0,0,bi(n,1).target,bi(n,1).href),t(n,2,0,e.pageIndex+2)})}function $_(t){return oo(0,[(t()(),Kr(0,0,null,null,2,"a",[["class","-page -hide-xs"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,n,e){var r=!0;return"click"===n&&(r=!1!==bi(t,1).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&r),r},null,null)),Mi(1,671744,null,0,op,[ep,mh,ml],{routerLink:[0,"routerLink"]},null),(t()(),eo(2,null,["",""]))],function(t,n){t(n,1,0,zr(1,"/app/blocks/",n.component.pageIndex+3,""))},function(t,n){var e=n.component;t(n,0,0,bi(n,1).target,bi(n,1).href),t(n,2,0,e.pageIndex+3)})}function Z_(t){return oo(0,[(t()(),Kr(0,0,null,null,40,"div",[["class","pagination"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(2,0,null,null,4,"a",[["class","-first"],["routerLink","/app/blocks/1"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,n,e){var r=!0;return"click"===n&&(r=!1!==bi(t,5).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&r),r},null,null)),Mi(3,278528,null,0,zl,[Fe,Be,ae,se],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),to(4,{disabled:0}),Mi(5,671744,null,0,op,[ep,mh,ml],{routerLink:[0,"routerLink"]},null),(t()(),eo(-1,null,["\xab"])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(8,0,null,null,4,"a",[["class","-previous"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,n,e){var r=!0;return"click"===n&&(r=!1!==bi(t,11).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&r),r},null,null)),Mi(9,278528,null,0,zl,[Fe,Be,ae,se],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),to(10,{disabled:0}),Mi(11,671744,null,0,op,[ep,mh,ml],{routerLink:[0,"routerLink"]},null),(t()(),eo(-1,null,["\u2039"])),(t()(),eo(-1,null,["\n "])),(t()(),qr(16777216,null,null,1,null,G_)),Mi(15,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,["\n "])),(t()(),qr(16777216,null,null,1,null,W_)),Mi(18,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,["\n "])),(t()(),Kr(20,0,null,null,1,"a",[["class","-page disabled"]],null,null,null,null,null)),(t()(),eo(21,null,["",""])),(t()(),eo(-1,null,["\n "])),(t()(),qr(16777216,null,null,1,null,Q_)),Mi(24,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,["\n "])),(t()(),qr(16777216,null,null,1,null,$_)),Mi(27,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,["\n "])),(t()(),Kr(29,0,null,null,4,"a",[["class","-next"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,n,e){var r=!0;return"click"===n&&(r=!1!==bi(t,32).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&r),r},null,null)),Mi(30,278528,null,0,zl,[Fe,Be,ae,se],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),to(31,{disabled:0}),Mi(32,671744,null,0,op,[ep,mh,ml],{routerLink:[0,"routerLink"]},null),(t()(),eo(-1,null,["\u203a"])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(35,0,null,null,4,"a",[["class","-last"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,n,e){var r=!0;return"click"===n&&(r=!1!==bi(t,38).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&r),r},null,null)),Mi(36,278528,null,0,zl,[Fe,Be,ae,se],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),to(37,{disabled:0}),Mi(38,671744,null,0,op,[ep,mh,ml],{routerLink:[0,"routerLink"]},null),(t()(),eo(-1,null,["\xbb"])),(t()(),eo(-1,null,["\n"]))],function(t,n){var e=n.component;t(n,3,0,"-first",t(n,4,0,e.pageIndex<=0)),t(n,5,0,"/app/blocks/1"),t(n,9,0,"-previous",t(n,10,0,e.pageIndex<=0)),t(n,11,0,zr(1,"/app/blocks/",e.pageIndex>0?e.pageIndex:1,"")),t(n,15,0,e.pageIndex>1),t(n,18,0,e.pageIndex>0),t(n,24,0,e.pageIndex=e.pageCount-1)),t(n,32,0,zr(1,"/app/blocks/",e.pageIndex+2=e.pageCount-1)),t(n,38,0,zr(1,"/app/blocks/",e.pageCount,""))},function(t,n){var e=n.component;t(n,2,0,bi(n,5).target,bi(n,5).href),t(n,8,0,bi(n,11).target,bi(n,11).href),t(n,21,0,e.pageIndex+1),t(n,29,0,bi(n,32).target,bi(n,32).href),t(n,35,0,bi(n,38).target,bi(n,38).href)})}function Y_(t){return oo(0,[Ai(0,yu,[Ke]),Ai(0,hu,[Ke]),(t()(),Kr(2,0,null,null,82,"div",[["class","row"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(4,0,null,null,9,"div",[["class","col-sm-6 -title"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(6,0,null,null,2,"h2",[["class","-not-xs"]],null,null,null,null,null)),(t()(),eo(7,null,["",""])),Ai(131072,cy,[ly,ve]),(t()(),eo(-1,null,["\n "])),(t()(),Kr(10,0,null,null,2,"h2",[["class","-xs-only"]],null,null,null,null,null)),(t()(),eo(11,null,["",""])),Ai(131072,cy,[ly,ve]),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(15,0,null,null,68,"div",[["class","col-sm-6 -details"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(17,0,null,null,9,"p",[],null,null,null,null,null)),(t()(),Kr(18,0,null,null,8,"span",[],null,null,null,null,null)),(t()(),Kr(19,0,null,null,2,"span",[["class","-label"]],null,null,null,null,null)),(t()(),eo(20,null,["",":"])),Ai(131072,cy,[ly,ve]),(t()(),Kr(22,0,null,null,0,"br",[["class","-xs-only"]],null,null,null,null,null)),(t()(),eo(-1,null,[" "])),(t()(),Kr(24,0,null,null,2,"span",[["class","-value"]],null,null,null,null,null)),(t()(),eo(25,null,["",""])),Ji(26,2),(t()(),eo(-1,null,["\n "])),(t()(),Kr(28,0,null,null,9,"p",[],null,null,null,null,null)),(t()(),Kr(29,0,null,null,8,"span",[],null,null,null,null,null)),(t()(),Kr(30,0,null,null,2,"span",[["class","-label"]],null,null,null,null,null)),(t()(),eo(31,null,["",":"])),Ai(131072,cy,[ly,ve]),(t()(),Kr(33,0,null,null,0,"br",[["class","-xs-only"]],null,null,null,null,null)),(t()(),eo(-1,null,[" "])),(t()(),Kr(35,0,null,null,2,"span",[["class","-value"]],null,null,null,null,null)),(t()(),eo(36,null,["",""])),Ji(37,2),(t()(),eo(-1,null,["\n "])),(t()(),Kr(39,0,null,null,9,"p",[],null,null,null,null,null)),(t()(),Kr(40,0,null,null,8,"span",[],null,null,null,null,null)),(t()(),Kr(41,0,null,null,2,"span",[["class","-label"]],null,null,null,null,null)),(t()(),eo(42,null,["",":"])),Ai(131072,cy,[ly,ve]),(t()(),Kr(44,0,null,null,0,"br",[["class","-xs-only"]],null,null,null,null,null)),(t()(),eo(-1,null,[" "])),(t()(),Kr(46,0,null,null,2,"span",[["class","-value"]],null,null,null,null,null)),(t()(),eo(47,null,["",""])),Ji(48,2),(t()(),eo(-1,null,["\n "])),(t()(),Kr(50,0,null,null,9,"p",[],null,null,null,null,null)),(t()(),Kr(51,0,null,null,8,"span",[],null,null,null,null,null)),(t()(),Kr(52,0,null,null,2,"span",[["class","-label"]],null,null,null,null,null)),(t()(),eo(53,null,["",":"])),Ai(131072,cy,[ly,ve]),(t()(),Kr(55,0,null,null,0,"br",[["class","-xs-only"]],null,null,null,null,null)),(t()(),eo(-1,null,[" "])),(t()(),Kr(57,0,null,null,2,"span",[["class","-value"]],null,null,null,null,null)),(t()(),eo(58,null,["",""])),Ji(59,2),(t()(),eo(-1,null,["\n "])),(t()(),Kr(61,0,null,null,9,"p",[],null,null,null,null,null)),(t()(),Kr(62,0,null,null,8,"span",[],null,null,null,null,null)),(t()(),Kr(63,0,null,null,2,"span",[["class","-label"]],null,null,null,null,null)),(t()(),eo(64,null,["",":"])),Ai(131072,cy,[ly,ve]),(t()(),Kr(66,0,null,null,0,"br",[["class","-xs-only"]],null,null,null,null,null)),(t()(),eo(-1,null,[" "])),(t()(),Kr(68,0,null,null,2,"span",[["class","-value"]],null,null,null,null,null)),(t()(),eo(69,null,["",""])),Ji(70,2),(t()(),eo(-1,null,["\n "])),(t()(),Kr(72,0,null,null,4,"p",[],null,null,null,null,null)),(t()(),Kr(73,0,null,null,3,"a",[["class","-link"],["routerLink","/app/unconfirmedtransactions"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,n,e){var r=!0;return"click"===n&&(r=!1!==bi(t,74).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&r),r},null,null)),Mi(74,671744,null,0,op,[ep,mh,ml],{routerLink:[0,"routerLink"]},null),(t()(),eo(75,null,["",""])),Ai(131072,cy,[ly,ve]),(t()(),eo(-1,null,["\n "])),(t()(),Kr(78,0,null,null,4,"p",[],null,null,null,null,null)),(t()(),Kr(79,0,null,null,3,"a",[["class","-link"],["routerLink","/app/richlist"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,n,e){var r=!0;return"click"===n&&(r=!1!==bi(t,80).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&r),r},null,null)),Mi(80,671744,null,0,op,[ep,mh,ml],{routerLink:[0,"routerLink"]},null),(t()(),eo(81,null,["",""])),Ai(131072,cy,[ly,ve]),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n"])),(t()(),eo(-1,null,["\n\n"])),(t()(),Kr(86,0,null,null,2,"h2",[["class","-xs-only"]],null,null,null,null,null)),(t()(),eo(87,null,["",""])),Ai(131072,cy,[ly,ve]),(t()(),eo(-1,null,["\n"])),(t()(),Kr(90,0,null,null,38,"div",[["class","table"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(92,0,null,null,29,"div",[["class","-header"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(94,0,null,null,26,"div",[["class","row"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(96,0,null,null,3,"div",[["class","col-sm-2 col-xs-4"]],null,null,null,null,null)),(t()(),Kr(97,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),eo(98,null,["",""])),Ai(131072,cy,[ly,ve]),(t()(),eo(-1,null,["\n "])),(t()(),Kr(101,0,null,null,3,"div",[["class","col-sm-2 col-xs-4 -not-xs"]],null,null,null,null,null)),(t()(),Kr(102,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),eo(103,null,["",""])),Ai(131072,cy,[ly,ve]),(t()(),eo(-1,null,["\n "])),(t()(),Kr(106,0,null,null,3,"div",[["class","col-sm-2 col-xs-4 -xs-only"]],null,null,null,null,null)),(t()(),Kr(107,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),eo(108,null,["",""])),Ai(131072,cy,[ly,ve]),(t()(),eo(-1,null,["\n "])),(t()(),Kr(111,0,null,null,3,"div",[["class","col-sm-2 col-xs-4"]],null,null,null,null,null)),(t()(),Kr(112,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),eo(113,null,["",""])),Ai(131072,cy,[ly,ve]),(t()(),eo(-1,null,["\n "])),(t()(),Kr(116,0,null,null,3,"div",[["class","col-sm-6 -fix-left -not-xs"]],null,null,null,null,null)),(t()(),Kr(117,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),eo(118,null,["",""])),Ai(131072,cy,[ly,ve]),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),qr(16777216,null,null,1,null,q_)),Mi(124,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,["\n "])),(t()(),qr(16777216,null,null,1,null,K_)),Mi(127,802816,null,0,ql,[me,ge,Fe],{ngForOf:[0,"ngForOf"]},null),(t()(),eo(-1,null,["\n"])),(t()(),eo(-1,null,["\n\n"])),(t()(),qr(16777216,null,null,1,null,Z_)),Mi(131,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,["\n"]))],function(t,n){var e=n.component;t(n,74,0,"/app/unconfirmedtransactions"),t(n,80,0,"/app/richlist"),t(n,124,0,!e.blocks.length),t(n,127,0,e.blocks),t(n,131,0,e.blocks&&e.blocks.length>0)},function(t,n){var e=n.component;t(n,7,0,pr(n,7,0,bi(n,8).transform("blocks.blocksTitle"))),t(n,11,0,pr(n,11,0,bi(n,12).transform("blocks.statsTitle"))),t(n,20,0,pr(n,20,0,bi(n,21).transform("blocks.blockHeight"))),t(n,25,0,e.blockCount>0?pr(n,25,0,t(n,26,0,bi(n,0),e.blockCount,"1.0-0")):e.loadingMetadataMsg),t(n,31,0,pr(n,31,0,bi(n,32).transform("blocks.currentSupply"))),t(n,36,0,e.currentSupply?pr(n,36,0,t(n,37,0,bi(n,0),e.currentSupply,"1.0-0")):e.loadingCoinSupplyMsg),t(n,42,0,pr(n,42,0,bi(n,43).transform("blocks.totalSupply"))),t(n,47,0,e.totalSupply?pr(n,47,0,t(n,48,0,bi(n,0),e.totalSupply,"1.0-0")):e.loadingCoinSupplyMsg),t(n,53,0,pr(n,53,0,bi(n,54).transform("blocks.currentCoinhourSupply"))),t(n,58,0,e.currentCoinhourSupply?pr(n,58,0,t(n,59,0,bi(n,0),e.currentCoinhourSupply,"1.0-0")):e.loadingCoinSupplyMsg),t(n,64,0,pr(n,64,0,bi(n,65).transform("blocks.totalCoinhourSupply"))),t(n,69,0,e.totalCoinhourSupply?pr(n,69,0,t(n,70,0,bi(n,0),e.totalCoinhourSupply,"1.0-0")):e.loadingCoinSupplyMsg),t(n,73,0,bi(n,74).target,bi(n,74).href),t(n,75,0,pr(n,75,0,bi(n,76).transform("blocks.unconfirmedTransactions"))),t(n,79,0,bi(n,80).target,bi(n,80).href),t(n,81,0,pr(n,81,0,bi(n,82).transform("blocks.richList"))),t(n,87,0,pr(n,87,0,bi(n,88).transform("blocks.blocksTitle"))),t(n,98,0,pr(n,98,0,bi(n,99).transform("blocks.time"))),t(n,103,0,pr(n,103,0,bi(n,104).transform("blocks.blockNumber"))),t(n,108,0,pr(n,108,0,bi(n,109).transform("blocks.blockNumberSmall"))),t(n,113,0,pr(n,113,0,bi(n,114).transform("blocks.transactions"))),t(n,118,0,pr(n,118,0,bi(n,119).transform("blocks.blockhash")))})}var X_=si("ng-component",fy,function(t){return oo(0,[(t()(),Kr(0,0,null,null,1,"ng-component",[],null,null,null,Y_,U_)),Mi(1,114688,null,0,fy,[cf,gf,mh,ep,ly],null,null)],function(t,n){t(n,1,0)},null)},{},{},[]),J_=function(){function t(){this.animState=t.hideAnimName,this.showLabel=!1,this.cssClass="copy-button"}return t.prototype.copy=function(){var n=document.createElement("textarea");n.style.position="fixed",n.style.left="1px",n.style.top="1px",n.style.width="1px",n.style.height="1px",n.style.opacity="0",n.value=this.text,document.body.appendChild(n),n.focus(),n.select(),document.execCommand("copy"),document.body.removeChild(n),this.animState=t.showAnimName,this.showLabel=!0},t.prototype.animationDone=function(n){n.toState==t.showAnimName?this.animState=t.hideAnimName:this.showLabel=!1},t.showAnimName="show",t.hideAnimName="hide",t}(),tw=yr({encapsulation:0,styles:[[".icon[_ngcontent-%COMP%]{padding:5px 12px;position:absolute;margin-top:-8px;font-family:'Font Awesome 5 Free';font-size:14px;color:#dfdfdf;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-weight:300}.icon[_ngcontent-%COMP%]:hover{color:#bbb}.icon[_ngcontent-%COMP%]:active{color:#9b9b9b}.label[_ngcontent-%COMP%]{position:absolute;font-size:14px;top:-30px;left:5px;margin-left:-50%;background-color:rgba(0,0,0,.7);color:#fff;padding:5px 10px;pointer-events:none}"]],data:{animation:[{type:7,name:"showMessage",definitions:[{type:0,name:"show",styles:{type:6,styles:{opacity:1,transform:"translateY(0px)"},offset:null},options:void 0},{type:0,name:"hide",styles:{type:6,styles:{opacity:0,transform:"translateY(-10px)"},offset:null},options:void 0},{type:1,expr:"void => hide",animation:[{type:6,styles:{opacity:0,transform:"translateY(0px)"},offset:null},{type:4,styles:null,timings:"0ms 0ms"}],options:null},{type:1,expr:"* => show",animation:[{type:6,styles:{opacity:0,transform:"translateY(10px)"},offset:null},{type:4,styles:null,timings:"200ms 0ms ease-out"}],options:null},{type:1,expr:"* => hide",animation:[{type:6,styles:{opacity:1,transform:"translateY(0px)"},offset:null},{type:4,styles:null,timings:"200ms 500ms ease-in"}],options:null}],options:{}}]}});function nw(t){return oo(0,[(t()(),Kr(0,0,null,null,5,"div",[["class","icon"],["unselectable","on"]],null,[[null,"click"]],function(t,n,e){var r=!0;return"click"===n&&(r=!1!==t.component.copy()&&r),r},null,null)),(t()(),eo(-1,null,["\n \uf0c5\n "])),(t()(),Kr(2,0,null,null,2,"div",[["class","label"]],[[2,"hidden",null],[24,"@showMessage",0]],[[null,"@showMessage.done"]],function(t,n,e){var r=!0;return"@showMessage.done"===n&&(r=!1!==t.component.animationDone(e)&&r),r},null,null)),(t()(),eo(3,null,["",""])),Ai(131072,cy,[ly,ve]),(t()(),eo(-1,null,["\n"]))],null,function(t,n){var e=n.component;t(n,2,0,!e.showLabel,e.animState),t(n,3,0,pr(n,3,0,bi(n,4).transform("copy.copied")))})}var ew=function(){function t(){this.integerPart=void 0,this.whiteText=!1}return Object.defineProperty(t.prototype,"amount",{set:function(t){if(void 0!=t&&null!=t){var n="number"==typeof t?t:Number(t.replace(new RegExp(",","g"),""));this.integerPart=Math.trunc(n);var e=Math.abs(n-this.integerPart);e>0&&(this.decimalPart=(Number(e.toFixed(6))+"").split(".")[1])}},enumerable:!0,configurable:!0}),t}(),rw=yr({encapsulation:0,styles:[[".decimal-part[_ngcontent-%COMP%]{font-size:12px}.-white[_ngcontent-%COMP%]{color:#f7f7f7}"]],data:{}});function iw(t){return oo(0,[(t()(),Kr(0,0,null,null,2,"span",[],null,null,null,null,null)),(t()(),eo(1,null,["",""])),Ji(2,2)],null,function(t,n){var e=n.component;t(n,1,0,pr(n,1,0,t(n,2,0,bi(n.parent,0),e.integerPart,"1.0-0")))})}function ow(t){return oo(0,[(t()(),Kr(0,0,null,null,1,"span",[],[[8,"className",0]],null,null,null,null)),(t()(),eo(1,null,[".",""]))],null,function(t,n){var e=n.component;t(n,0,0,"decimal-part "+(e.whiteText?"-white":"-gray")),t(n,1,0,e.decimalPart)})}function lw(t){return oo(0,[Ai(0,yu,[Ke]),(t()(),qr(16777216,null,null,1,null,iw)),Mi(2,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),qr(16777216,null,null,1,null,ow)),Mi(4,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null)],function(t,n){var e=n.component;t(n,2,0,void 0!=e.integerPart),t(n,4,0,e.decimalPart)},null)}var uw=function(){function t(){}return t.prototype.transform=function(t){return t.reduce(function(t,n){return t+n.outputs.reduce(function(t,n){return t+n.coins},0)},0)},t}(),sw=yr({encapsulation:0,styles:[["h2[_ngcontent-%COMP%]{flex-grow:1}.header-container[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap}.header-container[_ngcontent-%COMP%] .nav-button-container[_ngcontent-%COMP%]{-ms-grid-row-align:center;align-self:center;height:36px}.header-container[_ngcontent-%COMP%] .nav-button-container[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#0072ff;text-decoration:none;text-transform:uppercase}.header-container[_ngcontent-%COMP%] .nav-button-container[_ngcontent-%COMP%] .nav-button[_ngcontent-%COMP%]{display:inline-block;line-height:36px;border:1px solid #0072ff;padding:0 15px;border-radius:100px}.header-container[_ngcontent-%COMP%] .nav-button-container[_ngcontent-%COMP%] .nav-button[_ngcontent-%COMP%]:hover{background-color:#eff0f0}.header-container[_ngcontent-%COMP%] .nav-button-container[_ngcontent-%COMP%] .font-awesome[_ngcontent-%COMP%]{font-family:'Font Awesome 5 Free';font-weight:900}"]],data:{}});function aw(t){return oo(0,[(t()(),Kr(0,0,null,null,9,"a",[["class","nav-button"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,n,e){var r=!0;return"click"===n&&(r=!1!==bi(t,1).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&r),r},null,null)),Mi(1,671744,null,0,op,[ep,mh,ml],{routerLink:[0,"routerLink"]},null),(t()(),eo(-1,null,["\n "])),(t()(),Kr(3,0,null,null,1,"span",[["class","font-awesome"]],null,null,null,null,null)),(t()(),eo(-1,null,["\uf104"])),(t()(),eo(-1,null,[" "])),(t()(),Kr(6,0,null,null,2,"span",[["class","-not-xs"]],null,null,null,null,null)),(t()(),eo(7,null,["",""])),Ai(131072,cy,[ly,ve]),(t()(),eo(-1,null,["\n "]))],function(t,n){t(n,1,0,"/app/block/"+(n.component.block.id-1))},function(t,n){t(n,0,0,bi(n,1).target,bi(n,1).href),t(n,7,0,pr(n,7,0,bi(n,8).transform("blockDetails.previous")))})}function cw(t){return oo(0,[(t()(),Kr(0,0,null,null,1,"span",[["class","-not-xs"]],null,null,null,null,null)),(t()(),eo(-1,null,["\xa0"]))],null,null)}function hw(t){return oo(0,[(t()(),Kr(0,0,null,null,9,"a",[["class","nav-button"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,n,e){var r=!0;return"click"===n&&(r=!1!==bi(t,1).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&r),r},null,null)),Mi(1,671744,null,0,op,[ep,mh,ml],{routerLink:[0,"routerLink"]},null),(t()(),eo(-1,null,["\n "])),(t()(),Kr(3,0,null,null,2,"span",[["class","-not-xs"]],null,null,null,null,null)),(t()(),eo(4,null,["",""])),Ai(131072,cy,[ly,ve]),(t()(),eo(-1,null,[" "])),(t()(),Kr(7,0,null,null,1,"span",[["class","font-awesome"]],null,null,null,null,null)),(t()(),eo(-1,null,["\uf105"])),(t()(),eo(-1,null,["\n "]))],function(t,n){t(n,1,0,"/app/block/"+(n.component.block.id+1))},function(t,n){t(n,0,0,bi(n,1).target,bi(n,1).href),t(n,4,0,pr(n,4,0,bi(n,5).transform("blockDetails.next")))})}function pw(t){return oo(0,[(t()(),Kr(0,0,null,null,10,"div",[["class","nav-button-container"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),qr(16777216,null,null,1,null,aw)),Mi(3,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,["\n "])),(t()(),qr(16777216,null,null,1,null,cw)),Mi(6,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,["\n "])),(t()(),qr(16777216,null,null,1,null,hw)),Mi(9,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,["\n "]))],function(t,n){var e=n.component;t(n,3,0,e.block.id>0),t(n,6,0,e.block.id>0&&e.block.id=0)),t(n,31,0,pr(n,31,0,t(n,32,0,bi(n.parent,0),n.context.$implicit.balance,"1.0-6")),!0),t(n,36,0,!n.context.$implicit.status),t(n,48,0,n.context.$implicit),t(n,79,0,n.context.$implicit.inputs),t(n,89,0,n.context.$implicit.outputs),t(n,115,0,pr(n,115,0,t(n,116,0,bi(n.parent,0),n.context.$implicit.initialBalance,"1.0-6"))),t(n,135,0,pr(n,135,0,t(n,136,0,bi(n.parent,0),n.context.$implicit.finalBalance,"1.0-6")))},function(t,n){t(n,11,0,pr(n,11,0,bi(n,12).transform("txBoxes.transactionID"))),t(n,18,0,bi(n,19).target,bi(n,19).href),t(n,20,0,n.context.$implicit.id),t(n,21,0,bi(n,22).cssClass),t(n,29,0,n.context.$implicit.balance<0?"":"+"),t(n,33,0,pr(n,33,0,bi(n,34).transform("general.coinIdentifier"))),t(n,44,0,pr(n,44,0,bi(n,45).transform("txBoxes.date"))),t(n,58,0,pr(n,58,0,bi(n,59).transform("txBoxes.inputs"))),t(n,63,0,pr(n,63,0,bi(n,64).transform("txBoxes.outputs"))),t(n,75,0,pr(n,75,0,bi(n,76).transform("txBoxes.inputs"))),t(n,85,0,pr(n,85,0,bi(n,86).transform("txBoxes.outputs"))),t(n,98,0,pr(n,98,0,bi(n,99).transform("txBoxes.balance"))),t(n,106,0,pr(n,106,0,bi(n,107).transform("txBoxes.initialBalance"))),t(n,110,0,pr(n,110,0,bi(n,111).transform("txBoxes.initialBalanceShort"))),t(n,126,0,pr(n,126,0,bi(n,127).transform("txBoxes.finalBalance"))),t(n,130,0,pr(n,130,0,bi(n,131).transform("txBoxes.finalBalanceShort")))})}function rx(t){return oo(0,[(t()(),Kr(0,0,null,null,2,"a",[["class","-page -hide-xs"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,n,e){var r=!0;return"click"===n&&(r=!1!==bi(t,1).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&r),r},null,null)),Mi(1,671744,null,0,op,[ep,mh,ml],{routerLink:[0,"routerLink"]},null),(t()(),eo(2,null,["",""]))],function(t,n){var e=n.component;t(n,1,0,"/app/address/"+e.address+"/"+(e.pageIndex-1))},function(t,n){var e=n.component;t(n,0,0,bi(n,1).target,bi(n,1).href),t(n,2,0,e.pageIndex-1)})}function ix(t){return oo(0,[(t()(),Kr(0,0,null,null,2,"a",[["class","-page"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,n,e){var r=!0;return"click"===n&&(r=!1!==bi(t,1).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&r),r},null,null)),Mi(1,671744,null,0,op,[ep,mh,ml],{routerLink:[0,"routerLink"]},null),(t()(),eo(2,null,["",""]))],function(t,n){var e=n.component;t(n,1,0,"/app/address/"+e.address+"/"+e.pageIndex)},function(t,n){var e=n.component;t(n,0,0,bi(n,1).target,bi(n,1).href),t(n,2,0,e.pageIndex)})}function ox(t){return oo(0,[(t()(),Kr(0,0,null,null,2,"a",[["class","-page"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,n,e){var r=!0;return"click"===n&&(r=!1!==bi(t,1).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&r),r},null,null)),Mi(1,671744,null,0,op,[ep,mh,ml],{routerLink:[0,"routerLink"]},null),(t()(),eo(2,null,["",""]))],function(t,n){var e=n.component;t(n,1,0,"/app/address/"+e.address+"/"+(e.pageIndex+2))},function(t,n){var e=n.component;t(n,0,0,bi(n,1).target,bi(n,1).href),t(n,2,0,e.pageIndex+2)})}function lx(t){return oo(0,[(t()(),Kr(0,0,null,null,2,"a",[["class","-page -hide-xs"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,n,e){var r=!0;return"click"===n&&(r=!1!==bi(t,1).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&r),r},null,null)),Mi(1,671744,null,0,op,[ep,mh,ml],{routerLink:[0,"routerLink"]},null),(t()(),eo(2,null,["",""]))],function(t,n){var e=n.component;t(n,1,0,"/app/address/"+e.address+"/"+(e.pageIndex+3))},function(t,n){var e=n.component;t(n,0,0,bi(n,1).target,bi(n,1).href),t(n,2,0,e.pageIndex+3)})}function ux(t){return oo(0,[(t()(),Kr(0,0,null,null,40,"div",[["class","pagination"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(2,0,null,null,4,"a",[["class","-first"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,n,e){var r=!0;return"click"===n&&(r=!1!==bi(t,5).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&r),r},null,null)),Mi(3,278528,null,0,zl,[Fe,Be,ae,se],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),to(4,{disabled:0}),Mi(5,671744,null,0,op,[ep,mh,ml],{routerLink:[0,"routerLink"]},null),(t()(),eo(-1,null,["\xab"])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(8,0,null,null,4,"a",[["class","-previous"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,n,e){var r=!0;return"click"===n&&(r=!1!==bi(t,11).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&r),r},null,null)),Mi(9,278528,null,0,zl,[Fe,Be,ae,se],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),to(10,{disabled:0}),Mi(11,671744,null,0,op,[ep,mh,ml],{routerLink:[0,"routerLink"]},null),(t()(),eo(-1,null,["\u2039"])),(t()(),eo(-1,null,["\n "])),(t()(),qr(16777216,null,null,1,null,rx)),Mi(15,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,["\n "])),(t()(),qr(16777216,null,null,1,null,ix)),Mi(18,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,["\n "])),(t()(),Kr(20,0,null,null,1,"a",[["class","-page disabled"]],null,null,null,null,null)),(t()(),eo(21,null,["",""])),(t()(),eo(-1,null,["\n "])),(t()(),qr(16777216,null,null,1,null,ox)),Mi(24,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,["\n "])),(t()(),qr(16777216,null,null,1,null,lx)),Mi(27,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,["\n "])),(t()(),Kr(29,0,null,null,4,"a",[["class","-next"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,n,e){var r=!0;return"click"===n&&(r=!1!==bi(t,32).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&r),r},null,null)),Mi(30,278528,null,0,zl,[Fe,Be,ae,se],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),to(31,{disabled:0}),Mi(32,671744,null,0,op,[ep,mh,ml],{routerLink:[0,"routerLink"]},null),(t()(),eo(-1,null,["\u203a"])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(35,0,null,null,4,"a",[["class","-last"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,n,e){var r=!0;return"click"===n&&(r=!1!==bi(t,38).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&r),r},null,null)),Mi(36,278528,null,0,zl,[Fe,Be,ae,se],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),to(37,{disabled:0}),Mi(38,671744,null,0,op,[ep,mh,ml],{routerLink:[0,"routerLink"]},null),(t()(),eo(-1,null,["\xbb"])),(t()(),eo(-1,null,["\n"]))],function(t,n){var e=n.component;t(n,3,0,"-first",t(n,4,0,e.pageIndex<=0)),t(n,5,0,"/app/address/"+e.address+"/1"),t(n,9,0,"-previous",t(n,10,0,e.pageIndex<=0)),t(n,11,0,"/app/address/"+e.address+"/"+(e.pageIndex>0?e.pageIndex:1)),t(n,15,0,e.pageIndex>1),t(n,18,0,e.pageIndex>0),t(n,24,0,e.pageIndex=e.pageCount-1)),t(n,32,0,"/app/address/"+e.address+"/"+(e.pageIndex+2=e.pageCount-1)),t(n,38,0,"/app/address/"+e.address+"/"+e.pageCount)},function(t,n){var e=n.component;t(n,2,0,bi(n,5).target,bi(n,5).href),t(n,8,0,bi(n,11).target,bi(n,11).href),t(n,21,0,e.pageIndex+1),t(n,29,0,bi(n,32).target,bi(n,32).href),t(n,35,0,bi(n,38).target,bi(n,38).href)})}function sx(t){return oo(0,[Ai(0,yu,[Ke]),(t()(),Kr(1,0,null,null,81,"div",[["class","element-details-wrapper -right-margin"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(3,0,null,null,1,"h2",[["class","-not-xs"]],null,null,null,null,null)),(t()(),eo(4,null,["",""])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(6,0,null,null,2,"h2",[["class","-xs-only"]],null,null,null,null,null)),(t()(),eo(7,null,["",""])),Ai(131072,cy,[ly,ve]),(t()(),eo(-1,null,["\n "])),(t()(),Kr(10,0,null,null,71,"div",[["class","element-details"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(12,0,null,null,12,"div",[["class","-row -xs-only"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),qr(16777216,null,null,1,null,Fw)),Mi(15,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,["\n "])),(t()(),Kr(17,0,null,null,2,"span",[],null,null,null,null,null)),(t()(),eo(18,null,["",""])),Ai(131072,cy,[ly,ve]),(t()(),Kr(20,0,null,null,0,"br",[["class","-xs-only"]],null,null,null,null,null)),(t()(),eo(-1,null,[" "])),(t()(),Kr(22,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),eo(23,null,["",""])),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(26,0,null,null,6,"div",[["class","-row -tx-number"]],null,null,null,null,null)),(t()(),Kr(27,0,null,null,2,"span",[],null,null,null,null,null)),(t()(),eo(28,null,["",""])),Ai(131072,cy,[ly,ve]),(t()(),Kr(30,0,null,null,0,"br",[["class","-xs-only"]],null,null,null,null,null)),(t()(),Kr(31,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),eo(32,null,[" "," "])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(34,0,null,null,15,"div",[["class","-row"]],null,null,null,null,null)),(t()(),Kr(35,0,null,null,2,"span",[],null,null,null,null,null)),(t()(),eo(36,null,["",""])),Ai(131072,cy,[ly,ve]),(t()(),Kr(38,0,null,null,0,"br",[["class","-xs-only"]],null,null,null,null,null)),(t()(),Kr(39,0,null,null,10,"div",[],null,null,null,null,null)),(t()(),eo(-1,null,[" "])),(t()(),qr(16777216,null,null,1,null,Bw)),Mi(42,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,[" "])),(t()(),qr(16777216,null,null,1,null,Uw)),Mi(45,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,[" "])),(t()(),qr(16777216,null,null,1,null,zw)),Mi(48,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,[" "])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(51,0,null,null,15,"div",[["class","-row"]],null,null,null,null,null)),(t()(),Kr(52,0,null,null,2,"span",[],null,null,null,null,null)),(t()(),eo(53,null,["",""])),Ai(131072,cy,[ly,ve]),(t()(),Kr(55,0,null,null,0,"br",[["class","-xs-only"]],null,null,null,null,null)),(t()(),Kr(56,0,null,null,10,"div",[],null,null,null,null,null)),(t()(),eo(-1,null,[" "])),(t()(),qr(16777216,null,null,1,null,Hw)),Mi(59,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,[" "])),(t()(),qr(16777216,null,null,1,null,qw)),Mi(62,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,[" "])),(t()(),qr(16777216,null,null,1,null,Kw)),Mi(65,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,[" "])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(68,0,null,null,12,"div",[["class","-row"]],null,null,null,null,null)),(t()(),Kr(69,0,null,null,2,"span",[],null,null,null,null,null)),(t()(),eo(70,null,["",""])),Ai(131072,cy,[ly,ve]),(t()(),Kr(72,0,null,null,0,"br",[["class","-xs-only"]],null,null,null,null,null)),(t()(),Kr(73,0,null,null,7,"div",[],null,null,null,null,null)),(t()(),eo(-1,null,[" "])),(t()(),qr(16777216,null,null,1,null,Gw)),Mi(76,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,[" "])),(t()(),qr(16777216,null,null,1,null,Ww)),Mi(79,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,[" "])),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n"])),(t()(),eo(-1,null,["\n"])),(t()(),Kr(84,0,null,null,4,"div",[["class","-qr-code -not-xs"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),qr(16777216,null,null,1,null,Qw)),Mi(87,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,["\n"])),(t()(),eo(-1,null,["\n\n"])),(t()(),qr(16777216,null,null,1,null,Yw)),Mi(91,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,["\n\n"])),(t()(),qr(16777216,null,null,1,null,ex)),Mi(94,802816,null,0,ql,[me,ge,Fe],{ngForOf:[0,"ngForOf"]},null),(t()(),eo(-1,null,["\n\n"])),(t()(),qr(16777216,null,null,1,null,ux)),Mi(97,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,["\n"]))],function(t,n){var e=n.component;t(n,15,0,e.address),t(n,42,0,e.transactions),t(n,45,0,e.transactions),t(n,48,0,!e.transactions),t(n,59,0,e.transactions),t(n,62,0,e.transactions),t(n,65,0,!e.transactions),t(n,76,0,e.address),t(n,79,0,!e.address),t(n,87,0,e.address),t(n,91,0,void 0===e.transactions),t(n,94,0,e.pageTransactions),t(n,97,0,e.transactions&&e.transactions.length>e.pageSize)},function(t,n){var e=n.component;t(n,4,0,e.address),t(n,7,0,pr(n,7,0,bi(n,8).transform("addressDetail.title"))),t(n,18,0,pr(n,18,0,bi(n,19).transform("general.address"))),t(n,23,0,e.address?e.address:e.loadingMsg),t(n,28,0,pr(n,28,0,bi(n,29).transform("addressDetail.txsNumber"))),t(n,32,0,e.transactions?e.transactions.length:e.loadingMsg),t(n,36,0,pr(n,36,0,bi(n,37).transform("addressDetail.totalReceived"))),t(n,53,0,pr(n,53,0,bi(n,54).transform("addressDetail.currentBalance"))),t(n,70,0,pr(n,70,0,bi(n,71).transform("addressDetail.tools")))})}var ax=si("app-address-detail",O_,function(t){return oo(0,[(t()(),Kr(0,0,null,null,1,"app-address-detail",[],null,null,null,sx,Vw)),Mi(1,114688,null,0,O_,[cf,gf,mh,ep,ly],null,null)],function(t,n){t(n,1,0)},null)},{},{},[]),cx=yr({encapsulation:0,styles:[[""]],data:{}});function hx(t){return oo(0,[(t()(),Kr(0,0,null,null,1,"date-formatter",[],null,null,null,B_,L_)),Mi(1,49152,null,0,D_,[],{date:[0,"date"]},null)],function(t,n){t(n,1,0,n.component.transaction.timestamp)},null)}function px(t){return oo(0,[(t()(),Kr(0,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),eo(1,null,["",""]))],null,function(t,n){t(n,1,0,n.component.loadingMsg)})}function fx(t){return oo(0,[(t()(),Kr(0,0,null,null,2,"a",[["class","-link"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,n,e){var r=!0;return"click"===n&&(r=!1!==bi(t,1).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&r),r},null,null)),Mi(1,671744,null,0,op,[ep,mh,ml],{routerLink:[0,"routerLink"]},null),(t()(),eo(2,null,["",""]))],function(t,n){t(n,1,0,"/app/block/"+n.component.transaction.block)},function(t,n){var e=n.component;t(n,0,0,bi(n,1).target,bi(n,1).href),t(n,2,0,e.transaction.block)})}function dx(t){return oo(0,[(t()(),Kr(0,0,null,null,1,"copy-button",[],[[1,"class",0]],null,null,nw,tw)),Mi(1,49152,null,0,J_,[],{text:[0,"text"]},null)],function(t,n){t(n,1,0,n.component.transaction.block)},function(t,n){t(n,0,0,bi(n,1).cssClass)})}function yx(t){return oo(0,[(t()(),Kr(0,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),eo(1,null,["",""]))],null,function(t,n){t(n,1,0,n.component.loadingMsg)})}function gx(t){return oo(0,[(t()(),Kr(0,0,null,null,4,"span",[],null,null,null,null,null)),(t()(),eo(1,null,["\n "," "])),Ai(131072,cy,[ly,ve]),(t()(),Kr(3,0,null,null,0,"i",[["class","fa fa-spinner fa-spin fa-fw"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "]))],null,function(t,n){t(n,1,0,pr(n,1,0,bi(n,2).transform("general.waitingData")))})}function mx(t){return oo(0,[(t()(),eo(0,null,["",""]))],null,function(t,n){t(n,0,0,n.component.longErrorMsg)})}function vx(t){return oo(0,[(t()(),Kr(0,0,null,null,9,"div",[["class","row -msg-container"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(2,0,null,null,6,"div",[["class","col-sm-12"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),qr(16777216,null,null,1,null,gx)),Mi(5,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),eo(-1,null,["\n "])),(t()(),qr(0,[["error_msg",2]],null,0,null,mx)),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n"]))],function(t,n){t(n,5,0,!n.component.longErrorMsg,bi(n,7))},null)}function bx(t){return oo(0,[(t()(),Kr(0,0,null,null,2,"a",[],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,n,e){var r=!0;return"click"===n&&(r=!1!==bi(t,1).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&r),r},null,null)),Mi(1,671744,null,0,op,[ep,mh,ml],{routerLink:[0,"routerLink"]},null),(t()(),eo(2,null,["",""]))],function(t,n){t(n,1,0,"/app/transaction/"+n.component.transaction.id)},function(t,n){var e=n.component;t(n,0,0,bi(n,1).target,bi(n,1).href),t(n,2,0,e.transaction.id)})}function _x(t){return oo(0,[(t()(),Kr(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),eo(1,null,["",""]))],null,function(t,n){t(n,1,0,n.component.loadingMsg)})}function wx(t){return oo(0,[(t()(),Kr(0,0,null,null,1,"date-formatter",[],null,null,null,B_,L_)),Mi(1,49152,null,0,D_,[],{date:[0,"date"]},null)],function(t,n){t(n,1,0,n.component.transaction.timestamp)},null)}function xx(t){return oo(0,[(t()(),Kr(0,0,null,null,17,"div",[["class","-body"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(2,0,null,null,2,"a",[["class","-link"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,n,e){var r=!0;return"click"===n&&(r=!1!==bi(t,3).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&r),r},null,null)),Mi(3,671744,null,0,op,[ep,mh,ml],{routerLink:[0,"routerLink"]},null),(t()(),eo(4,null,["",""])),(t()(),Kr(5,0,null,null,1,"copy-button",[],[[1,"class",0]],null,null,nw,tw)),Mi(6,49152,null,0,J_,[],{text:[0,"text"]},null),(t()(),eo(-1,null,["\n "])),(t()(),Kr(8,0,null,null,8,"div",[["class","-balance"]],null,null,null,null,null)),(t()(),Kr(9,0,null,null,2,"div",[["class","-transparent -float-left"]],null,null,null,null,null)),(t()(),eo(10,null,["",":\xa0"])),Ai(131072,cy,[ly,ve]),(t()(),Kr(12,0,null,null,4,"div",[],null,null,null,null,null)),(t()(),eo(-1,null,[" "])),(t()(),Kr(14,0,null,null,2,"coins-formatter",[],null,null,null,lw,rw)),Mi(15,49152,null,0,ew,[],{amount:[0,"amount"]},null),Ji(16,2),(t()(),eo(-1,null,["\n "]))],function(t,n){t(n,3,0,"/app/address/"+n.context.$implicit.address),t(n,6,0,n.context.$implicit.address),t(n,15,0,pr(n,15,0,t(n,16,0,bi(n.parent.parent,0),n.context.$implicit.coins,"1.0-6")))},function(t,n){t(n,2,0,bi(n,3).target,bi(n,3).href),t(n,4,0,n.context.$implicit.address),t(n,5,0,bi(n,6).cssClass),t(n,10,0,pr(n,10,0,bi(n,11).transform("general.coins")))})}function Cx(t){return oo(0,[(t()(),Kr(0,0,null,null,17,"div",[["class","-body"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(2,0,null,null,2,"a",[["class","-link"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,n,e){var r=!0;return"click"===n&&(r=!1!==bi(t,3).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&r),r},null,null)),Mi(3,671744,null,0,op,[ep,mh,ml],{routerLink:[0,"routerLink"]},null),(t()(),eo(4,null,["",""])),(t()(),Kr(5,0,null,null,1,"copy-button",[],[[1,"class",0]],null,null,nw,tw)),Mi(6,49152,null,0,J_,[],{text:[0,"text"]},null),(t()(),eo(-1,null,["\n "])),(t()(),Kr(8,0,null,null,8,"div",[["class","-balance"]],null,null,null,null,null)),(t()(),Kr(9,0,null,null,2,"div",[["class","-transparent -float-left"]],null,null,null,null,null)),(t()(),eo(10,null,["",":\xa0"])),Ai(131072,cy,[ly,ve]),(t()(),Kr(12,0,null,null,4,"div",[],null,null,null,null,null)),(t()(),eo(-1,null,[" "])),(t()(),Kr(14,0,null,null,2,"coins-formatter",[],null,null,null,lw,rw)),Mi(15,49152,null,0,ew,[],{amount:[0,"amount"]},null),Ji(16,2),(t()(),eo(-1,null,["\n "]))],function(t,n){t(n,3,0,"/app/address/"+n.context.$implicit.address),t(n,6,0,n.context.$implicit.address),t(n,15,0,pr(n,15,0,t(n,16,0,bi(n.parent.parent,0),n.context.$implicit.coins,"1.0-6")))},function(t,n){t(n,2,0,bi(n,3).target,bi(n,3).href),t(n,4,0,n.context.$implicit.address),t(n,5,0,bi(n,6).cssClass),t(n,10,0,pr(n,10,0,bi(n,11).transform("general.coins")))})}function Sx(t){return oo(0,[(t()(),Kr(0,0,null,null,80,"div",[["class","transaction"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(2,0,null,null,35,"div",[["class","-title"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(4,0,null,null,32,"div",[["class","row"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(6,0,null,null,20,"div",[["class","col-md-8 col-sm-12"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(8,0,null,null,17,"div",[["class","-row"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(10,0,null,null,4,"div",[["class","-float-left"]],null,null,null,null,null)),(t()(),eo(11,null,["",""])),Ai(131072,cy,[ly,ve]),(t()(),Kr(13,0,null,null,1,"span",[["class","-xs-sm-only"]],null,null,null,null,null)),(t()(),eo(-1,null,[":"])),(t()(),Kr(15,0,null,null,0,"br",[["class","-xs-sm-only"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(17,0,null,null,4,"div",[],null,null,null,null,null)),(t()(),qr(16777216,null,null,1,null,bx)),Mi(19,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),Kr(20,0,null,null,1,"copy-button",[],[[1,"class",0]],null,null,nw,tw)),Mi(21,49152,null,0,J_,[],{text:[0,"text"]},null),(t()(),eo(-1,null,["\n "])),(t()(),qr(16777216,null,null,1,null,_x)),Mi(24,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(28,0,null,null,7,"div",[["class","col-md-4 col-sm-12 -date"]],null,null,null,null,null)),(t()(),Kr(29,0,null,null,6,"div",[["class","-row"]],null,null,null,null,null)),(t()(),Kr(30,0,null,null,3,"span",[["class","-xs-sm-only"]],null,null,null,null,null)),(t()(),eo(31,null,["",":"])),Ai(131072,cy,[ly,ve]),(t()(),Kr(33,0,null,null,0,"br",[],null,null,null,null,null)),(t()(),qr(16777216,null,null,1,null,wx)),Mi(35,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n\n "])),(t()(),Kr(39,0,null,null,14,"div",[["class","-header -not-xs"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(41,0,null,null,11,"div",[["class","row"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(43,0,null,null,3,"div",[["class","col-sm-6"]],null,null,null,null,null)),(t()(),Kr(44,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),eo(45,null,["",""])),Ai(131072,cy,[ly,ve]),(t()(),eo(-1,null,["\n "])),(t()(),Kr(48,0,null,null,3,"div",[["class","col-sm-6"]],null,null,null,null,null)),(t()(),Kr(49,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),eo(50,null,["",""])),Ai(131072,cy,[ly,ve]),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(55,0,null,null,24,"div",[["class","-data"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(57,0,null,null,21,"div",[["class","row"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(59,0,null,null,8,"div",[["class","col-sm-6"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(61,0,null,null,2,"div",[["class","-header -xs-only"]],null,null,null,null,null)),(t()(),eo(62,null,["",""])),Ai(131072,cy,[ly,ve]),(t()(),eo(-1,null,["\n "])),(t()(),qr(16777216,null,null,1,null,xx)),Mi(66,802816,null,0,ql,[me,ge,Fe],{ngForOf:[0,"ngForOf"]},null),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(69,0,null,null,8,"div",[["class","col-sm-6"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(71,0,null,null,2,"div",[["class","-header -xs-only"]],null,null,null,null,null)),(t()(),eo(72,null,["",""])),Ai(131072,cy,[ly,ve]),(t()(),eo(-1,null,["\n "])),(t()(),qr(16777216,null,null,1,null,Cx)),Mi(76,802816,null,0,ql,[me,ge,Fe],{ngForOf:[0,"ngForOf"]},null),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n"]))],function(t,n){var e=n.component;t(n,19,0,e.transaction),t(n,21,0,e.transaction.id),t(n,24,0,void 0===e.transaction),t(n,35,0,e.transaction),t(n,66,0,e.transaction.inputs),t(n,76,0,e.transaction.outputs)},function(t,n){t(n,11,0,pr(n,11,0,bi(n,12).transform("txBoxes.transactionID"))),t(n,20,0,bi(n,21).cssClass),t(n,31,0,pr(n,31,0,bi(n,32).transform("txBoxes.date"))),t(n,45,0,pr(n,45,0,bi(n,46).transform("txBoxes.inputs"))),t(n,50,0,pr(n,50,0,bi(n,51).transform("txBoxes.outputs"))),t(n,62,0,pr(n,62,0,bi(n,63).transform("txBoxes.inputs"))),t(n,72,0,pr(n,72,0,bi(n,73).transform("txBoxes.outputs")))})}function Ox(t){return oo(0,[Ai(0,yu,[Ke]),(t()(),Kr(1,0,null,null,58,"div",[["class","element-details-wrapper"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(3,0,null,null,2,"h2",[],null,null,null,null,null)),(t()(),eo(4,null,["",""])),Ai(131072,cy,[ly,ve]),(t()(),eo(-1,null,["\n "])),(t()(),Kr(7,0,null,null,51,"div",[["class","element-details"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(9,0,null,null,8,"div",[["class","-row"]],null,null,null,null,null)),(t()(),Kr(10,0,null,null,2,"span",[],null,null,null,null,null)),(t()(),eo(11,null,["",""])),Ai(131072,cy,[ly,ve]),(t()(),Kr(13,0,null,null,0,"br",[["class","-xs-only"]],null,null,null,null,null)),(t()(),Kr(14,0,null,null,3,"div",[],null,null,null,null,null)),(t()(),eo(15,null,[" "," "])),Ai(131072,cy,[ly,ve]),Ai(131072,cy,[ly,ve]),(t()(),eo(-1,null,["\n "])),(t()(),Kr(19,0,null,null,12,"div",[["class","-row"]],null,null,null,null,null)),(t()(),Kr(20,0,null,null,2,"span",[],null,null,null,null,null)),(t()(),eo(21,null,["",""])),Ai(131072,cy,[ly,ve]),(t()(),Kr(23,0,null,null,0,"br",[["class","-xs-only"]],null,null,null,null,null)),(t()(),Kr(24,0,null,null,7,"div",[],null,null,null,null,null)),(t()(),eo(-1,null,[" "])),(t()(),qr(16777216,null,null,1,null,hx)),Mi(27,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,[" "])),(t()(),qr(16777216,null,null,1,null,px)),Mi(30,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,[" "])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(33,0,null,null,7,"div",[["class","-row"]],null,null,null,null,null)),(t()(),Kr(34,0,null,null,2,"span",[],null,null,null,null,null)),(t()(),eo(35,null,["",""])),Ai(131072,cy,[ly,ve]),(t()(),Kr(37,0,null,null,0,"br",[["class","-xs-only"]],null,null,null,null,null)),(t()(),Kr(38,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),eo(39,null,[" "," "])),Ji(40,1),(t()(),eo(-1,null,["\n "])),(t()(),Kr(42,0,null,null,15,"div",[["class","-row"]],null,null,null,null,null)),(t()(),Kr(43,0,null,null,2,"span",[],null,null,null,null,null)),(t()(),eo(44,null,["",""])),Ai(131072,cy,[ly,ve]),(t()(),Kr(46,0,null,null,0,"br",[["class","-xs-only"]],null,null,null,null,null)),(t()(),Kr(47,0,null,null,10,"div",[],null,null,null,null,null)),(t()(),eo(-1,null,[" "])),(t()(),qr(16777216,null,null,1,null,fx)),Mi(50,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,[" "])),(t()(),qr(16777216,null,null,1,null,dx)),Mi(53,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,[" "])),(t()(),qr(16777216,null,null,1,null,yx)),Mi(56,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,[" "])),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n"])),(t()(),eo(-1,null,["\n\n"])),(t()(),qr(16777216,null,null,1,null,vx)),Mi(62,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,["\n\n"])),(t()(),qr(16777216,null,null,1,null,Sx)),Mi(65,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,["\n"]))],function(t,n){var e=n.component;t(n,27,0,e.transaction),t(n,30,0,!e.transaction),t(n,50,0,e.transaction),t(n,53,0,e.transaction),t(n,56,0,!e.transaction),t(n,62,0,void 0===e.transaction),t(n,65,0,e.transaction)},function(t,n){var e=n.component;t(n,4,0,pr(n,4,0,bi(n,5).transform("transactionDetail.title"))),t(n,11,0,pr(n,11,0,bi(n,12).transform("transactionDetail.status"))),t(n,15,0,e.transaction?pr(n,15,0,e.transaction.status?bi(n,16).transform("transactionDetail.confirmed"):bi(n,17).transform("transactionDetail.unconfirmed")):e.loadingMsg),t(n,21,0,pr(n,21,0,bi(n,22).transform("transactionDetail.timestamp"))),t(n,35,0,pr(n,35,0,bi(n,36).transform("transactionDetail.size"))),t(n,39,0,e.transaction?pr(n,39,0,t(n,40,0,bi(n,0),e.transaction.length))+" bytes":e.loadingMsg),t(n,44,0,pr(n,44,0,bi(n,45).transform("transactionDetail.block")))})}var Ex=si("app-transaction-detail",gy,function(t){return oo(0,[(t()(),Kr(0,0,null,null,1,"app-transaction-detail",[],null,null,null,Ox,cx)),Mi(1,114688,null,0,gy,[gf,mh,ep,ly],null,null)],function(t,n){t(n,1,0)},null)},{},{},[]),kx=yr({encapsulation:0,styles:[[""]],data:{}});function Tx(t){return oo(0,[(t()(),Kr(0,0,null,null,1,"date-formatter",[],null,null,null,B_,L_)),Mi(1,49152,null,0,D_,[],{date:[0,"date"],dateMultiplier:[1,"dateMultiplier"]},null)],function(t,n){t(n,1,0,n.component.mostRecent,1)},null)}function Px(t){return oo(0,[(t()(),Kr(0,0,null,null,2,"span",[],null,null,null,null,null)),(t()(),eo(1,null,["",""])),Ai(131072,cy,[ly,ve])],null,function(t,n){t(n,1,0,pr(n,1,0,bi(n,2).transform("unconfirmedTx.withoutTransactions")))})}function Ix(t){return oo(0,[(t()(),Kr(0,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),eo(1,null,["",""]))],null,function(t,n){t(n,1,0,n.component.loadingMsg)})}function Mx(t){return oo(0,[(t()(),Kr(0,0,null,null,1,"date-formatter",[],null,null,null,B_,L_)),Mi(1,49152,null,0,D_,[],{date:[0,"date"],dateMultiplier:[1,"dateMultiplier"]},null)],function(t,n){t(n,1,0,n.component.leastRecent,1)},null)}function Ax(t){return oo(0,[(t()(),Kr(0,0,null,null,2,"span",[],null,null,null,null,null)),(t()(),eo(1,null,["",""])),Ai(131072,cy,[ly,ve])],null,function(t,n){t(n,1,0,pr(n,1,0,bi(n,2).transform("unconfirmedTx.withoutTransactions")))})}function Nx(t){return oo(0,[(t()(),Kr(0,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),eo(1,null,["",""]))],null,function(t,n){t(n,1,0,n.component.loadingMsg)})}function jx(t){return oo(0,[(t()(),Kr(0,0,null,null,4,"span",[],null,null,null,null,null)),(t()(),eo(1,null,["\n "," "])),Ai(131072,cy,[ly,ve]),(t()(),Kr(3,0,null,null,0,"i",[["class","fa fa-spinner fa-spin fa-fw"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "]))],null,function(t,n){t(n,1,0,pr(n,1,0,bi(n,2).transform("general.waitingData")))})}function Rx(t){return oo(0,[(t()(),eo(0,null,["",""]))],null,function(t,n){t(n,0,0,n.component.longErrorMsg)})}function Dx(t){return oo(0,[(t()(),Kr(0,0,null,null,9,"div",[["class","row -msg-container"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(2,0,null,null,6,"div",[["class","col-sm-12"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),qr(16777216,null,null,1,null,jx)),Mi(5,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),eo(-1,null,["\n "])),(t()(),qr(0,[["error_msg",2]],null,0,null,Rx)),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n"]))],function(t,n){t(n,5,0,!n.component.longErrorMsg,bi(n,7))},null)}function Lx(t){return oo(0,[(t()(),Kr(0,0,null,null,2,"a",[],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,n,e){var r=!0;return"click"===n&&(r=!1!==bi(t,1).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&r),r},null,null)),Mi(1,671744,null,0,op,[ep,mh,ml],{routerLink:[0,"routerLink"]},null),(t()(),eo(2,null,["",""]))],function(t,n){t(n,1,0,"/app/transaction/"+n.parent.context.$implicit.id)},function(t,n){t(n,0,0,bi(n,1).target,bi(n,1).href),t(n,2,0,n.parent.context.$implicit.id)})}function Vx(t){return oo(0,[(t()(),Kr(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),eo(1,null,["",""]))],null,function(t,n){t(n,1,0,n.component.loadingMsg)})}function Fx(t){return oo(0,[(t()(),Kr(0,0,null,null,1,"date-formatter",[],null,null,null,B_,L_)),Mi(1,49152,null,0,D_,[],{date:[0,"date"],dateMultiplier:[1,"dateMultiplier"]},null)],function(t,n){t(n,1,0,n.parent.context.$implicit.timestamp,1)},null)}function Bx(t){return oo(0,[(t()(),Kr(0,0,null,null,16,"div",[["class","-body"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(2,0,null,null,2,"a",[["class","-link"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,n,e){var r=!0;return"click"===n&&(r=!1!==bi(t,3).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&r),r},null,null)),Mi(3,671744,null,0,op,[ep,mh,ml],{routerLink:[0,"routerLink"]},null),(t()(),eo(4,null,["",""])),(t()(),Kr(5,0,null,null,1,"copy-button",[],[[1,"class",0]],null,null,nw,tw)),Mi(6,49152,null,0,J_,[],{text:[0,"text"]},null),(t()(),eo(-1,null,["\n "])),(t()(),Kr(8,0,null,null,7,"div",[["class","-balance"]],null,null,null,null,null)),(t()(),Kr(9,0,null,null,2,"span",[["class","-transparent"]],null,null,null,null,null)),(t()(),eo(10,null,["",":"])),Ai(131072,cy,[ly,ve]),(t()(),eo(-1,null,[" "])),(t()(),Kr(13,0,null,null,2,"coins-formatter",[],null,null,null,lw,rw)),Mi(14,49152,null,0,ew,[],{amount:[0,"amount"]},null),Ji(15,2),(t()(),eo(-1,null,["\n "]))],function(t,n){t(n,3,0,"/app/address/"+n.context.$implicit.address),t(n,6,0,n.context.$implicit.address),t(n,14,0,pr(n,14,0,t(n,15,0,bi(n.parent.parent,0),n.context.$implicit.coins,"1.0-6")))},function(t,n){t(n,2,0,bi(n,3).target,bi(n,3).href),t(n,4,0,n.context.$implicit.address),t(n,5,0,bi(n,6).cssClass),t(n,10,0,pr(n,10,0,bi(n,11).transform("general.coins")))})}function Ux(t){return oo(0,[(t()(),Kr(0,0,null,null,17,"div",[["class","-body"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(2,0,null,null,2,"a",[["class","-link"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,n,e){var r=!0;return"click"===n&&(r=!1!==bi(t,3).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&r),r},null,null)),Mi(3,671744,null,0,op,[ep,mh,ml],{routerLink:[0,"routerLink"]},null),(t()(),eo(4,null,["",""])),(t()(),Kr(5,0,null,null,1,"copy-button",[],[[1,"class",0]],null,null,nw,tw)),Mi(6,49152,null,0,J_,[],{text:[0,"text"]},null),(t()(),eo(-1,null,["\n "])),(t()(),Kr(8,0,null,null,8,"div",[["class","-balance"]],null,null,null,null,null)),(t()(),Kr(9,0,null,null,2,"div",[["class","-transparent -float-left"]],null,null,null,null,null)),(t()(),eo(10,null,["",":\xa0"])),Ai(131072,cy,[ly,ve]),(t()(),Kr(12,0,null,null,4,"div",[],null,null,null,null,null)),(t()(),eo(-1,null,[" "])),(t()(),Kr(14,0,null,null,2,"coins-formatter",[],null,null,null,lw,rw)),Mi(15,49152,null,0,ew,[],{amount:[0,"amount"]},null),Ji(16,2),(t()(),eo(-1,null,["\n "]))],function(t,n){t(n,3,0,"/app/address/"+n.context.$implicit.address),t(n,6,0,n.context.$implicit.address),t(n,15,0,pr(n,15,0,t(n,16,0,bi(n.parent.parent,0),n.context.$implicit.coins,"1.0-6")))},function(t,n){t(n,2,0,bi(n,3).target,bi(n,3).href),t(n,4,0,n.context.$implicit.address),t(n,5,0,bi(n,6).cssClass),t(n,10,0,pr(n,10,0,bi(n,11).transform("general.coins")))})}function zx(t){return oo(0,[(t()(),Kr(0,0,null,null,80,"div",[["class","transaction"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(2,0,null,null,35,"div",[["class","-title"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(4,0,null,null,32,"div",[["class","row"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(6,0,null,null,20,"div",[["class","col-md-8 col-sm-12"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(8,0,null,null,17,"div",[["class","-row"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(10,0,null,null,4,"div",[["class","-float-left"]],null,null,null,null,null)),(t()(),eo(11,null,["",""])),Ai(131072,cy,[ly,ve]),(t()(),Kr(13,0,null,null,1,"span",[["class","-xs-sm-only"]],null,null,null,null,null)),(t()(),eo(-1,null,[":"])),(t()(),Kr(15,0,null,null,0,"br",[["class","-xs-sm-only"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(17,0,null,null,4,"div",[],null,null,null,null,null)),(t()(),qr(16777216,null,null,1,null,Lx)),Mi(19,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),Kr(20,0,null,null,1,"copy-button",[],[[1,"class",0]],null,null,nw,tw)),Mi(21,49152,null,0,J_,[],{text:[0,"text"]},null),(t()(),eo(-1,null,["\n "])),(t()(),qr(16777216,null,null,1,null,Vx)),Mi(24,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(28,0,null,null,7,"div",[["class","col-md-4 col-sm-12 -date"]],null,null,null,null,null)),(t()(),Kr(29,0,null,null,6,"div",[["class","-row"]],null,null,null,null,null)),(t()(),Kr(30,0,null,null,3,"span",[["class","-xs-sm-only"]],null,null,null,null,null)),(t()(),eo(31,null,["",":"])),Ai(131072,cy,[ly,ve]),(t()(),Kr(33,0,null,null,0,"br",[],null,null,null,null,null)),(t()(),qr(16777216,null,null,1,null,Fx)),Mi(35,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n\n "])),(t()(),Kr(39,0,null,null,14,"div",[["class","-header -not-xs"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(41,0,null,null,11,"div",[["class","row"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(43,0,null,null,3,"div",[["class","col-sm-6"]],null,null,null,null,null)),(t()(),Kr(44,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),eo(45,null,["",""])),Ai(131072,cy,[ly,ve]),(t()(),eo(-1,null,["\n "])),(t()(),Kr(48,0,null,null,3,"div",[["class","col-sm-6"]],null,null,null,null,null)),(t()(),Kr(49,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),eo(50,null,["",""])),Ai(131072,cy,[ly,ve]),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(55,0,null,null,24,"div",[["class","-data"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(57,0,null,null,21,"div",[["class","row"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(59,0,null,null,8,"div",[["class","col-sm-6"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(61,0,null,null,2,"div",[["class","-header -xs-only"]],null,null,null,null,null)),(t()(),eo(62,null,["",""])),Ai(131072,cy,[ly,ve]),(t()(),eo(-1,null,["\n "])),(t()(),qr(16777216,null,null,1,null,Bx)),Mi(66,802816,null,0,ql,[me,ge,Fe],{ngForOf:[0,"ngForOf"]},null),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(69,0,null,null,8,"div",[["class","col-sm-6"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(71,0,null,null,2,"div",[["class","-header -xs-only"]],null,null,null,null,null)),(t()(),eo(72,null,["",""])),Ai(131072,cy,[ly,ve]),(t()(),eo(-1,null,["\n "])),(t()(),qr(16777216,null,null,1,null,Ux)),Mi(76,802816,null,0,ql,[me,ge,Fe],{ngForOf:[0,"ngForOf"]},null),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n"]))],function(t,n){t(n,19,0,n.context.$implicit),t(n,21,0,n.context.$implicit.id),t(n,24,0,void 0===n.context.$implicit),t(n,35,0,n.context.$implicit),t(n,66,0,n.context.$implicit.inputs),t(n,76,0,n.context.$implicit.outputs)},function(t,n){t(n,11,0,pr(n,11,0,bi(n,12).transform("txBoxes.transactionID"))),t(n,20,0,bi(n,21).cssClass),t(n,31,0,pr(n,31,0,bi(n,32).transform("txBoxes.firstSeen"))),t(n,45,0,pr(n,45,0,bi(n,46).transform("txBoxes.inputs"))),t(n,50,0,pr(n,50,0,bi(n,51).transform("txBoxes.outputs"))),t(n,62,0,pr(n,62,0,bi(n,63).transform("txBoxes.inputs"))),t(n,72,0,pr(n,72,0,bi(n,73).transform("txBoxes.outputs")))})}function Hx(t){return oo(0,[Ai(0,yu,[Ke]),(t()(),Kr(1,0,null,null,61,"div",[["class","element-details-wrapper"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(3,0,null,null,2,"h2",[],null,null,null,null,null)),(t()(),eo(4,null,["",""])),Ai(131072,cy,[ly,ve]),(t()(),eo(-1,null,["\n "])),(t()(),Kr(7,0,null,null,54,"div",[["class","element-details"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(9,0,null,null,7,"div",[["class","-row"]],null,null,null,null,null)),(t()(),Kr(10,0,null,null,2,"span",[],null,null,null,null,null)),(t()(),eo(11,null,["",""])),Ai(131072,cy,[ly,ve]),(t()(),Kr(13,0,null,null,0,"br",[["class","-xs-only"]],null,null,null,null,null)),(t()(),Kr(14,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),eo(15,null,[" "," "])),Ai(131072,cy,[ly,ve]),(t()(),eo(-1,null,["\n "])),(t()(),Kr(18,0,null,null,8,"div",[["class","-row"]],null,null,null,null,null)),(t()(),Kr(19,0,null,null,2,"span",[],null,null,null,null,null)),(t()(),eo(20,null,["",""])),Ai(131072,cy,[ly,ve]),(t()(),Kr(22,0,null,null,0,"br",[["class","-xs-only"]],null,null,null,null,null)),(t()(),Kr(23,0,null,null,3,"div",[],null,null,null,null,null)),(t()(),eo(24,null,[" "," "])),Ji(25,1),Ai(131072,cy,[ly,ve]),(t()(),eo(-1,null,["\n "])),(t()(),Kr(28,0,null,null,15,"div",[["class","-row"]],null,null,null,null,null)),(t()(),Kr(29,0,null,null,2,"span",[],null,null,null,null,null)),(t()(),eo(30,null,["",""])),Ai(131072,cy,[ly,ve]),(t()(),Kr(32,0,null,null,0,"br",[["class","-xs-only"]],null,null,null,null,null)),(t()(),Kr(33,0,null,null,10,"div",[],null,null,null,null,null)),(t()(),eo(-1,null,[" "])),(t()(),qr(16777216,null,null,1,null,Tx)),Mi(36,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,[" "])),(t()(),qr(16777216,null,null,1,null,Px)),Mi(39,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,[" "])),(t()(),qr(16777216,null,null,1,null,Ix)),Mi(42,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,[" "])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(45,0,null,null,15,"div",[["class","-row"]],null,null,null,null,null)),(t()(),Kr(46,0,null,null,2,"span",[],null,null,null,null,null)),(t()(),eo(47,null,["",""])),Ai(131072,cy,[ly,ve]),(t()(),Kr(49,0,null,null,0,"br",[["class","-xs-only"]],null,null,null,null,null)),(t()(),Kr(50,0,null,null,10,"div",[],null,null,null,null,null)),(t()(),eo(-1,null,[" "])),(t()(),qr(16777216,null,null,1,null,Mx)),Mi(53,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,[" "])),(t()(),qr(16777216,null,null,1,null,Ax)),Mi(56,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,[" "])),(t()(),qr(16777216,null,null,1,null,Nx)),Mi(59,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,[" "])),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n"])),(t()(),eo(-1,null,["\n\n"])),(t()(),qr(16777216,null,null,1,null,Dx)),Mi(65,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,["\n\n"])),(t()(),qr(16777216,null,null,1,null,zx)),Mi(68,802816,null,0,ql,[me,ge,Fe],{ngForOf:[0,"ngForOf"]},null),(t()(),eo(-1,null,["\n"]))],function(t,n){var e=n.component;t(n,36,0,e.transactions&&e.transactions.length>0),t(n,39,0,e.transactions&&0==e.transactions.length),t(n,42,0,!e.transactions),t(n,53,0,e.transactions&&e.transactions.length>0),t(n,56,0,e.transactions&&0==e.transactions.length),t(n,59,0,!e.transactions),t(n,65,0,void 0===e.transactions),t(n,68,0,e.transactions)},function(t,n){var e=n.component;t(n,4,0,pr(n,4,0,bi(n,5).transform("unconfirmedTx.title"))),t(n,11,0,pr(n,11,0,bi(n,12).transform("unconfirmedTx.quantity"))),t(n,15,0,e.transactions?e.transactions.length>0?e.transactions.length:pr(n,15,0,bi(n,16).transform("unconfirmedTx.withoutTransactions")):e.loadingMsg),t(n,20,0,pr(n,20,0,bi(n,21).transform("unconfirmedTx.size"))),t(n,24,0,e.transactions?e.transactions.length>0?pr(n,24,0,t(n,25,0,bi(n,0),e.totalSize))+" bytes":pr(n,24,0,bi(n,26).transform("unconfirmedTx.withoutTransactions")):e.loadingMsg),t(n,30,0,pr(n,30,0,bi(n,31).transform("unconfirmedTx.newest"))),t(n,47,0,pr(n,47,0,bi(n,48).transform("unconfirmedTx.oldest")))})}var qx=si("app-unconfirmed-transactions",dy,function(t){return oo(0,[(t()(),Kr(0,0,null,null,1,"app-unconfirmed-transactions",[],null,null,null,Hx,kx)),Mi(1,114688,null,0,dy,[gf,ep,ly],null,null)],function(t,n){t(n,1,0)},null)},{},{},[]),Kx=yr({encapsulation:0,styles:[[""]],data:{}});function Gx(t){return oo(0,[(t()(),Kr(0,0,null,null,4,"span",[],null,null,null,null,null)),(t()(),eo(1,null,["\n "," "])),Ai(131072,cy,[ly,ve]),(t()(),Kr(3,0,null,null,0,"i",[["class","fa fa-spinner fa-spin fa-fw"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "]))],null,function(t,n){t(n,1,0,pr(n,1,0,bi(n,2).transform("general.waitingData")))})}function Wx(t){return oo(0,[(t()(),eo(0,null,["",""]))],null,function(t,n){t(n,0,0,n.component.longErrorMsg)})}function Qx(t){return oo(0,[(t()(),Kr(0,0,null,null,9,"div",[["class","row -msg-container"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(2,0,null,null,6,"div",[["class","col-sm-12"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),qr(16777216,null,null,1,null,Gx)),Mi(5,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),eo(-1,null,["\n "])),(t()(),qr(0,[["error_msg",2]],null,0,null,Wx)),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "]))],function(t,n){t(n,5,0,!n.component.longErrorMsg,bi(n,7))},null)}function $x(t){return oo(0,[(t()(),Kr(0,0,null,null,16,"a",[["class","-row"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,n,e){var r=!0;return"click"===n&&(r=!1!==bi(t,1).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&r),r},null,null)),Mi(1,671744,null,0,op,[ep,mh,ml],{routerLink:[0,"routerLink"]},null),(t()(),eo(-1,null,["\n "])),(t()(),Kr(3,0,null,null,12,"div",[["class","row"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(5,0,null,null,1,"div",[["class","col-sm-1 -not-xs -gray"]],null,null,null,null,null)),(t()(),eo(6,null,["",""])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(8,0,null,null,1,"div",[["class","col-xs-6 col-sm-8"]],null,null,null,null,null)),(t()(),eo(9,null,["",""])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(11,0,null,null,3,"div",[["class","col-xs-6 col-sm-3"]],null,null,null,null,null)),(t()(),Kr(12,0,null,null,2,"coins-formatter",[],null,null,null,lw,rw)),Mi(13,49152,null,0,ew,[],{amount:[0,"amount"]},null),Ji(14,2),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "]))],function(t,n){t(n,1,0,"/app/address/"+n.context.$implicit.address),t(n,13,0,pr(n,13,0,t(n,14,0,bi(n.parent,0),n.context.$implicit.coins,"1.0-6")))},function(t,n){t(n,0,0,bi(n,1).target,bi(n,1).href),t(n,6,0,n.context.index+1),t(n,9,0,n.context.$implicit.address)})}function Zx(t){return oo(0,[Ai(0,yu,[Ke]),(t()(),Kr(1,0,null,null,2,"h2",[],null,null,null,null,null)),(t()(),eo(2,null,["",""])),Ai(131072,cy,[ly,ve]),(t()(),eo(-1,null,["\n\n"])),(t()(),Kr(5,0,null,null,27,"div",[["class","table"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(7,0,null,null,18,"div",[["class","-header"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(9,0,null,null,15,"div",[["class","row"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(11,0,null,null,2,"div",[["class","col-sm-1 -not-xs"]],null,null,null,null,null)),(t()(),Kr(12,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),eo(-1,null,["#"])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(15,0,null,null,3,"div",[["class","col-xs-6 col-sm-8"]],null,null,null,null,null)),(t()(),Kr(16,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),eo(17,null,["",""])),Ai(131072,cy,[ly,ve]),(t()(),eo(-1,null,["\n "])),(t()(),Kr(20,0,null,null,3,"div",[["class","col-xs-6 col-sm-3"]],null,null,null,null,null)),(t()(),Kr(21,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),eo(22,null,["",""])),Ai(131072,cy,[ly,ve]),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),qr(16777216,null,null,1,null,Qx)),Mi(28,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,["\n "])),(t()(),qr(16777216,null,null,1,null,$x)),Mi(31,802816,null,0,ql,[me,ge,Fe],{ngForOf:[0,"ngForOf"]},null),(t()(),eo(-1,null,["\n"])),(t()(),eo(-1,null,["\n"]))],function(t,n){var e=n.component;t(n,28,0,!e.entries.length),t(n,31,0,e.entries)},function(t,n){t(n,2,0,pr(n,2,0,bi(n,3).transform("richlist.title"))),t(n,17,0,pr(n,17,0,bi(n,18).transform("general.address"))),t(n,22,0,pr(n,22,0,bi(n,23).transform("general.coins")))})}var Yx=si("ng-component",E_,function(t){return oo(0,[(t()(),Kr(0,0,null,null,1,"ng-component",[],null,null,null,Zx,Kx)),Mi(1,114688,null,0,E_,[cf,ly],null,null)],function(t,n){t(n,1,0)},null)},{},{},[]),Xx=yr({encapsulation:0,styles:[[""]],data:{}});function Jx(t){return oo(0,[(t()(),Kr(0,0,null,null,2,"a",[["class","-link"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,n,e){var r=!0;return"click"===n&&(r=!1!==bi(t,1).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&r),r},null,null)),Mi(1,671744,null,0,op,[ep,mh,ml],{routerLink:[0,"routerLink"]},null),(t()(),eo(2,null,["",""]))],function(t,n){t(n,1,0,"/app/address/"+n.component.address)},function(t,n){var e=n.component;t(n,0,0,bi(n,1).target,bi(n,1).href),t(n,2,0,e.address)})}function tC(t){return oo(0,[(t()(),Kr(0,0,null,null,1,"copy-button",[],[[1,"class",0]],null,null,nw,tw)),Mi(1,49152,null,0,J_,[],{text:[0,"text"]},null)],function(t,n){t(n,1,0,n.component.address)},function(t,n){t(n,0,0,bi(n,1).cssClass)})}function nC(t){return oo(0,[(t()(),Kr(0,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),eo(1,null,["",""]))],null,function(t,n){t(n,1,0,n.component.loadingMsg)})}function eC(t){return oo(0,[(t()(),Kr(0,0,null,null,2,"coins-formatter",[],null,null,null,lw,rw)),Mi(1,49152,null,0,ew,[],{amount:[0,"amount"]},null),Ji(2,2)],function(t,n){var e=n.component;t(n,1,0,pr(n,1,0,t(n,2,0,bi(n.parent,0),e.coins,"1.0-6")))},null)}function rC(t){return oo(0,[(t()(),Kr(0,0,null,null,2,"span",[],null,null,null,null,null)),(t()(),eo(1,null,["",""])),Ai(131072,cy,[ly,ve])],null,function(t,n){t(n,1,0,pr(n,1,0,bi(n,2).transform("general.coinIdentifier")))})}function iC(t){return oo(0,[(t()(),Kr(0,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),eo(1,null,["",""]))],null,function(t,n){t(n,1,0,n.component.loadingMsg)})}function oC(t){return oo(0,[(t()(),Kr(0,0,null,null,4,"span",[],null,null,null,null,null)),(t()(),eo(1,null,["\n "," "])),Ai(131072,cy,[ly,ve]),(t()(),Kr(3,0,null,null,0,"i",[["class","fa fa-spinner fa-spin fa-fw"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "]))],null,function(t,n){t(n,1,0,pr(n,1,0,bi(n,2).transform("general.waitingData")))})}function lC(t){return oo(0,[(t()(),eo(0,null,["",""]))],null,function(t,n){t(n,0,0,n.component.longErrorMsg)})}function uC(t){return oo(0,[(t()(),Kr(0,0,null,null,9,"div",[["class","row -msg-container"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(2,0,null,null,6,"div",[["class","col-sm-12"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),qr(16777216,null,null,1,null,oC)),Mi(5,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),eo(-1,null,["\n "])),(t()(),qr(0,[["error_msg",2]],null,0,null,lC)),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n"]))],function(t,n){t(n,5,0,!n.component.longErrorMsg,bi(n,7))},null)}function sC(t){return oo(0,[(t()(),Kr(0,0,null,null,1,"date-formatter",[],null,null,null,B_,L_)),Mi(1,49152,null,0,D_,[],{date:[0,"date"]},null)],function(t,n){t(n,1,0,n.parent.context.$implicit.time)},null)}function aC(t){return oo(0,[(t()(),Kr(0,0,null,null,61,"div",[["class","transaction"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(2,0,null,null,33,"div",[["class","-title"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(4,0,null,null,30,"div",[["class","row"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(6,0,null,null,18,"div",[["class","col-md-9 col-sm-12"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(8,0,null,null,15,"div",[["class","-row"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(10,0,null,null,4,"div",[["class","-float-left"]],null,null,null,null,null)),(t()(),eo(11,null,["",""])),Ai(131072,cy,[ly,ve]),(t()(),Kr(13,0,null,null,1,"span",[["class","-xs-sm-only"]],null,null,null,null,null)),(t()(),eo(-1,null,[":"])),(t()(),Kr(15,0,null,null,0,"br",[["class","-xs-sm-only"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(17,0,null,null,5,"div",[],null,null,null,null,null)),(t()(),Kr(18,0,null,null,2,"a",[],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,n,e){var r=!0;return"click"===n&&(r=!1!==bi(t,19).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&r),r},null,null)),Mi(19,671744,null,0,op,[ep,mh,ml],{routerLink:[0,"routerLink"]},null),(t()(),eo(20,null,["",""])),(t()(),Kr(21,0,null,null,1,"copy-button",[],[[1,"class",0]],null,null,nw,tw)),Mi(22,49152,null,0,J_,[],{text:[0,"text"]},null),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(26,0,null,null,7,"div",[["class","col-md-3 col-sm-12 -date"]],null,null,null,null,null)),(t()(),Kr(27,0,null,null,6,"div",[["class","-row"]],null,null,null,null,null)),(t()(),Kr(28,0,null,null,3,"span",[["class","-xs-sm-only"]],null,null,null,null,null)),(t()(),eo(29,null,["",":"])),Ai(131072,cy,[ly,ve]),(t()(),Kr(31,0,null,null,0,"br",[],null,null,null,null,null)),(t()(),qr(16777216,null,null,1,null,sC)),Mi(33,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n\n "])),(t()(),Kr(37,0,null,null,23,"div",[["class","-data -clear-background"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(39,0,null,null,20,"div",[["class","row"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(41,0,null,null,17,"div",[["class","col-sm-12"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(43,0,null,null,14,"div",[["class","-body"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(45,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),eo(46,null,["",""])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(48,0,null,null,8,"div",[["class","-balance"]],null,null,null,null,null)),(t()(),Kr(49,0,null,null,2,"div",[["class","-transparent -float-left"]],null,null,null,null,null)),(t()(),eo(50,null,["",":\xa0"])),Ai(131072,cy,[ly,ve]),(t()(),Kr(52,0,null,null,4,"div",[],null,null,null,null,null)),(t()(),eo(-1,null,[" "])),(t()(),Kr(54,0,null,null,2,"coins-formatter",[],null,null,null,lw,rw)),Mi(55,49152,null,0,ew,[],{amount:[0,"amount"]},null),Ji(56,2),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "]))],function(t,n){t(n,19,0,"/app/transaction/"+n.context.$implicit.src_tx),t(n,22,0,n.context.$implicit.src_tx),t(n,33,0,n.context.$implicit),t(n,55,0,pr(n,55,0,t(n,56,0,bi(n.parent.parent,0),n.context.$implicit.coins,"1.0-6")))},function(t,n){t(n,11,0,pr(n,11,0,bi(n,12).transform("unspentOutputs.origin"))),t(n,18,0,bi(n,19).target,bi(n,19).href),t(n,20,0,n.context.$implicit.src_tx),t(n,21,0,bi(n,22).cssClass),t(n,29,0,pr(n,29,0,bi(n,30).transform("unspentOutputs.date"))),t(n,46,0,n.context.$implicit.hash),t(n,50,0,pr(n,50,0,bi(n,51).transform("general.coins")))})}function cC(t){return oo(0,[(t()(),Kr(0,0,null,null,4,"div",[],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),qr(16777216,null,null,1,null,aC)),Mi(3,802816,null,0,ql,[me,ge,Fe],{ngForOf:[0,"ngForOf"]},null),(t()(),eo(-1,null,["\n"]))],function(t,n){t(n,3,0,n.component.outputs.head_outputs)},null)}function hC(t){return oo(0,[Ai(0,yu,[Ke]),(t()(),Kr(1,0,null,null,50,"div",[["class","element-details-wrapper"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(3,0,null,null,2,"h2",[],null,null,null,null,null)),(t()(),eo(4,null,["",""])),Ai(131072,cy,[ly,ve]),(t()(),eo(-1,null,["\n "])),(t()(),Kr(7,0,null,null,43,"div",[["class","element-details"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(9,0,null,null,15,"div",[["class","-row"]],null,null,null,null,null)),(t()(),Kr(10,0,null,null,2,"span",[],null,null,null,null,null)),(t()(),eo(11,null,["",""])),Ai(131072,cy,[ly,ve]),(t()(),Kr(13,0,null,null,0,"br",[["class","-xs-only"]],null,null,null,null,null)),(t()(),Kr(14,0,null,null,10,"div",[],null,null,null,null,null)),(t()(),eo(-1,null,[" "])),(t()(),qr(16777216,null,null,1,null,Jx)),Mi(17,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,[" "])),(t()(),qr(16777216,null,null,1,null,tC)),Mi(20,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,[" "])),(t()(),qr(16777216,null,null,1,null,nC)),Mi(23,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,[" "])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(26,0,null,null,6,"div",[["class","-row"]],null,null,null,null,null)),(t()(),Kr(27,0,null,null,2,"span",[],null,null,null,null,null)),(t()(),eo(28,null,["",""])),Ai(131072,cy,[ly,ve]),(t()(),Kr(30,0,null,null,0,"br",[["class","-xs-only"]],null,null,null,null,null)),(t()(),Kr(31,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),eo(32,null,[" "," "])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(34,0,null,null,15,"div",[["class","-row"]],null,null,null,null,null)),(t()(),Kr(35,0,null,null,2,"span",[],null,null,null,null,null)),(t()(),eo(36,null,["",""])),Ai(131072,cy,[ly,ve]),(t()(),Kr(38,0,null,null,0,"br",[["class","-xs-only"]],null,null,null,null,null)),(t()(),Kr(39,0,null,null,10,"div",[],null,null,null,null,null)),(t()(),eo(-1,null,[" "])),(t()(),qr(16777216,null,null,1,null,eC)),Mi(42,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,[" "])),(t()(),qr(16777216,null,null,1,null,rC)),Mi(45,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,[" "])),(t()(),qr(16777216,null,null,1,null,iC)),Mi(48,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,[" "])),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n"])),(t()(),eo(-1,null,["\n\n"])),(t()(),qr(16777216,null,null,1,null,uC)),Mi(54,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,["\n\n"])),(t()(),qr(16777216,null,null,1,null,cC)),Mi(57,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null)],function(t,n){var e=n.component;t(n,17,0,e.address),t(n,20,0,e.address),t(n,23,0,!e.address),t(n,42,0,e.coins),t(n,45,0,e.coins),t(n,48,0,!e.coins),t(n,54,0,void 0===e.outputs),t(n,57,0,e.outputs)},function(t,n){var e=n.component;t(n,4,0,pr(n,4,0,bi(n,5).transform("unspentOutputs.title"))),t(n,11,0,pr(n,11,0,bi(n,12).transform("unspentOutputs.address"))),t(n,28,0,pr(n,28,0,bi(n,29).transform("unspentOutputs.outputsNumber"))),t(n,32,0,e.outputs?e.outputs.head_outputs.length:e.loadingMsg),t(n,36,0,pr(n,36,0,bi(n,37).transform("unspentOutputs.total")))})}var pC=si("app-unspent-outputs",k_,function(t){return oo(0,[(t()(),Kr(0,0,null,null,1,"app-unspent-outputs",[],null,null,null,hC,Xx)),Mi(1,114688,null,0,k_,[cf,mh,ep,ly],null,null)],function(t,n){t(n,1,0)},null)},{},{},[]),fC=yr({encapsulation:2,styles:[],data:{}});function dC(t){return oo(0,[(t()(),Kr(0,0,null,null,4,"span",[],null,null,null,null,null)),(t()(),eo(1,null,["\n "," "])),Ai(131072,cy,[ly,ve]),(t()(),Kr(3,0,null,null,0,"i",[["class","fa fa-spinner fa-spin fa-fw"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "]))],null,function(t,n){t(n,1,0,pr(n,1,0,bi(n,2).transform("general.waitingData")))})}function yC(t){return oo(0,[(t()(),Kr(0,0,null,null,3,"span",[],null,null,null,null,null)),(t()(),eo(1,null,["",""])),to(2,{term:0}),Ai(131072,cy,[ly,ve])],null,function(t,n){var e=n.component;t(n,1,0,pr(n,1,0,bi(n,3).transform(e.errorMsg,t(n,2,0,e.searchTerm))))})}function gC(t){return oo(0,[(t()(),Kr(0,0,null,null,2,"h2",[],null,null,null,null,null)),(t()(),eo(1,null,["",""])),Ai(131072,cy,[ly,ve]),(t()(),eo(-1,null,["\n\n"])),(t()(),Kr(4,0,null,null,10,"div",[["class","row -msg-container"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(6,0,null,null,7,"div",[["class","col-sm-12"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),qr(16777216,null,null,1,null,dC)),Mi(9,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,["\n "])),(t()(),qr(16777216,null,null,1,null,yC)),Mi(12,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n"]))],function(t,n){var e=n.component;t(n,9,0,!e.errorMsg),t(n,12,0,e.errorMsg)},function(t,n){t(n,1,0,pr(n,1,0,bi(n,2).transform("search.title")))})}var mC=si("ng-component",M_,function(t){return oo(0,[(t()(),Kr(0,0,null,null,1,"ng-component",[],null,null,null,gC,fC)),Mi(1,114688,null,0,M_,[T_,mh,ep,ly],null,null)],function(t,n){t(n,1,0)},null)},{},{},[]),vC=(e("cUpc"),Object.assign||function(t){for(var n=1;n div[_ngcontent-%COMP%]{width:100%}@media (min-width:40em){footer[_ngcontent-%COMP%] .footer-third-row[_ngcontent-%COMP%]{padding:40px 0}footer[_ngcontent-%COMP%] .footer-third-row[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:33.3333333333%}}footer[_ngcontent-%COMP%] .footer-third-row[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0;line-height:2.4rem;font-size:13px;font-weight:100;color:#616d7c;text-transform:none}footer[_ngcontent-%COMP%] .footer-third-row[_ngcontent-%COMP%] .copyright[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{text-align:center}@media (min-width:52em){footer[_ngcontent-%COMP%] .footer-third-row[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:14px}footer[_ngcontent-%COMP%] .footer-third-row[_ngcontent-%COMP%] .copyright[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{text-align:left}}footer[_ngcontent-%COMP%] .footer-third-row[_ngcontent-%COMP%] .contact[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{text-align:center}footer[_ngcontent-%COMP%] .languages[_ngcontent-%COMP%]{display:block;list-style:none;margin:0;text-align:right}@media (max-width:479px){footer[_ngcontent-%COMP%] .languages[_ngcontent-%COMP%]{text-align:center}}footer[_ngcontent-%COMP%] .languages[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:inline;color:#616d7c;font-size:13px}footer[_ngcontent-%COMP%] .languages[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:not(:first-of-type):before{content:' \xb7 '}"]],data:{}});function AC(t){return oo(0,[(t()(),Kr(0,0,null,null,134,"footer",[["class","page-footer"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(2,0,null,null,131,"div",[["class","wrapper"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(4,0,null,null,27,"div",[["class","footer-first-row"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(6,0,null,null,3,"a",[["href","/"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(8,0,null,null,0,"img",[["src","/assets/img/logoBlueWhite.svg"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(11,0,null,null,19,"div",[["class","footer-links"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(13,0,null,null,1,"a",[["href","https://www.skycoin.net/downloads/"]],null,null,null,null,null)),(t()(),eo(-1,null,["Downloads"])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(16,0,null,null,1,"a",[["href","https://www.skycoin.net/ecosystem"]],null,null,null,null,null)),(t()(),eo(-1,null,["Ecosystem"])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(19,0,null,null,1,"a",[["href","https://www.skycoin.net/skyminer"]],null,null,null,null,null)),(t()(),eo(-1,null,["Skyminer"])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(22,0,null,null,1,"a",[["href","https://www.skycoin.net/team"]],null,null,null,null,null)),(t()(),eo(-1,null,["Team"])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(25,0,null,null,1,"a",[["href","https://www.skycoin.net/blog"]],null,null,null,null,null)),(t()(),eo(-1,null,["Blog"])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(28,0,null,null,1,"a",[["class","active"],["href","/"]],null,null,null,null,null)),(t()(),eo(-1,null,["Explorer"])),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(33,0,null,null,81,"div",[["class","footer-second-row"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(35,0,null,null,6,"div",[["class","social-link"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(37,0,null,null,3,"a",[["href","/"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(39,0,null,null,0,"img",[["alt",""],["src","/assets/img/social/medium.svg"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(43,0,null,null,6,"div",[["class","social-link"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(45,0,null,null,3,"a",[["href","https://twitter.com/skycoinproject"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(47,0,null,null,0,"img",[["alt",""],["src","/assets/img/social/twitter.svg"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(51,0,null,null,6,"div",[["class","social-link"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(53,0,null,null,3,"a",[["href","https://www.facebook.com/SkycoinOfficial"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(55,0,null,null,0,"img",[["alt",""],["src","/assets/img/social/facebook.svg"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(59,0,null,null,6,"div",[["class","social-link"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(61,0,null,null,3,"a",[["href","https://www.instagram.com/skycoinproject/"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(63,0,null,null,0,"img",[["alt",""],["src","/assets/img/social/instagram.svg"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(67,0,null,null,6,"div",[["class","social-link"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(69,0,null,null,3,"a",[["href","https://github.com/skycoin/skycoin"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(71,0,null,null,0,"img",[["alt",""],["src","/assets/img/social/github.svg"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(75,0,null,null,6,"div",[["class","social-link"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(77,0,null,null,3,"a",[["href","https://www.youtube.com/c/Skycoin"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(79,0,null,null,0,"img",[["alt",""],["src","/assets/img/social/youtube.svg"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(83,0,null,null,6,"div",[["class","social-link"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(85,0,null,null,3,"a",[["href","https://www.reddit.com/r/skycoin"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(87,0,null,null,0,"img",[["alt",""],["src","/assets/img/social/reddit.svg"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(91,0,null,null,6,"div",[["class","social-link"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(93,0,null,null,3,"a",[["href","https://itunes.apple.com/nl/podcast/skycoin/id1348472259?l=en"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(95,0,null,null,0,"img",[["alt",""],["src","/assets/img/social/apple.svg"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(99,0,null,null,6,"div",[["class","social-link"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(101,0,null,null,3,"a",[["href","https://discord.gg/EgBenrW"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(103,0,null,null,0,"img",[["alt",""],["src","/assets/img/social/discord.svg"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(107,0,null,null,6,"div",[["class","social-link"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(109,0,null,null,3,"a",[["href","https://t.me/Skycoin"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(111,0,null,null,0,"img",[["alt",""],["src","/assets/img/social/telegram.svg"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(116,0,null,null,16,"div",[["class","footer-third-row"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(118,0,null,null,4,"div",[["class","copyright"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(120,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),eo(-1,null,["\xa9 Skycoin.net 2018"])),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),Kr(124,0,null,null,7,"div",[["class","contact"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(126,0,null,null,4,"p",[],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(128,0,null,null,1,"a",[["href","mailto:contact@skycoin.net"]],null,null,null,null,null)),(t()(),eo(-1,null,["contact@skycoin.net"])),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n"])),(t()(),eo(-1,null,["\n"]))],null,null)}var NC=function(){return function(){this.config=j_}}(),jC=yr({encapsulation:0,styles:[["footer[_ngcontent-%COMP%]{background-color:#333;color:#fff}footer[_ngcontent-%COMP%] .links-row[_ngcontent-%COMP%]{padding:14px 0;text-align:center}footer[_ngcontent-%COMP%] .links-row[_ngcontent-%COMP%] .link-icon[_ngcontent-%COMP%]{width:19%;text-align:center;font-size:0;display:inline-block;margin:10px 0}@media screen and (min-width:40em){footer[_ngcontent-%COMP%] .links-row[_ngcontent-%COMP%] .link-icon[_ngcontent-%COMP%]{width:9%}}footer[_ngcontent-%COMP%] .links-row[_ngcontent-%COMP%] .link-icon[_ngcontent-%COMP%] .element[_ngcontent-%COMP%]{height:30px;display:flex;align-items:center;justify-content:center;font-size:18px;font-family:'Font Awesome 5 Brands';font-weight:400}footer[_ngcontent-%COMP%] .links-row[_ngcontent-%COMP%] .link-icon[_ngcontent-%COMP%] .element[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]{max-width:30px;max-height:30px;text-decoration:none;overflow:hidden}footer[_ngcontent-%COMP%] .top-separator[_ngcontent-%COMP%]{width:100%;height:2px;background-color:#333}footer[_ngcontent-%COMP%] .middle-separator[_ngcontent-%COMP%]{border-top:1px dashed #111}footer[_ngcontent-%COMP%] .credit-row[_ngcontent-%COMP%]{padding:24px 0;text-align:center;opacity:.4;font-size:13px}"]],data:{}});function RC(t){return oo(0,[(t()(),Kr(0,0,null,null,4,"div",[["class","link-icon"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(2,0,null,null,1,"div",[["class","element"]],null,null,null,null,null)),(t()(),Kr(3,0,null,null,0,"a",[],[[8,"href",4],[8,"innerHTML",1]],null,null,null,null)),(t()(),eo(-1,null,["\n "]))],null,function(t,n){t(n,3,0,n.context.$implicit.url,n.context.$implicit.content)})}function DC(t){return oo(0,[(t()(),Kr(0,0,null,null,4,"div",[["class","links-row"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),qr(16777216,null,null,1,null,RC)),Mi(3,802816,null,0,ql,[me,ge,Fe],{ngForOf:[0,"ngForOf"]},null),(t()(),eo(-1,null,["\n "]))],function(t,n){t(n,3,0,n.component.config.contactLinks)},null)}function LC(t){return oo(0,[(t()(),Kr(0,0,null,null,0,"div",[["class","middle-separator"]],null,null,null,null,null))],null,null)}function VC(t){return oo(0,[(t()(),Kr(0,0,null,null,18,"footer",[],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(2,0,null,null,15,"div",[["class","wrapper"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(4,0,null,null,0,"div",[["class","top-separator"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n\n "])),(t()(),qr(16777216,null,null,1,null,DC)),Mi(7,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,["\n\n "])),(t()(),qr(16777216,null,null,1,null,LC)),Mi(10,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,["\n "])),(t()(),Kr(12,0,null,null,4,"div",[["class","credit-row"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(14,0,null,null,1,"a",[["href","https://www.skycoin.net"]],null,null,null,null,null)),(t()(),eo(-1,null,["Powered by Skyfiber"])),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n"])),(t()(),eo(-1,null,["\n"]))],function(t,n){var e=n.component;t(n,7,0,e.config.contactLinks&&e.config.contactLinks.length>0),t(n,10,0,e.config.contactLinks&&e.config.contactLinks.length>0)},null)}var FC=function(){function t(){}return Object.defineProperty(t.prototype,"value",{get:function(){return this.control?this.control.value:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"valid",{get:function(){return this.control?this.control.valid:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"invalid",{get:function(){return this.control?this.control.invalid:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pending",{get:function(){return this.control?this.control.pending:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{get:function(){return this.control?this.control.disabled:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"enabled",{get:function(){return this.control?this.control.enabled:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"errors",{get:function(){return this.control?this.control.errors:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pristine",{get:function(){return this.control?this.control.pristine:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"dirty",{get:function(){return this.control?this.control.dirty:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"touched",{get:function(){return this.control?this.control.touched:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"status",{get:function(){return this.control?this.control.status:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"untouched",{get:function(){return this.control?this.control.untouched:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"statusChanges",{get:function(){return this.control?this.control.statusChanges:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"valueChanges",{get:function(){return this.control?this.control.valueChanges:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"path",{get:function(){return null},enumerable:!0,configurable:!0}),t.prototype.reset=function(t){void 0===t&&(t=void 0),this.control&&this.control.reset(t)},t.prototype.hasError=function(t,n){return!!this.control&&this.control.hasError(t,n)},t.prototype.getError=function(t,n){return this.control?this.control.getError(t,n):null},t}(),BC=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return Object(i.__extends)(n,t),Object.defineProperty(n.prototype,"formDirective",{get:function(){return null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"path",{get:function(){return null},enumerable:!0,configurable:!0}),n}(FC);function UC(t){return null==t||0===t.length}var zC=/^(?=.{1,254}$)(?=.{1,64}@)[-!#$%&'*+/0-9=?A-Z^_`a-z{|}~]+(\.[-!#$%&'*+/0-9=?A-Z^_`a-z{|}~]+)*@[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])?)*$/,HC=function(){function t(){}return t.min=function(t){return function(n){if(UC(n.value)||UC(t))return null;var e=parseFloat(n.value);return!isNaN(e)&&et?{max:{max:t,actual:n.value}}:null}},t.required=function(t){return UC(t.value)?{required:!0}:null},t.requiredTrue=function(t){return!0===t.value?null:{required:!0}},t.email=function(t){return zC.test(t.value)?null:{email:!0}},t.minLength=function(t){return function(n){if(UC(n.value))return null;var e=n.value?n.value.length:0;return et?{maxlength:{requiredLength:t,actualLength:e}}:null}},t.pattern=function(n){return n?("string"==typeof n?(r="","^"!==n.charAt(0)&&(r+="^"),r+=n,"$"!==n.charAt(n.length-1)&&(r+="$"),e=new RegExp(r)):(r=n.toString(),e=n),function(t){if(UC(t.value))return null;var n=t.value;return e.test(n)?null:{pattern:{requiredPattern:r,actualValue:n}}}):t.nullValidator;var e,r},t.nullValidator=function(t){return null},t.compose=function(t){if(!t)return null;var n=t.filter(qC);return 0==n.length?null:function(t){return GC(function(t,e){return n.map(function(n){return n(t)})}(t))}},t.composeAsync=function(t){if(!t)return null;var n=t.filter(qC);return 0==n.length?null:function(t){var e=function(t,e){return n.map(function(n){return n(t)})}(t).map(KC);return Ou.call(yf(e),GC)}},t}();function qC(t){return null!=t}function KC(t){var n=sn(t)?Ju(t):t;if(!an(n))throw new Error("Expected validator to return Promise or Observable.");return n}function GC(t){var n=t.reduce(function(t,n){return null!=n?Object(i.__assign)({},t,n):t},{});return 0===Object.keys(n).length?null:n}var WC=new ut("NgValueAccessor"),QC=function(){function t(t,n){this._renderer=t,this._elementRef=n,this.onChange=function(t){},this.onTouched=function(){}}return t.prototype.writeValue=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"checked",t)},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t}(),$C=new ut("CompositionEventMode"),ZC=function(){function t(t,n,e){var r;this._renderer=t,this._elementRef=n,this._compositionMode=e,this.onChange=function(t){},this.onTouched=function(){},this._composing=!1,null==this._compositionMode&&(this._compositionMode=(r=xs()?xs().getUserAgent():"",!/android (\d+)/.test(r.toLowerCase())))}return t.prototype.writeValue=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==t?"":t)},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t.prototype._handleInput=function(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)},t.prototype._compositionStart=function(){this._composing=!0},t.prototype._compositionEnd=function(t){this._composing=!1,this._compositionMode&&this.onChange(t)},t}();function YC(t){return t.validate?function(n){return t.validate(n)}:t}function XC(t){return t.validate?function(n){return t.validate(n)}:t}var JC=function(){function t(t,n){this._renderer=t,this._elementRef=n,this.onChange=function(t){},this.onTouched=function(){}}return t.prototype.writeValue=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==t?"":t)},t.prototype.registerOnChange=function(t){this.onChange=function(n){t(""==n?null:parseFloat(n))}},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t}();function tS(){throw new Error("unimplemented")}var nS=function(t){function n(){var n=null!==t&&t.apply(this,arguments)||this;return n._parent=null,n.name=null,n.valueAccessor=null,n._rawValidators=[],n._rawAsyncValidators=[],n}return Object(i.__extends)(n,t),Object.defineProperty(n.prototype,"validator",{get:function(){return tS()},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"asyncValidator",{get:function(){return tS()},enumerable:!0,configurable:!0}),n}(FC),eS=function(){function t(){this._accessors=[]}return t.prototype.add=function(t,n){this._accessors.push([t,n])},t.prototype.remove=function(t){for(var n=this._accessors.length-1;n>=0;--n)if(this._accessors[n][1]===t)return void this._accessors.splice(n,1)},t.prototype.select=function(t){var n=this;this._accessors.forEach(function(e){n._isSameGroup(e,t)&&e[1]!==t&&e[1].fireUncheck(t.value)})},t.prototype._isSameGroup=function(t,n){return!!t[0].control&&t[0]._parent===n._control._parent&&t[1].name===n.name},t}(),rS=function(){function t(t,n,e,r){this._renderer=t,this._elementRef=n,this._registry=e,this._injector=r,this.onChange=function(){},this.onTouched=function(){}}return t.prototype.ngOnInit=function(){this._control=this._injector.get(nS),this._checkName(),this._registry.add(this._control,this)},t.prototype.ngOnDestroy=function(){this._registry.remove(this)},t.prototype.writeValue=function(t){this._state=t===this.value,this._renderer.setProperty(this._elementRef.nativeElement,"checked",this._state)},t.prototype.registerOnChange=function(t){var n=this;this._fn=t,this.onChange=function(){t(n.value),n._registry.select(n)}},t.prototype.fireUncheck=function(t){this.writeValue(t)},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t.prototype._checkName=function(){this.name&&this.formControlName&&this.name!==this.formControlName&&this._throwNameError(),!this.name&&this.formControlName&&(this.name=this.formControlName)},t.prototype._throwNameError=function(){throw new Error('\n If you define both a name and a formControlName attribute on your radio button, their values\n must match. Ex: \n ')},t}();function iS(t,n){return n.path.concat([t])}function oS(t,n){t||uS(n,"Cannot find control with"),n.valueAccessor||uS(n,"No value accessor for form control with"),t.validator=HC.compose([t.validator,n.validator]),t.asyncValidator=HC.composeAsync([t.asyncValidator,n.asyncValidator]),n.valueAccessor.writeValue(t.value),function(t,n){n.valueAccessor.registerOnChange(function(e){t._pendingValue=e,t._pendingChange=!0,t._pendingDirty=!0,"change"===t.updateOn&&lS(t,n)})}(t,n),function(t,n){t.registerOnChange(function(t,e){n.valueAccessor.writeValue(t),e&&n.viewToModelUpdate(t)})}(t,n),function(t,n){n.valueAccessor.registerOnTouched(function(){t._pendingTouched=!0,"blur"===t.updateOn&&t._pendingChange&&lS(t,n),"submit"!==t.updateOn&&t.markAsTouched()})}(t,n),n.valueAccessor.setDisabledState&&t.registerOnDisabledChange(function(t){n.valueAccessor.setDisabledState(t)}),n._rawValidators.forEach(function(n){n.registerOnValidatorChange&&n.registerOnValidatorChange(function(){return t.updateValueAndValidity()})}),n._rawAsyncValidators.forEach(function(n){n.registerOnValidatorChange&&n.registerOnValidatorChange(function(){return t.updateValueAndValidity()})})}function lS(t,n){n.viewToModelUpdate(t._pendingValue),t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),t._pendingChange=!1}function uS(t,n){var e;throw e=t.path.length>1?"path: '"+t.path.join(" -> ")+"'":t.path[0]?"name: '"+t.path+"'":"unspecified name attribute",new Error(n+" "+e)}function sS(t){return null!=t?HC.compose(t.map(YC)):null}function aS(t){return null!=t?HC.composeAsync(t.map(XC)):null}var cS=[QC,function(){function t(t,n){this._renderer=t,this._elementRef=n,this.onChange=function(t){},this.onTouched=function(){}}return t.prototype.writeValue=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",parseFloat(t))},t.prototype.registerOnChange=function(t){this.onChange=function(n){t(""==n?null:parseFloat(n))}},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t}(),JC,function(){function t(t,n){this._renderer=t,this._elementRef=n,this._optionMap=new Map,this._idCounter=0,this.onChange=function(t){},this.onTouched=function(){},this._compareWith=Nt}return Object.defineProperty(t.prototype,"compareWith",{set:function(t){if("function"!=typeof t)throw new Error("compareWith must be a function, but received "+JSON.stringify(t));this._compareWith=t},enumerable:!0,configurable:!0}),t.prototype.writeValue=function(t){this.value=t;var n=this._getOptionId(t);null==n&&this._renderer.setProperty(this._elementRef.nativeElement,"selectedIndex",-1);var e=function(t,n){return null==t?""+n:(n&&"object"==typeof n&&(n="Object"),(t+": "+n).slice(0,50))}(n,t);this._renderer.setProperty(this._elementRef.nativeElement,"value",e)},t.prototype.registerOnChange=function(t){var n=this;this.onChange=function(e){n.value=n._getOptionValue(e),t(n.value)}},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t.prototype._registerOption=function(){return(this._idCounter++).toString()},t.prototype._getOptionId=function(t){for(var n=0,e=Array.from(this._optionMap.keys());n-1)}}else n=function(t,n){t._setSelected(!1)};this._optionMap.forEach(n)},t.prototype.registerOnChange=function(t){var n=this;this.onChange=function(e){var r=[];if(e.hasOwnProperty("selectedOptions"))for(var i=e.selectedOptions,o=0;o0||this.disabled},n.prototype._checkAllValuesPresent=function(t){this._forEachChild(function(n,e){if(void 0===t[e])throw new Error("Must supply a value for form control with name: '"+e+"'.")})},n}(vS),wS=function(t){function n(n,e,r){var i=t.call(this,yS(e),gS(r,e))||this;return i.controls=n,i._initObservables(),i._setUpdateStrategy(e),i._setUpControls(),i.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),i}return Object(i.__extends)(n,t),n.prototype.at=function(t){return this.controls[t]},n.prototype.push=function(t){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity(),this._onCollectionChange()},n.prototype.insert=function(t,n){this.controls.splice(t,0,n),this._registerControl(n),this.updateValueAndValidity()},n.prototype.removeAt=function(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange(function(){}),this.controls.splice(t,1),this.updateValueAndValidity()},n.prototype.setControl=function(t,n){this.controls[t]&&this.controls[t]._registerOnCollectionChange(function(){}),this.controls.splice(t,1),n&&(this.controls.splice(t,0,n),this._registerControl(n)),this.updateValueAndValidity(),this._onCollectionChange()},Object.defineProperty(n.prototype,"length",{get:function(){return this.controls.length},enumerable:!0,configurable:!0}),n.prototype.setValue=function(t,n){var e=this;void 0===n&&(n={}),this._checkAllValuesPresent(t),t.forEach(function(t,r){e._throwIfControlMissing(r),e.at(r).setValue(t,{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)},n.prototype.patchValue=function(t,n){var e=this;void 0===n&&(n={}),t.forEach(function(t,r){e.at(r)&&e.at(r).patchValue(t,{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)},n.prototype.reset=function(t,n){void 0===t&&(t=[]),void 0===n&&(n={}),this._forEachChild(function(e,r){e.reset(t[r],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n),this._updatePristine(n),this._updateTouched(n)},n.prototype.getRawValue=function(){return this.controls.map(function(t){return t instanceof bS?t.value:t.getRawValue()})},n.prototype._syncPendingControls=function(){var t=this.controls.reduce(function(t,n){return!!n._syncPendingControls()||t},!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t},n.prototype._throwIfControlMissing=function(t){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(t))throw new Error("Cannot find form control at index "+t)},n.prototype._forEachChild=function(t){this.controls.forEach(function(n,e){t(n,e)})},n.prototype._updateValue=function(){var t=this;this.value=this.controls.filter(function(n){return n.enabled||t.disabled}).map(function(t){return t.value})},n.prototype._anyControls=function(t){return this.controls.some(function(n){return n.enabled&&t(n)})},n.prototype._setUpControls=function(){var t=this;this._forEachChild(function(n){return t._registerControl(n)})},n.prototype._checkAllValuesPresent=function(t){this._forEachChild(function(n,e){if(void 0===t[e])throw new Error("Must supply a value for form control at index: "+e+".")})},n.prototype._allControlsDisabled=function(){for(var t=0,n=this.controls;t0||this.disabled},n.prototype._registerControl=function(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)},n}(vS),xS=Promise.resolve(null),CS=function(t){function n(n,e){var r=t.call(this)||this;return r.submitted=!1,r._directives=[],r.ngSubmit=new Ln,r.form=new _S({},sS(n),aS(e)),r}return Object(i.__extends)(n,t),n.prototype.ngAfterViewInit=function(){this._setUpdateStrategy()},Object.defineProperty(n.prototype,"formDirective",{get:function(){return this},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"controls",{get:function(){return this.form.controls},enumerable:!0,configurable:!0}),n.prototype.addControl=function(t){var n=this;xS.then(function(){var e=n._findContainer(t.path);t.control=e.registerControl(t.name,t.control),oS(t.control,t),t.control.updateValueAndValidity({emitEvent:!1}),n._directives.push(t)})},n.prototype.getControl=function(t){return this.form.get(t.path)},n.prototype.removeControl=function(t){var n=this;xS.then(function(){var e,r,i=n._findContainer(t.path);i&&i.removeControl(t.name),(r=(e=n._directives).indexOf(t))>-1&&e.splice(r,1)})},n.prototype.addFormGroup=function(t){var n=this;xS.then(function(){var e=n._findContainer(t.path),r=new _S({});(function(t,n){null==t&&uS(n,"Cannot find control with"),t.validator=HC.compose([t.validator,n.validator]),t.asyncValidator=HC.composeAsync([t.asyncValidator,n.asyncValidator])})(r,t),e.registerControl(t.name,r),r.updateValueAndValidity({emitEvent:!1})})},n.prototype.removeFormGroup=function(t){var n=this;xS.then(function(){var e=n._findContainer(t.path);e&&e.removeControl(t.name)})},n.prototype.getFormGroup=function(t){return this.form.get(t.path)},n.prototype.updateModel=function(t,n){var e=this;xS.then(function(){e.form.get(t.path).setValue(n)})},n.prototype.setValue=function(t){this.control.setValue(t)},n.prototype.onSubmit=function(t){return this.submitted=!0,n=this._directives,this.form._syncPendingControls(),n.forEach(function(t){var n=t.control;"submit"===n.updateOn&&n._pendingChange&&(t.viewToModelUpdate(n._pendingValue),n._pendingChange=!1)}),this.ngSubmit.emit(t),!1;var n},n.prototype.onReset=function(){this.resetForm()},n.prototype.resetForm=function(t){void 0===t&&(t=void 0),this.form.reset(t),this.submitted=!1},n.prototype._setUpdateStrategy=function(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)},n.prototype._findContainer=function(t){return t.pop(),t.length?this.form.get(t):this.form},n}(BC),SS='\n

\n
\n \n
\n
\n\n In your class:\n\n this.myGroup = new FormGroup({\n person: new FormGroup({ firstName: new FormControl() })\n });',OS='\n
\n
\n \n
\n
',ES=function(){function t(){}return t.modelParentException=function(){throw new Error('\n ngModel cannot be used to register form controls with a parent formGroup directive. Try using\n formGroup\'s partner directive "formControlName" instead. Example:\n\n \n
\n \n
\n\n In your class:\n\n this.myGroup = new FormGroup({\n firstName: new FormControl()\n });\n\n Or, if you\'d like to avoid registering this form control, indicate that it\'s standalone in ngModelOptions:\n\n Example:\n\n \n
\n \n \n
\n ')},t.formGroupNameException=function(){throw new Error("\n ngModel cannot be used to register form controls with a parent formGroupName or formArrayName directive.\n\n Option 1: Use formControlName instead of ngModel (reactive strategy):\n\n "+SS+"\n\n Option 2: Update ngModel's parent be ngModelGroup (template-driven strategy):\n\n "+OS)},t.missingNameException=function(){throw new Error('If ngModel is used within a form tag, either the name attribute must be set or the form\n control must be defined as \'standalone\' in ngModelOptions.\n\n Example 1: \n Example 2: ')},t.modelGroupParentException=function(){throw new Error("\n ngModelGroup cannot be used with a parent formGroup directive.\n\n Option 1: Use formGroupName instead of ngModelGroup (reactive strategy):\n\n "+SS+"\n\n Option 2: Use a regular form tag instead of the formGroup directive (template-driven strategy):\n\n "+OS)},t}(),kS=function(t){function n(n,e,r){var i=t.call(this)||this;return i._parent=n,i._validators=e,i._asyncValidators=r,i}return Object(i.__extends)(n,t),n.prototype._checkParentType=function(){this._parent instanceof n||this._parent instanceof CS||ES.modelGroupParentException()},n}(hS),TS=Promise.resolve(null),PS=function(t){function n(n,e,r,i){var o=t.call(this)||this;return o.control=new bS,o._registered=!1,o.update=new Ln,o._parent=n,o._rawValidators=e||[],o._rawAsyncValidators=r||[],o.valueAccessor=function(t,n){if(!n)return null;Array.isArray(n)||uS(t,"Value accessor was not provided as an array for form control with");var e=void 0,r=void 0,i=void 0;return n.forEach(function(n){var o;n.constructor===ZC?e=n:(o=n,cS.some(function(t){return o.constructor===t})?(r&&uS(t,"More than one built-in value accessor matches form control with"),r=n):(i&&uS(t,"More than one custom value accessor matches form control with"),i=n))}),i||r||e||(uS(t,"No valid value accessor for form control with"),null)}(o,i),o}return Object(i.__extends)(n,t),n.prototype.ngOnChanges=function(t){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in t&&this._updateDisabled(t),function(t,n){if(!t.hasOwnProperty("model"))return!1;var e=t.model;return!!e.isFirstChange()||!Nt(n,e.currentValue)}(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)},n.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeControl(this)},Object.defineProperty(n.prototype,"path",{get:function(){return this._parent?iS(this.name,this._parent):[this.name]},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"validator",{get:function(){return sS(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"asyncValidator",{get:function(){return aS(this._rawAsyncValidators)},enumerable:!0,configurable:!0}),n.prototype.viewToModelUpdate=function(t){this.viewModel=t,this.update.emit(t)},n.prototype._setUpControl=function(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0},n.prototype._setUpdateStrategy=function(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)},n.prototype._isStandalone=function(){return!this._parent||!(!this.options||!this.options.standalone)},n.prototype._setUpStandalone=function(){oS(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})},n.prototype._checkForErrors=function(){this._isStandalone()||this._checkParentType(),this._checkName()},n.prototype._checkParentType=function(){!(this._parent instanceof kS)&&this._parent instanceof hS?ES.formGroupNameException():this._parent instanceof kS||this._parent instanceof CS||ES.modelParentException()},n.prototype._checkName=function(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()||this.name||ES.missingNameException()},n.prototype._updateValue=function(t){var n=this;TS.then(function(){n.control.setValue(t,{emitViewToModelChange:!1})})},n.prototype._updateDisabled=function(t){var n=this,e=t.isDisabled.currentValue,r=""===e||e&&"false"!==e;TS.then(function(){r&&!n.control.disabled?n.control.disable():!r&&n.control.disabled&&n.control.enable()})},n}(nS),IS=function(){},MS=function(){},AS=function(){},NS=function(){function t(t,n,e){this.searchService=t,this.router=n,this.translate=e,this.searching=!1}return t.prototype.search=function(){var t=this;if(this.query){var n=this.query.trim();if(!(n.length<1)){this.searching=!0;var e=this.searchService.getResultNavCommands(n);if(e.error)return e.error==I_.InvalidSearchTerm&&alert(this.translate.instant("search.unableToFind",{term:n})),void(this.searching=!1);e.resultNavCommands.subscribe(function(n){t.searching=!1,t.router.navigate(n)},function(){return t.searching=!1}),this.query=null}}},t}(),jS=yr({encapsulation:0,styles:[[".-search-bar-container[_ngcontent-%COMP%]{margin:4rem 0 2rem;position:relative}.-search-bar-container[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{display:inline-block;height:20px;margin:11px;position:absolute}.-search-bar-container[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{margin:13px 11px;position:absolute;font-size:17px}.-search-bar-container[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{border:2px solid rgba(0,0,0,.05);border-radius:6px;font-size:12px;height:42px;padding:0 0 0 40px;width:100%}.-search-bar-container[_ngcontent-%COMP%] input[_ngcontent-%COMP%]::-webkit-input-placeholder{color:#cdcdcd}.-search-bar-container[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:-ms-input-placeholder{color:#cdcdcd}.-search-bar-container[_ngcontent-%COMP%] input[_ngcontent-%COMP%]::-ms-input-placeholder{color:#cdcdcd}.-search-bar-container[_ngcontent-%COMP%] input[_ngcontent-%COMP%]::placeholder{color:#cdcdcd}"]],data:{}});function RS(t){return oo(0,[(t()(),Kr(0,0,null,null,0,"img",[["src","/assets/img/search.png"]],null,[[null,"click"]],function(t,n,e){var r=!0;return"click"===n&&(r=!1!==t.component.search()&&r),r},null,null))],null,null)}function DS(t){return oo(0,[(t()(),Kr(0,0,null,null,0,"i",[["class","fa fa-spinner fa-spin fa-fw"]],null,null,null,null,null))],null,null)}function LS(t){return oo(0,[(t()(),Kr(0,0,null,null,22,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(t,n,e){var r=!0,i=t.component;return"submit"===n&&(r=!1!==bi(t,2).onSubmit(e)&&r),"reset"===n&&(r=!1!==bi(t,2).onReset()&&r),"submit"===n&&(r=!1!==i.search()&&r),r},null,null)),Mi(1,16384,null,0,IS,[],null,null),Mi(2,4210688,null,0,CS,[[8,null],[8,null]],null,null),Ni(2048,null,BC,null,[CS]),Mi(4,16384,null,0,dS,[BC],null,null),(t()(),eo(-1,null,["\n "])),(t()(),Kr(6,0,null,null,15,"div",[["class","-search-bar-container"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),qr(16777216,null,null,1,null,RS)),Mi(9,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,["\n "])),(t()(),qr(16777216,null,null,1,null,DS)),Mi(12,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,["\n "])),(t()(),Kr(14,0,null,null,6,"input",[["name","query"]],[[8,"placeholder",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(t,n,e){var r=!0,i=t.component;return"input"===n&&(r=!1!==bi(t,15)._handleInput(e.target.value)&&r),"blur"===n&&(r=!1!==bi(t,15).onTouched()&&r),"compositionstart"===n&&(r=!1!==bi(t,15)._compositionStart()&&r),"compositionend"===n&&(r=!1!==bi(t,15)._compositionEnd(e.target.value)&&r),"ngModelChange"===n&&(r=!1!==(i.query=e)&&r),r},null,null)),Mi(15,16384,null,0,ZC,[se,ae,[2,$C]],null,null),Ni(1024,null,WC,function(t){return[t]},[ZC]),Mi(17,671744,null,0,PS,[[2,BC],[8,null],[8,null],[2,WC]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ni(2048,null,nS,null,[PS]),Mi(19,16384,null,0,fS,[nS],null,null),Ai(131072,cy,[ly,ve]),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n"])),(t()(),eo(-1,null,["\n"]))],function(t,n){var e=n.component;t(n,9,0,!e.searching),t(n,12,0,e.searching),t(n,17,0,"query",e.query)},function(t,n){t(n,0,0,bi(n,4).ngClassUntouched,bi(n,4).ngClassTouched,bi(n,4).ngClassPristine,bi(n,4).ngClassDirty,bi(n,4).ngClassValid,bi(n,4).ngClassInvalid,bi(n,4).ngClassPending),t(n,14,0,zr(1,"",pr(n,14,0,bi(n,20).transform("searchBar.hint")),""),bi(n,19).ngClassUntouched,bi(n,19).ngClassTouched,bi(n,19).ngClassPristine,bi(n,19).ngClassDirty,bi(n,19).ngClassValid,bi(n,19).ngClassInvalid,bi(n,19).ngClassPending)})}var VS=yr({encapsulation:0,styles:[["[_nghost-%COMP%]{display:flex;flex-direction:column;height:100%}.app[_ngcontent-%COMP%]{flex-grow:1;padding-bottom:80px}"]],data:{}});function FS(t){return oo(0,[(t()(),Kr(0,0,null,null,1,"app-header",[],null,null,null,EC,SC)),Mi(1,114688,null,0,CC,[ep],null,null)],function(t,n){t(n,1,0)},null)}function BS(t){return oo(0,[(t()(),Kr(0,0,null,null,1,"generic-header",[],null,null,null,PC,TC)),Mi(1,49152,null,0,kC,[],null,null)],null,null)}function US(t){return oo(0,[(t()(),Kr(0,0,null,null,1,"app-footer",[],null,null,null,AC,MC)),Mi(1,114688,null,0,IC,[],null,null)],function(t,n){t(n,1,0)},null)}function zS(t){return oo(0,[(t()(),Kr(0,0,null,null,1,"generic-footer",[],null,null,null,VC,jC)),Mi(1,49152,null,0,NC,[],null,null)],null,null)}function HS(t){return oo(0,[(t()(),Kr(0,0,null,null,16,"div",[["class","app"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),qr(16777216,null,null,1,null,FS)),Mi(3,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,["\n "])),(t()(),qr(16777216,null,null,1,null,BS)),Mi(6,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,["\n "])),(t()(),Kr(8,0,null,null,7,"div",[["class","wrapper"]],null,null,null,null,null)),(t()(),eo(-1,null,["\n "])),(t()(),Kr(10,0,null,null,1,"app-search-bar",[],null,null,null,LS,jS)),Mi(11,49152,null,0,NS,[T_,ep,ly],null,null),(t()(),eo(-1,null,["\n "])),(t()(),Kr(13,16777216,null,null,1,"router-outlet",[],null,null,null,null,null)),Mi(14,212992,null,0,ap,[sp,me,Tn,[8,null],ve],null,null),(t()(),eo(-1,null,["\n "])),(t()(),eo(-1,null,["\n"])),(t()(),eo(-1,null,["\n"])),(t()(),qr(16777216,null,null,1,null,US)),Mi(19,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,["\n"])),(t()(),qr(16777216,null,null,1,null,zS)),Mi(22,16384,null,0,Gl,[me,ge],{ngIf:[0,"ngIf"]},null),(t()(),eo(-1,null,["\n"]))],function(t,n){var e=n.component;t(n,3,0,!e.headerConfig.useGenericHeader),t(n,6,0,e.headerConfig.useGenericHeader),t(n,14,0),t(n,19,0,!e.footerConfig.useGenericFooter),t(n,22,0,e.footerConfig.useGenericFooter)},null)}var qS=si("app-root",R_,function(t){return oo(0,[(t()(),Kr(0,0,null,null,1,"app-root",[],null,null,null,HS,VS)),Mi(1,49152,null,0,R_,[ep,ly],null,null)],null,null)},{},{},[]),KS=function(){},GS="*";function WS(t,n){return void 0===n&&(n=null),{type:2,steps:t,options:n}}function QS(t){return{type:6,styles:t,offset:null}}function $S(t){Promise.resolve(null).then(t)}var ZS=function(){function t(){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this.parentPlayer=null,this.totalTime=0}return t.prototype._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(t){return t()}),this._onDoneFns=[])},t.prototype.onStart=function(t){this._onStartFns.push(t)},t.prototype.onDone=function(t){this._onDoneFns.push(t)},t.prototype.onDestroy=function(t){this._onDestroyFns.push(t)},t.prototype.hasStarted=function(){return this._started},t.prototype.init=function(){},t.prototype.play=function(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0},t.prototype.triggerMicrotask=function(){var t=this;$S(function(){return t._onFinish()})},t.prototype._onStart=function(){this._onStartFns.forEach(function(t){return t()}),this._onStartFns=[]},t.prototype.pause=function(){},t.prototype.restart=function(){},t.prototype.finish=function(){this._onFinish()},t.prototype.destroy=function(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(function(t){return t()}),this._onDestroyFns=[])},t.prototype.reset=function(){},t.prototype.setPosition=function(t){},t.prototype.getPosition=function(){return 0},t.prototype.triggerCallback=function(t){var n="start"==t?this._onStartFns:this._onDoneFns;n.forEach(function(t){return t()}),n.length=0},t}(),YS=function(){function t(t){var n=this;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 e=0,r=0,i=0,o=this.players.length;0==o?$S(function(){return n._onFinish()}):this.players.forEach(function(t){t.onDone(function(){++e==o&&n._onFinish()}),t.onDestroy(function(){++r==o&&n._onDestroy()}),t.onStart(function(){++i==o&&n._onStart()})}),this.totalTime=this.players.reduce(function(t,n){return Math.max(t,n.totalTime)},0)}return t.prototype._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(t){return t()}),this._onDoneFns=[])},t.prototype.init=function(){this.players.forEach(function(t){return t.init()})},t.prototype.onStart=function(t){this._onStartFns.push(t)},t.prototype._onStart=function(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(function(t){return t()}),this._onStartFns=[])},t.prototype.onDone=function(t){this._onDoneFns.push(t)},t.prototype.onDestroy=function(t){this._onDestroyFns.push(t)},t.prototype.hasStarted=function(){return this._started},t.prototype.play=function(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(function(t){return t.play()})},t.prototype.pause=function(){this.players.forEach(function(t){return t.pause()})},t.prototype.restart=function(){this.players.forEach(function(t){return t.restart()})},t.prototype.finish=function(){this._onFinish(),this.players.forEach(function(t){return t.finish()})},t.prototype.destroy=function(){this._onDestroy()},t.prototype._onDestroy=function(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(function(t){return t.destroy()}),this._onDestroyFns.forEach(function(t){return t()}),this._onDestroyFns=[])},t.prototype.reset=function(){this.players.forEach(function(t){return t.reset()}),this._destroyed=!1,this._finished=!1,this._started=!1},t.prototype.setPosition=function(t){var n=t*this.totalTime;this.players.forEach(function(t){var e=t.totalTime?Math.min(1,n/t.totalTime):1;t.setPosition(e)})},t.prototype.getPosition=function(){var t=0;return this.players.forEach(function(n){var e=n.getPosition();t=Math.min(e,t)}),t},t.prototype.beforeDestroy=function(){this.players.forEach(function(t){t.beforeDestroy&&t.beforeDestroy()})},t.prototype.triggerCallback=function(t){var n="start"==t?this._onStartFns:this._onDoneFns;n.forEach(function(t){return t()}),n.length=0},t}(),XS="!";function JS(t){switch(t.length){case 0:return new ZS;case 1:return t[0];default:return new YS(t)}}function tO(t,n,e,r,i,o){void 0===i&&(i={}),void 0===o&&(o={});var l=[],u=[],s=-1,a=null;if(r.forEach(function(t){var e=t.offset,r=e==s,c=r&&a||{};Object.keys(t).forEach(function(e){var r=e,u=t[e];if("offset"!==e)switch(r=n.normalizePropertyName(r,l),u){case XS:u=i[e];break;case GS:u=o[e];break;default:u=n.normalizeStyleValue(e,r,u,l)}c[r]=u}),r||u.push(c),a=c,s=e}),l.length)throw new Error("Unable to animate due to the following errors:\n - "+l.join("\n - "));return u}function nO(t,n,e,r){switch(n){case"start":t.onStart(function(){return r(e&&eO(e,"start",t.totalTime))});break;case"done":t.onDone(function(){return r(e&&eO(e,"done",t.totalTime))});break;case"destroy":t.onDestroy(function(){return r(e&&eO(e,"destroy",t.totalTime))})}}function eO(t,n,e){var r=rO(t.element,t.triggerName,t.fromState,t.toState,n||t.phaseName,void 0==e?t.totalTime:e),i=t._data;return null!=i&&(r._data=i),r}function rO(t,n,e,r,i,o){return void 0===i&&(i=""),void 0===o&&(o=0),{element:t,triggerName:n,fromState:e,toState:r,phaseName:i,totalTime:o}}function iO(t,n,e){var r;return t instanceof Map?(r=t.get(n))||t.set(n,r=e):(r=t[n])||(r=t[n]=e),r}function oO(t){var n=t.indexOf(":");return[t.substring(1,n),t.substr(n+1)]}var lO=function(t,n){return!1},uO=function(t,n){return!1},sO=function(t,n,e){return[]};if("undefined"!=typeof Element){if(lO=function(t,n){return t.contains(n)},Element.prototype.matches)uO=function(t,n){return t.matches(n)};else{var aO=Element.prototype,cO=aO.matchesSelector||aO.mozMatchesSelector||aO.msMatchesSelector||aO.oMatchesSelector||aO.webkitMatchesSelector;cO&&(uO=function(t,n){return cO.apply(t,[n])})}sO=function(t,n,e){var r=[];if(e)r.push.apply(r,t.querySelectorAll(n));else{var i=t.querySelector(n);i&&r.push(i)}return r}}var hO=null,pO=!1;function fO(t){hO||(hO=dO()||{},pO=!!hO.style&&"WebkitAppearance"in hO.style);var n=!0;return hO.style&&!function(t){return"ebkit"==t.substring(1,6)}(t)&&!(n=t in hO.style)&&pO&&(n="Webkit"+t.charAt(0).toUpperCase()+t.substr(1)in hO.style),n}function dO(){return"undefined"!=typeof document?document.body:null}var yO=uO,gO=lO,mO=sO,vO=function(){function t(){}return t.prototype.validateStyleProperty=function(t){return fO(t)},t.prototype.matchesElement=function(t,n){return yO(t,n)},t.prototype.containsElement=function(t,n){return gO(t,n)},t.prototype.query=function(t,n,e){return mO(t,n,e)},t.prototype.computeStyle=function(t,n,e){return e||""},t.prototype.animate=function(t,n,e,r,i,o){return void 0===o&&(o=[]),new ZS},t}(),bO=function(){function t(){}return t.NOOP=new vO,t}(),_O=1e3;function wO(t){if("number"==typeof t)return t;var n=t.match(/^(-?[\.\d]+)(m?s)/);return!n||n.length<2?0:xO(parseFloat(n[1]),n[2])}function xO(t,n){switch(n){case"s":return t*_O;default:return t}}function CO(t,n,e){return t.hasOwnProperty("duration")?t:function(t,n,e){var r,i=0,o="";if("string"==typeof t){var l=t.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===l)return n.push('The provided timing value "'+t+'" is invalid.'),{duration:0,delay:0,easing:""};r=xO(parseFloat(l[1]),l[2]);var u=l[3];null!=u&&(i=xO(Math.floor(parseFloat(u)),l[4]));var s=l[5];s&&(o=s)}else r=t;if(!e){var a=!1,c=n.length;r<0&&(n.push("Duration values below 0 are not allowed for this animation step."),a=!0),i<0&&(n.push("Delay values below 0 are not allowed for this animation step."),a=!0),a&&n.splice(c,0,'The provided timing value "'+t+'" is invalid.')}return{duration:r,delay:i,easing:o}}(t,n,e)}function SO(t,n){return void 0===n&&(n={}),Object.keys(t).forEach(function(e){n[e]=t[e]}),n}function OO(t,n,e){if(void 0===e&&(e={}),n)for(var r in t)e[r]=t[r];else SO(t,e);return e}function EO(t,n){t.style&&Object.keys(n).forEach(function(e){var r=jO(e);t.style[r]=n[e]})}function kO(t,n){t.style&&Object.keys(n).forEach(function(n){var e=jO(n);t.style[e]=""})}function TO(t){return Array.isArray(t)?1==t.length?t[0]:WS(t):t}var PO=new RegExp("{{\\s*(.+?)\\s*}}","g");function IO(t){var n=[];if("string"==typeof t){for(var e=t.toString(),r=void 0;r=PO.exec(e);)n.push(r[1]);PO.lastIndex=0}return n}function MO(t,n,e){var r=t.toString(),i=r.replace(PO,function(t,r){var i=n[r];return n.hasOwnProperty(r)||(e.push("Please provide a value for the animation param "+r),i=""),i.toString()});return i==r?t:i}function AO(t){for(var n=[],e=t.next();!e.done;)n.push(e.value),e=t.next();return n}var NO=/-+([a-z0-9])/g;function jO(t){return t.replace(NO,function(){for(var t=[],n=0;n *";case":leave":return"* => void";case":increment":return function(t,n){return parseFloat(n)>parseFloat(t)};case":decrement":return function(t,n){return parseFloat(n) *"}}(t,e);if("function"==typeof r)return void n.push(r);t=r}var i=t.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return e.push('The provided transition expression "'+t+'" is not supported'),n;var o=i[1],l=i[2],u=i[3];n.push(FO(o,u)),"<"!=l[0]||o==DO&&u==DO||n.push(FO(u,o))}(t,i,r)}):i.push(e),i),animation:o,queryCount:n.queryCount,depCount:n.depCount,options:KO(t.options)}},t.prototype.visitSequence=function(t,n){var e=this;return{type:2,steps:t.steps.map(function(t){return RO(e,t,n)}),options:KO(t.options)}},t.prototype.visitGroup=function(t,n){var e=this,r=n.currentTime,i=0,o=t.steps.map(function(t){n.currentTime=r;var o=RO(e,t,n);return i=Math.max(i,n.currentTime),o});return n.currentTime=i,{type:3,steps:o,options:KO(t.options)}},t.prototype.visitAnimate=function(t,n){var e,r=function(t,n){var e=null;if(t.hasOwnProperty("duration"))e=t;else if("number"==typeof t)return GO(CO(t,n).duration,0,"");var r=t;if(r.split(/\s+/).some(function(t){return"{"==t.charAt(0)&&"{"==t.charAt(1)})){var i=GO(0,0,"");return i.dynamic=!0,i.strValue=r,i}return GO((e=e||CO(r,n)).duration,e.delay,e.easing)}(t.timings,n.errors);n.currentAnimateTimings=r;var i=t.styles?t.styles:QS({});if(5==i.type)e=this.visitKeyframes(i,n);else{var o=t.styles,l=!1;if(!o){l=!0;var u={};r.easing&&(u.easing=r.easing),o=QS(u)}n.currentTime+=r.duration+r.delay;var s=this.visitStyle(o,n);s.isEmptyStep=l,e=s}return n.currentAnimateTimings=null,{type:4,timings:r,style:e,options:null}},t.prototype.visitStyle=function(t,n){var e=this._makeStyleAst(t,n);return this._validateStyleAst(e,n),e},t.prototype._makeStyleAst=function(t,n){var e=[];Array.isArray(t.styles)?t.styles.forEach(function(t){"string"==typeof t?t==GS?e.push(t):n.errors.push("The provided style string value "+t+" is not allowed."):e.push(t)}):e.push(t.styles);var r=!1,i=null;return e.forEach(function(t){if(qO(t)){var n=t,e=n.easing;if(e&&(i=e,delete n.easing),!r)for(var o in n)if(n[o].toString().indexOf("{{")>=0){r=!0;break}}}),{type:6,styles:e,easing:i,offset:t.offset,containsDynamicStyles:r,options:null}},t.prototype._validateStyleAst=function(t,n){var e=this,r=n.currentAnimateTimings,i=n.currentTime,o=n.currentTime;r&&o>0&&(o-=r.duration+r.delay),t.styles.forEach(function(t){"string"!=typeof t&&Object.keys(t).forEach(function(r){if(e._driver.validateStyleProperty(r)){var l,u,s,a=n.collectedStyles[n.currentQuerySelector],c=a[r],h=!0;c&&(o!=i&&o>=c.startTime&&i<=c.endTime&&(n.errors.push('The CSS property "'+r+'" that exists between the times of "'+c.startTime+'ms" and "'+c.endTime+'ms" is also being animated in a parallel animation between the times of "'+o+'ms" and "'+i+'ms"'),h=!1),o=c.startTime),h&&(a[r]={startTime:o,endTime:i}),n.options&&(l=n.errors,u=n.options.params||{},(s=IO(t[r])).length&&s.forEach(function(t){u.hasOwnProperty(t)||l.push("Unable to resolve the local animation param "+t+" in the given list of values")}))}else n.errors.push('The provided animation property "'+r+'" is not a supported CSS property for animations')})})},t.prototype.visitKeyframes=function(t,n){var e=this,r={type:5,styles:[],options:null};if(!n.currentAnimateTimings)return n.errors.push("keyframes() must be placed inside of a call to animate()"),r;var i=0,o=[],l=!1,u=!1,s=0,a=t.steps.map(function(t){var r=e._makeStyleAst(t,n),a=null!=r.offset?r.offset:function(t){if("string"==typeof t)return null;var n=null;if(Array.isArray(t))t.forEach(function(t){if(qO(t)&&t.hasOwnProperty("offset")){var e=t;n=parseFloat(e.offset),delete e.offset}});else if(qO(t)&&t.hasOwnProperty("offset")){var e=t;n=parseFloat(e.offset),delete e.offset}return n}(r.styles),c=0;return null!=a&&(i++,c=r.offset=a),u=u||c<0||c>1,l=l||c0&&i0?i==p?1:h*i:o[i],u=l*y;n.currentTime=f+d.delay+u,d.duration=u,e._validateStyleAst(t,n),t.offset=l,r.styles.push(t)}),r},t.prototype.visitReference=function(t,n){return{type:8,animation:RO(this,TO(t.animation),n),options:KO(t.options)}},t.prototype.visitAnimateChild=function(t,n){return n.depCount++,{type:9,options:KO(t.options)}},t.prototype.visitAnimateRef=function(t,n){return{type:10,animation:this.visitReference(t.animation,n),options:KO(t.options)}},t.prototype.visitQuery=function(t,n){var e=n.currentQuerySelector,r=t.options||{};n.queryCount++,n.currentQuery=t;var i=function(t){var n=!!t.split(/\s*,\s*/).find(function(t){return":self"==t});return n&&(t=t.replace(BO,"")),[t=t.replace(/@\*/g,".ng-trigger").replace(/@\w+/g,function(t){return".ng-trigger-"+t.substr(1)}).replace(/:animating/g,".ng-animating"),n]}(t.selector),o=i[0],l=i[1];n.currentQuerySelector=e.length?e+" "+o:o,iO(n.collectedStyles,n.currentQuerySelector,{});var u=RO(this,TO(t.animation),n);return n.currentQuery=null,n.currentQuerySelector=e,{type:11,selector:o,limit:r.limit||0,optional:!!r.optional,includeSelf:l,animation:u,originalSelector:t.selector,options:KO(t.options)}},t.prototype.visitStagger=function(t,n){n.currentQuery||n.errors.push("stagger() can only be used inside of query()");var e="full"===t.timings?{duration:0,delay:0,easing:"full"}:CO(t.timings,n.errors,!0);return{type:12,animation:RO(this,TO(t.animation),n),timings:e,options:null}},t}(),HO=function(t){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 qO(t){return!Array.isArray(t)&&"object"==typeof t}function KO(t){var n;return t?(t=SO(t)).params&&(t.params=(n=t.params)?SO(n):null):t={},t}function GO(t,n,e){return{duration:t,delay:n,easing:e}}function WO(t,n,e,r,i,o,l,u){return void 0===l&&(l=null),void 0===u&&(u=!1),{type:1,element:t,keyframes:n,preStyleProps:e,postStyleProps:r,duration:i,delay:o,totalTime:i+o,easing:l,subTimeline:u}}var QO=function(){function t(){this._map=new Map}return t.prototype.consume=function(t){var n=this._map.get(t);return n?this._map.delete(t):n=[],n},t.prototype.append=function(t,n){var e=this._map.get(t);e||this._map.set(t,e=[]),e.push.apply(e,n)},t.prototype.has=function(t){return this._map.has(t)},t.prototype.clear=function(){this._map.clear()},t}(),$O=new RegExp(":enter","g"),ZO=new RegExp(":leave","g");function YO(t,n,e,r,i,o,l,u,s,a){return void 0===o&&(o={}),void 0===l&&(l={}),void 0===a&&(a=[]),(new XO).buildKeyframes(t,n,e,r,i,o,l,u,s,a)}var XO=function(){function t(){}return t.prototype.buildKeyframes=function(t,n,e,r,i,o,l,u,s,a){void 0===a&&(a=[]),s=s||new QO;var c=new tE(t,n,s,r,i,a,[]);c.options=u,c.currentTimeline.setStyles([o],null,c.errors,u),RO(this,e,c);var h=c.timelines.filter(function(t){return t.containsAnimation()});if(h.length&&Object.keys(l).length){var p=h[h.length-1];p.allowOnlyTimelineStyles()||p.setStyles([l],null,c.errors,u)}return h.length?h.map(function(t){return t.buildKeyframes()}):[WO(n,[],[],[],0,0,"",!1)]},t.prototype.visitTrigger=function(t,n){},t.prototype.visitState=function(t,n){},t.prototype.visitTransition=function(t,n){},t.prototype.visitAnimateChild=function(t,n){var e=n.subInstructions.consume(n.element);if(e){var r=n.createSubContext(t.options),i=n.currentTimeline.currentTime,o=this._visitSubInstructions(e,r,r.options);i!=o&&n.transformIntoNewTimeline(o)}n.previousNode=t},t.prototype.visitAnimateRef=function(t,n){var e=n.createSubContext(t.options);e.transformIntoNewTimeline(),this.visitReference(t.animation,e),n.transformIntoNewTimeline(e.currentTimeline.currentTime),n.previousNode=t},t.prototype._visitSubInstructions=function(t,n,e){var r=n.currentTimeline.currentTime,i=null!=e.duration?wO(e.duration):null,o=null!=e.delay?wO(e.delay):null;return 0!==i&&t.forEach(function(t){var e=n.appendInstructionToTimeline(t,i,o);r=Math.max(r,e.duration+e.delay)}),r},t.prototype.visitReference=function(t,n){n.updateOptions(t.options,!0),RO(this,t.animation,n),n.previousNode=t},t.prototype.visitSequence=function(t,n){var e=this,r=n.subContextCount,i=n,o=t.options;if(o&&(o.params||o.delay)&&((i=n.createSubContext(o)).transformIntoNewTimeline(),null!=o.delay)){6==i.previousNode.type&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=JO);var l=wO(o.delay);i.delayNextStep(l)}t.steps.length&&(t.steps.forEach(function(t){return RO(e,t,i)}),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>r&&i.transformIntoNewTimeline()),n.previousNode=t},t.prototype.visitGroup=function(t,n){var e=this,r=[],i=n.currentTimeline.currentTime,o=t.options&&t.options.delay?wO(t.options.delay):0;t.steps.forEach(function(l){var u=n.createSubContext(t.options);o&&u.delayNextStep(o),RO(e,l,u),i=Math.max(i,u.currentTimeline.currentTime),r.push(u.currentTimeline)}),r.forEach(function(t){return n.currentTimeline.mergeTimelineCollectedStyles(t)}),n.transformIntoNewTimeline(i),n.previousNode=t},t.prototype._visitTiming=function(t,n){if(t.dynamic){var e=t.strValue;return CO(n.params?MO(e,n.params,n.errors):e,n.errors)}return{duration:t.duration,delay:t.delay,easing:t.easing}},t.prototype.visitAnimate=function(t,n){var e=n.currentAnimateTimings=this._visitTiming(t.timings,n),r=n.currentTimeline;e.delay&&(n.incrementTime(e.delay),r.snapshotCurrentStyles());var i=t.style;5==i.type?this.visitKeyframes(i,n):(n.incrementTime(e.duration),this.visitStyle(i,n),r.applyStylesToKeyframe()),n.currentAnimateTimings=null,n.previousNode=t},t.prototype.visitStyle=function(t,n){var e=n.currentTimeline,r=n.currentAnimateTimings;!r&&e.getCurrentStyleProperties().length&&e.forwardFrame();var i=r&&r.easing||t.easing;t.isEmptyStep?e.applyEmptyStep(i):e.setStyles(t.styles,i,n.errors,n.options),n.previousNode=t},t.prototype.visitKeyframes=function(t,n){var e=n.currentAnimateTimings,r=n.currentTimeline.duration,i=e.duration,o=n.createSubContext().currentTimeline;o.easing=e.easing,t.styles.forEach(function(t){o.forwardTime((t.offset||0)*i),o.setStyles(t.styles,t.easing,n.errors,n.options),o.applyStylesToKeyframe()}),n.currentTimeline.mergeTimelineCollectedStyles(o),n.transformIntoNewTimeline(r+i),n.previousNode=t},t.prototype.visitQuery=function(t,n){var e=this,r=n.currentTimeline.currentTime,i=t.options||{},o=i.delay?wO(i.delay):0;o&&(6===n.previousNode.type||0==r&&n.currentTimeline.getCurrentStyleProperties().length)&&(n.currentTimeline.snapshotCurrentStyles(),n.previousNode=JO);var l=r,u=n.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!i.optional,n.errors);n.currentQueryTotal=u.length;var s=null;u.forEach(function(r,i){n.currentQueryIndex=i;var u=n.createSubContext(t.options,r);o&&u.delayNextStep(o),r===n.element&&(s=u.currentTimeline),RO(e,t.animation,u),u.currentTimeline.applyStylesToKeyframe(),l=Math.max(l,u.currentTimeline.currentTime)}),n.currentQueryIndex=0,n.currentQueryTotal=0,n.transformIntoNewTimeline(l),s&&(n.currentTimeline.mergeTimelineCollectedStyles(s),n.currentTimeline.snapshotCurrentStyles()),n.previousNode=t},t.prototype.visitStagger=function(t,n){var e=n.parentContext,r=n.currentTimeline,i=t.timings,o=Math.abs(i.duration),l=o*(n.currentQueryTotal-1),u=o*n.currentQueryIndex;switch(i.duration<0?"reverse":i.easing){case"reverse":u=l-u;break;case"full":u=e.currentStaggerTime}var s=n.currentTimeline;u&&s.delayNextStep(u);var a=s.currentTime;RO(this,t.animation,n),n.previousNode=t,e.currentStaggerTime=r.currentTime-a+(r.startTime-e.currentTimeline.startTime)},t}(),JO={},tE=function(){function t(t,n,e,r,i,o,l,u){this._driver=t,this.element=n,this.subInstructions=e,this._enterClassName=r,this._leaveClassName=i,this.errors=o,this.timelines=l,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=JO,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=u||new nE(this._driver,n,0),l.push(this.currentTimeline)}return Object.defineProperty(t.prototype,"params",{get:function(){return this.options.params},enumerable:!0,configurable:!0}),t.prototype.updateOptions=function(t,n){var e=this;if(t){var r=t,i=this.options;null!=r.duration&&(i.duration=wO(r.duration)),null!=r.delay&&(i.delay=wO(r.delay));var o=r.params;if(o){var l=i.params;l||(l=this.options.params={}),Object.keys(o).forEach(function(t){n&&l.hasOwnProperty(t)||(l[t]=MO(o[t],l,e.errors))})}}},t.prototype._copyOptions=function(){var t={};if(this.options){var n=this.options.params;if(n){var e=t.params={};Object.keys(n).forEach(function(t){e[t]=n[t]})}}return t},t.prototype.createSubContext=function(n,e,r){void 0===n&&(n=null);var i=e||this.element,o=new t(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,r||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(n),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o},t.prototype.transformIntoNewTimeline=function(t){return this.previousNode=JO,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline},t.prototype.appendInstructionToTimeline=function(t,n,e){var r={duration:null!=n?n:t.duration,delay:this.currentTimeline.currentTime+(null!=e?e:0)+t.delay,easing:""},i=new eE(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,r,t.stretchStartingKeyframe);return this.timelines.push(i),r},t.prototype.incrementTime=function(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)},t.prototype.delayNextStep=function(t){t>0&&this.currentTimeline.delayNextStep(t)},t.prototype.invokeQuery=function(t,n,e,r,i,o){var l=[];if(r&&l.push(this.element),t.length>0){t=(t=t.replace($O,"."+this._enterClassName)).replace(ZO,"."+this._leaveClassName);var u=this._driver.query(this.element,t,1!=e);0!==e&&(u=e<0?u.slice(u.length+e,u.length):u.slice(0,e)),l.push.apply(l,u)}return i||0!=l.length||o.push('`query("'+n+'")` returned zero elements. (Use `query("'+n+'", { optional: true })` if you wish to allow this.)'),l},t}(),nE=function(){function t(t,n,e,r){this._driver=t,this.element=n,this.startTime=e,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 t.prototype.containsAnimation=function(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}},t.prototype.getCurrentStyleProperties=function(){return Object.keys(this._currentKeyframe)},Object.defineProperty(t.prototype,"currentTime",{get:function(){return this.startTime+this.duration},enumerable:!0,configurable:!0}),t.prototype.delayNextStep=function(t){var n=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||n?(this.forwardTime(this.currentTime+t),n&&this.snapshotCurrentStyles()):this.startTime+=t},t.prototype.fork=function(n,e){return this.applyStylesToKeyframe(),new t(this._driver,n,e||this.currentTime,this._elementTimelineStylesLookup)},t.prototype._loadKeyframe=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))},t.prototype.forwardFrame=function(){this.duration+=1,this._loadKeyframe()},t.prototype.forwardTime=function(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()},t.prototype._updateStyle=function(t,n){this._localTimelineStyles[t]=n,this._globalTimelineStyles[t]=n,this._styleSummary[t]={time:this.currentTime,value:n}},t.prototype.allowOnlyTimelineStyles=function(){return this._currentEmptyStepKeyframe!==this._currentKeyframe},t.prototype.applyEmptyStep=function(t){var n=this;t&&(this._previousKeyframe.easing=t),Object.keys(this._globalTimelineStyles).forEach(function(t){n._backFill[t]=n._globalTimelineStyles[t]||GS,n._currentKeyframe[t]=GS}),this._currentEmptyStepKeyframe=this._currentKeyframe},t.prototype.setStyles=function(t,n,e,r){var i=this;n&&(this._previousKeyframe.easing=n);var o=r&&r.params||{},l=function(t,n){var e,r={};return t.forEach(function(t){"*"===t?(e=e||Object.keys(n)).forEach(function(t){r[t]=GS}):OO(t,!1,r)}),r}(t,this._globalTimelineStyles);Object.keys(l).forEach(function(t){var n=MO(l[t],o,e);i._pendingStyles[t]=n,i._localTimelineStyles.hasOwnProperty(t)||(i._backFill[t]=i._globalTimelineStyles.hasOwnProperty(t)?i._globalTimelineStyles[t]:GS),i._updateStyle(t,n)})},t.prototype.applyStylesToKeyframe=function(){var t=this,n=this._pendingStyles,e=Object.keys(n);0!=e.length&&(this._pendingStyles={},e.forEach(function(e){t._currentKeyframe[e]=n[e]}),Object.keys(this._localTimelineStyles).forEach(function(n){t._currentKeyframe.hasOwnProperty(n)||(t._currentKeyframe[n]=t._localTimelineStyles[n])}))},t.prototype.snapshotCurrentStyles=function(){var t=this;Object.keys(this._localTimelineStyles).forEach(function(n){var e=t._localTimelineStyles[n];t._pendingStyles[n]=e,t._updateStyle(n,e)})},t.prototype.getFinalKeyframe=function(){return this._keyframes.get(this.duration)},Object.defineProperty(t.prototype,"properties",{get:function(){var t=[];for(var n in this._currentKeyframe)t.push(n);return t},enumerable:!0,configurable:!0}),t.prototype.mergeTimelineCollectedStyles=function(t){var n=this;Object.keys(t._styleSummary).forEach(function(e){var r=n._styleSummary[e],i=t._styleSummary[e];(!r||i.time>r.time)&&n._updateStyle(e,i.value)})},t.prototype.buildKeyframes=function(){var t=this;this.applyStylesToKeyframe();var n=new Set,e=new Set,r=1===this._keyframes.size&&0===this.duration,i=[];this._keyframes.forEach(function(o,l){var u=OO(o,!0);Object.keys(u).forEach(function(t){var r=u[t];r==XS?n.add(t):r==GS&&e.add(t)}),r||(u.offset=l/t.duration),i.push(u)});var o=n.size?AO(n.values()):[],l=e.size?AO(e.values()):[];if(r){var u=i[0],s=SO(u);u.offset=0,s.offset=1,i=[u,s]}return WO(this.element,i,o,l,this.duration,this.startTime,this.easing,!1)},t}(),eE=function(t){function n(n,e,r,i,o,l,u){void 0===u&&(u=!1);var s=t.call(this,n,e,l.delay)||this;return s.element=e,s.keyframes=r,s.preStyleProps=i,s.postStyleProps=o,s._stretchStartingKeyframe=u,s.timings={duration:l.duration,delay:l.delay,easing:l.easing},s}return Object(i.__extends)(n,t),n.prototype.containsAnimation=function(){return this.keyframes.length>1},n.prototype.buildKeyframes=function(){var t=this.keyframes,n=this.timings,e=n.delay,r=n.duration,i=n.easing;if(this._stretchStartingKeyframe&&e){var o=[],l=r+e,u=e/l,s=OO(t[0],!1);s.offset=0,o.push(s);var a=OO(t[0],!1);a.offset=rE(u),o.push(a);for(var c=t.length-1,h=1;h<=c;h++){var p=OO(t[h],!1);p.offset=rE((e+p.offset*r)/l),o.push(p)}r=l,e=0,i="",t=o}return WO(this.element,t,this.preStyleProps,this.postStyleProps,r,e,i,!0)},n}(nE);function rE(t,n){void 0===n&&(n=3);var e=Math.pow(10,n-1);return Math.round(t*e)/e}var iE=function(){},oE=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return Object(i.__extends)(n,t),n.prototype.normalizePropertyName=function(t,n){return jO(t)},n.prototype.normalizeStyleValue=function(t,n,e,r){var i="",o=e.toString().trim();if(lE[n]&&0!==e&&"0"!==e)if("number"==typeof e)i="px";else{var l=e.match(/^[+-]?[\d\.]+([a-z]*)$/);l&&0==l[1].length&&r.push("Please provide a CSS unit value for "+t+":"+e)}return o+i},n}(iE),lE=function(t){var n={};return"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(",").forEach(function(t){return n[t]=!0}),n}();function uE(t,n,e,r,i,o,l,u,s,a,c,h){return{type:0,element:t,triggerName:n,isRemovalTransition:i,fromState:e,fromStyles:o,toState:r,toStyles:l,timelines:u,queriedElements:s,preStyleProps:a,postStyleProps:c,errors:h}}var sE={},aE=function(){function t(t,n,e){this._triggerName=t,this.ast=n,this._stateStyles=e}return t.prototype.match=function(t,n){return function(t,n,e){return t.some(function(t){return t(n,e)})}(this.ast.matchers,t,n)},t.prototype.buildStyles=function(t,n,e){var r=this._stateStyles["*"],i=this._stateStyles[t],o=r?r.buildStyles(n,e):{};return i?i.buildStyles(n,e):o},t.prototype.build=function(t,n,e,r,o,l,u,s,a){var c=[],h=this.ast.options&&this.ast.options.params||sE,p=this.buildStyles(e,u&&u.params||sE,c),f=s&&s.params||sE,d=this.buildStyles(r,f,c),y=new Set,g=new Map,m=new Map,v="void"===r,b={params:Object(i.__assign)({},h,f)},_=YO(t,n,this.ast.animation,o,l,p,d,b,a,c);if(c.length)return uE(n,this._triggerName,e,r,v,p,d,[],[],g,m,c);_.forEach(function(t){var e=t.element,r=iO(g,e,{});t.preStyleProps.forEach(function(t){return r[t]=!0});var i=iO(m,e,{});t.postStyleProps.forEach(function(t){return i[t]=!0}),e!==n&&y.add(e)});var w=AO(y.values());return uE(n,this._triggerName,e,r,v,p,d,_,w,g,m)},t}(),cE=function(){function t(t,n){this.styles=t,this.defaultParams=n}return t.prototype.buildStyles=function(t,n){var e={},r=SO(this.defaultParams);return Object.keys(t).forEach(function(n){var e=t[n];null!=e&&(r[n]=e)}),this.styles.styles.forEach(function(t){if("string"!=typeof t){var i=t;Object.keys(i).forEach(function(t){var o=i[t];o.length>1&&(o=MO(o,r,n)),e[t]=o})}}),e},t}(),hE=function(){function t(t,n){var e=this;this.name=t,this.ast=n,this.transitionFactories=[],this.states={},n.states.forEach(function(t){e.states[t.name]=new cE(t.style,t.options&&t.options.params||{})}),pE(this.states,"true","1"),pE(this.states,"false","0"),n.transitions.forEach(function(n){e.transitionFactories.push(new aE(t,n,e.states))}),this.fallbackTransition=new aE(t,{type:1,animation:{type:2,steps:[],options:null},matchers:[function(t,n){return!0}],options:null,queryCount:0,depCount:0},this.states)}return Object.defineProperty(t.prototype,"containsQueries",{get:function(){return this.ast.queryCount>0},enumerable:!0,configurable:!0}),t.prototype.matchTransition=function(t,n){return this.transitionFactories.find(function(e){return e.match(t,n)})||null},t.prototype.matchStyles=function(t,n,e){return this.fallbackTransition.buildStyles(t,n,e)},t}();function pE(t,n,e){t.hasOwnProperty(n)?t.hasOwnProperty(e)||(t[e]=t[n]):t.hasOwnProperty(e)&&(t[n]=t[e])}var fE=new QO,dE=function(){function t(t,n){this._driver=t,this._normalizer=n,this._animations={},this._playersById={},this.players=[]}return t.prototype.register=function(t,n){var e=[],r=UO(this._driver,n,e);if(e.length)throw new Error("Unable to build the animation due to the following errors: "+e.join("\n"));this._animations[t]=r},t.prototype._buildPlayer=function(t,n,e){var r=t.element,i=tO(0,this._normalizer,0,t.keyframes,n,e);return this._driver.animate(r,i,t.duration,t.delay,t.easing,[])},t.prototype.create=function(t,n,e){var r=this;void 0===e&&(e={});var i,o=[],l=this._animations[t],u=new Map;if(l?(i=YO(this._driver,n,l,"ng-enter","ng-leave",{},{},e,fE,o)).forEach(function(t){var n=iO(u,t.element,{});t.postStyleProps.forEach(function(t){return n[t]=null})}):(o.push("The requested animation doesn't exist or has already been destroyed"),i=[]),o.length)throw new Error("Unable to create the animation due to the following errors: "+o.join("\n"));u.forEach(function(t,n){Object.keys(t).forEach(function(e){t[e]=r._driver.computeStyle(n,e,GS)})});var s=JS(i.map(function(t){var n=u.get(t.element);return r._buildPlayer(t,{},n)}));return this._playersById[t]=s,s.onDestroy(function(){return r.destroy(t)}),this.players.push(s),s},t.prototype.destroy=function(t){var n=this._getPlayer(t);n.destroy(),delete this._playersById[t];var e=this.players.indexOf(n);e>=0&&this.players.splice(e,1)},t.prototype._getPlayer=function(t){var n=this._playersById[t];if(!n)throw new Error("Unable to find the timeline player referenced by "+t);return n},t.prototype.listen=function(t,n,e,r){var i=rO(n,"","","");return nO(this._getPlayer(t),e,i,r),function(){}},t.prototype.command=function(t,n,e,r){if("register"!=e)if("create"!=e){var i=this._getPlayer(t);switch(e){case"play":i.play();break;case"pause":i.pause();break;case"reset":i.reset();break;case"restart":i.restart();break;case"finish":i.finish();break;case"init":i.init();break;case"setPosition":i.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(t)}}else this.create(t,n,r[0]||{});else this.register(t,r[0])},t}(),yE=[],gE={namespaceId:"",setForRemoval:null,hasAnimation:!1,removedBeforeQueried:!1},mE={namespaceId:"",setForRemoval:null,hasAnimation:!1,removedBeforeQueried:!0},vE="__ng_removed",bE=function(){function t(t,n){void 0===n&&(n=""),this.namespaceId=n;var e=t&&t.hasOwnProperty("value");if(this.value=function(t){return null!=t?t:null}(e?t.value:t),e){var r=SO(t);delete r.value,this.options=r}else this.options={};this.options.params||(this.options.params={})}return Object.defineProperty(t.prototype,"params",{get:function(){return this.options.params},enumerable:!0,configurable:!0}),t.prototype.absorbOptions=function(t){var n=t.params;if(n){var e=this.options.params;Object.keys(n).forEach(function(t){null==e[t]&&(e[t]=n[t])})}},t}(),_E=new bE("void"),wE=new bE("DELETED"),xE=function(){function t(t,n,e){this.id=t,this.hostElement=n,this._engine=e,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+t,IE(n,this._hostClassName)}return t.prototype.listen=function(t,n,e,r){var i,o=this;if(!this._triggers.hasOwnProperty(n))throw new Error('Unable to listen on the animation trigger event "'+e+'" because the animation trigger "'+n+"\" doesn't exist!");if(null==e||0==e.length)throw new Error('Unable to listen on the animation trigger "'+n+'" because the provided event is undefined!');if("start"!=(i=e)&&"done"!=i)throw new Error('The provided animation trigger event "'+e+'" for the animation trigger "'+n+'" is not supported!');var l=iO(this._elementListeners,t,[]),u={name:n,phase:e,callback:r};l.push(u);var s=iO(this._engine.statesByElement,t,{});return s.hasOwnProperty(n)||(IE(t,"ng-trigger"),IE(t,"ng-trigger-"+n),s[n]=_E),function(){o._engine.afterFlush(function(){var t=l.indexOf(u);t>=0&&l.splice(t,1),o._triggers[n]||delete s[n]})}},t.prototype.register=function(t,n){return!this._triggers[t]&&(this._triggers[t]=n,!0)},t.prototype._getTrigger=function(t){var n=this._triggers[t];if(!n)throw new Error('The provided animation trigger "'+t+'" has not been registered!');return n},t.prototype.trigger=function(t,n,e,r){var i=this;void 0===r&&(r=!0);var o=this._getTrigger(n),l=new SE(this.id,n,t),u=this._engine.statesByElement.get(t);u||(IE(t,"ng-trigger"),IE(t,"ng-trigger-"+n),this._engine.statesByElement.set(t,u={}));var s=u[n],a=new bE(e,this.id);if(!(e&&e.hasOwnProperty("value"))&&s&&a.absorbOptions(s.options),u[n]=a,s){if(s===wE)return l}else s=_E;if("void"===a.value||s.value!==a.value){var c=iO(this._engine.playersByElement,t,[]);c.forEach(function(t){t.namespaceId==i.id&&t.triggerName==n&&t.queued&&t.destroy()});var h=o.matchTransition(s.value,a.value),p=!1;if(!h){if(!r)return;h=o.fallbackTransition,p=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:n,transition:h,fromState:s,toState:a,player:l,isFallbackTransition:p}),p||(IE(t,"ng-animate-queued"),l.onStart(function(){ME(t,"ng-animate-queued")})),l.onDone(function(){var n=i.players.indexOf(l);n>=0&&i.players.splice(n,1);var e=i._engine.playersByElement.get(t);if(e){var r=e.indexOf(l);r>=0&&e.splice(r,1)}}),this.players.push(l),c.push(l),l}if(!function(t,n){var e=Object.keys(t),r=Object.keys(n);if(e.length!=r.length)return!1;for(var i=0;i=0){for(var r=!1,i=e;i>=0;i--)if(this.driver.containsElement(this._namespaceList[i].hostElement,n)){this._namespaceList.splice(i+1,0,t),r=!0;break}r||this._namespaceList.splice(0,0,t)}else this._namespaceList.push(t);return this.namespacesByHostElement.set(n,t),t},t.prototype.register=function(t,n){var e=this._namespaceLookup[t];return e||(e=this.createNamespace(t,n)),e},t.prototype.registerTrigger=function(t,n,e){var r=this._namespaceLookup[t];r&&r.register(n,e)&&this.totalAnimations++},t.prototype.destroy=function(t,n){var e=this;if(t){var r=this._fetchNamespace(t);this.afterFlush(function(){e.namespacesByHostElement.delete(r.hostElement),delete e._namespaceLookup[t];var n=e._namespaceList.indexOf(r);n>=0&&e._namespaceList.splice(n,1)}),this.afterFlushAnimationsDone(function(){return r.destroy(n)})}},t.prototype._fetchNamespace=function(t){return this._namespaceLookup[t]},t.prototype.fetchNamespacesByElement=function(t){var n=new Set,e=this.statesByElement.get(t);if(e)for(var r=Object.keys(e),i=0;i=0;O--)this._namespaceList[O].drainQueuedTransitions(n).forEach(function(t){var n=t.player;C.push(n);var i=t.element;if(p&&e.driver.containsElement(p,i)){var l=w.get(i),h=y.get(i),f=e._buildInstruction(t,r,h,l);if(f.errors&&f.errors.length)S.push(f);else{if(t.isFallbackTransition)return n.onStart(function(){return kO(i,f.fromStyles)}),n.onDestroy(function(){return EO(i,f.toStyles)}),void o.push(n);f.timelines.forEach(function(t){return t.stretchStartingKeyframe=!0}),r.append(i,f.timelines),u.push({instruction:f,player:n,element:i}),f.queriedElements.forEach(function(t){return iO(s,t,[]).push(n)}),f.preStyleProps.forEach(function(t,n){var e=Object.keys(t);if(e.length){var r=a.get(n);r||a.set(n,r=new Set),e.forEach(function(t){return r.add(t)})}}),f.postStyleProps.forEach(function(t,n){var e=Object.keys(t),r=c.get(n);r||c.set(n,r=new Set),e.forEach(function(t){return r.add(t)})})}}else n.destroy()});if(S.length){var E=[];S.forEach(function(t){E.push("@"+t.triggerName+" has failed due to:\n"),t.errors.forEach(function(t){return E.push("- "+t+"\n")})}),C.forEach(function(t){return t.destroy()}),this.reportError(E)}var k=new Map,T=new Map;u.forEach(function(t){var n=t.element;r.has(n)&&(T.set(n,n),e._beforeAnimationBuild(t.player.namespaceId,t.instruction,k))}),o.forEach(function(t){var n=t.element;e._getPreviousPlayers(n,!1,t.namespaceId,t.triggerName,null).forEach(function(t){iO(k,n,[]).push(t),t.destroy()})});var P=m.filter(function(t){return NE(t,a,c)}),I=new Map;kE(I,this.driver,b,c,GS).forEach(function(t){NE(t,a,c)&&P.push(t)});var M=new Map;d.forEach(function(t,n){kE(M,e.driver,new Set(t),a,XS)}),P.forEach(function(t){var n=I.get(t),e=M.get(t);I.set(t,Object(i.__assign)({},n,e))});var A=[],N=[],j={};u.forEach(function(t){var n=t.element,i=t.player,u=t.instruction;if(r.has(n)){if(h.has(n))return i.onDestroy(function(){return EO(n,u.toStyles)}),void o.push(i);var s=j;if(T.size>1){for(var a=n,c=[];a=a.parentNode;){var p=T.get(a);if(p){s=p;break}c.push(a)}c.forEach(function(t){return T.set(t,s)})}var f=e._buildAnimation(i.namespaceId,u,k,l,M,I);if(i.setRealPlayer(f),s===j)A.push(i);else{var d=e.playersByElement.get(s);d&&d.length&&(i.parentPlayer=JS(d)),o.push(i)}}else kO(n,u.fromStyles),i.onDestroy(function(){return EO(n,u.toStyles)}),N.push(i),h.has(n)&&o.push(i)}),N.forEach(function(t){var n=l.get(t.element);if(n&&n.length){var e=JS(n);t.setRealPlayer(e)}}),o.forEach(function(t){t.parentPlayer?t.syncPlayerEvents(t.parentPlayer):t.destroy()});for(var R=0;R0?this.driver.animate(t.element,n,t.duration,t.delay,t.easing,e):new ZS},t}(),SE=function(){function t(t,n,e){this.namespaceId=t,this.triggerName=n,this.element=e,this._player=new ZS,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.queued=!0}return t.prototype.setRealPlayer=function(t){var n=this;this._containsRealPlayer||(this._player=t,Object.keys(this._queuedCallbacks).forEach(function(e){n._queuedCallbacks[e].forEach(function(n){return nO(t,e,void 0,n)})}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.queued=!1)},t.prototype.getRealPlayer=function(){return this._player},t.prototype.syncPlayerEvents=function(t){var n=this,e=this._player;e.triggerCallback&&t.onStart(function(){return e.triggerCallback("start")}),t.onDone(function(){return n.finish()}),t.onDestroy(function(){return n.destroy()})},t.prototype._queueEvent=function(t,n){iO(this._queuedCallbacks,t,[]).push(n)},t.prototype.onDone=function(t){this.queued&&this._queueEvent("done",t),this._player.onDone(t)},t.prototype.onStart=function(t){this.queued&&this._queueEvent("start",t),this._player.onStart(t)},t.prototype.onDestroy=function(t){this.queued&&this._queueEvent("destroy",t),this._player.onDestroy(t)},t.prototype.init=function(){this._player.init()},t.prototype.hasStarted=function(){return!this.queued&&this._player.hasStarted()},t.prototype.play=function(){!this.queued&&this._player.play()},t.prototype.pause=function(){!this.queued&&this._player.pause()},t.prototype.restart=function(){!this.queued&&this._player.restart()},t.prototype.finish=function(){this._player.finish()},t.prototype.destroy=function(){this.destroyed=!0,this._player.destroy()},t.prototype.reset=function(){!this.queued&&this._player.reset()},t.prototype.setPosition=function(t){this.queued||this._player.setPosition(t)},t.prototype.getPosition=function(){return this.queued?0:this._player.getPosition()},Object.defineProperty(t.prototype,"totalTime",{get:function(){return this._player.totalTime},enumerable:!0,configurable:!0}),t.prototype.triggerCallback=function(t){var n=this._player;n.triggerCallback&&n.triggerCallback(t)},t}();function OE(t){return t&&1===t.nodeType}function EE(t,n){var e=t.style.display;return t.style.display=null!=n?n:"none",e}function kE(t,n,e,r,i){var o=[];e.forEach(function(t){return o.push(EE(t))});var l=[];r.forEach(function(e,r){var o={};e.forEach(function(t){var e=o[t]=n.computeStyle(r,t,i);e&&0!=e.length||(r[vE]=mE,l.push(r))}),t.set(r,o)});var u=0;return e.forEach(function(t){return EE(t,o[u++])}),l}function TE(t,n){var e=new Map;if(t.forEach(function(t){return e.set(t,[])}),0==n.length)return e;var r=new Set(n),i=new Map;return n.forEach(function(t){var n=function t(n){if(!n)return 1;var o=i.get(n);if(o)return o;var l=n.parentNode;return o=e.has(l)?l:r.has(l)?1:t(l),i.set(n,o),o}(t);1!==n&&e.get(n).push(t)}),e}var PE="$$classes";function IE(t,n){if(t.classList)t.classList.add(n);else{var e=t[PE];e||(e=t[PE]={}),e[n]=!0}}function ME(t,n){if(t.classList)t.classList.remove(n);else{var e=t[PE];e&&delete e[n]}}function AE(t,n,e){JS(e).onDone(function(){return t.processLeaveNode(n)})}function NE(t,n,e){var r=e.get(t);if(!r)return!1;var i=n.get(t);return i?r.forEach(function(t){return i.add(t)}):n.set(t,r),e.delete(t),!0}var jE=function(){function t(t,n){var e=this;this._driver=t,this._triggerCache={},this.onRemovalComplete=function(t,n){},this._transitionEngine=new CE(t,n),this._timelineEngine=new dE(t,n),this._transitionEngine.onRemovalComplete=function(t,n){return e.onRemovalComplete(t,n)}}return t.prototype.registerTrigger=function(t,n,e,r,i){var o=t+"-"+r,l=this._triggerCache[o];if(!l){var u=[],s=UO(this._driver,i,u);if(u.length)throw new Error('The animation trigger "'+r+'" has failed to build due to the following errors:\n - '+u.join("\n - "));l=function(t,n){return new hE(t,n)}(r,s),this._triggerCache[o]=l}this._transitionEngine.registerTrigger(n,r,l)},t.prototype.register=function(t,n){this._transitionEngine.register(t,n)},t.prototype.destroy=function(t,n){this._transitionEngine.destroy(t,n)},t.prototype.onInsert=function(t,n,e,r){this._transitionEngine.insertNode(t,n,e,r)},t.prototype.onRemove=function(t,n,e){this._transitionEngine.removeNode(t,n,e)},t.prototype.disableAnimations=function(t,n){this._transitionEngine.markElementAsDisabled(t,n)},t.prototype.process=function(t,n,e,r){if("@"==e.charAt(0)){var i=oO(e);this._timelineEngine.command(i[0],n,i[1],r)}else this._transitionEngine.trigger(t,n,e,r)},t.prototype.listen=function(t,n,e,r,i){if("@"==e.charAt(0)){var o=oO(e);return this._timelineEngine.listen(o[0],n,o[1],i)}return this._transitionEngine.listen(t,n,e,r,i)},t.prototype.flush=function(t){void 0===t&&(t=-1),this._transitionEngine.flush(t)},Object.defineProperty(t.prototype,"players",{get:function(){return this._transitionEngine.players.concat(this._timelineEngine.players)},enumerable:!0,configurable:!0}),t.prototype.whenRenderingDone=function(){return this._transitionEngine.whenRenderingDone()},t}(),RE=function(){function t(t,n,e,r){void 0===r&&(r=[]);var i=this;this.element=t,this.keyframes=n,this.options=e,this.previousPlayers=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.previousStyles={},this.currentSnapshot={},this._duration=e.duration,this._delay=e.delay||0,this.time=this._duration+this._delay,(0===this._duration||0===this._delay)&&r.forEach(function(t){var n=t.currentSnapshot;Object.keys(n).forEach(function(t){return i.previousStyles[t]=n[t]})})}return t.prototype._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(t){return t()}),this._onDoneFns=[])},t.prototype.init=function(){this._buildPlayer(),this._preparePlayerBeforeStart()},t.prototype._buildPlayer=function(){var t=this;if(!this._initialized){this._initialized=!0;var n=this.keyframes.map(function(t){return OO(t,!1)}),e=Object.keys(this.previousStyles);if(e.length&&n.length){var r=n[0],i=[];if(e.forEach(function(n){r.hasOwnProperty(n)||i.push(n),r[n]=t.previousStyles[n]}),i.length)for(var o=this,l=function(){var t=n[u];i.forEach(function(n){t[n]=DE(o.element,n)})},u=1;u=0&&t0&&n.children[0].routeConfig&&n.children[0].routeConfig.path.includes("app/address/")&&t.children&&t.children.length>0&&t.children[0].routeConfig&&t.children[0].routeConfig.path.includes("app/address/"))},t}(),XE=function(t,n,e){return new fl(A_,[R_],function(t){return function(t){for(var n={},e=0;e",this._properties=t&&t.properties||{},this._zoneDelegate=new c(this,this._parent&&this._parent._zoneDelegate,t)}return t.assertZonePatched=function(){if(e.Promise!==O.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.)")},Object.defineProperty(t,"root",{get:function(){for(var e=t.current;e.parent;)e=e.parent;return e},enumerable:!0,configurable:!0}),Object.defineProperty(t,"current",{get:function(){return D.zone},enumerable:!0,configurable:!0}),Object.defineProperty(t,"currentTask",{get:function(){return P},enumerable:!0,configurable:!0}),t.__load_patch=function(o,i){if(O.hasOwnProperty(o))throw Error("Already loaded patch: "+o);if(!e["__Zone_disable_"+o]){var a="Zone:"+o;n(a),O[o]=i(e,t,S),r(a,a)}},Object.defineProperty(t.prototype,"parent",{get:function(){return this._parent},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"name",{get:function(){return this._name},enumerable:!0,configurable:!0}),t.prototype.get=function(e){var t=this.getZoneWith(e);if(t)return t._properties[e]},t.prototype.getZoneWith=function(e){for(var t=this;t;){if(t._properties.hasOwnProperty(e))return t;t=t._parent}return null},t.prototype.fork=function(e){if(!e)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,e)},t.prototype.wrap=function(e,t){if("function"!=typeof e)throw new Error("Expecting function got: "+e);var n=this._zoneDelegate.intercept(this,e,t),r=this;return function(){return r.runGuarded(n,this,arguments,t)}},t.prototype.run=function(e,t,n,r){void 0===t&&(t=void 0),void 0===n&&(n=null),void 0===r&&(r=null),D={parent:D,zone:this};try{return this._zoneDelegate.invoke(this,e,t,n,r)}finally{D=D.parent}},t.prototype.runGuarded=function(e,t,n,r){void 0===t&&(t=null),void 0===n&&(n=null),void 0===r&&(r=null),D={parent:D,zone:this};try{try{return this._zoneDelegate.invoke(this,e,t,n,r)}catch(e){if(this._zoneDelegate.handleError(this,e))throw e}}finally{D=D.parent}},t.prototype.runTask=function(e,t,n){if(e.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(e.zone||y).name+"; Execution: "+this.name+")");if(e.state!==g||e.type!==x){var r=e.state!=_;r&&e._transitionTo(_,m),e.runCount++;var o=P;P=e,D={parent:D,zone:this};try{e.type==E&&e.data&&!e.data.isPeriodic&&(e.cancelFn=null);try{return this._zoneDelegate.invokeTask(this,e,t,n)}catch(e){if(this._zoneDelegate.handleError(this,e))throw e}}finally{e.state!==g&&e.state!==w&&(e.type==x||e.data&&e.data.isPeriodic?r&&e._transitionTo(m,_):(e.runCount=0,this._updateTaskCount(e,-1),r&&e._transitionTo(g,_,g))),D=D.parent,P=o}}},t.prototype.scheduleTask=function(e){if(e.zone&&e.zone!==this)for(var t=this;t;){if(t===e.zone)throw Error("can not reschedule task to "+this.name+" which is descendants of the original zone "+e.zone.name);t=t.parent}e._transitionTo(k,g);var n=[];e._zoneDelegates=n,e._zone=this;try{e=this._zoneDelegate.scheduleTask(this,e)}catch(t){throw e._transitionTo(w,k,g),this._zoneDelegate.handleError(this,t),t}return e._zoneDelegates===n&&this._updateTaskCount(e,1),e.state==k&&e._transitionTo(m,k),e},t.prototype.scheduleMicroTask=function(e,t,n,r){return this.scheduleTask(new u(T,e,t,n,r,null))},t.prototype.scheduleMacroTask=function(e,t,n,r,o){return this.scheduleTask(new u(E,e,t,n,r,o))},t.prototype.scheduleEventTask=function(e,t,n,r,o){return this.scheduleTask(new u(x,e,t,n,r,o))},t.prototype.cancelTask=function(e){if(e.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(e.zone||y).name+"; Execution: "+this.name+")");e._transitionTo(b,m,_);try{this._zoneDelegate.cancelTask(this,e)}catch(t){throw e._transitionTo(w,b),this._zoneDelegate.handleError(this,t),t}return this._updateTaskCount(e,-1),e._transitionTo(g,b),e.runCount=0,e},t.prototype._updateTaskCount=function(e,t){var n=e._zoneDelegates;-1==t&&(e._zoneDelegates=null);for(var r=0;r0,macroTask:n.macroTask>0,eventTask:n.eventTask>0,change:e})},e}(),u=function(){function t(n,r,o,i,a,c){this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=n,this.source=r,this.data=i,this.scheduleFn=a,this.cancelFn=c,this.callback=o;var u=this;this.invoke=n===x&&i&&i.useG?t.invokeTask:function(){return t.invokeTask.call(e,u,this,arguments)}}return t.invokeTask=function(e,t,n){e||(e=this),j++;try{return e.runCount++,e.zone.runTask(e,t,n)}finally{1==j&&d(),j--}},Object.defineProperty(t.prototype,"zone",{get:function(){return this._zone},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"state",{get:function(){return this._state},enumerable:!0,configurable:!0}),t.prototype.cancelScheduleRequest=function(){this._transitionTo(g,k)},t.prototype._transitionTo=function(e,t,n){if(this._state!==t&&this._state!==n)throw new Error(this.type+" '"+this.source+"': can not transition to '"+e+"', expecting state '"+t+"'"+(n?" or '"+n+"'":"")+", was '"+this._state+"'.");this._state=e,e==g&&(this._zoneDelegates=null)},t.prototype.toString=function(){return this.data&&void 0!==this.data.handleId?this.data.handleId:Object.prototype.toString.call(this)},t.prototype.toJSON=function(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}},t}(),s=z("setTimeout"),f=z("Promise"),l=z("then"),p=[],h=!1;function v(t){0===j&&0===p.length&&(o||e[f]&&(o=e[f].resolve(0)),o?o[l](d):e[s](d,0)),t&&p.push(t)}function d(){if(!h){for(h=!0;p.length;){var e=p;p=[];for(var t=0;t=0;n--)"function"==typeof e[n]&&(e[n]=p(e[n],t+"_"+n));return e}function b(e){return!e||!1!==e.writable&&!("function"==typeof e.get&&void 0===e.set)}var w="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope,T=!("nw"in g)&&void 0!==g.process&&"[object process]"==={}.toString.call(g.process),E=!T&&!w&&!(!d||!y.HTMLElement),x=void 0!==g.process&&"[object process]"==={}.toString.call(g.process)&&!w&&!(!d||!y.HTMLElement),O={},S=function(e){if(e=e||g.event){var t=O[e.type];t||(t=O[e.type]=v("ON_PROPERTY"+e.type));var n=(this||e.target||g)[t],r=n&&n.apply(this,arguments);return void 0==r||r||e.preventDefault(),r}};function D(n,r,o){var i=e(n,r);if(!i&&o&&e(o,r)&&(i={enumerable:!0,configurable:!0}),i&&i.configurable){delete i.writable,delete i.value;var a=i.get,c=i.set,u=r.substr(2),s=O[u];s||(s=O[u]=v("ON_PROPERTY"+u)),i.set=function(e){var t=this;t||n!==g||(t=g),t&&(t[s]&&t.removeEventListener(u,S),c&&c.apply(t,m),"function"==typeof e?(t[s]=e,t.addEventListener(u,S,!1)):t[s]=null)},i.get=function(){var e=this;if(e||n!==g||(e=g),!e)return null;var t=e[s];if(t)return t;if(a){var o=a&&a.call(this);if(o)return i.set.call(this,o),"function"==typeof e[k]&&e.removeAttribute(r),o}return null},t(n,r,i)}}function P(e,t,n){if(t)for(var r=0;r1?new c(t,n):new c(t),l=e(f,"onmessage");return l&&!1===l.configurable?(u=r(f),s=f,[i,a,"send","close"].forEach(function(e){u[e]=function(){var t=o.call(arguments);if(e===i||e===a){var n=t.length>0?t[0]:void 0;if(n){var r=Zone.__symbol__("ON_PROPERTY"+n);f[r]=u[r]}}return f[e].apply(f,t)}})):u=f,P(u,["close","error","message","open"],s),u};var u=n.WebSocket;for(var s in c)u[s]=c[s]}(0,u)}}var le=v("unbound");Zone.__load_patch("util",function(e,t,n){n.patchOnProperties=P,n.patchMethod=z,n.bindArguments=_}),Zone.__load_patch("timers",function(e){U(e,"set","clear","Timeout"),U(e,"set","clear","Interval"),U(e,"set","clear","Immediate")}),Zone.__load_patch("requestAnimationFrame",function(e){U(e,"request","cancel","AnimationFrame"),U(e,"mozRequest","mozCancel","AnimationFrame"),U(e,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",function(e,t){for(var n=["alert","prompt","confirm"],r=0;r=0&&"function"==typeof n[r.cbIdx]?h(r.name,n[r.cbIdx],r,i,null):e.apply(t,n)}})}()}),Zone.__load_patch("XHR",function(e,t){!function(t){var s=XMLHttpRequest.prototype,f=s[c],l=s[u];if(!f){var p=e.XMLHttpRequestEventTarget;if(p){var v=p.prototype;f=v[c],l=v[u]}}var d="readystatechange",y="scheduled";function g(e){XMLHttpRequest[i]=!1;var t=e.data,r=t.target,a=r[o];f||(f=r[c],l=r[u]),a&&l.call(r,d,a);var s=r[o]=function(){r.readyState===r.DONE&&!t.aborted&&XMLHttpRequest[i]&&e.state===y&&e.invoke()};return f.call(r,d,s),r[n]||(r[n]=e),b.apply(r,t.args),XMLHttpRequest[i]=!0,e}function k(){}function m(e){var t=e.data;return t.aborted=!0,w.apply(t.target,t.args)}var _=z(s,"open",function(){return function(e,t){return e[r]=0==t[2],e[a]=t[1],_.apply(e,t)}}),b=z(s,"send",function(){return function(e,t){return e[r]?b.apply(e,t):h("XMLHttpRequest.send",k,{target:e,url:e[a],isPeriodic:!1,delay:null,args:t,aborted:!1},g,m)}}),w=z(s,"abort",function(){return function(e){var t=e[n];if(t&&"string"==typeof t.type){if(null==t.cancelFn||t.data&&t.data.aborted)return;t.zone.cancelTask(t)}}})}();var n=v("xhrTask"),r=v("xhrSync"),o=v("xhrListener"),i=v("xhrScheduled"),a=v("xhrURL")}),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(e){var t=function(){return e.apply(this,_(arguments,r+"."+i))};return F(t,e),t}(a)}},i=0;i0?arguments[0]:void 0)}},{get:function(e){var t=r.getEntry(o(this,"Map"),e);return t&&t.v},set:function(e,t){return r.def(o(this,"Map"),0===e?0:e,t)}},r,!0)},"9gX7":function(e,t){e.exports=function(e,t,n,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect invocation!");return e}},"9rMk":function(e,t,n){var r=n("XKFU");r(r.S,"Reflect",{has:function(e,t){return t in e}})},Afnz:function(e,t,n){"use strict";var r=n("LQAc"),o=n("XKFU"),i=n("KroJ"),a=n("Mukb"),c=n("hPIQ"),u=n("QaDb"),s=n("fyDq"),f=n("OP3Y"),l=n("K0xU")("iterator"),p=!([].keys&&"next"in[].keys()),h=function(){return this};e.exports=function(e,t,n,v,d,y,g){u(n,t,v);var k,m,_,b=function(e){if(!p&&e in x)return x[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},w=t+" Iterator",T="values"==d,E=!1,x=e.prototype,O=x[l]||x["@@iterator"]||d&&x[d],S=O||b(d),D=d?T?b("entries"):S:void 0,P="Array"==t&&x.entries||O;if(P&&(_=f(P.call(new e)))!==Object.prototype&&_.next&&(s(_,w,!0),r||"function"==typeof _[l]||a(_,l,h)),T&&O&&"values"!==O.name&&(E=!0,S=function(){return O.call(this)}),r&&!g||!p&&!E&&x[l]||a(x,l,S),c[t]=S,c[w]=h,d)if(k={values:T?S:b("values"),keys:y?S:b("keys"),entries:D},g)for(m in k)m in x||i(x,m,k[m]);else o(o.P+o.F*(p||E),t,k);return k}},BqfV:function(e,t,n){var r=n("N6cJ"),o=n("y3w9"),i=r.get,a=r.key;r.exp({getOwnMetadata:function(e,t){return i(e,o(t),arguments.length<3?void 0:a(arguments[2]))}})},CkkT:function(e,t,n){var r=n("m0Pp"),o=n("Ymqv"),i=n("S/j/"),a=n("ne8i"),c=n("zRwo");e.exports=function(e,t){var n=1==e,u=2==e,s=3==e,f=4==e,l=6==e,p=5==e||l,h=t||c;return function(t,c,v){for(var d,y,g=i(t),k=o(g),m=r(c,v,3),_=a(k.length),b=0,w=n?h(t,_):u?h(t,0):void 0;_>b;b++)if((p||b in k)&&(y=m(d=k[b],b,g),e))if(n)w[b]=y;else if(y)switch(e){case 3:return!0;case 5:return d;case 6:return b;case 2:w.push(d)}else if(f)return!1;return l?-1:s||f?f:w}}},DVgA:function(e,t,n){var r=n("zhAb"),o=n("4R4u");e.exports=Object.keys||function(e){return r(e,o)}},EK0E:function(e,t,n){"use strict";var r,o=n("CkkT")(0),i=n("KroJ"),a=n("Z6vF"),c=n("czNK"),u=n("ZD67"),s=n("0/R4"),f=n("eeVq"),l=n("s5qY"),p=a.getWeak,h=Object.isExtensible,v=u.ufstore,d={},y=function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},g={get:function(e){if(s(e)){var t=p(e);return!0===t?v(l(this,"WeakMap")).get(e):t?t[this._i]:void 0}},set:function(e,t){return u.def(l(this,"WeakMap"),e,t)}},k=e.exports=n("4LiD")("WeakMap",y,g,u,!0,!0);f(function(){return 7!=(new k).set((Object.freeze||Object)(d),7).get(d)})&&(c((r=u.getConstructor(y,"WeakMap")).prototype,g),a.NEED=!0,o(["delete","has","get","set"],function(e){var t=k.prototype,n=t[e];i(t,e,function(t,o){if(s(t)&&!h(t)){this._f||(this._f=new r);var i=this._f[e](t,o);return"set"==e?this:i}return n.call(this,t,o)})}))},EWmC:function(e,t,n){var r=n("LZWt");e.exports=Array.isArray||function(e){return"Array"==r(e)}},EemH:function(e,t,n){var r=n("UqcF"),o=n("RjD/"),i=n("aCFj"),a=n("apmT"),c=n("aagx"),u=n("xpql"),s=Object.getOwnPropertyDescriptor;t.f=n("nh4g")?s:function(e,t){if(e=i(e),t=a(t,!0),u)try{return s(e,t)}catch(e){}if(c(e,t))return o(!r.f.call(e,t),e[t])}},FJW5:function(e,t,n){var r=n("hswa"),o=n("y3w9"),i=n("DVgA");e.exports=n("nh4g")?Object.defineProperties:function(e,t){o(e);for(var n,a=i(t),c=a.length,u=0;c>u;)r.f(e,n=a[u++],t[n]);return e}},FZcq:function(e,t,n){n("49D4"),n("zq+C"),n("45Tv"),n("uAtd"),n("BqfV"),n("fN/3"),n("iW+S"),n("7Dlh"),n("Opxb"),e.exports=n("g3g5").Reflect},H6hf:function(e,t,n){var r=n("y3w9");e.exports=function(e,t,n,o){try{return o?t(r(n)[0],n[1]):t(n)}catch(t){var i=e.return;throw void 0!==i&&r(i.call(e)),t}}},I5cv:function(e,t,n){var r=n("XKFU"),o=n("Kuth"),i=n("2OiF"),a=n("y3w9"),c=n("0/R4"),u=n("eeVq"),s=n("8MEG"),f=(n("dyZX").Reflect||{}).construct,l=u(function(){function e(){}return!(f(function(){},[],e)instanceof e)}),p=!u(function(){f(function(){})});r(r.S+r.F*(l||p),"Reflect",{construct:function(e,t){i(e),a(t);var n=arguments.length<3?e:i(arguments[2]);if(p&&!l)return f(e,t,n);if(e==n){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var r=[null];return r.push.apply(r,t),new(s.apply(e,r))}var u=n.prototype,h=o(c(u)?u:Object.prototype),v=Function.apply.call(e,h,t);return c(v)?v:h}})},"I8a+":function(e,t,n){var r=n("LZWt"),o=n("K0xU")("toStringTag"),i="Arguments"==r(function(){return arguments}());e.exports=function(e){var t,n,a;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),o))?n:i?r(t):"Object"==(a=r(t))&&"function"==typeof t.callee?"Arguments":a}},IlFx:function(e,t,n){var r=n("XKFU"),o=n("y3w9"),i=Object.isExtensible;r(r.S,"Reflect",{isExtensible:function(e){return o(e),!i||i(e)}})},Iw71:function(e,t,n){var r=n("0/R4"),o=n("dyZX").document,i=r(o)&&r(o.createElement);e.exports=function(e){return i?o.createElement(e):{}}},"J+6e":function(e,t,n){var r=n("I8a+"),o=n("K0xU")("iterator"),i=n("hPIQ");e.exports=n("g3g5").getIteratorMethod=function(e){if(void 0!=e)return e[o]||e["@@iterator"]||i[r(e)]}},JiEa:function(e,t){t.f=Object.getOwnPropertySymbols},K0xU:function(e,t,n){var r=n("VTer")("wks"),o=n("ylqs"),i=n("dyZX").Symbol,a="function"==typeof i;(e.exports=function(e){return r[e]||(r[e]=a&&i[e]||(a?i:o)("Symbol."+e))}).store=r},KroJ:function(e,t,n){var r=n("dyZX"),o=n("Mukb"),i=n("aagx"),a=n("ylqs")("src"),c=Function.toString,u=(""+c).split("toString");n("g3g5").inspectSource=function(e){return c.call(e)},(e.exports=function(e,t,n,c){var s="function"==typeof n;s&&(i(n,"name")||o(n,"name",t)),e[t]!==n&&(s&&(i(n,a)||o(n,a,e[t]?""+e[t]:u.join(String(t)))),e===r?e[t]=n:c?e[t]?e[t]=n:o(e,t,n):(delete e[t],o(e,t,n)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[a]||c.call(this)})},Kuth:function(e,t,n){var r=n("y3w9"),o=n("FJW5"),i=n("4R4u"),a=n("YTvA")("IE_PROTO"),c=function(){},u=function(){var e,t=n("Iw71")("iframe"),r=i.length;for(t.style.display="none",n("+rLv").appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("