Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ngx-pipes

Package Overview
Dependencies
Maintainers
1
Versions
94
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ngx-pipes - npm Package Compare versions

Comparing version 2.4.7 to 2.5.0

2

bundles/ngx-pipes.umd.min.js

@@ -1,2 +0,2 @@

!function(r,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@angular/core")):"function"==typeof define&&define.amd?define("ngx-pipes",["exports","@angular/core"],e):e(r["ngx-pipes"]={},r.ng.core)}(this,function(r,t){"use strict";var e=function(){function r(){}return r.prototype.transform=function(r){for(var e=[],t=1;t<arguments.length;t++)e[t-1]=arguments[t];return Array.isArray(r)?e.reduce(function(r,e){return r.filter(function(r){return!~e.indexOf(r)})},r):r},r.decorators=[{type:t.Pipe,args:[{name:"diff"}]}],r}(),n=function(){function r(){}return r.prototype.transform=function(r,e){return void 0===e&&(e=0),Array.isArray(r)?r.slice(0,r.length-e):r},r.decorators=[{type:t.Pipe,args:[{name:"initial"}]}],r}(),o=function(){function r(){}return r.prototype.transform=function(r,e){return void 0===e&&(e=!1),Array.isArray(r)?e?[].concat.apply([],r):this.flatten(r):r},r.prototype.flatten=function(r){var t=this;return r.reduce(function(r,e){return Array.isArray(e)?r.concat(t.flatten(e)):r.concat(e)},[])},r.decorators=[{type:t.Pipe,args:[{name:"flatten"}]}],r}(),i=function(){function r(){}return r.prototype.transform=function(r){for(var e=[],t=1;t<arguments.length;t++)e[t-1]=arguments[t];return Array.isArray(r)?e.reduce(function(r,e){return r.filter(function(r){return!!~e.indexOf(r)})},r):r},r.decorators=[{type:t.Pipe,args:[{name:"intersection"}]}],r}(),a=function(r,e){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,e){r.__proto__=e}||function(r,e){for(var t in e)e.hasOwnProperty(t)&&(r[t]=e[t])})(r,e)};function u(r,e){function t(){this.constructor=r}a(r,e),r.prototype=null===e?Object.create(e):(t.prototype=e.prototype,new t)}function p(r,e){var t="function"==typeof Symbol&&r[Symbol.iterator];if(!t)return r;var n,o,i=t.call(r),a=[];try{for(;(void 0===e||0<e--)&&!(n=i.next()).done;)a.push(n.value)}catch(u){o={error:u}}finally{try{n&&!n.done&&(t=i["return"])&&t.call(i)}finally{if(o)throw o.error}}return a}function f(){for(var r=[],e=0;e<arguments.length;e++)r=r.concat(p(arguments[e]));return r}function y(r){return void 0===r}function s(r){return"function"==typeof r}function c(r){return"number"==typeof r}function l(r){return"string"==typeof r}function m(r){return null!==r&&"object"==typeof r}function d(r){return c(r)&&isFinite(r)}function g(r){return-1!==["a","e","i","o","u"].indexOf(r)}function h(r){var e=p(r.split(/\s/g)),t=e[0],n=e.slice(1);return f([t.toLowerCase().split(/(?=['|-])/g).map(function(r){return-2<r.indexOf("-")+r.indexOf("'")?r.slice(0,2).toUpperCase()+r.slice(2):r.slice(0,1).toUpperCase()+r.slice(1)}).join("")],n).join(" ")}function P(r,e){if(e<=0)return Math.round(r);var t=Math.pow(10,e);return Math.round(r*t)/t}function v(r,e){var t=e.split("."),n=t.shift();return t.reduce(function(r,e){return y(r)||y(r[e])?undefined:r[e]},r[n||""])}function A(r,e){return f(Object.keys(r),Object.keys(e)).filter(function(r,e,t){return t.indexOf(r)===e})}var O=function(){function r(){}return r.prototype.transform=function(r){return l(r)?r.split("").reverse().join(""):Array.isArray(r)?r.slice().reverse():r},r.decorators=[{type:t.Pipe,args:[{name:"reverse"}]}],r}(),b=function(){function r(){}return r.prototype.transform=function(r,e){return void 0===e&&(e=0),Array.isArray(r)?r.slice(e):r},r.decorators=[{type:t.Pipe,args:[{name:"tail"}]}],r}(),w=function(){function r(){}return r.prototype.transform=function(r){return Array.isArray(r)?r.filter(function(r){return!!r}):r},r.decorators=[{type:t.Pipe,args:[{name:"truthify"}]}],r}(),x=function(){function r(){}return r.prototype.transform=function(r,e){return void 0===e&&(e=[]),Array.isArray(r)&&Array.isArray(e)?e.reduce(function(t,r){return t.concat(r.reduce(function(r,e){return~r.indexOf(e)||~t.indexOf(e)?r:r.concat([e])},[]))},r):r},r.decorators=[{type:t.Pipe,args:[{name:"union"}]}],r}(),M=function(){function r(){}return r.prototype.transform=function(t,n){var o=[];return Array.isArray(t)?y(n)?t.filter(function(r,e){return t.indexOf(r)===e}):t.filter(function(r,e){var t=v(r,n);return!y(t=m(t)?JSON.stringify(t):t)&&!o[t]&&(o[t]=!0)}):t},r.decorators=[{type:t.Pipe,args:[{name:"unique"}]}],r}(),E=function(){function r(){}return r.prototype.transform=function(r,e){return void 0===e&&(e=[]),Array.isArray(r)?r.filter(function(r){return!~e.indexOf(r)}):r},r.decorators=[{type:t.Pipe,args:[{name:"without"}]}],r}(),I=function(){function r(){}return r.prototype.transform=function(r,e){return Array.isArray(r)?r.map(function(r){return v(r,e)}):m(r)?v(r,e):r},r.decorators=[{type:t.Pipe,args:[{name:"pluck",pure:!1}]}],r}(),L=function(){function r(){}return r.prototype.transform=function(r){var e;if(!Array.isArray(r))return r;for(var t=f(r),n=r.length-1,o=0;o<n;++o){var i=Math.floor(Math.random()*(n-o+1))+o;e=p([t[i],t[o]],2),t[o]=e[0],t[i]=e[1]}return t},r.decorators=[{type:t.Pipe,args:[{name:"shuffle"}]}],r}(),N=function(){function r(){}return r.prototype.transform=function(r,e){return!!Array.isArray(r)&&r.every(e)},r.decorators=[{type:t.Pipe,args:[{name:"every"}]}],r}(),S=function(){function r(){}return r.prototype.transform=function(r,e){return Array.isArray(r)?r.some(e):r},r.decorators=[{type:t.Pipe,args:[{name:"some"}]}],r}(),U=function(){function r(){}return r.prototype.transform=function(r,e){if(void 0===e&&(e=1),!Array.isArray(r))return r;for(var t=[],n=f(r),o=e<n.length?e:n.length,i=0;i<o;++i)t=t.concat(n.splice(Math.floor(Math.random()*n.length),1));return t},r.decorators=[{type:t.Pipe,args:[{name:"sample"}]}],r}(),C=function(){function r(){}return r.prototype.transform=function(r,e,t){return void 0===e&&(e=[]),void 0===t&&(t="|"),Array.isArray(r)?this.groupBy(r,e,t):r},r.prototype.groupBy=function(r,n,o){var i=this;return r.reduce(function(r,e){var t=i.extractKeyByDiscriminator(n,e,o);return r[t]=Array.isArray(r[t])?r[t].concat([e]):[e],r},{})},r.prototype.extractKeyByDiscriminator=function(r,e,t){return s(r)?r(e):Array.isArray(r)?r.map(function(r){return v(e,r)}).join(t):v(e,r)},r.decorators=[{type:t.Pipe,args:[{name:"groupBy"}]}],r}(),T=function(){function r(){}return r.prototype.transform=function(r,e,t,c){if(void 0===t&&(t=""),void 0===c&&(c=!1),!Array.isArray(r)||!Array.isArray(t)&&!l(t)&&!d(t)&&!function o(r){return"boolean"==typeof r}(t))return r;var n=String(t).toLowerCase().split(",");return r.filter(function(s){return e.some(function(u){return n.some(function(t){var r=v(s,u),e=function a(r,e){var t=e.split("."),n=t.pop();return{props:v(r,t.join(".")),tail:n}}(s,u),n=e.props,o=e.tail;if(y(r)&&!y(n)&&Array.isArray(n))return n.some(function(r){var e=String(r[o]).toLowerCase();return c?e===t:!!~e.indexOf(t)});if(y(r))return!1;var i=String(r).toLowerCase();return c?t===i:!!~i.indexOf(t)})})})},r.decorators=[{type:t.Pipe,args:[{name:"filterBy"}]}],r}(),j=function(){function c(){}return c.prototype.transform=function(r,s){if(!Array.isArray(r))return r;var e=f(r);if(Array.isArray(s))return e.sort(function(r,e){for(var t=s.length,n=0;n<t;++n){var o=p(c.extractFromConfig(s[n]),2),i=o[0],a=o[1],u=c.orderCompare(i,a,r,e);if(0!==u)return u}return 0});if(l(s)){var t=p(c.extractFromConfig(s),3),n=t[0],o=t[1],i=t[2];if(1===s.length)switch(i){case"+":return e.sort(c.simpleSort.bind(this));case"-":return e.sort(c.simpleSort.bind(this)).reverse()}return e.sort(c.orderCompare.bind(this,n,o))}return e.sort(c.simpleSort.bind(this))},c.simpleSort=function(r,e){return l(r)&&l(e)?r.toLowerCase().localeCompare(e.toLowerCase()):r-e},c.orderCompare=function(r,e,t,n){var o=v(t,r),i=v(n,r);if(o===i)return 0;if(y(o)||""===o)return 1;if(y(i)||""===i)return-1;if(l(o)&&l(i)){var a=o.toLowerCase().localeCompare(i.toLowerCase());return e?a:-a}return e?o-i:i-o},c.extractFromConfig=function(r){var e=r.substr(0,1);return[r.replace(/^[-+]/,""),"-"!==e,e]},c.decorators=[{type:t.Pipe,args:[{name:"orderBy"}]}],c}(),k=function(r){function e(){return null!==r&&r.apply(this,arguments)||this}return u(e,r),e.decorators=[{type:t.Pipe,args:[{name:"groupByImpure",pure:!1}]}],e}(C),R=function(r){function e(){return null!==r&&r.apply(this,arguments)||this}return u(e,r),e.decorators=[{type:t.Pipe,args:[{name:"filterByImpure",pure:!1}]}],e}(T),B=function(r){function e(){return null!==r&&r.apply(this,arguments)||this}return u(e,r),e.decorators=[{type:t.Pipe,args:[{name:"orderByImpure",pure:!1}]}],e}(j),D=function(){function r(){}return r.prototype.transform=function(t,r,n){return void 0===t&&(t=1),void 0===r&&(r=0),void 0===n&&(n=1),Array(r).fill("").map(function(r,e){return n*e+t})},r.decorators=[{type:t.Pipe,args:[{name:"range"}]}],r}(),z=function(){function r(){}return r.prototype.transform=function(r,e){return void 0===e&&(e=1),l(r)?this.chunk(r.split(""),e):Array.isArray(r)?this.chunk(r,e):r},r.prototype.chunk=function(e,t){return Array(Math.ceil(e.length/t)).fill([]).map(function(r,e){return e*t}).map(function(r){return e.slice(r,r+t)})},r.decorators=[{type:t.Pipe,args:[{name:"chunk"}]}],r}(),q=[e,o,n,i,O,b,w,x,M,E,I,L,N,S,U,C,k,T,R,j,B,D,z],G=function(){function r(){}return r.decorators=[{type:t.NgModule,args:[{declarations:q,imports:[],exports:q}]}],r}(),_=function(){function r(){}return r.prototype.transform=function(r){return Array.isArray(r)||!m(r)?r:Object.keys(r)},r.decorators=[{type:t.Pipe,args:[{name:"keys"}]}],r}(),Y=function(){function r(){}return r.prototype.transform=function(e){return Array.isArray(e)||!m(e)?e:Object.keys(e).map(function(r){return e[r]})},r.decorators=[{type:t.Pipe,args:[{name:"values"}]}],r}(),F=function(){function r(){}return r.prototype.transform=function(e){return Array.isArray(e)||!m(e)?e:Object.keys(e).map(function(r){return[r,e[r]]})},r.decorators=[{type:t.Pipe,args:[{name:"pairs"}]}],r}(),K=function(){function r(){}return r.prototype.transform=function(n){for(var r=[],e=1;e<arguments.length;e++)r[e-1]=arguments[e];return Array.isArray(n)||!m(n)?n:r.reduce(function(r,e){var t;return Object.assign(r,((t={})[e]=n[e],t))},{})},r.decorators=[{type:t.Pipe,args:[{name:"pick"}]}],r}(),Z=function(){function r(){}return r.prototype.transform=function(n){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];return Array.isArray(n)||!m(n)?n:Object.keys(n).filter(function(r){return!~e.indexOf(r)}).reduce(function(r,e){var t;return Object.assign(r,((t={})[e]=n[e],t))},{})},r.decorators=[{type:t.Pipe,args:[{name:"omit"}]}],r}(),H=function(){function r(){}return r.prototype.transform=function(n){return Array.isArray(n)||!m(n)?n:Object.keys(n).reduce(function(r,e){var t;return Object.assign(r,((t={})[n[e]]=e,t))},{})},r.decorators=[{type:t.Pipe,args:[{name:"invert"}]}],r}(),W=function(){function r(){}return r.prototype.transform=function(o,i){return Array.isArray(o)||!m(o)?o:Object.keys(o).reduce(function(r,e){var t,n=i?i(o[e]):o[e];return Array.isArray(r[n])?(r[n].push(e),r):Object.assign(r,((t={})[n]=[e],t))},{})},r.decorators=[{type:t.Pipe,args:[{name:"invertBy"}]}],r}(),V=function(){function r(){}return r.prototype.transform=function(t,o){return void 0===o&&(o={}),Array.isArray(t)||Array.isArray(o)||!m(t)||!m(o)?{}:A(t,o).reduce(function(r,e){return function n(e,t){return m(e)&&m(t)?A(e,t).every(function(r){return m(e[r])||m(t[r])?!(!m(e[r])||!m(t[r]))&&n(e[r],t[r]):e[r]===t[r]}):e===t}(o[e],t[e])||(r[e]=t[e]),r},{})},r.decorators=[{type:t.Pipe,args:[{name:"diffObj"}]}],r}(),J=[_,Y,F,K,H,W,Z,V],Q=function(){function r(){}return r.decorators=[{type:t.NgModule,args:[{declarations:J,imports:[],exports:J}]}],r}(),X=function(){function r(){this.irregularMap={herb:"an",honor:"an",honorable:"an",hour:"an",mba:"an",msc:"an","m.sc.":"an",unicorn:"a"}}return r.prototype.transform=function(r){if(r&&""!==r){var e=r.trim().split(" ")[0];return this.irregularMap[e.toLocaleLowerCase()]?this.irregularMap[e.toLocaleLowerCase()]+" "+r:g(r[0])?"an "+r:"a "+r}return""},r.decorators=[{type:t.Pipe,args:[{name:"aOrAn"}]}],r}(),$=function(){function r(){}return r.prototype.transform=function(r){return l(r)?r.split(" ").map(function(r){return h(r)}).join(" "):r},r.decorators=[{type:t.Pipe,args:[{name:"ucwords"}]}],r}(),rr=function(){function r(){}return r.prototype.transform=function(r,e){return void 0===e&&(e="\\s"),l(r)?r.replace(new RegExp("^["+e+"]+"),""):r},r.decorators=[{type:t.Pipe,args:[{name:"ltrim"}]}],r}(),er=function(){function r(){}return r.prototype.transform=function(r,e,t){if(void 0===e&&(e=1),void 0===t&&(t=""),e<=0)throw new RangeError;return 1===e?r:this.repeat(r,e-1,t)},r.prototype.repeat=function(r,e,t){return l(r)?0===e?r:r+t+this.repeat(r,e-1,t):r},r.decorators=[{type:t.Pipe,args:[{name:"repeat"}]}],r}(),tr=function(){function r(){}return r.prototype.transform=function(r,e){return void 0===e&&(e="\\s"),l(r)?r.replace(new RegExp("["+e+"]+$"),""):r},r.decorators=[{type:t.Pipe,args:[{name:"rtrim"}]}],r}(),nr=function(){function r(){}return r.prototype.transform=function(r,t){return void 0===t&&(t=[]),l(r)?r.replace(/\{(\d+)}/g,function(r,e){return y(t[e])?r:t[e]}):r},r.decorators=[{type:t.Pipe,args:[{name:"scan"}]}],r}(),or=function(){function r(){}return r.prototype.transform=function(r,e,t,n){if(void 0===e&&(e=0),void 0===t&&(t=""),void 0===n&&(n=!0),!l(r))return r;if(r.length>e){if(n)return r.slice(0,e)+t;if(~r.indexOf(" ",e))return r.slice(0,r.indexOf(" ",e))+t}return r},r.decorators=[{type:t.Pipe,args:[{name:"shorten"}]}],r}(),ir=function(){function r(){}return r.prototype.transform=function(r){for(var e=[],t=1;t<arguments.length;t++)e[t-1]=arguments[t];return 0<e.length?r.replace(new RegExp("<(?!/?("+e.join("|")+")s*/?)[^>]+>","g"),""):r.replace(/<(?:.|\s)*?>/g,"")},r.decorators=[{type:t.Pipe,args:[{name:"stripTags"}]}],r}(),ar=function(){function r(){}return r.prototype.transform=function(r,e){return void 0===e&&(e="\\s"),l(r)?r.replace(new RegExp("^["+e+"]+|["+e+"]+$","g"),""):r},r.decorators=[{type:t.Pipe,args:[{name:"trim"}]}],r}(),ur=function(){function r(){}return r.prototype.transform=function(r){return l(r)?h(r):r},r.decorators=[{type:t.Pipe,args:[{name:"ucfirst"}]}],r}(),sr=function(){function r(){}return r.prototype.transform=function(r){return l(r)?r.toLowerCase().trim().replace(/[^\w\-]+/g," ").replace(/\s+/g,"-"):r},r.decorators=[{type:t.Pipe,args:[{name:"slugify"}]}],r}(),cr=function(){function r(){}return r.prototype.transform=function(r,e){return void 0===e&&(e="\\s"),l(r)?r.toLowerCase().split(/[-_\s]/g).filter(function(r){return!!r}).map(function(r,e){return e?r.slice(0,1).toUpperCase()+r.slice(1):r}).join(""):r},r.decorators=[{type:t.Pipe,args:[{name:"camelize"}]}],r}(),pr=function(){function r(){this.latinMap={"Á":"A","Ă":"A","Ắ":"A","Ặ":"A","Ằ":"A","Ẳ":"A","Ẵ":"A","Ǎ":"A","Â":"A","Ấ":"A","Ậ":"A","Ầ":"A","Ẩ":"A","Ẫ":"A","Ä":"A","Ǟ":"A","Ȧ":"A","Ǡ":"A","Ạ":"A","Ȁ":"A","À":"A","Ả":"A","Ȃ":"A","Ā":"A","Ą":"A","Å":"A","Ǻ":"A","Ḁ":"A","Ⱥ":"A","Ã":"A","Ꜳ":"AA","Æ":"AE","Ǽ":"AE","Ǣ":"AE","Ꜵ":"AO","Ꜷ":"AU","Ꜹ":"AV","Ꜻ":"AV","Ꜽ":"AY","Ḃ":"B","Ḅ":"B","Ɓ":"B","Ḇ":"B","Ƀ":"B","Ƃ":"B","Ć":"C","Č":"C","Ç":"C","Ḉ":"C","Ĉ":"C","Ċ":"C","Ƈ":"C","Ȼ":"C","Ď":"D","Ḑ":"D","Ḓ":"D","Ḋ":"D","Ḍ":"D","Ɗ":"D","Ḏ":"D","Dz":"D","Dž":"D","Đ":"D","Ƌ":"D","DZ":"DZ","DŽ":"DZ","É":"E","Ĕ":"E","Ě":"E","Ȩ":"E","Ḝ":"E","Ê":"E","Ế":"E","Ệ":"E","Ề":"E","Ể":"E","Ễ":"E","Ḙ":"E","Ë":"E","Ė":"E","Ẹ":"E","Ȅ":"E","È":"E","Ẻ":"E","Ȇ":"E","Ē":"E","Ḗ":"E","Ḕ":"E","Ę":"E","Ɇ":"E","Ẽ":"E","Ḛ":"E","Ꝫ":"ET","Ḟ":"F","Ƒ":"F","Ǵ":"G","Ğ":"G","Ǧ":"G","Ģ":"G","Ĝ":"G","Ġ":"G","Ɠ":"G","Ḡ":"G","Ǥ":"G","Ḫ":"H","Ȟ":"H","Ḩ":"H","Ĥ":"H","Ⱨ":"H","Ḧ":"H","Ḣ":"H","Ḥ":"H","Ħ":"H","Í":"I","Ĭ":"I","Ǐ":"I","Î":"I","Ï":"I","Ḯ":"I","İ":"I","Ị":"I","Ȉ":"I","Ì":"I","Ỉ":"I","Ȋ":"I","Ī":"I","Į":"I","Ɨ":"I","Ĩ":"I","Ḭ":"I","Ꝺ":"D","Ꝼ":"F","Ᵹ":"G","Ꞃ":"R","Ꞅ":"S","Ꞇ":"T","Ꝭ":"IS","Ĵ":"J","Ɉ":"J","Ḱ":"K","Ǩ":"K","Ķ":"K","Ⱪ":"K","Ꝃ":"K","Ḳ":"K","Ƙ":"K","Ḵ":"K","Ꝁ":"K","Ꝅ":"K","Ĺ":"L","Ƚ":"L","Ľ":"L","Ļ":"L","Ḽ":"L","Ḷ":"L","Ḹ":"L","Ⱡ":"L","Ꝉ":"L","Ḻ":"L","Ŀ":"L","Ɫ":"L","Lj":"L","Ł":"L","LJ":"LJ","Ḿ":"M","Ṁ":"M","Ṃ":"M","Ɱ":"M","Ń":"N","Ň":"N","Ņ":"N","Ṋ":"N","Ṅ":"N","Ṇ":"N","Ǹ":"N","Ɲ":"N","Ṉ":"N","Ƞ":"N","Nj":"N","Ñ":"N","NJ":"NJ","Ó":"O","Ŏ":"O","Ǒ":"O","Ô":"O","Ố":"O","Ộ":"O","Ồ":"O","Ổ":"O","Ỗ":"O","Ö":"O","Ȫ":"O","Ȯ":"O","Ȱ":"O","Ọ":"O","Ő":"O","Ȍ":"O","Ò":"O","Ỏ":"O","Ơ":"O","Ớ":"O","Ợ":"O","Ờ":"O","Ở":"O","Ỡ":"O","Ȏ":"O","Ꝋ":"O","Ꝍ":"O","Ō":"O","Ṓ":"O","Ṑ":"O","Ɵ":"O","Ǫ":"O","Ǭ":"O","Ø":"O","Ǿ":"O","Õ":"O","Ṍ":"O","Ṏ":"O","Ȭ":"O","Ƣ":"OI","Ꝏ":"OO","Ɛ":"E","Ɔ":"O","Ȣ":"OU","Ṕ":"P","Ṗ":"P","Ꝓ":"P","Ƥ":"P","Ꝕ":"P","Ᵽ":"P","Ꝑ":"P","Ꝙ":"Q","Ꝗ":"Q","Ŕ":"R","Ř":"R","Ŗ":"R","Ṙ":"R","Ṛ":"R","Ṝ":"R","Ȑ":"R","Ȓ":"R","Ṟ":"R","Ɍ":"R","Ɽ":"R","Ꜿ":"C","Ǝ":"E","Ś":"S","Ṥ":"S","Š":"S","Ṧ":"S","Ş":"S","Ŝ":"S","Ș":"S","Ṡ":"S","Ṣ":"S","Ṩ":"S","ẞ":"SS","Ť":"T","Ţ":"T","Ṱ":"T","Ț":"T","Ⱦ":"T","Ṫ":"T","Ṭ":"T","Ƭ":"T","Ṯ":"T","Ʈ":"T","Ŧ":"T","Ɐ":"A","Ꞁ":"L","Ɯ":"M","Ʌ":"V","Ꜩ":"TZ","Ú":"U","Ŭ":"U","Ǔ":"U","Û":"U","Ṷ":"U","Ü":"U","Ǘ":"U","Ǚ":"U","Ǜ":"U","Ǖ":"U","Ṳ":"U","Ụ":"U","Ű":"U","Ȕ":"U","Ù":"U","Ủ":"U","Ư":"U","Ứ":"U","Ự":"U","Ừ":"U","Ử":"U","Ữ":"U","Ȗ":"U","Ū":"U","Ṻ":"U","Ų":"U","Ů":"U","Ũ":"U","Ṹ":"U","Ṵ":"U","Ꝟ":"V","Ṿ":"V","Ʋ":"V","Ṽ":"V","Ꝡ":"VY","Ẃ":"W","Ŵ":"W","Ẅ":"W","Ẇ":"W","Ẉ":"W","Ẁ":"W","Ⱳ":"W","Ẍ":"X","Ẋ":"X","Ý":"Y","Ŷ":"Y","Ÿ":"Y","Ẏ":"Y","Ỵ":"Y","Ỳ":"Y","Ƴ":"Y","Ỷ":"Y","Ỿ":"Y","Ȳ":"Y","Ɏ":"Y","Ỹ":"Y","Ź":"Z","Ž":"Z","Ẑ":"Z","Ⱬ":"Z","Ż":"Z","Ẓ":"Z","Ȥ":"Z","Ẕ":"Z","Ƶ":"Z","IJ":"IJ","Œ":"OE","ᴀ":"A","ᴁ":"AE","ʙ":"B","ᴃ":"B","ᴄ":"C","ᴅ":"D","ᴇ":"E","ꜰ":"F","ɢ":"G","ʛ":"G","ʜ":"H","ɪ":"I","ʁ":"R","ᴊ":"J","ᴋ":"K","ʟ":"L","ᴌ":"L","ᴍ":"M","ɴ":"N","ᴏ":"O","ɶ":"OE","ᴐ":"O","ᴕ":"OU","ᴘ":"P","ʀ":"R","ᴎ":"N","ᴙ":"R","ꜱ":"S","ᴛ":"T","ⱻ":"E","ᴚ":"R","ᴜ":"U","ᴠ":"V","ᴡ":"W","ʏ":"Y","ᴢ":"Z","á":"a","ă":"a","ắ":"a","ặ":"a","ằ":"a","ẳ":"a","ẵ":"a","ǎ":"a","â":"a","ấ":"a","ậ":"a","ầ":"a","ẩ":"a","ẫ":"a","ä":"a","ǟ":"a","ȧ":"a","ǡ":"a","ạ":"a","ȁ":"a","à":"a","ả":"a","ȃ":"a","ā":"a","ą":"a","ᶏ":"a","ẚ":"a","å":"a","ǻ":"a","ḁ":"a","ⱥ":"a","ã":"a","ꜳ":"aa","æ":"ae","ǽ":"ae","ǣ":"ae","ꜵ":"ao","ꜷ":"au","ꜹ":"av","ꜻ":"av","ꜽ":"ay","ḃ":"b","ḅ":"b","ɓ":"b","ḇ":"b","ᵬ":"b","ᶀ":"b","ƀ":"b","ƃ":"b","ɵ":"o","ć":"c","č":"c","ç":"c","ḉ":"c","ĉ":"c","ɕ":"c","ċ":"c","ƈ":"c","ȼ":"c","ď":"d","ḑ":"d","ḓ":"d","ȡ":"d","ḋ":"d","ḍ":"d","ɗ":"d","ᶑ":"d","ḏ":"d","ᵭ":"d","ᶁ":"d","đ":"d","ɖ":"d","ƌ":"d","ı":"i","ȷ":"j","ɟ":"j","ʄ":"j","dz":"dz","dž":"dz","é":"e","ĕ":"e","ě":"e","ȩ":"e","ḝ":"e","ê":"e","ế":"e","ệ":"e","ề":"e","ể":"e","ễ":"e","ḙ":"e","ë":"e","ė":"e","ẹ":"e","ȅ":"e","è":"e","ẻ":"e","ȇ":"e","ē":"e","ḗ":"e","ḕ":"e","ⱸ":"e","ę":"e","ᶒ":"e","ɇ":"e","ẽ":"e","ḛ":"e","ꝫ":"et","ḟ":"f","ƒ":"f","ᵮ":"f","ᶂ":"f","ǵ":"g","ğ":"g","ǧ":"g","ģ":"g","ĝ":"g","ġ":"g","ɠ":"g","ḡ":"g","ᶃ":"g","ǥ":"g","ḫ":"h","ȟ":"h","ḩ":"h","ĥ":"h","ⱨ":"h","ḧ":"h","ḣ":"h","ḥ":"h","ɦ":"h","ẖ":"h","ħ":"h","ƕ":"hv","í":"i","ĭ":"i","ǐ":"i","î":"i","ï":"i","ḯ":"i","ị":"i","ȉ":"i","ì":"i","ỉ":"i","ȋ":"i","ī":"i","į":"i","ᶖ":"i","ɨ":"i","ĩ":"i","ḭ":"i","ꝺ":"d","ꝼ":"f","ᵹ":"g","ꞃ":"r","ꞅ":"s","ꞇ":"t","ꝭ":"is","ǰ":"j","ĵ":"j","ʝ":"j","ɉ":"j","ḱ":"k","ǩ":"k","ķ":"k","ⱪ":"k","ꝃ":"k","ḳ":"k","ƙ":"k","ḵ":"k","ᶄ":"k","ꝁ":"k","ꝅ":"k","ĺ":"l","ƚ":"l","ɬ":"l","ľ":"l","ļ":"l","ḽ":"l","ȴ":"l","ḷ":"l","ḹ":"l","ⱡ":"l","ꝉ":"l","ḻ":"l","ŀ":"l","ɫ":"l","ᶅ":"l","ɭ":"l","ł":"l","lj":"lj","ſ":"s","ẜ":"s","ẛ":"s","ẝ":"s","ḿ":"m","ṁ":"m","ṃ":"m","ɱ":"m","ᵯ":"m","ᶆ":"m","ń":"n","ň":"n","ņ":"n","ṋ":"n","ȵ":"n","ṅ":"n","ṇ":"n","ǹ":"n","ɲ":"n","ṉ":"n","ƞ":"n","ᵰ":"n","ᶇ":"n","ɳ":"n","ñ":"n","nj":"nj","ó":"o","ŏ":"o","ǒ":"o","ô":"o","ố":"o","ộ":"o","ồ":"o","ổ":"o","ỗ":"o","ö":"o","ȫ":"o","ȯ":"o","ȱ":"o","ọ":"o","ő":"o","ȍ":"o","ò":"o","ỏ":"o","ơ":"o","ớ":"o","ợ":"o","ờ":"o","ở":"o","ỡ":"o","ȏ":"o","ꝋ":"o","ꝍ":"o","ⱺ":"o","ō":"o","ṓ":"o","ṑ":"o","ǫ":"o","ǭ":"o","ø":"o","ǿ":"o","õ":"o","ṍ":"o","ṏ":"o","ȭ":"o","ƣ":"oi","ꝏ":"oo","ɛ":"e","ᶓ":"e","ɔ":"o","ᶗ":"o","ȣ":"ou","ṕ":"p","ṗ":"p","ꝓ":"p","ƥ":"p","ᵱ":"p","ᶈ":"p","ꝕ":"p","ᵽ":"p","ꝑ":"p","ꝙ":"q","ʠ":"q","ɋ":"q","ꝗ":"q","ŕ":"r","ř":"r","ŗ":"r","ṙ":"r","ṛ":"r","ṝ":"r","ȑ":"r","ɾ":"r","ᵳ":"r","ȓ":"r","ṟ":"r","ɼ":"r","ᵲ":"r","ᶉ":"r","ɍ":"r","ɽ":"r","ↄ":"c","ꜿ":"c","ɘ":"e","ɿ":"r","ś":"s","ṥ":"s","š":"s","ṧ":"s","ş":"s","ŝ":"s","ș":"s","ṡ":"s","ṣ":"s","ṩ":"s","ʂ":"s","ᵴ":"s","ᶊ":"s","ȿ":"s","ɡ":"g","ß":"ss","ᴑ":"o","ᴓ":"o","ᴝ":"u","ť":"t","ţ":"t","ṱ":"t","ț":"t","ȶ":"t","ẗ":"t","ⱦ":"t","ṫ":"t","ṭ":"t","ƭ":"t","ṯ":"t","ᵵ":"t","ƫ":"t","ʈ":"t","ŧ":"t","ᵺ":"th","ɐ":"a","ᴂ":"ae","ǝ":"e","ᵷ":"g","ɥ":"h","ʮ":"h","ʯ":"h","ᴉ":"i","ʞ":"k","ꞁ":"l","ɯ":"m","ɰ":"m","ᴔ":"oe","ɹ":"r","ɻ":"r","ɺ":"r","ⱹ":"r","ʇ":"t","ʌ":"v","ʍ":"w","ʎ":"y","ꜩ":"tz","ú":"u","ŭ":"u","ǔ":"u","û":"u","ṷ":"u","ü":"u","ǘ":"u","ǚ":"u","ǜ":"u","ǖ":"u","ṳ":"u","ụ":"u","ű":"u","ȕ":"u","ù":"u","ủ":"u","ư":"u","ứ":"u","ự":"u","ừ":"u","ử":"u","ữ":"u","ȗ":"u","ū":"u","ṻ":"u","ų":"u","ᶙ":"u","ů":"u","ũ":"u","ṹ":"u","ṵ":"u","ᵫ":"ue","ꝸ":"um","ⱴ":"v","ꝟ":"v","ṿ":"v","ʋ":"v","ᶌ":"v","ⱱ":"v","ṽ":"v","ꝡ":"vy","ẃ":"w","ŵ":"w","ẅ":"w","ẇ":"w","ẉ":"w","ẁ":"w","ⱳ":"w","ẘ":"w","ẍ":"x","ẋ":"x","ᶍ":"x","ý":"y","ŷ":"y","ÿ":"y","ẏ":"y","ỵ":"y","ỳ":"y","ƴ":"y","ỷ":"y","ỿ":"y","ȳ":"y","ẙ":"y","ɏ":"y","ỹ":"y","ź":"z","ž":"z","ẑ":"z","ʑ":"z","ⱬ":"z","ż":"z","ẓ":"z","ȥ":"z","ẕ":"z","ᵶ":"z","ᶎ":"z","ʐ":"z","ƶ":"z","ɀ":"z","ff":"ff","ffi":"ffi","ffl":"ffl","fi":"fi","fl":"fl","ij":"ij","œ":"oe","st":"st","ₐ":"a","ₑ":"e","ᵢ":"i","ⱼ":"j","ₒ":"o","ᵣ":"r","ᵤ":"u","ᵥ":"v","ₓ":"x"}}return r.prototype.transform=function(r,e){var t=this;return void 0===e&&(e="\\s"),l(r)?r.replace(/[^A-Za-z0-9]/g,function(r){return t.latinMap[r]||r}):r},r.decorators=[{type:t.Pipe,args:[{name:"latinise"}]}],r}(),fr=function(){function r(){}return r.prototype.transform=function(r,e){return void 0===e&&(e="\\s"),l(r)?r.replace(/\r\n/g,"\n").split("\n"):r},r.decorators=[{type:t.Pipe,args:[{name:"lines"}]}],r}(),yr=function(){function r(){}return r.prototype.transform=function(r,e){return void 0===e&&(e="\\s"),l(r)?r.trim().replace(/\s+/g,"").replace(/[A-Z]/g,function(r,e){return e?"_"+r.toLowerCase():r.toLowerCase()}):r},r.decorators=[{type:t.Pipe,args:[{name:"underscore"}]}],r}(),lr=function(){function r(){}return r.prototype.transform=function(r,e,t){return l(r)?r.match(new RegExp(e,t)):r},r.decorators=[{type:t.Pipe,args:[{name:"match"}]}],r}(),mr=function(){function r(){}return r.prototype.transform=function(r,e,t){return l(r)?new RegExp(e,t).test(r):r},r.decorators=[{type:t.Pipe,args:[{name:"test"}]}],r}(),dr=function(){function r(){}return r.prototype.transform=function(r,e,t){if(void 0===t&&(t=" "),!l(r)||r.length>=e)return r;for(;r.length<e;)r=t+r;return r},r.decorators=[{type:t.Pipe,args:[{name:"lpad"}]}],r}(),gr=function(){function r(){}return r.prototype.transform=function(r,e,t){if(void 0===e&&(e=1),void 0===t&&(t=" "),!l(r)||r.length>=e)return r;for(;r.length<e;)r+=t;return r},r.decorators=[{type:t.Pipe,args:[{name:"rpad"}]}],r}(),hr=function(){function r(){this.irregularMap={addendum:"addenda",alga:"algae",alumna:"alumnae",alumnus:"alumni",analysis:"analyses",antenna:"antennae",appendix:"appendices",aquarium:"aquaria",arch:"arches",axe:"axes",axis:"axes",bacillus:"bacilli",bacterium:"bacteria",basis:"bases",batch:"batches",beach:"beaches",beau:"beaux",bison:"bison",brush:"brushes",buffalo:"buffaloes",bureau:"bureaus",bus:"busses",cactus:"cacti",calf:"calves",chateau:"chateaux",cherry:"cherries",child:"children",church:"churches",circus:"circuses",cod:"cod",corps:"corps",corpus:"corpora",crisis:"crises",criterion:"criteria",curriculum:"curricula",datum:"data",deer:"deer",diagnosis:"diagnoses",die:"dice",domino:"dominoes",dwarf:"dwarves",echo:"echoes",elf:"elves",ellipsis:"ellipses",embargo:"embargoes",emphasis:"emphases",erratum:"errata",fax:"faxes",fireman:"firemen",fish:"fish",flush:"flushes",focus:"foci",foot:"feet",formula:"formulas",fungus:"fungi",genus:"genera",goose:"geese",grafito:"grafiti",half:"halves",hero:"heroes",hoax:"hoaxes",hoof:"hooves",hypothesis:"hypotheses",index:"indices",kiss:"kisses",knife:"knives",leaf:"leaves",life:"lives",loaf:"loaves",louse:"lice",man:"men",mango:"mangoes",matrix:"matrices",means:"means",medium:"media",memorandum:"memoranda",millennium:"milennia",moose:"moose",mosquito:"mosquitoes",motto:"mottoes",mouse:"mice",nebula:"nebulae",neurosis:"neuroses",nucleus:"nuclei",oasis:"oases",octopus:"octopodes",ovum:"ova",ox:"oxen",paralysis:"paralyses",parenthesis:"parentheses",person:"people",phenomenon:"phenomena",plateau:"plateaux",potato:"potatoes",quiz:"quizzes",radius:"radii",reflex:"reflexes","runner-up":"runners-up",scampo:"scampi",scarf:"scarves",scissors:"scissors",scratch:"scratches",self:"selves",series:"series",sheaf:"sheaves",sheep:"sheep",shelf:"shelves","son-in-law":"sons-in-law",species:"species",splash:"splashes",stimulus:"stimuli",stitch:"stitches",stratum:"strata",syllabus:"syllabi",symposium:"symposia",synopsis:"synopses",synthesis:"syntheses",tableau:"tableaux",tax:"taxes",that:"those",thesis:"theses",thief:"thieves","this":"these",tomato:"tomatoes",tooth:"teeth",tornado:"tornadoes",torpedo:"torpedoes",vertebra:"vertebrae",veto:"vetoes",vita:"vitae",volcano:"volcanoes",waltz:"waltzes",wash:"washes",watch:"watches",wharf:"wharves",wife:"wives",wolf:"wolves",woman:"women",zero:"zeroes"}}return r.prototype.transform=function(r,e){if(void 0===e&&(e=0),!r||""===r)return"";if(1===e)return r;var t=r.trim().split(" ")[r.trim().split(" ").length-1];return this.irregularMap[t.toLocaleLowerCase()]?t[0]===t[0].toLocaleUpperCase()?r.replace(t,this.irregularMap[t.toLocaleLowerCase()].replace(this.irregularMap[t.toLocaleLowerCase()][0],this.irregularMap[t.toLocaleLowerCase()][0].toLocaleUpperCase())):r.replace(t,this.irregularMap[t.toLocaleLowerCase()]):"y"===t[t.length-1]?g(t[t.length-2])?r+"s":r.replace(t,t.slice(0,-1)+"ies"):"s"===t[t.length-1]?r+"es":r+"s"},r.decorators=[{type:t.Pipe,args:[{name:"makePluralString"}]}],r}(),Pr=function(){function r(){}return r.prototype.transform=function(r,e,t){return void 0===e&&(e=""),void 0===t&&(t=""),l(r)?(e&&l(e)?e:"")+r+(t&&l(t)?t:""):r},r.decorators=[{type:t.Pipe,args:[{name:"wrap"}]}],r}(),vr=[X,rr,er,tr,nr,or,ir,ar,ur,$,sr,cr,pr,fr,yr,lr,mr,dr,gr,hr,Pr],Ar=function(){function r(){}return r.decorators=[{type:t.NgModule,args:[{declarations:vr,imports:[],exports:vr}]}],r}(),Or=function(){function r(){}return r.prototype.transform=function(r){return Array.isArray(r)?Math.max.apply(Math,f(r)):r},r.decorators=[{type:t.Pipe,args:[{name:"max"}]}],r}(),br=function(){function r(){}return r.prototype.transform=function(r){return Array.isArray(r)?Math.min.apply(Math,f(r)):r},r.decorators=[{type:t.Pipe,args:[{name:"min"}]}],r}(),wr=function(){function r(){}return r.prototype.transform=function(r,e,t){if(void 0===e&&(e=100),void 0===t&&(t=!1),isNaN(r))return r;var n=100*r/e;return t?Math.floor(n):n},r.decorators=[{type:t.Pipe,args:[{name:"percentage"}]}],r}(),xr=function(){function r(){}return r.prototype.transform=function(r){return Array.isArray(r)?r.reduce(function(r,e){return r+e},0):r},r.decorators=[{type:t.Pipe,args:[{name:"sum"}]}],r}(),Mr=function(){function r(){}return r.prototype.transform=function(r,e){if(void 0===e&&(e=0),e<=0)return Math.floor(r);var t=Math.pow(10,e);return Math.floor(r*t)/t},r.decorators=[{type:t.Pipe,args:[{name:"floor"}]}],r}(),Er=function(){function r(){}return r.prototype.transform=function(r,e){return void 0===e&&(e=0),P(r,e)},r.decorators=[{type:t.Pipe,args:[{name:"round"}]}],r}(),Ir=function(){function r(){}return r.prototype.transform=function(r){return isNaN(r)?r:Math.sqrt(r)},r.decorators=[{type:t.Pipe,args:[{name:"sqrt"}]}],r}(),Lr=function(){function r(){}return r.prototype.transform=function(r,e){return void 0===e&&(e=2),isNaN(r)?r:Math.pow(r,e)},r.decorators=[{type:t.Pipe,args:[{name:"pow"}]}],r}(),Nr=function(){function r(){}return r.prototype.transform=function(r,e){if(void 0===e&&(e=0),e<=0)return Math.ceil(r);var t=Math.pow(10,e);return Math.ceil(r*t)/t},r.decorators=[{type:t.Pipe,args:[{name:"ceil"}]}],r}(),Sr=function(){function r(){}return r.prototype.transform=function(r){return d(r)?180*r/Math.PI:NaN},r.decorators=[{type:t.Pipe,args:[{name:"degrees"}]}],r}(),Ur=function(){function r(){this.dictionary=[{max:1024,type:"B"},{max:1048576,type:"KB"},{max:1073741824,type:"MB"},{max:10995116e5,type:"GB"}]}return r.prototype.transform=function(e,r){if(!d(e))return NaN;var t=this.dictionary.find(function(r){return e<r.max})||this.dictionary[this.dictionary.length-1],n=e/(t.max/1024);return(y(r)?n:P(n,r))+" "+t.type},r.decorators=[{type:t.Pipe,args:[{name:"bytes"}]}],r}(),Cr=function(){function r(){}return r.prototype.transform=function(r){return d(r)?r*Math.PI/180:NaN},r.decorators=[{type:t.Pipe,args:[{name:"radians"}]}],r}(),Tr=[Or,br,wr,xr,Mr,Er,Ir,Lr,Nr,Sr,Ur,Cr],jr=function(){function r(){}return r.decorators=[{type:t.NgModule,args:[{declarations:Tr,imports:[],exports:Tr}]}],r}(),kr=function(){function r(){}return r.prototype.transform=function(r){return!y(r)},r.decorators=[{type:t.Pipe,args:[{name:"isDefined"}]}],r}(),Rr=function(){function r(){}return r.prototype.transform=function(r){return null===r},r.decorators=[{type:t.Pipe,args:[{name:"isNull"}]}],r}(),Br=function(){function r(){}return r.prototype.transform=function(r){return y(r)},r.decorators=[{type:t.Pipe,args:[{name:"isUndefined"}]}],r}(),Dr=function(){function r(){}return r.prototype.transform=function(r){return l(r)},r.decorators=[{type:t.Pipe,args:[{name:"isString"}]}],r}(),zr=function(){function r(){}return r.prototype.transform=function(r){return s(r)},r.decorators=[{type:t.Pipe,args:[{name:"isFunction"}]}],r}(),qr=function(){function r(){}return r.prototype.transform=function(r){return c(r)},r.decorators=[{type:t.Pipe,args:[{name:"isNumber"}]}],r}(),Gr=function(){function r(){}return r.prototype.transform=function(r){return Array.isArray(r)},r.decorators=[{type:t.Pipe,args:[{name:"isArray"}]}],r}(),_r=function(){function r(){}return r.prototype.transform=function(r){return m(r)},r.decorators=[{type:t.Pipe,args:[{name:"isObject"}]}],r}(),Yr=function(){function r(){}return r.prototype.transform=function(r,e){return e<=r},r.decorators=[{type:t.Pipe,args:[{name:"isGreaterEqualThan"}]}],r}(),Fr=function(){function r(){}return r.prototype.transform=function(r,e){return e<r},r.decorators=[{type:t.Pipe,args:[{name:"isGreaterThan"}]}],r}(),Kr=function(){function r(){}return r.prototype.transform=function(r,e){return r<=e},r.decorators=[{type:t.Pipe,args:[{name:"isLessEqualThan"}]}],r}(),Zr=function(){function r(){}return r.prototype.transform=function(r,e){return r==e},r.decorators=[{type:t.Pipe,args:[{name:"isEqualTo"}]}],r}(),Hr=function(){function r(){}return r.prototype.transform=function(r,e){return r!=e},r.decorators=[{type:t.Pipe,args:[{name:"isNotEqualTo"}]}],r}(),Wr=function(){function r(){}return r.prototype.transform=function(r,e){return r===e},r.decorators=[{type:t.Pipe,args:[{name:"isIdenticalTo"}]}],r}(),Vr=function(){function r(){}return r.prototype.transform=function(r,e){return r!==e},r.decorators=[{type:t.Pipe,args:[{name:"isNotIdenticalTo"}]}],r}(),Jr=function(){function r(){}return r.prototype.transform=function(r,e){return r<e},r.decorators=[{type:t.Pipe,args:[{name:"isLessThan"}]}],r}(),Qr=[kr,Rr,Br,Dr,zr,qr,Gr,_r,Yr,Fr,Kr,Kr,Zr,Hr,Wr,Vr,Jr],Xr=function(){function r(){}return r.decorators=[{type:t.NgModule,args:[{declarations:Qr,imports:[],exports:Qr}]}],r}(),$r=function(){function c(){}return c.prototype.transform=function(r){if(!r||!r.getTime&&!r.toDate)return"Invalid date";var e=r.toDate?r.toDate():r.getTime(),t=+new Date;if(t<e)return"in the future";for(var n=0,o=c.MAPPER.length,i=t-e,a=c.YEAR_MS;n<o;++n){var u=c.MAPPER[n],s=Math.floor(i/(a/=u.div));if(1<=s)return 1===s?u.single:s+" "+u.many+" ago"}return"just now"},c.YEAR_MS=290304e5,c.MAPPER=[{single:"last year",many:"years",div:1},{single:"last month",many:"months",div:12},{single:"last week",many:"weeks",div:4},{single:"yesterday",many:"days",div:7},{single:"an hour ago",many:"hours",div:24},{single:"just now",many:"minutes",div:60}],c.decorators=[{type:t.Pipe,args:[{name:"timeAgo"}]}],c}(),re=[$r],ee=function(){function r(){}return r.decorators=[{type:t.NgModule,args:[{declarations:re,imports:[],exports:re}]}],r}(),te=function(){function r(){}return r.decorators=[{type:t.NgModule,args:[{exports:[G,Ar,jr,Xr,Q,ee]}]}],r}();r.NgPipesModule=te,r.NgArrayPipesModule=G,r.DiffPipe=e,r.InitialPipe=n,r.FlattenPipe=o,r.IntersectionPipe=i,r.ReversePipe=O,r.TailPipe=b,r.TrurthifyPipe=w,r.UnionPipe=x,r.UniquePipe=M,r.WithoutPipe=E,r.PluckPipe=I,r.ShufflePipe=L,r.EveryPipe=N,r.SomePipe=S,r.SamplePipe=U,r.GroupByPipe=C,r.FilterByPipe=T,r.OrderByPipe=j,r.GroupByImpurePipe=k,r.FilterByImpurePipe=R,r.OrderByImpurePipe=B,r.RangePipe=D,r.ChunkPipe=z,r.NgObjectPipesModule=Q,r.KeysPipe=_,r.ValuesPipe=Y,r.PairsPipe=F,r.PickPipe=K,r.OmitPipe=Z,r.InvertPipe=H,r.InvertByPipe=W,r.DiffObjPipe=V,r.STRING_PIPES=vr,r.NgStringPipesModule=Ar,r.AorAnPipe=X,r.UcWordsPipe=$,r.LeftTrimPipe=rr,r.RepeatPipe=er,r.RightTrimPipe=tr,r.ScanPipe=nr,r.ShortenPipe=or,r.StripTagsPipe=ir,r.TrimPipe=ar,r.UcFirstPipe=ur,r.SlugifyPipe=sr,r.CamelizePipe=cr,r.LatinisePipe=pr,r.LinesPipe=fr,r.UnderscorePipe=yr,r.MatchPipe=lr,r.TestPipe=mr,r.LeftPadPipe=dr,r.RightPadPipe=gr,r.MakePluralStringPipe=hr,r.WrapPipe=Pr,r.MATH_PIPES=Tr,r.NgMathPipesModule=jr,r.MaxPipe=Or,r.MinPipe=br,r.PercentagePipe=wr,r.SumPipe=xr,r.FloorPipe=Mr,r.RoundPipe=Er,r.SqrtPipe=Ir,r.PowerPipe=Lr,r.CeilPipe=Nr,r.DegreesPipe=Sr,r.BytesPipe=Ur,r.BOOLEAN_PIPES=Qr,r.NgBooleanPipesModule=Xr,r.IsDefinedPipe=kr,r.IsNullPipe=Rr,r.IsUndefinedPipe=Br,r.IsStringPipe=Dr,r.IsFunctionPipe=zr,r.IsNumberPipe=qr,r.IsArrayPipe=Gr,r.IsObjectPipe=_r,r.IsGreaterEqualThanPipe=Yr,r.IsGreaterThanPipe=Fr,r.IsLessEqualThanPipe=Kr,r.IsEqualToPipe=Zr,r.IsNotEqualToPipe=Hr,r.IsIdenticalToPipe=Wr,r.IsNotIdenticalToPipe=Vr,r.IsLessThanPipe=Jr,r.DATE_PIPES=re,r.NgDatePipesModule=ee,r.TimeAgoPipe=$r,r.ɵa=l,r.ɵb=Cr,Object.defineProperty(r,"__esModule",{value:!0})});
!function(r,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@angular/core")):"function"==typeof define&&define.amd?define("ngx-pipes",["exports","@angular/core"],e):e(r["ngx-pipes"]={},r.ng.core)}(this,function(r,t){"use strict";var e=function(){function r(){}return r.prototype.transform=function(r){for(var e=[],t=1;t<arguments.length;t++)e[t-1]=arguments[t];return Array.isArray(r)?e.reduce(function(r,e){return r.filter(function(r){return!~e.indexOf(r)})},r):r},r.decorators=[{type:t.Pipe,args:[{name:"diff"}]}],r}(),n=function(){function r(){}return r.prototype.transform=function(r,e){return void 0===e&&(e=0),Array.isArray(r)?r.slice(0,r.length-e):r},r.decorators=[{type:t.Pipe,args:[{name:"initial"}]}],r}(),o=function(){function r(){}return r.prototype.transform=function(r,e){return void 0===e&&(e=!1),Array.isArray(r)?e?[].concat.apply([],r):this.flatten(r):r},r.prototype.flatten=function(r){var t=this;return r.reduce(function(r,e){return Array.isArray(e)?r.concat(t.flatten(e)):r.concat(e)},[])},r.decorators=[{type:t.Pipe,args:[{name:"flatten"}]}],r}(),i=function(){function r(){}return r.prototype.transform=function(r){for(var e=[],t=1;t<arguments.length;t++)e[t-1]=arguments[t];return Array.isArray(r)?e.reduce(function(r,e){return r.filter(function(r){return!!~e.indexOf(r)})},r):r},r.decorators=[{type:t.Pipe,args:[{name:"intersection"}]}],r}(),a=function(r,e){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,e){r.__proto__=e}||function(r,e){for(var t in e)e.hasOwnProperty(t)&&(r[t]=e[t])})(r,e)};function u(r,e){function t(){this.constructor=r}a(r,e),r.prototype=null===e?Object.create(e):(t.prototype=e.prototype,new t)}function p(r,e){var t="function"==typeof Symbol&&r[Symbol.iterator];if(!t)return r;var n,o,i=t.call(r),a=[];try{for(;(void 0===e||0<e--)&&!(n=i.next()).done;)a.push(n.value)}catch(u){o={error:u}}finally{try{n&&!n.done&&(t=i["return"])&&t.call(i)}finally{if(o)throw o.error}}return a}function f(){for(var r=[],e=0;e<arguments.length;e++)r=r.concat(p(arguments[e]));return r}function y(r){return void 0===r}function s(r){return"function"==typeof r}function c(r){return"number"==typeof r}function l(r){return"string"==typeof r}function m(r){return null!==r&&"object"==typeof r}function d(r){return c(r)&&isFinite(r)}function g(r){return-1!==["a","e","i","o","u"].indexOf(r)}function h(r){var e=p(r.split(/\s/g)),t=e[0],n=e.slice(1);return f([t.toLowerCase().split(/(?=['|-])/g).map(function(r){return-2<r.indexOf("-")+r.indexOf("'")?r.slice(0,2).toUpperCase()+r.slice(2):r.slice(0,1).toUpperCase()+r.slice(1)}).join("")],n).join(" ")}function P(r,e){if(e<=0)return Math.round(r);var t=Math.pow(10,e);return Math.round(r*t)/t}function v(r,e){var t=e.split("."),n=t.shift();return t.reduce(function(r,e){return y(r)||y(r[e])?undefined:r[e]},r[n||""])}function A(r,e){return f(Object.keys(r),Object.keys(e)).filter(function(r,e,t){return t.indexOf(r)===e})}var O=function(){function r(){}return r.prototype.transform=function(r){return l(r)?r.split("").reverse().join(""):Array.isArray(r)?r.slice().reverse():r},r.decorators=[{type:t.Pipe,args:[{name:"reverse"}]}],r}(),b=function(){function r(){}return r.prototype.transform=function(r,e){return void 0===e&&(e=0),Array.isArray(r)?r.slice(e):r},r.decorators=[{type:t.Pipe,args:[{name:"tail"}]}],r}(),w=function(){function r(){}return r.prototype.transform=function(r){return Array.isArray(r)?r.filter(function(r){return!!r}):r},r.decorators=[{type:t.Pipe,args:[{name:"truthify"}]}],r}(),x=function(){function r(){}return r.prototype.transform=function(r,e){return void 0===e&&(e=[]),Array.isArray(r)&&Array.isArray(e)?e.reduce(function(t,r){return t.concat(r.reduce(function(r,e){return~r.indexOf(e)||~t.indexOf(e)?r:r.concat([e])},[]))},r):r},r.decorators=[{type:t.Pipe,args:[{name:"union"}]}],r}(),M=function(){function r(){}return r.prototype.transform=function(t,n){var o=[];return Array.isArray(t)?y(n)?t.filter(function(r,e){return t.indexOf(r)===e}):t.filter(function(r,e){var t=v(r,n);return!y(t=m(t)?JSON.stringify(t):t)&&!o[t]&&(o[t]=!0)}):t},r.decorators=[{type:t.Pipe,args:[{name:"unique"}]}],r}(),E=function(){function r(){}return r.prototype.transform=function(r,e){return void 0===e&&(e=[]),Array.isArray(r)?r.filter(function(r){return!~e.indexOf(r)}):r},r.decorators=[{type:t.Pipe,args:[{name:"without"}]}],r}(),I=function(){function r(){}return r.prototype.transform=function(r,e){return Array.isArray(r)?r.map(function(r){return v(r,e)}):m(r)?v(r,e):r},r.decorators=[{type:t.Pipe,args:[{name:"pluck",pure:!1}]}],r}(),L=function(){function r(){}return r.prototype.transform=function(r){var e;if(!Array.isArray(r))return r;for(var t=f(r),n=r.length-1,o=0;o<n;++o){var i=Math.floor(Math.random()*(n-o+1))+o;e=p([t[i],t[o]],2),t[o]=e[0],t[i]=e[1]}return t},r.decorators=[{type:t.Pipe,args:[{name:"shuffle"}]}],r}(),N=function(){function r(){}return r.prototype.transform=function(r,e){return!!Array.isArray(r)&&r.every(e)},r.decorators=[{type:t.Pipe,args:[{name:"every"}]}],r}(),S=function(){function r(){}return r.prototype.transform=function(r,e){return Array.isArray(r)?r.some(e):r},r.decorators=[{type:t.Pipe,args:[{name:"some"}]}],r}(),U=function(){function r(){}return r.prototype.transform=function(r,e){if(void 0===e&&(e=1),!Array.isArray(r))return r;for(var t=[],n=f(r),o=e<n.length?e:n.length,i=0;i<o;++i)t=t.concat(n.splice(Math.floor(Math.random()*n.length),1));return t},r.decorators=[{type:t.Pipe,args:[{name:"sample"}]}],r}(),C=function(){function r(){}return r.prototype.transform=function(r,e,t){return void 0===e&&(e=[]),void 0===t&&(t="|"),Array.isArray(r)?this.groupBy(r,e,t):r},r.prototype.groupBy=function(r,n,o){var i=this;return r.reduce(function(r,e){var t=i.extractKeyByDiscriminator(n,e,o);return r[t]=Array.isArray(r[t])?r[t].concat([e]):[e],r},{})},r.prototype.extractKeyByDiscriminator=function(r,e,t){return s(r)?r(e):Array.isArray(r)?r.map(function(r){return v(e,r)}).join(t):v(e,r)},r.decorators=[{type:t.Pipe,args:[{name:"groupBy"}]}],r}(),T=function(){function r(){}return r.prototype.transform=function(r,e,t,c){if(void 0===t&&(t=""),void 0===c&&(c=!1),!Array.isArray(r)||!Array.isArray(t)&&!l(t)&&!d(t)&&!function o(r){return"boolean"==typeof r}(t))return r;var n=String(t).toLowerCase().split(",");return r.filter(function(s){return e.some(function(u){return n.some(function(t){var r=v(s,u),e=function a(r,e){var t=e.split("."),n=t.pop();return{props:v(r,t.join(".")),tail:n}}(s,u),n=e.props,o=e.tail;if(y(r)&&!y(n)&&Array.isArray(n))return n.some(function(r){var e=String(r[o]).toLowerCase();return c?e===t:!!~e.indexOf(t)});if(y(r))return!1;var i=String(r).toLowerCase();return c?t===i:!!~i.indexOf(t)})})})},r.decorators=[{type:t.Pipe,args:[{name:"filterBy"}]}],r}(),j=function(){function c(){}return c.prototype.transform=function(r,s){if(!Array.isArray(r))return r;var e=f(r);if(Array.isArray(s))return e.sort(function(r,e){for(var t=s.length,n=0;n<t;++n){var o=p(c.extractFromConfig(s[n]),2),i=o[0],a=o[1],u=c.orderCompare(i,a,r,e);if(0!==u)return u}return 0});if(l(s)){var t=p(c.extractFromConfig(s),3),n=t[0],o=t[1],i=t[2];if(1===s.length)switch(i){case"+":return e.sort(c.simpleSort.bind(this));case"-":return e.sort(c.simpleSort.bind(this)).reverse()}return e.sort(c.orderCompare.bind(this,n,o))}return e.sort(c.simpleSort.bind(this))},c.simpleSort=function(r,e){return l(r)&&l(e)?r.toLowerCase().localeCompare(e.toLowerCase()):r-e},c.orderCompare=function(r,e,t,n){var o=v(t,r),i=v(n,r);if(o===i)return 0;if(y(o)||""===o)return 1;if(y(i)||""===i)return-1;if(l(o)&&l(i)){var a=o.toLowerCase().localeCompare(i.toLowerCase());return e?a:-a}return e?o-i:i-o},c.extractFromConfig=function(r){var e=r.substr(0,1);return[r.replace(/^[-+]/,""),"-"!==e,e]},c.decorators=[{type:t.Pipe,args:[{name:"orderBy"}]}],c}(),k=function(r){function e(){return null!==r&&r.apply(this,arguments)||this}return u(e,r),e.decorators=[{type:t.Pipe,args:[{name:"groupByImpure",pure:!1}]}],e}(C),R=function(r){function e(){return null!==r&&r.apply(this,arguments)||this}return u(e,r),e.decorators=[{type:t.Pipe,args:[{name:"filterByImpure",pure:!1}]}],e}(T),B=function(r){function e(){return null!==r&&r.apply(this,arguments)||this}return u(e,r),e.decorators=[{type:t.Pipe,args:[{name:"orderByImpure",pure:!1}]}],e}(j),D=function(){function r(){}return r.prototype.transform=function(t,r,n){return void 0===t&&(t=1),void 0===r&&(r=0),void 0===n&&(n=1),Array(r).fill("").map(function(r,e){return n*e+t})},r.decorators=[{type:t.Pipe,args:[{name:"range"}]}],r}(),z=function(){function r(){}return r.prototype.transform=function(r,e){return void 0===e&&(e=1),l(r)?this.chunk(r.split(""),e):Array.isArray(r)?this.chunk(r,e):r},r.prototype.chunk=function(e,t){return Array(Math.ceil(e.length/t)).fill([]).map(function(r,e){return e*t}).map(function(r){return e.slice(r,r+t)})},r.decorators=[{type:t.Pipe,args:[{name:"chunk"}]}],r}(),q=[e,o,n,i,O,b,w,x,M,E,I,L,N,S,U,C,k,T,R,j,B,D,z],G=function(){function r(){}return r.decorators=[{type:t.NgModule,args:[{declarations:q,imports:[],exports:q}]}],r}(),_=function(){function r(){}return r.prototype.transform=function(r){return Array.isArray(r)||!m(r)?r:Object.keys(r)},r.decorators=[{type:t.Pipe,args:[{name:"keys"}]}],r}(),Y=function(){function r(){}return r.prototype.transform=function(e){return Array.isArray(e)||!m(e)?e:Object.keys(e).map(function(r){return e[r]})},r.decorators=[{type:t.Pipe,args:[{name:"values"}]}],r}(),F=function(){function r(){}return r.prototype.transform=function(r){return Array.isArray(r)||!m(r)?r:Object.entries(r)},r.decorators=[{type:t.Pipe,args:[{name:"pairs"}]}],r}(),K=function(){function r(){}return r.prototype.transform=function(n){for(var r=[],e=1;e<arguments.length;e++)r[e-1]=arguments[e];return Array.isArray(n)||!m(n)?n:r.reduce(function(r,e){var t;return Object.assign(r,((t={})[e]=n[e],t))},{})},r.decorators=[{type:t.Pipe,args:[{name:"pick"}]}],r}(),Z=function(){function r(){}return r.prototype.transform=function(n){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];return Array.isArray(n)||!m(n)?n:Object.keys(n).filter(function(r){return!~e.indexOf(r)}).reduce(function(r,e){var t;return Object.assign(r,((t={})[e]=n[e],t))},{})},r.decorators=[{type:t.Pipe,args:[{name:"omit"}]}],r}(),H=function(){function r(){}return r.prototype.transform=function(n){return Array.isArray(n)||!m(n)?n:Object.keys(n).reduce(function(r,e){var t;return Object.assign(r,((t={})[n[e]]=e,t))},{})},r.decorators=[{type:t.Pipe,args:[{name:"invert"}]}],r}(),W=function(){function r(){}return r.prototype.transform=function(o,i){return Array.isArray(o)||!m(o)?o:Object.keys(o).reduce(function(r,e){var t,n=i?i(o[e]):o[e];return Array.isArray(r[n])?(r[n].push(e),r):Object.assign(r,((t={})[n]=[e],t))},{})},r.decorators=[{type:t.Pipe,args:[{name:"invertBy"}]}],r}(),V=function(){function r(){}return r.prototype.transform=function(t,o){return void 0===o&&(o={}),Array.isArray(t)||Array.isArray(o)||!m(t)||!m(o)?{}:A(t,o).reduce(function(r,e){return function n(e,t){return m(e)&&m(t)?A(e,t).every(function(r){return m(e[r])||m(t[r])?!(!m(e[r])||!m(t[r]))&&n(e[r],t[r]):e[r]===t[r]}):e===t}(o[e],t[e])||(r[e]=t[e]),r},{})},r.decorators=[{type:t.Pipe,args:[{name:"diffObj"}]}],r}(),J=[_,Y,F,K,H,W,Z,V],Q=function(){function r(){}return r.decorators=[{type:t.NgModule,args:[{declarations:J,imports:[],exports:J}]}],r}(),X=function(){function r(){this.irregularMap={herb:"an",honor:"an",honorable:"an",hour:"an",mba:"an",msc:"an","m.sc.":"an",unicorn:"a"}}return r.prototype.transform=function(r){if(r&&""!==r){var e=r.trim().split(" ")[0];return this.irregularMap[e.toLocaleLowerCase()]?this.irregularMap[e.toLocaleLowerCase()]+" "+r:g(r[0])?"an "+r:"a "+r}return""},r.decorators=[{type:t.Pipe,args:[{name:"aOrAn"}]}],r}(),$=function(){function r(){}return r.prototype.transform=function(r){return l(r)?r.split(" ").map(function(r){return h(r)}).join(" "):r},r.decorators=[{type:t.Pipe,args:[{name:"ucwords"}]}],r}(),rr=function(){function r(){}return r.prototype.transform=function(r,e){return void 0===e&&(e="\\s"),l(r)?r.replace(new RegExp("^["+e+"]+"),""):r},r.decorators=[{type:t.Pipe,args:[{name:"ltrim"}]}],r}(),er=function(){function r(){}return r.prototype.transform=function(r,e,t){if(void 0===e&&(e=1),void 0===t&&(t=""),e<=0)throw new RangeError;return 1===e?r:this.repeat(r,e-1,t)},r.prototype.repeat=function(r,e,t){return l(r)?0===e?r:r+t+this.repeat(r,e-1,t):r},r.decorators=[{type:t.Pipe,args:[{name:"repeat"}]}],r}(),tr=function(){function r(){}return r.prototype.transform=function(r,e){return void 0===e&&(e="\\s"),l(r)?r.replace(new RegExp("["+e+"]+$"),""):r},r.decorators=[{type:t.Pipe,args:[{name:"rtrim"}]}],r}(),nr=function(){function r(){}return r.prototype.transform=function(r,t){return void 0===t&&(t=[]),l(r)?r.replace(/\{(\d+)}/g,function(r,e){return y(t[e])?r:t[e]}):r},r.decorators=[{type:t.Pipe,args:[{name:"scan"}]}],r}(),or=function(){function r(){}return r.prototype.transform=function(r,e,t,n){if(void 0===e&&(e=0),void 0===t&&(t=""),void 0===n&&(n=!0),!l(r))return r;if(r.length>e){if(n)return r.slice(0,e)+t;if(~r.indexOf(" ",e))return r.slice(0,r.indexOf(" ",e))+t}return r},r.decorators=[{type:t.Pipe,args:[{name:"shorten"}]}],r}(),ir=function(){function r(){}return r.prototype.transform=function(r){for(var e=[],t=1;t<arguments.length;t++)e[t-1]=arguments[t];return 0<e.length?r.replace(new RegExp("<(?!/?("+e.join("|")+")s*/?)[^>]+>","g"),""):r.replace(/<(?:.|\s)*?>/g,"")},r.decorators=[{type:t.Pipe,args:[{name:"stripTags"}]}],r}(),ar=function(){function r(){}return r.prototype.transform=function(r,e){return void 0===e&&(e="\\s"),l(r)?r.replace(new RegExp("^["+e+"]+|["+e+"]+$","g"),""):r},r.decorators=[{type:t.Pipe,args:[{name:"trim"}]}],r}(),ur=function(){function r(){}return r.prototype.transform=function(r){return l(r)?h(r):r},r.decorators=[{type:t.Pipe,args:[{name:"ucfirst"}]}],r}(),sr=function(){function r(){}return r.prototype.transform=function(r){return l(r)?r.toLowerCase().trim().replace(/[^\w\-]+/g," ").replace(/\s+/g,"-"):r},r.decorators=[{type:t.Pipe,args:[{name:"slugify"}]}],r}(),cr=function(){function r(){}return r.prototype.transform=function(r,e){return void 0===e&&(e="\\s"),l(r)?r.toLowerCase().split(/[-_\s]/g).filter(function(r){return!!r}).map(function(r,e){return e?r.slice(0,1).toUpperCase()+r.slice(1):r}).join(""):r},r.decorators=[{type:t.Pipe,args:[{name:"camelize"}]}],r}(),pr=function(){function r(){this.latinMap={"Á":"A","Ă":"A","Ắ":"A","Ặ":"A","Ằ":"A","Ẳ":"A","Ẵ":"A","Ǎ":"A","Â":"A","Ấ":"A","Ậ":"A","Ầ":"A","Ẩ":"A","Ẫ":"A","Ä":"A","Ǟ":"A","Ȧ":"A","Ǡ":"A","Ạ":"A","Ȁ":"A","À":"A","Ả":"A","Ȃ":"A","Ā":"A","Ą":"A","Å":"A","Ǻ":"A","Ḁ":"A","Ⱥ":"A","Ã":"A","Ꜳ":"AA","Æ":"AE","Ǽ":"AE","Ǣ":"AE","Ꜵ":"AO","Ꜷ":"AU","Ꜹ":"AV","Ꜻ":"AV","Ꜽ":"AY","Ḃ":"B","Ḅ":"B","Ɓ":"B","Ḇ":"B","Ƀ":"B","Ƃ":"B","Ć":"C","Č":"C","Ç":"C","Ḉ":"C","Ĉ":"C","Ċ":"C","Ƈ":"C","Ȼ":"C","Ď":"D","Ḑ":"D","Ḓ":"D","Ḋ":"D","Ḍ":"D","Ɗ":"D","Ḏ":"D","Dz":"D","Dž":"D","Đ":"D","Ƌ":"D","DZ":"DZ","DŽ":"DZ","É":"E","Ĕ":"E","Ě":"E","Ȩ":"E","Ḝ":"E","Ê":"E","Ế":"E","Ệ":"E","Ề":"E","Ể":"E","Ễ":"E","Ḙ":"E","Ë":"E","Ė":"E","Ẹ":"E","Ȅ":"E","È":"E","Ẻ":"E","Ȇ":"E","Ē":"E","Ḗ":"E","Ḕ":"E","Ę":"E","Ɇ":"E","Ẽ":"E","Ḛ":"E","Ꝫ":"ET","Ḟ":"F","Ƒ":"F","Ǵ":"G","Ğ":"G","Ǧ":"G","Ģ":"G","Ĝ":"G","Ġ":"G","Ɠ":"G","Ḡ":"G","Ǥ":"G","Ḫ":"H","Ȟ":"H","Ḩ":"H","Ĥ":"H","Ⱨ":"H","Ḧ":"H","Ḣ":"H","Ḥ":"H","Ħ":"H","Í":"I","Ĭ":"I","Ǐ":"I","Î":"I","Ï":"I","Ḯ":"I","İ":"I","Ị":"I","Ȉ":"I","Ì":"I","Ỉ":"I","Ȋ":"I","Ī":"I","Į":"I","Ɨ":"I","Ĩ":"I","Ḭ":"I","Ꝺ":"D","Ꝼ":"F","Ᵹ":"G","Ꞃ":"R","Ꞅ":"S","Ꞇ":"T","Ꝭ":"IS","Ĵ":"J","Ɉ":"J","Ḱ":"K","Ǩ":"K","Ķ":"K","Ⱪ":"K","Ꝃ":"K","Ḳ":"K","Ƙ":"K","Ḵ":"K","Ꝁ":"K","Ꝅ":"K","Ĺ":"L","Ƚ":"L","Ľ":"L","Ļ":"L","Ḽ":"L","Ḷ":"L","Ḹ":"L","Ⱡ":"L","Ꝉ":"L","Ḻ":"L","Ŀ":"L","Ɫ":"L","Lj":"L","Ł":"L","LJ":"LJ","Ḿ":"M","Ṁ":"M","Ṃ":"M","Ɱ":"M","Ń":"N","Ň":"N","Ņ":"N","Ṋ":"N","Ṅ":"N","Ṇ":"N","Ǹ":"N","Ɲ":"N","Ṉ":"N","Ƞ":"N","Nj":"N","Ñ":"N","NJ":"NJ","Ó":"O","Ŏ":"O","Ǒ":"O","Ô":"O","Ố":"O","Ộ":"O","Ồ":"O","Ổ":"O","Ỗ":"O","Ö":"O","Ȫ":"O","Ȯ":"O","Ȱ":"O","Ọ":"O","Ő":"O","Ȍ":"O","Ò":"O","Ỏ":"O","Ơ":"O","Ớ":"O","Ợ":"O","Ờ":"O","Ở":"O","Ỡ":"O","Ȏ":"O","Ꝋ":"O","Ꝍ":"O","Ō":"O","Ṓ":"O","Ṑ":"O","Ɵ":"O","Ǫ":"O","Ǭ":"O","Ø":"O","Ǿ":"O","Õ":"O","Ṍ":"O","Ṏ":"O","Ȭ":"O","Ƣ":"OI","Ꝏ":"OO","Ɛ":"E","Ɔ":"O","Ȣ":"OU","Ṕ":"P","Ṗ":"P","Ꝓ":"P","Ƥ":"P","Ꝕ":"P","Ᵽ":"P","Ꝑ":"P","Ꝙ":"Q","Ꝗ":"Q","Ŕ":"R","Ř":"R","Ŗ":"R","Ṙ":"R","Ṛ":"R","Ṝ":"R","Ȑ":"R","Ȓ":"R","Ṟ":"R","Ɍ":"R","Ɽ":"R","Ꜿ":"C","Ǝ":"E","Ś":"S","Ṥ":"S","Š":"S","Ṧ":"S","Ş":"S","Ŝ":"S","Ș":"S","Ṡ":"S","Ṣ":"S","Ṩ":"S","ẞ":"SS","Ť":"T","Ţ":"T","Ṱ":"T","Ț":"T","Ⱦ":"T","Ṫ":"T","Ṭ":"T","Ƭ":"T","Ṯ":"T","Ʈ":"T","Ŧ":"T","Ɐ":"A","Ꞁ":"L","Ɯ":"M","Ʌ":"V","Ꜩ":"TZ","Ú":"U","Ŭ":"U","Ǔ":"U","Û":"U","Ṷ":"U","Ü":"U","Ǘ":"U","Ǚ":"U","Ǜ":"U","Ǖ":"U","Ṳ":"U","Ụ":"U","Ű":"U","Ȕ":"U","Ù":"U","Ủ":"U","Ư":"U","Ứ":"U","Ự":"U","Ừ":"U","Ử":"U","Ữ":"U","Ȗ":"U","Ū":"U","Ṻ":"U","Ų":"U","Ů":"U","Ũ":"U","Ṹ":"U","Ṵ":"U","Ꝟ":"V","Ṿ":"V","Ʋ":"V","Ṽ":"V","Ꝡ":"VY","Ẃ":"W","Ŵ":"W","Ẅ":"W","Ẇ":"W","Ẉ":"W","Ẁ":"W","Ⱳ":"W","Ẍ":"X","Ẋ":"X","Ý":"Y","Ŷ":"Y","Ÿ":"Y","Ẏ":"Y","Ỵ":"Y","Ỳ":"Y","Ƴ":"Y","Ỷ":"Y","Ỿ":"Y","Ȳ":"Y","Ɏ":"Y","Ỹ":"Y","Ź":"Z","Ž":"Z","Ẑ":"Z","Ⱬ":"Z","Ż":"Z","Ẓ":"Z","Ȥ":"Z","Ẕ":"Z","Ƶ":"Z","IJ":"IJ","Œ":"OE","ᴀ":"A","ᴁ":"AE","ʙ":"B","ᴃ":"B","ᴄ":"C","ᴅ":"D","ᴇ":"E","ꜰ":"F","ɢ":"G","ʛ":"G","ʜ":"H","ɪ":"I","ʁ":"R","ᴊ":"J","ᴋ":"K","ʟ":"L","ᴌ":"L","ᴍ":"M","ɴ":"N","ᴏ":"O","ɶ":"OE","ᴐ":"O","ᴕ":"OU","ᴘ":"P","ʀ":"R","ᴎ":"N","ᴙ":"R","ꜱ":"S","ᴛ":"T","ⱻ":"E","ᴚ":"R","ᴜ":"U","ᴠ":"V","ᴡ":"W","ʏ":"Y","ᴢ":"Z","á":"a","ă":"a","ắ":"a","ặ":"a","ằ":"a","ẳ":"a","ẵ":"a","ǎ":"a","â":"a","ấ":"a","ậ":"a","ầ":"a","ẩ":"a","ẫ":"a","ä":"a","ǟ":"a","ȧ":"a","ǡ":"a","ạ":"a","ȁ":"a","à":"a","ả":"a","ȃ":"a","ā":"a","ą":"a","ᶏ":"a","ẚ":"a","å":"a","ǻ":"a","ḁ":"a","ⱥ":"a","ã":"a","ꜳ":"aa","æ":"ae","ǽ":"ae","ǣ":"ae","ꜵ":"ao","ꜷ":"au","ꜹ":"av","ꜻ":"av","ꜽ":"ay","ḃ":"b","ḅ":"b","ɓ":"b","ḇ":"b","ᵬ":"b","ᶀ":"b","ƀ":"b","ƃ":"b","ɵ":"o","ć":"c","č":"c","ç":"c","ḉ":"c","ĉ":"c","ɕ":"c","ċ":"c","ƈ":"c","ȼ":"c","ď":"d","ḑ":"d","ḓ":"d","ȡ":"d","ḋ":"d","ḍ":"d","ɗ":"d","ᶑ":"d","ḏ":"d","ᵭ":"d","ᶁ":"d","đ":"d","ɖ":"d","ƌ":"d","ı":"i","ȷ":"j","ɟ":"j","ʄ":"j","dz":"dz","dž":"dz","é":"e","ĕ":"e","ě":"e","ȩ":"e","ḝ":"e","ê":"e","ế":"e","ệ":"e","ề":"e","ể":"e","ễ":"e","ḙ":"e","ë":"e","ė":"e","ẹ":"e","ȅ":"e","è":"e","ẻ":"e","ȇ":"e","ē":"e","ḗ":"e","ḕ":"e","ⱸ":"e","ę":"e","ᶒ":"e","ɇ":"e","ẽ":"e","ḛ":"e","ꝫ":"et","ḟ":"f","ƒ":"f","ᵮ":"f","ᶂ":"f","ǵ":"g","ğ":"g","ǧ":"g","ģ":"g","ĝ":"g","ġ":"g","ɠ":"g","ḡ":"g","ᶃ":"g","ǥ":"g","ḫ":"h","ȟ":"h","ḩ":"h","ĥ":"h","ⱨ":"h","ḧ":"h","ḣ":"h","ḥ":"h","ɦ":"h","ẖ":"h","ħ":"h","ƕ":"hv","í":"i","ĭ":"i","ǐ":"i","î":"i","ï":"i","ḯ":"i","ị":"i","ȉ":"i","ì":"i","ỉ":"i","ȋ":"i","ī":"i","į":"i","ᶖ":"i","ɨ":"i","ĩ":"i","ḭ":"i","ꝺ":"d","ꝼ":"f","ᵹ":"g","ꞃ":"r","ꞅ":"s","ꞇ":"t","ꝭ":"is","ǰ":"j","ĵ":"j","ʝ":"j","ɉ":"j","ḱ":"k","ǩ":"k","ķ":"k","ⱪ":"k","ꝃ":"k","ḳ":"k","ƙ":"k","ḵ":"k","ᶄ":"k","ꝁ":"k","ꝅ":"k","ĺ":"l","ƚ":"l","ɬ":"l","ľ":"l","ļ":"l","ḽ":"l","ȴ":"l","ḷ":"l","ḹ":"l","ⱡ":"l","ꝉ":"l","ḻ":"l","ŀ":"l","ɫ":"l","ᶅ":"l","ɭ":"l","ł":"l","lj":"lj","ſ":"s","ẜ":"s","ẛ":"s","ẝ":"s","ḿ":"m","ṁ":"m","ṃ":"m","ɱ":"m","ᵯ":"m","ᶆ":"m","ń":"n","ň":"n","ņ":"n","ṋ":"n","ȵ":"n","ṅ":"n","ṇ":"n","ǹ":"n","ɲ":"n","ṉ":"n","ƞ":"n","ᵰ":"n","ᶇ":"n","ɳ":"n","ñ":"n","nj":"nj","ó":"o","ŏ":"o","ǒ":"o","ô":"o","ố":"o","ộ":"o","ồ":"o","ổ":"o","ỗ":"o","ö":"o","ȫ":"o","ȯ":"o","ȱ":"o","ọ":"o","ő":"o","ȍ":"o","ò":"o","ỏ":"o","ơ":"o","ớ":"o","ợ":"o","ờ":"o","ở":"o","ỡ":"o","ȏ":"o","ꝋ":"o","ꝍ":"o","ⱺ":"o","ō":"o","ṓ":"o","ṑ":"o","ǫ":"o","ǭ":"o","ø":"o","ǿ":"o","õ":"o","ṍ":"o","ṏ":"o","ȭ":"o","ƣ":"oi","ꝏ":"oo","ɛ":"e","ᶓ":"e","ɔ":"o","ᶗ":"o","ȣ":"ou","ṕ":"p","ṗ":"p","ꝓ":"p","ƥ":"p","ᵱ":"p","ᶈ":"p","ꝕ":"p","ᵽ":"p","ꝑ":"p","ꝙ":"q","ʠ":"q","ɋ":"q","ꝗ":"q","ŕ":"r","ř":"r","ŗ":"r","ṙ":"r","ṛ":"r","ṝ":"r","ȑ":"r","ɾ":"r","ᵳ":"r","ȓ":"r","ṟ":"r","ɼ":"r","ᵲ":"r","ᶉ":"r","ɍ":"r","ɽ":"r","ↄ":"c","ꜿ":"c","ɘ":"e","ɿ":"r","ś":"s","ṥ":"s","š":"s","ṧ":"s","ş":"s","ŝ":"s","ș":"s","ṡ":"s","ṣ":"s","ṩ":"s","ʂ":"s","ᵴ":"s","ᶊ":"s","ȿ":"s","ɡ":"g","ß":"ss","ᴑ":"o","ᴓ":"o","ᴝ":"u","ť":"t","ţ":"t","ṱ":"t","ț":"t","ȶ":"t","ẗ":"t","ⱦ":"t","ṫ":"t","ṭ":"t","ƭ":"t","ṯ":"t","ᵵ":"t","ƫ":"t","ʈ":"t","ŧ":"t","ᵺ":"th","ɐ":"a","ᴂ":"ae","ǝ":"e","ᵷ":"g","ɥ":"h","ʮ":"h","ʯ":"h","ᴉ":"i","ʞ":"k","ꞁ":"l","ɯ":"m","ɰ":"m","ᴔ":"oe","ɹ":"r","ɻ":"r","ɺ":"r","ⱹ":"r","ʇ":"t","ʌ":"v","ʍ":"w","ʎ":"y","ꜩ":"tz","ú":"u","ŭ":"u","ǔ":"u","û":"u","ṷ":"u","ü":"u","ǘ":"u","ǚ":"u","ǜ":"u","ǖ":"u","ṳ":"u","ụ":"u","ű":"u","ȕ":"u","ù":"u","ủ":"u","ư":"u","ứ":"u","ự":"u","ừ":"u","ử":"u","ữ":"u","ȗ":"u","ū":"u","ṻ":"u","ų":"u","ᶙ":"u","ů":"u","ũ":"u","ṹ":"u","ṵ":"u","ᵫ":"ue","ꝸ":"um","ⱴ":"v","ꝟ":"v","ṿ":"v","ʋ":"v","ᶌ":"v","ⱱ":"v","ṽ":"v","ꝡ":"vy","ẃ":"w","ŵ":"w","ẅ":"w","ẇ":"w","ẉ":"w","ẁ":"w","ⱳ":"w","ẘ":"w","ẍ":"x","ẋ":"x","ᶍ":"x","ý":"y","ŷ":"y","ÿ":"y","ẏ":"y","ỵ":"y","ỳ":"y","ƴ":"y","ỷ":"y","ỿ":"y","ȳ":"y","ẙ":"y","ɏ":"y","ỹ":"y","ź":"z","ž":"z","ẑ":"z","ʑ":"z","ⱬ":"z","ż":"z","ẓ":"z","ȥ":"z","ẕ":"z","ᵶ":"z","ᶎ":"z","ʐ":"z","ƶ":"z","ɀ":"z","ff":"ff","ffi":"ffi","ffl":"ffl","fi":"fi","fl":"fl","ij":"ij","œ":"oe","st":"st","ₐ":"a","ₑ":"e","ᵢ":"i","ⱼ":"j","ₒ":"o","ᵣ":"r","ᵤ":"u","ᵥ":"v","ₓ":"x"}}return r.prototype.transform=function(r,e){var t=this;return void 0===e&&(e="\\s"),l(r)?r.replace(/[^A-Za-z0-9]/g,function(r){return t.latinMap[r]||r}):r},r.decorators=[{type:t.Pipe,args:[{name:"latinise"}]}],r}(),fr=function(){function r(){}return r.prototype.transform=function(r,e){return void 0===e&&(e="\\s"),l(r)?r.replace(/\r\n/g,"\n").split("\n"):r},r.decorators=[{type:t.Pipe,args:[{name:"lines"}]}],r}(),yr=function(){function r(){}return r.prototype.transform=function(r,e){return void 0===e&&(e="\\s"),l(r)?r.trim().replace(/\s+/g,"").replace(/[A-Z]/g,function(r,e){return e?"_"+r.toLowerCase():r.toLowerCase()}):r},r.decorators=[{type:t.Pipe,args:[{name:"underscore"}]}],r}(),lr=function(){function r(){}return r.prototype.transform=function(r,e,t){return l(r)?r.match(new RegExp(e,t)):r},r.decorators=[{type:t.Pipe,args:[{name:"match"}]}],r}(),mr=function(){function r(){}return r.prototype.transform=function(r,e,t){return l(r)?new RegExp(e,t).test(r):r},r.decorators=[{type:t.Pipe,args:[{name:"test"}]}],r}(),dr=function(){function r(){}return r.prototype.transform=function(r,e,t){if(void 0===t&&(t=" "),!l(r)||r.length>=e)return r;for(;r.length<e;)r=t+r;return r},r.decorators=[{type:t.Pipe,args:[{name:"lpad"}]}],r}(),gr=function(){function r(){}return r.prototype.transform=function(r,e,t){if(void 0===e&&(e=1),void 0===t&&(t=" "),!l(r)||r.length>=e)return r;for(;r.length<e;)r+=t;return r},r.decorators=[{type:t.Pipe,args:[{name:"rpad"}]}],r}(),hr=function(){function r(){this.irregularMap={addendum:"addenda",alga:"algae",alumna:"alumnae",alumnus:"alumni",analysis:"analyses",antenna:"antennae",appendix:"appendices",aquarium:"aquaria",arch:"arches",axe:"axes",axis:"axes",bacillus:"bacilli",bacterium:"bacteria",basis:"bases",batch:"batches",beach:"beaches",beau:"beaux",bison:"bison",brush:"brushes",buffalo:"buffaloes",bureau:"bureaus",bus:"busses",cactus:"cacti",calf:"calves",chateau:"chateaux",cherry:"cherries",child:"children",church:"churches",circus:"circuses",cod:"cod",corps:"corps",corpus:"corpora",crisis:"crises",criterion:"criteria",curriculum:"curricula",datum:"data",deer:"deer",diagnosis:"diagnoses",die:"dice",domino:"dominoes",dwarf:"dwarves",echo:"echoes",elf:"elves",ellipsis:"ellipses",embargo:"embargoes",emphasis:"emphases",erratum:"errata",fax:"faxes",fireman:"firemen",fish:"fish",flush:"flushes",focus:"foci",foot:"feet",formula:"formulas",fungus:"fungi",genus:"genera",goose:"geese",grafito:"grafiti",half:"halves",hero:"heroes",hoax:"hoaxes",hoof:"hooves",hypothesis:"hypotheses",index:"indices",kiss:"kisses",knife:"knives",leaf:"leaves",life:"lives",loaf:"loaves",louse:"lice",man:"men",mango:"mangoes",matrix:"matrices",means:"means",medium:"media",memorandum:"memoranda",millennium:"milennia",moose:"moose",mosquito:"mosquitoes",motto:"mottoes",mouse:"mice",nebula:"nebulae",neurosis:"neuroses",nucleus:"nuclei",oasis:"oases",octopus:"octopodes",ovum:"ova",ox:"oxen",paralysis:"paralyses",parenthesis:"parentheses",person:"people",phenomenon:"phenomena",plateau:"plateaux",potato:"potatoes",quiz:"quizzes",radius:"radii",reflex:"reflexes","runner-up":"runners-up",scampo:"scampi",scarf:"scarves",scissors:"scissors",scratch:"scratches",self:"selves",series:"series",sheaf:"sheaves",sheep:"sheep",shelf:"shelves","son-in-law":"sons-in-law",species:"species",splash:"splashes",stimulus:"stimuli",stitch:"stitches",stratum:"strata",syllabus:"syllabi",symposium:"symposia",synopsis:"synopses",synthesis:"syntheses",tableau:"tableaux",tax:"taxes",that:"those",thesis:"theses",thief:"thieves","this":"these",tomato:"tomatoes",tooth:"teeth",tornado:"tornadoes",torpedo:"torpedoes",vertebra:"vertebrae",veto:"vetoes",vita:"vitae",volcano:"volcanoes",waltz:"waltzes",wash:"washes",watch:"watches",wharf:"wharves",wife:"wives",wolf:"wolves",woman:"women",zero:"zeroes"}}return r.prototype.transform=function(r,e){if(void 0===e&&(e=0),!r||""===r)return"";if(1===e)return r;var t=r.trim().split(" ")[r.trim().split(" ").length-1];return this.irregularMap[t.toLocaleLowerCase()]?t[0]===t[0].toLocaleUpperCase()?r.replace(t,this.irregularMap[t.toLocaleLowerCase()].replace(this.irregularMap[t.toLocaleLowerCase()][0],this.irregularMap[t.toLocaleLowerCase()][0].toLocaleUpperCase())):r.replace(t,this.irregularMap[t.toLocaleLowerCase()]):"y"===t[t.length-1]?g(t[t.length-2])?r+"s":r.replace(t,t.slice(0,-1)+"ies"):"s"===t[t.length-1]?r+"es":r+"s"},r.decorators=[{type:t.Pipe,args:[{name:"makePluralString"}]}],r}(),Pr=function(){function r(){}return r.prototype.transform=function(r,e,t){return void 0===e&&(e=""),void 0===t&&(t=""),l(r)?(e&&l(e)?e:"")+r+(t&&l(t)?t:""):r},r.decorators=[{type:t.Pipe,args:[{name:"wrap"}]}],r}(),vr=[X,rr,er,tr,nr,or,ir,ar,ur,$,sr,cr,pr,fr,yr,lr,mr,dr,gr,hr,Pr],Ar=function(){function r(){}return r.decorators=[{type:t.NgModule,args:[{declarations:vr,imports:[],exports:vr}]}],r}(),Or=function(){function r(){}return r.prototype.transform=function(r){return Array.isArray(r)?Math.max.apply(Math,f(r)):r},r.decorators=[{type:t.Pipe,args:[{name:"max"}]}],r}(),br=function(){function r(){}return r.prototype.transform=function(r){return Array.isArray(r)?Math.min.apply(Math,f(r)):r},r.decorators=[{type:t.Pipe,args:[{name:"min"}]}],r}(),wr=function(){function r(){}return r.prototype.transform=function(r,e,t){if(void 0===e&&(e=100),void 0===t&&(t=!1),isNaN(r))return r;var n=100*r/e;return t?Math.floor(n):n},r.decorators=[{type:t.Pipe,args:[{name:"percentage"}]}],r}(),xr=function(){function r(){}return r.prototype.transform=function(r){return Array.isArray(r)?r.reduce(function(r,e){return r+e},0):r},r.decorators=[{type:t.Pipe,args:[{name:"sum"}]}],r}(),Mr=function(){function r(){}return r.prototype.transform=function(r,e){if(void 0===e&&(e=0),e<=0)return Math.floor(r);var t=Math.pow(10,e);return Math.floor(r*t)/t},r.decorators=[{type:t.Pipe,args:[{name:"floor"}]}],r}(),Er=function(){function r(){}return r.prototype.transform=function(r,e){return void 0===e&&(e=0),P(r,e)},r.decorators=[{type:t.Pipe,args:[{name:"round"}]}],r}(),Ir=function(){function r(){}return r.prototype.transform=function(r){return isNaN(r)?r:Math.sqrt(r)},r.decorators=[{type:t.Pipe,args:[{name:"sqrt"}]}],r}(),Lr=function(){function r(){}return r.prototype.transform=function(r,e){return void 0===e&&(e=2),isNaN(r)?r:Math.pow(r,e)},r.decorators=[{type:t.Pipe,args:[{name:"pow"}]}],r}(),Nr=function(){function r(){}return r.prototype.transform=function(r,e){if(void 0===e&&(e=0),e<=0)return Math.ceil(r);var t=Math.pow(10,e);return Math.ceil(r*t)/t},r.decorators=[{type:t.Pipe,args:[{name:"ceil"}]}],r}(),Sr=function(){function r(){}return r.prototype.transform=function(r){return d(r)?180*r/Math.PI:NaN},r.decorators=[{type:t.Pipe,args:[{name:"degrees"}]}],r}(),Ur=function(){function r(){this.dictionary=[{max:1024,type:"B"},{max:1048576,type:"KB"},{max:1073741824,type:"MB"},{max:10995116e5,type:"GB"}]}return r.prototype.transform=function(e,r){if(!d(e))return NaN;var t=this.dictionary.find(function(r){return e<r.max})||this.dictionary[this.dictionary.length-1],n=e/(t.max/1024);return(y(r)?n:P(n,r))+" "+t.type},r.decorators=[{type:t.Pipe,args:[{name:"bytes"}]}],r}(),Cr=function(){function r(){}return r.prototype.transform=function(r){return d(r)?r*Math.PI/180:NaN},r.decorators=[{type:t.Pipe,args:[{name:"radians"}]}],r}(),Tr=[Or,br,wr,xr,Mr,Er,Ir,Lr,Nr,Sr,Ur,Cr],jr=function(){function r(){}return r.decorators=[{type:t.NgModule,args:[{declarations:Tr,imports:[],exports:Tr}]}],r}(),kr=function(){function r(){}return r.prototype.transform=function(r){return!y(r)},r.decorators=[{type:t.Pipe,args:[{name:"isDefined"}]}],r}(),Rr=function(){function r(){}return r.prototype.transform=function(r){return null===r},r.decorators=[{type:t.Pipe,args:[{name:"isNull"}]}],r}(),Br=function(){function r(){}return r.prototype.transform=function(r){return y(r)},r.decorators=[{type:t.Pipe,args:[{name:"isUndefined"}]}],r}(),Dr=function(){function r(){}return r.prototype.transform=function(r){return l(r)},r.decorators=[{type:t.Pipe,args:[{name:"isString"}]}],r}(),zr=function(){function r(){}return r.prototype.transform=function(r){return s(r)},r.decorators=[{type:t.Pipe,args:[{name:"isFunction"}]}],r}(),qr=function(){function r(){}return r.prototype.transform=function(r){return c(r)},r.decorators=[{type:t.Pipe,args:[{name:"isNumber"}]}],r}(),Gr=function(){function r(){}return r.prototype.transform=function(r){return Array.isArray(r)},r.decorators=[{type:t.Pipe,args:[{name:"isArray"}]}],r}(),_r=function(){function r(){}return r.prototype.transform=function(r){return m(r)},r.decorators=[{type:t.Pipe,args:[{name:"isObject"}]}],r}(),Yr=function(){function r(){}return r.prototype.transform=function(r,e){return e<=r},r.decorators=[{type:t.Pipe,args:[{name:"isGreaterEqualThan"}]}],r}(),Fr=function(){function r(){}return r.prototype.transform=function(r,e){return e<r},r.decorators=[{type:t.Pipe,args:[{name:"isGreaterThan"}]}],r}(),Kr=function(){function r(){}return r.prototype.transform=function(r,e){return r<=e},r.decorators=[{type:t.Pipe,args:[{name:"isLessEqualThan"}]}],r}(),Zr=function(){function r(){}return r.prototype.transform=function(r,e){return r==e},r.decorators=[{type:t.Pipe,args:[{name:"isEqualTo"}]}],r}(),Hr=function(){function r(){}return r.prototype.transform=function(r,e){return r!=e},r.decorators=[{type:t.Pipe,args:[{name:"isNotEqualTo"}]}],r}(),Wr=function(){function r(){}return r.prototype.transform=function(r,e){return r===e},r.decorators=[{type:t.Pipe,args:[{name:"isIdenticalTo"}]}],r}(),Vr=function(){function r(){}return r.prototype.transform=function(r,e){return r!==e},r.decorators=[{type:t.Pipe,args:[{name:"isNotIdenticalTo"}]}],r}(),Jr=function(){function r(){}return r.prototype.transform=function(r,e){return r<e},r.decorators=[{type:t.Pipe,args:[{name:"isLessThan"}]}],r}(),Qr=[kr,Rr,Br,Dr,zr,qr,Gr,_r,Yr,Fr,Kr,Kr,Zr,Hr,Wr,Vr,Jr],Xr=function(){function r(){}return r.decorators=[{type:t.NgModule,args:[{declarations:Qr,imports:[],exports:Qr}]}],r}(),$r=function(){function c(){}return c.prototype.transform=function(r){if(!r||!r.getTime&&!r.toDate)return"Invalid date";var e=r.toDate?r.toDate():r.getTime(),t=+new Date;if(t<e)return"in the future";for(var n=0,o=c.MAPPER.length,i=t-e,a=c.YEAR_MS;n<o;++n){var u=c.MAPPER[n],s=Math.floor(i/(a/=u.div));if(1<=s)return 1===s?u.single:s+" "+u.many+" ago"}return"just now"},c.YEAR_MS=290304e5,c.MAPPER=[{single:"last year",many:"years",div:1},{single:"last month",many:"months",div:12},{single:"last week",many:"weeks",div:4},{single:"yesterday",many:"days",div:7},{single:"an hour ago",many:"hours",div:24},{single:"just now",many:"minutes",div:60}],c.decorators=[{type:t.Pipe,args:[{name:"timeAgo"}]}],c}(),re=[$r],ee=function(){function r(){}return r.decorators=[{type:t.NgModule,args:[{declarations:re,imports:[],exports:re}]}],r}(),te=function(){function r(){}return r.decorators=[{type:t.NgModule,args:[{exports:[G,Ar,jr,Xr,Q,ee]}]}],r}();r.NgPipesModule=te,r.NgArrayPipesModule=G,r.DiffPipe=e,r.InitialPipe=n,r.FlattenPipe=o,r.IntersectionPipe=i,r.ReversePipe=O,r.TailPipe=b,r.TrurthifyPipe=w,r.UnionPipe=x,r.UniquePipe=M,r.WithoutPipe=E,r.PluckPipe=I,r.ShufflePipe=L,r.EveryPipe=N,r.SomePipe=S,r.SamplePipe=U,r.GroupByPipe=C,r.FilterByPipe=T,r.OrderByPipe=j,r.GroupByImpurePipe=k,r.FilterByImpurePipe=R,r.OrderByImpurePipe=B,r.RangePipe=D,r.ChunkPipe=z,r.NgObjectPipesModule=Q,r.KeysPipe=_,r.ValuesPipe=Y,r.PairsPipe=F,r.PickPipe=K,r.OmitPipe=Z,r.InvertPipe=H,r.InvertByPipe=W,r.DiffObjPipe=V,r.STRING_PIPES=vr,r.NgStringPipesModule=Ar,r.AorAnPipe=X,r.UcWordsPipe=$,r.LeftTrimPipe=rr,r.RepeatPipe=er,r.RightTrimPipe=tr,r.ScanPipe=nr,r.ShortenPipe=or,r.StripTagsPipe=ir,r.TrimPipe=ar,r.UcFirstPipe=ur,r.SlugifyPipe=sr,r.CamelizePipe=cr,r.LatinisePipe=pr,r.LinesPipe=fr,r.UnderscorePipe=yr,r.MatchPipe=lr,r.TestPipe=mr,r.LeftPadPipe=dr,r.RightPadPipe=gr,r.MakePluralStringPipe=hr,r.WrapPipe=Pr,r.MATH_PIPES=Tr,r.NgMathPipesModule=jr,r.MaxPipe=Or,r.MinPipe=br,r.PercentagePipe=wr,r.SumPipe=xr,r.FloorPipe=Mr,r.RoundPipe=Er,r.SqrtPipe=Ir,r.PowerPipe=Lr,r.CeilPipe=Nr,r.DegreesPipe=Sr,r.BytesPipe=Ur,r.BOOLEAN_PIPES=Qr,r.NgBooleanPipesModule=Xr,r.IsDefinedPipe=kr,r.IsNullPipe=Rr,r.IsUndefinedPipe=Br,r.IsStringPipe=Dr,r.IsFunctionPipe=zr,r.IsNumberPipe=qr,r.IsArrayPipe=Gr,r.IsObjectPipe=_r,r.IsGreaterEqualThanPipe=Yr,r.IsGreaterThanPipe=Fr,r.IsLessEqualThanPipe=Kr,r.IsEqualToPipe=Zr,r.IsNotEqualToPipe=Hr,r.IsIdenticalToPipe=Wr,r.IsNotIdenticalToPipe=Vr,r.IsLessThanPipe=Jr,r.DATE_PIPES=re,r.NgDatePipesModule=ee,r.TimeAgoPipe=$r,r.ɵa=l,r.ɵb=Cr,Object.defineProperty(r,"__esModule",{value:!0})});
//# sourceMappingURL=ngx-pipes.umd.min.js.map

@@ -16,7 +16,3 @@ /**

}
return Object.keys(obj).map((/**
* @param {?} k
* @return {?}
*/
k => [k, obj[k]]));
return Object.entries(obj);
}

@@ -27,2 +23,2 @@ }

];
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGFpcnMuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9uZ3gtcGlwZXMvIiwic291cmNlcyI6WyJzcmMvcGlwZXMvb2JqZWN0L3BhaXJzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7QUFBQSxPQUFPLEVBQUUsSUFBSSxFQUFpQixNQUFNLGVBQWUsQ0FBQztBQUNwRCxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sb0JBQW9CLENBQUM7QUFHOUMsTUFBTSxPQUFPLFNBQVM7Ozs7O0lBQ3BCLFNBQVMsQ0FBQyxHQUFRO1FBQ2hCLElBQUksS0FBSyxDQUFDLE9BQU8sQ0FBQyxHQUFHLENBQUMsSUFBSSxDQUFDLFFBQVEsQ0FBQyxHQUFHLENBQUMsRUFBRTtZQUN4QyxPQUFPLEdBQUcsQ0FBQztTQUNaO1FBRUQsT0FBTyxNQUFNLENBQUMsSUFBSSxDQUFDLEdBQUcsQ0FBQyxDQUFDLEdBQUc7Ozs7UUFBQyxDQUFDLENBQUMsRUFBRSxDQUFDLENBQUMsQ0FBQyxFQUFFLEdBQUcsQ0FBQyxDQUFDLENBQUMsQ0FBQyxFQUFDLENBQUM7SUFDaEQsQ0FBQzs7O1lBUkYsSUFBSSxTQUFDLEVBQUUsSUFBSSxFQUFFLE9BQU8sRUFBRSIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IFBpcGUsIFBpcGVUcmFuc2Zvcm0gfSBmcm9tICdAYW5ndWxhci9jb3JlJztcbmltcG9ydCB7IGlzT2JqZWN0IH0gZnJvbSAnLi4vaGVscGVycy9oZWxwZXJzJztcblxuQFBpcGUoeyBuYW1lOiAncGFpcnMnIH0pXG5leHBvcnQgY2xhc3MgUGFpcnNQaXBlIGltcGxlbWVudHMgUGlwZVRyYW5zZm9ybSB7XG4gIHRyYW5zZm9ybShvYmo6IGFueSk6IGFueVtdIHtcbiAgICBpZiAoQXJyYXkuaXNBcnJheShvYmopIHx8ICFpc09iamVjdChvYmopKSB7XG4gICAgICByZXR1cm4gb2JqO1xuICAgIH1cblxuICAgIHJldHVybiBPYmplY3Qua2V5cyhvYmopLm1hcChrID0+IFtrLCBvYmpba11dKTtcbiAgfVxufVxuIl19
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGFpcnMuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9uZ3gtcGlwZXMvIiwic291cmNlcyI6WyJzcmMvcGlwZXMvb2JqZWN0L3BhaXJzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7QUFBQSxPQUFPLEVBQUUsSUFBSSxFQUFpQixNQUFNLGVBQWUsQ0FBQztBQUNwRCxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sb0JBQW9CLENBQUM7QUFHOUMsTUFBTSxPQUFPLFNBQVM7Ozs7O0lBQ3BCLFNBQVMsQ0FBQyxHQUFRO1FBQ2hCLElBQUksS0FBSyxDQUFDLE9BQU8sQ0FBQyxHQUFHLENBQUMsSUFBSSxDQUFDLFFBQVEsQ0FBQyxHQUFHLENBQUMsRUFBRTtZQUN4QyxPQUFPLEdBQUcsQ0FBQztTQUNaO1FBRUQsT0FBTyxNQUFNLENBQUMsT0FBTyxDQUFDLEdBQUcsQ0FBQyxDQUFDO0lBQzdCLENBQUM7OztZQVJGLElBQUksU0FBQyxFQUFFLElBQUksRUFBRSxPQUFPLEVBQUUiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBQaXBlLCBQaXBlVHJhbnNmb3JtIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQgeyBpc09iamVjdCB9IGZyb20gJy4uL2hlbHBlcnMvaGVscGVycyc7XG5cbkBQaXBlKHsgbmFtZTogJ3BhaXJzJyB9KVxuZXhwb3J0IGNsYXNzIFBhaXJzUGlwZSBpbXBsZW1lbnRzIFBpcGVUcmFuc2Zvcm0ge1xuICB0cmFuc2Zvcm0ob2JqOiBhbnkpOiBhbnlbXSB7XG4gICAgaWYgKEFycmF5LmlzQXJyYXkob2JqKSB8fCAhaXNPYmplY3Qob2JqKSkge1xuICAgICAgcmV0dXJuIG9iajtcbiAgICB9XG5cbiAgICByZXR1cm4gT2JqZWN0LmVudHJpZXMob2JqKTtcbiAgfVxufVxuIl19

@@ -22,7 +22,3 @@ /**

}
return Object.keys(obj).map((/**
* @param {?} k
* @return {?}
*/
function (k) { return [k, obj[k]]; }));
return Object.entries(obj);
};

@@ -35,2 +31,2 @@ PairsPipe.decorators = [

export { PairsPipe };
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGFpcnMuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9uZ3gtcGlwZXMvIiwic291cmNlcyI6WyJzcmMvcGlwZXMvb2JqZWN0L3BhaXJzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7QUFBQSxPQUFPLEVBQUUsSUFBSSxFQUFpQixNQUFNLGVBQWUsQ0FBQztBQUNwRCxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sb0JBQW9CLENBQUM7QUFFOUM7SUFBQTtJQVNBLENBQUM7Ozs7O0lBUEMsNkJBQVM7Ozs7SUFBVCxVQUFVLEdBQVE7UUFDaEIsSUFBSSxLQUFLLENBQUMsT0FBTyxDQUFDLEdBQUcsQ0FBQyxJQUFJLENBQUMsUUFBUSxDQUFDLEdBQUcsQ0FBQyxFQUFFO1lBQ3hDLE9BQU8sR0FBRyxDQUFDO1NBQ1o7UUFFRCxPQUFPLE1BQU0sQ0FBQyxJQUFJLENBQUMsR0FBRyxDQUFDLENBQUMsR0FBRzs7OztRQUFDLFVBQUEsQ0FBQyxJQUFJLE9BQUEsQ0FBQyxDQUFDLEVBQUUsR0FBRyxDQUFDLENBQUMsQ0FBQyxDQUFDLEVBQVgsQ0FBVyxFQUFDLENBQUM7SUFDaEQsQ0FBQzs7Z0JBUkYsSUFBSSxTQUFDLEVBQUUsSUFBSSxFQUFFLE9BQU8sRUFBRTs7SUFTdkIsZ0JBQUM7Q0FBQSxBQVRELElBU0M7U0FSWSxTQUFTIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgUGlwZSwgUGlwZVRyYW5zZm9ybSB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0IHsgaXNPYmplY3QgfSBmcm9tICcuLi9oZWxwZXJzL2hlbHBlcnMnO1xuXG5AUGlwZSh7IG5hbWU6ICdwYWlycycgfSlcbmV4cG9ydCBjbGFzcyBQYWlyc1BpcGUgaW1wbGVtZW50cyBQaXBlVHJhbnNmb3JtIHtcbiAgdHJhbnNmb3JtKG9iajogYW55KTogYW55W10ge1xuICAgIGlmIChBcnJheS5pc0FycmF5KG9iaikgfHwgIWlzT2JqZWN0KG9iaikpIHtcbiAgICAgIHJldHVybiBvYmo7XG4gICAgfVxuXG4gICAgcmV0dXJuIE9iamVjdC5rZXlzKG9iaikubWFwKGsgPT4gW2ssIG9ialtrXV0pO1xuICB9XG59XG4iXX0=
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGFpcnMuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9uZ3gtcGlwZXMvIiwic291cmNlcyI6WyJzcmMvcGlwZXMvb2JqZWN0L3BhaXJzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7QUFBQSxPQUFPLEVBQUUsSUFBSSxFQUFpQixNQUFNLGVBQWUsQ0FBQztBQUNwRCxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sb0JBQW9CLENBQUM7QUFFOUM7SUFBQTtJQVNBLENBQUM7Ozs7O0lBUEMsNkJBQVM7Ozs7SUFBVCxVQUFVLEdBQVE7UUFDaEIsSUFBSSxLQUFLLENBQUMsT0FBTyxDQUFDLEdBQUcsQ0FBQyxJQUFJLENBQUMsUUFBUSxDQUFDLEdBQUcsQ0FBQyxFQUFFO1lBQ3hDLE9BQU8sR0FBRyxDQUFDO1NBQ1o7UUFFRCxPQUFPLE1BQU0sQ0FBQyxPQUFPLENBQUMsR0FBRyxDQUFDLENBQUM7SUFDN0IsQ0FBQzs7Z0JBUkYsSUFBSSxTQUFDLEVBQUUsSUFBSSxFQUFFLE9BQU8sRUFBRTs7SUFTdkIsZ0JBQUM7Q0FBQSxBQVRELElBU0M7U0FSWSxTQUFTIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgUGlwZSwgUGlwZVRyYW5zZm9ybSB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0IHsgaXNPYmplY3QgfSBmcm9tICcuLi9oZWxwZXJzL2hlbHBlcnMnO1xuXG5AUGlwZSh7IG5hbWU6ICdwYWlycycgfSlcbmV4cG9ydCBjbGFzcyBQYWlyc1BpcGUgaW1wbGVtZW50cyBQaXBlVHJhbnNmb3JtIHtcbiAgdHJhbnNmb3JtKG9iajogYW55KTogYW55W10ge1xuICAgIGlmIChBcnJheS5pc0FycmF5KG9iaikgfHwgIWlzT2JqZWN0KG9iaikpIHtcbiAgICAgIHJldHVybiBvYmo7XG4gICAgfVxuXG4gICAgcmV0dXJuIE9iamVjdC5lbnRyaWVzKG9iaik7XG4gIH1cbn1cbiJdfQ==
{
"name": "ngx-pipes",
"version": "2.4.7",
"version": "2.5.0",
"author": "Dan Revah",

@@ -5,0 +5,0 @@ "description": "Useful angular2 pipes",

@@ -72,2 +72,3 @@ <p align="center">

- [chunk](#chunk)
- [fromPairs](#fromPairs)
- [Object](#object)

@@ -836,2 +837,13 @@ - [keys](#keys)

### fromPairs
Returns object of an array of key value pairs
**Usage:** `array | fromPairs`
```html
<p>{{ [['foo', 1], ['bar', 2]] | fromPairs }}</p> <!-- Output: "{foo: 1, bar: 2}" -->
<p>{{ [['foo', [1, 2]], ['bar', [3, 4]]] | fromPairs }}</p> <!-- Output: "{foo: [1, 2], bar: [3, 4]}" -->
```
## Object

@@ -861,3 +873,3 @@

Returns array of an object key value pairs
Returns array of an object key value pairs

@@ -864,0 +876,0 @@ **Usage:** `object | pairs`

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc