!function(t){function e(n){if(r[n])return r[n].exports;var i=r[n]={i:n,l:!1,exports:{}};return t[n].call(i.exports,i,i.exports,e),i.l=!0,i.exports}var n=window.webpackJsonp;window.webpackJsonp=function(r,o,s){for(var a,u,l,c=0,d=[];c<r.length;c++)i[u=r[c]]&&d.push(i[u][0]),i[u]=0;for(a in o)Object.prototype.hasOwnProperty.call(o,a)&&(t[a]=o[a]);for(n&&n(r,o,s);d.length;)d.shift()();if(s)for(c=0;c<s.length;c++)l=e(e.s=s[c]);return l};var r={},i={220:0};e.e=function(t){function n(){a.onerror=a.onload=null,clearTimeout(u);var e=i[t];0!==e&&(e&&e[1](new Error("Loading chunk "+t+" failed.")),i[t]=void 0)}var r=i[t];if(0===r)return new Promise(function(t){t()});if(r)return r[2];var o=new Promise(function(e,n){r=i[t]=[e,n]});r[2]=o;var s=document.getElementsByTagName("head")[0],a=document.createElement("script");a.type="text/javascript",a.charset="utf-8",a.async=!0,a.timeout=12e4,e.nc&&a.setAttribute("nonce",e.nc),a.src=e.p+""+({}[t]||t)+"."+{0:"286445f5dbf6a570577c",1:"939d445eebac0be95443",2:"e29a557b5b2af2d084e6",3:"e6cdced2daa36c00f6b3",4:"40e74a766e5e58923c02",5:"81f8501f08141af812c0",6:"9fb6c074a18e155791c1",7:"0a11a675c89cdbdb8ebb",8:"b4a9fe9c2a2aada5cf8d",9:"2db1fd4dd8875c9b484f",10:"2eaddbdbe68343df1d63",11:"75d59889b135e56c8fcc",12:"2c3e375f383e7a7f45e8",13:"6cdc7782706570c1533e",14:"96e0ee19ad1754ba17ee",15:"537a5b197881b707445e",16:"ca23fa7d6eb26c7c9813",17:"7facd0378aa9dc7dbc43",18:"7916d622594bcd943332",19:"c0e0fcafb8f103489d8c",20:"5c8e2fb51bf2dad68e5d",21:"762de5501360807aabac",22:"3ba7f7afeca4b46b5d90",23:"13093a7a2b17f67d1950",24:"5b501cb23f6ab580975d",25:"2e114fffdbd9c23c692c",26:"ccabb41a2be63ba58a4a",27:"1b2e16e7f120988a5ddf",28:"6b51d2ceed0076bd0ac0",29:"72263cf15367bd8b82bd",30:"a12f3e2bf31175e05333",31:"5d6ef39f294d2fa998a7",32:"ece4e3fb7a4d8858b195",33:"a7346463d16768f6236a",34:"df0c8407129c9ab201a3",35:"ab5450ba8de99ded9e06",36:"bca8d4a7625715eeda61",37:"2fff2b3299c909bd1e2d",38:"b62e8ec842acdf11404a",39:"105c2f41cffb4152191b",40:"b72f1301be0121d7e4e6",41:"54c649bc5274dd7681e6",42:"9abb8e15418da82902ad",43:"10ef55d43224f5c47fab",44:"043502e3459440836397",45:"7e3c60985001bd4ce95c",46:"9d015330521b49f10d11",47:"f2ea072ed8086483a285",48:"ed346b13c64ab647b64f",49:"ce2c6d0b9035b6ec0893",50:"bc4fa8d69a0de38f51cc",51:"e66994e340b77858cf95",52:"68b36db47841c659c54e",53:"1fdb00972cddcea6de26",54:"7177e58b3d5aa5a285b0",55:"52b1e915831aba39f5a2",56:"9d9aa02aeae6988bfd26",57:"b900306f09286ba6e877",58:"4664de10a093a956feef",59:"122666f2c7527f77681b",60:"0737a34155140fb84a8f",61:"3360a566c4823842b5e8",62:"9896cf850056b1bfd1b1",63:"228f65f944566875ef11",64:"9567e41b10248e6a0bd6",65:"46b09feb98c55d24108c",66:"f26ef1c47e56cee637d8",67:"2fb0ad5ffffdfbf04291",68:"4172326d0abb30392fed",69:"ce427debc8602abc8e49",70:"6238940babed473244ca",71:"3248c0e401daf37371fb",72:"de61304f89bd020ac8fa",73:"1e4171db932961f16f32",74:"e5dbcb1d3fbe9da1c226",75:"47a415226ed340759836",76:"5b2bcaab4b8e3fca0973",77:"154f8b31a4789d62ae67",78:"cf77c8c0cc3a98f73fdd",79:"62b326b9a29aa367ac7c",80:"e4bc67c498d54ce31634",81:"fb8bc1ae9318fc7bb6d2",82:"8eeaf621714d9627f602",83:"a3226c26a71aae06c88e",84:"01b17b4da6a632061716",85:"9be7bd703b7052a53355",86:"7012f65565cc10096048",87:"f3b72bbe68f8fbee329e",88:"9f5396d2a9d42900d8c5",89:"76dadb28e30b59f9ee2a",90:"7f78eda8432544c3485d",91:"e706ccf276deca23993a",92:"6e613a7ae2762d3194d3",93:"314699f8fd1725a4d4a5",94:"398efdb17b477d6091d1",95:"3158e93e6c142e92f365",96:"7e276b5fa0e5dcb2826a",97:"0c40881d62ea0054dc61",98:"a73d7672052ef18c03c4",99:"83545cf0e542ca8636d3",100:"4dbbdf95b3dcea6d53da",101:"6cbb1272bf1d628c1f6b",102:"edf65ff82bf27dcc177b",103:"ec34b6936ac6fb1af2be",104:"2237c73c7b1f78ad1524",105:"ab4b5fb2554186ebd1ba",106:"1f24e4eef743e5ef1f04",107:"174497f18fa358e60f2d",108:"f48537ef41404efd369b",109:"82ab2768cec24a887bba",110:"d36fa1fbab9c6a373fa1",111:"0ecb9087c2d1fa5657c5",112:"9acef2a09359b6719ec5",113:"e7349cd9c93dbd19c425",114:"3a1bcd1522411ddd0675",115:"8e4ab5774a8108e67e07",116:"4755c8cdeb8358fc5890",117:"9f969a843d81d558a5c1",118:"b2cc940946794f5a8d0d",119:"b13a60900c958b34c3ce",120:"53943d4660e9a7cedfe7",121:"eb2b147d415890e182a1",122:"db2f2e1d1197d6246716",123:"578920ab22d0f27311d9",124:"85b2f62479daa42645c1",125:"1169a8edf25d7a9ec156",126:"09b3c250c16d7a8c04d2",127:"856920264393cb0ee26e",128:"8f556b302384312b3ed7",129:"09004002dbe4ee185eee",130:"4f2570e99d4ee90f2395",131:"0f84793e5955220d5aa1",132:"6d756f0faefcbca19917",133:"7f27c4c4192e1d4cc2cc",134:"c0cc2b471cfbd31bb3a9",135:"3807ec60417347bf6d6b",136:"333f03d90c8d048e6b36",137:"86a53ef5ed4ff474a961",138:"067abd20af8db7660224",139:"a7e509712a6a2db84114",140:"0163c413400d68e72464",141:"d7b5f84a1a8fd02f9afb",142:"4a2042af1258382f768f",143:"4a373aadacc870c48452",144:"03761a482b202bd26e47",145:"febf456b96af3317d66b",146:"96d2b3e81ed3ab454b33",147:"40e6b0ca3da12cd569a8",148:"7bf6422eb510f253ab4c",149:"95c183c7152835243744",150:"04124b5c47d9b2d9bc80",151:"85aa9af3c1990011a772",152:"0e6b6520e16c65ec2112",153:"58d2f7ef6acfcba031dd",154:"adc98b66ae246704e77c",155:"2f004ce07203cdbc984f",156:"745f4d4bb22e33aec47d",157:"5ac088784b658882e5cf",158:"097934afc0c2a6a40c67",159:"f07802fa7579b9caa789",160:"85f5e33ce2644abc2bc5",161:"436fb41de6646c0c0564",162:"84243f26362fef778440",163:"6c3d0dc40c088da37249",164:"dec208a7a4db2d8b681a",165:"0b4340fd34bdfc298ab1",166:"075e1e91a00c386c4869",167:"24fff5e8a0d7604bc02b",168:"d16d0636975ebbf5aea3",169:"4fe49207849ffbbdfed6",170:"85de714a075ab4bca144",171:"a86acd8fc9fa8c04661c",172:"892994a1288f27ccb942",173:"4aefe8dceedc34809d26",174:"47db8c6d376dd3be3732",175:"f8b6bdc1439b3f536d2f",176:"db09077b3f9c8901721b",177:"d9df94d973e449bc3006",178:"460485d0b031dbc8966e",179:"d36004b4f3e9b6757678",180:"d53403596fb193428402",181:"44aca2d1c95bc5f6b988",182:"b6666e3d51ba8ccb60ca",183:"fa96d39a00d2861faf5c",184:"6ecb74aeb93bacc53523",185:"6e34af7859af04844b2c",186:"275f61695c1089b01014",187:"0efffcc508433269ffe8",188:"e05005280a00baa671ce",189:"7800b6779652e437721f",190:"aae7fc4ff49aae235ce7",191:"7f322c3bc87c07f98afc",192:"abcc2c6806bbf8e011c8",193:"3afc550030d1adab5716",194:"7c1a8de1d48fdaba2b60",195:"af658f86a4edd393a91b",196:"89a6ebacdb22561f400d",197:"ff9f13bdeb7c04521482",198:"49d766fc506d3d4d2643",199:"870d006731dfacd02bfe",200:"80ac18220857566b53e9",201:"f35ba1de42c69f712f39",202:"f2bbc4a8f69f252aa402",203:"4cc3b9e718238fb4418d",204:"e5618e338f0cc56a1244",205:"5880b6f0008fc1dc76a3",206:"b3dc62f98c9a7f9c2842",207:"12a1202910d878f36359",208:"895fa76c9be16de39e02",209:"f17c5ab691f0ee42b8ae",210:"24751e3f2174f0960309",211:"f4f6543f7be44b950975",212:"dbd068afa5eeebe0b58a",213:"688aa4fbd16ddf633ef2",214:"956320865fbe957baa1a",215:"6c950905eefd24b35a49",216:"d4ad92c6fae46cd1c81c",217:"ea271fe026255496f13b",218:"47336378959fbc00388f"}[t]+".chunk.js";var u=setTimeout(n,12e4);return a.onerror=a.onload=n,s.appendChild(a),o},e.m=t,e.c=r,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="build/",e.oe=function(t){throw console.error(t),t}}([function(t,e,n){"use strict";function r(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function i(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,i,o=n.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(r=o.next()).done;)s.push(r.value)}catch(t){i={error:t}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return s}function o(t){return this instanceof o?(this.v=t,this):new o(t)}Object.defineProperty(e,"__esModule",{value:!0}),e.__extends=function(t,e){function n(){this.constructor=t}s(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},n.d(e,"__assign",function(){return a}),e.__rest=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(t);i<r.length;i++)e.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]])}return n},e.__decorate=function(t,e,n,r){var i,o=arguments.length,s=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},e.__param=function(t,e){return function(n,r){e(n,r,t)}},e.__metadata=function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},e.__awaiter=function(t,e,n,r){return new(n||(n=Promise))(function(i,o){function s(t){try{u(r.next(t))}catch(t){o(t)}}function a(t){try{u(r.throw(t))}catch(t){o(t)}}function u(t){t.done?i(t.value):function(t){return t instanceof n?t:new n(function(e){e(t)})}(t.value).then(s,a)}u((r=r.apply(t,e||[])).next())})},e.__generator=function(t,e){function n(n){return function(s){return function(n){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,i&&(o=2&n[0]?i.return:n[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,n[1])).done)return o;switch(i=0,o&&(n=[2&n[0],o.value]),n[0]){case 0:case 1:o=n;break;case 4:return a.label++,{value:n[1],done:!1};case 5:a.label++,i=n[1],n=[0];continue;case 7:n=a.ops.pop(),a.trys.pop();continue;default:if(o=a.trys,!(o=o.length>0&&o[o.length-1])&&(6===n[0]||2===n[0])){a=0;continue}if(3===n[0]&&(!o||n[1]>o[0]&&n[1]<o[3])){a.label=n[1];break}if(6===n[0]&&a.label<o[1]){a.label=o[1],o=n;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(n);break}o[2]&&a.ops.pop(),a.trys.pop();continue}n=e.call(t,a)}catch(t){n=[6,t],i=0}finally{r=o=0}if(5&n[0])throw n[1];return{value:n[0]?n[1]:void 0,done:!0}}([n,s])}}var r,i,o,s,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return s={next:n(0),throw:n(1),return:n(2)},"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s},e.__createBinding=function(t,e,n,r){void 0===r&&(r=n),t[r]=e[n]},e.__exportStar=function(t,e){for(var n in t)"default"===n||e.hasOwnProperty(n)||(e[n]=t[n])},e.__values=r,e.__read=i,e.__spread=function(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(i(arguments[e]));return t},e.__spreadArrays=function(){for(var t=0,e=0,n=arguments.length;e<n;e++)t+=arguments[e].length;var r=Array(t),i=0;for(e=0;e<n;e++)for(var o=arguments[e],s=0,a=o.length;s<a;s++,i++)r[i]=o[s];return r},e.__await=o,e.__asyncGenerator=function(t,e,n){function r(t){c[t]&&(l[t]=function(e){return new Promise(function(n,r){d.push([t,e,n,r])>1||i(t,e)})})}function i(t,e){try{!function(t){t.value instanceof o?Promise.resolve(t.value.v).then(s,a):u(d[0][2],t)}(c[t](e))}catch(t){u(d[0][3],t)}}function s(t){i("next",t)}function a(t){i("throw",t)}function u(t,e){t(e),d.shift(),d.length&&i(d[0][0],d[0][1])}if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var l,c=n.apply(t,e||[]),d=[];return l={},r("next"),r("throw"),r("return"),l[Symbol.asyncIterator]=function(){return this},l},e.__asyncDelegator=function(t){function e(e,i){n[e]=t[e]?function(n){return(r=!r)?{value:o(t[e](n)),done:"return"===e}:i?i(n):n}:i}var n,r;return n={},e("next"),e("throw",function(t){throw t}),e("return"),n[Symbol.iterator]=function(){return this},n},e.__asyncValues=function(t){function e(e){n[e]=t[e]&&function(n){return new Promise(function(r,i){!function(t,e,n,r){Promise.resolve(r).then(function(e){t({value:e,done:n})},e)}(r,i,(n=t[e](n)).done,n.value)})}}if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,i=t[Symbol.asyncIterator];return i?i.call(t):(t=r(t),n={},e("next"),e("throw"),e("return"),n[Symbol.asyncIterator]=function(){return this},n)},e.__makeTemplateObject=function(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t},e.__importStar=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e},e.__importDefault=function(t){return t&&t.__esModule?t:{default:t}},e.__classPrivateFieldGet=function(t,e){if(!e.has(t))throw new TypeError("attempted to get private field on non-instance");return e.get(t)},e.__classPrivateFieldSet=function(t,e,n){if(!e.has(t))throw new TypeError("attempted to set private field on non-instance");return e.set(t,n),n};var s=function(t,e){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},a=function(){return(a=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++){e=arguments[n];for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])}return t}).apply(this,arguments)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){function r(t,e,n,r){function o(t){if(this instanceof o)return s.call(this,t),this;var e=new o(t),n=function(t){return(t.hasOwnProperty(Ci)?t[Ci]:Object.defineProperty(t,Ci,{value:[]})[Ci]).push(e),t};return r&&r(n),n}var s=i(e);return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=t,o.annotationCls=o,o}function i(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];if(t){var r=t.apply(void 0,e);for(var i in r)this[i]=r[i]}}}function o(t,e,n){function r(){function t(t,e,n){for(var r=t.hasOwnProperty(Oi)?t[Oi]:Object.defineProperty(t,Oi,{value:[]})[Oi];r.length<=n;)r.push(null);return(r[n]=r[n]||[]).push(i),t}for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];if(this instanceof r)return o.apply(this,e),this;var i=new((s=r).bind.apply(s,[void 0].concat(e)));return t.annotation=i,t;var s}var o=i(e);return n&&(r.prototype=Object.create(n.prototype)),r.prototype.ngMetadataName=t,r.annotationCls=r,r}function s(t,e,n){function r(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];if(this instanceof r)return o.apply(this,t),this;var n=new((i=r).bind.apply(i,[void 0].concat(t)));return function(t,e){var r=t.constructor,i=r.hasOwnProperty(Di)?r[Di]:Object.defineProperty(r,Di,{value:{}})[Di];i[e]=i.hasOwnProperty(e)&&i[e]||[],i[e].unshift(n)};var i}var o=i(e);return n&&(r.prototype=Object.create(n.prototype)),r.prototype.ngMetadataName=t,r.annotationCls=r,r}function a(t){return null==t||t===ji.Default}function u(){if(!uo){var t=so.Symbol;if(t&&t.iterator)uo=t.iterator;else for(var e=Object.getOwnPropertyNames(Map.prototype),n=0;n<e.length;++n){var r=e[n];"entries"!==r&&"size"!==r&&Map.prototype[r]===Map.prototype.entries&&(uo=r)}}return uo}function l(t){"undefined"==typeof Zone?ao.then(function(){t&&t.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}function c(t,e){return t===e||"number"==typeof t&&"number"==typeof e&&isNaN(t)&&isNaN(e)}function d(t){if("string"==typeof t)return t;if(t instanceof Array)return"["+t.map(d).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return""+t.overriddenName;if(t.name)return""+t.name;var e=t.toString();if(null==e)return""+e;var n=e.indexOf("\n");return-1===n?e:e.substring(0,n)}function h(t){return t.__forward_ref__=h,t.toString=function(){return d(this())},t}function f(t){return"function"==typeof t&&t.hasOwnProperty("__forward_ref__")&&t.__forward_ref__===h?t():t}function p(t){var e=function(t){var e=_o,n=t.deps;if(n&&n.length){e=[];for(var r=0;r<n.length;r++){var i=6,o=f(n[r]);if(o instanceof Array)for(var s=0,a=o;s<a.length;s++){var u=a[s];u instanceof Qi||u==Qi?i|=1:u instanceof no||u==no?i&=-3:u instanceof eo||u==eo?i&=-5:o=u instanceof Ji?u.token:f(u)}e.push({token:o,options:i})}}else if(t.useExisting){var o=f(t.useExisting);e=[{token:o,options:6}]}else if(!(n||wo in t))throw y("'deps' required",t);return e}(t),n=mo,r=_o,i=!1,o=f(t.provide);if(wo in t)r=t.useValue;else if(t.useFactory)n=t.useFactory;else if(t.useExisting);else if(t.useClass)i=!0,n=f(t.useClass);else{if("function"!=typeof o)throw y("StaticProvider does not have [useValue|useFactory|useExisting|useClass] or [provide] is not newable",t);i=!0,n=o}return{deps:e,fn:n,useNew:i,value:r}}function m(t){return y("Cannot mix multi providers and regular providers",t)}function _(t,e){if(e)if((e=f(e))instanceof Array)for(var n=0;n<e.length;n++)_(t,e[n]);else{if("function"==typeof e)throw y("Function/Class not supported",e);if(!e||"object"!=typeof e||!e.provide)throw y("Unexpected provider",e);var r=f(e.provide),i=p(e);if(!0===e.multi){var o=t.get(r);if(o){if(o.fn!==vo)throw m(r)}else t.set(r,o={token:e.provide,deps:[],useNew:!1,fn:vo,value:_o});o.deps.push({token:r=e,options:6})}var s=t.get(r);if(s&&s.fn==vo)throw m(r);t.set(r,i)}}function g(t,e,n,r,i){try{return function(t,e,n,r,i){var o;if(e){if((o=e.value)==go)throw Error(Mo+"Circular dependency");if(o===_o){e.value=go;var s=void 0,a=e.useNew,u=e.fn,l=e.deps,c=_o;if(l.length){c=[];for(var d=0;d<l.length;d++){var h=l[d],f=h.options,p=2&f?n.get(h.token):void 0;c.push(g(h.token,p,n,p||4&f?r:To,1&f?null:po.THROW_IF_NOT_FOUND))}}e.value=o=a?new((m=u).bind.apply(m,[void 0].concat(c))):u.apply(s,c)}}else o=r.get(t,i);return o;var m}(t,e,n,r,i)}catch(n){n instanceof Error||(n=new Error(n));throw(n[So]=n[So]||[]).unshift(t),e&&e.value==go&&(e.value=_o),n}}function v(t,e,n){void 0===n&&(n=null),t=t&&"\n"===t.charAt(0)&&t.charAt(1)==Mo?t.substr(2):t;var r=d(e);if(e instanceof Array)r=e.map(d).join(" -> ");else if("object"==typeof e){var i=[];for(var o in e)if(e.hasOwnProperty(o)){var s=e[o];i.push(o+":"+("string"==typeof s?JSON.stringify(s):d(s)))}r="{"+i.join(", ")+"}"}return"StaticInjectorError"+(n?"("+n+")":"")+"["+r+"]: "+t.replace(Eo,"\n  ")}function y(t,e){return new Error(v(t,e))}function b(t){return t[Co]}function w(t){return t[Oo]}function S(t){if(t.length>1){return" ("+function(t){for(var e=[],n=0;n<t.length;++n){if(e.indexOf(t[n])>-1)return e.push(t[n]),e;e.push(t[n])}return e}(t.slice().reverse()).map(function(t){return d(t.token)}).join(" -> ")+")"}return""}function T(t,e,n,r){var i=[e],o=n(i),s=r?function(t,e){var n=t+" caused by: "+(e instanceof Error?e.message:e),r=Error(n);return r[Oo]=e,r}(o,r):Error(o);return s.addKey=E,s.keys=i,s.injectors=[t],s.constructResolvingMessage=n,s[Oo]=r,s}function E(t,e){this.injectors.push(t),this.keys.push(e),this.message=this.constructResolvingMessage(this.keys)}function M(t,e){for(var n=[],r=0,i=e.length;r<i;r++){var o=e[r];n.push(o&&0!=o.length?o.map(d).join(" "):"?")}return Error("Cannot resolve all parameters for '"+d(t)+"'("+n.join(", ")+"). Make sure that all the parameters are decorated with Inject or have valid type annotations and that '"+d(t)+"' is decorated with Injectable.")}function x(t,e){return Error("Cannot mix multi providers and regular providers, got: "+t+" "+e)}function C(t){return"function"==typeof t}function O(t){return t?t.map(function(t){var e=t.type.annotationCls;return new(e.bind.apply(e,[void 0].concat(t.args?t.args:[])))}):[]}function D(t){var e=t.prototype?Object.getPrototypeOf(t.prototype):null;return(e?e.constructor:null)||Object}function k(t){var e,n;if(t.useClass){var r=f(t.useClass);e=Yo.factory(r),n=P(r)}else t.useExisting?(e=function(t){return t},n=[Fo.fromKey(Lo.get(t.useExisting))]):t.useFactory?(e=t.useFactory,n=function(t,e){if(e){var n=e.map(function(t){return[t]});return e.map(function(e){return R(t,e,n)})}return P(t)}(t.useFactory,t.deps)):(e=function(){return t.useValue},n=Ho);return new Vo(e,n)}function L(t){return new Bo(Lo.get(t.provide),[k(t)],t.multi||!1)}function A(t){var e=function(t,e){for(var n=0;n<t.length;n++){var r=t[n],i=e.get(r.key.id);if(i){if(r.multiProvider!==i.multiProvider)throw x(i,r);if(r.multiProvider)for(var o=0;o<r.resolvedFactories.length;o++)i.resolvedFactories.push(r.resolvedFactories[o]);else e.set(r.key.id,r)}else{var s=void 0;s=r.multiProvider?new Bo(r.key,r.resolvedFactories.slice(),r.multiProvider):r,e.set(r.key.id,s)}}return e}(I(t,[]).map(L),new Map);return Array.from(e.values())}function I(t,e){return t.forEach(function(t){if(t instanceof Io)e.push({provide:t,useClass:t});else if(t&&"object"==typeof t&&void 0!==t.provide)e.push(t);else{if(!(t instanceof Array))throw function(t){return Error("Invalid provider - only instances of Provider and Type are allowed, got: "+t)}(t);I(t,e)}}),e}function P(t){var e=Yo.parameters(t);if(!e)return[];if(e.some(function(t){return null==t}))throw M(t,e);return e.map(function(n){return R(t,n,e)})}function R(t,e,n){var r=null,i=!1;if(!Array.isArray(e))return N(e instanceof Ji?e.token:e,i,null);for(var o=null,s=0;s<e.length;++s){var a=e[s];a instanceof Io?r=a:a instanceof Ji?r=a.token:a instanceof Qi?i=!0:a instanceof eo||a instanceof no?o=a:a instanceof xi&&(r=a)}if(null!=(r=f(r)))return N(r,i,o);throw M(t,n)}function N(t,e,n){return new Fo(Lo.get(t),e,n)}function j(t){return!!t&&"function"==typeof t.then}function Y(t){return!!t&&"function"==typeof t.subscribe}function F(){return""+H()+H()+H()}function H(){return String.fromCharCode(97+Math.floor(25*Math.random()))}function B(){throw new Error("Runtime compiler is not loaded")}function V(t){var e=Error("No component factory found for "+d(t)+". Did you add it to @NgModule.entryComponents?");return e[as]=t,e}function z(){var t=so.wtf;return!(!t||!(pi=t.trace))&&(mi=pi.events,!0)}function W(t,e){return void 0===e&&(e=null),mi.createScope(t,e)}function U(t,e){return pi.leaveScope(t,e),e}function q(t,e){return pi.beginTimeRange(t,e)}function G(t){pi.endTimeRange(t)}function X(t,e){return null}function K(){}function Z(t){if(0==t._nesting&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(function(){return t.onStable.emit(null)})}finally{t.isStable=!0}}}function $(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function J(t){t._nesting--,Z(t)}function Q(t){Ms=t}function tt(){if(Cs)throw new Error("Cannot enable prod mode after platform setup.");xs=!1}function et(){return Cs=!0,xs}function nt(t){if(_i&&!_i.destroyed&&!_i.injector.get(Os,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");_i=t.get(ks);var e=t.get(Zo,null);return e&&e.forEach(function(t){return t()}),_i}function rt(t,e,n){void 0===n&&(n=[]);var r="Platform: "+e,i=new xi(r);return function(e){void 0===e&&(e=[]);var o=st();if(!o||o.injector.get(Os,!1))if(t)t(n.concat(e).concat({provide:i,useValue:!0}));else{var s=n.concat(e).concat({provide:i,useValue:!0});nt(po.create({providers:s,name:r}))}return it(i)}}function it(t){var e=st();if(!e)throw new Error("No platform exists!");if(!e.injector.get(t,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return e}function ot(){_i&&!_i.destroyed&&_i.destroy()}function st(){return _i&&!_i.destroyed?_i:null}function at(t,e){return t=Array.isArray(e)?e.reduce(at,t):Object(bi.__assign)({},t,e)}function ut(t,e){var n=t.indexOf(e);n>-1&&t.splice(n,1)}function lt(t,e){var n=Bs.get(t);if(n)throw new Error("Duplicate module registered for "+t+" - "+n.moduleType.name+" vs "+e.moduleType.name);Bs.set(t,e)}function ct(t){var e=Bs.get(t);if(!e)throw new Error("No module with ID "+t+" loaded");return e}function dt(t){return t.reduce(function(t,e){var n=Array.isArray(e)?dt(e):e;return t.concat(n)},[])}function ht(t,e,n){if(!t)throw new Error("Cannot find '"+n+"' in '"+e+"'");return t}function ft(t){return t.map(function(t){return t.nativeElement})}function pt(t,e,n){t.childNodes.forEach(function(t){t instanceof Qs&&(e(t)&&n.push(t),pt(t,e,n))})}function mt(t,e,n){t instanceof Qs&&t.childNodes.forEach(function(t){e(t)&&n.push(t),t instanceof Qs&&mt(t,e,n)})}function _t(t){return ta.get(t)||null}function gt(t){ta.set(t.nativeNode,t)}function vt(t,e){var n=yt(t),r=yt(e);if(n&&r)return function(t,e,n){var r=t[u()](),i=e[u()]();for(;;){var o=r.next(),s=i.next();if(o.done&&s.done)return!0;if(o.done||s.done)return!1;if(!n(o.value,s.value))return!1}}(t,e,vt);return!(n||!(t&&("object"==typeof t||"function"==typeof t))||r||!(e&&("object"==typeof e||"function"==typeof e)))||c(t,e)}function yt(t){return!!bt(t)&&(Array.isArray(t)||!(t instanceof Map)&&u()in t)}function bt(t){return null!==t&&("function"==typeof t||"object"==typeof t)}function wt(t,e,n){var r=t.previousIndex;if(null===r)return r;var i=0;return n&&r<n.length&&(i=n[r]),r+e+i}function St(){return ma}function Tt(){return _a}function Et(t){return t||"en-US"}function Mt(t,e,n){var r=t.state,i=1792&r;return i===e?(t.state=-1793&r|n,t.initIndex=-1,!0):i===n}function xt(t,e,n){return(1792&t.state)===e&&t.initIndex<=n&&(t.initIndex=n+1,!0)}function Ct(t,e){return t.nodes[e]}function Ot(t,e){return t.nodes[e]}function Dt(t,e){return t.nodes[e]}function kt(t,e){return t.nodes[e]}function Lt(t,e){return t.nodes[e]}function At(t,e,n,r){var i="ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: '"+e+"'. Current value: '"+n+"'.";return r&&(i+=" It seems like the view has been created after its parent and its children have been dirty checked. Has it been created in a change detection hook ?"),function(t,e){var n=new Error(t);return It(n,e),n}(i,t)}function It(t,e){t[Co]=e,t[Do]=e.logError.bind(e)}function Pt(t){return new Error("ViewDestroyedError: Attempt to use a destroyed view: "+t)}function Rt(t){var e=Oa.get(t);return e||(e=d(t)+"_"+Oa.size,Oa.set(t,e)),e}function Nt(t,e,n,r){if(ea.isWrapped(r)){r=ea.unwrap(r);var i=t.def.nodes[e].bindingIndex+n,o=ea.unwrap(t.oldValues[i]);t.oldValues[i]=new ea(o)}return r}function jt(t){return{id:Da,styles:t.styles,encapsulation:t.encapsulation,data:t.data}}function Yt(t){if(t&&t.id===Da){var e=null!=t.encapsulation&&t.encapsulation!==Ki.None||t.styles.length||Object.keys(t.data).length;t.id=e?"c"+La++:ka}return t&&t.id===ka&&(t=null),t||null}function Ft(t,e,n,r){return!(!(2&t.state)&&c(t.oldValues[e.bindingIndex+n],r))}function Ht(t,e,n,r){return!!Ft(t,e,n,r)&&(t.oldValues[e.bindingIndex+n]=r,!0)}function Bt(t,e,n,r){var i=t.oldValues[e.bindingIndex+n];if(1&t.state||!vt(i,r)){var o=e.bindings[n].name;throw At(xa.createDebugContext(t,e.nodeIndex),o+": "+i,o+": "+r,0!=(1&t.state))}}function Vt(t){for(var e=t;e;)2&e.def.flags&&(e.state|=8),e=e.viewContainerParent||e.parent}function zt(t,e){for(var n=t;n&&n!==e;)n.state|=64,n=n.viewContainerParent||n.parent}function Wt(t,e,n,r){try{return Vt(33554432&t.def.nodes[e].flags?Ot(t,e).componentView:t),xa.handleEvent(t,e,n,r)}catch(e){t.root.errorHandler.handleError(e)}}function Ut(t){if(t.parent){return Ot(t.parent,t.parentNodeDef.nodeIndex)}return null}function qt(t){return t.parent?t.parentNodeDef.parent:null}function Gt(t,e){switch(201347067&e.flags){case 1:return Ot(t,e.nodeIndex).renderElement;case 2:return Ct(t,e.nodeIndex).renderText}}function Xt(t,e){return t?t+":"+e:e}function Kt(t){return!!t.parent&&!!(32768&t.parentNodeDef.flags)}function Zt(t){return!(!t.parent||32768&t.parentNodeDef.flags)}function $t(t){return 1<<t%32}function Jt(t){var e={},n=0,r={};return t&&t.forEach(function(t){var i=t[0],o=t[1];"number"==typeof i?(e[i]=o,n|=$t(i)):r[i]=o}),{matchedQueries:e,references:r,matchedQueryIds:n}}function Qt(t,e){return t.map(function(t){var n,r;return Array.isArray(t)?(r=t[0],n=t[1]):(r=0,n=t),n&&("function"==typeof n||"object"==typeof n)&&e&&Object.defineProperty(n,lo,{value:e,configurable:!0}),{flags:r,token:n,tokenKey:Rt(n)}})}function te(t,e,n){var r=n.renderParent;return r?0==(1&r.flags)||0==(33554432&r.flags)||r.element.componentRendererType&&r.element.componentRendererType.encapsulation===Ki.Native?Ot(t,n.renderParent.nodeIndex).renderElement:void 0:e}function ee(t){var e=Aa.get(t);return e||((e=t(function(){return Ca})).factory=t,Aa.set(t,e)),e}function ne(t,e,n,r,i){3===e&&(n=t.renderer.parentNode(Gt(t,t.def.lastRenderRootNode))),re(t,e,0,t.def.nodes.length-1,n,r,i)}function re(t,e,n,r,i,o,s){for(var a=n;a<=r;a++){var u=t.def.nodes[a];11&u.flags&&oe(t,u,e,i,o,s),a+=u.childCount}}function ie(t,e,n,r,i,o){for(var s=t;s&&!Kt(s);)s=s.parent;for(var a=s.parent,u=qt(s),l=u.nodeIndex+u.childCount,c=u.nodeIndex+1;c<=l;c++){var d=a.def.nodes[c];d.ngContentIndex===e&&oe(a,d,n,r,i,o),c+=d.childCount}if(!a.parent){var h=t.root.projectableNodes[e];if(h)for(c=0;c<h.length;c++)se(t,h[c],n,r,i,o)}}function oe(t,e,n,r,i,o){if(8&e.flags)ie(t,e.ngContent.index,n,r,i,o);else{var s=Gt(t,e);if(3===n&&33554432&e.flags&&48&e.bindingFlags){if(16&e.bindingFlags&&se(t,s,n,r,i,o),32&e.bindingFlags){se(Ot(t,e.nodeIndex).componentView,s,n,r,i,o)}}else se(t,s,n,r,i,o);if(16777216&e.flags)for(var a=Ot(t,e.nodeIndex).viewContainer._embeddedViews,u=0;u<a.length;u++)ne(a[u],n,r,i,o);1&e.flags&&!e.element.name&&re(t,n,e.nodeIndex+1,e.nodeIndex+e.childCount,r,i,o)}}function se(t,e,n,r,i,o){var s=t.renderer;switch(n){case 1:s.appendChild(r,e);break;case 2:s.insertBefore(r,e,i);break;case 3:s.removeChild(r,e);break;case 0:o.push(e)}}function ae(t){if(":"===t[0]){var e=t.match(Ia);return[e[1],e[2]]}return["",t]}function ue(t){for(var e=0,n=0;n<t.length;n++)e|=t[n].flags;return e}function le(t,e){for(var n="",r=0;r<2*t;r+=2)n=n+e[r]+de(e[r+1]);return n+e[2*t]}function ce(t,e,n,r,i,o,s,a,u,l,c,d,h,f,p,m,_,g,v,y){switch(t){case 1:return e+de(n)+r;case 2:return e+de(n)+r+de(i)+o;case 3:return e+de(n)+r+de(i)+o+de(s)+a;case 4:return e+de(n)+r+de(i)+o+de(s)+a+de(u)+l;case 5:return e+de(n)+r+de(i)+o+de(s)+a+de(u)+l+de(c)+d;case 6:return e+de(n)+r+de(i)+o+de(s)+a+de(u)+l+de(c)+d+de(h)+f;case 7:return e+de(n)+r+de(i)+o+de(s)+a+de(u)+l+de(c)+d+de(h)+f+de(p)+m;case 8:return e+de(n)+r+de(i)+o+de(s)+a+de(u)+l+de(c)+d+de(h)+f+de(p)+m+de(_)+g;case 9:return e+de(n)+r+de(i)+o+de(s)+a+de(u)+l+de(c)+d+de(h)+f+de(p)+m+de(_)+g+de(v)+y;default:throw new Error("Does not support more than 9 expressions")}}function de(t){return null!=t?t.toString():""}function he(t,e,n,r,i,o){t|=1;var s=Jt(e);return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,flags:t,checkIndex:-1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:s.matchedQueries,matchedQueryIds:s.matchedQueryIds,references:s.references,ngContentIndex:n,childCount:r,bindings:[],bindingFlags:0,outputs:[],element:{ns:null,name:null,attrs:null,template:o?ee(o):null,componentProvider:null,componentView:null,componentRendererType:null,publicProviders:null,allProviders:null,handleEvent:i||Ca},provider:null,text:null,query:null,ngContent:null}}function fe(t,e,n,r,i,o,s,a,u,l,c,d){void 0===s&&(s=[]),l||(l=Ca);var h=Jt(n),f=h.matchedQueries,p=h.references,m=h.matchedQueryIds,_=null,g=null;o&&(_=(k=ae(o))[0],g=k[1]),a=a||[];for(var v=new Array(a.length),y=0;y<a.length;y++){var b=a[y],w=b[0],S=b[2],T=ae(b[1]),E=T[1],M=void 0,x=void 0;switch(15&w){case 4:x=S;break;case 1:case 8:M=S}v[y]={flags:w,ns:T[0],name:E,nonMinifiedName:E,securityContext:M,suffix:x}}u=u||[];var C=new Array(u.length);for(y=0;y<u.length;y++){var O=u[y];C[y]={type:0,target:O[0],eventName:O[1],propName:null}}var D=(s=s||[]).map(function(t){var e=t[1],n=ae(t[0]);return[n[0],n[1],e]});return d=Yt(d),c&&(e|=33554432),e|=1,{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:t,flags:e,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:f,matchedQueryIds:m,references:p,ngContentIndex:r,childCount:i,bindings:v,bindingFlags:ue(v),outputs:C,element:{ns:_,name:g,attrs:D,template:null,componentProvider:null,componentView:c||null,componentRendererType:d,publicProviders:null,allProviders:null,handleEvent:l||Ca},provider:null,text:null,query:null,ngContent:null};var k}function pe(t,e,n){var r,i=n.element,o=t.root.selectorOrNode,s=t.renderer;if(t.parent||!o){r=i.name?s.createElement(i.name,i.ns):s.createComment("");var a=te(t,e,n);a&&s.appendChild(a,r)}else r=s.selectRootElement(o);if(i.attrs)for(var u=0;u<i.attrs.length;u++){var l=i.attrs[u];s.setAttribute(r,l[1],l[2],l[0])}return r}function me(t,e,n,r){for(var i=0;i<n.outputs.length;i++){var o=n.outputs[i],s=function(t,e,n){return function(r){return Wt(t,e,n,r)}}(t,n.nodeIndex,Xt(o.target,o.eventName)),a=o.target,u=t;"component"===o.target&&(a=null,u=e);var l=u.renderer.listen(a||r,o.eventName,s);t.disposables[n.outputIndex+i]=l}}function _e(t,e,n,r){if(!Ht(t,e,n,r))return!1;var i=e.bindings[n],o=Ot(t,e.nodeIndex),s=o.renderElement,a=i.name;switch(15&i.flags){case 1:!function(t,e,n,r,i,o){var s=e.securityContext,a=s?t.root.sanitizer.sanitize(s,o):o;a=null!=a?a.toString():null;var u=t.renderer;null!=o?u.setAttribute(n,i,a,r):u.removeAttribute(n,i,r)}(t,i,s,i.ns,a,r);break;case 2:!function(t,e,n,r){var i=t.renderer;r?i.addClass(e,n):i.removeClass(e,n)}(t,s,a,r);break;case 4:!function(t,e,n,r,i){var o=t.root.sanitizer.sanitize(Ta.STYLE,i);if(null!=o){o=o.toString();var s=e.suffix;null!=s&&(o+=s)}else o=null;var a=t.renderer;null!=o?a.setStyle(n,r,o):a.removeStyle(n,r)}(t,i,s,a,r);break;case 8:!function(t,e,n,r,i){var o=e.securityContext,s=o?t.root.sanitizer.sanitize(o,i):i;t.renderer.setProperty(n,r,s)}(33554432&e.flags&&32&i.flags?o.componentView:t,i,s,a,r)}return!0}function ge(t,e,n,r){n=f(n);return{index:-1,deps:Qt(r,d(e)),flags:t,token:e,value:n}}function ve(t){for(var e={},n=0;n<t.length;n++){var r=t[n];r.index=n,e[Rt(r.token)]=r}return{factory:null,providersByKey:e,providers:t}}function ye(t,e,n){if(void 0===n&&(n=po.THROW_IF_NOT_FOUND),8&e.flags)return e.token;if(2&e.flags&&(n=null),1&e.flags)return t._parent.get(e.token,n);var r=e.tokenKey;switch(r){case ja:case Ya:return t}var i=t._def.providersByKey[r];if(i){var o=t._providers[i.index];return void 0===o&&(o=t._providers[i.index]=be(t,i)),o===Na?void 0:o}return t._parent.get(e.token,n)}function be(t,e){var n;switch(201347067&e.flags){case 512:n=function(t,e,n){var r=n.length;switch(r){case 0:return new e;case 1:return new e(ye(t,n[0]));case 2:return new e(ye(t,n[0]),ye(t,n[1]));case 3:return new e(ye(t,n[0]),ye(t,n[1]),ye(t,n[2]));default:for(var i=new Array(r),o=0;o<r;o++)i[o]=ye(t,n[o]);return new(e.bind.apply(e,[void 0].concat(i)))}}(t,e.value,e.deps);break;case 1024:n=function(t,e,n){var r=n.length;switch(r){case 0:return e();case 1:return e(ye(t,n[0]));case 2:return e(ye(t,n[0]),ye(t,n[1]));case 3:return e(ye(t,n[0]),ye(t,n[1]),ye(t,n[2]));default:for(var i=Array(r),o=0;o<r;o++)i[o]=ye(t,n[o]);return e.apply(void 0,i)}}(t,e.value,e.deps);break;case 2048:n=ye(t,e.deps[0]);break;case 256:n=e.value}return void 0===n?Na:n}function we(t,e,n,r){var i=e.viewContainer._embeddedViews;null!==n&&void 0!==n||(n=i.length),r.viewContainerParent=t,Me(i,n,r),function(t,e){var n=Ut(e);if(!n||n===t||16&e.state)return;e.state|=16;var r=n.template._projectedViews;r||(r=n.template._projectedViews=[]);r.push(e),function(t,e){if(4&e.flags)return;t.nodeFlags|=4,e.flags|=4;var n=e.parent;for(;n;)n.childFlags|=4,n=n.parent}(e.parent.def,e.parentNodeDef)}(e,r),xa.dirtyParentQueries(r);Te(e,n>0?i[n-1]:null,r)}function Se(t,e){var n=t.viewContainer._embeddedViews;if((null==e||e>=n.length)&&(e=n.length-1),e<0)return null;var r=n[e];return r.viewContainerParent=null,xe(n,e),xa.dirtyParentQueries(r),Ee(r),r}function Te(t,e,n){var r=e?Gt(e,e.def.lastRenderRootNode):t.renderElement;ne(n,2,n.renderer.parentNode(r),n.renderer.nextSibling(r),void 0)}function Ee(t){ne(t,3,null,null,void 0)}function Me(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function xe(t,e){e>=t.length-1?t.pop():t.splice(e,1)}function Ce(t,e,n,r,i,o){return new Ha(t,e,n,r,i,o)}function Oe(t){return t.viewDefFactory}function De(t,e,n){return new Va(t,e,n)}function ke(t){return new za(t)}function Le(t,e){return new Wa(t,e)}function Ae(t,e){return new Ua(t,e)}function Ie(t,e){var n=t.def.nodes[e];if(1&n.flags){var r=Ot(t,n.nodeIndex);return n.element.template?r.template:r.renderElement}if(2&n.flags)return Ct(t,n.nodeIndex).renderText;if(20240&n.flags)return Dt(t,n.nodeIndex).instance;throw new Error("Illegal state: read nodeValue for node index "+e)}function Pe(t){return new qa(t.renderer)}function Re(t,e,n,r){return new Ga(t,e,n,r)}function Ne(t,e,n,r,i,o,s,a){var u=[];if(s)for(var l in s){var c=s[l];u[c[0]]={flags:8,name:l,nonMinifiedName:c[1],ns:null,securityContext:null,suffix:null}}var d=[];if(a)for(var h in a)d.push({type:1,propName:h,target:null,eventName:a[h]});return e|=16384,Fe(t,e,n,r,i,i,o,u,d)}function je(t,e,n){return t|=16,Fe(-1,t,null,0,e,e,n)}function Ye(t,e,n,r,i){return Fe(-1,t,e,0,n,r,i)}function Fe(t,e,n,r,i,o,s,a,u){var l=Jt(n),c=l.matchedQueries,h=l.references,p=l.matchedQueryIds;u||(u=[]),a||(a=[]),o=f(o);var m=Qt(s,d(i));return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:t,flags:e,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:c,matchedQueryIds:p,references:h,ngContentIndex:-1,childCount:r,bindings:a,bindingFlags:ue(a),outputs:u,element:null,provider:{token:i,value:o,deps:m},text:null,query:null,ngContent:null}}function He(t,e){return ze(t,e)}function Be(t,e){for(var n=t;n.parent&&!Kt(n);)n=n.parent;return We(n.parent,qt(n),!0,e.provider.value,e.provider.deps)}function Ve(t,e){var n=We(t,e.parent,(32768&e.flags)>0,e.provider.value,e.provider.deps);if(e.outputs.length)for(var r=0;r<e.outputs.length;r++){var i=e.outputs[r],o=n[i.propName].subscribe(function(t,e,n){return function(r){return Wt(t,e,n,r)}}(t,e.parent.nodeIndex,i.eventName));t.disposables[e.outputIndex+r]=o.unsubscribe.bind(o)}return n}function ze(t,e){var n=(8192&e.flags)>0,r=e.provider;switch(201347067&e.flags){case 512:return We(t,e.parent,n,r.value,r.deps);case 1024:return function(t,e,n,r,i){var o=i.length;switch(o){case 0:return r();case 1:return r(Ue(t,e,n,i[0]));case 2:return r(Ue(t,e,n,i[0]),Ue(t,e,n,i[1]));case 3:return r(Ue(t,e,n,i[0]),Ue(t,e,n,i[1]),Ue(t,e,n,i[2]));default:for(var s=Array(o),a=0;a<o;a++)s[a]=Ue(t,e,n,i[a]);return r.apply(void 0,s)}}(t,e.parent,n,r.value,r.deps);case 2048:return Ue(t,e.parent,n,r.deps[0]);case 256:return r.value}}function We(t,e,n,r,i){var o=i.length;switch(o){case 0:return new r;case 1:return new r(Ue(t,e,n,i[0]));case 2:return new r(Ue(t,e,n,i[0]),Ue(t,e,n,i[1]));case 3:return new r(Ue(t,e,n,i[0]),Ue(t,e,n,i[1]),Ue(t,e,n,i[2]));default:for(var s=new Array(o),a=0;a<o;a++)s[a]=Ue(t,e,n,i[a]);return new(r.bind.apply(r,[void 0].concat(s)))}}function Ue(t,e,n,r,i){if(void 0===i&&(i=po.THROW_IF_NOT_FOUND),8&r.flags)return r.token;var o=t;2&r.flags&&(i=null);var s=r.tokenKey;for(s===Qa&&(n=!(!e||!e.element.componentView)),e&&1&r.flags&&(n=!1,e=e.parent);t;){if(e)switch(s){case Xa:return Pe(qe(t,e,n));case Ka:return qe(t,e,n).renderer;case Za:return new Fs(Ot(t,e.nodeIndex).renderElement);case $a:return Ot(t,e.nodeIndex).viewContainer;case Ja:if(e.element.template)return Ot(t,e.nodeIndex).template;break;case Qa:return ke(qe(t,e,n));case tu:return Ae(t,e);default:var a=(n?e.element.allProviders:e.element.publicProviders)[s];if(a){var u=Dt(t,a.nodeIndex);return u||(u={instance:ze(t,a)},t.nodes[a.nodeIndex]=u),u.instance}}n=Kt(t),e=qt(t),t=t.parent}var l=o.root.injector.get(r.token,eu);return l!==eu||i===eu?l:o.root.ngModule.injector.get(r.token,i)}function qe(t,e,n){var r;if(n)r=Ot(t,e.nodeIndex).componentView;else for(r=t;r.parent&&!Kt(r);)r=r.parent;return r}function Ge(t,e,n,r,i,o){if(32768&n.flags){var s=Ot(t,n.parent.nodeIndex).componentView;2&s.def.flags&&(s.state|=8)}if(e.instance[n.bindings[r].name]=i,524288&n.flags){o=o||{};var a=ea.unwrap(t.oldValues[n.bindingIndex+r]);o[n.bindings[r].nonMinifiedName]=new na(a,i,0!=(2&t.state))}return t.oldValues[n.bindingIndex+r]=i,o}function Xe(t,e){if(t.def.nodeFlags&e)for(var n=t.def.nodes,r=0,i=0;i<n.length;i++){var o=n[i],s=o.parent;for(!s&&o.flags&e&&Ke(t,i,o.flags&e,r++),0==(o.childFlags&e)&&(i+=o.childCount);s&&1&s.flags&&i===s.nodeIndex+s.childCount;)s.directChildFlags&e&&(r=function(t,e,n,r){for(var i=e.nodeIndex+1;i<=e.nodeIndex+e.childCount;i++){var o=t.def.nodes[i];o.flags&n&&Ke(t,i,o.flags&n,r++),i+=o.childCount}return r}(t,s,e,r)),s=s.parent}}function Ke(t,e,n,r){var i=Dt(t,e);if(i){var o=i.instance;o&&(xa.setCurrentNode(t,e),1048576&n&&xt(t,512,r)&&o.ngAfterContentInit(),2097152&n&&o.ngAfterContentChecked(),4194304&n&&xt(t,768,r)&&o.ngAfterViewInit(),8388608&n&&o.ngAfterViewChecked(),131072&n&&o.ngOnDestroy())}}function Ze(t,e,n){var r=[];for(var i in n){r.push({propName:i,bindingType:n[i]})}return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:-1,flags:t,childFlags:0,directChildFlags:0,childMatchedQueries:0,ngContentIndex:-1,matchedQueries:{},matchedQueryIds:0,references:{},childCount:0,bindings:[],bindingFlags:0,outputs:[],element:null,provider:null,text:null,query:{id:e,filterId:$t(e),bindings:r},ngContent:null}}function $e(){return new Vs}function Je(t){for(var e=t.def.nodeMatchedQueries;t.parent&&Zt(t);){var n=t.parentNodeDef;t=t.parent;for(var r=n.nodeIndex+n.childCount,i=0;i<=r;i++){67108864&(o=t.def.nodes[i]).flags&&536870912&o.flags&&(o.query.filterId&e)===o.query.filterId&&Lt(t,i).setDirty(),!(1&o.flags&&i+o.childCount<n.nodeIndex)&&67108864&o.childFlags&&536870912&o.childFlags||(i+=o.childCount)}}if(134217728&t.def.nodeFlags)for(i=0;i<t.def.nodes.length;i++){var o;134217728&(o=t.def.nodes[i]).flags&&536870912&o.flags&&Lt(t,i).setDirty(),i+=o.childCount}}function Qe(t,e){var n=Lt(t,e.nodeIndex);if(n.dirty){var r,i=void 0;if(67108864&e.flags){var o=e.parent.parent;i=tn(t,o.nodeIndex,o.nodeIndex+o.childCount,e.query,[]),r=Dt(t,e.parent.nodeIndex).instance}else 134217728&e.flags&&(i=tn(t,0,t.def.nodes.length-1,e.query,[]),r=t.component);n.reset(i);for(var s=e.query.bindings,a=!1,u=0;u<s.length;u++){var l=s[u],c=void 0;switch(l.bindingType){case 0:c=n.first;break;case 1:c=n,a=!0}r[l.propName]=c}a&&n.notifyOnChanges()}}function tn(t,e,n,r,i){for(var o=e;o<=n;o++){var s=t.def.nodes[o],a=s.matchedQueries[r.id];if(null!=a&&i.push(en(t,s,a)),1&s.flags&&s.element.template&&(s.element.template.nodeMatchedQueries&r.filterId)===r.filterId){var u=Ot(t,o);if((s.childMatchedQueries&r.filterId)===r.filterId&&(tn(t,o+1,o+s.childCount,r,i),o+=s.childCount),16777216&s.flags)for(var l=u.viewContainer._embeddedViews,c=0;c<l.length;c++){var d=l[c],h=Ut(d);h&&h===u&&tn(d,0,d.def.nodes.length-1,r,i)}var f=u.template._projectedViews;if(f)for(c=0;c<f.length;c++){var p=f[c];tn(p,0,p.def.nodes.length-1,r,i)}}(s.childMatchedQueries&r.filterId)!==r.filterId&&(o+=s.childCount)}return i}function en(t,e,n){if(null!=n)switch(n){case 1:return Ot(t,e.nodeIndex).renderElement;case 0:return new Fs(Ot(t,e.nodeIndex).renderElement);case 2:return Ot(t,e.nodeIndex).template;case 3:return Ot(t,e.nodeIndex).viewContainer;case 4:return Dt(t,e.nodeIndex).instance}}function nn(t,e){return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:-1,flags:8,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:t,childCount:0,bindings:[],bindingFlags:0,outputs:[],element:null,provider:null,text:null,query:null,ngContent:{index:e}}}function rn(t,e,n){var r=te(t,e,n);if(r){ie(t,n.ngContent.index,1,r,null,void 0)}}function on(t,e){return un(128,t,new Array(e+1))}function sn(t,e){return un(32,t,new Array(e))}function an(t,e){for(var n=Object.keys(e),r=n.length,i=new Array(r),o=0;o<r;o++){var s=n[o];i[e[s]]=s}return un(64,t,i)}function un(t,e,n){for(var r=new Array(n.length),i=0;i<n.length;i++){var o=n[i];r[i]={flags:8,name:o,ns:null,nonMinifiedName:o,securityContext:null,suffix:null}}return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:t,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:-1,childCount:0,bindings:r,bindingFlags:ue(r),outputs:[],element:null,provider:null,text:null,query:null,ngContent:null}}function ln(t,e,n){for(var r=new Array(n.length-1),i=1;i<n.length;i++)r[i-1]={flags:8,name:null,ns:null,nonMinifiedName:null,securityContext:null,suffix:n[i]};return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:t,flags:2,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:e,childCount:0,bindings:r,bindingFlags:8,outputs:[],element:null,provider:null,text:{prefix:n[0]},query:null,ngContent:null}}function cn(t,e,n){var r,i=t.renderer;r=i.createText(n.text.prefix);var o=te(t,e,n);return o&&i.appendChild(o,r),{renderText:r}}function dn(t,e){return(null!=t?t.toString():"")+e.suffix}function hn(t,e,n,r){for(var i=0,o=0,s=0,a=0,u=0,l=null,c=null,d=!1,h=!1,f=null,p=0;p<e.length;p++){var m=e[p];if(m.nodeIndex=p,m.parent=l,m.bindingIndex=i,m.outputIndex=o,m.renderParent=c,s|=m.flags,u|=m.matchedQueryIds,m.element){var _=m.element;_.publicProviders=l?l.element.publicProviders:Object.create(null),_.allProviders=_.publicProviders,d=!1,h=!1,m.element.template&&(u|=m.element.template.nodeMatchedQueries)}if(function(t,e,n){var r=e.element&&e.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 "+e.nodeIndex+"!")}if(20224&e.flags){var i=t?t.flags:0;if(0==(1&i))throw new Error("Illegal State: StaticProvider/Directive nodes need to be children of elements or anchors, at index "+e.nodeIndex+"!")}if(e.query){if(67108864&e.flags&&(!t||0==(16384&t.flags)))throw new Error("Illegal State: Content Query nodes need to be children of directives, at index "+e.nodeIndex+"!");if(134217728&e.flags&&t)throw new Error("Illegal State: View Query nodes have to be top level nodes, at index "+e.nodeIndex+"!")}if(e.childCount){var o=t?t.nodeIndex+t.childCount:n-1;if(e.nodeIndex<=o&&e.nodeIndex+e.childCount>o)throw new Error("Illegal State: childCount of node leads outside of parent, at index "+e.nodeIndex+"!")}}(l,m,e.length),i+=m.bindings.length,o+=m.outputs.length,!c&&3&m.flags&&(f=m),20224&m.flags){d||(d=!0,l.element.publicProviders=Object.create(l.element.publicProviders),l.element.allProviders=l.element.publicProviders);var g=0!=(32768&m.flags);!(0!=(8192&m.flags))||g?l.element.publicProviders[Rt(m.provider.token)]=m:(h||(h=!0,l.element.allProviders=Object.create(l.element.publicProviders)),l.element.allProviders[Rt(m.provider.token)]=m),g&&(l.element.componentProvider=m)}if(l?(l.childFlags|=m.flags,l.directChildFlags|=m.flags,l.childMatchedQueries|=m.matchedQueryIds,m.element&&m.element.template&&(l.childMatchedQueries|=m.element.template.nodeMatchedQueries)):a|=m.flags,m.childCount>0)l=m,fn(m)||(c=m);else for(;l&&p===l.nodeIndex+l.childCount;){var v=l.parent;v&&(v.childFlags|=l.childFlags,v.childMatchedQueries|=l.childMatchedQueries),c=(l=v)&&fn(l)?l.renderParent:l}}return{factory:null,nodeFlags:s,rootNodeFlags:a,nodeMatchedQueries:u,flags:t,nodes:e,updateDirectives:n||Ca,updateRenderer:r||Ca,handleEvent:function(t,n,r,i){return e[n].element.handleEvent(t,r,i)},bindingCount:i,outputCount:o,lastRenderRootNode:f}}function fn(t){return 0!=(1&t.flags)&&null===t.element.name}function pn(t,e,n,r){var i=gn(t.root,t.renderer,t,e,n);return vn(i,t.component,r),yn(i),i}function mn(t,e,n){var r=gn(t,t.renderer,null,null,e);return vn(r,n,n),yn(r),r}function _n(t,e,n,r){var i,o=e.element.componentRendererType;return i=o?t.root.rendererFactory.createRenderer(r,o):t.root.renderer,gn(t.root,i,t,e.element.componentProvider,n)}function gn(t,e,n,r,i){var o=new Array(i.nodes.length),s=i.outputCount?new Array(i.outputCount):null;return{def:i,parent:n,viewContainerParent:null,parentNodeDef:r,context:null,component:null,nodes:o,state:13,root:t,renderer:e,oldValues:new Array(i.bindingCount),disposables:s,initIndex:-1}}function vn(t,e,n){t.component=e,t.context=n}function yn(t){var e;if(Kt(t)){e=Ot(t.parent,t.parentNodeDef.parent.nodeIndex).renderElement}for(var n=t.def,r=t.nodes,i=0;i<n.nodes.length;i++){var o=n.nodes[i];xa.setCurrentNode(t,i);var s=void 0;switch(201347067&o.flags){case 1:var a=pe(t,e,o),u=void 0;if(33554432&o.flags){var l=ee(o.element.componentView);u=xa.createComponentView(t,o,l,a)}me(t,u,o,a),s={renderElement:a,componentView:u,viewContainer:null,template:o.element.template?Le(t,o):void 0},16777216&o.flags&&(s.viewContainer=De(t,o,s));break;case 2:s=cn(t,e,o);break;case 512:case 1024:case 2048:case 256:if(!((s=r[i])||4096&o.flags)){s={instance:He(t,o)}}break;case 16:s={instance:Be(t,o)};break;case 16384:if(!(s=r[i])){s={instance:Ve(t,o)}}if(32768&o.flags){vn(Ot(t,o.parent.nodeIndex).componentView,s.instance,s.instance)}break;case 32:case 64:case 128:s={value:void 0};break;case 67108864:case 134217728:s=$e();break;case 8:rn(t,e,o),s=void 0}r[i]=s}Cn(t,nu.CreateViewNodes),Ln(t,201326592,268435456,0)}function bn(t){Tn(t),xa.updateDirectives(t,1),On(t,nu.CheckNoChanges),xa.updateRenderer(t,1),Cn(t,nu.CheckNoChanges),t.state&=-97}function wn(t){1&t.state?(t.state&=-2,t.state|=2):t.state&=-3,Mt(t,0,256),Tn(t),xa.updateDirectives(t,0),On(t,nu.CheckAndUpdate),Ln(t,67108864,536870912,0);var e=Mt(t,256,512);Xe(t,2097152|(e?1048576:0)),xa.updateRenderer(t,0),Cn(t,nu.CheckAndUpdate),Ln(t,134217728,536870912,0),Xe(t,8388608|((e=Mt(t,512,768))?4194304:0)),2&t.def.flags&&(t.state&=-9),t.state&=-97,Mt(t,768,1024)}function Sn(t,e,n,r,i,o,s,a,u,l,c,d,h){return 0===n?function(t,e,n,r,i,o,s,a,u,l,c,d){switch(201347067&e.flags){case 1:return function(t,e,n,r,i,o,s,a,u,l,c,d){var h=e.bindings.length,f=!1;return h>0&&_e(t,e,0,n)&&(f=!0),h>1&&_e(t,e,1,r)&&(f=!0),h>2&&_e(t,e,2,i)&&(f=!0),h>3&&_e(t,e,3,o)&&(f=!0),h>4&&_e(t,e,4,s)&&(f=!0),h>5&&_e(t,e,5,a)&&(f=!0),h>6&&_e(t,e,6,u)&&(f=!0),h>7&&_e(t,e,7,l)&&(f=!0),h>8&&_e(t,e,8,c)&&(f=!0),h>9&&_e(t,e,9,d)&&(f=!0),f}(t,e,n,r,i,o,s,a,u,l,c,d);case 2:return function(t,e,n,r,i,o,s,a,u,l,c,d){var h=!1,f=e.bindings,p=f.length;if(p>0&&Ht(t,e,0,n)&&(h=!0),p>1&&Ht(t,e,1,r)&&(h=!0),p>2&&Ht(t,e,2,i)&&(h=!0),p>3&&Ht(t,e,3,o)&&(h=!0),p>4&&Ht(t,e,4,s)&&(h=!0),p>5&&Ht(t,e,5,a)&&(h=!0),p>6&&Ht(t,e,6,u)&&(h=!0),p>7&&Ht(t,e,7,l)&&(h=!0),p>8&&Ht(t,e,8,c)&&(h=!0),p>9&&Ht(t,e,9,d)&&(h=!0),h){var m=e.text.prefix;p>0&&(m+=dn(n,f[0])),p>1&&(m+=dn(r,f[1])),p>2&&(m+=dn(i,f[2])),p>3&&(m+=dn(o,f[3])),p>4&&(m+=dn(s,f[4])),p>5&&(m+=dn(a,f[5])),p>6&&(m+=dn(u,f[6])),p>7&&(m+=dn(l,f[7])),p>8&&(m+=dn(c,f[8])),p>9&&(m+=dn(d,f[9]));var _=Ct(t,e.nodeIndex).renderText;t.renderer.setValue(_,m)}return h}(t,e,n,r,i,o,s,a,u,l,c,d);case 16384:return function(t,e,n,r,i,o,s,a,u,l,c,d){var h=Dt(t,e.nodeIndex),f=h.instance,p=!1,m=void 0,_=e.bindings.length;return _>0&&Ft(t,e,0,n)&&(p=!0,m=Ge(t,h,e,0,n,m)),_>1&&Ft(t,e,1,r)&&(p=!0,m=Ge(t,h,e,1,r,m)),_>2&&Ft(t,e,2,i)&&(p=!0,m=Ge(t,h,e,2,i,m)),_>3&&Ft(t,e,3,o)&&(p=!0,m=Ge(t,h,e,3,o,m)),_>4&&Ft(t,e,4,s)&&(p=!0,m=Ge(t,h,e,4,s,m)),_>5&&Ft(t,e,5,a)&&(p=!0,m=Ge(t,h,e,5,a,m)),_>6&&Ft(t,e,6,u)&&(p=!0,m=Ge(t,h,e,6,u,m)),_>7&&Ft(t,e,7,l)&&(p=!0,m=Ge(t,h,e,7,l,m)),_>8&&Ft(t,e,8,c)&&(p=!0,m=Ge(t,h,e,8,c,m)),_>9&&Ft(t,e,9,d)&&(p=!0,m=Ge(t,h,e,9,d,m)),m&&f.ngOnChanges(m),65536&e.flags&&xt(t,256,e.nodeIndex)&&f.ngOnInit(),262144&e.flags&&f.ngDoCheck(),p}(t,e,n,r,i,o,s,a,u,l,c,d);case 32:case 64:case 128:return function(t,e,n,r,i,o,s,a,u,l,c,d){var h=e.bindings,f=!1,p=h.length;if(p>0&&Ht(t,e,0,n)&&(f=!0),p>1&&Ht(t,e,1,r)&&(f=!0),p>2&&Ht(t,e,2,i)&&(f=!0),p>3&&Ht(t,e,3,o)&&(f=!0),p>4&&Ht(t,e,4,s)&&(f=!0),p>5&&Ht(t,e,5,a)&&(f=!0),p>6&&Ht(t,e,6,u)&&(f=!0),p>7&&Ht(t,e,7,l)&&(f=!0),p>8&&Ht(t,e,8,c)&&(f=!0),p>9&&Ht(t,e,9,d)&&(f=!0),f){var m=kt(t,e.nodeIndex),_=void 0;switch(201347067&e.flags){case 32:_=new Array(h.length),p>0&&(_[0]=n),p>1&&(_[1]=r),p>2&&(_[2]=i),p>3&&(_[3]=o),p>4&&(_[4]=s),p>5&&(_[5]=a),p>6&&(_[6]=u),p>7&&(_[7]=l),p>8&&(_[8]=c),p>9&&(_[9]=d);break;case 64:_={},p>0&&(_[h[0].name]=n),p>1&&(_[h[1].name]=r),p>2&&(_[h[2].name]=i),p>3&&(_[h[3].name]=o),p>4&&(_[h[4].name]=s),p>5&&(_[h[5].name]=a),p>6&&(_[h[6].name]=u),p>7&&(_[h[7].name]=l),p>8&&(_[h[8].name]=c),p>9&&(_[h[9].name]=d);break;case 128:var g=n;switch(p){case 1:_=g.transform(n);break;case 2:_=g.transform(r);break;case 3:_=g.transform(r,i);break;case 4:_=g.transform(r,i,o);break;case 5:_=g.transform(r,i,o,s);break;case 6:_=g.transform(r,i,o,s,a);break;case 7:_=g.transform(r,i,o,s,a,u);break;case 8:_=g.transform(r,i,o,s,a,u,l);break;case 9:_=g.transform(r,i,o,s,a,u,l,c);break;case 10:_=g.transform(r,i,o,s,a,u,l,c,d)}}m.value=_}return f}(t,e,n,r,i,o,s,a,u,l,c,d);default:throw"unreachable"}}(t,e,r,i,o,s,a,u,l,c,d,h):function(t,e,n){switch(201347067&e.flags){case 1:return function(t,e,n){for(var r=!1,i=0;i<n.length;i++)_e(t,e,i,n[i])&&(r=!0);return r}(t,e,n);case 2:return function(t,e,n){for(var r=e.bindings,i=!1,o=0;o<n.length;o++)Ht(t,e,o,n[o])&&(i=!0);if(i){var s="";for(o=0;o<n.length;o++)s+=dn(n[o],r[o]);s=e.text.prefix+s;var a=Ct(t,e.nodeIndex).renderText;t.renderer.setValue(a,s)}return i}(t,e,n);case 16384:return function(t,e,n){for(var r=Dt(t,e.nodeIndex),i=r.instance,o=!1,s=void 0,a=0;a<n.length;a++)Ft(t,e,a,n[a])&&(o=!0,s=Ge(t,r,e,a,n[a],s));return s&&i.ngOnChanges(s),65536&e.flags&&xt(t,256,e.nodeIndex)&&i.ngOnInit(),262144&e.flags&&i.ngDoCheck(),o}(t,e,n);case 32:case 64:case 128:return function(t,e,n){for(var r=e.bindings,i=!1,o=0;o<n.length;o++)Ht(t,e,o,n[o])&&(i=!0);if(i){var s=kt(t,e.nodeIndex),a=void 0;switch(201347067&e.flags){case 32:a=n;break;case 64:for(a={},o=0;o<n.length;o++)a[r[o].name]=n[o];break;case 128:var u=n[0],l=n.slice(1);a=u.transform.apply(u,l)}s.value=a}return i}(t,e,n);default:throw"unreachable"}}(t,e,r)}function Tn(t){var e=t.def;if(4&e.nodeFlags)for(var n=0;n<e.nodes.length;n++){var r=e.nodes[n];if(4&r.flags){var i=Ot(t,n).template._projectedViews;if(i)for(var o=0;o<i.length;o++){var s=i[o];s.state|=32,zt(s,t)}}else 0==(4&r.childFlags)&&(n+=r.childCount)}}function En(t,e,n,r,i,o,s,a,u,l,c,d,h){return 0===n?function(t,e,n,r,i,o,s,a,u,l,c,d){var h=e.bindings.length;h>0&&Bt(t,e,0,n);h>1&&Bt(t,e,1,r);h>2&&Bt(t,e,2,i);h>3&&Bt(t,e,3,o);h>4&&Bt(t,e,4,s);h>5&&Bt(t,e,5,a);h>6&&Bt(t,e,6,u);h>7&&Bt(t,e,7,l);h>8&&Bt(t,e,8,c);h>9&&Bt(t,e,9,d)}(t,e,r,i,o,s,a,u,l,c,d,h):function(t,e,n){for(var r=0;r<n.length;r++)Bt(t,e,r,n[r])}(t,e,r),!1}function Mn(t,e){if(Lt(t,e.nodeIndex).dirty)throw At(xa.createDebugContext(t,e.nodeIndex),"Query "+e.query.id+" not dirty","Query "+e.query.id+" dirty",0!=(1&t.state))}function xn(t){if(!(128&t.state)){if(On(t,nu.Destroy),Cn(t,nu.Destroy),Xe(t,131072),t.disposables)for(var e=0;e<t.disposables.length;e++)t.disposables[e]();!function(t){if(16&t.state){var e=Ut(t);if(e){var n=e.template._projectedViews;n&&(xe(n,n.indexOf(t)),xa.dirtyParentQueries(t))}}}(t),t.renderer.destroyNode&&function(t){for(var e=t.def.nodes.length,n=0;n<e;n++){var r=t.def.nodes[n];1&r.flags?t.renderer.destroyNode(Ot(t,n).renderElement):2&r.flags?t.renderer.destroyNode(Ct(t,n).renderText):(67108864&r.flags||134217728&r.flags)&&Lt(t,n).destroy()}}(t),Kt(t)&&t.renderer.destroy(),t.state|=128}}function Cn(t,e){var n=t.def;if(33554432&n.nodeFlags)for(var r=0;r<n.nodes.length;r++){var i=n.nodes[r];33554432&i.flags?Dn(Ot(t,r).componentView,e):0==(33554432&i.childFlags)&&(r+=i.childCount)}}function On(t,e){var n=t.def;if(16777216&n.nodeFlags)for(var r=0;r<n.nodes.length;r++){var i=n.nodes[r];if(16777216&i.flags)for(var o=Ot(t,r).viewContainer._embeddedViews,s=0;s<o.length;s++)Dn(o[s],e);else 0==(16777216&i.childFlags)&&(r+=i.childCount)}}function Dn(t,e){var n=t.state;switch(e){case nu.CheckNoChanges:0==(128&n)&&(12==(12&n)?bn(t):64&n&&kn(t,nu.CheckNoChangesProjectedViews));break;case nu.CheckNoChangesProjectedViews:0==(128&n)&&(32&n?bn(t):64&n&&kn(t,e));break;case nu.CheckAndUpdate:0==(128&n)&&(12==(12&n)?wn(t):64&n&&kn(t,nu.CheckAndUpdateProjectedViews));break;case nu.CheckAndUpdateProjectedViews:0==(128&n)&&(32&n?wn(t):64&n&&kn(t,e));break;case nu.Destroy:xn(t);break;case nu.CreateViewNodes:yn(t)}}function kn(t,e){On(t,e),Cn(t,e)}function Ln(t,e,n,r){if(t.def.nodeFlags&e&&t.def.nodeFlags&n)for(var i=t.def.nodes.length,o=0;o<i;o++){var s=t.def.nodes[o];if(s.flags&e&&s.flags&n)switch(xa.setCurrentNode(t,s.nodeIndex),r){case 0:Qe(t,s);break;case 1:Mn(t,s)}s.childFlags&e&&s.childFlags&n||(o+=s.childCount)}}function An(){if(!ru){ru=!0;var t=et()?{setCurrentNode:Xn,createRootView:Pn,createEmbeddedView:Nn,createComponentView:jn,createNgModuleRef:Yn,overrideProvider:Fn,overrideComponentView:Hn,clearOverrides:Bn,checkAndUpdateView:Un,checkNoChangesView:qn,destroyView:Gn,createDebugContext:function(t,e){return new uu(t,e)},handleEvent:Kn,updateDirectives:Zn,updateRenderer:$n}:{setCurrentNode:function(){},createRootView:In,createEmbeddedView:pn,createComponentView:_n,createNgModuleRef:Re,overrideProvider:Ca,overrideComponentView:Ca,clearOverrides:Ca,checkAndUpdateView:wn,checkNoChangesView:bn,destroyView:xn,createDebugContext:function(t,e){return new uu(t,e)},handleEvent:function(t,e,n,r){return t.def.handleEvent(t,e,n,r)},updateDirectives:function(t,e){return t.def.updateDirectives(0===e?zn:Wn,t)},updateRenderer:function(t,e){return t.def.updateRenderer(0===e?zn:Wn,t)}};xa.setCurrentNode=t.setCurrentNode,xa.createRootView=t.createRootView,xa.createEmbeddedView=t.createEmbeddedView,xa.createComponentView=t.createComponentView,xa.createNgModuleRef=t.createNgModuleRef,xa.overrideProvider=t.overrideProvider,xa.overrideComponentView=t.overrideComponentView,xa.clearOverrides=t.clearOverrides,xa.checkAndUpdateView=t.checkAndUpdateView,xa.checkNoChangesView=t.checkNoChangesView,xa.destroyView=t.destroyView,xa.resolveDep=Ue,xa.createDebugContext=t.createDebugContext,xa.handleEvent=t.handleEvent,xa.updateDirectives=t.updateDirectives,xa.updateRenderer=t.updateRenderer,xa.dirtyParentQueries=Je}}function In(t,e,n,r,i,o){return mn(Rn(t,i,i.injector.get(Ns),e,n),r,o)}function Pn(t,e,n,r,i,o){var s=i.injector.get(Ns),a=Rn(t,i,new lu(s),e,n),u=Vn(r);return rr(su.create,mn,null,[a,u,o])}function Rn(t,e,n,r,i){var o=e.injector.get(Ea),s=e.injector.get(ko);return{ngModule:e,injector:t,projectableNodes:r,selectorOrNode:i,sanitizer:o,rendererFactory:n,renderer:n.createRenderer(null,null),errorHandler:s}}function Nn(t,e,n,r){var i=Vn(n);return rr(su.create,pn,null,[t,e,i,r])}function jn(t,e,n,r){var i=ou.get(e.element.componentProvider.provider.token);return n=i||Vn(n),rr(su.create,_n,null,[t,e,n,r])}function Yn(t,e,n,r){return Re(t,e,n,function(t){var e=function(t){var e=!1,n=!1;if(0===iu.size)return{hasOverrides:e,hasDeprecatedOverrides:n};return t.providers.forEach(function(t){var r=iu.get(t.token);3840&t.flags&&r&&(e=!0,n=n||r.deprecatedBehavior)}),{hasOverrides:e,hasDeprecatedOverrides:n}}(t),n=e.hasDeprecatedOverrides;if(!e.hasOverrides)return t;return t=t.factory(function(){return Ca}),function(t){for(var e=0;e<t.providers.length;e++){var r=t.providers[e];n&&(r.flags|=4096);var i=iu.get(r.token);i&&(r.flags=-3841&r.flags|i.flags,r.deps=Qt(i.deps),r.value=i.value)}}(t),t}(r))}function Fn(t){iu.set(t.token,t)}function Hn(t,e){var n=ee(ee(Oe(e)).nodes[0].element.componentView);ou.set(t,n)}function Bn(){iu.clear(),ou.clear()}function Vn(t){if(0===iu.size)return t;var e=function(t){for(var e=[],n=null,r=0;r<t.nodes.length;r++){var i=t.nodes[r];1&i.flags&&(n=i),n&&3840&i.flags&&iu.has(i.provider.token)&&(e.push(n.nodeIndex),n=null)}return e}(t);if(0===e.length)return t;t=t.factory(function(){return Ca});for(var n=0;n<e.length;n++)!function(t,e){for(var n=e+1;n<t.nodes.length;n++){var r=t.nodes[n];if(1&r.flags)return;if(3840&r.flags){var i=r.provider,o=iu.get(i.token);o&&(r.flags=-3841&r.flags|o.flags,i.deps=Qt(o.deps),i.value=o.value)}}}(t,e[n]);return t}function zn(t,e,n,r,i,o,s,a,u,l,c,d,h){var f=t.def.nodes[e];return Sn(t,f,n,r,i,o,s,a,u,l,c,d,h),224&f.flags?kt(t,e).value:void 0}function Wn(t,e,n,r,i,o,s,a,u,l,c,d,h){var f=t.def.nodes[e];return En(t,f,n,r,i,o,s,a,u,l,c,d,h),224&f.flags?kt(t,e).value:void 0}function Un(t){return rr(su.detectChanges,wn,null,[t])}function qn(t){return rr(su.checkNoChanges,bn,null,[t])}function Gn(t){return rr(su.destroy,xn,null,[t])}function Xn(t,e){vi=t,yi=e}function Kn(t,e,n,r){return Xn(t,e),rr(su.handleEvent,t.def.handleEvent,null,[t,e,n,r])}function Zn(t,e){if(128&t.state)throw Pt(su[gi]);return Xn(t,tr(t,0)),t.def.updateDirectives(function(t,n,r){for(var i=[],o=3;o<arguments.length;o++)i[o-3]=arguments[o];var s=t.def.nodes[n];return 0===e?Jn(t,s,r,i):Qn(t,s,r,i),16384&s.flags&&Xn(t,tr(t,n)),224&s.flags?kt(t,s.nodeIndex).value:void 0},t)}function $n(t,e){if(128&t.state)throw Pt(su[gi]);return Xn(t,er(t,0)),t.def.updateRenderer(function(t,n,r){for(var i=[],o=3;o<arguments.length;o++)i[o-3]=arguments[o];var s=t.def.nodes[n];return 0===e?Jn(t,s,r,i):Qn(t,s,r,i),3&s.flags&&Xn(t,er(t,n)),224&s.flags?kt(t,s.nodeIndex).value:void 0},t)}function Jn(t,e,n,r){if(Sn.apply(void 0,[t,e,n].concat(r))){var i=1===n?r[0]:r;if(16384&e.flags){for(var o={},s=0;s<e.bindings.length;s++){var a=e.bindings[s],u=i[s];8&a.flags&&(o[function(t){return"ng-reflect-"+(t=function(t){return t.replace(au,function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return"-"+t[1].toLowerCase()})}(t.replace(/[$@]/g,"_")))}(a.nonMinifiedName)]=function(t){try{return null!=t?t.toString().slice(0,30):t}catch(t){return"[ERROR] Exception while trying to serialize the value"}}(u))}var l=e.parent,c=Ot(t,l.nodeIndex).renderElement;if(l.element.name)for(var d in o){null!=(u=o[d])?t.renderer.setAttribute(c,d,u):t.renderer.removeAttribute(c,d)}else t.renderer.setValue(c,"bindings="+JSON.stringify(o,null,2))}}}function Qn(t,e,n,r){En.apply(void 0,[t,e,n].concat(r))}function tr(t,e){for(var n=e;n<t.def.nodes.length;n++){var r=t.def.nodes[n];if(16384&r.flags&&r.bindings&&r.bindings.length)return n}return null}function er(t,e){for(var n=e;n<t.def.nodes.length;n++){var r=t.def.nodes[n];if(3&r.flags&&r.bindings&&r.bindings.length)return n}return null}function nr(t,e,n){for(var r in e.references)n[r]=en(t,e,e.references[r])}function rr(t,e,n,r){var i=gi,o=vi,s=yi;try{gi=t;var a=e.apply(n,r);return vi=o,yi=s,gi=i,a}catch(t){if(function(t){return!!b(t)}(t)||!vi)throw t;throw function(t,e){return t instanceof Error||(t=new Error(t.toString())),It(t,e),t}(t,ir())}}function ir(){return vi?new uu(vi,yi):null}function or(t){return An(),xa.overrideProvider(t)}function sr(t,e){return An(),xa.overrideComponentView(t,e)}function ar(){return An(),xa.clearOverrides()}function ur(t,e,n){return new du(t,e,n)}function lr(t){return"string"==typeof t?'"'+t+'"':""+t}function cr(t,e,n,r){t!=e&&fr(t,e,n,"==",r)}function dr(t,e){hr(t,null,e)}function hr(t,e,n){t==e&&fr(t,e,n,"!=")}function fr(t,e,n,r,i){throw void 0===i&&(i=lr),new Error("ASSERT: expected "+n+" "+r+" "+i(e)+" but was "+i(t)+"!")}function pr(t,e){hr(t,null,"node"),cr(3&t.flags,e,"Node.type",mr)}function mr(t){return 1==t?"Projection":0==t?"Container":2==t?"View":3==t?"Element":"??? "+t+" ???"}function _r(t,e,n,r){ngDevMode&&pr(t,0),ngDevMode&&pr(e,2);var i=function(t){for(var e=t;e;){ngDevMode&&pr(e,0);var n=e.data.renderParent;if(null!==n)return n.native;var r=e.parent;if(ngDevMode&&dr(r,"container.parent"),3==(3&r.flags))return null;ngDevMode&&pr(r,2),e=r.parent}return null}(t),o=e.child;if(i)for(;o;){var s=3&o.flags,a=null,u=t.view.renderer,l=u.listen;if(3===s)n?l?u.insertBefore(i,o.native,r):i.insertBefore(o.native,r,!0):l?u.removeChild(i,o.native):i.removeChild(o.native),a=o.next;else if(0===s){var c=o.data;n?l?u.appendChild(i,o.native):i.appendChild(o.native):l?u.removeChild(i,o.native):i.removeChild(o.native),a=c.views.length?c.views[0].child:null}else a=1===s?o.data[0]:o.child;if(null===a){for(;o&&!o.next;)(o=o.parent)===e&&(o=null);o=o&&o.next}else o=a}}function gr(t,e){var n=t.data.views,r=n[e];return e>0&&vr(n[e-1],r.next),n.splice(e,1),function(t){for(var e=t;e;){var n=null;if(e.views&&e.views.length?n=e.views[0].data:e.child?n=e.child:e.next&&(yr(e),n=e.next),null==n){for(;e&&!e.next;)yr(e),e=function(t,e){var n;return(n=t.node)&&2==(3&n.flags)?n.parent.data:t.parent===e?null:t.parent}(e,t);yr(e||t),n=e&&e.next}e=n}}(r.data),_r(t,r,!1),t.query&&t.query.removeView(t,r,e),r}function vr(t,e){t.next=e,t.data.next=e?e.data:null}function yr(t){if(t.cleanup){for(var e=t.cleanup,n=0;n<e.length-1;n+=2)"string"==typeof e[n]?(e[n+1].removeEventListener(e[n],e[n+2],e[n+3]),n+=2):e[n].call(e[n+1]);t.cleanup=null}}function br(t,e,n){if(null!==e&&3==(3&t.flags)&&(t.view!==n||null===t.data)){var r=n.renderer;return r.listen?r.appendChild(t.native,e):t.native.appendChild(e),!0}return!1}function wr(t){return"function"==typeof t?t.name||t:"string"==typeof t?t:null==t?"":""+t}function Sr(t,e){var n=gu;return Tu=t.data,Eu=t.bindingStartIndex||0,_u=t.ngStaticData,Su=t.creationMode,Mu=t.viewHookStartIndex,t.cleanup,hu=t.renderer,null!=e&&(pu=e,mu=!0),gu=t,n}function Tr(t){!function(){if(null==Mu)return;var t=Mu,e=t;for(;t<Tu.length;)Tu[t+1].call(Tu[t+2]),16===Tu[t]&&(e<t&&(Tu[e]=Tu[t],Tu[e+1]=Tu[t+1],Tu[e+2]=Tu[t+2]),e+=3),t+=3;Tu.length=e}(),Sr(t,null)}function Er(t,e,n){return{parent:gu,id:t,node:null,data:[],ngStaticData:n,cleanup:null,renderer:e,child:null,tail:null,next:null,bindingStartIndex:null,creationMode:!0,viewHookStartIndex:null}}function Mr(t,e,n,r){var i=mu?pu:pu&&pu.parent,o=(mu?wu:pu&&pu.query)||i&&i.query&&i.query.child(),s=null!=r,a={flags:e,native:n,view:gu,parent:i,child:null,next:null,nodeInjector:i?i.nodeInjector:null,data:s?r:null,query:o,staticData:null};return 2==(2&e)&&s&&(ngDevMode&&cr(r.node,null,"viewState.node"),r.node=a),null!=t&&(ngDevMode&&cr(Tu.length,t,"data.length not in sequence"),Tu[t]=a,t>=_u.length?_u[t]=null:a.staticData=_u[t],mu?(wu=null,pu.view!==gu&&2!=(3&pu.flags)||(ngDevMode&&cr(pu.child,null,"previousNode.child"),pu.child=a)):pu&&(ngDevMode&&cr(pu.next,null,"previousNode.next"),pu.next=a)),pu=a,mu=!0,a}function xr(t,e,n,r){var i,o;if(null==e){var s=Tu[t];o=s&&s.native}else{ngDevMode&&cr(gu.bindingStartIndex,null,"bindingStartIndex");var a="string"!=typeof e,u=a?e.tag:e;if(null===u)throw"for now name is required";o=hu.createElement(u);var l=null;if(a){var c=Cr(e.template);l=zr(Er(-1,fu.createRenderer(o,e.rendererType),c))}null==(i=Mr(t,3,o,l)).staticData&&(ngDevMode&&Gr(t-1),i.staticData=_u[t]=Ar(u,n||null,null,r||null)),n&&function(t,e){ngDevMode&&cr(e.length%2,0,"attrs.length % 2");for(var n=hu.setAttribute,r=0;r<e.length;r+=2)n?hu.setAttribute(t,e[r],e[1|r]):t.setAttribute(e[r],e[1|r])}(o,n),br(i.parent,o,gu)}return o}function Cr(t){return t.ngStaticData||(t.ngStaticData=[])}function Or(t,e){return new Error("Renderer: "+t+" ["+wr(e)+"]")}function Dr(t,e){mu=!1,pu=null,Mr(0,3,t,Er(-1,hu,Cr(e.template)))}function kr(){mu?mu=!1:(ngDevMode&&qr(),pu=pu.parent),ngDevMode&&pr(pu,3);var t=pu.query;t&&t.addNode(pu)}function Lr(t,e,n){if(n!==Cu){var r=Tu[t],i=r.staticData;void 0===i.inputs&&(i.inputs=null,i=function(t,e,n){void 0===n&&(n=!1);for(var r=t>>12,i=r,o=r+((4092&t)>>2);i<o;i++){var s=_u[i],a=n?s.inputs:s.outputs;for(var u in a)if(a.hasOwnProperty(u)){var l=a[u],c=n?e.inputs||(e.inputs={}):e.outputs||(e.outputs={}),d=c.hasOwnProperty(u);d?c[u].push(i,l):c[u]=[i,l]}}return e}(r.flags,i,!0));var o,s=i.inputs;if(s&&(o=s[e]))!function(t,e){for(var n=0;n<t.length;n+=2)ngDevMode&&Gr(t[n]),Tu[t[n]][t[1|n]]=e}(o,n);else{var a=r.native;hu.setProperty?hu.setProperty(a,e,n):a.setProperty?a.setProperty(e,n):a[e]=n}}}function Ar(t,e,n,r){return{tagName:t,attrs:e,localNames:r?[r,-1]:null,initialInputs:void 0,inputs:void 0,outputs:void 0,containerStatic:n}}function Ir(t,e,n,r){if(n!==Cu){var i=Tu[t];null==n?hu.removeStyle?hu.removeStyle(i.native,e,vu.DashCase):i.native.style.removeProperty(e):hu.setStyle?hu.setStyle(i.native,e,r?wr(n)+r:wr(n),vu.DashCase):i.native.style.setProperty(e,r?wr(n)+r:wr(n))}}function Pr(t,e){ngDevMode&&cr(gu.bindingStartIndex,null,"bindingStartIndex");var n=null!=e?hu.createText?hu.createText(wr(e)):hu.createTextNode(wr(e)):null,r=Mr(t,3,n);mu=!1,br(r.parent,n,gu)}function Rr(t,e){var n=t<Tu.length&&Tu[t];n&&n.native?e!==Cu&&(hu.setValue?hu.setValue(n.native,wr(e)):n.native.textContent=wr(e)):n?(n.native=hu.createText?hu.createText(wr(e)):hu.createTextNode(wr(e)),function(t,e){var n=t.parent;if(3==(3&n.flags)&&(n.view!==e||null===n.data)){for(var r=t.next,i=null;r&&null===(i=r.native);)r=r.next;var o=e.renderer;o.listen?o.insertBefore(n.native,t.native,i):n.native.insertBefore(t.native,i,!1)}}(n,gu)):Pr(t,e)}function Nr(t,e,n,r){var i;if(null==e)ngDevMode&&Gr(t),i=Tu[t];else{ngDevMode&&cr(gu.bindingStartIndex,null,"bindingStartIndex"),ngDevMode&&cr(mu,!0,"isParent");var o=pu.flags;if(0===(4092&o)?o=t<<12|4|3&o:o+=4,pu.flags=o,ngDevMode&&Gr(t-1),Object.defineProperty(e,bu,{enumerable:!1,value:pu}),Tu[t]=i=e,t>=_u.length&&(_u[t]=n,r)){ngDevMode&&dr(pu.staticData,"previousOrParentNode.staticData");var s=pu.staticData;(s.localNames||(s.localNames=[])).push(r,t)}var a=n.diPublic;a&&a(n);var u=pu.staticData;u&&u.attrs&&function(t,e,n){var r=((4092&pu.flags)>>2)-1,i=n.initialInputs;(void 0===i||r>=i.length)&&(i=function(t,e,n){var r=n.initialInputs||(n.initialInputs=[]);r[t]=null;for(var i=n.attrs,o=0;o<i.length;o+=2){var s=i[o],a=e[s];if(void 0!==a){var u=r[t]||(r[t]=[]);u.push(a,i[1|o])}}return r}(r,e,n));var o=i[r];if(o)for(var s=0;s<o.length;s+=2)t[o[s]]=o[1|s]}(i,n.inputs,u)}return i}function jr(t,e,n,r,i){ngDevMode&&cr(gu.bindingStartIndex,null,"bindingStartIndex");var o=hu.createComment(ngDevMode?"container":""),s=null,a=mu?pu:pu.parent;ngDevMode&&hr(a,null,"currentParent"),br(a,o,gu)&&(s=a);var u=Mr(t,0,o,{views:[],nextIndex:0,renderParent:s,template:null==e?null:e,next:null,parent:gu});null==u.staticData&&(u.staticData=_u[t]=Ar(n||null,r||null,[],i||null)),zr(u.data)}function Yr(){mu?mu=!1:(ngDevMode&&qr(),pu=pu.parent),ngDevMode&&pr(pu,0);var t=pu.query;t&&t.addNode(pu)}function Fr(t){ngDevMode&&Gr(t),pu=Tu[t],ngDevMode&&pr(pu,0),mu=!0,pu.data.nextIndex=0}function Hr(){mu?mu=!1:(ngDevMode&&pr(pu,2),ngDevMode&&qr(),pu=pu.parent),ngDevMode&&pr(pu,0);var t=pu;ngDevMode&&pr(t,0);for(var e=t.data.nextIndex;e<t.data.views.length;)gr(t,e)}function Br(t){var e=mu?pu:pu.parent;ngDevMode&&pr(e,0);var n=e.data,r=n.views,i=!Su&&n.nextIndex<r.length&&r[n.nextIndex],o=i&&t===i.data.id;if(o)pu=r[n.nextIndex++],ngDevMode&&pr(pu,2),mu=!0,Sr(i.data,pu);else{var s=Er(t,hu,function(t,e){ngDevMode&&pr(e,0);var n=e.staticData.containerStatic;(t>=n.length||null==n[t])&&(n[t]=[]);return n[t]}(t,e));Sr(s,Mr(null,2,null,s)),n.nextIndex++}return!o}function Vr(){mu=!1;var t=pu=gu.node,e=pu.parent;ngDevMode&&pr(t,2),ngDevMode&&pr(e,0);var n=e.data,r=n.nextIndex<=n.views.length?n.views[n.nextIndex-1]:null;(null==r||r.data.id!==t.data.id)&&(!function(t,e,n){var r=t.data,i=r.views;n>0&&vr(i[n-1],e),n<i.length&&i[n].data.id!==e.data.id?(vr(e,i[n]),i.splice(n,0,e)):n>=i.length&&i.push(e),r.nextIndex<=n&&r.nextIndex++,null!==t.data.renderParent&&_r(t,e,!0,function(t,e,n){var r=e.views;return t+1<r.length?r[t+1].child.native:n}(n,r,t.native)),t.query&&t.query.insertView(t,e,n)}(e,t,n.nextIndex-1),gu.creationMode=!1),Tr(gu.parent),ngDevMode&&cr(mu,!1,"isParent"),ngDevMode&&pr(pu,2)}function zr(t){return gu.tail?gu.tail.next=t:gu.child=t,gu.tail=t,t}function Wr(t){var e;return(e=Su)?("number"!=typeof gu.bindingStartIndex&&(Eu=gu.bindingStartIndex=Tu.length),Tu[Eu++]=t):((e=t!==Cu&&function(t,e){return!(t!=t&&e!=e)&&t!==e}(Tu[Eu],t))&&(Tu[Eu]=t),Eu++),e?t:Cu}function Ur(t,e,n){return Wr(e)===Cu?Cu:t+wr(e)+n}function qr(){hr(pu.parent,null,"isParent")}function Gr(t,e){null==e&&(e=Tu),function(t,e,n){t<e&&fr(t,e,n,">")}(e?e.length:0,t,"data.length")}function Xr(t,e){void 0===e&&(e={});var n,r=e.rendererFactory||yu,i=t.ngComponentDef,o=function(t,e){ngDevMode&&Gr(-1),fu=t;var n=t.createRenderer(null,null),r="string"==typeof e?n.selectRootElement?n.selectRootElement(e):n.querySelector(e):e;if(ngDevMode&&!r)throw Or("string"==typeof e?"Host node with selector not found:":"Host node is required:",e);return r}(r,e.host||i.tag),s=Sr(Er(-1,r.createRenderer(o,i.rendererType),[]),null);try{Dr(o,i),n=Nr(1,i.n(),i)}finally{Tr(s)}return e.features&&e.features.forEach(function(t){return t(n,i)}),Kr(n),n}function Kr(t){ngDevMode&&dr(t,"component");var e=t[bu];ngDevMode&&!e&&Or("Not a directive instance",t),ngDevMode&&dr(e.data,"hostNode.data"),function(t,e,n,r){var i=Sr(e,t);try{fu.begin&&fu.begin(),r?(_u=r.ngStaticData||(r.ngStaticData=[]),r(n,Su)):n.constructor.ngComponentDef.r(1,0)}finally{fu.end&&fu.end(),e.creationMode=!1,Tr(i)}}(e,e.view,t),!1}function Zr(t){var e={type:t.type,diPublic:null,n:t.factory,tag:t.tag||null,template:t.template||null,r:t.refresh||function(e,n){xu(e,n,t.template)},h:t.hostBindings||function(){},inputs:$r(t.inputs),outputs:$r(t.outputs),methods:$r(t.methods),rendererType:Yt(t.rendererType)||null},n=t.features;return n&&n.forEach(function(t){return t(e)}),e}function $r(t){if(null==t)return Ou;var e={};for(var n in t)e[t[n]]=n;return e}function Jr(t,e){return{type:7,name:t,definitions:e,options:{}}}function Qr(t,e){return void 0===e&&(e=null),{type:4,styles:e,timings:t}}function ti(t,e){return void 0===e&&(e=null),{type:3,steps:t,options:e}}function ei(t,e){return void 0===e&&(e=null),{type:2,steps:t,options:e}}function ni(t){return{type:6,styles:t,offset:null}}function ri(t,e,n){return{type:0,name:t,styles:e,options:n}}function ii(t){return{type:5,steps:t}}function oi(t,e,n){return void 0===n&&(n=null),{type:1,expr:t,animation:e,options:n}}function si(t,e){return Jr(t,e)}function ai(t,e){return Qr(t,e)}function ui(t){return ti(t)}function li(t){return ei(t)}function ci(t){return ni(t)}function di(t,e){return ri(t,e)}function hi(t){return ii(t)}function fi(t,e){return oi(t,e)}n.d(e,"createPlatform",function(){return nt}),n.d(e,"assertPlatform",function(){return it}),n.d(e,"destroyPlatform",function(){return ot}),n.d(e,"getPlatform",function(){return st}),n.d(e,"PlatformRef",function(){return ks}),n.d(e,"ApplicationRef",function(){return Ls}),n.d(e,"enableProdMode",function(){return tt}),n.d(e,"isDevMode",function(){return et}),n.d(e,"createPlatformFactory",function(){return rt}),n.d(e,"NgProbeToken",function(){return Ds}),n.d(e,"APP_ID",function(){return Xo}),n.d(e,"PACKAGE_ROOT_URL",function(){return Qo}),n.d(e,"PLATFORM_INITIALIZER",function(){return Zo}),n.d(e,"PLATFORM_ID",function(){return $o}),n.d(e,"APP_BOOTSTRAP_LISTENER",function(){return Jo}),n.d(e,"APP_INITIALIZER",function(){return qo}),n.d(e,"ApplicationInitStatus",function(){return Go}),n.d(e,"DebugElement",function(){return Qs}),n.d(e,"DebugNode",function(){return Js}),n.d(e,"asNativeElements",function(){return ft}),n.d(e,"getDebugNode",function(){return _t}),n.d(e,"Testability",function(){return Ts}),n.d(e,"TestabilityRegistry",function(){return Es}),n.d(e,"setTestabilityGetter",function(){return Q}),n.d(e,"TRANSLATIONS",function(){return ya}),n.d(e,"TRANSLATIONS_FORMAT",function(){return ba}),n.d(e,"LOCALE_ID",function(){return va}),n.d(e,"MissingTranslationStrategy",function(){return wa}),n.d(e,"ApplicationModule",function(){return Sa}),n.d(e,"wtfCreateScope",function(){return ms}),n.d(e,"wtfLeave",function(){return _s}),n.d(e,"wtfStartTimeRange",function(){return gs}),n.d(e,"wtfEndTimeRange",function(){return vs}),n.d(e,"Type",function(){return Io}),n.d(e,"EventEmitter",function(){return ys}),n.d(e,"ErrorHandler",function(){return ko}),n.d(e,"Sanitizer",function(){return Ea}),n.d(e,"SecurityContext",function(){return Ta}),n.d(e,"ANALYZE_FOR_ENTRY_COMPONENTS",function(){return ki}),n.d(e,"Attribute",function(){return Li}),n.d(e,"ContentChild",function(){return Pi}),n.d(e,"ContentChildren",function(){return Ii}),n.d(e,"Query",function(){return Ai}),n.d(e,"ViewChild",function(){return Ni}),n.d(e,"ViewChildren",function(){return Ri}),n.d(e,"Component",function(){return Hi}),n.d(e,"Directive",function(){return Fi}),n.d(e,"HostBinding",function(){return Wi}),n.d(e,"HostListener",function(){return Ui}),n.d(e,"Input",function(){return Vi}),n.d(e,"Output",function(){return zi}),n.d(e,"Pipe",function(){return Bi}),n.d(e,"CUSTOM_ELEMENTS_SCHEMA",function(){return qi}),n.d(e,"NO_ERRORS_SCHEMA",function(){return Gi}),n.d(e,"NgModule",function(){return Xi}),n.d(e,"ViewEncapsulation",function(){return Ki}),n.d(e,"Version",function(){return Zi}),n.d(e,"VERSION",function(){return $i}),n.d(e,"forwardRef",function(){return h}),n.d(e,"resolveForwardRef",function(){return f}),n.d(e,"Injector",function(){return po}),n.d(e,"ReflectiveInjector",function(){return Wo}),n.d(e,"ResolvedReflectiveFactory",function(){return Vo}),n.d(e,"ReflectiveKey",function(){return Lo}),n.d(e,"InjectionToken",function(){return xi}),n.d(e,"Inject",function(){return Ji}),n.d(e,"Optional",function(){return Qi}),n.d(e,"Injectable",function(){return to}),n.d(e,"Self",function(){return eo}),n.d(e,"SkipSelf",function(){return no}),n.d(e,"Host",function(){return ro}),n.d(e,"NgZone",function(){return bs}),n.d(e,"RenderComponentType",function(){return As}),n.d(e,"Renderer",function(){return Ps}),n.d(e,"Renderer2",function(){return Ys}),n.d(e,"RendererFactory2",function(){return Ns}),n.d(e,"RendererStyleFlags2",function(){return js}),n.d(e,"RootRenderer",function(){return Rs}),n.d(e,"COMPILER_OPTIONS",function(){return rs}),n.d(e,"Compiler",function(){return ns}),n.d(e,"CompilerFactory",function(){return is}),n.d(e,"ModuleWithComponentFactories",function(){return es}),n.d(e,"ComponentFactory",function(){return ss}),n.d(e,"ComponentRef",function(){return os}),n.d(e,"ComponentFactoryResolver",function(){return ls}),n.d(e,"ElementRef",function(){return Fs}),n.d(e,"NgModuleFactory",function(){return fs}),n.d(e,"NgModuleRef",function(){return hs}),n.d(e,"NgModuleFactoryLoader",function(){return Hs}),n.d(e,"getModuleFactory",function(){return ct}),n.d(e,"QueryList",function(){return Vs}),n.d(e,"SystemJsNgModuleLoader",function(){return Us}),n.d(e,"SystemJsNgModuleLoaderConfig",function(){return zs}),n.d(e,"TemplateRef",function(){return qs}),n.d(e,"ViewContainerRef",function(){return Gs}),n.d(e,"EmbeddedViewRef",function(){return Zs}),n.d(e,"ViewRef",function(){return Ks}),n.d(e,"ChangeDetectionStrategy",function(){return ji}),n.d(e,"ChangeDetectorRef",function(){return Xs}),n.d(e,"DefaultIterableDiffer",function(){return oa}),n.d(e,"IterableDiffers",function(){return ha}),n.d(e,"KeyValueDiffers",function(){return fa}),n.d(e,"SimpleChange",function(){return na}),n.d(e,"WrappedValue",function(){return ea}),n.d(e,"platformCore",function(){return ga}),n.d(e,"ɵALLOW_MULTIPLE_PLATFORMS",function(){return Os}),n.d(e,"ɵAPP_ID_RANDOM_PROVIDER",function(){return Ko}),n.d(e,"ɵdevModeEqual",function(){return vt}),n.d(e,"ɵisListLikeIterable",function(){return yt}),n.d(e,"ɵChangeDetectorStatus",function(){return Yi}),n.d(e,"ɵisDefaultChangeDetectionStrategy",function(){return a}),n.d(e,"ɵConsole",function(){return ts}),n.d(e,"ɵComponentFactory",function(){return ss}),n.d(e,"ɵCodegenComponentFactoryResolver",function(){return cs}),n.d(e,"ɵReflectionCapabilities",function(){return jo}),n.d(e,"ɵRenderDebugInfo",function(){return Is}),n.d(e,"ɵglobal",function(){return so}),n.d(e,"ɵlooseIdentical",function(){return c}),n.d(e,"ɵstringify",function(){return d}),n.d(e,"ɵmakeDecorator",function(){return r}),n.d(e,"ɵisObservable",function(){return Y}),n.d(e,"ɵisPromise",function(){return j}),n.d(e,"ɵclearOverrides",function(){return ar}),n.d(e,"ɵoverrideComponentView",function(){return sr}),n.d(e,"ɵoverrideProvider",function(){return or}),n.d(e,"ɵNOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR",function(){return eu}),n.d(e,"ɵdefineComponent",function(){return Zr}),n.d(e,"ɵdetectChanges",function(){return Kr}),n.d(e,"ɵrenderComponent",function(){return Xr}),n.d(e,"ɵC",function(){return jr}),n.d(e,"ɵD",function(){return Nr}),n.d(e,"ɵE",function(){return xr}),n.d(e,"ɵT",function(){return Pr}),n.d(e,"ɵV",function(){return Br}),n.d(e,"ɵb",function(){return Wr}),n.d(e,"ɵb1",function(){return Ur}),n.d(e,"ɵc",function(){return Yr}),n.d(e,"ɵcR",function(){return Fr}),n.d(e,"ɵcr",function(){return Hr}),n.d(e,"ɵe",function(){return kr}),n.d(e,"ɵp",function(){return Lr}),n.d(e,"ɵs",function(){return Ir}),n.d(e,"ɵt",function(){return Rr}),n.d(e,"ɵv",function(){return Vr}),n.d(e,"ɵregisterModuleFactory",function(){return lt}),n.d(e,"ɵEMPTY_ARRAY",function(){return Pa}),n.d(e,"ɵEMPTY_MAP",function(){return Ra}),n.d(e,"ɵand",function(){return he}),n.d(e,"ɵccf",function(){return Ce}),n.d(e,"ɵcmf",function(){return ur}),n.d(e,"ɵcrt",function(){return jt}),n.d(e,"ɵdid",function(){return Ne}),n.d(e,"ɵeld",function(){return fe}),n.d(e,"ɵelementEventFullName",function(){return Xt}),n.d(e,"ɵgetComponentViewDefinitionFactory",function(){return Oe}),n.d(e,"ɵinlineInterpolate",function(){return ce}),n.d(e,"ɵinterpolate",function(){return le}),n.d(e,"ɵmod",function(){return ve}),n.d(e,"ɵmpd",function(){return ge}),n.d(e,"ɵncd",function(){return nn}),n.d(e,"ɵnov",function(){return Ie}),n.d(e,"ɵpid",function(){return je}),n.d(e,"ɵprd",function(){return Ye}),n.d(e,"ɵpad",function(){return sn}),n.d(e,"ɵpod",function(){return an}),n.d(e,"ɵppd",function(){return on}),n.d(e,"ɵqud",function(){return Ze}),n.d(e,"ɵted",function(){return ln}),n.d(e,"ɵunv",function(){return Nt}),n.d(e,"ɵvid",function(){return hn}),n.d(e,"AUTO_STYLE",function(){return Du}),n.d(e,"trigger",function(){return si}),n.d(e,"animate",function(){return ai}),n.d(e,"group",function(){return ui}),n.d(e,"sequence",function(){return li}),n.d(e,"style",function(){return ci}),n.d(e,"state",function(){return di}),n.d(e,"keyframes",function(){return hi}),n.d(e,"transition",function(){return fi}),n.d(e,"ɵbf",function(){return Qr}),n.d(e,"ɵbg",function(){return ti}),n.d(e,"ɵbk",function(){return ii}),n.d(e,"ɵbh",function(){return ei}),n.d(e,"ɵbj",function(){return ri}),n.d(e,"ɵbi",function(){return ni}),n.d(e,"ɵbl",function(){return oi}),n.d(e,"ɵbe",function(){return Jr}),n.d(e,"ɵn",function(){return St}),n.d(e,"ɵo",function(){return Tt}),n.d(e,"ɵq",function(){return Et}),n.d(e,"ɵi",function(){return F}),n.d(e,"ɵj",function(){return ma}),n.d(e,"ɵk",function(){return _a}),n.d(e,"ɵl",function(){return ra}),n.d(e,"ɵm",function(){return la}),n.d(e,"ɵf",function(){return Uo}),n.d(e,"ɵg",function(){return Fo}),n.d(e,"ɵh",function(){return A}),n.d(e,"ɵr",function(){return ps}),n.d(e,"ɵw",function(){return W}),n.d(e,"ɵu",function(){return z}),n.d(e,"ɵz",function(){return G}),n.d(e,"ɵx",function(){return U}),n.d(e,"ɵy",function(){return q}),n.d(e,"ɵbc",function(){return wr}),n.d(e,"ɵa",function(){return o}),n.d(e,"ɵd",function(){return s}),n.d(e,"ɵba",function(){return Fe}),n.d(e,"ɵbb",function(){return Ma});var pi,mi,_i,gi,vi,yi,bi=n(0),wi=n(2),Si=n(121),Ti=n(401),Ei=n(19),Mi=n(38),xi=function(){function t(t){this._desc=t,this.ngMetadataName="InjectionToken"}return t.prototype.toString=function(){return"InjectionToken "+this._desc},t}(),Ci="__annotations__",Oi="__paramaters__",Di="__prop__metadata__",ki=new xi("AnalyzeForEntryComponents"),Li=o("Attribute",function(t){return{attributeName:t}}),Ai=function(){return function(){}}(),Ii=s("ContentChildren",function(t,e){return void 0===e&&(e={}),Object(bi.__assign)({selector:t,first:!1,isViewQuery:!1,descendants:!1},e)},Ai),Pi=s("ContentChild",function(t,e){return void 0===e&&(e={}),Object(bi.__assign)({selector:t,first:!0,isViewQuery:!1,descendants:!0},e)},Ai),Ri=s("ViewChildren",function(t,e){return void 0===e&&(e={}),Object(bi.__assign)({selector:t,first:!1,isViewQuery:!0,descendants:!0},e)},Ai),Ni=s("ViewChild",function(t,e){return Object(bi.__assign)({selector:t,first:!0,isViewQuery:!0,descendants:!0},e)},Ai),ji=function(){var t={OnPush:0,Default:1};return t[t.OnPush]="OnPush",t[t.Default]="Default",t}(),Yi=function(){var t={CheckOnce:0,Checked:1,CheckAlways:2,Detached:3,Errored:4,Destroyed:5};return t[t.CheckOnce]="CheckOnce",t[t.Checked]="Checked",t[t.CheckAlways]="CheckAlways",t[t.Detached]="Detached",t[t.Errored]="Errored",t[t.Destroyed]="Destroyed",t}(),Fi=r("Directive",function(t){return void 0===t&&(t={}),t}),Hi=r("Component",function(t){return void 0===t&&(t={}),Object(bi.__assign)({changeDetection:ji.Default},t)},Fi),Bi=r("Pipe",function(t){return Object(bi.__assign)({pure:!0},t)}),Vi=s("Input",function(t){return{bindingPropertyName:t}}),zi=s("Output",function(t){return{bindingPropertyName:t}}),Wi=s("HostBinding",function(t){return{hostPropertyName:t}}),Ui=s("HostListener",function(t,e){return{eventName:t,args:e}}),qi={name:"custom-elements"},Gi={name:"no-errors-schema"},Xi=r("NgModule",function(t){return t}),Ki=function(){var t={Emulated:0,Native:1,None:2};return t[t.Emulated]="Emulated",t[t.Native]="Native",t[t.None]="None",t}(),Zi=function(){return function(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}(),$i=new Zi("5.2.9"),Ji=o("Inject",function(t){return{token:t}}),Qi=o("Optional"),to=r("Injectable"),eo=o("Self"),no=o("SkipSelf"),ro=o("Host"),io="undefined"!=typeof window&&window,oo="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,so=io||void 0!==t&&t||oo,ao=Promise.resolve(0),uo=null,lo="__source",co=new Object,ho=co,fo=function(){function t(){}return t.prototype.get=function(t,e){if(void 0===e&&(e=co),e===co)throw new Error("NullInjectorError: No provider for "+d(t)+"!");return e},t}(),po=function(){function t(){}return t.create=function(t,e){return Array.isArray(t)?new xo(t,e):new xo(t.providers,t.parent,t.name||null)},t.THROW_IF_NOT_FOUND=co,t.NULL=new fo,t}(),mo=function(t){return t},_o=[],go=mo,vo=function(){return Array.prototype.slice.call(arguments)},yo={},bo=yo,wo=function(t){for(var e in t)if(t[e]===yo)return e;throw Error("!prop")}({provide:String,useValue:bo}),So="ngTempTokenPath",To=po.NULL,Eo=/\n/gm,Mo="ɵ",xo=function(){function t(t,e,n){void 0===e&&(e=To),void 0===n&&(n=null),this.parent=e,this.source=n;var r=this._records=new Map;r.set(po,{token:po,fn:mo,deps:_o,value:this,useNew:!1}),_(r,t)}return t.prototype.get=function(t,e){var n=this._records.get(t);try{return g(t,n,this._records,this.parent,e)}catch(e){var r=e[So];throw t[lo]&&r.unshift(t[lo]),e.message=v("\n"+e.message,r,this.source),e.ngTokenPath=r,e[So]=null,e}},t.prototype.toString=function(){var t=[];return this._records.forEach(function(e,n){return t.push(d(n))}),"StaticInjector["+t.join(", ")+"]"},t}(),Co="ngDebugContext",Oo="ngOriginalError",Do="ngErrorLogger",ko=function(){function t(){this._console=console}return t.prototype.handleError=function(t){var e=this._findOriginalError(t),n=this._findContext(t),r=function(t){return t[Do]||function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];t.error.apply(t,e)}}(t);r(this._console,"ERROR",t),e&&r(this._console,"ORIGINAL ERROR",e),n&&r(this._console,"ERROR CONTEXT",n)},t.prototype._findContext=function(t){return t?b(t)?b(t):this._findContext(w(t)):null},t.prototype._findOriginalError=function(t){for(var e=w(t);e&&w(e);)e=w(e);return e},t}(),Lo=function(){function t(t,e){if(this.token=t,this.id=e,!t)throw new Error("Token must be defined!");this.displayName=d(this.token)}return t.get=function(t){return Ao.get(f(t))},Object.defineProperty(t,"numberOfKeys",{get:function(){return Ao.numberOfKeys},enumerable:!0,configurable:!0}),t}(),Ao=new(function(){function t(){this._allKeys=new Map}return t.prototype.get=function(t){if(t instanceof Lo)return t;if(this._allKeys.has(t))return this._allKeys.get(t);var e=new Lo(t,Lo.numberOfKeys);return this._allKeys.set(t,e),e},Object.defineProperty(t.prototype,"numberOfKeys",{get:function(){return this._allKeys.size},enumerable:!0,configurable:!0}),t}()),Io=Function,Po=/^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*arguments\)/,Ro=/^class\s+[A-Za-z\d$_]*\s*extends\s+[A-Za-z\d$_]+\s*{/,No=/^class\s+[A-Za-z\d$_]*\s*extends\s+[A-Za-z\d$_]+\s*{[\s\S]*constructor\s*\(/,jo=function(){function t(t){this._reflect=t||so.Reflect}return t.prototype.isReflectionEnabled=function(){return!0},t.prototype.factory=function(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return new(t.bind.apply(t,[void 0].concat(e)))}},t.prototype._zipTypesAndAnnotations=function(t,e){var n;n=void 0===t?new Array(e.length):new Array(t.length);for(var r=0;r<n.length;r++)n[r]=void 0===t?[]:t[r]!=Object?[t[r]]:[],e&&null!=e[r]&&(n[r]=n[r].concat(e[r]));return n},t.prototype._ownParameters=function(t,e){var n=t.toString();if(Po.exec(n)||Ro.exec(n)&&!No.exec(n))return null;if(t.parameters&&t.parameters!==e.parameters)return t.parameters;var r=t.ctorParameters;if(r&&r!==e.ctorParameters){var i="function"==typeof r?r():r,o=i.map(function(t){return t&&t.type}),s=i.map(function(t){return t&&O(t.decorators)});return this._zipTypesAndAnnotations(o,s)}var a=t.hasOwnProperty(Oi)&&t[Oi],u=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata("design:paramtypes",t);return u||a?this._zipTypesAndAnnotations(u,a):new Array(t.length).fill(void 0)},t.prototype.parameters=function(t){if(!C(t))return[];var e=D(t),n=this._ownParameters(t,e);return n||e===Object||(n=this.parameters(e)),n||[]},t.prototype._ownAnnotations=function(t,e){if(t.annotations&&t.annotations!==e.annotations){var n=t.annotations;return"function"==typeof n&&n.annotations&&(n=n.annotations),n}return t.decorators&&t.decorators!==e.decorators?O(t.decorators):t.hasOwnProperty(Ci)?t[Ci]:null},t.prototype.annotations=function(t){if(!C(t))return[];var e=D(t),n=this._ownAnnotations(t,e)||[];return(e!==Object?this.annotations(e):[]).concat(n)},t.prototype._ownPropMetadata=function(t,e){if(t.propMetadata&&t.propMetadata!==e.propMetadata){var n=t.propMetadata;return"function"==typeof n&&n.propMetadata&&(n=n.propMetadata),n}if(t.propDecorators&&t.propDecorators!==e.propDecorators){var r=t.propDecorators,i={};return Object.keys(r).forEach(function(t){i[t]=O(r[t])}),i}return t.hasOwnProperty(Di)?t[Di]:null},t.prototype.propMetadata=function(t){if(!C(t))return{};var e=D(t),n={};if(e!==Object){var r=this.propMetadata(e);Object.keys(r).forEach(function(t){n[t]=r[t]})}var i=this._ownPropMetadata(t,e);return i&&Object.keys(i).forEach(function(t){var e=[];n.hasOwnProperty(t)&&e.push.apply(e,n[t]),e.push.apply(e,i[t]),n[t]=e}),n},t.prototype.hasLifecycleHook=function(t,e){return t instanceof Io&&e in t.prototype},t.prototype.guards=function(t){return{}},t.prototype.getter=function(t){return new Function("o","return o."+t+";")},t.prototype.setter=function(t){return new Function("o","v","return o."+t+" = v;")},t.prototype.method=function(t){var e="if (!o."+t+") throw new Error('\""+t+"\" is undefined');\n        return o."+t+".apply(o, args);";return new Function("o","args",e)},t.prototype.importUri=function(t){return"object"==typeof t&&t.filePath?t.filePath:"./"+d(t)},t.prototype.resourceUri=function(t){return"./"+d(t)},t.prototype.resolveIdentifier=function(t,e,n,r){return r},t.prototype.resolveEnum=function(t,e){return t[e]},t}(),Yo=new(function(){function t(t){this.reflectionCapabilities=t}return t.prototype.updateCapabilities=function(t){this.reflectionCapabilities=t},t.prototype.factory=function(t){return this.reflectionCapabilities.factory(t)},t.prototype.parameters=function(t){return this.reflectionCapabilities.parameters(t)},t.prototype.annotations=function(t){return this.reflectionCapabilities.annotations(t)},t.prototype.propMetadata=function(t){return this.reflectionCapabilities.propMetadata(t)},t.prototype.hasLifecycleHook=function(t,e){return this.reflectionCapabilities.hasLifecycleHook(t,e)},t.prototype.getter=function(t){return this.reflectionCapabilities.getter(t)},t.prototype.setter=function(t){return this.reflectionCapabilities.setter(t)},t.prototype.method=function(t){return this.reflectionCapabilities.method(t)},t.prototype.importUri=function(t){return this.reflectionCapabilities.importUri(t)},t.prototype.resourceUri=function(t){return this.reflectionCapabilities.resourceUri(t)},t.prototype.resolveIdentifier=function(t,e,n,r){return this.reflectionCapabilities.resolveIdentifier(t,e,n,r)},t.prototype.resolveEnum=function(t,e){return this.reflectionCapabilities.resolveEnum(t,e)},t}())(new jo),Fo=function(){function t(t,e,n){this.key=t,this.optional=e,this.visibility=n}return t.fromKey=function(e){return new t(e,!1,null)},t}(),Ho=[],Bo=function(){return function(t,e,n){this.key=t,this.resolvedFactories=e,this.multiProvider=n,this.resolvedFactory=this.resolvedFactories[0]}}(),Vo=function(){return function(t,e){this.factory=t,this.dependencies=e}}(),zo=new Object,Wo=function(){function t(){}return t.resolve=function(t){return A(t)},t.resolveAndCreate=function(e,n){var r=t.resolve(e);return t.fromResolvedProviders(r,n)},t.fromResolvedProviders=function(t,e){return new Uo(t,e)},t}(),Uo=function(){function t(t,e){this._constructionCounter=0,this._providers=t,this.parent=e||null;var n=t.length;this.keyIds=new Array(n),this.objs=new Array(n);for(var r=0;r<n;r++)this.keyIds[r]=t[r].key.id,this.objs[r]=zo}return t.prototype.get=function(t,e){return void 0===e&&(e=ho),this._getByKey(Lo.get(t),null,e)},t.prototype.resolveAndCreateChild=function(t){var e=Wo.resolve(t);return this.createChildFromResolved(e)},t.prototype.createChildFromResolved=function(e){var n=new t(e);return n.parent=this,n},t.prototype.resolveAndInstantiate=function(t){return this.instantiateResolved(Wo.resolve([t])[0])},t.prototype.instantiateResolved=function(t){return this._instantiateProvider(t)},t.prototype.getProviderAtIndex=function(t){if(t<0||t>=this._providers.length)throw function(t){return Error("Index "+t+" is out-of-bounds.")}(t);return this._providers[t]},t.prototype._new=function(t){if(this._constructionCounter++>this._getMaxNumberOfObjects())throw function(t,e){return T(t,e,function(t){return"Cannot instantiate cyclic dependency!"+S(t)})}(this,t.key);return this._instantiateProvider(t)},t.prototype._getMaxNumberOfObjects=function(){return this.objs.length},t.prototype._instantiateProvider=function(t){if(t.multiProvider){for(var e=new Array(t.resolvedFactories.length),n=0;n<t.resolvedFactories.length;++n)e[n]=this._instantiate(t,t.resolvedFactories[n]);return e}return this._instantiate(t,t.resolvedFactories[0])},t.prototype._instantiate=function(t,e){var n,r=this,i=e.factory;try{n=e.dependencies.map(function(t){return r._getByReflectiveDependency(t)})}catch(e){throw e.addKey&&e.addKey(this,t.key),e}var o;try{o=i.apply(void 0,n)}catch(e){throw function(t,e,n,r){return T(t,r,function(t){var n=d(t[0].token);return e.message+": Error during instantiation of "+n+"!"+S(t)+"."},e)}(this,e,0,t.key)}return o},t.prototype._getByReflectiveDependency=function(t){return this._getByKey(t.key,t.visibility,t.optional?null:ho)},t.prototype._getByKey=function(e,n,r){return e===t.INJECTOR_KEY?this:n instanceof eo?this._getByKeySelf(e,r):this._getByKeyDefault(e,r,n)},t.prototype._getObjByKeyId=function(t){for(var e=0;e<this.keyIds.length;e++)if(this.keyIds[e]===t)return this.objs[e]===zo&&(this.objs[e]=this._new(this._providers[e])),this.objs[e];return zo},t.prototype._throwOrNull=function(t,e){if(e!==ho)return e;throw function(t,e){return T(t,e,function(t){return"No provider for "+d(t[0].token)+"!"+S(t)})}(this,t)},t.prototype._getByKeySelf=function(t,e){var n=this._getObjByKeyId(t.id);return n!==zo?n:this._throwOrNull(t,e)},t.prototype._getByKeyDefault=function(e,n,r){var i;for(i=r instanceof no?this.parent:this;i instanceof t;){var o=i,s=o._getObjByKeyId(e.id);if(s!==zo)return s;i=o.parent}return null!==i?i.get(e.token,n):this._throwOrNull(e,n)},Object.defineProperty(t.prototype,"displayName",{get:function(){return"ReflectiveInjector(providers: ["+function(t,e){for(var n=new Array(t._providers.length),r=0;r<t._providers.length;++r)n[r]=e(t.getProviderAtIndex(r));return n}(this,function(t){return' "'+t.key.displayName+'" '}).join(", ")+"])"},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return this.displayName},t.INJECTOR_KEY=Lo.get(po),t}(),qo=new xi("Application Initializer"),Go=function(){function t(t){var e=this;this.appInits=t,this.initialized=!1,this.done=!1,this.donePromise=new Promise(function(t,n){e.resolve=t,e.reject=n})}return t.prototype.runInitializers=function(){var t=this;if(!this.initialized){var e=[],n=function(){t.done=!0,t.resolve()};if(this.appInits)for(var r=0;r<this.appInits.length;r++){var i=this.appInits[r]();j(i)&&e.push(i)}Promise.all(e).then(function(){n()}).catch(function(e){t.reject(e)}),0===e.length&&n(),this.initialized=!0}},t}(),Xo=new xi("AppId"),Ko={provide:Xo,useFactory:F,deps:[]},Zo=new xi("Platform Initializer"),$o=new xi("Platform ID"),Jo=new xi("appBootstrapListener"),Qo=new xi("Application Packages Root URL"),ts=function(){function t(){}return t.prototype.log=function(t){console.log(t)},t.prototype.warn=function(t){console.warn(t)},t.ctorParameters=function(){return[]},t}(),es=function(){return function(t,e){this.ngModuleFactory=t,this.componentFactories=e}}(),ns=function(){function t(){}return t.prototype.compileModuleSync=function(t){throw B()},t.prototype.compileModuleAsync=function(t){throw B()},t.prototype.compileModuleAndAllComponentsSync=function(t){throw B()},t.prototype.compileModuleAndAllComponentsAsync=function(t){throw B()},t.prototype.clearCache=function(){},t.prototype.clearCacheFor=function(t){},t}(),rs=new xi("compilerOptions"),is=function(){return function(){}}(),os=function(){return function(){}}(),ss=function(){return function(){}}(),as="ngComponent",us=function(){function t(){}return t.prototype.resolveComponentFactory=function(t){throw V(t)},t}(),ls=function(){function t(){}return t.NULL=new us,t}(),cs=function(){function t(t,e,n){this._parent=e,this._ngModule=n,this._factories=new Map;for(var r=0;r<t.length;r++){var i=t[r];this._factories.set(i.componentType,i)}}return t.prototype.resolveComponentFactory=function(t){var e=this._factories.get(t);if(!e&&this._parent&&(e=this._parent.resolveComponentFactory(t)),!e)throw V(t);return new ds(e,this._ngModule)},t}(),ds=function(t){function e(e,n){var r=t.call(this)||this;return r.factory=e,r.ngModule=n,r.selector=e.selector,r.componentType=e.componentType,r.ngContentSelectors=e.ngContentSelectors,r.inputs=e.inputs,r.outputs=e.outputs,r}return Object(bi.__extends)(e,t),e.prototype.create=function(t,e,n,r){return this.factory.create(t,e,n,r||this.ngModule)},e}(ss),hs=function(){return function(){}}(),fs=function(){return function(){}}(),ps=z(),ms=ps?W:function(t,e){return X},_s=ps?U:function(t,e){return e},gs=ps?q:function(t,e){return null},vs=ps?G:function(t){return null},ys=function(t){function e(e){void 0===e&&(e=!1);var n=t.call(this)||this;return n.__isAsync=e,n}return Object(bi.__extends)(e,t),e.prototype.emit=function(e){t.prototype.next.call(this,e)},e.prototype.subscribe=function(e,n,r){var i,o=function(t){return null},s=function(){return null};e&&"object"==typeof e?(i=this.__isAsync?function(t){setTimeout(function(){return e.next(t)})}:function(t){e.next(t)},e.error&&(o=this.__isAsync?function(t){setTimeout(function(){return e.error(t)})}:function(t){e.error(t)}),e.complete&&(s=this.__isAsync?function(){setTimeout(function(){return e.complete()})}:function(){e.complete()})):(i=this.__isAsync?function(t){setTimeout(function(){return e(t)})}:function(t){e(t)},n&&(o=this.__isAsync?function(t){setTimeout(function(){return n(t)})}:function(t){n(t)}),r&&(s=this.__isAsync?function(){setTimeout(function(){return r()})}:function(){r()}));var a=t.prototype.subscribe.call(this,i,o,s);return e instanceof Mi.Subscription&&e.add(a),a},e}(Ei.Subject),bs=function(){function t(t){var e=t.enableLongStackTrace,n=void 0!==e&&e;if(this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ys(!1),this.onMicrotaskEmpty=new ys(!1),this.onStable=new ys(!1),this.onError=new ys(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();this._nesting=0,this._outer=this._inner=Zone.current,Zone.wtfZoneSpec&&(this._inner=this._inner.fork(Zone.wtfZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(this._inner=this._inner.fork(Zone.longStackTraceZoneSpec)),function(t){t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:function(e,n,r,i,o,s){try{return $(t),e.invokeTask(r,i,o,s)}finally{J(t)}},onInvoke:function(e,n,r,i,o,s,a){try{return $(t),e.invoke(r,i,o,s,a)}finally{J(t)}},onHasTask:function(e,n,r,i){e.hasTask(r,i),n===r&&("microTask"==i.change?(t.hasPendingMicrotasks=i.microTask,Z(t)):"macroTask"==i.change&&(t.hasPendingMacrotasks=i.macroTask))},onHandleError:function(e,n,r,i){return e.handleError(r,i),t.runOutsideAngular(function(){return t.onError.emit(i)}),!1}})}(this)}return t.isInAngularZone=function(){return!0===Zone.current.get("isAngularZone")},t.assertInAngularZone=function(){if(!t.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")},t.assertNotInAngularZone=function(){if(t.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")},t.prototype.run=function(t,e,n){return this._inner.run(t,e,n)},t.prototype.runTask=function(t,e,n,r){var i=this._inner,o=i.scheduleEventTask("NgZoneEvent: "+r,t,ws,K,K);try{return i.runTask(o,e,n)}finally{i.cancelTask(o)}},t.prototype.runGuarded=function(t,e,n){return this._inner.runGuarded(t,e,n)},t.prototype.runOutsideAngular=function(t){return this._outer.run(t)},t}(),ws={},Ss=function(){function t(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ys,this.onMicrotaskEmpty=new ys,this.onStable=new ys,this.onError=new ys}return t.prototype.run=function(t){return t()},t.prototype.runGuarded=function(t){return t()},t.prototype.runOutsideAngular=function(t){return t()},t.prototype.runTask=function(t){return t()},t}(),Ts=function(){function t(t){this._ngZone=t,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this._watchAngularEvents()}return t.prototype._watchAngularEvents=function(){var t=this;this._ngZone.onUnstable.subscribe({next:function(){t._didWork=!0,t._isZoneStable=!1}}),this._ngZone.runOutsideAngular(function(){t._ngZone.onStable.subscribe({next:function(){bs.assertNotInAngularZone(),l(function(){t._isZoneStable=!0,t._runCallbacksIfReady()})}})})},t.prototype.increasePendingRequestCount=function(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount},t.prototype.decreasePendingRequestCount=function(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount},t.prototype.isStable=function(){return this._isZoneStable&&0==this._pendingCount&&!this._ngZone.hasPendingMacrotasks},t.prototype._runCallbacksIfReady=function(){var t=this;this.isStable()?l(function(){for(;0!==t._callbacks.length;)t._callbacks.pop()(t._didWork);t._didWork=!1}):this._didWork=!0},t.prototype.whenStable=function(t){this._callbacks.push(t),this._runCallbacksIfReady()},t.prototype.getPendingRequestCount=function(){return this._pendingCount},t.prototype.findProviders=function(t,e,n){return[]},t}(),Es=function(){function t(){this._applications=new Map,Ms.addToWindow(this)}return t.prototype.registerApplication=function(t,e){this._applications.set(t,e)},t.prototype.unregisterApplication=function(t){this._applications.delete(t)},t.prototype.unregisterAllApplications=function(){this._applications.clear()},t.prototype.getTestability=function(t){return this._applications.get(t)||null},t.prototype.getAllTestabilities=function(){return Array.from(this._applications.values())},t.prototype.getAllRootElements=function(){return Array.from(this._applications.keys())},t.prototype.findTestabilityInTree=function(t,e){return void 0===e&&(e=!0),Ms.findTestabilityInTree(this,t,e)},t.ctorParameters=function(){return[]},t}(),Ms=new(function(){function t(){}return t.prototype.addToWindow=function(t){},t.prototype.findTestabilityInTree=function(t,e,n){return null},t}()),xs=!0,Cs=!1,Os=new xi("AllowMultipleToken"),Ds=function(){return function(t,e){this.name=t,this.token=e}}(),ks=function(){function t(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}return t.prototype.bootstrapModuleFactory=function(t,e){var n=this,r=function(t){return"noop"===t?new Ss:("zone.js"===t?void 0:t)||new bs({enableLongStackTrace:et()})}(e?e.ngZone:void 0),i=[{provide:bs,useValue:r}];return r.run(function(){var e=po.create({providers:i,parent:n.injector,name:t.moduleType.name}),o=t.create(e),s=o.injector.get(ko,null);if(!s)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return o.onDestroy(function(){return ut(n._modules,o)}),r.runOutsideAngular(function(){return r.onError.subscribe({next:function(t){s.handleError(t)}})}),function(t,e,n){try{var r=n();return j(r)?r.catch(function(n){throw e.runOutsideAngular(function(){return t.handleError(n)}),n}):r}catch(n){throw e.runOutsideAngular(function(){return t.handleError(n)}),n}}(s,r,function(){var t=o.injector.get(Go);return t.runInitializers(),t.donePromise.then(function(){return n._moduleDoBootstrap(o),o})})})},t.prototype.bootstrapModule=function(t,e){var n=this;void 0===e&&(e=[]);var r=this.injector.get(is),i=at({},e);return r.createCompiler([i]).compileModuleAsync(t).then(function(t){return n.bootstrapModuleFactory(t,i)})},t.prototype._moduleDoBootstrap=function(t){var e=t.injector.get(Ls);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(function(t){return e.bootstrap(t)});else{if(!t.instance.ngDoBootstrap)throw new Error("The module "+d(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(e)}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}(),Ls=function(){function t(t,e,n,r,i,o){var s=this;this._zone=t,this._console=e,this._injector=n,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=et(),this._zone.onMicrotaskEmpty.subscribe({next:function(){s._zone.run(function(){s.tick()})}});var a=new wi.Observable(function(t){s._stable=s._zone.isStable&&!s._zone.hasPendingMacrotasks&&!s._zone.hasPendingMicrotasks,s._zone.runOutsideAngular(function(){t.next(s._stable),t.complete()})}),u=new wi.Observable(function(t){var e;s._zone.runOutsideAngular(function(){e=s._zone.onStable.subscribe(function(){bs.assertNotInAngularZone(),l(function(){s._stable||s._zone.hasPendingMacrotasks||s._zone.hasPendingMicrotasks||(s._stable=!0,t.next(!0))})})});var n=s._zone.onUnstable.subscribe(function(){bs.assertInAngularZone(),s._stable&&(s._stable=!1,s._zone.runOutsideAngular(function(){t.next(!1)}))});return function(){e.unsubscribe(),n.unsubscribe()}});this.isStable=Object(Si.merge)(a,Ti.share.call(u))}return t.prototype.bootstrap=function(t,e){var n=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.");var r;r=t instanceof ss?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(r.componentType);var i=r instanceof ds?null:this._injector.get(hs),o=r.create(po.NULL,[],e||r.selector,i);o.onDestroy(function(){n._unloadComponent(o)});var s=o.injector.get(Ts,null);return s&&o.injector.get(Es).registerApplication(o.location.nativeElement,s),this._loadComponent(o),et()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),o},t.prototype.tick=function(){var e=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");var n=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 e._exceptionHandler.handleError(t)})}finally{this._runningTick=!1,_s(n)}},t.prototype.attachView=function(t){var e=t;this._views.push(e),e.attachToAppRef(this)},t.prototype.detachView=function(t){var e=t;ut(this._views,e),e.detachFromAppRef()},t.prototype._loadComponent=function(t){this.attachView(t.hostView),this.tick(),this.components.push(t);this._injector.get(Jo,[]).concat(this._bootstrapListeners).forEach(function(e){return e(t)})},t.prototype._unloadComponent=function(t){this.detachView(t.hostView),ut(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=ms("ApplicationRef#tick()"),t}(),As=function(){return function(t,e,n,r,i,o){this.id=t,this.templateUrl=e,this.slotCount=n,this.encapsulation=r,this.styles=i,this.animations=o}}(),Is=function(){return function(){}}(),Ps=function(){return function(){}}(),Rs=function(){return function(){}}(),Ns=function(){return function(){}}(),js=function(){var t={Important:1,DashCase:2};return t[t.Important]="Important",t[t.DashCase]="DashCase",t}(),Ys=function(){return function(){}}(),Fs=function(){return function(t){this.nativeElement=t}}(),Hs=function(){return function(){}}(),Bs=new Map,Vs=function(){function t(){this.dirty=!0,this._results=[],this.changes=new ys,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,e){return this._results.reduce(t,e)},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[u()]=function(){return this._results[u()]()},t.prototype.toString=function(){return this._results.toString()},t.prototype.reset=function(t){this._results=dt(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}(),zs=function(){return function(){}}(),Ws={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},Us=function(){function t(t,e){this._compiler=t,this._config=e||Ws}return t.prototype.load=function(t){return this._compiler instanceof ns?this.loadFactory(t):this.loadAndCompile(t)},t.prototype.loadAndCompile=function(t){var e=this,r=t.split("#"),i=r[0],o=r[1];return void 0===o&&(o="default"),n(405)(i).then(function(t){return t[o]}).then(function(t){return ht(t,i,o)}).then(function(t){return e._compiler.compileModuleAsync(t)})},t.prototype.loadFactory=function(t){var e=t.split("#"),r=e[0],i=e[1],o="NgFactory";return void 0===i&&(i="default",o=""),n(405)(this._config.factoryPathPrefix+r+this._config.factoryPathSuffix).then(function(t){return t[i+o]}).then(function(t){return ht(t,r,i)})},t}(),qs=function(){return function(){}}(),Gs=function(){return function(){}}(),Xs=function(){return function(){}}(),Ks=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(bi.__extends)(e,t),e}(Xs),Zs=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(bi.__extends)(e,t),e}(Ks),$s=function(){return function(t,e){this.name=t,this.callback=e}}(),Js=function(){function t(t,e,n){this._debugContext=n,this.nativeNode=t,e&&e instanceof Qs?e.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}(),Qs=function(t){function e(e,n,r){var i=t.call(this,e,n,r)||this;return i.properties={},i.attributes={},i.classes={},i.styles={},i.childNodes=[],i.nativeElement=e,i}return Object(bi.__extends)(e,t),e.prototype.addChild=function(t){t&&(this.childNodes.push(t),t.parent=this)},e.prototype.removeChild=function(t){var e=this.childNodes.indexOf(t);-1!==e&&(t.parent=null,this.childNodes.splice(e,1))},e.prototype.insertChildrenAfter=function(t,e){var n=this,r=this.childNodes.indexOf(t);-1!==r&&((i=this.childNodes).splice.apply(i,[r+1,0].concat(e)),e.forEach(function(t){t.parent&&t.parent.removeChild(t),t.parent=n}));var i},e.prototype.insertBefore=function(t,e){var n=this.childNodes.indexOf(t);-1===n?this.addChild(e):(e.parent&&e.parent.removeChild(e),e.parent=this,this.childNodes.splice(n,0,e))},e.prototype.query=function(t){return this.queryAll(t)[0]||null},e.prototype.queryAll=function(t){var e=[];return pt(this,t,e),e},e.prototype.queryAllNodes=function(t){var e=[];return mt(this,t,e),e},Object.defineProperty(e.prototype,"children",{get:function(){return this.childNodes.filter(function(t){return t instanceof e})},enumerable:!0,configurable:!0}),e.prototype.triggerEventHandler=function(t,e){this.listeners.forEach(function(n){n.name==t&&n.callback(e)})},e}(Js),ta=new Map,ea=function(){function t(t){this.wrapped=t}return t.wrap=function(e){return new t(e)},t.unwrap=function(e){return t.isWrapped(e)?e.wrapped:e},t.isWrapped=function(e){return e instanceof t},t}(),na=function(){function t(t,e,n){this.previousValue=t,this.currentValue=e,this.firstChange=n}return t.prototype.isFirstChange=function(){return this.firstChange},t}(),ra=function(){function t(){}return t.prototype.supports=function(t){return yt(t)},t.prototype.create=function(t){return new oa(t)},t}(),ia=function(t,e){return e},oa=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||ia}return t.prototype.forEachItem=function(t){var e;for(e=this._itHead;null!==e;e=e._next)t(e)},t.prototype.forEachOperation=function(t){for(var e=this._itHead,n=this._removalsHead,r=0,i=null;e||n;){var o=!n||e&&e.currentIndex<wt(n,r,i)?e:n,s=wt(o,r,i),a=o.currentIndex;if(o===n)r--,n=n._nextRemoved;else if(e=e._next,null==o.previousIndex)r++;else{i||(i=[]);var u=s-r,l=a-r;if(u!=l){for(var c=0;c<u;c++){var d=c<i.length?i[c]:i[c]=0,h=d+c;l<=h&&h<u&&(i[c]=d+1)}i[o.previousIndex]=l-u}}s!==a&&t(o,s,a)}},t.prototype.forEachPreviousItem=function(t){var e;for(e=this._previousItHead;null!==e;e=e._nextPrevious)t(e)},t.prototype.forEachAddedItem=function(t){var e;for(e=this._additionsHead;null!==e;e=e._nextAdded)t(e)},t.prototype.forEachMovedItem=function(t){var e;for(e=this._movesHead;null!==e;e=e._nextMoved)t(e)},t.prototype.forEachRemovedItem=function(t){var e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)t(e)},t.prototype.forEachIdentityChange=function(t){var e;for(e=this._identityChangesHead;null!==e;e=e._nextIdentityChange)t(e)},t.prototype.diff=function(t){if(null==t&&(t=[]),!yt(t))throw new Error("Error trying to diff '"+d(t)+"'. Only arrays and iterables are allowed");return this.check(t)?this:null},t.prototype.onDestroy=function(){},t.prototype.check=function(t){var e=this;this._reset();var n,r,i,o=this._itHead,s=!1;if(Array.isArray(t)){this.length=t.length;for(var a=0;a<this.length;a++)i=this._trackByFn(a,r=t[a]),null!==o&&c(o.trackById,i)?(s&&(o=this._verifyReinsertion(o,r,i,a)),c(o.item,r)||this._addIdentityChange(o,r)):(o=this._mismatch(o,r,i,a),s=!0),o=o._next}else n=0,function(t,e){if(Array.isArray(t))for(var n=0;n<t.length;n++)e(t[n]);else for(var r=t[u()](),i=void 0;!(i=r.next()).done;)e(i.value)}(t,function(t){i=e._trackByFn(n,t),null!==o&&c(o.trackById,i)?(s&&(o=e._verifyReinsertion(o,t,i,n)),c(o.item,t)||e._addIdentityChange(o,t)):(o=e._mismatch(o,t,i,n),s=!0),o=o._next,n++}),this.length=n;return this._truncate(o),this.collection=t,this.isDirty},Object.defineProperty(t.prototype,"isDirty",{get:function(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead},enumerable:!0,configurable:!0}),t.prototype._reset=function(){if(this.isDirty){var t=void 0,e=void 0;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=e)t.previousIndex=t.currentIndex,e=t._nextMoved;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}},t.prototype._mismatch=function(t,e,n,r){var i;return null===t?i=this._itTail:(i=t._prev,this._remove(t)),null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(n,r))?(c(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,i,r)):null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(c(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,i,r)):t=this._addAfter(new sa(e,n),i,r),t},t.prototype._verifyReinsertion=function(t,e,n,r){var i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==i?t=this._reinsertAfter(i,t._prev,r):t.currentIndex!=r&&(t.currentIndex=r,this._addToMoves(t,r)),t},t.prototype._truncate=function(t){for(;null!==t;){var e=t._next;this._addToRemovals(this._unlink(t)),t=e}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)},t.prototype._reinsertAfter=function(t,e,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);var r=t._prevRemoved,i=t._nextRemoved;return null===r?this._removalsHead=i:r._nextRemoved=i,null===i?this._removalsTail=r:i._prevRemoved=r,this._insertAfter(t,e,n),this._addToMoves(t,n),t},t.prototype._moveAfter=function(t,e,n){return this._unlink(t),this._insertAfter(t,e,n),this._addToMoves(t,n),t},t.prototype._addAfter=function(t,e,n){return this._insertAfter(t,e,n),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t},t.prototype._insertAfter=function(t,e,n){var r=null===e?this._itHead:e._next;return t._next=r,t._prev=e,null===r?this._itTail=t:r._prev=t,null===e?this._itHead=t:e._next=t,null===this._linkedRecords&&(this._linkedRecords=new ua),this._linkedRecords.put(t),t.currentIndex=n,t},t.prototype._remove=function(t){return this._addToRemovals(this._unlink(t))},t.prototype._unlink=function(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);var e=t._prev,n=t._next;return null===e?this._itHead=n:e._next=n,null===n?this._itTail=e:n._prev=e,t},t.prototype._addToMoves=function(t,e){return t.previousIndex===e?t:(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t,t)},t.prototype._addToRemovals=function(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new ua),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t},t.prototype._addIdentityChange=function(t,e){return t.item=e,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t},t}(),sa=function(){return function(t,e){this.item=t,this.trackById=e,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}(),aa=function(){function t(){this._head=null,this._tail=null}return t.prototype.add=function(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)},t.prototype.get=function(t,e){var n;for(n=this._head;null!==n;n=n._nextDup)if((null===e||e<=n.currentIndex)&&c(n.trackById,t))return n;return null},t.prototype.remove=function(t){var e=t._prevDup,n=t._nextDup;return null===e?this._head=n:e._nextDup=n,null===n?this._tail=e:n._prevDup=e,null===this._head},t}(),ua=function(){function t(){this.map=new Map}return t.prototype.put=function(t){var e=t.trackById,n=this.map.get(e);n||(n=new aa,this.map.set(e,n)),n.add(t)},t.prototype.get=function(t,e){var n=this.map.get(t);return n?n.get(t,e):null},t.prototype.remove=function(t){var e=t.trackById;return this.map.get(e).remove(t)&&this.map.delete(e),t},Object.defineProperty(t.prototype,"isEmpty",{get:function(){return 0===this.map.size},enumerable:!0,configurable:!0}),t.prototype.clear=function(){this.map.clear()},t}(),la=function(){function t(){}return t.prototype.supports=function(t){return t instanceof Map||bt(t)},t.prototype.create=function(){return new ca},t}(),ca=function(){function t(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}return Object.defineProperty(t.prototype,"isDirty",{get:function(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead},enumerable:!0,configurable:!0}),t.prototype.forEachItem=function(t){var e;for(e=this._mapHead;null!==e;e=e._next)t(e)},t.prototype.forEachPreviousItem=function(t){var e;for(e=this._previousMapHead;null!==e;e=e._nextPrevious)t(e)},t.prototype.forEachChangedItem=function(t){var e;for(e=this._changesHead;null!==e;e=e._nextChanged)t(e)},t.prototype.forEachAddedItem=function(t){var e;for(e=this._additionsHead;null!==e;e=e._nextAdded)t(e)},t.prototype.forEachRemovedItem=function(t){var e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)t(e)},t.prototype.diff=function(t){if(t){if(!(t instanceof Map||bt(t)))throw new Error("Error trying to diff '"+d(t)+"'. Only maps and objects are allowed")}else t=new Map;return this.check(t)?this:null},t.prototype.onDestroy=function(){},t.prototype.check=function(t){var e=this;this._reset();var n=this._mapHead;if(this._appendAfter=null,this._forEach(t,function(t,r){if(n&&n.key===r)e._maybeAddToChanges(n,t),e._appendAfter=n,n=n._next;else{var i=e._getOrCreateRecordForKey(r,t);n=e._insertBeforeOrAppend(n,i)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(var r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty},t.prototype._insertBeforeOrAppend=function(t,e){if(t){var n=t._prev;return e._next=t,e._prev=n,t._prev=e,n&&(n._next=e),t===this._mapHead&&(this._mapHead=e),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null},t.prototype._getOrCreateRecordForKey=function(t,e){if(this._records.has(t)){var n=this._records.get(t);this._maybeAddToChanges(n,e);var r=n._prev,i=n._next;return r&&(r._next=i),i&&(i._prev=r),n._next=null,n._prev=null,n}var o=new da(t);return this._records.set(t,o),o.currentValue=e,this._addToAdditions(o),o},t.prototype._reset=function(){if(this.isDirty){var t=void 0;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}},t.prototype._maybeAddToChanges=function(t,e){c(e,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=e,this._addToChanges(t))},t.prototype._addToAdditions=function(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)},t.prototype._addToChanges=function(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)},t.prototype._forEach=function(t,e){t instanceof Map?t.forEach(e):Object.keys(t).forEach(function(n){return e(t[n],n)})},t}(),da=function(){return function(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}(),ha=function(){function t(t){this.factories=t}return t.create=function(e,n){if(null!=n){var r=n.factories.slice();return e=e.concat(r),new t(e)}return new t(e)},t.extend=function(e){return{provide:t,useFactory:function(n){if(!n)throw new Error("Cannot extend IterableDiffers without a parent injector");return t.create(e,n)},deps:[[t,new no,new Qi]]}},t.prototype.find=function(t){var e=this.factories.find(function(e){return e.supports(t)});if(null!=e)return e;throw new Error("Cannot find a differ supporting object '"+t+"' of type '"+function(t){return t.name||typeof t}(t)+"'")},t}(),fa=function(){function t(t){this.factories=t}return t.create=function(e,n){if(n){var r=n.factories.slice();e=e.concat(r)}return new t(e)},t.extend=function(e){return{provide:t,useFactory:function(n){if(!n)throw new Error("Cannot extend KeyValueDiffers without a parent injector");return t.create(e,n)},deps:[[t,new no,new Qi]]}},t.prototype.find=function(t){var e=this.factories.find(function(e){return e.supports(t)});if(e)return e;throw new Error("Cannot find a differ supporting object '"+t+"'")},t}(),pa=[new la],ma=new ha([new ra]),_a=new fa(pa),ga=rt(null,"core",[{provide:$o,useValue:"unknown"},{provide:ks,deps:[po]},{provide:Es,deps:[]},{provide:ts,deps:[]}]),va=new xi("LocaleId"),ya=new xi("Translations"),ba=new xi("TranslationsFormat"),wa=function(){var t={Error:0,Warning:1,Ignore:2};return t[t.Error]="Error",t[t.Warning]="Warning",t[t.Ignore]="Ignore",t}(),Sa=function(){return function(t){}}(),Ta=function(){var t={NONE:0,HTML:1,STYLE:2,SCRIPT:3,URL:4,RESOURCE_URL:5};return t[t.NONE]="NONE",t[t.HTML]="HTML",t[t.STYLE]="STYLE",t[t.SCRIPT]="SCRIPT",t[t.URL]="URL",t[t.RESOURCE_URL]="RESOURCE_URL",t}(),Ea=function(){return function(){}}(),Ma=function(){return function(){}}(),xa={setCurrentNode:void 0,createRootView:void 0,createEmbeddedView:void 0,createComponentView:void 0,createNgModuleRef:void 0,overrideProvider:void 0,overrideComponentView:void 0,clearOverrides:void 0,checkAndUpdateView:void 0,checkNoChangesView:void 0,destroyView:void 0,resolveDep:void 0,createDebugContext:void 0,handleEvent:void 0,updateDirectives:void 0,updateRenderer:void 0,dirtyParentQueries:void 0},Ca=function(){},Oa=new Map,Da="$$undefined",ka="$$empty",La=0,Aa=new WeakMap,Ia=/^:([^:]+):(.+)$/,Pa=[],Ra={},Na=new Object,ja=Rt(po),Ya=Rt(hs),Fa=new Object,Ha=function(t){function e(e,n,r,i,o,s){var a=t.call(this)||this;return a.selector=e,a.componentType=n,a._inputs=i,a._outputs=o,a.ngContentSelectors=s,a.viewDefFactory=r,a}return Object(bi.__extends)(e,t),Object.defineProperty(e.prototype,"inputs",{get:function(){var t=[],e=this._inputs;for(var n in e){t.push({propName:n,templateName:e[n]})}return t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"outputs",{get:function(){var t=[];for(var e in this._outputs){t.push({propName:e,templateName:this._outputs[e]})}return t},enumerable:!0,configurable:!0}),e.prototype.create=function(t,e,n,r){if(!r)throw new Error("ngModule should be provided");var i=ee(this.viewDefFactory),o=i.nodes[0].element.componentProvider.nodeIndex,s=xa.createRootView(t,e||[],n,i,r,Fa),a=Dt(s,o).instance;return n&&s.renderer.setAttribute(Ot(s,0).renderElement,"ng-version",$i.full),new Ba(s,new za(s),a)},e}(ss),Ba=function(t){function e(e,n,r){var i=t.call(this)||this;return i._view=e,i._viewRef=n,i._component=r,i._elDef=i._view.def.nodes[0],i.hostView=n,i.changeDetectorRef=n,i.instance=r,i}return Object(bi.__extends)(e,t),Object.defineProperty(e.prototype,"location",{get:function(){return new Fs(Ot(this._view,this._elDef.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"injector",{get:function(){return new Ua(this._view,this._elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"componentType",{get:function(){return this._component.constructor},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){this._viewRef.destroy()},e.prototype.onDestroy=function(t){this._viewRef.onDestroy(t)},e}(os),Va=function(){function t(t,e,n){this._view=t,this._elDef=e,this._data=n,this._embeddedViews=[]}return Object.defineProperty(t.prototype,"element",{get:function(){return new Fs(this._data.renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"injector",{get:function(){return new Ua(this._view,this._elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parentInjector",{get:function(){for(var t=this._view,e=this._elDef.parent;!e&&t;)e=qt(t),t=t.parent;return t?new Ua(t,e):new Ua(this._view,null)},enumerable:!0,configurable:!0}),t.prototype.clear=function(){for(var t=this._embeddedViews.length-1;t>=0;t--){var e=Se(this._data,t);xa.destroyView(e)}},t.prototype.get=function(t){var e=this._embeddedViews[t];if(e){var n=new za(e);return n.attachToViewContainerRef(this),n}return null},Object.defineProperty(t.prototype,"length",{get:function(){return this._embeddedViews.length},enumerable:!0,configurable:!0}),t.prototype.createEmbeddedView=function(t,e,n){var r=t.createEmbeddedView(e||{});return this.insert(r,n),r},t.prototype.createComponent=function(t,e,n,r,i){var o=n||this.parentInjector;i||t instanceof ds||(i=o.get(hs));var s=t.create(o,r,void 0,i);return this.insert(s.hostView,e),s},t.prototype.insert=function(t,e){if(t.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");var n=t;return we(this._view,this._data,e,n._view),n.attachToViewContainerRef(this),t},t.prototype.move=function(t,e){if(t.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");var n=this._embeddedViews.indexOf(t._view);return function(t,e,n){var r=t.viewContainer._embeddedViews,i=r[e];xe(r,e),null==n&&(n=r.length),Me(r,n,i),xa.dirtyParentQueries(i),Ee(i),Te(t,n>0?r[n-1]:null,i)}(this._data,n,e),t},t.prototype.indexOf=function(t){return this._embeddedViews.indexOf(t._view)},t.prototype.remove=function(t){var e=Se(this._data,t);e&&xa.destroyView(e)},t.prototype.detach=function(t){var e=Se(this._data,t);return e?new za(e):null},t}(),za=function(){function t(t){this._view=t,this._viewContainerRef=null,this._appRef=null}return Object.defineProperty(t.prototype,"rootNodes",{get:function(){return function(t){var e=[];return ne(t,0,void 0,void 0,e),e}(this._view)},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(){Vt(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{xa.checkAndUpdateView(this._view)}finally{t.end&&t.end()}},t.prototype.checkNoChanges=function(){xa.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)),xa.destroyView(this._view)},t.prototype.detachFromAppRef=function(){this._appRef=null,Ee(this._view),xa.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}(),Wa=function(t){function e(e,n){var r=t.call(this)||this;return r._parentView=e,r._def=n,r}return Object(bi.__extends)(e,t),e.prototype.createEmbeddedView=function(t){return new za(xa.createEmbeddedView(this._parentView,this._def,this._def.element.template,t))},Object.defineProperty(e.prototype,"elementRef",{get:function(){return new Fs(Ot(this._parentView,this._def.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),e}(qs),Ua=function(){function t(t,e){this.view=t,this.elDef=e}return t.prototype.get=function(t,e){void 0===e&&(e=po.THROW_IF_NOT_FOUND);return xa.resolveDep(this.view,this.elDef,!!this.elDef&&0!=(33554432&this.elDef.flags),{flags:0,token:t,tokenKey:Rt(t)},e)},t}(),qa=function(){function t(t){this.delegate=t}return t.prototype.selectRootElement=function(t){return this.delegate.selectRootElement(t)},t.prototype.createElement=function(t,e){var n=ae(e),r=this.delegate.createElement(n[1],n[0]);return t&&this.delegate.appendChild(t,r),r},t.prototype.createViewRoot=function(t){return t},t.prototype.createTemplateAnchor=function(t){var e=this.delegate.createComment("");return t&&this.delegate.appendChild(t,e),e},t.prototype.createText=function(t,e){var n=this.delegate.createText(e);return t&&this.delegate.appendChild(t,n),n},t.prototype.projectNodes=function(t,e){for(var n=0;n<e.length;n++)this.delegate.appendChild(t,e[n])},t.prototype.attachViewAfter=function(t,e){for(var n=this.delegate.parentNode(t),r=this.delegate.nextSibling(t),i=0;i<e.length;i++)this.delegate.insertBefore(n,e[i],r)},t.prototype.detachView=function(t){for(var e=0;e<t.length;e++){var n=t[e],r=this.delegate.parentNode(n);this.delegate.removeChild(r,n)}},t.prototype.destroyView=function(t,e){for(var n=0;n<e.length;n++)this.delegate.destroyNode(e[n])},t.prototype.listen=function(t,e,n){return this.delegate.listen(t,e,n)},t.prototype.listenGlobal=function(t,e,n){return this.delegate.listen(t,e,n)},t.prototype.setElementProperty=function(t,e,n){this.delegate.setProperty(t,e,n)},t.prototype.setElementAttribute=function(t,e,n){var r=ae(e),i=r[0],o=r[1];null!=n?this.delegate.setAttribute(t,o,n,i):this.delegate.removeAttribute(t,o,i)},t.prototype.setBindingDebugInfo=function(t,e,n){},t.prototype.setElementClass=function(t,e,n){n?this.delegate.addClass(t,e):this.delegate.removeClass(t,e)},t.prototype.setElementStyle=function(t,e,n){null!=n?this.delegate.setStyle(t,e,n):this.delegate.removeStyle(t,e)},t.prototype.invokeElementMethod=function(t,e,n){t[e].apply(t,n)},t.prototype.setText=function(t,e){this.delegate.setValue(t,e)},t.prototype.animate=function(){throw new Error("Renderer.animate is no longer supported!")},t}(),Ga=function(){function t(t,e,n,r){this._moduleType=t,this._parent=e,this._bootstrapComponents=n,this._def=r,this._destroyListeners=[],this._destroyed=!1,this.injector=this,function(t){for(var e=t._def,n=t._providers=new Array(e.providers.length),r=0;r<e.providers.length;r++){var i=e.providers[r];4096&i.flags||(n[r]=be(t,i))}}(this)}return t.prototype.get=function(t,e){return void 0===e&&(e=po.THROW_IF_NOT_FOUND),ye(this,{token:t,tokenKey:Rt(t),flags:0},e)},Object.defineProperty(t.prototype,"instance",{get:function(){return this.get(this._moduleType)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"componentFactoryResolver",{get:function(){return this.get(ls)},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){if(this._destroyed)throw new Error("The ng module "+d(this.instance.constructor)+" has already been destroyed.");this._destroyed=!0,function(t,e){for(var n=t._def,r=0;r<n.providers.length;r++)if(131072&n.providers[r].flags){var i=t._providers[r];i&&i!==Na&&i.ngOnDestroy()}}(this),this._destroyListeners.forEach(function(t){return t()})},t.prototype.onDestroy=function(t){this._destroyListeners.push(t)},t}(),Xa=Rt(Ps),Ka=Rt(Ys),Za=Rt(Fs),$a=Rt(Gs),Ja=Rt(qs),Qa=Rt(Xs),tu=Rt(po),eu={},nu=function(){var t={CreateViewNodes:0,CheckNoChanges:1,CheckNoChangesProjectedViews:2,CheckAndUpdate:3,CheckAndUpdateProjectedViews:4,Destroy:5};return t[t.CreateViewNodes]="CreateViewNodes",t[t.CheckNoChanges]="CheckNoChanges",t[t.CheckNoChangesProjectedViews]="CheckNoChangesProjectedViews",t[t.CheckAndUpdate]="CheckAndUpdate",t[t.CheckAndUpdateProjectedViews]="CheckAndUpdateProjectedViews",t[t.Destroy]="Destroy",t}(),ru=!1,iu=new Map,ou=new Map,su=function(){var t={create:0,detectChanges:1,checkNoChanges:2,destroy:3,handleEvent:4};return t[t.create]="create",t[t.detectChanges]="detectChanges",t[t.checkNoChanges]="checkNoChanges",t[t.destroy]="destroy",t[t.handleEvent]="handleEvent",t}(),au=/([A-Z])/g,uu=function(){function t(t,e){this.view=t,this.nodeIndex=e,null==e&&(this.nodeIndex=e=0),this.nodeDef=t.def.nodes[e];for(var n=this.nodeDef,r=t;n&&0==(1&n.flags);)n=n.parent;if(!n)for(;!n&&r;)n=qt(r),r=r.parent;this.elDef=n,this.elView=r}return Object.defineProperty(t.prototype,"elOrCompView",{get:function(){return Ot(this.elView,this.elDef.nodeIndex).componentView||this.view},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"injector",{get:function(){return Ae(this.elView,this.elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"component",{get:function(){return this.elOrCompView.component},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return this.elOrCompView.context},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"providerTokens",{get:function(){var t=[];if(this.elDef)for(var e=this.elDef.nodeIndex+1;e<=this.elDef.nodeIndex+this.elDef.childCount;e++){var n=this.elView.def.nodes[e];20224&n.flags&&t.push(n.provider.token),e+=n.childCount}return t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"references",{get:function(){var t={};if(this.elDef){nr(this.elView,this.elDef,t);for(var e=this.elDef.nodeIndex+1;e<=this.elDef.nodeIndex+this.elDef.childCount;e++){var n=this.elView.def.nodes[e];20224&n.flags&&nr(this.elView,n,t),e+=n.childCount}}return t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"componentRenderElement",{get:function(){var t=function(t){for(;t&&!Kt(t);)t=t.parent;return t.parent?Ot(t.parent,qt(t).nodeIndex):null}(this.elOrCompView);return t?t.renderElement:void 0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"renderNode",{get:function(){return 2&this.nodeDef.flags?Gt(this.view,this.nodeDef):Gt(this.elView,this.elDef)},enumerable:!0,configurable:!0}),t.prototype.logError=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];var r,i;2&this.nodeDef.flags?(r=this.view.def,i=this.nodeDef.nodeIndex):(r=this.elView.def,i=this.elDef.nodeIndex);var o=function(t,e){for(var n=-1,r=0;r<=e;r++)3&t.nodes[r].flags&&n++;return n}(r,i),s=-1;r.factory(function(){return++s===o?(n=t.error).bind.apply(n,[t].concat(e)):Ca;var n}),s<o&&(t.error("Illegal state: the ViewDefinitionFactory did not call the logger!"),t.error.apply(t,e))},t}(),lu=function(){function t(t){this.delegate=t}return t.prototype.createRenderer=function(t,e){return new cu(this.delegate.createRenderer(t,e))},t.prototype.begin=function(){this.delegate.begin&&this.delegate.begin()},t.prototype.end=function(){this.delegate.end&&this.delegate.end()},t.prototype.whenRenderingDone=function(){return this.delegate.whenRenderingDone?this.delegate.whenRenderingDone():Promise.resolve(null)},t}(),cu=function(){function t(t){this.delegate=t,this.data=this.delegate.data}return t.prototype.destroyNode=function(t){!function(t){ta.delete(t.nativeNode)}(_t(t)),this.delegate.destroyNode&&this.delegate.destroyNode(t)},t.prototype.destroy=function(){this.delegate.destroy()},t.prototype.createElement=function(t,e){var n=this.delegate.createElement(t,e),r=ir();if(r){var i=new Qs(n,null,r);i.name=t,gt(i)}return n},t.prototype.createComment=function(t){var e=this.delegate.createComment(t),n=ir();return n&&gt(new Js(e,null,n)),e},t.prototype.createText=function(t){var e=this.delegate.createText(t),n=ir();return n&&gt(new Js(e,null,n)),e},t.prototype.appendChild=function(t,e){var n=_t(t),r=_t(e);n&&r&&n instanceof Qs&&n.addChild(r),this.delegate.appendChild(t,e)},t.prototype.insertBefore=function(t,e,n){var r=_t(t),i=_t(e),o=_t(n);r&&i&&r instanceof Qs&&r.insertBefore(o,i),this.delegate.insertBefore(t,e,n)},t.prototype.removeChild=function(t,e){var n=_t(t),r=_t(e);n&&r&&n instanceof Qs&&n.removeChild(r),this.delegate.removeChild(t,e)},t.prototype.selectRootElement=function(t){var e=this.delegate.selectRootElement(t),n=ir();return n&&gt(new Qs(e,null,n)),e},t.prototype.setAttribute=function(t,e,n,r){var i=_t(t);if(i&&i instanceof Qs){i.attributes[r?r+":"+e:e]=n}this.delegate.setAttribute(t,e,n,r)},t.prototype.removeAttribute=function(t,e,n){var r=_t(t);if(r&&r instanceof Qs){r.attributes[n?n+":"+e:e]=null}this.delegate.removeAttribute(t,e,n)},t.prototype.addClass=function(t,e){var n=_t(t);n&&n instanceof Qs&&(n.classes[e]=!0),this.delegate.addClass(t,e)},t.prototype.removeClass=function(t,e){var n=_t(t);n&&n instanceof Qs&&(n.classes[e]=!1),this.delegate.removeClass(t,e)},t.prototype.setStyle=function(t,e,n,r){var i=_t(t);i&&i instanceof Qs&&(i.styles[e]=n),this.delegate.setStyle(t,e,n,r)},t.prototype.removeStyle=function(t,e,n){var r=_t(t);r&&r instanceof Qs&&(r.styles[e]=null),this.delegate.removeStyle(t,e,n)},t.prototype.setProperty=function(t,e,n){var r=_t(t);r&&r instanceof Qs&&(r.properties[e]=n),this.delegate.setProperty(t,e,n)},t.prototype.listen=function(t,e,n){if("string"!=typeof t){var r=_t(t);r&&r.listeners.push(new $s(e,n))}return this.delegate.listen(t,e,n)},t.prototype.parentNode=function(t){return this.delegate.parentNode(t)},t.prototype.nextSibling=function(t){return this.delegate.nextSibling(t)},t.prototype.setValue=function(t,e){return this.delegate.setValue(t,e)},t}(),du=function(t){function e(e,n,r){var i=t.call(this)||this;return i.moduleType=e,i._bootstrapComponents=n,i._ngModuleDefFactory=r,i}return Object(bi.__extends)(e,t),e.prototype.create=function(t){An();var e=ee(this._ngModuleDefFactory);return xa.createNgModuleRef(this.moduleType,t||po.NULL,this._bootstrapComponents,e)},e}(fs);"undefined"==typeof ngDevMode&&("undefined"!=typeof window&&(window.ngDevMode=!0),"undefined"!=typeof self&&(self.ngDevMode=!0),void 0!==t&&(t.ngDevMode=!0));var hu,fu,pu,mu,_u,gu,vu=function(){var t={Important:1,DashCase:2};return t[t.Important]="Important",t[t.DashCase]="DashCase",t}(),yu={createRenderer:function(t,e){return document}},bu="__ngHostLNode__";gu=Er(null,null,[]);var wu,Su,Tu,Eu,Mu,xu=function(t,e,n){ngDevMode&&Gr(e);var r=Tu[e];ngDevMode&&pr(r,3),ngDevMode&&hr(r.data,null,"isComponent"),ngDevMode&&Gr(t);var i=r.data;ngDevMode&&hr(i,null,"hostView");var o=Tu[t],s=Sr(i,r);try{n(o,Su)}finally{i.creationMode=!1,Tr(s)}},Cu={},Ou={},Du="*"}.call(e,n(120))},function(t,e,n){"use strict";var r=n(56),i=n(937),o=n(185),s=n(258);e.Observable=function(){function t(t){this._isScalar=!1,t&&(this._subscribe=t)}return t.prototype.lift=function(e){var n=new t;return n.source=this,n.operator=e,n},t.prototype.subscribe=function(t,e,n){var r=this.operator,o=i.toSubscriber(t,e,n);if(r?r.call(o,this.source):o.add(this.source||!o.syncErrorThrowable?this._subscribe(o):this._trySubscribe(o)),o.syncErrorThrowable&&(o.syncErrorThrowable=!1,o.syncErrorThrown))throw o.syncErrorValue;return o},t.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.syncErrorThrown=!0,t.syncErrorValue=e,t.error(e)}},t.prototype.forEach=function(t,e){var n=this;if(e||(r.root.Rx&&r.root.Rx.config&&r.root.Rx.config.Promise?e=r.root.Rx.config.Promise:r.root.Promise&&(e=r.root.Promise)),!e)throw new Error("no Promise impl found");return new e(function(e,r){var i;i=n.subscribe(function(e){if(i)try{t(e)}catch(t){r(t),i.unsubscribe()}else t(e)},r,e)})},t.prototype._subscribe=function(t){return this.source.subscribe(t)},t.prototype[o.observable]=function(){return this},t.prototype.pipe=function(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];return 0===t.length?this:s.pipeFromArray(t)(this)},t.prototype.toPromise=function(t){var e=this;if(t||(r.root.Rx&&r.root.Rx.config&&r.root.Rx.config.Promise?t=r.root.Rx.config.Promise:r.root.Promise&&(t=r.root.Promise)),!t)throw new Error("no Promise impl found");return new t(function(t,n){var r;e.subscribe(function(t){return r=t},function(t){return n(t)},function(){return t(r)})})},t.create=function(e){return new t(e)},t}()},,function(t,e,n){(function(t){!function(e,n){t.exports=n()}(0,function(){"use strict";function e(){return Qt.apply(null,arguments)}function r(t){return t instanceof Array||"[object Array]"===Object.prototype.toString.call(t)}function i(t){return null!=t&&"[object Object]"===Object.prototype.toString.call(t)}function o(t){return void 0===t}function s(t){return"number"==typeof t||"[object Number]"===Object.prototype.toString.call(t)}function a(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function u(t,e){var n,r=[];for(n=0;n<t.length;++n)r.push(e(t[n],n));return r}function l(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function c(t,e){for(var n in e)l(e,n)&&(t[n]=e[n]);return l(e,"toString")&&(t.toString=e.toString),l(e,"valueOf")&&(t.valueOf=e.valueOf),t}function d(t,e,n,r){return yt(t,e,n,r,!0).utc()}function h(t){return null==t._pf&&(t._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null,rfc2822:!1,weekdayMismatch:!1}),t._pf}function f(t){if(null==t._isValid){var e=h(t),n=te.call(e.parsedDateParts,function(t){return null!=t}),r=!isNaN(t._d.getTime())&&e.overflow<0&&!e.empty&&!e.invalidMonth&&!e.invalidWeekday&&!e.weekdayMismatch&&!e.nullInput&&!e.invalidFormat&&!e.userInvalidated&&(!e.meridiem||e.meridiem&&n);if(t._strict&&(r=r&&0===e.charsLeftOver&&0===e.unusedTokens.length&&void 0===e.bigHour),null!=Object.isFrozen&&Object.isFrozen(t))return r;t._isValid=r}return t._isValid}function p(t){var e=d(NaN);return null!=t?c(h(e),t):h(e).userInvalidated=!0,e}function m(t,e){var n,r,i;if(o(e._isAMomentObject)||(t._isAMomentObject=e._isAMomentObject),o(e._i)||(t._i=e._i),o(e._f)||(t._f=e._f),o(e._l)||(t._l=e._l),o(e._strict)||(t._strict=e._strict),o(e._tzm)||(t._tzm=e._tzm),o(e._isUTC)||(t._isUTC=e._isUTC),o(e._offset)||(t._offset=e._offset),o(e._pf)||(t._pf=h(e)),o(e._locale)||(t._locale=e._locale),ee.length>0)for(n=0;n<ee.length;n++)o(i=e[r=ee[n]])||(t[r]=i);return t}function _(t){m(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===ne&&(ne=!0,e.updateOffset(this),ne=!1)}function g(t){return t instanceof _||null!=t&&null!=t._isAMomentObject}function v(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function y(t){var e=+t,n=0;return 0!==e&&isFinite(e)&&(n=v(e)),n}function b(t,e,n){var r,i=Math.min(t.length,e.length),o=Math.abs(t.length-e.length),s=0;for(r=0;r<i;r++)(n&&t[r]!==e[r]||!n&&y(t[r])!==y(e[r]))&&s++;return s+o}function w(t){!1===e.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function S(t,n){var r=!0;return c(function(){if(null!=e.deprecationHandler&&e.deprecationHandler(null,t),r){for(var i,o=[],s=0;s<arguments.length;s++){if(i="","object"==typeof arguments[s]){i+="\n["+s+"] ";for(var a in arguments[0])i+=a+": "+arguments[0][a]+", ";i=i.slice(0,-2)}else i=arguments[s];o.push(i)}w(t+"\nArguments: "+Array.prototype.slice.call(o).join("")+"\n"+(new Error).stack),r=!1}return n.apply(this,arguments)},n)}function T(t,n){null!=e.deprecationHandler&&e.deprecationHandler(t,n),re[t]||(w(n),re[t]=!0)}function E(t){return t instanceof Function||"[object Function]"===Object.prototype.toString.call(t)}function M(t,e){var n,r=c({},t);for(n in e)l(e,n)&&(i(t[n])&&i(e[n])?(r[n]={},c(r[n],t[n]),c(r[n],e[n])):null!=e[n]?r[n]=e[n]:delete r[n]);for(n in t)l(t,n)&&!l(e,n)&&i(t[n])&&(r[n]=c({},r[n]));return r}function x(t){null!=t&&this.set(t)}function C(t,e){var n=t.toLowerCase();oe[n]=oe[n+"s"]=oe[e]=t}function O(t){return"string"==typeof t?oe[t]||oe[t.toLowerCase()]:void 0}function D(t){var e,n,r={};for(n in t)l(t,n)&&(e=O(n))&&(r[e]=t[n]);return r}function k(t,e){se[t]=e}function L(t,e,n){var r=""+Math.abs(t),i=e-r.length;return(t>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}function A(t,e,n,r){var i=r;"string"==typeof r&&(i=function(){return this[r]()}),t&&(ce[t]=i),e&&(ce[e[0]]=function(){return L(i.apply(this,arguments),e[1],e[2])}),n&&(ce[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),t)})}function I(t){return t.match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"")}function P(t,e){return t.isValid()?(e=R(e,t.localeData()),le[e]=le[e]||function(t){var e,n,r=t.match(ae);for(e=0,n=r.length;e<n;e++)r[e]=ce[r[e]]?ce[r[e]]:I(r[e]);return function(e){var i,o="";for(i=0;i<n;i++)o+=E(r[i])?r[i].call(e,t):r[i];return o}}(e),le[e](t)):t.localeData().invalidDate()}function R(t,e){function n(t){return e.longDateFormat(t)||t}var r=5;for(ue.lastIndex=0;r>=0&&ue.test(t);)t=t.replace(ue,n),ue.lastIndex=0,r-=1;return t}function N(t,e,n){Ce[t]=E(e)?e:function(t,r){return t&&n?n:e}}function j(t,e){return l(Ce,t)?Ce[t](e._strict,e._locale):new RegExp(function(t){return Y(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,e,n,r,i){return e||n||r||i}))}(t))}function Y(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function F(t,e){var n,r=e;for("string"==typeof t&&(t=[t]),s(e)&&(r=function(t,n){n[e]=y(t)}),n=0;n<t.length;n++)Oe[t[n]]=r}function H(t,e){F(t,function(t,n,r,i){r._w=r._w||{},e(t,r._w,r,i)})}function B(t,e,n){null!=e&&l(Oe,t)&&Oe[t](e,n._a,n,t)}function V(t){return z(t)?366:365}function z(t){return t%4==0&&t%100!=0||t%400==0}function W(t,n){return function(r){return null!=r?(q(this,t,r),e.updateOffset(this,n),this):U(this,t)}}function U(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function q(t,e,n){t.isValid()&&!isNaN(n)&&("FullYear"===e&&z(t.year())&&1===t.month()&&29===t.date()?t._d["set"+(t._isUTC?"UTC":"")+e](n,t.month(),G(n,t.month())):t._d["set"+(t._isUTC?"UTC":"")+e](n))}function G(t,e){if(isNaN(t)||isNaN(e))return NaN;var n=function(t,e){return(t%e+e)%e}(e,12);return t+=(e-n)/12,1===n?z(t)?29:28:31-n%7%2}function X(t,e){var n;if(!t.isValid())return t;if("string"==typeof e)if(/^\d+$/.test(e))e=y(e);else if(e=t.localeData().monthsParse(e),!s(e))return t;return n=Math.min(t.date(),G(t.year(),e)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](e,n),t}function K(t){return null!=t?(X(this,t),e.updateOffset(this,!0),this):U(this,"Month")}function Z(){function t(t,e){return e.length-t.length}var e,n,r=[],i=[],o=[];for(e=0;e<12;e++)n=d([2e3,e]),r.push(this.monthsShort(n,"")),i.push(this.months(n,"")),o.push(this.months(n,"")),o.push(this.monthsShort(n,""));for(r.sort(t),i.sort(t),o.sort(t),e=0;e<12;e++)r[e]=Y(r[e]),i[e]=Y(i[e]);for(e=0;e<24;e++)o[e]=Y(o[e]);this._monthsRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+r.join("|")+")","i")}function $(t){var e=new Date(Date.UTC.apply(null,arguments));return t<100&&t>=0&&isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t),e}function J(t,e,n){var r=7+e-n;return-((7+$(t,0,r).getUTCDay()-e)%7)+r-1}function Q(t,e,n,r,i){var o,s,a=1+7*(e-1)+(7+n-r)%7+J(t,r,i);return a<=0?s=V(o=t-1)+a:a>V(t)?(o=t+1,s=a-V(t)):(o=t,s=a),{year:o,dayOfYear:s}}function tt(t,e,n){var r,i,o=J(t.year(),e,n),s=Math.floor((t.dayOfYear()-o-1)/7)+1;return s<1?r=s+et(i=t.year()-1,e,n):s>et(t.year(),e,n)?(r=s-et(t.year(),e,n),i=t.year()+1):(i=t.year(),r=s),{week:r,year:i}}function et(t,e,n){var r=J(t,e,n),i=J(t+1,e,n);return(V(t)-r+i)/7}function nt(){function t(t,e){return e.length-t.length}var e,n,r,i,o,s=[],a=[],u=[],l=[];for(e=0;e<7;e++)n=d([2e3,1]).day(e),r=this.weekdaysMin(n,""),i=this.weekdaysShort(n,""),o=this.weekdays(n,""),s.push(r),a.push(i),u.push(o),l.push(r),l.push(i),l.push(o);for(s.sort(t),a.sort(t),u.sort(t),l.sort(t),e=0;e<7;e++)a[e]=Y(a[e]),u[e]=Y(u[e]),l[e]=Y(l[e]);this._weekdaysRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+s.join("|")+")","i")}function rt(){return this.hours()%12||12}function it(t,e){A(t,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)})}function ot(t,e){return e._meridiemParse}function st(t){return t?t.toLowerCase().replace("_","-"):t}function at(e){var r=null;if(!tn[e]&&void 0!==t&&t&&t.exports)try{r=$e._abbr;n(1210)("./"+e),ut(r)}catch(t){}return tn[e]}function ut(t,e){var n;return t&&((n=o(e)?ct(t):lt(t,e))?$e=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),$e._abbr}function lt(t,e){if(null!==e){var n,r=Qe;if(e.abbr=t,null!=tn[t])T("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=tn[t]._config;else if(null!=e.parentLocale)if(null!=tn[e.parentLocale])r=tn[e.parentLocale]._config;else{if(null==(n=at(e.parentLocale)))return en[e.parentLocale]||(en[e.parentLocale]=[]),en[e.parentLocale].push({name:t,config:e}),null;r=n._config}return tn[t]=new x(M(r,e)),en[t]&&en[t].forEach(function(t){lt(t.name,t.config)}),ut(t),tn[t]}return delete tn[t],null}function ct(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return $e;if(!r(t)){if(e=at(t))return e;t=[t]}return function(t){for(var e,n,r,i,o=0;o<t.length;){for(e=(i=st(t[o]).split("-")).length,n=(n=st(t[o+1]))?n.split("-"):null;e>0;){if(r=at(i.slice(0,e).join("-")))return r;if(n&&n.length>=e&&b(i,n,!0)>=e-1)break;e--}o++}return $e}(t)}function dt(t){var e,n=t._a;return n&&-2===h(t).overflow&&(e=n[ke]<0||n[ke]>11?ke:n[Le]<1||n[Le]>G(n[De],n[ke])?Le:n[Ae]<0||n[Ae]>24||24===n[Ae]&&(0!==n[Ie]||0!==n[Pe]||0!==n[Re])?Ae:n[Ie]<0||n[Ie]>59?Ie:n[Pe]<0||n[Pe]>59?Pe:n[Re]<0||n[Re]>999?Re:-1,h(t)._overflowDayOfYear&&(e<De||e>Le)&&(e=Le),h(t)._overflowWeeks&&-1===e&&(e=Ne),h(t)._overflowWeekday&&-1===e&&(e=je),h(t).overflow=e),t}function ht(t,e,n){return null!=t?t:null!=e?e:n}function ft(t){var n,r,i,o,s,a=[];if(!t._d){for(i=function(t){var n=new Date(e.now());return t._useUTC?[n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate()]:[n.getFullYear(),n.getMonth(),n.getDate()]}(t),t._w&&null==t._a[Le]&&null==t._a[ke]&&function(t){var e,n,r,i,o,s,a,u;if(null!=(e=t._w).GG||null!=e.W||null!=e.E)o=1,s=4,n=ht(e.GG,t._a[De],tt(bt(),1,4).year),r=ht(e.W,1),((i=ht(e.E,1))<1||i>7)&&(u=!0);else{o=t._locale._week.dow,s=t._locale._week.doy;var l=tt(bt(),o,s);n=ht(e.gg,t._a[De],l.year),r=ht(e.w,l.week),null!=e.d?((i=e.d)<0||i>6)&&(u=!0):null!=e.e?(i=e.e+o,(e.e<0||e.e>6)&&(u=!0)):i=o}r<1||r>et(n,o,s)?h(t)._overflowWeeks=!0:null!=u?h(t)._overflowWeekday=!0:(a=Q(n,r,i,o,s),t._a[De]=a.year,t._dayOfYear=a.dayOfYear)}(t),null!=t._dayOfYear&&(s=ht(t._a[De],i[De]),(t._dayOfYear>V(s)||0===t._dayOfYear)&&(h(t)._overflowDayOfYear=!0),r=$(s,0,t._dayOfYear),t._a[ke]=r.getUTCMonth(),t._a[Le]=r.getUTCDate()),n=0;n<3&&null==t._a[n];++n)t._a[n]=a[n]=i[n];for(;n<7;n++)t._a[n]=a[n]=null==t._a[n]?2===n?1:0:t._a[n];24===t._a[Ae]&&0===t._a[Ie]&&0===t._a[Pe]&&0===t._a[Re]&&(t._nextDay=!0,t._a[Ae]=0),t._d=(t._useUTC?$:function(t,e,n,r,i,o,s){var a=new Date(t,e,n,r,i,o,s);return t<100&&t>=0&&isFinite(a.getFullYear())&&a.setFullYear(t),a}).apply(null,a),o=t._useUTC?t._d.getUTCDay():t._d.getDay(),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[Ae]=24),t._w&&void 0!==t._w.d&&t._w.d!==o&&(h(t).weekdayMismatch=!0)}}function pt(t){var e,n,r,i,o,s,a=t._i,u=nn.exec(a)||rn.exec(a);if(u){for(h(t).iso=!0,e=0,n=sn.length;e<n;e++)if(sn[e][1].exec(u[1])){i=sn[e][0],r=!1!==sn[e][2];break}if(null==i)return void(t._isValid=!1);if(u[3]){for(e=0,n=an.length;e<n;e++)if(an[e][1].exec(u[3])){o=(u[2]||" ")+an[e][0];break}if(null==o)return void(t._isValid=!1)}if(!r&&null!=o)return void(t._isValid=!1);if(u[4]){if(!on.exec(u[4]))return void(t._isValid=!1);s="Z"}t._f=i+(o||"")+(s||""),gt(t)}else t._isValid=!1}function mt(t,e,n,r,i,o){var s=[function(t){var e=parseInt(t,10);if(e<=49)return 2e3+e;if(e<=999)return 1900+e;return e}(t),Ve.indexOf(e),parseInt(n,10),parseInt(r,10),parseInt(i,10)];return o&&s.push(parseInt(o,10)),s}function _t(t){var e=ln.exec(function(t){return t.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t._i));if(e){var n=mt(e[4],e[3],e[2],e[5],e[6],e[7]);if(!function(t,e,n){if(t&&qe.indexOf(t)!==new Date(e[0],e[1],e[2]).getDay())return h(n).weekdayMismatch=!0,n._isValid=!1,!1;return!0}(e[1],n,t))return;t._a=n,t._tzm=function(t,e,n){if(t)return cn[t];if(e)return 0;var r=parseInt(n,10),i=r%100;return(r-i)/100*60+i}(e[8],e[9],e[10]),t._d=$.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),h(t).rfc2822=!0}else t._isValid=!1}function gt(t){if(t._f!==e.ISO_8601)if(t._f!==e.RFC_2822){t._a=[],h(t).empty=!0;var n,r,i,o,s,a=""+t._i,u=a.length,l=0;for(i=R(t._f,t._locale).match(ae)||[],n=0;n<i.length;n++)(r=(a.match(j(o=i[n],t))||[])[0])&&((s=a.substr(0,a.indexOf(r))).length>0&&h(t).unusedInput.push(s),a=a.slice(a.indexOf(r)+r.length),l+=r.length),ce[o]?(r?h(t).empty=!1:h(t).unusedTokens.push(o),B(o,r,t)):t._strict&&!r&&h(t).unusedTokens.push(o);h(t).charsLeftOver=u-l,a.length>0&&h(t).unusedInput.push(a),t._a[Ae]<=12&&!0===h(t).bigHour&&t._a[Ae]>0&&(h(t).bigHour=void 0),h(t).parsedDateParts=t._a.slice(0),h(t).meridiem=t._meridiem,t._a[Ae]=function(t,e,n){var r;if(null==n)return e;return null!=t.meridiemHour?t.meridiemHour(e,n):null!=t.isPM?((r=t.isPM(n))&&e<12&&(e+=12),r||12!==e||(e=0),e):e}(t._locale,t._a[Ae],t._meridiem),ft(t),dt(t)}else _t(t);else pt(t)}function vt(t){var n=t._i,l=t._f;return t._locale=t._locale||ct(t._l),null===n||void 0===l&&""===n?p({nullInput:!0}):("string"==typeof n&&(t._i=n=t._locale.preparse(n)),g(n)?new _(dt(n)):(a(n)?t._d=n:r(l)?function(t){var e,n,r,i,o;if(0===t._f.length)return h(t).invalidFormat=!0,void(t._d=new Date(NaN));for(i=0;i<t._f.length;i++)o=0,e=m({},t),null!=t._useUTC&&(e._useUTC=t._useUTC),e._f=t._f[i],gt(e),f(e)&&(o+=h(e).charsLeftOver,o+=10*h(e).unusedTokens.length,h(e).score=o,(null==r||o<r)&&(r=o,n=e));c(t,n||e)}(t):l?gt(t):function(t){var n=t._i;o(n)?t._d=new Date(e.now()):a(n)?t._d=new Date(n.valueOf()):"string"==typeof n?function(t){var n=un.exec(t._i);null===n?(pt(t),!1===t._isValid&&(delete t._isValid,_t(t),!1===t._isValid&&(delete t._isValid,e.createFromInputFallback(t)))):t._d=new Date(+n[1])}(t):r(n)?(t._a=u(n.slice(0),function(t){return parseInt(t,10)}),ft(t)):i(n)?function(t){if(!t._d){var e=D(t._i);t._a=u([e.year,e.month,e.day||e.date,e.hour,e.minute,e.second,e.millisecond],function(t){return t&&parseInt(t,10)}),ft(t)}}(t):s(n)?t._d=new Date(n):e.createFromInputFallback(t)}(t),f(t)||(t._d=null),t))}function yt(t,e,n,o,s){var a={};return!0!==n&&!1!==n||(o=n,n=void 0),(i(t)&&function(t){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(t).length;var e;for(e in t)if(t.hasOwnProperty(e))return!1;return!0}(t)||r(t)&&0===t.length)&&(t=void 0),a._isAMomentObject=!0,a._useUTC=a._isUTC=s,a._l=n,a._i=t,a._f=e,a._strict=o,function(t){var e=new _(dt(vt(t)));return e._nextDay&&(e.add(1,"d"),e._nextDay=void 0),e}(a)}function bt(t,e,n,r){return yt(t,e,n,r,!1)}function wt(t,e){var n,i;if(1===e.length&&r(e[0])&&(e=e[0]),!e.length)return bt();for(n=e[0],i=1;i<e.length;++i)e[i].isValid()&&!e[i][t](n)||(n=e[i]);return n}function St(t){var e=D(t),n=e.year||0,r=e.quarter||0,i=e.month||0,o=e.week||0,s=e.day||0,a=e.hour||0,u=e.minute||0,l=e.second||0,c=e.millisecond||0;this._isValid=function(t){for(var e in t)if(-1===Ye.call(fn,e)||null!=t[e]&&isNaN(t[e]))return!1;for(var n=!1,r=0;r<fn.length;++r)if(t[fn[r]]){if(n)return!1;parseFloat(t[fn[r]])!==y(t[fn[r]])&&(n=!0)}return!0}(e),this._milliseconds=+c+1e3*l+6e4*u+1e3*a*60*60,this._days=+s+7*o,this._months=+i+3*r+12*n,this._data={},this._locale=ct(),this._bubble()}function Tt(t){return t instanceof St}function Et(t){return t<0?-1*Math.round(-1*t):Math.round(t)}function Mt(t,e){A(t,0,0,function(){var t=this.utcOffset(),n="+";return t<0&&(t=-t,n="-"),n+L(~~(t/60),2)+e+L(~~t%60,2)})}function xt(t,e){var n=(e||"").match(t);if(null===n)return null;var r=((n[n.length-1]||[])+"").match(pn)||["-",0,0],i=60*r[1]+y(r[2]);return 0===i?0:"+"===r[0]?i:-i}function Ct(t,n){var r,i;return n._isUTC?(r=n.clone(),i=(g(t)||a(t)?t.valueOf():bt(t).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+i),e.updateOffset(r,!1),r):bt(t).local()}function Ot(t){return 15*-Math.round(t._d.getTimezoneOffset()/15)}function Dt(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}function kt(t,e){var n,r,i,o=t,a=null;return Tt(t)?o={ms:t._milliseconds,d:t._days,M:t._months}:s(t)?(o={},e?o[e]=t:o.milliseconds=t):(a=mn.exec(t))?(n="-"===a[1]?-1:1,o={y:0,d:y(a[Le])*n,h:y(a[Ae])*n,m:y(a[Ie])*n,s:y(a[Pe])*n,ms:y(Et(1e3*a[Re]))*n}):(a=_n.exec(t))?o={y:Lt(a[2],n="-"===a[1]?-1:1),M:Lt(a[3],n),w:Lt(a[4],n),d:Lt(a[5],n),h:Lt(a[6],n),m:Lt(a[7],n),s:Lt(a[8],n)}:null==o?o={}:"object"==typeof o&&("from"in o||"to"in o)&&(i=function(t,e){var n;if(!t.isValid()||!e.isValid())return{milliseconds:0,months:0};e=Ct(e,t),t.isBefore(e)?n=At(t,e):((n=At(e,t)).milliseconds=-n.milliseconds,n.months=-n.months);return n}(bt(o.from),bt(o.to)),(o={}).ms=i.milliseconds,o.M=i.months),r=new St(o),Tt(t)&&l(t,"_locale")&&(r._locale=t._locale),r}function Lt(t,e){var n=t&&parseFloat(t.replace(",","."));return(isNaN(n)?0:n)*e}function At(t,e){var n={milliseconds:0,months:0};return n.months=e.month()-t.month()+12*(e.year()-t.year()),t.clone().add(n.months,"M").isAfter(e)&&--n.months,n.milliseconds=+e-+t.clone().add(n.months,"M"),n}function It(t,e){return function(n,r){var i,o;return null===r||isNaN(+r)||(T(e,"moment()."+e+"(period, number) is deprecated. Please use moment()."+e+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),o=n,n=r,r=o),n="string"==typeof n?+n:n,i=kt(n,r),Pt(this,i,t),this}}function Pt(t,n,r,i){var o=n._milliseconds,s=Et(n._days),a=Et(n._months);t.isValid()&&(i=null==i||i,a&&X(t,U(t,"Month")+a*r),s&&q(t,"Date",U(t,"Date")+s*r),o&&t._d.setTime(t._d.valueOf()+o*r),i&&e.updateOffset(t,s||a))}function Rt(t,e){var n,r=12*(e.year()-t.year())+(e.month()-t.month()),i=t.clone().add(r,"months");return n=e-i<0?(e-i)/(i-t.clone().add(r-1,"months")):(e-i)/(t.clone().add(r+1,"months")-i),-(r+n)||0}function Nt(t){var e;return void 0===t?this._locale._abbr:(null!=(e=ct(t))&&(this._locale=e),this)}function jt(){return this._locale}function Yt(t,e){A(0,[t,t.length],0,e)}function Ft(t,e,n,r,i){var o;return null==t?tt(this,r,i).year:(o=et(t,r,i),e>o&&(e=o),function(t,e,n,r,i){var o=Q(t,e,n,r,i),s=$(o.year,0,o.dayOfYear);return this.year(s.getUTCFullYear()),this.month(s.getUTCMonth()),this.date(s.getUTCDate()),this}.call(this,t,e,n,r,i))}function Ht(t,e){e[Re]=y(1e3*("0."+t))}function Bt(t){return t}function Vt(t,e,n,r){var i=ct(),o=d().set(r,e);return i[n](o,t)}function zt(t,e,n){if(s(t)&&(e=t,t=void 0),t=t||"",null!=e)return Vt(t,e,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=Vt(t,r,n,"month");return i}function Wt(t,e,n,r){"boolean"==typeof t?(s(e)&&(n=e,e=void 0),e=e||""):(n=e=t,t=!1,s(e)&&(n=e,e=void 0),e=e||"");var i=ct(),o=t?i._week.dow:0;if(null!=n)return Vt(e,(n+o)%7,r,"day");var a,u=[];for(a=0;a<7;a++)u[a]=Vt(e,(a+o)%7,r,"day");return u}function Ut(t,e,n,r){var i=kt(e,n);return t._milliseconds+=r*i._milliseconds,t._days+=r*i._days,t._months+=r*i._months,t._bubble()}function qt(t){return t<0?Math.floor(t):Math.ceil(t)}function Gt(t){return 4800*t/146097}function Xt(t){return 146097*t/4800}function Kt(t){return function(){return this.as(t)}}function Zt(t){return function(){return this.isValid()?this._data[t]:NaN}}function $t(t){return(t>0)-(t<0)||+t}function Jt(){if(!this.isValid())return this.localeData().invalidDate();var t,e,n=Un(this._milliseconds)/1e3,r=Un(this._days),i=Un(this._months);e=v((t=v(n/60))/60),n%=60,t%=60;var o=v(i/12),s=i%=12,a=r,u=e,l=t,c=n?n.toFixed(3).replace(/\.?0+$/,""):"",d=this.asSeconds();if(!d)return"P0D";var h=d<0?"-":"",f=$t(this._months)!==$t(d)?"-":"",p=$t(this._days)!==$t(d)?"-":"",m=$t(this._milliseconds)!==$t(d)?"-":"";return h+"P"+(o?f+o+"Y":"")+(s?f+s+"M":"")+(a?p+a+"D":"")+(u||l||c?"T":"")+(u?m+u+"H":"")+(l?m+l+"M":"")+(c?m+c+"S":"")}var Qt,te;te=Array.prototype.some?Array.prototype.some:function(t){for(var e=Object(this),n=e.length>>>0,r=0;r<n;r++)if(r in e&&t.call(this,e[r],r,e))return!0;return!1};var ee=e.momentProperties=[],ne=!1,re={};e.suppressDeprecationWarnings=!1,e.deprecationHandler=null;var ie;ie=Object.keys?Object.keys:function(t){var e,n=[];for(e in t)l(t,e)&&n.push(e);return n};var oe={},se={},ae=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,ue=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,le={},ce={},de=/\d/,he=/\d\d/,fe=/\d{3}/,pe=/\d{4}/,me=/[+-]?\d{6}/,_e=/\d\d?/,ge=/\d\d\d\d?/,ve=/\d\d\d\d\d\d?/,ye=/\d{1,3}/,be=/\d{1,4}/,we=/[+-]?\d{1,6}/,Se=/\d+/,Te=/[+-]?\d+/,Ee=/Z|[+-]\d\d:?\d\d/gi,Me=/Z|[+-]\d\d(?::?\d\d)?/gi,xe=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,Ce={},Oe={},De=0,ke=1,Le=2,Ae=3,Ie=4,Pe=5,Re=6,Ne=7,je=8;A("Y",0,0,function(){var t=this.year();return t<=9999?""+t:"+"+t}),A(0,["YY",2],0,function(){return this.year()%100}),A(0,["YYYY",4],0,"year"),A(0,["YYYYY",5],0,"year"),A(0,["YYYYYY",6,!0],0,"year"),C("year","y"),k("year",1),N("Y",Te),N("YY",_e,he),N("YYYY",be,pe),N("YYYYY",we,me),N("YYYYYY",we,me),F(["YYYYY","YYYYYY"],De),F("YYYY",function(t,n){n[De]=2===t.length?e.parseTwoDigitYear(t):y(t)}),F("YY",function(t,n){n[De]=e.parseTwoDigitYear(t)}),F("Y",function(t,e){e[De]=parseInt(t,10)}),e.parseTwoDigitYear=function(t){return y(t)+(y(t)>68?1900:2e3)};var Ye,Fe=W("FullYear",!0);Ye=Array.prototype.indexOf?Array.prototype.indexOf:function(t){var e;for(e=0;e<this.length;++e)if(this[e]===t)return e;return-1},A("M",["MM",2],"Mo",function(){return this.month()+1}),A("MMM",0,0,function(t){return this.localeData().monthsShort(this,t)}),A("MMMM",0,0,function(t){return this.localeData().months(this,t)}),C("month","M"),k("month",8),N("M",_e),N("MM",_e,he),N("MMM",function(t,e){return e.monthsShortRegex(t)}),N("MMMM",function(t,e){return e.monthsRegex(t)}),F(["M","MM"],function(t,e){e[ke]=y(t)-1}),F(["MMM","MMMM"],function(t,e,n,r){var i=n._locale.monthsParse(t,r,n._strict);null!=i?e[ke]=i:h(n).invalidMonth=t});var He=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Be="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Ve="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),ze=xe,We=xe;A("w",["ww",2],"wo","week"),A("W",["WW",2],"Wo","isoWeek"),C("week","w"),C("isoWeek","W"),k("week",5),k("isoWeek",5),N("w",_e),N("ww",_e,he),N("W",_e),N("WW",_e,he),H(["w","ww","W","WW"],function(t,e,n,r){e[r.substr(0,1)]=y(t)});A("d",0,"do","day"),A("dd",0,0,function(t){return this.localeData().weekdaysMin(this,t)}),A("ddd",0,0,function(t){return this.localeData().weekdaysShort(this,t)}),A("dddd",0,0,function(t){return this.localeData().weekdays(this,t)}),A("e",0,0,"weekday"),A("E",0,0,"isoWeekday"),C("day","d"),C("weekday","e"),C("isoWeekday","E"),k("day",11),k("weekday",11),k("isoWeekday",11),N("d",_e),N("e",_e),N("E",_e),N("dd",function(t,e){return e.weekdaysMinRegex(t)}),N("ddd",function(t,e){return e.weekdaysShortRegex(t)}),N("dddd",function(t,e){return e.weekdaysRegex(t)}),H(["dd","ddd","dddd"],function(t,e,n,r){var i=n._locale.weekdaysParse(t,r,n._strict);null!=i?e.d=i:h(n).invalidWeekday=t}),H(["d","e","E"],function(t,e,n,r){e[r]=y(t)});var Ue="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),qe="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Ge="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Xe=xe,Ke=xe,Ze=xe;A("H",["HH",2],0,"hour"),A("h",["hh",2],0,rt),A("k",["kk",2],0,function(){return this.hours()||24}),A("hmm",0,0,function(){return""+rt.apply(this)+L(this.minutes(),2)}),A("hmmss",0,0,function(){return""+rt.apply(this)+L(this.minutes(),2)+L(this.seconds(),2)}),A("Hmm",0,0,function(){return""+this.hours()+L(this.minutes(),2)}),A("Hmmss",0,0,function(){return""+this.hours()+L(this.minutes(),2)+L(this.seconds(),2)}),it("a",!0),it("A",!1),C("hour","h"),k("hour",13),N("a",ot),N("A",ot),N("H",_e),N("h",_e),N("k",_e),N("HH",_e,he),N("hh",_e,he),N("kk",_e,he),N("hmm",ge),N("hmmss",ve),N("Hmm",ge),N("Hmmss",ve),F(["H","HH"],Ae),F(["k","kk"],function(t,e,n){var r=y(t);e[Ae]=24===r?0:r}),F(["a","A"],function(t,e,n){n._isPm=n._locale.isPM(t),n._meridiem=t}),F(["h","hh"],function(t,e,n){e[Ae]=y(t),h(n).bigHour=!0}),F("hmm",function(t,e,n){var r=t.length-2;e[Ae]=y(t.substr(0,r)),e[Ie]=y(t.substr(r)),h(n).bigHour=!0}),F("hmmss",function(t,e,n){var r=t.length-4,i=t.length-2;e[Ae]=y(t.substr(0,r)),e[Ie]=y(t.substr(r,2)),e[Pe]=y(t.substr(i)),h(n).bigHour=!0}),F("Hmm",function(t,e,n){var r=t.length-2;e[Ae]=y(t.substr(0,r)),e[Ie]=y(t.substr(r))}),F("Hmmss",function(t,e,n){var r=t.length-4,i=t.length-2;e[Ae]=y(t.substr(0,r)),e[Ie]=y(t.substr(r,2)),e[Pe]=y(t.substr(i))});var $e,Je=W("Hours",!0),Qe={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Be,monthsShort:Ve,week:{dow:0,doy:6},weekdays:Ue,weekdaysMin:Ge,weekdaysShort:qe,meridiemParse:/[ap]\.?m?\.?/i},tn={},en={},nn=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,rn=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,on=/Z|[+-]\d\d(?::?\d\d)?/,sn=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],an=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],un=/^\/?Date\((\-?\d+)/i,ln=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,cn={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};e.createFromInputFallback=S("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(t){t._d=new Date(t._i+(t._useUTC?" UTC":""))}),e.ISO_8601=function(){},e.RFC_2822=function(){};var dn=S("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=bt.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:p()}),hn=S("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=bt.apply(null,arguments);return this.isValid()&&t.isValid()?t>this?this:t:p()}),fn=["year","quarter","month","week","day","hour","minute","second","millisecond"];Mt("Z",":"),Mt("ZZ",""),N("Z",Me),N("ZZ",Me),F(["Z","ZZ"],function(t,e,n){n._useUTC=!0,n._tzm=xt(Me,t)});var pn=/([\+\-]|\d\d)/gi;e.updateOffset=function(){};var mn=/^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,_n=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;kt.fn=St.prototype,kt.invalid=function(){return kt(NaN)};var gn=It(1,"add"),vn=It(-1,"subtract");e.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",e.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var yn=S("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(t){return void 0===t?this.localeData():this.locale(t)});A(0,["gg",2],0,function(){return this.weekYear()%100}),A(0,["GG",2],0,function(){return this.isoWeekYear()%100}),Yt("gggg","weekYear"),Yt("ggggg","weekYear"),Yt("GGGG","isoWeekYear"),Yt("GGGGG","isoWeekYear"),C("weekYear","gg"),C("isoWeekYear","GG"),k("weekYear",1),k("isoWeekYear",1),N("G",Te),N("g",Te),N("GG",_e,he),N("gg",_e,he),N("GGGG",be,pe),N("gggg",be,pe),N("GGGGG",we,me),N("ggggg",we,me),H(["gggg","ggggg","GGGG","GGGGG"],function(t,e,n,r){e[r.substr(0,2)]=y(t)}),H(["gg","GG"],function(t,n,r,i){n[i]=e.parseTwoDigitYear(t)}),A("Q",0,"Qo","quarter"),C("quarter","Q"),k("quarter",7),N("Q",de),F("Q",function(t,e){e[ke]=3*(y(t)-1)}),A("D",["DD",2],"Do","date"),C("date","D"),k("date",9),N("D",_e),N("DD",_e,he),N("Do",function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient}),F(["D","DD"],Le),F("Do",function(t,e){e[Le]=y(t.match(_e)[0])});var bn=W("Date",!0);A("DDD",["DDDD",3],"DDDo","dayOfYear"),C("dayOfYear","DDD"),k("dayOfYear",4),N("DDD",ye),N("DDDD",fe),F(["DDD","DDDD"],function(t,e,n){n._dayOfYear=y(t)}),A("m",["mm",2],0,"minute"),C("minute","m"),k("minute",14),N("m",_e),N("mm",_e,he),F(["m","mm"],Ie);var wn=W("Minutes",!1);A("s",["ss",2],0,"second"),C("second","s"),k("second",15),N("s",_e),N("ss",_e,he),F(["s","ss"],Pe);var Sn=W("Seconds",!1);A("S",0,0,function(){return~~(this.millisecond()/100)}),A(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),A(0,["SSS",3],0,"millisecond"),A(0,["SSSS",4],0,function(){return 10*this.millisecond()}),A(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),A(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),A(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),A(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),A(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),C("millisecond","ms"),k("millisecond",16),N("S",ye,de),N("SS",ye,he),N("SSS",ye,fe);var Tn;for(Tn="SSSS";Tn.length<=9;Tn+="S")N(Tn,Se);for(Tn="S";Tn.length<=9;Tn+="S")F(Tn,Ht);var En=W("Milliseconds",!1);A("z",0,0,"zoneAbbr"),A("zz",0,0,"zoneName");var Mn=_.prototype;Mn.add=gn,Mn.calendar=function(t,n){var r=t||bt(),i=Ct(r,this).startOf("day"),o=e.calendarFormat(this,i)||"sameElse",s=n&&(E(n[o])?n[o].call(this,r):n[o]);return this.format(s||this.localeData().calendar(o,this,bt(r)))},Mn.clone=function(){return new _(this)},Mn.diff=function(t,e,n){var r,i,o;if(!this.isValid())return NaN;if(!(r=Ct(t,this)).isValid())return NaN;switch(i=6e4*(r.utcOffset()-this.utcOffset()),e=O(e)){case"year":o=Rt(this,r)/12;break;case"month":o=Rt(this,r);break;case"quarter":o=Rt(this,r)/3;break;case"second":o=(this-r)/1e3;break;case"minute":o=(this-r)/6e4;break;case"hour":o=(this-r)/36e5;break;case"day":o=(this-r-i)/864e5;break;case"week":o=(this-r-i)/6048e5;break;default:o=this-r}return n?o:v(o)},Mn.endOf=function(t){return void 0===(t=O(t))||"millisecond"===t?this:("date"===t&&(t="day"),this.startOf(t).add(1,"isoWeek"===t?"week":t).subtract(1,"ms"))},Mn.format=function(t){t||(t=this.isUtc()?e.defaultFormatUtc:e.defaultFormat);var n=P(this,t);return this.localeData().postformat(n)},Mn.from=function(t,e){return this.isValid()&&(g(t)&&t.isValid()||bt(t).isValid())?kt({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},Mn.fromNow=function(t){return this.from(bt(),t)},Mn.to=function(t,e){return this.isValid()&&(g(t)&&t.isValid()||bt(t).isValid())?kt({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},Mn.toNow=function(t){return this.to(bt(),t)},Mn.get=function(t){return t=O(t),E(this[t])?this[t]():this},Mn.invalidAt=function(){return h(this).overflow},Mn.isAfter=function(t,e){var n=g(t)?t:bt(t);return!(!this.isValid()||!n.isValid())&&("millisecond"===(e=O(o(e)?"millisecond":e))?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(e).valueOf())},Mn.isBefore=function(t,e){var n=g(t)?t:bt(t);return!(!this.isValid()||!n.isValid())&&("millisecond"===(e=O(o(e)?"millisecond":e))?this.valueOf()<n.valueOf():this.clone().endOf(e).valueOf()<n.valueOf())},Mn.isBetween=function(t,e,n,r){return("("===(r=r||"()")[0]?this.isAfter(t,n):!this.isBefore(t,n))&&(")"===r[1]?this.isBefore(e,n):!this.isAfter(e,n))},Mn.isSame=function(t,e){var n,r=g(t)?t:bt(t);return!(!this.isValid()||!r.isValid())&&("millisecond"===(e=O(e||"millisecond"))?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(e).valueOf()<=n&&n<=this.clone().endOf(e).valueOf()))},Mn.isSameOrAfter=function(t,e){return this.isSame(t,e)||this.isAfter(t,e)},Mn.isSameOrBefore=function(t,e){return this.isSame(t,e)||this.isBefore(t,e)},Mn.isValid=function(){return f(this)},Mn.lang=yn,Mn.locale=Nt,Mn.localeData=jt,Mn.max=hn,Mn.min=dn,Mn.parsingFlags=function(){return c({},h(this))},Mn.set=function(t,e){if("object"==typeof t)for(var n=function(t){var e=[];for(var n in t)e.push({unit:n,priority:se[n]});return e.sort(function(t,e){return t.priority-e.priority}),e}(t=D(t)),r=0;r<n.length;r++)this[n[r].unit](t[n[r].unit]);else if(t=O(t),E(this[t]))return this[t](e);return this},Mn.startOf=function(t){switch(t=O(t)){case"year":this.month(0);case"quarter":case"month":this.date(1);case"week":case"isoWeek":case"day":case"date":this.hours(0);case"hour":this.minutes(0);case"minute":this.seconds(0);case"second":this.milliseconds(0)}return"week"===t&&this.weekday(0),"isoWeek"===t&&this.isoWeekday(1),"quarter"===t&&this.month(3*Math.floor(this.month()/3)),this},Mn.subtract=vn,Mn.toArray=function(){return[this.year(),this.month(),this.date(),this.hour(),this.minute(),this.second(),this.millisecond()]},Mn.toObject=function(){return{years:this.year(),months:this.month(),date:this.date(),hours:this.hours(),minutes:this.minutes(),seconds:this.seconds(),milliseconds:this.milliseconds()}},Mn.toDate=function(){return new Date(this.valueOf())},Mn.toISOString=function(t){if(!this.isValid())return null;var e=!0!==t,n=e?this.clone().utc():this;return n.year()<0||n.year()>9999?P(n,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):E(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",P(n,"Z")):P(n,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},Mn.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t="moment",e="";this.isLocal()||(t=0===this.utcOffset()?"moment.utc":"moment.parseZone",e="Z");var n="["+t+'("]',r=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY";return this.format(n+r+"-MM-DD[T]HH:mm:ss.SSS"+e+'[")]')},Mn.toJSON=function(){return this.isValid()?this.toISOString():null},Mn.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},Mn.unix=function(){return Math.floor(this.valueOf()/1e3)},Mn.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},Mn.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},Mn.year=Fe,Mn.isLeapYear=function(){return z(this.year())},Mn.weekYear=function(t){return Ft.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},Mn.isoWeekYear=function(t){return Ft.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)},Mn.quarter=Mn.quarters=function(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)},Mn.month=K,Mn.daysInMonth=function(){return G(this.year(),this.month())},Mn.week=Mn.weeks=function(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")},Mn.isoWeek=Mn.isoWeeks=function(t){var e=tt(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")},Mn.weeksInYear=function(){var t=this.localeData()._week;return et(this.year(),t.dow,t.doy)},Mn.isoWeeksInYear=function(){return et(this.year(),1,4)},Mn.date=bn,Mn.day=Mn.days=function(t){if(!this.isValid())return null!=t?this:NaN;var e=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(t=function(t,e){return"string"!=typeof t?t:isNaN(t)?"number"==typeof(t=e.weekdaysParse(t))?t:null:parseInt(t,10)}(t,this.localeData()),this.add(t-e,"d")):e},Mn.weekday=function(t){if(!this.isValid())return null!=t?this:NaN;var e=(this.day()+7-this.localeData()._week.dow)%7;return null==t?e:this.add(t-e,"d")},Mn.isoWeekday=function(t){if(!this.isValid())return null!=t?this:NaN;if(null!=t){var e=function(t,e){return"string"==typeof t?e.weekdaysParse(t)%7||7:isNaN(t)?null:t}(t,this.localeData());return this.day(this.day()%7?e:e-7)}return this.day()||7},Mn.dayOfYear=function(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==t?e:this.add(t-e,"d")},Mn.hour=Mn.hours=Je,Mn.minute=Mn.minutes=wn,Mn.second=Mn.seconds=Sn,Mn.millisecond=Mn.milliseconds=En,Mn.utcOffset=function(t,n,r){var i,o=this._offset||0;if(!this.isValid())return null!=t?this:NaN;if(null!=t){if("string"==typeof t){if(null===(t=xt(Me,t)))return this}else Math.abs(t)<16&&!r&&(t*=60);return!this._isUTC&&n&&(i=Ot(this)),this._offset=t,this._isUTC=!0,null!=i&&this.add(i,"m"),o!==t&&(!n||this._changeInProgress?Pt(this,kt(t-o,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,e.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?o:Ot(this)},Mn.utc=function(t){return this.utcOffset(0,t)},Mn.local=function(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(Ot(this),"m")),this},Mn.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var t=xt(Ee,this._i);null!=t?this.utcOffset(t):this.utcOffset(0,!0)}return this},Mn.hasAlignedHourOffset=function(t){return!!this.isValid()&&(t=t?bt(t).utcOffset():0,(this.utcOffset()-t)%60==0)},Mn.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},Mn.isLocal=function(){return!!this.isValid()&&!this._isUTC},Mn.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},Mn.isUtc=Dt,Mn.isUTC=Dt,Mn.zoneAbbr=function(){return this._isUTC?"UTC":""},Mn.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},Mn.dates=S("dates accessor is deprecated. Use date instead.",bn),Mn.months=S("months accessor is deprecated. Use month instead",K),Mn.years=S("years accessor is deprecated. Use year instead",Fe),Mn.zone=S("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(t,e){return null!=t?("string"!=typeof t&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()}),Mn.isDSTShifted=S("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!o(this._isDSTShifted))return this._isDSTShifted;var t={};if(m(t,this),(t=vt(t))._a){var e=t._isUTC?d(t._a):bt(t._a);this._isDSTShifted=this.isValid()&&b(t._a,e.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted});var xn=x.prototype;xn.calendar=function(t,e,n){var r=this._calendar[t]||this._calendar.sameElse;return E(r)?r.call(e,n):r},xn.longDateFormat=function(t){var e=this._longDateFormat[t],n=this._longDateFormat[t.toUpperCase()];return e||!n?e:(this._longDateFormat[t]=n.replace(/MMMM|MM|DD|dddd/g,function(t){return t.slice(1)}),this._longDateFormat[t])},xn.invalidDate=function(){return this._invalidDate},xn.ordinal=function(t){return this._ordinal.replace("%d",t)},xn.preparse=Bt,xn.postformat=Bt,xn.relativeTime=function(t,e,n,r){var i=this._relativeTime[n];return E(i)?i(t,e,n,r):i.replace(/%d/i,t)},xn.pastFuture=function(t,e){var n=this._relativeTime[t>0?"future":"past"];return E(n)?n(e):n.replace(/%s/i,e)},xn.set=function(t){var e,n;for(n in t)E(e=t[n])?this[n]=e:this["_"+n]=e;this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},xn.months=function(t,e){return t?r(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||He).test(e)?"format":"standalone"][t.month()]:r(this._months)?this._months:this._months.standalone},xn.monthsShort=function(t,e){return t?r(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[He.test(e)?"format":"standalone"][t.month()]:r(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},xn.monthsParse=function(t,e,n){var r,i,o;if(this._monthsParseExact)return function(t,e,n){var r,i,o,s=t.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)o=d([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(o,"").toLocaleLowerCase();return n?"MMM"===e?-1!==(i=Ye.call(this._shortMonthsParse,s))?i:null:-1!==(i=Ye.call(this._longMonthsParse,s))?i:null:"MMM"===e?-1!==(i=Ye.call(this._shortMonthsParse,s))?i:-1!==(i=Ye.call(this._longMonthsParse,s))?i:null:-1!==(i=Ye.call(this._longMonthsParse,s))?i:-1!==(i=Ye.call(this._shortMonthsParse,s))?i:null}.call(this,t,e,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(i=d([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(o="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[r]=new RegExp(o.replace(".",""),"i")),n&&"MMMM"===e&&this._longMonthsParse[r].test(t))return r;if(n&&"MMM"===e&&this._shortMonthsParse[r].test(t))return r;if(!n&&this._monthsParse[r].test(t))return r}},xn.monthsRegex=function(t){return this._monthsParseExact?(l(this,"_monthsRegex")||Z.call(this),t?this._monthsStrictRegex:this._monthsRegex):(l(this,"_monthsRegex")||(this._monthsRegex=We),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)},xn.monthsShortRegex=function(t){return this._monthsParseExact?(l(this,"_monthsRegex")||Z.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(l(this,"_monthsShortRegex")||(this._monthsShortRegex=ze),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)},xn.week=function(t){return tt(t,this._week.dow,this._week.doy).week},xn.firstDayOfYear=function(){return this._week.doy},xn.firstDayOfWeek=function(){return this._week.dow},xn.weekdays=function(t,e){return t?r(this._weekdays)?this._weekdays[t.day()]:this._weekdays[this._weekdays.isFormat.test(e)?"format":"standalone"][t.day()]:r(this._weekdays)?this._weekdays:this._weekdays.standalone},xn.weekdaysMin=function(t){return t?this._weekdaysMin[t.day()]:this._weekdaysMin},xn.weekdaysShort=function(t){return t?this._weekdaysShort[t.day()]:this._weekdaysShort},xn.weekdaysParse=function(t,e,n){var r,i,o;if(this._weekdaysParseExact)return function(t,e,n){var r,i,o,s=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)o=d([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===e?-1!==(i=Ye.call(this._weekdaysParse,s))?i:null:"ddd"===e?-1!==(i=Ye.call(this._shortWeekdaysParse,s))?i:null:-1!==(i=Ye.call(this._minWeekdaysParse,s))?i:null:"dddd"===e?-1!==(i=Ye.call(this._weekdaysParse,s))?i:-1!==(i=Ye.call(this._shortWeekdaysParse,s))?i:-1!==(i=Ye.call(this._minWeekdaysParse,s))?i:null:"ddd"===e?-1!==(i=Ye.call(this._shortWeekdaysParse,s))?i:-1!==(i=Ye.call(this._weekdaysParse,s))?i:-1!==(i=Ye.call(this._minWeekdaysParse,s))?i:null:-1!==(i=Ye.call(this._minWeekdaysParse,s))?i:-1!==(i=Ye.call(this._weekdaysParse,s))?i:-1!==(i=Ye.call(this._shortWeekdaysParse,s))?i:null}.call(this,t,e,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=d([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(i,"").replace(".",".?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(i,"").replace(".",".?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(i,"").replace(".",".?")+"$","i")),this._weekdaysParse[r]||(o="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(o.replace(".",""),"i")),n&&"dddd"===e&&this._fullWeekdaysParse[r].test(t))return r;if(n&&"ddd"===e&&this._shortWeekdaysParse[r].test(t))return r;if(n&&"dd"===e&&this._minWeekdaysParse[r].test(t))return r;if(!n&&this._weekdaysParse[r].test(t))return r}},xn.weekdaysRegex=function(t){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||nt.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(l(this,"_weekdaysRegex")||(this._weekdaysRegex=Xe),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)},xn.weekdaysShortRegex=function(t){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||nt.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(l(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Ke),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},xn.weekdaysMinRegex=function(t){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||nt.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(l(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Ze),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},xn.isPM=function(t){return"p"===(t+"").toLowerCase().charAt(0)},xn.meridiem=function(t,e,n){return t>11?n?"pm":"PM":n?"am":"AM"},ut("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10;return t+(1===y(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")}}),e.lang=S("moment.lang is deprecated. Use moment.locale instead.",ut),e.langData=S("moment.langData is deprecated. Use moment.localeData instead.",ct);var Cn=Math.abs,On=Kt("ms"),Dn=Kt("s"),kn=Kt("m"),Ln=Kt("h"),An=Kt("d"),In=Kt("w"),Pn=Kt("M"),Rn=Kt("y"),Nn=Zt("milliseconds"),jn=Zt("seconds"),Yn=Zt("minutes"),Fn=Zt("hours"),Hn=Zt("days"),Bn=Zt("months"),Vn=Zt("years"),zn=Math.round,Wn={ss:44,s:45,m:45,h:22,d:26,M:11},Un=Math.abs,qn=St.prototype;return qn.isValid=function(){return this._isValid},qn.abs=function(){var t=this._data;return this._milliseconds=Cn(this._milliseconds),this._days=Cn(this._days),this._months=Cn(this._months),t.milliseconds=Cn(t.milliseconds),t.seconds=Cn(t.seconds),t.minutes=Cn(t.minutes),t.hours=Cn(t.hours),t.months=Cn(t.months),t.years=Cn(t.years),this},qn.add=function(t,e){return Ut(this,t,e,1)},qn.subtract=function(t,e){return Ut(this,t,e,-1)},qn.as=function(t){if(!this.isValid())return NaN;var e,n,r=this._milliseconds;if("month"===(t=O(t))||"year"===t)return e=this._days+r/864e5,n=this._months+Gt(e),"month"===t?n:n/12;switch(e=this._days+Math.round(Xt(this._months)),t){case"week":return e/7+r/6048e5;case"day":return e+r/864e5;case"hour":return 24*e+r/36e5;case"minute":return 1440*e+r/6e4;case"second":return 86400*e+r/1e3;case"millisecond":return Math.floor(864e5*e)+r;default:throw new Error("Unknown unit "+t)}},qn.asMilliseconds=On,qn.asSeconds=Dn,qn.asMinutes=kn,qn.asHours=Ln,qn.asDays=An,qn.asWeeks=In,qn.asMonths=Pn,qn.asYears=Rn,qn.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*y(this._months/12):NaN},qn._bubble=function(){var t,e,n,r,i,o=this._milliseconds,s=this._days,a=this._months,u=this._data;return o>=0&&s>=0&&a>=0||o<=0&&s<=0&&a<=0||(o+=864e5*qt(Xt(a)+s),s=0,a=0),u.milliseconds=o%1e3,t=v(o/1e3),u.seconds=t%60,e=v(t/60),u.minutes=e%60,n=v(e/60),u.hours=n%24,s+=v(n/24),i=v(Gt(s)),a+=i,s-=qt(Xt(i)),r=v(a/12),a%=12,u.days=s,u.months=a,u.years=r,this},qn.clone=function(){return kt(this)},qn.get=function(t){return t=O(t),this.isValid()?this[t+"s"]():NaN},qn.milliseconds=Nn,qn.seconds=jn,qn.minutes=Yn,qn.hours=Fn,qn.days=Hn,qn.weeks=function(){return v(this.days()/7)},qn.months=Bn,qn.years=Vn,qn.humanize=function(t){if(!this.isValid())return this.localeData().invalidDate();var e=this.localeData(),n=function(t,e,n){var r=kt(t).abs(),i=zn(r.as("s")),o=zn(r.as("m")),s=zn(r.as("h")),a=zn(r.as("d")),u=zn(r.as("M")),l=zn(r.as("y")),c=i<=Wn.ss&&["s",i]||i<Wn.s&&["ss",i]||o<=1&&["m"]||o<Wn.m&&["mm",o]||s<=1&&["h"]||s<Wn.h&&["hh",s]||a<=1&&["d"]||a<Wn.d&&["dd",a]||u<=1&&["M"]||u<Wn.M&&["MM",u]||l<=1&&["y"]||["yy",l];return c[2]=e,c[3]=+t>0,c[4]=n,function(t,e,n,r,i){return i.relativeTime(e||1,!!n,t,r)}.apply(null,c)}(this,!t,e);return t&&(n=e.pastFuture(+this,n)),e.postformat(n)},qn.toISOString=Jt,qn.toString=Jt,qn.toJSON=Jt,qn.locale=Nt,qn.localeData=jt,qn.toIsoString=S("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Jt),qn.lang=yn,A("X",0,0,"unix"),A("x",0,0,"valueOf"),N("x",Te),N("X",/[+-]?\d+(\.\d{1,3})?/),F("X",function(t,e,n){n._d=new Date(1e3*parseFloat(t,10))}),F("x",function(t,e,n){n._d=new Date(y(t))}),e.version="2.22.0",function(t){Qt=t}(bt),e.fn=Mn,e.min=function(){return wt("isBefore",[].slice.call(arguments,0))},e.max=function(){return wt("isAfter",[].slice.call(arguments,0))},e.now=function(){return Date.now?Date.now():+new Date},e.utc=d,e.unix=function(t){return bt(1e3*t)},e.months=function(t,e){return zt(t,e,"months")},e.isDate=a,e.locale=ut,e.invalid=p,e.duration=kt,e.isMoment=g,e.weekdays=function(t,e,n){return Wt(t,e,n,"weekdays")},e.parseZone=function(){return bt.apply(null,arguments).parseZone()},e.localeData=ct,e.isDuration=Tt,e.monthsShort=function(t,e){return zt(t,e,"monthsShort")},e.weekdaysMin=function(t,e,n){return Wt(t,e,n,"weekdaysMin")},e.defineLocale=lt,e.updateLocale=function(t,e){if(null!=e){var n,r,i=Qe;null!=(r=at(t))&&(i=r._config),(n=new x(e=M(i,e))).parentLocale=tn[t],tn[t]=n,ut(t)}else null!=tn[t]&&(null!=tn[t].parentLocale?tn[t]=tn[t].parentLocale:null!=tn[t]&&delete tn[t]);return tn[t]},e.locales=function(){return ie(tn)},e.weekdaysShort=function(t,e,n){return Wt(t,e,n,"weekdaysShort")},e.normalizeUnits=O,e.relativeTimeRounding=function(t){return void 0===t?zn:"function"==typeof t&&(zn=t,!0)},e.relativeTimeThreshold=function(t,e){return void 0!==Wn[t]&&(void 0===e?Wn[t]:(Wn[t]=e,"s"===t&&(Wn.ss=e-1),!0))},e.calendarFormat=function(t,e){var n=t.diff(e,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"},e.prototype=Mn,e.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"YYYY-[W]WW",MONTH:"YYYY-MM"},e})}).call(e,n(394)(t))},function(t,e,n){"use strict";function r(t){return function(t){return t}}var i=n(119),o=n(75),s=n(282),a=n(283),u=n(198),l=n(284),c=n(163),d=n(199),h=n(27),f=(n(636),n(82)),p=(n(637),n(51)),m=(n(638),n(639),n(640),n(641),n(371)),_=(n(645),n(67)),g=n(372),v=(n(201),n(647),n(285),n(235)),y=n(373),b=n(236),w=n(26),S=n(43),T=(n(648),n(138)),E=n(175),M=n(369),x=n(57),C=n(168),O=n(286),D=n(287),k=n(250),L=n(118),A=n(377),I=n(202),P=n(136),R=n(137),N=(n(288),n(649)),j=n(245),Y=n(203),F=n(204),H=(n(650),n(383)),B=n(61),V=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),z=function(){function t(t){this.ani=new B.a(t),this.ani.easing("cubic-bezier(0.0, 0.0, 0.2, 1)").easingReverse("cubic-bezier(0.4, 0.0, 0.6, 1)").duration(280)}return t.prototype.setOpen=function(t,e,n){var r=this.ani.onFinish(n,!0,!0).reverse(!t);e?r.play():r.syncPlay()},t.prototype.setProgressStart=function(t){this.isOpening=!t,this.ani.reverse(t).progressStart()},t.prototype.setProgessStep=function(t){this.ani.progressStep(t)},t.prototype.setProgressEnd=function(t,e,n,r){var i=this,o=this.isOpening&&t;this.isOpening||t||(o=!0);var s=this.ani;s.onFinish(function(){i.isOpening=!1,r(o)},!0);var a=1-Math.min(Math.abs(n)/4,.7),u=s.getDuration()*a;s.progressEnd(t,e,u)},t.prototype.destroy=function(){this.ani.destroy(),this.ani=null},t}();o.a.registerType("reveal",function(t){function e(e,n){var r=t.call(this,n)||this,i=e.width()*(e.isRightSide?-1:1)+"px",o=new B.a(n,e.getContentElement());return o.fromTo("translateX","0px",i),r.ani.add(o),r}return V(e,t),e}(z));o.a.registerType("push",function(t){function e(e,n){var r,i,o,s=t.call(this,n)||this,a=e.width();e.isRightSide?(r=-a+"px",i=a+"px",o="0px"):(r=a+"px",o="0px",i=-a+"px");var u=new B.a(n,e.getMenuElement());u.fromTo("translateX",i,o),s.ani.add(u);var l=new B.a(n,e.getContentElement());return l.fromTo("translateX","0px",r),s.ani.add(l),s}return V(e,t),e}(z));o.a.registerType("overlay",function(t){function e(e,n){var r,i,o=t.call(this,n)||this,s=e.width();e.isRightSide?(r=8+s+"px",i="0px"):(r=-(8+s)+"px",i="0px");var a=new B.a(n,e.getMenuElement());a.fromTo("translateX",r,i),o.ani.add(a);var u=new B.a(n,e.getBackdropElement());return u.fromTo("opacity",.01,.35),o.ani.add(u),o}return V(e,t),e}(z));var W=n(652),U=n(205),q=n(129),G=n(154),X=n(256),K=(n(661),n(230)),Z=(n(662),n(663),n(232)),$=n(646),J=n(200),Q=n(153),tt=n(170),et=n(314),nt=n(208),rt=n(313),it=n(178),ot=n(139),st=(n(664),n(665),n(239)),at=n(375),ut=(n(666),n(211)),lt=n(382),ct=n(242),dt=n(370),ht=n(209),ft=n(315),pt=n(316),mt=n(317),_t=n(379),gt=n(241),vt=n(78),yt=n(103),bt=(n(667),n(668),n(319),n(318),n(670)),wt=n(210),St=n(254),Tt=n(378),Et=n(212),Mt=n(166),xt=n(92),Ct=n(167),Ot=n(132),Dt=n(86),kt=(n(669),n(320)),Lt=(n(321),n(213)),At=n(214),It=n(322),Pt=n(6),Rt=n(30),Nt=n(16),jt=n(94),Yt=n(53),Ft=n(63),Ht=n(196),Bt=n(39),Vt=(n(99),n(311)),zt=n(124),Wt=n(18),Ut=n(197),qt=n(656),Gt=n(281),Xt=n(634),Kt=n(25),Zt=n(308),$t=n(1),Jt=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Qt=function(t){function e(){return t.call(this)||this}return Jt(e,t),e.prototype.handleError=function(e){t.prototype.handleError.call(this,e);try{var n=window,r=void 0;(r=n.IonicDevServer)&&r.handleError&&r.handleError(e),(r=(n.Ionic=n.Ionic||{}).Monitor)&&r.handleError&&r.handleError(e)}catch(t){}},e}($t.ErrorHandler),te=n(77),ee=n(52),ne=n(11),re=n(123),ie=n(112),oe=n(310),se=n(312),ae=n(309),ue=n(229);n.d(e,!1,function(){return i.b}),n.d(e,!1,function(){return o.a}),n.d(e,!1,function(){return s.a}),n.d(e,!1,function(){return a.a}),n.d(e,!1,function(){return u.a}),n.d(e,!1,function(){return l.a}),n.d(e,!1,function(){return c.a}),n.d(e,!1,function(){return d.a}),n.d(e,!1,function(){return h.a}),n.d(e,!1,function(){}),n.d(e,!1,function(){return f.a}),n.d(e,!1,function(){}),n.d(e,!1,function(){return p.a}),n.d(e,!1,function(){}),n.d(e,!1,function(){}),n.d(e,!1,function(){}),n.d(e,!1,function(){}),n.d(e,!1,function(){return m.a}),n.d(e,!1,function(){}),n.d(e,"b",function(){return _.a}),n.d(e,!1,function(){return g.a}),n.d(e,!1,function(){}),n.d(e,!1,function(){}),n.d(e,!1,function(){}),n.d(e,!1,function(){return v.a}),n.d(e,!1,function(){return y.a}),n.d(e,!1,function(){return b.a}),n.d(e,!1,function(){return w.a}),n.d(e,!1,function(){return S.a}),n.d(e,!1,function(){}),n.d(e,!1,function(){return T.a}),n.d(e,!1,function(){return E.a}),n.d(e,!1,function(){return M.a}),n.d(e,"f",function(){return x.a}),n.d(e,!1,function(){return C.a}),n.d(e,!1,function(){return O.a}),n.d(e,!1,function(){return D.a}),n.d(e,!1,function(){return k.a}),n.d(e,!1,function(){return L.a}),n.d(e,!1,function(){return A.a}),n.d(e,!1,function(){return I.a}),n.d(e,!1,function(){return P.a}),n.d(e,!1,function(){return R.a}),n.d(e,!1,function(){}),n.d(e,!1,function(){return N.a}),n.d(e,!1,function(){return j.a}),n.d(e,!1,function(){return Y.a}),n.d(e,!1,function(){return F.a}),n.d(e,!1,function(){}),n.d(e,!1,function(){return H.a}),n.d(e,!1,function(){return z}),n.d(e,!1,function(){return W.a}),n.d(e,!1,function(){return U.a}),n.d(e,"g",function(){return q.a}),n.d(e,!1,function(){return G.a}),n.d(e,!1,function(){return X.a}),n.d(e,!1,function(){}),n.d(e,!1,function(){return K.a}),n.d(e,!1,function(){}),n.d(e,!1,function(){}),n.d(e,!1,function(){return Z.a}),n.d(e,!1,function(){return $.a}),n.d(e,!1,function(){return J.a}),n.d(e,!1,function(){return Q.a}),n.d(e,!1,function(){return tt.a}),n.d(e,!1,function(){return et.a}),n.d(e,!1,function(){return nt.a}),n.d(e,!1,function(){return rt.a}),n.d(e,!1,function(){return it.a}),n.d(e,!1,function(){return ot.a}),n.d(e,!1,function(){}),n.d(e,!1,function(){}),n.d(e,!1,function(){return st.a}),n.d(e,!1,function(){return at.a}),n.d(e,!1,function(){}),n.d(e,!1,function(){return ut.a}),n.d(e,!1,function(){return lt.a}),n.d(e,!1,function(){return ct.a}),n.d(e,!1,function(){return dt.a}),n.d(e,!1,function(){return ht.a}),n.d(e,!1,function(){return ft.a}),n.d(e,!1,function(){return pt.a}),n.d(e,!1,function(){return mt.a}),n.d(e,!1,function(){return _t.a}),n.d(e,!1,function(){return gt.a}),n.d(e,!1,function(){return vt.a}),n.d(e,!1,function(){}),n.d(e,!1,function(){return yt.a}),n.d(e,!1,function(){}),n.d(e,!1,function(){}),n.d(e,!1,function(){}),n.d(e,!1,function(){}),n.d(e,!1,function(){return bt.a}),n.d(e,!1,function(){return wt.a}),n.d(e,!1,function(){return St.a}),n.d(e,!1,function(){return Tt.a}),n.d(e,!1,function(){return Et.a}),n.d(e,!1,function(){return Mt.a}),n.d(e,!1,function(){return xt.a}),n.d(e,!1,function(){return Ct.a}),n.d(e,!1,function(){return Ot.a}),n.d(e,!1,function(){return Dt.a}),n.d(e,!1,function(){}),n.d(e,!1,function(){return kt.a}),n.d(e,!1,function(){}),n.d(e,!1,function(){return Lt.a}),n.d(e,!1,function(){return At.a}),n.d(e,!1,function(){return It.a}),n.d(e,!1,function(){return Pt.a}),n.d(e,!1,function(){return Pt.c}),n.d(e,!1,function(){return Pt.b}),n.d(e,!1,function(){return Rt.a}),n.d(e,"j",function(){return Nt.a}),n.d(e,!1,function(){return Nt.b}),n.d(e,!1,function(){return jt.a}),n.d(e,!1,function(){return Yt.a}),n.d(e,!1,function(){return r}),n.d(e,!1,function(){return Ft.a}),n.d(e,!1,function(){return Ht.a}),n.d(e,"h",function(){return Bt.a}),n.d(e,!1,function(){}),n.d(e,!1,function(){}),n.d(e,!1,function(){return Vt.a}),n.d(e,!1,function(){return Vt.b}),n.d(e,!1,function(){}),n.d(e,!1,function(){return zt.b}),n.d(e,!1,function(){return zt.a}),n.d(e,!1,function(){return Wt.a}),n.d(e,!1,function(){return Ut.a}),n.d(e,!1,function(){return qt.a}),n.d(e,!1,function(){return Gt.a}),n.d(e,!1,function(){return Xt.a}),n.d(e,!1,function(){return Kt.a}),n.d(e,!1,function(){return Kt.b}),n.d(e,!1,function(){return Kt.d}),n.d(e,!1,function(){return Kt.c}),n.d(e,!1,function(){return Kt.j}),n.d(e,!1,function(){return Kt.k}),n.d(e,!1,function(){return Kt.l}),n.d(e,!1,function(){}),n.d(e,!1,function(){}),n.d(e,!1,function(){return Zt.a}),n.d(e,!1,function(){}),n.d(e,!1,function(){return Zt.b}),n.d(e,"d",function(){return Qt}),n.d(e,!1,function(){return te.a}),n.d(e,"c",function(){return ee.a}),n.d(e,!1,function(){}),n.d(e,!1,function(){}),n.d(e,!1,function(){return ne.r}),n.d(e,!1,function(){}),n.d(e,"a",function(){return B.a}),n.d(e,"i",function(){return re.a}),n.d(e,!1,function(){return ie.a}),n.d(e,!1,function(){return oe.a}),n.d(e,!1,function(){return se.a}),n.d(e,!1,function(){return ae.a}),n.d(e,!1,function(){return ue.a}),n.d(e,"e",function(){return ue.b}),n.d(e,!1,function(){return ue.c})},function(t,e,n){"use strict";n.d(e,"a",function(){return o}),e.c=function(t,e){var n=new o;n.init(t,e);var r=e.win();return r.Ionic=r.Ionic||{},r.Ionic.config=n,n},n.d(e,"b",function(){return s});var r=n(1),i=n(11),o=function(){function t(){this._c={},this._s={},this._modes={},this._trns={}}return t.prototype.init=function(t,e){this._s=t&&Object(i.k)(t)&&!Object(i.e)(t)?t:{},this.plt=e},t.prototype.get=function(t,e){void 0===e&&(e=null);var n=this.plt;if(!Object(i.h)(this._c[t])){if(!Object(i.h)(t))throw"config key is not defined";var r=void 0,o=this._s[t],s=void 0,a=void 0,u=void 0,l=void 0,c=null;if(n){var d=n.getQueryParam("ionic"+t);if(Object(i.h)(d))return this._c[t]="true"===d||"false"!==d&&d;for(var h=n.platforms(),f=0,p=h.length;f<p;f++)this._s.platforms&&(c=this._s.platforms[h[f]])&&(Object(i.h)(c[t])&&(r=c[t]),(c=this.getModeConfig(c.mode))&&Object(i.h)(c[t])&&(s=c[t])),(c=n.getPlatformConfig(h[f]))&&c.settings&&(Object(i.h)(c.settings[t])&&(u=c.settings[t]),(c=this.getModeConfig(c.settings.mode))&&Object(i.h)(c[t])&&(l=c[t]))}(c=this.getModeConfig(this._s.mode))&&Object(i.h)(c[t])&&(a=c[t]),this._c[t]=Object(i.h)(r)?r:Object(i.h)(o)?o:Object(i.h)(s)?s:Object(i.h)(a)?a:Object(i.h)(u)?u:Object(i.h)(l)?l:null}var m=this._c[t];return Object(i.i)(m)&&(m=m(n)),null!==m?m:e},t.prototype.getBoolean=function(t,e){void 0===e&&(e=!1);var n=this.get(t);return null===n?e:"string"==typeof n?"true"===n:!!n},t.prototype.getNumber=function(t,e){void 0===e&&(e=NaN);var n=parseFloat(this.get(t));return isNaN(n)?e:n},t.prototype.set=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=t[0],r=t[1];switch(t.length){case 2:this._s[n]=r,delete this._c[n];break;case 3:this._s.platforms=this._s.platforms||{},this._s.platforms[n]=this._s.platforms[n]||{},this._s.platforms[n][r]=t[2],delete this._c[r]}return this},t.prototype.settings=function(t,e){switch(arguments.length){case 0:return this._s;case 1:this._s=t,this._c={};break;case 2:this._s.platforms=this._s.platforms||{},this._s.platforms[t]=e,this._c={}}return this},t.prototype.setModeConfig=function(t,e){this._modes[t]=e},t.prototype.getModeConfig=function(t){return this._modes[t]||null},t.prototype.setTransition=function(t,e){this._trns[t]=e},t.prototype.getTransition=function(t){return this._trns[t]||null},t}(),s=new r.InjectionToken("USERCONFIG")},,,,,function(t,e,n){"use strict";function r(t){return"string"==typeof t}function i(t){return"number"==typeof t}e.a=function(t,e,n){return Math.max(t,Math.min(e,n))},e.b=function(t){return JSON.parse(JSON.stringify(t))},e.c=function(t,e){return t===e||JSON.stringify(t)===JSON.stringify(e)},e.d=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];for(var r=arguments.length-1;r>=1;r--){var i=arguments[r];if(i)for(var o in i)i.hasOwnProperty(o)&&!t.hasOwnProperty(o)&&(t[o]=i[o])}return t},e.n=r,e.j=i,e.i=function(t){return"function"==typeof t},e.h=function(t){return void 0!==t},e.p=function(t){return void 0===t},e.l=function(t){return void 0!==t&&null!==t},e.f=function(t){return void 0===t||null===t},e.k=function(t){return"object"==typeof t},e.e=function(t){return Array.isArray(t)},e.o=function(t){return"string"==typeof t?"true"===(t=t.toLowerCase().trim())||"on"===t||""===t:!!t},e.g=function(t,e){return void 0===t||null===t||""===t?void 0===e||null===e||""===e:!0===t||"true"===t?!0===e||"true"===e:!1===t||"false"===t?!1===e||"false"===e:0===t||"0"===t?0===e||"0"===e:t==e},e.m=function(t,e,n){switch(void 0===n&&(n=!1),t){case"right":return!0;case"left":return!1;case"end":return!e;case"start":return e;default:return n?!e:e}},e.r=function(t,e){var n=t[e.from];return t.splice(e.from,1),t.splice(e.to,0,n),t},e.q=function(t,e){var n=t.indexOf(e);return!!~n&&!!t.splice(n,1)},e.t=function(t,e,n){return!e&&n||t&&e},e.s=function(t){return"requestIdleCallback"in window?window.requestIdleCallback(t):setTimeout(t,500)}},function(t,e,n){"use strict";function r(t){return t.replace(/\/index.html$/,"")}function i(t,e,n){"string"!=typeof e&&(n=e,e=t[0]),e=e.toLowerCase().replace(/_/g,"-"),gt[e]=t,n&&(gt[e][18]=n)}function o(t){return M(t)[0]}function s(t,e,n){var r=M(t);return T(T([r[1],r[2]],e),n)}function a(t,e,n){var r=M(t);return T(T([r[3],r[4]],e),n)}function u(t,e,n){var r=M(t);return T(T([r[5],r[6]],e),n)}function l(t,e){return T(M(t)[7],e)}function c(t){return M(t)[8]}function d(t){return M(t)[9]}function h(t,e){return T(M(t)[10],e)}function f(t,e){return T(M(t)[11],e)}function p(t,e){return T(M(t)[12],e)}function m(t,e){var n=M(t),r=n[13][e];if(void 0===r){if(e===Tt.CurrencyDecimal)return n[13][Tt.Decimal];if(e===Tt.CurrencyGroup)return n[13][Tt.Group]}return r}function _(t,e){return M(t)[14][e]}function g(t){return M(t)[15]||null}function v(t){return M(t)[16]||null}function y(t){return M(t)[17]}function b(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 w(t){var e=M(t);b(e);return(e[18][2]||[]).map(function(t){return"string"==typeof t?E(t):[E(t[0]),E(t[1])]})}function S(t,e,n){var r=M(t);b(r);return T(T([r[18][0],r[18][1]],e)||[],n)||[]}function T(t,e){for(var n=e;n>-1;n--)if(void 0!==t[n])return t[n];throw new Error("Locale data API: locale data undefined")}function E(t){var e=t.split(":");return{hours:+e[0],minutes:+e[1]}}function M(t){var e=t.toLowerCase().replace(/_/g,"-"),n=gt[e];if(n)return n;var r=e.split("-")[0];if(n=gt[r])return n;if("en"===r)return _t;throw new Error('Missing locale data for the locale "'+t+'".')}function x(t,e){var n=mt[t]||[],r=n[1];return"narrow"===e&&"string"==typeof r?r:n[0]||t}function C(t,e,n,r){var i="="+t;if(e.indexOf(i)>-1)return i;if(i=n.getPluralCategory(t,r),e.indexOf(i)>-1)return i;if(e.indexOf("other")>-1)return"other";throw new Error('No plural message found for value "'+t+'"')}function O(t,e){"string"==typeof e&&(e=parseInt(e,10));var n=e,r=n.toString().replace(/^[^.]*\.?/,""),i=Math.floor(Math.abs(n)),o=r.length,s=parseInt(r,10),a=parseInt(n.toString().replace(/^[^.]*\.?|0+$/g,""),10)||0;switch(t.split("-")[0].toLowerCase()){case"af":case"asa":case"az":case"bem":case"bez":case"bg":case"brx":case"ce":case"cgg":case"chr":case"ckb":case"ee":case"el":case"eo":case"es":case"eu":case"fo":case"fur":case"gsw":case"ha":case"haw":case"hu":case"jgo":case"jmc":case"ka":case"kk":case"kkj":case"kl":case"ks":case"ksb":case"ky":case"lb":case"lg":case"mas":case"mgo":case"ml":case"mn":case"nb":case"nd":case"ne":case"nn":case"nnh":case"nyn":case"om":case"or":case"os":case"ps":case"rm":case"rof":case"rwk":case"saq":case"seh":case"sn":case"so":case"sq":case"ta":case"te":case"teo":case"tk":case"tr":case"ug":case"uz":case"vo":case"vun":case"wae":case"xog":return 1===n?yt.One:yt.Other;case"ak":case"ln":case"mg":case"pa":case"ti":return n===Math.floor(n)&&n>=0&&n<=1?yt.One:yt.Other;case"am":case"as":case"bn":case"fa":case"gu":case"hi":case"kn":case"mr":case"zu":return 0===i||1===n?yt.One:yt.Other;case"ar":return 0===n?yt.Zero:1===n?yt.One:2===n?yt.Two:n%100===Math.floor(n%100)&&n%100>=3&&n%100<=10?yt.Few:n%100===Math.floor(n%100)&&n%100>=11&&n%100<=99?yt.Many:yt.Other;case"ast":case"ca":case"de":case"en":case"et":case"fi":case"fy":case"gl":case"it":case"nl":case"sv":case"sw":case"ur":case"yi":return 1===i&&0===o?yt.One:yt.Other;case"be":return n%10==1&&n%100!=11?yt.One:n%10===Math.floor(n%10)&&n%10>=2&&n%10<=4&&!(n%100>=12&&n%100<=14)?yt.Few:n%10==0||n%10===Math.floor(n%10)&&n%10>=5&&n%10<=9||n%100===Math.floor(n%100)&&n%100>=11&&n%100<=14?yt.Many:yt.Other;case"br":return n%10==1&&n%100!=11&&n%100!=71&&n%100!=91?yt.One:n%10==2&&n%100!=12&&n%100!=72&&n%100!=92?yt.Two:n%10===Math.floor(n%10)&&(n%10>=3&&n%10<=4||n%10==9)&&!(n%100>=10&&n%100<=19||n%100>=70&&n%100<=79||n%100>=90&&n%100<=99)?yt.Few:0!==n&&n%1e6==0?yt.Many:yt.Other;case"bs":case"hr":case"sr":return 0===o&&i%10==1&&i%100!=11||s%10==1&&s%100!=11?yt.One:0===o&&i%10===Math.floor(i%10)&&i%10>=2&&i%10<=4&&!(i%100>=12&&i%100<=14)||s%10===Math.floor(s%10)&&s%10>=2&&s%10<=4&&!(s%100>=12&&s%100<=14)?yt.Few:yt.Other;case"cs":case"sk":return 1===i&&0===o?yt.One:i===Math.floor(i)&&i>=2&&i<=4&&0===o?yt.Few:0!==o?yt.Many:yt.Other;case"cy":return 0===n?yt.Zero:1===n?yt.One:2===n?yt.Two:3===n?yt.Few:6===n?yt.Many:yt.Other;case"da":return 1===n||0!==a&&(0===i||1===i)?yt.One:yt.Other;case"dsb":case"hsb":return 0===o&&i%100==1||s%100==1?yt.One:0===o&&i%100==2||s%100==2?yt.Two:0===o&&i%100===Math.floor(i%100)&&i%100>=3&&i%100<=4||s%100===Math.floor(s%100)&&s%100>=3&&s%100<=4?yt.Few:yt.Other;case"ff":case"fr":case"hy":case"kab":return 0===i||1===i?yt.One:yt.Other;case"fil":return 0===o&&(1===i||2===i||3===i)||0===o&&i%10!=4&&i%10!=6&&i%10!=9||0!==o&&s%10!=4&&s%10!=6&&s%10!=9?yt.One:yt.Other;case"ga":return 1===n?yt.One:2===n?yt.Two:n===Math.floor(n)&&n>=3&&n<=6?yt.Few:n===Math.floor(n)&&n>=7&&n<=10?yt.Many:yt.Other;case"gd":return 1===n||11===n?yt.One:2===n||12===n?yt.Two:n===Math.floor(n)&&(n>=3&&n<=10||n>=13&&n<=19)?yt.Few:yt.Other;case"gv":return 0===o&&i%10==1?yt.One:0===o&&i%10==2?yt.Two:0!==o||i%100!=0&&i%100!=20&&i%100!=40&&i%100!=60&&i%100!=80?0!==o?yt.Many:yt.Other:yt.Few;case"he":return 1===i&&0===o?yt.One:2===i&&0===o?yt.Two:0!==o||n>=0&&n<=10||n%10!=0?yt.Other:yt.Many;case"is":return 0===a&&i%10==1&&i%100!=11||0!==a?yt.One:yt.Other;case"ksh":return 0===n?yt.Zero:1===n?yt.One:yt.Other;case"kw":case"naq":case"se":case"smn":return 1===n?yt.One:2===n?yt.Two:yt.Other;case"lag":return 0===n?yt.Zero:0!==i&&1!==i||0===n?yt.Other:yt.One;case"lt":return n%10!=1||n%100>=11&&n%100<=19?n%10===Math.floor(n%10)&&n%10>=2&&n%10<=9&&!(n%100>=11&&n%100<=19)?yt.Few:0!==s?yt.Many:yt.Other:yt.One;case"lv":case"prg":return n%10==0||n%100===Math.floor(n%100)&&n%100>=11&&n%100<=19||2===o&&s%100===Math.floor(s%100)&&s%100>=11&&s%100<=19?yt.Zero:n%10==1&&n%100!=11||2===o&&s%10==1&&s%100!=11||2!==o&&s%10==1?yt.One:yt.Other;case"mk":return 0===o&&i%10==1||s%10==1?yt.One:yt.Other;case"mt":return 1===n?yt.One:0===n||n%100===Math.floor(n%100)&&n%100>=2&&n%100<=10?yt.Few:n%100===Math.floor(n%100)&&n%100>=11&&n%100<=19?yt.Many:yt.Other;case"pl":return 1===i&&0===o?yt.One:0===o&&i%10===Math.floor(i%10)&&i%10>=2&&i%10<=4&&!(i%100>=12&&i%100<=14)?yt.Few:0===o&&1!==i&&i%10===Math.floor(i%10)&&i%10>=0&&i%10<=1||0===o&&i%10===Math.floor(i%10)&&i%10>=5&&i%10<=9||0===o&&i%100===Math.floor(i%100)&&i%100>=12&&i%100<=14?yt.Many:yt.Other;case"pt":return n===Math.floor(n)&&n>=0&&n<=2&&2!==n?yt.One:yt.Other;case"ro":return 1===i&&0===o?yt.One:0!==o||0===n||1!==n&&n%100===Math.floor(n%100)&&n%100>=1&&n%100<=19?yt.Few:yt.Other;case"ru":case"uk":return 0===o&&i%10==1&&i%100!=11?yt.One:0===o&&i%10===Math.floor(i%10)&&i%10>=2&&i%10<=4&&!(i%100>=12&&i%100<=14)?yt.Few:0===o&&i%10==0||0===o&&i%10===Math.floor(i%10)&&i%10>=5&&i%10<=9||0===o&&i%100===Math.floor(i%100)&&i%100>=11&&i%100<=14?yt.Many:yt.Other;case"shi":return 0===i||1===n?yt.One:n===Math.floor(n)&&n>=2&&n<=10?yt.Few:yt.Other;case"si":return 0===n||1===n||0===i&&1===s?yt.One:yt.Other;case"sl":return 0===o&&i%100==1?yt.One:0===o&&i%100==2?yt.Two:0===o&&i%100===Math.floor(i%100)&&i%100>=3&&i%100<=4||0!==o?yt.Few:yt.Other;case"tzm":return n===Math.floor(n)&&n>=0&&n<=1||n===Math.floor(n)&&n>=11&&n<=99?yt.One:yt.Other;default:return yt.Other}}function D(t,e){e=encodeURIComponent(e);for(var n=0,r=t.split(";");n<r.length;n++){var i=r[n],o=i.indexOf("="),s=-1==o?[i,""]:[i.slice(0,o),i.slice(o+1)],a=s[1];if(s[0].trim()===e)return decodeURIComponent(a)}return null}function k(t,e,n,r){e=L(n,e)||e;for(var i,o=[];e;){if(!(i=Ut.exec(e))){o.push(e);break}var s=(o=o.concat(i.slice(1))).pop();if(!s)break;e=s}var a=t.getTimezoneOffset();r&&(a=Y(r,a),t=function(t,e,n){var r=n?-1:1,i=t.getTimezoneOffset(),o=Y(e,i);return function(t,e){return(t=new Date(t.getTime())).setMinutes(t.getMinutes()+e),t}(t,r*(o-i))}(t,r,!0));var u="";return o.forEach(function(e){var r=function(t){if($t[t])return $t[t];var e;switch(t){case"G":case"GG":case"GGG":e=R(Xt.Eras,wt.Abbreviated);break;case"GGGG":e=R(Xt.Eras,wt.Wide);break;case"GGGGG":e=R(Xt.Eras,wt.Narrow);break;case"y":e=P(Gt.FullYear,1,0,!1,!0);break;case"yy":e=P(Gt.FullYear,2,0,!0,!0);break;case"yyy":e=P(Gt.FullYear,3,0,!1,!0);break;case"yyyy":e=P(Gt.FullYear,4,0,!1,!0);break;case"M":case"L":e=P(Gt.Month,1,1);break;case"MM":case"LL":e=P(Gt.Month,2,1);break;case"MMM":e=R(Xt.Months,wt.Abbreviated);break;case"MMMM":e=R(Xt.Months,wt.Wide);break;case"MMMMM":e=R(Xt.Months,wt.Narrow);break;case"LLL":e=R(Xt.Months,wt.Abbreviated,bt.Standalone);break;case"LLLL":e=R(Xt.Months,wt.Wide,bt.Standalone);break;case"LLLLL":e=R(Xt.Months,wt.Narrow,bt.Standalone);break;case"w":e=j(1);break;case"ww":e=j(2);break;case"W":e=j(1,!0);break;case"d":e=P(Gt.Date,1);break;case"dd":e=P(Gt.Date,2);break;case"E":case"EE":case"EEE":e=R(Xt.Days,wt.Abbreviated);break;case"EEEE":e=R(Xt.Days,wt.Wide);break;case"EEEEE":e=R(Xt.Days,wt.Narrow);break;case"EEEEEE":e=R(Xt.Days,wt.Short);break;case"a":case"aa":case"aaa":e=R(Xt.DayPeriods,wt.Abbreviated);break;case"aaaa":e=R(Xt.DayPeriods,wt.Wide);break;case"aaaaa":e=R(Xt.DayPeriods,wt.Narrow);break;case"b":case"bb":case"bbb":e=R(Xt.DayPeriods,wt.Abbreviated,bt.Standalone,!0);break;case"bbbb":e=R(Xt.DayPeriods,wt.Wide,bt.Standalone,!0);break;case"bbbbb":e=R(Xt.DayPeriods,wt.Narrow,bt.Standalone,!0);break;case"B":case"BB":case"BBB":e=R(Xt.DayPeriods,wt.Abbreviated,bt.Format,!0);break;case"BBBB":e=R(Xt.DayPeriods,wt.Wide,bt.Format,!0);break;case"BBBBB":e=R(Xt.DayPeriods,wt.Narrow,bt.Format,!0);break;case"h":e=P(Gt.Hours,1,-12);break;case"hh":e=P(Gt.Hours,2,-12);break;case"H":e=P(Gt.Hours,1);break;case"HH":e=P(Gt.Hours,2);break;case"m":e=P(Gt.Minutes,1);break;case"mm":e=P(Gt.Minutes,2);break;case"s":e=P(Gt.Seconds,1);break;case"ss":e=P(Gt.Seconds,2);break;case"S":e=P(Gt.Milliseconds,1);break;case"SS":e=P(Gt.Milliseconds,2);break;case"SSS":e=P(Gt.Milliseconds,3);break;case"Z":case"ZZ":case"ZZZ":e=N(qt.Short);break;case"ZZZZZ":e=N(qt.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":e=N(qt.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":e=N(qt.Long);break;default:return null}return $t[t]=e,e}(e);u+=r?r(t,n,a):"''"===e?"'":e.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),u}function L(t,e){var n=o(t);if(Wt[n]=Wt[n]||{},Wt[n][e])return Wt[n][e];var r="";switch(e){case"shortDate":r=h(t,St.Short);break;case"mediumDate":r=h(t,St.Medium);break;case"longDate":r=h(t,St.Long);break;case"fullDate":r=h(t,St.Full);break;case"shortTime":r=f(t,St.Short);break;case"mediumTime":r=f(t,St.Medium);break;case"longTime":r=f(t,St.Long);break;case"fullTime":r=f(t,St.Full);break;case"short":var i=L(t,"shortTime"),s=L(t,"shortDate");r=A(p(t,St.Short),[i,s]);break;case"medium":var a=L(t,"mediumTime"),u=L(t,"mediumDate");r=A(p(t,St.Medium),[a,u]);break;case"long":var l=L(t,"longTime"),c=L(t,"longDate");r=A(p(t,St.Long),[l,c]);break;case"full":var d=L(t,"fullTime"),m=L(t,"fullDate");r=A(p(t,St.Full),[d,m])}return r&&(Wt[n][e]=r),r}function A(t,e){return e&&(t=t.replace(/\{([^}]+)}/g,function(t,n){return null!=e&&n in e?e[n]:t})),t}function I(t,e,n,r,i){void 0===n&&(n="-");var o="";(t<0||i&&t<=0)&&(i?t=1-t:(t=-t,o=n));for(var s=""+t;s.length<e;)s="0"+s;return r&&(s=s.substr(s.length-e)),o+s}function P(t,e,n,r,i){return void 0===n&&(n=0),void 0===r&&(r=!1),void 0===i&&(i=!1),function(o,s){var a=function(t,e,n){switch(t){case Gt.FullYear:return e.getFullYear();case Gt.Month:return e.getMonth();case Gt.Date:return e.getDate();case Gt.Hours:return e.getHours();case Gt.Minutes:return e.getMinutes();case Gt.Seconds:return e.getSeconds();case Gt.Milliseconds:var r=1===n?100:2===n?10:1;return Math.round(e.getMilliseconds()/r);case Gt.Day:return e.getDay();default:throw new Error('Unknown DateType value "'+t+'".')}}(t,o,e);return(n>0||a>-n)&&(a+=n),t===Gt.Hours&&0===a&&-12===n&&(a=12),I(a,e,m(s,Tt.MinusSign),r,i)}}function R(t,e,n,r){return void 0===n&&(n=bt.Format),void 0===r&&(r=!1),function(i,o){return function(t,e,n,r,i,o){switch(n){case Xt.Months:return u(e,i,r)[t.getMonth()];case Xt.Days:return a(e,i,r)[t.getDay()];case Xt.DayPeriods:var c=t.getHours(),d=t.getMinutes();if(o){var h,f=w(e),p=S(e,i,r);if(f.forEach(function(t,e){if(Array.isArray(t)){var n=t[0],r=n.hours,i=n.minutes,o=t[1],s=o.hours,a=o.minutes;c>=r&&d>=i&&(c<s||c===s&&d<a)&&(h=p[e])}else{var u=t.hours,l=t.minutes;u===c&&l===d&&(h=p[e])}}),h)return h}return s(e,i,r)[c<12?0:1];case Xt.Eras:return l(e,r)[t.getFullYear()<=0?0:1];default:var m=n;throw new Error("unexpected translation type "+m)}}(i,o,t,e,n,r)}}function N(t){return function(e,n,r){var i=-1*r,o=m(n,Tt.MinusSign),s=i>0?Math.floor(i/60):Math.ceil(i/60);switch(t){case qt.Short:return(i>=0?"+":"")+I(s,2,o)+I(Math.abs(i%60),2,o);case qt.ShortGMT:return"GMT"+(i>=0?"+":"")+I(s,1,o);case qt.Long:return"GMT"+(i>=0?"+":"")+I(s,2,o)+":"+I(Math.abs(i%60),2,o);case qt.Extended:return 0===r?"Z":(i>=0?"+":"")+I(s,2,o)+":"+I(Math.abs(i%60),2,o);default:throw new Error('Unknown zone width "'+t+'"')}}}function j(t,e){return void 0===e&&(e=!1),function(n,r){var i;if(e){var o=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,s=n.getDate();i=1+Math.floor((s+o)/7)}else{var a=function(t){var e=new Date(t,Kt,1).getDay();return new Date(t,0,1+(e<=Zt?Zt:Zt+7)-e)}(n.getFullYear()),u=function(t){return new Date(t.getFullYear(),t.getMonth(),t.getDate()+(Zt-t.getDay()))}(n).getTime()-a.getTime();i=1+Math.round(u/6048e5)}return I(i,t,m(r,Tt.MinusSign))}}function Y(t,e){t=t.replace(/:/g,"");var n=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(n)?e:n}function F(t,e){return Error("InvalidPipeArgument: '"+e+"' for pipe '"+Object(st["ɵstringify"])(t)+"'")}function H(t){var e=new Date(0),n=0,r=0,i=t[8]?e.setUTCHours:e.setHours;t[9]&&(n=+(t[9]+t[10]),r=+(t[9]+t[11])),(t[8]?e.setUTCFullYear:e.setFullYear).call(e,+t[1],+t[2]-1,+t[3]);var o=+(t[4]||"0")-n,s=+(t[5]||"0")-r,a=+(t[6]||"0"),u=Math.round(1e3*parseFloat("0."+(t[7]||0)));return i.call(e,o,s,a,u),e}function B(t){return t instanceof Date&&!isNaN(t.valueOf())}function V(t){return function(e,n){var r=t(e,n);return 1==r.length?"0"+r:r}}function z(t){return function(e,n){return t(e,n).split(" ")[0]}}function W(t,e,n){return new Intl.DateTimeFormat(e,n).format(t).replace(/[\u200e\u200f]/g,"")}function U(t){var e={hour:"2-digit",hour12:!1,timeZoneName:t};return function(t,n){var r=W(t,n,e);return r?r.substring(3):""}}function q(t,e){return t.hour12=e,t}function G(t,e){return function(){var n={};return n[t]=2===e?"2-digit":"numeric",n}()}function X(t,e){var n={};return n[t]=e<4?e>1?"short":"narrow":"long",n}function K(t){return t.reduce(function(t,e){return Object(at.__assign)({},t,e)},{})}function Z(t){return function(e,n){return W(e,n,t)}}function $(t){return t instanceof Date&&!isNaN(t.valueOf())}function J(t,e,n,r,i){void 0===i&&(i=null);var o,s={str:null},a=_(e,n);if("string"!=typeof t||isNaN(+t-parseFloat(t))){if("number"!=typeof t)return s.error=t+" is not a number",s;o=t}else o=+t;var u=function(t,e){void 0===e&&(e="-");var n={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},r=t.split(de),i=r[0],o=r[1],s=-1!==i.indexOf(le)?i.split(le):[i.substring(0,i.lastIndexOf(ce)+1),i.substring(i.lastIndexOf(ce)+1)],a=s[0],u=s[1]||"";n.posPre=a.substr(0,a.indexOf(fe));for(var l=0;l<u.length;l++){var c=u.charAt(l);c===ce?n.minFrac=n.maxFrac=l+1:c===fe?n.maxFrac=l+1:n.posSuf+=c}var d=a.split(he);if(n.gSize=d[1]?d[1].length:0,n.lgSize=d[2]||d[1]?(d[2]||d[1]).length:0,o){var h=i.length-n.posPre.length-n.posSuf.length,f=o.indexOf(fe);n.negPre=o.substr(0,f).replace(/'/g,""),n.negSuf=o.substr(f+h).replace(/'/g,"")}else n.negPre=e+n.posPre,n.negSuf=n.posSuf;return n}(a,m(e,Tt.MinusSign)),l="",c=!1;if(isFinite(o)){var d=function(t){var e,n,r,i,o,s=Math.abs(t)+"",a=0;(n=s.indexOf(le))>-1&&(s=s.replace(le,""));(r=s.search(/e/i))>0?(n<0&&(n=r),n+=+s.slice(r+1),s=s.substring(0,r)):n<0&&(n=s.length);for(r=0;s.charAt(r)===ce;r++);if(r===(o=s.length))e=[0],n=1;else{for(o--;s.charAt(o)===ce;)o--;for(n-=r,e=[],i=0;r<=o;r++,i++)e[i]=+s.charAt(r)}n>ue&&(e=e.splice(0,ue-1),a=n-1,n=1);return{digits:e,exponent:a,integerLen:n}}(o);n===vt.Percent&&(d=function(t){if(0===t.digits[0])return t;var e=t.digits.length-t.integerLen;t.exponent?t.exponent+=2:(0===e?t.digits.push(0,0):1===e&&t.digits.push(0),t.integerLen+=2);return t}(d));var h=u.minInt,f=u.minFrac,p=u.maxFrac;if(r){var g=r.match(ae);if(null===g)return s.error=r+" is not a valid digit info",s;var v=g[1],y=g[3],b=g[5];null!=v&&(h=Q(v)),null!=y&&(f=Q(y)),null!=b?p=Q(b):null!=y&&f>p&&(p=f)}!function(t,e,n){if(e>n)throw new Error("The minimum number of digits after fraction ("+e+") is higher than the maximum ("+n+").");var r=t.digits,i=r.length-t.integerLen,o=Math.min(Math.max(e,i),n),s=o+t.integerLen,a=r[s];if(s>0){r.splice(Math.max(t.integerLen,s));for(var u=s;u<r.length;u++)r[u]=0}else{i=Math.max(0,i),t.integerLen=1,r.length=Math.max(1,s=o+1),r[0]=0;for(var l=1;l<s;l++)r[l]=0}if(a>=5)if(s-1<0){for(var c=0;c>s;c--)r.unshift(0),t.integerLen++;r.unshift(1),t.integerLen++}else r[s-1]++;for(;i<Math.max(0,o);i++)r.push(0);var d=0!==o,h=e+t.integerLen,f=r.reduceRight(function(t,e,n,r){return e+=t,r[n]=e<10?e:e-10,d&&(0===r[n]&&n>=h?r.pop():d=!1),e>=10?1:0},0);f&&(r.unshift(f),t.integerLen++)}(d,f,p);var w=d.digits,S=d.integerLen,T=d.exponent,E=[];for(c=w.every(function(t){return!t});S<h;S++)w.unshift(0);for(;S<0;S++)w.unshift(0);S>0?E=w.splice(S,w.length):(E=w,w=[0]);var M=[];for(w.length>=u.lgSize&&M.unshift(w.splice(-u.lgSize,w.length).join(""));w.length>u.gSize;)M.unshift(w.splice(-u.gSize,w.length).join(""));w.length&&M.unshift(w.join(""));if(l=M.join(m(e,i?Tt.CurrencyGroup:Tt.Group)),E.length){l+=m(e,i?Tt.CurrencyDecimal:Tt.Decimal)+E.join("")}T&&(l+=m(e,Tt.Exponential)+"+"+T)}else l=m(e,Tt.Infinity);return l=o<0&&!c?u.negPre+l+u.negSuf:u.posPre+l+u.posSuf,n===vt.Currency&&null!==i?(s.str=l.replace(pe,i).replace(pe,""),s):n===vt.Percent?(s.str=l.replace(new RegExp(me,"g"),m(e,Tt.PercentSign)),s):(s.str=l,s)}function Q(t){var e=parseInt(t);if(isNaN(e))throw new Error("Invalid integer literal when parsing "+t);return e}function tt(t,e,n,r,i,o,s){if(void 0===o&&(o=null),void 0===s&&(s=!1),null==n)return null;if("number"!=typeof(n="string"!=typeof n||isNaN(+n-parseFloat(n))?n:+n))throw F(t,n);var a,u,l;if(r!==vt.Currency&&(a=1,u=0,l=3),i){var c=i.match(ae);if(null===c)throw new Error(i+" is not a valid digit info for number pipes");null!=c[1]&&(a=Q(c[1])),null!=c[3]&&(u=Q(c[3])),null!=c[5]&&(l=Q(c[5]))}return te.format(n,e,r,{minimumIntegerDigits:a,minimumFractionDigits:u,maximumFractionDigits:l,currency:o,currencyAsSymbol:s})}function et(t){return null==t||""===t||t!=t}function nt(t){return t===Fe}function rt(t){return t===He}function it(t){return t===Be}function ot(t){return t===Ve}Object.defineProperty(e,"__esModule",{value:!0}),n.d(e,"ɵregisterLocaleData",function(){return i}),n.d(e,"NgLocaleLocalization",function(){return Ct}),n.d(e,"NgLocalization",function(){return xt}),n.d(e,"registerLocaleData",function(){return i}),n.d(e,"Plural",function(){return yt}),n.d(e,"NumberFormatStyle",function(){return vt}),n.d(e,"FormStyle",function(){return bt}),n.d(e,"TranslationWidth",function(){return wt}),n.d(e,"FormatWidth",function(){return St}),n.d(e,"NumberSymbol",function(){return Tt}),n.d(e,"WeekDay",function(){return Et}),n.d(e,"getCurrencySymbol",function(){return x}),n.d(e,"getLocaleDayPeriods",function(){return s}),n.d(e,"getLocaleDayNames",function(){return a}),n.d(e,"getLocaleMonthNames",function(){return u}),n.d(e,"getLocaleId",function(){return o}),n.d(e,"getLocaleEraNames",function(){return l}),n.d(e,"getLocaleWeekEndRange",function(){return d}),n.d(e,"getLocaleFirstDayOfWeek",function(){return c}),n.d(e,"getLocaleDateFormat",function(){return h}),n.d(e,"getLocaleDateTimeFormat",function(){return p}),n.d(e,"getLocaleExtraDayPeriodRules",function(){return w}),n.d(e,"getLocaleExtraDayPeriods",function(){return S}),n.d(e,"getLocalePluralCase",function(){return y}),n.d(e,"getLocaleTimeFormat",function(){return f}),n.d(e,"getLocaleNumberSymbol",function(){return m}),n.d(e,"getLocaleNumberFormat",function(){return _}),n.d(e,"getLocaleCurrencyName",function(){return v}),n.d(e,"getLocaleCurrencySymbol",function(){return g}),n.d(e,"ɵparseCookieValue",function(){return D}),n.d(e,"CommonModule",function(){return Ne}),n.d(e,"DeprecatedI18NPipesModule",function(){return je}),n.d(e,"NgClass",function(){return Ot}),n.d(e,"NgForOf",function(){return Lt}),n.d(e,"NgForOfContext",function(){return kt}),n.d(e,"NgIf",function(){return It}),n.d(e,"NgIfContext",function(){return Pt}),n.d(e,"NgPlural",function(){return Ft}),n.d(e,"NgPluralCase",function(){return Ht}),n.d(e,"NgStyle",function(){return Bt}),n.d(e,"NgSwitch",function(){return Nt}),n.d(e,"NgSwitchCase",function(){return jt}),n.d(e,"NgSwitchDefault",function(){return Yt}),n.d(e,"NgTemplateOutlet",function(){return Vt}),n.d(e,"NgComponentOutlet",function(){return Dt}),n.d(e,"DOCUMENT",function(){return Ye}),n.d(e,"AsyncPipe",function(){return Te}),n.d(e,"DatePipe",function(){return Qt}),n.d(e,"I18nPluralPipe",function(){return Oe}),n.d(e,"I18nSelectPipe",function(){return De}),n.d(e,"JsonPipe",function(){return ke}),n.d(e,"LowerCasePipe",function(){return Ee}),n.d(e,"CurrencyPipe",function(){return Ie}),n.d(e,"DecimalPipe",function(){return Le}),n.d(e,"PercentPipe",function(){return Ae}),n.d(e,"SlicePipe",function(){return Pe}),n.d(e,"UpperCasePipe",function(){return xe}),n.d(e,"TitleCasePipe",function(){return Me}),n.d(e,"DeprecatedDatePipe",function(){return se}),n.d(e,"DeprecatedCurrencyPipe",function(){return ve}),n.d(e,"DeprecatedDecimalPipe",function(){return _e}),n.d(e,"DeprecatedPercentPipe",function(){return ge}),n.d(e,"ɵPLATFORM_BROWSER_ID",function(){return Fe}),n.d(e,"ɵPLATFORM_SERVER_ID",function(){return He}),n.d(e,"ɵPLATFORM_WORKER_APP_ID",function(){return Be}),n.d(e,"ɵPLATFORM_WORKER_UI_ID",function(){return Ve}),n.d(e,"isPlatformBrowser",function(){return nt}),n.d(e,"isPlatformServer",function(){return rt}),n.d(e,"isPlatformWorkerApp",function(){return it}),n.d(e,"isPlatformWorkerUi",function(){return ot}),n.d(e,"VERSION",function(){return ze}),n.d(e,"PlatformLocation",function(){return ut}),n.d(e,"LOCATION_INITIALIZED",function(){return lt}),n.d(e,"LocationStrategy",function(){return ct}),n.d(e,"APP_BASE_HREF",function(){return dt}),n.d(e,"HashLocationStrategy",function(){return ft}),n.d(e,"PathLocationStrategy",function(){return pt}),n.d(e,"Location",function(){return ht}),n.d(e,"ɵe",function(){return zt}),n.d(e,"ɵd",function(){return M}),n.d(e,"ɵa",function(){return Mt}),n.d(e,"ɵb",function(){return O}),n.d(e,"ɵg",function(){return ye}),n.d(e,"ɵf",function(){return Re});var st=n(1),at=n(0),ut=function(){return function(){}}(),lt=new st.InjectionToken("Location Initialized"),ct=function(){return function(){}}(),dt=new st.InjectionToken("appBaseHref"),ht=function(){function t(e){var n=this;this._subject=new st.EventEmitter,this._platformStrategy=e;var i=this._platformStrategy.getBaseHref();this._baseHref=t.stripTrailingSlash(r(i)),this._platformStrategy.onPopState(function(t){n._subject.emit({url:n.path(!0),pop:!0,type:t.type})})}return t.prototype.path=function(t){return void 0===t&&(t=!1),this.normalize(this._platformStrategy.path(t))},t.prototype.isCurrentPathEqualTo=function(e,n){return void 0===n&&(n=""),this.path()==this.normalize(e+t.normalizeQueryParams(n))},t.prototype.normalize=function(e){return t.stripTrailingSlash(function(t,e){return t&&e.startsWith(t)?e.substring(t.length):e}(this._baseHref,r(e)))},t.prototype.prepareExternalUrl=function(t){return t&&"/"!==t[0]&&(t="/"+t),this._platformStrategy.prepareExternalUrl(t)},t.prototype.go=function(t,e){void 0===e&&(e=""),this._platformStrategy.pushState(null,"",t,e)},t.prototype.replaceState=function(t,e){void 0===e&&(e=""),this._platformStrategy.replaceState(null,"",t,e)},t.prototype.forward=function(){this._platformStrategy.forward()},t.prototype.back=function(){this._platformStrategy.back()},t.prototype.subscribe=function(t,e,n){return this._subject.subscribe({next:t,error:e,complete:n})},t.normalizeQueryParams=function(t){return t&&"?"!==t[0]?"?"+t:t},t.joinWithSlash=function(t,e){if(0==t.length)return e;if(0==e.length)return t;var n=0;return t.endsWith("/")&&n++,e.startsWith("/")&&n++,2==n?t+e.substring(1):1==n?t+e:t+"/"+e},t.stripTrailingSlash=function(t){var e=t.match(/#|\?|$/),n=e&&e.index||t.length;return t.slice(0,n-("/"===t[n-1]?1:0))+t.slice(n)},t}(),ft=function(t){function e(e,n){var r=t.call(this)||this;return r._platformLocation=e,r._baseHref="",null!=n&&(r._baseHref=n),r}return Object(at.__extends)(e,t),e.prototype.onPopState=function(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)},e.prototype.getBaseHref=function(){return this._baseHref},e.prototype.path=function(t){void 0===t&&(t=!1);var e=this._platformLocation.hash;return null==e&&(e="#"),e.length>0?e.substring(1):e},e.prototype.prepareExternalUrl=function(t){var e=ht.joinWithSlash(this._baseHref,t);return e.length>0?"#"+e:e},e.prototype.pushState=function(t,e,n,r){var i=this.prepareExternalUrl(n+ht.normalizeQueryParams(r));0==i.length&&(i=this._platformLocation.pathname),this._platformLocation.pushState(t,e,i)},e.prototype.replaceState=function(t,e,n,r){var i=this.prepareExternalUrl(n+ht.normalizeQueryParams(r));0==i.length&&(i=this._platformLocation.pathname),this._platformLocation.replaceState(t,e,i)},e.prototype.forward=function(){this._platformLocation.forward()},e.prototype.back=function(){this._platformLocation.back()},e}(ct),pt=function(t){function e(e,n){var r=t.call(this)||this;if(r._platformLocation=e,null==n&&(n=r._platformLocation.getBaseHrefFromDOM()),null==n)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");return r._baseHref=n,r}return Object(at.__extends)(e,t),e.prototype.onPopState=function(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)},e.prototype.getBaseHref=function(){return this._baseHref},e.prototype.prepareExternalUrl=function(t){return ht.joinWithSlash(this._baseHref,t)},e.prototype.path=function(t){void 0===t&&(t=!1);var e=this._platformLocation.pathname+ht.normalizeQueryParams(this._platformLocation.search),n=this._platformLocation.hash;return n&&t?""+e+n:e},e.prototype.pushState=function(t,e,n,r){var i=this.prepareExternalUrl(n+ht.normalizeQueryParams(r));this._platformLocation.pushState(t,e,i)},e.prototype.replaceState=function(t,e,n,r){var i=this.prepareExternalUrl(n+ht.normalizeQueryParams(r));this._platformLocation.replaceState(t,e,i)},e.prototype.forward=function(){this._platformLocation.forward()},e.prototype.back=function(){this._platformLocation.back()},e}(ct),mt={AOA:[,"Kz"],ARS:[,"$"],AUD:["A$","$"],BAM:[,"KM"],BBD:[,"$"],BDT:[,"৳"],BMD:[,"$"],BND:[,"$"],BOB:[,"Bs"],BRL:["R$"],BSD:[,"$"],BWP:[,"P"],BYN:[,"р."],BZD:[,"$"],CAD:["CA$","$"],CLP:[,"$"],CNY:["CN¥","¥"],COP:[,"$"],CRC:[,"₡"],CUC:[,"$"],CUP:[,"$"],CZK:[,"Kč"],DKK:[,"kr"],DOP:[,"$"],EGP:[,"E£"],ESP:[,"₧"],EUR:["€"],FJD:[,"$"],FKP:[,"£"],GBP:["£"],GEL:[,"₾"],GIP:[,"£"],GNF:[,"FG"],GTQ:[,"Q"],GYD:[,"$"],HKD:["HK$","$"],HNL:[,"L"],HRK:[,"kn"],HUF:[,"Ft"],IDR:[,"Rp"],ILS:["₪"],INR:["₹"],ISK:[,"kr"],JMD:[,"$"],JPY:["¥"],KHR:[,"៛"],KMF:[,"CF"],KPW:[,"₩"],KRW:["₩"],KYD:[,"$"],KZT:[,"₸"],LAK:[,"₭"],LBP:[,"L£"],LKR:[,"Rs"],LRD:[,"$"],LTL:[,"Lt"],LVL:[,"Ls"],MGA:[,"Ar"],MMK:[,"K"],MNT:[,"₮"],MUR:[,"Rs"],MXN:["MX$","$"],MYR:[,"RM"],NAD:[,"$"],NGN:[,"₦"],NIO:[,"C$"],NOK:[,"kr"],NPR:[,"Rs"],NZD:["NZ$","$"],PHP:[,"₱"],PKR:[,"Rs"],PLN:[,"zł"],PYG:[,"₲"],RON:[,"lei"],RUB:[,"₽"],RUR:[,"р."],RWF:[,"RF"],SBD:[,"$"],SEK:[,"kr"],SGD:[,"$"],SHP:[,"£"],SRD:[,"$"],SSP:[,"£"],STD:[,"Db"],SYP:[,"£"],THB:[,"฿"],TOP:[,"T$"],TRY:[,"₺"],TTD:[,"$"],TWD:["NT$","$"],UAH:[,"₴"],USD:["$"],UYU:[,"$"],VEF:[,"Bs"],VND:["₫"],XAF:["FCFA"],XCD:["EC$","$"],XOF:["CFA"],XPF:["CFPF"],ZAR:[,"R"],ZMW:[,"ZK"]},_t=["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","×","‰","∞","NaN",":"],["#,##0.###","#,##0%","¤#,##0.00","#E0"],"$","US Dollar",function(t){var e=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===n?1:5}],gt={},vt=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}(),yt=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}(),bt=function(){var t={Format:0,Standalone:1};return t[t.Format]="Format",t[t.Standalone]="Standalone",t}(),wt=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}(),St=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}(),Tt=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}(),Et=function(){var t={Sunday:0,Monday:1,Tuesday:2,Wednesday:3,Thursday:4,Friday:5,Saturday:6};return t[t.Sunday]="Sunday",t[t.Monday]="Monday",t[t.Tuesday]="Tuesday",t[t.Wednesday]="Wednesday",t[t.Thursday]="Thursday",t[t.Friday]="Friday",t[t.Saturday]="Saturday",t}(),Mt=new st.InjectionToken("UseV4Plurals"),xt=function(){return function(){}}(),Ct=function(t){function e(e,n){var r=t.call(this)||this;return r.locale=e,r.deprecatedPluralFn=n,r}return Object(at.__extends)(e,t),e.prototype.getPluralCategory=function(t,e){switch(this.deprecatedPluralFn?this.deprecatedPluralFn(e||this.locale,t):y(e||this.locale)(t)){case yt.Zero:return"zero";case yt.One:return"one";case yt.Two:return"two";case yt.Few:return"few";case yt.Many:return"many";default:return"other"}},e}(xt),Ot=function(){function t(t,e,n,r){this._iterableDiffers=t,this._keyValueDiffers=e,this._ngEl=n,this._renderer=r,this._initialClasses=[]}return Object.defineProperty(t.prototype,"klass",{set:function(t){this._applyInitialClasses(!0),this._initialClasses="string"==typeof t?t.split(/\s+/):[],this._applyInitialClasses(!1),this._applyClasses(this._rawClass,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClass",{set:function(t){this._cleanupClasses(this._rawClass),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof t?t.split(/\s+/):t,this._rawClass&&(Object(st["ɵisListLikeIterable"])(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 e=this._keyValueDiffer.diff(this._rawClass);e&&this._applyKeyValueChanges(e)}},t.prototype._cleanupClasses=function(t){this._applyClasses(t,!0),this._applyInitialClasses(!1)},t.prototype._applyKeyValueChanges=function(t){var e=this;t.forEachAddedItem(function(t){return e._toggleClass(t.key,t.currentValue)}),t.forEachChangedItem(function(t){return e._toggleClass(t.key,t.currentValue)}),t.forEachRemovedItem(function(t){t.previousValue&&e._toggleClass(t.key,!1)})},t.prototype._applyIterableChanges=function(t){var e=this;t.forEachAddedItem(function(t){if("string"!=typeof t.item)throw new Error("NgClass can only toggle CSS classes expressed as strings, got "+Object(st["ɵstringify"])(t.item));e._toggleClass(t.item,!0)}),t.forEachRemovedItem(function(t){return e._toggleClass(t.item,!1)})},t.prototype._applyInitialClasses=function(t){var e=this;this._initialClasses.forEach(function(n){return e._toggleClass(n,!t)})},t.prototype._applyClasses=function(t,e){var n=this;t&&(Array.isArray(t)||t instanceof Set?t.forEach(function(t){return n._toggleClass(t,!e)}):Object.keys(t).forEach(function(r){null!=t[r]&&n._toggleClass(r,!e)}))},t.prototype._toggleClass=function(t,e){var n=this;(t=t.trim())&&t.split(/\s+/g).forEach(function(t){e?n._renderer.addClass(n._ngEl.nativeElement,t):n._renderer.removeClass(n._ngEl.nativeElement,t)})},t}(),Dt=function(){function t(t){this._viewContainerRef=t,this._componentRef=null,this._moduleRef=null}return t.prototype.ngOnChanges=function(t){if(this._viewContainerRef.clear(),this._componentRef=null,this.ngComponentOutlet){var e=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;if(t.ngComponentOutletNgModuleFactory)if(this._moduleRef&&this._moduleRef.destroy(),this.ngComponentOutletNgModuleFactory){var n=e.get(st.NgModuleRef);this._moduleRef=this.ngComponentOutletNgModuleFactory.create(n.injector)}else this._moduleRef=null;var r=(this._moduleRef?this._moduleRef.componentFactoryResolver:e.get(st.ComponentFactoryResolver)).resolveComponentFactory(this.ngComponentOutlet);this._componentRef=this._viewContainerRef.createComponent(r,this._viewContainerRef.length,e,this.ngComponentOutletContent)}},t.prototype.ngOnDestroy=function(){this._moduleRef&&this._moduleRef.destroy()},t}(),kt=function(){function t(t,e,n,r){this.$implicit=t,this.ngForOf=e,this.index=n,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}(),Lt=function(){function t(t,e,n){this._viewContainer=t,this._template=e,this._differs=n,this._differ=null}return Object.defineProperty(t.prototype,"ngForTrackBy",{get:function(){return this._trackByFn},set:function(t){Object(st.isDevMode)()&&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 e=t.ngForOf.currentValue;if(!this._differ&&e)try{this._differ=this._differs.find(e).create(this.ngForTrackBy)}catch(t){throw new Error("Cannot find a differ supporting object '"+e+"' of type '"+function(t){return t.name||typeof t}(e)+"'. NgFor only supports binding to Iterables such as Arrays.")}}},t.prototype.ngDoCheck=function(){if(this._differ){var t=this._differ.diff(this.ngForOf);t&&this._applyChanges(t)}},t.prototype._applyChanges=function(t){var e=this,n=[];t.forEachOperation(function(t,r,i){if(null==t.previousIndex){var o=e._viewContainer.createEmbeddedView(e._template,new kt(null,e.ngForOf,-1,-1),i),s=new At(t,o);n.push(s)}else if(null==i)e._viewContainer.remove(r);else{o=e._viewContainer.get(r);e._viewContainer.move(o,i);s=new At(t,o);n.push(s)}});for(var r=0;r<n.length;r++)this._perViewChange(n[r].view,n[r].record);r=0;for(var i=this._viewContainer.length;r<i;r++){var o=this._viewContainer.get(r);o.context.index=r,o.context.count=i}t.forEachIdentityChange(function(t){e._viewContainer.get(t.currentIndex).context.$implicit=t.item})},t.prototype._perViewChange=function(t,e){t.context.$implicit=e.item},t}(),At=function(){return function(t,e){this.record=t,this.view=e}}(),It=function(){function t(t,e){this._viewContainer=t,this._context=new Pt,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=e}return Object.defineProperty(t.prototype,"ngIf",{set:function(t){this._context.$implicit=this._context.ngIf=t,this._updateView()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngIfThen",{set:function(t){this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngIfElse",{set:function(t){this._elseTemplateRef=t,this._elseViewRef=null,this._updateView()},enumerable:!0,configurable:!0}),t.prototype._updateView=function(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))},t}(),Pt=function(){return function(){this.$implicit=null,this.ngIf=null}}(),Rt=function(){function t(t,e){this._viewContainerRef=t,this._templateRef=e,this._created=!1}return t.prototype.create=function(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)},t.prototype.destroy=function(){this._created=!1,this._viewContainerRef.clear()},t.prototype.enforceState=function(t){t&&!this._created?this.create():!t&&this._created&&this.destroy()},t}(),Nt=function(){function t(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}return Object.defineProperty(t.prototype,"ngSwitch",{set:function(t){this._ngSwitch=t,0===this._caseCount&&this._updateDefaultCases(!0)},enumerable:!0,configurable:!0}),t.prototype._addCase=function(){return this._caseCount++},t.prototype._addDefault=function(t){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(t)},t.prototype._matchCase=function(t){var e=t==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||e,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),e},t.prototype._updateDefaultCases=function(t){if(this._defaultViews&&t!==this._defaultUsed){this._defaultUsed=t;for(var e=0;e<this._defaultViews.length;e++){this._defaultViews[e].enforceState(t)}}},t}(),jt=function(){function t(t,e,n){this.ngSwitch=n,n._addCase(),this._view=new Rt(t,e)}return t.prototype.ngDoCheck=function(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))},t}(),Yt=function(){return function(t,e,n){n._addDefault(new Rt(t,e))}}(),Ft=function(){function t(t){this._localization=t,this._caseViews={}}return Object.defineProperty(t.prototype,"ngPlural",{set:function(t){this._switchValue=t,this._updateView()},enumerable:!0,configurable:!0}),t.prototype.addCase=function(t,e){this._caseViews[t]=e},t.prototype._updateView=function(){this._clearViews();var t=Object.keys(this._caseViews),e=C(this._switchValue,t,this._localization);this._activateView(this._caseViews[e])},t.prototype._clearViews=function(){this._activeView&&this._activeView.destroy()},t.prototype._activateView=function(t){t&&(this._activeView=t,this._activeView.create())},t}(),Ht=function(){return function(t,e,n,r){this.value=t;var i=!isNaN(Number(t));r.addCase(i?"="+t:t,new Rt(n,e))}}(),Bt=function(){function t(t,e,n){this._differs=t,this._ngEl=e,this._renderer=n}return Object.defineProperty(t.prototype,"ngStyle",{set:function(t){this._ngStyle=t,!this._differ&&t&&(this._differ=this._differs.find(t).create())},enumerable:!0,configurable:!0}),t.prototype.ngDoCheck=function(){if(this._differ){var t=this._differ.diff(this._ngStyle);t&&this._applyChanges(t)}},t.prototype._applyChanges=function(t){var e=this;t.forEachRemovedItem(function(t){return e._setStyle(t.key,null)}),t.forEachAddedItem(function(t){return e._setStyle(t.key,t.currentValue)}),t.forEachChangedItem(function(t){return e._setStyle(t.key,t.currentValue)})},t.prototype._setStyle=function(t,e){var n=t.split("."),r=n[0],i=n[1];null!=(e=null!=e&&i?""+e+i:e)?this._renderer.setStyle(this._ngEl.nativeElement,r,e):this._renderer.removeStyle(this._ngEl.nativeElement,r)},t}(),Vt=function(){function t(t){this._viewContainerRef=t}return t.prototype.ngOnChanges=function(t){this._shouldRecreateView(t)?(this._viewRef&&this._viewContainerRef.remove(this._viewContainerRef.indexOf(this._viewRef)),this.ngTemplateOutlet&&(this._viewRef=this._viewContainerRef.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext))):this._viewRef&&this.ngTemplateOutletContext&&this._updateExistingContext(this.ngTemplateOutletContext)},t.prototype._shouldRecreateView=function(t){var e=t.ngTemplateOutletContext;return!!t.ngTemplateOutlet||e&&this._hasContextShapeChanged(e)},t.prototype._hasContextShapeChanged=function(t){var e=Object.keys(t.previousValue||{}),n=Object.keys(t.currentValue||{});if(e.length===n.length){for(var r=0,i=n;r<i.length;r++){if(-1===e.indexOf(i[r]))return!0}return!1}return!0},t.prototype._updateExistingContext=function(t){for(var e=0,n=Object.keys(t);e<n.length;e++){var r=n[e];this._viewRef.context[r]=this.ngTemplateOutletContext[r]}},t}(),zt=[Ot,Dt,Lt,It,Vt,Bt,Nt,jt,Yt,Ft,Ht],Wt={},Ut=/((?:[^GyMLwWdEabBhHmsSzZO']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/,qt=function(){var t={Short:0,ShortGMT:1,Long:2,Extended:3};return t[t.Short]="Short",t[t.ShortGMT]="ShortGMT",t[t.Long]="Long",t[t.Extended]="Extended",t}(),Gt=function(){var t={FullYear:0,Month:1,Date:2,Hours:3,Minutes:4,Seconds:5,Milliseconds:6,Day:7};return t[t.FullYear]="FullYear",t[t.Month]="Month",t[t.Date]="Date",t[t.Hours]="Hours",t[t.Minutes]="Minutes",t[t.Seconds]="Seconds",t[t.Milliseconds]="Milliseconds",t[t.Day]="Day",t}(),Xt=function(){var t={DayPeriods:0,Days:1,Months:2,Eras:3};return t[t.DayPeriods]="DayPeriods",t[t.Days]="Days",t[t.Months]="Months",t[t.Eras]="Eras",t}(),Kt=0,Zt=4,$t={},Jt=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Qt=function(){function t(t){this.locale=t}return t.prototype.transform=function(e,n,r,i){if(void 0===n&&(n="mediumDate"),null==e||""===e||e!=e)return null;"string"==typeof e&&(e=e.trim());var o,s;if(B(e))o=e;else if(isNaN(e-parseFloat(e)))if("string"==typeof e&&/^(\d{4}-\d{1,2}-\d{1,2})$/.test(e)){var a=e.split("-").map(function(t){return+t}),u=a[0],l=a[1],c=a[2];o=new Date(u,l-1,c)}else o="string"==typeof e&&(s=e.match(Jt))?H(s):new Date(e);else o=new Date(parseFloat(e));if(!B(o))throw F(t,e);return k(o,n,i||this.locale,r)},t}(),te=function(){function t(){}return t.format=function(t,e,n,r){void 0===r&&(r={});var i=r.currency,o=r.currencyAsSymbol,s=void 0!==o&&o,a={minimumIntegerDigits:r.minimumIntegerDigits,minimumFractionDigits:r.minimumFractionDigits,maximumFractionDigits:r.maximumFractionDigits,style:vt[n].toLowerCase()};return n==vt.Currency&&(a.currency="string"==typeof i?i:void 0,a.currencyDisplay=s?"symbol":"code"),new Intl.NumberFormat(e,a).format(t)},t}(),ee=/((?:[^yMLdHhmsazZEwGjJ']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|L+|d+|H+|h+|J+|j+|m+|s+|a|z|Z|G+|w+))(.*)/,ne={yMMMdjms:Z(K([G("year",1),X("month",3),G("day",1),G("hour",1),G("minute",1),G("second",1)])),yMdjm:Z(K([G("year",1),G("month",1),G("day",1),G("hour",1),G("minute",1)])),yMMMMEEEEd:Z(K([G("year",1),X("month",4),X("weekday",4),G("day",1)])),yMMMMd:Z(K([G("year",1),X("month",4),G("day",1)])),yMMMd:Z(K([G("year",1),X("month",3),G("day",1)])),yMd:Z(K([G("year",1),G("month",1),G("day",1)])),jms:Z(K([G("hour",1),G("second",1),G("minute",1)])),jm:Z(K([G("hour",1),G("minute",1)]))},re={yyyy:Z(G("year",4)),yy:Z(G("year",2)),y:Z(G("year",1)),MMMM:Z(X("month",4)),MMM:Z(X("month",3)),MM:Z(G("month",2)),M:Z(G("month",1)),LLLL:Z(X("month",4)),L:Z(X("month",1)),dd:Z(G("day",2)),d:Z(G("day",1)),HH:V(z(Z(q(G("hour",2),!1)))),H:z(Z(q(G("hour",1),!1))),hh:V(z(Z(q(G("hour",2),!0)))),h:z(Z(q(G("hour",1),!0))),jj:Z(G("hour",2)),j:Z(G("hour",1)),mm:V(Z(G("minute",2))),m:Z(G("minute",1)),ss:V(Z(G("second",2))),s:Z(G("second",1)),sss:Z(G("second",3)),EEEE:Z(X("weekday",4)),EEE:Z(X("weekday",3)),EE:Z(X("weekday",2)),E:Z(X("weekday",1)),a:function(t){return function(e,n){return t(e,n).split(" ")[1]}}(Z(q(G("hour",1),!0))),Z:U("short"),z:U("long"),ww:Z({}),w:Z({}),G:Z(X("era",1)),GG:Z(X("era",2)),GGG:Z(X("era",3)),GGGG:Z(X("era",4))},ie=new Map,oe=function(){function t(){}return t.format=function(t,e,n){return function(t,e,n){var r=ne[t];if(r)return r(e,n);var i=t,o=ie.get(i);if(!o){o=[];var s=void 0;ee.exec(t);for(var a=t;a;)(s=ee.exec(a))?a=(o=o.concat(s.slice(1))).pop():(o.push(a),a=null);ie.set(i,o)}return o.reduce(function(t,r){var i=re[r];return t+(i?i(e,n):function(t){return"''"===t?"'":t.replace(/(^'|'$)/g,"").replace(/''/g,"'")}(r))},"")}(n,t,e)},t}(),se=function(){function t(t){this._locale=t}return t.prototype.transform=function(e,n){if(void 0===n&&(n="mediumDate"),null==e||""===e||e!=e)return null;var r;if("string"==typeof e&&(e=e.trim()),$(e))r=e;else if(isNaN(e-parseFloat(e)))if("string"==typeof e&&/^(\d{4}-\d{1,2}-\d{1,2})$/.test(e)){var i=e.split("-").map(function(t){return parseInt(t,10)}),o=i[0],s=i[1],a=i[2];r=new Date(o,s-1,a)}else r=new Date(e);else r=new Date(parseFloat(e));if(!$(r)){var u=void 0;if("string"!=typeof e||!(u=e.match(Jt)))throw F(t,e);r=H(u)}return oe.format(r,this._locale,t._ALIASES[n]||n)},t._ALIASES={medium:"yMMMdjms",short:"yMdjm",fullDate:"yMMMMEEEEd",longDate:"yMMMMd",mediumDate:"yMMMd",shortDate:"yMd",mediumTime:"jms",shortTime:"jm"},t}(),ae=/^(\d+)?\.((\d+)(-(\d+))?)?$/,ue=22,le=".",ce="0",de=";",he=",",fe="#",pe="¤",me="%",_e=function(){function t(t){this._locale=t}return t.prototype.transform=function(e,n){return tt(t,this._locale,e,vt.Decimal,n)},t}(),ge=function(){function t(t){this._locale=t}return t.prototype.transform=function(e,n){return tt(t,this._locale,e,vt.Percent,n)},t}(),ve=function(){function t(t){this._locale=t}return t.prototype.transform=function(e,n,r,i){return void 0===n&&(n="USD"),void 0===r&&(r=!1),tt(t,this._locale,e,vt.Currency,i,n,r)},t}(),ye=[_e,ge,ve,se],be=function(){function t(){}return t.prototype.createSubscription=function(t,e){return t.subscribe({next:e,error:function(t){throw t}})},t.prototype.dispose=function(t){t.unsubscribe()},t.prototype.onDestroy=function(t){t.unsubscribe()},t}(),we=new(function(){function t(){}return t.prototype.createSubscription=function(t,e){return t.then(e,function(t){throw t})},t.prototype.dispose=function(t){},t.prototype.onDestroy=function(t){},t}()),Se=new be,Te=function(){function t(t){this._ref=t,this._latestValue=null,this._latestReturnedValue=null,this._subscription=null,this._obj=null,this._strategy=null}return t.prototype.ngOnDestroy=function(){this._subscription&&this._dispose()},t.prototype.transform=function(t){return this._obj?t!==this._obj?(this._dispose(),this.transform(t)):this._latestValue===this._latestReturnedValue?this._latestReturnedValue:(this._latestReturnedValue=this._latestValue,st.WrappedValue.wrap(this._latestValue)):(t&&this._subscribe(t),this._latestReturnedValue=this._latestValue,this._latestValue)},t.prototype._subscribe=function(t){var e=this;this._obj=t,this._strategy=this._selectStrategy(t),this._subscription=this._strategy.createSubscription(t,function(n){return e._updateLatestValue(t,n)})},t.prototype._selectStrategy=function(e){if(Object(st["ɵisPromise"])(e))return we;if(Object(st["ɵisObservable"])(e))return Se;throw F(t,e)},t.prototype._dispose=function(){this._strategy.dispose(this._subscription),this._latestValue=null,this._latestReturnedValue=null,this._subscription=null,this._obj=null},t.prototype._updateLatestValue=function(t,e){t===this._obj&&(this._latestValue=e,this._ref.markForCheck())},t}(),Ee=function(){function t(){}return t.prototype.transform=function(e){if(!e)return e;if("string"!=typeof e)throw F(t,e);return e.toLowerCase()},t}(),Me=function(){function t(){}return t.prototype.transform=function(e){if(!e)return e;if("string"!=typeof e)throw F(t,e);return e.split(/\b/g).map(function(t){return function(t){return t?t[0].toUpperCase()+t.substr(1).toLowerCase():t}(t)}).join("")},t}(),xe=function(){function t(){}return t.prototype.transform=function(e){if(!e)return e;if("string"!=typeof e)throw F(t,e);return e.toUpperCase()},t}(),Ce=/#/g,Oe=function(){function t(t){this._localization=t}return t.prototype.transform=function(e,n,r){if(null==e)return"";if("object"!=typeof n||null===n)throw F(t,n);return n[C(e,Object.keys(n),this._localization,r)].replace(Ce,e.toString())},t}(),De=function(){function t(){}return t.prototype.transform=function(e,n){if(null==e)return"";if("object"!=typeof n||"string"!=typeof e)throw F(t,n);return n.hasOwnProperty(e)?n[e]:n.hasOwnProperty("other")?n.other:""},t}(),ke=function(){function t(){}return t.prototype.transform=function(t){return JSON.stringify(t,null,2)},t}(),Le=function(){function t(t){this._locale=t}return t.prototype.transform=function(e,n,r){if(et(e))return null;var i=J(e,r=r||this._locale,vt.Decimal,n),o=i.str,s=i.error;if(s)throw F(t,s);return o},t}(),Ae=function(){function t(t){this._locale=t}return t.prototype.transform=function(e,n,r){if(et(e))return null;var i=J(e,r=r||this._locale,vt.Percent,n),o=i.str,s=i.error;if(s)throw F(t,s);return o},t}(),Ie=function(){function t(t){this._locale=t}return t.prototype.transform=function(e,n,r,i,o){if(void 0===r&&(r="symbol"),et(e))return null;o=o||this._locale,"boolean"==typeof r&&(console&&console.warn&&console.warn('Warning: the currency pipe has been changed in Angular v5. The symbolDisplay option (third parameter) is now a string instead of a boolean. The accepted values are "code", "symbol" or "symbol-narrow".'),r=r?"symbol":"code");var s=n||"USD";"code"!==r&&(s=x(s,"symbol"===r?"wide":"narrow"));var a=J(e,o,vt.Currency,i,s),u=a.str,l=a.error;if(l)throw F(t,l);return u},t}(),Pe=function(){function t(){}return t.prototype.transform=function(e,n,r){if(null==e)return e;if(!this.supports(e))throw F(t,e);return e.slice(n,r)},t.prototype.supports=function(t){return"string"==typeof t||Array.isArray(t)},t}(),Re=[Te,xe,Ee,ke,Pe,Le,Ae,Me,Ie,Qt,Oe,De],Ne=function(){return function(){}}(),je=function(){return function(){}}(),Ye=new st.InjectionToken("DocumentToken"),Fe="browser",He="server",Be="browserWorkerApp",Ve="browserWorkerUi",ze=new st.Version("5.2.9")},function(t,e,n){"use strict";function r(t){return"function"==typeof t}n.d(e,"a",function(){return s});var i=n(20),o=(n.n(i),n(28)),s=(n.n(o),function(t,e){return void 0===e&&(e="ngOnDestroy"),function(n){var s=t[e];if(!1===r(s))throw new Error(t.constructor.name+" is using untilDestroyed but doesn't implement "+e);return t.__takeUntilDestroy||(t.__takeUntilDestroy=new i.Subject,t[e]=function(){r(s)&&s.apply(this,arguments),t.__takeUntilDestroy.next(!0),t.__takeUntilDestroy.complete()}),n.pipe(Object(o.takeUntil)(t.__takeUntilDestroy))}})},,function(t,e,n){"use strict";var r=n(0).__extends,i=n(183),o=n(38),s=n(397),a=n(184),u=function(t){function e(e,n,r){switch(t.call(this),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=s.empty;break;case 1:if(!e){this.destination=s.empty;break}if("object"==typeof e){if(function(t){return t instanceof u||"syncErrorThrowable"in t&&t[a.rxSubscriber]}(e)){var i=e[a.rxSubscriber]();this.syncErrorThrowable=i.syncErrorThrowable,this.destination=i,i.add(this)}else this.syncErrorThrowable=!0,this.destination=new l(this,e);break}default:this.syncErrorThrowable=!0,this.destination=new l(this,e,n,r)}}return r(e,t),e.prototype[a.rxSubscriber]=function(){return this},e.create=function(t,n,r){var i=new e(t,n,r);return i.syncErrorThrowable=!1,i},e.prototype.next=function(t){this.isStopped||this._next(t)},e.prototype.error=function(t){this.isStopped||(this.isStopped=!0,this._error(t))},e.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},e.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,t.prototype.unsubscribe.call(this))},e.prototype._next=function(t){this.destination.next(t)},e.prototype._error=function(t){this.destination.error(t),this.unsubscribe()},e.prototype._complete=function(){this.destination.complete(),this.unsubscribe()},e.prototype._unsubscribeAndRecycle=function(){var t=this._parent,e=this._parents;return this._parent=null,this._parents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parent=t,this._parents=e,this},e}(o.Subscription);e.Subscriber=u;var l=function(t){function e(e,n,r,o){t.call(this),this._parentSubscriber=e;var a,u=this;i.isFunction(n)?a=n:n&&(a=n.next,r=n.error,o=n.complete,n!==s.empty&&(u=Object.create(n),i.isFunction(u.unsubscribe)&&this.add(u.unsubscribe.bind(u)),u.unsubscribe=this.unsubscribe.bind(this))),this._context=u,this._next=a,this._error=r,this._complete=o}return r(e,t),e.prototype.next=function(t){if(!this.isStopped&&this._next){var e=this._parentSubscriber;e.syncErrorThrowable?this.__tryOrSetError(e,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}},e.prototype.error=function(t){if(!this.isStopped){var e=this._parentSubscriber;if(this._error)e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else{if(!e.syncErrorThrowable)throw this.unsubscribe(),t;e.syncErrorValue=t,e.syncErrorThrown=!0,this.unsubscribe()}}},e.prototype.complete=function(){var t=this;if(!this.isStopped){var e=this._parentSubscriber;if(this._complete){var n=function(){return t._complete.call(t._context)};e.syncErrorThrowable?(this.__tryOrSetError(e,n),this.unsubscribe()):(this.__tryOrUnsub(n),this.unsubscribe())}else this.unsubscribe()}},e.prototype.__tryOrUnsub=function(t,e){try{t.call(this._context,e)}catch(t){throw this.unsubscribe(),t}},e.prototype.__tryOrSetError=function(t,e,n){try{e.call(this._context,n)}catch(e){return t.syncErrorValue=e,t.syncErrorThrown=!0,!0}return!1},e.prototype._unsubscribe=function(){var t=this._parentSubscriber;this._context=null,this._parentSubscriber=null,t.unsubscribe()},e}(u)},function(t,e,n){"use strict";var r=n(1),i=n(49),o=function(){function t(){this.data={}}return t.prototype.parseUrl=function(t){if(t){var e=t.indexOf("?");if(e>-1)for(var n=t.slice(e+1).split("&"),r=0;r<n.length;r++)if(n[r].indexOf("=")>0){var i=n[r].split("=");i.length>1&&(this.data[i[0].toLowerCase()]=i[1].split("#")[0])}}},t.prototype.get=function(t){return this.data[t.toLowerCase()]},t}(),s=n(11);n.d(e,"a",function(){return a}),e.b=function(t,e,n){var r=new a;r.setDefault("core"),r.setPlatformConfigs(e),r.setZone(n);var i=t.documentElement;r.setDocument(t);var o=i.dir;r.setDir("rtl"===o?"rtl":"ltr",!o),r.setLang(i.lang,!1),r.setCssProps(i);var s=t.defaultView;return r.setWindow(s),r.setNavigatorPlatform(s.navigator.platform),r.setUserAgent(s.navigator.userAgent),r.setQueryParams(s.location.href),r.init(),s.Ionic=s.Ionic||{},s.Ionic.platform=r,r};var a=function(){function t(){var t=this;this._versions={},this._qp=new o,this._bbActions=[],this._pW=0,this._pH=0,this._lW=0,this._lH=0,this._isPortrait=null,this._uiEvtOpts=!1,this._platforms=[],this.backButton=new r.EventEmitter,this.pause=new r.EventEmitter,this.resume=new r.EventEmitter,this.resize=new r.EventEmitter,this._readyPromise=new Promise(function(e){t._readyResolve=e}),this.backButton.subscribe(function(){t.runBackButtonAction()})}return t.prototype.setWindow=function(t){this._win=t},t.prototype.win=function(){return this._win},t.prototype.setDocument=function(t){this._doc=t},t.prototype.doc=function(){return this._doc},t.prototype.setZone=function(t){this.zone=t},t.prototype.setCssProps=function(t){this.Css=Object(i.c)(t)},t.prototype.is=function(t){return this._platforms.indexOf(t)>-1},t.prototype.platforms=function(){return this._platforms},t.prototype.versions=function(){return this._versions},t.prototype.version=function(){for(var t in this._versions)if(this._versions[t])return this._versions[t];return{}},t.prototype.ready=function(){return this._readyPromise},t.prototype.triggerReady=function(t){var e=this;this.zone.run(function(){e._readyResolve(t)})},t.prototype.prepareReady=function(){function t(){e._doc.removeEventListener("DOMContentLoaded",t,!1),e._win.removeEventListener("load",t,!1),e.triggerReady("dom")}var e=this;"complete"===e._doc.readyState||"interactive"===e._doc.readyState?e.triggerReady("dom"):(e._doc.addEventListener("DOMContentLoaded",t,!1),e._win.addEventListener("load",t,!1))},t.prototype.setDir=function(t,e){this._dir=t,this.isRTL="rtl"===t,!1!==e&&this._doc.documentElement.setAttribute("dir",t)},t.prototype.dir=function(){return this._dir},t.prototype.setLang=function(t,e){this._lang=t,!1!==e&&this._doc.documentElement.setAttribute("lang",t)},t.prototype.lang=function(){return this._lang},t.prototype.exitApp=function(){},t.prototype.registerBackButtonAction=function(t,e){var n=this;void 0===e&&(e=0);var r={fn:t,priority:e};return this._bbActions.push(r),function(){Object(s.q)(n._bbActions,r)}},t.prototype.runBackButtonAction=function(){var t=null;this._bbActions.forEach(function(e){(!t||e.priority>=t.priority)&&(t=e)}),t&&t.fn&&t.fn()},t.prototype.setUserAgent=function(t){this._ua=t},t.prototype.setQueryParams=function(t){this._qp.parseUrl(t)},t.prototype.getQueryParam=function(t){return this._qp.get(t)},t.prototype.url=function(){return this._win.location.href},t.prototype.userAgent=function(){return this._ua||""},t.prototype.setNavigatorPlatform=function(t){this._nPlt=t},t.prototype.navigatorPlatform=function(){return this._nPlt||""},t.prototype.width=function(){return this._calcDim(),this._isPortrait?this._pW:this._lW},t.prototype.height=function(){return this._calcDim(),this._isPortrait?this._pH:this._lH},t.prototype.getElementComputedStyle=function(t,e){return this._win.getComputedStyle(t,e)},t.prototype.getElementFromPoint=function(t,e){return this._doc.elementFromPoint(t,e)},t.prototype.getElementBoundingClientRect=function(t){return t.getBoundingClientRect()},t.prototype.isPortrait=function(){return this._calcDim(),this._isPortrait},t.prototype.isLandscape=function(){return!this.isPortrait()},t.prototype._calcDim=function(){if(null===this._isPortrait||!1===this._isPortrait&&this._win.innerWidth<this._win.innerHeight){var t=this._win,e=t.innerWidth,n=t.innerHeight;t.screen.width>0&&t.screen.height>0&&(e<n?(this._pW<=e&&(this._isPortrait=!0,this._pW=e),this._pH<=n&&(this._isPortrait=!0,this._pH=n)):(this._lW!==e&&(this._isPortrait=!1,this._lW=e),this._lH!==n&&(this._isPortrait=!1,this._lH=n)))}},t.prototype.raf=function(t){return this._win.__zone_symbol__requestAnimationFrame(t)},t.prototype.cancelRaf=function(t){return this._win.__zone_symbol__cancelAnimationFrame(t)},t.prototype.timeout=function(t,e){return this._win.__zone_symbol__setTimeout(t,e)},t.prototype.cancelTimeout=function(t){this._win.__zone_symbol__clearTimeout(t)},t.prototype.registerListener=function(t,e,n,r,i){var o,s=this._uiEvtOpts?{capture:!!r.capture,passive:!!r.passive}:!!r.capture;return!r.zone&&t.__zone_symbol__addEventListener?(t.__zone_symbol__addEventListener(e,n,s),o=function(){t.__zone_symbol__removeEventListener(e,n,s)}):(t.addEventListener(e,n,s),o=function(){t.removeEventListener(e,n,s)}),i&&i.push(o),o},t.prototype.transitionEnd=function(t,e,n){function r(){o.forEach(function(t){t()})}function i(n){t===n.target&&(r(),e(n))}void 0===n&&(n=!0);var o=[];return t&&(this.registerListener(t,"webkitTransitionEnd",i,{zone:n},o),this.registerListener(t,"transitionend",i,{zone:n},o)),r},t.prototype.windowLoad=function(t){var e,n=this._win,r=this._doc;"complete"===r.readyState?t(n,r):e=this.registerListener(n,"load",function(){e&&e(),t(n,r)},{zone:!1})},t.prototype.isActiveElement=function(t){return!(!t||this.getActiveElement()!==t)},t.prototype.getActiveElement=function(){return this._doc.activeElement},t.prototype.hasFocus=function(t){return!(!t||this.getActiveElement()!==t||t.parentElement.querySelector(":focus")!==t)},t.prototype.hasFocusedTextInput=function(){var t=this.getActiveElement();return!!Object(i.e)(t)&&t.parentElement.querySelector(":focus")===t},t.prototype.focusOutActiveElement=function(){var t=this.getActiveElement();t&&t.blur&&t.blur()},t.prototype._initEvents=function(){var t=this;try{var e=Object.defineProperty({},"passive",{get:function(){t._uiEvtOpts=!0}});this._win.addEventListener("optsTest",null,e)}catch(t){}this.timeout(function(){var e;t.registerListener(t._win,"resize",function(){clearTimeout(e),e=setTimeout(function(){!1===t.hasFocusedTextInput()&&(t._isPortrait=null),t.zone.run(function(){return t.resize.emit()})},200)},{passive:!0,zone:!1})},2e3)},t.prototype.setPlatformConfigs=function(t){this._registry=t||{}},t.prototype.getPlatformConfig=function(t){return this._registry[t]||{}},t.prototype.registry=function(){return this._registry},t.prototype.setDefault=function(t){this._default=t},t.prototype.testQuery=function(t,e){return t.toLowerCase().split(";").indexOf(e)>-1},t.prototype.testNavigatorPlatform=function(t){return new RegExp(t,"i").test(this._nPlt)},t.prototype.matchUserAgentVersion=function(t){if(this._ua&&t){var e=this._ua.match(t);if(e)return{major:e[1],minor:e[2]}}},t.prototype.testUserAgent=function(t){return!!this._ua&&this._ua.indexOf(t)>=0},t.prototype.isPlatformMatch=function(t,e,n){void 0===n&&(n=[]);var r=this._qp.get("ionicplatform");if(r)return this.testQuery(r,t);e=e||[t];for(var i=this._ua.toLowerCase(),o=0;o<e.length;o++)if(i.indexOf(e[o])>-1){for(var s=0;s<n.length;s++)if(i.indexOf(n[s])>-1)return!1;return!0}return!1},t.prototype.init=function(){this._initEvents();var t,e,n;for(var r in this._registry)(n=this.matchPlatform(r))&&(n.isEngine?e=n:(!t||n.depth>t.depth)&&(t=n));if(t||(t=new u(this._registry,this._default)),t){e&&(e.child=t,t.parent=e,t=e);for(var i=t;i;)!function(t,e){var n=e.superset();if(n){var r=new u(t,n);r.parent=e.parent,r.child=e,r.parent&&(r.parent.child=r),e.parent=r}}(this._registry,i),i=i.child;for(i=t.parent;i;)t=i,i=i.parent;for(i=t;i;){if(i.initialize(this),"iphone"===i.name&&"iPad"===this.navigatorPlatform())return this._platforms.push("tablet"),void this._platforms.push("ipad");this._platforms.push(i.name),this._versions[i.name]=i.version(this),i=i.child}}this._platforms.indexOf("mobile")>-1&&-1===this._platforms.indexOf("cordova")&&this._platforms.push("mobileweb")},t.prototype.matchPlatform=function(t){var e=new u(this._registry,t).getRoot(this);if(e){e.depth=0;for(var n=e.child;n;)e.depth++,n=n.child}return e},t}(),u=function(){function t(t,e){this.registry=t,this.c=t[e],this.name=e,this.isEngine=this.c.isEngine}return t.prototype.settings=function(){return this.c.settings||{}},t.prototype.superset=function(){return this.c.superset},t.prototype.isMatch=function(t){return this.c.isMatch&&this.c.isMatch(t)||!1},t.prototype.initialize=function(t){this.c.initialize&&this.c.initialize(t)},t.prototype.version=function(t){if(this.c.versionParser){var e=this.c.versionParser(t);if(e){var n=e.major+"."+e.minor;return{str:n,num:parseFloat(n),major:parseInt(e.major,10),minor:parseInt(e.minor,10)}}}},t.prototype.getRoot=function(e){if(this.isMatch(e)){var n=this.getSubsetParents(this.name);if(!n.length)return this;for(var r=null,i=null,o=0;o<n.length;o++)if(r=new t(this.registry,n[o]),r.child=this,i=r.getRoot(e))return this.parent=r,i}return null},t.prototype.getSubsetParents=function(t){var e=[],n=null;for(var r in this.registry)(n=this.registry[r]).subsets&&n.subsets.indexOf(t)>-1&&e.push(r);return e},t}()},function(t,e,n){(function(t,r){var i;(function(){function o(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}function s(t,e,n,r){for(var i=-1,o=null==t?0:t.length;++i<o;){var s=t[i];e(r,s,n(s),t)}return r}function a(t,e){for(var n=-1,r=null==t?0:t.length;++n<r&&!1!==e(t[n],n,t););return t}function u(t,e){for(var n=null==t?0:t.length;n--&&!1!==e(t[n],n,t););return t}function l(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(!e(t[n],n,t))return!1;return!0}function c(t,e){for(var n=-1,r=null==t?0:t.length,i=0,o=[];++n<r;){var s=t[n];e(s,n,t)&&(o[i++]=s)}return o}function d(t,e){return!!(null==t?0:t.length)&&b(t,e,0)>-1}function h(t,e,n){for(var r=-1,i=null==t?0:t.length;++r<i;)if(n(e,t[r]))return!0;return!1}function f(t,e){for(var n=-1,r=null==t?0:t.length,i=Array(r);++n<r;)i[n]=e(t[n],n,t);return i}function p(t,e){for(var n=-1,r=e.length,i=t.length;++n<r;)t[i+n]=e[n];return t}function m(t,e,n,r){var i=-1,o=null==t?0:t.length;for(r&&o&&(n=t[++i]);++i<o;)n=e(n,t[i],i,t);return n}function _(t,e,n,r){var i=null==t?0:t.length;for(r&&i&&(n=t[--i]);i--;)n=e(n,t[i],i,t);return n}function g(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(e(t[n],n,t))return!0;return!1}function v(t,e,n){var r;return n(t,function(t,n,i){if(e(t,n,i))return r=n,!1}),r}function y(t,e,n,r){for(var i=t.length,o=n+(r?1:-1);r?o--:++o<i;)if(e(t[o],o,t))return o;return-1}function b(t,e,n){return e==e?function(t,e,n){var r=n-1,i=t.length;for(;++r<i;)if(t[r]===e)return r;return-1}(t,e,n):y(t,S,n)}function w(t,e,n,r){for(var i=n-1,o=t.length;++i<o;)if(r(t[i],e))return i;return-1}function S(t){return t!=t}function T(t,e){var n=null==t?0:t.length;return n?C(t,e)/n:bt}function E(t){return function(e){return null==e?z:e[t]}}function M(t){return function(e){return null==t?z:t[e]}}function x(t,e,n,r,i){return i(t,function(t,i,o){n=r?(r=!1,t):e(n,t,i,o)}),n}function C(t,e){for(var n,r=-1,i=t.length;++r<i;){var o=e(t[r]);o!==z&&(n=n===z?o:n+o)}return n}function O(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}function D(t){return function(e){return t(e)}}function k(t,e){return f(e,function(e){return t[e]})}function L(t,e){return t.has(e)}function A(t,e){for(var n=-1,r=t.length;++n<r&&b(e,t[n],0)>-1;);return n}function I(t,e){for(var n=t.length;n--&&b(e,t[n],0)>-1;);return n}function P(t){return"\\"+vn[t]}function R(t){return hn.test(t)}function N(t){var e=-1,n=Array(t.size);return t.forEach(function(t,r){n[++e]=[r,t]}),n}function j(t,e){return function(n){return t(e(n))}}function Y(t,e){for(var n=-1,r=t.length,i=0,o=[];++n<r;){var s=t[n];s!==e&&s!==K||(t[n]=K,o[i++]=n)}return o}function F(t,e){return"__proto__"==e?z:t[e]}function H(t){var e=-1,n=Array(t.size);return t.forEach(function(t){n[++e]=t}),n}function B(t){return R(t)?function(t){var e=cn.lastIndex=0;for(;cn.test(t);)++e;return e}(t):Rn(t)}function V(t){return R(t)?function(t){return t.match(cn)||[]}(t):function(t){return t.split("")}(t)}var z,W=200,U="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",q="Expected a function",G="__lodash_hash_undefined__",X=500,K="__lodash_placeholder__",Z=1,$=2,J=4,Q=1,tt=2,et=1,nt=2,rt=4,it=8,ot=16,st=32,at=64,ut=128,lt=256,ct=512,dt=30,ht="...",ft=800,pt=16,mt=1,_t=2,gt=1/0,vt=9007199254740991,yt=1.7976931348623157e308,bt=NaN,wt=4294967295,St=wt-1,Tt=wt>>>1,Et=[["ary",ut],["bind",et],["bindKey",nt],["curry",it],["curryRight",ot],["flip",ct],["partial",st],["partialRight",at],["rearg",lt]],Mt="[object Arguments]",xt="[object Array]",Ct="[object AsyncFunction]",Ot="[object Boolean]",Dt="[object Date]",kt="[object DOMException]",Lt="[object Error]",At="[object Function]",It="[object GeneratorFunction]",Pt="[object Map]",Rt="[object Number]",Nt="[object Null]",jt="[object Object]",Yt="[object Proxy]",Ft="[object RegExp]",Ht="[object Set]",Bt="[object String]",Vt="[object Symbol]",zt="[object Undefined]",Wt="[object WeakMap]",Ut="[object WeakSet]",qt="[object ArrayBuffer]",Gt="[object DataView]",Xt="[object Float32Array]",Kt="[object Float64Array]",Zt="[object Int8Array]",$t="[object Int16Array]",Jt="[object Int32Array]",Qt="[object Uint8Array]",te="[object Uint8ClampedArray]",ee="[object Uint16Array]",ne="[object Uint32Array]",re=/\b__p \+= '';/g,ie=/\b(__p \+=) '' \+/g,oe=/(__e\(.*?\)|\b__t\)) \+\n'';/g,se=/&(?:amp|lt|gt|quot|#39);/g,ae=/[&<>"']/g,ue=RegExp(se.source),le=RegExp(ae.source),ce=/<%-([\s\S]+?)%>/g,de=/<%([\s\S]+?)%>/g,he=/<%=([\s\S]+?)%>/g,fe=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,pe=/^\w*$/,me=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,_e=/[\\^$.*+?()[\]{}|]/g,ge=RegExp(_e.source),ve=/^\s+|\s+$/g,ye=/^\s+/,be=/\s+$/,we=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Se=/\{\n\/\* \[wrapped with (.+)\] \*/,Te=/,? & /,Ee=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Me=/\\(\\)?/g,xe=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Ce=/\w*$/,Oe=/^[-+]0x[0-9a-f]+$/i,De=/^0b[01]+$/i,ke=/^\[object .+?Constructor\]$/,Le=/^0o[0-7]+$/i,Ae=/^(?:0|[1-9]\d*)$/,Ie=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Pe=/($^)/,Re=/['\n\r\u2028\u2029\\]/g,Ne="\\ud800-\\udfff",je="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Ye="a-z\\xdf-\\xf6\\xf8-\\xff",Fe="A-Z\\xc0-\\xd6\\xd8-\\xde",He="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Be="["+Ne+"]",Ve="["+He+"]",ze="["+je+"]",We="\\d+",Ue="[\\u2700-\\u27bf]",qe="["+Ye+"]",Ge="[^"+Ne+He+We+"\\u2700-\\u27bf"+Ye+Fe+"]",Xe="\\ud83c[\\udffb-\\udfff]",Ke="[^"+Ne+"]",Ze="(?:\\ud83c[\\udde6-\\uddff]){2}",$e="[\\ud800-\\udbff][\\udc00-\\udfff]",Je="["+Fe+"]",Qe="(?:"+qe+"|"+Ge+")",tn="(?:"+Je+"|"+Ge+")",en="(?:['’](?:d|ll|m|re|s|t|ve))?",nn="(?:['’](?:D|LL|M|RE|S|T|VE))?",rn="(?:"+ze+"|"+Xe+")"+"?",on="[\\ufe0e\\ufe0f]?"+rn+("(?:\\u200d(?:"+[Ke,Ze,$e].join("|")+")[\\ufe0e\\ufe0f]?"+rn+")*"),sn="(?:"+[Ue,Ze,$e].join("|")+")"+on,an="(?:"+[Ke+ze+"?",ze,Ze,$e,Be].join("|")+")",un=RegExp("['’]","g"),ln=RegExp(ze,"g"),cn=RegExp(Xe+"(?="+Xe+")|"+an+on,"g"),dn=RegExp([Je+"?"+qe+"+"+en+"(?="+[Ve,Je,"$"].join("|")+")",tn+"+"+nn+"(?="+[Ve,Je+Qe,"$"].join("|")+")",Je+"?"+Qe+"+"+en,Je+"+"+nn,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",We,sn].join("|"),"g"),hn=RegExp("[\\u200d"+Ne+je+"\\ufe0e\\ufe0f]"),fn=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,pn=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],mn=-1,_n={};_n[Xt]=_n[Kt]=_n[Zt]=_n[$t]=_n[Jt]=_n[Qt]=_n[te]=_n[ee]=_n[ne]=!0,_n[Mt]=_n[xt]=_n[qt]=_n[Ot]=_n[Gt]=_n[Dt]=_n[Lt]=_n[At]=_n[Pt]=_n[Rt]=_n[jt]=_n[Ft]=_n[Ht]=_n[Bt]=_n[Wt]=!1;var gn={};gn[Mt]=gn[xt]=gn[qt]=gn[Gt]=gn[Ot]=gn[Dt]=gn[Xt]=gn[Kt]=gn[Zt]=gn[$t]=gn[Jt]=gn[Pt]=gn[Rt]=gn[jt]=gn[Ft]=gn[Ht]=gn[Bt]=gn[Vt]=gn[Qt]=gn[te]=gn[ee]=gn[ne]=!0,gn[Lt]=gn[At]=gn[Wt]=!1;var vn={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},yn=parseFloat,bn=parseInt,wn="object"==typeof t&&t&&t.Object===Object&&t,Sn="object"==typeof self&&self&&self.Object===Object&&self,Tn=wn||Sn||Function("return this")(),En="object"==typeof e&&e&&!e.nodeType&&e,Mn=En&&"object"==typeof r&&r&&!r.nodeType&&r,xn=Mn&&Mn.exports===En,Cn=xn&&wn.process,On=function(){try{return Cn&&Cn.binding&&Cn.binding("util")}catch(t){}}(),Dn=On&&On.isArrayBuffer,kn=On&&On.isDate,Ln=On&&On.isMap,An=On&&On.isRegExp,In=On&&On.isSet,Pn=On&&On.isTypedArray,Rn=E("length"),Nn=M({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),jn=M({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"}),Yn=M({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"}),Fn=function t(e){function n(t){if(co(t)&&!Qa(t)&&!(t instanceof M)){if(t instanceof i)return t;if(Qo.call(t,"__wrapped__"))return Ii(t)}return new i(t)}function r(){}function i(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=z}function M(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=wt,this.__views__=[]}function Ne(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function je(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function Ye(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function Fe(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new Ye;++e<n;)this.add(t[e])}function He(t){var e=this.__data__=new je(t);this.size=e.size}function Be(t,e){var n=Qa(t),r=!n&&Ja(t),i=!n&&!r&&eu(t),o=!n&&!r&&!i&&su(t),s=n||r||i||o,a=s?O(t.length,Go):[],u=a.length;for(var l in t)!e&&!Qo.call(t,l)||s&&("length"==l||i&&("offset"==l||"parent"==l)||o&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||yi(l,u))||a.push(l);return a}function Ve(t){var e=t.length;return e?t[ir(0,e-1)]:z}function ze(t,e){return ki(Rr(t),Je(e,0,t.length))}function We(t){return ki(Rr(t))}function Ue(t,e,n){(n===z||no(t[e],n))&&(n!==z||e in t)||Ze(t,e,n)}function qe(t,e,n){var r=t[e];Qo.call(t,e)&&no(r,n)&&(n!==z||e in t)||Ze(t,e,n)}function Ge(t,e){for(var n=t.length;n--;)if(no(t[n][0],e))return n;return-1}function Xe(t,e,n,r){return $s(t,function(t,i,o){e(r,t,n(t),o)}),r}function Ke(t,e){return t&&Nr(e,Mo(e),t)}function Ze(t,e,n){"__proto__"==e&&gs?gs(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}function $e(t,e){for(var n=-1,r=e.length,i=Ho(r),o=null==t;++n<r;)i[n]=o?z:To(t,e[n]);return i}function Je(t,e,n){return t==t&&(n!==z&&(t=t<=n?t:n),e!==z&&(t=t>=e?t:e)),t}function Qe(t,e,n,r,i,o){var s,u=e&Z,l=e&$,c=e&J;if(n&&(s=i?n(t,r,i,o):n(t)),s!==z)return s;if(!lo(t))return t;var d=Qa(t);if(d){if(s=function(t){var e=t.length,n=new t.constructor(e);return e&&"string"==typeof t[0]&&Qo.call(t,"index")&&(n.index=t.index,n.input=t.input),n}(t),!u)return Rr(t,s)}else{var h=la(t),f=h==At||h==It;if(eu(t))return Dr(t,u);if(h==jt||h==Mt||f&&!i){if(s=l||f?{}:gi(t),!u)return l?function(t,e){return Nr(t,ua(t),e)}(t,function(t,e){return t&&Nr(e,xo(e),t)}(s,t)):function(t,e){return Nr(t,aa(t),e)}(t,Ke(s,t))}else{if(!gn[h])return i?t:{};s=function(t,e,n){var r=t.constructor;switch(e){case qt:return kr(t);case Ot:case Dt:return new r(+t);case Gt:return function(t,e){var n=e?kr(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}(t,n);case Xt:case Kt:case Zt:case $t:case Jt:case Qt:case te:case ee:case ne:return Lr(t,n);case Pt:return new r;case Rt:case Bt:return new r(t);case Ft:return function(t){var e=new t.constructor(t.source,Ce.exec(t));return e.lastIndex=t.lastIndex,e}(t);case Ht:return new r;case Vt:return function(t){return Xs?Uo(Xs.call(t)):{}}(t)}}(t,h,u)}}o||(o=new He);var p=o.get(t);if(p)return p;if(o.set(t,s),ou(t))return t.forEach(function(r){s.add(Qe(r,e,n,r,t,o))}),s;if(ru(t))return t.forEach(function(r,i){s.set(i,Qe(r,e,n,i,t,o))}),s;var m=d?z:(c?l?li:ui:l?xo:Mo)(t);return a(m||t,function(r,i){m&&(r=t[i=r]),qe(s,i,Qe(r,e,n,i,t,o))}),s}function tn(t,e,n){var r=n.length;if(null==t)return!r;for(t=Uo(t);r--;){var i=n[r],o=t[i];if(o===z&&!(i in t)||!(0,e[i])(o))return!1}return!0}function en(t,e,n){if("function"!=typeof t)throw new Xo(q);return ha(function(){t.apply(z,n)},e)}function nn(t,e,n,r){var i=-1,o=d,s=!0,a=t.length,u=[],l=e.length;if(!a)return u;n&&(e=f(e,D(n))),r?(o=h,s=!1):e.length>=W&&(o=L,s=!1,e=new Fe(e));t:for(;++i<a;){var c=t[i],p=null==n?c:n(c);if(c=r||0!==c?c:0,s&&p==p){for(var m=l;m--;)if(e[m]===p)continue t;u.push(c)}else o(e,p,r)||u.push(c)}return u}function rn(t,e){var n=!0;return $s(t,function(t,r,i){return n=!!e(t,r,i)}),n}function on(t,e,n){for(var r=-1,i=t.length;++r<i;){var o=t[r],s=e(o);if(null!=s&&(a===z?s==s&&!mo(s):n(s,a)))var a=s,u=o}return u}function sn(t,e){var n=[];return $s(t,function(t,r,i){e(t,r,i)&&n.push(t)}),n}function an(t,e,n,r,i){var o=-1,s=t.length;for(n||(n=vi),i||(i=[]);++o<s;){var a=t[o];e>0&&n(a)?e>1?an(a,e-1,n,r,i):p(i,a):r||(i[i.length]=a)}return i}function cn(t,e){return t&&Qs(t,e,Mo)}function hn(t,e){return t&&ta(t,e,Mo)}function vn(t,e){return c(e,function(e){return so(t[e])})}function wn(t,e){for(var n=0,r=(e=Cr(e,t)).length;null!=t&&n<r;)t=t[Li(e[n++])];return n&&n==r?t:z}function Sn(t,e,n){var r=e(t);return Qa(t)?r:p(r,n(t))}function En(t){return null==t?t===z?zt:Nt:_s&&_s in Uo(t)?function(t){var e=Qo.call(t,_s),n=t[_s];try{t[_s]=z;var r=!0}catch(t){}var i=ns.call(t);return r&&(e?t[_s]=n:delete t[_s]),i}(t):function(t){return ns.call(t)}(t)}function Mn(t,e){return t>e}function Cn(t,e){return null!=t&&Qo.call(t,e)}function On(t,e){return null!=t&&e in Uo(t)}function Rn(t,e,n){for(var r=n?h:d,i=t[0].length,o=t.length,s=o,a=Ho(o),u=1/0,l=[];s--;){var c=t[s];s&&e&&(c=f(c,D(e))),u=Ds(c.length,u),a[s]=!n&&(e||i>=120&&c.length>=120)?new Fe(s&&c):z}c=t[0];var p=-1,m=a[0];t:for(;++p<i&&l.length<u;){var _=c[p],g=e?e(_):_;if(_=n||0!==_?_:0,!(m?L(m,g):r(l,g,n))){for(s=o;--s;){var v=a[s];if(!(v?L(v,g):r(t[s],g,n)))continue t}m&&m.push(g),l.push(_)}}return l}function Hn(t,e,n){var r=null==(t=Ci(t,e=Cr(e,t)))?t:t[Li(Yi(e))];return null==r?z:o(r,t,n)}function Bn(t){return co(t)&&En(t)==Mt}function Vn(t,e,n,r,i){return t===e||(null==t||null==e||!co(t)&&!co(e)?t!=t&&e!=e:function(t,e,n,r,i,o){var s=Qa(t),a=Qa(e),u=s?xt:la(t),l=a?xt:la(e),c=(u=u==Mt?jt:u)==jt,d=(l=l==Mt?jt:l)==jt,h=u==l;if(h&&eu(t)){if(!eu(e))return!1;s=!0,c=!1}if(h&&!c)return o||(o=new He),s||su(t)?si(t,e,n,r,i,o):function(t,e,n,r,i,o,s){switch(n){case Gt:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case qt:return!(t.byteLength!=e.byteLength||!o(new us(t),new us(e)));case Ot:case Dt:case Rt:return no(+t,+e);case Lt:return t.name==e.name&&t.message==e.message;case Ft:case Bt:return t==e+"";case Pt:var a=N;case Ht:var u=r&Q;if(a||(a=H),t.size!=e.size&&!u)return!1;var l=s.get(t);if(l)return l==e;r|=tt,s.set(t,e);var c=si(a(t),a(e),r,i,o,s);return s.delete(t),c;case Vt:if(Xs)return Xs.call(t)==Xs.call(e)}return!1}(t,e,u,n,r,i,o);if(!(n&Q)){var f=c&&Qo.call(t,"__wrapped__"),p=d&&Qo.call(e,"__wrapped__");if(f||p){var m=f?t.value():t,_=p?e.value():e;return o||(o=new He),i(m,_,n,r,o)}}return!!h&&(o||(o=new He),function(t,e,n,r,i,o){var s=n&Q,a=ui(t),u=a.length,l=ui(e);if(u!=l.length&&!s)return!1;for(var c=u;c--;){var d=a[c];if(!(s?d in e:Qo.call(e,d)))return!1}var h=o.get(t);if(h&&o.get(e))return h==e;var f=!0;o.set(t,e),o.set(e,t);for(var p=s;++c<u;){var m=t[d=a[c]],_=e[d];if(r)var g=s?r(_,m,d,e,t,o):r(m,_,d,t,e,o);if(!(g===z?m===_||i(m,_,n,r,o):g)){f=!1;break}p||(p="constructor"==d)}if(f&&!p){var v=t.constructor,y=e.constructor;v!=y&&"constructor"in t&&"constructor"in e&&!("function"==typeof v&&v instanceof v&&"function"==typeof y&&y instanceof y)&&(f=!1)}return o.delete(t),o.delete(e),f}(t,e,n,r,i,o))}(t,e,n,r,Vn,i))}function zn(t,e,n,r){var i=n.length,o=i,s=!r;if(null==t)return!o;for(t=Uo(t);i--;){var a=n[i];if(s&&a[2]?a[1]!==t[a[0]]:!(a[0]in t))return!1}for(;++i<o;){var u=(a=n[i])[0],l=t[u],c=a[1];if(s&&a[2]){if(l===z&&!(u in t))return!1}else{var d=new He;if(r)var h=r(l,c,u,t,e,d);if(!(h===z?Vn(c,l,Q|tt,r,d):h))return!1}}return!0}function Wn(t){return!(!lo(t)||function(t){return!!es&&es in t}(t))&&(so(t)?os:ke).test(Ai(t))}function Un(t){return"function"==typeof t?t:null==t?Io:"object"==typeof t?Qa(t)?$n(t[0],t[1]):Zn(t):jo(t)}function qn(t){if(!Ti(t))return Cs(t);var e=[];for(var n in Uo(t))Qo.call(t,n)&&"constructor"!=n&&e.push(n);return e}function Gn(t){if(!lo(t))return function(t){var e=[];if(null!=t)for(var n in Uo(t))e.push(n);return e}(t);var e=Ti(t),n=[];for(var r in t)("constructor"!=r||!e&&Qo.call(t,r))&&n.push(r);return n}function Xn(t,e){return t<e}function Kn(t,e){var n=-1,r=ro(t)?Ho(t.length):[];return $s(t,function(t,i,o){r[++n]=e(t,i,o)}),r}function Zn(t){var e=pi(t);return 1==e.length&&e[0][2]?Mi(e[0][0],e[0][1]):function(n){return n===t||zn(n,t,e)}}function $n(t,e){return wi(t)&&Ei(e)?Mi(Li(t),e):function(n){var r=To(n,t);return r===z&&r===e?Eo(n,t):Vn(e,r,Q|tt)}}function Jn(t,e,n,r,i){t!==e&&Qs(e,function(o,s){if(lo(o))i||(i=new He),function(t,e,n,r,i,o,s){var a=F(t,n),u=F(e,n),l=s.get(u);if(l)Ue(t,n,l);else{var c=o?o(a,u,n+"",t,e,s):z,d=c===z;if(d){var h=Qa(u),f=!h&&eu(u),p=!h&&!f&&su(u);c=u,h||f||p?Qa(a)?c=a:io(a)?c=Rr(a):f?(d=!1,c=Dr(u,!0)):p?(d=!1,c=Lr(u,!0)):c=[]:fo(u)||Ja(u)?(c=a,Ja(a)?c=wo(a):(!lo(a)||r&&so(a))&&(c=gi(u))):d=!1}d&&(s.set(u,c),i(c,u,r,o,s),s.delete(u)),Ue(t,n,c)}}(t,e,s,n,Jn,r,i);else{var a=r?r(F(t,s),o,s+"",t,e,i):z;a===z&&(a=o),Ue(t,s,a)}},xo)}function Qn(t,e){var n=t.length;if(n)return e+=e<0?n:0,yi(e,n)?t[e]:z}function tr(t,e,n){var r=-1;return e=f(e.length?e:[Io],D(hi())),function(t,e){var n=t.length;for(t.sort(e);n--;)t[n]=t[n].value;return t}(Kn(t,function(t,n,i){return{criteria:f(e,function(e){return e(t)}),index:++r,value:t}}),function(t,e){return function(t,e,n){for(var r=-1,i=t.criteria,o=e.criteria,s=i.length,a=n.length;++r<s;){var u=Ar(i[r],o[r]);if(u){if(r>=a)return u;var l=n[r];return u*("desc"==l?-1:1)}}return t.index-e.index}(t,e,n)})}function er(t,e,n){for(var r=-1,i=e.length,o={};++r<i;){var s=e[r],a=wn(t,s);n(a,s)&&lr(o,Cr(s,t),a)}return o}function nr(t,e,n,r){var i=r?w:b,o=-1,s=e.length,a=t;for(t===e&&(e=Rr(e)),n&&(a=f(t,D(n)));++o<s;)for(var u=0,l=e[o],c=n?n(l):l;(u=i(a,c,u,r))>-1;)a!==t&&fs.call(a,u,1),fs.call(t,u,1);return t}function rr(t,e){for(var n=t?e.length:0,r=n-1;n--;){var i=e[n];if(n==r||i!==o){var o=i;yi(i)?fs.call(t,i,1):yr(t,i)}}return t}function ir(t,e){return t+Ss(As()*(e-t+1))}function or(t,e){var n="";if(!t||e<1||e>vt)return n;do{e%2&&(n+=t),(e=Ss(e/2))&&(t+=t)}while(e);return n}function sr(t,e){return fa(xi(t,e,Io),t+"")}function ar(t){return Ve(Oo(t))}function ur(t,e){var n=Oo(t);return ki(n,Je(e,0,n.length))}function lr(t,e,n,r){if(!lo(t))return t;for(var i=-1,o=(e=Cr(e,t)).length,s=o-1,a=t;null!=a&&++i<o;){var u=Li(e[i]),l=n;if(i!=s){var c=a[u];(l=r?r(c,u,a):z)===z&&(l=lo(c)?c:yi(e[i+1])?[]:{})}qe(a,u,l),a=a[u]}return t}function cr(t){return ki(Oo(t))}function dr(t,e,n){var r=-1,i=t.length;e<0&&(e=-e>i?0:i+e),(n=n>i?i:n)<0&&(n+=i),i=e>n?0:n-e>>>0,e>>>=0;for(var o=Ho(i);++r<i;)o[r]=t[r+e];return o}function hr(t,e){var n;return $s(t,function(t,r,i){return!(n=e(t,r,i))}),!!n}function fr(t,e,n){var r=0,i=null==t?r:t.length;if("number"==typeof e&&e==e&&i<=Tt){for(;r<i;){var o=r+i>>>1,s=t[o];null!==s&&!mo(s)&&(n?s<=e:s<e)?r=o+1:i=o}return i}return pr(t,e,Io,n)}function pr(t,e,n,r){e=n(e);for(var i=0,o=null==t?0:t.length,s=e!=e,a=null===e,u=mo(e),l=e===z;i<o;){var c=Ss((i+o)/2),d=n(t[c]),h=d!==z,f=null===d,p=d==d,m=mo(d);if(s)var _=r||p;else _=l?p&&(r||h):a?p&&h&&(r||!f):u?p&&h&&!f&&(r||!m):!f&&!m&&(r?d<=e:d<e);_?i=c+1:o=c}return Ds(o,St)}function mr(t,e){for(var n=-1,r=t.length,i=0,o=[];++n<r;){var s=t[n],a=e?e(s):s;if(!n||!no(a,u)){var u=a;o[i++]=0===s?0:s}}return o}function _r(t){return"number"==typeof t?t:mo(t)?bt:+t}function gr(t){if("string"==typeof t)return t;if(Qa(t))return f(t,gr)+"";if(mo(t))return Ks?Ks.call(t):"";var e=t+"";return"0"==e&&1/t==-gt?"-0":e}function vr(t,e,n){var r=-1,i=d,o=t.length,s=!0,a=[],u=a;if(n)s=!1,i=h;else if(o>=W){var l=e?null:oa(t);if(l)return H(l);s=!1,i=L,u=new Fe}else u=e?[]:a;t:for(;++r<o;){var c=t[r],f=e?e(c):c;if(c=n||0!==c?c:0,s&&f==f){for(var p=u.length;p--;)if(u[p]===f)continue t;e&&u.push(f),a.push(c)}else i(u,f,n)||(u!==a&&u.push(f),a.push(c))}return a}function yr(t,e){return e=Cr(e,t),null==(t=Ci(t,e))||delete t[Li(Yi(e))]}function br(t,e,n,r){return lr(t,e,n(wn(t,e)),r)}function wr(t,e,n,r){for(var i=t.length,o=r?i:-1;(r?o--:++o<i)&&e(t[o],o,t););return n?dr(t,r?0:o,r?o+1:i):dr(t,r?o+1:0,r?i:o)}function Sr(t,e){var n=t;return n instanceof M&&(n=n.value()),m(e,function(t,e){return e.func.apply(e.thisArg,p([t],e.args))},n)}function Tr(t,e,n){var r=t.length;if(r<2)return r?vr(t[0]):[];for(var i=-1,o=Ho(r);++i<r;)for(var s=t[i],a=-1;++a<r;)a!=i&&(o[i]=nn(o[i]||s,t[a],e,n));return vr(an(o,1),e,n)}function Er(t,e,n){for(var r=-1,i=t.length,o=e.length,s={};++r<i;)n(s,t[r],r<o?e[r]:z);return s}function Mr(t){return io(t)?t:[]}function xr(t){return"function"==typeof t?t:Io}function Cr(t,e){return Qa(t)?t:wi(t,e)?[t]:pa(So(t))}function Or(t,e,n){var r=t.length;return n=n===z?r:n,!e&&n>=r?t:dr(t,e,n)}function Dr(t,e){if(e)return t.slice();var n=t.length,r=ls?ls(n):new t.constructor(n);return t.copy(r),r}function kr(t){var e=new t.constructor(t.byteLength);return new us(e).set(new us(t)),e}function Lr(t,e){var n=e?kr(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}function Ar(t,e){if(t!==e){var n=t!==z,r=null===t,i=t==t,o=mo(t),s=e!==z,a=null===e,u=e==e,l=mo(e);if(!a&&!l&&!o&&t>e||o&&s&&u&&!a&&!l||r&&s&&u||!n&&u||!i)return 1;if(!r&&!o&&!l&&t<e||l&&n&&i&&!r&&!o||a&&n&&i||!s&&i||!u)return-1}return 0}function Ir(t,e,n,r){for(var i=-1,o=t.length,s=n.length,a=-1,u=e.length,l=Os(o-s,0),c=Ho(u+l),d=!r;++a<u;)c[a]=e[a];for(;++i<s;)(d||i<o)&&(c[n[i]]=t[i]);for(;l--;)c[a++]=t[i++];return c}function Pr(t,e,n,r){for(var i=-1,o=t.length,s=-1,a=n.length,u=-1,l=e.length,c=Os(o-a,0),d=Ho(c+l),h=!r;++i<c;)d[i]=t[i];for(var f=i;++u<l;)d[f+u]=e[u];for(;++s<a;)(h||i<o)&&(d[f+n[s]]=t[i++]);return d}function Rr(t,e){var n=-1,r=t.length;for(e||(e=Ho(r));++n<r;)e[n]=t[n];return e}function Nr(t,e,n,r){var i=!n;n||(n={});for(var o=-1,s=e.length;++o<s;){var a=e[o],u=r?r(n[a],t[a],a,n,t):z;u===z&&(u=t[a]),i?Ze(n,a,u):qe(n,a,u)}return n}function jr(t,e){return function(n,r){var i=Qa(n)?s:Xe,o=e?e():{};return i(n,t,hi(r,2),o)}}function Yr(t){return sr(function(e,n){var r=-1,i=n.length,o=i>1?n[i-1]:z,s=i>2?n[2]:z;for(o=t.length>3&&"function"==typeof o?(i--,o):z,s&&bi(n[0],n[1],s)&&(o=i<3?z:o,i=1),e=Uo(e);++r<i;){var a=n[r];a&&t(e,a,r,o)}return e})}function Fr(t,e){return function(n,r){if(null==n)return n;if(!ro(n))return t(n,r);for(var i=n.length,o=e?i:-1,s=Uo(n);(e?o--:++o<i)&&!1!==r(s[o],o,s););return n}}function Hr(t){return function(e,n,r){for(var i=-1,o=Uo(e),s=r(e),a=s.length;a--;){var u=s[t?a:++i];if(!1===n(o[u],u,o))break}return e}}function Br(t){return function(e){var n=R(e=So(e))?V(e):z,r=n?n[0]:e.charAt(0),i=n?Or(n,1).join(""):e.slice(1);return r[t]()+i}}function Vr(t){return function(e){return m(Lo(ko(e).replace(un,"")),t,"")}}function zr(t){return function(){var e=arguments;switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3]);case 5:return new t(e[0],e[1],e[2],e[3],e[4]);case 6:return new t(e[0],e[1],e[2],e[3],e[4],e[5]);case 7:return new t(e[0],e[1],e[2],e[3],e[4],e[5],e[6])}var n=Zs(t.prototype),r=t.apply(n,e);return lo(r)?r:n}}function Wr(t){return function(e,n,r){var i=Uo(e);if(!ro(e)){var o=hi(n,3);e=Mo(e),n=function(t){return o(i[t],t,i)}}var s=t(e,n,r);return s>-1?i[o?e[s]:s]:z}}function Ur(t){return ai(function(e){var n=e.length,r=n,o=i.prototype.thru;for(t&&e.reverse();r--;){var s=e[r];if("function"!=typeof s)throw new Xo(q);if(o&&!a&&"wrapper"==ci(s))var a=new i([],!0)}for(r=a?r:n;++r<n;){var u=ci(s=e[r]),l="wrapper"==u?sa(s):z;a=l&&Si(l[0])&&l[1]==(ut|it|st|lt)&&!l[4].length&&1==l[9]?a[ci(l[0])].apply(a,l[3]):1==s.length&&Si(s)?a[u]():a.thru(s)}return function(){var t=arguments,r=t[0];if(a&&1==t.length&&Qa(r))return a.plant(r).value();for(var i=0,o=n?e[i].apply(this,t):r;++i<n;)o=e[i].call(this,o);return o}})}function qr(t,e,n,r,i,o,s,a,u,l){function c(){for(var g=arguments.length,v=Ho(g),y=g;y--;)v[y]=arguments[y];if(p)var b=di(c),w=function(t,e){for(var n=t.length,r=0;n--;)t[n]===e&&++r;return r}(v,b);if(r&&(v=Ir(v,r,i,p)),o&&(v=Pr(v,o,s,p)),g-=w,p&&g<l){var S=Y(v,b);return Qr(t,e,qr,c.placeholder,n,v,S,a,u,l-g)}var T=h?n:this,E=f?T[t]:t;return g=v.length,a?v=function(t,e){for(var n=t.length,r=Ds(e.length,n),i=Rr(t);r--;){var o=e[r];t[r]=yi(o,n)?i[o]:z}return t}(v,a):m&&g>1&&v.reverse(),d&&u<g&&(v.length=u),this&&this!==Tn&&this instanceof c&&(E=_||zr(E)),E.apply(T,v)}var d=e&ut,h=e&et,f=e&nt,p=e&(it|ot),m=e&ct,_=f?z:zr(t);return c}function Gr(t,e){return function(n,r){return function(t,e,n,r){return cn(t,function(t,i,o){e(r,n(t),i,o)}),r}(n,t,e(r),{})}}function Xr(t,e){return function(n,r){var i;if(n===z&&r===z)return e;if(n!==z&&(i=n),r!==z){if(i===z)return r;"string"==typeof n||"string"==typeof r?(n=gr(n),r=gr(r)):(n=_r(n),r=_r(r)),i=t(n,r)}return i}}function Kr(t){return ai(function(e){return e=f(e,D(hi())),sr(function(n){var r=this;return t(e,function(t){return o(t,r,n)})})})}function Zr(t,e){var n=(e=e===z?" ":gr(e)).length;if(n<2)return n?or(e,t):e;var r=or(e,ws(t/B(e)));return R(e)?Or(V(r),0,t).join(""):r.slice(0,t)}function $r(t){return function(e,n,r){return r&&"number"!=typeof r&&bi(e,n,r)&&(n=r=z),e=go(e),n===z?(n=e,e=0):n=go(n),r=r===z?e<n?1:-1:go(r),function(t,e,n,r){for(var i=-1,o=Os(ws((e-t)/(n||1)),0),s=Ho(o);o--;)s[r?o:++i]=t,t+=n;return s}(e,n,r,t)}}function Jr(t){return function(e,n){return"string"==typeof e&&"string"==typeof n||(e=bo(e),n=bo(n)),t(e,n)}}function Qr(t,e,n,r,i,o,s,a,u,l){var c=e&it;e|=c?st:at,(e&=~(c?at:st))&rt||(e&=~(et|nt));var d=[t,e,i,c?o:z,c?s:z,c?z:o,c?z:s,a,u,l],h=n.apply(z,d);return Si(t)&&da(h,d),h.placeholder=r,Oi(h,t,e)}function ti(t){var e=Wo[t];return function(t,n){if(t=bo(t),n=null==n?0:Ds(vo(n),292)){var r=(So(t)+"e").split("e");return+((r=(So(e(r[0]+"e"+(+r[1]+n)))+"e").split("e"))[0]+"e"+(+r[1]-n))}return e(t)}}function ei(t){return function(e){var n=la(e);return n==Pt?N(e):n==Ht?function(t){var e=-1,n=Array(t.size);return t.forEach(function(t){n[++e]=[t,t]}),n}(e):function(t,e){return f(e,function(e){return[e,t[e]]})}(e,t(e))}}function ni(t,e,n,r,i,s,a,u){var l=e&nt;if(!l&&"function"!=typeof t)throw new Xo(q);var c=r?r.length:0;if(c||(e&=~(st|at),r=i=z),a=a===z?a:Os(vo(a),0),u=u===z?u:vo(u),c-=i?i.length:0,e&at){var d=r,h=i;r=i=z}var f=l?z:sa(t),p=[t,e,n,r,i,d,h,s,a,u];if(f&&function(t,e){var n=t[1],r=e[1],i=n|r;if(!(i<(et|nt|ut)||r==ut&&n==it||r==ut&&n==lt&&t[7].length<=e[8]||r==(ut|lt)&&e[7].length<=e[8]&&n==it))return t;r&et&&(t[2]=e[2],i|=n&et?0:rt);var o=e[3];if(o){var s=t[3];t[3]=s?Ir(s,o,e[4]):o,t[4]=s?Y(t[3],K):e[4]}(o=e[5])&&(t[5]=(s=t[5])?Pr(s,o,e[6]):o,t[6]=s?Y(t[5],K):e[6]),(o=e[7])&&(t[7]=o),r&ut&&(t[8]=null==t[8]?e[8]:Ds(t[8],e[8])),null==t[9]&&(t[9]=e[9]),t[0]=e[0],t[1]=i}(p,f),t=p[0],e=p[1],n=p[2],r=p[3],i=p[4],!(u=p[9]=p[9]===z?l?0:t.length:Os(p[9]-c,0))&&e&(it|ot)&&(e&=~(it|ot)),e&&e!=et)m=e==it||e==ot?function(t,e,n){function r(){for(var s=arguments.length,a=Ho(s),u=s,l=di(r);u--;)a[u]=arguments[u];var c=s<3&&a[0]!==l&&a[s-1]!==l?[]:Y(a,l);return(s-=c.length)<n?Qr(t,e,qr,r.placeholder,z,a,c,z,z,n-s):o(this&&this!==Tn&&this instanceof r?i:t,this,a)}var i=zr(t);return r}(t,e,u):e!=st&&e!=(et|st)||i.length?qr.apply(z,p):function(t,e,n,r){function i(){for(var e=-1,u=arguments.length,l=-1,c=r.length,d=Ho(c+u),h=this&&this!==Tn&&this instanceof i?a:t;++l<c;)d[l]=r[l];for(;u--;)d[l++]=arguments[++e];return o(h,s?n:this,d)}var s=e&et,a=zr(t);return i}(t,e,n,r);else var m=function(t,e,n){function r(){return(this&&this!==Tn&&this instanceof r?o:t).apply(i?n:this,arguments)}var i=e&et,o=zr(t);return r}(t,e,n);return Oi((f?ea:da)(m,p),t,e)}function ri(t,e,n,r){return t===z||no(t,Zo[n])&&!Qo.call(r,n)?e:t}function ii(t,e,n,r,i,o){return lo(t)&&lo(e)&&(o.set(e,t),Jn(t,e,z,ii,o),o.delete(e)),t}function oi(t){return fo(t)?z:t}function si(t,e,n,r,i,o){var s=n&Q,a=t.length,u=e.length;if(a!=u&&!(s&&u>a))return!1;var l=o.get(t);if(l&&o.get(e))return l==e;var c=-1,d=!0,h=n&tt?new Fe:z;for(o.set(t,e),o.set(e,t);++c<a;){var f=t[c],p=e[c];if(r)var m=s?r(p,f,c,e,t,o):r(f,p,c,t,e,o);if(m!==z){if(m)continue;d=!1;break}if(h){if(!g(e,function(t,e){if(!L(h,e)&&(f===t||i(f,t,n,r,o)))return h.push(e)})){d=!1;break}}else if(f!==p&&!i(f,p,n,r,o)){d=!1;break}}return o.delete(t),o.delete(e),d}function ai(t){return fa(xi(t,z,Ni),t+"")}function ui(t){return Sn(t,Mo,aa)}function li(t){return Sn(t,xo,ua)}function ci(t){for(var e=t.name+"",n=Bs[e],r=Qo.call(Bs,e)?n.length:0;r--;){var i=n[r],o=i.func;if(null==o||o==t)return i.name}return e}function di(t){return(Qo.call(n,"placeholder")?n:t).placeholder}function hi(){var t=n.iteratee||Po;return t=t===Po?Un:t,arguments.length?t(arguments[0],arguments[1]):t}function fi(t,e){var n=t.__data__;return function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}(e)?n["string"==typeof e?"string":"hash"]:n.map}function pi(t){for(var e=Mo(t),n=e.length;n--;){var r=e[n],i=t[r];e[n]=[r,i,Ei(i)]}return e}function mi(t,e){var n=function(t,e){return null==t?z:t[e]}(t,e);return Wn(n)?n:z}function _i(t,e,n){for(var r=-1,i=(e=Cr(e,t)).length,o=!1;++r<i;){var s=Li(e[r]);if(!(o=null!=t&&n(t,s)))break;t=t[s]}return o||++r!=i?o:!!(i=null==t?0:t.length)&&uo(i)&&yi(s,i)&&(Qa(t)||Ja(t))}function gi(t){return"function"!=typeof t.constructor||Ti(t)?{}:Zs(cs(t))}function vi(t){return Qa(t)||Ja(t)||!!(ps&&t&&t[ps])}function yi(t,e){var n=typeof t;return!!(e=null==e?vt:e)&&("number"==n||"symbol"!=n&&Ae.test(t))&&t>-1&&t%1==0&&t<e}function bi(t,e,n){if(!lo(n))return!1;var r=typeof e;return!!("number"==r?ro(n)&&yi(e,n.length):"string"==r&&e in n)&&no(n[e],t)}function wi(t,e){if(Qa(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!mo(t))||pe.test(t)||!fe.test(t)||null!=e&&t in Uo(e)}function Si(t){var e=ci(t),r=n[e];if("function"!=typeof r||!(e in M.prototype))return!1;if(t===r)return!0;var i=sa(r);return!!i&&t===i[0]}function Ti(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||Zo)}function Ei(t){return t==t&&!lo(t)}function Mi(t,e){return function(n){return null!=n&&n[t]===e&&(e!==z||t in Uo(n))}}function xi(t,e,n){return e=Os(e===z?t.length-1:e,0),function(){for(var r=arguments,i=-1,s=Os(r.length-e,0),a=Ho(s);++i<s;)a[i]=r[e+i];i=-1;for(var u=Ho(e+1);++i<e;)u[i]=r[i];return u[e]=n(a),o(t,this,u)}}function Ci(t,e){return e.length<2?t:wn(t,dr(e,0,-1))}function Oi(t,e,n){var r=e+"";return fa(t,function(t,e){var n=e.length;if(!n)return t;var r=n-1;return e[r]=(n>1?"& ":"")+e[r],e=e.join(n>2?", ":" "),t.replace(we,"{\n/* [wrapped with "+e+"] */\n")}(r,function(t,e){return a(Et,function(n){var r="_."+n[0];e&n[1]&&!d(t,r)&&t.push(r)}),t.sort()}(function(t){var e=t.match(Se);return e?e[1].split(Te):[]}(r),n)))}function Di(t){var e=0,n=0;return function(){var r=ks(),i=pt-(r-n);if(n=r,i>0){if(++e>=ft)return arguments[0]}else e=0;return t.apply(z,arguments)}}function ki(t,e){var n=-1,r=t.length,i=r-1;for(e=e===z?r:e;++n<e;){var o=ir(n,i),s=t[o];t[o]=t[n],t[n]=s}return t.length=e,t}function Li(t){if("string"==typeof t||mo(t))return t;var e=t+"";return"0"==e&&1/t==-gt?"-0":e}function Ai(t){if(null!=t){try{return Jo.call(t)}catch(t){}try{return t+""}catch(t){}}return""}function Ii(t){if(t instanceof M)return t.clone();var e=new i(t.__wrapped__,t.__chain__);return e.__actions__=Rr(t.__actions__),e.__index__=t.__index__,e.__values__=t.__values__,e}function Pi(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=null==n?0:vo(n);return i<0&&(i=Os(r+i,0)),y(t,hi(e,3),i)}function Ri(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=r-1;return n!==z&&(i=vo(n),i=n<0?Os(r+i,0):Ds(i,r-1)),y(t,hi(e,3),i,!0)}function Ni(t){return null!=t&&t.length?an(t,1):[]}function ji(t){return t&&t.length?t[0]:z}function Yi(t){var e=null==t?0:t.length;return e?t[e-1]:z}function Fi(t,e){return t&&t.length&&e&&e.length?nr(t,e):t}function Hi(t){return null==t?t:Is.call(t)}function Bi(t){if(!t||!t.length)return[];var e=0;return t=c(t,function(t){if(io(t))return e=Os(t.length,e),!0}),O(e,function(e){return f(t,E(e))})}function Vi(t,e){if(!t||!t.length)return[];var n=Bi(t);return null==e?n:f(n,function(t){return o(e,z,t)})}function zi(t){var e=n(t);return e.__chain__=!0,e}function Wi(t,e){return e(t)}function Ui(){return this}function qi(t,e){return(Qa(t)?a:$s)(t,hi(e,3))}function Gi(t,e){return(Qa(t)?u:Js)(t,hi(e,3))}function Xi(t,e){return(Qa(t)?f:Kn)(t,hi(e,3))}function Ki(t,e,n){return e=n?z:e,e=t&&null==e?t.length:e,ni(t,ut,z,z,z,z,e)}function Zi(t,e){var n;if("function"!=typeof e)throw new Xo(q);return t=vo(t),function(){return--t>0&&(n=e.apply(this,arguments)),t<=1&&(e=z),n}}function $i(t,e,n){var r=ni(t,it,z,z,z,z,z,e=n?z:e);return r.placeholder=$i.placeholder,r}function Ji(t,e,n){var r=ni(t,ot,z,z,z,z,z,e=n?z:e);return r.placeholder=Ji.placeholder,r}function Qi(t,e,n){function r(e){var n=u,r=l;return u=l=z,p=e,d=t.apply(r,n)}function i(t){var n=t-f;return f===z||n>=e||n<0||_&&t-p>=c}function o(){var t=Ba();if(i(t))return s(t);h=ha(o,function(t){var n=e-(t-f);return _?Ds(n,c-(t-p)):n}(t))}function s(t){return h=z,g&&u?r(t):(u=l=z,d)}function a(){var t=Ba(),n=i(t);if(u=arguments,l=this,f=t,n){if(h===z)return function(t){return p=t,h=ha(o,e),m?r(t):d}(f);if(_)return h=ha(o,e),r(f)}return h===z&&(h=ha(o,e)),d}var u,l,c,d,h,f,p=0,m=!1,_=!1,g=!0;if("function"!=typeof t)throw new Xo(q);return e=bo(e)||0,lo(n)&&(m=!!n.leading,c=(_="maxWait"in n)?Os(bo(n.maxWait)||0,e):c,g="trailing"in n?!!n.trailing:g),a.cancel=function(){h!==z&&ia(h),p=0,u=f=l=h=z},a.flush=function(){return h===z?d:s(Ba())},a}function to(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new Xo(q);var n=function(){var r=arguments,i=e?e.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var s=t.apply(this,r);return n.cache=o.set(i,s)||o,s};return n.cache=new(to.Cache||Ye),n}function eo(t){if("function"!=typeof t)throw new Xo(q);return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}function no(t,e){return t===e||t!=t&&e!=e}function ro(t){return null!=t&&uo(t.length)&&!so(t)}function io(t){return co(t)&&ro(t)}function oo(t){if(!co(t))return!1;var e=En(t);return e==Lt||e==kt||"string"==typeof t.message&&"string"==typeof t.name&&!fo(t)}function so(t){if(!lo(t))return!1;var e=En(t);return e==At||e==It||e==Ct||e==Yt}function ao(t){return"number"==typeof t&&t==vo(t)}function uo(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=vt}function lo(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function co(t){return null!=t&&"object"==typeof t}function ho(t){return"number"==typeof t||co(t)&&En(t)==Rt}function fo(t){if(!co(t)||En(t)!=jt)return!1;var e=cs(t);if(null===e)return!0;var n=Qo.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&Jo.call(n)==rs}function po(t){return"string"==typeof t||!Qa(t)&&co(t)&&En(t)==Bt}function mo(t){return"symbol"==typeof t||co(t)&&En(t)==Vt}function _o(t){if(!t)return[];if(ro(t))return po(t)?V(t):Rr(t);if(ms&&t[ms])return function(t){for(var e,n=[];!(e=t.next()).done;)n.push(e.value);return n}(t[ms]());var e=la(t);return(e==Pt?N:e==Ht?H:Oo)(t)}function go(t){return t?(t=bo(t))===gt||t===-gt?(t<0?-1:1)*yt:t==t?t:0:0===t?t:0}function vo(t){var e=go(t),n=e%1;return e==e?n?e-n:e:0}function yo(t){return t?Je(vo(t),0,wt):0}function bo(t){if("number"==typeof t)return t;if(mo(t))return bt;if(lo(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=lo(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(ve,"");var n=De.test(t);return n||Le.test(t)?bn(t.slice(2),n?2:8):Oe.test(t)?bt:+t}function wo(t){return Nr(t,xo(t))}function So(t){return null==t?"":gr(t)}function To(t,e,n){var r=null==t?z:wn(t,e);return r===z?n:r}function Eo(t,e){return null!=t&&_i(t,e,On)}function Mo(t){return ro(t)?Be(t):qn(t)}function xo(t){return ro(t)?Be(t,!0):Gn(t)}function Co(t,e){if(null==t)return{};var n=f(li(t),function(t){return[t]});return e=hi(e),er(t,n,function(t,n){return e(t,n[0])})}function Oo(t){return null==t?[]:k(t,Mo(t))}function Do(t){return Au(So(t).toLowerCase())}function ko(t){return(t=So(t))&&t.replace(Ie,Nn).replace(ln,"")}function Lo(t,e,n){return t=So(t),(e=n?z:e)===z?function(t){return fn.test(t)}(t)?function(t){return t.match(dn)||[]}(t):function(t){return t.match(Ee)||[]}(t):t.match(e)||[]}function Ao(t){return function(){return t}}function Io(t){return t}function Po(t){return Un("function"==typeof t?t:Qe(t,Z))}function Ro(t,e,n){var r=Mo(e),i=vn(e,r);null!=n||lo(e)&&(i.length||!r.length)||(n=e,e=t,t=this,i=vn(e,Mo(e)));var o=!(lo(n)&&"chain"in n&&!n.chain),s=so(t);return a(i,function(n){var r=e[n];t[n]=r,s&&(t.prototype[n]=function(){var e=this.__chain__;if(o||e){var n=t(this.__wrapped__);return(n.__actions__=Rr(this.__actions__)).push({func:r,args:arguments,thisArg:t}),n.__chain__=e,n}return r.apply(t,p([this.value()],arguments))})}),t}function No(){}function jo(t){return wi(t)?E(Li(t)):function(t){return function(e){return wn(e,t)}}(t)}function Yo(){return[]}function Fo(){return!1}var Ho=(e=null==e?Tn:Fn.defaults(Tn.Object(),e,Fn.pick(Tn,pn))).Array,Bo=e.Date,Vo=e.Error,zo=e.Function,Wo=e.Math,Uo=e.Object,qo=e.RegExp,Go=e.String,Xo=e.TypeError,Ko=Ho.prototype,Zo=Uo.prototype,$o=e["__core-js_shared__"],Jo=zo.prototype.toString,Qo=Zo.hasOwnProperty,ts=0,es=function(){var t=/[^.]+$/.exec($o&&$o.keys&&$o.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),ns=Zo.toString,rs=Jo.call(Uo),is=Tn._,os=qo("^"+Jo.call(Qo).replace(_e,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ss=xn?e.Buffer:z,as=e.Symbol,us=e.Uint8Array,ls=ss?ss.allocUnsafe:z,cs=j(Uo.getPrototypeOf,Uo),ds=Uo.create,hs=Zo.propertyIsEnumerable,fs=Ko.splice,ps=as?as.isConcatSpreadable:z,ms=as?as.iterator:z,_s=as?as.toStringTag:z,gs=function(){try{var t=mi(Uo,"defineProperty");return t({},"",{}),t}catch(t){}}(),vs=e.clearTimeout!==Tn.clearTimeout&&e.clearTimeout,ys=Bo&&Bo.now!==Tn.Date.now&&Bo.now,bs=e.setTimeout!==Tn.setTimeout&&e.setTimeout,ws=Wo.ceil,Ss=Wo.floor,Ts=Uo.getOwnPropertySymbols,Es=ss?ss.isBuffer:z,Ms=e.isFinite,xs=Ko.join,Cs=j(Uo.keys,Uo),Os=Wo.max,Ds=Wo.min,ks=Bo.now,Ls=e.parseInt,As=Wo.random,Is=Ko.reverse,Ps=mi(e,"DataView"),Rs=mi(e,"Map"),Ns=mi(e,"Promise"),js=mi(e,"Set"),Ys=mi(e,"WeakMap"),Fs=mi(Uo,"create"),Hs=Ys&&new Ys,Bs={},Vs=Ai(Ps),zs=Ai(Rs),Ws=Ai(Ns),Us=Ai(js),qs=Ai(Ys),Gs=as?as.prototype:z,Xs=Gs?Gs.valueOf:z,Ks=Gs?Gs.toString:z,Zs=function(){function t(){}return function(e){if(!lo(e))return{};if(ds)return ds(e);t.prototype=e;var n=new t;return t.prototype=z,n}}();n.templateSettings={escape:ce,evaluate:de,interpolate:he,variable:"",imports:{_:n}},(n.prototype=r.prototype).constructor=n,(i.prototype=Zs(r.prototype)).constructor=i,(M.prototype=Zs(r.prototype)).constructor=M,Ne.prototype.clear=function(){this.__data__=Fs?Fs(null):{},this.size=0},Ne.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},Ne.prototype.get=function(t){var e=this.__data__;if(Fs){var n=e[t];return n===G?z:n}return Qo.call(e,t)?e[t]:z},Ne.prototype.has=function(t){var e=this.__data__;return Fs?e[t]!==z:Qo.call(e,t)},Ne.prototype.set=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=Fs&&e===z?G:e,this},je.prototype.clear=function(){this.__data__=[],this.size=0},je.prototype.delete=function(t){var e=this.__data__,n=Ge(e,t);return!(n<0||(n==e.length-1?e.pop():fs.call(e,n,1),--this.size,0))},je.prototype.get=function(t){var e=this.__data__,n=Ge(e,t);return n<0?z:e[n][1]},je.prototype.has=function(t){return Ge(this.__data__,t)>-1},je.prototype.set=function(t,e){var n=this.__data__,r=Ge(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this},Ye.prototype.clear=function(){this.size=0,this.__data__={hash:new Ne,map:new(Rs||je),string:new Ne}},Ye.prototype.delete=function(t){var e=fi(this,t).delete(t);return this.size-=e?1:0,e},Ye.prototype.get=function(t){return fi(this,t).get(t)},Ye.prototype.has=function(t){return fi(this,t).has(t)},Ye.prototype.set=function(t,e){var n=fi(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this},Fe.prototype.add=Fe.prototype.push=function(t){return this.__data__.set(t,G),this},Fe.prototype.has=function(t){return this.__data__.has(t)},He.prototype.clear=function(){this.__data__=new je,this.size=0},He.prototype.delete=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n},He.prototype.get=function(t){return this.__data__.get(t)},He.prototype.has=function(t){return this.__data__.has(t)},He.prototype.set=function(t,e){var n=this.__data__;if(n instanceof je){var r=n.__data__;if(!Rs||r.length<W-1)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new Ye(r)}return n.set(t,e),this.size=n.size,this};var $s=Fr(cn),Js=Fr(hn,!0),Qs=Hr(),ta=Hr(!0),ea=Hs?function(t,e){return Hs.set(t,e),t}:Io,na=gs?function(t,e){return gs(t,"toString",{configurable:!0,enumerable:!1,value:Ao(e),writable:!0})}:Io,ra=sr,ia=vs||function(t){return Tn.clearTimeout(t)},oa=js&&1/H(new js([,-0]))[1]==gt?function(t){return new js(t)}:No,sa=Hs?function(t){return Hs.get(t)}:No,aa=Ts?function(t){return null==t?[]:(t=Uo(t),c(Ts(t),function(e){return hs.call(t,e)}))}:Yo,ua=Ts?function(t){for(var e=[];t;)p(e,aa(t)),t=cs(t);return e}:Yo,la=En;(Ps&&la(new Ps(new ArrayBuffer(1)))!=Gt||Rs&&la(new Rs)!=Pt||Ns&&"[object Promise]"!=la(Ns.resolve())||js&&la(new js)!=Ht||Ys&&la(new Ys)!=Wt)&&(la=function(t){var e=En(t),n=e==jt?t.constructor:z,r=n?Ai(n):"";if(r)switch(r){case Vs:return Gt;case zs:return Pt;case Ws:return"[object Promise]";case Us:return Ht;case qs:return Wt}return e});var ca=$o?so:Fo,da=Di(ea),ha=bs||function(t,e){return Tn.setTimeout(t,e)},fa=Di(na),pa=function(t){var e=to(t,function(t){return n.size===X&&n.clear(),t}),n=e.cache;return e}(function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(me,function(t,n,r,i){e.push(r?i.replace(Me,"$1"):n||t)}),e}),ma=sr(function(t,e){return io(t)?nn(t,an(e,1,io,!0)):[]}),_a=sr(function(t,e){var n=Yi(e);return io(n)&&(n=z),io(t)?nn(t,an(e,1,io,!0),hi(n,2)):[]}),ga=sr(function(t,e){var n=Yi(e);return io(n)&&(n=z),io(t)?nn(t,an(e,1,io,!0),z,n):[]}),va=sr(function(t){var e=f(t,Mr);return e.length&&e[0]===t[0]?Rn(e):[]}),ya=sr(function(t){var e=Yi(t),n=f(t,Mr);return e===Yi(n)?e=z:n.pop(),n.length&&n[0]===t[0]?Rn(n,hi(e,2)):[]}),ba=sr(function(t){var e=Yi(t),n=f(t,Mr);return(e="function"==typeof e?e:z)&&n.pop(),n.length&&n[0]===t[0]?Rn(n,z,e):[]}),wa=sr(Fi),Sa=ai(function(t,e){var n=null==t?0:t.length,r=$e(t,e);return rr(t,f(e,function(t){return yi(t,n)?+t:t}).sort(Ar)),r}),Ta=sr(function(t){return vr(an(t,1,io,!0))}),Ea=sr(function(t){var e=Yi(t);return io(e)&&(e=z),vr(an(t,1,io,!0),hi(e,2))}),Ma=sr(function(t){var e=Yi(t);return e="function"==typeof e?e:z,vr(an(t,1,io,!0),z,e)}),xa=sr(function(t,e){return io(t)?nn(t,e):[]}),Ca=sr(function(t){return Tr(c(t,io))}),Oa=sr(function(t){var e=Yi(t);return io(e)&&(e=z),Tr(c(t,io),hi(e,2))}),Da=sr(function(t){var e=Yi(t);return e="function"==typeof e?e:z,Tr(c(t,io),z,e)}),ka=sr(Bi),La=sr(function(t){var e=t.length,n=e>1?t[e-1]:z;return n="function"==typeof n?(t.pop(),n):z,Vi(t,n)}),Aa=ai(function(t){var e=t.length,n=e?t[0]:0,r=this.__wrapped__,o=function(e){return $e(e,t)};return!(e>1||this.__actions__.length)&&r instanceof M&&yi(n)?((r=r.slice(n,+n+(e?1:0))).__actions__.push({func:Wi,args:[o],thisArg:z}),new i(r,this.__chain__).thru(function(t){return e&&!t.length&&t.push(z),t})):this.thru(o)}),Ia=jr(function(t,e,n){Qo.call(t,n)?++t[n]:Ze(t,n,1)}),Pa=Wr(Pi),Ra=Wr(Ri),Na=jr(function(t,e,n){Qo.call(t,n)?t[n].push(e):Ze(t,n,[e])}),ja=sr(function(t,e,n){var r=-1,i="function"==typeof e,s=ro(t)?Ho(t.length):[];return $s(t,function(t){s[++r]=i?o(e,t,n):Hn(t,e,n)}),s}),Ya=jr(function(t,e,n){Ze(t,n,e)}),Fa=jr(function(t,e,n){t[n?0:1].push(e)},function(){return[[],[]]}),Ha=sr(function(t,e){if(null==t)return[];var n=e.length;return n>1&&bi(t,e[0],e[1])?e=[]:n>2&&bi(e[0],e[1],e[2])&&(e=[e[0]]),tr(t,an(e,1),[])}),Ba=ys||function(){return Tn.Date.now()},Va=sr(function(t,e,n){var r=et;if(n.length){var i=Y(n,di(Va));r|=st}return ni(t,r,e,n,i)}),za=sr(function(t,e,n){var r=et|nt;if(n.length){var i=Y(n,di(za));r|=st}return ni(e,r,t,n,i)}),Wa=sr(function(t,e){return en(t,1,e)}),Ua=sr(function(t,e,n){return en(t,bo(e)||0,n)});to.Cache=Ye;var qa=ra(function(t,e){var n=(e=1==e.length&&Qa(e[0])?f(e[0],D(hi())):f(an(e,1),D(hi()))).length;return sr(function(r){for(var i=-1,s=Ds(r.length,n);++i<s;)r[i]=e[i].call(this,r[i]);return o(t,this,r)})}),Ga=sr(function(t,e){var n=Y(e,di(Ga));return ni(t,st,z,e,n)}),Xa=sr(function(t,e){var n=Y(e,di(Xa));return ni(t,at,z,e,n)}),Ka=ai(function(t,e){return ni(t,lt,z,z,z,e)}),Za=Jr(Mn),$a=Jr(function(t,e){return t>=e}),Ja=Bn(function(){return arguments}())?Bn:function(t){return co(t)&&Qo.call(t,"callee")&&!hs.call(t,"callee")},Qa=Ho.isArray,tu=Dn?D(Dn):function(t){return co(t)&&En(t)==qt},eu=Es||Fo,nu=kn?D(kn):function(t){return co(t)&&En(t)==Dt},ru=Ln?D(Ln):function(t){return co(t)&&la(t)==Pt},iu=An?D(An):function(t){return co(t)&&En(t)==Ft},ou=In?D(In):function(t){return co(t)&&la(t)==Ht},su=Pn?D(Pn):function(t){return co(t)&&uo(t.length)&&!!_n[En(t)]},au=Jr(Xn),uu=Jr(function(t,e){return t<=e}),lu=Yr(function(t,e){if(Ti(e)||ro(e))Nr(e,Mo(e),t);else for(var n in e)Qo.call(e,n)&&qe(t,n,e[n])}),cu=Yr(function(t,e){Nr(e,xo(e),t)}),du=Yr(function(t,e,n,r){Nr(e,xo(e),t,r)}),hu=Yr(function(t,e,n,r){Nr(e,Mo(e),t,r)}),fu=ai($e),pu=sr(function(t,e){t=Uo(t);var n=-1,r=e.length,i=r>2?e[2]:z;for(i&&bi(e[0],e[1],i)&&(r=1);++n<r;)for(var o=e[n],s=xo(o),a=-1,u=s.length;++a<u;){var l=s[a],c=t[l];(c===z||no(c,Zo[l])&&!Qo.call(t,l))&&(t[l]=o[l])}return t}),mu=sr(function(t){return t.push(z,ii),o(bu,z,t)}),_u=Gr(function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=ns.call(e)),t[e]=n},Ao(Io)),gu=Gr(function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=ns.call(e)),Qo.call(t,e)?t[e].push(n):t[e]=[n]},hi),vu=sr(Hn),yu=Yr(function(t,e,n){Jn(t,e,n)}),bu=Yr(function(t,e,n,r){Jn(t,e,n,r)}),wu=ai(function(t,e){var n={};if(null==t)return n;var r=!1;e=f(e,function(e){return e=Cr(e,t),r||(r=e.length>1),e}),Nr(t,li(t),n),r&&(n=Qe(n,Z|$|J,oi));for(var i=e.length;i--;)yr(n,e[i]);return n}),Su=ai(function(t,e){return null==t?{}:function(t,e){return er(t,e,function(e,n){return Eo(t,n)})}(t,e)}),Tu=ei(Mo),Eu=ei(xo),Mu=Vr(function(t,e,n){return e=e.toLowerCase(),t+(n?Do(e):e)}),xu=Vr(function(t,e,n){return t+(n?"-":"")+e.toLowerCase()}),Cu=Vr(function(t,e,n){return t+(n?" ":"")+e.toLowerCase()}),Ou=Br("toLowerCase"),Du=Vr(function(t,e,n){return t+(n?"_":"")+e.toLowerCase()}),ku=Vr(function(t,e,n){return t+(n?" ":"")+Au(e)}),Lu=Vr(function(t,e,n){return t+(n?" ":"")+e.toUpperCase()}),Au=Br("toUpperCase"),Iu=sr(function(t,e){try{return o(t,z,e)}catch(t){return oo(t)?t:new Vo(t)}}),Pu=ai(function(t,e){return a(e,function(e){e=Li(e),Ze(t,e,Va(t[e],t))}),t}),Ru=Ur(),Nu=Ur(!0),ju=sr(function(t,e){return function(n){return Hn(n,t,e)}}),Yu=sr(function(t,e){return function(n){return Hn(t,n,e)}}),Fu=Kr(f),Hu=Kr(l),Bu=Kr(g),Vu=$r(),zu=$r(!0),Wu=Xr(function(t,e){return t+e},0),Uu=ti("ceil"),qu=Xr(function(t,e){return t/e},1),Gu=ti("floor"),Xu=Xr(function(t,e){return t*e},1),Ku=ti("round"),Zu=Xr(function(t,e){return t-e},0);return n.after=function(t,e){if("function"!=typeof e)throw new Xo(q);return t=vo(t),function(){if(--t<1)return e.apply(this,arguments)}},n.ary=Ki,n.assign=lu,n.assignIn=cu,n.assignInWith=du,n.assignWith=hu,n.at=fu,n.before=Zi,n.bind=Va,n.bindAll=Pu,n.bindKey=za,n.castArray=function(){if(!arguments.length)return[];var t=arguments[0];return Qa(t)?t:[t]},n.chain=zi,n.chunk=function(t,e,n){e=(n?bi(t,e,n):e===z)?1:Os(vo(e),0);var r=null==t?0:t.length;if(!r||e<1)return[];for(var i=0,o=0,s=Ho(ws(r/e));i<r;)s[o++]=dr(t,i,i+=e);return s},n.compact=function(t){for(var e=-1,n=null==t?0:t.length,r=0,i=[];++e<n;){var o=t[e];o&&(i[r++]=o)}return i},n.concat=function(){var t=arguments.length;if(!t)return[];for(var e=Ho(t-1),n=arguments[0],r=t;r--;)e[r-1]=arguments[r];return p(Qa(n)?Rr(n):[n],an(e,1))},n.cond=function(t){var e=null==t?0:t.length,n=hi();return t=e?f(t,function(t){if("function"!=typeof t[1])throw new Xo(q);return[n(t[0]),t[1]]}):[],sr(function(n){for(var r=-1;++r<e;){var i=t[r];if(o(i[0],this,n))return o(i[1],this,n)}})},n.conforms=function(t){return function(t){var e=Mo(t);return function(n){return tn(n,t,e)}}(Qe(t,Z))},n.constant=Ao,n.countBy=Ia,n.create=function(t,e){var n=Zs(t);return null==e?n:Ke(n,e)},n.curry=$i,n.curryRight=Ji,n.debounce=Qi,n.defaults=pu,n.defaultsDeep=mu,n.defer=Wa,n.delay=Ua,n.difference=ma,n.differenceBy=_a,n.differenceWith=ga,n.drop=function(t,e,n){var r=null==t?0:t.length;return r?(e=n||e===z?1:vo(e),dr(t,e<0?0:e,r)):[]},n.dropRight=function(t,e,n){var r=null==t?0:t.length;return r?(e=n||e===z?1:vo(e),e=r-e,dr(t,0,e<0?0:e)):[]},n.dropRightWhile=function(t,e){return t&&t.length?wr(t,hi(e,3),!0,!0):[]},n.dropWhile=function(t,e){return t&&t.length?wr(t,hi(e,3),!0):[]},n.fill=function(t,e,n,r){var i=null==t?0:t.length;return i?(n&&"number"!=typeof n&&bi(t,e,n)&&(n=0,r=i),function(t,e,n,r){var i=t.length;for((n=vo(n))<0&&(n=-n>i?0:i+n),(r=r===z||r>i?i:vo(r))<0&&(r+=i),r=n>r?0:yo(r);n<r;)t[n++]=e;return t}(t,e,n,r)):[]},n.filter=function(t,e){return(Qa(t)?c:sn)(t,hi(e,3))},n.flatMap=function(t,e){return an(Xi(t,e),1)},n.flatMapDeep=function(t,e){return an(Xi(t,e),gt)},n.flatMapDepth=function(t,e,n){return n=n===z?1:vo(n),an(Xi(t,e),n)},n.flatten=Ni,n.flattenDeep=function(t){return null!=t&&t.length?an(t,gt):[]},n.flattenDepth=function(t,e){return null!=t&&t.length?(e=e===z?1:vo(e),an(t,e)):[]},n.flip=function(t){return ni(t,ct)},n.flow=Ru,n.flowRight=Nu,n.fromPairs=function(t){for(var e=-1,n=null==t?0:t.length,r={};++e<n;){var i=t[e];r[i[0]]=i[1]}return r},n.functions=function(t){return null==t?[]:vn(t,Mo(t))},n.functionsIn=function(t){return null==t?[]:vn(t,xo(t))},n.groupBy=Na,n.initial=function(t){return null!=t&&t.length?dr(t,0,-1):[]},n.intersection=va,n.intersectionBy=ya,n.intersectionWith=ba,n.invert=_u,n.invertBy=gu,n.invokeMap=ja,n.iteratee=Po,n.keyBy=Ya,n.keys=Mo,n.keysIn=xo,n.map=Xi,n.mapKeys=function(t,e){var n={};return e=hi(e,3),cn(t,function(t,r,i){Ze(n,e(t,r,i),t)}),n},n.mapValues=function(t,e){var n={};return e=hi(e,3),cn(t,function(t,r,i){Ze(n,r,e(t,r,i))}),n},n.matches=function(t){return Zn(Qe(t,Z))},n.matchesProperty=function(t,e){return $n(t,Qe(e,Z))},n.memoize=to,n.merge=yu,n.mergeWith=bu,n.method=ju,n.methodOf=Yu,n.mixin=Ro,n.negate=eo,n.nthArg=function(t){return t=vo(t),sr(function(e){return Qn(e,t)})},n.omit=wu,n.omitBy=function(t,e){return Co(t,eo(hi(e)))},n.once=function(t){return Zi(2,t)},n.orderBy=function(t,e,n,r){return null==t?[]:(Qa(e)||(e=null==e?[]:[e]),n=r?z:n,Qa(n)||(n=null==n?[]:[n]),tr(t,e,n))},n.over=Fu,n.overArgs=qa,n.overEvery=Hu,n.overSome=Bu,n.partial=Ga,n.partialRight=Xa,n.partition=Fa,n.pick=Su,n.pickBy=Co,n.property=jo,n.propertyOf=function(t){return function(e){return null==t?z:wn(t,e)}},n.pull=wa,n.pullAll=Fi,n.pullAllBy=function(t,e,n){return t&&t.length&&e&&e.length?nr(t,e,hi(n,2)):t},n.pullAllWith=function(t,e,n){return t&&t.length&&e&&e.length?nr(t,e,z,n):t},n.pullAt=Sa,n.range=Vu,n.rangeRight=zu,n.rearg=Ka,n.reject=function(t,e){return(Qa(t)?c:sn)(t,eo(hi(e,3)))},n.remove=function(t,e){var n=[];if(!t||!t.length)return n;var r=-1,i=[],o=t.length;for(e=hi(e,3);++r<o;){var s=t[r];e(s,r,t)&&(n.push(s),i.push(r))}return rr(t,i),n},n.rest=function(t,e){if("function"!=typeof t)throw new Xo(q);return e=e===z?e:vo(e),sr(t,e)},n.reverse=Hi,n.sampleSize=function(t,e,n){return e=(n?bi(t,e,n):e===z)?1:vo(e),(Qa(t)?ze:ur)(t,e)},n.set=function(t,e,n){return null==t?t:lr(t,e,n)},n.setWith=function(t,e,n,r){return r="function"==typeof r?r:z,null==t?t:lr(t,e,n,r)},n.shuffle=function(t){return(Qa(t)?We:cr)(t)},n.slice=function(t,e,n){var r=null==t?0:t.length;return r?(n&&"number"!=typeof n&&bi(t,e,n)?(e=0,n=r):(e=null==e?0:vo(e),n=n===z?r:vo(n)),dr(t,e,n)):[]},n.sortBy=Ha,n.sortedUniq=function(t){return t&&t.length?mr(t):[]},n.sortedUniqBy=function(t,e){return t&&t.length?mr(t,hi(e,2)):[]},n.split=function(t,e,n){return n&&"number"!=typeof n&&bi(t,e,n)&&(e=n=z),(n=n===z?wt:n>>>0)?(t=So(t))&&("string"==typeof e||null!=e&&!iu(e))&&!(e=gr(e))&&R(t)?Or(V(t),0,n):t.split(e,n):[]},n.spread=function(t,e){if("function"!=typeof t)throw new Xo(q);return e=null==e?0:Os(vo(e),0),sr(function(n){var r=n[e],i=Or(n,0,e);return r&&p(i,r),o(t,this,i)})},n.tail=function(t){var e=null==t?0:t.length;return e?dr(t,1,e):[]},n.take=function(t,e,n){return t&&t.length?(e=n||e===z?1:vo(e),dr(t,0,e<0?0:e)):[]},n.takeRight=function(t,e,n){var r=null==t?0:t.length;return r?(e=n||e===z?1:vo(e),e=r-e,dr(t,e<0?0:e,r)):[]},n.takeRightWhile=function(t,e){return t&&t.length?wr(t,hi(e,3),!1,!0):[]},n.takeWhile=function(t,e){return t&&t.length?wr(t,hi(e,3)):[]},n.tap=function(t,e){return e(t),t},n.throttle=function(t,e,n){var r=!0,i=!0;if("function"!=typeof t)throw new Xo(q);return lo(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),Qi(t,e,{leading:r,maxWait:e,trailing:i})},n.thru=Wi,n.toArray=_o,n.toPairs=Tu,n.toPairsIn=Eu,n.toPath=function(t){return Qa(t)?f(t,Li):mo(t)?[t]:Rr(pa(So(t)))},n.toPlainObject=wo,n.transform=function(t,e,n){var r=Qa(t),i=r||eu(t)||su(t);if(e=hi(e,4),null==n){var o=t&&t.constructor;n=i?r?new o:[]:lo(t)&&so(o)?Zs(cs(t)):{}}return(i?a:cn)(t,function(t,r,i){return e(n,t,r,i)}),n},n.unary=function(t){return Ki(t,1)},n.union=Ta,n.unionBy=Ea,n.unionWith=Ma,n.uniq=function(t){return t&&t.length?vr(t):[]},n.uniqBy=function(t,e){return t&&t.length?vr(t,hi(e,2)):[]},n.uniqWith=function(t,e){return e="function"==typeof e?e:z,t&&t.length?vr(t,z,e):[]},n.unset=function(t,e){return null==t||yr(t,e)},n.unzip=Bi,n.unzipWith=Vi,n.update=function(t,e,n){return null==t?t:br(t,e,xr(n))},n.updateWith=function(t,e,n,r){return r="function"==typeof r?r:z,null==t?t:br(t,e,xr(n),r)},n.values=Oo,n.valuesIn=function(t){return null==t?[]:k(t,xo(t))},n.without=xa,n.words=Lo,n.wrap=function(t,e){return Ga(xr(e),t)},n.xor=Ca,n.xorBy=Oa,n.xorWith=Da,n.zip=ka,n.zipObject=function(t,e){return Er(t||[],e||[],qe)},n.zipObjectDeep=function(t,e){return Er(t||[],e||[],lr)},n.zipWith=La,n.entries=Tu,n.entriesIn=Eu,n.extend=cu,n.extendWith=du,Ro(n,n),n.add=Wu,n.attempt=Iu,n.camelCase=Mu,n.capitalize=Do,n.ceil=Uu,n.clamp=function(t,e,n){return n===z&&(n=e,e=z),n!==z&&(n=(n=bo(n))==n?n:0),e!==z&&(e=(e=bo(e))==e?e:0),Je(bo(t),e,n)},n.clone=function(t){return Qe(t,J)},n.cloneDeep=function(t){return Qe(t,Z|J)},n.cloneDeepWith=function(t,e){return e="function"==typeof e?e:z,Qe(t,Z|J,e)},n.cloneWith=function(t,e){return e="function"==typeof e?e:z,Qe(t,J,e)},n.conformsTo=function(t,e){return null==e||tn(t,e,Mo(e))},n.deburr=ko,n.defaultTo=function(t,e){return null==t||t!=t?e:t},n.divide=qu,n.endsWith=function(t,e,n){t=So(t),e=gr(e);var r=t.length,i=n=n===z?r:Je(vo(n),0,r);return(n-=e.length)>=0&&t.slice(n,i)==e},n.eq=no,n.escape=function(t){return(t=So(t))&&le.test(t)?t.replace(ae,jn):t},n.escapeRegExp=function(t){return(t=So(t))&&ge.test(t)?t.replace(_e,"\\$&"):t},n.every=function(t,e,n){var r=Qa(t)?l:rn;return n&&bi(t,e,n)&&(e=z),r(t,hi(e,3))},n.find=Pa,n.findIndex=Pi,n.findKey=function(t,e){return v(t,hi(e,3),cn)},n.findLast=Ra,n.findLastIndex=Ri,n.findLastKey=function(t,e){return v(t,hi(e,3),hn)},n.floor=Gu,n.forEach=qi,n.forEachRight=Gi,n.forIn=function(t,e){return null==t?t:Qs(t,hi(e,3),xo)},n.forInRight=function(t,e){return null==t?t:ta(t,hi(e,3),xo)},n.forOwn=function(t,e){return t&&cn(t,hi(e,3))},n.forOwnRight=function(t,e){return t&&hn(t,hi(e,3))},n.get=To,n.gt=Za,n.gte=$a,n.has=function(t,e){return null!=t&&_i(t,e,Cn)},n.hasIn=Eo,n.head=ji,n.identity=Io,n.includes=function(t,e,n,r){t=ro(t)?t:Oo(t),n=n&&!r?vo(n):0;var i=t.length;return n<0&&(n=Os(i+n,0)),po(t)?n<=i&&t.indexOf(e,n)>-1:!!i&&b(t,e,n)>-1},n.indexOf=function(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=null==n?0:vo(n);return i<0&&(i=Os(r+i,0)),b(t,e,i)},n.inRange=function(t,e,n){return e=go(e),n===z?(n=e,e=0):n=go(n),t=bo(t),function(t,e,n){return t>=Ds(e,n)&&t<Os(e,n)}(t,e,n)},n.invoke=vu,n.isArguments=Ja,n.isArray=Qa,n.isArrayBuffer=tu,n.isArrayLike=ro,n.isArrayLikeObject=io,n.isBoolean=function(t){return!0===t||!1===t||co(t)&&En(t)==Ot},n.isBuffer=eu,n.isDate=nu,n.isElement=function(t){return co(t)&&1===t.nodeType&&!fo(t)},n.isEmpty=function(t){if(null==t)return!0;if(ro(t)&&(Qa(t)||"string"==typeof t||"function"==typeof t.splice||eu(t)||su(t)||Ja(t)))return!t.length;var e=la(t);if(e==Pt||e==Ht)return!t.size;if(Ti(t))return!qn(t).length;for(var n in t)if(Qo.call(t,n))return!1;return!0},n.isEqual=function(t,e){return Vn(t,e)},n.isEqualWith=function(t,e,n){var r=(n="function"==typeof n?n:z)?n(t,e):z;return r===z?Vn(t,e,z,n):!!r},n.isError=oo,n.isFinite=function(t){return"number"==typeof t&&Ms(t)},n.isFunction=so,n.isInteger=ao,n.isLength=uo,n.isMap=ru,n.isMatch=function(t,e){return t===e||zn(t,e,pi(e))},n.isMatchWith=function(t,e,n){return n="function"==typeof n?n:z,zn(t,e,pi(e),n)},n.isNaN=function(t){return ho(t)&&t!=+t},n.isNative=function(t){if(ca(t))throw new Vo(U);return Wn(t)},n.isNil=function(t){return null==t},n.isNull=function(t){return null===t},n.isNumber=ho,n.isObject=lo,n.isObjectLike=co,n.isPlainObject=fo,n.isRegExp=iu,n.isSafeInteger=function(t){return ao(t)&&t>=-vt&&t<=vt},n.isSet=ou,n.isString=po,n.isSymbol=mo,n.isTypedArray=su,n.isUndefined=function(t){return t===z},n.isWeakMap=function(t){return co(t)&&la(t)==Wt},n.isWeakSet=function(t){return co(t)&&En(t)==Ut},n.join=function(t,e){return null==t?"":xs.call(t,e)},n.kebabCase=xu,n.last=Yi,n.lastIndexOf=function(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=r;return n!==z&&(i=(i=vo(n))<0?Os(r+i,0):Ds(i,r-1)),e==e?function(t,e,n){for(var r=n+1;r--;)if(t[r]===e)return r;return r}(t,e,i):y(t,S,i,!0)},n.lowerCase=Cu,n.lowerFirst=Ou,n.lt=au,n.lte=uu,n.max=function(t){return t&&t.length?on(t,Io,Mn):z},n.maxBy=function(t,e){return t&&t.length?on(t,hi(e,2),Mn):z},n.mean=function(t){return T(t,Io)},n.meanBy=function(t,e){return T(t,hi(e,2))},n.min=function(t){return t&&t.length?on(t,Io,Xn):z},n.minBy=function(t,e){return t&&t.length?on(t,hi(e,2),Xn):z},n.stubArray=Yo,n.stubFalse=Fo,n.stubObject=function(){return{}},n.stubString=function(){return""},n.stubTrue=function(){return!0},n.multiply=Xu,n.nth=function(t,e){return t&&t.length?Qn(t,vo(e)):z},n.noConflict=function(){return Tn._===this&&(Tn._=is),this},n.noop=No,n.now=Ba,n.pad=function(t,e,n){t=So(t);var r=(e=vo(e))?B(t):0;if(!e||r>=e)return t;var i=(e-r)/2;return Zr(Ss(i),n)+t+Zr(ws(i),n)},n.padEnd=function(t,e,n){t=So(t);var r=(e=vo(e))?B(t):0;return e&&r<e?t+Zr(e-r,n):t},n.padStart=function(t,e,n){t=So(t);var r=(e=vo(e))?B(t):0;return e&&r<e?Zr(e-r,n)+t:t},n.parseInt=function(t,e,n){return n||null==e?e=0:e&&(e=+e),Ls(So(t).replace(ye,""),e||0)},n.random=function(t,e,n){if(n&&"boolean"!=typeof n&&bi(t,e,n)&&(e=n=z),n===z&&("boolean"==typeof e?(n=e,e=z):"boolean"==typeof t&&(n=t,t=z)),t===z&&e===z?(t=0,e=1):(t=go(t),e===z?(e=t,t=0):e=go(e)),t>e){var r=t;t=e,e=r}if(n||t%1||e%1){var i=As();return Ds(t+i*(e-t+yn("1e-"+((i+"").length-1))),e)}return ir(t,e)},n.reduce=function(t,e,n){var r=Qa(t)?m:x,i=arguments.length<3;return r(t,hi(e,4),n,i,$s)},n.reduceRight=function(t,e,n){var r=Qa(t)?_:x,i=arguments.length<3;return r(t,hi(e,4),n,i,Js)},n.repeat=function(t,e,n){return e=(n?bi(t,e,n):e===z)?1:vo(e),or(So(t),e)},n.replace=function(){var t=arguments,e=So(t[0]);return t.length<3?e:e.replace(t[1],t[2])},n.result=function(t,e,n){var r=-1,i=(e=Cr(e,t)).length;for(i||(i=1,t=z);++r<i;){var o=null==t?z:t[Li(e[r])];o===z&&(r=i,o=n),t=so(o)?o.call(t):o}return t},n.round=Ku,n.runInContext=t,n.sample=function(t){return(Qa(t)?Ve:ar)(t)},n.size=function(t){if(null==t)return 0;if(ro(t))return po(t)?B(t):t.length;var e=la(t);return e==Pt||e==Ht?t.size:qn(t).length},n.snakeCase=Du,n.some=function(t,e,n){var r=Qa(t)?g:hr;return n&&bi(t,e,n)&&(e=z),r(t,hi(e,3))},n.sortedIndex=function(t,e){return fr(t,e)},n.sortedIndexBy=function(t,e,n){return pr(t,e,hi(n,2))},n.sortedIndexOf=function(t,e){var n=null==t?0:t.length;if(n){var r=fr(t,e);if(r<n&&no(t[r],e))return r}return-1},n.sortedLastIndex=function(t,e){return fr(t,e,!0)},n.sortedLastIndexBy=function(t,e,n){return pr(t,e,hi(n,2),!0)},n.sortedLastIndexOf=function(t,e){if(null!=t&&t.length){var n=fr(t,e,!0)-1;if(no(t[n],e))return n}return-1},n.startCase=ku,n.startsWith=function(t,e,n){return t=So(t),n=null==n?0:Je(vo(n),0,t.length),e=gr(e),t.slice(n,n+e.length)==e},n.subtract=Zu,n.sum=function(t){return t&&t.length?C(t,Io):0},n.sumBy=function(t,e){return t&&t.length?C(t,hi(e,2)):0},n.template=function(t,e,r){var i=n.templateSettings;r&&bi(t,e,r)&&(e=z),t=So(t),e=du({},e,i,ri);var o,s,a=du({},e.imports,i.imports,ri),u=Mo(a),l=k(a,u),c=0,d=e.interpolate||Pe,h="__p += '",f=qo((e.escape||Pe).source+"|"+d.source+"|"+(d===he?xe:Pe).source+"|"+(e.evaluate||Pe).source+"|$","g"),p="//# sourceURL="+("sourceURL"in e?e.sourceURL:"lodash.templateSources["+ ++mn+"]")+"\n";t.replace(f,function(e,n,r,i,a,u){return r||(r=i),h+=t.slice(c,u).replace(Re,P),n&&(o=!0,h+="' +\n__e("+n+") +\n'"),a&&(s=!0,h+="';\n"+a+";\n__p += '"),r&&(h+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),c=u+e.length,e}),h+="';\n";var m=e.variable;m||(h="with (obj) {\n"+h+"\n}\n"),h=(s?h.replace(re,""):h).replace(ie,"$1").replace(oe,"$1;"),h="function("+(m||"obj")+") {\n"+(m?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(o?", __e = _.escape":"")+(s?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+h+"return __p\n}";var _=Iu(function(){return zo(u,p+"return "+h).apply(z,l)});if(_.source=h,oo(_))throw _;return _},n.times=function(t,e){if((t=vo(t))<1||t>vt)return[];var n=wt,r=Ds(t,wt);e=hi(e),t-=wt;for(var i=O(r,e);++n<t;)e(n);return i},n.toFinite=go,n.toInteger=vo,n.toLength=yo,n.toLower=function(t){return So(t).toLowerCase()},n.toNumber=bo,n.toSafeInteger=function(t){return t?Je(vo(t),-vt,vt):0===t?t:0},n.toString=So,n.toUpper=function(t){return So(t).toUpperCase()},n.trim=function(t,e,n){if((t=So(t))&&(n||e===z))return t.replace(ve,"");if(!t||!(e=gr(e)))return t;var r=V(t),i=V(e);return Or(r,A(r,i),I(r,i)+1).join("")},n.trimEnd=function(t,e,n){if((t=So(t))&&(n||e===z))return t.replace(be,"");if(!t||!(e=gr(e)))return t;var r=V(t);return Or(r,0,I(r,V(e))+1).join("")},n.trimStart=function(t,e,n){if((t=So(t))&&(n||e===z))return t.replace(ye,"");if(!t||!(e=gr(e)))return t;var r=V(t);return Or(r,A(r,V(e))).join("")},n.truncate=function(t,e){var n=dt,r=ht;if(lo(e)){var i="separator"in e?e.separator:i;n="length"in e?vo(e.length):n,r="omission"in e?gr(e.omission):r}var o=(t=So(t)).length;if(R(t)){var s=V(t);o=s.length}if(n>=o)return t;var a=n-B(r);if(a<1)return r;var u=s?Or(s,0,a).join(""):t.slice(0,a);if(i===z)return u+r;if(s&&(a+=u.length-a),iu(i)){if(t.slice(a).search(i)){var l,c=u;for(i.global||(i=qo(i.source,So(Ce.exec(i))+"g")),i.lastIndex=0;l=i.exec(c);)var d=l.index;u=u.slice(0,d===z?a:d)}}else if(t.indexOf(gr(i),a)!=a){var h=u.lastIndexOf(i);h>-1&&(u=u.slice(0,h))}return u+r},n.unescape=function(t){return(t=So(t))&&ue.test(t)?t.replace(se,Yn):t},n.uniqueId=function(t){var e=++ts;return So(t)+e},n.upperCase=Lu,n.upperFirst=Au,n.each=qi,n.eachRight=Gi,n.first=ji,Ro(n,function(){var t={};return cn(n,function(e,r){Qo.call(n.prototype,r)||(t[r]=e)}),t}(),{chain:!1}),n.VERSION="4.17.5",a(["bind","bindKey","curry","curryRight","partial","partialRight"],function(t){n[t].placeholder=n}),a(["drop","take"],function(t,e){M.prototype[t]=function(n){n=n===z?1:Os(vo(n),0);var r=this.__filtered__&&!e?new M(this):this.clone();return r.__filtered__?r.__takeCount__=Ds(n,r.__takeCount__):r.__views__.push({size:Ds(n,wt),type:t+(r.__dir__<0?"Right":"")}),r},M.prototype[t+"Right"]=function(e){return this.reverse()[t](e).reverse()}}),a(["filter","map","takeWhile"],function(t,e){var n=e+1,r=n==mt||3==n;M.prototype[t]=function(t){var e=this.clone();return e.__iteratees__.push({iteratee:hi(t,3),type:n}),e.__filtered__=e.__filtered__||r,e}}),a(["head","last"],function(t,e){var n="take"+(e?"Right":"");M.prototype[t]=function(){return this[n](1).value()[0]}}),a(["initial","tail"],function(t,e){var n="drop"+(e?"":"Right");M.prototype[t]=function(){return this.__filtered__?new M(this):this[n](1)}}),M.prototype.compact=function(){return this.filter(Io)},M.prototype.find=function(t){return this.filter(t).head()},M.prototype.findLast=function(t){return this.reverse().find(t)},M.prototype.invokeMap=sr(function(t,e){return"function"==typeof t?new M(this):this.map(function(n){return Hn(n,t,e)})}),M.prototype.reject=function(t){return this.filter(eo(hi(t)))},M.prototype.slice=function(t,e){t=vo(t);var n=this;return n.__filtered__&&(t>0||e<0)?new M(n):(t<0?n=n.takeRight(-t):t&&(n=n.drop(t)),e!==z&&(n=(e=vo(e))<0?n.dropRight(-e):n.take(e-t)),n)},M.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},M.prototype.toArray=function(){return this.take(wt)},cn(M.prototype,function(t,e){var r=/^(?:filter|find|map|reject)|While$/.test(e),o=/^(?:head|last)$/.test(e),s=n[o?"take"+("last"==e?"Right":""):e],a=o||/^find/.test(e);s&&(n.prototype[e]=function(){var e=this.__wrapped__,u=o?[1]:arguments,l=e instanceof M,c=u[0],d=l||Qa(e),h=function(t){var e=s.apply(n,p([t],u));return o&&f?e[0]:e};d&&r&&"function"==typeof c&&1!=c.length&&(l=d=!1);var f=this.__chain__,m=a&&!f,_=l&&!this.__actions__.length;if(!a&&d){e=_?e:new M(this);var g=t.apply(e,u);return g.__actions__.push({func:Wi,args:[h],thisArg:z}),new i(g,f)}return m&&_?t.apply(this,u):(g=this.thru(h),m?o?g.value()[0]:g.value():g)})}),a(["pop","push","shift","sort","splice","unshift"],function(t){var e=Ko[t],r=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",i=/^(?:pop|shift)$/.test(t);n.prototype[t]=function(){var t=arguments;if(i&&!this.__chain__){var n=this.value();return e.apply(Qa(n)?n:[],t)}return this[r](function(n){return e.apply(Qa(n)?n:[],t)})}}),cn(M.prototype,function(t,e){var r=n[e];if(r){var i=r.name+"";(Bs[i]||(Bs[i]=[])).push({name:e,func:r})}}),Bs[qr(z,nt).name]=[{name:"wrapper",func:z}],M.prototype.clone=function(){var t=new M(this.__wrapped__);return t.__actions__=Rr(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=Rr(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=Rr(this.__views__),t},M.prototype.reverse=function(){if(this.__filtered__){var t=new M(this);t.__dir__=-1,t.__filtered__=!0}else(t=this.clone()).__dir__*=-1;return t},M.prototype.value=function(){var t=this.__wrapped__.value(),e=this.__dir__,n=Qa(t),r=e<0,i=n?t.length:0,o=function(t,e,n){for(var r=-1,i=n.length;++r<i;){var o=n[r],s=o.size;switch(o.type){case"drop":t+=s;break;case"dropRight":e-=s;break;case"take":e=Ds(e,t+s);break;case"takeRight":t=Os(t,e-s)}}return{start:t,end:e}}(0,i,this.__views__),s=o.start,a=o.end,u=a-s,l=r?a:s-1,c=this.__iteratees__,d=c.length,h=0,f=Ds(u,this.__takeCount__);if(!n||!r&&i==u&&f==u)return Sr(t,this.__actions__);var p=[];t:for(;u--&&h<f;){for(var m=-1,_=t[l+=e];++m<d;){var g=c[m],v=g.type,y=(0,g.iteratee)(_);if(v==_t)_=y;else if(!y){if(v==mt)continue t;break t}}p[h++]=_}return p},n.prototype.at=Aa,n.prototype.chain=function(){return zi(this)},n.prototype.commit=function(){return new i(this.value(),this.__chain__)},n.prototype.next=function(){this.__values__===z&&(this.__values__=_o(this.value()));var t=this.__index__>=this.__values__.length;return{done:t,value:t?z:this.__values__[this.__index__++]}},n.prototype.plant=function(t){for(var e,n=this;n instanceof r;){var i=Ii(n);i.__index__=0,i.__values__=z,e?o.__wrapped__=i:e=i;var o=i;n=n.__wrapped__}return o.__wrapped__=t,e},n.prototype.reverse=function(){var t=this.__wrapped__;if(t instanceof M){var e=t;return this.__actions__.length&&(e=new M(this)),(e=e.reverse()).__actions__.push({func:Wi,args:[Hi],thisArg:z}),new i(e,this.__chain__)}return this.thru(Hi)},n.prototype.toJSON=n.prototype.valueOf=n.prototype.value=function(){return Sr(this.__wrapped__,this.__actions__)},n.prototype.first=n.prototype.head,ms&&(n.prototype[ms]=Ui),n}();Tn._=Fn,(i=function(){return Fn}.call(e,n,e,r))===z||(r.exports=i)}).call(this)}).call(e,n(120),n(394)(t))},function(t,e,n){"use strict";n.d(e,"a",function(){return a}),e.b=function(t){return!!(t&&t._didLoad&&t._willUnload)};var r=n(1),i=n(11),o=n(99),s=n(39),a=function(){function t(t,e,n){void 0===n&&(n=u),this.component=t,this._isHidden=!1,this._state=o.h,this.willEnter=new r.EventEmitter,this.didEnter=new r.EventEmitter,this.willLeave=new r.EventEmitter,this.didLeave=new r.EventEmitter,this.willUnload=new r.EventEmitter,this.readReady=new r.EventEmitter,this.writeReady=new r.EventEmitter,this.isOverlay=!1,this._emitter=new r.EventEmitter,this.data=e instanceof s.a?e.data:Object(i.l)(e)?e:{},this._cssClass=n,this._ts=Date.now(),window.addEventListener("orientationchange",this.handleOrientationChange.bind(this))}return t.prototype.handleOrientationChange=function(){this.getContent()&&this.getContent().resize()},t.prototype.init=function(t){this._ts=Date.now(),this._cmp=t,this.instance=this.instance||t.instance,this._detached=!1},t.prototype._setNav=function(t){this._nav=t},t.prototype._setInstance=function(t){this.instance=t},t.prototype.subscribe=function(t){return this._emitter.subscribe(t)},t.prototype.emit=function(t){this._emitter.emit(t)},t.prototype.onDidDismiss=function(t){this._onDidDismiss=t},t.prototype.onWillDismiss=function(t){this._onWillDismiss=t},t.prototype.dismiss=function(t,e,n){if(void 0===n&&(n={}),!this._nav)return Promise.resolve(!1);this.isOverlay&&!n.minClickBlockDuration&&(n.minClickBlockDuration=400),this._dismissData=t,this._dismissRole=e;var r=Object.assign({},this._leavingOpts,n);return this._nav.removeView(this,r).then(function(){return t})},t.prototype.getNav=function(){return this._nav},t.prototype.getTransitionName=function(t){return this._nav&&this._nav.config.get("pageTransition")},t.prototype.getNavParams=function(){return new s.a(this.data)},t.prototype.setLeavingOpts=function(t){this._leavingOpts=t},t.prototype.enableBack=function(){if(!this._nav)return!1;return!!this._nav.getPrevious(this)},Object.defineProperty(t.prototype,"name",{get:function(){return this.component?this.component.name:""},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"index",{get:function(){return this._nav?this._nav.indexOf(this):-1},enumerable:!0,configurable:!0}),t.prototype.isFirst=function(){return!!this._nav&&this._nav.first()===this},t.prototype.isLast=function(){return!!this._nav&&this._nav.last()===this},t.prototype._domShow=function(t,e){if(this._cmp&&t===this._isHidden){this._isHidden=!t;var n=t?null:"";e.setElementAttribute(this.pageRef().nativeElement,"hidden",n)}},t.prototype.getZIndex=function(){return this._zIndex},t.prototype._setZIndex=function(t,e){if(t!==this._zIndex){this._zIndex=t;var n=this.pageRef();n&&e.setElementStyle(n.nativeElement,"z-index",t)}},t.prototype.pageRef=function(){return this._cmp&&this._cmp.location},t.prototype._setContent=function(t){this._cntDir=t},t.prototype.getContent=function(){return this._cntDir},t.prototype._setContentRef=function(t){this._cntRef=t},t.prototype.contentRef=function(){return this._cntRef},t.prototype._setIONContent=function(t){this._setContent(t),this._ionCntDir=t},t.prototype.getIONContent=function(){return this._ionCntDir},t.prototype._setIONContentRef=function(t){this._setContentRef(t),this._ionCntRef=t},t.prototype.getIONContentRef=function(){return this._ionCntRef},t.prototype._setHeader=function(t){this._hdrDir=t},t.prototype.getHeader=function(){return this._hdrDir},t.prototype._setFooter=function(t){this._ftrDir=t},t.prototype.getFooter=function(){return this._ftrDir},t.prototype._setNavbar=function(t){this._nb=t},t.prototype.getNavbar=function(){return this._nb},t.prototype.hasNavbar=function(){return!!this._nb},t.prototype.setBackButtonText=function(t){this._nb&&this._nb.setBackButtonText(t)},t.prototype.showBackButton=function(t){this._nb&&(this._nb.hideBackButton=!t)},t.prototype._preLoad=function(){this._lifecycle("PreLoad")},t.prototype._willLoad=function(){this._lifecycle("WillLoad")},t.prototype._didLoad=function(){this._lifecycle("DidLoad")},t.prototype._willEnter=function(){this.handleOrientationChange(),this._detached&&this._cmp&&(this._cmp.changeDetectorRef.reattach(),this._detached=!1),this.willEnter.emit(null),this._lifecycle("WillEnter")},t.prototype._didEnter=function(){this._nb&&this._nb.didEnter(),this.didEnter.emit(null),this._lifecycle("DidEnter")},t.prototype._willLeave=function(t){this.willLeave.emit(null),this._lifecycle("WillLeave"),t&&this._onWillDismiss&&(this._onWillDismiss(this._dismissData,this._dismissRole),this._onWillDismiss=null)},t.prototype._didLeave=function(){this.didLeave.emit(null),this._lifecycle("DidLeave"),!this._detached&&this._cmp&&(this._cmp.changeDetectorRef.detach(),this._detached=!0)},t.prototype._willUnload=function(){this.willUnload.emit(null),this._lifecycle("WillUnload"),this._onDidDismiss&&this._onDidDismiss(this._dismissData,this._dismissRole),this._onDidDismiss=null,this._dismissData=null,this._dismissRole=null},t.prototype._destroy=function(t){if(this._cmp){if(t){var e=this._cmp.location.nativeElement;t.setElementAttribute(e,"class",null),t.setElementAttribute(e,"style",null)}window.removeEventListener("orientationchange",this.handleOrientationChange.bind(this)),this._cmp.destroy()}this._nav=this._cmp=this.instance=this._cntDir=this._cntRef=this._leavingOpts=this._hdrDir=this._ftrDir=this._nb=this._onDidDismiss=this._onWillDismiss=null,this._state=o.f},t.prototype._lifecycleTest=function(t){var e=this.instance,n="ionViewCan"+t;if(e&&e[n])try{var r=e[n]();return r instanceof Promise?r:Promise.resolve(!1!==r)}catch(t){return Promise.reject(this.name+" "+n+" error: "+t.message)}return Promise.resolve(!0)},t.prototype._lifecycle=function(t){var e=this.instance,n="ionView"+t;e&&e[n]&&e[n]()},t}(),u="ion-page"},function(t,e,n){"use strict";var r=n(0).__extends,i=n(2),o=n(15),s=n(38),a=n(187),u=n(404),l=n(184),c=function(t){function e(e){t.call(this,e),this.destination=e}return r(e,t),e}(o.Subscriber);e.SubjectSubscriber=c;var d=function(t){function e(){t.call(this),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}return r(e,t),e.prototype[l.rxSubscriber]=function(){return new c(this)},e.prototype.lift=function(t){var e=new h(this,this);return e.operator=t,e},e.prototype.next=function(t){if(this.closed)throw new a.ObjectUnsubscribedError;if(!this.isStopped)for(var e=this.observers,n=e.length,r=e.slice(),i=0;i<n;i++)r[i].next(t)},e.prototype.error=function(t){if(this.closed)throw new a.ObjectUnsubscribedError;this.hasError=!0,this.thrownError=t,this.isStopped=!0;for(var e=this.observers,n=e.length,r=e.slice(),i=0;i<n;i++)r[i].error(t);this.observers.length=0},e.prototype.complete=function(){if(this.closed)throw new a.ObjectUnsubscribedError;this.isStopped=!0;for(var t=this.observers,e=t.length,n=t.slice(),r=0;r<e;r++)n[r].complete();this.observers.length=0},e.prototype.unsubscribe=function(){this.isStopped=!0,this.closed=!0,this.observers=null},e.prototype._trySubscribe=function(e){if(this.closed)throw new a.ObjectUnsubscribedError;return t.prototype._trySubscribe.call(this,e)},e.prototype._subscribe=function(t){if(this.closed)throw new a.ObjectUnsubscribedError;return this.hasError?(t.error(this.thrownError),s.Subscription.EMPTY):this.isStopped?(t.complete(),s.Subscription.EMPTY):(this.observers.push(t),new u.SubjectSubscription(this,t))},e.prototype.asObservable=function(){var t=new i.Observable;return t.source=this,t},e.create=function(t,e){return new h(t,e)},e}(i.Observable);e.Subject=d;var h=function(t){function e(e,n){t.call(this),this.destination=e,this.source=n}return r(e,t),e.prototype.next=function(t){var e=this.destination;e&&e.next&&e.next(t)},e.prototype.error=function(t){var e=this.destination;e&&e.error&&this.destination.error(t)},e.prototype.complete=function(){var t=this.destination;t&&t.complete&&this.destination.complete()},e.prototype._subscribe=function(t){return this.source?this.source.subscribe(t):s.Subscription.EMPTY},e}(d);e.AnonymousSubject=h},function(t,e,n){"use strict";var r=n(19);e.Subject=r.Subject,e.AnonymousSubject=r.AnonymousSubject;var i=n(2);e.Observable=i.Observable,n(953),n(956),n(959),n(961),n(962),n(965),n(967),n(969),n(276),n(971),n(493),n(973),n(976),n(979),n(277),n(981),n(982),n(985),n(986),n(988),n(991),n(994),n(997),n(497),n(498),n(1e3),n(1002),n(1006),n(1008),n(1010),n(1012),n(1014),n(1016),n(1018),n(1020),n(1022),n(1024),n(1026),n(1027),n(1029),n(1031),n(1033),n(1035),n(1037),n(1039),n(1041),n(1043),n(1045),n(1047),n(1049),n(1051),n(1053),n(1055),n(1057),n(500),n(1059),n(1061),n(1063),n(1065),n(1067),n(1069),n(1071),n(1073),n(1075),n(1077),n(1079),n(1081),n(278),n(1083),n(1085),n(1087),n(1089),n(1091),n(1093),n(1095),n(1097),n(1099),n(1101),n(1103),n(1105),n(1107),n(1109),n(1111),n(1113),n(1115),n(1117),n(1119),n(1121),n(1123),n(1125),n(1127),n(1129),n(1131),n(1133),n(1135),n(1137),n(1139),n(1141),n(1142),n(1144),n(1146),n(1148),n(1150),n(1152),n(1154),n(1156),n(1164),n(1166),n(1168),n(502),n(1171),n(279),n(503),n(1175),n(504),n(1178),n(506),n(1180),n(1182),n(1184),n(1186),n(1187),n(1189),n(1191),n(1193),n(1195),n(1197),n(1199),n(1201);var o=n(38);e.Subscription=o.Subscription;var s=n(15);e.Subscriber=s.Subscriber;var a=n(192);e.AsyncSubject=a.AsyncSubject;var u=n(60);e.ReplaySubject=u.ReplaySubject;var l=n(451);e.BehaviorSubject=l.BehaviorSubject;var c=n(403);e.ConnectableObservable=c.ConnectableObservable;var d=n(148);e.Notification=d.Notification;var h=n(191);e.EmptyError=h.EmptyError;var f=n(149);e.ArgumentOutOfRangeError=f.ArgumentOutOfRangeError;var p=n(187);e.ObjectUnsubscribedError=p.ObjectUnsubscribedError;var m=n(479);e.TimeoutError=m.TimeoutError;var _=n(396);e.UnsubscriptionError=_.UnsubscriptionError;var g=n(505);e.TimeInterval=g.TimeInterval;var v=n(274);e.Timestamp=v.Timestamp;var y=n(1203);e.TestScheduler=y.TestScheduler;var b=n(510);e.VirtualTimeScheduler=b.VirtualTimeScheduler;var w=n(499);e.AjaxResponse=w.AjaxResponse,e.AjaxError=w.AjaxError,e.AjaxTimeoutError=w.AjaxTimeoutError;var S=n(258);e.pipe=S.pipe;var T=n(501),E=n(34),M=n(454),x=n(1206),C=n(184),O=n(143),D=n(185),k=n(28);e.operators=k;e.Scheduler={asap:T.asap,queue:M.queue,animationFrame:x.animationFrame,async:E.async};e.Symbol={rxSubscriber:C.rxSubscriber,observable:D.observable,iterator:O.iterator}},,,function(t,e,n){"use strict";var r=n(56),i=n(398),o=n(399),s=n(395),a=n(2),u=n(143),l=n(938),c=n(185);e.subscribeToResult=function(t,e,n,d){var h=new l.InnerSubscriber(t,n,d);if(h.closed)return null;if(e instanceof a.Observable)return e._isScalar?(h.next(e.value),h.complete(),null):(h.syncErrorThrowable=!0,e.subscribe(h));if(i.isArrayLike(e)){for(var f=0,p=e.length;f<p&&!h.closed;f++)h.next(e[f]);h.closed||h.complete()}else{if(o.isPromise(e))return e.then(function(t){h.closed||(h.next(t),h.complete())},function(t){return h.error(t)}).then(null,function(t){r.root.setTimeout(function(){throw t})}),h;if(e&&"function"==typeof e[u.iterator])for(var m=e[u.iterator]();;){var _=m.next();if(_.done){h.complete();break}if(h.next(_.value),h.closed)break}else if(e&&"function"==typeof e[c.observable]){var g=e[c.observable]();if("function"==typeof g.subscribe)return g.subscribe(new l.InnerSubscriber(t,n,d));h.error(new TypeError("Provided object does not correctly implement Symbol.observable"))}else{var v="You provided "+(s.isObject(e)?"an invalid object":"'"+e+"'")+" where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.";h.error(new TypeError(v))}}return null}},function(t,e,n){"use strict";var r=n(0).__extends,i=n(15);e.OuterSubscriber=function(t){function e(){t.apply(this,arguments)}return r(e,t),e.prototype.notifyNext=function(t,e,n,r,i){this.destination.next(e)},e.prototype.notifyError=function(t,e){this.destination.error(t)},e.prototype.notifyComplete=function(t){this.destination.complete()},e}(i.Subscriber)},function(t,e,n){"use strict";n.d(e,"b",function(){return r}),n.d(e,"d",function(){return i}),n.d(e,"c",function(){return o}),n.d(e,"j",function(){return s}),n.d(e,"k",function(){return a}),n.d(e,"h",function(){return u}),n.d(e,"g",function(){return l}),n.d(e,"f",function(){return c}),n.d(e,"e",function(){return d}),n.d(e,"i",function(){return h}),n.d(e,"a",function(){return f}),n.d(e,"l",function(){return p});n(27);var r="goback-swipe",i="menu-swipe",o="item-swipe",s="refresher",a="toggle",u=-10,l=0,c=10,d=20,h=30,f={disable:[i,r],disableScroll:!0},p=function(){function t(t){this._app=t,this.id=1,this.requestedStart={},this.disabledGestures={},this.disabledScroll=new Set,this.capturedID=null}return t.prototype.createGesture=function(t){if(!t.name)throw new Error("name is undefined");return new m(t.name,this.newID(),this,t.priority||0,!!t.disableScroll)},t.prototype.createBlocker=function(t){return void 0===t&&(t={}),new _(this.newID(),this,t.disable,!!t.disableScroll)},t.prototype.newID=function(){var t=this.id;return this.id++,t},t.prototype.start=function(t,e,n){return this.canStart(t)?(this.requestedStart[e]=n,!0):(delete this.requestedStart[e],!1)},t.prototype.capture=function(t,e,n){if(!this.start(t,e,n))return!1;var r=this.requestedStart,i=-1e4;for(var o in r)i=Math.max(i,r[o]);return i===n?(this.capturedID=e,this.requestedStart={},!0):(delete r[e],!1)},t.prototype.release=function(t){delete this.requestedStart[t],this.capturedID&&t===this.capturedID&&(this.capturedID=null)},t.prototype.disableGesture=function(t,e){var n=this.disabledGestures[t];n||(n=new Set,this.disabledGestures[t]=n),n.add(e)},t.prototype.enableGesture=function(t,e){var n=this.disabledGestures[t];n&&n.delete(e)},t.prototype.disableScroll=function(t){var e=!this.isScrollDisabled();this.disabledScroll.add(t),this._app&&e&&this.isScrollDisabled()&&this._app._setDisableScroll(!0)},t.prototype.enableScroll=function(t){var e=this.isScrollDisabled();this.disabledScroll.delete(t),this._app&&e&&!this.isScrollDisabled()&&this._app._setDisableScroll(!1)},t.prototype.canStart=function(t){return!this.capturedID&&!this.isDisabled(t)},t.prototype.isCaptured=function(){return!!this.capturedID},t.prototype.isScrollDisabled=function(){return this.disabledScroll.size>0},t.prototype.isDisabled=function(t){var e=this.disabledGestures[t];return!!(e&&e.size>0)},t}(),m=function(){function t(t,e,n,r,i){this.name=t,this.id=e,this.controller=n,this.priority=r,this.disableScroll=i}return t.prototype.canStart=function(){return!!this.controller&&this.controller.canStart(this.name)},t.prototype.start=function(){return!!this.controller&&this.controller.start(this.name,this.id,this.priority)},t.prototype.capture=function(){if(!this.controller)return!1;var t=this.controller.capture(this.name,this.id,this.priority);return t&&this.disableScroll&&this.controller.disableScroll(this.id),t},t.prototype.release=function(){this.controller&&(this.controller.release(this.id),this.disableScroll&&this.controller.enableScroll(this.id))},t.prototype.destroy=function(){this.release(),this.controller=null},t}(),_=function(){function t(t,e,n,r){this.id=t,this.controller=e,this.disable=n,this.disableScroll=r,this.blocked=!1}return t.prototype.block=function(){var t=this;this.controller&&(this.disable&&this.disable.forEach(function(e){t.controller.disableGesture(e,t.id)}),this.disableScroll&&this.controller.disableScroll(this.id),this.blocked=!0)},t.prototype.unblock=function(){var t=this;this.controller&&(this.disable&&this.disable.forEach(function(e){t.controller.enableGesture(e,t.id)}),this.disableScroll&&this.controller.enableScroll(this.id),this.blocked=!1)},t.prototype.destroy=function(){this.unblock(),this.controller=null},t}()},function(t,e,n){"use strict";n.d(e,"a",function(){return r});var r=function(){function t(t,e,n,r){this._config=t,this._elementRef=e,this._renderer=n,this._componentName=r,r&&(this._setComponentName(),this._setMode(t.get("mode")))}return Object.defineProperty(t.prototype,"color",{get:function(){return this._color},set:function(t){this._setColor(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"mode",{get:function(){return this._mode},set:function(t){this._setMode(t)},enumerable:!0,configurable:!0}),t.prototype.setElementClass=function(t,e){this._renderer.setElementClass(this._elementRef.nativeElement,t,e)},t.prototype.setElementAttribute=function(t,e){this._renderer.setElementAttribute(this._elementRef.nativeElement,t,e)},t.prototype.setElementStyle=function(t,e){this._renderer.setElementStyle(this._elementRef.nativeElement,t,e)},t.prototype._setColor=function(t,e){e&&(this._componentName=e),this._color&&this.setElementClass(this._componentName+"-"+this._mode+"-"+this._color,!1),t&&(this.setElementClass(this._componentName+"-"+this._mode+"-"+t,!0),this._color=t)},t.prototype._setMode=function(t){this._mode&&this.setElementClass(this._componentName+"-"+this._mode,!1),t&&(this.setElementClass(this._componentName+"-"+t,!0),this._setColor(null),this._mode=t,this._setColor(this._color))},t.prototype._setComponentName=function(){this.setElementClass(this._componentName,!0)},t.prototype.getElementRef=function(){return this._elementRef},t.prototype.getNativeElement=function(){return this._elementRef.nativeElement},t}()},function(t,e,n){"use strict";function r(t,e){if(t.id===e||t.name===e)return t;for(var n=0,i=t.getAllChildNavs();n<i.length;n++){var o=r(i[n],e);if(o)return o}return null}function i(t){if(!t)return null;if(Object(l.m)(t))return i(t.parent);var e=t.length();return e>1||t._isPortal&&e>0?t:i(t.parent)}function o(t){var e=[],n=t.getActiveChildNavs();return n&&n.length?n.forEach(function(t){var n=o(t);e=e.concat(n)}):e.push(t),e}var s=n(1),a=n(46),u=n(152),l=(n(6),n(99)),c=(n(75),n(16),n(61)),d=n(11),h=n(123),f=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),p="opacity",m="translateX",_="show-back-button",g=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return f(e,t),e.prototype.init=function(){t.prototype.init.call(this);var e=this.plt,n=e.isRTL?"-99.5%":"99.5%",r=e.isRTL?"33%":"-33%",i=this.enteringView,o=this.leavingView,s=this.opts;this.duration(Object(d.l)(s.duration)?s.duration:500),this.easing(Object(d.l)(s.easing)?s.easing:"cubic-bezier(0.36,0.66,0.04,1)");var a="back"===s.direction,u=i&&i.hasNavbar(),l=o&&o.hasNavbar();if(i){var h=i.pageRef().nativeElement,f=new c.a(e,i.contentRef());if(f.element(h.querySelectorAll("ion-header > *:not(ion-navbar),ion-footer > *")),this.add(f),a?f.fromTo(m,r,"0%",!0).fromTo(p,.8,1,!0):f.beforeClearStyles([p]).fromTo(m,n,"0%",!0),u){var g=h.querySelector("ion-navbar"),v=new c.a(e,g);this.add(v);var y=new c.a(e,g.querySelector("ion-title")),b=new c.a(e,g.querySelectorAll("ion-buttons,[menuToggle]")),w=new c.a(e,g.querySelector(".toolbar-background")),S=new c.a(e,g.querySelector(".back-button"));if(v.add(y).add(b).add(w).add(S),y.fromTo(p,.01,1,!0),b.fromTo(p,.01,1,!0),a)y.fromTo(m,r,"0%",!0),i.enableBack()&&S.beforeAddClass(_).fromTo(p,.01,1,!0);else if(y.fromTo(m,n,"0%",!0),w.beforeClearStyles([p]).fromTo(m,n,"0%",!0),i.enableBack()){S.beforeAddClass(_).fromTo(p,.01,1,!0);var T=new c.a(e,g.querySelector(".back-button-text"));T.fromTo(m,e.isRTL?"-100px":"100px","0px"),v.add(T)}else S.beforeRemoveClass(_)}}if(o&&o.pageRef()){var E=o.pageRef().nativeElement,M=new c.a(e,o.contentRef());if(M.element(E.querySelectorAll("ion-header > *:not(ion-navbar),ion-footer > *")),this.add(M),a?M.beforeClearStyles([p]).fromTo(m,"0%",e.isRTL?"-100%":"100%"):M.fromTo(m,"0%",r).fromTo(p,1,.8).afterClearStyles(["transform",p]),l){var x=E.querySelector("ion-navbar"),C=new c.a(e,x),O=new c.a(e,x.querySelector("ion-title")),D=new c.a(e,x.querySelectorAll("ion-buttons,[menuToggle]")),k=new c.a(e,x.querySelector(".toolbar-background")),L=new c.a(e,x.querySelector(".back-button"));if(C.add(O).add(D).add(L).add(k),this.add(C),L.fromTo(p,.99,0),O.fromTo(p,.99,0),D.fromTo(p,.99,0),a){O.fromTo(m,"0%",e.isRTL?"-100%":"100%"),k.beforeClearStyles([p]).fromTo(m,"0%",e.isRTL?"-100%":"100%");var A=new c.a(e,x.querySelector(".back-button-text"));A.fromTo(m,"0%",(e.isRTL?-300:300)+"px"),C.add(A)}else O.fromTo(m,"0%",r).afterClearStyles(["transform"]),L.afterClearStyles([p]),O.afterClearStyles([p]),D.afterClearStyles([p])}}},e}(h.a),v=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),y=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return v(e,t),e.prototype.init=function(){t.prototype.init.call(this);var e=this.plt,n=this.enteringView,r=this.leavingView,i=this.opts,o="back"===i.direction;if(n&&(o?this.duration(Object(d.l)(i.duration)?i.duration:200).easing("cubic-bezier(0.47,0,0.745,0.715)"):(this.duration(Object(d.l)(i.duration)?i.duration:280).easing("cubic-bezier(0.36,0.66,0.04,1)"),this.enteringPage.fromTo("translateY","40px","0px",!0).fromTo("opacity",.01,1,!0)),n.hasNavbar())){var s=n.pageRef().nativeElement.querySelector("ion-navbar"),a=new c.a(e,s);this.add(a);var u=new c.a(e,s.querySelector(".back-button"));this.add(u),n.enableBack()?u.beforeAddClass("show-back-button"):u.beforeRemoveClass("show-back-button")}if(r&&o){this.duration(i.duration||200).easing("cubic-bezier(0.47,0,0.745,0.715)");var l=new c.a(e,r.pageRef());this.add(l.fromTo("translateY","0px","40px").fromTo("opacity",1,0))}},e}(h.a),b=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),w=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return b(e,t),e.prototype.init=function(){t.prototype.init.call(this);var e=this.plt,n=this.enteringView,r=this.leavingView,i=this.opts,o="back"===i.direction;if(n&&(o?(this.duration(Object(d.l)(i.duration)?i.duration:120).easing("cubic-bezier(0.47,0,0.745,0.715)"),this.enteringPage.beforeClearStyles(["scale"])):(this.duration(Object(d.l)(i.duration)?i.duration:280).easing("cubic-bezier(0,0,0.05,1)"),this.enteringPage.fromTo("scale",.95,1,!0).fromTo("opacity",.01,1,!0)),n.hasNavbar())){var s=n.pageRef().nativeElement.querySelector("ion-navbar"),a=new c.a(e,s);this.add(a);var u=new c.a(e,s.querySelector(".back-button"));this.add(u),n.enableBack()?u.beforeAddClass("show-back-button"):u.beforeRemoveClass("show-back-button")}if(r&&o){this.duration(i.duration||200).easing("cubic-bezier(0.47,0,0.745,0.715)");var l=new c.a(e,r.pageRef());this.add(l.fromTo("scale",1,.95).fromTo("opacity",.99,0))}},e}(h.a);n.d(e,"a",function(){return S});var S=function(){function t(t,e,n){this._config=t,this._plt=e,this._menuCtrl=n,this._disTime=0,this._scrollTime=0,this._title="",this._titleSrv=new a.i(a.b),this._rootNavs=new Map,this._didScroll=!1,this.viewDidLoad=new s.EventEmitter,this.viewWillEnter=new s.EventEmitter,this.viewDidEnter=new s.EventEmitter,this.viewWillLeave=new s.EventEmitter,this.viewDidLeave=new s.EventEmitter,this.viewWillUnload=new s.EventEmitter,e.registerBackButtonAction(this.goBack.bind(this)),this._disableScrollAssist=t.getBoolean("disableScrollAssist",!1);t.getBoolean("inputBlurring",!1)&&this._enableInputBlurring(),t.setTransition("ios-transition",g),t.setTransition("md-transition",y),t.setTransition("wp-transition",w)}return t.prototype.setTitle=function(t){t!==this._title&&(this._title=t,this._titleSrv.setTitle(t))},t.prototype.setElementClass=function(t,e){this._appRoot.setElementClass(t,e)},t.prototype.setEnabled=function(t,e,n){void 0===e&&(e=700),void 0===n&&(n=0),this._disTime=t?0:Date.now()+e,this._clickBlock&&(t?this._clickBlock.activate(!1,M,n):this._clickBlock.activate(!0,e+M,n))},t.prototype._setDisableScroll=function(t){this._disableScrollAssist&&this._appRoot._disableScroll(t)},t.prototype.isEnabled=function(){var t=this._disTime;return 0===t||t<Date.now()},t.prototype.setScrolling=function(){this._scrollTime=Date.now()+E,this._didScroll=!0},t.prototype.isScrolling=function(){var t=this._scrollTime;return 0!==t&&(!(t<Date.now())||(this._scrollTime=0,!1))},t.prototype.getActiveNav=function(){console.warn("(getActiveNav) is deprecated and will be removed in the next major release. Use getActiveNavs instead.");var t=this.getActiveNavs();return t&&t.length?t[0]:null},t.prototype.getActiveNavs=function(t){var e=this._appRoot._getPortal(u.c);if(e.length()>0)return o(e);if(!this._rootNavs||!this._rootNavs.size)return[];if(1===this._rootNavs.size)return o(this._rootNavs.values().next().value);if(t)return o(this._rootNavs.get(t));var n=[];return this._rootNavs.forEach(function(t){var e=o(t);n=n.concat(e)}),n},t.prototype.getRootNav=function(){console.warn("(getRootNav) is deprecated and will be removed in the next major release. Use getRootNavById instead.");var t=this.getRootNavs();return 0===t.length?null:(t.length>1&&console.warn("(getRootNav) there are multiple root navs, use getRootNavs instead"),t[0])},t.prototype.getRootNavs=function(){var t=[];return this._rootNavs.forEach(function(e){return t.push(e)}),t},t.prototype.getRootNavById=function(t){return this._rootNavs.get(t)},t.prototype.registerRootNav=function(t){this._rootNavs.set(t.id,t)},t.prototype.unregisterRootNav=function(t){this._rootNavs.delete(t.id)},t.prototype.getActiveNavContainers=function(){var t=[];return this._rootNavs.forEach(function(e){t=t.concat(o(e))}),t},t.prototype.present=function(t,e,n){var r=this._appRoot._getPortal(n);return t._setNav(r),e.direction=l.b,e.animation||(e.animation=t.getTransitionName(l.b)),t.setLeavingOpts({keyboardClose:e.keyboardClose,direction:l.a,animation:t.getTransitionName(l.a),ev:e.ev}),r.insertPages(-1,[t],e)},t.prototype.goBack=function(){if(this._menuCtrl&&this._menuCtrl.isOpen())return this._menuCtrl.close();var t=this.navPop();return t||this._config.getBoolean("navExitApp",!0)&&this._plt.exitApp(),t},t.prototype.navPop=function(){var t=this;if(!this._rootNavs||0===this._rootNavs.size||!this.isEnabled())return Promise.resolve();if(this._appRoot._getPortal(u.a).length()>0)return Promise.resolve();var e=null,n=null;return this._rootNavs.forEach(function(r){t.getActiveNavs(r.id).map(function(t){return i(t)}).filter(function(t){return!!t}).forEach(function(t){var r=t.last();(t._isPortal||r&&t.length()>1&&(!n||r._ts>=n._ts))&&(n=r,e=t)})}),e?e.pop():void 0},t.prototype._enableInputBlurring=function(){var t=!0,e=this,n=this._plt;n.registerListener(n.doc(),"focusin",function(){t=!0},{capture:!0,zone:!1,passive:!0}),n.registerListener(n.doc(),"touchend",function(r){if(e._didScroll)e._didScroll=!1;else{var i=e._plt.getActiveElement();if(i&&-1!==T.indexOf(i.tagName)){var o=r.target;o!==i&&(T.indexOf(o.tagName)>=0||o.classList.contains("input-cover")||(t=!1,n.timeout(function(){t||i.blur()},50)))}}},{capture:!1,zone:!1,passive:!0})},t.prototype.getNavByIdOrName=function(t){for(var e=0,n=Array.from(this._rootNavs.values());e<n.length;e++){var i=r(n[e],t);if(i)return i}return null},t}(),T=["INPUT","TEXTAREA","ION-INPUT","ION-TEXTAREA"],E=100,M=64},function(t,e,n){"use strict";var r=n(262);e.audit=r.audit;var i=n(406);e.auditTime=i.auditTime;var o=n(408);e.buffer=o.buffer;var s=n(409);e.bufferCount=s.bufferCount;var a=n(410);e.bufferTime=a.bufferTime;var u=n(411);e.bufferToggle=u.bufferToggle;var l=n(412);e.bufferWhen=l.bufferWhen;var c=n(413);e.catchError=c.catchError;var d=n(414);e.combineAll=d.combineAll;var h=n(189);e.combineLatest=h.combineLatest;var f=n(415);e.concat=f.concat;var p=n(263);e.concatAll=p.concatAll;var m=n(264);e.concatMap=m.concatMap;var _=n(418);e.concatMapTo=_.concatMapTo;var g=n(419);e.count=g.count;var v=n(420);e.debounce=v.debounce;var y=n(421);e.debounceTime=y.debounceTime;var b=n(265);e.defaultIfEmpty=b.defaultIfEmpty;var w=n(422);e.delay=w.delay;var S=n(423);e.delayWhen=S.delayWhen;var T=n(424);e.dematerialize=T.dematerialize;var E=n(425);e.distinct=E.distinct;var M=n(266);e.distinctUntilChanged=M.distinctUntilChanged;var x=n(426);e.distinctUntilKeyChanged=x.distinctUntilKeyChanged;var C=n(427);e.elementAt=C.elementAt;var O=n(428);e.every=O.every;var D=n(429);e.exhaust=D.exhaust;var k=n(430);e.exhaustMap=k.exhaustMap;var L=n(431);e.expand=L.expand;var A=n(267);e.filter=A.filter;var I=n(432);e.finalize=I.finalize;var P=n(268);e.find=P.find;var R=n(433);e.findIndex=R.findIndex;var N=n(434);e.first=N.first;var j=n(435);e.groupBy=j.groupBy;var Y=n(436);e.ignoreElements=Y.ignoreElements;var F=n(437);e.isEmpty=F.isEmpty;var H=n(438);e.last=H.last;var B=n(150);e.map=B.map;var V=n(439);e.mapTo=V.mapTo;var z=n(440);e.materialize=z.materialize;var W=n(441);e.max=W.max;var U=n(442);e.merge=U.merge;var q=n(186);e.mergeAll=q.mergeAll;var G=n(142);e.mergeMap=G.mergeMap;var X=n(142);e.flatMap=X.mergeMap;var K=n(443);e.mergeMapTo=K.mergeMapTo;var Z=n(444);e.mergeScan=Z.mergeScan;var $=n(445);e.min=$.min;var J=n(110);e.multicast=J.multicast;var Q=n(190);e.observeOn=Q.observeOn;var tt=n(271);e.onErrorResumeNext=tt.onErrorResumeNext;var et=n(446);e.pairwise=et.pairwise;var nt=n(447);e.partition=nt.partition;var rt=n(448);e.pluck=rt.pluck;var it=n(449);e.publish=it.publish;var ot=n(450);e.publishBehavior=ot.publishBehavior;var st=n(452);e.publishLast=st.publishLast;var at=n(453);e.publishReplay=at.publishReplay;var ut=n(455);e.race=ut.race;var lt=n(151);e.reduce=lt.reduce;var ct=n(456);e.repeat=ct.repeat;var dt=n(457);e.repeatWhen=dt.repeatWhen;var ht=n(458);e.retry=ht.retry;var ft=n(459);e.retryWhen=ft.retryWhen;var pt=n(261);e.refCount=pt.refCount;var mt=n(460);e.sample=mt.sample;var _t=n(461);e.sampleTime=_t.sampleTime;var gt=n(269);e.scan=gt.scan;var vt=n(462);e.sequenceEqual=vt.sequenceEqual;var yt=n(402);e.share=yt.share;var bt=n(463);e.shareReplay=bt.shareReplay;var wt=n(464);e.single=wt.single;var St=n(465);e.skip=St.skip;var Tt=n(466);e.skipLast=Tt.skipLast;var Et=n(467);e.skipUntil=Et.skipUntil;var Mt=n(468);e.skipWhile=Mt.skipWhile;var xt=n(469);e.startWith=xt.startWith;var Ct=n(470);e.switchAll=Ct.switchAll;var Ot=n(273);e.switchMap=Ot.switchMap;var Dt=n(471);e.switchMapTo=Dt.switchMapTo;var kt=n(472);e.take=kt.take;var Lt=n(270);e.takeLast=Lt.takeLast;var At=n(473);e.takeUntil=At.takeUntil;var It=n(474);e.takeWhile=It.takeWhile;var Pt=n(475);e.tap=Pt.tap;var Rt=n(193);e.throttle=Rt.throttle;var Nt=n(476);e.throttleTime=Nt.throttleTime;var jt=n(477);e.timeInterval=jt.timeInterval;var Yt=n(478);e.timeout=Yt.timeout;var Ft=n(480);e.timeoutWith=Ft.timeoutWith;var Ht=n(274);e.timestamp=Ht.timestamp;var Bt=n(481);e.toArray=Bt.toArray;var Vt=n(482);e.window=Vt.window;var zt=n(483);e.windowCount=zt.windowCount;var Wt=n(484);e.windowTime=Wt.windowTime;var Ut=n(485);e.windowToggle=Ut.windowToggle;var qt=n(486);e.windowWhen=qt.windowWhen;var Gt=n(487);e.withLatestFrom=Gt.withLatestFrom;var Xt=n(194);e.zip=Xt.zip;var Kt=n(488);e.zipAll=Kt.zipAll},function(t,e,n){"use strict";function r(t){return null==t||0===t.length}function i(t){return null!=t}function o(t){var e=Object(O["ɵisPromise"])(t)?Object(k.fromPromise)(t):t;if(!Object(O["ɵisObservable"])(e))throw new Error("Expected validator to return Promise or Observable.");return e}function s(t){var e=t.reduce(function(t,e){return null!=e?Object(C.__assign)({},t,e):t},{});return 0===Object.keys(e).length?null:e}function a(t){return t.validate?function(e){return t.validate(e)}:t}function u(t){return t.validate?function(e){return t.validate(e)}:t}function l(){throw new Error("unimplemented")}function c(t,e){return null==t?""+e:(e&&"object"==typeof e&&(e="Object"),(t+": "+e).slice(0,50))}function d(t,e){return e.path.concat([t])}function h(t,e){t||_(e,"Cannot find control with"),e.valueAccessor||_(e,"No value accessor for form control with"),t.validator=j.compose([t.validator,e.validator]),t.asyncValidator=j.composeAsync([t.asyncValidator,e.asyncValidator]),e.valueAccessor.writeValue(t.value),function(t,e){e.valueAccessor.registerOnChange(function(n){t._pendingValue=n,t._pendingChange=!0,t._pendingDirty=!0,"change"===t.updateOn&&f(t,e)})}(t,e),function(t,e){t.registerOnChange(function(t,n){e.valueAccessor.writeValue(t),n&&e.viewToModelUpdate(t)})}(t,e),function(t,e){e.valueAccessor.registerOnTouched(function(){t._pendingTouched=!0,"blur"===t.updateOn&&t._pendingChange&&f(t,e),"submit"!==t.updateOn&&t.markAsTouched()})}(t,e),e.valueAccessor.setDisabledState&&t.registerOnDisabledChange(function(t){e.valueAccessor.setDisabledState(t)}),e._rawValidators.forEach(function(e){e.registerOnValidatorChange&&e.registerOnValidatorChange(function(){return t.updateValueAndValidity()})}),e._rawAsyncValidators.forEach(function(e){e.registerOnValidatorChange&&e.registerOnValidatorChange(function(){return t.updateValueAndValidity()})})}function f(t,e){e.viewToModelUpdate(t._pendingValue),t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),t._pendingChange=!1}function p(t,e){null==t&&_(e,"Cannot find control with"),t.validator=j.compose([t.validator,e.validator]),t.asyncValidator=j.composeAsync([t.asyncValidator,e.asyncValidator])}function m(t){return _(t,"There is no FormControl instance attached to form control element with")}function _(t,e){var n;throw n=t.path.length>1?"path: '"+t.path.join(" -> ")+"'":t.path[0]?"name: '"+t.path+"'":"unspecified name attribute",new Error(e+" "+n)}function g(t){return null!=t?j.compose(t.map(a)):null}function v(t){return null!=t?j.composeAsync(t.map(u)):null}function y(t,e){if(!t.hasOwnProperty("model"))return!1;var n=t.model;return!!n.isFirstChange()||!Object(O["ɵlooseIdentical"])(e,n.currentValue)}function b(t,e){t._syncPendingControls(),e.forEach(function(t){var e=t.control;"submit"===e.updateOn&&e._pendingChange&&(t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1)})}function w(t,e){if(!e)return null;var n=void 0,r=void 0,i=void 0;return e.forEach(function(e){e.constructor===B?n=e:!function(t){return K.some(function(e){return t.constructor===e})}(e)?(i&&_(t,"More than one custom value accessor matches form control with"),i=e):(r&&_(t,"More than one built-in value accessor matches form control with"),r=e)}),i||(r||(n||(_(t,"No valid value accessor for form control with"),null)))}function S(t,e){var n=t.indexOf(e);n>-1&&t.splice(n,1)}function T(t){var e=M(t)?t.validators:t;return Array.isArray(e)?g(e):e||null}function E(t,e){var n=M(e)?e.asyncValidators:t;return Array.isArray(n)?v(n):n||null}function M(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}function x(t){return!(t instanceof vt||t instanceof gt||t instanceof yt)}n.d(e,"b",function(){return P}),n.d(e,"m",function(){return Y}),n.d(e,"a",function(){return H}),n.d(e,"c",function(){return B}),n.d(e,"n",function(){return z}),n.d(e,"o",function(){return J}),n.d(e,"p",function(){return Q}),n.d(e,"q",function(){return ot}),n.d(e,"r",function(){return pt}),n.d(e,"f",function(){return _t}),n.d(e,"g",function(){return bt}),n.d(e,"h",function(){return gt}),n.d(e,"i",function(){return vt}),n.d(e,"k",function(){return wt}),n.d(e,"d",function(){return St}),n.d(e,"e",function(){return et}),n.d(e,"l",function(){return R}),n.d(e,"t",function(){return j}),n.d(e,"j",function(){return Mt}),n.d(e,"s",function(){return xt}),n.d(e,"u",function(){return Et}),n.d(e,"w",function(){return Tt}),n.d(e,"v",function(){return V}),n.d(e,"x",function(){return W});var C=n(0),O=n(1),D=n(491),k=n(494),L=n(275),A=n(46),I=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,e){return!!this.control&&this.control.hasError(t,e)},t.prototype.getError=function(t,e){return this.control?this.control.getError(t,e):null},t}(),P=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(C.__extends)(e,t),Object.defineProperty(e.prototype,"formDirective",{get:function(){return null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return null},enumerable:!0,configurable:!0}),e}(I),R=new O.InjectionToken("NgValidators"),N=/^(?=.{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])?)*$/,j=function(){function t(){}return t.min=function(t){return function(e){if(r(e.value)||r(t))return null;var n=parseFloat(e.value);return!isNaN(n)&&n<t?{min:{min:t,actual:e.value}}:null}},t.max=function(t){return function(e){if(r(e.value)||r(t))return null;var n=parseFloat(e.value);return!isNaN(n)&&n>t?{max:{max:t,actual:e.value}}:null}},t.required=function(t){return r(t.value)?{required:!0}:null},t.requiredTrue=function(t){return!0===t.value?null:{required:!0}},t.email=function(t){return N.test(t.value)?null:{email:!0}},t.minLength=function(t){return function(e){if(r(e.value))return null;var n=e.value?e.value.length:0;return n<t?{minlength:{requiredLength:t,actualLength:n}}:null}},t.maxLength=function(t){return function(e){var n=e.value?e.value.length:0;return n>t?{maxlength:{requiredLength:t,actualLength:n}}:null}},t.pattern=function(e){if(!e)return t.nullValidator;var n,i;return"string"==typeof e?(i="","^"!==e.charAt(0)&&(i+="^"),i+=e,"$"!==e.charAt(e.length-1)&&(i+="$"),n=new RegExp(i)):(i=e.toString(),n=e),function(t){if(r(t.value))return null;var e=t.value;return n.test(e)?null:{pattern:{requiredPattern:i,actualValue:e}}}},t.nullValidator=function(t){return null},t.compose=function(t){if(!t)return null;var e=t.filter(i);return 0==e.length?null:function(t){return s(function(t,e){return e.map(function(e){return e(t)})}(t,e))}},t.composeAsync=function(t){if(!t)return null;var e=t.filter(i);return 0==e.length?null:function(t){var n=function(t,e){return e.map(function(e){return e(t)})}(t,e).map(o);return L.map.call(Object(D.forkJoin)(n),s)}},t}(),Y=new O.InjectionToken("NgValueAccessor"),F=function(){function t(t,e){this._renderer=t,this._elementRef=e,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}(),H=new O.InjectionToken("CompositionEventMode"),B=function(){function t(t,e,n){this._renderer=t,this._elementRef=e,this._compositionMode=n,this.onChange=function(t){},this.onTouched=function(){},this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function(){var t=Object(A.r)()?Object(A.r)().getUserAgent():"";return/android (\d+)/.test(t.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}(),V=function(){function t(t,e){this._renderer=t,this._elementRef=e,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(e){t(""==e?null:parseFloat(e))}},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t}(),z=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._parent=null,e.name=null,e.valueAccessor=null,e._rawValidators=[],e._rawAsyncValidators=[],e}return Object(C.__extends)(e,t),Object.defineProperty(e.prototype,"validator",{get:function(){return l()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return l()},enumerable:!0,configurable:!0}),e}(I),W=function(){function t(){this._accessors=[]}return t.prototype.add=function(t,e){this._accessors.push([t,e])},t.prototype.remove=function(t){for(var e=this._accessors.length-1;e>=0;--e)if(this._accessors[e][1]===t)return void this._accessors.splice(e,1)},t.prototype.select=function(t){var e=this;this._accessors.forEach(function(n){e._isSameGroup(n,t)&&n[1]!==t&&n[1].fireUncheck(t.value)})},t.prototype._isSameGroup=function(t,e){return!!t[0].control&&(t[0]._parent===e._control._parent&&t[1].name===e.name)},t}(),U=function(){function t(t,e,n,r){this._renderer=t,this._elementRef=e,this._registry=n,this._injector=r,this.onChange=function(){},this.onTouched=function(){}}return t.prototype.ngOnInit=function(){this._control=this._injector.get(z),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 e=this;this._fn=t,this.onChange=function(){t(e.value),e._registry.select(e)}},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: <input type="radio" formControlName="food" name="food">\n    ')},t}(),q=function(){function t(t,e){this._renderer=t,this._elementRef=e,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(e){t(""==e?null:parseFloat(e))}},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t}(),G=function(){function t(t,e){this._renderer=t,this._elementRef=e,this._optionMap=new Map,this._idCounter=0,this.onChange=function(t){},this.onTouched=function(){},this._compareWith=O["ɵlooseIdentical"]}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 e=this._getOptionId(t);null==e&&this._renderer.setProperty(this._elementRef.nativeElement,"selectedIndex",-1);var n=c(e,t);this._renderer.setProperty(this._elementRef.nativeElement,"value",n)},t.prototype.registerOnChange=function(t){var e=this;this.onChange=function(n){e.value=e._getOptionValue(n),t(e.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 e=0,n=Array.from(this._optionMap.keys());e<n.length;e++){var r=n[e];if(this._compareWith(this._optionMap.get(r),t))return r}return null},t.prototype._getOptionValue=function(t){var e=function(t){return t.split(":")[0]}(t);return this._optionMap.has(e)?this._optionMap.get(e):t},t}(),X=function(){function t(t,e){this._renderer=t,this._elementRef=e,this._optionMap=new Map,this._idCounter=0,this.onChange=function(t){},this.onTouched=function(){},this._compareWith=O["ɵlooseIdentical"]}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){var e=this;this.value=t;var n;if(Array.isArray(t)){var r=t.map(function(t){return e._getOptionId(t)});n=function(t,e){t._setSelected(r.indexOf(e.toString())>-1)}}else n=function(t,e){t._setSelected(!1)};this._optionMap.forEach(n)},t.prototype.registerOnChange=function(t){var e=this;this.onChange=function(n){var r=[];if(n.hasOwnProperty("selectedOptions"))for(var i=n.selectedOptions,o=0;o<i.length;o++){var s=i.item(o),a=e._getOptionValue(s.value);r.push(a)}else for(i=n.options,o=0;o<i.length;o++){if((s=i.item(o)).selected){a=e._getOptionValue(s.value);r.push(a)}}e.value=r,t(r)}},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(t){var e=(this._idCounter++).toString();return this._optionMap.set(e,t),e},t.prototype._getOptionId=function(t){for(var e=0,n=Array.from(this._optionMap.keys());e<n.length;e++){var r=n[e];if(this._compareWith(this._optionMap.get(r)._value,t))return r}return null},t.prototype._getOptionValue=function(t){var e=function(t){return t.split(":")[0]}(t);return this._optionMap.has(e)?this._optionMap.get(e)._value:t},t}(),K=[F,q,V,G,X,U],Z=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(C.__extends)(e,t),e.prototype.ngOnInit=function(){this._checkParentType(),this.formDirective.addFormGroup(this)},e.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeFormGroup(this)},Object.defineProperty(e.prototype,"control",{get:function(){return this.formDirective.getFormGroup(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return d(this.name,this._parent)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"validator",{get:function(){return g(this._validators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return v(this._asyncValidators)},enumerable:!0,configurable:!0}),e.prototype._checkParentType=function(){},e}(P),$=function(){function t(t){this._cd=t}return Object.defineProperty(t.prototype,"ngClassUntouched",{get:function(){return!!this._cd.control&&this._cd.control.untouched},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClassTouched",{get:function(){return!!this._cd.control&&this._cd.control.touched},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClassPristine",{get:function(){return!!this._cd.control&&this._cd.control.pristine},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClassDirty",{get:function(){return!!this._cd.control&&this._cd.control.dirty},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClassValid",{get:function(){return!!this._cd.control&&this._cd.control.valid},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClassInvalid",{get:function(){return!!this._cd.control&&this._cd.control.invalid},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClassPending",{get:function(){return!!this._cd.control&&this._cd.control.pending},enumerable:!0,configurable:!0}),t}(),J=function(t){function e(e){return t.call(this,e)||this}return Object(C.__extends)(e,t),e}($),Q=function(t){function e(e){return t.call(this,e)||this}return Object(C.__extends)(e,t),e}($),tt=function(){function t(t,e){this.validator=t,this.asyncValidator=e,this._onCollectionChange=function(){},this.pristine=!0,this.touched=!1,this._onDisabledChange=[]}return Object.defineProperty(t.prototype,"parent",{get:function(){return this._parent},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"valid",{get:function(){return"VALID"===this.status},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"invalid",{get:function(){return"INVALID"===this.status},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pending",{get:function(){return"PENDING"==this.status},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{get:function(){return"DISABLED"===this.status},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"enabled",{get:function(){return"DISABLED"!==this.status},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"dirty",{get:function(){return!this.pristine},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"untouched",{get:function(){return!this.touched},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"updateOn",{get:function(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"},enumerable:!0,configurable:!0}),t.prototype.setValidators=function(t){this.validator=T(t)},t.prototype.setAsyncValidators=function(t){this.asyncValidator=E(t)},t.prototype.clearValidators=function(){this.validator=null},t.prototype.clearAsyncValidators=function(){this.asyncValidator=null},t.prototype.markAsTouched=function(t){void 0===t&&(t={}),this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)},t.prototype.markAsUntouched=function(t){void 0===t&&(t={}),this.touched=!1,this._pendingTouched=!1,this._forEachChild(function(t){t.markAsUntouched({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)},t.prototype.markAsDirty=function(t){void 0===t&&(t={}),this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)},t.prototype.markAsPristine=function(t){void 0===t&&(t={}),this.pristine=!0,this._pendingDirty=!1,this._forEachChild(function(t){t.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)},t.prototype.markAsPending=function(t){void 0===t&&(t={}),this.status="PENDING",this._parent&&!t.onlySelf&&this._parent.markAsPending(t)},t.prototype.disable=function(t){void 0===t&&(t={}),this.status="DISABLED",this.errors=null,this._forEachChild(function(e){e.disable(Object(C.__assign)({},t,{onlySelf:!0}))}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(t),this._onDisabledChange.forEach(function(t){return t(!0)})},t.prototype.enable=function(t){void 0===t&&(t={}),this.status="VALID",this._forEachChild(function(e){e.enable(Object(C.__assign)({},t,{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(t),this._onDisabledChange.forEach(function(t){return t(!1)})},t.prototype._updateAncestors=function(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),this._parent._updatePristine(),this._parent._updateTouched())},t.prototype.setParent=function(t){this._parent=t},t.prototype.updateValueAndValidity=function(t){void 0===t&&(t={}),this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),"VALID"!==this.status&&"PENDING"!==this.status||this._runAsyncValidator(t.emitEvent)),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)},t.prototype._updateTreeValidity=function(t){void 0===t&&(t={emitEvent:!0}),this._forEachChild(function(e){return e._updateTreeValidity(t)}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})},t.prototype._setInitialStatus=function(){this.status=this._allControlsDisabled()?"DISABLED":"VALID"},t.prototype._runValidator=function(){return this.validator?this.validator(this):null},t.prototype._runAsyncValidator=function(t){var e=this;if(this.asyncValidator){this.status="PENDING";var n=o(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe(function(n){return e.setErrors(n,{emitEvent:t})})}},t.prototype._cancelExistingSubscription=function(){this._asyncValidationSubscription&&this._asyncValidationSubscription.unsubscribe()},t.prototype.setErrors=function(t,e){void 0===e&&(e={}),this.errors=t,this._updateControlsErrors(!1!==e.emitEvent)},t.prototype.get=function(t){return function(t,e,n){return null==e?null:(e instanceof Array||(e=e.split(n)),e instanceof Array&&0===e.length?null:e.reduce(function(t,e){return t instanceof nt?t.controls[e]||null:t instanceof rt?t.at(e)||null:null},t))}(this,t,".")},t.prototype.getError=function(t,e){var n=e?this.get(e):this;return n&&n.errors?n.errors[t]:null},t.prototype.hasError=function(t,e){return!!this.getError(t,e)},Object.defineProperty(t.prototype,"root",{get:function(){for(var t=this;t._parent;)t=t._parent;return t},enumerable:!0,configurable:!0}),t.prototype._updateControlsErrors=function(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)},t.prototype._initObservables=function(){this.valueChanges=new O.EventEmitter,this.statusChanges=new O.EventEmitter},t.prototype._calculateStatus=function(){return this._allControlsDisabled()?"DISABLED":this.errors?"INVALID":this._anyControlsHaveStatus("PENDING")?"PENDING":this._anyControlsHaveStatus("INVALID")?"INVALID":"VALID"},t.prototype._anyControlsHaveStatus=function(t){return this._anyControls(function(e){return e.status===t})},t.prototype._anyControlsDirty=function(){return this._anyControls(function(t){return t.dirty})},t.prototype._anyControlsTouched=function(){return this._anyControls(function(t){return t.touched})},t.prototype._updatePristine=function(t){void 0===t&&(t={}),this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)},t.prototype._updateTouched=function(t){void 0===t&&(t={}),this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)},t.prototype._isBoxedValue=function(t){return"object"==typeof t&&null!==t&&2===Object.keys(t).length&&"value"in t&&"disabled"in t},t.prototype._registerOnCollectionChange=function(t){this._onCollectionChange=t},t.prototype._setUpdateStrategy=function(t){M(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)},t}(),et=function(t){function e(e,n,r){void 0===e&&(e=null);var i=t.call(this,T(n),E(r,n))||this;return i._onChange=[],i._applyFormState(e),i._setUpdateStrategy(n),i.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),i._initObservables(),i}return Object(C.__extends)(e,t),e.prototype.setValue=function(t,e){var n=this;void 0===e&&(e={}),this.value=this._pendingValue=t,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(function(t){return t(n.value,!1!==e.emitViewToModelChange)}),this.updateValueAndValidity(e)},e.prototype.patchValue=function(t,e){void 0===e&&(e={}),this.setValue(t,e)},e.prototype.reset=function(t,e){void 0===t&&(t=null),void 0===e&&(e={}),this._applyFormState(t),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1},e.prototype._updateValue=function(){},e.prototype._anyControls=function(t){return!1},e.prototype._allControlsDisabled=function(){return this.disabled},e.prototype.registerOnChange=function(t){this._onChange.push(t)},e.prototype._clearChangeFns=function(){this._onChange=[],this._onDisabledChange=[],this._onCollectionChange=function(){}},e.prototype.registerOnDisabledChange=function(t){this._onDisabledChange.push(t)},e.prototype._forEachChild=function(t){},e.prototype._syncPendingControls=function(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange))&&(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0)},e.prototype._applyFormState=function(t){this._isBoxedValue(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t},e}(tt),nt=function(t){function e(e,n,r){var i=t.call(this,T(n),E(r,n))||this;return i.controls=e,i._initObservables(),i._setUpdateStrategy(n),i._setUpControls(),i.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),i}return Object(C.__extends)(e,t),e.prototype.registerControl=function(t,e){return this.controls[t]?this.controls[t]:(this.controls[t]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)},e.prototype.addControl=function(t,e){this.registerControl(t,e),this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.removeControl=function(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange(function(){}),delete this.controls[t],this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.setControl=function(t,e){this.controls[t]&&this.controls[t]._registerOnCollectionChange(function(){}),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.contains=function(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled},e.prototype.setValue=function(t,e){var n=this;void 0===e&&(e={}),this._checkAllValuesPresent(t),Object.keys(t).forEach(function(r){n._throwIfControlMissing(r),n.controls[r].setValue(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)},e.prototype.patchValue=function(t,e){var n=this;void 0===e&&(e={}),Object.keys(t).forEach(function(r){n.controls[r]&&n.controls[r].patchValue(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)},e.prototype.reset=function(t,e){void 0===t&&(t={}),void 0===e&&(e={}),this._forEachChild(function(n,r){n.reset(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e),this._updatePristine(e),this._updateTouched(e)},e.prototype.getRawValue=function(){return this._reduceChildren({},function(t,e,n){return t[n]=e instanceof et?e.value:e.getRawValue(),t})},e.prototype._syncPendingControls=function(){var t=this._reduceChildren(!1,function(t,e){return!!e._syncPendingControls()||t});return t&&this.updateValueAndValidity({onlySelf:!0}),t},e.prototype._throwIfControlMissing=function(t){if(!Object.keys(this.controls).length)throw new Error("\n        There are no form controls registered with this group yet.  If you're using ngModel,\n        you may want to check next tick (e.g. use setTimeout).\n      ");if(!this.controls[t])throw new Error("Cannot find form control with name: "+t+".")},e.prototype._forEachChild=function(t){var e=this;Object.keys(this.controls).forEach(function(n){return t(e.controls[n],n)})},e.prototype._setUpControls=function(){var t=this;this._forEachChild(function(e){e.setParent(t),e._registerOnCollectionChange(t._onCollectionChange)})},e.prototype._updateValue=function(){this.value=this._reduceValue()},e.prototype._anyControls=function(t){var e=this,n=!1;return this._forEachChild(function(r,i){n=n||e.contains(i)&&t(r)}),n},e.prototype._reduceValue=function(){var t=this;return this._reduceChildren({},function(e,n,r){return(n.enabled||t.disabled)&&(e[r]=n.value),e})},e.prototype._reduceChildren=function(t,e){var n=t;return this._forEachChild(function(t,r){n=e(n,t,r)}),n},e.prototype._allControlsDisabled=function(){for(var t=0,e=Object.keys(this.controls);t<e.length;t++){if(this.controls[e[t]].enabled)return!1}return Object.keys(this.controls).length>0||this.disabled},e.prototype._checkAllValuesPresent=function(t){this._forEachChild(function(e,n){if(void 0===t[n])throw new Error("Must supply a value for form control with name: '"+n+"'.")})},e}(tt),rt=function(t){function e(e,n,r){var i=t.call(this,T(n),E(r,n))||this;return i.controls=e,i._initObservables(),i._setUpdateStrategy(n),i._setUpControls(),i.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),i}return Object(C.__extends)(e,t),e.prototype.at=function(t){return this.controls[t]},e.prototype.push=function(t){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.insert=function(t,e){this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity()},e.prototype.removeAt=function(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange(function(){}),this.controls.splice(t,1),this.updateValueAndValidity()},e.prototype.setControl=function(t,e){this.controls[t]&&this.controls[t]._registerOnCollectionChange(function(){}),this.controls.splice(t,1),e&&(this.controls.splice(t,0,e),this._registerControl(e)),this.updateValueAndValidity(),this._onCollectionChange()},Object.defineProperty(e.prototype,"length",{get:function(){return this.controls.length},enumerable:!0,configurable:!0}),e.prototype.setValue=function(t,e){var n=this;void 0===e&&(e={}),this._checkAllValuesPresent(t),t.forEach(function(t,r){n._throwIfControlMissing(r),n.at(r).setValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)},e.prototype.patchValue=function(t,e){var n=this;void 0===e&&(e={}),t.forEach(function(t,r){n.at(r)&&n.at(r).patchValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)},e.prototype.reset=function(t,e){void 0===t&&(t=[]),void 0===e&&(e={}),this._forEachChild(function(n,r){n.reset(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e),this._updatePristine(e),this._updateTouched(e)},e.prototype.getRawValue=function(){return this.controls.map(function(t){return t instanceof et?t.value:t.getRawValue()})},e.prototype._syncPendingControls=function(){var t=this.controls.reduce(function(t,e){return!!e._syncPendingControls()||t},!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t},e.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)},e.prototype._forEachChild=function(t){this.controls.forEach(function(e,n){t(e,n)})},e.prototype._updateValue=function(){var t=this;this.value=this.controls.filter(function(e){return e.enabled||t.disabled}).map(function(t){return t.value})},e.prototype._anyControls=function(t){return this.controls.some(function(e){return e.enabled&&t(e)})},e.prototype._setUpControls=function(){var t=this;this._forEachChild(function(e){return t._registerControl(e)})},e.prototype._checkAllValuesPresent=function(t){this._forEachChild(function(e,n){if(void 0===t[n])throw new Error("Must supply a value for form control at index: "+n+".")})},e.prototype._allControlsDisabled=function(){for(var t=0,e=this.controls;t<e.length;t++){if(e[t].enabled)return!1}return this.controls.length>0||this.disabled},e.prototype._registerControl=function(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)},e}(tt),it=Promise.resolve(null),ot=function(t){function e(e,n){var r=t.call(this)||this;return r.submitted=!1,r._directives=[],r.ngSubmit=new O.EventEmitter,r.form=new nt({},g(e),v(n)),r}return Object(C.__extends)(e,t),e.prototype.ngAfterViewInit=function(){this._setUpdateStrategy()},Object.defineProperty(e.prototype,"formDirective",{get:function(){return this},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"controls",{get:function(){return this.form.controls},enumerable:!0,configurable:!0}),e.prototype.addControl=function(t){var e=this;it.then(function(){var n=e._findContainer(t.path);t.control=n.registerControl(t.name,t.control),h(t.control,t),t.control.updateValueAndValidity({emitEvent:!1}),e._directives.push(t)})},e.prototype.getControl=function(t){return this.form.get(t.path)},e.prototype.removeControl=function(t){var e=this;it.then(function(){var n=e._findContainer(t.path);n&&n.removeControl(t.name),S(e._directives,t)})},e.prototype.addFormGroup=function(t){var e=this;it.then(function(){var n=e._findContainer(t.path),r=new nt({});p(r,t),n.registerControl(t.name,r),r.updateValueAndValidity({emitEvent:!1})})},e.prototype.removeFormGroup=function(t){var e=this;it.then(function(){var n=e._findContainer(t.path);n&&n.removeControl(t.name)})},e.prototype.getFormGroup=function(t){return this.form.get(t.path)},e.prototype.updateModel=function(t,e){var n=this;it.then(function(){n.form.get(t.path).setValue(e)})},e.prototype.setValue=function(t){this.control.setValue(t)},e.prototype.onSubmit=function(t){return this.submitted=!0,b(this.form,this._directives),this.ngSubmit.emit(t),!1},e.prototype.onReset=function(){this.resetForm()},e.prototype.resetForm=function(t){void 0===t&&(t=void 0),this.form.reset(t),this.submitted=!1},e.prototype._setUpdateStrategy=function(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)},e.prototype._findContainer=function(t){return t.pop(),t.length?this.form.get(t):this.form},e}(P),st='\n    <div [formGroup]="myGroup">\n      <input formControlName="firstName">\n    </div>\n\n    In your class:\n\n    this.myGroup = new FormGroup({\n       firstName: new FormControl()\n    });',at='\n    <div [formGroup]="myGroup">\n       <div formGroupName="person">\n          <input formControlName="firstName">\n       </div>\n    </div>\n\n    In your class:\n\n    this.myGroup = new FormGroup({\n       person: new FormGroup({ firstName: new FormControl() })\n    });',ut='\n    <div [formGroup]="myGroup">\n      <div formArrayName="cities">\n        <div *ngFor="let city of cityArray.controls; index as i">\n          <input [formControlName]="i">\n        </div>\n      </div>\n    </div>\n\n    In your class:\n\n    this.cityArray = new FormArray([new FormControl(\'SF\')]);\n    this.myGroup = new FormGroup({\n      cities: this.cityArray\n    });',lt='\n    <form>\n       <div ngModelGroup="person">\n          <input [(ngModel)]="person.name" name="firstName">\n       </div>\n    </form>',ct='\n    <div [formGroup]="myGroup">\n       <input formControlName="firstName">\n       <input [(ngModel)]="showMoreControls" [ngModelOptions]="{standalone: true}">\n    </div>\n  ',dt=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      '+st+"\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      "+ct)},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      "+at+"\n\n      Option 2:  Update ngModel's parent be ngModelGroup (template-driven strategy):\n\n      "+lt)},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: <input [(ngModel)]="person.firstName" name="first">\n      Example 2: <input [(ngModel)]="person.firstName" [ngModelOptions]="{standalone: true}">')},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      "+at+"\n\n      Option 2:  Use a regular form tag instead of the formGroup directive (template-driven strategy):\n\n      "+lt)},t}(),ht=function(t){function e(e,n,r){var i=t.call(this)||this;return i._parent=e,i._validators=n,i._asyncValidators=r,i}return Object(C.__extends)(e,t),e.prototype._checkParentType=function(){this._parent instanceof e||this._parent instanceof ot||dt.modelGroupParentException()},e}(Z),ft=Promise.resolve(null),pt=function(t){function e(e,n,r,i){var o=t.call(this)||this;return o.control=new et,o._registered=!1,o.update=new O.EventEmitter,o._parent=e,o._rawValidators=n||[],o._rawAsyncValidators=r||[],o.valueAccessor=w(o,i),o}return Object(C.__extends)(e,t),e.prototype.ngOnChanges=function(t){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in t&&this._updateDisabled(t),y(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)},e.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeControl(this)},Object.defineProperty(e.prototype,"path",{get:function(){return this._parent?d(this.name,this._parent):[this.name]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"validator",{get:function(){return g(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return v(this._rawAsyncValidators)},enumerable:!0,configurable:!0}),e.prototype.viewToModelUpdate=function(t){this.viewModel=t,this.update.emit(t)},e.prototype._setUpControl=function(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0},e.prototype._setUpdateStrategy=function(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)},e.prototype._isStandalone=function(){return!this._parent||!(!this.options||!this.options.standalone)},e.prototype._setUpStandalone=function(){h(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})},e.prototype._checkForErrors=function(){this._isStandalone()||this._checkParentType(),this._checkName()},e.prototype._checkParentType=function(){!(this._parent instanceof ht)&&this._parent instanceof Z?dt.formGroupNameException():this._parent instanceof ht||this._parent instanceof ot||dt.modelParentException()},e.prototype._checkName=function(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()||this.name||dt.missingNameException()},e.prototype._updateValue=function(t){var e=this;ft.then(function(){e.control.setValue(t,{emitViewToModelChange:!1})})},e.prototype._updateDisabled=function(t){var e=this,n=t.isDisabled.currentValue,r=""===n||n&&"false"!==n;ft.then(function(){r&&!e.control.disabled?e.control.disable():!r&&e.control.disabled&&e.control.enable()})},e}(z),mt=function(){function t(){}return t.controlParentException=function(){throw new Error("formControlName must be used with a parent formGroup directive.  You'll want to add a formGroup\n       directive and pass it an existing FormGroup instance (you can create one in your class).\n\n      Example:\n\n      "+st)},t.ngModelGroupException=function(){throw new Error('formControlName cannot be used with an ngModelGroup parent. It is only compatible with parents\n       that also have a "form" prefix: formGroupName, formArrayName, or formGroup.\n\n       Option 1:  Update the parent to be formGroupName (reactive form strategy)\n\n        '+at+"\n\n        Option 2: Use ngModel instead of formControlName (template-driven strategy)\n\n        "+lt)},t.missingFormException=function(){throw new Error("formGroup expects a FormGroup instance. Please pass one in.\n\n       Example:\n\n       "+st)},t.groupParentException=function(){throw new Error("formGroupName must be used with a parent formGroup directive.  You'll want to add a formGroup\n      directive and pass it an existing FormGroup instance (you can create one in your class).\n\n      Example:\n\n      "+at)},t.arrayParentException=function(){throw new Error("formArrayName must be used with a parent formGroup directive.  You'll want to add a formGroup\n       directive and pass it an existing FormGroup instance (you can create one in your class).\n\n        Example:\n\n        "+ut)},t.disabledAttrWarning=function(){console.warn("\n      It looks like you're using the disabled attribute with a reactive form directive. If you set disabled to true\n      when you set up this control in your component class, the disabled attribute will actually be set in the DOM for\n      you. We recommend using this approach to avoid 'changed after checked' errors.\n       \n      Example: \n      form = new FormGroup({\n        first: new FormControl({value: 'Nancy', disabled: true}, Validators.required),\n        last: new FormControl('Drew', Validators.required)\n      });\n    ")},t}(),_t=function(t){function e(e,n,r){var i=t.call(this)||this;return i.update=new O.EventEmitter,i._rawValidators=e||[],i._rawAsyncValidators=n||[],i.valueAccessor=w(i,r),i}return Object(C.__extends)(e,t),Object.defineProperty(e.prototype,"isDisabled",{set:function(t){mt.disabledAttrWarning()},enumerable:!0,configurable:!0}),e.prototype.ngOnChanges=function(t){this._isControlChanged(t)&&(h(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})),y(t,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)},Object.defineProperty(e.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"validator",{get:function(){return g(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return v(this._rawAsyncValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),e.prototype.viewToModelUpdate=function(t){this.viewModel=t,this.update.emit(t)},e.prototype._isControlChanged=function(t){return t.hasOwnProperty("form")},e}(z),gt=function(t){function e(e,n){var r=t.call(this)||this;return r._validators=e,r._asyncValidators=n,r.submitted=!1,r.directives=[],r.form=null,r.ngSubmit=new O.EventEmitter,r}return Object(C.__extends)(e,t),e.prototype.ngOnChanges=function(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations())},Object.defineProperty(e.prototype,"formDirective",{get:function(){return this},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),e.prototype.addControl=function(t){var e=this.form.get(t.path);return h(e,t),e.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),e},e.prototype.getControl=function(t){return this.form.get(t.path)},e.prototype.removeControl=function(t){S(this.directives,t)},e.prototype.addFormGroup=function(t){var e=this.form.get(t.path);p(e,t),e.updateValueAndValidity({emitEvent:!1})},e.prototype.removeFormGroup=function(t){},e.prototype.getFormGroup=function(t){return this.form.get(t.path)},e.prototype.addFormArray=function(t){var e=this.form.get(t.path);p(e,t),e.updateValueAndValidity({emitEvent:!1})},e.prototype.removeFormArray=function(t){},e.prototype.getFormArray=function(t){return this.form.get(t.path)},e.prototype.updateModel=function(t,e){this.form.get(t.path).setValue(e)},e.prototype.onSubmit=function(t){return this.submitted=!0,b(this.form,this.directives),this.ngSubmit.emit(t),!1},e.prototype.onReset=function(){this.resetForm()},e.prototype.resetForm=function(t){void 0===t&&(t=void 0),this.form.reset(t),this.submitted=!1},e.prototype._updateDomValue=function(){var t=this;this.directives.forEach(function(e){var n=t.form.get(e.path);e.control!==n&&(!function(t,e){e.valueAccessor.registerOnChange(function(){return m(e)}),e.valueAccessor.registerOnTouched(function(){return m(e)}),e._rawValidators.forEach(function(t){t.registerOnValidatorChange&&t.registerOnValidatorChange(null)}),e._rawAsyncValidators.forEach(function(t){t.registerOnValidatorChange&&t.registerOnValidatorChange(null)}),t&&t._clearChangeFns()}(e.control,e),n&&h(n,e),e.control=n)}),this.form._updateTreeValidity({emitEvent:!1})},e.prototype._updateRegistrations=function(){var t=this;this.form._registerOnCollectionChange(function(){return t._updateDomValue()}),this._oldForm&&this._oldForm._registerOnCollectionChange(function(){}),this._oldForm=this.form},e.prototype._updateValidators=function(){var t=g(this._validators);this.form.validator=j.compose([this.form.validator,t]);var e=v(this._asyncValidators);this.form.asyncValidator=j.composeAsync([this.form.asyncValidator,e])},e.prototype._checkFormPresent=function(){this.form||mt.missingFormException()},e}(P),vt=function(t){function e(e,n,r){var i=t.call(this)||this;return i._parent=e,i._validators=n,i._asyncValidators=r,i}return Object(C.__extends)(e,t),e.prototype._checkParentType=function(){x(this._parent)&&mt.groupParentException()},e}(Z),yt=function(t){function e(e,n,r){var i=t.call(this)||this;return i._parent=e,i._validators=n,i._asyncValidators=r,i}return Object(C.__extends)(e,t),e.prototype.ngOnInit=function(){this._checkParentType(),this.formDirective.addFormArray(this)},e.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeFormArray(this)},Object.defineProperty(e.prototype,"control",{get:function(){return this.formDirective.getFormArray(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return d(this.name,this._parent)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"validator",{get:function(){return g(this._validators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return v(this._asyncValidators)},enumerable:!0,configurable:!0}),e.prototype._checkParentType=function(){x(this._parent)&&mt.arrayParentException()},e}(P),bt=function(t){function e(e,n,r,i){var o=t.call(this)||this;return o._added=!1,o.update=new O.EventEmitter,o._parent=e,o._rawValidators=n||[],o._rawAsyncValidators=r||[],o.valueAccessor=w(o,i),o}return Object(C.__extends)(e,t),Object.defineProperty(e.prototype,"isDisabled",{set:function(t){mt.disabledAttrWarning()},enumerable:!0,configurable:!0}),e.prototype.ngOnChanges=function(t){this._added||this._setUpControl(),y(t,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))},e.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeControl(this)},e.prototype.viewToModelUpdate=function(t){this.viewModel=t,this.update.emit(t)},Object.defineProperty(e.prototype,"path",{get:function(){return d(this.name,this._parent)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"validator",{get:function(){return g(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return v(this._rawAsyncValidators)},enumerable:!0,configurable:!0}),e.prototype._checkParentType=function(){!(this._parent instanceof vt)&&this._parent instanceof Z?mt.ngModelGroupException():this._parent instanceof vt||this._parent instanceof gt||this._parent instanceof yt||mt.controlParentException()},e.prototype._setUpControl=function(){this._checkParentType(),this.control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0},e}(z),wt=function(){function t(){}return t.prototype.ngOnChanges=function(t){"maxlength"in t&&(this._createValidator(),this._onChange&&this._onChange())},t.prototype.validate=function(t){return null!=this.maxlength?this._validator(t):null},t.prototype.registerOnValidatorChange=function(t){this._onChange=t},t.prototype._createValidator=function(){this._validator=j.maxLength(parseInt(this.maxlength,10))},t}(),St=function(){function t(){}return t.prototype.group=function(t,e){void 0===e&&(e=null);var n=this._reduceControls(t);return new nt(n,null!=e?e.validator:null,null!=e?e.asyncValidator:null)},t.prototype.control=function(t,e,n){return new et(t,e,n)},t.prototype.array=function(t,e,n){var r=this,i=t.map(function(t){return r._createControl(t)});return new rt(i,e,n)},t.prototype._reduceControls=function(t){var e=this,n={};return Object.keys(t).forEach(function(r){n[r]=e._createControl(t[r])}),n},t.prototype._createControl=function(t){if(t instanceof et||t instanceof nt||t instanceof rt)return t;if(Array.isArray(t)){return this.control(t[0],t.length>1?t[1]:null,t.length>2?t[2]:null)}return this.control(t)},t}(),Tt=function(){return function(){}}(),Et=function(){return function(){}}(),Mt=function(){return function(){}}(),xt=function(){return function(){}}()},function(t,e,n){"use strict";n.d(e,"a",function(){return o});n(16);var r=n(11),i=function(){function t(t){this.dom=t,this.writeTask=null,this.readTask=null}return t.prototype.read=function(t){var e=this;if(!this.readTask)return this.readTask=this.dom.read(function(n){e.readTask=null,t(n)})},t.prototype.write=function(t){var e=this;if(!this.writeTask)return this.writeTask=this.dom.write(function(n){e.writeTask=null,t(n)})},t.prototype.cancel=function(){var t=this.writeTask;t&&this.dom.cancel(t);var e=this.readTask;e&&this.dom.cancel(e),this.readTask=this.writeTask=null},t}(),o=function(){function t(t){this.plt=t,this.r=[],this.w=[]}return t.prototype.debouncer=function(){return new i(this)},t.prototype.read=function(t,e){var n=this;return e?t.timeoutId=this.plt.timeout(function(){n.r.push(t),n._queue()},e):(this.r.push(t),this._queue()),t},t.prototype.write=function(t,e){var n=this;return e?t.timeoutId=this.plt.timeout(function(){n.w.push(t),n._queue()},e):(this.w.push(t),this._queue()),t},t.prototype.cancel=function(t){t&&(t.timeoutId&&this.plt.cancelTimeout(t.timeoutId),Object(r.q)(this.r,t)||Object(r.q)(this.w,t))},t.prototype._queue=function(){var t=this;t.q||(t.q=!0,t.plt.raf(function(e){t._flush(e)}))},t.prototype._flush=function(t){var e;try{!function(t,e,n){for(var r;r=e.shift();)r(t);for(;r=n.shift();)r(t)}(t,this.r,this.w)}catch(t){e=t}if(this.q=!1,(this.r.length||this.w.length)&&this._queue(),e)throw e},t}()},,,,function(t,e,n){"use strict";var r=n(144),i=n(145);e.async=new i.AsyncScheduler(r.AsyncAction)},function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var i=n(69);e.default=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e}(i.default)},,function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var i=n(69);e.default=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e}(i.default)},function(t,e,n){"use strict";function r(t){return t.reduce(function(t,e){return t.concat(e instanceof l.UnsubscriptionError?e.errors:e)},[])}var i=n(81),o=n(395),s=n(183),a=n(48),u=n(44),l=n(396);e.Subscription=function(){function t(t){this.closed=!1,this._parent=null,this._parents=null,this._subscriptions=null,t&&(this._unsubscribe=t)}return t.prototype.unsubscribe=function(){var t,e=!1;if(!this.closed){var n=this._parent,c=this._parents,d=this._unsubscribe,h=this._subscriptions;this.closed=!0,this._parent=null,this._parents=null,this._subscriptions=null;for(var f=-1,p=c?c.length:0;n;)n.remove(this),n=++f<p&&c[f]||null;if(s.isFunction(d)){a.tryCatch(d).call(this)===u.errorObject&&(e=!0,t=t||(u.errorObject.e instanceof l.UnsubscriptionError?r(u.errorObject.e.errors):[u.errorObject.e]))}if(i.isArray(h))for(f=-1,p=h.length;++f<p;){var m=h[f];if(o.isObject(m)){if(a.tryCatch(m.unsubscribe).call(m)===u.errorObject){e=!0,t=t||[];var _=u.errorObject.e;_ instanceof l.UnsubscriptionError?t=t.concat(r(_.errors)):t.push(_)}}}if(e)throw new l.UnsubscriptionError(t)}},t.prototype.add=function(e){if(!e||e===t.EMPTY)return t.EMPTY;if(e===this)return this;var n=e;switch(typeof e){case"function":n=new t(e);case"object":if(n.closed||"function"!=typeof n.unsubscribe)return n;if(this.closed)return n.unsubscribe(),n;if("function"!=typeof n._addParent){var r=n;(n=new t)._subscriptions=[r]}break;default:throw new Error("unrecognized teardown "+e+" added to Subscription.")}return(this._subscriptions||(this._subscriptions=[])).push(n),n._addParent(this),n},t.prototype.remove=function(t){var e=this._subscriptions;if(e){var n=e.indexOf(t);-1!==n&&e.splice(n,1)}},t.prototype._addParent=function(t){var e=this._parent,n=this._parents;e&&e!==t?n?-1===n.indexOf(t)&&n.push(t):this._parents=[t]:this._parent=t},t.EMPTY=function(t){return t.closed=!0,t}(new t),t}()},function(t,e,n){"use strict";n.d(e,"a",function(){return r});var r=function(){function t(t){void 0===t&&(t={}),this.data=t}return t.prototype.get=function(t){return this.data[t]},t}()},,,function(t,e,n){"use strict";n.d(e,"a",function(){return i});var r=n(225),i=function(){function t(){}return t.forRoot=function(e){return void 0===e&&(e=null),{ngModule:t,providers:[{provide:r.b,useValue:e},{provide:r.a,useFactory:r.c,deps:[r.b]}]}},t}()},function(t,e,n){"use strict";n.d(e,"a",function(){return s});var r=n(11),i=(n(6),n(26)),o=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),s=function(t){function e(e,n,r){var i=t.call(this,e,n,r,"icon")||this;return i._isActive=!0,i._name="",i._ios="",i._md="",i._css="",i._hidden=!1,i._iconMode=e.get("iconMode"),i}return o(e,t),e.prototype.ngOnDestroy=function(){this._css&&this.setElementClass(this._css,!1)},Object.defineProperty(e.prototype,"name",{get:function(){return this._name},set:function(t){this._name=/^md-|^ios-|^logo-/.test(t)?t:this._iconMode+"-"+t,this.update()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ios",{get:function(){return this._ios},set:function(t){this._ios=t,this.update()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"md",{get:function(){return this._md},set:function(t){this._md=t,this.update()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isActive",{get:function(){return this._isActive},set:function(t){this._isActive=Object(r.o)(t),this.update()},enumerable:!0,configurable:!0}),e.prototype.update=function(){var t;if(!(this._hidden=null===(t=this._ios&&"ios"===this._iconMode?this._ios:this._md&&"md"===this._iconMode?this._md:this._name))){"ios"===t.split("-",2)[0]&&!this._isActive&&t.indexOf("logo-")<0&&t.indexOf("-outline")<0&&(t+="-outline");var e="ion-"+t;if(this._css!==e){this._css&&this.setElementClass(this._css,!1),this._css=e,this.setElementClass(e,!0);var n=t.replace("ios-","").replace("md-","").replace("-"," ");this.setElementAttribute("aria-label",n)}}},e}(i.a)},function(t,e,n){"use strict";e.errorObject={e:{}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r;!function(t){t[t.AZTEC=0]="AZTEC",t[t.CODABAR=1]="CODABAR",t[t.CODE_39=2]="CODE_39",t[t.CODE_93=3]="CODE_93",t[t.CODE_128=4]="CODE_128",t[t.DATA_MATRIX=5]="DATA_MATRIX",t[t.EAN_8=6]="EAN_8",t[t.EAN_13=7]="EAN_13",t[t.ITF=8]="ITF",t[t.MAXICODE=9]="MAXICODE",t[t.PDF_417=10]="PDF_417",t[t.QR_CODE=11]="QR_CODE",t[t.RSS_14=12]="RSS_14",t[t.RSS_EXPANDED=13]="RSS_EXPANDED",t[t.UPC_A=14]="UPC_A",t[t.UPC_E=15]="UPC_E",t[t.UPC_EAN_EXTENSION=16]="UPC_EAN_EXTENSION"}(r||(r={})),e.default=r},function(t,e,n){"use strict";function r(){return y}function i(){return!!window.history.pushState}function o(t,e){if("undefined"==typeof COMPILED||!COMPILED){(g["ɵglobal"].ng=g["ɵglobal"].ng||{})[t]=e}}function s(t){return Object(g.getDebugNode)(t)}function a(t){return o(R,s),o(N,Object(v.__assign)({},P,function(t){return t.reduce(function(t,e){return t[e.name]=e.token,t},{})}(t||[]))),function(){return s}}function u(t,e,n){for(var r=0;r<e.length;r++){var i=e[r];Array.isArray(i)?u(t,i,n):(i=i.replace(z,t),n.push(i))}return n}function l(t){return function(e){!1===t(e)&&(e.preventDefault(),e.returnValue=!1)}}function c(t,e){if(t.charCodeAt(0)===X)throw new Error("Found the synthetic "+e+" "+t+'. Please include either "BrowserAnimationsModule" or "NoopAnimationsModule" in your application.')}function d(t){return(t=String(t)).match(gt)||t.match(vt)?t:(Object(g.isDevMode)()&&r().log("WARNING: sanitizing unsafe URL value "+t+" (see http://g.co/ng/security#xss)"),"unsafe:"+t)}function h(t){for(var e={},n=0,r=t.split(",");n<r.length;n++){e[r[n]]=!0}return e}function f(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var n={},r=0,i=t;r<i.length;r++){var o=i[r];for(var s in o)o.hasOwnProperty(s)&&(n[s]=!0)}return n}function p(t){return t.replace(/&/g,"&amp;").replace(Ot,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(Dt,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}n.d(e,"a",function(){return Vt}),n.d(e,"j",function(){return Bt}),n.d(e,"h",function(){return D}),n.d(e,"i",function(){return I}),n.d(e,"b",function(){return C}),n.d(e,"d",function(){return j}),n.d(e,"e",function(){return Y}),n.d(e,"f",function(){return ct}),n.d(e,"g",function(){return dt}),n.d(e,"c",function(){return At}),n.d(e,"r",function(){return r}),n.d(e,"l",function(){return q}),n.d(e,"k",function(){return ut}),n.d(e,"n",function(){return ht}),n.d(e,"o",function(){return mt}),n.d(e,"m",function(){return B}),n.d(e,"p",function(){return H}),n.d(e,"s",function(){return a}),n.d(e,"q",function(){return It});var m,_=n(12),g=n(1),v=n(0),y=null,b={class:"className",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"},w={"\b":"Backspace","\t":"Tab","":"Delete","":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},S={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","":"NumLock"};g["ɵglobal"].Node&&(m=g["ɵglobal"].Node.prototype.contains||function(t){return!!(16&this.compareDocumentPosition(t))});var T,E,M=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(v.__extends)(e,t),e.prototype.parse=function(t){throw new Error("parse not implemented")},e.makeCurrent=function(){!function(t){y||(y=t)}(new e)},e.prototype.hasProperty=function(t,e){return e in t},e.prototype.setProperty=function(t,e,n){t[e]=n},e.prototype.getProperty=function(t,e){return t[e]},e.prototype.invoke=function(t,e,n){(r=t)[e].apply(r,n);var r},e.prototype.logError=function(t){window.console&&(console.error?console.error(t):console.log(t))},e.prototype.log=function(t){window.console&&window.console.log&&window.console.log(t)},e.prototype.logGroup=function(t){window.console&&window.console.group&&window.console.group(t)},e.prototype.logGroupEnd=function(){window.console&&window.console.groupEnd&&window.console.groupEnd()},Object.defineProperty(e.prototype,"attrToPropMap",{get:function(){return b},enumerable:!0,configurable:!0}),e.prototype.contains=function(t,e){return m.call(t,e)},e.prototype.querySelector=function(t,e){return t.querySelector(e)},e.prototype.querySelectorAll=function(t,e){return t.querySelectorAll(e)},e.prototype.on=function(t,e,n){t.addEventListener(e,n,!1)},e.prototype.onAndCancel=function(t,e,n){return t.addEventListener(e,n,!1),function(){t.removeEventListener(e,n,!1)}},e.prototype.dispatchEvent=function(t,e){t.dispatchEvent(e)},e.prototype.createMouseEvent=function(t){var e=this.getDefaultDocument().createEvent("MouseEvent");return e.initEvent(t,!0,!0),e},e.prototype.createEvent=function(t){var e=this.getDefaultDocument().createEvent("Event");return e.initEvent(t,!0,!0),e},e.prototype.preventDefault=function(t){t.preventDefault(),t.returnValue=!1},e.prototype.isPrevented=function(t){return t.defaultPrevented||null!=t.returnValue&&!t.returnValue},e.prototype.getInnerHTML=function(t){return t.innerHTML},e.prototype.getTemplateContent=function(t){return"content"in t&&this.isTemplateElement(t)?t.content:null},e.prototype.getOuterHTML=function(t){return t.outerHTML},e.prototype.nodeName=function(t){return t.nodeName},e.prototype.nodeValue=function(t){return t.nodeValue},e.prototype.type=function(t){return t.type},e.prototype.content=function(t){return this.hasProperty(t,"content")?t.content:t},e.prototype.firstChild=function(t){return t.firstChild},e.prototype.nextSibling=function(t){return t.nextSibling},e.prototype.parentElement=function(t){return t.parentNode},e.prototype.childNodes=function(t){return t.childNodes},e.prototype.childNodesAsList=function(t){for(var e=t.childNodes,n=new Array(e.length),r=0;r<e.length;r++)n[r]=e[r];return n},e.prototype.clearNodes=function(t){for(;t.firstChild;)t.removeChild(t.firstChild)},e.prototype.appendChild=function(t,e){t.appendChild(e)},e.prototype.removeChild=function(t,e){t.removeChild(e)},e.prototype.replaceChild=function(t,e,n){t.replaceChild(e,n)},e.prototype.remove=function(t){return t.parentNode&&t.parentNode.removeChild(t),t},e.prototype.insertBefore=function(t,e,n){t.insertBefore(n,e)},e.prototype.insertAllBefore=function(t,e,n){n.forEach(function(n){return t.insertBefore(n,e)})},e.prototype.insertAfter=function(t,e,n){t.insertBefore(n,e.nextSibling)},e.prototype.setInnerHTML=function(t,e){t.innerHTML=e},e.prototype.getText=function(t){return t.textContent},e.prototype.setText=function(t,e){t.textContent=e},e.prototype.getValue=function(t){return t.value},e.prototype.setValue=function(t,e){t.value=e},e.prototype.getChecked=function(t){return t.checked},e.prototype.setChecked=function(t,e){t.checked=e},e.prototype.createComment=function(t){return this.getDefaultDocument().createComment(t)},e.prototype.createTemplate=function(t){var e=this.getDefaultDocument().createElement("template");return e.innerHTML=t,e},e.prototype.createElement=function(t,e){return(e=e||this.getDefaultDocument()).createElement(t)},e.prototype.createElementNS=function(t,e,n){return(n=n||this.getDefaultDocument()).createElementNS(t,e)},e.prototype.createTextNode=function(t,e){return(e=e||this.getDefaultDocument()).createTextNode(t)},e.prototype.createScriptTag=function(t,e,n){var r=(n=n||this.getDefaultDocument()).createElement("SCRIPT");return r.setAttribute(t,e),r},e.prototype.createStyleElement=function(t,e){var n=(e=e||this.getDefaultDocument()).createElement("style");return this.appendChild(n,this.createTextNode(t,e)),n},e.prototype.createShadowRoot=function(t){return t.createShadowRoot()},e.prototype.getShadowRoot=function(t){return t.shadowRoot},e.prototype.getHost=function(t){return t.host},e.prototype.clone=function(t){return t.cloneNode(!0)},e.prototype.getElementsByClassName=function(t,e){return t.getElementsByClassName(e)},e.prototype.getElementsByTagName=function(t,e){return t.getElementsByTagName(e)},e.prototype.classList=function(t){return Array.prototype.slice.call(t.classList,0)},e.prototype.addClass=function(t,e){t.classList.add(e)},e.prototype.removeClass=function(t,e){t.classList.remove(e)},e.prototype.hasClass=function(t,e){return t.classList.contains(e)},e.prototype.setStyle=function(t,e,n){t.style[e]=n},e.prototype.removeStyle=function(t,e){t.style[e]=""},e.prototype.getStyle=function(t,e){return t.style[e]},e.prototype.hasStyle=function(t,e,n){var r=this.getStyle(t,e)||"";return n?r==n:r.length>0},e.prototype.tagName=function(t){return t.tagName},e.prototype.attributeMap=function(t){for(var e=new Map,n=t.attributes,r=0;r<n.length;r++){var i=n.item(r);e.set(i.name,i.value)}return e},e.prototype.hasAttribute=function(t,e){return t.hasAttribute(e)},e.prototype.hasAttributeNS=function(t,e,n){return t.hasAttributeNS(e,n)},e.prototype.getAttribute=function(t,e){return t.getAttribute(e)},e.prototype.getAttributeNS=function(t,e,n){return t.getAttributeNS(e,n)},e.prototype.setAttribute=function(t,e,n){t.setAttribute(e,n)},e.prototype.setAttributeNS=function(t,e,n,r){t.setAttributeNS(e,n,r)},e.prototype.removeAttribute=function(t,e){t.removeAttribute(e)},e.prototype.removeAttributeNS=function(t,e,n){t.removeAttributeNS(e,n)},e.prototype.templateAwareRoot=function(t){return this.isTemplateElement(t)?this.content(t):t},e.prototype.createHtmlDocument=function(){return document.implementation.createHTMLDocument("fakeTitle")},e.prototype.getDefaultDocument=function(){return document},e.prototype.getBoundingClientRect=function(t){try{return t.getBoundingClientRect()}catch(t){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}},e.prototype.getTitle=function(t){return t.title},e.prototype.setTitle=function(t,e){t.title=e||""},e.prototype.elementMatches=function(t,e){return!!this.isElementNode(t)&&(t.matches&&t.matches(e)||t.msMatchesSelector&&t.msMatchesSelector(e)||t.webkitMatchesSelector&&t.webkitMatchesSelector(e))},e.prototype.isTemplateElement=function(t){return this.isElementNode(t)&&"TEMPLATE"===t.nodeName},e.prototype.isTextNode=function(t){return t.nodeType===Node.TEXT_NODE},e.prototype.isCommentNode=function(t){return t.nodeType===Node.COMMENT_NODE},e.prototype.isElementNode=function(t){return t.nodeType===Node.ELEMENT_NODE},e.prototype.hasShadowRoot=function(t){return null!=t.shadowRoot&&t instanceof HTMLElement},e.prototype.isShadowRoot=function(t){return t instanceof DocumentFragment},e.prototype.importIntoDoc=function(t){return document.importNode(this.templateAwareRoot(t),!0)},e.prototype.adoptNode=function(t){return document.adoptNode(t)},e.prototype.getHref=function(t){return t.getAttribute("href")},e.prototype.getEventKey=function(t){var e=t.key;if(null==e){if(null==(e=t.keyIdentifier))return"Unidentified";e.startsWith("U+")&&(e=String.fromCharCode(parseInt(e.substring(2),16)),3===t.location&&S.hasOwnProperty(e)&&(e=S[e]))}return w[e]||e},e.prototype.getGlobalEventTarget=function(t,e){return"window"===e?window:"document"===e?t:"body"===e?t.body:null},e.prototype.getHistory=function(){return window.history},e.prototype.getLocation=function(){return window.location},e.prototype.getBaseHref=function(t){var e=x||(x=document.querySelector("base"))?x.getAttribute("href"):null;return null==e?null:function(t){return T||(T=document.createElement("a")),T.setAttribute("href",t),"/"===T.pathname.charAt(0)?T.pathname:"/"+T.pathname}(e)},e.prototype.resetBaseElement=function(){x=null},e.prototype.getUserAgent=function(){return window.navigator.userAgent},e.prototype.setData=function(t,e,n){this.setAttribute(t,"data-"+e,n)},e.prototype.getData=function(t,e){return this.getAttribute(t,"data-"+e)},e.prototype.getComputedStyle=function(t){return getComputedStyle(t)},e.prototype.supportsWebAnimation=function(){return"function"==typeof Element.prototype.animate},e.prototype.performanceNow=function(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()},e.prototype.supportsCookies=function(){return!0},e.prototype.getCookie=function(t){return Object(_["ɵparseCookieValue"])(document.cookie,t)},e.prototype.setCookie=function(t,e){document.cookie=encodeURIComponent(t)+"="+encodeURIComponent(e)},e}(function(t){function e(){var e=t.call(this)||this;e._animationPrefix=null,e._transitionEnd=null;try{var n=e.createElement("div",document);if(null!=e.getStyle(n,"animationName"))e._animationPrefix="";else for(var r=["Webkit","Moz","O","ms"],i=0;i<r.length;i++)if(null!=e.getStyle(n,r[i]+"AnimationName")){e._animationPrefix="-"+r[i].toLowerCase()+"-";break}var o={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};Object.keys(o).forEach(function(t){null!=e.getStyle(n,t)&&(e._transitionEnd=o[t])})}catch(t){e._animationPrefix=null,e._transitionEnd=null}return e}return Object(v.__extends)(e,t),e.prototype.getDistributedNodes=function(t){return t.getDistributedNodes()},e.prototype.resolveAndSetHref=function(t,e,n){t.href=null==n?e:e+"/../"+n},e.prototype.supportsDOMEvents=function(){return!0},e.prototype.supportsNativeShadowDOM=function(){return"function"==typeof document.body.createShadowRoot},e.prototype.getAnimationPrefix=function(){return this._animationPrefix?this._animationPrefix:""},e.prototype.getTransitionEnd=function(){return this._transitionEnd?this._transitionEnd:""},e.prototype.supportsAnimation=function(){return null!=this._animationPrefix&&null!=this._transitionEnd},e}(function(){function t(){this.resourceLoaderType=null}return Object.defineProperty(t.prototype,"attrToPropMap",{get:function(){return this._attrToPropMap},set:function(t){this._attrToPropMap=t},enumerable:!0,configurable:!0}),t}())),x=null,C=_.DOCUMENT,O=function(t){function e(e){var n=t.call(this)||this;return n._doc=e,n._init(),n}return Object(v.__extends)(e,t),e.prototype._init=function(){this.location=r().getLocation(),this._history=r().getHistory()},e.prototype.getBaseHrefFromDOM=function(){return r().getBaseHref(this._doc)},e.prototype.onPopState=function(t){r().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",t,!1)},e.prototype.onHashChange=function(t){r().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",t,!1)},Object.defineProperty(e.prototype,"pathname",{get:function(){return this.location.pathname},set:function(t){this.location.pathname=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"search",{get:function(){return this.location.search},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hash",{get:function(){return this.location.hash},enumerable:!0,configurable:!0}),e.prototype.pushState=function(t,e,n){i()?this._history.pushState(t,e,n):this.location.hash=n},e.prototype.replaceState=function(t,e,n){i()?this._history.replaceState(t,e,n):this.location.hash=n},e.prototype.forward=function(){this._history.forward()},e.prototype.back=function(){this._history.back()},e.ctorParameters=function(){return[{type:void 0,decorators:[{type:g.Inject,args:[C]}]}]},e}(_.PlatformLocation),D=function(){function t(t){this._doc=t,this._dom=r()}return t.prototype.addTag=function(t,e){return void 0===e&&(e=!1),t?this._getOrCreateElement(t,e):null},t.prototype.addTags=function(t,e){var n=this;return void 0===e&&(e=!1),t?t.reduce(function(t,r){return r&&t.push(n._getOrCreateElement(r,e)),t},[]):[]},t.prototype.getTag=function(t){return t?this._dom.querySelector(this._doc,"meta["+t+"]")||null:null},t.prototype.getTags=function(t){if(!t)return[];var e=this._dom.querySelectorAll(this._doc,"meta["+t+"]");return e?[].slice.call(e):[]},t.prototype.updateTag=function(t,e){if(!t)return null;e=e||this._parseSelector(t);var n=this.getTag(e);return n?this._setMetaElementAttributes(t,n):this._getOrCreateElement(t,!0)},t.prototype.removeTag=function(t){this.removeTagElement(this.getTag(t))},t.prototype.removeTagElement=function(t){t&&this._dom.remove(t)},t.prototype._getOrCreateElement=function(t,e){if(void 0===e&&(e=!1),!e){var n=this._parseSelector(t),r=this.getTag(n);if(r&&this._containsAttributes(t,r))return r}var i=this._dom.createElement("meta");this._setMetaElementAttributes(t,i);var o=this._dom.getElementsByTagName(this._doc,"head")[0];return this._dom.appendChild(o,i),i},t.prototype._setMetaElementAttributes=function(t,e){var n=this;return Object.keys(t).forEach(function(r){return n._dom.setAttribute(e,r,t[r])}),e},t.prototype._parseSelector=function(t){var e=t.name?"name":"property";return e+'="'+t[e]+'"'},t.prototype._containsAttributes=function(t,e){var n=this;return Object.keys(t).every(function(r){return n._dom.getAttribute(e,r)===t[r]})},t}(),k=new g.InjectionToken("TRANSITION_ID"),L=[{provide:g.APP_INITIALIZER,useFactory:function(t,e,n){return function(){n.get(g.ApplicationInitStatus).donePromise.then(function(){var n=r();Array.prototype.slice.apply(n.querySelectorAll(e,"style[ng-transition]")).filter(function(e){return n.getAttribute(e,"ng-transition")===t}).forEach(function(t){return n.remove(t)})})}},deps:[k,C,g.Injector],multi:!0}],A=function(){function t(){}return t.init=function(){Object(g.setTestabilityGetter)(new t)},t.prototype.addToWindow=function(t){g["ɵglobal"].getAngularTestability=function(e,n){void 0===n&&(n=!0);var r=t.findTestabilityInTree(e,n);if(null==r)throw new Error("Could not find testability for element.");return r},g["ɵglobal"].getAllAngularTestabilities=function(){return t.getAllTestabilities()},g["ɵglobal"].getAllAngularRootElements=function(){return t.getAllRootElements()};g["ɵglobal"].frameworkStabilizers||(g["ɵglobal"].frameworkStabilizers=[]),g["ɵglobal"].frameworkStabilizers.push(function(t){var e=g["ɵglobal"].getAllAngularTestabilities(),n=e.length,r=!1,i=function(e){r=r||e,0==--n&&t(r)};e.forEach(function(t){t.whenStable(i)})})},t.prototype.findTestabilityInTree=function(t,e,n){if(null==e)return null;var i=t.getTestability(e);return null!=i?i:n?r().isShadowRoot(e)?this.findTestabilityInTree(t,r().getHost(e),!0):this.findTestabilityInTree(t,r().parentElement(e),!0):null},t}(),I=function(){function t(t){this._doc=t}return t.prototype.getTitle=function(){return r().getTitle(this._doc)},t.prototype.setTitle=function(t){r().setTitle(this._doc,t)},t}(),P={ApplicationRef:g.ApplicationRef,NgZone:g.NgZone},R="probe",N="coreTokens",j=new g.InjectionToken("EventManagerPlugins"),Y=function(){function t(t,e){var n=this;this._zone=e,this._eventNameToPlugin=new Map,t.forEach(function(t){return t.manager=n}),this._plugins=t.slice().reverse()}return t.prototype.addEventListener=function(t,e,n){return this._findPluginFor(e).addEventListener(t,e,n)},t.prototype.addGlobalEventListener=function(t,e,n){return this._findPluginFor(e).addGlobalEventListener(t,e,n)},t.prototype.getZone=function(){return this._zone},t.prototype._findPluginFor=function(t){var e=this._eventNameToPlugin.get(t);if(e)return e;for(var n=this._plugins,r=0;r<n.length;r++){var i=n[r];if(i.supports(t))return this._eventNameToPlugin.set(t,i),i}throw new Error("No event manager plugin found for event "+t)},t}(),F=function(){function t(t){this._doc=t}return t.prototype.addGlobalEventListener=function(t,e,n){var i=r().getGlobalEventTarget(this._doc,t);if(!i)throw new Error("Unsupported event target "+i+" for event "+e);return this.addEventListener(i,e,n)},t}(),H=function(){function t(){this._stylesSet=new Set}return t.prototype.addStyles=function(t){var e=this,n=new Set;t.forEach(function(t){e._stylesSet.has(t)||(e._stylesSet.add(t),n.add(t))}),this.onStylesAdded(n)},t.prototype.onStylesAdded=function(t){},t.prototype.getAllStyles=function(){return Array.from(this._stylesSet)},t}(),B=function(t){function e(e){var n=t.call(this)||this;return n._doc=e,n._hostNodes=new Set,n._styleNodes=new Set,n._hostNodes.add(e.head),n}return Object(v.__extends)(e,t),e.prototype._addStylesToHost=function(t,e){var n=this;t.forEach(function(t){var r=n._doc.createElement("style");r.textContent=t,n._styleNodes.add(e.appendChild(r))})},e.prototype.addHost=function(t){this._addStylesToHost(this._stylesSet,t),this._hostNodes.add(t)},e.prototype.removeHost=function(t){this._hostNodes.delete(t)},e.prototype.onStylesAdded=function(t){var e=this;this._hostNodes.forEach(function(n){return e._addStylesToHost(t,n)})},e.prototype.ngOnDestroy=function(){this._styleNodes.forEach(function(t){return r().remove(t)})},e}(H),V={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},z=/%COMP%/g,W="_nghost-%COMP%",U="_ngcontent-%COMP%",q=function(){function t(t,e){this.eventManager=t,this.sharedStylesHost=e,this.rendererByCompId=new Map,this.defaultRenderer=new G(t)}return t.prototype.createRenderer=function(t,e){if(!t||!e)return this.defaultRenderer;switch(e.encapsulation){case g.ViewEncapsulation.Emulated:var n=this.rendererByCompId.get(e.id);return n||(n=new K(this.eventManager,this.sharedStylesHost,e),this.rendererByCompId.set(e.id,n)),n.applyToHost(t),n;case g.ViewEncapsulation.Native:return new Z(this.eventManager,this.sharedStylesHost,t,e);default:if(!this.rendererByCompId.has(e.id)){var r=u(e.id,e.styles,[]);this.sharedStylesHost.addStyles(r),this.rendererByCompId.set(e.id,this.defaultRenderer)}return this.defaultRenderer}},t.prototype.begin=function(){},t.prototype.end=function(){},t}(),G=function(){function t(t){this.eventManager=t,this.data=Object.create(null)}return t.prototype.destroy=function(){},t.prototype.createElement=function(t,e){return e?document.createElementNS(V[e],t):document.createElement(t)},t.prototype.createComment=function(t){return document.createComment(t)},t.prototype.createText=function(t){return document.createTextNode(t)},t.prototype.appendChild=function(t,e){t.appendChild(e)},t.prototype.insertBefore=function(t,e,n){t&&t.insertBefore(e,n)},t.prototype.removeChild=function(t,e){t&&t.removeChild(e)},t.prototype.selectRootElement=function(t){var e="string"==typeof t?document.querySelector(t):t;if(!e)throw new Error('The selector "'+t+'" did not match any elements');return e.textContent="",e},t.prototype.parentNode=function(t){return t.parentNode},t.prototype.nextSibling=function(t){return t.nextSibling},t.prototype.setAttribute=function(t,e,n,r){if(r){e=r+":"+e;var i=V[r];i?t.setAttributeNS(i,e,n):t.setAttribute(e,n)}else t.setAttribute(e,n)},t.prototype.removeAttribute=function(t,e,n){if(n){var r=V[n];r?t.removeAttributeNS(r,e):t.removeAttribute(n+":"+e)}else t.removeAttribute(e)},t.prototype.addClass=function(t,e){t.classList.add(e)},t.prototype.removeClass=function(t,e){t.classList.remove(e)},t.prototype.setStyle=function(t,e,n,r){r&g.RendererStyleFlags2.DashCase?t.style.setProperty(e,n,r&g.RendererStyleFlags2.Important?"important":""):t.style[e]=n},t.prototype.removeStyle=function(t,e,n){n&g.RendererStyleFlags2.DashCase?t.style.removeProperty(e):t.style[e]=""},t.prototype.setProperty=function(t,e,n){c(e,"property"),t[e]=n},t.prototype.setValue=function(t,e){t.nodeValue=e},t.prototype.listen=function(t,e,n){return c(e,"listener"),"string"==typeof t?this.eventManager.addGlobalEventListener(t,e,l(n)):this.eventManager.addEventListener(t,e,l(n))},t}(),X="@".charCodeAt(0),K=function(t){function e(e,n,r){var i=t.call(this,e)||this;i.component=r;var o=u(r.id,r.styles,[]);return n.addStyles(o),i.contentAttr=function(t){return U.replace(z,t)}(r.id),i.hostAttr=function(t){return W.replace(z,t)}(r.id),i}return Object(v.__extends)(e,t),e.prototype.applyToHost=function(e){t.prototype.setAttribute.call(this,e,this.hostAttr,"")},e.prototype.createElement=function(e,n){var r=t.prototype.createElement.call(this,e,n);return t.prototype.setAttribute.call(this,r,this.contentAttr,""),r},e}(G),Z=function(t){function e(e,n,r,i){var o=t.call(this,e)||this;o.sharedStylesHost=n,o.hostEl=r,o.component=i,o.shadowRoot=r.createShadowRoot(),o.sharedStylesHost.addHost(o.shadowRoot);for(var s=u(i.id,i.styles,[]),a=0;a<s.length;a++){var l=document.createElement("style");l.textContent=s[a],o.shadowRoot.appendChild(l)}return o}return Object(v.__extends)(e,t),e.prototype.nodeOrShadowRoot=function(t){return t===this.hostEl?this.shadowRoot:t},e.prototype.destroy=function(){this.sharedStylesHost.removeHost(this.shadowRoot)},e.prototype.appendChild=function(e,n){return t.prototype.appendChild.call(this,this.nodeOrShadowRoot(e),n)},e.prototype.insertBefore=function(e,n,r){return t.prototype.insertBefore.call(this,this.nodeOrShadowRoot(e),n,r)},e.prototype.removeChild=function(e,n){return t.prototype.removeChild.call(this,this.nodeOrShadowRoot(e),n)},e.prototype.parentNode=function(e){return this.nodeOrShadowRoot(t.prototype.parentNode.call(this,this.nodeOrShadowRoot(e)))},e}(G),$="undefined"!=typeof Zone&&Zone.__symbol__||function(t){return"__zone_symbol__"+t},J=$("addEventListener"),Q=$("removeEventListener"),tt={},et="removeEventListener",nt="__zone_symbol__propagationStopped",rt="__zone_symbol__stopImmediatePropagation",it="undefined"!=typeof Zone&&Zone[$("BLACK_LISTED_EVENTS")];it&&(E={});var ot,st=function(t){return!!E&&E.hasOwnProperty(t)},at=function(t){var e=tt[t.type];if(e){var n=this[e];if(n){var r=[t];if(1===n.length){return(s=n[0]).zone!==Zone.current?s.zone.run(s.handler,this,r):s.handler.apply(this,r)}for(var i=n.slice(),o=0;o<i.length&&!0!==t[nt];o++){var s;(s=i[o]).zone!==Zone.current?s.zone.run(s.handler,this,r):s.handler.apply(this,r)}}}},ut=function(t){function e(e,n){var r=t.call(this,e)||this;return r.ngZone=n,r.patchEvent(),r}return Object(v.__extends)(e,t),e.prototype.patchEvent=function(){if(Event&&Event.prototype&&!Event.prototype[rt]){var t=Event.prototype[rt]=Event.prototype.stopImmediatePropagation;Event.prototype.stopImmediatePropagation=function(){this&&(this[nt]=!0),t&&t.apply(this,arguments)}}},e.prototype.supports=function(t){return!0},e.prototype.addEventListener=function(t,e,n){var r=this,i=n;if(!t[J]||g.NgZone.isInAngularZone()&&!st(e))t.addEventListener(e,i,!1);else{var o=tt[e];o||(o=tt[e]=$("ANGULAR"+e+"FALSE"));var s=t[o],a=s&&s.length>0;s||(s=t[o]=[]);var u=st(e)?Zone.root:Zone.current;if(0===s.length)s.push({zone:u,handler:i});else{for(var l=!1,c=0;c<s.length;c++)if(s[c].handler===i){l=!0;break}l||s.push({zone:u,handler:i})}a||t[J](e,at,!1)}return function(){return r.removeEventListener(t,e,i)}},e.prototype.removeEventListener=function(t,e,n){var r=t[Q];if(!r)return t[et].apply(t,[e,n,!1]);var i=tt[e],o=i&&t[i];if(!o)return t[et].apply(t,[e,n,!1]);for(var s=!1,a=0;a<o.length;a++)if(o[a].handler===n){s=!0,o.splice(a,1);break}s?0===o.length&&r.apply(t,[e,at,!1]):t[et].apply(t,[e,n,!1])},e}(F),lt={pan:!0,panstart:!0,panmove:!0,panend:!0,pancancel:!0,panleft:!0,panright:!0,panup:!0,pandown:!0,pinch:!0,pinchstart:!0,pinchmove:!0,pinchend:!0,pinchcancel:!0,pinchin:!0,pinchout:!0,press:!0,pressup:!0,rotate:!0,rotatestart:!0,rotatemove:!0,rotateend:!0,rotatecancel:!0,swipe:!0,swipeleft:!0,swiperight:!0,swipeup:!0,swipedown:!0,tap:!0},ct=new g.InjectionToken("HammerGestureConfig"),dt=function(){function t(){this.events=[],this.overrides={}}return t.prototype.buildHammer=function(t){var e=new Hammer(t);e.get("pinch").set({enable:!0}),e.get("rotate").set({enable:!0});for(var n in this.overrides)e.get(n).set(this.overrides[n]);return e},t}(),ht=function(t){function e(e,n){var r=t.call(this,e)||this;return r._config=n,r}return Object(v.__extends)(e,t),e.prototype.supports=function(t){if(!lt.hasOwnProperty(t.toLowerCase())&&!this.isCustomEvent(t))return!1;if(!window.Hammer)throw new Error("Hammer.js is not loaded, can not bind "+t+" event");return!0},e.prototype.addEventListener=function(t,e,n){var r=this,i=this.manager.getZone();return e=e.toLowerCase(),i.runOutsideAngular(function(){var o=r._config.buildHammer(t),s=function(t){i.runGuarded(function(){n(t)})};return o.on(e,s),function(){return o.off(e,s)}})},e.prototype.isCustomEvent=function(t){return this._config.events.indexOf(t)>-1},e}(F),ft=["alt","control","meta","shift"],pt={alt:function(t){return t.altKey},control:function(t){return t.ctrlKey},meta:function(t){return t.metaKey},shift:function(t){return t.shiftKey}},mt=function(t){function e(e){return t.call(this,e)||this}return Object(v.__extends)(e,t),e.prototype.supports=function(t){return null!=e.parseEventName(t)},e.prototype.addEventListener=function(t,n,i){var o=e.parseEventName(n),s=e.eventCallback(o.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(function(){return r().onAndCancel(t,o.domEventName,s)})},e.parseEventName=function(t){var n=t.toLowerCase().split("."),r=n.shift();if(0===n.length||"keydown"!==r&&"keyup"!==r)return null;var i=e._normalizeKey(n.pop()),o="";if(ft.forEach(function(t){var e=n.indexOf(t);e>-1&&(n.splice(e,1),o+=t+".")}),o+=i,0!=n.length||0===i.length)return null;var s={};return s.domEventName=r,s.fullKey=o,s},e.getEventFullKey=function(t){var e="",n=r().getEventKey(t);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),ft.forEach(function(r){if(r!=n){(0,pt[r])(t)&&(e+=r+".")}}),e+=n},e.eventCallback=function(t,n,r){return function(i){e.getEventFullKey(i)===t&&r.runGuarded(function(){return n(i)})}},e._normalizeKey=function(t){switch(t){case"esc":return"escape";default:return t}},e}(F),_t=function(){function t(t,e){this.defaultDoc=t,this.DOM=e;var n=this.DOM.createHtmlDocument();if(this.inertBodyElement=n.body,null==this.inertBodyElement){var r=this.DOM.createElement("html",n);this.inertBodyElement=this.DOM.createElement("body",n),this.DOM.appendChild(r,this.inertBodyElement),this.DOM.appendChild(n,r)}this.DOM.setInnerHTML(this.inertBodyElement,'<svg><g onload="this.parentNode.remove()"></g></svg>'),!this.inertBodyElement.querySelector||this.inertBodyElement.querySelector("svg")?(this.DOM.setInnerHTML(this.inertBodyElement,'<svg><p><style><img src="</style><img src=x onerror=alert(1)//">'),this.getInertBodyElement=this.inertBodyElement.querySelector&&this.inertBodyElement.querySelector("svg img")&&function(){try{return!!window.DOMParser}catch(t){return!1}}()?this.getInertBodyElement_DOMParser:this.getInertBodyElement_InertDocument):this.getInertBodyElement=this.getInertBodyElement_XHR}return t.prototype.getInertBodyElement_XHR=function(t){t="<body><remove></remove>"+t+"</body>";try{t=encodeURI(t)}catch(t){return null}var e=new XMLHttpRequest;e.responseType="document",e.open("GET","data:text/html;charset=utf-8,"+t,!1),e.send(null);var n=e.response.body;return n.removeChild(n.firstChild),n},t.prototype.getInertBodyElement_DOMParser=function(t){t="<body><remove></remove>"+t+"</body>";try{var e=(new window.DOMParser).parseFromString(t,"text/html").body;return e.removeChild(e.firstChild),e}catch(t){return null}},t.prototype.getInertBodyElement_InertDocument=function(t){var e=this.DOM.createElement("template");return"content"in e?(this.DOM.setInnerHTML(e,t),e):(this.DOM.setInnerHTML(this.inertBodyElement,t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(this.inertBodyElement),this.inertBodyElement)},t.prototype.stripCustomNsAttrs=function(t){var e=this;this.DOM.attributeMap(t).forEach(function(n,r){"xmlns:ns1"!==r&&0!==r.indexOf("ns1:")||e.DOM.removeAttribute(t,r)});for(var n=0,r=this.DOM.childNodesAsList(t);n<r.length;n++){var i=r[n];this.DOM.isElementNode(i)&&this.stripCustomNsAttrs(i)}},t}(),gt=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,vt=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i,yt=h("area,br,col,hr,img,wbr"),bt=h("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),wt=h("rp,rt"),St=f(wt,bt),Tt=f(yt,f(bt,h("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),f(wt,h("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),St),Et=h("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Mt=h("srcset"),xt=f(Et,Mt,h("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width")),Ct=function(){function t(){this.sanitizedSomething=!1,this.buf=[],this.DOM=r()}return t.prototype.sanitizeChildren=function(t){for(var e=this.DOM.firstChild(t);e;)if(this.DOM.isElementNode(e)?this.startElement(e):this.DOM.isTextNode(e)?this.chars(this.DOM.nodeValue(e)):this.sanitizedSomething=!0,this.DOM.firstChild(e))e=this.DOM.firstChild(e);else for(;e;){this.DOM.isElementNode(e)&&this.endElement(e);var n=this.checkClobberedElement(e,this.DOM.nextSibling(e));if(n){e=n;break}e=this.checkClobberedElement(e,this.DOM.parentElement(e))}return this.buf.join("")},t.prototype.startElement=function(t){var e=this,n=this.DOM.nodeName(t).toLowerCase();Tt.hasOwnProperty(n)?(this.buf.push("<"),this.buf.push(n),this.DOM.attributeMap(t).forEach(function(t,n){var r=n.toLowerCase();xt.hasOwnProperty(r)?(Et[r]&&(t=d(t)),Mt[r]&&(t=function(t){return(t=String(t)).split(",").map(function(t){return d(t.trim())}).join(", ")}(t)),e.buf.push(" "),e.buf.push(n),e.buf.push('="'),e.buf.push(p(t)),e.buf.push('"')):e.sanitizedSomething=!0}),this.buf.push(">")):this.sanitizedSomething=!0},t.prototype.endElement=function(t){var e=this.DOM.nodeName(t).toLowerCase();Tt.hasOwnProperty(e)&&!yt.hasOwnProperty(e)&&(this.buf.push("</"),this.buf.push(e),this.buf.push(">"))},t.prototype.chars=function(t){this.buf.push(p(t))},t.prototype.checkClobberedElement=function(t,e){if(e&&this.DOM.contains(t,e))throw new Error("Failed to sanitize html because the element is clobbered: "+this.DOM.getOuterHTML(t));return e},t}(),Ot=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Dt=/([^\#-~ |!])/g,kt=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"),Lt=/^url\(([^)]+)\)$/,At=function(){return function(){}}(),It=function(t){function e(e){var n=t.call(this)||this;return n._doc=e,n}return Object(v.__extends)(e,t),e.prototype.sanitize=function(t,e){if(null==e)return null;switch(t){case g.SecurityContext.NONE:return e;case g.SecurityContext.HTML:return e instanceof Rt?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"HTML"),function(t,e){var n=r(),i=null;try{ot=ot||new _t(t,n);var o=e?String(e):"";i=ot.getInertBodyElement(o);var s=5,a=o;do{if(0===s)throw new Error("Failed to sanitize html because the input is unstable");s--,o=a,a=n.getInnerHTML(i),i=ot.getInertBodyElement(o)}while(o!==a);var u=new Ct,l=u.sanitizeChildren(n.getTemplateContent(i)||i);return Object(g.isDevMode)()&&u.sanitizedSomething&&n.log("WARNING: sanitizing HTML stripped some content (see http://g.co/ng/security#xss)."),l}finally{if(i)for(var c=n.getTemplateContent(i)||i,d=0,h=n.childNodesAsList(c);d<h.length;d++)n.removeChild(c,h[d])}}(this._doc,String(e)));case g.SecurityContext.STYLE:return e instanceof Nt?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"Style"),function(t){if(!(t=String(t).trim()))return"";var e=t.match(Lt);return e&&d(e[1])===e[1]||t.match(kt)&&function(t){for(var e=!0,n=!0,r=0;r<t.length;r++){var i=t.charAt(r);"'"===i&&n?e=!e:'"'===i&&e&&(n=!n)}return e&&n}(t)?t:(Object(g.isDevMode)()&&r().log("WARNING: sanitizing unsafe style value "+t+" (see http://g.co/ng/security#xss)."),"unsafe")}(e));case g.SecurityContext.SCRIPT:if(e instanceof jt)return e.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(e,"Script"),new Error("unsafe value used in a script context");case g.SecurityContext.URL:return e instanceof Ft||e instanceof Yt?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"URL"),d(String(e)));case g.SecurityContext.RESOURCE_URL:if(e instanceof Ft)return e.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(e,"ResourceURL"),new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)");default:throw new Error("Unexpected SecurityContext "+t+" (see http://g.co/ng/security#xss)")}},e.prototype.checkNotSafeValue=function(t,e){if(t instanceof Pt)throw new Error("Required a safe "+e+", got a "+t.getTypeName()+" (see http://g.co/ng/security#xss)")},e.prototype.bypassSecurityTrustHtml=function(t){return new Rt(t)},e.prototype.bypassSecurityTrustStyle=function(t){return new Nt(t)},e.prototype.bypassSecurityTrustScript=function(t){return new jt(t)},e.prototype.bypassSecurityTrustUrl=function(t){return new Yt(t)},e.prototype.bypassSecurityTrustResourceUrl=function(t){return new Ft(t)},e}(At),Pt=function(){function t(t){this.changingThisBreaksApplicationSecurity=t}return t.prototype.toString=function(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see http://g.co/ng/security#xss)"},t}(),Rt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(v.__extends)(e,t),e.prototype.getTypeName=function(){return"HTML"},e}(Pt),Nt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(v.__extends)(e,t),e.prototype.getTypeName=function(){return"Style"},e}(Pt),jt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(v.__extends)(e,t),e.prototype.getTypeName=function(){return"Script"},e}(Pt),Yt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(v.__extends)(e,t),e.prototype.getTypeName=function(){return"URL"},e}(Pt),Ft=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(v.__extends)(e,t),e.prototype.getTypeName=function(){return"ResourceURL"},e}(Pt),Ht=[{provide:g.PLATFORM_ID,useValue:_["ɵPLATFORM_BROWSER_ID"]},{provide:g.PLATFORM_INITIALIZER,useValue:function(){M.makeCurrent(),A.init()},multi:!0},{provide:_.PlatformLocation,useClass:O,deps:[C]},{provide:C,useFactory:function(){return document},deps:[]}],Bt=Object(g.createPlatformFactory)(g.platformCore,"browser",Ht),Vt=function(){function t(t){if(t)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}return t.withServerTransition=function(e){return{ngModule:t,providers:[{provide:g.APP_ID,useValue:e.appId},{provide:k,useExisting:g.APP_ID},L]}},t}();"undefined"!=typeof window&&window},,function(t,e,n){"use strict";function r(){try{return i.apply(this,arguments)}catch(t){return o.errorObject.e=t,o.errorObject}}var i,o=n(44);e.tryCatch=function(t){return i=t,r}},function(t,e,n){"use strict";e.c=function(t){var e,n={},r=["webkitTransform","-webkit-transform","webkit-transform","transform"];for(e=0;e<r.length;e++)if(void 0!==t.style[r[e]]){n.transform=r[e];break}for(r=["webkitTransition","transition"],e=0;e<r.length;e++)if(void 0!==t.style[r[e]]){n.transition=r[e];break}var i=n.transition.indexOf("webkit")>-1;return n.transitionDuration=(i?"-webkit-":"")+"transition-duration",n.transitionTimingFn=(i?"-webkit-":"")+"transition-timing-function",n.transitionDelay=(i?"-webkit-":"")+"transition-delay",n.transitionEnd=(i?"webkitTransitionEnd ":"")+"transitionend",n.transformOrigin=(i?"-webkit-":"")+"transform-origin",n.animationDelay=i?"webkitAnimationDelay":"animationDelay",n},e.f=function(t){if(t){var e=t.changedTouches;if(e&&e.length>0){var n=e[0];return{x:n.clientX,y:n.clientY}}var r=t.pageX;if(void 0!==r)return{x:r,y:t.pageY}}return{x:0,y:0}},e.d=function(t,e,n){if(e&&n){var r=e.x-n.x,i=e.y-n.y;return r*r+i*i>t*t}return!1},e.e=function(t){return!!t&&("TEXTAREA"===t.tagName||"true"===t.contentEditable||"INPUT"===t.tagName&&!r.test(t.type))},n.d(e,"a",function(){return r}),e.b=function(t,e){for(var n=t.attributes,r=0;r<n.length;r++){var o=n[r];-1===i.indexOf(o.name)&&e.setAttribute(o.name,o.value)}};var r=/^(radio|checkbox|range|file|submit|reset|color|image|button)$/i,i=["value","checked","disabled","readonly","placeholder","type","class","style","id","autofocus","autocomplete","autocorrect"]},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(115),i=n(1223);e.default=function(){function t(t,e){this.x=t,this.y=e}return t.prototype.getX=function(){return this.x},t.prototype.getY=function(){return this.y},t.prototype.equals=function(e){if(e instanceof t){return this.x===e.x&&this.y===e.y}return!1},t.prototype.hashCode=function(){return 31*i.default.floatToIntBits(this.x)+i.default.floatToIntBits(this.y)},t.prototype.toString=function(){return"("+this.x+","+this.y+")"},t.orderBestPatterns=function(t){var e,n,r,i=this.distance(t[0],t[1]),o=this.distance(t[1],t[2]),s=this.distance(t[0],t[2]);if(o>=i&&o>=s?(n=t[0],e=t[1],r=t[2]):s>=o&&s>=i?(n=t[1],e=t[0],r=t[2]):(n=t[2],e=t[0],r=t[1]),this.crossProductZ(e,n,r)<0){var a=e;e=r,r=a}t[0]=e,t[1]=n,t[2]=r},t.distance=function(t,e){return r.default.distance(t.x,t.y,e.x,e.y)},t.crossProductZ=function(t,e,n){var r=e.x,i=e.y;return(n.x-r)*(t.y-i)-(n.y-i)*(t.x-r)},t}()},function(t,e,n){"use strict";n.d(e,"a",function(){return s});n(6);var r=n(26),i=n(11),o=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),s=function(t){function e(e,n,r,i){var o=t.call(this,n,r,i)||this;return o._role="button",o._style="default",o._mode=n.get("mode"),!1===n.get("hoverCSS")&&o.setElementClass("disable-hover",!0),e.trim().length>0&&o.setRole(e),o}return o(e,t),Object.defineProperty(e.prototype,"large",{set:function(t){this._attr("_size","large",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"small",{set:function(t){this._attr("_size","small",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"default",{set:function(t){this._attr("_size","default",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"outline",{set:function(t){this._attr("_style","outline",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"clear",{set:function(t){this._attr("_style","clear",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"solid",{set:function(t){this._attr("_style","solid",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"round",{set:function(t){this._attr("_shape","round",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"block",{set:function(t){this._attr("_display","block",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"full",{set:function(t){this._attr("_display","full",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"strong",{set:function(t){this._attr("_decorator","strong",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"mode",{set:function(t){this._assignCss(!1),this._mode=t,this._assignCss(!0)},enumerable:!0,configurable:!0}),e.prototype._attr=function(t,e,n){"_style"===t&&this._updateColor(this._color,!1),this._setClass(this[t],!1),Object(i.o)(n)?(this[t]=e,this._setClass(e,!0)):(this[t]="_style"===t?"default":null,this._setClass(this[t],!0)),"_style"===t&&this._updateColor(this._color,!0)},Object.defineProperty(e.prototype,"color",{set:function(t){this._updateColor(this._color,!1),this._updateColor(t,!0),this._color=t},enumerable:!0,configurable:!0}),e.prototype.ngAfterContentInit=function(){this._init=!0,this._assignCss(!0)},e.prototype.setRole=function(t){this._assignCss(!1),this._role=t,this._assignCss(!0)},e.prototype._assignCss=function(t){var e=this._role;e&&(this.setElementClass(e,t),this.setElementClass(e+"-"+this._mode,t),this._setClass(this._style,t),this._setClass(this._shape,t),this._setClass(this._display,t),this._setClass(this._size,t),this._setClass(this._decorator,t),this._updateColor(this._color,t))},e.prototype._setClass=function(t,e){t&&this._init&&(t=t.toLocaleLowerCase(),this.setElementClass(this._role+"-"+t,e),this.setElementClass(this._role+"-"+t+"-"+this._mode,e))},e.prototype._updateColor=function(t,e){if(t&&this._init){var n=this._role,r=this._style;n+=null!==(r="bar-button"!==this._role&&"solid"===r?"default":r)&&""!==r&&"default"!==r?"-"+r.toLowerCase():"",null!==t&&""!==t&&this.setElementClass(n+"-"+this._mode+"-"+t,e)}},e}(r.a)},function(t,e,n){"use strict";n.d(e,"a",function(){return i});var r=n(11),i=function(){function t(){this._focused=null,this._ids=-1,this._inputs=[]}return t.prototype.register=function(t){this._inputs.push(t)},t.prototype.deregister=function(t){Object(r.q)(this._inputs,t),this.unsetAsFocused(t)},t.prototype.setAsFocused=function(t){this._focused=t},t.prototype.unsetAsFocused=function(t){t===this._focused&&(this._focused=null)},t.prototype.tabFocus=function(t){var e=this._inputs,n=e.indexOf(t)+1;if(n>0&&n<e.length){var r=e[n];if(r!==this._focused)return r.initFocus()}if((n=e.indexOf(this._focused))>0){var i=e[n-1];i&&i.initFocus()}},t.prototype.nextId=function(){return++this._ids},t}()},function(t,e,n){"use strict";function r(t){return"/"!==(t=t.trim()).charAt(0)&&(t="/"+t),t.length>1&&"/"===t.charAt(t.length-1)&&(t=t.substr(0,t.length-1)),t}n.d(e,"a",function(){return u}),e.b=function(t,e,n,r,i){var o=new u(t,e,n,r,i);return o.init(),o};var i=n(99),o=n(11),s=n(124),a=n(18),u=function(){function t(t,e,n,r,i){this._app=t,this._serializer=e,this._location=n,this._moduleLoader=r,this._baseCfr=i,this._history=[]}return t.prototype.init=function(){var t=this,e=r(this._location.path());this._historyPush(e),this._location.subscribe(function(e){t._urlChange(r(e.url))})},t.prototype._urlChange=function(t){var e=this;if(!this._isCurrentUrl(t)){this._isBackUrl(t)?this._historyPop():(!1,this._historyPush(t));var n=this._app.getActiveNavContainers();if(n&&n.length){if("/"===t){if(!Object(o.l)(this._indexAliasUrl))return void n.forEach(function(t){t.goToRoot({updateUrl:!1,isNavRoot:!0})});t=this._indexAliasUrl}this.getCurrentSegments(t).map(function(t){for(var e=0,r=n;e<r.length;e++){var i=function(t,e){for(;t;){if(t.id===e||t.name===e)return t;t=t.parent}return null}(r[e],t.navId);if(i)return{segment:t,navContainer:i}}}).filter(function(t){return!!t}).forEach(function(t){e._loadViewForSegment(t.navContainer,t.segment,function(){})})}}},t.prototype.getCurrentSegments=function(t){return t||(t=r(this._location.path())),this._serializer.parse(t)},t.prototype.navChange=function(t){if(t){for(var e=0,n=this._app.getActiveNavContainers();e<n.length;e++){var r=n[e];if(Object(i.m)(r)||r.isTransitioning())return}for(var o=[],s=0,a=this._app.getRootNavs();s<a.length;s++){var u=this.getSegmentsFromNav(a[s]);o=o.concat(u)}if((o=o.filter(function(t){return!!t})).length){var l=this._serializer.serialize(o);this._updateLocation(l,t)}}},t.prototype.getSegmentsFromNav=function(t){var e=this,n=[];return Object(i.k)(t)?n.push(this.getSegmentFromNav(t)):Object(i.l)(t)&&n.push(this.getSegmentFromTab(t)),t.getActiveChildNavs().forEach(function(t){n=n.concat(e.getSegmentsFromNav(t))}),n},t.prototype.getSegmentFromNav=function(t,e,n){if(!e){var r=t.getActive(!0);r&&(e=r.component,n=r.data)}return this._serializer.serializeComponent(t,e,n)},t.prototype.getSegmentFromTab=function(t,e,n){if(t&&t.parent){var r=t.parent,i=r.getActiveChildNavs();if(i&&i.length){var o=i[0].getActive(!0);return o&&(e=o.component,n=o.data),this._serializer.serializeComponent(r,e,n)}}},t.prototype._updateLocation=function(t,e){this._indexAliasUrl===t&&(t="/"),e===i.a&&this._isBackUrl(t)?(this._historyPop(),this._location.back()):this._isCurrentUrl(t)||(this._historyPush(t),this._location.go(t))},t.prototype.getComponentFromName=function(t){var e=this._serializer.getLinkFromName(t);return e?this.getNavLinkComponent(e):Promise.reject("invalid link: "+t)},t.prototype.getNavLinkComponent=function(t){return t.component?Promise.resolve(t.component):t.loadChildren?this._moduleLoader.load(t.loadChildren).then(function(e){return t.component=e.component,e.component}):Promise.reject("invalid link component: "+t.name)},t.prototype.resolveComponent=function(t){var e=this._moduleLoader.getComponentFactoryResolver(t);return e||(e=this._baseCfr),e.resolveComponentFactory(t)},t.prototype.createUrl=function(t,e,n,r){void 0===r&&(r=!0);var i=this._serializer.createSegmentFromName(t,e),o=this.getCurrentSegments();if(i)for(var s=0;s<o.length;s++)if(o[s].navId===t.name||o[s].navId===t.id){o[s]=i;var a=this._serializer.serialize(o);return r?this._location.prepareExternalUrl(a):a}return""},t.prototype.getSegmentByNavIdOrName=function(t,e){for(var n=r(this._location.path()),i=0,o=this._serializer.parse(n);i<o.length;i++){var s=o[i];if(s.navId===t||s.navId===e)return s}return null},t.prototype.initViews=function(t){var e=this,n=this._serializer.getLinkFromName(t.name);return this.getNavLinkComponent(n).then(function(n){t.component=n;var r=new a.a(n,t.data);return r.id=t.id,Object(o.e)(t.defaultHistory)?Object(i.i)(e,t.defaultHistory).then(function(t){return t.push(r),t}):[r]})},t.prototype._isBackUrl=function(t){return t===this._history[this._history.length-2]},t.prototype._isCurrentUrl=function(t){return t===this._history[this._history.length-1]},t.prototype._historyPush=function(t){this._isCurrentUrl(t)||(this._history.push(t),this._history.length>30&&this._history.shift())},t.prototype._historyPop=function(){this._history.pop(),this._history.length||this._historyPush(this._location.path())},t.prototype._getTabSelector=function(t){return Object(o.l)(t.tabUrlPath)?t.tabUrlPath:Object(o.l)(t.tabTitle)?Object(s.c)(t.tabTitle):"tab-"+t.index},t.prototype._loadViewForSegment=function(t,e,n){if(!e)return n(!1,!1);if(Object(i.m)(t)||Object(i.l)(t)&&t.parent){var r=Object(i.m)(t)?t:t.parent,o=r._getSelectedTabIndex(e.secondaryId),s=r.getByIndex(o);return s._segment=e,r.select(s,{updateUrl:!1,animate:!1},!0),n(!1,!1)}for(var a=t,u=a.length()-1,l=u;l>=0;l--){var c=a.getByIndex(l);if(c&&(c.id===e.id||c.id===e.name))return l===u?n(!1,!1):a.popTo(c,{animate:!1,updateUrl:!1},n)}return a.setRoot(e.component||e.name,e.data,{id:e.id,animate:!1,updateUrl:!1},n)},t}()},,function(t,e,n){"use strict";function r(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,"/")}function i(t){return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer}function o(t){return"undefined"!=typeof Blob&&t instanceof Blob}function s(t){return"undefined"!=typeof FormData&&t instanceof FormData}function a(t,e){return{body:e,headers:t.headers,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials}}n.d(e,"b",function(){return g}),n.d(e,"f",function(){return _}),n.d(e,"c",function(){return C}),n.d(e,"a",function(){return D}),n.d(e,"d",function(){return V}),n.d(e,"e",function(){return B}),n.d(e,"g",function(){return w}),n.d(e,"h",function(){return P}),n.d(e,"j",function(){return A}),n.d(e,"i",function(){return j}),n.d(e,"k",function(){return H}),n.d(e,"l",function(){return I}),n.d(e,"o",function(){return Y}),n.d(e,"p",function(){return F}),n.d(e,"m",function(){return R}),n.d(e,"n",function(){return N});var u=n(1),l=n(255),c=n(489),d=n(490),h=n(275),f=n(0),p=n(12),m=n(2),_=function(){return function(){}}(),g=function(){return function(){}}(),v=function(){function t(t){var e=this;this.normalizedNames=new Map,this.lazyUpdate=null,t?this.lazyInit="string"==typeof t?function(){e.headers=new Map,t.split("\n").forEach(function(t){var n=t.indexOf(":");if(n>0){var r=t.slice(0,n),i=r.toLowerCase(),o=t.slice(n+1).trim();e.maybeSetNormalizedName(r,i),e.headers.has(i)?e.headers.get(i).push(o):e.headers.set(i,[o])}})}:function(){e.headers=new Map,Object.keys(t).forEach(function(n){var r=t[n],i=n.toLowerCase();"string"==typeof r&&(r=[r]),r.length>0&&(e.headers.set(i,r),e.maybeSetNormalizedName(n,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 e=this.headers.get(t.toLowerCase());return e&&e.length>0?e[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,e){return this.clone({name:t,value:e,op:"a"})},t.prototype.set=function(t,e){return this.clone({name:t,value:e,op:"s"})},t.prototype.delete=function(t,e){return this.clone({name:t,value:e,op:"d"})},t.prototype.maybeSetNormalizedName=function(t,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,t)},t.prototype.init=function(){var e=this;this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(function(t){return e.applyUpdate(t)}),this.lazyUpdate=null))},t.prototype.copyFrom=function(t){var e=this;t.init(),Array.from(t.headers.keys()).forEach(function(n){e.headers.set(n,t.headers.get(n)),e.normalizedNames.set(n,t.normalizedNames.get(n))})},t.prototype.clone=function(e){var n=new t;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([e]),n},t.prototype.applyUpdate=function(t){var e=t.name.toLowerCase();switch(t.op){case"a":case"s":var n=t.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(t.name,e);var r=("a"===t.op?this.headers.get(e):void 0)||[];r.push.apply(r,n),this.headers.set(e,r);break;case"d":var i=t.value;if(i){var o=this.headers.get(e);if(!o)return;0===(o=o.filter(function(t){return-1===i.indexOf(t)})).length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,o)}else this.headers.delete(e),this.normalizedNames.delete(e)}},t.prototype.forEach=function(t){var e=this;this.init(),Array.from(this.normalizedNames.keys()).forEach(function(n){return t(e.normalizedNames.get(n),e.headers.get(n))})},t}(),y=function(){function t(){}return t.prototype.encodeKey=function(t){return r(t)},t.prototype.encodeValue=function(t){return r(t)},t.prototype.decodeKey=function(t){return decodeURIComponent(t)},t.prototype.decodeValue=function(t){return decodeURIComponent(t)},t}(),b=function(){function t(t){void 0===t&&(t={});var e=this;if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new y,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function(t,e){var n=new Map;t.length>0&&t.split("&").forEach(function(t){var r=t.indexOf("="),i=-1==r?[e.decodeKey(t),""]:[e.decodeKey(t.slice(0,r)),e.decodeValue(t.slice(r+1))],o=i[0],s=i[1],a=n.get(o)||[];a.push(s),n.set(o,a)});return n}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(function(n){var r=t.fromObject[n];e.map.set(n,Array.isArray(r)?r:[r])})):this.map=null}return t.prototype.has=function(t){return this.init(),this.map.has(t)},t.prototype.get=function(t){this.init();var e=this.map.get(t);return e?e[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,e){return this.clone({param:t,value:e,op:"a"})},t.prototype.set=function(t,e){return this.clone({param:t,value:e,op:"s"})},t.prototype.delete=function(t,e){return this.clone({param:t,value:e,op:"d"})},t.prototype.toString=function(){var t=this;return this.init(),this.keys().map(function(e){var n=t.encoder.encodeKey(e);return t.map.get(e).map(function(e){return n+"="+t.encoder.encodeValue(e)}).join("&")}).join("&")},t.prototype.clone=function(e){var n=new t({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat([e]),n},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(e){return t.map.set(e,t.cloneFrom.map.get(e))}),this.updates.forEach(function(e){switch(e.op){case"a":case"s":var n=("a"===e.op?t.map.get(e.param):void 0)||[];n.push(e.value),t.map.set(e.param,n);break;case"d":if(void 0===e.value){t.map.delete(e.param);break}var r=t.map.get(e.param)||[],i=r.indexOf(e.value);-1!==i&&r.splice(i,1),r.length>0?t.map.set(e.param,r):t.map.delete(e.param)}}),this.cloneFrom=null)},t}(),w=function(){function t(t,e,n,r){this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase();var i;if(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!==n?n:null,i=r):i=n,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 v),this.params){var o=this.params.toString();if(0===o.length)this.urlWithParams=e;else{var s=e.indexOf("?");this.urlWithParams=e+(-1===s?"?":s<e.length-1?"&":"")+o}}else this.params=new b,this.urlWithParams=e}return t.prototype.serializeBody=function(){return null===this.body?null:i(this.body)||o(this.body)||s(this.body)||"string"==typeof this.body?this.body:this.body instanceof b?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()},t.prototype.detectContentTypeHeader=function(){return null===this.body?null:s(this.body)?null:o(this.body)?this.body.type||null:i(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof b?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||Array.isArray(this.body)?"application/json":null},t.prototype.clone=function(e){void 0===e&&(e={});var n=e.method||this.method,r=e.url||this.url,i=e.responseType||this.responseType,o=void 0!==e.body?e.body:this.body,s=void 0!==e.withCredentials?e.withCredentials:this.withCredentials,a=void 0!==e.reportProgress?e.reportProgress:this.reportProgress,u=e.headers||this.headers,l=e.params||this.params;return void 0!==e.setHeaders&&(u=Object.keys(e.setHeaders).reduce(function(t,n){return t.set(n,e.setHeaders[n])},u)),e.setParams&&(l=Object.keys(e.setParams).reduce(function(t,n){return t.set(n,e.setParams[n])},l)),new t(n,r,o,{params:l,headers:u,reportProgress:a,responseType:i,withCredentials:s})},t}(),S=function(){var t={Sent:0,UploadProgress:1,ResponseHeader:2,DownloadProgress:3,Response:4,User:5};return t[t.Sent]="Sent",t[t.UploadProgress]="UploadProgress",t[t.ResponseHeader]="ResponseHeader",t[t.DownloadProgress]="DownloadProgress",t[t.Response]="Response",t[t.User]="User",t}(),T=function(){return function(t,e,n){void 0===e&&(e=200),void 0===n&&(n="OK"),this.headers=t.headers||new v,this.status=void 0!==t.status?t.status:e,this.statusText=t.statusText||n,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}}(),E=function(t){function e(e){void 0===e&&(e={});var n=t.call(this,e)||this;return n.type=S.ResponseHeader,n}return Object(f.__extends)(e,t),e.prototype.clone=function(t){return void 0===t&&(t={}),new e({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})},e}(T),M=function(t){function e(e){void 0===e&&(e={});var n=t.call(this,e)||this;return n.type=S.Response,n.body=void 0!==e.body?e.body:null,n}return Object(f.__extends)(e,t),e.prototype.clone=function(t){return void 0===t&&(t={}),new e({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})},e}(T),x=function(t){function e(e){var n=t.call(this,e,0,"Unknown Error")||this;return n.name="HttpErrorResponse",n.ok=!1,n.message=n.status>=200&&n.status<300?"Http failure during parsing for "+(e.url||"(unknown url)"):"Http failure response for "+(e.url||"(unknown url)")+": "+e.status+" "+e.statusText,n.error=e.error||null,n}return Object(f.__extends)(e,t),e}(T),C=function(){function t(t){this.handler=t}return t.prototype.request=function(t,e,n){var r=this;void 0===n&&(n={});var i;if(t instanceof w)i=t;else{var o=void 0;o=n.headers instanceof v?n.headers:new v(n.headers);var s=void 0;n.params&&(s=n.params instanceof b?n.params:new b({fromObject:n.params})),i=new w(t,e,void 0!==n.body?n.body:null,{headers:o,params:s,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials})}var a=c.concatMap.call(Object(l.of)(i),function(t){return r.handler.handle(t)});if(t instanceof w||"events"===n.observe)return a;var u=d.filter.call(a,function(t){return t instanceof M});switch(n.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return h.map.call(u,function(t){if(null!==t.body&&!(t.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return t.body});case"blob":return h.map.call(u,function(t){if(null!==t.body&&!(t.body instanceof Blob))throw new Error("Response is not a Blob.");return t.body});case"text":return h.map.call(u,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 h.map.call(u,function(t){return t.body})}case"response":return u;default:throw new Error("Unreachable: unhandled observe type "+n.observe+"}")}},t.prototype.delete=function(t,e){return void 0===e&&(e={}),this.request("DELETE",t,e)},t.prototype.get=function(t,e){return void 0===e&&(e={}),this.request("GET",t,e)},t.prototype.head=function(t,e){return void 0===e&&(e={}),this.request("HEAD",t,e)},t.prototype.jsonp=function(t,e){return this.request("JSONP",t,{params:(new b).append(e,"JSONP_CALLBACK"),observe:"body",responseType:"json"})},t.prototype.options=function(t,e){return void 0===e&&(e={}),this.request("OPTIONS",t,e)},t.prototype.patch=function(t,e,n){return void 0===n&&(n={}),this.request("PATCH",t,a(n,e))},t.prototype.post=function(t,e,n){return void 0===n&&(n={}),this.request("POST",t,a(n,e))},t.prototype.put=function(t,e,n){return void 0===n&&(n={}),this.request("PUT",t,a(n,e))},t}(),O=function(){function t(t,e){this.next=t,this.interceptor=e}return t.prototype.handle=function(t){return this.interceptor.intercept(t,this.next)},t}(),D=new u.InjectionToken("HTTP_INTERCEPTORS"),k=function(){function t(){}return t.prototype.intercept=function(t,e){return e.handle(t)},t}(),L=/^\)\]\}',?\n/,A=function(){return function(){}}(),I=function(){function t(){}return t.prototype.build=function(){return new XMLHttpRequest},t}(),P=function(){function t(t){this.xhrFactory=t}return t.prototype.handle=function(t){var e=this;if("JSONP"===t.method)throw new Error("Attempted to construct Jsonp request without JsonpClientModule installed.");return new m.Observable(function(n){var r=e.xhrFactory.build();if(r.open(t.method,t.urlWithParams),t.withCredentials&&(r.withCredentials=!0),t.headers.forEach(function(t,e){return r.setRequestHeader(t,e.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 s=t.serializeBody(),a=null,u=function(){if(null!==a)return a;var e=1223===r.status?204:r.status,n=r.statusText||"OK",i=new v(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 a=new E({headers:i,status:e,statusText:n,url:o})},l=function(){var e=u(),i=e.headers,o=e.status,s=e.statusText,a=e.url,l=null;204!==o&&(l=void 0===r.response?r.responseText:r.response),0===o&&(o=l?200:0);var c=o>=200&&o<300;if("json"===t.responseType&&"string"==typeof l){var d=l;l=l.replace(L,"");try{l=""!==l?JSON.parse(l):null}catch(t){l=d,c&&(c=!1,l={error:t,text:l})}}c?(n.next(new M({body:l,headers:i,status:o,statusText:s,url:a||void 0})),n.complete()):n.error(new x({error:l,headers:i,status:o,statusText:s,url:a||void 0}))},c=function(t){var e=new x({error:t,status:r.status||0,statusText:r.statusText||"Unknown Error"});n.error(e)},d=!1,h=function(e){d||(n.next(u()),d=!0);var i={type:S.DownloadProgress,loaded:e.loaded};e.lengthComputable&&(i.total=e.total),"text"===t.responseType&&r.responseText&&(i.partialText=r.responseText),n.next(i)},f=function(t){var e={type:S.UploadProgress,loaded:t.loaded};t.lengthComputable&&(e.total=t.total),n.next(e)};return r.addEventListener("load",l),r.addEventListener("error",c),t.reportProgress&&(r.addEventListener("progress",h),null!==s&&r.upload&&r.upload.addEventListener("progress",f)),r.send(s),n.next({type:S.Sent}),function(){r.removeEventListener("error",c),r.removeEventListener("load",l),t.reportProgress&&(r.removeEventListener("progress",h),null!==s&&r.upload&&r.upload.removeEventListener("progress",f)),r.abort()}})},t}(),R=new u.InjectionToken("XSRF_COOKIE_NAME"),N=new u.InjectionToken("XSRF_HEADER_NAME"),j=function(){return function(){}}(),Y=function(){function t(t,e,n){this.doc=t,this.platform=e,this.cookieName=n,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=Object(p["ɵparseCookieValue"])(t,this.cookieName),this.lastCookieString=t),this.lastToken},t}(),F=function(){function t(t,e){this.tokenService=t,this.headerName=e}return t.prototype.intercept=function(t,e){var n=t.url.toLowerCase();if("GET"===t.method||"HEAD"===t.method||n.startsWith("http://")||n.startsWith("https://"))return e.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)})),e.handle(t)},t}(),H=function(){function t(t,e){this.backend=t,this.injector=e,this.chain=null}return t.prototype.handle=function(t){if(null===this.chain){var e=this.injector.get(D,[]);this.chain=e.reduceRight(function(t,e){return new O(t,e)},this.backend)}return this.chain.handle(t)},t}(),B=function(){function t(){}return t.disable=function(){return{ngModule:t,providers:[{provide:F,useClass:k}]}},t.withOptions=function(e){return void 0===e&&(e={}),{ngModule:t,providers:[e.cookieName?{provide:R,useValue:e.cookieName}:[],e.headerName?{provide:N,useValue:e.headerName}:[]]}},t}(),V=function(){return function(){}}()},function(t,e,n){"use strict";(function(t){var n="undefined"!=typeof window&&window,r="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,i=n||void 0!==t&&t||r;e.root=i,function(){if(!i)throw new Error("RxJS could not find any global context (window, self, global)")}()}).call(e,n(120))},function(t,e,n){"use strict";n.d(e,"a",function(){return o});n(6),n(52);var r=n(26),i=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),o=function(t){function e(e,n,r,i,o){var s=t.call(this,n,r,i,"item")||this;return s._ids=-1,s._inputs=[],s._viewLabel=!0,s._name="item",s.labelId=null,s._setName(r),s._hasReorder=!!o,s.id=e.nextId().toString(),s.labelId="lbl-"+s.id,i.orgListen||(i.orgListen=i.listen,i.listen=function(t,e,n){return"click"===e&&t.setAttribute&&t.setAttribute("tappable",""),i.orgListen(t,e,n)}),s}return i(e,t),e.prototype.registerInput=function(t){return this._inputs.push(t),this.id+"-"+ ++this._ids},e.prototype.ngAfterContentInit=function(){if(this._viewLabel&&this._inputs.length){var t=this.getLabelText().trim();this._viewLabel=t.length>0}this._inputs.length>1&&this.setElementClass("item-multiple-inputs",!0)},e.prototype._updateColor=function(t,e){this._setColor(t,e=e||"item")},e.prototype._setName=function(t){var e=t.nativeElement.nodeName.replace("ION-","");"LIST-HEADER"!==e&&"ITEM-DIVIDER"!==e||(this._name=e)},e.prototype.getLabelText=function(){return this._label?this._label.text:""},Object.defineProperty(e.prototype,"contentLabel",{set:function(t){t&&(this._label=t,t.id=this.labelId,t.type&&this.setElementClass("item-label-"+t.type,!0),this._viewLabel=!1)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"viewLabel",{set:function(t){this._label||(this._label=t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_buttons",{set:function(t){t.forEach(function(t){t._size||t.setElementClass("item-button",!0)})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_icons",{set:function(t){t.forEach(function(t){t.setElementClass("item-icon",!0)})},enumerable:!0,configurable:!0}),e}(r.a)},,,function(t,e,n){"use strict";var r=n(0).__extends,i=n(19),o=n(454),s=n(38),a=n(190),u=n(187),l=n(404);e.ReplaySubject=function(t){function e(e,n,r){void 0===e&&(e=Number.POSITIVE_INFINITY),void 0===n&&(n=Number.POSITIVE_INFINITY),t.call(this),this.scheduler=r,this._events=[],this._bufferSize=e<1?1:e,this._windowTime=n<1?1:n}return r(e,t),e.prototype.next=function(e){var n=this._getNow();this._events.push(new c(n,e)),this._trimBufferThenGetEvents(),t.prototype.next.call(this,e)},e.prototype._subscribe=function(t){var e,n=this._trimBufferThenGetEvents(),r=this.scheduler;if(this.closed)throw new u.ObjectUnsubscribedError;this.hasError?e=s.Subscription.EMPTY:this.isStopped?e=s.Subscription.EMPTY:(this.observers.push(t),e=new l.SubjectSubscription(this,t)),r&&t.add(t=new a.ObserveOnSubscriber(t,r));for(var i=n.length,o=0;o<i&&!t.closed;o++)t.next(n[o].value);return this.hasError?t.error(this.thrownError):this.isStopped&&t.complete(),e},e.prototype._getNow=function(){return(this.scheduler||o.queue).now()},e.prototype._trimBufferThenGetEvents=function(){for(var t=this._getNow(),e=this._bufferSize,n=this._windowTime,r=this._events,i=r.length,o=0;o<i&&!(t-r[o].time<n);)o++;return i>e&&(o=Math.max(o,i-e)),o>0&&r.splice(0,o),r},e}(i.Subject);var c=function(){return function(t,e){this.time=t,this.value=e}}()},function(t,e,n){"use strict";n.d(e,"a",function(){return i});var r=n(11),i=function(){function t(t,e,n){this._dur=null,this._es=null,this._rvEs=null,this.hasChildren=!1,this.isPlaying=!1,this.hasCompleted=!1,this.plt=t,this.element(e),this.opts=n}return t.prototype.element=function(t){if(t)if("string"==typeof t){t=this.plt.doc().querySelectorAll(t);for(var e=0;e<t.length;e++)this._addEle(t[e])}else if(t.length)for(e=0;e<t.length;e++)this._addEle(t[e]);else this._addEle(t);return this},t.prototype._addEle=function(t){t.nativeElement&&(t=t.nativeElement),1===t.nodeType&&(this._eL=(this._e=this._e||[]).push(t))},t.prototype.add=function(t){return t.parent=this,this.hasChildren=!0,this._cL=(this._c=this._c||[]).push(t),this},t.prototype.getDuration=function(t){return t&&Object(r.h)(t.duration)?t.duration:null!==this._dur?this._dur:this.parent?this.parent.getDuration():0},t.prototype.isRoot=function(){return!this.parent},t.prototype.duration=function(t){return this._dur=t,this},t.prototype.getEasing=function(){return this._rv&&this._rvEs?this._rvEs:null!==this._es?this._es:this.parent&&this.parent.getEasing()||null},t.prototype.easing=function(t){return this._es=t,this},t.prototype.easingReverse=function(t){return this._rvEs=t,this},t.prototype.from=function(t,e){return this._addProp("from",t,e),this},t.prototype.to=function(t,e,n){var r=this._addProp("to",t,e);return n&&this.afterClearStyles([r.trans?this.plt.Css.transform:t]),this},t.prototype.fromTo=function(t,e,n,r){return this.from(t,e).to(t,n,r)},t.prototype._getProp=function(t){return this._fx?this._fx.find(function(e){return e.name===t}):(this._fx=[],null)},t.prototype._addProp=function(t,e,n){var r=this._getProp(e);if(!r){var i=1===o[e];this._fx.push(r={name:e,trans:i,wc:i?this.plt.Css.transform:e})}var a={val:n,num:null,unit:""};if(r[t]=a,"string"==typeof n&&n.indexOf(" ")<0){var u=n.match(s),l=parseFloat(u[1]);isNaN(l)||(a.num=l),a.unit=u[0]!==u[2]?u[2]:""}else"number"==typeof n&&(a.num=n);return r},t.prototype.beforeAddClass=function(t){return(this._bfAdd=this._bfAdd||[]).push(t),this},t.prototype.beforeRemoveClass=function(t){return(this._bfRm=this._bfRm||[]).push(t),this},t.prototype.beforeStyles=function(t){return this._bfSty=t,this},t.prototype.beforeClearStyles=function(t){this._bfSty=this._bfSty||{};for(var e=0;e<t.length;e++)this._bfSty[t[e]]="";return this},t.prototype.beforeAddRead=function(t){return(this._rdFn=this._rdFn||[]).push(t),this},t.prototype.beforeAddWrite=function(t){return(this._wrFn=this._wrFn||[]).push(t),this},t.prototype.afterAddClass=function(t){return(this._afAdd=this._afAdd||[]).push(t),this},t.prototype.afterRemoveClass=function(t){return(this._afRm=this._afRm||[]).push(t),this},t.prototype.afterStyles=function(t){return this._afSty=t,this},t.prototype.afterClearStyles=function(t){this._afSty=this._afSty||{};for(var e=0;e<t.length;e++)this._afSty[t[e]]="";return this},t.prototype.play=function(t){var e=this;this.plt&&(this._isAsync=this._hasDuration(t),this._clearAsync(),this._playInit(t),this.plt.raf(function(){e.plt.raf(e._playDomInspect.bind(e,t))}))},t.prototype.syncPlay=function(){if(this.plt){var t={duration:0};this._isAsync=!1,this._clearAsync(),this._playInit(t),this._playDomInspect(t)}},t.prototype._playInit=function(t){this._twn=!1,this.isPlaying=!0,this.hasCompleted=!1,this._hasDur=this.getDuration(t)>a;for(var e=this._c,n=0;n<this._cL;n++)e[n]._playInit(t);this._hasDur&&(this._progress(0),this._willChg(!0))},t.prototype._playDomInspect=function(t){this._beforeAnimation();var e=this.getDuration(t);this._isAsync&&this._asyncEnd(e,!0),this._playProgress(t),this._isAsync&&this.plt&&this.plt.raf(this._playToStep.bind(this,1))},t.prototype._playProgress=function(t){for(var e=this._c,n=0;n<this._cL;n++)e[n]._playProgress(t);this._hasDur?this._setTrans(this.getDuration(t),!1):(this._progress(1),this._setAfterStyles(),this._didFinish(!0))},t.prototype._playToStep=function(t){for(var e=this._c,n=0;n<this._cL;n++)e[n]._playToStep(t);this._hasDur&&this._progress(t)},t.prototype._asyncEnd=function(t,e){var n=this;n._unrgTrns=this.plt.transitionEnd(n._transEl(),function(){n._clearAsync(),n._playEnd(),n._didFinishAll(e,!0,!1)},!1),n._tm=n.plt.timeout(function(){n._tm=void 0,n._clearAsync(),n._playEnd(e?1:0),n._didFinishAll(e,!0,!1)},t+u)},t.prototype._playEnd=function(t){for(var e=this._c,n=0;n<this._cL;n++)e[n]._playEnd(t);this._hasDur&&(Object(r.h)(t)&&(this._setTrans(0,!0),this._progress(t)),this._setAfterStyles(),this._willChg(!1))},t.prototype._hasDuration=function(t){if(this.getDuration(t)>a)return!0;for(var e=this._c,n=0;n<this._cL;n++)if(e[n]._hasDuration(t))return!0;return!1},t.prototype._hasDomReads=function(){if(this._rdFn&&this._rdFn.length)return!0;for(var t=this._c,e=0;e<this._cL;e++)if(t[e]._hasDomReads())return!0;return!1},t.prototype.stop=function(t){void 0===t&&(t=1),this._clearAsync(),this._hasDur=!0,this._playEnd(t)},t.prototype._clearAsync=function(){this._unrgTrns&&this._unrgTrns(),this._tm&&clearTimeout(this._tm),this._tm=this._unrgTrns=void 0},t.prototype._progress=function(t){var e,n=this._fx,r=this._eL;if(n&&r){this._rv&&(t=-1*t+1);var i,o,s="",a=this._e;for(i=0;i<n.length;i++){var u=n[i];if(u.from&&u.to){var l=u.from.num,c=u.to.num,d=l!==c;if(d&&(this._twn=!0),0===t)e=u.from.val;else if(1===t)e=u.to.val;else if(d){var h=(c-l)*t+l,f=u.to.unit;"px"===f&&(h=Math.round(h)),e=h+f}if(null!==e){var p=u.name;if(u.trans)s+=p+"("+e+") ";else for(o=0;o<r;o++)a[o].style[p]=e}}}if(s.length){(!this._rv&&1!==t||this._rv&&0!==t)&&(s+="translateZ(0px)");var m=this.plt.Css.transform;for(i=0;i<a.length;i++)a[i].style[m]=s}}},t.prototype._setTrans=function(t,e){if(this._fx)for(var n,r=this._e,i=e?"linear":this.getEasing(),o=t+"ms",s=this.plt.Css,a=s.transition,u=s.transitionDuration,l=s.transitionTimingFn,c=0;c<this._eL;c++)n=r[c].style,t>0?(n[a]="",n[u]=o,i&&(n[l]=i)):n[a]="none"},t.prototype._beforeAnimation=function(){this._fireBeforeReadFunc(),this._fireBeforeWriteFunc(),this._setBeforeStyles()},t.prototype._setBeforeStyles=function(){var t,e,n=this._c;for(t=0;t<this._cL;t++)n[t]._setBeforeStyles();if(!this._rv){var r,i,o,s=this._bfAdd,a=this._bfRm;for(t=0;t<this._eL;t++){if(r=this._e[t],i=r.classList,s)for(e=0;e<s.length;e++)i.add(s[e]);if(a)for(e=0;e<a.length;e++)i.remove(a[e]);if(this._bfSty)for(o in this._bfSty)r.style[o]=this._bfSty[o]}}},t.prototype._fireBeforeReadFunc=function(){for(var t=this._c,e=0;e<this._cL;e++)t[e]._fireBeforeReadFunc();var n=this._rdFn;if(n)for(e=0;e<n.length;e++)n[e]()},t.prototype._fireBeforeWriteFunc=function(){for(var t=this._c,e=0;e<this._cL;e++)t[e]._fireBeforeWriteFunc();var n=this._wrFn;if(this._wrFn)for(e=0;e<n.length;e++)n[e]()},t.prototype._setAfterStyles=function(){var t,e,n,r,i=this._e;for(t=0;t<this._eL;t++)if(n=i[t],r=n.classList,n.style[this.plt.Css.transitionDuration]=n.style[this.plt.Css.transitionTimingFn]="",this._rv){if(this._bfAdd)for(e=0;e<this._bfAdd.length;e++)r.remove(this._bfAdd[e]);if(this._bfRm)for(e=0;e<this._bfRm.length;e++)r.add(this._bfRm[e]);if(this._bfSty)for(var o in this._bfSty)n.style[o]=""}else{if(this._afAdd)for(e=0;e<this._afAdd.length;e++)r.add(this._afAdd[e]);if(this._afRm)for(e=0;e<this._afRm.length;e++)r.remove(this._afRm[e]);if(this._afSty)for(var o in this._afSty)n.style[o]=this._afSty[o]}},t.prototype._willChg=function(t){var e,n,r=this._fx;if(t&&r){e=[];for(var i=0;i<r.length;i++){var o=r[i].wc;"webkitTransform"===o?e.push("transform","-webkit-transform"):e.push(o)}n=e.join(",")}else n="";for(i=0;i<this._eL;i++)this._e[i].style.willChange=n},t.prototype.progressStart=function(){this._clearAsync(),this._beforeAnimation(),this._progressStart()},t.prototype._progressStart=function(){for(var t=this._c,e=0;e<this._cL;e++)t[e]._progressStart();this._setTrans(0,!0),this._willChg(!0)},t.prototype.progressStep=function(t){t=Math.min(1,Math.max(0,t));for(var e=this._c,n=0;n<this._cL;n++)e[n].progressStep(t);this._rv&&(t=-1*t+1),this._progress(t)},t.prototype.progressEnd=function(t,e,n){void 0===n&&(n=-1),this._rv&&(e=-1*e+1);var r=t?1:0;Math.abs(e-r)<.05?n=0:n<0&&(n=this._dur),this._isAsync=n>30,this._progressEnd(t,r,n,this._isAsync),this._isAsync&&(this._asyncEnd(n,t),this.plt&&this.plt.raf(this._playToStep.bind(this,r)))},t.prototype._progressEnd=function(t,e,n,r){for(var i=this._c,o=0;o<this._cL;o++)i[o]._progressEnd(t,e,n,r);r?(this.isPlaying=!0,this.hasCompleted=!1,this._hasDur=!0,this._willChg(!0),this._setTrans(n,!1)):(this._progress(e),this._willChg(!1),this._setAfterStyles(),this._didFinish(t))},t.prototype.onFinish=function(t,e,n){return void 0===e&&(e=!1),void 0===n&&(n=!1),n&&(this._fFn=this._fOneFn=void 0),e?(this._fOneFn=this._fOneFn||[],this._fOneFn.push(t)):(this._fFn=this._fFn||[],this._fFn.push(t)),this},t.prototype._didFinishAll=function(t,e,n){for(var r=this._c,i=0;i<this._cL;i++)r[i]._didFinishAll(t,e,n);(e&&this._isAsync||n&&!this._isAsync)&&this._didFinish(t)},t.prototype._didFinish=function(t){if(this.isPlaying=!1,this.hasCompleted=t,this._fFn)for(var e=0;e<this._fFn.length;e++)this._fFn[e](this);if(this._fOneFn){for(e=0;e<this._fOneFn.length;e++)this._fOneFn[e](this);this._fOneFn.length=0}},t.prototype.reverse=function(t){void 0===t&&(t=!0);for(var e=this._c,n=0;n<this._cL;n++)e[n].reverse(t);return this._rv=t,this},t.prototype.destroy=function(){for(var t=this._c,e=0;e<this._cL;e++)t[e].destroy();this._clearAsync(),this.parent=this.plt=this._e=this._rdFn=this._wrFn=null,this._c&&(this._c.length=this._cL=0),this._fFn&&(this._fFn.length=0),this._fOneFn&&(this._fOneFn.length=0)},t.prototype._transEl=function(){for(var t,e=0;e<this._cL;e++)if(t=this._c[e]._transEl())return t;return this._twn&&this._hasDur&&this._eL?this._e[0]:null},t}(),o={translateX:1,translateY:1,translateZ:1,scale:1,scaleX:1,scaleY:1,scaleZ:1,rotate:1,rotateX:1,rotateY:1,rotateZ:1,skewX:1,skewY:1,perspective:1},s=/(^-?\d*\.?\d*)(.*)/,a=32,u=400},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r;!function(t){t[t.OTHER=0]="OTHER",t[t.PURE_BARCODE=1]="PURE_BARCODE",t[t.POSSIBLE_FORMATS=2]="POSSIBLE_FORMATS",t[t.TRY_HARDER=3]="TRY_HARDER",t[t.CHARACTER_SET=4]="CHARACTER_SET",t[t.ALLOWED_LENGTHS=5]="ALLOWED_LENGTHS",t[t.ASSUME_CODE_39_CHECK_DIGIT=6]="ASSUME_CODE_39_CHECK_DIGIT",t[t.ASSUME_GS1=7]="ASSUME_GS1",t[t.RETURN_CODABAR_START_END=8]="RETURN_CODABAR_START_END",t[t.NEED_RESULT_POINT_CALLBACK=9]="NEED_RESULT_POINT_CALLBACK",t[t.ALLOWED_EAN_EXTENSIONS=10]="ALLOWED_EAN_EXTENSIONS"}(r||(r={})),e.default=r},function(t,e,n){"use strict";n.d(e,"a",function(){return r});var r=function(){return function(){}}()},function(t,e,n){"use strict";function r(t,e){return void 0===e&&(e=null),{type:2,steps:t,options:e}}function i(t){return{type:6,styles:t,offset:null}}function o(t){Promise.resolve(null).then(t)}n.d(e,"b",function(){return s}),n.d(e,"c",function(){return a}),n.d(e,"a",function(){return u}),n.d(e,"e",function(){return r}),n.d(e,"f",function(){return i}),n.d(e,"d",function(){return l}),n.d(e,"g",function(){return c}),n.d(e,"h",function(){return d});var s=function(){return function(){}}(),a=function(){return function(){}}(),u="*",l=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;o(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 e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(function(t){return t()}),e.length=0},t}(),c=function(){function t(t){var e=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 n=0,r=0,i=0,s=this.players.length;0==s?o(function(){return e._onFinish()}):this.players.forEach(function(t){t.onDone(function(){++n==s&&e._onFinish()}),t.onDestroy(function(){++r==s&&e._onDestroy()}),t.onStart(function(){++i==s&&e._onStart()})}),this.totalTime=this.players.reduce(function(t,e){return Math.max(t,e.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 e=t*this.totalTime;this.players.forEach(function(t){var n=t.totalTime?Math.min(1,e/t.totalTime):1;t.setPosition(n)})},t.prototype.getPosition=function(){var t=0;return this.players.forEach(function(e){var n=e.getPosition();t=Math.min(n,t)}),t},t.prototype.beforeDestroy=function(){this.players.forEach(function(t){t.beforeDestroy&&t.beforeDestroy()})},t.prototype.triggerCallback=function(t){var e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(function(t){return t()}),e.length=0},t}(),d="!"},function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var i=n(69);e.default=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e}(i.default)},,function(t,e,n){"use strict";function r(t,e){return t.top<e.top?-1:t.top>e.top?1:0}function i(t){return t.indexOf("px")>0?parseInt(t,10):0}function o(t){return t>0?t+"px":""}n.d(e,"a",function(){return f});var s=n(1),a=(n(6),n(30),n(26)),u=n(99),l=n(11),c=(n(77),n(63),n(16),n(643)),d=(n(18),this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}()),h=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return d(e,t),e.prototype.subscribe=function(e,n,r){return this.onSubscribe(),t.prototype.subscribe.call(this,e,n,r)},e}(s.EventEmitter),f=function(t){function e(e,n,r,i,o,s,a,l,d,f){var p=t.call(this,e,i,o,"content")||this;p._plt=n,p._dom=r,p._app=s,p._keyboard=a,p._zone=l,p._scrollPadding=0,p._inputPolling=!1,p._hasRefresher=!1,p._imgs=[],p._scrollDownOnLoad=!1,p.ionScrollStart=new h,p.ionScroll=new h,p.ionScrollEnd=new h;var m=function(){return p._scroll.enableEvents()};for(p.ionScroll.onSubscribe=m,p.ionScrollStart.onSubscribe=m,p.ionScrollEnd.onSubscribe=m,p.statusbarPadding=e.getBoolean("statusbarPadding",!1),p._imgReqBfr=e.getNumber("imgRequestBuffer",1400),p._imgRndBfr=e.getNumber("imgRenderBuffer",400),p._imgVelMax=e.getNumber("imgVelocityMax",3),p._scroll=new c.a(s,n,r);f;){if(Object(u.m)(f)){p._tabs=f;break}f=f.parent}return d?(p._viewCtrl=d,d._setIONContent(p),d._setIONContentRef(i),p._viewCtrlReadSub=d.readReady.subscribe(function(){p._viewCtrlReadSub.unsubscribe(),p._readDimensions()}),p._viewCtrlWriteSub=d.writeReady.subscribe(function(){p._viewCtrlWriteSub.unsubscribe(),p._writeDimensions()})):(r.read(p._readDimensions.bind(p)),r.write(p._writeDimensions.bind(p))),p}return d(e,t),Object.defineProperty(e.prototype,"contentHeight",{get:function(){return this._scroll.ev.contentHeight},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"contentWidth",{get:function(){return this._scroll.ev.contentWidth},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"scrollHeight",{get:function(){return this._scroll.ev.scrollHeight},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"scrollWidth",{get:function(){return this._scroll.ev.scrollWidth},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"scrollTop",{get:function(){return this._scroll.ev.scrollTop},set:function(t){this._scroll.setTop(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"scrollLeft",{get:function(){return this._scroll.ev.scrollLeft},set:function(t){this._scroll.setLeft(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isScrolling",{get:function(){return this._scroll.isScrolling},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"directionY",{get:function(){return this._scroll.ev.directionY},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"directionX",{get:function(){return this._scroll.ev.directionX},enumerable:!0,configurable:!0}),e.prototype.ngAfterViewInit=function(){var t=this,e=this._scroll;e.ev.fixedElement=this.getFixedElement(),e.ev.scrollElement=this.getScrollElement(),e.onScrollStart=function(e){t.ionScrollStart.emit(e)},e.onScroll=function(e){t.ionScroll.emit(e),t.imgsUpdate()},e.onScrollEnd=function(e){t.ionScrollEnd.emit(e),t.imgsUpdate()}},e.prototype.enableJsScroll=function(){this._scroll.enableJsScroll(this._cTop,this._cBottom)},e.prototype.ngOnDestroy=function(){this._scLsn&&this._scLsn(),this._viewCtrlReadSub&&this._viewCtrlReadSub.unsubscribe(),this._viewCtrlWriteSub&&this._viewCtrlWriteSub.unsubscribe(),this._viewCtrlReadSub=this._viewCtrlWriteSub=null,this._scroll&&this._scroll.destroy(),this._footerEle=this._scLsn=this._scroll=null},e.prototype.getScrollElement=function(){return this._scrollContent.nativeElement},e.prototype.getFixedElement=function(){return this._fixedContent.nativeElement},e.prototype.onScrollElementTransitionEnd=function(t){this._plt.transitionEnd(this.getScrollElement(),t)},e.prototype.scrollTo=function(t,e,n,r){return void 0===n&&(n=300),this._scroll.scrollTo(t,e,n,r)},e.prototype.scrollToTop=function(t){return void 0===t&&(t=300),this._scroll.scrollToTop(t)},e.prototype.scrollToBottom=function(t){return void 0===t&&(t=300),this._scroll.scrollToBottom(t)},Object.defineProperty(e.prototype,"fullscreen",{get:function(){return this._fullscreen},set:function(t){this._fullscreen=Object(l.o)(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"scrollDownOnLoad",{get:function(){return this._scrollDownOnLoad},set:function(t){this._scrollDownOnLoad=Object(l.o)(t)},enumerable:!0,configurable:!0}),e.prototype.addImg=function(t){this._imgs.push(t)},e.prototype.removeImg=function(t){Object(l.q)(this._imgs,t)},e.prototype.setScrollElementStyle=function(t,e){var n=this.getScrollElement();n&&this._dom.write(function(){n.style[t]=e})},e.prototype.getContentDimensions=function(){var t=this.getScrollElement(),e=t.parentElement;return{contentHeight:e.offsetHeight-this._cTop-this._cBottom,contentTop:this._cTop,contentBottom:this._cBottom,contentWidth:e.offsetWidth,contentLeft:e.offsetLeft,scrollHeight:t.scrollHeight,scrollTop:t.scrollTop,scrollWidth:t.scrollWidth,scrollLeft:t.scrollLeft}},e.prototype.addScrollPadding=function(t){if(0===t&&(this._inputPolling=!1,this._scrollPadding=-1),t>this._scrollPadding){this._scrollPadding=t;var e=this.getScrollElement();e&&this._dom.write(function(){e.style.paddingBottom=t>0?t+"px":""})}},e.prototype.clearScrollPaddingFocusOut=function(){var t=this;this._inputPolling||(this._inputPolling=!0,this._keyboard.onClose(function(){t.addScrollPadding(0)},200,3e3))},e.prototype.resize=function(){this._dom.read(this._readDimensions.bind(this)),this._dom.write(this._writeDimensions.bind(this))},e.prototype._readDimensions=function(){var t,e=this._pTop,n=this._pRight,r=this._pBottom,o=this._pLeft,s=this._hdrHeight,a=this._ftrHeight,u=this._tabsPlacement,l=0;if(this._pTop=0,this._pRight=0,this._pBottom=0,this._pLeft=0,this._hdrHeight=0,this._ftrHeight=0,this._tabsPlacement=null,this._tTop=0,this._fTop=0,this._fBottom=0,this._scroll){t=this._scroll.ev;var c=this.getNativeElement();if(c){for(var d,h,f=c.parentElement,p=f.children,m=p.length-1;m>=0;m--)"ION-CONTENT"===(h=(c=p[m]).tagName)?(t.contentElement=c,this._fullscreen&&(d=getComputedStyle(c),this._pTop=i(d.paddingTop),this._pBottom=i(d.paddingBottom),this._pRight=i(d.paddingRight),this._pLeft=i(d.paddingLeft))):"ION-HEADER"===h?(t.headerElement=c,this._hdrHeight=c.clientHeight):"ION-FOOTER"===h&&(t.footerElement=c,this._ftrHeight=c.clientHeight,this._footerEle=c);c=f;for(;c&&"ION-MODAL"!==c.tagName&&!c.classList.contains("tab-subpage");)"ION-TABS"===c.tagName&&(this._tabbarHeight=c.firstElementChild.clientHeight,null===this._tabsPlacement&&(this._tabsPlacement=c.getAttribute("tabsplacement"))),c=c.parentElement;this._tabs&&"top"===this._tabsPlacement&&(this._tTop=this._hdrHeight,l=this._tabs._top),this._cTop=this._hdrHeight,this._cBottom=this._ftrHeight,"top"===this._tabsPlacement?this._cTop+=this._tabbarHeight:"bottom"===this._tabsPlacement&&(this._cBottom+=this._tabbarHeight),this._hasRefresher&&(this._cTop-=1),this._fTop=this._cTop,this._fBottom=this._cBottom,this._fullscreen&&(this._cTop+=this._pTop,this._cBottom+=this._pBottom);var _=this.getContentDimensions();t.scrollHeight=_.scrollHeight,t.scrollWidth=_.scrollWidth,t.contentHeight=_.contentHeight,t.contentWidth=_.contentWidth,t.contentTop=_.contentTop,t.contentBottom=_.contentBottom,this._dirty=e!==this._pTop||r!==this._pBottom||o!==this._pLeft||n!==this._pRight||s!==this._hdrHeight||a!==this._ftrHeight||u!==this._tabsPlacement||l!==this._tTop||this._cTop!==this.contentTop||this._cBottom!==this.contentBottom,this._scroll.init(this.getScrollElement(),this._cTop,this._cBottom),this.imgsUpdate()}}},e.prototype._writeDimensions=function(){if(this._dirty){var t=this.getScrollElement();if(t){var e=this.getFixedElement();if(e){if("bottom"===this._tabsPlacement&&this._cBottom>0&&this._footerEle){this._footerEle.style.bottom=o(this._cBottom-this._ftrHeight)}var n="marginTop",r="marginBottom",i=this._fTop,s=this._fBottom;this._fullscreen&&(n="paddingTop",r="paddingBottom"),this._cTop!==this.contentTop&&(t.style[n]=o(this._cTop),e.style.marginTop=o(i),this.contentTop=this._cTop),this._cBottom!==this.contentBottom&&(t.style[r]=o(this._cBottom),e.style.marginBottom=o(s),this.contentBottom=this._cBottom),null!==this._tabsPlacement&&this._tabs&&("top"===this._tabsPlacement?this._tabs.setTabbarPosition(this._tTop,-1):this._tabs.setTabbarPosition(-1,0)),this._scrollDownOnLoad&&(this.scrollToBottom(0),this._scrollDownOnLoad=!1)}}}},e.prototype.imgsUpdate=function(){this._scroll.initialized&&this._imgs.length&&this.isImgsUpdatable()&&function(t,e,n,i,o,s){for(var a,u=e+n,l=[],c=[],d=0,h=t.length;d<h;d++){if(a=t[d],"up"===i){if(a.top<u&&a.bottom>e-s){a.canRequest=a.canRender=!0,l.push(a);continue}if(a.bottom<=e&&a.bottom>e-o){a.canRequest=!0,a.canRender=!1,c.push(a);continue}if(a.top>=u&&a.top<u+s){a.canRequest=a.canRender=!1;continue}}else{if(a.bottom>e&&a.top<u+s){a.canRequest=a.canRender=!0,l.push(a);continue}if(a.top>=u&&a.top<u+o){a.canRequest=!0,a.canRender=!1,c.push(a);continue}if(a.bottom<=e&&a.bottom>e-s){a.canRequest=a.canRender=!1;continue}}a.canRequest=a.canRender=!1,a.reset()}l.sort(r).forEach(function(t){return t.update()}),"up"===i?c.sort(r).reverse().forEach(function(t){return t.update()}):c.sort(r).forEach(function(t){return t.update()})}(this._imgs,this.scrollTop,this.contentHeight,this.directionY,this._imgReqBfr,this._imgRndBfr)},e.prototype.isImgsUpdatable=function(){return Math.abs(this._scroll.ev.velocityY)<this._imgVelMax},e}(a.a)},,function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var i=n(1222);e.default=function(t){function e(e){void 0===e&&(e=void 0);var n=t.call(this,e)||this;return n.message=e,n}return r(e,t),e}(i.CustomError)},function(t,e,n){"use strict";n.d(e,"a",function(){return a});var r=n(0),i=n(73),o=n(2),s=function(){function t(t,e,n){try{n&&"string"!=typeof n&&(n=Object.keys(n).map(function(t){return t+"="+n[t]}).join(",")),this._objectInstance=cordova.InAppBrowser.open(t,e,n)}catch(n){window.open(t,e),console.warn("Native: InAppBrowser is not installed or you are running on a browser. Falling back to window.open.")}}return t.prototype.show=function(){},t.prototype.close=function(){},t.prototype.hide=function(){},t.prototype.executeScript=function(t){},t.prototype.insertCSS=function(t){},t.prototype.on=function(t){var e=this;return new o.Observable(function(n){return e._objectInstance.addEventListener(t,n.next.bind(n)),function(){return e._objectInstance.removeEventListener(t,n.next.bind(n))}})},Object(r.__decorate)([Object(i.c)({sync:!0}),Object(r.__metadata)("design:type",Function),Object(r.__metadata)("design:paramtypes",[]),Object(r.__metadata)("design:returntype",void 0)],t.prototype,"show",null),Object(r.__decorate)([Object(i.c)({sync:!0}),Object(r.__metadata)("design:type",Function),Object(r.__metadata)("design:paramtypes",[]),Object(r.__metadata)("design:returntype",void 0)],t.prototype,"close",null),Object(r.__decorate)([Object(i.c)({sync:!0}),Object(r.__metadata)("design:type",Function),Object(r.__metadata)("design:paramtypes",[]),Object(r.__metadata)("design:returntype",void 0)],t.prototype,"hide",null),Object(r.__decorate)([Object(i.c)(),Object(r.__metadata)("design:type",Function),Object(r.__metadata)("design:paramtypes",[Object]),Object(r.__metadata)("design:returntype",Promise)],t.prototype,"executeScript",null),Object(r.__decorate)([Object(i.c)(),Object(r.__metadata)("design:type",Function),Object(r.__metadata)("design:paramtypes",[Object]),Object(r.__metadata)("design:returntype",Promise)],t.prototype,"insertCSS",null),Object(r.__decorate)([Object(i.e)(),Object(r.__metadata)("design:type",Function),Object(r.__metadata)("design:paramtypes",[String]),Object(r.__metadata)("design:returntype",o.Observable)],t.prototype,"on",null),t}(),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r.__extends)(e,t),e.prototype.create=function(t,e,n){return new s(t,e,n)},e=Object(r.__decorate)([Object(i.g)({pluginName:"InAppBrowser",plugin:"cordova-plugin-inappbrowser",pluginRef:"cordova.InAppBrowser",repo:"https://github.com/apache/cordova-plugin-inappbrowser",platforms:["AmazonFire OS","Android","Browser","iOS","macOS","Windows"]})],e)}(i.f)},,function(t,e,n){"use strict";e.isScheduler=function(t){return t&&"function"==typeof t.schedule}},function(t,e,n){"use strict";function r(t,e,n){var r,i,o;return"string"==typeof t?r=t:(r=t.constructor.getPluginRef(),n=t.constructor.getPluginName(),o=t.constructor.getPluginInstallName()),!(!(i=S(r))||e&&void 0===i[e])||(window.cordova?(T(n,o,e),x):(E(n,e),M))}function i(t,e){return t._objectInstance&&(!e||void 0!==t._objectInstance[e])}function o(t,e,n,r){if(void 0===e&&(e={}),e.sync)return t;if("reverse"===e.callbackOrder)t.unshift(r),t.unshift(n);else if("node"===e.callbackStyle)t.push(function(t,e){t?r(t):n(e)});else if("object"===e.callbackStyle&&e.successName&&e.errorName){var i={};i[e.successName]=n,i[e.errorName]=r,t.push(i)}else if(void 0!==e.successIndex||void 0!==e.errorIndex){var o=function(){e.successIndex>t.length?t[e.successIndex]=n:t.splice(e.successIndex,0,n)},s=function(){e.errorIndex>t.length?t[e.errorIndex]=r:t.splice(e.errorIndex,0,r)};e.successIndex>e.errorIndex?(s(),o()):(o(),s())}else t.push(n),t.push(r);return t}function s(t,e,n,i,s,a){void 0===i&&(i={}),n=o(n,i,s,a);var u=r(t,e);if(!0===u){var l=S(t.constructor.getPluginRef());return l[e].apply(l,n)}return u}function a(t,e,n,r,s,a){if(void 0===r&&(r={}),n=o(n,r,s,a),i(t,e))return t._objectInstance[e].apply(t._objectInstance,n)}function u(t,e){return void 0===e&&(e=window),y.Observable.fromEvent(e,t)}function l(t,e,n,i){return void 0===i&&(i={}),new y.Observable(function(n){var i=r(t,null,t.constructor.getPluginName());if(!0===i){var o=S(t.constructor.getPluginRef());return o[e]=n.next.bind(n),function(){return o[e]=function(){}}}n.error(i),n.complete()})}function c(t,e,n){return void 0===n&&(n={}),function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];if(n.sync)return a(t,e,r,n);if(n.observable)return new y.Observable(function(i){var o;return(o=n.destruct?a(t,e,r,n,function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return i.next(t)},function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return i.error(t)}):a(t,e,r,n,i.next.bind(i),i.error.bind(i)))&&o.error&&(i.error(o.error),i.complete()),function(){try{return n.clearWithArgs?a(t,n.clearFunction,r,n,i.next.bind(i),i.error.bind(i)):a(t,n.clearFunction,[])}catch(n){console.warn("Unable to clear the previous observable watch for",t.constructor.getPluginName(),e),console.warn(n)}}});if(n.otherPromise)return w(function(i,o){var s;(s=n.destruct?a(t,e,r,n,function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return i(t)},function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return o(t)}):a(t,e,r,n,i,o))&&s.then?s.then(i,o):o()});var o,s,u=w(function(i,u){o=n.destruct?a(t,e,r,n,function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return i(t)},function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return u(t)}):a(t,e,r,n,i,u),s=u});return o&&o.error&&(u.catch(function(){}),"function"==typeof s&&s(o.error)),u}}function d(t){return void 0===t&&(t={}),function(e,n,r){return{value:function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return i(this)?r.value.apply(this,e):t.sync?void 0:t.observable?new y.Observable(function(){}):w(function(){})},enumerable:!0}}}function h(t){return void 0===t&&(t={}),function(e,n,i){return{value:function(){for(var n=[],o=0;o<arguments.length;o++)n[o]=arguments[o];var s=r(e);return!0===s?i.value.apply(this,n):t.sync?null:t.observable?y.Observable.throw(new Error(s&&s.error)):Promise.reject(s&&s.error)},enumerable:!0}}}function f(t){return function(e){for(var n in t)e[n]=t[n];return e.installed=function(e){return!!S(t.pluginRef)},e.getPlugin=function(){return S(t.pluginRef)},e.checkInstall=function(){return!0===r(e)},e.getPluginName=function(){return t.pluginName},e.getPluginRef=function(){return t.pluginRef},e.getPluginInstallName=function(){return t.plugin},e.getPluginRepo=function(){return t.repo},e.getSupportedPlatforms=function(){return t.platforms},e}}function p(t){return void 0===t&&(t={}),function(e,n,r){return{value:function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return C(this,n,t).apply(this,e)},enumerable:!0}}}function m(t){return void 0===t&&(t={}),function(e,n){return{value:function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return c(this,n,t).apply(this,e)},enumerable:!0}}}function _(t,e){Object.defineProperty(t,e,{enumerable:!0,get:function(){return!0===r(t,e)?S(t.constructor.getPluginRef())[e]:null},set:function(n){!0===r(t,e)&&(S(t.constructor.getPluginRef())[e]=n)}})}function g(t,e){Object.defineProperty(t,e,{enumerable:!0,get:function(){return this._objectInstance[e]},set:function(t){this._objectInstance[e]=t}})}function v(t){return void 0===t&&(t={}),function(t,e,n){return{value:function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return l(this,e)},enumerable:!0}}}n(276);var y=n(2),b=function(t,e){for(var n=e.split("."),r=t,i=0;i<n.length;i++){if(!r)return null;r=r[n[i]]}return r},w=function(t){return function(){if(window.Promise)return new Promise(function(e,n){t(e,n)});console.error("No Promise support or polyfill found. To enable Ionic Native support, please add the es6-promise polyfill before this script, or run with a library like Angular or on a recent browser.")}()},S=function(t){return b(window,t)},T=function(t,e,n){n?console.warn("Native: tried calling "+t+"."+n+", but the "+t+" plugin is not installed."):console.warn("'Native: tried accessing the "+t+" plugin but it's not installed."),e&&console.warn("Install the "+t+"  plugin: 'ionic cordova plugin add "+e+"'")},E=function(t,e){e?console.warn("Native: tried calling "+t+"."+e+", but Cordova is not available. Make sure to include cordova.js or run in a device/simulator"):console.warn("Native: tried accessing the "+t+" plugin but Cordova is not available. Make sure to include cordova.js or run in a device/simulator")};!function(){var t=Date.now(),e=!1;document.addEventListener("deviceready",function(){console.log("Ionic Native: deviceready event fired after "+(Date.now()-t)+" ms"),e=!0}),setTimeout(function(){!e&&window.cordova&&console.warn("Ionic Native: deviceready did not fire within 5000ms. This can happen when plugins are in an inconsistent state. Try removing plugins from plugins/ and reinstalling them.")},5e3)}();var M={error:"cordova_not_available"},x={error:"plugin_not_installed"},C=function(t,e,n){return void 0===n&&(n={}),function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];return n.sync?s(t,e,r,n):n.observable?function(t,e,n,r){return void 0===r&&(r={}),new y.Observable(function(i){var o;return(o=r.destruct?s(t,e,n,r,function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return i.next(t)},function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return i.error(t)}):s(t,e,n,r,i.next.bind(i),i.error.bind(i)))&&o.error&&(i.error(o.error),i.complete()),function(){try{if(r.clearFunction)return r.clearWithArgs?s(t,r.clearFunction,n,r,i.next.bind(i),i.error.bind(i)):s(t,r.clearFunction,[])}catch(n){console.warn("Unable to clear the previous observable watch for",t.constructor.getPluginName(),e),console.warn(n)}}})}(t,e,r,n):n.eventObservable&&n.event?u(n.event,n.element):n.otherPromise?function(t,e,n,r){return void 0===r&&(r={}),w(function(i,o){var a=s(t,e,n,r);a?a.error?o(a.error):a.then&&a.then(i).catch(o):o({error:"unexpected_error"})})}(t,e,r,n):function(t,e,n,r){void 0===r&&(r={});var i,o,a=w(function(a,u){i=r.destruct?s(t,e,n,r,function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return a(t)},function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return u(t)}):s(t,e,n,r,a,u),o=u});return i&&i.error&&(a.catch(function(){}),"function"==typeof o&&o(i.error)),a}(t,e,r,n)}},O=(n(496),function(){function t(){}return t.installed=function(){return!1},t.getPlugin=function(){},t.getPluginName=function(){},t.getPluginRef=function(){},t.getPluginInstallName=function(){},t.getSupportedPlatforms=function(){},t}());n.d(e,!1,function(){return M}),n.d(e,!1,function(){return x}),n.d(e,!1,function(){return r}),n.d(e,!1,function(){return i}),n.d(e,!1,function(){return u}),n.d(e,!1,function(){return l}),n.d(e,!1,function(){return C}),n.d(e,!1,function(){return c}),n.d(e,"e",function(){return d}),n.d(e,"b",function(){return h}),n.d(e,"g",function(){return f}),n.d(e,"a",function(){return p}),n.d(e,"c",function(){return m}),n.d(e,"d",function(){return _}),n.d(e,!1,function(){return g}),n.d(e,!1,function(){return v}),n.d(e,!1,function(){return b}),n.d(e,!1,function(){return w}),n.d(e,!1,function(){return S}),n.d(e,!1,function(){return T}),n.d(e,!1,function(){return E}),n.d(e,"f",function(){return O})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default=function(){function t(){}return t.arraycopy=function(t,e,n,r,i){for(;i--;)n[r++]=t[e++]},t.currentTimeMillis=function(){return Date.now()},t}()},function(t,e,n){"use strict";n.d(e,"a",function(){return i});var r=n(11),i=function(){function t(){this._menus=[]}return t.prototype.open=function(t){var e=this.get(t);if(e&&!this.isAnimating()){var n=this.getOpen();return n&&e!==n&&n.setOpen(!1,!1),e.open()}return Promise.resolve(!1)},t.prototype.close=function(t){var e;return(e=t?this.get(t):this.getOpen())?e.close():Promise.resolve(!1)},t.prototype.toggle=function(t){var e=this.get(t);if(e&&!this.isAnimating()){var n=this.getOpen();return n&&e!==n&&n.setOpen(!1,!1),e.toggle()}return Promise.resolve(!1)},t.prototype.enable=function(t,e){var n=this.get(e);if(n)return n.enable(t)},t.prototype.swipeEnable=function(t,e){var n=this.get(e);if(n)return n.swipeEnable(t)},t.prototype.isOpen=function(t){if(t){var e=this.get(t);return e&&e.isOpen||!1}return!!this.getOpen()},t.prototype.isEnabled=function(t){var e=this.get(t);return e&&e.enabled||!1},t.prototype.get=function(t){return"left"===t||"right"===t?this._menus.find(function(e){return e.side===t&&e.enabled})||this._menus.find(function(e){return e.side===t})||null:t?this._menus.find(function(e){return e.id===t})||null:this._menus.find(function(t){return t.enabled})||(this._menus.length?this._menus[0]:null)},t.prototype.getOpen=function(){return this._menus.find(function(t){return t.isOpen})},t.prototype.getMenus=function(){return this._menus},t.prototype.isAnimating=function(){return this._menus.some(function(t){return t.isAnimating()})},t.prototype._register=function(t){this._menus.push(t)},t.prototype._unregister=function(t){Object(r.q)(this._menus,t)},t.prototype._setActiveMenu=function(t){var e=t.side;this._menus.filter(function(n){return n.side===e&&n!==t}).map(function(t){return t.enable(!1)})},t.registerType=function(t,e){o[t]=e},t.create=function(t,e,n){return new o[t](e,n)},t}(),o={}},,function(t,e,n){"use strict";n.d(e,"a",function(){return s});var r=n(1),i=(n(6),n(30),n(49)),o=n(87),s=(n(16),function(){function t(t,e,n,i){this._plt=e,this._zone=n,this._dom=i,this.willShow=new r.EventEmitter,this.willHide=new r.EventEmitter,this.didShow=new r.EventEmitter,this.didHide=new r.EventEmitter,this.eventsAvailable=!1,this.focusOutline(t.get("focusOutline"));var o=e.win();o.Ionic&&o.Ionic.keyboardPlugin?this.listenV2(o):this.listenV1(o)}return t.prototype.listenV2=function(t){var e=this,n=this._plt;n.registerListener(t,"keyboardWillShow",function(t){e._zone.run(function(){e.willShow.emit(t.keyboardHeight)})},{zone:!1,passive:!0}),n.registerListener(t,"keyboardWillHide",function(){e._zone.run(function(){e.willHide.emit()})},{zone:!1,passive:!0}),n.registerListener(t,"keyboardDidShow",function(t){e._zone.run(function(){e.didShow.emit(t.keyboardHeight)})},{zone:!1,passive:!0}),n.registerListener(t,"keyboardDidHide",function(){e._zone.run(function(){e.didHide.emit()})},{zone:!1,passive:!0}),this.eventsAvailable=!0},t.prototype.listenV1=function(t){var e=this,n=this._plt;n.registerListener(t,"native.keyboardhide",function(){e.blurActiveInput(!0)},{zone:!1,passive:!0}),n.registerListener(t,"native.keyboardshow",function(){e.blurActiveInput(!1)},{zone:!1,passive:!0})},t.prototype.blurActiveInput=function(t){var e=this,n=this._plt;n.cancelTimeout(this._tmr),t&&(this._tmr=n.timeout(function(){e.isOpen()&&n.focusOutActiveElement()},80))},t.prototype.isOpen=function(){return this.hasFocusedTextInput()},t.prototype.onClose=function(t,e,n){function r(){!i.isOpen()||o>n?i._plt.timeout(function(){i._zone.run(function(){t()})},400):i._plt.timeout(r,e),o++}void 0===e&&(e=a),void 0===n&&(n=u);var i=this,o=0,s=null;return t||(s=new Promise(function(e){t=e})),i._plt.timeout(r,e),s},t.prototype.close=function(){var t=this;this._dom.read(function(){t.isOpen()&&t._dom.write(function(){t._plt.focusOutActiveElement()})})},t.prototype.focusOutline=function(t){function e(){a._dom.write(function(){u.doc().body.classList[c?"add":"remove"]("focus-outline")})}function n(){c=!1,r()}function r(){e(),i&&i(),s&&s(),c&&(i=u.registerListener(l,"mousedown",n,d),s=u.registerListener(l,"touchstart",n,d))}var i,s,a=this,u=a._plt,l=u.doc(),c=!1,d={passive:!0,zone:!1};if(!0===t)return c=!0,e();!1!==t&&u.registerListener(u.doc(),"keydown",function(t){c||t.keyCode!==o.g||(c=!0,r())},d)},t.prototype.hasFocusedTextInput=function(){var t=this._plt.getActiveElement();return!!Object(i.e)(t)&&t.parentElement.querySelector(":focus")===t},t.prototype.hideFormAccessoryBar=function(t){var e=this._plt.win();e&&e.Keyboard&&e.Keyboard.hideFormAccessoryBar&&e.Keyboard.hideFormAccessoryBar(t)},t}()),a=150,u=100},function(t,e,n){"use strict";n.d(e,"a",function(){return s});n(6);var r=n(26),i=n(11),o=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),s=function(t){function e(e,n,r){var i=t.call(this,e,n,r,"spinner")||this;return i._dur=null,i._paused=!1,i}return o(e,t),Object.defineProperty(e.prototype,"name",{get:function(){return this._name},set:function(t){this._name=t,this.load()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"duration",{get:function(){return this._dur},set:function(t){this._dur=t,this.load()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"paused",{get:function(){return this._paused},set:function(t){this._paused=Object(i.o)(t)},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){this._init=!0,this.load()},e.prototype.load=function(){if(this._init){this._l=[],this._c=[];var t=this._name||this._config.get("spinner","ios"),e=a[t];if(e){if(e.lines)for(var n=0,r=e.lines;n<r;n++)this._l.push(this._loadEle(e,n,r));else if(e.circles)for(n=0,r=e.circles;n<r;n++)this._c.push(this._loadEle(e,n,r));this.setElementClass("spinner-"+t,!0),this.setElementClass("spinner-"+this._mode+"-"+t,!0)}}},e.prototype._loadEle=function(t,e,n){var r=this._dur||t.dur,i=t.fn(r,e,n);return i.style.animationDuration=r+"ms",i},e}(r.a),a={ios:{dur:1e3,lines:12,fn:function(t,e,n){var r="rotate("+(30*e+(e<6?180:-180))+"deg)",i=-(t-t/n*e)+"ms";return{y1:17,y2:29,style:{transform:r,webkitTransform:r,animationDelay:i,webkitAnimationDelay:i}}}},"ios-small":{dur:1e3,lines:12,fn:function(t,e,n){var r="rotate("+(30*e+(e<6?180:-180))+"deg)",i=-(t-t/n*e)+"ms";return{y1:12,y2:20,style:{transform:r,webkitTransform:r,animationDelay:i,webkitAnimationDelay:i}}}},bubbles:{dur:1e3,circles:9,fn:function(t,e,n){var r=-(t-t/n*e)+"ms";return{r:5,style:{top:9*Math.sin(2*Math.PI*e/n)+"px",left:9*Math.cos(2*Math.PI*e/n)+"px",animationDelay:r,webkitAnimationDelay:r}}}},circles:{dur:1e3,circles:8,fn:function(t,e,n){var r=-(t-t/n*e)+"ms";return{r:5,style:{top:9*Math.sin(2*Math.PI*e/n)+"px",left:9*Math.cos(2*Math.PI*e/n)+"px",animationDelay:r,webkitAnimationDelay:r}}}},crescent:{dur:750,circles:1,fn:function(){return{r:26,style:{}}}},dots:{dur:750,circles:3,fn:function(t,e){var n=-110*e+"ms";return{r:6,style:{left:9-9*e+"px",animationDelay:n,webkitAnimationDelay:n}}}}}},,,function(t,e,n){"use strict";e.isArray=Array.isArray||function(t){return t&&"number"==typeof t.length}},function(t,e,n){"use strict";n.d(e,"a",function(){return r});var r=function(){function t(t,e){this._elementRef=t,this._renderer=e}return t.prototype.getNativeElement=function(){return this._elementRef.nativeElement},t.prototype.setElementClass=function(t,e){this._renderer.setElementClass(this._elementRef.nativeElement,t,e)},t}()},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(127),i=n(74),o=n(327),s=n(105),a=n(37),u=function(){function t(t,e,n,r){if(this.width=t,this.height=e,this.rowSize=n,this.bits=r,void 0!==e&&null!==e||(e=t),this.height=e,t<1||e<1)throw new a.default("Both dimensions must be greater than 0");void 0!==n&&null!==n||(n=Math.floor((t+31)/32)),this.rowSize=n,void 0!==r&&null!==r||(this.bits=new Int32Array(this.rowSize*this.height))}return t.parseFromBooleanArray=function(e){for(var n=e.length,r=e[0].length,i=new t(r,n),o=0;o<n;o++)for(var s=e[o],a=0;a<r;a++)s[a]&&i.set(a,o);return i},t.parseFromString=function(e,n,r){if(null===e)throw new a.default("stringRepresentation cannot be null");for(var i=new Array(e.length),o=0,s=0,u=-1,l=0,c=0;c<e.length;)if("\n"===e.charAt(c)||"\r"===e.charAt(c)){if(o>s){if(-1===u)u=o-s;else if(o-s!==u)throw new a.default("row lengths do not match");s=o,l++}c++}else if(e.substring(c,c+n.length)===n)c+=n.length,i[o]=!0,o++;else{if(e.substring(c,c+r.length)!==r)throw new a.default("illegal character encountered: "+e.substring(c));c+=r.length,i[o]=!1,o++}if(o>s){if(-1===u)u=o-s;else if(o-s!==u)throw new a.default("row lengths do not match");l++}for(var d=new t(u,l),h=0;h<o;h++)i[h]&&d.set(Math.floor(h%u),Math.floor(h/u));return d},t.prototype.get=function(t,e){var n=e*this.rowSize+Math.floor(t/32);return 0!=(this.bits[n]>>>(31&t)&1)},t.prototype.set=function(t,e){var n=e*this.rowSize+Math.floor(t/32);this.bits[n]|=1<<(31&t)&4294967295},t.prototype.unset=function(t,e){var n=e*this.rowSize+Math.floor(t/32);this.bits[n]&=~(1<<(31&t)&4294967295)},t.prototype.flip=function(t,e){var n=e*this.rowSize+Math.floor(t/32);this.bits[n]^=1<<(31&t)&4294967295},t.prototype.xor=function(t){if(this.width!==t.getWidth()||this.height!==t.getHeight()||this.rowSize!==t.getRowSize())throw new a.default("input matrix dimensions do not match");for(var e=new r.default(Math.floor(this.width/32)+1),n=this.rowSize,i=this.bits,o=0,s=this.height;o<s;o++)for(var u=o*n,l=t.getRow(o,e).getBitArray(),c=0;c<n;c++)i[u+c]^=l[c]},t.prototype.clear=function(){for(var t=this.bits,e=t.length,n=0;n<e;n++)t[n]=0},t.prototype.setRegion=function(t,e,n,r){if(e<0||t<0)throw new a.default("Left and top must be nonnegative");if(r<1||n<1)throw new a.default("Height and width must be at least 1");var i=t+n,o=e+r;if(o>this.height||i>this.width)throw new a.default("The region must fit inside the matrix");for(var s=this.rowSize,u=this.bits,l=e;l<o;l++)for(var c=l*s,d=t;d<i;d++)u[c+Math.floor(d/32)]|=1<<(31&d)&4294967295},t.prototype.getRow=function(t,e){null===e||void 0===e||e.getSize()<this.width?e=new r.default(this.width):e.clear();for(var n=this.rowSize,i=this.bits,o=t*n,s=0;s<n;s++)e.setBulk(32*s,i[o+s]);return e},t.prototype.setRow=function(t,e){i.default.arraycopy(e.getBitArray(),0,this.bits,t*this.rowSize,this.rowSize)},t.prototype.rotate180=function(){for(var t=this.getWidth(),e=this.getHeight(),n=new r.default(t),i=new r.default(t),o=0,s=Math.floor((e+1)/2);o<s;o++)n=this.getRow(o,n),i=this.getRow(e-1-o,i),n.reverse(),i.reverse(),this.setRow(o,i),this.setRow(e-1-o,n)},t.prototype.getEnclosingRectangle=function(){for(var t=this.height,e=this.rowSize,n=this.bits,r=this.width,i=t,o=-1,s=-1,a=0;a<t;a++)for(var u=0;u<e;u++){var l=n[a*e+u];if(0!==l){if(a<i&&(i=a),a>s&&(s=a),32*u<r){for(var c=0;0==(l<<31-c&4294967295);)c++;32*u+c<r&&(r=32*u+c)}if(32*u+31>o){for(c=31;l>>>c==0;)c--;32*u+c>o&&(o=32*u+c)}}}return o<r||s<i?null:Int32Array.from([r,i,o-r+1,s-i+1])},t.prototype.getTopLeftOnBit=function(){for(var t=this.rowSize,e=this.bits,n=0;n<e.length&&0===e[n];)n++;if(n===e.length)return null;for(var r=n/t,i=n%t*32,o=e[n],s=0;0==(o<<31-s&4294967295);)s++;return i+=s,Int32Array.from([i,r])},t.prototype.getBottomRightOnBit=function(){for(var t=this.rowSize,e=this.bits,n=e.length-1;n>=0&&0===e[n];)n--;if(n<0)return null;for(var r=Math.floor(n/t),i=32*Math.floor(n%t),o=e[n],s=31;o>>>s==0;)s--;return i+=s,Int32Array.from([i,r])},t.prototype.getWidth=function(){return this.width},t.prototype.getHeight=function(){return this.height},t.prototype.getRowSize=function(){return this.rowSize},t.prototype.equals=function(e){if(!(e instanceof t))return!1;return this.width===e.width&&this.height===e.height&&this.rowSize===e.rowSize&&o.default.equals(this.bits,e.bits)},t.prototype.hashCode=function(){var t=this.width;return t=31*t+this.width,t=31*t+this.height,t=31*t+this.rowSize,t=31*t+o.default.hashCode(this.bits)},t.prototype.toString=function(t,e,n){return void 0===t&&(t="x"),void 0===e&&(e=" "),void 0===n&&(n="\n"),this.buildToString(t,e,n)},t.prototype.buildToString=function(t,e,n){var r=new s.default;r.append(n);for(var i=0,o=this.height;i<o;i++){for(var a=0,u=this.width;a<u;a++)r.append(this.get(a,i)?t:e);r.append(n)}return r.toString()},t.prototype.clone=function(){return new t(this.width,this.height,this.rowSize,this.bits.slice())},t}();e.default=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(50),i=n(74),o=function(){function t(t,e,n,r,o,s){this.text=t,this.rawBytes=e,this.numBits=n,this.resultPoints=r,this.format=o,this.timestamp=s,this.text=t,this.rawBytes=e,this.numBits=void 0===n||null===n?null===e||void 0===e?0:8*e.length:n,this.resultPoints=r,this.format=o,this.resultMetadata=null,this.timestamp=void 0===s||null===s?i.default.currentTimeMillis():s}return t.prototype.getText=function(){return this.text},t.prototype.getRawBytes=function(){return this.rawBytes},t.prototype.getNumBits=function(){return this.numBits},t.prototype.getResultPoints=function(){return this.resultPoints},t.prototype.getBarcodeFormat=function(){return this.format},t.prototype.getResultMetadata=function(){return this.resultMetadata},t.prototype.putMetadata=function(t,e){null===this.resultMetadata&&(this.resultMetadata=new Map),this.resultMetadata.set(t,e)},t.prototype.putAllMetadata=function(t){null!==t&&(this.resultMetadata=null===this.resultMetadata?t:new Map(t))},t.prototype.addResultPoints=function(t){var e=this.resultPoints;if(null===e)this.resultPoints=t;else if(null!==t&&t.length>0){var n=new r.default[e.length+t.length];i.default.arraycopy(e,0,n,0,e.length),i.default.arraycopy(t,0,n,e.length,t.length),this.resultPoints=n}},t.prototype.getTimestamp=function(){return this.timestamp},t.prototype.toString=function(){return this.text},t}();e.default=o},function(t,e,n){"use strict";function r(t){return i["ɵvid"](2,[(t()(),i["ɵeld"](0,0,null,null,1,"span",[["class","button-inner"]],null,null,null,null,null)),i["ɵncd"](null,0),(t()(),i["ɵeld"](2,0,null,null,0,"div",[["class","button-effect"]],null,null,null,null,null))],null,null)}n.d(e,"a",function(){return o}),e.b=r;var i=n(1),o=(n(6),i["ɵcrt"]({encapsulation:2,styles:[],data:{}}))},function(t,e,n){"use strict";n.d(e,"a",function(){return s});n(6);var r=n(11),i=(n(63),n(651)),o=(n(18),this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}()),s=function(t){function e(e,n,r,i,o,s){var a=t.call(this,i,o,s)||this;return a._app=e,a.navCtrl=r,a._hidden=!1,a._hideBb=!1,n&&n._setNavbar(a),a._bbIcon=i.get("backButtonIcon"),a._sbPadding=i.getBoolean("statusbarPadding"),a._backText=i.get("backButtonText","Back"),a}return o(e,t),Object.defineProperty(e.prototype,"hideBackButton",{get:function(){return this._hideBb},set:function(t){this._hideBb=Object(r.o)(t)},enumerable:!0,configurable:!0}),e.prototype.backButtonClick=function(t){t.preventDefault(),t.stopPropagation(),this.navCtrl&&this.navCtrl.pop(null,null)},e.prototype.setBackButtonText=function(t){this._backText=t},e.prototype.didEnter=function(){try{this._app.setTitle(this.getTitleText())}catch(t){console.error(t)}},e.prototype.setHidden=function(t){this._hidden=t},e}(i.a)},function(t,e,n){"use strict";n.d(e,"d",function(){return r}),n.d(e,"h",function(){return i}),n.d(e,"e",function(){return o}),n.d(e,"a",function(){return s}),n.d(e,"b",function(){return a}),n.d(e,"c",function(){return u}),n.d(e,"f",function(){return l}),n.d(e,"g",function(){return c});var r=37,i=38,o=39,s=40,a=13,u=27,l=32,c=9},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(127),i=n(62),o=n(116),s=n(50),a=n(35);e.default=function(){function t(){}return t.prototype.decode=function(t,e){try{return this.doDecode(t,e)}catch(f){if(e&&!0===e.get(i.default.TRY_HARDER)&&t.isRotateSupported()){var n=t.rotateCounterClockwise(),r=this.doDecode(n,e),u=r.getResultMetadata(),l=270;null!==u&&!0===u.get(o.default.ORIENTATION)&&(l+=u.get(o.default.ORIENTATION)%360),r.putMetadata(o.default.ORIENTATION,l);var c=r.getResultPoints();if(null!==c)for(var d=n.getHeight(),h=0;h<c.length;h++)c[h]=new s.default(d-c[h].getY()-1,c[h].getX());return r}throw new a.default}},t.prototype.reset=function(){},t.prototype.doDecode=function(t,e){var n,u=t.getWidth(),l=t.getHeight(),c=new r.default(u),d=e&&!0===e.get(i.default.TRY_HARDER),h=Math.max(1,l>>(d?8:5));n=d?l:15;for(var f=Math.trunc(l/2),p=0;p<n;p++){var m=Math.trunc((p+1)/2),_=f+h*(0==(1&p)?m:-m);if(_<0||_>=l)break;try{c=t.getBlackRow(_,c)}catch(t){continue}for(var g=function(t){if(1===t&&(c.reverse(),e&&!0===e.get(i.default.NEED_RESULT_POINT_CALLBACK))){var n=new Map;e.forEach(function(t,e){return n.set(e,t)}),n.delete(i.default.NEED_RESULT_POINT_CALLBACK),e=n}try{var r=v.decodeRow(_,c,e);if(1===t){r.putMetadata(o.default.ORIENTATION,180);var a=r.getResultPoints();null!==a&&(a[0]=new s.default(u-a[0].getX()-1,a[0].getY()),a[1]=new s.default(u-a[1].getX()-1,a[1].getY()))}return{value:r}}catch(t){}},v=this,y=0;y<2;y++){var b=g(y);if("object"==typeof b)return b.value}}throw new a.default},t.recordPattern=function(t,e,n){for(var r=n.length,i=0;i<r;i++)n[i]=0;var o=t.getSize();if(e>=o)throw new a.default;for(var s=!t.get(e),u=0,l=e;l<o;){if(t.get(l)!==s)n[u]++;else{if(++u===r)break;n[u]=1,s=!s}l++}if(u!==r&&(u!==r-1||l!==o))throw new a.default},t.recordPatternInReverse=function(e,n,r){for(var i=r.length,o=e.get(n);n>0&&i>=0;)e.get(--n)!==o&&(i--,o=!o);if(i>=0)throw new a.default;t.recordPattern(e,n+1,r)},t.patternMatchVariance=function(t,e,n){for(var r=t.length,i=0,o=0,s=0;s<r;s++)i+=t[s],o+=e[s];if(i<o)return Number.POSITIVE_INFINITY;var a=i/o;n*=a;for(var u=0,l=0;l<r;l++){var c=t[l],d=e[l]*a,h=c>d?c-d:d-c;if(h>n)return Number.POSITIVE_INFINITY;u+=h}return u/i},t}()},,,,function(t,e,n){"use strict";n.d(e,"a",function(){return o});n(6);var r=n(651),i=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),o=function(t){function e(e,n,r){var i=t.call(this,e,n,r)||this;return i._sbPadding=e.getBoolean("statusbarPadding"),i}return i(e,t),e}(r.a)},,function(t,e,n){"use strict";n.d(e,"a",function(){return r});n(16);var r=function(){function t(t){var e=this;t&&t.ready().then(function(){e._p=t.win().TapticEngine})}return t.prototype.available=function(){return!!this._p},t.prototype.selection=function(){this._p&&this._p.selection()},t.prototype.gestureSelectionStart=function(){this._p&&this._p.gestureSelectionStart()},t.prototype.gestureSelectionChanged=function(){this._p&&this._p.gestureSelectionChanged()},t.prototype.gestureSelectionEnd=function(){this._p&&this._p.gestureSelectionEnd()},t.prototype.notification=function(t){this._p&&this._p.notification(t)},t.prototype.impact=function(t){this._p&&this._p.impact(t)},t}()},,function(t,e,n){"use strict";n.d(e,"a",function(){return a});var r=n(0),i=n(73),o=n(2),s=n(277),a=(n.n(s),function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r.__extends)(e,t),e.prototype.onchange=function(){return o.Observable.merge(this.onConnect(),this.onDisconnect())},e.prototype.onDisconnect=function(){},e.prototype.onConnect=function(){},Object(r.__decorate)([i.d,Object(r.__metadata)("design:type",String)],e.prototype,"type",void 0),Object(r.__decorate)([i.d,Object(r.__metadata)("design:type",String)],e.prototype,"downlinkMax",void 0),Object(r.__decorate)([Object(i.b)(),Object(r.__metadata)("design:type",Function),Object(r.__metadata)("design:paramtypes",[]),Object(r.__metadata)("design:returntype",o.Observable)],e.prototype,"onchange",null),Object(r.__decorate)([Object(i.a)({eventObservable:!0,event:"offline"}),Object(r.__metadata)("design:type",Function),Object(r.__metadata)("design:paramtypes",[]),Object(r.__metadata)("design:returntype",o.Observable)],e.prototype,"onDisconnect",null),Object(r.__decorate)([Object(i.a)({eventObservable:!0,event:"online"}),Object(r.__metadata)("design:type",Function),Object(r.__metadata)("design:paramtypes",[]),Object(r.__metadata)("design:returntype",o.Observable)],e.prototype,"onConnect",null),e=Object(r.__decorate)([Object(i.g)({pluginName:"Network",plugin:"cordova-plugin-network-information",pluginRef:"navigator.connection",repo:"https://github.com/apache/cordova-plugin-network-information",platforms:["Amazon Fire OS","Android","Browser","iOS","Windows"]})],e)}(i.f))},function(t,e,n){"use strict";var r=n(0).__extends,i=n(2),o=n(260),s=n(98),a=n(72);e.ArrayObservable=function(t){function e(e,n){t.call(this),this.array=e,this.scheduler=n,n||1!==e.length||(this._isScalar=!0,this.value=e[0])}return r(e,t),e.create=function(t,n){return new e(t,n)},e.of=function(){for(var t=[],n=0;n<arguments.length;n++)t[n-0]=arguments[n];var r=t[t.length-1];a.isScheduler(r)?t.pop():r=null;var i=t.length;return i>1?new e(t,r):1===i?new o.ScalarObservable(t[0],r):new s.EmptyObservable(r)},e.dispatch=function(t){var e=t.array,n=t.index,r=t.subscriber;n>=t.count?r.complete():(r.next(e[n]),r.closed||(t.index=n+1,this.schedule(t)))},e.prototype._subscribe=function(t){var n=this.array,r=n.length,i=this.scheduler;if(i)return i.schedule(e.dispatch,0,{array:n,index:0,count:r,subscriber:t});for(var o=0;o<r&&!t.closed;o++)t.next(n[o]);t.complete()},e}(i.Observable)},function(t,e,n){"use strict";var r=n(0).__extends,i=n(2);e.EmptyObservable=function(t){function e(e){t.call(this),this.scheduler=e}return r(e,t),e.create=function(t){return new e(t)},e.dispatch=function(t){t.subscriber.complete()},e.prototype._subscribe=function(t){var n=this.scheduler;if(n)return n.schedule(e.dispatch,0,{subscriber:t});t.complete()},e}(i.Observable)},function(t,e,n){"use strict";function r(t,e,n){return"function"==typeof e?Promise.resolve(new s.a(e,n)):"string"==typeof e?t.getComponentFromName(e).then(function(t){var r=new s.a(t,n);return r.id=e,r}):Promise.resolve(null)}function i(t,e,n){return e?Object(s.b)(e)?Promise.resolve(e):r(t,e,n):Promise.resolve(null)}e.j=r,e.i=function(t,e){var n=[];if(Object(o.e)(e))for(var r=0;r<e.length;r++){var a=e[r];a&&(Object(s.b)(a)?n.push(a):n.push(a.page?i(t,a.page,a.params):i(t,a,null)))}return Promise.all(n)},e.n=function(t,e,n,r,i){if(e){if(t._isPortal)return r===p&&e._setZIndex(t._zIndexOffset+a,i),void a++;(n=n||t.getPrevious(e))&&Object(o.l)(n._zIndex)?e._setZIndex(r===f?n._zIndex-1:n._zIndex+1,i):e._setZIndex(h+t._zIndexOffset,i)}},e.m=function(t){return!!t&&!!t.getSelected},e.l=function(t){return!!t&&Object(o.l)(t._tabId)},e.k=function(t){return!!t&&!!t.push&&"nav"===t.getType()},n.d(e,"h",function(){return u}),n.d(e,"g",function(){return l}),n.d(e,"e",function(){return c}),n.d(e,"f",function(){return d}),n.d(e,"d",function(){return h}),n.d(e,"a",function(){return f}),n.d(e,"b",function(){return p}),n.d(e,"c",function(){return m});var o=n(11),s=n(18),a=9999,u=1,l=2,c=3,d=4,h=100,f="back",p="forward",m="switch"},function(t,e,n){"use strict";n.d(e,"a",function(){return i});var r=n(635),i=function(){function t(t){this.plt=t,this.evts=[]}return t.prototype.pointerEvents=function(t){if(t.element&&t.pointerDown){var e=new r.b(this.plt,t.element,t.pointerDown,t.pointerMove,t.pointerUp,{capture:t.capture,passive:t.passive,zone:t.zone});return this.evts.push(function(){return e.destroy()}),e}console.error("PointerEvents config is invalid")},t.prototype.listen=function(t,e,n,r){if(t){var i=this.plt.registerListener(t,e,n,r);return this.evts.push(i),i}},t.prototype.unlistenAll=function(){this.evts.forEach(function(t){t()}),this.evts.length=0},t.prototype.destroy=function(){this.unlistenAll(),this.evts=null},t}()},function(t,e,n){"use strict";n.d(e,"a",function(){return i});n(6);var r=n(11),i=(n(16),function(){function t(t,e){this.plt=t,this._config=e,this._ids=0,this._trns={}}return t.prototype.getRootTrnsId=function(t){for(t=t.parent;t;){if(Object(r.l)(t._trnsId))return t._trnsId;t=t.parent}return null},t.prototype.nextId=function(){return this._ids++},t.prototype.get=function(t,e,n,r){var i=this._config.getTransition(r.animation);i||(i=this._config.getTransition("ios-transition"));var o=new i(this.plt,e,n,r);return o.trnsId=t,this._trns[t]?this._trns[t].add(o):this._trns[t]=o,o},t.prototype.destroy=function(t){var e=this._trns[t];e&&(e.destroy(),delete this._trns[t])},t}())},function(t,e,n){"use strict";n.d(e,"a",function(){return u});var r=n(1),i=n(11),o=n(26),s=n(642),a=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),u=function(t){function e(e,n,o,a,u,l,c,d){var h=t.call(this,e,n,o,a)||this;return h._defaultValue=u,h._form=l,h._item=c,h._ngControl=d,h._isFocus=!1,h._disabled=!1,h._debouncer=new s.a(0),h._init=!1,h._initModel=!1,h.ionFocus=new r.EventEmitter,h.ionChange=new r.EventEmitter,h.ionBlur=new r.EventEmitter,l&&l.register(h),h._value=Object(i.b)(h._defaultValue),c&&(h.id=a+"-"+c.registerInput(a),h._labelId=c.labelId,h._item.setElementClass("item-"+a,!0)),d&&(d.valueAccessor=h),h}return a(e,t),Object.defineProperty(e.prototype,"disabled",{get:function(){return this._disabled},set:function(t){this.setDisabledState(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return this._value},set:function(t){this._writeValue(t)&&(this.onChange(),this._fireIonChange())},enumerable:!0,configurable:!0}),e.prototype.setValue=function(t){this.value=t},e.prototype.setDisabledState=function(t){this._disabled=t=Object(i.o)(t),this._item&&this._item.setElementClass("item-"+this._componentName+"-disabled",t)},e.prototype.writeValue=function(t){this._writeValue(t)&&(this._initModel?this._fireIonChange():this._init&&(this._initModel=!0))},e.prototype._writeValue=function(t){if(Object(i.p)(t))return!1;var e=null===t?Object(i.b)(this._defaultValue):this._inputNormalize(t);return!(Object(i.p)(e)||!this._inputShouldChange(e))&&(this._value=e,this._init&&this._inputUpdated(),!0)},e.prototype._fireIonChange=function(){var t=this;this._init&&this._debouncer.debounce(function(){t.ionChange.emit(t._inputChangeEvent()),t._initModel=!0})},e.prototype.registerOnChange=function(t){this._onChanged=t},e.prototype.registerOnTouched=function(t){this._onTouched=t},e.prototype._initialize=function(){this._init||(this._init=!0,Object(i.l)(this._value)&&this._inputUpdated())},e.prototype._fireFocus=function(){this._isFocus||(this._form&&this._form.setAsFocused(this),this._setFocus(!0),this.ionFocus.emit(this))},e.prototype._fireBlur=function(){this._isFocus&&(this._form&&this._form.unsetAsFocused(this),this._setFocus(!1),this._fireTouched(),this.ionBlur.emit(this))},e.prototype._fireTouched=function(){this._onTouched&&this._onTouched()},e.prototype._setFocus=function(t){this._isFocus=t;var e=this._item;e&&(e.setElementClass("input-has-focus",t),e.setElementClass("item-input-has-focus",t)),this._inputUpdated()},e.prototype.onChange=function(){this._onChanged&&this._onChanged(this._inputNgModelEvent())},e.prototype.isFocus=function(){return this._isFocus},e.prototype.hasValue=function(){var t=this._value;return!!Object(i.l)(t)&&(!Object(i.e)(t)&&!Object(i.n)(t)||t.length>0)},e.prototype.focusNext=function(){this._form&&this._form.tabFocus(this)},e.prototype.ngOnDestroy=function(){var t=this._form;t&&t.deregister(this),this._init=!1},e.prototype.ngAfterContentInit=function(){this._initialize()},e.prototype.initFocus=function(){var t=this._elementRef.nativeElement.querySelector("button");t&&t.focus()},e.prototype._inputNormalize=function(t){return t},e.prototype._inputShouldChange=function(t){return this._value!==t},e.prototype._inputChangeEvent=function(){return this},e.prototype._inputNgModelEvent=function(){return this._value},e.prototype._inputUpdated=function(){var t=this._item;if(t){!function(t,e){e&&(t.setElementClass("ng-untouched",e.untouched),t.setElementClass("ng-touched",e.touched),t.setElementClass("ng-pristine",e.pristine),t.setElementClass("ng-dirty",e.dirty),t.setElementClass("ng-valid",e.valid),t.setElementClass("ng-invalid",!e.valid))}(t,this._ngControl);var e=this.hasValue();t.setElementClass("input-has-value",e),t.setElementClass("item-input-has-value",e)}},e}(o.a)},function(t,e,n){"use strict";n.d(e,"a",function(){return r});n(26),n(11),n(6),n(16),this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])}}();var r=function(){return function(){}}()},,function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default=function(){function t(t){void 0===t&&(t=""),this.value=t}return t.prototype.append=function(t){return this.value+="string"==typeof t?t.toString():String.fromCharCode(t),this},t.prototype.length=function(){return this.value.length},t.prototype.charAt=function(t){return this.value.charAt(t)},t.prototype.deleteCharAt=function(t){this.value=this.value.substr(0,t)+this.value.substring(t+1)},t.prototype.setCharAt=function(t,e){this.value=this.value.substr(0,t)+e+this.value.substr(t+1)},t.prototype.toString=function(){return this.value},t.prototype.insert=function(t,e){this.value=this.value.substr(0,t)+e+this.value.substr(t+e.length)},t}()},function(t,e,n){"use strict";n.d(e,"a",function(){return o}),n.d(e,"b",function(){return s}),e.c=function(t,e){return new s(t,e)},e.d=function(t,e,n,r){return function(){Object(i.s)(function(){r.runOutsideAngular(function(){!function(t,e,n){if(!e||!e.links||!t.getBoolean("preloadModules"))return Promise.resolve();var r=e.links.filter(function(t){return!!t.loadChildren&&"off"!==t.priority}),i=r.filter(function(t){return"high"===t.priority}).map(function(t){return n.load(t.loadChildren)});Promise.all(i).then(function(){var t=r.filter(function(t){return"low"===t.priority}).map(function(t){return n.load(t.loadChildren)});return Promise.all(t)}).catch(function(t){console.error(t.message)})}(t,e,n)})})}};var r=n(1),i=(n(289),n(11)),o=new r.InjectionToken("LZYCMP"),s=function(){function t(t,e){this._ngModuleLoader=t,this._injector=e,this._cfrMap=new Map,this._promiseMap=new Map}return t.prototype.load=function(t){var e=this,n=t.split(a),r=this._promiseMap.get(t);return r||(r=this._ngModuleLoader.load(n[0],n[1]),this._promiseMap.set(t,r)),r.then(function(t){var n=t.create(e._injector),r=n.injector.get(o);return e._cfrMap.set(r,n.componentFactoryResolver),{componentFactoryResolver:n.componentFactoryResolver,component:r}})},t.prototype.getComponentFactoryResolver=function(t){return this._cfrMap.get(t)},t}(),a="#"},,function(t,e,n){"use strict";function r(t){return s["ɵvid"](0,[(t()(),s["ɵeld"](0,0,null,null,2,":svg:svg",[["viewBox","0 0 64 64"]],null,null,null,null,null)),s["ɵdid"](1,278528,null,0,a.NgStyle,[s.KeyValueDiffers,s.ElementRef,s.Renderer2],{ngStyle:[0,"ngStyle"]},null),(t()(),s["ɵeld"](2,0,null,null,0,":svg:circle",[["transform","translate(32,32)"]],[[1,"r",0]],null,null,null,null))],function(t,e){t(e,1,0,e.context.$implicit.style)},function(t,e){t(e,2,0,e.context.$implicit.r)})}function i(t){return s["ɵvid"](0,[(t()(),s["ɵeld"](0,0,null,null,2,":svg:svg",[["viewBox","0 0 64 64"]],null,null,null,null,null)),s["ɵdid"](1,278528,null,0,a.NgStyle,[s.KeyValueDiffers,s.ElementRef,s.Renderer2],{ngStyle:[0,"ngStyle"]},null),(t()(),s["ɵeld"](2,0,null,null,0,":svg:line",[["transform","translate(32,32)"]],[[1,"y1",0],[1,"y2",0]],null,null,null,null))],function(t,e){t(e,1,0,e.context.$implicit.style)},function(t,e){t(e,2,0,e.context.$implicit.y1,e.context.$implicit.y2)})}function o(t){return s["ɵvid"](2,[(t()(),s["ɵand"](16777216,null,null,1,null,r)),s["ɵdid"](1,802816,null,0,a.NgForOf,[s.ViewContainerRef,s.TemplateRef,s.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(t()(),s["ɵand"](16777216,null,null,1,null,i)),s["ɵdid"](3,802816,null,0,a.NgForOf,[s.ViewContainerRef,s.TemplateRef,s.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],function(t,e){var n=e.component;t(e,1,0,n._c);t(e,3,0,n._l)},null)}n.d(e,"a",function(){return u}),e.b=o;var s=n(1),a=n(12),u=(n(6),s["ɵcrt"]({encapsulation:2,styles:[],data:{}}))},,function(t,e,n){"use strict";var r=n(403);e.multicast=function(t,e){return function(n){var o;if(o="function"==typeof t?t:function(){return t},"function"==typeof e)return n.lift(new i(o,e));var s=Object.create(n,r.connectableObservableDescriptor);return s.source=n,s.subjectFactory=o,s}};var i=function(){function t(t,e){this.subjectFactory=t,this.selector=e}return t.prototype.call=function(t,e){var n=this.selector,r=this.subjectFactory(),i=n(r).subscribe(t);return i.add(e.subscribe(r)),i},t}();e.MulticastOperator=i},,function(t,e,n){"use strict";n.d(e,"a",function(){return o});var r=n(61),i=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),o=function(t){function e(e,n,r,i){var o=t.call(this,e,null,i)||this;return o.enteringView=n,o.leavingView=r,o}return i(e,t),e.prototype.init=function(){},e.prototype.registerStart=function(t){this._trnsStart=t},e.prototype.start=function(){this._trnsStart&&this._trnsStart(),this._trnsStart=null,this.parent&&this.parent.start()},e.prototype.destroy=function(){t.prototype.destroy.call(this),this.parent=this.enteringView=this.leavingView=this._trnsStart=null},e}(r.a)},,function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var i=n(69);e.default=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e}(i.default)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default=function(){function t(){}return t.prototype.MathUtils=function(){},t.round=function(t){return NaN===t?0:t<=Number.MIN_SAFE_INTEGER?Number.MIN_SAFE_INTEGER:t>=Number.MAX_SAFE_INTEGER?Number.MAX_SAFE_INTEGER:t+(t<0?-.5:.5)|0},t.distance=function(t,e,n,r){var i=t-n,o=e-r;return Math.sqrt(i*i+o*o)},t.sum=function(t){for(var e=0,n=0,r=t.length;n!==r;n++){e+=t[n]}return e},t}()},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r;!function(t){t[t.OTHER=0]="OTHER",t[t.ORIENTATION=1]="ORIENTATION",t[t.BYTE_SEGMENTS=2]="BYTE_SEGMENTS",t[t.ERROR_CORRECTION_LEVEL=3]="ERROR_CORRECTION_LEVEL",t[t.ISSUE_NUMBER=4]="ISSUE_NUMBER",t[t.SUGGESTED_PRICE=5]="SUGGESTED_PRICE",t[t.POSSIBLE_COUNTRY=6]="POSSIBLE_COUNTRY",t[t.UPC_EAN_EXTENSION=7]="UPC_EAN_EXTENSION",t[t.PDF417_EXTRA_METADATA=8]="PDF417_EXTRA_METADATA",t[t.STRUCTURED_APPEND_SEQUENCE=9]="STRUCTURED_APPEND_SEQUENCE",t[t.STRUCTURED_APPEND_PARITY=10]="STRUCTURED_APPEND_PARITY"}(r||(r={})),e.default=r},,function(t,e,n){"use strict";var r=n(1),i=(n(67),n(30),n(11)),o=n(644),s=n(49),a=n(100),u=function(){function t(t,e){this.plt=t,this.reorderList=e,this.selectedItemEle=null,this.events=new a.a(t),this.events.pointerEvents({element:this.reorderList.getNativeElement(),pointerDown:this.onDragStart.bind(this),pointerMove:this.onDragMove.bind(this),pointerUp:this.onDragEnd.bind(this),zone:!1})}return t.prototype.onDragStart=function(t){if(this.selectedItemEle)return!1;var e=t.target;if("ION-REORDER"!==e.nodeName)return!1;var n=e.$ionComponent;if(!n)return console.error("ion-reorder does not contain $ionComponent"),!1;this.reorderList._reorderPrepare();var r=n.getReorderNode();return r?(t.preventDefault(),this.selectedItemEle=r,this.selectedItemHeight=r.offsetHeight,this.lastYcoord=-100,this.lastToIndex=Object(o.b)(r),this.windowHeight=this.plt.height()-l,this.lastScrollPosition=this.reorderList._scrollContent(0),this.offset=Object(s.f)(t),this.offset.y+=this.lastScrollPosition,r.classList.add(d),this.reorderList._reorderStart(),!0):(console.error("reorder node not found"),!1)},t.prototype.onDragMove=function(t){var e=this.selectedItemEle;if(e){t.preventDefault();var n=Object(s.f)(t),r=n.y,i=this.scroll(r);if(Math.abs(r-this.lastYcoord)>30){var a=this.itemForCoord(n);if(a){var u=Object(o.b)(a);if(void 0!==u&&(u!==this.lastToIndex||this.emptyZone)){var l=Object(o.b)(e);this.lastToIndex=u,this.lastYcoord=r,this.emptyZone=!1,this.reorderList._reorderMove(l,u,this.selectedItemHeight)}}else this.emptyZone=!0}var c=Math.round(r-this.offset.y+i);e.style[this.plt.Css.transform]="translateY("+c+"px)"}},t.prototype.onDragEnd=function(t){var e=this,n=this.selectedItemEle;if(n){t&&(t.preventDefault(),t.stopPropagation());var r=this.lastToIndex,i=Object(o.b)(n),s=function(){e.selectedItemEle.style.transition="",e.selectedItemEle.classList.remove(d),e.selectedItemEle=null};r===i?(n.style.transition="transform 200ms ease-in-out",setTimeout(s,200)):s(),this.reorderList._reorderEmit(i,r)}},t.prototype.itemForCoord=function(t){var e=this.plt.getElementFromPoint(this.offset.x+(this.reorderList._isStart===this.plt.isRTL?-100:100),t.y);return Object(o.a)(e,this.reorderList.getNativeElement())},t.prototype.scroll=function(t){return t<l?this.lastScrollPosition=this.reorderList._scrollContent(-c):t>this.windowHeight&&(this.lastScrollPosition=this.reorderList._scrollContent(c)),this.lastScrollPosition},t.prototype.destroy=function(){this.onDragEnd(null),this.events.destroy(),this.events=null,this.reorderList=null},t}(),l=60,c=10,d="reorder-active";n(16);n.d(e,"a",function(){return f});var h=function(){function t(t,e){this.from=t,this.to=e}return t.prototype.applyTo=function(t){Object(i.r)(t,this)},t}(),f=function(){function t(t,e,n,i,o,s){this._plt=t,this._dom=e,this._rendered=i,this._zone=o,this._content=s,this._enableReorder=!1,this._visibleReorder=!1,this._isStart=!1,this._lastToIndex=-1,this.ionItemReorder=new r.EventEmitter,this._element=n.nativeElement}return Object.defineProperty(t.prototype,"side",{set:function(t){this._isStart="start"===t},enumerable:!0,configurable:!0}),t.prototype.ngOnDestroy=function(){this._element=null,this._reorderGesture&&this._reorderGesture.destroy()},Object.defineProperty(t.prototype,"reorder",{get:function(){return this._enableReorder},set:function(t){var e=this,n=Object(i.o)(t);!n&&this._reorderGesture?(this._reorderGesture.destroy(),this._reorderGesture=null,this._visibleReorder=!1,setTimeout(function(){return e._enableReorder=!1},400)):n&&!this._reorderGesture&&(this._reorderGesture=new u(this._plt,this),this._enableReorder=!0,this._dom.write(function(){e._zone.run(function(){e._visibleReorder=!0})},16))},enumerable:!0,configurable:!0}),t.prototype._reorderPrepare=function(){for(var t=this._element,e=t.children,n=0,r=e.length;n<r;n++){var i=e[n];i.$ionIndex=n,i.$ionReorderList=t}},t.prototype._reorderStart=function(){this.setElementClass("reorder-list-active",!0)},t.prototype._reorderEmit=function(t,e){var n=this;this._reorderReset(),t!==e&&this._zone.run(function(){var r=new h(t,e);n.ionItemReorder.emit(r)})},t.prototype._scrollContent=function(t){var e=this._content.scrollTop+t;return 0!==t&&this._content.scrollTo(0,e,0),e},t.prototype._reorderReset=function(){var t=this._element.children,e=t.length;this.setElementClass("reorder-list-active",!1);for(var n=this._plt.Css.transform,r=0;r<e;r++)t[r].style[n]="";this._lastToIndex=-1},t.prototype._reorderMove=function(t,e,n){-1===this._lastToIndex&&(this._lastToIndex=t);var r=this._lastToIndex;this._lastToIndex=e;var i=this._element.children,o=this._plt.Css.transform;if(e>=r)for(var s=r;s<=e;s++)s!==t&&(i[s].style[o]=s>t?"translateY("+-n+"px)":"");if(e<=r)for(s=e;s<=r;s++)s!==t&&(i[s].style[o]=s<t?"translateY("+n+"px)":"")},t.prototype.setElementClass=function(t,e){this._rendered.setElementClass(this._element,t,e)},t.prototype.getNativeElement=function(){return this._element},t}()},function(t,e,n){"use strict";n.d(e,"a",function(){return a}),n.d(e,"b",function(){return u});var r=n(1),i=(n(6),n(26)),o=(n(16),n(152)),s=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),a=new r.InjectionToken("USERROOT"),u=function(t){function e(e,n,r,i,o,s,a){var u=t.call(this,o,r,i,"app-root")||this;return u._userCmp=e,u._cfr=n,u._plt=s,a._appRoot=u,u._stopScrollPlugin=window.IonicStopScroll,u}return s(e,t),e.prototype.ngOnInit=function(){var t=this,e=this._cfr.resolveComponentFactory(this._userCmp),n=this._viewport.createComponent(e);this._renderer.setElementClass(n.location.nativeElement,"app-root",!0),n.changeDetectorRef.detectChanges(),this.setElementClass(this._config.get("mode"),!0);var r=this._plt.versions();this._plt.platforms().forEach(function(e){var n="platform-"+e;t.setElementClass(n,!0);var i=r[e];i&&(t.setElementClass(n+=i.major,!0),t.setElementClass(n+"_"+i.minor,!0))}),this._config.getBoolean("hoverCSS",!0)&&this.setElementClass("enable-hover",!0),this._plt.prepareReady()},e.prototype._getPortal=function(t){return t===o.b?this._loadingPortal:t===o.d?this._toastPortal:t===o.c?this._modalPortal:this._overlayPortal},e.prototype._getActivePortal=function(){var t=this._overlayPortal,e=this._modalPortal,n=e.length()>0,r=t.length()>0;if(!n&&!r)return null;if(n&&r){return t.getActive().getZIndex()>e.getActive().getZIndex()?t:e}return n?e:r?t:void 0},e.prototype._disableScroll=function(t){var e=this;if(t)this.stopScroll().then(function(){e._tmr=e._plt.timeout(function(){e.setElementClass("disable-scroll",!0)},32)});else{var n=this._stopScrollPlugin;n&&n.cancel&&n.cancel(),clearTimeout(this._tmr),this.setElementClass("disable-scroll",!1)}},e.prototype.stopScroll=function(){var t=this;return this._stopScrollPlugin?new Promise(function(e){t._stopScrollPlugin.stop(function(){return e(!0)})}):Promise.resolve(!1)},e}(i.a)},function(t,e){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){"use strict";var r=n(2),i=n(97),o=n(72),s=n(186);e.merge=function(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];var n=Number.POSITIVE_INFINITY,a=null,u=t[t.length-1];return o.isScheduler(u)?(a=t.pop(),t.length>1&&"number"==typeof t[t.length-1]&&(n=t.pop())):"number"==typeof u&&(n=t.pop()),null===a&&1===t.length&&t[0]instanceof r.Observable?t[0]:s.mergeAll(n)(new i.ArrayObservable(t,a))}},function(t,e,n){"use strict";var r=n(416);e.from=r.FromObservable.create},function(t,e,n){"use strict";n.d(e,"a",function(){return s});var r=n(61),i=n(112),o=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.init=function(){var t=this;this.enteringView&&(this.enteringPage=new r.a(this.plt,this.enteringView.pageRef()),this.add(this.enteringPage.beforeAddClass("show-page")),this.beforeAddRead(function(){t.enteringView.readReady.emit()}),this.beforeAddWrite(function(){t.enteringView.writeReady.emit()}))},e.prototype.destroy=function(){t.prototype.destroy.call(this),this.enteringPage&&this.enteringPage.destroy(),this.enteringPage=null},e}(i.a)},function(t,e,n){"use strict";function r(t,e){return t.segmentPartsLen>e.segmentPartsLen?-1:t.segmentPartsLen<e.segmentPartsLen?1:t.staticLen>e.staticLen?-1:t.staticLen<e.staticLen?1:t.dataLen<e.dataLen?-1:t.dataLen>e.dataLen?1:0}function i(t,e,n){return function(t,e){for(var n=[],r=0;r<e.length;r++)for(var i=function(t,e){if(t.navId){var n=e.getNavByIdOrName(t.navId);return n?[n]:[]}return e.getRootNavs()}(e[r].navGroup,t),s=0,a=e[r].segments;s<a.length;s++){var u=a[s];if(1===i.length)n.push(o(u,i[0])),i=i[0].getActiveChildNavs();else{if(!(i.length>1))break;n.push(o(u,i[i.length-1])),i=i[i.length-1].getActiveChildNavs()}}return n}(t,function(t,e){return function(t,e){for(var n=[],r=new Set,i=0,o=t;i<o.length;i++){for(var s=o[i],a=[],u=s.segmentPieces.concat([]),d=u.length;d>=0;d--){for(var h=!1,f=0;f<d;f++){for(var p=d-f-1,m=d,_=u.slice(p,m),g=0,v=e;g<v.length;g++){var y=v[g];if(!r.has(y.name)){var b=function(t,e){if(e.segmentPartsLen!==t.length)return null;for(var n=0;n<t.length;n++)if(!l(t[n],e.segmentParts[n]))return null;return{id:t.join("/"),name:e.name,component:e.component,loadChildren:e.loadChildren,data:c(t,e),defaultHistory:e.defaultHistory}}(_,y);if(b){d=p+1,r.add(y.name),h=!0,a.push(b);for(var w=p;w<m;w++)u[w]=null;break}}}if(h)break}!h&&u[d-1]&&a.push({id:null,name:null,secondaryId:u[d-1],component:null,loadChildren:null,data:null,defaultHistory:null})}for(var S=a.reverse(),d=0;d<S.length;d++)S[d].secondaryId&&!S[d].id&&d+1<=S.length-1&&(S[d+1].secondaryId=S[d].secondaryId,S[d]=null);var T=a.filter(function(t){return!!t});s.secondaryId&&a.length&&(T[0].secondaryId=s.secondaryId),n.push({navGroup:s,segments:T})}return n}(function(t){return t.map(function(t){var e=t.split("/");return"nav"===e[0]?{type:"nav",navId:e[1],niceId:e[1],secondaryId:null,segmentPieces:e.splice(2)}:"tabs"===e[0]?{type:"tabs",navId:e[1],niceId:e[1],secondaryId:e[2],segmentPieces:e.splice(3)}:{type:null,navId:null,niceId:null,secondaryId:null,segmentPieces:e}})}(function(t){for(var e=t.split("/"),n=[],r=0;r<e.length;r++)0===r||"nav"!==e[r]&&"tabs"!==e[r]||n.push(r);n.push(e.length);var i=[],o=0,s=[];for(r=0;r<e.length;r++)r>=n[o]&&(i.push(s.join("/")),s=[],o++),s.push(e[r]);return i.push(s.join("/")),i}(t)),e)}(e,n))}function o(t,e){var n=Object.assign({},t);return n.type=e.getType(),n.navId=e.name||e.id,n.secondaryId=t.secondaryId,n}n.d(e,"b",function(){return u}),e.c=function(t){for(t=(t=t.replace(f,"-")).charAt(0).toLowerCase()+t.substring(1).replace(/[A-Z]/g,function(t){return"-"+t.toLowerCase()});t.indexOf("--")>-1;)t=t.replace("--","-");return"-"===t.charAt(0)&&(t=t.substring(1)),"-"===t.substring(t.length-1)&&(t=t.substring(0,t.length-1)),encodeURIComponent(t)},n.d(e,"a",function(){return p}),e.d=function(t,e){return new u(t,e)};var s=n(1),a=n(11),u=function(){function t(t,e){this._app=t,this.links=e&&Object(a.e)(e.links)?h(e.links):[]}return t.prototype.parse=function(t){return"/"===t.charAt(0)&&(t=t.substr(1)),t=t.split("?")[0].split("#")[0],i(this._app,t,this.links)},t.prototype.createSegmentFromName=function(t,e){var n=this.getLinkFromName(e);return n?this._createSegment(this._app,t,n,null):null},t.prototype.getLinkFromName=function(t){return this.links.find(function(e){return e.component===t||e.name===t})},t.prototype.serialize=function(t){if(!t||!t.length)return"/";return t.map(function(t){return"tabs"===t.type?t.requiresExplicitNavPrefix?"/"+t.type+"/"+t.navId+"/"+t.secondaryId+"/"+t.id:"/"+t.secondaryId+"/"+t.id:t.requiresExplicitNavPrefix?"/"+t.type+"/"+t.navId+"/"+t.id:"/"+t.id}).join("")},t.prototype.serializeComponent=function(t,e,n){if(e){var r=d(this.links,e,n);if(r)return this._createSegment(this._app,t,r,n)}return null},t.prototype._createSegment=function(t,e,n,r){var i=n.segmentParts;if(Object(a.l)(r)){i=i.slice();var o=Object.keys(r),s=o.length;if(s)for(var u=0;u<i.length;u++)if(":"===i[u].charAt(0))for(var l=0;l<s;l++)if(i[u]===":"+o[l]){i[u]=encodeURIComponent(r[o[l]]);break}}var c=!0;return c=e.parent?e.parent&&e.parent.getAllChildNavs().length>1:t.getRootNavById(e.id)&&t.getRootNavs().length>1,{id:i.join("/"),name:n.name,component:n.component,loadChildren:n.loadChildren,data:r,defaultHistory:n.defaultHistory,navId:e.name||e.id,type:e.getType(),secondaryId:e.getSecondaryIdentifier(),requiresExplicitNavPrefix:c}},t}(),l=function(t,e){return!(!Object(a.l)(t)||!Object(a.l)(e))&&(":"===e.charAt(0)||t===e)},c=function(t,e){for(var n=null,r=0;r<e.segmentPartsLen;r++)":"===e.segmentParts[r].charAt(0)&&((n=n||{})[e.segmentParts[r].substring(1)]=decodeURIComponent(t[r]));return n},d=function(t,e,n){for(var r=null,i=-1,o=0;o<t.length;o++){var s=t[o];if(s.component===e){var u=0;if(n)for(var l=Object.keys(n),c=0;c<l.length;c++)Object(a.l)(s.dataKeys[l[c]])&&u++;else if(s.dataLen)continue;u>=i&&(r=s,i=u)}}return r},h=function(t){for(var e=0,n=t.length;e<n;e++){var i=t[e];Object(a.f)(i.segment)&&(i.segment=i.name),i.dataKeys={},i.segmentParts=i.segment.split("/"),i.segmentPartsLen=i.segmentParts.length,i.staticLen=i.dataLen=0;for(var o=!0,s=0;s<i.segmentPartsLen;s++)":"===i.segmentParts[s].charAt(0)?(i.dataLen++,o=!1,i.dataKeys[i.segmentParts[s].substring(1)]=!0):o&&i.staticLen++}return t.sort(r)},f=/\s+|\?|\!|\$|\,|\.|\+|\"|\'|\*|\^|\||\/|\\|\[|\]|#|%|`|>|<|;|:|@|&|=/g,p=new s.InjectionToken("USERLINKS")},,function(t,e,n){"use strict";n.d(e,"a",function(){return r});var r=function(){function t(){this.idValue=new Date,this.idlingValue=!1}return t.prototype.id=function(t){if(void 0!==t){if(!t)throw new Error("A value must be specified for the ID.");this.idValue=t}return this.idValue},t.prototype.idling=function(t){return void 0!==t&&(this.idlingValue=t),this.idlingValue},t.prototype.now=function(){return new Date},t.prototype.isExpired=function(){var t=this.last();return null!=t&&t<=this.now()},t}()},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(74),i=n(217),o=n(327),s=n(37),a=function(){function t(e,n){void 0===e?(this.size=0,this.bits=new Int32Array(1)):(this.size=e,this.bits=void 0===n||null===n?t.makeArray(e):n)}return t.prototype.getSize=function(){return this.size},t.prototype.getSizeInBytes=function(){return Math.floor((this.size+7)/8)},t.prototype.ensureCapacity=function(e){if(e>32*this.bits.length){var n=t.makeArray(e);r.default.arraycopy(this.bits,0,n,0,this.bits.length),this.bits=n}},t.prototype.get=function(t){return 0!=(this.bits[Math.floor(t/32)]&1<<(31&t))},t.prototype.set=function(t){this.bits[Math.floor(t/32)]|=1<<(31&t)},t.prototype.flip=function(t){this.bits[Math.floor(t/32)]^=1<<(31&t)},t.prototype.getNextSet=function(t){var e=this.size;if(t>=e)return e;var n=this.bits,r=Math.floor(t/32),o=n[r];o&=~((1<<(31&t))-1);for(var s=n.length;0===o;){if(++r===s)return e;o=n[r]}var a=32*r+i.default.numberOfTrailingZeros(o);return a>e?e:a},t.prototype.getNextUnset=function(t){var e=this.size;if(t>=e)return e;var n=this.bits,r=Math.floor(t/32),o=~n[r];o&=~((1<<(31&t))-1);for(var s=n.length;0===o;){if(++r===s)return e;o=~n[r]}var a=32*r+i.default.numberOfTrailingZeros(o);return a>e?e:a},t.prototype.setBulk=function(t,e){this.bits[Math.floor(t/32)]=e},t.prototype.setRange=function(t,e){if(e<t||t<0||e>this.size)throw new s.default;if(e!==t){e--;for(var n=Math.floor(t/32),r=Math.floor(e/32),i=this.bits,o=n;o<=r;o++){i[o]|=(2<<(o<r?31:31&e))-(1<<(o>n?0:31&t))}}},t.prototype.clear=function(){for(var t=this.bits.length,e=this.bits,n=0;n<t;n++)e[n]=0},t.prototype.isRange=function(t,e,n){if(e<t||t<0||e>this.size)throw new s.default;if(e===t)return!0;e--;for(var r=Math.floor(t/32),i=Math.floor(e/32),o=this.bits,a=r;a<=i;a++){var u=(2<<(a<i?31:31&e))-(1<<(a>r?0:31&t))&4294967295;if((o[a]&u)!==(n?u:0))return!1}return!0},t.prototype.appendBit=function(t){this.ensureCapacity(this.size+1),t&&(this.bits[Math.floor(this.size/32)]|=1<<(31&this.size)),this.size++},t.prototype.appendBits=function(t,e){if(e<0||e>32)throw new s.default("Num bits must be between 0 and 32");this.ensureCapacity(this.size+e);for(var n=e;n>0;n--)this.appendBit(1==(t>>n-1&1))},t.prototype.appendBitArray=function(t){var e=t.size;this.ensureCapacity(this.size+e);for(var n=0;n<e;n++)this.appendBit(t.get(n))},t.prototype.xor=function(t){if(this.size!==t.size)throw new s.default("Sizes don't match");for(var e=this.bits,n=0,r=e.length;n<r;n++)e[n]^=t.bits[n]},t.prototype.toBytes=function(t,e,n,r){for(var i=0;i<r;i++){for(var o=0,s=0;s<8;s++)this.get(t)&&(o|=1<<7-s),t++;e[n+i]=o}},t.prototype.getBitArray=function(){return this.bits},t.prototype.reverse=function(){for(var t=new Int32Array(this.bits.length),e=Math.floor((this.size-1)/32),n=e+1,r=this.bits,i=0;i<n;i++){var o=r[i];t[e-i]=o=(o=(o=(o=(o=o>>1&1431655765|(1431655765&o)<<1)>>2&858993459|(858993459&o)<<2)>>4&252645135|(252645135&o)<<4)>>8&16711935|(16711935&o)<<8)>>16&65535|(65535&o)<<16}if(this.size!==32*n){var s=32*n-this.size,a=t[0]>>>s;for(i=1;i<n;i++){var u=t[i];t[i-1]=a|=u<<32-s,a=u>>>s}t[n-1]=a}this.bits=t},t.makeArray=function(t){return new Int32Array(Math.floor((t+31)/32))},t.prototype.equals=function(e){if(!(e instanceof t))return!1;return this.size===e.size&&o.default.equals(this.bits,e.bits)},t.prototype.hashCode=function(){return 31*this.size+o.default.hashCode(this.bits)},t.prototype.toString=function(){for(var t="",e=0,n=this.size;e<n;e++)0==(7&e)&&(t+=" "),t+=this.get(e)?"X":".";return t},t.prototype.clone=function(){return new t(this.size,this.bits.slice())},t}();e.default=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(218),i=n(217),o=n(37),s=n(679);e.default=function(){function t(t,e,n){this.primitive=t,this.size=e,this.generatorBase=n;for(var i=new Int32Array(e),o=1,s=0;s<e;s++)i[s]=o,(o*=2)>=e&&(o^=t,o&=e-1);this.expTable=i;var a=new Int32Array(e);for(s=0;s<e-1;s++)a[i[s]]=s;this.logTable=a,this.zero=new r.default(this,Int32Array.from([0])),this.one=new r.default(this,Int32Array.from([1]))}return t.prototype.getZero=function(){return this.zero},t.prototype.getOne=function(){return this.one},t.prototype.buildMonomial=function(t,e){if(t<0)throw new o.default;if(0===e)return this.zero;var n=new Int32Array(t+1);return n[0]=e,new r.default(this,n)},t.addOrSubtract=function(t,e){return t^e},t.prototype.exp=function(t){return this.expTable[t]},t.prototype.log=function(t){if(0===t)throw new o.default;return this.logTable[t]},t.prototype.inverse=function(t){if(0===t)throw new s.default;return this.expTable[this.size-this.logTable[t]-1]},t.prototype.multiply=function(t,e){return 0===t||0===e?0:this.expTable[(this.logTable[t]+this.logTable[e])%(this.size-1)]},t.prototype.getSize=function(){return this.size},t.prototype.getGeneratorBase=function(){return this.generatorBase},t.prototype.toString=function(){return"GF(0x"+i.default.toHexString(this.primitive)+","+this.size+")"},t.prototype.equals=function(t){return t===this},t.AZTEC_DATA_12=new t(4201,4096,1),t.AZTEC_DATA_10=new t(1033,1024,1),t.AZTEC_DATA_6=new t(67,64,1),t.AZTEC_PARAM=new t(19,16,1),t.QR_CODE_FIELD_256=new t(285,256,0),t.DATA_MATRIX_FIELD_256=new t(301,256,1),t.AZTEC_DATA_8=t.DATA_MATRIX_FIELD_256,t.MAXICODE_FIELD_64=t.AZTEC_DATA_6,t}()},function(t,e,n){"use strict";n.d(e,"a",function(){return i});n(6);var r=n(652),i=(n(53),function(){function t(t,e,n){this._app=t,this.config=e,this.deepLinker=n}return t.prototype.create=function(t,e,n){return void 0===e&&(e={}),void 0===n&&(n={}),new r.a(this._app,t,e,n,this.config,this.deepLinker)},t}())},function(t,e,n){"use strict";n.d(e,"a",function(){return o});var r=n(0),i=n(73),o=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r.__extends)(e,t),e.prototype.isAvailable=function(){},e.prototype.show=function(t){},Object(r.__decorate)([Object(i.a)(),Object(r.__metadata)("design:type",Function),Object(r.__metadata)("design:paramtypes",[]),Object(r.__metadata)("design:returntype",Promise)],e.prototype,"isAvailable",null),Object(r.__decorate)([Object(i.a)(),Object(r.__metadata)("design:type",Function),Object(r.__metadata)("design:paramtypes",[Object]),Object(r.__metadata)("design:returntype",Promise)],e.prototype,"show",null),e=Object(r.__decorate)([Object(i.g)({pluginName:"FingerprintAIO",plugin:"cordova-plugin-fingerprint-aio",pluginRef:"Fingerprint",repo:"https://github.com/NiklasMerz/cordova-plugin-fingerprint-aio",platforms:["Android","iOS"]})],e)}(i.f)},function(t,e,n){"use strict";function r(t,e,n,r,i){window.ng2recaptchaloaded=function(){e(grecaptcha)};var o=document.createElement("script");o.innerHTML="";o.src=(r||"https://www.google.com/recaptcha/api.js")+"?render="+t+"&onload=ng2recaptchaloaded"+n,i&&(o.nonce=i),o.async=!0,o.defer=!0,document.head.appendChild(o)}Object.defineProperty(e,"__esModule",{value:!0});var i=n(12),o=n(1),s=n(20);e.RECAPTCHA_LANGUAGE=new o.InjectionToken("recaptcha-language"),e.RECAPTCHA_BASE_URL=new o.InjectionToken("recaptcha-base-url"),e.RECAPTCHA_NONCE=new o.InjectionToken("recaptcha-nonce-tag"),e.loadScript=r;e.RecaptchaLoaderService=function(){function t(e,n,r,o){this.platformId=e,this.language=n,this.baseUrl=r,this.nonce=o,this.init(),this.ready=i.isPlatformBrowser(this.platformId)?t.ready.asObservable():s.of()}return t.prototype.init=function(){if(!t.ready&&i.isPlatformBrowser(this.platformId)){var e=new s.BehaviorSubject(null);t.ready=e;r("explicit",function(t){return e.next(t)},this.language?"&hl="+this.language:"",this.baseUrl,this.nonce)}},t.ready=null,t.decorators=[{type:o.Injectable}],t}()},function(t,e,n){"use strict";n.d(e,"a",function(){return o});n(6);var r=n(26),i=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),o=function(t){function e(e,n,r,i,o){var s=t.call(this,e,n,r,"title")||this;return i&&i._setTitle(s),o&&o._setTitle(s),s}return i(e,t),e.prototype.getTitleText=function(){return this._elementRef.nativeElement.textContent},e}(r.a)},,,,function(t,e,n){"use strict";n.d(e,"a",function(){return o});n(6);var r=n(26),i=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),o=function(t){function e(e,n,r,i,o,s,a){var u=t.call(this,e,n,r,"label")||this;return u.type=""===i?"floating":""===o?"stacked":""===s?"fixed":""===a?"inset":null,u}return i(e,t),Object.defineProperty(e.prototype,"id",{get:function(){return this._id},set:function(t){this._id=t,t&&this.setElementAttribute("id",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"text",{get:function(){return this.getNativeElement().textContent||""},enumerable:!0,configurable:!0}),e}(r.a)},function(t,e,n){"use strict";n(1),n(6),n(30);var r=n(25),i=n(26),o=n(11),s=n(197),a=n(49),u=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),l=function(t){function e(e,n,i,o){var s=t.call(this,e,n.getNativeElement(),{maxAngle:20,threshold:5,zone:!1,domController:o,gesture:i.createGesture({name:r.c,priority:r.h,disableScroll:!0})})||this;return s.list=n,s.preSelectedContainer=null,s.selectedContainer=null,s.openContainer=null,s}return u(e,t),e.prototype.canStart=function(t){if(this.selectedContainer)return!1;var e=function(t){var e=t.target.closest("ion-item-sliding");return e?e.$ionComponent:null}(t);if(!e)return this.closeOpened(),!1;e!==this.openContainer&&this.closeOpened();var n=Object(a.f)(t);return this.preSelectedContainer=e,this.firstCoordX=n.x,this.firstTimestamp=Date.now(),!0},e.prototype.onDragStart=function(t){t.preventDefault();var e=Object(a.f)(t);this.selectedContainer=this.openContainer=this.preSelectedContainer,this.selectedContainer.startSliding(e.x)},e.prototype.onDragMove=function(t){t.preventDefault(),this.selectedContainer.moveSliding(Object(a.f)(t).x)},e.prototype.onDragEnd=function(t){t.preventDefault();var e=Object(a.f)(t).x-this.firstCoordX,n=Date.now()-this.firstTimestamp;this.selectedContainer.endSliding(e/n),this.selectedContainer=null,this.preSelectedContainer=null},e.prototype.notCaptured=function(t){(function(t){return!!t.target.closest("ion-item-options>button")})(t)||this.closeOpened()},e.prototype.closeOpened=function(){return this.selectedContainer=null,!!this.openContainer&&(this.openContainer.close(),this.openContainer=null,!0)},e.prototype.destroy=function(){t.prototype.destroy.call(this),this.closeOpened(),this.list=null,this.preSelectedContainer=null,this.selectedContainer=null,this.openContainer=null},e}(s.a);n(16);n.d(e,"a",function(){return d});var c=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),d=function(t){function e(e,n,r,i,o,s){var a=t.call(this,e,n,r,"list")||this;return a._plt=i,a._gestureCtrl=o,a._domCtrl=s,a._enableSliding=!0,a._containsSlidingItems=!1,a}return c(e,t),Object.defineProperty(e.prototype,"sliding",{get:function(){return this._enableSliding},set:function(t){this._enableSliding=Object(o.o)(t),this._updateSlidingState()},enumerable:!0,configurable:!0}),e.prototype.containsSlidingItem=function(t){this._containsSlidingItems=t,this._updateSlidingState()},e.prototype._updateSlidingState=function(){this._enableSliding&&this._containsSlidingItems?this._slidingGesture||(this._slidingGesture=new l(this._plt,this,this._gestureCtrl,this._domCtrl),this._slidingGesture.listen()):(this._slidingGesture&&this._slidingGesture.destroy(),this._slidingGesture=null)},e.prototype.closeSlidingItems=function(){this._slidingGesture&&this._slidingGesture.closeOpened()},e.prototype.destroy=function(){this._slidingGesture&&this._slidingGesture.destroy()},e}(i.a)},function(t,e,n){"use strict";n.d(e,"a",function(){return i});var r=n(1),i=(n(67),n(30),function(){function t(t,e,n,i){this._content=t,this._zone=e,this._elementRef=n,this._dom=i,this._lastCheck=0,this._highestY=0,this._thr="15%",this._thrPx=0,this._thrPc=.15,this._position=l,this._init=!1,this.state=o,this.ionInfinite=new r.EventEmitter,t.setElementClass("has-infinite-scroll",!0)}return Object.defineProperty(t.prototype,"threshold",{get:function(){return this._thr},set:function(t){this._thr=t,t.indexOf("%")>-1?(this._thrPx=0,this._thrPc=parseFloat(t)/100):(this._thrPx=parseFloat(t),this._thrPc=0)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"enabled",{set:function(t){this.enable(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"position",{get:function(){return this._position},set:function(t){t===u||t===l?this._position=t:console.error("Invalid value for ion-infinite-scroll's position input. Its value should be '"+l+"' or '"+u+"'.")},enumerable:!0,configurable:!0}),t.prototype._onScroll=function(t){var e=this;if(this.state===a||this.state===s)return 1;if(this._lastCheck+32>t.timeStamp)return 2;this._lastCheck=t.timeStamp;var n=this._elementRef.nativeElement.scrollHeight;if(!n)return 3;var r=this._content.getContentDimensions(),i=r.contentHeight,o=this._thrPc?i*this._thrPc:this._thrPx;return(this._position===l?r.scrollHeight-n-r.scrollTop-i-o:r.scrollTop-n-o)<0?(this._dom.write(function(){e._zone.run(function(){e.state!==a&&e.state!==s&&(e.state=a,e.ionInfinite.emit(e))})}),5):6},t.prototype.complete=function(){var t=this;if(this.state===a)if(this._position!==l){var e=this._content.getContentDimensions();this._dom.read(function(){var n=t._content.getContentDimensions().scrollHeight-(e.scrollHeight-e.scrollTop);t._dom.write(function(){t._content.scrollTop=n,t.state=o})})}else this.state=o},t.prototype.waitFor=function(t){var e=this.complete.bind(this);t.then(e,e)},t.prototype.enable=function(t){this.state=t?o:s,this._setListeners(t)},t.prototype._setListeners=function(t){this._init&&(t?this._scLsn||(this._scLsn=this._content.ionScroll.subscribe(this._onScroll.bind(this))):(this._scLsn&&this._scLsn.unsubscribe(),this._scLsn=null))},t.prototype.ngAfterContentInit=function(){this._init=!0,this._setListeners(this.state!==s),this._position===u&&(this._content.scrollDownOnLoad=!0)},t.prototype.ngOnDestroy=function(){this._setListeners(!1)},t}()),o="enabled",s="disabled",a="loading",u="top",l="bottom"},function(t,e,n){"use strict";n.d(e,"a",function(){return o});var r=n(1),i=(n(288),n(11)),o=function(){function t(t,e,n){this._renderer=t,this._elementRef=e,this._cd=n,this._disabled=!1,this._btns=[],this._ids=-1,this._init=!1,this.ionChange=new r.EventEmitter,this.id=++s}return Object.defineProperty(t.prototype,"disabled",{get:function(){return this._disabled},set:function(t){this._disabled=Object(i.o)(t)},enumerable:!0,configurable:!0}),t.prototype.ngAfterContentInit=function(){var t=this._btns.find(function(t){return t.checked});t&&this._setActive(t)},t.prototype.writeValue=function(t){this.value=t,this._init&&(this._update(),this.onTouched(),this.ionChange.emit(t)),this._init=!0},t.prototype.registerOnChange=function(t){var e=this;this._fn=t,this.onChange=function(n){t(n),e.value=n,e._update(),e.onTouched(),e.ionChange.emit(n)}},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype._update=function(){var t=this,e=!1;this._btns.forEach(function(n){n.checked=Object(i.g)(t.value,n.value)&&!e,n.checked&&(t._setActive(n),e=!0)})},t.prototype._setActive=function(t){this._renderer.setElementAttribute(this._elementRef.nativeElement,"aria-activedescendant",t.id)},t.prototype.add=function(t){var e=this;return this._btns.push(t),t.ionSelect.subscribe(function(t){e.onChange(t)}),this.id+"-"+ ++this._ids},t.prototype.remove=function(t){var e=this._btns.indexOf(t);e>-1&&(t.value===this.value&&(this.value=null),this._btns.splice(e,1))},Object.defineProperty(t.prototype,"_header",{set:function(t){t&&(t.id||(t.id="rg-hdr-"+this.id),this._renderer.setElementAttribute(this._elementRef.nativeElement,"aria-describedby",t.id))},enumerable:!0,configurable:!0}),t.prototype.onChange=function(t){this.value=t,this._update(),this.onTouched(),this.ionChange.emit(t),this._cd.detectChanges()},t.prototype.onTouched=function(){},t.prototype.setDisabledState=function(t){this.disabled=t},t}(),s=-1},,,function(t,e,n){"use strict";var r=n(0).__extends,i=n(23),o=n(24);e.mergeMap=function(t,e,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),function(r){return"number"==typeof e&&(n=e,e=null),r.lift(new s(t,e,n))}};var s=function(){function t(t,e,n){void 0===n&&(n=Number.POSITIVE_INFINITY),this.project=t,this.resultSelector=e,this.concurrent=n}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.project,this.resultSelector,this.concurrent))},t}();e.MergeMapOperator=s;var a=function(t){function e(e,n,r,i){void 0===i&&(i=Number.POSITIVE_INFINITY),t.call(this,e),this.project=n,this.resultSelector=r,this.concurrent=i,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}return r(e,t),e.prototype._next=function(t){this.active<this.concurrent?this._tryNext(t):this.buffer.push(t)},e.prototype._tryNext=function(t){var e,n=this.index++;try{e=this.project(t,n)}catch(t){return void this.destination.error(t)}this.active++,this._innerSub(e,t,n)},e.prototype._innerSub=function(t,e,n){this.add(i.subscribeToResult(this,t,e,n))},e.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete()},e.prototype.notifyNext=function(t,e,n,r,i){this.resultSelector?this._notifyResultSelector(t,e,n,r):this.destination.next(e)},e.prototype._notifyResultSelector=function(t,e,n,r){var i;try{i=this.resultSelector(t,e,n,r)}catch(t){return void this.destination.error(t)}this.destination.next(i)},e.prototype.notifyComplete=function(t){var e=this.buffer;this.remove(t),this.active--,e.length>0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},e}(o.OuterSubscriber);e.MergeMapSubscriber=a},function(t,e,n){"use strict";function r(t){var e=t.Symbol;if("function"==typeof e)return e.iterator||(e.iterator=e("iterator polyfill")),e.iterator;var n=t.Set;if(n&&"function"==typeof(new n)["@@iterator"])return"@@iterator";var r=t.Map;if(r)for(var i=Object.getOwnPropertyNames(r.prototype),o=0;o<i.length;++o){var s=i[o];if("entries"!==s&&"size"!==s&&r.prototype[s]===r.prototype.entries)return s}return"@@iterator"}var i=n(56);e.symbolIteratorPonyfill=r,e.iterator=r(i.root),e.$$iterator=e.iterator},function(t,e,n){"use strict";var r=n(0).__extends,i=n(56),o=n(941);e.AsyncAction=function(t){function e(e,n){t.call(this,e,n),this.scheduler=e,this.work=n,this.pending=!1}return r(e,t),e.prototype.schedule=function(t,e){if(void 0===e&&(e=0),this.closed)return this;this.state=t,this.pending=!0;var n=this.id,r=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(r,n,e)),this.delay=e,this.id=this.id||this.requestAsyncId(r,this.id,e),this},e.prototype.requestAsyncId=function(t,e,n){return void 0===n&&(n=0),i.root.setInterval(t.flush.bind(t,this),n)},e.prototype.recycleAsyncId=function(t,e,n){if(void 0===n&&(n=0),null!==n&&this.delay===n&&!1===this.pending)return e;i.root.clearInterval(e)},e.prototype.execute=function(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var n=this._execute(t,e);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},e.prototype._execute=function(t,e){var n=!1,r=void 0;try{this.work(t)}catch(t){n=!0,r=!!t&&t||new Error(t)}if(n)return this.unsubscribe(),r},e.prototype._unsubscribe=function(){var t=this.id,e=this.scheduler,n=e.actions,r=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==r&&n.splice(r,1),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null},e}(o.Action)},function(t,e,n){"use strict";var r=n(0).__extends,i=n(942);e.AsyncScheduler=function(t){function e(){t.apply(this,arguments),this.actions=[],this.active=!1,this.scheduled=void 0}return r(e,t),e.prototype.flush=function(t){var e=this.actions;if(this.active)e.push(t);else{var n;this.active=!0;do{if(n=t.execute(t.state,t.delay))break}while(t=e.shift());if(this.active=!1,n){for(;t=e.shift();)t.unsubscribe();throw n}}},e}(i.Scheduler)},function(t,e,n){"use strict";var r=n(81);e.isNumeric=function(t){return!r.isArray(t)&&t-parseFloat(t)+1>=0}},function(t,e,n){"use strict";var r=n(72),i=n(255),o=n(122),s=n(263);e.concat=function(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];return 1===t.length||2===t.length&&r.isScheduler(t[1])?o.from(t[0]):s.concatAll()(i.of.apply(void 0,t))}},function(t,e,n){"use strict";var r=n(2);e.Notification=function(){function t(t,e,n){this.kind=t,this.value=e,this.error=n,this.hasValue="N"===t}return t.prototype.observe=function(t){switch(this.kind){case"N":return t.next&&t.next(this.value);case"E":return t.error&&t.error(this.error);case"C":return t.complete&&t.complete()}},t.prototype.do=function(t,e,n){switch(this.kind){case"N":return t&&t(this.value);case"E":return e&&e(this.error);case"C":return n&&n()}},t.prototype.accept=function(t,e,n){return t&&"function"==typeof t.next?this.observe(t):this.do(t,e,n)},t.prototype.toObservable=function(){switch(this.kind){case"N":return r.Observable.of(this.value);case"E":return r.Observable.throw(this.error);case"C":return r.Observable.empty()}throw new Error("unexpected notification kind value")},t.createNext=function(e){return void 0!==e?new t("N",e):t.undefinedValueNotification},t.createError=function(e){return new t("E",void 0,e)},t.createComplete=function(){return t.completeNotification},t.completeNotification=new t("C"),t.undefinedValueNotification=new t("N",void 0),t}()},function(t,e,n){"use strict";var r=n(0).__extends,i=function(t){function e(){var e=t.call(this,"argument out of range");this.name=e.name="ArgumentOutOfRangeError",this.stack=e.stack,this.message=e.message}return r(e,t),e}(Error);e.ArgumentOutOfRangeError=i},function(t,e,n){"use strict";var r=n(0).__extends,i=n(15);e.map=function(t,e){return function(n){if("function"!=typeof t)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new o(t,e))}};var o=function(){function t(t,e){this.project=t,this.thisArg=e}return t.prototype.call=function(t,e){return e.subscribe(new s(t,this.project,this.thisArg))},t}();e.MapOperator=o;var s=function(t){function e(e,n,r){t.call(this,e),this.project=n,this.count=0,this.thisArg=r||this}return r(e,t),e.prototype._next=function(t){var e;try{e=this.project.call(this.thisArg,t,this.count++)}catch(t){return void this.destination.error(t)}this.destination.next(e)},e}(i.Subscriber)},function(t,e,n){"use strict";var r=n(269),i=n(270),o=n(265),s=n(258);e.reduce=function(t,e){return arguments.length>=2?function(n){return s.pipe(r.scan(t,e),i.takeLast(1),o.defaultIfEmpty(e))(n)}:function(e){return s.pipe(r.scan(function(e,n,r){return t(e,n,r+1)}),i.takeLast(1))(e)}}},function(t,e,n){"use strict";n.d(e,"a",function(){return r}),n.d(e,"c",function(){return i}),n.d(e,"b",function(){return o}),n.d(e,"d",function(){return s});var r=1,i=2,o=3,s=4},function(t,e,n){"use strict";var r=n(1),i=n(11),o=(n(6),n(30),n(94),n(16),n(49)),s=n(100);n.d(e,"a",function(){return a});var a=function(){function t(t,e,n,i,o,a,u){this._plt=e,this.elementRef=n,this._zone=i,this._haptic=o,this.y=0,this.pos=[],this.startY=null,this.ionChange=new r.EventEmitter,this.events=new s.a(a),this.rotateFactor=t.getNumber("pickerRotateFactor",0),this.scaleFactor=t.getNumber("pickerScaleFactor",1),this.decelerateFunc=this.decelerate.bind(this),this.debouncer=u.debouncer()}return t.prototype.ngAfterViewInit=function(){var t=this.colEle.nativeElement;this.colHeight=t.clientHeight,this.optHeight=t.firstElementChild?t.firstElementChild.clientHeight:0,this.events.pointerEvents({element:this.elementRef.nativeElement,pointerDown:this.pointerStart.bind(this),pointerMove:this.pointerMove.bind(this),pointerUp:this.pointerEnd.bind(this),capture:!0,zone:!1})},t.prototype.ngOnDestroy=function(){this._plt.cancelRaf(this.rafId),this.events.destroy()},t.prototype.pointerStart=function(t){this._haptic.gestureSelectionStart(),t.preventDefault(),this._plt.cancelRaf(this.rafId),this.startY=Object(o.f)(t).y,this.velocity=0,this.pos.length=0,this.pos.push(this.startY,Date.now());for(var e=this.col.options,n=e.length-1,r=0,i=0;i<e.length;i++)e[i].disabled||(n=Math.min(n,i),r=Math.max(r,i));return this.minY=n*this.optHeight*-1,this.maxY=r*this.optHeight*-1,!0},t.prototype.pointerMove=function(t){var e=this;t.preventDefault(),t.stopPropagation();var n=Object(o.f)(t).y;this.pos.push(n,Date.now()),this.debouncer.write(function(){if(null!==e.startY){var t=e.y+(n-e.startY);t>e.minY?(t=Math.pow(t,.8),e.bounceFrom=t):t<e.maxY?(t+=Math.pow(e.maxY-t,.9),e.bounceFrom=t):e.bounceFrom=0,e.update(t,0,!1,!1);var r=Math.max(Math.abs(Math.round(t/e.optHeight)),0);r!==e.lastTempIndex&&(e._haptic.gestureSelectionChanged(),e.lastTempIndex=r)}})},t.prototype.pointerEnd=function(t){if(t.preventDefault(),this.debouncer.cancel(),null!==this.startY)if(this.velocity=0,this.bounceFrom>0)this.update(this.minY,100,!0,!0);else if(this.bounceFrom<0)this.update(this.maxY,100,!0,!0);else{var e=Object(o.f)(t).y;this.pos.push(e,Date.now());for(var n=this.pos.length-1,r=n,s=Date.now()-100,a=n;a>0&&this.pos[a]>s;a-=2)r=a;if(r!==n){var u=(this.pos[r-1]-this.pos[n-1])/(this.pos[n]-this.pos[r])*(1e3/60);this.velocity=Object(i.a)(-60,u,60)}if(Math.abs(e-this.startY)>3){this.update(this.y+(e-this.startY),0,!0,!0)}this.startY=null,this.decelerate()}},t.prototype.decelerate=function(){var t=0;if(isNaN(this.y)||!this.optHeight)this.update(t,0,!0,!0),this._haptic.gestureSelectionEnd();else if(Math.abs(this.velocity)>0){this.velocity*=.97,this.velocity=this.velocity>0?Math.max(this.velocity,1):Math.min(this.velocity,-1),(t=Math.round(this.y-this.velocity))>this.minY?(t=this.minY,this.velocity=0):t<this.maxY&&(t=this.maxY,this.velocity=0);var e=t%this.optHeight!=0||Math.abs(this.velocity)>1;this.update(t,0,!0,!e),e&&(this.rafId=this._plt.raf(this.decelerateFunc))}else if(this.y%this.optHeight!=0){var n=Math.abs(this.y%this.optHeight);this.velocity=n>this.optHeight/2?1:-1,this._haptic.gestureSelectionEnd(),this.decelerate()}var r=Math.max(Math.abs(Math.round(t/this.optHeight)),0);r!==this.lastTempIndex&&this._haptic.gestureSelectionChanged(),this.lastTempIndex=r},t.prototype.optClick=function(t,e){this.velocity||(t.preventDefault(),t.stopPropagation(),this.setSelected(e,150))},t.prototype.setSelected=function(t,e){var n=t>-1?t*this.optHeight*-1:0;this._plt.cancelRaf(this.rafId),this.velocity=0,this.update(n,e,!0,!0)},t.prototype.update=function(t,e,n,r){t=Math.round(t);var i,o,s,a,u,l,c,d,h,f,p=this.colEle.nativeElement.children,m=p.length,_=this.col.selectedIndex=Math.min(Math.max(Math.round(-t/this.optHeight),0),m-1),g=0===e?null:e+"ms",v="scale("+this.scaleFactor+")";for(i=0;i<m;i++)o=p[i],s=this.col.options[i],a=i*this.optHeight+t,u=!0,h="",0!==this.rotateFactor?(d=a*this.rotateFactor,Math.abs(d)>90?u=!1:(0,l=0,c=90,h="rotateX("+d+"deg) ")):(0,c=0,l=a,Math.abs(l)>170&&(u=!1)),f=_===i,u?(h+="translate3d(0px,"+l+"px,"+c+"px) ",1===this.scaleFactor||f||(h+=v)):h="translate3d(-9999px,0px,0px)",e!==s._dur&&(s._dur=e,o.style[this._plt.Css.transitionDuration]=g),h!==s._trans&&(s._trans=h,o.style[this._plt.Css.transform]=h),f!==s._selected&&(s._selected=f,f?o.classList.add("picker-opt-selected"):o.classList.remove("picker-opt-selected"));if(this.col.prevSelected=_,n&&(this.y=t),r)if(void 0===this.lastIndex)this.lastIndex=this.col.selectedIndex;else if(this.lastIndex!==this.col.selectedIndex){this.lastIndex=this.col.selectedIndex;var y=this.ionChange;y.observers.length>0&&this._zone.run(y.emit.bind(y,this.col.options[this.col.selectedIndex]))}},t.prototype.refresh=function(){for(var t=this.col.options.length-1,e=0,n=this.col.options,r=0;r<n.length;r++)n[r].disabled||(t=Math.min(t,r),e=Math.max(e,r));var o=Object(i.a)(t,this.col.selectedIndex,e);if(this.col.prevSelected!==o){var s=o*this.optHeight*-1;this._plt.cancelRaf(this.rafId),this.velocity=0,this.update(s,150,!0,!1)}},t}()},function(t,e,n){"use strict";n.d(e,"a",function(){return o});n(6),n(53),n(30),n(25),n(63);var r=n(196),i=(n(16),n(101),n(18),this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}()),o=function(t){function e(e,n,r,i,o,s,a,u,l,c,d,h,f,p){var m=t.call(this,n,r,i,o,s,a,u,l,c,d,h,f,p)||this;return m._hasInit=!1,e&&e._setContent(m),n?n.registerChildNav(m):e&&e.getNav()?(m.parent=e.getNav(),m.parent.registerChildNav(m)):r&&!r.getRootNavById(m.id)&&r.registerRootNav(m),m}return i(e,t),Object.defineProperty(e.prototype,"_vp",{set:function(t){this.setViewport(t)},enumerable:!0,configurable:!0}),e.prototype.ngAfterViewInit=function(){var t=this;this._hasInit=!0;var e=this._linker.getSegmentByNavIdOrName(this.id,this.name);if(e&&(e.component||e.loadChildren))return this._linker.initViews(e).then(function(e){return t.setPages(e,null,null)});if(this._root){var n=!e;return this.push(this._root,this.rootParams,{isNavRoot:this._app.getRootNavById(this.id)===this,updateUrl:n},null)}},Object.defineProperty(e.prototype,"root",{get:function(){return this._root},set:function(t){this._root=t,this._hasInit&&this.setRoot(t)},enumerable:!0,configurable:!0}),e.prototype.ngOnDestroy=function(){this.destroy()},e.prototype.initPane=function(){return this._elementRef.nativeElement.hasAttribute("main")},e.prototype.paneChanged=function(t){t&&this.resize()},e.prototype.goToRoot=function(t){return this.setRoot(this._root,this.rootParams,t,null)},e.prototype.getType=function(){return"nav"},e.prototype.getSecondaryIdentifier=function(){return null},e}(r.a)},,,function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(673),i=n(674),o=n(675),s=n(676),a=n(35),u=n(328),l=n(114),c=n(65);e.BrowserCodeReader=function(){function t(t,e,n){void 0===e&&(e=500),this.reader=t,this.timeBetweenScansMillis=e,this.hints=n}return t.prototype.getVideoInputDevices=function(){return new Promise(function(t,e){navigator.mediaDevices.enumerateDevices().then(function(e){for(var n=new Array,r=0,o=0,s=e.length;o!==s;o++){var a=e[o];"videoinput"===a.kind&&(n.push(new i.VideoInputDevice(a.deviceId,a.label||"Video source "+r)),r++)}t(n)}).catch(function(t){e(t)})})},t.prototype.decodeFromInputVideoDevice=function(t,e){var n=this;this.reset(),this.prepareVideoElement(e);var r;return r=void 0===t?{video:{facingMode:"environment"}}:{video:{deviceId:{exact:t}}},new Promise(function(t,e){var i=function(){n.decodeOnceWithDelay(t,e)};navigator.mediaDevices.getUserMedia(r).then(function(t){return n.startDecodeFromStream(t,i)}).catch(function(t){return e(t)})})},t.prototype.startDecodeFromStream=function(t,e){this.stream=t,this.bindVideoSrc(this.videoElement,t),this.bindEvents(this.videoElement,e)},t.prototype.bindEvents=function(t,e){this.videoPlayingEventListener=e,t.addEventListener("playing",this.videoPlayingEventListener),this.videoLoadedMetadataEventListener=function(){return t.play()},t.addEventListener("loadedmetadata",this.videoLoadedMetadataEventListener)},t.prototype.decodeFromVideoSource=function(t,e){var n=this;return this.reset(),this.prepareVideoElement(e),new Promise(function(e,r){n.videoPlayEndedEventListener=function(){n.stopStreams(),r(new a.default)},n.videoElement.addEventListener("ended",n.videoPlayEndedEventListener),n.videoPlayingEventListener=function(){n.decodeOnceWithDelay(e,r)},n.videoElement.addEventListener("playing",n.videoPlayingEventListener),n.videoElement.setAttribute("autoplay","true"),n.videoElement.setAttribute("src",t)})},t.prototype.prepareVideoElement=function(t){t||"undefined"==typeof document||((t=document.createElement("video")).width=200,t.height=200),"string"==typeof t&&(t=this.getMediaElement(t,"video")),t.setAttribute("autoplay","true"),t.setAttribute("muted","true"),t.setAttribute("playsinline","true"),t.setAttribute("autofocus","true"),this.videoElement=t},t.prototype.getMediaElement=function(t,e){var n=document.getElementById(t);if(null===n)throw new u.default("element with id '"+t+"' not found");if(n.nodeName.toLowerCase()!==e.toLowerCase())throw new u.default("element with id '"+t+"' must be an "+e+" element");return n},t.prototype.decodeFromImage=function(t,e){var n=this;if(this.reset(),void 0===t&&void 0===e)throw new u.default("either imageElement with a src set or an url must be provided");return this.prepareImageElement(t),new Promise(function(t,r){if(void 0!==e)n.imageLoadedEventListener=function(){n.decodeOnce(t,r,!1,!0)},n.imageElement.addEventListener("load",n.imageLoadedEventListener),n.imageElement.src=e;else{if(!n.isImageLoaded(n.imageElement))throw new u.default("either src or a loaded img should be provided");n.decodeOnce(t,r,!1,!0)}})},t.prototype.isImageLoaded=function(t){return!!t.complete&&0!==t.naturalWidth},t.prototype.prepareImageElement=function(t){void 0===t&&((t=document.createElement("img")).width=200,t.height=200),"string"==typeof t&&(t=this.getMediaElement(t,"img")),this.imageElement=t},t.prototype.decodeOnceWithDelay=function(t,e){this.timeoutHandler=window.setTimeout(this.decodeOnce.bind(this,t,e),this.timeBetweenScansMillis)},t.prototype.decodeOnce=function(t,e,n,r){void 0===n&&(n=!0),void 0===r&&(r=!0);try{t(this.decode())}catch(i){n&&i instanceof a.default?this.decodeOnceWithDelay(t,e):r&&(i instanceof l.default||i instanceof c.default)?this.decodeOnceWithDelay(t,e):e(i)}},t.prototype.decode=function(){var t=this.createBinaryBitmap(this.videoElement||this.imageElement);return this.decodeBitmap(t)},t.prototype.createBinaryBitmap=function(t){void 0===this.canvasElementContext&&this.prepareCaptureCanvas(),this.drawImageOnCanvas(this.canvasElementContext,t);var e=new r.HTMLCanvasElementLuminanceSource(this.canvasElement),n=new s.default(e);return new o.default(n)},t.prototype.drawImageOnCanvas=function(t,e){t.drawImage(e,0,0)},t.prototype.decodeBitmap=function(t){return this.reader.decode(t,this.hints)},t.prototype.prepareCaptureCanvas=function(){if("undefined"==typeof document)return this.canvasElement=void 0,void(this.canvasElementContext=void 0);var t,e,n=document.createElement("canvas");void 0!==this.videoElement&&(t=this.videoElement.videoWidth,e=this.videoElement.videoHeight),t||e||void 0===this.imageElement||(t=this.imageElement.naturalWidth||this.imageElement.width,e=this.imageElement.naturalHeight||this.imageElement.height),n.style.width=t+"px",n.style.height=e+"px",n.width=t,n.height=e,this.canvasElement=n,this.canvasElementContext=n.getContext("2d")},t.prototype.stopStreams=function(){this.stream&&(this.stream.getVideoTracks().forEach(function(t){return t.stop()}),this.stream=void 0)},t.prototype.reset=function(){window.clearTimeout(this.timeoutHandler),this.stopStreams(),void 0!==this.videoPlayEndedEventListener&&void 0!==this.videoElement&&this.videoElement.removeEventListener("ended",this.videoPlayEndedEventListener),void 0!==this.videoPlayingEventListener&&void 0!==this.videoElement&&this.videoElement.removeEventListener("playing",this.videoPlayingEventListener),void 0!==this.videoElement&&(this.unbindVideoSrc(this.videoElement),this.videoElement=void 0),void 0!==this.videoPlayEndedEventListener&&void 0!==this.imageElement&&this.imageElement.removeEventListener("load",this.imageLoadedEventListener),void 0!==this.imageElement&&(this.imageElement.src=void 0,this.imageElement.removeAttribute("src"),this.imageElement=void 0),this.canvasElementContext=void 0,this.canvasElement=void 0},t.prototype.bindVideoSrc=function(t,e){try{t.srcObject=e}catch(n){t.src=window.URL.createObjectURL(e)}},t.prototype.unbindVideoSrc=function(t){try{t.srcObject=null}catch(e){t.src=""}},t}()},function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var i=n(159);e.default=function(t){function e(e){var n=t.call(this,e.getWidth(),e.getHeight())||this;return n.delegate=e,n}return r(e,t),e.prototype.getRow=function(t,e){for(var n=this.delegate.getRow(t,e),r=this.getWidth(),i=0;i<r;i++)n[i]=255-(255&n[i]);return n},e.prototype.getMatrix=function(){for(var t=this.delegate.getMatrix(),e=this.getWidth()*this.getHeight(),n=new Uint8ClampedArray(e),r=0;r<e;r++)n[r]=255-(255&t[r]);return n},e.prototype.isCropSupported=function(){return this.delegate.isCropSupported()},e.prototype.crop=function(t,n,r,i){return new e(this.delegate.crop(t,n,r,i))},e.prototype.isRotateSupported=function(){return this.delegate.isRotateSupported()},e.prototype.invert=function(){return this.delegate},e.prototype.rotateCounterClockwise=function(){return new e(this.delegate.rotateCounterClockwise())},e.prototype.rotateCounterClockwise45=function(){return new e(this.delegate.rotateCounterClockwise45())},e}(i.default)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(105),i=n(326);e.default=function(){function t(t,e){this.width=t,this.height=e}return t.prototype.getWidth=function(){return this.width},t.prototype.getHeight=function(){return this.height},t.prototype.isCropSupported=function(){return!1},t.prototype.crop=function(t,e,n,r){throw new i.default("This luminance source does not support cropping.")},t.prototype.isRotateSupported=function(){return!1},t.prototype.rotateCounterClockwise=function(){throw new i.default("This luminance source does not support rotation by 90 degrees.")},t.prototype.rotateCounterClockwise45=function(){throw new i.default("This luminance source does not support rotation by 45 degrees.")},t.prototype.toString=function(){for(var t=new Uint8ClampedArray(this.width),e=new r.default,n=0;n<this.height;n++){for(var i=this.getRow(n,t),o=0;o<this.width;o++){var s=255&i[o];e.append(s<64?"#":s<128?"+":s<192?".":" ")}e.append("\n")}return e.toString()},t}()},function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var i=n(69);e.default=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e}(i.default)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,i=n(65);!function(t){t[t.Cp437=0]="Cp437",t[t.ISO8859_1=1]="ISO8859_1",t[t.ISO8859_2=2]="ISO8859_2",t[t.ISO8859_3=3]="ISO8859_3",t[t.ISO8859_4=4]="ISO8859_4",t[t.ISO8859_5=5]="ISO8859_5",t[t.ISO8859_6=6]="ISO8859_6",t[t.ISO8859_7=7]="ISO8859_7",t[t.ISO8859_8=8]="ISO8859_8",t[t.ISO8859_9=9]="ISO8859_9",t[t.ISO8859_10=10]="ISO8859_10",t[t.ISO8859_11=11]="ISO8859_11",t[t.ISO8859_13=12]="ISO8859_13",t[t.ISO8859_14=13]="ISO8859_14",t[t.ISO8859_15=14]="ISO8859_15",t[t.ISO8859_16=15]="ISO8859_16",t[t.SJIS=16]="SJIS",t[t.Cp1250=17]="Cp1250",t[t.Cp1251=18]="Cp1251",t[t.Cp1252=19]="Cp1252",t[t.Cp1256=20]="Cp1256",t[t.UnicodeBigUnmarked=21]="UnicodeBigUnmarked",t[t.UTF8=22]="UTF8",t[t.ASCII=23]="ASCII",t[t.Big5=24]="Big5",t[t.GB18030=25]="GB18030",t[t.EUC_KR=26]="EUC_KR"}(r=e.CharacterSetValueIdentifiers||(e.CharacterSetValueIdentifiers={}));e.default=function(){function t(e,n,r){for(var i=[],o=3;o<arguments.length;o++)i[o-3]=arguments[o];this.valueIdentifier=e,this.name=r,this.values="number"==typeof n?Int32Array.from([n]):n,this.otherEncodingNames=i,t.VALUE_IDENTIFIER_TO_ECI.set(e,this),t.NAME_TO_ECI.set(r,this);for(var s=this.values,a=0,u=s.length;a!==u;a++){t.VALUES_TO_ECI.set(s[a],this)}for(var l=0,c=i;l<c.length;l++){t.NAME_TO_ECI.set(c[l],this)}}return t.prototype.getValueIdentifier=function(){return this.valueIdentifier},t.prototype.getName=function(){return this.name},t.prototype.getValue=function(){return this.values[0]},t.getCharacterSetECIByValue=function(e){if(e<0||e>=900)throw new i.default("incorect value");var n=t.VALUES_TO_ECI.get(e);if(void 0===n)throw new i.default("incorect value");return n},t.getCharacterSetECIByName=function(e){var n=t.NAME_TO_ECI.get(e);if(void 0===n)throw new i.default("incorect value");return n},t.prototype.equals=function(e){if(!(e instanceof t))return!1;var n=e;return this.getName()===n.getName()},t.VALUE_IDENTIFIER_TO_ECI=new Map,t.VALUES_TO_ECI=new Map,t.NAME_TO_ECI=new Map,t.Cp437=new t(r.Cp437,Int32Array.from([0,2]),"Cp437"),t.ISO8859_1=new t(r.ISO8859_1,Int32Array.from([1,3]),"ISO-8859-1","ISO88591","ISO8859_1"),t.ISO8859_2=new t(r.ISO8859_2,4,"ISO-8859-2","ISO88592","ISO8859_2"),t.ISO8859_3=new t(r.ISO8859_3,5,"ISO-8859-3","ISO88593","ISO8859_3"),t.ISO8859_4=new t(r.ISO8859_4,6,"ISO-8859-4","ISO88594","ISO8859_4"),t.ISO8859_5=new t(r.ISO8859_5,7,"ISO-8859-5","ISO88595","ISO8859_5"),t.ISO8859_6=new t(r.ISO8859_6,8,"ISO-8859-6","ISO88596","ISO8859_6"),t.ISO8859_7=new t(r.ISO8859_7,9,"ISO-8859-7","ISO88597","ISO8859_7"),t.ISO8859_8=new t(r.ISO8859_8,10,"ISO-8859-8","ISO88598","ISO8859_8"),t.ISO8859_9=new t(r.ISO8859_9,11,"ISO-8859-9","ISO88599","ISO8859_9"),t.ISO8859_10=new t(r.ISO8859_10,12,"ISO-8859-10","ISO885910","ISO8859_10"),t.ISO8859_11=new t(r.ISO8859_11,13,"ISO-8859-11","ISO885911","ISO8859_11"),t.ISO8859_13=new t(r.ISO8859_13,15,"ISO-8859-13","ISO885913","ISO8859_13"),t.ISO8859_14=new t(r.ISO8859_14,16,"ISO-8859-14","ISO885914","ISO8859_14"),t.ISO8859_15=new t(r.ISO8859_15,17,"ISO-8859-15","ISO885915","ISO8859_15"),t.ISO8859_16=new t(r.ISO8859_16,18,"ISO-8859-16","ISO885916","ISO8859_16"),t.SJIS=new t(r.SJIS,20,"SJIS","Shift_JIS"),t.Cp1250=new t(r.Cp1250,21,"Cp1250","windows-1250"),t.Cp1251=new t(r.Cp1251,22,"Cp1251","windows-1251"),t.Cp1252=new t(r.Cp1252,23,"Cp1252","windows-1252"),t.Cp1256=new t(r.Cp1256,24,"Cp1256","windows-1256"),t.UnicodeBigUnmarked=new t(r.UnicodeBigUnmarked,25,"UnicodeBigUnmarked","UTF-16BE","UnicodeBig"),t.UTF8=new t(r.UTF8,26,"UTF8","UTF-8"),t.ASCII=new t(r.ASCII,Int32Array.from([27,170]),"ASCII","US-ASCII"),t.Big5=new t(r.Big5,28,"Big5"),t.GB18030=new t(r.GB18030,29,"GB18030","GB2312","EUC_CN","GBK"),t.EUC_KR=new t(r.EUC_KR,30,"EUC_KR","EUC-KR"),t}()},function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});n(45);var i=n(62),o=n(84),s=n(116),a=n(50),u=n(88),l=n(1254),c=n(35),d=n(65),h=n(114);e.default=function(t){function e(){var n=t.call(this)||this;n.decodeRowStringBuffer="",n.decodeRowStringBuffer="",e.L_AND_G_PATTERNS=e.L_PATTERNS.map(function(t){return t.slice()});for(var r=10;r<20;r++){for(var i=e.L_PATTERNS[r-10],o=new Array(i.length),s=0;s<i.length;s++)o[s]=i[i.length-s-1];e.L_AND_G_PATTERNS[r]=o}return n}return r(e,t),e.findStartGuardPattern=function(t){for(var n=!1,r=null,i=0;!n;){var o=(r=e.findGuardPattern(t,i,!1,this.START_END_PATTERN,[0,0,0]))[0],s=o-((i=r[1])-o);s>=0&&(n=t.isRange(s,o,!1))}return r},e.prototype.decodeRow=function(t,n,r){var u=e.findStartGuardPattern(n),f=null==r?null:r.get(i.default.NEED_RESULT_POINT_CALLBACK);if(null!=f){var p=new a.default((u[0]+u[1])/2,t);f.foundPossibleResultPoint(p)}var m=this.decodeMiddle(n,u,this.decodeRowStringBuffer),_=m.rowOffset,g=m.resultString;if(null!=f){var v=new a.default(_,t);f.foundPossibleResultPoint(v)}var y=e.decodeEnd(n,_);if(null!=f){var b=new a.default((y[0]+y[1])/2,t);f.foundPossibleResultPoint(b)}var w=y[1],S=w+(w-y[0]);if(S>=n.getSize()||!n.isRange(w,S,!1))throw new c.default;var T=g.toString();if(T.length<8)throw new d.default;if(!e.checkChecksum(T))throw new h.default;var E=(u[1]+u[0])/2,M=(y[1]+y[0])/2,x=this.getBarcodeFormat(),C=[new a.default(E,t),new a.default(M,t)],O=new o.default(T,null,0,C,x,(new Date).getTime()),D=0;try{var k=l.default.decodeRow(t,n,y[1]);O.putMetadata(s.default.UPC_EAN_EXTENSION,k.getText()),O.putAllMetadata(k.getResultMetadata()),O.addResultPoints(k.getResultPoints()),D=k.getText().length}catch(t){}var L=null==r?null:r.get(i.default.ALLOWED_EAN_EXTENSIONS);if(null!=L){var A=!1;for(var I in L)if(D.toString()===I){A=!0;break}if(!A)throw new c.default}return O},e.checkChecksum=function(t){return e.checkStandardUPCEANChecksum(t)},e.checkStandardUPCEANChecksum=function(t){var n=t.length;if(0===n)return!1;var r=parseInt(t.charAt(n-1),10);return e.getStandardUPCEANChecksum(t.substring(0,n-1))===r},e.getStandardUPCEANChecksum=function(t){for(var e=t.length,n=0,r=e-1;r>=0;r-=2){if((i=t.charAt(r).charCodeAt(0)-"0".charCodeAt(0))<0||i>9)throw new d.default;n+=i}n*=3;for(r=e-2;r>=0;r-=2){var i;if((i=t.charAt(r).charCodeAt(0)-"0".charCodeAt(0))<0||i>9)throw new d.default;n+=i}return(1e3-n)%10},e.decodeEnd=function(t,n){return e.findGuardPattern(t,n,!1,e.START_END_PATTERN,new Array(e.START_END_PATTERN.length).fill(0))},e.findGuardPattern=function(t,n,r,i,o){for(var s=t.getSize(),a=0,l=n=r?t.getNextUnset(n):t.getNextSet(n),d=i.length,h=r,f=n;f<s;f++)if(t.get(f)!==h)o[a]++;else{if(a===d-1){if(u.default.patternMatchVariance(o,i,e.MAX_INDIVIDUAL_VARIANCE)<e.MAX_AVG_VARIANCE)return[l,f];l+=o[0]+o[1];for(var p=o.slice(2,o.length),m=0;m<a-1;m++)o[m]=p[m];o[a-1]=0,o[a]=0,a--}else a++;o[a]=1,h=!h}throw new c.default},e.decodeDigit=function(t,n,r,i){this.recordPattern(t,r,n);for(var o=this.MAX_AVG_VARIANCE,s=-1,a=i.length,l=0;l<a;l++){var d=u.default.patternMatchVariance(n,i[l],e.MAX_INDIVIDUAL_VARIANCE);d<o&&(o=d,s=l)}if(s>=0)return s;throw new c.default},e.MAX_AVG_VARIANCE=.48,e.MAX_INDIVIDUAL_VARIANCE=.7,e.START_END_PATTERN=[1,1,1],e.MIDDLE_PATTERN=[1,1,1,1,1],e.END_PATTERN=[1,1,1,1,1,1],e.L_PATTERNS=[[3,2,1,1],[2,2,2,1],[2,1,2,2],[1,4,1,1],[1,1,3,2],[1,2,3,1],[1,1,1,4],[1,3,1,2],[1,2,1,3],[3,1,1,2]],e}(u.default)},function(t,e,n){"use strict";n.d(e,"a",function(){return i});var r=n(284),i=(n(6),function(){function t(t,e){this._app=t,this.config=e}return t.prototype.create=function(t){return void 0===t&&(t={}),new r.a(this._app,t,this.config)},t}())},,function(t,e,n){"use strict";n.d(e,"a",function(){return o}),n.d(e,"c",function(){return i}),n.d(e,"b",function(){return s});var r=n(1),i=function(){function t(){this.fns=[],this.commands=[],this.ing=!1}return t.prototype.start=function(){!0!==this.ing&&(this.ing=!0,this.nextTime=+new Date,this.process())},t.prototype.process=function(){for(var t=this;this.commands.length;)this.commands.shift()();var e=+new Date-this.nextTime,n=1+Math.floor(e/100);e=100-e%100,this.nextTime+=100*n;var r,i,o,s;for(o=0,s=this.fns.length;o<s;o+=2)0===(r=this.fns[o+1])?this.fns[o](n):(r+=2*n-1,(i=Math.floor(r/20))>0&&this.fns[o](i),this.fns[o+1]=r%20+1);this.ing&&setTimeout(function(){return t.process()},e)},t.prototype.add=function(t,e){var n=this;this.commands.push(function(){n.fns.push(t),n.fns.push(1e3===e?1:0),n.ing=!0})},t.prototype.remove=function(t){var e=this;this.commands.push(function(){var n=e.fns.indexOf(t);-1!==n&&e.fns.splice(n,2),e.ing=e.fns.length>0})},t}(),o=function(){function t(t,e){this.el=t,this.timer=e,this.frequency=1e3,this._notify={},this.hands=[],this.left=0,this.paused=!1,this.stoped=!1,this.start=new r.EventEmitter,this.finished=new r.EventEmitter,this.notify=new r.EventEmitter,this.event=new r.EventEmitter}return t.prototype.begin=function(){this.paused=!1,this.start.emit(),this.callEvent("start")},t.prototype.restart=function(){this.stoped||this.destroy(),this.init(),this.callEvent("restart")},t.prototype.stop=function(){this.stoped||(this.stoped=!0,this.destroy(),this.callEvent("stop"))},t.prototype.pause=function(){this.stoped||this.paused||(this.paused=!0,this.callEvent("pause"))},t.prototype.resume=function(){!this.stoped&&this.paused&&(this.paused=!1,this.callEvent("resume"))},t.prototype.callEvent=function(t){this.event.emit({action:t,left:this.left})},t.prototype.init=function(){var t=this;t.config=Object.assign({demand:!1,leftTime:0,template:"$!h!时$!m!分$!s!秒",effect:"normal",varRegular:/\$\!([\-\w]+)\!/g,clock:["d",100,2,"h",24,2,"m",60,2,"s",60,2,"u",10,1]},t.config);var e=t.el.nativeElement;t.paused=t.config.demand,t.stoped=!1;var n=e.innerHTML||t.config.template;t.config.varRegular.lastIndex=0,e.innerHTML=n.replace(t.config.varRegular,function(e,n){"u"!==n&&"s-ext"!==n||(t.frequency=100);var r="";return"s-ext"===n?(t.hands.push({type:"s"}),t.hands.push({type:"u"}),r=t.html("","s","handlet")+t.html(".","","digital")+t.html("","u","handlet")):t.hands.push({type:n}),t.html(r,n,"hand")});var r=t.config.clock;t.hands.forEach(function(t){var n,i=t.type,o=100;for(t.node=e.querySelector(".hand-"+i),n=r.length-3;n>-1&&i!==r[n];n-=3)o*=r[n+1];t.base=o,t.radix=r[n+1],t.bits=r[n+2]}),t.getLeft(),t.reflow(0,!0);var i=t.reflow;return t.reflow=function(e){return void 0===e&&(e=0),i.apply(t,[e])},t.config.notify&&t.config.notify.forEach(function(e){if(e<1)throw new Error("the notify config must be a positive integer.");e*=1e3,t._notify[e-=e%t.frequency]=!0}),t.timer.add(t.reflow,t.frequency),e.style.display="inline",this.timer.start(),t},t.prototype.destroy=function(){return this.timer.remove(this.reflow),this},t.prototype.reflow=function(t,e){void 0===t&&(t=0),void 0===e&&(e=!1);var n=this;(e||!n.paused&&!n.stoped)&&(n.left=n.left-n.frequency*t,n.hands.forEach(function(t){t.lastValue=t.value,t.value=Math.floor(n.left/t.base)%t.radix}),n.repaint(),n._notify[n.left]&&(n.notify.emit(n.left),n.callEvent("notify")),n.left<1&&(n.finished.emit(0),n.stoped=!0,n.callEvent("finished"),n.destroy()))},t.prototype.repaint=function(){var t=this;if(t.config.repaint)t.config.repaint.apply(t);else{var e;t.hands.forEach(function(n){n.lastValue!==n.value&&(e="",t.toDigitals(n.value,n.bits).forEach(function(n){e+=t.html(n.toString(),"","digital")}),n.node.innerHTML=e)})}},t.prototype.getLeft=function(){var t=1e3*this.config.leftTime,e=this.config.stopTime;!t&&e&&(t=e-(new Date).getTime()),this.left=t-t%this.frequency},t.prototype.html=function(t,e,n){switch(n){case"hand":case"handlet":e=n+" hand-"+e;break;case"digital":e="."===t?n+" "+n+"-point "+e:n+" "+n+"-"+t+" "+e}return'<span class="'+e+'">'+t+"</span>"},t.prototype.toDigitals=function(t,e){t=t<0?0:t;for(var n=[];e--;)n[e]=t%10,t=Math.floor(t/10);return n},t.prototype.ngOnInit=function(){this.init(),this.config.demand||this.begin()},t.prototype.ngOnDestroy=function(){this.destroy()},t.prototype.ngOnChanges=function(t){t.config.firstChange||this.restart()},t}(),s=function(){return function(){}}()},function(t,e,n){"use strict";n.d(e,"a",function(){return o});n(6);var r=n(26),i=(n(18),this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}()),o=function(t){function e(e,n,r,i){var o=t.call(this,e,n,r,"header")||this;return i&&i._setHeader(o),o}return i(e,t),e}(r.a)},function(t,e,n){"use strict";n.d(e,"a",function(){return o});n(6);var r=n(26),i=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),o=function(t){function e(e,n,r,i,o){var s=t.call(this,e,n,r,"bar-buttons")||this;return s.inToolbar=!(!i&&!o),s}return i(e,t),Object.defineProperty(e.prototype,"_buttons",{set:function(t){this.inToolbar&&t.forEach(function(t){t.setRole("bar-button")})},enumerable:!0,configurable:!0}),e}(r.a)},function(t,e,n){"use strict";n.d(e,"a",function(){return r});var r=function(){return function(){}}()},,function(t,e,n){"use strict";n.d(e,"a",function(){return i});n(6);var r=n(646),i=function(){function t(t,e){this._app=t,this.config=e}return t.prototype.create=function(t){return void 0===t&&(t={}),new r.a(this._app,t,this.config)},t}()},,,,,function(t,e,n){"use strict";n.d(e,"a",function(){return r});n(6);var r=function(){function t(t,e){this.inf=t,this._config=e}return t.prototype.ngOnInit=function(){this.loadingSpinner||(this.loadingSpinner=this._config.get("infiniteLoadingSpinner",this._config.get("spinner","ios")))},t}()},,function(t,e,n){"use strict";n.d(e,"a",function(){return o});var r=n(0),i=n(73),o=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.Encode={TEXT_TYPE:"TEXT_TYPE",EMAIL_TYPE:"EMAIL_TYPE",PHONE_TYPE:"PHONE_TYPE",SMS_TYPE:"SMS_TYPE"},e}return Object(r.__extends)(e,t),e.prototype.scan=function(t){},e.prototype.encode=function(t,e){},Object(r.__decorate)([Object(i.a)({callbackOrder:"reverse"}),Object(r.__metadata)("design:type",Function),Object(r.__metadata)("design:paramtypes",[Object]),Object(r.__metadata)("design:returntype",Promise)],e.prototype,"scan",null),Object(r.__decorate)([Object(i.a)(),Object(r.__metadata)("design:type",Function),Object(r.__metadata)("design:paramtypes",[String,Object]),Object(r.__metadata)("design:returntype",Promise)],e.prototype,"encode",null),e=Object(r.__decorate)([Object(i.g)({pluginName:"BarcodeScanner",plugin:"phonegap-plugin-barcodescanner",pluginRef:"cordova.plugins.barcodeScanner",repo:"https://github.com/phonegap/phonegap-plugin-barcodescanner",platforms:["Android","BlackBerry 10","Browser","iOS","Windows"]})],e)}(i.f)},function(t,e,n){"use strict";n.d(e,"a",function(){return a});var r=n(1),i=(n(6),n(52),n(26)),o=n(11),s=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),a=function(t){function e(e,n,i,o,s,a){var u=t.call(this,n,i,o,"radio")||this;return u._form=e,u._item=s,u._group=a,u._checked=!1,u._disabled=!1,u._value=null,u.ionSelect=new r.EventEmitter,e.register(u),a&&(u.id="rb-"+a.add(u)),s&&(u.id="rb-"+s.registerInput("radio"),u._labelId="lbl-"+s.id,u._item.setElementClass("item-radio",!0)),u}return s(e,t),Object.defineProperty(e.prototype,"color",{set:function(t){this._setColor(t),this._item&&this._item._updateColor(t,"item-radio")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return Object(o.f)(this._value)?this.id:this._value},set:function(t){this._value=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"checked",{get:function(){return this._checked},set:function(t){this._checked=Object(o.o)(t),this._item&&this._item.setElementClass("item-radio-checked",this._checked)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"disabled",{get:function(){return this._disabled||null!=this._group&&this._group.disabled},set:function(t){this._disabled=Object(o.o)(t),this._item&&this._item.setElementClass("item-radio-disabled",this._disabled)},enumerable:!0,configurable:!0}),e.prototype.initFocus=function(){this._elementRef.nativeElement.querySelector("button").focus()},e.prototype._click=function(t){t.preventDefault(),t.stopPropagation(),this.checked=!0,this.ionSelect.emit(this.value)},e.prototype.ngOnInit=function(){this._group&&Object(o.l)(this._group.value)&&(this.checked=Object(o.g)(this._group.value,this.value)),this._group&&this._group.disabled&&(this.disabled=this._group.disabled)},e.prototype.ngOnDestroy=function(){this._form.deregister(this),this._group&&this._group.remove(this)},e}(i.a)},,,,function(t,e,n){"use strict";var r=n(1),i=(n(126),function(){function t(t){this.source=t}return t.prototype.subscribe=function(t){this.sub=this.source.onInterrupt.subscribe(t)},t.prototype.unsubscribe=function(){this.sub.unsubscribe(),this.sub=null},t.prototype.resume=function(){this.source.attach()},t.prototype.pause=function(){this.source.detach()},t}()),o=(n(325),n(215));n.d(e,"a",function(){return a});var s;!function(t){t[t.disabled=0]="disabled",t[t.idle=1]="idle",t[t.notIdle=2]="notIdle"}(s||(s={}));var a=function(){function t(t,e,n){this.expiry=t,this.zone=e,this.idle=1200,this.timeoutVal=30,this.autoResume=s.idle,this.interrupts=new Array,this.running=!1,this.keepaliveEnabled=!1,this.onIdleStart=new r.EventEmitter,this.onIdleEnd=new r.EventEmitter,this.onTimeoutWarning=new r.EventEmitter,this.onTimeout=new r.EventEmitter,this.onInterrupt=new r.EventEmitter,n&&(this.keepaliveSvc=n,this.keepaliveEnabled=!0),this.setIdling(!1)}return t.prototype.setIdleName=function(t){if(!(this.expiry instanceof o.a))throw new Error("Cannot set expiry key name because no LocalStorageExpiry has been provided.");this.expiry.setIdleName(t)},t.prototype.getKeepaliveEnabled=function(){return this.keepaliveEnabled},t.prototype.setKeepaliveEnabled=function(t){if(!this.keepaliveSvc)throw new Error("Cannot enable keepalive integration because no KeepaliveSvc has been provided.");return this.keepaliveEnabled=t},t.prototype.getTimeout=function(){return this.timeoutVal},t.prototype.setTimeout=function(t){if(!1===t)this.timeoutVal=0;else{if(!("number"==typeof t&&t>=0))throw new Error("'seconds' can only be 'false' or a positive number.");this.timeoutVal=t}return this.timeoutVal},t.prototype.getIdle=function(){return this.idle},t.prototype.setIdle=function(t){if(t<=0)throw new Error("'seconds' must be greater zero");return this.idle=t},t.prototype.getAutoResume=function(){return this.autoResume},t.prototype.setAutoResume=function(t){return this.autoResume=t},t.prototype.setInterrupts=function(t){this.clearInterrupts();for(var e=this,n=0,r=t;n<r.length;n++){var o=new i(r[n]);o.subscribe(function(t){e.interrupt(t.force,t.innerArgs)}),this.interrupts.push(o)}return this.interrupts},t.prototype.getInterrupts=function(){return this.interrupts},t.prototype.clearInterrupts=function(){for(var t=0,e=this.interrupts;t<e.length;t++){var n=e[t];n.pause(),n.unsubscribe()}this.interrupts.length=0},t.prototype.isRunning=function(){return this.running},t.prototype.isIdling=function(){return this.idling},t.prototype.watch=function(t){var e=this;this.safeClearInterval("idleHandle"),this.safeClearInterval("timeoutHandle");var n=this.timeoutVal?this.timeoutVal:0;if(!t){var r=new Date(this.expiry.now().getTime()+1e3*(this.idle+n));this.expiry.last(r)}this.idling&&this.toggleState(),this.running||(this.startKeepalive(),this.toggleInterrupts(!0)),this.running=!0;var i=function(){e.zone.run(function(){var t=e.getExpiryDiff(n);t>0?(e.safeClearInterval("idleHandle"),e.setIdleIntervalOutsideOfZone(i,t)):e.toggleState()})};this.setIdleIntervalOutsideOfZone(i,1e3*this.idle)},t.prototype.setIdleIntervalOutsideOfZone=function(t,e){var n=this;this.zone.runOutsideAngular(function(){n.idleHandle=setInterval(t,e)})},t.prototype.stop=function(){this.stopKeepalive(),this.toggleInterrupts(!1),this.safeClearInterval("idleHandle"),this.safeClearInterval("timeoutHandle"),this.setIdling(!1),this.running=!1,this.expiry.last(null)},t.prototype.timeout=function(){this.stopKeepalive(),this.toggleInterrupts(!1),this.safeClearInterval("idleHandle"),this.safeClearInterval("timeoutHandle"),this.setIdling(!0),this.running=!1,this.countdown=0,this.onTimeout.emit(null)},t.prototype.interrupt=function(t,e){this.running&&(this.timeoutVal&&this.expiry.isExpired()?this.timeout():(this.onInterrupt.emit(e),(!0===t||this.autoResume===s.idle||this.autoResume===s.notIdle&&!this.expiry.idling())&&this.watch(t)))},t.prototype.setIdling=function(t){this.idling=t,this.expiry.idling(t)},t.prototype.toggleState=function(){var t=this;this.setIdling(!this.idling),this.idling?(this.onIdleStart.emit(null),this.stopKeepalive(),this.timeoutVal>0&&(this.countdown=this.timeoutVal,this.doCountdown(),this.setTimoutIntervalOutsideZone(function(){t.doCountdownInZone()},1e3))):(this.toggleInterrupts(!0),this.onIdleEnd.emit(null),this.startKeepalive()),this.safeClearInterval("idleHandle")},t.prototype.setTimoutIntervalOutsideZone=function(t,e){var n=this;this.zone.runOutsideAngular(function(){n.timeoutHandle=setInterval(function(){t()},e)})},t.prototype.toggleInterrupts=function(t){for(var e=0,n=this.interrupts;e<n.length;e++){var r=n[e];t?r.resume():r.pause()}},t.prototype.getExpiryDiff=function(t){var e=this.expiry.now();return(this.expiry.last()||e).getTime()-e.getTime()-1e3*t},t.prototype.doCountdownInZone=function(){var t=this;this.zone.run(function(){t.doCountdown()})},t.prototype.doCountdown=function(){if(this.getExpiryDiff(this.timeoutVal?this.timeoutVal:0)>0)return this.safeClearInterval("timeoutHandle"),void this.interrupt(!0);this.idling&&(this.countdown<=0?this.timeout():(this.onTimeoutWarning.emit(this.countdown),this.countdown--))},t.prototype.safeClearInterval=function(t){var e=this[t];null!==e&&void 0!==e&&(clearInterval(this[t]),this[t]=null)},t.prototype.startKeepalive=function(){this.keepaliveSvc&&this.keepaliveEnabled&&(this.running&&this.keepaliveSvc.ping(),this.keepaliveSvc.start())},t.prototype.stopKeepalive=function(){this.keepaliveSvc&&this.keepaliveEnabled&&this.keepaliveSvc.stop()},t.prototype.ngOnDestroy=function(){this.stop(),this.clearInterrupts()},t}()},function(t,e,n){"use strict";e.isFunction=function(t){return"function"==typeof t}},function(t,e,n){"use strict";var r=n(56).root.Symbol;e.rxSubscriber="function"==typeof r&&"function"==typeof r.for?r.for("rxSubscriber"):"@@rxSubscriber",e.$$rxSubscriber=e.rxSubscriber},function(t,e,n){"use strict";function r(t){var e,n=t.Symbol;return"function"==typeof n?n.observable?e=n.observable:(e=n("observable"),n.observable=e):e="@@observable",e}var i=n(56);e.getSymbolObservable=r,e.observable=r(i.root),e.$$observable=e.observable},function(t,e,n){"use strict";var r=n(142),i=n(400);e.mergeAll=function(t){return void 0===t&&(t=Number.POSITIVE_INFINITY),r.mergeMap(i.identity,null,t)}},function(t,e,n){"use strict";var r=n(0).__extends,i=function(t){function e(){var e=t.call(this,"object unsubscribed");this.name=e.name="ObjectUnsubscribedError",this.stack=e.stack,this.message=e.message}return r(e,t),e}(Error);e.ObjectUnsubscribedError=i},function(t,e,n){"use strict";e.isDate=function(t){return t instanceof Date&&!isNaN(+t)}},function(t,e,n){"use strict";var r=n(0).__extends,i=n(97),o=n(81),s=n(24),a=n(23),u={};e.combineLatest=function(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];var n=null;return"function"==typeof t[t.length-1]&&(n=t.pop()),1===t.length&&o.isArray(t[0])&&(t=t[0].slice()),function(e){return e.lift.call(new i.ArrayObservable([e].concat(t)),new l(n))}};var l=function(){function t(t){this.project=t}return t.prototype.call=function(t,e){return e.subscribe(new c(t,this.project))},t}();e.CombineLatestOperator=l;var c=function(t){function e(e,n){t.call(this,e),this.project=n,this.active=0,this.values=[],this.observables=[]}return r(e,t),e.prototype._next=function(t){this.values.push(u),this.observables.push(t)},e.prototype._complete=function(){var t=this.observables,e=t.length;if(0===e)this.destination.complete();else{this.active=e,this.toRespond=e;for(var n=0;n<e;n++){var r=t[n];this.add(a.subscribeToResult(this,r,r,n))}}},e.prototype.notifyComplete=function(t){0==(this.active-=1)&&this.destination.complete()},e.prototype.notifyNext=function(t,e,n,r,i){var o=this.values,s=this.toRespond?o[n]===u?--this.toRespond:this.toRespond:0;o[n]=e,0===s&&(this.project?this._tryProject(o):this.destination.next(o.slice()))},e.prototype._tryProject=function(t){var e;try{e=this.project.apply(this,t)}catch(t){return void this.destination.error(t)}this.destination.next(e)},e}(s.OuterSubscriber);e.CombineLatestSubscriber=c},function(t,e,n){"use strict";var r=n(0).__extends,i=n(15),o=n(148);e.observeOn=function(t,e){return void 0===e&&(e=0),function(n){return n.lift(new s(t,e))}};var s=function(){function t(t,e){void 0===e&&(e=0),this.scheduler=t,this.delay=e}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.scheduler,this.delay))},t}();e.ObserveOnOperator=s;var a=function(t){function e(e,n,r){void 0===r&&(r=0),t.call(this,e),this.scheduler=n,this.delay=r}return r(e,t),e.dispatch=function(t){t.notification.observe(t.destination),this.unsubscribe()},e.prototype.scheduleMessage=function(t){this.add(this.scheduler.schedule(e.dispatch,this.delay,new u(t,this.destination)))},e.prototype._next=function(t){this.scheduleMessage(o.Notification.createNext(t))},e.prototype._error=function(t){this.scheduleMessage(o.Notification.createError(t))},e.prototype._complete=function(){this.scheduleMessage(o.Notification.createComplete())},e}(i.Subscriber);e.ObserveOnSubscriber=a;var u=function(){return function(t,e){this.notification=t,this.destination=e}}();e.ObserveOnMessage=u},function(t,e,n){"use strict";var r=n(0).__extends,i=function(t){function e(){var e=t.call(this,"no elements in sequence");this.name=e.name="EmptyError",this.stack=e.stack,this.message=e.message}return r(e,t),e}(Error);e.EmptyError=i},function(t,e,n){"use strict";var r=n(0).__extends,i=n(19),o=n(38);e.AsyncSubject=function(t){function e(){t.apply(this,arguments),this.value=null,this.hasNext=!1,this.hasCompleted=!1}return r(e,t),e.prototype._subscribe=function(e){return this.hasError?(e.error(this.thrownError),o.Subscription.EMPTY):this.hasCompleted&&this.hasNext?(e.next(this.value),e.complete(),o.Subscription.EMPTY):t.prototype._subscribe.call(this,e)},e.prototype.next=function(t){this.hasCompleted||(this.value=t,this.hasNext=!0)},e.prototype.error=function(e){this.hasCompleted||t.prototype.error.call(this,e)},e.prototype.complete=function(){this.hasCompleted=!0,this.hasNext&&t.prototype.next.call(this,this.value),t.prototype.complete.call(this)},e}(i.Subject)},function(t,e,n){"use strict";var r=n(0).__extends,i=n(24),o=n(23);e.defaultThrottleConfig={leading:!0,trailing:!1},e.throttle=function(t,n){return void 0===n&&(n=e.defaultThrottleConfig),function(e){return e.lift(new s(t,n.leading,n.trailing))}};var s=function(){function t(t,e,n){this.durationSelector=t,this.leading=e,this.trailing=n}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.durationSelector,this.leading,this.trailing))},t}(),a=function(t){function e(e,n,r,i){t.call(this,e),this.destination=e,this.durationSelector=n,this._leading=r,this._trailing=i,this._hasTrailingValue=!1}return r(e,t),e.prototype._next=function(t){if(this.throttled)this._trailing&&(this._hasTrailingValue=!0,this._trailingValue=t);else{var e=this.tryDurationSelector(t);e&&this.add(this.throttled=o.subscribeToResult(this,e)),this._leading&&(this.destination.next(t),this._trailing&&(this._hasTrailingValue=!0,this._trailingValue=t))}},e.prototype.tryDurationSelector=function(t){try{return this.durationSelector(t)}catch(t){return this.destination.error(t),null}},e.prototype._unsubscribe=function(){var t=this.throttled;this._trailingValue=null,this._hasTrailingValue=!1,t&&(this.remove(t),this.throttled=null,t.unsubscribe())},e.prototype._sendTrailing=function(){this.throttled&&this._trailing&&this._hasTrailingValue&&(this.destination.next(this._trailingValue),this._trailingValue=null,this._hasTrailingValue=!1)},e.prototype.notifyNext=function(t,e,n,r,i){this._sendTrailing(),this._unsubscribe()},e.prototype.notifyComplete=function(){this._sendTrailing(),this._unsubscribe()},e}(i.OuterSubscriber)},function(t,e,n){"use strict";function r(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];var n=t[t.length-1];return"function"==typeof n&&t.pop(),new o.ArrayObservable(t).lift(new d(n))}var i=n(0).__extends,o=n(97),s=n(81),a=n(15),u=n(24),l=n(23),c=n(143);e.zip=function(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];return function(e){return e.lift.call(r.apply(void 0,[e].concat(t)))}},e.zipStatic=r;var d=function(){function t(t){this.project=t}return t.prototype.call=function(t,e){return e.subscribe(new h(t,this.project))},t}();e.ZipOperator=d;var h=function(t){function e(e,n,r){void 0===r&&(r=Object.create(null)),t.call(this,e),this.iterators=[],this.active=0,this.project="function"==typeof n?n:null,this.values=r}return i(e,t),e.prototype._next=function(t){var e=this.iterators;s.isArray(t)?e.push(new p(t)):e.push("function"==typeof t[c.iterator]?new f(t[c.iterator]()):new m(this.destination,this,t))},e.prototype._complete=function(){var t=this.iterators,e=t.length;if(0!==e){this.active=e;for(var n=0;n<e;n++){var r=t[n];r.stillUnsubscribed?this.add(r.subscribe(r,n)):this.active--}}else this.destination.complete()},e.prototype.notifyInactive=function(){this.active--,0===this.active&&this.destination.complete()},e.prototype.checkIterators=function(){for(var t=this.iterators,e=t.length,n=this.destination,r=0;r<e;r++){if("function"==typeof(s=t[r]).hasValue&&!s.hasValue())return}var i=!1,o=[];for(r=0;r<e;r++){var s,a=(s=t[r]).next();if(s.hasCompleted()&&(i=!0),a.done)return void n.complete();o.push(a.value)}this.project?this._tryProject(o):n.next(o),i&&n.complete()},e.prototype._tryProject=function(t){var e;try{e=this.project.apply(this,t)}catch(t){return void this.destination.error(t)}this.destination.next(e)},e}(a.Subscriber);e.ZipSubscriber=h;var f=function(){function t(t){this.iterator=t,this.nextResult=t.next()}return t.prototype.hasValue=function(){return!0},t.prototype.next=function(){var t=this.nextResult;return this.nextResult=this.iterator.next(),t},t.prototype.hasCompleted=function(){var t=this.nextResult;return t&&t.done},t}(),p=function(){function t(t){this.array=t,this.index=0,this.length=0,this.length=t.length}return t.prototype[c.iterator]=function(){return this},t.prototype.next=function(t){var e=this.index++;return e<this.length?{value:this.array[e],done:!1}:{value:null,done:!0}},t.prototype.hasValue=function(){return this.array.length>this.index},t.prototype.hasCompleted=function(){return this.array.length===this.index},t}(),m=function(t){function e(e,n,r){t.call(this,e),this.parent=n,this.observable=r,this.stillUnsubscribed=!0,this.buffer=[],this.isComplete=!1}return i(e,t),e.prototype[c.iterator]=function(){return this},e.prototype.next=function(){var t=this.buffer;return 0===t.length&&this.isComplete?{value:null,done:!0}:{value:t.shift(),done:!1}},e.prototype.hasValue=function(){return this.buffer.length>0},e.prototype.hasCompleted=function(){return 0===this.buffer.length&&this.isComplete},e.prototype.notifyComplete=function(){this.buffer.length>0?(this.isComplete=!0,this.parent.notifyInactive()):this.destination.complete()},e.prototype.notifyNext=function(t,e,n,r,i){this.buffer.push(e),this.parent.checkIterators()},e.prototype.subscribe=function(t,e){return l.subscribeToResult(this,this.observable,this,e)},e}(u.OuterSubscriber)},,function(t,e,n){"use strict";var r=n(1),i=n(99),o=n(11),s=n(18),a=n(26),u=n(63),l=n(39),c=n(25),d=n(281),h=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),f=function(t){function e(e,n,r,i){var o=t.call(this,e,e.doc().body,{direction:"x",edge:"start",maxEdgeStart:75,threshold:5,zone:!1,domController:i,gesture:r.createGesture({name:c.b,priority:c.e,disableScroll:!0})})||this;return o._nav=n,o}return h(e,t),e.prototype.canStart=function(e){return this._nav.canSwipeBack()&&t.prototype.canStart.call(this,e)},e.prototype.onSlideBeforeStart=function(t){this._nav.swipeBackStart()},e.prototype.onSlide=function(t,e){e.preventDefault(),e.stopPropagation();this._nav.swipeBackProgress(t.distance/t.max)},e.prototype.onSlideEnd=function(t,e){var n=t.velocity,r=t.distance/t.max,i=n<0,s=Math.abs(t.velocity)>.4,a=Math.abs(t.delta)<.5*Math.abs(t.max),u=!Object(o.t)(i,s,a);this._nav.swipeBackEnd(u,r,n)},e}(d.a);n.d(e,"a",function(){return m});var p=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),m=function(t){function e(e,n,i,o,s,a,u,l,c,d,h,f,p){var m=t.call(this,i,s,u)||this;return m.parent=e,m._app=n,m.config=i,m.plt=o,m._zone=a,m._cfr=l,m._gestureCtrl=c,m._trnsCtrl=d,m._linker=h,m._domCtrl=f,m._errHandler=p,m._ids=-1,m._init=!1,m._queue=[],m._trnsId=null,m._trnsTm=!1,m._views=[],m._zIndexOffset=0,m.viewDidLoad=new r.EventEmitter,m.viewWillEnter=new r.EventEmitter,m.viewDidEnter=new r.EventEmitter,m.viewWillLeave=new r.EventEmitter,m.viewDidLeave=new r.EventEmitter,m.viewWillUnload=new r.EventEmitter,m._sbEnabled=i.getBoolean("swipeBackEnabled"),m._children=[],m.id="n"+ ++_,m._destroyed=!1,m}return p(e,t),Object.defineProperty(e.prototype,"swipeBackEnabled",{get:function(){return this._sbEnabled},set:function(t){this._sbEnabled=Object(o.o)(t),this._swipeBackCheck()},enumerable:!0,configurable:!0}),e.prototype.push=function(t,e,n,r){return this._queueTrns({insertStart:-1,insertViews:[{page:t,params:e}],opts:n},r)},e.prototype.insert=function(t,e,n,r,i){return this._queueTrns({insertStart:t,insertViews:[{page:e,params:n}],opts:r},i)},e.prototype.insertPages=function(t,e,n,r){return this._queueTrns({insertStart:t,insertViews:e,opts:n},r)},e.prototype.pop=function(t,e){return this._queueTrns({removeStart:-1,removeCount:1,opts:t},e)},e.prototype.popTo=function(t,e,n){var r={removeStart:-1,removeCount:-1,opts:e};return Object(s.b)(t)?(r.removeView=t,r.removeStart=1):Object(o.j)(t)&&(r.removeStart=t+1),this._queueTrns(r,n)},e.prototype.popToRoot=function(t,e){return this._queueTrns({removeStart:1,removeCount:-1,opts:t},e)},e.prototype.popAll=function(){for(var t=[],e=this._views.length-1;e>=0;e--)t.push(this.pop(null));return Promise.all(t)},e.prototype.remove=function(t,e,n,r){return void 0===e&&(e=1),this._queueTrns({removeStart:t,removeCount:e,opts:n},r)},e.prototype.removeView=function(t,e,n){return this._queueTrns({removeView:t,removeStart:0,removeCount:1,opts:e},n)},e.prototype.setRoot=function(t,e,n,r){return this.setPages([{page:t,params:e}],n,r)},e.prototype.setPages=function(t,e,n){return Object(o.f)(e)&&(e={}),!0!==e.animate&&(e.animate=!1),this._queueTrns({insertStart:0,insertViews:t,removeStart:0,removeCount:-1,opts:e},n)},e.prototype._queueTrns=function(t,e){var n=new Promise(function(e,n){t.resolve=e,t.reject=n});return t.done=e,t.insertViews&&0===t.insertViews.length&&(t.insertViews=void 0),this._queue.push(t),this._nextTrns(),n},e.prototype._success=function(t,e){null!==this._queue?(this._init=!0,this._trnsId=null,this.setTransitioning(!1),this._swipeBackCheck(),this._nextTrns(),e.done&&e.done(t.hasCompleted,t.requiresTransition,t.enteringName,t.leavingName,t.direction),e.resolve(t.hasCompleted)):this._fireError("nav controller was destroyed",e)},e.prototype._failed=function(t,e){null!==this._queue?(this._trnsId=null,this._queue.length=0,this.setTransitioning(!1),this._swipeBackCheck(),this._nextTrns(),this._fireError(t,e)):this._fireError("nav controller was destroyed",e)},e.prototype._fireError=function(t,e){e.done&&e.done(!1,!1,t),e.reject&&!this._destroyed?e.reject(t):e.resolve(!1)},e.prototype._nextTrns=function(){var t=this;if(this.isTransitioning())return!1;var e=this._queue.shift();if(!e)return!1;var n,r;return this._startTI(e).then(function(){return t._loadLazyLoading(e)}).then(function(){if(r=t.getActive(),n=t._getEnteringView(e,r),!r&&!n)throw"no views in the stack to be removed";n&&n._state===i.h&&t._viewInit(n),e.requiresTransition=(e.enteringRequiresTransition||e.leavingRequiresTransition)&&n!==r}).then(function(){return t._viewTest(n,r,e)}).then(function(){return t._postViewInit(n,r,e)}).then(function(){return t._transition(n,r,e)}).then(function(n){return t._success(n,e)}).catch(function(n){return t._failed(n,e)}),!0},e.prototype._startTI=function(t){var e=this._views.length;if(Object(o.l)(t.removeView)){var n=this.indexOf(t.removeView);if(n<0)return Promise.reject("removeView was not found");t.removeStart+=n}return Object(o.l)(t.removeStart)&&(t.removeStart<0&&(t.removeStart=e-1),t.removeCount<0&&(t.removeCount=e-t.removeStart),t.leavingRequiresTransition=t.removeCount>0&&t.removeStart+t.removeCount===e),t.insertViews&&((t.insertStart<0||t.insertStart>e)&&(t.insertStart=e),t.enteringRequiresTransition=t.insertStart===e),this.setTransitioning(!0),Promise.resolve()},e.prototype._loadLazyLoading=function(t){var e=this,n=t.insertViews;return n?Object(i.i)(this._linker,n).then(function(n){if(0===(n=n.filter(function(t){return null!==t})).length)throw"invalid views to insert";for(var r=0;r<n.length;r++){var o=n[r],s=o._nav;if(s&&s!==e)throw"inserted view was already inserted";if(o._state===i.f)throw"inserted view was already destroyed"}t.insertViews=n}):Promise.resolve()},e.prototype._getEnteringView=function(t,e){var n=t.insertViews;if(n)return n[n.length-1];var r=t.removeStart;if(Object(o.l)(r)){var i,s,a=this._views,u=r+t.removeCount;for(i=a.length-1;i>=0;i--)if(s=a[i],(i<r||i>=u)&&s!==e)return s}return null},e.prototype._postViewInit=function(t,e,n){var r,s,a,u=this,l=n.opts||{},c=n.insertViews,d=n.removeStart,h=n.removeCount;if(Object(o.l)(d)){for(a=[],s=0;s<h;s++)(r=this._views[s+d])&&r!==t&&r!==e&&a.push(r);l.direction=l.direction||i.a}if(0===this._views.length+(c?c.length:0)-(h||0)&&!this._isPortal)throw console.warn("You can't remove all the pages in the navigation stack. nav.pop() is probably called too many times.",this,this.getNativeElement()),"navigation stack needs at least one root page";if(c){for(Object(o.l)(l.id)&&(t.id=l.id),s=0;s<c.length;s++)this._insertViewAt(r=c[s],n.insertStart+s);n.enteringRequiresTransition&&(l.direction=l.direction||i.b)}if(a&&a.length>0)for(this._zone.run(function(){for(s=0;s<a.length;s++)u._willLeave(r=a[s],!0),u._didLeave(r),u._willUnload(r)}),s=0;s<a.length;s++)this._destroyView(a[s]);n.requiresTransition&&!l.animation&&(l.animation=Object(o.l)(n.removeStart)?(e||t).getTransitionName(l.direction):(t||e).getTransitionName(l.direction)),n.opts=l},e.prototype._viewInit=function(t){var e=r.ReflectiveInjector.resolve([{provide:u.a,useValue:this},{provide:s.a,useValue:t},{provide:l.a,useValue:t.getNavParams()}]),n=this._linker.resolveComponent(t.component),o=r.ReflectiveInjector.fromResolvedProviders(e,this._viewport.parentInjector);t.init(n.create(o,[])),t._state=i.g,this._preLoad(t)},e.prototype._viewAttachToDOM=function(t,e,n){if(this._willLoad(t),n.insert(e.hostView,n.length),t._state=i.e,t._cssClass){this._renderer.setElementClass(e.location.nativeElement,t._cssClass,!0)}e.changeDetectorRef.detectChanges(),this._zone.run(this._didLoad.bind(this,t))},e.prototype._viewTest=function(t,e,n){if(!n.requiresTransition)return Promise.resolve();var r=[];return e&&r.push(e._lifecycleTest("Leave")),t&&r.push(t._lifecycleTest("Enter")),0===r.length?Promise.resolve():Promise.all(r).then(function(t){if(t.some(function(t){return!1===t}))throw"canEnter/Leave returned false"}).catch(function(t){throw n.reject=null,t})},e.prototype._transition=function(t,e,n){var r=this;if(!n.requiresTransition)return Promise.resolve({hasCompleted:!0,requiresTransition:!1});var o=n.opts;this._trnsId=this._trnsCtrl.getRootTrnsId(this),null===this._trnsId&&(this._trnsId=this._trnsCtrl.nextId());var s=this._trnsCtrl.get(this._trnsId,t,e,{animation:o.animation,direction:o.direction,duration:!1===o.animate?0:o.duration,easing:o.easing,isRTL:this._config.plt.isRTL,ev:o.ev});this._sbTrns&&this._sbTrns.destroy(),this._sbTrns=null,s.isRoot()&&o.progressAnimation&&(this._sbTrns=s);var a=new Promise(function(t){return s.registerStart(t)}).then(function(){return r._transitionStart(s,t,e,o)});return t&&t._state===i.g&&this._viewAttachToDOM(t,t._cmp,this._viewport),s.hasChildren||s.start(),a},e.prototype._transitionStart=function(t,e,n,r){var o=this;this._trnsId=null,Object(i.n)(this,e,n,r.direction,this._renderer),e&&e._domShow(!0,this._renderer),n&&n._domShow(!0,this._renderer),t.init();var s=!this._init&&1===this._views.length&&!this._isPortal,a=!1===this._config.get("animate");(s||a)&&(r.animate=!1),!1===r.animate&&t.duration(0),t.beforeAddRead(this._viewsWillLifecycles.bind(this,e,n));var u=t.getDuration(),l=new Promise(function(e){t.onFinish(e)});return t.isRoot()&&(u>g&&!1!==r.disableApp&&this._app.setEnabled(!1,u+y,r.minClickBlockDuration),r.progressAnimation?t.progressStart():t.play()),l.then(function(){return o._zone.run(function(){return o._transitionFinish(t,r)})})},e.prototype._transitionFinish=function(t,e){var n,r,i=t.hasCompleted,o=t.enteringView,s=t.leavingView;return i?(o&&(n=o.name,this._didEnter(o)),s&&(r=s.name,this._didLeave(s)),this._cleanup(o)):this._cleanup(s),t.isRoot()&&(this._trnsCtrl.destroy(t.trnsId),this._app.setEnabled(!0),this.setTransitioning(!1),this.hasChildren()||!1===e.updateUrl||this._linker.navChange(e.direction),!1!==e.keyboardClose&&this.plt.focusOutActiveElement()),{hasCompleted:i,requiresTransition:!0,enteringName:n,leavingName:r,direction:e.direction}},e.prototype._viewsWillLifecycles=function(t,e){var n=this;(t||e)&&this._zone.run(function(){if(e){n._willLeave(e,!t||e.index>t.index)}t&&n._willEnter(t)})},e.prototype._insertViewAt=function(t,e){var n=this._views.indexOf(t);n>-1?this._views.splice(e,0,this._views.splice(n,1)[0]):(t._setNav(this),this._ids++,t.id||(t.id=this.id+"-"+this._ids),this._views.splice(e,0,t))},e.prototype._removeView=function(t){var e=this._views,n=e.indexOf(t);n>=0&&e.splice(n,1)},e.prototype._destroyView=function(t){t._destroy(this._renderer),this._removeView(t)},e.prototype._cleanup=function(t){if(!this._destroyed){var e=this._views.indexOf(t),n=this._views,r=!1,o=void 0,s=void 0;for(s=n.length-1;s>=0;s--)o=n[s],s>e?(this._willUnload(o),this._destroyView(o)):s<e&&!this._isPortal&&o._domShow(!1,this._renderer),o._zIndex<=0&&(r=!0);if(!this._isPortal&&r)for(s=0;s<n.length;s++)(o=n[s])._setZIndex(o._zIndex+i.d+1,this._renderer)}},e.prototype._preLoad=function(t){t._preLoad()},e.prototype._willLoad=function(t){try{t._willLoad()}catch(t){this._errHandler&&this._errHandler.handleError(t)}},e.prototype._didLoad=function(t){try{t._didLoad(),this.viewDidLoad.emit(t),this._app.viewDidLoad.emit(t)}catch(t){this._errHandler&&this._errHandler.handleError(t)}},e.prototype._willEnter=function(t){try{t._willEnter(),this.viewWillEnter.emit(t),this._app.viewWillEnter.emit(t)}catch(t){this._errHandler&&this._errHandler.handleError(t)}},e.prototype._didEnter=function(t){try{t._didEnter(),this.viewDidEnter.emit(t),this._app.viewDidEnter.emit(t)}catch(t){this._errHandler&&this._errHandler.handleError(t)}},e.prototype._willLeave=function(t,e){try{t._willLeave(e),this.viewWillLeave.emit(t),this._app.viewWillLeave.emit(t)}catch(t){this._errHandler&&this._errHandler.handleError(t)}},e.prototype._didLeave=function(t){try{t._didLeave(),this.viewDidLeave.emit(t),this._app.viewDidLeave.emit(t)}catch(t){this._errHandler&&this._errHandler.handleError(t)}},e.prototype._willUnload=function(t){try{t._willUnload(),this.viewWillUnload.emit(t),this._app.viewWillUnload.emit(t)}catch(t){this._errHandler&&this._errHandler.handleError(t)}},e.prototype.hasChildren=function(){return this._children&&this._children.length>0},e.prototype.getActiveChildNavs=function(){return this._children},e.prototype.getAllChildNavs=function(){return this._children},e.prototype.registerChildNav=function(t){this._children.push(t)},e.prototype.unregisterChildNav=function(t){this._children=this._children.filter(function(e){return e!==t})},e.prototype.destroy=function(){for(var t,e=this._views,n=0;n<e.length;n++)(t=e[n])._willUnload(),t._destroy(this._renderer);this._sbGesture&&this._sbGesture.destroy(),this._sbTrns&&this._sbTrns.destroy(),this._queue=this._views=this._sbGesture=this._sbTrns=null,this.parent&&this.parent.unregisterChildNav?this.parent.unregisterChildNav(this):this._app&&this._app.unregisterRootNav(this),this._destroyed=!0},e.prototype.swipeBackStart=function(){if(!(this.isTransitioning()||this._queue.length>0)){this._queueTrns({removeStart:-1,removeCount:1,opts:{direction:i.a,progressAnimation:!0}},null)}},e.prototype.swipeBackProgress=function(t){this._sbTrns&&this._sbGesture&&(this._app.setEnabled(!1,v),this.setTransitioning(!0),this._sbTrns.progressStep(t))},e.prototype.swipeBackEnd=function(t,e,n){if(this._sbTrns&&this._sbGesture){var r=this._sbTrns.getDuration()/(Math.abs(n)+1);this._sbTrns.progressEnd(t,e,r)}},e.prototype._swipeBackCheck=function(){this.canSwipeBack()?(this._sbGesture||(this._sbGesture=new f(this.plt,this,this._gestureCtrl,this._domCtrl)),this._sbGesture.listen()):this._sbGesture&&this._sbGesture.unlisten()},e.prototype.canSwipeBack=function(){return this._sbEnabled&&!this._isPortal&&!this._children.length&&!this.isTransitioning()&&this._app.isEnabled()&&this.canGoBack()},e.prototype.canGoBack=function(){var t=this.getActive();return!(!t||!t.enableBack())},e.prototype.isTransitioning=function(){return this._trnsTm},e.prototype.setTransitioning=function(t){this._trnsTm=t},e.prototype.getActive=function(){return this._views[this._views.length-1]},e.prototype.isActive=function(t){return t===this.getActive()},e.prototype.getByIndex=function(t){return this._views[t]},e.prototype.getPrevious=function(t){t||(t=this.getActive());var e=this._views,n=e.indexOf(t);return n>0?e[n-1]:null},e.prototype.first=function(){return this._views[0]},e.prototype.last=function(){var t=this._views;return t[t.length-1]},e.prototype.indexOf=function(t){return this._views.indexOf(t)},e.prototype.length=function(){return this._views.length},e.prototype.getViews=function(){return this._views},e.prototype.getViewById=function(t){for(var e=0,n=this._views;e<n.length;e++){var r=n[e];if(r&&r.id===t)return r}return null},e.prototype.isSwipeBackEnabled=function(){return this._sbEnabled},e.prototype.dismissPageChangeViews=function(){for(var t=0,e=this._views;t<e.length;t++){var n=e[t];n.data&&n.data.dismissOnPageChange&&n.dismiss().catch(function(){})}},e.prototype.setViewport=function(t){this._viewport=t},e.prototype.resize=function(){var t=this.getActive();if(t){var e=t.getIONContent();e&&e.resize()}},e.prototype.goToRoot=function(t){return Promise.reject(new Error("goToRoot needs to be implemented by child class"))},e.prototype.getType=function(){return"nav"},e.prototype.getSecondaryIdentifier=function(){return null},e.prototype.getActiveChildNav=function(){return console.warn("(getActiveChildNav) is deprecated and will be removed in the next major release. Use getActiveChildNavs instead."),this._children[this._children.length-1]},e}(a.a),_=-1,g=64,v=5e3,y=2e3},function(t,e,n){"use strict";var r=n(11),i=function(){function t(t,e,n){this.direction=t,this.dirty=!1,this._angle=0,this._isPan=0;var r=n*(Math.PI/180);this.maxCosine=Math.cos(r),this.threshold=e*e}return t.prototype.start=function(t){this.startCoord=t,this._angle=0,this._isPan=0,this.dirty=!0},t.prototype.detect=function(t){if(!this.dirty)return!1;var e=t.x-this.startCoord.x,n=t.y-this.startCoord.y;if(e*e+n*n>=this.threshold){var r=Math.atan2(n,e),i="y"===this.direction?Math.sin(r):Math.cos(r);return this._angle=r,this._isPan=i>this.maxCosine?1:i<-this.maxCosine?-1:0,this.dirty=!1,!0}return!1},t.prototype.angle=function(){return this._angle},t.prototype.pan=function(){return this._isPan},t}(),o=n(49),s=n(100);n.d(e,"a",function(){return a});var a=function(){function t(t,e,n){void 0===n&&(n={}),this.plt=t,this.element=e,Object(r.d)(n,{threshold:20,maxAngle:40,direction:"x",zone:!0,capture:!1,passive:!1}),this.events=new s.a(t),n.domController&&(this.debouncer=n.domController.debouncer()),this.gestute=n.gesture,this.direction=n.direction,this.eventsConfig={element:this.element,pointerDown:this.pointerDown.bind(this),pointerMove:this.pointerMove.bind(this),pointerUp:this.pointerUp.bind(this),zone:n.zone,capture:n.capture,passive:n.passive},n.threshold>0&&(this.detector=new i(n.direction,n.threshold,n.maxAngle))}return t.prototype.listen=function(){this.isListening||(this.pointerEvents=this.events.pointerEvents(this.eventsConfig),this.isListening=!0)},t.prototype.unlisten=function(){this.isListening&&(this.gestute&&this.gestute.release(),this.events.unlistenAll(),this.isListening=!1)},t.prototype.destroy=function(){this.gestute&&this.gestute.destroy(),this.gestute=null,this.unlisten(),this.events.destroy(),this.events=this.element=this.gestute=null},t.prototype.pointerDown=function(t){if(!this.started){if(!this.canStart(t))return!1;if(this.gestute&&(this.gestute.release(),!this.gestute.start()))return!1;this.started=!0,this.captured=!1;var e=Object(o.f)(t);if(this.detector)this.detector.start(e);else if(!this.tryToCapture(t))return this.started=!1,this.captured=!1,this.gestute.release(),!1;return!0}},t.prototype.pointerMove=function(t){var e=this;if(this.captured)this.debouncer.write(function(){e.onDragMove(t)});else{var n=Object(o.f)(t);this.detector.detect(n)&&0!==this.detector.pan()&&(this.tryToCapture(t)||this.abort(t))}},t.prototype.pointerUp=function(t){this.debouncer.cancel(),this.gestute&&this.gestute.release(),this.captured?this.onDragEnd(t):this.notCaptured(t),this.captured=!1,this.started=!1},t.prototype.tryToCapture=function(t){return!(this.gestute&&!this.gestute.capture())&&(this.onDragStart(t),this.captured=!0,!0)},t.prototype.abort=function(t){this.started=!1,this.captured=!1,this.gestute.release(),this.pointerEvents.stop(),this.notCaptured(t)},t.prototype.getNativeElement=function(){return this.element},t.prototype.canStart=function(t){return!0},t.prototype.onDragStart=function(t){},t.prototype.onDragMove=function(t){},t.prototype.onDragEnd=function(t){},t.prototype.notCaptured=function(t){},t}()},function(t,e,n){"use strict";n.d(e,"a",function(){return o});var r=n(25),i=(n(6),n(87)),o=(n(39),n(18),function(){function t(t,e,n,i,o,a){this._viewCtrl=t,this._elementRef=n,this.gestureBlocker=i.createBlocker(r.a),this.d=o.data,this.mode=e.get("mode"),a.setElementClass(n.nativeElement,"action-sheet-"+this.mode,!0),this.d.cssClass&&this.d.cssClass.split(" ").forEach(function(t){""!==t.trim()&&a.setElementClass(n.nativeElement,t,!0)}),this.id=++s,this.d.title&&(this.hdrId="acst-hdr-"+this.id),this.d.subTitle&&(this.descId="acst-subhdr-"+this.id)}return t.prototype.ionViewDidLoad=function(){var t=this;this.d.buttons=this.d.buttons.map(function(e){switch("string"==typeof e&&(e={text:e}),e.cssClass||(e.cssClass=""),e.role){case"cancel":return t.cancelButton=e,null;case"destructive":e.cssClass=(e.cssClass+" "||"")+"action-sheet-destructive";break;case"selected":e.cssClass=(e.cssClass+" "||"")+"action-sheet-selected"}return e}).filter(function(t){return null!==t})},t.prototype.ionViewWillEnter=function(){this.gestureBlocker.block()},t.prototype.ionViewDidLeave=function(){this.gestureBlocker.unblock()},t.prototype.ionViewDidEnter=function(){var t=this._elementRef.nativeElement.querySelector("button");t&&t.focus(),this.enabled=!0},t.prototype.keyUp=function(t){this.enabled&&t.keyCode===i.c&&this._viewCtrl.isLast()&&this.bdClick()},t.prototype.click=function(t){if(this.enabled){var e=!0;t.handler&&!1===t.handler()&&(e=!1),e&&this.dismiss(t.role)}},t.prototype.bdClick=function(){this.enabled&&this.d.enableBackdropDismiss&&(this.cancelButton?this.click(this.cancelButton):this.dismiss("backdrop"))},t.prototype.dismiss=function(t){return this._viewCtrl.dismiss(null,t,{minClickBlockDuration:400})},t.prototype.ngOnDestroy=function(){this.d=this.cancelButton=null,this.gestureBlocker.destroy()},t}()),s=-1},function(t,e,n){"use strict";n.d(e,"a",function(){return a});n(6);var r=n(49),i=n(25),o=n(11),s=n(87),a=(n(39),n(16),n(18),function(){function t(t,e,n,r,o,s,a){this._viewCtrl=t,this._elementRef=e,this._renderer=s,this._plt=a,this.gestureBlocker=r.createBlocker(i.a),this.d=o.data,this.mode=this.d.mode||n.get("mode"),this.keyboardResizes=n.getBoolean("keyboardResizes",!1),s.setElementClass(e.nativeElement,"alert-"+this.mode,!0),this.d.cssClass&&this.d.cssClass.split(" ").forEach(function(t){""!==t.trim()&&s.setElementClass(e.nativeElement,t,!0)}),this.id=++u,this.descId="",this.hdrId="alert-hdr-"+this.id,this.subHdrId="alert-subhdr-"+this.id,this.msgId="alert-msg-"+this.id,this.activeId="",this.lastClick=0,this.d.message?this.descId=this.msgId:this.d.subTitle&&(this.descId=this.subHdrId),this.d.message||(this.d.message="")}return t.prototype.ionViewDidLoad=function(){var t=this,e=this.d;e.buttons=e.buttons.map(function(t){return"string"==typeof t?{text:t}:t}),e.inputs=e.inputs.map(function(e,n){return{type:e.type||"text",name:Object(o.l)(e.name)?e.name:n+"",placeholder:Object(o.l)(e.placeholder)?e.placeholder:"",value:Object(o.l)(e.value)?e.value:"",label:e.label,checked:!!e.checked,disabled:!!e.disabled,id:Object(o.l)(e.id)?e.id:"alert-input-"+t.id+"-"+n,handler:Object(o.l)(e.handler)?e.handler:null,min:Object(o.l)(e.min)?e.min:null,max:Object(o.l)(e.max)?e.max:null}});var n=[];e.inputs.forEach(function(t){n.indexOf(t.type)<0&&n.push(t.type)}),n.length>1&&(n.indexOf("checkbox")>-1||n.indexOf("radio")>-1)&&console.warn("Alert cannot mix input types: "+n.join("/")+". Please see alert docs for more info."),this.inputType=n.length?n[0]:null;var i=this.d.inputs.find(function(t){return t.checked});i&&(this.activeId=i.id);var s=this.d.inputs.length&&this.d.inputs.some(function(t){return!r.a.test(t.type)});!this.keyboardResizes&&s&&this._plt.is("mobile")&&this._renderer.setElementClass(this._elementRef.nativeElement,"alert-top",!0)},t.prototype.ionViewWillEnter=function(){this.gestureBlocker.block()},t.prototype.ionViewDidLeave=function(){this.gestureBlocker.unblock()},t.prototype.ionViewDidEnter=function(){var t=this._elementRef.nativeElement.querySelector("input,button");t&&setTimeout(function(){return t.focus()}),this.enabled=!0},t.prototype.keyUp=function(t){if(this.enabled&&this._viewCtrl.isLast())if(t.keyCode===s.b){if(this.lastClick+1e3<Date.now()){this.btnClick(this.d.buttons[this.d.buttons.length-1])}}else t.keyCode===s.c&&this.bdClick()},t.prototype.btnClick=function(t){if(this.enabled){this.lastClick=Date.now();var e=!0;t.handler&&!1===t.handler(this.getValues())&&(e=!1),e&&this.dismiss(t.role)}},t.prototype.rbClick=function(t){this.enabled&&(this.d.inputs.forEach(function(e){e.checked=t===e}),this.activeId=t.id,t.handler&&t.handler(t))},t.prototype.cbClick=function(t){this.enabled&&(t.checked=!t.checked,t.handler&&t.handler(t))},t.prototype.bdClick=function(){if(this.enabled&&this.d.enableBackdropDismiss){var t=this.d.buttons.find(function(t){return"cancel"===t.role});t?this.btnClick(t):this.dismiss("backdrop")}},t.prototype.dismiss=function(t){return this._viewCtrl.dismiss(this.getValues(),t,{minClickBlockDuration:400})},t.prototype.getValues=function(){if("radio"===this.inputType){var t=this.d.inputs.find(function(t){return t.checked});return t?t.value:void 0}if("checkbox"===this.inputType)return this.d.inputs.filter(function(t){return t.checked}).map(function(t){return t.value});if(0!==this.d.inputs.length){var e={};return this.d.inputs.forEach(function(t){e[t.name]=t.value}),e}},t.prototype.ngOnDestroy=function(){this.gestureBlocker.destroy()},t}()),u=-1},function(t,e,n){"use strict";n.d(e,"a",function(){return s});var r=n(11),i=(n(6),n(25)),o=n(87),s=(n(39),n(18),function(){function t(t,e,n,r,o,s){this._viewCtrl=t,this._elementRef=e,this._gestureBlocker=r.createBlocker(i.a),this.d=o.data,this.mode=n.get("mode"),s.setElementClass(e.nativeElement,"picker-"+this.mode,!0),this.d.cssClass&&this.d.cssClass.split(" ").forEach(function(t){s.setElementClass(e.nativeElement,t,!0)}),this.id=++a,this.lastClick=0}return t.prototype.ionViewWillLoad=function(){var t=this.d;t.buttons=t.buttons.map(function(t){return Object(r.n)(t)?{text:t}:(t.role&&(t.cssRole="picker-toolbar-"+t.role),t)}),t.columns=t.columns.map(function(t){return Object(r.l)(t.options)||(t.options=[]),t.selectedIndex=t.selectedIndex||0,t.options=t.options.map(function(t){var e={text:"",value:"",disabled:t.disabled};return Object(r.l)(t)&&(Object(r.n)(t)||Object(r.j)(t)?(e.text=t.toString(),e.value=t):(e.text=Object(r.l)(t.text)?t.text:t.value,e.value=Object(r.l)(t.value)?t.value:t.text)),e}),t})},t.prototype.ionViewDidLoad=function(){this.refresh()},t.prototype.ionViewWillEnter=function(){this._gestureBlocker.block()},t.prototype.ionViewDidLeave=function(){this._gestureBlocker.unblock()},t.prototype.refresh=function(){this._cols.forEach(function(t){return t.refresh()})},t.prototype._colChange=function(){this._viewCtrl.ionChange.emit(this.getSelected())},t.prototype._keyUp=function(t){if(this.enabled&&this._viewCtrl.isLast())if(t.keyCode===o.b){if(this.lastClick+1e3<Date.now()){this.btnClick(this.d.buttons[this.d.buttons.length-1])}}else t.keyCode===o.c&&this.bdClick()},t.prototype.ionViewDidEnter=function(){var t=this._elementRef.nativeElement.querySelector("button");t&&t.focus(),this.enabled=!0},t.prototype.btnClick=function(t){if(this.enabled){this.lastClick=Date.now();var e=!0;t.handler&&!1===t.handler(this.getSelected())&&(e=!1),e&&this.dismiss(t.role)}},t.prototype.bdClick=function(){if(this.enabled&&this.d.enableBackdropDismiss){var t=this.d.buttons.find(function(t){return"cancel"===t.role});t?this.btnClick(t):this.dismiss("backdrop")}},t.prototype.dismiss=function(t){return this._viewCtrl.dismiss(this.getSelected(),t)},t.prototype.getSelected=function(){var t={};return this.d.columns.forEach(function(e,n){var r=e.options[e.selectedIndex];t[e.name]={text:r?r.text:null,value:r?r.value:null,columnIndex:n}}),t},t.prototype.ngOnDestroy=function(){this._gestureBlocker.destroy()},t}()),a=-1},function(t,e,n){"use strict";n(6),n(26),this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])}}()},function(t,e,n){"use strict";n.d(e,"a",function(){return i});var r=n(644),i=function(){function t(t){this.elementRef=t,t.nativeElement.$ionComponent=this}return t.prototype.getReorderNode=function(){return Object(r.a)(this.elementRef.nativeElement,null)},t.prototype.onClick=function(t){t.preventDefault(),t.stopPropagation()},t}()},function(t,e,n){"use strict";n.d(e,"a",function(){return s});n(6);var r=n(25),i=n(11),o=n(87),s=(n(39),n(18),function(){function t(t,e,n,i,o,s){this._viewCtrl=t,this._config=e,this.gestureBlocker=i.createBlocker(r.a),this.d=o.data,s.setElementClass(n.nativeElement,"loading-"+e.get("mode"),!0),this.d.cssClass&&this.d.cssClass.split(" ").forEach(function(t){""!==t.trim()&&s.setElementClass(n.nativeElement,t,!0)}),this.id=++a}return t.prototype.ngOnInit=function(){Object(i.p)(this.d.spinner)&&(this.d.spinner=this._config.get("loadingSpinner",this._config.get("spinner","ios"))),this.showSpinner=Object(i.h)(this.d.spinner)&&"hide"!==this.d.spinner},t.prototype.ionViewWillEnter=function(){this.gestureBlocker.block()},t.prototype.ionViewDidLeave=function(){this.gestureBlocker.unblock()},t.prototype.ionViewDidEnter=function(){var t=this;this.d&&this.d.duration&&(this.durationTimeout=setTimeout(function(){return t.dismiss("backdrop")},this.d.duration))},t.prototype.keyUp=function(t){this._viewCtrl.isLast()&&t.keyCode===o.c&&this.bdClick()},t.prototype.bdClick=function(){this.d.enableBackdropDismiss&&this.dismiss("backdrop")},t.prototype.dismiss=function(t){return this.durationTimeout&&clearTimeout(this.durationTimeout),this._viewCtrl.dismiss(null,t)},t.prototype.ngOnDestroy=function(){this.gestureBlocker.destroy()},t}()),a=-1},function(t,e,n){"use strict";var r=n(1),i=(n(27),n(82),n(6),n(67),n(30),n(25)),o=n(11),s=(n(77),n(281)),a=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),u=function(t){function e(e,n,r,o){var s=t.call(this,e,e.doc().body,{direction:"x",edge:n.side,threshold:5,maxEdgeStart:n.maxEdgeStart||50,zone:!1,passive:!0,domController:o,gesture:r.createGesture({name:i.d,priority:i.f,disableScroll:!0})})||this;return s.menu=n,s}return a(e,t),e.prototype.canStart=function(e){var n=this.menu;return!!n.canSwipe()&&(!!n.isOpen||!n.getMenuController().getOpen()&&t.prototype.canStart.call(this,e))},e.prototype.onSlideBeforeStart=function(){this.menu._swipeBeforeStart()},e.prototype.onSlideStart=function(){this.menu._swipeStart()},e.prototype.onSlide=function(t){this.menu._swipeProgress(t.distance/(this.menu.isRightSide!==this.plt.isRTL?t.min:t.max))},e.prototype.onSlideEnd=function(t){var e=this.menu.isRightSide!==this.plt.isRTL?t.min:t.max,n=t.distance/e,r=t.velocity;e=Math.abs(.5*e);this.menu._swipeEnd(r<=0&&(r<-.2||t.delta<-e),r>=0&&(r>.2||t.delta>e),n,r)},e.prototype.getElementStartPos=function(t){var e=this.menu;return e.isRightSide!==this.plt.isRTL?e.isOpen?t.min:t.max:e.isOpen?t.max:t.min},e.prototype.getSlideBoundaries=function(){var t=this.menu;return t.isRightSide!==this.plt.isRTL?{min:-t.width(),max:0}:{min:0,max:t.width()}},e}(s.a),l=n(75),c=(n(154),n(16),n(100));n(103);n.d(e,"a",function(){return d});var d=function(){function t(t,e,n,o,s,a,u,l,d){this._menuCtrl=t,this._elementRef=e,this._config=n,this._plt=o,this._renderer=s,this._keyboard=a,this._gestureCtrl=u,this._domCtrl=l,this._app=d,this._isSwipeEnabled=!0,this._isAnimating=!1,this._isPersistent=!1,this._init=!1,this._isPane=!1,this.isOpen=!1,this.isRightSide=!1,this.ionDrag=new r.EventEmitter,this.ionOpen=new r.EventEmitter,this.ionClose=new r.EventEmitter,this._events=new c.a(o),this._gestureBlocker=u.createBlocker({disable:[i.b]}),this.side="start"}return Object.defineProperty(t.prototype,"enabled",{get:function(){return this._isEnabled},set:function(t){var e=Object(o.o)(t);this.enable(e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"side",{get:function(){return this._side},set:function(t){this.isRightSide=Object(o.m)(t,this._plt.isRTL),this._side=this.isRightSide?"right":"left"},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"swipeEnabled",{get:function(){return this._isSwipeEnabled},set:function(t){var e=Object(o.o)(t);this.swipeEnable(e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"persistent",{get:function(){return this._isPersistent},set:function(t){this._isPersistent=Object(o.o)(t)},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){var t=this;this._init=!0;var e=this.content;if(this._cntEle=e instanceof Node?e:e&&e.getNativeElement&&e.getNativeElement(),!this._cntEle)return console.error('Menu: must have a [content] element to listen for drag events on. Example:\n\n<ion-menu [content]="content"></ion-menu>\n\n<ion-nav #content></ion-nav>');this.setElementAttribute("side",this._side),this.type||(this.type=this._config.get("menuType")),this.setElementAttribute("type",this.type),this._gesture=new u(this._plt,this,this._gestureCtrl,this._domCtrl),this._cntEle.classList.add("menu-content"),this._cntEle.classList.add("menu-content-"+this.type);var n=this._isEnabled;!0!==n&&void 0!==n||(n=!this._menuCtrl.getMenus().some(function(e){return e.side===t.side&&e.enabled})),this._menuCtrl._register(this),this.enable(n)},t.prototype.onBackdropClick=function(t){t.preventDefault(),t.stopPropagation(),this._menuCtrl.close()},t.prototype._getType=function(){return this._type||(this._type=l.a.create(this.type,this,this._plt),!1===this._config.get("animate")&&this._type.ani.duration(0)),this._type},t.prototype.setOpen=function(t,e){var n=this;return void 0===e&&(e=!0),t===this.isOpen||!this._canOpen()||this._isAnimating?Promise.resolve(this.isOpen):new Promise(function(r){n._before(),n._getType().setOpen(t,e,function(){n._after(t),r(n.isOpen)})})},t.prototype._forceClosing=function(){var t=this;this._isAnimating=!0,this._getType().setOpen(!1,!1,function(){t._after(!1)})},t.prototype.canSwipe=function(){return this._isSwipeEnabled&&!this._isAnimating&&this._canOpen()&&this._app.isEnabled()},t.prototype.isAnimating=function(){return this._isAnimating},t.prototype._swipeBeforeStart=function(){this.canSwipe()&&this._before()},t.prototype._swipeStart=function(){this._isAnimating&&this._getType().setProgressStart(this.isOpen)},t.prototype._swipeProgress=function(t){if(this._isAnimating){this._getType().setProgessStep(t);var e=this.ionDrag;e.observers.length>0&&e.emit(t)}},t.prototype._swipeEnd=function(t,e,n,r){var i=this;if(this._isAnimating){var o=this.isRightSide,s=this._plt.isRTL,a=!this.isOpen?o!==s?t:e:o!==s?e:t;this._getType().setProgressEnd(a,n,r,function(t){i._after(t)})}},t.prototype._before=function(){this.setElementClass("show-menu",!0),this.backdrop.setElementClass("show-backdrop",!0),this.resize(),this._keyboard.close(),this._isAnimating=!0},t.prototype._after=function(t){if(this._app.setEnabled(!1,100),this.isOpen=t,this._isAnimating=!1,this._events.unlistenAll(),t){this._gestureBlocker.block(),this._cntEle.classList.add("menu-content-open");var e=this.onBackdropClick.bind(this);this._events.listen(this._cntEle,"click",e,{capture:!0}),this._events.listen(this.backdrop.getNativeElement(),"click",e,{capture:!0}),this.ionOpen.emit(!0)}else this._gestureBlocker.unblock(),this._cntEle.classList.remove("menu-content-open"),this.setElementClass("show-menu",!1),this.backdrop.setElementClass("show-menu",!1),this.ionClose.emit(!0)},t.prototype.open=function(){return this.setOpen(!0)},t.prototype.close=function(){return this.setOpen(!1)},t.prototype.resize=function(){var t=this.menuContent?this.menuContent:this.menuNav;t&&t.resize()},t.prototype.toggle=function(){return this.setOpen(!this.isOpen)},t.prototype._canOpen=function(){return this._isEnabled&&!this._isPane},t.prototype._updateState=function(){var t=this._canOpen();if(!t&&this.isOpen&&this._forceClosing(),this._isEnabled&&this._menuCtrl&&this._menuCtrl._setActiveMenu(this),this._init){var e=this._gesture;t&&this._isSwipeEnabled&&!e.isListening?e.listen():!e.isListening||t&&this._isSwipeEnabled||e.unlisten(),(this.isOpen||this._isPane&&this._isEnabled)&&this.resize()}},t.prototype.enable=function(t){return this._isEnabled=t,this.setElementClass("menu-enabled",t),this._updateState(),this},t.prototype.initPane=function(){return!1},t.prototype.paneChanged=function(t){this._isPane=t,this._updateState()},t.prototype.swipeEnable=function(t){return this._isSwipeEnabled=t,this._updateState(),this},t.prototype.getNativeElement=function(){return this._elementRef.nativeElement},t.prototype.getMenuElement=function(){return this.getNativeElement().querySelector(".menu-inner")},t.prototype.getContentElement=function(){return this._cntEle},t.prototype.getBackdropElement=function(){return this.backdrop.getNativeElement()},t.prototype.width=function(){return this.getMenuElement().offsetWidth},t.prototype.getMenuController=function(){return this._menuCtrl},t.prototype.setElementClass=function(t,e){this._renderer.setElementClass(this._elementRef.nativeElement,t,e)},t.prototype.setElementAttribute=function(t,e){this._renderer.setElementAttribute(this._elementRef.nativeElement,t,e)},t.prototype.getElementRef=function(){return this._elementRef},t.prototype.ngOnDestroy=function(){this._menuCtrl._unregister(this),this._events.destroy(),this._gesture&&this._gesture.destroy(),this._type&&this._type.destroy(),this._gesture=null,this._type=null,this._cntEle=null},t}()},function(t,e,n){"use strict";n.d(e,"a",function(){return o});var r=n(87),i=(n(39),n(18),n(25)),o=(n(106),function(){function t(t,e,n,r,o,s,a){this._cfr=t,this._renderer=e,this._elementRef=n,this._navParams=r,this._viewCtrl=o,this.moduleLoader=a;var u=r.get("opts");this._gestureBlocker=s.createBlocker({disable:[i.d,i.b]}),this._bdDismiss=u.enableBackdropDismiss,u.cssClass&&u.cssClass.split(" ").forEach(function(t){""!==t.trim()&&e.setElementClass(n.nativeElement,t,!0)})}return t.prototype.ionViewPreLoad=function(){var t=this._navParams.data.component;if(t){var e=this.moduleLoader.getComponentFactoryResolver(t);e||(e=this._cfr);var n=e.resolveComponentFactory(t),r=this._viewport.createComponent(n,this._viewport.length,this._viewport.parentInjector,[]);this._setCssClass(r,"ion-page"),this._setCssClass(r,"show-page"),this._viewCtrl._setInstance(r.instance),this._viewCtrl.willEnter.subscribe(this._viewWillEnter.bind(this)),this._viewCtrl.didLeave.subscribe(this._viewDidLeave.bind(this)),this._enabled=!0}else console.warn("modal's page was not defined")},t.prototype._viewWillEnter=function(){this._gestureBlocker.block()},t.prototype._viewDidLeave=function(){this._gestureBlocker.unblock()},t.prototype._setCssClass=function(t,e){this._renderer.setElementClass(t.location.nativeElement,e,!0)},t.prototype._bdClick=function(){if(this._enabled&&this._bdDismiss){return this._viewCtrl.dismiss(null,"backdrop",{minClickBlockDuration:400})}},t.prototype._keyUp=function(t){this._enabled&&this._viewCtrl.isLast()&&t.keyCode===r.c&&this._bdClick()},t.prototype.ngOnDestroy=function(){this._gestureBlocker.destroy()},t}())},,,function(t,e,n){"use strict";n.d(e,"a",function(){return o});n(6);var r=n(87),i=(n(39),n(18),n(25)),o=(n(106),function(){function t(t,e,n,r,o,a,u,l){this._cfr=t,this._elementRef=e,this._renderer=n,this._config=r,this._navParams=o,this._viewCtrl=a,this.moduleLoader=l,this._gestureBlocker=u.createBlocker(i.a),this.d=o.data.opts,n.setElementClass(e.nativeElement,"popover-"+r.get("mode"),!0),this.d.cssClass&&this.d.cssClass.split(" ").forEach(function(t){""!==t.trim()&&n.setElementClass(e.nativeElement,t,!0)}),this.id=++s}return t.prototype.ionViewPreLoad=function(){this._load(this._navParams.data.component)},t.prototype._load=function(t){if(t){var e=this.moduleLoader.getComponentFactoryResolver(t);e||(e=this._cfr);var n=e.resolveComponentFactory(t),r=this._viewport.createComponent(n,this._viewport.length,this._viewport.parentInjector,[]);this._viewCtrl._setInstance(r.instance),this._enabled=!0,this._viewCtrl.willEnter.subscribe(this._viewWillEnter.bind(this)),this._viewCtrl.didLeave.subscribe(this._viewDidLeave.bind(this))}},t.prototype._viewWillEnter=function(){this._gestureBlocker.block()},t.prototype._viewDidLeave=function(){this._gestureBlocker.unblock()},t.prototype._setCssClass=function(t,e){this._renderer.setElementClass(t.location.nativeElement,e,!0)},t.prototype._bdClick=function(){if(this._enabled&&this.d.enableBackdropDismiss)return this._viewCtrl.dismiss(null,"backdrop")},t.prototype._keyUp=function(t){this._enabled&&t.keyCode===r.c&&this._viewCtrl.isLast()&&this._bdClick()},t.prototype.ngOnDestroy=function(){this._gestureBlocker.destroy()},t}()),s=-1},function(t,e,n){"use strict";n.d(e,"a",function(){return r});n(39),n(18);var r=function(){function t(t,e){this.navParams=t,this.viewController=e}return Object.defineProperty(t.prototype,"value",{get:function(){var t=this.options.find(function(t){return t.checked});return t?t.value:void 0},set:function(t){var e=this.options.find(function(e){return e.value===t});e&&e.handler&&e.handler(),this.viewController.dismiss(t)},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){this.options=this.navParams.data.options},t}()},function(t,e,n){"use strict";n.d(e,"a",function(){return r});n(6),n(39),n(18);var r=function(){function t(t,e,n,r,o){this._viewCtrl=t,this._config=e,this._elementRef=n,this.dismissTimeout=void 0,o.setElementClass(n.nativeElement,"toast-"+e.get("mode"),!0),this.d=r.data,this.d.cssClass&&this.d.cssClass.split(" ").forEach(function(t){""!==t.trim()&&o.setElementClass(n.nativeElement,t,!0)}),this.id=++i,this.d.message&&(this.hdrId="toast-hdr-"+this.id)}return t.prototype.ngAfterViewInit=function(){var t=this;this.d.duration&&(this.dismissTimeout=setTimeout(function(){t.dismiss("backdrop")},this.d.duration)),this.enabled=!0},t.prototype.ionViewDidEnter=function(){var t=document.activeElement;t&&t.blur();var e=this._elementRef.nativeElement.querySelector("button");e&&e.focus()},t.prototype.cbClick=function(){this.enabled&&this.dismiss("close")},t.prototype.dismiss=function(t){return clearTimeout(this.dismissTimeout),this.dismissTimeout=void 0,this._viewCtrl.dismiss(null,t,{disableApp:!1})},t}(),i=-1},function(t,e,n){"use strict";n.d(e,"a",function(){return u});var r=n(1),i=(n(6),n(102)),o=n(11),s=n(642),a=(n(16),this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}()),u=function(t){function e(e,n,i,o,a){var u=t.call(this,e,i,o,"searchbar","",null,null,a)||this;return u._plt=n,u._shouldBlur=!0,u._shouldAlignLeft=!0,u._isCancelVisible=!1,u._spellcheck=!1,u._autocomplete="off",u._autocorrect="off",u._isActive=!1,u._showCancelButton=!1,u._animated=!1,u._inputDebouncer=new s.a(0),u.cancelButtonText="Cancel",u.placeholder="Search",u.type="search",u.ionInput=new r.EventEmitter,u.ionCancel=new r.EventEmitter,u.ionClear=new r.EventEmitter,u.debounce=250,u}return a(e,t),Object.defineProperty(e.prototype,"showCancelButton",{get:function(){return this._showCancelButton},set:function(t){this._showCancelButton=Object(o.o)(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"debounce",{get:function(){return this._debouncer.wait},set:function(t){this._debouncer.wait=t,this._inputDebouncer.wait=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"autocomplete",{set:function(t){this._autocomplete=""===t||"on"===t?"on":this._config.get("autocomplete","off")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"autocorrect",{set:function(t){this._autocorrect=""===t||"on"===t?"on":this._config.get("autocorrect","off")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"spellcheck",{set:function(t){this._spellcheck=""===t||"true"===t||!0===t||this._config.getBoolean("spellcheck",!1)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"animated",{get:function(){return this._animated},set:function(t){this._animated=Object(o.o)(t)},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){var t=this.showCancelButton;"string"==typeof t&&(this.showCancelButton=""===t||"true"===t)},e.prototype._inputUpdated=function(){var t=this._searchbarInput.nativeElement,e=this._value;t.value!==e&&(t.value=e),this.positionElements()},e.prototype.positionElements=function(){var t=this._animated,e=this._shouldAlignLeft,n=!t||this._value&&""!==this._value.toString().trim()||!0===this._isFocus;this._shouldAlignLeft=n,"ios"===this._mode&&(e!==n&&this.positionPlaceholder(),t&&this.positionCancelButton())},e.prototype.positionPlaceholder=function(){var t=this._searchbarInput.nativeElement,e=this._searchbarIcon.nativeElement;if(this._shouldAlignLeft)t.removeAttribute("style"),e.removeAttribute("style");else{var n=this._plt.doc(),r=n.createElement("span");r.innerHTML=this.placeholder,n.body.appendChild(r);var i=r.offsetWidth;n.body.removeChild(r);var o="calc(50% - "+i/2+"px)";this._plt.isRTL?t.style.paddingRight=o:t.style.paddingLeft=o;var s="calc(50% - "+(i/2+30)+"px)";this._plt.isRTL?e.style.marginRight=s:e.style.marginLeft=s}},e.prototype.positionCancelButton=function(){var t=this._isFocus;if(t!==this._isCancelVisible){var e=this._cancelButton.nativeElement,n=e.style;if(this._isCancelVisible=t,t)this._plt.isRTL?n.marginLeft="0":n.marginRight="0";else{var r=e.offsetWidth;r>0&&(this._plt.isRTL?n.marginLeft=-r+"px":n.marginRight=-r+"px")}}},e.prototype.inputChanged=function(t){var e=this;this.value=t.target.value,this._inputDebouncer.debounce(function(){e.ionInput.emit(t)})},e.prototype.inputFocused=function(){this._isActive=!0,this._fireFocus(),this.positionElements()},e.prototype.inputBlurred=function(){if(!1===this._shouldBlur)return this._searchbarInput.nativeElement.focus(),void(this._shouldBlur=!0);this._fireBlur(),this.positionElements()},e.prototype.clearInput=function(t){var e=this;this.ionClear.emit(t),setTimeout(function(){var n=e._value;Object(o.l)(n)&&""!==n&&(e.value="",e.ionInput.emit(t))},64),this._shouldBlur=!1},e.prototype.cancelSearchbar=function(t){this.ionCancel.emit(t),this.clearInput(t),this._shouldBlur=!0,this._isActive=!1},e.prototype.setFocus=function(){this._renderer.invokeElementMethod(this._searchbarInput.nativeElement,"focus")},e}(i.a)},function(t,e,n){"use strict";n.d(e,"a",function(){return o});n(6);var r=n(26),i=(n(18),this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}()),o=function(t){function e(e,n,r,i){var o=t.call(this,e,n,r,"footer")||this;return i&&i._setFooter(o),o}return i(e,t),e}(r.a)},function(t,e,n){"use strict";n.d(e,"a",function(){return r});var r=function(){return function(t){this.templateRef=t}}()},function(t,e,n){"use strict";n.d(e,"a",function(){return r});var r=function(){return function(t,e){this.templateRef=t,this.viewContainer=e}}()},function(t,e,n){"use strict";n.d(e,"a",function(){return o});var r=n(126),i=(n(216),this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}()),o=function(t){function e(e){var n=t.call(this)||this;return n.localStorage=e,n.idleName="main",n}return i(e,t),e.prototype.last=function(t){return void 0!==t&&this.setExpiry(t),this.getExpiry()},e.prototype.idling=function(t){return void 0!==t&&this.setIdling(t),this.getIdling()},e.prototype.getIdleName=function(){return this.idleName},e.prototype.setIdleName=function(t){t&&(this.idleName=t)},e.prototype.getExpiry=function(){var t=this.localStorage.getItem(this.idleName+".expiry");return t?new Date(parseInt(t,10)):null},e.prototype.setExpiry=function(t){t?this.localStorage.setItem(this.idleName+".expiry",t.getTime().toString()):this.localStorage.removeItem(this.idleName+".expiry")},e.prototype.getIdling=function(){var t=this.localStorage.getItem(this.idleName+".idling");return!!t&&"true"===t},e.prototype.setIdling=function(t){this.localStorage.setItem(this.idleName+".idling",t?t.toString():"false")},e}(r.a)},function(t,e,n){"use strict";n(1);var r=function(){function t(){this.storageMap={}}return Object.defineProperty(t.prototype,"length",{get:function(){return Object.keys(this.storageMap).length},enumerable:!0,configurable:!0}),t.prototype.clear=function(){this.storageMap={}},t.prototype.getItem=function(t){return void 0!==this.storageMap[t]?this.storageMap[t]:null},t.prototype.key=function(t){return Object.keys(this.storageMap)[t]||null},t.prototype.removeItem=function(t){this.storageMap[t]=void 0},t.prototype.setItem=function(t,e){this.storageMap[t]=e},t}();n.d(e,"a",function(){return i});var i=function(){function t(){this.storage=this.getStorage()}return t.prototype.getStorage=function(){try{var t=localStorage;return t.setItem("ng2IdleStorage",""),t.removeItem("ng2IdleStorage"),t}catch(t){return new r}},t.prototype.getItem=function(t){return this.storage.getItem("ng2Idle."+t)},t.prototype.removeItem=function(t){this.storage.removeItem("ng2Idle."+t)},t.prototype.setItem=function(t,e){this.storage.setItem("ng2Idle."+t,e)},t.prototype._wrapped=function(){return this.storage},t}()},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default=function(){function t(){}return t.numberOfTrailingZeros=function(t){var e;if(0===t)return 32;var n=31;return 0!==(e=t<<16)&&(n-=16,t=e),0!==(e=t<<8)&&(n-=8,t=e),0!==(e=t<<4)&&(n-=4,t=e),0!==(e=t<<2)&&(n-=2,t=e),n-(t<<1>>>31)},t.numberOfLeadingZeros=function(t){if(0===t)return 32;var e=1;return t>>>16==0&&(e+=16,t<<=16),t>>>24==0&&(e+=8,t<<=8),t>>>28==0&&(e+=4,t<<=4),t>>>30==0&&(e+=2,t<<=2),e-=t>>>31},t.toHexString=function(t){return t.toString(16)},t.bitCount=function(t){return t-=t>>>1&1431655765,t=(858993459&t)+(t>>>2&858993459),t=t+(t>>>4)&252645135,t+=t>>>8,63&(t+=t>>>16)},t.MIN_VALUE_32_BITS=-2147483648,t}()},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(128),i=n(74),o=n(37);e.default=function(){function t(t,e){if(0===e.length)throw new o.default;this.field=t;var n=e.length;if(n>1&&0===e[0]){for(var r=1;r<n&&0===e[r];)r++;r===n?this.coefficients=Int32Array.from([0]):(this.coefficients=new Int32Array(n-r),i.default.arraycopy(e,r,this.coefficients,0,this.coefficients.length))}else this.coefficients=e}return t.prototype.getCoefficients=function(){return this.coefficients},t.prototype.getDegree=function(){return this.coefficients.length-1},t.prototype.isZero=function(){return 0===this.coefficients[0]},t.prototype.getCoefficient=function(t){return this.coefficients[this.coefficients.length-1-t]},t.prototype.evaluateAt=function(t){if(0===t)return this.getCoefficient(0);var e,n=this.coefficients;if(1===t){e=0;for(var i=0,o=n.length;i!==o;i++){e=r.default.addOrSubtract(e,n[i])}return e}e=n[0];var s=n.length,a=this.field;for(i=1;i<s;i++)e=r.default.addOrSubtract(a.multiply(t,e),n[i]);return e},t.prototype.addOrSubtract=function(e){if(!this.field.equals(e.field))throw new o.default("GenericGFPolys do not have same GenericGF field");if(this.isZero())return e;if(e.isZero())return this;var n=this.coefficients,s=e.coefficients;if(n.length>s.length){var a=n;n=s,s=a}var u=new Int32Array(s.length),l=s.length-n.length;i.default.arraycopy(s,0,u,0,l);for(var c=l;c<s.length;c++)u[c]=r.default.addOrSubtract(n[c-l],s[c]);return new t(this.field,u)},t.prototype.multiply=function(e){if(!this.field.equals(e.field))throw new o.default("GenericGFPolys do not have same GenericGF field");if(this.isZero()||e.isZero())return this.field.getZero();for(var n=this.coefficients,i=n.length,s=e.coefficients,a=s.length,u=new Int32Array(i+a-1),l=this.field,c=0;c<i;c++)for(var d=n[c],h=0;h<a;h++)u[c+h]=r.default.addOrSubtract(u[c+h],l.multiply(d,s[h]));return new t(l,u)},t.prototype.multiplyScalar=function(e){if(0===e)return this.field.getZero();if(1===e)return this;for(var n=this.coefficients.length,r=this.field,i=new Int32Array(n),o=this.coefficients,s=0;s<n;s++)i[s]=r.multiply(o[s],e);return new t(r,i)},t.prototype.multiplyByMonomial=function(e,n){if(e<0)throw new o.default;if(0===n)return this.field.getZero();for(var r=this.coefficients,i=r.length,s=new Int32Array(i+e),a=this.field,u=0;u<i;u++)s[u]=a.multiply(r[u],n);return new t(a,s)},t.prototype.divide=function(t){if(!this.field.equals(t.field))throw new o.default("GenericGFPolys do not have same GenericGF field");if(t.isZero())throw new o.default("Divide by 0");for(var e=this.field,n=e.getZero(),r=this,i=t.getCoefficient(t.getDegree()),s=e.inverse(i);r.getDegree()>=t.getDegree()&&!r.isZero();){var a=r.getDegree()-t.getDegree(),u=e.multiply(r.getCoefficient(r.getDegree()),s),l=t.multiplyByMonomial(a,u),c=e.buildMonomial(a,u);n=n.addOrSubtract(c),r=r.addOrSubtract(l)}return[n,r]},t.prototype.toString=function(){for(var t="",e=this.getDegree();e>=0;e--){var n=this.getCoefficient(e);if(0!==n){if(n<0?(t+=" - ",n=-n):t.length>0&&(t+=" + "),0===e||1!==n){var r=this.field.log(n);0===r?t+="1":1===r?t+="a":(t+="a^",t+=r)}0!==e&&(1===e?t+="x":(t+="x^",t+=e))}}return t},t}()},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,i=n(328),o=n(37);!function(t){t[t.L=0]="L",t[t.M=1]="M",t[t.Q=2]="Q",t[t.H=3]="H"}(r=e.ErrorCorrectionLevelValues||(e.ErrorCorrectionLevelValues={}));e.default=function(){function t(e,n,r){this.value=e,this.stringValue=n,this.bits=r,t.FOR_BITS.set(r,this),t.FOR_VALUE.set(e,this)}return t.prototype.getValue=function(){return this.value},t.prototype.getBits=function(){return this.bits},t.fromString=function(e){switch(e){case"L":return t.L;case"M":return t.M;case"Q":return t.Q;case"H":return t.H;default:throw new i.default(e+"not available")}},t.prototype.toString=function(){return this.stringValue},t.prototype.equals=function(e){if(!(e instanceof t))return!1;return this.value===e.value},t.forBits=function(e){if(e<0||e>=t.FOR_BITS.size)throw new o.default;return t.FOR_BITS.get(e)},t.FOR_BITS=new Map,t.FOR_VALUE=new Map,t.L=new t(r.L,"L",1),t.M=new t(r.M,"M",0),t.Q=new t(r.Q,"Q",3),t.H=new t(r.H,"H",2),t}()},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r;!function(t){t[t.ERROR_CORRECTION=0]="ERROR_CORRECTION",t[t.CHARACTER_SET=1]="CHARACTER_SET",t[t.DATA_MATRIX_SHAPE=2]="DATA_MATRIX_SHAPE",t[t.MIN_SIZE=3]="MIN_SIZE",t[t.MAX_SIZE=4]="MAX_SIZE",t[t.MARGIN=5]="MARGIN",t[t.PDF417_COMPACT=6]="PDF417_COMPACT",t[t.PDF417_COMPACTION=7]="PDF417_COMPACTION",t[t.PDF417_DIMENSIONS=8]="PDF417_DIMENSIONS",t[t.AZTEC_LAYERS=9]="AZTEC_LAYERS",t[t.QR_VERSION=10]="QR_VERSION"}(r||(r={})),e.default=r},function(t,e,n){"use strict";n.d(e,"a",function(){return o});var r=n(0),i=n(73),o=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r.__extends)(e,t),e.prototype.show=function(){},e.prototype.hide=function(){},Object(r.__decorate)([Object(i.a)({sync:!0}),Object(r.__metadata)("design:type",Function),Object(r.__metadata)("design:paramtypes",[]),Object(r.__metadata)("design:returntype",void 0)],e.prototype,"show",null),Object(r.__decorate)([Object(i.a)({sync:!0}),Object(r.__metadata)("design:type",Function),Object(r.__metadata)("design:paramtypes",[]),Object(r.__metadata)("design:returntype",void 0)],e.prototype,"hide",null),e=Object(r.__decorate)([Object(i.g)({pluginName:"SplashScreen",plugin:"cordova-plugin-splashscreen",pluginRef:"navigator.splashscreen",repo:"https://github.com/apache/cordova-plugin-splashscreen",platforms:["Amazon Fire OS","Android","iOS","Windows"]})],e)}(i.f)},function(t,e,n){"use strict";n.d(e,"a",function(){return a});var r=n(1),i=n(55),o=n(257),s=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),a=function(t){function e(e){var n=t.call(this)||this;return n.http=e,n.pingInterval=600,n.onPing=new r.EventEmitter,n.onPingResponse=new r.EventEmitter,n}return s(e,t),e.prototype.request=function(t){return"string"==typeof t?this.pingRequest=new i.g("GET",t):t instanceof i.g?this.pingRequest=t:null===t&&(this.pingRequest=null),this.pingRequest},e.prototype.interval=function(t){if(!isNaN(t)&&t>0)this.pingInterval=t;else if(!isNaN(t)&&t<=0)throw new Error("Interval value must be greater than zero.");return this.pingInterval},e.prototype.ping=function(){var t=this;this.onPing.emit(null),this.pingRequest&&this.http.request(this.pingRequest).subscribe(function(e){t.onPingResponse.emit(e)})},e.prototype.start=function(){var t=this;this.stop(),this.pingHandle=setInterval(function(){t.ping()},1e3*this.pingInterval)},e.prototype.stop=function(){this.hasPingHandle()&&(clearInterval(this.pingHandle),this.pingHandle=null)},e.prototype.ngOnDestroy=function(){this.stop()},e.prototype.isRunning=function(){return this.hasPingHandle()},e.prototype.hasPingHandle=function(){return null!==this.pingHandle&&void 0!==this.pingHandle},e}(o.b)},,,function(t,e,n){"use strict";n.d(e,"a",function(){return u}),n.d(e,"b",function(){return l}),e.c=function(t){return new u(t||{name:"_ionicstorage",storeName:"_ionickv",driverOrder:["sqlite","indexeddb","websql","localstorage"]})};var r=n(1),i=n(939),o=n.n(i),s=n(940),a=n.n(s),u=function(){function t(t){var e=this;this._driver=null,this._dbPromise=new Promise(function(n,r){var i,s={name:"_ionicstorage",storeName:"_ionickv",driverOrder:["sqlite","indexeddb","websql","localstorage"]},u=Object.assign(s,t||{});o.a.defineDriver(a.a).then(function(){i=o.a.createInstance(u)}).then(function(){return i.setDriver(e._getDriverOrder(u.driverOrder))}).then(function(){e._driver=i.driver(),n(i)}).catch(function(t){return r(t)})})}return Object.defineProperty(t.prototype,"driver",{get:function(){return this._driver},enumerable:!0,configurable:!0}),t.prototype.ready=function(){return this._dbPromise},t.prototype._getDriverOrder=function(t){return t.map(function(t){switch(t){case"sqlite":return a.a._driver;case"indexeddb":return o.a.INDEXEDDB;case"websql":return o.a.WEBSQL;case"localstorage":return o.a.LOCALSTORAGE}})},t.prototype.get=function(t){return this._dbPromise.then(function(e){return e.getItem(t)})},t.prototype.set=function(t,e){return this._dbPromise.then(function(n){return n.setItem(t,e)})},t.prototype.remove=function(t){return this._dbPromise.then(function(e){return e.removeItem(t)})},t.prototype.clear=function(){return this._dbPromise.then(function(t){return t.clear()})},t.prototype.length=function(){return this._dbPromise.then(function(t){return t.length()})},t.prototype.keys=function(){return this._dbPromise.then(function(t){return t.keys()})},t.prototype.forEach=function(t){return this._dbPromise.then(function(e){return e.iterate(t)})},t}(),l=new r.InjectionToken("STORAGE_CONFIG_TOKEN")},function(t,e,n){"use strict";function r(t){return t.replace(/[^\u0000-\u007E]/g,function(t){return m[t]||t})}function i(t){return null!==t&&void 0!==t}function o(t){return i(t)&&"object"==typeof t}function s(t){return t instanceof Function}function a(){return"axxxxxxxxxxx".replace(/[x]/g,function(t){return(16*Math.random()|0).toString(16)})}n.d(e,"b",function(){return M}),n.d(e,"a",function(){return E}),n.d(e,"c",function(){return x}),n.d(e,"h",function(){return T}),n.d(e,"d",function(){return S}),n.d(e,"g",function(){return g}),n.d(e,"e",function(){return y}),n.d(e,"f",function(){return v});var u=n(0),l=n(1),c=n(19),d=n(492),h=(n.n(d),n(28)),f=(n.n(h),n(121)),p={Tab:9,Enter:13,Esc:27,Space:32,ArrowUp:38,ArrowDown:40,Backspace:8};p[p.Tab]="Tab",p[p.Enter]="Enter",p[p.Esc]="Esc",p[p.Space]="Space",p[p.ArrowUp]="ArrowUp",p[p.ArrowDown]="ArrowDown",p[p.Backspace]="Backspace";var m={"Ⓐ":"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","Ⱥ":"A","Ɐ":"A","Ꜳ":"AA","Æ":"AE","Ǽ":"AE","Ǣ":"AE","Ꜵ":"AO","Ꜷ":"AU","Ꜹ":"AV","Ꜻ":"AV","Ꜽ":"AY","Ⓑ":"B","B":"B","Ḃ":"B","Ḅ":"B","Ḇ":"B","Ƀ":"B","Ƃ":"B","Ɓ":"B","Ⓒ":"C","C":"C","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","Ç":"C","Ḉ":"C","Ƈ":"C","Ȼ":"C","Ꜿ":"C","Ⓓ":"D","D":"D","Ḋ":"D","Ď":"D","Ḍ":"D","Ḑ":"D","Ḓ":"D","Ḏ":"D","Đ":"D","Ƌ":"D","Ɗ":"D","Ɖ":"D","Ꝺ":"D","DZ":"DZ","DŽ":"DZ","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","Ɛ":"E","Ǝ":"E","Ⓕ":"F","F":"F","Ḟ":"F","Ƒ":"F","Ꝼ":"F","Ⓖ":"G","G":"G","Ǵ":"G","Ĝ":"G","Ḡ":"G","Ğ":"G","Ġ":"G","Ǧ":"G","Ģ":"G","Ǥ":"G","Ɠ":"G","Ꞡ":"G","Ᵹ":"G","Ꝿ":"G","Ⓗ":"H","H":"H","Ĥ":"H","Ḣ":"H","Ḧ":"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","Į":"I","Ḭ":"I","Ɨ":"I","Ⓙ":"J","J":"J","Ĵ":"J","Ɉ":"J","Ⓚ":"K","K":"K","Ḱ":"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","Ꞁ":"L","LJ":"LJ","Lj":"Lj","Ⓜ":"M","M":"M","Ḿ":"M","Ṁ":"M","Ṃ":"M","Ɱ":"M","Ɯ":"M","Ⓝ":"N","N":"N","Ǹ":"N","Ń":"N","Ñ":"N","Ṅ":"N","Ň":"N","Ṇ":"N","Ņ":"N","Ṋ":"N","Ṉ":"N","Ƞ":"N","Ɲ":"N","Ꞑ":"N","Ꞥ":"N","NJ":"NJ","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","Ɔ":"O","Ɵ":"O","Ꝋ":"O","Ꝍ":"O","Ƣ":"OI","Ꝏ":"OO","Ȣ":"OU","Ⓟ":"P","P":"P","Ṕ":"P","Ṗ":"P","Ƥ":"P","Ᵽ":"P","Ꝑ":"P","Ꝓ":"P","Ꝕ":"P","Ⓠ":"Q","Q":"Q","Ꝗ":"Q","Ꝙ":"Q","Ɋ":"Q","Ⓡ":"R","R":"R","Ŕ":"R","Ṙ":"R","Ř":"R","Ȑ":"R","Ȓ":"R","Ṛ":"R","Ṝ":"R","Ŗ":"R","Ṟ":"R","Ɍ":"R","Ɽ":"R","Ꝛ":"R","Ꞧ":"R","Ꞃ":"R","Ⓢ":"S","S":"S","ẞ":"S","Ś":"S","Ṥ":"S","Ŝ":"S","Ṡ":"S","Š":"S","Ṧ":"S","Ṣ":"S","Ṩ":"S","Ș":"S","Ş":"S","Ȿ":"S","Ꞩ":"S","Ꞅ":"S","Ⓣ":"T","T":"T","Ṫ":"T","Ť":"T","Ṭ":"T","Ț":"T","Ţ":"T","Ṱ":"T","Ṯ":"T","Ŧ":"T","Ƭ":"T","Ʈ":"T","Ⱦ":"T","Ꞇ":"T","Ꜩ":"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","Ṷ":"U","Ṵ":"U","Ʉ":"U","Ⓥ":"V","V":"V","Ṽ":"V","Ṿ":"V","Ʋ":"V","Ꝟ":"V","Ʌ":"V","Ꝡ":"VY","Ⓦ":"W","W":"W","Ẁ":"W","Ẃ":"W","Ŵ":"W","Ẇ":"W","Ẅ":"W","Ẉ":"W","Ⱳ":"W","Ⓧ":"X","X":"X","Ẋ":"X","Ẍ":"X","Ⓨ":"Y","Y":"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","ⓐ":"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","ą":"a","ⱥ":"a","ɐ":"a","ꜳ":"aa","æ":"ae","ǽ":"ae","ǣ":"ae","ꜵ":"ao","ꜷ":"au","ꜹ":"av","ꜻ":"av","ꜽ":"ay","ⓑ":"b","b":"b","ḃ":"b","ḅ":"b","ḇ":"b","ƀ":"b","ƃ":"b","ɓ":"b","ⓒ":"c","c":"c","ć":"c","ĉ":"c","ċ":"c","č":"c","ç":"c","ḉ":"c","ƈ":"c","ȼ":"c","ꜿ":"c","ↄ":"c","ⓓ":"d","d":"d","ḋ":"d","ď":"d","ḍ":"d","ḑ":"d","ḓ":"d","ḏ":"d","đ":"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","ḙ":"e","ḛ":"e","ɇ":"e","ɛ":"e","ǝ":"e","ⓕ":"f","f":"f","ḟ":"f","ƒ":"f","ꝼ":"f","ⓖ":"g","g":"g","ǵ":"g","ĝ":"g","ḡ":"g","ğ":"g","ġ":"g","ǧ":"g","ģ":"g","ǥ":"g","ɠ":"g","ꞡ":"g","ᵹ":"g","ꝿ":"g","ⓗ":"h","h":"h","ĥ":"h","ḣ":"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","ḭ":"i","ɨ":"i","ı":"i","ⓙ":"j","j":"j","ĵ":"j","ǰ":"j","ɉ":"j","ⓚ":"k","k":"k","ḱ":"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","ꞁ":"l","ꝇ":"l","lj":"lj","ⓜ":"m","m":"m","ḿ":"m","ṁ":"m","ṃ":"m","ɱ":"m","ɯ":"m","ⓝ":"n","n":"n","ǹ":"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","ɔ":"o","ꝋ":"o","ꝍ":"o","ɵ":"o","ƣ":"oi","ȣ":"ou","ꝏ":"oo","ⓟ":"p","p":"p","ṕ":"p","ṗ":"p","ƥ":"p","ᵽ":"p","ꝑ":"p","ꝓ":"p","ꝕ":"p","ⓠ":"q","q":"q","ɋ":"q","ꝗ":"q","ꝙ":"q","ⓡ":"r","r":"r","ŕ":"r","ṙ":"r","ř":"r","ȑ":"r","ȓ":"r","ṛ":"r","ṝ":"r","ŗ":"r","ṟ":"r","ɍ":"r","ɽ":"r","ꝛ":"r","ꞧ":"r","ꞃ":"r","ⓢ":"s","s":"s","ß":"s","ś":"s","ṥ":"s","ŝ":"s","ṡ":"s","š":"s","ṧ":"s","ṣ":"s","ṩ":"s","ș":"s","ş":"s","ȿ":"s","ꞩ":"s","ꞅ":"s","ẛ":"s","ⓣ":"t","t":"t","ṫ":"t","ẗ":"t","ť":"t","ṭ":"t","ț":"t","ţ":"t","ṱ":"t","ṯ":"t","ŧ":"t","ƭ":"t","ʈ":"t","ⱦ":"t","ꞇ":"t","ꜩ":"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","ṷ":"u","ṵ":"u","ʉ":"u","ⓥ":"v","v":"v","ṽ":"v","ṿ":"v","ʋ":"v","ꝟ":"v","ʌ":"v","ꝡ":"vy","ⓦ":"w","w":"w","ẁ":"w","ẃ":"w","ŵ":"w","ẇ":"w","ẅ":"w","ẘ":"w","ẉ":"w","ⱳ":"w","ⓧ":"x","x":"x","ẋ":"x","ẍ":"x","ⓨ":"y","y":"y","ỳ":"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","Ά":"Α","Έ":"Ε","Ή":"Η","Ί":"Ι","Ϊ":"Ι","Ό":"Ο","Ύ":"Υ","Ϋ":"Υ","Ώ":"Ω","ά":"α","έ":"ε","ή":"η","ί":"ι","ϊ":"ι","ΐ":"ι","ό":"ο","ύ":"υ","ϋ":"υ","ΰ":"υ","ω":"ω","ς":"σ"},_=function(){function t(t){this._ngSelect=t,this._items=[],this._filteredItems=[],this._markedIndex=-1,this._selected=[]}return Object.defineProperty(t.prototype,"items",{get:function(){return this._items},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"filteredItems",{get:function(){return this._filteredItems},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return this._selected},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"markedItem",{get:function(){return this._filteredItems[this._markedIndex]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"markedIndex",{get:function(){return this._markedIndex},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"noItemsToSelect",{get:function(){return this._ngSelect.hideSelected&&this._items.length===this._selected.length},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"maxItemsSelected",{get:function(){return this._ngSelect.multiple&&this._ngSelect.maxSelectedItems<=this._selected.length},enumerable:!0,configurable:!0}),t.prototype.setItems=function(t){var e=this;this._items=t.map(function(t,n){return e.mapItem(t,n)}),this._ngSelect.groupBy?(this._groups=this._groupBy(this._items,this._ngSelect.groupBy),this._items=this._flatten(this._groups)):(this._groups=new Map,this._groups.set(void 0,this._items)),this._filteredItems=Object(u.__spread)(this._items)},t.prototype.select=function(t){t.selected||this.maxItemsSelected||(this._ngSelect.multiple||this.clearSelected(),this._selected.push(t),t.selected=!0,this._ngSelect.hideSelected&&(this._filteredItems=this._filteredItems.filter(function(e){return e!==t})))},t.prototype.findItem=function(t){var e=this;if(this._ngSelect.bindValue)return this._items.find(function(n){return!n.hasChildren&&e.resolveNested(n.value,e._ngSelect.bindValue)===t});var n=this._items.find(function(e){return e.value===t}),r=this._ngSelect.compareWith?function(n){return e._ngSelect.compareWith(n.value,t)}:function(n){return!n.hasChildren&&n.label&&n.label===e.resolveNested(t,e._ngSelect.bindLabel)};return n||this._items.find(function(t){return r(t)})},t.prototype.unselect=function(t){this._selected=this._selected.filter(function(e){return e!==t}),t.selected=!1,this._ngSelect.hideSelected&&(this._filteredItems.splice(t.index,0,t),this._filteredItems=Object(u.__spread)(this._filteredItems.sort(function(t,e){return t.index-e.index})))},t.prototype.unselectLast=function(){0!==this._selected.length&&this.unselect(this._lastSelectedItem)},t.prototype.addItem=function(t){var e=this.mapItem(t,this._items.length);return this._items.push(e),this._filteredItems.push(e),e},t.prototype.clearSelected=function(){this._selected.forEach(function(t){t.selected=!1,t.marked=!1}),this._selected=[],this._ngSelect.hideSelected&&this.resetItems()},t.prototype.filter=function(t){if(t){this._filteredItems=[],t=this._ngSelect.searchFn?t:r(t).toLocaleLowerCase();var e=this._ngSelect.searchFn||this._defaultSearchFn,n=function(n){var r=[];try{for(var o=Object(u.__values)(i._groups.get(n)),s=o.next();!s.done;s=o.next()){var a=s.value;if(!(i._ngSelect.hideSelected&&i._selected.indexOf(a)>-1)){e(t,i._ngSelect.searchFn?a.value:a)&&r.push(a)}}}catch(t){d={error:t}}finally{try{s&&!s.done&&(h=o.return)&&h.call(o)}finally{if(d)throw d.error}}if(r.length>0){var l=Object(u.__read)(r.slice(-1),1)[0];if(l.parent){var c=i._items.find(function(t){return t===l.parent});i._filteredItems.push(c)}(f=i._filteredItems).push.apply(f,Object(u.__spread)(r))}var d,h,f},i=this;try{for(var o=Object(u.__values)(Array.from(this._groups.keys())),s=o.next();!s.done;s=o.next()){n(s.value)}}catch(t){a={error:t}}finally{try{s&&!s.done&&(l=o.return)&&l.call(o)}finally{if(a)throw a.error}}var a,l}else this.resetItems()},t.prototype.resetItems=function(){var t=this;this._filteredItems.length!==this._items.length&&(this._filteredItems=this._ngSelect.hideSelected?this._items.filter(function(e){return-1===t._selected.indexOf(e)}):this._items)},t.prototype.unmarkItem=function(){this._markedIndex=-1},t.prototype.markNextItem=function(){this._stepToItem(1)},t.prototype.markPreviousItem=function(){this._stepToItem(-1)},t.prototype.markItem=function(t){this._markedIndex=this._filteredItems.indexOf(t)},t.prototype.markSelectedOrDefault=function(t){if(0!==this._filteredItems.length){var e=this._ngSelect.hideSelected?-1:this._filteredItems.indexOf(this._lastSelectedItem);this._markedIndex=this._lastSelectedItem&&e>-1?e:t?this.filteredItems.findIndex(function(t){return!t.disabled}):-1}},t.prototype.resolveNested=function(t,e){if(!o(t))return t;if(-1===e.indexOf("."))return t[e];for(var n=e.split("."),r=t,i=0,s=n.length;i<s;++i){if(null==r)return null;r=r[n[i]]}return r},t.prototype.mapItem=function(t,e){var n="";return{index:e,label:n=i(t.label)?t.label:i(n=this.resolveNested(t,this._ngSelect.bindLabel))?n.toString():"",value:i(t.$ngOptionValue)?t.$ngOptionValue:t,disabled:t.disabled,htmlId:a()}},t.prototype.mapSelectedItems=function(){var t=this;this._selected.forEach(function(e,n){var r=t.findItem(t._ngSelect.bindValue?e.value[t._ngSelect.bindValue]:e.value);r&&e!==r&&(r.selected=!0,t._selected[n]=r)}),this._ngSelect.hideSelected&&(this._filteredItems=this.filteredItems.filter(function(e){return-1===t._selected.indexOf(e)}))},t.prototype._defaultSearchFn=function(t,e){return r(e.label).toLocaleLowerCase().indexOf(t)>-1},t.prototype._getNextItemIndex=function(t){return t>0?this._markedIndex===this._filteredItems.length-1?0:this._markedIndex+1:this._markedIndex<=0?this._filteredItems.length-1:this._markedIndex-1},t.prototype._stepToItem=function(t){0===this._filteredItems.length||this._filteredItems.every(function(t){return t.disabled})||(this._markedIndex=this._getNextItemIndex(t),this.markedItem.disabled&&this._stepToItem(t))},Object.defineProperty(t.prototype,"_lastSelectedItem",{get:function(){return this._selected[this._selected.length-1]},enumerable:!0,configurable:!0}),t.prototype._groupBy=function(t,e){var n=this,r=e instanceof Function;return t.reduce(function(t,i){var o=r?e.apply(n,[i.value]):i.value[e],s=t.get(o);return s?s.push(i):t.set(o,[i]),t},new Map)},t.prototype._flatten=function(t){var e=this,n=0;return Array.from(t.keys()).reduce(function(r,i){var o={label:i,hasChildren:!0,index:n,disabled:!e._ngSelect.selectableGroup,htmlId:a()};o.value={},o.value[e._ngSelect.groupBy]=i,r.push(o),n++;var s=t.get(i).map(function(t){return t.parent=o,t.hasChildren=!1,n++,t});return r.push.apply(r,Object(u.__spread)(s)),r},[])},t}(),g=function(){function t(t){this.elementRef=t,this.stateChange$=new c.Subject,this._disabled=!1}return Object.defineProperty(t.prototype,"disabled",{get:function(){return this._disabled},set:function(t){this._disabled=this._isDisabled(t)},enumerable:!0,configurable:!0}),t.prototype.ngOnChanges=function(t){t.disabled&&this.stateChange$.next({value:this.value,disabled:this._disabled})},t.prototype._isDisabled=function(t){return null!=t&&""+t!="false"},t}(),v=function(){function t(){}return t.prototype.requestAnimationFrame=function(t){return window.requestAnimationFrame(t)},t.prototype.setTimeout=function(t,e){return window.setTimeout(t,e)},t}(),y=function(){function t(){}return t.prototype.calculateItems=function(t,e,n){var r=t.childHeight*t.itemsLength;e.scrollTop>r&&(e.scrollTop=r);var i=Math.max(0,e.scrollTop)/r*t.itemsLength,o=Math.min(t.itemsLength,Math.ceil(i)+(t.itemsPerCol+1)),s=o,a=Math.max(0,s-t.itemsPerCol-1),u=Math.min(a,Math.floor(i)),l=t.childHeight*Math.ceil(u)-t.childHeight*Math.min(u,n);return l=isNaN(l)?0:l,u=isNaN(u)?-1:u,o=isNaN(o)?-1:o,u-=n,u=Math.max(0,u),o+=n,o=Math.min(t.itemsLength,o),{topPadding:l,scrollHeight:r,start:u,end:o}},t.prototype.calculateDimensions=function(t,e,n,r){var i=n.getBoundingClientRect(),o=r.children[e]?r.children[e].getBoundingClientRect():{width:i.width,height:i.height,top:0},s=Math.max(1,Math.floor(i.height/o.height));return{itemsLength:t,viewWidth:i.width,viewHeight:i.height,childWidth:o.width,childHeight:o.height,itemsPerCol:s}},t}(),b="ng-select-top",w="ng-select-bottom",S=function(){function t(t,e,n,r,i,o){this._renderer=e,this._elementRef=n,this._zone=r,this._virtualScrollService=i,this._window=o,this.items=[],this.position="auto",this.bufferAmount=4,this.virtualScroll=!1,this.update=new l.EventEmitter,this.scrollToEnd=new l.EventEmitter,this.outsideClick=new l.EventEmitter,this._destroy$=new c.Subject,this._startupLoop=!0,this._isScrolledToMarked=!1,this._scrollToEndFired=!1,this._disposeScrollListener=function(){},this._disposeDocumentResizeListener=function(){},this._selectElement=t.elementRef.nativeElement,this._itemsList=t.itemsList}return t.prototype.ngOnInit=function(){var t=this;this._handleScroll(),Object(d.fromEventPattern)(function(t){return document.addEventListener("mousedown",t,!0)}).pipe(Object(h.takeUntil)(this._destroy$)).subscribe(function(e){return t._handleOutsideClick(e)})},t.prototype.ngOnChanges=function(t){t.items&&this._handleItemsChange(t.items)},t.prototype.ngOnDestroy=function(){this._disposeDocumentResizeListener(),this._disposeScrollListener(),this._destroy$.next(),this._destroy$.complete(),this.appendTo&&this._renderer.removeChild(this._elementRef.nativeElement.parentNode,this._elementRef.nativeElement)},t.prototype.ngAfterContentInit=function(){var t=this;this._whenContentReady().then(function(){t._handleDropdownPosition()})},t.prototype.refresh=function(){var t=this;return new Promise(function(e){t._zone.runOutsideAngular(function(){t._window.requestAnimationFrame(function(){t._updateItems().then(e)})})})},t.prototype.scrollInto=function(t){if(t){var e=this.items.indexOf(t);if(!(e<0||e>=this.items.length)){var n=this._calculateDimensions(this.virtualScroll?0:e),r=this.scrollElementRef.nativeElement,i=Math.floor(n.viewHeight/n.childHeight)-1;if(this.virtualScroll)r.scrollTop=e*n.childHeight-n.childHeight*Math.min(e,i);else{var o=this.contentElementRef.nativeElement,s=Array.from(o.children).slice(0,e).reduce(function(t,e){return t+e.clientHeight},0);r.scrollTop=s-n.childHeight*Math.min(e,i)}}}},t.prototype.scrollIntoTag=function(){var t=this.scrollElementRef.nativeElement,e=this._calculateDimensions();t.scrollTop=e.childHeight*(e.itemsLength+1)},t.prototype._handleOutsideClick=function(t){if(!this._selectElement.contains(t.target)){this._elementRef.nativeElement.contains(t.target)||this.outsideClick.emit()}},t.prototype._handleScroll=function(){var t=this;this._disposeScrollListener=this._renderer.listen(this.scrollElementRef.nativeElement,"scroll",function(){t.refresh(),t._fireScrollToEnd()})},t.prototype._handleItemsChange=function(t){var e=this;this._scrollToEndFired=!1,this._previousStart=void 0,this._previousEnd=void 0,(void 0!==t&&void 0===t.previousValue||void 0!==t.previousValue&&0===t.previousValue.length)&&(this._startupLoop=!0),this.items=t.currentValue||[],this.refresh().then(function(){e.appendTo&&"top"===e._currentPosition&&e._updateAppendedDropdownPosition()})},t.prototype._updateItems=function(){var t=this;if(l.NgZone.assertNotInAngularZone(),!this.virtualScroll)return this._zone.run(function(){t.update.emit(t.items.slice()),t._scrollToMarked()}),Promise.resolve();var e=function(n){var r=t._calculateDimensions(),i=t._virtualScrollService.calculateItems(r,t.scrollElementRef.nativeElement,t.bufferAmount||0);t.paddingElementRef.nativeElement.style.height=i.scrollHeight+"px";t.contentElementRef.nativeElement.style.transform="translateY("+i.topPadding+"px)",i.start!==t._previousStart||i.end!==t._previousEnd?(t._zone.run(function(){t.update.emit(t.items.slice(i.start,i.end))}),t._previousStart=i.start,t._previousEnd=i.end,!0===t._startupLoop&&e(n)):!0===t._startupLoop&&(t._startupLoop=!1,t._scrollToMarked(),n())};return new Promise(function(t){return e(t)})},t.prototype._fireScrollToEnd=function(){if(!this._scrollToEndFired){this.scrollElementRef.nativeElement.scrollTop+this._elementRef.nativeElement.clientHeight>=(this.virtualScroll?this.paddingElementRef.nativeElement:this.contentElementRef.nativeElement).clientHeight&&(this.scrollToEnd.emit(),this._scrollToEndFired=!0)}},t.prototype._calculateDimensions=function(t){return void 0===t&&(t=0),this._virtualScrollService.calculateDimensions(this.items.length,t,this.scrollElementRef.nativeElement,this.contentElementRef.nativeElement)},t.prototype._handleDocumentResize=function(){var t=this;this.appendTo&&(this._disposeDocumentResizeListener=this._renderer.listen("window","resize",function(){t._updateAppendedDropdownPosition()}))},t.prototype._scrollToMarked=function(){this._isScrolledToMarked||(this._isScrolledToMarked=!0,this.scrollInto(this._itemsList.markedItem))},t.prototype._handleDropdownPosition=function(){this.appendTo&&(this._appendDropdown(),this._handleDocumentResize());var t=this._elementRef.nativeElement;this._currentPosition=this._calculateCurrentPosition(t);var e=this._selectElement;"top"===this._currentPosition?(this._renderer.addClass(t,b),this._renderer.removeClass(t,w),this._renderer.addClass(e,b),this._renderer.removeClass(e,w)):(this._renderer.addClass(t,w),this._renderer.removeClass(t,b),this._renderer.addClass(e,w),this._renderer.removeClass(e,b)),this.appendTo&&this._updateAppendedDropdownPosition(),t.style.opacity="1"},t.prototype._calculateCurrentPosition=function(t){if("auto"!==this.position)return this.position;var e=this._selectElement.getBoundingClientRect(),n=document.documentElement.scrollTop||document.body.scrollTop;return e.top+window.pageYOffset+e.height+t.getBoundingClientRect().height>n+document.documentElement.clientHeight?"top":"bottom"},t.prototype._appendDropdown=function(){var t=document.querySelector(this.appendTo);if(!t)throw new Error("appendTo selector "+this.appendTo+" did not found any parent element");t.appendChild(this._elementRef.nativeElement)},t.prototype._updateAppendedDropdownPosition=function(){var t=document.querySelector(this.appendTo)||document.body,e=this._selectElement.getBoundingClientRect(),n=this._elementRef.nativeElement,r=t.getBoundingClientRect(),i=e.left-r.left;n.style.top=e.top-r.top+("bottom"===this._currentPosition?e.height:-n.clientHeight)+"px",n.style.bottom="auto",n.style.left=i+"px",n.style.width=e.width+"px"},t.prototype._whenContentReady=function(){var t=this;if(0===this.items.length)return Promise.resolve();var e=this._elementRef.nativeElement,n=function(r){e.querySelector(".ng-option")?r():t._zone.runOutsideAngular(function(){setTimeout(function(){return n(r)},5)})};return new Promise(function(t){return n(t)})},t}(),T=function(){function t(){}return t.prototype.warn=function(t){console.warn(t)},t}(),E=new l.InjectionToken("ng-select-default-options"),M=function(){function t(t,e,n,r,i,o){var s=this;this._cd=e,this._console=n,this._zone=r,this._window=i,this.elementRef=o,this.items=[],this.clearable=!0,this.markFirst=!0,this.dropdownPosition="auto",this.loading=!1,this.closeOnSelect=!0,this.hideSelected=!1,this.selectOnTab=!1,this.bufferAmount=4,this.virtualScroll=!1,this.selectableGroup=!1,this.searchFn=null,this.multiple=!1,this.addTag=!1,this.searchable=!0,this.blurEvent=new l.EventEmitter,this.focusEvent=new l.EventEmitter,this.changeEvent=new l.EventEmitter,this.openEvent=new l.EventEmitter,this.closeEvent=new l.EventEmitter,this.searchEvent=new l.EventEmitter,this.clearEvent=new l.EventEmitter,this.addEvent=new l.EventEmitter,this.removeEvent=new l.EventEmitter,this.scrollToEnd=new l.EventEmitter,this.isOpen=!1,this.isDisabled=!1,this.itemsList=new _(this),this.viewPortItems=[],this.filterValue=null,this.dropdownId=a(),this.selectedItemId=0,this._defaultLabel="label",this._destroy$=new c.Subject,this._onChange=function(t){},this._onTouched=function(){},this.clearItem=function(t){var e=s.selectedItems.find(function(e){return e.value===t});s.unselect(e)},this._mergeGlobalConfig(t)}return Object.defineProperty(t.prototype,"compareWith",{get:function(){return this._compareWith},set:function(t){if(!s(t))throw Error("`compareWith` must be a function.");this._compareWith=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"filtered",{get:function(){return!!this.filterValue&&this.searchable},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"selectedItems",{get:function(){return this.itemsList.value},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"selectedValues",{get:function(){return this.selectedItems.map(function(t){return t.value})},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"hasValue",{get:function(){return this.selectedItems.length>0},enumerable:!0,configurable:!0}),t.prototype.ngOnChanges=function(t){t.multiple&&this.itemsList.clearSelected(),t.items&&this._setItems(t.items.currentValue||[])},t.prototype.ngAfterViewInit=function(){this.ngOptions.length>0&&0===this.items.length&&this._setItemsFromNgOptions()},t.prototype.ngOnDestroy=function(){this._destroy$.next(),this._destroy$.complete()},t.prototype.handleKeyDown=function(t){if(p[t.which])switch(t.which){case p.ArrowDown:this._handleArrowDown(t);break;case p.ArrowUp:this._handleArrowUp(t);break;case p.Space:this._handleSpace(t);break;case p.Enter:this._handleEnter(t);break;case p.Tab:this._handleTab(t);break;case p.Esc:this.close();break;case p.Backspace:this._handleBackspace()}},t.prototype.handleMousedown=function(t){t.stopPropagation(),t.preventDefault();var e=t.target;"ng-clear"!==e.className?"ng-arrow"!==e.className?this.searchable?this.open():this.toggle():this.handleArrowClick():this.handleClearClick()},t.prototype.handleArrowClick=function(){this.isOpen?this.close():this.open()},t.prototype.handleClearClick=function(){this.hasValue&&this.clearModel(),this._clearSearch(),this.focus(),this._isTypeahead&&this.typeahead.next(null),this.clearEvent.emit()},t.prototype.clearModel=function(){this.clearable&&(this.itemsList.clearSelected(),this._updateNgModel())},t.prototype.writeValue=function(t){this.itemsList.clearSelected(),this._handleWriteValue(t),this._cd.markForCheck()},t.prototype.registerOnChange=function(t){this._onChange=t},t.prototype.registerOnTouched=function(t){this._onTouched=t},t.prototype.setDisabledState=function(t){this.isDisabled=t,this._cd.markForCheck()},t.prototype.toggle=function(){this.isOpen?this.close():this.open()},t.prototype.open=function(){this.isDisabled||this.isOpen||this.itemsList.maxItemsSelected||(this._isTypeahead||this.addTag||!this.itemsList.noItemsToSelect)&&(this.isOpen=!0,this.itemsList.markSelectedOrDefault(this.markFirst),this.openEvent.emit(),this.filterValue||this.focus(),this.detectChanges())},t.prototype.close=function(){this.isOpen&&(this.isOpen=!1,this._clearSearch(),this._onTouched(),this.closeEvent.emit(),this._cd.markForCheck())},t.prototype.toggleItem=function(t){!t||t.disabled||this.isDisabled||(this.multiple&&t.selected?this.unselect(t):this.select(t))},t.prototype.select=function(t){this.itemsList.select(t),this._clearSearch(),this.addEvent.emit(t.value),(this.closeOnSelect||this.itemsList.noItemsToSelect)&&this.close(),this._updateNgModel()},t.prototype.focus=function(){var t=this;this.filterInput&&this._zone.runOutsideAngular(function(){t._window.setTimeout(function(){t.filterInput.nativeElement.focus()},5)})},t.prototype.unselect=function(t){this.itemsList.unselect(t),this._updateNgModel(),this.removeEvent.emit(t)},t.prototype.selectTag=function(){var t,e=this;!function(t){return t instanceof Promise}(t=s(this.addTag)?this.addTag(this.filterValue):this._primitive?this.filterValue:(n={},n[this.bindLabel]=this.filterValue,n))?t&&this.select(this.itemsList.addItem(t)):t.then(function(t){return e.select(e.itemsList.addItem(t))}).catch(function(){});var n},t.prototype.showClear=function(){return this.clearable&&(this.hasValue||this.filterValue)&&!this.isDisabled},t.prototype.showAddTag=function(){var t=this;return this.addTag&&this.filterValue&&!this.selectedItems.some(function(e){return e.label.toLowerCase()===t.filterValue.toLowerCase()})&&!this.loading},t.prototype.showNoItemsFound=function(){var t=0===this.itemsList.filteredItems.length;return(t&&!this._isTypeahead&&!this.loading||t&&this._isTypeahead&&this.filterValue&&!this.loading)&&!this.showAddTag()},t.prototype.showTypeToSearch=function(){return 0===this.itemsList.filteredItems.length&&this._isTypeahead&&!this.filterValue&&!this.loading},t.prototype.filter=function(t){this.filterValue=t,this.open(),this._isTypeahead?this.typeahead.next(this.filterValue):(this.itemsList.filter(this.filterValue),this.itemsList.markSelectedOrDefault(this.markFirst))},t.prototype.onInputFocus=function(){this.elementRef.nativeElement.classList.add("ng-select-focused"),this.focusEvent.emit(null)},t.prototype.onInputBlur=function(){this.elementRef.nativeElement.classList.remove("ng-select-focused"),this.blurEvent.emit(null),this.isOpen||this.isDisabled||this._onTouched()},t.prototype.onItemHover=function(t){t.disabled||this.itemsList.markItem(t)},t.prototype.detectChanges=function(){this._cd.destroyed||this._cd.detectChanges()},t.prototype._setItems=function(t){var e=t[0];this.bindLabel=this.bindLabel||this._defaultLabel,this._primitive=!o(e),this.itemsList.setItems(t),t.length>0&&this.hasValue&&this.itemsList.mapSelectedItems(),this._isTypeahead&&this.itemsList.markSelectedOrDefault(this.markFirst)},t.prototype._setItemsFromNgOptions=function(){var t=this;this.ngOptions.changes.pipe(Object(h.startWith)(this.ngOptions),Object(h.takeUntil)(this._destroy$)).subscribe(function(e){!function(e){t.items=e.map(function(t){return{$ngOptionValue:t.value,label:t.elementRef.nativeElement.innerHTML,disabled:t.disabled}}),t.itemsList.setItems(t.items),t.hasValue&&t.itemsList.mapSelectedItems(),t.detectChanges()}(e),function(){var e=Object(f.merge)(t.ngOptions.changes,t._destroy$);f.merge.apply(void 0,Object(u.__spread)(t.ngOptions.map(function(t){return t.stateChange$}))).pipe(Object(h.takeUntil)(e)).subscribe(function(e){t.itemsList.findItem(e.value).disabled=e.disabled,t._cd.markForCheck()})}()})},t.prototype._isValidWriteValue=function(t){var e=this;if(!i(t)||this.multiple&&""===t||Array.isArray(t)&&0===t.length)return!1;var n=function(t){return!o(t)||!e.bindValue||(e._console.warn("Binding object("+JSON.stringify(t)+") with bindValue is not allowed."),!1)};return this.multiple?Array.isArray(t)?t.every(function(t){return n(t)}):(this._console.warn("Multiple select ngModel should be array."),!1):n(t)},t.prototype._handleWriteValue=function(t){var e=this;if(this._isValidWriteValue(t)){var n=function(t){var n=e.itemsList.findItem(t);if(n)e.itemsList.select(n);else{var r=o(t);r||!r&&!e.bindValue?e.itemsList.select(e.itemsList.mapItem(t,null)):e.bindValue&&((i={})[e.bindLabel]=null,i[e.bindValue]=t,e.itemsList.select(e.itemsList.mapItem(n=i,null)))}var i};this.multiple?t.forEach(function(t){n(t)}):n(t)}},t.prototype._updateNgModel=function(){var t=[];try{for(var e=Object(u.__values)(this.selectedItems),n=e.next();!n.done;n=e.next()){var r=n.value;if(this.bindValue){var o=null;o=r.hasChildren?r.value[this.groupBy]:this.itemsList.resolveNested(r.value,this.bindValue),t.push(o)}else t.push(r.value)}}catch(t){s={error:t}}finally{try{n&&!n.done&&(a=e.return)&&a.call(e)}finally{if(s)throw s.error}}this.multiple?(this._onChange(t),this.changeEvent.emit(this.selectedItems.map(function(t){return t.value}))):(this._onChange(i(t[0])?t[0]:null),this.changeEvent.emit(this.selectedItems[0]&&this.selectedItems[0].value)),this._cd.markForCheck();var s,a},t.prototype._clearSearch=function(){this.filterValue&&(this.filterValue=null,this.itemsList.resetItems())},t.prototype._scrollToMarked=function(){this.isOpen&&this.dropdownPanel&&this.dropdownPanel.scrollInto(this.itemsList.markedItem)},t.prototype._scrollToTag=function(){this.isOpen&&this.dropdownPanel&&this.dropdownPanel.scrollIntoTag()},t.prototype._handleTab=function(t){this.isOpen&&(this.selectOnTab?this.itemsList.markedItem?(this.toggleItem(this.itemsList.markedItem),t.preventDefault()):this.showAddTag()?(this.selectTag(),t.preventDefault()):this.close():this.close())},t.prototype._handleEnter=function(t){this.isOpen&&(this.itemsList.markedItem?this.toggleItem(this.itemsList.markedItem):this.addTag&&this.selectTag()),t.preventDefault(),t.stopPropagation()},t.prototype._handleSpace=function(t){this.isOpen||(this.open(),t.preventDefault())},t.prototype._handleArrowDown=function(t){this.nextItemIsTag(1)?(this.itemsList.unmarkItem(),this._scrollToTag()):(this.itemsList.markNextItem(),this._scrollToMarked()),this.open(),t.preventDefault()},t.prototype._handleArrowUp=function(t){this.isOpen&&(this.nextItemIsTag(-1)?(this.itemsList.unmarkItem(),this._scrollToTag()):(this.itemsList.markPreviousItem(),this._scrollToMarked()),t.preventDefault())},t.prototype.nextItemIsTag=function(t){var e=this.itemsList.markedIndex+t;return this.addTag&&this.filterValue&&this.itemsList.markedItem&&(e<0||e===this.itemsList.filteredItems.length)},t.prototype._handleBackspace=function(){!this.filterValue&&this.clearable&&this.hasValue&&(this.multiple?(this.itemsList.unselectLast(),this._updateNgModel()):this.clearModel())},Object.defineProperty(t.prototype,"_isTypeahead",{get:function(){return this.typeahead&&this.typeahead.observers.length>0},enumerable:!0,configurable:!0}),t.prototype._mergeGlobalConfig=function(t){this.notFoundText=this.notFoundText||t.notFoundText,this.typeToSearchText=this.typeToSearchText||t.typeToSearchText,this.addTagText=this.addTagText||t.addTagText,this.loadingText=this.loadingText||t.loadingText,this.clearAllText=this.clearAllText||t.clearAllText},t}(),x=function(){return function(){}}()},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1);e.RECAPTCHA_SETTINGS=new r.InjectionToken("recaptcha-settings")},,function(t,e,n){"use strict";function r(t,e,n){return"path"===n.get("locationStrategy")?new o.PathLocationStrategy(t,e):new o.HashLocationStrategy(t,e)}n.d(e,"a",function(){return P}),n.d(e,"b",function(){return R}),e.c=r;var i=n(1),o=n(12),s=n(46),a=n(27),u=n(119),l=n(6),c=n(53),d=n(30),h=n(308),f=n(52),p=n(25),m=n(309),_=n(94),g=n(77),v=n(106),y=n(289),b=n(16),w=n(310),S=n(311),T=n(312),E=n(101),M=n(124),x=(n(198),n(283)),C=(n(199),n(163)),O=(n(659),n(280),n(636),n(82),n(637),n(51),n(638),n(639),n(640),n(641),n(371),n(645),n(67),n(372),n(201),n(647),n(285),n(235),n(373),n(236),n(43),n(648),n(138),n(175),n(369),n(57),n(168),n(286),n(287),n(250),n(118),n(377),n(202),n(136),n(137),n(288),n(203),n(245)),D=(n(204),n(650),n(75)),k=(n(383),n(205),n(129)),L=(n(154),n(256),n(661),n(230),n(662),n(663),n(232),n(200),n(153),n(170)),A=(n(208),n(313)),I=(n(178),n(139),n(664),n(665),n(239),n(375),n(666),n(211),n(382),n(370),n(209),n(242),n(315),n(317),n(379),n(241),n(78),n(103),n(667),n(668),n(319),n(318),n(669),n(210),n(254)),P=(n(378),n(212),n(166),n(92),n(167),n(132),n(86),n(320),n(321),n(213),n(214),n(322),function(){function t(){}return t.forRoot=function(e,n,P){return void 0===n&&(n=null),void 0===P&&(P=null),{ngModule:t,providers:[{provide:u.a,useValue:e},{provide:l.b,useValue:n},{provide:M.a,useValue:P},{provide:o.APP_BASE_HREF,useValue:"/"},{provide:w.a,useFactory:w.b},{provide:b.a,useFactory:b.b,deps:[s.b,w.a,i.NgZone]},{provide:l.a,useFactory:l.c,deps:[l.b,b.a]},{provide:i.APP_INITIALIZER,useFactory:T.a,deps:[l.a],multi:!0},{provide:i.APP_INITIALIZER,useFactory:h.b,deps:[b.a,d.a],multi:!0},{provide:i.APP_INITIALIZER,useFactory:S.b,deps:[l.a,b.a,d.a,a.a,p.l],multi:!0},{provide:i.APP_INITIALIZER,useFactory:v.d,deps:[l.a,M.a,v.b,i.NgZone],multi:!0},{provide:s.f,useClass:m.a},{provide:i.ANALYZE_FOR_ENTRY_COMPONENTS,useValue:e,multi:!0},x.a,C.a,a.a,d.a,h.a,f.a,p.l,_.a,g.a,O.a,o.Location,D.a,k.a,y.a,L.a,A.a,S.a,I.a,E.a,{provide:v.b,useFactory:v.c,deps:[y.a,i.Injector]},{provide:o.LocationStrategy,useFactory:r,deps:[o.PlatformLocation,[new i.Inject(o.APP_BASE_HREF),new i.Optional],l.a]},{provide:M.b,useFactory:M.d,deps:[a.a,M.a]},{provide:c.a,useFactory:c.b,deps:[a.a,M.b,o.Location,v.b,i.ComponentFactoryResolver]}]}},t}()),R=function(){function t(){}return t.forChild=function(e){return{ngModule:t,providers:[{provide:v.a,useValue:e},{provide:i.ANALYZE_FOR_ENTRY_COMPONENTS,useValue:e,multi:!0}]}},t}()},function(t,e,n){"use strict";n.d(e,"a",function(){return r});n(63);var r=function(){function t(t){this._nav=t,t||console.error("navPush must be within a NavController")}return t.prototype.onClick=function(){return!this._nav||!this.navPush||(this._nav.push(this.navPush,this.navParams),!1)},t}()},,function(t,e,n){"use strict";n.d(e,"a",function(){return o});var r=n(1),i=n(11),o=function(){function t(t){this._elementRef=t,this._selected=!1,this._disabled=!1,this.ionSelect=new r.EventEmitter}return Object.defineProperty(t.prototype,"disabled",{get:function(){return this._disabled},set:function(t){this._disabled=Object(i.o)(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"selected",{get:function(){return this._selected},set:function(t){this._selected=Object(i.o)(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return Object(i.l)(this._value)?this._value:this.text},set:function(t){this._value=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"text",{get:function(){return this._elementRef.nativeElement.textContent},enumerable:!0,configurable:!0}),t}()},,function(t,e,n){"use strict";n.d(e,"b",function(){return M}),n.d(e,"a",function(){return E}),n.d(e,"c",function(){return O});var r=n(0),i=n(1),o=n(29),s=n(5),a=n(20),u=(n.n(a),n(12)),l=function(){};l.decorators=[{type:i.Directive,args:[{selector:"[ionicSelectableAddItemTemplate]"}]}],l.ctorParameters=function(){return[]};var c=function(){};c.decorators=[{type:i.Directive,args:[{selector:"[ionicSelectableCloseButtonTemplate]"}]}],c.ctorParameters=function(){return[]};var d=function(){};d.decorators=[{type:i.Directive,args:[{selector:"[ionicSelectableFooterTemplate]"}]}],d.ctorParameters=function(){return[]};var h=function(){};h.decorators=[{type:i.Directive,args:[{selector:"[ionicSelectableGroupEndTemplate]"}]}],h.ctorParameters=function(){return[]};var f=function(){};f.decorators=[{type:i.Directive,args:[{selector:"[ionicSelectableGroupTemplate]"}]}],f.ctorParameters=function(){return[]};var p=function(){};p.decorators=[{type:i.Directive,args:[{selector:"[ionicSelectableHeaderTemplate]"}]}],p.ctorParameters=function(){return[]};var m=function(){};m.decorators=[{type:i.Directive,args:[{selector:"[ionicSelectableItemEndTemplate]"}]}],m.ctorParameters=function(){return[]};var _=function(){};_.decorators=[{type:i.Directive,args:[{selector:"[ionicSelectableItemIconTemplate]"}]}],_.ctorParameters=function(){return[]};var g=function(){};g.decorators=[{type:i.Directive,args:[{selector:"[ionicSelectableItemTemplate]"}]}],g.ctorParameters=function(){return[]};var v=function(){};v.decorators=[{type:i.Directive,args:[{selector:"[ionicSelectableMessageTemplate]"}]}],v.ctorParameters=function(){return[]};var y=function(){};y.decorators=[{type:i.Directive,args:[{selector:"[ionicSelectablePlaceholderTemplate]"}]}],y.ctorParameters=function(){return[]};var b=function(){};b.decorators=[{type:i.Directive,args:[{selector:"[ionicSelectableSearchFailTemplate]"}]}],b.ctorParameters=function(){return[]};var w=function(){};w.decorators=[{type:i.Directive,args:[{selector:"[ionicSelectableTitleTemplate]"}]}],w.ctorParameters=function(){return[]};var S=function(){};S.decorators=[{type:i.Directive,args:[{selector:"[ionicSelectableValueTemplate]"}]}],S.ctorParameters=function(){return[]};var T=function(){};T.decorators=[{type:i.Directive,args:[{selector:"[ionicSelectableIconTemplate]"}]}],T.ctorParameters=function(){return[]};var E=function(){function t(t,e,n,r,o,s){this._modalController=t,this.ionForm=e,this._platform=n,this.ionItem=r,this._iterableDiffers=o,this.element=s,this._cssClass=!0,this._isOnSearchEnabled=!0,this._isEnabled=!0,this._shouldBackdropClose=!0,this._isOpened=!1,this._value=null,this._canClear=!1,this._hasConfirmButton=!1,this._isMultiple=!1,this._canAddItem=!1,this.onItemsChange=new i.EventEmitter,this._label=null,this._valueItems=[],this._searchText="",this._hasSearchText=!1,this._groups=[],this._itemsToConfirm=[],this._selectedItems=[],this._filteredGroups=[],this._isAddItemTemplateVisible=!1,this._isFooterVisible=!0,this._itemToAdd=null,this._footerButtonsCount=0,this._hasFilteredItems=!1,this.items=[],this.itemsChange=new i.EventEmitter,this.modalCssClass=null,this.modalEnterAnimation=null,this.modalLeaveAnimation=null,this.isConfirmButtonEnabled=!0,this.itemValueField=null,this.itemTextField=null,this.groupValueField=null,this.groupTextField=null,this.canSearch=!1,this.hasInfiniteScroll=!1,this.hasVirtualScroll=!1,this.virtualScrollApproxItemHeight="40px",this.virtualScrollApproxItemWidth="100%",this.virtualScrollBufferRatio=3,this.virtualScrollHeaderFn=function(){return null},this.searchPlaceholder="Search",this.placeholder=null,this.searchFailText="No items found.",this.clearButtonText="Clear",this.addButtonText="Add",this.confirmButtonText="OK",this.closeButtonText="Cancel",this.focusSearchbar=!1,this.headerColor=null,this.groupColor=null,this.onChange=new i.EventEmitter,this.onSearch=new i.EventEmitter,this.onSearchFail=new i.EventEmitter,this.onSearchSuccess=new i.EventEmitter,this.onInfiniteScroll=new i.EventEmitter,this.onOpen=new i.EventEmitter,this.onClose=new i.EventEmitter,this.onSelect=new i.EventEmitter,this.onClear=new i.EventEmitter,this.searchDebounce=250,this.disabledItems=[],this.shouldStoreItemValue=!1,this.canSaveItem=!1,this.canDeleteItem=!1,this.onSaveItem=new i.EventEmitter,this.onDeleteItem=new i.EventEmitter,this.onAddItem=new i.EventEmitter,this.propagateOnChange=function(t){},this.propagateOnTouched=function(){},this.items&&this.items.length||(this.items=[]),this._itemsDiffer=this._iterableDiffers.find(this.items).create()}return Object.defineProperty(t.prototype,"_isMultipleCssClass",{get:function(){return this.isMultiple},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_hasValueCssClass",{get:function(){return this.hasValue()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_hasPlaceholderCssClass",{get:function(){return this._hasPlaceholder},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_shouldStoreItemValue",{get:function(){return this.shouldStoreItemValue&&this._hasObjects},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"label",{get:function(){return this._label},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"searchText",{get:function(){return this._searchText},set:function(t){this._searchText=t,this._setHasSearchText()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isSearching",{get:function(){return this._isSearching},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"hasSearchText",{get:function(){return this._hasSearchText},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return this._value},set:function(t){this._value=t,this._valueItems.splice(0,this._valueItems.length),this.isMultiple?t&&t.length&&Array.prototype.push.apply(this._valueItems,t):this._isNullOrWhiteSpace(t)||this._valueItems.push(t),this._setIonItemHasValue(),this._setHasPlaceholder()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isEnabled",{get:function(){return this._isEnabled},set:function(t){this._isEnabled=!!t,this.enableIonItem(this._isEnabled)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"shouldBackdropClose",{get:function(){return this._shouldBackdropClose},set:function(t){this._shouldBackdropClose=!!t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isOpened",{get:function(){return this._isOpened},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"hasConfirmButton",{get:function(){return this._hasConfirmButton},set:function(t){this._hasConfirmButton=!!t,this._countFooterButtons()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isOnSearchEnabled",{get:function(){return this._isOnSearchEnabled},set:function(t){this._isOnSearchEnabled=!!t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"canClear",{get:function(){return this._canClear},set:function(t){this._canClear=!!t,this._countFooterButtons()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isMultiple",{get:function(){return this._isMultiple},set:function(t){this._isMultiple=!!t,this._countFooterButtons()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"itemsToConfirm",{get:function(){return this._itemsToConfirm},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"canAddItem",{get:function(){return this._canAddItem},set:function(t){this._canAddItem=!!t,this._countFooterButtons()},enumerable:!0,configurable:!0}),t.prototype.initFocus=function(){},t.prototype.enableIonItem=function(t){this.ionItem&&this.ionItem.setElementClass("item-input-disabled",!t)},t.prototype._click=function(t){var e=this;this.isEnabled&&0!==t.detail&&(this._label=this._getLabelText(),t.preventDefault(),t.stopPropagation(),this.open().then(function(){e.onOpen.emit({component:e})}))},t.prototype._isNullOrWhiteSpace=function(t){return null==t||t.toString().replace(/\s/g,"").length<1},t.prototype._setHasSearchText=function(){this._hasSearchText=!this._isNullOrWhiteSpace(this._searchText)},t.prototype._hasOnSearch=function(){return this.isOnSearchEnabled&&this.onSearch.observers.length>0},t.prototype._hasOnSaveItem=function(){return this.canSaveItem&&this.onSaveItem.observers.length>0},t.prototype._hasOnAddItem=function(){return this.canAddItem&&this.onAddItem.observers.length>0},t.prototype._hasOnDeleteItem=function(){return this.canDeleteItem&&this.onDeleteItem.observers.length>0},t.prototype._emitValueChange=function(){this.propagateOnChange(this.value),this._setIonItemValidityClasses(),this.onChange.emit({component:this,value:this.value})},t.prototype._emitSearch=function(){this.canSearch&&this.onSearch.emit({component:this,text:this._searchText})},t.prototype._emitOnSelect=function(t,e){this.onSelect.emit({component:this,item:t,isSelected:e})},t.prototype._emitOnClear=function(t){this.onClear.emit({component:this,items:t})},t.prototype._emitOnSearchSuccessOrFail=function(t){var e={component:this,text:this._searchText};t?this.onSearchSuccess.emit(e):this.onSearchFail.emit(e)},t.prototype._formatItem=function(t){return this._isNullOrWhiteSpace(t)?null:this.itemTextField?t[this.itemTextField]:t.toString()},t.prototype._formatValueItem=function(t){var e=this;if(this._shouldStoreItemValue){var n=this.items.find(function(n){return n[e.itemValueField]===t});return this._formatItem(n)}return this._formatItem(t)},t.prototype._getItemValue=function(t){return this._hasObjects?t[this.itemValueField]:t},t.prototype._getStoredItemValue=function(t){return this._hasObjects?this._shouldStoreItemValue?t:t[this.itemValueField]:t},t.prototype._filterItems=function(){var t=this;if(this._setHasSearchText(),this._hasOnSearch())this._emitSearch();else{var e=[];if(this._searchText&&this._searchText.trim()){var n=this._searchText.trim().toLowerCase();this._groups.forEach(function(r){var i=r.items.filter(function(e){return-1!==(t.itemTextField?e[t.itemTextField]:e).toString().toLowerCase().indexOf(n)});i.length&&e.push({value:r.value,text:r.text,items:i})}),e.length||e.push({items:[]})}else e=this._groups;this._filteredGroups=e,this._hasFilteredItems=!this._areGroupsEmpty(e),this._emitOnSearchSuccessOrFail(this._hasFilteredItems)}},t.prototype._isItemDisabled=function(t){var e=this;if(this.disabledItems)return this.disabledItems.some(function(n){return e._getItemValue(n)===e._getItemValue(t)})},t.prototype._isItemSelected=function(t){var e=this;return void 0!==this._selectedItems.find(function(n){return e._getItemValue(t)===e._getStoredItemValue(n)})},t.prototype._addSelectedItem=function(t){this._selectedItems.push(this._shouldStoreItemValue?this._getItemValue(t):t)},t.prototype._deleteSelectedItem=function(t){var e,n=this;this._selectedItems.forEach(function(r,i){n._getItemValue(t)===n._getStoredItemValue(r)&&(e=i)}),this._selectedItems.splice(e,1)},t.prototype._saveItem=function(t,e){t.stopPropagation(),this._itemToAdd=e,this._hasOnSaveItem()?this.onSaveItem.emit({component:this,item:this._itemToAdd}):this.showAddItemTemplate()},t.prototype._deleteItemClick=function(t,e){t.stopPropagation(),this._itemToAdd=e,this._hasOnDeleteItem()?this.onDeleteItem.emit({component:this,item:this._itemToAdd}):this.deleteItem(this._itemToAdd)},t.prototype._addItemClick=function(){this._itemToAdd=null,this._hasOnAddItem()?this.onAddItem.emit({component:this}):this.showAddItemTemplate()},t.prototype._close=function(){var t=this;this._modalComponent._searchbarComponent&&this._modalComponent._searchbarComponent._fireBlur(),setTimeout(function(){t.close().then(function(){t.onClose.emit({component:t})}),t._hasOnSearch()||(t._searchText="",t._setHasSearchText())})},t.prototype._clear=function(){var t=this,e=this._selectedItems;this.clear(),this._emitValueChange(),this._emitOnClear(e),this.close().then(function(){t.onClose.emit({component:t})})},t.prototype._getMoreItems=function(t){this._infiniteScroll=t,this.onInfiniteScroll.emit({component:this,text:this._searchText})},t.prototype._setItemsToConfirm=function(t){this._itemsToConfirm=[].concat(t)},t.prototype._doSelect=function(t){this.value=t,this._emitValueChange()},t.prototype._select=function(t){var e=this._isItemSelected(t);this.isMultiple?(e?this._deleteSelectedItem(t):this._addSelectedItem(t),this._setItemsToConfirm(this._selectedItems),this._emitOnSelect(t,!e)):this.hasConfirmButton||this.footerTemplate?(this._selectedItems=[],e?this._deleteSelectedItem(t):this._addSelectedItem(t),this._setItemsToConfirm(this._selectedItems),this._emitOnSelect(t,!e)):(e||(this._selectedItems=[],this._addSelectedItem(t),this._emitOnSelect(t,!0),this._doSelect(this._shouldStoreItemValue?this._getItemValue(t):t)),this._close())},t.prototype._confirm=function(){this.confirm(),this._close()},t.prototype._getLabelText=function(){var t=this.ionItem?this.ionItem.getNativeElement().querySelector("ion-label"):null;return t?t.textContent:null},t.prototype._areGroupsEmpty=function(t){return 0===t.length||t.every(function(t){return!t.items||0===t.items.length})},t.prototype._countFooterButtons=function(){var t=0;this.canClear&&t++,(this.isMultiple||this._hasConfirmButton)&&t++,this.canAddItem&&t++,this._footerButtonsCount=t},t.prototype._setItems=function(t){var e=this,n=[{items:t||[]}];t&&t.length&&this._hasGroups&&(n=[],t.forEach(function(t){var r=e._getPropertyValue(t,e.groupValueField),i=n.find(function(t){return t.value===r});i?i.items.push(t):n.push({value:r,text:e._getPropertyValue(t,e.groupTextField),items:[t]})})),this._groups=n,this._filteredGroups=this._groups,this._hasFilteredItems=!this._areGroupsEmpty(this._filteredGroups)},t.prototype._getPropertyValue=function(t,e){return e?e.split(".").reduce(function(t,e){return t?t[e]:null},t):null},t.prototype._setIonItemHasFocus=function(t){this.ionItem&&this.ionItem.setElementClass("item-input-has-focus",t)},t.prototype._setIonItemHasValue=function(){this.ionItem&&this.ionItem.setElementClass("item-input-has-value",this.hasValue())},t.prototype._setHasPlaceholder=function(){this._hasPlaceholder=!(this.hasValue()||this._isNullOrWhiteSpace(this.placeholder)&&!this.placeholderTemplate)},t.prototype._setIonItemValidityClasses=function(){var t=this;this.ionItem&&requestAnimationFrame(function(){var e=t.element.nativeElement.classList;t.ionItem.setElementClass("ng-invalid",!1),t.ionItem.setElementClass("ng-valid",!1),t.ionItem.setElementClass("ng-touched",!1),t.ionItem.setElementClass("ng-untouched",!1),t.ionItem.setElementClass("ng-dirty",!1),t.ionItem.setElementClass("ng-pristine",!1),e.forEach(function(e){"ng-invalid"===e&&t.ionItem.setElementClass("ng-invalid",!0),"ng-valid"===e&&t.ionItem.setElementClass("ng-valid",!0),"ng-touched"===e&&t.ionItem.setElementClass("ng-touched",!0),"ng-untouched"===e&&t.ionItem.setElementClass("ng-untouched",!0),"ng-dirty"===e&&t.ionItem.setElementClass("ng-dirty",!0),"ng-pristine"===e&&t.ionItem.setElementClass("ng-pristine",!0)})})},t.prototype._toggleAddItemTemplate=function(t){this.addItemTemplate&&(this._isAddItemTemplateVisible=t,this._isFooterVisible=!t)},t.prototype.writeValue=function(t){this.value=t,this._setIonItemValidityClasses()},t.prototype.registerOnChange=function(t){this.propagateOnChange=t},t.prototype.registerOnTouched=function(t){this.propagateOnTouched=t},t.prototype.setDisabledState=function(t){this.isEnabled=!t},t.prototype.ngOnInit=function(){this._isIos=this._platform.is("ios"),this._isMD=!this._isIos,this._hasObjects=!this._isNullOrWhiteSpace(this.itemValueField),this._hasGroups=Boolean(this._hasObjects&&this.groupValueField&&!this.hasVirtualScroll),this.ionForm.register(this),this.ionItem&&(this.ionItem.setElementClass("item-input",!0),this.ionItem.setElementClass("item-ionic-selectable",!0)),this.enableIonItem(this.isEnabled)},t.prototype.ngOnDestroy=function(){this.ionForm.deregister(this)},t.prototype.ngDoCheck=function(){this._itemsDiffer.diff(this.items)&&(this._setItems(this.items),this.value=this.value,this.onItemsChange.emit({component:this}))},t.prototype.addItem=function(t){var e=this;return this.items.unshift(t),this._addItemObservable&&this._addItemObservable.unsubscribe(),new Promise(function(t,n){e._addItemObservable=e.onItemsChange.asObservable().subscribe(function(){e._addItemObservable.unsubscribe(),t()},function(){e._addItemObservable.unsubscribe(),n()})})},t.prototype.deleteItem=function(t){var e=this,n=this,r=!1;if(this._selectedItems&&(this._selectedItems=this._selectedItems.filter(function(n){return e._getItemValue(t)!==e._getStoredItemValue(n)})),this.value)if(this.isMultiple){var i=this.value.filter(function(e){return e.id!==t.id});i.length!==this.value.length&&(this.value=i,r=!0)}else t===this.value&&(this.value=null,r=!0);r&&this._emitValueChange();var o=this.items.filter(function(e){return e.id!==t.id});return this.itemsChange.emit(o),this._setItems(o),this.onItemsChange.emit({component:this}),this._deleteItemObservable&&this._deleteItemObservable.unsubscribe(),new Promise(function(t,e){n._deleteItemObservable=n.onItemsChange.asObservable().subscribe(function(){n._deleteItemObservable.unsubscribe(),t()},function(){n._deleteItemObservable.unsubscribe(),e()})})},t.prototype.hasValue=function(){return this.isMultiple?0!==this._valueItems.length:0!==this._valueItems.length&&!this._isNullOrWhiteSpace(this._valueItems[0])},t.prototype.open=function(){var t=this;return new Promise(function(e,n){if(t._isEnabled&&!t._isOpened){t._filterItems(),t._isOpened=!0;var r={enableBackdropDismiss:t._shouldBackdropClose};t.modalCssClass&&(r.cssClass=t.modalCssClass),t.modalEnterAnimation&&(r.enterAnimation=t.modalEnterAnimation),t.modalLeaveAnimation&&(r.leaveAnimation=t.modalLeaveAnimation),t._modal=t._modalController.create(M,{selectComponent:t},r),t._modal.present().then(function(){t._setIonItemHasFocus(!0),e()}),t._modal.onWillDismiss(function(){t._setIonItemHasFocus(!1)}),t._modal.onDidDismiss(function(e,n){t._isOpened=!1,t._itemsToConfirm=[],"backdrop"===n&&t.onClose.emit({component:t})})}else n("IonicSelectable is disabled or already opened.")})},t.prototype.close=function(){var t=this;return new Promise(function(e,n){t._isEnabled&&t._isOpened?(t.propagateOnTouched(),t._setIonItemValidityClasses(),t._infiniteScroll=null,t._isOpened=!1,t._itemToAdd=null,t._modal.dismiss().then(function(){t._setIonItemHasFocus(!1),t.hideAddItemTemplate(),e()})):n("IonicSelectable is disabled or already closed.")})},t.prototype.clear=function(){this.value=this.isMultiple?[]:null,this._itemsToConfirm=[],this.propagateOnChange(this.value),this._setIonItemValidityClasses()},t.prototype.confirm=function(){this.isMultiple?this._doSelect(this._selectedItems):(this.hasConfirmButton||this.footerTemplate)&&this._doSelect(this._selectedItems[0]||null)},t.prototype.toggleItems=function(t,e){var n=this;if(t){var r=e&&e.length,i=this._groups.reduce(function(t,e){return t.concat(e.items)},[]);this.isMultiple||r||(i=[]),r&&(i=i.filter(function(t){return void 0!==e.find(function(e){return n._getItemValue(t)===n._getItemValue(e)})}),this.isMultiple||i.splice(0,1)),i.forEach(function(t){n._addSelectedItem(t)})}else this._selectedItems=[];this._setItemsToConfirm(this._selectedItems)},t.prototype.scrollToTop=function(){var t=this;return new Promise(function(e,n){t._isOpened?t._modalComponent._content.scrollToTop().then(function(){e()}):n("IonicSelectable content cannot be scrolled.")})},t.prototype.scrollToBottom=function(){var t=this;return new Promise(function(e,n){t._isOpened?t._modalComponent._content.scrollToBottom().then(function(){e()}):n("IonicSelectable content cannot be scrolled.")})},t.prototype.startSearch=function(){this._isEnabled&&this.showLoading()},t.prototype.endSearch=function(){this._isEnabled&&(this.hideLoading(),this._setItems(this.items),this._emitOnSearchSuccessOrFail(this._hasFilteredItems))},t.prototype.enableInfiniteScroll=function(){this._isEnabled&&this._infiniteScroll&&this._infiniteScroll.enable(!0)},t.prototype.disableInfiniteScroll=function(){this._isEnabled&&this._infiniteScroll&&this._infiniteScroll.enable(!1)},t.prototype.endInfiniteScroll=function(){this._isEnabled&&this._infiniteScroll&&(this._infiniteScroll.complete(),this._setItems(this.items))},t.prototype.search=function(t){this._isEnabled&&this._isOpened&&this.canSearch&&(this._searchText=t,this._setHasSearchText(),this._filterItems())},t.prototype.showLoading=function(){this._isEnabled&&(this._isSearching=!0)},t.prototype.hideLoading=function(){this._isEnabled&&(this._isSearching=!1)},t.prototype.showAddItemTemplate=function(){this._toggleAddItemTemplate(!0)},t.prototype.hideAddItemTemplate=function(){this._toggleAddItemTemplate(!1)},t}();E.decorators=[{type:i.Component,args:[{selector:"ionic-selectable",template:'<div class="ionic-selectable-value">\n  <div *ngIf="valueTemplate && _valueItems.length && isMultiple"\n    [ngTemplateOutlet]="valueTemplate"\n    [ngTemplateOutletContext]="{ value: _valueItems }">\n  </div>\n  <div class="ionic-selectable-value-item"\n    *ngIf="valueTemplate && _valueItems.length && !isMultiple">\n    <div [ngTemplateOutlet]="valueTemplate"\n      [ngTemplateOutletContext]="{ value: _valueItems[0] }">\n    </div>\n  </div>\n  <span *ngIf="!valueTemplate && _valueItems.length">\n    <div class="ionic-selectable-value-item"\n      *ngFor="let valueItem of _valueItems">\n      {{_formatValueItem(valueItem)}}\n    </div>\n  </span>\n  <div *ngIf="_hasPlaceholder && placeholderTemplate"\n    class="ionic-selectable-value-item">\n    <div [ngTemplateOutlet]="placeholderTemplate">\n    </div>\n  </div>\n  <div class="ionic-selectable-value-item"\n    *ngIf="_hasPlaceholder && !placeholderTemplate">\n    {{placeholder}}\n  </div>\n</div>\n<div *ngIf="iconTemplate" class="ionic-selectable-icon-template">\n  <div [ngTemplateOutlet]="iconTemplate"></div>\n</div>\n<div *ngIf="!iconTemplate" class="ionic-selectable-icon">\n  <div class="ionic-selectable-icon-inner"></div>\n</div>\n<button aria-haspopup="true" ion-button="item-cover" class="item-cover"\n  [disabled]="!isEnabled">\n</button>\n',providers:[{provide:o.m,useExisting:Object(i.forwardRef)(function(){return E}),multi:!0}]}]}],E.ctorParameters=function(){return[{type:s.g},{type:s.c},{type:s.j},{type:s.f,decorators:[{type:i.Optional}]},{type:i.IterableDiffers},{type:i.ElementRef}]},E.propDecorators={_cssClass:[{type:i.HostBinding,args:["class.ionic-selectable"]}],_isIos:[{type:i.HostBinding,args:["class.ionic-selectable-ios"]}],_isMD:[{type:i.HostBinding,args:["class.ionic-selectable-md"]}],_isMultipleCssClass:[{type:i.HostBinding,args:["class.ionic-selectable-is-multiple"]}],_hasValueCssClass:[{type:i.HostBinding,args:["class.ionic-selectable-has-value"]}],_hasPlaceholderCssClass:[{type:i.HostBinding,args:["class.ionic-selectable-has-placeholder"]}],items:[{type:i.Input}],itemsChange:[{type:i.Output}],isEnabled:[{type:i.HostBinding,args:["class.ionic-selectable-is-enabled"]},{type:i.Input,args:["isEnabled"]}],shouldBackdropClose:[{type:i.Input,args:["shouldBackdropClose"]}],modalCssClass:[{type:i.Input}],modalEnterAnimation:[{type:i.Input}],modalLeaveAnimation:[{type:i.Input}],isConfirmButtonEnabled:[{type:i.Input,args:["isConfirmButtonEnabled"]}],hasConfirmButton:[{type:i.Input,args:["hasConfirmButton"]}],itemValueField:[{type:i.Input}],itemTextField:[{type:i.Input}],groupValueField:[{type:i.Input}],groupTextField:[{type:i.Input}],canSearch:[{type:i.Input}],isOnSearchEnabled:[{type:i.Input,args:["isOnSearchEnabled"]}],canClear:[{type:i.HostBinding,args:["class.ionic-selectable-can-clear"]},{type:i.Input,args:["canClear"]}],hasInfiniteScroll:[{type:i.Input}],hasVirtualScroll:[{type:i.Input}],virtualScrollApproxItemHeight:[{type:i.Input}],virtualScrollApproxItemWidth:[{type:i.Input}],virtualScrollBufferRatio:[{type:i.Input}],virtualScrollHeaderFn:[{type:i.Input}],searchPlaceholder:[{type:i.Input}],placeholder:[{type:i.Input}],isMultiple:[{type:i.Input,args:["isMultiple"]}],searchFailText:[{type:i.Input}],clearButtonText:[{type:i.Input}],addButtonText:[{type:i.Input}],confirmButtonText:[{type:i.Input}],closeButtonText:[{type:i.Input}],focusSearchbar:[{type:i.Input}],headerColor:[{type:i.Input}],groupColor:[{type:i.Input}],onChange:[{type:i.Output}],onSearch:[{type:i.Output}],onSearchFail:[{type:i.Output}],onSearchSuccess:[{type:i.Output}],onInfiniteScroll:[{type:i.Output}],onOpen:[{type:i.Output}],onClose:[{type:i.Output}],onSelect:[{type:i.Output}],onClear:[{type:i.Output}],valueTemplate:[{type:i.ContentChild,args:[S,{read:i.TemplateRef}]}],itemTemplate:[{type:i.ContentChild,args:[g,{read:i.TemplateRef}]}],itemEndTemplate:[{type:i.ContentChild,args:[m,{read:i.TemplateRef}]}],titleTemplate:[{type:i.ContentChild,args:[w,{read:i.TemplateRef}]}],placeholderTemplate:[{type:i.ContentChild,args:[y,{read:i.TemplateRef}]}],messageTemplate:[{type:i.ContentChild,args:[v,{read:i.TemplateRef}]}],groupTemplate:[{type:i.ContentChild,args:[f,{read:i.TemplateRef}]}],groupEndTemplate:[{type:i.ContentChild,args:[h,{read:i.TemplateRef}]}],closeButtonTemplate:[{type:i.ContentChild,args:[c,{read:i.TemplateRef}]}],searchFailTemplate:[{type:i.ContentChild,args:[b,{read:i.TemplateRef}]}],addItemTemplate:[{type:i.ContentChild,args:[l,{read:i.TemplateRef}]}],footerTemplate:[{type:i.ContentChild,args:[d,{read:i.TemplateRef}]}],headerTemplate:[{type:i.ContentChild,args:[p,{read:i.TemplateRef}]}],itemIconTemplate:[{type:i.ContentChild,args:[_,{read:i.TemplateRef}]}],iconTemplate:[{type:i.ContentChild,args:[T,{read:i.TemplateRef}]}],searchDebounce:[{type:i.Input}],disabledItems:[{type:i.Input}],shouldStoreItemValue:[{type:i.Input}],canSaveItem:[{type:i.Input}],canDeleteItem:[{type:i.Input}],canAddItem:[{type:i.Input,args:["canAddItem"]}],onSaveItem:[{type:i.Output}],onDeleteItem:[{type:i.Output}],onAddItem:[{type:i.Output}],_click:[{type:i.HostListener,args:["click",["$event"]]}]};var M=function(){function t(t,e){var n=this;this.navParams=t,this._element=e,this._cssClass=!0,this.selectComponent=this.navParams.get("selectComponent"),this.selectComponent._modalComponent=this,this.selectComponent._selectedItems=[],this.selectComponent._isNullOrWhiteSpace(this.selectComponent.value)||(this.selectComponent.isMultiple?this.selectComponent.value.forEach(function(t){n.selectComponent._selectedItems.push(t)}):this.selectComponent._selectedItems.push(this.selectComponent.value)),this.selectComponent._setItemsToConfirm(this.selectComponent._selectedItems)}return Object.defineProperty(t.prototype,"_canClearCssClass",{get:function(){return this.selectComponent.canClear},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_isMultipleCssClass",{get:function(){return this.selectComponent.isMultiple},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_isSearchingCssClass",{get:function(){return this.selectComponent._isSearching},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_isAddItemTemplateVisibleCssClass",{get:function(){return this.selectComponent._isAddItemTemplateVisible},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_isIos",{get:function(){return this.selectComponent._isIos},enumerable:!0,configurable:!0}),t.prototype._isMD=function(){return this.selectComponent._isMD},t.prototype.ngAfterViewInit=function(){var t=this;this._header=this._element.nativeElement.querySelector("ion-header"),this._searchbarComponent&&this.selectComponent.focusSearchbar&&setTimeout(function(){t._searchbarComponent.setFocus()},1e3)},t}();M.decorators=[{type:i.Component,args:[{selector:"ionic-selectable-modal",template:'<ion-header>\n  <ion-navbar *ngIf="!selectComponent.headerTemplate"\n    [color]="selectComponent.headerColor ? selectComponent.headerColor : null">\n    <ion-title>\n      \x3c!-- Use span for titleTemplate to preserve Ionic ellipsis styles. --\x3e\n      <span *ngIf="selectComponent.titleTemplate"\n        [ngTemplateOutlet]="selectComponent.titleTemplate">\n      </span>\n      <span *ngIf="!selectComponent.titleTemplate">\n        {{selectComponent.label}}\n      </span>\n    </ion-title>\n    <ion-buttons start>\n      <button ion-button (click)="selectComponent._close()">\n        <span *ngIf="selectComponent.closeButtonTemplate"\n          [ngTemplateOutlet]="selectComponent.closeButtonTemplate">\n        </span>\n        <span *ngIf="!selectComponent.closeButtonTemplate" ion-text\n          showWhen="ios">\n          {{selectComponent.closeButtonText}}\n        </span>\n        <ion-icon *ngIf="!selectComponent.closeButtonTemplate" name="md-close"\n          hideWhen="ios">\n        </ion-icon>\n      </button>\n    </ion-buttons>\n  </ion-navbar>\n  <div *ngIf="selectComponent.headerTemplate"\n    [ngTemplateOutlet]="selectComponent.headerTemplate">\n  </div>\n  <ion-toolbar\n    *ngIf="selectComponent.canSearch || selectComponent.messageTemplate">\n    <ion-searchbar *ngIf="selectComponent.canSearch" #searchbarComponent\n      [(ngModel)]="selectComponent._searchText"\n      (ionInput)="selectComponent._filterItems()"\n      [placeholder]="selectComponent.searchPlaceholder"\n      [debounce]="selectComponent.searchDebounce">\n    </ion-searchbar>\n    <div class="ionic-selectable-message"\n      *ngIf="selectComponent.messageTemplate">\n      <div [ngTemplateOutlet]="selectComponent.messageTemplate">\n      </div>\n    </div>\n  </ion-toolbar>\n</ion-header>\n<ion-content>\n  <div class="ionic-selectable-spinner" *ngIf="selectComponent._isSearching">\n    <div class="ionic-selectable-spinner-background"></div>\n    <ion-spinner></ion-spinner>\n  </div>\n  <ion-list no-margin\n    *ngIf="!selectComponent.hasVirtualScroll && selectComponent._hasFilteredItems">\n    <ion-item-group *ngFor="let group of selectComponent._filteredGroups"\n      class="ionic-selectable-group">\n      <ion-item-divider *ngIf="selectComponent._hasGroups"\n        [color]="selectComponent.groupColor ? selectComponent.groupColor : null">\n        \x3c!-- Use span for groupTemplate to preserve Ionic ellipsis styles. --\x3e\n        <span *ngIf="selectComponent.groupTemplate"\n          [ngTemplateOutlet]="selectComponent.groupTemplate"\n          [ngTemplateOutletContext]="{ group: group }">\n        </span>\n        <span *ngIf="!selectComponent.groupTemplate">\n          {{group.text}}\n        </span>\n        <div *ngIf="selectComponent.groupEndTemplate" item-right>\n          <div [ngTemplateOutlet]="selectComponent.groupEndTemplate"\n            [ngTemplateOutletContext]="{ group: group }">\n          </div>\n        </div>\n      </ion-item-divider>\n      <button ion-item detail-none *ngFor="let item of group.items"\n        (click)="selectComponent._select(item)" class="ionic-selectable-item"\n        [ngClass]="{\n          \'ionic-selectable-item-is-selected\': selectComponent._isItemSelected(item),\n          \'ionic-selectable-item-is-disabled\': selectComponent._isItemDisabled(item)\n        }" [disabled]="selectComponent._isItemDisabled(item)">\n        \x3c!-- Use span for itemTemplate to preserve Ionic ellipsis styles. --\x3e\n        <span *ngIf="selectComponent.itemTemplate"\n          [ngTemplateOutlet]="selectComponent.itemTemplate"\n          [ngTemplateOutletContext]="{ item: item, isItemSelected: selectComponent._isItemSelected(item) }">\n        </span>\n        <span *ngIf="!selectComponent.itemTemplate">\n          {{selectComponent._formatItem(item)}}\n        </span>\n        <div *ngIf="selectComponent.itemEndTemplate" item-right>\n          <div [ngTemplateOutlet]="selectComponent.itemEndTemplate"\n            [ngTemplateOutletContext]="{ item: item, isItemSelected: selectComponent._isItemSelected(item) }">\n          </div>\n        </div>\n        <span *ngIf="selectComponent.itemIconTemplate" item-left\n          class="ionic-selectable-item-icon-template"\n          [ngTemplateOutlet]="selectComponent.itemIconTemplate"\n          [ngTemplateOutletContext]="{ item: item, isItemSelected: selectComponent._isItemSelected(item) }">\n        </span>\n        <ion-icon *ngIf="!selectComponent.itemIconTemplate"\n          [name]="selectComponent._isItemSelected(item) ? \'checkmark-circle\' : \'radio-button-off\'"\n          [color]="selectComponent._isItemSelected(item) ? \'primary\' : \'daek\'"\n          item-left>\n        </ion-icon>\n        <button *ngIf="selectComponent.canSaveItem"\n          class="ionic-selectable-item-button" ion-button icon-only item-end\n          outline (click)="selectComponent._saveItem($event, item)">\n          <ion-icon name="md-create"></ion-icon>\n        </button>\n        <button *ngIf="selectComponent.canDeleteItem"\n          class="ionic-selectable-item-button" ion-button icon-only item-end\n          outline (click)="selectComponent._deleteItemClick($event, item)">\n          <ion-icon name="md-trash"></ion-icon>\n        </button>\n      </button>\n    </ion-item-group>\n  </ion-list>\n  \x3c!-- Fail text should be above InfiniteScroll to avoid a gap when no items are found. --\x3e\n  <div *ngIf="!selectComponent._hasFilteredItems">\n    <span *ngIf="selectComponent.searchFailTemplate"\n      [ngTemplateOutlet]="selectComponent.searchFailTemplate">\n    </span>\n    <div *ngIf="!selectComponent.searchFailTemplate" margin>\n      {{selectComponent.searchFailText}}\n    </div>\n  </div>\n  <ion-infinite-scroll *ngIf="!selectComponent.hasVirtualScroll"\n    [enabled]="selectComponent.hasInfiniteScroll"\n    (ionInfinite)="selectComponent._getMoreItems($event)">\n    <ion-infinite-scroll-content></ion-infinite-scroll-content>\n  </ion-infinite-scroll>\n  <ion-list no-margin\n    *ngIf="selectComponent.hasVirtualScroll && selectComponent._hasFilteredItems"\n    [virtualScroll]="selectComponent._filteredGroups[0].items"\n    [approxItemHeight]="selectComponent.virtualScrollApproxItemHeight"\n    [approxItemWidth]="selectComponent.virtualScrollApproxItemWidth"\n    [bufferRatio]="selectComponent.virtualScrollBufferRatio"\n    [headerFn]="selectComponent.virtualScrollHeaderFn">\n    <ion-item-divider *virtualHeader="let header"\n      [color]="selectComponent.groupColor ? selectComponent.groupColor : null">\n      {{header}}\n    </ion-item-divider>\n    <button ion-item detail-none *virtualItem="let item"\n      (click)="selectComponent._select(item)" class="ionic-selectable-item"\n      [ngClass]="{\n        \'ionic-selectable-item-is-selected\': selectComponent._isItemSelected(item),\n        \'ionic-selectable-item-is-disabled\': selectComponent._isItemDisabled(item)\n      }" [disabled]="selectComponent._isItemDisabled(item)">\n      \x3c!-- Use span for itemTemplate to preserve Ionic ellipsis styles. --\x3e\n      <span *ngIf="selectComponent.itemTemplate"\n        [ngTemplateOutlet]="selectComponent.itemTemplate"\n        [ngTemplateOutletContext]="{ item: item, isItemSelected: selectComponent._isItemSelected(item) }">\n      </span>\n      <span *ngIf="!selectComponent.itemTemplate">\n        {{selectComponent._formatItem(item)}}\n      </span>\n      <div *ngIf="selectComponent.itemEndTemplate" item-right>\n        <div [ngTemplateOutlet]="selectComponent.itemEndTemplate"\n          [ngTemplateOutletContext]="{ item: item, isItemSelected: selectComponent._isItemSelected(item) }">\n        </div>\n      </div>\n      <span *ngIf="selectComponent.itemIconTemplate" item-left\n        class="ionic-selectable-item-icon-template"\n        [ngTemplateOutlet]="selectComponent.itemIconTemplate"\n        [ngTemplateOutletContext]="{ item: item, isItemSelected: selectComponent._isItemSelected(item) }">\n      </span>\n      <ion-icon *ngIf="!selectComponent.itemIconTemplate"\n        [name]="selectComponent._isItemSelected(item) ? \'checkmark-circle\' : \'radio-button-off\'"\n        [color]="selectComponent._isItemSelected(item) ? \'primary\' : \'daek\'"\n        item-left>\n      </ion-icon>\n      <button *ngIf="selectComponent.canSaveItem"\n        class="ionic-selectable-item-button" ion-button icon-only item-end\n        outline (click)="selectComponent._saveItem($event, item)">\n        <ion-icon name="md-create"></ion-icon>\n      </button>\n      <button *ngIf="selectComponent.canDeleteItem"\n        class="ionic-selectable-item-button" ion-button icon-only item-end\n        outline (click)="selectComponent._deleteItemClick($event, item)">\n        <ion-icon name="md-trash"></ion-icon>\n      </button>\n    </button>\n  </ion-list>\n</ion-content>\n<div class="ionic-selectable-add-item-template"\n  *ngIf="selectComponent._isAddItemTemplateVisible"\n  [ngStyle]="{ \'top.px\': _header.offsetHeight }">\n  <span [ngTemplateOutlet]="selectComponent.addItemTemplate"\n    [ngTemplateOutletContext]="{ item: selectComponent._itemToAdd, isAdd: selectComponent._itemToAdd === null }">\n  </span>\n</div>\n<ion-footer\n  *ngIf="selectComponent._footerButtonsCount > 0 || selectComponent.footerTemplate"\n  [ngStyle]="{ \'visibility\': selectComponent._isFooterVisible ? \'initial\' : \'hidden\' }">\n  <ion-toolbar *ngIf="!selectComponent.footerTemplate">\n    <ion-row>\n      <ion-col *ngIf="selectComponent.canClear">\n        <button ion-button full no-margin (click)="selectComponent._clear()"\n          [disabled]="!selectComponent._selectedItems.length">\n          {{selectComponent.clearButtonText}}\n        </button>\n      </ion-col>\n      <ion-col *ngIf="selectComponent.canAddItem">\n        <button ion-button full no-margin\n          (click)="selectComponent._addItemClick()">\n          {{selectComponent.addButtonText}}\n        </button>\n      </ion-col>\n      <ion-col\n        *ngIf="selectComponent.isMultiple || selectComponent.hasConfirmButton">\n        <button ion-button full no-margin (click)="selectComponent._confirm()"\n          [disabled]="!selectComponent.isConfirmButtonEnabled">\n          {{selectComponent.confirmButtonText}}\n        </button>\n      </ion-col>\n    </ion-row>\n  </ion-toolbar>\n  <div *ngIf="selectComponent.footerTemplate"\n    [ngTemplateOutlet]="selectComponent.footerTemplate">\n  </div>\n</ion-footer>\n'}]}],M.ctorParameters=function(){return[{type:s.h},{type:i.ElementRef}]},M.propDecorators={_cssClass:[{type:i.HostBinding,args:["class.ionic-selectable-modal"]}],_canClearCssClass:[{type:i.HostBinding,args:["class.ionic-selectable-modal-can-clear"]}],_isMultipleCssClass:[{type:i.HostBinding,args:["class.ionic-selectable-modal-is-multiple"]}],_isSearchingCssClass:[{type:i.HostBinding,args:["class.ionic-selectable-modal-is-searching"]}],_isAddItemTemplateVisibleCssClass:[{type:i.HostBinding,args:["class.ionic-selectable-modal-is-add-item-template-visible"]}],_isIos:[{type:i.HostBinding,args:["class.ionic-selectable-modal-ios"]}],_isMD:[{type:i.HostBinding,args:["class.ionic-selectable-modal-md"]}],_searchbarComponent:[{type:i.ViewChild,args:["searchbarComponent"]}],_content:[{type:i.ViewChild,args:[s.b]}]};var x=[E,M],C=[S,g,m,w,y,v,f,h,c,b,l,d,p,_,T],O=function(){};O.decorators=[{type:i.NgModule,args:[{imports:[u.CommonModule,s.e.forChild(E),s.e.forChild(M)],declarations:Object(r.__spread)(x,C),exports:Object(r.__spread)(x,C),entryComponents:x}]}],O.ctorParameters=function(){return[]}},function(t,e,n){"use strict";n.d(e,"a",function(){return r});var r=function(){return function(){}}()},function(t,e,n){"use strict";n.d(e,"a",function(){return r});var r=function(){return function(){}}()},,function(t,e,n){"use strict";n.d(e,"a",function(){return o});var r=n(0),i=n(73),o=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.PERMISSION={ACCESS_CHECKIN_PROPERTIES:"android.permission.ACCESS_CHECKIN_PROPERTIES",ACCESS_COARSE_LOCATION:"android.permission.ACCESS_COARSE_LOCATION",ACCESS_FINE_LOCATION:"android.permission.ACCESS_FINE_LOCATION",ACCESS_LOCATION_EXTRA_COMMANDS:"android.permission.ACCESS_LOCATION_EXTRA_COMMANDS",ACCESS_MOCK_LOCATION:"android.permission.ACCESS_MOCK_LOCATION",ACCESS_NETWORK_STATE:"android.permission.ACCESS_NETWORK_STATE",ACCESS_SURFACE_FLINGER:"android.permission.ACCESS_SURFACE_FLINGER",ACCESS_WIFI_STATE:"android.permission.ACCESS_WIFI_STATE",ACCOUNT_MANAGER:"android.permission.ACCOUNT_MANAGER",ADD_VOICEMAIL:"com.android.voicemail.permission.ADD_VOICEMAIL",AUTHENTICATE_ACCOUNTS:"android.permission.AUTHENTICATE_ACCOUNTS",BATTERY_STATS:"android.permission.BATTERY_STATS",BIND_ACCESSIBILITY_SERVICE:"android.permission.BIND_ACCESSIBILITY_SERVICE",BIND_APPWIDGET:"android.permission.BIND_APPWIDGET",BIND_CARRIER_MESSAGING_SERVICE:"android.permission.BIND_CARRIER_MESSAGING_SERVICE",BIND_DEVICE_ADMIN:"android.permission.BIND_DEVICE_ADMIN",BIND_DREAM_SERVICE:"android.permission.BIND_DREAM_SERVICE",BIND_INPUT_METHOD:"android.permission.BIND_INPUT_METHOD",BIND_NFC_SERVICE:"android.permission.BIND_NFC_SERVICE",BIND_NOTIFICATION_LISTENER_SERVICE:"android.permission.BIND_NOTIFICATION_LISTENER_SERVICE",BIND_PRINT_SERVICE:"android.permission.BIND_PRINT_SERVICE",BIND_REMOTEVIEWS:"android.permission.BIND_REMOTEVIEWS",BIND_TEXT_SERVICE:"android.permission.BIND_TEXT_SERVICE",BIND_TV_INPUT:"android.permission.BIND_TV_INPUT",BIND_VOICE_INTERACTION:"android.permission.BIND_VOICE_INTERACTION",BIND_VPN_SERVICE:"android.permission.BIND_VPN_SERVICE",BIND_WALLPAPER:"android.permission.BIND_WALLPAPER",BLUETOOTH:"android.permission.BLUETOOTH",BLUETOOTH_ADMIN:"android.permission.BLUETOOTH_ADMIN",BLUETOOTH_PRIVILEGED:"android.permission.BLUETOOTH_PRIVILEGED",BODY_SENSORS:"android.permission.BODY_SENSORS",BRICK:"android.permission.BRICK",BROADCAST_PACKAGE_REMOVED:"android.permission.BROADCAST_PACKAGE_REMOVED",BROADCAST_SMS:"android.permission.BROADCAST_SMS",BROADCAST_STICKY:"android.permission.BROADCAST_STICKY",BROADCAST_WAP_PUSH:"android.permission.BROADCAST_WAP_PUSH",CALL_PHONE:"android.permission.CALL_PHONE",CALL_PRIVILEGED:"android.permission.CALL_PRIVILEGED",CAMERA:"android.permission.CAMERA",CAPTURE_AUDIO_OUTPUT:"android.permission.CAPTURE_AUDIO_OUTPUT",CAPTURE_SECURE_VIDEO_OUTPUT:"android.permission.CAPTURE_SECURE_VIDEO_OUTPUT",CAPTURE_VIDEO_OUTPUT:"android.permission.CAPTURE_VIDEO_OUTPUT",CHANGE_COMPONENT_ENABLED_STATE:"android.permission.CHANGE_COMPONENT_ENABLED_STATE",CHANGE_CONFIGURATION:"android.permission.CHANGE_CONFIGURATION",CHANGE_NETWORK_STATE:"android.permission.CHANGE_NETWORK_STATE",CHANGE_WIFI_MULTICAST_STATE:"android.permission.CHANGE_WIFI_MULTICAST_STATE",CHANGE_WIFI_STATE:"android.permission.CHANGE_WIFI_STATE",CLEAR_APP_CACHE:"android.permission.CLEAR_APP_CACHE",CLEAR_APP_USER_DATA:"android.permission.CLEAR_APP_USER_DATA",CONTROL_LOCATION_UPDATES:"android.permission.CONTROL_LOCATION_UPDATES",DELETE_CACHE_FILES:"android.permission.DELETE_CACHE_FILES",DELETE_PACKAGES:"android.permission.DELETE_PACKAGES",DEVICE_POWER:"android.permission.DEVICE_POWER",DIAGNOSTIC:"android.permission.DIAGNOSTIC",DISABLE_KEYGUARD:"android.permission.DISABLE_KEYGUARD",DUMP:"android.permission.DUMP",EXPAND_STATUS_BAR:"android.permission.EXPAND_STATUS_BAR",FACTORY_TEST:"android.permission.FACTORY_TEST",FLASHLIGHT:"android.permission.FLASHLIGHT",FORCE_BACK:"android.permission.FORCE_BACK",GET_ACCOUNTS:"android.permission.GET_ACCOUNTS",GET_PACKAGE_SIZE:"android.permission.GET_PACKAGE_SIZE",GET_TASKS:"android.permission.GET_TASKS",GET_TOP_ACTIVITY_INFO:"android.permission.GET_TOP_ACTIVITY_INFO",GLOBAL_SEARCH:"android.permission.GLOBAL_SEARCH",HARDWARE_TEST:"android.permission.HARDWARE_TEST",INJECT_EVENTS:"android.permission.INJECT_EVENTS",INSTALL_LOCATION_PROVIDER:"android.permission.INSTALL_LOCATION_PROVIDER",INSTALL_PACKAGES:"android.permission.INSTALL_PACKAGES",INSTALL_SHORTCUT:"com.android.launcher.permission.INSTALL_SHORTCUT",INTERNAL_SYSTEM_WINDOW:"android.permission.INTERNAL_SYSTEM_WINDOW",INTERNET:"android.permission.INTERNET",KILL_BACKGROUND_PROCESSES:"android.permission.KILL_BACKGROUND_PROCESSES",LOCATION_HARDWARE:"android.permission.LOCATION_HARDWARE",MANAGE_ACCOUNTS:"android.permission.MANAGE_ACCOUNTS",MANAGE_APP_TOKENS:"android.permission.MANAGE_APP_TOKENS",MANAGE_DOCUMENTS:"android.permission.MANAGE_DOCUMENTS",MASTER_CLEAR:"android.permission.MASTER_CLEAR",MEDIA_CONTENT_CONTROL:"android.permission.MEDIA_CONTENT_CONTROL",MODIFY_AUDIO_SETTINGS:"android.permission.MODIFY_AUDIO_SETTINGS",MODIFY_PHONE_STATE:"android.permission.MODIFY_PHONE_STATE",MOUNT_FORMAT_FILESYSTEMS:"android.permission.MOUNT_FORMAT_FILESYSTEMS",MOUNT_UNMOUNT_FILESYSTEMS:"android.permission.MOUNT_UNMOUNT_FILESYSTEMS",NFC:"android.permission.NFC",PERSISTENT_ACTIVITY:"android.permission.PERSISTENT_ACTIVITY",PROCESS_OUTGOING_CALLS:"android.permission.PROCESS_OUTGOING_CALLS",READ_CALENDAR:"android.permission.READ_CALENDAR",READ_CALL_LOG:"android.permission.READ_CALL_LOG",READ_CONTACTS:"android.permission.READ_CONTACTS",READ_EXTERNAL_STORAGE:"android.permission.READ_EXTERNAL_STORAGE",READ_FRAME_BUFFER:"android.permission.READ_FRAME_BUFFER",READ_HISTORY_BOOKMARKS:"com.android.browser.permission.READ_HISTORY_BOOKMARKS",READ_INPUT_STATE:"android.permission.READ_INPUT_STATE",READ_LOGS:"android.permission.READ_LOGS",READ_PHONE_STATE:"android.permission.READ_PHONE_STATE",READ_PROFILE:"android.permission.READ_PROFILE",READ_SMS:"android.permission.READ_SMS",READ_SOCIAL_STREAM:"android.permission.READ_SOCIAL_STREAM",READ_SYNC_SETTINGS:"android.permission.READ_SYNC_SETTINGS",READ_SYNC_STATS:"android.permission.READ_SYNC_STATS",READ_USER_DICTIONARY:"android.permission.READ_USER_DICTIONARY",READ_VOICEMAIL:"com.android.voicemail.permission.READ_VOICEMAIL",REBOOT:"android.permission.REBOOT",RECEIVE_BOOT_COMPLETED:"android.permission.RECEIVE_BOOT_COMPLETED",RECEIVE_MMS:"android.permission.RECEIVE_MMS",RECEIVE_SMS:"android.permission.RECEIVE_SMS",RECEIVE_WAP_PUSH:"android.permission.RECEIVE_WAP_PUSH",RECORD_AUDIO:"android.permission.RECORD_AUDIO",REORDER_TASKS:"android.permission.REORDER_TASKS",RESTART_PACKAGES:"android.permission.RESTART_PACKAGES",SEND_RESPOND_VIA_MESSAGE:"android.permission.SEND_RESPOND_VIA_MESSAGE",SEND_SMS:"android.permission.SEND_SMS",SET_ACTIVITY_WATCHER:"android.permission.SET_ACTIVITY_WATCHER",SET_ALARM:"com.android.alarm.permission.SET_ALARM",SET_ALWAYS_FINISH:"android.permission.SET_ALWAYS_FINISH",SET_ANIMATION_SCALE:"android.permission.SET_ANIMATION_SCALE",SET_DEBUG_APP:"android.permission.SET_DEBUG_APP",SET_ORIENTATION:"android.permission.SET_ORIENTATION",SET_POINTER_SPEED:"android.permission.SET_POINTER_SPEED",SET_PREFERRED_APPLICATIONS:"android.permission.SET_PREFERRED_APPLICATIONS",SET_PROCESS_LIMIT:"android.permission.SET_PROCESS_LIMIT",SET_TIME:"android.permission.SET_TIME",SET_TIME_ZONE:"android.permission.SET_TIME_ZONE",SET_WALLPAPER:"android.permission.SET_WALLPAPER",SET_WALLPAPER_HINTS:"android.permission.SET_WALLPAPER_HINTS",SIGNAL_PERSISTENT_PROCESSES:"android.permission.SIGNAL_PERSISTENT_PROCESSES",STATUS_BAR:"android.permission.STATUS_BAR",SUBSCRIBED_FEEDS_READ:"android.permission.SUBSCRIBED_FEEDS_READ",SUBSCRIBED_FEEDS_WRITE:"android.permission.SUBSCRIBED_FEEDS_WRITE",SYSTEM_ALERT_WINDOW:"android.permission.SYSTEM_ALERT_WINDOW",TRANSMIT_IR:"android.permission.TRANSMIT_IR",UNINSTALL_SHORTCUT:"com.android.launcher.permission.UNINSTALL_SHORTCUT",UPDATE_DEVICE_STATS:"android.permission.UPDATE_DEVICE_STATS",USE_CREDENTIALS:"android.permission.USE_CREDENTIALS",USE_SIP:"android.permission.USE_SIP",VIBRATE:"android.permission.VIBRATE",WAKE_LOCK:"android.permission.WAKE_LOCK",WRITE_APN_SETTINGS:"android.permission.WRITE_APN_SETTINGS",WRITE_CALENDAR:"android.permission.WRITE_CALENDAR",WRITE_CALL_LOG:"android.permission.WRITE_CALL_LOG",WRITE_CONTACTS:"android.permission.WRITE_CONTACTS",WRITE_EXTERNAL_STORAGE:"android.permission.WRITE_EXTERNAL_STORAGE",WRITE_GSERVICES:"android.permission.WRITE_GSERVICES",WRITE_HISTORY_BOOKMARKS:"com.android.browser.permission.WRITE_HISTORY_BOOKMARKS",WRITE_PROFILE:"android.permission.WRITE_PROFILE",WRITE_SECURE_SETTINGS:"android.permission.WRITE_SECURE_SETTINGS",WRITE_SETTINGS:"android.permission.WRITE_SETTINGS",WRITE_SMS:"android.permission.WRITE_SMS",WRITE_SOCIAL_STREAM:"android.permission.WRITE_SOCIAL_STREAM",WRITE_SYNC_SETTINGS:"android.permission.WRITE_SYNC_SETTINGS",WRITE_USER_DICTIONARY:"android.permission.WRITE_USER_DICTIONARY",WRITE_VOICEMAIL:"com.android.voicemail.permission.WRITE_VOICEMAIL"},e}return Object(r.__extends)(e,t),e.prototype.checkPermission=function(t){},e.prototype.requestPermission=function(t){},e.prototype.requestPermissions=function(t){},e.prototype.hasPermission=function(t){},Object(r.__decorate)([Object(i.a)(),Object(r.__metadata)("design:type",Function),Object(r.__metadata)("design:paramtypes",[String]),Object(r.__metadata)("design:returntype",Promise)],e.prototype,"checkPermission",null),Object(r.__decorate)([Object(i.a)(),Object(r.__metadata)("design:type",Function),Object(r.__metadata)("design:paramtypes",[String]),Object(r.__metadata)("design:returntype",Promise)],e.prototype,"requestPermission",null),Object(r.__decorate)([Object(i.a)(),Object(r.__metadata)("design:type",Function),Object(r.__metadata)("design:paramtypes",[Array]),Object(r.__metadata)("design:returntype",Promise)],e.prototype,"requestPermissions",null),Object(r.__decorate)([Object(i.a)(),Object(r.__metadata)("design:type",Function),Object(r.__metadata)("design:paramtypes",[String]),Object(r.__metadata)("design:returntype",Promise)],e.prototype,"hasPermission",null),e=Object(r.__decorate)([Object(i.g)({pluginName:"AndroidPermissions",plugin:"cordova-plugin-android-permissions",pluginRef:"cordova.plugins.permissions",repo:"https://github.com/NeoLSN/cordova-plugin-android-permissions",platforms:["Android"]})],e)}(i.f)},function(t,e,n){"use strict";n.d(e,"a",function(){return u});var r=n(1),i=(n(67),n(25)),o=n(11),s=(n(16),n(49)),a=n(100),u=function(){function t(t,e,n,o){this._plt=t,this._content=e,this._zone=n,this._appliedStyles=!1,this._lastCheck=0,this._isEnabled=!0,this._top="",this.state=l,this.startY=null,this.currentY=null,this.deltaY=null,this.progress=0,this.pullMin=60,this.pullMax=this.pullMin+60,this.closeDuration=280,this.snapbackDuration=280,this.ionRefresh=new r.EventEmitter,this.ionPull=new r.EventEmitter,this.ionStart=new r.EventEmitter,this._events=new a.a(t),e._hasRefresher=!0,this._gesture=o.createGesture({name:i.j,priority:i.g})}return Object.defineProperty(t.prototype,"enabled",{get:function(){return this._isEnabled},set:function(t){this._isEnabled=Object(o.o)(t),this._setListeners(this._isEnabled)},enumerable:!0,configurable:!0}),t.prototype._onStart=function(t){if(t.touches&&t.touches.length>1)return!1;if(this.state!==l)return!1;if(this._content.getContentDimensions().scrollTop>0)return!1;if(!this._gesture.canStart())return!1;var e=Object(s.f)(t);if(this._content.contentTop>0){var n=this._content.contentTop+"px";this._top!==n&&(this._top=n)}return this.startY=this.currentY=e.y,this.progress=0,this.state=l,!0},t.prototype._onMove=function(t){var e=this;if(t.touches&&t.touches.length>1)return 1;if(!this._gesture.canStart())return 0;if(null===this.startY||this.state===h||this.state===f||this.state===p)return 2;var n=Date.now();if(this._lastCheck+16>n)return 3;this._lastCheck=n;var r=Object(s.f)(t);if(this.currentY=r.y,this.deltaY=r.y-this.startY,this.deltaY<=0)return this.progress=0,this.state!==l&&this._zone.run(function(){e.state=l}),this._appliedStyles?(this._setCss(0,"",!1,""),5):6;if(this.state===l){if(this._content.getContentDimensions().scrollTop>0)return this.progress=0,this.startY=null,7;this.state=c}if(t.preventDefault(),this._setCss(this.deltaY,"0ms",!0,""),!this.deltaY)return this.progress=0,8;this._zone.run(function(){e._onMoveInZone()})},t.prototype._onMoveInZone=function(){return this.progress=this.deltaY/this.pullMin,this._didStart||(this._didStart=!0,this.ionStart.emit(this)),this.ionPull.emit(this),this.deltaY<this.pullMin?(this.state=c,2):this.deltaY>this.pullMax?(this._beginRefresh(),3):(this.state=d,4)},t.prototype._onEnd=function(){var t=this;this.state===d?this._zone.run(function(){t._beginRefresh()}):this.state===c&&this._zone.run(function(){t.cancel()}),this.startY=null},t.prototype._beginRefresh=function(){this.state=h,this._setCss(this.pullMin,this.snapbackDuration+"ms",!0,""),this.ionRefresh.emit(this)},t.prototype.complete=function(){this._close(p,"120ms")},t.prototype.cancel=function(){this._close(f,"")},t.prototype._close=function(t,e){function n(t){t&&clearTimeout(r),this.state=l,this.progress=0,this._didStart=this.startY=this.currentY=this.deltaY=null,this._setCss(0,"0ms",!1,"")}var r;r=setTimeout(n.bind(this),600),this._content.onScrollElementTransitionEnd(n.bind(this)),this.state=t,this._setCss(0,"",!0,e),this._pointerEvents&&this._pointerEvents.stop()},t.prototype._setCss=function(t,e,n,r){this._appliedStyles=t>0;var i=this._content,o=this._plt.Css;i.setScrollElementStyle(o.transform,t>0?"translateY("+t+"px) translateZ(0px)":"translateZ(0px)"),i.setScrollElementStyle(o.transitionDuration,e),i.setScrollElementStyle(o.transitionDelay,r),i.setScrollElementStyle("overflow",n?"hidden":"")},t.prototype._setListeners=function(t){this._events.unlistenAll(),this._pointerEvents=null,t&&(this._pointerEvents=this._events.pointerEvents({element:this._content.getScrollElement(),pointerDown:this._onStart.bind(this),pointerMove:this._onMove.bind(this),pointerUp:this._onEnd.bind(this),zone:!1}))},t.prototype.ngOnInit=function(){this._setListeners(this._isEnabled)},t.prototype.ngOnDestroy=function(){this._setListeners(!1),this._events.destroy(),this._gesture.destroy()},t}(),l="inactive",c="pulling",d="ready",h="refreshing",f="cancelling",p="completing"},,function(t,e,n){"use strict";function r(t){return Math.floor(t)}function i(t,e){if(t)if(t.length)for(var n=0;n<t.length;n++)i(t[n],e);else if(t.nodeType)for(var r=Object.keys(e),o=0;o<r.length;o++)t.style[r[o]]=e[r[o]]}function o(t,e){if(t)if(t.length)for(var n=0;n<t.length;n++)o(t[n],e);else t.nodeType&&(Array.isArray(e)?e.forEach(function(e){t.classList.add(e)}):t.classList.add(e))}function s(t,e){if(t)if(t.length)for(var n=0;n<t.length;n++)s(t[n],e);else t.nodeType&&(Array.isArray(e)?e.forEach(function(e){t.classList.remove(e)}):t.classList.remove(e))}function a(t){var e=0;if(t)for(;null!==(t=t.previousSibling);)1===t.nodeType&&e++;return e}function u(t,e){return t?t.querySelectorAll(e):[]}function l(t,e,n){if(t)for(var r=t.querySelectorAll(e),i=0;i<r.length;i++)n(r[i])}function c(t,e){if(t){var n=t.style;n.webkitTransform=n.MsTransform=n.msTransform=n.transform=e}}function d(t,e){if(t){"string"!=typeof e&&(e+="ms");var n=t.style;n.webkitTransitionDuration=n.MsTransitionDuration=n.msTransitionDuration=n.transitionDuration=e}}function h(t,e){try{var n=new(t.win().CustomEvent)("transitionend",{bubbles:!0,cancelable:!0});e.dispatchEvent(n)}catch(t){}}function f(t,e){if(t){var n=e.getElementBoundingClientRect(t),r=e.doc().body,i=e.win();return{top:n.top+(i.pageYOffset||t.scrollTop)-(t.clientTop||r.clientTop||0),left:n.left+(i.pageXOffset||t.scrollLeft)-(t.clientLeft||r.clientLeft||0)}}return null}function p(t){for(var e=0;e<t._slides.length;e++)t._slides[e].swiperSlideOffset=m(t)?t._slides[e].offsetLeft:t._slides[e].offsetTop}function m(t){return"horizontal"===t.direction}function _(t){return!!t&&vt.indexOf(t.tagName)>-1}function g(t){return-t._snapGrid[0]}function v(t){return-t._snapGrid[t._snapGrid.length-1]}function y(t,e,n){var r,i,o,s=t._rtl?-1:1;r=e.getAttribute("data-swiper-parallax")||"0",i=e.getAttribute("data-swiper-parallax-x"),o=e.getAttribute("data-swiper-parallax-y"),i||o?(i=i||"0",o=o||"0"):m(t)?(i=r,o="0"):(o=r,i="0"),c(e,"translate3d("+(i=i.indexOf("%")>=0?parseInt(i,10)*n*s+"%":i*n*s+"px")+", "+(o=o.indexOf("%")>=0?parseInt(o,10)*n+"%":o*n+"px")+",0px)")}function b(t){l(t.container,"[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y]",function(e){y(t,e,t.progress)});for(var e=0;e<t._slides.length;e++){var n=t._slides[e];l(n,"[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y]",function(){var e=Math.min(Math.max(n.progress,-1),1);y(t,n,e)})}}function w(t,e){void 0===e&&(e=t._translate||0);var n=v(t)-g(t),r=t._isBeginning,i=t._isEnd;0===n?(t.progress=0,t._isBeginning=t._isEnd=!0):(t.progress=(e-g(t))/n,t._isBeginning=t.progress<=0,t._isEnd=t.progress>=1),t._zone.run(function(){t._isBeginning&&!r&&t.ionSlideReachStart.emit(),t._isEnd&&!i&&t.ionSlideReachEnd.emit(),t.watchSlidesProgress&&function(t,e){void 0===e&&(e=t._translate||0);if(0===t._slides.length)return;void 0===t._slides[0].swiperSlideOffset&&p(t);var n=-e;t._rtl&&(n=e);s(t._slides,yt.slideVisible);for(var r=0;r<t._slides.length;r++){var i=t._slides[r],o=(n+(t.centeredSlides?g(t):0)-i.swiperSlideOffset)/(i.swiperSlideSize+t.spaceBetween);if(t.watchSlidesVisibility){var a=-(n-i.swiperSlideOffset),u=a+t._slidesSizesGrid[r],l=a>=0&&a<t._renderedSize||u>0&&u<=t._renderedSize||a<=0&&u>=t._renderedSize;l&&t._slides[r].classList.add(yt.slideVisible)}i.progress=t._rtl?-o:o}}(t,e),t.ionSlideProgress.emit(t.progress)})}function S(t,e){e?t.setAttribute("aria-disabled","true"):t.hasAttribute("aria-disabled")&&t.removeAttribute("aria-disabled")}function T(t,e){e?t.setAttribute("aria-hidden","true"):t.hasAttribute("aria-hidden")&&t.removeAttribute("aria-hidden")}function E(t){if(t.paginationType&&t._paginationContainer){var e="";if("bullets"===t.paginationType)for(var n=t.loop?Math.ceil((t._slides.length-2*t.loopedSlides)/t.slidesPerGroup):t._snapGrid.length,r=0;r<n;r++)e+=t.paginationBulletRender?t.paginationBulletRender(r,yt.bullet):'<button class="'+yt.bullet+'" aria-label="Go to slide '+(r+1)+'" data-slide-index="'+r+'"></button>';else"fraction"===t.paginationType?e='<span class="'+yt.paginationCurrent+'"></span> / <span class="'+yt.paginationTotal+'"></span>':"progress"===t.paginationType&&(e='<span class="'+yt.paginationProgressbar+'"></span>');t._paginationContainer.innerHTML=e,t._bullets=t._paginationContainer.querySelectorAll("."+yt.bullet)}}function M(t){s(t._slides,[yt.slideActive,yt.slideNext,yt.slidePrev,yt.slideDuplicateActive,yt.slideDuplicateNext,yt.slideDuplicatePrev]);for(var e=0;e<t._slides.length;e++)T(t._slides[e],!0);var n=t._slides[t._activeIndex];if(n){o(n,yt.slideActive),T(n,!1),t.loop&&o(n.classList.contains(yt.slideDuplicate)?u(t._wrapper,"."+yt.slide+":not(."+yt.slideDuplicate+')[data-swiper-slide-index="'+t.realIndex+'"]'):u(t._wrapper,"."+yt.slide+"."+yt.slideDuplicate+'[data-swiper-slide-index="'+t.realIndex+'"]'),yt.slideDuplicateActive);var r=n.nextElementSibling;t.loop&&!r&&(r=t._slides[0]),r&&r.classList.add(yt.slideNext);var i=n.previousElementSibling;t.loop&&!i&&(i=t._slides[t._slides.length-1]),i&&i.classList.add(yt.slidePrev),t.loop&&(o(r.classList.contains(yt.slideDuplicate)?u(t._wrapper,"."+yt.slide+":not(."+yt.slideDuplicate+')[data-swiper-slide-index="'+r.getAttribute("data-swiper-slide-index")+'"]'):u(t._wrapper,"."+yt.slide+"."+yt.slideDuplicate+'[data-swiper-slide-index="'+r.getAttribute("data-swiper-slide-index")+'"]'),yt.slideDuplicateNext),o(i.classList.contains(yt.slideDuplicate)?u(t._wrapper,"."+yt.slide+":not(."+yt.slideDuplicate+')[data-swiper-slide-index="'+i.getAttribute("data-swiper-slide-index")+'"]'):u(t._wrapper,"."+yt.slide+"."+yt.slideDuplicate+'[data-swiper-slide-index="'+i.getAttribute("data-swiper-slide-index")+'"]'),yt.slideDuplicatePrev)),t._paginationContainer&&function(t){var e,n=t.loop?Math.ceil((t._slides.length-2*t.loopedSlides)/t.slidesPerGroup):t._snapGrid.length;if(t.loop?((e=Math.ceil((t._activeIndex-t.loopedSlides)/t.slidesPerGroup))>t._slides.length-1-2*t.loopedSlides&&(e-=t._slides.length-2*t.loopedSlides),e>n-1&&(e-=n),e<0&&"bullets"!==t.paginationType&&(e=n+e)):e=void 0!==t._snapIndex?t._snapIndex:t._activeIndex||0,"bullets"===t.paginationType&&t._bullets)for(var r=e+(e<0?t._bullets.length:0),i=0;i<t._bullets.length;i++)i===r?o(t._bullets[i],yt.bulletActive):s(t._bullets[i],yt.bulletActive);if("fraction"===t.paginationType&&(l(t._paginationContainer,"."+yt.paginationCurrent,function(t){t.textContent=e+1}),l(t._paginationContainer,"."+yt.paginationTotal,function(t){t.textContent=n})),"progress"===t.paginationType){var a=(e+1)/n,u=a,h=1;m(t)||(h=a,u=1),l(t._paginationContainer,"."+yt.paginationProgressbar,function(e){c(e,"translate3d(0,0,0) scaleX("+u+") scaleY("+h+")"),d(e,t.speed)})}}(t),t.loop||(t.prevButton&&(t._isBeginning?(t.prevButton.classList.add(yt.buttonDisabled),S(t.prevButton,!0)):(t.prevButton.classList.remove(yt.buttonDisabled),S(t.prevButton,!1))),t.nextButton&&(t._isEnd?(t.nextButton.classList.add(yt.buttonDisabled),S(t.nextButton,!0)):(t.nextButton.classList.remove(yt.buttonDisabled),S(t.nextButton,!1))))}}function x(t){var e,n,r,i=t._rtl?t._translate:-t._translate;for(n=0;n<t._slidesGrid.length;n++)void 0!==t._slidesGrid[n+1]?i>=t._slidesGrid[n]&&i<t._slidesGrid[n+1]-(t._slidesGrid[n+1]-t._slidesGrid[n])/2?e=n:i>=t._slidesGrid[n]&&i<t._slidesGrid[n+1]&&(e=n+1):i>=t._slidesGrid[n]&&(e=n);(r=Math.floor(e/t.slidesPerGroup))>=t._snapGrid.length&&(r=t._snapGrid.length-1),e!==t._activeIndex&&(t._snapIndex=r,t._previousIndex=t._activeIndex,t._activeIndex=e,M(t),C(t))}function C(t){var e=t._slides[t._activeIndex];e&&(t.realIndex=parseInt(e.getAttribute("data-swiper-slide-index")||t._activeIndex,10))}function O(t,e,n,i,o){var s=0,a=0;m(t)?s=t._rtl?-n:n:a=n,t.roundLengths&&(s=r(s),a=r(a)),t.virtualTranslate||c(t._wrapper,"translate3d("+s+"px, "+a+"px, 0px)"),t._translate=m(t)?s:a;var u=v(t)-g(t);(0===u?0:(n-g(t))/u)!==t.progress&&w(t,n),i&&x(t),"slide"!==t.effect&&St[t.effect]&&St[t.effect].setTranslate(t,e),t.parallax&&b(t),t.control&&bt.setTranslate(t,e,t._translate,o,O)}function D(t,e,n,r){var i,o,s,a,u=e.win();return void 0===r&&(r="x"),t.virtualTranslate?t._rtl?-t._translate:t._translate:(s=e.getElementComputedStyle(n),u.WebKitCSSMatrix?((o=s.transform||s.webkitTransform).split(",").length>6&&(o=o.split(", ").map(function(t){return t.replace(",",".")}).join(", ")),a=new u.WebKitCSSMatrix("none"===o?"":o)):i=(a=s.MozTransform||s.OTransform||s.MsTransform||s.msTransform||s.transform||s.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,")).toString().split(","),"x"===r&&(o=u.WebKitCSSMatrix?a.m41:16===i.length?parseFloat(i[12]):parseFloat(i[4])),"y"===r&&(o=u.WebKitCSSMatrix?a.m42:16===i.length?parseFloat(i[13]):parseFloat(i[5])),t._rtl&&o&&(o=-o),o||0)}function k(t,e,n,r){d(t._wrapper,n),"slide"!==t.effect&&St[t.effect]&&St[t.effect].setTransition(t,e,n),t.parallax&&function(t,e){void 0===e&&(e=t.speed),l(t.container,"[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y]",function(t){var n=parseInt(t.getAttribute("data-swiper-parallax-duration"),10)||e;0===e&&(n=0),d(t,n)})}(t,n),t.control&&bt.setTransition(t,e,n,r,k)}function L(t){if(t.targetTouches.length<2)return 1;var e=t.targetTouches[0].pageX,n=t.targetTouches[0].pageY,r=t.targetTouches[1].pageX,i=t.targetTouches[1].pageY;return Math.sqrt(Math.pow(r-e,2)+Math.pow(i-n,2))}function A(t,e,n){var r=t._zoom;if(t.originalEvent=n,!t._supportGestures){if("touchstart"!==n.type||"touchstart"===n.type&&n.targetTouches.length<2)return;r.gesture.scaleStart=L(n)}if(!r.gesture.slide&&(n.currentTarget&&n.currentTarget.classList.contains(yt.slide)&&(r.gesture.slide=n.currentTarget),r.gesture.slide||(r.gesture.slide=t._slides[t._activeIndex]),r.gesture.image=r.gesture.slide.querySelector("img, svg, canvas, ion-img"),r.gesture.image)){if(r.gesture.imageWrap=r.gesture.image.closest("."+yt.zoomContainer),!r.gesture.imageWrap)return void(r.gesture.image=void 0);r.gesture.zoomMax=parseInt(r.gesture.imageWrap.getAttribute("data-swiper-zoom")||t.zoomMax,10)}d(r.gesture.image,0),r.isScaling=!0}function I(t,e,n){var r=t._zoom;if(t.originalEvent=n,!t._supportGestures){if("touchmove"!==n.type||"touchmove"===n.type&&n.targetTouches.length<2)return;r.gesture.scaleMove=L(n)}r.gesture.image&&(r.scale=t._supportGestures?n.scale*r.currentScale:r.gesture.scaleMove/r.gesture.scaleStart*r.currentScale,r.scale>r.gesture.zoomMax&&(r.scale=r.gesture.zoomMax-1+Math.pow(r.scale-r.gesture.zoomMax+1,.5)),r.scale<t.zoomMin&&(r.scale=t.zoomMin+1-Math.pow(t.zoomMin-r.scale+1,.5)),c(r.gesture.image,"translate3d(0,0,0) scale("+r.scale+")"))}function P(t,e,n){var r=t._zoom;t.originalEvent=n,!t._supportGestures&&("touchend"!==n.type||"touchend"===n.type&&n.changedTouches.length<2)||r.gesture.image&&(r.scale=Math.max(Math.min(r.scale,r.gesture.zoomMax),t.zoomMin),d(r.gesture.image,t.speed),c(r.gesture.image,"translate3d(0,0,0) scale("+r.scale+")"),r.currentScale=r.scale,r.isScaling=!1,1===r.scale&&(r.gesture.slide=void 0))}function R(t,e,n){var r=t._zoom;if(t.originalEvent=n,r.gesture.image&&(t._allowClick=!1,r.image.isTouched&&r.gesture.slide)){r.image.isMoved||(r.image.width=r.gesture.image.offsetWidth,r.image.height=r.gesture.image.offsetHeight,r.image.startX=D(t,e,r.gesture.imageWrap,"x")||0,r.image.startY=D(t,e,r.gesture.imageWrap,"y")||0,r.gesture.slideWidth=r.gesture.slide.offsetWidth,r.gesture.slideHeight=r.gesture.slide.offsetHeight,d(r.gesture.imageWrap,0),t._rtl&&(r.image.startX=-r.image.startX,r.image.startY=-r.image.startY));var i=r.image.width*r.scale,o=r.image.height*r.scale;if(!(i<r.gesture.slideWidth&&o<r.gesture.slideHeight)){if(r.image.minX=Math.min(r.gesture.slideWidth/2-i/2,0),r.image.maxX=-r.image.minX,r.image.minY=Math.min(r.gesture.slideHeight/2-o/2,0),r.image.maxY=-r.image.minY,r.image.touchesCurrent.x="touchmove"===n.type?n.targetTouches[0].pageX:n.pageX,r.image.touchesCurrent.y="touchmove"===n.type?n.targetTouches[0].pageY:n.pageY,!r.image.isMoved&&!r.isScaling){if(m(t)&&Math.floor(r.image.minX)===Math.floor(r.image.startX)&&r.image.touchesCurrent.x<r.image.touchesStart.x||Math.floor(r.image.maxX)===Math.floor(r.image.startX)&&r.image.touchesCurrent.x>r.image.touchesStart.x)return void(r.image.isTouched=!1);if(!m(t)&&Math.floor(r.image.minY)===Math.floor(r.image.startY)&&r.image.touchesCurrent.y<r.image.touchesStart.y||Math.floor(r.image.maxY)===Math.floor(r.image.startY)&&r.image.touchesCurrent.y>r.image.touchesStart.y)return void(r.image.isTouched=!1)}n.preventDefault(),n.stopPropagation(),r.image.isMoved=!0,r.image.currentX=r.image.touchesCurrent.x-r.image.touchesStart.x+r.image.startX,r.image.currentY=r.image.touchesCurrent.y-r.image.touchesStart.y+r.image.startY,r.image.currentX<r.image.minX&&(r.image.currentX=r.image.minX+1-Math.pow(r.image.minX-r.image.currentX+1,.8)),r.image.currentX>r.image.maxX&&(r.image.currentX=r.image.maxX-1+Math.pow(r.image.currentX-r.image.maxX+1,.8)),r.image.currentY<r.image.minY&&(r.image.currentY=r.image.minY+1-Math.pow(r.image.minY-r.image.currentY+1,.8)),r.image.currentY>r.image.maxY&&(r.image.currentY=r.image.maxY-1+Math.pow(r.image.currentY-r.image.maxY+1,.8)),r.velocity.prevPositionX||(r.velocity.prevPositionX=r.image.touchesCurrent.x),r.velocity.prevPositionY||(r.velocity.prevPositionY=r.image.touchesCurrent.y),r.velocity.prevTime||(r.velocity.prevTime=Date.now()),r.velocity.x=(r.image.touchesCurrent.x-r.velocity.prevPositionX)/(Date.now()-r.velocity.prevTime)/2,r.velocity.y=(r.image.touchesCurrent.y-r.velocity.prevPositionY)/(Date.now()-r.velocity.prevTime)/2,Math.abs(r.image.touchesCurrent.x-r.velocity.prevPositionX)<2&&(r.velocity.x=0),Math.abs(r.image.touchesCurrent.y-r.velocity.prevPositionY)<2&&(r.velocity.y=0),r.velocity.prevPositionX=r.image.touchesCurrent.x,r.velocity.prevPositionY=r.image.touchesCurrent.y,r.velocity.prevTime=Date.now(),c(r.gesture.imageWrap,"translate3d("+r.image.currentX+"px, "+r.image.currentY+"px,0)")}}}function N(t,e){j(t);var n,r=t._zoom.unRegs,i={passive:"touchstart"===t._touchEvents.start,zone:!1},o=t._slides;if(t._supportGestures)for(var s=0;s<o.length;s++)e.registerListener(n=o[s],"gesturestart",function(e){A(t,0,e)},i,r),e.registerListener(n,"gesturechange",function(e){I(t,0,e)},i,r),e.registerListener(n,"gestureend",function(e){P(t,0,e)},i,r);else if("touchstart"===t._touchEvents.start)for(s=0;s<o.length;s++)e.registerListener(n=o[s],t._touchEvents.start,function(e){A(t,0,e)},i,r),e.registerListener(n,t._touchEvents.move,function(e){I(t,0,e)},i,r),e.registerListener(n,t._touchEvents.end,function(e){P(t,0,e)},i,r);var a=t.ionSlideTouchStart.subscribe(function(n){!function(t,e,n){var r=t._zoom;t.originalEvent=n,r.gesture.image&&!r.image.isTouched&&(e.is("android")&&n.preventDefault(),r.image.isTouched=!0,r.image.touchesStart.x="touchstart"===n.type?n.targetTouches[0].pageX:n.pageX,r.image.touchesStart.y="touchstart"===n.type?n.targetTouches[0].pageY:n.pageY)}(t,e,n)});r.push(function(){a.unsubscribe()});for(s=0;s<o.length;s++)(n=o[s]).querySelector("."+yt.zoomContainer)&&e.registerListener(n,"s.touchEvents.move",function(n){R(t,e,n)},i,r);var u=t.ionSlideTouchEnd.subscribe(function(){!function(t){var e=t._zoom;if(e.gesture.image){if(!e.image.isTouched||!e.image.isMoved)return e.image.isTouched=!1,void(e.image.isMoved=!1);e.image.isTouched=!1,e.image.isMoved=!1;var n=300,r=300,i=e.image.currentX+e.velocity.x*n,o=e.image.currentY+e.velocity.y*r;0!==e.velocity.x&&(n=Math.abs((i-e.image.currentX)/e.velocity.x)),0!==e.velocity.y&&(r=Math.abs((o-e.image.currentY)/e.velocity.y));var s=Math.max(n,r);e.image.currentX=i,e.image.currentY=o;var a=e.image.width*e.scale,u=e.image.height*e.scale;e.image.minX=Math.min(e.gesture.slideWidth/2-a/2,0),e.image.maxX=-e.image.minX,e.image.minY=Math.min(e.gesture.slideHeight/2-u/2,0),e.image.maxY=-e.image.minY,e.image.currentX=Math.max(Math.min(e.image.currentX,e.image.maxX),e.image.minX),e.image.currentY=Math.max(Math.min(e.image.currentY,e.image.maxY),e.image.minY),d(e.gesture.imageWrap,s),c(e.gesture.imageWrap,"translate3d("+e.image.currentX+"px, "+e.image.currentY+"px,0)")}}(t)});r.push(function(){u.unsubscribe()});var l=t.ionSlideTouchEnd.subscribe(function(){!function(t){var e=t._zoom;e.gesture.slide&&t._previousIndex!==t._activeIndex&&(c(e.gesture.image,"translate3d(0,0,0) scale(1)"),c(e.gesture.imageWrap,"translate3d(0,0,0)"),e.gesture.slide=e.gesture.image=e.gesture.imageWrap=void 0,e.scale=e.currentScale=1)}(t)});if(r.push(function(){l.unsubscribe()}),t.zoomToggle){var h=t.ionSlideDoubleTap.subscribe(function(){!function(t,e){var n=t._zoom,r=t.originalEvent;if(n.gesture.slide||(n.gesture.slide=t.clickedSlide?t.clickedSlide:t._slides[t._activeIndex],n.gesture.image=n.gesture.slide.querySelector("img, svg, canvas, ion-img"),n.gesture.imageWrap=n.gesture.image&&n.gesture.image.closest("."+yt.zoomContainer)),n.gesture.imageWrap){var i,o,s,a,u,l,h,p,m,_,g,v,y,b;if(void 0===n.image.touchesStart.x&&r?(i="touchend"===r.type?r.changedTouches[0].pageX:r.pageX,o="touchend"===r.type?r.changedTouches[0].pageY:r.pageY):(i=n.image.touchesStart.x,o=n.image.touchesStart.y),n.scale&&1!==n.scale)n.scale=n.currentScale=1,d(n.gesture.imageWrap,300),c(n.gesture.imageWrap,"translate3d(0,0,0)"),d(n.gesture.image,300),c(n.gesture.image,"translate3d(0,0,0) scale(1)"),n.gesture.slide=void 0;else{if(n.scale=n.currentScale=parseInt(n.gesture.imageWrap.getAttribute("data-swiper-zoom")||t.zoomMax,10),r){y=n.gesture.slide.offsetWidth,b=n.gesture.slide.offsetHeight;var w=f(n.gesture.slide,e);s=w.left+y/2-i,a=w.top+b/2-o,h=n.gesture.image.offsetWidth*n.scale,p=n.gesture.image.offsetHeight*n.scale,g=-(m=Math.min(y/2-h/2,0)),v=-(_=Math.min(b/2-p/2,0)),l=a*n.scale,(u=s*n.scale)<m&&(u=m),u>g&&(u=g),l<_&&(l=_),l>v&&(l=v)}else u=0,l=0;d(n.gesture.imageWrap,300),c(n.gesture.imageWrap,"translate3d("+u+"px, "+l+"px,0)"),d(n.gesture.image,300),c(n.gesture.image,"translate3d(0,0,0) scale("+n.scale+")")}}}(t,e)});r.push(function(){h.unsubscribe()})}}function j(t){t._zoom.unRegs.forEach(function(t){t()}),t._zoom.unRegs.length=0}function Y(t,e){if(t._classNames=[],t.container){t.container.swiper=t;var n=yt.containerModifier;t._classNames.push(n+t.direction),t.freeMode&&t._classNames.push(n+"free-mode"),t.autoHeight&&t._classNames.push(n+"autoheight"),(t.parallax||t.watchSlidesVisibility)&&(t.watchSlidesProgress=!0),t.touchReleaseOnEdges&&(t.resistanceRatio=0);var r=t.effect;["cube","coverflow","flip"].indexOf(r)>=0&&(t.watchSlidesProgress=!0,t._classNames.push(n+"3d")),"slide"!==r&&t._classNames.push(n+r),"cube"===r&&(t.resistanceRatio=0,t.slidesPerView=1,t.slidesPerColumn=1,t.slidesPerGroup=1,t.centeredSlides=!1,t.spaceBetween=0,t.virtualTranslate=!0,t.setWrapperSize=!1),"fade"!==r&&"flip"!==r||(t.slidesPerView=1,t.slidesPerColumn=1,t.slidesPerGroup=1,t.watchSlidesProgress=!0,t.spaceBetween=0,t.setWrapperSize=!1,t.virtualTranslate=!0),t._wrapper=t.container.querySelector("."+yt.wrapper),t.paginationType&&(t._paginationContainer=t.container.querySelector(".swiper-pagination"),"bullets"===t.paginationType&&t._paginationContainer.classList.add(yt.paginationModifier+"clickable"),t._paginationContainer.classList.add(yt.paginationModifier+t.paginationType)),t._rtl=m(t)&&("rtl"===t.container.dir.toLowerCase()||"rtl"===t.container.style.direction),t._rtl&&t._classNames.push(n+"rtl"),t.slidesPerColumn>1&&t._classNames.push(n+"multirow"),e.is("android")&&t._classNames.push(n+"android"),t._classNames.forEach(function(e){t.container.classList.add(e)}),t._translate=0,t.progress=0,t.velocity=0,t._autoplayTimeoutId=void 0,t._autoplaying=!1,t._autoplayPaused=!1,t._allowClick=!0,t._animating=!1,t._touches={startX:0,startY:0,currentX:0,currentY:0,diff:0},t.loop&&function(t){l(t._wrapper,"."+yt.slide+"."+yt.slideDuplicate,function(t){t.parentElement.removeChild(t)});var e=t._wrapper.querySelectorAll("."+yt.slide);"auto"!==t.slidesPerView||t.loopedSlides||(t.loopedSlides=e.length);t.loopedSlides=parseInt(t.loopedSlides||t.slidesPerView,10),t.loopedSlides=t.loopedSlides+t.loopAdditionalSlides,t.loopedSlides>e.length&&(t.loopedSlides=e.length);for(var n=[],r=[],i=0;i<e.length;i++){var s=e[i];i<t.loopedSlides&&r.push(s),i<e.length&&i>=e.length-t.loopedSlides&&n.push(s),s.setAttribute("data-swiper-slide-index",i)}for(i=0;i<r.length;i++){var a=r[i].cloneNode(!0);o(a,yt.slideDuplicate),t._wrapper.appendChild(a)}for(i=n.length-1;i>=0;i--){var u=n[i].cloneNode(!0);o(u,yt.slideDuplicate),t._wrapper.insertBefore(u,t._wrapper.firstElementChild)}}(t),W(t,e),U(t,e),E(t),"slide"!==r&&St[r]&&(t.loop||w(t),St[r].setTranslate(t,e)),t.loop?G(t,e,t.initialSlide+t.loopedSlides,0,t.runCallbacksOnInit):(G(t,e,t.initialSlide,0,t.runCallbacksOnInit),0===t.initialSlide&&b(t)),t.autoplay&&H(t,e)}}function F(t,e){var n=t.autoplay,r=t._slides[t._activeIndex];r.hasAttribute("data-swiper-autoplay")&&(n=r.getAttribute("data-swiper-autoplay")||t.autoplay),t._autoplayTimeoutId=e.timeout(function(){t._zone.run(function(){t.loop?(q(t,e),Z(t,e,!0,void 0,!0),t.ionSlideAutoplay.emit(t)):t._isEnd?t.autoplayStopOnLast?B(t):(G(t,e,0),t.ionSlideAutoplay.emit(t)):(Z(t,e,!0,void 0,!0),t.ionSlideAutoplay.emit(t))})},n)}function H(t,e){return void 0===t._autoplayTimeoutId&&(!(!t.autoplay||t._autoplaying)&&(t._autoplaying=!0,t._zone.run(function(){t.ionSlideAutoplayStart.emit(t)}),void F(t,e)))}function B(t){t._autoplayTimeoutId&&(t._autoplayTimeoutId&&clearTimeout(t._autoplayTimeoutId),t._autoplaying=!1,t._autoplayTimeoutId=void 0,t._zone.run(function(){t.ionSlideAutoplayStop.emit(t)}))}function V(t,e,n){t._autoplayPaused||(t._autoplayTimeoutId&&clearTimeout(t._autoplayTimeoutId),t._autoplayPaused=!0,0===n?(t._autoplayPaused=!1,F(t,e)):e.transitionEnd(t._wrapper,function(){t&&(t._autoplayPaused=!1,t._autoplaying?F(t,e):B(t))}))}function z(t){var e,n=[],r=0;if("auto"!==t.slidesPerView&&t.slidesPerView>1)for(e=0;e<Math.ceil(t.slidesPerView);e++){var i=t._activeIndex+e;if(i>t._slides.length)break;n.push(t._slides[i])}else n.push(t._slides[t._activeIndex]);for(e=0;e<n.length;e++)if(void 0!==n[e]){var o=n[e].offsetHeight;r=o>r?o:r}r&&(t._wrapper.style.height=r+"px")}function W(t,e){var n,r,i=t.container;if(n=void 0!==t.width?t.width:i.clientWidth,r=void 0!==t.renderedHeight?t.renderedHeight:i.clientHeight,!(0===n&&m(t)||0===r&&!m(t))){var o=e.getElementComputedStyle(i);n=n-parseInt(o.paddingLeft,10)-parseInt(o.paddingRight,10),r=r-parseInt(o.paddingTop,10)-parseInt(o.paddingBottom,10),t.renderedWidth=n,t.renderedHeight=r,t._renderedSize=m(t)?n:r}}function U(t,e){t._slides=t._wrapper.querySelectorAll("."+yt.slide),t._snapGrid=[],t._slidesGrid=[],t._slidesSizesGrid=[];var n,o=t.spaceBetween,s=-t.slidesOffsetBefore,a=0,u=0;if(void 0!==t._renderedSize){"string"==typeof o&&o.indexOf("%")>=0&&(o=parseFloat(o.replace("%",""))/100*t._renderedSize),t._virtualSize=-o,i(t._slides,t._rtl?{marginLeft:"",marginTop:""}:{marginRight:"",marginBottom:""});var l;t.slidesPerColumn>1&&(l=Math.floor(t._slides.length/t.slidesPerColumn)===t._slides.length/t.slidesPerColumn?t._slides.length:Math.ceil(t._slides.length/t.slidesPerColumn)*t.slidesPerColumn,"auto"!==t.slidesPerView&&"row"===t.slidesPerColumnFill&&(l=Math.max(l,t.slidesPerView*t.slidesPerColumn)));var c,d=t.slidesPerColumn,h=l/d,f=h-(t.slidesPerColumn*h-t._slides.length);for(n=0;n<t._slides.length;n++){c=0;var _=t._slides[n];if(t.slidesPerColumn>1){var g,v,y;"column"===t.slidesPerColumnFill?(y=n-(v=Math.floor(n/d))*d,(v>f||v===f&&y===d-1)&&++y>=d&&(y=0,v++),i(_,{"-webkit-box-ordinal-group":g=v+y*l/d,"-moz-box-ordinal-group":g,"-ms-flex-order":g,"-webkit-order":g,order:g})):v=n-(y=Math.floor(n/h))*h;var b=0!==y&&t.spaceBetween&&t.spaceBetween+"px",w={};m(t)?w.marginTop=b:w.marginLeft=b,i(_,w),_.setAttribute("data-swiper-column",v),_.setAttribute("data-swiper-row",y)}if("none"!==_.style.display){if("auto"===t.slidesPerView){var S=e.getElementComputedStyle(_);c=m(t)?_.offsetWidth+parseFloat(S.marginRight)+parseFloat(S.marginLeft):_.offsetHeight+parseFloat(S.marginTop)+parseFloat(S.marginBottom),t.roundLengths&&(c=r(c))}else c=(t._renderedSize-(t.slidesPerView-1)*o)/t.slidesPerView,t.roundLengths&&(c=r(c)),m(t)?t._slides[n].style.width=c+"px":t._slides[n].style.height=c+"px";t._slides[n].swiperSlideSize=c,t._slidesSizesGrid.push(c),t.centeredSlides?(s=s+c/2+a/2+o,0===n&&(s=s-t._renderedSize/2-o),Math.abs(s)<.001&&(s=0),u%t.slidesPerGroup==0&&t._snapGrid.push(s),t._slidesGrid.push(s)):(u%t.slidesPerGroup==0&&t._snapGrid.push(s),t._slidesGrid.push(s),s=s+c+o),t._virtualSize+=c+o,a=c,u++}}t._virtualSize=Math.max(t._virtualSize,t._renderedSize)+t.slidesOffsetAfter;var T;if(!t._rtl||"slide"!==t.effect&&"coverflow"!==t.effect||i(t._wrapper,{width:t._virtualSize+t.spaceBetween+"px"}),t.setWrapperSize&&(m(t)?i(t._wrapper,{width:t._virtualSize+t.spaceBetween+"px"}):i(t._wrapper,{height:t._virtualSize+t.spaceBetween+"px"})),t.slidesPerColumn>1&&(t._virtualSize=(c+t.spaceBetween)*l,t._virtualSize=Math.ceil(t._virtualSize/t.slidesPerColumn)-t.spaceBetween,m(t)?i(t._wrapper,{width:t._virtualSize+t.spaceBetween+"px"}):i(t._wrapper,{height:t._virtualSize+t.spaceBetween+"px"}),t.centeredSlides)){for(T=[],n=0;n<t._snapGrid.length;n++)t._snapGrid[n]<t._virtualSize+t._snapGrid[0]&&T.push(t._snapGrid[n]);t._snapGrid=T}if(!t.centeredSlides){for(T=[],n=0;n<t._snapGrid.length;n++)t._snapGrid[n]<=t._virtualSize-t._renderedSize&&T.push(t._snapGrid[n]);t._snapGrid=T,Math.floor(t._virtualSize-t._renderedSize)-Math.floor(t._snapGrid[t._snapGrid.length-1])>1&&t._snapGrid.push(t._virtualSize-t._renderedSize)}0===t._snapGrid.length&&(t._snapGrid=[0]),0!==t.spaceBetween&&(m(t)?i(t._slides,t._rtl?{marginLeft:o+"px"}:{marginRight:o+"px"}):i(t._slides,{marginBottom:o+"px"})),t.watchSlidesProgress&&p(t)}}function q(t,e){var n;t._activeIndex<t.loopedSlides?(n=t._slides.length-3*t.loopedSlides+t._activeIndex,G(t,e,n+=t.loopedSlides,0,!1,!0)):("auto"===t.slidesPerView&&t._activeIndex>=2*t.loopedSlides||t._activeIndex>t._slides.length-2*t.slidesPerView)&&(n=-t._slides.length+t._activeIndex+t.loopedSlides,G(t,e,n+=t.loopedSlides,0,!1,!0))}function G(t,e,n,r,i,o){void 0===i&&(i=!0),void 0===n&&(n=0),n<0&&(n=0),t._snapIndex=Math.floor(n/t.slidesPerGroup),t._snapIndex>=t._snapGrid.length&&(t._snapIndex=t._snapGrid.length-1);var s=-t._snapGrid[t._snapIndex];return t.autoplay&&t._autoplaying&&(o||!t.autoplayDisableOnInteraction?V(t,e,r):B(t)),w(t,s),!(!t._allowSwipeToNext&&s<t._translate&&s<g(t))&&(!(!t._allowSwipeToPrev&&s>t._translate&&s>v(t)&&(t._activeIndex||0)!==n)&&(void 0===r&&(r=t.speed),t._previousIndex=t._activeIndex||0,t._activeIndex=n,C(t),t._rtl&&-s===t._translate||!t._rtl&&s===t._translate?(t.autoHeight&&z(t),M(t),"slide"!==t.effect&&O(t,e,s),!1):(M(t),X(t,i),0===r?(O(t,e,s),k(t,e,0),K(t,e,i)):(O(t,e,s),k(t,e,r),t._animating||(t._animating=!0,e.transitionEnd(t._wrapper,function(){t&&K(t,e,i)}))),!0)))}function X(t,e){void 0===e&&(e=!0),t.autoHeight&&z(t),e&&t._zone.run(function(){t.ionSlideTransitionStart.emit(t),t._activeIndex!==t._previousIndex&&(t.ionSlideWillChange.emit(t),t._activeIndex>t._previousIndex?t.ionSlideNextStart.emit(t):t.ionSlidePrevStart.emit(t))})}function K(t,e,n){void 0===n&&(n=!0),t._animating=!1,k(t,e,0),n&&t._zone.run(function(){t.ionSlideTransitionEnd.emit(t),t._activeIndex!==t._previousIndex&&(t.ionSlideDidChange.emit(t),t._activeIndex>t._previousIndex?t.ionSlideNextEnd.emit(t):t.ionSlidePrevEnd.emit(t))})}function Z(t,e,n,r,i){if(t.loop)return!t._animating&&(q(t,e),G(t,e,t._activeIndex+t.slidesPerGroup,r,n,i));var o=t._activeIndex+t.slidesPerGroup;return o<t._slides.length&&G(t,e,o,r,n,i)}function $(t,e,n,r,i){if(t.loop)return!t._animating&&(q(t,e),G(t,e,t._activeIndex-1,r,n,i));return t._activeIndex-1>=0&&G(t,e,t._activeIndex-1,r,n,i)}function J(t){B(t),t.loop&&function(t){if(l(t._wrapper,"."+yt.slide+"."+yt.slideDuplicate,function(t){t.parentElement.removeChild(t)}),t._slides)for(var e=0;e<t._slides.length;e++)t._slides[e].removeAttribute("data-swiper-slide-index")}(t),function(t){if(t.container&&t._wrapper){if(t.container&&(s(t.container,t._classNames),t.container.removeAttribute("style")),t._wrapper.removeAttribute("style"),t._slides&&t._slides.length){s(t._slides,[yt.slideVisible,yt.slideActive,yt.slideNext,yt.slidePrev]);for(var e=0;e<t._slides.length;e++){var n=t._slides[e];n.removeAttribute("style"),n.removeAttribute("data-swiper-column"),n.removeAttribute("data-swiper-row")}}s(t._bullets,yt.bulletActive),s(t.prevButton,yt.buttonDisabled),s(t.nextButton,yt.buttonDisabled)}}(t)}function Q(t,e,n){n&&!t._keyboardUnReg?t._keyboardUnReg=e.registerListener(e.doc(),"keydown",function(n){!function(t,e,n){var r=e.win(),i=n.keyCode||n.charCode;if(!t._allowSwipeToNext&&(m(t)&&39===i||!m(t)&&40===i))return!1;if(!t._allowSwipeToPrev&&(m(t)&&37===i||!m(t)&&38===i))return!1;if(!(n.shiftKey||n.altKey||n.ctrlKey||n.metaKey)){var o=e.getActiveElement();if(!o||!o.nodeName||"input"!==o.nodeName.toLowerCase()&&"textarea"!==o.nodeName.toLowerCase()){if(37===i||39===i||38===i||40===i){var s=!1;if(t.container.closest("."+yt.slide)&&!t.container.closest("."+yt.slideActive))return;var a={left:r.pageXOffset,top:r.pageYOffset},u=e.width(),l=e.height(),c=f(t.container,e);t._rtl&&(c.left=c.left-t.container.scrollLeft);for(var d=[[c.left,c.top],[c.left+t.renderedWidth,c.top],[c.left,c.top+t.renderedHeight],[c.left+t.renderedWidth,c.top+t.renderedHeight]],h=0;h<d.length;h++){var p=d[h];p[0]>=a.left&&p[0]<=a.left+u&&p[1]>=a.top&&p[1]<=a.top+l&&(s=!0)}if(!s)return}m(t)?(37!==i&&39!==i||(n.preventDefault?n.preventDefault():n.returnValue=!1),(39===i&&!t._rtl||37===i&&t._rtl)&&Z(t,e),(37===i&&!t._rtl||39===i&&t._rtl)&&$(t,e)):(38!==i&&40!==i||(n.preventDefault?n.preventDefault():n.returnValue=!1),40===i&&Z(t,e),38===i&&$(t,e))}}}(t,e,n)},{zone:!1}):!n&&t._keyboardUnReg&&t._keyboardUnReg()}function tt(t,e){var n=e.win(),r=e.doc();t._supportTouch=!!("ontouchstart"in n||n.DocumentTouch&&r instanceof n.DocumentTouch),t._touchEventsDesktop={start:"mousedown",move:"mousemove",end:"mouseup"},n.navigator.pointerEnabled?t._touchEventsDesktop={start:"pointerdown",move:"pointermove",end:"pointerup"}:n.navigator.msPointerEnabled&&(t._touchEventsDesktop={start:"MSPointerDown",move:"MSPointerMove",end:"MSPointerUp"}),t._touchEvents={start:t._supportTouch||!t.simulateTouch?"touchstart":t._touchEventsDesktop.start,move:t._supportTouch||!t.simulateTouch?"touchmove":t._touchEventsDesktop.move,end:t._supportTouch||!t.simulateTouch?"touchend":t._touchEventsDesktop.end},(n.navigator.pointerEnabled||n.navigator.msPointerEnabled)&&("container"===t.touchEventsTarget?t.container:t._wrapper).classList.add("swiper-wp8-"+t.direction);var i=[],o="container"===t.touchEventsTarget?t.container:t._wrapper;t._supportTouch&&(e.registerListener(o,t._touchEvents.start,function(n){nt(t,e,n)},{passive:!0,zone:!1},i),e.registerListener(o,t._touchEvents.move,function(n){rt(t,e,n)},{zone:!1},i),e.registerListener(o,t._touchEvents.end,function(n){it(t,e,n)},{passive:!0,zone:!1},i)),(t.simulateTouch&&!e.is("ios")&&!e.is("android")||t.simulateTouch&&!t._supportTouch&&e.is("ios")||e.getQueryParam("ionicPlatform"))&&(e.registerListener(o,"mousedown",function(n){nt(t,e,n)},{zone:!1},i),e.registerListener(o,"mousemove",function(n){rt(t,e,n)},{zone:!1},i),e.registerListener(o,"mouseup",function(n){it(t,e,n)},{zone:!1},i));var s=e.resize.subscribe(function(){return function(t,e,n){_t&&(e.cancelTimeout(_t),_t=null);_t=e.timeout(function(){return function(t,e,n){_t=null;var r=t._allowSwipeToPrev,i=t._allowSwipeToNext;t._allowSwipeToPrev=t._allowSwipeToNext=!0,W(t,e),U(t,e),("auto"===t.slidesPerView||t.freeMode||n)&&E(t);t._spline&&(t._spline=void 0);if(t.freeMode){var o=Math.min(Math.max(t._translate,v(t)),g(t));O(t,e,o),x(t),M(t),t.autoHeight&&z(t)}else M(t),G(t,e,("auto"===t.slidesPerView||t.slidesPerView>1)&&t._isEnd&&!t.centeredSlides?t._slides.length-1:t._activeIndex,0,!1,!0);t._allowSwipeToPrev=r,t._allowSwipeToNext=i}(t,e,n)},200)}(t,e,!1)});return t.nextButton&&e.registerListener(t.nextButton,"click",function(n){!function(t,e,n){if(n.preventDefault(),t._isEnd&&!t.loop)return;Z(t,e)}(t,e,n)},{zone:!1},i),t.prevButton&&e.registerListener(t.prevButton,"click",function(n){!function(t,e,n){if(n.preventDefault(),t._isBeginning&&!t.loop)return;$(t,e)}(t,e,n)},{zone:!1},i),t.paginationType&&e.registerListener(t._paginationContainer,"click",function(n){!function(t,e,n){var r=n.target.getAttribute("data-slide-index");if(r){var i=parseInt(r,10);n.preventDefault(),t.loop&&(i+=t.loopedSlides),G(t,e,i)}}(t,e,n)},{zone:!1},i),(t.preventClicks||t.preventClicksPropagation)&&e.registerListener(o,"click",function(e){!function(t,e){t._allowClick||(t.preventClicks&&e.preventDefault(),t.preventClicksPropagation&&t._animating&&(e.stopPropagation(),e.stopImmediatePropagation()))}(t,e)},{zone:!1,capture:!0},i),function(){s.unsubscribe(),i.forEach(function(t){t()}),i=null}}function et(t,e){var n=t.target;if(!n.matches(e))if("string"==typeof e)n=n.closest(e);else if(e.nodeType){for(var r=n.parentElement;r;)if(r===e)return e;return}return n}function nt(t,e,n){if(n.originalEvent&&(n=n.originalEvent),t.originalEvent=n,(mt="touchstart"===n.type)||!("which"in n)||3!==n.which)if(t.noSwiping&&et(n,"."+yt.noSwiping))t._allowClick=!0;else if(!t.swipeHandler||et(n,t.swipeHandler)){var r=t._touches.currentX="touchstart"===n.type?n.targetTouches[0].pageX:n.pageX,i=t._touches.currentY="touchstart"===n.type?n.targetTouches[0].pageY:n.pageY;if(!(e.is("ios")&&t.iOSEdgeSwipeDetection&&r<=t.iOSEdgeSwipeThreshold)){if(ot=!0,st=!1,at=!0,lt=void 0,void 0,t._touches.startX=r,t._touches.startY=i,ut=Date.now(),t._allowClick=!0,W(t,e),t.swipeDirection=void 0,t.threshold>0&&(ht=!1),"touchstart"!==n.type){var o=!0;_(n.target)&&(o=!1),e.focusOutActiveElement(),o&&n.preventDefault()}t.ionSlideTouchStart.emit(n)}}}function rt(t,e,n){if(n.originalEvent&&(n=n.originalEvent),t.originalEvent=n,!mt||"mousemove"!==n.type){if(n.preventedByNestedSwiper)return t._touches.startX="touchmove"===n.type?n.targetTouches[0].pageX:n.pageX,void(t._touches.startY="touchmove"===n.type?n.targetTouches[0].pageY:n.pageY);if(t.onlyExternal)return t._allowClick=!1,void(ot&&(t._touches.startX=t._touches.currentX="touchmove"===n.type?n.targetTouches[0].pageX:n.pageX,t._touches.startY=t._touches.currentY="touchmove"===n.type?n.targetTouches[0].pageY:n.pageY,ut=Date.now()));if(mt&&t.touchReleaseOnEdges&&!t.loop)if(m(t)){if(t._touches.currentX<t._touches.startX&&t._translate<=v(t)||t._touches.currentX>t._touches.startX&&t._translate>=g(t))return}else if(t._touches.currentY<t._touches.startY&&t._translate<=v(t)||t._touches.currentY>t._touches.startY&&t._translate>=g(t))return;var r=e.getActiveElement();if(mt&&r&&n.target===r&&_(n.target))return st=!0,void(t._allowClick=!1);if(!(n.targetTouches&&n.targetTouches.length>1)){if(t._touches.currentX="touchmove"===n.type?n.targetTouches[0].pageX:n.pageX,t._touches.currentY="touchmove"===n.type?n.targetTouches[0].pageY:n.pageY,void 0===lt){var i;m(t)&&t._touches.currentY===t._touches.startY||!m(t)&&t._touches.currentX===t._touches.startX?lt=!1:(i=180*Math.atan2(Math.abs(t._touches.currentY-t._touches.startY),Math.abs(t._touches.currentX-t._touches.startX))/Math.PI,lt=m(t)?i>t.touchAngle:90-i>t.touchAngle)}if(ot)if(lt)ot=!1;else{t._allowClick=!1,t.ionSlideDrag.emit(t),n.preventDefault(),t.touchMoveStopPropagation&&n.stopPropagation(),st||(t.loop&&q(t,e),dt=function(t,e,n){return void 0===n&&(n=m(t)?"x":"y"),D(t,e,t._wrapper,n)}(t,e),k(t,e,0),t._animating&&h(e,t._wrapper),t.autoplay&&t._autoplaying&&(t.autoplayDisableOnInteraction?B(t):V(t,e)),pt=!1),st=!0;var o=t._touches.diff=m(t)?t._touches.currentX-t._touches.startX:t._touches.currentY-t._touches.startY;o*=t.touchRatio,t._rtl&&(o=-o),t.swipeDirection=o>0?"prev":"next",ct=o+dt;var s=!0;if(o>0&&ct>g(t)?(s=!1,t.resistance&&(ct=g(t)-1+Math.pow(-g(t)+dt+o,t.resistanceRatio))):o<0&&ct<v(t)&&(s=!1,t.resistance&&(ct=v(t)+1-Math.pow(v(t)-dt-o,t.resistanceRatio))),s&&(n.preventedByNestedSwiper=!0),!t._allowSwipeToNext&&"next"===t.swipeDirection&&ct<dt&&(ct=dt),!t._allowSwipeToPrev&&"prev"===t.swipeDirection&&ct>dt&&(ct=dt),t.threshold>0){if(!(Math.abs(o)>t.threshold||ht))return void(ct=dt);if(!ht)return ht=!0,t._touches.startX=t._touches.currentX,t._touches.startY=t._touches.currentY,ct=dt,void(t._touches.diff=m(t)?t._touches.currentX-t._touches.startX:t._touches.currentY-t._touches.startY)}t.followFinger&&((t.freeMode||t.watchSlidesProgress)&&x(t),t.freeMode&&(0===xt.length&&xt.push({position:t._touches[m(t)?"startX":"startY"],time:ut}),xt.push({position:t._touches[m(t)?"currentX":"currentY"],time:(new Date).getTime()})),w(t,ct),O(t,e,ct))}}}}function it(t,e,n){if(n.originalEvent&&(n=n.originalEvent),t.originalEvent=n,at&&t.ionSlideTouchEnd.emit(n),at=!1,ot){var r=Date.now(),i=r-ut;if(t._allowClick&&(!function(t,e,n){var r=et(n,"."+yt.slide),i=-1;if(r)for(var o=0;o<t._slides.length;o++)if(t._slides[o]===r){i=o;break}if(!(r&&i>-1))return t.clickedSlide=void 0,void(t.clickedIndex=void 0);if(t.clickedSlide=r,t.clickedIndex=i,t.slideToClickedSlide&&void 0!==t.clickedIndex&&t.clickedIndex!==t._activeIndex){var s,u=t.clickedIndex,l="auto"===t.slidesPerView?function(t){var e,n,r=1;if(t.centeredSlides){var i,o=t._slides[t._activeIndex].swiperSlideSize;for(e=t._activeIndex+1;e<t._slides.length;e++)t._slides[e]&&!i&&(r++,(o+=t._slides[e].swiperSlideSize)>t._renderedSize&&(i=!0));for(n=t._activeIndex-1;n>=0;n--)t._slides[n]&&!i&&(r++,(o+=t._slides[n].swiperSlideSize)>t._renderedSize&&(i=!0))}else for(e=t._activeIndex+1;e<t._slides.length;e++)t._slidesGrid[e]-t._slidesGrid[t._activeIndex]<t._renderedSize&&r++;return r}(t):t.slidesPerView;if(t.loop){if(t._animating)return;s=parseInt(t.clickedSlide.getAttribute("data-swiper-slide-index"),10),t.centeredSlides?u<t.loopedSlides-l/2||u>t._slides.length-t.loopedSlides+l/2?(q(t,e),u=a(t._wrapper.querySelector("."+yt.slide+'[data-swiper-slide-index="'+s+'"]:not(.'+yt.slideDuplicate+")")),e.timeout(function(){G(t,e,u)})):G(t,e,u):u>t._slides.length-l?(q(t,e),u=a(t._wrapper.querySelector("."+yt.slide+'[data-swiper-slide-index="'+s+'"]:not(.'+yt.slideDuplicate+")")),e.timeout(function(){G(t,e,u)})):G(t,e,u)}else G(t,e,u)}}(t,e,n),t._zone.run(function(){t.ionSlideTap.emit(t),i<300&&r-Mt>300&&(ft&&e.cancelTimeout(ft),ft=e.timeout(function(){t&&t.paginationHide&&t._paginationContainer&&!n.target.classList.contains(yt.bullet)&&t._paginationContainer.classList.toggle(yt.paginationHidden)},300)),i<300&&r-Mt<300&&(ft&&clearTimeout(ft),t.ionSlideDoubleTap.emit(t))})),Mt=Date.now(),e.timeout(function(){t&&(t._allowClick=!0)}),ot&&st&&t.swipeDirection&&0!==t._touches.diff&&ct!==dt){ot=st=!1;var o;if(o=t.followFinger?t._rtl?t._translate:-t._translate:-ct,t.freeMode){if(o<-g(t))return void G(t,e,t._activeIndex);if(o>-v(t))return void G(t,e,t._slides.length<t._snapGrid.length?t._snapGrid.length-1:t._slides.length-1);if(t.freeModeMomentum){if(xt.length>1){var s=xt.pop(),u=xt.pop(),l=s.time-u.time;t.velocity=(s.position-u.position)/l,t.velocity=t.velocity/2,Math.abs(t.velocity)<t.freeModeMinimumVelocity&&(t.velocity=0),(l>150||(new Date).getTime()-s.time>300)&&(t.velocity=0)}else t.velocity=0;t.velocity=t.velocity*t.freeModeMomentumVelocityRatio,xt.length=0;var c=1e3*t.freeModeMomentumRatio,d=t._translate+t.velocity*c;t._rtl&&(d=-d);var h,f=!1,p=20*Math.abs(t.velocity)*t.freeModeMomentumBounceRatio;if(d<v(t))t.freeModeMomentumBounce?(d+v(t)<-p&&(d=v(t)-p),h=v(t),f=!0,pt=!0):d=v(t);else if(d>g(t))t.freeModeMomentumBounce?(d-g(t)>p&&(d=g(t)+p),h=g(t),f=!0,pt=!0):d=g(t);else if(t.freeModeSticky){var m,_=0;for(_=0;_<t._snapGrid.length;_+=1)if(t._snapGrid[_]>-d){m=_;break}d=Math.abs(t._snapGrid[m]-d)<Math.abs(t._snapGrid[m-1]-d)||"next"===t.swipeDirection?t._snapGrid[m]:t._snapGrid[m-1],t._rtl||(d=-d)}if(0!==t.velocity)c=t._rtl?Math.abs((-d-t._translate)/t.velocity):Math.abs((d-t._translate)/t.velocity);else if(t.freeModeSticky)return void function(t,e,n,r){G(t,e,t._activeIndex,r,n,!0)}(t,e);t.freeModeMomentumBounce&&f?(w(t,h),k(t,e,c),O(t,e,d),X(t),t._animating=!0,e.transitionEnd(t._wrapper,function(){t&&pt&&(k(t,e,t.speed),O(t,e,h),e.transitionEnd(t._wrapper,function(){t&&K(t,e)}))})):t.velocity?(w(t,d),k(t,e,c),O(t,e,d),X(t),t._animating||(t._animating=!0,e.transitionEnd(t._wrapper,function(){t&&K(t,e)}))):w(t,d),x(t)}(!t.freeModeMomentum||i>=t.longSwipesMs)&&(w(t),x(t))}else{for(var y=0,b=t._slidesSizesGrid[0],S=0;S<t._slidesGrid.length;S+=t.slidesPerGroup)void 0!==t._slidesGrid[S+t.slidesPerGroup]?o>=t._slidesGrid[S]&&o<t._slidesGrid[S+t.slidesPerGroup]&&(y=S,b=t._slidesGrid[S+t.slidesPerGroup]-t._slidesGrid[S]):o>=t._slidesGrid[S]&&(y=S,b=t._slidesGrid[t._slidesGrid.length-1]-t._slidesGrid[t._slidesGrid.length-2]);var T=(o-t._slidesGrid[y])/b;if(i>t.longSwipesMs){if(!t.longSwipes)return void G(t,e,t._activeIndex);"next"===t.swipeDirection&&G(t,e,T>=t.longSwipesRatio?y+t.slidesPerGroup:y),"prev"===t.swipeDirection&&G(t,e,T>1-t.longSwipesRatio?y+t.slidesPerGroup:y)}else{if(!t.shortSwipes)return void G(t,e,t._activeIndex);"next"===t.swipeDirection&&G(t,e,y+t.slidesPerGroup),"prev"===t.swipeDirection&&G(t,e,y)}}}else ot=st=!1}}var ot,st,at,ut,lt,ct,dt,ht,ft,pt,mt,_t,gt=n(1),vt=(n(6),["INPUT","SELECT","TEXTAREA","BUTTON","VIDEO"]),yt={noSwiping:"swiper-no-swiping",containerModifier:"swiper-container-",slide:"swiper-slide",slideActive:"swiper-slide-active",slideDuplicateActive:"swiper-slide-duplicate-active",slideVisible:"swiper-slide-visible",slideDuplicate:"swiper-slide-duplicate",slideNext:"swiper-slide-next",slideDuplicateNext:"swiper-slide-duplicate-next",slidePrev:"swiper-slide-prev",slideDuplicatePrev:"swiper-slide-duplicate-prev",wrapper:"swiper-wrapper",bullet:"swiper-pagination-bullet",bulletActive:"swiper-pagination-bullet-active",buttonDisabled:"swiper-button-disabled",paginationCurrent:"swiper-pagination-current",paginationTotal:"swiper-pagination-total",paginationHidden:"swiper-pagination-hidden",paginationProgressbar:"swiper-pagination-progressbar",paginationClickable:"swiper-pagination-clickable",paginationModifier:"swiper-pagination-",lazyLoading:"swiper-lazy",lazyStatusLoading:"swiper-lazy-loading",lazyStatusLoaded:"swiper-lazy-loaded",lazyPreloader:"swiper-lazy-preloader",notification:"swiper-notification",preloader:"preloader",zoomContainer:"swiper-zoom-container"},bt={LinearSpline:function(t,e,n,r){this.x=n,this.y=r,this.lastIndex=n.length-1;var i,o;this.interpolate=function(t){return t?(o=s(this.x,t),i=o-1,(t-this.x[i])*(this.y[o]-this.y[i])/(this.x[o]-this.x[i])+this.y[i]):0};var s=function(){var t,e,n;return function(r,i){for(e=-1,t=r.length;t-e>1;)r[n=t+e>>1]<=i?e=n:t=n;return t}}()},getInterpolateFunction:function(t,e,n){t._spline||(t._spline=t.loop?new bt.LinearSpline(t,e,t._slidesGrid,n._slidesGrid):new bt.LinearSpline(t,e,t._snapGrid,n._snapGrid))},setTranslate:function(t,e,n,r,i){function o(r){n=r._rtl&&m(r)?-t._translate:t._translate,"slide"===t.controlBy&&(bt.getInterpolateFunction(t,e,r),a=-t._spline.interpolate(-n)),a&&"container"!==t.controlBy||(s=(v(r)-g(r))/(v(t)-g(t)),a=(n-g(t))*s+g(r)),t.controlInverse&&(a=v(r)-a),w(r,a),i(r,e,a,!1,t),x(r)}var s,a,u=t.control;if(Array.isArray(u))for(var l=0;l<u.length;l++)u[l]!==r&&o(u[l]);else r!==u&&o(u)},setTransition:function(t,e,n,r,i){function o(r){i(r,e,n,t),0!==n&&(X(r),e.transitionEnd(r._wrapper,function(){a&&(r.loop&&"slide"===t.controlBy&&q(r,e),K(r,e))}))}var s,a=t.control;if(Array.isArray(a))for(s=0;s<a.length;s++)a[s]!==r&&o(a[s]);else r!==a&&o(a)}},wt=n(660),St={fade:{setTranslate:function(t){for(var e=0;e<t._slides.length;e++){var n=t._slides[e],r=-n.swiperSlideOffset;t.virtualTranslate||(r-=t._translate);var i=0;m(t)||(i=r,r=0);var o=t.fade.crossFade?Math.max(1-Math.abs(n.progress),0):1+Math.min(Math.max(n.progress,-1),0);n.style.opacity=o,c(n,"translate3d("+r+"px, "+i+"px, 0px)")}},setTransition:function(t,e,n){for(var r=t._slides,i=0;i<r.length;i++)d(r[i],n);if(t.virtualTranslate&&0!==n)for(var o=!1,s=0;s<r.length;s++)e.transitionEnd(r[s],function(){!o&&t&&(o=!0,t._animating=!1,h(e,t._wrapper))})}},flip:{setTranslate:function(t,e){for(var n=0;n<t._slides.length;n++){var r=t._slides[n],i=r.progress;t.flip.limitRotation&&(i=Math.max(Math.min(r.progress,1),-1));var o=-180*i,s=0,a=-r.swiperSlideOffset,u=0;if(m(t)?t._rtl&&(o=-o):(u=a,a=0,s=-o,o=0),r.style.zIndex=-Math.abs(Math.round(i))+t._slides.length,t.flip.slideShadows){var l=m(t)?r.querySelector(".swiper-slide-shadow-left"):r.querySelector(".swiper-slide-shadow-top"),d=m(t)?r.querySelector(".swiper-slide-shadow-right"):r.querySelector(".swiper-slide-shadow-bottom");l||((l=e.doc().createElement("div")).className="swiper-slide-shadow-"+(m(t)?"left":"top"),r.appendChild(l)),d||((d=e.doc().createElement("div")).className="swiper-slide-shadow-"+(m(t)?"right":"bottom"),r.appendChild(d)),l&&(l.style.opacity=Math.max(-i,0)),d&&(d.style.opacity=Math.max(i,0))}c(r,"translate3d("+a+"px, "+u+"px, 0px) rotateX("+s+"deg) rotateY("+o+"deg)")}},setTransition:function(t,e,n){for(var r=0;r<t._slides.length;r++){var i=t._slides[r];d(i,n),l(i,".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left",function(t){d(t,n)})}if(t.virtualTranslate&&0!==n){var o=!1;e.transitionEnd(t._slides[t._activeIndex],function(n){!o&&t&&n.target.classList.contains(yt.slideActive)&&(o=!0,t._animating=!1,h(e,t._wrapper))})}}},cube:{setTranslate:function(t,e){var n,r=0;t.cube.shadow&&(m(t)?((n=t._wrapper.querySelector(".swiper-cube-shadow"))||((n=e.doc().createElement("div")).className="swiper-cube-shadow",t._wrapper.appendChild(n)),n.style.height=t.renderedWidth+"px"):(n=t.container.querySelector(".swiper-cube-shadow"))||((n=e.doc().createElement("div")).className="swiper-cube-shadow",t._wrapper.appendChild(n)));for(var i=0;i<t._slides.length;i++){var o=t._slides[i],s=90*i,a=Math.floor(s/360);t._rtl&&(s=-s,a=Math.floor(-s/360));var u=Math.max(Math.min(o.progress,1),-1),l=0,d=0,h=0;i%4==0?(l=4*-a*t._renderedSize,h=0):(i-1)%4==0?(l=0,h=4*-a*t._renderedSize):(i-2)%4==0?(l=t._renderedSize+4*a*t._renderedSize,h=t._renderedSize):(i-3)%4==0&&(l=-t._renderedSize,h=3*t._renderedSize+4*t._renderedSize*a),t._rtl&&(l=-l),m(t)||(d=l,l=0);var f="rotateX("+(m(t)?0:-s)+"deg) rotateY("+(m(t)?s:0)+"deg) translate3d("+l+"px, "+d+"px, "+h+"px)";if(u<=1&&u>-1&&(r=90*i+90*u,t._rtl&&(r=90*-i-90*u)),c(o,f),t.cube.slideShadows){var p=m(t)?o.querySelector(".swiper-slide-shadow-left"):o.querySelector(".swiper-slide-shadow-top"),_=m(t)?o.querySelector(".swiper-slide-shadow-right"):o.querySelector(".swiper-slide-shadow-bottom");p||((p=e.doc().createElement("div")).className="swiper-slide-shadow-"+(m(t)?"left":"top"),o.appendChild(p)),_||((_=e.doc().createElement("div")).className="swiper-slide-shadow-"+(m(t)?"right":"bottom"),o.appendChild(_)),p&&(p.style.opacity=Math.max(-u,0)),_&&(_.style.opacity=Math.max(u,0))}}if(t._wrapper.style.transformOrigin=t._wrapper.style.webkitTransformOrigin="50% 50% -"+t._renderedSize/2+"px",t.cube.shadow)if(m(t))c(n,"translate3d(0px, "+(t.renderedWidth/2+t.cube.shadowOffset)+"px, "+-t.renderedWidth/2+"px) rotateX(90deg) rotateZ(0deg) scale("+t.cube.shadowScale+")");else{var g=Math.abs(r)-90*Math.floor(Math.abs(r)/90),v=1.5-(Math.sin(2*g*Math.PI/360)/2+Math.cos(2*g*Math.PI/360)/2),y=t.cube.shadowScale/v;c(n,"scale3d("+t.cube.shadowScale+", 1, "+y+") translate3d(0px, "+(t.renderedHeight/2+t.cube.shadowOffset)+"px, "+-t.renderedHeight/2/y+"px) rotateX(-90deg)")}var b=Object(wt.e)(e)||Object(wt.d)(e)?-t._renderedSize/2:0;c(t._wrapper,"translate3d(0px,0,"+b+"px) rotateX("+(m(t)?0:r)+"deg) rotateY("+(m(t)?-r:0)+"deg)")},setTransition:function(t,e,n){for(var r=0;r<t._slides.length;r++){var i=t._slides[r];d(i,n),l(i,".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left",function(t){d(t,n)})}t.cube.shadow&&!m(t)&&l(t.container,".swiper-cube-shadow",function(t){d(t,n)})}},coverflow:{setTranslate:function(t,e){for(var n=t._translate,r=m(t)?t.renderedWidth/2-n:t.renderedHeight/2-n,i=m(t)?t.coverflow.rotate:-t.coverflow.rotate,o=t.coverflow.depth,s=0,a=t._slides.length;s<a;s++){var u=t._slides[s],l=t._slidesSizesGrid[s],d=(r-u.swiperSlideOffset-l/2)/l*t.coverflow.modifier,h=m(t)?i*d:0,f=m(t)?0:i*d,p=-o*Math.abs(d),_=m(t)?0:t.coverflow.stretch*d,g=m(t)?t.coverflow.stretch*d:0;Math.abs(g)<.001&&(g=0),Math.abs(_)<.001&&(_=0),Math.abs(p)<.001&&(p=0),Math.abs(h)<.001&&(h=0),Math.abs(f)<.001&&(f=0);if(c(u,"translate3d("+g+"px,"+_+"px,"+p+"px)  rotateX("+f+"deg) rotateY("+h+"deg)"),u.style.zIndex=1-Math.abs(Math.round(d)),t.coverflow.slideShadows){var v=m(t)?u.querySelector(".swiper-slide-shadow-left"):u.querySelector(".swiper-slide-shadow-top"),y=m(t)?u.querySelector(".swiper-slide-shadow-right"):u.querySelector(".swiper-slide-shadow-bottom");v||((v=e.doc().createElement("div")).className="swiper-slide-shadow-"+(m(t)?"left":"top"),u.appendChild(v)),y||((y=e.doc().createElement("div")).className="swiper-slide-shadow-"+(m(t)?"right":"bottom"),u.appendChild(y)),v&&(v.style.opacity=d>0?d:0),y&&(y.style.opacity=-d>0?-d:0)}}},setTransition:function(t,e,n){for(var r=0;r<t._slides.length;r++){var i=t._slides[r];d(i,n),l(i,".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left",function(t){d(t,n)})}}}},Tt=n(26),Et=n(11),Mt=Date.now(),xt=[];n(16),n(18);n.d(e,"a",function(){return Ot});var Ct=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Ot=function(t){function e(e,n,r,i,o,s){var a=t.call(this,e,o,s,"slides")||this;if(a._plt=n,a._control=null,a._effectName="slide",a._direction="horizontal",a._initialSlide=0,a._isLoop=!1,a._pager=!1,a._paginationType="bullets",a.paginationBulletRender=null,a._isParallax=!1,a._speedMs=300,a._isZoom=!1,a.virtualTranslate=!1,a.roundLengths=!1,a._spaceBetween=0,a._slidesPerView=1,a._centeredSlides=!1,a.slidesPerColumn=1,a.slidesPerColumnFill="column",a.slidesPerGroup=1,a.slidesOffsetBefore=0,a.slidesOffsetAfter=0,a.autoplayDisableOnInteraction=!0,a.autoplayStopOnLast=!1,a.freeMode=!1,a.freeModeMomentum=!0,a.freeModeMomentumRatio=1,a.freeModeMomentumBounce=!0,a.freeModeMomentumBounceRatio=1,a.freeModeMomentumVelocityRatio=1,a.freeModeSticky=!1,a.freeModeMinimumVelocity=.02,a.autoHeight=!1,a.setWrapperSize=!1,a.zoomMax=3,a.zoomMin=1,a.zoomToggle=!0,a.touchRatio=1,a.touchAngle=45,a.simulateTouch=!0,a.shortSwipes=!0,a.longSwipes=!0,a.longSwipesRatio=.5,a.longSwipesMs=300,a.followFinger=!0,a.onlyExternal=!1,a.threshold=0,a.touchMoveStopPropagation=!0,a.touchReleaseOnEdges=!1,a.iOSEdgeSwipeDetection=!1,a.iOSEdgeSwipeThreshold=20,a.paginationClickable=!1,a.paginationHide=!1,a.resistance=!0,a.resistanceRatio=.85,a.watchSlidesProgress=!1,a.watchSlidesVisibility=!1,a.preventClicks=!0,a.preventClicksPropagation=!0,a.slideToClickedSlide=!1,a.loopAdditionalSlides=0,a.loopedSlides=null,a.swipeHandler=null,a.noSwiping=!0,a.runCallbacksOnInit=!0,a.controlBy="slide",a.controlInverse=!1,a.keyboardControl=!0,a.coverflow={rotate:50,stretch:0,depth:100,modifier:1,slideShadows:!0},a.flip={slideShadows:!0,limitRotation:!0},a.cube={slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94},a.fade={crossFade:!1},a.prevSlideMessage="Previous slide",a.nextSlideMessage="Next slide",a.firstSlideMessage="This is the first slide",a.lastSlideMessage="This is the last slide",a.ionSlideWillChange=new gt.EventEmitter,a.ionSlideDidChange=new gt.EventEmitter,a.ionSlideDrag=new gt.EventEmitter,a.ionSlideReachStart=new gt.EventEmitter,a.ionSlideReachEnd=new gt.EventEmitter,a.ionSlideAutoplay=new gt.EventEmitter,a.ionSlideAutoplayStart=new gt.EventEmitter,a.ionSlideAutoplayStop=new gt.EventEmitter,a.ionSlideNextStart=new gt.EventEmitter,a.ionSlidePrevStart=new gt.EventEmitter,a.ionSlideNextEnd=new gt.EventEmitter,a.ionSlidePrevEnd=new gt.EventEmitter,a.ionSlideTap=new gt.EventEmitter,a.ionSlideDoubleTap=new gt.EventEmitter,a.ionSlideProgress=new gt.EventEmitter,a.ionSlideTransitionStart=new gt.EventEmitter,a.ionSlideTransitionEnd=new gt.EventEmitter,a.ionSlideTouchStart=new gt.EventEmitter,a.ionSlideTouchEnd=new gt.EventEmitter,a._unregs=[],a._allowSwipeToNext=!0,a._allowSwipeToPrev=!0,a._zone=r,a.id=++Dt,a.slideId="slides-"+a.id,a.setElementClass(a.slideId,!0),i)var u=i.readReady.subscribe(function(){u.unsubscribe(),a._initSlides()});return a}return Ct(e,t),Object.defineProperty(e.prototype,"autoplay",{get:function(){return this._autoplayMs},set:function(t){this._autoplayMs=parseInt(t,10)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"control",{get:function(){return this._control},set:function(t){(t instanceof e||Array.isArray(t))&&(this._control=t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"effect",{get:function(){return this._effectName},set:function(t){St[t]&&(this._effectName=t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"direction",{get:function(){return this._direction},set:function(t){"horizontal"!==t&&"vertical"!==t||(this._direction=t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"initialSlide",{get:function(){return this._initialSlide},set:function(t){this._initialSlide=parseInt(t,10)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"loop",{get:function(){return this._isLoop},set:function(t){this._isLoop=Object(Et.o)(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pager",{get:function(){return this._pager},set:function(t){this._pager=Object(Et.o)(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dir",{set:function(t){this._rtl="rtl"===t.toLowerCase()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"paginationType",{get:function(){return this._paginationType},set:function(t){"bullets"!==t&&"fraction"!==t&&"progress"!==t||(this._paginationType=t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"parallax",{get:function(){return this._isParallax},set:function(t){this._isParallax=Object(Et.o)(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"speed",{get:function(){return this._speedMs},set:function(t){this._speedMs=parseInt(t,10)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"zoom",{get:function(){return this._isZoom},set:function(t){this._isZoom=Object(Et.o)(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"spaceBetween",{get:function(){return this._spaceBetween},set:function(t){this._spaceBetween=parseInt(t,10)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"slidesPerView",{get:function(){return this._slidesPerView},set:function(t){this._slidesPerView="auto"===t?"auto":parseFloat(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"centeredSlides",{get:function(){return this._centeredSlides},set:function(t){this._centeredSlides=Object(Et.o)(t)},enumerable:!0,configurable:!0}),e.prototype._initSlides=function(){if(!this._init){var t=this._plt;this.container=this.getNativeElement().children[0],Y(this,t),this._unregs.push(tt(this,t)),this.zoom&&this._unregs.push(function(t,e){return t._supportGestures="ongesturestart"in e.win(),t._zoom={scale:1,currentScale:1,isScaling:!1,gesture:{slide:void 0,slideWidth:void 0,slideHeight:void 0,image:void 0,imageWrap:void 0,zoomMax:t.zoomMax},image:{isTouched:void 0,isMoved:void 0,currentX:void 0,currentY:void 0,minX:void 0,minY:void 0,maxX:void 0,maxY:void 0,width:void 0,height:void 0,startX:void 0,startY:void 0,touchesStart:{},touchesCurrent:{}},velocity:{x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0},unRegs:[]},N(t,e),function(){j(t)}}(this,t)),this.keyboardControl&&this.enableKeyboardControl(!0),this._init=!0}},e.prototype.ngAfterContentInit=function(){var t=this;this._plt.timeout(function(){t._initSlides()},300)},e.prototype.update=function(t){var e=this;void 0===t&&(t=300),this._init&&(this._plt.cancelTimeout(this._tmr),this._tmr=this._plt.timeout(function(){!function(t,e,n){function r(){i=Math.min(Math.max(t._translate,v(t)),g(t)),O(t,e,i),x(t),M(t)}if(t){W(t,e),U(t,e),w(t),E(t),M(t),t.zoom&&N(t,e);var i;n?(t._spline&&(t._spline=void 0),t.freeMode?(r(),t.autoHeight&&z(t)):G(t,e,("auto"===t.slidesPerView||t.slidesPerView>1)&&t._isEnd&&!t.centeredSlides?t._slides.length-1:t._activeIndex,0,!1,!0)||r()):t.autoHeight&&z(t)}}(e,e._plt),e.length()>10&&(e.paginationType=void 0)},t))},e.prototype.resize=function(){},e.prototype.slideTo=function(t,e,n){G(this,this._plt,t,e,n)},e.prototype.slideNext=function(t,e){Z(this,this._plt,e,t,!0)},e.prototype.slidePrev=function(t,e){$(this,this._plt,e,t,!0)},e.prototype.getActiveIndex=function(){return this._activeIndex},e.prototype.getPreviousIndex=function(){return this._previousIndex},e.prototype.length=function(){return this._slides.length},e.prototype.isEnd=function(){return this._isEnd},e.prototype.isBeginning=function(){return this._isBeginning},e.prototype.startAutoplay=function(){H(this,this._plt)},e.prototype.stopAutoplay=function(){B(this)},e.prototype.lockSwipeToNext=function(t){this._allowSwipeToNext=!t},e.prototype.lockSwipeToPrev=function(t){this._allowSwipeToPrev=!t},e.prototype.lockSwipes=function(t){this._allowSwipeToNext=this._allowSwipeToPrev=!t},e.prototype.enableKeyboardControl=function(t){Q(this,this._plt,t)},e.prototype.ngOnDestroy=function(){this._init=!1,this._unregs.forEach(function(t){t()}),this._unregs.length=0,J(this),this.enableKeyboardControl(!1)},e}(Tt.a),Dt=-1},function(t,e,n){"use strict";n.d(e,"a",function(){return o});var r=n(1),i=n(11),o=function(){function t(){this.isActive=!1,this._disabled=!1,this.ionSelect=new r.EventEmitter}return Object.defineProperty(t.prototype,"disabled",{get:function(){return this._disabled},set:function(t){this._disabled=Object(i.o)(t)},enumerable:!0,configurable:!0}),t.prototype.onClick=function(){this.ionSelect.emit(this)},t.prototype.ngOnInit=function(){Object(i.l)(this.value)||console.warn('<ion-segment-button> requires a "value" attribute')},t}()},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=(n(131),n(227),0);e.RecaptchaComponent=function(){function t(t,e,n,o){this.elementRef=t,this.loader=e,this.zone=n,this.id="ngrecaptcha-"+i++,this.resolved=new r.EventEmitter,o&&(this.siteKey=o.siteKey,this.theme=o.theme,this.type=o.type,this.size=o.size,this.badge=o.badge)}return t.prototype.ngAfterViewInit=function(){var t=this;this.subscription=this.loader.ready.subscribe(function(e){null!=e&&e.render instanceof Function&&(t.grecaptcha=e,t.renderRecaptcha())})},t.prototype.ngOnDestroy=function(){this.grecaptchaReset(),this.subscription&&this.subscription.unsubscribe()},t.prototype.execute=function(){"invisible"===this.size&&(null!=this.widget?this.grecaptcha.execute(this.widget):this.executeRequested=!0)},t.prototype.reset=function(){null!=this.widget&&(this.grecaptcha.getResponse(this.widget)&&this.resolved.emit(null),this.grecaptchaReset())},t.prototype.expired=function(){this.resolved.emit(null)},t.prototype.captchaResponseCallback=function(t){this.resolved.emit(t)},t.prototype.grecaptchaReset=function(){var t=this;null!=this.widget&&this.zone.runOutsideAngular(function(){return t.grecaptcha.reset(t.widget)})},t.prototype.renderRecaptcha=function(){var t=this;this.widget=this.grecaptcha.render(this.elementRef.nativeElement,{badge:this.badge,callback:function(e){t.zone.run(function(){return t.captchaResponseCallback(e)})},"expired-callback":function(){t.zone.run(function(){return t.expired()})},sitekey:this.siteKey,size:this.size,tabindex:this.tabIndex,theme:this.theme,type:this.type}),!0===this.executeRequested&&(this.executeRequested=!1,this.execute())},t.decorators=[{type:r.Component,args:[{exportAs:"reCaptcha",selector:"re-captcha",template:""}]}],t.propDecorators={id:[{type:r.Input},{type:r.HostBinding,args:["attr.id"]}],siteKey:[{type:r.Input}],theme:[{type:r.Input}],type:[{type:r.Input}],size:[{type:r.Input}],tabIndex:[{type:r.Input}],badge:[{type:r.Input}],resolved:[{type:r.Output}]},t}()},,function(t,e,n){"use strict";n.d(e,"a",function(){return i});n(6);var r=n(649),i=function(){function t(t,e){this._app=t,this.config=e}return t.prototype.create=function(t){return void 0===t&&(t={}),new r.a(this._app,t,this.config)},t}()},,function(t,e,n){"use strict";n.d(e,"a",function(){return o});var r=n(0),i=n(73),o=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r.__extends)(e,t),e.prototype.copy=function(t){},e.prototype.paste=function(){},Object(r.__decorate)([Object(i.a)(),Object(r.__metadata)("design:type",Function),Object(r.__metadata)("design:paramtypes",[String]),Object(r.__metadata)("design:returntype",Promise)],e.prototype,"copy",null),Object(r.__decorate)([Object(i.a)(),Object(r.__metadata)("design:type",Function),Object(r.__metadata)("design:paramtypes",[]),Object(r.__metadata)("design:returntype",Promise)],e.prototype,"paste",null),e=Object(r.__decorate)([Object(i.g)({pluginName:"Clipboard",plugin:"cordova-clipboard",pluginRef:"cordova.plugins.clipboard",repo:"https://github.com/ihadeed/cordova-clipboard",platforms:["Android","iOS","Windows Phone 8"]})],e)}(i.f)},,,function(t,e,n){"use strict";n.d(e,"a",function(){return o});var r=n(1),i=(n(16),n(11)),o=function(){function t(t,e){this._elementRef=t,this._plt=e,this.ionSwipe=new r.EventEmitter}return t.prototype.isRightSide=function(){return Object(i.m)(this.side,this._plt.isRTL,!0)},t.prototype.width=function(){return this._elementRef.nativeElement.offsetWidth},t}()},,,,function(t,e,n){"use strict";n.d(e,"a",function(){return i});n(6);var r=n(670),i=function(){function t(t,e){this._app=t,this.config=e}return t.prototype.create=function(t){return void 0===t&&(t={}),new r.a(this._app,t,this.config)},t}()},function(t,e,n){"use strict";var r=n(97);e.of=r.ArrayObservable.of},function(t,e,n){"use strict";n.d(e,"a",function(){return r});n(63);var r=function(){function t(t){this._nav=t,t||console.error("navPop must be within a NavController")}return t.prototype.onClick=function(){return!this._nav||(this._nav.pop().catch(function(){}),!1)},t}()},function(t,e,n){"use strict";n(500),n(504),n(276),n(277);var r=n(2),i=n(38),o=function(){return function(t,e,n){void 0===n&&(n=!1),this.source=t,this.innerArgs=e,this.force=n}}(),s=n(1),a=function(){function t(t,e){this.attachFn=t,this.detachFn=e,this.isAttached=!1,this.onInterrupt=new s.EventEmitter}return t.prototype.attach=function(){var t=this;!0!==Zone.current.get("isAngularZone")?(!this.isAttached&&this.attachFn&&this.attachFn(this),this.isAttached=!0):Zone.current.parent.run(function(){return t.attach()})},t.prototype.detach=function(){this.isAttached&&this.detachFn&&this.detachFn(this),this.isAttached=!1},t}(),u=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),l=500,c=function(t){function e(e,n,s){var a=t.call(this,null,null)||this;a.target=e,a.events=n,a.eventSubscription=new i.Subscription,"number"==typeof s&&(s={throttleDelay:s,passive:!1}),void 0!==(s=s||{throttleDelay:l,passive:!1}).throttleDelay&&null!==s.throttleDelay||(s.throttleDelay=l),a.throttleDelay=s.throttleDelay,a.passive=!!s.passive;var u=a.passive?{passive:!0}:null,c=n.split(" ").map(function(t){return r.Observable.fromEvent(e,t,u)});a.eventSrc=r.Observable.merge.apply(r.Observable,c),a.eventSrc=a.eventSrc.filter(function(t){return!a.filterEvent(t)}),a.throttleDelay>0&&(a.eventSrc=a.eventSrc.throttleTime(a.throttleDelay));var d=function(t){return a.onInterrupt.emit(new o(a,t))};return a.attachFn=function(){return a.eventSubscription=a.eventSrc.subscribe(d)},a.detachFn=function(){return a.eventSubscription.unsubscribe()},a}return u(e,t),e.prototype.filterEvent=function(t){return!1},Object.defineProperty(e.prototype,"options",{get:function(){return{throttleDelay:this.throttleDelay,passive:this.passive}},enumerable:!0,configurable:!0}),e}(a),d=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),h=function(t){function e(e,n){return t.call(this,document.documentElement,e,n)||this}return d(e,t),e.prototype.filterEvent=function(t){return!("mousemove"!==t.type||!(t.originalEvent&&0===t.originalEvent.movementX&&0===t.originalEvent.movementY||void 0!==t.movementX&&!t.movementX)&&t.movementY)},e}(c),f=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),p=function(t){function e(e,n){return t.call(this,window,e,n)||this}return f(e,t),e}(c),m=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),_=function(t){function e(e){return void 0===e&&(e=500),t.call(this,"storage",e)||this}return m(e,t),e.prototype.filterEvent=function(t){return!(t.key.indexOf("ng2Idle.")>=0&&t.key.indexOf(".expiry")>=0)},e}(p),g=n(182),v=n(325),y=n(126),b=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),w=function(t){function e(){var e=t.call(this)||this;return e.lastValue=null,e}return b(e,t),e.prototype.last=function(t){return void 0!==t&&(this.lastValue=t),this.lastValue},e}(y.a),S=n(216),T=n(215),E=n(671);n.d(e,"a",function(){return M}),n.d(e,!1,function(){}),n.d(e,!1,function(){return g.a}),n.d(e,!1,function(){return o}),n.d(e,!1,function(){return a}),n.d(e,!1,function(){return c}),n.d(e,!1,function(){return h}),n.d(e,!1,function(){return p}),n.d(e,!1,function(){return _}),n.d(e,"b",function(){return v.a}),n.d(e,!1,function(){return y.a}),n.d(e,!1,function(){return w}),n.d(e,!1,function(){return S.a}),n.d(e,!1,function(){return T.a}),n.d(e,!1,function(){return E.a});var M=function(t){return[new h("mousemove keydown DOMMouseScroll mousewheel mousedown touchstart touchmove scroll",t),new _]}()},function(t,e,n){"use strict";function r(t){return t?1===t.length?t[0]:function(e){return t.reduce(function(t,e){return e(t)},e)}:i.noop}var i=n(259);e.pipe=function(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];return r(t)},e.pipeFromArray=r},function(t,e,n){"use strict";e.noop=function(){}},function(t,e,n){"use strict";var r=n(0).__extends,i=n(2);e.ScalarObservable=function(t){function e(e,n){t.call(this),this.value=e,this.scheduler=n,this._isScalar=!0,n&&(this._isScalar=!1)}return r(e,t),e.create=function(t,n){return new e(t,n)},e.dispatch=function(t){var e=t.value,n=t.subscriber;t.done?n.complete():(n.next(e),n.closed||(t.done=!0,this.schedule(t)))},e.prototype._subscribe=function(t){var n=this.value,r=this.scheduler;if(r)return r.schedule(e.dispatch,0,{done:!1,value:n,subscriber:t});t.next(n),t.closed||t.complete()},e}(i.Observable)},function(t,e,n){"use strict";var r=n(0).__extends,i=n(15);e.refCount=function(){return function(t){return t.lift(new o(t))}};var o=function(){function t(t){this.connectable=t}return t.prototype.call=function(t,e){var n=this.connectable;n._refCount++;var r=new s(t,n),i=e.subscribe(r);return r.closed||(r.connection=n.connect()),i},t}(),s=function(t){function e(e,n){t.call(this,e),this.connectable=n}return r(e,t),e.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var e=t._refCount;if(e<=0)this.connection=null;else if(t._refCount=e-1,e>1)this.connection=null;else{var n=this.connection,r=t._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}else this.connection=null},e}(i.Subscriber)},function(t,e,n){"use strict";var r=n(0).__extends,i=n(48),o=n(44),s=n(24),a=n(23);e.audit=function(t){return function(e){return e.lift(new u(t))}};var u=function(){function t(t){this.durationSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new l(t,this.durationSelector))},t}(),l=function(t){function e(e,n){t.call(this,e),this.durationSelector=n,this.hasValue=!1}return r(e,t),e.prototype._next=function(t){if(this.value=t,this.hasValue=!0,!this.throttled){var e=i.tryCatch(this.durationSelector)(t);if(e===o.errorObject)this.destination.error(o.errorObject.e);else{var n=a.subscribeToResult(this,e);n.closed?this.clearThrottle():this.add(this.throttled=n)}}},e.prototype.clearThrottle=function(){var t=this.value,e=this.hasValue,n=this.throttled;n&&(this.remove(n),this.throttled=null,n.unsubscribe()),e&&(this.value=null,this.hasValue=!1,this.destination.next(t))},e.prototype.notifyNext=function(t,e,n,r){this.clearThrottle()},e.prototype.notifyComplete=function(){this.clearThrottle()},e}(s.OuterSubscriber)},function(t,e,n){"use strict";var r=n(186);e.concatAll=function(){return r.mergeAll(1)}},function(t,e,n){"use strict";var r=n(142);e.concatMap=function(t,e){return r.mergeMap(t,e,1)}},function(t,e,n){"use strict";var r=n(0).__extends,i=n(15);e.defaultIfEmpty=function(t){return void 0===t&&(t=null),function(e){return e.lift(new o(t))}};var o=function(){function t(t){this.defaultValue=t}return t.prototype.call=function(t,e){return e.subscribe(new s(t,this.defaultValue))},t}(),s=function(t){function e(e,n){t.call(this,e),this.defaultValue=n,this.isEmpty=!0}return r(e,t),e.prototype._next=function(t){this.isEmpty=!1,this.destination.next(t)},e.prototype._complete=function(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()},e}(i.Subscriber)},function(t,e,n){"use strict";var r=n(0).__extends,i=n(15),o=n(48),s=n(44);e.distinctUntilChanged=function(t,e){return function(n){return n.lift(new a(t,e))}};var a=function(){function t(t,e){this.compare=t,this.keySelector=e}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.compare,this.keySelector))},t}(),u=function(t){function e(e,n,r){t.call(this,e),this.keySelector=r,this.hasKey=!1,"function"==typeof n&&(this.compare=n)}return r(e,t),e.prototype.compare=function(t,e){return t===e},e.prototype._next=function(t){var e=t;if(this.keySelector&&(e=o.tryCatch(this.keySelector)(t))===s.errorObject)return this.destination.error(s.errorObject.e);var n=!1;if(this.hasKey){if((n=o.tryCatch(this.compare)(this.key,e))===s.errorObject)return this.destination.error(s.errorObject.e)}else this.hasKey=!0;!1===Boolean(n)&&(this.key=e,this.destination.next(t))},e}(i.Subscriber)},function(t,e,n){"use strict";var r=n(0).__extends,i=n(15);e.filter=function(t,e){return function(n){return n.lift(new o(t,e))}};var o=function(){function t(t,e){this.predicate=t,this.thisArg=e}return t.prototype.call=function(t,e){return e.subscribe(new s(t,this.predicate,this.thisArg))},t}(),s=function(t){function e(e,n,r){t.call(this,e),this.predicate=n,this.thisArg=r,this.count=0}return r(e,t),e.prototype._next=function(t){var e;try{e=this.predicate.call(this.thisArg,t,this.count++)}catch(t){return void this.destination.error(t)}e&&this.destination.next(t)},e}(i.Subscriber)},function(t,e,n){"use strict";var r=n(0).__extends,i=n(15);e.find=function(t,e){if("function"!=typeof t)throw new TypeError("predicate is not a function");return function(n){return n.lift(new o(t,n,!1,e))}};var o=function(){function t(t,e,n,r){this.predicate=t,this.source=e,this.yieldIndex=n,this.thisArg=r}return t.prototype.call=function(t,e){return e.subscribe(new s(t,this.predicate,this.source,this.yieldIndex,this.thisArg))},t}();e.FindValueOperator=o;var s=function(t){function e(e,n,r,i,o){t.call(this,e),this.predicate=n,this.source=r,this.yieldIndex=i,this.thisArg=o,this.index=0}return r(e,t),e.prototype.notifyComplete=function(t){var e=this.destination;e.next(t),e.complete()},e.prototype._next=function(t){var e=this.predicate,n=this.thisArg,r=this.index++;try{e.call(n||this,t,r,this.source)&&this.notifyComplete(this.yieldIndex?r:t)}catch(t){this.destination.error(t)}},e.prototype._complete=function(){this.notifyComplete(this.yieldIndex?-1:void 0)},e}(i.Subscriber);e.FindValueSubscriber=s},function(t,e,n){"use strict";var r=n(0).__extends,i=n(15);e.scan=function(t,e){var n=!1;return arguments.length>=2&&(n=!0),function(r){return r.lift(new o(t,e,n))}};var o=function(){function t(t,e,n){void 0===n&&(n=!1),this.accumulator=t,this.seed=e,this.hasSeed=n}return t.prototype.call=function(t,e){return e.subscribe(new s(t,this.accumulator,this.seed,this.hasSeed))},t}(),s=function(t){function e(e,n,r,i){t.call(this,e),this.accumulator=n,this._seed=r,this.hasSeed=i,this.index=0}return r(e,t),Object.defineProperty(e.prototype,"seed",{get:function(){return this._seed},set:function(t){this.hasSeed=!0,this._seed=t},enumerable:!0,configurable:!0}),e.prototype._next=function(t){if(this.hasSeed)return this._tryNext(t);this.seed=t,this.destination.next(t)},e.prototype._tryNext=function(t){var e,n=this.index++;try{e=this.accumulator(this.seed,t,n)}catch(t){this.destination.error(t)}this.seed=e,this.destination.next(e)},e}(i.Subscriber)},function(t,e,n){"use strict";var r=n(0).__extends,i=n(15),o=n(149),s=n(98);e.takeLast=function(t){return function(e){return 0===t?new s.EmptyObservable:e.lift(new a(t))}};var a=function(){function t(t){if(this.total=t,this.total<0)throw new o.ArgumentOutOfRangeError}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.total))},t}(),u=function(t){function e(e,n){t.call(this,e),this.total=n,this.ring=new Array,this.count=0}return r(e,t),e.prototype._next=function(t){var e=this.ring,n=this.total,r=this.count++;if(e.length<n)e.push(t);else{e[r%n]=t}},e.prototype._complete=function(){var t=this.destination,e=this.count;if(e>0)for(var n=this.count>=this.total?this.total:this.count,r=this.ring,i=0;i<n;i++){var o=e++%n;t.next(r[o])}t.complete()},e}(i.Subscriber)},function(t,e,n){"use strict";var r=n(0).__extends,i=n(416),o=n(81),s=n(24),a=n(23);e.onErrorResumeNext=function(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];return 1===t.length&&o.isArray(t[0])&&(t=t[0]),function(e){return e.lift(new u(t))}},e.onErrorResumeNextStatic=function(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];var n=null;return 1===t.length&&o.isArray(t[0])&&(t=t[0]),n=t.shift(),new i.FromObservable(n,null).lift(new u(t))};var u=function(){function t(t){this.nextSources=t}return t.prototype.call=function(t,e){return e.subscribe(new l(t,this.nextSources))},t}(),l=function(t){function e(e,n){t.call(this,e),this.destination=e,this.nextSources=n}return r(e,t),e.prototype.notifyError=function(t,e){this.subscribeToNextSource()},e.prototype.notifyComplete=function(t){this.subscribeToNextSource()},e.prototype._error=function(t){this.subscribeToNextSource()},e.prototype._complete=function(){this.subscribeToNextSource()},e.prototype.subscribeToNextSource=function(){var t=this.nextSources.shift();t?this.add(a.subscribeToResult(this,t)):this.destination.complete()},e}(s.OuterSubscriber)},function(t,e,n){"use strict";var r=n(0).__extends,i=n(81),o=n(97),s=n(24),a=n(23);e.race=function(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];if(1===t.length){if(!i.isArray(t[0]))return t[0];t=t[0]}return new o.ArrayObservable(t).lift(new u)};var u=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new l(t))},t}();e.RaceOperator=u;var l=function(t){function e(e){t.call(this,e),this.hasFirst=!1,this.observables=[],this.subscriptions=[]}return r(e,t),e.prototype._next=function(t){this.observables.push(t)},e.prototype._complete=function(){var t=this.observables,e=t.length;if(0===e)this.destination.complete();else{for(var n=0;n<e&&!this.hasFirst;n++){var r=t[n],i=a.subscribeToResult(this,r,r,n);this.subscriptions&&this.subscriptions.push(i),this.add(i)}this.observables=null}},e.prototype.notifyNext=function(t,e,n,r,i){if(!this.hasFirst){this.hasFirst=!0;for(var o=0;o<this.subscriptions.length;o++)if(o!==n){var s=this.subscriptions[o];s.unsubscribe(),this.remove(s)}this.subscriptions=null}this.destination.next(e)},e}(s.OuterSubscriber);e.RaceSubscriber=l},function(t,e,n){"use strict";var r=n(0).__extends,i=n(24),o=n(23);e.switchMap=function(t,e){return function(n){return n.lift(new s(t,e))}};var s=function(){function t(t,e){this.project=t,this.resultSelector=e}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.project,this.resultSelector))},t}(),a=function(t){function e(e,n,r){t.call(this,e),this.project=n,this.resultSelector=r,this.index=0}return r(e,t),e.prototype._next=function(t){var e,n=this.index++;try{e=this.project(t,n)}catch(t){return void this.destination.error(t)}this._innerSub(e,t,n)},e.prototype._innerSub=function(t,e,n){var r=this.innerSubscription;r&&r.unsubscribe(),this.add(this.innerSubscription=o.subscribeToResult(this,t,e,n))},e.prototype._complete=function(){var e=this.innerSubscription;e&&!e.closed||t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){this.innerSubscription=null},e.prototype.notifyComplete=function(e){this.remove(e),this.innerSubscription=null,this.isStopped&&t.prototype._complete.call(this)},e.prototype.notifyNext=function(t,e,n,r,i){this.resultSelector?this._tryNotifyNext(t,e,n,r):this.destination.next(e)},e.prototype._tryNotifyNext=function(t,e,n,r){var i;try{i=this.resultSelector(t,e,n,r)}catch(t){return void this.destination.error(t)}this.destination.next(i)},e}(i.OuterSubscriber)},function(t,e,n){"use strict";var r=n(34),i=n(150);e.timestamp=function(t){return void 0===t&&(t=r.async),i.map(function(e){return new o(e,t.now())})};var o=function(){return function(t,e){this.value=t,this.timestamp=e}}();e.Timestamp=o},function(t,e,n){"use strict";var r=n(150);e.map=function(t,e){return r.map(t,e)(this)}},function(t,e,n){"use strict";var r=n(2),i=n(931);r.Observable.fromEvent=i.fromEvent},function(t,e,n){"use strict";var r=n(2),i=n(121);r.Observable.merge=i.merge},function(t,e,n){"use strict";var r=n(2),i=n(275);r.Observable.prototype.map=i.map},function(t,e,n){"use strict";var r=n(2),i=n(1173);r.Observable.prototype.takeUntil=i.takeUntil},function(t,e,n){"use strict";n.d(e,"a",function(){return o});n(6),n(53),n(30),n(25);var r=n(196),i=(n(16),n(101),this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}()),o=function(t){function e(e,n,r,i,o,s,a,u,l,c,d,h,f){var p=t.call(this,null,e,n,r,i,o,s,a,u,l,c,h,f)||this;return p._isPortal=!0,p._init=!0,p.setViewport(d),e.viewDidLeave.subscribe(function(t){t.isOverlay||p.dismissPageChangeViews()}),p}return i(e,t),Object.defineProperty(e.prototype,"_overlayPortal",{set:function(t){this._zIndexOffset=t||0},enumerable:!0,configurable:!0}),e.prototype.ngOnDestroy=function(){this.destroy()},e.prototype.getType=function(){return"portal"},e.prototype.getSecondaryIdentifier=function(){return null},e}(r.a)},function(t,e,n){"use strict";n.d(e,"a",function(){return a});var r=n(634),i=n(11),o=n(49),s=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),a=function(t){function e(e,n,r){void 0===r&&(r={});var o=this;return Object(i.d)(r,{edge:"start",maxEdgeStart:50}),(o=t.call(this,e,n,r)||this).setEdges(r.edge),o.maxEdgeStart=r.maxEdgeStart,o}return s(e,t),e.prototype.setEdges=function(t){var e=this.plt.isRTL;this.edges=t.split(" ").map(function(t){switch(t){case"start":return e?"right":"left";case"end":return e?"left":"right";default:return t}})},e.prototype.canStart=function(t){var e=this,n=Object(o.f)(t);return this._d=this.getContainerDimensions(),this.edges.every(function(t){return e._checkEdge(t,n)})},e.prototype.getContainerDimensions=function(){var t=this.plt;return{left:0,top:0,width:t.width(),height:t.height()}},e.prototype._checkEdge=function(t,e){var n=this._d,r=this.maxEdgeStart;switch(t){case"left":return e.x<=n.left+r;case"right":return e.x>=n.width-r;case"top":return e.y<=n.top+r;case"bottom":return e.y>=n.height-r}return!1},e}(r.a)},function(t,e,n){"use strict";var r=n(198),i=n(61),o=n(112),s=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return s(e,t),e.prototype.init=function(){var t=this.enteringView.pageRef().nativeElement,e=new i.a(this.plt,t.querySelector("ion-backdrop")),n=new i.a(this.plt,t.querySelector(".action-sheet-wrapper"));e.fromTo("opacity",.01,.4),n.fromTo("translateY","100%","0%"),this.easing("cubic-bezier(.36,.66,.04,1)").duration(400).add(e).add(n)},e}(o.a),u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return s(e,t),e.prototype.init=function(){var t=this.leavingView.pageRef().nativeElement,e=new i.a(this.plt,t.querySelector("ion-backdrop")),n=new i.a(this.plt,t.querySelector(".action-sheet-wrapper"));e.fromTo("opacity",.4,0),n.fromTo("translateY","0%","100%"),this.easing("cubic-bezier(.36,.66,.04,1)").duration(300).add(e).add(n)},e}(o.a),l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return s(e,t),e.prototype.init=function(){var t=this.enteringView.pageRef().nativeElement,e=new i.a(this.plt,t.querySelector("ion-backdrop")),n=new i.a(this.plt,t.querySelector(".action-sheet-wrapper"));e.fromTo("opacity",.01,.26),n.fromTo("translateY","100%","0%"),this.easing("cubic-bezier(.36,.66,.04,1)").duration(400).add(e).add(n)},e}(o.a),c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return s(e,t),e.prototype.init=function(){var t=this.leavingView.pageRef().nativeElement,e=new i.a(this.plt,t.querySelector("ion-backdrop")),n=new i.a(this.plt,t.querySelector(".action-sheet-wrapper"));e.fromTo("opacity",.26,0),n.fromTo("translateY","0%","100%"),this.easing("cubic-bezier(.36,.66,.04,1)").duration(450).add(e).add(n)},e}(o.a),d=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return s(e,t),e.prototype.init=function(){var t=this.enteringView.pageRef().nativeElement,e=new i.a(this.plt,t.querySelector("ion-backdrop")),n=new i.a(this.plt,t.querySelector(".action-sheet-wrapper"));e.fromTo("opacity",.01,.16),n.fromTo("translateY","100%","0%"),this.easing("cubic-bezier(.36,.66,.04,1)").duration(400).add(e).add(n)},e}(o.a),h=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return s(e,t),e.prototype.init=function(){var t=this.leavingView.pageRef().nativeElement,e=new i.a(this.plt,t.querySelector("ion-backdrop")),n=new i.a(this.plt,t.querySelector(".action-sheet-wrapper"));e.fromTo("opacity",.1,0),n.fromTo("translateY","0%","100%"),this.easing("cubic-bezier(.36,.66,.04,1)").duration(450).add(e).add(n)},e}(o.a),f=n(11),p=n(18);n.d(e,"a",function(){return _});var m=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),_=function(t){function e(e,n,i){var o=this;return n.buttons=n.buttons||[],n.enableBackdropDismiss=!Object(f.l)(n.enableBackdropDismiss)||!!n.enableBackdropDismiss,o=t.call(this,r.a,n,null)||this,o._app=e,o.isOverlay=!0,i.setTransition("action-sheet-slide-in",a),i.setTransition("action-sheet-slide-out",u),i.setTransition("action-sheet-md-slide-in",l),i.setTransition("action-sheet-md-slide-out",c),i.setTransition("action-sheet-wp-slide-in",d),i.setTransition("action-sheet-wp-slide-out",h),o}return m(e,t),e.prototype.getTransitionName=function(t){return this._nav&&this._nav.config.get("actionSheet"+("back"===t?"Leave":"Enter"))},e.prototype.setTitle=function(t){return this.data.title=t,this},e.prototype.setSubTitle=function(t){return this.data.subTitle=t,this},e.prototype.addButton=function(t){return this.data.buttons.push(t),this},e.prototype.present=function(t){return void 0===t&&(t={}),t.minClickBlockDuration=t.minClickBlockDuration||400,this._app.present(this,t)},e}(p.a)},function(t,e,n){"use strict";n.d(e,"a",function(){return i});var r=n(282),i=(n(6),function(){function t(t,e){this._app=t,this.config=e}return t.prototype.create=function(t){return void 0===t&&(t={}),new r.a(this._app,t,this.config)},t}())},function(t,e,n){"use strict";var r=n(199),i=n(61),o=n(112),s=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return s(e,t),e.prototype.init=function(){var t=this.enteringView.pageRef().nativeElement,e=new i.a(this.plt,t.querySelector("ion-backdrop")),n=new i.a(this.plt,t.querySelector(".alert-wrapper"));n.fromTo("opacity",.01,1).fromTo("scale",1.1,1),e.fromTo("opacity",.01,.3),this.easing("ease-in-out").duration(200).add(e).add(n)},e}(o.a),u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return s(e,t),e.prototype.init=function(){var t=this.leavingView.pageRef().nativeElement,e=new i.a(this.plt,t.querySelector("ion-backdrop")),n=new i.a(this.plt,t.querySelector(".alert-wrapper"));n.fromTo("opacity",.99,0).fromTo("scale",1,.9),e.fromTo("opacity",.3,0),this.easing("ease-in-out").duration(200).add(e).add(n)},e}(o.a),l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return s(e,t),e.prototype.init=function(){var t=this.enteringView.pageRef().nativeElement,e=new i.a(this.plt,t.querySelector("ion-backdrop")),n=new i.a(this.plt,t.querySelector(".alert-wrapper"));n.fromTo("opacity",.01,1).fromTo("scale",1.1,1),e.fromTo("opacity",.01,.5),this.easing("ease-in-out").duration(200).add(e).add(n)},e}(o.a),c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return s(e,t),e.prototype.init=function(){var t=this.leavingView.pageRef().nativeElement,e=new i.a(this.plt,t.querySelector("ion-backdrop")),n=new i.a(this.plt,t.querySelector(".alert-wrapper"));n.fromTo("opacity",.99,0).fromTo("scale",1,.9),e.fromTo("opacity",.5,0),this.easing("ease-in-out").duration(200).add(e).add(n)},e}(o.a),d=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return s(e,t),e.prototype.init=function(){var t=this.enteringView.pageRef().nativeElement,e=new i.a(this.plt,t.querySelector("ion-backdrop")),n=new i.a(this.plt,t.querySelector(".alert-wrapper"));n.fromTo("opacity",.01,1).fromTo("scale",1.3,1),e.fromTo("opacity",.01,.5),this.easing("cubic-bezier(0,0,0.05,1)").duration(200).add(e).add(n)},e}(o.a),h=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return s(e,t),e.prototype.init=function(){var t=this.leavingView.pageRef().nativeElement,e=new i.a(this.plt,t.querySelector("ion-backdrop")),n=new i.a(this.plt,t.querySelector(".alert-wrapper"));n.fromTo("opacity",.99,0).fromTo("scale",1,1.3),e.fromTo("opacity",.5,0),this.easing("ease-out").duration(150).add(e).add(n)},e}(o.a),f=n(11),p=n(18);n.d(e,"a",function(){return _});var m=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),_=function(t){function e(e,n,i){void 0===n&&(n={});var o=this;return n.inputs=n.inputs||[],n.buttons=n.buttons||[],n.enableBackdropDismiss=!Object(f.l)(n.enableBackdropDismiss)||!!n.enableBackdropDismiss,o=t.call(this,r.a,n,null)||this,o._app=e,o.isOverlay=!0,i.setTransition("alert-pop-in",a),i.setTransition("alert-pop-out",u),i.setTransition("alert-md-pop-in",l),i.setTransition("alert-md-pop-out",c),i.setTransition("alert-wp-pop-in",d),i.setTransition("alert-wp-pop-out",h),o}return m(e,t),e.prototype.getTransitionName=function(t){return this._nav&&this._nav.config.get("back"===t?"alertLeave":"alertEnter")},e.prototype.setTitle=function(t){return this.data.title=t,this},e.prototype.setSubTitle=function(t){return this.data.subTitle=t,this},e.prototype.setMessage=function(t){return this.data.message=t,this},e.prototype.addInput=function(t){return this.data.inputs.push(t),this},e.prototype.addButton=function(t){return this.data.buttons.push(t),this},e.prototype.setCssClass=function(t){return this.data.cssClass=t,this},e.prototype.setMode=function(t){this.data.mode=t},e.prototype.present=function(t){return void 0===t&&(t={}),t.minClickBlockDuration=t.minClickBlockDuration||400,this._app.present(this,t)},e}(p.a)},function(t,e,n){"use strict";n(6),n(11),n(16),n(201)},function(t,e,n){"use strict";n.d(e,"a",function(){return o});n(6);var r=n(26),i=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),o=function(t){function e(e,n,r){return t.call(this,e,n,r,"item-divider")||this}return i(e,t),e}(r.a)},function(t,e,n){"use strict";n.d(e,"a",function(){return r});var r=function(){return function(){}}()},function(t,e,n){"use strict";n(6),n(26),this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])}}()},function(t,e,n){"use strict";n.d(e,"a",function(){return i});var r=n(1),i=function(){function t(t){this._compiler=t}return t.prototype.load=function(t,e){return this._compiler instanceof r.Compiler?function(t,e){return n(654)(t).then(function(n){var r=n[e];if(!r)throw new Error("Module "+t+" does not export "+e);return r})}(t,e):function(t,e,r){return r||(r="default"),n(654)(e).then(function(n){var i=n[r];if(!i)throw new Error("Module "+e+" does not export "+r);return t.compileModuleAsync(i)})}(this._compiler,t,e)},t}()},function(t,e,n){"use strict";function r(t){this.message=t}var i=n(1211);(r.prototype=new Error).name="InvalidTokenError",t.exports=function(t,e){if("string"!=typeof t)throw new r("Invalid token specified");var n=!0===(e=e||{}).header?0:1;try{return JSON.parse(i(t.split(".")[n]))}catch(t){throw new r("Invalid token specified: "+t.message)}},t.exports.InvalidTokenError=r},,,,,,,,,,,,,,,,,,function(t,e,n){"use strict";n.d(e,"a",function(){return i}),e.b=function(t,e){return function(){return function(t,e){var n=new i,o=t.win(),s=t.doc();return t.timeout(function(){o.addEventListener("online",function(t){n.publish("app:online",t)},!1),o.addEventListener("offline",function(t){n.publish("app:offline",t)},!1),o.addEventListener("orientationchange",function(t){n.publish("app:rotated",t)}),o.addEventListener("statusTap",function(){var n=s.elementFromPoint(t.width()/2,t.height()/2);if(n){var i=n.closest(".scroll-content");if(i){var o=i.style,a=new r.a(null,t,e);a._el=i,o.WebkitBackfaceVisibility="hidden",o.WebkitTransform="translate3d(0,0,0)",e.write(function(){function e(){o.overflow="",o.WebkitBackfaceVisibility="",o.WebkitTransform=""}o.overflow="hidden";var n=t.timeout(function(){e()},400);a.scrollTo(0,0,300).then(function(){t.cancelTimeout(n),e()})})}}})},2e3),n}(t,e)}};var r=n(643),i=function(){function t(){this._channels=[]}return t.prototype.subscribe=function(t){for(var e=this,n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];this._channels[t]||(this._channels[t]=[]),n.forEach(function(n){e._channels[t].push(n)})},t.prototype.unsubscribe=function(t,e){void 0===e&&(e=null);var n=this._channels[t];if(!n)return!1;if(!e)return delete this._channels[t],!0;var r=n.indexOf(e);return!(r<0)&&(n.splice(r,1),n.length||delete this._channels[t],!0)},t.prototype.publish=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];var r=this._channels[t];if(!r)return null;var i=[];return r.forEach(function(t){i.push(t.apply(void 0,e))}),i},t}()},function(t,e,n){"use strict";n.d(e,"a",function(){return o});var r=n(46),i=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),o=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.buildHammer=function(t){var e=new window.Hammer(t);for(var n in this.overrides)e.get(n).set(this.overrides[n]);return e},e}(r.g)},function(t,e,n){"use strict";n.d(e,"a",function(){return s}),e.b=function(){return o};var r=n(1),i=n(660),o={core:{settings:{mode:"md",keyboardHeight:290}},mobile:{},phablet:{isMatch:function(t){var e=Math.min(t.width(),t.height()),n=Math.max(t.width(),t.height());return e>390&&e<520&&n>620&&n<800}},tablet:{isMatch:function(t){var e=Math.min(t.width(),t.height()),n=Math.max(t.width(),t.height());return e>460&&e<820&&n>780&&n<1400}},android:{superset:"mobile",subsets:["phablet","tablet"],settings:{activator:function(t){if(t.testNavigatorPlatform("linux")){var e=t.matchUserAgentVersion(/Chrome\/(\d+).(\d+)?/);if(e)return parseInt(e.major,10)<36||t.version().major<5?"none":"ripple";if(t.version().major<5)return"none"}return"ripple"},autoFocusAssist:"immediate",inputCloning:!0,scrollAssist:!0,hoverCSS:!1,keyboardHeight:300,mode:"md"},isMatch:function(t){return t.isPlatformMatch("android",["android","silk"],["windows phone"])},versionParser:function(t){return t.matchUserAgentVersion(/Android (\d+).(\d+)?/)}},ios:{superset:"mobile",subsets:["ipad","iphone"],settings:{autoFocusAssist:"delay",hideCaretOnScroll:!0,hoverCSS:!1,inputBlurring:i.c,inputCloning:i.c,keyboardHeight:250,mode:"ios",statusbarPadding:i.a,swipeBackEnabled:i.c,tapPolyfill:i.d,virtualScrollEventAssist:i.d,disableScrollAssist:i.c,scrollAssist:i.c,keyboardResizes:function(t){var e=t.win();return!(!e.Ionic||!0!==e.Ionic.keyboardResizes)}},isMatch:function(t){return t.isPlatformMatch("ios",["iphone","ipad","ipod"],["windows phone"])},versionParser:function(t){return t.matchUserAgentVersion(/OS (\d+)_(\d+)?/)}},ipad:{superset:"tablet",settings:{keyboardHeight:500},isMatch:function(t){return t.isPlatformMatch("ipad")}},iphone:{subsets:["phablet"],isMatch:function(t){return t.isPlatformMatch("iphone")}},windows:{superset:"mobile",subsets:["phablet","tablet"],settings:{mode:"wp",autoFocusAssist:"immediate",hoverCSS:!1},isMatch:function(t){return t.isPlatformMatch("windows",["windows phone"])},versionParser:function(t){return t.matchUserAgentVersion(/Windows Phone (\d+).(\d+)?/)}},cordova:{isEngine:!0,initialize:function(t){t.prepareReady=function(){t.windowLoad(function(e,n){n.addEventListener("deviceready",function(){n.addEventListener("backbutton",function(e){t.zone.run(function(){t.backButton.emit(e)})}),n.addEventListener("pause",function(e){t.zone.run(function(){t.pause.emit(e)})}),n.addEventListener("resume",function(e){t.zone.run(function(){t.resume.emit(e)})}),t.exitApp=function(){e.navigator.app.exitApp()},t.triggerReady("cordova")})})}},isMatch:function(t){return Object(i.a)(t)}},electron:{superset:"core",initialize:function(t){t.prepareReady=function(){t.windowLoad(function(){t.triggerReady("electron")})}},isMatch:function(t){return Object(i.b)(t)}}},s=new r.InjectionToken("PLTCONFIG")},function(t,e,n){"use strict";function r(t,e){if(!e||!e.parentNode)return!0;if(!t)return!1;if(t.defaultPrevented)return!0;for(var n=t.target,r=0;r<4&&n;r++){if(n.hasAttribute("disable-activated"))return!0;n=n.parentElement}return!1}function i(t){for(var e=t,n=0;n<10&&e;n++){if(function(t){if(p.indexOf(t.tagName)>-1)return!0;for(var e=0,n=m.length;e<n;e++)if(t.hasAttribute&&t.hasAttribute(m[e]))return!0;return!1}(e))return e;e=e.parentElement}return null}n(1);var o=function(){function t(t,e,n){this.app=t,this.dom=n,this._queue=[],this._active=[],this.activatedDelay=s,this.clearDelay=a,this._css=e.get("activatedClass","activated")}return t.prototype.clickAction=function(t,e,n){if(!r(t,e)){this._scheduleClear(),this._queue.length=0;for(var i=0;i<this._active.length;i++)this._active[i].classList.remove(this._css);this._active.length=0,e&&e.parentNode&&(this._active.push(e),e.classList.add(this._css))}},t.prototype.downAction=function(t,e,n){var i=this;r(t,e)||(this.unscheduleClear(),this.deactivate(!0),this._queue.push(e),this._activeDefer=this.dom.write(function(){i._activeDefer=null;for(var t,e=0;e<i._queue.length;e++)i._active.push(t=i._queue[e]),t.classList.add(i._css);i._queue.length=0},this.activatedDelay))},t.prototype.upAction=function(t,e,n){this._scheduleClear()},t.prototype._scheduleClear=function(){var t=this;this._clearDefer||(this._clearDefer=this.dom.write(function(){t.clearState(!0),t._clearDefer=null},this.clearDelay))},t.prototype.unscheduleClear=function(){this._clearDefer&&(this._clearDefer(),this._clearDefer=null)},t.prototype.clearState=function(t){var e=this;this.app.isEnabled()?this.deactivate(t):this.dom.write(function(){e.clearState(t)},600)},t.prototype.deactivate=function(t){this._clearDeferred(),this._queue.length=0;for(var e,n=0;n<this._active.length;n++)(e=this._active[n]).style[this.dom.plt.Css.transition]=t?"":"none",e.classList.remove(this._css);this._active.length=0},t.prototype._clearDeferred=function(){this._activeDefer&&(this._activeDefer(),this._activeDefer=null)},t}(),s=80,a=80,u=(n(27),n(6),n(30),n(25),n(16),n(49)),l=n(635),c=function(){function t(t,e,n){this.dom=n,this.highlight=new o(t,e,n)}return t.prototype.clickAction=function(t,e,n){this.highlight&&this.highlight.clickAction(t,e,n),this._clickAction(t,e,n)},t.prototype.downAction=function(t,e,n){this.highlight&&this.highlight.downAction(t,e,n),this._downAction(t,e,n)},t.prototype.upAction=function(t,e,n){this.highlight&&this.highlight.upAction(t,e,n),this._upAction(t,e,n)},t.prototype.clearState=function(t){this.highlight&&this.highlight.clearState(t)},t.prototype._downAction=function(t,e,n){if(!r(t,e))for(var i=e.childElementCount;i--;){var o=e.children[i];if(o.classList.contains("button-effect")){var s=e.getBoundingClientRect();o.$top=s.top,o.$left=s.left,o.$width=s.width,o.$height=s.height;break}}},t.prototype._upAction=function(t,e,n){if(!Object(u.d)(6,n,Object(u.f)(t)))for(var r=e.childElementCount;r--;){var i=e.children[r];if(i.classList.contains("button-effect")){this.startRippleEffect(i,e,n);break}}},t.prototype._clickAction=function(t,e,n){},t.prototype.startRippleEffect=function(t,e,n){if(n){var r=n.x-t.$left,i=n.y-t.$top,o=2*Math.max(Math.abs(t.$width-r),r),s=2*Math.max(Math.abs(t.$height-i),i),a=Math.min(Math.max(Math.hypot(o,s),64),240);e.hasAttribute("ion-item")&&(a=Math.min(a,140)),r-=a/2,i-=a/2,r=Math.round(r),i=Math.round(i),a=Math.round(a);var u=this.dom.plt.Css;t.style.opacity="",t.style[u.transform]="translate3d("+r+"px, "+i+"px, 0px) scale(0.001)",t.style[u.transition]="";var l=Math.sqrt(t.$width+t.$height),c=Math.max(1600*Math.sqrt(l/d)+.5,260),h=Math.round(.7*c),f=Math.round(c-h),p="translate3d("+r+"px, "+i+"px, 0px) scale(1)",m="transform "+(c=Math.round(c))+"ms,opacity "+h+"ms "+f+"ms";this.dom.write(function(){t.style.width=t.style.height=a+"px",t.style.opacity="0",t.style[u.transform]=p,t.style[u.transition]=m},16)}},t}(),d=300,h=n(100);n.d(e,"a",function(){return f}),e.b=function(t,e,n,r,i){return function(){return new f(t,e,n,r,i)}};var f=function(){function t(t,e,n,r,i){this.plt=e,this.app=r,this.gestureCtrl=i,this.disableClick=0,this.events=new h.a(e);var s=t.get("activator");"ripple"===s?this.activator=new c(r,t,n):"highlight"===s&&(this.activator=new o(r,t,n)),this.usePolyfill=t.getBoolean("tapPolyfill");var a=e.doc();this.events.listen(a,"click",this.click.bind(this),{passive:!1,capture:!0}),this.pointerEvents=this.events.pointerEvents({element:a,pointerDown:this.pointerStart.bind(this),pointerMove:this.pointerMove.bind(this),pointerUp:this.pointerEnd.bind(this),passive:!0}),this.pointerEvents.mouseWait=g}return t.prototype.pointerStart=function(t){return!this.startCoord&&(!!this.app.isEnabled()&&(this.lastTouchEnd=0,this.dispatchClick=!0,this.plt.doc()===t.target?(this.startCoord=Object(u.f)(t),!0):(this.activatableEle=i(t.target),this.activatableEle?(this.startCoord=Object(u.f)(t),this.activator&&this.activator.downAction(t,this.activatableEle,this.startCoord),!0):(this.startCoord=null,!1))))},t.prototype.pointerMove=function(t){this.startCoord&&this.shouldCancelEvent(t)&&this.pointerCancel(t)},t.prototype.pointerEnd=function(t,e){if(this.dispatchClick&&this.startCoord){if(this.activator&&t.target!==this.plt.doc()){var n=i(t.target)||this.activatableEle;n&&this.activator.upAction(t,n,this.startCoord)}this.usePolyfill&&e===l.a&&this.app.isEnabled()&&this.handleTapPolyfill(t),this.startCoord=null,this.activatableEle=null}},t.prototype.pointerCancel=function(t){this.startCoord=null,this.activatableEle=null,this.dispatchClick=!1,this.activator&&this.activator.clearState(!1),this.pointerEvents.stop()},t.prototype.shouldCancelEvent=function(t){return this.app.isScrolling()||this.gestureCtrl.isCaptured()||Object(u.d)(_,this.startCoord,Object(u.f)(t))},t.prototype.click=function(t){if(this.shouldCancelClick(t))return t.preventDefault(),void t.stopPropagation();if(this.activator&&this.plt.doc()!==t.target){var e=i(t.target);e&&this.activator.clickAction(t,e,this.startCoord)}},t.prototype.shouldCancelClick=function(t){if(this.usePolyfill){if(!t.isIonicTap&&this.isDisabledNativeClick())return!0}else if(!this.dispatchClick)return!0;return!this.app.isEnabled()||!!this.gestureCtrl.isCaptured()},t.prototype.profileClickDelay=function(t){if(this.lastTouchEnd){var e=Date.now()-this.lastTouchEnd;e<100||console.warn("SLOW click dispatched. Delay(ms):",e,t),this.lastTouchEnd=null}},t.prototype.handleTapPolyfill=function(t){var e=Object(u.f)(t);if(!Object(u.d)(_,this.startCoord,e))if(this.disableClick=Date.now()+g,this.app.isScrolling());else{var n=this.plt.doc().createEvent("MouseEvents");n.initMouseEvent("click",!0,!0,this.plt.win(),1,0,0,e.x,e.y,!1,!1,!1,!1,0,null),n.isIonicTap=!0,t.target.dispatchEvent(n)}},t.prototype.isDisabledNativeClick=function(){return this.disableClick>Date.now()},t}(),p=["A","BUTTON"],m=["tappable","ion-button"],_=100,g=2500},function(t,e,n){"use strict";e.a=function(t){return function(){t.setModeConfig("ios",r),t.setModeConfig("md",i),t.setModeConfig("wp",o)}};var r={activator:"highlight",actionSheetEnter:"action-sheet-slide-in",actionSheetLeave:"action-sheet-slide-out",alertEnter:"alert-pop-in",alertLeave:"alert-pop-out",backButtonText:"Back",backButtonIcon:"ios-arrow-back",iconMode:"ios",loadingEnter:"loading-pop-in",loadingLeave:"loading-pop-out",menuType:"reveal",modalEnter:"modal-slide-in",modalLeave:"modal-slide-out",pageTransition:"ios-transition",pickerEnter:"picker-slide-in",pickerLeave:"picker-slide-out",pickerRotateFactor:-.46,pickerScaleFactor:1,popoverEnter:"popover-pop-in",popoverLeave:"popover-pop-out",spinner:"ios",tabsHighlight:!1,tabsPlacement:"bottom",tabsHideOnSubPages:!1,toastEnter:"toast-slide-in",toastLeave:"toast-slide-out"},i={activator:"ripple",actionSheetEnter:"action-sheet-md-slide-in",actionSheetLeave:"action-sheet-md-slide-out",alertEnter:"alert-md-pop-in",alertLeave:"alert-md-pop-out",backButtonText:"",backButtonIcon:"md-arrow-back",iconMode:"md",loadingEnter:"loading-md-pop-in",loadingLeave:"loading-md-pop-out",menuType:"overlay",modalEnter:"modal-md-slide-in",modalLeave:"modal-md-slide-out",pageTransition:"md-transition",pickerEnter:"picker-slide-in",pickerLeave:"picker-slide-out",pickerRotateFactor:0,pickerScaleFactor:.81,popoverEnter:"popover-md-pop-in",popoverLeave:"popover-md-pop-out",spinner:"crescent",tabsHighlight:!1,tabsPlacement:"bottom",tabsHideOnSubPages:!1,toastEnter:"toast-md-slide-in",toastLeave:"toast-md-slide-out"},o={activator:"highlight",actionSheetEnter:"action-sheet-wp-slide-in",actionSheetLeave:"action-sheet-wp-slide-out",alertEnter:"alert-wp-pop-in",alertLeave:"alert-wp-pop-out",backButtonText:"",backButtonIcon:"ios-arrow-back",iconMode:"ios",loadingEnter:"loading-wp-pop-in",loadingLeave:"loading-wp-pop-out",menuType:"overlay",modalEnter:"modal-md-slide-in",modalLeave:"modal-md-slide-out",pageTransition:"wp-transition",pickerEnter:"picker-slide-in",pickerLeave:"picker-slide-out",pickerRotateFactor:0,pickerScaleFactor:.81,popoverEnter:"popover-md-pop-in",popoverLeave:"popover-md-pop-out",spinner:"circles",tabsHighlight:!1,tabsPlacement:"top",tabsHideOnSubPages:!0,toastEnter:"toast-wp-slide-in",toastLeave:"toast-wp-slide-out"}},function(t,e,n){"use strict";n.d(e,"a",function(){return i});n(6);var r=n(314),i=(n(53),function(){function t(t,e,n){this._app=t,this.config=e,this._deepLinker=n}return t.prototype.create=function(t,e,n){return void 0===e&&(e={}),void 0===n&&(n={}),new r.a(this._app,t,e,n,this.config,this._deepLinker)},t}())},function(t,e,n){"use strict";var r=n(653),i=n(11),o=n(208),s=n(61),a=n(123),u=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return u(e,t),e.prototype.mdPositionView=function(t,e){var n="top",r="left",i=t.querySelector(".popover-wrapper"),o=t.querySelector(".popover-content"),s=o.getBoundingClientRect(),a=s.width,u=s.height,l=this.plt.width(),c=this.plt.height(),d=e&&e.target&&e.target.getBoundingClientRect(),h=d&&"top"in d?d.top:c/2-u/2,f=d&&d.height||0,p={top:h,left:d&&"left"in d?d.left:l/2-a/2};p.left<m?p.left=m:a+m+p.left>l&&(p.left=l-a-m,r="right"),h+f+u>c&&h-u>0?(p.top=h-u,t.className=t.className+" popover-bottom",n="bottom"):h+f+u>c&&(o.style.bottom=m+"px"),o.style.top=p.top+"px",o.style.left=p.left+"px",o.style[this.plt.Css.transformOrigin]=n+" "+r,i.style.opacity="1"},e.prototype.iosPositionView=function(t,e){var n="top",r="left",i=t.querySelector(".popover-wrapper"),o=t.querySelector(".popover-content"),s=o.getBoundingClientRect(),a=s.width,u=s.height,l=this.plt.width(),c=this.plt.height(),d=e&&e.target&&e.target.getBoundingClientRect(),h=d&&"top"in d?d.top:c/2-u/2,f=d&&"left"in d?d.left:l/2,m=d&&d.width||0,_=d&&d.height||0,g=t.querySelector(".popover-arrow"),v=g.getBoundingClientRect(),y=v.width,b=v.height;d||(g.style.display="none");var w={top:h+_,left:f+m/2-y/2},S={top:h+_+(b-1),left:f+m/2-a/2},T=!1,E=!1;S.left<p+25?(T=!0,S.left=p):a+p+S.left+25>l&&(E=!0,S.left=l-a-p,r="right"),h+_+u>c&&h-u>0?(w.top=h-(b+1),S.top=h-u-(b-1),t.className=t.className+" popover-bottom",n="bottom"):h+_+u>c&&(o.style.bottom=p+"%"),g.style.top=w.top+"px",g.style.left=w.left+"px",o.style.top=S.top+"px",o.style.left=S.left+"px",T&&(CSS.supports("left","constant(safe-area-inset-left)")?o.style.left="calc("+S.left+"px + constant(safe-area-inset-left)":CSS.supports("left","env(safe-area-inset-left)")&&(o.style.left="calc("+S.left+"px + env(safe-area-inset-left)")),E&&(CSS.supports("right","constant(safe-area-inset-right)")?o.style.left="calc("+S.left+"px - constant(safe-area-inset-right)":CSS.supports("right","env(safe-area-inset-right)")&&(o.style.left="calc("+S.left+"px - env(safe-area-inset-right)")),o.style[this.plt.Css.transformOrigin]=n+" "+r,i.style.opacity="1"},e}(a.a),c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return u(e,t),e.prototype.init=function(){var t=this.enteringView.pageRef().nativeElement,e=new s.a(this.plt,t.querySelector("ion-backdrop")),n=new s.a(this.plt,t.querySelector(".popover-wrapper"));n.fromTo("opacity",.01,1),e.fromTo("opacity",.01,.08),this.easing("ease").duration(100).add(e).add(n)},e.prototype.play=function(){var e=this;this.plt.raf(function(){e.iosPositionView(e.enteringView.pageRef().nativeElement,e.opts.ev),t.prototype.play.call(e)})},e}(l),d=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return u(e,t),e.prototype.init=function(){var t=this.leavingView.pageRef().nativeElement,e=new s.a(this.plt,t.querySelector("ion-backdrop")),n=new s.a(this.plt,t.querySelector(".popover-wrapper"));n.fromTo("opacity",.99,0),e.fromTo("opacity",.08,0),this.easing("ease").duration(500).add(e).add(n)},e}(l),h=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return u(e,t),e.prototype.init=function(){var t=this.enteringView.pageRef().nativeElement,e=new s.a(this.plt,t.querySelector(".popover-content")),n=new s.a(this.plt,t.querySelector(".popover-viewport"));e.fromTo("scale",.001,1),n.fromTo("opacity",.01,1),this.easing("cubic-bezier(0.36,0.66,0.04,1)").duration(300).add(e).add(n)},e.prototype.play=function(){var e=this;this.plt.raf(function(){e.mdPositionView(e.enteringView.pageRef().nativeElement,e.opts.ev),t.prototype.play.call(e)})},e}(l),f=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return u(e,t),e.prototype.init=function(){var t=this.leavingView.pageRef().nativeElement,e=new s.a(this.plt,t.querySelector(".popover-wrapper"));e.fromTo("opacity",.99,0),this.easing("ease").duration(500).fromTo("opacity",.01,1).add(e)},e}(l),p=2,m=12,_=n(18),g=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),v=function(t){function e(e,n,r,s,a){void 0===r&&(r={}),void 0===s&&(s={});var u=this;return s.showBackdrop=!Object(i.l)(s.showBackdrop)||!!s.showBackdrop,s.enableBackdropDismiss=!Object(i.l)(s.enableBackdropDismiss)||!!s.enableBackdropDismiss,r.component=n,r.opts=s,u=t.call(this,o.a,r,null)||this,u._app=e,u.isOverlay=!0,a.setTransition("popover-pop-in",c),a.setTransition("popover-pop-out",d),a.setTransition("popover-md-pop-in",h),a.setTransition("popover-md-pop-out",f),u}return g(e,t),e.prototype.getTransitionName=function(t){return this._nav&&this._nav.config.get("back"===t?"popoverLeave":"popoverEnter")},e.prototype.present=function(t){return void 0===t&&(t={}),this._app.present(this,t)},e}(_.a);n.d(e,"a",function(){return b});var y=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),b=function(t){function e(e,n,r,i,o,s){void 0===i&&(i={});var a=t.call(this,e,n,o,s)||this;return a.data=r,a.opts=i,a.isOverlay=!0,a}return y(e,t),e.prototype.getImplementation=function(){return new v(this._app,this._component,this.data,this.opts,this._config)},e}(r.a)},function(t,e,n){"use strict";n.d(e,"a",function(){return o});var r=n(316),i=(n(16),this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}()),o=function(t){function e(e,n,r){return t.call(this,e,n,r)||this}return i(e,t),e}(r.a)},function(t,e,n){"use strict";n.d(e,"a",function(){return r});var r=function(){function t(t,e,n){if(this._plt=e,this.zone=n,this.isMatch=!1,t){this.conditions=t.replace(/\s/g,"").split(",");for(var r=0;r<this.conditions.length;r++)if(this.conditions[r]&&e.is(this.conditions[r]))return void(this.isMatch=!0);this.orientation()&&(this.resizeObs=e.resize.subscribe(this.orientation.bind(this)))}}return t.prototype.orientation=function(){for(var t=0;t<this.conditions.length;t++){if("portrait"===this.conditions[t])return this.isMatch=this._plt.isPortrait(),!0;if("landscape"===this.conditions[t])return this.isMatch=this._plt.isLandscape(),!0}return!1},t.prototype.ngOnDestroy=function(){this.resizeObs&&this.resizeObs.unsubscribe(),this.resizeObs=null},t}()},function(t,e,n){"use strict";n.d(e,"a",function(){return o});n(16);var r=n(316),i=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),o=function(t){function e(e,n,r){return t.call(this,e,n,r)||this}return i(e,t),e}(r.a)},function(t,e,n){"use strict";var r=n(279);n.n(r),n(6),n(53),n(26),n(11),n(77),n(63),n(99),n(124),n(16),n(319),n(18),this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])}}()},function(t,e,n){"use strict";n(30)},function(t,e,n){"use strict";n.d(e,"a",function(){return o});n(6);var r=n(26),i=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),o=function(t){function e(e,n,r){return t.call(this,e,n,r,"text")||this}return i(e,t),e}(r.a)},function(t,e,n){"use strict"},function(t,e,n){"use strict";function r(t,e,n,r,o,s){var a,u,l,c,d=e?e.length-1:-1;if(n.length){if((l=n[n.length-1]).top+l.height>t)return;u=l.record+1}else l=f,u=0;for(var h=0,p=u;p<=d;p++)if(a=e[p],r&&null!==(c=r(a,p,e))&&(l=i(l,p,1,c,s.hdrWidth,s.hdrHeight,s.viewWidth),n.push(l)),l=i(l,p,0,null,s.itmWidth,s.itmHeight,s.viewWidth),n.push(l),o&&null!==(c=o(a,p,e))&&(l=i(l,p,2,c,s.ftrWidth,s.ftrHeight,s.viewWidth),n.push(l)),l.record===d&&(l.isLast=!0),h++,l.top+l.height+s.itmHeight>t&&h>3)return}function i(t,e,n,r,i,o,s){var a={record:e,tmpl:n,width:i,height:o,reads:0};return t.left+t.width+i>s?(a.row=t.row+1,a.top=t.top+t.height,a.left=0):(a.row=t.row,a.top=t.top,a.left=t.left+t.width),r&&(a.data=r),a}function o(t,e,n,r,i,o,s,a,u,l){if(!i||0===i.length)return o.length=0,s.clear(),!0;var c,d,h,f=i.length,m=!1,_=null,g=o.length;t=Math.max(t,0),e=Math.min(e,r.length-1);for(var v=[],y=t;y<=e;y++){d=r[y],c=null;var b=o.find(function(t){return t.cell===y&&t.tmpl===d.tmpl});if(b){if(b.view.context.$implicit===i[d.record]){v.push(b);continue}c=b}else for(var w=0;w<g;w++){d.tmpl!==(T=o[w]).tmpl||0===w&&0!==y||(T.cell<t||T.cell>e)&&(c?n?T.cell<c.cell&&(c=T):T.cell>c.cell&&(c=T):c=T)}if(!c){if(null===_){_=-1;for(var S=g-1;S>=0;S--){var T;if(T=o[S]){_=s.indexOf(T.view);break}}}if(!(h=1===d.tmpl?u:2===d.tmpl?l:a)){console.error("virtual"+(1===d.tmpl?"Header":2===d.tmpl?"Footer":"Item")+" template required");continue}c={tmpl:d.tmpl,view:s.createEmbeddedView(h,new p(null,null,null),_)},g=o.push(c)}c.cell=y;var E=c.view.context;E.$implicit=d.data||i[d.record],E.index=y,E.count=f,c.hasChanges=!0,c.lastTransform=null,m=!0,v.push(c)}var M=o.filter(function(t){return v.indexOf(t)<0});return M.forEach(function(t){var e=s.indexOf(t.view);s.remove(e);var n=o.findIndex(function(e){return e===t});o.splice(n,1)}),v.length=0,M.length=0,m}function s(t,e,n,r,i){for(var o,s,a,u=n.length,l=0;l<e.length;l++)(s=n[(o=e[l]).cell])&&s.reads<_&&(function(t,e,n){var r=t.getElementComputedStyle(n);e.left=n.clientLeft-parseFloat(r.marginLeft),e.width=n.offsetWidth+parseFloat(r.marginLeft)+parseFloat(r.marginRight),e.height=n.offsetHeight+parseFloat(r.marginTop)+parseFloat(r.marginBottom)}(t,s,h(o)),i&&(1===s.tmpl?(r.hdrHeight=s.height,0===s.left&&(r.hdrWidth=s.width)):2===s.tmpl?(r.ftrHeight=s.height,0===s.left&&(r.ftrWidth=s.width)):(r.itmHeight=s.height,0===s.left&&(r.itmWidth=s.width))),s.reads++);var c=r.scrollTop+r.viewHeight;if(r.topViewCell=u,r.bottomViewCell=0,u>0){a={row:0,width:0,height:0,top:(s=n[0]).top,left:0,tmpl:-1};for(var d=0;d<u;d++)a.left+a.width+(s=n[d]).width>r.viewWidth?(s.row++,s.top=a.top+a.height,s.left=0):(s.row=a.row,s.top=a.top,s.left=a.left+a.width),s.top+s.height>r.scrollTop&&d<r.topViewCell?r.topViewCell=d:s.top<c&&d>r.bottomViewCell&&(r.bottomViewCell=d),a=s}}function a(t,e,n){for(var r,i,o,s=0,a=t.length;s<a;s++)i=e[(r=t[s]).cell],r&&i&&((o=r.view.context.bounds).top=i.top+n.viewTop,o.bottom=o.top+i.height,o.left=i.left+n.viewLeft,o.right=o.left+i.width,o.width=i.width,o.height=i.height)}function u(t,e){var n=e.renderHeight-e.itmHeight,r=t.length,i=e.itmHeight<90?m:0;if(e.scrollDiff>0){e.topCell=Math.max(e.topViewCell-i,0),e.bottomCell=e.topCell;for(var o=0,s=e.topCell;s<r&&(o+=t[s].height,s>e.bottomCell&&(e.bottomCell=s),!(o>=n));s++);if(o<n)for(s=e.topCell-1;s>=0&&(o+=t[s].height,e.topCell=s,!(o>=n));s--);}else{e.bottomCell=Math.min(e.bottomViewCell+i,r-1),e.topCell=e.bottomCell;for(o=0,s=e.bottomCell;s>=0&&(o+=t[s].height,s<e.topCell&&(e.topCell=s),!(o>=n));s--);if(o<n)for(s=e.bottomCell;s<r&&(o+=t[s].height,e.bottomCell=s,!(o>=n));s++);}}function l(t,e,n,r){if(!t||!e)return 0;var i=function(t,e){if(e.record>=t-1)return e.top+e.height;var n=t-e.record-1,r=e.top+e.height;return Math.ceil(r+r/(t-n)*n)}(t,e),o=e.record/(t-1);return Math.abs(n-i)>i*r||o>.995?i:n}function c(t,e){if(e.indexOf("%")>0)return t*(parseFloat(e)/100);if(e.indexOf("px")>0)return parseFloat(e);throw new Error('virtual scroll width can only use "%" or "px" units')}function d(t,e){if(e.indexOf("px")>0)return parseFloat(e);throw new Error('virtual scroll height must use "px" units')}function h(t){for(var e=t.view.rootNodes,n=0;n<e.length;n++)if(1===e[n].nodeType)return e[n];return null}n(1);var f={row:0,width:0,height:0,top:0,left:0,tmpl:-1},p=function(){function t(t,e,n){this.$implicit=t,this.index=e,this.count=n,this.bounds={}}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}(),m=3,_=2,g=(n(6),n(67),n(30),n(11));n(16),n(18),n(214),n(321),n(213);n.d(e,"a",function(){return v});var v=function(){function t(t,e,n,r,i,o,s,a,u,l){var c=this;this._iterableDiffers=t,this._elementRef=e,this._renderer=n,this._zone=r,this._cd=i,this._content=o,this._plt=s,this._ctrl=a,this._config=u,this._dom=l,this._init=!1,this._lastEle=!1,this._records=[],this._cells=[],this._nodes=[],this._vHeight=0,this._lastCheck=0,this._recordSize=0,this._data={scrollTop:0},this._queue=1,this.bufferRatio=3,this.approxItemWidth="100%",this.approxHeaderWidth="100%",this.approxHeaderHeight="40px",this.approxFooterWidth="100%",this.approxFooterHeight="40px",this.setElementClass("virtual-loading",!0);var d=a.readReady.subscribe(function(){d.unsubscribe(),c.readUpdate(!0)}),h=a.writeReady.subscribe(function(){h.unsubscribe(),c._init=!0,c.writeUpdate(!0),c._listeners()})}return Object.defineProperty(t.prototype,"virtualScroll",{get:function(){return this._records},set:function(t){this._records=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"headerFn",{set:function(t){Object(g.i)(t)&&(this._hdrFn=t.bind(this._ctrl._cmp||this))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"footerFn",{set:function(t){Object(g.i)(t)&&(this._ftrFn=t.bind(this._ctrl._cmp||this))},enumerable:!0,configurable:!0}),t.prototype.firstRecord=function(){var t=this._cells;return t.length>0?t[0].record:0},t.prototype.lastRecord=function(){var t=this._cells;return t.length>0?t[t.length-1].record:0},t.prototype.ngOnChanges=function(t){if("virtualScroll"in t){var e=t.virtualScroll.currentValue;if(!Object(g.l)(this._differ)&&Object(g.l)(e))try{this._differ=this._iterableDiffers.find(e).create(this.virtualTrackBy)}catch(t){throw new Error("Cannot find a differ supporting object '"+e+"'. VirtualScroll only supports binding to Iterables such as Arrays.")}}},t.prototype.ngDoCheck=function(){if(this._init){var t=Object(g.l)(this._differ)?this._differ.diff(this.virtualScroll):null;if(Object(g.l)(t)){var e=!1,n=this._recordSize;t.forEachOperation(function(t,r,i){null===r&&i<n?e=!0:r<n&&null===i&&(e=!0)}),this._recordSize=this._records?this._records.length:0,this.readUpdate(e),this.writeUpdate(e)}}},t.prototype.readUpdate=function(t){t&&(this._cells.length=0,this.calcDimensions())},t.prototype.writeUpdate=function(t){var e=this._data,n=e.scrollTop+e.renderHeight;e.scrollDiff=y+1,r(n,this._records,this._cells,this._hdrFn,this._ftrFn,this._data),this.renderVirtual(t)},t.prototype.calcDimensions=function(){!function(t,e,n,r,i,o,s,a,u){var l=e.parentElement;t.viewWidth=l.offsetWidth,t.viewHeight=l.offsetHeight,t.viewTop=e.offsetTop,t.viewLeft=e.offsetLeft,t.renderHeight=t.viewHeight*u,t.viewWidth>0&&t.viewHeight>0&&(t.itmWidth=c(t.viewWidth,n),t.itmHeight=d(0,r),t.hdrWidth=c(t.viewWidth,i),t.hdrHeight=d(0,o),t.ftrWidth=c(t.viewWidth,s),t.ftrHeight=d(0,a),t.valid=!0)}(this._data,this._elementRef.nativeElement,this.approxItemWidth,this.approxItemHeight,this.approxHeaderWidth,this.approxHeaderHeight,this.approxFooterWidth,this.approxFooterHeight,this.bufferRatio)},t.prototype.renderVirtual=function(t){var e=this;this._plt.raf(function(){var n=e._nodes,r=e._cells,i=e._data,l=e._records;t&&(s(e._plt,n,r,i,!0),i.topCell=0,i.bottomCell=r.length-1),u(r,i),e._zone.run(function(){o(i.topCell,i.bottomCell,!0,r,l,n,e._itmTmp.viewContainer,e._itmTmp.templateRef,e._hdrTmp&&e._hdrTmp.templateRef,e._ftrTmp&&e._ftrTmp.templateRef)}),t&&e._cd.detectChanges(),e._dom.read(function(){return function(t,e,n,r){if(e.length&&n.length){var i=h(e[0]),o=n[0];o.top=i.clientTop,o.left=i.clientLeft,o.row=0,s(t,e,n,r,!0)}}(e._plt,n,r,i)}),e._dom.write(function(){if(a(n,r,i),e._stepChangeDetection(),e._stepDOMWrite(),e._content.imgsUpdate(),!e._lastEle){e._renderer.createElement(e._elementRef.nativeElement,"div").className="virtual-last",e._lastEle=!0,e.setElementClass("virtual-scroll",!0),e.setElementClass("virtual-loading",!1)}})})},t.prototype.resize=function(){this._init&&null!==this._elementRef.nativeElement.offsetParent&&(this.calcDimensions(),this.writeUpdate(!1))},t.prototype._stepDOMWrite=function(){var t=this._cells;!function(t,e,n,r){for(var i,o,s,a,u=Math.max(r,n.length),l=0,c=e.length;l<c;l++)(i=e[l]).lastTransform!==(a="translate3d("+(s=n[i.cell]).left+"px,"+s.top+"px,0px)")&&(o=h(i))&&(o.style[t.Css.transform]=i.lastTransform=a,o.classList.add("virtual-position"),o.setAttribute("aria-posinset",i.cell+1),o.setAttribute("aria-setsize",u))}(this._plt,this._nodes,t,this._recordSize),this._setHeight(l(this._recordSize,t[t.length-1],this._vHeight,.25)),this._queue=1},t.prototype._stepChangeDetection=function(){for(var t=this._nodes,e=0;e<t.length;e++)t[e].hasChanges&&t[e].view.detectChanges();this._queue=3},t.prototype._stepNoChanges=function(){var t=this._data,e=t.scrollDiff=t.scrollTop-this._lastCheck;if(!(Math.abs(e)<y)){var n=this._cells,i=this._nodes,l=this._records;if(this._lastCheck=t.scrollTop,e>0){r(t.scrollTop+t.renderHeight,l,n,this._hdrFn,this._ftrFn,t)}s(this._plt,i,n,t,!1),u(n,t);o(t.topCell,t.bottomCell,e>0,n,l,i,this._itmTmp.viewContainer,this._itmTmp.templateRef,this._hdrTmp&&this._hdrTmp.templateRef,this._ftrTmp&&this._ftrTmp.templateRef)&&(this._queue=2,a(i,n,t))}},t.prototype.scrollUpdate=function(t){var e=this;this._data.scrollTop=t.scrollTop;var n=this._queue;1===n?this._stepNoChanges():this._dom.write(2===n?function(){return e._stepChangeDetection()}:function(){return e._stepDOMWrite()})},t.prototype.scrollEnd=function(){var t=this;s(this._plt,this._nodes,this._cells,this._data,!1),u(this._cells,this._data),o(this._data.topCell,this._data.bottomCell,!0,this._cells,this._records,this._nodes,this._itmTmp.viewContainer,this._itmTmp.templateRef,this._hdrTmp&&this._hdrTmp.templateRef,this._ftrTmp&&this._ftrTmp.templateRef),this._dom.write(function(){a(t._nodes,t._cells,t._data),t._stepChangeDetection(),t._stepDOMWrite()})},t.prototype._listeners=function(){this._scrollSub||(this._config.getBoolean("virtualScrollEventAssist")&&this._content.enableJsScroll(),this._resizeSub=this._plt.resize.subscribe(this.resize.bind(this)),this._scrollSub=this._content.ionScroll.subscribe(this.scrollUpdate.bind(this)),this._scrollEndSub=this._content.ionScrollEnd.subscribe(this.scrollEnd.bind(this)))},t.prototype._setHeight=function(t){t!==this._vHeight&&(this._renderer.setElementStyle(this._elementRef.nativeElement,"height",t>0?t+"px":""),this._vHeight=t)},t.prototype.ngAfterContentInit=function(){this.approxItemHeight||(this.approxItemHeight="40px",console.warn('Virtual Scroll: Please provide an "approxItemHeight" input to ensure proper virtual scroll rendering'))},t.prototype.setElementClass=function(t,e){this._renderer.setElementClass(this._elementRef.nativeElement,t,e)},t.prototype.ngOnDestroy=function(){this._resizeSub&&this._resizeSub.unsubscribe(),this._scrollSub&&this._scrollSub.unsubscribe(),this._scrollEndSub&&this._scrollEndSub.unsubscribe(),this._resizeSub=this._scrollEndSub=this._scrollSub=null,this._hdrFn=this._ftrFn=this._records=this._cells=this._nodes=this._data=null},t}(),y=40},function(t,e,n){"use strict";n.d(e,"a",function(){return o});var r=n(0),i=n(73),o=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.cordovaFileError={1:"NOT_FOUND_ERR",2:"SECURITY_ERR",3:"ABORT_ERR",4:"NOT_READABLE_ERR",5:"ENCODING_ERR",6:"NO_MODIFICATION_ALLOWED_ERR",7:"INVALID_STATE_ERR",8:"SYNTAX_ERR",9:"INVALID_MODIFICATION_ERR",10:"QUOTA_EXCEEDED_ERR",11:"TYPE_MISMATCH_ERR",12:"PATH_EXISTS_ERR",13:"WRONG_ENTRY_TYPE",14:"DIR_READ_ERR"},e}return Object(r.__extends)(e,t),e.prototype.getFreeDiskSpace=function(){return new Promise(function(t,e){cordova.exec(t,e,"File","getFreeDiskSpace",[])})},e.prototype.checkDir=function(t,e){if(/^\//.test(e)){var n=new FileError(5);return n.message="directory cannot start with /",Promise.reject(n)}return this.resolveDirectoryUrl(t+e).then(function(){return!0})},e.prototype.createDir=function(t,e,n){var r=this;if(/^\//.test(e)){var i=new FileError(5);return i.message="directory cannot start with /",Promise.reject(i)}var o={create:!0};return n||(o.exclusive=!0),this.resolveDirectoryUrl(t).then(function(t){return r.getDirectory(t,e,o)})},e.prototype.removeDir=function(t,e){var n=this;if(/^\//.test(e)){var r=new FileError(5);return r.message="directory cannot start with /",Promise.reject(r)}return this.resolveDirectoryUrl(t).then(function(t){return n.getDirectory(t,e,{create:!1})}).then(function(t){return n.remove(t)})},e.prototype.moveDir=function(t,e,n,r){var i=this;if(r=r||e,/^\//.test(r)){var o=new FileError(5);return o.message="directory cannot start with /",Promise.reject(o)}return this.resolveDirectoryUrl(t).then(function(t){return i.getDirectory(t,e,{create:!1})}).then(function(t){return i.resolveDirectoryUrl(n).then(function(e){return i.move(t,e,r)})})},e.prototype.copyDir=function(t,e,n,r){var i=this;if(/^\//.test(r)){var o=new FileError(5);return o.message="directory cannot start with /",Promise.reject(o)}return this.resolveDirectoryUrl(t).then(function(t){return i.getDirectory(t,e,{create:!1})}).then(function(t){return i.resolveDirectoryUrl(n).then(function(e){return i.copy(t,e,r)})})},e.prototype.listDir=function(t,e){var n=this;if(/^\//.test(e)){var r=new FileError(5);return r.message="directory cannot start with /",Promise.reject(r)}return this.resolveDirectoryUrl(t).then(function(t){return n.getDirectory(t,e,{create:!1,exclusive:!1})}).then(function(t){var e=t.createReader();return n.readEntries(e)})},e.prototype.removeRecursively=function(t,e){var n=this;if(/^\//.test(e)){var r=new FileError(5);return r.message="directory cannot start with /",Promise.reject(r)}return this.resolveDirectoryUrl(t).then(function(t){return n.getDirectory(t,e,{create:!1})}).then(function(t){return n.rimraf(t)})},e.prototype.checkFile=function(t,e){if(/^\//.test(e)){var n=new FileError(5);return n.message="file cannot start with /",Promise.reject(n)}return this.resolveLocalFilesystemUrl(t+e).then(function(t){if(t.isFile)return!0;var e=new FileError(13);return e.message="input is not a file",Promise.reject(e)})},e.prototype.createFile=function(t,e,n){var r=this;if(/^\//.test(e)){var i=new FileError(5);return i.message="file-name cannot start with /",Promise.reject(i)}var o={create:!0};return n||(o.exclusive=!0),this.resolveDirectoryUrl(t).then(function(t){return r.getFile(t,e,o)})},e.prototype.removeFile=function(t,e){var n=this;if(/^\//.test(e)){var r=new FileError(5);return r.message="file-name cannot start with /",Promise.reject(r)}return this.resolveDirectoryUrl(t).then(function(t){return n.getFile(t,e,{create:!1})}).then(function(t){return n.remove(t)})},e.prototype.writeFile=function(t,e,n,r){var i=this;if(void 0===r&&(r={}),/^\//.test(e)){var o=new FileError(5);return o.message="file-name cannot start with /",Promise.reject(o)}var s={create:!r.append,exclusive:!r.replace};return this.resolveDirectoryUrl(t).then(function(t){return i.getFile(t,e,s)}).then(function(t){return i.writeFileEntry(t,n,r)})},e.prototype.writeFileEntry=function(t,e,n){var r=this;return this.createWriter(t).then(function(t){return n.append&&t.seek(t.length),n.truncate&&t.truncate(n.truncate),r.write(t,e)}).then(function(){return t})},e.prototype.writeExistingFile=function(t,e,n){return this.writeFile(t,e,n,{replace:!0})},e.prototype.readAsText=function(t,e){return this.readFile(t,e,"Text")},e.prototype.readAsDataURL=function(t,e){return this.readFile(t,e,"DataURL")},e.prototype.readAsBinaryString=function(t,e){return this.readFile(t,e,"BinaryString")},e.prototype.readAsArrayBuffer=function(t,e){return this.readFile(t,e,"ArrayBuffer")},e.prototype.readFile=function(t,e,n){var r=this;if(/^\//.test(e)){var i=new FileError(5);return i.message="file-name cannot start with /",Promise.reject(i)}return this.resolveDirectoryUrl(t).then(function(t){return r.getFile(t,e,{create:!1})}).then(function(t){var e=new FileReader;return new Promise(function(r,i){e.onloadend=function(){void 0!==e.result||null!==e.result?r(e.result):i(void 0!==e.error||null!==e.error?e.error:{code:null,message:"READER_ONLOADEND_ERR"})},t.file(function(t){e["readAs"+n].call(e,t)},function(t){i(t)})})})},e.prototype.moveFile=function(t,e,n,r){var i=this;if(r=r||e,/^\//.test(r)){var o=new FileError(5);return o.message="file name cannot start with /",Promise.reject(o)}return this.resolveDirectoryUrl(t).then(function(t){return i.getFile(t,e,{create:!1})}).then(function(t){return i.resolveDirectoryUrl(n).then(function(e){return i.move(t,e,r)})})},e.prototype.copyFile=function(t,e,n,r){var i=this;if(r=r||e,/^\//.test(r)){var o=new FileError(5);return o.message="file name cannot start with /",Promise.reject(o)}return this.resolveDirectoryUrl(t).then(function(t){return i.getFile(t,e,{create:!1})}).then(function(t){return i.resolveDirectoryUrl(n).then(function(e){return i.copy(t,e,r)})})},e.prototype.fillErrorMessage=function(t){try{t.message=this.cordovaFileError[t.code]}catch(t){}},e.prototype.resolveLocalFilesystemUrl=function(t){var e=this;return new Promise(function(n,r){try{window.resolveLocalFileSystemURL(t,function(t){n(t)},function(t){e.fillErrorMessage(t),r(t)})}catch(t){e.fillErrorMessage(t),r(t)}})},e.prototype.resolveDirectoryUrl=function(t){return this.resolveLocalFilesystemUrl(t).then(function(t){if(t.isDirectory)return t;var e=new FileError(13);return e.message="input is not a directory",Promise.reject(e)})},e.prototype.getDirectory=function(t,e,n){var r=this;return new Promise(function(i,o){try{t.getDirectory(e,n,function(t){i(t)},function(t){r.fillErrorMessage(t),o(t)})}catch(t){r.fillErrorMessage(t),o(t)}})},e.prototype.getFile=function(t,e,n){var r=this;return new Promise(function(i,o){try{t.getFile(e,n,i,function(t){r.fillErrorMessage(t),o(t)})}catch(t){r.fillErrorMessage(t),o(t)}})},e.prototype.remove=function(t){var e=this;return new Promise(function(n,r){t.remove(function(){n({success:!0,fileRemoved:t})},function(t){e.fillErrorMessage(t),r(t)})})},e.prototype.move=function(t,e,n){var r=this;return new Promise(function(i,o){t.moveTo(e,n,function(t){i(t)},function(t){r.fillErrorMessage(t),o(t)})})},e.prototype.copy=function(t,e,n){var r=this;return new Promise(function(i,o){t.copyTo(e,n,function(t){i(t)},function(t){r.fillErrorMessage(t),o(t)})})},e.prototype.readEntries=function(t){var e=this;return new Promise(function(n,r){t.readEntries(function(t){n(t)},function(t){e.fillErrorMessage(t),r(t)})})},e.prototype.rimraf=function(t){var e=this;return new Promise(function(n,r){t.removeRecursively(function(){n({success:!0,fileRemoved:t})},function(t){e.fillErrorMessage(t),r(t)})})},e.prototype.createWriter=function(t){var e=this;return new Promise(function(n,r){t.createWriter(function(t){n(t)},function(t){e.fillErrorMessage(t),r(t)})})},e.prototype.write=function(t,e){return e instanceof Blob?this.writeFileInChunks(t,e):new Promise(function(n,r){t.onwriteend=function(e){t.error?r(t.error):n(e)},t.write(e)})},e.prototype.writeFileInChunks=function(t,e){function n(){var n=Math.min(r,e.size-i),o=e.slice(i,i+n);i+=n,t.write(o)}var r=1048576,i=0;return new Promise(function(r,o){t.onerror=o,t.onwrite=function(){i<e.size?n():r()},n()})},Object(r.__decorate)([i.d,Object(r.__metadata)("design:type",String)],e.prototype,"applicationDirectory",void 0),Object(r.__decorate)([i.d,Object(r.__metadata)("design:type",String)],e.prototype,"applicationStorageDirectory",void 0),Object(r.__decorate)([i.d,Object(r.__metadata)("design:type",String)],e.prototype,"dataDirectory",void 0),Object(r.__decorate)([i.d,Object(r.__metadata)("design:type",String)],e.prototype,"cacheDirectory",void 0),Object(r.__decorate)([i.d,Object(r.__metadata)("design:type",String)],e.prototype,"externalApplicationStorageDirectory",void 0),Object(r.__decorate)([i.d,Object(r.__metadata)("design:type",String)],e.prototype,"externalDataDirectory",void 0),Object(r.__decorate)([i.d,Object(r.__metadata)("design:type",String)],e.prototype,"externalCacheDirectory",void 0),Object(r.__decorate)([i.d,Object(r.__metadata)("design:type",String)],e.prototype,"externalRootDirectory",void 0),Object(r.__decorate)([i.d,Object(r.__metadata)("design:type",String)],e.prototype,"tempDirectory",void 0),Object(r.__decorate)([i.d,Object(r.__metadata)("design:type",String)],e.prototype,"syncedDataDirectory",void 0),Object(r.__decorate)([i.d,Object(r.__metadata)("design:type",String)],e.prototype,"documentsDirectory",void 0),Object(r.__decorate)([i.d,Object(r.__metadata)("design:type",String)],e.prototype,"sharedDirectory",void 0),Object(r.__decorate)([Object(i.b)(),Object(r.__metadata)("design:type",Function),Object(r.__metadata)("design:paramtypes",[]),Object(r.__metadata)("design:returntype",Promise)],e.prototype,"getFreeDiskSpace",null),Object(r.__decorate)([Object(i.b)(),Object(r.__metadata)("design:type",Function),Object(r.__metadata)("design:paramtypes",[String,String]),Object(r.__metadata)("design:returntype",Promise)],e.prototype,"checkDir",null),Object(r.__decorate)([Object(i.b)(),Object(r.__metadata)("design:type",Function),Object(r.__metadata)("design:paramtypes",[String,String,Boolean]),Object(r.__metadata)("design:returntype",Promise)],e.prototype,"createDir",null),Object(r.__decorate)([Object(i.b)(),Object(r.__metadata)("design:type",Function),Object(r.__metadata)("design:paramtypes",[String,String]),Object(r.__metadata)("design:returntype",Promise)],e.prototype,"removeDir",null),Object(r.__decorate)([Object(i.b)(),Object(r.__metadata)("design:type",Function),Object(r.__metadata)("design:paramtypes",[String,String,String,String]),Object(r.__metadata)("design:returntype",Promise)],e.prototype,"moveDir",null),Object(r.__decorate)([Object(i.b)(),Object(r.__metadata)("design:type",Function),Object(r.__metadata)("design:paramtypes",[String,String,String,String]),Object(r.__metadata)("design:returntype",Promise)],e.prototype,"copyDir",null),Object(r.__decorate)([Object(i.b)(),Object(r.__metadata)("design:type",Function),Object(r.__metadata)("design:paramtypes",[String,String]),Object(r.__metadata)("design:returntype",Promise)],e.prototype,"listDir",null),Object(r.__decorate)([Object(i.b)(),Object(r.__metadata)("design:type",Function),Object(r.__metadata)("design:paramtypes",[String,String]),Object(r.__metadata)("design:returntype",Promise)],e.prototype,"removeRecursively",null),Object(r.__decorate)([Object(i.b)(),Object(r.__metadata)("design:type",Function),Object(r.__metadata)("design:paramtypes",[String,String]),Object(r.__metadata)("design:returntype",Promise)],e.prototype,"checkFile",null),Object(r.__decorate)([Object(i.b)(),Object(r.__metadata)("design:type",Function),Object(r.__metadata)("design:paramtypes",[String,String,Boolean]),Object(r.__metadata)("design:returntype",Promise)],e.prototype,"createFile",null),Object(r.__decorate)([Object(i.b)(),Object(r.__metadata)("design:type",Function),Object(r.__metadata)("design:paramtypes",[String,String]),Object(r.__metadata)("design:returntype",Promise)],e.prototype,"removeFile",null),Object(r.__decorate)([Object(i.b)(),Object(r.__metadata)("design:type",Function),Object(r.__metadata)("design:paramtypes",[String,String,Object,Object]),Object(r.__metadata)("design:returntype",Promise)],e.prototype,"writeFile",null),Object(r.__decorate)([Object(i.b)(),Object(r.__metadata)("design:type",Function),Object(r.__metadata)("design:paramtypes",[String,String,Object]),Object(r.__metadata)("design:returntype",Promise)],e.prototype,"writeExistingFile",null),Object(r.__decorate)([Object(i.b)(),Object(r.__metadata)("design:type",Function),Object(r.__metadata)("design:paramtypes",[String,String]),Object(r.__metadata)("design:returntype",Promise)],e.prototype,"readAsText",null),Object(r.__decorate)([Object(i.b)(),Object(r.__metadata)("design:type",Function),Object(r.__metadata)("design:paramtypes",[String,String]),Object(r.__metadata)("design:returntype",Promise)],e.prototype,"readAsDataURL",null),Object(r.__decorate)([Object(i.b)(),Object(r.__metadata)("design:type",Function),Object(r.__metadata)("design:paramtypes",[String,String]),Object(r.__metadata)("design:returntype",Promise)],e.prototype,"readAsBinaryString",null),Object(r.__decorate)([Object(i.b)(),Object(r.__metadata)("design:type",Function),Object(r.__metadata)("design:paramtypes",[String,String]),Object(r.__metadata)("design:returntype",Promise)],e.prototype,"readAsArrayBuffer",null),Object(r.__decorate)([Object(i.b)(),Object(r.__metadata)("design:type",Function),Object(r.__metadata)("design:paramtypes",[String,String,String,String]),Object(r.__metadata)("design:returntype",Promise)],e.prototype,"moveFile",null),Object(r.__decorate)([Object(i.b)(),Object(r.__metadata)("design:type",Function),Object(r.__metadata)("design:paramtypes",[String,String,String,String]),Object(r.__metadata)("design:returntype",Promise)],e.prototype,"copyFile",null),Object(r.__decorate)([Object(i.b)(),Object(r.__metadata)("design:type",Function),Object(r.__metadata)("design:paramtypes",[String]),Object(r.__metadata)("design:returntype",Promise)],e.prototype,"resolveLocalFilesystemUrl",null),Object(r.__decorate)([Object(i.b)(),Object(r.__metadata)("design:type",Function),Object(r.__metadata)("design:paramtypes",[String]),Object(r.__metadata)("design:returntype",Promise)],e.prototype,"resolveDirectoryUrl",null),Object(r.__decorate)([Object(i.b)(),Object(r.__metadata)("design:type",Function),Object(r.__metadata)("design:paramtypes",[Object,String,Object]),Object(r.__metadata)("design:returntype",Promise)],e.prototype,"getDirectory",null),Object(r.__decorate)([Object(i.b)(),Object(r.__metadata)("design:type",Function),Object(r.__metadata)("design:paramtypes",[Object,String,Object]),Object(r.__metadata)("design:returntype",Promise)],e.prototype,"getFile",null),e=Object(r.__decorate)([Object(i.g)({pluginName:"File",plugin:"cordova-plugin-file",pluginRef:"cordova.file",repo:"https://github.com/apache/cordova-plugin-file",platforms:["Android","Browser","iOS","macOS","Windows"]})],e)}(i.f)},function(t,e,n){"use strict";n.d(e,"a",function(){return s});var r=n(0),i=n(73),o=n(2),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r.__extends)(e,t),e.prototype.startActivity=function(t){},e.prototype.startActivityForResult=function(t){},e.prototype.hasExtra=function(t){},e.prototype.getExtra=function(t){},e.prototype.getUri=function(){},e.prototype.onIntent=function(){},e.prototype.sendBroadcast=function(t){},e.prototype.startService=function(t){},e.prototype.registerBroadcastReceiver=function(t){},e.prototype.unregisterBroadcastReceiver=function(){},e.prototype.getIntent=function(){},Object(r.__decorate)([i.d,Object(r.__metadata)("design:type",String)],e.prototype,"ACTION_SEND",void 0),Object(r.__decorate)([i.d,Object(r.__metadata)("design:type",String)],e.prototype,"ACTION_VIEW",void 0),Object(r.__decorate)([i.d,Object(r.__metadata)("design:type",String)],e.prototype,"EXTRA_TEXT",void 0),Object(r.__decorate)([i.d,Object(r.__metadata)("design:type",String)],e.prototype,"EXTRA_SUBJECT",void 0),Object(r.__decorate)([i.d,Object(r.__metadata)("design:type",String)],e.prototype,"EXTRA_STREAM",void 0),Object(r.__decorate)([i.d,Object(r.__metadata)("design:type",String)],e.prototype,"EXTRA_EMAIL",void 0),Object(r.__decorate)([i.d,Object(r.__metadata)("design:type",String)],e.prototype,"ACTION_CALL",void 0),Object(r.__decorate)([i.d,Object(r.__metadata)("design:type",String)],e.prototype,"ACTION_SENDTO",void 0),Object(r.__decorate)([i.d,Object(r.__metadata)("design:type",String)],e.prototype,"ACTION_GET_CONTENT",void 0),Object(r.__decorate)([i.d,Object(r.__metadata)("design:type",String)],e.prototype,"ACTION_PICK",void 0),Object(r.__decorate)([Object(i.a)(),Object(r.__metadata)("design:type",Function),Object(r.__metadata)("design:paramtypes",[Object]),Object(r.__metadata)("design:returntype",Promise)],e.prototype,"startActivity",null),Object(r.__decorate)([Object(i.a)(),Object(r.__metadata)("design:type",Function),Object(r.__metadata)("design:paramtypes",[Object]),Object(r.__metadata)("design:returntype",Promise)],e.prototype,"startActivityForResult",null),Object(r.__decorate)([Object(i.a)(),Object(r.__metadata)("design:type",Function),Object(r.__metadata)("design:paramtypes",[String]),Object(r.__metadata)("design:returntype",Promise)],e.prototype,"hasExtra",null),Object(r.__decorate)([Object(i.a)(),Object(r.__metadata)("design:type",Function),Object(r.__metadata)("design:paramtypes",[String]),Object(r.__metadata)("design:returntype",Promise)],e.prototype,"getExtra",null),Object(r.__decorate)([Object(i.a)(),Object(r.__metadata)("design:type",Function),Object(r.__metadata)("design:paramtypes",[]),Object(r.__metadata)("design:returntype",Promise)],e.prototype,"getUri",null),Object(r.__decorate)([Object(i.a)({observable:!0}),Object(r.__metadata)("design:type",Function),Object(r.__metadata)("design:paramtypes",[]),Object(r.__metadata)("design:returntype",o.Observable)],e.prototype,"onIntent",null),Object(r.__decorate)([Object(i.a)(),Object(r.__metadata)("design:type",Function),Object(r.__metadata)("design:paramtypes",[Object]),Object(r.__metadata)("design:returntype",Promise)],e.prototype,"sendBroadcast",null),Object(r.__decorate)([Object(i.a)(),Object(r.__metadata)("design:type",Function),Object(r.__metadata)("design:paramtypes",[Object]),Object(r.__metadata)("design:returntype",Promise)],e.prototype,"startService",null),Object(r.__decorate)([Object(i.a)({sync:!0}),Object(r.__metadata)("design:type",Function),Object(r.__metadata)("design:paramtypes",[Object]),Object(r.__metadata)("design:returntype",void 0)],e.prototype,"registerBroadcastReceiver",null),Object(r.__decorate)([Object(i.a)({sync:!0}),Object(r.__metadata)("design:type",Function),Object(r.__metadata)("design:paramtypes",[]),Object(r.__metadata)("design:returntype",void 0)],e.prototype,"unregisterBroadcastReceiver",null),Object(r.__decorate)([Object(i.a)(),Object(r.__metadata)("design:type",Function),Object(r.__metadata)("design:paramtypes",[]),Object(r.__metadata)("design:returntype",Promise)],e.prototype,"getIntent",null),e=Object(r.__decorate)([Object(i.g)({pluginName:"WebIntent",plugin:"com-darryncampbell-cordova-plugin-intent",pluginRef:"plugins.intentShim",repo:"https://github.com/darryncampbell/darryncampbell-cordova-plugin-intent",platforms:["Android"]})],e)}(i.f)},function(t,e,n){"use strict";n.d(e,"a",function(){return r});var r=function(){return function(){}}()},function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var i=n(69);e.default=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e}(i.default)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(74);e.default=function(){function t(){}return t.equals=function(t,e){if(!t)return!1;if(!e)return!1;if(!t.length)return!1;if(!e.length)return!1;if(t.length!==e.length)return!1;for(var n=0,r=t.length;n<r;n++)if(t[n]!==e[n])return!1;return!0},t.hashCode=function(t){if(null===t)return 0;for(var e=1,n=0,r=t;n<r.length;n++){e=31*e+r[n]}return e},t.fillUint8Array=function(t,e){for(var n=0;n!==t.length;n++)t[n]=e},t.copyOf=function(t,e){var n=new Int32Array(e);return r.default.arraycopy(t,0,n,0,Math.min(t.length,e)),n},t.binarySearch=function(e,n,r){void 0===r&&(r=t.numberComparator);for(var i=0,o=e.length-1;i<=o;){var s=o+i>>1,a=r(n,e[s]);if(a>0)i=s+1;else{if(!(a<0))return s;o=s-1}}return-i-1},t.numberComparator=function(t,e){return t-e},t}()},function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var i=n(69);e.default=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e}(i.default)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(45),i=n(62),o=n(84),s=n(116),a=n(83),u=n(1224),l=n(682),c=n(1231),d=n(35);e.default=function(){function t(){this.decoder=new u.default}return t.prototype.getDecoder=function(){return this.decoder},t.prototype.decode=function(e,n){var a,u;if(void 0!==n&&null!==n&&void 0!==n.get(i.default.PURE_BARCODE)){var d=t.extractPureBits(e.getBlackMatrix());a=this.decoder.decodeBitMatrix(d,n),u=t.NO_POINTS}else{var h=new c.default(e.getBlackMatrix()).detect(n);a=this.decoder.decodeBitMatrix(h.getBits(),n),u=h.getPoints()}a.getOther()instanceof l.default&&a.getOther().applyMirroredCorrection(u);var f=new o.default(a.getText(),a.getRawBytes(),void 0,u,r.default.QR_CODE,void 0),p=a.getByteSegments();null!==p&&f.putMetadata(s.default.BYTE_SEGMENTS,p);var m=a.getECLevel();return null!==m&&f.putMetadata(s.default.ERROR_CORRECTION_LEVEL,m),a.hasStructuredAppend()&&(f.putMetadata(s.default.STRUCTURED_APPEND_SEQUENCE,a.getStructuredAppendSequenceNumber()),f.putMetadata(s.default.STRUCTURED_APPEND_PARITY,a.getStructuredAppendParity())),f},t.prototype.reset=function(){},t.extractPureBits=function(t){var e=t.getTopLeftOnBit(),n=t.getBottomRightOnBit();if(null===e||null===n)throw new d.default;var r=this.moduleSize(e,t),i=e[1],o=n[1],s=e[0],u=n[0];if(s>=u||i>=o)throw new d.default;if(o-i!=u-s&&(u=s+(o-i))>=t.getWidth())throw new d.default;var l=Math.round((u-s+1)/r),c=Math.round((o-i+1)/r);if(l<=0||c<=0)throw new d.default;if(c!==l)throw new d.default;var h=Math.floor(r/2);i+=h;var f=(s+=h)+Math.floor((l-1)*r)-u;if(f>0){if(f>h)throw new d.default;s-=f}var p=i+Math.floor((c-1)*r)-o;if(p>0){if(p>h)throw new d.default;i-=p}for(var m=new a.default(l,c),_=0;_<c;_++)for(var g=i+Math.floor(_*r),v=0;v<l;v++)t.get(s+Math.floor(v*r),g)&&m.set(v,_);return m},t.moduleSize=function(t,e){for(var n=e.getHeight(),r=e.getWidth(),i=t[0],o=t[1],s=!0,a=0;i<r&&o<n;){if(s!==e.get(i,o)){if(5==++a)break;s=!s}i++,o++}if(i===r||o===n)throw new d.default;return(i-t[0])/7},t.NO_POINTS=new Array,t}()},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(128),i=n(218),o=n(680),s=n(160);e.default=function(){function t(t){this.field=t}return t.prototype.decode=function(t,e){for(var n=this.field,s=new i.default(n,t),a=new Int32Array(e),u=!0,l=0;l<e;l++){var c=s.evaluateAt(n.exp(l+n.getGeneratorBase()));a[a.length-1-l]=c,0!==c&&(u=!1)}if(!u){var d=new i.default(n,a),h=this.runEuclideanAlgorithm(n.buildMonomial(e,1),d,e),f=h[1],p=this.findErrorLocations(h[0]),m=this.findErrorMagnitudes(f,p);for(l=0;l<p.length;l++){var _=t.length-1-n.log(p[l]);if(_<0)throw new o.default("Bad error location");t[_]=r.default.addOrSubtract(t[_],m[l])}}},t.prototype.runEuclideanAlgorithm=function(t,e,n){if(t.getDegree()<e.getDegree()){var r=t;t=e,e=r}for(var i=this.field,a=t,u=e,l=i.getZero(),c=i.getOne();u.getDegree()>=(n/2|0);){var d=a,h=l;if(a=u,l=c,a.isZero())throw new o.default("r_{i-1} was zero");u=d;for(var f=i.getZero(),p=a.getCoefficient(a.getDegree()),m=i.inverse(p);u.getDegree()>=a.getDegree()&&!u.isZero();){var _=u.getDegree()-a.getDegree(),g=i.multiply(u.getCoefficient(u.getDegree()),m);f=f.addOrSubtract(i.buildMonomial(_,g)),u=u.addOrSubtract(a.multiplyByMonomial(_,g))}if(c=f.multiply(l).addOrSubtract(h),u.getDegree()>=a.getDegree())throw new s.default("Division algorithm failed to reduce polynomial?")}var v=c.getCoefficient(0);if(0===v)throw new o.default("sigmaTilde(0) was zero");var y=i.inverse(v);return[c.multiplyScalar(y),u.multiplyScalar(y)]},t.prototype.findErrorLocations=function(t){var e=t.getDegree();if(1===e)return Int32Array.from([t.getCoefficient(1)]);for(var n=new Int32Array(e),r=0,i=this.field,s=1;s<i.getSize()&&r<e;s++)0===t.evaluateAt(s)&&(n[r]=i.inverse(s),r++);if(r!==e)throw new o.default("Error locator degree does not match number of roots");return n},t.prototype.findErrorMagnitudes=function(t,e){for(var n=e.length,r=new Int32Array(n),i=this.field,o=0;o<n;o++){for(var s=i.inverse(e[o]),a=1,u=0;u<n;u++)if(o!==u){var l=i.multiply(e[u],s);a=i.multiply(a,0==(1&l)?1|l:-2&l)}r[o]=i.multiply(t.evaluateAt(s),i.inverse(a)),0!==i.getGeneratorBase()&&(r[o]=i.multiply(r[o],s))}return r},t}()},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(83),i=n(681),o=n(1226),s=n(1227),a=n(65),u=n(37);e.default=function(){function t(t,e){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];this.versionNumber=t,this.alignmentPatternCenters=e,this.ecBlocks=n;for(var i=0,o=n[0].getECCodewordsPerBlock(),s=0,a=n[0].getECBlocks();s<a.length;s++){var u=a[s];i+=u.getCount()*(u.getDataCodewords()+o)}this.totalCodewords=i}return t.prototype.getVersionNumber=function(){return this.versionNumber},t.prototype.getAlignmentPatternCenters=function(){return this.alignmentPatternCenters},t.prototype.getTotalCodewords=function(){return this.totalCodewords},t.prototype.getDimensionForVersion=function(){return 17+4*this.versionNumber},t.prototype.getECBlocksForLevel=function(t){return this.ecBlocks[t.getValue()]},t.getProvisionalVersionForDimension=function(t){if(t%4!=1)throw new a.default;try{return this.getVersionForNumber((t-17)/4)}catch(t){throw new a.default}},t.getVersionForNumber=function(e){if(e<1||e>40)throw new u.default;return t.VERSIONS[e-1]},t.decodeVersionInformation=function(e){for(var n=Number.MAX_SAFE_INTEGER,r=0,o=0;o<t.VERSION_DECODE_INFO.length;o++){var s=t.VERSION_DECODE_INFO[o];if(s===e)return t.getVersionForNumber(o+7);var a=i.default.numBitsDiffering(e,s);a<n&&(r=o+7,n=a)}return n<=3?t.getVersionForNumber(r):null},t.prototype.buildFunctionPattern=function(){var t=this.getDimensionForVersion(),e=new r.default(t);e.setRegion(0,0,9,9),e.setRegion(t-8,0,8,9),e.setRegion(0,t-8,9,8);for(var n=this.alignmentPatternCenters.length,i=0;i<n;i++)for(var o=this.alignmentPatternCenters[i]-2,s=0;s<n;s++)0===i&&(0===s||s===n-1)||i===n-1&&0===s||e.setRegion(this.alignmentPatternCenters[s]-2,o,5,5);return e.setRegion(6,9,1,t-17),e.setRegion(9,6,t-17,1),this.versionNumber>6&&(e.setRegion(t-11,0,3,6),e.setRegion(0,t-11,6,3)),e},t.prototype.toString=function(){return""+this.versionNumber},t.VERSION_DECODE_INFO=Int32Array.from([31892,34236,39577,42195,48118,51042,55367,58893,63784,68472,70749,76311,79154,84390,87683,92361,96236,102084,102881,110507,110734,117786,119615,126325,127568,133589,136944,141498,145311,150283,152622,158308,161089,167017]),t.VERSIONS=[new t(1,new Int32Array(0),new o.default(7,new s.default(1,19)),new o.default(10,new s.default(1,16)),new o.default(13,new s.default(1,13)),new o.default(17,new s.default(1,9))),new t(2,Int32Array.from([6,18]),new o.default(10,new s.default(1,34)),new o.default(16,new s.default(1,28)),new o.default(22,new s.default(1,22)),new o.default(28,new s.default(1,16))),new t(3,Int32Array.from([6,22]),new o.default(15,new s.default(1,55)),new o.default(26,new s.default(1,44)),new o.default(18,new s.default(2,17)),new o.default(22,new s.default(2,13))),new t(4,Int32Array.from([6,26]),new o.default(20,new s.default(1,80)),new o.default(18,new s.default(2,32)),new o.default(26,new s.default(2,24)),new o.default(16,new s.default(4,9))),new t(5,Int32Array.from([6,30]),new o.default(26,new s.default(1,108)),new o.default(24,new s.default(2,43)),new o.default(18,new s.default(2,15),new s.default(2,16)),new o.default(22,new s.default(2,11),new s.default(2,12))),new t(6,Int32Array.from([6,34]),new o.default(18,new s.default(2,68)),new o.default(16,new s.default(4,27)),new o.default(24,new s.default(4,19)),new o.default(28,new s.default(4,15))),new t(7,Int32Array.from([6,22,38]),new o.default(20,new s.default(2,78)),new o.default(18,new s.default(4,31)),new o.default(18,new s.default(2,14),new s.default(4,15)),new o.default(26,new s.default(4,13),new s.default(1,14))),new t(8,Int32Array.from([6,24,42]),new o.default(24,new s.default(2,97)),new o.default(22,new s.default(2,38),new s.default(2,39)),new o.default(22,new s.default(4,18),new s.default(2,19)),new o.default(26,new s.default(4,14),new s.default(2,15))),new t(9,Int32Array.from([6,26,46]),new o.default(30,new s.default(2,116)),new o.default(22,new s.default(3,36),new s.default(2,37)),new o.default(20,new s.default(4,16),new s.default(4,17)),new o.default(24,new s.default(4,12),new s.default(4,13))),new t(10,Int32Array.from([6,28,50]),new o.default(18,new s.default(2,68),new s.default(2,69)),new o.default(26,new s.default(4,43),new s.default(1,44)),new o.default(24,new s.default(6,19),new s.default(2,20)),new o.default(28,new s.default(6,15),new s.default(2,16))),new t(11,Int32Array.from([6,30,54]),new o.default(20,new s.default(4,81)),new o.default(30,new s.default(1,50),new s.default(4,51)),new o.default(28,new s.default(4,22),new s.default(4,23)),new o.default(24,new s.default(3,12),new s.default(8,13))),new t(12,Int32Array.from([6,32,58]),new o.default(24,new s.default(2,92),new s.default(2,93)),new o.default(22,new s.default(6,36),new s.default(2,37)),new o.default(26,new s.default(4,20),new s.default(6,21)),new o.default(28,new s.default(7,14),new s.default(4,15))),new t(13,Int32Array.from([6,34,62]),new o.default(26,new s.default(4,107)),new o.default(22,new s.default(8,37),new s.default(1,38)),new o.default(24,new s.default(8,20),new s.default(4,21)),new o.default(22,new s.default(12,11),new s.default(4,12))),new t(14,Int32Array.from([6,26,46,66]),new o.default(30,new s.default(3,115),new s.default(1,116)),new o.default(24,new s.default(4,40),new s.default(5,41)),new o.default(20,new s.default(11,16),new s.default(5,17)),new o.default(24,new s.default(11,12),new s.default(5,13))),new t(15,Int32Array.from([6,26,48,70]),new o.default(22,new s.default(5,87),new s.default(1,88)),new o.default(24,new s.default(5,41),new s.default(5,42)),new o.default(30,new s.default(5,24),new s.default(7,25)),new o.default(24,new s.default(11,12),new s.default(7,13))),new t(16,Int32Array.from([6,26,50,74]),new o.default(24,new s.default(5,98),new s.default(1,99)),new o.default(28,new s.default(7,45),new s.default(3,46)),new o.default(24,new s.default(15,19),new s.default(2,20)),new o.default(30,new s.default(3,15),new s.default(13,16))),new t(17,Int32Array.from([6,30,54,78]),new o.default(28,new s.default(1,107),new s.default(5,108)),new o.default(28,new s.default(10,46),new s.default(1,47)),new o.default(28,new s.default(1,22),new s.default(15,23)),new o.default(28,new s.default(2,14),new s.default(17,15))),new t(18,Int32Array.from([6,30,56,82]),new o.default(30,new s.default(5,120),new s.default(1,121)),new o.default(26,new s.default(9,43),new s.default(4,44)),new o.default(28,new s.default(17,22),new s.default(1,23)),new o.default(28,new s.default(2,14),new s.default(19,15))),new t(19,Int32Array.from([6,30,58,86]),new o.default(28,new s.default(3,113),new s.default(4,114)),new o.default(26,new s.default(3,44),new s.default(11,45)),new o.default(26,new s.default(17,21),new s.default(4,22)),new o.default(26,new s.default(9,13),new s.default(16,14))),new t(20,Int32Array.from([6,34,62,90]),new o.default(28,new s.default(3,107),new s.default(5,108)),new o.default(26,new s.default(3,41),new s.default(13,42)),new o.default(30,new s.default(15,24),new s.default(5,25)),new o.default(28,new s.default(15,15),new s.default(10,16))),new t(21,Int32Array.from([6,28,50,72,94]),new o.default(28,new s.default(4,116),new s.default(4,117)),new o.default(26,new s.default(17,42)),new o.default(28,new s.default(17,22),new s.default(6,23)),new o.default(30,new s.default(19,16),new s.default(6,17))),new t(22,Int32Array.from([6,26,50,74,98]),new o.default(28,new s.default(2,111),new s.default(7,112)),new o.default(28,new s.default(17,46)),new o.default(30,new s.default(7,24),new s.default(16,25)),new o.default(24,new s.default(34,13))),new t(23,Int32Array.from([6,30,54,78,102]),new o.default(30,new s.default(4,121),new s.default(5,122)),new o.default(28,new s.default(4,47),new s.default(14,48)),new o.default(30,new s.default(11,24),new s.default(14,25)),new o.default(30,new s.default(16,15),new s.default(14,16))),new t(24,Int32Array.from([6,28,54,80,106]),new o.default(30,new s.default(6,117),new s.default(4,118)),new o.default(28,new s.default(6,45),new s.default(14,46)),new o.default(30,new s.default(11,24),new s.default(16,25)),new o.default(30,new s.default(30,16),new s.default(2,17))),new t(25,Int32Array.from([6,32,58,84,110]),new o.default(26,new s.default(8,106),new s.default(4,107)),new o.default(28,new s.default(8,47),new s.default(13,48)),new o.default(30,new s.default(7,24),new s.default(22,25)),new o.default(30,new s.default(22,15),new s.default(13,16))),new t(26,Int32Array.from([6,30,58,86,114]),new o.default(28,new s.default(10,114),new s.default(2,115)),new o.default(28,new s.default(19,46),new s.default(4,47)),new o.default(28,new s.default(28,22),new s.default(6,23)),new o.default(30,new s.default(33,16),new s.default(4,17))),new t(27,Int32Array.from([6,34,62,90,118]),new o.default(30,new s.default(8,122),new s.default(4,123)),new o.default(28,new s.default(22,45),new s.default(3,46)),new o.default(30,new s.default(8,23),new s.default(26,24)),new o.default(30,new s.default(12,15),new s.default(28,16))),new t(28,Int32Array.from([6,26,50,74,98,122]),new o.default(30,new s.default(3,117),new s.default(10,118)),new o.default(28,new s.default(3,45),new s.default(23,46)),new o.default(30,new s.default(4,24),new s.default(31,25)),new o.default(30,new s.default(11,15),new s.default(31,16))),new t(29,Int32Array.from([6,30,54,78,102,126]),new o.default(30,new s.default(7,116),new s.default(7,117)),new o.default(28,new s.default(21,45),new s.default(7,46)),new o.default(30,new s.default(1,23),new s.default(37,24)),new o.default(30,new s.default(19,15),new s.default(26,16))),new t(30,Int32Array.from([6,26,52,78,104,130]),new o.default(30,new s.default(5,115),new s.default(10,116)),new o.default(28,new s.default(19,47),new s.default(10,48)),new o.default(30,new s.default(15,24),new s.default(25,25)),new o.default(30,new s.default(23,15),new s.default(25,16))),new t(31,Int32Array.from([6,30,56,82,108,134]),new o.default(30,new s.default(13,115),new s.default(3,116)),new o.default(28,new s.default(2,46),new s.default(29,47)),new o.default(30,new s.default(42,24),new s.default(1,25)),new o.default(30,new s.default(23,15),new s.default(28,16))),new t(32,Int32Array.from([6,34,60,86,112,138]),new o.default(30,new s.default(17,115)),new o.default(28,new s.default(10,46),new s.default(23,47)),new o.default(30,new s.default(10,24),new s.default(35,25)),new o.default(30,new s.default(19,15),new s.default(35,16))),new t(33,Int32Array.from([6,30,58,86,114,142]),new o.default(30,new s.default(17,115),new s.default(1,116)),new o.default(28,new s.default(14,46),new s.default(21,47)),new o.default(30,new s.default(29,24),new s.default(19,25)),new o.default(30,new s.default(11,15),new s.default(46,16))),new t(34,Int32Array.from([6,34,62,90,118,146]),new o.default(30,new s.default(13,115),new s.default(6,116)),new o.default(28,new s.default(14,46),new s.default(23,47)),new o.default(30,new s.default(44,24),new s.default(7,25)),new o.default(30,new s.default(59,16),new s.default(1,17))),new t(35,Int32Array.from([6,30,54,78,102,126,150]),new o.default(30,new s.default(12,121),new s.default(7,122)),new o.default(28,new s.default(12,47),new s.default(26,48)),new o.default(30,new s.default(39,24),new s.default(14,25)),new o.default(30,new s.default(22,15),new s.default(41,16))),new t(36,Int32Array.from([6,24,50,76,102,128,154]),new o.default(30,new s.default(6,121),new s.default(14,122)),new o.default(28,new s.default(6,47),new s.default(34,48)),new o.default(30,new s.default(46,24),new s.default(10,25)),new o.default(30,new s.default(2,15),new s.default(64,16))),new t(37,Int32Array.from([6,28,54,80,106,132,158]),new o.default(30,new s.default(17,122),new s.default(4,123)),new o.default(28,new s.default(29,46),new s.default(14,47)),new o.default(30,new s.default(49,24),new s.default(10,25)),new o.default(30,new s.default(24,15),new s.default(46,16))),new t(38,Int32Array.from([6,32,58,84,110,136,162]),new o.default(30,new s.default(4,122),new s.default(18,123)),new o.default(28,new s.default(13,46),new s.default(32,47)),new o.default(30,new s.default(48,24),new s.default(14,25)),new o.default(30,new s.default(42,15),new s.default(32,16))),new t(39,Int32Array.from([6,26,54,82,110,138,166]),new o.default(30,new s.default(20,117),new s.default(4,118)),new o.default(28,new s.default(40,47),new s.default(7,48)),new o.default(30,new s.default(43,24),new s.default(22,25)),new o.default(30,new s.default(10,15),new s.default(67,16))),new t(40,Int32Array.from([6,30,58,86,114,142,170]),new o.default(30,new s.default(19,118),new s.default(6,119)),new o.default(28,new s.default(18,47),new s.default(31,48)),new o.default(30,new s.default(34,24),new s.default(34,25)),new o.default(30,new s.default(20,15),new s.default(61,16)))],t}()},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(37);e.default=function(){function t(t){this.bytes=t,this.byteOffset=0,this.bitOffset=0}return t.prototype.getBitOffset=function(){return this.bitOffset},t.prototype.getByteOffset=function(){return this.byteOffset},t.prototype.readBits=function(t){if(t<1||t>32||t>this.available())throw new r.default(""+t);var e=0,n=this.bitOffset,i=this.byteOffset,o=this.bytes;if(n>0){var s=8-n,a=t<s?t:s;e=(o[i]&255>>8-a<<(u=s-a))>>u,t-=a,8===(n+=a)&&(n=0,i++)}if(t>0){for(;t>=8;)e=e<<8|255&o[i],i++,t-=8;if(t>0){var u;e=e<<t|(o[i]&255>>(u=8-t)<<u)>>u,n+=t}}return this.bitOffset=n,this.byteOffset=i,e},t.prototype.available=function(){return 8*(this.bytes.length-this.byteOffset)-this.bitOffset},t}()},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(t,e,n,r,i,o){void 0===i&&(i=-1),void 0===o&&(o=-1),this.rawBytes=t,this.text=e,this.byteSegments=n,this.ecLevel=r,this.structuredAppendSequenceNumber=i,this.structuredAppendParity=o,this.numBits=void 0===t||null===t?0:8*t.length}return t.prototype.getRawBytes=function(){return this.rawBytes},t.prototype.getNumBits=function(){return this.numBits},t.prototype.setNumBits=function(t){this.numBits=t},t.prototype.getText=function(){return this.text},t.prototype.getByteSegments=function(){return this.byteSegments},t.prototype.getECLevel=function(){return this.ecLevel},t.prototype.getErrorsCorrected=function(){return this.errorsCorrected},t.prototype.setErrorsCorrected=function(t){this.errorsCorrected=t},t.prototype.getErasures=function(){return this.erasures},t.prototype.setErasures=function(t){this.erasures=t},t.prototype.getOther=function(){return this.other},t.prototype.setOther=function(t){this.other=t},t.prototype.hasStructuredAppend=function(){return this.structuredAppendParity>=0&&this.structuredAppendSequenceNumber>=0},t.prototype.getStructuredAppendParity=function(){return this.structuredAppendParity},t.prototype.getStructuredAppendSequenceNumber=function(){return this.structuredAppendSequenceNumber},t}();e.default=r},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(326),i=n(161);e.default=function(){function t(){}return t.decode=function(t,e){var n=this.encodingName(e);return"undefined"==typeof TextDecoder?this.decodeFallback(t,n):new TextDecoder(n).decode(t)},t.encode=function(e,n){if(!t.isBrowser()){return new TextEncoder(this.encodingName(n),{NONSTANDARD_allowLegacyEncoding:!0}).encode(e)}return"undefined"==typeof TextEncoder?this.encodeFallback(e):(new TextEncoder).encode(e)},t.isBrowser=function(){return"undefined"!=typeof window&&"[object Window]"==={}.toString.call(window)},t.encodingName=function(t){return"string"==typeof t?t:t.getName()},t.encodingCharacterSet=function(t){return i.default.getCharacterSetECIByName(this.encodingName(t))},t.decodeFallback=function(t,e){var n=this.encodingCharacterSet(e);if(n.equals(i.default.UTF8)||n.equals(i.default.ISO8859_1)||n.equals(i.default.ASCII)){for(var o="",s=0,a=t.length;s<a;s++){var u=t[s].toString(16);u.length<2&&(u="0"+u),o+="%"+u}return decodeURIComponent(o)}if(n.equals(i.default.UnicodeBigUnmarked))return String.fromCharCode.apply(null,new Uint16Array(t.buffer));throw new r.default("Encoding "+this.encodingName(e)+" not supported by fallback.")},t.encodeFallback=function(t){for(var e=btoa(unescape(encodeURIComponent(t))).split(""),n=[],r=0;r<e.length;r++)n.push(e[r].charCodeAt(0));return new Uint8Array(n)},t}()},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default=function(){function t(t,e){this.bits=t,this.points=e}return t.prototype.getBits=function(){return this.bits},t.prototype.getPoints=function(){return this.points},t}()},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(685);e.default=function(){function t(){}return t.setGridSampler=function(e){t.gridSampler=e},t.getInstance=function(){return t.gridSampler},t.gridSampler=new r.default,t}()},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default=function(){function t(t,e,n,r,i,o,s,a,u){this.a11=t,this.a21=e,this.a31=n,this.a12=r,this.a22=i,this.a32=o,this.a13=s,this.a23=a,this.a33=u}return t.quadrilateralToQuadrilateral=function(e,n,r,i,o,s,a,u,l,c,d,h,f,p,m,_){var g=t.quadrilateralToSquare(e,n,r,i,o,s,a,u);return t.squareToQuadrilateral(l,c,d,h,f,p,m,_).times(g)},t.prototype.transformPoints=function(t){for(var e=t.length,n=this.a11,r=this.a12,i=this.a13,o=this.a21,s=this.a22,a=this.a23,u=this.a31,l=this.a32,c=this.a33,d=0;d<e;d+=2){var h=t[d],f=t[d+1],p=i*h+a*f+c;t[d]=(n*h+o*f+u)/p,t[d+1]=(r*h+s*f+l)/p}},t.prototype.transformPointsWithValues=function(t,e){for(var n=this.a11,r=this.a12,i=this.a13,o=this.a21,s=this.a22,a=this.a23,u=this.a31,l=this.a32,c=this.a33,d=t.length,h=0;h<d;h++){var f=t[h],p=e[h],m=i*f+a*p+c;t[h]=(n*f+o*p+u)/m,e[h]=(r*f+s*p+l)/m}},t.squareToQuadrilateral=function(e,n,r,i,o,s,a,u){var l=e-r+o-a,c=n-i+s-u;if(0===l&&0===c)return new t(r-e,o-r,e,i-n,s-i,n,0,0,1);var d=r-o,h=a-o,f=i-s,p=u-s,m=d*p-h*f,_=(l*p-h*c)/m,g=(d*c-l*f)/m;return new t(r-e+_*r,a-e+g*a,e,i-n+_*i,u-n+g*u,n,_,g,1)},t.quadrilateralToSquare=function(e,n,r,i,o,s,a,u){return t.squareToQuadrilateral(e,n,r,i,o,s,a,u).buildAdjoint()},t.prototype.buildAdjoint=function(){return new t(this.a22*this.a33-this.a23*this.a32,this.a23*this.a31-this.a21*this.a33,this.a21*this.a32-this.a22*this.a31,this.a13*this.a32-this.a12*this.a33,this.a11*this.a33-this.a13*this.a31,this.a12*this.a31-this.a11*this.a32,this.a12*this.a23-this.a13*this.a22,this.a13*this.a21-this.a11*this.a23,this.a11*this.a22-this.a12*this.a21)},t.prototype.times=function(e){return new t(this.a11*e.a11+this.a21*e.a12+this.a31*e.a13,this.a11*e.a21+this.a21*e.a22+this.a31*e.a23,this.a11*e.a31+this.a21*e.a32+this.a31*e.a33,this.a12*e.a11+this.a22*e.a12+this.a32*e.a13,this.a12*e.a21+this.a22*e.a22+this.a32*e.a23,this.a12*e.a31+this.a22*e.a32+this.a32*e.a33,this.a13*e.a11+this.a23*e.a12+this.a33*e.a13,this.a13*e.a21+this.a23*e.a22+this.a33*e.a23,this.a13*e.a31+this.a23*e.a32+this.a33*e.a33)},t}()},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1238),i=n(84),o=n(45),s=n(62),a=n(116),u=n(83),l=n(1243),c=n(74),d=n(35);e.default=function(){function t(){this.decoder=new r.default}return t.prototype.decode=function(e,n){void 0===n&&(n=null);var r,u;if(null!=n&&n.has(s.default.PURE_BARCODE)){var d=t.extractPureBits(e.getBlackMatrix());r=this.decoder.decode(d),u=t.NO_POINTS}else{var h=new l.default(e.getBlackMatrix()).detect();r=this.decoder.decode(h.getBits()),u=h.getPoints()}var f=r.getRawBytes(),p=new i.default(r.getText(),f,8*f.length,u,o.default.DATA_MATRIX,c.default.currentTimeMillis()),m=r.getByteSegments();null!=m&&p.putMetadata(a.default.BYTE_SEGMENTS,m);var _=r.getECLevel();return null!=_&&p.putMetadata(a.default.ERROR_CORRECTION_LEVEL,_),p},t.prototype.reset=function(){},t.extractPureBits=function(t){var e=t.getTopLeftOnBit(),n=t.getBottomRightOnBit();if(null==e||null==n)throw new d.default;var r=this.moduleSize(e,t),i=e[1],o=e[0],s=(n[0]-o+1)/r,a=(n[1]-i+1)/r;if(s<=0||a<=0)throw new d.default;var l=r/2;i+=l,o+=l;for(var c=new u.default(s,a),h=0;h<a;h++)for(var f=i+h*r,p=0;p<s;p++)t.get(o+p*r,f)&&c.set(p,h);return c},t.moduleSize=function(t,e){for(var n=e.getWidth(),r=t[0],i=t[1];r<n&&e.get(r,i);)r++;if(r===n)throw new d.default;var o=r-t[0];if(0===o)throw new d.default;return o},t.NO_POINTS=[],t}()},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(220),i=n(127),o=n(161),s=n(128),a=n(688),u=n(684),l=n(331),c=n(689),d=n(1245),h=n(340),f=n(1246),p=n(334),m=n(1247),_=n(341),g=function(){function t(){}return t.calculateMaskPenalty=function(t){return c.default.applyMaskPenaltyRule1(t)+c.default.applyMaskPenaltyRule2(t)+c.default.applyMaskPenaltyRule3(t)+c.default.applyMaskPenaltyRule4(t)},t.encode=function(e,n,s){void 0===s&&(s=null);var a=t.DEFAULT_BYTE_MODE_ENCODING,c=null!==s&&void 0!==s.get(r.default.CHARACTER_SET);c&&(a=s.get(r.default.CHARACTER_SET).toString());var p=this.chooseMode(e,a),m=new i.default;if(p===u.default.BYTE&&(c||t.DEFAULT_BYTE_MODE_ENCODING!==a)){var g=o.default.getCharacterSetECIByName(a);void 0!==g&&this.appendECI(g,m)}this.appendModeInfo(p,m);var v=new i.default;this.appendBytes(e,p,v,a);var y;if(null!==s&&void 0!==s.get(r.default.QR_VERSION)){var b=Number.parseInt(s.get(r.default.QR_VERSION).toString(),10);y=l.default.getVersionForNumber(b);var w=this.calculateBitsNeeded(p,m,v,y);if(!this.willFit(w,y,n))throw new _.default("Data too big for requested version")}else y=this.recommendVersion(n,p,m,v);var S=new i.default;S.appendBitArray(m);var T=p===u.default.BYTE?v.getSizeInBytes():e.length;this.appendLengthInfo(T,y,p,S),S.appendBitArray(v);var E=y.getECBlocksForLevel(n),M=y.getTotalCodewords()-E.getTotalECCodewords();this.terminateBits(M,S);var x=this.interleaveWithECBytes(S,y.getTotalCodewords(),M,E.getNumBlocks()),C=new h.default;C.setECLevel(n),C.setMode(p),C.setVersion(y);var O=y.getDimensionForVersion(),D=new d.default(O,O),k=this.chooseMaskPattern(x,n,y,D);return C.setMaskPattern(k),f.default.buildMatrix(x,n,y,k,D),C.setMatrix(D),C},t.recommendVersion=function(t,e,n,r){var i=this.calculateBitsNeeded(e,n,r,l.default.getVersionForNumber(1)),o=this.chooseVersion(i,t),s=this.calculateBitsNeeded(e,n,r,o);return this.chooseVersion(s,t)},t.calculateBitsNeeded=function(t,e,n,r){return e.getSize()+t.getCharacterCountBits(r)+n.getSize()},t.getAlphanumericCode=function(e){return e<t.ALPHANUMERIC_TABLE.length?t.ALPHANUMERIC_TABLE[e]:-1},t.chooseMode=function(e,n){if(void 0===n&&(n=null),o.default.SJIS.getName()===n&&this.isOnlyDoubleByteKanji(e))return u.default.KANJI;for(var r=!1,i=!1,s=0,a=e.length;s<a;++s){var l=e.charAt(s);if(t.isDigit(l))r=!0;else{if(-1===this.getAlphanumericCode(l.charCodeAt(0)))return u.default.BYTE;i=!0}}return i?u.default.ALPHANUMERIC:r?u.default.NUMERIC:u.default.BYTE},t.isOnlyDoubleByteKanji=function(t){var e;try{e=p.default.encode(t,o.default.SJIS)}catch(t){return!1}var n=e.length;if(n%2!=0)return!1;for(var r=0;r<n;r+=2){var i=255&e[r];if((i<129||i>159)&&(i<224||i>235))return!1}return!0},t.chooseMaskPattern=function(t,e,n,r){for(var i=Number.MAX_SAFE_INTEGER,o=-1,s=0;s<h.default.NUM_MASK_PATTERNS;s++){f.default.buildMatrix(t,e,n,s,r);var a=this.calculateMaskPenalty(r);a<i&&(i=a,o=s)}return o},t.chooseVersion=function(e,n){for(var r=1;r<=40;r++){var i=l.default.getVersionForNumber(r);if(t.willFit(e,i,n))return i}throw new _.default("Data too big")},t.willFit=function(t,e,n){return e.getTotalCodewords()-e.getECBlocksForLevel(n).getTotalECCodewords()>=(t+7)/8},t.terminateBits=function(t,e){var n=8*t;if(e.getSize()>n)throw new _.default("data bits cannot fit in the QR Code"+e.getSize()+" > "+n);for(var r=0;r<4&&e.getSize()<n;++r)e.appendBit(!1);var i=7&e.getSize();if(i>0)for(r=i;r<8;r++)e.appendBit(!1);var o=t-e.getSizeInBytes();for(r=0;r<o;++r)e.appendBits(0==(1&r)?236:17,8);if(e.getSize()!==n)throw new _.default("Bits size does not equal capacity")},t.getNumDataBytesAndNumECBytesForBlockID=function(t,e,n,r,i,o){if(r>=n)throw new _.default("Block ID too large");var s=t%n,a=n-s,u=Math.floor(t/n),l=u+1,c=Math.floor(e/n),d=c+1,h=u-c,f=l-d;if(h!==f)throw new _.default("EC bytes mismatch");if(n!==a+s)throw new _.default("RS blocks mismatch");if(t!==(c+h)*a+(d+f)*s)throw new _.default("Total bytes mismatch");r<a?(i[0]=c,o[0]=h):(i[0]=d,o[0]=f)},t.interleaveWithECBytes=function(e,n,r,o){if(e.getSizeInBytes()!==r)throw new _.default("Number of bits and data bytes does not match");for(var s=0,a=0,u=0,l=new Array,c=0;c<o;++c){var d=new Int32Array(1),h=new Int32Array(1);t.getNumDataBytesAndNumECBytesForBlockID(n,r,o,c,d,h);var f=d[0],p=new Uint8Array(f);e.toBytes(8*s,p,0,f);var g=t.generateECBytes(p,h[0]);l.push(new m.default(p,g)),a=Math.max(a,f),u=Math.max(u,g.length),s+=d[0]}if(r!==s)throw new _.default("Data bytes does not match offset");var v=new i.default;for(c=0;c<a;++c)for(var y=0,b=l;y<b.length;y++){c<(p=b[y].getDataBytes()).length&&v.appendBits(p[c],8)}for(c=0;c<u;++c)for(var w=0,S=l;w<S.length;w++){c<(g=S[w].getErrorCorrectionBytes()).length&&v.appendBits(g[c],8)}if(n!==v.getSizeInBytes())throw new _.default("Interleaving error: "+n+" and "+v.getSizeInBytes()+" differ.");return v},t.generateECBytes=function(t,e){for(var n=t.length,r=new Int32Array(n+e),i=0;i<n;i++)r[i]=255&t[i];new a.default(s.default.QR_CODE_FIELD_256).encode(r,e);var o=new Uint8Array(e);for(i=0;i<e;i++)o[i]=r[n+i];return o},t.appendModeInfo=function(t,e){e.appendBits(t.getBits(),4)},t.appendLengthInfo=function(t,e,n,r){var i=n.getCharacterCountBits(e);if(t>=1<<i)throw new _.default(t+" is bigger than "+((1<<i)-1));r.appendBits(t,i)},t.appendBytes=function(e,n,r,i){switch(n){case u.default.NUMERIC:t.appendNumericBytes(e,r);break;case u.default.ALPHANUMERIC:t.appendAlphanumericBytes(e,r);break;case u.default.BYTE:t.append8BitBytes(e,r,i);break;case u.default.KANJI:t.appendKanjiBytes(e,r);break;default:throw new _.default("Invalid mode: "+n)}},t.getDigit=function(t){return t.charCodeAt(0)-48},t.isDigit=function(e){var n=t.getDigit(e);return n>=0&&n<=9},t.appendNumericBytes=function(e,n){for(var r=e.length,i=0;i<r;){var o=t.getDigit(e.charAt(i));if(i+2<r){var s=t.getDigit(e.charAt(i+1)),a=t.getDigit(e.charAt(i+2));n.appendBits(100*o+10*s+a,10),i+=3}else if(i+1<r){s=t.getDigit(e.charAt(i+1));n.appendBits(10*o+s,7),i+=2}else n.appendBits(o,4),i++}},t.appendAlphanumericBytes=function(e,n){for(var r=e.length,i=0;i<r;){var o=t.getAlphanumericCode(e.charCodeAt(i));if(-1===o)throw new _.default;if(i+1<r){var s=t.getAlphanumericCode(e.charCodeAt(i+1));if(-1===s)throw new _.default;n.appendBits(45*o+s,11),i+=2}else n.appendBits(o,6),i++}},t.append8BitBytes=function(t,e,n){var r;try{r=p.default.encode(t,n)}catch(t){throw new _.default(t)}for(var i=0,o=r.length;i!==o;i++){e.appendBits(r[i],8)}},t.appendKanjiBytes=function(t,e){var n;try{n=p.default.encode(t,o.default.SJIS)}catch(t){throw new _.default(t)}for(var r=n.length,i=0;i<r;i+=2){var s=(255&n[i])<<8&4294967295|255&n[i+1],a=-1;if(s>=33088&&s<=40956?a=s-33088:s>=57408&&s<=60351&&(a=s-49472),-1===a)throw new _.default("Invalid byte sequence");e.appendBits(192*(a>>8)+(255&a),13)}},t.appendECI=function(t,e){e.appendBits(u.default.ECI.getBits(),4),e.appendBits(t.getValue(),8)},t.ALPHANUMERIC_TABLE=Int32Array.from([-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,36,-1,-1,-1,37,38,-1,-1,-1,-1,39,40,-1,41,42,43,0,1,2,3,4,5,6,7,8,9,44,-1,-1,-1,-1,-1,-1,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,-1,-1,-1,-1,-1]),t.DEFAULT_BYTE_MODE_ENCODING=o.default.UTF8.getName(),t}();e.default=g},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(105);e.default=function(){function t(){this.maskPattern=-1}return t.prototype.getMode=function(){return this.mode},t.prototype.getECLevel=function(){return this.ecLevel},t.prototype.getVersion=function(){return this.version},t.prototype.getMaskPattern=function(){return this.maskPattern},t.prototype.getMatrix=function(){return this.matrix},t.prototype.toString=function(){var t=new r.default;return t.append("<<\n"),t.append(" mode: "),t.append(this.mode?this.mode.toString():"null"),t.append("\n ecLevel: "),t.append(this.ecLevel?this.ecLevel.toString():"null"),t.append("\n version: "),t.append(this.version?this.version.toString():"null"),t.append("\n maskPattern: "),t.append(this.maskPattern.toString()),this.matrix?(t.append("\n matrix:\n"),t.append(this.matrix.toString())):t.append("\n matrix: null\n"),t.append(">>\n"),t.toString()},t.prototype.setMode=function(t){this.mode=t},t.prototype.setECLevel=function(t){this.ecLevel=t},t.prototype.setVersion=function(t){this.version=t},t.prototype.setMaskPattern=function(t){this.maskPattern=t},t.prototype.setMatrix=function(t){this.matrix=t},t.isValidMaskPattern=function(e){return e>=0&&e<t.NUM_MASK_PATTERNS},t.NUM_MASK_PATTERNS=8,t}()},function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var i=n(69);e.default=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e}(i.default)},function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var i=n(45),o=n(690),s=n(691),a=n(692),u=n(62),l=n(694),c=n(1253),d=n(35),h=n(88);e.default=function(t){function e(e){var n=t.call(this)||this;n.readers=[];var r=e?e.get(u.default.POSSIBLE_FORMATS):null,d=e&&void 0!==e.get(u.default.ASSUME_CODE_39_CHECK_DIGIT);return r&&((r.includes(i.default.EAN_13)||r.includes(i.default.EAN_8))&&n.readers.push(new c.default(e)),r.includes(i.default.CODE_39)&&n.readers.push(new o.default(d)),r.includes(i.default.CODE_128)&&n.readers.push(new s.default),r.includes(i.default.ITF)&&n.readers.push(new l.default),r.includes(i.default.RSS_14)&&n.readers.push(new a.default)),0===n.readers.length&&(n.readers.push(new o.default),n.readers.push(new c.default(e)),n.readers.push(new s.default),n.readers.push(new l.default),n.readers.push(new a.default)),n}return r(e,t),e.prototype.decodeRow=function(t,e,n){for(var r=0;r<this.readers.length;r++)try{return this.readers[r].decodeRow(t,e,n)}catch(t){}throw new d.default},e.prototype.reset=function(){this.readers.forEach(function(t){return t.reset()})},e}(h.default)},,,,function(t,e,n){"use strict";n.d(e,"a",function(){return C}),n.d(e,"c",function(){return v}),n.d(e,"d",function(){return y}),n.d(e,"e",function(){return b}),n.d(e,"b",function(){return M}),n.d(e,"f",function(){return x});var r=n(0),i=n(19),o=n(1),s=n(28),a=(n.n(s),n(1215)),u=n.n(a),l={Min:0,Max:1};l[l.Min]="Min",l[l.Max]="Max";var c={Low:0,High:1,Floor:2,Ceil:3,TickValue:4};c[c.Low]="Low",c[c.High]="High",c[c.Floor]="Floor",c[c.Ceil]="Ceil",c[c.TickValue]="TickValue";var d=function(){return function(){this.floor=0,this.ceil=null,this.step=1,this.minRange=null,this.maxRange=null,this.pushRange=!1,this.minLimit=null,this.maxLimit=null,this.translate=null,this.combineLabels=null,this.getLegend=null,this.stepsArray=null,this.bindIndexForStepsArray=!1,this.draggableRange=!1,this.draggableRangeOnly=!1,this.showSelectionBar=!1,this.showSelectionBarEnd=!1,this.showSelectionBarFromValue=null,this.showOuterSelectionBars=!1,this.hidePointerLabels=!1,this.hideLimitLabels=!1,this.autoHideLimitLabels=!0,this.readOnly=!1,this.disabled=!1,this.mouseEventsInterval=50,this.touchEventsInterval=50,this.inputEventsInterval=100,this.outputEventsInterval=100,this.showTicks=!1,this.showTicksValues=!1,this.tickStep=null,this.tickValueStep=1,this.ticksArray=null,this.ticksTooltip=null,this.ticksValuesTooltip=null,this.vertical=!1,this.getSelectionBarColor=null,this.getTickColor=null,this.getPointerColor=null,this.keyboardSupport=!0,this.scale=1,this.enforceStep=!0,this.enforceRange=!0,this.noSwitching=!1,this.onlyBindHandles=!1,this.rightToLeft=!1,this.reversedControls=!1,this.boundPointerLabels=!0,this.logScale=!1,this.customValueToPosition=null,this.customPositionToValue=null,this.precisionLimit=12,this.selectionBarGradient=null,this.ariaLabel=null,this.ariaLabelledBy=null,this.ariaLabelHigh=null,this.ariaLabelledByHigh=null,this.handleDimension=null,this.barDimension=null,this.animate=!0}}(),h=function(){return function(){}}(),f=function(){function t(){}return t.isNullOrUndefined=function(t){return void 0===t||null===t},t.linearValueToPosition=function(t,e,n){return(t-e)/(n-e)},t.logValueToPosition=function(t,e,n){return((t=Math.log(t))-(e=Math.log(e)))/((n=Math.log(n))-e)},t.linearPositionToValue=function(t,e,n){return t*(n-e)+e},t.logPositionToValue=function(t,e,n){e=Math.log(e);var r=t*((n=Math.log(n))-e)+e;return Math.exp(r)},t.findStepIndex=function(t,e){for(var n=e.map(function(e){return Math.abs(t-e.value)}),r=0,i=0;i<e.length;i++)n[i]!==n[r]&&n[i]<n[r]&&(r=i);return r},t}(),p=function(){function t(){}return t.isTouchEvent=function(t){return void 0!==window.TouchEvent?t instanceof TouchEvent:void 0!==t.touches},t.isResizeObserverAvailable=function(){return void 0!==window.ResizeObserver},t}(),m=function(){function t(){}return t.roundToPrecisionLimit=function(t,e){return+t.toPrecision(e)},t.clampToRange=function(t,e,n){return Math.min(Math.max(t,e),n)},t}(),_=function(){return function(){this.eventName=null,this.events=null,this.eventsSubscription=null,this.teardownCallback=null}}(),g=function(){function t(t){this.renderer=t}return t.prototype.attachPassiveEventListener=function(t,e,n,r){if(!0!==u.a.hasSupport)return this.attachEventListener(t,e,n,r);var o=new _;o.eventName=e,o.events=new i.Subject;var a=function(t){o.events.next(t)};return t.addEventListener(e,a,{passive:!0,capture:!1}),o.teardownCallback=function(){t.removeEventListener(e,a,{passive:!0,capture:!1})},o.eventsSubscription=o.events.pipe(f.isNullOrUndefined(r)?Object(s.tap)(function(){}):Object(s.throttleTime)(r,void 0,{leading:!0,trailing:!0})).subscribe(function(t){n(t)}),o},t.prototype.detachEventListener=function(t){f.isNullOrUndefined(t.eventsSubscription)||(t.eventsSubscription.unsubscribe(),t.eventsSubscription=null),f.isNullOrUndefined(t.events)||(t.events.complete(),t.events=null),f.isNullOrUndefined(t.teardownCallback)||(t.teardownCallback(),t.teardownCallback=null)},t.prototype.attachEventListener=function(t,e,n,r){var o=new _;o.eventName=e,o.events=new i.Subject;return o.teardownCallback=this.renderer.listen(t,e,function(t){o.events.next(t)}),o.eventsSubscription=o.events.pipe(f.isNullOrUndefined(r)?Object(s.tap)(function(){}):Object(s.throttleTime)(r,void 0,{leading:!0,trailing:!0})).subscribe(function(t){n(t)}),o},t}(),v=function(){function t(t,e){this.elemRef=t,this.renderer=e,this._position=0,this._dimension=0,this._alwaysHide=!1,this._vertical=!1,this._scale=1,this.opacity=1,this.visibility="visible",this.left="",this.bottom="",this.height="",this.width="",this.eventListeners=[],this.eventListenerHelper=new g(this.renderer)}return Object.defineProperty(t.prototype,"position",{get:function(){return this._position},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"dimension",{get:function(){return this._dimension},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"alwaysHide",{get:function(){return this._alwaysHide},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"vertical",{get:function(){return this._vertical},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"scale",{get:function(){return this._scale},enumerable:!0,configurable:!0}),t.prototype.setAlwaysHide=function(t){this._alwaysHide=t,this.visibility=t?"hidden":"visible"},t.prototype.hide=function(){this.opacity=0},t.prototype.show=function(){this.alwaysHide||(this.opacity=1)},t.prototype.isVisible=function(){return!this.alwaysHide&&0!==this.opacity},t.prototype.setVertical=function(t){this._vertical=t,this._vertical?(this.left="",this.width=""):(this.bottom="",this.height="")},t.prototype.setScale=function(t){this._scale=t},t.prototype.setPosition=function(t){this._position=t,this._vertical?this.bottom=Math.round(t)+"px":this.left=Math.round(t)+"px"},t.prototype.calculateDimension=function(){var t=this.getBoundingClientRect();this._dimension=this.vertical?(t.bottom-t.top)*this.scale:(t.right-t.left)*this.scale},t.prototype.setDimension=function(t){this._dimension=t,this._vertical?this.height=Math.round(t)+"px":this.width=Math.round(t)+"px"},t.prototype.getBoundingClientRect=function(){return this.elemRef.nativeElement.getBoundingClientRect()},t.prototype.on=function(t,e,n){var r=this.eventListenerHelper.attachEventListener(this.elemRef.nativeElement,t,e,n);this.eventListeners.push(r)},t.prototype.onPassive=function(t,e,n){var r=this.eventListenerHelper.attachPassiveEventListener(this.elemRef.nativeElement,t,e,n);this.eventListeners.push(r)},t.prototype.off=function(t){var e,n;f.isNullOrUndefined(t)?(e=[],n=this.eventListeners):(e=this.eventListeners.filter(function(e){return e.eventName!==t}),n=this.eventListeners.filter(function(e){return e.eventName===t}));try{for(var i=Object(r.__values)(n),o=i.next();!o.done;o=i.next()){this.eventListenerHelper.detachEventListener(o.value)}}catch(t){s={error:t}}finally{try{o&&!o.done&&(a=i.return)&&a.call(i)}finally{if(s)throw s.error}}this.eventListeners=e;var s,a},t}(),y=function(t){function e(e,n){var r=t.call(this,e,n)||this;return r.active=!1,r.role="",r.tabindex="",r.ariaOrientation="",r.ariaLabel="",r.ariaLabelledBy="",r.ariaValueNow="",r.ariaValueText="",r.ariaValueMin="",r.ariaValueMax="",r}return Object(r.__extends)(e,t),e.prototype.focus=function(){this.elemRef.nativeElement.focus()},e}(v),b=function(t){function e(e,n){var r=t.call(this,e,n)||this;return r._value=null,r}return Object(r.__extends)(e,t),Object.defineProperty(e.prototype,"value",{get:function(){return this._value},enumerable:!0,configurable:!0}),e.prototype.setValue=function(t){var e=!1;!this.alwaysHide&&(f.isNullOrUndefined(this.value)||this.value.length!==t.length||this.value.length>0&&0===this.dimension)&&(e=!0),this._value=t,this.elemRef.nativeElement.innerHTML=t,e&&this.calculateDimension()},e}(v),w=function(){return function(){this.selected=!1,this.style={},this.tooltip=null,this.tooltipPlacement=null,this.value=null,this.valueTooltip=null,this.valueTooltipPlacement=null,this.legend=null}}(),S=function(){return function(){this.active=!1,this.value=0,this.difference=0,this.position=0,this.lowLimit=0,this.highLimit=0}}(),T=function(){function t(){}return t.compare=function(t,e){return(!f.isNullOrUndefined(t)||!f.isNullOrUndefined(e))&&(f.isNullOrUndefined(t)===f.isNullOrUndefined(e)&&(t.value===e.value&&t.highValue===e.highValue))},t}(),E=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r.__extends)(e,t),e.compare=function(t,e){return(!f.isNullOrUndefined(t)||!f.isNullOrUndefined(e))&&(f.isNullOrUndefined(t)===f.isNullOrUndefined(e)&&(t.value===e.value&&t.highValue===e.highValue&&t.forceChange===e.forceChange))},e}(T),M=(Object(o.forwardRef)(function(){return M}),function(){function t(t,e,n,r){this.renderer=t,this.elementRef=e,this.changeDetectionRef=n,this.zone=r,this.value=null,this.valueChange=new o.EventEmitter,this.highValue=null,this.highValueChange=new o.EventEmitter,this.options=new d,this.userChangeStart=new o.EventEmitter,this.userChange=new o.EventEmitter,this.userChangeEnd=new o.EventEmitter,this.initHasRun=!1,this.inputModelChangeSubject=new i.Subject,this.inputModelChangeSubscription=null,this.outputModelChangeSubject=new i.Subject,this.outputModelChangeSubscription=null,this.viewLowValue=null,this.viewHighValue=null,this.viewOptions=new d,this.handleHalfDimension=0,this.maxHandlePosition=0,this.currentTrackingPointer=null,this.currentFocusPointer=null,this.firstKeyDown=!1,this.touchId=null,this.dragging=new S,this.sliderElementVerticalClass=!1,this.sliderElementAnimateClass=!1,this.sliderElementDisabledAttr=null,this.barStyle={},this.minPointerStyle={},this.maxPointerStyle={},this.fullBarTransparentClass=!1,this.selectionBarDraggableClass=!1,this.ticksUnderValuesClass=!1,this.intermediateTicks=!1,this.ticks=[],this.eventListenerHelper=null,this.onMoveEventListener=null,this.onEndEventListener=null,this.resizeObserver=null,this.onTouchedCallback=null,this.onChangeCallback=null,this.eventListenerHelper=new g(this.renderer)}return Object.defineProperty(t.prototype,"manualRefresh",{set:function(t){var e=this;this.unsubscribeManualRefresh(),this.manualRefreshSubscription=t.subscribe(function(){setTimeout(function(){return e.calculateViewDimensionsAndDetectChanges()})})},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"triggerFocus",{set:function(t){var e=this;this.unsubscribeTriggerFocus(),this.triggerFocusSubscription=t.subscribe(function(t){e.focusPointer(t)})},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"range",{get:function(){return!f.isNullOrUndefined(this.value)&&!f.isNullOrUndefined(this.highValue)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"showTicks",{get:function(){return this.viewOptions.showTicks},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){this.viewOptions=new d,Object.assign(this.viewOptions,this.options),this.updateDisabledState(),this.updateVerticalState()},t.prototype.ngAfterViewInit=function(){this.applyOptions(),this.subscribeInputModelChangeSubject(this.viewOptions.inputEventsInterval),this.subscribeOutputModelChangeSubject(this.viewOptions.outputEventsInterval),this.renormaliseModelValues(),this.viewLowValue=this.modelValueToViewValue(this.value),this.viewHighValue=this.range?this.modelValueToViewValue(this.highValue):null,this.updateVerticalState(),this.manageElementsStyle(),this.updateDisabledState(),this.calculateViewDimensions(),this.addAccessibility(),this.updateCeilLabel(),this.updateFloorLabel(),this.initHandles(),this.manageEventsBindings(),this.subscribeResizeObserver(),this.initHasRun=!0,this.changeDetectionRef.detectChanges()},t.prototype.ngOnChanges=function(t){f.isNullOrUndefined(t.options)||this.onChangeOptions(),f.isNullOrUndefined(t.value)&&f.isNullOrUndefined(t.highValue)||this.inputModelChangeSubject.next({value:this.value,highValue:this.highValue,forceChange:!1,internalChange:!1})},t.prototype.ngOnDestroy=function(){this.unbindEvents(),this.unsubscribeResizeObserver(),this.unsubscribeInputModelChangeSubject(),this.unsubscribeOutputModelChangeSubject(),this.unsubscribeManualRefresh(),this.unsubscribeTriggerFocus()},t.prototype.writeValue=function(t){t instanceof Array?(this.value=t[0],this.highValue=t[1]):this.value=t,this.inputModelChangeSubject.next({value:this.value,highValue:this.highValue,forceChange:!1,internalChange:!1})},t.prototype.registerOnChange=function(t){this.onChangeCallback=t},t.prototype.registerOnTouched=function(t){this.onTouchedCallback=t},t.prototype.setDisabledState=function(t){this.viewOptions.disabled=t,this.updateDisabledState()},t.prototype.onResize=function(t){this.calculateViewDimensionsAndDetectChanges()},t.prototype.subscribeInputModelChangeSubject=function(t){var e=this;this.inputModelChangeSubscription=this.inputModelChangeSubject.pipe(Object(s.distinctUntilChanged)(E.compare),Object(s.filter)(function(t){return!t.forceChange&&!t.internalChange}),f.isNullOrUndefined(t)?Object(s.tap)(function(){}):Object(s.throttleTime)(t,void 0,{leading:!0,trailing:!0})).subscribe(function(t){return e.applyInputModelChange(t)})},t.prototype.subscribeOutputModelChangeSubject=function(t){var e=this;this.outputModelChangeSubscription=this.outputModelChangeSubject.pipe(Object(s.distinctUntilChanged)(E.compare),f.isNullOrUndefined(t)?Object(s.tap)(function(){}):Object(s.throttleTime)(t,void 0,{leading:!0,trailing:!0})).subscribe(function(t){return e.publishOutputModelChange(t)})},t.prototype.subscribeResizeObserver=function(){var t=this;p.isResizeObserverAvailable()&&(this.resizeObserver=new ResizeObserver(function(){return t.calculateViewDimensionsAndDetectChanges()}),this.resizeObserver.observe(this.elementRef.nativeElement))},t.prototype.unsubscribeResizeObserver=function(){p.isResizeObserverAvailable()&&null!==this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=null)},t.prototype.unsubscribeOnMove=function(){f.isNullOrUndefined(this.onMoveEventListener)||(this.eventListenerHelper.detachEventListener(this.onMoveEventListener),this.onMoveEventListener=null)},t.prototype.unsubscribeOnEnd=function(){f.isNullOrUndefined(this.onEndEventListener)||(this.eventListenerHelper.detachEventListener(this.onEndEventListener),this.onEndEventListener=null)},t.prototype.unsubscribeInputModelChangeSubject=function(){f.isNullOrUndefined(this.inputModelChangeSubscription)||(this.inputModelChangeSubscription.unsubscribe(),this.inputModelChangeSubscription=null)},t.prototype.unsubscribeOutputModelChangeSubject=function(){f.isNullOrUndefined(this.outputModelChangeSubscription)||(this.outputModelChangeSubscription.unsubscribe(),this.outputModelChangeSubscription=null)},t.prototype.unsubscribeManualRefresh=function(){f.isNullOrUndefined(this.manualRefreshSubscription)||(this.manualRefreshSubscription.unsubscribe(),this.manualRefreshSubscription=null)},t.prototype.unsubscribeTriggerFocus=function(){f.isNullOrUndefined(this.triggerFocusSubscription)||(this.triggerFocusSubscription.unsubscribe(),this.triggerFocusSubscription=null)},t.prototype.getPointerElement=function(t){return t===l.Min?this.minHandleElement:t===l.Max?this.maxHandleElement:null},t.prototype.getCurrentTrackingValue=function(){return this.currentTrackingPointer===l.Min?this.viewLowValue:this.currentTrackingPointer===l.Max?this.viewHighValue:null},t.prototype.modelValueToViewValue=function(t){return f.isNullOrUndefined(t)?NaN:f.isNullOrUndefined(this.viewOptions.stepsArray)||this.viewOptions.bindIndexForStepsArray?+t:f.findStepIndex(+t,this.viewOptions.stepsArray)},t.prototype.viewValueToModelValue=function(t){return f.isNullOrUndefined(this.viewOptions.stepsArray)||this.viewOptions.bindIndexForStepsArray?t:this.getStepValue(t)},t.prototype.getStepValue=function(t){var e=this.viewOptions.stepsArray[t];return f.isNullOrUndefined(e)?NaN:e.value},t.prototype.applyViewChange=function(){this.value=this.viewValueToModelValue(this.viewLowValue),this.range&&(this.highValue=this.viewValueToModelValue(this.viewHighValue)),this.outputModelChangeSubject.next({value:this.value,highValue:this.highValue,userEventInitiated:!0,forceChange:!1}),this.inputModelChangeSubject.next({value:this.value,highValue:this.highValue,forceChange:!1,internalChange:!0})},t.prototype.applyInputModelChange=function(t){var e=this.normaliseModelValues(t),n=!T.compare(t,e);n&&(this.value=e.value,this.highValue=e.highValue),this.viewLowValue=this.modelValueToViewValue(e.value),this.viewHighValue=this.range?this.modelValueToViewValue(e.highValue):null,this.updateLowHandle(this.valueToPosition(this.viewLowValue)),this.range&&this.updateHighHandle(this.valueToPosition(this.viewHighValue)),this.updateSelectionBar(),this.updateTicksScale(),this.updateAriaAttributes(),this.range&&this.updateCombinedLabel(),this.outputModelChangeSubject.next({value:e.value,highValue:e.highValue,forceChange:n,userEventInitiated:!1})},t.prototype.publishOutputModelChange=function(t){var e=this,n=function(){e.valueChange.emit(t.value),e.range&&e.highValueChange.emit(t.highValue),f.isNullOrUndefined(e.onChangeCallback)||e.onChangeCallback(e.range?[t.value,t.highValue]:t.value),f.isNullOrUndefined(e.onTouchedCallback)||e.onTouchedCallback(e.range?[t.value,t.highValue]:t.value)};t.userEventInitiated?(n(),this.userChange.emit(this.getChangeContext())):setTimeout(function(){n()})},t.prototype.normaliseModelValues=function(t){var e=new T;if(e.value=t.value,e.highValue=t.highValue,this.viewOptions.enforceStep&&(e.value=this.roundStep(e.value),this.range&&(e.highValue=this.roundStep(e.highValue))),!f.isNullOrUndefined(this.viewOptions.stepsArray)||!this.viewOptions.enforceRange)return e;if(e.value=m.clampToRange(e.value,this.viewOptions.floor,this.viewOptions.ceil),this.range&&(e.highValue=m.clampToRange(e.highValue,this.viewOptions.floor,this.viewOptions.ceil)),this.range&&t.value>t.highValue)if(this.viewOptions.noSwitching)e.value=e.highValue;else{var n=t.value;e.value=t.highValue,e.highValue=n}return e},t.prototype.renormaliseModelValues=function(){var t={value:this.value,highValue:this.highValue},e=this.normaliseModelValues(t);T.compare(e,t)||(this.value=e.value,this.highValue=e.highValue,this.outputModelChangeSubject.next({value:this.value,highValue:this.highValue,forceChange:!0,userEventInitiated:!1}))},t.prototype.onChangeOptions=function(){if(this.initHasRun){var t=this.viewOptions.inputEventsInterval,e=this.viewOptions.outputEventsInterval;this.applyOptions(),t!==this.viewOptions.inputEventsInterval&&(this.unsubscribeInputModelChangeSubject(),this.subscribeInputModelChangeSubject(this.viewOptions.inputEventsInterval)),e!==this.viewOptions.outputEventsInterval&&(this.unsubscribeInputModelChangeSubject(),this.subscribeInputModelChangeSubject(this.viewOptions.outputEventsInterval)),this.renormaliseModelValues(),this.viewLowValue=this.modelValueToViewValue(this.value),this.viewHighValue=this.range?this.modelValueToViewValue(this.highValue):null,this.resetSlider()}},t.prototype.applyOptions=function(){if(this.viewOptions=new d,Object.assign(this.viewOptions,this.options),this.viewOptions.draggableRange=this.range&&this.viewOptions.draggableRange,this.viewOptions.draggableRangeOnly=this.range&&this.viewOptions.draggableRangeOnly,this.viewOptions.draggableRangeOnly&&(this.viewOptions.draggableRange=!0),this.viewOptions.showTicks=this.viewOptions.showTicks||this.viewOptions.showTicksValues||!f.isNullOrUndefined(this.viewOptions.ticksArray),!this.viewOptions.showTicks||f.isNullOrUndefined(this.viewOptions.tickStep)&&f.isNullOrUndefined(this.viewOptions.ticksArray)||(this.intermediateTicks=!0),this.viewOptions.showSelectionBar=this.viewOptions.showSelectionBar||this.viewOptions.showSelectionBarEnd||!f.isNullOrUndefined(this.viewOptions.showSelectionBarFromValue),f.isNullOrUndefined(this.viewOptions.stepsArray)?this.applyFloorCeilOptions():this.applyStepsArrayOptions(),f.isNullOrUndefined(this.viewOptions.combineLabels)&&(this.viewOptions.combineLabels=function(t,e){return t+" - "+e}),this.viewOptions.logScale&&0===this.viewOptions.floor)throw Error("Can't use floor=0 with logarithmic scale")},t.prototype.applyStepsArrayOptions=function(){var t=this;this.viewOptions.floor=0,this.viewOptions.ceil=this.viewOptions.stepsArray.length-1,this.viewOptions.step=1,f.isNullOrUndefined(this.viewOptions.translate)&&(this.viewOptions.translate=function(e){return t.viewOptions.bindIndexForStepsArray?String(t.getStepValue(e)):String(e)}),this.viewOptions.getLegend=function(e){return t.viewOptions.stepsArray[e].legend}},t.prototype.applyFloorCeilOptions=function(){if(f.isNullOrUndefined(this.viewOptions.step)?this.viewOptions.step=1:(this.viewOptions.step=+this.viewOptions.step,this.viewOptions.step<=0&&(this.viewOptions.step=1)),f.isNullOrUndefined(this.viewOptions.ceil)||f.isNullOrUndefined(this.viewOptions.floor))throw Error("floor and ceil options must be supplied");this.viewOptions.ceil=+this.viewOptions.ceil,this.viewOptions.floor=+this.viewOptions.floor,f.isNullOrUndefined(this.viewOptions.translate)&&(this.viewOptions.translate=function(t){return String(t)})},t.prototype.resetSlider=function(){this.manageElementsStyle(),this.addAccessibility(),this.updateCeilLabel(),this.updateFloorLabel(),this.unbindEvents(),this.manageEventsBindings(),this.updateDisabledState(),this.calculateViewDimensions(),this.refocusPointerIfNeeded()},t.prototype.focusPointer=function(t){t!==l.Min&&t!==l.Max&&(t=l.Min),t===l.Min?this.minHandleElement.focus():this.range&&t===l.Max&&this.maxHandleElement.focus()},t.prototype.refocusPointerIfNeeded=function(){if(!f.isNullOrUndefined(this.currentFocusPointer)){this.onPointerFocus(this.currentFocusPointer);this.getPointerElement(this.currentFocusPointer).focus()}},t.prototype.manageElementsStyle=function(){var t=this;this.updateScale(),this.floorLabelElement.setAlwaysHide(this.viewOptions.showTicksValues||this.viewOptions.hideLimitLabels),this.ceilLabelElement.setAlwaysHide(this.viewOptions.showTicksValues||this.viewOptions.hideLimitLabels);var e=this.viewOptions.showTicksValues&&!this.intermediateTicks;this.minHandleLabelElement.setAlwaysHide(e||this.viewOptions.hidePointerLabels),this.maxHandleLabelElement.setAlwaysHide(e||!this.range||this.viewOptions.hidePointerLabels),this.combinedLabelElement.setAlwaysHide(e||!this.range||this.viewOptions.hidePointerLabels),this.selectionBarElement.setAlwaysHide(!this.range&&!this.viewOptions.showSelectionBar),this.leftOuterSelectionBarElement.setAlwaysHide(!this.range||!this.viewOptions.showOuterSelectionBars),this.rightOuterSelectionBarElement.setAlwaysHide(!this.range||!this.viewOptions.showOuterSelectionBars),this.fullBarTransparentClass=this.range&&this.viewOptions.showOuterSelectionBars,this.selectionBarDraggableClass=this.viewOptions.draggableRange&&!this.viewOptions.onlyBindHandles,this.ticksUnderValuesClass=this.intermediateTicks&&this.options.showTicksValues,this.sliderElementVerticalClass!==this.viewOptions.vertical&&(this.updateVerticalState(),setTimeout(function(){t.resetSlider()})),this.sliderElementAnimateClass!==this.viewOptions.animate&&setTimeout(function(){t.sliderElementAnimateClass=t.viewOptions.animate})},t.prototype.manageEventsBindings=function(){this.viewOptions.disabled||this.viewOptions.readOnly?this.unbindEvents():this.bindEvents()},t.prototype.updateDisabledState=function(){this.sliderElementDisabledAttr=this.viewOptions.disabled?"disabled":null},t.prototype.updateVerticalState=function(){this.sliderElementVerticalClass=this.viewOptions.vertical;try{for(var t=Object(r.__values)(this.getAllSliderElements()),e=t.next();!e.done;e=t.next()){var n=e.value;f.isNullOrUndefined(n)||n.setVertical(this.viewOptions.vertical)}}catch(t){i={error:t}}finally{try{e&&!e.done&&(o=t.return)&&o.call(t)}finally{if(i)throw i.error}}var i,o},t.prototype.updateScale=function(){try{for(var t=Object(r.__values)(this.getAllSliderElements()),e=t.next();!e.done;e=t.next()){e.value.setScale(this.viewOptions.scale)}}catch(t){n={error:t}}finally{try{e&&!e.done&&(i=t.return)&&i.call(t)}finally{if(n)throw n.error}}var n,i},t.prototype.getAllSliderElements=function(){return[this.leftOuterSelectionBarElement,this.rightOuterSelectionBarElement,this.fullBarElement,this.selectionBarElement,this.minHandleElement,this.maxHandleElement,this.floorLabelElement,this.ceilLabelElement,this.minHandleLabelElement,this.maxHandleLabelElement,this.combinedLabelElement,this.ticksElement]},t.prototype.initHandles=function(){this.updateLowHandle(this.valueToPosition(this.viewLowValue)),this.range&&this.updateHighHandle(this.valueToPosition(this.viewHighValue)),this.updateSelectionBar(),this.range&&this.updateCombinedLabel(),this.updateTicksScale()},t.prototype.addAccessibility=function(){this.updateAriaAttributes(),this.minHandleElement.role="slider",this.minHandleElement.tabindex=!this.viewOptions.keyboardSupport||this.viewOptions.readOnly||this.viewOptions.disabled?"":"0",this.viewOptions.vertical&&(this.minHandleElement.ariaOrientation="vertical"),f.isNullOrUndefined(this.viewOptions.ariaLabel)?f.isNullOrUndefined(this.viewOptions.ariaLabelledBy)||(this.minHandleElement.ariaLabelledBy=this.viewOptions.ariaLabelledBy):this.minHandleElement.ariaLabel=this.viewOptions.ariaLabel,this.range&&(this.maxHandleElement.role="slider",this.maxHandleElement.tabindex=!this.viewOptions.keyboardSupport||this.viewOptions.readOnly||this.viewOptions.disabled?"":"0",this.maxHandleElement.ariaOrientation=this.viewOptions.vertical?"vertical":"horizontal",f.isNullOrUndefined(this.viewOptions.ariaLabelHigh)?f.isNullOrUndefined(this.viewOptions.ariaLabelledByHigh)||(this.maxHandleElement.ariaLabelledBy=this.viewOptions.ariaLabelledByHigh):this.maxHandleElement.ariaLabel=this.viewOptions.ariaLabelHigh)},t.prototype.updateAriaAttributes=function(){this.minHandleElement.ariaValueNow=(+this.value).toString(),this.minHandleElement.ariaValueText=this.viewOptions.translate(+this.value,c.Low),this.minHandleElement.ariaValueMin=this.viewOptions.floor.toString(),this.minHandleElement.ariaValueMax=this.viewOptions.ceil.toString(),this.range&&(this.maxHandleElement.ariaValueNow=(+this.highValue).toString(),this.maxHandleElement.ariaValueText=this.viewOptions.translate(+this.highValue,c.High),this.maxHandleElement.ariaValueMin=this.viewOptions.floor.toString(),this.maxHandleElement.ariaValueMax=this.viewOptions.ceil.toString())},t.prototype.calculateViewDimensions=function(){f.isNullOrUndefined(this.viewOptions.handleDimension)?this.minHandleElement.calculateDimension():this.minHandleElement.setDimension(this.viewOptions.handleDimension);var t=this.minHandleElement.dimension;this.handleHalfDimension=t/2,f.isNullOrUndefined(this.viewOptions.barDimension)?this.fullBarElement.calculateDimension():this.fullBarElement.setDimension(this.viewOptions.barDimension),this.maxHandlePosition=this.fullBarElement.dimension-t,this.initHasRun&&(this.updateFloorLabel(),this.updateCeilLabel(),this.initHandles())},t.prototype.calculateViewDimensionsAndDetectChanges=function(){this.calculateViewDimensions(),this.changeDetectionRef.detectChanges()},t.prototype.updateTicksScale=function(){var t=this;if(this.viewOptions.showTicks){var e=f.isNullOrUndefined(this.viewOptions.ticksArray)?this.getTicksArray():this.viewOptions.ticksArray,n=this.viewOptions.vertical?"translateY":"translateX";this.viewOptions.rightToLeft&&e.reverse();var r=e.map(function(e){var r=t.valueToPosition(e);t.viewOptions.vertical&&(r=t.maxHandlePosition-r);var i=n+"("+Math.round(r)+"px)",o=new w;if(o.selected=t.isTickSelected(e),o.style={"-webkit-transform":i,"-moz-transform":i,"-o-transform":i,"-ms-transform":i,transform:i},o.selected&&!f.isNullOrUndefined(t.viewOptions.getSelectionBarColor)&&(o.style["background-color"]=t.getSelectionBarColor()),o.selected||f.isNullOrUndefined(t.viewOptions.getTickColor)||(o.style["background-color"]=t.getTickColor(e)),f.isNullOrUndefined(t.viewOptions.ticksTooltip)||(o.tooltip=t.viewOptions.ticksTooltip(e),o.tooltipPlacement=t.viewOptions.vertical?"right":"top"),t.viewOptions.showTicksValues&&e%t.viewOptions.tickValueStep==0&&(o.value=t.getDisplayValue(e,c.TickValue),f.isNullOrUndefined(t.viewOptions.ticksValuesTooltip)||(o.valueTooltip=t.viewOptions.ticksValuesTooltip(e),o.valueTooltipPlacement=t.viewOptions.vertical?"right":"top")),!f.isNullOrUndefined(t.viewOptions.getLegend)){var s=t.viewOptions.getLegend(e);f.isNullOrUndefined(s)||(o.legend=s)}return o});if(f.isNullOrUndefined(this.ticks)||this.ticks.length!==r.length)this.ticks=r;else for(var i=0;i<r.length;++i)Object.assign(this.ticks[i],r[i]);this.changeDetectionRef.detectChanges()}},t.prototype.getTicksArray=function(){for(var t=f.isNullOrUndefined(this.viewOptions.tickStep)?this.viewOptions.step:this.viewOptions.tickStep,e=[],n=this.viewOptions.floor;n<=this.viewOptions.ceil;n+=t)e.push(n);return e},t.prototype.isTickSelected=function(t){if(!this.range)if(f.isNullOrUndefined(this.viewOptions.showSelectionBarFromValue)){if(this.viewOptions.showSelectionBarEnd){if(t>=this.viewLowValue)return!0}else if(this.viewOptions.showSelectionBar&&t<=this.viewLowValue)return!0}else{var e=this.viewOptions.showSelectionBarFromValue;if(this.viewLowValue>e&&t>=e&&t<=this.viewLowValue)return!0;if(this.viewLowValue<e&&t<=e&&t>=this.viewLowValue)return!0}return!!(this.range&&t>=this.viewLowValue&&t<=this.viewHighValue)},t.prototype.updateFloorLabel=function(){if(!this.floorLabelElement.alwaysHide){this.floorLabelElement.setValue(this.getDisplayValue(this.viewOptions.floor,c.Floor)),this.floorLabelElement.calculateDimension();this.floorLabelElement.setPosition(this.viewOptions.rightToLeft?this.fullBarElement.dimension-this.floorLabelElement.dimension:0)}},t.prototype.updateCeilLabel=function(){if(!this.ceilLabelElement.alwaysHide){this.ceilLabelElement.setValue(this.getDisplayValue(this.viewOptions.ceil,c.Ceil)),this.ceilLabelElement.calculateDimension();this.ceilLabelElement.setPosition(this.viewOptions.rightToLeft?0:this.fullBarElement.dimension-this.ceilLabelElement.dimension)}},t.prototype.updateHandles=function(t,e){t===l.Min?this.updateLowHandle(e):t===l.Max&&this.updateHighHandle(e),this.updateSelectionBar(),this.updateTicksScale(),this.range&&this.updateCombinedLabel()},t.prototype.getHandleLabelPos=function(t,e){var n=t===l.Min?this.minHandleLabelElement.dimension:this.maxHandleLabelElement.dimension,r=e-n/2+this.handleHalfDimension,i=this.fullBarElement.dimension-n;return this.viewOptions.boundPointerLabels?this.viewOptions.rightToLeft&&t===l.Min||!this.viewOptions.rightToLeft&&t===l.Max?Math.min(r,i):Math.min(Math.max(r,0),i):r},t.prototype.updateLowHandle=function(t){this.minHandleElement.setPosition(t),this.minHandleLabelElement.setValue(this.getDisplayValue(this.viewLowValue,c.Low)),this.minHandleLabelElement.setPosition(this.getHandleLabelPos(l.Min,t)),f.isNullOrUndefined(this.viewOptions.getPointerColor)||(this.minPointerStyle={backgroundColor:this.getPointerColor(l.Min)}),this.viewOptions.autoHideLimitLabels&&this.updateFloorAndCeilLabelsVisibility()},t.prototype.updateHighHandle=function(t){this.maxHandleElement.setPosition(t),this.maxHandleLabelElement.setValue(this.getDisplayValue(this.viewHighValue,c.High)),this.maxHandleLabelElement.setPosition(this.getHandleLabelPos(l.Max,t)),f.isNullOrUndefined(this.viewOptions.getPointerColor)||(this.maxPointerStyle={backgroundColor:this.getPointerColor(l.Max)}),this.viewOptions.autoHideLimitLabels&&this.updateFloorAndCeilLabelsVisibility()},t.prototype.updateFloorAndCeilLabelsVisibility=function(){if(!this.viewOptions.hidePointerLabels){var t=!1,e=!1,n=this.isLabelBelowFloorLabel(this.minHandleLabelElement),r=this.isLabelAboveCeilLabel(this.minHandleLabelElement),i=this.isLabelAboveCeilLabel(this.maxHandleLabelElement),o=this.isLabelBelowFloorLabel(this.combinedLabelElement),s=this.isLabelAboveCeilLabel(this.combinedLabelElement);if(n?(t=!0,this.floorLabelElement.hide()):(t=!1,this.floorLabelElement.show()),r?(e=!0,this.ceilLabelElement.hide()):(e=!1,this.ceilLabelElement.show()),this.range){var a=this.combinedLabelElement.isVisible()?s:i,u=this.combinedLabelElement.isVisible()?o:n;a?this.ceilLabelElement.hide():e||this.ceilLabelElement.show(),u?this.floorLabelElement.hide():t||this.floorLabelElement.show()}}},t.prototype.isLabelBelowFloorLabel=function(t){var e=t.position,n=this.floorLabelElement.position;return this.viewOptions.rightToLeft?e+t.dimension>=n-2:e<=n+this.floorLabelElement.dimension+2},t.prototype.isLabelAboveCeilLabel=function(t){var e=t.position,n=this.ceilLabelElement.position;return this.viewOptions.rightToLeft?e<=n+this.ceilLabelElement.dimension+2:e+t.dimension>=n-2},t.prototype.updateSelectionBar=function(){var t=0,e=0,n=this.viewOptions.rightToLeft?!this.viewOptions.showSelectionBarEnd:this.viewOptions.showSelectionBarEnd,r=this.viewOptions.rightToLeft?this.maxHandleElement.position+this.handleHalfDimension:this.minHandleElement.position+this.handleHalfDimension;if(this.range)e=Math.abs(this.maxHandleElement.position-this.minHandleElement.position),t=r;else if(f.isNullOrUndefined(this.viewOptions.showSelectionBarFromValue))n?(e=Math.ceil(Math.abs(this.maxHandlePosition-this.minHandleElement.position)+this.handleHalfDimension),t=Math.floor(this.minHandleElement.position+this.handleHalfDimension)):(e=this.minHandleElement.position+this.handleHalfDimension,t=0);else{var i=this.viewOptions.showSelectionBarFromValue,o=this.valueToPosition(i);(this.viewOptions.rightToLeft?this.viewLowValue<=i:this.viewLowValue>i)?(e=this.minHandleElement.position-o,t=o+this.handleHalfDimension):(e=o-this.minHandleElement.position,t=this.minHandleElement.position+this.handleHalfDimension)}if(this.selectionBarElement.setDimension(e),this.selectionBarElement.setPosition(t),this.range&&this.viewOptions.showOuterSelectionBars&&(this.viewOptions.rightToLeft?(this.rightOuterSelectionBarElement.setDimension(t),this.rightOuterSelectionBarElement.setPosition(0),this.fullBarElement.calculateDimension(),this.leftOuterSelectionBarElement.setDimension(this.fullBarElement.dimension-(t+e)),this.leftOuterSelectionBarElement.setPosition(t+e)):(this.leftOuterSelectionBarElement.setDimension(t),this.leftOuterSelectionBarElement.setPosition(0),this.fullBarElement.calculateDimension(),this.rightOuterSelectionBarElement.setDimension(this.fullBarElement.dimension-(t+e)),this.rightOuterSelectionBarElement.setPosition(t+e))),f.isNullOrUndefined(this.viewOptions.getSelectionBarColor)){if(!f.isNullOrUndefined(this.viewOptions.selectionBarGradient)){var s=f.isNullOrUndefined(this.viewOptions.showSelectionBarFromValue)?0:this.valueToPosition(this.viewOptions.showSelectionBarFromValue),a=s-t>0&&!n||s-t<=0&&n;this.barStyle={backgroundImage:"linear-gradient(to "+(this.viewOptions.vertical?a?"bottom":"top":a?"left":"right")+", "+this.viewOptions.selectionBarGradient.from+" 0%,"+this.viewOptions.selectionBarGradient.to+" 100%)"},this.viewOptions.vertical?(this.barStyle.backgroundPosition="center "+(s+e+t+(a?-this.handleHalfDimension:0))+"px",this.barStyle.backgroundSize="100% "+(this.fullBarElement.dimension-this.handleHalfDimension)+"px"):(this.barStyle.backgroundPosition=s-t+(a?this.handleHalfDimension:0)+"px center",this.barStyle.backgroundSize=this.fullBarElement.dimension-this.handleHalfDimension+"px 100%")}}else{var u=this.getSelectionBarColor();this.barStyle={backgroundColor:u}}},t.prototype.getSelectionBarColor=function(){return this.range?this.viewOptions.getSelectionBarColor(this.value,this.highValue):this.viewOptions.getSelectionBarColor(this.value)},t.prototype.getPointerColor=function(t){return this.viewOptions.getPointerColor(t===l.Max?this.highValue:this.value,t)},t.prototype.getTickColor=function(t){return this.viewOptions.getTickColor(t)},t.prototype.updateCombinedLabel=function(){if(this.viewOptions.rightToLeft?this.minHandleLabelElement.position-this.minHandleLabelElement.dimension-10<=this.maxHandleLabelElement.position:this.minHandleLabelElement.position+this.minHandleLabelElement.dimension+10>=this.maxHandleLabelElement.position){var t=this.getDisplayValue(this.viewLowValue,c.Low),e=this.getDisplayValue(this.viewHighValue,c.High),n=this.viewOptions.rightToLeft?this.viewOptions.combineLabels(e,t):this.viewOptions.combineLabels(t,e);this.combinedLabelElement.setValue(n);var r=this.viewOptions.boundPointerLabels?Math.min(Math.max(this.selectionBarElement.position+this.selectionBarElement.dimension/2-this.combinedLabelElement.dimension/2,0),this.fullBarElement.dimension-this.combinedLabelElement.dimension):this.selectionBarElement.position+this.selectionBarElement.dimension/2-this.combinedLabelElement.dimension/2;this.combinedLabelElement.setPosition(r),this.minHandleLabelElement.hide(),this.maxHandleLabelElement.hide(),this.combinedLabelElement.show()}else this.updateHighHandle(this.valueToPosition(this.viewHighValue)),this.updateLowHandle(this.valueToPosition(this.viewLowValue)),this.maxHandleLabelElement.show(),this.minHandleLabelElement.show(),this.combinedLabelElement.hide();this.viewOptions.autoHideLimitLabels&&this.updateFloorAndCeilLabelsVisibility()},t.prototype.getDisplayValue=function(t,e){return f.isNullOrUndefined(this.viewOptions.stepsArray)||this.viewOptions.bindIndexForStepsArray||(t=this.getStepValue(t)),this.viewOptions.translate(t,e)},t.prototype.roundStep=function(t,e){var n=f.isNullOrUndefined(e)?this.viewOptions.step:e,r=m.roundToPrecisionLimit((t-this.viewOptions.floor)/n,this.viewOptions.precisionLimit);return r=Math.round(r)*n,m.roundToPrecisionLimit(this.viewOptions.floor+r,this.viewOptions.precisionLimit)},t.prototype.valueToPosition=function(t){var e=f.linearValueToPosition;f.isNullOrUndefined(this.viewOptions.customValueToPosition)?this.viewOptions.logScale&&(e=f.logValueToPosition):e=this.viewOptions.customValueToPosition;var n=e(t=m.clampToRange(t,this.viewOptions.floor,this.viewOptions.ceil),this.viewOptions.floor,this.viewOptions.ceil);return f.isNullOrUndefined(n)&&(n=0),this.viewOptions.rightToLeft&&(n=1-n),n*this.maxHandlePosition},t.prototype.positionToValue=function(t){var e=t/this.maxHandlePosition;this.viewOptions.rightToLeft&&(e=1-e);var n=f.linearPositionToValue;f.isNullOrUndefined(this.viewOptions.customPositionToValue)?this.viewOptions.logScale&&(n=f.logPositionToValue):n=this.viewOptions.customPositionToValue;var r=n(e,this.viewOptions.floor,this.viewOptions.ceil);return f.isNullOrUndefined(r)?0:r},t.prototype.getEventXY=function(t,e){if(t instanceof MouseEvent)return this.viewOptions.vertical?t.clientY:t.clientX;var n=0,r=t.touches;if(!f.isNullOrUndefined(e))for(var i=0;i<r.length;i++)if(r[i].identifier===e){n=i;break}return this.viewOptions.vertical?r[n].clientY:r[n].clientX},t.prototype.getEventPosition=function(t,e){var n=this.elementRef.nativeElement.getBoundingClientRect(),r=this.viewOptions.vertical?n.bottom:n.left;return(this.viewOptions.vertical?-this.getEventXY(t,e)+r:this.getEventXY(t,e)-r)*this.viewOptions.scale-this.handleHalfDimension},t.prototype.getNearestHandle=function(t){if(!this.range)return l.Min;var e=this.getEventPosition(t),n=Math.abs(e-this.minHandleElement.position),r=Math.abs(e-this.maxHandleElement.position);return n<r?l.Min:n>r?l.Max:this.viewOptions.rightToLeft?e>this.minHandleElement.position?l.Min:l.Max:e<this.minHandleElement.position?l.Min:l.Max},t.prototype.bindEvents=function(){var t=this,e=this.viewOptions.draggableRange;this.viewOptions.onlyBindHandles||this.selectionBarElement.on("mousedown",function(n){return t.onBarStart(null,e,n,!0,!0,!0)}),this.viewOptions.draggableRangeOnly?(this.minHandleElement.on("mousedown",function(n){return t.onBarStart(l.Min,e,n,!0,!0)}),this.maxHandleElement.on("mousedown",function(n){return t.onBarStart(l.Max,e,n,!0,!0)})):(this.minHandleElement.on("mousedown",function(e){return t.onStart(l.Min,e,!0,!0)}),this.range&&this.maxHandleElement.on("mousedown",function(e){return t.onStart(l.Max,e,!0,!0)}),this.viewOptions.onlyBindHandles||(this.fullBarElement.on("mousedown",function(e){return t.onStart(null,e,!0,!0,!0)}),this.ticksElement.on("mousedown",function(e){return t.onStart(null,e,!0,!0,!0,!0)}))),this.viewOptions.onlyBindHandles||this.selectionBarElement.onPassive("touchstart",function(n){return t.onBarStart(null,e,n,!0,!0,!0)}),this.viewOptions.draggableRangeOnly?(this.minHandleElement.onPassive("touchstart",function(n){return t.onBarStart(l.Min,e,n,!0,!0)}),this.maxHandleElement.onPassive("touchstart",function(n){return t.onBarStart(l.Max,e,n,!0,!0)})):(this.minHandleElement.onPassive("touchstart",function(e){return t.onStart(l.Min,e,!0,!0)}),this.range&&this.maxHandleElement.onPassive("touchstart",function(e){return t.onStart(l.Max,e,!0,!0)}),this.viewOptions.onlyBindHandles||(this.fullBarElement.onPassive("touchstart",function(e){return t.onStart(null,e,!0,!0,!0)}),this.ticksElement.onPassive("touchstart",function(e){return t.onStart(null,e,!1,!1,!0,!0)}))),this.viewOptions.keyboardSupport&&(this.minHandleElement.on("focus",function(){return t.onPointerFocus(l.Min)}),this.range&&this.maxHandleElement.on("focus",function(){return t.onPointerFocus(l.Max)}))},t.prototype.unbindEvents=function(){this.unsubscribeOnMove(),this.unsubscribeOnEnd();try{for(var t=Object(r.__values)(this.getAllSliderElements()),e=t.next();!e.done;e=t.next()){e.value.off()}}catch(t){n={error:t}}finally{try{e&&!e.done&&(i=t.return)&&i.call(t)}finally{if(n)throw n.error}}var n,i},t.prototype.onBarStart=function(t,e,n,r,i,o,s){e?this.onDragStart(t,n,r,i):this.onStart(t,n,r,i,o,s)},t.prototype.onStart=function(t,e,n,r,i,o){var s=this;e.stopPropagation(),p.isTouchEvent(e)&&u.a.hasSupport||e.preventDefault(),this.calculateViewDimensions(),f.isNullOrUndefined(t)&&(t=this.getNearestHandle(e)),this.currentTrackingPointer=t;var a=this.getPointerElement(t);if(a.active=!0,this.viewOptions.keyboardSupport&&a.focus(),n){this.unsubscribeOnMove();var l=function(t){return s.dragging.active?s.onDragMove(t):s.onMove(t)};this.onMoveEventListener=p.isTouchEvent(e)?this.eventListenerHelper.attachPassiveEventListener(document,"touchmove",l,this.viewOptions.touchEventsInterval):this.eventListenerHelper.attachEventListener(document,"mousemove",l,this.viewOptions.mouseEventsInterval)}if(r){this.unsubscribeOnEnd();var c=function(t){return s.onEnd(t)};this.onEndEventListener=p.isTouchEvent(e)?this.eventListenerHelper.attachPassiveEventListener(document,"touchend",c):this.eventListenerHelper.attachEventListener(document,"mouseup",c)}this.userChangeStart.emit(this.getChangeContext()),p.isTouchEvent(e)&&!f.isNullOrUndefined(e.changedTouches)&&f.isNullOrUndefined(this.touchId)&&(this.touchId=e.changedTouches[0].identifier),i&&this.onMove(e,!0),o&&this.onEnd(e)},t.prototype.onMove=function(t,e){var n=null;if(p.isTouchEvent(t)){for(var r=t.changedTouches,i=0;i<r.length;i++)if(r[i].identifier===this.touchId){n=r[i];break}if(f.isNullOrUndefined(n))return}var o,s=f.isNullOrUndefined(n)?this.getEventPosition(t):this.getEventPosition(t,n.identifier);s<=0?o=this.viewOptions.rightToLeft?this.viewOptions.ceil:this.viewOptions.floor:s>=this.maxHandlePosition?o=this.viewOptions.rightToLeft?this.viewOptions.floor:this.viewOptions.ceil:(o=this.positionToValue(s),o=e&&!f.isNullOrUndefined(this.viewOptions.tickStep)?this.roundStep(o,this.viewOptions.tickStep):this.roundStep(o)),this.positionTrackingHandle(o)},t.prototype.onEnd=function(t){if(p.isTouchEvent(t)){if(t.changedTouches[0].identifier!==this.touchId)return}this.touchId=null,this.viewOptions.keyboardSupport||(this.minHandleElement.active=!1,this.maxHandleElement.active=!1,this.currentTrackingPointer=null),this.dragging.active=!1,this.unsubscribeOnMove(),this.unsubscribeOnEnd(),this.userChangeEnd.emit(this.getChangeContext())},t.prototype.onPointerFocus=function(t){var e=this,n=this.getPointerElement(t);n.on("blur",function(){return e.onPointerBlur(n)}),n.on("keydown",function(t){return e.onKeyboardEvent(t)}),n.on("keyup",function(){return e.onKeyUp()}),n.active=!0,this.currentTrackingPointer=t,this.currentFocusPointer=t,this.firstKeyDown=!0},t.prototype.onKeyUp=function(){this.firstKeyDown=!0,this.userChangeEnd.emit(this.getChangeContext())},t.prototype.onPointerBlur=function(t){t.off("blur"),t.off("keydown"),t.off("keyup"),t.active=!1,f.isNullOrUndefined(this.touchId)&&(this.currentTrackingPointer=null,this.currentFocusPointer=null)},t.prototype.getKeyActions=function(t){var e=this.viewOptions.ceil-this.viewOptions.floor,n=t+this.viewOptions.step,r=t-this.viewOptions.step,i=t+e/10,o=t-e/10;this.viewOptions.reversedControls&&(n=t-this.viewOptions.step,r=t+this.viewOptions.step,i=t-e/10,o=t+e/10);var s={UP:n,DOWN:r,LEFT:r,RIGHT:n,PAGEUP:i,PAGEDOWN:o,HOME:this.viewOptions.reversedControls?this.viewOptions.ceil:this.viewOptions.floor,END:this.viewOptions.reversedControls?this.viewOptions.floor:this.viewOptions.ceil};return this.viewOptions.rightToLeft&&(s.LEFT=n,s.RIGHT=r,this.viewOptions.vertical&&(s.UP=r,s.DOWN=n)),s},t.prototype.onKeyboardEvent=function(t){var e=this.getCurrentTrackingValue(),n=f.isNullOrUndefined(t.keyCode)?t.which:t.keyCode,r=this.getKeyActions(e)[{38:"UP",40:"DOWN",37:"LEFT",39:"RIGHT",33:"PAGEUP",34:"PAGEDOWN",36:"HOME",35:"END"}[n]];if(!f.isNullOrUndefined(r)&&!f.isNullOrUndefined(this.currentTrackingPointer)){t.preventDefault(),this.firstKeyDown&&(this.firstKeyDown=!1,this.userChangeStart.emit(this.getChangeContext()));var i=m.clampToRange(r,this.viewOptions.floor,this.viewOptions.ceil),o=this.roundStep(i);if(this.viewOptions.draggableRangeOnly){var s=this.viewHighValue-this.viewLowValue,a=void 0,u=void 0;this.currentTrackingPointer===l.Min?(a=o,(u=o+s)>this.viewOptions.ceil&&(a=(u=this.viewOptions.ceil)-s)):this.currentTrackingPointer===l.Max&&(u=o,(a=o-s)<this.viewOptions.floor&&(u=(a=this.viewOptions.floor)+s)),this.positionTrackingBar(a,u)}else this.positionTrackingHandle(o)}},t.prototype.onDragStart=function(t,e,n,r){var i=this.getEventPosition(e);this.dragging=new S,this.dragging.active=!0,this.dragging.value=this.positionToValue(i),this.dragging.difference=this.viewHighValue-this.viewLowValue,this.dragging.lowLimit=this.viewOptions.rightToLeft?this.minHandleElement.position-i:i-this.minHandleElement.position,this.dragging.highLimit=this.viewOptions.rightToLeft?i-this.maxHandleElement.position:this.maxHandleElement.position-i,this.onStart(t,e,n,r)},t.prototype.getMinValue=function(t,e,n){var r=this.viewOptions.rightToLeft,i=null;return i=e?n?r?this.viewOptions.floor:this.viewOptions.ceil-this.dragging.difference:r?this.viewOptions.ceil-this.dragging.difference:this.viewOptions.floor:this.positionToValue(r?t+this.dragging.lowLimit:t-this.dragging.lowLimit),this.roundStep(i)},t.prototype.getMaxValue=function(t,e,n){var r=this.viewOptions.rightToLeft,i=null;return i=e?n?r?this.viewOptions.floor+this.dragging.difference:this.viewOptions.ceil:r?this.viewOptions.ceil:this.viewOptions.floor+this.dragging.difference:r?this.positionToValue(t+this.dragging.lowLimit)+this.dragging.difference:this.positionToValue(t-this.dragging.lowLimit)+this.dragging.difference,this.roundStep(i)},t.prototype.onDragMove=function(t){var e,n,r,i,o=this.getEventPosition(t);this.viewOptions.rightToLeft?(e=this.dragging.lowLimit,n=this.dragging.highLimit,r=this.maxHandleElement,i=this.minHandleElement):(e=this.dragging.highLimit,n=this.dragging.lowLimit,r=this.minHandleElement,i=this.maxHandleElement);var s,a,u=o>=this.maxHandlePosition-e;if(o<=n){if(0===r.position)return;s=this.getMinValue(o,!0,!1),a=this.getMaxValue(o,!0,!1)}else if(u){if(i.position===this.maxHandlePosition)return;a=this.getMaxValue(o,!0,!0),s=this.getMinValue(o,!0,!0)}else s=this.getMinValue(o,!1,!1),a=this.getMaxValue(o,!1,!1);this.positionTrackingBar(s,a)},t.prototype.positionTrackingBar=function(t,e){!f.isNullOrUndefined(this.viewOptions.minLimit)&&t<this.viewOptions.minLimit&&(e=m.roundToPrecisionLimit((t=this.viewOptions.minLimit)+this.dragging.difference,this.viewOptions.precisionLimit)),!f.isNullOrUndefined(this.viewOptions.maxLimit)&&e>this.viewOptions.maxLimit&&(t=m.roundToPrecisionLimit((e=this.viewOptions.maxLimit)-this.dragging.difference,this.viewOptions.precisionLimit)),this.viewLowValue=t,this.viewHighValue=e,this.applyViewChange(),this.updateHandles(l.Min,this.valueToPosition(t)),this.updateHandles(l.Max,this.valueToPosition(e))},t.prototype.positionTrackingHandle=function(t){t=this.applyMinMaxLimit(t),this.range&&(this.viewOptions.pushRange?t=this.applyPushRange(t):(this.viewOptions.noSwitching&&(this.currentTrackingPointer===l.Min&&t>this.viewHighValue?t=this.applyMinMaxRange(this.viewHighValue):this.currentTrackingPointer===l.Max&&t<this.viewLowValue&&(t=this.applyMinMaxRange(this.viewLowValue))),t=this.applyMinMaxRange(t),this.currentTrackingPointer===l.Min&&t>this.viewHighValue?(this.viewLowValue=this.viewHighValue,this.applyViewChange(),this.updateHandles(l.Min,this.maxHandleElement.position),this.updateAriaAttributes(),this.currentTrackingPointer=l.Max,this.minHandleElement.active=!1,this.maxHandleElement.active=!0,this.viewOptions.keyboardSupport&&this.maxHandleElement.focus()):this.currentTrackingPointer===l.Max&&t<this.viewLowValue&&(this.viewHighValue=this.viewLowValue,this.applyViewChange(),this.updateHandles(l.Max,this.minHandleElement.position),this.updateAriaAttributes(),this.currentTrackingPointer=l.Min,this.maxHandleElement.active=!1,this.minHandleElement.active=!0,this.viewOptions.keyboardSupport&&this.minHandleElement.focus()))),this.getCurrentTrackingValue()!==t&&(this.currentTrackingPointer===l.Min?(this.viewLowValue=t,this.applyViewChange()):this.currentTrackingPointer===l.Max&&(this.viewHighValue=t,this.applyViewChange()),this.updateHandles(this.currentTrackingPointer,this.valueToPosition(t)),this.updateAriaAttributes())},t.prototype.applyMinMaxLimit=function(t){return!f.isNullOrUndefined(this.viewOptions.minLimit)&&t<this.viewOptions.minLimit?this.viewOptions.minLimit:!f.isNullOrUndefined(this.viewOptions.maxLimit)&&t>this.viewOptions.maxLimit?this.viewOptions.maxLimit:t},t.prototype.applyMinMaxRange=function(t){var e=this.currentTrackingPointer===l.Min?this.viewHighValue:this.viewLowValue,n=Math.abs(t-e);if(!f.isNullOrUndefined(this.viewOptions.minRange)&&n<this.viewOptions.minRange){if(this.currentTrackingPointer===l.Min)return m.roundToPrecisionLimit(this.viewHighValue-this.viewOptions.minRange,this.viewOptions.precisionLimit);if(this.currentTrackingPointer===l.Max)return m.roundToPrecisionLimit(this.viewLowValue+this.viewOptions.minRange,this.viewOptions.precisionLimit)}if(!f.isNullOrUndefined(this.viewOptions.maxRange)&&n>this.viewOptions.maxRange){if(this.currentTrackingPointer===l.Min)return m.roundToPrecisionLimit(this.viewHighValue-this.viewOptions.maxRange,this.viewOptions.precisionLimit);if(this.currentTrackingPointer===l.Max)return m.roundToPrecisionLimit(this.viewLowValue+this.viewOptions.maxRange,this.viewOptions.precisionLimit)}return t},t.prototype.applyPushRange=function(t){var e=this.currentTrackingPointer===l.Min?this.viewHighValue-t:t-this.viewLowValue,n=f.isNullOrUndefined(this.viewOptions.minRange)?this.viewOptions.step:this.viewOptions.minRange,r=this.viewOptions.maxRange;return e<n?(this.currentTrackingPointer===l.Min?(this.viewHighValue=m.roundToPrecisionLimit(Math.min(t+n,this.viewOptions.ceil),this.viewOptions.precisionLimit),t=m.roundToPrecisionLimit(this.viewHighValue-n,this.viewOptions.precisionLimit),this.applyViewChange(),this.updateHandles(l.Max,this.valueToPosition(this.viewHighValue))):this.currentTrackingPointer===l.Max&&(this.viewLowValue=m.roundToPrecisionLimit(Math.max(t-n,this.viewOptions.floor),this.viewOptions.precisionLimit),t=m.roundToPrecisionLimit(this.viewLowValue+n,this.viewOptions.precisionLimit),this.applyViewChange(),this.updateHandles(l.Min,this.valueToPosition(this.viewLowValue))),this.updateAriaAttributes()):!f.isNullOrUndefined(r)&&e>r&&(this.currentTrackingPointer===l.Min?(this.viewHighValue=m.roundToPrecisionLimit(t+r,this.viewOptions.precisionLimit),this.applyViewChange(),this.updateHandles(l.Max,this.valueToPosition(this.viewHighValue))):this.currentTrackingPointer===l.Max&&(this.viewLowValue=m.roundToPrecisionLimit(t-r,this.viewOptions.precisionLimit),this.applyViewChange(),this.updateHandles(l.Min,this.valueToPosition(this.viewLowValue))),this.updateAriaAttributes()),t},t.prototype.getChangeContext=function(){var t=new h;return t.pointerType=this.currentTrackingPointer,t.value=+this.value,this.range&&(t.highValue=+this.highValue),t},t}()),x=function(){return function(){}}(),C=function(){return function(){}}()},,,function(t,e,n){"use strict";var r=n(0).__decorate,i=n(0).__metadata;Object.defineProperty(e,"__esModule",{value:!0});var o=n(1),s=n(12),a=n(1217),u=function(){function t(t){this.el=t,this.options={},this.plugins=[],this.responsive=!0,this.onDataSelect=new o.EventEmitter}return Object.defineProperty(t.prototype,"data",{get:function(){return this._data},set:function(t){this._data=t,this.reinit()},enumerable:!0,configurable:!0}),t.prototype.ngAfterViewInit=function(){this.initChart(),this.initialized=!0},t.prototype.onCanvasClick=function(t){if(this.chart){var e=this.chart.getElementAtEvent(t),n=this.chart.getDatasetAtEvent(t);e&&e[0]&&n&&this.onDataSelect.emit({originalEvent:t,element:e[0],dataset:n})}},t.prototype.initChart=function(){var t=this.options||{};t.responsive=this.responsive,t.responsive&&(this.height||this.width)&&(t.maintainAspectRatio=!1),this.chart=new a(this.el.nativeElement.children[0].children[0],{type:this.type,data:this.data,options:this.options,plugins:this.plugins})},t.prototype.getCanvas=function(){return this.el.nativeElement.children[0].children[0]},t.prototype.getBase64Image=function(){return this.chart.toBase64Image()},t.prototype.generateLegend=function(){if(this.chart)return this.chart.generateLegend()},t.prototype.refresh=function(){this.chart&&this.chart.update()},t.prototype.reinit=function(){this.chart&&(this.chart.destroy(),this.initChart())},t.prototype.ngOnDestroy=function(){this.chart&&(this.chart.destroy(),this.initialized=!1,this.chart=null)},r([o.Input(),i("design:type",String)],t.prototype,"type",void 0),r([o.Input(),i("design:type",Object)],t.prototype,"options",void 0),r([o.Input(),i("design:type",Array)],t.prototype,"plugins",void 0),r([o.Input(),i("design:type",String)],t.prototype,"width",void 0),r([o.Input(),i("design:type",String)],t.prototype,"height",void 0),r([o.Input(),i("design:type",Boolean)],t.prototype,"responsive",void 0),r([o.Output(),i("design:type",o.EventEmitter)],t.prototype,"onDataSelect",void 0),r([o.Input(),i("design:type",Object),i("design:paramtypes",[Object])],t.prototype,"data",null),t=r([o.Component({selector:"p-chart",template:'\n        <div style="position:relative" [style.width]="responsive && !width ? null : width" [style.height]="responsive && !height ? null : height">\n            <canvas [attr.width]="responsive && !width ? null : width" [attr.height]="responsive && !height ? null : height" (click)="onCanvasClick($event)"></canvas>\n        </div>\n    '})],t)}();e.UIChart=u;e.ChartModule=function(){function t(){}return t=r([o.NgModule({imports:[s.CommonModule],exports:[u],declarations:[u]})],t)}()},,,function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(353),o=n(131),s=n(243);e.RecaptchaModule=function(){function t(){}return t.forRoot=function(){return t},t.decorators=[{type:r.NgModule,args:[{exports:[s.RecaptchaComponent],imports:[i.RecaptchaCommonModule],providers:[o.RecaptchaLoaderService]}]}],t}()},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(243);e.RecaptchaCommonModule=function(){function t(){}return t.decorators=[{type:r.NgModule,args:[{declarations:[i.RecaptchaComponent],exports:[i.RecaptchaComponent]}]}],t}()},function(t,e,n){"use strict";function r(t){return c["ɵvid"](0,[(t()(),c["ɵeld"](0,0,null,null,1,"div",[["class","action-sheet-title"]],[[8,"id",0]],null,null,null,null)),(t()(),c["ɵted"](1,null,["",""]))],null,function(t,e){var n=e.component;t(e,0,0,c["ɵinlineInterpolate"](1,"",n.hdrId,""));t(e,1,0,n.d.title)})}function i(t){return c["ɵvid"](0,[(t()(),c["ɵeld"](0,0,null,null,1,"div",[["class","action-sheet-sub-title"]],[[8,"id",0]],null,null,null,null)),(t()(),c["ɵted"](1,null,["",""]))],null,function(t,e){var n=e.component;t(e,0,0,c["ɵinlineInterpolate"](1,"",n.descId,""));t(e,1,0,n.d.subTitle)})}function o(t){return c["ɵvid"](0,[(t()(),c["ɵeld"](0,0,null,null,1,"ion-icon",[["class","action-sheet-icon"],["role","img"]],[[2,"hide",null]],null,null,null,null)),c["ɵdid"](1,147456,null,0,d.a,[h.a,c.ElementRef,c.Renderer],{name:[0,"name"]},null)],function(t,e){t(e,1,0,e.parent.context.$implicit.icon)},function(t,e){t(e,0,0,c["ɵnov"](e,1)._hidden)})}function s(t){return c["ɵvid"](0,[(t()(),c["ɵeld"](0,0,null,null,5,"button",[["class","disable-hover"],["ion-button","action-sheet-button"]],[[1,"icon-start",0]],[[null,"click"]],function(t,e,n){var r=!0;if("click"===e){r=!1!==t.component.click(t.context.$implicit)&&r}return r},f.b,f.a)),c["ɵdid"](1,278528,null,0,p.NgClass,[c.IterableDiffers,c.KeyValueDiffers,c.ElementRef,c.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),c["ɵdid"](2,1097728,null,0,m.a,[[8,"action-sheet-button"],h.a,c.ElementRef,c.Renderer],null,null),(t()(),c["ɵand"](16777216,null,0,1,null,o)),c["ɵdid"](4,16384,null,0,p.NgIf,[c.ViewContainerRef,c.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),c["ɵted"](5,0,["",""]))],function(t,e){t(e,1,0,"disable-hover",e.context.$implicit.cssClass);t(e,4,0,e.context.$implicit.icon)},function(t,e){t(e,0,0,e.context.$implicit.icon?"":null);t(e,5,0,e.context.$implicit.text)})}function a(t){return c["ɵvid"](0,[(t()(),c["ɵeld"](0,0,null,null,1,"ion-icon",[["class","action-sheet-icon"],["role","img"]],[[2,"hide",null]],null,null,null,null)),c["ɵdid"](1,147456,null,0,d.a,[h.a,c.ElementRef,c.Renderer],{name:[0,"name"]},null)],function(t,e){t(e,1,0,e.component.cancelButton.icon)},function(t,e){t(e,0,0,c["ɵnov"](e,1)._hidden)})}function u(t){return c["ɵvid"](0,[(t()(),c["ɵeld"](0,0,null,null,6,"div",[["class","action-sheet-group action-sheet-group-cancel"]],null,null,null,null,null)),(t()(),c["ɵeld"](1,0,null,null,5,"button",[["class","action-sheet-cancel disable-hover"],["ion-button","action-sheet-button"]],[[1,"icon-start",0]],[[null,"click"]],function(t,e,n){var r=!0,i=t.component;if("click"===e){r=!1!==i.click(i.cancelButton)&&r}return r},f.b,f.a)),c["ɵdid"](2,278528,null,0,p.NgClass,[c.IterableDiffers,c.KeyValueDiffers,c.ElementRef,c.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),c["ɵdid"](3,1097728,null,0,m.a,[[8,"action-sheet-button"],h.a,c.ElementRef,c.Renderer],null,null),(t()(),c["ɵand"](16777216,null,0,1,null,a)),c["ɵdid"](5,16384,null,0,p.NgIf,[c.ViewContainerRef,c.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),c["ɵted"](6,0,["",""]))],function(t,e){var n=e.component;t(e,2,0,"action-sheet-cancel disable-hover",n.cancelButton.cssClass);t(e,5,0,n.cancelButton.icon)},function(t,e){var n=e.component;t(e,1,0,n.cancelButton.icon?"":null);t(e,6,0,n.cancelButton.text)})}function l(t){return c["ɵvid"](0,[(t()(),c["ɵeld"](0,0,null,null,1,"ion-backdrop",[["disable-activated",""],["role","presentation"],["tappable",""]],[[2,"backdrop-no-tappable",null]],[[null,"click"]],function(t,e,n){var r=!0;if("click"===e){r=!1!==t.component.bdClick()&&r}return r},null,null)),c["ɵdid"](1,16384,null,0,_.a,[c.ElementRef,c.Renderer],null,null),(t()(),c["ɵeld"](2,0,null,null,10,"div",[["class","action-sheet-wrapper"]],null,null,null,null,null)),(t()(),c["ɵeld"](3,0,null,null,9,"div",[["class","action-sheet-container"]],null,null,null,null,null)),(t()(),c["ɵeld"](4,0,null,null,6,"div",[["class","action-sheet-group"]],null,null,null,null,null)),(t()(),c["ɵand"](16777216,null,null,1,null,r)),c["ɵdid"](6,16384,null,0,p.NgIf,[c.ViewContainerRef,c.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),c["ɵand"](16777216,null,null,1,null,i)),c["ɵdid"](8,16384,null,0,p.NgIf,[c.ViewContainerRef,c.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),c["ɵand"](16777216,null,null,1,null,s)),c["ɵdid"](10,802816,null,0,p.NgForOf,[c.ViewContainerRef,c.TemplateRef,c.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(t()(),c["ɵand"](16777216,null,null,1,null,u)),c["ɵdid"](12,16384,null,0,p.NgIf,[c.ViewContainerRef,c.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(t,e){var n=e.component;t(e,6,0,n.d.title);t(e,8,0,n.d.subTitle);t(e,10,0,n.d.buttons);t(e,12,0,n.cancelButton)},function(t,e){t(e,0,0,!e.component.d.enableBackdropDismiss)})}n.d(e,"a",function(){return S});var c=n(1),d=n(43),h=n(6),f=n(85),p=n(12),m=n(51),_=n(82),g=n(198),v=n(18),y=n(25),b=n(39),w=c["ɵcrt"]({encapsulation:2,styles:[],data:{}}),S=c["ɵccf"]("ion-action-sheet",g.a,function(t){return c["ɵvid"](0,[(t()(),c["ɵeld"](0,0,null,null,1,"ion-action-sheet",[["role","dialog"]],[[1,"aria-labelledby",0],[1,"aria-describedby",0]],[["body","keyup"]],function(t,e,n){var r=!0;return"body:keyup"===e&&(r=!1!==c["ɵnov"](t,1).keyUp(n)&&r),r},l,w)),c["ɵdid"](1,180224,null,0,g.a,[v.a,h.a,c.ElementRef,y.l,b.a,c.Renderer],null,null)],null,function(t,e){t(e,0,0,c["ɵnov"](e,1).hdrId,c["ɵnov"](e,1).descId)})},{},{},[])},function(t,e,n){"use strict";function r(t){return p["ɵvid"](0,[(t()(),p["ɵeld"](0,0,null,null,0,"h2",[["class","alert-title"]],[[8,"id",0],[8,"innerHTML",1]],null,null,null,null))],null,function(t,e){var n=e.component;t(e,0,0,p["ɵinlineInterpolate"](1,"",n.hdrId,""),n.d.title)})}function i(t){return p["ɵvid"](0,[(t()(),p["ɵeld"](0,0,null,null,0,"h3",[["class","alert-sub-title"]],[[8,"id",0],[8,"innerHTML",1]],null,null,null,null))],null,function(t,e){var n=e.component;t(e,0,0,p["ɵinlineInterpolate"](1,"",n.subHdrId,""),n.d.subTitle)})}function o(t){return p["ɵvid"](0,[(t()(),p["ɵeld"](0,0,null,null,5,"button",[["class","alert-tappable alert-radio"],["ion-button","alert-radio-button"],["role","radio"]],[[1,"aria-checked",0],[8,"disabled",0],[1,"id",0]],[[null,"click"]],function(t,e,n){var r=!0;if("click"===e){r=!1!==t.component.rbClick(t.context.$implicit)&&r}return r},m.b,m.a)),p["ɵdid"](1,1097728,null,0,_.a,[[8,"alert-radio-button"],g.a,p.ElementRef,p.Renderer],null,null),(t()(),p["ɵeld"](2,0,null,0,1,"div",[["class","alert-radio-icon"]],null,null,null,null,null)),(t()(),p["ɵeld"](3,0,null,null,0,"div",[["class","alert-radio-inner"]],null,null,null,null,null)),(t()(),p["ɵeld"](4,0,null,0,1,"div",[["class","alert-radio-label"]],null,null,null,null,null)),(t()(),p["ɵted"](5,null,["",""]))],null,function(t,e){t(e,0,0,e.context.$implicit.checked,e.context.$implicit.disabled,e.context.$implicit.id);t(e,5,0,e.context.$implicit.label)})}function s(t){return p["ɵvid"](0,[(t()(),p["ɵeld"](0,0,null,null,2,"div",[["class","alert-radio-group"],["role","radiogroup"]],[[1,"aria-labelledby",0],[1,"aria-activedescendant",0]],null,null,null,null)),(t()(),p["ɵand"](16777216,null,null,1,null,o)),p["ɵdid"](2,802816,null,0,v.NgForOf,[p.ViewContainerRef,p.TemplateRef,p.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],function(t,e){t(e,2,0,e.component.d.inputs)},function(t,e){var n=e.component;t(e,0,0,n.hdrId,n.activeId)})}function a(t){return p["ɵvid"](0,[(t()(),p["ɵeld"](0,0,null,null,5,"button",[["class","alert-tappable alert-checkbox"],["ion-button","alert-checkbox-button"],["role","checkbox"]],[[1,"aria-checked",0],[1,"id",0],[8,"disabled",0]],[[null,"click"]],function(t,e,n){var r=!0;if("click"===e){r=!1!==t.component.cbClick(t.context.$implicit)&&r}return r},m.b,m.a)),p["ɵdid"](1,1097728,null,0,_.a,[[8,"alert-checkbox-button"],g.a,p.ElementRef,p.Renderer],null,null),(t()(),p["ɵeld"](2,0,null,0,1,"div",[["class","alert-checkbox-icon"]],null,null,null,null,null)),(t()(),p["ɵeld"](3,0,null,null,0,"div",[["class","alert-checkbox-inner"]],null,null,null,null,null)),(t()(),p["ɵeld"](4,0,null,0,1,"div",[["class","alert-checkbox-label"]],null,null,null,null,null)),(t()(),p["ɵted"](5,null,["",""]))],null,function(t,e){t(e,0,0,e.context.$implicit.checked,e.context.$implicit.id,e.context.$implicit.disabled);t(e,5,0,e.context.$implicit.label)})}function u(t){return p["ɵvid"](0,[(t()(),p["ɵeld"](0,0,null,null,2,"div",[["class","alert-checkbox-group"]],null,null,null,null,null)),(t()(),p["ɵand"](16777216,null,null,1,null,a)),p["ɵdid"](2,802816,null,0,v.NgForOf,[p.ViewContainerRef,p.TemplateRef,p.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],function(t,e){t(e,2,0,e.component.d.inputs)},null)}function l(t){return p["ɵvid"](0,[(t()(),p["ɵeld"](0,0,null,null,6,"div",[["class","alert-input-wrapper"]],null,null,null,null,null)),(t()(),p["ɵeld"](1,0,null,null,5,"input",[["class","alert-input"],["dir","auto"]],[[8,"placeholder",0],[8,"type",0],[8,"min",0],[8,"max",0],[1,"id",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,e,n){var r=!0;if("input"===e){r=!1!==p["ɵnov"](t,2)._handleInput(n.target.value)&&r}if("blur"===e){r=!1!==p["ɵnov"](t,2).onTouched()&&r}if("compositionstart"===e){r=!1!==p["ɵnov"](t,2)._compositionStart()&&r}if("compositionend"===e){r=!1!==p["ɵnov"](t,2)._compositionEnd(n.target.value)&&r}if("ngModelChange"===e){r=!1!==(t.context.$implicit.value=n)&&r}return r},null,null)),p["ɵdid"](2,16384,null,0,y.c,[p.Renderer2,p.ElementRef,[2,y.a]],null,null),p["ɵprd"](1024,null,y.m,function(t){return[t]},[y.c]),p["ɵdid"](4,671744,null,0,y.r,[[8,null],[8,null],[8,null],[2,y.m]],{model:[0,"model"]},{update:"ngModelChange"}),p["ɵprd"](2048,null,y.n,null,[y.r]),p["ɵdid"](6,16384,null,0,y.o,[y.n],null,null)],function(t,e){t(e,4,0,e.context.$implicit.value)},function(t,e){t(e,1,1,[e.context.$implicit.placeholder,e.context.$implicit.type,e.context.$implicit.min,e.context.$implicit.max,e.context.$implicit.id,p["ɵnov"](e,6).ngClassUntouched,p["ɵnov"](e,6).ngClassTouched,p["ɵnov"](e,6).ngClassPristine,p["ɵnov"](e,6).ngClassDirty,p["ɵnov"](e,6).ngClassValid,p["ɵnov"](e,6).ngClassInvalid,p["ɵnov"](e,6).ngClassPending])})}function c(t){return p["ɵvid"](0,[(t()(),p["ɵeld"](0,0,null,null,2,"div",[["class","alert-input-group"]],null,null,null,null,null)),(t()(),p["ɵand"](16777216,null,null,1,null,l)),p["ɵdid"](2,802816,null,0,v.NgForOf,[p.ViewContainerRef,p.TemplateRef,p.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],function(t,e){t(e,2,0,e.component.d.inputs)},null)}function d(t){return p["ɵvid"](0,[(t()(),p["ɵeld"](0,0,null,null,7,"div",[],null,null,null,null,null)),p["ɵdid"](1,16384,null,0,v.NgSwitch,[],{ngSwitch:[0,"ngSwitch"]},null),(t()(),p["ɵand"](16777216,null,null,1,null,s)),p["ɵdid"](3,278528,null,0,v.NgSwitchCase,[p.ViewContainerRef,p.TemplateRef,v.NgSwitch],{ngSwitchCase:[0,"ngSwitchCase"]},null),(t()(),p["ɵand"](16777216,null,null,1,null,u)),p["ɵdid"](5,278528,null,0,v.NgSwitchCase,[p.ViewContainerRef,p.TemplateRef,v.NgSwitch],{ngSwitchCase:[0,"ngSwitchCase"]},null),(t()(),p["ɵand"](16777216,null,null,1,null,c)),p["ɵdid"](7,16384,null,0,v.NgSwitchDefault,[p.ViewContainerRef,p.TemplateRef,v.NgSwitch],null,null)],function(t,e){t(e,1,0,e.component.inputType);t(e,3,0,"radio");t(e,5,0,"checkbox")},null)}function h(t){return p["ɵvid"](0,[(t()(),p["ɵeld"](0,0,null,null,3,"button",[["ion-button","alert-button"]],null,[[null,"click"]],function(t,e,n){var r=!0;if("click"===e){r=!1!==t.component.btnClick(t.context.$implicit)&&r}return r},m.b,m.a)),p["ɵdid"](1,278528,null,0,v.NgClass,[p.IterableDiffers,p.KeyValueDiffers,p.ElementRef,p.Renderer2],{ngClass:[0,"ngClass"]},null),p["ɵdid"](2,1097728,null,0,_.a,[[8,"alert-button"],g.a,p.ElementRef,p.Renderer],null,null),(t()(),p["ɵted"](3,0,["",""]))],function(t,e){t(e,1,0,e.context.$implicit.cssClass)},function(t,e){t(e,3,0,e.context.$implicit.text)})}function f(t){return p["ɵvid"](0,[(t()(),p["ɵeld"](0,0,null,null,1,"ion-backdrop",[["disable-activated",""],["role","presentation"],["tappable",""]],[[2,"backdrop-no-tappable",null]],[[null,"click"]],function(t,e,n){var r=!0;if("click"===e){r=!1!==t.component.bdClick()&&r}return r},null,null)),p["ɵdid"](1,16384,null,0,b.a,[p.ElementRef,p.Renderer],null,null),(t()(),p["ɵeld"](2,0,null,null,13,"div",[["class","alert-wrapper"]],null,null,null,null,null)),(t()(),p["ɵeld"](3,0,null,null,4,"div",[["class","alert-head"]],null,null,null,null,null)),(t()(),p["ɵand"](16777216,null,null,1,null,r)),p["ɵdid"](5,16384,null,0,v.NgIf,[p.ViewContainerRef,p.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),p["ɵand"](16777216,null,null,1,null,i)),p["ɵdid"](7,16384,null,0,v.NgIf,[p.ViewContainerRef,p.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),p["ɵeld"](8,0,null,null,0,"div",[["class","alert-message"]],[[8,"id",0],[8,"innerHTML",1]],null,null,null,null)),(t()(),p["ɵand"](16777216,null,null,1,null,d)),p["ɵdid"](10,16384,null,0,v.NgIf,[p.ViewContainerRef,p.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),p["ɵeld"](11,0,null,null,4,"div",[["class","alert-button-group"]],null,null,null,null,null)),p["ɵdid"](12,278528,null,0,v.NgClass,[p.IterableDiffers,p.KeyValueDiffers,p.ElementRef,p.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),p["ɵpod"](13,{"alert-button-group-vertical":0}),(t()(),p["ɵand"](16777216,null,null,1,null,h)),p["ɵdid"](15,802816,null,0,v.NgForOf,[p.ViewContainerRef,p.TemplateRef,p.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],function(t,e){var n=e.component;t(e,5,0,n.d.title);t(e,7,0,n.d.subTitle);t(e,10,0,n.d.inputs.length);t(e,12,0,"alert-button-group",t(e,13,0,n.d.buttons.length>2));t(e,15,0,n.d.buttons)},function(t,e){var n=e.component;t(e,0,0,!n.d.enableBackdropDismiss);t(e,8,0,p["ɵinlineInterpolate"](1,"",n.msgId,""),n.d.message)})}n.d(e,"a",function(){return C});var p=n(1),m=n(85),_=n(51),g=n(6),v=n(12),y=n(29),b=n(82),w=n(199),S=n(18),T=n(25),E=n(39),M=n(16),x=p["ɵcrt"]({encapsulation:2,styles:[],data:{}}),C=p["ɵccf"]("ion-alert",w.a,function(t){return p["ɵvid"](0,[(t()(),p["ɵeld"](0,0,null,null,1,"ion-alert",[["role","dialog"]],[[1,"aria-labelledby",0],[1,"aria-describedby",0]],[["body","keyup"]],function(t,e,n){var r=!0;return"body:keyup"===e&&(r=!1!==p["ɵnov"](t,1).keyUp(n)&&r),r},f,x)),p["ɵdid"](1,180224,null,0,w.a,[S.a,p.ElementRef,g.a,T.l,E.a,p.Renderer,M.a],null,null)],null,function(t,e){t(e,0,0,p["ɵnov"](e,1).hdrId,p["ɵnov"](e,1).descId)})},{},{},[])},function(t,e,n){"use strict";function r(t){return i["ɵvid"](0,[i["ɵqud"](402653184,1,{_viewport:0}),i["ɵqud"](402653184,2,{_modalPortal:0}),i["ɵqud"](402653184,3,{_overlayPortal:0}),i["ɵqud"](402653184,4,{_loadingPortal:0}),i["ɵqud"](402653184,5,{_toastPortal:0}),(t()(),i["ɵeld"](5,16777216,[[1,3],["viewport",1]],null,0,"div",[["app-viewport",""]],null,null,null,null,null)),(t()(),i["ɵeld"](6,16777216,[["modalPortal",1]],null,1,"div",[["overlay-portal",""]],null,null,null,null,null)),i["ɵdid"](7,147456,[[2,4]],0,o.a,[s.a,a.a,u.a,i.ElementRef,i.NgZone,i.Renderer,i.ComponentFactoryResolver,l.l,c.a,[2,d.a],i.ViewContainerRef,h.a,i.ErrorHandler],{_overlayPortal:[0,"_overlayPortal"]},null),(t()(),i["ɵeld"](8,16777216,[["overlayPortal",1]],null,1,"div",[["overlay-portal",""]],null,null,null,null,null)),i["ɵdid"](9,147456,[[3,4]],0,o.a,[s.a,a.a,u.a,i.ElementRef,i.NgZone,i.Renderer,i.ComponentFactoryResolver,l.l,c.a,[2,d.a],i.ViewContainerRef,h.a,i.ErrorHandler],{_overlayPortal:[0,"_overlayPortal"]},null),(t()(),i["ɵeld"](10,16777216,[["loadingPortal",1]],null,1,"div",[["class","loading-portal"],["overlay-portal",""]],null,null,null,null,null)),i["ɵdid"](11,147456,[[4,4]],0,o.a,[s.a,a.a,u.a,i.ElementRef,i.NgZone,i.Renderer,i.ComponentFactoryResolver,l.l,c.a,[2,d.a],i.ViewContainerRef,h.a,i.ErrorHandler],{_overlayPortal:[0,"_overlayPortal"]},null),(t()(),i["ɵeld"](12,16777216,[["toastPortal",1]],null,1,"div",[["class","toast-portal"]],null,null,null,null,null)),i["ɵdid"](13,147456,[[5,4]],0,o.a,[s.a,a.a,u.a,i.ElementRef,i.NgZone,i.Renderer,i.ComponentFactoryResolver,l.l,c.a,[2,d.a],i.ViewContainerRef,h.a,i.ErrorHandler],{_overlayPortal:[0,"_overlayPortal"]},null),(t()(),i["ɵeld"](14,0,null,null,1,"div",[["class","click-block"]],null,null,null,null,null)),i["ɵdid"](15,16384,null,0,f.a,[s.a,a.a,u.a,i.ElementRef,i.Renderer],null,null)],function(t,e){t(e,7,0,"");t(e,9,0,"");t(e,11,0,"");t(e,13,0,1e4)},null)}n.d(e,"a",function(){return _});var i=n(1),o=n(280),s=n(27),a=n(6),u=n(16),l=n(25),c=n(101),d=n(53),h=n(30),f=n(659),p=n(119),m=i["ɵcrt"]({encapsulation:2,styles:[],data:{}}),_=i["ɵccf"]("ion-app",p.b,function(t){return i["ɵvid"](0,[(t()(),i["ɵeld"](0,0,null,null,1,"ion-app",[],null,null,null,r,m)),i["ɵdid"](1,114688,null,0,p.b,[p.a,i.ComponentFactoryResolver,i.ElementRef,i.Renderer,a.a,u.a,s.a],null,null)],function(t,e){t(e,1,0)},null)},{color:"color",mode:"mode"},{},[])},function(t,e,n){"use strict";function r(t){return s["ɵvid"](0,[(t()(),s["ɵeld"](0,0,null,null,2,"div",[["class","loading-spinner"]],null,null,null,null,null)),(t()(),s["ɵeld"](1,0,null,null,1,"ion-spinner",[],[[2,"spinner-paused",null]],null,null,a.b,a.a)),s["ɵdid"](2,114688,null,0,u.a,[l.a,s.ElementRef,s.Renderer],{name:[0,"name"]},null)],function(t,e){t(e,2,0,e.component.d.spinner)},function(t,e){t(e,1,0,s["ɵnov"](e,2)._paused)})}function i(t){return s["ɵvid"](0,[(t()(),s["ɵeld"](0,0,null,null,0,"div",[["class","loading-content"]],[[8,"innerHTML",1]],null,null,null,null))],null,function(t,e){t(e,0,0,e.component.d.content)})}function o(t){return s["ɵvid"](0,[(t()(),s["ɵeld"](0,0,null,null,1,"ion-backdrop",[["disable-activated",""],["role","presentation"],["tappable",""]],[[8,"hidden",0],[2,"backdrop-no-tappable",null]],[[null,"click"]],function(t,e,n){var r=!0;if("click"===e){r=!1!==t.component.bdClick()&&r}return r},null,null)),s["ɵdid"](1,16384,null,0,c.a,[s.ElementRef,s.Renderer],null,null),(t()(),s["ɵeld"](2,0,null,null,4,"div",[["class","loading-wrapper"]],null,null,null,null,null)),(t()(),s["ɵand"](16777216,null,null,1,null,r)),s["ɵdid"](4,16384,null,0,d.NgIf,[s.ViewContainerRef,s.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),s["ɵand"](16777216,null,null,1,null,i)),s["ɵdid"](6,16384,null,0,d.NgIf,[s.ViewContainerRef,s.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(t,e){var n=e.component;t(e,4,0,n.showSpinner);t(e,6,0,n.d.content)},function(t,e){var n=e.component;t(e,0,0,!n.d.showBackdrop,!n.d.enableBackdropDismiss)})}n.d(e,"a",function(){return g});var s=n(1),a=n(108),u=n(78),l=n(6),c=n(82),d=n(12),h=n(203),f=n(18),p=n(25),m=n(39),_=s["ɵcrt"]({encapsulation:2,styles:[],data:{}}),g=s["ɵccf"]("ion-loading",h.a,function(t){return s["ɵvid"](0,[(t()(),s["ɵeld"](0,0,null,null,1,"ion-loading",[["role","dialog"]],null,[["body","keyup"]],function(t,e,n){var r=!0;return"body:keyup"===e&&(r=!1!==s["ɵnov"](t,1).keyUp(n)&&r),r},o,_)),s["ɵdid"](1,245760,null,0,h.a,[f.a,l.a,s.ElementRef,p.l,m.a,s.Renderer],null,null)],function(t,e){t(e,1,0)},null)},{},{},[])},function(t,e,n){"use strict";function r(t){return i["ɵvid"](0,[i["ɵqud"](402653184,1,{_viewport:0}),(t()(),i["ɵeld"](1,0,null,null,1,"ion-backdrop",[["disable-activated",""],["role","presentation"],["tappable",""]],[[2,"backdrop-no-tappable",null]],[[null,"click"]],function(t,e,n){var r=!0;if("click"===e){r=!1!==t.component._bdClick()&&r}return r},null,null)),i["ɵdid"](2,16384,null,0,o.a,[i.ElementRef,i.Renderer],null,null),(t()(),i["ɵeld"](3,0,null,null,1,"div",[["class","modal-wrapper"]],null,null,null,null,null)),(t()(),i["ɵeld"](4,16777216,[[1,3],["viewport",1]],null,0,"div",[["nav-viewport",""]],null,null,null,null,null))],null,function(t,e){t(e,1,0,!e.component._bdDismiss)})}n.d(e,"a",function(){return h});var i=n(1),o=n(82),s=n(205),a=n(39),u=n(18),l=n(25),c=n(106),d=i["ɵcrt"]({encapsulation:2,styles:[],data:{}}),h=i["ɵccf"]("ion-modal",s.a,function(t){return i["ɵvid"](0,[(t()(),i["ɵeld"](0,0,null,null,1,"ion-modal",[],null,[["body","keyup"]],function(t,e,n){var r=!0;return"body:keyup"===e&&(r=!1!==i["ɵnov"](t,1)._keyUp(n)&&r),r},r,d)),i["ɵdid"](1,180224,null,0,s.a,[i.ComponentFactoryResolver,i.Renderer,i.ElementRef,a.a,u.a,l.l,c.b],null,null)],null,null)},{},{},[])},function(t,e,n){"use strict";function r(t){return c["ɵvid"](0,[(t()(),c["ɵeld"](0,0,null,null,1,"div",[["class","picker-prefix"]],[[4,"width",null]],null,null,null,null)),(t()(),c["ɵted"](1,null,["",""]))],null,function(t,e){var n=e.component;t(e,0,0,n.col.prefixWidth);t(e,1,0,n.col.prefix)})}function i(t){return c["ɵvid"](0,[(t()(),c["ɵeld"](0,0,null,null,1,"button",[["class","picker-opt"],["disable-activated",""]],[[2,"picker-opt-disabled",null]],[[null,"click"]],function(t,e,n){var r=!0;if("click"===e){r=!1!==t.component.optClick(n,t.context.index)&&r}return r},null,null)),(t()(),c["ɵted"](1,null,["",""]))],null,function(t,e){t(e,0,0,e.context.$implicit.disabled);t(e,1,0,e.context.$implicit.text)})}function o(t){return c["ɵvid"](0,[(t()(),c["ɵeld"](0,0,null,null,1,"div",[["class","picker-suffix"]],[[4,"width",null]],null,null,null,null)),(t()(),c["ɵted"](1,null,["",""]))],null,function(t,e){var n=e.component;t(e,0,0,n.col.suffixWidth);t(e,1,0,n.col.suffix)})}function s(t){return c["ɵvid"](0,[c["ɵqud"](402653184,1,{colEle:0}),(t()(),c["ɵand"](16777216,null,null,1,null,r)),c["ɵdid"](2,16384,null,0,d.NgIf,[c.ViewContainerRef,c.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),c["ɵeld"](3,0,[[1,0],["colEle",1]],null,2,"div",[["class","picker-opts"]],[[4,"max-width",null]],null,null,null,null)),(t()(),c["ɵand"](16777216,null,null,1,null,i)),c["ɵdid"](5,802816,null,0,d.NgForOf,[c.ViewContainerRef,c.TemplateRef,c.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(t()(),c["ɵand"](16777216,null,null,1,null,o)),c["ɵdid"](7,16384,null,0,d.NgIf,[c.ViewContainerRef,c.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(t,e){var n=e.component;t(e,2,0,n.col.prefix);t(e,5,0,n.col.options);t(e,7,0,n.col.suffix)},function(t,e){t(e,3,0,e.component.col.optionsWidth)})}function a(t){return c["ɵvid"](0,[(t()(),c["ɵeld"](0,0,null,null,7,"div",[["class","picker-toolbar-button"]],null,null,null,null,null)),c["ɵdid"](1,278528,null,0,d.NgClass,[c.IterableDiffers,c.KeyValueDiffers,c.ElementRef,c.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),(t()(),c["ɵted"](-1,null,["\n          "])),(t()(),c["ɵeld"](3,0,null,null,3,"button",[["class","picker-button"],["clear",""],["ion-button",""]],null,[[null,"click"]],function(t,e,n){var r=!0;if("click"===e){r=!1!==t.component.btnClick(t.context.$implicit)&&r}return r},h.b,h.a)),c["ɵdid"](4,278528,null,0,d.NgClass,[c.IterableDiffers,c.KeyValueDiffers,c.ElementRef,c.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),c["ɵdid"](5,1097728,null,0,f.a,[[8,""],p.a,c.ElementRef,c.Renderer],{clear:[0,"clear"]},null),(t()(),c["ɵted"](6,0,["\n            ","\n          "])),(t()(),c["ɵted"](-1,null,["\n        "]))],function(t,e){t(e,1,0,"picker-toolbar-button",e.context.$implicit.cssRole);t(e,4,0,"picker-button",e.context.$implicit.cssClass);t(e,5,0,"")},function(t,e){t(e,6,0,e.context.$implicit.text)})}function u(t){return c["ɵvid"](0,[(t()(),c["ɵeld"](0,0,null,null,1,"div",[["class","picker-col"]],[[4,"max-width",null],[2,"picker-opts-left",null],[2,"picker-opts-right",null]],[[null,"ionChange"]],function(t,e,n){var r=!0;if("ionChange"===e){r=!1!==t.component._colChange(n)&&r}return r},s,y)),c["ɵdid"](1,4374528,[[1,4]],0,m.a,[p.a,_.a,c.ElementRef,c.NgZone,g.a,_.a,v.a],{col:[0,"col"]},{ionChange:"ionChange"})],function(t,e){t(e,1,0,e.context.$implicit)},function(t,e){t(e,0,0,c["ɵnov"](e,1).col.columnWidth,"left"==c["ɵnov"](e,1).col.align,"right"==c["ɵnov"](e,1).col.align)})}function l(t){return c["ɵvid"](0,[c["ɵqud"](671088640,1,{_cols:1}),(t()(),c["ɵted"](-1,null,["\n    "])),(t()(),c["ɵeld"](2,0,null,null,1,"ion-backdrop",[["disable-activated",""],["role","presentation"],["tappable",""]],null,[[null,"click"]],function(t,e,n){var r=!0;if("click"===e){r=!1!==t.component.bdClick()&&r}return r},null,null)),c["ɵdid"](3,16384,null,0,b.a,[c.ElementRef,c.Renderer],null,null),(t()(),c["ɵted"](-1,null,["\n    "])),(t()(),c["ɵeld"](5,0,null,null,17,"div",[["class","picker-wrapper"]],null,null,null,null,null)),(t()(),c["ɵted"](-1,null,["\n      "])),(t()(),c["ɵeld"](7,0,null,null,4,"div",[["class","picker-toolbar"]],null,null,null,null,null)),(t()(),c["ɵted"](-1,null,["\n        "])),(t()(),c["ɵand"](16777216,null,null,1,null,a)),c["ɵdid"](10,802816,null,0,d.NgForOf,[c.ViewContainerRef,c.TemplateRef,c.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(t()(),c["ɵted"](-1,null,["\n      "])),(t()(),c["ɵted"](-1,null,["\n      "])),(t()(),c["ɵeld"](13,0,null,null,8,"div",[["class","picker-columns"]],null,null,null,null,null)),(t()(),c["ɵted"](-1,null,["\n        "])),(t()(),c["ɵeld"](15,0,null,null,0,"div",[["class","picker-above-highlight"]],null,null,null,null,null)),(t()(),c["ɵted"](-1,null,["\n        "])),(t()(),c["ɵand"](16777216,null,null,1,null,u)),c["ɵdid"](18,802816,null,0,d.NgForOf,[c.ViewContainerRef,c.TemplateRef,c.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(t()(),c["ɵted"](-1,null,["\n        "])),(t()(),c["ɵeld"](20,0,null,null,0,"div",[["class","picker-below-highlight"]],null,null,null,null,null)),(t()(),c["ɵted"](-1,null,["\n      "])),(t()(),c["ɵted"](-1,null,["\n    "])),(t()(),c["ɵted"](-1,null,["\n  "]))],function(t,e){var n=e.component;t(e,10,0,n.d.buttons);t(e,18,0,n.d.columns)},null)}var c=n(1),d=n(12),h=n(85),f=n(51),p=n(6),m=n(153),_=n(16),g=n(94),v=n(30),y=c["ɵcrt"]({encapsulation:2,styles:[],data:{}}),b=n(82),w=n(200),S=n(18),T=n(25),E=n(39);n.d(e,"a",function(){return x});var M=c["ɵcrt"]({encapsulation:2,styles:[],data:{}}),x=c["ɵccf"]("ion-picker-cmp",w.a,function(t){return c["ɵvid"](0,[(t()(),c["ɵeld"](0,0,null,null,1,"ion-picker-cmp",[["role","dialog"]],null,[["body","keyup"]],function(t,e,n){var r=!0;return"body:keyup"===e&&(r=!1!==c["ɵnov"](t,1)._keyUp(n)&&r),r},l,M)),c["ɵdid"](1,180224,null,0,w.a,[S.a,c.ElementRef,p.a,T.l,E.a,c.Renderer],null,null)],null,null)},{},{},[])},function(t,e,n){"use strict";function r(t){return i["ɵvid"](0,[i["ɵqud"](402653184,1,{_viewport:0}),(t()(),i["ɵeld"](1,0,null,null,1,"ion-backdrop",[["disable-activated",""],["role","presentation"],["tappable",""]],[[8,"hidden",0]],[[null,"click"]],function(t,e,n){var r=!0;if("click"===e){r=!1!==t.component._bdClick()&&r}return r},null,null)),i["ɵdid"](2,16384,null,0,o.a,[i.ElementRef,i.Renderer],null,null),(t()(),i["ɵeld"](3,0,null,null,4,"div",[["class","popover-wrapper"]],null,null,null,null,null)),(t()(),i["ɵeld"](4,0,null,null,0,"div",[["class","popover-arrow"]],null,null,null,null,null)),(t()(),i["ɵeld"](5,0,null,null,2,"div",[["class","popover-content"]],null,null,null,null,null)),(t()(),i["ɵeld"](6,0,null,null,1,"div",[["class","popover-viewport"]],null,null,null,null,null)),(t()(),i["ɵeld"](7,16777216,[[1,3],["viewport",1]],null,0,"div",[["nav-viewport",""]],null,null,null,null,null))],null,function(t,e){t(e,1,0,!e.component.d.showBackdrop)})}n.d(e,"a",function(){return f});var i=n(1),o=n(82),s=n(208),a=n(6),u=n(39),l=n(18),c=n(25),d=n(106),h=i["ɵcrt"]({encapsulation:2,styles:[],data:{}}),f=i["ɵccf"]("ion-popover",s.a,function(t){return i["ɵvid"](0,[(t()(),i["ɵeld"](0,0,null,null,1,"ion-popover",[],null,[["body","keyup"]],function(t,e,n){var r=!0;return"body:keyup"===e&&(r=!1!==i["ɵnov"](t,1)._keyUp(n)&&r),r},r,h)),i["ɵdid"](1,180224,null,0,s.a,[i.ComponentFactoryResolver,i.ElementRef,i.Renderer,a.a,u.a,l.a,c.l,d.b],null,null)],null,null)},{},{},[])},function(t,e,n){"use strict";function r(t){return o["ɵvid"](0,[(t()(),o["ɵeld"](0,0,null,null,13,"ion-item",[["class","item item-block"]],null,null,null,s.b,s.a)),o["ɵdid"](1,1097728,null,3,a.a,[u.a,l.a,o.ElementRef,o.Renderer,[2,c.a]],null,null),o["ɵqud"](335544320,2,{contentLabel:0}),o["ɵqud"](603979776,3,{_buttons:1}),o["ɵqud"](603979776,4,{_icons:1}),o["ɵdid"](5,16384,null,0,d.a,[],null,null),(t()(),o["ɵted"](-1,2,["\n        "])),(t()(),o["ɵeld"](7,0,null,1,2,"ion-label",[],null,null,null,null,null)),o["ɵdid"](8,16384,[[2,4]],0,h.a,[l.a,o.ElementRef,o.Renderer,[8,null],[8,null],[8,null],[8,null]],null,null),(t()(),o["ɵted"](9,null,["",""])),(t()(),o["ɵted"](-1,2,["\n        "])),(t()(),o["ɵeld"](11,0,null,4,1,"ion-radio",[],[[2,"radio-disabled",null]],[[null,"click"]],function(t,e,n){var r=!0;if("click"===e){r=!1!==o["ɵnov"](t,12)._click(n)&&r}return r},f.b,f.a)),o["ɵdid"](12,245760,null,0,p.a,[u.a,l.a,o.ElementRef,o.Renderer,[2,a.a],[2,m.a]],{value:[0,"value"],checked:[1,"checked"],disabled:[2,"disabled"]},null),(t()(),o["ɵted"](-1,2,["\n      "]))],function(t,e){t(e,12,0,e.context.$implicit.value,e.context.$implicit.checked,e.context.$implicit.disabled)},function(t,e){t(e,9,0,e.context.$implicit.text);t(e,11,0,o["ɵnov"](e,12)._disabled)})}function i(t){return o["ɵvid"](0,[(t()(),o["ɵted"](-1,null,["\n    "])),(t()(),o["ɵeld"](1,0,null,null,11,"ion-list",[["radio-group",""],["role","radiogroup"]],[[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"]],function(t,e,n){var r=!0;if("ngModelChange"===e){r=!1!==(t.component.value=n)&&r}return r},null,null)),o["ɵdid"](2,1064960,null,1,m.a,[o.Renderer,o.ElementRef,o.ChangeDetectorRef],null,null),o["ɵqud"](335544320,1,{_header:0}),o["ɵprd"](1024,null,_.m,function(t){return[t]},[m.a]),o["ɵdid"](5,671744,null,0,_.r,[[8,null],[8,null],[8,null],[2,_.m]],{model:[0,"model"]},{update:"ngModelChange"}),o["ɵprd"](2048,null,_.n,null,[_.r]),o["ɵdid"](7,16384,null,0,_.o,[_.n],null,null),o["ɵdid"](8,16384,null,0,g.a,[l.a,o.ElementRef,o.Renderer,v.a,y.l,b.a],null,null),(t()(),o["ɵted"](-1,null,["\n      "])),(t()(),o["ɵand"](16777216,null,null,1,null,r)),o["ɵdid"](11,802816,null,0,w.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(t()(),o["ɵted"](-1,null,["\n    "])),(t()(),o["ɵted"](-1,null,["\n  "]))],function(t,e){var n=e.component;t(e,5,0,n.value);t(e,11,0,n.options)},function(t,e){t(e,1,0,o["ɵnov"](e,7).ngClassUntouched,o["ɵnov"](e,7).ngClassTouched,o["ɵnov"](e,7).ngClassPristine,o["ɵnov"](e,7).ngClassDirty,o["ɵnov"](e,7).ngClassValid,o["ɵnov"](e,7).ngClassInvalid,o["ɵnov"](e,7).ngClassPending)})}n.d(e,"a",function(){return x});var o=n(1),s=n(367),a=n(57),u=n(52),l=n(6),c=n(118),d=n(168),h=n(136),f=n(784),p=n(178),m=n(139),_=n(29),g=n(137),v=n(16),y=n(25),b=n(30),w=n(12),S=n(209),T=n(39),E=n(18),M=o["ɵcrt"]({encapsulation:2,styles:[],data:{}}),x=o["ɵccf"]("ng-component",S.a,function(t){return o["ɵvid"](0,[(t()(),o["ɵeld"](0,0,null,null,1,"ng-component",[],null,null,null,i,M)),o["ɵdid"](1,114688,null,0,S.a,[T.a,E.a],null,null)],function(t,e){t(e,1,0)},null)},{},{},[])},function(t,e,n){"use strict";function r(t){return s["ɵvid"](0,[(t()(),s["ɵeld"](0,0,null,null,1,"div",[["class","toast-message"]],[[8,"id",0]],null,null,null,null)),(t()(),s["ɵted"](1,null,["",""]))],null,function(t,e){var n=e.component;t(e,0,0,s["ɵinlineInterpolate"](1,"",n.hdrId,""));t(e,1,0,n.d.message)})}function i(t){return s["ɵvid"](0,[(t()(),s["ɵeld"](0,0,null,null,2,"button",[["class","toast-button"],["clear",""],["ion-button",""]],null,[[null,"click"]],function(t,e,n){var r=!0;if("click"===e){r=!1!==t.component.cbClick()&&r}return r},a.b,a.a)),s["ɵdid"](1,1097728,null,0,u.a,[[8,""],l.a,s.ElementRef,s.Renderer],{clear:[0,"clear"]},null),(t()(),s["ɵted"](2,0,[" "," "]))],function(t,e){t(e,1,0,"")},function(t,e){t(e,2,0,e.component.d.closeButtonText||"Close")})}function o(t){return s["ɵvid"](0,[(t()(),s["ɵeld"](0,0,null,null,10,"div",[["class","toast-wrapper"]],[[2,"toast-bottom",null],[2,"toast-middle",null],[2,"toast-top",null]],null,null,null,null)),(t()(),s["ɵted"](-1,null,[" "])),(t()(),s["ɵeld"](2,0,null,null,7,"div",[["class","toast-container"]],null,null,null,null,null)),(t()(),s["ɵted"](-1,null,[" "])),(t()(),s["ɵand"](16777216,null,null,1,null,r)),s["ɵdid"](5,16384,null,0,c.NgIf,[s.ViewContainerRef,s.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),s["ɵted"](-1,null,[" "])),(t()(),s["ɵand"](16777216,null,null,1,null,i)),s["ɵdid"](8,16384,null,0,c.NgIf,[s.ViewContainerRef,s.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),s["ɵted"](-1,null,[" "])),(t()(),s["ɵted"](-1,null,[" "]))],function(t,e){var n=e.component;t(e,5,0,n.d.message);t(e,8,0,n.d.showCloseButton)},function(t,e){var n=e.component;t(e,0,0,"bottom"===n.d.position,"middle"===n.d.position,"top"===n.d.position)})}n.d(e,"a",function(){return m});var s=n(1),a=n(85),u=n(51),l=n(6),c=n(12),d=n(210),h=n(18),f=n(39),p=s["ɵcrt"]({encapsulation:2,styles:[],data:{}}),m=s["ɵccf"]("ion-toast",d.a,function(t){return s["ɵvid"](0,[(t()(),s["ɵeld"](0,0,null,null,1,"ion-toast",[["role","dialog"]],[[1,"aria-labelledby",0],[1,"aria-describedby",0]],null,null,o,p)),s["ɵdid"](1,4243456,null,0,d.a,[h.a,l.a,s.ElementRef,f.a,s.Renderer],null,null)],null,function(t,e){t(e,0,0,s["ɵnov"](e,1).hdrId,s["ɵnov"](e,1).descId)})},{},{},[])},function(t,e,n){"use strict";function r(t){return i["ɵvid"](2,[i["ɵqud"](402653184,1,{_fixedContent:0}),i["ɵqud"](402653184,2,{_scrollContent:0}),(t()(),i["ɵeld"](2,0,[[1,0],["fixedContent",1]],null,1,"div",[["class","fixed-content"]],null,null,null,null,null)),i["ɵncd"](null,0),(t()(),i["ɵeld"](4,0,[[2,0],["scrollContent",1]],null,1,"div",[["class","scroll-content"]],null,null,null,null,null)),i["ɵncd"](null,1),i["ɵncd"](null,2)],null,null)}n.d(e,"a",function(){return o}),e.b=r;var i=n(1),o=(n(6),n(16),n(30),n(77),n(18),n(63),i["ɵcrt"]({encapsulation:2,styles:[],data:{}}))},function(t,e,n){"use strict";function r(t){return i["ɵvid"](0,[(t()(),i["ɵeld"](0,0,null,null,1,"div",[["class","toolbar-background"]],null,null,null,null,null)),i["ɵdid"](1,278528,null,0,o.NgClass,[i.IterableDiffers,i.KeyValueDiffers,i.ElementRef,i.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),(t()(),i["ɵeld"](2,0,null,null,8,"button",[["class","back-button"],["ion-button","bar-button"]],[[8,"hidden",0]],[[null,"click"]],function(t,e,n){var r=!0;if("click"===e){r=!1!==t.component.backButtonClick(n)&&r}return r},s.b,s.a)),i["ɵdid"](3,278528,null,0,o.NgClass,[i.IterableDiffers,i.KeyValueDiffers,i.ElementRef,i.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),i["ɵdid"](4,1097728,null,0,a.a,[[8,"bar-button"],u.a,i.ElementRef,i.Renderer],null,null),(t()(),i["ɵeld"](5,0,null,0,2,"ion-icon",[["class","back-button-icon"],["role","img"]],[[2,"hide",null]],null,null,null,null)),i["ɵdid"](6,278528,null,0,o.NgClass,[i.IterableDiffers,i.KeyValueDiffers,i.ElementRef,i.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),i["ɵdid"](7,147456,null,0,l.a,[u.a,i.ElementRef,i.Renderer],{name:[0,"name"]},null),(t()(),i["ɵeld"](8,0,null,0,2,"span",[["class","back-button-text"]],null,null,null,null,null)),i["ɵdid"](9,278528,null,0,o.NgClass,[i.IterableDiffers,i.KeyValueDiffers,i.ElementRef,i.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),(t()(),i["ɵted"](10,null,["",""])),i["ɵncd"](null,0),i["ɵncd"](null,1),i["ɵncd"](null,2),(t()(),i["ɵeld"](14,0,null,null,2,"div",[["class","toolbar-content"]],null,null,null,null,null)),i["ɵdid"](15,278528,null,0,o.NgClass,[i.IterableDiffers,i.KeyValueDiffers,i.ElementRef,i.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),i["ɵncd"](null,3)],function(t,e){var n=e.component;t(e,1,0,"toolbar-background","toolbar-background-"+n._mode);t(e,3,0,"back-button","back-button-"+n._mode);t(e,6,0,"back-button-icon","back-button-icon-"+n._mode);t(e,7,0,n._bbIcon);t(e,9,0,"back-button-text","back-button-text-"+n._mode);t(e,15,0,"toolbar-content","toolbar-content-"+n._mode)},function(t,e){var n=e.component;t(e,2,0,n._hideBb);t(e,5,0,i["ɵnov"](e,7)._hidden);t(e,10,0,n._backText)})}n.d(e,"a",function(){return c}),e.b=r;var i=n(1),o=n(12),s=n(85),a=n(51),u=n(6),l=n(43),c=(n(18),n(63),i["ɵcrt"]({encapsulation:2,styles:[],data:{}}))},function(t,e,n){"use strict";function r(t){return i["ɵvid"](2,[(t()(),i["ɵeld"](0,0,null,null,2,"div",[["class","toolbar-title"]],null,null,null,null,null)),i["ɵdid"](1,278528,null,0,o.NgClass,[i.IterableDiffers,i.KeyValueDiffers,i.ElementRef,i.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),i["ɵncd"](null,0)],function(t,e){t(e,1,0,"toolbar-title","toolbar-title-"+e.component._mode)},null)}n.d(e,"a",function(){return s}),e.b=r;var i=n(1),o=n(12),s=(n(6),i["ɵcrt"]({encapsulation:2,styles:[],data:{}}))},function(t,e,n){"use strict";function r(t){return i["ɵvid"](2,[(t()(),i["ɵeld"](0,0,null,null,1,"div",[["class","toolbar-background"]],null,null,null,null,null)),i["ɵdid"](1,278528,null,0,o.NgClass,[i.IterableDiffers,i.KeyValueDiffers,i.ElementRef,i.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),i["ɵncd"](null,0),i["ɵncd"](null,1),i["ɵncd"](null,2),(t()(),i["ɵeld"](5,0,null,null,2,"div",[["class","toolbar-content"]],null,null,null,null,null)),i["ɵdid"](6,278528,null,0,o.NgClass,[i.IterableDiffers,i.KeyValueDiffers,i.ElementRef,i.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),i["ɵncd"](null,3)],function(t,e){var n=e.component;t(e,1,0,"toolbar-background","toolbar-background-"+n._mode);t(e,6,0,"toolbar-content","toolbar-content-"+n._mode)},null)}n.d(e,"a",function(){return s}),e.b=r;var i=n(1),o=n(12),s=(n(6),i["ɵcrt"]({encapsulation:2,styles:[],data:{}}))},function(t,e,n){"use strict";function r(t){return a["ɵvid"](0,[(t()(),a["ɵeld"](0,0,null,null,1,"ion-icon",[["name","reorder"],["role","img"]],[[2,"hide",null]],null,null,null,null)),a["ɵdid"](1,147456,null,0,c.a,[l.a,a.ElementRef,a.Renderer],{name:[0,"name"]},null)],function(t,e){t(e,1,0,"reorder")},function(t,e){t(e,0,0,a["ɵnov"](e,1)._hidden)})}function i(t){return a["ɵvid"](0,[(t()(),a["ɵeld"](0,0,null,null,2,"ion-label",[],null,null,null,null,null)),a["ɵdid"](1,16384,[[1,4]],0,u.a,[l.a,a.ElementRef,a.Renderer,[8,null],[8,null],[8,null],[8,null]],null,null),a["ɵncd"](null,2)],null,null)}function o(t){return a["ɵvid"](0,[(t()(),a["ɵeld"](0,0,null,null,1,"ion-reorder",[],null,[[null,"click"]],function(t,e,n){var r=!0;if("click"===e){r=!1!==a["ɵnov"](t,1).onClick(n)&&r}return r},r,h)),a["ɵdid"](1,49152,null,0,d.a,[a.ElementRef],null,null)],null,null)}function s(t){return a["ɵvid"](2,[a["ɵqud"](671088640,1,{viewLabel:0}),a["ɵncd"](null,0),(t()(),a["ɵeld"](2,0,null,null,8,"div",[["class","item-inner"]],null,null,null,null,null)),(t()(),a["ɵeld"](3,0,null,null,4,"div",[["class","input-wrapper"]],null,null,null,null,null)),a["ɵncd"](null,1),(t()(),a["ɵand"](16777216,null,null,1,null,i)),a["ɵdid"](6,16384,null,0,f.NgIf,[a.ViewContainerRef,a.TemplateRef],{ngIf:[0,"ngIf"]},null),a["ɵncd"](null,3),a["ɵncd"](null,4),(t()(),a["ɵand"](16777216,null,null,1,null,o)),a["ɵdid"](10,16384,null,0,f.NgIf,[a.ViewContainerRef,a.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),a["ɵeld"](11,0,null,null,0,"div",[["class","button-effect"]],null,null,null,null,null))],function(t,e){var n=e.component;t(e,6,0,n._viewLabel);t(e,10,0,n._hasReorder)},null)}var a=n(1),u=n(136),l=n(6),c=n(43),d=n(202),h=a["ɵcrt"]({encapsulation:2,styles:[],data:{}}),f=n(12);n(57),n(52),n(118);n.d(e,"a",function(){return p}),e.b=s;var p=a["ɵcrt"]({encapsulation:2,styles:[],data:{}})},,function(t,e,n){"use strict";n.d(e,"a",function(){return c});var r=n(1),i=n(19),o=n(279),s=(n.n(o),n(6),n(67),n(49)),a=(n(30),n(52),n(102)),u=n(11),l=(n(16),this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}()),c=function(t){function e(e,n,o,s,a,u,l,c,d,h){var f=t.call(this,e,a,u,"input","",o,c,d)||this;if(f._plt=n,f._app=s,f._content=l,f.ngControl=d,f._dom=h,f._clearInput=!1,f._readonly=!1,f._type="text",f._isTextarea=!1,f._onDestroy=new i.Subject,f._useAssist=!1,f._relocated=!1,f.autocomplete="",f.autocorrect="",f.placeholder="",f.min=null,f.max=null,f.step=null,f.input=new r.EventEmitter,f.blur=new r.EventEmitter,f.focus=new r.EventEmitter,f.autocomplete=e.get("autocomplete","off"),f.autocorrect=e.get("autocorrect","off"),f._autoFocusAssist=e.get("autoFocusAssist","delay"),f._keyboardHeight=e.getNumber("keyboardHeight"),f._isTextarea=!("ION-TEXTAREA"!==a.nativeElement.tagName),f._isTextarea&&c&&c.setElementClass("item-textarea",!0),!l)return f;e.getBoolean("hideCaretOnScroll",!1)&&f._enableHideCaretOnScroll();var p=n.win();if(p.Ionic&&p.Ionic.keyboardPlugin){e.getBoolean("keyboardResizes",!1)?(f._keyboardHeight=e.getNumber("keyboardSafeArea",60),f._enableScrollMove()):(f._enableScrollPadding(),f._enableScrollMove())}else{f._useAssist=e.getBoolean("scrollAssist",!1);e.getBoolean("scrollPadding",f._useAssist)&&f._enableScrollPadding()}return f}return l(e,t),Object.defineProperty(e.prototype,"clearInput",{get:function(){return this._clearInput},set:function(t){this._clearInput=!this._isTextarea&&Object(u.o)(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"type",{get:function(){return this._isTextarea?"text":this._type},set:function(t){this._type=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"readonly",{get:function(){return this._readonly},set:function(t){this._readonly=Object(u.o)(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"clearOnEdit",{get:function(){return this._clearOnEdit},set:function(t){this._clearOnEdit=Object(u.o)(t)},enumerable:!0,configurable:!0}),e.prototype.ngAfterContentInit=function(){},e.prototype.ngAfterViewInit=function(){!1!==this.clearOnEdit&&"password"===this.type&&(this.clearOnEdit=!0);var t=this._elementRef.nativeElement,e=this._native.nativeElement;if(Object(s.b)(t,e),t.hasAttribute("tabIndex")&&t.removeAttribute("tabIndex"),t.hasAttribute("autofocus"))switch(t.removeAttribute("autofocus"),this._autoFocusAssist){case"immediate":e.focus();break;case"delay":this._plt.timeout(function(){return e.focus()},800)}this._initialize(),this.focus.observers.length>0&&console.warn("(focus) is deprecated in ion-input, use (ionFocus) instead"),this.blur.observers.length>0&&console.warn("(blur) is deprecated in ion-input, use (ionBlur) instead")},e.prototype.ngOnDestroy=function(){t.prototype.ngOnDestroy.call(this),this._onDestroy.next(),this._onDestroy=null},e.prototype.initFocus=function(){this.setFocus()},e.prototype.setFocus=function(){this.isFocus()||this._native.nativeElement.focus()},e.prototype.setBlur=function(){this.isFocus()&&this._native.nativeElement.blur()},e.prototype.onInput=function(t){this.value=t.target.value,this.input.emit(t)},e.prototype.onBlur=function(t){this._fireBlur(),this.blur.emit(t),this._scrollData=null,this._clearOnEdit&&this.hasValue()&&(this._didBlurAfterEdit=!0)},e.prototype.onFocus=function(t){this._fireFocus(),this.focus.emit(t)},e.prototype.onKeydown=function(t){t&&this._clearOnEdit&&this.checkClearOnEdit(t.target.value)},e.prototype._inputUpdated=function(){t.prototype._inputUpdated.call(this);var e=this._native.nativeElement,n=this._value;e.value!==n&&(e.value=n)},e.prototype.clearTextInput=function(){this.value=""},e.prototype.checkClearOnEdit=function(t){this._clearOnEdit&&(this._didBlurAfterEdit&&this.hasValue()&&this.clearTextInput(),this._didBlurAfterEdit=!1)},e.prototype._getScrollData=function(){if(!this._content)return{scrollAmount:0,scrollTo:0,scrollPadding:0,scrollDuration:0,inputSafeY:0};if(this._scrollData)return this._scrollData;var t=this._elementRef.nativeElement;return t=t.closest("ion-item,[ion-item]")||t,this._scrollData=function(t,e,n,r,i){var o=t+n.contentTop-n.scrollTop,s=o+e,a=n.contentTop,u=(i-r-a)/2,l=a+u,c=o>=a&&o<=l,h=o<a,f=o>l,p=s>=a&&s<=l,m=s>l,_={scrollAmount:0,scrollTo:0,scrollPadding:0,scrollDuration:0,inputSafeY:0};if(_.scrollPadding=r,c&&p)return _;(f||m||h)&&(_.scrollAmount=u>e?Math.round(l-s):Math.round(a-o),_.inputSafeY=4-(o-a),h&&_.scrollAmount>e&&(_.scrollAmount=e)),_.scrollTo=n.scrollTop-_.scrollAmount;var g=Math.abs(_.scrollAmount)/d;return _.scrollDuration=Math.min(400,Math.max(150,g)),_}(t.offsetTop,t.offsetHeight,this._content.getContentDimensions(),this._keyboardHeight,this._plt.height())},e.prototype._relocateInput=function(t){if(this._relocated!==t){var e=this._plt,n=this.getNativeElement(),r=this._native.nativeElement;if(t){!function(t,e,n){if(e){var r=e.offsetTop,i=e.offsetLeft,o=e.offsetWidth,s=e.offsetHeight,a=e.cloneNode(!1),u=a.style;a.classList.add("cloned-input"),a.setAttribute("aria-hidden","true"),u.pointerEvents="none",u.position="absolute",u.top=r+"px",u.left=i+"px",u.width=o+"px",u.height=s+"px";var l=n.cloneNode(!1);l.value=n.value,l.tabIndex=-1,a.appendChild(l),e.parentNode.appendChild(a),e.style.pointerEvents="none"}n.style[t.Css.transform]="scale(0)"}(e,n,r);var i=this._getScrollData().inputSafeY;r.style[e.Css.transform]="translate3d("+(this._plt.isRTL?9999:-9999)+"px,"+i+"px,0)",r.style.opacity="0"}else!function(t,e,n){if(e&&e.parentElement){for(var r=e.parentElement.querySelectorAll(".cloned-input"),i=0;i<r.length;i++)r[i].parentNode.removeChild(r[i]);e.style.pointerEvents=""}n.style[t.Css.transform]="",n.style.opacity=""}(e,n,r);this._relocated=t}},e.prototype._enableScrollPadding=function(){var t=this;this.ionFocus.subscribe(function(){var e=t._content,n=t._getScrollData().scrollPadding;e.addScrollPadding(n),e.clearScrollPaddingFocusOut()})},e.prototype._enableHideCaretOnScroll=function(){function t(t){r.isFocus()&&r._dom.write(function(){return r._relocateInput(t)})}var e=this,n=this._content;n.ionScrollStart.takeUntil(this._onDestroy).subscribe(function(){return t(!0)}),n.ionScrollEnd.takeUntil(this._onDestroy).subscribe(function(){return t(!1)}),this.ionBlur.subscribe(function(){return e._relocateInput(!1)});var r=this},e.prototype._enableScrollMove=function(){var t=this;this.ionFocus.subscribe(function(){var e=t._getScrollData();Math.abs(e.scrollAmount)>4&&t._content.scrollTo(0,e.scrollTo,e.scrollDuration)})},e.prototype._pointerStart=function(t){"touchstart"===t.type&&(this._isTouch=!0),(this._isTouch||!this._isTouch&&"mousedown"===t.type)&&this._app.isEnabled()&&(this._coord=Object(s.f)(t))},e.prototype._pointerEnd=function(t){if(this._isTouch&&"mouseup"===t.type||!this._app.isEnabled())t.preventDefault(),t.stopPropagation();else if(this._coord){var e=Object(s.f)(t);Object(s.d)(8,this._coord,e)||this.isFocus()||(t.preventDefault(),t.stopPropagation(),this._jsSetFocus())}this._coord=null},e.prototype._jsSetFocus=function(){var t=this,e=this._content;e||this.setFocus();var n=this._getScrollData();Math.abs(n.scrollAmount)<4?this.setFocus():(this._relocateInput(!0),this.setFocus(),e.scrollTo(0,n.scrollTo,n.scrollDuration,function(){t._relocateInput(!1),t.setFocus()}))},e}(a.a),d=.3},function(t,e,n){"use strict";n.d(e,"a",function(){return d});var r=n(1),i=n(282),o=n(284),s=n(314),a=(n(6),n(53),n(52),n(102)),u=n(11),l=(n(232),n(209)),c=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),d=function(t){function e(e,n,i,o,s,a,l){var c=t.call(this,i,o,s,"select",[],n,a,null)||this;return c._app=e,c.config=i,c.deepLinker=l,c._multi=!1,c._texts=[],c._text="",c._compareWith=u.g,c.cancelText="Cancel",c.okText="OK",c.selectOptions={},c.interface="",c.selectedText="",c.ionCancel=new r.EventEmitter,c}return c(e,t),Object.defineProperty(e.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}),e.prototype._click=function(t){t.preventDefault(),t.stopPropagation(),this.open(t)},e.prototype._keyup=function(){this.open()},e.prototype.getValues=function(){return Array.isArray(this._value)?this._value:[this._value]},e.prototype.open=function(t){var e=this;if(!this.isFocus()&&!this._disabled){var n=Object(u.b)(this.selectOptions);n.buttons=[{text:this.cancelText,role:"cancel",handler:function(){e.ionCancel.emit(e)}}],!n.title&&this._item&&(n.title=this._item.getLabelText());var r=this._options.toArray();"action-sheet"!==this.interface&&"popover"!==this.interface||!this._multi||(console.warn('Interface cannot be "'+this.interface+'" with a multi-value select. Using the "alert" interface.'),this.interface="alert"),"popover"!==this.interface||t||(console.warn('Interface cannot be "popover" without UIEvent.'),this.interface="alert");var a;if("action-sheet"===this.interface){n.buttons=n.buttons.concat(r.map(function(t){return{role:t.selected?"selected":"",text:t.text,handler:function(){e.value=t.value,t.ionSelect.emit(t.value)}}}));var c="select-action-sheet";n.cssClass=c+=n.cssClass?" "+n.cssClass:"",a=new i.a(this._app,n,this.config)}else if("popover"===this.interface){var d=r.map(function(t){return{text:t.text,checked:t.selected,disabled:t.disabled,value:t.value,handler:function(){e.value=t.value,t.ionSelect.emit(t.value)}}}),h="select-popover";a=new s.a(this._app,l.a,{options:d},{cssClass:h+=n.cssClass?" "+n.cssClass:""},this.config,this.deepLinker),Object.defineProperty(t,"target",{value:t.currentTarget}),n.ev=t}else{this.interface="alert",n.inputs=this._options.map(function(t){return{type:e._multi?"checkbox":"radio",label:t.text,value:t.value,checked:t.selected,disabled:t.disabled,handler:function(e){e.checked&&t.ionSelect.emit(t.value)}}});var f="select-alert";a=new o.a(this._app,n,this.config),f+=this._multi?" multiple-select-alert":" single-select-alert",a.setCssClass(f+=n.cssClass?" "+n.cssClass:""),a.addButton({text:this.okText,handler:function(t){return e.value=t}})}a.present(n),this._fireFocus(),a.onDidDismiss(function(){e._fireBlur(),e._overlay=void 0}),this._overlay=a}},e.prototype.close=function(){if(this._overlay&&this.isFocus())return this._overlay.dismiss()},Object.defineProperty(e.prototype,"multiple",{get:function(){return this._multi},set:function(t){this._multi=Object(u.o)(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"text",{get:function(){return this._multi?this._texts:this._texts.join()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"options",{set:function(t){this._options=t;0===this.getValues().length?this.writeValue(t.filter(function(t){return t.selected}).map(function(t){return t.value})):this._updateText()},enumerable:!0,configurable:!0}),e.prototype._inputShouldChange=function(t){return!Object(u.c)(this._value,t)},e.prototype._inputChangeEvent=function(){return this.value},e.prototype._updateText=function(){var t=this;this._texts.length=0,this._options&&this._options.forEach(function(e){e.selected=t.getValues().some(function(n){return t._compareWith(n,e.value)}),e.selected&&t._texts.push(e.text)}),this._text=this._texts.join(", ")},e.prototype._inputUpdated=function(){this._updateText(),t.prototype._inputUpdated.call(this)},e}(a.a)},function(t,e,n){"use strict";n.d(e,"a",function(){return s});n(6);var r=n(11),i=(n(52),n(102)),o=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),s=function(t){function e(e,n,r,i,o){return t.call(this,e,i,o,"checkbox",!1,n,r,null)||this}return o(e,t),Object.defineProperty(e.prototype,"checked",{get:function(){return this.value},set:function(t){this.value=t},enumerable:!0,configurable:!0}),e.prototype._click=function(t){t.preventDefault(),t.stopPropagation(),this.value=!this.value,this._fireTouched()},e.prototype._inputNormalize=function(t){return Object(r.o)(t)},e.prototype._inputUpdated=function(){this._item&&this._item.setElementClass("item-checkbox-checked",this._value)},e}(i.a)},function(t,e,n){"use strict";function r(t,e,n,r){if(t===E||t===M){try{return e=new Date(n.year,n.month-1,n.day).getDay(),t===E?(Object(m.l)(r.dayNames)?r.dayNames:F)[e]:(Object(m.l)(r.dayShortNames)?r.dayShortNames:H)[e]}catch(t){}return""}if(t===N)return n?n.hour<12?"AM":"PM":Object(m.l)(e)?e.toUpperCase():"";if(t===j)return n?n.hour<12?"am":"pm":Object(m.l)(e)?e:"";if(Object(m.f)(e))return"";if(t===y||t===S||t===x||t===O||t===A||t===P)return l(e);if(t===v)return d(e);if(t===b)return(Object(m.l)(r.monthNames)?r.monthNames:B)[e-1];if(t===w)return(Object(m.l)(r.monthShortNames)?r.monthShortNames:V)[e-1];if(t===k||t===L){if(0===e)return"12";if(e>12&&(e-=12),t===k&&e<10)return"0"+e}return e.toString()}function i(t,e,n,r,i){return void 0===r&&(r=0),void 0===i&&(i=0),parseInt("1"+d(t)+l(e)+l(n)+l(r)+l(i),10)}function o(t){return t?i(t.year,t.month,t.day,t.hour,t.minute):-1}function s(t){var e;if(Object(m.l)(t)&&""!==t&&(e=g.exec(t),Object(m.l)(e)?(e.unshift(void 0,void 0),e[2]=e[3]=void 0):e=_.exec(t)),Object(m.f)(e))return null;for(var n=1;n<8;n++)e[n]=void 0!==e[n]?parseInt(e[n],10):null;var r=0;return Object(m.l)(e[9])&&Object(m.l)(e[10])&&(r=60*parseInt(e[10],10),Object(m.l)(e[11])&&(r+=parseInt(e[11],10)),"-"===e[9]&&(r*=-1)),{year:e[1],month:e[2],day:e[3],hour:e[4],minute:e[5],second:e[6],millisecond:e[7],tzOffset:r}}function a(t,e){if(Object(m.l)(e)&&""!==e){if(Object(m.n)(e)){if(e=s(e))return Object.assign(t,e),!0}else if(Object(m.l)(e.year)||Object(m.l)(e.hour)||Object(m.l)(e.month)||Object(m.l)(e.day)||Object(m.l)(e.minute)||Object(m.l)(e.second)){Object(m.l)(e.ampm)&&Object(m.l)(e.hour)&&(e.hour.value="pm"===e.ampm.value?12===e.hour.value?12:e.hour.value+12:12===e.hour.value?0:e.hour.value);for(var n in e)t[n]=e[n].value;return!0}console.warn('Error parsing date: "'+e+'". Please provide a valid ISO 8601 datetime format: https://www.w3.org/TR/NOTE-datetime')}else for(var n in t)delete t[n];return!1}function u(t){for(var e in Y)if(Y[e].f===t)return Y[e].k;return null}function l(t){return("0"+(Object(m.l)(t)?Math.abs(t):"0")).slice(-2)}function c(t){return("00"+(Object(m.l)(t)?Math.abs(t):"0")).slice(-3)}function d(t){return("000"+(Object(m.l)(t)?Math.abs(t):"0")).slice(-4)}function h(t,e){Object(m.n)(t)&&(t=t.replace(/\[|\]|\s/g,"").split(","));var n;return Object(m.e)(t)&&(n=t.map(function(t){return parseInt(t,10)}).filter(isFinite)),n&&n.length||console.warn('Invalid "'+e+'Values". Must be an array of numbers, or a comma separated string of numbers.'),n}var f=n(1),p=(n(29),n(6),n(170),n(52),n(102)),m=(n(57),n(11)),_=/^(\d{4}|[+\-]\d{6})(?:-(\d{2})(?:-(\d{2}))?)?(?:T(\d{2}):(\d{2})(?::(\d{2})(?:\.(\d{3}))?)?(?:(Z)|([+\-])(\d{2})(?::(\d{2}))?)?)?$/,g=/^((\d{2}):(\d{2})(?::(\d{2})(?:\.(\d{3}))?)?(?:(Z)|([+\-])(\d{2})(?::(\d{2}))?)?)?$/,v="YYYY",y="YY",b="MMMM",w="MMM",S="MM",T="M",E="DDDD",M="DDD",x="DD",C="D",O="HH",D="H",k="hh",L="h",A="mm",I="m",P="ss",R="s",N="A",j="a",Y=[{f:v,k:"year"},{f:b,k:"month"},{f:E,k:"day"},{f:w,k:"month"},{f:M,k:"day"},{f:y,k:"year"},{f:S,k:"month"},{f:x,k:"day"},{f:O,k:"hour"},{f:k,k:"hour"},{f:A,k:"minute"},{f:P,k:"second"},{f:T,k:"month"},{f:C,k:"day"},{f:D,k:"hour"},{f:L,k:"hour"},{f:I,k:"minute"},{f:R,k:"second"},{f:N,k:"ampm"},{f:j,k:"ampm"}],F=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],H=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],B=["January","February","March","April","May","June","July","August","September","October","November","December"],V=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],z=[k,L,A,I,P,R];n.d(e,"a",function(){return q});var W=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),U=this&&this.__assign||Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++){e=arguments[n];for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])}return t},q=function(t){function e(e,n,r,i,o,s){var a=t.call(this,n,r,i,"datetime",{},e,o,null)||this;return a._pickerCtrl=s,a._text="",a._locale={},a.cancelText="Cancel",a.doneText="Done",a.pickerOptions={},a.placeholder="",a.ionCancel=new f.EventEmitter,a}return W(e,t),e.prototype.ngAfterContentInit=function(){var t=this;["monthNames","monthShortNames","dayNames","dayShortNames"].forEach(function(e){t._locale[e]=function(t,e){if(Object(m.l)(t)){Object(m.n)(t)&&(t=t.replace(/\[|\]/g,"").split(","));var n;return Object(m.e)(t)&&(n=t.map(function(t){return t.trim()})),n&&n.length||console.warn('Invalid "'+e+'Names". Must be an array of strings, or a comma separated string.'),n}}(Object(m.l)(t[e])?t[e]:t._config.get(e),e)}),this._initialize()},e.prototype._inputNormalize=function(t){return a(this._value,t),this._value},e.prototype._inputUpdated=function(){t.prototype._inputUpdated.call(this),this.updateText()},e.prototype._inputShouldChange=function(){return!0},e.prototype._inputChangeEvent=function(){return this.value},e.prototype._inputNgModelEvent=function(){return function(t){var e="";return Object(m.l)(t)&&(Object(m.l)(t.year)?(e=d(t.year),Object(m.l)(t.month)&&(e+="-"+l(t.month),Object(m.l)(t.day)&&(e+="-"+l(t.day),Object(m.l)(t.hour)&&(e+="T"+l(t.hour)+":"+l(t.minute)+":"+l(t.second),t.millisecond>0&&(e+="."+c(t.millisecond)),Object(m.f)(t.tzOffset)||0===t.tzOffset?e+="Z":e+=(t.tzOffset>0?"+":"-")+l(Math.floor(t.tzOffset/60))+":"+l(t.tzOffset%60))))):Object(m.l)(t.hour)&&(e=l(t.hour)+":"+l(t.minute),Object(m.l)(t.second)&&(e+=":"+l(t.second),Object(m.l)(t.millisecond)&&(e+="."+c(t.millisecond))))),e}(this.value)},e.prototype._click=function(t){t.preventDefault(),t.stopPropagation(),this.open()},e.prototype._keyup=function(){this.open()},e.prototype.open=function(){var t=this;if(!this.isFocus()&&!this._disabled){var e=U({},this.pickerOptions);e.buttons=(e.buttons||[]).concat([{text:this.cancelText,role:"cancel",handler:function(){return t.ionCancel.emit(t)}},{text:this.doneText,handler:function(e){return t.value=e}}]);var n=this._picker=this._pickerCtrl.create(e);n.ionChange.subscribe(function(){t.validate(),n.refresh()}),this.generate(),this.validate(),this._fireFocus(),n.present(e),n.onDidDismiss(function(){t._fireBlur()})}},e.prototype.generate=function(){var t=this,e=this._picker,n=this.pickerFormat||this.displayFormat||G;if(Object(m.l)(n)){this.calcMinMax(),-1===(n=n.replace("DDDD","{~}").replace("DDD","{~}")).indexOf("D")&&(n=n.replace("{~}","D")),function(t){var e=[];t=t.replace(/[^\w\s]/gi," "),Y.forEach(function(e){e.f.length>1&&t.indexOf(e.f)>-1&&t.indexOf(e.f+e.f.charAt(0))<0&&(t=t.replace(e.f," "+e.f+" "))});var n=t.split(" ").filter(function(t){return t.length>0});return n.forEach(function(t,r){Y.forEach(function(i){if(t===i.f){if((t===N||t===j)&&(e.indexOf(L)<0&&e.indexOf(k)<0||-1===z.indexOf(n[r-1])))return;e.push(t)}})}),e}(n=n.replace(/{~}/g,"")).forEach(function(n){var i=u(n),o={name:i,selectedIndex:0,options:(Object(m.l)(t[i+"Values"])?h(t[i+"Values"],i):function(t,e,n){var r,i=[];if(t===v||t===y)for(r=n.year;r>=e.year;)i.push(r--);else if(t===b||t===w||t===S||t===T||t===k||t===L)for(r=1;r<13;r++)i.push(r);else if(t===E||t===M||t===x||t===C)for(r=1;r<32;r++)i.push(r);else if(t===O||t===D)for(r=0;r<24;r++)i.push(r);else if(t===A||t===I)for(r=0;r<60;r++)i.push(r);else if(t===P||t===R)for(r=0;r<60;r++)i.push(r);else t!==N&&t!==j||i.push("am","pm");return i}(n,t._min,t._max)).map(function(e){return{value:e,text:r(n,e,null,t._locale)}})},s=function(t,e){return e===N||e===j?t.hour<12?"am":"pm":e===k||e===L?t.hour>12?t.hour-12:t.hour:t[u(e)]}(t.getValueOrDefault(),n),a=o.options.findIndex(function(t){return t.value===s});a>=0&&(o.selectedIndex=a),e.addColumn(o)});var i=this._min,o=this._max,s=this._picker.getColumns();["month","day","hour","minute"].filter(function(t){return!s.find(function(e){return e.name===t})}).forEach(function(t){i[t]=0,o[t]=0}),this.divyColumns()}},e.prototype.validateColumn=function(t,e,n,r,o,s){var a=this._picker.getColumn(t);if(!a)return 0;for(var u=o.slice(),l=s.slice(),c=a.options,d=c.length-1,h=0,f=0;f<c.length;f++){var p=c[f],_=p.value;u[e]=p.value,l[e]=p.value;(p.disabled=_<o[e]||_>s[e]||i(l[0],l[1],l[2],l[3],l[4])<n||i(u[0],u[1],u[2],u[3],u[4])>r)||(d=Math.min(d,f),h=Math.max(h,f))}var g=a.selectedIndex=Object(m.a)(d,a.selectedIndex,h);return(p=a.options[g])?p.value:0},e.prototype.validate=function(){var t=new Date,e=o(this._min),n=o(this._max),r=this._picker.getColumn("year"),i=t.getFullYear();if(r){r.options.find(function(e){return e.value===t.getFullYear()})||(i=r.options[0].value);var s=r.options[r.selectedIndex];s&&(i=s.value)}var a=this.validateColumn("month",1,e,n,[i,0,0,0,0],[i,12,31,23,59]),u=function(t,e){return 4===t||6===t||9===t||11===t?30:2===t?function(t){return t%4==0&&t%100!=0||t%400==0}(e)?29:28:31}(a,i),l=this.validateColumn("day",2,e,n,[i,a,0,0,0],[i,a,u,23,59]),c=this.validateColumn("hour",3,e,n,[i,a,l,0,0],[i,a,l,23,59]);this.validateColumn("minute",4,e,n,[i,a,l,c,0],[i,a,l,c,59])},e.prototype.divyColumns=function(){for(var t,e,n=this._picker.getColumns(),r=[],i=0;i<n.length;i++){t=n[i],r.push(0);for(var o=0;o<t.options.length;o++)(e=t.options[o].text.length)>r[i]&&(r[i]=e)}2===r.length?(e=Math.max(r[0],r[1]),n[0].align="right",n[1].align="left",n[0].optionsWidth=n[1].optionsWidth=17*e+"px"):3===r.length&&(e=Math.max(r[0],r[2]),n[0].align="right",n[1].columnWidth=17*r[1]+"px",n[0].optionsWidth=n[2].optionsWidth=17*e+"px",n[2].align="left")},e.prototype.updateText=function(){this._text=function(t,e,n){if(Object(m.f)(e))return"";var i=[],o=!1;if(Y.forEach(function(s,a){if(t.indexOf(s.f)>-1){var u="{"+a+"}",l=r(s.f,e[s.k],e,n);!o&&l&&Object(m.l)(e[s.k])&&(o=!0),i.push(u,l),t=t.replace(s.f,u)}}),!o)return"";for(var s=0;s<i.length;s+=2)t=t.replace(i[s],i[s+1]);return t}(this.displayFormat||this.pickerFormat||G,this.getValue(),this._locale)},e.prototype.getValue=function(){return this._value},e.prototype.getValueOrDefault=function(){if(this.hasValue())return this._value;var t={};return a(t,this.getDefaultValueDateString()),t},e.prototype.getDefaultValueDateString=function(){if(this.initialValue)return this.initialValue;var t=(new Date).toISOString();if(this.max){var e=s(t),n=s(this.max);for(var r in n)null===n[r]&&(n[r]=e[r]);if(function(t,e){var n=new Date(t.year,t.month,t.day,t.hour,t.minute,t.second),r=new Date(e.year,e.month,e.day,e.hour,e.minute,e.second);return n.getTime()-r.getTime()}(e,n)>0)return this.max}return t},e.prototype.hasValue=function(){var t=this._value;return Object(m.l)(t)&&Object(m.k)(t)&&Object.keys(t).length>0},e.prototype.calcMinMax=function(t){var e=(t||new Date).getFullYear();if(Object(m.l)(this.yearValues)){var n=h(this.yearValues,"year");Object(m.f)(this.min)&&(this.min=Math.min.apply(Math,n)),Object(m.f)(this.max)&&(this.max=Math.max.apply(Math,n))}else Object(m.f)(this.min)&&(this.min=(e-100).toString()),Object(m.f)(this.max)&&(this.max=e.toString());var r=this._min=s(this.min),i=this._max=s(this.max);r.year=r.year||e,i.year=i.year||e,r.month=r.month||1,i.month=i.month||12,r.day=r.day||1,i.day=i.day||31,r.hour=r.hour||0,i.hour=i.hour||23,r.minute=r.minute||0,i.minute=i.minute||59,r.second=r.second||0,i.second=i.second||59,r.year>i.year&&(console.error("min.year > max.year"),r.year=i.year-100),r.year===i.year&&(r.month>i.month?(console.error("min.month > max.month"),r.month=1):r.month===i.month&&r.day>i.day&&(console.error("min.day > max.day"),r.day=1))},e}(p.a),G="MMM D, YYYY"},function(t,e,n){"use strict";n.d(e,"a",function(){return r});var r=function(){return function(){}}()},,function(t,e,n){"use strict";n.d(e,"a",function(){return r});n(6),n(239);var r=function(){function t(t,e){this.r=t,this._config=e}return t.prototype.ngOnInit=function(){this.pullingIcon||(this.pullingIcon=this._config.get("ionPullIcon","arrow-down")),this.refreshingSpinner||(this.refreshingSpinner=this._config.get("ionRefreshingSpinner",this._config.get("spinner","ios")))},t}()},,function(t,e,n){"use strict";n.d(e,"a",function(){return o});var r=n(1),i=n(11),o=(n(16),n(250),function(){function t(t,e,n,i,o){this._plt=e,this._renderer=n,this._elementRef=i,this._zone=o,this._openAmount=0,this._startX=0,this._optsWidthRightSide=0,this._optsWidthLeftSide=0,this._tmr=null,this._optsDirty=!0,this._state=2,this.ionDrag=new r.EventEmitter,t&&t.containsSlidingItem(!0),i.nativeElement.$ionComponent=this,this.setElementClass("item-wrapper",!0)}return Object.defineProperty(t.prototype,"_itemOptions",{set:function(t){var e=0;this._leftOptions=this._rightOptions=null;for(var n=0,r=t.toArray();n<r.length;n++){var i=r[n];i.isRightSide()?(this._rightOptions=i,e|=2):(this._leftOptions=i,e|=1)}this._optsDirty=!0,this._sides=e},enumerable:!0,configurable:!0}),t.prototype.getOpenAmount=function(){return this._openAmount},t.prototype.getSlidingPercent=function(){var t=this._openAmount;return t>0?t/this._optsWidthRightSide:t<0?t/this._optsWidthLeftSide:0},t.prototype.startSliding=function(t){this._tmr&&(this._plt.cancelTimeout(this._tmr),this._tmr=null),0===this._openAmount&&(this._optsDirty=!0,this._setState(4)),this._startX=t+this._openAmount,this.item.setElementStyle(this._plt.Css.transition,"none")},t.prototype.moveSliding=function(t){if(!this._optsDirty){var e=this._startX-t;switch(this._sides){case 2:e=Math.max(0,e);break;case 1:e=Math.min(0,e);break;case 3:break;case 0:return}if(e>this._optsWidthRightSide){e=(n=this._optsWidthRightSide)+.55*(e-n)}else if(e<-this._optsWidthLeftSide){var n;e=(n=-this._optsWidthLeftSide)+.55*(e-n)}return this._setOpenAmount(e,!1),e}this.calculateOptsWidth()},t.prototype.endSliding=function(t){var e=this._openAmount>0?this._optsWidthRightSide:-this._optsWidthLeftSide,n=this._openAmount>0==!(t<0),r=Math.abs(t)>.3,o=Math.abs(this._openAmount)<Math.abs(e/2);return Object(i.t)(n,r,o)&&(e=0),this.fireSwipeEvent(),this._setOpenAmount(e,!0),e},t.prototype.fireSwipeEvent=function(){var t=this;32&this._state?this._zone.run(function(){return t._rightOptions.ionSwipe.emit(t)}):64&this._state&&this._zone.run(function(){return t._leftOptions.ionSwipe.emit(t)})},t.prototype.calculateOptsWidth=function(){this._optsDirty&&(this._optsWidthRightSide=0,this._rightOptions&&(this._optsWidthRightSide=this._rightOptions.width()),this._optsWidthLeftSide=0,this._leftOptions&&(this._optsWidthLeftSide=this._leftOptions.width()),this._optsDirty=!1)},t.prototype._setOpenAmount=function(t,e){var n=this,r=this._plt;if(this._tmr&&(r.cancelTimeout(this._tmr),this._tmr=null),this._openAmount=t,e&&this.item.setElementStyle(r.Css.transition,""),t>0){this._setState(t>=this._optsWidthRightSide+30?40:8)}else{if(!(t<0))return this._tmr=r.timeout(function(){n._setState(2),n._tmr=null},600),void this.item.setElementStyle(r.Css.transform,"");this._setState(t<=-this._optsWidthLeftSide-30?80:16)}this.item.setElementStyle(r.Css.transform,"translate3d("+-t+"px,0,0)");var i=this.ionDrag;i.observers.length>0&&i.emit(this)},t.prototype._setState=function(t){t!==this._state&&(this.setElementClass("active-slide",2!==t),this.setElementClass("active-options-right",!!(8&t)),this.setElementClass("active-options-left",!!(16&t)),this.setElementClass("active-swipe-right",!!(32&t)),this.setElementClass("active-swipe-left",!!(64&t)),this._state=t)},t.prototype.close=function(){this._setOpenAmount(0,!0)},t.prototype.setElementClass=function(t,e){this._renderer.setElementClass(this._elementRef.nativeElement,t,e)},t}())},function(t,e,n){"use strict";n(1),n(29),n(6),n(30),n(52);var r=n(25),i=(n(94),n(11)),o=n(102),s=(n(57),n(87)),a=(n(16),n(197)),u=n(49),l=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),c=function(t){function e(e,n,i,o){var s=t.call(this,e,n.getNativeElement(),{threshold:0,zone:!1,domController:o,gesture:i.createGesture({name:r.k,priority:r.i})})||this;return s.toggle=n,s}return l(e,t),e.prototype.canStart=function(){return!0},e.prototype.onDragStart=function(t){t.preventDefault(),this.toggle._onDragStart(Object(u.f)(t).x)},e.prototype.onDragMove=function(t){t.preventDefault(),this.toggle._onDragMove(Object(u.f)(t).x)},e.prototype.onDragEnd=function(t){t.preventDefault(),this.toggle._onDragEnd(Object(u.f)(t).x)},e}(a.a);n.d(e,"a",function(){return h});var d=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),h=function(t){function e(e,n,r,i,o,s,a,u,l,c){var d=t.call(this,n,i,o,"toggle",!1,e,a,null)||this;return d._plt=r,d._haptic=s,d._gestureCtrl=u,d._domCtrl=l,d._zone=c,d._activated=!1,d}return d(e,t),Object.defineProperty(e.prototype,"checked",{get:function(){return this.value},set:function(t){this.value=t},enumerable:!0,configurable:!0}),e.prototype.ngAfterContentInit=function(){this._initialize(),this._gesture=new c(this._plt,this,this._gestureCtrl,this._domCtrl),this._gesture.listen()},e.prototype._inputUpdated=function(){},e.prototype._inputNormalize=function(t){return Object(i.o)(t)},e.prototype._onDragStart=function(t){var e=this;this._zone.run(function(){e._startX=t,e._fireFocus(),e._activated=!0})},e.prototype._onDragMove=function(t){var e=this;this._startX&&this._shouldToggle(t,-15)&&this._zone.run(function(){e.value=!e.value,e._startX=t,e._haptic.selection()})},e.prototype._onDragEnd=function(t){var e=this;this._startX&&this._zone.run(function(){e._shouldToggle(t,4)&&(e.value=!e.value,e._haptic.selection()),e._activated=!1,e._fireBlur(),e._startX=null})},e.prototype._shouldToggle=function(t,e){var n=!this._plt.isRTL,r=this._startX;return this._value?n&&r+e>t||!n&&r-e<t:n&&r-e<t||!n&&r+e>t},e.prototype._keyup=function(t){t.keyCode!==s.f&&t.keyCode!==s.b||(t.preventDefault(),t.stopPropagation(),this.value=!this.value)},e.prototype.ngOnDestroy=function(){t.prototype.ngOnDestroy.call(this),this._gesture&&this._gesture.destroy()},e}(o.a)},function(t,e,n){"use strict";n.d(e,"a",function(){return r});n(241);var r=function(){function t(t,e,n){this._slides=n,e.setElementClass(t.nativeElement,"swiper-slide",!0),n.update(10)}return t.prototype.ngOnDestroy=function(){this._slides.update(10)},t}()},,,function(t,e,n){"use strict";n.d(e,"a",function(){return o});n(6);var r=n(102),i=(n(242),this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}()),o=function(t){function e(e,n,r,i){return t.call(this,e,n,r,"segment",null,null,null,i)||this}return i(e,t),e.prototype.ngAfterContentInit=function(){var t=this;this._initialize(),this._buttons.forEach(function(e){e.ionSelect.subscribe(function(e){t.value=e.value,t._fireTouched()})})},e.prototype._inputUpdated=function(){if(this._buttons)for(var t=this._buttons.toArray(),e=this.value,n=0,r=t;n<r.length;n++){var i=r[n];i.isActive=i.value===e}},e}(r.a)},function(t,e,n){"use strict";n.d(e,"a",function(){return r});n(86),n(18);var r=function(){function t(t,e,n,r){this._menu=t,this._viewCtrl=e,this._button=n,this._isButton=!!n,this._inNavbar=!!r}return t.prototype.ngAfterContentInit=function(){this._isButton&&this._button._setClass("menutoggle",!0)},t.prototype.toggle=function(){var t=this._menu.get(this.menuToggle);t&&t.toggle()},Object.defineProperty(t.prototype,"isHidden",{get:function(){var t=this._menu.get(this.menuToggle);if(this._inNavbar&&this._viewCtrl){if(!t||!t._canOpen())return!0;if(this._viewCtrl.isFirst())return!1;if(t)return!t.persistent}return!1},enumerable:!0,configurable:!0}),t}()},,function(t,e,n){"use strict";n.d(e,"a",function(){return s});var r=n(0),i=n(73),o=n(2),s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.ORIENTATIONS={PORTRAIT_PRIMARY:"portrait-primary",PORTRAIT_SECONDARY:"portrait-secondary",LANDSCAPE_PRIMARY:"landscape-primary",LANDSCAPE_SECONDARY:"landscape-secondary",PORTRAIT:"portrait",LANDSCAPE:"landscape",ANY:"any"},e}return Object(r.__extends)(e,t),e.prototype.onChange=function(){},e.prototype.lock=function(t){},e.prototype.unlock=function(){},Object(r.__decorate)([Object(i.a)({eventObservable:!0,event:"orientationchange"}),Object(r.__metadata)("design:type",Function),Object(r.__metadata)("design:paramtypes",[]),Object(r.__metadata)("design:returntype",o.Observable)],e.prototype,"onChange",null),Object(r.__decorate)([Object(i.a)({otherPromise:!0}),Object(r.__metadata)("design:type",Function),Object(r.__metadata)("design:paramtypes",[String]),Object(r.__metadata)("design:returntype",Promise)],e.prototype,"lock",null),Object(r.__decorate)([Object(i.a)({sync:!0}),Object(r.__metadata)("design:type",Function),Object(r.__metadata)("design:paramtypes",[]),Object(r.__metadata)("design:returntype",void 0)],e.prototype,"unlock",null),Object(r.__decorate)([i.d,Object(r.__metadata)("design:type",String)],e.prototype,"type",void 0),e=Object(r.__decorate)([Object(i.g)({pluginName:"ScreenOrientation",plugin:"cordova-plugin-screen-orientation",pluginRef:"screen.orientation",repo:"https://github.com/apache/cordova-plugin-screen-orientation",platforms:["Android","iOS","Windows"]})],e)}(i.f)},function(t,e,n){"use strict";n.d(e,"a",function(){return o});var r=n(0),i=n(73),o=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r.__extends)(e,t),e.prototype.overlaysWebView=function(t){},e.prototype.styleDefault=function(){},e.prototype.styleLightContent=function(){},e.prototype.styleBlackTranslucent=function(){},e.prototype.styleBlackOpaque=function(){},e.prototype.backgroundColorByName=function(t){},e.prototype.backgroundColorByHexString=function(t){},e.prototype.hide=function(){},e.prototype.show=function(){},Object(r.__decorate)([Object(i.a)({sync:!0}),Object(r.__metadata)("design:type",Function),Object(r.__metadata)("design:paramtypes",[Boolean]),Object(r.__metadata)("design:returntype",void 0)],e.prototype,"overlaysWebView",null),Object(r.__decorate)([Object(i.a)({sync:!0}),Object(r.__metadata)("design:type",Function),Object(r.__metadata)("design:paramtypes",[]),Object(r.__metadata)("design:returntype",void 0)],e.prototype,"styleDefault",null),Object(r.__decorate)([Object(i.a)({sync:!0}),Object(r.__metadata)("design:type",Function),Object(r.__metadata)("design:paramtypes",[]),Object(r.__metadata)("design:returntype",void 0)],e.prototype,"styleLightContent",null),Object(r.__decorate)([Object(i.a)({sync:!0}),Object(r.__metadata)("design:type",Function),Object(r.__metadata)("design:paramtypes",[]),Object(r.__metadata)("design:returntype",void 0)],e.prototype,"styleBlackTranslucent",null),Object(r.__decorate)([Object(i.a)({sync:!0}),Object(r.__metadata)("design:type",Function),Object(r.__metadata)("design:paramtypes",[]),Object(r.__metadata)("design:returntype",void 0)],e.prototype,"styleBlackOpaque",null),Object(r.__decorate)([Object(i.a)({sync:!0}),Object(r.__metadata)("design:type",Function),Object(r.__metadata)("design:paramtypes",[String]),Object(r.__metadata)("design:returntype",void 0)],e.prototype,"backgroundColorByName",null),Object(r.__decorate)([Object(i.a)({sync:!0}),Object(r.__metadata)("design:type",Function),Object(r.__metadata)("design:paramtypes",[String]),Object(r.__metadata)("design:returntype",void 0)],e.prototype,"backgroundColorByHexString",null),Object(r.__decorate)([Object(i.a)({sync:!0}),Object(r.__metadata)("design:type",Function),Object(r.__metadata)("design:paramtypes",[]),Object(r.__metadata)("design:returntype",void 0)],e.prototype,"hide",null),Object(r.__decorate)([Object(i.a)({sync:!0}),Object(r.__metadata)("design:type",Function),Object(r.__metadata)("design:paramtypes",[]),Object(r.__metadata)("design:returntype",void 0)],e.prototype,"show",null),Object(r.__decorate)([i.d,Object(r.__metadata)("design:type",Boolean)],e.prototype,"isVisible",void 0),e=Object(r.__decorate)([Object(i.g)({pluginName:"StatusBar",plugin:"cordova-plugin-statusbar",pluginRef:"StatusBar",repo:"https://github.com/apache/cordova-plugin-statusbar",platforms:["Android","iOS","Windows"]})],e)}(i.f)},,,,,,,function(t,e,n){(function(t){function r(t,e){this._id=t,this._clearFn=e}var i=void 0!==t&&t||"undefined"!=typeof self&&self||window,o=Function.prototype.apply;e.setTimeout=function(){return new r(o.call(setTimeout,i,arguments),clearTimeout)},e.setInterval=function(){return new r(o.call(setInterval,i,arguments),clearInterval)},e.clearTimeout=e.clearInterval=function(t){t&&t.close()},r.prototype.unref=r.prototype.ref=function(){},r.prototype.close=function(){this._clearFn.call(i,this._id)},e.enroll=function(t,e){clearTimeout(t._idleTimeoutId),t._idleTimeout=e},e.unenroll=function(t){clearTimeout(t._idleTimeoutId),t._idleTimeout=-1},e._unrefActive=e.active=function(t){clearTimeout(t._idleTimeoutId);var e=t._idleTimeout;e>=0&&(t._idleTimeoutId=setTimeout(function(){t._onTimeout&&t._onTimeout()},e))},n(1162),e.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==t&&t.setImmediate||this&&this.setImmediate,e.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==t&&t.clearImmediate||this&&this.clearImmediate}).call(e,n(120))},function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},function(t,e,n){"use strict";e.isObject=function(t){return null!=t&&"object"==typeof t}},function(t,e,n){"use strict";var r=n(0).__extends,i=function(t){function e(e){t.call(this),this.errors=e;var n=Error.call(this,e?e.length+" errors occurred during unsubscription:\n  "+e.map(function(t,e){return e+1+") "+t.toString()}).join("\n  "):"");this.name=n.name="UnsubscriptionError",this.stack=n.stack,this.message=n.message}return r(e,t),e}(Error);e.UnsubscriptionError=i},function(t,e,n){"use strict";e.empty={closed:!0,next:function(t){},error:function(t){throw t},complete:function(){}}},function(t,e,n){"use strict";e.isArrayLike=function(t){return t&&"number"==typeof t.length}},function(t,e,n){"use strict";e.isPromise=function(t){return t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}},function(t,e,n){"use strict";e.identity=function(t){return t}},function(t,e,n){"use strict";var r=n(402);e.share=function(){return r.share()(this)}},function(t,e,n){"use strict";function r(){return new s.Subject}var i=n(110),o=n(261),s=n(19);e.share=function(){return function(t){return o.refCount()(i.multicast(r)(t))}}},function(t,e,n){"use strict";var r=n(0).__extends,i=n(19),o=n(2),s=(n(15),n(38)),a=n(261),u=function(t){function e(e,n){t.call(this),this.source=e,this.subjectFactory=n,this._refCount=0,this._isComplete=!1}return r(e,t),e.prototype._subscribe=function(t){return this.getSubject().subscribe(t)},e.prototype.getSubject=function(){var t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject},e.prototype.connect=function(){var t=this._connection;return t||(this._isComplete=!1,(t=this._connection=new s.Subscription).add(this.source.subscribe(new c(this.getSubject(),this))),t.closed?(this._connection=null,t=s.Subscription.EMPTY):this._connection=t),t},e.prototype.refCount=function(){return a.refCount()(this)},e}(o.Observable);e.ConnectableObservable=u;var l=u.prototype;e.connectableObservableDescriptor={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:l._subscribe},_isComplete:{value:l._isComplete,writable:!0},getSubject:{value:l.getSubject},connect:{value:l.connect},refCount:{value:l.refCount}};var c=function(t){function e(e,n){t.call(this,e),this.connectable=n}return r(e,t),e.prototype._error=function(e){this._unsubscribe(),t.prototype._error.call(this,e)},e.prototype._complete=function(){this.connectable._isComplete=!0,this._unsubscribe(),t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}},e}(i.SubjectSubscriber)},function(t,e,n){"use strict";var r=n(0).__extends,i=n(38);e.SubjectSubscription=function(t){function e(e,n){t.call(this),this.subject=e,this.subscriber=n,this.closed=!1}return r(e,t),e.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var t=this.subject,e=t.observers;if(this.subject=null,e&&0!==e.length&&!t.isStopped&&!t.closed){var n=e.indexOf(this.subscriber);-1!==n&&e.splice(n,1)}}},e}(i.Subscription)},,function(t,e,n){"use strict";var r=n(34),i=n(262),o=n(407);e.auditTime=function(t,e){return void 0===e&&(e=r.async),i.audit(function(){return o.timer(t,e)})}},function(t,e,n){"use strict";var r=n(943);e.timer=r.TimerObservable.create},function(t,e,n){"use strict";var r=n(0).__extends,i=n(24),o=n(23);e.buffer=function(t){return function(e){return e.lift(new s(t))}};var s=function(){function t(t){this.closingNotifier=t}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.closingNotifier))},t}(),a=function(t){function e(e,n){t.call(this,e),this.buffer=[],this.add(o.subscribeToResult(this,n))}return r(e,t),e.prototype._next=function(t){this.buffer.push(t)},e.prototype.notifyNext=function(t,e,n,r,i){var o=this.buffer;this.buffer=[],this.destination.next(o)},e}(i.OuterSubscriber)},function(t,e,n){"use strict";var r=n(0).__extends,i=n(15);e.bufferCount=function(t,e){return void 0===e&&(e=null),function(n){return n.lift(new o(t,e))}};var o=function(){function t(t,e){this.bufferSize=t,this.startBufferEvery=e,this.subscriberClass=e&&t!==e?a:s}return t.prototype.call=function(t,e){return e.subscribe(new this.subscriberClass(t,this.bufferSize,this.startBufferEvery))},t}(),s=function(t){function e(e,n){t.call(this,e),this.bufferSize=n,this.buffer=[]}return r(e,t),e.prototype._next=function(t){var e=this.buffer;e.push(t),e.length==this.bufferSize&&(this.destination.next(e),this.buffer=[])},e.prototype._complete=function(){var e=this.buffer;e.length>0&&this.destination.next(e),t.prototype._complete.call(this)},e}(i.Subscriber),a=function(t){function e(e,n,r){t.call(this,e),this.bufferSize=n,this.startBufferEvery=r,this.buffers=[],this.count=0}return r(e,t),e.prototype._next=function(t){var e=this.bufferSize,n=this.startBufferEvery,r=this.buffers,i=this.count;this.count++,i%n==0&&r.push([]);for(var o=r.length;o--;){var s=r[o];s.push(t),s.length===e&&(r.splice(o,1),this.destination.next(s))}},e.prototype._complete=function(){for(var e=this.buffers,n=this.destination;e.length>0;){var r=e.shift();r.length>0&&n.next(r)}t.prototype._complete.call(this)},e}(i.Subscriber)},function(t,e,n){"use strict";function r(t){var e=t.subscriber,n=t.context;n&&e.closeContext(n),e.closed||(t.context=e.openContext(),t.context.closeAction=this.schedule(t,t.bufferTimeSpan))}function i(t){var e=t.bufferCreationInterval,n=t.bufferTimeSpan,r=t.subscriber,i=t.scheduler,s=r.openContext();r.closed||(r.add(s.closeAction=i.schedule(o,n,{subscriber:r,context:s})),this.schedule(t,e))}function o(t){t.subscriber.closeContext(t.context)}var s=n(0).__extends,a=n(34),u=n(15),l=n(72);e.bufferTime=function(t){var e=arguments.length,n=a.async;l.isScheduler(arguments[arguments.length-1])&&(n=arguments[arguments.length-1],e--);var r=null;e>=2&&(r=arguments[1]);var i=Number.POSITIVE_INFINITY;return e>=3&&(i=arguments[2]),function(e){return e.lift(new c(t,r,i,n))}};var c=function(){function t(t,e,n,r){this.bufferTimeSpan=t,this.bufferCreationInterval=e,this.maxBufferSize=n,this.scheduler=r}return t.prototype.call=function(t,e){return e.subscribe(new h(t,this.bufferTimeSpan,this.bufferCreationInterval,this.maxBufferSize,this.scheduler))},t}(),d=function(){return function(){this.buffer=[]}}(),h=function(t){function e(e,n,s,a,u){t.call(this,e),this.bufferTimeSpan=n,this.bufferCreationInterval=s,this.maxBufferSize=a,this.scheduler=u,this.contexts=[];var l=this.openContext();if(this.timespanOnly=null==s||s<0,this.timespanOnly){this.add(l.closeAction=u.schedule(r,n,{subscriber:this,context:l,bufferTimeSpan:n}))}else{var c={bufferTimeSpan:n,bufferCreationInterval:s,subscriber:this,scheduler:u};this.add(l.closeAction=u.schedule(o,n,{subscriber:this,context:l})),this.add(u.schedule(i,s,c))}}return s(e,t),e.prototype._next=function(t){for(var e,n=this.contexts,r=n.length,i=0;i<r;i++){var o=n[i],s=o.buffer;s.push(t),s.length==this.maxBufferSize&&(e=o)}e&&this.onBufferFull(e)},e.prototype._error=function(e){this.contexts.length=0,t.prototype._error.call(this,e)},e.prototype._complete=function(){for(var e=this.contexts,n=this.destination;e.length>0;){var r=e.shift();n.next(r.buffer)}t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){this.contexts=null},e.prototype.onBufferFull=function(t){this.closeContext(t);var e=t.closeAction;if(e.unsubscribe(),this.remove(e),!this.closed&&this.timespanOnly){t=this.openContext();var n=this.bufferTimeSpan;this.add(t.closeAction=this.scheduler.schedule(r,n,{subscriber:this,context:t,bufferTimeSpan:n}))}},e.prototype.openContext=function(){var t=new d;return this.contexts.push(t),t},e.prototype.closeContext=function(t){this.destination.next(t.buffer);var e=this.contexts;(e?e.indexOf(t):-1)>=0&&e.splice(e.indexOf(t),1)},e}(u.Subscriber)},function(t,e,n){"use strict";var r=n(0).__extends,i=n(38),o=n(23),s=n(24);e.bufferToggle=function(t,e){return function(n){return n.lift(new a(t,e))}};var a=function(){function t(t,e){this.openings=t,this.closingSelector=e}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.openings,this.closingSelector))},t}(),u=function(t){function e(e,n,r){t.call(this,e),this.openings=n,this.closingSelector=r,this.contexts=[],this.add(o.subscribeToResult(this,n))}return r(e,t),e.prototype._next=function(t){for(var e=this.contexts,n=e.length,r=0;r<n;r++)e[r].buffer.push(t)},e.prototype._error=function(e){for(var n=this.contexts;n.length>0;){var r=n.shift();r.subscription.unsubscribe(),r.buffer=null,r.subscription=null}this.contexts=null,t.prototype._error.call(this,e)},e.prototype._complete=function(){for(var e=this.contexts;e.length>0;){var n=e.shift();this.destination.next(n.buffer),n.subscription.unsubscribe(),n.buffer=null,n.subscription=null}this.contexts=null,t.prototype._complete.call(this)},e.prototype.notifyNext=function(t,e,n,r,i){t?this.closeBuffer(t):this.openBuffer(e)},e.prototype.notifyComplete=function(t){this.closeBuffer(t.context)},e.prototype.openBuffer=function(t){try{var e=this.closingSelector.call(this,t);e&&this.trySubscribe(e)}catch(t){this._error(t)}},e.prototype.closeBuffer=function(t){var e=this.contexts;if(e&&t){var n=t.subscription;this.destination.next(t.buffer),e.splice(e.indexOf(t),1),this.remove(n),n.unsubscribe()}},e.prototype.trySubscribe=function(t){var e=this.contexts,n=new i.Subscription,r={buffer:[],subscription:n};e.push(r);var s=o.subscribeToResult(this,t,r);!s||s.closed?this.closeBuffer(r):(s.context=r,this.add(s),n.add(s))},e}(s.OuterSubscriber)},function(t,e,n){"use strict";var r=n(0).__extends,i=n(38),o=n(48),s=n(44),a=n(24),u=n(23);e.bufferWhen=function(t){return function(e){return e.lift(new l(t))}};var l=function(){function t(t){this.closingSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new c(t,this.closingSelector))},t}(),c=function(t){function e(e,n){t.call(this,e),this.closingSelector=n,this.subscribing=!1,this.openBuffer()}return r(e,t),e.prototype._next=function(t){this.buffer.push(t)},e.prototype._complete=function(){var e=this.buffer;e&&this.destination.next(e),t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){this.buffer=null,this.subscribing=!1},e.prototype.notifyNext=function(t,e,n,r,i){this.openBuffer()},e.prototype.notifyComplete=function(){this.subscribing?this.complete():this.openBuffer()},e.prototype.openBuffer=function(){var t=this.closingSubscription;t&&(this.remove(t),t.unsubscribe());this.buffer&&this.destination.next(this.buffer),this.buffer=[];var e=o.tryCatch(this.closingSelector)();e===s.errorObject?this.error(s.errorObject.e):(t=new i.Subscription,this.closingSubscription=t,this.add(t),this.subscribing=!0,t.add(u.subscribeToResult(this,e)),this.subscribing=!1)},e}(a.OuterSubscriber)},function(t,e,n){"use strict";var r=n(0).__extends,i=n(24),o=n(23);e.catchError=function(t){return function(e){var n=new s(t),r=e.lift(n);return n.caught=r}};var s=function(){function t(t){this.selector=t}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.selector,this.caught))},t}(),a=function(t){function e(e,n,r){t.call(this,e),this.selector=n,this.caught=r}return r(e,t),e.prototype.error=function(e){if(!this.isStopped){var n=void 0;try{n=this.selector(e,this.caught)}catch(e){return void t.prototype.error.call(this,e)}this._unsubscribeAndRecycle(),this.add(o.subscribeToResult(this,n))}},e}(i.OuterSubscriber)},function(t,e,n){"use strict";var r=n(189);e.combineAll=function(t){return function(e){return e.lift(new r.CombineLatestOperator(t))}}},function(t,e,n){"use strict";var r=n(147),i=n(147);e.concatStatic=i.concat,e.concat=function(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];return function(e){return e.lift.call(r.concat.apply(void 0,[e].concat(t)))}}},function(t,e,n){"use strict";var r=n(0).__extends,i=n(81),o=n(398),s=n(399),a=n(417),u=n(944),l=n(97),c=n(945),d=n(143),h=n(2),f=n(190),p=n(185);e.FromObservable=function(t){function e(e,n){t.call(this,null),this.ish=e,this.scheduler=n}return r(e,t),e.create=function(t,n){if(null!=t){if("function"==typeof t[p.observable])return t instanceof h.Observable&&!n?t:new e(t,n);if(i.isArray(t))return new l.ArrayObservable(t,n);if(s.isPromise(t))return new a.PromiseObservable(t,n);if("function"==typeof t[d.iterator]||"string"==typeof t)return new u.IteratorObservable(t,n);if(o.isArrayLike(t))return new c.ArrayLikeObservable(t,n)}throw new TypeError((null!==t&&typeof t||t)+" is not observable")},e.prototype._subscribe=function(t){var e=this.ish,n=this.scheduler;return null==n?e[p.observable]().subscribe(t):e[p.observable]().subscribe(new f.ObserveOnSubscriber(t,n,0))},e}(h.Observable)},function(t,e,n){"use strict";function r(t){var e=t.subscriber;e.closed||(e.next(t.value),e.complete())}function i(t){var e=t.subscriber;e.closed||e.error(t.err)}var o=n(0).__extends,s=n(56),a=n(2);e.PromiseObservable=function(t){function e(e,n){t.call(this),this.promise=e,this.scheduler=n}return o(e,t),e.create=function(t,n){return new e(t,n)},e.prototype._subscribe=function(t){var e=this,n=this.promise,o=this.scheduler;if(null==o)this._isScalar?t.closed||(t.next(this.value),t.complete()):n.then(function(n){e.value=n,e._isScalar=!0,t.closed||(t.next(n),t.complete())},function(e){t.closed||t.error(e)}).then(null,function(t){s.root.setTimeout(function(){throw t})});else if(this._isScalar){if(!t.closed)return o.schedule(r,0,{value:this.value,subscriber:t})}else n.then(function(n){e.value=n,e._isScalar=!0,t.closed||t.add(o.schedule(r,0,{value:n,subscriber:t}))},function(e){t.closed||t.add(o.schedule(i,0,{err:e,subscriber:t}))}).then(null,function(t){s.root.setTimeout(function(){throw t})})},e}(a.Observable)},function(t,e,n){"use strict";var r=n(264);e.concatMapTo=function(t,e){return r.concatMap(function(){return t},e)}},function(t,e,n){"use strict";var r=n(0).__extends,i=n(15);e.count=function(t){return function(e){return e.lift(new o(t,e))}};var o=function(){function t(t,e){this.predicate=t,this.source=e}return t.prototype.call=function(t,e){return e.subscribe(new s(t,this.predicate,this.source))},t}(),s=function(t){function e(e,n,r){t.call(this,e),this.predicate=n,this.source=r,this.count=0,this.index=0}return r(e,t),e.prototype._next=function(t){this.predicate?this._tryPredicate(t):this.count++},e.prototype._tryPredicate=function(t){var e;try{e=this.predicate(t,this.index++,this.source)}catch(t){return void this.destination.error(t)}e&&this.count++},e.prototype._complete=function(){this.destination.next(this.count),this.destination.complete()},e}(i.Subscriber)},function(t,e,n){"use strict";var r=n(0).__extends,i=n(24),o=n(23);e.debounce=function(t){return function(e){return e.lift(new s(t))}};var s=function(){function t(t){this.durationSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.durationSelector))},t}(),a=function(t){function e(e,n){t.call(this,e),this.durationSelector=n,this.hasValue=!1,this.durationSubscription=null}return r(e,t),e.prototype._next=function(t){try{var e=this.durationSelector.call(this,t);e&&this._tryNext(t,e)}catch(t){this.destination.error(t)}},e.prototype._complete=function(){this.emitValue(),this.destination.complete()},e.prototype._tryNext=function(t,e){var n=this.durationSubscription;this.value=t,this.hasValue=!0,n&&(n.unsubscribe(),this.remove(n)),(n=o.subscribeToResult(this,e)).closed||this.add(this.durationSubscription=n)},e.prototype.notifyNext=function(t,e,n,r,i){this.emitValue()},e.prototype.notifyComplete=function(){this.emitValue()},e.prototype.emitValue=function(){if(this.hasValue){var e=this.value,n=this.durationSubscription;n&&(this.durationSubscription=null,n.unsubscribe(),this.remove(n)),this.value=null,this.hasValue=!1,t.prototype._next.call(this,e)}},e}(i.OuterSubscriber)},function(t,e,n){"use strict";function r(t){t.debouncedNext()}var i=n(0).__extends,o=n(15),s=n(34);e.debounceTime=function(t,e){return void 0===e&&(e=s.async),function(n){return n.lift(new a(t,e))}};var a=function(){function t(t,e){this.dueTime=t,this.scheduler=e}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.dueTime,this.scheduler))},t}(),u=function(t){function e(e,n,r){t.call(this,e),this.dueTime=n,this.scheduler=r,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}return i(e,t),e.prototype._next=function(t){this.clearDebounce(),this.lastValue=t,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(r,this.dueTime,this))},e.prototype._complete=function(){this.debouncedNext(),this.destination.complete()},e.prototype.debouncedNext=function(){this.clearDebounce(),this.hasValue&&(this.destination.next(this.lastValue),this.lastValue=null,this.hasValue=!1)},e.prototype.clearDebounce=function(){var t=this.debouncedSubscription;null!==t&&(this.remove(t),t.unsubscribe(),this.debouncedSubscription=null)},e}(o.Subscriber)},function(t,e,n){"use strict";var r=n(0).__extends,i=n(34),o=n(188),s=n(15),a=n(148);e.delay=function(t,e){void 0===e&&(e=i.async);var n=o.isDate(t)?+t-e.now():Math.abs(t);return function(t){return t.lift(new u(n,e))}};var u=function(){function t(t,e){this.delay=t,this.scheduler=e}return t.prototype.call=function(t,e){return e.subscribe(new l(t,this.delay,this.scheduler))},t}(),l=function(t){function e(e,n,r){t.call(this,e),this.delay=n,this.scheduler=r,this.queue=[],this.active=!1,this.errored=!1}return r(e,t),e.dispatch=function(t){for(var e=t.source,n=e.queue,r=t.scheduler,i=t.destination;n.length>0&&n[0].time-r.now()<=0;)n.shift().notification.observe(i);if(n.length>0){var o=Math.max(0,n[0].time-r.now());this.schedule(t,o)}else e.active=!1},e.prototype._schedule=function(t){this.active=!0,this.add(t.schedule(e.dispatch,this.delay,{source:this,destination:this.destination,scheduler:t}))},e.prototype.scheduleNotification=function(t){if(!0!==this.errored){var e=this.scheduler,n=new c(e.now()+this.delay,t);this.queue.push(n),!1===this.active&&this._schedule(e)}},e.prototype._next=function(t){this.scheduleNotification(a.Notification.createNext(t))},e.prototype._error=function(t){this.errored=!0,this.queue=[],this.destination.error(t)},e.prototype._complete=function(){this.scheduleNotification(a.Notification.createComplete())},e}(s.Subscriber),c=function(){return function(t,e){this.time=t,this.notification=e}}()},function(t,e,n){"use strict";var r=n(0).__extends,i=n(15),o=n(2),s=n(24),a=n(23);e.delayWhen=function(t,e){return e?function(n){return new c(n,e).lift(new u(t))}:function(e){return e.lift(new u(t))}};var u=function(){function t(t){this.delayDurationSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new l(t,this.delayDurationSelector))},t}(),l=function(t){function e(e,n){t.call(this,e),this.delayDurationSelector=n,this.completed=!1,this.delayNotifierSubscriptions=[],this.values=[]}return r(e,t),e.prototype.notifyNext=function(t,e,n,r,i){this.destination.next(t),this.removeSubscription(i),this.tryComplete()},e.prototype.notifyError=function(t,e){this._error(t)},e.prototype.notifyComplete=function(t){var e=this.removeSubscription(t);e&&this.destination.next(e),this.tryComplete()},e.prototype._next=function(t){try{var e=this.delayDurationSelector(t);e&&this.tryDelay(e,t)}catch(t){this.destination.error(t)}},e.prototype._complete=function(){this.completed=!0,this.tryComplete()},e.prototype.removeSubscription=function(t){t.unsubscribe();var e=this.delayNotifierSubscriptions.indexOf(t),n=null;return-1!==e&&(n=this.values[e],this.delayNotifierSubscriptions.splice(e,1),this.values.splice(e,1)),n},e.prototype.tryDelay=function(t,e){var n=a.subscribeToResult(this,t,e);n&&!n.closed&&(this.add(n),this.delayNotifierSubscriptions.push(n)),this.values.push(e)},e.prototype.tryComplete=function(){this.completed&&0===this.delayNotifierSubscriptions.length&&this.destination.complete()},e}(s.OuterSubscriber),c=function(t){function e(e,n){t.call(this),this.source=e,this.subscriptionDelay=n}return r(e,t),e.prototype._subscribe=function(t){this.subscriptionDelay.subscribe(new d(t,this.source))},e}(o.Observable),d=function(t){function e(e,n){t.call(this),this.parent=e,this.source=n,this.sourceSubscribed=!1}return r(e,t),e.prototype._next=function(t){this.subscribeToSource()},e.prototype._error=function(t){this.unsubscribe(),this.parent.error(t)},e.prototype._complete=function(){this.subscribeToSource()},e.prototype.subscribeToSource=function(){this.sourceSubscribed||(this.sourceSubscribed=!0,this.unsubscribe(),this.source.subscribe(this.parent))},e}(i.Subscriber)},function(t,e,n){"use strict";var r=n(0).__extends,i=n(15);e.dematerialize=function(){return function(t){return t.lift(new o)}};var o=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new s(t))},t}(),s=function(t){function e(e){t.call(this,e)}return r(e,t),e.prototype._next=function(t){t.observe(this.destination)},e}(i.Subscriber)},function(t,e,n){"use strict";var r=n(0).__extends,i=n(24),o=n(23),s=n(946);e.distinct=function(t,e){return function(n){return n.lift(new a(t,e))}};var a=function(){function t(t,e){this.keySelector=t,this.flushes=e}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.keySelector,this.flushes))},t}(),u=function(t){function e(e,n,r){t.call(this,e),this.keySelector=n,this.values=new s.Set,r&&this.add(o.subscribeToResult(this,r))}return r(e,t),e.prototype.notifyNext=function(t,e,n,r,i){this.values.clear()},e.prototype.notifyError=function(t,e){this._error(t)},e.prototype._next=function(t){this.keySelector?this._useKeySelector(t):this._finalizeNext(t,t)},e.prototype._useKeySelector=function(t){var e,n=this.destination;try{e=this.keySelector(t)}catch(t){return void n.error(t)}this._finalizeNext(e,t)},e.prototype._finalizeNext=function(t,e){var n=this.values;n.has(t)||(n.add(t),this.destination.next(e))},e}(i.OuterSubscriber);e.DistinctSubscriber=u},function(t,e,n){"use strict";var r=n(266);e.distinctUntilKeyChanged=function(t,e){return r.distinctUntilChanged(function(n,r){return e?e(n[t],r[t]):n[t]===r[t]})}},function(t,e,n){"use strict";var r=n(0).__extends,i=n(15),o=n(149);e.elementAt=function(t,e){return function(n){return n.lift(new s(t,e))}};var s=function(){function t(t,e){if(this.index=t,this.defaultValue=e,t<0)throw new o.ArgumentOutOfRangeError}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.index,this.defaultValue))},t}(),a=function(t){function e(e,n,r){t.call(this,e),this.index=n,this.defaultValue=r}return r(e,t),e.prototype._next=function(t){0==this.index--&&(this.destination.next(t),this.destination.complete())},e.prototype._complete=function(){var t=this.destination;this.index>=0&&(void 0!==this.defaultValue?t.next(this.defaultValue):t.error(new o.ArgumentOutOfRangeError)),t.complete()},e}(i.Subscriber)},function(t,e,n){"use strict";var r=n(0).__extends,i=n(15);e.every=function(t,e){return function(n){return n.lift(new o(t,e,n))}};var o=function(){function t(t,e,n){this.predicate=t,this.thisArg=e,this.source=n}return t.prototype.call=function(t,e){return e.subscribe(new s(t,this.predicate,this.thisArg,this.source))},t}(),s=function(t){function e(e,n,r,i){t.call(this,e),this.predicate=n,this.thisArg=r,this.source=i,this.index=0,this.thisArg=r||this}return r(e,t),e.prototype.notifyComplete=function(t){this.destination.next(t),this.destination.complete()},e.prototype._next=function(t){var e=!1;try{e=this.predicate.call(this.thisArg,t,this.index++,this.source)}catch(t){return void this.destination.error(t)}e||this.notifyComplete(!1)},e.prototype._complete=function(){this.notifyComplete(!0)},e}(i.Subscriber)},function(t,e,n){"use strict";var r=n(0).__extends,i=n(24),o=n(23);e.exhaust=function(){return function(t){return t.lift(new s)}};var s=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new a(t))},t}(),a=function(t){function e(e){t.call(this,e),this.hasCompleted=!1,this.hasSubscription=!1}return r(e,t),e.prototype._next=function(t){this.hasSubscription||(this.hasSubscription=!0,this.add(o.subscribeToResult(this,t)))},e.prototype._complete=function(){this.hasCompleted=!0,this.hasSubscription||this.destination.complete()},e.prototype.notifyComplete=function(t){this.remove(t),this.hasSubscription=!1,this.hasCompleted&&this.destination.complete()},e}(i.OuterSubscriber)},function(t,e,n){"use strict";var r=n(0).__extends,i=n(24),o=n(23);e.exhaustMap=function(t,e){return function(n){return n.lift(new s(t,e))}};var s=function(){function t(t,e){this.project=t,this.resultSelector=e}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.project,this.resultSelector))},t}(),a=function(t){function e(e,n,r){t.call(this,e),this.project=n,this.resultSelector=r,this.hasSubscription=!1,this.hasCompleted=!1,this.index=0}return r(e,t),e.prototype._next=function(t){this.hasSubscription||this.tryNext(t)},e.prototype.tryNext=function(t){var e=this.index++,n=this.destination;try{var r=this.project(t,e);this.hasSubscription=!0,this.add(o.subscribeToResult(this,r,t,e))}catch(t){n.error(t)}},e.prototype._complete=function(){this.hasCompleted=!0,this.hasSubscription||this.destination.complete()},e.prototype.notifyNext=function(t,e,n,r,i){var o=this.destination;this.resultSelector?this.trySelectResult(t,e,n,r):o.next(e)},e.prototype.trySelectResult=function(t,e,n,r){var i=this.resultSelector,o=this.destination;try{var s=i(t,e,n,r);o.next(s)}catch(t){o.error(t)}},e.prototype.notifyError=function(t){this.destination.error(t)},e.prototype.notifyComplete=function(t){this.remove(t),this.hasSubscription=!1,this.hasCompleted&&this.destination.complete()},e}(i.OuterSubscriber)},function(t,e,n){"use strict";var r=n(0).__extends,i=n(48),o=n(44),s=n(24),a=n(23);e.expand=function(t,e,n){return void 0===e&&(e=Number.POSITIVE_INFINITY),void 0===n&&(n=void 0),e=(e||0)<1?Number.POSITIVE_INFINITY:e,function(r){return r.lift(new u(t,e,n))}};var u=function(){function t(t,e,n){this.project=t,this.concurrent=e,this.scheduler=n}return t.prototype.call=function(t,e){return e.subscribe(new l(t,this.project,this.concurrent,this.scheduler))},t}();e.ExpandOperator=u;var l=function(t){function e(e,n,r,i){t.call(this,e),this.project=n,this.concurrent=r,this.scheduler=i,this.index=0,this.active=0,this.hasCompleted=!1,r<Number.POSITIVE_INFINITY&&(this.buffer=[])}return r(e,t),e.dispatch=function(t){t.subscriber.subscribeToProjection(t.result,t.value,t.index)},e.prototype._next=function(t){var n=this.destination;if(n.closed)this._complete();else{var r=this.index++;if(this.active<this.concurrent){n.next(t);var s=i.tryCatch(this.project)(t,r);if(s===o.errorObject)n.error(o.errorObject.e);else if(this.scheduler){this.add(this.scheduler.schedule(e.dispatch,0,{subscriber:this,result:s,value:t,index:r}))}else this.subscribeToProjection(s,t,r)}else this.buffer.push(t)}},e.prototype.subscribeToProjection=function(t,e,n){this.active++,this.add(a.subscribeToResult(this,t,e,n))},e.prototype._complete=function(){this.hasCompleted=!0,this.hasCompleted&&0===this.active&&this.destination.complete()},e.prototype.notifyNext=function(t,e,n,r,i){this._next(e)},e.prototype.notifyComplete=function(t){var e=this.buffer;this.remove(t),this.active--,e&&e.length>0&&this._next(e.shift()),this.hasCompleted&&0===this.active&&this.destination.complete()},e}(s.OuterSubscriber);e.ExpandSubscriber=l},function(t,e,n){"use strict";var r=n(0).__extends,i=n(15),o=n(38);e.finalize=function(t){return function(e){return e.lift(new s(t))}};var s=function(){function t(t){this.callback=t}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.callback))},t}(),a=function(t){function e(e,n){t.call(this,e),this.add(new o.Subscription(n))}return r(e,t),e}(i.Subscriber)},function(t,e,n){"use strict";var r=n(268);e.findIndex=function(t,e){return function(n){return n.lift(new r.FindValueOperator(t,n,!0,e))}}},function(t,e,n){"use strict";var r=n(0).__extends,i=n(15),o=n(191);e.first=function(t,e,n){return function(r){return r.lift(new s(t,e,n,r))}};var s=function(){function t(t,e,n,r){this.predicate=t,this.resultSelector=e,this.defaultValue=n,this.source=r}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.predicate,this.resultSelector,this.defaultValue,this.source))},t}(),a=function(t){function e(e,n,r,i,o){t.call(this,e),this.predicate=n,this.resultSelector=r,this.defaultValue=i,this.source=o,this.index=0,this.hasCompleted=!1,this._emitted=!1}return r(e,t),e.prototype._next=function(t){var e=this.index++;this.predicate?this._tryPredicate(t,e):this._emit(t,e)},e.prototype._tryPredicate=function(t,e){var n;try{n=this.predicate(t,e,this.source)}catch(t){return void this.destination.error(t)}n&&this._emit(t,e)},e.prototype._emit=function(t,e){this.resultSelector?this._tryResultSelector(t,e):this._emitFinal(t)},e.prototype._tryResultSelector=function(t,e){var n;try{n=this.resultSelector(t,e)}catch(t){return void this.destination.error(t)}this._emitFinal(n)},e.prototype._emitFinal=function(t){var e=this.destination;this._emitted||(this._emitted=!0,e.next(t),e.complete(),this.hasCompleted=!0)},e.prototype._complete=function(){var t=this.destination;this.hasCompleted||void 0===this.defaultValue?this.hasCompleted||t.error(new o.EmptyError):(t.next(this.defaultValue),t.complete())},e}(i.Subscriber)},function(t,e,n){"use strict";var r=n(0).__extends,i=n(15),o=n(38),s=n(2),a=n(19),u=n(947),l=n(949);e.groupBy=function(t,e,n,r){return function(i){return i.lift(new c(t,e,n,r))}};var c=function(){function t(t,e,n,r){this.keySelector=t,this.elementSelector=e,this.durationSelector=n,this.subjectSelector=r}return t.prototype.call=function(t,e){return e.subscribe(new d(t,this.keySelector,this.elementSelector,this.durationSelector,this.subjectSelector))},t}(),d=function(t){function e(e,n,r,i,o){t.call(this,e),this.keySelector=n,this.elementSelector=r,this.durationSelector=i,this.subjectSelector=o,this.groups=null,this.attemptedToUnsubscribe=!1,this.count=0}return r(e,t),e.prototype._next=function(t){var e;try{e=this.keySelector(t)}catch(t){return void this.error(t)}this._group(t,e)},e.prototype._group=function(t,e){var n=this.groups;n||(n=this.groups="string"==typeof e?new l.FastMap:new u.Map);var r,i=n.get(e);if(this.elementSelector)try{r=this.elementSelector(t)}catch(t){this.error(t)}else r=t;if(!i){i=this.subjectSelector?this.subjectSelector():new a.Subject,n.set(e,i);var o=new f(e,i,this);if(this.destination.next(o),this.durationSelector){var s=void 0;try{s=this.durationSelector(new f(e,i))}catch(t){return void this.error(t)}this.add(s.subscribe(new h(e,i,this)))}}i.closed||i.next(r)},e.prototype._error=function(t){var e=this.groups;e&&(e.forEach(function(e,n){e.error(t)}),e.clear()),this.destination.error(t)},e.prototype._complete=function(){var t=this.groups;t&&(t.forEach(function(t,e){t.complete()}),t.clear()),this.destination.complete()},e.prototype.removeGroup=function(t){this.groups.delete(t)},e.prototype.unsubscribe=function(){this.closed||(this.attemptedToUnsubscribe=!0,0===this.count&&t.prototype.unsubscribe.call(this))},e}(i.Subscriber),h=function(t){function e(e,n,r){t.call(this,n),this.key=e,this.group=n,this.parent=r}return r(e,t),e.prototype._next=function(t){this.complete()},e.prototype._unsubscribe=function(){var t=this.parent,e=this.key;this.key=this.parent=null,t&&t.removeGroup(e)},e}(i.Subscriber),f=function(t){function e(e,n,r){t.call(this),this.key=e,this.groupSubject=n,this.refCountSubscription=r}return r(e,t),e.prototype._subscribe=function(t){var e=new o.Subscription,n=this.refCountSubscription,r=this.groupSubject;return n&&!n.closed&&e.add(new p(n)),e.add(r.subscribe(t)),e},e}(s.Observable);e.GroupedObservable=f;var p=function(t){function e(e){t.call(this),this.parent=e,e.count++}return r(e,t),e.prototype.unsubscribe=function(){var e=this.parent;e.closed||this.closed||(t.prototype.unsubscribe.call(this),e.count-=1,0===e.count&&e.attemptedToUnsubscribe&&e.unsubscribe())},e}(o.Subscription)},function(t,e,n){"use strict";var r=n(0).__extends,i=n(15),o=n(259);e.ignoreElements=function(){return function(t){return t.lift(new s)}};var s=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new a(t))},t}(),a=function(t){function e(){t.apply(this,arguments)}return r(e,t),e.prototype._next=function(t){o.noop()},e}(i.Subscriber)},function(t,e,n){"use strict";var r=n(0).__extends,i=n(15);e.isEmpty=function(){return function(t){return t.lift(new o)}};var o=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new s(t))},t}(),s=function(t){function e(e){t.call(this,e)}return r(e,t),e.prototype.notifyComplete=function(t){var e=this.destination;e.next(t),e.complete()},e.prototype._next=function(t){this.notifyComplete(!1)},e.prototype._complete=function(){this.notifyComplete(!0)},e}(i.Subscriber)},function(t,e,n){"use strict";var r=n(0).__extends,i=n(15),o=n(191);e.last=function(t,e,n){return function(r){return r.lift(new s(t,e,n,r))}};var s=function(){function t(t,e,n,r){this.predicate=t,this.resultSelector=e,this.defaultValue=n,this.source=r}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.predicate,this.resultSelector,this.defaultValue,this.source))},t}(),a=function(t){function e(e,n,r,i,o){t.call(this,e),this.predicate=n,this.resultSelector=r,this.defaultValue=i,this.source=o,this.hasValue=!1,this.index=0,void 0!==i&&(this.lastValue=i,this.hasValue=!0)}return r(e,t),e.prototype._next=function(t){var e=this.index++;if(this.predicate)this._tryPredicate(t,e);else{if(this.resultSelector)return void this._tryResultSelector(t,e);this.lastValue=t,this.hasValue=!0}},e.prototype._tryPredicate=function(t,e){var n;try{n=this.predicate(t,e,this.source)}catch(t){return void this.destination.error(t)}if(n){if(this.resultSelector)return void this._tryResultSelector(t,e);this.lastValue=t,this.hasValue=!0}},e.prototype._tryResultSelector=function(t,e){var n;try{n=this.resultSelector(t,e)}catch(t){return void this.destination.error(t)}this.lastValue=n,this.hasValue=!0},e.prototype._complete=function(){var t=this.destination;this.hasValue?(t.next(this.lastValue),t.complete()):t.error(new o.EmptyError)},e}(i.Subscriber)},function(t,e,n){"use strict";var r=n(0).__extends,i=n(15);e.mapTo=function(t){return function(e){return e.lift(new o(t))}};var o=function(){function t(t){this.value=t}return t.prototype.call=function(t,e){return e.subscribe(new s(t,this.value))},t}(),s=function(t){function e(e,n){t.call(this,e),this.value=n}return r(e,t),e.prototype._next=function(t){this.destination.next(this.value)},e}(i.Subscriber)},function(t,e,n){"use strict";var r=n(0).__extends,i=n(15),o=n(148);e.materialize=function(){return function(t){return t.lift(new s)}};var s=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new a(t))},t}(),a=function(t){function e(e){t.call(this,e)}return r(e,t),e.prototype._next=function(t){this.destination.next(o.Notification.createNext(t))},e.prototype._error=function(t){var e=this.destination;e.next(o.Notification.createError(t)),e.complete()},e.prototype._complete=function(){var t=this.destination;t.next(o.Notification.createComplete()),t.complete()},e}(i.Subscriber)},function(t,e,n){"use strict";var r=n(151);e.max=function(t){return r.reduce("function"==typeof t?function(e,n){return t(e,n)>0?e:n}:function(t,e){return t>e?t:e})}},function(t,e,n){"use strict";var r=n(121),i=n(121);e.mergeStatic=i.merge,e.merge=function(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];return function(e){return e.lift.call(r.merge.apply(void 0,[e].concat(t)))}}},function(t,e,n){"use strict";var r=n(0).__extends,i=n(24),o=n(23);e.mergeMapTo=function(t,e,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),"number"==typeof e&&(n=e,e=null),function(r){return r.lift(new s(t,e,n))}};var s=function(){function t(t,e,n){void 0===n&&(n=Number.POSITIVE_INFINITY),this.ish=t,this.resultSelector=e,this.concurrent=n}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.ish,this.resultSelector,this.concurrent))},t}();e.MergeMapToOperator=s;var a=function(t){function e(e,n,r,i){void 0===i&&(i=Number.POSITIVE_INFINITY),t.call(this,e),this.ish=n,this.resultSelector=r,this.concurrent=i,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}return r(e,t),e.prototype._next=function(t){if(this.active<this.concurrent){var e=this.resultSelector,n=this.index++,r=this.ish,i=this.destination;this.active++,this._innerSub(r,i,e,t,n)}else this.buffer.push(t)},e.prototype._innerSub=function(t,e,n,r,i){this.add(o.subscribeToResult(this,t,r,i))},e.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete()},e.prototype.notifyNext=function(t,e,n,r,i){var o=this.destination;this.resultSelector?this.trySelectResult(t,e,n,r):o.next(e)},e.prototype.trySelectResult=function(t,e,n,r){var i,o=this.resultSelector,s=this.destination;try{i=o(t,e,n,r)}catch(t){return void s.error(t)}s.next(i)},e.prototype.notifyError=function(t){this.destination.error(t)},e.prototype.notifyComplete=function(t){var e=this.buffer;this.remove(t),this.active--,e.length>0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},e}(i.OuterSubscriber);e.MergeMapToSubscriber=a},function(t,e,n){"use strict";var r=n(0).__extends,i=n(48),o=n(44),s=n(23),a=n(24);e.mergeScan=function(t,e,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),function(r){return r.lift(new u(t,e,n))}};var u=function(){function t(t,e,n){this.accumulator=t,this.seed=e,this.concurrent=n}return t.prototype.call=function(t,e){return e.subscribe(new l(t,this.accumulator,this.seed,this.concurrent))},t}();e.MergeScanOperator=u;var l=function(t){function e(e,n,r,i){t.call(this,e),this.accumulator=n,this.acc=r,this.concurrent=i,this.hasValue=!1,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}return r(e,t),e.prototype._next=function(t){if(this.active<this.concurrent){var e=this.index++,n=i.tryCatch(this.accumulator)(this.acc,t);n===o.errorObject?this.destination.error(o.errorObject.e):(this.active++,this._innerSub(n,t,e))}else this.buffer.push(t)},e.prototype._innerSub=function(t,e,n){this.add(s.subscribeToResult(this,t,e,n))},e.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&(!1===this.hasValue&&this.destination.next(this.acc),this.destination.complete())},e.prototype.notifyNext=function(t,e,n,r,i){var o=this.destination;this.acc=e,this.hasValue=!0,o.next(e)},e.prototype.notifyComplete=function(t){var e=this.buffer;this.remove(t),this.active--,e.length>0?this._next(e.shift()):0===this.active&&this.hasCompleted&&(!1===this.hasValue&&this.destination.next(this.acc),this.destination.complete())},e}(a.OuterSubscriber);e.MergeScanSubscriber=l},function(t,e,n){"use strict";var r=n(151);e.min=function(t){return r.reduce("function"==typeof t?function(e,n){return t(e,n)<0?e:n}:function(t,e){return t<e?t:e})}},function(t,e,n){"use strict";var r=n(0).__extends,i=n(15);e.pairwise=function(){return function(t){return t.lift(new o)}};var o=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new s(t))},t}(),s=function(t){function e(e){t.call(this,e),this.hasPrev=!1}return r(e,t),e.prototype._next=function(t){this.hasPrev?this.destination.next([this.prev,t]):this.hasPrev=!0,this.prev=t},e}(i.Subscriber)},function(t,e,n){"use strict";var r=n(950),i=n(267);e.partition=function(t,e){return function(n){return[i.filter(t,e)(n),i.filter(r.not(t,e))(n)]}}},function(t,e,n){"use strict";var r=n(150);e.pluck=function(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];var n=t.length;if(0===n)throw new Error("list of properties cannot be empty.");return function(e){return r.map(function(t,e){return function(n){for(var r=n,i=0;i<e;i++){var o=r[t[i]];if(void 0===o)return;r=o}return r}}(t,n))(e)}}},function(t,e,n){"use strict";var r=n(19),i=n(110);e.publish=function(t){return t?i.multicast(function(){return new r.Subject},t):i.multicast(new r.Subject)}},function(t,e,n){"use strict";var r=n(451),i=n(110);e.publishBehavior=function(t){return function(e){return i.multicast(new r.BehaviorSubject(t))(e)}}},function(t,e,n){"use strict";var r=n(0).__extends,i=n(19),o=n(187);e.BehaviorSubject=function(t){function e(e){t.call(this),this._value=e}return r(e,t),Object.defineProperty(e.prototype,"value",{get:function(){return this.getValue()},enumerable:!0,configurable:!0}),e.prototype._subscribe=function(e){var n=t.prototype._subscribe.call(this,e);return n&&!n.closed&&e.next(this._value),n},e.prototype.getValue=function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new o.ObjectUnsubscribedError;return this._value},e.prototype.next=function(e){t.prototype.next.call(this,this._value=e)},e}(i.Subject)},function(t,e,n){"use strict";var r=n(192),i=n(110);e.publishLast=function(){return function(t){return i.multicast(new r.AsyncSubject)(t)}}},function(t,e,n){"use strict";var r=n(60),i=n(110);e.publishReplay=function(t,e,n,o){n&&"function"!=typeof n&&(o=n);var s="function"==typeof n?n:void 0,a=new r.ReplaySubject(t,e,o);return function(t){return i.multicast(function(){return a},s)(t)}}},function(t,e,n){"use strict";var r=n(951),i=n(952);e.queue=new i.QueueScheduler(r.QueueAction)},function(t,e,n){"use strict";var r=n(81),i=n(272);e.race=function(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];return function(e){return 1===t.length&&r.isArray(t[0])&&(t=t[0]),e.lift.call(i.race.apply(void 0,[e].concat(t)))}}},function(t,e,n){"use strict";var r=n(0).__extends,i=n(15),o=n(98);e.repeat=function(t){return void 0===t&&(t=-1),function(e){return 0===t?new o.EmptyObservable:e.lift(new s(t<0?-1:t-1,e))}};var s=function(){function t(t,e){this.count=t,this.source=e}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.count,this.source))},t}(),a=function(t){function e(e,n,r){t.call(this,e),this.count=n,this.source=r}return r(e,t),e.prototype.complete=function(){if(!this.isStopped){var e=this.source,n=this.count;if(0===n)return t.prototype.complete.call(this);n>-1&&(this.count=n-1),e.subscribe(this._unsubscribeAndRecycle())}},e}(i.Subscriber)},function(t,e,n){"use strict";var r=n(0).__extends,i=n(19),o=n(48),s=n(44),a=n(24),u=n(23);e.repeatWhen=function(t){return function(e){return e.lift(new l(t))}};var l=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,e){return e.subscribe(new c(t,this.notifier,e))},t}(),c=function(t){function e(e,n,r){t.call(this,e),this.notifier=n,this.source=r,this.sourceIsBeingSubscribedTo=!0}return r(e,t),e.prototype.notifyNext=function(t,e,n,r,i){this.sourceIsBeingSubscribedTo=!0,this.source.subscribe(this)},e.prototype.notifyComplete=function(e){if(!1===this.sourceIsBeingSubscribedTo)return t.prototype.complete.call(this)},e.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()}},e.prototype._unsubscribe=function(){var t=this.notifications,e=this.retriesSubscription;t&&(t.unsubscribe(),this.notifications=null),e&&(e.unsubscribe(),this.retriesSubscription=null),this.retries=null},e.prototype._unsubscribeAndRecycle=function(){var e=this.notifications,n=this.retries,r=this.retriesSubscription;return this.notifications=null,this.retries=null,this.retriesSubscription=null,t.prototype._unsubscribeAndRecycle.call(this),this.notifications=e,this.retries=n,this.retriesSubscription=r,this},e.prototype.subscribeToRetries=function(){this.notifications=new i.Subject;var e=o.tryCatch(this.notifier)(this.notifications);if(e===s.errorObject)return t.prototype.complete.call(this);this.retries=e,this.retriesSubscription=u.subscribeToResult(this,e)},e}(a.OuterSubscriber)},function(t,e,n){"use strict";var r=n(0).__extends,i=n(15);e.retry=function(t){return void 0===t&&(t=-1),function(e){return e.lift(new o(t,e))}};var o=function(){function t(t,e){this.count=t,this.source=e}return t.prototype.call=function(t,e){return e.subscribe(new s(t,this.count,this.source))},t}(),s=function(t){function e(e,n,r){t.call(this,e),this.count=n,this.source=r}return r(e,t),e.prototype.error=function(e){if(!this.isStopped){var n=this.source,r=this.count;if(0===r)return t.prototype.error.call(this,e);r>-1&&(this.count=r-1),n.subscribe(this._unsubscribeAndRecycle())}},e}(i.Subscriber)},function(t,e,n){"use strict";var r=n(0).__extends,i=n(19),o=n(48),s=n(44),a=n(24),u=n(23);e.retryWhen=function(t){return function(e){return e.lift(new l(t,e))}};var l=function(){function t(t,e){this.notifier=t,this.source=e}return t.prototype.call=function(t,e){return e.subscribe(new c(t,this.notifier,this.source))},t}(),c=function(t){function e(e,n,r){t.call(this,e),this.notifier=n,this.source=r}return r(e,t),e.prototype.error=function(e){if(!this.isStopped){var n=this.errors,r=this.retries,a=this.retriesSubscription;if(r)this.errors=null,this.retriesSubscription=null;else{if(n=new i.Subject,(r=o.tryCatch(this.notifier)(n))===s.errorObject)return t.prototype.error.call(this,s.errorObject.e);a=u.subscribeToResult(this,r)}this._unsubscribeAndRecycle(),this.errors=n,this.retries=r,this.retriesSubscription=a,n.next(e)}},e.prototype._unsubscribe=function(){var t=this.errors,e=this.retriesSubscription;t&&(t.unsubscribe(),this.errors=null),e&&(e.unsubscribe(),this.retriesSubscription=null),this.retries=null},e.prototype.notifyNext=function(t,e,n,r,i){var o=this.errors,s=this.retries,a=this.retriesSubscription;this.errors=null,this.retries=null,this.retriesSubscription=null,this._unsubscribeAndRecycle(),this.errors=o,this.retries=s,this.retriesSubscription=a,this.source.subscribe(this)},e}(a.OuterSubscriber)},function(t,e,n){"use strict";var r=n(0).__extends,i=n(24),o=n(23);e.sample=function(t){return function(e){return e.lift(new s(t))}};var s=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,e){var n=new a(t),r=e.subscribe(n);return r.add(o.subscribeToResult(n,this.notifier)),r},t}(),a=function(t){function e(){t.apply(this,arguments),this.hasValue=!1}return r(e,t),e.prototype._next=function(t){this.value=t,this.hasValue=!0},e.prototype.notifyNext=function(t,e,n,r,i){this.emitValue()},e.prototype.notifyComplete=function(){this.emitValue()},e.prototype.emitValue=function(){this.hasValue&&(this.hasValue=!1,this.destination.next(this.value))},e}(i.OuterSubscriber)},function(t,e,n){"use strict";function r(t){var e=t.period;t.subscriber.notifyNext(),this.schedule(t,e)}var i=n(0).__extends,o=n(15),s=n(34);e.sampleTime=function(t,e){return void 0===e&&(e=s.async),function(n){return n.lift(new a(t,e))}};var a=function(){function t(t,e){this.period=t,this.scheduler=e}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.period,this.scheduler))},t}(),u=function(t){function e(e,n,i){t.call(this,e),this.period=n,this.scheduler=i,this.hasValue=!1,this.add(i.schedule(r,n,{subscriber:this,period:n}))}return i(e,t),e.prototype._next=function(t){this.lastValue=t,this.hasValue=!0},e.prototype.notifyNext=function(){this.hasValue&&(this.hasValue=!1,this.destination.next(this.lastValue))},e}(o.Subscriber)},function(t,e,n){"use strict";var r=n(0).__extends,i=n(15),o=n(48),s=n(44);e.sequenceEqual=function(t,e){return function(n){return n.lift(new a(t,e))}};var a=function(){function t(t,e){this.compareTo=t,this.comparor=e}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.compareTo,this.comparor))},t}();e.SequenceEqualOperator=a;var u=function(t){function e(e,n,r){t.call(this,e),this.compareTo=n,this.comparor=r,this._a=[],this._b=[],this._oneComplete=!1,this.add(n.subscribe(new l(e,this)))}return r(e,t),e.prototype._next=function(t){this._oneComplete&&0===this._b.length?this.emit(!1):(this._a.push(t),this.checkValues())},e.prototype._complete=function(){this._oneComplete?this.emit(0===this._a.length&&0===this._b.length):this._oneComplete=!0},e.prototype.checkValues=function(){for(var t=this._a,e=this._b,n=this.comparor;t.length>0&&e.length>0;){var r=t.shift(),i=e.shift(),a=!1;n?(a=o.tryCatch(n)(r,i))===s.errorObject&&this.destination.error(s.errorObject.e):a=r===i,a||this.emit(!1)}},e.prototype.emit=function(t){var e=this.destination;e.next(t),e.complete()},e.prototype.nextB=function(t){this._oneComplete&&0===this._a.length?this.emit(!1):(this._b.push(t),this.checkValues())},e}(i.Subscriber);e.SequenceEqualSubscriber=u;var l=function(t){function e(e,n){t.call(this,e),this.parent=n}return r(e,t),e.prototype._next=function(t){this.parent.nextB(t)},e.prototype._error=function(t){this.parent.error(t)},e.prototype._complete=function(){this.parent._complete()},e}(i.Subscriber)},function(t,e,n){"use strict";var r=n(60);e.shareReplay=function(t,e,n){return function(i){return i.lift(function(t,e,n){var i,o,s=0,a=!1,u=!1;return function(l){s++,i&&!a||(a=!1,i=new r.ReplaySubject(t,e,n),o=l.subscribe({next:function(t){i.next(t)},error:function(t){a=!0,i.error(t)},complete:function(){u=!0,i.complete()}}));var c=i.subscribe(this);return function(){s--,c.unsubscribe(),o&&0===s&&u&&o.unsubscribe()}}}(t,e,n))}}},function(t,e,n){"use strict";var r=n(0).__extends,i=n(15),o=n(191);e.single=function(t){return function(e){return e.lift(new s(t,e))}};var s=function(){function t(t,e){this.predicate=t,this.source=e}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.predicate,this.source))},t}(),a=function(t){function e(e,n,r){t.call(this,e),this.predicate=n,this.source=r,this.seenValue=!1,this.index=0}return r(e,t),e.prototype.applySingleValue=function(t){this.seenValue?this.destination.error("Sequence contains more than one element"):(this.seenValue=!0,this.singleValue=t)},e.prototype._next=function(t){var e=this.index++;this.predicate?this.tryNext(t,e):this.applySingleValue(t)},e.prototype.tryNext=function(t,e){try{this.predicate(t,e,this.source)&&this.applySingleValue(t)}catch(t){this.destination.error(t)}},e.prototype._complete=function(){var t=this.destination;this.index>0?(t.next(this.seenValue?this.singleValue:void 0),t.complete()):t.error(new o.EmptyError)},e}(i.Subscriber)},function(t,e,n){"use strict";var r=n(0).__extends,i=n(15);e.skip=function(t){return function(e){return e.lift(new o(t))}};var o=function(){function t(t){this.total=t}return t.prototype.call=function(t,e){return e.subscribe(new s(t,this.total))},t}(),s=function(t){function e(e,n){t.call(this,e),this.total=n,this.count=0}return r(e,t),e.prototype._next=function(t){++this.count>this.total&&this.destination.next(t)},e}(i.Subscriber)},function(t,e,n){"use strict";var r=n(0).__extends,i=n(15),o=n(149);e.skipLast=function(t){return function(e){return e.lift(new s(t))}};var s=function(){function t(t){if(this._skipCount=t,this._skipCount<0)throw new o.ArgumentOutOfRangeError}return t.prototype.call=function(t,e){return e.subscribe(0===this._skipCount?new i.Subscriber(t):new a(t,this._skipCount))},t}(),a=function(t){function e(e,n){t.call(this,e),this._skipCount=n,this._count=0,this._ring=new Array(n)}return r(e,t),e.prototype._next=function(t){var e=this._skipCount,n=this._count++;if(n<e)this._ring[n]=t;else{var r=n%e,i=this._ring,o=i[r];i[r]=t,this.destination.next(o)}},e}(i.Subscriber)},function(t,e,n){"use strict";var r=n(0).__extends,i=n(24),o=n(23);e.skipUntil=function(t){return function(e){return e.lift(new s(t))}};var s=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.notifier))},t}(),a=function(t){function e(e,n){t.call(this,e),this.hasValue=!1,this.isInnerStopped=!1,this.add(o.subscribeToResult(this,n))}return r(e,t),e.prototype._next=function(e){this.hasValue&&t.prototype._next.call(this,e)},e.prototype._complete=function(){this.isInnerStopped?t.prototype._complete.call(this):this.unsubscribe()},e.prototype.notifyNext=function(t,e,n,r,i){this.hasValue=!0},e.prototype.notifyComplete=function(){this.isInnerStopped=!0,this.isStopped&&t.prototype._complete.call(this)},e}(i.OuterSubscriber)},function(t,e,n){"use strict";var r=n(0).__extends,i=n(15);e.skipWhile=function(t){return function(e){return e.lift(new o(t))}};var o=function(){function t(t){this.predicate=t}return t.prototype.call=function(t,e){return e.subscribe(new s(t,this.predicate))},t}(),s=function(t){function e(e,n){t.call(this,e),this.predicate=n,this.skipping=!0,this.index=0}return r(e,t),e.prototype._next=function(t){var e=this.destination;this.skipping&&this.tryCallPredicate(t),this.skipping||e.next(t)},e.prototype.tryCallPredicate=function(t){try{var e=this.predicate(t,this.index++);this.skipping=Boolean(e)}catch(t){this.destination.error(t)}},e}(i.Subscriber)},function(t,e,n){"use strict";var r=n(97),i=n(260),o=n(98),s=n(147),a=n(72);e.startWith=function(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];return function(e){var n=t[t.length-1];a.isScheduler(n)?t.pop():n=null;var u=t.length;return s.concat(1===u?new i.ScalarObservable(t[0],n):u>1?new r.ArrayObservable(t,n):new o.EmptyObservable(n),e)}}},function(t,e,n){"use strict";var r=n(273),i=n(400);e.switchAll=function(){return r.switchMap(i.identity)}},function(t,e,n){"use strict";var r=n(0).__extends,i=n(24),o=n(23);e.switchMapTo=function(t,e){return function(n){return n.lift(new s(t,e))}};var s=function(){function t(t,e){this.observable=t,this.resultSelector=e}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.observable,this.resultSelector))},t}(),a=function(t){function e(e,n,r){t.call(this,e),this.inner=n,this.resultSelector=r,this.index=0}return r(e,t),e.prototype._next=function(t){var e=this.innerSubscription;e&&e.unsubscribe(),this.add(this.innerSubscription=o.subscribeToResult(this,this.inner,t,this.index++))},e.prototype._complete=function(){var e=this.innerSubscription;e&&!e.closed||t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){this.innerSubscription=null},e.prototype.notifyComplete=function(e){this.remove(e),this.innerSubscription=null,this.isStopped&&t.prototype._complete.call(this)},e.prototype.notifyNext=function(t,e,n,r,i){var o=this.destination;this.resultSelector?this.tryResultSelector(t,e,n,r):o.next(e)},e.prototype.tryResultSelector=function(t,e,n,r){var i,o=this.resultSelector,s=this.destination;try{i=o(t,e,n,r)}catch(t){return void s.error(t)}s.next(i)},e}(i.OuterSubscriber)},function(t,e,n){"use strict";var r=n(0).__extends,i=n(15),o=n(149),s=n(98);e.take=function(t){return function(e){return 0===t?new s.EmptyObservable:e.lift(new a(t))}};var a=function(){function t(t){if(this.total=t,this.total<0)throw new o.ArgumentOutOfRangeError}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.total))},t}(),u=function(t){function e(e,n){t.call(this,e),this.total=n,this.count=0}return r(e,t),e.prototype._next=function(t){var e=this.total,n=++this.count;n<=e&&(this.destination.next(t),n===e&&(this.destination.complete(),this.unsubscribe()))},e}(i.Subscriber)},function(t,e,n){"use strict";var r=n(0).__extends,i=n(24),o=n(23);e.takeUntil=function(t){return function(e){return e.lift(new s(t))}};var s=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.notifier))},t}(),a=function(t){function e(e,n){t.call(this,e),this.notifier=n,this.add(o.subscribeToResult(this,n))}return r(e,t),e.prototype.notifyNext=function(t,e,n,r,i){this.complete()},e.prototype.notifyComplete=function(){},e}(i.OuterSubscriber)},function(t,e,n){"use strict";var r=n(0).__extends,i=n(15);e.takeWhile=function(t){return function(e){return e.lift(new o(t))}};var o=function(){function t(t){this.predicate=t}return t.prototype.call=function(t,e){return e.subscribe(new s(t,this.predicate))},t}(),s=function(t){function e(e,n){t.call(this,e),this.predicate=n,this.index=0}return r(e,t),e.prototype._next=function(t){var e,n=this.destination;try{e=this.predicate(t,this.index++)}catch(t){return void n.error(t)}this.nextOrComplete(t,e)},e.prototype.nextOrComplete=function(t,e){var n=this.destination;Boolean(e)?n.next(t):n.complete()},e}(i.Subscriber)},function(t,e,n){"use strict";var r=n(0).__extends,i=n(15);e.tap=function(t,e,n){return function(r){return r.lift(new o(t,e,n))}};var o=function(){function t(t,e,n){this.nextOrObserver=t,this.error=e,this.complete=n}return t.prototype.call=function(t,e){return e.subscribe(new s(t,this.nextOrObserver,this.error,this.complete))},t}(),s=function(t){function e(e,n,r,o){t.call(this,e);var s=new i.Subscriber(n,r,o);s.syncErrorThrowable=!0,this.add(s),this.safeSubscriber=s}return r(e,t),e.prototype._next=function(t){var e=this.safeSubscriber;e.next(t),e.syncErrorThrown?this.destination.error(e.syncErrorValue):this.destination.next(t)},e.prototype._error=function(t){var e=this.safeSubscriber;e.error(t),this.destination.error(e.syncErrorThrown?e.syncErrorValue:t)},e.prototype._complete=function(){var t=this.safeSubscriber;t.complete(),t.syncErrorThrown?this.destination.error(t.syncErrorValue):this.destination.complete()},e}(i.Subscriber)},function(t,e,n){"use strict";function r(t){t.subscriber.clearThrottle()}var i=n(0).__extends,o=n(15),s=n(34),a=n(193);e.throttleTime=function(t,e,n){return void 0===e&&(e=s.async),void 0===n&&(n=a.defaultThrottleConfig),function(r){return r.lift(new u(t,e,n.leading,n.trailing))}};var u=function(){function t(t,e,n,r){this.duration=t,this.scheduler=e,this.leading=n,this.trailing=r}return t.prototype.call=function(t,e){return e.subscribe(new l(t,this.duration,this.scheduler,this.leading,this.trailing))},t}(),l=function(t){function e(e,n,r,i,o){t.call(this,e),this.duration=n,this.scheduler=r,this.leading=i,this.trailing=o,this._hasTrailingValue=!1,this._trailingValue=null}return i(e,t),e.prototype._next=function(t){this.throttled?this.trailing&&(this._trailingValue=t,this._hasTrailingValue=!0):(this.add(this.throttled=this.scheduler.schedule(r,this.duration,{subscriber:this})),this.leading&&this.destination.next(t))},e.prototype.clearThrottle=function(){var t=this.throttled;t&&(this.trailing&&this._hasTrailingValue&&(this.destination.next(this._trailingValue),this._trailingValue=null,this._hasTrailingValue=!1),t.unsubscribe(),this.remove(t),this.throttled=null)},e}(o.Subscriber)},function(t,e,n){"use strict";var r=n(0).__extends,i=n(15),o=n(34);e.timeInterval=function(t){return void 0===t&&(t=o.async),function(e){return e.lift(new a(t))}};var s=function(){return function(t,e){this.value=t,this.interval=e}}();e.TimeInterval=s;var a=function(){function t(t){this.scheduler=t}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.scheduler))},t}(),u=function(t){function e(e,n){t.call(this,e),this.scheduler=n,this.lastTime=0,this.lastTime=n.now()}return r(e,t),e.prototype._next=function(t){var e=this.scheduler.now(),n=e-this.lastTime;this.lastTime=e,this.destination.next(new s(t,n))},e}(i.Subscriber)},function(t,e,n){"use strict";var r=n(0).__extends,i=n(34),o=n(188),s=n(15),a=n(479);e.timeout=function(t,e){void 0===e&&(e=i.async);var n=o.isDate(t),r=n?+t-e.now():Math.abs(t);return function(t){return t.lift(new u(r,n,e,new a.TimeoutError))}};var u=function(){function t(t,e,n,r){this.waitFor=t,this.absoluteTimeout=e,this.scheduler=n,this.errorInstance=r}return t.prototype.call=function(t,e){return e.subscribe(new l(t,this.absoluteTimeout,this.waitFor,this.scheduler,this.errorInstance))},t}(),l=function(t){function e(e,n,r,i,o){t.call(this,e),this.absoluteTimeout=n,this.waitFor=r,this.scheduler=i,this.errorInstance=o,this.action=null,this.scheduleTimeout()}return r(e,t),e.dispatchTimeout=function(t){t.error(t.errorInstance)},e.prototype.scheduleTimeout=function(){var t=this.action;t?this.action=t.schedule(this,this.waitFor):this.add(this.action=this.scheduler.schedule(e.dispatchTimeout,this.waitFor,this))},e.prototype._next=function(e){this.absoluteTimeout||this.scheduleTimeout(),t.prototype._next.call(this,e)},e.prototype._unsubscribe=function(){this.action=null,this.scheduler=null,this.errorInstance=null},e}(s.Subscriber)},function(t,e,n){"use strict";var r=n(0).__extends,i=function(t){function e(){var e=t.call(this,"Timeout has occurred");this.name=e.name="TimeoutError",this.stack=e.stack,this.message=e.message}return r(e,t),e}(Error);e.TimeoutError=i},function(t,e,n){"use strict";var r=n(0).__extends,i=n(34),o=n(188),s=n(24),a=n(23);e.timeoutWith=function(t,e,n){return void 0===n&&(n=i.async),function(r){var i=o.isDate(t),s=i?+t-n.now():Math.abs(t);return r.lift(new u(s,i,e,n))}};var u=function(){function t(t,e,n,r){this.waitFor=t,this.absoluteTimeout=e,this.withObservable=n,this.scheduler=r}return t.prototype.call=function(t,e){return e.subscribe(new l(t,this.absoluteTimeout,this.waitFor,this.withObservable,this.scheduler))},t}(),l=function(t){function e(e,n,r,i,o){t.call(this,e),this.absoluteTimeout=n,this.waitFor=r,this.withObservable=i,this.scheduler=o,this.action=null,this.scheduleTimeout()}return r(e,t),e.dispatchTimeout=function(t){var e=t.withObservable;t._unsubscribeAndRecycle(),t.add(a.subscribeToResult(t,e))},e.prototype.scheduleTimeout=function(){var t=this.action;t?this.action=t.schedule(this,this.waitFor):this.add(this.action=this.scheduler.schedule(e.dispatchTimeout,this.waitFor,this))},e.prototype._next=function(e){this.absoluteTimeout||this.scheduleTimeout(),t.prototype._next.call(this,e)},e.prototype._unsubscribe=function(){this.action=null,this.scheduler=null,this.withObservable=null},e}(s.OuterSubscriber)},function(t,e,n){"use strict";function r(t,e,n){return 0===n?[e]:(t.push(e),t)}var i=n(151);e.toArray=function(){return i.reduce(r,[])}},function(t,e,n){"use strict";var r=n(0).__extends,i=n(19),o=n(24),s=n(23);e.window=function(t){return function(e){return e.lift(new a(t))}};var a=function(){function t(t){this.windowBoundaries=t}return t.prototype.call=function(t,e){var n=new u(t),r=e.subscribe(n);return r.closed||n.add(s.subscribeToResult(n,this.windowBoundaries)),r},t}(),u=function(t){function e(e){t.call(this,e),this.window=new i.Subject,e.next(this.window)}return r(e,t),e.prototype.notifyNext=function(t,e,n,r,i){this.openWindow()},e.prototype.notifyError=function(t,e){this._error(t)},e.prototype.notifyComplete=function(t){this._complete()},e.prototype._next=function(t){this.window.next(t)},e.prototype._error=function(t){this.window.error(t),this.destination.error(t)},e.prototype._complete=function(){this.window.complete(),this.destination.complete()},e.prototype._unsubscribe=function(){this.window=null},e.prototype.openWindow=function(){var t=this.window;t&&t.complete();var e=this.destination,n=this.window=new i.Subject;e.next(n)},e}(o.OuterSubscriber)},function(t,e,n){"use strict";var r=n(0).__extends,i=n(15),o=n(19);e.windowCount=function(t,e){return void 0===e&&(e=0),function(n){return n.lift(new s(t,e))}};var s=function(){function t(t,e){this.windowSize=t,this.startWindowEvery=e}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.windowSize,this.startWindowEvery))},t}(),a=function(t){function e(e,n,r){t.call(this,e),this.destination=e,this.windowSize=n,this.startWindowEvery=r,this.windows=[new o.Subject],this.count=0,e.next(this.windows[0])}return r(e,t),e.prototype._next=function(t){for(var e=this.startWindowEvery>0?this.startWindowEvery:this.windowSize,n=this.destination,r=this.windowSize,i=this.windows,s=i.length,a=0;a<s&&!this.closed;a++)i[a].next(t);var u=this.count-r+1;if(u>=0&&u%e==0&&!this.closed&&i.shift().complete(),++this.count%e==0&&!this.closed){var l=new o.Subject;i.push(l),n.next(l)}},e.prototype._error=function(t){var e=this.windows;if(e)for(;e.length>0&&!this.closed;)e.shift().error(t);this.destination.error(t)},e.prototype._complete=function(){var t=this.windows;if(t)for(;t.length>0&&!this.closed;)t.shift().complete();this.destination.complete()},e.prototype._unsubscribe=function(){this.count=0,this.windows=null},e}(i.Subscriber)},function(t,e,n){"use strict";function r(t){var e=t.subscriber,n=t.windowTimeSpan,r=t.window;r&&e.closeWindow(r),t.window=e.openWindow(),this.schedule(t,n)}function i(t){var e=t.windowTimeSpan,n=t.subscriber,r=t.scheduler,i=t.windowCreationInterval,s=n.openWindow(),a={action:this,subscription:null};a.subscription=r.schedule(o,e,{subscriber:n,window:s,context:a}),this.add(a.subscription),this.schedule(t,i)}function o(t){var e=t.subscriber,n=t.window,r=t.context;r&&r.action&&r.subscription&&r.action.remove(r.subscription),e.closeWindow(n)}var s=n(0).__extends,a=n(19),u=n(34),l=n(15),c=n(146),d=n(72);e.windowTime=function(t){var e=u.async,n=null,r=Number.POSITIVE_INFINITY;return d.isScheduler(arguments[3])&&(e=arguments[3]),d.isScheduler(arguments[2])?e=arguments[2]:c.isNumeric(arguments[2])&&(r=arguments[2]),d.isScheduler(arguments[1])?e=arguments[1]:c.isNumeric(arguments[1])&&(n=arguments[1]),function(i){return i.lift(new h(t,n,r,e))}};var h=function(){function t(t,e,n,r){this.windowTimeSpan=t,this.windowCreationInterval=e,this.maxWindowSize=n,this.scheduler=r}return t.prototype.call=function(t,e){return e.subscribe(new p(t,this.windowTimeSpan,this.windowCreationInterval,this.maxWindowSize,this.scheduler))},t}(),f=function(t){function e(){t.apply(this,arguments),this._numberOfNextedValues=0}return s(e,t),e.prototype.next=function(e){this._numberOfNextedValues++,t.prototype.next.call(this,e)},Object.defineProperty(e.prototype,"numberOfNextedValues",{get:function(){return this._numberOfNextedValues},enumerable:!0,configurable:!0}),e}(a.Subject),p=function(t){function e(e,n,s,a,u){t.call(this,e),this.destination=e,this.windowTimeSpan=n,this.windowCreationInterval=s,this.maxWindowSize=a,this.scheduler=u,this.windows=[];var l=this.openWindow();if(null!==s&&s>=0){var c={windowTimeSpan:n,windowCreationInterval:s,subscriber:this,scheduler:u};this.add(u.schedule(o,n,{subscriber:this,window:l,context:null})),this.add(u.schedule(i,s,c))}else{this.add(u.schedule(r,n,{subscriber:this,window:l,windowTimeSpan:n}))}}return s(e,t),e.prototype._next=function(t){for(var e=this.windows,n=e.length,r=0;r<n;r++){var i=e[r];i.closed||(i.next(t),i.numberOfNextedValues>=this.maxWindowSize&&this.closeWindow(i))}},e.prototype._error=function(t){for(var e=this.windows;e.length>0;)e.shift().error(t);this.destination.error(t)},e.prototype._complete=function(){for(var t=this.windows;t.length>0;){var e=t.shift();e.closed||e.complete()}this.destination.complete()},e.prototype.openWindow=function(){var t=new f;this.windows.push(t);return this.destination.next(t),t},e.prototype.closeWindow=function(t){t.complete();var e=this.windows;e.splice(e.indexOf(t),1)},e}(l.Subscriber)},function(t,e,n){"use strict";var r=n(0).__extends,i=n(19),o=n(38),s=n(48),a=n(44),u=n(24),l=n(23);e.windowToggle=function(t,e){return function(n){return n.lift(new c(t,e))}};var c=function(){function t(t,e){this.openings=t,this.closingSelector=e}return t.prototype.call=function(t,e){return e.subscribe(new d(t,this.openings,this.closingSelector))},t}(),d=function(t){function e(e,n,r){t.call(this,e),this.openings=n,this.closingSelector=r,this.contexts=[],this.add(this.openSubscription=l.subscribeToResult(this,n,n))}return r(e,t),e.prototype._next=function(t){var e=this.contexts;if(e)for(var n=e.length,r=0;r<n;r++)e[r].window.next(t)},e.prototype._error=function(e){var n=this.contexts;if(this.contexts=null,n)for(var r=n.length,i=-1;++i<r;){var o=n[i];o.window.error(e),o.subscription.unsubscribe()}t.prototype._error.call(this,e)},e.prototype._complete=function(){var e=this.contexts;if(this.contexts=null,e)for(var n=e.length,r=-1;++r<n;){var i=e[r];i.window.complete(),i.subscription.unsubscribe()}t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){var t=this.contexts;if(this.contexts=null,t)for(var e=t.length,n=-1;++n<e;){var r=t[n];r.window.unsubscribe(),r.subscription.unsubscribe()}},e.prototype.notifyNext=function(t,e,n,r,u){if(t===this.openings){var c=s.tryCatch(this.closingSelector)(e);if(c===a.errorObject)return this.error(a.errorObject.e);var d=new i.Subject,h=new o.Subscription,f={window:d,subscription:h};this.contexts.push(f);var p=l.subscribeToResult(this,c,f);p.closed?this.closeWindow(this.contexts.length-1):(p.context=f,h.add(p)),this.destination.next(d)}else this.closeWindow(this.contexts.indexOf(t))},e.prototype.notifyError=function(t){this.error(t)},e.prototype.notifyComplete=function(t){t!==this.openSubscription&&this.closeWindow(this.contexts.indexOf(t.context))},e.prototype.closeWindow=function(t){if(-1!==t){var e=this.contexts,n=e[t],r=n.window,i=n.subscription;e.splice(t,1),r.complete(),i.unsubscribe()}},e}(u.OuterSubscriber)},function(t,e,n){"use strict";var r=n(0).__extends,i=n(19),o=n(48),s=n(44),a=n(24),u=n(23);e.windowWhen=function(t){return function(e){return e.lift(new l(t))}};var l=function(){function t(t){this.closingSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new c(t,this.closingSelector))},t}(),c=function(t){function e(e,n){t.call(this,e),this.destination=e,this.closingSelector=n,this.openWindow()}return r(e,t),e.prototype.notifyNext=function(t,e,n,r,i){this.openWindow(i)},e.prototype.notifyError=function(t,e){this._error(t)},e.prototype.notifyComplete=function(t){this.openWindow(t)},e.prototype._next=function(t){this.window.next(t)},e.prototype._error=function(t){this.window.error(t),this.destination.error(t),this.unsubscribeClosingNotification()},e.prototype._complete=function(){this.window.complete(),this.destination.complete(),this.unsubscribeClosingNotification()},e.prototype.unsubscribeClosingNotification=function(){this.closingNotification&&this.closingNotification.unsubscribe()},e.prototype.openWindow=function(t){void 0===t&&(t=null),t&&(this.remove(t),t.unsubscribe());var e=this.window;e&&e.complete();var n=this.window=new i.Subject;this.destination.next(n);var r=o.tryCatch(this.closingSelector)();if(r===s.errorObject){var a=s.errorObject.e;this.destination.error(a),this.window.error(a)}else this.add(this.closingNotification=u.subscribeToResult(this,r))},e}(a.OuterSubscriber)},function(t,e,n){"use strict";var r=n(0).__extends,i=n(24),o=n(23);e.withLatestFrom=function(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];return function(e){var n;return"function"==typeof t[t.length-1]&&(n=t.pop()),e.lift(new s(t,n))}};var s=function(){function t(t,e){this.observables=t,this.project=e}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.observables,this.project))},t}(),a=function(t){function e(e,n,r){t.call(this,e),this.observables=n,this.project=r,this.toRespond=[];var i=n.length;this.values=new Array(i);for(var s=0;s<i;s++)this.toRespond.push(s);for(s=0;s<i;s++){var a=n[s];this.add(o.subscribeToResult(this,a,a,s))}}return r(e,t),e.prototype.notifyNext=function(t,e,n,r,i){this.values[n]=e;var o=this.toRespond;if(o.length>0){var s=o.indexOf(n);-1!==s&&o.splice(s,1)}},e.prototype.notifyComplete=function(){},e.prototype._next=function(t){if(0===this.toRespond.length){var e=[t].concat(this.values);this.project?this._tryProject(e):this.destination.next(e)}},e.prototype._tryProject=function(t){var e;try{e=this.project.apply(this,t)}catch(t){return void this.destination.error(t)}this.destination.next(e)},e}(i.OuterSubscriber)},function(t,e,n){"use strict";var r=n(194);e.zipAll=function(t){return function(e){return e.lift(new r.ZipOperator(t))}}},function(t,e,n){"use strict";var r=n(264);e.concatMap=function(t,e){return r.concatMap(t,e)(this)}},function(t,e,n){"use strict";var r=n(267);e.filter=function(t,e){return r.filter(t,e)(this)}},function(t,e,n){"use strict";var r=n(968);e.forkJoin=r.ForkJoinObservable.create},function(t,e,n){"use strict";var r=n(972);e.fromEventPattern=r.FromEventPatternObservable.create},function(t,e,n){"use strict";var r=n(2),i=n(494);r.Observable.fromPromise=i.fromPromise},function(t,e,n){"use strict";var r=n(417);e.fromPromise=r.PromiseObservable.create},function(t,e,n){"use strict";var r=n(980);e.interval=r.IntervalObservable.create},function(t,e,n){"use strict";var r=n(998);e._throw=r.ErrorObservable.create},function(t,e,n){"use strict";var r=n(2),i=n(407);r.Observable.timer=i.timer},function(t,e,n){"use strict";var r=n(2),i=n(999);r.Observable.zip=i.zip},function(t,e,n){"use strict";function r(t,e){return void 0===e&&(e=null),new v({method:"GET",url:t,headers:e})}function i(t,e,n){return new v({method:"POST",url:t,body:e,headers:n})}function o(t,e){return new v({method:"DELETE",url:t,headers:e})}function s(t,e,n){return new v({method:"PUT",url:t,body:e,headers:n})}function a(t,e,n){return new v({method:"PATCH",url:t,body:e,headers:n})}function u(t,e){return g(new v({method:"GET",url:t,responseType:"json",headers:e}))}function l(t,e){switch(t){case"json":return"response"in e?e.responseType?e.response:JSON.parse(e.response||e.responseText||"null"):JSON.parse(e.responseText||"null");case"xml":return e.responseXML;case"text":default:return"response"in e?e.response:e.responseText}}var c=n(0).__extends,d=n(56),h=n(48),f=n(44),p=n(2),m=n(15),_=n(150);e.ajaxGet=r,e.ajaxPost=i,e.ajaxDelete=o,e.ajaxPut=s,e.ajaxPatch=a;var g=_.map(function(t,e){return t.response});e.ajaxGetJSON=u;var v=function(t){function e(e){t.call(this);var n={async:!0,createXHR:function(){return this.crossDomain?function(){if(d.root.XMLHttpRequest)return new d.root.XMLHttpRequest;if(d.root.XDomainRequest)return new d.root.XDomainRequest;throw new Error("CORS is not supported by your browser")}.call(this):function(){if(d.root.XMLHttpRequest)return new d.root.XMLHttpRequest;var t=void 0;try{for(var e=["Msxml2.XMLHTTP","Microsoft.XMLHTTP","Msxml2.XMLHTTP.4.0"],n=0;n<3;n++)try{if(t=e[n],new d.root.ActiveXObject(t))break}catch(t){}return new d.root.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 e)n.url=e;else for(var r in e)e.hasOwnProperty(r)&&(n[r]=e[r]);this.request=n}return c(e,t),e.prototype._subscribe=function(t){return new y(t,this.request)},e.create=function(){var t=function(t){return new e(t)};return t.get=r,t.post=i,t.delete=o,t.put=s,t.patch=a,t.getJSON=u,t}(),e}(p.Observable);e.AjaxObservable=v;var y=function(t){function e(e,n){t.call(this,e),this.request=n,this.done=!1;var r=n.headers=n.headers||{};n.crossDomain||r["X-Requested-With"]||(r["X-Requested-With"]="XMLHttpRequest"),"Content-Type"in r||d.root.FormData&&n.body instanceof d.root.FormData||void 0===n.body||(r["Content-Type"]="application/x-www-form-urlencoded; charset=UTF-8"),n.body=this.serializeBody(n.body,n.headers["Content-Type"]),this.send()}return c(e,t),e.prototype.next=function(t){this.done=!0;var e=this.destination,n=new b(t,this.xhr,this.request);e.next(n)},e.prototype.send=function(){var t=this.request,e=this.request,n=e.user,r=e.method,i=e.url,o=e.async,s=e.password,a=e.headers,u=e.body,l=h.tryCatch(t.createXHR).call(t);if(l===f.errorObject)this.error(f.errorObject.e);else{this.xhr=l,this.setupEvents(l,t);if((n?h.tryCatch(l.open).call(l,r,i,o,n,s):h.tryCatch(l.open).call(l,r,i,o))===f.errorObject)return this.error(f.errorObject.e),null;if(o&&(l.timeout=t.timeout,l.responseType=t.responseType),"withCredentials"in l&&(l.withCredentials=!!t.withCredentials),this.setHeaders(l,a),(u?h.tryCatch(l.send).call(l,u):h.tryCatch(l.send).call(l))===f.errorObject)return this.error(f.errorObject.e),null}return l},e.prototype.serializeBody=function(t,e){if(!t||"string"==typeof t)return t;if(d.root.FormData&&t instanceof d.root.FormData)return t;if(e){var n=e.indexOf(";");-1!==n&&(e=e.substring(0,n))}switch(e){case"application/x-www-form-urlencoded":return Object.keys(t).map(function(e){return encodeURI(e)+"="+encodeURI(t[e])}).join("&");case"application/json":return JSON.stringify(t);default:return t}},e.prototype.setHeaders=function(t,e){for(var n in e)e.hasOwnProperty(n)&&t.setRequestHeader(n,e[n])},e.prototype.setupEvents=function(t,e){function n(t){var e=n.subscriber,r=n.progressSubscriber,i=n.request;r&&r.error(t),e.error(new S(this,i))}function r(t){var e=r.subscriber,n=r.progressSubscriber,i=r.request;if(4===this.readyState){var o=1223===this.status?204:this.status;0===o&&(o=("text"===this.responseType?this.response||this.responseText:this.response)?200:0),200<=o&&o<300?(n&&n.complete(),e.next(t),e.complete()):(n&&n.error(t),e.error(new w("ajax error "+o,this,i)))}}var i=e.progressSubscriber;if(t.ontimeout=n,n.request=e,n.subscriber=this,n.progressSubscriber=i,t.upload&&"withCredentials"in t){if(i){var o;o=function(t){o.progressSubscriber.next(t)},d.root.XDomainRequest?t.onprogress=o:t.upload.onprogress=o,o.progressSubscriber=i}var s;t.onerror=s=function(t){var e=s.progressSubscriber,n=s.subscriber,r=s.request;e&&e.error(t),n.error(new w("ajax error",this,r))},s.request=e,s.subscriber=this,s.progressSubscriber=i}t.onreadystatechange=r,r.subscriber=this,r.progressSubscriber=i,r.request=e},e.prototype.unsubscribe=function(){var e=this.xhr;!this.done&&e&&4!==e.readyState&&"function"==typeof e.abort&&e.abort(),t.prototype.unsubscribe.call(this)},e}(m.Subscriber);e.AjaxSubscriber=y;var b=function(){return function(t,e,n){this.originalEvent=t,this.xhr=e,this.request=n,this.status=e.status,this.responseType=e.responseType||n.responseType,this.response=l(this.responseType,e)}}();e.AjaxResponse=b;var w=function(t){function e(e,n,r){t.call(this,e),this.message=e,this.xhr=n,this.request=r,this.status=n.status,this.responseType=n.responseType||r.responseType,this.response=l(this.responseType,n)}return c(e,t),e}(Error);e.AjaxError=w;var S=function(t){function e(e,n){t.call(this,"ajax timeout",e,n)}return c(e,t),e}(w);e.AjaxTimeoutError=S},function(t,e,n){"use strict";var r=n(2),i=n(490);r.Observable.prototype.filter=i.filter},function(t,e,n){"use strict";var r=n(1160),i=n(1163);e.asap=new i.AsapScheduler(r.AsapAction)},function(t,e,n){"use strict";var r=n(2),i=n(1170);r.Observable.prototype.take=i.take},function(t,e,n){"use strict";var r=n(2),i=n(1174);r.Observable.prototype.takeWhile=i.takeWhile},function(t,e,n){"use strict";var r=n(2),i=n(1177);r.Observable.prototype.throttleTime=i.throttleTime},function(t,e,n){"use strict";var r=n(34),i=n(477);e.TimeInterval=i.TimeInterval,e.timeInterval=function(t){return void 0===t&&(t=r.async),i.timeInterval(t)(this)}},function(t,e,n){"use strict";var r=n(2),i=n(1179);r.Observable.prototype.timeout=i.timeout},function(t,e,n){"use strict";var r=n(508);e.SubscriptionLoggable=function(){function t(){this.subscriptions=[]}return t.prototype.logSubscribedFrame=function(){return this.subscriptions.push(new r.SubscriptionLog(this.scheduler.now())),this.subscriptions.length-1},t.prototype.logUnsubscribedFrame=function(t){var e=this.subscriptions;e[t]=new r.SubscriptionLog(e[t].subscribedFrame,this.scheduler.now())},t}()},function(t,e,n){"use strict";e.SubscriptionLog=function(){return function(t,e){void 0===e&&(e=Number.POSITIVE_INFINITY),this.subscribedFrame=t,this.unsubscribedFrame=e}}()},function(t,e,n){"use strict";e.applyMixins=function(t,e){for(var n=0,r=e.length;n<r;n++)for(var i=e[n],o=Object.getOwnPropertyNames(i.prototype),s=0,a=o.length;s<a;s++){var u=o[s];t.prototype[u]=i.prototype[u]}}},function(t,e,n){"use strict";var r=n(0).__extends,i=n(144),o=n(145);e.VirtualTimeScheduler=function(t){function e(e,n){var r=this;void 0===e&&(e=s),void 0===n&&(n=Number.POSITIVE_INFINITY),t.call(this,e,function(){return r.frame}),this.maxFrames=n,this.frame=0,this.index=-1}return r(e,t),e.prototype.flush=function(){for(var t,e,n=this.actions,r=this.maxFrames;(e=n.shift())&&(this.frame=e.delay)<=r&&!(t=e.execute(e.state,e.delay)););if(t){for(;e=n.shift();)e.unsubscribe();throw t}},e.frameTimeFactor=10,e}(o.AsyncScheduler);var s=function(t){function e(e,n,r){void 0===r&&(r=e.index+=1),t.call(this,e,n),this.scheduler=e,this.work=n,this.index=r,this.active=!0,this.index=e.index=r}return r(e,t),e.prototype.schedule=function(n,r){if(void 0===r&&(r=0),!this.id)return t.prototype.schedule.call(this,n,r);this.active=!1;var i=new e(this.scheduler,this.work);return this.add(i),i.schedule(n,r)},e.prototype.requestAsyncId=function(t,n,r){void 0===r&&(r=0),this.delay=t.frame+r;var i=t.actions;return i.push(this),i.sort(e.sortActions),!0},e.prototype.recycleAsyncId=function(t,e,n){void 0===n&&(n=0)},e.prototype._execute=function(e,n){if(!0===this.active)return t.prototype._execute.call(this,e,n)},e.sortActions=function(t,e){return t.delay===e.delay?t.index===e.index?0:t.index>e.index?1:-1:t.delay>e.delay?1:-1},e}(i.AsyncAction);e.VirtualAction=s},function(t,e,n){!function(t,e){e(n(4))}(0,function(t){"use strict";return t.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(t){return/^nm$/i.test(t)},meridiem:function(t,e,n){return t<12?n?"vm":"VM":n?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[Môre om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",ss:"%d sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(t){return t+(1===t||8===t||t>=20?"ste":"de")},week:{dow:1,doy:4}})})},function(t,e,n){!function(t,e){e(n(4))}(0,function(t){"use strict";var e={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},r=function(t){return 0===t?0:1===t?1:2===t?2:t%100>=3&&t%100<=10?3:t%100>=11?4:5},i={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},o=function(t){return function(e,n,o,s){var a=r(e),u=i[t][r(e)];return 2===a&&(u=u[n?0:1]),u.replace(/%d/i,e)}},s=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];return t.defineLocale("ar",{months:s,monthsShort:s,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(t){return"م"===t},meridiem:function(t,e,n){return t<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:o("s"),ss:o("s"),m:o("m"),mm:o("m"),h:o("h"),hh:o("h"),d:o("d"),dd:o("d"),M:o("M"),MM:o("M"),y:o("y"),yy:o("y")},preparse:function(t){return t.replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(t){return n[t]}).replace(/،/g,",")},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]}).replace(/,/g,"،")},week:{dow:6,doy:12}})})},function(t,e,n){!function(t,e){e(n(4))}(0,function(t){"use strict";return t.defineLocale("ar-dz",{months:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"أح_إث_ثلا_أر_خم_جم_سب".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:0,doy:4}})})},function(t,e,n){!function(t,e){e(n(4))}(0,function(t){"use strict";return t.defineLocale("ar-kw",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:0,doy:12}})})},function(t,e,n){!function(t,e){e(n(4))}(0,function(t){"use strict";var e={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},n=function(t){return 0===t?0:1===t?1:2===t?2:t%100>=3&&t%100<=10?3:t%100>=11?4:5},r={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},i=function(t){return function(e,i,o,s){var a=n(e),u=r[t][n(e)];return 2===a&&(u=u[i?0:1]),u.replace(/%d/i,e)}},o=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];return t.defineLocale("ar-ly",{months:o,monthsShort:o,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(t){return"م"===t},meridiem:function(t,e,n){return t<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:i("s"),ss:i("s"),m:i("m"),mm:i("m"),h:i("h"),hh:i("h"),d:i("d"),dd:i("d"),M:i("M"),MM:i("M"),y:i("y"),yy:i("y")},preparse:function(t){return t.replace(/،/g,",")},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]}).replace(/,/g,"،")},week:{dow:6,doy:12}})})},function(t,e,n){!function(t,e){e(n(4))}(0,function(t){"use strict";return t.defineLocale("ar-ma",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:6,doy:12}})})},function(t,e,n){!function(t,e){e(n(4))}(0,function(t){"use strict";var e={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"};return t.defineLocale("ar-sa",{months:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(t){return"م"===t},meridiem:function(t,e,n){return t<12?"ص":"م"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},preparse:function(t){return t.replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(t){return n[t]}).replace(/،/g,",")},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]}).replace(/,/g,"،")},week:{dow:0,doy:6}})})},function(t,e,n){!function(t,e){e(n(4))}(0,function(t){"use strict";return t.defineLocale("ar-tn",{months:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:1,doy:4}})})},function(t,e,n){!function(t,e){e(n(4))}(0,function(t){"use strict";var e={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-üncü",4:"-üncü",100:"-üncü",6:"-ncı",9:"-uncu",10:"-uncu",30:"-uncu",60:"-ıncı",90:"-ıncı"};return t.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ertəsi_Çərşənbə axşamı_Çərşənbə_Cümə axşamı_Cümə_Şənbə".split("_"),weekdaysShort:"Baz_BzE_ÇAx_Çər_CAx_Cüm_Şən".split("_"),weekdaysMin:"Bz_BE_ÇA_Çə_CA_Cü_Şə".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[gələn həftə] dddd [saat] LT",lastDay:"[dünən] LT",lastWeek:"[keçən həftə] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s əvvəl",s:"birneçə saniyyə",ss:"%d saniyə",m:"bir dəqiqə",mm:"%d dəqiqə",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gecə|səhər|gündüz|axşam/,isPM:function(t){return/^(gündüz|axşam)$/.test(t)},meridiem:function(t,e,n){return t<4?"gecə":t<12?"səhər":t<17?"gündüz":"axşam"},dayOfMonthOrdinalParse:/\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/,ordinal:function(t){if(0===t)return t+"-ıncı";var n=t%10;return t+(e[n]||e[t%100-n]||e[t>=100?100:null])},week:{dow:1,doy:7}})})},function(t,e,n){!function(t,e){e(n(4))}(0,function(t){"use strict";function e(t,e,n){return"m"===n?e?"хвіліна":"хвіліну":"h"===n?e?"гадзіна":"гадзіну":t+" "+function(t,e){var n=t.split("_");return e%10==1&&e%100!=11?n[0]:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?n[1]:n[2]}({ss:e?"секунда_секунды_секунд":"секунду_секунды_секунд",mm:e?"хвіліна_хвіліны_хвілін":"хвіліну_хвіліны_хвілін",hh:e?"гадзіна_гадзіны_гадзін":"гадзіну_гадзіны_гадзін",dd:"дзень_дні_дзён",MM:"месяц_месяцы_месяцаў",yy:"год_гады_гадоў"}[n],+t)}return t.defineLocale("be",{months:{format:"студзеня_лютага_сакавіка_красавіка_траўня_чэрвеня_ліпеня_жніўня_верасня_кастрычніка_лістапада_снежня".split("_"),standalone:"студзень_люты_сакавік_красавік_травень_чэрвень_ліпень_жнівень_верасень_кастрычнік_лістапад_снежань".split("_")},monthsShort:"студ_лют_сак_крас_трав_чэрв_ліп_жнів_вер_каст_ліст_снеж".split("_"),weekdays:{format:"нядзелю_панядзелак_аўторак_сераду_чацвер_пятніцу_суботу".split("_"),standalone:"нядзеля_панядзелак_аўторак_серада_чацвер_пятніца_субота".split("_"),isFormat:/\[ ?[Вв] ?(?:мінулую|наступную)? ?\] ?dddd/},weekdaysShort:"нд_пн_ат_ср_чц_пт_сб".split("_"),weekdaysMin:"нд_пн_ат_ср_чц_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., HH:mm",LLLL:"dddd, D MMMM YYYY г., HH:mm"},calendar:{sameDay:"[Сёння ў] LT",nextDay:"[Заўтра ў] LT",lastDay:"[Учора ў] LT",nextWeek:function(){return"[У] dddd [ў] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[У мінулую] dddd [ў] LT";case 1:case 2:case 4:return"[У мінулы] dddd [ў] LT"}},sameElse:"L"},relativeTime:{future:"праз %s",past:"%s таму",s:"некалькі секунд",m:e,mm:e,h:e,hh:e,d:"дзень",dd:e,M:"месяц",MM:e,y:"год",yy:e},meridiemParse:/ночы|раніцы|дня|вечара/,isPM:function(t){return/^(дня|вечара)$/.test(t)},meridiem:function(t,e,n){return t<4?"ночы":t<12?"раніцы":t<17?"дня":"вечара"},dayOfMonthOrdinalParse:/\d{1,2}-(і|ы|га)/,ordinal:function(t,e){switch(e){case"M":case"d":case"DDD":case"w":case"W":return t%10!=2&&t%10!=3||t%100==12||t%100==13?t+"-ы":t+"-і";case"D":return t+"-га";default:return t}},week:{dow:1,doy:7}})})},function(t,e,n){!function(t,e){e(n(4))}(0,function(t){"use strict";return t.defineLocale("bg",{months:"януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември".split("_"),monthsShort:"янр_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек".split("_"),weekdays:"неделя_понеделник_вторник_сряда_четвъртък_петък_събота".split("_"),weekdaysShort:"нед_пон_вто_сря_чет_пет_съб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Днес в] LT",nextDay:"[Утре в] LT",nextWeek:"dddd [в] LT",lastDay:"[Вчера в] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[В изминалата] dddd [в] LT";case 1:case 2:case 4:case 5:return"[В изминалия] dddd [в] LT"}},sameElse:"L"},relativeTime:{future:"след %s",past:"преди %s",s:"няколко секунди",ss:"%d секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дни",M:"месец",MM:"%d месеца",y:"година",yy:"%d години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(t){var e=t%10,n=t%100;return 0===t?t+"-ев":0===n?t+"-ен":n>10&&n<20?t+"-ти":1===e?t+"-ви":2===e?t+"-ри":7===e||8===e?t+"-ми":t+"-ти"},week:{dow:1,doy:7}})})},function(t,e,n){!function(t,e){e(n(4))}(0,function(t){"use strict";return t.defineLocale("bm",{months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_Mɛkalo_Zuwɛnkalo_Zuluyekalo_Utikalo_Sɛtanburukalo_ɔkutɔburukalo_Nowanburukalo_Desanburukalo".split("_"),monthsShort:"Zan_Few_Mar_Awi_Mɛ_Zuw_Zul_Uti_Sɛt_ɔku_Now_Des".split("_"),weekdays:"Kari_Ntɛnɛn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),weekdaysShort:"Kar_Ntɛ_Tar_Ara_Ala_Jum_Sib".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm"},calendar:{sameDay:"[Bi lɛrɛ] LT",nextDay:"[Sini lɛrɛ] LT",nextWeek:"dddd [don lɛrɛ] LT",lastDay:"[Kunu lɛrɛ] LT",lastWeek:"dddd [tɛmɛnen lɛrɛ] LT",sameElse:"L"},relativeTime:{future:"%s kɔnɔ",past:"a bɛ %s bɔ",s:"sanga dama dama",ss:"sekondi %d",m:"miniti kelen",mm:"miniti %d",h:"lɛrɛ kelen",hh:"lɛrɛ %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"},week:{dow:1,doy:4}})})},function(t,e,n){!function(t,e){e(n(4))}(0,function(t){"use strict";var e={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},n={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"};return t.defineLocale("bn",{months:"জানুয়ারী_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর".split("_"),monthsShort:"জানু_ফেব_মার্চ_এপ্র_মে_জুন_জুল_আগ_সেপ্ট_অক্টো_নভে_ডিসে".split("_"),weekdays:"রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার".split("_"),weekdaysShort:"রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি".split("_"),weekdaysMin:"রবি_সোম_মঙ্গ_বুধ_বৃহঃ_শুক্র_শনি".split("_"),longDateFormat:{LT:"A h:mm সময়",LTS:"A h:mm:ss সময়",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm সময়",LLLL:"dddd, D MMMM YYYY, A h:mm সময়"},calendar:{sameDay:"[আজ] LT",nextDay:"[আগামীকাল] LT",nextWeek:"dddd, LT",lastDay:"[গতকাল] LT",lastWeek:"[গত] dddd, LT",sameElse:"L"},relativeTime:{future:"%s পরে",past:"%s আগে",s:"কয়েক সেকেন্ড",ss:"%d সেকেন্ড",m:"এক মিনিট",mm:"%d মিনিট",h:"এক ঘন্টা",hh:"%d ঘন্টা",d:"এক দিন",dd:"%d দিন",M:"এক মাস",MM:"%d মাস",y:"এক বছর",yy:"%d বছর"},preparse:function(t){return t.replace(/[১২৩৪৫৬৭৮৯০]/g,function(t){return n[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},meridiemParse:/রাত|সকাল|দুপুর|বিকাল|রাত/,meridiemHour:function(t,e){return 12===t&&(t=0),"রাত"===e&&t>=4||"দুপুর"===e&&t<5||"বিকাল"===e?t+12:t},meridiem:function(t,e,n){return t<4?"রাত":t<10?"সকাল":t<17?"দুপুর":t<20?"বিকাল":"রাত"},week:{dow:0,doy:6}})})},function(t,e,n){!function(t,e){e(n(4))}(0,function(t){"use strict";var e={1:"༡",2:"༢",3:"༣",4:"༤",5:"༥",6:"༦",7:"༧",8:"༨",9:"༩",0:"༠"},n={"༡":"1","༢":"2","༣":"3","༤":"4","༥":"5","༦":"6","༧":"7","༨":"8","༩":"9","༠":"0"};return t.defineLocale("bo",{months:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),monthsShort:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),weekdays:"གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་དམར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་".split("_"),weekdaysShort:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),weekdaysMin:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[དི་རིང] LT",nextDay:"[སང་ཉིན] LT",nextWeek:"[བདུན་ཕྲག་རྗེས་མ], LT",lastDay:"[ཁ་སང] LT",lastWeek:"[བདུན་ཕྲག་མཐའ་མ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ལ་",past:"%s སྔན་ལ",s:"ལམ་སང",ss:"%d སྐར་ཆ།",m:"སྐར་མ་གཅིག",mm:"%d སྐར་མ",h:"ཆུ་ཚོད་གཅིག",hh:"%d ཆུ་ཚོད",d:"ཉིན་གཅིག",dd:"%d ཉིན་",M:"ཟླ་བ་གཅིག",MM:"%d ཟླ་བ",y:"ལོ་གཅིག",yy:"%d ལོ"},preparse:function(t){return t.replace(/[༡༢༣༤༥༦༧༨༩༠]/g,function(t){return n[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},meridiemParse:/མཚན་མོ|ཞོགས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/,meridiemHour:function(t,e){return 12===t&&(t=0),"མཚན་མོ"===e&&t>=4||"ཉིན་གུང"===e&&t<5||"དགོང་དག"===e?t+12:t},meridiem:function(t,e,n){return t<4?"མཚན་མོ":t<10?"ཞོགས་ཀས":t<17?"ཉིན་གུང":t<20?"དགོང་དག":"མཚན་མོ"},week:{dow:0,doy:6}})})},function(t,e,n){!function(t,e){e(n(4))}(0,function(t){"use strict";function e(t,e,n){return t+" "+function(t,e){if(2===e)return function(t){var e={m:"v",b:"v",d:"z"};if(void 0===e[t.charAt(0)])return t;return e[t.charAt(0)]+t.substring(1)}(t);return t}({mm:"munutenn",MM:"miz",dd:"devezh"}[n],t)}function n(t){return t>9?n(t%10):t}return t.defineLocale("br",{months:"Genver_C'hwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_C'hwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Merc'her_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h[e]mm A",LTS:"h[e]mm:ss A",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY h[e]mm A",LLLL:"dddd, D [a viz] MMMM YYYY h[e]mm A"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warc'hoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Dec'h da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s 'zo",s:"un nebeud segondennoù",ss:"%d eilenn",m:"ur vunutenn",mm:e,h:"un eur",hh:"%d eur",d:"un devezh",dd:e,M:"ur miz",MM:e,y:"ur bloaz",yy:function(t){switch(n(t)){case 1:case 3:case 4:case 5:case 9:return t+" bloaz";default:return t+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(añ|vet)/,ordinal:function(t){return t+(1===t?"añ":"vet")},week:{dow:1,doy:4}})})},function(t,e,n){!function(t,e){e(n(4))}(0,function(t){"use strict";function e(t,e,n){var r=t+" ";switch(n){case"ss":return r+=1===t?"sekunda":2===t||3===t||4===t?"sekunde":"sekundi";case"m":return e?"jedna minuta":"jedne minute";case"mm":return r+=1===t?"minuta":2===t||3===t||4===t?"minute":"minuta";case"h":return e?"jedan sat":"jednog sata";case"hh":return r+=1===t?"sat":2===t||3===t||4===t?"sata":"sati";case"dd":return r+=1===t?"dan":"dana";case"MM":return r+=1===t?"mjesec":2===t||3===t||4===t?"mjeseca":"mjeseci";case"yy":return r+=1===t?"godina":2===t||3===t||4===t?"godine":"godina"}}return t.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[prošlu] dddd [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:e,m:e,mm:e,h:e,hh:e,d:"dan",dd:e,M:"mjesec",MM:e,y:"godinu",yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})})},function(t,e,n){!function(t,e){e(n(4))}(0,function(t){"use strict";return t.defineLocale("ca",{months:{standalone:"gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de març_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._març_abr._maig_juny_jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dt_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[demà a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"d'aquí %s",past:"fa %s",s:"uns segons",ss:"%d segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|è|a)/,ordinal:function(t,e){var n=1===t?"r":2===t?"n":3===t?"r":4===t?"t":"è";return"w"!==e&&"W"!==e||(n="a"),t+n},week:{dow:1,doy:4}})})},function(t,e,n){!function(t,e){e(n(4))}(0,function(t){"use strict";function e(t){return t>1&&t<5&&1!=~~(t/10)}function n(t,n,r,i){var o=t+" ";switch(r){case"s":return n||i?"pár sekund":"pár sekundami";case"ss":return n||i?o+(e(t)?"sekundy":"sekund"):o+"sekundami";case"m":return n?"minuta":i?"minutu":"minutou";case"mm":return n||i?o+(e(t)?"minuty":"minut"):o+"minutami";case"h":return n?"hodina":i?"hodinu":"hodinou";case"hh":return n||i?o+(e(t)?"hodiny":"hodin"):o+"hodinami";case"d":return n||i?"den":"dnem";case"dd":return n||i?o+(e(t)?"dny":"dní"):o+"dny";case"M":return n||i?"měsíc":"měsícem";case"MM":return n||i?o+(e(t)?"měsíce":"měsíců"):o+"měsíci";case"y":return n||i?"rok":"rokem";case"yy":return n||i?o+(e(t)?"roky":"let"):o+"lety"}}var r="leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec".split("_"),i="led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro".split("_");return t.defineLocale("cs",{months:r,monthsShort:i,monthsParse:function(t,e){var n,r=[];for(n=0;n<12;n++)r[n]=new RegExp("^"+t[n]+"$|^"+e[n]+"$","i");return r}(r,i),shortMonthsParse:function(t){var e,n=[];for(e=0;e<12;e++)n[e]=new RegExp("^"+t[e]+"$","i");return n}(i),longMonthsParse:function(t){var e,n=[];for(e=0;e<12;e++)n[e]=new RegExp("^"+t[e]+"$","i");return n}(r),weekdays:"neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota".split("_"),weekdaysShort:"ne_po_út_st_čt_pá_so".split("_"),weekdaysMin:"ne_po_út_st_čt_pá_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[zítra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v neděli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve středu v] LT";case 4:return"[ve čtvrtek v] LT";case 5:return"[v pátek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[včera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou neděli v] LT";case 1:case 2:return"[minulé] dddd [v] LT";case 3:return"[minulou středu v] LT";case 4:case 5:return"[minulý] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"před %s",s:n,ss:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})})},function(t,e,n){!function(t,e){e(n(4))}(0,function(t){"use strict";return t.defineLocale("cv",{months:"кӑрлач_нарӑс_пуш_ака_май_ҫӗртме_утӑ_ҫурла_авӑн_юпа_чӳк_раштав".split("_"),monthsShort:"кӑр_нар_пуш_ака_май_ҫӗр_утӑ_ҫур_авн_юпа_чӳк_раш".split("_"),weekdays:"вырсарникун_тунтикун_ытларикун_юнкун_кӗҫнерникун_эрнекун_шӑматкун".split("_"),weekdaysShort:"выр_тун_ытл_юн_кӗҫ_эрн_шӑм".split("_"),weekdaysMin:"вр_тн_ыт_юн_кҫ_эр_шм".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ]",LLL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm",LLLL:"dddd, YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm"},calendar:{sameDay:"[Паян] LT [сехетре]",nextDay:"[Ыран] LT [сехетре]",lastDay:"[Ӗнер] LT [сехетре]",nextWeek:"[Ҫитес] dddd LT [сехетре]",lastWeek:"[Иртнӗ] dddd LT [сехетре]",sameElse:"L"},relativeTime:{future:function(t){return t+(/сехет$/i.exec(t)?"рен":/ҫул$/i.exec(t)?"тан":"ран")},past:"%s каялла",s:"пӗр-ик ҫеккунт",ss:"%d ҫеккунт",m:"пӗр минут",mm:"%d минут",h:"пӗр сехет",hh:"%d сехет",d:"пӗр кун",dd:"%d кун",M:"пӗр уйӑх",MM:"%d уйӑх",y:"пӗр ҫул",yy:"%d ҫул"},dayOfMonthOrdinalParse:/\d{1,2}-мӗш/,ordinal:"%d-мӗш",week:{dow:1,doy:7}})})},function(t,e,n){!function(t,e){e(n(4))}(0,function(t){"use strict";return t.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn ôl",s:"ychydig eiliadau",ss:"%d eiliad",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},dayOfMonthOrdinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(t){var e="";return t>20?e=40===t||50===t||60===t||80===t||100===t?"fed":"ain":t>0&&(e=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][t]),t+e},week:{dow:1,doy:4}})})},function(t,e,n){!function(t,e){e(n(4))}(0,function(t){"use strict";return t.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"søn_man_tir_ons_tor_fre_lør".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"på dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"få sekunder",ss:"%d sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en måned",MM:"%d måneder",y:"et år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})})},function(t,e,n){!function(t,e){e(n(4))}(0,function(t){"use strict";function e(t,e,n,r){var i={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[t+" Tage",t+" Tagen"],M:["ein Monat","einem Monat"],MM:[t+" Monate",t+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[t+" Jahre",t+" Jahren"]};return e?i[n][0]:i[n][1]}return t.defineLocale("de",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:e,mm:"%d Minuten",h:e,hh:"%d Stunden",d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})})},function(t,e,n){!function(t,e){e(n(4))}(0,function(t){"use strict";function e(t,e,n,r){var i={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[t+" Tage",t+" Tagen"],M:["ein Monat","einem Monat"],MM:[t+" Monate",t+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[t+" Jahre",t+" Jahren"]};return e?i[n][0]:i[n][1]}return t.defineLocale("de-at",{months:"Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jän._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:e,mm:"%d Minuten",h:e,hh:"%d Stunden",d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})})},function(t,e,n){!function(t,e){e(n(4))}(0,function(t){"use strict";function e(t,e,n,r){var i={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[t+" Tage",t+" Tagen"],M:["ein Monat","einem Monat"],MM:[t+" Monate",t+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[t+" Jahre",t+" Jahren"]};return e?i[n][0]:i[n][1]}return t.defineLocale("de-ch",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:e,mm:"%d Minuten",h:e,hh:"%d Stunden",d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})})},function(t,e,n){!function(t,e){e(n(4))}(0,function(t){"use strict";var e=["ޖެނުއަރީ","ފެބްރުއަރީ","މާރިޗު","އޭޕްރީލު","މޭ","ޖޫން","ޖުލައި","އޯގަސްޓު","ސެޕްޓެމްބަރު","އޮކްޓޯބަރު","ނޮވެމްބަރު","ޑިސެމްބަރު"],n=["އާދިއްތަ","ހޯމަ","އަންގާރަ","ބުދަ","ބުރާސްފަތި","ހުކުރު","ހޮނިހިރު"];return t.defineLocale("dv",{months:e,monthsShort:e,weekdays:n,weekdaysShort:n,weekdaysMin:"އާދި_ހޯމަ_އަން_ބުދަ_ބުރާ_ހުކު_ހޮނި".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/މކ|މފ/,isPM:function(t){return"މފ"===t},meridiem:function(t,e,n){return t<12?"މކ":"މފ"},calendar:{sameDay:"[މިއަދު] LT",nextDay:"[މާދަމާ] LT",nextWeek:"dddd LT",lastDay:"[އިއްޔެ] LT",lastWeek:"[ފާއިތުވި] dddd LT",sameElse:"L"},relativeTime:{future:"ތެރޭގައި %s",past:"ކުރިން %s",s:"ސިކުންތުކޮޅެއް",ss:"d% ސިކުންތު",m:"މިނިޓެއް",mm:"މިނިޓު %d",h:"ގަޑިއިރެއް",hh:"ގަޑިއިރު %d",d:"ދުވަހެއް",dd:"ދުވަސް %d",M:"މަހެއް",MM:"މަސް %d",y:"އަހަރެއް",yy:"އަހަރު %d"},preparse:function(t){return t.replace(/،/g,",")},postformat:function(t){return t.replace(/,/g,"،")},week:{dow:7,doy:12}})})},function(t,e,n){!function(t,e){e(n(4))}(0,function(t){"use strict";return t.defineLocale("el",{monthsNominativeEl:"Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος".split("_"),monthsGenitiveEl:"Ιανουαρίου_Φεβρουαρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοεμβρίου_Δεκεμβρίου".split("_"),months:function(t,e){return t?"string"==typeof e&&/D/.test(e.substring(0,e.indexOf("MMMM")))?this._monthsGenitiveEl[t.month()]:this._monthsNominativeEl[t.month()]:this._monthsNominativeEl},monthsShort:"Ιαν_Φεβ_Μαρ_Απρ_Μαϊ_Ιουν_Ιουλ_Αυγ_Σεπ_Οκτ_Νοε_Δεκ".split("_"),weekdays:"Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο".split("_"),weekdaysShort:"Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ".split("_"),weekdaysMin:"Κυ_Δε_Τρ_Τε_Πε_Πα_Σα".split("_"),meridiem:function(t,e,n){return t>11?n?"μμ":"ΜΜ":n?"πμ":"ΠΜ"},isPM:function(t){return"μ"===(t+"").toLowerCase()[0]},meridiemParse:/[ΠΜ]\.?Μ?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[Σήμερα {}] LT",nextDay:"[Αύριο {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[Χθες {}] LT",lastWeek:function(){switch(this.day()){case 6:return"[το προηγούμενο] dddd [{}] LT";default:return"[την προηγούμενη] dddd [{}] LT"}},sameElse:"L"},calendar:function(t,e){var n=this._calendarEl[t],r=e&&e.hours();return function(t){return t instanceof Function||"[object Function]"===Object.prototype.toString.call(t)}(n)&&(n=n.apply(e)),n.replace("{}",r%12==1?"στη":"στις")},relativeTime:{future:"σε %s",past:"%s πριν",s:"λίγα δευτερόλεπτα",ss:"%d δευτερόλεπτα",m:"ένα λεπτό",mm:"%d λεπτά",h:"μία ώρα",hh:"%d ώρες",d:"μία μέρα",dd:"%d μέρες",M:"ένας μήνας",MM:"%d μήνες",y:"ένας χρόνος",yy:"%d χρόνια"},dayOfMonthOrdinalParse:/\d{1,2}η/,ordinal:"%dη",week:{dow:1,doy:4}})})},function(t,e,n){!function(t,e){e(n(4))}(0,function(t){"use strict";return t.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})})},function(t,e,n){!function(t,e){e(n(4))}(0,function(t){"use strict";return t.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")}})})},function(t,e,n){!function(t,e){e(n(4))}(0,function(t){"use strict";return t.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})})},function(t,e,n){!function(t,e){e(n(4))}(0,function(t){"use strict";return t.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})})},function(t,e,n){!function(t,e){e(n(4))}(0,function(t){"use strict";return t.defineLocale("en-il",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")}})})},function(t,e,n){!function(t,e){e(n(4))}(0,function(t){"use strict";return t.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})})},function(t,e,n){!function(t,e){e(n(4))}(0,function(t){"use strict";return t.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aŭg_sep_okt_nov_dec".split("_"),weekdays:"dimanĉo_lundo_mardo_merkredo_ĵaŭdo_vendredo_sabato".split("_"),weekdaysShort:"dim_lun_mard_merk_ĵaŭ_ven_sab".split("_"),weekdaysMin:"di_lu_ma_me_ĵa_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D[-a de] MMMM, YYYY",LLL:"D[-a de] MMMM, YYYY HH:mm",LLLL:"dddd, [la] D[-a de] MMMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(t){return"p"===t.charAt(0).toLowerCase()},meridiem:function(t,e,n){return t>11?n?"p.t.m.":"P.T.M.":n?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodiaŭ je] LT",nextDay:"[Morgaŭ je] LT",nextWeek:"dddd [je] LT",lastDay:"[Hieraŭ je] LT",lastWeek:"[pasinta] dddd [je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"antaŭ %s",s:"sekundoj",ss:"%d sekundoj",m:"minuto",mm:"%d minutoj",h:"horo",hh:"%d horoj",d:"tago",dd:"%d tagoj",M:"monato",MM:"%d monatoj",y:"jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}})})},function(t,e,n){!function(t,e){e(n(4))}(0,function(t){"use strict";var e="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),r=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],i=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;return t.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(t,r){return t?/-MMM-/.test(r)?n[t.month()]:e[t.month()]:e},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})})},function(t,e,n){!function(t,e){e(n(4))}(0,function(t){"use strict";var e="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),r=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],i=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;return t.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(t,r){return t?/-MMM-/.test(r)?n[t.month()]:e[t.month()]:e},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})})},function(t,e,n){!function(t,e){e(n(4))}(0,function(t){"use strict";var e="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_");return t.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(t,r){return t?/-MMM-/.test(r)?n[t.month()]:e[t.month()]:e},monthsParseExact:!0,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"MMMM [de] D [de] YYYY",LLL:"MMMM [de] D [de] YYYY h:mm A",LLLL:"dddd, MMMM [de] D [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:0,doy:6}})})},function(t,e,n){!function(t,e){e(n(4))}(0,function(t){"use strict";function e(t,e,n,r){var i={s:["mõne sekundi","mõni sekund","paar sekundit"],ss:[t+"sekundi",t+"sekundit"],m:["ühe minuti","üks minut"],mm:[t+" minuti",t+" minutit"],h:["ühe tunni","tund aega","üks tund"],hh:[t+" tunni",t+" tundi"],d:["ühe päeva","üks päev"],M:["kuu aja","kuu aega","üks kuu"],MM:[t+" kuu",t+" kuud"],y:["ühe aasta","aasta","üks aasta"],yy:[t+" aasta",t+" aastat"]};return e?i[n][2]?i[n][2]:i[n][1]:r?i[n][0]:i[n][1]}return t.defineLocale("et",{months:"jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[Täna,] LT",nextDay:"[Homme,] LT",nextWeek:"[Järgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s pärast",past:"%s tagasi",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:"%d päeva",M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})})},function(t,e,n){!function(t,e){e(n(4))}(0,function(t){"use strict";return t.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",ss:"%d segundo",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})})},function(t,e,n){!function(t,e){e(n(4))}(0,function(t){"use strict";var e={1:"۱",2:"۲",3:"۳",4:"۴",5:"۵",6:"۶",7:"۷",8:"۸",9:"۹",0:"۰"},n={"۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","۰":"0"};return t.defineLocale("fa",{months:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),monthsShort:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),weekdays:"یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه".split("_"),weekdaysShort:"یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه".split("_"),weekdaysMin:"ی_د_س_چ_پ_ج_ش".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/قبل از ظهر|بعد از ظهر/,isPM:function(t){return/بعد از ظهر/.test(t)},meridiem:function(t,e,n){return t<12?"قبل از ظهر":"بعد از ظهر"},calendar:{sameDay:"[امروز ساعت] LT",nextDay:"[فردا ساعت] LT",nextWeek:"dddd [ساعت] LT",lastDay:"[دیروز ساعت] LT",lastWeek:"dddd [پیش] [ساعت] LT",sameElse:"L"},relativeTime:{future:"در %s",past:"%s پیش",s:"چند ثانیه",ss:"ثانیه d%",m:"یک دقیقه",mm:"%d دقیقه",h:"یک ساعت",hh:"%d ساعت",d:"یک روز",dd:"%d روز",M:"یک ماه",MM:"%d ماه",y:"یک سال",yy:"%d سال"},preparse:function(t){return t.replace(/[۰-۹]/g,function(t){return n[t]}).replace(/،/g,",")},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]}).replace(/,/g,"،")},dayOfMonthOrdinalParse:/\d{1,2}م/,ordinal:"%dم",week:{dow:6,doy:12}})})},function(t,e,n){!function(t,e){e(n(4))}(0,function(t){"use strict";function e(t,e,i,o){var s="";switch(i){case"s":return o?"muutaman sekunnin":"muutama sekunti";case"ss":return o?"sekunnin":"sekuntia";case"m":return o?"minuutin":"minuutti";case"mm":s=o?"minuutin":"minuuttia";break;case"h":return o?"tunnin":"tunti";case"hh":s=o?"tunnin":"tuntia";break;case"d":return o?"päivän":"päivä";case"dd":s=o?"päivän":"päivää";break;case"M":return o?"kuukauden":"kuukausi";case"MM":s=o?"kuukauden":"kuukautta";break;case"y":return o?"vuoden":"vuosi";case"yy":s=o?"vuoden":"vuotta"}return s=function(t,e){return t<10?e?r[t]:n[t]:t}(t,o)+" "+s}var n="nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän".split(" "),r=["nolla","yhden","kahden","kolmen","neljän","viiden","kuuden",n[7],n[8],n[9]];return t.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[tänään] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s päästä",past:"%s sitten",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})})},function(t,e,n){!function(t,e){e(n(4))}(0,function(t){"use strict";return t.defineLocale("fo",{months:"januar_februar_mars_apríl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_mánadagur_týsdagur_mikudagur_hósdagur_fríggjadagur_leygardagur".split("_"),weekdaysShort:"sun_mán_týs_mik_hós_frí_ley".split("_"),weekdaysMin:"su_má_tý_mi_hó_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[Í dag kl.] LT",nextDay:"[Í morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[Í gjár kl.] LT",lastWeek:"[síðstu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s síðani",s:"fá sekund",ss:"%d sekundir",m:"ein minutt",mm:"%d minuttir",h:"ein tími",hh:"%d tímar",d:"ein dagur",dd:"%d dagar",M:"ein mánaði",MM:"%d mánaðir",y:"eitt ár",yy:"%d ár"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})})},function(t,e,n){!function(t,e){e(n(4))}(0,function(t){"use strict";return t.defineLocale("fr",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(t,e){switch(e){case"D":return t+(1===t?"er":"");default:case"M":case"Q":case"DDD":case"d":return t+(1===t?"er":"e");case"w":case"W":return t+(1===t?"re":"e")}},week:{dow:1,doy:4}})})},function(t,e,n){!function(t,e){e(n(4))}(0,function(t){"use strict";return t.defineLocale("fr-ca",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(t,e){switch(e){default:case"M":case"Q":case"D":case"DDD":case"d":return t+(1===t?"er":"e");case"w":case"W":return t+(1===t?"re":"e")}}})})},function(t,e,n){!function(t,e){e(n(4))}(0,function(t){"use strict";return t.defineLocale("fr-ch",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(t,e){switch(e){default:case"M":case"Q":case"D":case"DDD":case"d":return t+(1===t?"er":"e");case"w":case"W":return t+(1===t?"re":"e")}},week:{dow:1,doy:4}})})},function(t,e,n){!function(t,e){e(n(4))}(0,function(t){"use strict";var e="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),n="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");return t.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(t,r){return t?/-MMM-/.test(r)?n[t.month()]:e[t.month()]:e},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[ôfrûne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",ss:"%d sekonden",m:"ien minút",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(t){return t+(1===t||8===t||t>=20?"ste":"de")},week:{dow:1,doy:4}})})},function(t,e,n){!function(t,e){e(n(4))}(0,function(t){"use strict";return t.defineLocale("gd",{months:["Am Faoilleach","An Gearran","Am Màrt","An Giblean","An Cèitean","An t-Ògmhios","An t-Iuchar","An Lùnastal","An t-Sultain","An Dàmhair","An t-Samhain","An Dùbhlachd"],monthsShort:["Faoi","Gear","Màrt","Gibl","Cèit","Ògmh","Iuch","Lùn","Sult","Dàmh","Samh","Dùbh"],monthsParseExact:!0,weekdays:["Didòmhnaich","Diluain","Dimàirt","Diciadain","Diardaoin","Dihaoine","Disathairne"],weekdaysShort:["Did","Dil","Dim","Dic","Dia","Dih","Dis"],weekdaysMin:["Dò","Lu","Mà","Ci","Ar","Ha","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[An-diugh aig] LT",nextDay:"[A-màireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-dè aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",ss:"%d diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"mìos",MM:"%d mìosan",y:"bliadhna",yy:"%d bliadhna"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(t){return t+(1===t?"d":t%10==2?"na":"mh")},week:{dow:1,doy:4}})})},function(t,e,n){!function(t,e){e(n(4))}(0,function(t){"use strict";return t.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xuño_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xuñ._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_mércores_xoves_venres_sábado".split("_"),weekdaysShort:"dom._lun._mar._mér._xov._ven._sáb.".split("_"),weekdaysMin:"do_lu_ma_mé_xo_ve_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(1!==this.hours()?"ás":"á")+"] LT"},nextDay:function(){return"[mañá "+(1!==this.hours()?"ás":"á")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"ás":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"á":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"ás":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(t){return 0===t.indexOf("un")?"n"+t:"en "+t},past:"hai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})})},function(t,e,n){!function(t,e){e(n(4))}(0,function(t){"use strict";function e(t,e,n,r){var i={s:["thodde secondanim","thodde second"],ss:[t+" secondanim",t+" second"],m:["eka mintan","ek minute"],mm:[t+" mintanim",t+" mintam"],h:["eka horan","ek hor"],hh:[t+" horanim",t+" horam"],d:["eka disan","ek dis"],dd:[t+" disanim",t+" dis"],M:["eka mhoinean","ek mhoino"],MM:[t+" mhoineanim",t+" mhoine"],y:["eka vorsan","ek voros"],yy:[t+" vorsanim",t+" vorsam"]};return e?i[n][0]:i[n][1]}return t.defineLocale("gom-latn",{months:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budvar_Brestar_Sukrar_Son'var".split("_"),weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM[achea] Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Ieta to] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fatlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(t,e){switch(e){case"D":return t+"er";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return t}},week:{dow:1,doy:4},meridiemParse:/rati|sokalli|donparam|sanje/,meridiemHour:function(t,e){return 12===t&&(t=0),"rati"===e?t<4?t:t+12:"sokalli"===e?t:"donparam"===e?t>12?t:t+12:"sanje"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"rati":t<12?"sokalli":t<16?"donparam":t<20?"sanje":"rati"}})})},function(t,e,n){!function(t,e){e(n(4))}(0,function(t){"use strict";var e={1:"૧",2:"૨",3:"૩",4:"૪",5:"૫",6:"૬",7:"૭",8:"૮",9:"૯",0:"૦"},n={"૧":"1","૨":"2","૩":"3","૪":"4","૫":"5","૬":"6","૭":"7","૮":"8","૯":"9","૦":"0"};return t.defineLocale("gu",{months:"જાન્યુઆરી_ફેબ્રુઆરી_માર્ચ_એપ્રિલ_મે_જૂન_જુલાઈ_ઑગસ્ટ_સપ્ટેમ્બર_ઑક્ટ્બર_નવેમ્બર_ડિસેમ્બર".split("_"),monthsShort:"જાન્યુ._ફેબ્રુ._માર્ચ_એપ્રિ._મે_જૂન_જુલા._ઑગ._સપ્ટે._ઑક્ટ્._નવે._ડિસે.".split("_"),monthsParseExact:!0,weekdays:"રવિવાર_સોમવાર_મંગળવાર_બુધ્વાર_ગુરુવાર_શુક્રવાર_શનિવાર".split("_"),weekdaysShort:"રવિ_સોમ_મંગળ_બુધ્_ગુરુ_શુક્ર_શનિ".split("_"),weekdaysMin:"ર_સો_મં_બુ_ગુ_શુ_શ".split("_"),longDateFormat:{LT:"A h:mm વાગ્યે",LTS:"A h:mm:ss વાગ્યે",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm વાગ્યે",LLLL:"dddd, D MMMM YYYY, A h:mm વાગ્યે"},calendar:{sameDay:"[આજ] LT",nextDay:"[કાલે] LT",nextWeek:"dddd, LT",lastDay:"[ગઇકાલે] LT",lastWeek:"[પાછલા] dddd, LT",sameElse:"L"},relativeTime:{future:"%s મા",past:"%s પેહલા",s:"અમુક પળો",ss:"%d સેકંડ",m:"એક મિનિટ",mm:"%d મિનિટ",h:"એક કલાક",hh:"%d કલાક",d:"એક દિવસ",dd:"%d દિવસ",M:"એક મહિનો",MM:"%d મહિનો",y:"એક વર્ષ",yy:"%d વર્ષ"},preparse:function(t){return t.replace(/[૧૨૩૪૫૬૭૮૯૦]/g,function(t){return n[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},meridiemParse:/રાત|બપોર|સવાર|સાંજ/,meridiemHour:function(t,e){return 12===t&&(t=0),"રાત"===e?t<4?t:t+12:"સવાર"===e?t:"બપોર"===e?t>=10?t:t+12:"સાંજ"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"રાત":t<10?"સવાર":t<17?"બપોર":t<20?"સાંજ":"રાત"},week:{dow:0,doy:6}})})},function(t,e,n){!function(t,e){e(n(4))}(0,function(t){"use strict";return t.defineLocale("he",{months:"ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר".split("_"),monthsShort:"ינו׳_פבר׳_מרץ_אפר׳_מאי_יוני_יולי_אוג׳_ספט׳_אוק׳_נוב׳_דצמ׳".split("_"),weekdays:"ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת".split("_"),weekdaysShort:"א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳".split("_"),weekdaysMin:"א_ב_ג_ד_ה_ו_ש".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [ב]MMMM YYYY",LLL:"D [ב]MMMM YYYY HH:mm",LLLL:"dddd, D [ב]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[היום ב־]LT",nextDay:"[מחר ב־]LT",nextWeek:"dddd [בשעה] LT",lastDay:"[אתמול ב־]LT",lastWeek:"[ביום] dddd [האחרון בשעה] LT",sameElse:"L"},relativeTime:{future:"בעוד %s",past:"לפני %s",s:"מספר שניות",ss:"%d שניות",m:"דקה",mm:"%d דקות",h:"שעה",hh:function(t){return 2===t?"שעתיים":t+" שעות"},d:"יום",dd:function(t){return 2===t?"יומיים":t+" ימים"},M:"חודש",MM:function(t){return 2===t?"חודשיים":t+" חודשים"},y:"שנה",yy:function(t){return 2===t?"שנתיים":t%10==0&&10!==t?t+" שנה":t+" שנים"}},meridiemParse:/אחה"צ|לפנה"צ|אחרי הצהריים|לפני הצהריים|לפנות בוקר|בבוקר|בערב/i,isPM:function(t){return/^(אחה"צ|אחרי הצהריים|בערב)$/.test(t)},meridiem:function(t,e,n){return t<5?"לפנות בוקר":t<10?"בבוקר":t<12?n?'לפנה"צ':"לפני הצהריים":t<18?n?'אחה"צ':"אחרי הצהריים":"בערב"}})})},function(t,e,n){!function(t,e){e(n(4))}(0,function(t){"use strict";var e={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};return t.defineLocale("hi",{months:"जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर".split("_"),monthsShort:"जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.".split("_"),monthsParseExact:!0,weekdays:"रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm बजे",LTS:"A h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm बजे",LLLL:"dddd, D MMMM YYYY, A h:mm बजे"},calendar:{sameDay:"[आज] LT",nextDay:"[कल] LT",nextWeek:"dddd, LT",lastDay:"[कल] LT",lastWeek:"[पिछले] dddd, LT",sameElse:"L"},relativeTime:{future:"%s में",past:"%s पहले",s:"कुछ ही क्षण",ss:"%d सेकंड",m:"एक मिनट",mm:"%d मिनट",h:"एक घंटा",hh:"%d घंटे",d:"एक दिन",dd:"%d दिन",M:"एक महीने",MM:"%d महीने",y:"एक वर्ष",yy:"%d वर्ष"},preparse:function(t){return t.replace(/[१२३४५६७८९०]/g,function(t){return n[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},meridiemParse:/रात|सुबह|दोपहर|शाम/,meridiemHour:function(t,e){return 12===t&&(t=0),"रात"===e?t<4?t:t+12:"सुबह"===e?t:"दोपहर"===e?t>=10?t:t+12:"शाम"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"रात":t<10?"सुबह":t<17?"दोपहर":t<20?"शाम":"रात"},week:{dow:0,doy:6}})})},function(t,e,n){!function(t,e){e(n(4))}(0,function(t){"use strict";function e(t,e,n){var r=t+" ";switch(n){case"ss":return r+=1===t?"sekunda":2===t||3===t||4===t?"sekunde":"sekundi";case"m":return e?"jedna minuta":"jedne minute";case"mm":return r+=1===t?"minuta":2===t||3===t||4===t?"minute":"minuta";case"h":return e?"jedan sat":"jednog sata";case"hh":return r+=1===t?"sat":2===t||3===t||4===t?"sata":"sati";case"dd":return r+=1===t?"dan":"dana";case"MM":return r+=1===t?"mjesec":2===t||3===t||4===t?"mjeseca":"mjeseci";case"yy":return r+=1===t?"godina":2===t||3===t||4===t?"godine":"godina"}}return t.defineLocale("hr",{months:{format:"siječnja_veljače_ožujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"siječanj_veljača_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[prošlu] dddd [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:e,m:e,mm:e,h:e,hh:e,d:"dan",dd:e,M:"mjesec",MM:e,y:"godinu",yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})})},function(t,e,n){!function(t,e){e(n(4))}(0,function(t){"use strict";function e(t,e,n,r){var i=t;switch(n){case"s":return r||e?"néhány másodperc":"néhány másodperce";case"ss":return i+(r||e)?" másodperc":" másodperce";case"m":return"egy"+(r||e?" perc":" perce");case"mm":return i+(r||e?" perc":" perce");case"h":return"egy"+(r||e?" óra":" órája");case"hh":return i+(r||e?" óra":" órája");case"d":return"egy"+(r||e?" nap":" napja");case"dd":return i+(r||e?" nap":" napja");case"M":return"egy"+(r||e?" hónap":" hónapja");case"MM":return i+(r||e?" hónap":" hónapja");case"y":return"egy"+(r||e?" év":" éve");case"yy":return i+(r||e?" év":" éve")}return""}function n(t){return(t?"":"[múlt] ")+"["+r[this.day()]+"] LT[-kor]"}var r="vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton".split(" ");return t.defineLocale("hu",{months:"január_február_március_április_május_június_július_augusztus_szeptember_október_november_december".split("_"),monthsShort:"jan_feb_márc_ápr_máj_jún_júl_aug_szept_okt_nov_dec".split("_"),weekdays:"vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat".split("_"),weekdaysShort:"vas_hét_kedd_sze_csüt_pén_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(t){return"u"===t.charAt(1).toLowerCase()},meridiem:function(t,e,n){return t<12?!0===n?"de":"DE":!0===n?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return n.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return n.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s múlva",past:"%s",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})})},function(t,e,n){!function(t,e){e(n(4))}(0,function(t){"use strict";return t.defineLocale("hy-am",{months:{format:"հունվարի_փետրվարի_մարտի_ապրիլի_մայիսի_հունիսի_հուլիսի_օգոստոսի_սեպտեմբերի_հոկտեմբերի_նոյեմբերի_դեկտեմբերի".split("_"),standalone:"հունվար_փետրվար_մարտ_ապրիլ_մայիս_հունիս_հուլիս_օգոստոս_սեպտեմբեր_հոկտեմբեր_նոյեմբեր_դեկտեմբեր".split("_")},monthsShort:"հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ".split("_"),weekdays:"կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շաբաթ".split("_"),weekdaysShort:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),weekdaysMin:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY թ.",LLL:"D MMMM YYYY թ., HH:mm",LLLL:"dddd, D MMMM YYYY թ., HH:mm"},calendar:{sameDay:"[այսօր] LT",nextDay:"[վաղը] LT",lastDay:"[երեկ] LT",nextWeek:function(){return"dddd [օրը ժամը] LT"},lastWeek:function(){return"[անցած] dddd [օրը ժամը] LT"},sameElse:"L"},relativeTime:{future:"%s հետո",past:"%s առաջ",s:"մի քանի վայրկյան",ss:"%d վայրկյան",m:"րոպե",mm:"%d րոպե",h:"ժամ",hh:"%d ժամ",d:"օր",dd:"%d օր",M:"ամիս",MM:"%d ամիս",y:"տարի",yy:"%d տարի"},meridiemParse:/գիշերվա|առավոտվա|ցերեկվա|երեկոյան/,isPM:function(t){return/^(ցերեկվա|երեկոյան)$/.test(t)},meridiem:function(t){return t<4?"գիշերվա":t<12?"առավոտվա":t<17?"ցերեկվա":"երեկոյան"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(ին|րդ)/,ordinal:function(t,e){switch(e){case"DDD":case"w":case"W":case"DDDo":return 1===t?t+"-ին":t+"-րդ";default:return t}},week:{dow:1,doy:7}})})},function(t,e,n){!function(t,e){e(n(4))}(0,function(t){"use strict";return t.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(t,e){return 12===t&&(t=0),"pagi"===e?t:"siang"===e?t>=11?t:t+12:"sore"===e||"malam"===e?t+12:void 0},meridiem:function(t,e,n){return t<11?"pagi":t<15?"siang":t<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",ss:"%d detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})})},function(t,e,n){!function(t,e){e(n(4))}(0,function(t){"use strict";function e(t){return t%100==11||t%10!=1}function n(t,n,r,i){var o=t+" ";switch(r){case"s":return n||i?"nokkrar sekúndur":"nokkrum sekúndum";case"ss":return e(t)?o+(n||i?"sekúndur":"sekúndum"):o+"sekúnda";case"m":return n?"mínúta":"mínútu";case"mm":return e(t)?o+(n||i?"mínútur":"mínútum"):n?o+"mínúta":o+"mínútu";case"hh":return e(t)?o+(n||i?"klukkustundir":"klukkustundum"):o+"klukkustund";case"d":return n?"dagur":i?"dag":"degi";case"dd":return e(t)?n?o+"dagar":o+(i?"daga":"dögum"):n?o+"dagur":o+(i?"dag":"degi");case"M":return n?"mánuður":i?"mánuð":"mánuði";case"MM":return e(t)?n?o+"mánuðir":o+(i?"mánuði":"mánuðum"):n?o+"mánuður":o+(i?"mánuð":"mánuði");case"y":return n||i?"ár":"ári";case"yy":return e(t)?o+(n||i?"ár":"árum"):o+(n||i?"ár":"ári")}}return t.defineLocale("is",{months:"janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desember".split("_"),monthsShort:"jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des".split("_"),weekdays:"sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur".split("_"),weekdaysShort:"sun_mán_þri_mið_fim_fös_lau".split("_"),weekdaysMin:"Su_Má_Þr_Mi_Fi_Fö_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[í dag kl.] LT",nextDay:"[á morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[í gær kl.] LT",lastWeek:"[síðasta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s síðan",s:n,ss:n,m:n,mm:n,h:"klukkustund",hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})})},function(t,e,n){!function(t,e){e(n(4))}(0,function(t){"use strict";return t.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){switch(this.day()){case 0:return"[la scorsa] dddd [alle] LT";default:return"[lo scorso] dddd [alle] LT"}},sameElse:"L"},relativeTime:{future:function(t){return(/^[0-9].+$/.test(t)?"tra":"in")+" "+t},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})})},function(t,e,n){!function(t,e){e(n(4))}(0,function(t){"use strict";return t.defineLocale("ja",{months:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),weekdaysShort:"日_月_火_水_木_金_土".split("_"),weekdaysMin:"日_月_火_水_木_金_土".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日(ddd) HH:mm"},meridiemParse:/午前|午後/i,isPM:function(t){return"午後"===t},meridiem:function(t,e,n){return t<12?"午前":"午後"},calendar:{sameDay:"[今日] LT",nextDay:"[明日] LT",nextWeek:function(t){return t.week()<this.week()?"[来週]dddd LT":"dddd LT"},lastDay:"[昨日] LT",lastWeek:function(t){return this.week()<t.week()?"[先週]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}日/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"日";default:return t}},relativeTime:{future:"%s後",past:"%s前",s:"数秒",ss:"%d秒",m:"1分",mm:"%d分",h:"1時間",hh:"%d時間",d:"1日",dd:"%d日",M:"1ヶ月",MM:"%dヶ月",y:"1年",yy:"%d年"}})})},function(t,e,n){!function(t,e){e(n(4))}(0,function(t){"use strict";return t.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/enjing|siyang|sonten|ndalu/,meridiemHour:function(t,e){return 12===t&&(t=0),"enjing"===e?t:"siyang"===e?t>=11?t:t+12:"sonten"===e||"ndalu"===e?t+12:void 0},meridiem:function(t,e,n){return t<11?"enjing":t<15?"siyang":t<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",ss:"%d detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}})})},function(t,e,n){!function(t,e){e(n(4))}(0,function(t){"use strict";return t.defineLocale("ka",{months:{standalone:"იანვარი_თებერვალი_მარტი_აპრილი_მაისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი".split("_"),format:"იანვარს_თებერვალს_მარტს_აპრილის_მაისს_ივნისს_ივლისს_აგვისტს_სექტემბერს_ოქტომბერს_ნოემბერს_დეკემბერს".split("_")},monthsShort:"იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_აგვ_სექ_ოქტ_ნოე_დეკ".split("_"),weekdays:{standalone:"კვირა_ორშაბათი_სამშაბათი_ოთხშაბათი_ხუთშაბათი_პარასკევი_შაბათი".split("_"),format:"კვირას_ორშაბათს_სამშაბათს_ოთხშაბათს_ხუთშაბათს_პარასკევს_შაბათს".split("_"),isFormat:/(წინა|შემდეგ)/},weekdaysShort:"კვი_ორშ_სამ_ოთხ_ხუთ_პარ_შაბ".split("_"),weekdaysMin:"კვ_ორ_სა_ოთ_ხუ_პა_შა".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[დღეს] LT[-ზე]",nextDay:"[ხვალ] LT[-ზე]",lastDay:"[გუშინ] LT[-ზე]",nextWeek:"[შემდეგ] dddd LT[-ზე]",lastWeek:"[წინა] dddd LT-ზე",sameElse:"L"},relativeTime:{future:function(t){return/(წამი|წუთი|საათი|წელი)/.test(t)?t.replace(/ი$/,"ში"):t+"ში"},past:function(t){return/(წამი|წუთი|საათი|დღე|თვე)/.test(t)?t.replace(/(ი|ე)$/,"ის წინ"):/წელი/.test(t)?t.replace(/წელი$/,"წლის წინ"):void 0},s:"რამდენიმე წამი",ss:"%d წამი",m:"წუთი",mm:"%d წუთი",h:"საათი",hh:"%d საათი",d:"დღე",dd:"%d დღე",M:"თვე",MM:"%d თვე",y:"წელი",yy:"%d წელი"},dayOfMonthOrdinalParse:/0|1-ლი|მე-\d{1,2}|\d{1,2}-ე/,ordinal:function(t){return 0===t?t:1===t?t+"-ლი":t<20||t<=100&&t%20==0||t%100==0?"მე-"+t:t+"-ე"},week:{dow:1,doy:7}})})},function(t,e,n){!function(t,e){e(n(4))}(0,function(t){"use strict";var e={0:"-ші",1:"-ші",2:"-ші",3:"-ші",4:"-ші",5:"-ші",6:"-шы",7:"-ші",8:"-ші",9:"-шы",10:"-шы",20:"-шы",30:"-шы",40:"-шы",50:"-ші",60:"-шы",70:"-ші",80:"-ші",90:"-шы",100:"-ші"};return t.defineLocale("kk",{months:"қаңтар_ақпан_наурыз_сәуір_мамыр_маусым_шілде_тамыз_қыркүйек_қазан_қараша_желтоқсан".split("_"),monthsShort:"қаң_ақп_нау_сәу_мам_мау_шіл_там_қыр_қаз_қар_жел".split("_"),weekdays:"жексенбі_дүйсенбі_сейсенбі_сәрсенбі_бейсенбі_жұма_сенбі".split("_"),weekdaysShort:"жек_дүй_сей_сәр_бей_жұм_сен".split("_"),weekdaysMin:"жк_дй_сй_ср_бй_жм_сн".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгін сағат] LT",nextDay:"[Ертең сағат] LT",nextWeek:"dddd [сағат] LT",lastDay:"[Кеше сағат] LT",lastWeek:"[Өткен аптаның] dddd [сағат] LT",sameElse:"L"},relativeTime:{future:"%s ішінде",past:"%s бұрын",s:"бірнеше секунд",ss:"%d секунд",m:"бір минут",mm:"%d минут",h:"бір сағат",hh:"%d сағат",d:"бір күн",dd:"%d күн",M:"бір ай",MM:"%d ай",y:"бір жыл",yy:"%d жыл"},dayOfMonthOrdinalParse:/\d{1,2}-(ші|шы)/,ordinal:function(t){return t+(e[t]||e[t%10]||e[t>=100?100:null])},week:{dow:1,doy:7}})})},function(t,e,n){!function(t,e){e(n(4))}(0,function(t){"use strict";var e={1:"១",2:"២",3:"៣",4:"៤",5:"៥",6:"៦",7:"៧",8:"៨",9:"៩",0:"០"},n={"១":"1","២":"2","៣":"3","៤":"4","៥":"5","៦":"6","៧":"7","៨":"8","៩":"9","០":"0"};return t.defineLocale("km",{months:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),monthsShort:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),weekdays:"អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍".split("_"),weekdaysShort:"អា_ច_អ_ព_ព្រ_សុ_ស".split("_"),weekdaysMin:"អា_ច_អ_ព_ព្រ_សុ_ស".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/ព្រឹក|ល្ងាច/,isPM:function(t){return"ល្ងាច"===t},meridiem:function(t,e,n){return t<12?"ព្រឹក":"ល្ងាច"},calendar:{sameDay:"[ថ្ងៃនេះ ម៉ោង] LT",nextDay:"[ស្អែក ម៉ោង] LT",nextWeek:"dddd [ម៉ោង] LT",lastDay:"[ម្សិលមិញ ម៉ោង] LT",lastWeek:"dddd [សប្តាហ៍មុន] [ម៉ោង] LT",sameElse:"L"},relativeTime:{future:"%sទៀត",past:"%sមុន",s:"ប៉ុន្មានវិនាទី",ss:"%d វិនាទី",m:"មួយនាទី",mm:"%d នាទី",h:"មួយម៉ោង",hh:"%d ម៉ោង",d:"មួយថ្ងៃ",dd:"%d ថ្ងៃ",M:"មួយខែ",MM:"%d ខែ",y:"មួយឆ្នាំ",yy:"%d ឆ្នាំ"},dayOfMonthOrdinalParse:/ទី\d{1,2}/,ordinal:"ទី%d",preparse:function(t){return t.replace(/[១២៣៤៥៦៧៨៩០]/g,function(t){return n[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},week:{dow:1,doy:4}})})},function(t,e,n){!function(t,e){e(n(4))}(0,function(t){"use strict";var e={1:"೧",2:"೨",3:"೩",4:"೪",5:"೫",6:"೬",7:"೭",8:"೮",9:"೯",0:"೦"},n={"೧":"1","೨":"2","೩":"3","೪":"4","೫":"5","೬":"6","೭":"7","೮":"8","೯":"9","೦":"0"};return t.defineLocale("kn",{months:"ಜನವರಿ_ಫೆಬ್ರವರಿ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂಬರ್_ಅಕ್ಟೋಬರ್_ನವೆಂಬರ್_ಡಿಸೆಂಬರ್".split("_"),monthsShort:"ಜನ_ಫೆಬ್ರ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂ_ಅಕ್ಟೋ_ನವೆಂ_ಡಿಸೆಂ".split("_"),monthsParseExact:!0,weekdays:"ಭಾನುವಾರ_ಸೋಮವಾರ_ಮಂಗಳವಾರ_ಬುಧವಾರ_ಗುರುವಾರ_ಶುಕ್ರವಾರ_ಶನಿವಾರ".split("_"),weekdaysShort:"ಭಾನು_ಸೋಮ_ಮಂಗಳ_ಬುಧ_ಗುರು_ಶುಕ್ರ_ಶನಿ".split("_"),weekdaysMin:"ಭಾ_ಸೋ_ಮಂ_ಬು_ಗು_ಶು_ಶ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[ಇಂದು] LT",nextDay:"[ನಾಳೆ] LT",nextWeek:"dddd, LT",lastDay:"[ನಿನ್ನೆ] LT",lastWeek:"[ಕೊನೆಯ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ನಂತರ",past:"%s ಹಿಂದೆ",s:"ಕೆಲವು ಕ್ಷಣಗಳು",ss:"%d ಸೆಕೆಂಡುಗಳು",m:"ಒಂದು ನಿಮಿಷ",mm:"%d ನಿಮಿಷ",h:"ಒಂದು ಗಂಟೆ",hh:"%d ಗಂಟೆ",d:"ಒಂದು ದಿನ",dd:"%d ದಿನ",M:"ಒಂದು ತಿಂಗಳು",MM:"%d ತಿಂಗಳು",y:"ಒಂದು ವರ್ಷ",yy:"%d ವರ್ಷ"},preparse:function(t){return t.replace(/[೧೨೩೪೫೬೭೮೯೦]/g,function(t){return n[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},meridiemParse:/ರಾತ್ರಿ|ಬೆಳಿಗ್ಗೆ|ಮಧ್ಯಾಹ್ನ|ಸಂಜೆ/,meridiemHour:function(t,e){return 12===t&&(t=0),"ರಾತ್ರಿ"===e?t<4?t:t+12:"ಬೆಳಿಗ್ಗೆ"===e?t:"ಮಧ್ಯಾಹ್ನ"===e?t>=10?t:t+12:"ಸಂಜೆ"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"ರಾತ್ರಿ":t<10?"ಬೆಳಿಗ್ಗೆ":t<17?"ಮಧ್ಯಾಹ್ನ":t<20?"ಸಂಜೆ":"ರಾತ್ರಿ"},dayOfMonthOrdinalParse:/\d{1,2}(ನೇ)/,ordinal:function(t){return t+"ನೇ"},week:{dow:0,doy:6}})})},function(t,e,n){!function(t,e){e(n(4))}(0,function(t){"use strict";return t.defineLocale("ko",{months:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),monthsShort:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),weekdays:"일요일_월요일_화요일_수요일_목요일_금요일_토요일".split("_"),weekdaysShort:"일_월_화_수_목_금_토".split("_"),weekdaysMin:"일_월_화_수_목_금_토".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY년 MMMM D일",LLL:"YYYY년 MMMM D일 A h:mm",LLLL:"YYYY년 MMMM D일 dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY년 MMMM D일",lll:"YYYY년 MMMM D일 A h:mm",llll:"YYYY년 MMMM D일 dddd A h:mm"},calendar:{sameDay:"오늘 LT",nextDay:"내일 LT",nextWeek:"dddd LT",lastDay:"어제 LT",lastWeek:"지난주 dddd LT",sameElse:"L"},relativeTime:{future:"%s 후",past:"%s 전",s:"몇 초",ss:"%d초",m:"1분",mm:"%d분",h:"한 시간",hh:"%d시간",d:"하루",dd:"%d일",M:"한 달",MM:"%d달",y:"일 년",yy:"%d년"},dayOfMonthOrdinalParse:/\d{1,2}(일|월|주)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"일";case"M":return t+"월";case"w":case"W":return t+"주";default:return t}},meridiemParse:/오전|오후/,isPM:function(t){return"오후"===t},meridiem:function(t,e,n){return t<12?"오전":"오후"}})})},function(t,e,n){!function(t,e){e(n(4))}(0,function(t){"use strict";var e={0:"-чү",1:"-чи",2:"-чи",3:"-чү",4:"-чү",5:"-чи",6:"-чы",7:"-чи",8:"-чи",9:"-чу",10:"-чу",20:"-чы",30:"-чу",40:"-чы",50:"-чү",60:"-чы",70:"-чи",80:"-чи",90:"-чу",100:"-чү"};return t.defineLocale("ky",{months:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),monthsShort:"янв_фев_март_апр_май_июнь_июль_авг_сен_окт_ноя_дек".split("_"),weekdays:"Жекшемби_Дүйшөмбү_Шейшемби_Шаршемби_Бейшемби_Жума_Ишемби".split("_"),weekdaysShort:"Жек_Дүй_Шей_Шар_Бей_Жум_Ише".split("_"),weekdaysMin:"Жк_Дй_Шй_Шр_Бй_Жм_Иш".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгүн саат] LT",nextDay:"[Эртең саат] LT",nextWeek:"dddd [саат] LT",lastDay:"[Кече саат] LT",lastWeek:"[Өткен аптанын] dddd [күнү] [саат] LT",sameElse:"L"},relativeTime:{future:"%s ичинде",past:"%s мурун",s:"бирнече секунд",ss:"%d секунд",m:"бир мүнөт",mm:"%d мүнөт",h:"бир саат",hh:"%d саат",d:"бир күн",dd:"%d күн",M:"бир ай",MM:"%d ай",y:"бир жыл",yy:"%d жыл"},dayOfMonthOrdinalParse:/\d{1,2}-(чи|чы|чү|чу)/,ordinal:function(t){return t+(e[t]||e[t%10]||e[t>=100?100:null])},week:{dow:1,doy:7}})})},function(t,e,n){!function(t,e){e(n(4))}(0,function(t){"use strict";function e(t,e,n,r){var i={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return e?i[n][0]:i[n][1]}function n(t){if(t=parseInt(t,10),isNaN(t))return!1;if(t<0)return!0;if(t<10)return 4<=t&&t<=7;if(t<100){var e=t%10;return n(0===e?t/10:e)}if(t<1e4){for(;t>=10;)t/=10;return n(t)}return t/=1e3,n(t)}return t.defineLocale("lb",{months:"Januar_Februar_Mäerz_Abrëll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_Méindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._Mé._Dë._Më._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mé_Dë_Më_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[Gëschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:function(t){return n(t.substr(0,t.indexOf(" ")))?"a "+t:"an "+t},past:function(t){return n(t.substr(0,t.indexOf(" ")))?"viru "+t:"virun "+t},s:"e puer Sekonnen",ss:"%d Sekonnen",m:e,mm:"%d Minutten",h:e,hh:"%d Stonnen",d:e,dd:"%d Deeg",M:e,MM:"%d Méint",y:e,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})})},function(t,e,n){!function(t,e){e(n(4))}(0,function(t){"use strict";return t.defineLocale("lo",{months:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),monthsShort:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),weekdays:"ອາທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysShort:"ທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysMin:"ທ_ຈ_ອຄ_ພ_ພຫ_ສກ_ສ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"ວັນdddd D MMMM YYYY HH:mm"},meridiemParse:/ຕອນເຊົ້າ|ຕອນແລງ/,isPM:function(t){return"ຕອນແລງ"===t},meridiem:function(t,e,n){return t<12?"ຕອນເຊົ້າ":"ຕອນແລງ"},calendar:{sameDay:"[ມື້ນີ້ເວລາ] LT",nextDay:"[ມື້ອື່ນເວລາ] LT",nextWeek:"[ວັນ]dddd[ໜ້າເວລາ] LT",lastDay:"[ມື້ວານນີ້ເວລາ] LT",lastWeek:"[ວັນ]dddd[ແລ້ວນີ້ເວລາ] LT",sameElse:"L"},relativeTime:{future:"ອີກ %s",past:"%sຜ່ານມາ",s:"ບໍ່ເທົ່າໃດວິນາທີ",ss:"%d ວິນາທີ",m:"1 ນາທີ",mm:"%d ນາທີ",h:"1 ຊົ່ວໂມງ",hh:"%d ຊົ່ວໂມງ",d:"1 ມື້",dd:"%d ມື້",M:"1 ເດືອນ",MM:"%d ເດືອນ",y:"1 ປີ",yy:"%d ປີ"},dayOfMonthOrdinalParse:/(ທີ່)\d{1,2}/,ordinal:function(t){return"ທີ່"+t}})})},function(t,e,n){!function(t,e){e(n(4))}(0,function(t){"use strict";function e(t,e,n,i){return e?r(n)[0]:i?r(n)[1]:r(n)[2]}function n(t){return t%10==0||t>10&&t<20}function r(t){return o[t].split("_")}function i(t,i,o,s){var a=t+" ";return 1===t?a+e(0,i,o[0],s):i?a+(n(t)?r(o)[1]:r(o)[0]):s?a+r(o)[1]:a+(n(t)?r(o)[1]:r(o)[2])}var o={ss:"sekundė_sekundžių_sekundes",m:"minutė_minutės_minutę",mm:"minutės_minučių_minutes",h:"valanda_valandos_valandą",hh:"valandos_valandų_valandas",d:"diena_dienos_dieną",dd:"dienos_dienų_dienas",M:"mėnuo_mėnesio_mėnesį",MM:"mėnesiai_mėnesių_mėnesius",y:"metai_metų_metus",yy:"metai_metų_metus"};return t.defineLocale("lt",{months:{format:"sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadienį_pirmadienį_antradienį_trečiadienį_ketvirtadienį_penktadienį_šeštadienį".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_Šeš".split("_"),weekdaysMin:"S_P_A_T_K_Pn_Š".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[Šiandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Praėjusį] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prieš %s",s:function(t,e,n,r){return e?"kelios sekundės":r?"kelių sekundžių":"kelias sekundes"},ss:i,m:e,mm:i,h:e,hh:i,d:e,dd:i,M:e,MM:i,y:e,yy:i},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(t){return t+"-oji"},week:{dow:1,doy:4}})})},function(t,e,n){!function(t,e){e(n(4))}(0,function(t){"use strict";function e(t,e,n){return n?e%10==1&&e%100!=11?t[2]:t[3]:e%10==1&&e%100!=11?t[0]:t[1]}function n(t,n,r){return t+" "+e(i[r],t,n)}function r(t,n,r){return e(i[r],t,n)}var i={ss:"sekundes_sekundēm_sekunde_sekundes".split("_"),m:"minūtes_minūtēm_minūte_minūtes".split("_"),mm:"minūtes_minūtēm_minūte_minūtes".split("_"),h:"stundas_stundām_stunda_stundas".split("_"),hh:"stundas_stundām_stunda_stundas".split("_"),d:"dienas_dienām_diena_dienas".split("_"),dd:"dienas_dienām_diena_dienas".split("_"),M:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),MM:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};return t.defineLocale("lv",{months:"janvāris_februāris_marts_aprīlis_maijs_jūnijs_jūlijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_jūn_jūl_aug_sep_okt_nov_dec".split("_"),weekdays:"svētdiena_pirmdiena_otrdiena_trešdiena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[Šodien pulksten] LT",nextDay:"[Rīt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pagājušā] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"pēc %s",past:"pirms %s",s:function(t,e){return e?"dažas sekundes":"dažām sekundēm"},ss:n,m:r,mm:n,h:r,hh:n,d:r,dd:n,M:r,MM:n,y:r,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})})},function(t,e,n){!function(t,e){e(n(4))}(0,function(t){"use strict";var e={words:{ss:["sekund","sekunda","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(t,e){return 1===t?e[0]:t>=2&&t<=4?e[1]:e[2]},translate:function(t,n,r){var i=e.words[r];return 1===r.length?n?i[0]:i[1]:t+" "+e.correctGrammaticalCase(t,i)}};return t.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){return["[prošle] [nedjelje] [u] LT","[prošlog] [ponedjeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srijede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",ss:e.translate,m:e.translate,mm:e.translate,h:e.translate,hh:e.translate,d:"dan",dd:e.translate,M:"mjesec",MM:e.translate,y:"godinu",yy:e.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})})},function(t,e,n){!function(t,e){e(n(4))}(0,function(t){"use strict";return t.defineLocale("mi",{months:"Kohi-tāte_Hui-tanguru_Poutū-te-rangi_Paenga-whāwhā_Haratua_Pipiri_Hōngoingoi_Here-turi-kōkā_Mahuru_Whiringa-ā-nuku_Whiringa-ā-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_Hōngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"Rātapu_Mane_Tūrei_Wenerei_Tāite_Paraire_Hātarei".split("_"),weekdaysShort:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),weekdaysMin:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te hēkona ruarua",ss:"%d hēkona",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})})},function(t,e,n){!function(t,e){e(n(4))}(0,function(t){"use strict";return t.defineLocale("mk",{months:"јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември".split("_"),monthsShort:"јан_фев_мар_апр_мај_јун_јул_авг_сеп_окт_ное_дек".split("_"),weekdays:"недела_понеделник_вторник_среда_четврток_петок_сабота".split("_"),weekdaysShort:"нед_пон_вто_сре_чет_пет_саб".split("_"),weekdaysMin:"нe_пo_вт_ср_че_пе_сa".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Денес во] LT",nextDay:"[Утре во] LT",nextWeek:"[Во] dddd [во] LT",lastDay:"[Вчера во] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[Изминатата] dddd [во] LT";case 1:case 2:case 4:case 5:return"[Изминатиот] dddd [во] LT"}},sameElse:"L"},relativeTime:{future:"после %s",past:"пред %s",s:"неколку секунди",ss:"%d секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дена",M:"месец",MM:"%d месеци",y:"година",yy:"%d години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(t){var e=t%10,n=t%100;return 0===t?t+"-ев":0===n?t+"-ен":n>10&&n<20?t+"-ти":1===e?t+"-ви":2===e?t+"-ри":7===e||8===e?t+"-ми":t+"-ти"},week:{dow:1,doy:7}})})},function(t,e,n){!function(t,e){e(n(4))}(0,function(t){"use strict";return t.defineLocale("ml",{months:"ജനുവരി_ഫെബ്രുവരി_മാർച്ച്_ഏപ്രിൽ_മേയ്_ജൂൺ_ജൂലൈ_ഓഗസ്റ്റ്_സെപ്റ്റംബർ_ഒക്ടോബർ_നവംബർ_ഡിസംബർ".split("_"),monthsShort:"ജനു._ഫെബ്രു._മാർ._ഏപ്രി._മേയ്_ജൂൺ_ജൂലൈ._ഓഗ._സെപ്റ്റ._ഒക്ടോ._നവം._ഡിസം.".split("_"),monthsParseExact:!0,weekdays:"ഞായറാഴ്ച_തിങ്കളാഴ്ച_ചൊവ്വാഴ്ച_ബുധനാഴ്ച_വ്യാഴാഴ്ച_വെള്ളിയാഴ്ച_ശനിയാഴ്ച".split("_"),weekdaysShort:"ഞായർ_തിങ്കൾ_ചൊവ്വ_ബുധൻ_വ്യാഴം_വെള്ളി_ശനി".split("_"),weekdaysMin:"ഞാ_തി_ചൊ_ബു_വ്യാ_വെ_ശ".split("_"),longDateFormat:{LT:"A h:mm -നു",LTS:"A h:mm:ss -നു",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -നു",LLLL:"dddd, D MMMM YYYY, A h:mm -നു"},calendar:{sameDay:"[ഇന്ന്] LT",nextDay:"[നാളെ] LT",nextWeek:"dddd, LT",lastDay:"[ഇന്നലെ] LT",lastWeek:"[കഴിഞ്ഞ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s കഴിഞ്ഞ്",past:"%s മുൻപ്",s:"അൽപ നിമിഷങ്ങൾ",ss:"%d സെക്കൻഡ്",m:"ഒരു മിനിറ്റ്",mm:"%d മിനിറ്റ്",h:"ഒരു മണിക്കൂർ",hh:"%d മണിക്കൂർ",d:"ഒരു ദിവസം",dd:"%d ദിവസം",M:"ഒരു മാസം",MM:"%d മാസം",y:"ഒരു വർഷം",yy:"%d വർഷം"},meridiemParse:/രാത്രി|രാവിലെ|ഉച്ച കഴിഞ്ഞ്|വൈകുന്നേരം|രാത്രി/i,meridiemHour:function(t,e){return 12===t&&(t=0),"രാത്രി"===e&&t>=4||"ഉച്ച കഴിഞ്ഞ്"===e||"വൈകുന്നേരം"===e?t+12:t},meridiem:function(t,e,n){return t<4?"രാത്രി":t<12?"രാവിലെ":t<17?"ഉച്ച കഴിഞ്ഞ്":t<20?"വൈകുന്നേരം":"രാത്രി"}})})},function(t,e,n){!function(t,e){e(n(4))}(0,function(t){"use strict";function e(t,e,n,r){switch(n){case"s":return e?"хэдхэн секунд":"хэдхэн секундын";case"ss":return t+(e?" секунд":" секундын");case"m":case"mm":return t+(e?" минут":" минутын");case"h":case"hh":return t+(e?" цаг":" цагийн");case"d":case"dd":return t+(e?" өдөр":" өдрийн");case"M":case"MM":return t+(e?" сар":" сарын");case"y":case"yy":return t+(e?" жил":" жилийн");default:return t}}return t.defineLocale("mn",{months:"Нэгдүгээр сар_Хоёрдугаар сар_Гуравдугаар сар_Дөрөвдүгээр сар_Тавдугаар сар_Зургадугаар сар_Долдугаар сар_Наймдугаар сар_Есдүгээр сар_Аравдугаар сар_Арван нэгдүгээр сар_Арван хоёрдугаар сар".split("_"),monthsShort:"1 сар_2 сар_3 сар_4 сар_5 сар_6 сар_7 сар_8 сар_9 сар_10 сар_11 сар_12 сар".split("_"),monthsParseExact:!0,weekdays:"Ням_Даваа_Мягмар_Лхагва_Пүрэв_Баасан_Бямба".split("_"),weekdaysShort:"Ням_Дав_Мяг_Лха_Пүр_Баа_Бям".split("_"),weekdaysMin:"Ня_Да_Мя_Лх_Пү_Ба_Бя".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY оны MMMMын D",LLL:"YYYY оны MMMMын D HH:mm",LLLL:"dddd, YYYY оны MMMMын D HH:mm"},meridiemParse:/ҮӨ|ҮХ/i,isPM:function(t){return"ҮХ"===t},meridiem:function(t,e,n){return t<12?"ҮӨ":"ҮХ"},calendar:{sameDay:"[Өнөөдөр] LT",nextDay:"[Маргааш] LT",nextWeek:"[Ирэх] dddd LT",lastDay:"[Өчигдөр] LT",lastWeek:"[Өнгөрсөн] dddd LT",sameElse:"L"},relativeTime:{future:"%s дараа",past:"%s өмнө",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2} өдөр/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+" өдөр";default:return t}}})})},function(t,e,n){!function(t,e){e(n(4))}(0,function(t){"use strict";function e(t,e,n,r){var i="";if(e)switch(n){case"s":i="काही सेकंद";break;case"ss":i="%d सेकंद";break;case"m":i="एक मिनिट";break;case"mm":i="%d मिनिटे";break;case"h":i="एक तास";break;case"hh":i="%d तास";break;case"d":i="एक दिवस";break;case"dd":i="%d दिवस";break;case"M":i="एक महिना";break;case"MM":i="%d महिने";break;case"y":i="एक वर्ष";break;case"yy":i="%d वर्षे"}else switch(n){case"s":i="काही सेकंदां";break;case"ss":i="%d सेकंदां";break;case"m":i="एका मिनिटा";break;case"mm":i="%d मिनिटां";break;case"h":i="एका तासा";break;case"hh":i="%d तासां";break;case"d":i="एका दिवसा";break;case"dd":i="%d दिवसां";break;case"M":i="एका महिन्या";break;case"MM":i="%d महिन्यां";break;case"y":i="एका वर्षा";break;case"yy":i="%d वर्षां"}return i.replace(/%d/i,t)}var n={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},r={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};return t.defineLocale("mr",{months:"जानेवारी_फेब्रुवारी_मार्च_एप्रिल_मे_जून_जुलै_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर".split("_"),monthsShort:"जाने._फेब्रु._मार्च._एप्रि._मे._जून._जुलै._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.".split("_"),monthsParseExact:!0,weekdays:"रविवार_सोमवार_मंगळवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगळ_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm वाजता",LTS:"A h:mm:ss वाजता",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm वाजता",LLLL:"dddd, D MMMM YYYY, A h:mm वाजता"},calendar:{sameDay:"[आज] LT",nextDay:"[उद्या] LT",nextWeek:"dddd, LT",lastDay:"[काल] LT",lastWeek:"[मागील] dddd, LT",sameElse:"L"},relativeTime:{future:"%sमध्ये",past:"%sपूर्वी",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},preparse:function(t){return t.replace(/[१२३४५६७८९०]/g,function(t){return r[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return n[t]})},meridiemParse:/रात्री|सकाळी|दुपारी|सायंकाळी/,meridiemHour:function(t,e){return 12===t&&(t=0),"रात्री"===e?t<4?t:t+12:"सकाळी"===e?t:"दुपारी"===e?t>=10?t:t+12:"सायंकाळी"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"रात्री":t<10?"सकाळी":t<17?"दुपारी":t<20?"सायंकाळी":"रात्री"},week:{dow:0,doy:6}})})},function(t,e,n){!function(t,e){e(n(4))}(0,function(t){"use strict";return t.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(t,e){return 12===t&&(t=0),"pagi"===e?t:"tengahari"===e?t>=11?t:t+12:"petang"===e||"malam"===e?t+12:void 0},meridiem:function(t,e,n){return t<11?"pagi":t<15?"tengahari":t<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})})},function(t,e,n){!function(t,e){e(n(4))}(0,function(t){"use strict";return t.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(t,e){return 12===t&&(t=0),"pagi"===e?t:"tengahari"===e?t>=11?t:t+12:"petang"===e||"malam"===e?t+12:void 0},meridiem:function(t,e,n){return t<11?"pagi":t<15?"tengahari":t<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})})},function(t,e,n){!function(t,e){e(n(4))}(0,function(t){"use strict";return t.defineLocale("mt",{months:"Jannar_Frar_Marzu_April_Mejju_Ġunju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Diċembru".split("_"),monthsShort:"Jan_Fra_Mar_Apr_Mej_Ġun_Lul_Aww_Set_Ott_Nov_Diċ".split("_"),weekdays:"Il-Ħadd_It-Tnejn_It-Tlieta_L-Erbgħa_Il-Ħamis_Il-Ġimgħa_Is-Sibt".split("_"),weekdaysShort:"Ħad_Tne_Tli_Erb_Ħam_Ġim_Sib".split("_"),weekdaysMin:"Ħa_Tn_Tl_Er_Ħa_Ġi_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Illum fil-]LT",nextDay:"[Għada fil-]LT",nextWeek:"dddd [fil-]LT",lastDay:"[Il-bieraħ fil-]LT",lastWeek:"dddd [li għadda] [fil-]LT",sameElse:"L"},relativeTime:{future:"f’ %s",past:"%s ilu",s:"ftit sekondi",ss:"%d sekondi",m:"minuta",mm:"%d minuti",h:"siegħa",hh:"%d siegħat",d:"ġurnata",dd:"%d ġranet",M:"xahar",MM:"%d xhur",y:"sena",yy:"%d sni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})})},function(t,e,n){!function(t,e){e(n(4))}(0,function(t){"use strict";var e={1:"၁",2:"၂",3:"၃",4:"၄",5:"၅",6:"၆",7:"၇",8:"၈",9:"၉",0:"၀"},n={"၁":"1","၂":"2","၃":"3","၄":"4","၅":"5","၆":"6","၇":"7","၈":"8","၉":"9","၀":"0"};return t.defineLocale("my",{months:"ဇန်နဝါရီ_ဖေဖော်ဝါရီ_မတ်_ဧပြီ_မေ_ဇွန်_ဇူလိုင်_သြဂုတ်_စက်တင်ဘာ_အောက်တိုဘာ_နိုဝင်ဘာ_ဒီဇင်ဘာ".split("_"),monthsShort:"ဇန်_ဖေ_မတ်_ပြီ_မေ_ဇွန်_လိုင်_သြ_စက်_အောက်_နို_ဒီ".split("_"),weekdays:"တနင်္ဂနွေ_တနင်္လာ_အင်္ဂါ_ဗုဒ္ဓဟူး_ကြာသပတေး_သောကြာ_စနေ".split("_"),weekdaysShort:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),weekdaysMin:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ယနေ.] LT [မှာ]",nextDay:"[မနက်ဖြန်] LT [မှာ]",nextWeek:"dddd LT [မှာ]",lastDay:"[မနေ.က] LT [မှာ]",lastWeek:"[ပြီးခဲ့သော] dddd LT [မှာ]",sameElse:"L"},relativeTime:{future:"လာမည့် %s မှာ",past:"လွန်ခဲ့သော %s က",s:"စက္ကန်.အနည်းငယ်",ss:"%d စက္ကန့်",m:"တစ်မိနစ်",mm:"%d မိနစ်",h:"တစ်နာရီ",hh:"%d နာရီ",d:"တစ်ရက်",dd:"%d ရက်",M:"တစ်လ",MM:"%d လ",y:"တစ်နှစ်",yy:"%d နှစ်"},preparse:function(t){return t.replace(/[၁၂၃၄၅၆၇၈၉၀]/g,function(t){return n[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},week:{dow:1,doy:4}})})},function(t,e,n){!function(t,e){e(n(4))}(0,function(t){"use strict";return t.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_april_mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"sø._ma._ti._on._to._fr._lø.".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",ss:"%d sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",M:"en måned",MM:"%d måneder",y:"ett år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})})},function(t,e,n){!function(t,e){e(n(4))}(0,function(t){"use strict";var e={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};return t.defineLocale("ne",{months:"जनवरी_फेब्रुवरी_मार्च_अप्रिल_मई_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर".split("_"),monthsShort:"जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.".split("_"),monthsParseExact:!0,weekdays:"आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार".split("_"),weekdaysShort:"आइत._सोम._मङ्गल._बुध._बिहि._शुक्र._शनि.".split("_"),weekdaysMin:"आ._सो._मं._बु._बि._शु._श.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"Aको h:mm बजे",LTS:"Aको h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, Aको h:mm बजे",LLLL:"dddd, D MMMM YYYY, Aको h:mm बजे"},preparse:function(t){return t.replace(/[१२३४५६७८९०]/g,function(t){return n[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},meridiemParse:/राति|बिहान|दिउँसो|साँझ/,meridiemHour:function(t,e){return 12===t&&(t=0),"राति"===e?t<4?t:t+12:"बिहान"===e?t:"दिउँसो"===e?t>=10?t:t+12:"साँझ"===e?t+12:void 0},meridiem:function(t,e,n){return t<3?"राति":t<12?"बिहान":t<16?"दिउँसो":t<20?"साँझ":"राति"},calendar:{sameDay:"[आज] LT",nextDay:"[भोलि] LT",nextWeek:"[आउँदो] dddd[,] LT",lastDay:"[हिजो] LT",lastWeek:"[गएको] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%sमा",past:"%s अगाडि",s:"केही क्षण",ss:"%d सेकेण्ड",m:"एक मिनेट",mm:"%d मिनेट",h:"एक घण्टा",hh:"%d घण्टा",d:"एक दिन",dd:"%d दिन",M:"एक महिना",MM:"%d महिना",y:"एक बर्ष",yy:"%d बर्ष"},week:{dow:0,doy:6}})})},function(t,e,n){!function(t,e){e(n(4))}(0,function(t){"use strict";var e="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),n="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),r=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],i=/^(januari|februari|maart|april|mei|april|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;return t.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(t,r){return t?/-MMM-/.test(r)?n[t.month()]:e[t.month()]:e},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(januari|februari|maart|mei|ju[nl]i|april|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(t){return t+(1===t||8===t||t>=20?"ste":"de")},week:{dow:1,doy:4}})})},function(t,e,n){!function(t,e){e(n(4))}(0,function(t){"use strict";var e="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),n="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),r=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],i=/^(januari|februari|maart|april|mei|april|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;return t.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(t,r){return t?/-MMM-/.test(r)?n[t.month()]:e[t.month()]:e},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(januari|februari|maart|mei|ju[nl]i|april|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(t){return t+(1===t||8===t||t>=20?"ste":"de")},week:{dow:1,doy:4}})})},function(t,e,n){!function(t,e){e(n(4))}(0,function(t){"use strict";return t.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sundag_måndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"sun_mån_tys_ons_tor_fre_lau".split("_"),weekdaysMin:"su_må_ty_on_to_fr_lø".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I går klokka] LT",lastWeek:"[Føregåande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s sidan",s:"nokre sekund",ss:"%d sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",M:"ein månad",MM:"%d månader",y:"eit år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})})},function(t,e,n){!function(t,e){e(n(4))}(0,function(t){"use strict";var e={1:"੧",2:"੨",3:"੩",4:"੪",5:"੫",6:"੬",7:"੭",8:"੮",9:"੯",0:"੦"},n={"੧":"1","੨":"2","੩":"3","੪":"4","੫":"5","੬":"6","੭":"7","੮":"8","੯":"9","੦":"0"};return t.defineLocale("pa-in",{months:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),monthsShort:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),weekdays:"ਐਤਵਾਰ_ਸੋਮਵਾਰ_ਮੰਗਲਵਾਰ_ਬੁਧਵਾਰ_ਵੀਰਵਾਰ_ਸ਼ੁੱਕਰਵਾਰ_ਸ਼ਨੀਚਰਵਾਰ".split("_"),weekdaysShort:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),weekdaysMin:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),longDateFormat:{LT:"A h:mm ਵਜੇ",LTS:"A h:mm:ss ਵਜੇ",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm ਵਜੇ",LLLL:"dddd, D MMMM YYYY, A h:mm ਵਜੇ"},calendar:{sameDay:"[ਅਜ] LT",nextDay:"[ਕਲ] LT",nextWeek:"dddd, LT",lastDay:"[ਕਲ] LT",lastWeek:"[ਪਿਛਲੇ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ਵਿੱਚ",past:"%s ਪਿਛਲੇ",s:"ਕੁਝ ਸਕਿੰਟ",ss:"%d ਸਕਿੰਟ",m:"ਇਕ ਮਿੰਟ",mm:"%d ਮਿੰਟ",h:"ਇੱਕ ਘੰਟਾ",hh:"%d ਘੰਟੇ",d:"ਇੱਕ ਦਿਨ",dd:"%d ਦਿਨ",M:"ਇੱਕ ਮਹੀਨਾ",MM:"%d ਮਹੀਨੇ",y:"ਇੱਕ ਸਾਲ",yy:"%d ਸਾਲ"},preparse:function(t){return t.replace(/[੧੨੩੪੫੬੭੮੯੦]/g,function(t){return n[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},meridiemParse:/ਰਾਤ|ਸਵੇਰ|ਦੁਪਹਿਰ|ਸ਼ਾਮ/,meridiemHour:function(t,e){return 12===t&&(t=0),"ਰਾਤ"===e?t<4?t:t+12:"ਸਵੇਰ"===e?t:"ਦੁਪਹਿਰ"===e?t>=10?t:t+12:"ਸ਼ਾਮ"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"ਰਾਤ":t<10?"ਸਵੇਰ":t<17?"ਦੁਪਹਿਰ":t<20?"ਸ਼ਾਮ":"ਰਾਤ"},week:{dow:0,doy:6}})})},function(t,e,n){!function(t,e){e(n(4))}(0,function(t){"use strict";function e(t){return t%10<5&&t%10>1&&~~(t/10)%10!=1}function n(t,n,r){var i=t+" ";switch(r){case"ss":return i+(e(t)?"sekundy":"sekund");case"m":return n?"minuta":"minutę";case"mm":return i+(e(t)?"minuty":"minut");case"h":return n?"godzina":"godzinę";case"hh":return i+(e(t)?"godziny":"godzin");case"MM":return i+(e(t)?"miesiące":"miesięcy");case"yy":return i+(e(t)?"lata":"lat")}}var r="styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split("_"),i="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia".split("_");return t.defineLocale("pl",{months:function(t,e){return t?""===e?"("+i[t.month()]+"|"+r[t.month()]+")":/D MMMM/.test(e)?i[t.month()]:r[t.month()]:r},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),weekdays:"niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_śr_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_Śr_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dziś o] LT",nextDay:"[Jutro o] LT",nextWeek:function(){switch(this.day()){case 0:return"[W niedzielę o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W środę o] LT";case 6:return"[W sobotę o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zeszłą niedzielę o] LT";case 3:return"[W zeszłą środę o] LT";case 6:return"[W zeszłą sobotę o] LT";default:return"[W zeszły] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:n,m:n,mm:n,h:n,hh:n,d:"1 dzień",dd:"%d dni",M:"miesiąc",MM:n,y:"rok",yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})})},function(t,e,n){!function(t,e){e(n(4))}(0,function(t){"use strict";return t.defineLocale("pt",{months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})})},function(t,e,n){!function(t,e){e(n(4))}(0,function(t){"use strict";return t.defineLocale("pt-br",{months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº"})})},function(t,e,n){!function(t,e){e(n(4))}(0,function(t){"use strict";function e(t,e,n){var r=" ";return(t%100>=20||t>=100&&t%100==0)&&(r=" de "),t+r+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",MM:"luni",yy:"ani"}[n]}return t.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._febr._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminică_luni_marți_miercuri_joi_vineri_sâmbătă".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_Sâm".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_Sâ".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[mâine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s în urmă",s:"câteva secunde",ss:e,m:"un minut",mm:e,h:"o oră",hh:e,d:"o zi",dd:e,M:"o lună",MM:e,y:"un an",yy:e},week:{dow:1,doy:7}})})},function(t,e,n){!function(t,e){e(n(4))}(0,function(t){"use strict";function e(t,e,n){return"m"===n?e?"минута":"минуту":t+" "+function(t,e){var n=t.split("_");return e%10==1&&e%100!=11?n[0]:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?n[1]:n[2]}({ss:e?"секунда_секунды_секунд":"секунду_секунды_секунд",mm:e?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",MM:"месяц_месяца_месяцев",yy:"год_года_лет"}[n],+t)}var n=[/^янв/i,/^фев/i,/^мар/i,/^апр/i,/^ма[йя]/i,/^июн/i,/^июл/i,/^авг/i,/^сен/i,/^окт/i,/^ноя/i,/^дек/i];return t.defineLocale("ru",{months:{format:"января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"),standalone:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_")},monthsShort:{format:"янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"),standalone:"янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_")},weekdays:{standalone:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),format:"воскресенье_понедельник_вторник_среду_четверг_пятницу_субботу".split("_"),isFormat:/\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?\] ?dddd/},weekdaysShort:"вс_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),monthsParse:n,longMonthsParse:n,shortMonthsParse:n,monthsRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsShortRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsStrictRegex:/^(январ[яь]|феврал[яь]|марта?|апрел[яь]|ма[яй]|июн[яь]|июл[яь]|августа?|сентябр[яь]|октябр[яь]|ноябр[яь]|декабр[яь])/i,monthsShortStrictRegex:/^(янв\.|февр?\.|мар[т.]|апр\.|ма[яй]|июн[ья.]|июл[ья.]|авг\.|сент?\.|окт\.|нояб?\.|дек\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., H:mm",LLLL:"dddd, D MMMM YYYY г., H:mm"},calendar:{sameDay:"[Сегодня в] LT",nextDay:"[Завтра в] LT",lastDay:"[Вчера в] LT",nextWeek:function(t){if(t.week()===this.week())return 2===this.day()?"[Во] dddd [в] LT":"[В] dddd [в] LT";switch(this.day()){case 0:return"[В следующее] dddd [в] LT";case 1:case 2:case 4:return"[В следующий] dddd [в] LT";case 3:case 5:case 6:return"[В следующую] dddd [в] LT"}},lastWeek:function(t){if(t.week()===this.week())return 2===this.day()?"[Во] dddd [в] LT":"[В] dddd [в] LT";switch(this.day()){case 0:return"[В прошлое] dddd [в] LT";case 1:case 2:case 4:return"[В прошлый] dddd [в] LT";case 3:case 5:case 6:return"[В прошлую] dddd [в] LT"}},sameElse:"L"},relativeTime:{future:"через %s",past:"%s назад",s:"несколько секунд",ss:e,m:e,mm:e,h:"час",hh:e,d:"день",dd:e,M:"месяц",MM:e,y:"год",yy:e},meridiemParse:/ночи|утра|дня|вечера/i,isPM:function(t){return/^(дня|вечера)$/.test(t)},meridiem:function(t,e,n){return t<4?"ночи":t<12?"утра":t<17?"дня":"вечера"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го|я)/,ordinal:function(t,e){switch(e){case"M":case"d":case"DDD":return t+"-й";case"D":return t+"-го";case"w":case"W":return t+"-я";default:return t}},week:{dow:1,doy:4}})})},function(t,e,n){!function(t,e){e(n(4))}(0,function(t){"use strict";var e=["جنوري","فيبروري","مارچ","اپريل","مئي","جون","جولاءِ","آگسٽ","سيپٽمبر","آڪٽوبر","نومبر","ڊسمبر"],n=["آچر","سومر","اڱارو","اربع","خميس","جمع","ڇنڇر"];return t.defineLocale("sd",{months:e,monthsShort:e,weekdays:n,weekdaysShort:n,weekdaysMin:n,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd، D MMMM YYYY HH:mm"},meridiemParse:/صبح|شام/,isPM:function(t){return"شام"===t},meridiem:function(t,e,n){return t<12?"صبح":"شام"},calendar:{sameDay:"[اڄ] LT",nextDay:"[سڀاڻي] LT",nextWeek:"dddd [اڳين هفتي تي] LT",lastDay:"[ڪالهه] LT",lastWeek:"[گزريل هفتي] dddd [تي] LT",sameElse:"L"},relativeTime:{future:"%s پوء",past:"%s اڳ",s:"چند سيڪنڊ",ss:"%d سيڪنڊ",m:"هڪ منٽ",mm:"%d منٽ",h:"هڪ ڪلاڪ",hh:"%d ڪلاڪ",d:"هڪ ڏينهن",dd:"%d ڏينهن",M:"هڪ مهينو",MM:"%d مهينا",y:"هڪ سال",yy:"%d سال"},preparse:function(t){return t.replace(/،/g,",")},postformat:function(t){return t.replace(/,/g,"،")},week:{dow:1,doy:4}})})},function(t,e,n){!function(t,e){e(n(4))}(0,function(t){"use strict";return t.defineLocale("se",{months:"ođđajagemánnu_guovvamánnu_njukčamánnu_cuoŋománnu_miessemánnu_geassemánnu_suoidnemánnu_borgemánnu_čakčamánnu_golggotmánnu_skábmamánnu_juovlamánnu".split("_"),monthsShort:"ođđj_guov_njuk_cuo_mies_geas_suoi_borg_čakč_golg_skáb_juov".split("_"),weekdays:"sotnabeaivi_vuossárga_maŋŋebárga_gaskavahkku_duorastat_bearjadat_lávvardat".split("_"),weekdaysShort:"sotn_vuos_maŋ_gask_duor_bear_láv".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},calendar:{sameDay:"[otne ti] LT",nextDay:"[ihttin ti] LT",nextWeek:"dddd [ti] LT",lastDay:"[ikte ti] LT",lastWeek:"[ovddit] dddd [ti] LT",sameElse:"L"},relativeTime:{future:"%s geažes",past:"maŋit %s",s:"moadde sekunddat",ss:"%d sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta mánnu",MM:"%d mánut",y:"okta jahki",yy:"%d jagit"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})})},function(t,e,n){!function(t,e){e(n(4))}(0,function(t){"use strict";return t.defineLocale("si",{months:"ජනවාරි_පෙබරවාරි_මාර්තු_අප්‍රේල්_මැයි_ජූනි_ජූලි_අගෝස්තු_සැප්තැම්බර්_ඔක්තෝබර්_නොවැම්බර්_දෙසැම්බර්".split("_"),monthsShort:"ජන_පෙබ_මාර්_අප්_මැයි_ජූනි_ජූලි_අගෝ_සැප්_ඔක්_නොවැ_දෙසැ".split("_"),weekdays:"ඉරිදා_සඳුදා_අඟහරුවාදා_බදාදා_බ්‍රහස්පතින්දා_සිකුරාදා_සෙනසුරාදා".split("_"),weekdaysShort:"ඉරි_සඳු_අඟ_බදා_බ්‍රහ_සිකු_සෙන".split("_"),weekdaysMin:"ඉ_ස_අ_බ_බ්‍ර_සි_සෙ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [වැනි] dddd, a h:mm:ss"},calendar:{sameDay:"[අද] LT[ට]",nextDay:"[හෙට] LT[ට]",nextWeek:"dddd LT[ට]",lastDay:"[ඊයේ] LT[ට]",lastWeek:"[පසුගිය] dddd LT[ට]",sameElse:"L"},relativeTime:{future:"%sකින්",past:"%sකට පෙර",s:"තත්පර කිහිපය",ss:"තත්පර %d",m:"මිනිත්තුව",mm:"මිනිත්තු %d",h:"පැය",hh:"පැය %d",d:"දිනය",dd:"දින %d",M:"මාසය",MM:"මාස %d",y:"වසර",yy:"වසර %d"},dayOfMonthOrdinalParse:/\d{1,2} වැනි/,ordinal:function(t){return t+" වැනි"},meridiemParse:/පෙර වරු|පස් වරු|පෙ.ව|ප.ව./,isPM:function(t){return"ප.ව."===t||"පස් වරු"===t},meridiem:function(t,e,n){return t>11?n?"ප.ව.":"පස් වරු":n?"පෙ.ව.":"පෙර වරු"}})})},function(t,e,n){!function(t,e){e(n(4))}(0,function(t){"use strict";function e(t){return t>1&&t<5}function n(t,n,r,i){var o=t+" ";switch(r){case"s":return n||i?"pár sekúnd":"pár sekundami";case"ss":return n||i?o+(e(t)?"sekundy":"sekúnd"):o+"sekundami";case"m":return n?"minúta":i?"minútu":"minútou";case"mm":return n||i?o+(e(t)?"minúty":"minút"):o+"minútami";case"h":return n?"hodina":i?"hodinu":"hodinou";case"hh":return n||i?o+(e(t)?"hodiny":"hodín"):o+"hodinami";case"d":return n||i?"deň":"dňom";case"dd":return n||i?o+(e(t)?"dni":"dní"):o+"dňami";case"M":return n||i?"mesiac":"mesiacom";case"MM":return n||i?o+(e(t)?"mesiace":"mesiacov"):o+"mesiacmi";case"y":return n||i?"rok":"rokom";case"yy":return n||i?o+(e(t)?"roky":"rokov"):o+"rokmi"}}var r="január_február_marec_apríl_máj_jún_júl_august_september_október_november_december".split("_"),i="jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec".split("_");return t.defineLocale("sk",{months:r,monthsShort:i,weekdays:"nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_št_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_št_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nedeľu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo štvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[včera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulú nedeľu o] LT";case 1:case 2:return"[minulý] dddd [o] LT";case 3:return"[minulú stredu o] LT";case 4:case 5:return"[minulý] dddd [o] LT";case 6:return"[minulú sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:n,ss:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})})},function(t,e,n){!function(t,e){e(n(4))}(0,function(t){"use strict";function e(t,e,n,r){var i=t+" ";switch(n){case"s":return e||r?"nekaj sekund":"nekaj sekundami";case"ss":return i+=1===t?e?"sekundo":"sekundi":2===t?e||r?"sekundi":"sekundah":t<5?e||r?"sekunde":"sekundah":"sekund";case"m":return e?"ena minuta":"eno minuto";case"mm":return i+=1===t?e?"minuta":"minuto":2===t?e||r?"minuti":"minutama":t<5?e||r?"minute":"minutami":e||r?"minut":"minutami";case"h":return e?"ena ura":"eno uro";case"hh":return i+=1===t?e?"ura":"uro":2===t?e||r?"uri":"urama":t<5?e||r?"ure":"urami":e||r?"ur":"urami";case"d":return e||r?"en dan":"enim dnem";case"dd":return i+=1===t?e||r?"dan":"dnem":2===t?e||r?"dni":"dnevoma":e||r?"dni":"dnevi";case"M":return e||r?"en mesec":"enim mesecem";case"MM":return i+=1===t?e||r?"mesec":"mesecem":2===t?e||r?"meseca":"mesecema":t<5?e||r?"mesece":"meseci":e||r?"mesecev":"meseci";case"y":return e||r?"eno leto":"enim letom";case"yy":return i+=1===t?e||r?"leto":"letom":2===t?e||r?"leti":"letoma":t<5?e||r?"leta":"leti":e||r?"let":"leti"}}return t.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_četrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._čet._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_če_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[včeraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prejšnjo] [nedeljo] [ob] LT";case 3:return"[prejšnjo] [sredo] [ob] LT";case 6:return"[prejšnjo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prejšnji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"čez %s",past:"pred %s",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})})},function(t,e,n){!function(t,e){e(n(4))}(0,function(t){"use strict";return t.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_Nën_Dhj".split("_"),weekdays:"E Diel_E Hënë_E Martë_E Mërkurë_E Enjte_E Premte_E Shtunë".split("_"),weekdaysShort:"Die_Hën_Mar_Mër_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_Më_E_P_Sh".split("_"),weekdaysParseExact:!0,meridiemParse:/PD|MD/,isPM:function(t){return"M"===t.charAt(0)},meridiem:function(t,e,n){return t<12?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot në] LT",nextDay:"[Nesër në] LT",nextWeek:"dddd [në] LT",lastDay:"[Dje në] LT",lastWeek:"dddd [e kaluar në] LT",sameElse:"L"},relativeTime:{future:"në %s",past:"%s më parë",s:"disa sekonda",ss:"%d sekonda",m:"një minutë",mm:"%d minuta",h:"një orë",hh:"%d orë",d:"një ditë",dd:"%d ditë",M:"një muaj",MM:"%d muaj",y:"një vit",yy:"%d vite"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})})},function(t,e,n){!function(t,e){e(n(4))}(0,function(t){"use strict";var e={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jedne minute"],mm:["minut","minute","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mesec","meseca","meseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(t,e){return 1===t?e[0]:t>=2&&t<=4?e[1]:e[2]},translate:function(t,n,r){var i=e.words[r];return 1===r.length?n?i[0]:i[1]:t+" "+e.correctGrammaticalCase(t,i)}};return t.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){return["[prošle] [nedelje] [u] LT","[prošlog] [ponedeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",ss:e.translate,m:e.translate,mm:e.translate,h:e.translate,hh:e.translate,d:"dan",dd:e.translate,M:"mesec",MM:e.translate,y:"godinu",yy:e.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})})},function(t,e,n){!function(t,e){e(n(4))}(0,function(t){"use strict";var e={words:{ss:["секунда","секунде","секунди"],m:["један минут","једне минуте"],mm:["минут","минуте","минута"],h:["један сат","једног сата"],hh:["сат","сата","сати"],dd:["дан","дана","дана"],MM:["месец","месеца","месеци"],yy:["година","године","година"]},correctGrammaticalCase:function(t,e){return 1===t?e[0]:t>=2&&t<=4?e[1]:e[2]},translate:function(t,n,r){var i=e.words[r];return 1===r.length?n?i[0]:i[1]:t+" "+e.correctGrammaticalCase(t,i)}};return t.defineLocale("sr-cyrl",{months:"јануар_фебруар_март_април_мај_јун_јул_август_септембар_октобар_новембар_децембар".split("_"),monthsShort:"јан._феб._мар._апр._мај_јун_јул_авг._сеп._окт._нов._дец.".split("_"),monthsParseExact:!0,weekdays:"недеља_понедељак_уторак_среда_четвртак_петак_субота".split("_"),weekdaysShort:"нед._пон._уто._сре._чет._пет._суб.".split("_"),weekdaysMin:"не_по_ут_ср_че_пе_су".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[данас у] LT",nextDay:"[сутра у] LT",nextWeek:function(){switch(this.day()){case 0:return"[у] [недељу] [у] LT";case 3:return"[у] [среду] [у] LT";case 6:return"[у] [суботу] [у] LT";case 1:case 2:case 4:case 5:return"[у] dddd [у] LT"}},lastDay:"[јуче у] LT",lastWeek:function(){return["[прошле] [недеље] [у] LT","[прошлог] [понедељка] [у] LT","[прошлог] [уторка] [у] LT","[прошле] [среде] [у] LT","[прошлог] [четвртка] [у] LT","[прошлог] [петка] [у] LT","[прошле] [суботе] [у] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"за %s",past:"пре %s",s:"неколико секунди",ss:e.translate,m:e.translate,mm:e.translate,h:e.translate,hh:e.translate,d:"дан",dd:e.translate,M:"месец",MM:e.translate,y:"годину",yy:e.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})})},function(t,e,n){!function(t,e){e(n(4))}(0,function(t){"use strict";return t.defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay:"[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",ss:"%d mzuzwana",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|entsambama|ebusuku/,meridiem:function(t,e,n){return t<11?"ekuseni":t<15?"emini":t<19?"entsambama":"ebusuku"},meridiemHour:function(t,e){return 12===t&&(t=0),"ekuseni"===e?t:"emini"===e?t>=11?t:t+12:"entsambama"===e||"ebusuku"===e?0===t?0:t+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})})},function(t,e,n){!function(t,e){e(n(4))}(0,function(t){"use strict";return t.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag".split("_"),weekdaysShort:"sön_mån_tis_ons_tor_fre_lör".split("_"),weekdaysMin:"sö_må_ti_on_to_fr_lö".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Igår] LT",nextWeek:"[På] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"för %s sedan",s:"några sekunder",ss:"%d sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en månad",MM:"%d månader",y:"ett år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}(e|a)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"e":1===e?"a":2===e?"a":"e")},week:{dow:1,doy:4}})})},function(t,e,n){!function(t,e){e(n(4))}(0,function(t){"use strict";return t.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",ss:"sekunde %d",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"masiku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}})})},function(t,e,n){!function(t,e){e(n(4))}(0,function(t){"use strict";var e={1:"௧",2:"௨",3:"௩",4:"௪",5:"௫",6:"௬",7:"௭",8:"௮",9:"௯",0:"௦"},n={"௧":"1","௨":"2","௩":"3","௪":"4","௫":"5","௬":"6","௭":"7","௮":"8","௯":"9","௦":"0"};return t.defineLocale("ta",{months:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),monthsShort:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),weekdays:"ஞாயிற்றுக்கிழமை_திங்கட்கிழமை_செவ்வாய்கிழமை_புதன்கிழமை_வியாழக்கிழமை_வெள்ளிக்கிழமை_சனிக்கிழமை".split("_"),weekdaysShort:"ஞாயிறு_திங்கள்_செவ்வாய்_புதன்_வியாழன்_வெள்ளி_சனி".split("_"),weekdaysMin:"ஞா_தி_செ_பு_வி_வெ_ச".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[இன்று] LT",nextDay:"[நாளை] LT",nextWeek:"dddd, LT",lastDay:"[நேற்று] LT",lastWeek:"[கடந்த வாரம்] dddd, LT",sameElse:"L"},relativeTime:{future:"%s இல்",past:"%s முன்",s:"ஒரு சில விநாடிகள்",ss:"%d விநாடிகள்",m:"ஒரு நிமிடம்",mm:"%d நிமிடங்கள்",h:"ஒரு மணி நேரம்",hh:"%d மணி நேரம்",d:"ஒரு நாள்",dd:"%d நாட்கள்",M:"ஒரு மாதம்",MM:"%d மாதங்கள்",y:"ஒரு வருடம்",yy:"%d ஆண்டுகள்"},dayOfMonthOrdinalParse:/\d{1,2}வது/,ordinal:function(t){return t+"வது"},preparse:function(t){return t.replace(/[௧௨௩௪௫௬௭௮௯௦]/g,function(t){return n[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},meridiemParse:/யாமம்|வைகறை|காலை|நண்பகல்|எற்பாடு|மாலை/,meridiem:function(t,e,n){return t<2?" யாமம்":t<6?" வைகறை":t<10?" காலை":t<14?" நண்பகல்":t<18?" எற்பாடு":t<22?" மாலை":" யாமம்"},meridiemHour:function(t,e){return 12===t&&(t=0),"யாமம்"===e?t<2?t:t+12:"வைகறை"===e||"காலை"===e?t:"நண்பகல்"===e&&t>=10?t:t+12},week:{dow:0,doy:6}})})},function(t,e,n){!function(t,e){e(n(4))}(0,function(t){"use strict";return t.defineLocale("te",{months:"జనవరి_ఫిబ్రవరి_మార్చి_ఏప్రిల్_మే_జూన్_జూలై_ఆగస్టు_సెప్టెంబర్_అక్టోబర్_నవంబర్_డిసెంబర్".split("_"),monthsShort:"జన._ఫిబ్ర._మార్చి_ఏప్రి._మే_జూన్_జూలై_ఆగ._సెప్._అక్టో._నవ._డిసె.".split("_"),monthsParseExact:!0,weekdays:"ఆదివారం_సోమవారం_మంగళవారం_బుధవారం_గురువారం_శుక్రవారం_శనివారం".split("_"),weekdaysShort:"ఆది_సోమ_మంగళ_బుధ_గురు_శుక్ర_శని".split("_"),weekdaysMin:"ఆ_సో_మం_బు_గు_శు_శ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[నేడు] LT",nextDay:"[రేపు] LT",nextWeek:"dddd, LT",lastDay:"[నిన్న] LT",lastWeek:"[గత] dddd, LT",sameElse:"L"},relativeTime:{future:"%s లో",past:"%s క్రితం",s:"కొన్ని క్షణాలు",ss:"%d సెకన్లు",m:"ఒక నిమిషం",mm:"%d నిమిషాలు",h:"ఒక గంట",hh:"%d గంటలు",d:"ఒక రోజు",dd:"%d రోజులు",M:"ఒక నెల",MM:"%d నెలలు",y:"ఒక సంవత్సరం",yy:"%d సంవత్సరాలు"},dayOfMonthOrdinalParse:/\d{1,2}వ/,ordinal:"%dవ",meridiemParse:/రాత్రి|ఉదయం|మధ్యాహ్నం|సాయంత్రం/,meridiemHour:function(t,e){return 12===t&&(t=0),"రాత్రి"===e?t<4?t:t+12:"ఉదయం"===e?t:"మధ్యాహ్నం"===e?t>=10?t:t+12:"సాయంత్రం"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"రాత్రి":t<10?"ఉదయం":t<17?"మధ్యాహ్నం":t<20?"సాయంత్రం":"రాత్రి"},week:{dow:0,doy:6}})})},function(t,e,n){!function(t,e){e(n(4))}(0,function(t){"use strict";return t.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Juñu_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu".split("_"),weekdaysShort:"Dom_Seg_Ters_Kua_Kint_Sest_Sab".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Ses_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Ohin iha] LT",nextDay:"[Aban iha] LT",nextWeek:"dddd [iha] LT",lastDay:"[Horiseik iha] LT",lastWeek:"dddd [semana kotuk] [iha] LT",sameElse:"L"},relativeTime:{future:"iha %s",past:"%s liuba",s:"minutu balun",ss:"minutu %d",m:"minutu ida",mm:"minutu %d",h:"oras ida",hh:"oras %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})})},function(t,e,n){!function(t,e){e(n(4))}(0,function(t){"use strict";var e={0:"-ум",1:"-ум",2:"-юм",3:"-юм",4:"-ум",5:"-ум",6:"-ум",7:"-ум",8:"-ум",9:"-ум",10:"-ум",12:"-ум",13:"-ум",20:"-ум",30:"-юм",40:"-ум",50:"-ум",60:"-ум",70:"-ум",80:"-ум",90:"-ум",100:"-ум"};return t.defineLocale("tg",{months:"январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split("_"),monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdays:"якшанбе_душанбе_сешанбе_чоршанбе_панҷшанбе_ҷумъа_шанбе".split("_"),weekdaysShort:"яшб_дшб_сшб_чшб_пшб_ҷум_шнб".split("_"),weekdaysMin:"яш_дш_сш_чш_пш_ҷм_шб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Имрӯз соати] LT",nextDay:"[Пагоҳ соати] LT",lastDay:"[Дирӯз соати] LT",nextWeek:"dddd[и] [ҳафтаи оянда соати] LT",lastWeek:"dddd[и] [ҳафтаи гузашта соати] LT",sameElse:"L"},relativeTime:{future:"баъди %s",past:"%s пеш",s:"якчанд сония",m:"як дақиқа",mm:"%d дақиқа",h:"як соат",hh:"%d соат",d:"як рӯз",dd:"%d рӯз",M:"як моҳ",MM:"%d моҳ",y:"як сол",yy:"%d сол"},meridiemParse:/шаб|субҳ|рӯз|бегоҳ/,meridiemHour:function(t,e){return 12===t&&(t=0),"шаб"===e?t<4?t:t+12:"субҳ"===e?t:"рӯз"===e?t>=11?t:t+12:"бегоҳ"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"шаб":t<11?"субҳ":t<16?"рӯз":t<19?"бегоҳ":"шаб"},dayOfMonthOrdinalParse:/\d{1,2}-(ум|юм)/,ordinal:function(t){return t+(e[t]||e[t%10]||e[t>=100?100:null])},week:{dow:1,doy:7}})})},function(t,e,n){!function(t,e){e(n(4))}(0,function(t){"use strict";return t.defineLocale("th",{months:"มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม".split("_"),monthsShort:"ม.ค._ก.พ._มี.ค._เม.ย._พ.ค._มิ.ย._ก.ค._ส.ค._ก.ย._ต.ค._พ.ย._ธ.ค.".split("_"),monthsParseExact:!0,weekdays:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์".split("_"),weekdaysShort:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์".split("_"),weekdaysMin:"อา._จ._อ._พ._พฤ._ศ._ส.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY เวลา H:mm",LLLL:"วันddddที่ D MMMM YYYY เวลา H:mm"},meridiemParse:/ก่อนเที่ยง|หลังเที่ยง/,isPM:function(t){return"หลังเที่ยง"===t},meridiem:function(t,e,n){return t<12?"ก่อนเที่ยง":"หลังเที่ยง"},calendar:{sameDay:"[วันนี้ เวลา] LT",nextDay:"[พรุ่งนี้ เวลา] LT",nextWeek:"dddd[หน้า เวลา] LT",lastDay:"[เมื่อวานนี้ เวลา] LT",lastWeek:"[วัน]dddd[ที่แล้ว เวลา] LT",sameElse:"L"},relativeTime:{future:"อีก %s",past:"%sที่แล้ว",s:"ไม่กี่วินาที",ss:"%d วินาที",m:"1 นาที",mm:"%d นาที",h:"1 ชั่วโมง",hh:"%d ชั่วโมง",d:"1 วัน",dd:"%d วัน",M:"1 เดือน",MM:"%d เดือน",y:"1 ปี",yy:"%d ปี"}})})},function(t,e,n){!function(t,e){e(n(4))}(0,function(t){"use strict";return t.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(t){return t},week:{dow:1,doy:4}})})},function(t,e,n){!function(t,e){e(n(4))}(0,function(t){"use strict";function e(t,e,r,i){var o=function(t){var e=Math.floor(t%1e3/100),r=Math.floor(t%100/10),i=t%10,o="";e>0&&(o+=n[e]+"vatlh");r>0&&(o+=(""!==o?" ":"")+n[r]+"maH");i>0&&(o+=(""!==o?" ":"")+n[i]);return""===o?"pagh":o}(t);switch(r){case"ss":return o+" lup";case"mm":return o+" tup";case"hh":return o+" rep";case"dd":return o+" jaj";case"MM":return o+" jar";case"yy":return o+" DIS"}}var n="pagh_wa’_cha’_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");return t.defineLocale("tlh",{months:"tera’ jar wa’_tera’ jar cha’_tera’ jar wej_tera’ jar loS_tera’ jar vagh_tera’ jar jav_tera’ jar Soch_tera’ jar chorgh_tera’ jar Hut_tera’ jar wa’maH_tera’ jar wa’maH wa’_tera’ jar wa’maH cha’".split("_"),monthsShort:"jar wa’_jar cha’_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa’maH_jar wa’maH wa’_jar wa’maH cha’".split("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[wa’leS] LT",nextWeek:"LLL",lastDay:"[wa’Hu’] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:function(t){var e=t;return e=-1!==t.indexOf("jaj")?e.slice(0,-3)+"leS":-1!==t.indexOf("jar")?e.slice(0,-3)+"waQ":-1!==t.indexOf("DIS")?e.slice(0,-3)+"nem":e+" pIq"},past:function(t){var e=t;return e=-1!==t.indexOf("jaj")?e.slice(0,-3)+"Hu’":-1!==t.indexOf("jar")?e.slice(0,-3)+"wen":-1!==t.indexOf("DIS")?e.slice(0,-3)+"ben":e+" ret"},s:"puS lup",ss:e,m:"wa’ tup",mm:e,h:"wa’ rep",hh:e,d:"wa’ jaj",dd:e,M:"wa’ jar",MM:e,y:"wa’ DIS",yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})})},function(t,e,n){!function(t,e){e(n(4))}(0,function(t){"use strict";var e={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'üncü",4:"'üncü",100:"'üncü",6:"'ncı",9:"'uncu",10:"'uncu",30:"'uncu",60:"'ıncı",90:"'ıncı"};return t.defineLocale("tr",{months:"Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık".split("_"),monthsShort:"Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_Çar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_Ça_Pe_Cu_Ct".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[yarın saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[dün] LT",lastWeek:"[geçen] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s önce",s:"birkaç saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir yıl",yy:"%d yıl"},ordinal:function(t,n){switch(n){case"d":case"D":case"Do":case"DD":return t;default:if(0===t)return t+"'ıncı";var r=t%10;return t+(e[r]||e[t%100-r]||e[t>=100?100:null])}},week:{dow:1,doy:7}})})},function(t,e,n){!function(t,e){e(n(4))}(0,function(t){"use strict";function e(t,e,n,r){var i={s:["viensas secunds","'iensas secunds"],ss:[t+" secunds",t+" secunds"],m:["'n míut","'iens míut"],mm:[t+" míuts",t+" míuts"],h:["'n þora","'iensa þora"],hh:[t+" þoras",t+" þoras"],d:["'n ziua","'iensa ziua"],dd:[t+" ziuas",t+" ziuas"],M:["'n mes","'iens mes"],MM:[t+" mesen",t+" mesen"],y:["'n ar","'iens ar"],yy:[t+" ars",t+" ars"]};return r?i[n][0]:e?i[n][0]:i[n][1]}return t.defineLocale("tzl",{months:"Januar_Fevraglh_Març_Avrïu_Mai_Gün_Julia_Guscht_Setemvar_Listopäts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_Gün_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"Súladi_Lúneçi_Maitzi_Márcuri_Xhúadi_Viénerçi_Sáturi".split("_"),weekdaysShort:"Súl_Lún_Mai_Már_Xhú_Vié_Sát".split("_"),weekdaysMin:"Sú_Lú_Ma_Má_Xh_Vi_Sá".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(t){return"d'o"===t.toLowerCase()},meridiem:function(t,e,n){return t>11?n?"d'o":"D'O":n?"d'a":"D'A"},calendar:{sameDay:"[oxhi à] LT",nextDay:"[demà à] LT",nextWeek:"dddd [à] LT",lastDay:"[ieiri à] LT",lastWeek:"[sür el] dddd [lasteu à] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})})},function(t,e,n){!function(t,e){e(n(4))}(0,function(t){"use strict";return t.defineLocale("tzm",{months:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),monthsShort:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),weekdays:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysShort:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysMin:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ⴰⵙⴷⵅ ⴴ] LT",nextDay:"[ⴰⵙⴽⴰ ⴴ] LT",nextWeek:"dddd [ⴴ] LT",lastDay:"[ⴰⵚⴰⵏⵜ ⴴ] LT",lastWeek:"dddd [ⴴ] LT",sameElse:"L"},relativeTime:{future:"ⴷⴰⴷⵅ ⵙ ⵢⴰⵏ %s",past:"ⵢⴰⵏ %s",s:"ⵉⵎⵉⴽ",ss:"%d ⵉⵎⵉⴽ",m:"ⵎⵉⵏⵓⴺ",mm:"%d ⵎⵉⵏⵓⴺ",h:"ⵙⴰⵄⴰ",hh:"%d ⵜⴰⵙⵙⴰⵄⵉⵏ",d:"ⴰⵙⵙ",dd:"%d oⵙⵙⴰⵏ",M:"ⴰⵢoⵓⵔ",MM:"%d ⵉⵢⵢⵉⵔⵏ",y:"ⴰⵙⴳⴰⵙ",yy:"%d ⵉⵙⴳⴰⵙⵏ"},week:{dow:6,doy:12}})})},function(t,e,n){!function(t,e){e(n(4))}(0,function(t){"use strict";return t.defineLocale("tzm-latn",{months:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[asdkh g] LT",nextDay:"[aska g] LT",nextWeek:"dddd [g] LT",lastDay:"[assant g] LT",lastWeek:"dddd [g] LT",sameElse:"L"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",ss:"%d imik",m:"minuḍ",mm:"%d minuḍ",h:"saɛa",hh:"%d tassaɛin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}})})},function(t,e,n){!function(t,e){e(n(4))}(0,function(t){"use strict";return t.defineLocale("ug-cn",{months:"يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر".split("_"),monthsShort:"يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر".split("_"),weekdays:"يەكشەنبە_دۈشەنبە_سەيشەنبە_چارشەنبە_پەيشەنبە_جۈمە_شەنبە".split("_"),weekdaysShort:"يە_دۈ_سە_چا_پە_جۈ_شە".split("_"),weekdaysMin:"يە_دۈ_سە_چا_پە_جۈ_شە".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY-يىلىM-ئاينىڭD-كۈنى",LLL:"YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm",LLLL:"dddd، YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm"},meridiemParse:/يېرىم كېچە|سەھەر|چۈشتىن بۇرۇن|چۈش|چۈشتىن كېيىن|كەچ/,meridiemHour:function(t,e){return 12===t&&(t=0),"يېرىم كېچە"===e||"سەھەر"===e||"چۈشتىن بۇرۇن"===e?t:"چۈشتىن كېيىن"===e||"كەچ"===e?t+12:t>=11?t:t+12},meridiem:function(t,e,n){var r=100*t+e;return r<600?"يېرىم كېچە":r<900?"سەھەر":r<1130?"چۈشتىن بۇرۇن":r<1230?"چۈش":r<1800?"چۈشتىن كېيىن":"كەچ"},calendar:{sameDay:"[بۈگۈن سائەت] LT",nextDay:"[ئەتە سائەت] LT",nextWeek:"[كېلەركى] dddd [سائەت] LT",lastDay:"[تۆنۈگۈن] LT",lastWeek:"[ئالدىنقى] dddd [سائەت] LT",sameElse:"L"},relativeTime:{future:"%s كېيىن",past:"%s بۇرۇن",s:"نەچچە سېكونت",ss:"%d سېكونت",m:"بىر مىنۇت",mm:"%d مىنۇت",h:"بىر سائەت",hh:"%d سائەت",d:"بىر كۈن",dd:"%d كۈن",M:"بىر ئاي",MM:"%d ئاي",y:"بىر يىل",yy:"%d يىل"},dayOfMonthOrdinalParse:/\d{1,2}(-كۈنى|-ئاي|-ھەپتە)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"-كۈنى";case"w":case"W":return t+"-ھەپتە";default:return t}},preparse:function(t){return t.replace(/،/g,",")},postformat:function(t){return t.replace(/,/g,"،")},week:{dow:1,doy:7}})})},function(t,e,n){!function(t,e){e(n(4))}(0,function(t){"use strict";function e(t,e,n){return"m"===n?e?"хвилина":"хвилину":"h"===n?e?"година":"годину":t+" "+function(t,e){var n=t.split("_");return e%10==1&&e%100!=11?n[0]:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?n[1]:n[2]}({ss:e?"секунда_секунди_секунд":"секунду_секунди_секунд",mm:e?"хвилина_хвилини_хвилин":"хвилину_хвилини_хвилин",hh:e?"година_години_годин":"годину_години_годин",dd:"день_дні_днів",MM:"місяць_місяці_місяців",yy:"рік_роки_років"}[n],+t)}function n(t){return function(){return t+"о"+(11===this.hours()?"б":"")+"] LT"}}return t.defineLocale("uk",{months:{format:"січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня".split("_"),standalone:"січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень".split("_")},monthsShort:"січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд".split("_"),weekdays:function(t,e){var n={nominative:"неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота".split("_"),accusative:"неділю_понеділок_вівторок_середу_четвер_п’ятницю_суботу".split("_"),genitive:"неділі_понеділка_вівторка_середи_четверга_п’ятниці_суботи".split("_")};return t?n[/(\[[ВвУу]\]) ?dddd/.test(e)?"accusative":/\[?(?:минулої|наступної)? ?\] ?dddd/.test(e)?"genitive":"nominative"][t.day()]:n.nominative},weekdaysShort:"нд_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY р.",LLL:"D MMMM YYYY р., HH:mm",LLLL:"dddd, D MMMM YYYY р., HH:mm"},calendar:{sameDay:n("[Сьогодні "),nextDay:n("[Завтра "),lastDay:n("[Вчора "),nextWeek:n("[У] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return n("[Минулої] dddd [").call(this);case 1:case 2:case 4:return n("[Минулого] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"за %s",past:"%s тому",s:"декілька секунд",ss:e,m:e,mm:e,h:"годину",hh:e,d:"день",dd:e,M:"місяць",MM:e,y:"рік",yy:e},meridiemParse:/ночі|ранку|дня|вечора/,isPM:function(t){return/^(дня|вечора)$/.test(t)},meridiem:function(t,e,n){return t<4?"ночі":t<12?"ранку":t<17?"дня":"вечора"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го)/,ordinal:function(t,e){switch(e){case"M":case"d":case"DDD":case"w":case"W":return t+"-й";case"D":return t+"-го";default:return t}},week:{dow:1,doy:7}})})},function(t,e,n){!function(t,e){e(n(4))}(0,function(t){"use strict";var e=["جنوری","فروری","مارچ","اپریل","مئی","جون","جولائی","اگست","ستمبر","اکتوبر","نومبر","دسمبر"],n=["اتوار","پیر","منگل","بدھ","جمعرات","جمعہ","ہفتہ"];return t.defineLocale("ur",{months:e,monthsShort:e,weekdays:n,weekdaysShort:n,weekdaysMin:n,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd، D MMMM YYYY HH:mm"},meridiemParse:/صبح|شام/,isPM:function(t){return"شام"===t},meridiem:function(t,e,n){return t<12?"صبح":"شام"},calendar:{sameDay:"[آج بوقت] LT",nextDay:"[کل بوقت] LT",nextWeek:"dddd [بوقت] LT",lastDay:"[گذشتہ روز بوقت] LT",lastWeek:"[گذشتہ] dddd [بوقت] LT",sameElse:"L"},relativeTime:{future:"%s بعد",past:"%s قبل",s:"چند سیکنڈ",ss:"%d سیکنڈ",m:"ایک منٹ",mm:"%d منٹ",h:"ایک گھنٹہ",hh:"%d گھنٹے",d:"ایک دن",dd:"%d دن",M:"ایک ماہ",MM:"%d ماہ",y:"ایک سال",yy:"%d سال"},preparse:function(t){return t.replace(/،/g,",")},postformat:function(t){return t.replace(/,/g,"،")},week:{dow:1,doy:4}})})},function(t,e,n){!function(t,e){e(n(4))}(0,function(t){"use strict";return t.defineLocale("uz",{months:"январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split("_"),monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdays:"Якшанба_Душанба_Сешанба_Чоршанба_Пайшанба_Жума_Шанба".split("_"),weekdaysShort:"Якш_Душ_Сеш_Чор_Пай_Жум_Шан".split("_"),weekdaysMin:"Як_Ду_Се_Чо_Па_Жу_Ша".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Бугун соат] LT [да]",nextDay:"[Эртага] LT [да]",nextWeek:"dddd [куни соат] LT [да]",lastDay:"[Кеча соат] LT [да]",lastWeek:"[Утган] dddd [куни соат] LT [да]",sameElse:"L"},relativeTime:{future:"Якин %s ичида",past:"Бир неча %s олдин",s:"фурсат",ss:"%d фурсат",m:"бир дакика",mm:"%d дакика",h:"бир соат",hh:"%d соат",d:"бир кун",dd:"%d кун",M:"бир ой",MM:"%d ой",y:"бир йил",yy:"%d йил"},week:{dow:1,doy:7}})})},function(t,e,n){!function(t,e){e(n(4))}(0,function(t){"use strict";return t.defineLocale("uz-latn",{months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Bugun soat] LT [da]",nextDay:"[Ertaga] LT [da]",nextWeek:"dddd [kuni soat] LT [da]",lastDay:"[Kecha soat] LT [da]",lastWeek:"[O'tgan] dddd [kuni soat] LT [da]",sameElse:"L"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",ss:"%d soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"},week:{dow:1,doy:7}})})},function(t,e,n){!function(t,e){e(n(4))}(0,function(t){"use strict";return t.defineLocale("vi",{months:"tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12".split("_"),monthsShort:"Th01_Th02_Th03_Th04_Th05_Th06_Th07_Th08_Th09_Th10_Th11_Th12".split("_"),monthsParseExact:!0,weekdays:"chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(t){return/^ch$/i.test(t)},meridiem:function(t,e,n){return t<12?n?"sa":"SA":n?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [năm] YYYY",LLL:"D MMMM [năm] YYYY HH:mm",LLLL:"dddd, D MMMM [năm] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[Hôm nay lúc] LT",nextDay:"[Ngày mai lúc] LT",nextWeek:"dddd [tuần tới lúc] LT",lastDay:"[Hôm qua lúc] LT",lastWeek:"dddd [tuần rồi lúc] LT",sameElse:"L"},relativeTime:{future:"%s tới",past:"%s trước",s:"vài giây",ss:"%d giây",m:"một phút",mm:"%d phút",h:"một giờ",hh:"%d giờ",d:"một ngày",dd:"%d ngày",M:"một tháng",MM:"%d tháng",y:"một năm",yy:"%d năm"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(t){return t},week:{dow:1,doy:4}})})},function(t,e,n){!function(t,e){e(n(4))}(0,function(t){"use strict";return t.defineLocale("x-pseudo",{months:"J~áñúá~rý_F~ébrú~árý_~Márc~h_Áp~ríl_~Máý_~Júñé~_Júl~ý_Áú~gúst~_Sép~témb~ér_Ó~ctób~ér_Ñ~óvém~bér_~Décé~mbér".split("_"),monthsShort:"J~áñ_~Féb_~Már_~Ápr_~Máý_~Júñ_~Júl_~Áúg_~Sép_~Óct_~Ñóv_~Déc".split("_"),monthsParseExact:!0,weekdays:"S~úñdá~ý_Mó~ñdáý~_Túé~sdáý~_Wéd~ñésd~áý_T~húrs~dáý_~Fríd~áý_S~átúr~dáý".split("_"),weekdaysShort:"S~úñ_~Móñ_~Túé_~Wéd_~Thú_~Frí_~Sát".split("_"),weekdaysMin:"S~ú_Mó~_Tú_~Wé_T~h_Fr~_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~ódá~ý át] LT",nextDay:"[T~ómó~rró~w át] LT",nextWeek:"dddd [át] LT",lastDay:"[Ý~ést~érdá~ý át] LT",lastWeek:"[L~ást] dddd [át] LT",sameElse:"L"},relativeTime:{future:"í~ñ %s",past:"%s á~gó",s:"á ~féw ~sécó~ñds",ss:"%d s~écóñ~ds",m:"á ~míñ~úté",mm:"%d m~íñú~tés",h:"á~ñ hó~úr",hh:"%d h~óúrs",d:"á ~dáý",dd:"%d d~áýs",M:"á ~móñ~th",MM:"%d m~óñt~hs",y:"á ~ýéár",yy:"%d ý~éárs"},dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})})},function(t,e,n){!function(t,e){e(n(4))}(0,function(t){"use strict";return t.defineLocale("yo",{months:"Sẹ́rẹ́_Èrèlè_Ẹrẹ̀nà_Ìgbé_Èbibi_Òkùdu_Agẹmo_Ògún_Owewe_Ọ̀wàrà_Bélú_Ọ̀pẹ̀̀".split("_"),monthsShort:"Sẹ́r_Èrl_Ẹrn_Ìgb_Èbi_Òkù_Agẹ_Ògú_Owe_Ọ̀wà_Bél_Ọ̀pẹ̀̀".split("_"),weekdays:"Àìkú_Ajé_Ìsẹ́gun_Ọjọ́rú_Ọjọ́bọ_Ẹtì_Àbámẹ́ta".split("_"),weekdaysShort:"Àìk_Ajé_Ìsẹ́_Ọjr_Ọjb_Ẹtì_Àbá".split("_"),weekdaysMin:"Àì_Aj_Ìs_Ọr_Ọb_Ẹt_Àb".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Ònì ni] LT",nextDay:"[Ọ̀la ni] LT",nextWeek:"dddd [Ọsẹ̀ tón'bọ] [ni] LT",lastDay:"[Àna ni] LT",lastWeek:"dddd [Ọsẹ̀ tólọ́] [ni] LT",sameElse:"L"},relativeTime:{future:"ní %s",past:"%s kọjá",s:"ìsẹjú aayá die",ss:"aayá %d",m:"ìsẹjú kan",mm:"ìsẹjú %d",h:"wákati kan",hh:"wákati %d",d:"ọjọ́ kan",dd:"ọjọ́ %d",M:"osù kan",MM:"osù %d",y:"ọdún kan",yy:"ọdún %d"},dayOfMonthOrdinalParse:/ọjọ́\s\d{1,2}/,ordinal:"ọjọ́ %d",week:{dow:1,doy:4}})})},function(t,e,n){!function(t,e){e(n(4))}(0,function(t){"use strict";return t.defineLocale("zh-cn",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(t,e){return 12===t&&(t=0),"凌晨"===e||"早上"===e||"上午"===e?t:"下午"===e||"晚上"===e?t+12:t>=11?t:t+12},meridiem:function(t,e,n){var r=100*t+e;return r<600?"凌晨":r<900?"早上":r<1130?"上午":r<1230?"中午":r<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|周)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"日";case"M":return t+"月";case"w":case"W":return t+"周";default:return t}},relativeTime:{future:"%s内",past:"%s前",s:"几秒",ss:"%d 秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},week:{dow:1,doy:4}})})},function(t,e,n){!function(t,e){e(n(4))}(0,function(t){"use strict";return t.defineLocale("zh-hk",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(t,e){return 12===t&&(t=0),"凌晨"===e||"早上"===e||"上午"===e?t:"中午"===e?t>=11?t:t+12:"下午"===e||"晚上"===e?t+12:void 0},meridiem:function(t,e,n){var r=100*t+e;return r<600?"凌晨":r<900?"早上":r<1130?"上午":r<1230?"中午":r<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"日";case"M":return t+"月";case"w":case"W":return t+"週";default:return t}},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})})},function(t,e,n){!function(t,e){e(n(4))}(0,function(t){"use strict";return t.defineLocale("zh-tw",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(t,e){return 12===t&&(t=0),"凌晨"===e||"早上"===e||"上午"===e?t:"中午"===e?t>=11?t:t+12:"下午"===e||"晚上"===e?t+12:void 0},meridiem:function(t,e,n){var r=100*t+e;return r<600?"凌晨":r<900?"早上":r<1130?"上午":r<1230?"中午":r<1800?"下午":"晚上"},calendar:{sameDay:"[今天] LT",nextDay:"[明天] LT",nextWeek:"[下]dddd LT",lastDay:"[昨天] LT",lastWeek:"[上]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"日";case"M":return t+"月";case"w":case"W":return t+"週";default:return t}},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})})},function(t,e,n){"use strict";n.d(e,"a",function(){return a});var r=n(197),i=n(11),o=n(49),s=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),a=function(t){function e(e,n,r){void 0===r&&(r={});var i=t.call(this,e,n,r)||this;return i.slide=null,i}return s(e,t),e.prototype.getSlideBoundaries=function(t,e){return{min:0,max:this.getNativeElement().offsetWidth}},e.prototype.getElementStartPos=function(t,e){return 0},e.prototype.onDragStart=function(t){this.onSlideBeforeStart(t);var e=Object(o.f)(t)[this.direction];this.slide={min:0,max:0,pointerStartPos:e,pos:e,timestamp:Date.now(),elementStartPos:0,started:!0,delta:0,distance:0,velocity:0};var n=this.getSlideBoundaries(this.slide,t),r=n.max;this.slide.min=n.min,this.slide.max=r,this.slide.elementStartPos=this.getElementStartPos(this.slide,t),this.onSlideStart(this.slide,t)},e.prototype.onDragMove=function(t){var e=this.slide,n=Object(o.f)(t)[this.direction],r=Date.now(),s=(this.plt.isRTL?e.pos-n:n-e.pos)/(r-e.timestamp);e.pos=n,e.timestamp=r,e.distance=Object(i.a)(e.min,(this.plt.isRTL?e.pointerStartPos-n:n-e.pointerStartPos)+e.elementStartPos,e.max),e.velocity=s,e.delta=this.plt.isRTL?e.pointerStartPos-n:n-e.pointerStartPos,this.onSlide(e,t)},e.prototype.onDragEnd=function(t){this.onSlideEnd(this.slide,t),this.slide=null},e.prototype.onSlideBeforeStart=function(t){},e.prototype.onSlideStart=function(t,e){},e.prototype.onSlide=function(t,e){},e.prototype.onSlideEnd=function(t,e){},e}(r.a)},function(t,e,n){"use strict";n.d(e,"b",function(){return r}),n.d(e,"a",function(){return o});var r=function(){function t(t,e,n,r,i,o){this.plt=t,this.ele=e,this.pointerDown=n,this.pointerMove=r,this.pointerUp=i,this.option=o,this.rmTouchStart=null,this.rmTouchMove=null,this.rmTouchEnd=null,this.rmTouchCancel=null,this.rmMouseStart=null,this.rmMouseMove=null,this.rmMouseUp=null,this.lastTouchEvent=0,this.mouseWait=2e3,this.bindTouchEnd=this.handleTouchEnd.bind(this),this.bindMouseUp=this.handleMouseUp.bind(this),this.rmTouchStart=this.plt.registerListener(e,"touchstart",this.handleTouchStart.bind(this),o),this.rmMouseStart=this.plt.registerListener(e,"mousedown",this.handleMouseDown.bind(this),o)}return t.prototype.handleTouchStart=function(t){this.lastTouchEvent=Date.now()+this.mouseWait,this.lastEventType=o,this.pointerDown(t,o)&&(!this.rmTouchMove&&this.pointerMove&&(this.rmTouchMove=this.plt.registerListener(this.ele,"touchmove",this.pointerMove,this.option)),this.rmTouchEnd||(this.rmTouchEnd=this.plt.registerListener(this.ele,"touchend",this.bindTouchEnd,this.option)),this.rmTouchCancel||(this.rmTouchCancel=this.plt.registerListener(this.ele,"touchcancel",this.bindTouchEnd,this.option)))},t.prototype.handleMouseDown=function(t){this.lastTouchEvent>Date.now()||(this.lastEventType=i,this.pointerDown(t,i)&&(!this.rmMouseMove&&this.pointerMove&&(this.rmMouseMove=this.plt.registerListener(this.plt.doc(),"mousemove",this.pointerMove,this.option)),this.rmMouseUp||(this.rmMouseUp=this.plt.registerListener(this.plt.doc(),"mouseup",this.bindMouseUp,this.option))))},t.prototype.handleTouchEnd=function(t){this.stopTouch(),this.pointerUp&&this.pointerUp(t,o)},t.prototype.handleMouseUp=function(t){this.stopMouse(),this.pointerUp&&this.pointerUp(t,i)},t.prototype.stopTouch=function(){this.rmTouchMove&&this.rmTouchMove(),this.rmTouchEnd&&this.rmTouchEnd(),this.rmTouchCancel&&this.rmTouchCancel(),this.rmTouchMove=this.rmTouchEnd=this.rmTouchCancel=null},t.prototype.stopMouse=function(){this.rmMouseMove&&this.rmMouseMove(),this.rmMouseUp&&this.rmMouseUp(),this.rmMouseMove=this.rmMouseUp=null},t.prototype.stop=function(){this.stopTouch(),this.stopMouse()},t.prototype.destroy=function(){this.rmTouchStart&&this.rmTouchStart(),this.rmMouseStart&&this.rmMouseStart(),this.stop(),this.ele=this.pointerUp=this.pointerMove=this.pointerDown=this.rmTouchStart=this.rmMouseStart=null},t}(),i=1,o=2},function(t,e,n){"use strict"},function(t,e,n){"use strict";n(6),n(26),this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])}}()},function(t,e,n){"use strict";n(6),n(26),this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])}}()},function(t,e,n){"use strict";n(6),n(26),this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])}}()},function(t,e,n){"use strict";n(6),n(26),this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])}}()},function(t,e,n){"use strict";n(6),n(26),this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])}}()},function(t,e,n){"use strict";n.d(e,"a",function(){return r});var r=function(){function t(t){this.wait=t,this.timer=null}return t.prototype.debounce=function(t){this.callback=t,this.schedule()},t.prototype.schedule=function(){this.cancel(),this.wait<=0?this.callback():this.timer=setTimeout(this.callback,this.wait)},t.prototype.cancel=function(){this.timer&&(clearTimeout(this.timer),this.timer=null)},t}()},function(t,e,n){"use strict";n.d(e,"a",function(){return i});var r=n(49),i=function(){function t(t,e,n){this._app=t,this._plt=e,this._dom=n,this.isScrolling=!1,this.initialized=!1,this._eventsEnabled=!1,this._t=0,this._l=0,this.ev={timeStamp:0,scrollTop:0,scrollLeft:0,scrollHeight:0,scrollWidth:0,contentHeight:0,contentWidth:0,contentTop:0,contentBottom:0,startY:0,startX:0,deltaY:0,deltaX:0,velocityY:0,velocityX:0,directionY:"down",directionX:null,domWrite:n.write.bind(n)}}return t.prototype.init=function(t,e,n){this._el=t,this.initialized||(this.initialized=!0,this._js?this.enableJsScroll(e,n):this.enableNativeScrolling())},t.prototype.enableEvents=function(){this._eventsEnabled=!0},t.prototype.setScrolling=function(t,e){this.isScrolling?t?this.onScroll&&this.onScroll(e):(this.isScrolling=!1,this.onScrollEnd&&this.onScrollEnd(e)):t&&(this.isScrolling=!0,this.onScrollStart&&this.onScrollStart(e))},t.prototype.enableNativeScrolling=function(){if(this._js=!1,this._el){var t=this,e=t.ev,n=[];t._lsn&&t._lsn(),t._lsn=t._plt.registerListener(t._el,"scroll",function(r){if(t._app.setScrolling(),t._eventsEnabled){if(e.timeStamp=r.timeStamp,e.timeStamp||(e.timeStamp=Date.now()),e.scrollTop=t.getTop(),e.scrollLeft=t.getLeft(),t.isScrolling||(e.startY=e.scrollTop,e.startX=e.scrollLeft,e.velocityY=e.velocityX=0,e.deltaY=e.deltaX=0,n.length=0),n.push(e.scrollTop,e.scrollLeft,e.timeStamp),n.length>3){e.deltaY=e.scrollTop-e.startY,e.deltaX=e.scrollLeft-e.startX;for(var i=n.length-1,s=i,a=e.timeStamp-100,u=i;u>0&&n[u]>a;u-=3)s=u;if(s!==i){var c=n[s-2]-n[i-2],d=n[s-1]-n[i-1],h=l/(n[i]-n[s]);e.velocityY=c*h,e.velocityX=d*h,e.directionY=c>0?"up":"down",e.directionX=d>0?"left":"right"}}t.setScrolling(!0,e),t._dom.cancel(t._endTmr),t._endTmr=t._dom.read(function(){e.velocityY=e.velocityX=0,t.setScrolling(!1,e),t._endTmr=null},o)}},c)}},t.prototype.enableJsScroll=function(t,e){function n(){f||(f=d.scrollHeight-d.parentElement.offsetHeight+t+e)}function i(t){p.timeStamp=t,p.velocityY&&(p.velocityY*=u,n(),o._t=Math.min(Math.max(o._t+p.velocityY,0),f),p.scrollTop=o._t,o.onScroll(p),o._dom.write(function(){o.setTop(o._t),o._t>0&&o._t<f&&Math.abs(p.velocityY)>a?h=o._dom.read(function(t){i(t)}):(o.isScrolling=!1,p.velocityY=p.velocityX=0,o.onScrollEnd(p))}))}var o=this;o._js=!0;var d=o._el;if(d){var h,f,p=o.ev,m=[],_=o._plt,g=_.registerListener(d,"touchstart",function(t){m.length=0,f=null,o._dom.cancel(h),m.push(Object(r.f)(t).y,t.timeStamp)},c),v=_.registerListener(d,"touchmove",function(t){if(m.length){p.timeStamp=t.timeStamp;var e=Object(r.f)(t).y;n(),o._t-=e-m[m.length-2],o._t=Math.min(Math.max(o._t,0),f),m.push(e,p.timeStamp),o.isScrolling||(p.startY=o._t,p.velocityY=p.deltaY=0,o.isScrolling=!0,o.onScrollStart(p)),o._dom.write(function(){o.setTop(o._t)})}},c),y=_.registerListener(d,"touchend",function(t){if(o._dom.cancel(h),!m.length&&o.isScrolling)return o.isScrolling=!1,p.velocityY=p.velocityX=0,void o.onScrollEnd(p);var e=Object(r.f)(t).y;m.push(e,t.timeStamp);for(var a=m.length-1,u=a,c=t.timeStamp-100,d=a;d>0&&m[d]>c;d-=2)u=d;u!==a?(p.velocityY=(m[u-1]-m[a-1])/(m[a]-m[u])*l,Math.abs(p.velocityY)>s&&(n(),h=o._dom.read(function(t){i(t)}))):(o.isScrolling=!1,p.velocityY=0,o.onScrollEnd(p));m.length=0},c);d.parentElement.classList.add("js-scroll"),o._lsn&&o._lsn(),o._lsn=function(){g(),v(),y(),d.parentElement.classList.remove("js-scroll")}}},t.prototype.getTop=function(){return this._js?this._t:this._t=this._el.scrollTop},t.prototype.getLeft=function(){return this._js?0:this._l=this._el.scrollLeft},t.prototype.setTop=function(t){this._t=t,this._js?this._el.style[this._plt.Css.transform]="translate3d("+-1*this._l+"px,"+-1*t+"px,0px)":this._el.scrollTop=t},t.prototype.setLeft=function(t){this._l=t,this._js?this._el.style[this._plt.Css.transform]="translate3d("+-1*t+"px,"+-1*this._t+"px,0px)":this._el.scrollLeft=t},t.prototype.scrollTo=function(t,e,n,r){function i(o){if(f++,!s._el||p||f>d)return s.setScrolling(!1,null),a.style[h]="",void r();var m=Math.min(1,(o-u)/n),_=--m*m*m+1;l!==e&&s.setTop(_*(e-l)+l),c!==t&&s.setLeft(Math.floor(_*(t-c)+c)),_<1?s._plt.raf(i):(p=!0,s.setScrolling(!1,null),a.style[h]="",r())}var o;void 0===r&&(o=new Promise(function(t){r=t}));var s=this,a=s._el;if(!a)return r(),o;if(n<32)return s.setTop(e),s.setLeft(t),r(),o;var u,l=a.scrollTop,c=a.scrollLeft,d=n/16+100,h=s._plt.Css.transform,f=0,p=!1;return s.setScrolling(!0,null),s.isScrolling=!0,s._dom.write(function(t){u=t,i(t)},16),o},t.prototype.scrollToTop=function(t){return this.scrollTo(0,0,t)},t.prototype.scrollToBottom=function(t){var e=0;return this._el&&(e=this._el.scrollHeight-this._el.clientHeight),this.scrollTo(0,e,t)},t.prototype.stop=function(){this.setScrolling(!1,null)},t.prototype.destroy=function(){this.stop(),this._endTmr&&this._dom.cancel(this._endTmr),this._lsn&&this._lsn();var t=this.ev;t.domWrite=t.contentElement=t.fixedElement=t.scrollElement=t.headerElement=null,this._lsn=this._el=this._dom=this.ev=t=null,this.onScrollStart=this.onScroll=this.onScrollEnd=null},t}(),o=80,s=4,a=.12,u=.97,l=1e3/60,c={passive:!0,zone:!1}},function(t,e,n){"use strict";function r(t){return t.$ionIndex}e.b=r,e.a=function(t,e){for(var n=0;t&&n<4;){if(void 0!==r(t))return e&&t.parentNode!==e?null:t;t=t.parentNode,n++}return null}},function(t,e,n){"use strict";n(6),n(26),this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])}}()},function(t,e,n){"use strict";var r=n(1),i=n(11),o=n(200),s=n(61),a=n(112),u=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return u(e,t),e.prototype.init=function(){var t=this.enteringView.pageRef().nativeElement,e=new s.a(this.plt,t.querySelector("ion-backdrop")),n=new s.a(this.plt,t.querySelector(".picker-wrapper"));e.fromTo("opacity",.01,.26),n.fromTo("translateY","100%","0%"),this.easing("cubic-bezier(.36,.66,.04,1)").duration(400).add(e).add(n)},e}(a.a),c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return u(e,t),e.prototype.init=function(){var t=this.leavingView.pageRef().nativeElement,e=new s.a(this.plt,t.querySelector("ion-backdrop")),n=new s.a(this.plt,t.querySelector(".picker-wrapper"));e.fromTo("opacity",.26,0),n.fromTo("translateY","0%","100%"),this.easing("cubic-bezier(.36,.66,.04,1)").duration(450).add(e).add(n)},e}(a.a),d=n(18);n.d(e,"a",function(){return f});var h=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),f=function(t){function e(e,n,s){void 0===n&&(n={});var a=this;return n||(n={}),n.columns=n.columns||[],n.buttons=n.buttons||[],n.enableBackdropDismiss=!Object(i.l)(n.enableBackdropDismiss)||Boolean(n.enableBackdropDismiss),a=t.call(this,o.a,n,null)||this,a._app=e,a.isOverlay=!0,a.ionChange=new r.EventEmitter,s.setTransition("picker-slide-in",l),s.setTransition("picker-slide-out",c),a}return h(e,t),e.prototype.getTransitionName=function(t){return this._nav&&this._nav.config.get("back"===t?"pickerLeave":"pickerEnter")},e.prototype.addButton=function(t){this.data.buttons.push(t)},e.prototype.addColumn=function(t){this.data.columns.push(t)},e.prototype.getColumns=function(){return this.data.columns},e.prototype.getColumn=function(t){return this.getColumns().find(function(e){return e.name===t})},e.prototype.refresh=function(){this._cmp&&this._cmp.instance.refresh&&this._cmp.instance.refresh()},e.prototype.setCssClass=function(t){this.data.cssClass=t},e.prototype.present=function(t){return void 0===t&&(t={}),this._app.present(this,t)},e}(d.a)},function(t,e,n){"use strict";n(16),n(100),n(201),n(285)},function(t,e,n){"use strict";n(67),n(30),n(11),n(16)},function(t,e,n){"use strict";var r=n(11),i=n(152),o=n(203),s=n(61),a=n(112),u=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return u(e,t),e.prototype.init=function(){var t=this.enteringView.pageRef().nativeElement,e=new s.a(this.plt,t.querySelector("ion-backdrop")),n=new s.a(this.plt,t.querySelector(".loading-wrapper"));n.fromTo("opacity",.01,1).fromTo("scale",1.1,1),e.fromTo("opacity",.01,.3),this.easing("ease-in-out").duration(200).add(e).add(n)},e}(a.a),c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return u(e,t),e.prototype.init=function(){var t=this.leavingView.pageRef().nativeElement,e=new s.a(this.plt,t.querySelector("ion-backdrop")),n=new s.a(this.plt,t.querySelector(".loading-wrapper"));n.fromTo("opacity",.99,0).fromTo("scale",1,.9),e.fromTo("opacity",.3,0),this.easing("ease-in-out").duration(200).add(e).add(n)},e}(a.a),d=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return u(e,t),e.prototype.init=function(){var t=this.enteringView.pageRef().nativeElement,e=new s.a(this.plt,t.querySelector("ion-backdrop")),n=new s.a(this.plt,t.querySelector(".loading-wrapper"));n.fromTo("opacity",.01,1).fromTo("scale",1.1,1),e.fromTo("opacity",.01,.5),this.easing("ease-in-out").duration(200).add(e).add(n)},e}(a.a),h=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return u(e,t),e.prototype.init=function(){var t=this.leavingView.pageRef().nativeElement,e=new s.a(this.plt,t.querySelector("ion-backdrop")),n=new s.a(this.plt,t.querySelector(".loading-wrapper"));n.fromTo("opacity",.99,0).fromTo("scale",1,.9),e.fromTo("opacity",.5,0),this.easing("ease-in-out").duration(200).add(e).add(n)},e}(a.a),f=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return u(e,t),e.prototype.init=function(){var t=this.enteringView.pageRef().nativeElement,e=new s.a(this.plt,t.querySelector("ion-backdrop")),n=new s.a(this.plt,t.querySelector(".loading-wrapper"));n.fromTo("opacity",.01,1).fromTo("scale",1.3,1),e.fromTo("opacity",.01,.16),this.easing("cubic-bezier(0,0,0.05,1)").duration(200).add(e).add(n)},e}(a.a),p=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return u(e,t),e.prototype.init=function(){var t=this.leavingView.pageRef().nativeElement,e=new s.a(this.plt,t.querySelector("ion-backdrop")),n=new s.a(this.plt,t.querySelector(".loading-wrapper"));n.fromTo("opacity",.99,0).fromTo("scale",1,1.3),e.fromTo("opacity",.16,0),this.easing("ease-out").duration(150).add(e).add(n)},e}(a.a),m=n(18);n.d(e,"a",function(){return g});var _=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),g=function(t){function e(e,n,i){void 0===n&&(n={});var s=this;return n.showBackdrop=!Object(r.l)(n.showBackdrop)||!!n.showBackdrop,n.enableBackdropDismiss=!!Object(r.l)(n.enableBackdropDismiss)&&!!n.enableBackdropDismiss,n.dismissOnPageChange=!!Object(r.l)(n.dismissOnPageChange)&&!!n.dismissOnPageChange,s=t.call(this,o.a,n,null)||this,s._app=e,s.isOverlay=!0,i.setTransition("loading-pop-in",l),i.setTransition("loading-pop-out",c),i.setTransition("loading-md-pop-in",d),i.setTransition("loading-md-pop-out",h),i.setTransition("loading-wp-pop-in",f),i.setTransition("loading-wp-pop-out",p),s}return _(e,t),e.prototype.getTransitionName=function(t){return this._nav&&this._nav.config.get("back"===t?"loadingLeave":"loadingEnter")},e.prototype.setContent=function(t){return this.data.content=t,this},e.prototype.setSpinner=function(t){return this.data.spinner=t,this},e.prototype.setCssClass=function(t){return this.data.cssClass=t,this},e.prototype.setShowBackdrop=function(t){return this.data.showBackdrop=t,this},e.prototype.setDuration=function(t){return this.data.duration=t,this},e.prototype.present=function(t){return void 0===t&&(t={}),this._app.present(this,t,i.b)},e.prototype.dismissAll=function(){this._nav&&this._nav.popAll()},e}(m.a)},function(t,e,n){"use strict"},function(t,e,n){"use strict";n.d(e,"a",function(){return o});var r=n(26),i=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),o=function(t){function e(e,n,r){return t.call(this,e,n,r,"toolbar")||this}return i(e,t),e.prototype._setTitle=function(t){this._title=t},e.prototype.getTitleText=function(){return this._title&&this._title.getTitleText()||""},e}(r.a)},function(t,e,n){"use strict";var r=n(653),i=n(11),o=n(152),s=n(205),a=n(61),u=n(123),l=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return l(e,t),e.prototype.init=function(){t.prototype.init.call(this);var e=this.enteringView.pageRef().nativeElement,n=e.querySelector("ion-backdrop"),r=new a.a(this.plt,n),i=new a.a(this.plt,e.querySelector(".modal-wrapper"));i.beforeStyles({opacity:1}),i.fromTo("translateY","100%","0%"),r.fromTo("opacity",.01,.4),this.element(this.enteringView.pageRef()).easing("cubic-bezier(0.36,0.66,0.04,1)").duration(400).add(r).add(i)},e}(u.a),d=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return l(e,t),e.prototype.init=function(){t.prototype.init.call(this);var e=this.leavingView.pageRef().nativeElement,n=new a.a(this.plt,e.querySelector("ion-backdrop")),r=e.querySelector(".modal-wrapper"),i=r.getBoundingClientRect(),o=new a.a(this.plt,r);o.fromTo("translateY","0px",this.plt.height()-i.top+"px"),n.fromTo("opacity",.4,0),this.element(this.leavingView.pageRef()).easing("ease-out").duration(250).add(n).add(o)},e}(u.a),h=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return l(e,t),e.prototype.init=function(){t.prototype.init.call(this);var e=this.enteringView.pageRef().nativeElement,n=new a.a(this.plt,e.querySelector("ion-backdrop")),r=new a.a(this.plt,e.querySelector(".modal-wrapper"));n.fromTo("opacity",.01,.4),r.fromTo("translateY","40px","0px"),r.fromTo("opacity",.01,1);this.element(this.enteringView.pageRef()).easing("cubic-bezier(0.36,0.66,0.04,1)").duration(280).add(n).add(r)},e}(u.a),f=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return l(e,t),e.prototype.init=function(){t.prototype.init.call(this);var e=this.leavingView.pageRef().nativeElement,n=new a.a(this.plt,e.querySelector("ion-backdrop")),r=new a.a(this.plt,e.querySelector(".modal-wrapper"));n.fromTo("opacity",.4,0),r.fromTo("translateY","0px","40px"),r.fromTo("opacity",.99,0),this.element(this.leavingView.pageRef()).duration(200).easing("cubic-bezier(0.47,0,0.745,0.715)").add(r).add(n)},e}(u.a),p=n(18),m=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),_=function(t){function e(e,n,r,o,a){void 0===o&&(o={});var u=this;return r=r||{},r.component=n,o.showBackdrop=!Object(i.l)(o.showBackdrop)||!!o.showBackdrop,o.enableBackdropDismiss=!Object(i.l)(o.enableBackdropDismiss)||!!o.enableBackdropDismiss,r.opts=o,u=t.call(this,s.a,r,null)||this,u._app=e,u._enterAnimation=o.enterAnimation,u._leaveAnimation=o.leaveAnimation,u.isOverlay=!0,a.setTransition("modal-slide-in",c),a.setTransition("modal-slide-out",d),a.setTransition("modal-md-slide-in",h),a.setTransition("modal-md-slide-out",f),u}return m(e,t),e.prototype.getTransitionName=function(t){var e;if("back"===t){if(this._leaveAnimation)return this._leaveAnimation;e="modalLeave"}else{if(this._enterAnimation)return this._enterAnimation;e="modalEnter"}return this._nav&&this._nav.config.get(e)},e.prototype.present=function(t){return void 0===t&&(t={}),t.minClickBlockDuration=t.minClickBlockDuration||400,this._app.present(this,t,o.c)},e}(p.a);n.d(e,"a",function(){return v});var g=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),v=function(t){function e(e,n,r,i,o,s){void 0===i&&(i={});var a=t.call(this,e,n,o,s)||this;return a.data=r,a.opts=i,a.isOverlay=!0,a}return g(e,t),e.prototype.getImplementation=function(){return new _(this._app,this._component,this.data,this.opts,this._config)},e}(r.a)},function(t,e,n){"use strict";n.d(e,"a",function(){return i});var r=n(11),i=function(){function t(t,e,n,r){this._app=t,this._component=e,this._config=n,this._deepLinker=r}return t.prototype.getImplementation=function(){throw new Error('Child class must implement "getImplementation" method')},t.prototype.present=function(t){var e=this;void 0===t&&(t={});return Object(r.n)(this._component)?this._deepLinker.getComponentFromName(this._component).then(function(n){return e._component=n,e.createAndPresentOverlay(t)}):this.createAndPresentOverlay(t)},t.prototype.dismiss=function(t,e,n){if(this.overlay)return this.overlay.dismiss(t,e,n)},t.prototype.onDidDismiss=function(t){this._onDidDismiss=t,this.overlay&&this.overlay.onDidDismiss(this._onDidDismiss)},t.prototype.createAndPresentOverlay=function(t){return this.overlay=this.getImplementation(),this.overlay.onWillDismiss(this._onWillDismiss),this.overlay.onDidDismiss(this._onDidDismiss),this.overlay.present(t)},t.prototype.onWillDismiss=function(t){this._onWillDismiss=t,this.overlay&&this.overlay.onWillDismiss(this._onWillDismiss)},t}()},,,function(t,e,n){"use strict";function r(t,e,n){return setTimeout(a(t,n),e)}function i(t,e,n){return!!Array.isArray(t)&&(o(t,n[e],n),!0)}function o(t,e,n){var r;if(t)if(t.forEach)t.forEach(e,n);else if(void 0!==t.length)for(r=0;r<t.length;)e.call(n,t[r],r,t),r++;else for(r in t)t.hasOwnProperty(r)&&e.call(n,t[r],r,t)}function s(t,e,n){var r,i=e.prototype;(r=t.prototype=Object.create(i)).constructor=t,r._super=i,n&&Object.assign(r,n)}function a(t,e){return function(){return t.apply(e,arguments)}}function u(t,e){return typeof t==Q?t.apply(e?e[0]||void 0:void 0,e):t}function l(t,e){return void 0===t?e:t}function c(t,e,n){o(p(e),function(e){t.addEventListener(e,n,!1)})}function d(t,e,n){o(p(e),function(e){t.removeEventListener(e,n,!1)})}function h(t,e){for(;t;){if(t==e)return!0;t=t.parentNode}return!1}function f(t,e){return t.indexOf(e)>-1}function p(t){return t.trim().split(/\s+/g)}function m(t,e,n){if(t.indexOf&&!n)return t.indexOf(e);for(var r=0;r<t.length;){if(n&&t[r][n]==e||!n&&t[r]===e)return r;r++}return-1}function _(t){return Array.prototype.slice.call(t,0)}function g(t,e,n){for(var r=[],i=[],o=0;o<t.length;){var s=e?t[o][e]:t[o];m(i,s)<0&&r.push(t[o]),i[o]=s,o++}return n&&(r=e?r.sort(function(t,n){return t[e]>n[e]?1:0}):r.sort()),r}function v(t,e){for(var n,r,i=e[0].toUpperCase()+e.slice(1),o=0;o<$.length;){if(n=$[o],(r=n?n+i:e)in t)return r;o++}}function y(t){var e=t.ownerDocument||t;return e.defaultView||e.parentWindow||window}function b(t,e){var n=this;this.manager=t,this.callback=e,this.element=t.element,this.target=t.options.inputTarget,this.domHandler=function(e){u(t.options.enable,[t])&&n.handler(e)},this.init()}function w(t,e,n){var r=n.pointers.length,i=n.changedPointers.length,o=e&ut&&r-i==0,s=e&(ct|dt)&&r-i==0;n.isFirst=!!o,n.isFinal=!!s,o&&(t.session={}),n.eventType=e,function(t,e){var n=t.session,r=e.pointers,i=r.length;n.firstInput||(n.firstInput=S(e));i>1&&!n.firstMultiple?n.firstMultiple=S(e):1===i&&(n.firstMultiple=!1);var o=n.firstInput,s=n.firstMultiple,a=s?s.center:o.center,u=e.center=T(r);e.timeStamp=nt(),e.deltaTime=e.timeStamp-o.timeStamp,e.angle=C(a,u),e.distance=x(a,u),function(t,e){var n=e.center,r=t.offsetDelta||{},i=t.prevDelta||{},o=t.prevInput||{};e.eventType!==ut&&o.eventType!==ct||(i=t.prevDelta={x:o.deltaX||0,y:o.deltaY||0},r=t.offsetDelta={x:n.x,y:n.y});e.deltaX=i.x+(n.x-r.x),e.deltaY=i.y+(n.y-r.y)}(n,e),e.offsetDirection=M(e.deltaX,e.deltaY);var l=E(e.deltaTime,e.deltaX,e.deltaY);e.overallVelocityX=l.x,e.overallVelocityY=l.y,e.overallVelocity=et(l.x)>et(l.y)?l.x:l.y,e.scale=s?function(t,e){return x(e[0],e[1],wt)/x(t[0],t[1],wt)}(s.pointers,r):1,e.rotation=s?function(t,e){return C(e[1],e[0],wt)+C(t[1],t[0],wt)}(s.pointers,r):0,e.maxPointers=n.prevInput?e.pointers.length>n.prevInput.maxPointers?e.pointers.length:n.prevInput.maxPointers:e.pointers.length,function(t,e){var n,r,i,o,s=t.lastInterval||e,a=e.timeStamp-s.timeStamp;if(e.eventType!=dt&&(a>at||void 0===s.velocity)){var u=e.deltaX-s.deltaX,l=e.deltaY-s.deltaY,c=E(a,u,l);r=c.x,i=c.y,n=et(c.x)>et(c.y)?c.x:c.y,o=M(u,l),t.lastInterval=e}else n=s.velocity,r=s.velocityX,i=s.velocityY,o=s.direction;e.velocity=n,e.velocityX=r,e.velocityY=i,e.direction=o}(n,e);var c=t.element;h(e.srcEvent.target,c)&&(c=e.srcEvent.target);e.target=c}(t,n),t.emit("hammer.input",n),t.recognize(n),t.session.prevInput=n}function S(t){for(var e=[],n=0;n<t.pointers.length;)e[n]={clientX:tt(t.pointers[n].clientX),clientY:tt(t.pointers[n].clientY)},n++;return{timeStamp:nt(),pointers:e,center:T(e),deltaX:t.deltaX,deltaY:t.deltaY}}function T(t){var e=t.length;if(1===e)return{x:tt(t[0].clientX),y:tt(t[0].clientY)};for(var n=0,r=0,i=0;i<e;)n+=t[i].clientX,r+=t[i].clientY,i++;return{x:tt(n/e),y:tt(r/e)}}function E(t,e,n){return{x:e/t||0,y:n/t||0}}function M(t,e){return t===e?ht:et(t)>=et(e)?t<0?ft:pt:e<0?mt:_t}function x(t,e,n){n||(n=bt);var r=e[n[0]]-t[n[0]],i=e[n[1]]-t[n[1]];return Math.sqrt(r*r+i*i)}function C(t,e,n){n||(n=bt);var r=e[n[0]]-t[n[0]],i=e[n[1]]-t[n[1]];return 180*Math.atan2(i,r)/Math.PI}function O(t,e){this.evEl=Tt,this.evWin=Et,this.allow=!0,this.pressed=!1,b.apply(this,arguments)}function D(){this.evEl=Ct,this.evWin=Ot,b.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}function k(){this.evTarget=kt,this.evWin=Lt,this.started=!1,b.apply(this,arguments)}function L(t,e){this.evTarget=It,this.targetIds={},b.apply(this,arguments)}function A(){b.apply(this,arguments);var t=a(this.handler,this);this.touch=new L(this.manager,t),this.mouse=new O(this.manager,t)}function I(t,e){this.manager=t,this.set(e)}function P(t){this.options=Object.assign({},this.defaults,t||{}),this.id=rt++,this.manager=null,this.options.enable=l(this.options.enable,!0),this.state=Bt,this.simultaneous={},this.requireFail=[]}function R(t){return t&qt?"cancel":t&Wt?"end":t&zt?"move":t&Vt?"start":""}function N(t){return t==_t?"down":t==mt?"up":t==ft?"left":t==pt?"right":""}function j(t,e){var n=e.manager;return n?n.get(t):t}function Y(){P.apply(this,arguments)}function F(){Y.apply(this,arguments),this.pX=null,this.pY=null}function H(){Y.apply(this,arguments)}function B(){P.apply(this,arguments),this._timer=null,this._input=null}function V(){Y.apply(this,arguments)}function z(){Y.apply(this,arguments)}function W(){P.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}function U(t,e){return e=e||{},e.recognizers=l(e.recognizers,Gt.preset),new q(t,e)}function q(t,e){this.options=Object.assign({},Gt,e||{}),this.options.inputTarget=this.options.inputTarget||t,this.handlers={},this.session={},this.recognizers=[],this.element=t,this.input=function(t){var e=t.options.inputClass;return new(e||(ot?D:st?L:it?A:O))(t,w)}(this),this.touchAction=new I(this,this.options.touchAction),G(this,!0),o(this.options.recognizers,function(t){var e=this.add(new t[0](t[1]));t[2]&&e.recognizeWith(t[2]),t[3]&&e.requireFailure(t[3])},this)}function G(t,e){var n=t.element;n.style&&o(t.options.cssProps,function(t,r){n.style[v(n.style,r)]=e?t:""})}var X=n(11),K=window,Z=document,$=["","webkit","Moz","MS","ms","o"],J=Z.createElement("div"),Q="function",tt=Math.round,et=Math.abs,nt=Date.now,rt=1,it="ontouchstart"in window,ot=void 0!==v(window,"PointerEvent"),st=it&&/mobile|tablet|ip(ad|hone|od)|android/i.test(navigator.userAgent),at=25,ut=1,lt=2,ct=4,dt=8,ht=1,ft=2,pt=4,mt=8,_t=16,gt=ft|pt,vt=mt|_t,yt=gt|vt,bt=["x","y"],wt=["clientX","clientY"];b.prototype={handler:function(){},init:function(){this.evEl&&c(this.element,this.evEl,this.domHandler),this.evTarget&&c(this.target,this.evTarget,this.domHandler),this.evWin&&c(y(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&d(this.element,this.evEl,this.domHandler),this.evTarget&&d(this.target,this.evTarget,this.domHandler),this.evWin&&d(y(this.element),this.evWin,this.domHandler)}};var St={mousedown:ut,mousemove:lt,mouseup:ct},Tt="mousedown",Et="mousemove mouseup";s(O,b,{handler:function(t){var e=St[t.type];e&ut&&0===t.button&&(this.pressed=!0),e&lt&&1!==t.which&&(e=ct),this.pressed&&this.allow&&(e&ct&&(this.pressed=!1),this.callback(this.manager,e,{pointers:[t],changedPointers:[t],pointerType:"mouse",srcEvent:t}))}});var Mt={pointerdown:ut,pointermove:lt,pointerup:ct,pointercancel:dt,pointerout:dt},xt={2:"touch",3:"pen",4:"mouse",5:"kinect"},Ct="pointerdown",Ot="pointermove pointerup pointercancel";K.MSPointerEvent&&!K.PointerEvent&&(Ct="MSPointerDown",Ot="MSPointerMove MSPointerUp MSPointerCancel"),s(D,b,{handler:function(t){var e=this.store,n=!1,r=t.type.toLowerCase().replace("ms",""),i=Mt[r],o=xt[t.pointerType]||t.pointerType,s="touch"==o,a=m(e,t.pointerId,"pointerId");i&ut&&(0===t.button||s)?a<0&&(e.push(t),a=e.length-1):i&(ct|dt)&&(n=!0),a<0||(e[a]=t,this.callback(this.manager,i,{pointers:e,changedPointers:[t],pointerType:o,srcEvent:t}),n&&e.splice(a,1))}});var Dt={touchstart:ut,touchmove:lt,touchend:ct,touchcancel:dt},kt="touchstart",Lt="touchstart touchmove touchend touchcancel";s(k,b,{handler:function(t){var e=Dt[t.type];if(e===ut&&(this.started=!0),this.started){var n=function(t,e){var n=_(t.touches),r=_(t.changedTouches);return e&(ct|dt)&&(n=g(n.concat(r),"identifier",!0)),[n,r]}.call(this,t,e);e&(ct|dt)&&n[0].length-n[1].length==0&&(this.started=!1),this.callback(this.manager,e,{pointers:n[0],changedPointers:n[1],pointerType:"touch",srcEvent:t})}}});var At={touchstart:ut,touchmove:lt,touchend:ct,touchcancel:dt},It="touchstart touchmove touchend touchcancel";s(L,b,{handler:function(t){var e=At[t.type],n=function(t,e){var n=_(t.touches),r=this.targetIds;if(e&(ut|lt)&&1===n.length)return r[n[0].identifier]=!0,[n,n];var i,o,s=_(t.changedTouches),a=[],u=this.target;if(o=n.filter(function(t){return h(t.target,u)}),e===ut)for(i=0;i<o.length;)r[o[i].identifier]=!0,i++;for(i=0;i<s.length;)r[s[i].identifier]&&a.push(s[i]),e&(ct|dt)&&delete r[s[i].identifier],i++;return a.length?[g(o.concat(a),"identifier",!0),a]:void 0}.call(this,t,e);n&&this.callback(this.manager,e,{pointers:n[0],changedPointers:n[1],pointerType:"touch",srcEvent:t})}}),s(A,b,{handler:function(t,e,n){var r="mouse"==n.pointerType;if("touch"==n.pointerType)this.mouse.allow=!1;else if(r&&!this.mouse.allow)return;e&(ct|dt)&&(this.mouse.allow=!0),this.callback(t,e,n)},destroy:function(){this.touch.destroy(),this.mouse.destroy()}});var Pt=v(J.style,"touchAction"),Rt=void 0!==Pt,Nt="auto",jt="manipulation",Yt="none",Ft="pan-x",Ht="pan-y";I.prototype={set:function(t){"compute"==t&&(t=this.compute()),Rt&&this.manager.element.style&&(this.manager.element.style[Pt]=t),this.actions=t.toLowerCase().trim()},update:function(){this.set(this.manager.options.touchAction)},compute:function(){var t=[];return o(this.manager.recognizers,function(e){u(e.options.enable,[e])&&(t=t.concat(e.getTouchAction()))}),function(t){if(f(t,Yt))return Yt;var e=f(t,Ft),n=f(t,Ht);return e&&n?Yt:e||n?e?Ft:Ht:f(t,jt)?jt:Nt}(t.join(" "))},preventDefaults:function(t){if(!Rt){var e=t.srcEvent,n=t.offsetDirection;if(this.manager.session.prevented)e.preventDefault();else{var r=this.actions,i=f(r,Yt),o=f(r,Ht),s=f(r,Ft);if(i){if(1===t.pointers.length&&t.distance<2&&t.deltaTime<250)return}if(!s||!o)return i||o&&n&gt||s&&n&vt?this.preventSrc(e):void 0}}},preventSrc:function(t){this.manager.session.prevented=!0,t.preventDefault()}};var Bt=1,Vt=2,zt=4,Wt=8,Ut=Wt,qt=16;P.prototype={defaults:{},set:function(t){return Object.assign(this.options,t),this.manager&&this.manager.touchAction.update(),this},recognizeWith:function(t){if(i(t,"recognizeWith",this))return this;var e=this.simultaneous;return t=j(t,this),e[t.id]||(e[t.id]=t,t.recognizeWith(this)),this},dropRecognizeWith:function(t){return i(t,"dropRecognizeWith",this)?this:(t=j(t,this),delete this.simultaneous[t.id],this)},requireFailure:function(t){if(i(t,"requireFailure",this))return this;var e=this.requireFail;return t=j(t,this),-1===m(e,t)&&(e.push(t),t.requireFailure(this)),this},dropRequireFailure:function(t){if(i(t,"dropRequireFailure",this))return this;t=j(t,this);var e=m(this.requireFail,t);return e>-1&&this.requireFail.splice(e,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(t){return!!this.simultaneous[t.id]},emit:function(t){function e(e){n.manager.emit(e,t)}var n=this,r=this.state;r<Wt&&e(n.options.event+R(r)),e(n.options.event),t.additionalEvent&&e(t.additionalEvent),r>=Wt&&e(n.options.event+R(r))},tryEmit:function(t){if(this.canEmit())return this.emit(t);this.state=32},canEmit:function(){for(var t=0;t<this.requireFail.length;){if(!(this.requireFail[t].state&(32|Bt)))return!1;t++}return!0},recognize:function(t){var e=Object.assign({},t);if(!u(this.options.enable,[this,e]))return this.reset(),void(this.state=32);this.state&(Ut|qt|32)&&(this.state=Bt),this.state=this.process(e),this.state&(Vt|zt|Wt|qt)&&this.tryEmit(e)},process:function(t){},getTouchAction:function(){},reset:function(){}},s(Y,P,{defaults:{pointers:1},attrTest:function(t){var e=this.options.pointers;return 0===e||t.pointers.length===e},process:function(t){var e=this.state,n=t.eventType,r=e&(Vt|zt),i=this.attrTest(t);return r&&(n&dt||!i)?e|qt:r||i?n&ct?e|Wt:e&Vt?e|zt:Vt:32}}),s(F,Y,{defaults:{event:"pan",threshold:10,pointers:1,direction:yt},getTouchAction:function(){var t=this.options.direction,e=[];return t&gt&&e.push(Ht),t&vt&&e.push(Ft),e},directionTest:function(t){var e=this.options,n=!0,r=t.distance,i=t.direction,o=t.deltaX,s=t.deltaY;return i&e.direction||(e.direction&gt?(i=0===o?ht:o<0?ft:pt,n=o!=this.pX,r=Math.abs(t.deltaX)):(i=0===s?ht:s<0?mt:_t,n=s!=this.pY,r=Math.abs(t.deltaY))),t.direction=i,n&&r>e.threshold&&i&e.direction},attrTest:function(t){return Y.prototype.attrTest.call(this,t)&&(this.state&Vt||!(this.state&Vt)&&this.directionTest(t))},emit:function(t){this.pX=t.deltaX,this.pY=t.deltaY;var e=N(t.direction);e&&(t.additionalEvent=this.options.event+e),this._super.emit.call(this,t)}}),s(H,Y,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[Yt]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.scale-1)>this.options.threshold||this.state&Vt)},emit:function(t){if(1!==t.scale){t.additionalEvent=this.options.event+(t.scale<1?"in":"out")}this._super.emit.call(this,t)}}),s(B,P,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return[Nt]},process:function(t){var e=this.options,n=t.pointers.length===e.pointers,i=t.distance<e.threshold,o=t.deltaTime>e.time;if(this._input=t,!i||!n||t.eventType&(ct|dt)&&!o)this.reset();else if(t.eventType&ut)this.reset(),this._timer=r(function(){this.state=Ut,this.tryEmit()},e.time,this);else if(t.eventType&ct)return Ut;return 32},reset:function(){clearTimeout(this._timer)},emit:function(t){this.state===Ut&&(t&&t.eventType&ct?this.manager.emit(this.options.event+"up",t):(this._input.timeStamp=nt(),this.manager.emit(this.options.event,this._input)))}}),s(V,Y,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[Yt]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.rotation)>this.options.threshold||this.state&Vt)}}),s(z,Y,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:gt|vt,pointers:1},getTouchAction:function(){return F.prototype.getTouchAction.call(this)},attrTest:function(t){var e,n=this.options.direction;return n&(gt|vt)?e=t.overallVelocity:n&gt?e=t.overallVelocityX:n&vt&&(e=t.overallVelocityY),this._super.attrTest.call(this,t)&&n&t.offsetDirection&&t.distance>this.options.threshold&&t.maxPointers==this.options.pointers&&et(e)>this.options.velocity&&t.eventType&ct},emit:function(t){var e=N(t.offsetDirection);e&&this.manager.emit(this.options.event+e,t),this.manager.emit(this.options.event,t)}}),s(W,P,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return[jt]},process:function(t){var e=this.options,n=t.pointers.length===e.pointers,i=t.distance<e.threshold,o=t.deltaTime<e.time;if(this.reset(),t.eventType&ut&&0===this.count)return this.failTimeout();if(i&&o&&n){if(t.eventType!=ct)return this.failTimeout();var s=!this.pTime||t.timeStamp-this.pTime<e.interval,a=!this.pCenter||x(this.pCenter,t.center)<e.posThreshold;this.pTime=t.timeStamp,this.pCenter=t.center,a&&s?this.count+=1:this.count=1,this._input=t;if(0===this.count%e.taps)return this.hasRequireFailures()?(this._timer=r(function(){this.state=Ut,this.tryEmit()},e.interval,this),Vt):Ut}return 32},failTimeout:function(){return this._timer=r(function(){this.state=32},this.options.interval,this),32},reset:function(){clearTimeout(this._timer)},emit:function(){this.state==Ut&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))}});var Gt={domEvents:!1,touchAction:"compute",enable:!0,inputTarget:null,inputClass:null,preset:[[V,{enable:!1}],[H,{enable:!1},["rotate"]],[z,{direction:gt}],[F,{direction:gt},["swipe"]],[W],[W,{event:"doubletap",taps:2},["tap"]],[B]],cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}};q.prototype={set:function(t){return Object.assign(this.options,t),t.touchAction&&this.touchAction.update(),t.inputTarget&&(this.input.destroy(),this.input.target=t.inputTarget,this.input.init()),this},stop:function(t){this.session.stopped=t?2:1},recognize:function(t){var e=this.session;if(!e.stopped){this.touchAction.preventDefaults(t);var n,r=this.recognizers,i=e.curRecognizer;(!i||i&&i.state&Ut)&&(i=e.curRecognizer=null);for(var o=0;o<r.length;)n=r[o],2===e.stopped||i&&n!=i&&!n.canRecognizeWith(i)?n.reset():n.recognize(t),!i&&n.state&(Vt|zt|Wt)&&(i=e.curRecognizer=n),o++}},get:function(t){if(t instanceof P)return t;for(var e=this.recognizers,n=0;n<e.length;n++)if(e[n].options.event==t)return e[n];return null},add:function(t){if(i(t,"add",this))return this;var e=this.get(t.options.event);return e&&this.remove(e),this.recognizers.push(t),t.manager=this,this.touchAction.update(),t},remove:function(t){if(i(t,"remove",this))return this;if(t=this.get(t)){var e=this.recognizers,n=m(e,t);-1!==n&&(e.splice(n,1),this.touchAction.update())}return this},on:function(t,e){var n=this.handlers;return o(p(t),function(t){n[t]=n[t]||[],n[t].push(e)}),this},off:function(t,e){var n=this.handlers;return o(p(t),function(t){e?n[t]&&n[t].splice(m(n[t],e),1):delete n[t]}),this},emit:function(t,e){this.options.domEvents&&function(t,e){var n=Z.createEvent("Event");n.initEvent(t,!0,!0),n.gesture=e,e.target.dispatchEvent(n)}(t,e);var n=this.handlers[t]&&this.handlers[t].slice();if(n&&n.length){e.type=t,e.preventDefault=function(){e.srcEvent.preventDefault()};for(var r=0;r<n.length;)n[r](e),r++}},destroy:function(){this.element&&G(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null}},Object.assign(U,{INPUT_START:ut,INPUT_MOVE:lt,INPUT_END:ct,INPUT_CANCEL:dt,STATE_POSSIBLE:Bt,STATE_BEGAN:Vt,STATE_CHANGED:zt,STATE_ENDED:Wt,STATE_RECOGNIZED:Ut,STATE_CANCELLED:qt,STATE_FAILED:32,DIRECTION_NONE:ht,DIRECTION_LEFT:ft,DIRECTION_RIGHT:pt,DIRECTION_UP:mt,DIRECTION_DOWN:_t,DIRECTION_HORIZONTAL:gt,DIRECTION_VERTICAL:vt,DIRECTION_ALL:yt,Manager:q,Input:b,TouchAction:I,TouchInput:L,MouseInput:O,PointerEventInput:D,TouchMouseInput:A,SingleTouchInput:k,Recognizer:P,AttrRecognizer:Y,Tap:W,Pan:F,Swipe:z,Pinch:H,Rotate:V,Press:B,on:c,off:d,each:o,inherit:s,bindFn:a,prefixed:v}),K.Hammer=U,n.d(e,"a",function(){return Xt});var Xt=function(){function t(t,e){void 0===e&&(e={}),this._callbacks={},this.isListening=!1,Object(X.d)(e,{domEvents:!0}),this.element=t,this.direction=e.direction||"x",e.direction="x"===this.direction?gt:vt,this._options=e}return t.prototype.options=function(t){Object.assign(this._options,t)},t.prototype.on=function(t,e){"pinch"!==t&&"rotate"!==t||this._hammer.get(t).set({enable:!0}),this._hammer.on(t,e),(this._callbacks[t]||(this._callbacks[t]=[])).push(e)},t.prototype.off=function(t,e){this._hammer.off(t,this._callbacks[t]?e:null)},t.prototype.listen=function(){this.isListening||(this._hammer=U(this.element,this._options)),this.isListening=!0},t.prototype.unlisten=function(){var t,e;if(this._hammer&&this.isListening){for(t in this._callbacks)for(e=0;e<this._callbacks[t].length;e++)this._hammer.off(t,this._callbacks[t]);this._hammer.destroy()}this._callbacks={},this._hammer=null,this.isListening=!1},t.prototype.destroy=function(){this.unlisten(),this.element=this._options=null},t}()},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(12),i=n(1),o=n(20),s=n(131);e.RECAPTCHA_V3_SITE_KEY=new i.InjectionToken("recaptcha-v3-site-key");e.ReCaptchaV3Service=function(){function t(t,e,n,i,o){var s=this;this.onLoadComplete=function(t){s.grecaptcha=t,s.actionBacklog&&s.actionBacklog.length>0&&(s.actionBacklog.forEach(function(t){return s.executeActionWithSubject(t[0],t[1])}),s.actionBacklog=void 0)},this.zone=t,this.isBrowser=r.isPlatformBrowser(n),this.siteKey=e,this.nonce=o,this.baseUrl=i,this.init()}return Object.defineProperty(t.prototype,"onExecute",{get:function(){return this.onExecuteSubject||(this.onExecuteSubject=new o.Subject,this.onExecuteObservable=this.onExecuteSubject.asObservable()),this.onExecuteObservable},enumerable:!0,configurable:!0}),t.prototype.execute=function(t){var e=new o.Subject;return this.isBrowser&&(this.grecaptcha?this.executeActionWithSubject(t,e):(this.actionBacklog||(this.actionBacklog=[]),this.actionBacklog.push([t,e]))),e.asObservable()},t.prototype.executeActionWithSubject=function(t,e){var n=this;this.zone.runOutsideAngular(function(){n.grecaptcha.execute(n.siteKey,{action:t}).then(function(r){n.zone.run(function(){e.next(r),e.complete(),n.onExecuteSubject&&n.onExecuteSubject.next({action:t,token:r})})})})},t.prototype.init=function(){this.isBrowser&&("grecaptcha"in window?this.grecaptcha=grecaptcha:s.loadScript(this.siteKey,this.onLoadComplete,"",this.baseUrl,this.nonce))},t.decorators=[{type:i.Injectable}],t}()},function(t,e,n){"use strict";function r(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function i(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function o(t){var e,n=(t=ji(t)&&Oi.test(t)?document.querySelector(t)||t:t).getAttribute?t:0;return n&&(t=t.getAttribute("d"))?(n._gsPath||(n._gsPath={}),(e=n._gsPath[t])&&!e._dirty?e:n._gsPath[t]=m(t)):t?ji(t)?m(t):Yi(t[0])?[t]:t:console.warn("Expecting a <path> element or an SVG path data string")}function s(t,e,n){var r,i=t[e],o=t[e+2],s=t[e+4];return i+=(o-i)*n,o+=(s-o)*n,i+=(o-i)*n,r=o+(s+(t[e+6]-s)*n-o)*n-i,i=t[e+1],o=t[e+3],s=t[e+5],i+=(o-i)*n,o+=(s-o)*n,i+=(o-i)*n,zi(Ri(o+(s+(t[e+7]-s)*n-o)*n-i,r)*ki)}function a(t,e,n){n=Fi(n)?1:Wi(n)||0,e=Wi(e)||0;var r=Math.max(0,~~(Ii(n-e)-1e-8)),i=function(t){for(var e=[],n=0;n<t.length;n++)e[n]=Xi(t[n],t[n].slice(0));return Xi(t,e)}(t);if(e>n&&(e=1-e,n=1-n,Gi(i),i.totalLength=0),e<0||n<0){var o=Math.abs(~~Math.min(e,n))+1;e+=o,n+=o}i.totalLength||l(i);var a,u,h,f,p,m,_,g,v=n>1,y=d(i,e,Hi,!0),b=d(i,n,Bi),w=b.segment,S=y.segment,T=b.segIndex,E=y.segIndex,M=b.i,x=y.i,C=E===T,O=M===x&&C;if(v||r){for(a=T<E||C&&M<x||O&&b.t<y.t,Ui(i,E,x,y.t)&&(E++,a||(T++,O?(b.t=(b.t-y.t)/(1-y.t),M=0):C&&(M-=x))),Math.abs(1-(n-e))<1e-5?T=E-1:!b.t&&T?T--:Ui(i,T,M,b.t)&&a&&E++,1===y.t&&(E=(E+1)%i.length),p=[],_=1+(m=i.length)*r,g=E,_+=(m-E+T)%m,f=0;f<_;f++)Ki(p,i[g++%m]);i=p}else if(h=1===b.t?6:c(w,M,b.t),e!==n)for(u=c(S,x,O?y.t/b.t:y.t),C&&(h+=u),w.splice(M+h+2),(u||x)&&S.splice(0,x+u),f=i.length;f--;)(f<E||f>T)&&i.splice(f,1);else w.angle=s(w,M+h,0),y=w[M+=h],b=w[M+1],w.length=w.totalLength=0,w.totalPoints=i.totalPoints=8,w.push(y,b,y,b,y,b,y,b);return i.totalLength=0,i}function u(t,e,n){e=e||0,t.samples||(t.samples=[],t.lookup=[]);var r,i,o,s,a,u,l,c,d,h,f,p,m,_,g,v,y,b=~~t.resolution||12,w=1/b,S=n?e+6*n+1:t.length,T=t[e],E=t[e+1],M=e?e/6*b:0,x=t.samples,C=t.lookup,O=(e?t.minLength:Ni)||Ni,D=x[M+n*b-1],k=e?x[M-1]:0;for(x.length=C.length=0,i=e+2;i<S;i+=6){if(o=t[i+4]-T,s=t[i+2]-T,a=t[i]-T,c=t[i+5]-E,d=t[i+3]-E,h=t[i+1]-E,u=l=f=p=0,Ii(o)<.01&&Ii(c)<.01&&Ii(a)+Ii(h)<.01)t.length>8&&(t.splice(i,6),i-=6,S-=6);else for(r=1;r<=b;r++)u=l-(l=((_=w*r)*_*o+3*(m=1-_)*(_*s+m*a))*_),f=p-(p=(_*_*c+3*m*(_*d+m*h))*_),(v=Pi(f*f+u*u))<O&&(O=v),x[M++]=k+=v;T+=o,E+=c}if(D)for(D-=k;M<x.length;M++)x[M]+=D;if(x.length&&O){if(t.totalLength=y=x[x.length-1]||0,t.minLength=O,y/O<9999)for(v=g=0,r=0;r<y;r+=O)C[v++]=x[g]<r?++g:g}else t.totalLength=x[0]=0;return e?k-x[e/2-1]:k}function l(t,e){var n,r,i;for(i=n=r=0;i<t.length;i++)t[i].resolution=~~e||12,r+=t[i].length,n+=u(t[i]);return t.totalPoints=r,t.totalLength=n,t}function c(t,e,n){if(n<=0||n>=1)return 0;var r=t[e],i=t[e+1],o=t[e+2],s=t[e+3],a=t[e+4],u=t[e+5],l=r+(o-r)*n,c=o+(a-o)*n,d=i+(s-i)*n,h=s+(u-s)*n,f=l+(c-l)*n,p=d+(h-d)*n,m=a+(t[e+6]-a)*n,_=u+(t[e+7]-u)*n;return c+=(m-c)*n,h+=(_-h)*n,t.splice(e+2,4,zi(l),zi(d),zi(f),zi(p),zi(f+(c-f)*n),zi(p+(h-p)*n),zi(c),zi(h),zi(m),zi(_)),t.samples&&t.samples.splice(e/6*t.resolution|0,0,0,0,0,0,0,0),6}function d(t,e,n,r){n=n||{},t.totalLength||l(t),(e<0||e>1)&&(e=Vi(e));var i,o,s,a,u,c,d,h=0,f=t[0];if(e)if(1===e)d=1,c=(f=t[h=t.length-1]).length-8;else{if(t.length>1){for(s=t.totalLength*e,u=c=0;(u+=t[c++].totalLength)<s;)h=c;e=(s-(a=u-(f=t[h]).totalLength))/(u-a)||0}i=f.samples,o=f.resolution,s=f.totalLength*e,a=(c=f.lookup.length?f.lookup[~~(s/f.minLength)]||0:qi(i,s,e))?i[c-1]:0,(u=i[c])<s&&(a=u,u=i[++c]),d=1/o*((s-a)/(u-a)+c%o),c=6*~~(c/o),r&&1===d&&(c+6<f.length?(c+=6,d=0):h+1<t.length&&(c=d=0,f=t[++h]))}else d=c=h=0,f=t[0];return n.t=d,n.i=c,n.path=t,n.segment=f,n.segIndex=h,n}function h(t,e,n,r){var i,o,a,u,c,d,h,f,p,m=t[0],_=r||{};if((e<0||e>1)&&(e=Vi(e)),m.lookup||l(t),t.length>1){for(a=t.totalLength*e,c=d=0;(c+=t[d++].totalLength)<a;)m=t[d];e=(a-(u=c-m.totalLength))/(c-u)||0}return i=m.samples,o=m.resolution,a=m.totalLength*e,d=m.lookup.length?m.lookup[e<1?~~(a/m.minLength):m.lookup.length-1]||0:qi(i,a,e),u=d?i[d-1]:0,(c=i[d])<a&&(u=c,c=i[++d]),h=1/o*((a-u)/(c-u)+d%o)||0,p=1-h,d=6*~~(d/o),f=m[d],_.x=zi((h*h*(m[d+6]-f)+3*p*(h*(m[d+4]-f)+p*(m[d+2]-f)))*h+f),_.y=zi((h*h*(m[d+7]-(f=m[d+1]))+3*p*(h*(m[d+5]-f)+p*(m[d+3]-f)))*h+f),n&&(_.angle=m.totalLength?s(m,d,h>=1?1-1e-9:h||1e-9):m.angle||0),_}function f(t,e,n,r,i,o,s){for(var a,u,l,c,d,h=t.length;--h>-1;)for(u=(a=t[h]).length,l=0;l<u;l+=2)a[l]=(c=a[l])*e+(d=a[l+1])*r+o,a[l+1]=c*n+d*i+s;return t._dirty=1,t}function p(t,e,n,r,i,o,s,a,u){if(t!==a||e!==u){n=Ii(n),r=Ii(r);var l=i%360*Di,c=Ai(l),d=Li(l),h=Math.PI,f=2*h,p=(t-a)/2,m=(e-u)/2,_=c*p+d*m,g=-d*p+c*m,v=_*_,y=g*g,b=v/(n*n)+y/(r*r);b>1&&(n=Pi(b)*n,r=Pi(b)*r);var w=n*n,S=r*r,T=(w*S-w*y-S*v)/(w*y+S*v);T<0&&(T=0);var E=(o===s?-1:1)*Pi(T),M=E*(n*g/r),x=E*(-r*_/n),C=(t+a)/2+(c*M-d*x),O=(e+u)/2+(d*M+c*x),D=(_-M)/n,k=(g-x)/r,L=(-_-M)/n,A=(-g-x)/r,I=D*D+k*k,P=(k<0?-1:1)*Math.acos(D/Pi(I)),R=(D*A-k*L<0?-1:1)*Math.acos((D*L+k*A)/Pi(I*(L*L+A*A)));isNaN(R)&&(R=h),!s&&R>0?R-=f:s&&R<0&&(R+=f),P%=f,R%=f;var N,j=Math.ceil(Ii(R)/(f/4)),Y=[],F=R/j,H=4/3*Li(F/2)/(1+Ai(F/2)),B=c*n,V=d*n,z=d*-r,W=c*r;for(N=0;N<j;N++)_=Ai(i=P+N*F),g=Li(i),D=Ai(i+=F),k=Li(i),Y.push(_-H*g,g+H*_,D+H*k,k-H*D,D,k);for(N=0;N<Y.length;N+=2)Y[N]=(_=Y[N])*B+(g=Y[N+1])*z+C,Y[N+1]=_*V+g*W+O;return Y[N-2]=a,Y[N-1]=u,Y}}function m(t){var e,n,r,i,o,s,a,u,l,c,d,h,f,m,_,g=(t+"").replace(Ci,function(t){var e=+t;return e<1e-4&&e>-1e-4?0:e}).match(Mi)||[],v=[],y=0,b=0,w=g.length,S=0,T="ERROR: malformed path: "+t,E=function(t,e,n,r){a.push(t+(c=(n-t)/3),e+(d=(r-e)/3),n-c,r-d,n,r)};if(!t||!isNaN(g[0])||isNaN(g[1]))return console.log(T),v;for(e=0;e<w;e++)if(f=o,isNaN(g[e])?s=(o=g[e].toUpperCase())!==g[e]:e--,r=+g[e+1],i=+g[e+2],s&&(r+=y,i+=b),e||(u=r,l=i),"M"===o)a&&(a.length<8?v.length-=1:S+=a.length),y=u=r,b=l=i,v.push(a=[r,i]),e+=2,o="L";else if("C"===o)a||(a=[0,0]),s||(y=b=0),a.push(r,i,y+1*g[e+3],b+1*g[e+4],y+=1*g[e+5],b+=1*g[e+6]),e+=6;else if("S"===o)c=y,d=b,"C"!==f&&"S"!==f||(c+=y-a[a.length-4],d+=b-a[a.length-3]),s||(y=b=0),a.push(c,d,r,i,y+=1*g[e+3],b+=1*g[e+4]),e+=4;else if("Q"===o)c=y+2/3*(r-y),d=b+2/3*(i-b),s||(y=b=0),a.push(c,d,(y+=1*g[e+3])+2/3*(r-y),(b+=1*g[e+4])+2/3*(i-b),y,b),e+=4;else if("T"===o)a.push(y+(c=y-a[a.length-4]),b+(d=b-a[a.length-3]),r+2/3*(y+1.5*c-r),i+2/3*(b+1.5*d-i),y=r,b=i),e+=2;else if("H"===o)E(y,b,y=r,b),e+=1;else if("V"===o)E(y,b,y,b=r+(s?b-y:0)),e+=1;else if("L"===o||"Z"===o)"Z"===o&&(r=u,i=l,a.closed=!0),("L"===o||Ii(y-r)>.5||Ii(b-i)>.5)&&(E(y,b,r,i),"L"===o&&(e+=2)),y=r,b=i;else if("A"===o){if(m=g[e+4],_=g[e+5],c=g[e+6],d=g[e+7],n=7,m.length>1&&(m.length<3?(d=c,c=_,n--):(d=_,c=m.substr(2),n-=2),_=m.charAt(1),m=m.charAt(0)),h=p(y,b,+g[e+1],+g[e+2],+g[e+3],+m,+_,(s?y:0)+1*c,(s?b:0)+1*d),e+=n,h)for(n=0;n<h.length;n++)a.push(h[n]);y=a[a.length-2],b=a[a.length-1]}else console.log(T);return(e=a.length)<6?(v.pop(),e=0):a[0]===a[e-2]&&a[1]===a[e-1]&&(a.closed=!0),v.totalPoints=S+e,v}function _(t,e){void 0===e&&(e=1);for(var n=t[0],r=0,i=[n,r],o=2;o<t.length;o+=2)i.push(n,r,t[o],r=(t[o]-n)*e/2,n=t[o],-r);return i}function g(t,e){Ii(t[0]-t[2])<1e-4&&Ii(t[1]-t[3])<1e-4&&(t=t.slice(2));var n,r,i,o,s,a,u,l,c,d,h,f,p,m,_=t.length-2,g=+t[0],v=+t[1],y=+t[2],b=+t[3],w=[g,v,g,v],S=y-g,T=b-v,E=Math.abs(t[_]-g)<.001&&Math.abs(t[_+1]-v)<.001;for(E&&(t.push(y,b),y=g,b=v,t.unshift(g=t[_-2],v=t[_-1]),_+=4),e=e||0===e?+e:1,i=2;i<_;i+=2)n=g,r=v,v=b,b=+t[i+3],(g=y)===(y=+t[i+2])&&v===b||(o=S,s=T,S=y-g,T=b-v,l=((a=Pi(o*o+s*s))+(u=Pi(S*S+T*T)))*e*.25/Pi(Math.pow(S/u+o/a,2)+Math.pow(T/u+s/a,2)),h=g-((c=g-(g-n)*(a?l/a:0))+(((d=g+(y-g)*(u?l/u:0))-c)*(3*a/(a+u)+.5)/4||0)),m=v-((f=v-(v-r)*(a?l/a:0))+(((p=v+(b-v)*(u?l/u:0))-f)*(3*a/(a+u)+.5)/4||0)),g===n&&v===r||w.push(zi(c+h),zi(f+m),zi(g),zi(v),zi(d+h),zi(p+m)));return g!==y||v!==b||w.length<4?w.push(zi(y),zi(b),zi(y),zi(b)):w.length-=2,2===w.length?w.push(g,v,g,v,g,v):E&&(w.splice(0,6),w.length=w.length-6),w}function v(t){Yi(t[0])&&(t=[t]);var e,n,r,i,o="",s=t.length;for(n=0;n<s;n++){for(o+="M"+zi((i=t[n])[0])+","+zi(i[1])+" C",e=i.length,r=2;r<e;r++)o+=zi(i[r++])+","+zi(i[r++])+" "+zi(i[r++])+","+zi(i[r++])+" "+zi(i[r++])+","+zi(i[r])+" ";i.closed&&(o+="z")}return o}function y(t,e,n,r){if(!t||!t.parentNode||(ao||Bo(t)).documentElement===t)return new Qo;var i=Vo(t),o=Go(t)?zo:Wo,s=$o(t,n),a=o[0].getBoundingClientRect(),u=o[1].getBoundingClientRect(),l=o[2].getBoundingClientRect(),c=s.parentNode,d=!r&&Xo(t),h=new Qo((u.left-a.left)/100,(u.top-a.top)/100,(l.left-a.left)/100,(l.top-a.top)/100,a.left+(d?0:qo()),a.top+(d?0:Uo()));if(c.removeChild(s),i)for(a=i.length;a--;)(u=i[a]).scaleX=u.scaleY=0,u.renderTransform(1,u);return e?h.inverse():h}function b(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function w(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function S(t){var e=t.nodeType,n="";if(1===e||9===e||11===e){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)n+=S(t)}else if(3===e||4===e)return t.nodeValue;return n}function T(t,e,n,r){for(var i,o=t.firstChild,s=[];o;)3===o.nodeType?(i=(o.nodeValue+"").replace(/^\n+/g,""),r||(i=i.replace(/\s+/g," ")),s.push.apply(s,E(i,e,n,r))):"br"===(o.nodeName+"").toLowerCase()?s[s.length-1]+="<br>":s.push(o.outerHTML),o=o.nextSibling;for(i=s.length;i--;)"&"===s[i]&&s.splice(i,1,"&amp;");return s}function E(t,e,n,r){if(t+="",n&&(t=t.trim?t.trim():t.replace(mf,"")),e&&""!==e)return t.replace(/>/g,"&gt;").replace(/</g,"&lt;").split(e);for(var i,o,s=[],a=t.length,u=0;u<a;u++)((o=t.charAt(u)).charCodeAt(0)>=55296&&o.charCodeAt(0)<=56319||t.charCodeAt(u+1)>=65024&&t.charCodeAt(u+1)<=65039)&&(i=((t.substr(u,12).split(_f)||[])[1]||"").length||2,o=t.substr(u,i),s.emoji=1,u+=i-1),s.push(">"===o?"&gt;":"<"===o?"&lt;":!r||" "!==o||" "!==t.charAt(u-1)&&" "!==t.charAt(u+1)?o:"&nbsp;");return s}var M,x,C,O,D,k,L,A,I,P,R,N={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},j={duration:.5,overwrite:!1,delay:0},Y=1e-8,F=2*Math.PI,H=F/4,B=0,V=Math.sqrt,z=Math.cos,W=Math.sin,U=function(t){return"string"==typeof t},q=function(t){return"function"==typeof t},G=function(t){return"number"==typeof t},X=function(t){return void 0===t},K=function(t){return"object"==typeof t},Z=function(t){return!1!==t},$=function(){return"undefined"!=typeof window},J=function(t){return q(t)||U(t)},Q="function"==typeof ArrayBuffer&&ArrayBuffer.isView||function(){},tt=Array.isArray,et=/(?:-?\.?\d|\.)+/gi,nt=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,rt=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,it=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,ot=/[+-]=-?[.\d]+/,st=/[^,'"\[\]\s]+/gi,at=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,ut={},lt={},ct=function(t){return(lt=Ft(t,ut))&&Wn},dt=function(t,e){return console.warn("Invalid property",t,"set to",e,"Missing plugin? gsap.registerPlugin()")},ht=function(t,e){return!e&&console.warn(t)},ft=function(t,e){return t&&(ut[t]=e)&&lt&&(lt[t]=e)||ut},pt=function(){return 0},mt={suppressEvents:!0,isStart:!0,kill:!1},_t={suppressEvents:!0,kill:!1},gt={suppressEvents:!0},vt={},yt=[],bt={},wt={},St={},Tt=30,Et=[],Mt="",xt=function(t){var e,n,r=t[0];if(K(r)||q(r)||(t=[t]),!(e=(r._gsap||{}).harness)){for(n=Et.length;n--&&!Et[n].targetTest(r););e=Et[n]}for(n=t.length;n--;)t[n]&&(t[n]._gsap||(t[n]._gsap=new on(t[n],e)))||t.splice(n,1);return t},Ct=function(t){return t._gsap||xt(_e(t))[0]._gsap},Ot=function(t,e,n){return(n=t[e])&&q(n)?t[e]():X(n)&&t.getAttribute&&t.getAttribute(e)||n},Dt=function(t,e){return(t=t.split(",")).forEach(e)||t},kt=function(t){return Math.round(1e5*t)/1e5||0},Lt=function(t){return Math.round(1e7*t)/1e7||0},At=function(t,e){var n=e.charAt(0),r=parseFloat(e.substr(2));return t=parseFloat(t),"+"===n?t+r:"-"===n?t-r:"*"===n?t*r:t/r},It=function(t,e){for(var n=e.length,r=0;t.indexOf(e[r])<0&&++r<n;);return r<n},Pt=function(){var t,e,n=yt.length,r=yt.slice(0);for(bt={},yt.length=0,t=0;t<n;t++)(e=r[t])&&e._lazy&&(e.render(e._lazy[0],e._lazy[1],!0)._lazy=0)},Rt=function(t,e,n,r){yt.length&&!x&&Pt(),t.render(e,n,r||x&&e<0&&(t._initted||t._startAt)),yt.length&&!x&&Pt()},Nt=function(t){var e=parseFloat(t);return(e||0===e)&&(t+"").match(st).length<2?e:U(t)?t.trim():t},jt=function(t){return t},Yt=function(t,e){for(var n in e)n in t||(t[n]=e[n]);return t},Ft=function(t,e){for(var n in e)t[n]=e[n];return t},Ht=function t(e,n){for(var r in n)"__proto__"!==r&&"constructor"!==r&&"prototype"!==r&&(e[r]=K(n[r])?t(e[r]||(e[r]={}),n[r]):n[r]);return e},Bt=function(t,e){var n,r={};for(n in t)n in e||(r[n]=t[n]);return r},Vt=function(t){var e=t.parent||O,n=t.keyframes?function(t){return function(e,n){for(var r in n)r in e||"duration"===r&&t||"ease"===r||(e[r]=n[r])}}(tt(t.keyframes)):Yt;if(Z(t.inherit))for(;e;)n(t,e.vars.defaults),e=e.parent||e._dp;return t},zt=function(t,e,n,r,i){void 0===n&&(n="_first"),void 0===r&&(r="_last");var o,s=t[r];if(i)for(o=e[i];s&&s[i]>o;)s=s._prev;return s?(e._next=s._next,s._next=e):(e._next=t[n],t[n]=e),e._next?e._next._prev=e:t[r]=e,e._prev=s,e.parent=e._dp=t,e},Wt=function(t,e,n,r){void 0===n&&(n="_first"),void 0===r&&(r="_last");var i=e._prev,o=e._next;i?i._next=o:t[n]===e&&(t[n]=o),o?o._prev=i:t[r]===e&&(t[r]=i),e._next=e._prev=e.parent=null},Ut=function(t,e){t.parent&&(!e||t.parent.autoRemoveChildren)&&t.parent.remove&&t.parent.remove(t),t._act=0},qt=function(t,e){if(t&&(!e||e._end>t._dur||e._start<0))for(var n=t;n;)n._dirty=1,n=n.parent;return t},Gt=function(t,e,n,r){return t._startAt&&(x?t._startAt.revert(_t):t.vars.immediateRender&&!t.vars.autoRevert||t._startAt.render(e,!0,r))},Xt=function t(e){return!e||e._ts&&t(e.parent)},Kt=function(t){return t._repeat?Zt(t._tTime,t=t.duration()+t._rDelay)*t:0},Zt=function(t,e){var n=Math.floor(t/=e);return t&&n===t?n-1:n},$t=function(t,e){return(t-e._start)*e._ts+(e._ts>=0?0:e._dirty?e.totalDuration():e._tDur)},Jt=function(t){return t._end=Lt(t._start+(t._tDur/Math.abs(t._ts||t._rts||Y)||0))},Qt=function(t,e){var n=t._dp;return n&&n.smoothChildTiming&&t._ts&&(t._start=Lt(n._time-(t._ts>0?e/t._ts:((t._dirty?t.totalDuration():t._tDur)-e)/-t._ts)),Jt(t),n._dirty||qt(n,t)),t},te=function(t,e){var n;if((e._time||!e._dur&&e._initted||e._start<t._time&&(e._dur||!e.add))&&(n=$t(t.rawTime(),e),(!e._dur||de(0,e.totalDuration(),n)-e._tTime>Y)&&e.render(n,!0)),qt(t,e)._dp&&t._initted&&t._time>=t._dur&&t._ts){if(t._dur<t.duration())for(n=t;n._dp;)n.rawTime()>=0&&n.totalTime(n._tTime),n=n._dp;t._zTime=-Y}},ee=function(t,e,n,r){return e.parent&&Ut(e),e._start=Lt((G(n)?n:n||t!==O?ue(t,n,e):t._time)+e._delay),e._end=Lt(e._start+(e.totalDuration()/Math.abs(e.timeScale())||0)),zt(t,e,"_first","_last",t._sort?"_start":0),ie(e)||(t._recent=e),r||te(t,e),t._ts<0&&Qt(t,t._tTime),t},ne=function(t,e){return(ut.ScrollTrigger||dt("scrollTrigger",e))&&ut.ScrollTrigger.create(e,t)},re=function(t,e,n,r,i){return hn(t,e,i),t._initted?!n&&t._pt&&!x&&(t._dur&&!1!==t.vars.lazy||!t._dur&&t.vars.lazy)&&I!==Ue.frame?(yt.push(t),t._lazy=[i,r],1):void 0:1},ie=function(t){var e=t.data;return"isFromStart"===e||"isStart"===e},oe=function(t,e,n,r){var i=t._repeat,o=Lt(e)||0,s=t._tTime/t._tDur;return s&&!r&&(t._time*=o/t._dur),t._dur=o,t._tDur=i?i<0?1e10:Lt(o*(i+1)+t._rDelay*i):o,s>0&&!r&&Qt(t,t._tTime=t._tDur*s),t.parent&&Jt(t),n||qt(t.parent,t),t},se=function(t){return t instanceof an?qt(t):oe(t,t._dur)},ae={_start:0,endTime:pt,totalDuration:pt},ue=function t(e,n,r){var i,o,s,a=e.labels,u=e._recent||ae,l=e.duration()>=1e8?u.endTime(!1):e._dur;return U(n)&&(isNaN(n)||n in a)?(o=n.charAt(0),s="%"===n.substr(-1),i=n.indexOf("="),"<"===o||">"===o?(i>=0&&(n=n.replace(/=/,"")),("<"===o?u._start:u.endTime(u._repeat>=0))+(parseFloat(n.substr(1))||0)*(s?(i<0?u:r).totalDuration()/100:1)):i<0?(n in a||(a[n]=l),a[n]):(o=parseFloat(n.charAt(i-1)+n.substr(i+1)),s&&r&&(o=o/100*(tt(r)?r[0]:r).totalDuration()),i>1?t(e,n.substr(0,i-1),r)+o:l+o)):null==n?l:+n},le=function(t,e,n){var r,i,o=G(e[1]),s=(o?2:1)+(t<2?0:1),a=e[s];if(o&&(a.duration=e[1]),a.parent=n,t){for(r=a,i=n;i&&!("immediateRender"in r);)r=i.vars.defaults||{},i=Z(i.vars.inherit)&&i.parent;a.immediateRender=Z(r.immediateRender),t<2?a.runBackwards=1:a.startAt=e[s-1]}return new gn(e[0],a,e[s+1])},ce=function(t,e){return t||0===t?e(t):e},de=function(t,e,n){return n<t?t:n>e?e:n},he=function(t,e){return U(t)&&(e=at.exec(t))?e[1]:""},fe=function(t,e,n){return ce(n,function(n){return de(t,e,n)})},pe=[].slice,me=function(t,e){return t&&K(t)&&"length"in t&&(!e&&!t.length||t.length-1 in t&&K(t[0]))&&!t.nodeType&&t!==D},_e=function(t,e,n){return C&&!e&&C.selector?C.selector(t):!U(t)||n||!k&&qe()?tt(t)?function(t,e,n){return void 0===n&&(n=[]),t.forEach(function(t){var r;return U(t)&&!e||me(t,1)?(r=n).push.apply(r,_e(t)):n.push(t)})||n}(t,n):me(t)?pe.call(t,0):t?[t]:[]:pe.call((e||L).querySelectorAll(t),0)},ge=function(t){return t=_e(t)[0]||ht("Invalid scope")||{},function(e){var n=t.current||t.nativeElement||t;return _e(e,n.querySelectorAll?n:n===t?ht("Invalid scope")||L.createElement("div"):t)}},ve=function(t){return t.sort(function(){return.5-Math.random()})},ye=function(t){if(q(t))return t;var e=K(t)?t:{each:t},n=Qe(e.ease),r=e.from||0,i=parseFloat(e.base)||0,o={},s=r>0&&r<1,a=isNaN(r)||s,u=e.axis,l=r,c=r;return U(r)?l=c={center:.5,edges:.5,end:1}[r]||0:!s&&a&&(l=r[0],c=r[1]),function(t,s,d){var h,f,p,m,_,g,v,y,b,w=(d||e).length,S=o[w];if(!S){if(!(b="auto"===e.grid?0:(e.grid||[1,1e8])[1])){for(v=-1e8;v<(v=d[b++].getBoundingClientRect().left)&&b<w;);b<w&&b--}for(S=o[w]=[],h=a?Math.min(b,w)*l-.5:r%b,f=1e8===b?0:a?w*c/b-.5:r/b|0,v=0,y=1e8,g=0;g<w;g++)p=g%b-h,m=f-(g/b|0),S[g]=_=u?Math.abs("y"===u?m:p):V(p*p+m*m),_>v&&(v=_),_<y&&(y=_);"random"===r&&ve(S),S.max=v-y,S.min=y,S.v=w=(parseFloat(e.amount)||parseFloat(e.each)*(b>w?w-1:u?"y"===u?w/b:b:Math.max(b,w/b))||0)*("edges"===r?-1:1),S.b=w<0?i-w:i,S.u=he(e.amount||e.each)||0,n=n&&w<0?$e(n):n}return w=(S[t]-S.min)/S.max||0,Lt(S.b+(n?n(w):w)*S.v)+S.u}},be=function(t){var e=Math.pow(10,((t+"").split(".")[1]||"").length);return function(n){var r=Lt(Math.round(parseFloat(n)/t)*t*e);return(r-r%1)/e+(G(n)?0:he(n))}},we=function(t,e){var n,r,i=tt(t);return!i&&K(t)&&(n=i=t.radius||1e8,t.values?(t=_e(t.values),(r=!G(t[0]))&&(n*=n)):t=be(t.increment)),ce(e,i?q(t)?function(e){return r=t(e),Math.abs(r-e)<=n?r:e}:function(e){for(var i,o,s=parseFloat(r?e.x:e),a=parseFloat(r?e.y:0),u=1e8,l=0,c=t.length;c--;)(i=r?(i=t[c].x-s)*i+(o=t[c].y-a)*o:Math.abs(t[c]-s))<u&&(u=i,l=c);return l=!n||u<=n?t[l]:e,r||l===e||G(e)?l:l+he(e)}:be(t))},Se=function(t,e,n,r){return ce(tt(t)?!e:!0===n?!!(n=0):!r,function(){return tt(t)?t[~~(Math.random()*t.length)]:(n=n||1e-5)&&(r=n<1?Math.pow(10,(n+"").length-2):1)&&Math.floor(Math.round((t-n/2+Math.random()*(e-t+.99*n))/n)*n*r)/r})},Te=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return function(t){return e.reduce(function(t,e){return e(t)},t)}},Ee=function(t,e){return function(n){return t(parseFloat(n))+(e||he(n))}},Me=function(t,e,n){return ke(t,e,0,1,n)},xe=function(t,e,n){return ce(n,function(n){return t[~~e(n)]})},Ce=function t(e,n,r){var i=n-e;return tt(e)?xe(e,t(0,e.length),n):ce(r,function(t){return(i+(t-e)%i)%i+e})},Oe=function t(e,n,r){var i=n-e,o=2*i;return tt(e)?xe(e,t(0,e.length-1),n):ce(r,function(t){return t=(o+(t-e)%o)%o||0,e+(t>i?o-t:t)})},De=function(t){for(var e,n,r,i,o=0,s="";~(e=t.indexOf("random(",o));)r=t.indexOf(")",e),i="["===t.charAt(e+7),n=t.substr(e+7,r-e-7).match(i?st:et),s+=t.substr(o,e-o)+Se(i?n:+n[0],i?0:+n[1],+n[2]||1e-5),o=r+1;return s+t.substr(o,t.length-o)},ke=function(t,e,n,r,i){var o=e-t,s=r-n;return ce(i,function(e){return n+((e-t)/o*s||0)})},Le=function t(e,n,r,i){var o=isNaN(e+n)?0:function(t){return(1-t)*e+t*n};if(!o){var s,a,u,l,c,d=U(e),h={};if(!0===r&&(i=1)&&(r=null),d)e={p:e},n={p:n};else if(tt(e)&&!tt(n)){for(u=[],c=(l=e.length)-2,a=1;a<l;a++)u.push(t(e[a-1],e[a]));l--,o=function(t){t*=l;var e=Math.min(c,~~t);return u[e](t-e)},r=n}else i||(e=Ft(tt(e)?[]:{},e));if(!u){for(s in n)cn.call(h,e,s,"get",n[s]);o=function(t){return xn(t,h)||(d?e.p:e)}}}return ce(r,o)},Ae=function(t,e,n){var r,i,o,s=t.labels,a=1e8;for(r in s)(i=s[r]-e)<0==!!n&&i&&a>(i=Math.abs(i))&&(o=r,a=i);return o},Ie=function(t,e,n){var r,i,o,s=t.vars,a=s[e],u=C,l=t._ctx;if(a)return r=s[e+"Params"],i=s.callbackScope||t,n&&yt.length&&Pt(),l&&(C=l),o=r?a.apply(i,r):a.call(i),C=u,o},Pe=function(t){return Ut(t),t.scrollTrigger&&t.scrollTrigger.kill(!!x),t.progress()<1&&Ie(t,"onInterrupt"),t},Re=[],Ne=function(t){if(t)if(t=!t.name&&t.default||t,$()||t.headless){var e=t.name,n=q(t),r=e&&!n&&t.init?function(){this._props=[]}:t,i={init:pt,render:xn,add:cn,kill:On,modifier:Cn,rawVars:0},o={targetTest:0,get:0,getSetter:Sn,aliases:{},register:0};if(qe(),t!==r){if(wt[e])return;Yt(r,Yt(Bt(t,i),o)),Ft(r.prototype,Ft(i,Bt(t,o))),wt[r.prop=e]=r,t.targetTest&&(Et.push(r),vt[e]=1),e=("css"===e?"CSS":e.charAt(0).toUpperCase()+e.substr(1))+"Plugin"}ft(e,r),t.register&&t.register(Wn,r,Ln)}else Re.push(t)},je={aqua:[0,255,255],lime:[0,255,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,255],navy:[0,0,128],white:[255,255,255],olive:[128,128,0],yellow:[255,255,0],orange:[255,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[255,0,0],pink:[255,192,203],cyan:[0,255,255],transparent:[255,255,255,0]},Ye=function(t,e,n){return 255*(6*(t+=t<0?1:t>1?-1:0)<1?e+(n-e)*t*6:t<.5?n:3*t<2?e+(n-e)*(2/3-t)*6:e)+.5|0},Fe=function(t,e,n){var r,i,o,s,a,u,l,c,d,h,f=t?G(t)?[t>>16,t>>8&255,255&t]:0:je.black;if(!f){if(","===t.substr(-1)&&(t=t.substr(0,t.length-1)),je[t])f=je[t];else if("#"===t.charAt(0)){if(t.length<6&&(t="#"+(r=t.charAt(1))+r+(i=t.charAt(2))+i+(o=t.charAt(3))+o+(5===t.length?t.charAt(4)+t.charAt(4):"")),9===t.length)return f=parseInt(t.substr(1,6),16),[f>>16,f>>8&255,255&f,parseInt(t.substr(7),16)/255];f=[(t=parseInt(t.substr(1),16))>>16,t>>8&255,255&t]}else if("hsl"===t.substr(0,3))if(f=h=t.match(et),e){if(~t.indexOf("="))return f=t.match(nt),n&&f.length<4&&(f[3]=1),f}else s=+f[0]%360/360,a=+f[1]/100,r=2*(u=+f[2]/100)-(i=u<=.5?u*(a+1):u+a-u*a),f.length>3&&(f[3]*=1),f[0]=Ye(s+1/3,r,i),f[1]=Ye(s,r,i),f[2]=Ye(s-1/3,r,i);else f=t.match(et)||je.transparent;f=f.map(Number)}return e&&!h&&(r=f[0]/255,i=f[1]/255,o=f[2]/255,u=((l=Math.max(r,i,o))+(c=Math.min(r,i,o)))/2,l===c?s=a=0:(d=l-c,a=u>.5?d/(2-l-c):d/(l+c),s=l===r?(i-o)/d+(i<o?6:0):l===i?(o-r)/d+2:(r-i)/d+4,s*=60),f[0]=~~(s+.5),f[1]=~~(100*a+.5),f[2]=~~(100*u+.5)),n&&f.length<4&&(f[3]=1),f},He=function(t){var e=[],n=[],r=-1;return t.split(Ve).forEach(function(t){var i=t.match(rt)||[];e.push.apply(e,i),n.push(r+=i.length+1)}),e.c=n,e},Be=function(t,e,n){var r,i,o,s,a="",u=(t+a).match(Ve),l=e?"hsla(":"rgba(",c=0;if(!u)return t;if(u=u.map(function(t){return(t=Fe(t,e,1))&&l+(e?t[0]+","+t[1]+"%,"+t[2]+"%,"+t[3]:t.join(","))+")"}),n&&(o=He(t),(r=n.c).join(a)!==o.c.join(a)))for(s=(i=t.replace(Ve,"1").split(rt)).length-1;c<s;c++)a+=i[c]+(~r.indexOf(c)?u.shift()||l+"0,0,0,0)":(o.length?o:u.length?u:n).shift());if(!i)for(s=(i=t.split(Ve)).length-1;c<s;c++)a+=i[c]+u[c];return a+i[s]},Ve=function(){var t,e="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b";for(t in je)e+="|"+t+"\\b";return new RegExp(e+")","gi")}(),ze=/hsl[a]?\(/,We=function(t){var e,n=t.join(" ");if(Ve.lastIndex=0,Ve.test(n))return e=ze.test(n),t[1]=Be(t[1],e),t[0]=Be(t[0],e,He(t[1])),!0},Ue=function(){var t,e,n,r,i,o,s=Date.now,a=500,u=33,l=s(),c=l,d=1e3/240,h=d,f=[],p=function n(p){var m,_,g,v,y=s()-c,b=!0===p;if((y>a||y<0)&&(l+=y-u),c+=y,g=c-l,((m=g-h)>0||b)&&(v=++r.frame,i=g-1e3*r.time,r.time=g/=1e3,h+=m+(m>=d?4:d-m),_=1),b||(t=e(n)),_)for(o=0;o<f.length;o++)f[o](g,i,v,p)};return r={time:0,frame:0,tick:function(){p(!0)},deltaRatio:function(t){return i/(1e3/(t||60))},wake:function(){A&&(!k&&$()&&(D=k=window,L=D.document||{},ut.gsap=Wn,(D.gsapVersions||(D.gsapVersions=[])).push(Wn.version),ct(lt||D.GreenSockGlobals||!D.gsap&&D||{}),Re.forEach(Ne)),n="undefined"!=typeof requestAnimationFrame&&requestAnimationFrame,t&&r.sleep(),e=n||function(t){return setTimeout(t,h-1e3*r.time+1|0)},R=1,p(2))},sleep:function(){(n?cancelAnimationFrame:clearTimeout)(t),R=0,e=pt},lagSmoothing:function(t,e){a=t||1/0,u=Math.min(e||33,a)},fps:function(t){h=1e3*r.time+(d=1e3/(t||240))},add:function(t,e,n){var i=e?function(e,n,o,s){t(e,n,o,s),r.remove(i)}:t;return r.remove(t),f[n?"unshift":"push"](i),qe(),i},remove:function(t,e){~(e=f.indexOf(t))&&f.splice(e,1)&&o>=e&&o--},_listeners:f}}(),qe=function(){return!R&&Ue.wake()},Ge={},Xe=/^[\d.\-M][\d.\-,\s]/,Ke=/["']/g,Ze=function(t){var e=(t+"").split("("),n=Ge[e[0]];return n&&e.length>1&&n.config?n.config.apply(null,~t.indexOf("{")?[function(t){for(var e,n,r,i={},o=t.substr(1,t.length-3).split(":"),s=o[0],a=1,u=o.length;a<u;a++)n=o[a],e=a!==u-1?n.lastIndexOf(","):n.length,r=n.substr(0,e),i[s]=isNaN(r)?r.replace(Ke,"").trim():+r,s=n.substr(e+1).trim();return i}(e[1])]:function(t){var e=t.indexOf("(")+1,n=t.indexOf(")"),r=t.indexOf("(",e);return t.substring(e,~r&&r<n?t.indexOf(")",n+1):n)}(t).split(",").map(Nt)):Ge._CE&&Xe.test(t)?Ge._CE("",t):n},$e=function(t){return function(e){return 1-t(1-e)}},Je=function t(e,n){for(var r,i=e._first;i;)i instanceof an?t(i,n):!i.vars.yoyoEase||i._yoyo&&i._repeat||i._yoyo===n||(i.timeline?t(i.timeline,n):(r=i._ease,i._ease=i._yEase,i._yEase=r,i._yoyo=n)),i=i._next},Qe=function(t,e){return t?(q(t)?t:Ge[t]||Ze(t))||e:e},tn=function(t,e,n,r){void 0===n&&(n=function(t){return 1-e(1-t)}),void 0===r&&(r=function(t){return t<.5?e(2*t)/2:1-e(2*(1-t))/2});var i,o={easeIn:e,easeOut:n,easeInOut:r};return Dt(t,function(t){Ge[t]=ut[t]=o,Ge[i=t.toLowerCase()]=n;for(var e in o)Ge[i+("easeIn"===e?".in":"easeOut"===e?".out":".inOut")]=Ge[t+"."+e]=o[e]}),o},en=function(t){return function(e){return e<.5?(1-t(1-2*e))/2:.5+t(2*(e-.5))/2}},nn=function t(e,n,r){var i=n>=1?n:1,o=(r||(e?.3:.45))/(n<1?n:1),s=o/F*(Math.asin(1/i)||0),a=function(t){return 1===t?1:i*Math.pow(2,-10*t)*W((t-s)*o)+1},u="out"===e?a:"in"===e?function(t){return 1-a(1-t)}:en(a);return o=F/o,u.config=function(n,r){return t(e,n,r)},u},rn=function t(e,n){void 0===n&&(n=1.70158);var r=function(t){return t?--t*t*((n+1)*t+n)+1:0},i="out"===e?r:"in"===e?function(t){return 1-r(1-t)}:en(r);return i.config=function(n){return t(e,n)},i};Dt("Linear,Quad,Cubic,Quart,Quint,Strong",function(t,e){var n=e<5?e+1:e;tn(t+",Power"+(n-1),e?function(t){return Math.pow(t,n)}:function(t){return t},function(t){return 1-Math.pow(1-t,n)},function(t){return t<.5?Math.pow(2*t,n)/2:1-Math.pow(2*(1-t),n)/2})}),Ge.Linear.easeNone=Ge.none=Ge.Linear.easeIn,tn("Elastic",nn("in"),nn("out"),nn()),function(t,e){var n=function(t){return t<1/2.75?7.5625*t*t:t<1/2.75*2?7.5625*Math.pow(t-1.5/2.75,2)+.75:t<1/2.75*2.5?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*Math.pow(t-2.625/2.75,2)+.984375};tn("Bounce",function(t){return 1-n(1-t)},n)}(),tn("Expo",function(t){return t?Math.pow(2,10*(t-1)):0}),tn("Circ",function(t){return-(V(1-t*t)-1)}),tn("Sine",function(t){return 1===t?1:1-z(t*H)}),tn("Back",rn("in"),rn("out"),rn()),Ge.SteppedEase=Ge.steps=ut.SteppedEase={config:function(t,e){void 0===t&&(t=1);var n=1/t,r=t+(e?0:1),i=e?1:0,o=1-Y;return function(t){return((r*de(0,o,t)|0)+i)*n}}},j.ease=Ge["quad.out"],Dt("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(t){return Mt+=t+","+t+"Params,"});var on=function(t,e){this.id=B++,t._gsap=this,this.target=t,this.harness=e,this.get=e?e.get:Ot,this.set=e?e.getSetter:Sn},sn=function(){function t(t){this.vars=t,this._delay=+t.delay||0,(this._repeat=t.repeat===1/0?-2:t.repeat||0)&&(this._rDelay=t.repeatDelay||0,this._yoyo=!!t.yoyo||!!t.yoyoEase),this._ts=1,oe(this,+t.duration,1,1),this.data=t.data,C&&(this._ctx=C,C.data.push(this)),R||Ue.wake()}var e=t.prototype;return e.delay=function(t){return t||0===t?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+t-this._delay),this._delay=t,this):this._delay},e.duration=function(t){return arguments.length?this.totalDuration(this._repeat>0?t+(t+this._rDelay)*this._repeat:t):this.totalDuration()&&this._dur},e.totalDuration=function(t){return arguments.length?(this._dirty=0,oe(this,this._repeat<0?t:(t-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(t,e){if(qe(),!arguments.length)return this._tTime;var n=this._dp;if(n&&n.smoothChildTiming&&this._ts){for(Qt(this,t),!n._dp||n.parent||te(n,this);n&&n.parent;)n.parent._time!==n._start+(n._ts>=0?n._tTime/n._ts:(n.totalDuration()-n._tTime)/-n._ts)&&n.totalTime(n._tTime,!0),n=n.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&t<this._tDur||this._ts<0&&t>0||!this._tDur&&!t)&&ee(this._dp,this,this._start-this._delay)}return(this._tTime!==t||!this._dur&&!e||this._initted&&Math.abs(this._zTime)===Y||!t&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=t),Rt(this,t,e)),this},e.time=function(t,e){return arguments.length?this.totalTime(Math.min(this.totalDuration(),t+Kt(this))%(this._dur+this._rDelay)||(t?this._dur:0),e):this._time},e.totalProgress=function(t,e){return arguments.length?this.totalTime(this.totalDuration()*t,e):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>0?1:0},e.progress=function(t,e){return arguments.length?this.totalTime(this.duration()*(!this._yoyo||1&this.iteration()?t:1-t)+Kt(this),e):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},e.iteration=function(t,e){var n=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(t-1)*n,e):this._repeat?Zt(this._tTime,n)+1:1},e.timeScale=function(t,e){if(!arguments.length)return this._rts===-Y?0:this._rts;if(this._rts===t)return this;var n=this.parent&&this._ts?$t(this.parent._time,this):this._tTime;return this._rts=+t||0,this._ts=this._ps||t===-Y?0:this._rts,this.totalTime(de(-Math.abs(this._delay),this._tDur,n),!1!==e),Jt(this),function(t){for(var e=t.parent;e&&e.parent;)e._dirty=1,e.totalDuration(),e=e.parent;return t}(this)},e.paused=function(t){return arguments.length?(this._ps!==t&&(this._ps=t,t?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(qe(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,1===this.progress()&&Math.abs(this._zTime)!==Y&&(this._tTime-=Y)))),this):this._ps},e.startTime=function(t){if(arguments.length){this._start=t;var e=this.parent||this._dp;return e&&(e._sort||!this.parent)&&ee(e,this,t-this._delay),this}return this._start},e.endTime=function(t){return this._start+(Z(t)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},e.rawTime=function(t){var e=this.parent||this._dp;return e?t&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?$t(e.rawTime(t),this):this._tTime:this._tTime},e.revert=function(t){void 0===t&&(t=gt);var e=x;return x=t,(this._initted||this._startAt)&&(this.timeline&&this.timeline.revert(t),this.totalTime(-.01,t.suppressEvents)),"nested"!==this.data&&!1!==t.kill&&this.kill(),x=e,this},e.globalTime=function(t){for(var e=this,n=arguments.length?t:e.rawTime();e;)n=e._start+n/(Math.abs(e._ts)||1),e=e._dp;return!this.parent&&this._sat?this._sat.globalTime(t):n},e.repeat=function(t){return arguments.length?(this._repeat=t===1/0?-2:t,se(this)):-2===this._repeat?1/0:this._repeat},e.repeatDelay=function(t){if(arguments.length){var e=this._time;return this._rDelay=t,se(this),e?this.time(e):this}return this._rDelay},e.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},e.seek=function(t,e){return this.totalTime(ue(this,t),Z(e))},e.restart=function(t,e){return this.play().totalTime(t?-this._delay:0,Z(e))},e.play=function(t,e){return null!=t&&this.seek(t,e),this.reversed(!1).paused(!1)},e.reverse=function(t,e){return null!=t&&this.seek(t||this.totalDuration(),e),this.reversed(!0).paused(!1)},e.pause=function(t,e){return null!=t&&this.seek(t,e),this.paused(!0)},e.resume=function(){return this.paused(!1)},e.reversed=function(t){return arguments.length?(!!t!==this.reversed()&&this.timeScale(-this._rts||(t?-Y:0)),this):this._rts<0},e.invalidate=function(){return this._initted=this._act=0,this._zTime=-Y,this},e.isActive=function(){var t,e=this.parent||this._dp,n=this._start;return!(e&&!(this._ts&&this._initted&&e.isActive()&&(t=e.rawTime(!0))>=n&&t<this.endTime(!0)-Y))},e.eventCallback=function(t,e,n){var r=this.vars;return arguments.length>1?(e?(r[t]=e,n&&(r[t+"Params"]=n),"onUpdate"===t&&(this._onUpdate=e)):delete r[t],this):r[t]},e.then=function(t){var e=this;return new Promise(function(n){var r=q(t)?t:jt,i=function(){var t=e.then;e.then=null,q(r)&&(r=r(e))&&(r.then||r===e)&&(e.then=t),n(r),e.then=t};e._initted&&1===e.totalProgress()&&e._ts>=0||!e._tTime&&e._ts<0?i():e._prom=i})},e.kill=function(){Pe(this)},t}();Yt(sn.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-Y,_prom:0,_ps:!1,_rts:1});var an=function(t){function e(e,n){var i;return void 0===e&&(e={}),i=t.call(this,e)||this,i.labels={},i.smoothChildTiming=!!e.smoothChildTiming,i.autoRemoveChildren=!!e.autoRemoveChildren,i._sort=Z(e.sortChildren),O&&ee(e.parent||O,r(i),n),e.reversed&&i.reverse(),e.paused&&i.paused(!0),e.scrollTrigger&&ne(r(i),e.scrollTrigger),i}i(e,t);var n=e.prototype;return n.to=function(t,e,n){return le(0,arguments,this),this},n.from=function(t,e,n){return le(1,arguments,this),this},n.fromTo=function(t,e,n,r){return le(2,arguments,this),this},n.set=function(t,e,n){return e.duration=0,e.parent=this,Vt(e).repeatDelay||(e.repeat=0),e.immediateRender=!!e.immediateRender,new gn(t,e,ue(this,n),1),this},n.call=function(t,e,n){return ee(this,gn.delayedCall(0,t,e),n)},n.staggerTo=function(t,e,n,r,i,o,s){return n.duration=e,n.stagger=n.stagger||r,n.onComplete=o,n.onCompleteParams=s,n.parent=this,new gn(t,n,ue(this,i)),this},n.staggerFrom=function(t,e,n,r,i,o,s){return n.runBackwards=1,Vt(n).immediateRender=Z(n.immediateRender),this.staggerTo(t,e,n,r,i,o,s)},n.staggerFromTo=function(t,e,n,r,i,o,s,a){return r.startAt=n,Vt(r).immediateRender=Z(r.immediateRender),this.staggerTo(t,e,r,i,o,s,a)},n.render=function(t,e,n){var r,i,o,s,a,u,l,c,d,h,f,p,m=this._time,_=this._dirty?this.totalDuration():this._tDur,g=this._dur,v=t<=0?0:Lt(t),y=this._zTime<0!=t<0&&(this._initted||!g);if(this!==O&&v>_&&t>=0&&(v=_),v!==this._tTime||n||y){if(m!==this._time&&g&&(v+=this._time-m,t+=this._time-m),r=v,d=this._start,c=this._ts,u=!c,y&&(g||(m=this._zTime),(t||!e)&&(this._zTime=t)),this._repeat){if(f=this._yoyo,a=g+this._rDelay,this._repeat<-1&&t<0)return this.totalTime(100*a+t,e,n);if(r=Lt(v%a),v===_?(s=this._repeat,r=g):((s=~~(v/a))&&s===v/a&&(r=g,s--),r>g&&(r=g)),h=Zt(this._tTime,a),!m&&this._tTime&&h!==s&&this._tTime-h*a-this._dur<=0&&(h=s),f&&1&s&&(r=g-r,p=1),s!==h&&!this._lock){var b=f&&1&h,w=b===(f&&1&s);if(s<h&&(b=!b),m=b?0:v%g?g:v,this._lock=1,this.render(m||(p?0:Lt(s*a)),e,!g)._lock=0,this._tTime=v,!e&&this.parent&&Ie(this,"onRepeat"),this.vars.repeatRefresh&&!p&&(this.invalidate()._lock=1),m&&m!==this._time||u!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(g=this._dur,_=this._tDur,w&&(this._lock=2,this.render(m=b?g:-1e-4,!0),this.vars.repeatRefresh&&!p&&this.invalidate()),this._lock=0,!this._ts&&!u)return this;Je(this,p)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(l=function(t,e,n){var r;if(n>e)for(r=t._first;r&&r._start<=n;){if("isPause"===r.data&&r._start>e)return r;r=r._next}else for(r=t._last;r&&r._start>=n;){if("isPause"===r.data&&r._start<e)return r;r=r._prev}}(this,Lt(m),Lt(r)))&&(v-=r-(r=l._start)),this._tTime=v,this._time=r,this._act=!c,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=t,m=0),!m&&r&&!e&&!s&&(Ie(this,"onStart"),this._tTime!==v))return this;if(r>=m&&t>=0)for(i=this._first;i;){if(o=i._next,(i._act||r>=i._start)&&i._ts&&l!==i){if(i.parent!==this)return this.render(t,e,n);if(i.render(i._ts>0?(r-i._start)*i._ts:(i._dirty?i.totalDuration():i._tDur)+(r-i._start)*i._ts,e,n),r!==this._time||!this._ts&&!u){l=0,o&&(v+=this._zTime=-Y);break}}i=o}else{i=this._last;for(var S=t<0?t:r;i;){if(o=i._prev,(i._act||S<=i._end)&&i._ts&&l!==i){if(i.parent!==this)return this.render(t,e,n);if(i.render(i._ts>0?(S-i._start)*i._ts:(i._dirty?i.totalDuration():i._tDur)+(S-i._start)*i._ts,e,n||x&&(i._initted||i._startAt)),r!==this._time||!this._ts&&!u){l=0,o&&(v+=this._zTime=S?-Y:Y);break}}i=o}}if(l&&!e&&(this.pause(),l.render(r>=m?0:-Y)._zTime=r>=m?1:-1,this._ts))return this._start=d,Jt(this),this.render(t,e,n);this._onUpdate&&!e&&Ie(this,"onUpdate",!0),(v===_&&this._tTime>=this.totalDuration()||!v&&m)&&(d!==this._start&&Math.abs(c)===Math.abs(this._ts)||this._lock||((t||!g)&&(v===_&&this._ts>0||!v&&this._ts<0)&&Ut(this,1),e||t<0&&!m||!v&&!m&&_||(Ie(this,v===_&&t>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(v<_&&this.timeScale()>0)&&this._prom())))}return this},n.add=function(t,e){var n=this;if(G(e)||(e=ue(this,e,t)),!(t instanceof sn)){if(tt(t))return t.forEach(function(t){return n.add(t,e)}),this;if(U(t))return this.addLabel(t,e);if(!q(t))return this;t=gn.delayedCall(0,t)}return this!==t?ee(this,t,e):this},n.getChildren=function(t,e,n,r){void 0===t&&(t=!0),void 0===e&&(e=!0),void 0===n&&(n=!0),void 0===r&&(r=-1e8);for(var i=[],o=this._first;o;)o._start>=r&&(o instanceof gn?e&&i.push(o):(n&&i.push(o),t&&i.push.apply(i,o.getChildren(!0,e,n)))),o=o._next;return i},n.getById=function(t){for(var e=this.getChildren(1,1,1),n=e.length;n--;)if(e[n].vars.id===t)return e[n]},n.remove=function(t){return U(t)?this.removeLabel(t):q(t)?this.killTweensOf(t):(Wt(this,t),t===this._recent&&(this._recent=this._last),qt(this))},n.totalTime=function(e,n){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=Lt(Ue.time-(this._ts>0?e/this._ts:(this.totalDuration()-e)/-this._ts))),t.prototype.totalTime.call(this,e,n),this._forcing=0,this):this._tTime},n.addLabel=function(t,e){return this.labels[t]=ue(this,e),this},n.removeLabel=function(t){return delete this.labels[t],this},n.addPause=function(t,e,n){var r=gn.delayedCall(0,e||pt,n);return r.data="isPause",this._hasPause=1,ee(this,r,ue(this,t))},n.removePause=function(t){var e=this._first;for(t=ue(this,t);e;)e._start===t&&"isPause"===e.data&&Ut(e),e=e._next},n.killTweensOf=function(t,e,n){for(var r=this.getTweensOf(t,n),i=r.length;i--;)un!==r[i]&&r[i].kill(t,e);return this},n.getTweensOf=function(t,e){for(var n,r=[],i=_e(t),o=this._first,s=G(e);o;)o instanceof gn?It(o._targets,i)&&(s?(!un||o._initted&&o._ts)&&o.globalTime(0)<=e&&o.globalTime(o.totalDuration())>e:!e||o.isActive())&&r.push(o):(n=o.getTweensOf(i,e)).length&&r.push.apply(r,n),o=o._next;return r},n.tweenTo=function(t,e){e=e||{};var n,r=this,i=ue(r,t),o=e.startAt,s=e.onStart,a=e.onStartParams,u=e.immediateRender,l=gn.to(r,Yt({ease:e.ease||"none",lazy:!1,immediateRender:!1,time:i,overwrite:"auto",duration:e.duration||Math.abs((i-(o&&"time"in o?o.time:r._time))/r.timeScale())||Y,onStart:function(){if(r.pause(),!n){var t=e.duration||Math.abs((i-(o&&"time"in o?o.time:r._time))/r.timeScale());l._dur!==t&&oe(l,t,0,1).render(l._time,!0,!0),n=1}s&&s.apply(l,a||[])}},e));return u?l.render(0):l},n.tweenFromTo=function(t,e,n){return this.tweenTo(e,Yt({startAt:{time:ue(this,t)}},n))},n.recent=function(){return this._recent},n.nextLabel=function(t){return void 0===t&&(t=this._time),Ae(this,ue(this,t))},n.previousLabel=function(t){return void 0===t&&(t=this._time),Ae(this,ue(this,t),1)},n.currentLabel=function(t){return arguments.length?this.seek(t,!0):this.previousLabel(this._time+Y)},n.shiftChildren=function(t,e,n){void 0===n&&(n=0);for(var r,i=this._first,o=this.labels;i;)i._start>=n&&(i._start+=t,i._end+=t),i=i._next;if(e)for(r in o)o[r]>=n&&(o[r]+=t);return qt(this)},n.invalidate=function(e){var n=this._first;for(this._lock=0;n;)n.invalidate(e),n=n._next;return t.prototype.invalidate.call(this,e)},n.clear=function(t){void 0===t&&(t=!0);for(var e,n=this._first;n;)e=n._next,this.remove(n),n=e;return this._dp&&(this._time=this._tTime=this._pTime=0),t&&(this.labels={}),qt(this)},n.totalDuration=function(t){var e,n,r,i=0,o=this._last,s=1e8;if(arguments.length)return this.timeScale((this._repeat<0?this.duration():this.totalDuration())/(this.reversed()?-t:t));if(this._dirty){for(r=this.parent;o;)e=o._prev,o._dirty&&o.totalDuration(),(n=o._start)>s&&this._sort&&o._ts&&!this._lock?(this._lock=1,ee(this,o,n-o._delay,1)._lock=0):s=n,n<0&&o._ts&&(i-=n,(!r&&!this._dp||r&&r.smoothChildTiming)&&(this._start+=n/this._ts,this._time-=n,this._tTime-=n),this.shiftChildren(-n,!1,-Infinity),s=0),o._end>i&&o._ts&&(i=o._end),o=e;oe(this,this===O&&this._time>i?this._time:i,1,1),this._dirty=0}return this._tDur},e.updateRoot=function(t){if(O._ts&&(Rt(O,$t(t,O)),I=Ue.frame),Ue.frame>=Tt){Tt+=N.autoSleep||120;var e=O._first;if((!e||!e._ts)&&N.autoSleep&&Ue._listeners.length<2){for(;e&&!e._ts;)e=e._next;e||Ue.sleep()}}},e}(sn);Yt(an.prototype,{_lock:0,_hasPause:0,_forcing:0});var un,ln,cn=function(t,e,n,r,i,o,s,a,u,l){q(r)&&(r=r(i||0,t,o));var c,d=t[e],h="get"!==n?n:q(d)?u?t[e.indexOf("set")||!q(t["get"+e.substr(3)])?e:"get"+e.substr(3)](u):t[e]():d,f=q(d)?u?bn:yn:vn;if(U(r)&&(~r.indexOf("random(")&&(r=De(r)),"="===r.charAt(1)&&((c=At(h,r)+(he(h)||0))||0===c)&&(r=c)),!l||h!==r||ln)return isNaN(h*r)||""===r?(!d&&!(e in t)&&dt(e,r),function(t,e,n,r,i,o,s){var a,u,l,c,d,h,f,p,m=new Ln(this._pt,t,e,0,1,Mn,null,i),_=0,g=0;for(m.b=n,m.e=r,n+="",(f=~(r+="").indexOf("random("))&&(r=De(r)),o&&(o(p=[n,r],t,e),n=p[0],r=p[1]),u=n.match(it)||[];a=it.exec(r);)c=a[0],d=r.substring(_,a.index),l?l=(l+1)%5:"rgba("===d.substr(-5)&&(l=1),c!==u[g++]&&(h=parseFloat(u[g-1])||0,m._pt={_next:m._pt,p:d||1===g?d:",",s:h,c:"="===c.charAt(1)?At(h,c)-h:parseFloat(c)-h,m:l&&l<4?Math.round:0},_=it.lastIndex);return m.c=_<r.length?r.substring(_,r.length):"",m.fp=s,(ot.test(r)||f)&&(m.e=0),this._pt=m,m}.call(this,t,e,h,r,f,a||N.stringFilter,u)):(c=new Ln(this._pt,t,e,+h||0,r-(h||0),"boolean"==typeof d?En:Tn,0,f),u&&(c.fp=u),s&&c.modifier(s,this,t),this._pt=c)},dn=function(t,e,n,r,i,o){var s,a,u,l;if(wt[t]&&!1!==(s=new wt[t]).init(i,s.rawVars?e[t]:function(t,e,n,r,i){if(q(t)&&(t=pn(t,i,e,n,r)),!K(t)||t.style&&t.nodeType||tt(t)||Q(t))return U(t)?pn(t,i,e,n,r):t;var o,s={};for(o in t)s[o]=pn(t[o],i,e,n,r);return s}(e[t],r,i,o,n),n,r,o)&&(n._pt=a=new Ln(n._pt,i,t,0,1,s.render,s,0,s.priority),n!==P))for(u=n._ptLookup[n._targets.indexOf(i)],l=s._props.length;l--;)u[s._props[l]]=a;return s},hn=function t(e,n,r){var i,o,s,a,u,l,c,d,h,f,p,m,_,g=e.vars,v=g.ease,y=g.startAt,b=g.immediateRender,w=g.lazy,S=g.onUpdate,T=g.runBackwards,E=g.yoyoEase,C=g.keyframes,D=g.autoRevert,k=e._dur,L=e._startAt,A=e._targets,I=e.parent,P=I&&"nested"===I.data?I.vars.targets:A,R="auto"===e._overwrite&&!M,N=e.timeline;if(N&&(!C||!v)&&(v="none"),e._ease=Qe(v,j.ease),e._yEase=E?$e(Qe(!0===E?v:E,j.ease)):0,E&&e._yoyo&&!e._repeat&&(E=e._yEase,e._yEase=e._ease,e._ease=E),e._from=!N&&!!g.runBackwards,!N||C&&!g.stagger){if(d=A[0]?Ct(A[0]).harness:0,m=d&&g[d.prop],i=Bt(g,vt),L&&(L._zTime<0&&L.progress(1),n<0&&T&&b&&!D?L.render(-1,!0):L.revert(T&&k?_t:mt),L._lazy=0),y){if(Ut(e._startAt=gn.set(A,Yt({data:"isStart",overwrite:!1,parent:I,immediateRender:!0,lazy:!L&&Z(w),startAt:null,delay:0,onUpdate:S&&function(){return Ie(e,"onUpdate")},stagger:0},y))),e._startAt._dp=0,e._startAt._sat=e,n<0&&(x||!b&&!D)&&e._startAt.revert(_t),b&&k&&n<=0&&r<=0)return void(n&&(e._zTime=n))}else if(T&&k&&!L)if(n&&(b=!1),s=Yt({overwrite:!1,data:"isFromStart",lazy:b&&!L&&Z(w),immediateRender:b,stagger:0,parent:I},i),m&&(s[d.prop]=m),Ut(e._startAt=gn.set(A,s)),e._startAt._dp=0,e._startAt._sat=e,n<0&&(x?e._startAt.revert(_t):e._startAt.render(-1,!0)),e._zTime=n,b){if(!n)return}else t(e._startAt,Y,Y);for(e._pt=e._ptCache=0,w=k&&Z(w)||w&&!k,o=0;o<A.length;o++){if(u=A[o],c=u._gsap||xt(A)[o]._gsap,e._ptLookup[o]=f={},bt[c.id]&&yt.length&&Pt(),p=P===A?o:P.indexOf(u),d&&!1!==(h=new d).init(u,m||i,e,p,P)&&(e._pt=a=new Ln(e._pt,u,h.name,0,1,h.render,h,0,h.priority),h._props.forEach(function(t){f[t]=a}),h.priority&&(l=1)),!d||m)for(s in i)wt[s]&&(h=dn(s,i,e,p,u,P))?h.priority&&(l=1):f[s]=a=cn.call(e,u,s,"get",i[s],p,P,0,g.stringFilter);e._op&&e._op[o]&&e.kill(u,e._op[o]),R&&e._pt&&(un=e,O.killTweensOf(u,f,e.globalTime(n)),_=!e.parent,un=0),e._pt&&w&&(bt[c.id]=1)}l&&kn(e),e._onInit&&e._onInit(e)}e._onUpdate=S,e._initted=(!e._op||e._pt)&&!_,C&&n<=0&&N.render(1e8,!0,!0)},fn=function(t,e,n,r){var i,o,s=e.ease||r||"power1.inOut";if(tt(e))o=n[t]||(n[t]=[]),e.forEach(function(t,n){return o.push({t:n/(e.length-1)*100,v:t,e:s})});else for(i in e)o=n[i]||(n[i]=[]),"ease"===i||o.push({t:parseFloat(t),v:e[i],e:s})},pn=function(t,e,n,r,i){return q(t)?t.call(e,n,r,i):U(t)&&~t.indexOf("random(")?De(t):t},mn=Mt+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",_n={};Dt(mn+",id,stagger,delay,duration,paused,scrollTrigger",function(t){return _n[t]=1});var gn=function(t){function e(e,n,i,o){var s;"number"==typeof n&&(i.duration=n,n=i,i=null);var a,u,l,c,d,h,f,p,m=(s=t.call(this,o?n:Vt(n))||this).vars,_=m.duration,g=m.delay,v=m.immediateRender,y=m.stagger,b=m.overwrite,w=m.keyframes,S=m.defaults,T=m.scrollTrigger,E=m.yoyoEase,x=n.parent||O,C=(tt(e)||Q(e)?G(e[0]):"length"in n)?[e]:_e(e);if(s._targets=C.length?xt(C):ht("GSAP target "+e+" not found. https://gsap.com",!N.nullTargetWarn)||[],s._ptLookup=[],s._overwrite=b,w||y||J(_)||J(g)){if(n=s.vars,(a=s.timeline=new an({data:"nested",defaults:S||{},targets:x&&"nested"===x.data?x.vars.targets:C})).kill(),a.parent=a._dp=r(s),a._start=0,y||J(_)||J(g)){if(c=C.length,f=y&&ye(y),K(y))for(d in y)~mn.indexOf(d)&&(p||(p={}),p[d]=y[d]);for(u=0;u<c;u++)(l=Bt(n,_n)).stagger=0,E&&(l.yoyoEase=E),p&&Ft(l,p),h=C[u],l.duration=+pn(_,r(s),u,h,C),l.delay=(+pn(g,r(s),u,h,C)||0)-s._delay,!y&&1===c&&l.delay&&(s._delay=g=l.delay,s._start+=g,l.delay=0),a.to(h,l,f?f(u,h,C):0),a._ease=Ge.none;a.duration()?_=g=0:s.timeline=0}else if(w){Vt(Yt(a.vars.defaults,{ease:"none"})),a._ease=Qe(w.ease||n.ease||"none");var D,k,L,A=0;if(tt(w))w.forEach(function(t){return a.to(C,t,">")}),a.duration();else{l={};for(d in w)"ease"===d||"easeEach"===d||fn(d,w[d],l,w.easeEach);for(d in l)for(D=l[d].sort(function(t,e){return t.t-e.t}),A=0,u=0;u<D.length;u++)(L={ease:(k=D[u]).e,duration:(k.t-(u?D[u-1].t:0))/100*_})[d]=k.v,a.to(C,L,A),A+=L.duration;a.duration()<_&&a.to({},{duration:_-a.duration()})}}_||s.duration(_=a.duration())}else s.timeline=0;return!0!==b||M||(un=r(s),O.killTweensOf(C),un=0),ee(x,r(s),i),n.reversed&&s.reverse(),n.paused&&s.paused(!0),(v||!_&&!w&&s._start===Lt(x._time)&&Z(v)&&Xt(r(s))&&"nested"!==x.data)&&(s._tTime=-Y,s.render(Math.max(0,-g)||0)),T&&ne(r(s),T),s}i(e,t);var n=e.prototype;return n.render=function(t,e,n){var r,i,o,s,a,u,l,c,d,h=this._time,f=this._tDur,p=this._dur,m=t<0,_=t>f-Y&&!m?f:t<Y?0:t;if(p){if(_!==this._tTime||!t||n||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==m){if(r=_,c=this.timeline,this._repeat){if(s=p+this._rDelay,this._repeat<-1&&m)return this.totalTime(100*s+t,e,n);if(r=Lt(_%s),_===f?(o=this._repeat,r=p):((o=~~(_/s))&&o===Lt(_/s)&&(r=p,o--),r>p&&(r=p)),(u=this._yoyo&&1&o)&&(d=this._yEase,r=p-r),a=Zt(this._tTime,s),r===h&&!n&&this._initted&&o===a)return this._tTime=_,this;o!==a&&(c&&this._yEase&&Je(c,u),this.vars.repeatRefresh&&!u&&!this._lock&&this._time!==s&&this._initted&&(this._lock=n=1,this.render(Lt(s*o),!0).invalidate()._lock=0))}if(!this._initted){if(re(this,m?t:r,n,e,_))return this._tTime=0,this;if(!(h===this._time||n&&this.vars.repeatRefresh&&o!==a))return this;if(p!==this._dur)return this.render(t,e,n)}if(this._tTime=_,this._time=r,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=l=(d||this._ease)(r/p),this._from&&(this.ratio=l=1-l),r&&!h&&!e&&!o&&(Ie(this,"onStart"),this._tTime!==_))return this;for(i=this._pt;i;)i.r(l,i.d),i=i._next;c&&c.render(t<0?t:c._dur*c._ease(r/this._dur),e,n)||this._startAt&&(this._zTime=t),this._onUpdate&&!e&&(m&&Gt(this,t,0,n),Ie(this,"onUpdate")),this._repeat&&o!==a&&this.vars.onRepeat&&!e&&this.parent&&Ie(this,"onRepeat"),_!==this._tDur&&_||this._tTime!==_||(m&&!this._onUpdate&&Gt(this,t,0,!0),(t||!p)&&(_===this._tDur&&this._ts>0||!_&&this._ts<0)&&Ut(this,1),e||m&&!h||!(_||h||u)||(Ie(this,_===f?"onComplete":"onReverseComplete",!0),this._prom&&!(_<f&&this.timeScale()>0)&&this._prom()))}}else!function(t,e,n,r){var i,o,s,a=t.ratio,u=e<0||!e&&(!t._start&&function t(e){var n=e.parent;return n&&n._ts&&n._initted&&!n._lock&&(n.rawTime()<0||t(n))}(t)&&(t._initted||!ie(t))||(t._ts<0||t._dp._ts<0)&&!ie(t))?0:1,l=t._rDelay,c=0;if(l&&t._repeat&&(c=de(0,t._tDur,e),o=Zt(c,l),t._yoyo&&1&o&&(u=1-u),o!==Zt(t._tTime,l)&&(a=1-u,t.vars.repeatRefresh&&t._initted&&t.invalidate())),u!==a||x||r||t._zTime===Y||!e&&t._zTime){if(!t._initted&&re(t,e,r,n,c))return;for(s=t._zTime,t._zTime=e||(n?Y:0),n||(n=e&&!s),t.ratio=u,t._from&&(u=1-u),t._time=0,t._tTime=c,i=t._pt;i;)i.r(u,i.d),i=i._next;e<0&&Gt(t,e,0,!0),t._onUpdate&&!n&&Ie(t,"onUpdate"),c&&t._repeat&&!n&&t.parent&&Ie(t,"onRepeat"),(e>=t._tDur||e<0)&&t.ratio===u&&(u&&Ut(t,1),n||x||(Ie(t,u?"onComplete":"onReverseComplete",!0),t._prom&&t._prom()))}else t._zTime||(t._zTime=e)}(this,t,e,n);return this},n.targets=function(){return this._targets},n.invalidate=function(e){return(!e||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(e),t.prototype.invalidate.call(this,e)},n.resetTo=function(t,e,n,r,i){R||Ue.wake(),this._ts||this.play();var o,s=Math.min(this._dur,(this._dp._time-this._start)*this._ts);return this._initted||hn(this,s),o=this._ease(s/this._dur),function(t,e,n,r,i,o,s,a){var u,l,c,d,h=(t._pt&&t._ptCache||(t._ptCache={}))[e];if(!h)for(h=t._ptCache[e]=[],c=t._ptLookup,d=t._targets.length;d--;){if((u=c[d][e])&&u.d&&u.d._pt)for(u=u.d._pt;u&&u.p!==e&&u.fp!==e;)u=u._next;if(!u)return ln=1,t.vars[e]="+=0",hn(t,s),ln=0,a?ht(e+" not eligible for reset"):1;h.push(u)}for(d=h.length;d--;)(u=(l=h[d])._pt||l).s=!r&&0!==r||i?u.s+(r||0)+o*u.c:r,u.c=n-u.s,l.e&&(l.e=kt(n)+he(l.e)),l.b&&(l.b=u.s+he(l.b))}(this,t,e,n,r,o,s,i)?this.resetTo(t,e,n,r,1):(Qt(this,0),this.parent||zt(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},n.kill=function(t,e){if(void 0===e&&(e="all"),!(t||e&&"all"!==e))return this._lazy=this._pt=0,this.parent?Pe(this):this;if(this.timeline){var n=this.timeline.totalDuration();return this.timeline.killTweensOf(t,e,un&&!0!==un.vars.overwrite)._first||Pe(this),this.parent&&n!==this.timeline.totalDuration()&&oe(this,this._dur*this.timeline._tDur/n,0,1),this}var r,i,o,s,a,u,l,c=this._targets,d=t?_e(t):c,h=this._ptLookup,f=this._pt;if((!e||"all"===e)&&function(t,e){for(var n=t.length,r=n===e.length;r&&n--&&t[n]===e[n];);return n<0}(c,d))return"all"===e&&(this._pt=0),Pe(this);for(r=this._op=this._op||[],"all"!==e&&(U(e)&&(a={},Dt(e,function(t){return a[t]=1}),e=a),e=function(t,e){var n,r,i,o,s=t[0]?Ct(t[0]).harness:0,a=s&&s.aliases;if(!a)return e;n=Ft({},e);for(r in a)if(r in n)for(i=(o=a[r].split(",")).length;i--;)n[o[i]]=n[r];return n}(c,e)),l=c.length;l--;)if(~d.indexOf(c[l])){i=h[l],"all"===e?(r[l]=e,s=i,o={}):(o=r[l]=r[l]||{},s=e);for(a in s)(u=i&&i[a])&&("kill"in u.d&&!0!==u.d.kill(a)||Wt(this,u,"_pt"),delete i[a]),"all"!==o&&(o[a]=1)}return this._initted&&!this._pt&&f&&Pe(this),this},e.to=function(t,n){return new e(t,n,arguments[2])},e.from=function(t,e){return le(1,arguments)},e.delayedCall=function(t,n,r,i){return new e(n,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:t,onComplete:n,onReverseComplete:n,onCompleteParams:r,onReverseCompleteParams:r,callbackScope:i})},e.fromTo=function(t,e,n){return le(2,arguments)},e.set=function(t,n){return n.duration=0,n.repeatDelay||(n.repeat=0),new e(t,n)},e.killTweensOf=function(t,e,n){return O.killTweensOf(t,e,n)},e}(sn);Yt(gn.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),Dt("staggerTo,staggerFrom,staggerFromTo",function(t){gn[t]=function(){var e=new an,n=pe.call(arguments,0);return n.splice("staggerFromTo"===t?5:4,0,0),e[t].apply(e,n)}});var vn=function(t,e,n){return t[e]=n},yn=function(t,e,n){return t[e](n)},bn=function(t,e,n,r){return t[e](r.fp,n)},wn=function(t,e,n){return t.setAttribute(e,n)},Sn=function(t,e){return q(t[e])?yn:X(t[e])&&t.setAttribute?wn:vn},Tn=function(t,e){return e.set(e.t,e.p,Math.round(1e6*(e.s+e.c*t))/1e6,e)},En=function(t,e){return e.set(e.t,e.p,!!(e.s+e.c*t),e)},Mn=function(t,e){var n=e._pt,r="";if(!t&&e.b)r=e.b;else if(1===t&&e.e)r=e.e;else{for(;n;)r=n.p+(n.m?n.m(n.s+n.c*t):Math.round(1e4*(n.s+n.c*t))/1e4)+r,n=n._next;r+=e.c}e.set(e.t,e.p,r,e)},xn=function(t,e){for(var n=e._pt;n;)n.r(t,n.d),n=n._next},Cn=function(t,e,n,r){for(var i,o=this._pt;o;)i=o._next,o.p===r&&o.modifier(t,e,n),o=i},On=function(t){for(var e,n,r=this._pt;r;)n=r._next,r.p===t&&!r.op||r.op===t?Wt(this,r,"_pt"):r.dep||(e=1),r=n;return!e},Dn=function(t,e,n,r){r.mSet(t,e,r.m.call(r.tween,n,r.mt),r)},kn=function(t){for(var e,n,r,i,o=t._pt;o;){for(e=o._next,n=r;n&&n.pr>o.pr;)n=n._next;(o._prev=n?n._prev:i)?o._prev._next=o:r=o,(o._next=n)?n._prev=o:i=o,o=e}t._pt=r},Ln=function(){function t(t,e,n,r,i,o,s,a,u){this.t=e,this.s=r,this.c=i,this.p=n,this.r=o||Tn,this.d=s||this,this.set=a||vn,this.pr=u||0,this._next=t,t&&(t._prev=this)}return t.prototype.modifier=function(t,e,n){this.mSet=this.mSet||this.set,this.set=Dn,this.m=t,this.mt=n,this.tween=e},t}();Dt(Mt+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger",function(t){return vt[t]=1}),ut.TweenMax=ut.TweenLite=gn,ut.TimelineLite=ut.TimelineMax=an,O=new an({sortChildren:!1,defaults:j,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),N.stringFilter=We;var An=[],In={},Pn=[],Rn=0,Nn=0,jn=function(t){return(In[t]||Pn).map(function(t){return t()})},Yn=function(){var t=Date.now(),e=[];t-Rn>2&&(jn("matchMediaInit"),An.forEach(function(t){var n,r,i,o,s=t.queries,a=t.conditions;for(r in s)(n=D.matchMedia(s[r]).matches)&&(i=1),n!==a[r]&&(a[r]=n,o=1);o&&(t.revert(),i&&e.push(t))}),jn("matchMediaRevert"),e.forEach(function(t){return t.onMatch(t,function(e){return t.add(null,e)})}),Rn=t,jn("matchMedia"))},Fn=function(){function t(t,e){this.selector=e&&ge(e),this.data=[],this._r=[],this.isReverted=!1,this.id=Nn++,t&&this.add(t)}var e=t.prototype;return e.add=function(t,e,n){q(t)&&(n=e,e=t,t=q);var r=this,i=function(){var t,i=C,o=r.selector;return i&&i!==r&&i.data.push(r),n&&(r.selector=ge(n)),C=r,t=e.apply(r,arguments),q(t)&&r._r.push(t),C=i,r.selector=o,r.isReverted=!1,t};return r.last=i,t===q?i(r,function(t){return r.add(null,t)}):t?r[t]=i:i},e.ignore=function(t){var e=C;C=null,t(this),C=e},e.getTweens=function(){var e=[];return this.data.forEach(function(n){return n instanceof t?e.push.apply(e,n.getTweens()):n instanceof gn&&!(n.parent&&"nested"===n.parent.data)&&e.push(n)}),e},e.clear=function(){this._r.length=this.data.length=0},e.kill=function(t,e){var n=this;if(t?function(){for(var e,r=n.getTweens(),i=n.data.length;i--;)"isFlip"===(e=n.data[i]).data&&(e.revert(),e.getChildren(!0,!0,!1).forEach(function(t){return r.splice(r.indexOf(t),1)}));for(r.map(function(t){return{g:t._dur||t._delay||t._sat&&!t._sat.vars.immediateRender?t.globalTime(0):-1/0,t:t}}).sort(function(t,e){return e.g-t.g||-1/0}).forEach(function(e){return e.t.revert(t)}),i=n.data.length;i--;)(e=n.data[i])instanceof an?"nested"!==e.data&&(e.scrollTrigger&&e.scrollTrigger.revert(),e.kill()):!(e instanceof gn)&&e.revert&&e.revert(t);n._r.forEach(function(e){return e(t,n)}),n.isReverted=!0}():this.data.forEach(function(t){return t.kill&&t.kill()}),this.clear(),e)for(var r=An.length;r--;)An[r].id===this.id&&An.splice(r,1)},e.revert=function(t){this.kill(t||{})},t}(),Hn=function(){function t(t){this.contexts=[],this.scope=t,C&&C.data.push(this)}var e=t.prototype;return e.add=function(t,e,n){K(t)||(t={matches:t});var r,i,o,s=new Fn(0,n||this.scope),a=s.conditions={};C&&!s.selector&&(s.selector=C.selector),this.contexts.push(s),e=s.add("onMatch",e),s.queries=t;for(i in t)"all"===i?o=1:(r=D.matchMedia(t[i]))&&(An.indexOf(s)<0&&An.push(s),(a[i]=r.matches)&&(o=1),r.addListener?r.addListener(Yn):r.addEventListener("change",Yn));return o&&e(s,function(t){return s.add(null,t)}),this},e.revert=function(t){this.kill(t||{})},e.kill=function(t){this.contexts.forEach(function(e){return e.kill(t,!0)})},t}(),Bn={registerPlugin:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];e.forEach(function(t){return Ne(t)})},timeline:function(t){return new an(t)},getTweensOf:function(t,e){return O.getTweensOf(t,e)},getProperty:function(t,e,n,r){U(t)&&(t=_e(t)[0]);var i=Ct(t||{}).get,o=n?jt:Nt;return"native"===n&&(n=""),t?e?o((wt[e]&&wt[e].get||i)(t,e,n,r)):function(e,n,r){return o((wt[e]&&wt[e].get||i)(t,e,n,r))}:t},quickSetter:function(t,e,n){if((t=_e(t)).length>1){var r=t.map(function(t){return Wn.quickSetter(t,e,n)}),i=r.length;return function(t){for(var e=i;e--;)r[e](t)}}var o=wt[e],s=Ct(t=t[0]||{}),a=s.harness&&(s.harness.aliases||{})[e]||e,u=o?function(e){var r=new o;P._pt=0,r.init(t,n?e+n:e,P,0,[t]),r.render(1,r),P._pt&&xn(1,P)}:s.set(t,a);return o?u:function(e){return u(t,a,n?e+n:e,s,1)}},quickTo:function(t,e,n){var r,i=Wn.to(t,Ft((r={},r[e]="+=0.1",r.paused=!0,r),n||{})),o=function(t,n,r){return i.resetTo(e,t,n,r)};return o.tween=i,o},isTweening:function(t){return O.getTweensOf(t,!0).length>0},defaults:function(t){return t&&t.ease&&(t.ease=Qe(t.ease,j.ease)),Ht(j,t||{})},config:function(t){return Ht(N,t||{})},registerEffect:function(t){var e=t.name,n=t.effect,r=t.defaults,i=t.extendTimeline;(t.plugins||"").split(",").forEach(function(t){return t&&!wt[t]&&!ut[t]&&ht(e+" effect requires "+t+" plugin.")}),St[e]=function(t,e,i){return n(_e(t),Yt(e||{},r),i)},i&&(an.prototype[e]=function(t,n,r){return this.add(St[e](t,K(n)?n:(r=n)&&{},this),r)})},registerEase:function(t,e){Ge[t]=Qe(e)},parseEase:function(t,e){return arguments.length?Qe(t,e):Ge},getById:function(t){return O.getById(t)},exportRoot:function(t,e){void 0===t&&(t={});var n,r,i=new an(t);for(i.smoothChildTiming=Z(t.smoothChildTiming),O.remove(i),i._dp=0,i._time=i._tTime=O._time,n=O._first;n;)r=n._next,!e&&!n._dur&&n instanceof gn&&n.vars.onComplete===n._targets[0]||ee(i,n,n._start-n._delay),n=r;return ee(O,i,0),i},context:function(t,e){return t?new Fn(t,e):C},matchMedia:function(t){return new Hn(t)},matchMediaRefresh:function(){return An.forEach(function(t){var e,n,r=t.conditions;for(n in r)r[n]&&(r[n]=!1,e=1);e&&t.revert()})||Yn()},addEventListener:function(t,e){var n=In[t]||(In[t]=[]);~n.indexOf(e)||n.push(e)},removeEventListener:function(t,e){var n=In[t],r=n&&n.indexOf(e);r>=0&&n.splice(r,1)},utils:{wrap:Ce,wrapYoyo:Oe,distribute:ye,random:Se,snap:we,normalize:Me,getUnit:he,clamp:fe,splitColor:Fe,toArray:_e,selector:ge,mapRange:ke,pipe:Te,unitize:Ee,interpolate:Le,shuffle:ve},install:ct,effects:St,ticker:Ue,updateRoot:an.updateRoot,plugins:wt,globalTimeline:O,core:{PropTween:Ln,globals:ft,Tween:gn,Timeline:an,Animation:sn,getCache:Ct,_removeLinkedListItem:Wt,reverting:function(){return x},context:function(t){return t&&C&&(C.data.push(t),t._ctx=C),C},suppressOverwrites:function(t){return M=t}}};Dt("to,from,fromTo,delayedCall,set,killTweensOf",function(t){return Bn[t]=gn[t]}),Ue.add(an.updateRoot),P=Bn.to({},{duration:0});var Vn=function(t,e){for(var n=t._pt;n&&n.p!==e&&n.op!==e&&n.fp!==e;)n=n._next;return n},zn=function(t,e){return{name:t,rawVars:1,init:function(t,n,r){r._onInit=function(t){var r,i;if(U(n)&&(r={},Dt(n,function(t){return r[t]=1}),n=r),e){r={};for(i in n)r[i]=e(n[i]);n=r}!function(t,e){var n,r,i,o=t._targets;for(n in e)for(r=o.length;r--;)(i=t._ptLookup[r][n])&&(i=i.d)&&(i._pt&&(i=Vn(i,n)),i&&i.modifier&&i.modifier(e[n],t,o[r],n))}(t,n)}}}},Wn=Bn.registerPlugin({name:"attr",init:function(t,e,n,r,i){var o,s,a;this.tween=n;for(o in e)a=t.getAttribute(o)||"",(s=this.add(t,"setAttribute",(a||0)+"",e[o],r,i,0,0,o)).op=o,s.b=a,this._props.push(o)},render:function(t,e){for(var n=e._pt;n;)x?n.set(n.t,n.p,n.b,n):n.r(t,n.d),n=n._next}},{name:"endArray",init:function(t,e){for(var n=e.length;n--;)this.add(t,n,t[n]||0,e[n],0,0,0,0,0,1)}},zn("roundProps",be),zn("modifiers"),zn("snap",we))||Bn;gn.version=an.version=Wn.version="3.12.5",A=1,$()&&qe();var Un,qn,Gn,Xn,Kn,Zn,$n,Jn,Qn=Ge.Power0,tr=Ge.Power1,er=Ge.Power2,nr=Ge.Power3,rr=Ge.Power4,ir=Ge.Linear,or=Ge.Quad,sr=Ge.Cubic,ar=Ge.Quart,ur=Ge.Quint,lr=Ge.Strong,cr=Ge.Elastic,dr=Ge.Back,hr=Ge.SteppedEase,fr=Ge.Bounce,pr=Ge.Sine,mr=Ge.Expo,_r=Ge.Circ,gr={},vr=180/Math.PI,yr=Math.PI/180,br=Math.atan2,wr=/([A-Z])/g,Sr=/(left|right|width|margin|padding|x)/i,Tr=/[\s,\(]\S/,Er={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},Mr=function(t,e){return e.set(e.t,e.p,Math.round(1e4*(e.s+e.c*t))/1e4+e.u,e)},xr=function(t,e){return e.set(e.t,e.p,1===t?e.e:Math.round(1e4*(e.s+e.c*t))/1e4+e.u,e)},Cr=function(t,e){return e.set(e.t,e.p,t?Math.round(1e4*(e.s+e.c*t))/1e4+e.u:e.b,e)},Or=function(t,e){var n=e.s+e.c*t;e.set(e.t,e.p,~~(n+(n<0?-.5:.5))+e.u,e)},Dr=function(t,e){return e.set(e.t,e.p,t?e.e:e.b,e)},kr=function(t,e){return e.set(e.t,e.p,1!==t?e.b:e.e,e)},Lr=function(t,e,n){return t.style[e]=n},Ar=function(t,e,n){return t.style.setProperty(e,n)},Ir=function(t,e,n){return t._gsap[e]=n},Pr=function(t,e,n){return t._gsap.scaleX=t._gsap.scaleY=n},Rr="transform",Nr=Rr+"Origin",jr=function t(e,n){var r=this,i=this.target,o=i.style,s=i._gsap;if(e in gr&&o){if(this.tfm=this.tfm||{},"transform"===e)return Er.transform.split(",").forEach(function(e){return t.call(r,e,n)});if(~(e=Er[e]||e).indexOf(",")?e.split(",").forEach(function(t){return r.tfm[t]=ei(i,t)}):this.tfm[e]=s.x?s[e]:ei(i,e),e===Nr&&(this.tfm.zOrigin=s.zOrigin),this.props.indexOf(Rr)>=0)return;s.svg&&(this.svgo=i.getAttribute("data-svg-origin"),this.props.push(Nr,n,"")),e=Rr}(o||n)&&this.props.push(e,n,o[e])},Yr=function(t){t.translate&&(t.removeProperty("translate"),t.removeProperty("scale"),t.removeProperty("rotate"))},Fr=function(){var t,e,n=this.props,r=this.target,i=r.style,o=r._gsap;for(t=0;t<n.length;t+=3)n[t+1]?r[n[t]]=n[t+2]:n[t+2]?i[n[t]]=n[t+2]:i.removeProperty("--"===n[t].substr(0,2)?n[t]:n[t].replace(wr,"-$1").toLowerCase());if(this.tfm){for(e in this.tfm)o[e]=this.tfm[e];o.svg&&(o.renderTransform(),r.setAttribute("data-svg-origin",this.svgo||"")),(t=$n())&&t.isStart||i[Rr]||(Yr(i),o.zOrigin&&i[Nr]&&(i[Nr]+=" "+o.zOrigin+"px",o.zOrigin=0,o.renderTransform()),o.uncache=1)}},Hr=function(t,e){var n={target:t,props:[],revert:Fr,save:jr};return t._gsap||Wn.core.getCache(t),e&&e.split(",").forEach(function(t){return n.save(t)}),n},Br=function(t,e){var n=qn.createElementNS?qn.createElementNS((e||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),t):qn.createElement(t);return n&&n.style?n:qn.createElement(t)},Vr=function t(e,n,r){var i=getComputedStyle(e);return i[n]||i.getPropertyValue(n.replace(wr,"-$1").toLowerCase())||i.getPropertyValue(n)||!r&&t(e,Wr(n)||n,1)||""},zr="O,Moz,ms,Ms,Webkit".split(","),Wr=function(t,e,n){var r=(e||Kn).style,i=5;if(t in r&&!n)return t;for(t=t.charAt(0).toUpperCase()+t.substr(1);i--&&!(zr[i]+t in r););return i<0?null:(3===i?"ms":i>=0?zr[i]:"")+t},Ur=function(){"undefined"!=typeof window&&window.document&&(Un=window,Gn=(qn=Un.document).documentElement,Kn=Br("div")||{style:{}},Br("div"),Rr=Wr(Rr),Nr=Rr+"Origin",Kn.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",Jn=!!Wr("perspective"),$n=Wn.core.reverting,Xn=1)},qr=function t(e){var n,r=Br("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),i=this.parentNode,o=this.nextSibling,s=this.style.cssText;if(Gn.appendChild(r),r.appendChild(this),this.style.display="block",e)try{n=this.getBBox(),this._gsapBBox=this.getBBox,this.getBBox=t}catch(t){}else this._gsapBBox&&(n=this._gsapBBox());return i&&(o?i.insertBefore(this,o):i.appendChild(this)),Gn.removeChild(r),this.style.cssText=s,n},Gr=function(t,e){for(var n=e.length;n--;)if(t.hasAttribute(e[n]))return t.getAttribute(e[n])},Xr=function(t){var e;try{e=t.getBBox()}catch(n){e=qr.call(t,!0)}return e&&(e.width||e.height)||t.getBBox===qr||(e=qr.call(t,!0)),!e||e.width||e.x||e.y?e:{x:+Gr(t,["x","cx","x1"])||0,y:+Gr(t,["y","cy","y1"])||0,width:0,height:0}},Kr=function(t){return!(!t.getCTM||t.parentNode&&!t.ownerSVGElement||!Xr(t))},Zr=function(t,e){if(e){var n,r=t.style;e in gr&&e!==Nr&&(e=Rr),r.removeProperty?("ms"!==(n=e.substr(0,2))&&"webkit"!==e.substr(0,6)||(e="-"+e),r.removeProperty("--"===n?e:e.replace(wr,"-$1").toLowerCase())):r.removeAttribute(e)}},$r=function(t,e,n,r,i,o){var s=new Ln(t._pt,e,n,0,1,o?kr:Dr);return t._pt=s,s.b=r,s.e=i,t._props.push(n),s},Jr={deg:1,rad:1,turn:1},Qr={grid:1,flex:1},ti=function t(e,n,r,i){var o,s,a,u,l=parseFloat(r)||0,c=(r+"").trim().substr((l+"").length)||"px",d=Kn.style,h=Sr.test(n),f="svg"===e.tagName.toLowerCase(),p=(f?"client":"offset")+(h?"Width":"Height"),m="px"===i,_="%"===i;if(i===c||!l||Jr[i]||Jr[c])return l;if("px"!==c&&!m&&(l=t(e,n,r,"px")),u=e.getCTM&&Kr(e),(_||"%"===c)&&(gr[n]||~n.indexOf("adius")))return o=u?e.getBBox()[h?"width":"height"]:e[p],kt(_?l/o*100:l/100*o);if(d[h?"width":"height"]=100+(m?c:i),s=~n.indexOf("adius")||"em"===i&&e.appendChild&&!f?e:e.parentNode,u&&(s=(e.ownerSVGElement||{}).parentNode),s&&s!==qn&&s.appendChild||(s=qn.body),(a=s._gsap)&&_&&a.width&&h&&a.time===Ue.time&&!a.uncache)return kt(l/a.width*100);if(!_||"height"!==n&&"width"!==n)(_||"%"===c)&&!Qr[Vr(s,"display")]&&(d.position=Vr(e,"position")),s===e&&(d.position="static"),s.appendChild(Kn),o=Kn[p],s.removeChild(Kn),d.position="absolute";else{var g=e.style[n];e.style[n]=100+i,o=e[p],g?e.style[n]=g:Zr(e,n)}return h&&_&&((a=Ct(s)).time=Ue.time,a.width=s[p]),kt(m?o*l/100:o&&l?100/o*l:0)},ei=function(t,e,n,r){var i;return Xn||Ur(),e in Er&&"transform"!==e&&~(e=Er[e]).indexOf(",")&&(e=e.split(",")[0]),gr[e]&&"transform"!==e?(i=fi(t,r),i="transformOrigin"!==e?i[e]:i.svg?i.origin:pi(Vr(t,Nr))+" "+i.zOrigin+"px"):(!(i=t.style[e])||"auto"===i||r||~(i+"").indexOf("calc("))&&(i=si[e]&&si[e](t,e,n)||Vr(t,e)||Ot(t,e)||("opacity"===e?1:0)),n&&!~(i+"").trim().indexOf(" ")?ti(t,e,i,n)+n:i},ni=function(t,e,n,r){if(!n||"none"===n){var i=Wr(e,t,1),o=i&&Vr(t,i,1);o&&o!==n?(e=i,n=o):"borderColor"===e&&(n=Vr(t,"borderTopColor"))}var s,a,u,l,c,d,h,f,p,m,_,g=new Ln(this._pt,t.style,e,0,1,Mn),v=0,y=0;if(g.b=n,g.e=r,n+="","auto"===(r+="")&&(d=t.style[e],t.style[e]=r,r=Vr(t,e)||r,d?t.style[e]=d:Zr(t,e)),s=[n,r],We(s),n=s[0],r=s[1],u=n.match(rt)||[],(r.match(rt)||[]).length){for(;a=rt.exec(r);)h=a[0],p=r.substring(v,a.index),c?c=(c+1)%5:"rgba("!==p.substr(-5)&&"hsla("!==p.substr(-5)||(c=1),h!==(d=u[y++]||"")&&(l=parseFloat(d)||0,_=d.substr((l+"").length),"="===h.charAt(1)&&(h=At(l,h)+_),f=parseFloat(h),m=h.substr((f+"").length),v=rt.lastIndex-m.length,m||(m=m||N.units[e]||_,v===r.length&&(r+=m,g.e+=m)),_!==m&&(l=ti(t,e,d,m)||0),g._pt={_next:g._pt,p:p||1===y?p:",",s:l,c:f-l,m:c&&c<4||"zIndex"===e?Math.round:0});g.c=v<r.length?r.substring(v,r.length):""}else g.r="display"===e&&"none"===r?kr:Dr;return ot.test(r)&&(g.e=0),this._pt=g,g},ri={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},ii=function(t){var e=t.split(" "),n=e[0],r=e[1]||"50%";return"top"!==n&&"bottom"!==n&&"left"!==r&&"right"!==r||(t=n,n=r,r=t),e[0]=ri[n]||n,e[1]=ri[r]||r,e.join(" ")},oi=function(t,e){if(e.tween&&e.tween._time===e.tween._dur){var n,r,i,o=e.t,s=o.style,a=e.u,u=o._gsap;if("all"===a||!0===a)s.cssText="",r=1;else for(i=(a=a.split(",")).length;--i>-1;)gr[n=a[i]]&&(r=1,n="transformOrigin"===n?Nr:Rr),Zr(o,n);r&&(Zr(o,Rr),u&&(u.svg&&o.removeAttribute("transform"),fi(o,1),u.uncache=1,Yr(s)))}},si={clearProps:function(t,e,n,r,i){if("isFromStart"!==i.data){var o=t._pt=new Ln(t._pt,e,n,0,0,oi);return o.u=r,o.pr=-10,o.tween=i,t._props.push(n),1}}},ai=[1,0,0,1,0,0],ui={},li=function(t){return"matrix(1, 0, 0, 1, 0, 0)"===t||"none"===t||!t},ci=function(t){var e=Vr(t,Rr);return li(e)?ai:e.substr(7).match(nt).map(kt)},di=function(t,e){var n,r,i,o,s=t._gsap||Ct(t),a=t.style,u=ci(t);return s.svg&&t.getAttribute("transform")?(i=t.transform.baseVal.consolidate().matrix,"1,0,0,1,0,0"===(u=[i.a,i.b,i.c,i.d,i.e,i.f]).join(",")?ai:u):(u!==ai||t.offsetParent||t===Gn||s.svg||(i=a.display,a.display="block",(n=t.parentNode)&&t.offsetParent||(o=1,r=t.nextElementSibling,Gn.appendChild(t)),u=ci(t),i?a.display=i:Zr(t,"display"),o&&(r?n.insertBefore(t,r):n?n.appendChild(t):Gn.removeChild(t))),e&&u.length>6?[u[0],u[1],u[4],u[5],u[12],u[13]]:u)},hi=function(t,e,n,r,i,o){var s,a,u,l=t._gsap,c=i||di(t,!0),d=l.xOrigin||0,h=l.yOrigin||0,f=l.xOffset||0,p=l.yOffset||0,m=c[0],_=c[1],g=c[2],v=c[3],y=c[4],b=c[5],w=e.split(" "),S=parseFloat(w[0])||0,T=parseFloat(w[1])||0;n?c!==ai&&(a=m*v-_*g)&&(u=S*(-_/a)+T*(m/a)-(m*b-_*y)/a,S=S*(v/a)+T*(-g/a)+(g*b-v*y)/a,T=u):(S=(s=Xr(t)).x+(~w[0].indexOf("%")?S/100*s.width:S),T=s.y+(~(w[1]||w[0]).indexOf("%")?T/100*s.height:T)),r||!1!==r&&l.smooth?(l.xOffset=f+((y=S-d)*m+(b=T-h)*g)-y,l.yOffset=p+(y*_+b*v)-b):l.xOffset=l.yOffset=0,l.xOrigin=S,l.yOrigin=T,l.smooth=!!r,l.origin=e,l.originIsAbsolute=!!n,t.style[Nr]="0px 0px",o&&($r(o,l,"xOrigin",d,S),$r(o,l,"yOrigin",h,T),$r(o,l,"xOffset",f,l.xOffset),$r(o,l,"yOffset",p,l.yOffset)),t.setAttribute("data-svg-origin",S+" "+T)},fi=function(t,e){var n=t._gsap||new on(t);if("x"in n&&!e&&!n.uncache)return n;var r,i,o,s,a,u,l,c,d,h,f,p,m,_,g,v,y,b,w,S,T,E,M,x,C,O,D,k,L,A,I,P,R=t.style,j=n.scaleX<0,Y=getComputedStyle(t),F=Vr(t,Nr)||"0";return r=i=o=u=l=c=d=h=f=0,s=a=1,n.svg=!(!t.getCTM||!Kr(t)),Y.translate&&("none"===Y.translate&&"none"===Y.scale&&"none"===Y.rotate||(R[Rr]=("none"!==Y.translate?"translate3d("+(Y.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+("none"!==Y.rotate?"rotate("+Y.rotate+") ":"")+("none"!==Y.scale?"scale("+Y.scale.split(" ").join(",")+") ":"")+("none"!==Y[Rr]?Y[Rr]:"")),R.scale=R.rotate=R.translate="none"),_=di(t,n.svg),n.svg&&(n.uncache?(C=t.getBBox(),F=n.xOrigin-C.x+"px "+(n.yOrigin-C.y)+"px",x=""):x=!e&&t.getAttribute("data-svg-origin"),hi(t,x||F,!!x||n.originIsAbsolute,!1!==n.smooth,_)),p=n.xOrigin||0,m=n.yOrigin||0,_!==ai&&(b=_[0],w=_[1],S=_[2],T=_[3],r=E=_[4],i=M=_[5],6===_.length?(s=Math.sqrt(b*b+w*w),a=Math.sqrt(T*T+S*S),u=b||w?br(w,b)*vr:0,(d=S||T?br(S,T)*vr+u:0)&&(a*=Math.abs(Math.cos(d*yr))),n.svg&&(r-=p-(p*b+m*S),i-=m-(p*w+m*T))):(A=_[7],D=_[8],k=_[9],I=_[11],r=_[12],i=_[13],o=_[14],l=(g=br(P=_[6],L=_[10]))*vr,g&&(x=E*(v=Math.cos(-g))+D*(y=Math.sin(-g)),C=M*v+k*y,O=P*v+L*y,D=E*-y+D*v,k=M*-y+k*v,L=P*-y+L*v,I=A*-y+I*v,E=x,M=C,P=O),c=(g=br(-S,L))*vr,g&&(v=Math.cos(-g),I=T*(y=Math.sin(-g))+I*v,b=x=b*v-D*y,w=C=w*v-k*y,S=O=S*v-L*y),u=(g=br(w,b))*vr,g&&(x=b*(v=Math.cos(g))+w*(y=Math.sin(g)),C=E*v+M*y,w=w*v-b*y,M=M*v-E*y,b=x,E=C),l&&Math.abs(l)+Math.abs(u)>359.9&&(l=u=0,c=180-c),s=kt(Math.sqrt(b*b+w*w+S*S)),a=kt(Math.sqrt(M*M+P*P)),g=br(E,M),d=Math.abs(g)>2e-4?g*vr:0,f=I?1/(I<0?-I:I):0),n.svg&&(x=t.getAttribute("transform"),n.forceCSS=t.setAttribute("transform","")||!li(Vr(t,Rr)),x&&t.setAttribute("transform",x))),Math.abs(d)>90&&Math.abs(d)<270&&(j?(s*=-1,d+=u<=0?180:-180,u+=u<=0?180:-180):(a*=-1,d+=d<=0?180:-180)),e=e||n.uncache,n.x=r-((n.xPercent=r&&(!e&&n.xPercent||(Math.round(t.offsetWidth/2)===Math.round(-r)?-50:0)))?t.offsetWidth*n.xPercent/100:0)+"px",n.y=i-((n.yPercent=i&&(!e&&n.yPercent||(Math.round(t.offsetHeight/2)===Math.round(-i)?-50:0)))?t.offsetHeight*n.yPercent/100:0)+"px",n.z=o+"px",n.scaleX=kt(s),n.scaleY=kt(a),n.rotation=kt(u)+"deg",n.rotationX=kt(l)+"deg",n.rotationY=kt(c)+"deg",n.skewX=d+"deg",n.skewY=h+"deg",n.transformPerspective=f+"px",(n.zOrigin=parseFloat(F.split(" ")[2])||!e&&n.zOrigin||0)&&(R[Nr]=pi(F)),n.xOffset=n.yOffset=0,n.force3D=N.force3D,n.renderTransform=n.svg?vi:Jn?gi:_i,n.uncache=0,n},pi=function(t){return(t=t.split(" "))[0]+" "+t[1]},mi=function(t,e,n){var r=he(e);return kt(parseFloat(e)+parseFloat(ti(t,"x",n+"px",r)))+r},_i=function(t,e){e.z="0px",e.rotationY=e.rotationX="0deg",e.force3D=0,gi(t,e)},gi=function(t,e){var n=e||this,r=n.xPercent,i=n.yPercent,o=n.x,s=n.y,a=n.z,u=n.rotation,l=n.rotationY,c=n.rotationX,d=n.skewX,h=n.skewY,f=n.scaleX,p=n.scaleY,m=n.transformPerspective,_=n.force3D,g=n.target,v=n.zOrigin,y="",b="auto"===_&&t&&1!==t||!0===_;if(v&&("0deg"!==c||"0deg"!==l)){var w,S=parseFloat(l)*yr,T=Math.sin(S),E=Math.cos(S);S=parseFloat(c)*yr,w=Math.cos(S),o=mi(g,o,T*w*-v),s=mi(g,s,-Math.sin(S)*-v),a=mi(g,a,E*w*-v+v)}"0px"!==m&&(y+="perspective("+m+") "),(r||i)&&(y+="translate("+r+"%, "+i+"%) "),(b||"0px"!==o||"0px"!==s||"0px"!==a)&&(y+="0px"!==a||b?"translate3d("+o+", "+s+", "+a+") ":"translate("+o+", "+s+") "),"0deg"!==u&&(y+="rotate("+u+") "),"0deg"!==l&&(y+="rotateY("+l+") "),"0deg"!==c&&(y+="rotateX("+c+") "),"0deg"===d&&"0deg"===h||(y+="skew("+d+", "+h+") "),1===f&&1===p||(y+="scale("+f+", "+p+") "),g.style[Rr]=y||"translate(0, 0)"},vi=function(t,e){var n,r,i,o,s,a=e||this,u=a.xPercent,l=a.yPercent,c=a.x,d=a.y,h=a.rotation,f=a.skewX,p=a.skewY,m=a.scaleX,_=a.scaleY,g=a.target,v=a.xOrigin,y=a.yOrigin,b=a.xOffset,w=a.yOffset,S=a.forceCSS,T=parseFloat(c),E=parseFloat(d);h=parseFloat(h),f=parseFloat(f),(p=parseFloat(p))&&(f+=p=parseFloat(p),h+=p),h||f?(h*=yr,f*=yr,n=Math.cos(h)*m,r=Math.sin(h)*m,i=Math.sin(h-f)*-_,o=Math.cos(h-f)*_,f&&(p*=yr,s=Math.tan(f-p),i*=s=Math.sqrt(1+s*s),o*=s,p&&(s=Math.tan(p),n*=s=Math.sqrt(1+s*s),r*=s)),n=kt(n),r=kt(r),i=kt(i),o=kt(o)):(n=m,o=_,r=i=0),(T&&!~(c+"").indexOf("px")||E&&!~(d+"").indexOf("px"))&&(T=ti(g,"x",c,"px"),E=ti(g,"y",d,"px")),(v||y||b||w)&&(T=kt(T+v-(v*n+y*i)+b),E=kt(E+y-(v*r+y*o)+w)),(u||l)&&(s=g.getBBox(),T=kt(T+u/100*s.width),E=kt(E+l/100*s.height)),g.setAttribute("transform",s="matrix("+n+","+r+","+i+","+o+","+T+","+E+")"),S&&(g.style[Rr]=s)},yi=function(t,e,n,r,i){var o,s,a=U(i),u=parseFloat(i)*(a&&~i.indexOf("rad")?vr:1)-r,l=r+u+"deg";return a&&("short"===(o=i.split("_")[1])&&(u%=360)!==u%180&&(u+=u<0?360:-360),"cw"===o&&u<0?u=(u+36e9)%360-360*~~(u/360):"ccw"===o&&u>0&&(u=(u-36e9)%360-360*~~(u/360))),t._pt=s=new Ln(t._pt,e,n,r,u,xr),s.e=l,s.u="deg",t._props.push(n),s},bi=function(t,e){for(var n in e)t[n]=e[n];return t},wi=function(t,e,n){var r,i,o,s,a,u,l,c=bi({},n._gsap),d=n.style;c.svg?(o=n.getAttribute("transform"),n.setAttribute("transform",""),d[Rr]=e,r=fi(n,1),Zr(n,Rr),n.setAttribute("transform",o)):(o=getComputedStyle(n)[Rr],d[Rr]=e,r=fi(n,1),d[Rr]=o);for(i in gr)(o=c[i])!==(s=r[i])&&"perspective,force3D,transformOrigin,svgOrigin".indexOf(i)<0&&(a=he(o)!==(l=he(s))?ti(n,i,o,l):parseFloat(o),u=parseFloat(s),t._pt=new Ln(t._pt,r,i,a,u-a,Mr),t._pt.u=l||0,t._props.push(i));bi(r,c)};Dt("padding,margin,Width,Radius",function(t,e){var n=(e<3?["Top","Right","Bottom","Left"]:["TopLeft","TopRight","BottomRight","BottomLeft"]).map(function(n){return e<2?t+n:"border"+n+t});si[e>1?"border"+t:t]=function(t,e,r,i,o){var s,a;if(arguments.length<4)return s=n.map(function(e){return ei(t,e,r)}),5===(a=s.join(" ")).split(s[0]).length?s[0]:a;s=(i+"").split(" "),a={},n.forEach(function(t,e){return a[t]=s[e]=s[e]||s[(e-1)/2|0]}),t.init(e,a,o)}});var Si={name:"css",register:Ur,targetTest:function(t){return t.style&&t.nodeType},init:function(t,e,n,r,i){var o,s,a,u,l,c,d,h,f,p,m,_,g,v,y,b,w=this._props,S=t.style,T=n.vars.startAt;Xn||Ur(),this.styles=this.styles||Hr(t),b=this.styles.props,this.tween=n;for(d in e)if("autoRound"!==d&&(s=e[d],!wt[d]||!dn(d,e,n,r,t,i)))if(l=typeof s,c=si[d],"function"===l&&(l=typeof(s=s.call(n,r,t,i))),"string"===l&&~s.indexOf("random(")&&(s=De(s)),c)c(this,t,d,s,n)&&(y=1);else if("--"===d.substr(0,2))o=(getComputedStyle(t).getPropertyValue(d)+"").trim(),s+="",Ve.lastIndex=0,Ve.test(o)||(h=he(o),f=he(s)),f?h!==f&&(o=ti(t,d,o,f)+f):h&&(s+=h),this.add(S,"setProperty",o,s,r,i,0,0,d),w.push(d),b.push(d,0,S[d]);else if("undefined"!==l){if(T&&d in T?(o="function"==typeof T[d]?T[d].call(n,r,t,i):T[d],U(o)&&~o.indexOf("random(")&&(o=De(o)),he(o+"")||"auto"===o||(o+=N.units[d]||he(ei(t,d))||""),"="===(o+"").charAt(1)&&(o=ei(t,d))):o=ei(t,d),u=parseFloat(o),(p="string"===l&&"="===s.charAt(1)&&s.substr(0,2))&&(s=s.substr(2)),a=parseFloat(s),d in Er&&("autoAlpha"===d&&(1===u&&"hidden"===ei(t,"visibility")&&a&&(u=0),b.push("visibility",0,S.visibility),$r(this,S,"visibility",u?"inherit":"hidden",a?"inherit":"hidden",!a)),"scale"!==d&&"transform"!==d&&~(d=Er[d]).indexOf(",")&&(d=d.split(",")[0])),m=d in gr)if(this.styles.save(d),_||((g=t._gsap).renderTransform&&!e.parseTransform||fi(t,e.parseTransform),v=!1!==e.smoothOrigin&&g.smooth,(_=this._pt=new Ln(this._pt,S,Rr,0,1,g.renderTransform,g,0,-1)).dep=1),"scale"===d)this._pt=new Ln(this._pt,g,"scaleY",g.scaleY,(p?At(g.scaleY,p+a):a)-g.scaleY||0,Mr),this._pt.u=0,w.push("scaleY",d),d+="X";else{if("transformOrigin"===d){b.push(Nr,0,S[Nr]),s=ii(s),g.svg?hi(t,s,0,v,0,this):((f=parseFloat(s.split(" ")[2])||0)!==g.zOrigin&&$r(this,g,"zOrigin",g.zOrigin,f),$r(this,S,d,pi(o),pi(s)));continue}if("svgOrigin"===d){hi(t,s,1,v,0,this);continue}if(d in ui){yi(this,g,d,u,p?At(u,p+s):s);continue}if("smoothOrigin"===d){$r(this,g,"smooth",g.smooth,s);continue}if("force3D"===d){g[d]=s;continue}if("transform"===d){wi(this,s,t);continue}}else d in S||(d=Wr(d)||d);if(m||(a||0===a)&&(u||0===u)&&!Tr.test(s)&&d in S)h=(o+"").substr((u+"").length),a||(a=0),h!==(f=he(s)||(d in N.units?N.units[d]:h))&&(u=ti(t,d,o,f)),this._pt=new Ln(this._pt,m?g:S,d,u,(p?At(u,p+a):a)-u,m||"px"!==f&&"zIndex"!==d||!1===e.autoRound?Mr:Or),this._pt.u=f||0,h!==f&&"%"!==f&&(this._pt.b=o,this._pt.r=Cr);else if(d in S)ni.call(this,t,d,o,p?p+s:s);else if(d in t)this.add(t,d,o||t[d],p?p+s:s,r,i);else if("parseTransform"!==d){dt(d,s);continue}m||(d in S?b.push(d,0,S[d]):b.push(d,1,o||t[d])),w.push(d)}y&&kn(this)},render:function(t,e){if(e.tween._time||!$n())for(var n=e._pt;n;)n.r(t,n.d),n=n._next;else e.styles.revert()},get:ei,aliases:Er,getSetter:function(t,e,n){var r=Er[e];return r&&r.indexOf(",")<0&&(e=r),e in gr&&e!==Nr&&(t._gsap.x||ei(t,"x"))?n&&Zn===n?"scale"===e?Pr:Ir:(Zn=n||{})&&("scale"===e?function(t,e,n,r,i){var o=t._gsap;o.scaleX=o.scaleY=n,o.renderTransform(i,o)}:function(t,e,n,r,i){var o=t._gsap;o[e]=n,o.renderTransform(i,o)}):t.style&&!X(t.style[e])?Lr:~e.indexOf("-")?Ar:Sn(t,e)},core:{_removeProperty:Zr,_getMatrix:di}};Wn.utils.checkPrefix=Wr,Wn.core.getStyleSaver=Hr,function(t,e,n,r){var i=Dt(t+","+e+",transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective",function(t){gr[t]=1});Dt(e,function(t){N.units[t]="deg",ui[t]=1}),Er[i[13]]=t+","+e,Dt("0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY",function(t){var e=t.split(":");Er[e[1]]=i[e[0]]})}("x,y,z,scale,scaleX,scaleY,xPercent,yPercent","rotation,rotationX,rotationY,skewX,skewY"),Dt("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(t){N.units[t]="px"}),Wn.registerPlugin(Si);var Ti,Ei,Mi=/[achlmqstvz]|(-?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi,xi=/(?:(-)?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi,Ci=/[\+\-]?\d*\.?\d+e[\+\-]?\d+/gi,Oi=/(^[#\.][a-z]|[a-y][a-z])/i,Di=Math.PI/180,ki=180/Math.PI,Li=Math.sin,Ai=Math.cos,Ii=Math.abs,Pi=Math.sqrt,Ri=Math.atan2,Ni=1e8,ji=function(t){return"string"==typeof t},Yi=function(t){return"number"==typeof t},Fi=function(t){return void 0===t},Hi={},Bi={},Vi=function(t){return Math.round((t+Ni)%1*1e5)/1e5||(t<0?0:1)},zi=function(t){return Math.round(1e5*t)/1e5||0},Wi=function(t){return Math.round(1e10*t)/1e10||0},Ui=function(t,e,n,r){var i=t[e],o=1===r?6:c(i,n,r);if((o||!r)&&o+n+2<i.length)return t.splice(e,0,i.slice(0,n+o+2)),i.splice(0,n+o),1},qi=function(t,e,n){var r=t.length,i=~~(n*r);if(t[i]>e){for(;--i&&t[i]>e;);i<0&&(i=0)}else for(;t[++i]<e&&i<r;);return i<r?i:r-1},Gi=function(t,e){var n=t.length;for(e||t.reverse();n--;)t[n].reversed||function(t){var e,n=0;for(t.reverse();n<t.length;n+=2)e=t[n],t[n]=t[n+1],t[n+1]=e;t.reversed=!t.reversed}(t[n])},Xi=function(t,e){return e.totalLength=t.totalLength,t.samples?(e.samples=t.samples.slice(0),e.lookup=t.lookup.slice(0),e.minLength=t.minLength,e.resolution=t.resolution):t.totalPoints&&(e.totalPoints=t.totalPoints),e},Ki=function(t,e){var n=t.length,r=t[n-1]||[],i=r.length;n&&e[0]===r[i-2]&&e[1]===r[i-1]&&(e=r.concat(e.slice(2)),n--),t[n]=e},Zi=function(t,e){var n,r=document.createElementNS("http://www.w3.org/2000/svg","path"),i=[].slice.call(t.attributes),o=i.length;for(e=","+e+",";--o>-1;)n=i[o].nodeName.toLowerCase(),e.indexOf(","+n+",")<0&&r.setAttributeNS(null,n,i[o].nodeValue);return r},$i={rect:"rx,ry,x,y,width,height",circle:"r,cx,cy",ellipse:"rx,ry,cx,cy",line:"x1,x2,y1,y2"},Ji=function(t,e){for(var n=e?e.split(","):[],r={},i=n.length;--i>-1;)r[n[i]]=+t.getAttribute(n[i])||0;return r},Qi=function(){return Ti||"undefined"!=typeof window&&(Ti=window.gsap)&&Ti.registerPlugin&&Ti},to=function(){(Ti=Qi())?(Ti.registerEase("_CE",so.create),Ei=1):console.warn("Please gsap.registerPlugin(CustomEase)")},eo=function(t){return~~(1e3*t+(t<0?-.5:.5))/1e3},no=1,ro=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/gi,io=/[cLlsSaAhHvVtTqQ]/g,oo=function t(e,n,r,i,o,s,a,u,l,c,d){var h,f=(e+r)/2,p=(n+i)/2,m=(r+o)/2,_=(i+s)/2,g=(o+a)/2,v=(s+u)/2,y=(f+m)/2,b=(p+_)/2,w=(m+g)/2,S=(_+v)/2,T=(y+w)/2,E=(b+S)/2,M=a-e,x=u-n,C=Math.abs((r-a)*x-(i-u)*M),O=Math.abs((o-a)*x-(s-u)*M);return c||(c=[{x:e,y:n},{x:a,y:u}],d=1),c.splice(d||c.length-1,0,{x:T,y:E}),(C+O)*(C+O)>l*(M*M+x*x)&&(h=c.length,t(e,n,f,p,y,b,T,E,l,c,d),t(T,E,w,S,g,v,a,u,l,c,d+1+(c.length-h))),c},so=function(){function t(t,e,n){Ei||to(),this.id=t,no&&this.setData(e,n)}var e=t.prototype;return e.setData=function(t,e){e=e||{};var n,r,i,o,s,a,u,l,c,d=(t=t||"0,0,1,1").match(ro),h=1,f=[],p=[],_=e.precision||1,g=_<=1;if(this.data=t,(io.test(t)||~t.indexOf("M")&&t.indexOf("C")<0)&&(d=m(t)[0]),4===(n=d.length))d.unshift(0,0),d.push(1,1),n=8;else if((n-2)%6)throw"Invalid CustomEase";for(0==+d[0]&&1==+d[n-2]||function(t,e,n){n||0===n||(n=Math.max(+t[t.length-1],+t[1]));var r,i=-1*+t[0],o=-n,s=t.length,a=1/(+t[s-2]+i),u=-e||(Math.abs(+t[s-1]-+t[1])<.01*(+t[s-2]-+t[0])?function(t){var e,n=t.length,r=1e20;for(e=1;e<n;e+=6)+t[e]<r&&(r=+t[e]);return r}(t)+o:+t[s-1]+o);for(u=u?1/u:-a,r=0;r<s;r+=2)t[r]=(+t[r]+i)*a,t[r+1]=(+t[r+1]+o)*u}(d,e.height,e.originY),this.segment=d,o=2;o<n;o+=6)f.push(r={x:+d[o-2],y:+d[o-1]},i={x:+d[o+4],y:+d[o+5]}),oo(r.x,r.y,+d[o],+d[o+1],+d[o+2],+d[o+3],i.x,i.y,1/(2e5*_),f,f.length-1);for(n=f.length,o=0;o<n;o++)((u=f[o]).x>(l=f[o-1]||u).x||l.y!==u.y&&l.x===u.x||u===l)&&u.x<=1?(l.cx=u.x-l.x,l.cy=u.y-l.y,l.n=u,l.nx=u.x,g&&o>1&&Math.abs(l.cy/l.cx-f[o-2].cy/f[o-2].cx)>2&&(g=0),l.cx<h&&(l.cx?h=l.cx:(l.cx=.001,o===n-1&&(l.x-=.001,h=Math.min(h,.001),g=0)))):(f.splice(o--,1),n--);if(n=1/h+1|0,s=1/n,a=0,u=f[0],g){for(o=0;o<n;o++)u.nx<(c=o*s)&&(u=f[++a]),p[o]={x:c,cx:s,y:r=u.y+(c-u.x)/u.cx*u.cy,cy:0,nx:9},o&&(p[o-1].cy=r-p[o-1].y);p[n-1].cy=f[f.length-1].y-r}else{for(o=0;o<n;o++)u.nx<o*s&&(u=f[++a]),p[o]=u;a<f.length-1&&(p[o-1]=f[f.length-2])}return this.ease=function(t){var e=p[t*n|0]||p[n-1];return e.nx<t&&(e=e.n),e.y+(t-e.x)/e.cx*e.cy},this.ease.custom=this,this.id&&Ti&&Ti.registerEase(this.id,this.ease),this},e.getSVGData=function(e){return t.getSVGData(this,e)},t.create=function(e,n,r){return new t(e,n,r).ease},t.register=function(t){Ti=t,to()},t.get=function(t){return Ti.parseEase(t)},t.getSVGData=function(e,n){var r,i,o,s,a,u,l,c,d,h,p=(n=n||{}).width||100,m=n.height||100,_=n.x||0,g=(n.y||0)+m,y=Ti.utils.toArray(n.path)[0];if(n.invert&&(m=-m,g=0),"string"==typeof e&&(e=Ti.parseEase(e)),e.custom&&(e=e.custom),e instanceof t)r=v(f([e.segment],p,0,0,-m,_,g));else{for(r=[_,g],s=1/(l=Math.max(5,200*(n.precision||1))),c=5/(l+=2),d=eo(_+s*p),i=((h=eo(g+e(s)*-m))-g)/(d-_),o=2;o<l;o++)a=eo(_+o*s*p),u=eo(g+e(o*s)*-m),(Math.abs((u-h)/(a-d)-i)>c||o===l-1)&&(r.push(d,h),i=(u-h)/(a-d)),d=a,h=u;r="M"+r.join(",")}return y&&y.setAttribute("d",r),r},t}();Qi()&&Ti.registerPlugin(so),so.version="3.12.5";var ao,uo,lo,co,ho,fo,po,mo,_o,go,vo,yo,bo,wo,So,To,Eo,Mo,xo,Co,Oo,Do,ko,Lo,Ao,Io,Po,Ro,No,jo,Yo,Fo="transform",Ho=Fo+"Origin",Bo=function(t){var e=t.ownerDocument||t;!(Fo in t.style)&&"msTransform"in t.style&&(Ho=(Fo="msTransform")+"Origin");for(;e.parentNode&&(e=e.parentNode););if(uo=window,po=new Qo,e){lo=e.documentElement,co=e.body,(mo=(ao=e).createElementNS("http://www.w3.org/2000/svg","g")).style.transform="none";var n=e.createElement("div"),r=e.createElement("div"),i=e&&(e.body||e.firstElementChild);i&&i.appendChild&&(i.appendChild(n),n.appendChild(r),n.setAttribute("style","position:static;transform:translate3d(0,0,1px)"),_o=r.offsetParent!==n,i.removeChild(n))}return e},Vo=function(t){for(var e,n;t&&t!==co;)(n=t._gsap)&&n.uncache&&n.get(t,"x"),n&&!n.scaleX&&!n.scaleY&&n.renderTransform&&(n.scaleX=n.scaleY=1e-4,n.renderTransform(1,n),e?e.push(n):e=[n]),t=t.parentNode;return e},zo=[],Wo=[],Uo=function(){return uo.pageYOffset||ao.scrollTop||lo.scrollTop||co.scrollTop||0},qo=function(){return uo.pageXOffset||ao.scrollLeft||lo.scrollLeft||co.scrollLeft||0},Go=function(t){return t.ownerSVGElement||("svg"===(t.tagName+"").toLowerCase()?t:null)},Xo=function t(e){return"fixed"===uo.getComputedStyle(e).position||((e=e.parentNode)&&1===e.nodeType?t(e):void 0)},Ko=function t(e,n){if(e.parentNode&&(ao||Bo(e))){var r=Go(e),i=r?r.getAttribute("xmlns")||"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",o=r?n?"rect":"g":"div",s=2!==n?0:100,a=3===n?100:0,u="position:absolute;display:block;pointer-events:none;margin:0;padding:0;",l=ao.createElementNS?ao.createElementNS(i.replace(/^https/,"http"),o):ao.createElement(o);return n&&(r?(fo||(fo=t(e)),l.setAttribute("width",.01),l.setAttribute("height",.01),l.setAttribute("transform","translate("+s+","+a+")"),fo.appendChild(l)):(ho||((ho=t(e)).style.cssText=u),l.style.cssText=u+"width:0.1px;height:0.1px;top:"+a+"px;left:"+s+"px",ho.appendChild(l))),l}throw"Need document and parent."},Zo=function(t){var e,n=t.getCTM();return n||(e=t.style[Fo],t.style[Fo]="none",t.appendChild(mo),n=mo.getCTM(),t.removeChild(mo),e?t.style[Fo]=e:t.style.removeProperty(Fo.replace(/([A-Z])/g,"-$1").toLowerCase())),n||po.clone()},$o=function(t,e){var n,r,i,o,s,a,u=Go(t),l=t===u,c=u?zo:Wo,d=t.parentNode;if(t===uo)return t;if(c.length||c.push(Ko(t,1),Ko(t,2),Ko(t,3)),n=u?fo:ho,u)l?(o=-(i=Zo(t)).e/i.a,s=-i.f/i.d,r=po):t.getBBox?(i=t.getBBox(),o=(r=(r=t.transform?t.transform.baseVal:{}).numberOfItems?r.numberOfItems>1?function(t){for(var e=new Qo,n=0;n<t.numberOfItems;n++)e.multiply(t.getItem(n).matrix);return e}(r):r.getItem(0).matrix:po).a*i.x+r.c*i.y,s=r.b*i.x+r.d*i.y):(r=new Qo,o=s=0),e&&"g"===t.tagName.toLowerCase()&&(o=s=0),(l?u:d).appendChild(n),n.setAttribute("transform","matrix("+r.a+","+r.b+","+r.c+","+r.d+","+(r.e+o)+","+(r.f+s)+")");else{if(o=s=0,_o)for(r=t.offsetParent,i=t;i&&(i=i.parentNode)&&i!==r&&i.parentNode;)(uo.getComputedStyle(i)[Fo]+"").length>4&&(o=i.offsetLeft,s=i.offsetTop,i=0);if("absolute"!==(a=uo.getComputedStyle(t)).position&&"fixed"!==a.position)for(r=t.offsetParent;d&&d!==r;)o+=d.scrollLeft||0,s+=d.scrollTop||0,d=d.parentNode;(i=n.style).top=t.offsetTop-s+"px",i.left=t.offsetLeft-o+"px",i[Fo]=a[Fo],i[Ho]=a[Ho],i.position="fixed"===a.position?"fixed":"absolute",t.parentNode.appendChild(n)}return n},Jo=function(t,e,n,r,i,o,s){return t.a=e,t.b=n,t.c=r,t.d=i,t.e=o,t.f=s,t},Qo=function(){function t(t,e,n,r,i,o){void 0===t&&(t=1),void 0===e&&(e=0),void 0===n&&(n=0),void 0===r&&(r=1),void 0===i&&(i=0),void 0===o&&(o=0),Jo(this,t,e,n,r,i,o)}var e=t.prototype;return e.inverse=function(){var t=this.a,e=this.b,n=this.c,r=this.d,i=this.e,o=this.f,s=t*r-e*n||1e-10;return Jo(this,r/s,-e/s,-n/s,t/s,(n*o-r*i)/s,-(t*o-e*i)/s)},e.multiply=function(t){var e=this.a,n=this.b,r=this.c,i=this.d,o=t.a,s=t.c,a=t.b,u=t.d,l=t.e,c=t.f;return Jo(this,o*e+a*r,o*n+a*i,s*e+u*r,s*n+u*i,this.e+l*e+c*r,this.f+l*n+c*i)},e.clone=function(){return new t(this.a,this.b,this.c,this.d,this.e,this.f)},e.equals=function(t){return this.a===t.a&&this.b===t.b&&this.c===t.c&&this.d===t.d&&this.e===t.e&&this.f===t.f},e.apply=function(t,e){void 0===e&&(e={});var n=t.x,r=t.y,i=this.b,o=this.d,s=this.f;return e.x=n*this.a+r*this.c+this.e||0,e.y=n*i+r*o+s||0,e},t}(),ts=0,es=function(){return"undefined"!=typeof window},ns=function(){return go||es()&&(go=window.gsap)&&go.registerPlugin&&go},rs=function(t){return"function"==typeof t},is=function(t){return"object"==typeof t},os=function(t){return void 0===t},ss=function(){return!1},as="transform",us="transformOrigin",ls=function(t){return Math.round(1e4*t)/1e4},cs=Array.isArray,ds=function(t,e){var n=yo.createElementNS?yo.createElementNS((e||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),t):yo.createElement(t);return n.style?n:yo.createElement(t)},hs=180/Math.PI,fs=1e20,ps=new Qo,ms=Date.now||function(){return(new Date).getTime()},_s=[],gs={},vs=0,ys=/^(?:a|input|textarea|button|select)$/i,bs=0,ws={},Ss={},Ts=function(t,e){var n,r={};for(n in t)r[n]=e?t[n]*e:t[n];return r},Es=function(t,e){for(var n in e)n in t||(t[n]=e[n]);return t},Ms=function t(e,n){for(var r,i=e.length;i--;)n?e[i].style.touchAction=n:e[i].style.removeProperty("touch-action"),(r=e[i].children)&&r.length&&t(r,n)},xs=function(){return _s.forEach(function(t){return t()})},Cs=function(t){_s.push(t),1===_s.length&&go.ticker.add(xs)},Os=function(){return!_s.length&&go.ticker.remove(xs)},Ds=function(t){for(var e=_s.length;e--;)_s[e]===t&&_s.splice(e,1);go.to(Os,{overwrite:!0,delay:15,duration:0,onComplete:Os,data:"_draggable"})},ks=function(t,e,n,r){if(t.addEventListener){var i=Do[e];r=r||(Co?{passive:!1}:null),t.addEventListener(i||e,n,r),i&&e!==i&&t.addEventListener(e,n,r)}},Ls=function(t,e,n,r){if(t.removeEventListener){var i=Do[e];t.removeEventListener(i||e,n,r),i&&e!==i&&t.removeEventListener(e,n,r)}},As=function(t){t.preventDefault&&t.preventDefault(),t.preventManipulation&&t.preventManipulation()},Is=function(t,e){for(var n=t.length;n--;)if(t[n].identifier===e)return!0},Ps=function t(e){ko=e.touches&&ts<e.touches.length,Ls(e.target,"touchend",t)},Rs=function(t){ko=t.touches&&ts<t.touches.length,ks(t.target,"touchend",Ps)},Ns=function(t){return vo.pageYOffset||t.scrollTop||t.documentElement.scrollTop||t.body.scrollTop||0},js=function(t){return vo.pageXOffset||t.scrollLeft||t.documentElement.scrollLeft||t.body.scrollLeft||0},Ys=function t(e,n){ks(e,"scroll",n),Hs(e.parentNode)||t(e.parentNode,n)},Fs=function t(e,n){Ls(e,"scroll",n),Hs(e.parentNode)||t(e.parentNode,n)},Hs=function(t){return!(t&&t!==bo&&9!==t.nodeType&&t!==yo.body&&t!==vo&&t.nodeType&&t.parentNode)},Bs=function(t,e){var n="x"===e?"Width":"Height",r="scroll"+n,i="client"+n;return Math.max(0,Hs(t)?Math.max(bo[r],wo[r])-(vo["inner"+n]||bo[i]||wo[i]):t[r]-t[i])},Vs=function t(e,n){var r=Bs(e,"x"),i=Bs(e,"y");Hs(e)?e=Ss:t(e.parentNode,n),e._gsMaxScrollX=r,e._gsMaxScrollY=i,n||(e._gsScrollX=e.scrollLeft||0,e._gsScrollY=e.scrollTop||0)},zs=function(t,e,n){var r=t.style;r&&(os(r[e])&&(e=Mo(e,t)||e),null==n?r.removeProperty&&r.removeProperty(e.replace(/([A-Z])/g,"-$1").toLowerCase()):r[e]=n)},Ws=function(t){return vo.getComputedStyle(t instanceof Element?t:t.host||(t.parentNode||{}).host||t)},Us={},qs=function(t){if(t===vo)return Us.left=Us.top=0,Us.width=Us.right=bo.clientWidth||t.innerWidth||wo.clientWidth||0,Us.height=Us.bottom=(t.innerHeight||0)-20<bo.clientHeight?bo.clientHeight:t.innerHeight||wo.clientHeight||0,Us;var e=t.ownerDocument||yo,n=os(t.pageX)?t.nodeType||os(t.left)||os(t.top)?xo(t)[0].getBoundingClientRect():t:{left:t.pageX-js(e),top:t.pageY-Ns(e),right:t.pageX-js(e)+1,bottom:t.pageY-Ns(e)+1};return os(n.right)&&!os(n.width)?(n.right=n.left+n.width,n.bottom=n.top+n.height):os(n.width)&&(n={width:n.right-n.left,height:n.bottom-n.top,right:n.right,left:n.left,bottom:n.bottom,top:n.top}),n},Gs=function(t,e,n){var r,i=t.vars,o=i[n],s=t._listeners[e];return rs(o)&&(r=o.apply(i.callbackScope||t,i[n+"Params"]||[t.pointerEvent])),s&&!1===t.dispatchEvent(e)&&(r=!1),r},Xs=function(t,e){var n,r,i,o=xo(t)[0];return o.nodeType||o===vo?Zs(o,e):os(t.left)?(r=t.min||t.minX||t.minRotation||0,n=t.min||t.minY||0,{left:r,top:n,width:(t.max||t.maxX||t.maxRotation||0)-r,height:(t.max||t.maxY||0)-n}):(i={x:0,y:0},{left:t.left-i.x,top:t.top-i.y,width:t.width,height:t.height})},Ks={},Zs=function(t,e){e=xo(e)[0];var n,r,i,o,s,a,u,l,c,d,h,f,p,m=t.getBBox&&t.ownerSVGElement,_=t.ownerDocument||yo;if(t===vo)i=Ns(_),r=(n=js(_))+(_.documentElement.clientWidth||t.innerWidth||_.body.clientWidth||0),o=i+((t.innerHeight||0)-20<_.documentElement.clientHeight?_.documentElement.clientHeight:t.innerHeight||_.body.clientHeight||0);else{if(e===vo||os(e))return t.getBoundingClientRect();n=i=0,m?(h=(d=t.getBBox()).width,f=d.height):(t.viewBox&&(d=t.viewBox.baseVal)&&(n=d.x||0,i=d.y||0,h=d.width,f=d.height),h||(d="border-box"===(p=Ws(t)).boxSizing,h=(parseFloat(p.width)||t.clientWidth||0)+(d?0:parseFloat(p.borderLeftWidth)+parseFloat(p.borderRightWidth)),f=(parseFloat(p.height)||t.clientHeight||0)+(d?0:parseFloat(p.borderTopWidth)+parseFloat(p.borderBottomWidth)))),r=h,o=f}return t===e?{left:n,top:i,width:r-n,height:o-i}:(s=y(e,!0).multiply(y(t)),a=s.apply({x:n,y:i}),u=s.apply({x:r,y:i}),l=s.apply({x:r,y:o}),c=s.apply({x:n,y:o}),n=Math.min(a.x,u.x,l.x,c.x),i=Math.min(a.y,u.y,l.y,c.y),{left:n,top:i,width:Math.max(a.x,u.x,l.x,c.x)-n,height:Math.max(a.y,u.y,l.y,c.y)-i})},$s=function(t,e,n,r,i,o){var s,a,u,l={};if(e)if(1!==i&&e instanceof Array){if(l.end=s=[],u=e.length,is(e[0]))for(a=0;a<u;a++)s[a]=Ts(e[a],i);else for(a=0;a<u;a++)s[a]=e[a]*i;n+=1.1,r-=1.1}else l.end=rs(e)?function(n){var r,o,s=e.call(t,n);if(1!==i)if(is(s)){r={};for(o in s)r[o]=s[o]*i;s=r}else s*=i;return s}:e;return(n||0===n)&&(l.max=n),(r||0===r)&&(l.min=r),o&&(l.velocity=0),l},Js=function t(e){var n;return!(!e||!e.getAttribute||e===wo)&&(!("true"!==(n=e.getAttribute("data-clickable"))&&("false"===n||!ys.test(e.nodeName+"")&&"true"!==e.getAttribute("contentEditable")))||t(e.parentNode))},Qs=function(t,e){for(var n,r=t.length;r--;)(n=t[r]).ondragstart=n.onselectstart=e?null:ss,go.set(n,{lazy:!0,userSelect:e?"text":"none"})},ta=function t(e){return"fixed"===Ws(e).position||((e=e.parentNode)&&1===e.nodeType?t(e):void 0)},ea=function(t,e){t=go.utils.toArray(t)[0],e=e||{};var n,r,i,o,s,a,u=document.createElement("div"),l=u.style,c=t.firstChild,d=0,h=0,f=t.scrollTop,p=t.scrollLeft,m=t.scrollWidth,_=t.scrollHeight,g=0,v=0,y=0;jo&&!1!==e.force3D?(s="translate3d(",a="px,0px)"):as&&(s="translate(",a="px)"),this.scrollTop=function(t,e){if(!arguments.length)return-this.top();this.top(-t,e)},this.scrollLeft=function(t,e){if(!arguments.length)return-this.left();this.left(-t,e)},this.left=function(n,r){if(!arguments.length)return-(t.scrollLeft+h);var i=t.scrollLeft-p,o=h;if((i>2||i<-2)&&!r)return p=t.scrollLeft,go.killTweensOf(this,{left:1,scrollLeft:1}),this.left(-p),void(e.onKill&&e.onKill());(n=-n)<0?(h=n-.5|0,n=0):n>v?(h=n-v|0,n=v):h=0,(h||o)&&(this._skip||(l[as]=s+-h+"px,"+-d+a),h+g>=0&&(l.paddingRight=h+g+"px")),t.scrollLeft=0|n,p=t.scrollLeft},this.top=function(n,r){if(!arguments.length)return-(t.scrollTop+d);var i=t.scrollTop-f,o=d;if((i>2||i<-2)&&!r)return f=t.scrollTop,go.killTweensOf(this,{top:1,scrollTop:1}),this.top(-f),void(e.onKill&&e.onKill());(n=-n)<0?(d=n-.5|0,n=0):n>y?(d=n-y|0,n=y):d=0,(d||o)&&(this._skip||(l[as]=s+-h+"px,"+-d+a)),t.scrollTop=0|n,f=t.scrollTop},this.maxScrollTop=function(){return y},this.maxScrollLeft=function(){return v},this.disable=function(){for(c=u.firstChild;c;)o=c.nextSibling,t.appendChild(c),c=o;t===u.parentNode&&t.removeChild(u)},this.enable=function(){if((c=t.firstChild)!==u){for(;c;)o=c.nextSibling,u.appendChild(c),c=o;t.appendChild(u),this.calibrate()}},this.calibrate=function(e){var o,s,a,c=t.clientWidth===n;f=t.scrollTop,p=t.scrollLeft,c&&t.clientHeight===r&&u.offsetHeight===i&&m===t.scrollWidth&&_===t.scrollHeight&&!e||((d||h)&&(s=this.left(),a=this.top(),this.left(-t.scrollLeft),this.top(-t.scrollTop)),o=Ws(t),c&&!e||(l.display="block",l.width="auto",l.paddingRight="0px",(g=Math.max(0,t.scrollWidth-t.clientWidth))&&(g+=parseFloat(o.paddingLeft)+(Yo?parseFloat(o.paddingRight):0))),l.display="inline-block",l.position="relative",l.overflow="visible",l.verticalAlign="top",l.boxSizing="content-box",l.width="100%",l.paddingRight=g+"px",Yo&&(l.paddingBottom=o.paddingBottom),m=t.scrollWidth,_=t.scrollHeight,v=t.scrollWidth-(n=t.clientWidth),y=t.scrollHeight-(r=t.clientHeight),i=u.offsetHeight,l.display="block",(s||a)&&(this.left(s),this.top(a)))},this.content=u,this.element=t,this._skip=!1,this.enable()},na=function(t){if(es()&&document.body){var e=window&&window.navigator;vo=window,yo=document,bo=yo.documentElement,wo=yo.body,So=ds("div"),Po=!!window.PointerEvent,(To=ds("div")).style.cssText="visibility:hidden;height:1px;top:-1px;pointer-events:none;position:relative;clear:both;cursor:grab",Io="grab"===To.style.cursor?"grab":"move",Lo=e&&-1!==e.userAgent.toLowerCase().indexOf("android"),Oo="ontouchstart"in bo&&"orientation"in vo||e&&(e.MaxTouchPoints>0||e.msMaxTouchPoints>0),Yo=function(){var t,e=ds("div"),n=ds("div"),r=n.style,i=wo;return r.display="inline-block",r.position="relative",e.style.cssText="width:90px;height:40px;padding:10px;overflow:auto;visibility:hidden",e.appendChild(n),i.appendChild(e),t=n.offsetHeight+18>e.scrollHeight,i.removeChild(e),t}(),Do=function(t){for(var e=t.split(","),n=(("onpointerdown"in So?"pointerdown,pointermove,pointerup,pointercancel":"onmspointerdown"in So?"MSPointerDown,MSPointerMove,MSPointerUp,MSPointerCancel":t).split(",")),r={},i=4;--i>-1;)r[e[i]]=n[i],r[n[i]]=e[i];try{bo.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){Co=1}}))}catch(t){}return r}("touchstart,touchmove,touchend,touchcancel"),ks(yo,"touchcancel",ss),ks(vo,"touchmove",ss),wo&&wo.addEventListener("touchstart",ss),ks(yo,"contextmenu",function(){for(var t in gs)gs[t].isPressed&&gs[t].endDrag()}),go=Eo=ns()}go?(Ao=go.plugins.inertia,Ro=go.core.context||function(){},as=(Mo=go.utils.checkPrefix)(as),us=Mo(us),xo=go.utils.toArray,No=go.core.getStyleSaver,jo=!!Mo("perspective")):t&&console.warn("Please gsap.registerPlugin(Draggable)")},ra=function(t){function e(n,r){var i;i=t.call(this)||this,Eo||na(1),n=xo(n)[0],i.styles=No&&No(n,"transform,left,top"),Ao||(Ao=go.plugins.inertia),i.vars=r=Ts(r||{}),i.target=n,i.x=i.y=i.rotation=0,i.dragResistance=parseFloat(r.dragResistance)||0,i.edgeResistance=isNaN(r.edgeResistance)?1:parseFloat(r.edgeResistance)||0,i.lockAxis=r.lockAxis,i.autoScroll=r.autoScroll||0,i.lockedAxis=null,i.allowEventDefault=!!r.allowEventDefault,go.getProperty(n,"x");var o,s,a,u,l,c,d,h,f,p,m,_,g,v,w,S,T,E,M,x,C,O,D,k,L,A,I,P,R,N,j,Y,F,H=(r.type||"x,y").toLowerCase(),B=~H.indexOf("x")||~H.indexOf("y"),V=-1!==H.indexOf("rotation"),z=V?"rotation":B?"x":"left",W=B?"y":"top",U=!(!~H.indexOf("x")&&!~H.indexOf("left")&&"scroll"!==H),q=!(!~H.indexOf("y")&&!~H.indexOf("top")&&"scroll"!==H),G=r.minimumMovement||2,X=b(i),K=xo(r.trigger||r.handle||n),Z={},$=0,J=!1,Q=r.autoScrollMarginTop||40,tt=r.autoScrollMarginRight||40,et=r.autoScrollMarginBottom||40,nt=r.autoScrollMarginLeft||40,rt=r.clickableTest||Js,it=0,ot=n._gsap||go.core.getCache(n),st=ta(n),at=function(t,e){return parseFloat(ot.get(n,t,e))},ut=n.ownerDocument||yo,lt=function(t){return As(t),t.stopImmediatePropagation&&t.stopImmediatePropagation(),!1},ct=function t(e){if(X.autoScroll&&X.isDragging&&(J||T)){var r,i,o,a,u,l,c,d,f=n,p=15*X.autoScroll;for(J=!1,Ss.scrollTop=null!=vo.pageYOffset?vo.pageYOffset:null!=ut.documentElement.scrollTop?ut.documentElement.scrollTop:ut.body.scrollTop,Ss.scrollLeft=null!=vo.pageXOffset?vo.pageXOffset:null!=ut.documentElement.scrollLeft?ut.documentElement.scrollLeft:ut.body.scrollLeft,a=X.pointerX-Ss.scrollLeft,u=X.pointerY-Ss.scrollTop;f&&!i;)r=(i=Hs(f.parentNode))?Ss:f.parentNode,o=i?{bottom:Math.max(bo.clientHeight,vo.innerHeight||0),right:Math.max(bo.clientWidth,vo.innerWidth||0),left:0,top:0}:r.getBoundingClientRect(),l=c=0,q&&((d=r._gsMaxScrollY-r.scrollTop)<0?c=d:u>o.bottom-et&&d?(J=!0,c=Math.min(d,p*(1-Math.max(0,o.bottom-u)/et)|0)):u<o.top+Q&&r.scrollTop&&(J=!0,c=-Math.min(r.scrollTop,p*(1-Math.max(0,u-o.top)/Q)|0)),c&&(r.scrollTop+=c)),U&&((d=r._gsMaxScrollX-r.scrollLeft)<0?l=d:a>o.right-tt&&d?(J=!0,l=Math.min(d,p*(1-Math.max(0,o.right-a)/tt)|0)):a<o.left+nt&&r.scrollLeft&&(J=!0,l=-Math.min(r.scrollLeft,p*(1-Math.max(0,a-o.left)/nt)|0)),l&&(r.scrollLeft+=l)),i&&(l||c)&&(vo.scrollTo(r.scrollLeft,r.scrollTop),Tt(X.pointerX+l,X.pointerY+c)),f=r}if(T){var m=X.x,_=X.y;V?(X.deltaX=m-parseFloat(ot.rotation),X.rotation=m,ot.rotation=m+"deg",ot.renderTransform(1,ot)):s?(q&&(X.deltaY=_-s.top(),s.top(_)),U&&(X.deltaX=m-s.left(),s.left(m))):B?(q&&(X.deltaY=_-parseFloat(ot.y),ot.y=_+"px"),U&&(X.deltaX=m-parseFloat(ot.x),ot.x=m+"px"),ot.renderTransform(1,ot)):(q&&(X.deltaY=_-parseFloat(n.style.top||0),n.style.top=_+"px"),U&&(X.deltaX=m-parseFloat(n.style.left||0),n.style.left=m+"px")),!h||e||P||(P=!0,!1===Gs(X,"drag","onDrag")&&(U&&(X.x-=X.deltaX),q&&(X.y-=X.deltaY),t(!0)),P=!1)}T=!1},dt=function(t,e){var r,i,o=X.x,a=X.y;n._gsap||(ot=go.core.getCache(n)),ot.uncache&&go.getProperty(n,"x"),B?(X.x=parseFloat(ot.x),X.y=parseFloat(ot.y)):V?X.x=X.rotation=parseFloat(ot.rotation):s?(X.y=s.top(),X.x=s.left()):(X.y=parseFloat(n.style.top||(i=Ws(n))&&i.top)||0,X.x=parseFloat(n.style.left||(i||{}).left)||0),(M||x||C)&&!e&&(X.isDragging||X.isThrowing)&&(C&&(ws.x=X.x,ws.y=X.y,(r=C(ws)).x!==X.x&&(X.x=r.x,T=!0),r.y!==X.y&&(X.y=r.y,T=!0)),M&&(r=M(X.x))!==X.x&&(X.x=r,V&&(X.rotation=r),T=!0),x&&((r=x(X.y))!==X.y&&(X.y=r),T=!0)),T&&ct(!0),t||(X.deltaX=X.x-o,X.deltaY=X.y-a,Gs(X,"throwupdate","onThrowUpdate"))},ht=function(t,e,n,r){return null==e&&(e=-fs),null==n&&(n=fs),rs(t)?function(i){var o=X.isPressed?1-X.edgeResistance:1;return t.call(X,(i>n?n+(i-n)*o:i<e?e+(i-e)*o:i)*r)*r}:cs(t)?function(r){for(var i,o,s=t.length,a=0,u=fs;--s>-1;)(o=(i=t[s])-r)<0&&(o=-o),o<u&&i>=e&&i<=n&&(a=s,u=o);return t[a]}:isNaN(t)?function(t){return t}:function(){return t*r}},ft=function(){var t,e,i,o;d=!1,s?(s.calibrate(),X.minX=m=-s.maxScrollLeft(),X.minY=g=-s.maxScrollTop(),X.maxX=p=X.maxY=_=0,d=!0):r.bounds&&(t=Xs(r.bounds,n.parentNode),V?(X.minX=m=t.left,X.maxX=p=t.left+t.width,X.minY=g=X.maxY=_=0):os(r.bounds.maxX)&&os(r.bounds.maxY)?(e=Xs(n,n.parentNode),X.minX=m=Math.round(at(z,"px")+t.left-e.left),X.minY=g=Math.round(at(W,"px")+t.top-e.top),X.maxX=p=Math.round(m+(t.width-e.width)),X.maxY=_=Math.round(g+(t.height-e.height))):(X.minX=m=(t=r.bounds).minX,X.minY=g=t.minY,X.maxX=p=t.maxX,X.maxY=_=t.maxY),m>p&&(X.minX=p,X.maxX=p=m,m=X.minX),g>_&&(X.minY=_,X.maxY=_=g,g=X.minY),V&&(X.minRotation=m,X.maxRotation=p),d=!0),r.liveSnap&&(o=cs(i=!0===r.liveSnap?r.snap||{}:r.liveSnap)||rs(i),V?(M=ht(o?i:i.rotation,m,p,1),x=null):i.points?C=function(t,e,n,r,i,o,s){return o=o&&o<fs?o*o:fs,rs(t)?function(a){var u,l,c,d=X.isPressed?1-X.edgeResistance:1,h=a.x,f=a.y;return a.x=h=h>n?n+(h-n)*d:h<e?e+(h-e)*d:h,a.y=f=f>i?i+(f-i)*d:f<r?r+(f-r)*d:f,(u=t.call(X,a))!==a&&(a.x=u.x,a.y=u.y),1!==s&&(a.x*=s,a.y*=s),o<fs&&(l=a.x-h)*l+(c=a.y-f)*c>o&&(a.x=h,a.y=f),a}:cs(t)?function(e){for(var n,r,i,s,a=t.length,u=0,l=fs;--a>-1;)(s=(n=(i=t[a]).x-e.x)*n+(r=i.y-e.y)*r)<l&&(u=a,l=s);return l<=o?t[u]:e}:function(t){return t}}(o?i:i.points,m,p,g,_,i.radius,s?-1:1):(U&&(M=ht(o?i:i.x||i.left||i.scrollLeft,m,p,s?-1:1)),q&&(x=ht(o?i:i.y||i.top||i.scrollTop,g,_,s?-1:1))))},pt=function(){X.isThrowing=!1,Gs(X,"throwcomplete","onThrowComplete")},mt=function(){X.isThrowing=!1},_t=function(t,e){var i,o,a,u;t&&Ao?(!0===t&&(o=cs(i=r.snap||r.liveSnap||{})||rs(i),t={resistance:(r.throwResistance||r.resistance||1e3)/(V?10:1)},V?t.rotation=$s(X,o?i:i.rotation,p,m,1,e):(U&&(t[z]=$s(X,o?i:i.points||i.x||i.left,p,m,s?-1:1,e||"x"===X.lockedAxis)),q&&(t[W]=$s(X,o?i:i.points||i.y||i.top,_,g,s?-1:1,e||"y"===X.lockedAxis)),(i.points||cs(i)&&is(i[0]))&&(t.linkedProps=z+","+W,t.radius=i.radius))),X.isThrowing=!0,u=isNaN(r.overshootTolerance)?1===r.edgeResistance?0:1-X.edgeResistance+.2:r.overshootTolerance,t.duration||(t.duration={max:Math.max(r.minDuration||0,"maxDuration"in r?r.maxDuration:2),min:isNaN(r.minDuration)?0===u||is(t)&&t.resistance>1e3?0:.5:r.minDuration,overshoot:u}),X.tween=a=go.to(s||n,{inertia:t,data:"_draggable",inherit:!1,onComplete:pt,onInterrupt:mt,onUpdate:r.fastMode?Gs:dt,onUpdateParams:r.fastMode?[X,"onthrowupdate","onThrowUpdate"]:i&&i.radius?[!1,!0]:[]}),r.fastMode||(s&&(s._skip=!0),a.render(1e9,!0,!0),dt(!0,!0),X.endX=X.x,X.endY=X.y,V&&(X.endRotation=X.x),a.play(0),dt(!0,!0),s&&(s._skip=!1))):d&&X.applyBounds()},gt=function(t){var e,r=k;k=y(n.parentNode,!0),t&&X.isPressed&&!k.equals(r||new Qo)&&(e=r.inverse().apply({x:a,y:u}),k.apply(e,e),a=e.x,u=e.y),k.equals(ps)&&(k=null)},vt=function(){var t,e,r,i=1-X.edgeResistance,o=st?js(ut):0,h=st?Ns(ut):0;B&&(ot.x=at(z,"px")+"px",ot.y=at(W,"px")+"px",ot.renderTransform()),gt(!1),Ks.x=X.pointerX-o,Ks.y=X.pointerY-h,k&&k.apply(Ks,Ks),a=Ks.x,u=Ks.y,T&&(Tt(X.pointerX,X.pointerY),ct(!0)),Y=y(n),s?(ft(),c=s.top(),l=s.left()):(yt()?(dt(!0,!0),ft()):X.applyBounds(),V?(t=n.ownerSVGElement?[ot.xOrigin-n.getBBox().x,ot.yOrigin-n.getBBox().y]:(Ws(n)[us]||"0 0").split(" "),S=X.rotationOrigin=y(n).apply({x:parseFloat(t[0])||0,y:parseFloat(t[1])||0}),dt(!0,!0),e=X.pointerX-S.x-o,r=S.y-X.pointerY+h,l=X.x,c=X.y=Math.atan2(r,e)*hs):(c=at(W,"px"),l=at(z,"px"))),d&&i&&(l>p?l=p+(l-p)/i:l<m&&(l=m-(m-l)/i),V||(c>_?c=_+(c-_)/i:c<g&&(c=g-(g-c)/i))),X.startX=l=ls(l),X.startY=c=ls(c)},yt=function(){return X.tween&&X.tween.isActive()},bt=function(){!To.parentNode||yt()||X.isDragging||To.parentNode.removeChild(To)},wt=function(t,i){var l;if(!o||X.isPressed||!t||!("mousedown"!==t.type&&"pointerdown"!==t.type||i)&&ms()-it<30&&Do[X.pointerEvent.type])j&&t&&o&&As(t);else{if(L=yt(),F=!1,X.pointerEvent=t,Do[t.type]?(D=~t.type.indexOf("touch")?t.currentTarget||t.target:ut,ks(D,"touchend",Et),ks(D,"touchmove",St),ks(D,"touchcancel",Et),ks(ut,"touchstart",Rs)):(D=null,ks(ut,"mousemove",St)),I=null,Po&&D||(ks(ut,"mouseup",Et),t&&t.target&&ks(t.target,"mouseup",Et)),O=rt.call(X,t.target)&&!1===r.dragClickables&&!i)return ks(t.target,"change",Et),Gs(X,"pressInit","onPressInit"),Gs(X,"press","onPress"),Qs(K,!0),void(j=!1);if(A=!(!D||U===q||!1===X.vars.allowNativeTouchScrolling||X.vars.allowContextMenu&&t&&(t.ctrlKey||t.which>2))&&(U?"y":"x"),(j=!A&&!X.allowEventDefault)&&(As(t),ks(vo,"touchforcechange",As)),t.changedTouches?(t=v=t.changedTouches[0],w=t.identifier):t.pointerId?w=t.pointerId:v=w=null,ts++,Cs(ct),u=X.pointerY=t.pageY,a=X.pointerX=t.pageX,Gs(X,"pressInit","onPressInit"),(A||X.autoScroll)&&Vs(n.parentNode),!n.parentNode||!X.autoScroll||s||V||!n.parentNode._gsMaxScrollX||To.parentNode||n.getBBox||(To.style.width=n.parentNode.scrollWidth+"px",n.parentNode.appendChild(To)),vt(),X.tween&&X.tween.kill(),X.isThrowing=!1,go.killTweensOf(s||n,Z,!0),s&&go.killTweensOf(n,{scrollTo:1},!0),X.tween=X.lockedAxis=null,(r.zIndexBoost||!V&&!s&&!1!==r.zIndexBoost)&&(n.style.zIndex=e.zIndex++),X.isPressed=!0,h=!(!r.onDrag&&!X._listeners.drag),f=!(!r.onMove&&!X._listeners.move),!1!==r.cursor||r.activeCursor)for(l=K.length;--l>-1;)go.set(K[l],{cursor:r.activeCursor||r.cursor||("grab"===Io?"grabbing":Io)});Gs(X,"press","onPress")}},St=function(t){var e,r,i,s,l,c,d=t;if(o&&!ko&&X.isPressed&&t){if(X.pointerEvent=t,e=t.changedTouches){if((t=e[0])!==v&&t.identifier!==w){for(s=e.length;--s>-1&&(t=e[s]).identifier!==w&&t.target!==n;);if(s<0)return}}else if(t.pointerId&&w&&t.pointerId!==w)return;D&&A&&!I&&(Ks.x=t.pageX-(st?js(ut):0),Ks.y=t.pageY-(st?Ns(ut):0),k&&k.apply(Ks,Ks),r=Ks.x,i=Ks.y,l=Math.abs(r-a),c=Math.abs(i-u),(l!==c&&(l>G||c>G)||Lo&&A===I)&&(I=l>c&&U?"x":"y",A&&I!==A&&ks(vo,"touchforcechange",As),!1!==X.vars.lockAxisOnTouchScroll&&U&&q&&(X.lockedAxis="x"===I?"y":"x",rs(X.vars.onLockAxis)&&X.vars.onLockAxis.call(X,d)),Lo&&A===I))?Et(d):(X.allowEventDefault||A&&(!I||A===I)||!1===d.cancelable?j&&(j=!1):(As(d),j=!0),X.autoScroll&&(J=!0),Tt(t.pageX,t.pageY,f))}else j&&t&&o&&As(t)},Tt=function(t,e,n){var r,i,o,s,h,f,v=1-X.dragResistance,y=1-X.edgeResistance,b=X.pointerX,w=X.pointerY,E=c,O=X.x,D=X.y,L=X.endX,A=X.endY,I=X.endRotation,P=T;X.pointerX=t,X.pointerY=e,st&&(t-=js(ut),e-=Ns(ut)),V?(s=Math.atan2(S.y-e,t-S.x)*hs,(h=X.y-s)>180?(c-=360,X.y=s):h<-180&&(c+=360,X.y=s),X.x!==l||Math.abs(c-s)>G?(X.y=s,o=l+(c-s)*v):o=l):(k&&(f=t*k.a+e*k.c+k.e,e=t*k.b+e*k.d+k.f,t=f),r=t-a,(i=e-u)<G&&i>-G&&(i=0),r<G&&r>-G&&(r=0),(X.lockAxis||X.lockedAxis)&&(r||i)&&((f=X.lockedAxis)||(X.lockedAxis=f=U&&Math.abs(r)>Math.abs(i)?"y":q?"x":null,f&&rs(X.vars.onLockAxis)&&X.vars.onLockAxis.call(X,X.pointerEvent)),"y"===f?i=0:"x"===f&&(r=0)),o=ls(l+r*v),s=ls(c+i*v)),(M||x||C)&&(X.x!==o||X.y!==s&&!V)&&(C&&(ws.x=o,ws.y=s,f=C(ws),o=ls(f.x),s=ls(f.y)),M&&(o=ls(M(o))),x&&(s=ls(x(s)))),d&&(o>p?o=p+Math.round((o-p)*y):o<m&&(o=m+Math.round((o-m)*y)),V||(s>_?s=Math.round(_+(s-_)*y):s<g&&(s=Math.round(g+(s-g)*y)))),(X.x!==o||X.y!==s&&!V)&&(V?(X.endRotation=X.x=X.endX=o,T=!0):(q&&(X.y=X.endY=s,T=!0),U&&(X.x=X.endX=o,T=!0)),n&&!1===Gs(X,"move","onMove")?(X.pointerX=b,X.pointerY=w,c=E,X.x=O,X.y=D,X.endX=L,X.endY=A,X.endRotation=I,T=P):!X.isDragging&&X.isPressed&&(X.isDragging=F=!0,Gs(X,"dragstart","onDragStart")))},Et=function t(e,i){if(o&&X.isPressed&&(!e||null==w||i||!(e.pointerId&&e.pointerId!==w&&e.target!==n||e.changedTouches&&!Is(e.changedTouches,w)))){X.isPressed=!1;var s,a,u,l,c,d=e,h=X.isDragging,f=X.vars.allowContextMenu&&e&&(e.ctrlKey||e.which>2),p=go.delayedCall(.001,bt);if(D?(Ls(D,"touchend",t),Ls(D,"touchmove",St),Ls(D,"touchcancel",t),Ls(ut,"touchstart",Rs)):Ls(ut,"mousemove",St),Ls(vo,"touchforcechange",As),Po&&D||(Ls(ut,"mouseup",t),e&&e.target&&Ls(e.target,"mouseup",t)),T=!1,h&&($=bs=ms(),X.isDragging=!1),Ds(ct),O&&!f)return e&&(Ls(e.target,"change",t),X.pointerEvent=d),Qs(K,!1),Gs(X,"release","onRelease"),Gs(X,"click","onClick"),void(O=!1);for(a=K.length;--a>-1;)zs(K[a],"cursor",r.cursor||(!1!==r.cursor?Io:null));if(ts--,e){if((s=e.changedTouches)&&(e=s[0])!==v&&e.identifier!==w){for(a=s.length;--a>-1&&(e=s[a]).identifier!==w&&e.target!==n;);if(a<0&&!i)return}X.pointerEvent=d,X.pointerX=e.pageX,X.pointerY=e.pageY}return f&&d?(As(d),j=!0,Gs(X,"release","onRelease")):d&&!h?(j=!1,L&&(r.snap||r.bounds)&&_t(r.inertia||r.throwProps),Gs(X,"release","onRelease"),Lo&&"touchmove"===d.type||-1!==d.type.indexOf("cancel")||(Gs(X,"click","onClick"),ms()-it<300&&Gs(X,"doubleclick","onDoubleClick"),l=d.target||n,it=ms(),c=function(){it===R||!X.enabled()||X.isPressed||d.defaultPrevented||(l.click?l.click():ut.createEvent&&((u=ut.createEvent("MouseEvents")).initMouseEvent("click",!0,!0,vo,1,X.pointerEvent.screenX,X.pointerEvent.screenY,X.pointerX,X.pointerY,!1,!1,!1,!1,0,null),l.dispatchEvent(u)))},Lo||d.defaultPrevented||go.delayedCall(.05,c))):(_t(r.inertia||r.throwProps),X.allowEventDefault||!d||!1===r.dragClickables&&rt.call(X,d.target)||!h||A&&(!I||A!==I)||!1===d.cancelable?j=!1:(j=!0,As(d)),Gs(X,"release","onRelease")),yt()&&p.duration(X.tween.duration()),h&&Gs(X,"dragend","onDragEnd"),!0}j&&e&&o&&As(e)},Mt=function(t){if(t&&X.isDragging&&!s){var e=t.target||n.parentNode,r=e.scrollLeft-e._gsScrollX,i=e.scrollTop-e._gsScrollY;(r||i)&&(k?(a-=r*k.a+i*k.c,u-=i*k.d+r*k.b):(a-=r,u-=i),e._gsScrollX+=r,e._gsScrollY+=i,Tt(X.pointerX,X.pointerY))}},xt=function(t){var e=ms(),n=e-it<100,r=e-$<50,i=n&&R===it,o=X.pointerEvent&&X.pointerEvent.defaultPrevented,s=n&&N===it,a=t.isTrusted||null==t.isTrusted&&n&&i;if((i||r&&!1!==X.vars.suppressClickOnDrag)&&t.stopImmediatePropagation&&t.stopImmediatePropagation(),n&&(!X.pointerEvent||!X.pointerEvent.defaultPrevented)&&(!i||a&&!s))return a&&i&&(N=it),void(R=it);(X.isPressed||r||n)&&(a&&t.detail&&n&&!o||As(t)),n||r||F||(t&&t.target&&(X.pointerEvent=t),Gs(X,"click","onClick"))},Ct=function(t){return k?{x:t.x*k.a+t.y*k.c+k.e,y:t.x*k.b+t.y*k.d+k.f}:{x:t.x,y:t.y}};return(E=e.get(n))&&E.kill(),i.startDrag=function(t,e){var r,i,o,s;wt(t||X.pointerEvent,!0),e&&!X.hitTest(t||X.pointerEvent)&&(r=qs(t||X.pointerEvent),i=qs(n),o=Ct({x:r.left+r.width/2,y:r.top+r.height/2}),s=Ct({x:i.left+i.width/2,y:i.top+i.height/2}),a-=o.x-s.x,u-=o.y-s.y),X.isDragging||(X.isDragging=F=!0,Gs(X,"dragstart","onDragStart"))},i.drag=St,i.endDrag=function(t){return Et(t||X.pointerEvent,!0)},i.timeSinceDrag=function(){return X.isDragging?0:(ms()-$)/1e3},i.timeSinceClick=function(){return(ms()-it)/1e3},i.hitTest=function(t,n){return e.hitTest(X.target,t,n)},i.getDirection=function(t,e){var r,i,o,s,a,u,d="velocity"===t&&Ao?t:is(t)&&!V?"element":"start";return"element"===d&&(a=qs(X.target),u=qs(t)),r="start"===d?X.x-l:"velocity"===d?Ao.getVelocity(n,z):a.left+a.width/2-(u.left+u.width/2),V?r<0?"counter-clockwise":"clockwise":(e=e||2,i="start"===d?X.y-c:"velocity"===d?Ao.getVelocity(n,W):a.top+a.height/2-(u.top+u.height/2),s=(o=Math.abs(r/i))<1/e?"":r<0?"left":"right",o<e&&(""!==s&&(s+="-"),s+=i<0?"up":"down"),s)},i.applyBounds=function(t,e){var i,o,s,a,u,l;if(t&&r.bounds!==t)return r.bounds=t,X.update(!0,e);if(dt(!0),ft(),d&&!yt()){if(i=X.x,o=X.y,i>p?i=p:i<m&&(i=m),o>_?o=_:o<g&&(o=g),(X.x!==i||X.y!==o)&&(s=!0,X.x=X.endX=i,V?X.endRotation=i:X.y=X.endY=o,T=!0,ct(!0),X.autoScroll&&!X.isDragging))for(Vs(n.parentNode),a=n,Ss.scrollTop=null!=vo.pageYOffset?vo.pageYOffset:null!=ut.documentElement.scrollTop?ut.documentElement.scrollTop:ut.body.scrollTop,Ss.scrollLeft=null!=vo.pageXOffset?vo.pageXOffset:null!=ut.documentElement.scrollLeft?ut.documentElement.scrollLeft:ut.body.scrollLeft;a&&!l;)u=(l=Hs(a.parentNode))?Ss:a.parentNode,q&&u.scrollTop>u._gsMaxScrollY&&(u.scrollTop=u._gsMaxScrollY),U&&u.scrollLeft>u._gsMaxScrollX&&(u.scrollLeft=u._gsMaxScrollX),a=u;X.isThrowing&&(s||X.endX>p||X.endX<m||X.endY>_||X.endY<g)&&_t(r.inertia||r.throwProps,s)}return X},i.update=function(t,e,r){if(e&&X.isPressed){var i=y(n),o=Y.apply({x:X.x-l,y:X.y-c}),s=y(n.parentNode,!0);s.apply({x:i.e-o.x,y:i.f-o.y},o),X.x-=o.x-s.e,X.y-=o.y-s.f,ct(!0),vt()}var a=X.x,u=X.y;return gt(!e),t?X.applyBounds():(T&&r&&ct(!0),dt(!0)),e&&(Tt(X.pointerX,X.pointerY),T&&ct(!0)),X.isPressed&&!e&&(U&&Math.abs(a-X.x)>.01||q&&Math.abs(u-X.y)>.01&&!V)&&vt(),X.autoScroll&&(Vs(n.parentNode,X.isDragging),J=X.isDragging,ct(!0),Fs(n,Mt),Ys(n,Mt)),X},i.enable=function(t){var e,i,a,u={lazy:!0};if(!1!==r.cursor&&(u.cursor=r.cursor||Io),go.utils.checkPrefix("touchCallout")&&(u.touchCallout="none"),"soft"!==t){for(Ms(K,U===q?"none":r.allowNativeTouchScrolling&&n.scrollHeight===n.clientHeight==(n.scrollWidth===n.clientHeight)||r.allowEventDefault?"manipulation":U?"pan-y":"pan-x"),i=K.length;--i>-1;)a=K[i],Po||ks(a,"mousedown",wt),ks(a,"touchstart",wt),ks(a,"click",xt,!0),go.set(a,u),a.getBBox&&a.ownerSVGElement&&U!==q&&go.set(a.ownerSVGElement,{touchAction:r.allowNativeTouchScrolling||r.allowEventDefault?"manipulation":U?"pan-y":"pan-x"}),r.allowContextMenu||ks(a,"contextmenu",lt);Qs(K,!1)}return Ys(n,Mt),o=!0,Ao&&"soft"!==t&&Ao.track(s||n,B?"x,y":V?"rotation":"top,left"),n._gsDragID=e="d"+vs++,gs[e]=X,s&&(s.enable(),s.element._gsDragID=e),(r.bounds||V)&&vt(),r.bounds&&X.applyBounds(),X},i.disable=function(t){for(var e,r=X.isDragging,i=K.length;--i>-1;)zs(K[i],"cursor",null);if("soft"!==t){for(Ms(K,null),i=K.length;--i>-1;)zs(e=K[i],"touchCallout",null),Ls(e,"mousedown",wt),Ls(e,"touchstart",wt),Ls(e,"click",xt,!0),Ls(e,"contextmenu",lt);Qs(K,!0),D&&(Ls(D,"touchcancel",Et),Ls(D,"touchend",Et),Ls(D,"touchmove",St)),Ls(ut,"mouseup",Et),Ls(ut,"mousemove",St)}return Fs(n,Mt),o=!1,Ao&&"soft"!==t&&(Ao.untrack(s||n,B?"x,y":V?"rotation":"top,left"),X.tween&&X.tween.kill()),s&&s.disable(),Ds(ct),X.isDragging=X.isPressed=O=!1,r&&Gs(X,"dragend","onDragEnd"),X},i.enabled=function(t,e){return arguments.length?t?X.enable(e):X.disable(e):o},i.kill=function(){return X.isThrowing=!1,X.tween&&X.tween.kill(),X.disable(),go.set(K,{clearProps:"userSelect"}),delete gs[n._gsDragID],X},i.revert=function(){this.kill(),this.styles&&this.styles.revert()},~H.indexOf("scroll")&&(s=i.scrollProxy=new ea(n,Es({onKill:function(){X.isPressed&&Et(null)}},r)),n.style.overflowY=q&&!Oo?"auto":"hidden",n.style.overflowX=U&&!Oo?"auto":"hidden",n=s.content),V?Z.rotation=1:(U&&(Z[z]=1),q&&(Z[W]=1)),ot.force3D=!("force3D"in r)||r.force3D,Ro(b(i)),i.enable(),i}return function(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}(e,t),e.register=function(t){go=t,na()},e.create=function(t,n){return Eo||na(!0),xo(t).map(function(t){return new e(t,n)})},e.get=function(t){return gs[(xo(t)[0]||{})._gsDragID]},e.timeSinceDrag=function(){return(ms()-bs)/1e3},e.hitTest=function(t,e,n){if(t===e)return!1;var r,i,o,s=qs(t),a=qs(e),u=s.top,l=s.left,c=s.right,d=s.bottom,h=s.width,f=s.height,p=a.left>c||a.right<l||a.top>d||a.bottom<u;return p||!n?!p:(o=-1!==(n+"").indexOf("%"),n=parseFloat(n)||0,r={left:Math.max(l,a.left),top:Math.max(u,a.top)},r.width=Math.min(c,a.right)-r.left,r.height=Math.min(d,a.bottom)-r.top,!(r.width<0||r.height<0)&&(o?(n*=.01,(i=r.width*r.height)>=h*f*n||i>=a.width*a.height*n):r.width>n&&r.height>n))},e}(function(){function t(t){this._listeners={},this.target=t||this}var e=t.prototype;return e.addEventListener=function(t,e){var n=this._listeners[t]||(this._listeners[t]=[]);~n.indexOf(e)||n.push(e)},e.removeEventListener=function(t,e){var n=this._listeners[t],r=n&&n.indexOf(e);r>=0&&n.splice(r,1)},e.dispatchEvent=function(t){var e,n=this;return(this._listeners[t]||[]).forEach(function(r){return!1===r.call(n,{type:t,target:n.target})&&(e=!1)}),e},t}());!function(t,e){for(var n in e)n in t||(t[n]=e[n])}(ra.prototype,{pointerX:0,pointerY:0,startX:0,startY:0,deltaX:0,deltaY:0,isDragging:!1,isPressed:!1}),ra.zIndex=1e3,ra.version="3.12.5",ns()&&go.registerPlugin(ra);var ia,oa,sa,aa,ua=function(){return"undefined"!=typeof window},la=function(){return ia||ua()&&(ia=window.gsap)&&ia.registerPlugin&&ia},ca=function(){return oa||(da(),aa||console.warn("Please gsap.registerPlugin(CSSPlugin, CSSRulePlugin)")),oa},da=function(t){ia=t||la(),ua()&&(window,sa=document),ia&&(aa=ia.plugins.css)&&(oa=1)},ha={version:"3.12.5",name:"cssRule",init:function(t,e,n,r,i){if(!ca()||void 0===t.cssText)return!1;var o=t._gsProxy=t._gsProxy||sa.createElement("div");this.ss=t,this.style=o.style,o.style.cssText=t.cssText,aa.prototype.init.call(this,o,e,n,r,i)},render:function(t,e){for(var n,r=e._pt,i=e.style,o=e.ss;r;)r.r(t,r.d),r=r._next;for(n=i.length;--n>-1;)o[i[n]]=i[i[n]]},getRule:function(t){ca();var e,n,r,i,o=sa.all?"rules":"cssRules",s=sa.styleSheets,a=s.length,u=":"===t.charAt(0);for(t=(u?"":",")+t.split("::").join(":").toLowerCase()+",",u&&(i=[]);a--;){try{if(!(n=s[a][o]))continue;e=n.length}catch(t){console.warn(t);continue}for(;--e>-1;)if((r=n[e]).selectorText&&-1!==(","+r.selectorText.split("::").join(":").toLowerCase()+",").indexOf(t)){if(!u)return r.style;i.push(r.style)}}return i},register:da};la()&&ia.registerPlugin(ha);var fa,pa,ma,_a,ga,va,ya="redMultiplier,greenMultiplier,blueMultiplier,alphaMultiplier,redOffset,greenOffset,blueOffset,alphaOffset".split(","),ba=function(){return"undefined"!=typeof window},wa=function(){return fa||ba()&&(fa=window.gsap)&&fa.registerPlugin&&fa},Sa=function(){return _a||ma&&ma.createjs||ma||{}},Ta=function(t){return console.warn(t)},Ea=function(t){var e=t.getBounds&&t.getBounds();e||(e=t.nominalBounds||{x:0,y:0,width:100,height:100},t.setBounds&&t.setBounds(e.x,e.y,e.width,e.height)),t.cache&&t.cache(e.x,e.y,e.width,e.height),Ta("EaselPlugin: for filters to display in EaselJS, you must call the object's cache() method first. GSAP attempted to use the target's getBounds() for the cache but that may not be completely accurate. "+t)},Ma=function(t,e,n){ga||(ga=Sa().ColorFilter)||Ta("EaselPlugin error: The EaselJS ColorFilter JavaScript file wasn't loaded.");for(var r,i,o,s,a,u,l=t.filters||[],c=l.length;c--;)if(l[c]instanceof ga){i=l[c];break}if(i||(i=new ga,l.push(i),t.filters=l),o=i.clone(),null!=e.tint)r=fa.utils.splitColor(e.tint),o.redOffset=+r[0]*(s=null!=e.tintAmount?+e.tintAmount:1),o.greenOffset=+r[1]*s,o.blueOffset=+r[2]*s,o.redMultiplier=o.greenMultiplier=o.blueMultiplier=1-s;else for(a in e)"exposure"!==a&&"brightness"!==a&&(o[a]=+e[a]);for(null!=e.exposure?(o.redOffset=o.greenOffset=o.blueOffset=255*(+e.exposure-1),o.redMultiplier=o.greenMultiplier=o.blueMultiplier=1):null!=e.brightness&&(o.redOffset=o.greenOffset=o.blueOffset=(s=+e.brightness-1)>0?255*s:0,o.redMultiplier=o.greenMultiplier=o.blueMultiplier=1-Math.abs(s)),c=8;c--;)i[a=ya[c]]!==o[a]&&(u=n.add(i,a,i[a],o[a],0,0,0,0,0,1))&&(u.op="easel_colorFilter");n._props.push("easel_colorFilter"),t.cacheID||Ea(t)},xa=[1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,0],Ca=function(t,e){if(!(t instanceof Array&&e instanceof Array))return e;var n,r,i=[],o=0;for(n=0;n<4;n++){for(r=0;r<5;r++)i[o+r]=t[o]*e[r]+t[o+1]*e[r+5]+t[o+2]*e[r+10]+t[o+3]*e[r+15]+(4===r?t[o+4]:0);o+=5}return i},Oa=function(t,e,n){va||(va=Sa().ColorMatrixFilter)||Ta("EaselPlugin: The EaselJS ColorMatrixFilter JavaScript file wasn't loaded.");for(var r,i,o,s,a=t.filters||[],u=a.length;--u>-1;)if(a[u]instanceof va){o=a[u];break}for(o||(o=new va(xa.slice()),a.push(o),t.filters=a),i=o.matrix,r=xa.slice(),null!=e.colorize&&(r=function(t,e,n){isNaN(n)&&(n=1);var r=fa.utils.splitColor(e),i=r[0]/255,o=r[1]/255,s=r[2]/255,a=1-n;return Ca([a+n*i*.212671,n*i*.71516,n*i*.072169,0,0,n*o*.212671,a+n*o*.71516,n*o*.072169,0,0,n*s*.212671,n*s*.71516,a+n*s*.072169,0,0,0,0,0,1,0],t)}(r,e.colorize,Number(e.colorizeAmount))),null!=e.contrast&&(r=function(t,e){return isNaN(e)?t:(e+=.01,Ca([e,0,0,0,128*(1-e),0,e,0,0,128*(1-e),0,0,e,0,128*(1-e),0,0,0,1,0],t))}(r,Number(e.contrast))),null!=e.hue&&(r=function(t,e){if(isNaN(e))return t;e*=Math.PI/180;var n=Math.cos(e),r=Math.sin(e);return Ca([.212671+.787329*n+-.212671*r,.71516+-.71516*n+-.71516*r,.072169+-.072169*n+.927831*r,0,0,.212671+-.212671*n+.143*r,.71516+.28484*n+.14*r,.072169+-.072169*n+-.283*r,0,0,.212671+-.212671*n+-.787329*r,.71516+-.71516*n+.71516*r,.072169+.927831*n+.072169*r,0,0,0,0,0,1,0,0,0,0,0,1],t)}(r,Number(e.hue))),null!=e.saturation&&(r=function(t,e){if(isNaN(e))return t;var n=1-e,r=.212671*n,i=.71516*n,o=.072169*n;return Ca([r+e,i,o,0,0,r,i+e,o,0,0,r,i,o+e,0,0,0,0,0,1,0],t)}(r,Number(e.saturation))),u=r.length;--u>-1;)r[u]!==i[u]&&(s=n.add(i,u,i[u],r[u],0,0,0,0,0,1))&&(s.op="easel_colorMatrixFilter");n._props.push("easel_colorMatrixFilter"),t.cacheID||Ea(),n._matrix=i},Da=function(t){fa=t||wa(),ba()&&(ma=window),fa&&(pa=1)},ka={version:"3.12.5",name:"easel",init:function(t,e,n,r,i){pa||(Da(),fa||Ta("Please gsap.registerPlugin(EaselPlugin)")),this.target=t;var o,s,a,u,l,c,d;for(o in e)if(l=e[o],"colorFilter"===o||"tint"===o||"tintAmount"===o||"exposure"===o||"brightness"===o)a||(Ma(t,e.colorFilter||e,this),a=!0);else if("saturation"===o||"contrast"===o||"hue"===o||"colorize"===o||"colorizeAmount"===o)u||(Oa(t,e.colorMatrixFilter||e,this),u=!0);else if("frame"===o){if("string"==typeof l&&"="!==l.charAt(1)&&(c=t.labels))for(d=0;d<c.length;d++)c[d].label===l&&(l=c[d].position);(s=this.add(t,"gotoAndStop",t.currentFrame,l,r,i,Math.round,0,0,1))&&(s.op=o)}else null!=t[o]&&this.add(t,o,"get",l)},render:function(t,e){for(var n=e._pt;n;)n.r(t,n.d),n=n._next;e.target.cacheID&&e.target.updateCache()},register:Da};ka.registerCreateJS=function(t){_a=t},wa()&&fa.registerPlugin(ka);var La,Aa,Ia=function(){return La||"undefined"!=typeof window&&(La=window.gsap)&&La.registerPlugin&&La},Pa=function(t,e){return!!(void 0===t?e:t&&!~(t+"").indexOf("false"))},Ra=function(t){if(La=t||Ia()){Aa=La.registerEase;var e,n=La.parseEase(),r=function(t){return function(e){var n=.5+e/2;t.config=function(e){return t(2*(1-e)*e*n+e*e)}}};for(e in n)n[e].config||r(n[e]);Aa("slow",Ha),Aa("expoScale",Ba),Aa("rough",Va);for(e in za)"version"!==e&&La.core.globals(e,za[e]);1}},Na=function(t,e,n){var r=(t=Math.min(1,t||.7))<1?e||0===e?e:.7:0,i=(1-t)/2,o=i+t,s=Pa(n);return function(t){var e=t+(.5-t)*r;return t<i?s?1-(t=1-t/i)*t:e-(t=1-t/i)*t*t*t*e:t>o?s?1===t?0:1-(t=(t-o)/i)*t:e+(t-e)*(t=(t-o)/i)*t*t*t:s?1:e}},ja=function(t,e,n){var r=Math.log(e/t),i=e-t;return n&&(n=La.parseEase(n)),function(e){return(t*Math.exp(r*(n?n(e):e))-t)/i}},Ya=function(t,e,n){this.t=t,this.v=e,n&&(this.next=n,n.prev=this,this.c=n.v-e,this.gap=n.t-t)},Fa=function(t){"object"!=typeof t&&(t={points:+t||20});for(var e,n,r,i,o,s,a,u=t.taper||"none",l=[],c=0,d=0|(+t.points||20),h=d,f=Pa(t.randomize,!0),p=Pa(t.clamp),m=La?La.parseEase(t.template):0,_=.4*(+t.strength||1);--h>-1;)e=f?Math.random():1/d*h,n=m?m(e):e,r="none"===u?_:"out"===u?(i=1-e)*i*_:"in"===u?e*e*_:e<.5?(i=2*e)*i*.5*_:(i=2*(1-e))*i*.5*_,f?n+=Math.random()*r-.5*r:h%2?n+=.5*r:n-=.5*r,p&&(n>1?n=1:n<0&&(n=0)),l[c++]={x:e,y:n};for(l.sort(function(t,e){return t.x-e.x}),s=new Ya(1,1,null),h=d;h--;)s=new Ya((o=l[h]).x,o.y,s);return a=new Ya(0,0,s.t?s:s.next),function(t){var e=a;if(t>e.t){for(;e.next&&t>=e.t;)e=e.next;e=e.prev}else for(;e.prev&&t<=e.t;)e=e.prev;return a=e,e.v+(t-e.t)/e.gap*e.c}},Ha=Na(.7);Ha.ease=Ha,Ha.config=Na;var Ba=ja(1,2);Ba.config=ja;var Va=Fa();Va.ease=Va,Va.config=Fa;var za={SlowMo:Ha,RoughEase:Va,ExpoScaleEase:Ba};for(var Wa in za)za[Wa].register=Ra,za[Wa].version="3.12.5";Ia()&&La.registerPlugin(Ha);var Ua,qa,Ga,Xa,Ka,Za,$a,Ja,Qa=1,tu=function(t,e){return t.actions.forEach(function(t){return t.vars[e]&&t.vars[e](t)})},eu={},nu=180/Math.PI,ru=Math.PI/180,iu={},ou={},su={},au=function(t){return"string"==typeof t?t.split(" ").join("").split(","):t},uu=au("onStart,onUpdate,onComplete,onReverseComplete,onInterrupt"),lu=au("transform,transformOrigin,width,height,position,top,left,opacity,zIndex,maxWidth,maxHeight,minWidth,minHeight"),cu=function(t){return Ua(t)[0]||console.warn("Element not found:",t)},du=function(t){return Math.round(1e4*t)/1e4||0},hu=function(t,e,n){return t.forEach(function(t){return t.classList[n](e)})},fu={zIndex:1,kill:1,simple:1,spin:1,clearProps:1,targets:1,toggleClass:1,onComplete:1,onUpdate:1,onInterrupt:1,onStart:1,delay:1,repeat:1,repeatDelay:1,yoyo:1,scale:1,fade:1,absolute:1,props:1,onEnter:1,onLeave:1,custom:1,paused:1,nested:1,prune:1,absoluteOnLeave:1},pu={zIndex:1,simple:1,clearProps:1,scale:1,absolute:1,fitChild:1,getVars:1,props:1},mu=function(t){return t.replace(/([A-Z])/g,"-$1").toLowerCase()},_u=function(t,e){var n,r={};for(n in t)e[n]||(r[n]=t[n]);return r},gu={},vu=function(t){var e=gu[t]=au(t);return su[t]=e.concat(lu),e},yu=function(t,e,n){return t.forEach(function(t){return t.d=function t(e,n,r){void 0===r&&(r=0);for(var i=e.parentNode,o=1e3*Math.pow(10,r)*(n?-1:1),s=n?900*-o:0;e;)s+=o,e=e.previousSibling;return i?s+t(i,n,r+1):s}(n?t.element:t.t,e)}),t.sort(function(t,e){return t.d-e.d}),t},bu=function(t,e){for(var n,r,i=t.element.style,o=t.css=t.css||[],s=e.length;s--;)r=i[n=e[s]]||i.getPropertyValue(n),o.push(r?n:ou[n]||(ou[n]=mu(n)),r);return i},wu=function(t){var e=t.css,n=t.element.style,r=0;for(t.cache.uncache=1;r<e.length;r+=2)e[r+1]?n[e[r]]=e[r+1]:n.removeProperty(e[r]);!e[e.indexOf("transform")+1]&&n.translate&&(n.removeProperty("translate"),n.removeProperty("scale"),n.removeProperty("rotate"))},Su=function(t,e){t.forEach(function(t){return t.a.cache.uncache=1}),e||t.finalStates.forEach(wu)},Tu="paddingTop,paddingRight,paddingBottom,paddingLeft,gridArea,transition".split(","),Eu=function(t,e,n){var r,i,o,s=t.element,a=t.width,u=t.height,l=t.uncache,c=t.getProp,d=s.style,h=4;if("object"!=typeof e&&(e=t),Ga&&1!==n)return Ga._abs.push({t:s,b:t,a:t,sd:0}),Ga._final.push(function(){return(t.cache.uncache=1)&&wu(t)}),s;for(i="none"===c("display"),t.isVisible&&!i||(i&&(bu(t,["display"]).display=e.display),t.matrix=e.matrix,t.width=a=t.width||e.width,t.height=u=t.height||e.height),bu(t,Tu),o=window.getComputedStyle(s);h--;)d[Tu[h]]=o[Tu[h]];if(d.gridArea="1 / 1 / 1 / 1",d.transition="none",d.position="absolute",d.width=a+"px",d.height=u+"px",d.top||(d.top="0px"),d.left||(d.left="0px"),l)r=new Bu(s);else if(r=_u(t,iu),r.position="absolute",t.simple){var f=s.getBoundingClientRect();r.matrix=new Qo(1,0,0,1,f.left+qo(),f.top+Uo())}else r.matrix=y(s,!1,!1,!0);return r=Lu(r,t,!0),t.x=Za(r.x,.01),t.y=Za(r.y,.01),s},Mu=function(t,e){return!0!==e&&(e=Ua(e),t=t.filter(function(t){if(-1!==e.indexOf((t.sd<0?t.b:t.a).element))return!0;t.t._gsap.renderTransform(1),t.b.isVisible&&(t.t.style.width=t.b.width+"px",t.t.style.height=t.b.height+"px")})),t},xu=function(t){return yu(t,!0).forEach(function(t){return(t.a.isVisible||t.b.isVisible)&&Eu(t.sd<0?t.b:t.a,t.b,1)})},Cu=function(t,e,n,r){return t instanceof Bu?t:t instanceof Hu?function(t,e){return e&&t.idLookup[Cu(e).id]||t.elementStates[0]}(t,r):new Bu("string"==typeof t?cu(t)||console.warn(t+" not found"):t,e,n)},Ou=function(t,e){var n,r=t.style||t;for(n in e)r[n]=e[n]},Du=function(t){return t.map(function(t){return t.element})},ku=function(t,e,n){return t&&e.length&&n.add(t(Du(e),n,new Hu(e,0,!0)),0)},Lu=function(t,e,n,r,i,o){var s,a,u,l,c,d,h,f=t.element,p=t.cache,m=t.parent,_=t.x,g=t.y,v=e.width,b=e.height,w=e.scaleX,S=e.scaleY,T=e.rotation,E=e.bounds,M=o&&$a&&$a(f,"transform"),x=t,C=e.matrix,O=C.e,D=C.f,k=t.bounds.width!==E.width||t.bounds.height!==E.height||t.scaleX!==w||t.scaleY!==S||t.rotation!==T,L=!k&&t.simple&&e.simple&&!i;return L||!m?(w=S=1,T=s=0):(d=(c=function(t){var e=t._gsap||qa.core.getCache(t);return e.gmCache===qa.ticker.frame?e.gMatrix:(e.gmCache=qa.ticker.frame,e.gMatrix=y(t,!0,!1,!0))}(m)).clone().multiply(e.ctm?e.matrix.clone().multiply(e.ctm):e.matrix),T=du(Math.atan2(d.b,d.a)*nu),s=du(Math.atan2(d.c,d.d)*nu+T)%360,w=Math.sqrt(Math.pow(d.a,2)+Math.pow(d.b,2)),S=Math.sqrt(Math.pow(d.c,2)+Math.pow(d.d,2))*Math.cos(s*ru),i&&(i=Ua(i)[0],l=qa.getProperty(i),h=i.getBBox&&"function"==typeof i.getBBox&&i.getBBox(),x={scaleX:l("scaleX"),scaleY:l("scaleY"),width:h?h.width:Math.ceil(parseFloat(l("width","px"))),height:h?h.height:parseFloat(l("height","px"))}),p.rotation=T+"deg",p.skewX=s+"deg"),n?(w*=v!==x.width&&x.width?v/x.width:1,S*=b!==x.height&&x.height?b/x.height:1,p.scaleX=w,p.scaleY=S):(v=Za(v*w/x.scaleX,0),b=Za(b*S/x.scaleY,0),f.style.width=v+"px",f.style.height=b+"px"),r&&Ou(f,e.props),L||!m?(_+=O-t.matrix.e,g+=D-t.matrix.f):k||m!==e.parent?(p.renderTransform(1,p),d=y(i||f,!1,!1,!0),a=c.apply({x:d.e,y:d.f}),_+=(u=c.apply({x:O,y:D})).x-a.x,g+=u.y-a.y):(c.e=c.f=0,_+=(u=c.apply({x:O-t.matrix.e,y:D-t.matrix.f})).x,g+=u.y),_=Za(_,.02),g=Za(g,.02),!o||o instanceof Bu?(p.x=_+"px",p.y=g+"px",p.renderTransform(1,p)):M&&M.revert(),o&&(o.x=_,o.y=g,o.rotation=T,o.skewX=s,n?(o.scaleX=w,o.scaleY=S):(o.width=v,o.height=b)),o||p},Au=function(t,e){return t instanceof Hu?t:new Hu(t,e)},Iu=function(t,e,n){var r=t.idLookup[n],i=t.alt[n];return!i.isVisible||(e.getElementState(i.element)||i).isVisible&&r.isVisible?r:i},Pu=[],Ru="width,height,overflowX,overflowY".split(","),Nu=function(t){if(t!==Ja){var e=Ka.style,n=Ka.clientWidth===window.outerWidth,r=Ka.clientHeight===window.outerHeight,i=4;if(t&&(n||r)){for(;i--;)Pu[i]=e[Ru[i]];n&&(e.width=Ka.clientWidth+"px",e.overflowY="hidden"),r&&(e.height=Ka.clientHeight+"px",e.overflowX="hidden"),Ja=t}else if(Ja){for(;i--;)Pu[i]?e[Ru[i]]=Pu[i]:e.removeProperty(mu(Ru[i]));Ja=t}}},ju=function(t,e,n,r){t instanceof Hu&&e instanceof Hu||console.warn("Not a valid state object.");n=n||{};var i,o,s,a,u,l,c,d,h,f,p,m,_,g,v=n.clearProps,b=n.onEnter,w=n.onLeave,S=n.absolute,T=n.absoluteOnLeave,E=n.custom,M=n.delay,x=n.paused,C=n.repeat,O=n.repeatDelay,D=n.yoyo,k=n.toggleClass,L=n.nested,A=n.zIndex,I=n.scale,P=n.fade,R=n.stagger,N=n.spin,j=n.prune,Y=("props"in n?n:t).props,F=_u(n,fu),H=qa.timeline({delay:M,paused:x,repeat:C,repeatDelay:O,yoyo:D,data:"isFlip"}),B=F,V=[],z=[],W=[],U=[],q=!0===N?1:N||0,G="function"==typeof N?N:function(){return q},X=t.interrupted||e.interrupted,K=H[1!==r?"to":"from"];for(o in e.idLookup)p=e.alt[o]?Iu(e,t,o):e.idLookup[o],u=p.element,f=t.idLookup[o],t.alt[o]&&u===f.element&&(t.alt[o].isVisible||!p.isVisible)&&(f=t.alt[o]),f?(W.push(l={t:u,b:f,a:p,sd:f.element===u?0:p.isVisible?1:-1}),l.sd&&(l.sd<0&&(l.b=p,l.a=f),X&&bu(l.b,Y?su[Y]:lu),P&&W.push(l.swap={t:f.element,b:l.b,a:l.a,sd:-l.sd,swap:l})),u._flip=f.element._flip=Ga?Ga.timeline:H):p.isVisible&&(W.push({t:u,b:_u(p,{isVisible:1}),a:p,sd:0,entering:1}),u._flip=Ga?Ga.timeline:H);if(Y&&(gu[Y]||vu(Y)).forEach(function(t){return F[t]=function(e){return W[e].a.props[t]}}),W.finalStates=h=[],m=function(){for(yu(W),Nu(!0),a=0;a<W.length;a++)_=(l=W[a]).a,g=l.b,!j||_.isDifferent(g)||l.entering?(u=l.t,L&&!(l.sd<0)&&a&&(_.matrix=y(u,!1,!1,!0)),g.isVisible&&_.isVisible?(l.sd<0?(c=new Bu(u,Y,t.simple),Lu(c,_,I,0,0,c),c.matrix=y(u,!1,!1,!0),c.css=l.b.css,l.a=_=c,P&&(u.style.opacity=X?g.opacity:_.opacity),R&&U.push(u)):l.sd>0&&P&&(u.style.opacity=X?_.opacity-g.opacity:"0"),Lu(_,g,I,Y)):g.isVisible!==_.isVisible&&(g.isVisible?_.isVisible||(g.css=_.css,z.push(g),W.splice(a--,1),S&&L&&Lu(_,g,I,Y)):(_.isVisible&&V.push(_),W.splice(a--,1))),I||(u.style.maxWidth=Math.max(_.width,g.width)+"px",u.style.maxHeight=Math.max(_.height,g.height)+"px",u.style.minWidth=Math.min(_.width,g.width)+"px",u.style.minHeight=Math.min(_.height,g.height)+"px"),L&&k&&u.classList.add(k)):W.splice(a--,1),h.push(_);var e;if(k&&(e=h.map(function(t){return t.element}),L&&e.forEach(function(t){return t.classList.remove(k)})),Nu(!1),I?(F.scaleX=function(t){return W[t].a.scaleX},F.scaleY=function(t){return W[t].a.scaleY}):(F.width=function(t){return W[t].a.width+"px"},F.height=function(t){return W[t].a.height+"px"},F.autoRound=n.autoRound||!1),F.x=function(t){return W[t].a.x+"px"},F.y=function(t){return W[t].a.y+"px"},F.rotation=function(t){return W[t].a.rotation+(N?360*G(t,d[t],d):0)},F.skewX=function(t){return W[t].a.skewX},d=W.map(function(t){return t.t}),(A||0===A)&&(F.modifiers={zIndex:function(){return A}},F.zIndex=A,F.immediateRender=!1!==n.immediateRender),P&&(F.opacity=function(t){return W[t].sd<0?0:W[t].sd>0?W[t].a.opacity:"+=0"}),U.length){R=qa.utils.distribute(R);var r=d.slice(U.length);F.stagger=function(t,e){return R(~U.indexOf(e)?d.indexOf(W[t].swap.t):t,e,r)}}if(uu.forEach(function(t){return n[t]&&H.eventCallback(t,n[t],n[t+"Params"])}),E&&d.length){B=_u(F,fu),"scale"in E&&(E.scaleX=E.scaleY=E.scale,delete E.scale);for(o in E)(i=_u(E[o],pu))[o]=F[o],!("duration"in i)&&"duration"in F&&(i.duration=F.duration),i.stagger=F.stagger,K.call(H,d,i,0),delete B[o]}(d.length||z.length||V.length)&&(k&&H.add(function(){return hu(e,k,H._zTime<0?"remove":"add")},0)&&!x&&hu(e,k,"add"),d.length&&K.call(H,d,B,0)),ku(b,V,H),ku(w,z,H);var f=Ga&&Ga.timeline;f&&(f.add(H,0),Ga._final.push(function(){return Su(W,!v)})),s=H.duration(),H.call(function(){var t=H.time()>=s;t&&!f&&Su(W,!v),k&&hu(e,k,t?"remove":"add")})},T&&(S=W.filter(function(t){return!t.sd&&!t.a.isVisible&&t.b.isVisible}).map(function(t){return t.a.element})),Ga){var Z;S&&(Z=Ga._abs).push.apply(Z,Mu(W,S)),Ga._run.push(m)}else S&&xu(Mu(W,S)),m();var $=Ga?Ga.timeline:H;return $.revert=function(){return Yu($,1,1)},$},Yu=function(t,e,n){if(t&&t.progress()<1&&(!t.paused()||n))return e&&(!function t(e){e.vars.onInterrupt&&e.vars.onInterrupt.apply(e,e.vars.onInterruptParams||[]),e.getChildren(!0,!1,!0).forEach(t)}(t),e<2&&t.progress(1),t.kill()),!0},Fu=function(t){for(var e,n=t.idLookup={},r=t.alt={},i=t.elementStates,o=i.length;o--;)n[(e=i[o]).id]?r[e.id]=e:n[e.id]=e},Hu=function(){function t(t,e,n){if(this.props=e&&e.props,this.simple=!(!e||!e.simple),n)this.targets=Du(t),this.elementStates=t,Fu(this);else{this.targets=Ua(t);var r=e&&(!1===e.kill||e.batch&&!e.kill);Ga&&!r&&Ga._kill.push(this),this.update(r||!!Ga)}}var e=t.prototype;return e.update=function(t){var e=this;return this.elementStates=this.targets.map(function(t){return new Bu(t,e.props,e.simple)}),Fu(this),this.interrupt(t),this.recordInlineStyles(),this},e.clear=function(){return this.targets.length=this.elementStates.length=0,Fu(this),this},e.fit=function(t,e,n){for(var r,i,o=yu(this.elementStates.slice(0),!1,!0),s=(t||this).idLookup,a=0;a<o.length;a++)r=o[a],n&&(r.matrix=y(r.element,!1,!1,!0)),(i=s[r.id])&&Lu(r,i,e,!0,0,r),r.matrix=y(r.element,!1,!1,!0);return this},e.getProperty=function(t,e){var n=this.getElementState(t)||iu;return(e in n?n:n.props||iu)[e]},e.add=function(t){for(var e,n,r,i=t.targets.length,o=this.idLookup,s=this.alt;i--;)(r=o[(n=t.elementStates[i]).id])&&(n.element===r.element||s[n.id]&&s[n.id].element===n.element)?(e=this.elementStates.indexOf(n.element===r.element?r:s[n.id]),this.targets.splice(e,1,t.targets[i]),this.elementStates.splice(e,1,n)):(this.targets.push(t.targets[i]),this.elementStates.push(n));return t.interrupted&&(this.interrupted=!0),t.simple||(this.simple=!1),Fu(this),this},e.compare=function(t){var e,n,r,i,o,s,a,u,l=t.idLookup,c=this.idLookup,d=[],h=[],f=[],p=[],m=[],_=t.alt,g=this.alt,v=function(t,e,n){return(t.isVisible!==e.isVisible?t.isVisible?f:p:t.isVisible?h:d).push(n)&&m.push(n)},y=function(t,e,n){return m.indexOf(n)<0&&v(t,e,n)};for(r in l)s=g[r],i=(e=(o=_[r])?Iu(t,this,r):l[r]).element,n=c[r],s?(u=n.isVisible||!s.isVisible&&i===n.element?n:s,(a=!o||e.isVisible||o.isVisible||u.element!==o.element?e:o).isVisible&&u.isVisible&&a.element!==u.element?((a.isDifferent(u)?h:d).push(a.element,u.element),m.push(a.element,u.element)):v(a,u,a.element),o&&a.element===o.element&&(o=l[r]),y(a.element!==n.element&&o?o:a,n,n.element),y(o&&o.element===s.element?o:a,s,s.element),o&&y(o,s.element===o.element?s:n,o.element)):(n?n.isDifferent(e)?v(e,n,i):d.push(i):f.push(i),o&&y(o,n,o.element));for(r in c)l[r]||(p.push(c[r].element),g[r]&&p.push(g[r].element));return{changed:h,unchanged:d,enter:f,leave:p}},e.recordInlineStyles=function(){for(var t=su[this.props]||lu,e=this.elementStates.length;e--;)bu(this.elementStates[e],t)},e.interrupt=function(t){var e=this,n=[];this.targets.forEach(function(r){var i=r._flip,o=Yu(i,t?0:1);t&&o&&n.indexOf(i)<0&&i.add(function(){return e.updateVisibility()}),o&&n.push(i)}),!t&&n.length&&this.updateVisibility(),this.interrupted||(this.interrupted=!!n.length)},e.updateVisibility=function(){this.elementStates.forEach(function(t){var e=t.element.getBoundingClientRect();t.isVisible=!!(e.width||e.height||e.top||e.left),t.uncache=1})},e.getElementState=function(t){return this.elementStates[this.targets.indexOf(cu(t))]},e.makeAbsolute=function(){return yu(this.elementStates.slice(0),!0,!0).map(Eu)},t}(),Bu=function(){function t(t,e,n){this.element=t,this.update(e,n)}var e=t.prototype;return e.isDifferent=function(t){var e=this.bounds,n=t.bounds;return e.top!==n.top||e.left!==n.left||e.width!==n.width||e.height!==n.height||!this.matrix.equals(t.matrix)||this.opacity!==t.opacity||this.props&&t.props&&JSON.stringify(this.props)!==JSON.stringify(t.props)},e.update=function(t,e){var n=this.element,r=qa.getProperty(n),i=qa.core.getCache(n),o=n.getBoundingClientRect(),s=n.getBBox&&"function"==typeof n.getBBox&&"svg"!==n.nodeName.toLowerCase()&&n.getBBox(),a=e?new Qo(1,0,0,1,o.left+qo(),o.top+Uo()):y(n,!1,!1,!0);this.getProp=r,this.element=n,this.id=function(t){var e=t.getAttribute("data-flip-id");return e||t.setAttribute("data-flip-id",e="auto-"+Qa++),e}(n),this.matrix=a,this.cache=i,this.bounds=o,this.isVisible=!!(o.width||o.height||o.left||o.top),this.display=r("display"),this.position=r("position"),this.parent=n.parentNode,this.x=r("x"),this.y=r("y"),this.scaleX=i.scaleX,this.scaleY=i.scaleY,this.rotation=r("rotation"),this.skewX=r("skewX"),this.opacity=r("opacity"),this.width=s?s.width:Za(r("width","px"),.04),this.height=s?s.height:Za(r("height","px"),.04),t&&function(t,e){for(var n=qa.getProperty(t.element,null,"native"),r=t.props={},i=e.length;i--;)r[e[i]]=(n(e[i])+"").trim();r.zIndex&&(r.zIndex=parseFloat(r.zIndex)||0)}(this,gu[t]||vu(t)),this.ctm=n.getCTM&&"svg"===n.nodeName.toLowerCase()&&Zo(n).inverse(),this.simple=e||1===du(a.a)&&!du(a.b)&&!du(a.c)&&1===du(a.d),this.uncache=0},t}(),Vu=function(){function t(t,e){this.vars=t,this.batch=e,this.states=[],this.timeline=e.timeline}var e=t.prototype;return e.getStateById=function(t){for(var e=this.states.length;e--;)if(this.states[e].idLookup[t])return this.states[e]},e.kill=function(){this.batch.remove(this)},t}(),zu=function(){function t(t){this.id=t,this.actions=[],this._kill=[],this._final=[],this._abs=[],this._run=[],this.data={},this.state=new Hu,this.timeline=qa.timeline()}var e=t.prototype;return e.add=function(t){var e=this.actions.filter(function(e){return e.vars===t});return e.length?e[0]:(e=new Vu("function"==typeof t?{animate:t}:t,this),this.actions.push(e),e)},e.remove=function(t){var e=this.actions.indexOf(t);return e>=0&&this.actions.splice(e,1),this},e.getState=function(t){var e=this,n=Ga,r=Xa;return Ga=this,this.state.clear(),this._kill.length=0,this.actions.forEach(function(n){n.vars.getState&&(n.states.length=0,Xa=n,n.state=n.vars.getState(n)),t&&n.states.forEach(function(t){return e.state.add(t)})}),Xa=r,Ga=n,this.killConflicts(),this},e.animate=function(){var t,e,n=this,r=Ga,i=this.timeline,o=this.actions.length;for(Ga=this,i.clear(),this._abs.length=this._final.length=this._run.length=0,this.actions.forEach(function(t){t.vars.animate&&t.vars.animate(t);var e,n,r=t.vars.onEnter,i=t.vars.onLeave,o=t.targets;o&&o.length&&(r||i)&&(e=new Hu,t.states.forEach(function(t){return e.add(t)}),(n=e.compare(Wu.getState(o))).enter.length&&r&&r(n.enter),n.leave.length&&i&&i(n.leave))}),xu(this._abs),this._run.forEach(function(t){return t()}),e=i.duration(),t=this._final.slice(0),i.add(function(){e<=i.time()&&(t.forEach(function(t){return t()}),tu(n,"onComplete"))}),Ga=r;o--;)this.actions[o].vars.once&&this.actions[o].kill();return tu(this,"onStart"),i.restart(),this},e.loadState=function(t){t||(t=function(){return 0});var e=[];return this.actions.forEach(function(n){if(n.vars.loadState){var r,i=function i(o){o&&(n.targets=o),~(r=e.indexOf(i))&&(e.splice(r,1),e.length||t())};e.push(i),n.vars.loadState(i)}}),e.length||t(),this},e.setState=function(){return this.actions.forEach(function(t){return t.targets=t.vars.setState&&t.vars.setState(t)}),this},e.killConflicts=function(t){return this.state.interrupt(t),this._kill.forEach(function(e){return e.interrupt(t)}),this},e.run=function(t,e){var n=this;return this!==Ga&&(t||this.getState(e),this.loadState(function(){n._killed||(n.setState(),n.animate())})),this},e.clear=function(t){this.state.clear(),t||(this.actions.length=0)},e.getStateById=function(t){for(var e,n=this.actions.length;n--;)if(e=this.actions[n].getStateById(t))return e;return this.state.idLookup[t]&&this.state},e.kill=function(){this._killed=1,this.clear(),delete eu[this.id]},t}(),Wu=function(){function t(){}return t.getState=function(e,n){var r=Au(e,n);return Xa&&Xa.states.push(r),n&&n.batch&&t.batch(n.batch).state.add(r),r},t.from=function(t,e){return"clearProps"in(e=e||{})||(e.clearProps=!0),ju(t,Au(e.targets||t.targets,{props:e.props||t.props,simple:e.simple,kill:!!e.kill}),e,-1)},t.to=function(t,e){return ju(t,Au(e.targets||t.targets,{props:e.props||t.props,simple:e.simple,kill:!!e.kill}),e,1)},t.fromTo=function(t,e,n){return ju(t,e,n)},t.fit=function(t,e,n){var r=n?_u(n,pu):{},i=n||r,o=i.absolute,s=i.scale,a=i.getVars,u=i.props,l=i.runBackwards,c=i.onComplete,d=i.simple,h=n&&n.fitChild&&cu(n.fitChild),f=Cu(e,u,d,t),p=Cu(t,0,d,f),m=u?su[u]:lu,_=qa.context();return u&&Ou(r,f.props),bu(p,m),l&&("immediateRender"in r||(r.immediateRender=!0),r.onComplete=function(){wu(p),c&&c.apply(this,arguments)}),o&&Eu(p,f),r=Lu(p,f,s||h,u,h,r.duration||a?r:0),_&&!a&&_.add(function(){return function(){return wu(p)}}),a?r:r.duration?qa.to(p.element,r):null},t.makeAbsolute=function(t,e){return(t instanceof Hu?t:new Hu(t,e)).makeAbsolute()},t.batch=function(t){return t||(t="default"),eu[t]||(eu[t]=new zu(t))},t.killFlipsOf=function(t,e){(t instanceof Hu?t.targets:Ua(t)).forEach(function(t){return t&&Yu(t._flip,!1!==e?1:2)})},t.isFlipping=function(e){var n=t.getByTarget(e);return!!n&&n.isActive()},t.getByTarget=function(t){return(cu(t)||iu)._flip},t.getElementState=function(t,e){return new Bu(cu(t),e)},t.convertCoordinates=function(t,e,n){var r=y(e,!0,!0).multiply(y(t));return n?r.apply(n):r},t.register=function(t){if(Ka="undefined"!=typeof document&&document.body){qa=t,Bo(Ka),Ua=qa.utils.toArray,$a=qa.core.getStyleSaver;var e=qa.utils.snap(.1);Za=function(t,n){return e(parseFloat(t)+n)}}},t}();Wu.version="3.12.5","undefined"!=typeof window&&window.gsap&&window.gsap.registerPlugin(Wu);var Uu,qu,Gu,Xu,Ku,Zu,$u="x,translateX,left,marginLeft,xPercent".split(","),Ju="y,translateY,top,marginTop,yPercent".split(","),Qu=Math.PI/180,tl=function(t,e,n,r){for(var i=e.length,o=2===r?0:r,s=0;s<i;s++)t[o]=parseFloat(e[s][n]),2===r&&(t[o+1]=0),o+=2;return t},el=function(t,e,n){return parseFloat(t._gsap.get(t,e,n||"px"))||0},nl=function(t){var e,n=t[0],r=t[1];for(e=2;e<t.length;e+=2)n=t[e]+=n,r=t[e+1]+=r},rl=function(t,e,n,r,i,o,s,a,u){if("cubic"===s.type)e=[e];else{!1!==s.fromCurrent&&e.unshift(el(n,r,a),i?el(n,i,u):0),s.relative&&nl(e);e=[(i?g:_)(e,s.curviness)]}return e=o(ul(e,n,s)),ll(t,n,r,e,"x",a),i&&ll(t,n,i,e,"y",u),l(e,s.resolution||(0===s.curviness?20:12))},il=function(t){return t},ol=/[-+\.]*\d+\.?(?:e-|e\+)?\d*/g,sl=function(t,e,n){var r,i=y(t),o=0,s=0;return"svg"===(t.tagName+"").toLowerCase()?(r=t.viewBox.baseVal).width||(r={width:+t.getAttribute("width"),height:+t.getAttribute("height")}):r=e&&t.getBBox&&t.getBBox(),e&&"auto"!==e&&(o=e.push?e[0]*(r?r.width:t.offsetWidth||0):e.x,s=e.push?e[1]*(r?r.height:t.offsetHeight||0):e.y),n.apply(o||s?i.apply({x:o,y:s}):{x:i.e,y:i.f})},al=function(t,e,n,r){var i,o=y(t.parentNode,!0,!0),s=o.clone().multiply(y(e)),a=sl(t,n,o),u=sl(e,r,o),l=u.x,c=u.y;return s.e=s.f=0,"auto"===r&&e.getTotalLength&&"path"===e.tagName.toLowerCase()&&(i=e.getAttribute("d").match(ol)||[],l+=(i=s.apply({x:+i[0],y:+i[1]})).x,c+=i.y),i&&(l-=(i=s.apply(e.getBBox())).x,c-=i.y),s.e=l-a.x,s.f=c-a.y,s},ul=function(t,e,n){var r,i,s,a=n.align,u=n.matrix,l=n.offsetX,c=n.offsetY,d=n.alignOrigin,h=t[0][0],p=t[0][1],m=el(e,"x"),_=el(e,"y");return t&&t.length?(a&&("self"===a||(r=Xu(a)[0]||e)===e?f(t,1,0,0,1,m-h,_-p):(d&&!1!==d[2]?Uu.set(e,{transformOrigin:100*d[0]+"% "+100*d[1]+"%"}):d=[el(e,"xPercent")/-100,el(e,"yPercent")/-100],s=(i=al(e,r,d,"auto")).apply({x:h,y:p}),f(t,i.a,i.b,i.c,i.d,m+i.e-(s.x-i.e),_+i.f-(s.y-i.f)))),u?f(t,u.a,u.b,u.c,u.d,u.e,u.f):(l||c)&&f(t,1,0,0,1,l||0,c||0),t):o("M0,0L0,0")},ll=function(t,e,n,r,i,o){var s=e._gsap,a=s.harness,u=a&&a.aliases&&a.aliases[n],l=u&&u.indexOf(",")<0?u:n,c=t._pt=new qu(t._pt,e,l,0,0,il,0,s.set(e,l,t));c.u=Gu(s.get(e,l,o))||0,c.path=r,c.pp=i,t._props.push(l)},cl={version:"3.12.5",name:"motionPath",register:function(t,e,n){Gu=(Uu=t).utils.getUnit,Xu=Uu.utils.toArray,Ku=Uu.core.getStyleSaver,Zu=Uu.core.reverting||function(){},qu=n},init:function(t,e,n){if(!Uu)return console.warn("Please gsap.registerPlugin(MotionPathPlugin)"),!1;"object"==typeof e&&!e.style&&e.path||(e={path:e});var r,i,s=[],u=e.path,c=e.autoRotate,d=e.unitX,h=e.unitY,f=e.x,p=e.y,m=u[0],_=function(t,e){return function(n){return t||1!==e?a(n,t,e):n}}(e.start,"end"in e?e.end:1);if(this.rawPaths=s,this.target=t,this.tween=n,this.styles=Ku&&Ku(t,"transform"),(this.rotate=c||0===c)&&(this.rOffset=parseFloat(c)||0,this.radians=!!e.useRadians,this.rProp=e.rotation||"rotation",this.rSet=t._gsap.set(t,this.rProp,this),this.ru=Gu(t._gsap.get(t,this.rProp))||0),!Array.isArray(u)||"closed"in u||"number"==typeof m)l(r=_(ul(o(e.path),t,e)),e.resolution),s.push(r),ll(this,t,e.x||"x",r,"x",e.unitX||"px"),ll(this,t,e.y||"y",r,"y",e.unitY||"px");else{for(i in m)!f&&~$u.indexOf(i)?f=i:!p&&~Ju.indexOf(i)&&(p=i);f&&p?s.push(rl(this,tl(tl([],u,f,0),u,p,1),t,f,p,_,e,d||Gu(u[0][f]),h||Gu(u[0][p]))):f=p=0;for(i in m)i!==f&&i!==p&&s.push(rl(this,tl([],u,i,2),t,i,0,_,e,Gu(u[0][i])))}},render:function(t,e){var n=e.rawPaths,r=n.length,i=e._pt;if(e.tween._time||!Zu()){for(t>1?t=1:t<0&&(t=0);r--;)h(n[r],t,!r&&e.rotate,n[r]);for(;i;)i.set(i.t,i.p,i.path[i.pp]+i.u,i.d,t),i=i._next;e.rotate&&e.rSet(e.target,e.rProp,n[0].angle*(e.radians?Qu:1)+e.rOffset+e.ru,e,t)}else e.styles.revert()},getLength:function(t){return l(o(t)).totalLength},sliceRawPath:a,getRawPath:o,pointsToSegment:g,stringToRawPath:m,rawPathToString:v,transformRawPath:f,getGlobalMatrix:y,getPositionOnPath:h,cacheRawPathMeasurements:l,convertToPath:function(t,e){return Xu(t).map(function(t){return function(t,e){var n,r,i,o,s,a,u,l,c,d,h,f,p,_,g,y,b,w,S,T,E,M,x=t.tagName.toLowerCase(),C=.552284749831;return"path"!==x&&t.getBBox?(a=Zi(t,"x,y,width,height,cx,cy,rx,ry,r,x1,x2,y1,y2,points"),M=Ji(t,$i[x]),"rect"===x?(r=M.x,i=M.y,d=M.width-2*(o=M.rx),h=M.height-2*(s=M.ry||o),n=o||s?"M"+(y=(_=(p=r+o)+d)+o)+","+(w=i+s)+" V"+(S=w+h)+" C"+[y,T=S+s*C,g=_+o*C,E=S+s,_,E,_-(_-p)/3,E,p+(_-p)/3,E,p,E,f=r+o*(1-C),E,r,T,r,S,r,S-(S-w)/3,r,w+(S-w)/3,r,w,r,b=i+s*(1-C),f,i,p,i,p+(_-p)/3,i,_-(_-p)/3,i,_,i,g,i,y,b,y,w].join(",")+"z":"M"+(r+d)+","+i+" v"+h+" h"+-d+" v"+-h+" h"+d+"z"):"circle"===x||"ellipse"===x?("circle"===x?l=(o=s=M.r)*C:(o=M.rx,l=(s=M.ry)*C),n="M"+((r=M.cx)+o)+","+(i=M.cy)+" C"+[r+o,i+l,r+(u=o*C),i+s,r,i+s,r-u,i+s,r-o,i+l,r-o,i,r-o,i-l,r-u,i-s,r,i-s,r+u,i-s,r+o,i-l,r+o,i].join(",")+"z"):"line"===x?n="M"+M.x1+","+M.y1+" L"+M.x2+","+M.y2:"polyline"!==x&&"polygon"!==x||(n="M"+(r=(c=(t.getAttribute("points")+"").match(xi)||[]).shift())+","+(i=c.shift())+" L"+c.join(","),"polygon"===x&&(n+=","+r+","+i+"z")),a.setAttribute("d",v(a._gsRawPath=m(n))),e&&t.parentNode&&(t.parentNode.insertBefore(a,t),t.parentNode.removeChild(t)),a):t}(t,!1!==e)})},convertCoordinates:function(t,e,n){var r=y(e,!0,!0).multiply(y(t));return n?r.apply(n):r},getAlignMatrix:al,getRelativePosition:function(t,e,n,r){var i=al(t,e,n,r);return{x:i.e,y:i.f}},arrayToRawPath:function(t,e){var n=tl(tl([],t,(e=e||{}).x||"x",0),t,e.y||"y",1);return e.relative&&nl(n),["cubic"===e.type?n:g(n,e.curviness)]}};(Uu||"undefined"!=typeof window&&(Uu=window.gsap)&&Uu.registerPlugin&&Uu)&&Uu.registerPlugin(cl);var dl,hl,fl,pl,ml,_l,gl,vl,yl,bl,wl,Sl,Tl,El=function(){return dl||"undefined"!=typeof window&&(dl=window.gsap)&&dl.registerPlugin&&dl},Ml=1,xl=[],Cl=[],Ol=[],Dl=Date.now,kl=function(t,e){return e},Ll=function(t,e){return~Ol.indexOf(t)&&Ol[Ol.indexOf(t)+1][e]},Al=function(t){return!!~bl.indexOf(t)},Il=function(t,e,n,r,i){return t.addEventListener(e,n,{passive:!1!==r,capture:!!i})},Pl=function(t,e,n,r){return t.removeEventListener(e,n,!!r)},Rl=function(){return wl&&wl.isPressed||Cl.cache++},Nl=function(t,e){var n=function n(r){if(r||0===r){Ml&&(fl.history.scrollRestoration="manual");var i=wl&&wl.isPressed;r=n.v=Math.round(r)||(wl&&wl.iOS?1:0),t(r),n.cacheID=Cl.cache,i&&kl("ss",r)}else(e||Cl.cache!==n.cacheID||kl("ref"))&&(n.cacheID=Cl.cache,n.v=t());return n.v+n.offset};return n.offset=0,t&&n},jl={s:"scrollLeft",p:"left",p2:"Left",os:"right",os2:"Right",d:"width",d2:"Width",a:"x",sc:Nl(function(t){return arguments.length?fl.scrollTo(t,Yl.sc()):fl.pageXOffset||pl.scrollLeft||ml.scrollLeft||_l.scrollLeft||0})},Yl={s:"scrollTop",p:"top",p2:"Top",os:"bottom",os2:"Bottom",d:"height",d2:"Height",a:"y",op:jl,sc:Nl(function(t){return arguments.length?fl.scrollTo(jl.sc(),t):fl.pageYOffset||pl.scrollTop||ml.scrollTop||_l.scrollTop||0})},Fl=function(t,e){return(e&&e._ctx&&e._ctx.selector||dl.utils.toArray)(t)[0]||("string"==typeof t&&!1!==dl.config().nullTargetWarn?console.warn("Element not found:",t):null)},Hl=function(t,e){var n=e.s,r=e.sc;Al(t)&&(t=pl.scrollingElement||ml);var i=Cl.indexOf(t),o=r===Yl.sc?1:2;!~i&&(i=Cl.push(t)-1),Cl[i+o]||Il(t,"scroll",Rl);var s=Cl[i+o],a=s||(Cl[i+o]=Nl(Ll(t,n),!0)||(Al(t)?r:Nl(function(e){return arguments.length?t[n]=e:t[n]})));return a.target=t,s||(a.smooth="smooth"===dl.getProperty(t,"scrollBehavior")),a},Bl=function(t,e,n){var r=t,i=t,o=Dl(),s=o,a=e||50,u=Math.max(500,3*a),l=function(t,e){var u=Dl();e||u-o>a?(i=r,r=t,s=o,o=u):n?r+=t:r=i+(t-i)/(u-s)*(o-s)};return{update:l,reset:function(){i=r=n?0:r,s=o=0},getVelocity:function(t){var e=s,a=i,c=Dl();return(t||0===t)&&t!==r&&l(t),o===s||c-s>u?0:(r+(n?a:-a))/((n?c:o)-e)*1e3}}},Vl=function(t,e){return e&&!t._gsapAllow&&t.preventDefault(),t.changedTouches?t.changedTouches[0]:t},zl=function(t){var e=Math.max.apply(Math,t),n=Math.min.apply(Math,t);return Math.abs(e)>=Math.abs(n)?e:n},Wl=function(){(yl=dl.core.globals().ScrollTrigger)&&yl.core&&function(){var t=yl.core,e=t.bridge||{},n=t._scrollers,r=t._proxies;n.push.apply(n,Cl),r.push.apply(r,Ol),Cl=n,Ol=r,kl=function(t,n){return e[t](n)}}()},Ul=function(t){return dl=t||El(),!hl&&dl&&"undefined"!=typeof document&&document.body&&(fl=window,pl=document,bl=[fl,pl,ml=pl.documentElement,_l=pl.body],dl.utils.clamp,Tl=dl.core.context||function(){},vl="onpointerenter"in _l?"pointer":"mouse",gl=ql.isTouch=fl.matchMedia&&fl.matchMedia("(hover: none), (pointer: coarse)").matches?1:"ontouchstart"in fl||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0?2:0,Sl=ql.eventTypes=("ontouchstart"in ml?"touchstart,touchmove,touchcancel,touchend":"onpointerdown"in ml?"pointerdown,pointermove,pointercancel,pointerup":"mousedown,mousemove,mouseup,mouseup").split(","),setTimeout(function(){return Ml=0},500),Wl(),hl=1),hl};jl.op=Yl,Cl.cache=0;var ql=function(){function t(t){this.init(t)}return t.prototype.init=function(t){hl||Ul(dl)||console.warn("Please gsap.registerPlugin(Observer)"),yl||Wl();var e=t.tolerance,n=t.dragMinimum,r=t.type,i=t.target,o=t.lineHeight,s=t.debounce,a=t.preventDefault,u=t.onStop,l=t.onStopDelay,c=t.ignore,d=t.wheelSpeed,h=t.event,f=t.onDragStart,p=t.onDragEnd,m=t.onDrag,_=t.onPress,g=t.onRelease,v=t.onRight,y=t.onLeft,b=t.onUp,w=t.onDown,S=t.onChangeX,T=t.onChangeY,E=t.onChange,M=t.onToggleX,x=t.onToggleY,C=t.onHover,O=t.onHoverEnd,D=t.onMove,k=t.ignoreCheck,L=t.isNormalizer,A=t.onGestureStart,I=t.onGestureEnd,P=t.onWheel,R=t.onEnable,N=t.onDisable,j=t.onClick,Y=t.scrollSpeed,F=t.capture,H=t.allowClicks,B=t.lockAxis,V=t.onLockAxis;this.target=i=Fl(i)||ml,this.vars=t,c&&(c=dl.utils.toArray(c)),e=e||1e-9,n=n||0,d=d||1,Y=Y||1,r=r||"wheel,touch,pointer",s=!1!==s,o||(o=parseFloat(fl.getComputedStyle(_l).lineHeight)||22);var z,W,U,q,G,X,K,Z=this,$=0,J=0,Q=t.passive||!a,tt=Hl(i,jl),et=Hl(i,Yl),nt=tt(),rt=et(),it=~r.indexOf("touch")&&!~r.indexOf("pointer")&&"pointerdown"===Sl[0],ot=Al(i),st=i.ownerDocument||pl,at=[0,0,0],ut=[0,0,0],lt=0,ct=function(){return lt=Dl()},dt=function(t,e){return(Z.event=t)&&c&&~c.indexOf(t.target)||e&&it&&"touch"!==t.pointerType||k&&k(t,e)},ht=function(){var t=Z.deltaX=zl(at),n=Z.deltaY=zl(ut),r=Math.abs(t)>=e,i=Math.abs(n)>=e;E&&(r||i)&&E(Z,t,n,at,ut),r&&(v&&Z.deltaX>0&&v(Z),y&&Z.deltaX<0&&y(Z),S&&S(Z),M&&Z.deltaX<0!=$<0&&M(Z),$=Z.deltaX,at[0]=at[1]=at[2]=0),i&&(w&&Z.deltaY>0&&w(Z),b&&Z.deltaY<0&&b(Z),T&&T(Z),x&&Z.deltaY<0!=J<0&&x(Z),J=Z.deltaY,ut[0]=ut[1]=ut[2]=0),(q||U)&&(D&&D(Z),U&&(m(Z),U=!1),q=!1),X&&!(X=!1)&&V&&V(Z),G&&(P(Z),G=!1),z=0},ft=function(t,e,n){at[n]+=t,ut[n]+=e,Z._vx.update(t),Z._vy.update(e),s?z||(z=requestAnimationFrame(ht)):ht()},pt=function(t,e){B&&!K&&(Z.axis=K=Math.abs(t)>Math.abs(e)?"x":"y",X=!0),"y"!==K&&(at[2]+=t,Z._vx.update(t,!0)),"x"!==K&&(ut[2]+=e,Z._vy.update(e,!0)),s?z||(z=requestAnimationFrame(ht)):ht()},mt=function(t){if(!dt(t,1)){var e=(t=Vl(t,a)).clientX,r=t.clientY,i=e-Z.x,o=r-Z.y,s=Z.isDragging;Z.x=e,Z.y=r,(s||Math.abs(Z.startX-e)>=n||Math.abs(Z.startY-r)>=n)&&(m&&(U=!0),s||(Z.isDragging=!0),pt(i,o),s||f&&f(Z))}},_t=Z.onPress=function(t){dt(t,1)||t&&t.button||(Z.axis=K=null,W.pause(),Z.isPressed=!0,t=Vl(t),$=J=0,Z.startX=Z.x=t.clientX,Z.startY=Z.y=t.clientY,Z._vx.reset(),Z._vy.reset(),Il(L?i:st,Sl[1],mt,Q,!0),Z.deltaX=Z.deltaY=0,_&&_(Z))},gt=Z.onRelease=function(t){if(!dt(t,1)){Pl(L?i:st,Sl[1],mt,!0);var e=!isNaN(Z.y-Z.startY),n=Z.isDragging,r=n&&(Math.abs(Z.x-Z.startX)>3||Math.abs(Z.y-Z.startY)>3),o=Vl(t);!r&&e&&(Z._vx.reset(),Z._vy.reset(),a&&H&&dl.delayedCall(.08,function(){if(Dl()-lt>300&&!t.defaultPrevented)if(t.target.click)t.target.click();else if(st.createEvent){var e=st.createEvent("MouseEvents");e.initMouseEvent("click",!0,!0,fl,1,o.screenX,o.screenY,o.clientX,o.clientY,!1,!1,!1,!1,0,null),t.target.dispatchEvent(e)}})),Z.isDragging=Z.isGesturing=Z.isPressed=!1,u&&n&&!L&&W.restart(!0),p&&n&&p(Z),g&&g(Z,r)}},vt=function(t){return t.touches&&t.touches.length>1&&(Z.isGesturing=!0)&&A(t,Z.isDragging)},yt=function(){return(Z.isGesturing=!1)||I(Z)},bt=function(t){if(!dt(t)){var e=tt(),n=et();ft((e-nt)*Y,(n-rt)*Y,1),nt=e,rt=n,u&&W.restart(!0)}},wt=function(t){if(!dt(t)){t=Vl(t,a),P&&(G=!0);var e=(1===t.deltaMode?o:2===t.deltaMode?fl.innerHeight:1)*d;ft(t.deltaX*e,t.deltaY*e,0),u&&!L&&W.restart(!0)}},St=function(t){if(!dt(t)){var e=t.clientX,n=t.clientY,r=e-Z.x,i=n-Z.y;Z.x=e,Z.y=n,q=!0,u&&W.restart(!0),(r||i)&&pt(r,i)}},Tt=function(t){Z.event=t,C(Z)},Et=function(t){Z.event=t,O(Z)},Mt=function(t){return dt(t)||Vl(t,a)&&j(Z)};W=Z._dc=dl.delayedCall(l||.25,function(){Z._vx.reset(),Z._vy.reset(),W.pause(),u&&u(Z)}).pause(),Z.deltaX=Z.deltaY=0,Z._vx=Bl(0,50,!0),Z._vy=Bl(0,50,!0),Z.scrollX=tt,Z.scrollY=et,Z.isDragging=Z.isGesturing=Z.isPressed=!1,Tl(this),Z.enable=function(t){return Z.isEnabled||(Il(ot?st:i,"scroll",Rl),r.indexOf("scroll")>=0&&Il(ot?st:i,"scroll",bt,Q,F),r.indexOf("wheel")>=0&&Il(i,"wheel",wt,Q,F),(r.indexOf("touch")>=0&&gl||r.indexOf("pointer")>=0)&&(Il(i,Sl[0],_t,Q,F),Il(st,Sl[2],gt),Il(st,Sl[3],gt),H&&Il(i,"click",ct,!0,!0),j&&Il(i,"click",Mt),A&&Il(st,"gesturestart",vt),I&&Il(st,"gestureend",yt),C&&Il(i,vl+"enter",Tt),O&&Il(i,vl+"leave",Et),D&&Il(i,vl+"move",St)),Z.isEnabled=!0,t&&t.type&&_t(t),R&&R(Z)),Z},Z.disable=function(){Z.isEnabled&&(xl.filter(function(t){return t!==Z&&Al(t.target)}).length||Pl(ot?st:i,"scroll",Rl),Z.isPressed&&(Z._vx.reset(),Z._vy.reset(),Pl(L?i:st,Sl[1],mt,!0)),Pl(ot?st:i,"scroll",bt,F),Pl(i,"wheel",wt,F),Pl(i,Sl[0],_t,F),Pl(st,Sl[2],gt),Pl(st,Sl[3],gt),Pl(i,"click",ct,!0),Pl(i,"click",Mt),Pl(st,"gesturestart",vt),Pl(st,"gestureend",yt),Pl(i,vl+"enter",Tt),Pl(i,vl+"leave",Et),Pl(i,vl+"move",St),Z.isEnabled=Z.isPressed=Z.isDragging=!1,N&&N(Z))},Z.kill=Z.revert=function(){Z.disable();var t=xl.indexOf(Z);t>=0&&xl.splice(t,1),wl===Z&&(wl=0)},xl.push(Z),L&&Al(i)&&(wl=Z),Z.enable(h)},function(t,e,n){e&&w(t.prototype,e),n&&w(t,n)}(t,[{key:"velocityX",get:function(){return this._vx.getVelocity()}},{key:"velocityY",get:function(){return this._vy.getVelocity()}}]),t}();ql.version="3.12.5",ql.create=function(t){return new ql(t)},ql.register=Ul,ql.getAll=function(){return xl.slice()},ql.getById=function(t){return xl.filter(function(e){return e.vars.id===t})[0]},El()&&dl.registerPlugin(ql);var Gl,Xl,Kl,Zl,$l,Jl,Ql,tc,ec,nc=function(){return"undefined"!=typeof window},rc=function(){return Gl||nc()&&(Gl=window.gsap)&&Gl.registerPlugin&&Gl},ic=function(t){return"function"==typeof t},oc=function(t){return console.warn(t)},sc=[1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,0],ac=function(t){return ic(Zl[t])?Zl[t]:Zl.filters[t]},uc=function(t,e){var n,r,i=[],o=0;for(n=0;n<4;n++){for(r=0;r<5;r++)i[o+r]=t[o]*e[r]+t[o+1]*e[r+5]+t[o+2]*e[r+10]+t[o+3]*e[r+15]+(4===r?t[o+4]:0);o+=5}return i},lc=function(t,e){var n=1-e,r=.212671*n,i=.71516*n,o=.072169*n;return uc([r+e,i,o,0,0,r,i+e,o,0,0,r,i,o+e,0,0,0,0,0,1,0],t)},cc=function(t,e,n){var r=Xl(e),i=r[0]/255,o=r[1]/255,s=r[2]/255,a=1-n;return uc([a+n*i*.212671,n*i*.71516,n*i*.072169,0,0,n*o*.212671,a+n*o*.71516,n*o*.072169,0,0,n*s*.212671,n*s*.71516,a+n*s*.072169,0,0,0,0,0,1,0],t)},dc=function(t,e){e*=Math.PI/180;var n=Math.cos(e),r=Math.sin(e);return uc([.212671+.787329*n+-.212671*r,.71516+-.71516*n+-.71516*r,.072169+-.072169*n+.927831*r,0,0,.212671+-.212671*n+.143*r,.71516+.28484*n+.14*r,.072169+-.072169*n+-.283*r,0,0,.212671+-.212671*n+-.787329*r,.71516+-.71516*n+.71516*r,.072169+.927831*n+.072169*r,0,0,0,0,0,1,0,0,0,0,0,1],t)},hc=function(t,e){return uc([e,0,0,0,.5*(1-e),0,e,0,0,.5*(1-e),0,0,e,0,.5*(1-e),0,0,0,1,0],t)},fc=function(t,e){var n,r=ac(e),i=t.filters||[],o=i.length;for(r||oc(e+" not found. PixiPlugin.registerPIXI(PIXI)");--o>-1;)if(i[o]instanceof r)return i[o];return n=new r,"BlurFilter"===e&&(n.blur=0),i.push(n),t.filters=i,n},pc=function(t,e,n,r){e.add(n,t,n[t],r[t]),e._props.push(t)},mc=function(t,e){var n=new(ac("ColorMatrixFilter"));return n.matrix=e,n.brightness(t,!0),n.matrix},_c={contrast:1,saturation:1,colorizeAmount:0,colorize:"rgb(255,255,255)",hue:0,brightness:1},gc=function(t,e,n){var r,i,o,s=fc(t,"ColorMatrixFilter"),a=t._gsColorMatrixFilter=t._gsColorMatrixFilter||function(t){var e,n={};for(e in t)n[e]=t[e];return n}(_c),u=e.combineCMF&&!("colorMatrixFilter"in e&&!e.colorMatrixFilter);o=s.matrix,e.resolution&&(s.resolution=e.resolution),e.matrix&&e.matrix.length===o.length?(i=e.matrix,1!==a.contrast&&pc("contrast",n,a,_c),a.hue&&pc("hue",n,a,_c),1!==a.brightness&&pc("brightness",n,a,_c),a.colorizeAmount&&(pc("colorize",n,a,_c),pc("colorizeAmount",n,a,_c)),1!==a.saturation&&pc("saturation",n,a,_c)):(i=sc.slice(),null!=e.contrast?(i=hc(i,+e.contrast),pc("contrast",n,a,e)):1!==a.contrast&&(u?i=hc(i,a.contrast):pc("contrast",n,a,_c)),null!=e.hue?(i=dc(i,+e.hue),pc("hue",n,a,e)):a.hue&&(u?i=dc(i,a.hue):pc("hue",n,a,_c)),null!=e.brightness?(i=mc(+e.brightness,i),pc("brightness",n,a,e)):1!==a.brightness&&(u?i=mc(a.brightness,i):pc("brightness",n,a,_c)),null!=e.colorize?(e.colorizeAmount="colorizeAmount"in e?+e.colorizeAmount:1,i=cc(i,e.colorize,e.colorizeAmount),pc("colorize",n,a,e),pc("colorizeAmount",n,a,e)):a.colorizeAmount&&(u?i=cc(i,a.colorize,a.colorizeAmount):(pc("colorize",n,a,_c),pc("colorizeAmount",n,a,_c))),null!=e.saturation?(i=lc(i,+e.saturation),pc("saturation",n,a,e)):1!==a.saturation&&(u?i=lc(i,a.saturation):pc("saturation",n,a,_c))),r=i.length;for(;--r>-1;)i[r]!==o[r]&&n.add(o,r,o[r],i[r],"colorMatrixFilter");n._props.push("colorMatrixFilter")},vc=function(t,e){var n=e.color;(0,e.set)(e.t,e.p,n[0]<<16|n[1]<<8|n[2])},yc=function(t,e){var n=e.g;n&&(n.dirty++,n.clearDirty++)},bc=function(t,e){e.t.visible=!!e.t.alpha},wc=function(t,e,n,r){var i=t[e],o=Xl(ic(i)?t[e.indexOf("set")||!ic(t["get"+e.substr(3)])?e:"get"+e.substr(3)]():i),s=Xl(n);r._pt=new $l(r._pt,t,e,0,0,vc,{t:t,p:e,color:o,set:Jl(t,e)}),r.add(o,0,o[0],s[0]),r.add(o,1,o[1],s[1]),r.add(o,2,o[2],s[2])},Sc={tint:1,lineColor:1,fillColor:1},Tc="position,scale,skew,pivot,anchor,tilePosition,tileScale".split(","),Ec={x:"position",y:"position",tileX:"tilePosition",tileY:"tilePosition"},Mc={colorMatrixFilter:1,saturation:1,contrast:1,hue:1,colorize:1,colorizeAmount:1,brightness:1,combineCMF:1},xc=Math.PI/180,Cc=function(t){return"string"==typeof t},Oc=function(t){return Cc(t)&&"="===t.charAt(1)?t.substr(0,2)+parseFloat(t.substr(2))*xc:t*xc},Dc=function(t,e){return e.set(e.t,e.p,1===t?e.e:Math.round(1e5*(e.s+e.c*t))/1e5,e)},kc=function(t,e,n,r,i,o){var s,a,u=360*(o?xc:1),l=Cc(i),c=l&&"="===i.charAt(1)?+(i.charAt(0)+"1"):0,d=parseFloat(c?i.substr(2):i)*(o?xc:1),h=c?d*c:d-r,f=r+h;return l&&("short"===(s=i.split("_")[1])&&(h%=u)!==h%(u/2)&&(h+=h<0?u:-u),"cw"===s&&h<0?h=(h+1e10*u)%u-~~(h/u)*u:"ccw"===s&&h>0&&(h=(h-1e10*u)%u-~~(h/u)*u)),t._pt=a=new $l(t._pt,e,n,r,h,Dc),a.e=f,a},Lc=function(){Kl||(Gl=rc(),Zl=Kl=Zl||nc()&&window.PIXI,Ql=Zl&&Zl.VERSION&&"4"===Zl.VERSION.charAt(0),Xl=function(t){return Gl.utils.splitColor("0x"===(t+"").substr(0,2)?"#"+t.substr(2):t)})};for(tc=0;tc<Tc.length;tc++)Ec[(ec=Tc[tc])+"X"]=ec,Ec[ec+"Y"]=ec;var Ac={version:"3.12.5",name:"pixi",register:function(t,e,n){Gl=t,$l=n,Jl=e.getSetter,Lc()},headless:!0,registerPIXI:function(t){Zl=t},init:function(t,e,n,r,i){if(Zl||Lc(),!Zl)return oc("PIXI was not found. PixiPlugin.registerPIXI(PIXI);"),!1;var o,s,a,u,l,c,d,h,f;for(c in e){if(o=Ec[c],a=e[c],o)s=~c.charAt(c.length-1).toLowerCase().indexOf("x")?"x":"y",this.add(t[o],s,t[o][s],"skew"===o?Oc(a):a,0,0,0,0,0,1);else if("scale"===c||"anchor"===c||"pivot"===c||"tileScale"===c)this.add(t[c],"x",t[c].x,a),this.add(t[c],"y",t[c].y,a);else if("rotation"===c||"angle"===c)kc(this,t,c,t[c],a,"rotation"===c);else if(Mc[c])u||(gc(t,e.colorMatrixFilter||e,this),u=!0);else if("blur"===c||"blurX"===c||"blurY"===c||"blurPadding"===c){if(l=fc(t,"BlurFilter"),this.add(l,c,l[c],a),0!==e.blurPadding)for(d=e.blurPadding||2*Math.max(l[c],a),h=t.filters.length;--h>-1;)t.filters[h].padding=Math.max(t.filters[h].padding,d)}else if(Sc[c])if(("lineColor"===c||"fillColor"===c)&&t instanceof Zl.Graphics)for(f=(t.geometry||t).graphicsData,this._pt=new $l(this._pt,t,c,0,0,yc,{g:t.geometry||t}),h=f.length;--h>-1;)wc(Ql?f[h]:f[h][c.substr(0,4)+"Style"],Ql?c:"color",a,this);else wc(t,c,a,this);else"autoAlpha"===c?(this._pt=new $l(this._pt,t,"visible",0,0,bc),this.add(t,"alpha",t.alpha,a),this._props.push("alpha","visible")):"resolution"!==c&&this.add(t,c,"get",a);this._props.push(c)}}};rc()&&Gl.registerPlugin(Ac);var Ic,Pc,Rc,Nc,jc,Yc,Fc,Hc,Bc=function(){return"undefined"!=typeof window},Vc=function(){return Ic||Bc()&&(Ic=window.gsap)&&Ic.registerPlugin&&Ic},zc=function(t){return"string"==typeof t},Wc=function(t){return"function"==typeof t},Uc=function(t,e){var n="x"===e?"Width":"Height",r="scroll"+n,i="client"+n;return t===Rc||t===Nc||t===jc?Math.max(Nc[r],jc[r])-(Rc["inner"+n]||Nc[i]||jc[i]):t[r]-t["offset"+n]},qc=function(t,e){var n="scroll"+("x"===e?"Left":"Top");return t===Rc&&(null!=t.pageXOffset?n="page"+e.toUpperCase()+"Offset":t=null!=Nc[n]?Nc:jc),function(){return t[n]}},Gc=function(t,e){if(!(t=Yc(t)[0])||!t.getBoundingClientRect)return console.warn("scrollTo target doesn't exist. Using 0")||{x:0,y:0};var n=t.getBoundingClientRect(),r=!e||e===Rc||e===jc,i=r?{top:Nc.clientTop-(Rc.pageYOffset||Nc.scrollTop||jc.scrollTop||0),left:Nc.clientLeft-(Rc.pageXOffset||Nc.scrollLeft||jc.scrollLeft||0)}:e.getBoundingClientRect(),o={x:n.left-i.left,y:n.top-i.top};return!r&&e&&(o.x+=qc(e,"x")(),o.y+=qc(e,"y")()),o},Xc=function(t,e,n,r,i){return isNaN(t)||"object"==typeof t?zc(t)&&"="===t.charAt(1)?parseFloat(t.substr(2))*("-"===t.charAt(0)?-1:1)+r-i:"max"===t?Uc(e,n)-i:Math.min(Uc(e,n),Gc(t,e)[n]-i):parseFloat(t)-i},Kc=function(){Ic=Vc(),Bc()&&Ic&&"undefined"!=typeof document&&document.body&&(Rc=window,jc=document.body,Nc=document.documentElement,Yc=Ic.utils.toArray,Ic.config({autoKillThreshold:7}),Fc=Ic.config(),Pc=1)},Zc={version:"3.12.5",name:"scrollTo",rawVars:1,register:function(t){Ic=t,Kc()},init:function(t,e,n,r,i){Pc||Kc();var o=Ic.getProperty(t,"scrollSnapType");this.isWin=t===Rc,this.target=t,this.tween=n,e=function(t,e,n,r){if(Wc(t)&&(t=t(e,n,r)),"object"!=typeof t)return zc(t)&&"max"!==t&&"="!==t.charAt(1)?{x:t,y:t}:{y:t};if(t.nodeType)return{y:t,x:t};var i,o={};for(i in t)o[i]="onAutoKill"!==i&&Wc(t[i])?t[i](e,n,r):t[i];return o}(e,r,t,i),this.vars=e,this.autoKill=!!e.autoKill,this.getX=qc(t,"x"),this.getY=qc(t,"y"),this.x=this.xPrev=this.getX(),this.y=this.yPrev=this.getY(),Hc||(Hc=Ic.core.globals().ScrollTrigger),"smooth"===Ic.getProperty(t,"scrollBehavior")&&Ic.set(t,{scrollBehavior:"auto"}),o&&"none"!==o&&(this.snap=1,this.snapInline=t.style.scrollSnapType,t.style.scrollSnapType="none"),null!=e.x?(this.add(this,"x",this.x,Xc(e.x,t,"x",this.x,e.offsetX||0),r,i),this._props.push("scrollTo_x")):this.skipX=1,null!=e.y?(this.add(this,"y",this.y,Xc(e.y,t,"y",this.y,e.offsetY||0),r,i),this._props.push("scrollTo_y")):this.skipY=1},render:function(t,e){for(var n,r,i,o,s,a=e._pt,u=e.target,l=e.tween,c=e.autoKill,d=e.xPrev,h=e.yPrev,f=e.isWin,p=e.snap,m=e.snapInline;a;)a.r(t,a.d),a=a._next;n=f||!e.skipX?e.getX():d,i=(r=f||!e.skipY?e.getY():h)-h,o=n-d,s=Fc.autoKillThreshold,e.x<0&&(e.x=0),e.y<0&&(e.y=0),c&&(!e.skipX&&(o>s||o<-s)&&n<Uc(u,"x")&&(e.skipX=1),!e.skipY&&(i>s||i<-s)&&r<Uc(u,"y")&&(e.skipY=1),e.skipX&&e.skipY&&(l.kill(),e.vars.onAutoKill&&e.vars.onAutoKill.apply(l,e.vars.onAutoKillParams||[]))),f?Rc.scrollTo(e.skipX?n:e.x,e.skipY?r:e.y):(e.skipY||(u.scrollTop=e.y),e.skipX||(u.scrollLeft=e.x)),!p||1!==t&&0!==t||(r=u.scrollTop,n=u.scrollLeft,m?u.style.scrollSnapType=m:u.style.removeProperty("scroll-snap-type"),u.scrollTop=r+1,u.scrollLeft=n+1,u.scrollTop=r,u.scrollLeft=n),e.xPrev=e.x,e.yPrev=e.y,Hc&&Hc.update()},kill:function(t){var e="scrollTo"===t,n=this._props.indexOf(t);return(e||"scrollTo_x"===t)&&(this.skipX=1),(e||"scrollTo_y"===t)&&(this.skipY=1),n>-1&&this._props.splice(n,1),!this._props.length}};Zc.max=Uc,Zc.getOffset=Gc,Zc.buildGetter=qc,Vc()&&Ic.registerPlugin(Zc);var $c,Jc,Qc,td,ed,nd,rd,id,od,sd,ad,ud,ld,cd,dd,hd,fd,pd,md,_d,gd,vd,yd,bd,wd,Sd,Td,Ed,Md,xd,Cd,Od,Dd,kd,Ld,Ad,Id,Pd,Rd=1,Nd=Date.now,jd=Nd(),Yd=0,Fd=0,Hd=function(t,e,n){var r=Qd(t)&&("clamp("===t.substr(0,6)||t.indexOf("max")>-1);return n["_"+e+"Clamp"]=r,r?t.substr(6,t.length-7):t},Bd=function(t,e){return!e||Qd(t)&&"clamp("===t.substr(0,6)?t:"clamp("+t+")"},Vd=function(){return cd=1},zd=function(){return cd=0},Wd=function(t){return t},Ud=function(t){return Math.round(1e5*t)/1e5||0},qd=function(){return"undefined"!=typeof window},Gd=function(){return $c||qd()&&($c=window.gsap)&&$c.registerPlugin&&$c},Xd=function(t){return!!~rd.indexOf(t)},Kd=function(t){return("Height"===t?Cd:Qc["inner"+t])||ed["client"+t]||nd["client"+t]},Zd=function(t){return Ll(t,"getBoundingClientRect")||(Xd(t)?function(){return Zh.width=Qc.innerWidth,Zh.height=Cd,Zh}:function(){return lh(t)})},$d=function(t,e){var n=e.s,r=e.d2,i=e.d,o=e.a;return Math.max(0,(n="scroll"+r)&&(o=Ll(t,n))?o()-Zd(t)()[i]:Xd(t)?(ed[n]||nd[n])-Kd(r):t[n]-t["offset"+r])},Jd=function(t,e){for(var n=0;n<md.length;n+=3)(!e||~e.indexOf(md[n+1]))&&t(md[n],md[n+1],md[n+2])},Qd=function(t){return"string"==typeof t},th=function(t){return"function"==typeof t},eh=function(t){return"number"==typeof t},nh=function(t){return"object"==typeof t},rh=function(t,e,n){return t&&t.progress(e?0:1)&&n&&t.pause()},ih=function(t,e){if(t.enabled){var n=t._ctx?t._ctx.add(function(){return e(t)}):e(t);n&&n.totalTime&&(t.callbackAnimation=n)}},oh=Math.abs,sh="padding",ah=function(t){return Qc.getComputedStyle(t)},uh=function(t,e){for(var n in e)n in t||(t[n]=e[n]);return t},lh=function(t,e){var n=e&&"matrix(1, 0, 0, 1, 0, 0)"!==ah(t)[dd]&&$c.to(t,{x:0,y:0,xPercent:0,yPercent:0,rotation:0,rotationX:0,rotationY:0,scale:1,skewX:0,skewY:0}).progress(1),r=t.getBoundingClientRect();return n&&n.progress(0).kill(),r},ch=function(t,e){var n=e.d2;return t["offset"+n]||t["client"+n]||0},dh=function(t){var e,n=[],r=t.labels,i=t.duration();for(e in r)n.push(r[e]/i);return n},hh=function(t){var e=$c.utils.snap(t),n=Array.isArray(t)&&t.slice(0).sort(function(t,e){return t-e});return n?function(t,r,i){void 0===i&&(i=.001);var o;if(!r)return e(t);if(r>0){for(t-=i,o=0;o<n.length;o++)if(n[o]>=t)return n[o];return n[o-1]}for(o=n.length,t+=i;o--;)if(n[o]<=t)return n[o];return n[0]}:function(n,r,i){void 0===i&&(i=.001);var o=e(n);return!r||Math.abs(o-n)<i||o-n<0==r<0?o:e(r<0?n-t:n+t)}},fh=function(t,e,n,r){return n.split(",").forEach(function(n){return t(e,n,r)})},ph=function(t,e,n,r,i){return t.addEventListener(e,n,{passive:!r,capture:!!i})},mh=function(t,e,n,r){return t.removeEventListener(e,n,!!r)},_h=function(t,e,n){(n=n&&n.wheelHandler)&&(t(e,"wheel",n),t(e,"touchmove",n))},gh={startColor:"green",endColor:"red",indent:0,fontSize:"16px",fontWeight:"normal"},vh={toggleActions:"play",anticipatePin:0},yh={top:0,left:0,center:.5,bottom:1,right:1},bh=function(t,e){if(Qd(t)){var n=t.indexOf("="),r=~n?+(t.charAt(n-1)+1)*parseFloat(t.substr(n+1)):0;~n&&(t.indexOf("%")>n&&(r*=e/100),t=t.substr(0,n-1)),t=r+(t in yh?yh[t]*e:~t.indexOf("%")?parseFloat(t)*e/100:parseFloat(t)||0)}return t},wh=function(t,e,n,r,i,o,s,a){var u=i.startColor,l=i.endColor,c=i.fontSize,d=i.indent,h=i.fontWeight,f=td.createElement("div"),p=Xd(n)||"fixed"===Ll(n,"pinType"),m=-1!==t.indexOf("scroller"),_=p?nd:n,g=-1!==t.indexOf("start"),v=g?u:l,y="border-color:"+v+";font-size:"+c+";color:"+v+";font-weight:"+h+";pointer-events:none;white-space:nowrap;font-family:sans-serif,Arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;";return y+="position:"+((m||a)&&p?"fixed;":"absolute;"),(m||a||!p)&&(y+=(r===Yl?"right":"bottom")+":"+(o+parseFloat(d))+"px;"),s&&(y+="box-sizing:border-box;text-align:left;width:"+s.offsetWidth+"px;"),f._isStart=g,f.setAttribute("class","gsap-marker-"+t+(e?" marker-"+e:"")),f.style.cssText=y,f.innerText=e||0===e?t+"-"+e:t,_.children[0]?_.insertBefore(f,_.children[0]):_.appendChild(f),f._offset=f["offset"+r.op.d2],Sh(f,0,r,g),f},Sh=function(t,e,n,r){var i={display:"block"},o=n[r?"os2":"p2"],s=n[r?"p2":"os2"];t._isFlipped=r,i[n.a+"Percent"]=r?-100:0,i[n.a]=r?"1px":0,i["border"+o+"Width"]=1,i["border"+s+"Width"]=0,i[n.p]=e+"px",$c.set(t,i)},Th=[],Eh={},Mh=function(){return Nd()-Yd>34&&(Ld||(Ld=requestAnimationFrame(zh)))},xh=function(){(!yd||!yd.isPressed||yd.startX>nd.clientWidth)&&(Cl.cache++,yd?Ld||(Ld=requestAnimationFrame(zh)):zh(),Yd||Ah("scrollStart"),Yd=Nd())},Ch=function(){Sd=Qc.innerWidth,wd=Qc.innerHeight},Oh=function(){Cl.cache++,!ld&&!vd&&!td.fullscreenElement&&!td.webkitFullscreenElement&&(!bd||Sd!==Qc.innerWidth||Math.abs(Qc.innerHeight-wd)>.25*Qc.innerHeight)&&id.restart(!0)},Dh={},kh=[],Lh=function t(){return mh(rf,"scrollEnd",t)||Hh(!0)},Ah=function(t){return Dh[t]&&Dh[t].map(function(t){return t()})||kh},Ih=[],Ph=function(t){for(var e=0;e<Ih.length;e+=5)(!t||Ih[e+4]&&Ih[e+4].query===t)&&(Ih[e].style.cssText=Ih[e+1],Ih[e].getBBox&&Ih[e].setAttribute("transform",Ih[e+2]||""),Ih[e+3].uncache=1)},Rh=function(t,e){var n;for(hd=0;hd<Th.length;hd++)!(n=Th[hd])||e&&n._ctx!==e||(t?n.kill(1):n.revert(!0,!0));Od=!0,e&&Ph(e),e||Ah("revert")},Nh=function(t,e){Cl.cache++,(e||!Ad)&&Cl.forEach(function(t){return th(t)&&t.cacheID++&&(t.rec=0)}),Qd(t)&&(Qc.history.scrollRestoration=Md=t)},jh=0,Yh=function(){nd.appendChild(xd),Cd=!yd&&xd.offsetHeight||Qc.innerHeight,nd.removeChild(xd)},Fh=function(t){return od(".gsap-marker-start, .gsap-marker-end, .gsap-marker-scroller-start, .gsap-marker-scroller-end").forEach(function(e){return e.style.display=t?"none":"block"})},Hh=function(t,e){if(!Yd||t||Od){Yh(),Ad=rf.isRefreshing=!0,Cl.forEach(function(t){return th(t)&&++t.cacheID&&(t.rec=t())});var n=Ah("refreshInit");_d&&rf.sort(),e||Rh(),Cl.forEach(function(t){th(t)&&(t.smooth&&(t.target.style.scrollBehavior="auto"),t(0))}),Th.slice(0).forEach(function(t){return t.refresh()}),Od=!1,Th.forEach(function(t){if(t._subPinOffset&&t.pin){var e=t.vars.horizontal?"offsetWidth":"offsetHeight",n=t.pin[e];t.revert(!0,1),t.adjustPinSpacing(t.pin[e]-n),t.refresh()}}),Dd=1,Fh(!0),Th.forEach(function(t){var e=$d(t.scroller,t._dir),n="max"===t.vars.end||t._endClamp&&t.end>e,r=t._startClamp&&t.start>=e;(n||r)&&t.setPositions(r?e-1:t.start,n?Math.max(r?e:t.start+1,e):t.end,!0)}),Fh(!1),Dd=0,n.forEach(function(t){return t&&t.render&&t.render(-1)}),Cl.forEach(function(t){th(t)&&(t.smooth&&requestAnimationFrame(function(){return t.target.style.scrollBehavior="smooth"}),t.rec&&t(t.rec))}),Nh(Md,1),id.pause(),jh++,Ad=2,zh(2),Th.forEach(function(t){return th(t.vars.onRefresh)&&t.vars.onRefresh(t)}),Ad=rf.isRefreshing=!1,Ah("refresh")}else ph(rf,"scrollEnd",Lh)},Bh=0,Vh=1,zh=function(t){if(2===t||!Ad&&!Od){rf.isUpdating=!0,Pd&&Pd.update(0);var e=Th.length,n=Nd(),r=n-jd>=50,i=e&&Th[0].scroll();if(Vh=Bh>i?-1:1,Ad||(Bh=i),r&&(Yd&&!cd&&n-Yd>200&&(Yd=0,Ah("scrollEnd")),ad=jd,jd=n),Vh<0){for(hd=e;hd-- >0;)Th[hd]&&Th[hd].update(0,r);Vh=1}else for(hd=0;hd<e;hd++)Th[hd]&&Th[hd].update(0,r);rf.isUpdating=!1}Ld=0},Wh=["left","top","bottom","right","marginBottom","marginRight","marginTop","marginLeft","display","flexShrink","float","zIndex","gridColumnStart","gridColumnEnd","gridRowStart","gridRowEnd","gridArea","justifySelf","alignSelf","placeSelf","order"],Uh=Wh.concat(["width","height","boxSizing","maxWidth","maxHeight","position","margin",sh,"paddingTop","paddingRight","paddingBottom","paddingLeft"]),qh=function(t,e,n,r){if(!t._gsap.swappedIn){for(var i,o=Wh.length,s=e.style,a=t.style;o--;)s[i=Wh[o]]=n[i];s.position="absolute"===n.position?"absolute":"relative","inline"===n.display&&(s.display="inline-block"),a.bottom=a.right="auto",s.flexBasis=n.flexBasis||"auto",s.overflow="visible",s.boxSizing="border-box",s.width=ch(t,jl)+"px",s.height=ch(t,Yl)+"px",s.padding=a.margin=a.top=a.left="0",Xh(r),a.width=a.maxWidth=n.width,a.height=a.maxHeight=n.height,a.padding=n.padding,t.parentNode!==e&&(t.parentNode.insertBefore(e,t),e.appendChild(t)),t._gsap.swappedIn=!0}},Gh=/([A-Z])/g,Xh=function(t){if(t){var e,n,r=t.t.style,i=t.length,o=0;for((t.t._gsap||$c.core.getCache(t.t)).uncache=1;o<i;o+=2)e=t[o],(n=t[o+1])?r[e]=n:r[e]&&r.removeProperty(e.replace(Gh,"-$1").toLowerCase())}},Kh=function(t){for(var e=Uh.length,n=t.style,r=[],i=0;i<e;i++)r.push(Uh[i],n[Uh[i]]);return r.t=t,r},Zh={left:0,top:0},$h=function(t,e,n,r,i,o,s,a,u,l,c,d,h,f){th(t)&&(t=t(a)),Qd(t)&&"max"===t.substr(0,3)&&(t=d+("="===t.charAt(4)?bh("0"+t.substr(3),n):0));var p,m,_,g=h?h.time():0;if(h&&h.seek(0),isNaN(t)||(t=+t),eh(t))h&&(t=$c.utils.mapRange(h.scrollTrigger.start,h.scrollTrigger.end,0,d,t)),s&&Sh(s,n,r,!0);else{th(e)&&(e=e(a));var v,y,b,w,S=(t||"0").split(" ");_=Fl(e,a)||nd,(v=lh(_)||{})&&(v.left||v.top)||"none"!==ah(_).display||(w=_.style.display,_.style.display="block",v=lh(_),w?_.style.display=w:_.style.removeProperty("display")),y=bh(S[0],v[r.d]),b=bh(S[1]||"0",n),t=v[r.p]-u[r.p]-l+y+i-b,s&&Sh(s,b,r,n-b<20||s._isStart&&b>20),n-=n-b}if(f&&(a[f]=t||-.001,t<0&&(t=0)),o){var T=t+n,E=o._isStart;p="scroll"+r.d2,Sh(o,T,r,E&&T>20||!E&&(c?Math.max(nd[p],ed[p]):o.parentNode[p])<=T+1),c&&(u=lh(s),c&&(o.style[r.op.p]=u[r.op.p]-r.op.m-o._offset+"px"))}return h&&_&&(p=lh(_),h.seek(d),m=lh(_),h._caScrollDist=p[r.p]-m[r.p],t=t/h._caScrollDist*d),h&&h.seek(g),h?t:Math.round(t)},Jh=/(webkit|moz|length|cssText|inset)/i,Qh=function(t,e,n,r){if(t.parentNode!==e){var i,o,s=t.style;if(e===nd){t._stOrig=s.cssText,o=ah(t);for(i in o)+i||Jh.test(i)||!o[i]||"string"!=typeof s[i]||"0"===i||(s[i]=o[i]);s.top=n,s.left=r}else s.cssText=t._stOrig;$c.core.getCache(t).uncache=1,e.appendChild(t)}},tf=function(t,e,n){var r=e,i=r;return function(e){var o=Math.round(t());return o!==r&&o!==i&&Math.abs(o-r)>3&&Math.abs(o-i)>3&&(e=o,n&&n()),i=r,r=e,e}},ef=function(t,e,n){var r={};r[e.p]="+="+n,$c.set(t,r)},nf=function(t,e){var n=Hl(t,e),r="_scroll"+e.p2,i=function e(i,o,s,a,u){var l=e.tween,c=o.onComplete,d={};s=s||n();var h=tf(n,s,function(){l.kill(),e.tween=0});return u=a&&u||0,a=a||i-s,l&&l.kill(),o[r]=i,o.inherit=!1,o.modifiers=d,d[r]=function(){return h(s+a*l.ratio+u*l.ratio*l.ratio)},o.onUpdate=function(){Cl.cache++,e.tween&&zh()},o.onComplete=function(){e.tween=0,c&&c.call(l)},l=e.tween=$c.to(t,o)};return t[r]=n,n.wheelHandler=function(){return i.tween&&i.tween.kill()&&(i.tween=0)},ph(t,"wheel",n.wheelHandler),rf.isTouch&&ph(t,"touchmove",n.wheelHandler),i},rf=function(){function t(e,n){Jc||t.register($c)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"),Ed(this),this.init(e,n)}return t.prototype.init=function(e,n){if(this.progress=this.start=0,this.vars&&this.kill(!0,!0),Fd){e=uh(Qd(e)||eh(e)||e.nodeType?{trigger:e}:e,vh);var r,i,o,s,a,u,l,c,d,h,f,p,m,_,g,v,y,b,w,S,T,E,M,x,C,O,D,k,L,A,I,P,R,N,j,Y,F,H,B,V=e.onUpdate,z=e.toggleClass,W=e.id,U=e.onToggle,q=e.onRefresh,G=e.scrub,X=e.trigger,K=e.pin,Z=e.pinSpacing,$=e.invalidateOnRefresh,J=e.anticipatePin,Q=e.onScrubComplete,tt=e.onSnapComplete,et=e.once,nt=e.snap,rt=e.pinReparent,it=e.pinSpacer,ot=e.containerAnimation,st=e.fastScrollEnd,at=e.preventOverlaps,ut=e.horizontal||e.containerAnimation&&!1!==e.horizontal?jl:Yl,lt=!G&&0!==G,ct=Fl(e.scroller||Qc),dt=$c.core.getCache(ct),ht=Xd(ct),ft="fixed"===("pinType"in e?e.pinType:Ll(ct,"pinType")||ht&&"fixed"),pt=[e.onEnter,e.onLeave,e.onEnterBack,e.onLeaveBack],mt=lt&&e.toggleActions.split(" "),_t="markers"in e?e.markers:vh.markers,gt=ht?0:parseFloat(ah(ct)["border"+ut.p2+"Width"])||0,vt=this,yt=e.onRefreshInit&&function(){return e.onRefreshInit(vt)},bt=function(t,e,n){var r=n.d,i=n.d2,o=n.a;return(o=Ll(t,"getBoundingClientRect"))?function(){return o()[r]}:function(){return(e?Kd(i):t["client"+i])||0}}(ct,ht,ut),wt=function(t,e){return!e||~Ol.indexOf(t)?Zd(t):function(){return Zh}}(ct,ht),St=0,Tt=0,Et=0,Mt=Hl(ct,ut);if(vt._startClamp=vt._endClamp=!1,vt._dir=ut,J*=45,vt.scroller=ct,vt.scroll=ot?ot.time.bind(ot):Mt,s=Mt(),vt.vars=e,n=n||e.animation,"refreshPriority"in e&&(_d=1,-9999===e.refreshPriority&&(Pd=vt)),dt.tweenScroll=dt.tweenScroll||{top:nf(ct,Yl),left:nf(ct,jl)},vt.tweenTo=r=dt.tweenScroll[ut.p],vt.scrubDuration=function(t){(R=eh(t)&&t)?P?P.duration(t):P=$c.to(n,{ease:"expo",totalProgress:"+=0",inherit:!1,duration:R,paused:!0,onComplete:function(){return Q&&Q(vt)}}):(P&&P.progress(1).kill(),P=0)},n&&(n.vars.lazy=!1,n._initted&&!vt.isReverted||!1!==n.vars.immediateRender&&!1!==e.immediateRender&&n.duration()&&n.render(0,!0,!0),vt.animation=n.pause(),n.scrollTrigger=vt,vt.scrubDuration(G),A=0,W||(W=n.vars.id)),nt&&(nh(nt)&&!nt.push||(nt={snapTo:nt}),"scrollBehavior"in nd.style&&$c.set(ht?[nd,ed]:ct,{scrollBehavior:"auto"}),Cl.forEach(function(t){return th(t)&&t.target===(ht?td.scrollingElement||ed:ct)&&(t.smooth=!1)}),o=th(nt.snapTo)?nt.snapTo:"labels"===nt.snapTo?function(t){return function(e){return $c.utils.snap(dh(t),e)}}(n):"labelsDirectional"===nt.snapTo?function(t){return function(e,n){return hh(dh(t))(e,n.direction)}}(n):!1!==nt.directional?function(t,e){return hh(nt.snapTo)(t,Nd()-Tt<500?0:e.direction)}:$c.utils.snap(nt.snapTo),N=nh(N=nt.duration||{min:.1,max:2})?sd(N.min,N.max):sd(N,N),j=$c.delayedCall(nt.delay||R/2||.1,function(){var t=Mt(),e=Nd()-Tt<500,i=r.tween;if(!(e||Math.abs(vt.getVelocity())<10)||i||cd||St===t)vt.isActive&&St!==t&&j.restart(!0);else{var s,a,c=(t-u)/_,d=n&&!lt?n.totalProgress():c,h=e?0:(d-I)/(Nd()-ad)*1e3||0,f=$c.utils.clamp(-c,1-c,oh(h/2)*h/.185),p=c+(!1===nt.inertia?0:f),m=nt.onStart,g=nt.onInterrupt,v=nt.onComplete;if(s=o(p,vt),eh(s)||(s=p),a=Math.round(u+s*_),t<=l&&t>=u&&a!==t){if(i&&!i._initted&&i.data<=oh(a-t))return;!1===nt.inertia&&(f=s-c),r(a,{duration:N(oh(.185*Math.max(oh(p-d),oh(s-d))/h/.05||0)),ease:nt.ease||"power3",data:oh(a-t),onInterrupt:function(){return j.restart(!0)&&g&&g(vt)},onComplete:function(){vt.update(),St=Mt(),n&&(P?P.resetTo("totalProgress",s,n._tTime/n._tDur):n.progress(s)),A=I=n&&!lt?n.totalProgress():vt.progress,tt&&tt(vt),v&&v(vt)}},t,f*_,a-t-f*_),m&&m(vt,r.tween)}}}).pause()),W&&(Eh[W]=vt),X=vt.trigger=Fl(X||!0!==K&&K),(B=X&&X._gsap&&X._gsap.stRevert)&&(B=B(vt)),K=!0===K?X:Fl(K),Qd(z)&&(z={targets:X,className:z}),K&&(!1===Z||"margin"===Z||(Z=!(!Z&&K.parentNode&&K.parentNode.style&&"flex"===ah(K.parentNode).display)&&sh),vt.pin=K,(i=$c.core.getCache(K)).spacer?g=i.pinState:(it&&((it=Fl(it))&&!it.nodeType&&(it=it.current||it.nativeElement),i.spacerIsNative=!!it,it&&(i.spacerState=Kh(it))),i.spacer=b=it||td.createElement("div"),b.classList.add("pin-spacer"),W&&b.classList.add("pin-spacer-"+W),i.pinState=g=Kh(K)),!1!==e.force3D&&$c.set(K,{force3D:!0}),vt.spacer=b=i.spacer,L=ah(K),x=L[Z+ut.os2],S=$c.getProperty(K),T=$c.quickSetter(K,ut.a,"px"),qh(K,b,L),y=Kh(K)),_t){p=nh(_t)?uh(_t,gh):gh,h=wh("scroller-start",W,ct,ut,p,0),f=wh("scroller-end",W,ct,ut,p,0,h),w=h["offset"+ut.op.d2];var xt=Fl(Ll(ct,"content")||ct);c=this.markerStart=wh("start",W,xt,ut,p,w,0,ot),d=this.markerEnd=wh("end",W,xt,ut,p,w,0,ot),ot&&(H=$c.quickSetter([c,d],ut.a,"px")),ft||Ol.length&&!0===Ll(ct,"fixedMarkers")||(!function(t){var e=ah(t).position;t.style.position="absolute"===e||"fixed"===e?e:"relative"}(ht?nd:ct),$c.set([h,f],{force3D:!0}),O=$c.quickSetter(h,ut.a,"px"),k=$c.quickSetter(f,ut.a,"px"))}if(ot){var Ct=ot.vars.onUpdate,Ot=ot.vars.onUpdateParams;ot.eventCallback("onUpdate",function(){vt.update(0,0,1),Ct&&Ct.apply(ot,Ot||[])})}if(vt.previous=function(){return Th[Th.indexOf(vt)-1]},vt.next=function(){return Th[Th.indexOf(vt)+1]},vt.revert=function(t,e){if(!e)return vt.kill(!0);var r=!1!==t||!vt.enabled,i=ld;r!==vt.isReverted&&(r&&(Y=Math.max(Mt(),vt.scroll.rec||0),Et=vt.progress,F=n&&n.progress()),c&&[c,d,h,f].forEach(function(t){return t.style.display=r?"none":"block"}),r&&(ld=vt,vt.update(r)),!K||rt&&vt.isActive||(r?function(t,e,n){Xh(n);var r=t._gsap;if(r.spacerIsNative)Xh(r.spacerState);else if(t._gsap.swappedIn){var i=e.parentNode;i&&(i.insertBefore(t,e),i.removeChild(e))}t._gsap.swappedIn=!1}(K,b,g):qh(K,b,ah(K),C)),r||vt.update(r),ld=i,vt.isReverted=r)},vt.refresh=function(i,o,p,w){if(!ld&&vt.enabled||o)if(K&&i&&Yd)ph(t,"scrollEnd",Lh);else{!Ad&&yt&&yt(vt),ld=vt,r.tween&&!p&&(r.tween.kill(),r.tween=0),P&&P.pause(),$&&n&&n.revert({kill:!1}).invalidate(),vt.isReverted||vt.revert(!0,!0),vt._subPinOffset=!1;var T,x,O,k,L,A,I,R,N,H,B,V,z,W=bt(),U=wt(),G=ot?ot.duration():$d(ct,ut),J=_<=.01,Q=0,tt=w||0,et=nh(p)?p.end:e.end,nt=e.endTrigger||X,it=nh(p)?p.start:e.start||(0!==e.start&&X?K?"0 0":"0 100%":0),st=vt.pinnedContainer=e.pinnedContainer&&Fl(e.pinnedContainer,vt),at=X&&Math.max(0,Th.indexOf(vt))||0,dt=at;for(_t&&nh(p)&&(V=$c.getProperty(h,ut.p),z=$c.getProperty(f,ut.p));dt--;)(A=Th[dt]).end||A.refresh(0,1)||(ld=vt),!(I=A.pin)||I!==X&&I!==K&&I!==st||A.isReverted||(H||(H=[]),H.unshift(A),A.revert(!0,!0)),A!==Th[dt]&&(at--,dt--);for(th(it)&&(it=it(vt)),it=Hd(it,"start",vt),u=$h(it,X,W,ut,Mt(),c,h,vt,U,gt,ft,G,ot,vt._startClamp&&"_startClamp")||(K?-.001:0),th(et)&&(et=et(vt)),Qd(et)&&!et.indexOf("+=")&&(~et.indexOf(" ")?et=(Qd(it)?it.split(" ")[0]:"")+et:(Q=bh(et.substr(2),W),et=Qd(it)?it:(ot?$c.utils.mapRange(0,ot.duration(),ot.scrollTrigger.start,ot.scrollTrigger.end,u):u)+Q,nt=X)),et=Hd(et,"end",vt),l=Math.max(u,$h(et||(nt?"100% 0":G),nt,W,ut,Mt()+Q,d,f,vt,U,gt,ft,G,ot,vt._endClamp&&"_endClamp"))||-.001,Q=0,dt=at;dt--;)(I=(A=Th[dt]).pin)&&A.start-A._pinPush<=u&&!ot&&A.end>0&&(T=A.end-(vt._startClamp?Math.max(0,A.start):A.start),(I===X&&A.start-A._pinPush<u||I===st)&&isNaN(it)&&(Q+=T*(1-A.progress)),I===K&&(tt+=T));if(u+=Q,l+=Q,vt._startClamp&&(vt._startClamp+=Q),vt._endClamp&&!Ad&&(vt._endClamp=l||-.001,l=Math.min(l,$d(ct,ut))),_=l-u||(u-=.01)&&.001,J&&(Et=$c.utils.clamp(0,1,$c.utils.normalize(u,l,Y))),vt._pinPush=tt,c&&Q&&((T={})[ut.a]="+="+Q,st&&(T[ut.p]="-="+Mt()),$c.set([c,d],T)),!K||Dd&&vt.end>=$d(ct,ut)){if(X&&Mt()&&!ot)for(x=X.parentNode;x&&x!==nd;)x._pinOffset&&(u-=x._pinOffset,l-=x._pinOffset),x=x.parentNode}else T=ah(K),k=ut===Yl,O=Mt(),E=parseFloat(S(ut.a))+tt,!G&&l>1&&(B={style:B=(ht?td.scrollingElement||ed:ct).style,value:B["overflow"+ut.a.toUpperCase()]},ht&&"scroll"!==ah(nd)["overflow"+ut.a.toUpperCase()]&&(B.style["overflow"+ut.a.toUpperCase()]="scroll")),qh(K,b,T),y=Kh(K),x=lh(K,!0),R=ft&&Hl(ct,k?jl:Yl)(),Z?((C=[Z+ut.os2,_+tt+"px"]).t=b,(dt=Z===sh?ch(K,ut)+_+tt:0)&&(C.push(ut.d,dt+"px"),"auto"!==b.style.flexBasis&&(b.style.flexBasis=dt+"px")),Xh(C),st&&Th.forEach(function(t){t.pin===st&&!1!==t.vars.pinSpacing&&(t._subPinOffset=!0)}),ft&&Mt(Y)):(dt=ch(K,ut))&&"auto"!==b.style.flexBasis&&(b.style.flexBasis=dt+"px"),ft&&((L={top:x.top+(k?O-u:R)+"px",left:x.left+(k?R:O-u)+"px",boxSizing:"border-box",position:"fixed"}).width=L.maxWidth=Math.ceil(x.width)+"px",L.height=L.maxHeight=Math.ceil(x.height)+"px",L.margin=L.marginTop=L.marginRight=L.marginBottom=L.marginLeft="0",L.padding=T.padding,L.paddingTop=T.paddingTop,L.paddingRight=T.paddingRight,L.paddingBottom=T.paddingBottom,L.paddingLeft=T.paddingLeft,v=function(t,e,n){for(var r,i=[],o=t.length,s=n?8:0;s<o;s+=2)i.push(r=t[s],r in e?e[r]:t[s+1]);return i.t=t.t,i}(g,L,rt),Ad&&Mt(0)),n?(N=n._initted,gd(1),n.render(n.duration(),!0,!0),M=S(ut.a)-E+_+tt,D=Math.abs(_-M)>1,ft&&D&&v.splice(v.length-2,2),n.render(0,!0,!0),N||n.invalidate(!0),n.parent||n.totalTime(n.totalTime()),gd(0)):M=_,B&&(B.value?B.style["overflow"+ut.a.toUpperCase()]=B.value:B.style.removeProperty("overflow-"+ut.a));H&&H.forEach(function(t){return t.revert(!1,!0)}),vt.start=u,vt.end=l,s=a=Ad?Y:Mt(),ot||Ad||(s<Y&&Mt(Y),vt.scroll.rec=0),vt.revert(!1,!0),Tt=Nd(),j&&(St=-1,j.restart(!0)),ld=0,n&&lt&&(n._initted||F)&&n.progress()!==F&&n.progress(F||0,!0).render(n.time(),!0,!0),(J||Et!==vt.progress||ot||$)&&(n&&!lt&&n.totalProgress(ot&&u<-.001&&!Et?$c.utils.normalize(u,l,0):Et,!0),vt.progress=J||(s-u)/_===Et?0:Et),K&&Z&&(b._pinOffset=Math.round(vt.progress*M)),P&&P.invalidate(),isNaN(V)||(V-=$c.getProperty(h,ut.p),z-=$c.getProperty(f,ut.p),ef(h,ut,V),ef(c,ut,V-(w||0)),ef(f,ut,z),ef(d,ut,z-(w||0))),J&&!Ad&&vt.update(),!q||Ad||m||(m=!0,q(vt),m=!1)}},vt.getVelocity=function(){return(Mt()-a)/(Nd()-ad)*1e3||0},vt.endAnimation=function(){rh(vt.callbackAnimation),n&&(P?P.progress(1):n.paused()?lt||rh(n,vt.direction<0,1):rh(n,n.reversed()))},vt.labelToScroll=function(t){return n&&n.labels&&(u||vt.refresh()||u)+n.labels[t]/n.duration()*_||0},vt.getTrailing=function(t){var e=Th.indexOf(vt),n=vt.direction>0?Th.slice(0,e).reverse():Th.slice(e+1);return(Qd(t)?n.filter(function(e){return e.vars.preventOverlaps===t}):n).filter(function(t){return vt.direction>0?t.end<=u:t.start>=l})},vt.update=function(t,e,i){if(!ot||i||t){var o,c,d,f,p,m,g,w,S=!0===Ad?Y:vt.scroll(),C=t?0:(S-u)/_,L=C<0?0:C>1?1:C||0,R=vt.progress;if(e&&(a=s,s=ot?Mt():S,nt&&(I=A,A=n&&!lt?n.totalProgress():L)),J&&K&&!ld&&!Rd&&Yd&&(!L&&u<S+(S-a)/(Nd()-ad)*J?L=1e-4:1===L&&l>S+(S-a)/(Nd()-ad)*J&&(L=.9999)),L!==R&&vt.enabled){if(o=vt.isActive=!!L&&L<1,c=!!R&&R<1,m=o!==c,p=m||!!L!=!!R,vt.direction=L>R?1:-1,vt.progress=L,p&&!ld&&(d=L&&!R?0:1===L?1:1===R?2:3,lt&&(f=!m&&"none"!==mt[d+1]&&mt[d+1]||mt[d],w=n&&("complete"===f||"reset"===f||f in n))),at&&(m||w)&&(w||G||!n)&&(th(at)?at(vt):vt.getTrailing(at).forEach(function(t){return t.endAnimation()})),lt||(!P||ld||Rd?n&&n.totalProgress(L,!(!ld||!Tt&&!t)):(P._dp._time-P._start!==P._time&&P.render(P._dp._time-P._start),P.resetTo?P.resetTo("totalProgress",L,n._tTime/n._tDur):(P.vars.totalProgress=L,P.invalidate().restart()))),K)if(t&&Z&&(b.style[Z+ut.os2]=x),ft){if(p){if(g=!t&&L>R&&l+1>S&&S+1>=$d(ct,ut),rt)if(t||!o&&!g)Qh(K,b);else{var N=lh(K,!0),F=S-u;Qh(K,nd,N.top+(ut===Yl?F:0)+"px",N.left+(ut===Yl?0:F)+"px")}Xh(o||g?v:y),D&&L<1&&o||T(E+(1!==L||g?0:M))}}else T(Ud(E+M*L));nt&&!r.tween&&!ld&&!Rd&&j.restart(!0),z&&(m||et&&L&&(L<1||!kd))&&od(z.targets).forEach(function(t){return t.classList[o||et?"add":"remove"](z.className)}),V&&!lt&&!t&&V(vt),p&&!ld?(lt&&(w&&("complete"===f?n.pause().totalProgress(1):"reset"===f?n.restart(!0).pause():"restart"===f?n.restart(!0):n[f]()),V&&V(vt)),!m&&kd||(U&&m&&ih(vt,U),pt[d]&&ih(vt,pt[d]),et&&(1===L?vt.kill(!1,1):pt[d]=0),m||pt[d=1===L?1:3]&&ih(vt,pt[d])),st&&!o&&Math.abs(vt.getVelocity())>(eh(st)?st:2500)&&(rh(vt.callbackAnimation),P?P.progress(1):rh(n,"reverse"===f?1:!L,1))):lt&&V&&!ld&&V(vt)}if(k){var B=ot?S/ot.duration()*(ot._caScrollDist||0):S;O(B+(h._isFlipped?1:0)),k(B)}H&&H(-S/ot.duration()*(ot._caScrollDist||0))}},vt.enable=function(e,n){vt.enabled||(vt.enabled=!0,ph(ct,"resize",Oh),ht||ph(ct,"scroll",xh),yt&&ph(t,"refreshInit",yt),!1!==e&&(vt.progress=Et=0,s=a=St=Mt()),!1!==n&&vt.refresh())},vt.getTween=function(t){return t&&r?r.tween:P},vt.setPositions=function(t,e,n,r){if(ot){var i=ot.scrollTrigger,o=ot.duration(),s=i.end-i.start;t=i.start+s*t/o,e=i.start+s*e/o}vt.refresh(!1,!1,{start:Bd(t,n&&!!vt._startClamp),end:Bd(e,n&&!!vt._endClamp)},r),vt.update()},vt.adjustPinSpacing=function(t){if(C&&t){var e=C.indexOf(ut.d)+1;C[e]=parseFloat(C[e])+t+"px",C[1]=parseFloat(C[1])+t+"px",Xh(C)}},vt.disable=function(e,n){if(vt.enabled&&(!1!==e&&vt.revert(!0,!0),vt.enabled=vt.isActive=!1,n||P&&P.pause(),Y=0,i&&(i.uncache=1),yt&&mh(t,"refreshInit",yt),j&&(j.pause(),r.tween&&r.tween.kill()&&(r.tween=0)),!ht)){for(var o=Th.length;o--;)if(Th[o].scroller===ct&&Th[o]!==vt)return;mh(ct,"resize",Oh),ht||mh(ct,"scroll",xh)}},vt.kill=function(t,r){vt.disable(t,r),P&&!r&&P.kill(),W&&delete Eh[W];var o=Th.indexOf(vt);o>=0&&Th.splice(o,1),o===hd&&Vh>0&&hd--,o=0,Th.forEach(function(t){return t.scroller===vt.scroller&&(o=1)}),o||Ad||(vt.scroll.rec=0),n&&(n.scrollTrigger=null,t&&n.revert({kill:!1}),r||n.kill()),c&&[c,d,h,f].forEach(function(t){return t.parentNode&&t.parentNode.removeChild(t)}),Pd===vt&&(Pd=0),K&&(i&&(i.uncache=1),o=0,Th.forEach(function(t){return t.pin===K&&o++}),o||(i.spacer=0)),e.onKill&&e.onKill(vt)},Th.push(vt),vt.enable(!1,!1),B&&B(vt),n&&n.add&&!_){var Dt=vt.update;vt.update=function(){vt.update=Dt,u||l||vt.refresh()},$c.delayedCall(.01,vt.update),_=.01,u=l=0}else vt.refresh();K&&function(){if(Id!==jh){var t=Id=jh;requestAnimationFrame(function(){return t===jh&&Hh(!0)})}}()}else this.update=this.refresh=this.kill=Wd},t.register=function(e){return Jc||($c=e||Gd(),qd()&&window.document&&t.enable(),Jc=Fd),Jc},t.defaults=function(t){if(t)for(var e in t)vh[e]=t[e];return vh},t.disable=function(t,e){Fd=0,Th.forEach(function(n){return n[e?"kill":"disable"](t)}),mh(Qc,"wheel",xh),mh(td,"scroll",xh),clearInterval(ud),mh(td,"touchcancel",Wd),mh(nd,"touchstart",Wd),fh(mh,td,"pointerdown,touchstart,mousedown",Vd),fh(mh,td,"pointerup,touchend,mouseup",zd),id.kill(),Jd(mh);for(var n=0;n<Cl.length;n+=3)_h(mh,Cl[n],Cl[n+1]),_h(mh,Cl[n],Cl[n+2])},t.enable=function(){if(Qc=window,td=document,ed=td.documentElement,nd=td.body,$c&&(od=$c.utils.toArray,sd=$c.utils.clamp,Ed=$c.core.context||Wd,gd=$c.core.suppressOverwrites||Wd,Md=Qc.history.scrollRestoration||"auto",Bh=Qc.pageYOffset,$c.core.globals("ScrollTrigger",t),nd)){Fd=1,(xd=document.createElement("div")).style.height="100vh",xd.style.position="absolute",Yh(),function t(){return Fd&&requestAnimationFrame(t)}(),ql.register($c),t.isTouch=ql.isTouch,Td=ql.isTouch&&/(iPad|iPhone|iPod|Mac)/g.test(navigator.userAgent),bd=1===ql.isTouch,ph(Qc,"wheel",xh),rd=[Qc,td,ed,nd],$c.matchMedia?(t.matchMedia=function(t){var e,n=$c.matchMedia();for(e in t)n.add(e,t[e]);return n},$c.addEventListener("matchMediaInit",function(){return Rh()}),$c.addEventListener("matchMediaRevert",function(){return Ph()}),$c.addEventListener("matchMedia",function(){Hh(0,1),Ah("matchMedia")}),$c.matchMedia("(orientation: portrait)",function(){return Ch(),Ch})):console.warn("Requires GSAP 3.11.0 or later"),Ch(),ph(td,"scroll",xh);var e,n,r=nd.style,i=r.borderTopStyle,o=$c.core.Animation.prototype;for(o.revert||Object.defineProperty(o,"revert",{value:function(){return this.time(-.01,!0)}}),r.borderTopStyle="solid",e=lh(nd),Yl.m=Math.round(e.top+Yl.sc())||0,jl.m=Math.round(e.left+jl.sc())||0,i?r.borderTopStyle=i:r.removeProperty("border-top-style"),ud=setInterval(Mh,250),$c.delayedCall(.5,function(){return Rd=0}),ph(td,"touchcancel",Wd),ph(nd,"touchstart",Wd),fh(ph,td,"pointerdown,touchstart,mousedown",Vd),fh(ph,td,"pointerup,touchend,mouseup",zd),dd=$c.utils.checkPrefix("transform"),Uh.push(dd),Jc=Nd(),id=$c.delayedCall(.2,Hh).pause(),md=[td,"visibilitychange",function(){var t=Qc.innerWidth,e=Qc.innerHeight;td.hidden?(fd=t,pd=e):fd===t&&pd===e||Oh()},td,"DOMContentLoaded",Hh,Qc,"load",Hh,Qc,"resize",Oh],Jd(ph),Th.forEach(function(t){return t.enable(0,1)}),n=0;n<Cl.length;n+=3)_h(mh,Cl[n],Cl[n+1]),_h(mh,Cl[n],Cl[n+2])}},t.config=function(e){"limitCallbacks"in e&&(kd=!!e.limitCallbacks);var n=e.syncInterval;n&&clearInterval(ud)||(ud=n)&&setInterval(Mh,n),"ignoreMobileResize"in e&&(bd=1===t.isTouch&&e.ignoreMobileResize),"autoRefreshEvents"in e&&(Jd(mh)||Jd(ph,e.autoRefreshEvents||"none"),vd=-1===(e.autoRefreshEvents+"").indexOf("resize"))},t.scrollerProxy=function(t,e){var n=Fl(t),r=Cl.indexOf(n),i=Xd(n);~r&&Cl.splice(r,i?6:2),e&&(i?Ol.unshift(Qc,e,nd,e,ed,e):Ol.unshift(n,e))},t.clearMatchMedia=function(t){Th.forEach(function(e){return e._ctx&&e._ctx.query===t&&e._ctx.kill(!0,!0)})},t.isInViewport=function(t,e,n){var r=(Qd(t)?Fl(t):t).getBoundingClientRect(),i=r[n?"width":"height"]*e||0;return n?r.right-i>0&&r.left+i<Qc.innerWidth:r.bottom-i>0&&r.top+i<Qc.innerHeight},t.positionInViewport=function(t,e,n){Qd(t)&&(t=Fl(t));var r=t.getBoundingClientRect(),i=r[n?"width":"height"],o=null==e?i/2:e in yh?yh[e]*i:~e.indexOf("%")?parseFloat(e)*i/100:parseFloat(e)||0;return n?(r.left+o)/Qc.innerWidth:(r.top+o)/Qc.innerHeight},t.killAll=function(t){if(Th.slice(0).forEach(function(t){return"ScrollSmoother"!==t.vars.id&&t.kill()}),!0!==t){var e=Dh.killAll||[];Dh={},e.forEach(function(t){return t()})}},t}();rf.version="3.12.5",rf.saveStyles=function(t){return t?od(t).forEach(function(t){if(t&&t.style){var e=Ih.indexOf(t);e>=0&&Ih.splice(e,5),Ih.push(t,t.style.cssText,t.getBBox&&t.getAttribute("transform"),$c.core.getCache(t),Ed())}}):Ih},rf.revert=function(t,e){return Rh(!t,e)},rf.create=function(t,e){return new rf(t,e)},rf.refresh=function(t){return t?Oh():(Jc||rf.register())&&Hh(!0)},rf.update=function(t){return++Cl.cache&&zh(!0===t?2:0)},rf.clearScrollMemory=Nh,rf.maxScroll=function(t,e){return $d(t,e?jl:Yl)},rf.getScrollFunc=function(t,e){return Hl(Fl(t),e?jl:Yl)},rf.getById=function(t){return Eh[t]},rf.getAll=function(){return Th.filter(function(t){return"ScrollSmoother"!==t.vars.id})},rf.isScrolling=function(){return!!Yd},rf.snapDirectional=hh,rf.addEventListener=function(t,e){var n=Dh[t]||(Dh[t]=[]);~n.indexOf(e)||n.push(e)},rf.removeEventListener=function(t,e){var n=Dh[t],r=n&&n.indexOf(e);r>=0&&n.splice(r,1)},rf.batch=function(t,e){var n,r=[],i={},o=e.interval||.016,s=e.batchMax||1e9,a=function(t,e){var n=[],r=[],i=$c.delayedCall(o,function(){e(n,r),n=[],r=[]}).pause();return function(t){n.length||i.restart(!0),n.push(t.trigger),r.push(t),s<=n.length&&i.progress(1)}};for(n in e)i[n]="on"===n.substr(0,2)&&th(e[n])&&"onRefreshInit"!==n?a(0,e[n]):e[n];return th(s)&&(s=s(),ph(rf,"refresh",function(){return s=e.batchMax()})),od(t).forEach(function(t){var e={};for(n in i)e[n]=i[n];e.trigger=t,r.push(rf.create(e))}),r};var of,sf=function(t,e,n,r){return e>r?t(r):e<0&&t(0),n>r?(r-e)/(n-e):n<0?e/(e-n):1},af=function t(e,n){!0===n?e.style.removeProperty("touch-action"):e.style.touchAction=!0===n?"auto":n?"pan-"+n+(ql.isTouch?" pinch-zoom":""):"none",e===ed&&t(nd,n)},uf={auto:1,scroll:1},lf=function(t,e,n,r){return ql.create({target:t,capture:!0,debounce:!1,lockAxis:!0,type:e,onWheel:r=r&&function(t){var e,n=t.event,r=t.target,i=t.axis,o=(n.changedTouches?n.changedTouches[0]:n).target,s=o._gsap||$c.core.getCache(o),a=Nd();if(!s._isScrollT||a-s._isScrollT>2e3){for(;o&&o!==nd&&(o.scrollHeight<=o.clientHeight&&o.scrollWidth<=o.clientWidth||!uf[(e=ah(o)).overflowY]&&!uf[e.overflowX]);)o=o.parentNode;s._isScroll=o&&o!==r&&!Xd(o)&&(uf[(e=ah(o)).overflowY]||uf[e.overflowX]),s._isScrollT=a}(s._isScroll||"x"===i)&&(n.stopPropagation(),n._gsapAllow=!0)},onPress:r,onDrag:r,onScroll:r,onEnable:function(){return n&&ph(td,ql.eventTypes[0],df,!1,!0)},onDisable:function(){return mh(td,ql.eventTypes[0],df,!0)}})},cf=/(input|label|select|textarea)/i,df=function(t){var e=cf.test(t.target.tagName);(e||of)&&(t._gsapAllow=!0,of=e)},hf=function(t){nh(t)||(t={}),t.preventDefault=t.isNormalizer=t.allowClicks=!0,t.type||(t.type="wheel,touch"),t.debounce=!!t.debounce,t.id=t.id||"normalizer";var e,n,r,i,o,s,a,u,l=t.normalizeScrollX,c=t.momentum,d=t.allowNestedScroll,h=t.onRelease,f=Fl(t.target)||ed,p=$c.core.globals().ScrollSmoother,m=p&&p.get(),_=Td&&(t.content&&Fl(t.content)||m&&!1!==t.content&&!m.smooth()&&m.content()),g=Hl(f,Yl),v=Hl(f,jl),y=1,b=(ql.isTouch&&Qc.visualViewport?Qc.visualViewport.scale*Qc.visualViewport.width:Qc.outerWidth)/Qc.innerWidth,w=0,S=th(c)?function(){return c(e)}:function(){return c||2.8},T=lf(f,t.type,!0,d),E=function(){return i=!1},M=Wd,x=Wd,C=function(){n=$d(f,Yl),x=sd(Td?1:0,n),l&&(M=sd(0,$d(f,jl))),r=jh},O=function(){_._gsap.y=Ud(parseFloat(_._gsap.y)+g.offset)+"px",_.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+parseFloat(_._gsap.y)+", 0, 1)",g.offset=g.cacheID=0},D=function(){C(),o.isActive()&&o.vars.scrollY>n&&(g()>n?o.progress(1)&&g(n):o.resetTo("scrollY",n))};return _&&$c.set(_,{y:"+=0"}),t.ignoreCheck=function(t){return Td&&"touchmove"===t.type&&function(){if(i){requestAnimationFrame(E);var t=Ud(e.deltaY/2),n=x(g.v-t);if(_&&n!==g.v+g.offset){g.offset=n-g.v;var r=Ud((parseFloat(_&&_._gsap.y)||0)-g.offset);_.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+r+", 0, 1)",_._gsap.y=r+"px",g.cacheID=Cl.cache,zh()}return!0}g.offset&&O(),i=!0}()||y>1.05&&"touchstart"!==t.type||e.isGesturing||t.touches&&t.touches.length>1},t.onPress=function(){i=!1;var t=y;y=Ud((Qc.visualViewport&&Qc.visualViewport.scale||1)/b),o.pause(),t!==y&&af(f,y>1.01||!l&&"x"),s=v(),a=g(),C(),r=jh},t.onRelease=t.onGestureStart=function(t,e){if(g.offset&&O(),e){Cl.cache++;var r,i,s=S();l&&(r=v(),s*=sf(v,r,i=r+.05*s*-t.velocityX/.227,$d(f,jl)),o.vars.scrollX=M(i)),r=g(),s*=sf(g,r,i=r+.05*s*-t.velocityY/.227,$d(f,Yl)),o.vars.scrollY=x(i),o.invalidate().duration(s).play(.01),(Td&&o.vars.scrollY>=n||r>=n-1)&&$c.to({},{onUpdate:D,duration:s})}else u.restart(!0);h&&h(t)},t.onWheel=function(){o._ts&&o.pause(),Nd()-w>1e3&&(r=0,w=Nd())},t.onChange=function(t,e,n,i,o){if(jh!==r&&C(),e&&l&&v(M(i[2]===e?s+(t.startX-t.x):v()+e-i[1])),n){g.offset&&O();var u=o[2]===n,c=u?a+t.startY-t.y:g()+n-o[1],d=x(c);u&&c!==d&&(a+=d-c),g(d)}(n||e)&&zh()},t.onEnable=function(){af(f,!l&&"x"),rf.addEventListener("refresh",D),ph(Qc,"resize",D),g.smooth&&(g.target.style.scrollBehavior="auto",g.smooth=v.smooth=!1),T.enable()},t.onDisable=function(){af(f,!0),mh(Qc,"resize",D),rf.removeEventListener("refresh",D),T.kill()},t.lockAxis=!1!==t.lockAxis,e=new ql(t),e.iOS=Td,Td&&!g()&&g(1),Td&&$c.ticker.add(Wd),u=e._dc,o=$c.to(e,{ease:"power4",paused:!0,inherit:!1,scrollX:l?"+=0.1":"+=0",scrollY:"+=0.1",modifiers:{scrollY:tf(g,g(),function(){return o.pause()})},onUpdate:zh,onComplete:u.vars.onComplete}),e};rf.sort=function(t){return Th.sort(t||function(t,e){return-1e6*(t.vars.refreshPriority||0)+t.start-(e.start+-1e6*(e.vars.refreshPriority||0))})},rf.observe=function(t){return new ql(t)},rf.normalizeScroll=function(t){if(void 0===t)return yd;if(!0===t&&yd)return yd.enable();if(!1===t)return yd&&yd.kill(),void(yd=t);var e=t instanceof ql?t:hf(t);return yd&&yd.target===e.target&&yd.kill(),Xd(e.target)&&(yd=e),e},rf.core={_getVelocityProp:Bl,_inputObserver:lf,_scrollers:Cl,_proxies:Ol,bridge:{ss:function(){Yd||Ah("scrollStart"),Yd=Nd()},ref:function(){return ld}}},Gd()&&$c.registerPlugin(rf);var ff,pf,mf=/(?:^\s+|\s+$)/g,_f=/([\uD800-\uDBFF][\uDC00-\uDFFF](?:[\u200D\uFE0F][\uD800-\uDBFF][\uDC00-\uDFFF]){2,}|\uD83D\uDC69(?:\u200D(?:(?:\uD83D\uDC69\u200D)?\uD83D\uDC67|(?:\uD83D\uDC69\u200D)?\uD83D\uDC66)|\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC69\u200D(?:\uD83D\uDC69\u200D)?\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D(?:\uD83D\uDC69\u200D)?\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]\uFE0F|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92])|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC6F\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3C-\uDD3E\uDDD6-\uDDDF])\u200D[\u2640\u2642]\uFE0F|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF6\uD83C\uDDE6|\uD83C\uDDF4\uD83C\uDDF2|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F\u200D[\u2640\u2642]|(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642])\uFE0F|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2695\u2696\u2708]|\uD83D\uDC69\u200D[\u2695\u2696\u2708]|\uD83D\uDC68(?:(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708]))\uFE0F|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83D\uDC69\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69]))|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|[#\*0-9]\uFE0F\u20E3|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67)\uDB40\uDC7F|\uD83D\uDC68(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:(?:\uD83D[\uDC68\uDC69])\u200D)?\uD83D\uDC66\u200D\uD83D\uDC66|(?:(?:\uD83D[\uDC68\uDC69])\u200D)?\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92])|(?:\uD83C[\uDFFB-\uDFFF])\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]))|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270A-\u270D]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC70\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDCAA\uDD74\uDD7A\uDD90\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD36\uDDD1-\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\u200D(?:(?:(?:\uD83D[\uDC68\uDC69])\u200D)?\uD83D\uDC67|(?:(?:\uD83D[\uDC68\uDC69])\u200D)?\uD83D\uDC66)|\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC69\uDC6E\uDC70-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD18-\uDD1C\uDD1E\uDD1F\uDD26\uDD30-\uDD39\uDD3D\uDD3E\uDDD1-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])?|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDEEB\uDEEC\uDEF4-\uDEF8]|\uD83E[\uDD10-\uDD3A\uDD3C-\uDD3E\uDD40-\uDD45\uDD47-\uDD4C\uDD50-\uDD6B\uDD80-\uDD97\uDDC0\uDDD0-\uDDE6])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u2660\u2663\u2665\u2666\u2668\u267B\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEF8]|\uD83E[\uDD10-\uDD3A\uDD3C-\uDD3E\uDD40-\uDD45\uDD47-\uDD4C\uDD50-\uDD6B\uDD80-\uDD97\uDDC0\uDDD0-\uDDE6])\uFE0F)/,gf={version:"3.12.5",name:"text",init:function(t,e,n){"object"!=typeof e&&(e={value:e});var r,i,o,s,a,u,l,c,d=t.nodeName.toUpperCase(),h=e.newClass,f=e.oldClass,p=e.preserveSpaces,m=e.rtl,_=this.delimiter=e.delimiter||"",g=this.fillChar=e.fillChar||(e.padSpace?"&nbsp;":"");if(this.svg=t.getBBox&&("TEXT"===d||"TSPAN"===d),!("innerHTML"in t||this.svg))return!1;if(this.target=t,"value"in e){for(o=T(t,_,!1,p),pf||(pf=document.createElement("div")),pf.innerHTML=e.value,i=T(pf,_,!1,p),this.from=n._from,!this.from&&!m||m&&this.from||(d=o,o=i,i=d),this.hasClass=!(!h&&!f),this.newClass=m?f:h,this.oldClass=m?h:f,r=(d=o.length-i.length)<0?o:i,d<0&&(d=-d);--d>-1;)r.push(g);if("diff"===e.type){for(s=0,a=[],u=[],l="",d=0;d<i.length;d++)(c=i[d])===o[d]?l+=c:(a[s]=l+c,u[s++]=l+o[d],l="");i=a,o=u,l&&(i.push(l),o.push(l))}e.speed&&n.duration(Math.min(.05/e.speed*r.length,e.maxDuration||9999)),this.rtl=m,this.original=o,this.text=i,this._props.push("text")}else this.text=this.original=[""]},render:function(t,e){t>1?t=1:t<0&&(t=0),e.from&&(t=1-t);var n,r,i,o=e.text,s=e.newClass,a=e.oldClass,u=e.delimiter,l=e.target,c=e.fillChar,d=e.original,h=o.length,f=(e.rtl?1-t:t)*h+.5|0;e.hasClass&&t?(n=s&&f,r=a&&f!==h,i=(n?"<span class='"+s+"'>":"")+o.slice(0,f).join(u)+(n?"</span>":"")+(r?"<span class='"+a+"'>":"")+u+d.slice(f).join(u)+(r?"</span>":"")):i=o.slice(0,f).join(u)+u+d.slice(f).join(u),e.svg?l.textContent=i:l.innerHTML="&nbsp;"===c&&~i.indexOf("  ")?i.split("  ").join("&nbsp;&nbsp;"):i}};gf.splitInnerHTML=T,gf.emojiSafeSplit=E,gf.getText=S,(ff||"undefined"!=typeof window&&(ff=window.gsap)&&ff.registerPlugin&&ff)&&ff.registerPlugin(gf),n.d(e,"b",function(){return vf}),n.d(e,!1,function(){return Si}),n.d(e,!1,function(){return gn}),n.d(e,!1,function(){return an}),n.d(e,!1,function(){return an}),n.d(e,!1,function(){return Qn}),n.d(e,!1,function(){return tr}),n.d(e,"a",function(){return er}),n.d(e,!1,function(){return nr}),n.d(e,!1,function(){return rr}),n.d(e,!1,function(){return ir}),n.d(e,!1,function(){return or}),n.d(e,!1,function(){return sr}),n.d(e,!1,function(){return ar}),n.d(e,!1,function(){return ur}),n.d(e,!1,function(){return lr}),n.d(e,!1,function(){return cr}),n.d(e,!1,function(){return dr}),n.d(e,!1,function(){return hr}),n.d(e,!1,function(){return fr}),n.d(e,!1,function(){return pr}),n.d(e,!1,function(){return mr}),n.d(e,!1,function(){return _r}),n.d(e,!1,function(){return Ce}),n.d(e,!1,function(){return Oe}),n.d(e,!1,function(){return ye}),n.d(e,!1,function(){return Se}),n.d(e,!1,function(){return we}),n.d(e,!1,function(){return Me}),n.d(e,!1,function(){return he}),n.d(e,!1,function(){return fe}),n.d(e,!1,function(){return Fe}),n.d(e,!1,function(){return _e}),n.d(e,!1,function(){return ke}),n.d(e,!1,function(){return Te}),n.d(e,!1,function(){return Ee}),n.d(e,!1,function(){return Le}),n.d(e,!1,function(){return ve}),n.d(e,!1,function(){return ge}),n.d(e,!1,function(){return so}),n.d(e,!1,function(){return ra}),n.d(e,!1,function(){return ha}),n.d(e,!1,function(){return ka}),n.d(e,!1,function(){return Ha}),n.d(e,!1,function(){return Ba}),n.d(e,!1,function(){return Va}),n.d(e,!1,function(){return za}),n.d(e,!1,function(){return Wu}),n.d(e,!1,function(){return cl}),n.d(e,!1,function(){return ql}),n.d(e,!1,function(){return Al}),n.d(e,!1,function(){return Cl}),n.d(e,!1,function(){return Hl}),n.d(e,!1,function(){return Ll}),n.d(e,!1,function(){return Ol}),n.d(e,!1,function(){return Bl}),n.d(e,!1,function(){return Yl}),n.d(e,!1,function(){return jl}),n.d(e,!1,function(){return Fl}),n.d(e,!1,function(){return Ac}),n.d(e,!1,function(){return Zc}),n.d(e,!1,function(){return rf}),n.d(e,!1,function(){return gf});var vf=Wn.registerPlugin(Si)||Wn},function(t,e,n){"use strict";n.d(e,"a",function(){return r});n(6),n(16);var r=function(){function t(t,e,n,r,i){this.plt=n,this.elementRef=r,this.renderer=i,this._showing=!1,t._clickBlock=this;(this.isEnabled=e.getBoolean("clickBlock",!0))&&this._setElementClass("click-block-enabled",!0)}return t.prototype.activate=function(t,e,n){void 0===e&&(e=100),void 0===n&&(n=0),this.isEnabled&&(this.plt.cancelTimeout(this._tmr),t&&(this._start=Date.now(),this._minEnd=this._start+(n||0),this._activate(!0)),this._tmr=this.plt.timeout(this._activate.bind(this,!1),e))},t.prototype._activate=function(t){if(this._showing!==t){if(!t){var e=Date.now();if(e<this._minEnd)return void(this._tmr=this.plt.timeout(this._activate.bind(this,!1),this._minEnd-e))}this._setElementClass("click-block-active",t),this._showing=t}},t.prototype._setElementClass=function(t,e){this.renderer.setElementClass(this.elementRef.nativeElement,t,e)},t}()},function(t,e,n){"use strict";function r(t){return t.testNavigatorPlatform("iphone|ipad|ipod")}function i(t){return t.testUserAgent("Safari")}e.a=function(t){var e=t.win();return!!(e.cordova||e.PhoneGap||e.phonegap)},e.b=function(t){return t.testUserAgent("Electron")},e.c=r,e.e=i,e.d=function(t){return r(t)&&!function(t){return r(t)&&!!t.win().webkit}(t)&&!i(t)}},function(t,e,n){"use strict";n(53),n(18),n(256)},function(t,e,n){"use strict";n(53),n(230)},function(t,e,n){"use strict";n(6),n(26),this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])}}()},function(t,e,n){"use strict";n(11),n(6),n(30),n(52),n(94),n(102),n(16),n(49),n(100),this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])}}()},function(t,e,n){"use strict";n(87)},function(t,e,n){"use strict";n(11)},function(t,e,n){"use strict";n(6),n(53),n(30),n(25),n(11),n(196),n(16),n(318),n(101),this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])}}()},function(t,e,n){"use strict";n(6),n(26),this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])}}()},function(t,e,n){"use strict"},function(t,e,n){"use strict";var r=n(11),i=n(152),o=n(210),s=n(61),a=n(112),u=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return u(e,t),e.prototype.init=function(){var t=this.enteringView.pageRef().nativeElement,e=t.querySelector(".toast-wrapper"),n=new s.a(this.plt,e);if(this.enteringView.data&&this.enteringView.data.position===m)n.fromTo("translateY","-100%","10px");else if(this.enteringView.data&&this.enteringView.data.position===_){var r=Math.floor(t.clientHeight/2-e.clientHeight/2);e.style.top=r+"px",n.fromTo("opacity",.01,1)}else n.fromTo("translateY","100%","-10px");this.easing("cubic-bezier(.36,.66,.04,1)").duration(400).add(n)},e}(a.a),c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return u(e,t),e.prototype.init=function(){var t=this.leavingView.pageRef().nativeElement.querySelector(".toast-wrapper"),e=new s.a(this.plt,t);this.leavingView.data&&this.leavingView.data.position===m?e.fromTo("translateY","10px","-100%"):this.leavingView.data&&this.leavingView.data.position===_?e.fromTo("opacity",.99,0):e.fromTo("translateY","-10px","100%"),this.easing("cubic-bezier(.36,.66,.04,1)").duration(300).add(e)},e}(a.a),d=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return u(e,t),e.prototype.init=function(){var t=this.enteringView.pageRef().nativeElement,e=t.querySelector(".toast-wrapper"),n=new s.a(this.plt,e);if(this.enteringView.data&&this.enteringView.data.position===m)n.fromTo("translateY","-100%","0%");else if(this.enteringView.data&&this.enteringView.data.position===_){var r=Math.floor(t.clientHeight/2-e.clientHeight/2);e.style.top=r+"px",n.fromTo("opacity",.01,1)}else n.fromTo("translateY","100%","0%");this.easing("cubic-bezier(.36,.66,.04,1)").duration(400).add(n)},e}(a.a),h=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return u(e,t),e.prototype.init=function(){var t=this.leavingView.pageRef().nativeElement.querySelector(".toast-wrapper"),e=new s.a(this.plt,t);this.leavingView.data&&this.leavingView.data.position===m?e.fromTo("translateY","0%","-100%"):this.leavingView.data&&this.leavingView.data.position===_?e.fromTo("opacity",.99,0):e.fromTo("translateY","0%","100%"),this.easing("cubic-bezier(.36,.66,.04,1)").duration(450).add(e)},e}(a.a),f=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return u(e,t),e.prototype.init=function(){var t=this.enteringView.pageRef().nativeElement,e=t.querySelector(".toast-wrapper"),n=new s.a(this.plt,e);if(this.enteringView.data&&this.enteringView.data.position===m)n.fromTo("opacity",.01,1),n.fromTo("scale",1.3,1);else if(this.enteringView.data&&this.enteringView.data.position===_){var r=Math.floor(t.clientHeight/2-e.clientHeight/2);e.style.top=r+"px",n.fromTo("opacity",.01,1),n.fromTo("scale",1.3,1)}else n.fromTo("opacity",.01,1),n.fromTo("scale",1.3,1);this.easing("cubic-bezier(0,0,0.05,1)").duration(200).add(n)},e}(a.a),p=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return u(e,t),e.prototype.init=function(){var t=this.leavingView.pageRef().nativeElement.querySelector(".toast-wrapper"),e=new s.a(this.plt,t);e.fromTo("opacity",.99,0),e.fromTo("scale",1,1.3);this.easing("ease-out").duration(150).add(e)},e}(a.a),m="top",_="middle",g=n(18);n.d(e,"a",function(){return y});var v=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),y=function(t){function e(e,n,i){void 0===n&&(n={});var s=this;return n.dismissOnPageChange=!!Object(r.l)(n.dismissOnPageChange)&&!!n.dismissOnPageChange,s=t.call(this,o.a,n,null)||this,s._app=e,n.position&&s.isValidPosition(n.position)||(n.position=S),s.isOverlay=!0,i.setTransition("toast-slide-in",l),i.setTransition("toast-slide-out",c),i.setTransition("toast-md-slide-in",d),i.setTransition("toast-md-slide-out",h),i.setTransition("toast-wp-slide-out",p),i.setTransition("toast-wp-slide-in",f),s}return v(e,t),e.prototype.getTransitionName=function(t){return this._nav&&this._nav.config.get("toast"+("back"===t?"Leave":"Enter"))},e.prototype.isValidPosition=function(t){return t===b||t===w||t===S},e.prototype.setMessage=function(t){return this.data.message=t,this},e.prototype.setDuration=function(t){return this.data.duration=t,this},e.prototype.setPosition=function(t){return this.data.position=t,this},e.prototype.setCssClass=function(t){return this.data.cssClass=t,this},e.prototype.setShowCloseButton=function(t){return this.data.showCloseButton=t,this},e.prototype.present=function(t){return void 0===t&&(t={}),t.disableApp=!1,t.keyboardClose=!1,this._app.present(this,t,i.d)},e.prototype.dismissAll=function(){this._nav&&this._nav.popAll()},e}(g.a),b="top",w="middle",S="bottom"},function(t,e,n){"use strict";n.d(e,"a",function(){return s});var r=n(182),i=n(126),o=n(215),s=(n(216),function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[o.a,{provide:i.a,useExisting:o.a},r.a]}},t}())},function(t,e,n){"use strict";function r(t){for(var n in t)e.hasOwnProperty(n)||(e[n]=t[n])}Object.defineProperty(e,"__esModule",{value:!0}),r(n(1221)),r(n(1237)),r(n(1244)),r(n(1248)),r(n(157)),r(n(1258)),r(n(673)),r(n(674));var i=n(69);e.Exception=i.default;var o=n(328);e.ArgumentException=o.default;var s=n(679);e.ArithmeticException=s.default;var a=n(114);e.ChecksumException=a.default;var u=n(65);e.FormatException=u.default;var l=n(37);e.IllegalArgumentException=l.default;var c=n(160);e.IllegalStateException=c.default;var d=n(35);e.NotFoundException=d.default;var h=n(697);e.ReaderException=h.default;var f=n(680);e.ReedSolomonException=f.default;var p=n(326);e.UnsupportedOperationException=p.default;var m=n(341);e.WriterException=m.default;var _=n(45);e.BarcodeFormat=_.default;var g=n(678);e.Binarizer=g.default;var v=n(675);e.BinaryBitmap=v.default;var y=n(62);e.DecodeHintType=y.default;var b=n(158);e.InvertedLuminanceSource=b.default;var w=n(159);e.LuminanceSource=w.default;var S=n(696);e.MultiFormatReader=S.default;var T=n(1259);e.MultiFormatWriter=T.default;var E=n(1260);e.PlanarYUVLuminanceSource=E.default;var M=n(84);e.Result=M.default;var x=n(116);e.ResultMetadataType=x.default;var C=n(1261);e.RGBLuminanceSource=C.default;var O=n(127);e.BitArray=O.default;var D=n(83);e.BitMatrix=D.default;var k=n(332);e.BitSource=k.default;var L=n(161);e.CharacterSetECI=L.default;var A=n(333);e.DecoderResult=A.default;var I=n(685);e.DefaultGridSampler=I.default;var P=n(335);e.DetectorResult=P.default;var R=n(220);e.EncodeHintType=R.default;var N=n(677);e.GlobalHistogramBinarizer=N.default;var j=n(686);e.GridSampler=j.default;var Y=n(336);e.GridSamplerInstance=Y.default;var F=n(676);e.HybridBinarizer=F.default;var H=n(337);e.PerspectiveTransform=H.default;var B=n(683);e.StringUtils=B.default;var V=n(115);e.MathUtils=V.default;var z=n(687);e.WhiteRectangleDetector=z.default;var W=n(128);e.GenericGF=W.default;var U=n(218);e.GenericGFPoly=U.default;var q=n(330);e.ReedSolomonDecoder=q.default;var G=n(688);e.ReedSolomonEncoder=G.default;var X=n(338);e.DataMatrixReader=X.default;var K=n(329);e.QRCodeReader=K.default;var Z=n(698);e.QRCodeWriter=Z.default;var $=n(219);e.QRCodeDecoderErrorCorrectionLevel=$.default;var J=n(339);e.QRCodeEncoder=J.default;var Q=n(340);e.QRCodeEncoderQRCode=Q.default;var tt=n(88);e.OneDReader=tt.default;var et=n(695);e.EAN13Reader=et.default;var nt=n(691);e.Code128Reader=nt.default;var rt=n(694);e.ITFReader=rt.default;var it=n(690);e.Code39Reader=it.default;var ot=n(692);e.RSS14Reader=ot.default;var st=n(342);e.MultiformatReader=st.default},function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var i=n(158),o=n(159),s=n(37);e.HTMLCanvasElementLuminanceSource=function(t){function e(n){var r=t.call(this,n.width,n.height)||this;return r.canvas=n,r.tempCanvasElement=null,r.buffer=e.makeBufferFromCanvasImageData(n),r}return r(e,t),e.makeBufferFromCanvasImageData=function(t){var n=t.getContext("2d").getImageData(0,0,t.width,t.height);return e.toGrayscaleBuffer(n.data,t.width,t.height)},e.toGrayscaleBuffer=function(t,e,n){for(var r=new Uint8ClampedArray(e*n),i=0,o=0,s=t.length;i<s;i+=4,o++){var a=void 0;if(0===t[i+3])a=255;else{a=306*t[i]+601*t[i+1]+117*t[i+2]+512>>10}r[o]=a}return r},e.prototype.getRow=function(t,e){if(t<0||t>=this.getHeight())throw new s.default("Requested row is outside the image: "+t);var n=this.getWidth(),r=t*n;return null===e?e=this.buffer.slice(r,r+n):(e.length<n&&(e=new Uint8ClampedArray(n)),e.set(this.buffer.slice(r,r+n))),e},e.prototype.getMatrix=function(){return this.buffer},e.prototype.isCropSupported=function(){return!0},e.prototype.crop=function(t,e,n,r){return this.crop(t,e,n,r),this},e.prototype.isRotateSupported=function(){return!0},e.prototype.rotateCounterClockwise=function(){return this.rotate(-90),this},e.prototype.rotateCounterClockwise45=function(){return this.rotate(-45),this},e.prototype.getTempCanvasElement=function(){if(null===this.tempCanvasElement){var t=this.canvas.ownerDocument.createElement("canvas");t.width=this.canvas.width,t.height=this.canvas.height,this.tempCanvasElement=t}return this.tempCanvasElement},e.prototype.rotate=function(t){var n=this.getTempCanvasElement(),r=n.getContext("2d"),i=t*e.DEGREE_TO_RADIANS,o=this.canvas.width,s=this.canvas.height,a=Math.ceil(Math.abs(Math.cos(i))*o+Math.abs(Math.sin(i))*s),u=Math.ceil(Math.abs(Math.sin(i))*o+Math.abs(Math.cos(i))*s);return n.width=a,n.height=u,r.translate(a/2,u/2),r.rotate(i),r.drawImage(this.canvas,o/-2,s/-2),this.buffer=e.makeBufferFromCanvasImageData(n),this},e.prototype.invert=function(){return new i.default(this)},e.DEGREE_TO_RADIANS=Math.PI/180,e}(o.default)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.VideoInputDevice=function(){return function(t,e){this.deviceId=t,this.label=e}}()},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(37);e.default=function(){function t(t){if(this.binarizer=t,null===t)throw new r.default("Binarizer must be non-null.")}return t.prototype.getWidth=function(){return this.binarizer.getWidth()},t.prototype.getHeight=function(){return this.binarizer.getHeight()},t.prototype.getBlackRow=function(t,e){return this.binarizer.getBlackRow(t,e)},t.prototype.getBlackMatrix=function(){return null!==this.matrix&&void 0!==this.matrix||(this.matrix=this.binarizer.getBlackMatrix()),this.matrix},t.prototype.isCropSupported=function(){return this.binarizer.getLuminanceSource().isCropSupported()},t.prototype.crop=function(e,n,r,i){var o=this.binarizer.getLuminanceSource().crop(e,n,r,i);return new t(this.binarizer.createBinarizer(o))},t.prototype.isRotateSupported=function(){return this.binarizer.getLuminanceSource().isRotateSupported()},t.prototype.rotateCounterClockwise=function(){var e=this.binarizer.getLuminanceSource().rotateCounterClockwise();return new t(this.binarizer.createBinarizer(e))},t.prototype.rotateCounterClockwise45=function(){var e=this.binarizer.getLuminanceSource().rotateCounterClockwise45();return new t(this.binarizer.createBinarizer(e))},t.prototype.toString=function(){try{return this.getBlackMatrix().toString()}catch(t){return""}},t}()},function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var i=n(677),o=n(83);e.default=function(t){function e(e){var n=t.call(this,e)||this;return n.matrix=null,n}return r(e,t),e.prototype.getBlackMatrix=function(){if(null!==this.matrix)return this.matrix;var n=this.getLuminanceSource(),r=n.getWidth(),i=n.getHeight();if(r>=e.MINIMUM_DIMENSION&&i>=e.MINIMUM_DIMENSION){var s=n.getMatrix(),a=r>>e.BLOCK_SIZE_POWER;0!=(r&e.BLOCK_SIZE_MASK)&&a++;var u=i>>e.BLOCK_SIZE_POWER;0!=(i&e.BLOCK_SIZE_MASK)&&u++;var l=e.calculateBlackPoints(s,a,u,r,i),c=new o.default(r,i);e.calculateThresholdForBlock(s,a,u,r,i,l,c),this.matrix=c}else this.matrix=t.prototype.getBlackMatrix.call(this);return this.matrix},e.prototype.createBinarizer=function(t){return new e(t)},e.calculateThresholdForBlock=function(t,n,r,i,o,s,a){for(var u=o-e.BLOCK_SIZE,l=i-e.BLOCK_SIZE,c=0;c<r;c++){var d=c<<e.BLOCK_SIZE_POWER;d>u&&(d=u);for(var h=e.cap(c,2,r-3),f=0;f<n;f++){var p=f<<e.BLOCK_SIZE_POWER;p>l&&(p=l);for(var m=e.cap(f,2,n-3),_=0,g=-2;g<=2;g++){var v=s[h+g];_+=v[m-2]+v[m-1]+v[m]+v[m+1]+v[m+2]}e.thresholdBlock(t,p,d,_/25,i,a)}}},e.cap=function(t,e,n){return t<e?e:t>n?n:t},e.thresholdBlock=function(t,n,r,i,o,s){for(var a=0,u=r*o+n;a<e.BLOCK_SIZE;a++,u+=o)for(var l=0;l<e.BLOCK_SIZE;l++)(255&t[u+l])<=i&&s.set(n+l,r+a)},e.calculateBlackPoints=function(t,n,r,i,o){for(var s=o-e.BLOCK_SIZE,a=i-e.BLOCK_SIZE,u=new Array(r),l=0;l<r;l++){u[l]=new Int32Array(n);var c=l<<e.BLOCK_SIZE_POWER;c>s&&(c=s);for(var d=0;d<n;d++){var h=d<<e.BLOCK_SIZE_POWER;h>a&&(h=a);for(var f=0,p=255,m=0,_=0,g=c*i+h;_<e.BLOCK_SIZE;_++,g+=i){for(var v=0;v<e.BLOCK_SIZE;v++){var y=255&t[g+v];f+=y,y<p&&(p=y),y>m&&(m=y)}if(m-p>e.MIN_DYNAMIC_RANGE)for(_++,g+=i;_<e.BLOCK_SIZE;_++,g+=i)for(v=0;v<e.BLOCK_SIZE;v++)f+=255&t[g+v]}var b=f>>2*e.BLOCK_SIZE_POWER;if(m-p<=e.MIN_DYNAMIC_RANGE&&(b=p/2,l>0&&d>0)){var w=(u[l-1][d]+2*u[l][d-1]+u[l-1][d-1])/4;p<w&&(b=w)}u[l][d]=b}}return u},e.BLOCK_SIZE_POWER=3,e.BLOCK_SIZE=1<<e.BLOCK_SIZE_POWER,e.BLOCK_SIZE_MASK=e.BLOCK_SIZE-1,e.MINIMUM_DIMENSION=5*e.BLOCK_SIZE,e.MIN_DYNAMIC_RANGE=24,e}(i.default)},function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var i=n(678),o=n(127),s=n(83),a=n(35);e.default=function(t){function e(n){var r=t.call(this,n)||this;return r.luminances=e.EMPTY,r.buckets=new Int32Array(e.LUMINANCE_BUCKETS),r}return r(e,t),e.prototype.getBlackRow=function(t,n){var r=this.getLuminanceSource(),i=r.getWidth();void 0===n||null===n||n.getSize()<i?n=new o.default(i):n.clear(),this.initArrays(i);for(var s=r.getRow(t,this.luminances),a=this.buckets,u=0;u<i;u++)a[(255&s[u])>>e.LUMINANCE_SHIFT]++;var l=e.estimateBlackPoint(a);if(i<3)for(u=0;u<i;u++)(255&s[u])<l&&n.set(u);else{var c=255&s[0],d=255&s[1];for(u=1;u<i-1;u++){var h=255&s[u+1];(4*d-c-h)/2<l&&n.set(u),c=d,d=h}}return n},e.prototype.getBlackMatrix=function(){var t=this.getLuminanceSource(),n=t.getWidth(),r=t.getHeight(),i=new s.default(n,r);this.initArrays(n);for(var o=this.buckets,a=1;a<5;a++)for(var u=t.getRow(r*a/5,this.luminances),l=Math.floor(4*n/5),c=Math.floor(n/5);c<l;c++){o[(255&u[c])>>e.LUMINANCE_SHIFT]++}var d=e.estimateBlackPoint(o),h=t.getMatrix();for(a=0;a<r;a++){var f=a*n;for(c=0;c<n;c++){(255&h[f+c])<d&&i.set(c,a)}}return i},e.prototype.createBinarizer=function(t){return new e(t)},e.prototype.initArrays=function(t){this.luminances.length<t&&(this.luminances=new Uint8ClampedArray(t));for(var n=this.buckets,r=0;r<e.LUMINANCE_BUCKETS;r++)n[r]=0},e.estimateBlackPoint=function(t){for(var n=t.length,r=0,i=0,o=0,s=0;s<n;s++)t[s]>o&&(i=s,o=t[s]),t[s]>r&&(r=t[s]);var u=0,l=0;for(s=0;s<n;s++){var c=s-i;(p=t[s]*c*c)>l&&(u=s,l=p)}if(i>u){var d=i;i=u,u=d}if(u-i<=n/16)throw new a.default;var h=u-1,f=-1;for(s=u-1;s>i;s--){var p,m=s-i;(p=m*m*(u-s)*(r-t[s]))>f&&(h=s,f=p)}return h<<e.LUMINANCE_SHIFT},e.LUMINANCE_BITS=5,e.LUMINANCE_SHIFT=8-e.LUMINANCE_BITS,e.LUMINANCE_BUCKETS=1<<e.LUMINANCE_BITS,e.EMPTY=Uint8ClampedArray.from([0]),e}(i.default)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default=function(){function t(t){this.source=t}return t.prototype.getLuminanceSource=function(){return this.source},t.prototype.getWidth=function(){return this.source.getWidth()},t.prototype.getHeight=function(){return this.source.getHeight()},t}()},function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var i=n(69);e.default=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e}(i.default)},function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var i=n(69);e.default=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e}(i.default)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(219),i=n(217);e.default=function(){function t(t){this.errorCorrectionLevel=r.default.forBits(t>>3&3),this.dataMask=7&t}return t.numBitsDiffering=function(t,e){return i.default.bitCount(t^e)},t.decodeFormatInformation=function(e,n){var r=t.doDecodeFormatInformation(e,n);return null!==r?r:t.doDecodeFormatInformation(e^t.FORMAT_INFO_MASK_QR,n^t.FORMAT_INFO_MASK_QR)},t.doDecodeFormatInformation=function(e,n){for(var r=Number.MAX_SAFE_INTEGER,i=0,o=0,s=t.FORMAT_INFO_DECODE_LOOKUP;o<s.length;o++){var a=s[o],u=a[0];if(u===e||u===n)return new t(a[1]);var l=t.numBitsDiffering(e,u);l<r&&(i=a[1],r=l),e!==n&&(l=t.numBitsDiffering(n,u))<r&&(i=a[1],r=l)}return r<=3?new t(i):null},t.prototype.getErrorCorrectionLevel=function(){return this.errorCorrectionLevel},t.prototype.getDataMask=function(){return this.dataMask},t.prototype.hashCode=function(){return this.errorCorrectionLevel.getBits()<<3|this.dataMask},t.prototype.equals=function(e){if(!(e instanceof t))return!1;return this.errorCorrectionLevel===e.errorCorrectionLevel&&this.dataMask===e.dataMask},t.FORMAT_INFO_MASK_QR=21522,t.FORMAT_INFO_DECODE_LOOKUP=[Int32Array.from([21522,0]),Int32Array.from([20773,1]),Int32Array.from([24188,2]),Int32Array.from([23371,3]),Int32Array.from([17913,4]),Int32Array.from([16590,5]),Int32Array.from([20375,6]),Int32Array.from([19104,7]),Int32Array.from([30660,8]),Int32Array.from([29427,9]),Int32Array.from([32170,10]),Int32Array.from([30877,11]),Int32Array.from([26159,12]),Int32Array.from([25368,13]),Int32Array.from([27713,14]),Int32Array.from([26998,15]),Int32Array.from([5769,16]),Int32Array.from([5054,17]),Int32Array.from([7399,18]),Int32Array.from([6608,19]),Int32Array.from([1890,20]),Int32Array.from([597,21]),Int32Array.from([3340,22]),Int32Array.from([2107,23]),Int32Array.from([13663,24]),Int32Array.from([12392,25]),Int32Array.from([16177,26]),Int32Array.from([14854,27]),Int32Array.from([9396,28]),Int32Array.from([8579,29]),Int32Array.from([11994,30]),Int32Array.from([11245,31])],t}()},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default=function(){function t(t){this.mirrored=t}return t.prototype.isMirrored=function(){return this.mirrored},t.prototype.applyMirroredCorrection=function(t){if(this.mirrored&&null!==t&&!(t.length<3)){var e=t[0];t[0]=t[2],t[2]=e}},t}()},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(62),i=n(161);e.default=function(){function t(){}return t.prototype.StringUtils=function(){},t.guessEncoding=function(e,n){if(null!==n&&void 0!==n&&void 0!==n.get(r.default.CHARACTER_SET))return n.get(r.default.CHARACTER_SET).toString();for(var i=e.length,o=!0,s=!0,a=!0,u=0,l=0,c=0,d=0,h=0,f=0,p=0,m=0,_=0,g=0,v=0,y=e.length>3&&239===e[0]&&187===e[1]&&191===e[2],b=0;b<i&&(o||s||a);b++){var w=255&e[b];a&&(u>0?0==(128&w)?a=!1:u--:0!=(128&w)&&(0==(64&w)?a=!1:(u++,0==(32&w)?l++:(u++,0==(16&w)?c++:(u++,0==(8&w)?d++:a=!1))))),o&&(w>127&&w<160?o=!1:w>159&&(w<192||215===w||247===w)&&v++),s&&(h>0?w<64||127===w||w>252?s=!1:h--:128===w||160===w||w>239?s=!1:w>160&&w<224?(f++,m=0,++p>_&&(_=p)):w>127?(h++,p=0,++m>g&&(g=m)):(p=0,m=0))}return a&&u>0&&(a=!1),s&&h>0&&(s=!1),a&&(y||l+c+d>0)?t.UTF8:s&&(t.ASSUME_SHIFT_JIS||_>=3||g>=3)?t.SHIFT_JIS:o&&s?2===_&&2===f||10*v>=i?t.SHIFT_JIS:t.ISO88591:o?t.ISO88591:s?t.SHIFT_JIS:a?t.UTF8:t.PLATFORM_DEFAULT_ENCODING},t.SHIFT_JIS=i.default.SJIS.getName(),t.GB2312="GB2312",t.ISO88591=i.default.ISO8859_1.getName(),t.EUC_JP="EUC_JP",t.UTF8=i.default.UTF8.getName(),t.PLATFORM_DEFAULT_ENCODING=t.UTF8,t.ASSUME_SHIFT_JIS=!1,t}()},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,i=n(37);!function(t){t[t.TERMINATOR=0]="TERMINATOR",t[t.NUMERIC=1]="NUMERIC",t[t.ALPHANUMERIC=2]="ALPHANUMERIC",t[t.STRUCTURED_APPEND=3]="STRUCTURED_APPEND",t[t.BYTE=4]="BYTE",t[t.ECI=5]="ECI",t[t.KANJI=6]="KANJI",t[t.FNC1_FIRST_POSITION=7]="FNC1_FIRST_POSITION",t[t.FNC1_SECOND_POSITION=8]="FNC1_SECOND_POSITION",t[t.HANZI=9]="HANZI"}(r=e.ModeValues||(e.ModeValues={}));e.default=function(){function t(e,n,r,i){this.value=e,this.stringValue=n,this.characterCountBitsForVersions=r,this.bits=i,t.FOR_BITS.set(i,this),t.FOR_VALUE.set(e,this)}return t.forBits=function(e){var n=t.FOR_BITS.get(e);if(void 0===n)throw new i.default;return n},t.prototype.getCharacterCountBits=function(t){var e,n=t.getVersionNumber();return e=n<=9?0:n<=26?1:2,this.characterCountBitsForVersions[e]},t.prototype.getValue=function(){return this.value},t.prototype.getBits=function(){return this.bits},t.prototype.equals=function(e){if(!(e instanceof t))return!1;return this.value===e.value},t.prototype.toString=function(){return this.stringValue},t.FOR_BITS=new Map,t.FOR_VALUE=new Map,t.TERMINATOR=new t(r.TERMINATOR,"TERMINATOR",Int32Array.from([0,0,0]),0),t.NUMERIC=new t(r.NUMERIC,"NUMERIC",Int32Array.from([10,12,14]),1),t.ALPHANUMERIC=new t(r.ALPHANUMERIC,"ALPHANUMERIC",Int32Array.from([9,11,13]),2),t.STRUCTURED_APPEND=new t(r.STRUCTURED_APPEND,"STRUCTURED_APPEND",Int32Array.from([0,0,0]),3),t.BYTE=new t(r.BYTE,"BYTE",Int32Array.from([8,16,16]),4),t.ECI=new t(r.ECI,"ECI",Int32Array.from([0,0,0]),7),t.KANJI=new t(r.KANJI,"KANJI",Int32Array.from([8,10,12]),8),t.FNC1_FIRST_POSITION=new t(r.FNC1_FIRST_POSITION,"FNC1_FIRST_POSITION",Int32Array.from([0,0,0]),5),t.FNC1_SECOND_POSITION=new t(r.FNC1_SECOND_POSITION,"FNC1_SECOND_POSITION",Int32Array.from([0,0,0]),9),t.HANZI=new t(r.HANZI,"HANZI",Int32Array.from([8,10,12]),13),t}()},function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var i=n(686),o=n(83),s=n(337),a=n(35);e.default=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.sampleGrid=function(t,e,n,r,i,o,a,u,l,c,d,h,f,p,m,_,g,v,y){var b=s.default.quadrilateralToQuadrilateral(r,i,o,a,u,l,c,d,h,f,p,m,_,g,v,y);return this.sampleGridWithTransform(t,e,n,b)},e.prototype.sampleGridWithTransform=function(t,e,n,r){if(e<=0||n<=0)throw new a.default;for(var s=new o.default(e,n),u=new Float32Array(2*e),l=0;l<n;l++){for(var c=u.length,d=l+.5,h=0;h<c;h+=2)u[h]=h/2+.5,u[h+1]=d;r.transformPoints(u),i.default.checkAndNudgePoints(t,u);try{for(h=0;h<c;h+=2)t.get(Math.floor(u[h]),Math.floor(u[h+1]))&&s.set(h/2,l)}catch(t){throw new a.default}}return s},e}(i.default)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(35);e.default=function(){function t(){}return t.checkAndNudgePoints=function(t,e){for(var n=t.getWidth(),i=t.getHeight(),o=!0,s=0;s<e.length&&o;s+=2){var a=Math.floor(e[s]),u=Math.floor(e[s+1]);if(a<-1||a>n||u<-1||u>i)throw new r.default;o=!1,-1===a?(e[s]=0,o=!0):a===n&&(e[s]=n-1,o=!0),-1===u?(e[s+1]=0,o=!0):u===i&&(e[s+1]=i-1,o=!0)}o=!0;for(s=e.length-2;s>=0&&o;s-=2){a=Math.floor(e[s]),u=Math.floor(e[s+1]);if(a<-1||a>n||u<-1||u>i)throw new r.default;o=!1,-1===a?(e[s]=0,o=!0):a===n&&(e[s]=n-1,o=!0),-1===u?(e[s+1]=0,o=!0):u===i&&(e[s+1]=i-1,o=!0)}},t}()},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(50),i=n(115),o=n(35),s=function(){function t(e,n,r,i){this.image=e,this.height=e.getHeight(),this.width=e.getWidth(),void 0!==n&&null!==n||(n=t.INIT_SIZE),void 0!==r&&null!==r||(r=e.getWidth()/2|0),void 0!==i&&null!==i||(i=e.getHeight()/2|0);var s=n/2|0;if(this.leftInit=r-s,this.rightInit=r+s,this.upInit=i-s,this.downInit=i+s,this.upInit<0||this.leftInit<0||this.downInit>=this.height||this.rightInit>=this.width)throw new o.default}return t.prototype.detect=function(){for(var t=this.leftInit,e=this.rightInit,n=this.upInit,r=this.downInit,i=!1,s=!0,a=!1,u=!1,l=!1,c=!1,d=!1,h=this.width,f=this.height;s;){s=!1;for(var p=!0;(p||!u)&&e<h;)(p=this.containsBlackPoint(n,r,e,!1))?(e++,s=!0,u=!0):u||e++;if(e>=h){i=!0;break}for(var m=!0;(m||!l)&&r<f;)(m=this.containsBlackPoint(t,e,r,!0))?(r++,s=!0,l=!0):l||r++;if(r>=f){i=!0;break}for(var _=!0;(_||!c)&&t>=0;)(_=this.containsBlackPoint(n,r,t,!1))?(t--,s=!0,c=!0):c||t--;if(t<0){i=!0;break}for(var g=!0;(g||!d)&&n>=0;)(g=this.containsBlackPoint(t,e,n,!0))?(n--,s=!0,d=!0):d||n--;if(n<0){i=!0;break}s&&(a=!0)}if(!i&&a){for(var v=e-t,y=null,b=1;null===y&&b<v;b++)y=this.getBlackPointOnSegment(t,r-b,t+b,r);if(null==y)throw new o.default;var w=null;for(b=1;null===w&&b<v;b++)w=this.getBlackPointOnSegment(t,n+b,t+b,n);if(null==w)throw new o.default;var S=null;for(b=1;null===S&&b<v;b++)S=this.getBlackPointOnSegment(e,n+b,e-b,n);if(null==S)throw new o.default;var T=null;for(b=1;null===T&&b<v;b++)T=this.getBlackPointOnSegment(e,r-b,e-b,r);if(null==T)throw new o.default;return this.centerEdges(T,y,S,w)}throw new o.default},t.prototype.getBlackPointOnSegment=function(t,e,n,o){for(var s=i.default.round(i.default.distance(t,e,n,o)),a=(n-t)/s,u=(o-e)/s,l=this.image,c=0;c<s;c++){var d=i.default.round(t+c*a),h=i.default.round(e+c*u);if(l.get(d,h))return new r.default(d,h)}return null},t.prototype.centerEdges=function(e,n,i,o){var s=e.getX(),a=e.getY(),u=n.getX(),l=n.getY(),c=i.getX(),d=i.getY(),h=o.getX(),f=o.getY(),p=t.CORR;return s<this.width/2?[new r.default(h-p,f+p),new r.default(u+p,l+p),new r.default(c-p,d-p),new r.default(s+p,a-p)]:[new r.default(h+p,f+p),new r.default(u+p,l-p),new r.default(c-p,d+p),new r.default(s-p,a-p)]},t.prototype.containsBlackPoint=function(t,e,n,r){var i=this.image;if(r){for(var o=t;o<=e;o++)if(i.get(o,n))return!0}else for(var s=t;s<=e;s++)if(i.get(n,s))return!0;return!1},t.INIT_SIZE=10,t.CORR=1,t}();e.default=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(218),i=n(74),o=n(37);e.default=function(){function t(t){this.field=t,this.cachedGenerators=[],this.cachedGenerators.push(new r.default(t,Int32Array.from([1])))}return t.prototype.buildGenerator=function(t){var e=this.cachedGenerators;if(t>=e.length)for(var n=e[e.length-1],i=this.field,o=e.length;o<=t;o++){var s=n.multiply(new r.default(i,Int32Array.from([1,i.exp(o-1+i.getGeneratorBase())])));e.push(s),n=s}return e[t]},t.prototype.encode=function(t,e){if(0===e)throw new o.default("No error correction bytes");var n=t.length-e;if(n<=0)throw new o.default("No data bytes provided");var s=this.buildGenerator(e),a=new Int32Array(n);i.default.arraycopy(t,0,a,0,n);for(var u=new r.default(this.field,a),l=(u=u.multiplyByMonomial(e,1)).divide(s)[1].getCoefficients(),c=e-l.length,d=0;d<c;d++)t[n+d]=0;i.default.arraycopy(l,0,t,n+c,l.length)},t}()},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(37);e.default=function(){function t(){}return t.applyMaskPenaltyRule1=function(e){return t.applyMaskPenaltyRule1Internal(e,!0)+t.applyMaskPenaltyRule1Internal(e,!1)},t.applyMaskPenaltyRule2=function(e){for(var n=0,r=e.getArray(),i=e.getWidth(),o=e.getHeight(),s=0;s<o-1;s++)for(var a=r[s],u=0;u<i-1;u++){var l=a[u];l===a[u+1]&&l===r[s+1][u]&&l===r[s+1][u+1]&&n++}return t.N2*n},t.applyMaskPenaltyRule3=function(e){for(var n=0,r=e.getArray(),i=e.getWidth(),o=e.getHeight(),s=0;s<o;s++)for(var a=0;a<i;a++){var u=r[s];a+6<i&&1===u[a]&&0===u[a+1]&&1===u[a+2]&&1===u[a+3]&&1===u[a+4]&&0===u[a+5]&&1===u[a+6]&&(t.isWhiteHorizontal(u,a-4,a)||t.isWhiteHorizontal(u,a+7,a+11))&&n++,s+6<o&&1===r[s][a]&&0===r[s+1][a]&&1===r[s+2][a]&&1===r[s+3][a]&&1===r[s+4][a]&&0===r[s+5][a]&&1===r[s+6][a]&&(t.isWhiteVertical(r,a,s-4,s)||t.isWhiteVertical(r,a,s+7,s+11))&&n++}return n*t.N3},t.isWhiteHorizontal=function(t,e,n){e=Math.max(e,0),n=Math.min(n,t.length);for(var r=e;r<n;r++)if(1===t[r])return!1;return!0},t.isWhiteVertical=function(t,e,n,r){n=Math.max(n,0),r=Math.min(r,t.length);for(var i=n;i<r;i++)if(1===t[i][e])return!1;return!0},t.applyMaskPenaltyRule4=function(e){for(var n=0,r=e.getArray(),i=e.getWidth(),o=e.getHeight(),s=0;s<o;s++)for(var a=r[s],u=0;u<i;u++)1===a[u]&&n++;var l=e.getHeight()*e.getWidth();return Math.floor(10*Math.abs(2*n-l)/l)*t.N4},t.getDataMaskBit=function(t,e,n){var i,o;switch(t){case 0:i=n+e&1;break;case 1:i=1&n;break;case 2:i=e%3;break;case 3:i=(n+e)%3;break;case 4:i=Math.floor(n/2)+Math.floor(e/3)&1;break;case 5:i=(1&(o=n*e))+o%3;break;case 6:i=(1&(o=n*e))+o%3&1;break;case 7:i=(o=n*e)%3+(n+e&1)&1;break;default:throw new r.default("Invalid mask pattern: "+t)}return 0===i},t.applyMaskPenaltyRule1Internal=function(e,n){for(var r=0,i=n?e.getHeight():e.getWidth(),o=n?e.getWidth():e.getHeight(),s=e.getArray(),a=0;a<i;a++){for(var u=0,l=-1,c=0;c<o;c++){var d=n?s[a][c]:s[c][a];d===l?u++:(u>=5&&(r+=t.N1+(u-5)),u=1,l=d)}u>=5&&(r+=t.N1+(u-5))}return r},t.N1=3,t.N2=3,t.N3=40,t.N4=10,t}()},function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var i=n(45),o=n(114),s=n(65),a=n(35),u=n(88),l=n(84),c=n(50);e.default=function(t){function e(e,n){void 0===e&&(e=!1),void 0===n&&(n=!1);var r=t.call(this)||this;return r.usingCheckDigit=e,r.extendedMode=n,r.decodeRowResult="",r.counters=new Array(9),r}return r(e,t),e.prototype.decodeRow=function(t,n,r){var s=this.counters;s.fill(0),this.decodeRowResult="";var u,d,h=e.findAsteriskPattern(n,s),f=n.getNextSet(h[1]),p=n.getSize();do{e.recordPattern(n,f,s);var m=e.toNarrowWidePattern(s);if(m<0)throw new a.default;u=e.patternToChar(m),this.decodeRowResult+=u,d=f;for(var _=0,g=s;_<g.length;_++){f+=g[_]}f=n.getNextSet(f)}while("*"!==u);this.decodeRowResult=this.decodeRowResult.substring(0,this.decodeRowResult.length-1);for(var v=0,y=0,b=s;y<b.length;y++){v+=b[y]}if(f!==p&&2*(f-d-v)<v)throw new a.default;if(this.usingCheckDigit){for(var w=this.decodeRowResult.length-1,S=0,T=0;T<w;T++)S+=e.ALPHABET_STRING.indexOf(this.decodeRowResult.charAt(T));if(this.decodeRowResult.charAt(w)!==e.ALPHABET_STRING.charAt(S%43))throw new o.default;this.decodeRowResult=this.decodeRowResult.substring(0,w)}if(0===this.decodeRowResult.length)throw new a.default;var E;E=this.extendedMode?e.decodeExtended(this.decodeRowResult):this.decodeRowResult;var M=d+v/2;return new l.default(E,null,0,[new c.default((h[1]+h[0])/2,t),new c.default(M,t)],i.default.CODE_39,(new Date).getTime())},e.findAsteriskPattern=function(t,n){for(var r=t.getSize(),i=t.getNextSet(0),o=0,s=i,u=!1,l=n.length,c=i;c<r;c++)if(t.get(c)!==u)n[o]++;else{if(o===l-1){if(this.toNarrowWidePattern(n)===e.ASTERISK_ENCODING&&t.isRange(Math.max(0,s-Math.floor((c-s)/2)),s,!1))return[s,c];s+=n[0]+n[1],n.copyWithin(0,2,2+o-1),n[o-1]=0,n[o]=0,o--}else o++;n[o]=1,u=!u}throw new a.default},e.toNarrowWidePattern=function(t){var e,n=t.length,r=0;do{for(var i=2147483647,o=0,s=t;o<s.length;o++){(c=s[o])<i&&c>r&&(i=c)}r=i,e=0;for(var a=0,u=0,l=0;l<n;l++){(c=t[l])>r&&(u|=1<<n-1-l,e++,a+=c)}if(3===e){for(l=0;l<n&&e>0;l++){var c;if((c=t[l])>r&&(e--,2*c>=a))return-1}return u}}while(e>3);return-1},e.patternToChar=function(t){for(var n=0;n<e.CHARACTER_ENCODINGS.length;n++)if(e.CHARACTER_ENCODINGS[n]===t)return e.ALPHABET_STRING.charAt(n);if(t===e.ASTERISK_ENCODING)return"*";throw new a.default},e.decodeExtended=function(t){for(var e=t.length,n="",r=0;r<e;r++){var i=t.charAt(r);if("+"===i||"$"===i||"%"===i||"/"===i){var o=t.charAt(r+1),a="\0";switch(i){case"+":if(!(o>="A"&&o<="Z"))throw new s.default;a=String.fromCharCode(o.charCodeAt(0)+32);break;case"$":if(!(o>="A"&&o<="Z"))throw new s.default;a=String.fromCharCode(o.charCodeAt(0)-64);break;case"%":if(o>="A"&&o<="E")a=String.fromCharCode(o.charCodeAt(0)-38);else if(o>="F"&&o<="J")a=String.fromCharCode(o.charCodeAt(0)-11);else if(o>="K"&&o<="O")a=String.fromCharCode(o.charCodeAt(0)+16);else if(o>="P"&&o<="T")a=String.fromCharCode(o.charCodeAt(0)+43);else if("U"===o)a="\0";else if("V"===o)a="@";else if("W"===o)a="`";else{if("X"!==o&&"Y"!==o&&"Z"!==o)throw new s.default;a=""}break;case"/":if(o>="A"&&o<="O")a=String.fromCharCode(o.charCodeAt(0)-32);else{if("Z"!==o)throw new s.default;a=":"}}n+=a,r++}else n+=i}return n},e.ALPHABET_STRING="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-. $/+%",e.CHARACTER_ENCODINGS=[52,289,97,352,49,304,112,37,292,100,265,73,328,25,280,88,13,268,76,28,259,67,322,19,274,82,7,262,70,22,385,193,448,145,400,208,133,388,196,168,162,138,42],e.ASTERISK_ENCODING=148,e}(u.default)},function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var i=n(45),o=n(62),s=n(84),a=n(50),u=n(88),l=n(35),c=n(65),d=n(114);e.default=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.findStartPattern=function(t){for(var n=t.getSize(),r=t.getNextSet(0),i=0,o=[0,0,0,0,0,0],s=r,a=!1,c=r;c<n;c++)if(t.get(c)!==a)o[i]++;else{if(5===i){for(var d=e.MAX_AVG_VARIANCE,h=-1,f=e.CODE_START_A;f<=e.CODE_START_C;f++){var p=u.default.patternMatchVariance(o,e.CODE_PATTERNS[f],e.MAX_INDIVIDUAL_VARIANCE);p<d&&(d=p,h=f)}if(h>=0&&t.isRange(Math.max(0,s-(c-s)/2),s,!1))return[s,c,h];s+=o[0]+o[1],o.splice(0,2),o[i-1]=0,o[i]=0,i--}else i++;o[i]=1,a=!a}throw new l.default},e.decodeCode=function(t,n,r){u.default.recordPattern(t,r,n);for(var i=e.MAX_AVG_VARIANCE,o=-1,s=0;s<e.CODE_PATTERNS.length;s++){var a=this.patternMatchVariance(n,e.CODE_PATTERNS[s],e.MAX_INDIVIDUAL_VARIANCE);a<i&&(i=a,o=s)}if(o>=0)return o;throw new l.default},e.prototype.decodeRow=function(t,n,r){var u=r&&!0===r.get(o.default.ASSUME_GS1),h=e.findStartPattern(n),f=h[2],p=0,m=new Uint8Array(20);m[p++]=f;var _;switch(f){case e.CODE_START_A:_=e.CODE_CODE_A;break;case e.CODE_START_B:_=e.CODE_CODE_B;break;case e.CODE_START_C:_=e.CODE_CODE_C;break;default:throw new c.default}for(var g=!1,v=!1,y="",b=h[0],w=h[1],S=[0,0,0,0,0,0],T=0,E=0,M=f,x=0,C=!0,O=!1,D=!1;!g;){var k=v;switch(v=!1,T=E,E=e.decodeCode(n,S,w),m[p++]=E,E!==e.CODE_STOP&&(C=!0),E!==e.CODE_STOP&&(M+=++x*E),b=w,w+=S.reduce(function(t,e){return t+e},0),E){case e.CODE_START_A:case e.CODE_START_B:case e.CODE_START_C:throw new c.default}switch(_){case e.CODE_CODE_A:if(E<64)y+=D===O?String.fromCharCode(" ".charCodeAt(0)+E):String.fromCharCode(" ".charCodeAt(0)+E+128),D=!1;else if(E<96)y+=D===O?String.fromCharCode(E-64):String.fromCharCode(E+64),D=!1;else switch(E!==e.CODE_STOP&&(C=!1),E){case e.CODE_FNC_1:u&&(y+=0===y.length?"]C1":String.fromCharCode(29));break;case e.CODE_FNC_2:case e.CODE_FNC_3:break;case e.CODE_FNC_4_A:!O&&D?(O=!0,D=!1):O&&D?(O=!1,D=!1):D=!0;break;case e.CODE_SHIFT:v=!0,_=e.CODE_CODE_B;break;case e.CODE_CODE_B:_=e.CODE_CODE_B;break;case e.CODE_CODE_C:_=e.CODE_CODE_C;break;case e.CODE_STOP:g=!0}break;case e.CODE_CODE_B:if(E<96)y+=D===O?String.fromCharCode(" ".charCodeAt(0)+E):String.fromCharCode(" ".charCodeAt(0)+E+128),D=!1;else switch(E!==e.CODE_STOP&&(C=!1),E){case e.CODE_FNC_1:u&&(y+=0===y.length?"]C1":String.fromCharCode(29));break;case e.CODE_FNC_2:case e.CODE_FNC_3:break;case e.CODE_FNC_4_B:!O&&D?(O=!0,D=!1):O&&D?(O=!1,D=!1):D=!0;break;case e.CODE_SHIFT:v=!0,_=e.CODE_CODE_A;break;case e.CODE_CODE_A:_=e.CODE_CODE_A;break;case e.CODE_CODE_C:_=e.CODE_CODE_C;break;case e.CODE_STOP:g=!0}break;case e.CODE_CODE_C:if(E<100)E<10&&(y+="0"),y+=E;else switch(E!==e.CODE_STOP&&(C=!1),E){case e.CODE_FNC_1:u&&(y+=0===y.length?"]C1":String.fromCharCode(29));break;case e.CODE_CODE_A:_=e.CODE_CODE_A;break;case e.CODE_CODE_B:_=e.CODE_CODE_B;break;case e.CODE_STOP:g=!0}}k&&(_=_===e.CODE_CODE_A?e.CODE_CODE_B:e.CODE_CODE_A)}var L=w-b;if(w=n.getNextUnset(w),!n.isRange(w,Math.min(n.getSize(),w+(w-b)/2),!1))throw new l.default;if((M-=x*T)%103!==T)throw new d.default;var A=y.length;if(0===A)throw new l.default;A>0&&C&&(y=y.substring(0,_===e.CODE_CODE_C?A-2:A-1));for(var I=(h[1]+h[0])/2,P=b+L/2,R=m.length,N=new Uint8Array(R),j=0;j<R;j++)N[j]=m[j];var Y=[new a.default(I,t),new a.default(P,t)];return new s.default(y,N,0,Y,i.default.CODE_128,(new Date).getTime())},e.CODE_PATTERNS=[[2,1,2,2,2,2],[2,2,2,1,2,2],[2,2,2,2,2,1],[1,2,1,2,2,3],[1,2,1,3,2,2],[1,3,1,2,2,2],[1,2,2,2,1,3],[1,2,2,3,1,2],[1,3,2,2,1,2],[2,2,1,2,1,3],[2,2,1,3,1,2],[2,3,1,2,1,2],[1,1,2,2,3,2],[1,2,2,1,3,2],[1,2,2,2,3,1],[1,1,3,2,2,2],[1,2,3,1,2,2],[1,2,3,2,2,1],[2,2,3,2,1,1],[2,2,1,1,3,2],[2,2,1,2,3,1],[2,1,3,2,1,2],[2,2,3,1,1,2],[3,1,2,1,3,1],[3,1,1,2,2,2],[3,2,1,1,2,2],[3,2,1,2,2,1],[3,1,2,2,1,2],[3,2,2,1,1,2],[3,2,2,2,1,1],[2,1,2,1,2,3],[2,1,2,3,2,1],[2,3,2,1,2,1],[1,1,1,3,2,3],[1,3,1,1,2,3],[1,3,1,3,2,1],[1,1,2,3,1,3],[1,3,2,1,1,3],[1,3,2,3,1,1],[2,1,1,3,1,3],[2,3,1,1,1,3],[2,3,1,3,1,1],[1,1,2,1,3,3],[1,1,2,3,3,1],[1,3,2,1,3,1],[1,1,3,1,2,3],[1,1,3,3,2,1],[1,3,3,1,2,1],[3,1,3,1,2,1],[2,1,1,3,3,1],[2,3,1,1,3,1],[2,1,3,1,1,3],[2,1,3,3,1,1],[2,1,3,1,3,1],[3,1,1,1,2,3],[3,1,1,3,2,1],[3,3,1,1,2,1],[3,1,2,1,1,3],[3,1,2,3,1,1],[3,3,2,1,1,1],[3,1,4,1,1,1],[2,2,1,4,1,1],[4,3,1,1,1,1],[1,1,1,2,2,4],[1,1,1,4,2,2],[1,2,1,1,2,4],[1,2,1,4,2,1],[1,4,1,1,2,2],[1,4,1,2,2,1],[1,1,2,2,1,4],[1,1,2,4,1,2],[1,2,2,1,1,4],[1,2,2,4,1,1],[1,4,2,1,1,2],[1,4,2,2,1,1],[2,4,1,2,1,1],[2,2,1,1,1,4],[4,1,3,1,1,1],[2,4,1,1,1,2],[1,3,4,1,1,1],[1,1,1,2,4,2],[1,2,1,1,4,2],[1,2,1,2,4,1],[1,1,4,2,1,2],[1,2,4,1,1,2],[1,2,4,2,1,1],[4,1,1,2,1,2],[4,2,1,1,1,2],[4,2,1,2,1,1],[2,1,2,1,4,1],[2,1,4,1,2,1],[4,1,2,1,2,1],[1,1,1,1,4,3],[1,1,1,3,4,1],[1,3,1,1,4,1],[1,1,4,1,1,3],[1,1,4,3,1,1],[4,1,1,1,1,3],[4,1,1,3,1,1],[1,1,3,1,4,1],[1,1,4,1,3,1],[3,1,1,1,4,1],[4,1,1,1,3,1],[2,1,1,4,1,2],[2,1,1,2,1,4],[2,1,1,2,3,2],[2,3,3,1,1,1,2]],e.MAX_AVG_VARIANCE=.25,e.MAX_INDIVIDUAL_VARIANCE=.7,e.CODE_SHIFT=98,e.CODE_CODE_C=99,e.CODE_CODE_B=100,e.CODE_CODE_A=101,e.CODE_FNC_1=102,e.CODE_FNC_2=97,e.CODE_FNC_3=96,e.CODE_FNC_4_A=101,e.CODE_FNC_4_B=100,e.CODE_START_A=103,e.CODE_START_B=104,e.CODE_START_C=105,e.CODE_STOP=106,e}(u.default)},function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var i=n(1249),o=n(1250),s=n(84),a=n(62),u=n(35),l=n(105),c=n(45),d=n(50),h=n(1251),f=n(693),p=n(115),m=n(1252),_=n(74),g=n(88);e.default=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.possibleLeftPairs=[],e.possibleRightPairs=[],e}return r(e,t),e.prototype.decodeRow=function(t,n,r){var i=this.decodePair(n,!1,t,r);e.addOrTally(this.possibleLeftPairs,i),n.reverse();var o=this.decodePair(n,!0,t,r);e.addOrTally(this.possibleRightPairs,o),n.reverse();for(var s=0,a=this.possibleLeftPairs;s<a.length;s++){var l=a[s];if(l.getCount()>1)for(var c=0,d=this.possibleRightPairs;c<d.length;c++){var h=d[c];if(h.getCount()>1&&e.checkChecksum(l,h))return e.constructResult(l,h)}}throw new u.default},e.addOrTally=function(t,e){if(null!=e){for(var n=!1,r=0,i=t;r<i.length;r++){var o=i[r];if(o.getValue()===e.getValue()){o.incrementCount(),n=!0;break}}n||t.push(e)}},e.prototype.reset=function(){this.possibleLeftPairs.length=0,this.possibleRightPairs.length=0},e.constructResult=function(t,e){for(var n=4537077*t.getValue()+e.getValue(),r=new String(n).toString(),i=new l.default,o=13-r.length;o>0;o--)i.append("0");i.append(r);var a=0;for(o=0;o<13;o++){var u=i.charAt(o).charCodeAt(0)-"0".charCodeAt(0);a+=0==(1&o)?3*u:u}10===(a=10-a%10)&&(a=0),i.append(a.toString());var d=t.getFinderPattern().getResultPoints(),h=e.getFinderPattern().getResultPoints();return new s.default(i.toString(),null,0,[d[0],d[1],h[0],h[1]],c.default.RSS_14,(new Date).getTime())},e.checkChecksum=function(t,e){var n=(t.getChecksumPortion()+16*e.getChecksumPortion())%79,r=9*t.getFinderPattern().getValue()+e.getFinderPattern().getValue();return r>72&&r--,r>8&&r--,n===r},e.prototype.decodePair=function(t,e,n,r){try{var i=this.findFinderPattern(t,e),s=this.parseFoundFinderPattern(t,n,e,i),u=null==r?null:r.get(a.default.NEED_RESULT_POINT_CALLBACK);if(null!=u){var l=(i[0]+i[1])/2;e&&(l=t.getSize()-1-l),u.foundPossibleResultPoint(new d.default(l,n))}var c=this.decodeDataCharacter(t,s,!0),h=this.decodeDataCharacter(t,s,!1);return new o.default(1597*c.getValue()+h.getValue(),c.getChecksumPortion()+4*h.getChecksumPortion(),s)}catch(t){return null}},e.prototype.decodeDataCharacter=function(t,n,r){for(var i=this.getDataCharacterCounters(),o=0;o<i.length;o++)i[o]=0;if(r)g.default.recordPatternInReverse(t,n.getStartEnd()[0],i);else{g.default.recordPattern(t,n.getStartEnd()[1]+1,i);for(var s=0,a=i.length-1;s<a;s++,a--){var l=i[s];i[s]=i[a],i[a]=l}}var c=r?16:15,d=p.default.sum(new Int32Array(i))/c,h=this.getOddCounts(),_=this.getEvenCounts(),v=this.getOddRoundingErrors(),y=this.getEvenRoundingErrors();for(s=0;s<i.length;s++){var b=i[s]/d,w=Math.floor(b+.5);w<1?w=1:w>8&&(w=8);var S=Math.floor(s/2);0==(1&s)?(h[S]=w,v[S]=b-w):(_[S]=w,y[S]=b-w)}this.adjustOddEvenCounts(r,c);var T=0,E=0;for(s=h.length-1;s>=0;s--)E*=9,E+=h[s],T+=h[s];var M=0,x=0;for(s=_.length-1;s>=0;s--)M*=9,M+=_[s],x+=_[s];var C=E+3*M;if(r){if(0!=(1&T)||T>12||T<4)throw new u.default;var O=9-(A=e.OUTSIDE_ODD_WIDEST[L=(12-T)/2]),D=m.default.getRSSvalue(h,A,!1),k=m.default.getRSSvalue(_,O,!0);return new f.default(D*e.OUTSIDE_EVEN_TOTAL_SUBSET[L]+k+e.OUTSIDE_GSUM[L],C)}if(0!=(1&x)||x>10||x<4)throw new u.default;var L,A;O=9-(A=e.INSIDE_ODD_WIDEST[L=(10-x)/2]),D=m.default.getRSSvalue(h,A,!0),k=m.default.getRSSvalue(_,O,!1);return new f.default(k*e.INSIDE_ODD_TOTAL_SUBSET[L]+D+e.INSIDE_GSUM[L],C)},e.prototype.findFinderPattern=function(t,e){var n=this.getDecodeFinderCounters();n[0]=0,n[1]=0,n[2]=0,n[3]=0;for(var r=t.getSize(),o=!1,s=0;s<r&&(o=!t.get(s),e!==o);)s++;for(var a=0,l=s,c=s;c<r;c++)if(t.get(c)!==o)n[a]++;else{if(3===a){if(i.default.isFinderPattern(n))return[l,c];l+=n[0]+n[1],n[0]=n[2],n[1]=n[3],n[2]=0,n[3]=0,a--}else a++;n[a]=1,o=!o}throw new u.default},e.prototype.parseFoundFinderPattern=function(t,n,r,i){for(var o=t.get(i[0]),s=i[0]-1;s>=0&&o!==t.get(s);)s--;var a=i[0]-++s,u=this.getDecodeFinderCounters(),l=new Array(u.length);_.default.arraycopy(u,0,l,1,u.length-1),l[0]=a;var c=this.parseFinderValue(l,e.FINDER_PATTERNS),d=s,f=i[1];return r&&(d=t.getSize()-1-d,f=t.getSize()-1-f),new h.default(c,[s,i[1]],d,f,n)},e.prototype.adjustOddEvenCounts=function(t,e){var n=p.default.sum(new Int32Array(this.getOddCounts())),r=p.default.sum(new Int32Array(this.getEvenCounts())),o=!1,s=!1,a=!1,l=!1;t?(n>12?s=!0:n<4&&(o=!0),r>12?l=!0:r<4&&(a=!0)):(n>11?s=!0:n<5&&(o=!0),r>10?l=!0:r<4&&(a=!0));var c=n+r-e,d=(1&n)==(t?1:0),h=1==(1&r);if(1===c)if(d){if(h)throw new u.default;s=!0}else{if(!h)throw new u.default;l=!0}else if(-1===c)if(d){if(h)throw new u.default;o=!0}else{if(!h)throw new u.default;a=!0}else{if(0!==c)throw new u.default;if(d){if(!h)throw new u.default;n<r?(o=!0,l=!0):(s=!0,a=!0)}else if(h)throw new u.default}if(o){if(s)throw new u.default;i.default.increment(this.getOddCounts(),this.getOddRoundingErrors())}if(s&&i.default.decrement(this.getOddCounts(),this.getOddRoundingErrors()),a){if(l)throw new u.default;i.default.increment(this.getEvenCounts(),this.getOddRoundingErrors())}l&&i.default.decrement(this.getEvenCounts(),this.getEvenRoundingErrors())},e.OUTSIDE_EVEN_TOTAL_SUBSET=[1,10,34,70,126],e.INSIDE_ODD_TOTAL_SUBSET=[4,20,48,81],e.OUTSIDE_GSUM=[0,161,961,2015,2715],e.INSIDE_GSUM=[0,336,1036,1516],e.OUTSIDE_ODD_WIDEST=[8,6,4,3,1],e.INSIDE_ODD_WIDEST=[2,4,6,8],e.FINDER_PATTERNS=[[3,8,2,1],[3,5,5,1],[3,3,7,1],[3,1,9,1],[2,7,4,1],[2,5,6,1],[2,3,8,1],[1,5,7,1],[1,3,9,1]],e}(i.default)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default=function(){function t(t,e){this.value=t,this.checksumPortion=e}return t.prototype.getValue=function(){return this.value},t.prototype.getChecksumPortion=function(){return this.checksumPortion},t.prototype.toString=function(){return this.value+"("+this.checksumPortion+")"},t.prototype.equals=function(e){if(!(e instanceof t))return!1;return this.value===e.value&&this.checksumPortion===e.checksumPortion},t.prototype.hashCode=function(){return this.value^this.checksumPortion},t}()},function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var i=n(45),o=n(62),s=n(84),a=n(50),u=n(88),l=n(105),c=n(74),d=n(65),h=n(35);e.default=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.narrowLineWidth=-1,e}return r(e,t),e.prototype.decodeRow=function(t,n,r){var u=this.decodeStart(n),c=this.decodeEnd(n),h=new l.default;e.decodeMiddle(n,u[1],c[0],h);var f=h.toString(),p=null;null!=r&&(p=r.get(o.default.ALLOWED_LENGTHS)),null==p&&(p=e.DEFAULT_ALLOWED_LENGTHS);for(var m=f.length,_=!1,g=0,v=0,y=p;v<y.length;v++){var b=y[v];if(m===b){_=!0;break}b>g&&(g=b)}if(!_&&m>g&&(_=!0),!_)throw new d.default;var w=[new a.default(u[1],t),new a.default(c[0],t)];return new s.default(f,null,0,w,i.default.ITF,(new Date).getTime())},e.decodeMiddle=function(t,n,r,i){var o=new Array(10),s=new Array(5),a=new Array(5);for(o.fill(0),s.fill(0),a.fill(0);n<r;){u.default.recordPattern(t,n,o);for(var l=0;l<5;l++){var c=2*l;s[l]=o[c],a[l]=o[c+1]}var d=e.decodeDigit(s);i.append(d.toString()),d=this.decodeDigit(a),i.append(d.toString()),o.forEach(function(t){n+=t})}},e.prototype.decodeStart=function(t){var n=e.skipWhiteSpace(t),r=e.findGuardPattern(t,n,e.START_PATTERN);return this.narrowLineWidth=(r[1]-r[0])/4,this.validateQuietZone(t,r[0]),r},e.prototype.validateQuietZone=function(t,e){var n=10*this.narrowLineWidth;n=n<e?n:e;for(var r=e-1;n>0&&r>=0&&!t.get(r);r--)n--;if(0!==n)throw new h.default},e.skipWhiteSpace=function(t){var e=t.getSize(),n=t.getNextSet(0);if(n===e)throw new h.default;return n},e.prototype.decodeEnd=function(t){t.reverse();try{var n=e.skipWhiteSpace(t),r=void 0;try{r=e.findGuardPattern(t,n,e.END_PATTERN_REVERSED[0])}catch(i){r=e.findGuardPattern(t,n,e.END_PATTERN_REVERSED[1])}this.validateQuietZone(t,r[0]);var i=r[0];return r[0]=t.getSize()-r[1],r[1]=t.getSize()-i,r}finally{t.reverse()}},e.findGuardPattern=function(t,n,r){var i=r.length,o=new Array(i),s=t.getSize(),a=!1,l=0,d=n;o.fill(0);for(var f=n;f<s;f++)if(t.get(f)!==a)o[l]++;else{if(l===i-1){if(u.default.patternMatchVariance(o,r,e.MAX_INDIVIDUAL_VARIANCE)<e.MAX_AVG_VARIANCE)return[d,f];d+=o[0]+o[1],c.default.arraycopy(o,2,o,0,l-1),o[l-1]=0,o[l]=0,l--}else l++;o[l]=1,a=!a}throw new h.default},e.decodeDigit=function(t){for(var n=e.MAX_AVG_VARIANCE,r=-1,i=e.PATTERNS.length,o=0;o<i;o++){var s=u.default.patternMatchVariance(t,e.PATTERNS[o],e.MAX_INDIVIDUAL_VARIANCE);s<n?(n=s,r=o):s===n&&(r=-1)}if(r>=0)return r%10;throw new h.default},e.W=3,e.w=2,e.N=1,e.PATTERNS=[[1,1,2,2,1],[2,1,1,1,2],[1,2,1,1,2],[2,2,1,1,1],[1,1,2,1,2],[2,1,2,1,1],[1,2,2,1,1],[1,1,1,2,2],[2,1,1,2,1],[1,2,1,2,1],[1,1,3,3,1],[3,1,1,1,3],[1,3,1,1,3],[3,3,1,1,1],[1,1,3,1,3],[3,1,3,1,1],[1,3,3,1,1],[1,1,1,3,3],[3,1,1,3,1],[1,3,1,3,1]],e.MAX_AVG_VARIANCE=.38,e.MAX_INDIVIDUAL_VARIANCE=.5,e.DEFAULT_ALLOWED_LENGTHS=[6,8,10,12,14],e.START_PATTERN=[1,1,1,1],e.END_PATTERN_REVERSED=[[1,1,2],[1,1,3]],e}(u.default)},function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var i=n(45),o=n(162),s=n(35);e.default=function(t){function e(){var e=t.call(this)||this;return e.decodeMiddleCounters=[0,0,0,0],e}return r(e,t),e.prototype.decodeMiddle=function(t,n,r){var i=this.decodeMiddleCounters;i[0]=0,i[1]=0,i[2]=0,i[3]=0;for(var s=t.getSize(),a=n[1],u=0,l=0;l<6&&a<s;l++){var c=o.default.decodeDigit(t,i,a,o.default.L_AND_G_PATTERNS);r+=String.fromCharCode("0".charCodeAt(0)+c%10);for(var d=0,h=i;d<h.length;d++){a+=h[d]}c>=10&&(u|=1<<5-l)}r=e.determineFirstDigit(r,u);a=o.default.findGuardPattern(t,a,!0,o.default.MIDDLE_PATTERN,new Array(o.default.MIDDLE_PATTERN.length).fill(0))[1];for(l=0;l<6&&a<s;l++){c=o.default.decodeDigit(t,i,a,o.default.L_PATTERNS);r+=String.fromCharCode("0".charCodeAt(0)+c);for(var f=0,p=i;f<p.length;f++){a+=p[f]}}return{rowOffset:a,resultString:r}},e.prototype.getBarcodeFormat=function(){return i.default.EAN_13},e.determineFirstDigit=function(t,e){for(var n=0;n<10;n++)if(e===this.FIRST_DIGIT_ENCODINGS[n])return t=String.fromCharCode("0".charCodeAt(0)+n)+t;throw new s.default},e.FIRST_DIGIT_ENCODINGS=[0,11,13,14,19,25,28,21,22,26],e}(o.default)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(62),i=n(45),o=n(329),s=n(342),a=n(338),u=n(35),l=n(697);e.default=function(){function t(){}return t.prototype.decode=function(t,e){return this.setHints(e),this.decodeInternal(t)},t.prototype.decodeWithState=function(t){return null!==this.readers&&void 0!==this.readers||this.setHints(null),this.decodeInternal(t)},t.prototype.setHints=function(t){this.hints=t;var e=null!==t&&void 0!==t&&void 0!==t.get(r.default.TRY_HARDER),n=null===t||void 0===t?null:t.get(r.default.POSSIBLE_FORMATS),u=new Array;if(null!==n&&void 0!==n){var l=n.some(function(t){return t===i.default.UPC_A||t===i.default.UPC_E||t===i.default.EAN_13||t===i.default.EAN_8||t===i.default.CODABAR||t===i.default.CODE_39||t===i.default.CODE_93||t===i.default.CODE_128||t===i.default.ITF||t===i.default.RSS_14||t===i.default.RSS_EXPANDED});l&&!e&&u.push(new s.default(t)),n.includes(i.default.QR_CODE)&&u.push(new o.default),n.includes(i.default.DATA_MATRIX)&&u.push(new a.default),l&&e&&u.push(new s.default(t))}0===u.length&&(e||u.push(new s.default(t)),u.push(new o.default),u.push(new a.default),e&&u.push(new s.default(t))),this.readers=u},t.prototype.reset=function(){if(null!==this.readers)for(var t=0,e=this.readers;t<e.length;t++){e[t].reset()}},t.prototype.decodeInternal=function(t){if(null===this.readers)throw new l.default("No readers where selected, nothing can be read.");for(var e=0,n=this.readers;e<n.length;e++){var r=n[e];try{return r.decode(t,this.hints)}catch(t){if(t instanceof l.default)continue}}throw new u.default("No MultiFormat Readers were able to detect the code.")},t}()},function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var i=n(69);e.default=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e}(i.default)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(45),i=n(220),o=n(83),s=n(219),a=n(339),u=n(37),l=n(160);e.default=function(){function t(){}return t.prototype.encode=function(e,n,o,l,c){if(0===e.length)throw new u.default("Found empty contents");if(n!==r.default.QR_CODE)throw new u.default("Can only encode QR_CODE, but got "+n);if(o<0||l<0)throw new u.default("Requested dimensions are too small: "+o+"x"+l);var d=s.default.L,h=t.QUIET_ZONE_SIZE;null!==c&&(void 0!==c.get(i.default.ERROR_CORRECTION)&&(d=s.default.fromString(c.get(i.default.ERROR_CORRECTION).toString())),void 0!==c.get(i.default.MARGIN)&&(h=Number.parseInt(c.get(i.default.MARGIN).toString(),10)));var f=a.default.encode(e,d,c);return t.renderResult(f,o,l,h)},t.renderResult=function(t,e,n,r){var i=t.getMatrix();if(null===i)throw new l.default;for(var s=i.getWidth(),a=i.getHeight(),u=s+2*r,c=a+2*r,d=Math.max(e,u),h=Math.max(n,c),f=Math.min(Math.floor(d/u),Math.floor(h/c)),p=Math.floor((d-s*f)/2),m=Math.floor((h-a*f)/2),_=new o.default(d,h),g=0,v=m;g<a;g++,v+=f)for(var y=0,b=p;y<s;y++,b+=f)1===i.get(y,g)&&_.setRegion(b,v,f,f);return _},t.QUIET_ZONE_SIZE=4,t}()},function(t,e,n){"use strict";function r(t,e,n,r,i){return t.setProperty(e,"@@"+n+":"+r,i)}function i(){return Object(c.g)()?new c.e:new c.d}function o(){return new c.f}function s(t,e,n){return new p(t,e,n)}n.d(e,"a",function(){return v}),n.d(e,"b",function(){return d}),n.d(e,"c",function(){return g}),n.d(e,"e",function(){return o}),n.d(e,"f",function(){return s}),n.d(e,"d",function(){return i});var a=n(1),u=n(0),l=n(64),c=n(700),d=function(t){function e(e,n){var r=t.call(this)||this;r._nextAnimationId=0;return r._renderer=e.createRenderer(n.body,{id:"0",encapsulation:a.ViewEncapsulation.None,styles:[],data:{animation:[]}}),r}return Object(u.__extends)(e,t),e.prototype.build=function(t){var e=this._nextAnimationId.toString();this._nextAnimationId++;var n=Array.isArray(t)?Object(l.e)(t):t;return r(this._renderer,null,e,"register",[n]),new h(e,this._renderer)},e}(l.b),h=function(t){function e(e,n){var r=t.call(this)||this;return r._id=e,r._renderer=n,r}return Object(u.__extends)(e,t),e.prototype.create=function(t,e){return new f(this._id,t,e||{},this._renderer)},e}(l.c),f=function(){function t(t,e,n,r){this.id=t,this.element=e,this._renderer=r,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",n)}return t.prototype._listen=function(t,e){return this._renderer.listen(this.element,"@@"+this.id+":"+t,e)},t.prototype._command=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return r(this._renderer,this.element,this.id,t,e)},t.prototype.onDone=function(t){this._listen("done",t)},t.prototype.onStart=function(t){this._listen("start",t)},t.prototype.onDestroy=function(t){this._listen("destroy",t)},t.prototype.init=function(){this._command("init")},t.prototype.hasStarted=function(){return this._started},t.prototype.play=function(){this._command("play"),this._started=!0},t.prototype.pause=function(){this._command("pause")},t.prototype.restart=function(){this._command("restart")},t.prototype.finish=function(){this._command("finish")},t.prototype.destroy=function(){this._command("destroy")},t.prototype.reset=function(){this._command("reset")},t.prototype.setPosition=function(t){this._command("setPosition",t)},t.prototype.getPosition=function(){return 0},t}(),p=function(){function t(t,e,n){this.delegate=t,this.engine=e,this._zone=n,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),e.onRemovalComplete=function(t,e){e&&e.parentNode(t)&&e.removeChild(t.parentNode,t)}}return t.prototype.createRenderer=function(t,e){var n=this,r=this.delegate.createRenderer(t,e);if(!(t&&e&&e.data&&e.data.animation)){var i=this._rendererCache.get(r);return i||(i=new m("",r,this.engine),this._rendererCache.set(r,i)),i}var o=e.id,s=e.id+"-"+this._currentId;this._currentId++,this.engine.register(s,t);return e.data.animation.forEach(function(e){return n.engine.registerTrigger(o,s,t,e.name,e)}),new _(this,s,r,this.engine)},t.prototype.begin=function(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()},t.prototype._scheduleCountTask=function(){var t=this;this.promise.then(function(){t._microtaskId++})},t.prototype.scheduleListenerCallback=function(t,e,n){var r=this;t>=0&&t<this._microtaskId?this._zone.run(function(){return e(n)}):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(function(){r._zone.run(function(){r._animationCallbacksBuffer.forEach(function(t){(0,t[0])(t[1])}),r._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([e,n]))},t.prototype.end=function(){var t=this;this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(function(){t._scheduleCountTask(),t.engine.flush(t._microtaskId)}),this.delegate.end&&this.delegate.end()},t.prototype.whenRenderingDone=function(){return this.engine.whenRenderingDone()},t}(),m=function(){function t(t,e,n){this.namespaceId=t,this.delegate=e,this.engine=n,this.destroyNode=this.delegate.destroyNode?function(t){return e.destroyNode(t)}:null}return Object.defineProperty(t.prototype,"data",{get:function(){return this.delegate.data},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()},t.prototype.createElement=function(t,e){return this.delegate.createElement(t,e)},t.prototype.createComment=function(t){return this.delegate.createComment(t)},t.prototype.createText=function(t){return this.delegate.createText(t)},t.prototype.appendChild=function(t,e){this.delegate.appendChild(t,e),this.engine.onInsert(this.namespaceId,e,t,!1)},t.prototype.insertBefore=function(t,e,n){this.delegate.insertBefore(t,e,n),this.engine.onInsert(this.namespaceId,e,t,!0)},t.prototype.removeChild=function(t,e){this.engine.onRemove(this.namespaceId,e,this.delegate)},t.prototype.selectRootElement=function(t){return this.delegate.selectRootElement(t)},t.prototype.parentNode=function(t){return this.delegate.parentNode(t)},t.prototype.nextSibling=function(t){return this.delegate.nextSibling(t)},t.prototype.setAttribute=function(t,e,n,r){this.delegate.setAttribute(t,e,n,r)},t.prototype.removeAttribute=function(t,e,n){this.delegate.removeAttribute(t,e,n)},t.prototype.addClass=function(t,e){this.delegate.addClass(t,e)},t.prototype.removeClass=function(t,e){this.delegate.removeClass(t,e)},t.prototype.setStyle=function(t,e,n,r){this.delegate.setStyle(t,e,n,r)},t.prototype.removeStyle=function(t,e,n){this.delegate.removeStyle(t,e,n)},t.prototype.setProperty=function(t,e,n){"@"==e.charAt(0)&&"@.disabled"==e?this.disableAnimations(t,!!n):this.delegate.setProperty(t,e,n)},t.prototype.setValue=function(t,e){this.delegate.setValue(t,e)},t.prototype.listen=function(t,e,n){return this.delegate.listen(t,e,n)},t.prototype.disableAnimations=function(t,e){this.engine.disableAnimations(t,e)},t}(),_=function(t){function e(e,n,r,i){var o=t.call(this,n,r,i)||this;return o.factory=e,o.namespaceId=n,o}return Object(u.__extends)(e,t),e.prototype.setProperty=function(t,e,n){"@"==e.charAt(0)?"."==e.charAt(1)&&"@.disabled"==e?this.disableAnimations(t,n=void 0===n||!!n):this.engine.process(this.namespaceId,t,e.substr(1),n):this.delegate.setProperty(t,e,n)},e.prototype.listen=function(t,e,n){var r=this;if("@"==e.charAt(0)){var i=function(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}(t),o=e.substr(1),s="";return"@"!=o.charAt(0)&&(o=(a=function(t){var e=t.indexOf(".");return[t.substring(0,e),t.substr(e+1)]}(o))[0],s=a[1]),this.engine.listen(this.namespaceId,i,o,s,function(t){r.factory.scheduleListenerCallback(t._data||-1,n,t)})}return this.delegate.listen(t,e,n);var a},e}(m),g=function(t){function e(e,n){return t.call(this,e,n)||this}return Object(u.__extends)(e,t),e}(c.b),v=function(){return function(){}}()},function(t,e,n){"use strict";function r(t){switch(t.length){case 0:return new q.d;case 1:return t[0];default:return new q.g(t)}}function i(t,e,n,r,i,o){void 0===i&&(i={}),void 0===o&&(o={});var s=[],a=[],u=-1,l=null;if(r.forEach(function(t){var n=t.offset,r=n==u,c=r&&l||{};Object.keys(t).forEach(function(n){var r=n,a=t[n];if("offset"!==n)switch(r=e.normalizePropertyName(r,s),a){case q.h:a=i[n];break;case q.a:a=o[n];break;default:a=e.normalizeStyleValue(n,r,a,s)}c[r]=a}),r||a.push(c),l=c,u=n}),s.length){throw new Error("Unable to animate due to the following errors:\n - "+s.join("\n - "))}return a}function o(t,e,n,r){switch(e){case"start":t.onStart(function(){return r(n&&s(n,"start",t.totalTime))});break;case"done":t.onDone(function(){return r(n&&s(n,"done",t.totalTime))});break;case"destroy":t.onDestroy(function(){return r(n&&s(n,"destroy",t.totalTime))})}}function s(t,e,n){var r=a(t.element,t.triggerName,t.fromState,t.toState,e||t.phaseName,void 0==n?t.totalTime:n),i=t._data;return null!=i&&(r._data=i),r}function a(t,e,n,r,i,o){return void 0===i&&(i=""),void 0===o&&(o=0),{element:t,triggerName:e,fromState:n,toState:r,phaseName:i,totalTime:o}}function u(t,e,n){var r;return t instanceof Map?(r=t.get(e))||t.set(e,r=n):(r=t[e])||(r=t[e]=n),r}function l(t){var e=t.indexOf(":");return[t.substring(1,e),t.substr(e+1)]}function c(t){Q||(Q=d()||{},tt=!!Q.style&&"WebkitAppearance"in Q.style);var e=!0;if(Q.style&&!function(t){return"ebkit"==t.substring(1,6)}(t)&&!(e=t in Q.style)&&tt){e="Webkit"+t.charAt(0).toUpperCase()+t.substr(1)in Q.style}return e}function d(){return"undefined"!=typeof document?document.body:null}function h(t){if("number"==typeof t)return t;var e=t.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:f(parseFloat(e[1]),e[2])}function f(t,e){switch(e){case"s":return t*st;default:return t}}function p(t,e,n){return t.hasOwnProperty("duration")?t:function(t,e,n){var r,i=0,o="";if("string"==typeof t){var s=t.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===s)return e.push('The provided timing value "'+t+'" is invalid.'),{duration:0,delay:0,easing:""};r=f(parseFloat(s[1]),s[2]);var a=s[3];null!=a&&(i=f(Math.floor(parseFloat(a)),s[4]));var u=s[5];u&&(o=u)}else r=t;if(!n){var l=!1,c=e.length;r<0&&(e.push("Duration values below 0 are not allowed for this animation step."),l=!0),i<0&&(e.push("Delay values below 0 are not allowed for this animation step."),l=!0),l&&e.splice(c,0,'The provided timing value "'+t+'" is invalid.')}return{duration:r,delay:i,easing:o}}(t,e,n)}function m(t,e){return void 0===e&&(e={}),Object.keys(t).forEach(function(n){e[n]=t[n]}),e}function _(t,e,n){if(void 0===n&&(n={}),e)for(var r in t)n[r]=t[r];else m(t,n);return n}function g(t,e){t.style&&Object.keys(e).forEach(function(n){var r=T(n);t.style[r]=e[n]})}function v(t,e){t.style&&Object.keys(e).forEach(function(e){var n=T(e);t.style[n]=""})}function y(t){return Array.isArray(t)?1==t.length?t[0]:Object(q.e)(t):t}function b(t){var e=[];if("string"==typeof t){for(var n=t.toString(),r=void 0;r=lt.exec(n);)e.push(r[1]);lt.lastIndex=0}return e}function w(t,e,n){var r=t.toString(),i=r.replace(lt,function(t,r){var i=e[r];return e.hasOwnProperty(r)||(n.push("Please provide a value for the animation param "+r),i=""),i.toString()});return i==r?t:i}function S(t){for(var e=[],n=t.next();!n.done;)e.push(n.value),n=t.next();return e}function T(t){return t.replace(ct,function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return t[1].toUpperCase()})}function E(t,e,n){switch(e.type){case 7:return t.visitTrigger(e,n);case 0:return t.visitState(e,n);case 1:return t.visitTransition(e,n);case 2:return t.visitSequence(e,n);case 3:return t.visitGroup(e,n);case 4:return t.visitAnimate(e,n);case 5:return t.visitKeyframes(e,n);case 6:return t.visitStyle(e,n);case 8:return t.visitReference(e,n);case 9:return t.visitAnimateChild(e,n);case 10:return t.visitAnimateRef(e,n);case 11:return t.visitQuery(e,n);case 12:return t.visitStagger(e,n);default:throw new Error("Unable to resolve animation metadata node #"+e.type)}}function M(t,e){var n=[];return"string"==typeof t?t.split(/\s*,\s*/).forEach(function(t){return function(t,e,n){if(":"==t[0]){var r=function(t,e){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return function(t,e){return parseFloat(e)>parseFloat(t)};case":decrement":return function(t,e){return parseFloat(e)<parseFloat(t)};default:return e.push('The transition alias value "'+t+'" is not supported'),"* => *"}}(t,n);if("function"==typeof r)return void e.push(r);t=r}var i=t.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return n.push('The provided transition expression "'+t+'" is not supported'),e;var o=i[1],s=i[2],a=i[3];e.push(x(o,a));"<"!=s[0]||o==dt&&a==dt||e.push(x(a,o))}(t,n,e)}):n.push(t),n}function x(t,e){var n=ht.has(t)||ft.has(t),r=ht.has(e)||ft.has(e);return function(i,o){var s=t==dt||t==i,a=e==dt||e==o;return!s&&n&&"boolean"==typeof i&&(s=i?ht.has(t):ft.has(t)),!a&&r&&"boolean"==typeof o&&(a=o?ht.has(e):ft.has(e)),s&&a}}function C(t,e,n){return new _t(t).build(e,n)}function O(t){return!Array.isArray(t)&&"object"==typeof t}function D(t){return t?(t=m(t)).params&&(t.params=function(t){return t?m(t):null}(t.params)):t={},t}function k(t,e,n){return{duration:t,delay:e,easing:n}}function L(t,e,n,r,i,o,s,a){return void 0===s&&(s=null),void 0===a&&(a=!1),{type:1,element:t,keyframes:e,preStyleProps:n,postStyleProps:r,duration:i,delay:o,totalTime:i+o,easing:s,subTimeline:a}}function A(t,e,n,r,i,o,s,a,u,l){return void 0===o&&(o={}),void 0===s&&(s={}),void 0===l&&(l=[]),(new wt).buildKeyframes(t,e,n,r,i,o,s,a,u,l)}function I(t,e){void 0===e&&(e=3);var n=Math.pow(10,e-1);return Math.round(t*n)/n}function P(t,e,n,r,i,o,s,a,u,l,c,d){return{type:0,element:t,triggerName:e,isRemovalTransition:i,fromState:n,fromStyles:o,toState:r,toStyles:s,timelines:a,queriedElements:u,preStyleProps:l,postStyleProps:c,errors:d}}function R(t,e,n){t.hasOwnProperty(e)?t.hasOwnProperty(n)||(t[n]=t[e]):t.hasOwnProperty(n)&&(t[e]=t[n])}function N(t){return t&&1===t.nodeType}function j(t,e){var n=t.style.display;return t.style.display=null!=e?e:"none",n}function Y(t,e,n,r,i){var o=[];n.forEach(function(t){return o.push(j(t))});var s=[];r.forEach(function(n,r){var o={};n.forEach(function(t){var n=o[t]=e.computeStyle(r,t,i);n&&0!=n.length||(r[Yt]=jt,s.push(r))}),t.set(r,o)});var a=0;return n.forEach(function(t){return j(t,o[a++])}),s}function F(t,e){function n(t){if(!t)return i;var e=s.get(t);if(e)return e;var a=t.parentNode;return e=r.has(a)?a:o.has(a)?i:n(a),s.set(t,e),e}var r=new Map;if(t.forEach(function(t){return r.set(t,[])}),0==e.length)return r;var i=1,o=new Set(e),s=new Map;return e.forEach(function(t){var e=n(t);e!==i&&r.get(e).push(t)}),r}function H(t,e){if(t.classList)t.classList.add(e);else{var n=t[Ut];n||(n=t[Ut]={}),n[e]=!0}}function B(t,e){if(t.classList)t.classList.remove(e);else{var n=t[Ut];n&&delete n[e]}}function V(t,e){for(var n=0;n<t.length;n++){var r=t[n];r instanceof q.g?V(r.players,e):e.push(r)}}function z(t,e,n){var r=n.get(t);if(!r)return!1;var i=e.get(t);return i?r.forEach(function(t){return i.add(t)}):e.set(t,r),n.delete(t),!0}function W(t,e){return window.getComputedStyle(t)[e]}function U(){return"undefined"!=typeof Element&&"function"==typeof Element.prototype.animate}n.d(e,"a",function(){return ot}),n.d(e,"c",function(){return xt}),n.d(e,"f",function(){return Ct}),n.d(e,"d",function(){return it}),n.d(e,"b",function(){return qt}),n.d(e,"e",function(){return Xt}),n.d(e,"g",function(){return U});var q=n(64),G=n(0),X=function(t,e){return!1},K=function(t,e){return!1},Z=function(t,e,n){return[]};if("undefined"!=typeof Element){if(X=function(t,e){return t.contains(e)},Element.prototype.matches)K=function(t,e){return t.matches(e)};else{var $=Element.prototype,J=$.matchesSelector||$.mozMatchesSelector||$.msMatchesSelector||$.oMatchesSelector||$.webkitMatchesSelector;J&&(K=function(t,e){return J.apply(t,[e])})}Z=function(t,e,n){var r=[];if(n)r.push.apply(r,t.querySelectorAll(e));else{var i=t.querySelector(e);i&&r.push(i)}return r}}var Q=null,tt=!1,et=K,nt=X,rt=Z,it=function(){function t(){}return t.prototype.validateStyleProperty=function(t){return c(t)},t.prototype.matchesElement=function(t,e){return et(t,e)},t.prototype.containsElement=function(t,e){return nt(t,e)},t.prototype.query=function(t,e,n){return rt(t,e,n)},t.prototype.computeStyle=function(t,e,n){return n||""},t.prototype.animate=function(t,e,n,r,i,o){return void 0===o&&(o=[]),new q.d},t}(),ot=function(){function t(){}return t.NOOP=new it,t}(),st=1e3,at=".ng-trigger",ut=".ng-animating",lt=new RegExp("{{\\s*(.+?)\\s*}}","g"),ct=/-+([a-z0-9])/g,dt="*",ht=new Set(["true","1"]),ft=new Set(["false","0"]),pt=":self",mt=new RegExp("s*"+pt+"s*,?","g"),_t=function(){function t(t){this._driver=t}return t.prototype.build=function(t,e){var n=new gt(e);return this._resetContextStyleTimingState(n),E(this,y(t),n)},t.prototype._resetContextStyleTimingState=function(t){t.currentQuerySelector="",t.collectedStyles={},t.collectedStyles[""]={},t.currentTime=0},t.prototype.visitTrigger=function(t,e){var n=this,r=e.queryCount=0,i=e.depCount=0,o=[],s=[];return"@"==t.name.charAt(0)&&e.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),t.definitions.forEach(function(t){if(n._resetContextStyleTimingState(e),0==t.type){var a=t,u=a.name;u.split(/\s*,\s*/).forEach(function(t){a.name=t,o.push(n.visitState(a,e))}),a.name=u}else if(1==t.type){var l=n.visitTransition(t,e);r+=l.queryCount,i+=l.depCount,s.push(l)}else e.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:t.name,states:o,transitions:s,queryCount:r,depCount:i,options:null}},t.prototype.visitState=function(t,e){var n=this.visitStyle(t.styles,e),r=t.options&&t.options.params||null;if(n.containsDynamicStyles){var i=new Set,o=r||{};if(n.styles.forEach(function(t){if(O(t)){var e=t;Object.keys(e).forEach(function(t){b(e[t]).forEach(function(t){o.hasOwnProperty(t)||i.add(t)})})}}),i.size){var s=S(i.values());e.errors.push('state("'+t.name+'", ...) must define default values for all the following style substitutions: '+s.join(", "))}}return{type:0,name:t.name,style:n,options:r?{params:r}:null}},t.prototype.visitTransition=function(t,e){e.queryCount=0,e.depCount=0;var n=E(this,y(t.animation),e);return{type:1,matchers:M(t.expr,e.errors),animation:n,queryCount:e.queryCount,depCount:e.depCount,options:D(t.options)}},t.prototype.visitSequence=function(t,e){var n=this;return{type:2,steps:t.steps.map(function(t){return E(n,t,e)}),options:D(t.options)}},t.prototype.visitGroup=function(t,e){var n=this,r=e.currentTime,i=0,o=t.steps.map(function(t){e.currentTime=r;var o=E(n,t,e);return i=Math.max(i,e.currentTime),o});return e.currentTime=i,{type:3,steps:o,options:D(t.options)}},t.prototype.visitAnimate=function(t,e){var n=function(t,e){var n=null;if(t.hasOwnProperty("duration"))n=t;else if("number"==typeof t)return k(p(t,e).duration,0,"");var r=t;if(r.split(/\s+/).some(function(t){return"{"==t.charAt(0)&&"{"==t.charAt(1)})){var i=k(0,0,"");return i.dynamic=!0,i.strValue=r,i}return n=n||p(r,e),k(n.duration,n.delay,n.easing)}(t.timings,e.errors);e.currentAnimateTimings=n;var r,i=t.styles?t.styles:Object(q.f)({});if(5==i.type)r=this.visitKeyframes(i,e);else{var o=t.styles,s=!1;if(!o){s=!0;var a={};n.easing&&(a.easing=n.easing),o=Object(q.f)(a)}e.currentTime+=n.duration+n.delay;var u=this.visitStyle(o,e);u.isEmptyStep=s,r=u}return e.currentAnimateTimings=null,{type:4,timings:n,style:r,options:null}},t.prototype.visitStyle=function(t,e){var n=this._makeStyleAst(t,e);return this._validateStyleAst(n,e),n},t.prototype._makeStyleAst=function(t,e){var n=[];Array.isArray(t.styles)?t.styles.forEach(function(t){"string"==typeof t?t==q.a?n.push(t):e.errors.push("The provided style string value "+t+" is not allowed."):n.push(t)}):n.push(t.styles);var r=!1,i=null;return n.forEach(function(t){if(O(t)){var e=t,n=e.easing;if(n&&(i=n,delete e.easing),!r)for(var o in e){if(e[o].toString().indexOf("{{")>=0){r=!0;break}}}}),{type:6,styles:n,easing:i,offset:t.offset,containsDynamicStyles:r,options:null}},t.prototype._validateStyleAst=function(t,e){var n=this,r=e.currentAnimateTimings,i=e.currentTime,o=e.currentTime;r&&o>0&&(o-=r.duration+r.delay),t.styles.forEach(function(t){"string"!=typeof t&&Object.keys(t).forEach(function(r){if(n._driver.validateStyleProperty(r)){var s=e.collectedStyles[e.currentQuerySelector],a=s[r],u=!0;a&&(o!=i&&o>=a.startTime&&i<=a.endTime&&(e.errors.push('The CSS property "'+r+'" that exists between the times of "'+a.startTime+'ms" and "'+a.endTime+'ms" is also being animated in a parallel animation between the times of "'+o+'ms" and "'+i+'ms"'),u=!1),o=a.startTime),u&&(s[r]={startTime:o,endTime:i}),e.options&&function(t,e,n){var r=e.params||{},i=b(t);i.length&&i.forEach(function(t){r.hasOwnProperty(t)||n.push("Unable to resolve the local animation param "+t+" in the given list of values")})}(t[r],e.options,e.errors)}else e.errors.push('The provided animation property "'+r+'" is not a supported CSS property for animations')})})},t.prototype.visitKeyframes=function(t,e){var n=this,r={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push("keyframes() must be placed inside of a call to animate()"),r;var i=0,o=[],s=!1,a=!1,u=0,l=t.steps.map(function(t){var r=n._makeStyleAst(t,e),l=null!=r.offset?r.offset:function(t){if("string"==typeof t)return null;var e=null;if(Array.isArray(t))t.forEach(function(t){if(O(t)&&t.hasOwnProperty("offset")){var n=t;e=parseFloat(n.offset),delete n.offset}});else if(O(t)&&t.hasOwnProperty("offset")){var n=t;e=parseFloat(n.offset),delete n.offset}return e}(r.styles),c=0;return null!=l&&(i++,c=r.offset=l),a=a||c<0||c>1,s=s||c<u,u=c,o.push(c),r});a&&e.errors.push("Please ensure that all keyframe offsets are between 0 and 1"),s&&e.errors.push("Please ensure that all keyframe offsets are in order");var c=t.steps.length,d=0;i>0&&i<c?e.errors.push("Not all style() steps within the declared keyframes() contain offsets"):0==i&&(d=1/(c-1));var h=c-1,f=e.currentTime,p=e.currentAnimateTimings,m=p.duration;return l.forEach(function(t,i){var s=d>0?i==h?1:d*i:o[i],a=s*m;e.currentTime=f+p.delay+a,p.duration=a,n._validateStyleAst(t,e),t.offset=s,r.styles.push(t)}),r},t.prototype.visitReference=function(t,e){return{type:8,animation:E(this,y(t.animation),e),options:D(t.options)}},t.prototype.visitAnimateChild=function(t,e){return e.depCount++,{type:9,options:D(t.options)}},t.prototype.visitAnimateRef=function(t,e){return{type:10,animation:this.visitReference(t.animation,e),options:D(t.options)}},t.prototype.visitQuery=function(t,e){var n=e.currentQuerySelector,r=t.options||{};e.queryCount++,e.currentQuery=t;var i=function(t){var e=!!t.split(/\s*,\s*/).find(function(t){return t==pt});return e&&(t=t.replace(mt,"")),t=t.replace(/@\*/g,at).replace(/@\w+/g,function(t){return at+"-"+t.substr(1)}).replace(/:animating/g,ut),[t,e]}(t.selector),o=i[0],s=i[1];e.currentQuerySelector=n.length?n+" "+o:o,u(e.collectedStyles,e.currentQuerySelector,{});var a=E(this,y(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=n,{type:11,selector:o,limit:r.limit||0,optional:!!r.optional,includeSelf:s,animation:a,originalSelector:t.selector,options:D(t.options)}},t.prototype.visitStagger=function(t,e){e.currentQuery||e.errors.push("stagger() can only be used inside of query()");var n="full"===t.timings?{duration:0,delay:0,easing:"full"}:p(t.timings,e.errors,!0);return{type:12,animation:E(this,y(t.animation),e),timings:n,options:null}},t}(),gt=function(){return 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}}(),vt=function(){function t(){this._map=new Map}return t.prototype.consume=function(t){var e=this._map.get(t);return e?this._map.delete(t):e=[],e},t.prototype.append=function(t,e){var n=this._map.get(t);n||this._map.set(t,n=[]),n.push.apply(n,e)},t.prototype.has=function(t){return this._map.has(t)},t.prototype.clear=function(){this._map.clear()},t}(),yt=new RegExp(":enter","g"),bt=new RegExp(":leave","g"),wt=function(){function t(){}return t.prototype.buildKeyframes=function(t,e,n,r,i,o,s,a,u,l){void 0===l&&(l=[]),u=u||new vt;var c=new Tt(t,e,u,r,i,l,[]);c.options=a,c.currentTimeline.setStyles([o],null,c.errors,a),E(this,n,c);var d=c.timelines.filter(function(t){return t.containsAnimation()});if(d.length&&Object.keys(s).length){var h=d[d.length-1];h.allowOnlyTimelineStyles()||h.setStyles([s],null,c.errors,a)}return d.length?d.map(function(t){return t.buildKeyframes()}):[L(e,[],[],[],0,0,"",!1)]},t.prototype.visitTrigger=function(t,e){},t.prototype.visitState=function(t,e){},t.prototype.visitTransition=function(t,e){},t.prototype.visitAnimateChild=function(t,e){var n=e.subInstructions.consume(e.element);if(n){var r=e.createSubContext(t.options),i=e.currentTimeline.currentTime,o=this._visitSubInstructions(n,r,r.options);i!=o&&e.transformIntoNewTimeline(o)}e.previousNode=t},t.prototype.visitAnimateRef=function(t,e){var n=e.createSubContext(t.options);n.transformIntoNewTimeline(),this.visitReference(t.animation,n),e.transformIntoNewTimeline(n.currentTimeline.currentTime),e.previousNode=t},t.prototype._visitSubInstructions=function(t,e,n){var r=e.currentTimeline.currentTime,i=null!=n.duration?h(n.duration):null,o=null!=n.delay?h(n.delay):null;return 0!==i&&t.forEach(function(t){var n=e.appendInstructionToTimeline(t,i,o);r=Math.max(r,n.duration+n.delay)}),r},t.prototype.visitReference=function(t,e){e.updateOptions(t.options,!0),E(this,t.animation,e),e.previousNode=t},t.prototype.visitSequence=function(t,e){var n=this,r=e.subContextCount,i=e,o=t.options;if(o&&(o.params||o.delay)&&((i=e.createSubContext(o)).transformIntoNewTimeline(),null!=o.delay)){6==i.previousNode.type&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=St);var s=h(o.delay);i.delayNextStep(s)}t.steps.length&&(t.steps.forEach(function(t){return E(n,t,i)}),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>r&&i.transformIntoNewTimeline()),e.previousNode=t},t.prototype.visitGroup=function(t,e){var n=this,r=[],i=e.currentTimeline.currentTime,o=t.options&&t.options.delay?h(t.options.delay):0;t.steps.forEach(function(s){var a=e.createSubContext(t.options);o&&a.delayNextStep(o),E(n,s,a),i=Math.max(i,a.currentTimeline.currentTime),r.push(a.currentTimeline)}),r.forEach(function(t){return e.currentTimeline.mergeTimelineCollectedStyles(t)}),e.transformIntoNewTimeline(i),e.previousNode=t},t.prototype._visitTiming=function(t,e){if(t.dynamic){var n=t.strValue;return p(e.params?w(n,e.params,e.errors):n,e.errors)}return{duration:t.duration,delay:t.delay,easing:t.easing}},t.prototype.visitAnimate=function(t,e){var n=e.currentAnimateTimings=this._visitTiming(t.timings,e),r=e.currentTimeline;n.delay&&(e.incrementTime(n.delay),r.snapshotCurrentStyles());var i=t.style;5==i.type?this.visitKeyframes(i,e):(e.incrementTime(n.duration),this.visitStyle(i,e),r.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t},t.prototype.visitStyle=function(t,e){var n=e.currentTimeline,r=e.currentAnimateTimings;!r&&n.getCurrentStyleProperties().length&&n.forwardFrame();var i=r&&r.easing||t.easing;t.isEmptyStep?n.applyEmptyStep(i):n.setStyles(t.styles,i,e.errors,e.options),e.previousNode=t},t.prototype.visitKeyframes=function(t,e){var n=e.currentAnimateTimings,r=e.currentTimeline.duration,i=n.duration,o=e.createSubContext().currentTimeline;o.easing=n.easing,t.styles.forEach(function(t){o.forwardTime((t.offset||0)*i),o.setStyles(t.styles,t.easing,e.errors,e.options),o.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(o),e.transformIntoNewTimeline(r+i),e.previousNode=t},t.prototype.visitQuery=function(t,e){var n=this,r=e.currentTimeline.currentTime,i=t.options||{},o=i.delay?h(i.delay):0;o&&(6===e.previousNode.type||0==r&&e.currentTimeline.getCurrentStyleProperties().length)&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=St);var s=r,a=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!i.optional,e.errors);e.currentQueryTotal=a.length;var u=null;a.forEach(function(r,i){e.currentQueryIndex=i;var a=e.createSubContext(t.options,r);o&&a.delayNextStep(o),r===e.element&&(u=a.currentTimeline),E(n,t.animation,a),a.currentTimeline.applyStylesToKeyframe();var l=a.currentTimeline.currentTime;s=Math.max(s,l)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(s),u&&(e.currentTimeline.mergeTimelineCollectedStyles(u),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t},t.prototype.visitStagger=function(t,e){var n=e.parentContext,r=e.currentTimeline,i=t.timings,o=Math.abs(i.duration),s=o*e.currentQueryIndex;switch(i.duration<0?"reverse":i.easing){case"reverse":s=o*(e.currentQueryTotal-1)-s;break;case"full":s=n.currentStaggerTime}var a=e.currentTimeline;s&&a.delayNextStep(s);var u=a.currentTime;E(this,t.animation,e),e.previousNode=t,n.currentStaggerTime=r.currentTime-u+(r.startTime-n.currentTimeline.startTime)},t}(),St={},Tt=function(){function t(t,e,n,r,i,o,s,a){this._driver=t,this.element=e,this.subInstructions=n,this._enterClassName=r,this._leaveClassName=i,this.errors=o,this.timelines=s,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=St,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=a||new Et(this._driver,e,0),s.push(this.currentTimeline)}return Object.defineProperty(t.prototype,"params",{get:function(){return this.options.params},enumerable:!0,configurable:!0}),t.prototype.updateOptions=function(t,e){var n=this;if(t){var r=t,i=this.options;null!=r.duration&&(i.duration=h(r.duration)),null!=r.delay&&(i.delay=h(r.delay));var o=r.params;if(o){var s=i.params;s||(s=this.options.params={}),Object.keys(o).forEach(function(t){e&&s.hasOwnProperty(t)||(s[t]=w(o[t],s,n.errors))})}}},t.prototype._copyOptions=function(){var t={};if(this.options){var e=this.options.params;if(e){var n=t.params={};Object.keys(e).forEach(function(t){n[t]=e[t]})}}return t},t.prototype.createSubContext=function(e,n,r){void 0===e&&(e=null);var i=n||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(e),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o},t.prototype.transformIntoNewTimeline=function(t){return this.previousNode=St,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline},t.prototype.appendInstructionToTimeline=function(t,e,n){var r={duration:null!=e?e:t.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+t.delay,easing:""},i=new Mt(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,e,n,r,i,o){var s=[];if(r&&s.push(this.element),t.length>0){t=(t=t.replace(yt,"."+this._enterClassName)).replace(bt,"."+this._leaveClassName);var a=this._driver.query(this.element,t,1!=n);0!==n&&(a=n<0?a.slice(a.length+n,a.length):a.slice(0,n)),s.push.apply(s,a)}return i||0!=s.length||o.push('`query("'+e+'")` returned zero elements. (Use `query("'+e+'", { optional: true })` if you wish to allow this.)'),s},t}(),Et=function(){function t(t,e,n,r){this._driver=t,this.element=e,this.startTime=n,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(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,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 e=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||e?(this.forwardTime(this.currentTime+t),e&&this.snapshotCurrentStyles()):this.startTime+=t},t.prototype.fork=function(e,n){return this.applyStylesToKeyframe(),new t(this._driver,e,n||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,e){this._localTimelineStyles[t]=e,this._globalTimelineStyles[t]=e,this._styleSummary[t]={time:this.currentTime,value:e}},t.prototype.allowOnlyTimelineStyles=function(){return this._currentEmptyStepKeyframe!==this._currentKeyframe},t.prototype.applyEmptyStep=function(t){var e=this;t&&(this._previousKeyframe.easing=t),Object.keys(this._globalTimelineStyles).forEach(function(t){e._backFill[t]=e._globalTimelineStyles[t]||q.a,e._currentKeyframe[t]=q.a}),this._currentEmptyStepKeyframe=this._currentKeyframe},t.prototype.setStyles=function(t,e,n,r){var i=this;e&&(this._previousKeyframe.easing=e);var o=r&&r.params||{},s=function(t,e){var n,r={};return t.forEach(function(t){"*"===t?(n=n||Object.keys(e)).forEach(function(t){r[t]=q.a}):_(t,!1,r)}),r}(t,this._globalTimelineStyles);Object.keys(s).forEach(function(t){var e=w(s[t],o,n);i._pendingStyles[t]=e,i._localTimelineStyles.hasOwnProperty(t)||(i._backFill[t]=i._globalTimelineStyles.hasOwnProperty(t)?i._globalTimelineStyles[t]:q.a),i._updateStyle(t,e)})},t.prototype.applyStylesToKeyframe=function(){var t=this,e=this._pendingStyles,n=Object.keys(e);0!=n.length&&(this._pendingStyles={},n.forEach(function(n){t._currentKeyframe[n]=e[n]}),Object.keys(this._localTimelineStyles).forEach(function(e){t._currentKeyframe.hasOwnProperty(e)||(t._currentKeyframe[e]=t._localTimelineStyles[e])}))},t.prototype.snapshotCurrentStyles=function(){var t=this;Object.keys(this._localTimelineStyles).forEach(function(e){var n=t._localTimelineStyles[e];t._pendingStyles[e]=n,t._updateStyle(e,n)})},t.prototype.getFinalKeyframe=function(){return this._keyframes.get(this.duration)},Object.defineProperty(t.prototype,"properties",{get:function(){var t=[];for(var e in this._currentKeyframe)t.push(e);return t},enumerable:!0,configurable:!0}),t.prototype.mergeTimelineCollectedStyles=function(t){var e=this;Object.keys(t._styleSummary).forEach(function(n){var r=e._styleSummary[n],i=t._styleSummary[n];(!r||i.time>r.time)&&e._updateStyle(n,i.value)})},t.prototype.buildKeyframes=function(){var t=this;this.applyStylesToKeyframe();var e=new Set,n=new Set,r=1===this._keyframes.size&&0===this.duration,i=[];this._keyframes.forEach(function(o,s){var a=_(o,!0);Object.keys(a).forEach(function(t){var r=a[t];r==q.h?e.add(t):r==q.a&&n.add(t)}),r||(a.offset=s/t.duration),i.push(a)});var o=e.size?S(e.values()):[],s=n.size?S(n.values()):[];if(r){var a=i[0],u=m(a);a.offset=0,u.offset=1,i=[a,u]}return L(this.element,i,o,s,this.duration,this.startTime,this.easing,!1)},t}(),Mt=function(t){function e(e,n,r,i,o,s,a){void 0===a&&(a=!1);var u=t.call(this,e,n,s.delay)||this;return u.element=n,u.keyframes=r,u.preStyleProps=i,u.postStyleProps=o,u._stretchStartingKeyframe=a,u.timings={duration:s.duration,delay:s.delay,easing:s.easing},u}return Object(G.__extends)(e,t),e.prototype.containsAnimation=function(){return this.keyframes.length>1},e.prototype.buildKeyframes=function(){var t=this.keyframes,e=this.timings,n=e.delay,r=e.duration,i=e.easing;if(this._stretchStartingKeyframe&&n){var o=[],s=r+n,a=n/s,u=_(t[0],!1);u.offset=0,o.push(u);var l=_(t[0],!1);l.offset=I(a),o.push(l);for(var c=t.length-1,d=1;d<=c;d++){var h=_(t[d],!1);h.offset=I((n+h.offset*r)/s),o.push(h)}r=s,n=0,i="",t=o}return L(this.element,t,this.preStyleProps,this.postStyleProps,r,n,i,!0)},e}(Et),xt=function(){return function(){}}(),Ct=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(G.__extends)(e,t),e.prototype.normalizePropertyName=function(t,e){return T(t)},e.prototype.normalizeStyleValue=function(t,e,n,r){var i="",o=n.toString().trim();if(Ot[e]&&0!==n&&"0"!==n)if("number"==typeof n)i="px";else{var s=n.match(/^[+-]?[\d\.]+([a-z]*)$/);s&&0==s[1].length&&r.push("Please provide a CSS unit value for "+t+":"+n)}return o+i},e}(xt),Ot=function(t){var e={};return t.forEach(function(t){return e[t]=!0}),e}("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(",")),Dt={},kt=function(){function t(t,e,n){this._triggerName=t,this.ast=e,this._stateStyles=n}return t.prototype.match=function(t,e){return function(t,e,n){return t.some(function(t){return t(e,n)})}(this.ast.matchers,t,e)},t.prototype.buildStyles=function(t,e,n){var r=this._stateStyles["*"],i=this._stateStyles[t],o=r?r.buildStyles(e,n):{};return i?i.buildStyles(e,n):o},t.prototype.build=function(t,e,n,r,i,o,s,a,l){var c=[],d=this.ast.options&&this.ast.options.params||Dt,h=this.buildStyles(n,s&&s.params||Dt,c),f=a&&a.params||Dt,p=this.buildStyles(r,f,c),m=new Set,_=new Map,g=new Map,v="void"===r,y={params:Object(G.__assign)({},d,f)},b=A(t,e,this.ast.animation,i,o,h,p,y,l,c);if(c.length)return P(e,this._triggerName,n,r,v,h,p,[],[],_,g,c);b.forEach(function(t){var n=t.element,r=u(_,n,{});t.preStyleProps.forEach(function(t){return r[t]=!0});var i=u(g,n,{});t.postStyleProps.forEach(function(t){return i[t]=!0}),n!==e&&m.add(n)});var w=S(m.values());return P(e,this._triggerName,n,r,v,h,p,b,w,_,g)},t}(),Lt=function(){function t(t,e){this.styles=t,this.defaultParams=e}return t.prototype.buildStyles=function(t,e){var n={},r=m(this.defaultParams);return Object.keys(t).forEach(function(e){var n=t[e];null!=n&&(r[e]=n)}),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=w(o,r,e)),n[t]=o})}}),n},t}(),At=function(){function t(t,e){var n=this;this.name=t,this.ast=e,this.transitionFactories=[],this.states={},e.states.forEach(function(t){n.states[t.name]=new Lt(t.style,t.options&&t.options.params||{})}),R(this.states,"true","1"),R(this.states,"false","0"),e.transitions.forEach(function(e){n.transitionFactories.push(new kt(t,e,n.states))}),this.fallbackTransition=function(t,e){return new kt(t,{type:1,animation:{type:2,steps:[],options:null},matchers:[function(t,e){return!0}],options:null,queryCount:0,depCount:0},e)}(t,this.states)}return Object.defineProperty(t.prototype,"containsQueries",{get:function(){return this.ast.queryCount>0},enumerable:!0,configurable:!0}),t.prototype.matchTransition=function(t,e){return this.transitionFactories.find(function(n){return n.match(t,e)})||null},t.prototype.matchStyles=function(t,e,n){return this.fallbackTransition.buildStyles(t,e,n)},t}(),It=new vt,Pt=function(){function t(t,e){this._driver=t,this._normalizer=e,this._animations={},this._playersById={},this.players=[]}return t.prototype.register=function(t,e){var n=[],r=C(this._driver,e,n);if(n.length)throw new Error("Unable to build the animation due to the following errors: "+n.join("\n"));this._animations[t]=r},t.prototype._buildPlayer=function(t,e,n){var r=t.element,o=i(0,this._normalizer,0,t.keyframes,e,n);return this._driver.animate(r,o,t.duration,t.delay,t.easing,[])},t.prototype.create=function(t,e,n){var i=this;void 0===n&&(n={});var o,s=[],a=this._animations[t],l=new Map;if(a?(o=A(this._driver,e,a,"ng-enter","ng-leave",{},{},n,It,s)).forEach(function(t){var e=u(l,t.element,{});t.postStyleProps.forEach(function(t){return e[t]=null})}):(s.push("The requested animation doesn't exist or has already been destroyed"),o=[]),s.length)throw new Error("Unable to create the animation due to the following errors: "+s.join("\n"));l.forEach(function(t,e){Object.keys(t).forEach(function(n){t[n]=i._driver.computeStyle(e,n,q.a)})});var c=r(o.map(function(t){var e=l.get(t.element);return i._buildPlayer(t,{},e)}));return this._playersById[t]=c,c.onDestroy(function(){return i.destroy(t)}),this.players.push(c),c},t.prototype.destroy=function(t){var e=this._getPlayer(t);e.destroy(),delete this._playersById[t];var n=this.players.indexOf(e);n>=0&&this.players.splice(n,1)},t.prototype._getPlayer=function(t){var e=this._playersById[t];if(!e)throw new Error("Unable to find the timeline player referenced by "+t);return e},t.prototype.listen=function(t,e,n,r){var i=a(e,"","","");return o(this._getPlayer(t),n,i,r),function(){}},t.prototype.command=function(t,e,n,r){if("register"!=n)if("create"!=n){var i=this._getPlayer(t);switch(n){case"play":i.play();break;case"pause":i.pause();break;case"reset":i.reset();break;case"restart":i.restart();break;case"finish":i.finish();break;case"init":i.init();break;case"setPosition":i.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(t)}}else{this.create(t,e,r[0]||{})}else this.register(t,r[0])},t}(),Rt=[],Nt={namespaceId:"",setForRemoval:null,hasAnimation:!1,removedBeforeQueried:!1},jt={namespaceId:"",setForRemoval:null,hasAnimation:!1,removedBeforeQueried:!0},Yt="__ng_removed",Ft=function(){function t(t,e){void 0===e&&(e=""),this.namespaceId=e;var n=t&&t.hasOwnProperty("value");if(this.value=function(t){return null!=t?t:null}(n?t.value:t),n){var r=m(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 e=t.params;if(e){var n=this.options.params;Object.keys(e).forEach(function(t){null==n[t]&&(n[t]=e[t])})}},t}(),Ht=new Ft("void"),Bt=new Ft("DELETED"),Vt=function(){function t(t,e,n){this.id=t,this.hostElement=e,this._engine=n,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+t,H(e,this._hostClassName)}return t.prototype.listen=function(t,e,n,r){var i=this;if(!this._triggers.hasOwnProperty(e))throw new Error('Unable to listen on the animation trigger event "'+n+'" because the animation trigger "'+e+"\" doesn't exist!");if(null==n||0==n.length)throw new Error('Unable to listen on the animation trigger "'+e+'" because the provided event is undefined!');if(!function(t){return"start"==t||"done"==t}(n))throw new Error('The provided animation trigger event "'+n+'" for the animation trigger "'+e+'" is not supported!');var o=u(this._elementListeners,t,[]),s={name:e,phase:n,callback:r};o.push(s);var a=u(this._engine.statesByElement,t,{});return a.hasOwnProperty(e)||(H(t,"ng-trigger"),H(t,"ng-trigger-"+e),a[e]=Ht),function(){i._engine.afterFlush(function(){var t=o.indexOf(s);t>=0&&o.splice(t,1),i._triggers[e]||delete a[e]})}},t.prototype.register=function(t,e){return!this._triggers[t]&&(this._triggers[t]=e,!0)},t.prototype._getTrigger=function(t){var e=this._triggers[t];if(!e)throw new Error('The provided animation trigger "'+t+'" has not been registered!');return e},t.prototype.trigger=function(t,e,n,r){var i=this;void 0===r&&(r=!0);var o=this._getTrigger(e),s=new Wt(this.id,e,t),a=this._engine.statesByElement.get(t);a||(H(t,"ng-trigger"),H(t,"ng-trigger-"+e),this._engine.statesByElement.set(t,a={}));var l=a[e],c=new Ft(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),a[e]=c,l){if(l===Bt)return s}else l=Ht;if("void"===c.value||l.value!==c.value){var d=u(this._engine.playersByElement,t,[]);d.forEach(function(t){t.namespaceId==i.id&&t.triggerName==e&&t.queued&&t.destroy()});var h=o.matchTransition(l.value,c.value),f=!1;if(!h){if(!r)return;h=o.fallbackTransition,f=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:h,fromState:l,toState:c,player:s,isFallbackTransition:f}),f||(H(t,"ng-animate-queued"),s.onStart(function(){B(t,"ng-animate-queued")})),s.onDone(function(){var e=i.players.indexOf(s);e>=0&&i.players.splice(e,1);var n=i._engine.playersByElement.get(t);if(n){var r=n.indexOf(s);r>=0&&n.splice(r,1)}}),this.players.push(s),d.push(s),s}if(!function(t,e){var n=Object.keys(t),r=Object.keys(e);if(n.length!=r.length)return!1;for(var i=0;i<n.length;i++){var o=n[i];if(!e.hasOwnProperty(o)||t[o]!==e[o])return!1}return!0}(l.params,c.params)){var p=[],m=o.matchStyles(l.value,l.params,p),_=o.matchStyles(c.value,c.params,p);p.length?this._engine.reportError(p):this._engine.afterFlush(function(){v(t,m),g(t,_)})}},t.prototype.deregister=function(t){var e=this;delete this._triggers[t],this._engine.statesByElement.forEach(function(e,n){delete e[t]}),this._elementListeners.forEach(function(n,r){e._elementListeners.set(r,n.filter(function(e){return e.name!=t}))})},t.prototype.clearElementCache=function(t){this._engine.statesByElement.delete(t),this._elementListeners.delete(t);var e=this._engine.playersByElement.get(t);e&&(e.forEach(function(t){return t.destroy()}),this._engine.playersByElement.delete(t))},t.prototype._signalRemovalForInnerTriggers=function(t,e,n){var r=this;void 0===n&&(n=!1),this._engine.driver.query(t,at,!0).forEach(function(t){if(!t[Yt]){var n=r._engine.fetchNamespacesByElement(t);n.size?n.forEach(function(n){return n.triggerLeaveAnimation(t,e,!1,!0)}):r.clearElementCache(t)}})},t.prototype.triggerLeaveAnimation=function(t,e,n,i){var o=this,s=this._engine.statesByElement.get(t);if(s){var a=[];if(Object.keys(s).forEach(function(e){if(o._triggers[e]){var n=o.trigger(t,e,"void",i);n&&a.push(n)}}),a.length)return this._engine.markElementAsRemoved(this.id,t,!0,e),n&&r(a).onDone(function(){return o._engine.processLeaveNode(t)}),!0}return!1},t.prototype.prepareLeaveAnimationListeners=function(t){var e=this,n=this._elementListeners.get(t);if(n){var r=new Set;n.forEach(function(n){var i=n.name;if(!r.has(i)){r.add(i);var o=e._triggers[i].fallbackTransition,s=e._engine.statesByElement.get(t)[i]||Ht,a=new Ft("void"),u=new Wt(e.id,i,t);e._engine.totalQueuedPlayers++,e._queue.push({element:t,triggerName:i,transition:o,fromState:s,toState:a,player:u,isFallbackTransition:!0})}})}},t.prototype.removeNode=function(t,e){var n=this,r=this._engine;if(t.childElementCount&&this._signalRemovalForInnerTriggers(t,e,!0),!this.triggerLeaveAnimation(t,e,!0)){var i=!1;if(r.totalAnimations){var o=r.players.length?r.playersByQueriedElement.get(t):[];if(o&&o.length)i=!0;else for(var s=t;s=s.parentNode;){if(r.statesByElement.get(s)){i=!0;break}}}this.prepareLeaveAnimationListeners(t),i?r.markElementAsRemoved(this.id,t,!1,e):(r.afterFlush(function(){return n.clearElementCache(t)}),r.destroyInnerAnimations(t),r._onRemovalComplete(t,e))}},t.prototype.insertNode=function(t,e){H(t,this._hostClassName)},t.prototype.drainQueuedTransitions=function(t){var e=this,n=[];return this._queue.forEach(function(r){var i=r.player;if(!i.destroyed){var s=r.element,u=e._elementListeners.get(s);u&&u.forEach(function(e){if(e.name==r.triggerName){var n=a(s,r.triggerName,r.fromState.value,r.toState.value);n._data=t,o(r.player,e.phase,n,e.callback)}}),i.markedForDestroy?e._engine.afterFlush(function(){i.destroy()}):n.push(r)}}),this._queue=[],n.sort(function(t,n){var r=t.transition.ast.depCount,i=n.transition.ast.depCount;return 0==r||0==i?r-i:e._engine.driver.containsElement(t.element,n.element)?1:-1})},t.prototype.destroy=function(t){this.players.forEach(function(t){return t.destroy()}),this._signalRemovalForInnerTriggers(this.hostElement,t)},t.prototype.elementContainsData=function(t){var e=!1;return this._elementListeners.has(t)&&(e=!0),e=!!this._queue.find(function(e){return e.element===t})||e},t}(),zt=function(){function t(t,e){this.driver=t,this._normalizer=e,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=function(t,e){}}return t.prototype._onRemovalComplete=function(t,e){this.onRemovalComplete(t,e)},Object.defineProperty(t.prototype,"queuedPlayers",{get:function(){var t=[];return this._namespaceList.forEach(function(e){e.players.forEach(function(e){e.queued&&t.push(e)})}),t},enumerable:!0,configurable:!0}),t.prototype.createNamespace=function(t,e){var n=new Vt(t,e,this);return e.parentNode?this._balanceNamespaceList(n,e):(this.newHostElements.set(e,n),this.collectEnterElement(e)),this._namespaceLookup[t]=n},t.prototype._balanceNamespaceList=function(t,e){var n=this._namespaceList.length-1;if(n>=0){for(var r=!1,i=n;i>=0;i--){if(this.driver.containsElement(this._namespaceList[i].hostElement,e)){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(e,t),t},t.prototype.register=function(t,e){var n=this._namespaceLookup[t];return n||(n=this.createNamespace(t,e)),n},t.prototype.registerTrigger=function(t,e,n){var r=this._namespaceLookup[t];r&&r.register(e,n)&&this.totalAnimations++},t.prototype.destroy=function(t,e){var n=this;if(t){var r=this._fetchNamespace(t);this.afterFlush(function(){n.namespacesByHostElement.delete(r.hostElement),delete n._namespaceLookup[t];var e=n._namespaceList.indexOf(r);e>=0&&n._namespaceList.splice(e,1)}),this.afterFlushAnimationsDone(function(){return r.destroy(e)})}},t.prototype._fetchNamespace=function(t){return this._namespaceLookup[t]},t.prototype.fetchNamespacesByElement=function(t){var e=new Set,n=this.statesByElement.get(t);if(n)for(var r=Object.keys(n),i=0;i<r.length;i++){var o=n[r[i]].namespaceId;if(o){var s=this._fetchNamespace(o);s&&e.add(s)}}return e},t.prototype.trigger=function(t,e,n,r){return!!N(e)&&(this._fetchNamespace(t).trigger(e,n,r),!0)},t.prototype.insertNode=function(t,e,n,r){if(N(e)){var i=e[Yt];i&&i.setForRemoval&&(i.setForRemoval=!1),t&&this._fetchNamespace(t).insertNode(e,n),r&&this.collectEnterElement(e)}},t.prototype.collectEnterElement=function(t){this.collectedEnterElements.push(t)},t.prototype.markElementAsDisabled=function(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),H(t,"ng-animate-disabled")):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),B(t,"ng-animate-disabled"))},t.prototype.removeNode=function(t,e,n){if(N(e)){var r=t?this._fetchNamespace(t):null;r?r.removeNode(e,n):this.markElementAsRemoved(t,e,!1,n)}else this._onRemovalComplete(e,n)},t.prototype.markElementAsRemoved=function(t,e,n,r){this.collectedLeaveElements.push(e),e[Yt]={namespaceId:t,setForRemoval:r,hasAnimation:n,removedBeforeQueried:!1}},t.prototype.listen=function(t,e,n,r,i){return N(e)?this._fetchNamespace(t).listen(e,n,r,i):function(){}},t.prototype._buildInstruction=function(t,e,n,r){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,n,r,t.fromState.options,t.toState.options,e)},t.prototype.destroyInnerAnimations=function(t){var e=this,n=this.driver.query(t,at,!0);n.forEach(function(t){return e.destroyActiveAnimationsForElement(t)}),0!=this.playersByQueriedElement.size&&(n=this.driver.query(t,ut,!0)).forEach(function(t){return e.finishActiveQueriedAnimationOnElement(t)})},t.prototype.destroyActiveAnimationsForElement=function(t){var e=this.playersByElement.get(t);e&&e.forEach(function(t){t.queued?t.markedForDestroy=!0:t.destroy()});var n=this.statesByElement.get(t);n&&Object.keys(n).forEach(function(t){return n[t]=Bt})},t.prototype.finishActiveQueriedAnimationOnElement=function(t){var e=this.playersByQueriedElement.get(t);e&&e.forEach(function(t){return t.finish()})},t.prototype.whenRenderingDone=function(){var t=this;return new Promise(function(e){if(t.players.length)return r(t.players).onDone(function(){return e()});e()})},t.prototype.processLeaveNode=function(t){var e=this,n=t[Yt];if(n&&n.setForRemoval){if(t[Yt]=Nt,n.namespaceId){this.destroyInnerAnimations(t);var r=this._fetchNamespace(n.namespaceId);r&&r.clearElementCache(t)}this._onRemovalComplete(t,n.setForRemoval)}this.driver.matchesElement(t,".ng-animate-disabled")&&this.markElementAsDisabled(t,!1),this.driver.query(t,".ng-animate-disabled",!0).forEach(function(n){e.markElementAsDisabled(t,!1)})},t.prototype.flush=function(t){var e=this;void 0===t&&(t=-1);var n=[];if(this.newHostElements.size&&(this.newHostElements.forEach(function(t,n){return e._balanceNamespaceList(t,n)}),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(var i=0;i<this.collectedEnterElements.length;i++){H(this.collectedEnterElements[i],"ng-star-inserted")}if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){var o=[];try{n=this._flushAnimations(o,t)}finally{for(i=0;i<o.length;i++)o[i]()}}else for(i=0;i<this.collectedLeaveElements.length;i++){this.processLeaveNode(this.collectedLeaveElements[i])}if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(function(t){return t()}),this._flushFns=[],this._whenQuietFns.length){var s=this._whenQuietFns;this._whenQuietFns=[],n.length?r(n).onDone(function(){s.forEach(function(t){return t()})}):s.forEach(function(t){return t()})}},t.prototype.reportError=function(t){throw new Error("Unable to process animations due to the following failed trigger transitions\n "+t.join("\n"))},t.prototype._flushAnimations=function(t,e){var n=this,i=new vt,o=[],s=new Map,a=[],l=new Map,c=new Map,h=new Map,f=new Set;this.disabledNodes.forEach(function(t){f.add(t);for(var e=n.driver.query(t,".ng-animate-queued",!0),r=0;r<e.length;r++)f.add(e[r])});var p=d(),m=Array.from(this.statesByElement.keys()),_=F(m,this.collectedEnterElements),y=new Map,b=0;_.forEach(function(t,e){var n="ng-enter"+b++;y.set(e,n),t.forEach(function(t){return H(t,n)})});for(var w=[],S=new Set,T=new Set,E=0;E<this.collectedLeaveElements.length;E++){(X=(U=this.collectedLeaveElements[E])[Yt])&&X.setForRemoval&&(w.push(U),S.add(U),X.hasAnimation?this.driver.query(U,".ng-star-inserted",!0).forEach(function(t){return S.add(t)}):T.add(U))}var M=new Map,x=F(m,Array.from(S));x.forEach(function(t,e){var n="ng-leave"+b++;M.set(e,n),t.forEach(function(t){return H(t,n)})}),t.push(function(){_.forEach(function(t,e){var n=y.get(e);t.forEach(function(t){return B(t,n)})}),x.forEach(function(t,e){var n=M.get(e);t.forEach(function(t){return B(t,n)})}),w.forEach(function(t){n.processLeaveNode(t)})});for(var C=[],O=[],D=this._namespaceList.length-1;D>=0;D--){this._namespaceList[D].drainQueuedTransitions(e).forEach(function(t){var e=t.player;C.push(e);var r=t.element;if(p&&n.driver.containsElement(p,r)){var s=M.get(r),d=y.get(r),f=n._buildInstruction(t,i,d,s);if(f.errors&&f.errors.length)O.push(f);else{if(t.isFallbackTransition)return e.onStart(function(){return v(r,f.fromStyles)}),e.onDestroy(function(){return g(r,f.toStyles)}),void o.push(e);f.timelines.forEach(function(t){return t.stretchStartingKeyframe=!0}),i.append(r,f.timelines);a.push({instruction:f,player:e,element:r}),f.queriedElements.forEach(function(t){return u(l,t,[]).push(e)}),f.preStyleProps.forEach(function(t,e){var n=Object.keys(t);if(n.length){var r=c.get(e);r||c.set(e,r=new Set),n.forEach(function(t){return r.add(t)})}}),f.postStyleProps.forEach(function(t,e){var n=Object.keys(t),r=h.get(e);r||h.set(e,r=new Set),n.forEach(function(t){return r.add(t)})})}}else e.destroy()})}if(O.length){var k=[];O.forEach(function(t){k.push("@"+t.triggerName+" has failed due to:\n"),t.errors.forEach(function(t){return k.push("- "+t+"\n")})}),C.forEach(function(t){return t.destroy()}),this.reportError(k)}var L=new Map,A=new Map;a.forEach(function(t){var e=t.element;i.has(e)&&(A.set(e,e),n._beforeAnimationBuild(t.player.namespaceId,t.instruction,L))}),o.forEach(function(t){var e=t.element;n._getPreviousPlayers(e,!1,t.namespaceId,t.triggerName,null).forEach(function(t){u(L,e,[]).push(t),t.destroy()})});var I=w.filter(function(t){return z(t,c,h)}),P=new Map;Y(P,this.driver,T,h,q.a).forEach(function(t){z(t,c,h)&&I.push(t)});var R=new Map;_.forEach(function(t,e){Y(R,n.driver,new Set(t),c,q.h)}),I.forEach(function(t){var e=P.get(t),n=R.get(t);P.set(t,Object(G.__assign)({},e,n))});var N=[],j=[],V={};a.forEach(function(t){var e=t.element,a=t.player,u=t.instruction;if(i.has(e)){if(f.has(e))return a.onDestroy(function(){return g(e,u.toStyles)}),void o.push(a);var l=V;if(A.size>1){for(var c=e,d=[];c=c.parentNode;){var h=A.get(c);if(h){l=h;break}d.push(c)}d.forEach(function(t){return A.set(t,l)})}var p=n._buildAnimation(a.namespaceId,u,L,s,R,P);if(a.setRealPlayer(p),l===V)N.push(a);else{var m=n.playersByElement.get(l);m&&m.length&&(a.parentPlayer=r(m)),o.push(a)}}else v(e,u.fromStyles),a.onDestroy(function(){return g(e,u.toStyles)}),j.push(a),f.has(e)&&o.push(a)}),j.forEach(function(t){var e=s.get(t.element);if(e&&e.length){var n=r(e);t.setRealPlayer(n)}}),o.forEach(function(t){t.parentPlayer?t.syncPlayerEvents(t.parentPlayer):t.destroy()});for(var W=0;W<w.length;W++){var U,X=(U=w[W])[Yt];if(B(U,"ng-leave"),!X||!X.hasAnimation){var K=[];if(l.size){var Z=l.get(U);Z&&Z.length&&K.push.apply(K,Z);for(var $=this.driver.query(U,ut,!0),J=0;J<$.length;J++){var Q=l.get($[J]);Q&&Q.length&&K.push.apply(K,Q)}}var tt=K.filter(function(t){return!t.destroyed});tt.length?function(t,e,n){r(n).onDone(function(){return t.processLeaveNode(e)})}(this,U,tt):this.processLeaveNode(U)}}return w.length=0,N.forEach(function(t){n.players.push(t),t.onDone(function(){t.destroy();var e=n.players.indexOf(t);n.players.splice(e,1)}),t.play()}),N},t.prototype.elementContainsData=function(t,e){var n=!1,r=e[Yt];return r&&r.setForRemoval&&(n=!0),this.playersByElement.has(e)&&(n=!0),this.playersByQueriedElement.has(e)&&(n=!0),this.statesByElement.has(e)&&(n=!0),this._fetchNamespace(t).elementContainsData(e)||n},t.prototype.afterFlush=function(t){this._flushFns.push(t)},t.prototype.afterFlushAnimationsDone=function(t){this._whenQuietFns.push(t)},t.prototype._getPreviousPlayers=function(t,e,n,r,i){var o=[];if(e){var s=this.playersByQueriedElement.get(t);s&&(o=s)}else{var a=this.playersByElement.get(t);if(a){var u=!i||"void"==i;a.forEach(function(t){t.queued||(u||t.triggerName==r)&&o.push(t)})}}return(n||r)&&(o=o.filter(function(t){return(!n||n==t.namespaceId)&&(!r||r==t.triggerName)})),o},t.prototype._beforeAnimationBuild=function(t,e,n){for(var r=e.element,i=e.isRemovalTransition?void 0:t,o=e.isRemovalTransition?void 0:e.triggerName,s=function(t){var s=t.element,l=s!==r,c=u(n,s,[]);a._getPreviousPlayers(s,l,i,o,e.toState).forEach(function(t){var e=t.getRealPlayer();e.beforeDestroy&&e.beforeDestroy(),t.destroy(),c.push(t)})},a=this,l=0,c=e.timelines;l<c.length;l++){s(c[l])}v(r,e.fromStyles)},t.prototype._buildAnimation=function(t,e,n,o,s,a){var l=this,c=e.triggerName,d=e.element,h=[],f=new Set,p=new Set,m=e.timelines.map(function(e){var r=e.element;f.add(r);var u=r[Yt];if(u&&u.removedBeforeQueried)return new q.d;var m=r!==d,_=function(t){var e=[];return V(t,e),e}((n.get(r)||Rt).map(function(t){return t.getRealPlayer()})).filter(function(t){return!!t.element&&t.element===r}),g=s.get(r),v=a.get(r),y=i(0,l._normalizer,0,e.keyframes,g,v),b=l._buildPlayer(e,y,_);if(e.subTimeline&&o&&p.add(r),m){var w=new Wt(t,c,r);w.setRealPlayer(b),h.push(w)}return b});h.forEach(function(t){u(l.playersByQueriedElement,t.element,[]).push(t),t.onDone(function(){return function(t,e,n){var r;if(t instanceof Map){if(r=t.get(e)){if(r.length){var i=r.indexOf(n);r.splice(i,1)}0==r.length&&t.delete(e)}}else(r=t[e])&&(r.length&&(i=r.indexOf(n),r.splice(i,1)),0==r.length&&delete t[e]);return r}(l.playersByQueriedElement,t.element,t)})}),f.forEach(function(t){return H(t,"ng-animating")});var _=r(m);return _.onDestroy(function(){f.forEach(function(t){return B(t,"ng-animating")}),g(d,e.toStyles)}),p.forEach(function(t){u(o,t,[]).push(_)}),_},t.prototype._buildPlayer=function(t,e,n){return e.length>0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,n):new q.d},t}(),Wt=function(){function t(t,e,n){this.namespaceId=t,this.triggerName=e,this.element=n,this._player=new q.d,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.queued=!0}return t.prototype.setRealPlayer=function(t){var e=this;this._containsRealPlayer||(this._player=t,Object.keys(this._queuedCallbacks).forEach(function(n){e._queuedCallbacks[n].forEach(function(e){return o(t,n,void 0,e)})}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.queued=!1)},t.prototype.getRealPlayer=function(){return this._player},t.prototype.syncPlayerEvents=function(t){var e=this,n=this._player;n.triggerCallback&&t.onStart(function(){return n.triggerCallback("start")}),t.onDone(function(){return e.finish()}),t.onDestroy(function(){return e.destroy()})},t.prototype._queueEvent=function(t,e){u(this._queuedCallbacks,t,[]).push(e)},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 e=this._player;e.triggerCallback&&e.triggerCallback(t)},t}(),Ut="$$classes",qt=function(){function t(t,e){var n=this;this._driver=t,this._triggerCache={},this.onRemovalComplete=function(t,e){},this._transitionEngine=new zt(t,e),this._timelineEngine=new Pt(t,e),this._transitionEngine.onRemovalComplete=function(t,e){return n.onRemovalComplete(t,e)}}return t.prototype.registerTrigger=function(t,e,n,r,i){var o=t+"-"+r,s=this._triggerCache[o];if(!s){var a=[],u=C(this._driver,i,a);if(a.length)throw new Error('The animation trigger "'+r+'" has failed to build due to the following errors:\n - '+a.join("\n - "));s=function(t,e){return new At(t,e)}(r,u),this._triggerCache[o]=s}this._transitionEngine.registerTrigger(e,r,s)},t.prototype.register=function(t,e){this._transitionEngine.register(t,e)},t.prototype.destroy=function(t,e){this._transitionEngine.destroy(t,e)},t.prototype.onInsert=function(t,e,n,r){this._transitionEngine.insertNode(t,e,n,r)},t.prototype.onRemove=function(t,e,n){this._transitionEngine.removeNode(t,e,n)},t.prototype.disableAnimations=function(t,e){this._transitionEngine.markElementAsDisabled(t,e)},t.prototype.process=function(t,e,n,r){if("@"==n.charAt(0)){var i=l(n);this._timelineEngine.command(i[0],e,i[1],r)}else this._transitionEngine.trigger(t,e,n,r)},t.prototype.listen=function(t,e,n,r,i){if("@"==n.charAt(0)){var o=l(n);return this._timelineEngine.listen(o[0],e,o[1],i)}return this._transitionEngine.listen(t,e,n,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}(),Gt=function(){function t(t,e,n,r){void 0===r&&(r=[]);var i=this;this.element=t,this.keyframes=e,this.options=n,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=n.duration,this._delay=n.delay||0,this.time=this._duration+this._delay,function(t,e){return 0===t||0===e}(this._duration,this._delay)&&r.forEach(function(t){var e=t.currentSnapshot;Object.keys(e).forEach(function(t){return i.previousStyles[t]=e[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 e=this.keyframes.map(function(t){return _(t,!1)}),n=Object.keys(this.previousStyles);if(n.length&&e.length){var r=e[0],i=[];if(n.forEach(function(e){r.hasOwnProperty(e)||i.push(e),r[e]=t.previousStyles[e]}),i.length)for(var o=this,s=function(){var t=e[a];i.forEach(function(e){t[e]=W(o.element,e)})},a=1;a<e.length;a++)s()}this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:{},this.domPlayer.addEventListener("finish",function(){return t._onFinish()})}},t.prototype._preparePlayerBeforeStart=function(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()},t.prototype._triggerWebAnimation=function(t,e,n){return t.animate(e,n)},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.play=function(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(function(t){return t()}),this._onStartFns=[],this._started=!0),this.domPlayer.play()},t.prototype.pause=function(){this.init(),this.domPlayer.pause()},t.prototype.finish=function(){this.init(),this._onFinish(),this.domPlayer.finish()},t.prototype.reset=function(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1},t.prototype._resetDomPlayerState=function(){this.domPlayer&&this.domPlayer.cancel()},t.prototype.restart=function(){this.reset(),this.play()},t.prototype.hasStarted=function(){return this._started},t.prototype.destroy=function(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._onDestroyFns.forEach(function(t){return t()}),this._onDestroyFns=[])},t.prototype.setPosition=function(t){this.domPlayer.currentTime=t*this.time},t.prototype.getPosition=function(){return this.domPlayer.currentTime/this.time},Object.defineProperty(t.prototype,"totalTime",{get:function(){return this._delay+this._duration},enumerable:!0,configurable:!0}),t.prototype.beforeDestroy=function(){var t=this,e={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(function(n){"offset"!=n&&(e[n]=t._finished?t._finalKeyframe[n]:W(t.element,n))}),this.currentSnapshot=e},t.prototype.triggerCallback=function(t){var e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(function(t){return t()}),e.length=0},t}(),Xt=function(){function t(){}return t.prototype.validateStyleProperty=function(t){return c(t)},t.prototype.matchesElement=function(t,e){return et(t,e)},t.prototype.containsElement=function(t,e){return nt(t,e)},t.prototype.query=function(t,e,n){return rt(t,e,n)},t.prototype.computeStyle=function(t,e,n){return window.getComputedStyle(t)[e]},t.prototype.animate=function(t,e,n,r,i,o){void 0===o&&(o=[]);var s={duration:n,delay:r,fill:0==r?"both":"forwards"};i&&(s.easing=i);var a=o.filter(function(t){return t instanceof Gt});return new Gt(t,e,s,a)},t}()},function(t,e,n){"use strict";n(222),n(702)},function(t,e,n){"use strict";n.d(e,"a",function(){return o});var r=n(257),i=n(222),o=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[i.a,{provide:r.b,useExisting:i.a}]}},t}()},,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,n){"use strict";function r(t){return i["ɵvid"](2,[i["ɵncd"](null,0)],null,null)}n.d(e,"a",function(){return o}),e.b=r;var i=n(1),o=i["ɵcrt"]({encapsulation:0,styles:["[_nghost-%COMP%] {\n        display: none;\n      }"],data:{}})},,,function(t,e,n){"use strict";function r(t){return st["ɵvid"](0,[st["ɵqud"](402653184,1,{_searchbarInput:0}),st["ɵqud"](402653184,2,{_searchbarIcon:0}),st["ɵqud"](402653184,3,{_cancelButton:0}),(t()(),st["ɵeld"](3,0,null,null,8,"div",[["class","searchbar-input-container"]],null,null,null,null,null)),(t()(),st["ɵeld"](4,0,null,null,3,"button",[["class","searchbar-md-cancel"],["clear",""],["color","dark"],["ion-button",""],["mode","md"],["type","button"]],null,[[null,"click"],[null,"mousedown"]],function(t,e,n){var r=!0,i=t.component;if("click"===e){r=!1!==i.cancelSearchbar(n)&&r}if("mousedown"===e){r=!1!==i.cancelSearchbar(n)&&r}return r},Mt.b,Mt.a)),st["ɵdid"](5,1097728,null,0,xt.a,[[8,""],ft.a,st.ElementRef,st.Renderer],{color:[0,"color"],mode:[1,"mode"],clear:[2,"clear"]},null),(t()(),st["ɵeld"](6,0,null,0,1,"ion-icon",[["name","md-arrow-back"],["role","img"]],[[2,"hide",null]],null,null,null,null)),st["ɵdid"](7,147456,null,0,pt.a,[ft.a,st.ElementRef,st.Renderer],{name:[0,"name"]},null),(t()(),st["ɵeld"](8,0,[[2,0],["searchbarIcon",1]],null,0,"div",[["class","searchbar-search-icon"]],null,null,null,null,null)),(t()(),st["ɵeld"](9,0,[[1,0],["searchbarInput",1]],null,0,"input",[["class","searchbar-input"],["dir","auto"]],[[1,"placeholder",0],[1,"type",0],[1,"autocomplete",0],[1,"autocorrect",0],[1,"spellcheck",0]],[[null,"input"],[null,"blur"],[null,"focus"]],function(t,e,n){var r=!0,i=t.component;if("input"===e){r=!1!==i.inputChanged(n)&&r}if("blur"===e){r=!1!==i.inputBlurred()&&r}if("focus"===e){r=!1!==i.inputFocused()&&r}return r},null,null)),(t()(),st["ɵeld"](10,0,null,null,1,"button",[["class","searchbar-clear-icon"],["clear",""],["ion-button",""],["type","button"]],null,[[null,"click"],[null,"mousedown"]],function(t,e,n){var r=!0,i=t.component;if("click"===e){r=!1!==i.clearInput(n)&&r}if("mousedown"===e){r=!1!==i.clearInput(n)&&r}return r},Mt.b,Mt.a)),st["ɵdid"](11,1097728,null,0,xt.a,[[8,""],ft.a,st.ElementRef,st.Renderer],{mode:[0,"mode"],clear:[1,"clear"]},null),(t()(),st["ɵeld"](12,0,[[3,0]],null,2,"button",[["class","searchbar-ios-cancel"],["clear",""],["ion-button",""],["mode","ios"],["type","button"]],[[8,"tabIndex",0]],[[null,"click"],[null,"mousedown"]],function(t,e,n){var r=!0,i=t.component;if("click"===e){r=!1!==i.cancelSearchbar(n)&&r}if("mousedown"===e){r=!1!==i.cancelSearchbar(n)&&r}return r},Mt.b,Mt.a)),st["ɵdid"](13,1097728,[["cancelButton",4]],0,xt.a,[[8,""],ft.a,st.ElementRef,st.Renderer],{mode:[0,"mode"],clear:[1,"clear"]},null),(t()(),st["ɵted"](14,0,["",""]))],function(t,e){var n=e.component;t(e,5,0,"dark","md","");t(e,7,0,"md-arrow-back");t(e,11,0,n._mode,"");t(e,13,0,"ios","")},function(t,e){var n=e.component;t(e,6,0,st["ɵnov"](e,7)._hidden);t(e,9,0,n.placeholder,n.type,n._autocomplete,n._autocorrect,n._spellcheck);t(e,12,0,n._isActive?1:-1);t(e,14,0,n.cancelButtonText)})}function i(t){return st["ɵvid"](0,[(t()(),st["ɵeld"](0,16777216,null,null,2,"span",[],null,null,null,null,null)),st["ɵdid"](1,540672,null,0,ut.NgTemplateOutlet,[st.ViewContainerRef],{ngTemplateOutlet:[0,"ngTemplateOutlet"]},null),(t()(),st["ɵted"](-1,null,["\n      "])),(t()(),st["ɵand"](0,null,null,0))],function(t,e){t(e,1,0,e.component.selectComponent.titleTemplate)},null)}function o(t){return st["ɵvid"](0,[(t()(),st["ɵeld"](0,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),st["ɵted"](1,null,["\n        ","\n      "]))],null,function(t,e){t(e,1,0,e.component.selectComponent.label)})}function s(t){return st["ɵvid"](0,[(t()(),st["ɵeld"](0,16777216,null,null,2,"span",[],null,null,null,null,null)),st["ɵdid"](1,540672,null,0,ut.NgTemplateOutlet,[st.ViewContainerRef],{ngTemplateOutlet:[0,"ngTemplateOutlet"]},null),(t()(),st["ɵted"](-1,null,["\n        "])),(t()(),st["ɵand"](0,null,null,0))],function(t,e){t(e,1,0,e.component.selectComponent.closeButtonTemplate)},null)}function a(t){return st["ɵvid"](0,[(t()(),st["ɵeld"](0,0,null,null,3,"span",[["ion-text",""],["showWhen","ios"]],[[2,"hidden-show-when",null]],null,null,null,null)),st["ɵdid"](1,147456,null,0,ct.a,[[8,"ios"],dt.a,st.NgZone],null,null),st["ɵdid"](2,16384,null,0,ht.a,[ft.a,st.ElementRef,st.Renderer],null,null),(t()(),st["ɵted"](3,null,["\n          ","\n        "]))],null,function(t,e){var n=e.component;t(e,0,0,!st["ɵnov"](e,1).isMatch);t(e,3,0,n.selectComponent.closeButtonText)})}function u(t){return st["ɵvid"](0,[(t()(),st["ɵeld"](0,0,null,null,3,"ion-icon",[["hideWhen","ios"],["name","md-close"],["role","img"]],[[2,"hide",null],[2,"hidden-hide-when",null]],null,null,null,null)),st["ɵdid"](1,147456,null,0,pt.a,[ft.a,st.ElementRef,st.Renderer],{name:[0,"name"]},null),st["ɵdid"](2,147456,null,0,mt.a,[[8,"ios"],dt.a,st.NgZone],null,null),(t()(),st["ɵted"](-1,null,["\n        "]))],function(t,e){t(e,1,0,"md-close")},function(t,e){t(e,0,0,st["ɵnov"](e,1)._hidden,st["ɵnov"](e,2).isMatch)})}function l(t){return st["ɵvid"](0,[(t()(),st["ɵeld"](0,0,null,null,31,"ion-navbar",[["class","toolbar"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,_t.b,_t.a)),st["ɵdid"](1,49152,null,0,gt.a,[vt.a,[2,yt.a],[2,bt.a],ft.a,st.ElementRef,st.Renderer],{color:[0,"color"]},null),(t()(),st["ɵted"](-1,3,["\n    "])),(t()(),st["ɵeld"](3,0,null,3,9,"ion-title",[],null,null,null,wt.b,wt.a)),st["ɵdid"](4,49152,null,0,St.a,[ft.a,st.ElementRef,st.Renderer,[2,Tt.a],[2,gt.a]],null,null),(t()(),st["ɵted"](-1,0,["\n      "])),(t()(),st["ɵted"](-1,0,["\n      "])),(t()(),st["ɵand"](16777216,null,0,1,null,i)),st["ɵdid"](8,16384,null,0,ut.NgIf,[st.ViewContainerRef,st.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),st["ɵted"](-1,0,["\n      "])),(t()(),st["ɵand"](16777216,null,0,1,null,o)),st["ɵdid"](11,16384,null,0,ut.NgIf,[st.ViewContainerRef,st.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),st["ɵted"](-1,0,["\n    "])),(t()(),st["ɵted"](-1,3,["\n    "])),(t()(),st["ɵeld"](14,0,null,1,16,"ion-buttons",[["start",""]],null,null,null,null,null)),st["ɵdid"](15,16384,null,1,Et.a,[ft.a,st.ElementRef,st.Renderer,[2,Tt.a],[2,gt.a]],null,null),st["ɵqud"](603979776,3,{_buttons:1}),(t()(),st["ɵted"](-1,null,["\n      "])),(t()(),st["ɵeld"](18,0,null,null,11,"button",[["ion-button",""]],null,[[null,"click"]],function(t,e,n){var r=!0;if("click"===e){r=!1!==t.component.selectComponent._close()&&r}return r},Mt.b,Mt.a)),st["ɵdid"](19,1097728,[[3,4]],0,xt.a,[[8,""],ft.a,st.ElementRef,st.Renderer],null,null),(t()(),st["ɵted"](-1,0,["\n        "])),(t()(),st["ɵand"](16777216,null,0,1,null,s)),st["ɵdid"](22,16384,null,0,ut.NgIf,[st.ViewContainerRef,st.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),st["ɵted"](-1,0,["\n        "])),(t()(),st["ɵand"](16777216,null,0,1,null,a)),st["ɵdid"](25,16384,null,0,ut.NgIf,[st.ViewContainerRef,st.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),st["ɵted"](-1,0,["\n        "])),(t()(),st["ɵand"](16777216,null,0,1,null,u)),st["ɵdid"](28,16384,null,0,ut.NgIf,[st.ViewContainerRef,st.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),st["ɵted"](-1,0,["\n      "])),(t()(),st["ɵted"](-1,null,["\n    "])),(t()(),st["ɵted"](-1,3,["\n  "]))],function(t,e){var n=e.component;t(e,1,0,n.selectComponent.headerColor?n.selectComponent.headerColor:null);t(e,8,0,n.selectComponent.titleTemplate);t(e,11,0,!n.selectComponent.titleTemplate);t(e,22,0,n.selectComponent.closeButtonTemplate);t(e,25,0,!n.selectComponent.closeButtonTemplate);t(e,28,0,!n.selectComponent.closeButtonTemplate)},function(t,e){t(e,0,0,st["ɵnov"](e,1)._hidden,st["ɵnov"](e,1)._sbPadding)})}function c(t){return st["ɵvid"](0,[(t()(),st["ɵeld"](0,16777216,null,null,2,"div",[],null,null,null,null,null)),st["ɵdid"](1,540672,null,0,ut.NgTemplateOutlet,[st.ViewContainerRef],{ngTemplateOutlet:[0,"ngTemplateOutlet"]},null),(t()(),st["ɵted"](-1,null,["\n  "])),(t()(),st["ɵand"](0,null,null,0))],function(t,e){t(e,1,0,e.component.selectComponent.headerTemplate)},null)}function d(t){return st["ɵvid"](0,[(t()(),st["ɵeld"](0,0,null,null,5,"ion-searchbar",[],[[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],[2,"searchbar-animated",null],[2,"searchbar-has-value",null],[2,"searchbar-active",null],[2,"searchbar-show-cancel",null],[2,"searchbar-left-aligned",null],[2,"searchbar-has-focus",null]],[[null,"ngModelChange"],[null,"ionInput"]],function(t,e,n){var r=!0,i=t.component;if("ngModelChange"===e){r=!1!==(i.selectComponent._searchText=n)&&r}if("ionInput"===e){r=!1!==i.selectComponent._filterItems()&&r}return r},r,Ot)),st["ɵdid"](1,671744,null,0,lt.r,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),st["ɵprd"](2048,null,lt.n,null,[lt.r]),st["ɵdid"](3,16384,null,0,lt.o,[lt.n],null,null),st["ɵdid"](4,1294336,[[1,4],["searchbarComponent",4]],0,Ct.a,[ft.a,dt.a,st.ElementRef,st.Renderer,[2,lt.n]],{debounce:[0,"debounce"],placeholder:[1,"placeholder"]},{ionInput:"ionInput"}),(t()(),st["ɵted"](-1,null,["\n    "]))],function(t,e){var n=e.component;t(e,1,0,n.selectComponent._searchText);t(e,4,0,n.selectComponent.searchDebounce,n.selectComponent.searchPlaceholder)},function(t,e){t(e,0,1,[st["ɵnov"](e,3).ngClassUntouched,st["ɵnov"](e,3).ngClassTouched,st["ɵnov"](e,3).ngClassPristine,st["ɵnov"](e,3).ngClassDirty,st["ɵnov"](e,3).ngClassValid,st["ɵnov"](e,3).ngClassInvalid,st["ɵnov"](e,3).ngClassPending,st["ɵnov"](e,4)._animated,st["ɵnov"](e,4)._value,st["ɵnov"](e,4)._isActive,st["ɵnov"](e,4)._showCancelButton,st["ɵnov"](e,4)._shouldAlignLeft,st["ɵnov"](e,4)._isFocus])})}function h(t){return st["ɵvid"](0,[(t()(),st["ɵeld"](0,0,null,null,5,"div",[["class","ionic-selectable-message"]],null,null,null,null,null)),(t()(),st["ɵted"](-1,null,["\n      "])),(t()(),st["ɵeld"](2,16777216,null,null,2,"div",[],null,null,null,null,null)),st["ɵdid"](3,540672,null,0,ut.NgTemplateOutlet,[st.ViewContainerRef],{ngTemplateOutlet:[0,"ngTemplateOutlet"]},null),(t()(),st["ɵted"](-1,null,["\n      "])),(t()(),st["ɵted"](-1,null,["\n    "]))],function(t,e){t(e,3,0,e.component.selectComponent.messageTemplate)},null)}function f(t){return st["ɵvid"](0,[(t()(),st["ɵeld"](0,0,null,null,8,"ion-toolbar",[["class","toolbar"]],[[2,"statusbar-padding",null]],null,null,Dt.b,Dt.a)),st["ɵdid"](1,49152,null,0,Tt.a,[ft.a,st.ElementRef,st.Renderer],null,null),(t()(),st["ɵted"](-1,3,["\n    "])),(t()(),st["ɵand"](16777216,null,3,1,null,d)),st["ɵdid"](4,16384,null,0,ut.NgIf,[st.ViewContainerRef,st.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),st["ɵted"](-1,3,["\n    "])),(t()(),st["ɵand"](16777216,null,3,1,null,h)),st["ɵdid"](7,16384,null,0,ut.NgIf,[st.ViewContainerRef,st.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),st["ɵted"](-1,3,["\n  "]))],function(t,e){var n=e.component;t(e,4,0,n.selectComponent.canSearch);t(e,7,0,n.selectComponent.messageTemplate)},function(t,e){t(e,0,0,st["ɵnov"](e,1)._sbPadding)})}function p(t){return st["ɵvid"](0,[(t()(),st["ɵeld"](0,0,null,null,6,"div",[["class","ionic-selectable-spinner"]],null,null,null,null,null)),(t()(),st["ɵted"](-1,null,["\n    "])),(t()(),st["ɵeld"](2,0,null,null,0,"div",[["class","ionic-selectable-spinner-background"]],null,null,null,null,null)),(t()(),st["ɵted"](-1,null,["\n    "])),(t()(),st["ɵeld"](4,0,null,null,1,"ion-spinner",[],[[2,"spinner-paused",null]],null,null,kt.b,kt.a)),st["ɵdid"](5,114688,null,0,Lt.a,[ft.a,st.ElementRef,st.Renderer],null,null),(t()(),st["ɵted"](-1,null,["\n  "]))],function(t,e){t(e,5,0)},function(t,e){t(e,4,0,st["ɵnov"](e,5)._paused)})}function m(t){return st["ɵvid"](0,[(t()(),st["ɵeld"](0,16777216,null,null,3,"span",[],null,null,null,null,null)),st["ɵdid"](1,540672,null,0,ut.NgTemplateOutlet,[st.ViewContainerRef],{ngTemplateOutletContext:[0,"ngTemplateOutletContext"],ngTemplateOutlet:[1,"ngTemplateOutlet"]},null),st["ɵpod"](2,{group:0}),(t()(),st["ɵted"](-1,null,["\n        "])),(t()(),st["ɵand"](0,null,null,0))],function(t,e){var n=e.component;t(e,1,0,t(e,2,0,e.parent.parent.context.$implicit),n.selectComponent.groupTemplate)},null)}function _(t){return st["ɵvid"](0,[(t()(),st["ɵeld"](0,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),st["ɵted"](1,null,["\n          ","\n        "]))],null,function(t,e){t(e,1,0,e.parent.parent.context.$implicit.text)})}function g(t){return st["ɵvid"](0,[(t()(),st["ɵeld"](0,0,null,null,6,"div",[["item-right",""]],null,null,null,null,null)),(t()(),st["ɵted"](-1,null,["\n          "])),(t()(),st["ɵeld"](2,16777216,null,null,3,"div",[],null,null,null,null,null)),st["ɵdid"](3,540672,null,0,ut.NgTemplateOutlet,[st.ViewContainerRef],{ngTemplateOutletContext:[0,"ngTemplateOutletContext"],ngTemplateOutlet:[1,"ngTemplateOutlet"]},null),st["ɵpod"](4,{group:0}),(t()(),st["ɵted"](-1,null,["\n          "])),(t()(),st["ɵted"](-1,null,["\n        "]))],function(t,e){var n=e.component;t(e,3,0,t(e,4,0,e.parent.parent.context.$implicit),n.selectComponent.groupEndTemplate)},null)}function v(t){return st["ɵvid"](0,[(t()(),st["ɵeld"](0,0,null,null,16,"ion-item-divider",[["class","item item-divider"]],null,null,null,At.b,At.a)),st["ɵdid"](1,1097728,null,3,It.a,[Pt.a,ft.a,st.ElementRef,st.Renderer,[2,Rt.a]],{color:[0,"color"]},null),st["ɵqud"](335544320,4,{contentLabel:0}),st["ɵqud"](603979776,5,{_buttons:1}),st["ɵqud"](603979776,6,{_icons:1}),st["ɵdid"](5,16384,null,0,Nt.a,[ft.a,st.ElementRef,st.Renderer],{color:[0,"color"]},null),(t()(),st["ɵted"](-1,2,["\n        "])),(t()(),st["ɵted"](-1,2,["\n        "])),(t()(),st["ɵand"](16777216,null,2,1,null,m)),st["ɵdid"](9,16384,null,0,ut.NgIf,[st.ViewContainerRef,st.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),st["ɵted"](-1,2,["\n        "])),(t()(),st["ɵand"](16777216,null,2,1,null,_)),st["ɵdid"](12,16384,null,0,ut.NgIf,[st.ViewContainerRef,st.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),st["ɵted"](-1,2,["\n        "])),(t()(),st["ɵand"](16777216,null,4,1,null,g)),st["ɵdid"](15,16384,null,0,ut.NgIf,[st.ViewContainerRef,st.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),st["ɵted"](-1,2,["\n      "]))],function(t,e){var n=e.component;t(e,1,0,n.selectComponent.groupColor?n.selectComponent.groupColor:null);t(e,5,0,n.selectComponent.groupColor?n.selectComponent.groupColor:null);t(e,9,0,n.selectComponent.groupTemplate);t(e,12,0,!n.selectComponent.groupTemplate);t(e,15,0,n.selectComponent.groupEndTemplate)},null)}function y(t){return st["ɵvid"](0,[(t()(),st["ɵeld"](0,16777216,null,null,3,"span",[],null,null,null,null,null)),st["ɵdid"](1,540672,null,0,ut.NgTemplateOutlet,[st.ViewContainerRef],{ngTemplateOutletContext:[0,"ngTemplateOutletContext"],ngTemplateOutlet:[1,"ngTemplateOutlet"]},null),st["ɵpod"](2,{item:0,isItemSelected:1}),(t()(),st["ɵted"](-1,null,["\n        "])),(t()(),st["ɵand"](0,null,null,0))],function(t,e){var n=e.component;t(e,1,0,t(e,2,0,e.parent.context.$implicit,n.selectComponent._isItemSelected(e.parent.context.$implicit)),n.selectComponent.itemTemplate)},null)}function b(t){return st["ɵvid"](0,[(t()(),st["ɵeld"](0,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),st["ɵted"](1,null,["\n          ","\n        "]))],null,function(t,e){t(e,1,0,e.component.selectComponent._formatItem(e.parent.context.$implicit))})}function w(t){return st["ɵvid"](0,[(t()(),st["ɵeld"](0,0,null,null,6,"div",[["item-right",""]],null,null,null,null,null)),(t()(),st["ɵted"](-1,null,["\n          "])),(t()(),st["ɵeld"](2,16777216,null,null,3,"div",[],null,null,null,null,null)),st["ɵdid"](3,540672,null,0,ut.NgTemplateOutlet,[st.ViewContainerRef],{ngTemplateOutletContext:[0,"ngTemplateOutletContext"],ngTemplateOutlet:[1,"ngTemplateOutlet"]},null),st["ɵpod"](4,{item:0,isItemSelected:1}),(t()(),st["ɵted"](-1,null,["\n          "])),(t()(),st["ɵted"](-1,null,["\n        "]))],function(t,e){var n=e.component;t(e,3,0,t(e,4,0,e.parent.context.$implicit,n.selectComponent._isItemSelected(e.parent.context.$implicit)),n.selectComponent.itemEndTemplate)},null)}function S(t){return st["ɵvid"](0,[(t()(),st["ɵeld"](0,16777216,null,null,3,"span",[["class","ionic-selectable-item-icon-template"],["item-left",""]],null,null,null,null,null)),st["ɵdid"](1,540672,null,0,ut.NgTemplateOutlet,[st.ViewContainerRef],{ngTemplateOutletContext:[0,"ngTemplateOutletContext"],ngTemplateOutlet:[1,"ngTemplateOutlet"]},null),st["ɵpod"](2,{item:0,isItemSelected:1}),(t()(),st["ɵted"](-1,null,["\n        "])),(t()(),st["ɵand"](0,null,null,0))],function(t,e){var n=e.component;t(e,1,0,t(e,2,0,e.parent.context.$implicit,n.selectComponent._isItemSelected(e.parent.context.$implicit)),n.selectComponent.itemIconTemplate)},null)}function T(t){return st["ɵvid"](0,[(t()(),st["ɵeld"](0,0,null,null,2,"ion-icon",[["item-left",""],["role","img"]],[[2,"hide",null]],null,null,null,null)),st["ɵdid"](1,147456,[[9,4]],0,pt.a,[ft.a,st.ElementRef,st.Renderer],{color:[0,"color"],name:[1,"name"]},null),(t()(),st["ɵted"](-1,null,["\n        "]))],function(t,e){var n=e.component;t(e,1,0,n.selectComponent._isItemSelected(e.parent.context.$implicit)?"primary":"daek",n.selectComponent._isItemSelected(e.parent.context.$implicit)?"checkmark-circle":"radio-button-off")},function(t,e){t(e,0,0,st["ɵnov"](e,1)._hidden)})}function E(t){return st["ɵvid"](0,[(t()(),st["ɵeld"](0,0,null,null,5,"button",[["class","ionic-selectable-item-button"],["icon-only",""],["ion-button",""],["item-end",""],["outline",""]],null,[[null,"click"]],function(t,e,n){var r=!0;if("click"===e){r=!1!==t.component.selectComponent._saveItem(n,t.parent.context.$implicit)&&r}return r},Mt.b,Mt.a)),st["ɵdid"](1,1097728,[[8,4]],0,xt.a,[[8,""],ft.a,st.ElementRef,st.Renderer],{outline:[0,"outline"]},null),(t()(),st["ɵted"](-1,0,["\n          "])),(t()(),st["ɵeld"](3,0,null,0,1,"ion-icon",[["name","md-create"],["role","img"]],[[2,"hide",null]],null,null,null,null)),st["ɵdid"](4,147456,null,0,pt.a,[ft.a,st.ElementRef,st.Renderer],{name:[0,"name"]},null),(t()(),st["ɵted"](-1,0,["\n        "]))],function(t,e){t(e,1,0,"");t(e,4,0,"md-create")},function(t,e){t(e,3,0,st["ɵnov"](e,4)._hidden)})}function M(t){return st["ɵvid"](0,[(t()(),st["ɵeld"](0,0,null,null,5,"button",[["class","ionic-selectable-item-button"],["icon-only",""],["ion-button",""],["item-end",""],["outline",""]],null,[[null,"click"]],function(t,e,n){var r=!0;if("click"===e){r=!1!==t.component.selectComponent._deleteItemClick(n,t.parent.context.$implicit)&&r}return r},Mt.b,Mt.a)),st["ɵdid"](1,1097728,[[8,4]],0,xt.a,[[8,""],ft.a,st.ElementRef,st.Renderer],{outline:[0,"outline"]},null),(t()(),st["ɵted"](-1,0,["\n          "])),(t()(),st["ɵeld"](3,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"]],[[2,"hide",null]],null,null,null,null)),st["ɵdid"](4,147456,null,0,pt.a,[ft.a,st.ElementRef,st.Renderer],{name:[0,"name"]},null),(t()(),st["ɵted"](-1,0,["\n        "]))],function(t,e){t(e,1,0,"");t(e,4,0,"md-trash")},function(t,e){t(e,3,0,st["ɵnov"](e,4)._hidden)})}function x(t){return st["ɵvid"](0,[(t()(),st["ɵeld"](0,0,null,null,30,"button",[["class","ionic-selectable-item item item-block"],["detail-none",""],["ion-item",""]],[[8,"disabled",0]],[[null,"click"]],function(t,e,n){var r=!0;if("click"===e){r=!1!==t.component.selectComponent._select(t.context.$implicit)&&r}return r},At.b,At.a)),st["ɵdid"](1,278528,null,0,ut.NgClass,[st.IterableDiffers,st.KeyValueDiffers,st.ElementRef,st.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),st["ɵpod"](2,{"ionic-selectable-item-is-selected":0,"ionic-selectable-item-is-disabled":1}),st["ɵdid"](3,1097728,null,3,It.a,[Pt.a,ft.a,st.ElementRef,st.Renderer,[2,Rt.a]],null,null),st["ɵqud"](335544320,7,{contentLabel:0}),st["ɵqud"](603979776,8,{_buttons:1}),st["ɵqud"](603979776,9,{_icons:1}),st["ɵdid"](7,16384,null,0,jt.a,[],null,null),(t()(),st["ɵted"](-1,2,["\n        "])),(t()(),st["ɵted"](-1,2,["\n        "])),(t()(),st["ɵand"](16777216,null,2,1,null,y)),st["ɵdid"](11,16384,null,0,ut.NgIf,[st.ViewContainerRef,st.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),st["ɵted"](-1,2,["\n        "])),(t()(),st["ɵand"](16777216,null,2,1,null,b)),st["ɵdid"](14,16384,null,0,ut.NgIf,[st.ViewContainerRef,st.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),st["ɵted"](-1,2,["\n        "])),(t()(),st["ɵand"](16777216,null,4,1,null,w)),st["ɵdid"](17,16384,null,0,ut.NgIf,[st.ViewContainerRef,st.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),st["ɵted"](-1,2,["\n        "])),(t()(),st["ɵand"](16777216,null,0,1,null,S)),st["ɵdid"](20,16384,null,0,ut.NgIf,[st.ViewContainerRef,st.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),st["ɵted"](-1,2,["\n        "])),(t()(),st["ɵand"](16777216,null,0,1,null,T)),st["ɵdid"](23,16384,null,0,ut.NgIf,[st.ViewContainerRef,st.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),st["ɵted"](-1,2,["\n        "])),(t()(),st["ɵand"](16777216,null,4,1,null,E)),st["ɵdid"](26,16384,null,0,ut.NgIf,[st.ViewContainerRef,st.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),st["ɵted"](-1,2,["\n        "])),(t()(),st["ɵand"](16777216,null,4,1,null,M)),st["ɵdid"](29,16384,null,0,ut.NgIf,[st.ViewContainerRef,st.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),st["ɵted"](-1,2,["\n      "]))],function(t,e){var n=e.component;t(e,1,0,"ionic-selectable-item",t(e,2,0,n.selectComponent._isItemSelected(e.context.$implicit),n.selectComponent._isItemDisabled(e.context.$implicit)));t(e,11,0,n.selectComponent.itemTemplate);t(e,14,0,!n.selectComponent.itemTemplate);t(e,17,0,n.selectComponent.itemEndTemplate);t(e,20,0,n.selectComponent.itemIconTemplate);t(e,23,0,!n.selectComponent.itemIconTemplate);t(e,26,0,n.selectComponent.canSaveItem);t(e,29,0,n.selectComponent.canDeleteItem)},function(t,e){t(e,0,0,e.component.selectComponent._isItemDisabled(e.context.$implicit))})}function C(t){return st["ɵvid"](0,[(t()(),st["ɵeld"](0,0,null,null,8,"ion-item-group",[["class","ionic-selectable-group"]],null,null,null,null,null)),st["ɵdid"](1,16384,null,0,Yt.a,[],null,null),(t()(),st["ɵted"](-1,null,["\n      "])),(t()(),st["ɵand"](16777216,null,null,1,null,v)),st["ɵdid"](4,16384,null,0,ut.NgIf,[st.ViewContainerRef,st.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),st["ɵted"](-1,null,["\n      "])),(t()(),st["ɵand"](16777216,null,null,1,null,x)),st["ɵdid"](7,802816,null,0,ut.NgForOf,[st.ViewContainerRef,st.TemplateRef,st.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(t()(),st["ɵted"](-1,null,["\n    "]))],function(t,e){t(e,4,0,e.component.selectComponent._hasGroups);t(e,7,0,e.context.$implicit.items)},null)}function O(t){return st["ɵvid"](0,[(t()(),st["ɵeld"](0,0,null,null,5,"ion-list",[["no-margin",""]],null,null,null,null,null)),st["ɵdid"](1,16384,null,0,Ft.a,[ft.a,st.ElementRef,st.Renderer,dt.a,Ht.l,Bt.a],null,null),(t()(),st["ɵted"](-1,null,["\n    "])),(t()(),st["ɵand"](16777216,null,null,1,null,C)),st["ɵdid"](4,802816,null,0,ut.NgForOf,[st.ViewContainerRef,st.TemplateRef,st.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(t()(),st["ɵted"](-1,null,["\n  "]))],function(t,e){t(e,4,0,e.component.selectComponent._filteredGroups)},null)}function D(t){return st["ɵvid"](0,[(t()(),st["ɵeld"](0,16777216,null,null,2,"span",[],null,null,null,null,null)),st["ɵdid"](1,540672,null,0,ut.NgTemplateOutlet,[st.ViewContainerRef],{ngTemplateOutlet:[0,"ngTemplateOutlet"]},null),(t()(),st["ɵted"](-1,null,["\n    "])),(t()(),st["ɵand"](0,null,null,0))],function(t,e){t(e,1,0,e.component.selectComponent.searchFailTemplate)},null)}function k(t){return st["ɵvid"](0,[(t()(),st["ɵeld"](0,0,null,null,1,"div",[["margin",""]],null,null,null,null,null)),(t()(),st["ɵted"](1,null,["\n      ","\n    "]))],null,function(t,e){t(e,1,0,e.component.selectComponent.searchFailText)})}function L(t){return st["ɵvid"](0,[(t()(),st["ɵeld"](0,0,null,null,7,"div",[],null,null,null,null,null)),(t()(),st["ɵted"](-1,null,["\n    "])),(t()(),st["ɵand"](16777216,null,null,1,null,D)),st["ɵdid"](3,16384,null,0,ut.NgIf,[st.ViewContainerRef,st.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),st["ɵted"](-1,null,["\n    "])),(t()(),st["ɵand"](16777216,null,null,1,null,k)),st["ɵdid"](6,16384,null,0,ut.NgIf,[st.ViewContainerRef,st.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),st["ɵted"](-1,null,["\n  "]))],function(t,e){var n=e.component;t(e,3,0,n.selectComponent.searchFailTemplate);t(e,6,0,!n.selectComponent.searchFailTemplate)},null)}function A(t){return st["ɵvid"](0,[(t()(),st["ɵeld"](0,0,null,null,5,"ion-infinite-scroll",[],null,[[null,"ionInfinite"]],function(t,e,n){var r=!0;if("ionInfinite"===e){r=!1!==t.component.selectComponent._getMoreItems(n)&&r}return r},null,null)),st["ɵdid"](1,1196032,null,0,Vt.a,[zt.a,st.NgZone,st.ElementRef,Bt.a],{enabled:[0,"enabled"]},{ionInfinite:"ionInfinite"}),(t()(),st["ɵted"](-1,null,["\n    "])),(t()(),st["ɵeld"](3,0,null,null,1,"ion-infinite-scroll-content",[],[[1,"state",0]],null,null,Wt.b,Wt.a)),st["ɵdid"](4,114688,null,0,Ut.a,[Vt.a,ft.a],null,null),(t()(),st["ɵted"](-1,null,["\n  "]))],function(t,e){t(e,1,0,e.component.selectComponent.hasInfiniteScroll),t(e,4,0)},function(t,e){t(e,3,0,st["ɵnov"](e,4).inf.state)})}function I(t){return st["ɵvid"](0,[(t()(),st["ɵeld"](0,0,null,null,6,"ion-item-divider",[["class","item item-divider"]],null,null,null,At.b,At.a)),st["ɵdid"](1,1097728,null,3,It.a,[Pt.a,ft.a,st.ElementRef,st.Renderer,[2,Rt.a]],{color:[0,"color"]},null),st["ɵqud"](335544320,13,{contentLabel:0}),st["ɵqud"](603979776,14,{_buttons:1}),st["ɵqud"](603979776,15,{_icons:1}),st["ɵdid"](5,16384,null,0,Nt.a,[ft.a,st.ElementRef,st.Renderer],{color:[0,"color"]},null),(t()(),st["ɵted"](6,2,["\n      ","\n    "]))],function(t,e){var n=e.component;t(e,1,0,n.selectComponent.groupColor?n.selectComponent.groupColor:null);t(e,5,0,n.selectComponent.groupColor?n.selectComponent.groupColor:null)},function(t,e){t(e,6,0,e.context.$implicit)})}function P(t){return st["ɵvid"](0,[(t()(),st["ɵeld"](0,16777216,null,null,3,"span",[],null,null,null,null,null)),st["ɵdid"](1,540672,null,0,ut.NgTemplateOutlet,[st.ViewContainerRef],{ngTemplateOutletContext:[0,"ngTemplateOutletContext"],ngTemplateOutlet:[1,"ngTemplateOutlet"]},null),st["ɵpod"](2,{item:0,isItemSelected:1}),(t()(),st["ɵted"](-1,null,["\n      "])),(t()(),st["ɵand"](0,null,null,0))],function(t,e){var n=e.component;t(e,1,0,t(e,2,0,e.parent.context.$implicit,n.selectComponent._isItemSelected(e.parent.context.$implicit)),n.selectComponent.itemTemplate)},null)}function R(t){return st["ɵvid"](0,[(t()(),st["ɵeld"](0,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),st["ɵted"](1,null,["\n        ","\n      "]))],null,function(t,e){t(e,1,0,e.component.selectComponent._formatItem(e.parent.context.$implicit))})}function N(t){return st["ɵvid"](0,[(t()(),st["ɵeld"](0,0,null,null,6,"div",[["item-right",""]],null,null,null,null,null)),(t()(),st["ɵted"](-1,null,["\n        "])),(t()(),st["ɵeld"](2,16777216,null,null,3,"div",[],null,null,null,null,null)),st["ɵdid"](3,540672,null,0,ut.NgTemplateOutlet,[st.ViewContainerRef],{ngTemplateOutletContext:[0,"ngTemplateOutletContext"],ngTemplateOutlet:[1,"ngTemplateOutlet"]},null),st["ɵpod"](4,{item:0,isItemSelected:1}),(t()(),st["ɵted"](-1,null,["\n        "])),(t()(),st["ɵted"](-1,null,["\n      "]))],function(t,e){var n=e.component;t(e,3,0,t(e,4,0,e.parent.context.$implicit,n.selectComponent._isItemSelected(e.parent.context.$implicit)),n.selectComponent.itemEndTemplate)},null)}function j(t){return st["ɵvid"](0,[(t()(),st["ɵeld"](0,16777216,null,null,3,"span",[["class","ionic-selectable-item-icon-template"],["item-left",""]],null,null,null,null,null)),st["ɵdid"](1,540672,null,0,ut.NgTemplateOutlet,[st.ViewContainerRef],{ngTemplateOutletContext:[0,"ngTemplateOutletContext"],ngTemplateOutlet:[1,"ngTemplateOutlet"]},null),st["ɵpod"](2,{item:0,isItemSelected:1}),(t()(),st["ɵted"](-1,null,["\n      "])),(t()(),st["ɵand"](0,null,null,0))],function(t,e){var n=e.component;t(e,1,0,t(e,2,0,e.parent.context.$implicit,n.selectComponent._isItemSelected(e.parent.context.$implicit)),n.selectComponent.itemIconTemplate)},null)}function Y(t){return st["ɵvid"](0,[(t()(),st["ɵeld"](0,0,null,null,2,"ion-icon",[["item-left",""],["role","img"]],[[2,"hide",null]],null,null,null,null)),st["ɵdid"](1,147456,[[18,4]],0,pt.a,[ft.a,st.ElementRef,st.Renderer],{color:[0,"color"],name:[1,"name"]},null),(t()(),st["ɵted"](-1,null,["\n      "]))],function(t,e){var n=e.component;t(e,1,0,n.selectComponent._isItemSelected(e.parent.context.$implicit)?"primary":"daek",n.selectComponent._isItemSelected(e.parent.context.$implicit)?"checkmark-circle":"radio-button-off")},function(t,e){t(e,0,0,st["ɵnov"](e,1)._hidden)})}function F(t){return st["ɵvid"](0,[(t()(),st["ɵeld"](0,0,null,null,5,"button",[["class","ionic-selectable-item-button"],["icon-only",""],["ion-button",""],["item-end",""],["outline",""]],null,[[null,"click"]],function(t,e,n){var r=!0;if("click"===e){r=!1!==t.component.selectComponent._saveItem(n,t.parent.context.$implicit)&&r}return r},Mt.b,Mt.a)),st["ɵdid"](1,1097728,[[17,4]],0,xt.a,[[8,""],ft.a,st.ElementRef,st.Renderer],{outline:[0,"outline"]},null),(t()(),st["ɵted"](-1,0,["\n        "])),(t()(),st["ɵeld"](3,0,null,0,1,"ion-icon",[["name","md-create"],["role","img"]],[[2,"hide",null]],null,null,null,null)),st["ɵdid"](4,147456,null,0,pt.a,[ft.a,st.ElementRef,st.Renderer],{name:[0,"name"]},null),(t()(),st["ɵted"](-1,0,["\n      "]))],function(t,e){t(e,1,0,"");t(e,4,0,"md-create")},function(t,e){t(e,3,0,st["ɵnov"](e,4)._hidden)})}function H(t){return st["ɵvid"](0,[(t()(),st["ɵeld"](0,0,null,null,5,"button",[["class","ionic-selectable-item-button"],["icon-only",""],["ion-button",""],["item-end",""],["outline",""]],null,[[null,"click"]],function(t,e,n){var r=!0;if("click"===e){r=!1!==t.component.selectComponent._deleteItemClick(n,t.parent.context.$implicit)&&r}return r},Mt.b,Mt.a)),st["ɵdid"](1,1097728,[[17,4]],0,xt.a,[[8,""],ft.a,st.ElementRef,st.Renderer],{outline:[0,"outline"]},null),(t()(),st["ɵted"](-1,0,["\n        "])),(t()(),st["ɵeld"](3,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"]],[[2,"hide",null]],null,null,null,null)),st["ɵdid"](4,147456,null,0,pt.a,[ft.a,st.ElementRef,st.Renderer],{name:[0,"name"]},null),(t()(),st["ɵted"](-1,0,["\n      "]))],function(t,e){t(e,1,0,"");t(e,4,0,"md-trash")},function(t,e){t(e,3,0,st["ɵnov"](e,4)._hidden)})}function B(t){return st["ɵvid"](0,[(t()(),st["ɵeld"](0,0,null,null,30,"button",[["class","ionic-selectable-item item item-block"],["detail-none",""],["ion-item",""]],[[8,"disabled",0]],[[null,"click"]],function(t,e,n){var r=!0;if("click"===e){r=!1!==t.component.selectComponent._select(t.context.$implicit)&&r}return r},At.b,At.a)),st["ɵdid"](1,278528,null,0,ut.NgClass,[st.IterableDiffers,st.KeyValueDiffers,st.ElementRef,st.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),st["ɵpod"](2,{"ionic-selectable-item-is-selected":0,"ionic-selectable-item-is-disabled":1}),st["ɵdid"](3,1097728,null,3,It.a,[Pt.a,ft.a,st.ElementRef,st.Renderer,[2,Rt.a]],null,null),st["ɵqud"](335544320,16,{contentLabel:0}),st["ɵqud"](603979776,17,{_buttons:1}),st["ɵqud"](603979776,18,{_icons:1}),st["ɵdid"](7,16384,null,0,jt.a,[],null,null),(t()(),st["ɵted"](-1,2,["\n      "])),(t()(),st["ɵted"](-1,2,["\n      "])),(t()(),st["ɵand"](16777216,null,2,1,null,P)),st["ɵdid"](11,16384,null,0,ut.NgIf,[st.ViewContainerRef,st.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),st["ɵted"](-1,2,["\n      "])),(t()(),st["ɵand"](16777216,null,2,1,null,R)),st["ɵdid"](14,16384,null,0,ut.NgIf,[st.ViewContainerRef,st.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),st["ɵted"](-1,2,["\n      "])),(t()(),st["ɵand"](16777216,null,4,1,null,N)),st["ɵdid"](17,16384,null,0,ut.NgIf,[st.ViewContainerRef,st.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),st["ɵted"](-1,2,["\n      "])),(t()(),st["ɵand"](16777216,null,0,1,null,j)),st["ɵdid"](20,16384,null,0,ut.NgIf,[st.ViewContainerRef,st.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),st["ɵted"](-1,2,["\n      "])),(t()(),st["ɵand"](16777216,null,0,1,null,Y)),st["ɵdid"](23,16384,null,0,ut.NgIf,[st.ViewContainerRef,st.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),st["ɵted"](-1,2,["\n      "])),(t()(),st["ɵand"](16777216,null,4,1,null,F)),st["ɵdid"](26,16384,null,0,ut.NgIf,[st.ViewContainerRef,st.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),st["ɵted"](-1,2,["\n      "])),(t()(),st["ɵand"](16777216,null,4,1,null,H)),st["ɵdid"](29,16384,null,0,ut.NgIf,[st.ViewContainerRef,st.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),st["ɵted"](-1,2,["\n    "]))],function(t,e){var n=e.component;t(e,1,0,"ionic-selectable-item",t(e,2,0,n.selectComponent._isItemSelected(e.context.$implicit),n.selectComponent._isItemDisabled(e.context.$implicit)));t(e,11,0,n.selectComponent.itemTemplate);t(e,14,0,!n.selectComponent.itemTemplate);t(e,17,0,n.selectComponent.itemEndTemplate);t(e,20,0,n.selectComponent.itemIconTemplate);t(e,23,0,!n.selectComponent.itemIconTemplate);t(e,26,0,n.selectComponent.canSaveItem);t(e,29,0,n.selectComponent.canDeleteItem)},function(t,e){t(e,0,0,e.component.selectComponent._isItemDisabled(e.context.$implicit))})}function V(t){return st["ɵvid"](0,[(t()(),st["ɵeld"](0,0,null,null,12,"ion-list",[["no-margin",""]],null,null,null,null,null)),st["ɵdid"](1,16384,null,0,Ft.a,[ft.a,st.ElementRef,st.Renderer,dt.a,Ht.l,Bt.a],null,null),st["ɵdid"](2,1982464,null,3,qt.a,[st.IterableDiffers,st.ElementRef,st.Renderer,st.NgZone,st.ChangeDetectorRef,zt.a,dt.a,yt.a,ft.a,Bt.a],{virtualScroll:[0,"virtualScroll"],bufferRatio:[1,"bufferRatio"],approxItemWidth:[2,"approxItemWidth"],approxItemHeight:[3,"approxItemHeight"],headerFn:[4,"headerFn"]},null),st["ɵqud"](335544320,10,{_itmTmp:0}),st["ɵqud"](335544320,11,{_hdrTmp:0}),st["ɵqud"](335544320,12,{_ftrTmp:0}),(t()(),st["ɵted"](-1,null,["\n    "])),(t()(),st["ɵand"](0,null,null,1,null,I)),st["ɵdid"](8,16384,[[11,4]],0,Gt.a,[st.TemplateRef],null,null),(t()(),st["ɵted"](-1,null,["\n    "])),(t()(),st["ɵand"](16777216,null,null,1,null,B)),st["ɵdid"](11,16384,[[10,4]],0,Xt.a,[st.TemplateRef,st.ViewContainerRef],null,null),(t()(),st["ɵted"](-1,null,["\n  "]))],function(t,e){var n=e.component;t(e,2,0,n.selectComponent._filteredGroups[0].items,n.selectComponent.virtualScrollBufferRatio,n.selectComponent.virtualScrollApproxItemWidth,n.selectComponent.virtualScrollApproxItemHeight,n.selectComponent.virtualScrollHeaderFn)},null)}function z(t){return st["ɵvid"](0,[(t()(),st["ɵeld"](0,0,null,null,8,"div",[["class","ionic-selectable-add-item-template"]],null,null,null,null,null)),st["ɵdid"](1,278528,null,0,ut.NgStyle,[st.KeyValueDiffers,st.ElementRef,st.Renderer2],{ngStyle:[0,"ngStyle"]},null),st["ɵpod"](2,{"top.px":0}),(t()(),st["ɵted"](-1,null,["\n  "])),(t()(),st["ɵeld"](4,16777216,null,null,3,"span",[],null,null,null,null,null)),st["ɵdid"](5,540672,null,0,ut.NgTemplateOutlet,[st.ViewContainerRef],{ngTemplateOutletContext:[0,"ngTemplateOutletContext"],ngTemplateOutlet:[1,"ngTemplateOutlet"]},null),st["ɵpod"](6,{item:0,isAdd:1}),(t()(),st["ɵted"](-1,null,["\n  "])),(t()(),st["ɵted"](-1,null,["\n"]))],function(t,e){var n=e.component;t(e,1,0,t(e,2,0,n._header.offsetHeight));t(e,5,0,t(e,6,0,n.selectComponent._itemToAdd,null===n.selectComponent._itemToAdd),n.selectComponent.addItemTemplate)},null)}function W(t){return st["ɵvid"](0,[(t()(),st["ɵeld"](0,0,null,null,6,"ion-col",[["class","col"]],null,null,null,null,null)),st["ɵdid"](1,16384,null,0,Kt.a,[],null,null),(t()(),st["ɵted"](-1,null,["\n        "])),(t()(),st["ɵeld"](3,0,null,null,2,"button",[["full",""],["ion-button",""],["no-margin",""]],[[8,"disabled",0]],[[null,"click"]],function(t,e,n){var r=!0;if("click"===e){r=!1!==t.component.selectComponent._clear()&&r}return r},Mt.b,Mt.a)),st["ɵdid"](4,1097728,null,0,xt.a,[[8,""],ft.a,st.ElementRef,st.Renderer],{full:[0,"full"]},null),(t()(),st["ɵted"](5,0,["\n          ","\n        "])),(t()(),st["ɵted"](-1,null,["\n      "]))],function(t,e){t(e,4,0,"")},function(t,e){var n=e.component;t(e,3,0,!n.selectComponent._selectedItems.length);t(e,5,0,n.selectComponent.clearButtonText)})}function U(t){return st["ɵvid"](0,[(t()(),st["ɵeld"](0,0,null,null,6,"ion-col",[["class","col"]],null,null,null,null,null)),st["ɵdid"](1,16384,null,0,Kt.a,[],null,null),(t()(),st["ɵted"](-1,null,["\n        "])),(t()(),st["ɵeld"](3,0,null,null,2,"button",[["full",""],["ion-button",""],["no-margin",""]],null,[[null,"click"]],function(t,e,n){var r=!0;if("click"===e){r=!1!==t.component.selectComponent._addItemClick()&&r}return r},Mt.b,Mt.a)),st["ɵdid"](4,1097728,null,0,xt.a,[[8,""],ft.a,st.ElementRef,st.Renderer],{full:[0,"full"]},null),(t()(),st["ɵted"](5,0,["\n          ","\n        "])),(t()(),st["ɵted"](-1,null,["\n      "]))],function(t,e){t(e,4,0,"")},function(t,e){t(e,5,0,e.component.selectComponent.addButtonText)})}function q(t){return st["ɵvid"](0,[(t()(),st["ɵeld"](0,0,null,null,6,"ion-col",[["class","col"]],null,null,null,null,null)),st["ɵdid"](1,16384,null,0,Kt.a,[],null,null),(t()(),st["ɵted"](-1,null,["\n        "])),(t()(),st["ɵeld"](3,0,null,null,2,"button",[["full",""],["ion-button",""],["no-margin",""]],[[8,"disabled",0]],[[null,"click"]],function(t,e,n){var r=!0;if("click"===e){r=!1!==t.component.selectComponent._confirm()&&r}return r},Mt.b,Mt.a)),st["ɵdid"](4,1097728,null,0,xt.a,[[8,""],ft.a,st.ElementRef,st.Renderer],{full:[0,"full"]},null),(t()(),st["ɵted"](5,0,["\n          ","\n        "])),(t()(),st["ɵted"](-1,null,["\n      "]))],function(t,e){t(e,4,0,"")},function(t,e){var n=e.component;t(e,3,0,!n.selectComponent.isConfirmButtonEnabled);t(e,5,0,n.selectComponent.confirmButtonText)})}function G(t){return st["ɵvid"](0,[(t()(),st["ɵeld"](0,0,null,null,15,"ion-toolbar",[["class","toolbar"]],[[2,"statusbar-padding",null]],null,null,Dt.b,Dt.a)),st["ɵdid"](1,49152,null,0,Tt.a,[ft.a,st.ElementRef,st.Renderer],null,null),(t()(),st["ɵted"](-1,3,["\n    "])),(t()(),st["ɵeld"](3,0,null,3,11,"ion-row",[["class","row"]],null,null,null,null,null)),st["ɵdid"](4,16384,null,0,Zt.a,[],null,null),(t()(),st["ɵted"](-1,null,["\n      "])),(t()(),st["ɵand"](16777216,null,null,1,null,W)),st["ɵdid"](7,16384,null,0,ut.NgIf,[st.ViewContainerRef,st.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),st["ɵted"](-1,null,["\n      "])),(t()(),st["ɵand"](16777216,null,null,1,null,U)),st["ɵdid"](10,16384,null,0,ut.NgIf,[st.ViewContainerRef,st.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),st["ɵted"](-1,null,["\n      "])),(t()(),st["ɵand"](16777216,null,null,1,null,q)),st["ɵdid"](13,16384,null,0,ut.NgIf,[st.ViewContainerRef,st.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),st["ɵted"](-1,null,["\n    "])),(t()(),st["ɵted"](-1,3,["\n  "]))],function(t,e){var n=e.component;t(e,7,0,n.selectComponent.canClear);t(e,10,0,n.selectComponent.canAddItem);t(e,13,0,n.selectComponent.isMultiple||n.selectComponent.hasConfirmButton)},function(t,e){t(e,0,0,st["ɵnov"](e,1)._sbPadding)})}function X(t){return st["ɵvid"](0,[(t()(),st["ɵeld"](0,16777216,null,null,2,"div",[],null,null,null,null,null)),st["ɵdid"](1,540672,null,0,ut.NgTemplateOutlet,[st.ViewContainerRef],{ngTemplateOutlet:[0,"ngTemplateOutlet"]},null),(t()(),st["ɵted"](-1,null,["\n  "])),(t()(),st["ɵand"](0,null,null,0))],function(t,e){t(e,1,0,e.component.selectComponent.footerTemplate)},null)}function K(t){return st["ɵvid"](0,[(t()(),st["ɵeld"](0,0,null,null,10,"ion-footer",[],null,null,null,null,null)),st["ɵdid"](1,278528,null,0,ut.NgStyle,[st.KeyValueDiffers,st.ElementRef,st.Renderer2],{ngStyle:[0,"ngStyle"]},null),st["ɵpod"](2,{visibility:0}),st["ɵdid"](3,16384,null,0,$t.a,[ft.a,st.ElementRef,st.Renderer,[2,yt.a]],null,null),(t()(),st["ɵted"](-1,null,["\n  "])),(t()(),st["ɵand"](16777216,null,null,1,null,G)),st["ɵdid"](6,16384,null,0,ut.NgIf,[st.ViewContainerRef,st.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),st["ɵted"](-1,null,["\n  "])),(t()(),st["ɵand"](16777216,null,null,1,null,X)),st["ɵdid"](9,16384,null,0,ut.NgIf,[st.ViewContainerRef,st.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),st["ɵted"](-1,null,["\n"]))],function(t,e){var n=e.component;t(e,1,0,t(e,2,0,n.selectComponent._isFooterVisible?"initial":"hidden"));t(e,6,0,!n.selectComponent.footerTemplate);t(e,9,0,n.selectComponent.footerTemplate)},null)}function Z(t){return st["ɵvid"](0,[st["ɵqud"](671088640,1,{_searchbarComponent:0}),st["ɵqud"](402653184,2,{_content:0}),(t()(),st["ɵeld"](2,0,null,null,11,"ion-header",[],null,null,null,null,null)),st["ɵdid"](3,16384,null,0,Jt.a,[ft.a,st.ElementRef,st.Renderer,[2,yt.a]],null,null),(t()(),st["ɵted"](-1,null,["\n  "])),(t()(),st["ɵand"](16777216,null,null,1,null,l)),st["ɵdid"](6,16384,null,0,ut.NgIf,[st.ViewContainerRef,st.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),st["ɵted"](-1,null,["\n  "])),(t()(),st["ɵand"](16777216,null,null,1,null,c)),st["ɵdid"](9,16384,null,0,ut.NgIf,[st.ViewContainerRef,st.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),st["ɵted"](-1,null,["\n  "])),(t()(),st["ɵand"](16777216,null,null,1,null,f)),st["ɵdid"](12,16384,null,0,ut.NgIf,[st.ViewContainerRef,st.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),st["ɵted"](-1,null,["\n"])),(t()(),st["ɵted"](-1,null,["\n"])),(t()(),st["ɵeld"](15,0,null,null,18,"ion-content",[],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,Qt.b,Qt.a)),st["ɵdid"](16,4374528,[[2,4]],0,zt.a,[ft.a,dt.a,Bt.a,st.ElementRef,st.Renderer,vt.a,te.a,st.NgZone,[2,yt.a],[2,bt.a]],null,null),(t()(),st["ɵted"](-1,1,["\n  "])),(t()(),st["ɵand"](16777216,null,1,1,null,p)),st["ɵdid"](19,16384,null,0,ut.NgIf,[st.ViewContainerRef,st.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),st["ɵted"](-1,1,["\n  "])),(t()(),st["ɵand"](16777216,null,1,1,null,O)),st["ɵdid"](22,16384,null,0,ut.NgIf,[st.ViewContainerRef,st.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),st["ɵted"](-1,1,["\n  "])),(t()(),st["ɵted"](-1,1,["\n  "])),(t()(),st["ɵand"](16777216,null,1,1,null,L)),st["ɵdid"](26,16384,null,0,ut.NgIf,[st.ViewContainerRef,st.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),st["ɵted"](-1,1,["\n  "])),(t()(),st["ɵand"](16777216,null,1,1,null,A)),st["ɵdid"](29,16384,null,0,ut.NgIf,[st.ViewContainerRef,st.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),st["ɵted"](-1,1,["\n  "])),(t()(),st["ɵand"](16777216,null,1,1,null,V)),st["ɵdid"](32,16384,null,0,ut.NgIf,[st.ViewContainerRef,st.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),st["ɵted"](-1,1,["\n"])),(t()(),st["ɵted"](-1,null,["\n"])),(t()(),st["ɵand"](16777216,null,null,1,null,z)),st["ɵdid"](36,16384,null,0,ut.NgIf,[st.ViewContainerRef,st.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),st["ɵted"](-1,null,["\n"])),(t()(),st["ɵand"](16777216,null,null,1,null,K)),st["ɵdid"](39,16384,null,0,ut.NgIf,[st.ViewContainerRef,st.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),st["ɵted"](-1,null,["\n"]))],function(t,e){var n=e.component;t(e,6,0,!n.selectComponent.headerTemplate);t(e,9,0,n.selectComponent.headerTemplate);t(e,12,0,n.selectComponent.canSearch||n.selectComponent.messageTemplate);t(e,19,0,n.selectComponent._isSearching);t(e,22,0,!n.selectComponent.hasVirtualScroll&&n.selectComponent._hasFilteredItems);t(e,26,0,!n.selectComponent._hasFilteredItems);t(e,29,0,!n.selectComponent.hasVirtualScroll);t(e,32,0,n.selectComponent.hasVirtualScroll&&n.selectComponent._hasFilteredItems);t(e,36,0,n.selectComponent._isAddItemTemplateVisible);t(e,39,0,n.selectComponent._footerButtonsCount>0||n.selectComponent.footerTemplate)},function(t,e){t(e,15,0,st["ɵnov"](e,16).statusbarPadding,st["ɵnov"](e,16)._hasRefresher)})}function $(t){return st["ɵvid"](0,[(t()(),st["ɵeld"](0,16777216,null,null,3,"div",[],null,null,null,null,null)),st["ɵdid"](1,540672,null,0,ut.NgTemplateOutlet,[st.ViewContainerRef],{ngTemplateOutletContext:[0,"ngTemplateOutletContext"],ngTemplateOutlet:[1,"ngTemplateOutlet"]},null),st["ɵpod"](2,{value:0}),(t()(),st["ɵted"](-1,null,["\n  "])),(t()(),st["ɵand"](0,null,null,0))],function(t,e){var n=e.component;t(e,1,0,t(e,2,0,n._valueItems),n.valueTemplate)},null)}function J(t){return st["ɵvid"](0,[(t()(),st["ɵeld"](0,0,null,null,6,"div",[["class","ionic-selectable-value-item"]],null,null,null,null,null)),(t()(),st["ɵted"](-1,null,["\n    "])),(t()(),st["ɵeld"](2,16777216,null,null,3,"div",[],null,null,null,null,null)),st["ɵdid"](3,540672,null,0,ut.NgTemplateOutlet,[st.ViewContainerRef],{ngTemplateOutletContext:[0,"ngTemplateOutletContext"],ngTemplateOutlet:[1,"ngTemplateOutlet"]},null),st["ɵpod"](4,{value:0}),(t()(),st["ɵted"](-1,null,["\n    "])),(t()(),st["ɵted"](-1,null,["\n  "]))],function(t,e){var n=e.component;t(e,3,0,t(e,4,0,n._valueItems[0]),n.valueTemplate)},null)}function Q(t){return st["ɵvid"](0,[(t()(),st["ɵeld"](0,0,null,null,1,"div",[["class","ionic-selectable-value-item"]],null,null,null,null,null)),(t()(),st["ɵted"](1,null,["\n      ","\n    "]))],null,function(t,e){t(e,1,0,e.component._formatValueItem(e.context.$implicit))})}function tt(t){return st["ɵvid"](0,[(t()(),st["ɵeld"](0,0,null,null,4,"span",[],null,null,null,null,null)),(t()(),st["ɵted"](-1,null,["\n    "])),(t()(),st["ɵand"](16777216,null,null,1,null,Q)),st["ɵdid"](3,802816,null,0,ut.NgForOf,[st.ViewContainerRef,st.TemplateRef,st.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(t()(),st["ɵted"](-1,null,["\n  "]))],function(t,e){t(e,3,0,e.component._valueItems)},null)}function et(t){return st["ɵvid"](0,[(t()(),st["ɵeld"](0,0,null,null,5,"div",[["class","ionic-selectable-value-item"]],null,null,null,null,null)),(t()(),st["ɵted"](-1,null,["\n    "])),(t()(),st["ɵeld"](2,16777216,null,null,2,"div",[],null,null,null,null,null)),st["ɵdid"](3,540672,null,0,ut.NgTemplateOutlet,[st.ViewContainerRef],{ngTemplateOutlet:[0,"ngTemplateOutlet"]},null),(t()(),st["ɵted"](-1,null,["\n    "])),(t()(),st["ɵted"](-1,null,["\n  "]))],function(t,e){t(e,3,0,e.component.placeholderTemplate)},null)}function nt(t){return st["ɵvid"](0,[(t()(),st["ɵeld"](0,0,null,null,1,"div",[["class","ionic-selectable-value-item"]],null,null,null,null,null)),(t()(),st["ɵted"](1,null,["\n    ","\n  "]))],null,function(t,e){t(e,1,0,e.component.placeholder)})}function rt(t){return st["ɵvid"](0,[(t()(),st["ɵeld"](0,0,null,null,4,"div",[["class","ionic-selectable-icon-template"]],null,null,null,null,null)),(t()(),st["ɵted"](-1,null,["\n  "])),(t()(),st["ɵeld"](2,16777216,null,null,1,"div",[],null,null,null,null,null)),st["ɵdid"](3,540672,null,0,ut.NgTemplateOutlet,[st.ViewContainerRef],{ngTemplateOutlet:[0,"ngTemplateOutlet"]},null),(t()(),st["ɵted"](-1,null,["\n"]))],function(t,e){t(e,3,0,e.component.iconTemplate)},null)}function it(t){return st["ɵvid"](0,[(t()(),st["ɵeld"](0,0,null,null,3,"div",[["class","ionic-selectable-icon"]],null,null,null,null,null)),(t()(),st["ɵted"](-1,null,["\n  "])),(t()(),st["ɵeld"](2,0,null,null,0,"div",[["class","ionic-selectable-icon-inner"]],null,null,null,null,null)),(t()(),st["ɵted"](-1,null,["\n"]))],null,null)}function ot(t){return st["ɵvid"](0,[(t()(),st["ɵeld"](0,0,null,null,16,"div",[["class","ionic-selectable-value"]],null,null,null,null,null)),(t()(),st["ɵted"](-1,null,["\n  "])),(t()(),st["ɵand"](16777216,null,null,1,null,$)),st["ɵdid"](3,16384,null,0,ut.NgIf,[st.ViewContainerRef,st.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),st["ɵted"](-1,null,["\n  "])),(t()(),st["ɵand"](16777216,null,null,1,null,J)),st["ɵdid"](6,16384,null,0,ut.NgIf,[st.ViewContainerRef,st.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),st["ɵted"](-1,null,["\n  "])),(t()(),st["ɵand"](16777216,null,null,1,null,tt)),st["ɵdid"](9,16384,null,0,ut.NgIf,[st.ViewContainerRef,st.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),st["ɵted"](-1,null,["\n  "])),(t()(),st["ɵand"](16777216,null,null,1,null,et)),st["ɵdid"](12,16384,null,0,ut.NgIf,[st.ViewContainerRef,st.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),st["ɵted"](-1,null,["\n  "])),(t()(),st["ɵand"](16777216,null,null,1,null,nt)),st["ɵdid"](15,16384,null,0,ut.NgIf,[st.ViewContainerRef,st.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),st["ɵted"](-1,null,["\n"])),(t()(),st["ɵted"](-1,null,["\n"])),(t()(),st["ɵand"](16777216,null,null,1,null,rt)),st["ɵdid"](19,16384,null,0,ut.NgIf,[st.ViewContainerRef,st.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),st["ɵted"](-1,null,["\n"])),(t()(),st["ɵand"](16777216,null,null,1,null,it)),st["ɵdid"](22,16384,null,0,ut.NgIf,[st.ViewContainerRef,st.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),st["ɵted"](-1,null,["\n"])),(t()(),st["ɵeld"](24,0,null,null,2,"button",[["aria-haspopup","true"],["class","item-cover"],["ion-button","item-cover"]],[[8,"disabled",0]],null,null,Mt.b,Mt.a)),st["ɵdid"](25,1097728,null,0,xt.a,[[8,"item-cover"],ft.a,st.ElementRef,st.Renderer],null,null),(t()(),st["ɵted"](-1,0,["\n"])),(t()(),st["ɵted"](-1,null,["\n"]))],function(t,e){var n=e.component;t(e,3,0,n.valueTemplate&&n._valueItems.length&&n.isMultiple);t(e,6,0,n.valueTemplate&&n._valueItems.length&&!n.isMultiple);t(e,9,0,!n.valueTemplate&&n._valueItems.length);t(e,12,0,n._hasPlaceholder&&n.placeholderTemplate);t(e,15,0,n._hasPlaceholder&&!n.placeholderTemplate);t(e,19,0,n.iconTemplate);t(e,22,0,!n.iconTemplate)},function(t,e){t(e,24,0,!e.component.isEnabled)})}var st=n(1),at=n(234),ut=(n(354),n(355),n(356),n(357),n(358),n(359),n(360),n(361),n(362),n(12)),lt=n(29),ct=(n(229),n(106),n(315)),dt=n(16),ht=n(320),ft=n(6),pt=n(43),mt=n(317),_t=n(364),gt=n(86),vt=n(27),yt=n(18),bt=n(63),wt=n(365),St=n(132),Tt=n(92),Et=n(167),Mt=n(85),xt=n(51),Ct=n(211),Ot=st["ɵcrt"]({encapsulation:2,styles:[],data:{}}),Dt=n(366),kt=n(108),Lt=n(78),At=n(367),It=n(57),Pt=n(52),Rt=n(118),Nt=n(286),jt=n(168),Yt=n(287),Ft=n(137),Ht=n(25),Bt=n(30),Vt=n(138),zt=n(67),Wt=n(741),Ut=n(175),qt=n(322),Gt=n(213),Xt=n(214),Kt=n(235),Zt=n(236),$t=n(212),Jt=n(166),Qt=n(363),te=n(77),ee=n(39),ne=n(129);n.d(e,"b",function(){return ie}),n.d(e,"c",function(){return oe}),e.d=ot,n.d(e,"a",function(){return se});var re=st["ɵcrt"]({encapsulation:2,styles:[],data:{}}),ie=st["ɵccf"]("ionic-selectable-modal",at.b,function(t){return st["ɵvid"](0,[(t()(),st["ɵeld"](0,0,null,null,1,"ionic-selectable-modal",[],[[2,"ionic-selectable-modal",null],[2,"ionic-selectable-modal-can-clear",null],[2,"ionic-selectable-modal-is-multiple",null],[2,"ionic-selectable-modal-is-searching",null],[2,"ionic-selectable-modal-is-add-item-template-visible",null],[2,"ionic-selectable-modal-ios",null],[2,"ionic-selectable-modal-md",null]],null,null,Z,re)),st["ɵdid"](1,4243456,null,0,at.b,[ee.a,st.ElementRef],null,null)],null,function(t,e){t(e,0,0,st["ɵnov"](e,1)._cssClass,st["ɵnov"](e,1)._canClearCssClass,st["ɵnov"](e,1)._isMultipleCssClass,st["ɵnov"](e,1)._isSearchingCssClass,st["ɵnov"](e,1)._isAddItemTemplateVisibleCssClass,st["ɵnov"](e,1)._isIos,st["ɵnov"](e,1)._isMD)})},{},{},[]),oe=st["ɵcrt"]({encapsulation:2,styles:[],data:{}}),se=st["ɵccf"]("ionic-selectable",at.a,function(t){return st["ɵvid"](0,[(t()(),st["ɵeld"](0,0,null,null,17,"ionic-selectable",[],[[2,"ionic-selectable",null],[2,"ionic-selectable-ios",null],[2,"ionic-selectable-md",null],[2,"ionic-selectable-is-multiple",null],[2,"ionic-selectable-has-value",null],[2,"ionic-selectable-has-placeholder",null],[2,"ionic-selectable-is-enabled",null],[2,"ionic-selectable-can-clear",null]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==st["ɵnov"](t,2)._click(n)&&r),r},ot,oe)),st["ɵprd"](5120,null,lt.m,function(t){return[t]},[at.a]),st["ɵdid"](2,507904,null,15,at.a,[ne.a,Pt.a,dt.a,[2,It.a],st.IterableDiffers,st.ElementRef],null,null),st["ɵqud"](335544320,1,{valueTemplate:0}),st["ɵqud"](335544320,2,{itemTemplate:0}),st["ɵqud"](335544320,3,{itemEndTemplate:0}),st["ɵqud"](335544320,4,{titleTemplate:0}),st["ɵqud"](335544320,5,{placeholderTemplate:0}),st["ɵqud"](335544320,6,{messageTemplate:0}),st["ɵqud"](335544320,7,{groupTemplate:0}),st["ɵqud"](335544320,8,{groupEndTemplate:0}),st["ɵqud"](335544320,9,{closeButtonTemplate:0}),st["ɵqud"](335544320,10,{searchFailTemplate:0}),st["ɵqud"](335544320,11,{addItemTemplate:0}),st["ɵqud"](335544320,12,{footerTemplate:0}),st["ɵqud"](335544320,13,{headerTemplate:0}),st["ɵqud"](335544320,14,{itemIconTemplate:0}),st["ɵqud"](335544320,15,{iconTemplate:0})],function(t,e){t(e,2,0)},function(t,e){t(e,0,0,st["ɵnov"](e,2)._cssClass,st["ɵnov"](e,2)._isIos,st["ɵnov"](e,2)._isMD,st["ɵnov"](e,2)._isMultipleCssClass,st["ɵnov"](e,2)._hasValueCssClass,st["ɵnov"](e,2)._hasPlaceholderCssClass,st["ɵnov"](e,2).isEnabled,st["ɵnov"](e,2).canClear)})},{items:"items",isEnabled:"isEnabled",shouldBackdropClose:"shouldBackdropClose",modalCssClass:"modalCssClass",modalEnterAnimation:"modalEnterAnimation",modalLeaveAnimation:"modalLeaveAnimation",isConfirmButtonEnabled:"isConfirmButtonEnabled",hasConfirmButton:"hasConfirmButton",itemValueField:"itemValueField",itemTextField:"itemTextField",groupValueField:"groupValueField",groupTextField:"groupTextField",canSearch:"canSearch",isOnSearchEnabled:"isOnSearchEnabled",canClear:"canClear",hasInfiniteScroll:"hasInfiniteScroll",hasVirtualScroll:"hasVirtualScroll",virtualScrollApproxItemHeight:"virtualScrollApproxItemHeight",virtualScrollApproxItemWidth:"virtualScrollApproxItemWidth",virtualScrollBufferRatio:"virtualScrollBufferRatio",virtualScrollHeaderFn:"virtualScrollHeaderFn",searchPlaceholder:"searchPlaceholder",placeholder:"placeholder",isMultiple:"isMultiple",searchFailText:"searchFailText",clearButtonText:"clearButtonText",addButtonText:"addButtonText",confirmButtonText:"confirmButtonText",closeButtonText:"closeButtonText",focusSearchbar:"focusSearchbar",headerColor:"headerColor",groupColor:"groupColor",searchDebounce:"searchDebounce",disabledItems:"disabledItems",shouldStoreItemValue:"shouldStoreItemValue",canSaveItem:"canSaveItem",canDeleteItem:"canDeleteItem",canAddItem:"canAddItem"},{itemsChange:"itemsChange",onChange:"onChange",onSearch:"onSearch",onSearchFail:"onSearchFail",onSearchSuccess:"onSearchSuccess",onInfiniteScroll:"onInfiniteScroll",onOpen:"onOpen",onClose:"onClose",onSelect:"onSelect",onClear:"onClear",onSaveItem:"onSaveItem",onDeleteItem:"onDeleteItem",onAddItem:"onAddItem"},[])},,,,,,,,,,function(t,e,n){"use strict";function r(t){return s["ɵvid"](0,[(t()(),s["ɵeld"](0,0,null,null,2,"div",[["class","infinite-loading-spinner"]],null,null,null,null,null)),(t()(),s["ɵeld"](1,0,null,null,1,"ion-spinner",[],[[2,"spinner-paused",null]],null,null,a.b,a.a)),s["ɵdid"](2,114688,null,0,u.a,[l.a,s.ElementRef,s.Renderer],{name:[0,"name"]},null)],function(t,e){t(e,2,0,e.component.loadingSpinner)},function(t,e){t(e,1,0,s["ɵnov"](e,2)._paused)})}function i(t){return s["ɵvid"](0,[(t()(),s["ɵeld"](0,0,null,null,0,"div",[["class","infinite-loading-text"]],[[8,"innerHTML",1]],null,null,null,null))],null,function(t,e){t(e,0,0,e.component.loadingText)})}function o(t){return s["ɵvid"](0,[(t()(),s["ɵeld"](0,0,null,null,4,"div",[["class","infinite-loading"]],null,null,null,null,null)),(t()(),s["ɵand"](16777216,null,null,1,null,r)),s["ɵdid"](2,16384,null,0,c.NgIf,[s.ViewContainerRef,s.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),s["ɵand"](16777216,null,null,1,null,i)),s["ɵdid"](4,16384,null,0,c.NgIf,[s.ViewContainerRef,s.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(t,e){var n=e.component;t(e,2,0,n.loadingSpinner);t(e,4,0,n.loadingText)},null)}n.d(e,"a",function(){return d}),e.b=o;var s=n(1),a=n(108),u=n(78),l=n(6),c=n(12),d=s["ɵcrt"]({encapsulation:2,styles:[],data:{}})},,,,,,,,,,,,function(t,e){function n(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function i(t){if(l===setTimeout)return setTimeout(t,0);if((l===n||!l)&&setTimeout)return l=setTimeout,setTimeout(t,0);try{return l(t,0)}catch(e){try{return l.call(null,t,0)}catch(e){return l.call(this,t,0)}}}function o(){p&&h&&(p=!1,h.length?f=h.concat(f):m=-1,f.length&&s())}function s(){if(!p){var t=i(o);p=!0;for(var e=f.length;e;){for(h=f,f=[];++m<e;)h&&h[m].run();m=-1,e=f.length}h=null,p=!1,function(t){if(c===clearTimeout)return clearTimeout(t);if((c===r||!c)&&clearTimeout)return c=clearTimeout,clearTimeout(t);try{c(t)}catch(e){try{return c.call(null,t)}catch(e){return c.call(this,t)}}}(t)}}function a(t,e){this.fun=t,this.array=e}function u(){}var l,c,d=t.exports={};!function(){try{l="function"==typeof setTimeout?setTimeout:n}catch(t){l=n}try{c="function"==typeof clearTimeout?clearTimeout:r}catch(t){c=r}}();var h,f=[],p=!1,m=-1;d.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];f.push(new a(t,e)),1!==f.length||p||i(s)},a.prototype.run=function(){this.fun.apply(null,this.array)},d.title="browser",d.browser=!0,d.env={},d.argv=[],d.version="",d.versions={},d.on=u,d.addListener=u,d.once=u,d.off=u,d.removeListener=u,d.removeAllListeners=u,d.emit=u,d.prependListener=u,d.prependOnceListener=u,d.listeners=function(t){return[]},d.binding=function(t){throw new Error("process.binding is not supported")},d.cwd=function(){return"/"},d.chdir=function(t){throw new Error("process.chdir is not supported")},d.umask=function(){return 0}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,n){"use strict";function r(t){return i["ɵvid"](0,[(t()(),i["ɵeld"](0,0,null,null,3,"div",[["class","radio-icon"]],[[2,"radio-checked",null]],null,null,null,null)),(t()(),i["ɵted"](-1,null,[" "])),(t()(),i["ɵeld"](2,0,null,null,0,"div",[["class","radio-inner"]],null,null,null,null,null)),(t()(),i["ɵted"](-1,null,[" "])),(t()(),i["ɵted"](-1,null,[" "])),(t()(),i["ɵeld"](5,0,null,null,2,"button",[["class","item-cover"],["ion-button","item-cover"],["role","radio"],["type","button"]],[[8,"id",0],[1,"aria-checked",0],[1,"aria-labelledby",0],[1,"aria-disabled",0]],null,null,o.b,o.a)),i["ɵdid"](6,1097728,null,0,s.a,[[8,"item-cover"],a.a,i.ElementRef,i.Renderer],null,null),(t()(),i["ɵted"](-1,0,[" "]))],null,function(t,e){var n=e.component;t(e,0,0,n._checked);t(e,5,0,n.id,n._checked,n._labelId,n._disabled)})}n.d(e,"a",function(){return u}),e.b=r;var i=n(1),o=n(85),s=n(51),a=n(6),u=(n(52),i["ɵcrt"]({encapsulation:2,styles:[],data:{}}))},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,n){"use strict";var r=n(970);e.fromEvent=r.FromEventObservable.create},,,,,,function(t,e,n){"use strict";var r=n(15),i=n(184),o=n(397);e.toSubscriber=function(t,e,n){if(t){if(t instanceof r.Subscriber)return t;if(t[i.rxSubscriber])return t[i.rxSubscriber]()}return t||e||n?new r.Subscriber(t,e,n):new r.Subscriber(o.empty)}},function(t,e,n){"use strict";var r=n(0).__extends,i=n(15);e.InnerSubscriber=function(t){function e(e,n,r){t.call(this),this.parent=e,this.outerValue=n,this.outerIndex=r,this.index=0}return r(e,t),e.prototype._next=function(t){this.parent.notifyNext(this.outerValue,t,this.outerIndex,this.index++,this)},e.prototype._error=function(t){this.parent.notifyError(t,this),this.unsubscribe()},e.prototype._complete=function(){this.parent.notifyComplete(this),this.unsubscribe()},e}(i.Subscriber)},function(t,e,n){(function(e){var n;!function(e){t.exports=e()}(function(){return function t(e,r,i){function o(a,u){if(!r[a]){if(!e[a]){if(!u&&("function"==typeof n&&n))return n(a,!0);if(s)return s(a,!0);var l=new Error("Cannot find module '"+a+"'");throw l.code="MODULE_NOT_FOUND",l}var c=r[a]={exports:{}};e[a][0].call(c.exports,function(t){var n=e[a][1][t];return o(n||t)},c,c.exports,t,e,r,i)}return r[a].exports}for(var s="function"==typeof n&&n,a=0;a<i.length;a++)o(i[a]);return o}({1:[function(t,e,n){"use strict";function r(){}function i(t){if("function"!=typeof t)throw new TypeError("resolver must be a function");this.state=p,this.queue=[],this.outcome=void 0,t!==r&&u(this,t)}function o(t,e,n){this.promise=t,"function"==typeof e&&(this.onFulfilled=e,this.callFulfilled=this.otherCallFulfilled),"function"==typeof n&&(this.onRejected=n,this.callRejected=this.otherCallRejected)}function s(t,e,n){c(function(){var r;try{r=e(n)}catch(e){return d.reject(t,e)}r===t?d.reject(t,new TypeError("Cannot resolve promise with itself")):d.resolve(t,r)})}function a(t){var e=t&&t.then;if(t&&"object"==typeof t&&"function"==typeof e)return function(){e.apply(t,arguments)}}function u(t,e){function n(e){i||(i=!0,d.reject(t,e))}function r(e){i||(i=!0,d.resolve(t,e))}var i=!1,o=l(function(){e(r,n)});"error"===o.status&&n(o.value)}function l(t,e){var n={};try{n.value=t(e),n.status="success"}catch(t){n.status="error",n.value=t}return n}var c=t(2),d={},h=["REJECTED"],f=["FULFILLED"],p=["PENDING"];e.exports=n=i,i.prototype.catch=function(t){return this.then(null,t)},i.prototype.then=function(t,e){if("function"!=typeof t&&this.state===f||"function"!=typeof e&&this.state===h)return this;var n=new this.constructor(r);if(this.state!==p){s(n,this.state===f?t:e,this.outcome)}else this.queue.push(new o(n,t,e));return n},o.prototype.callFulfilled=function(t){d.resolve(this.promise,t)},o.prototype.otherCallFulfilled=function(t){s(this.promise,this.onFulfilled,t)},o.prototype.callRejected=function(t){d.reject(this.promise,t)},o.prototype.otherCallRejected=function(t){s(this.promise,this.onRejected,t)},d.resolve=function(t,e){var n=l(a,e);if("error"===n.status)return d.reject(t,n.value);var r=n.value;if(r)u(t,r);else{t.state=f,t.outcome=e;for(var i=-1,o=t.queue.length;++i<o;)t.queue[i].callFulfilled(e)}return t},d.reject=function(t,e){t.state=h,t.outcome=e;for(var n=-1,r=t.queue.length;++n<r;)t.queue[n].callRejected(e);return t},n.resolve=function(t){return t instanceof this?t:d.resolve(new this(r),t)},n.reject=function(t){var e=new this(r);return d.reject(e,t)},n.all=function(t){var e=this;if("[object Array]"!==Object.prototype.toString.call(t))return this.reject(new TypeError("must be an array"));var n=t.length,i=!1;if(!n)return this.resolve([]);for(var o=new Array(n),s=0,a=-1,u=new this(r);++a<n;)!function(t,r){e.resolve(t).then(function(t){o[r]=t,++s!==n||i||(i=!0,d.resolve(u,o))},function(t){i||(i=!0,d.reject(u,t))})}(t[a],a);return u},n.race=function(t){var e=this;if("[object Array]"!==Object.prototype.toString.call(t))return this.reject(new TypeError("must be an array"));var n=t.length,i=!1;if(!n)return this.resolve([]);for(var o=-1,s=new this(r);++o<n;)!function(t){e.resolve(t).then(function(t){i||(i=!0,d.resolve(s,t))},function(t){i||(i=!0,d.reject(s,t))})}(t[o]);return s}},{2:2}],2:[function(t,n,r){(function(t){"use strict";function e(){l=!0;for(var t,e,n=c.length;n;){for(e=c,c=[],t=-1;++t<n;)e[t]();n=c.length}l=!1}var r,i=t.MutationObserver||t.WebKitMutationObserver;if(i){var o=0,s=new i(e),a=t.document.createTextNode("");s.observe(a,{characterData:!0}),r=function(){a.data=o=++o%2}}else if(t.setImmediate||void 0===t.MessageChannel)r="document"in t&&"onreadystatechange"in t.document.createElement("script")?function(){var n=t.document.createElement("script");n.onreadystatechange=function(){e(),n.onreadystatechange=null,n.parentNode.removeChild(n),n=null},t.document.documentElement.appendChild(n)}:function(){setTimeout(e,0)};else{var u=new t.MessageChannel;u.port1.onmessage=e,r=function(){u.port2.postMessage(0)}}var l,c=[];n.exports=function(t){1!==c.push(t)||l||r()}}).call(this,void 0!==e?e:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],3:[function(t,n,r){(function(e){"use strict";"function"!=typeof e.Promise&&(e.Promise=t(1))}).call(this,void 0!==e?e:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{1:1}],4:[function(t,e,n){"use strict";function r(t,e){t=t||[],e=e||{};try{return new Blob(t,e)}catch(i){if("TypeError"!==i.name)throw i;for(var n=new("undefined"!=typeof BlobBuilder?BlobBuilder:"undefined"!=typeof MSBlobBuilder?MSBlobBuilder:"undefined"!=typeof MozBlobBuilder?MozBlobBuilder:WebKitBlobBuilder),r=0;r<t.length;r+=1)n.append(t[r]);return n.getBlob(e.type)}}function i(t,e){e&&t.then(function(t){e(null,t)},function(t){e(t)})}function o(t,e,n){"function"==typeof e&&t.then(e),"function"==typeof n&&t.catch(n)}function s(t){return"boolean"==typeof v?b.resolve(v):function(t){return new b(function(e){var n=r([""]);t.objectStore(w).put(n,"key"),t.onabort=function(t){t.preventDefault(),t.stopPropagation(),e(!1)},t.oncomplete=function(){var t=navigator.userAgent.match(/Chrome\/(\d+)/),n=navigator.userAgent.match(/Edge\//);e(n||!t||parseInt(t[1],10)>=43)}}).catch(function(){return!1})}(t).then(function(t){return v=t})}function a(t,e){return new b(function(n,r){if(t.db){if(!e)return n(t.db);!function(t){var e=y[t.name],n={};n.promise=new b(function(t){n.resolve=t}),e.deferredOperations.push(n),e.dbReady=e.dbReady?e.dbReady.then(function(){return n.promise}):n.promise}(t),t.db.close()}var i=[t.name];e&&i.push(t.version);var o=g.open.apply(g,i);e&&(o.onupgradeneeded=function(e){var n=o.result;try{n.createObjectStore(t.storeName),e.oldVersion<=1&&n.createObjectStore(w)}catch(n){if("ConstraintError"!==n.name)throw n;console.warn('The database "'+t.name+'" has been upgraded from version '+e.oldVersion+" to version "+e.newVersion+', but the storage "'+t.storeName+'" already exists.')}}),o.onerror=function(){r(o.error)},o.onsuccess=function(){n(o.result),function(t){var e=y[t.name].deferredOperations.pop();e&&e.resolve()}(t)}})}function u(t){return r([function(t){for(var e=t.length,n=new ArrayBuffer(e),r=new Uint8Array(n),i=0;i<e;i++)r[i]=t.charCodeAt(i);return n}(atob(t.data))],{type:t.type})}function l(t){return t&&t.__local_forage_encoded_blob}function c(t){var e=this,n=e._initReady().then(function(){var t=y[e._dbInfo.name];if(t&&t.dbReady)return t.dbReady});return o(n,t,t),n}function d(t){var e,n,r,i,o,s=.75*t.length,a=t.length,u=0;"="===t[t.length-1]&&(s--,"="===t[t.length-2]&&s--);var l=new ArrayBuffer(s),c=new Uint8Array(l);for(e=0;e<a;e+=4)n=E.indexOf(t[e]),r=E.indexOf(t[e+1]),i=E.indexOf(t[e+2]),o=E.indexOf(t[e+3]),c[u++]=n<<2|r>>4,c[u++]=(15&r)<<4|i>>2,c[u++]=(3&i)<<6|63&o;return l}function h(t){var e,n=new Uint8Array(t),r="";for(e=0;e<n.length;e+=3)r+=E[n[e]>>2],r+=E[(3&n[e])<<4|n[e+1]>>4],r+=E[(15&n[e+1])<<2|n[e+2]>>6],r+=E[63&n[e+2]];return n.length%3==2?r=r.substring(0,r.length-1)+"=":n.length%3==1&&(r=r.substring(0,r.length-2)+"=="),r}function f(t,e){t[e]=function(){var n=arguments;return t.ready().then(function(){return t[e].apply(t,n)})}}function p(){for(var t=1;t<arguments.length;t++){var e=arguments[t];if(e)for(var n in e)e.hasOwnProperty(n)&&(arguments[0][n]=Z(e[n])?e[n].slice():e[n])}return arguments[0]}function m(t){for(var e in q)if(q.hasOwnProperty(e)&&q[e]===t)return!0;return!1}var _="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},g=function(){try{if("undefined"!=typeof indexedDB)return indexedDB;if("undefined"!=typeof webkitIndexedDB)return webkitIndexedDB;if("undefined"!=typeof mozIndexedDB)return mozIndexedDB;if("undefined"!=typeof OIndexedDB)return OIndexedDB;if("undefined"!=typeof msIndexedDB)return msIndexedDB}catch(t){}}();"undefined"==typeof Promise&&void 0!==t&&t(3);var v,y,b=Promise,w="local-forage-detect-blob-support",S=Object.prototype.toString,T={_driver:"asyncStorage",_initStorage:function(t){function e(){return b.resolve()}var n=this,r={db:null};if(t)for(var i in t)r[i]=t[i];y||(y={});var o=y[r.name];o||(y[r.name]=o={forages:[],db:null,dbReady:null,deferredOperations:[]}),o.forages.push(n),n._initReady||(n._initReady=n.ready,n.ready=c);for(var s=[],u=0;u<o.forages.length;u++){var l=o.forages[u];l!==n&&s.push(l._initReady().catch(e))}var d=o.forages.slice(0);return b.all(s).then(function(){return r.db=o.db,function(t){return a(t,!1)}(r)}).then(function(t){return r.db=t,function(t,e){if(!t.db)return!0;var n=!t.db.objectStoreNames.contains(t.storeName),r=t.version>t.db.version;if(t.version<t.db.version&&(t.version!==e&&console.warn('The database "'+t.name+"\" can't be downgraded from version "+t.db.version+" to version "+t.version+"."),t.version=t.db.version),r||n){if(n){var i=t.db.version+1;i>t.version&&(t.version=i)}return!0}return!1}(r,n._defaultConfig.version)?function(t){return a(t,!0)}(r):t}).then(function(t){r.db=o.db=t,n._dbInfo=r;for(var e=0;e<d.length;e++){var i=d[e];i!==n&&(i._dbInfo.db=r.db,i._dbInfo.version=r.version)}})},iterate:function(t,e){var n=this,r=new b(function(e,r){n.ready().then(function(){var i=n._dbInfo,o=i.db.transaction(i.storeName,"readonly").objectStore(i.storeName).openCursor(),s=1;o.onsuccess=function(){var n=o.result;if(n){var r=n.value;l(r)&&(r=u(r));var i=t(r,n.key,s++);void 0!==i?e(i):n.continue()}else e()},o.onerror=function(){r(o.error)}}).catch(r)});return i(r,e),r},getItem:function(t,e){var n=this;"string"!=typeof t&&(console.warn(t+" used as a key, but it is not a string."),t=String(t));var r=new b(function(e,r){n.ready().then(function(){var i=n._dbInfo,o=i.db.transaction(i.storeName,"readonly").objectStore(i.storeName).get(t);o.onsuccess=function(){var t=o.result;void 0===t&&(t=null),l(t)&&(t=u(t)),e(t)},o.onerror=function(){r(o.error)}}).catch(r)});return i(r,e),r},setItem:function(t,e,n){var r=this;"string"!=typeof t&&(console.warn(t+" used as a key, but it is not a string."),t=String(t));var o=new b(function(n,i){var o;r.ready().then(function(){return o=r._dbInfo,"[object Blob]"===S.call(e)?s(o.db).then(function(t){return t?e:function(t){return new b(function(e,n){var r=new FileReader;r.onerror=n,r.onloadend=function(n){var r=btoa(n.target.result||"");e({__local_forage_encoded_blob:!0,data:r,type:t.type})},r.readAsBinaryString(t)})}(e)}):e}).then(function(e){var r=o.db.transaction(o.storeName,"readwrite"),s=r.objectStore(o.storeName);null===e&&(e=void 0),r.oncomplete=function(){void 0===e&&(e=null),n(e)},r.onabort=r.onerror=function(){i(a.error?a.error:a.transaction.error)};var a=s.put(e,t)}).catch(i)});return i(o,n),o},removeItem:function(t,e){var n=this;"string"!=typeof t&&(console.warn(t+" used as a key, but it is not a string."),t=String(t));var r=new b(function(e,r){n.ready().then(function(){var i=n._dbInfo,o=i.db.transaction(i.storeName,"readwrite"),s=o.objectStore(i.storeName).delete(t);o.oncomplete=function(){e()},o.onerror=function(){r(s.error)},o.onabort=function(){r(s.error?s.error:s.transaction.error)}}).catch(r)});return i(r,e),r},clear:function(t){var e=this,n=new b(function(t,n){e.ready().then(function(){var r=e._dbInfo,i=r.db.transaction(r.storeName,"readwrite"),o=i.objectStore(r.storeName).clear();i.oncomplete=function(){t()},i.onabort=i.onerror=function(){n(o.error?o.error:o.transaction.error)}}).catch(n)});return i(n,t),n},length:function(t){var e=this,n=new b(function(t,n){e.ready().then(function(){var r=e._dbInfo,i=r.db.transaction(r.storeName,"readonly").objectStore(r.storeName).count();i.onsuccess=function(){t(i.result)},i.onerror=function(){n(i.error)}}).catch(n)});return i(n,t),n},key:function(t,e){var n=this,r=new b(function(e,r){t<0?e(null):n.ready().then(function(){var i=n._dbInfo,o=!1,s=i.db.transaction(i.storeName,"readonly").objectStore(i.storeName).openCursor();s.onsuccess=function(){var n=s.result;n?0===t?e(n.key):o?e(n.key):(o=!0,n.advance(t)):e(null)},s.onerror=function(){r(s.error)}}).catch(r)});return i(r,e),r},keys:function(t){var e=this,n=new b(function(t,n){e.ready().then(function(){var r=e._dbInfo,i=r.db.transaction(r.storeName,"readonly").objectStore(r.storeName).openCursor(),o=[];i.onsuccess=function(){var e=i.result;e?(o.push(e.key),e.continue()):t(o)},i.onerror=function(){n(i.error)}}).catch(n)});return i(n,t),n}},E="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",M="~~local_forage_type~",x=/^~~local_forage_type~([^~]+)~/,C="__lfsc__:",O=C.length,D="arbf",k="blob",L="si08",A="ui08",I="uic8",P="si16",R="si32",N="ur16",j="ui32",Y="fl32",F="fl64",H=O+D.length,B=Object.prototype.toString,V={serialize:function(t,e){var n="";if(t&&(n=B.call(t)),t&&("[object ArrayBuffer]"===n||t.buffer&&"[object ArrayBuffer]"===B.call(t.buffer))){var r,i=C;t instanceof ArrayBuffer?(r=t,i+=D):(r=t.buffer,"[object Int8Array]"===n?i+=L:"[object Uint8Array]"===n?i+=A:"[object Uint8ClampedArray]"===n?i+=I:"[object Int16Array]"===n?i+=P:"[object Uint16Array]"===n?i+=N:"[object Int32Array]"===n?i+=R:"[object Uint32Array]"===n?i+=j:"[object Float32Array]"===n?i+=Y:"[object Float64Array]"===n?i+=F:e(new Error("Failed to get type for BinaryArray"))),e(i+h(r))}else if("[object Blob]"===n){var o=new FileReader;o.onload=function(){var n=M+t.type+"~"+h(this.result);e(C+k+n)},o.readAsArrayBuffer(t)}else try{e(JSON.stringify(t))}catch(n){console.error("Couldn't convert value into a JSON string: ",t),e(null,n)}},deserialize:function(t){if(t.substring(0,O)!==C)return JSON.parse(t);var e,n=t.substring(H),i=t.substring(O,H);if(i===k&&x.test(n)){var o=n.match(x);e=o[1],n=n.substring(o[0].length)}var s=d(n);switch(i){case D:return s;case k:return r([s],{type:e});case L:return new Int8Array(s);case A:return new Uint8Array(s);case I:return new Uint8ClampedArray(s);case P:return new Int16Array(s);case N:return new Uint16Array(s);case R:return new Int32Array(s);case j:return new Uint32Array(s);case Y:return new Float32Array(s);case F:return new Float64Array(s);default:throw new Error("Unkown type: "+i)}},stringToBuffer:d,bufferToString:h},z={_driver:"webSQLStorage",_initStorage:function(t){var e=this,n={db:null};if(t)for(var r in t)n[r]="string"!=typeof t[r]?t[r].toString():t[r];var i=new b(function(t,r){try{n.db=openDatabase(n.name,String(n.version),n.description,n.size)}catch(t){return r(t)}n.db.transaction(function(i){i.executeSql("CREATE TABLE IF NOT EXISTS "+n.storeName+" (id INTEGER PRIMARY KEY, key unique, value)",[],function(){e._dbInfo=n,t()},function(t,e){r(e)})})});return n.serializer=V,i},iterate:function(t,e){var n=this,r=new b(function(e,r){n.ready().then(function(){var i=n._dbInfo;i.db.transaction(function(n){n.executeSql("SELECT * FROM "+i.storeName,[],function(n,r){for(var o=r.rows,s=o.length,a=0;a<s;a++){var u=o.item(a),l=u.value;if(l&&(l=i.serializer.deserialize(l)),void 0!==(l=t(l,u.key,a+1)))return void e(l)}e()},function(t,e){r(e)})})}).catch(r)});return i(r,e),r},getItem:function(t,e){var n=this;"string"!=typeof t&&(console.warn(t+" used as a key, but it is not a string."),t=String(t));var r=new b(function(e,r){n.ready().then(function(){var i=n._dbInfo;i.db.transaction(function(n){n.executeSql("SELECT * FROM "+i.storeName+" WHERE key = ? LIMIT 1",[t],function(t,n){var r=n.rows.length?n.rows.item(0).value:null;r&&(r=i.serializer.deserialize(r)),e(r)},function(t,e){r(e)})})}).catch(r)});return i(r,e),r},setItem:function(t,e,n){var r=this;"string"!=typeof t&&(console.warn(t+" used as a key, but it is not a string."),t=String(t));var o=new b(function(n,i){r.ready().then(function(){void 0===e&&(e=null);var o=e,s=r._dbInfo;s.serializer.serialize(e,function(e,r){r?i(r):s.db.transaction(function(r){r.executeSql("INSERT OR REPLACE INTO "+s.storeName+" (key, value) VALUES (?, ?)",[t,e],function(){n(o)},function(t,e){i(e)})},function(t){t.code===t.QUOTA_ERR&&i(t)})})}).catch(i)});return i(o,n),o},removeItem:function(t,e){var n=this;"string"!=typeof t&&(console.warn(t+" used as a key, but it is not a string."),t=String(t));var r=new b(function(e,r){n.ready().then(function(){var i=n._dbInfo;i.db.transaction(function(n){n.executeSql("DELETE FROM "+i.storeName+" WHERE key = ?",[t],function(){e()},function(t,e){r(e)})})}).catch(r)});return i(r,e),r},clear:function(t){var e=this,n=new b(function(t,n){e.ready().then(function(){var r=e._dbInfo;r.db.transaction(function(e){e.executeSql("DELETE FROM "+r.storeName,[],function(){t()},function(t,e){n(e)})})}).catch(n)});return i(n,t),n},length:function(t){var e=this,n=new b(function(t,n){e.ready().then(function(){var r=e._dbInfo;r.db.transaction(function(e){e.executeSql("SELECT COUNT(key) as c FROM "+r.storeName,[],function(e,n){var r=n.rows.item(0).c;t(r)},function(t,e){n(e)})})}).catch(n)});return i(n,t),n},key:function(t,e){var n=this,r=new b(function(e,r){n.ready().then(function(){var i=n._dbInfo;i.db.transaction(function(n){n.executeSql("SELECT key FROM "+i.storeName+" WHERE id = ? LIMIT 1",[t+1],function(t,n){var r=n.rows.length?n.rows.item(0).key:null;e(r)},function(t,e){r(e)})})}).catch(r)});return i(r,e),r},keys:function(t){var e=this,n=new b(function(t,n){e.ready().then(function(){var r=e._dbInfo;r.db.transaction(function(e){e.executeSql("SELECT key FROM "+r.storeName,[],function(e,n){for(var r=[],i=0;i<n.rows.length;i++)r.push(n.rows.item(i).key);t(r)},function(t,e){n(e)})})}).catch(n)});return i(n,t),n}},W={_driver:"localStorageWrapper",_initStorage:function(t){var e={};if(t)for(var n in t)e[n]=t[n];return e.keyPrefix=e.name+"/",e.storeName!==this._defaultConfig.storeName&&(e.keyPrefix+=e.storeName+"/"),this._dbInfo=e,e.serializer=V,b.resolve()},iterate:function(t,e){var n=this,r=n.ready().then(function(){for(var e=n._dbInfo,r=e.keyPrefix,i=r.length,o=localStorage.length,s=1,a=0;a<o;a++){var u=localStorage.key(a);if(0===u.indexOf(r)){var l=localStorage.getItem(u);if(l&&(l=e.serializer.deserialize(l)),void 0!==(l=t(l,u.substring(i),s++)))return l}}});return i(r,e),r},getItem:function(t,e){var n=this;"string"!=typeof t&&(console.warn(t+" used as a key, but it is not a string."),t=String(t));var r=n.ready().then(function(){var e=n._dbInfo,r=localStorage.getItem(e.keyPrefix+t);return r&&(r=e.serializer.deserialize(r)),r});return i(r,e),r},setItem:function(t,e,n){var r=this;"string"!=typeof t&&(console.warn(t+" used as a key, but it is not a string."),t=String(t));var o=r.ready().then(function(){void 0===e&&(e=null);var n=e;return new b(function(i,o){var s=r._dbInfo;s.serializer.serialize(e,function(e,r){if(r)o(r);else try{localStorage.setItem(s.keyPrefix+t,e),i(n)}catch(t){"QuotaExceededError"!==t.name&&"NS_ERROR_DOM_QUOTA_REACHED"!==t.name||o(t),o(t)}})})});return i(o,n),o},removeItem:function(t,e){var n=this;"string"!=typeof t&&(console.warn(t+" used as a key, but it is not a string."),t=String(t));var r=n.ready().then(function(){var e=n._dbInfo;localStorage.removeItem(e.keyPrefix+t)});return i(r,e),r},clear:function(t){var e=this,n=e.ready().then(function(){for(var t=e._dbInfo.keyPrefix,n=localStorage.length-1;n>=0;n--){var r=localStorage.key(n);0===r.indexOf(t)&&localStorage.removeItem(r)}});return i(n,t),n},length:function(t){var e=this.keys().then(function(t){return t.length});return i(e,t),e},key:function(t,e){var n=this,r=n.ready().then(function(){var e,r=n._dbInfo;try{e=localStorage.key(t)}catch(t){e=null}return e&&(e=e.substring(r.keyPrefix.length)),e});return i(r,e),r},keys:function(t){var e=this,n=e.ready().then(function(){for(var t=e._dbInfo,n=localStorage.length,r=[],i=0;i<n;i++)0===localStorage.key(i).indexOf(t.keyPrefix)&&r.push(localStorage.key(i).substring(t.keyPrefix.length));return r});return i(n,t),n}},U={},q={INDEXEDDB:"asyncStorage",LOCALSTORAGE:"localStorageWrapper",WEBSQL:"webSQLStorage"},G=["clear","getItem","iterate","key","keys","length","removeItem","setItem"],X={description:"",driver:[q.INDEXEDDB,q.WEBSQL,q.LOCALSTORAGE].slice(),name:"localforage",size:4980736,storeName:"keyvaluepairs",version:1},K={};K[q.INDEXEDDB]=function(){try{return!!g&&!("undefined"!=typeof openDatabase&&"undefined"!=typeof navigator&&navigator.userAgent&&/Safari/.test(navigator.userAgent)&&!/Chrome/.test(navigator.userAgent))&&g&&"function"==typeof g.open&&"undefined"!=typeof IDBKeyRange}catch(t){return!1}}(),K[q.WEBSQL]="function"==typeof openDatabase,K[q.LOCALSTORAGE]=function(){try{return"undefined"!=typeof localStorage&&"setItem"in localStorage&&localStorage.setItem}catch(t){return!1}}();var Z=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)},$=new(function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.INDEXEDDB=q.INDEXEDDB,this.LOCALSTORAGE=q.LOCALSTORAGE,this.WEBSQL=q.WEBSQL,this._defaultConfig=p({},X),this._config=p({},this._defaultConfig,e),this._driverSet=null,this._initDriver=null,this._ready=!1,this._dbInfo=null,this._wrapLibraryMethodsWithReady(),this.setDriver(this._config.driver)}return t.prototype.config=function(t){if("object"===(void 0===t?"undefined":_(t))){if(this._ready)return new Error("Can't call config() after localforage has been used.");for(var e in t)"storeName"===e&&(t[e]=t[e].replace(/\W/g,"_")),this._config[e]=t[e];return"driver"in t&&t.driver&&this.setDriver(this._config.driver),!0}return"string"==typeof t?this._config[t]:this._config},t.prototype.defineDriver=function(t,e,n){var r=new b(function(e,n){try{var r=t._driver,i=new Error("Custom driver not compliant; see https://mozilla.github.io/localForage/#definedriver"),o=new Error("Custom driver name already in use: "+t._driver);if(!t._driver)return void n(i);if(m(t._driver))return void n(o);for(var s=G.concat("_initStorage"),a=0;a<s.length;a++){var u=s[a];if(!u||!t[u]||"function"!=typeof t[u])return void n(i)}var l=b.resolve(!0);"_support"in t&&(l=t._support&&"function"==typeof t._support?t._support():b.resolve(!!t._support)),l.then(function(n){K[r]=n,U[r]=t,e()},n)}catch(t){n(t)}});return o(r,e,n),r},t.prototype.driver=function(){return this._driver||null},t.prototype.getDriver=function(t,e,n){var r=this,i=b.resolve().then(function(){if(!m(t)){if(U[t])return U[t];throw new Error("Driver not found.")}switch(t){case r.INDEXEDDB:return T;case r.LOCALSTORAGE:return W;case r.WEBSQL:return z}});return o(i,e,n),i},t.prototype.getSerializer=function(t){var e=b.resolve(V);return o(e,t),e},t.prototype.ready=function(t){var e=this,n=e._driverSet.then(function(){return null===e._ready&&(e._ready=e._initDriver()),e._ready});return o(n,t,t),n},t.prototype.setDriver=function(t,e,n){function r(){i._config.driver=i.driver()}var i=this;Z(t)||(t=[t]);var s=this._getSupportedDrivers(t),a=null!==this._driverSet?this._driverSet.catch(function(){return b.resolve()}):b.resolve();return this._driverSet=a.then(function(){var t=s[0];return i._dbInfo=null,i._ready=null,i.getDriver(t).then(function(t){i._driver=t._driver,r(),i._wrapLibraryMethodsWithReady(),i._initDriver=function(t){return function(){function e(){for(;n<t.length;){var o=t[n];return n++,i._dbInfo=null,i._ready=null,i.getDriver(o).then(function(t){return i._extend(t),r(),i._ready=i._initStorage(i._config),i._ready}).catch(e)}r();var s=new Error("No available storage method found.");return i._driverSet=b.reject(s),i._driverSet}var n=0;return e()}}(s)})}).catch(function(){r();var t=new Error("No available storage method found.");return i._driverSet=b.reject(t),i._driverSet}),o(this._driverSet,e,n),this._driverSet},t.prototype.supports=function(t){return!!K[t]},t.prototype._extend=function(t){p(this,t)},t.prototype._getSupportedDrivers=function(t){for(var e=[],n=0,r=t.length;n<r;n++){var i=t[n];this.supports(i)&&e.push(i)}return e},t.prototype._wrapLibraryMethodsWithReady=function(){for(var t=0;t<G.length;t++)f(this,G[t])},t.prototype.createInstance=function(e){return new t(e)},t}());e.exports=$},{3:3}]},{},[4])(4)})}).call(e,n(120))},function(t,e,n){!function(e,n){t.exports=n()}(0,function(){"use strict";function t(e){return t.result?t.result:e&&"function"==typeof e.getSerializer?t.result=e.getSerializer():Promise.reject(new Error("localforage.getSerializer() was not available! localforage v1.4+ is required!"))}function e(t,n){return(e.result=e.result||{})[n]?e.result[n]:t&&"function"==typeof t.getDriver?e.result[n]=t.getDriver(n):Promise.reject(new Error("localforage.getDriver() was not available! localforage v1.4+ is required!"))}function n(t){return e(t,t.WEBSQL)}function r(){return i.then(function(){if("undefined"!=typeof sqlitePlugin&&"function"==typeof sqlitePlugin.openDatabase)return sqlitePlugin.openDatabase;throw new Error("SQLite plugin is not present.")})}var i=new Promise(function(t,e){"undefined"!=typeof sqlitePlugin?t():"undefined"==typeof cordova?e(new Error("cordova is not defined.")):document.addEventListener("deviceready",function(){return t()},!1)}).catch(function(){return Promise.resolve()}),o={_driver:"cordovaSQLiteDriver",_initStorage:function(e){var i=this,o={db:null};if(e)for(var s in e)o[s]="string"!=typeof e[s]?e[s].toString():e[s];var a=r().then(function(t){return new Promise(function(e,n){try{o.location=o.location||"default",o.db=t({name:o.name,version:String(o.version),description:o.description,size:o.size,location:o.location})}catch(t){n(t)}o.db.transaction(function(t){t.executeSql("CREATE TABLE IF NOT EXISTS "+o.storeName+" (id INTEGER PRIMARY KEY, key unique, value)",[],function(){i._dbInfo=o,e()},function(t,e){n(e)})})})}),u=t(i),l=n(i);return Promise.all([u,l,a]).then(function(t){return o.serializer=t[0],a})},_support:function(){return r().then(function(t){return!!t}).catch(function(){return!1})}};return function(t){function e(t,e){t[e]=function(){var t=this,r=arguments;return n(t).then(function(n){return n[e].apply(t,r)})}}for(var r=["clear","getItem","iterate","key","keys","length","removeItem","setItem"],i=0,o=r.length;i<o;i++)e(t,r[i])}(o),o})},function(t,e,n){"use strict";var r=n(0).__extends,i=n(38);e.Action=function(t){function e(e,n){t.call(this)}return r(e,t),e.prototype.schedule=function(t,e){return void 0===e&&(e=0),this},e}(i.Subscription)},function(t,e,n){"use strict";e.Scheduler=function(){function t(e,n){void 0===n&&(n=t.now),this.SchedulerAction=e,this.now=n}return t.prototype.schedule=function(t,e,n){return void 0===e&&(e=0),new this.SchedulerAction(this,t).schedule(n,e)},t.now=Date.now?Date.now:function(){return+new Date},t}()},function(t,e,n){"use strict";var r=n(0).__extends,i=n(146),o=n(2),s=n(34),a=n(72),u=n(188);e.TimerObservable=function(t){function e(e,n,r){void 0===e&&(e=0),t.call(this),this.period=-1,this.dueTime=0,i.isNumeric(n)?this.period=Number(n)<1?1:Number(n):a.isScheduler(n)&&(r=n),a.isScheduler(r)||(r=s.async),this.scheduler=r,this.dueTime=u.isDate(e)?+e-this.scheduler.now():e}return r(e,t),e.create=function(t,n,r){return void 0===t&&(t=0),new e(t,n,r)},e.dispatch=function(t){var e=t.index,n=t.period,r=t.subscriber;if(r.next(e),!r.closed){if(-1===n)return r.complete();t.index=e+1,this.schedule(t,n)}},e.prototype._subscribe=function(t){return this.scheduler.schedule(e.dispatch,this.dueTime,{index:0,period:this.period,subscriber:t})},e}(o.Observable)},function(t,e,n){"use strict";function r(t){var e=+t.length;return isNaN(e)?0:0!==e&&function(t){return"number"==typeof t&&o.root.isFinite(t)}(e)?(e=function(t){var e=+t;if(0===e)return e;if(isNaN(e))return e;return e<0?-1:1}(e)*Math.floor(Math.abs(e)))<=0?0:e>c?c:e:e}var i=n(0).__extends,o=n(56),s=n(2),a=n(143);e.IteratorObservable=function(t){function e(e,n){if(t.call(this),this.scheduler=n,null==e)throw new Error("iterator cannot be null.");this.iterator=function(t){var e=t[a.iterator];if(!e&&"string"==typeof t)return new u(t);if(!e&&void 0!==t.length)return new l(t);if(!e)throw new TypeError("object is not iterable");return t[a.iterator]()}(e)}return i(e,t),e.create=function(t,n){return new e(t,n)},e.dispatch=function(t){var e=t.index,n=t.iterator,r=t.subscriber;if(t.hasError)r.error(t.error);else{var i=n.next();i.done?r.complete():(r.next(i.value),t.index=e+1,r.closed?"function"==typeof n.return&&n.return():this.schedule(t))}},e.prototype._subscribe=function(t){var n=this.iterator,r=this.scheduler;if(r)return r.schedule(e.dispatch,0,{index:0,iterator:n,subscriber:t});for(;;){var i=n.next();if(i.done){t.complete();break}if(t.next(i.value),t.closed){"function"==typeof n.return&&n.return();break}}},e}(s.Observable);var u=function(){function t(t,e,n){void 0===e&&(e=0),void 0===n&&(n=t.length),this.str=t,this.idx=e,this.len=n}return t.prototype[a.iterator]=function(){return this},t.prototype.next=function(){return this.idx<this.len?{done:!1,value:this.str.charAt(this.idx++)}:{done:!0,value:void 0}},t}(),l=function(){function t(t,e,n){void 0===e&&(e=0),void 0===n&&(n=r(t)),this.arr=t,this.idx=e,this.len=n}return t.prototype[a.iterator]=function(){return this},t.prototype.next=function(){return this.idx<this.len?{done:!1,value:this.arr[this.idx++]}:{done:!0,value:void 0}},t}(),c=Math.pow(2,53)-1},function(t,e,n){"use strict";var r=n(0).__extends,i=n(2),o=n(260),s=n(98);e.ArrayLikeObservable=function(t){function e(e,n){t.call(this),this.arrayLike=e,this.scheduler=n,n||1!==e.length||(this._isScalar=!0,this.value=e[0])}return r(e,t),e.create=function(t,n){var r=t.length;return 0===r?new s.EmptyObservable:1===r?new o.ScalarObservable(t[0],n):new e(t,n)},e.dispatch=function(t){var e=t.arrayLike,n=t.index,r=t.subscriber;r.closed||(n>=t.length?r.complete():(r.next(e[n]),t.index=n+1,this.schedule(t)))},e.prototype._subscribe=function(t){var n=this.arrayLike,r=this.scheduler,i=n.length;if(r)return r.schedule(e.dispatch,0,{arrayLike:n,index:0,length:i,subscriber:t});for(var o=0;o<i&&!t.closed;o++)t.next(n[o]);t.complete()},e}(i.Observable)},function(t,e,n){"use strict";function r(){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}()}var i=n(56);e.minimalSetImpl=r,e.Set=i.root.Set||r()},function(t,e,n){"use strict";var r=n(56),i=n(948);e.Map=r.root.Map||i.MapPolyfill},function(t,e,n){"use strict";e.MapPolyfill=function(){function t(){this.size=0,this._values=[],this._keys=[]}return t.prototype.get=function(t){var e=this._keys.indexOf(t);return-1===e?void 0:this._values[e]},t.prototype.set=function(t,e){var n=this._keys.indexOf(t);return-1===n?(this._keys.push(t),this._values.push(e),this.size++):this._values[n]=e,this},t.prototype.delete=function(t){var e=this._keys.indexOf(t);return-1!==e&&(this._values.splice(e,1),this._keys.splice(e,1),this.size--,!0)},t.prototype.clear=function(){this._keys.length=0,this._values.length=0,this.size=0},t.prototype.forEach=function(t,e){for(var n=0;n<this.size;n++)t.call(e,this._values[n],this._keys[n])},t}()},function(t,e,n){"use strict";e.FastMap=function(){function t(){this.values={}}return t.prototype.delete=function(t){return this.values[t]=null,!0},t.prototype.set=function(t,e){return this.values[t]=e,this},t.prototype.get=function(t){return this.values[t]},t.prototype.forEach=function(t,e){var n=this.values;for(var r in n)n.hasOwnProperty(r)&&null!==n[r]&&t.call(e,n[r],r)},t.prototype.clear=function(){this.values={}},t}()},function(t,e,n){"use strict";e.not=function(t,e){function n(){return!n.pred.apply(n.thisArg,arguments)}return n.pred=t,n.thisArg=e,n}},function(t,e,n){"use strict";var r=n(0).__extends,i=n(144);e.QueueAction=function(t){function e(e,n){t.call(this,e,n),this.scheduler=e,this.work=n}return r(e,t),e.prototype.schedule=function(e,n){return void 0===n&&(n=0),n>0?t.prototype.schedule.call(this,e,n):(this.delay=n,this.state=e,this.scheduler.flush(this),this)},e.prototype.execute=function(e,n){return n>0||this.closed?t.prototype.execute.call(this,e,n):this._execute(e,n)},e.prototype.requestAsyncId=function(e,n,r){return void 0===r&&(r=0),null!==r&&r>0||null===r&&this.delay>0?t.prototype.requestAsyncId.call(this,e,n,r):e.flush(this)},e}(i.AsyncAction)},function(t,e,n){"use strict";var r=n(0).__extends,i=n(145);e.QueueScheduler=function(t){function e(){t.apply(this,arguments)}return r(e,t),e}(i.AsyncScheduler)},function(t,e,n){"use strict";var r=n(2),i=n(954);r.Observable.bindCallback=i.bindCallback},function(t,e,n){"use strict";var r=n(955);e.bindCallback=r.BoundCallbackObservable.create},function(t,e,n){"use strict";function r(t){var e=t.subject;e.next(t.value),e.complete()}function i(t){t.subject.error(t.err)}var o=n(0).__extends,s=n(2),a=n(48),u=n(44),l=n(192);e.BoundCallbackObservable=function(t){function e(e,n,r,i,o){t.call(this),this.callbackFunc=e,this.selector=n,this.args=r,this.context=i,this.scheduler=o}return o(e,t),e.create=function(t,n,r){return void 0===n&&(n=void 0),function(){for(var i=[],o=0;o<arguments.length;o++)i[o-0]=arguments[o];return new e(t,n,i,this,r)}},e.prototype._subscribe=function(t){var n=this.callbackFunc,r=this.args,i=this.scheduler,o=this.subject;if(i)return i.schedule(e.dispatch,0,{source:this,subscriber:t,context:this.context});if(!o){o=this.subject=new l.AsyncSubject;var s=function t(){for(var e=[],n=0;n<arguments.length;n++)e[n-0]=arguments[n];var r=t.source,i=r.selector,o=r.subject;if(i){var s=a.tryCatch(i).apply(this,e);s===u.errorObject?o.error(u.errorObject.e):(o.next(s),o.complete())}else o.next(e.length<=1?e[0]:e),o.complete()};s.source=this;a.tryCatch(n).apply(this.context,r.concat(s))===u.errorObject&&o.error(u.errorObject.e)}return o.subscribe(t)},e.dispatch=function(t){var e=this,n=t.source,o=t.subscriber,s=t.context,c=n.callbackFunc,d=n.args,h=n.scheduler,f=n.subject;if(!f){f=n.subject=new l.AsyncSubject;var p=function t(){for(var n=[],o=0;o<arguments.length;o++)n[o-0]=arguments[o];var s=t.source,l=s.selector,c=s.subject;if(l){var d=a.tryCatch(l).apply(this,n);e.add(d===u.errorObject?h.schedule(i,0,{err:u.errorObject.e,subject:c}):h.schedule(r,0,{value:d,subject:c}))}else{e.add(h.schedule(r,0,{value:n.length<=1?n[0]:n,subject:c}))}};p.source=n;a.tryCatch(c).apply(s,d.concat(p))===u.errorObject&&f.error(u.errorObject.e)}e.add(f.subscribe(o))},e}(s.Observable)},function(t,e,n){"use strict";var r=n(2),i=n(957);r.Observable.bindNodeCallback=i.bindNodeCallback},function(t,e,n){"use strict";var r=n(958);e.bindNodeCallback=r.BoundNodeCallbackObservable.create},function(t,e,n){"use strict";function r(t){var e=this,n=t.source,r=t.subscriber,s=t.context,a=n.callbackFunc,d=n.args,h=n.scheduler,f=n.subject;if(!f){f=n.subject=new c.AsyncSubject;var p=function t(){for(var n=[],r=0;r<arguments.length;r++)n[r-0]=arguments[r];var s=t.source,a=s.selector,c=s.subject,d=n.shift();if(d)e.add(h.schedule(o,0,{err:d,subject:c}));else if(a){var f=u.tryCatch(a).apply(this,n);e.add(f===l.errorObject?h.schedule(o,0,{err:l.errorObject.e,subject:c}):h.schedule(i,0,{value:f,subject:c}))}else{e.add(h.schedule(i,0,{value:n.length<=1?n[0]:n,subject:c}))}};p.source=n;u.tryCatch(a).apply(s,d.concat(p))===l.errorObject&&e.add(h.schedule(o,0,{err:l.errorObject.e,subject:f}))}e.add(f.subscribe(r))}function i(t){var e=t.subject;e.next(t.value),e.complete()}function o(t){t.subject.error(t.err)}var s=n(0).__extends,a=n(2),u=n(48),l=n(44),c=n(192);e.BoundNodeCallbackObservable=function(t){function e(e,n,r,i,o){t.call(this),this.callbackFunc=e,this.selector=n,this.args=r,this.context=i,this.scheduler=o}return s(e,t),e.create=function(t,n,r){return void 0===n&&(n=void 0),function(){for(var i=[],o=0;o<arguments.length;o++)i[o-0]=arguments[o];return new e(t,n,i,this,r)}},e.prototype._subscribe=function(t){var e=this.callbackFunc,n=this.args,i=this.scheduler,o=this.subject;if(i)return i.schedule(r,0,{source:this,subscriber:t,context:this.context});if(!o){o=this.subject=new c.AsyncSubject;var s=function t(){for(var e=[],n=0;n<arguments.length;n++)e[n-0]=arguments[n];var r=t.source,i=r.selector,o=r.subject,s=e.shift();if(s)o.error(s);else if(i){var a=u.tryCatch(i).apply(this,e);a===l.errorObject?o.error(l.errorObject.e):(o.next(a),o.complete())}else o.next(e.length<=1?e[0]:e),o.complete()};s.source=this;u.tryCatch(e).apply(this.context,n.concat(s))===l.errorObject&&o.error(l.errorObject.e)}return o.subscribe(t)},e}(a.Observable)},function(t,e,n){"use strict";var r=n(2),i=n(960);r.Observable.combineLatest=i.combineLatest},function(t,e,n){"use strict";var r=n(72),i=n(81),o=n(97),s=n(189);e.combineLatest=function(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];var n=null,a=null;return r.isScheduler(t[t.length-1])&&(a=t.pop()),"function"==typeof t[t.length-1]&&(n=t.pop()),1===t.length&&i.isArray(t[0])&&(t=t[0]),new o.ArrayObservable(t,a).lift(new s.CombineLatestOperator(n))}},function(t,e,n){"use strict";var r=n(2),i=n(147);r.Observable.concat=i.concat},function(t,e,n){"use strict";var r=n(2),i=n(963);r.Observable.defer=i.defer},function(t,e,n){"use strict";var r=n(964);e.defer=r.DeferObservable.create},function(t,e,n){"use strict";var r=n(0).__extends,i=n(2),o=n(23),s=n(24);e.DeferObservable=function(t){function e(e){t.call(this),this.observableFactory=e}return r(e,t),e.create=function(t){return new e(t)},e.prototype._subscribe=function(t){return new a(t,this.observableFactory)},e}(i.Observable);var a=function(t){function e(e,n){t.call(this,e),this.factory=n,this.tryDefer()}return r(e,t),e.prototype.tryDefer=function(){try{this._callFactory()}catch(t){this._error(t)}},e.prototype._callFactory=function(){var t=this.factory();t&&this.add(o.subscribeToResult(this,t))},e}(s.OuterSubscriber)},function(t,e,n){"use strict";var r=n(2),i=n(966);r.Observable.empty=i.empty},function(t,e,n){"use strict";var r=n(98);e.empty=r.EmptyObservable.create},function(t,e,n){"use strict";var r=n(2),i=n(491);r.Observable.forkJoin=i.forkJoin},function(t,e,n){"use strict";var r=n(0).__extends,i=n(2),o=n(98),s=n(81),a=n(23),u=n(24);e.ForkJoinObservable=function(t){function e(e,n){t.call(this),this.sources=e,this.resultSelector=n}return r(e,t),e.create=function(){for(var t=[],n=0;n<arguments.length;n++)t[n-0]=arguments[n];if(null===t||0===arguments.length)return new o.EmptyObservable;var r=null;return"function"==typeof t[t.length-1]&&(r=t.pop()),1===t.length&&s.isArray(t[0])&&(t=t[0]),0===t.length?new o.EmptyObservable:new e(t,r)},e.prototype._subscribe=function(t){return new l(t,this.sources,this.resultSelector)},e}(i.Observable);var l=function(t){function e(e,n,r){t.call(this,e),this.sources=n,this.resultSelector=r,this.completed=0,this.haveValues=0;var i=n.length;this.total=i,this.values=new Array(i);for(var o=0;o<i;o++){var s=a.subscribeToResult(this,n[o],null,o);s&&(s.outerIndex=o,this.add(s))}}return r(e,t),e.prototype.notifyNext=function(t,e,n,r,i){this.values[n]=e,i._hasValue||(i._hasValue=!0,this.haveValues++)},e.prototype.notifyComplete=function(t){var e=this.destination,n=this.haveValues,r=this.resultSelector,i=this.values,o=i.length;if(t._hasValue){if(this.completed++,this.completed===o){if(n===o){var s=r?r.apply(this,i):i;e.next(s)}e.complete()}}else e.complete()},e}(u.OuterSubscriber)},function(t,e,n){"use strict";var r=n(2),i=n(122);r.Observable.from=i.from},function(t,e,n){"use strict";var r=n(0).__extends,i=n(2),o=n(48),s=n(183),a=n(44),u=n(38),l=Object.prototype.toString;e.FromEventObservable=function(t){function e(e,n,r,i){t.call(this),this.sourceObj=e,this.eventName=n,this.selector=r,this.options=i}return r(e,t),e.create=function(t,n,r,i){return s.isFunction(r)&&(i=r,r=void 0),new e(t,n,i,r)},e.setupSubscription=function(t,n,r,i,o){var s;if(function(t){return!!t&&"[object NodeList]"===l.call(t)}(t)||function(t){return!!t&&"[object HTMLCollection]"===l.call(t)}(t))for(var a=0,c=t.length;a<c;a++)e.setupSubscription(t[a],n,r,i,o);else if(function(t){return!!t&&"function"==typeof t.addEventListener&&"function"==typeof t.removeEventListener}(t)){var d=t;t.addEventListener(n,r,o),s=function(){return d.removeEventListener(n,r,o)}}else if(function(t){return!!t&&"function"==typeof t.on&&"function"==typeof t.off}(t)){var h=t;t.on(n,r),s=function(){return h.off(n,r)}}else{if(!function(t){return!!t&&"function"==typeof t.addListener&&"function"==typeof t.removeListener}(t))throw new TypeError("Invalid event target");var f=t;t.addListener(n,r),s=function(){return f.removeListener(n,r)}}i.add(new u.Subscription(s))},e.prototype._subscribe=function(t){var n=this.selector;e.setupSubscription(this.sourceObj,this.eventName,n?function(){for(var e=[],r=0;r<arguments.length;r++)e[r-0]=arguments[r];var i=o.tryCatch(n).apply(void 0,e);i===a.errorObject?t.error(a.errorObject.e):t.next(i)}:function(e){return t.next(e)},t,this.options)},e}(i.Observable)},function(t,e,n){"use strict";var r=n(2),i=n(492);r.Observable.fromEventPattern=i.fromEventPattern},function(t,e,n){"use strict";var r=n(0).__extends,i=n(183),o=n(2),s=n(38);e.FromEventPatternObservable=function(t){function e(e,n,r){t.call(this),this.addHandler=e,this.removeHandler=n,this.selector=r}return r(e,t),e.create=function(t,n,r){return new e(t,n,r)},e.prototype._subscribe=function(t){var e=this,n=this.removeHandler,r=this.selector?function(){for(var n=[],r=0;r<arguments.length;r++)n[r-0]=arguments[r];e._callSelector(t,n)}:function(e){t.next(e)},o=this._callAddHandler(r,t);i.isFunction(n)&&t.add(new s.Subscription(function(){n(r,o)}))},e.prototype._callSelector=function(t,e){try{var n=this.selector.apply(this,e);t.next(n)}catch(e){t.error(e)}},e.prototype._callAddHandler=function(t,e){try{return this.addHandler(t)||null}catch(t){e.error(t)}},e}(o.Observable)},function(t,e,n){"use strict";var r=n(2),i=n(974);r.Observable.generate=i.generate},function(t,e,n){"use strict";var r=n(975);e.generate=r.GenerateObservable.create},function(t,e,n){"use strict";var r=n(0).__extends,i=n(2),o=n(72),s=function(t){return t};e.GenerateObservable=function(t){function e(e,n,r,i,o){t.call(this),this.initialState=e,this.condition=n,this.iterate=r,this.resultSelector=i,this.scheduler=o}return r(e,t),e.create=function(t,n,r,i,a){return 1==arguments.length?new e(t.initialState,t.condition,t.iterate,t.resultSelector||s,t.scheduler):void 0===i||o.isScheduler(i)?new e(t,n,r,s,i):new e(t,n,r,i,a)},e.prototype._subscribe=function(t){var n=this.initialState;if(this.scheduler)return this.scheduler.schedule(e.dispatch,0,{subscriber:t,iterate:this.iterate,condition:this.condition,resultSelector:this.resultSelector,state:n});for(var r=this.condition,i=this.resultSelector,o=this.iterate;;){if(r){var s=void 0;try{s=r(n)}catch(e){return void t.error(e)}if(!s){t.complete();break}}var a=void 0;try{a=i(n)}catch(e){return void t.error(e)}if(t.next(a),t.closed)break;try{n=o(n)}catch(e){return void t.error(e)}}},e.dispatch=function(t){var e=t.subscriber,n=t.condition;if(!e.closed){if(t.needIterate)try{t.state=t.iterate(t.state)}catch(t){return void e.error(t)}else t.needIterate=!0;if(n){var r=void 0;try{r=n(t.state)}catch(t){return void e.error(t)}if(!r)return void e.complete();if(e.closed)return}var i;try{i=t.resultSelector(t.state)}catch(t){return void e.error(t)}if(!e.closed&&(e.next(i),!e.closed))return this.schedule(t)}},e}(i.Observable)},function(t,e,n){"use strict";var r=n(2),i=n(977);r.Observable.if=i._if},function(t,e,n){"use strict";var r=n(978);e._if=r.IfObservable.create},function(t,e,n){"use strict";var r=n(0).__extends,i=n(2),o=n(23),s=n(24);e.IfObservable=function(t){function e(e,n,r){t.call(this),this.condition=e,this.thenSource=n,this.elseSource=r}return r(e,t),e.create=function(t,n,r){return new e(t,n,r)},e.prototype._subscribe=function(t){return new a(t,this.condition,this.thenSource,this.elseSource)},e}(i.Observable);var a=function(t){function e(e,n,r,i){t.call(this,e),this.condition=n,this.thenSource=r,this.elseSource=i,this.tryIf()}return r(e,t),e.prototype.tryIf=function(){var t=this.condition,e=this.thenSource,n=this.elseSource;try{var r=t()?e:n;r?this.add(o.subscribeToResult(this,r)):this._complete()}catch(t){this._error(t)}},e}(s.OuterSubscriber)},function(t,e,n){"use strict";var r=n(2),i=n(495);r.Observable.interval=i.interval},function(t,e,n){"use strict";var r=n(0).__extends,i=n(146),o=n(2),s=n(34);e.IntervalObservable=function(t){function e(e,n){void 0===e&&(e=0),void 0===n&&(n=s.async),t.call(this),this.period=e,this.scheduler=n,(!i.isNumeric(e)||e<0)&&(this.period=0),n&&"function"==typeof n.schedule||(this.scheduler=s.async)}return r(e,t),e.create=function(t,n){return void 0===t&&(t=0),void 0===n&&(n=s.async),new e(t,n)},e.dispatch=function(t){var e=t.subscriber,n=t.period;e.next(t.index),e.closed||(t.index+=1,this.schedule(t,n))},e.prototype._subscribe=function(t){var n=this.period;t.add(this.scheduler.schedule(e.dispatch,n,{index:0,subscriber:t,period:n}))},e}(o.Observable)},function(t,e,n){"use strict";var r=n(2),i=n(272);r.Observable.race=i.race},function(t,e,n){"use strict";var r=n(2),i=n(983);r.Observable.never=i.never},function(t,e,n){"use strict";var r=n(984);e.never=r.NeverObservable.create},function(t,e,n){"use strict";var r=n(0).__extends,i=n(2),o=n(259);e.NeverObservable=function(t){function e(){t.call(this)}return r(e,t),e.create=function(){return new e},e.prototype._subscribe=function(t){o.noop()},e}(i.Observable)},function(t,e,n){"use strict";var r=n(2),i=n(255);r.Observable.of=i.of},function(t,e,n){"use strict";var r=n(2),i=n(987);r.Observable.onErrorResumeNext=i.onErrorResumeNext},function(t,e,n){"use strict";var r=n(271);e.onErrorResumeNext=r.onErrorResumeNextStatic},function(t,e,n){"use strict";var r=n(2),i=n(989);r.Observable.pairs=i.pairs},function(t,e,n){"use strict";var r=n(990);e.pairs=r.PairsObservable.create},function(t,e,n){"use strict";function r(t){var e=t.index,n=t.subscriber;if(e!==t.length){var r=t.keys[e];n.next([r,t.obj[r]]),t.index=e+1,this.schedule(t)}else n.complete()}var i=n(0).__extends,o=n(2);e.PairsObservable=function(t){function e(e,n){t.call(this),this.obj=e,this.scheduler=n,this.keys=Object.keys(e)}return i(e,t),e.create=function(t,n){return new e(t,n)},e.prototype._subscribe=function(t){var e=this.keys,n=this.scheduler,i=e.length;if(n)return n.schedule(r,0,{obj:this.obj,keys:e,length:i,index:0,subscriber:t});for(var o=0;o<i;o++){var s=e[o];t.next([s,this.obj[s]])}t.complete()},e}(o.Observable)},function(t,e,n){"use strict";var r=n(2),i=n(992);r.Observable.range=i.range},function(t,e,n){"use strict";var r=n(993);e.range=r.RangeObservable.create},function(t,e,n){"use strict";var r=n(0).__extends,i=n(2);e.RangeObservable=function(t){function e(e,n,r){t.call(this),this.start=e,this._count=n,this.scheduler=r}return r(e,t),e.create=function(t,n,r){return void 0===t&&(t=0),void 0===n&&(n=0),new e(t,n,r)},e.dispatch=function(t){var e=t.start,n=t.index,r=t.subscriber;n>=t.count?r.complete():(r.next(e),r.closed||(t.index=n+1,t.start=e+1,this.schedule(t)))},e.prototype._subscribe=function(t){var n=0,r=this.start,i=this._count,o=this.scheduler;if(o)return o.schedule(e.dispatch,0,{index:n,count:i,start:r,subscriber:t});for(;;){if(n++>=i){t.complete();break}if(t.next(r++),t.closed)break}},e}(i.Observable)},function(t,e,n){"use strict";var r=n(2),i=n(995);r.Observable.using=i.using},function(t,e,n){"use strict";var r=n(996);e.using=r.UsingObservable.create},function(t,e,n){"use strict";var r=n(0).__extends,i=n(2),o=n(23),s=n(24);e.UsingObservable=function(t){function e(e,n){t.call(this),this.resourceFactory=e,this.observableFactory=n}return r(e,t),e.create=function(t,n){return new e(t,n)},e.prototype._subscribe=function(t){var e,n=this.resourceFactory,r=this.observableFactory;try{return e=n(),new a(t,e,r)}catch(e){t.error(e)}},e}(i.Observable);var a=function(t){function e(e,n,r){t.call(this,e),this.resource=n,this.observableFactory=r,e.add(n),this.tryUse()}return r(e,t),e.prototype.tryUse=function(){try{var t=this.observableFactory.call(this,this.resource);t&&this.add(o.subscribeToResult(this,t))}catch(t){this._error(t)}},e}(s.OuterSubscriber)},function(t,e,n){"use strict";var r=n(2),i=n(496);r.Observable.throw=i._throw},function(t,e,n){"use strict";var r=n(0).__extends,i=n(2);e.ErrorObservable=function(t){function e(e,n){t.call(this),this.error=e,this.scheduler=n}return r(e,t),e.create=function(t,n){return new e(t,n)},e.dispatch=function(t){t.subscriber.error(t.error)},e.prototype._subscribe=function(t){var n=this.error,r=this.scheduler;if(t.syncErrorThrowable=!0,r)return r.schedule(e.dispatch,0,{error:n,subscriber:t});t.error(n)},e}(i.Observable)},function(t,e,n){"use strict";var r=n(194);e.zip=r.zipStatic},function(t,e,n){"use strict";var r=n(2),i=n(1001);r.Observable.ajax=i.ajax},function(t,e,n){"use strict";var r=n(499);e.ajax=r.AjaxObservable.create},function(t,e,n){"use strict";var r=n(2),i=n(1003);r.Observable.webSocket=i.webSocket},function(t,e,n){"use strict";var r=n(1004);e.webSocket=r.WebSocketSubject.create},function(t,e,n){"use strict";var r=n(0).__extends,i=n(19),o=n(15),s=n(2),a=n(38),u=n(56),l=n(60),c=n(48),d=n(44),h=n(1005);e.WebSocketSubject=function(t){function e(e,n){if(e instanceof s.Observable)t.call(this,n,e);else{if(t.call(this),this.WebSocketCtor=u.root.WebSocket,this._output=new i.Subject,"string"==typeof e?this.url=e:h.assign(this,e),!this.WebSocketCtor)throw new Error("no WebSocket constructor can be found");this.destination=new l.ReplaySubject}}return r(e,t),e.prototype.resultSelector=function(t){return JSON.parse(t.data)},e.create=function(t){return new e(t)},e.prototype.lift=function(t){var n=new e(this,this.destination);return n.operator=t,n},e.prototype._resetState=function(){this.socket=null,this.source||(this.destination=new l.ReplaySubject),this._output=new i.Subject},e.prototype.multiplex=function(t,e,n){var r=this;return new s.Observable(function(i){var o=c.tryCatch(t)();o===d.errorObject?i.error(d.errorObject.e):r.next(o);var s=r.subscribe(function(t){var e=c.tryCatch(n)(t);e===d.errorObject?i.error(d.errorObject.e):e&&i.next(t)},function(t){return i.error(t)},function(){return i.complete()});return function(){var t=c.tryCatch(e)();t===d.errorObject?i.error(d.errorObject.e):r.next(t),s.unsubscribe()}})},e.prototype._connectSocket=function(){var t=this,e=this.WebSocketCtor,n=this._output,r=null;try{r=this.protocol?new e(this.url,this.protocol):new e(this.url),this.socket=r,this.binaryType&&(this.socket.binaryType=this.binaryType)}catch(t){return void n.error(t)}var i=new a.Subscription(function(){t.socket=null,r&&1===r.readyState&&r.close()});r.onopen=function(e){var s=t.openObserver;s&&s.next(e);var a=t.destination;t.destination=o.Subscriber.create(function(t){return 1===r.readyState&&r.send(t)},function(e){var i=t.closingObserver;i&&i.next(void 0),e&&e.code?r.close(e.code,e.reason):n.error(new TypeError("WebSocketSubject.error must be called with an object with an error code, and an optional reason: { code: number, reason: string }")),t._resetState()},function(){var e=t.closingObserver;e&&e.next(void 0),r.close(),t._resetState()}),a&&a instanceof l.ReplaySubject&&i.add(a.subscribe(t.destination))},r.onerror=function(e){t._resetState(),n.error(e)},r.onclose=function(e){t._resetState();var r=t.closeObserver;r&&r.next(e),e.wasClean?n.complete():n.error(e)},r.onmessage=function(e){var r=c.tryCatch(t.resultSelector)(e);r===d.errorObject?n.error(d.errorObject.e):n.next(r)}},e.prototype._subscribe=function(t){var e=this,n=this.source;if(n)return n.subscribe(t);this.socket||this._connectSocket();var r=new a.Subscription;return r.add(this._output.subscribe(t)),r.add(function(){var t=e.socket;0===e._output.observers.length&&(t&&1===t.readyState&&t.close(),e._resetState())}),r},e.prototype.unsubscribe=function(){var e=this.source,n=this.socket;n&&1===n.readyState&&(n.close(),this._resetState()),t.prototype.unsubscribe.call(this),e||(this.destination=new l.ReplaySubject)},e}(i.AnonymousSubject)},function(t,e,n){"use strict";function r(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];for(var r=e.length,i=0;i<r;i++){var o=e[i];for(var s in o)o.hasOwnProperty(s)&&(t[s]=o[s])}return t}function i(t){return t.Object.assign||r}var o=n(56);e.assignImpl=r,e.getAssign=i,e.assign=i(o.root)},function(t,e,n){"use strict";var r=n(2),i=n(1007);r.Observable.prototype.buffer=i.buffer},function(t,e,n){"use strict";var r=n(408);e.buffer=function(t){return r.buffer(t)(this)}},function(t,e,n){"use strict";var r=n(2),i=n(1009);r.Observable.prototype.bufferCount=i.bufferCount},function(t,e,n){"use strict";var r=n(409);e.bufferCount=function(t,e){return void 0===e&&(e=null),r.bufferCount(t,e)(this)}},function(t,e,n){"use strict";var r=n(2),i=n(1011);r.Observable.prototype.bufferTime=i.bufferTime},function(t,e,n){"use strict";var r=n(34),i=n(72),o=n(410);e.bufferTime=function(t){var e=arguments.length,n=r.async;i.isScheduler(arguments[arguments.length-1])&&(n=arguments[arguments.length-1],e--);var s=null;e>=2&&(s=arguments[1]);var a=Number.POSITIVE_INFINITY;return e>=3&&(a=arguments[2]),o.bufferTime(t,s,a,n)(this)}},function(t,e,n){"use strict";var r=n(2),i=n(1013);r.Observable.prototype.bufferToggle=i.bufferToggle},function(t,e,n){"use strict";var r=n(411);e.bufferToggle=function(t,e){return r.bufferToggle(t,e)(this)}},function(t,e,n){"use strict";var r=n(2),i=n(1015);r.Observable.prototype.bufferWhen=i.bufferWhen},function(t,e,n){"use strict";var r=n(412);e.bufferWhen=function(t){return r.bufferWhen(t)(this)}},function(t,e,n){"use strict";var r=n(2),i=n(1017);r.Observable.prototype.catch=i._catch,r.Observable.prototype._catch=i._catch},function(t,e,n){"use strict";var r=n(413);e._catch=function(t){return r.catchError(t)(this)}},function(t,e,n){"use strict";var r=n(2),i=n(1019);r.Observable.prototype.combineAll=i.combineAll},function(t,e,n){"use strict";var r=n(414);e.combineAll=function(t){return r.combineAll(t)(this)}},function(t,e,n){"use strict";var r=n(2),i=n(1021);r.Observable.prototype.combineLatest=i.combineLatest},function(t,e,n){"use strict";var r=n(189);e.combineLatest=function(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];return r.combineLatest.apply(void 0,t)(this)}},function(t,e,n){"use strict";var r=n(2),i=n(1023);r.Observable.prototype.concat=i.concat},function(t,e,n){"use strict";var r=n(415),i=n(147);e.concatStatic=i.concat,e.concat=function(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];return r.concat.apply(void 0,t)(this)}},function(t,e,n){"use strict";var r=n(2),i=n(1025);r.Observable.prototype.concatAll=i.concatAll},function(t,e,n){"use strict";var r=n(263);e.concatAll=function(){return r.concatAll()(this)}},function(t,e,n){"use strict";var r=n(2),i=n(489);r.Observable.prototype.concatMap=i.concatMap},function(t,e,n){"use strict";var r=n(2),i=n(1028);r.Observable.prototype.concatMapTo=i.concatMapTo},function(t,e,n){"use strict";var r=n(418);e.concatMapTo=function(t,e){return r.concatMapTo(t,e)(this)}},function(t,e,n){"use strict";var r=n(2),i=n(1030);r.Observable.prototype.count=i.count},function(t,e,n){"use strict";var r=n(419);e.count=function(t){return r.count(t)(this)}},function(t,e,n){"use strict";var r=n(2),i=n(1032);r.Observable.prototype.dematerialize=i.dematerialize},function(t,e,n){"use strict";var r=n(424);e.dematerialize=function(){return r.dematerialize()(this)}},function(t,e,n){"use strict";var r=n(2),i=n(1034);r.Observable.prototype.debounce=i.debounce},function(t,e,n){"use strict";var r=n(420);e.debounce=function(t){return r.debounce(t)(this)}},function(t,e,n){"use strict";var r=n(2),i=n(1036);r.Observable.prototype.debounceTime=i.debounceTime},function(t,e,n){"use strict";var r=n(34),i=n(421);e.debounceTime=function(t,e){return void 0===e&&(e=r.async),i.debounceTime(t,e)(this)}},function(t,e,n){"use strict";var r=n(2),i=n(1038);r.Observable.prototype.defaultIfEmpty=i.defaultIfEmpty},function(t,e,n){"use strict";var r=n(265);e.defaultIfEmpty=function(t){return void 0===t&&(t=null),r.defaultIfEmpty(t)(this)}},function(t,e,n){"use strict";var r=n(2),i=n(1040);r.Observable.prototype.delay=i.delay},function(t,e,n){"use strict";var r=n(34),i=n(422);e.delay=function(t,e){return void 0===e&&(e=r.async),i.delay(t,e)(this)}},function(t,e,n){"use strict";var r=n(2),i=n(1042);r.Observable.prototype.delayWhen=i.delayWhen},function(t,e,n){"use strict";var r=n(423);e.delayWhen=function(t,e){return r.delayWhen(t,e)(this)}},function(t,e,n){"use strict";var r=n(2),i=n(1044);r.Observable.prototype.distinct=i.distinct},function(t,e,n){"use strict";var r=n(425);e.distinct=function(t,e){return r.distinct(t,e)(this)}},function(t,e,n){"use strict";var r=n(2),i=n(1046);r.Observable.prototype.distinctUntilChanged=i.distinctUntilChanged},function(t,e,n){"use strict";var r=n(266);e.distinctUntilChanged=function(t,e){return r.distinctUntilChanged(t,e)(this)}},function(t,e,n){"use strict";var r=n(2),i=n(1048);r.Observable.prototype.distinctUntilKeyChanged=i.distinctUntilKeyChanged},function(t,e,n){"use strict";var r=n(426);e.distinctUntilKeyChanged=function(t,e){return r.distinctUntilKeyChanged(t,e)(this)}},function(t,e,n){"use strict";var r=n(2),i=n(1050);r.Observable.prototype.do=i._do,r.Observable.prototype._do=i._do},function(t,e,n){"use strict";var r=n(475);e._do=function(t,e,n){return r.tap(t,e,n)(this)}},function(t,e,n){"use strict";var r=n(2),i=n(1052);r.Observable.prototype.exhaust=i.exhaust},function(t,e,n){"use strict";var r=n(429);e.exhaust=function(){return r.exhaust()(this)}},function(t,e,n){"use strict";var r=n(2),i=n(1054);r.Observable.prototype.exhaustMap=i.exhaustMap},function(t,e,n){"use strict";var r=n(430);e.exhaustMap=function(t,e){return r.exhaustMap(t,e)(this)}},function(t,e,n){"use strict";var r=n(2),i=n(1056);r.Observable.prototype.expand=i.expand},function(t,e,n){"use strict";var r=n(431);e.expand=function(t,e,n){return void 0===e&&(e=Number.POSITIVE_INFINITY),void 0===n&&(n=void 0),e=(e||0)<1?Number.POSITIVE_INFINITY:e,r.expand(t,e,n)(this)}},function(t,e,n){"use strict";var r=n(2),i=n(1058);r.Observable.prototype.elementAt=i.elementAt},function(t,e,n){"use strict";var r=n(427);e.elementAt=function(t,e){return r.elementAt(t,e)(this)}},function(t,e,n){"use strict";var r=n(2),i=n(1060);r.Observable.prototype.finally=i._finally,r.Observable.prototype._finally=i._finally},function(t,e,n){"use strict";var r=n(432);e._finally=function(t){return r.finalize(t)(this)}},function(t,e,n){"use strict";var r=n(2),i=n(1062);r.Observable.prototype.find=i.find},function(t,e,n){"use strict";var r=n(268);e.find=function(t,e){return r.find(t,e)(this)}},function(t,e,n){"use strict";var r=n(2),i=n(1064);r.Observable.prototype.findIndex=i.findIndex},function(t,e,n){"use strict";var r=n(433);e.findIndex=function(t,e){return r.findIndex(t,e)(this)}},function(t,e,n){"use strict";var r=n(2),i=n(1066);r.Observable.prototype.first=i.first},function(t,e,n){"use strict";var r=n(434);e.first=function(t,e,n){return r.first(t,e,n)(this)}},function(t,e,n){"use strict";var r=n(2),i=n(1068);r.Observable.prototype.groupBy=i.groupBy},function(t,e,n){"use strict";var r=n(435);e.GroupedObservable=r.GroupedObservable,e.groupBy=function(t,e,n,i){return r.groupBy(t,e,n,i)(this)}},function(t,e,n){"use strict";var r=n(2),i=n(1070);r.Observable.prototype.ignoreElements=i.ignoreElements},function(t,e,n){"use strict";var r=n(436);e.ignoreElements=function(){return r.ignoreElements()(this)}},function(t,e,n){"use strict";var r=n(2),i=n(1072);r.Observable.prototype.isEmpty=i.isEmpty},function(t,e,n){"use strict";var r=n(437);e.isEmpty=function(){return r.isEmpty()(this)}},function(t,e,n){"use strict";var r=n(2),i=n(1074);r.Observable.prototype.audit=i.audit},function(t,e,n){"use strict";var r=n(262);e.audit=function(t){return r.audit(t)(this)}},function(t,e,n){"use strict";var r=n(2),i=n(1076);r.Observable.prototype.auditTime=i.auditTime},function(t,e,n){"use strict";var r=n(34),i=n(406);e.auditTime=function(t,e){return void 0===e&&(e=r.async),i.auditTime(t,e)(this)}},function(t,e,n){"use strict";var r=n(2),i=n(1078);r.Observable.prototype.last=i.last},function(t,e,n){"use strict";var r=n(438);e.last=function(t,e,n){return r.last(t,e,n)(this)}},function(t,e,n){"use strict";var r=n(2),i=n(1080);r.Observable.prototype.let=i.letProto,r.Observable.prototype.letBind=i.letProto},function(t,e,n){"use strict";e.letProto=function(t){return t(this)}},function(t,e,n){"use strict";var r=n(2),i=n(1082);r.Observable.prototype.every=i.every},function(t,e,n){"use strict";var r=n(428);e.every=function(t,e){return r.every(t,e)(this)}},function(t,e,n){"use strict";var r=n(2),i=n(1084);r.Observable.prototype.mapTo=i.mapTo},function(t,e,n){"use strict";var r=n(439);e.mapTo=function(t){return r.mapTo(t)(this)}},function(t,e,n){"use strict";var r=n(2),i=n(1086);r.Observable.prototype.materialize=i.materialize},function(t,e,n){"use strict";var r=n(440);e.materialize=function(){return r.materialize()(this)}},function(t,e,n){"use strict";var r=n(2),i=n(1088);r.Observable.prototype.max=i.max},function(t,e,n){"use strict";var r=n(441);e.max=function(t){return r.max(t)(this)}},function(t,e,n){"use strict";var r=n(2),i=n(1090);r.Observable.prototype.merge=i.merge},function(t,e,n){"use strict";var r=n(442),i=n(121);e.mergeStatic=i.merge,e.merge=function(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];return r.merge.apply(void 0,t)(this)}},function(t,e,n){"use strict";var r=n(2),i=n(1092);r.Observable.prototype.mergeAll=i.mergeAll},function(t,e,n){"use strict";var r=n(186);e.mergeAll=function(t){return void 0===t&&(t=Number.POSITIVE_INFINITY),r.mergeAll(t)(this)}},function(t,e,n){"use strict";var r=n(2),i=n(1094);r.Observable.prototype.mergeMap=i.mergeMap,r.Observable.prototype.flatMap=i.mergeMap},function(t,e,n){"use strict";var r=n(142);e.mergeMap=function(t,e,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),r.mergeMap(t,e,n)(this)}},function(t,e,n){"use strict";var r=n(2),i=n(1096);r.Observable.prototype.flatMapTo=i.mergeMapTo,r.Observable.prototype.mergeMapTo=i.mergeMapTo},function(t,e,n){"use strict";var r=n(443);e.mergeMapTo=function(t,e,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),r.mergeMapTo(t,e,n)(this)}},function(t,e,n){"use strict";var r=n(2),i=n(1098);r.Observable.prototype.mergeScan=i.mergeScan},function(t,e,n){"use strict";var r=n(444);e.mergeScan=function(t,e,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),r.mergeScan(t,e,n)(this)}},function(t,e,n){"use strict";var r=n(2),i=n(1100);r.Observable.prototype.min=i.min},function(t,e,n){"use strict";var r=n(445);e.min=function(t){return r.min(t)(this)}},function(t,e,n){"use strict";var r=n(2),i=n(1102);r.Observable.prototype.multicast=i.multicast},function(t,e,n){"use strict";var r=n(110);e.multicast=function(t,e){return r.multicast(t,e)(this)}},function(t,e,n){"use strict";var r=n(2),i=n(1104);r.Observable.prototype.observeOn=i.observeOn},function(t,e,n){"use strict";var r=n(190);e.observeOn=function(t,e){return void 0===e&&(e=0),r.observeOn(t,e)(this)}},function(t,e,n){"use strict";var r=n(2),i=n(1106);r.Observable.prototype.onErrorResumeNext=i.onErrorResumeNext},function(t,e,n){"use strict";var r=n(271);e.onErrorResumeNext=function(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];return r.onErrorResumeNext.apply(void 0,t)(this)}},function(t,e,n){"use strict";var r=n(2),i=n(1108);r.Observable.prototype.pairwise=i.pairwise},function(t,e,n){"use strict";var r=n(446);e.pairwise=function(){return r.pairwise()(this)}},function(t,e,n){"use strict";var r=n(2),i=n(1110);r.Observable.prototype.partition=i.partition},function(t,e,n){"use strict";var r=n(447);e.partition=function(t,e){return r.partition(t,e)(this)}},function(t,e,n){"use strict";var r=n(2),i=n(1112);r.Observable.prototype.pluck=i.pluck},function(t,e,n){"use strict";var r=n(448);e.pluck=function(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];return r.pluck.apply(void 0,t)(this)}},function(t,e,n){"use strict";var r=n(2),i=n(1114);r.Observable.prototype.publish=i.publish},function(t,e,n){"use strict";var r=n(449);e.publish=function(t){return r.publish(t)(this)}},function(t,e,n){"use strict";var r=n(2),i=n(1116);r.Observable.prototype.publishBehavior=i.publishBehavior},function(t,e,n){"use strict";var r=n(450);e.publishBehavior=function(t){return r.publishBehavior(t)(this)}},function(t,e,n){"use strict";var r=n(2),i=n(1118);r.Observable.prototype.publishReplay=i.publishReplay},function(t,e,n){"use strict";var r=n(453);e.publishReplay=function(t,e,n,i){return r.publishReplay(t,e,n,i)(this)}},function(t,e,n){"use strict";var r=n(2),i=n(1120);r.Observable.prototype.publishLast=i.publishLast},function(t,e,n){"use strict";var r=n(452);e.publishLast=function(){return r.publishLast()(this)}},function(t,e,n){"use strict";var r=n(2),i=n(1122);r.Observable.prototype.race=i.race},function(t,e,n){"use strict";var r=n(455),i=n(272);e.raceStatic=i.race,e.race=function(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];return r.race.apply(void 0,t)(this)}},function(t,e,n){"use strict";var r=n(2),i=n(1124);r.Observable.prototype.reduce=i.reduce},function(t,e,n){"use strict";var r=n(151);e.reduce=function(t,e){return arguments.length>=2?r.reduce(t,e)(this):r.reduce(t)(this)}},function(t,e,n){"use strict";var r=n(2),i=n(1126);r.Observable.prototype.repeat=i.repeat},function(t,e,n){"use strict";var r=n(456);e.repeat=function(t){return void 0===t&&(t=-1),r.repeat(t)(this)}},function(t,e,n){"use strict";var r=n(2),i=n(1128);r.Observable.prototype.repeatWhen=i.repeatWhen},function(t,e,n){"use strict";var r=n(457);e.repeatWhen=function(t){return r.repeatWhen(t)(this)}},function(t,e,n){"use strict";var r=n(2),i=n(1130);r.Observable.prototype.retry=i.retry},function(t,e,n){"use strict";var r=n(458);e.retry=function(t){return void 0===t&&(t=-1),r.retry(t)(this)}},function(t,e,n){"use strict";var r=n(2),i=n(1132);r.Observable.prototype.retryWhen=i.retryWhen},function(t,e,n){"use strict";var r=n(459);e.retryWhen=function(t){return r.retryWhen(t)(this)}},function(t,e,n){"use strict";var r=n(2),i=n(1134);r.Observable.prototype.sample=i.sample},function(t,e,n){"use strict";var r=n(460);e.sample=function(t){return r.sample(t)(this)}},function(t,e,n){"use strict";var r=n(2),i=n(1136);r.Observable.prototype.sampleTime=i.sampleTime},function(t,e,n){"use strict";var r=n(34),i=n(461);e.sampleTime=function(t,e){return void 0===e&&(e=r.async),i.sampleTime(t,e)(this)}},function(t,e,n){"use strict";var r=n(2),i=n(1138);r.Observable.prototype.scan=i.scan},function(t,e,n){"use strict";var r=n(269);e.scan=function(t,e){return arguments.length>=2?r.scan(t,e)(this):r.scan(t)(this)}},function(t,e,n){"use strict";var r=n(2),i=n(1140);r.Observable.prototype.sequenceEqual=i.sequenceEqual},function(t,e,n){"use strict";var r=n(462);e.sequenceEqual=function(t,e){return r.sequenceEqual(t,e)(this)}},function(t,e,n){"use strict";var r=n(2),i=n(401);r.Observable.prototype.share=i.share},function(t,e,n){"use strict";var r=n(2),i=n(1143);r.Observable.prototype.shareReplay=i.shareReplay},function(t,e,n){"use strict";var r=n(463);e.shareReplay=function(t,e,n){return r.shareReplay(t,e,n)(this)}},function(t,e,n){"use strict";var r=n(2),i=n(1145);r.Observable.prototype.single=i.single},function(t,e,n){"use strict";var r=n(464);e.single=function(t){return r.single(t)(this)}},function(t,e,n){"use strict";var r=n(2),i=n(1147);r.Observable.prototype.skip=i.skip},function(t,e,n){"use strict";var r=n(465);e.skip=function(t){return r.skip(t)(this)}},function(t,e,n){"use strict";var r=n(2),i=n(1149);r.Observable.prototype.skipLast=i.skipLast},function(t,e,n){"use strict";var r=n(466);e.skipLast=function(t){return r.skipLast(t)(this)}},function(t,e,n){"use strict";var r=n(2),i=n(1151);r.Observable.prototype.skipUntil=i.skipUntil},function(t,e,n){"use strict";var r=n(467);e.skipUntil=function(t){return r.skipUntil(t)(this)}},function(t,e,n){"use strict";var r=n(2),i=n(1153);r.Observable.prototype.skipWhile=i.skipWhile},function(t,e,n){"use strict";var r=n(468);e.skipWhile=function(t){return r.skipWhile(t)(this)}},function(t,e,n){"use strict";var r=n(2),i=n(1155);r.Observable.prototype.startWith=i.startWith},function(t,e,n){"use strict";var r=n(469);e.startWith=function(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];return r.startWith.apply(void 0,t)(this)}},function(t,e,n){"use strict";var r=n(2),i=n(1157);r.Observable.prototype.subscribeOn=i.subscribeOn},function(t,e,n){"use strict";var r=n(1158);e.subscribeOn=function(t,e){return void 0===e&&(e=0),r.subscribeOn(t,e)(this)}},function(t,e,n){"use strict";var r=n(1159);e.subscribeOn=function(t,e){return void 0===e&&(e=0),function(n){return n.lift(new i(t,e))}};var i=function(){function t(t,e){this.scheduler=t,this.delay=e}return t.prototype.call=function(t,e){return new r.SubscribeOnObservable(e,this.delay,this.scheduler).subscribe(t)},t}()},function(t,e,n){"use strict";var r=n(0).__extends,i=n(2),o=n(501),s=n(146);e.SubscribeOnObservable=function(t){function e(e,n,r){void 0===n&&(n=0),void 0===r&&(r=o.asap),t.call(this),this.source=e,this.delayTime=n,this.scheduler=r,(!s.isNumeric(n)||n<0)&&(this.delayTime=0),r&&"function"==typeof r.schedule||(this.scheduler=o.asap)}return r(e,t),e.create=function(t,n,r){return void 0===n&&(n=0),void 0===r&&(r=o.asap),new e(t,n,r)},e.dispatch=function(t){return this.add(t.source.subscribe(t.subscriber))},e.prototype._subscribe=function(t){return this.scheduler.schedule(e.dispatch,this.delayTime,{source:this.source,subscriber:t})},e}(i.Observable)},function(t,e,n){"use strict";var r=n(0).__extends,i=n(1161),o=n(144);e.AsapAction=function(t){function e(e,n){t.call(this,e,n),this.scheduler=e,this.work=n}return r(e,t),e.prototype.requestAsyncId=function(e,n,r){return void 0===r&&(r=0),null!==r&&r>0?t.prototype.requestAsyncId.call(this,e,n,r):(e.actions.push(this),e.scheduled||(e.scheduled=i.Immediate.setImmediate(e.flush.bind(e,null))))},e.prototype.recycleAsyncId=function(e,n,r){if(void 0===r&&(r=0),null!==r&&r>0||null===r&&this.delay>0)return t.prototype.recycleAsyncId.call(this,e,n,r);0===e.actions.length&&(i.Immediate.clearImmediate(n),e.scheduled=void 0)},e}(o.AsyncAction)},function(t,e,n){"use strict";(function(t,r){var i=n(56),o=function(){function t(t){if(this.root=t,t.setImmediate&&"function"==typeof t.setImmediate)this.setImmediate=t.setImmediate.bind(t),this.clearImmediate=t.clearImmediate.bind(t);else{this.nextHandle=1,this.tasksByHandle={},this.currentlyRunningATask=!1,this.setImmediate=this.canUseProcessNextTick()?this.createProcessNextTickSetImmediate():this.canUsePostMessage()?this.createPostMessageSetImmediate():this.canUseMessageChannel()?this.createMessageChannelSetImmediate():this.canUseReadyStateChange()?this.createReadyStateChangeSetImmediate():this.createSetTimeoutSetImmediate();var e=function t(e){delete t.instance.tasksByHandle[e]};e.instance=this,this.clearImmediate=e}}return t.prototype.identify=function(t){return this.root.Object.prototype.toString.call(t)},t.prototype.canUseProcessNextTick=function(){return"[object process]"===this.identify(this.root.process)},t.prototype.canUseMessageChannel=function(){return Boolean(this.root.MessageChannel)},t.prototype.canUseReadyStateChange=function(){var t=this.root.document;return Boolean(t&&"onreadystatechange"in t.createElement("script"))},t.prototype.canUsePostMessage=function(){var t=this.root;if(t.postMessage&&!t.importScripts){var e=!0,n=t.onmessage;return t.onmessage=function(){e=!1},t.postMessage("","*"),t.onmessage=n,e}return!1},t.prototype.partiallyApplied=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];var r=function t(){var e=t.handler;"function"==typeof e?e.apply(void 0,t.args):new Function(""+e)()};return r.handler=t,r.args=e,r},t.prototype.addFromSetImmediateArguments=function(t){return this.tasksByHandle[this.nextHandle]=this.partiallyApplied.apply(void 0,t),this.nextHandle++},t.prototype.createProcessNextTickSetImmediate=function(){var t=function t(){var e=t.instance,n=e.addFromSetImmediateArguments(arguments);return e.root.process.nextTick(e.partiallyApplied(e.runIfPresent,n)),n};return t.instance=this,t},t.prototype.createPostMessageSetImmediate=function(){var t=this.root,e="setImmediate$"+t.Math.random()+"$",n=function n(r){var i=n.instance;r.source===t&&"string"==typeof r.data&&0===r.data.indexOf(e)&&i.runIfPresent(+r.data.slice(e.length))};n.instance=this,t.addEventListener("message",n,!1);var r=function t(){var e=t.messagePrefix,n=t.instance,r=n.addFromSetImmediateArguments(arguments);return n.root.postMessage(e+r,"*"),r};return r.instance=this,r.messagePrefix=e,r},t.prototype.runIfPresent=function(t){if(this.currentlyRunningATask)this.root.setTimeout(this.partiallyApplied(this.runIfPresent,t),0);else{var e=this.tasksByHandle[t];if(e){this.currentlyRunningATask=!0;try{e()}finally{this.clearImmediate(t),this.currentlyRunningATask=!1}}}},t.prototype.createMessageChannelSetImmediate=function(){var t=this,e=new this.root.MessageChannel;e.port1.onmessage=function(e){t.runIfPresent(e.data)};var n=function t(){var e=t.channel,n=t.instance.addFromSetImmediateArguments(arguments);return e.port2.postMessage(n),n};return n.channel=e,n.instance=this,n},t.prototype.createReadyStateChangeSetImmediate=function(){var t=function t(){var e=t.instance,n=e.root.document,r=n.documentElement,i=e.addFromSetImmediateArguments(arguments),o=n.createElement("script");return o.onreadystatechange=function(){e.runIfPresent(i),o.onreadystatechange=null,r.removeChild(o),o=null},r.appendChild(o),i};return t.instance=this,t},t.prototype.createSetTimeoutSetImmediate=function(){var t=function t(){var e=t.instance,n=e.addFromSetImmediateArguments(arguments);return e.root.setTimeout(e.partiallyApplied(e.runIfPresent,n),0),n};return t.instance=this,t},t}();e.ImmediateDefinition=o,e.Immediate=new o(i.root)}).call(e,n(393).clearImmediate,n(393).setImmediate)},function(t,e,n){(function(t,e){!function(t,n){"use strict";function r(t){delete a[t]}function i(t){if(u)setTimeout(i,0,t);else{var e=a[t];if(e){u=!0;try{!function(t){var e=t.callback,r=t.args;switch(r.length){case 0:e();break;case 1:e(r[0]);break;case 2:e(r[0],r[1]);break;case 3:e(r[0],r[1],r[2]);break;default:e.apply(n,r)}}(e)}finally{r(t),u=!1}}}}if(!t.setImmediate){var o,s=1,a={},u=!1,l=t.document,c=Object.getPrototypeOf&&Object.getPrototypeOf(t);c=c&&c.setTimeout?c:t,"[object process]"==={}.toString.call(t.process)?o=function(t){e.nextTick(function(){i(t)})}:function(){if(t.postMessage&&!t.importScripts){var e=!0,n=t.onmessage;return t.onmessage=function(){e=!1},t.postMessage("","*"),t.onmessage=n,e}}()?function(){var e="setImmediate$"+Math.random()+"$",n=function(n){n.source===t&&"string"==typeof n.data&&0===n.data.indexOf(e)&&i(+n.data.slice(e.length))};t.addEventListener?t.addEventListener("message",n,!1):t.attachEvent("onmessage",n),o=function(n){t.postMessage(e+n,"*")}}():t.MessageChannel?function(){var t=new MessageChannel;t.port1.onmessage=function(t){i(t.data)},o=function(e){t.port2.postMessage(e)}}():l&&"onreadystatechange"in l.createElement("script")?function(){var t=l.documentElement;o=function(e){var n=l.createElement("script");n.onreadystatechange=function(){i(e),n.onreadystatechange=null,t.removeChild(n),n=null},t.appendChild(n)}}():o=function(t){setTimeout(i,0,t)},c.setImmediate=function(t){"function"!=typeof t&&(t=new Function(""+t));for(var e=new Array(arguments.length-1),n=0;n<e.length;n++)e[n]=arguments[n+1];return a[s]={callback:t,args:e},o(s),s++},c.clearImmediate=r}}("undefined"==typeof self?void 0===t?this:t:self)}).call(e,n(120),n(753))},function(t,e,n){"use strict";var r=n(0).__extends,i=n(145);e.AsapScheduler=function(t){function e(){t.apply(this,arguments)}return r(e,t),e.prototype.flush=function(t){this.active=!0,this.scheduled=void 0;var e,n=this.actions,r=-1,i=n.length;t=t||n.shift();do{if(e=t.execute(t.state,t.delay))break}while(++r<i&&(t=n.shift()));if(this.active=!1,e){for(;++r<i&&(t=n.shift());)t.unsubscribe();throw e}},e}(i.AsyncScheduler)},function(t,e,n){"use strict";var r=n(2),i=n(1165);r.Observable.prototype.switch=i._switch,r.Observable.prototype._switch=i._switch},function(t,e,n){"use strict";var r=n(470);e._switch=function(){return r.switchAll()(this)}},function(t,e,n){"use strict";var r=n(2),i=n(1167);r.Observable.prototype.switchMap=i.switchMap},function(t,e,n){"use strict";var r=n(273);e.switchMap=function(t,e){return r.switchMap(t,e)(this)}},function(t,e,n){"use strict";var r=n(2),i=n(1169);r.Observable.prototype.switchMapTo=i.switchMapTo},function(t,e,n){"use strict";var r=n(471);e.switchMapTo=function(t,e){return r.switchMapTo(t,e)(this)}},function(t,e,n){"use strict";var r=n(472);e.take=function(t){return r.take(t)(this)}},function(t,e,n){"use strict";var r=n(2),i=n(1172);r.Observable.prototype.takeLast=i.takeLast},function(t,e,n){"use strict";var r=n(270);e.takeLast=function(t){return r.takeLast(t)(this)}},function(t,e,n){"use strict";var r=n(473);e.takeUntil=function(t){return r.takeUntil(t)(this)}},function(t,e,n){"use strict";var r=n(474);e.takeWhile=function(t){return r.takeWhile(t)(this)}},function(t,e,n){"use strict";var r=n(2),i=n(1176);r.Observable.prototype.throttle=i.throttle},function(t,e,n){"use strict";var r=n(193);e.throttle=function(t,e){return void 0===e&&(e=r.defaultThrottleConfig),r.throttle(t,e)(this)}},function(t,e,n){"use strict";var r=n(34),i=n(193),o=n(476);e.throttleTime=function(t,e,n){return void 0===e&&(e=r.async),void 0===n&&(n=i.defaultThrottleConfig),o.throttleTime(t,e,n)(this)}},function(t,e,n){"use strict";var r=n(2),i=n(505);r.Observable.prototype.timeInterval=i.timeInterval},function(t,e,n){"use strict";var r=n(34),i=n(478);e.timeout=function(t,e){return void 0===e&&(e=r.async),i.timeout(t,e)(this)}},function(t,e,n){"use strict";var r=n(2),i=n(1181);r.Observable.prototype.timeoutWith=i.timeoutWith},function(t,e,n){"use strict";var r=n(34),i=n(480);e.timeoutWith=function(t,e,n){return void 0===n&&(n=r.async),i.timeoutWith(t,e,n)(this)}},function(t,e,n){"use strict";var r=n(2),i=n(1183);r.Observable.prototype.timestamp=i.timestamp},function(t,e,n){"use strict";var r=n(34),i=n(274);e.timestamp=function(t){return void 0===t&&(t=r.async),i.timestamp(t)(this)}},function(t,e,n){"use strict";var r=n(2),i=n(1185);r.Observable.prototype.toArray=i.toArray},function(t,e,n){"use strict";var r=n(481);e.toArray=function(){return r.toArray()(this)}},function(t,e){},function(t,e,n){"use strict";var r=n(2),i=n(1188);r.Observable.prototype.window=i.window},function(t,e,n){"use strict";var r=n(482);e.window=function(t){return r.window(t)(this)}},function(t,e,n){"use strict";var r=n(2),i=n(1190);r.Observable.prototype.windowCount=i.windowCount},function(t,e,n){"use strict";var r=n(483);e.windowCount=function(t,e){return void 0===e&&(e=0),r.windowCount(t,e)(this)}},function(t,e,n){"use strict";var r=n(2),i=n(1192);r.Observable.prototype.windowTime=i.windowTime},function(t,e,n){"use strict";var r=n(34),i=n(146),o=n(72),s=n(484);e.windowTime=function(t){var e=r.async,n=null,a=Number.POSITIVE_INFINITY;return o.isScheduler(arguments[3])&&(e=arguments[3]),o.isScheduler(arguments[2])?e=arguments[2]:i.isNumeric(arguments[2])&&(a=arguments[2]),o.isScheduler(arguments[1])?e=arguments[1]:i.isNumeric(arguments[1])&&(n=arguments[1]),s.windowTime(t,n,a,e)(this)}},function(t,e,n){"use strict";var r=n(2),i=n(1194);r.Observable.prototype.windowToggle=i.windowToggle},function(t,e,n){"use strict";var r=n(485);e.windowToggle=function(t,e){return r.windowToggle(t,e)(this)}},function(t,e,n){"use strict";var r=n(2),i=n(1196);r.Observable.prototype.windowWhen=i.windowWhen},function(t,e,n){"use strict";var r=n(486);e.windowWhen=function(t){return r.windowWhen(t)(this)}},function(t,e,n){"use strict";var r=n(2),i=n(1198);r.Observable.prototype.withLatestFrom=i.withLatestFrom},function(t,e,n){"use strict";var r=n(487);e.withLatestFrom=function(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];return r.withLatestFrom.apply(void 0,t)(this)}},function(t,e,n){"use strict";var r=n(2),i=n(1200);r.Observable.prototype.zip=i.zipProto},function(t,e,n){"use strict";var r=n(194);e.zipProto=function(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];return r.zip.apply(void 0,t)(this)}},function(t,e,n){"use strict";var r=n(2),i=n(1202);r.Observable.prototype.zipAll=i.zipAll},function(t,e,n){"use strict";var r=n(488);e.zipAll=function(t){return r.zipAll(t)(this)}},function(t,e,n){"use strict";var r=n(0).__extends,i=n(2),o=n(148),s=n(1204),a=n(1205),u=n(508),l=n(510),c=750;e.TestScheduler=function(t){function e(e){t.call(this,l.VirtualAction,c),this.assertDeepEqual=e,this.hotObservables=[],this.coldObservables=[],this.flushTests=[]}return r(e,t),e.prototype.createTime=function(t){var n=t.indexOf("|");if(-1===n)throw new Error('marble diagram for time should have a completion marker "|"');return n*e.frameTimeFactor},e.prototype.createColdObservable=function(t,n,r){if(-1!==t.indexOf("^"))throw new Error('cold observable cannot have subscription offset "^"');if(-1!==t.indexOf("!"))throw new Error('cold observable cannot have unsubscription marker "!"');var i=e.parseMarbles(t,n,r),o=new s.ColdObservable(i,this);return this.coldObservables.push(o),o},e.prototype.createHotObservable=function(t,n,r){if(-1!==t.indexOf("!"))throw new Error('hot observable cannot have unsubscription marker "!"');var i=e.parseMarbles(t,n,r),o=new a.HotObservable(i,this);return this.hotObservables.push(o),o},e.prototype.materializeInnerObservable=function(t,e){var n=this,r=[];return t.subscribe(function(t){r.push({frame:n.frame-e,notification:o.Notification.createNext(t)})},function(t){r.push({frame:n.frame-e,notification:o.Notification.createError(t)})},function(){r.push({frame:n.frame-e,notification:o.Notification.createComplete()})}),r},e.prototype.expectObservable=function(t,n){var r=this;void 0===n&&(n=null);var s,a=[],u={actual:a,ready:!1},l=e.parseMarblesAsSubscriptions(n).unsubscribedFrame;return this.schedule(function(){s=t.subscribe(function(t){var e=t;t instanceof i.Observable&&(e=r.materializeInnerObservable(e,r.frame)),a.push({frame:r.frame,notification:o.Notification.createNext(e)})},function(t){a.push({frame:r.frame,notification:o.Notification.createError(t)})},function(){a.push({frame:r.frame,notification:o.Notification.createComplete()})})},0),l!==Number.POSITIVE_INFINITY&&this.schedule(function(){return s.unsubscribe()},l),this.flushTests.push(u),{toBe:function(t,n,r){u.ready=!0,u.expected=e.parseMarbles(t,n,r,!0)}}},e.prototype.expectSubscriptions=function(t){var n={actual:t,ready:!1};return this.flushTests.push(n),{toBe:function(t){var r="string"==typeof t?[t]:t;n.ready=!0,n.expected=r.map(function(t){return e.parseMarblesAsSubscriptions(t)})}}},e.prototype.flush=function(){for(var e=this.hotObservables;e.length>0;)e.shift().setup();t.prototype.flush.call(this);for(var n=this.flushTests.filter(function(t){return t.ready});n.length>0;){var r=n.shift();this.assertDeepEqual(r.actual,r.expected)}},e.parseMarblesAsSubscriptions=function(t){if("string"!=typeof t)return new u.SubscriptionLog(Number.POSITIVE_INFINITY);for(var e=t.length,n=-1,r=Number.POSITIVE_INFINITY,i=Number.POSITIVE_INFINITY,o=0;o<e;o++){var s=o*this.frameTimeFactor,a=t[o];switch(a){case"-":case" ":break;case"(":n=s;break;case")":n=-1;break;case"^":if(r!==Number.POSITIVE_INFINITY)throw new Error("found a second subscription point '^' in a subscription marble diagram. There can only be one.");r=n>-1?n:s;break;case"!":if(i!==Number.POSITIVE_INFINITY)throw new Error("found a second subscription point '^' in a subscription marble diagram. There can only be one.");i=n>-1?n:s;break;default:throw new Error("there can only be '^' and '!' markers in a subscription marble diagram. Found instead '"+a+"'.")}}return i<0?new u.SubscriptionLog(r):new u.SubscriptionLog(r,i)},e.parseMarbles=function(t,e,n,r){if(void 0===r&&(r=!1),-1!==t.indexOf("!"))throw new Error('conventional marble diagrams cannot have the unsubscription marker "!"');for(var i=t.length,a=[],u=t.indexOf("^"),l=-1===u?0:u*-this.frameTimeFactor,c="object"!=typeof e?function(t){return t}:function(t){return r&&e[t]instanceof s.ColdObservable?e[t].messages:e[t]},d=-1,h=0;h<i;h++){var f=h*this.frameTimeFactor+l,p=void 0,m=t[h];switch(m){case"-":case" ":break;case"(":d=f;break;case")":d=-1;break;case"|":p=o.Notification.createComplete();break;case"^":break;case"#":p=o.Notification.createError(n||"error");break;default:p=o.Notification.createNext(c(m))}p&&a.push({frame:d>-1?d:f,notification:p})}return a},e}(l.VirtualTimeScheduler)},function(t,e,n){"use strict";var r=n(0).__extends,i=n(2),o=n(38),s=n(507),a=n(509),u=function(t){function e(e,n){t.call(this,function(t){var e=this,n=e.logSubscribedFrame();return t.add(new o.Subscription(function(){e.logUnsubscribedFrame(n)})),e.scheduleMessages(t),t}),this.messages=e,this.subscriptions=[],this.scheduler=n}return r(e,t),e.prototype.scheduleMessages=function(t){for(var e=this.messages.length,n=0;n<e;n++){var r=this.messages[n];t.add(this.scheduler.schedule(function(t){t.message.notification.observe(t.subscriber)},r.frame,{message:r,subscriber:t}))}},e}(i.Observable);e.ColdObservable=u,a.applyMixins(u,[s.SubscriptionLoggable])},function(t,e,n){"use strict";var r=n(0).__extends,i=n(19),o=n(38),s=n(507),a=n(509),u=function(t){function e(e,n){t.call(this),this.messages=e,this.subscriptions=[],this.scheduler=n}return r(e,t),e.prototype._subscribe=function(e){var n=this,r=n.logSubscribedFrame();return e.add(new o.Subscription(function(){n.logUnsubscribedFrame(r)})),t.prototype._subscribe.call(this,e)},e.prototype.setup=function(){for(var t=this,e=t.messages.length,n=0;n<e;n++)!function(){var e=t.messages[n];t.scheduler.schedule(function(){e.notification.observe(t)},e.frame)}()},e}(i.Subject);e.HotObservable=u,a.applyMixins(u,[s.SubscriptionLoggable])},function(t,e,n){"use strict";var r=n(1207),i=n(1209);e.animationFrame=new i.AnimationFrameScheduler(r.AnimationFrameAction)},function(t,e,n){"use strict";var r=n(0).__extends,i=n(144),o=n(1208);e.AnimationFrameAction=function(t){function e(e,n){t.call(this,e,n),this.scheduler=e,this.work=n}return r(e,t),e.prototype.requestAsyncId=function(e,n,r){return void 0===r&&(r=0),null!==r&&r>0?t.prototype.requestAsyncId.call(this,e,n,r):(e.actions.push(this),e.scheduled||(e.scheduled=o.AnimationFrame.requestAnimationFrame(e.flush.bind(e,null))))},e.prototype.recycleAsyncId=function(e,n,r){if(void 0===r&&(r=0),null!==r&&r>0||null===r&&this.delay>0)return t.prototype.recycleAsyncId.call(this,e,n,r);0===e.actions.length&&(o.AnimationFrame.cancelAnimationFrame(n),e.scheduled=void 0)},e}(i.AsyncAction)},function(t,e,n){"use strict";var r=n(56),i=function(){return function(t){t.requestAnimationFrame?(this.cancelAnimationFrame=t.cancelAnimationFrame.bind(t),this.requestAnimationFrame=t.requestAnimationFrame.bind(t)):t.mozRequestAnimationFrame?(this.cancelAnimationFrame=t.mozCancelAnimationFrame.bind(t),this.requestAnimationFrame=t.mozRequestAnimationFrame.bind(t)):t.webkitRequestAnimationFrame?(this.cancelAnimationFrame=t.webkitCancelAnimationFrame.bind(t),this.requestAnimationFrame=t.webkitRequestAnimationFrame.bind(t)):t.msRequestAnimationFrame?(this.cancelAnimationFrame=t.msCancelAnimationFrame.bind(t),this.requestAnimationFrame=t.msRequestAnimationFrame.bind(t)):t.oRequestAnimationFrame?(this.cancelAnimationFrame=t.oCancelAnimationFrame.bind(t),this.requestAnimationFrame=t.oRequestAnimationFrame.bind(t)):(this.cancelAnimationFrame=t.clearTimeout.bind(t),this.requestAnimationFrame=function(e){return t.setTimeout(e,1e3/60)})}}();e.RequestAnimationFrameDefinition=i,e.AnimationFrame=new i(r.root)},function(t,e,n){"use strict";var r=n(0).__extends,i=n(145);e.AnimationFrameScheduler=function(t){function e(){t.apply(this,arguments)}return r(e,t),e.prototype.flush=function(t){this.active=!0,this.scheduled=void 0;var e,n=this.actions,r=-1,i=n.length;t=t||n.shift();do{if(e=t.execute(t.state,t.delay))break}while(++r<i&&(t=n.shift()));if(this.active=!1,e){for(;++r<i&&(t=n.shift());)t.unsubscribe();throw e}},e}(i.AsyncScheduler)},,function(t,e,n){var r=n(1212);t.exports=function(t){var e=t.replace(/-/g,"+").replace(/_/g,"/");switch(e.length%4){case 0:break;case 2:e+="==";break;case 3:e+="=";break;default:throw"Illegal base64url string!"}try{return function(t){return decodeURIComponent(r(t).replace(/(.)/g,function(t,e){var n=e.charCodeAt(0).toString(16).toUpperCase();return n.length<2&&(n="0"+n),"%"+n}))}(e)}catch(t){return r(e)}}},function(t,e){function n(t){this.message=t}var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";(n.prototype=new Error).name="InvalidCharacterError",t.exports="undefined"!=typeof window&&window.atob&&window.atob.bind(window)||function(t){var e=String(t).replace(/=+$/,"");if(e.length%4==1)throw new n("'atob' failed: The string to be decoded is not correctly encoded.");for(var i,o,s=0,a=0,u="";o=e.charAt(a++);~o&&(i=s%4?64*i+o:o,s++%4)?u+=String.fromCharCode(255&i>>(-2*s&6)):0)o=r.indexOf(o);return u}},function(t,e,n){"use strict";function r(t){return parseFloat(t)||0}function i(t){return Array.prototype.slice.call(arguments,1).reduce(function(e,n){return e+r(t["border-"+n+"-width"])},0)}function o(t){var e=t.clientWidth,n=t.clientHeight;if(!e&&!n)return g;var o=getComputedStyle(t),s=function(t){for(var e={},n=0,i=["top","right","bottom","left"];n<i.length;n+=1){var o=i[n];e[o]=r(t["padding-"+o])}return e}(o),u=s.left+s.right,l=s.top+s.bottom,c=r(o.width),d=r(o.height);if("border-box"===o.boxSizing&&(Math.round(c+u)!==e&&(c-=i(o,"left","right")+u),Math.round(d+l)!==n&&(d-=i(o,"top","bottom")+l)),!function(t){return t===document.documentElement}(t)){var h=Math.round(c+u)-e,f=Math.round(d+l)-n;1!==Math.abs(h)&&(c-=h),1!==Math.abs(f)&&(d-=f)}return a(s.left,s.top,c,d)}function s(t){return l?v(t)?function(t){var e=t.getBBox();return a(0,0,e.width,e.height)}(t):o(t):g}function a(t,e,n,r){return{x:t,y:e,width:n,height:r}}var u=function(){function t(t,e){var n=-1;return t.some(function(t,r){return t[0]===e&&(n=r,!0)}),n}return"undefined"!=typeof Map?Map:function(){function e(){this.__entries__=[]}var n={size:{}};return n.size.get=function(){return this.__entries__.length},e.prototype.get=function(e){var n=t(this.__entries__,e),r=this.__entries__[n];return r&&r[1]},e.prototype.set=function(e,n){var r=t(this.__entries__,e);~r?this.__entries__[r][1]=n:this.__entries__.push([e,n])},e.prototype.delete=function(e){var n=this.__entries__,r=t(n,e);~r&&n.splice(r,1)},e.prototype.has=function(e){return!!~t(this.__entries__,e)},e.prototype.clear=function(){this.__entries__.splice(0)},e.prototype.forEach=function(t,e){void 0===e&&(e=null);for(var n=0,r=this.__entries__;n<r.length;n+=1){var i=r[n];t.call(e,i[1],i[0])}},Object.defineProperties(e.prototype,n),e}()}(),l="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,c="function"==typeof requestAnimationFrame?requestAnimationFrame:function(t){return setTimeout(function(){return t(Date.now())},1e3/60)},d=2,h=["top","right","bottom","left","width","height","size","weight"],f="undefined"!=typeof navigator&&/Trident\/.*rv:11/.test(navigator.userAgent),p="undefined"!=typeof MutationObserver&&!f,m=function(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(t,e){function n(){o&&(o=!1,t()),s&&i()}function r(){c(n)}function i(){var t=Date.now();if(o){if(t-a<d)return;s=!0}else o=!0,s=!1,setTimeout(r,e);a=t}var o=!1,s=!1,a=0;return i}(this.refresh.bind(this),20)};m.prototype.addObserver=function(t){~this.observers_.indexOf(t)||this.observers_.push(t),this.connected_||this.connect_()},m.prototype.removeObserver=function(t){var e=this.observers_,n=e.indexOf(t);~n&&e.splice(n,1),!e.length&&this.connected_&&this.disconnect_()},m.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},m.prototype.updateObservers_=function(){var t=this.observers_.filter(function(t){return t.gatherActive(),t.hasActive()});return t.forEach(function(t){return t.broadcastActive()}),t.length>0},m.prototype.connect_=function(){l&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),p?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},m.prototype.disconnect_=function(){l&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},m.prototype.onTransitionEnd_=function(t){var e=t.propertyName;h.some(function(t){return!!~e.indexOf(t)})&&this.refresh()},m.getInstance=function(){return this.instance_||(this.instance_=new m),this.instance_},m.instance_=null;var _=function(t,e){for(var n=0,r=Object.keys(e);n<r.length;n+=1){var i=r[n];Object.defineProperty(t,i,{value:e[i],enumerable:!1,writable:!1,configurable:!0})}return t},g=a(0,0,0,0),v="undefined"!=typeof SVGGraphicsElement?function(t){return t instanceof SVGGraphicsElement}:function(t){return t instanceof SVGElement&&"function"==typeof t.getBBox},y=function(t){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=a(0,0,0,0),this.target=t};y.prototype.isActive=function(){var t=s(this.target);return this.contentRect_=t,t.width!==this.broadcastWidth||t.height!==this.broadcastHeight},y.prototype.broadcastRect=function(){var t=this.contentRect_;return this.broadcastWidth=t.width,this.broadcastHeight=t.height,t};var b=function(t,e){var n=function(t){var e=t.x,n=t.y,r=t.width,i=t.height,o="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,s=Object.create(o.prototype);return _(s,{x:e,y:n,width:r,height:i,top:n,right:e+r,bottom:i+n,left:e}),s}(e);_(this,{target:t,contentRect:n})},w=function(t,e,n){if("function"!=typeof t)throw new TypeError("The callback provided as parameter 1 is not a function.");this.activeObservations_=[],this.observations_=new u,this.callback_=t,this.controller_=e,this.callbackCtx_=n};w.prototype.observe=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(t instanceof Element))throw new TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)||(e.set(t,new y(t)),this.controller_.addObserver(this),this.controller_.refresh())}},w.prototype.unobserve=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(t instanceof Element))throw new TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)&&(e.delete(t),e.size||this.controller_.removeObserver(this))}},w.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},w.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach(function(e){e.isActive()&&t.activeObservations_.push(e)})},w.prototype.broadcastActive=function(){if(this.hasActive()){var t=this.callbackCtx_,e=this.activeObservations_.map(function(t){return new b(t.target,t.broadcastRect())});this.callback_.call(t,e,t),this.clearActive()}},w.prototype.clearActive=function(){this.activeObservations_.splice(0)},w.prototype.hasActive=function(){return this.activeObservations_.length>0};var S="undefined"!=typeof WeakMap?new WeakMap:new u,T=function(t){if(!(this instanceof T))throw new TypeError("Cannot call a class as a function");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var e=m.getInstance(),n=new w(t,e,this);S.set(this,n)};["observe","unobserve","disconnect"].forEach(function(t){T.prototype[t]=function(){return(e=S.get(this))[t].apply(e,arguments);var e}});var E="undefined"!=typeof ResizeObserver?ResizeObserver:T;e.a=E},function(t,e,n){var r;!function(i,o,s,a){"use strict";function u(t,e,n){return setTimeout(f(t,n),e)}function l(t,e,n){return!!Array.isArray(t)&&(c(t,n[e],n),!0)}function c(t,e,n){var r;if(t)if(t.forEach)t.forEach(e,n);else if(t.length!==a)for(r=0;r<t.length;)e.call(n,t[r],r,t),r++;else for(r in t)t.hasOwnProperty(r)&&e.call(n,t[r],r,t)}function d(t,e,n){var r="DEPRECATED METHOD: "+e+"\n"+n+" AT \n";return function(){var e=new Error("get-stack-trace"),n=e&&e.stack?e.stack.replace(/^[^\(]+?[\n$]/gm,"").replace(/^\s+at\s+/gm,"").replace(/^Object.<anonymous>\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",o=i.console&&(i.console.warn||i.console.log);return o&&o.call(i.console,r,n),t.apply(this,arguments)}}function h(t,e,n){var r,i=e.prototype;(r=t.prototype=Object.create(i)).constructor=t,r._super=i,n&&et(r,n)}function f(t,e){return function(){return t.apply(e,arguments)}}function p(t,e){return typeof t==it?t.apply(e?e[0]||a:a,e):t}function m(t,e){return t===a?e:t}function _(t,e,n){c(b(e),function(e){t.addEventListener(e,n,!1)})}function g(t,e,n){c(b(e),function(e){t.removeEventListener(e,n,!1)})}function v(t,e){for(;t;){if(t==e)return!0;t=t.parentNode}return!1}function y(t,e){return t.indexOf(e)>-1}function b(t){return t.trim().split(/\s+/g)}function w(t,e,n){if(t.indexOf&&!n)return t.indexOf(e);for(var r=0;r<t.length;){if(n&&t[r][n]==e||!n&&t[r]===e)return r;r++}return-1}function S(t){return Array.prototype.slice.call(t,0)}function T(t,e,n){for(var r=[],i=[],o=0;o<t.length;){var s=e?t[o][e]:t[o];w(i,s)<0&&r.push(t[o]),i[o]=s,o++}return n&&(r=e?r.sort(function(t,n){return t[e]>n[e]}):r.sort()),r}function E(t,e){for(var n,r,i=e[0].toUpperCase()+e.slice(1),o=0;o<nt.length;){if(n=nt[o],(r=n?n+i:e)in t)return r;o++}return a}function M(t){var e=t.ownerDocument||t;return e.defaultView||e.parentWindow||i}function x(t,e){var n=this;this.manager=t,this.callback=e,this.element=t.element,this.target=t.options.inputTarget,this.domHandler=function(e){p(t.options.enable,[t])&&n.handler(e)},this.init()}function C(t,e,n){var r=n.pointers.length,i=n.changedPointers.length,o=e&mt&&r-i==0,s=e&(gt|vt)&&r-i==0;n.isFirst=!!o,n.isFinal=!!s,o&&(t.session={}),n.eventType=e,function(t,e){var n=t.session,r=e.pointers,i=r.length;n.firstInput||(n.firstInput=O(e));i>1&&!n.firstMultiple?n.firstMultiple=O(e):1===i&&(n.firstMultiple=!1);var o=n.firstInput,s=n.firstMultiple,u=s?s.center:o.center,l=e.center=D(r);e.timeStamp=at(),e.deltaTime=e.timeStamp-o.timeStamp,e.angle=I(u,l),e.distance=A(u,l),function(t,e){var n=e.center,r=t.offsetDelta||{},i=t.prevDelta||{},o=t.prevInput||{};e.eventType!==mt&&o.eventType!==gt||(i=t.prevDelta={x:o.deltaX||0,y:o.deltaY||0},r=t.offsetDelta={x:n.x,y:n.y});e.deltaX=i.x+(n.x-r.x),e.deltaY=i.y+(n.y-r.y)}(n,e),e.offsetDirection=L(e.deltaX,e.deltaY);var c=k(e.deltaTime,e.deltaX,e.deltaY);e.overallVelocityX=c.x,e.overallVelocityY=c.y,e.overallVelocity=st(c.x)>st(c.y)?c.x:c.y,e.scale=s?function(t,e){return A(e[0],e[1],Ot)/A(t[0],t[1],Ot)}(s.pointers,r):1,e.rotation=s?function(t,e){return I(e[1],e[0],Ot)+I(t[1],t[0],Ot)}(s.pointers,r):0,e.maxPointers=n.prevInput?e.pointers.length>n.prevInput.maxPointers?e.pointers.length:n.prevInput.maxPointers:e.pointers.length,function(t,e){var n,r,i,o,s=t.lastInterval||e,u=e.timeStamp-s.timeStamp;if(e.eventType!=vt&&(u>pt||s.velocity===a)){var l=e.deltaX-s.deltaX,c=e.deltaY-s.deltaY,d=k(u,l,c);r=d.x,i=d.y,n=st(d.x)>st(d.y)?d.x:d.y,o=L(l,c),t.lastInterval=e}else n=s.velocity,r=s.velocityX,i=s.velocityY,o=s.direction;e.velocity=n,e.velocityX=r,e.velocityY=i,e.direction=o}(n,e);var d=t.element;v(e.srcEvent.target,d)&&(d=e.srcEvent.target);e.target=d}(t,n),t.emit("hammer.input",n),t.recognize(n),t.session.prevInput=n}function O(t){for(var e=[],n=0;n<t.pointers.length;)e[n]={clientX:ot(t.pointers[n].clientX),clientY:ot(t.pointers[n].clientY)},n++;return{timeStamp:at(),pointers:e,center:D(e),deltaX:t.deltaX,deltaY:t.deltaY}}function D(t){var e=t.length;if(1===e)return{x:ot(t[0].clientX),y:ot(t[0].clientY)};for(var n=0,r=0,i=0;i<e;)n+=t[i].clientX,r+=t[i].clientY,i++;return{x:ot(n/e),y:ot(r/e)}}function k(t,e,n){return{x:e/t||0,y:n/t||0}}function L(t,e){return t===e?yt:st(t)>=st(e)?t<0?bt:wt:e<0?St:Tt}function A(t,e,n){n||(n=Ct);var r=e[n[0]]-t[n[0]],i=e[n[1]]-t[n[1]];return Math.sqrt(r*r+i*i)}function I(t,e,n){n||(n=Ct);var r=e[n[0]]-t[n[0]],i=e[n[1]]-t[n[1]];return 180*Math.atan2(i,r)/Math.PI}function P(){this.evEl=kt,this.evWin=Lt,this.pressed=!1,x.apply(this,arguments)}function R(){this.evEl=Pt,this.evWin=Rt,x.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}function N(){this.evTarget=jt,this.evWin=Yt,this.started=!1,x.apply(this,arguments)}function j(){this.evTarget=Ht,this.targetIds={},x.apply(this,arguments)}function Y(){x.apply(this,arguments);var t=f(this.handler,this);this.touch=new j(this.manager,t),this.mouse=new P(this.manager,t),this.primaryTouch=null,this.lastTouches=[]}function F(t){var e=t.changedPointers[0];if(e.identifier===this.primaryTouch){var n={x:e.clientX,y:e.clientY};this.lastTouches.push(n);var r=this.lastTouches,i=function(){var t=r.indexOf(n);t>-1&&r.splice(t,1)};setTimeout(i,Bt)}}function H(t,e){this.manager=t,this.set(e)}function B(t){this.options=et({},this.defaults,t||{}),this.id=ct++,this.manager=null,this.options.enable=m(this.options.enable,!0),this.state=$t,this.simultaneous={},this.requireFail=[]}function V(t){return t&ne?"cancel":t&te?"end":t&Qt?"move":t&Jt?"start":""}function z(t){return t==Tt?"down":t==St?"up":t==bt?"left":t==wt?"right":""}function W(t,e){var n=e.manager;return n?n.get(t):t}function U(){B.apply(this,arguments)}function q(){U.apply(this,arguments),this.pX=null,this.pY=null}function G(){U.apply(this,arguments)}function X(){B.apply(this,arguments),this._timer=null,this._input=null}function K(){U.apply(this,arguments)}function Z(){U.apply(this,arguments)}function $(){B.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}function J(t,e){return e=e||{},e.recognizers=m(e.recognizers,J.defaults.preset),new Q(t,e)}function Q(t,e){this.options=et({},J.defaults,e||{}),this.options.inputTarget=this.options.inputTarget||t,this.handlers={},this.session={},this.recognizers=[],this.oldCssProps={},this.element=t,this.input=function(t){var e=t.options.inputClass;return new(e||(ht?R:ft?j:dt?Y:P))(t,C)}(this),this.touchAction=new H(this,this.options.touchAction),tt(this,!0),c(this.options.recognizers,function(t){var e=this.add(new t[0](t[1]));t[2]&&e.recognizeWith(t[2]),t[3]&&e.requireFailure(t[3])},this)}function tt(t,e){var n=t.element;if(n.style){var r;c(t.options.cssProps,function(i,o){r=E(n.style,o),e?(t.oldCssProps[r]=n.style[r],n.style[r]=i):n.style[r]=t.oldCssProps[r]||""}),e||(t.oldCssProps={})}}var et,nt=["","webkit","Moz","MS","ms","o"],rt=o.createElement("div"),it="function",ot=Math.round,st=Math.abs,at=Date.now;et="function"!=typeof Object.assign?function(t){if(t===a||null===t)throw new TypeError("Cannot convert undefined or null to object");for(var e=Object(t),n=1;n<arguments.length;n++){var r=arguments[n];if(r!==a&&null!==r)for(var i in r)r.hasOwnProperty(i)&&(e[i]=r[i])}return e}:Object.assign;var ut=d(function(t,e,n){for(var r=Object.keys(e),i=0;i<r.length;)(!n||n&&t[r[i]]===a)&&(t[r[i]]=e[r[i]]),i++;return t},"extend","Use `assign`."),lt=d(function(t,e){return ut(t,e,!0)},"merge","Use `assign`."),ct=1,dt="ontouchstart"in i,ht=E(i,"PointerEvent")!==a,ft=dt&&/mobile|tablet|ip(ad|hone|od)|android/i.test(navigator.userAgent),pt=25,mt=1,_t=2,gt=4,vt=8,yt=1,bt=2,wt=4,St=8,Tt=16,Et=bt|wt,Mt=St|Tt,xt=Et|Mt,Ct=["x","y"],Ot=["clientX","clientY"];x.prototype={handler:function(){},init:function(){this.evEl&&_(this.element,this.evEl,this.domHandler),this.evTarget&&_(this.target,this.evTarget,this.domHandler),this.evWin&&_(M(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&g(this.element,this.evEl,this.domHandler),this.evTarget&&g(this.target,this.evTarget,this.domHandler),this.evWin&&g(M(this.element),this.evWin,this.domHandler)}};var Dt={mousedown:mt,mousemove:_t,mouseup:gt},kt="mousedown",Lt="mousemove mouseup";h(P,x,{handler:function(t){var e=Dt[t.type];e&mt&&0===t.button&&(this.pressed=!0),e&_t&&1!==t.which&&(e=gt),this.pressed&&(e&gt&&(this.pressed=!1),this.callback(this.manager,e,{pointers:[t],changedPointers:[t],pointerType:"mouse",srcEvent:t}))}});var At={pointerdown:mt,pointermove:_t,pointerup:gt,pointercancel:vt,pointerout:vt},It={2:"touch",3:"pen",4:"mouse",5:"kinect"},Pt="pointerdown",Rt="pointermove pointerup pointercancel";i.MSPointerEvent&&!i.PointerEvent&&(Pt="MSPointerDown",Rt="MSPointerMove MSPointerUp MSPointerCancel"),h(R,x,{handler:function(t){var e=this.store,n=!1,r=t.type.toLowerCase().replace("ms",""),i=At[r],o=It[t.pointerType]||t.pointerType,s="touch"==o,a=w(e,t.pointerId,"pointerId");i&mt&&(0===t.button||s)?a<0&&(e.push(t),a=e.length-1):i&(gt|vt)&&(n=!0),a<0||(e[a]=t,this.callback(this.manager,i,{pointers:e,changedPointers:[t],pointerType:o,srcEvent:t}),n&&e.splice(a,1))}});var Nt={touchstart:mt,touchmove:_t,touchend:gt,touchcancel:vt},jt="touchstart",Yt="touchstart touchmove touchend touchcancel";h(N,x,{handler:function(t){var e=Nt[t.type];if(e===mt&&(this.started=!0),this.started){var n=function(t,e){var n=S(t.touches),r=S(t.changedTouches);return e&(gt|vt)&&(n=T(n.concat(r),"identifier",!0)),[n,r]}.call(this,t,e);e&(gt|vt)&&n[0].length-n[1].length==0&&(this.started=!1),this.callback(this.manager,e,{pointers:n[0],changedPointers:n[1],pointerType:"touch",srcEvent:t})}}});var Ft={touchstart:mt,touchmove:_t,touchend:gt,touchcancel:vt},Ht="touchstart touchmove touchend touchcancel";h(j,x,{handler:function(t){var e=Ft[t.type],n=function(t,e){var n=S(t.touches),r=this.targetIds;if(e&(mt|_t)&&1===n.length)return r[n[0].identifier]=!0,[n,n];var i,o,s=S(t.changedTouches),a=[],u=this.target;if(o=n.filter(function(t){return v(t.target,u)}),e===mt)for(i=0;i<o.length;)r[o[i].identifier]=!0,i++;for(i=0;i<s.length;)r[s[i].identifier]&&a.push(s[i]),e&(gt|vt)&&delete r[s[i].identifier],i++;return a.length?[T(o.concat(a),"identifier",!0),a]:void 0}.call(this,t,e);n&&this.callback(this.manager,e,{pointers:n[0],changedPointers:n[1],pointerType:"touch",srcEvent:t})}});var Bt=2500,Vt=25;h(Y,x,{handler:function(t,e,n){var r="mouse"==n.pointerType;if(!(r&&n.sourceCapabilities&&n.sourceCapabilities.firesTouchEvents)){if("touch"==n.pointerType)(function(t,e){t&mt?(this.primaryTouch=e.changedPointers[0].identifier,F.call(this,e)):t&(gt|vt)&&F.call(this,e)}).call(this,e,n);else if(r&&function(t){for(var e=t.srcEvent.clientX,n=t.srcEvent.clientY,r=0;r<this.lastTouches.length;r++){var i=this.lastTouches[r],o=Math.abs(e-i.x),s=Math.abs(n-i.y);if(o<=Vt&&s<=Vt)return!0}return!1}.call(this,n))return;this.callback(t,e,n)}},destroy:function(){this.touch.destroy(),this.mouse.destroy()}});var zt=E(rt.style,"touchAction"),Wt=zt!==a,Ut="auto",qt="manipulation",Gt="none",Xt="pan-x",Kt="pan-y",Zt=function(){if(!Wt)return!1;var t={},e=i.CSS&&i.CSS.supports;return["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach(function(n){t[n]=!e||i.CSS.supports("touch-action",n)}),t}();H.prototype={set:function(t){"compute"==t&&(t=this.compute()),Wt&&this.manager.element.style&&Zt[t]&&(this.manager.element.style[zt]=t),this.actions=t.toLowerCase().trim()},update:function(){this.set(this.manager.options.touchAction)},compute:function(){var t=[];return c(this.manager.recognizers,function(e){p(e.options.enable,[e])&&(t=t.concat(e.getTouchAction()))}),function(t){if(y(t,Gt))return Gt;var e=y(t,Xt),n=y(t,Kt);return e&&n?Gt:e||n?e?Xt:Kt:y(t,qt)?qt:Ut}(t.join(" "))},preventDefaults:function(t){var e=t.srcEvent,n=t.offsetDirection;if(this.manager.session.prevented)e.preventDefault();else{var r=this.actions,i=y(r,Gt)&&!Zt[Gt],o=y(r,Kt)&&!Zt[Kt],s=y(r,Xt)&&!Zt[Xt];if(i){if(1===t.pointers.length&&t.distance<2&&t.deltaTime<250)return}if(!s||!o)return i||o&&n&Et||s&&n&Mt?this.preventSrc(e):void 0}},preventSrc:function(t){this.manager.session.prevented=!0,t.preventDefault()}};var $t=1,Jt=2,Qt=4,te=8,ee=te,ne=16;B.prototype={defaults:{},set:function(t){return et(this.options,t),this.manager&&this.manager.touchAction.update(),this},recognizeWith:function(t){if(l(t,"recognizeWith",this))return this;var e=this.simultaneous;return t=W(t,this),e[t.id]||(e[t.id]=t,t.recognizeWith(this)),this},dropRecognizeWith:function(t){return l(t,"dropRecognizeWith",this)?this:(t=W(t,this),delete this.simultaneous[t.id],this)},requireFailure:function(t){if(l(t,"requireFailure",this))return this;var e=this.requireFail;return t=W(t,this),-1===w(e,t)&&(e.push(t),t.requireFailure(this)),this},dropRequireFailure:function(t){if(l(t,"dropRequireFailure",this))return this;t=W(t,this);var e=w(this.requireFail,t);return e>-1&&this.requireFail.splice(e,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(t){return!!this.simultaneous[t.id]},emit:function(t){function e(e){n.manager.emit(e,t)}var n=this,r=this.state;r<te&&e(n.options.event+V(r)),e(n.options.event),t.additionalEvent&&e(t.additionalEvent),r>=te&&e(n.options.event+V(r))},tryEmit:function(t){if(this.canEmit())return this.emit(t);this.state=32},canEmit:function(){for(var t=0;t<this.requireFail.length;){if(!(this.requireFail[t].state&(32|$t)))return!1;t++}return!0},recognize:function(t){var e=et({},t);if(!p(this.options.enable,[this,e]))return this.reset(),void(this.state=32);this.state&(ee|ne|32)&&(this.state=$t),this.state=this.process(e),this.state&(Jt|Qt|te|ne)&&this.tryEmit(e)},process:function(t){},getTouchAction:function(){},reset:function(){}},h(U,B,{defaults:{pointers:1},attrTest:function(t){var e=this.options.pointers;return 0===e||t.pointers.length===e},process:function(t){var e=this.state,n=t.eventType,r=e&(Jt|Qt),i=this.attrTest(t);return r&&(n&vt||!i)?e|ne:r||i?n&gt?e|te:e&Jt?e|Qt:Jt:32}}),h(q,U,{defaults:{event:"pan",threshold:10,pointers:1,direction:xt},getTouchAction:function(){var t=this.options.direction,e=[];return t&Et&&e.push(Kt),t&Mt&&e.push(Xt),e},directionTest:function(t){var e=this.options,n=!0,r=t.distance,i=t.direction,o=t.deltaX,s=t.deltaY;return i&e.direction||(e.direction&Et?(i=0===o?yt:o<0?bt:wt,n=o!=this.pX,r=Math.abs(t.deltaX)):(i=0===s?yt:s<0?St:Tt,n=s!=this.pY,r=Math.abs(t.deltaY))),t.direction=i,n&&r>e.threshold&&i&e.direction},attrTest:function(t){return U.prototype.attrTest.call(this,t)&&(this.state&Jt||!(this.state&Jt)&&this.directionTest(t))},emit:function(t){this.pX=t.deltaX,this.pY=t.deltaY;var e=z(t.direction);e&&(t.additionalEvent=this.options.event+e),this._super.emit.call(this,t)}}),h(G,U,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[Gt]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.scale-1)>this.options.threshold||this.state&Jt)},emit:function(t){if(1!==t.scale){t.additionalEvent=this.options.event+(t.scale<1?"in":"out")}this._super.emit.call(this,t)}}),h(X,B,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return[Ut]},process:function(t){var e=this.options,n=t.pointers.length===e.pointers,r=t.distance<e.threshold,i=t.deltaTime>e.time;if(this._input=t,!r||!n||t.eventType&(gt|vt)&&!i)this.reset();else if(t.eventType&mt)this.reset(),this._timer=u(function(){this.state=ee,this.tryEmit()},e.time,this);else if(t.eventType&gt)return ee;return 32},reset:function(){clearTimeout(this._timer)},emit:function(t){this.state===ee&&(t&&t.eventType&gt?this.manager.emit(this.options.event+"up",t):(this._input.timeStamp=at(),this.manager.emit(this.options.event,this._input)))}}),h(K,U,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[Gt]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.rotation)>this.options.threshold||this.state&Jt)}}),h(Z,U,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:Et|Mt,pointers:1},getTouchAction:function(){return q.prototype.getTouchAction.call(this)},attrTest:function(t){var e,n=this.options.direction;return n&(Et|Mt)?e=t.overallVelocity:n&Et?e=t.overallVelocityX:n&Mt&&(e=t.overallVelocityY),this._super.attrTest.call(this,t)&&n&t.offsetDirection&&t.distance>this.options.threshold&&t.maxPointers==this.options.pointers&&st(e)>this.options.velocity&&t.eventType&gt},emit:function(t){var e=z(t.offsetDirection);e&&this.manager.emit(this.options.event+e,t),this.manager.emit(this.options.event,t)}}),h($,B,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return[qt]},process:function(t){var e=this.options,n=t.pointers.length===e.pointers,r=t.distance<e.threshold,i=t.deltaTime<e.time;if(this.reset(),t.eventType&mt&&0===this.count)return this.failTimeout();if(r&&i&&n){if(t.eventType!=gt)return this.failTimeout();var o=!this.pTime||t.timeStamp-this.pTime<e.interval,s=!this.pCenter||A(this.pCenter,t.center)<e.posThreshold;this.pTime=t.timeStamp,this.pCenter=t.center,s&&o?this.count+=1:this.count=1,this._input=t;if(0===this.count%e.taps)return this.hasRequireFailures()?(this._timer=u(function(){this.state=ee,this.tryEmit()},e.interval,this),Jt):ee}return 32},failTimeout:function(){return this._timer=u(function(){this.state=32},this.options.interval,this),32},reset:function(){clearTimeout(this._timer)},emit:function(){this.state==ee&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))}}),J.VERSION="2.0.7",J.defaults={domEvents:!1,touchAction:"compute",enable:!0,inputTarget:null,inputClass:null,preset:[[K,{enable:!1}],[G,{enable:!1},["rotate"]],[Z,{direction:Et}],[q,{direction:Et},["swipe"]],[$],[$,{event:"doubletap",taps:2},["tap"]],[X]],cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}};Q.prototype={set:function(t){return et(this.options,t),t.touchAction&&this.touchAction.update(),t.inputTarget&&(this.input.destroy(),this.input.target=t.inputTarget,this.input.init()),this},stop:function(t){this.session.stopped=t?2:1},recognize:function(t){var e=this.session;if(!e.stopped){this.touchAction.preventDefaults(t);var n,r=this.recognizers,i=e.curRecognizer;(!i||i&&i.state&ee)&&(i=e.curRecognizer=null);for(var o=0;o<r.length;)n=r[o],2===e.stopped||i&&n!=i&&!n.canRecognizeWith(i)?n.reset():n.recognize(t),!i&&n.state&(Jt|Qt|te)&&(i=e.curRecognizer=n),o++}},get:function(t){if(t instanceof B)return t;for(var e=this.recognizers,n=0;n<e.length;n++)if(e[n].options.event==t)return e[n];return null},add:function(t){if(l(t,"add",this))return this;var e=this.get(t.options.event);return e&&this.remove(e),this.recognizers.push(t),t.manager=this,this.touchAction.update(),t},remove:function(t){if(l(t,"remove",this))return this;if(t=this.get(t)){var e=this.recognizers,n=w(e,t);-1!==n&&(e.splice(n,1),this.touchAction.update())}return this},on:function(t,e){if(t!==a&&e!==a){var n=this.handlers;return c(b(t),function(t){n[t]=n[t]||[],n[t].push(e)}),this}},off:function(t,e){if(t!==a){var n=this.handlers;return c(b(t),function(t){e?n[t]&&n[t].splice(w(n[t],e),1):delete n[t]}),this}},emit:function(t,e){this.options.domEvents&&function(t,e){var n=o.createEvent("Event");n.initEvent(t,!0,!0),n.gesture=e,e.target.dispatchEvent(n)}(t,e);var n=this.handlers[t]&&this.handlers[t].slice();if(n&&n.length){e.type=t,e.preventDefault=function(){e.srcEvent.preventDefault()};for(var r=0;r<n.length;)n[r](e),r++}},destroy:function(){this.element&&tt(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null}},et(J,{INPUT_START:mt,INPUT_MOVE:_t,INPUT_END:gt,INPUT_CANCEL:vt,STATE_POSSIBLE:$t,STATE_BEGAN:Jt,STATE_CHANGED:Qt,STATE_ENDED:te,STATE_RECOGNIZED:ee,STATE_CANCELLED:ne,STATE_FAILED:32,DIRECTION_NONE:yt,DIRECTION_LEFT:bt,DIRECTION_RIGHT:wt,DIRECTION_UP:St,DIRECTION_DOWN:Tt,DIRECTION_HORIZONTAL:Et,DIRECTION_VERTICAL:Mt,DIRECTION_ALL:xt,Manager:Q,Input:x,TouchAction:H,TouchInput:j,MouseInput:P,PointerEventInput:R,TouchMouseInput:Y,SingleTouchInput:N,Recognizer:B,AttrRecognizer:U,Tap:$,Pan:q,Swipe:Z,Pinch:G,Rotate:K,Press:X,on:_,off:g,each:c,merge:lt,extend:ut,assign:et,inherit:h,bindFn:f,prefixed:E});(void 0!==i?i:"undefined"!=typeof self?self:{}).Hammer=J,(r=function(){return J}.call(e,n,e,t))===a||(t.exports=r)}(window,document)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r={update:function(){if("undefined"!=typeof window&&"function"==typeof window.addEventListener){var t=!1,e=Object.defineProperty({},"passive",{get:function(){t=!0}}),n=function(){};window.addEventListener("testPassiveEventSupport",n,e),window.removeEventListener("testPassiveEventSupport",n,e),r.hasSupport=t}}};r.update(),e.default=r},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){for(var n in t)e.hasOwnProperty(n)||(e[n]=t[n])}(n(349))},function(t,e,n){!function(e,r){t.exports=r(function(){try{return n(4)}catch(t){}}())}(0,function(t){"use strict";function e(t){var e=function(){for(var t={},e=Object.keys(Ft),n=e.length,r=0;r<n;r++)t[e[r]]={distance:-1,parent:null};return t}(),n=[t];for(e[t].distance=0;n.length;)for(var r=n.pop(),i=Object.keys(Ft[r]),o=i.length,s=0;s<o;s++){var a=i[s],u=e[a];-1===u.distance&&(u.distance=e[r].distance+1,u.parent=r,n.unshift(a))}return e}function n(t,e){return function(n){return e(t(n))}}function r(t,e){for(var r=[e[t].parent,t],i=Ft[e[t].parent][t],o=e[t].parent;e[o].parent;)r.unshift(e[o].parent),i=n(Ft[e[o].parent][o],i),o=e[o].parent;return i.conversion=r,i}function i(t){if(t){var e=[0,0,0],n=1,r=t.match(/^#([a-fA-F0-9]{3,4})$/i),i="";if(r){i=(r=r[1])[3];for(var o=0;o<e.length;o++)e[o]=parseInt(r[o]+r[o],16);i&&(n=Math.round(parseInt(i+i,16)/255*100)/100)}else if(r=t.match(/^#([a-fA-F0-9]{6}([a-fA-F0-9]{2})?)$/i)){i=r[2],r=r[1];for(o=0;o<e.length;o++)e[o]=parseInt(r.slice(2*o,2*o+2),16);i&&(n=Math.round(parseInt(i,16)/255*100)/100)}else if(r=t.match(/^rgba?\(\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/i)){for(o=0;o<e.length;o++)e[o]=parseInt(r[o+1]);n=parseFloat(r[4])}else if(r=t.match(/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/i)){for(o=0;o<e.length;o++)e[o]=Math.round(2.55*parseFloat(r[o+1]));n=parseFloat(r[4])}else if(r=t.match(/(\w+)/)){if("transparent"==r[1])return[0,0,0,0];if(!(e=Vt[r[1]]))return}for(o=0;o<e.length;o++)e[o]=c(e[o],0,255);return n=n||0==n?c(n,0,1):1,e[3]=n,e}}function o(t){if(t){var e=t.match(/^hsla?\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/);if(e){var n=parseFloat(e[4]);return[c(parseInt(e[1]),0,360),c(parseFloat(e[2]),0,100),c(parseFloat(e[3]),0,100),c(isNaN(n)?1:n,0,1)]}}}function s(t){if(t){var e=t.match(/^hwb\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/);if(e){var n=parseFloat(e[4]);return[c(parseInt(e[1]),0,360),c(parseFloat(e[2]),0,100),c(parseFloat(e[3]),0,100),c(isNaN(n)?1:n,0,1)]}}}function a(t,e){return void 0===e&&(e=void 0!==t[3]?t[3]:1),"rgba("+t[0]+", "+t[1]+", "+t[2]+", "+e+")"}function u(t,e){return"rgba("+Math.round(t[0]/255*100)+"%, "+Math.round(t[1]/255*100)+"%, "+Math.round(t[2]/255*100)+"%, "+(e||t[3]||1)+")"}function l(t,e){return void 0===e&&(e=void 0!==t[3]?t[3]:1),"hsla("+t[0]+", "+t[1]+"%, "+t[2]+"%, "+e+")"}function c(t,e,n){return Math.min(Math.max(e,t),n)}function d(t){var e=t.toString(16).toUpperCase();return e.length<2?"0"+e:e}function h(t,e){var n=t._chartjs;if(n){var r=n.listeners,i=r.indexOf(e);-1!==i&&r.splice(i,1),r.length>0||(Te.forEach(function(e){delete t[e]}),delete t._chartjs)}}function f(t,e){var n=e.startAngle,r=e.endAngle,i=e.pixelMargin,o=i/e.outerRadius,s=e.x,a=e.y;t.beginPath(),t.arc(s,a,e.outerRadius,n-o,r+o),e.innerRadius>i?t.arc(s,a,e.innerRadius-i,r+(o=i/e.innerRadius),n-o,!0):t.arc(s,a,i,r+Math.PI/2,n-Math.PI/2),t.closePath(),t.clip()}function p(t,e,n){var r="inner"===e.borderAlign;r?(t.lineWidth=2*e.borderWidth,t.lineJoin="round"):(t.lineWidth=e.borderWidth,t.lineJoin="bevel"),n.fullCircles&&function(t,e,n,r){var i,o=n.endAngle;for(r&&(n.endAngle=n.startAngle+xe,f(t,n),n.endAngle=o,n.endAngle===n.startAngle&&n.fullCircles&&(n.endAngle+=xe,n.fullCircles--)),t.beginPath(),t.arc(n.x,n.y,n.innerRadius,n.startAngle+xe,n.startAngle,!0),i=0;i<n.fullCircles;++i)t.stroke();for(t.beginPath(),t.arc(n.x,n.y,e.outerRadius,n.startAngle,n.startAngle+xe),i=0;i<n.fullCircles;++i)t.stroke()}(t,e,n,r),r&&f(t,n),t.beginPath(),t.arc(n.x,n.y,e.outerRadius,n.startAngle,n.endAngle),t.arc(n.x,n.y,n.innerRadius,n.endAngle,n.startAngle,!0),t.closePath(),t.stroke()}function m(t){var e=this._view;return!!e&&Math.abs(t-e.x)<e.radius+e.hitRadius}function _(t){return t&&void 0!==t.width}function g(t){var e,n,r,i,o;return _(t)?(e=t.x-(o=t.width/2),n=t.x+o,r=Math.min(t.y,t.base),i=Math.max(t.y,t.base)):(o=t.height/2,e=Math.min(t.x,t.base),n=Math.max(t.x,t.base),r=t.y-o,i=t.y+o),{left:e,top:r,right:n,bottom:i}}function v(t,e,n){return t===e?n:t===n?e:t}function y(t,e,n){var r,i,o,s,a=t.borderWidth,u=function(t){var e=t.borderSkipped,n={};return e?(t.horizontal?t.base>t.x&&(e=v(e,"left","right")):t.base<t.y&&(e=v(e,"bottom","top")),n[e]=!0,n):n}(t);return he.isObject(a)?(r=+a.top||0,i=+a.right||0,o=+a.bottom||0,s=+a.left||0):r=i=o=s=+a||0,{t:u.top||r<0?0:r>n?n:r,r:u.right||i<0?0:i>e?e:i,b:u.bottom||o<0?0:o>n?n:o,l:u.left||s<0?0:s>e?e:s}}function b(t,e,n){var r=null===e,i=null===n,o=!(!t||r&&i)&&g(t);return o&&(r||e>=o.left&&e<=o.right)&&(i||n>=o.top&&n<=o.bottom)}function w(t,e,n){var r,i,o=n.barThickness,s=e.stackCount,a=e.pixels[t],u=he.isNullOrUndef(o)?function(t,e){var n,r,i,o,s=t._length;for(i=1,o=e.length;i<o;++i)s=Math.min(s,Math.abs(e[i]-e[i-1]));for(i=0,o=t.getTicks().length;i<o;++i)r=t.getPixelForTick(i),s=i>0?Math.min(s,Math.abs(r-n)):s,n=r;return s}(e.scale,e.pixels):-1;return he.isNullOrUndef(o)?(r=u*n.categoryPercentage,i=n.barPercentage):(r=o*s,i=1),{chunk:r/s,ratio:i,start:a-r/2}}function S(t,e){var n=t&&t.options.ticks||{},r=n.reverse,i=void 0===n.min?e:0,o=void 0===n.max?e:0;return{start:r?o:i,end:r?i:o}}function T(t,e){return t.native?{x:t.x,y:t.y}:he.getRelativePosition(t,e)}function E(t,e){var n,r,i,o,s,a,u=t._getSortedVisibleDatasetMetas();for(r=0,o=u.length;r<o;++r)for(i=0,s=(n=u[r].data).length;i<s;++i)(a=n[i])._view.skip||e(a)}function M(t,e){var n=[];return E(t,function(t){t.inRange(e.x,e.y)&&n.push(t)}),n}function x(t,e,n,r){var i=Number.POSITIVE_INFINITY,o=[];return E(t,function(t){if(!n||t.inRange(e.x,e.y)){var s=t.getCenterPoint(),a=r(e,s);a<i?(o=[t],i=a):a===i&&o.push(t)}}),o}function C(t){var e=-1!==t.indexOf("x"),n=-1!==t.indexOf("y");return function(t,r){var i=e?Math.abs(t.x-r.x):0,o=n?Math.abs(t.y-r.y):0;return Math.sqrt(Math.pow(i,2)+Math.pow(o,2))}}function O(t,e,n){var r=T(e,t);n.axis=n.axis||"x";var i=C(n.axis),o=n.intersect?M(t,r):x(t,r,!1,i),s=[];return o.length?(t._getSortedVisibleDatasetMetas().forEach(function(t){var e=t.data[o[0]._index];e&&!e._view.skip&&s.push(e)}),s):[]}function D(t,e){return he.where(t,function(t){return t.pos===e})}function k(t,e){return t.sort(function(t,n){var r=e?n:t,i=e?t:n;return r.weight===i.weight?r.index-i.index:r.weight-i.weight})}function L(t,e,n,r){return Math.max(t[n],e[n])+Math.max(t[r],e[r])}function A(t,e,n){var r,i,o=n.box,s=t.maxPadding;if(n.size&&(t[n.pos]-=n.size),n.size=n.horizontal?o.height:o.width,t[n.pos]+=n.size,o.getPadding){var a=o.getPadding();s.top=Math.max(s.top,a.top),s.left=Math.max(s.left,a.left),s.bottom=Math.max(s.bottom,a.bottom),s.right=Math.max(s.right,a.right)}if(r=e.outerWidth-L(s,t,"left","right"),i=e.outerHeight-L(s,t,"top","bottom"),r!==t.w||i!==t.h)return t.w=r,t.h=i,n.horizontal?r!==t.w:i!==t.h}function I(t,e){function n(t){var n={left:0,top:0,right:0,bottom:0};return t.forEach(function(t){n[t]=Math.max(e[t],r[t])}),n}var r=e.maxPadding;return n(t?["left","right"]:["top","bottom"])}function P(t,e,n){var r,i,o,s,a,u,l=[];for(r=0,i=t.length;r<i;++r)(s=(o=t[r]).box).update(o.width||e.w,o.height||e.h,I(o.horizontal,e)),A(e,n,o)&&(u=!0,l.length&&(a=!0)),s.fullWidth||l.push(o);return a?P(l,e,n)||u:u}function R(t,e,n){var r,i,o,s,a=n.padding,u=e.x,l=e.y;for(r=0,i=t.length;r<i;++r)s=(o=t[r]).box,o.horizontal?(s.left=s.fullWidth?a.left:e.left,s.right=s.fullWidth?n.outerWidth-a.right:e.left+e.w,s.top=l,s.bottom=l+s.height,s.width=s.right-s.left,l=s.bottom):(s.left=u,s.right=u+s.width,s.top=e.top,s.bottom=e.top+e.h,s.height=s.bottom-s.top,u=s.right);e.x=u,e.y=l}function N(t,e){var n=he.getStyle(t,e),r=n&&n.match(/^(\d+)(\.\d+)?px$/);return r?Number(r[1]):void 0}function j(t,e,n){t.addEventListener(e,n,vn)}function Y(t,e,n){t.removeEventListener(e,n,vn)}function F(t,e,n,r,i){return{type:t,chart:e,native:i||null,x:void 0!==n?n:null,y:void 0!==r?r:null}}function H(t){var e=document.createElement("div");return e.className=t||"",e}function B(t,e,n){var r=t[hn]||(t[hn]={}),i=r.resizer=function(t){var e=H(fn),n=H(fn+"-expand"),r=H(fn+"-shrink");n.appendChild(H()),r.appendChild(H()),e.appendChild(n),e.appendChild(r),e._reset=function(){n.scrollLeft=1e6,n.scrollTop=1e6,r.scrollLeft=1e6,r.scrollTop=1e6};var i=function(){e._reset(),t()};return j(n,"scroll",i.bind(n,"expand")),j(r,"scroll",i.bind(r,"shrink")),e}(function(t,e){var n=!1,r=[];return function(){r=Array.prototype.slice.call(arguments),e=e||this,n||(n=!0,he.requestAnimFrame.call(window,function(){n=!1,t.apply(e,r)}))}}(function(){if(r.resizer){var i=n.options.maintainAspectRatio&&t.parentNode,o=i?i.clientWidth:0;e(F("resize",n)),i&&i.clientWidth<o&&n.canvas&&e(F("resize",n))}}));!function(t,e){var n=t[hn]||(t[hn]={}),r=n.renderProxy=function(t){t.animationName===mn&&e()};he.each(_n,function(e){j(t,e,r)}),n.reflow=!!t.offsetParent,t.classList.add(pn)}(t,function(){if(r.resizer){var e=t.parentNode;e&&e!==i.parentNode&&e.insertBefore(i,e.firstChild),i._reset()}})}function V(t){var e=t[hn]||{},n=e.resizer;delete e.resizer,function(t){var e=t[hn]||{},n=e.renderProxy;n&&(he.each(_n,function(e){Y(t,e,n)}),delete e.renderProxy),t.classList.remove(pn)}(t),n&&n.parentNode&&n.parentNode.removeChild(n)}function z(t,e){return e&&(he.isArray(e)?Array.prototype.push.apply(t,e):t.push(e)),t}function W(t){return("string"==typeof t||t instanceof String)&&t.indexOf("\n")>-1?t.split("\n"):t}function U(t){var e=t._xScale,n=t._yScale||t._scale,r=t._index,i=t._datasetIndex,o=t._chart.getDatasetMeta(i).controller,s=o._getIndexScale(),a=o._getValueScale();return{xLabel:e?e.getLabelForIndex(r,i):"",yLabel:n?n.getLabelForIndex(r,i):"",label:s?""+s.getLabelForIndex(r,i):"",value:a?""+a.getLabelForIndex(r,i):"",index:r,datasetIndex:i,x:t._model.x,y:t._model.y}}function q(t){var e=ae.global;return{xPadding:t.xPadding,yPadding:t.yPadding,xAlign:t.xAlign,yAlign:t.yAlign,rtl:t.rtl,textDirection:t.textDirection,bodyFontColor:t.bodyFontColor,_bodyFontFamily:Tn(t.bodyFontFamily,e.defaultFontFamily),_bodyFontStyle:Tn(t.bodyFontStyle,e.defaultFontStyle),_bodyAlign:t.bodyAlign,bodyFontSize:Tn(t.bodyFontSize,e.defaultFontSize),bodySpacing:t.bodySpacing,titleFontColor:t.titleFontColor,_titleFontFamily:Tn(t.titleFontFamily,e.defaultFontFamily),_titleFontStyle:Tn(t.titleFontStyle,e.defaultFontStyle),titleFontSize:Tn(t.titleFontSize,e.defaultFontSize),_titleAlign:t.titleAlign,titleSpacing:t.titleSpacing,titleMarginBottom:t.titleMarginBottom,footerFontColor:t.footerFontColor,_footerFontFamily:Tn(t.footerFontFamily,e.defaultFontFamily),_footerFontStyle:Tn(t.footerFontStyle,e.defaultFontStyle),footerFontSize:Tn(t.footerFontSize,e.defaultFontSize),_footerAlign:t.footerAlign,footerSpacing:t.footerSpacing,footerMarginTop:t.footerMarginTop,caretSize:t.caretSize,cornerRadius:t.cornerRadius,backgroundColor:t.backgroundColor,opacity:0,legendColorBackground:t.multiKeyBackground,displayColors:t.displayColors,borderColor:t.borderColor,borderWidth:t.borderWidth}}function G(t,e){return"center"===e?t.x+t.width/2:"right"===e?t.x+t.width-t.xPadding:t.x+t.xPadding}function X(t){return z([],W(t))}function K(){return he.merge({},[].slice.call(arguments),{merger:function(t,e,n,r){if("xAxes"===t||"yAxes"===t){var i,o,s,a=n[t].length;for(e[t]||(e[t]=[]),i=0;i<a;++i)o=Cn((s=n[t][i]).type,"xAxes"===t?"category":"linear"),i>=e[t].length&&e[t].push({}),he.merge(e[t][i],!e[t][i].type||s.type&&s.type!==e[t][i].type?[Sn.getScaleDefaults(o),s]:s)}else he._merger(t,e,n,r)}})}function Z(){return he.merge({},[].slice.call(arguments),{merger:function(t,e,n,r){var i=e[t]||{},o=n[t];"scales"===t?e[t]=K(i,o):"scale"===t?e[t]=he.merge(i,[Sn.getScaleDefaults(o.type),o]):he._merger(t,e,n,r)}})}function $(t,e,n){var r,i=function(t){return t.id===r};do{r=e+n++}while(he.findIndex(t,i)>=0);return r}function J(t){return"top"===t||"bottom"===t}function Q(t,e){return function(n,r){return n[t]===r[t]?n[e]-r[e]:n[t]-r[t]}}function tt(){throw new Error("This method is not implemented: either no adapter can be found or an incomplete integration was provided.")}function et(t){this.options=t||{}}function nt(t,e,n){var r,i=t.getTicks().length,o=Math.min(e,i-1),s=t.getPixelForTick(o),a=t._startPixel,u=t._endPixel;if(!(n&&(r=1===i?Math.max(s-a,u-s):0===e?(t.getPixelForTick(1)-s)/2:(s-t.getPixelForTick(o-1))/2,(s+=o<e?r:-r)<a-1e-6||s>u+1e-6)))return s}function rt(t,e,n,r){function i(t){return{width:y[t]||0,height:b[t]||0,offset:w[t]||0}}var o,s,a,u,l,c,d,h,f,p,m,_,g,v=n.length,y=[],b=[],w=[];for(o=0;o<v;++o){if(u=n[o].label,l=n[o].major?e.major:e.minor,t.font=c=l.string,d=r[c]=r[c]||{data:{},gc:[]},h=l.lineHeight,f=p=0,In(u)||An(u)){if(An(u))for(s=0,a=u.length;s<a;++s)In(m=u[s])||An(m)||(f=he.measureText(t,d.data,d.gc,f,m),p+=h)}else f=he.measureText(t,d.data,d.gc,f,u),p=h;y.push(f),b.push(p),w.push(h/2)}return function(t,e){he.each(t,function(t){var n,r=t.gc,i=r.length/2;if(i>e){for(n=0;n<i;++n)delete t.data[r[n]];r.splice(0,i)}})}(r,v),_=y.indexOf(Math.max.apply(null,y)),g=b.indexOf(Math.max.apply(null,b)),{first:i(0),last:i(v-1),widest:i(_),highest:i(g)}}function it(t){return t.drawTicks?t.tickMarkLength:0}function ot(t){var e,n;return t.display?(e=he.options._parseFont(t),n=he.options.toPadding(t.padding),e.lineHeight+n.height):0}function st(t,e){return he.extend(he.options._parseFont({fontFamily:Pn(e.fontFamily,t.fontFamily),fontSize:Pn(e.fontSize,t.fontSize),fontStyle:Pn(e.fontStyle,t.fontStyle),lineHeight:Pn(e.lineHeight,t.lineHeight)}),{color:he.options.resolve([e.fontColor,t.fontColor,ae.global.defaultFontColor])})}function at(t){var e=st(t,t.minor);return{minor:e,major:t.major.enabled?st(t,t.major):e}}function ut(t){var e,n,r,i=[];for(n=0,r=t.length;n<r;++n)void 0!==(e=t[n])._index&&i.push(e);return i}function lt(t,e,n,r){var i,o,s,a,u=Pn(n,0),l=Math.min(Pn(r,t.length),t.length),c=0;for(e=Math.ceil(e),r&&(e=(i=r-n)/Math.floor(i/e)),a=u;a<0;)c++,a=Math.round(u+c*e);for(o=Math.max(u,0);o<l;o++)s=t[o],o===a?(s._index=o,c++,a=Math.round(u+c*e)):delete s.label}function ct(t,e,n,r){var i,o,s=t.options,a=function(t,e,n){var r=[n.type,void 0===e&&void 0===n.stack?n.index:"",n.stack].join(".");return void 0===t[r]&&(t[r]={pos:[],neg:[]}),t[r]}(e,s.stacked,n),u=a.pos,l=a.neg,c=r.length;for(i=0;i<c;++i)o=t._parseValue(r[i]),isNaN(o.min)||isNaN(o.max)||n.data[i].hidden||(u[i]=u[i]||0,l[i]=l[i]||0,s.relativePoints?u[i]=100:o.min<0||o.max<0?l[i]+=o.min:u[i]+=o.max)}function dt(t,e,n){var r,i,o=n.length;for(r=0;r<o;++r)i=t._parseValue(n[r]),isNaN(i.min)||isNaN(i.max)||e.data[r].hidden||(t.min=Math.min(t.min,i.min),t.max=Math.max(t.max,i.max))}function ht(t,e){return he.isFinite(t)&&t>=0?t:e}function ft(t){var e=t.ticks;return e.display&&t.display?Xn(e.fontSize,ae.global.defaultFontSize)+2*e.backdropPaddingY:0}function pt(t,e,n){return he.isArray(n)?{w:he.longestText(t,t.font,n),h:n.length*e}:{w:t.measureText(n).width,h:e}}function mt(t,e,n,r,i){return t===r||t===i?{start:e-n/2,end:e+n/2}:t<r||t>i?{start:e-n,end:e}:{start:e,end:e+n}}function _t(t){return 0===t||180===t?"center":t<180?"left":"right"}function gt(t,e,n,r){var i,o,s=n.y+r/2;if(he.isArray(e))for(i=0,o=e.length;i<o;++i)t.fillText(e[i],n.x,s),s+=r;else t.fillText(e,n.x,s)}function vt(t,e,n){90===t||270===t?n.y-=e.h/2:(t>270||t<90)&&(n.y-=e.h)}function yt(t){return he.isNumber(t)?t:0}function bt(t,e){return t-e}function wt(t){return he.valueOrDefault(t.time.min,t.ticks.min)}function St(t){return he.valueOrDefault(t.time.max,t.ticks.max)}function Tt(t,e,n,r){var i=function(t,e,n){for(var r,i,o,s=0,a=t.length-1;s>=0&&s<=a;){if(r=s+a>>1,i=t[r-1]||null,o=t[r],!i)return{lo:null,hi:o};if(o[e]<n)s=r+1;else{if(!(i[e]>n))return{lo:i,hi:o};a=r-1}}return{lo:o,hi:null}}(t,e,n),o=i.lo?i.hi?i.lo:t[t.length-2]:t[0],s=i.lo?i.hi?i.hi:t[t.length-1]:t[1],a=s[e]-o[e];return o[r]+(s[r]-o[r])*(a?(n-o[e])/a:0)}function Et(t,e){var n=t._adapter,r=t.options.time,i=r.parser,o=i||r.format,s=e;return"function"==typeof i&&(s=i(s)),he.isFinite(s)||(s="string"==typeof o?n.parse(s,o):n.parse(s)),null!==s?+s:(i||"function"!=typeof o||(s=o(e),he.isFinite(s)||(s=n.parse(s))),s)}function Mt(t,e){if(he.isNullOrUndef(e))return null;var n=t.options.time,r=Et(t,t.getRightValue(e));return null===r?r:(n.round&&(r=+t._adapter.startOf(r,n.round)),r)}function xt(t,e,n,r){var i,o,s,a=or.length;for(i=or.indexOf(t);i<a-1;++i)if(o=ir[or[i]],s=o.steps?o.steps:rr,o.common&&Math.ceil((n-e)/(s*o.size))<=r)return or[i];return or[a-1]}function Ct(t,e,n){var r,i,o=[],s={},a=e.length;for(r=0;r<a;++r)s[i=e[r]]=r,o.push({value:i,major:!1});return 0!==a&&n?function(t,e,n,r){var i,o,s=t._adapter,a=+s.startOf(e[0].value,r),u=e[e.length-1].value;for(i=a;i<=u;i=+s.add(i,1,r))(o=n[i])>=0&&(e[o].major=!0);return e}(t,o,s,n):o}function Ot(t,e,n){var r,i=t._model||{},o=i.fill;if(void 0===o&&(o=!!i.backgroundColor),!1===o||null===o)return!1;if(!0===o)return"origin";if(r=parseFloat(o,10),isFinite(r)&&Math.floor(r)===r)return"-"!==o[0]&&"+"!==o[0]||(r=e+r),!(r===e||r<0||r>=n)&&r;switch(o){case"bottom":return"start";case"top":return"end";case"zero":return"origin";case"origin":case"start":case"end":return o;default:return!1}}function Dt(t){return(t.el._scale||{}).getPointPositionForValue?function(t){var e,n,r,i,o,s=t.el._scale,a=s.options,u=s.chart.data.labels.length,l=t.fill,c=[];if(!u)return null;for(e=a.ticks.reverse?s.max:s.min,n=a.ticks.reverse?s.min:s.max,r=s.getPointPositionForValue(0,e),i=0;i<u;++i)o="start"===l||"end"===l?s.getPointPositionForValue(i,"start"===l?e:n):s.getBasePosition(i),a.gridLines.circular&&(o.cx=r.x,o.cy=r.y,o.angle=s.getIndexAngle(i)-Math.PI/2),c.push(o);return c}(t):function(t){var e,n=t.el._model||{},r=t.el._scale||{},i=t.fill,o=null;if(isFinite(i))return null;if("start"===i?o=void 0===n.scaleBottom?r.bottom:n.scaleBottom:"end"===i?o=void 0===n.scaleTop?r.top:n.scaleTop:void 0!==n.scaleZero?o=n.scaleZero:r.getBasePixel&&(o=r.getBasePixel()),void 0!==o&&null!==o){if(void 0!==o.x&&void 0!==o.y)return o;if(he.isFinite(o))return e=r.isHorizontal(),{x:e?o:null,y:e?null:o}}return null}(t)}function kt(t,e,n){var r,i=t[e].fill,o=[e];if(!n)return i;for(;!1!==i&&-1===o.indexOf(i);){if(!isFinite(i))return i;if(!(r=t[i]))return!1;if(r.visible)return i;o.push(i),i=r.fill}return!1}function Lt(t){var e=t.fill,n="dataset";return!1===e?null:(isFinite(e)||(n="boundary"),lr[n](t))}function At(t){return t&&!t.skip}function It(t,e,n,r,i){var o,s,a,u;if(r&&i){for(t.moveTo(e[0].x,e[0].y),o=1;o<r;++o)he.canvas.lineTo(t,e[o-1],e[o]);if(void 0===n[0].angle)for(t.lineTo(n[i-1].x,n[i-1].y),o=i-1;o>0;--o)he.canvas.lineTo(t,n[o],n[o-1],!0);else for(s=n[0].cx,a=n[0].cy,u=Math.sqrt(Math.pow(n[0].x-s,2)+Math.pow(n[0].y-a,2)),o=i-1;o>0;--o)t.arc(s,a,u,n[o].angle,n[o-1].angle,!0)}}function Pt(t,e,n,r,i,o){var s,a,u,l,c,d,h,f,p=e.length,m=r.spanGaps,_=[],g=[],v=0,y=0;for(t.beginPath(),s=0,a=p;s<a;++s)c=n(l=e[u=s%p]._view,u,r),d=At(l),h=At(c),o&&void 0===f&&d&&(a=p+(f=s+1)),d&&h?(v=_.push(l),y=g.push(c)):v&&y&&(m?(d&&_.push(l),h&&g.push(c)):(It(t,_,g,v,y),v=y=0,_=[],g=[]));It(t,_,g,v,y),t.closePath(),t.fillStyle=i,t.fill()}function Rt(t,e){return t.usePointStyle&&t.boxWidth>e?e:t.boxWidth}function Nt(t,e){var n=new pr({ctx:t.ctx,options:e,chart:t});cn.configure(t,n,e),cn.addBox(t,n),t.legend=n}function jt(t,e){var n=new gr({ctx:t.ctx,options:e,chart:t});cn.configure(t,n,e),cn.addBox(t,n),t.titleBlock=n}t=t&&t.hasOwnProperty("default")?t.default:t;var Yt={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},Ft=function(t,e){return e={exports:{}},t(e,e.exports),e.exports}(function(t){function e(t,e){return Math.pow(t[0]-e[0],2)+Math.pow(t[1]-e[1],2)+Math.pow(t[2]-e[2],2)}var n={};for(var r in Yt)Yt.hasOwnProperty(r)&&(n[Yt[r]]=r);var i=t.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(var o in i)if(i.hasOwnProperty(o)){if(!("channels"in i[o]))throw new Error("missing channels property: "+o);if(!("labels"in i[o]))throw new Error("missing channel labels property: "+o);if(i[o].labels.length!==i[o].channels)throw new Error("channel and label counts mismatch: "+o);var s=i[o].channels,a=i[o].labels;delete i[o].channels,delete i[o].labels,Object.defineProperty(i[o],"channels",{value:s}),Object.defineProperty(i[o],"labels",{value:a})}i.rgb.hsl=function(t){var e,n,r,i=t[0]/255,o=t[1]/255,s=t[2]/255,a=Math.min(i,o,s),u=Math.max(i,o,s),l=u-a;return u===a?e=0:i===u?e=(o-s)/l:o===u?e=2+(s-i)/l:s===u&&(e=4+(i-o)/l),(e=Math.min(60*e,360))<0&&(e+=360),r=(a+u)/2,n=u===a?0:r<=.5?l/(u+a):l/(2-u-a),[e,100*n,100*r]},i.rgb.hsv=function(t){var e,n,r,i,o,s=t[0]/255,a=t[1]/255,u=t[2]/255,l=Math.max(s,a,u),c=l-Math.min(s,a,u),d=function(t){return(l-t)/6/c+.5};return 0===c?i=o=0:(o=c/l,e=d(s),n=d(a),r=d(u),s===l?i=r-n:a===l?i=1/3+e-r:u===l&&(i=2/3+n-e),i<0?i+=1:i>1&&(i-=1)),[360*i,100*o,100*l]},i.rgb.hwb=function(t){var e=t[0],n=t[1],r=t[2],o=i.rgb.hsl(t)[0],s=1/255*Math.min(e,Math.min(n,r));return r=1-1/255*Math.max(e,Math.max(n,r)),[o,100*s,100*r]},i.rgb.cmyk=function(t){var e,n,r,i,o=t[0]/255,s=t[1]/255,a=t[2]/255;return i=Math.min(1-o,1-s,1-a),e=(1-o-i)/(1-i)||0,n=(1-s-i)/(1-i)||0,r=(1-a-i)/(1-i)||0,[100*e,100*n,100*r,100*i]},i.rgb.keyword=function(t){var r=n[t];if(r)return r;var i,o=1/0;for(var s in Yt)if(Yt.hasOwnProperty(s)){var a=e(t,Yt[s]);a<o&&(o=a,i=s)}return i},i.keyword.rgb=function(t){return Yt[t]},i.rgb.xyz=function(t){var e=t[0]/255,n=t[1]/255,r=t[2]/255;return[100*(.4124*(e=e>.04045?Math.pow((e+.055)/1.055,2.4):e/12.92)+.3576*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)+.1805*(r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92)),100*(.2126*e+.7152*n+.0722*r),100*(.0193*e+.1192*n+.9505*r)]},i.rgb.lab=function(t){var e,n,r,o=i.rgb.xyz(t),s=o[0],a=o[1],u=o[2];return s/=95.047,a/=100,u/=108.883,s=s>.008856?Math.pow(s,1/3):7.787*s+16/116,a=a>.008856?Math.pow(a,1/3):7.787*a+16/116,u=u>.008856?Math.pow(u,1/3):7.787*u+16/116,e=116*a-16,n=500*(s-a),r=200*(a-u),[e,n,r]},i.hsl.rgb=function(t){var e,n,r,i,o,s=t[0]/360,a=t[1]/100,u=t[2]/100;if(0===a)return o=255*u,[o,o,o];e=2*u-(n=u<.5?u*(1+a):u+a-u*a),i=[0,0,0];for(var l=0;l<3;l++)(r=s+1/3*-(l-1))<0&&r++,r>1&&r--,i[l]=255*(o=6*r<1?e+6*(n-e)*r:2*r<1?n:3*r<2?e+(n-e)*(2/3-r)*6:e);return i},i.hsl.hsv=function(t){var e,n,r=t[0],i=t[1]/100,o=t[2]/100,s=i,a=Math.max(o,.01);return o*=2,i*=o<=1?o:2-o,s*=a<=1?a:2-a,n=(o+i)/2,e=0===o?2*s/(a+s):2*i/(o+i),[r,100*e,100*n]},i.hsv.rgb=function(t){var e=t[0]/60,n=t[1]/100,r=t[2]/100,i=Math.floor(e)%6,o=e-Math.floor(e),s=255*r*(1-n),a=255*r*(1-n*o),u=255*r*(1-n*(1-o));switch(r*=255,i){case 0:return[r,u,s];case 1:return[a,r,s];case 2:return[s,r,u];case 3:return[s,a,r];case 4:return[u,s,r];case 5:return[r,s,a]}},i.hsv.hsl=function(t){var e,n,r,i=t[0],o=t[1]/100,s=t[2]/100,a=Math.max(s,.01);return r=(2-o)*s,e=(2-o)*a,n=o*a,n/=e<=1?e:2-e,n=n||0,r/=2,[i,100*n,100*r]},i.hwb.rgb=function(t){var e,n,r,i,o=t[0]/360,s=t[1]/100,a=t[2]/100,u=s+a;u>1&&(s/=u,a/=u),n=1-a,r=6*o-(e=Math.floor(6*o)),0!=(1&e)&&(r=1-r),i=s+r*(n-s);var l,c,d;switch(e){default:case 6:case 0:l=n,c=i,d=s;break;case 1:l=i,c=n,d=s;break;case 2:l=s,c=n,d=i;break;case 3:l=s,c=i,d=n;break;case 4:l=i,c=s,d=n;break;case 5:l=n,c=s,d=i}return[255*l,255*c,255*d]},i.cmyk.rgb=function(t){var e,n,r,i=t[0]/100,o=t[1]/100,s=t[2]/100,a=t[3]/100;return e=1-Math.min(1,i*(1-a)+a),n=1-Math.min(1,o*(1-a)+a),r=1-Math.min(1,s*(1-a)+a),[255*e,255*n,255*r]},i.xyz.rgb=function(t){var e,n,r,i=t[0]/100,o=t[1]/100,s=t[2]/100;return e=3.2406*i+-1.5372*o+-.4986*s,n=-.9689*i+1.8758*o+.0415*s,r=.0557*i+-.204*o+1.057*s,e=e>.0031308?1.055*Math.pow(e,1/2.4)-.055:12.92*e,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:12.92*n,r=r>.0031308?1.055*Math.pow(r,1/2.4)-.055:12.92*r,e=Math.min(Math.max(0,e),1),n=Math.min(Math.max(0,n),1),r=Math.min(Math.max(0,r),1),[255*e,255*n,255*r]},i.xyz.lab=function(t){var e,n,r,i=t[0],o=t[1],s=t[2];return i/=95.047,o/=100,s/=108.883,i=i>.008856?Math.pow(i,1/3):7.787*i+16/116,o=o>.008856?Math.pow(o,1/3):7.787*o+16/116,s=s>.008856?Math.pow(s,1/3):7.787*s+16/116,e=116*o-16,n=500*(i-o),r=200*(o-s),[e,n,r]},i.lab.xyz=function(t){var e,n,r;e=t[1]/500+(n=(t[0]+16)/116),r=n-t[2]/200;var i=Math.pow(n,3),o=Math.pow(e,3),s=Math.pow(r,3);return n=i>.008856?i:(n-16/116)/7.787,e=o>.008856?o:(e-16/116)/7.787,r=s>.008856?s:(r-16/116)/7.787,e*=95.047,n*=100,r*=108.883,[e,n,r]},i.lab.lch=function(t){var e,n,r,i=t[0],o=t[1],s=t[2];return e=Math.atan2(s,o),(n=360*e/2/Math.PI)<0&&(n+=360),r=Math.sqrt(o*o+s*s),[i,r,n]},i.lch.lab=function(t){var e,n,r,i=t[0],o=t[1];return r=t[2]/360*2*Math.PI,e=o*Math.cos(r),n=o*Math.sin(r),[i,e,n]},i.rgb.ansi16=function(t){var e=t[0],n=t[1],r=t[2],o=1 in arguments?arguments[1]:i.rgb.hsv(t)[2];if(0===(o=Math.round(o/50)))return 30;var s=30+(Math.round(r/255)<<2|Math.round(n/255)<<1|Math.round(e/255));return 2===o&&(s+=60),s},i.hsv.ansi16=function(t){return i.rgb.ansi16(i.hsv.rgb(t),t[2])},i.rgb.ansi256=function(t){var e=t[0],n=t[1],r=t[2];if(e===n&&n===r)return e<8?16:e>248?231:Math.round((e-8)/247*24)+232;return 16+36*Math.round(e/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)},i.ansi16.rgb=function(t){var e=t%10;if(0===e||7===e)return t>50&&(e+=3.5),e=e/10.5*255,[e,e,e];var n=.5*(1+~~(t>50));return[(1&e)*n*255,(e>>1&1)*n*255,(e>>2&1)*n*255]},i.ansi256.rgb=function(t){if(t>=232){var e=10*(t-232)+8;return[e,e,e]}t-=16;var n;return[Math.floor(t/36)/5*255,Math.floor((n=t%36)/6)/5*255,n%6/5*255]},i.rgb.hex=function(t){var e=(((255&Math.round(t[0]))<<16)+((255&Math.round(t[1]))<<8)+(255&Math.round(t[2]))).toString(16).toUpperCase();return"000000".substring(e.length)+e},i.hex.rgb=function(t){var e=t.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!e)return[0,0,0];var n=e[0];3===e[0].length&&(n=n.split("").map(function(t){return t+t}).join(""));var r=parseInt(n,16);return[r>>16&255,r>>8&255,255&r]},i.rgb.hcg=function(t){var e,n,r=t[0]/255,i=t[1]/255,o=t[2]/255,s=Math.max(Math.max(r,i),o),a=Math.min(Math.min(r,i),o),u=s-a;return e=u<1?a/(1-u):0,n=u<=0?0:s===r?(i-o)/u%6:s===i?2+(o-r)/u:4+(r-i)/u+4,n/=6,n%=1,[360*n,100*u,100*e]},i.hsl.hcg=function(t){var e=t[1]/100,n=t[2]/100,r=1,i=0;return(r=n<.5?2*e*n:2*e*(1-n))<1&&(i=(n-.5*r)/(1-r)),[t[0],100*r,100*i]},i.hsv.hcg=function(t){var e=t[2]/100,n=t[1]/100*e,r=0;return n<1&&(r=(e-n)/(1-n)),[t[0],100*n,100*r]},i.hcg.rgb=function(t){var e=t[0]/360,n=t[1]/100,r=t[2]/100;if(0===n)return[255*r,255*r,255*r];var i=[0,0,0],o=e%1*6,s=o%1,a=1-s,u=0;switch(Math.floor(o)){case 0:i[0]=1,i[1]=s,i[2]=0;break;case 1:i[0]=a,i[1]=1,i[2]=0;break;case 2:i[0]=0,i[1]=1,i[2]=s;break;case 3:i[0]=0,i[1]=a,i[2]=1;break;case 4:i[0]=s,i[1]=0,i[2]=1;break;default:i[0]=1,i[1]=0,i[2]=a}return u=(1-n)*r,[255*(n*i[0]+u),255*(n*i[1]+u),255*(n*i[2]+u)]},i.hcg.hsv=function(t){var e=t[1]/100,n=e+t[2]/100*(1-e),r=0;return n>0&&(r=e/n),[t[0],100*r,100*n]},i.hcg.hsl=function(t){var e=t[1]/100,n=t[2]/100*(1-e)+.5*e,r=0;return n>0&&n<.5?r=e/(2*n):n>=.5&&n<1&&(r=e/(2*(1-n))),[t[0],100*r,100*n]},i.hcg.hwb=function(t){var e=t[1]/100,n=e+t[2]/100*(1-e);return[t[0],100*(n-e),100*(1-n)]},i.hwb.hcg=function(t){var e=1-t[2]/100,n=e-t[1]/100,r=0;return n<1&&(r=(e-n)/(1-n)),[t[0],100*n,100*r]},i.apple.rgb=function(t){return[t[0]/65535*255,t[1]/65535*255,t[2]/65535*255]},i.rgb.apple=function(t){return[t[0]/255*65535,t[1]/255*65535,t[2]/255*65535]},i.gray.rgb=function(t){return[t[0]/100*255,t[0]/100*255,t[0]/100*255]},i.gray.hsl=i.gray.hsv=function(t){return[0,0,t[0]]},i.gray.hwb=function(t){return[0,100,t[0]]},i.gray.cmyk=function(t){return[0,0,0,t[0]]},i.gray.lab=function(t){return[t[0],0,0]},i.gray.hex=function(t){var e=255&Math.round(t[0]/100*255),n=((e<<16)+(e<<8)+e).toString(16).toUpperCase();return"000000".substring(n.length)+n},i.rgb.gray=function(t){return[(t[0]+t[1]+t[2])/3/255*100]}}),Ht={};Object.keys(Ft).forEach(function(t){Ht[t]={},Object.defineProperty(Ht[t],"channels",{value:Ft[t].channels}),Object.defineProperty(Ht[t],"labels",{value:Ft[t].labels});var n=function(t){for(var n=e(t),i={},o=Object.keys(n),s=o.length,a=0;a<s;a++){var u=o[a];null!==n[u].parent&&(i[u]=r(u,n))}return i}(t);Object.keys(n).forEach(function(e){var r=n[e];Ht[t][e]=function(t){var e=function(e){if(void 0===e||null===e)return e;arguments.length>1&&(e=Array.prototype.slice.call(arguments));var n=t(e);if("object"==typeof n)for(var r=n.length,i=0;i<r;i++)n[i]=Math.round(n[i]);return n};return"conversion"in t&&(e.conversion=t.conversion),e}(r),Ht[t][e].raw=function(t){var e=function(e){return void 0===e||null===e?e:(arguments.length>1&&(e=Array.prototype.slice.call(arguments)),t(e))};return"conversion"in t&&(e.conversion=t.conversion),e}(r)})});var Bt=Ht,Vt={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},zt={getRgba:i,getHsla:o,getRgb:function(t){var e=i(t);return e&&e.slice(0,3)},getHsl:function(t){var e=o(t);return e&&e.slice(0,3)},getHwb:s,getAlpha:function(t){var e=i(t);return e?e[3]:(e=o(t))?e[3]:(e=s(t))?e[3]:void 0},hexString:function(t,e){return e=void 0!==e&&3===t.length?e:t[3],"#"+d(t[0])+d(t[1])+d(t[2])+(e>=0&&e<1?d(Math.round(255*e)):"")},rgbString:function(t,e){return e<1||t[3]&&t[3]<1?a(t,e):"rgb("+t[0]+", "+t[1]+", "+t[2]+")"},rgbaString:a,percentString:function(t,e){return e<1||t[3]&&t[3]<1?u(t,e):"rgb("+Math.round(t[0]/255*100)+"%, "+Math.round(t[1]/255*100)+"%, "+Math.round(t[2]/255*100)+"%)"},percentaString:u,hslString:function(t,e){return e<1||t[3]&&t[3]<1?l(t,e):"hsl("+t[0]+", "+t[1]+"%, "+t[2]+"%)"},hslaString:l,hwbString:function(t,e){return void 0===e&&(e=void 0!==t[3]?t[3]:1),"hwb("+t[0]+", "+t[1]+"%, "+t[2]+"%"+(void 0!==e&&1!==e?", "+e:"")+")"},keyword:function(t){return Wt[t.slice(0,3)]}},Wt={};for(var Ut in Vt)Wt[Vt[Ut]]=Ut;var qt=function(t){if(t instanceof qt)return t;if(!(this instanceof qt))return new qt(t);this.valid=!1,this.values={rgb:[0,0,0],hsl:[0,0,0],hsv:[0,0,0],hwb:[0,0,0],cmyk:[0,0,0,0],alpha:1};var e;"string"==typeof t?(e=zt.getRgba(t))?this.setValues("rgb",e):(e=zt.getHsla(t))?this.setValues("hsl",e):(e=zt.getHwb(t))&&this.setValues("hwb",e):"object"==typeof t&&(void 0!==(e=t).r||void 0!==e.red?this.setValues("rgb",e):void 0!==e.l||void 0!==e.lightness?this.setValues("hsl",e):void 0!==e.v||void 0!==e.value?this.setValues("hsv",e):void 0!==e.w||void 0!==e.whiteness?this.setValues("hwb",e):void 0===e.c&&void 0===e.cyan||this.setValues("cmyk",e))};qt.prototype={isValid:function(){return this.valid},rgb:function(){return this.setSpace("rgb",arguments)},hsl:function(){return this.setSpace("hsl",arguments)},hsv:function(){return this.setSpace("hsv",arguments)},hwb:function(){return this.setSpace("hwb",arguments)},cmyk:function(){return this.setSpace("cmyk",arguments)},rgbArray:function(){return this.values.rgb},hslArray:function(){return this.values.hsl},hsvArray:function(){return this.values.hsv},hwbArray:function(){var t=this.values;return 1!==t.alpha?t.hwb.concat([t.alpha]):t.hwb},cmykArray:function(){return this.values.cmyk},rgbaArray:function(){var t=this.values;return t.rgb.concat([t.alpha])},hslaArray:function(){var t=this.values;return t.hsl.concat([t.alpha])},alpha:function(t){return void 0===t?this.values.alpha:(this.setValues("alpha",t),this)},red:function(t){return this.setChannel("rgb",0,t)},green:function(t){return this.setChannel("rgb",1,t)},blue:function(t){return this.setChannel("rgb",2,t)},hue:function(t){return t&&(t=(t%=360)<0?360+t:t),this.setChannel("hsl",0,t)},saturation:function(t){return this.setChannel("hsl",1,t)},lightness:function(t){return this.setChannel("hsl",2,t)},saturationv:function(t){return this.setChannel("hsv",1,t)},whiteness:function(t){return this.setChannel("hwb",1,t)},blackness:function(t){return this.setChannel("hwb",2,t)},value:function(t){return this.setChannel("hsv",2,t)},cyan:function(t){return this.setChannel("cmyk",0,t)},magenta:function(t){return this.setChannel("cmyk",1,t)},yellow:function(t){return this.setChannel("cmyk",2,t)},black:function(t){return this.setChannel("cmyk",3,t)},hexString:function(){return zt.hexString(this.values.rgb)},rgbString:function(){return zt.rgbString(this.values.rgb,this.values.alpha)},rgbaString:function(){return zt.rgbaString(this.values.rgb,this.values.alpha)},percentString:function(){return zt.percentString(this.values.rgb,this.values.alpha)},hslString:function(){return zt.hslString(this.values.hsl,this.values.alpha)},hslaString:function(){return zt.hslaString(this.values.hsl,this.values.alpha)},hwbString:function(){return zt.hwbString(this.values.hwb,this.values.alpha)},keyword:function(){return zt.keyword(this.values.rgb,this.values.alpha)},rgbNumber:function(){var t=this.values.rgb;return t[0]<<16|t[1]<<8|t[2]},luminosity:function(){for(var t=this.values.rgb,e=[],n=0;n<t.length;n++){var r=t[n]/255;e[n]=r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4)}return.2126*e[0]+.7152*e[1]+.0722*e[2]},contrast:function(t){var e=this.luminosity(),n=t.luminosity();return e>n?(e+.05)/(n+.05):(n+.05)/(e+.05)},level:function(t){var e=this.contrast(t);return e>=7.1?"AAA":e>=4.5?"AA":""},dark:function(){var t=this.values.rgb;return(299*t[0]+587*t[1]+114*t[2])/1e3<128},light:function(){return!this.dark()},negate:function(){for(var t=[],e=0;e<3;e++)t[e]=255-this.values.rgb[e];return this.setValues("rgb",t),this},lighten:function(t){var e=this.values.hsl;return e[2]+=e[2]*t,this.setValues("hsl",e),this},darken:function(t){var e=this.values.hsl;return e[2]-=e[2]*t,this.setValues("hsl",e),this},saturate:function(t){var e=this.values.hsl;return e[1]+=e[1]*t,this.setValues("hsl",e),this},desaturate:function(t){var e=this.values.hsl;return e[1]-=e[1]*t,this.setValues("hsl",e),this},whiten:function(t){var e=this.values.hwb;return e[1]+=e[1]*t,this.setValues("hwb",e),this},blacken:function(t){var e=this.values.hwb;return e[2]+=e[2]*t,this.setValues("hwb",e),this},greyscale:function(){var t=this.values.rgb,e=.3*t[0]+.59*t[1]+.11*t[2];return this.setValues("rgb",[e,e,e]),this},clearer:function(t){var e=this.values.alpha;return this.setValues("alpha",e-e*t),this},opaquer:function(t){var e=this.values.alpha;return this.setValues("alpha",e+e*t),this},rotate:function(t){var e=this.values.hsl,n=(e[0]+t)%360;return e[0]=n<0?360+n:n,this.setValues("hsl",e),this},mix:function(t,e){var n=t,r=void 0===e?.5:e,i=2*r-1,o=this.alpha()-n.alpha(),s=((i*o==-1?i:(i+o)/(1+i*o))+1)/2,a=1-s;return this.rgb(s*this.red()+a*n.red(),s*this.green()+a*n.green(),s*this.blue()+a*n.blue()).alpha(this.alpha()*r+n.alpha()*(1-r))},toJSON:function(){return this.rgb()},clone:function(){var t,e,n=new qt,r=this.values,i=n.values;for(var o in r)r.hasOwnProperty(o)&&("[object Array]"===(e={}.toString.call(t=r[o]))?i[o]=t.slice(0):"[object Number]"===e?i[o]=t:console.error("unexpected color value:",t));return n}},qt.prototype.spaces={rgb:["red","green","blue"],hsl:["hue","saturation","lightness"],hsv:["hue","saturation","value"],hwb:["hue","whiteness","blackness"],cmyk:["cyan","magenta","yellow","black"]},qt.prototype.maxes={rgb:[255,255,255],hsl:[360,100,100],hsv:[360,100,100],hwb:[360,100,100],cmyk:[100,100,100,100]},qt.prototype.getValues=function(t){for(var e=this.values,n={},r=0;r<t.length;r++)n[t.charAt(r)]=e[t][r];return 1!==e.alpha&&(n.a=e.alpha),n},qt.prototype.setValues=function(t,e){var n,r=this.values,i=this.spaces,o=this.maxes,s=1;if(this.valid=!0,"alpha"===t)s=e;else if(e.length)r[t]=e.slice(0,t.length),s=e[t.length];else if(void 0!==e[t.charAt(0)]){for(n=0;n<t.length;n++)r[t][n]=e[t.charAt(n)];s=e.a}else if(void 0!==e[i[t][0]]){var a=i[t];for(n=0;n<t.length;n++)r[t][n]=e[a[n]];s=e.alpha}if(r.alpha=Math.max(0,Math.min(1,void 0===s?r.alpha:s)),"alpha"===t)return!1;var u;for(n=0;n<t.length;n++)u=Math.max(0,Math.min(o[t][n],r[t][n])),r[t][n]=Math.round(u);for(var l in i)l!==t&&(r[l]=Bt[t][l](r[t]));return!0},qt.prototype.setSpace=function(t,e){var n=e[0];return void 0===n?this.getValues(t):("number"==typeof n&&(n=Array.prototype.slice.call(e)),this.setValues(t,n),this)},qt.prototype.setChannel=function(t,e,n){var r=this.values[t];return void 0===n?r[e]:n===r[e]?this:(r[e]=n,this.setValues(t,r),this)},"undefined"!=typeof window&&(window.Color=qt);var Gt=qt,Xt={noop:function(){},uid:function(){var t=0;return function(){return t++}}(),isNullOrUndef:function(t){return null===t||void 0===t},isArray:function(t){if(Array.isArray&&Array.isArray(t))return!0;var e=Object.prototype.toString.call(t);return"[object"===e.substr(0,7)&&"Array]"===e.substr(-6)},isObject:function(t){return null!==t&&"[object Object]"===Object.prototype.toString.call(t)},isFinite:function(t){return("number"==typeof t||t instanceof Number)&&isFinite(t)},valueOrDefault:function(t,e){return void 0===t?e:t},valueAtIndexOrDefault:function(t,e,n){return Xt.valueOrDefault(Xt.isArray(t)?t[e]:t,n)},callback:function(t,e,n){if(t&&"function"==typeof t.call)return t.apply(n,e)},each:function(t,e,n,r){var i,o,s;if(Xt.isArray(t))if(o=t.length,r)for(i=o-1;i>=0;i--)e.call(n,t[i],i);else for(i=0;i<o;i++)e.call(n,t[i],i);else if(Xt.isObject(t))for(o=(s=Object.keys(t)).length,i=0;i<o;i++)e.call(n,t[s[i]],s[i])},arrayEquals:function(t,e){var n,r,i,o;if(!t||!e||t.length!==e.length)return!1;for(n=0,r=t.length;n<r;++n)if(i=t[n],o=e[n],i instanceof Array&&o instanceof Array){if(!Xt.arrayEquals(i,o))return!1}else if(i!==o)return!1;return!0},clone:function(t){if(Xt.isArray(t))return t.map(Xt.clone);if(Xt.isObject(t)){for(var e={},n=Object.keys(t),r=n.length,i=0;i<r;++i)e[n[i]]=Xt.clone(t[n[i]]);return e}return t},_merger:function(t,e,n,r){var i=e[t],o=n[t];Xt.isObject(i)&&Xt.isObject(o)?Xt.merge(i,o,r):e[t]=Xt.clone(o)},_mergerIf:function(t,e,n){var r=e[t],i=n[t];Xt.isObject(r)&&Xt.isObject(i)?Xt.mergeIf(r,i):e.hasOwnProperty(t)||(e[t]=Xt.clone(i))},merge:function(t,e,n){var r,i,o,s,a,u=Xt.isArray(e)?e:[e],l=u.length;if(!Xt.isObject(t))return t;for(r=(n=n||{}).merger||Xt._merger,i=0;i<l;++i)if(e=u[i],Xt.isObject(e))for(a=0,s=(o=Object.keys(e)).length;a<s;++a)r(o[a],t,e,n);return t},mergeIf:function(t,e){return Xt.merge(t,e,{merger:Xt._mergerIf})},extend:Object.assign||function(t){return Xt.merge(t,[].slice.call(arguments,1),{merger:function(t,e,n){e[t]=n[t]}})},inherits:function(t){var e=this,n=t&&t.hasOwnProperty("constructor")?t.constructor:function(){return e.apply(this,arguments)},r=function(){this.constructor=n};return r.prototype=e.prototype,n.prototype=new r,n.extend=Xt.inherits,t&&Xt.extend(n.prototype,t),n.__super__=e.prototype,n},_deprecated:function(t,e,n,r){void 0!==e&&console.warn(t+': "'+n+'" is deprecated. Please use "'+r+'" instead')}},Kt=Xt;Xt.callCallback=Xt.callback,Xt.indexOf=function(t,e,n){return Array.prototype.indexOf.call(t,e,n)},Xt.getValueOrDefault=Xt.valueOrDefault,Xt.getValueAtIndexOrDefault=Xt.valueAtIndexOrDefault;var Zt={linear:function(t){return t},easeInQuad:function(t){return t*t},easeOutQuad:function(t){return-t*(t-2)},easeInOutQuad:function(t){return(t/=.5)<1?.5*t*t:-.5*(--t*(t-2)-1)},easeInCubic:function(t){return t*t*t},easeOutCubic:function(t){return(t-=1)*t*t+1},easeInOutCubic:function(t){return(t/=.5)<1?.5*t*t*t:.5*((t-=2)*t*t+2)},easeInQuart:function(t){return t*t*t*t},easeOutQuart:function(t){return-((t-=1)*t*t*t-1)},easeInOutQuart:function(t){return(t/=.5)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2)},easeInQuint:function(t){return t*t*t*t*t},easeOutQuint:function(t){return(t-=1)*t*t*t*t+1},easeInOutQuint:function(t){return(t/=.5)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2)},easeInSine:function(t){return 1-Math.cos(t*(Math.PI/2))},easeOutSine:function(t){return Math.sin(t*(Math.PI/2))},easeInOutSine:function(t){return-.5*(Math.cos(Math.PI*t)-1)},easeInExpo:function(t){return 0===t?0:Math.pow(2,10*(t-1))},easeOutExpo:function(t){return 1===t?1:1-Math.pow(2,-10*t)},easeInOutExpo:function(t){return 0===t?0:1===t?1:(t/=.5)<1?.5*Math.pow(2,10*(t-1)):.5*(2-Math.pow(2,-10*--t))},easeInCirc:function(t){return t>=1?t:-(Math.sqrt(1-t*t)-1)},easeOutCirc:function(t){return Math.sqrt(1-(t-=1)*t)},easeInOutCirc:function(t){return(t/=.5)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},easeInElastic:function(t){var e=1.70158,n=0,r=1;return 0===t?0:1===t?1:(n||(n=.3),r<1?(r=1,e=n/4):e=n/(2*Math.PI)*Math.asin(1/r),-r*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/n))},easeOutElastic:function(t){var e=1.70158,n=0,r=1;return 0===t?0:1===t?1:(n||(n=.3),r<1?(r=1,e=n/4):e=n/(2*Math.PI)*Math.asin(1/r),r*Math.pow(2,-10*t)*Math.sin((t-e)*(2*Math.PI)/n)+1)},easeInOutElastic:function(t){var e=1.70158,n=0,r=1;return 0===t?0:2==(t/=.5)?1:(n||(n=.45),r<1?(r=1,e=n/4):e=n/(2*Math.PI)*Math.asin(1/r),t<1?r*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/n)*-.5:r*Math.pow(2,-10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/n)*.5+1)},easeInBack:function(t){return t*t*(2.70158*t-1.70158)},easeOutBack:function(t){return(t-=1)*t*(2.70158*t+1.70158)+1},easeInOutBack:function(t){var e=1.70158;return(t/=.5)<1?t*t*((1+(e*=1.525))*t-e)*.5:.5*((t-=2)*t*((1+(e*=1.525))*t+e)+2)},easeInBounce:function(t){return 1-Zt.easeOutBounce(1-t)},easeOutBounce:function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},easeInOutBounce:function(t){return t<.5?.5*Zt.easeInBounce(2*t):.5*Zt.easeOutBounce(2*t-1)+.5}},$t={effects:Zt};Kt.easingEffects=Zt;var Jt=Math.PI,Qt=Jt/180,te=2*Jt,ee=Jt/2,ne=Jt/4,re=2*Jt/3,ie={clear:function(t){t.ctx.clearRect(0,0,t.width,t.height)},roundedRect:function(t,e,n,r,i,o){if(o){var s=Math.min(o,i/2,r/2),a=e+s,u=n+s,l=e+r-s,c=n+i-s;t.moveTo(e,u),a<l&&u<c?(t.arc(a,u,s,-Jt,-ee),t.arc(l,u,s,-ee,0),t.arc(l,c,s,0,ee),t.arc(a,c,s,ee,Jt)):a<l?(t.moveTo(a,n),t.arc(l,u,s,-ee,ee),t.arc(a,u,s,ee,Jt+ee)):u<c?(t.arc(a,u,s,-Jt,0),t.arc(a,c,s,0,Jt)):t.arc(a,u,s,-Jt,Jt),t.closePath(),t.moveTo(e,n)}else t.rect(e,n,r,i)},drawPoint:function(t,e,n,r,i,o){var s,a,u,l,c,d=(o||0)*Qt;if(e&&"object"==typeof e&&("[object HTMLImageElement]"===(s=e.toString())||"[object HTMLCanvasElement]"===s))return t.save(),t.translate(r,i),t.rotate(d),t.drawImage(e,-e.width/2,-e.height/2,e.width,e.height),void t.restore();if(!(isNaN(n)||n<=0)){switch(t.beginPath(),e){default:t.arc(r,i,n,0,te),t.closePath();break;case"triangle":t.moveTo(r+Math.sin(d)*n,i-Math.cos(d)*n),d+=re,t.lineTo(r+Math.sin(d)*n,i-Math.cos(d)*n),d+=re,t.lineTo(r+Math.sin(d)*n,i-Math.cos(d)*n),t.closePath();break;case"rectRounded":l=n-(c=.516*n),a=Math.cos(d+ne)*l,u=Math.sin(d+ne)*l,t.arc(r-a,i-u,c,d-Jt,d-ee),t.arc(r+u,i-a,c,d-ee,d),t.arc(r+a,i+u,c,d,d+ee),t.arc(r-u,i+a,c,d+ee,d+Jt),t.closePath();break;case"rect":if(!o){l=Math.SQRT1_2*n,t.rect(r-l,i-l,2*l,2*l);break}d+=ne;case"rectRot":a=Math.cos(d)*n,u=Math.sin(d)*n,t.moveTo(r-a,i-u),t.lineTo(r+u,i-a),t.lineTo(r+a,i+u),t.lineTo(r-u,i+a),t.closePath();break;case"crossRot":d+=ne;case"cross":a=Math.cos(d)*n,u=Math.sin(d)*n,t.moveTo(r-a,i-u),t.lineTo(r+a,i+u),t.moveTo(r+u,i-a),t.lineTo(r-u,i+a);break;case"star":a=Math.cos(d)*n,u=Math.sin(d)*n,t.moveTo(r-a,i-u),t.lineTo(r+a,i+u),t.moveTo(r+u,i-a),t.lineTo(r-u,i+a),d+=ne,a=Math.cos(d)*n,u=Math.sin(d)*n,t.moveTo(r-a,i-u),t.lineTo(r+a,i+u),t.moveTo(r+u,i-a),t.lineTo(r-u,i+a);break;case"line":a=Math.cos(d)*n,u=Math.sin(d)*n,t.moveTo(r-a,i-u),t.lineTo(r+a,i+u);break;case"dash":t.moveTo(r,i),t.lineTo(r+Math.cos(d)*n,i+Math.sin(d)*n)}t.fill(),t.stroke()}},_isPointInArea:function(t,e){return t.x>e.left-1e-6&&t.x<e.right+1e-6&&t.y>e.top-1e-6&&t.y<e.bottom+1e-6},clipArea:function(t,e){t.save(),t.beginPath(),t.rect(e.left,e.top,e.right-e.left,e.bottom-e.top),t.clip()},unclipArea:function(t){t.restore()},lineTo:function(t,e,n,r){var i=n.steppedLine;if(i){if("middle"===i){var o=(e.x+n.x)/2;t.lineTo(o,r?n.y:e.y),t.lineTo(o,r?e.y:n.y)}else"after"===i&&!r||"after"!==i&&r?t.lineTo(e.x,n.y):t.lineTo(n.x,e.y);t.lineTo(n.x,n.y)}else n.tension?t.bezierCurveTo(r?e.controlPointPreviousX:e.controlPointNextX,r?e.controlPointPreviousY:e.controlPointNextY,r?n.controlPointNextX:n.controlPointPreviousX,r?n.controlPointNextY:n.controlPointPreviousY,n.x,n.y):t.lineTo(n.x,n.y)}},oe=ie;Kt.clear=ie.clear,Kt.drawRoundedRectangle=function(t){t.beginPath(),ie.roundedRect.apply(ie,arguments)};var se={_set:function(t,e){return Kt.merge(this[t]||(this[t]={}),e)}};se._set("global",{defaultColor:"rgba(0,0,0,0.1)",defaultFontColor:"#666",defaultFontFamily:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",defaultFontSize:12,defaultFontStyle:"normal",defaultLineHeight:1.2,showLines:!0});var ae=se,ue=Kt.valueOrDefault,le={toLineHeight:function(t,e){var n=(""+t).match(/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/);if(!n||"normal"===n[1])return 1.2*e;switch(t=+n[2],n[3]){case"px":return t;case"%":t/=100}return e*t},toPadding:function(t){var e,n,r,i;return Kt.isObject(t)?(e=+t.top||0,n=+t.right||0,r=+t.bottom||0,i=+t.left||0):e=n=r=i=+t||0,{top:e,right:n,bottom:r,left:i,height:e+r,width:i+n}},_parseFont:function(t){var e=ae.global,n=ue(t.fontSize,e.defaultFontSize),r={family:ue(t.fontFamily,e.defaultFontFamily),lineHeight:Kt.options.toLineHeight(ue(t.lineHeight,e.defaultLineHeight),n),size:n,style:ue(t.fontStyle,e.defaultFontStyle),weight:null,string:""};return r.string=function(t){return!t||Kt.isNullOrUndef(t.size)||Kt.isNullOrUndef(t.family)?null:(t.style?t.style+" ":"")+(t.weight?t.weight+" ":"")+t.size+"px "+t.family}(r),r},resolve:function(t,e,n,r){var i,o,s,a=!0;for(i=0,o=t.length;i<o;++i)if(void 0!==(s=t[i])&&(void 0!==e&&"function"==typeof s&&(s=s(e),a=!1),void 0!==n&&Kt.isArray(s)&&(s=s[n],a=!1),void 0!==s))return r&&!a&&(r.cacheable=!1),s}},ce={_factorize:function(t){var e,n=[],r=Math.sqrt(t);for(e=1;e<r;e++)t%e==0&&(n.push(e),n.push(t/e));return r===(0|r)&&n.push(r),n.sort(function(t,e){return t-e}).pop(),n},log10:Math.log10||function(t){var e=Math.log(t)*Math.LOG10E,n=Math.round(e);return t===Math.pow(10,n)?n:e}},de=ce;Kt.log10=ce.log10;var he=Kt,fe=oe,pe=le,me=de,_e={getRtlAdapter:function(t,e,n){return t?function(t,e){return{x:function(n){return t+t+e-n},setWidth:function(t){e=t},textAlign:function(t){return"center"===t?t:"right"===t?"left":"right"},xPlus:function(t,e){return t-e},leftForLtr:function(t,e){return t-e}}}(e,n):{x:function(t){return t},setWidth:function(t){},textAlign:function(t){return t},xPlus:function(t,e){return t+e},leftForLtr:function(t,e){return t}}},overrideTextDirection:function(t,e){var n,r;"ltr"!==e&&"rtl"!==e||(r=[(n=t.canvas.style).getPropertyValue("direction"),n.getPropertyPriority("direction")],n.setProperty("direction",e,"important"),t.prevTextDirection=r)},restoreTextDirection:function(t){var e=t.prevTextDirection;void 0!==e&&(delete t.prevTextDirection,t.canvas.style.setProperty("direction",e[0],e[1]))}};he.easing=$t,he.canvas=fe,he.options=pe,he.math=me,he.rtl=_e;var ge=function(t){he.extend(this,t),this.initialize.apply(this,arguments)};he.extend(ge.prototype,{_type:void 0,initialize:function(){this.hidden=!1},pivot:function(){return this._view||(this._view=he.extend({},this._model)),this._start={},this},transition:function(t){var e=this._model,n=this._start,r=this._view;return e&&1!==t?(r||(r=this._view={}),n||(n=this._start={}),function(t,e,n,r){var i,o,s,a,u,l,c,d,h,f=Object.keys(n);for(i=0,o=f.length;i<o;++i)if(s=f[i],l=n[s],e.hasOwnProperty(s)||(e[s]=l),(a=e[s])!==l&&"_"!==s[0]){if(t.hasOwnProperty(s)||(t[s]=a),u=t[s],(c=typeof l)==typeof u)if("string"===c){if((d=Gt(u)).valid&&(h=Gt(l)).valid){e[s]=h.mix(d,r).rgbString();continue}}else if(he.isFinite(u)&&he.isFinite(l)){e[s]=u+(l-u)*r;continue}e[s]=l}}(n,r,e,t),this):(this._view=he.extend({},e),this._start=null,this)},tooltipPosition:function(){return{x:this._model.x,y:this._model.y}},hasValue:function(){return he.isNumber(this._model.x)&&he.isNumber(this._model.y)}}),ge.extend=he.inherits;var ve=ge,ye=ve.extend({chart:null,currentStep:0,numSteps:60,easing:"",render:null,onAnimationProgress:null,onAnimationComplete:null}),be=ye;Object.defineProperty(ye.prototype,"animationObject",{get:function(){return this}}),Object.defineProperty(ye.prototype,"chartInstance",{get:function(){return this.chart},set:function(t){this.chart=t}}),ae._set("global",{animation:{duration:1e3,easing:"easeOutQuart",onProgress:he.noop,onComplete:he.noop}});var we={animations:[],request:null,addAnimation:function(t,e,n,r){var i,o,s=this.animations;for(e.chart=t,e.startTime=Date.now(),e.duration=n,r||(t.animating=!0),i=0,o=s.length;i<o;++i)if(s[i].chart===t)return void(s[i]=e);s.push(e),1===s.length&&this.requestAnimationFrame()},cancelAnimation:function(t){var e=he.findIndex(this.animations,function(e){return e.chart===t});-1!==e&&(this.animations.splice(e,1),t.animating=!1)},requestAnimationFrame:function(){var t=this;null===t.request&&(t.request=he.requestAnimFrame.call(window,function(){t.request=null,t.startDigest()}))},startDigest:function(){this.advance(),this.animations.length>0&&this.requestAnimationFrame()},advance:function(){for(var t,e,n,r,i=this.animations,o=0;o<i.length;)e=(t=i[o]).chart,n=t.numSteps,r=Math.floor((Date.now()-t.startTime)/t.duration*n)+1,t.currentStep=Math.min(r,n),he.callback(t.render,[e,t],e),he.callback(t.onAnimationProgress,[t],e),t.currentStep>=n?(he.callback(t.onAnimationComplete,[t],e),e.animating=!1,i.splice(o,1)):++o}},Se=he.options.resolve,Te=["push","pop","shift","splice","unshift"],Ee=function(t,e){this.initialize(t,e)};he.extend(Ee.prototype,{datasetElementType:null,dataElementType:null,_datasetElementOptions:["backgroundColor","borderCapStyle","borderColor","borderDash","borderDashOffset","borderJoinStyle","borderWidth"],_dataElementOptions:["backgroundColor","borderColor","borderWidth","pointStyle"],initialize:function(t,e){this.chart=t,this.index=e,this.linkScales(),this.addElements(),this._type=this.getMeta().type},updateIndex:function(t){this.index=t},linkScales:function(){var t=this.getMeta(),e=this.chart,n=e.scales,r=this.getDataset(),i=e.options.scales;null!==t.xAxisID&&t.xAxisID in n&&!r.xAxisID||(t.xAxisID=r.xAxisID||i.xAxes[0].id),null!==t.yAxisID&&t.yAxisID in n&&!r.yAxisID||(t.yAxisID=r.yAxisID||i.yAxes[0].id)},getDataset:function(){return this.chart.data.datasets[this.index]},getMeta:function(){return this.chart.getDatasetMeta(this.index)},getScaleForId:function(t){return this.chart.scales[t]},_getValueScaleId:function(){return this.getMeta().yAxisID},_getIndexScaleId:function(){return this.getMeta().xAxisID},_getValueScale:function(){return this.getScaleForId(this._getValueScaleId())},_getIndexScale:function(){return this.getScaleForId(this._getIndexScaleId())},reset:function(){this._update(!0)},destroy:function(){this._data&&h(this._data,this)},createMetaDataset:function(){var t=this.datasetElementType;return t&&new t({_chart:this.chart,_datasetIndex:this.index})},createMetaData:function(t){var e=this.dataElementType;return e&&new e({_chart:this.chart,_datasetIndex:this.index,_index:t})},addElements:function(){var t,e,n=this.getMeta(),r=this.getDataset().data||[],i=n.data;for(t=0,e=r.length;t<e;++t)i[t]=i[t]||this.createMetaData(t);n.dataset=n.dataset||this.createMetaDataset()},addElementAndReset:function(t){var e=this.createMetaData(t);this.getMeta().data.splice(t,0,e),this.updateElement(e,t,!0)},buildOrUpdateElements:function(){var t=this.getDataset(),e=t.data||(t.data=[]);this._data!==e&&(this._data&&h(this._data,this),e&&Object.isExtensible(e)&&function(t,e){t._chartjs?t._chartjs.listeners.push(e):(Object.defineProperty(t,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[e]}}),Te.forEach(function(e){var n="onData"+e.charAt(0).toUpperCase()+e.slice(1),r=t[e];Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value:function(){var e=Array.prototype.slice.call(arguments),i=r.apply(this,e);return he.each(t._chartjs.listeners,function(t){"function"==typeof t[n]&&t[n].apply(t,e)}),i}})}))}(e,this),this._data=e),this.resyncElements()},_configure:function(){this._config=he.merge({},[this.chart.options.datasets[this._type],this.getDataset()],{merger:function(t,e,n){"_meta"!==t&&"data"!==t&&he._merger(t,e,n)}})},_update:function(t){this._configure(),this._cachedDataOpts=null,this.update(t)},update:he.noop,transition:function(t){for(var e=this.getMeta(),n=e.data||[],r=n.length,i=0;i<r;++i)n[i].transition(t);e.dataset&&e.dataset.transition(t)},draw:function(){var t=this.getMeta(),e=t.data||[],n=e.length,r=0;for(t.dataset&&t.dataset.draw();r<n;++r)e[r].draw()},getStyle:function(t){var e,n=this.getMeta(),r=n.dataset;return this._configure(),!1!==(e=r&&void 0===t?this._resolveDatasetElementOptions(r||{}):this._resolveDataElementOptions(n.data[t=t||0]||{},t)).fill&&null!==e.fill||(e.backgroundColor=e.borderColor),e},_resolveDatasetElementOptions:function(t,e){var n,r,i,o,s=this.chart,a=this._config,u=t.custom||{},l=s.options.elements[this.datasetElementType.prototype._type]||{},c=this._datasetElementOptions,d={},h={chart:s,dataset:this.getDataset(),datasetIndex:this.index,hover:e};for(n=0,r=c.length;n<r;++n)i=c[n],o=e?"hover"+i.charAt(0).toUpperCase()+i.slice(1):i,d[i]=Se([u[o],a[o],l[o]],h);return d},_resolveDataElementOptions:function(t,e){var n=t&&t.custom,r=this._cachedDataOpts;if(r&&!n)return r;var i,o,s,a,u=this.chart,l=this._config,c=u.options.elements[this.dataElementType.prototype._type]||{},d=this._dataElementOptions,h={},f={chart:u,dataIndex:e,dataset:this.getDataset(),datasetIndex:this.index},p={cacheable:!n};if(n=n||{},he.isArray(d))for(o=0,s=d.length;o<s;++o)h[a=d[o]]=Se([n[a],l[a],c[a]],f,e,p);else for(o=0,s=(i=Object.keys(d)).length;o<s;++o)h[a=i[o]]=Se([n[a],l[d[a]],l[a],c[a]],f,e,p);return p.cacheable&&(this._cachedDataOpts=Object.freeze(h)),h},removeHoverStyle:function(t){he.merge(t._model,t.$previousStyle||{}),delete t.$previousStyle},setHoverStyle:function(t){var e=this.chart.data.datasets[t._datasetIndex],n=t._index,r=t.custom||{},i=t._model,o=he.getHoverColor;t.$previousStyle={backgroundColor:i.backgroundColor,borderColor:i.borderColor,borderWidth:i.borderWidth},i.backgroundColor=Se([r.hoverBackgroundColor,e.hoverBackgroundColor,o(i.backgroundColor)],void 0,n),i.borderColor=Se([r.hoverBorderColor,e.hoverBorderColor,o(i.borderColor)],void 0,n),i.borderWidth=Se([r.hoverBorderWidth,e.hoverBorderWidth,i.borderWidth],void 0,n)},_removeDatasetHoverStyle:function(){var t=this.getMeta().dataset;t&&this.removeHoverStyle(t)},_setDatasetHoverStyle:function(){var t,e,n,r,i,o,s=this.getMeta().dataset,a={};if(s){for(o=s._model,i=this._resolveDatasetElementOptions(s,!0),t=0,e=(r=Object.keys(i)).length;t<e;++t)a[n=r[t]]=o[n],o[n]=i[n];s.$previousStyle=a}},resyncElements:function(){var t=this.getMeta(),e=this.getDataset().data,n=t.data.length,r=e.length;r<n?t.data.splice(r,n-r):r>n&&this.insertElements(n,r-n)},insertElements:function(t,e){for(var n=0;n<e;++n)this.addElementAndReset(t+n)},onDataPush:function(){var t=arguments.length;this.insertElements(this.getDataset().data.length-t,t)},onDataPop:function(){this.getMeta().data.pop()},onDataShift:function(){this.getMeta().data.shift()},onDataSplice:function(t,e){this.getMeta().data.splice(t,e),this.insertElements(t,arguments.length-2)},onDataUnshift:function(){this.insertElements(0,arguments.length)}}),Ee.extend=he.inherits;var Me=Ee,xe=2*Math.PI;ae._set("global",{elements:{arc:{backgroundColor:ae.global.defaultColor,borderColor:"#fff",borderWidth:2,borderAlign:"center"}}});var Ce=ve.extend({_type:"arc",inLabelRange:function(t){var e=this._view;return!!e&&Math.pow(t-e.x,2)<Math.pow(e.radius+e.hoverRadius,2)},inRange:function(t,e){var n=this._view;if(n){for(var r=he.getAngleFromPoint(n,{x:t,y:e}),i=r.angle,o=r.distance,s=n.startAngle,a=n.endAngle;a<s;)a+=xe;for(;i>a;)i-=xe;for(;i<s;)i+=xe;return i>=s&&i<=a&&(o>=n.innerRadius&&o<=n.outerRadius)}return!1},getCenterPoint:function(){var t=this._view,e=(t.startAngle+t.endAngle)/2,n=(t.innerRadius+t.outerRadius)/2;return{x:t.x+Math.cos(e)*n,y:t.y+Math.sin(e)*n}},getArea:function(){var t=this._view;return Math.PI*((t.endAngle-t.startAngle)/(2*Math.PI))*(Math.pow(t.outerRadius,2)-Math.pow(t.innerRadius,2))},tooltipPosition:function(){var t=this._view,e=t.startAngle+(t.endAngle-t.startAngle)/2,n=(t.outerRadius-t.innerRadius)/2+t.innerRadius;return{x:t.x+Math.cos(e)*n,y:t.y+Math.sin(e)*n}},draw:function(){var t,e=this._chart.ctx,n=this._view,r="inner"===n.borderAlign?.33:0,i={x:n.x,y:n.y,innerRadius:n.innerRadius,outerRadius:Math.max(n.outerRadius-r,0),pixelMargin:r,startAngle:n.startAngle,endAngle:n.endAngle,fullCircles:Math.floor(n.circumference/xe)};if(e.save(),e.fillStyle=n.backgroundColor,e.strokeStyle=n.borderColor,i.fullCircles){for(i.endAngle=i.startAngle+xe,e.beginPath(),e.arc(i.x,i.y,i.outerRadius,i.startAngle,i.endAngle),e.arc(i.x,i.y,i.innerRadius,i.endAngle,i.startAngle,!0),e.closePath(),t=0;t<i.fullCircles;++t)e.fill();i.endAngle=i.startAngle+n.circumference%xe}e.beginPath(),e.arc(i.x,i.y,i.outerRadius,i.startAngle,i.endAngle),e.arc(i.x,i.y,i.innerRadius,i.endAngle,i.startAngle,!0),e.closePath(),e.fill(),n.borderWidth&&p(e,n,i),e.restore()}}),Oe=he.valueOrDefault,De=ae.global.defaultColor;ae._set("global",{elements:{line:{tension:.4,backgroundColor:De,borderWidth:3,borderColor:De,borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",capBezierPoints:!0,fill:!0}}});var ke=ve.extend({_type:"line",draw:function(){var t,e,n,r=this._view,i=this._chart.ctx,o=r.spanGaps,s=this._children.slice(),a=ae.global,u=a.elements.line,l=-1,c=this._loop;if(s.length){if(this._loop){for(t=0;t<s.length;++t)if(e=he.previousItem(s,t),!s[t]._view.skip&&e._view.skip){s=s.slice(t).concat(s.slice(0,t)),c=o;break}c&&s.push(s[0])}for(i.save(),i.lineCap=r.borderCapStyle||u.borderCapStyle,i.setLineDash&&i.setLineDash(r.borderDash||u.borderDash),i.lineDashOffset=Oe(r.borderDashOffset,u.borderDashOffset),i.lineJoin=r.borderJoinStyle||u.borderJoinStyle,i.lineWidth=Oe(r.borderWidth,u.borderWidth),i.strokeStyle=r.borderColor||a.defaultColor,i.beginPath(),(n=s[0]._view).skip||(i.moveTo(n.x,n.y),l=0),t=1;t<s.length;++t)n=s[t]._view,e=-1===l?he.previousItem(s,t):s[l],n.skip||(l!==t-1&&!o||-1===l?i.moveTo(n.x,n.y):he.canvas.lineTo(i,e._view,n),l=t);c&&i.closePath(),i.stroke(),i.restore()}}}),Le=he.valueOrDefault,Ae=ae.global.defaultColor;ae._set("global",{elements:{point:{radius:3,pointStyle:"circle",backgroundColor:Ae,borderColor:Ae,borderWidth:1,hitRadius:1,hoverRadius:4,hoverBorderWidth:1}}});var Ie=ve.extend({_type:"point",inRange:function(t,e){var n=this._view;return!!n&&Math.pow(t-n.x,2)+Math.pow(e-n.y,2)<Math.pow(n.hitRadius+n.radius,2)},inLabelRange:m,inXRange:m,inYRange:function(t){var e=this._view;return!!e&&Math.abs(t-e.y)<e.radius+e.hitRadius},getCenterPoint:function(){var t=this._view;return{x:t.x,y:t.y}},getArea:function(){return Math.PI*Math.pow(this._view.radius,2)},tooltipPosition:function(){var t=this._view;return{x:t.x,y:t.y,padding:t.radius+t.borderWidth}},draw:function(t){var e=this._view,n=this._chart.ctx,r=e.pointStyle,i=e.rotation,o=e.radius,s=e.x,a=e.y,u=ae.global,l=u.defaultColor;e.skip||(void 0===t||he.canvas._isPointInArea(e,t))&&(n.strokeStyle=e.borderColor||l,n.lineWidth=Le(e.borderWidth,u.elements.point.borderWidth),n.fillStyle=e.backgroundColor||l,he.canvas.drawPoint(n,r,o,s,a,i))}}),Pe=ae.global.defaultColor;ae._set("global",{elements:{rectangle:{backgroundColor:Pe,borderColor:Pe,borderSkipped:"bottom",borderWidth:0}}});var Re={},Ne=ke,je=Ie,Ye=ve.extend({_type:"rectangle",draw:function(){var t=this._chart.ctx,e=this._view,n=function(t){var e=g(t),n=e.right-e.left,r=e.bottom-e.top,i=y(t,n/2,r/2);return{outer:{x:e.left,y:e.top,w:n,h:r},inner:{x:e.left+i.l,y:e.top+i.t,w:n-i.l-i.r,h:r-i.t-i.b}}}(e),r=n.outer,i=n.inner;t.fillStyle=e.backgroundColor,t.fillRect(r.x,r.y,r.w,r.h),r.w===i.w&&r.h===i.h||(t.save(),t.beginPath(),t.rect(r.x,r.y,r.w,r.h),t.clip(),t.fillStyle=e.borderColor,t.rect(i.x,i.y,i.w,i.h),t.fill("evenodd"),t.restore())},height:function(){var t=this._view;return t.base-t.y},inRange:function(t,e){return b(this._view,t,e)},inLabelRange:function(t,e){var n=this._view;return _(n)?b(n,t,null):b(n,null,e)},inXRange:function(t){return b(this._view,t,null)},inYRange:function(t){return b(this._view,null,t)},getCenterPoint:function(){var t,e,n=this._view;return _(n)?(t=n.x,e=(n.y+n.base)/2):(t=(n.x+n.base)/2,e=n.y),{x:t,y:e}},getArea:function(){var t=this._view;return _(t)?t.width*Math.abs(t.y-t.base):t.height*Math.abs(t.x-t.base)},tooltipPosition:function(){var t=this._view;return{x:t.x,y:t.y}}});Re.Arc=Ce,Re.Line=Ne,Re.Point=je,Re.Rectangle=Ye;var Fe=he._deprecated,He=he.valueOrDefault;ae._set("bar",{hover:{mode:"label"},scales:{xAxes:[{type:"category",offset:!0,gridLines:{offsetGridLines:!0}}],yAxes:[{type:"linear"}]}}),ae._set("global",{datasets:{bar:{categoryPercentage:.8,barPercentage:.9}}});var Be=Me.extend({dataElementType:Re.Rectangle,_dataElementOptions:["backgroundColor","borderColor","borderSkipped","borderWidth","barPercentage","barThickness","categoryPercentage","maxBarThickness","minBarLength"],initialize:function(){var t,e;Me.prototype.initialize.apply(this,arguments),(t=this.getMeta()).stack=this.getDataset().stack,t.bar=!0,e=this._getIndexScale().options,Fe("bar chart",e.barPercentage,"scales.[x/y]Axes.barPercentage","dataset.barPercentage"),Fe("bar chart",e.barThickness,"scales.[x/y]Axes.barThickness","dataset.barThickness"),Fe("bar chart",e.categoryPercentage,"scales.[x/y]Axes.categoryPercentage","dataset.categoryPercentage"),Fe("bar chart",this._getValueScale().options.minBarLength,"scales.[x/y]Axes.minBarLength","dataset.minBarLength"),Fe("bar chart",e.maxBarThickness,"scales.[x/y]Axes.maxBarThickness","dataset.maxBarThickness")},update:function(t){var e,n,r=this.getMeta().data;for(this._ruler=this.getRuler(),e=0,n=r.length;e<n;++e)this.updateElement(r[e],e,t)},updateElement:function(t,e,n){var r=this.getMeta(),i=this.getDataset(),o=this._resolveDataElementOptions(t,e);t._xScale=this.getScaleForId(r.xAxisID),t._yScale=this.getScaleForId(r.yAxisID),t._datasetIndex=this.index,t._index=e,t._model={backgroundColor:o.backgroundColor,borderColor:o.borderColor,borderSkipped:o.borderSkipped,borderWidth:o.borderWidth,datasetLabel:i.label,label:this.chart.data.labels[e]},he.isArray(i.data[e])&&(t._model.borderSkipped=null),this._updateElementGeometry(t,e,n,o),t.pivot()},_updateElementGeometry:function(t,e,n,r){var i=t._model,o=this._getValueScale(),s=o.getBasePixel(),a=o.isHorizontal(),u=this._ruler||this.getRuler(),l=this.calculateBarValuePixels(this.index,e,r),c=this.calculateBarIndexPixels(this.index,e,u,r);i.horizontal=a,i.base=n?s:l.base,i.x=a?n?s:l.head:c.center,i.y=a?c.center:n?s:l.head,i.height=a?c.size:void 0,i.width=a?void 0:c.size},_getStacks:function(t){var e,n,r=this._getIndexScale(),i=r._getMatchingVisibleMetas(this._type),o=r.options.stacked,s=i.length,a=[];for(e=0;e<s&&(n=i[e],(!1===o||-1===a.indexOf(n.stack)||void 0===o&&void 0===n.stack)&&a.push(n.stack),n.index!==t);++e);return a},getStackCount:function(){return this._getStacks().length},getStackIndex:function(t,e){var n=this._getStacks(t),r=void 0!==e?n.indexOf(e):-1;return-1===r?n.length-1:r},getRuler:function(){var t,e,n=this._getIndexScale(),r=[];for(t=0,e=this.getMeta().data.length;t<e;++t)r.push(n.getPixelForValue(null,t,this.index));return{pixels:r,start:n._startPixel,end:n._endPixel,stackCount:this.getStackCount(),scale:n}},calculateBarValuePixels:function(t,e,n){var r,i,o,s,a,u,l,c=this.chart,d=this._getValueScale(),h=d.isHorizontal(),f=c.data.datasets,p=d._getMatchingVisibleMetas(this._type),m=d._parseValue(f[t].data[e]),_=n.minBarLength,g=d.options.stacked,v=this.getMeta().stack,y=void 0===m.start?0:m.max>=0&&m.min>=0?m.min:m.max,b=void 0===m.start?m.end:m.max>=0&&m.min>=0?m.max-m.min:m.min-m.max,w=p.length;if(g||void 0===g&&void 0!==v)for(r=0;r<w&&(i=p[r]).index!==t;++r)i.stack===v&&(o=void 0===(l=d._parseValue(f[i.index].data[e])).start?l.end:l.min>=0&&l.max>=0?l.max:l.min,(m.min<0&&o<0||m.max>=0&&o>0)&&(y+=o));return s=d.getPixelForValue(y),a=d.getPixelForValue(y+b),u=a-s,void 0!==_&&Math.abs(u)<_&&(u=_,a=b>=0&&!h||b<0&&h?s-_:s+_),{size:u,base:s,head:a,center:a+u/2}},calculateBarIndexPixels:function(t,e,n,r){var i="flex"===r.barThickness?function(t,e,n){var r,i,o=e.pixels,s=o[t],a=t>0?o[t-1]:null,u=t<o.length-1?o[t+1]:null,l=n.categoryPercentage;return null===a&&(a=s-(null===u?e.end-e.start:u-s)),null===u&&(u=s+s-a),r=s-(s-Math.min(a,u))/2*l,i=Math.abs(u-a)/2*l,{chunk:i/e.stackCount,ratio:n.barPercentage,start:r}}(e,n,r):w(e,n,r),o=this.getStackIndex(t,this.getMeta().stack),s=i.start+i.chunk*o+i.chunk/2,a=Math.min(He(r.maxBarThickness,1/0),i.chunk*i.ratio);return{base:s-a/2,head:s+a/2,center:s,size:a}},draw:function(){var t=this.chart,e=this._getValueScale(),n=this.getMeta().data,r=this.getDataset(),i=n.length,o=0;for(he.canvas.clipArea(t.ctx,t.chartArea);o<i;++o){var s=e._parseValue(r.data[o]);isNaN(s.min)||isNaN(s.max)||n[o].draw()}he.canvas.unclipArea(t.ctx)},_resolveDataElementOptions:function(){var t=he.extend({},Me.prototype._resolveDataElementOptions.apply(this,arguments)),e=this._getIndexScale().options,n=this._getValueScale().options;return t.barPercentage=He(e.barPercentage,t.barPercentage),t.barThickness=He(e.barThickness,t.barThickness),t.categoryPercentage=He(e.categoryPercentage,t.categoryPercentage),t.maxBarThickness=He(e.maxBarThickness,t.maxBarThickness),t.minBarLength=He(n.minBarLength,t.minBarLength),t}}),Ve=he.valueOrDefault,ze=he.options.resolve;ae._set("bubble",{hover:{mode:"single"},scales:{xAxes:[{type:"linear",position:"bottom",id:"x-axis-0"}],yAxes:[{type:"linear",position:"left",id:"y-axis-0"}]},tooltips:{callbacks:{title:function(){return""},label:function(t,e){return(e.datasets[t.datasetIndex].label||"")+": ("+t.xLabel+", "+t.yLabel+", "+e.datasets[t.datasetIndex].data[t.index].r+")"}}}});var We=Me.extend({dataElementType:Re.Point,_dataElementOptions:["backgroundColor","borderColor","borderWidth","hoverBackgroundColor","hoverBorderColor","hoverBorderWidth","hoverRadius","hitRadius","pointStyle","rotation"],update:function(t){var e=this,n=e.getMeta();he.each(n.data,function(n,r){e.updateElement(n,r,t)})},updateElement:function(t,e,n){var r=this.getMeta(),i=t.custom||{},o=this.getScaleForId(r.xAxisID),s=this.getScaleForId(r.yAxisID),a=this._resolveDataElementOptions(t,e),u=this.getDataset().data[e],l=this.index,c=n?o.getPixelForDecimal(.5):o.getPixelForValue("object"==typeof u?u:NaN,e,l),d=n?s.getBasePixel():s.getPixelForValue(u,e,l);t._xScale=o,t._yScale=s,t._options=a,t._datasetIndex=l,t._index=e,t._model={backgroundColor:a.backgroundColor,borderColor:a.borderColor,borderWidth:a.borderWidth,hitRadius:a.hitRadius,pointStyle:a.pointStyle,rotation:a.rotation,radius:n?0:a.radius,skip:i.skip||isNaN(c)||isNaN(d),x:c,y:d},t.pivot()},setHoverStyle:function(t){var e=t._model,n=t._options,r=he.getHoverColor;t.$previousStyle={backgroundColor:e.backgroundColor,borderColor:e.borderColor,borderWidth:e.borderWidth,radius:e.radius},e.backgroundColor=Ve(n.hoverBackgroundColor,r(n.backgroundColor)),e.borderColor=Ve(n.hoverBorderColor,r(n.borderColor)),e.borderWidth=Ve(n.hoverBorderWidth,n.borderWidth),e.radius=n.radius+n.hoverRadius},_resolveDataElementOptions:function(t,e){var n=this.chart,r=this.getDataset(),i=t.custom||{},o=r.data[e]||{},s=Me.prototype._resolveDataElementOptions.apply(this,arguments),a={chart:n,dataIndex:e,dataset:r,datasetIndex:this.index};return this._cachedDataOpts===s&&(s=he.extend({},s)),s.radius=ze([i.radius,o.r,this._config.radius,n.options.elements.point.radius],a,e),s}}),Ue=he.valueOrDefault,qe=Math.PI,Ge=2*qe,Xe=qe/2;ae._set("doughnut",{animation:{animateRotate:!0,animateScale:!1},hover:{mode:"single"},legendCallback:function(t){var e,n,r,i=document.createElement("ul"),o=t.data,s=o.datasets,a=o.labels;if(i.setAttribute("class",t.id+"-legend"),s.length)for(e=0,n=s[0].data.length;e<n;++e)(r=i.appendChild(document.createElement("li"))).appendChild(document.createElement("span")).style.backgroundColor=s[0].backgroundColor[e],a[e]&&r.appendChild(document.createTextNode(a[e]));return i.outerHTML},legend:{labels:{generateLabels:function(t){var e=t.data;return e.labels.length&&e.datasets.length?e.labels.map(function(n,r){var i=t.getDatasetMeta(0),o=i.controller.getStyle(r);return{text:n,fillStyle:o.backgroundColor,strokeStyle:o.borderColor,lineWidth:o.borderWidth,hidden:isNaN(e.datasets[0].data[r])||i.data[r].hidden,index:r}}):[]}},onClick:function(t,e){var n,r,i,o=e.index,s=this.chart;for(n=0,r=(s.data.datasets||[]).length;n<r;++n)(i=s.getDatasetMeta(n)).data[o]&&(i.data[o].hidden=!i.data[o].hidden);s.update()}},cutoutPercentage:50,rotation:-Xe,circumference:Ge,tooltips:{callbacks:{title:function(){return""},label:function(t,e){var n=e.labels[t.index],r=": "+e.datasets[t.datasetIndex].data[t.index];return he.isArray(n)?(n=n.slice())[0]+=r:n+=r,n}}}});var Ke=Me.extend({dataElementType:Re.Arc,linkScales:he.noop,_dataElementOptions:["backgroundColor","borderColor","borderWidth","borderAlign","hoverBackgroundColor","hoverBorderColor","hoverBorderWidth"],getRingIndex:function(t){for(var e=0,n=0;n<t;++n)this.chart.isDatasetVisible(n)&&++e;return e},update:function(t){var e,n,r,i,o=this.chart,s=o.chartArea,a=o.options,u=1,l=1,c=0,d=0,h=this.getMeta(),f=h.data,p=a.cutoutPercentage/100||0,m=a.circumference,_=this._getRingWeight(this.index);if(m<Ge){var g=a.rotation%Ge,v=(g+=g>=qe?-Ge:g<-qe?Ge:0)+m,y=Math.cos(g),b=Math.sin(g),w=Math.cos(v),S=Math.sin(v),T=g<=0&&v>=0||v>=Ge,E=g<=Xe&&v>=Xe||v>=Ge+Xe,M=g<=-Xe&&v>=-Xe||v>=qe+Xe,x=g===-qe||v>=qe?-1:Math.min(y,y*p,w,w*p),C=M?-1:Math.min(b,b*p,S,S*p),O=T?1:Math.max(y,y*p,w,w*p),D=E?1:Math.max(b,b*p,S,S*p);u=(O-x)/2,l=(D-C)/2,c=-(O+x)/2,d=-(D+C)/2}for(r=0,i=f.length;r<i;++r)f[r]._options=this._resolveDataElementOptions(f[r],r);for(o.borderWidth=this.getMaxBorderWidth(),e=(s.right-s.left-o.borderWidth)/u,n=(s.bottom-s.top-o.borderWidth)/l,o.outerRadius=Math.max(Math.min(e,n)/2,0),o.innerRadius=Math.max(o.outerRadius*p,0),o.radiusLength=(o.outerRadius-o.innerRadius)/(this._getVisibleDatasetWeightTotal()||1),o.offsetX=c*o.outerRadius,o.offsetY=d*o.outerRadius,h.total=this.calculateTotal(),this.outerRadius=o.outerRadius-o.radiusLength*this._getRingWeightOffset(this.index),this.innerRadius=Math.max(this.outerRadius-o.radiusLength*_,0),r=0,i=f.length;r<i;++r)this.updateElement(f[r],r,t)},updateElement:function(t,e,n){var r=this.chart,i=r.chartArea,o=r.options,s=o.animation,a=(i.left+i.right)/2,u=(i.top+i.bottom)/2,l=o.rotation,c=o.rotation,d=this.getDataset(),h=n&&s.animateRotate?0:t.hidden?0:this.calculateCircumference(d.data[e])*(o.circumference/Ge),f=t._options||{};he.extend(t,{_datasetIndex:this.index,_index:e,_model:{backgroundColor:f.backgroundColor,borderColor:f.borderColor,borderWidth:f.borderWidth,borderAlign:f.borderAlign,x:a+r.offsetX,y:u+r.offsetY,startAngle:l,endAngle:c,circumference:h,outerRadius:n&&s.animateScale?0:this.outerRadius,innerRadius:n&&s.animateScale?0:this.innerRadius,label:he.valueAtIndexOrDefault(d.label,e,r.data.labels[e])}});var p=t._model;n&&s.animateRotate||(p.startAngle=0===e?o.rotation:this.getMeta().data[e-1]._model.endAngle,p.endAngle=p.startAngle+p.circumference),t.pivot()},calculateTotal:function(){var t,e=this.getDataset(),n=this.getMeta(),r=0;return he.each(n.data,function(n,i){t=e.data[i],isNaN(t)||n.hidden||(r+=Math.abs(t))}),r},calculateCircumference:function(t){var e=this.getMeta().total;return e>0&&!isNaN(t)?Ge*(Math.abs(t)/e):0},getMaxBorderWidth:function(t){var e,n,r,i,o,s,a,u,l=0,c=this.chart;if(!t)for(e=0,n=c.data.datasets.length;e<n;++e)if(c.isDatasetVisible(e)){t=(r=c.getDatasetMeta(e)).data,e!==this.index&&(o=r.controller);break}if(!t)return 0;for(e=0,n=t.length;e<n;++e)i=t[e],o?(o._configure(),s=o._resolveDataElementOptions(i,e)):s=i._options,"inner"!==s.borderAlign&&(l=(u=s.hoverBorderWidth)>(l=(a=s.borderWidth)>l?a:l)?u:l);return l},setHoverStyle:function(t){var e=t._model,n=t._options,r=he.getHoverColor;t.$previousStyle={backgroundColor:e.backgroundColor,borderColor:e.borderColor,borderWidth:e.borderWidth},e.backgroundColor=Ue(n.hoverBackgroundColor,r(n.backgroundColor)),e.borderColor=Ue(n.hoverBorderColor,r(n.borderColor)),e.borderWidth=Ue(n.hoverBorderWidth,n.borderWidth)},_getRingWeightOffset:function(t){for(var e=0,n=0;n<t;++n)this.chart.isDatasetVisible(n)&&(e+=this._getRingWeight(n));return e},_getRingWeight:function(t){return Math.max(Ue(this.chart.data.datasets[t].weight,1),0)},_getVisibleDatasetWeightTotal:function(){return this._getRingWeightOffset(this.chart.data.datasets.length)}});ae._set("horizontalBar",{hover:{mode:"index",axis:"y"},scales:{xAxes:[{type:"linear",position:"bottom"}],yAxes:[{type:"category",position:"left",offset:!0,gridLines:{offsetGridLines:!0}}]},elements:{rectangle:{borderSkipped:"left"}},tooltips:{mode:"index",axis:"y"}}),ae._set("global",{datasets:{horizontalBar:{categoryPercentage:.8,barPercentage:.9}}});var Ze=Be.extend({_getValueScaleId:function(){return this.getMeta().xAxisID},_getIndexScaleId:function(){return this.getMeta().yAxisID}}),$e=he.valueOrDefault,Je=he.options.resolve,Qe=he.canvas._isPointInArea;ae._set("line",{showLines:!0,spanGaps:!1,hover:{mode:"label"},scales:{xAxes:[{type:"category",id:"x-axis-0"}],yAxes:[{type:"linear",id:"y-axis-0"}]}});var tn=Me.extend({datasetElementType:Re.Line,dataElementType:Re.Point,_datasetElementOptions:["backgroundColor","borderCapStyle","borderColor","borderDash","borderDashOffset","borderJoinStyle","borderWidth","cubicInterpolationMode","fill"],_dataElementOptions:{backgroundColor:"pointBackgroundColor",borderColor:"pointBorderColor",borderWidth:"pointBorderWidth",hitRadius:"pointHitRadius",hoverBackgroundColor:"pointHoverBackgroundColor",hoverBorderColor:"pointHoverBorderColor",hoverBorderWidth:"pointHoverBorderWidth",hoverRadius:"pointHoverRadius",pointStyle:"pointStyle",radius:"pointRadius",rotation:"pointRotation"},update:function(t){var e,n,r=this.getMeta(),i=r.dataset,o=r.data||[],s=this._config,a=this._showLine=$e(s.showLine,this.chart.options.showLines);for(this._xScale=this.getScaleForId(r.xAxisID),this._yScale=this.getScaleForId(r.yAxisID),a&&(void 0!==s.tension&&void 0===s.lineTension&&(s.lineTension=s.tension),i._scale=this._yScale,i._datasetIndex=this.index,i._children=o,i._model=this._resolveDatasetElementOptions(i),i.pivot()),e=0,n=o.length;e<n;++e)this.updateElement(o[e],e,t);for(a&&0!==i._model.tension&&this.updateBezierControlPoints(),e=0,n=o.length;e<n;++e)o[e].pivot()},updateElement:function(t,e,n){var r,i,o=this.getMeta(),s=t.custom||{},a=this.getDataset(),u=this.index,l=a.data[e],c=this._xScale,d=this._yScale,h=o.dataset._model,f=this._resolveDataElementOptions(t,e);r=c.getPixelForValue("object"==typeof l?l:NaN,e,u),i=n?d.getBasePixel():this.calculatePointY(l,e,u),t._xScale=c,t._yScale=d,t._options=f,t._datasetIndex=u,t._index=e,t._model={x:r,y:i,skip:s.skip||isNaN(r)||isNaN(i),radius:f.radius,pointStyle:f.pointStyle,rotation:f.rotation,backgroundColor:f.backgroundColor,borderColor:f.borderColor,borderWidth:f.borderWidth,tension:$e(s.tension,h?h.tension:0),steppedLine:!!h&&h.steppedLine,hitRadius:f.hitRadius}},_resolveDatasetElementOptions:function(t){var e=this._config,n=t.custom||{},r=this.chart.options,i=r.elements.line,o=Me.prototype._resolveDatasetElementOptions.apply(this,arguments);return o.spanGaps=$e(e.spanGaps,r.spanGaps),o.tension=$e(e.lineTension,i.tension),o.steppedLine=Je([n.steppedLine,e.steppedLine,i.stepped]),o.clip=function(t){var e,n,r,i;return he.isObject(t)?(e=t.top,n=t.right,r=t.bottom,i=t.left):e=n=r=i=t,{top:e,right:n,bottom:r,left:i}}($e(e.clip,function(t,e,n){var r=n/2,i=S(t,r),o=S(e,r);return{top:o.end,right:i.end,bottom:o.start,left:i.start}}(this._xScale,this._yScale,o.borderWidth))),o},calculatePointY:function(t,e,n){var r,i,o,s,a,u,l,c=this.chart,d=this._yScale,h=0,f=0;if(d.options.stacked){for(a=+d.getRightValue(t),l=(u=c._getSortedVisibleDatasetMetas()).length,r=0;r<l&&(o=u[r]).index!==n;++r)i=c.data.datasets[o.index],"line"===o.type&&o.yAxisID===d.id&&((s=+d.getRightValue(i.data[e]))<0?f+=s||0:h+=s||0);return d.getPixelForValue(a<0?f+a:h+a)}return d.getPixelForValue(t)},updateBezierControlPoints:function(){function t(t,e,n){return Math.max(Math.min(t,n),e)}var e,n,r,i,o=this.chart,s=this.getMeta(),a=s.dataset._model,u=o.chartArea,l=s.data||[];if(a.spanGaps&&(l=l.filter(function(t){return!t._model.skip})),"monotone"===a.cubicInterpolationMode)he.splineCurveMonotone(l);else for(e=0,n=l.length;e<n;++e)r=l[e]._model,i=he.splineCurve(he.previousItem(l,e)._model,r,he.nextItem(l,e)._model,a.tension),r.controlPointPreviousX=i.previous.x,r.controlPointPreviousY=i.previous.y,r.controlPointNextX=i.next.x,r.controlPointNextY=i.next.y;if(o.options.elements.line.capBezierPoints)for(e=0,n=l.length;e<n;++e)Qe(r=l[e]._model,u)&&(e>0&&Qe(l[e-1]._model,u)&&(r.controlPointPreviousX=t(r.controlPointPreviousX,u.left,u.right),r.controlPointPreviousY=t(r.controlPointPreviousY,u.top,u.bottom)),e<l.length-1&&Qe(l[e+1]._model,u)&&(r.controlPointNextX=t(r.controlPointNextX,u.left,u.right),r.controlPointNextY=t(r.controlPointNextY,u.top,u.bottom)))},draw:function(){var t,e=this.chart,n=this.getMeta(),r=n.data||[],i=e.chartArea,o=e.canvas,s=0,a=r.length;for(this._showLine&&(he.canvas.clipArea(e.ctx,{left:!1===(t=n.dataset._model.clip).left?0:i.left-t.left,right:!1===t.right?o.width:i.right+t.right,top:!1===t.top?0:i.top-t.top,bottom:!1===t.bottom?o.height:i.bottom+t.bottom}),n.dataset.draw(),he.canvas.unclipArea(e.ctx));s<a;++s)r[s].draw(i)},setHoverStyle:function(t){var e=t._model,n=t._options,r=he.getHoverColor;t.$previousStyle={backgroundColor:e.backgroundColor,borderColor:e.borderColor,borderWidth:e.borderWidth,radius:e.radius},e.backgroundColor=$e(n.hoverBackgroundColor,r(n.backgroundColor)),e.borderColor=$e(n.hoverBorderColor,r(n.borderColor)),e.borderWidth=$e(n.hoverBorderWidth,n.borderWidth),e.radius=$e(n.hoverRadius,n.radius)}}),en=he.options.resolve;ae._set("polarArea",{scale:{type:"radialLinear",angleLines:{display:!1},gridLines:{circular:!0},pointLabels:{display:!1},ticks:{beginAtZero:!0}},animation:{animateRotate:!0,animateScale:!0},startAngle:-.5*Math.PI,legendCallback:function(t){var e,n,r,i=document.createElement("ul"),o=t.data,s=o.datasets,a=o.labels;if(i.setAttribute("class",t.id+"-legend"),s.length)for(e=0,n=s[0].data.length;e<n;++e)(r=i.appendChild(document.createElement("li"))).appendChild(document.createElement("span")).style.backgroundColor=s[0].backgroundColor[e],a[e]&&r.appendChild(document.createTextNode(a[e]));return i.outerHTML},legend:{labels:{generateLabels:function(t){var e=t.data;return e.labels.length&&e.datasets.length?e.labels.map(function(n,r){var i=t.getDatasetMeta(0),o=i.controller.getStyle(r);return{text:n,fillStyle:o.backgroundColor,strokeStyle:o.borderColor,lineWidth:o.borderWidth,hidden:isNaN(e.datasets[0].data[r])||i.data[r].hidden,index:r}}):[]}},onClick:function(t,e){var n,r,i,o=e.index,s=this.chart;for(n=0,r=(s.data.datasets||[]).length;n<r;++n)(i=s.getDatasetMeta(n)).data[o].hidden=!i.data[o].hidden;s.update()}},tooltips:{callbacks:{title:function(){return""},label:function(t,e){return e.labels[t.index]+": "+t.yLabel}}}});var nn=Me.extend({dataElementType:Re.Arc,linkScales:he.noop,_dataElementOptions:["backgroundColor","borderColor","borderWidth","borderAlign","hoverBackgroundColor","hoverBorderColor","hoverBorderWidth"],_getIndexScaleId:function(){return this.chart.scale.id},_getValueScaleId:function(){return this.chart.scale.id},update:function(t){var e,n,r,i=this.getDataset(),o=this.getMeta(),s=this.chart.options.startAngle||0,a=this._starts=[],u=this._angles=[],l=o.data;for(this._updateRadius(),o.count=this.countVisibleElements(),e=0,n=i.data.length;e<n;e++)a[e]=s,r=this._computeAngle(e),u[e]=r,s+=r;for(e=0,n=l.length;e<n;++e)l[e]._options=this._resolveDataElementOptions(l[e],e),this.updateElement(l[e],e,t)},_updateRadius:function(){var t=this.chart,e=t.chartArea,n=t.options,r=Math.min(e.right-e.left,e.bottom-e.top);t.outerRadius=Math.max(r/2,0),t.innerRadius=Math.max(n.cutoutPercentage?t.outerRadius/100*n.cutoutPercentage:1,0),t.radiusLength=(t.outerRadius-t.innerRadius)/t.getVisibleDatasetCount(),this.outerRadius=t.outerRadius-t.radiusLength*this.index,this.innerRadius=this.outerRadius-t.radiusLength},updateElement:function(t,e,n){var r=this.chart,i=this.getDataset(),o=r.options,s=o.animation,a=r.scale,u=r.data.labels,l=a.xCenter,c=a.yCenter,d=o.startAngle,h=t.hidden?0:a.getDistanceFromCenterForValue(i.data[e]),f=this._starts[e],p=f+(t.hidden?0:this._angles[e]),m=s.animateScale?0:a.getDistanceFromCenterForValue(i.data[e]),_=t._options||{};he.extend(t,{_datasetIndex:this.index,_index:e,_scale:a,_model:{backgroundColor:_.backgroundColor,borderColor:_.borderColor,borderWidth:_.borderWidth,borderAlign:_.borderAlign,x:l,y:c,innerRadius:0,outerRadius:n?m:h,startAngle:n&&s.animateRotate?d:f,endAngle:n&&s.animateRotate?d:p,label:he.valueAtIndexOrDefault(u,e,u[e])}}),t.pivot()},countVisibleElements:function(){var t=this.getDataset(),e=this.getMeta(),n=0;return he.each(e.data,function(e,r){isNaN(t.data[r])||e.hidden||n++}),n},setHoverStyle:function(t){var e=t._model,n=t._options,r=he.getHoverColor,i=he.valueOrDefault;t.$previousStyle={backgroundColor:e.backgroundColor,borderColor:e.borderColor,borderWidth:e.borderWidth},e.backgroundColor=i(n.hoverBackgroundColor,r(n.backgroundColor)),e.borderColor=i(n.hoverBorderColor,r(n.borderColor)),e.borderWidth=i(n.hoverBorderWidth,n.borderWidth)},_computeAngle:function(t){var e=this.getMeta().count,n=this.getDataset(),r=this.getMeta();if(isNaN(n.data[t])||r.data[t].hidden)return 0;var i={chart:this.chart,dataIndex:t,dataset:n,datasetIndex:this.index};return en([this.chart.options.elements.arc.angle,2*Math.PI/e],i,t)}});ae._set("pie",he.clone(ae.doughnut)),ae._set("pie",{cutoutPercentage:0});var rn=Ke,on=he.valueOrDefault;ae._set("radar",{spanGaps:!1,scale:{type:"radialLinear"},elements:{line:{fill:"start",tension:0}}});var sn=Me.extend({datasetElementType:Re.Line,dataElementType:Re.Point,linkScales:he.noop,_datasetElementOptions:["backgroundColor","borderWidth","borderColor","borderCapStyle","borderDash","borderDashOffset","borderJoinStyle","fill"],_dataElementOptions:{backgroundColor:"pointBackgroundColor",borderColor:"pointBorderColor",borderWidth:"pointBorderWidth",hitRadius:"pointHitRadius",hoverBackgroundColor:"pointHoverBackgroundColor",hoverBorderColor:"pointHoverBorderColor",hoverBorderWidth:"pointHoverBorderWidth",hoverRadius:"pointHoverRadius",pointStyle:"pointStyle",radius:"pointRadius",rotation:"pointRotation"},_getIndexScaleId:function(){return this.chart.scale.id},_getValueScaleId:function(){return this.chart.scale.id},update:function(t){var e,n,r=this.getMeta(),i=r.dataset,o=r.data||[],s=this.chart.scale,a=this._config;for(void 0!==a.tension&&void 0===a.lineTension&&(a.lineTension=a.tension),i._scale=s,i._datasetIndex=this.index,i._children=o,i._loop=!0,i._model=this._resolveDatasetElementOptions(i),i.pivot(),e=0,n=o.length;e<n;++e)this.updateElement(o[e],e,t);for(this.updateBezierControlPoints(),e=0,n=o.length;e<n;++e)o[e].pivot()},updateElement:function(t,e,n){var r=t.custom||{},i=this.getDataset(),o=this.chart.scale,s=o.getPointPositionForValue(e,i.data[e]),a=this._resolveDataElementOptions(t,e),u=this.getMeta().dataset._model,l=n?o.xCenter:s.x,c=n?o.yCenter:s.y;t._scale=o,t._options=a,t._datasetIndex=this.index,t._index=e,t._model={x:l,y:c,skip:r.skip||isNaN(l)||isNaN(c),radius:a.radius,pointStyle:a.pointStyle,rotation:a.rotation,backgroundColor:a.backgroundColor,borderColor:a.borderColor,borderWidth:a.borderWidth,tension:on(r.tension,u?u.tension:0),hitRadius:a.hitRadius}},_resolveDatasetElementOptions:function(){var t=this._config,e=this.chart.options,n=Me.prototype._resolveDatasetElementOptions.apply(this,arguments);return n.spanGaps=on(t.spanGaps,e.spanGaps),n.tension=on(t.lineTension,e.elements.line.tension),n},updateBezierControlPoints:function(){function t(t,e,n){return Math.max(Math.min(t,n),e)}var e,n,r,i,o=this.getMeta(),s=this.chart.chartArea,a=o.data||[];for(o.dataset._model.spanGaps&&(a=a.filter(function(t){return!t._model.skip})),e=0,n=a.length;e<n;++e)r=a[e]._model,i=he.splineCurve(he.previousItem(a,e,!0)._model,r,he.nextItem(a,e,!0)._model,r.tension),r.controlPointPreviousX=t(i.previous.x,s.left,s.right),r.controlPointPreviousY=t(i.previous.y,s.top,s.bottom),r.controlPointNextX=t(i.next.x,s.left,s.right),r.controlPointNextY=t(i.next.y,s.top,s.bottom)},setHoverStyle:function(t){var e=t._model,n=t._options,r=he.getHoverColor;t.$previousStyle={backgroundColor:e.backgroundColor,borderColor:e.borderColor,borderWidth:e.borderWidth,radius:e.radius},e.backgroundColor=on(n.hoverBackgroundColor,r(n.backgroundColor)),e.borderColor=on(n.hoverBorderColor,r(n.borderColor)),e.borderWidth=on(n.hoverBorderWidth,n.borderWidth),e.radius=on(n.hoverRadius,n.radius)}});ae._set("scatter",{hover:{mode:"single"},scales:{xAxes:[{id:"x-axis-1",type:"linear",position:"bottom"}],yAxes:[{id:"y-axis-1",type:"linear",position:"left"}]},tooltips:{callbacks:{title:function(){return""},label:function(t){return"("+t.xLabel+", "+t.yLabel+")"}}}}),ae._set("global",{datasets:{scatter:{showLine:!1}}});var an={bar:Be,bubble:We,doughnut:Ke,horizontalBar:Ze,line:tn,polarArea:nn,pie:rn,radar:sn,scatter:tn},un={modes:{single:function(t,e){var n=T(e,t),r=[];return E(t,function(t){if(t.inRange(n.x,n.y))return r.push(t),r}),r.slice(0,1)},label:O,index:O,dataset:function(t,e,n){var r=T(e,t);n.axis=n.axis||"xy";var i=C(n.axis),o=n.intersect?M(t,r):x(t,r,!1,i);return o.length>0&&(o=t.getDatasetMeta(o[0]._datasetIndex).data),o},"x-axis":function(t,e){return O(t,e,{intersect:!1})},point:function(t,e){return M(t,T(e,t))},nearest:function(t,e,n){var r=T(e,t);n.axis=n.axis||"xy";var i=C(n.axis);return x(t,r,n.intersect,i)},x:function(t,e,n){var r=T(e,t),i=[],o=!1;return E(t,function(t){t.inXRange(r.x)&&i.push(t),t.inRange(r.x,r.y)&&(o=!0)}),n.intersect&&!o&&(i=[]),i},y:function(t,e,n){var r=T(e,t),i=[],o=!1;return E(t,function(t){t.inYRange(r.y)&&i.push(t),t.inRange(r.x,r.y)&&(o=!0)}),n.intersect&&!o&&(i=[]),i}}},ln=he.extend;ae._set("global",{layout:{padding:{top:0,right:0,bottom:0,left:0}}});var cn={defaults:{},addBox:function(t,e){t.boxes||(t.boxes=[]),e.fullWidth=e.fullWidth||!1,e.position=e.position||"top",e.weight=e.weight||0,e._layers=e._layers||function(){return[{z:0,draw:function(){e.draw.apply(e,arguments)}}]},t.boxes.push(e)},removeBox:function(t,e){var n=t.boxes?t.boxes.indexOf(e):-1;-1!==n&&t.boxes.splice(n,1)},configure:function(t,e,n){for(var r,i=["fullWidth","position","weight"],o=i.length,s=0;s<o;++s)n.hasOwnProperty(r=i[s])&&(e[r]=n[r])},update:function(t,e,n){if(t){var r=he.options.toPadding((t.options.layout||{}).padding),i=e-r.width,o=n-r.height,s=function(t){var e=function(t){var e,n,r,i=[];for(e=0,n=(t||[]).length;e<n;++e)i.push({index:e,box:r=t[e],pos:r.position,horizontal:r.isHorizontal(),weight:r.weight});return i}(t),n=k(D(e,"left"),!0),r=k(D(e,"right")),i=k(D(e,"top"),!0),o=k(D(e,"bottom"));return{leftAndTop:n.concat(i),rightAndBottom:r.concat(o),chartArea:D(e,"chartArea"),vertical:n.concat(r),horizontal:i.concat(o)}}(t.boxes),a=s.vertical,u=s.horizontal,l=Object.freeze({outerWidth:e,outerHeight:n,padding:r,availableWidth:i,vBoxMaxWidth:i/2/a.length,hBoxMaxHeight:o/2}),c=ln({maxPadding:ln({},r),w:i,h:o,x:r.left,y:r.top},r);!function(t,e){var n,r,i;for(n=0,r=t.length;n<r;++n)(i=t[n]).width=i.horizontal?i.box.fullWidth&&e.availableWidth:e.vBoxMaxWidth,i.height=i.horizontal&&e.hBoxMaxHeight}(a.concat(u),l),P(a,c,l),P(u,c,l)&&P(a,c,l),function(t){function e(e){var r=Math.max(n[e]-t[e],0);return t[e]+=r,r}var n=t.maxPadding;t.y+=e("top"),t.x+=e("left"),e("right"),e("bottom")}(c),R(s.leftAndTop,c,l),c.x+=c.w,c.y+=c.h,R(s.rightAndBottom,c,l),t.chartArea={left:c.left,top:c.top,right:c.left+c.w,bottom:c.top+c.h},he.each(s.chartArea,function(e){var n=e.box;ln(n,t.chartArea),n.update(c.w,c.h)})}}},dn=function(t){return t&&t.default||t}(Object.freeze({__proto__:null,default:"/*\n * DOM element rendering detection\n * https://davidwalsh.name/detect-node-insertion\n */\n@keyframes chartjs-render-animation {\n\tfrom { opacity: 0.99; }\n\tto { opacity: 1; }\n}\n\n.chartjs-render-monitor {\n\tanimation: chartjs-render-animation 0.001s;\n}\n\n/*\n * DOM element resizing detection\n * https://github.com/marcj/css-element-queries\n */\n.chartjs-size-monitor,\n.chartjs-size-monitor-expand,\n.chartjs-size-monitor-shrink {\n\tposition: absolute;\n\tdirection: ltr;\n\tleft: 0;\n\ttop: 0;\n\tright: 0;\n\tbottom: 0;\n\toverflow: hidden;\n\tpointer-events: none;\n\tvisibility: hidden;\n\tz-index: -1;\n}\n\n.chartjs-size-monitor-expand > div {\n\tposition: absolute;\n\twidth: 1000000px;\n\theight: 1000000px;\n\tleft: 0;\n\ttop: 0;\n}\n\n.chartjs-size-monitor-shrink > div {\n\tposition: absolute;\n\twidth: 200%;\n\theight: 200%;\n\tleft: 0;\n\ttop: 0;\n}\n"})),hn="$chartjs",fn="chartjs-size-monitor",pn="chartjs-render-monitor",mn="chartjs-render-animation",_n=["animationstart","webkitAnimationStart"],gn={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},vn=!!function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("e",null,e)}catch(t){}return t}()&&{passive:!0},yn={disableCSSInjection:!1,_enabled:"undefined"!=typeof window&&"undefined"!=typeof document,_ensureLoaded:function(t){if(!this.disableCSSInjection){var e=t.getRootNode?t.getRootNode():document;!function(t,e){var n=t[hn]||(t[hn]={});if(!n.containsStyles){n.containsStyles=!0,e="/* Chart.js */\n"+e;var r=document.createElement("style");r.setAttribute("type","text/css"),r.appendChild(document.createTextNode(e)),t.appendChild(r)}}(e.host?e:document.head,dn)}},acquireContext:function(t,e){"string"==typeof t?t=document.getElementById(t):t.length&&(t=t[0]),t&&t.canvas&&(t=t.canvas);var n=t&&t.getContext&&t.getContext("2d");return n&&n.canvas===t?(this._ensureLoaded(t),function(t,e){var n=t.style,r=t.getAttribute("height"),i=t.getAttribute("width");if(t[hn]={initial:{height:r,width:i,style:{display:n.display,height:n.height,width:n.width}}},n.display=n.display||"block",null===i||""===i){var o=N(t,"width");void 0!==o&&(t.width=o)}if(null===r||""===r)if(""===t.style.height)t.height=t.width/(e.options.aspectRatio||2);else{var s=N(t,"height");void 0!==o&&(t.height=s)}}(t,e),n):null},releaseContext:function(t){var e=t.canvas;if(e[hn]){var n=e[hn].initial;["height","width"].forEach(function(t){var r=n[t];he.isNullOrUndef(r)?e.removeAttribute(t):e.setAttribute(t,r)}),he.each(n.style||{},function(t,n){e.style[n]=t}),e.width=e.width,delete e[hn]}},addEventListener:function(t,e,n){var r=t.canvas;if("resize"!==e){var i=n[hn]||(n[hn]={});j(r,e,(i.proxies||(i.proxies={}))[t.id+"_"+e]=function(e){n(function(t,e){var n=gn[t.type]||t.type,r=he.getRelativePosition(t,e);return F(n,e,r.x,r.y,t)}(e,t))})}else B(r,n,t)},removeEventListener:function(t,e,n){var r=t.canvas;if("resize"!==e){var i=((n[hn]||{}).proxies||{})[t.id+"_"+e];i&&Y(r,e,i)}else V(r)}};he.addEvent=j,he.removeEvent=Y;var bn=he.extend({initialize:function(){},acquireContext:function(){},releaseContext:function(){},addEventListener:function(){},removeEventListener:function(){}},yn._enabled?yn:{acquireContext:function(t){return t&&t.canvas&&(t=t.canvas),t&&t.getContext("2d")||null}});ae._set("global",{plugins:{}});var wn={_plugins:[],_cacheId:0,register:function(t){var e=this._plugins;[].concat(t).forEach(function(t){-1===e.indexOf(t)&&e.push(t)}),this._cacheId++},unregister:function(t){var e=this._plugins;[].concat(t).forEach(function(t){var n=e.indexOf(t);-1!==n&&e.splice(n,1)}),this._cacheId++},clear:function(){this._plugins=[],this._cacheId++},count:function(){return this._plugins.length},getAll:function(){return this._plugins},notify:function(t,e,n){var r,i,o,s,a,u=this.descriptors(t),l=u.length;for(r=0;r<l;++r)if(i=u[r],o=i.plugin,"function"==typeof(a=o[e])&&((s=[t].concat(n||[])).push(i.options),!1===a.apply(o,s)))return!1;return!0},descriptors:function(t){var e=t.$plugins||(t.$plugins={});if(e.id===this._cacheId)return e.descriptors;var n=[],r=[],i=t&&t.config||{},o=i.options&&i.options.plugins||{};return this._plugins.concat(i.plugins||[]).forEach(function(t){if(-1===n.indexOf(t)){var e=t.id,i=o[e];!1!==i&&(!0===i&&(i=he.clone(ae.global.plugins[e])),n.push(t),r.push({plugin:t,options:i||{}}))}}),e.descriptors=r,e.id=this._cacheId,r},_invalidate:function(t){delete t.$plugins}},Sn={constructors:{},defaults:{},registerScaleType:function(t,e,n){this.constructors[t]=e,this.defaults[t]=he.clone(n)},getScaleConstructor:function(t){return this.constructors.hasOwnProperty(t)?this.constructors[t]:void 0},getScaleDefaults:function(t){return this.defaults.hasOwnProperty(t)?he.merge({},[ae.scale,this.defaults[t]]):{}},updateScaleDefaults:function(t,e){this.defaults.hasOwnProperty(t)&&(this.defaults[t]=he.extend(this.defaults[t],e))},addScalesToLayout:function(t){he.each(t.scales,function(e){e.fullWidth=e.options.fullWidth,e.position=e.options.position,e.weight=e.options.weight,cn.addBox(t,e)})}},Tn=he.valueOrDefault,En=he.rtl.getRtlAdapter;ae._set("global",{tooltips:{enabled:!0,custom:null,mode:"nearest",position:"average",intersect:!0,backgroundColor:"rgba(0,0,0,0.8)",titleFontStyle:"bold",titleSpacing:2,titleMarginBottom:6,titleFontColor:"#fff",titleAlign:"left",bodySpacing:2,bodyFontColor:"#fff",bodyAlign:"left",footerFontStyle:"bold",footerSpacing:2,footerMarginTop:6,footerFontColor:"#fff",footerAlign:"left",yPadding:6,xPadding:6,caretPadding:2,caretSize:5,cornerRadius:6,multiKeyBackground:"#fff",displayColors:!0,borderColor:"rgba(0,0,0,0)",borderWidth:0,callbacks:{beforeTitle:he.noop,title:function(t,e){var n="",r=e.labels,i=r?r.length:0;if(t.length>0){var o=t[0];o.label?n=o.label:o.xLabel?n=o.xLabel:i>0&&o.index<i&&(n=r[o.index])}return n},afterTitle:he.noop,beforeBody:he.noop,beforeLabel:he.noop,label:function(t,e){var n=e.datasets[t.datasetIndex].label||"";return n&&(n+=": "),he.isNullOrUndef(t.value)?n+=t.yLabel:n+=t.value,n},labelColor:function(t,e){var n=e.getDatasetMeta(t.datasetIndex).data[t.index]._view;return{borderColor:n.borderColor,backgroundColor:n.backgroundColor}},labelTextColor:function(){return this._options.bodyFontColor},afterLabel:he.noop,afterBody:he.noop,beforeFooter:he.noop,footer:he.noop,afterFooter:he.noop}}});var Mn={average:function(t){if(!t.length)return!1;var e,n,r=0,i=0,o=0;for(e=0,n=t.length;e<n;++e){var s=t[e];if(s&&s.hasValue()){var a=s.tooltipPosition();r+=a.x,i+=a.y,++o}}return{x:r/o,y:i/o}},nearest:function(t,e){var n,r,i,o=e.x,s=e.y,a=Number.POSITIVE_INFINITY;for(n=0,r=t.length;n<r;++n){var u=t[n];if(u&&u.hasValue()){var l=u.getCenterPoint(),c=he.distanceBetweenPoints(e,l);c<a&&(a=c,i=u)}}if(i){var d=i.tooltipPosition();o=d.x,s=d.y}return{x:o,y:s}}},xn=ve.extend({initialize:function(){this._model=q(this._options),this._lastActive=[]},getTitle:function(){var t=this._options.callbacks,e=t.beforeTitle.apply(this,arguments),n=t.title.apply(this,arguments),r=t.afterTitle.apply(this,arguments),i=[];return i=z(i,W(e)),i=z(i,W(n)),i=z(i,W(r))},getBeforeBody:function(){return X(this._options.callbacks.beforeBody.apply(this,arguments))},getBody:function(t,e){var n=this,r=n._options.callbacks,i=[];return he.each(t,function(t){var o={before:[],lines:[],after:[]};z(o.before,W(r.beforeLabel.call(n,t,e))),z(o.lines,r.label.call(n,t,e)),z(o.after,W(r.afterLabel.call(n,t,e))),i.push(o)}),i},getAfterBody:function(){return X(this._options.callbacks.afterBody.apply(this,arguments))},getFooter:function(){var t=this._options.callbacks,e=t.beforeFooter.apply(this,arguments),n=t.footer.apply(this,arguments),r=t.afterFooter.apply(this,arguments),i=[];return i=z(i,W(e)),i=z(i,W(n)),i=z(i,W(r))},update:function(t){var e,n,r=this,i=r._options,o=r._model,s=r._model=q(i),a=r._active,u=r._data,l={xAlign:o.xAlign,yAlign:o.yAlign},c={x:o.x,y:o.y},d={width:o.width,height:o.height},h={x:o.caretX,y:o.caretY};if(a.length){s.opacity=1;var f=[],p=[];h=Mn[i.position].call(r,a,r._eventPosition);var m=[];for(e=0,n=a.length;e<n;++e)m.push(U(a[e]));i.filter&&(m=m.filter(function(t){return i.filter(t,u)})),i.itemSort&&(m=m.sort(function(t,e){return i.itemSort(t,e,u)})),he.each(m,function(t){f.push(i.callbacks.labelColor.call(r,t,r._chart)),p.push(i.callbacks.labelTextColor.call(r,t,r._chart))}),s.title=r.getTitle(m,u),s.beforeBody=r.getBeforeBody(m,u),s.body=r.getBody(m,u),s.afterBody=r.getAfterBody(m,u),s.footer=r.getFooter(m,u),s.x=h.x,s.y=h.y,s.caretPadding=i.caretPadding,s.labelColors=f,s.labelTextColors=p,s.dataPoints=m,c=function(t,e,n,r){var i=t.x,o=t.y,s=t.caretPadding,a=n.xAlign,u=n.yAlign,l=t.caretSize+s,c=t.cornerRadius+s;return"right"===a?i-=e.width:"center"===a&&((i-=e.width/2)+e.width>r.width&&(i=r.width-e.width),i<0&&(i=0)),"top"===u?o+=l:o-="bottom"===u?e.height+l:e.height/2,"center"===u?"left"===a?i+=l:"right"===a&&(i-=l):"left"===a?i-=c:"right"===a&&(i+=c),{x:i,y:o}}(s,d=function(t,e){var n=t._chart.ctx,r=2*e.yPadding,i=0,o=e.body,s=o.reduce(function(t,e){return t+e.before.length+e.lines.length+e.after.length},0);s+=e.beforeBody.length+e.afterBody.length;var a=e.title.length,u=e.footer.length,l=e.titleFontSize,c=e.bodyFontSize,d=e.footerFontSize;r+=a*l,r+=a?(a-1)*e.titleSpacing:0,r+=a?e.titleMarginBottom:0,r+=s*c,r+=s?(s-1)*e.bodySpacing:0,r+=u?e.footerMarginTop:0,r+=u*d,r+=u?(u-1)*e.footerSpacing:0;var h=0,f=function(t){i=Math.max(i,n.measureText(t).width+h)};return n.font=he.fontString(l,e._titleFontStyle,e._titleFontFamily),he.each(e.title,f),n.font=he.fontString(c,e._bodyFontStyle,e._bodyFontFamily),he.each(e.beforeBody.concat(e.afterBody),f),h=e.displayColors?c+2:0,he.each(o,function(t){he.each(t.before,f),he.each(t.lines,f),he.each(t.after,f)}),h=0,n.font=he.fontString(d,e._footerFontStyle,e._footerFontFamily),he.each(e.footer,f),i+=2*e.xPadding,{width:i,height:r}}(this,s),l=function(t,e){var n=t._model,r=t._chart,i=t._chart.chartArea,o="center",s="center";n.y<e.height?s="top":n.y>r.height-e.height&&(s="bottom");var a,u,l,c,d,h=(i.left+i.right)/2,f=(i.top+i.bottom)/2;"center"===s?(a=function(t){return t<=h},u=function(t){return t>h}):(a=function(t){return t<=e.width/2},u=function(t){return t>=r.width-e.width/2}),l=function(t){return t+e.width+n.caretSize+n.caretPadding>r.width},c=function(t){return t-e.width-n.caretSize-n.caretPadding<0},d=function(t){return t<=f?"top":"bottom"},a(n.x)?(o="left",l(n.x)&&(o="center",s=d(n.y))):u(n.x)&&(o="right",c(n.x)&&(o="center",s=d(n.y)));var p=t._options;return{xAlign:p.xAlign?p.xAlign:o,yAlign:p.yAlign?p.yAlign:s}}(this,d),r._chart)}else s.opacity=0;return s.xAlign=l.xAlign,s.yAlign=l.yAlign,s.x=c.x,s.y=c.y,s.width=d.width,s.height=d.height,s.caretX=h.x,s.caretY=h.y,r._model=s,t&&i.custom&&i.custom.call(r,s),r},drawCaret:function(t,e){var n=this._chart.ctx,r=this.getCaretPosition(t,e,this._view);n.lineTo(r.x1,r.y1),n.lineTo(r.x2,r.y2),n.lineTo(r.x3,r.y3)},getCaretPosition:function(t,e,n){var r,i,o,s,a,u,l=n.caretSize,c=n.cornerRadius,d=n.xAlign,h=n.yAlign,f=t.x,p=t.y,m=e.width,_=e.height;if("center"===h)a=p+_/2,"left"===d?(i=(r=f)-l,o=r,s=a+l,u=a-l):(i=(r=f+m)+l,o=r,s=a-l,u=a+l);else if("left"===d?(r=(i=f+c+l)-l,o=i+l):"right"===d?(r=(i=f+m-c-l)-l,o=i+l):(r=(i=n.caretX)-l,o=i+l),"top"===h)a=(s=p)-l,u=s;else{a=(s=p+_)+l,u=s;var g=o;o=r,r=g}return{x1:r,x2:i,x3:o,y1:s,y2:a,y3:u}},drawTitle:function(t,e,n){var r,i,o,s=e.title,a=s.length;if(a){var u=En(e.rtl,e.x,e.width);for(t.x=G(e,e._titleAlign),n.textAlign=u.textAlign(e._titleAlign),n.textBaseline="middle",r=e.titleFontSize,i=e.titleSpacing,n.fillStyle=e.titleFontColor,n.font=he.fontString(r,e._titleFontStyle,e._titleFontFamily),o=0;o<a;++o)n.fillText(s[o],u.x(t.x),t.y+r/2),t.y+=r+i,o+1===a&&(t.y+=e.titleMarginBottom-i)}},drawBody:function(t,e,n){var r,i,o,s,a,u,l,c,d=e.bodyFontSize,h=e.bodySpacing,f=e._bodyAlign,p=e.body,m=e.displayColors,_=0,g=m?G(e,"left"):0,v=En(e.rtl,e.x,e.width),y=function(e){n.fillText(e,v.x(t.x+_),t.y+d/2),t.y+=d+h},b=v.textAlign(f);for(n.textAlign=f,n.textBaseline="middle",n.font=he.fontString(d,e._bodyFontStyle,e._bodyFontFamily),t.x=G(e,b),n.fillStyle=e.bodyFontColor,he.each(e.beforeBody,y),_=m&&"right"!==b?"center"===f?d/2+1:d+2:0,a=0,l=p.length;a<l;++a){for(r=p[a],o=e.labelColors[a],n.fillStyle=i=e.labelTextColors[a],he.each(r.before,y),u=0,c=(s=r.lines).length;u<c;++u){if(m){var w=v.x(g);n.fillStyle=e.legendColorBackground,n.fillRect(v.leftForLtr(w,d),t.y,d,d),n.lineWidth=1,n.strokeStyle=o.borderColor,n.strokeRect(v.leftForLtr(w,d),t.y,d,d),n.fillStyle=o.backgroundColor,n.fillRect(v.leftForLtr(v.xPlus(w,1),d-2),t.y+1,d-2,d-2),n.fillStyle=i}y(s[u])}he.each(r.after,y)}_=0,he.each(e.afterBody,y),t.y-=h},drawFooter:function(t,e,n){var r,i,o=e.footer,s=o.length;if(s){var a=En(e.rtl,e.x,e.width);for(t.x=G(e,e._footerAlign),t.y+=e.footerMarginTop,n.textAlign=a.textAlign(e._footerAlign),n.textBaseline="middle",r=e.footerFontSize,n.fillStyle=e.footerFontColor,n.font=he.fontString(r,e._footerFontStyle,e._footerFontFamily),i=0;i<s;++i)n.fillText(o[i],a.x(t.x),t.y+r/2),t.y+=r+e.footerSpacing}},drawBackground:function(t,e,n,r){n.fillStyle=e.backgroundColor,n.strokeStyle=e.borderColor,n.lineWidth=e.borderWidth;var i=e.xAlign,o=e.yAlign,s=t.x,a=t.y,u=r.width,l=r.height,c=e.cornerRadius;n.beginPath(),n.moveTo(s+c,a),"top"===o&&this.drawCaret(t,r),n.lineTo(s+u-c,a),n.quadraticCurveTo(s+u,a,s+u,a+c),"center"===o&&"right"===i&&this.drawCaret(t,r),n.lineTo(s+u,a+l-c),n.quadraticCurveTo(s+u,a+l,s+u-c,a+l),"bottom"===o&&this.drawCaret(t,r),n.lineTo(s+c,a+l),n.quadraticCurveTo(s,a+l,s,a+l-c),"center"===o&&"left"===i&&this.drawCaret(t,r),n.lineTo(s,a+c),n.quadraticCurveTo(s,a,s+c,a),n.closePath(),n.fill(),e.borderWidth>0&&n.stroke()},draw:function(){var t=this._chart.ctx,e=this._view;if(0!==e.opacity){var n={width:e.width,height:e.height},r={x:e.x,y:e.y},i=Math.abs(e.opacity<.001)?0:e.opacity;this._options.enabled&&(e.title.length||e.beforeBody.length||e.body.length||e.afterBody.length||e.footer.length)&&(t.save(),t.globalAlpha=i,this.drawBackground(r,e,t,n),r.y+=e.yPadding,he.rtl.overrideTextDirection(t,e.textDirection),this.drawTitle(r,e,t),this.drawBody(r,e,t),this.drawFooter(r,e,t),he.rtl.restoreTextDirection(t,e.textDirection),t.restore())}},handleEvent:function(t){var e=this._options,n=!1;return this._lastActive=this._lastActive||[],"mouseout"===t.type?this._active=[]:(this._active=this._chart.getElementsAtEventForMode(t,e.mode,e),e.reverse&&this._active.reverse()),(n=!he.arrayEquals(this._active,this._lastActive))&&(this._lastActive=this._active,(e.enabled||e.custom)&&(this._eventPosition={x:t.x,y:t.y},this.update(!0),this.pivot())),n}});xn.positioners=Mn;var Cn=he.valueOrDefault;ae._set("global",{elements:{},events:["mousemove","mouseout","click","touchstart","touchmove"],hover:{onHover:null,mode:"nearest",intersect:!0,animationDuration:400},onClick:null,maintainAspectRatio:!0,responsive:!0,responsiveAnimationDuration:0});var On=function(t,e){return this.construct(t,e),this};he.extend(On.prototype,{construct:function(t,e){var n=this;e=function(t){var e=(t=t||{}).data=t.data||{};return e.datasets=e.datasets||[],e.labels=e.labels||[],t.options=Z(ae.global,ae[t.type],t.options||{}),t}(e);var r=bn.acquireContext(t,e),i=r&&r.canvas,o=i&&i.height,s=i&&i.width;n.id=he.uid(),n.ctx=r,n.canvas=i,n.config=e,n.width=s,n.height=o,n.aspectRatio=o?s/o:null,n.options=e.options,n._bufferedRender=!1,n._layers=[],n.chart=n,n.controller=n,On.instances[n.id]=n,Object.defineProperty(n,"data",{get:function(){return n.config.data},set:function(t){n.config.data=t}}),r&&i?(n.initialize(),n.update()):console.error("Failed to create chart: can't acquire context from the given item")},initialize:function(){return wn.notify(this,"beforeInit"),he.retinaScale(this,this.options.devicePixelRatio),this.bindEvents(),this.options.responsive&&this.resize(!0),this.initToolTip(),wn.notify(this,"afterInit"),this},clear:function(){return he.canvas.clear(this),this},stop:function(){return we.cancelAnimation(this),this},resize:function(t){var e=this.options,n=this.canvas,r=e.maintainAspectRatio&&this.aspectRatio||null,i=Math.max(0,Math.floor(he.getMaximumWidth(n))),o=Math.max(0,Math.floor(r?i/r:he.getMaximumHeight(n)));if((this.width!==i||this.height!==o)&&(n.width=this.width=i,n.height=this.height=o,n.style.width=i+"px",n.style.height=o+"px",he.retinaScale(this,e.devicePixelRatio),!t)){var s={width:i,height:o};wn.notify(this,"resize",[s]),e.onResize&&e.onResize(this,s),this.stop(),this.update({duration:e.responsiveAnimationDuration})}},ensureScalesHaveIDs:function(){var t=this.options,e=t.scales||{},n=t.scale;he.each(e.xAxes,function(t,n){t.id||(t.id=$(e.xAxes,"x-axis-",n))}),he.each(e.yAxes,function(t,n){t.id||(t.id=$(e.yAxes,"y-axis-",n))}),n&&(n.id=n.id||"scale")},buildOrUpdateScales:function(){var t=this,e=t.options,n=t.scales||{},r=[],i=Object.keys(n).reduce(function(t,e){return t[e]=!1,t},{});e.scales&&(r=r.concat((e.scales.xAxes||[]).map(function(t){return{options:t,dtype:"category",dposition:"bottom"}}),(e.scales.yAxes||[]).map(function(t){return{options:t,dtype:"linear",dposition:"left"}}))),e.scale&&r.push({options:e.scale,dtype:"radialLinear",isDefault:!0,dposition:"chartArea"}),he.each(r,function(e){var r=e.options,o=r.id,s=Cn(r.type,e.dtype);J(r.position)!==J(e.dposition)&&(r.position=e.dposition),i[o]=!0;var a=null;if(o in n&&n[o].type===s)(a=n[o]).options=r,a.ctx=t.ctx,a.chart=t;else{var u=Sn.getScaleConstructor(s);if(!u)return;a=new u({id:o,type:s,options:r,ctx:t.ctx,chart:t}),n[a.id]=a}a.mergeTicksOptions(),e.isDefault&&(t.scale=a)}),he.each(i,function(t,e){t||delete n[e]}),t.scales=n,Sn.addScalesToLayout(this)},buildOrUpdateControllers:function(){var t,e,n=[],r=this.data.datasets;for(t=0,e=r.length;t<e;t++){var i=r[t],o=this.getDatasetMeta(t),s=i.type||this.config.type;if(o.type&&o.type!==s&&(this.destroyDatasetMeta(t),o=this.getDatasetMeta(t)),o.type=s,o.order=i.order||0,o.index=t,o.controller)o.controller.updateIndex(t),o.controller.linkScales();else{var a=an[o.type];if(void 0===a)throw new Error('"'+o.type+'" is not a chart type.');o.controller=new a(this,t),n.push(o.controller)}}return n},resetElements:function(){var t=this;he.each(t.data.datasets,function(e,n){t.getDatasetMeta(n).controller.reset()},t)},reset:function(){this.resetElements(),this.tooltip.initialize()},update:function(t){var e,n;if(t&&"object"==typeof t||(t={duration:t,lazy:arguments[1]}),function(t){var e=t.options;he.each(t.scales,function(e){cn.removeBox(t,e)}),e=Z(ae.global,ae[t.config.type],e),t.options=t.config.options=e,t.ensureScalesHaveIDs(),t.buildOrUpdateScales(),t.tooltip._options=e.tooltips,t.tooltip.initialize()}(this),wn._invalidate(this),!1!==wn.notify(this,"beforeUpdate")){this.tooltip._data=this.data;var r=this.buildOrUpdateControllers();for(e=0,n=this.data.datasets.length;e<n;e++)this.getDatasetMeta(e).controller.buildOrUpdateElements();this.updateLayout(),this.options.animation&&this.options.animation.duration&&he.each(r,function(t){t.reset()}),this.updateDatasets(),this.tooltip.initialize(),this.lastActive=[],wn.notify(this,"afterUpdate"),this._layers.sort(Q("z","_idx")),this._bufferedRender?this._bufferedRequest={duration:t.duration,easing:t.easing,lazy:t.lazy}:this.render(t)}},updateLayout:function(){var t=this;!1!==wn.notify(t,"beforeLayout")&&(cn.update(this,this.width,this.height),t._layers=[],he.each(t.boxes,function(e){e._configure&&e._configure(),t._layers.push.apply(t._layers,e._layers())},t),t._layers.forEach(function(t,e){t._idx=e}),wn.notify(t,"afterScaleUpdate"),wn.notify(t,"afterLayout"))},updateDatasets:function(){if(!1!==wn.notify(this,"beforeDatasetsUpdate")){for(var t=0,e=this.data.datasets.length;t<e;++t)this.updateDataset(t);wn.notify(this,"afterDatasetsUpdate")}},updateDataset:function(t){var e=this.getDatasetMeta(t),n={meta:e,index:t};!1!==wn.notify(this,"beforeDatasetUpdate",[n])&&(e.controller._update(),wn.notify(this,"afterDatasetUpdate",[n]))},render:function(t){var e=this;t&&"object"==typeof t||(t={duration:t,lazy:arguments[1]});var n=e.options.animation,r=Cn(t.duration,n&&n.duration),i=t.lazy;if(!1!==wn.notify(e,"beforeRender")){var o=function(t){wn.notify(e,"afterRender"),he.callback(n&&n.onComplete,[t],e)};if(n&&r){var s=new be({numSteps:r/16.66,easing:t.easing||n.easing,render:function(t,e){var n=e.currentStep,r=n/e.numSteps;t.draw((0,he.easing.effects[e.easing])(r),r,n)},onAnimationProgress:n.onProgress,onAnimationComplete:o});we.addAnimation(e,s,r,i)}else e.draw(),o(new be({numSteps:0,chart:e}));return e}},draw:function(t){var e,n;if(this.clear(),he.isNullOrUndef(t)&&(t=1),this.transition(t),!(this.width<=0||this.height<=0)&&!1!==wn.notify(this,"beforeDraw",[t])){for(n=this._layers,e=0;e<n.length&&n[e].z<=0;++e)n[e].draw(this.chartArea);for(this.drawDatasets(t);e<n.length;++e)n[e].draw(this.chartArea);this._drawTooltip(t),wn.notify(this,"afterDraw",[t])}},transition:function(t){for(var e=0,n=(this.data.datasets||[]).length;e<n;++e)this.isDatasetVisible(e)&&this.getDatasetMeta(e).controller.transition(t);this.tooltip.transition(t)},_getSortedDatasetMetas:function(t){var e,n,r=[];for(e=0,n=(this.data.datasets||[]).length;e<n;++e)t&&!this.isDatasetVisible(e)||r.push(this.getDatasetMeta(e));return r.sort(Q("order","index")),r},_getSortedVisibleDatasetMetas:function(){return this._getSortedDatasetMetas(!0)},drawDatasets:function(t){var e,n;if(!1!==wn.notify(this,"beforeDatasetsDraw",[t])){for(n=(e=this._getSortedVisibleDatasetMetas()).length-1;n>=0;--n)this.drawDataset(e[n],t);wn.notify(this,"afterDatasetsDraw",[t])}},drawDataset:function(t,e){var n={meta:t,index:t.index,easingValue:e};!1!==wn.notify(this,"beforeDatasetDraw",[n])&&(t.controller.draw(e),wn.notify(this,"afterDatasetDraw",[n]))},_drawTooltip:function(t){var e=this.tooltip,n={tooltip:e,easingValue:t};!1!==wn.notify(this,"beforeTooltipDraw",[n])&&(e.draw(),wn.notify(this,"afterTooltipDraw",[n]))},getElementAtEvent:function(t){return un.modes.single(this,t)},getElementsAtEvent:function(t){return un.modes.label(this,t,{intersect:!0})},getElementsAtXAxis:function(t){return un.modes["x-axis"](this,t,{intersect:!0})},getElementsAtEventForMode:function(t,e,n){var r=un.modes[e];return"function"==typeof r?r(this,t,n):[]},getDatasetAtEvent:function(t){return un.modes.dataset(this,t,{intersect:!0})},getDatasetMeta:function(t){var e=this.data.datasets[t];e._meta||(e._meta={});var n=e._meta[this.id];return n||(n=e._meta[this.id]={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:e.order||0,index:t}),n},getVisibleDatasetCount:function(){for(var t=0,e=0,n=this.data.datasets.length;e<n;++e)this.isDatasetVisible(e)&&t++;return t},isDatasetVisible:function(t){var e=this.getDatasetMeta(t);return"boolean"==typeof e.hidden?!e.hidden:!this.data.datasets[t].hidden},generateLegend:function(){return this.options.legendCallback(this)},destroyDatasetMeta:function(t){var e=this.id,n=this.data.datasets[t],r=n._meta&&n._meta[e];r&&(r.controller.destroy(),delete n._meta[e])},destroy:function(){var t,e,n=this.canvas;for(this.stop(),t=0,e=this.data.datasets.length;t<e;++t)this.destroyDatasetMeta(t);n&&(this.unbindEvents(),he.canvas.clear(this),bn.releaseContext(this.ctx),this.canvas=null,this.ctx=null),wn.notify(this,"destroy"),delete On.instances[this.id]},toBase64Image:function(){return this.canvas.toDataURL.apply(this.canvas,arguments)},initToolTip:function(){this.tooltip=new xn({_chart:this,_chartInstance:this,_data:this.data,_options:this.options.tooltips},this)},bindEvents:function(){var t=this,e=t._listeners={},n=function(){t.eventHandler.apply(t,arguments)};he.each(t.options.events,function(r){bn.addEventListener(t,r,n),e[r]=n}),t.options.responsive&&(bn.addEventListener(t,"resize",n=function(){t.resize()}),e.resize=n)},unbindEvents:function(){var t=this,e=t._listeners;e&&(delete t._listeners,he.each(e,function(e,n){bn.removeEventListener(t,n,e)}))},updateHoverStyle:function(t,e,n){var r,i,o,s=n?"set":"remove";for(i=0,o=t.length;i<o;++i)(r=t[i])&&this.getDatasetMeta(r._datasetIndex).controller[s+"HoverStyle"](r);"dataset"===e&&this.getDatasetMeta(t[0]._datasetIndex).controller["_"+s+"DatasetHoverStyle"]()},eventHandler:function(t){var e=this.tooltip;if(!1!==wn.notify(this,"beforeEvent",[t])){this._bufferedRender=!0,this._bufferedRequest=null;var n=this.handleEvent(t);e&&(n=e._start?e.handleEvent(t):n|e.handleEvent(t)),wn.notify(this,"afterEvent",[t]);var r=this._bufferedRequest;return r?this.render(r):n&&!this.animating&&(this.stop(),this.render({duration:this.options.hover.animationDuration,lazy:!0})),this._bufferedRender=!1,this._bufferedRequest=null,this}},handleEvent:function(t){var e=this.options||{},n=e.hover,r=!1;return this.lastActive=this.lastActive||[],this.active="mouseout"===t.type?[]:this.getElementsAtEventForMode(t,n.mode,n),he.callback(e.onHover||e.hover.onHover,[t.native,this.active],this),"mouseup"!==t.type&&"click"!==t.type||e.onClick&&e.onClick.call(this,t.native,this.active),this.lastActive.length&&this.updateHoverStyle(this.lastActive,n.mode,!1),this.active.length&&n.mode&&this.updateHoverStyle(this.active,n.mode,!0),r=!he.arrayEquals(this.active,this.lastActive),this.lastActive=this.active,r}}),On.instances={};var Dn=On;On.Controller=On,On.types={},he.configMerge=Z,he.scaleMerge=K;he.extend(et.prototype,{formats:tt,parse:tt,format:tt,add:tt,diff:tt,startOf:tt,endOf:tt,_create:function(t){return t}}),et.override=function(t){he.extend(et.prototype,t)};var kn={_date:et},Ln={formatters:{values:function(t){return he.isArray(t)?t:""+t},linear:function(t,e,n){var r=n.length>3?n[2]-n[1]:n[1]-n[0];Math.abs(r)>1&&t!==Math.floor(t)&&(r=t-Math.floor(t));var i=he.log10(Math.abs(r)),o="";if(0!==t){if(Math.max(Math.abs(n[0]),Math.abs(n[n.length-1]))<1e-4){var s=he.log10(Math.abs(t)),a=Math.floor(s)-Math.floor(i);a=Math.max(Math.min(a,20),0),o=t.toExponential(a)}else{var u=-1*Math.floor(i);u=Math.max(Math.min(u,20),0),o=t.toFixed(u)}}else o="0";return o},logarithmic:function(t,e,n){var r=t/Math.pow(10,Math.floor(he.log10(t)));return 0===t?"0":1===r||2===r||5===r||0===e||e===n.length-1?t.toExponential():""}}},An=he.isArray,In=he.isNullOrUndef,Pn=he.valueOrDefault,Rn=he.valueAtIndexOrDefault;ae._set("scale",{display:!0,position:"left",offset:!1,gridLines:{display:!0,color:"rgba(0,0,0,0.1)",lineWidth:1,drawBorder:!0,drawOnChartArea:!0,drawTicks:!0,tickMarkLength:10,zeroLineWidth:1,zeroLineColor:"rgba(0,0,0,0.25)",zeroLineBorderDash:[],zeroLineBorderDashOffset:0,offsetGridLines:!1,borderDash:[],borderDashOffset:0},scaleLabel:{display:!1,labelString:"",padding:{top:4,bottom:4}},ticks:{beginAtZero:!1,minRotation:0,maxRotation:50,mirror:!1,padding:0,reverse:!1,display:!0,autoSkip:!0,autoSkipPadding:0,labelOffset:0,callback:Ln.formatters.values,minor:{},major:{}}});var Nn=ve.extend({zeroLineIndex:0,getPadding:function(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}},getTicks:function(){return this._ticks},_getLabels:function(){var t=this.chart.data;return this.options.labels||(this.isHorizontal()?t.xLabels:t.yLabels)||t.labels||[]},mergeTicksOptions:function(){},beforeUpdate:function(){he.callback(this.options.beforeUpdate,[this])},update:function(t,e,n){var r,i,o,s,a,u=this.options.ticks,l=u.sampleSize;if(this.beforeUpdate(),this.maxWidth=t,this.maxHeight=e,this.margins=he.extend({left:0,right:0,top:0,bottom:0},n),this._ticks=null,this.ticks=null,this._labelSizes=null,this._maxLabelLines=0,this.longestLabelWidth=0,this.longestTextCache=this.longestTextCache||{},this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this.beforeBuildTicks(),s=this.buildTicks()||[],(!(s=this.afterBuildTicks(s)||s)||!s.length)&&this.ticks)for(s=[],r=0,i=this.ticks.length;r<i;++r)s.push({value:this.ticks[r],major:!1});return this._ticks=s,a=l<s.length,o=this._convertTicksToLabels(a?function(t,e){for(var n=[],r=t.length/e,i=0,o=t.length;i<o;i+=r)n.push(t[Math.floor(i)]);return n}(s,l):s),this._configure(),this.beforeCalculateTickRotation(),this.calculateTickRotation(),this.afterCalculateTickRotation(),this.beforeFit(),this.fit(),this.afterFit(),this._ticksToDraw=u.display&&(u.autoSkip||"auto"===u.source)?this._autoSkip(s):s,a&&(o=this._convertTicksToLabels(this._ticksToDraw)),this.ticks=o,this.afterUpdate(),this.minSize},_configure:function(){var t,e,n=this.options.ticks.reverse;this.isHorizontal()?(t=this.left,e=this.right):(t=this.top,e=this.bottom,n=!n),this._startPixel=t,this._endPixel=e,this._reversePixels=n,this._length=e-t},afterUpdate:function(){he.callback(this.options.afterUpdate,[this])},beforeSetDimensions:function(){he.callback(this.options.beforeSetDimensions,[this])},setDimensions:function(){this.isHorizontal()?(this.width=this.maxWidth,this.left=0,this.right=this.width):(this.height=this.maxHeight,this.top=0,this.bottom=this.height),this.paddingLeft=0,this.paddingTop=0,this.paddingRight=0,this.paddingBottom=0},afterSetDimensions:function(){he.callback(this.options.afterSetDimensions,[this])},beforeDataLimits:function(){he.callback(this.options.beforeDataLimits,[this])},determineDataLimits:he.noop,afterDataLimits:function(){he.callback(this.options.afterDataLimits,[this])},beforeBuildTicks:function(){he.callback(this.options.beforeBuildTicks,[this])},buildTicks:he.noop,afterBuildTicks:function(t){return An(t)&&t.length?he.callback(this.options.afterBuildTicks,[this,t]):(this.ticks=he.callback(this.options.afterBuildTicks,[this,this.ticks])||this.ticks,t)},beforeTickToLabelConversion:function(){he.callback(this.options.beforeTickToLabelConversion,[this])},convertTicksToLabels:function(){var t=this.options.ticks;this.ticks=this.ticks.map(t.userCallback||t.callback,this)},afterTickToLabelConversion:function(){he.callback(this.options.afterTickToLabelConversion,[this])},beforeCalculateTickRotation:function(){he.callback(this.options.beforeCalculateTickRotation,[this])},calculateTickRotation:function(){var t,e,n,r,i,o,s,a=this.options,u=a.ticks,l=this.getTicks().length,c=u.minRotation||0,d=u.maxRotation,h=c;!this._isVisible()||!u.display||c>=d||l<=1||!this.isHorizontal()?this.labelRotation=c:(e=(t=this._getLabelSizes()).widest.width,n=t.highest.height-t.highest.offset,r=Math.min(this.maxWidth,this.chart.width-e),e+6>(i=a.offset?this.maxWidth/l:r/(l-1))&&(i=r/(l-(a.offset?.5:1)),o=this.maxHeight-it(a.gridLines)-u.padding-ot(a.scaleLabel),s=Math.sqrt(e*e+n*n),h=he.toDegrees(Math.min(Math.asin(Math.min((t.highest.height+6)/i,1)),Math.asin(Math.min(o/s,1))-Math.asin(n/s))),h=Math.max(c,Math.min(d,h))),this.labelRotation=h)},afterCalculateTickRotation:function(){he.callback(this.options.afterCalculateTickRotation,[this])},beforeFit:function(){he.callback(this.options.beforeFit,[this])},fit:function(){var t=this.minSize={width:0,height:0},e=this.chart,n=this.options,r=n.ticks,i=n.scaleLabel,o=n.gridLines,s=this._isVisible(),a="bottom"===n.position,u=this.isHorizontal();if(u?t.width=this.maxWidth:s&&(t.width=it(o)+ot(i)),u?s&&(t.height=it(o)+ot(i)):t.height=this.maxHeight,r.display&&s){var l=at(r),c=this._getLabelSizes(),d=c.first,h=c.last,f=c.widest,p=c.highest,m=.4*l.minor.lineHeight,_=r.padding;if(u){var g=0!==this.labelRotation,v=he.toRadians(this.labelRotation),y=Math.cos(v),b=Math.sin(v),w=b*f.width+y*(p.height-(g?p.offset:0))+(g?0:m);t.height=Math.min(this.maxHeight,t.height+w+_);var S,T,E=this.getPixelForTick(0)-this.left,M=this.right-this.getPixelForTick(this.getTicks().length-1);g?(S=a?y*d.width+b*d.offset:b*(d.height-d.offset),T=a?b*(h.height-h.offset):y*h.width+b*h.offset):(S=d.width/2,T=h.width/2),this.paddingLeft=Math.max((S-E)*this.width/(this.width-E),0)+3,this.paddingRight=Math.max((T-M)*this.width/(this.width-M),0)+3}else{var x=r.mirror?0:f.width+_+m;t.width=Math.min(this.maxWidth,t.width+x),this.paddingTop=d.height/2,this.paddingBottom=h.height/2}}this.handleMargins(),u?(this.width=this._length=e.width-this.margins.left-this.margins.right,this.height=t.height):(this.width=t.width,this.height=this._length=e.height-this.margins.top-this.margins.bottom)},handleMargins:function(){this.margins&&(this.margins.left=Math.max(this.paddingLeft,this.margins.left),this.margins.top=Math.max(this.paddingTop,this.margins.top),this.margins.right=Math.max(this.paddingRight,this.margins.right),this.margins.bottom=Math.max(this.paddingBottom,this.margins.bottom))},afterFit:function(){he.callback(this.options.afterFit,[this])},isHorizontal:function(){var t=this.options.position;return"top"===t||"bottom"===t},isFullWidth:function(){return this.options.fullWidth},getRightValue:function(t){if(In(t))return NaN;if(("number"==typeof t||t instanceof Number)&&!isFinite(t))return NaN;if(t)if(this.isHorizontal()){if(void 0!==t.x)return this.getRightValue(t.x)}else if(void 0!==t.y)return this.getRightValue(t.y);return t},_convertTicksToLabels:function(t){var e,n,r;for(this.ticks=t.map(function(t){return t.value}),this.beforeTickToLabelConversion(),e=this.convertTicksToLabels(t)||this.ticks,this.afterTickToLabelConversion(),n=0,r=t.length;n<r;++n)t[n].label=e[n];return e},_getLabelSizes:function(){var t=this._labelSizes;return t||(this._labelSizes=t=rt(this.ctx,at(this.options.ticks),this.getTicks(),this.longestTextCache),this.longestLabelWidth=t.widest.width),t},_parseValue:function(t){var e,n,r,i;return An(t)?(e=+this.getRightValue(t[0]),n=+this.getRightValue(t[1]),r=Math.min(e,n),i=Math.max(e,n)):(e=void 0,n=t=+this.getRightValue(t),r=t,i=t),{min:r,max:i,start:e,end:n}},_getScaleLabel:function(t){var e=this._parseValue(t);return void 0!==e.start?"["+e.start+", "+e.end+"]":+this.getRightValue(t)},getLabelForIndex:he.noop,getPixelForValue:he.noop,getValueForPixel:he.noop,getPixelForTick:function(t){var e=this.options.offset,n=this._ticks.length,r=1/Math.max(n-(e?0:1),1);return t<0||t>n-1?null:this.getPixelForDecimal(t*r+(e?r/2:0))},getPixelForDecimal:function(t){return this._reversePixels&&(t=1-t),this._startPixel+t*this._length},getDecimalForPixel:function(t){var e=(t-this._startPixel)/this._length;return this._reversePixels?1-e:e},getBasePixel:function(){return this.getPixelForValue(this.getBaseValue())},getBaseValue:function(){var t=this.min,e=this.max;return this.beginAtZero?0:t<0&&e<0?e:t>0&&e>0?t:0},_autoSkip:function(t){var e,n,r,i,o=this.options.ticks,s=this._length,a=o.maxTicksLimit||s/this._tickSize()+1,u=o.major.enabled?function(t){var e,n,r=[];for(e=0,n=t.length;e<n;e++)t[e].major&&r.push(e);return r}(t):[],l=u.length,c=u[0],d=u[l-1];if(l>a)return function(t,e,n){var r,i,o=0,s=e[0];for(n=Math.ceil(n),r=0;r<t.length;r++)i=t[r],r===s?(i._index=r,s=e[++o*n]):delete i.label}(t,u,l/a),ut(t);if(r=function(t,e,n,r){var i,o,s,a,u=function(t){var e,n,r=t.length;if(r<2)return!1;for(n=t[0],e=1;e<r;++e)if(t[e]-t[e-1]!==n)return!1;return n}(t),l=(e.length-1)/r;if(!u)return Math.max(l,1);for(s=0,a=(i=he.math._factorize(u)).length-1;s<a;s++)if((o=i[s])>l)return o;return Math.max(l,1)}(u,t,0,a),l>0){for(e=0,n=l-1;e<n;e++)lt(t,r,u[e],u[e+1]);return i=l>1?(d-c)/(l-1):null,lt(t,r,he.isNullOrUndef(i)?0:c-i,c),lt(t,r,d,he.isNullOrUndef(i)?t.length:d+i),ut(t)}return lt(t,r),ut(t)},_tickSize:function(){var t=this.options.ticks,e=he.toRadians(this.labelRotation),n=Math.abs(Math.cos(e)),r=Math.abs(Math.sin(e)),i=this._getLabelSizes(),o=t.autoSkipPadding||0,s=i?i.widest.width+o:0,a=i?i.highest.height+o:0;return this.isHorizontal()?a*n>s*r?s/n:a/r:a*r<s*n?a/n:s/r},_isVisible:function(){var t,e,n,r=this.chart,i=this.options.display;if("auto"!==i)return!!i;for(t=0,e=r.data.datasets.length;t<e;++t)if(r.isDatasetVisible(t)&&((n=r.getDatasetMeta(t)).xAxisID===this.id||n.yAxisID===this.id))return!0;return!1},_computeGridLineItems:function(t){var e,n,r,i,o,s,a,u,l,c,d,h,f,p,m,_,g,v=this.chart,y=this.options,b=y.gridLines,w=y.position,S=b.offsetGridLines,T=this.isHorizontal(),E=this._ticksToDraw,M=E.length+(S?1:0),x=it(b),C=[],O=b.drawBorder?Rn(b.lineWidth,0,0):0,D=O/2,k=he._alignPixel,L=function(t){return k(v,t,O)};for("top"===w?(e=L(this.bottom),a=this.bottom-x,l=e-D,d=L(t.top)+D,f=t.bottom):"bottom"===w?(e=L(this.top),d=t.top,f=L(t.bottom)-D,a=e+D,l=this.top+x):"left"===w?(e=L(this.right),s=this.right-x,u=e-D,c=L(t.left)+D,h=t.right):(e=L(this.left),c=t.left,h=L(t.right)-D,s=e+D,u=this.left+x),n=0;n<M;++n)In((r=E[n]||{}).label)&&n<E.length||(n===this.zeroLineIndex&&y.offset===S?(p=b.zeroLineWidth,m=b.zeroLineColor,_=b.zeroLineBorderDash||[],g=b.zeroLineBorderDashOffset||0):(p=Rn(b.lineWidth,n,1),m=Rn(b.color,n,"rgba(0,0,0,0.1)"),_=b.borderDash||[],g=b.borderDashOffset||0),void 0!==(i=nt(this,r._index||n,S))&&(o=k(v,i,p),T?s=u=c=h=o:a=l=d=f=o,C.push({tx1:s,ty1:a,tx2:u,ty2:l,x1:c,y1:d,x2:h,y2:f,width:p,color:m,borderDash:_,borderDashOffset:g})));return C.ticksLength=M,C.borderValue=e,C},_computeLabelItems:function(){var t,e,n,r,i,o,s,a,u,l,c,d,h=this.options,f=h.ticks,p=h.position,m=f.mirror,_=this.isHorizontal(),g=this._ticksToDraw,v=at(f),y=f.padding,b=it(h.gridLines),w=-he.toRadians(this.labelRotation),S=[];for("top"===p?(o=this.bottom-b-y,s=w?"left":"center"):"bottom"===p?(o=this.top+b+y,s=w?"right":"center"):"left"===p?(i=this.right-(m?0:b)-y,s=m?"left":"right"):(i=this.left+(m?0:b)+y,s=m?"right":"left"),t=0,e=g.length;t<e;++t)In(r=(n=g[t]).label)||(a=this.getPixelForTick(n._index||t)+f.labelOffset,l=(u=n.major?v.major:v.minor).lineHeight,c=An(r)?r.length:1,_?(i=a,d="top"===p?((w?1:.5)-c)*l:(w?0:.5)*l):(o=a,d=(1-c)*l/2),S.push({x:i,y:o,rotation:w,label:r,font:u,textOffset:d,textAlign:s}));return S},_drawGrid:function(t){var e=this.options.gridLines;if(e.display){var n,r,i,o,s,a=this.ctx,u=this.chart,l=he._alignPixel,c=e.drawBorder?Rn(e.lineWidth,0,0):0,d=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(t));for(i=0,o=d.length;i<o;++i)r=(s=d[i]).color,(n=s.width)&&r&&(a.save(),a.lineWidth=n,a.strokeStyle=r,a.setLineDash&&(a.setLineDash(s.borderDash),a.lineDashOffset=s.borderDashOffset),a.beginPath(),e.drawTicks&&(a.moveTo(s.tx1,s.ty1),a.lineTo(s.tx2,s.ty2)),e.drawOnChartArea&&(a.moveTo(s.x1,s.y1),a.lineTo(s.x2,s.y2)),a.stroke(),a.restore());if(c){var h,f,p,m,_=c,g=Rn(e.lineWidth,d.ticksLength-1,1),v=d.borderValue;this.isHorizontal()?(h=l(u,this.left,_)-_/2,f=l(u,this.right,g)+g/2,p=m=v):(p=l(u,this.top,_)-_/2,m=l(u,this.bottom,g)+g/2,h=f=v),a.lineWidth=c,a.strokeStyle=Rn(e.color,0),a.beginPath(),a.moveTo(h,p),a.lineTo(f,m),a.stroke()}}},_drawLabels:function(){if(this.options.ticks.display){var t,e,n,r,i,o,s,a,u=this.ctx,l=this._labelItems||(this._labelItems=this._computeLabelItems());for(t=0,n=l.length;t<n;++t){if(i=l[t],o=i.font,u.save(),u.translate(i.x,i.y),u.rotate(i.rotation),u.font=o.string,u.fillStyle=o.color,u.textBaseline="middle",u.textAlign=i.textAlign,s=i.label,a=i.textOffset,An(s))for(e=0,r=s.length;e<r;++e)u.fillText(""+s[e],0,a),a+=o.lineHeight;else u.fillText(s,0,a);u.restore()}}},_drawTitle:function(){var t=this.ctx,e=this.options,n=e.scaleLabel;if(n.display){var r,i,o=Pn(n.fontColor,ae.global.defaultFontColor),s=he.options._parseFont(n),a=he.options.toPadding(n.padding),u=s.lineHeight/2,l=e.position,c=0;if(this.isHorizontal())r=this.left+this.width/2,i="bottom"===l?this.bottom-u-a.bottom:this.top+u+a.top;else{var d="left"===l;r=d?this.left+u+a.top:this.right-u-a.top,i=this.top+this.height/2,c=d?-.5*Math.PI:.5*Math.PI}t.save(),t.translate(r,i),t.rotate(c),t.textAlign="center",t.textBaseline="middle",t.fillStyle=o,t.font=s.string,t.fillText(n.labelString,0,0),t.restore()}},draw:function(t){this._isVisible()&&(this._drawGrid(t),this._drawTitle(),this._drawLabels())},_layers:function(){var t=this,e=t.options,n=e.ticks&&e.ticks.z||0,r=e.gridLines&&e.gridLines.z||0;return t._isVisible()&&n!==r&&t.draw===t._draw?[{z:r,draw:function(){t._drawGrid.apply(t,arguments),t._drawTitle.apply(t,arguments)}},{z:n,draw:function(){t._drawLabels.apply(t,arguments)}}]:[{z:n,draw:function(){t.draw.apply(t,arguments)}}]},_getMatchingVisibleMetas:function(t){var e=this,n=e.isHorizontal();return e.chart._getSortedVisibleDatasetMetas().filter(function(r){return(!t||r.type===t)&&(n?r.xAxisID===e.id:r.yAxisID===e.id)})}});Nn.prototype._draw=Nn.prototype.draw;var jn=Nn,Yn=he.isNullOrUndef,Fn=jn.extend({determineDataLimits:function(){var t,e=this._getLabels(),n=this.options.ticks,r=n.min,i=n.max,o=0,s=e.length-1;void 0!==r&&(t=e.indexOf(r))>=0&&(o=t),void 0!==i&&(t=e.indexOf(i))>=0&&(s=t),this.minIndex=o,this.maxIndex=s,this.min=e[o],this.max=e[s]},buildTicks:function(){var t=this._getLabels(),e=this.minIndex,n=this.maxIndex;this.ticks=0===e&&n===t.length-1?t:t.slice(e,n+1)},getLabelForIndex:function(t,e){var n=this.chart;return n.getDatasetMeta(e).controller._getValueScaleId()===this.id?this.getRightValue(n.data.datasets[e].data[t]):this._getLabels()[t]},_configure:function(){var t=this.options.offset,e=this.ticks;jn.prototype._configure.call(this),this.isHorizontal()||(this._reversePixels=!this._reversePixels),e&&(this._startValue=this.minIndex-(t?.5:0),this._valueRange=Math.max(e.length-(t?0:1),1))},getPixelForValue:function(t,e,n){var r,i,o;return Yn(e)||Yn(n)||(t=this.chart.data.datasets[n].data[e]),Yn(t)||(r=this.isHorizontal()?t.x:t.y),(void 0!==r||void 0!==t&&isNaN(e))&&(i=this._getLabels(),t=he.valueOrDefault(r,t),e=-1!==(o=i.indexOf(t))?o:e,isNaN(e)&&(e=t)),this.getPixelForDecimal((e-this._startValue)/this._valueRange)},getPixelForTick:function(t){var e=this.ticks;return t<0||t>e.length-1?null:this.getPixelForValue(e[t],t+this.minIndex)},getValueForPixel:function(t){var e=Math.round(this._startValue+this.getDecimalForPixel(t)*this._valueRange);return Math.min(Math.max(e,0),this.ticks.length-1)},getBasePixel:function(){return this.bottom}});Fn._defaults={position:"bottom"};var Hn=he.isNullOrUndef,Bn=jn.extend({getRightValue:function(t){return"string"==typeof t?+t:jn.prototype.getRightValue.call(this,t)},handleTickRangeOptions:function(){var t=this.options.ticks;if(t.beginAtZero){var e=he.sign(this.min),n=he.sign(this.max);e<0&&n<0?this.max=0:e>0&&n>0&&(this.min=0)}var r=void 0!==t.min||void 0!==t.suggestedMin,i=void 0!==t.max||void 0!==t.suggestedMax;void 0!==t.min?this.min=t.min:void 0!==t.suggestedMin&&(this.min=null===this.min?t.suggestedMin:Math.min(this.min,t.suggestedMin)),void 0!==t.max?this.max=t.max:void 0!==t.suggestedMax&&(this.max=null===this.max?t.suggestedMax:Math.max(this.max,t.suggestedMax)),r!==i&&this.min>=this.max&&(r?this.max=this.min+1:this.min=this.max-1),this.min===this.max&&(this.max++,t.beginAtZero||this.min--)},getTickLimit:function(){var t,e=this.options.ticks,n=e.stepSize,r=e.maxTicksLimit;return n?t=Math.ceil(this.max/n)-Math.floor(this.min/n)+1:(t=this._computeTickLimit(),r=r||11),r&&(t=Math.min(r,t)),t},_computeTickLimit:function(){return Number.POSITIVE_INFINITY},handleDirectionalChanges:he.noop,buildTicks:function(){var t=this.options.ticks,e=this.getTickLimit(),n={maxTicks:e=Math.max(2,e),min:t.min,max:t.max,precision:t.precision,stepSize:he.valueOrDefault(t.fixedStepSize,t.stepSize)},r=this.ticks=function(t,e){var n,r,i,o,s=[],a=t.stepSize,u=a||1,l=t.maxTicks-1,c=t.min,d=t.max,h=t.precision,f=e.min,p=e.max,m=he.niceNum((p-f)/l/u)*u;if(m<1e-14&&Hn(c)&&Hn(d))return[f,p];(o=Math.ceil(p/m)-Math.floor(f/m))>l&&(m=he.niceNum(o*m/l/u)*u),a||Hn(h)?n=Math.pow(10,he._decimalPlaces(m)):(n=Math.pow(10,h),m=Math.ceil(m*n)/n),r=Math.floor(f/m)*m,i=Math.ceil(p/m)*m,a&&(!Hn(c)&&he.almostWhole(c/m,m/1e3)&&(r=c),!Hn(d)&&he.almostWhole(d/m,m/1e3)&&(i=d)),o=he.almostEquals(o=(i-r)/m,Math.round(o),m/1e3)?Math.round(o):Math.ceil(o),r=Math.round(r*n)/n,i=Math.round(i*n)/n,s.push(Hn(c)?r:c);for(var _=1;_<o;++_)s.push(Math.round((r+_*m)*n)/n);return s.push(Hn(d)?i:d),s}(n,this);this.handleDirectionalChanges(),this.max=he.max(r),this.min=he.min(r),t.reverse?(r.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max)},convertTicksToLabels:function(){this.ticksAsNumbers=this.ticks.slice(),this.zeroLineIndex=this.ticks.indexOf(0),jn.prototype.convertTicksToLabels.call(this)},_configure:function(){var t,e=this.getTicks(),n=this.min,r=this.max;jn.prototype._configure.call(this),this.options.offset&&e.length&&(n-=t=(r-n)/Math.max(e.length-1,1)/2,r+=t),this._startValue=n,this._endValue=r,this._valueRange=r-n}}),Vn={position:"left",ticks:{callback:Ln.formatters.linear}},zn=Bn.extend({determineDataLimits:function(){var t,e,n,r,i=this,o=i.options,s=i.chart.data.datasets,a=i._getMatchingVisibleMetas(),u=o.stacked,l={},c=a.length;if(i.min=Number.POSITIVE_INFINITY,i.max=Number.NEGATIVE_INFINITY,void 0===u)for(t=0;!u&&t<c;++t)u=void 0!==(e=a[t]).stack;for(t=0;t<c;++t)n=s[(e=a[t]).index].data,u?ct(i,l,e,n):dt(i,e,n);he.each(l,function(t){r=t.pos.concat(t.neg),i.min=Math.min(i.min,he.min(r)),i.max=Math.max(i.max,he.max(r))}),i.min=he.isFinite(i.min)&&!isNaN(i.min)?i.min:0,i.max=he.isFinite(i.max)&&!isNaN(i.max)?i.max:1,i.handleTickRangeOptions()},_computeTickLimit:function(){var t;return this.isHorizontal()?Math.ceil(this.width/40):(t=he.options._parseFont(this.options.ticks),Math.ceil(this.height/t.lineHeight))},handleDirectionalChanges:function(){this.isHorizontal()||this.ticks.reverse()},getLabelForIndex:function(t,e){return this._getScaleLabel(this.chart.data.datasets[e].data[t])},getPixelForValue:function(t){return this.getPixelForDecimal((+this.getRightValue(t)-this._startValue)/this._valueRange)},getValueForPixel:function(t){return this._startValue+this.getDecimalForPixel(t)*this._valueRange},getPixelForTick:function(t){var e=this.ticksAsNumbers;return t<0||t>e.length-1?null:this.getPixelForValue(e[t])}});zn._defaults=Vn;var Wn=he.valueOrDefault,Un=he.math.log10,qn={position:"left",ticks:{callback:Ln.formatters.logarithmic}},Gn=jn.extend({determineDataLimits:function(){function t(t){return d?t.xAxisID===a.id:t.yAxisID===a.id}var e,n,r,i,o,s,a=this,u=a.options,l=a.chart,c=l.data.datasets,d=a.isHorizontal();a.min=Number.POSITIVE_INFINITY,a.max=Number.NEGATIVE_INFINITY,a.minNotZero=Number.POSITIVE_INFINITY;var h=u.stacked;if(void 0===h)for(e=0;e<c.length;e++)if(n=l.getDatasetMeta(e),l.isDatasetVisible(e)&&t(n)&&void 0!==n.stack){h=!0;break}if(u.stacked||h){var f={};for(e=0;e<c.length;e++){var p=[(n=l.getDatasetMeta(e)).type,void 0===u.stacked&&void 0===n.stack?e:"",n.stack].join(".");if(l.isDatasetVisible(e)&&t(n))for(void 0===f[p]&&(f[p]=[]),o=0,s=(i=c[e].data).length;o<s;o++){var m=f[p];r=a._parseValue(i[o]),isNaN(r.min)||isNaN(r.max)||n.data[o].hidden||r.min<0||r.max<0||(m[o]=m[o]||0,m[o]+=r.max)}}he.each(f,function(t){if(t.length>0){var e=he.min(t),n=he.max(t);a.min=Math.min(a.min,e),a.max=Math.max(a.max,n)}})}else for(e=0;e<c.length;e++)if(n=l.getDatasetMeta(e),l.isDatasetVisible(e)&&t(n))for(o=0,s=(i=c[e].data).length;o<s;o++)r=a._parseValue(i[o]),isNaN(r.min)||isNaN(r.max)||n.data[o].hidden||r.min<0||r.max<0||(a.min=Math.min(r.min,a.min),a.max=Math.max(r.max,a.max),0!==r.min&&(a.minNotZero=Math.min(r.min,a.minNotZero)));a.min=he.isFinite(a.min)?a.min:null,a.max=he.isFinite(a.max)?a.max:null,a.minNotZero=he.isFinite(a.minNotZero)?a.minNotZero:null,this.handleTickRangeOptions()},handleTickRangeOptions:function(){var t=this.options.ticks;this.min=ht(t.min,this.min),this.max=ht(t.max,this.max),this.min===this.max&&(0!==this.min&&null!==this.min?(this.min=Math.pow(10,Math.floor(Un(this.min))-1),this.max=Math.pow(10,Math.floor(Un(this.max))+1)):(this.min=1,this.max=10)),null===this.min&&(this.min=Math.pow(10,Math.floor(Un(this.max))-1)),null===this.max&&(this.max=0!==this.min?Math.pow(10,Math.floor(Un(this.min))+1):10),null===this.minNotZero&&(this.minNotZero=this.min>0?this.min:this.max<1?Math.pow(10,Math.floor(Un(this.max))):1)},buildTicks:function(){var t=this.options.ticks,e=!this.isHorizontal(),n={min:ht(t.min),max:ht(t.max)},r=this.ticks=function(t,e){var n,r,i=[],o=Wn(t.min,Math.pow(10,Math.floor(Un(e.min)))),s=Math.floor(Un(e.max)),a=Math.ceil(e.max/Math.pow(10,s));0===o?(n=Math.floor(Un(e.minNotZero)),r=Math.floor(e.minNotZero/Math.pow(10,n)),i.push(o),o=r*Math.pow(10,n)):(n=Math.floor(Un(o)),r=Math.floor(o/Math.pow(10,n)));var u=n<0?Math.pow(10,Math.abs(n)):1;do{i.push(o),10==++r&&(r=1,u=++n>=0?1:u),o=Math.round(r*Math.pow(10,n)*u)/u}while(n<s||n===s&&r<a);var l=Wn(t.max,o);return i.push(l),i}(n,this);this.max=he.max(r),this.min=he.min(r),t.reverse?(e=!e,this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),e&&r.reverse()},convertTicksToLabels:function(){this.tickValues=this.ticks.slice(),jn.prototype.convertTicksToLabels.call(this)},getLabelForIndex:function(t,e){return this._getScaleLabel(this.chart.data.datasets[e].data[t])},getPixelForTick:function(t){var e=this.tickValues;return t<0||t>e.length-1?null:this.getPixelForValue(e[t])},_getFirstTickValue:function(t){var e=Math.floor(Un(t));return Math.floor(t/Math.pow(10,e))*Math.pow(10,e)},_configure:function(){var t=this.min,e=0;jn.prototype._configure.call(this),0===t&&(t=this._getFirstTickValue(this.minNotZero),e=Wn(this.options.ticks.fontSize,ae.global.defaultFontSize)/this._length),this._startValue=Un(t),this._valueOffset=e,this._valueRange=(Un(this.max)-Un(t))/(1-e)},getPixelForValue:function(t){var e=0;return(t=+this.getRightValue(t))>this.min&&t>0&&(e=(Un(t)-this._startValue)/this._valueRange+this._valueOffset),this.getPixelForDecimal(e)},getValueForPixel:function(t){var e=this.getDecimalForPixel(t);return 0===e&&0===this.min?0:Math.pow(10,this._startValue+(e-this._valueOffset)*this._valueRange)}});Gn._defaults=qn;var Xn=he.valueOrDefault,Kn=he.valueAtIndexOrDefault,Zn=he.options.resolve,$n={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,color:"rgba(0,0,0,0.1)",lineWidth:1,borderDash:[],borderDashOffset:0},gridLines:{circular:!1},ticks:{showLabelBackdrop:!0,backdropColor:"rgba(255,255,255,0.75)",backdropPaddingY:2,backdropPaddingX:2,callback:Ln.formatters.linear},pointLabels:{display:!0,fontSize:10,callback:function(t){return t}}},Jn=Bn.extend({setDimensions:function(){this.width=this.maxWidth,this.height=this.maxHeight,this.paddingTop=ft(this.options)/2,this.xCenter=Math.floor(this.width/2),this.yCenter=Math.floor((this.height-this.paddingTop)/2),this.drawingArea=Math.min(this.height-this.paddingTop,this.width)/2},determineDataLimits:function(){var t=this,e=t.chart,n=Number.POSITIVE_INFINITY,r=Number.NEGATIVE_INFINITY;he.each(e.data.datasets,function(i,o){if(e.isDatasetVisible(o)){var s=e.getDatasetMeta(o);he.each(i.data,function(e,i){var o=+t.getRightValue(e);isNaN(o)||s.data[i].hidden||(n=Math.min(o,n),r=Math.max(o,r))})}}),t.min=n===Number.POSITIVE_INFINITY?0:n,t.max=r===Number.NEGATIVE_INFINITY?0:r,t.handleTickRangeOptions()},_computeTickLimit:function(){return Math.ceil(this.drawingArea/ft(this.options))},convertTicksToLabels:function(){var t=this;Bn.prototype.convertTicksToLabels.call(t),t.pointLabels=t.chart.data.labels.map(function(){var e=he.callback(t.options.pointLabels.callback,arguments,t);return e||0===e?e:""})},getLabelForIndex:function(t,e){return+this.getRightValue(this.chart.data.datasets[e].data[t])},fit:function(){var t=this.options;t.display&&t.pointLabels.display?function(t){var e,n,r,i=he.options._parseFont(t.options.pointLabels),o={l:0,r:t.width,t:0,b:t.height-t.paddingTop},s={};t.ctx.font=i.string,t._pointLabelSizes=[];var a=t.chart.data.labels.length;for(e=0;e<a;e++){r=t.getPointPosition(e,t.drawingArea+5),n=pt(t.ctx,i.lineHeight,t.pointLabels[e]),t._pointLabelSizes[e]=n;var u=t.getIndexAngle(e),l=he.toDegrees(u)%360,c=mt(l,r.x,n.w,0,180),d=mt(l,r.y,n.h,90,270);c.start<o.l&&(o.l=c.start,s.l=u),c.end>o.r&&(o.r=c.end,s.r=u),d.start<o.t&&(o.t=d.start,s.t=u),d.end>o.b&&(o.b=d.end,s.b=u)}t.setReductions(t.drawingArea,o,s)}(this):this.setCenterPoint(0,0,0,0)},setReductions:function(t,e,n){var r=e.l/Math.sin(n.l),i=Math.max(e.r-this.width,0)/Math.sin(n.r),o=-e.t/Math.cos(n.t),s=-Math.max(e.b-(this.height-this.paddingTop),0)/Math.cos(n.b);r=yt(r),i=yt(i),o=yt(o),s=yt(s),this.drawingArea=Math.min(Math.floor(t-(r+i)/2),Math.floor(t-(o+s)/2)),this.setCenterPoint(r,i,o,s)},setCenterPoint:function(t,e,n,r){var i=this.width-e-this.drawingArea,o=t+this.drawingArea,s=n+this.drawingArea,a=this.height-this.paddingTop-r-this.drawingArea;this.xCenter=Math.floor((o+i)/2+this.left),this.yCenter=Math.floor((s+a)/2+this.top+this.paddingTop)},getIndexAngle:function(t){var e=this.chart,n=(t*(360/e.data.labels.length)+((e.options||{}).startAngle||0))%360;return(n<0?n+360:n)*Math.PI*2/360},getDistanceFromCenterForValue:function(t){if(he.isNullOrUndef(t))return NaN;var e=this.drawingArea/(this.max-this.min);return this.options.ticks.reverse?(this.max-t)*e:(t-this.min)*e},getPointPosition:function(t,e){var n=this.getIndexAngle(t)-Math.PI/2;return{x:Math.cos(n)*e+this.xCenter,y:Math.sin(n)*e+this.yCenter}},getPointPositionForValue:function(t,e){return this.getPointPosition(t,this.getDistanceFromCenterForValue(e))},getBasePosition:function(t){var e=this.min,n=this.max;return this.getPointPositionForValue(t||0,this.beginAtZero?0:e<0&&n<0?n:e>0&&n>0?e:0)},_drawGrid:function(){var t,e,n,r=this,i=r.ctx,o=r.options,s=o.gridLines,a=o.angleLines,u=Xn(a.lineWidth,s.lineWidth),l=Xn(a.color,s.color);if(o.pointLabels.display&&function(t){var e=t.ctx,n=t.options,r=n.pointLabels,i=ft(n),o=t.getDistanceFromCenterForValue(n.ticks.reverse?t.min:t.max),s=he.options._parseFont(r);e.save(),e.font=s.string,e.textBaseline="middle";for(var a=t.chart.data.labels.length-1;a>=0;a--){var u=t.getPointPosition(a,o+(0===a?i/2:0)+5),l=Kn(r.fontColor,a,ae.global.defaultFontColor);e.fillStyle=l;var c=t.getIndexAngle(a),d=he.toDegrees(c);e.textAlign=_t(d),vt(d,t._pointLabelSizes[a],u),gt(e,t.pointLabels[a],u,s.lineHeight)}e.restore()}(r),s.display&&he.each(r.ticks,function(t,n){0!==n&&(e=r.getDistanceFromCenterForValue(r.ticksAsNumbers[n]),function(t,e,n,r){var i,o=t.ctx,s=e.circular,a=t.chart.data.labels.length,u=Kn(e.color,r-1),l=Kn(e.lineWidth,r-1);if((s||a)&&u&&l){if(o.save(),o.strokeStyle=u,o.lineWidth=l,o.setLineDash&&(o.setLineDash(e.borderDash||[]),o.lineDashOffset=e.borderDashOffset||0),o.beginPath(),s)o.arc(t.xCenter,t.yCenter,n,0,2*Math.PI);else{i=t.getPointPosition(0,n),o.moveTo(i.x,i.y);for(var c=1;c<a;c++)i=t.getPointPosition(c,n),o.lineTo(i.x,i.y)}o.closePath(),o.stroke(),o.restore()}}(r,s,e,n))}),a.display&&u&&l){for(i.save(),i.lineWidth=u,i.strokeStyle=l,i.setLineDash&&(i.setLineDash(Zn([a.borderDash,s.borderDash,[]])),i.lineDashOffset=Zn([a.borderDashOffset,s.borderDashOffset,0])),t=r.chart.data.labels.length-1;t>=0;t--)e=r.getDistanceFromCenterForValue(o.ticks.reverse?r.min:r.max),n=r.getPointPosition(t,e),i.beginPath(),i.moveTo(r.xCenter,r.yCenter),i.lineTo(n.x,n.y),i.stroke();i.restore()}},_drawLabels:function(){var t=this,e=t.ctx,n=t.options.ticks;if(n.display){var r,i,o=t.getIndexAngle(0),s=he.options._parseFont(n),a=Xn(n.fontColor,ae.global.defaultFontColor);e.save(),e.font=s.string,e.translate(t.xCenter,t.yCenter),e.rotate(o),e.textAlign="center",e.textBaseline="middle",he.each(t.ticks,function(o,u){(0!==u||n.reverse)&&(r=t.getDistanceFromCenterForValue(t.ticksAsNumbers[u]),n.showLabelBackdrop&&(i=e.measureText(o).width,e.fillStyle=n.backdropColor,e.fillRect(-i/2-n.backdropPaddingX,-r-s.size/2-n.backdropPaddingY,i+2*n.backdropPaddingX,s.size+2*n.backdropPaddingY)),e.fillStyle=a,e.fillText(o,0,-r))}),e.restore()}},_drawTitle:he.noop});Jn._defaults=$n;var Qn=he._deprecated,tr=he.options.resolve,er=he.valueOrDefault,nr=Number.MIN_SAFE_INTEGER||-9007199254740991,rr=Number.MAX_SAFE_INTEGER||9007199254740991,ir={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},or=Object.keys(ir),sr=jn.extend({initialize:function(){this.mergeTicksOptions(),jn.prototype.initialize.call(this)},update:function(){var t=this.options,e=t.time||(t.time={}),n=this._adapter=new kn._date(t.adapters.date);return Qn("time scale",e.format,"time.format","time.parser"),Qn("time scale",e.min,"time.min","ticks.min"),Qn("time scale",e.max,"time.max","ticks.max"),he.mergeIf(e.displayFormats,n.formats()),jn.prototype.update.apply(this,arguments)},getRightValue:function(t){return t&&void 0!==t.t&&(t=t.t),jn.prototype.getRightValue.call(this,t)},determineDataLimits:function(){var t,e,n,r,i,o,s,a=this.chart,u=this._adapter,l=this.options,c=l.time.unit||"day",d=rr,h=nr,f=[],p=[],m=[],_=this._getLabels();for(t=0,n=_.length;t<n;++t)m.push(Mt(this,_[t]));for(t=0,n=(a.data.datasets||[]).length;t<n;++t)if(a.isDatasetVisible(t))if(i=a.data.datasets[t].data,he.isObject(i[0]))for(p[t]=[],e=0,r=i.length;e<r;++e)o=Mt(this,i[e]),f.push(o),p[t][e]=o;else p[t]=m.slice(0),s||(f=f.concat(m),s=!0);else p[t]=[];m.length&&(d=Math.min(d,m[0]),h=Math.max(h,m[m.length-1])),f.length&&(f=n>1?function(t){var e,n,r,i={},o=[];for(e=0,n=t.length;e<n;++e)i[r=t[e]]||(i[r]=!0,o.push(r));return o}(f).sort(bt):f.sort(bt),d=Math.min(d,f[0]),h=Math.max(h,f[f.length-1])),d=Mt(this,wt(l))||d,h=Mt(this,St(l))||h,d=d===rr?+u.startOf(Date.now(),c):d,h=h===nr?+u.endOf(Date.now(),c)+1:h,this.min=Math.min(d,h),this.max=Math.max(d+1,h),this._table=[],this._timestamps={data:f,datasets:p,labels:m}},buildTicks:function(){var t,e,n,r=this.min,i=this.max,o=this.options,s=o.ticks,a=o.time,u=this._timestamps,l=[],c=this.getLabelCapacity(r),d=s.source,h=o.distribution;for(u="data"===d||"auto"===d&&"series"===h?u.data:"labels"===d?u.labels:function(t,e,n,r){var i,o=t._adapter,s=t.options,a=s.time,u=a.unit||xt(a.minUnit,e,n,r),l=tr([a.stepSize,a.unitStepSize,1]),c="week"===u&&a.isoWeekday,d=e,h=[];if(c&&(d=+o.startOf(d,"isoWeek",c)),d=+o.startOf(d,c?"day":u),o.diff(n,e,u)>1e5*l)throw e+" and "+n+" are too far apart with stepSize of "+l+" "+u;for(i=d;i<n;i=+o.add(i,l,u))h.push(i);return i!==n&&"ticks"!==s.bounds||h.push(i),h}(this,r,i,c),"ticks"===o.bounds&&u.length&&(r=u[0],i=u[u.length-1]),r=Mt(this,wt(o))||r,i=Mt(this,St(o))||i,t=0,e=u.length;t<e;++t)(n=u[t])>=r&&n<=i&&l.push(n);return this.min=r,this.max=i,this._unit=a.unit||(s.autoSkip?xt(a.minUnit,this.min,this.max,c):function(t,e,n,r,i){var o,s;for(o=or.length-1;o>=or.indexOf(n);o--)if(s=or[o],ir[s].common&&t._adapter.diff(i,r,s)>=e-1)return s;return or[n?or.indexOf(n):0]}(this,l.length,a.minUnit,this.min,this.max)),this._majorUnit=s.major.enabled&&"year"!==this._unit?function(t){for(var e=or.indexOf(t)+1,n=or.length;e<n;++e)if(ir[or[e]].common)return or[e]}(this._unit):void 0,this._table=function(t,e,n,r){if("linear"===r||!t.length)return[{time:e,pos:0},{time:n,pos:1}];var i,o,s,a,u,l=[],c=[e];for(i=0,o=t.length;i<o;++i)(a=t[i])>e&&a<n&&c.push(a);for(c.push(n),i=0,o=c.length;i<o;++i)u=c[i+1],a=c[i],void 0!==(s=c[i-1])&&void 0!==u&&Math.round((u+s)/2)===a||l.push({time:a,pos:i/(o-1)});return l}(this._timestamps.data,r,i,h),this._offsets=function(t,e,n,r,i){var o,s,a=0,u=0;return i.offset&&e.length&&(o=Tt(t,"time",e[0],"pos"),a=1===e.length?1-o:(Tt(t,"time",e[1],"pos")-o)/2,s=Tt(t,"time",e[e.length-1],"pos"),u=1===e.length?s:(s-Tt(t,"time",e[e.length-2],"pos"))/2),{start:a,end:u,factor:1/(a+1+u)}}(this._table,l,0,0,o),s.reverse&&l.reverse(),Ct(this,l,this._majorUnit)},getLabelForIndex:function(t,e){var n=this._adapter,r=this.chart.data,i=this.options.time,o=r.labels&&t<r.labels.length?r.labels[t]:"",s=r.datasets[e].data[t];return he.isObject(s)&&(o=this.getRightValue(s)),i.tooltipFormat?n.format(Et(this,o),i.tooltipFormat):"string"==typeof o?o:n.format(Et(this,o),i.displayFormats.datetime)},tickFormatFunction:function(t,e,n,r){var i=this.options,o=i.time.displayFormats,s=this._majorUnit,a=o[s],u=n[e],l=i.ticks,c=s&&a&&u&&u.major,d=this._adapter.format(t,r||(c?a:o[this._unit])),h=c?l.major:l.minor,f=tr([h.callback,h.userCallback,l.callback,l.userCallback]);return f?f(d,e,n):d},convertTicksToLabels:function(t){var e,n,r=[];for(e=0,n=t.length;e<n;++e)r.push(this.tickFormatFunction(t[e].value,e,t));return r},getPixelForOffset:function(t){var e=this._offsets,n=Tt(this._table,"time",t,"pos");return this.getPixelForDecimal((e.start+n)*e.factor)},getPixelForValue:function(t,e,n){var r=null;if(void 0!==e&&void 0!==n&&(r=this._timestamps.datasets[n][e]),null===r&&(r=Mt(this,t)),null!==r)return this.getPixelForOffset(r)},getPixelForTick:function(t){var e=this.getTicks();return t>=0&&t<e.length?this.getPixelForOffset(e[t].value):null},getValueForPixel:function(t){var e=this._offsets,n=this.getDecimalForPixel(t)/e.factor-e.end,r=Tt(this._table,"pos",n,"time");return this._adapter._create(r)},_getLabelSize:function(t){var e=this.options.ticks,n=this.ctx.measureText(t).width,r=he.toRadians(this.isHorizontal()?e.maxRotation:e.minRotation),i=Math.cos(r),o=Math.sin(r),s=er(e.fontSize,ae.global.defaultFontSize);return{w:n*i+s*o,h:n*o+s*i}},getLabelWidth:function(t){return this._getLabelSize(t).w},getLabelCapacity:function(t){var e=this.options.time,n=e.displayFormats,r=n[e.unit]||n.millisecond,i=this.tickFormatFunction(t,0,Ct(this,[t],this._majorUnit),r),o=this._getLabelSize(i),s=Math.floor(this.isHorizontal()?this.width/o.w:this.height/o.h);return this.options.offset&&s--,s>0?s:1}});sr._defaults={position:"bottom",distribution:"linear",bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,displayFormat:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{autoSkip:!1,source:"auto",major:{enabled:!1}}};var ar={category:Fn,linear:zn,logarithmic:Gn,radialLinear:Jn,time:sr},ur={datetime:"MMM D, YYYY, h:mm:ss a",millisecond:"h:mm:ss.SSS a",second:"h:mm:ss a",minute:"h:mm a",hour:"hA",day:"MMM D",week:"ll",month:"MMM YYYY",quarter:"[Q]Q - YYYY",year:"YYYY"};kn._date.override("function"==typeof t?{_id:"moment",formats:function(){return ur},parse:function(e,n){return"string"==typeof e&&"string"==typeof n?e=t(e,n):e instanceof t||(e=t(e)),e.isValid()?e.valueOf():null},format:function(e,n){return t(e).format(n)},add:function(e,n,r){return t(e).add(n,r).valueOf()},diff:function(e,n,r){return t(e).diff(t(n),r)},startOf:function(e,n,r){return e=t(e),"isoWeek"===n?e.isoWeekday(r).valueOf():e.startOf(n).valueOf()},endOf:function(e,n){return t(e).endOf(n).valueOf()},_create:function(e){return t(e)}}:{}),ae._set("global",{plugins:{filler:{propagate:!0}}});var lr={dataset:function(t){var e=t.fill,n=t.chart,r=n.getDatasetMeta(e),i=r&&n.isDatasetVisible(e)&&r.dataset._children||[],o=i.length||0;return o?function(t,e){return e<o&&i[e]._view||null}:null},boundary:function(t){var e=t.boundary,n=e?e.x:null,r=e?e.y:null;return he.isArray(e)?function(t,n){return e[n]}:function(t){return{x:null===n?t.x:n,y:null===r?t.y:r}}}},cr={id:"filler",afterDatasetsUpdate:function(t,e){var n,r,i,o,s=(t.data.datasets||[]).length,a=e.propagate,u=[];for(r=0;r<s;++r)o=null,(i=(n=t.getDatasetMeta(r)).dataset)&&i._model&&i instanceof Re.Line&&(o={visible:t.isDatasetVisible(r),fill:Ot(i,r,s),chart:t,el:i}),n.$filler=o,u.push(o);for(r=0;r<s;++r)(o=u[r])&&(o.fill=kt(u,r,a),o.boundary=Dt(o),o.mapper=Lt(o))},beforeDatasetsDraw:function(t){var e,n,r,i,o,s,a,u=t._getSortedVisibleDatasetMetas(),l=t.ctx;for(n=u.length-1;n>=0;--n)(e=u[n].$filler)&&e.visible&&(i=(r=e.el)._view,o=r._children||[],s=e.mapper,a=i.backgroundColor||ae.global.defaultColor,s&&a&&o.length&&(he.canvas.clipArea(l,t.chartArea),Pt(l,o,s,i,a,r._loop),he.canvas.unclipArea(l)))}},dr=he.rtl.getRtlAdapter,hr=he.noop,fr=he.valueOrDefault;ae._set("global",{legend:{display:!0,position:"top",align:"center",fullWidth:!0,reverse:!1,weight:1e3,onClick:function(t,e){var n=e.datasetIndex,r=this.chart,i=r.getDatasetMeta(n);i.hidden=null===i.hidden?!r.data.datasets[n].hidden:null,r.update()},onHover:null,onLeave:null,labels:{boxWidth:40,padding:10,generateLabels:function(t){var e=t.data.datasets,n=t.options.legend||{},r=n.labels&&n.labels.usePointStyle;return t._getSortedDatasetMetas().map(function(n){var i=n.controller.getStyle(r?0:void 0);return{text:e[n.index].label,fillStyle:i.backgroundColor,hidden:!t.isDatasetVisible(n.index),lineCap:i.borderCapStyle,lineDash:i.borderDash,lineDashOffset:i.borderDashOffset,lineJoin:i.borderJoinStyle,lineWidth:i.borderWidth,strokeStyle:i.borderColor,pointStyle:i.pointStyle,rotation:i.rotation,datasetIndex:n.index}},this)}}},legendCallback:function(t){var e,n,r,i=document.createElement("ul"),o=t.data.datasets;for(i.setAttribute("class",t.id+"-legend"),e=0,n=o.length;e<n;e++)(r=i.appendChild(document.createElement("li"))).appendChild(document.createElement("span")).style.backgroundColor=o[e].backgroundColor,o[e].label&&r.appendChild(document.createTextNode(o[e].label));return i.outerHTML}});var pr=ve.extend({initialize:function(t){he.extend(this,t),this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1},beforeUpdate:hr,update:function(t,e,n){return this.beforeUpdate(),this.maxWidth=t,this.maxHeight=e,this.margins=n,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this.beforeBuildLabels(),this.buildLabels(),this.afterBuildLabels(),this.beforeFit(),this.fit(),this.afterFit(),this.afterUpdate(),this.minSize},afterUpdate:hr,beforeSetDimensions:hr,setDimensions:function(){this.isHorizontal()?(this.width=this.maxWidth,this.left=0,this.right=this.width):(this.height=this.maxHeight,this.top=0,this.bottom=this.height),this.paddingLeft=0,this.paddingTop=0,this.paddingRight=0,this.paddingBottom=0,this.minSize={width:0,height:0}},afterSetDimensions:hr,beforeBuildLabels:hr,buildLabels:function(){var t=this,e=t.options.labels||{},n=he.callback(e.generateLabels,[t.chart],t)||[];e.filter&&(n=n.filter(function(n){return e.filter(n,t.chart.data)})),t.options.reverse&&n.reverse(),t.legendItems=n},afterBuildLabels:hr,beforeFit:hr,fit:function(){var t=this.options,e=t.labels,n=t.display,r=this.ctx,i=he.options._parseFont(e),o=i.size,s=this.legendHitBoxes=[],a=this.minSize,u=this.isHorizontal();if(u?(a.width=this.maxWidth,a.height=n?10:0):(a.width=n?10:0,a.height=this.maxHeight),n){if(r.font=i.string,u){var l=this.lineWidths=[0],c=0;r.textAlign="left",r.textBaseline="middle",he.each(this.legendItems,function(t,n){var i=Rt(e,o)+o/2+r.measureText(t.text).width;(0===n||l[l.length-1]+i+2*e.padding>a.width)&&(c+=o+e.padding,l[l.length-(n>0?0:1)]=0),s[n]={left:0,top:0,width:i,height:o},l[l.length-1]+=i+e.padding}),a.height+=c}else{var d=e.padding,h=this.columnWidths=[],f=this.columnHeights=[],p=e.padding,m=0,_=0;he.each(this.legendItems,function(t,n){var i=Rt(e,o)+o/2+r.measureText(t.text).width;n>0&&_+o+2*d>a.height&&(p+=m+e.padding,h.push(m),f.push(_),m=0,_=0),m=Math.max(m,i),_+=o+d,s[n]={left:0,top:0,width:i,height:o}}),p+=m,h.push(m),f.push(_),a.width+=p}this.width=a.width,this.height=a.height}else this.width=a.width=this.height=a.height=0},afterFit:hr,isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},draw:function(){var t=this,e=t.options,n=e.labels,r=ae.global,i=r.defaultColor,o=r.elements.line,s=t.height,a=t.columnHeights,u=t.width,l=t.lineWidths;if(e.display){var c,d=dr(e.rtl,t.left,t.minSize.width),h=t.ctx,f=fr(n.fontColor,r.defaultFontColor),p=he.options._parseFont(n),m=p.size;h.textAlign=d.textAlign("left"),h.textBaseline="middle",h.lineWidth=.5,h.strokeStyle=f,h.fillStyle=f,h.font=p.string;var _=Rt(n,m),g=t.legendHitBoxes,v=function(t,r){switch(e.align){case"start":return n.padding;case"end":return t-r;default:return(t-r+n.padding)/2}},y=t.isHorizontal();c=y?{x:t.left+v(u,l[0]),y:t.top+n.padding,line:0}:{x:t.left+n.padding,y:t.top+v(s,a[0]),line:0},he.rtl.overrideTextDirection(t.ctx,e.textDirection);var b=m+n.padding;he.each(t.legendItems,function(e,r){var f=h.measureText(e.text).width,p=_+m/2+f,w=c.x,S=c.y;d.setWidth(t.minSize.width),y?r>0&&w+p+n.padding>t.left+t.minSize.width&&(S=c.y+=b,c.line++,w=c.x=t.left+v(u,l[c.line])):r>0&&S+b>t.top+t.minSize.height&&(w=c.x=w+t.columnWidths[c.line]+n.padding,c.line++,S=c.y=t.top+v(s,a[c.line]));var T=d.x(w);!function(t,e,r){if(!(isNaN(_)||_<=0)){h.save();var s=fr(r.lineWidth,o.borderWidth);if(h.fillStyle=fr(r.fillStyle,i),h.lineCap=fr(r.lineCap,o.borderCapStyle),h.lineDashOffset=fr(r.lineDashOffset,o.borderDashOffset),h.lineJoin=fr(r.lineJoin,o.borderJoinStyle),h.lineWidth=s,h.strokeStyle=fr(r.strokeStyle,i),h.setLineDash&&h.setLineDash(fr(r.lineDash,o.borderDash)),n&&n.usePointStyle){var a=_*Math.SQRT2/2,u=d.xPlus(t,_/2);he.canvas.drawPoint(h,r.pointStyle,a,u,e+m/2,r.rotation)}else h.fillRect(d.leftForLtr(t,_),e,_,m),0!==s&&h.strokeRect(d.leftForLtr(t,_),e,_,m);h.restore()}}(T,S,e),g[r].left=d.leftForLtr(T,g[r].width),g[r].top=S,function(t,e,n,r){var i=m/2,o=d.xPlus(t,_+i),s=e+i;h.fillText(n.text,o,s),n.hidden&&(h.beginPath(),h.lineWidth=2,h.moveTo(o,s),h.lineTo(d.xPlus(o,r),s),h.stroke())}(T,S,e,f),y?c.x+=p+n.padding:c.y+=b}),he.rtl.restoreTextDirection(t.ctx,e.textDirection)}},_getLegendItemAt:function(t,e){var n,r,i;if(t>=this.left&&t<=this.right&&e>=this.top&&e<=this.bottom)for(i=this.legendHitBoxes,n=0;n<i.length;++n)if(r=i[n],t>=r.left&&t<=r.left+r.width&&e>=r.top&&e<=r.top+r.height)return this.legendItems[n];return null},handleEvent:function(t){var e,n=this.options,r="mouseup"===t.type?"click":t.type;if("mousemove"===r){if(!n.onHover&&!n.onLeave)return}else{if("click"!==r)return;if(!n.onClick)return}e=this._getLegendItemAt(t.x,t.y),"click"===r?e&&n.onClick&&n.onClick.call(this,t.native,e):(n.onLeave&&e!==this._hoveredItem&&(this._hoveredItem&&n.onLeave.call(this,t.native,this._hoveredItem),this._hoveredItem=e),n.onHover&&e&&n.onHover.call(this,t.native,e))}}),mr={id:"legend",_element:pr,beforeInit:function(t){var e=t.options.legend;e&&Nt(t,e)},beforeUpdate:function(t){var e=t.options.legend,n=t.legend;e?(he.mergeIf(e,ae.global.legend),n?(cn.configure(t,n,e),n.options=e):Nt(t,e)):n&&(cn.removeBox(t,n),delete t.legend)},afterEvent:function(t,e){var n=t.legend;n&&n.handleEvent(e)}},_r=he.noop;ae._set("global",{title:{display:!1,fontStyle:"bold",fullWidth:!0,padding:10,position:"top",text:"",weight:2e3}});var gr=ve.extend({initialize:function(t){he.extend(this,t),this.legendHitBoxes=[]},beforeUpdate:_r,update:function(t,e,n){return this.beforeUpdate(),this.maxWidth=t,this.maxHeight=e,this.margins=n,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this.beforeBuildLabels(),this.buildLabels(),this.afterBuildLabels(),this.beforeFit(),this.fit(),this.afterFit(),this.afterUpdate(),this.minSize},afterUpdate:_r,beforeSetDimensions:_r,setDimensions:function(){this.isHorizontal()?(this.width=this.maxWidth,this.left=0,this.right=this.width):(this.height=this.maxHeight,this.top=0,this.bottom=this.height),this.paddingLeft=0,this.paddingTop=0,this.paddingRight=0,this.paddingBottom=0,this.minSize={width:0,height:0}},afterSetDimensions:_r,beforeBuildLabels:_r,buildLabels:_r,afterBuildLabels:_r,beforeFit:_r,fit:function(){var t,e=this.options,n=this.minSize={},r=this.isHorizontal();e.display?(t=(he.isArray(e.text)?e.text.length:1)*he.options._parseFont(e).lineHeight+2*e.padding,this.width=n.width=r?this.maxWidth:t,this.height=n.height=r?t:this.maxHeight):this.width=n.width=this.height=n.height=0},afterFit:_r,isHorizontal:function(){var t=this.options.position;return"top"===t||"bottom"===t},draw:function(){var t=this.ctx,e=this.options;if(e.display){var n,r,i,o=he.options._parseFont(e),s=o.lineHeight,a=s/2+e.padding,u=0,l=this.top,c=this.left,d=this.bottom,h=this.right;t.fillStyle=he.valueOrDefault(e.fontColor,ae.global.defaultFontColor),t.font=o.string,this.isHorizontal()?(r=c+(h-c)/2,i=l+a,n=h-c):(r="left"===e.position?c+a:h-a,i=l+(d-l)/2,n=d-l,u=Math.PI*("left"===e.position?-.5:.5)),t.save(),t.translate(r,i),t.rotate(u),t.textAlign="center",t.textBaseline="middle";var f=e.text;if(he.isArray(f))for(var p=0,m=0;m<f.length;++m)t.fillText(f[m],0,p,n),p+=s;else t.fillText(f,0,0,n);t.restore()}}}),vr={},yr=mr,br={id:"title",_element:gr,beforeInit:function(t){var e=t.options.title;e&&jt(t,e)},beforeUpdate:function(t){var e=t.options.title,n=t.titleBlock;e?(he.mergeIf(e,ae.global.title),n?(cn.configure(t,n,e),n.options=e):jt(t,e)):n&&(cn.removeBox(t,n),delete t.titleBlock)}};vr.filler=cr,vr.legend=yr,vr.title=br,Dn.helpers=he,function(){function t(t,e,n){var r;return"string"==typeof t?(r=parseInt(t,10),-1!==t.indexOf("%")&&(r=r/100*e.parentNode[n])):r=t,r}function e(t){return void 0!==t&&null!==t&&"none"!==t}function n(n,r,i){var o=document.defaultView,s=he._getParentNode(n),a=o.getComputedStyle(n)[r],u=o.getComputedStyle(s)[r],l=e(a),c=e(u),d=Number.POSITIVE_INFINITY;return l||c?Math.min(l?t(a,n,i):d,c?t(u,s,i):d):"none"}he.where=function(t,e){if(he.isArray(t)&&Array.prototype.filter)return t.filter(e);var n=[];return he.each(t,function(t){e(t)&&n.push(t)}),n},he.findIndex=Array.prototype.findIndex?function(t,e,n){return t.findIndex(e,n)}:function(t,e,n){n=void 0===n?t:n;for(var r=0,i=t.length;r<i;++r)if(e.call(n,t[r],r,t))return r;return-1},he.findNextWhere=function(t,e,n){he.isNullOrUndef(n)&&(n=-1);for(var r=n+1;r<t.length;r++){var i=t[r];if(e(i))return i}},he.findPreviousWhere=function(t,e,n){he.isNullOrUndef(n)&&(n=t.length);for(var r=n-1;r>=0;r--){var i=t[r];if(e(i))return i}},he.isNumber=function(t){return!isNaN(parseFloat(t))&&isFinite(t)},he.almostEquals=function(t,e,n){return Math.abs(t-e)<n},he.almostWhole=function(t,e){var n=Math.round(t);return n-e<=t&&n+e>=t},he.max=function(t){return t.reduce(function(t,e){return isNaN(e)?t:Math.max(t,e)},Number.NEGATIVE_INFINITY)},he.min=function(t){return t.reduce(function(t,e){return isNaN(e)?t:Math.min(t,e)},Number.POSITIVE_INFINITY)},he.sign=Math.sign?function(t){return Math.sign(t)}:function(t){return 0==(t=+t)||isNaN(t)?t:t>0?1:-1},he.toRadians=function(t){return t*(Math.PI/180)},he.toDegrees=function(t){return t*(180/Math.PI)},he._decimalPlaces=function(t){if(he.isFinite(t)){for(var e=1,n=0;Math.round(t*e)/e!==t;)e*=10,n++;return n}},he.getAngleFromPoint=function(t,e){var n=e.x-t.x,r=e.y-t.y,i=Math.sqrt(n*n+r*r),o=Math.atan2(r,n);return o<-.5*Math.PI&&(o+=2*Math.PI),{angle:o,distance:i}},he.distanceBetweenPoints=function(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))},he.aliasPixel=function(t){return t%2==0?0:.5},he._alignPixel=function(t,e,n){var r=t.currentDevicePixelRatio,i=n/2;return Math.round((e-i)*r)/r+i},he.splineCurve=function(t,e,n,r){var i=t.skip?e:t,o=e,s=n.skip?e:n,a=Math.sqrt(Math.pow(o.x-i.x,2)+Math.pow(o.y-i.y,2)),u=Math.sqrt(Math.pow(s.x-o.x,2)+Math.pow(s.y-o.y,2)),l=a/(a+u),c=u/(a+u),d=r*(l=isNaN(l)?0:l),h=r*(c=isNaN(c)?0:c);return{previous:{x:o.x-d*(s.x-i.x),y:o.y-d*(s.y-i.y)},next:{x:o.x+h*(s.x-i.x),y:o.y+h*(s.y-i.y)}}},he.EPSILON=Number.EPSILON||1e-14,he.splineCurveMonotone=function(t){var e,n,r,i,o=(t||[]).map(function(t){return{model:t._model,deltaK:0,mK:0}}),s=o.length;for(e=0;e<s;++e)if(!(r=o[e]).model.skip){if(n=e>0?o[e-1]:null,(i=e<s-1?o[e+1]:null)&&!i.model.skip){var a=i.model.x-r.model.x;r.deltaK=0!==a?(i.model.y-r.model.y)/a:0}r.mK=!n||n.model.skip?r.deltaK:!i||i.model.skip?n.deltaK:this.sign(n.deltaK)!==this.sign(r.deltaK)?0:(n.deltaK+r.deltaK)/2}var u,l,c,d;for(e=0;e<s-1;++e)i=o[e+1],(r=o[e]).model.skip||i.model.skip||(he.almostEquals(r.deltaK,0,this.EPSILON)?r.mK=i.mK=0:(u=r.mK/r.deltaK,l=i.mK/r.deltaK,(d=Math.pow(u,2)+Math.pow(l,2))<=9||(c=3/Math.sqrt(d),r.mK=u*c*r.deltaK,i.mK=l*c*r.deltaK)));var h;for(e=0;e<s;++e)(r=o[e]).model.skip||(n=e>0?o[e-1]:null,i=e<s-1?o[e+1]:null,n&&!n.model.skip&&(r.model.controlPointPreviousX=r.model.x-(h=(r.model.x-n.model.x)/3),r.model.controlPointPreviousY=r.model.y-h*r.mK),i&&!i.model.skip&&(r.model.controlPointNextX=r.model.x+(h=(i.model.x-r.model.x)/3),r.model.controlPointNextY=r.model.y+h*r.mK))},he.nextItem=function(t,e,n){return n?e>=t.length-1?t[0]:t[e+1]:e>=t.length-1?t[t.length-1]:t[e+1]},he.previousItem=function(t,e,n){return n?e<=0?t[t.length-1]:t[e-1]:e<=0?t[0]:t[e-1]},he.niceNum=function(t,e){var n=Math.floor(he.log10(t)),r=t/Math.pow(10,n);return(e?r<1.5?1:r<3?2:r<7?5:10:r<=1?1:r<=2?2:r<=5?5:10)*Math.pow(10,n)},he.requestAnimFrame="undefined"==typeof window?function(t){t()}:window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(t){return window.setTimeout(t,1e3/60)},he.getRelativePosition=function(t,e){var n,r,i=t.originalEvent||t,o=t.target||t.srcElement,s=o.getBoundingClientRect(),a=i.touches;a&&a.length>0?(n=a[0].clientX,r=a[0].clientY):(n=i.clientX,r=i.clientY);var u=parseFloat(he.getStyle(o,"padding-left")),l=parseFloat(he.getStyle(o,"padding-top")),c=parseFloat(he.getStyle(o,"padding-right")),d=parseFloat(he.getStyle(o,"padding-bottom")),h=s.right-s.left-u-c,f=s.bottom-s.top-l-d;return n=Math.round((n-s.left-u)/h*o.width/e.currentDevicePixelRatio),r=Math.round((r-s.top-l)/f*o.height/e.currentDevicePixelRatio),{x:n,y:r}},he.getConstraintWidth=function(t){return n(t,"max-width","clientWidth")},he.getConstraintHeight=function(t){return n(t,"max-height","clientHeight")},he._calculatePadding=function(t,e,n){return(e=he.getStyle(t,e)).indexOf("%")>-1?n*parseInt(e,10)/100:parseInt(e,10)},he._getParentNode=function(t){var e=t.parentNode;return e&&"[object ShadowRoot]"===e.toString()&&(e=e.host),e},he.getMaximumWidth=function(t){var e=he._getParentNode(t);if(!e)return t.clientWidth;var n=e.clientWidth,r=n-he._calculatePadding(e,"padding-left",n)-he._calculatePadding(e,"padding-right",n),i=he.getConstraintWidth(t);return isNaN(i)?r:Math.min(r,i)},he.getMaximumHeight=function(t){var e=he._getParentNode(t);if(!e)return t.clientHeight;var n=e.clientHeight,r=n-he._calculatePadding(e,"padding-top",n)-he._calculatePadding(e,"padding-bottom",n),i=he.getConstraintHeight(t);return isNaN(i)?r:Math.min(r,i)},he.getStyle=function(t,e){return t.currentStyle?t.currentStyle[e]:document.defaultView.getComputedStyle(t,null).getPropertyValue(e)},he.retinaScale=function(t,e){var n=t.currentDevicePixelRatio=e||"undefined"!=typeof window&&window.devicePixelRatio||1;if(1!==n){var r=t.canvas,i=t.height,o=t.width;r.height=i*n,r.width=o*n,t.ctx.scale(n,n),r.style.height||r.style.width||(r.style.height=i+"px",r.style.width=o+"px")}},he.fontString=function(t,e,n){return e+" "+t+"px "+n},he.longestText=function(t,e,n,r){var i=(r=r||{}).data=r.data||{},o=r.garbageCollect=r.garbageCollect||[];r.font!==e&&(i=r.data={},o=r.garbageCollect=[],r.font=e),t.font=e;var s,a,u,l,c,d=0,h=n.length;for(s=0;s<h;s++)if(void 0!==(l=n[s])&&null!==l&&!0!==he.isArray(l))d=he.measureText(t,i,o,d,l);else if(he.isArray(l))for(a=0,u=l.length;a<u;a++)void 0===(c=l[a])||null===c||he.isArray(c)||(d=he.measureText(t,i,o,d,c));var f=o.length/2;if(f>n.length){for(s=0;s<f;s++)delete i[o[s]];o.splice(0,f)}return d},he.measureText=function(t,e,n,r,i){var o=e[i];return o||(o=e[i]=t.measureText(i).width,n.push(i)),o>r&&(r=o),r},he.numberOfLabelLines=function(t){var e=1;return he.each(t,function(t){he.isArray(t)&&t.length>e&&(e=t.length)}),e},he.color=Gt?function(t){return t instanceof CanvasGradient&&(t=ae.global.defaultColor),Gt(t)}:function(t){return console.error("Color.js not found!"),t},he.getHoverColor=function(t){return t instanceof CanvasPattern||t instanceof CanvasGradient?t:he.color(t).saturate(.5).darken(.1).rgbString()}}(),Dn._adapters=kn,Dn.Animation=be,Dn.animationService=we,Dn.controllers=an,Dn.DatasetController=Me,Dn.defaults=ae,Dn.Element=ve,Dn.elements=Re,Dn.Interaction=un,Dn.layouts=cn,Dn.platform=bn,Dn.plugins=wn,Dn.Scale=jn,Dn.scaleService=Sn,Dn.Ticks=Ln,Dn.Tooltip=xn,Dn.helpers.each(ar,function(t,e){Dn.scaleService.registerScaleType(e,t,t._defaults)});for(var wr in vr)vr.hasOwnProperty(wr)&&Dn.plugins.register(vr[wr]);Dn.platform.initialize();var Sr=Dn;return"undefined"!=typeof window&&(window.Chart=Dn),Dn.Chart=Dn,Dn.Legend=vr.legend._element,Dn.Title=vr.title._element,Dn.pluginService=Dn.plugins,Dn.PluginBase=Dn.Element.extend({}),Dn.canvasHelpers=Dn.helpers.canvas,Dn.layoutService=Dn.layouts,Dn.LinearScaleBase=Bn,Dn.helpers.each(["Bar","Bubble","Doughnut","Line","PolarArea","Radar","Scatter"],function(t){Dn[t]=function(e,n){return new Dn(e,Dn.helpers.merge(n||{},{type:t.charAt(0).toLowerCase()+t.slice(1)}))}}),Sr})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(243);e.RecaptchaComponent=r.RecaptchaComponent;var i=n(131);e.RecaptchaLoaderService=i.RecaptchaLoaderService,e.RECAPTCHA_LANGUAGE=i.RECAPTCHA_LANGUAGE,e.RECAPTCHA_BASE_URL=i.RECAPTCHA_BASE_URL,e.RECAPTCHA_NONCE=i.RECAPTCHA_NONCE;var o=n(352);e.RecaptchaModule=o.RecaptchaModule;var s=n(227);e.RECAPTCHA_SETTINGS=s.RECAPTCHA_SETTINGS;var a=n(1219);e.RecaptchaV3Module=a.RecaptchaV3Module;var u=n(657);e.ReCaptchaV3Service=u.ReCaptchaV3Service,e.RECAPTCHA_V3_SITE_KEY=u.RECAPTCHA_V3_SITE_KEY},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(657);e.RecaptchaV3Module=function(){function t(){}return t.decorators=[{type:r.NgModule,args:[{providers:[i.ReCaptchaV3Service]}]}],t}()},function(t,e,n){!function(t,n){n(e)}(0,function(t){"use strict";function e(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function n(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}var r,i,o,s,a,u,l,c,d,h,f,p={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},m={duration:.5,overwrite:!1,delay:0},_=1e-8,g=2*Math.PI,v=g/4,y=0,b=Math.sqrt,w=Math.cos,S=Math.sin,T=function(t){return"string"==typeof t},E=function(t){return"function"==typeof t},M=function(t){return"number"==typeof t},x=function(t){return void 0===t},C=function(t){return"object"==typeof t},O=function(t){return!1!==t},D=function(){return"undefined"!=typeof window},k=function(t){return E(t)||T(t)},L="function"==typeof ArrayBuffer&&ArrayBuffer.isView||function(){},A=Array.isArray,I=/(?:-?\.?\d|\.)+/gi,P=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,R=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,N=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,j=/[+-]=-?[.\d]+/,Y=/[^,'"\[\]\s]+/gi,F=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,H={},B={},V=function(t){return(B=gt(t,H))&&mn},z=function(t,e){return console.warn("Invalid property",t,"set to",e,"Missing plugin? gsap.registerPlugin()")},W=function(t,e){return!e&&console.warn(t)},U=function(t,e){return t&&(H[t]=e)&&B&&(B[t]=e)||H},q=function(){return 0},G={suppressEvents:!0,isStart:!0,kill:!1},X={suppressEvents:!0,kill:!1},K={suppressEvents:!0},Z={},$=[],J={},Q={},tt={},et=30,nt=[],rt="",it=function(t){var e,n,r=t[0];if(C(r)||E(r)||(t=[t]),!(e=(r._gsap||{}).harness)){for(n=nt.length;n--&&!nt[n].targetTest(r););e=nt[n]}for(n=t.length;n--;)t[n]&&(t[n]._gsap||(t[n]._gsap=new De(t[n],e)))||t.splice(n,1);return t},ot=function(t){return t._gsap||it(Gt(t))[0]._gsap},st=function(t,e,n){return(n=t[e])&&E(n)?t[e]():x(n)&&t.getAttribute&&t.getAttribute(e)||n},at=function(t,e){return(t=t.split(",")).forEach(e)||t},ut=function(t){return Math.round(1e5*t)/1e5||0},lt=function(t){return Math.round(1e7*t)/1e7||0},ct=function(t,e){var n=e.charAt(0),r=parseFloat(e.substr(2));return t=parseFloat(t),"+"===n?t+r:"-"===n?t-r:"*"===n?t*r:t/r},dt=function(t,e){for(var n=e.length,r=0;t.indexOf(e[r])<0&&++r<n;);return r<n},ht=function(){var t,e,n=$.length,r=$.slice(0);for(J={},$.length=0,t=0;t<n;t++)(e=r[t])&&e._lazy&&(e.render(e._lazy[0],e._lazy[1],!0)._lazy=0)},ft=function(t,e,n,r){$.length&&!i&&ht(),t.render(e,n,r||i&&e<0&&(t._initted||t._startAt)),$.length&&!i&&ht()},pt=function(t){var e=parseFloat(t);return(e||0===e)&&(t+"").match(Y).length<2?e:T(t)?t.trim():t},mt=function(t){return t},_t=function(t,e){for(var n in e)n in t||(t[n]=e[n]);return t},gt=function(t,e){for(var n in e)t[n]=e[n];return t},vt=function t(e,n){for(var r in n)"__proto__"!==r&&"constructor"!==r&&"prototype"!==r&&(e[r]=C(n[r])?t(e[r]||(e[r]={}),n[r]):n[r]);return e},yt=function(t,e){var n,r={};for(n in t)n in e||(r[n]=t[n]);return r},bt=function(t){var e=t.parent||s,n=t.keyframes?function(t){return function(e,n){for(var r in n)r in e||"duration"===r&&t||"ease"===r||(e[r]=n[r])}}(A(t.keyframes)):_t;if(O(t.inherit))for(;e;)n(t,e.vars.defaults),e=e.parent||e._dp;return t},wt=function(t,e,n,r,i){void 0===n&&(n="_first"),void 0===r&&(r="_last");var o,s=t[r];if(i)for(o=e[i];s&&s[i]>o;)s=s._prev;return s?(e._next=s._next,s._next=e):(e._next=t[n],t[n]=e),e._next?e._next._prev=e:t[r]=e,e._prev=s,e.parent=e._dp=t,e},St=function(t,e,n,r){void 0===n&&(n="_first"),void 0===r&&(r="_last");var i=e._prev,o=e._next;i?i._next=o:t[n]===e&&(t[n]=o),o?o._prev=i:t[r]===e&&(t[r]=i),e._next=e._prev=e.parent=null},Tt=function(t,e){t.parent&&(!e||t.parent.autoRemoveChildren)&&t.parent.remove&&t.parent.remove(t),t._act=0},Et=function(t,e){if(t&&(!e||e._end>t._dur||e._start<0))for(var n=t;n;)n._dirty=1,n=n.parent;return t},Mt=function(t,e,n,r){return t._startAt&&(i?t._startAt.revert(X):t.vars.immediateRender&&!t.vars.autoRevert||t._startAt.render(e,!0,r))},xt=function t(e){return!e||e._ts&&t(e.parent)},Ct=function(t){return t._repeat?Ot(t._tTime,t=t.duration()+t._rDelay)*t:0},Ot=function(t,e){var n=Math.floor(t/=e);return t&&n===t?n-1:n},Dt=function(t,e){return(t-e._start)*e._ts+(e._ts>=0?0:e._dirty?e.totalDuration():e._tDur)},kt=function(t){return t._end=lt(t._start+(t._tDur/Math.abs(t._ts||t._rts||_)||0))},Lt=function(t,e){var n=t._dp;return n&&n.smoothChildTiming&&t._ts&&(t._start=lt(n._time-(t._ts>0?e/t._ts:((t._dirty?t.totalDuration():t._tDur)-e)/-t._ts)),kt(t),n._dirty||Et(n,t)),t},At=function(t,e){var n;if((e._time||!e._dur&&e._initted||e._start<t._time&&(e._dur||!e.add))&&(n=Dt(t.rawTime(),e),(!e._dur||zt(0,e.totalDuration(),n)-e._tTime>_)&&e.render(n,!0)),Et(t,e)._dp&&t._initted&&t._time>=t._dur&&t._ts){if(t._dur<t.duration())for(n=t;n._dp;)n.rawTime()>=0&&n.totalTime(n._tTime),n=n._dp;t._zTime=-_}},It=function(t,e,n,r){return e.parent&&Tt(e),e._start=lt((M(n)?n:n||t!==s?Ht(t,n,e):t._time)+e._delay),e._end=lt(e._start+(e.totalDuration()/Math.abs(e.timeScale())||0)),wt(t,e,"_first","_last",t._sort?"_start":0),Nt(e)||(t._recent=e),r||At(t,e),t._ts<0&&Lt(t,t._tTime),t},Pt=function(t,e){return(H.ScrollTrigger||z("scrollTrigger",e))&&H.ScrollTrigger.create(e,t)},Rt=function(t,e,n,r,o){return Ne(t,e,o),t._initted?!n&&t._pt&&!i&&(t._dur&&!1!==t.vars.lazy||!t._dur&&t.vars.lazy)&&d!==_e.frame?($.push(t),t._lazy=[o,r],1):void 0:1},Nt=function(t){var e=t.data;return"isFromStart"===e||"isStart"===e},jt=function(t,e,n,r){var i=t._repeat,o=lt(e)||0,s=t._tTime/t._tDur;return s&&!r&&(t._time*=o/t._dur),t._dur=o,t._tDur=i?i<0?1e10:lt(o*(i+1)+t._rDelay*i):o,s>0&&!r&&Lt(t,t._tTime=t._tDur*s),t.parent&&kt(t),n||Et(t.parent,t),t},Yt=function(t){return t instanceof Le?Et(t):jt(t,t._dur)},Ft={_start:0,endTime:q,totalDuration:q},Ht=function t(e,n,r){var i,o,s,a=e.labels,u=e._recent||Ft,l=e.duration()>=1e8?u.endTime(!1):e._dur;return T(n)&&(isNaN(n)||n in a)?(o=n.charAt(0),s="%"===n.substr(-1),i=n.indexOf("="),"<"===o||">"===o?(i>=0&&(n=n.replace(/=/,"")),("<"===o?u._start:u.endTime(u._repeat>=0))+(parseFloat(n.substr(1))||0)*(s?(i<0?u:r).totalDuration()/100:1)):i<0?(n in a||(a[n]=l),a[n]):(o=parseFloat(n.charAt(i-1)+n.substr(i+1)),s&&r&&(o=o/100*(A(r)?r[0]:r).totalDuration()),i>1?t(e,n.substr(0,i-1),r)+o:l+o)):null==n?l:+n},Bt=function(t,e,n){var r,i,o=M(e[1]),s=(o?2:1)+(t<2?0:1),a=e[s];if(o&&(a.duration=e[1]),a.parent=n,t){for(r=a,i=n;i&&!("immediateRender"in r);)r=i.vars.defaults||{},i=O(i.vars.inherit)&&i.parent;a.immediateRender=O(r.immediateRender),t<2?a.runBackwards=1:a.startAt=e[s-1]}return new Be(e[0],a,e[s+1])},Vt=function(t,e){return t||0===t?e(t):e},zt=function(t,e,n){return n<t?t:n>e?e:n},Wt=function(t,e){return T(t)&&(e=F.exec(t))?e[1]:""},Ut=[].slice,qt=function(t,e){return t&&C(t)&&"length"in t&&(!e&&!t.length||t.length-1 in t&&C(t[0]))&&!t.nodeType&&t!==a},Gt=function(t,e,n){return o&&!e&&o.selector?o.selector(t):!T(t)||n||!u&&ge()?A(t)?function(t,e,n){return void 0===n&&(n=[]),t.forEach(function(t){var r;return T(t)&&!e||qt(t,1)?(r=n).push.apply(r,Gt(t)):n.push(t)})||n}(t,n):qt(t)?Ut.call(t,0):t?[t]:[]:Ut.call((e||l).querySelectorAll(t),0)},Xt=function(t){return t=Gt(t)[0]||W("Invalid scope")||{},function(e){var n=t.current||t.nativeElement||t;return Gt(e,n.querySelectorAll?n:n===t?W("Invalid scope")||l.createElement("div"):t)}},Kt=function(t){return t.sort(function(){return.5-Math.random()})},Zt=function(t){if(E(t))return t;var e=C(t)?t:{each:t},n=Ee(e.ease),r=e.from||0,i=parseFloat(e.base)||0,o={},s=r>0&&r<1,a=isNaN(r)||s,u=e.axis,l=r,c=r;return T(r)?l=c={center:.5,edges:.5,end:1}[r]||0:!s&&a&&(l=r[0],c=r[1]),function(t,s,d){var h,f,p,m,_,g,v,y,w,S=(d||e).length,T=o[S];if(!T){if(!(w="auto"===e.grid?0:(e.grid||[1,1e8])[1])){for(v=-1e8;v<(v=d[w++].getBoundingClientRect().left)&&w<S;);w<S&&w--}for(T=o[S]=[],h=a?Math.min(w,S)*l-.5:r%w,f=1e8===w?0:a?S*c/w-.5:r/w|0,v=0,y=1e8,g=0;g<S;g++)p=g%w-h,m=f-(g/w|0),T[g]=_=u?Math.abs("y"===u?m:p):b(p*p+m*m),_>v&&(v=_),_<y&&(y=_);"random"===r&&Kt(T),T.max=v-y,T.min=y,T.v=S=(parseFloat(e.amount)||parseFloat(e.each)*(w>S?S-1:u?"y"===u?S/w:w:Math.max(w,S/w))||0)*("edges"===r?-1:1),T.b=S<0?i-S:i,T.u=Wt(e.amount||e.each)||0,n=n&&S<0?Se(n):n}return S=(T[t]-T.min)/T.max||0,lt(T.b+(n?n(S):S)*T.v)+T.u}},$t=function(t){var e=Math.pow(10,((t+"").split(".")[1]||"").length);return function(n){var r=lt(Math.round(parseFloat(n)/t)*t*e);return(r-r%1)/e+(M(n)?0:Wt(n))}},Jt=function(t,e){var n,r,i=A(t);return!i&&C(t)&&(n=i=t.radius||1e8,t.values?(t=Gt(t.values),(r=!M(t[0]))&&(n*=n)):t=$t(t.increment)),Vt(e,i?E(t)?function(e){return r=t(e),Math.abs(r-e)<=n?r:e}:function(e){for(var i,o,s=parseFloat(r?e.x:e),a=parseFloat(r?e.y:0),u=1e8,l=0,c=t.length;c--;)(i=r?(i=t[c].x-s)*i+(o=t[c].y-a)*o:Math.abs(t[c]-s))<u&&(u=i,l=c);return l=!n||u<=n?t[l]:e,r||l===e||M(e)?l:l+Wt(e)}:$t(t))},Qt=function(t,e,n,r){return Vt(A(t)?!e:!0===n?!!(n=0):!r,function(){return A(t)?t[~~(Math.random()*t.length)]:(n=n||1e-5)&&(r=n<1?Math.pow(10,(n+"").length-2):1)&&Math.floor(Math.round((t-n/2+Math.random()*(e-t+.99*n))/n)*n*r)/r})},te=function(t,e,n){return Vt(n,function(n){return t[~~e(n)]})},ee=function(t){for(var e,n,r,i,o=0,s="";~(e=t.indexOf("random(",o));)r=t.indexOf(")",e),i="["===t.charAt(e+7),n=t.substr(e+7,r-e-7).match(i?Y:I),s+=t.substr(o,e-o)+Qt(i?n:+n[0],i?0:+n[1],+n[2]||1e-5),o=r+1;return s+t.substr(o,t.length-o)},ne=function(t,e,n,r,i){var o=e-t,s=r-n;return Vt(i,function(e){return n+((e-t)/o*s||0)})},re=function(t,e,n){var r,i,o,s=t.labels,a=1e8;for(r in s)(i=s[r]-e)<0==!!n&&i&&a>(i=Math.abs(i))&&(o=r,a=i);return o},ie=function(t,e,n){var r,i,s,a=t.vars,u=a[e],l=o,c=t._ctx;if(u)return r=a[e+"Params"],i=a.callbackScope||t,n&&$.length&&ht(),c&&(o=c),s=r?u.apply(i,r):u.call(i),o=l,s},oe=function(t){return Tt(t),t.scrollTrigger&&t.scrollTrigger.kill(!!i),t.progress()<1&&ie(t,"onInterrupt"),t},se=[],ae=function(t){if(t)if(t=!t.name&&t.default||t,D()||t.headless){var e=t.name,n=E(t),r=e&&!n&&t.init?function(){this._props=[]}:t,i={init:q,render:Ze,add:Pe,kill:Je,modifier:$e,rawVars:0},o={targetTest:0,get:0,getSetter:qe,aliases:{},register:0};if(ge(),t!==r){if(Q[e])return;_t(r,_t(yt(t,i),o)),gt(r.prototype,gt(i,yt(t,o))),Q[r.prop=e]=r,t.targetTest&&(nt.push(r),Z[e]=1),e=("css"===e?"CSS":e.charAt(0).toUpperCase()+e.substr(1))+"Plugin"}U(e,r),t.register&&t.register(mn,r,en)}else se.push(t)},ue={aqua:[0,255,255],lime:[0,255,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,255],navy:[0,0,128],white:[255,255,255],olive:[128,128,0],yellow:[255,255,0],orange:[255,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[255,0,0],pink:[255,192,203],cyan:[0,255,255],transparent:[255,255,255,0]},le=function(t,e,n){return 255*(6*(t+=t<0?1:t>1?-1:0)<1?e+(n-e)*t*6:t<.5?n:3*t<2?e+(n-e)*(2/3-t)*6:e)+.5|0},ce=function(t,e,n){var r,i,o,s,a,u,l,c,d,h,f=t?M(t)?[t>>16,t>>8&255,255&t]:0:ue.black;if(!f){if(","===t.substr(-1)&&(t=t.substr(0,t.length-1)),ue[t])f=ue[t];else if("#"===t.charAt(0)){if(t.length<6&&(t="#"+(r=t.charAt(1))+r+(i=t.charAt(2))+i+(o=t.charAt(3))+o+(5===t.length?t.charAt(4)+t.charAt(4):"")),9===t.length)return f=parseInt(t.substr(1,6),16),[f>>16,f>>8&255,255&f,parseInt(t.substr(7),16)/255];f=[(t=parseInt(t.substr(1),16))>>16,t>>8&255,255&t]}else if("hsl"===t.substr(0,3))if(f=h=t.match(I),e){if(~t.indexOf("="))return f=t.match(P),n&&f.length<4&&(f[3]=1),f}else s=+f[0]%360/360,a=+f[1]/100,r=2*(u=+f[2]/100)-(i=u<=.5?u*(a+1):u+a-u*a),f.length>3&&(f[3]*=1),f[0]=le(s+1/3,r,i),f[1]=le(s,r,i),f[2]=le(s-1/3,r,i);else f=t.match(I)||ue.transparent;f=f.map(Number)}return e&&!h&&(r=f[0]/255,i=f[1]/255,o=f[2]/255,u=((l=Math.max(r,i,o))+(c=Math.min(r,i,o)))/2,l===c?s=a=0:(d=l-c,a=u>.5?d/(2-l-c):d/(l+c),s=l===r?(i-o)/d+(i<o?6:0):l===i?(o-r)/d+2:(r-i)/d+4,s*=60),f[0]=~~(s+.5),f[1]=~~(100*a+.5),f[2]=~~(100*u+.5)),n&&f.length<4&&(f[3]=1),f},de=function(t){var e=[],n=[],r=-1;return t.split(fe).forEach(function(t){var i=t.match(R)||[];e.push.apply(e,i),n.push(r+=i.length+1)}),e.c=n,e},he=function(t,e,n){var r,i,o,s,a="",u=(t+a).match(fe),l=e?"hsla(":"rgba(",c=0;if(!u)return t;if(u=u.map(function(t){return(t=ce(t,e,1))&&l+(e?t[0]+","+t[1]+"%,"+t[2]+"%,"+t[3]:t.join(","))+")"}),n&&(o=de(t),(r=n.c).join(a)!==o.c.join(a)))for(s=(i=t.replace(fe,"1").split(R)).length-1;c<s;c++)a+=i[c]+(~r.indexOf(c)?u.shift()||l+"0,0,0,0)":(o.length?o:u.length?u:n).shift());if(!i)for(s=(i=t.split(fe)).length-1;c<s;c++)a+=i[c]+u[c];return a+i[s]},fe=function(){var t,e="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b";for(t in ue)e+="|"+t+"\\b";return new RegExp(e+")","gi")}(),pe=/hsl[a]?\(/,me=function(t){var e,n=t.join(" ");if(fe.lastIndex=0,fe.test(n))return e=pe.test(n),t[1]=he(t[1],e),t[0]=he(t[0],e,de(t[1])),!0},_e=function(){var t,e,n,r,i,o,s=Date.now,d=500,h=33,p=s(),m=p,_=1e3/240,g=_,v=[],y=function n(a){var u,l,c,f,y=s()-m,b=!0===a;if((y>d||y<0)&&(p+=y-h),m+=y,c=m-p,((u=c-g)>0||b)&&(f=++r.frame,i=c-1e3*r.time,r.time=c/=1e3,g+=u+(u>=_?4:_-u),l=1),b||(t=e(n)),l)for(o=0;o<v.length;o++)v[o](c,i,f,a)};return r={time:0,frame:0,tick:function(){y(!0)},deltaRatio:function(t){return i/(1e3/(t||60))},wake:function(){c&&(!u&&D()&&(a=u=window,l=a.document||{},H.gsap=mn,(a.gsapVersions||(a.gsapVersions=[])).push(mn.version),V(B||a.GreenSockGlobals||!a.gsap&&a||{}),se.forEach(ae)),n="undefined"!=typeof requestAnimationFrame&&requestAnimationFrame,t&&r.sleep(),e=n||function(t){return setTimeout(t,g-1e3*r.time+1|0)},f=1,y(2))},sleep:function(){(n?cancelAnimationFrame:clearTimeout)(t),f=0,e=q},lagSmoothing:function(t,e){d=t||1/0,h=Math.min(e||33,d)},fps:function(t){g=1e3*r.time+(_=1e3/(t||240))},add:function(t,e,n){var i=e?function(e,n,o,s){t(e,n,o,s),r.remove(i)}:t;return r.remove(t),v[n?"unshift":"push"](i),ge(),i},remove:function(t,e){~(e=v.indexOf(t))&&v.splice(e,1)&&o>=e&&o--},_listeners:v}}(),ge=function(){return!f&&_e.wake()},ve={},ye=/^[\d.\-M][\d.\-,\s]/,be=/["']/g,we=function(t){var e=(t+"").split("("),n=ve[e[0]];return n&&e.length>1&&n.config?n.config.apply(null,~t.indexOf("{")?[function(t){for(var e,n,r,i={},o=t.substr(1,t.length-3).split(":"),s=o[0],a=1,u=o.length;a<u;a++)n=o[a],e=a!==u-1?n.lastIndexOf(","):n.length,r=n.substr(0,e),i[s]=isNaN(r)?r.replace(be,"").trim():+r,s=n.substr(e+1).trim();return i}(e[1])]:function(t){var e=t.indexOf("(")+1,n=t.indexOf(")"),r=t.indexOf("(",e);return t.substring(e,~r&&r<n?t.indexOf(")",n+1):n)}(t).split(",").map(pt)):ve._CE&&ye.test(t)?ve._CE("",t):n},Se=function(t){return function(e){return 1-t(1-e)}},Te=function t(e,n){for(var r,i=e._first;i;)i instanceof Le?t(i,n):!i.vars.yoyoEase||i._yoyo&&i._repeat||i._yoyo===n||(i.timeline?t(i.timeline,n):(r=i._ease,i._ease=i._yEase,i._yEase=r,i._yoyo=n)),i=i._next},Ee=function(t,e){return t?(E(t)?t:ve[t]||we(t))||e:e},Me=function(t,e,n,r){void 0===n&&(n=function(t){return 1-e(1-t)}),void 0===r&&(r=function(t){return t<.5?e(2*t)/2:1-e(2*(1-t))/2});var i,o={easeIn:e,easeOut:n,easeInOut:r};return at(t,function(t){ve[t]=H[t]=o,ve[i=t.toLowerCase()]=n;for(var e in o)ve[i+("easeIn"===e?".in":"easeOut"===e?".out":".inOut")]=ve[t+"."+e]=o[e]}),o},xe=function(t){return function(e){return e<.5?(1-t(1-2*e))/2:.5+t(2*(e-.5))/2}},Ce=function t(e,n,r){var i=n>=1?n:1,o=(r||(e?.3:.45))/(n<1?n:1),s=o/g*(Math.asin(1/i)||0),a=function(t){return 1===t?1:i*Math.pow(2,-10*t)*S((t-s)*o)+1},u="out"===e?a:"in"===e?function(t){return 1-a(1-t)}:xe(a);return o=g/o,u.config=function(n,r){return t(e,n,r)},u},Oe=function t(e,n){void 0===n&&(n=1.70158);var r=function(t){return t?--t*t*((n+1)*t+n)+1:0},i="out"===e?r:"in"===e?function(t){return 1-r(1-t)}:xe(r);return i.config=function(n){return t(e,n)},i};at("Linear,Quad,Cubic,Quart,Quint,Strong",function(t,e){var n=e<5?e+1:e;Me(t+",Power"+(n-1),e?function(t){return Math.pow(t,n)}:function(t){return t},function(t){return 1-Math.pow(1-t,n)},function(t){return t<.5?Math.pow(2*t,n)/2:1-Math.pow(2*(1-t),n)/2})}),ve.Linear.easeNone=ve.none=ve.Linear.easeIn,Me("Elastic",Ce("in"),Ce("out"),Ce()),function(t,e){var n=function(t){return t<1/2.75?7.5625*t*t:t<1/2.75*2?7.5625*Math.pow(t-1.5/2.75,2)+.75:t<1/2.75*2.5?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*Math.pow(t-2.625/2.75,2)+.984375};Me("Bounce",function(t){return 1-n(1-t)},n)}(),Me("Expo",function(t){return t?Math.pow(2,10*(t-1)):0}),Me("Circ",function(t){return-(b(1-t*t)-1)}),Me("Sine",function(t){return 1===t?1:1-w(t*v)}),Me("Back",Oe("in"),Oe("out"),Oe()),ve.SteppedEase=ve.steps=H.SteppedEase={config:function(t,e){void 0===t&&(t=1);var n=1/t,r=t+(e?0:1),i=e?1:0,o=1-_;return function(t){return((r*zt(0,o,t)|0)+i)*n}}},m.ease=ve["quad.out"],at("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(t){return rt+=t+","+t+"Params,"});var De=function(t,e){this.id=y++,t._gsap=this,this.target=t,this.harness=e,this.get=e?e.get:st,this.set=e?e.getSetter:qe},ke=function(){function t(t){this.vars=t,this._delay=+t.delay||0,(this._repeat=t.repeat===1/0?-2:t.repeat||0)&&(this._rDelay=t.repeatDelay||0,this._yoyo=!!t.yoyo||!!t.yoyoEase),this._ts=1,jt(this,+t.duration,1,1),this.data=t.data,o&&(this._ctx=o,o.data.push(this)),f||_e.wake()}var e=t.prototype;return e.delay=function(t){return t||0===t?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+t-this._delay),this._delay=t,this):this._delay},e.duration=function(t){return arguments.length?this.totalDuration(this._repeat>0?t+(t+this._rDelay)*this._repeat:t):this.totalDuration()&&this._dur},e.totalDuration=function(t){return arguments.length?(this._dirty=0,jt(this,this._repeat<0?t:(t-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(t,e){if(ge(),!arguments.length)return this._tTime;var n=this._dp;if(n&&n.smoothChildTiming&&this._ts){for(Lt(this,t),!n._dp||n.parent||At(n,this);n&&n.parent;)n.parent._time!==n._start+(n._ts>=0?n._tTime/n._ts:(n.totalDuration()-n._tTime)/-n._ts)&&n.totalTime(n._tTime,!0),n=n.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&t<this._tDur||this._ts<0&&t>0||!this._tDur&&!t)&&It(this._dp,this,this._start-this._delay)}return(this._tTime!==t||!this._dur&&!e||this._initted&&Math.abs(this._zTime)===_||!t&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=t),ft(this,t,e)),this},e.time=function(t,e){return arguments.length?this.totalTime(Math.min(this.totalDuration(),t+Ct(this))%(this._dur+this._rDelay)||(t?this._dur:0),e):this._time},e.totalProgress=function(t,e){return arguments.length?this.totalTime(this.totalDuration()*t,e):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>0?1:0},e.progress=function(t,e){return arguments.length?this.totalTime(this.duration()*(!this._yoyo||1&this.iteration()?t:1-t)+Ct(this),e):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},e.iteration=function(t,e){var n=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(t-1)*n,e):this._repeat?Ot(this._tTime,n)+1:1},e.timeScale=function(t,e){if(!arguments.length)return this._rts===-_?0:this._rts;if(this._rts===t)return this;var n=this.parent&&this._ts?Dt(this.parent._time,this):this._tTime;return this._rts=+t||0,this._ts=this._ps||t===-_?0:this._rts,this.totalTime(zt(-Math.abs(this._delay),this._tDur,n),!1!==e),kt(this),function(t){for(var e=t.parent;e&&e.parent;)e._dirty=1,e.totalDuration(),e=e.parent;return t}(this)},e.paused=function(t){return arguments.length?(this._ps!==t&&(this._ps=t,t?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(ge(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,1===this.progress()&&Math.abs(this._zTime)!==_&&(this._tTime-=_)))),this):this._ps},e.startTime=function(t){if(arguments.length){this._start=t;var e=this.parent||this._dp;return e&&(e._sort||!this.parent)&&It(e,this,t-this._delay),this}return this._start},e.endTime=function(t){return this._start+(O(t)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},e.rawTime=function(t){var e=this.parent||this._dp;return e?t&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?Dt(e.rawTime(t),this):this._tTime:this._tTime},e.revert=function(t){void 0===t&&(t=K);var e=i;return i=t,(this._initted||this._startAt)&&(this.timeline&&this.timeline.revert(t),this.totalTime(-.01,t.suppressEvents)),"nested"!==this.data&&!1!==t.kill&&this.kill(),i=e,this},e.globalTime=function(t){for(var e=this,n=arguments.length?t:e.rawTime();e;)n=e._start+n/(Math.abs(e._ts)||1),e=e._dp;return!this.parent&&this._sat?this._sat.globalTime(t):n},e.repeat=function(t){return arguments.length?(this._repeat=t===1/0?-2:t,Yt(this)):-2===this._repeat?1/0:this._repeat},e.repeatDelay=function(t){if(arguments.length){var e=this._time;return this._rDelay=t,Yt(this),e?this.time(e):this}return this._rDelay},e.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},e.seek=function(t,e){return this.totalTime(Ht(this,t),O(e))},e.restart=function(t,e){return this.play().totalTime(t?-this._delay:0,O(e))},e.play=function(t,e){return null!=t&&this.seek(t,e),this.reversed(!1).paused(!1)},e.reverse=function(t,e){return null!=t&&this.seek(t||this.totalDuration(),e),this.reversed(!0).paused(!1)},e.pause=function(t,e){return null!=t&&this.seek(t,e),this.paused(!0)},e.resume=function(){return this.paused(!1)},e.reversed=function(t){return arguments.length?(!!t!==this.reversed()&&this.timeScale(-this._rts||(t?-_:0)),this):this._rts<0},e.invalidate=function(){return this._initted=this._act=0,this._zTime=-_,this},e.isActive=function(){var t,e=this.parent||this._dp,n=this._start;return!(e&&!(this._ts&&this._initted&&e.isActive()&&(t=e.rawTime(!0))>=n&&t<this.endTime(!0)-_))},e.eventCallback=function(t,e,n){var r=this.vars;return arguments.length>1?(e?(r[t]=e,n&&(r[t+"Params"]=n),"onUpdate"===t&&(this._onUpdate=e)):delete r[t],this):r[t]},e.then=function(t){var e=this;return new Promise(function(n){var r=E(t)?t:mt,i=function(){var t=e.then;e.then=null,E(r)&&(r=r(e))&&(r.then||r===e)&&(e.then=t),n(r),e.then=t};e._initted&&1===e.totalProgress()&&e._ts>=0||!e._tTime&&e._ts<0?i():e._prom=i})},e.kill=function(){oe(this)},t}();_t(ke.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-_,_prom:0,_ps:!1,_rts:1});var Le=function(t){function r(e,r){var i;return void 0===e&&(e={}),i=t.call(this,e)||this,i.labels={},i.smoothChildTiming=!!e.smoothChildTiming,i.autoRemoveChildren=!!e.autoRemoveChildren,i._sort=O(e.sortChildren),s&&It(e.parent||s,n(i),r),e.reversed&&i.reverse(),e.paused&&i.paused(!0),e.scrollTrigger&&Pt(n(i),e.scrollTrigger),i}e(r,t);var o=r.prototype;return o.to=function(t,e,n){return Bt(0,arguments,this),this},o.from=function(t,e,n){return Bt(1,arguments,this),this},o.fromTo=function(t,e,n,r){return Bt(2,arguments,this),this},o.set=function(t,e,n){return e.duration=0,e.parent=this,bt(e).repeatDelay||(e.repeat=0),e.immediateRender=!!e.immediateRender,new Be(t,e,Ht(this,n),1),this},o.call=function(t,e,n){return It(this,Be.delayedCall(0,t,e),n)},o.staggerTo=function(t,e,n,r,i,o,s){return n.duration=e,n.stagger=n.stagger||r,n.onComplete=o,n.onCompleteParams=s,n.parent=this,new Be(t,n,Ht(this,i)),this},o.staggerFrom=function(t,e,n,r,i,o,s){return n.runBackwards=1,bt(n).immediateRender=O(n.immediateRender),this.staggerTo(t,e,n,r,i,o,s)},o.staggerFromTo=function(t,e,n,r,i,o,s,a){return r.startAt=n,bt(r).immediateRender=O(r.immediateRender),this.staggerTo(t,e,r,i,o,s,a)},o.render=function(t,e,n){var r,o,a,u,l,c,d,h,f,p,m,g,v=this._time,y=this._dirty?this.totalDuration():this._tDur,b=this._dur,w=t<=0?0:lt(t),S=this._zTime<0!=t<0&&(this._initted||!b);if(this!==s&&w>y&&t>=0&&(w=y),w!==this._tTime||n||S){if(v!==this._time&&b&&(w+=this._time-v,t+=this._time-v),r=w,f=this._start,h=this._ts,c=!h,S&&(b||(v=this._zTime),(t||!e)&&(this._zTime=t)),this._repeat){if(m=this._yoyo,l=b+this._rDelay,this._repeat<-1&&t<0)return this.totalTime(100*l+t,e,n);if(r=lt(w%l),w===y?(u=this._repeat,r=b):((u=~~(w/l))&&u===w/l&&(r=b,u--),r>b&&(r=b)),p=Ot(this._tTime,l),!v&&this._tTime&&p!==u&&this._tTime-p*l-this._dur<=0&&(p=u),m&&1&u&&(r=b-r,g=1),u!==p&&!this._lock){var T=m&&1&p,E=T===(m&&1&u);if(u<p&&(T=!T),v=T?0:w%b?b:w,this._lock=1,this.render(v||(g?0:lt(u*l)),e,!b)._lock=0,this._tTime=w,!e&&this.parent&&ie(this,"onRepeat"),this.vars.repeatRefresh&&!g&&(this.invalidate()._lock=1),v&&v!==this._time||c!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(b=this._dur,y=this._tDur,E&&(this._lock=2,this.render(v=T?b:-1e-4,!0),this.vars.repeatRefresh&&!g&&this.invalidate()),this._lock=0,!this._ts&&!c)return this;Te(this,g)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(d=function(t,e,n){var r;if(n>e)for(r=t._first;r&&r._start<=n;){if("isPause"===r.data&&r._start>e)return r;r=r._next}else for(r=t._last;r&&r._start>=n;){if("isPause"===r.data&&r._start<e)return r;r=r._prev}}(this,lt(v),lt(r)))&&(w-=r-(r=d._start)),this._tTime=w,this._time=r,this._act=!h,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=t,v=0),!v&&r&&!e&&!u&&(ie(this,"onStart"),this._tTime!==w))return this;if(r>=v&&t>=0)for(o=this._first;o;){if(a=o._next,(o._act||r>=o._start)&&o._ts&&d!==o){if(o.parent!==this)return this.render(t,e,n);if(o.render(o._ts>0?(r-o._start)*o._ts:(o._dirty?o.totalDuration():o._tDur)+(r-o._start)*o._ts,e,n),r!==this._time||!this._ts&&!c){d=0,a&&(w+=this._zTime=-_);break}}o=a}else{o=this._last;for(var M=t<0?t:r;o;){if(a=o._prev,(o._act||M<=o._end)&&o._ts&&d!==o){if(o.parent!==this)return this.render(t,e,n);if(o.render(o._ts>0?(M-o._start)*o._ts:(o._dirty?o.totalDuration():o._tDur)+(M-o._start)*o._ts,e,n||i&&(o._initted||o._startAt)),r!==this._time||!this._ts&&!c){d=0,a&&(w+=this._zTime=M?-_:_);break}}o=a}}if(d&&!e&&(this.pause(),d.render(r>=v?0:-_)._zTime=r>=v?1:-1,this._ts))return this._start=f,kt(this),this.render(t,e,n);this._onUpdate&&!e&&ie(this,"onUpdate",!0),(w===y&&this._tTime>=this.totalDuration()||!w&&v)&&(f!==this._start&&Math.abs(h)===Math.abs(this._ts)||this._lock||((t||!b)&&(w===y&&this._ts>0||!w&&this._ts<0)&&Tt(this,1),e||t<0&&!v||!w&&!v&&y||(ie(this,w===y&&t>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(w<y&&this.timeScale()>0)&&this._prom())))}return this},o.add=function(t,e){var n=this;if(M(e)||(e=Ht(this,e,t)),!(t instanceof ke)){if(A(t))return t.forEach(function(t){return n.add(t,e)}),this;if(T(t))return this.addLabel(t,e);if(!E(t))return this;t=Be.delayedCall(0,t)}return this!==t?It(this,t,e):this},o.getChildren=function(t,e,n,r){void 0===t&&(t=!0),void 0===e&&(e=!0),void 0===n&&(n=!0),void 0===r&&(r=-1e8);for(var i=[],o=this._first;o;)o._start>=r&&(o instanceof Be?e&&i.push(o):(n&&i.push(o),t&&i.push.apply(i,o.getChildren(!0,e,n)))),o=o._next;return i},o.getById=function(t){for(var e=this.getChildren(1,1,1),n=e.length;n--;)if(e[n].vars.id===t)return e[n]},o.remove=function(t){return T(t)?this.removeLabel(t):E(t)?this.killTweensOf(t):(St(this,t),t===this._recent&&(this._recent=this._last),Et(this))},o.totalTime=function(e,n){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=lt(_e.time-(this._ts>0?e/this._ts:(this.totalDuration()-e)/-this._ts))),t.prototype.totalTime.call(this,e,n),this._forcing=0,this):this._tTime},o.addLabel=function(t,e){return this.labels[t]=Ht(this,e),this},o.removeLabel=function(t){return delete this.labels[t],this},o.addPause=function(t,e,n){var r=Be.delayedCall(0,e||q,n);return r.data="isPause",this._hasPause=1,It(this,r,Ht(this,t))},o.removePause=function(t){var e=this._first;for(t=Ht(this,t);e;)e._start===t&&"isPause"===e.data&&Tt(e),e=e._next},o.killTweensOf=function(t,e,n){for(var r=this.getTweensOf(t,n),i=r.length;i--;)Ae!==r[i]&&r[i].kill(t,e);return this},o.getTweensOf=function(t,e){for(var n,r=[],i=Gt(t),o=this._first,s=M(e);o;)o instanceof Be?dt(o._targets,i)&&(s?(!Ae||o._initted&&o._ts)&&o.globalTime(0)<=e&&o.globalTime(o.totalDuration())>e:!e||o.isActive())&&r.push(o):(n=o.getTweensOf(i,e)).length&&r.push.apply(r,n),o=o._next;return r},o.tweenTo=function(t,e){e=e||{};var n,r=this,i=Ht(r,t),o=e.startAt,s=e.onStart,a=e.onStartParams,u=e.immediateRender,l=Be.to(r,_t({ease:e.ease||"none",lazy:!1,immediateRender:!1,time:i,overwrite:"auto",duration:e.duration||Math.abs((i-(o&&"time"in o?o.time:r._time))/r.timeScale())||_,onStart:function(){if(r.pause(),!n){var t=e.duration||Math.abs((i-(o&&"time"in o?o.time:r._time))/r.timeScale());l._dur!==t&&jt(l,t,0,1).render(l._time,!0,!0),n=1}s&&s.apply(l,a||[])}},e));return u?l.render(0):l},o.tweenFromTo=function(t,e,n){return this.tweenTo(e,_t({startAt:{time:Ht(this,t)}},n))},o.recent=function(){return this._recent},o.nextLabel=function(t){return void 0===t&&(t=this._time),re(this,Ht(this,t))},o.previousLabel=function(t){return void 0===t&&(t=this._time),re(this,Ht(this,t),1)},o.currentLabel=function(t){return arguments.length?this.seek(t,!0):this.previousLabel(this._time+_)},o.shiftChildren=function(t,e,n){void 0===n&&(n=0);for(var r,i=this._first,o=this.labels;i;)i._start>=n&&(i._start+=t,i._end+=t),i=i._next;if(e)for(r in o)o[r]>=n&&(o[r]+=t);return Et(this)},o.invalidate=function(e){var n=this._first;for(this._lock=0;n;)n.invalidate(e),n=n._next;return t.prototype.invalidate.call(this,e)},o.clear=function(t){void 0===t&&(t=!0);for(var e,n=this._first;n;)e=n._next,this.remove(n),n=e;return this._dp&&(this._time=this._tTime=this._pTime=0),t&&(this.labels={}),Et(this)},o.totalDuration=function(t){var e,n,r,i=0,o=this._last,a=1e8;if(arguments.length)return this.timeScale((this._repeat<0?this.duration():this.totalDuration())/(this.reversed()?-t:t));if(this._dirty){for(r=this.parent;o;)e=o._prev,o._dirty&&o.totalDuration(),(n=o._start)>a&&this._sort&&o._ts&&!this._lock?(this._lock=1,It(this,o,n-o._delay,1)._lock=0):a=n,n<0&&o._ts&&(i-=n,(!r&&!this._dp||r&&r.smoothChildTiming)&&(this._start+=n/this._ts,this._time-=n,this._tTime-=n),this.shiftChildren(-n,!1,-Infinity),a=0),o._end>i&&o._ts&&(i=o._end),o=e;jt(this,this===s&&this._time>i?this._time:i,1,1),this._dirty=0}return this._tDur},r.updateRoot=function(t){if(s._ts&&(ft(s,Dt(t,s)),d=_e.frame),_e.frame>=et){et+=p.autoSleep||120;var e=s._first;if((!e||!e._ts)&&p.autoSleep&&_e._listeners.length<2){for(;e&&!e._ts;)e=e._next;e||_e.sleep()}}},r}(ke);_t(Le.prototype,{_lock:0,_hasPause:0,_forcing:0});var Ae,Ie,Pe=function(t,e,n,r,i,o,s,a,u,l){E(r)&&(r=r(i||0,t,o));var c,d=t[e],h="get"!==n?n:E(d)?u?t[e.indexOf("set")||!E(t["get"+e.substr(3)])?e:"get"+e.substr(3)](u):t[e]():d,f=E(d)?u?We:ze:Ve;if(T(r)&&(~r.indexOf("random(")&&(r=ee(r)),"="===r.charAt(1)&&((c=ct(h,r)+(Wt(h)||0))||0===c)&&(r=c)),!l||h!==r||Ie)return isNaN(h*r)||""===r?(!d&&!(e in t)&&z(e,r),function(t,e,n,r,i,o,s){var a,u,l,c,d,h,f,p,m=new en(this._pt,t,e,0,1,Ke,null,i),_=0,g=0;for(m.b=n,m.e=r,n+="",(f=~(r+="").indexOf("random("))&&(r=ee(r)),o&&(o(p=[n,r],t,e),n=p[0],r=p[1]),u=n.match(N)||[];a=N.exec(r);)c=a[0],d=r.substring(_,a.index),l?l=(l+1)%5:"rgba("===d.substr(-5)&&(l=1),c!==u[g++]&&(h=parseFloat(u[g-1])||0,m._pt={_next:m._pt,p:d||1===g?d:",",s:h,c:"="===c.charAt(1)?ct(h,c)-h:parseFloat(c)-h,m:l&&l<4?Math.round:0},_=N.lastIndex);return m.c=_<r.length?r.substring(_,r.length):"",m.fp=s,(j.test(r)||f)&&(m.e=0),this._pt=m,m}.call(this,t,e,h,r,f,a||p.stringFilter,u)):(c=new en(this._pt,t,e,+h||0,r-(h||0),"boolean"==typeof d?Xe:Ge,0,f),u&&(c.fp=u),s&&c.modifier(s,this,t),this._pt=c)},Re=function(t,e,n,r,i,o){var s,a,u,l;if(Q[t]&&!1!==(s=new Q[t]).init(i,s.rawVars?e[t]:function(t,e,n,r,i){if(E(t)&&(t=Ye(t,i,e,n,r)),!C(t)||t.style&&t.nodeType||A(t)||L(t))return T(t)?Ye(t,i,e,n,r):t;var o,s={};for(o in t)s[o]=Ye(t[o],i,e,n,r);return s}(e[t],r,i,o,n),n,r,o)&&(n._pt=a=new en(n._pt,i,t,0,1,s.render,s,0,s.priority),n!==h))for(u=n._ptLookup[n._targets.indexOf(i)],l=s._props.length;l--;)u[s._props[l]]=a;return s},Ne=function t(e,n,o){var a,u,l,c,d,h,f,p,g,v,y,b,w,S=e.vars,T=S.ease,E=S.startAt,M=S.immediateRender,x=S.lazy,C=S.onUpdate,D=S.runBackwards,k=S.yoyoEase,L=S.keyframes,A=S.autoRevert,I=e._dur,P=e._startAt,R=e._targets,N=e.parent,j=N&&"nested"===N.data?N.vars.targets:R,Y="auto"===e._overwrite&&!r,F=e.timeline;if(F&&(!L||!T)&&(T="none"),e._ease=Ee(T,m.ease),e._yEase=k?Se(Ee(!0===k?T:k,m.ease)):0,k&&e._yoyo&&!e._repeat&&(k=e._yEase,e._yEase=e._ease,e._ease=k),e._from=!F&&!!S.runBackwards,!F||L&&!S.stagger){if(p=R[0]?ot(R[0]).harness:0,b=p&&S[p.prop],a=yt(S,Z),P&&(P._zTime<0&&P.progress(1),n<0&&D&&M&&!A?P.render(-1,!0):P.revert(D&&I?X:G),P._lazy=0),E){if(Tt(e._startAt=Be.set(R,_t({data:"isStart",overwrite:!1,parent:N,immediateRender:!0,lazy:!P&&O(x),startAt:null,delay:0,onUpdate:C&&function(){return ie(e,"onUpdate")},stagger:0},E))),e._startAt._dp=0,e._startAt._sat=e,n<0&&(i||!M&&!A)&&e._startAt.revert(X),M&&I&&n<=0&&o<=0)return void(n&&(e._zTime=n))}else if(D&&I&&!P)if(n&&(M=!1),l=_t({overwrite:!1,data:"isFromStart",lazy:M&&!P&&O(x),immediateRender:M,stagger:0,parent:N},a),b&&(l[p.prop]=b),Tt(e._startAt=Be.set(R,l)),e._startAt._dp=0,e._startAt._sat=e,n<0&&(i?e._startAt.revert(X):e._startAt.render(-1,!0)),e._zTime=n,M){if(!n)return}else t(e._startAt,_,_);for(e._pt=e._ptCache=0,x=I&&O(x)||x&&!I,u=0;u<R.length;u++){if(d=R[u],f=d._gsap||it(R)[u]._gsap,e._ptLookup[u]=v={},J[f.id]&&$.length&&ht(),y=j===R?u:j.indexOf(d),p&&!1!==(g=new p).init(d,b||a,e,y,j)&&(e._pt=c=new en(e._pt,d,g.name,0,1,g.render,g,0,g.priority),g._props.forEach(function(t){v[t]=c}),g.priority&&(h=1)),!p||b)for(l in a)Q[l]&&(g=Re(l,a,e,y,d,j))?g.priority&&(h=1):v[l]=c=Pe.call(e,d,l,"get",a[l],y,j,0,S.stringFilter);e._op&&e._op[u]&&e.kill(d,e._op[u]),Y&&e._pt&&(Ae=e,s.killTweensOf(d,v,e.globalTime(n)),w=!e.parent,Ae=0),e._pt&&x&&(J[f.id]=1)}h&&tn(e),e._onInit&&e._onInit(e)}e._onUpdate=C,e._initted=(!e._op||e._pt)&&!w,L&&n<=0&&F.render(1e8,!0,!0)},je=function(t,e,n,r){var i,o,s=e.ease||r||"power1.inOut";if(A(e))o=n[t]||(n[t]=[]),e.forEach(function(t,n){return o.push({t:n/(e.length-1)*100,v:t,e:s})});else for(i in e)o=n[i]||(n[i]=[]),"ease"===i||o.push({t:parseFloat(t),v:e[i],e:s})},Ye=function(t,e,n,r,i){return E(t)?t.call(e,n,r,i):T(t)&&~t.indexOf("random(")?ee(t):t},Fe=rt+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",He={};at(Fe+",id,stagger,delay,duration,paused,scrollTrigger",function(t){return He[t]=1});var Be=function(t){function o(e,i,o,a){var u;"number"==typeof i&&(o.duration=i,i=o,o=null);var l,c,d,h,f,m,g,v,y=(u=t.call(this,a?i:bt(i))||this).vars,b=y.duration,w=y.delay,S=y.immediateRender,T=y.stagger,E=y.overwrite,x=y.keyframes,D=y.defaults,I=y.scrollTrigger,P=y.yoyoEase,R=i.parent||s,N=(A(e)||L(e)?M(e[0]):"length"in i)?[e]:Gt(e);if(u._targets=N.length?it(N):W("GSAP target "+e+" not found. https://gsap.com",!p.nullTargetWarn)||[],u._ptLookup=[],u._overwrite=E,x||T||k(b)||k(w)){if(i=u.vars,(l=u.timeline=new Le({data:"nested",defaults:D||{},targets:R&&"nested"===R.data?R.vars.targets:N})).kill(),l.parent=l._dp=n(u),l._start=0,T||k(b)||k(w)){if(h=N.length,g=T&&Zt(T),C(T))for(f in T)~Fe.indexOf(f)&&(v||(v={}),v[f]=T[f]);for(c=0;c<h;c++)(d=yt(i,He)).stagger=0,P&&(d.yoyoEase=P),v&&gt(d,v),m=N[c],d.duration=+Ye(b,n(u),c,m,N),d.delay=(+Ye(w,n(u),c,m,N)||0)-u._delay,!T&&1===h&&d.delay&&(u._delay=w=d.delay,u._start+=w,d.delay=0),l.to(m,d,g?g(c,m,N):0),l._ease=ve.none;l.duration()?b=w=0:u.timeline=0}else if(x){bt(_t(l.vars.defaults,{ease:"none"})),l._ease=Ee(x.ease||i.ease||"none");var j,Y,F,H=0;if(A(x))x.forEach(function(t){return l.to(N,t,">")}),l.duration();else{d={};for(f in x)"ease"===f||"easeEach"===f||je(f,x[f],d,x.easeEach);for(f in d)for(j=d[f].sort(function(t,e){return t.t-e.t}),H=0,c=0;c<j.length;c++)(F={ease:(Y=j[c]).e,duration:(Y.t-(c?j[c-1].t:0))/100*b})[f]=Y.v,l.to(N,F,H),H+=F.duration;l.duration()<b&&l.to({},{duration:b-l.duration()})}}b||u.duration(b=l.duration())}else u.timeline=0;return!0!==E||r||(Ae=n(u),s.killTweensOf(N),Ae=0),It(R,n(u),o),i.reversed&&u.reverse(),i.paused&&u.paused(!0),(S||!b&&!x&&u._start===lt(R._time)&&O(S)&&xt(n(u))&&"nested"!==R.data)&&(u._tTime=-_,u.render(Math.max(0,-w)||0)),I&&Pt(n(u),I),u}e(o,t);var a=o.prototype;return a.render=function(t,e,n){var r,o,s,a,u,l,c,d,h,f=this._time,p=this._tDur,m=this._dur,g=t<0,v=t>p-_&&!g?p:t<_?0:t;if(m){if(v!==this._tTime||!t||n||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==g){if(r=v,d=this.timeline,this._repeat){if(a=m+this._rDelay,this._repeat<-1&&g)return this.totalTime(100*a+t,e,n);if(r=lt(v%a),v===p?(s=this._repeat,r=m):((s=~~(v/a))&&s===lt(v/a)&&(r=m,s--),r>m&&(r=m)),(l=this._yoyo&&1&s)&&(h=this._yEase,r=m-r),u=Ot(this._tTime,a),r===f&&!n&&this._initted&&s===u)return this._tTime=v,this;s!==u&&(d&&this._yEase&&Te(d,l),this.vars.repeatRefresh&&!l&&!this._lock&&this._time!==a&&this._initted&&(this._lock=n=1,this.render(lt(a*s),!0).invalidate()._lock=0))}if(!this._initted){if(Rt(this,g?t:r,n,e,v))return this._tTime=0,this;if(!(f===this._time||n&&this.vars.repeatRefresh&&s!==u))return this;if(m!==this._dur)return this.render(t,e,n)}if(this._tTime=v,this._time=r,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=c=(h||this._ease)(r/m),this._from&&(this.ratio=c=1-c),r&&!f&&!e&&!s&&(ie(this,"onStart"),this._tTime!==v))return this;for(o=this._pt;o;)o.r(c,o.d),o=o._next;d&&d.render(t<0?t:d._dur*d._ease(r/this._dur),e,n)||this._startAt&&(this._zTime=t),this._onUpdate&&!e&&(g&&Mt(this,t,0,n),ie(this,"onUpdate")),this._repeat&&s!==u&&this.vars.onRepeat&&!e&&this.parent&&ie(this,"onRepeat"),v!==this._tDur&&v||this._tTime!==v||(g&&!this._onUpdate&&Mt(this,t,0,!0),(t||!m)&&(v===this._tDur&&this._ts>0||!v&&this._ts<0)&&Tt(this,1),e||g&&!f||!(v||f||l)||(ie(this,v===p?"onComplete":"onReverseComplete",!0),this._prom&&!(v<p&&this.timeScale()>0)&&this._prom()))}}else!function(t,e,n,r){var o,s,a,u=t.ratio,l=e<0||!e&&(!t._start&&function t(e){var n=e.parent;return n&&n._ts&&n._initted&&!n._lock&&(n.rawTime()<0||t(n))}(t)&&(t._initted||!Nt(t))||(t._ts<0||t._dp._ts<0)&&!Nt(t))?0:1,c=t._rDelay,d=0;if(c&&t._repeat&&(d=zt(0,t._tDur,e),s=Ot(d,c),t._yoyo&&1&s&&(l=1-l),s!==Ot(t._tTime,c)&&(u=1-l,t.vars.repeatRefresh&&t._initted&&t.invalidate())),l!==u||i||r||t._zTime===_||!e&&t._zTime){if(!t._initted&&Rt(t,e,r,n,d))return;for(a=t._zTime,t._zTime=e||(n?_:0),n||(n=e&&!a),t.ratio=l,t._from&&(l=1-l),t._time=0,t._tTime=d,o=t._pt;o;)o.r(l,o.d),o=o._next;e<0&&Mt(t,e,0,!0),t._onUpdate&&!n&&ie(t,"onUpdate"),d&&t._repeat&&!n&&t.parent&&ie(t,"onRepeat"),(e>=t._tDur||e<0)&&t.ratio===l&&(l&&Tt(t,1),n||i||(ie(t,l?"onComplete":"onReverseComplete",!0),t._prom&&t._prom()))}else t._zTime||(t._zTime=e)}(this,t,e,n);return this},a.targets=function(){return this._targets},a.invalidate=function(e){return(!e||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(e),t.prototype.invalidate.call(this,e)},a.resetTo=function(t,e,n,r,i){f||_e.wake(),this._ts||this.play();var o,s=Math.min(this._dur,(this._dp._time-this._start)*this._ts);return this._initted||Ne(this,s),o=this._ease(s/this._dur),function(t,e,n,r,i,o,s,a){var u,l,c,d,h=(t._pt&&t._ptCache||(t._ptCache={}))[e];if(!h)for(h=t._ptCache[e]=[],c=t._ptLookup,d=t._targets.length;d--;){if((u=c[d][e])&&u.d&&u.d._pt)for(u=u.d._pt;u&&u.p!==e&&u.fp!==e;)u=u._next;if(!u)return Ie=1,t.vars[e]="+=0",Ne(t,s),Ie=0,a?W(e+" not eligible for reset"):1;h.push(u)}for(d=h.length;d--;)(u=(l=h[d])._pt||l).s=!r&&0!==r||i?u.s+(r||0)+o*u.c:r,u.c=n-u.s,l.e&&(l.e=ut(n)+Wt(l.e)),l.b&&(l.b=u.s+Wt(l.b))}(this,t,e,n,r,o,s,i)?this.resetTo(t,e,n,r,1):(Lt(this,0),this.parent||wt(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},a.kill=function(t,e){if(void 0===e&&(e="all"),!(t||e&&"all"!==e))return this._lazy=this._pt=0,this.parent?oe(this):this;if(this.timeline){var n=this.timeline.totalDuration();return this.timeline.killTweensOf(t,e,Ae&&!0!==Ae.vars.overwrite)._first||oe(this),this.parent&&n!==this.timeline.totalDuration()&&jt(this,this._dur*this.timeline._tDur/n,0,1),this}var r,i,o,s,a,u,l,c=this._targets,d=t?Gt(t):c,h=this._ptLookup,f=this._pt;if((!e||"all"===e)&&function(t,e){for(var n=t.length,r=n===e.length;r&&n--&&t[n]===e[n];);return n<0}(c,d))return"all"===e&&(this._pt=0),oe(this);for(r=this._op=this._op||[],"all"!==e&&(T(e)&&(a={},at(e,function(t){return a[t]=1}),e=a),e=function(t,e){var n,r,i,o,s=t[0]?ot(t[0]).harness:0,a=s&&s.aliases;if(!a)return e;n=gt({},e);for(r in a)if(r in n)for(i=(o=a[r].split(",")).length;i--;)n[o[i]]=n[r];return n}(c,e)),l=c.length;l--;)if(~d.indexOf(c[l])){i=h[l],"all"===e?(r[l]=e,s=i,o={}):(o=r[l]=r[l]||{},s=e);for(a in s)(u=i&&i[a])&&("kill"in u.d&&!0!==u.d.kill(a)||St(this,u,"_pt"),delete i[a]),"all"!==o&&(o[a]=1)}return this._initted&&!this._pt&&f&&oe(this),this},o.to=function(t,e){return new o(t,e,arguments[2])},o.from=function(t,e){return Bt(1,arguments)},o.delayedCall=function(t,e,n,r){return new o(e,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:t,onComplete:e,onReverseComplete:e,onCompleteParams:n,onReverseCompleteParams:n,callbackScope:r})},o.fromTo=function(t,e,n){return Bt(2,arguments)},o.set=function(t,e){return e.duration=0,e.repeatDelay||(e.repeat=0),new o(t,e)},o.killTweensOf=function(t,e,n){return s.killTweensOf(t,e,n)},o}(ke);_t(Be.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),at("staggerTo,staggerFrom,staggerFromTo",function(t){Be[t]=function(){var e=new Le,n=Ut.call(arguments,0);return n.splice("staggerFromTo"===t?5:4,0,0),e[t].apply(e,n)}});var Ve=function(t,e,n){return t[e]=n},ze=function(t,e,n){return t[e](n)},We=function(t,e,n,r){return t[e](r.fp,n)},Ue=function(t,e,n){return t.setAttribute(e,n)},qe=function(t,e){return E(t[e])?ze:x(t[e])&&t.setAttribute?Ue:Ve},Ge=function(t,e){return e.set(e.t,e.p,Math.round(1e6*(e.s+e.c*t))/1e6,e)},Xe=function(t,e){return e.set(e.t,e.p,!!(e.s+e.c*t),e)},Ke=function(t,e){var n=e._pt,r="";if(!t&&e.b)r=e.b;else if(1===t&&e.e)r=e.e;else{for(;n;)r=n.p+(n.m?n.m(n.s+n.c*t):Math.round(1e4*(n.s+n.c*t))/1e4)+r,n=n._next;r+=e.c}e.set(e.t,e.p,r,e)},Ze=function(t,e){for(var n=e._pt;n;)n.r(t,n.d),n=n._next},$e=function(t,e,n,r){for(var i,o=this._pt;o;)i=o._next,o.p===r&&o.modifier(t,e,n),o=i},Je=function(t){for(var e,n,r=this._pt;r;)n=r._next,r.p===t&&!r.op||r.op===t?St(this,r,"_pt"):r.dep||(e=1),r=n;return!e},Qe=function(t,e,n,r){r.mSet(t,e,r.m.call(r.tween,n,r.mt),r)},tn=function(t){for(var e,n,r,i,o=t._pt;o;){for(e=o._next,n=r;n&&n.pr>o.pr;)n=n._next;(o._prev=n?n._prev:i)?o._prev._next=o:r=o,(o._next=n)?n._prev=o:i=o,o=e}t._pt=r},en=function(){function t(t,e,n,r,i,o,s,a,u){this.t=e,this.s=r,this.c=i,this.p=n,this.r=o||Ge,this.d=s||this,this.set=a||Ve,this.pr=u||0,this._next=t,t&&(t._prev=this)}return t.prototype.modifier=function(t,e,n){this.mSet=this.mSet||this.set,this.set=Qe,this.m=t,this.mt=n,this.tween=e},t}();at(rt+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger",function(t){return Z[t]=1}),H.TweenMax=H.TweenLite=Be,H.TimelineLite=H.TimelineMax=Le,s=new Le({sortChildren:!1,defaults:m,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),p.stringFilter=me;var nn=[],rn={},on=[],sn=0,an=0,un=function(t){return(rn[t]||on).map(function(t){return t()})},ln=function(){var t=Date.now(),e=[];t-sn>2&&(un("matchMediaInit"),nn.forEach(function(t){var n,r,i,o,s=t.queries,u=t.conditions;for(r in s)(n=a.matchMedia(s[r]).matches)&&(i=1),n!==u[r]&&(u[r]=n,o=1);o&&(t.revert(),i&&e.push(t))}),un("matchMediaRevert"),e.forEach(function(t){return t.onMatch(t,function(e){return t.add(null,e)})}),sn=t,un("matchMedia"))},cn=function(){function t(t,e){this.selector=e&&Xt(e),this.data=[],this._r=[],this.isReverted=!1,this.id=an++,t&&this.add(t)}var e=t.prototype;return e.add=function(t,e,n){E(t)&&(n=e,e=t,t=E);var r=this,i=function(){var t,i=o,s=r.selector;return i&&i!==r&&i.data.push(r),n&&(r.selector=Xt(n)),o=r,t=e.apply(r,arguments),E(t)&&r._r.push(t),o=i,r.selector=s,r.isReverted=!1,t};return r.last=i,t===E?i(r,function(t){return r.add(null,t)}):t?r[t]=i:i},e.ignore=function(t){var e=o;o=null,t(this),o=e},e.getTweens=function(){var e=[];return this.data.forEach(function(n){return n instanceof t?e.push.apply(e,n.getTweens()):n instanceof Be&&!(n.parent&&"nested"===n.parent.data)&&e.push(n)}),e},e.clear=function(){this._r.length=this.data.length=0},e.kill=function(t,e){var n=this;if(t?function(){for(var e,r=n.getTweens(),i=n.data.length;i--;)"isFlip"===(e=n.data[i]).data&&(e.revert(),e.getChildren(!0,!0,!1).forEach(function(t){return r.splice(r.indexOf(t),1)}));for(r.map(function(t){return{g:t._dur||t._delay||t._sat&&!t._sat.vars.immediateRender?t.globalTime(0):-1/0,t:t}}).sort(function(t,e){return e.g-t.g||-1/0}).forEach(function(e){return e.t.revert(t)}),i=n.data.length;i--;)(e=n.data[i])instanceof Le?"nested"!==e.data&&(e.scrollTrigger&&e.scrollTrigger.revert(),e.kill()):!(e instanceof Be)&&e.revert&&e.revert(t);n._r.forEach(function(e){return e(t,n)}),n.isReverted=!0}():this.data.forEach(function(t){return t.kill&&t.kill()}),this.clear(),e)for(var r=nn.length;r--;)nn[r].id===this.id&&nn.splice(r,1)},e.revert=function(t){this.kill(t||{})},t}(),dn=function(){function t(t){this.contexts=[],this.scope=t,o&&o.data.push(this)}var e=t.prototype;return e.add=function(t,e,n){C(t)||(t={matches:t});var r,i,s,u=new cn(0,n||this.scope),l=u.conditions={};o&&!u.selector&&(u.selector=o.selector),this.contexts.push(u),e=u.add("onMatch",e),u.queries=t;for(i in t)"all"===i?s=1:(r=a.matchMedia(t[i]))&&(nn.indexOf(u)<0&&nn.push(u),(l[i]=r.matches)&&(s=1),r.addListener?r.addListener(ln):r.addEventListener("change",ln));return s&&e(u,function(t){return u.add(null,t)}),this},e.revert=function(t){this.kill(t||{})},e.kill=function(t){this.contexts.forEach(function(e){return e.kill(t,!0)})},t}(),hn={registerPlugin:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];e.forEach(function(t){return ae(t)})},timeline:function(t){return new Le(t)},getTweensOf:function(t,e){return s.getTweensOf(t,e)},getProperty:function(t,e,n,r){T(t)&&(t=Gt(t)[0]);var i=ot(t||{}).get,o=n?mt:pt;return"native"===n&&(n=""),t?e?o((Q[e]&&Q[e].get||i)(t,e,n,r)):function(e,n,r){return o((Q[e]&&Q[e].get||i)(t,e,n,r))}:t},quickSetter:function(t,e,n){if((t=Gt(t)).length>1){var r=t.map(function(t){return mn.quickSetter(t,e,n)}),i=r.length;return function(t){for(var e=i;e--;)r[e](t)}}var o=Q[e],s=ot(t=t[0]||{}),a=s.harness&&(s.harness.aliases||{})[e]||e,u=o?function(e){var r=new o;h._pt=0,r.init(t,n?e+n:e,h,0,[t]),r.render(1,r),h._pt&&Ze(1,h)}:s.set(t,a);return o?u:function(e){return u(t,a,n?e+n:e,s,1)}},quickTo:function(t,e,n){var r,i=mn.to(t,gt((r={},r[e]="+=0.1",r.paused=!0,r),n||{})),o=function(t,n,r){return i.resetTo(e,t,n,r)};return o.tween=i,o},isTweening:function(t){return s.getTweensOf(t,!0).length>0},defaults:function(t){return t&&t.ease&&(t.ease=Ee(t.ease,m.ease)),vt(m,t||{})},config:function(t){return vt(p,t||{})},registerEffect:function(t){var e=t.name,n=t.effect,r=t.defaults,i=t.extendTimeline;(t.plugins||"").split(",").forEach(function(t){return t&&!Q[t]&&!H[t]&&W(e+" effect requires "+t+" plugin.")}),tt[e]=function(t,e,i){return n(Gt(t),_t(e||{},r),i)},i&&(Le.prototype[e]=function(t,n,r){return this.add(tt[e](t,C(n)?n:(r=n)&&{},this),r)})},registerEase:function(t,e){ve[t]=Ee(e)},parseEase:function(t,e){return arguments.length?Ee(t,e):ve},getById:function(t){return s.getById(t)},exportRoot:function(t,e){void 0===t&&(t={});var n,r,i=new Le(t);for(i.smoothChildTiming=O(t.smoothChildTiming),s.remove(i),i._dp=0,i._time=i._tTime=s._time,n=s._first;n;)r=n._next,!e&&!n._dur&&n instanceof Be&&n.vars.onComplete===n._targets[0]||It(i,n,n._start-n._delay),n=r;return It(s,i,0),i},context:function(t,e){return t?new cn(t,e):o},matchMedia:function(t){return new dn(t)},matchMediaRefresh:function(){return nn.forEach(function(t){var e,n,r=t.conditions;for(n in r)r[n]&&(r[n]=!1,e=1);e&&t.revert()})||ln()},addEventListener:function(t,e){var n=rn[t]||(rn[t]=[]);~n.indexOf(e)||n.push(e)},removeEventListener:function(t,e){var n=rn[t],r=n&&n.indexOf(e);r>=0&&n.splice(r,1)},utils:{wrap:function t(e,n,r){var i=n-e;return A(e)?te(e,t(0,e.length),n):Vt(r,function(t){return(i+(t-e)%i)%i+e})},wrapYoyo:function t(e,n,r){var i=n-e,o=2*i;return A(e)?te(e,t(0,e.length-1),n):Vt(r,function(t){return t=(o+(t-e)%o)%o||0,e+(t>i?o-t:t)})},distribute:Zt,random:Qt,snap:Jt,normalize:function(t,e,n){return ne(t,e,0,1,n)},getUnit:Wt,clamp:function(t,e,n){return Vt(n,function(n){return zt(t,e,n)})},splitColor:ce,toArray:Gt,selector:Xt,mapRange:ne,pipe:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return function(t){return e.reduce(function(t,e){return e(t)},t)}},unitize:function(t,e){return function(n){return t(parseFloat(n))+(e||Wt(n))}},interpolate:function t(e,n,r,i){var o=isNaN(e+n)?0:function(t){return(1-t)*e+t*n};if(!o){var s,a,u,l,c,d=T(e),h={};if(!0===r&&(i=1)&&(r=null),d)e={p:e},n={p:n};else if(A(e)&&!A(n)){for(u=[],c=(l=e.length)-2,a=1;a<l;a++)u.push(t(e[a-1],e[a]));l--,o=function(t){t*=l;var e=Math.min(c,~~t);return u[e](t-e)},r=n}else i||(e=gt(A(e)?[]:{},e));if(!u){for(s in n)Pe.call(h,e,s,"get",n[s]);o=function(t){return Ze(t,h)||(d?e.p:e)}}}return Vt(r,o)},shuffle:Kt},install:V,effects:tt,ticker:_e,updateRoot:Le.updateRoot,plugins:Q,globalTimeline:s,core:{PropTween:en,globals:U,Tween:Be,Timeline:Le,Animation:ke,getCache:ot,_removeLinkedListItem:St,reverting:function(){return i},context:function(t){return t&&o&&(o.data.push(t),t._ctx=o),o},suppressOverwrites:function(t){return r=t}}};at("to,from,fromTo,delayedCall,set,killTweensOf",function(t){return hn[t]=Be[t]}),_e.add(Le.updateRoot),h=hn.to({},{duration:0});var fn=function(t,e){for(var n=t._pt;n&&n.p!==e&&n.op!==e&&n.fp!==e;)n=n._next;return n},pn=function(t,e){return{name:t,rawVars:1,init:function(t,n,r){r._onInit=function(t){var r,i;if(T(n)&&(r={},at(n,function(t){return r[t]=1}),n=r),e){r={};for(i in n)r[i]=e(n[i]);n=r}!function(t,e){var n,r,i,o=t._targets;for(n in e)for(r=o.length;r--;)(i=t._ptLookup[r][n])&&(i=i.d)&&(i._pt&&(i=fn(i,n)),i&&i.modifier&&i.modifier(e[n],t,o[r],n))}(t,n)}}}},mn=hn.registerPlugin({name:"attr",init:function(t,e,n,r,i){var o,s,a;this.tween=n;for(o in e)a=t.getAttribute(o)||"",(s=this.add(t,"setAttribute",(a||0)+"",e[o],r,i,0,0,o)).op=o,s.b=a,this._props.push(o)},render:function(t,e){for(var n=e._pt;n;)i?n.set(n.t,n.p,n.b,n):n.r(t,n.d),n=n._next}},{name:"endArray",init:function(t,e){for(var n=e.length;n--;)this.add(t,n,t[n]||0,e[n],0,0,0,0,0,1)}},pn("roundProps",$t),pn("modifiers"),pn("snap",Jt))||hn;Be.version=Le.version=mn.version="3.12.5",c=1,D()&&ge();var _n,gn,vn,yn,bn,wn,Sn,Tn,En=ve.Power0,Mn=ve.Power1,xn=ve.Power2,Cn=ve.Power3,On=ve.Power4,Dn=ve.Linear,kn=ve.Quad,Ln=ve.Cubic,An=ve.Quart,In=ve.Quint,Pn=ve.Strong,Rn=ve.Elastic,Nn=ve.Back,jn=ve.SteppedEase,Yn=ve.Bounce,Fn=ve.Sine,Hn=ve.Expo,Bn=ve.Circ,Vn={},zn=180/Math.PI,Wn=Math.PI/180,Un=Math.atan2,qn=/([A-Z])/g,Gn=/(left|right|width|margin|padding|x)/i,Xn=/[\s,\(]\S/,Kn={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},Zn=function(t,e){return e.set(e.t,e.p,Math.round(1e4*(e.s+e.c*t))/1e4+e.u,e)},$n=function(t,e){return e.set(e.t,e.p,1===t?e.e:Math.round(1e4*(e.s+e.c*t))/1e4+e.u,e)},Jn=function(t,e){return e.set(e.t,e.p,t?Math.round(1e4*(e.s+e.c*t))/1e4+e.u:e.b,e)},Qn=function(t,e){var n=e.s+e.c*t;e.set(e.t,e.p,~~(n+(n<0?-.5:.5))+e.u,e)},tr=function(t,e){return e.set(e.t,e.p,t?e.e:e.b,e)},er=function(t,e){return e.set(e.t,e.p,1!==t?e.b:e.e,e)},nr=function(t,e,n){return t.style[e]=n},rr=function(t,e,n){return t.style.setProperty(e,n)},ir=function(t,e,n){return t._gsap[e]=n},or=function(t,e,n){return t._gsap.scaleX=t._gsap.scaleY=n},sr="transform",ar=sr+"Origin",ur=function t(e,n){var r=this,i=this.target,o=i.style,s=i._gsap;if(e in Vn&&o){if(this.tfm=this.tfm||{},"transform"===e)return Kn.transform.split(",").forEach(function(e){return t.call(r,e,n)});if(~(e=Kn[e]||e).indexOf(",")?e.split(",").forEach(function(t){return r.tfm[t]=xr(i,t)}):this.tfm[e]=s.x?s[e]:xr(i,e),e===ar&&(this.tfm.zOrigin=s.zOrigin),this.props.indexOf(sr)>=0)return;s.svg&&(this.svgo=i.getAttribute("data-svg-origin"),this.props.push(ar,n,"")),e=sr}(o||n)&&this.props.push(e,n,o[e])},lr=function(t){t.translate&&(t.removeProperty("translate"),t.removeProperty("scale"),t.removeProperty("rotate"))},cr=function(){var t,e,n=this.props,r=this.target,i=r.style,o=r._gsap;for(t=0;t<n.length;t+=3)n[t+1]?r[n[t]]=n[t+2]:n[t+2]?i[n[t]]=n[t+2]:i.removeProperty("--"===n[t].substr(0,2)?n[t]:n[t].replace(qn,"-$1").toLowerCase());if(this.tfm){for(e in this.tfm)o[e]=this.tfm[e];o.svg&&(o.renderTransform(),r.setAttribute("data-svg-origin",this.svgo||"")),(t=Sn())&&t.isStart||i[sr]||(lr(i),o.zOrigin&&i[ar]&&(i[ar]+=" "+o.zOrigin+"px",o.zOrigin=0,o.renderTransform()),o.uncache=1)}},dr=function(t,e){var n={target:t,props:[],revert:cr,save:ur};return t._gsap||mn.core.getCache(t),e&&e.split(",").forEach(function(t){return n.save(t)}),n},hr=function(t,e){var n=gn.createElementNS?gn.createElementNS((e||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),t):gn.createElement(t);return n&&n.style?n:gn.createElement(t)},fr=function t(e,n,r){var i=getComputedStyle(e);return i[n]||i.getPropertyValue(n.replace(qn,"-$1").toLowerCase())||i.getPropertyValue(n)||!r&&t(e,mr(n)||n,1)||""},pr="O,Moz,ms,Ms,Webkit".split(","),mr=function(t,e,n){var r=(e||bn).style,i=5;if(t in r&&!n)return t;for(t=t.charAt(0).toUpperCase()+t.substr(1);i--&&!(pr[i]+t in r););return i<0?null:(3===i?"ms":i>=0?pr[i]:"")+t},_r=function(){"undefined"!=typeof window&&window.document&&(_n=window,vn=(gn=_n.document).documentElement,bn=hr("div")||{style:{}},hr("div"),sr=mr(sr),ar=sr+"Origin",bn.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",Tn=!!mr("perspective"),Sn=mn.core.reverting,yn=1)},gr=function t(e){var n,r=hr("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),i=this.parentNode,o=this.nextSibling,s=this.style.cssText;if(vn.appendChild(r),r.appendChild(this),this.style.display="block",e)try{n=this.getBBox(),this._gsapBBox=this.getBBox,this.getBBox=t}catch(t){}else this._gsapBBox&&(n=this._gsapBBox());return i&&(o?i.insertBefore(this,o):i.appendChild(this)),vn.removeChild(r),this.style.cssText=s,n},vr=function(t,e){for(var n=e.length;n--;)if(t.hasAttribute(e[n]))return t.getAttribute(e[n])},yr=function(t){var e;try{e=t.getBBox()}catch(n){e=gr.call(t,!0)}return e&&(e.width||e.height)||t.getBBox===gr||(e=gr.call(t,!0)),!e||e.width||e.x||e.y?e:{x:+vr(t,["x","cx","x1"])||0,y:+vr(t,["y","cy","y1"])||0,width:0,height:0}},br=function(t){return!(!t.getCTM||t.parentNode&&!t.ownerSVGElement||!yr(t))},wr=function(t,e){if(e){var n,r=t.style;e in Vn&&e!==ar&&(e=sr),r.removeProperty?("ms"!==(n=e.substr(0,2))&&"webkit"!==e.substr(0,6)||(e="-"+e),r.removeProperty("--"===n?e:e.replace(qn,"-$1").toLowerCase())):r.removeAttribute(e)}},Sr=function(t,e,n,r,i,o){var s=new en(t._pt,e,n,0,1,o?er:tr);return t._pt=s,s.b=r,s.e=i,t._props.push(n),s},Tr={deg:1,rad:1,turn:1},Er={grid:1,flex:1},Mr=function t(e,n,r,i){var o,s,a,u,l=parseFloat(r)||0,c=(r+"").trim().substr((l+"").length)||"px",d=bn.style,h=Gn.test(n),f="svg"===e.tagName.toLowerCase(),p=(f?"client":"offset")+(h?"Width":"Height"),m="px"===i,_="%"===i;if(i===c||!l||Tr[i]||Tr[c])return l;if("px"!==c&&!m&&(l=t(e,n,r,"px")),u=e.getCTM&&br(e),(_||"%"===c)&&(Vn[n]||~n.indexOf("adius")))return o=u?e.getBBox()[h?"width":"height"]:e[p],ut(_?l/o*100:l/100*o);if(d[h?"width":"height"]=100+(m?c:i),s=~n.indexOf("adius")||"em"===i&&e.appendChild&&!f?e:e.parentNode,u&&(s=(e.ownerSVGElement||{}).parentNode),s&&s!==gn&&s.appendChild||(s=gn.body),(a=s._gsap)&&_&&a.width&&h&&a.time===_e.time&&!a.uncache)return ut(l/a.width*100);if(!_||"height"!==n&&"width"!==n)(_||"%"===c)&&!Er[fr(s,"display")]&&(d.position=fr(e,"position")),s===e&&(d.position="static"),s.appendChild(bn),o=bn[p],s.removeChild(bn),d.position="absolute";else{var g=e.style[n];e.style[n]=100+i,o=e[p],g?e.style[n]=g:wr(e,n)}return h&&_&&((a=ot(s)).time=_e.time,a.width=s[p]),ut(m?o*l/100:o&&l?100/o*l:0)},xr=function(t,e,n,r){var i;return yn||_r(),e in Kn&&"transform"!==e&&~(e=Kn[e]).indexOf(",")&&(e=e.split(",")[0]),Vn[e]&&"transform"!==e?(i=Yr(t,r),i="transformOrigin"!==e?i[e]:i.svg?i.origin:Fr(fr(t,ar))+" "+i.zOrigin+"px"):(!(i=t.style[e])||"auto"===i||r||~(i+"").indexOf("calc("))&&(i=Lr[e]&&Lr[e](t,e,n)||fr(t,e)||st(t,e)||("opacity"===e?1:0)),n&&!~(i+"").trim().indexOf(" ")?Mr(t,e,i,n)+n:i},Cr=function(t,e,n,r){if(!n||"none"===n){var i=mr(e,t,1),o=i&&fr(t,i,1);o&&o!==n?(e=i,n=o):"borderColor"===e&&(n=fr(t,"borderTopColor"))}var s,a,u,l,c,d,h,f,m,_,g,v=new en(this._pt,t.style,e,0,1,Ke),y=0,b=0;if(v.b=n,v.e=r,n+="","auto"===(r+="")&&(d=t.style[e],t.style[e]=r,r=fr(t,e)||r,d?t.style[e]=d:wr(t,e)),s=[n,r],me(s),n=s[0],r=s[1],u=n.match(R)||[],(r.match(R)||[]).length){for(;a=R.exec(r);)h=a[0],m=r.substring(y,a.index),c?c=(c+1)%5:"rgba("!==m.substr(-5)&&"hsla("!==m.substr(-5)||(c=1),h!==(d=u[b++]||"")&&(l=parseFloat(d)||0,g=d.substr((l+"").length),"="===h.charAt(1)&&(h=ct(l,h)+g),f=parseFloat(h),_=h.substr((f+"").length),y=R.lastIndex-_.length,_||(_=_||p.units[e]||g,y===r.length&&(r+=_,v.e+=_)),g!==_&&(l=Mr(t,e,d,_)||0),v._pt={_next:v._pt,p:m||1===b?m:",",s:l,c:f-l,m:c&&c<4||"zIndex"===e?Math.round:0});v.c=y<r.length?r.substring(y,r.length):""}else v.r="display"===e&&"none"===r?er:tr;return j.test(r)&&(v.e=0),this._pt=v,v},Or={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},Dr=function(t){var e=t.split(" "),n=e[0],r=e[1]||"50%";return"top"!==n&&"bottom"!==n&&"left"!==r&&"right"!==r||(t=n,n=r,r=t),e[0]=Or[n]||n,e[1]=Or[r]||r,e.join(" ")},kr=function(t,e){if(e.tween&&e.tween._time===e.tween._dur){var n,r,i,o=e.t,s=o.style,a=e.u,u=o._gsap;if("all"===a||!0===a)s.cssText="",r=1;else for(i=(a=a.split(",")).length;--i>-1;)Vn[n=a[i]]&&(r=1,n="transformOrigin"===n?ar:sr),wr(o,n);r&&(wr(o,sr),u&&(u.svg&&o.removeAttribute("transform"),Yr(o,1),u.uncache=1,lr(s)))}},Lr={clearProps:function(t,e,n,r,i){if("isFromStart"!==i.data){var o=t._pt=new en(t._pt,e,n,0,0,kr);return o.u=r,o.pr=-10,o.tween=i,t._props.push(n),1}}},Ar=[1,0,0,1,0,0],Ir={},Pr=function(t){return"matrix(1, 0, 0, 1, 0, 0)"===t||"none"===t||!t},Rr=function(t){var e=fr(t,sr);return Pr(e)?Ar:e.substr(7).match(P).map(ut)},Nr=function(t,e){var n,r,i,o,s=t._gsap||ot(t),a=t.style,u=Rr(t);return s.svg&&t.getAttribute("transform")?(i=t.transform.baseVal.consolidate().matrix,"1,0,0,1,0,0"===(u=[i.a,i.b,i.c,i.d,i.e,i.f]).join(",")?Ar:u):(u!==Ar||t.offsetParent||t===vn||s.svg||(i=a.display,a.display="block",(n=t.parentNode)&&t.offsetParent||(o=1,r=t.nextElementSibling,vn.appendChild(t)),u=Rr(t),i?a.display=i:wr(t,"display"),o&&(r?n.insertBefore(t,r):n?n.appendChild(t):vn.removeChild(t))),e&&u.length>6?[u[0],u[1],u[4],u[5],u[12],u[13]]:u)},jr=function(t,e,n,r,i,o){var s,a,u,l=t._gsap,c=i||Nr(t,!0),d=l.xOrigin||0,h=l.yOrigin||0,f=l.xOffset||0,p=l.yOffset||0,m=c[0],_=c[1],g=c[2],v=c[3],y=c[4],b=c[5],w=e.split(" "),S=parseFloat(w[0])||0,T=parseFloat(w[1])||0;n?c!==Ar&&(a=m*v-_*g)&&(u=S*(-_/a)+T*(m/a)-(m*b-_*y)/a,S=S*(v/a)+T*(-g/a)+(g*b-v*y)/a,T=u):(S=(s=yr(t)).x+(~w[0].indexOf("%")?S/100*s.width:S),T=s.y+(~(w[1]||w[0]).indexOf("%")?T/100*s.height:T)),r||!1!==r&&l.smooth?(l.xOffset=f+((y=S-d)*m+(b=T-h)*g)-y,l.yOffset=p+(y*_+b*v)-b):l.xOffset=l.yOffset=0,l.xOrigin=S,l.yOrigin=T,l.smooth=!!r,l.origin=e,l.originIsAbsolute=!!n,t.style[ar]="0px 0px",o&&(Sr(o,l,"xOrigin",d,S),Sr(o,l,"yOrigin",h,T),Sr(o,l,"xOffset",f,l.xOffset),Sr(o,l,"yOffset",p,l.yOffset)),t.setAttribute("data-svg-origin",S+" "+T)},Yr=function(t,e){var n=t._gsap||new De(t);if("x"in n&&!e&&!n.uncache)return n;var r,i,o,s,a,u,l,c,d,h,f,m,_,g,v,y,b,w,S,T,E,M,x,C,O,D,k,L,A,I,P,R,N=t.style,j=n.scaleX<0,Y=getComputedStyle(t),F=fr(t,ar)||"0";return r=i=o=u=l=c=d=h=f=0,s=a=1,n.svg=!(!t.getCTM||!br(t)),Y.translate&&("none"===Y.translate&&"none"===Y.scale&&"none"===Y.rotate||(N[sr]=("none"!==Y.translate?"translate3d("+(Y.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+("none"!==Y.rotate?"rotate("+Y.rotate+") ":"")+("none"!==Y.scale?"scale("+Y.scale.split(" ").join(",")+") ":"")+("none"!==Y[sr]?Y[sr]:"")),N.scale=N.rotate=N.translate="none"),g=Nr(t,n.svg),n.svg&&(n.uncache?(O=t.getBBox(),F=n.xOrigin-O.x+"px "+(n.yOrigin-O.y)+"px",C=""):C=!e&&t.getAttribute("data-svg-origin"),jr(t,C||F,!!C||n.originIsAbsolute,!1!==n.smooth,g)),m=n.xOrigin||0,_=n.yOrigin||0,g!==Ar&&(w=g[0],S=g[1],T=g[2],E=g[3],r=M=g[4],i=x=g[5],6===g.length?(s=Math.sqrt(w*w+S*S),a=Math.sqrt(E*E+T*T),u=w||S?Un(S,w)*zn:0,(d=T||E?Un(T,E)*zn+u:0)&&(a*=Math.abs(Math.cos(d*Wn))),n.svg&&(r-=m-(m*w+_*T),i-=_-(m*S+_*E))):(I=g[7],k=g[8],L=g[9],P=g[11],r=g[12],i=g[13],o=g[14],l=(v=Un(R=g[6],A=g[10]))*zn,v&&(C=M*(y=Math.cos(-v))+k*(b=Math.sin(-v)),O=x*y+L*b,D=R*y+A*b,k=M*-b+k*y,L=x*-b+L*y,A=R*-b+A*y,P=I*-b+P*y,M=C,x=O,R=D),c=(v=Un(-T,A))*zn,v&&(y=Math.cos(-v),P=E*(b=Math.sin(-v))+P*y,w=C=w*y-k*b,S=O=S*y-L*b,T=D=T*y-A*b),u=(v=Un(S,w))*zn,v&&(C=w*(y=Math.cos(v))+S*(b=Math.sin(v)),O=M*y+x*b,S=S*y-w*b,x=x*y-M*b,w=C,M=O),l&&Math.abs(l)+Math.abs(u)>359.9&&(l=u=0,c=180-c),s=ut(Math.sqrt(w*w+S*S+T*T)),a=ut(Math.sqrt(x*x+R*R)),v=Un(M,x),d=Math.abs(v)>2e-4?v*zn:0,f=P?1/(P<0?-P:P):0),n.svg&&(C=t.getAttribute("transform"),n.forceCSS=t.setAttribute("transform","")||!Pr(fr(t,sr)),C&&t.setAttribute("transform",C))),Math.abs(d)>90&&Math.abs(d)<270&&(j?(s*=-1,d+=u<=0?180:-180,u+=u<=0?180:-180):(a*=-1,d+=d<=0?180:-180)),e=e||n.uncache,n.x=r-((n.xPercent=r&&(!e&&n.xPercent||(Math.round(t.offsetWidth/2)===Math.round(-r)?-50:0)))?t.offsetWidth*n.xPercent/100:0)+"px",n.y=i-((n.yPercent=i&&(!e&&n.yPercent||(Math.round(t.offsetHeight/2)===Math.round(-i)?-50:0)))?t.offsetHeight*n.yPercent/100:0)+"px",n.z=o+"px",n.scaleX=ut(s),n.scaleY=ut(a),n.rotation=ut(u)+"deg",n.rotationX=ut(l)+"deg",n.rotationY=ut(c)+"deg",n.skewX=d+"deg",n.skewY=h+"deg",n.transformPerspective=f+"px",(n.zOrigin=parseFloat(F.split(" ")[2])||!e&&n.zOrigin||0)&&(N[ar]=Fr(F)),n.xOffset=n.yOffset=0,n.force3D=p.force3D,n.renderTransform=n.svg?zr:Tn?Vr:Br,n.uncache=0,n},Fr=function(t){return(t=t.split(" "))[0]+" "+t[1]},Hr=function(t,e,n){var r=Wt(e);return ut(parseFloat(e)+parseFloat(Mr(t,"x",n+"px",r)))+r},Br=function(t,e){e.z="0px",e.rotationY=e.rotationX="0deg",e.force3D=0,Vr(t,e)},Vr=function(t,e){var n=e||this,r=n.xPercent,i=n.yPercent,o=n.x,s=n.y,a=n.z,u=n.rotation,l=n.rotationY,c=n.rotationX,d=n.skewX,h=n.skewY,f=n.scaleX,p=n.scaleY,m=n.transformPerspective,_=n.force3D,g=n.target,v=n.zOrigin,y="",b="auto"===_&&t&&1!==t||!0===_;if(v&&("0deg"!==c||"0deg"!==l)){var w,S=parseFloat(l)*Wn,T=Math.sin(S),E=Math.cos(S);S=parseFloat(c)*Wn,w=Math.cos(S),o=Hr(g,o,T*w*-v),s=Hr(g,s,-Math.sin(S)*-v),a=Hr(g,a,E*w*-v+v)}"0px"!==m&&(y+="perspective("+m+") "),(r||i)&&(y+="translate("+r+"%, "+i+"%) "),(b||"0px"!==o||"0px"!==s||"0px"!==a)&&(y+="0px"!==a||b?"translate3d("+o+", "+s+", "+a+") ":"translate("+o+", "+s+") "),"0deg"!==u&&(y+="rotate("+u+") "),"0deg"!==l&&(y+="rotateY("+l+") "),"0deg"!==c&&(y+="rotateX("+c+") "),"0deg"===d&&"0deg"===h||(y+="skew("+d+", "+h+") "),1===f&&1===p||(y+="scale("+f+", "+p+") "),g.style[sr]=y||"translate(0, 0)"},zr=function(t,e){var n,r,i,o,s,a=e||this,u=a.xPercent,l=a.yPercent,c=a.x,d=a.y,h=a.rotation,f=a.skewX,p=a.skewY,m=a.scaleX,_=a.scaleY,g=a.target,v=a.xOrigin,y=a.yOrigin,b=a.xOffset,w=a.yOffset,S=a.forceCSS,T=parseFloat(c),E=parseFloat(d);h=parseFloat(h),f=parseFloat(f),(p=parseFloat(p))&&(f+=p=parseFloat(p),h+=p),h||f?(h*=Wn,f*=Wn,n=Math.cos(h)*m,r=Math.sin(h)*m,i=Math.sin(h-f)*-_,o=Math.cos(h-f)*_,f&&(p*=Wn,s=Math.tan(f-p),i*=s=Math.sqrt(1+s*s),o*=s,p&&(s=Math.tan(p),n*=s=Math.sqrt(1+s*s),r*=s)),n=ut(n),r=ut(r),i=ut(i),o=ut(o)):(n=m,o=_,r=i=0),(T&&!~(c+"").indexOf("px")||E&&!~(d+"").indexOf("px"))&&(T=Mr(g,"x",c,"px"),E=Mr(g,"y",d,"px")),(v||y||b||w)&&(T=ut(T+v-(v*n+y*i)+b),E=ut(E+y-(v*r+y*o)+w)),(u||l)&&(s=g.getBBox(),T=ut(T+u/100*s.width),E=ut(E+l/100*s.height)),g.setAttribute("transform",s="matrix("+n+","+r+","+i+","+o+","+T+","+E+")"),S&&(g.style[sr]=s)},Wr=function(t,e,n,r,i){var o,s,a=T(i),u=parseFloat(i)*(a&&~i.indexOf("rad")?zn:1)-r,l=r+u+"deg";return a&&("short"===(o=i.split("_")[1])&&(u%=360)!==u%180&&(u+=u<0?360:-360),"cw"===o&&u<0?u=(u+36e9)%360-360*~~(u/360):"ccw"===o&&u>0&&(u=(u-36e9)%360-360*~~(u/360))),t._pt=s=new en(t._pt,e,n,r,u,$n),s.e=l,s.u="deg",t._props.push(n),s},Ur=function(t,e){for(var n in e)t[n]=e[n];return t},qr=function(t,e,n){var r,i,o,s,a,u,l,c=Ur({},n._gsap),d=n.style;c.svg?(o=n.getAttribute("transform"),n.setAttribute("transform",""),d[sr]=e,r=Yr(n,1),wr(n,sr),n.setAttribute("transform",o)):(o=getComputedStyle(n)[sr],d[sr]=e,r=Yr(n,1),d[sr]=o);for(i in Vn)(o=c[i])!==(s=r[i])&&"perspective,force3D,transformOrigin,svgOrigin".indexOf(i)<0&&(a=Wt(o)!==(l=Wt(s))?Mr(n,i,o,l):parseFloat(o),u=parseFloat(s),t._pt=new en(t._pt,r,i,a,u-a,Zn),t._pt.u=l||0,t._props.push(i));Ur(r,c)};at("padding,margin,Width,Radius",function(t,e){var n=(e<3?["Top","Right","Bottom","Left"]:["TopLeft","TopRight","BottomRight","BottomLeft"]).map(function(n){return e<2?t+n:"border"+n+t});Lr[e>1?"border"+t:t]=function(t,e,r,i,o){var s,a;if(arguments.length<4)return s=n.map(function(e){return xr(t,e,r)}),5===(a=s.join(" ")).split(s[0]).length?s[0]:a;s=(i+"").split(" "),a={},n.forEach(function(t,e){return a[t]=s[e]=s[e]||s[(e-1)/2|0]}),t.init(e,a,o)}});var Gr={name:"css",register:_r,targetTest:function(t){return t.style&&t.nodeType},init:function(t,e,n,r,i){var o,s,a,u,l,c,d,h,f,m,_,g,v,y,b,w,S=this._props,E=t.style,M=n.vars.startAt;yn||_r(),this.styles=this.styles||dr(t),w=this.styles.props,this.tween=n;for(d in e)if("autoRound"!==d&&(s=e[d],!Q[d]||!Re(d,e,n,r,t,i)))if(l=typeof s,c=Lr[d],"function"===l&&(l=typeof(s=s.call(n,r,t,i))),"string"===l&&~s.indexOf("random(")&&(s=ee(s)),c)c(this,t,d,s,n)&&(b=1);else if("--"===d.substr(0,2))o=(getComputedStyle(t).getPropertyValue(d)+"").trim(),s+="",fe.lastIndex=0,fe.test(o)||(h=Wt(o),f=Wt(s)),f?h!==f&&(o=Mr(t,d,o,f)+f):h&&(s+=h),this.add(E,"setProperty",o,s,r,i,0,0,d),S.push(d),w.push(d,0,E[d]);else if("undefined"!==l){if(M&&d in M?(o="function"==typeof M[d]?M[d].call(n,r,t,i):M[d],T(o)&&~o.indexOf("random(")&&(o=ee(o)),Wt(o+"")||"auto"===o||(o+=p.units[d]||Wt(xr(t,d))||""),"="===(o+"").charAt(1)&&(o=xr(t,d))):o=xr(t,d),u=parseFloat(o),(m="string"===l&&"="===s.charAt(1)&&s.substr(0,2))&&(s=s.substr(2)),a=parseFloat(s),d in Kn&&("autoAlpha"===d&&(1===u&&"hidden"===xr(t,"visibility")&&a&&(u=0),w.push("visibility",0,E.visibility),Sr(this,E,"visibility",u?"inherit":"hidden",a?"inherit":"hidden",!a)),"scale"!==d&&"transform"!==d&&~(d=Kn[d]).indexOf(",")&&(d=d.split(",")[0])),_=d in Vn)if(this.styles.save(d),g||((v=t._gsap).renderTransform&&!e.parseTransform||Yr(t,e.parseTransform),y=!1!==e.smoothOrigin&&v.smooth,(g=this._pt=new en(this._pt,E,sr,0,1,v.renderTransform,v,0,-1)).dep=1),"scale"===d)this._pt=new en(this._pt,v,"scaleY",v.scaleY,(m?ct(v.scaleY,m+a):a)-v.scaleY||0,Zn),this._pt.u=0,S.push("scaleY",d),d+="X";else{if("transformOrigin"===d){w.push(ar,0,E[ar]),s=Dr(s),v.svg?jr(t,s,0,y,0,this):((f=parseFloat(s.split(" ")[2])||0)!==v.zOrigin&&Sr(this,v,"zOrigin",v.zOrigin,f),Sr(this,E,d,Fr(o),Fr(s)));continue}if("svgOrigin"===d){jr(t,s,1,y,0,this);continue}if(d in Ir){Wr(this,v,d,u,m?ct(u,m+s):s);continue}if("smoothOrigin"===d){Sr(this,v,"smooth",v.smooth,s);continue}if("force3D"===d){v[d]=s;continue}if("transform"===d){qr(this,s,t);continue}}else d in E||(d=mr(d)||d);if(_||(a||0===a)&&(u||0===u)&&!Xn.test(s)&&d in E)h=(o+"").substr((u+"").length),a||(a=0),h!==(f=Wt(s)||(d in p.units?p.units[d]:h))&&(u=Mr(t,d,o,f)),this._pt=new en(this._pt,_?v:E,d,u,(m?ct(u,m+a):a)-u,_||"px"!==f&&"zIndex"!==d||!1===e.autoRound?Zn:Qn),this._pt.u=f||0,h!==f&&"%"!==f&&(this._pt.b=o,this._pt.r=Jn);else if(d in E)Cr.call(this,t,d,o,m?m+s:s);else if(d in t)this.add(t,d,o||t[d],m?m+s:s,r,i);else if("parseTransform"!==d){z(d,s);continue}_||(d in E?w.push(d,0,E[d]):w.push(d,1,o||t[d])),S.push(d)}b&&tn(this)},render:function(t,e){if(e.tween._time||!Sn())for(var n=e._pt;n;)n.r(t,n.d),n=n._next;else e.styles.revert()},get:xr,aliases:Kn,getSetter:function(t,e,n){var r=Kn[e];return r&&r.indexOf(",")<0&&(e=r),e in Vn&&e!==ar&&(t._gsap.x||xr(t,"x"))?n&&wn===n?"scale"===e?or:ir:(wn=n||{})&&("scale"===e?function(t,e,n,r,i){var o=t._gsap;o.scaleX=o.scaleY=n,o.renderTransform(i,o)}:function(t,e,n,r,i){var o=t._gsap;o[e]=n,o.renderTransform(i,o)}):t.style&&!x(t.style[e])?nr:~e.indexOf("-")?rr:qe(t,e)},core:{_removeProperty:wr,_getMatrix:Nr}};mn.utils.checkPrefix=mr,mn.core.getStyleSaver=dr,function(t,e,n,r){var i=at(t+","+e+",transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective",function(t){Vn[t]=1});at(e,function(t){p.units[t]="deg",Ir[t]=1}),Kn[i[13]]=t+","+e,at("0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY",function(t){var e=t.split(":");Kn[e[1]]=i[e[0]]})}("x,y,z,scale,scaleX,scaleY,xPercent,yPercent","rotation,rotationX,rotationY,skewX,skewY"),at("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(t){p.units[t]="px"}),mn.registerPlugin(Gr);var Xr=mn.registerPlugin(Gr)||mn,Kr=Xr.core.Tween;t.Back=Nn,t.Bounce=Yn,t.CSSPlugin=Gr,t.Circ=Bn,t.Cubic=Ln,t.Elastic=Rn,t.Expo=Hn,t.Linear=Dn,t.Power0=En,t.Power1=Mn,t.Power2=xn,t.Power3=Cn,t.Power4=On,t.Quad=kn,t.Quart=An,t.Quint=In,t.Sine=Fn,t.SteppedEase=jn,t.Strong=Pn,t.TimelineLite=Le,t.TimelineMax=Le,t.TweenLite=Be,t.TweenMax=Kr,t.default=Xr,t.gsap=Xr,"undefined"==typeof window||window!==t?Object.defineProperty(t,"__esModule",{value:!0}):delete window.default})},function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var i=n(157),o=n(329);e.BrowserQRCodeReader=function(t){function e(e){return void 0===e&&(e=500),t.call(this,new o.default,e)||this}return r(e,t),e}(i.BrowserCodeReader)},function(t,e,n){!function(t,n){n(e)}(0,function(t){function e(t,e){void 0===e&&(e=t.constructor);var n=Error.captureStackTrace;n&&n(t,e)}var n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},r=function(t){function r(n){var r=this.constructor,i=t.call(this,n)||this;return i.name=r.name,function(t,e){var n=Object.setPrototypeOf;n?n(t,e):t.__proto__=e}(i,r.prototype),e(i),i}return function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}(r,t),r}(Error);t.CustomError=r,t.customErrorFactory=function(t,n){function r(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];if(!(this instanceof r))return new(r.bind.apply(r,[void 0].concat(i)));n.apply(this,i),t.apply(this,i),this.name=t.name||n.name,e(this,r)}return void 0===n&&(n=Error),Object.defineProperties(r,{prototype:{value:Object.create(n.prototype,{constructor:{value:r,writable:!0,configurable:!0}})}})}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default=function(){function t(){}return t.floatToIntBits=function(t){return t},t}()},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(83),i=n(128),o=n(330),s=n(1225),a=n(682),u=n(1229),l=n(1230),c=n(114);e.default=function(){function t(){this.rsDecoder=new o.default(i.default.QR_CODE_FIELD_256)}return t.prototype.decodeBooleanArray=function(t,e){return this.decodeBitMatrix(r.default.parseFromBooleanArray(t),e)},t.prototype.decodeBitMatrix=function(t,e){var n=new s.default(t),r=null;try{return this.decodeBitMatrixParser(n,e)}catch(t){r=t}try{n.remask(),n.setMirror(!0),n.readVersion(),n.readFormatInformation(),n.mirror();var i=this.decodeBitMatrixParser(n,e);return i.setOther(new a.default(!0)),i}catch(t){if(null!==r)throw r;throw t}},t.prototype.decodeBitMatrixParser=function(t,e){for(var n=t.readVersion(),r=t.readFormatInformation().getErrorCorrectionLevel(),i=t.readCodewords(),o=u.default.getDataBlocks(i,n,r),s=0,a=0,c=o;a<c.length;a++){s+=(m=c[a]).getNumDataCodewords()}for(var d=new Uint8Array(s),h=0,f=0,p=o;f<p.length;f++){var m,_=(m=p[f]).getCodewords(),g=m.getNumDataCodewords();this.correctErrors(_,g);for(var v=0;v<g;v++)d[h++]=_[v]}return l.default.decode(d,n,r,e)},t.prototype.correctErrors=function(t,e){var n=new Int32Array(t);try{this.rsDecoder.decode(n,t.length-e)}catch(t){throw new c.default}for(var r=0;r<e;r++)t[r]=n[r]},t}()},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(331),i=n(681),o=n(1228),s=n(65);e.default=function(){function t(t){var e=t.getHeight();if(e<21||1!=(3&e))throw new s.default;this.bitMatrix=t}return t.prototype.readFormatInformation=function(){if(null!==this.parsedFormatInfo&&void 0!==this.parsedFormatInfo)return this.parsedFormatInfo;for(var t=0,e=0;e<6;e++)t=this.copyBit(e,8,t);t=this.copyBit(7,8,t),t=this.copyBit(8,8,t),t=this.copyBit(8,7,t);for(var n=5;n>=0;n--)t=this.copyBit(8,n,t);var r=this.bitMatrix.getHeight(),o=0,a=r-7;for(n=r-1;n>=a;n--)o=this.copyBit(8,n,o);for(e=r-8;e<r;e++)o=this.copyBit(e,8,o);if(this.parsedFormatInfo=i.default.decodeFormatInformation(t,o),null!==this.parsedFormatInfo)return this.parsedFormatInfo;throw new s.default},t.prototype.readVersion=function(){if(null!==this.parsedVersion&&void 0!==this.parsedVersion)return this.parsedVersion;var t=this.bitMatrix.getHeight(),e=Math.floor((t-17)/4);if(e<=6)return r.default.getVersionForNumber(e);for(var n=0,i=t-11,o=5;o>=0;o--)for(var a=t-9;a>=i;a--)n=this.copyBit(a,o,n);var u=r.default.decodeVersionInformation(n);if(null!==u&&u.getDimensionForVersion()===t)return this.parsedVersion=u,u;n=0;for(a=5;a>=0;a--)for(o=t-9;o>=i;o--)n=this.copyBit(a,o,n);if(null!==(u=r.default.decodeVersionInformation(n))&&u.getDimensionForVersion()===t)return this.parsedVersion=u,u;throw new s.default},t.prototype.copyBit=function(t,e,n){return(this.isMirror?this.bitMatrix.get(e,t):this.bitMatrix.get(t,e))?n<<1|1:n<<1},t.prototype.readCodewords=function(){var t=this.readFormatInformation(),e=this.readVersion(),n=o.default.values.get(t.getDataMask()),r=this.bitMatrix.getHeight();n.unmaskBitMatrix(this.bitMatrix,r);for(var i=e.buildFunctionPattern(),a=!0,u=new Uint8Array(e.getTotalCodewords()),l=0,c=0,d=0,h=r-1;h>0;h-=2){6===h&&h--;for(var f=0;f<r;f++)for(var p=a?r-1-f:f,m=0;m<2;m++)i.get(h-m,p)||(d++,c<<=1,this.bitMatrix.get(h-m,p)&&(c|=1),8===d&&(u[l++]=c,d=0,c=0));a=!a}if(l!==e.getTotalCodewords())throw new s.default;return u},t.prototype.remask=function(){if(null!==this.parsedFormatInfo){var t=o.default.values[this.parsedFormatInfo.getDataMask()],e=this.bitMatrix.getHeight();t.unmaskBitMatrix(this.bitMatrix,e)}},t.prototype.setMirror=function(t){this.parsedVersion=null,this.parsedFormatInfo=null,this.isMirror=t},t.prototype.mirror=function(){for(var t=this.bitMatrix,e=0,n=t.getWidth();e<n;e++)for(var r=e+1,i=t.getHeight();r<i;r++)t.get(e,r)!==t.get(r,e)&&(t.flip(r,e),t.flip(e,r))},t}()},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default=function(){function t(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];this.ecCodewordsPerBlock=t,this.ecBlocks=e}return t.prototype.getECCodewordsPerBlock=function(){return this.ecCodewordsPerBlock},t.prototype.getNumBlocks=function(){for(var t=0,e=0,n=this.ecBlocks;e<n.length;e++){t+=n[e].getCount()}return t},t.prototype.getTotalECCodewords=function(){return this.ecCodewordsPerBlock*this.getNumBlocks()},t.prototype.getECBlocks=function(){return this.ecBlocks},t}()},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default=function(){function t(t,e){this.count=t,this.dataCodewords=e}return t.prototype.getCount=function(){return this.count},t.prototype.getDataCodewords=function(){return this.dataCodewords},t}()},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r;!function(t){t[t.DATA_MASK_000=0]="DATA_MASK_000",t[t.DATA_MASK_001=1]="DATA_MASK_001",t[t.DATA_MASK_010=2]="DATA_MASK_010",t[t.DATA_MASK_011=3]="DATA_MASK_011",t[t.DATA_MASK_100=4]="DATA_MASK_100",t[t.DATA_MASK_101=5]="DATA_MASK_101",t[t.DATA_MASK_110=6]="DATA_MASK_110",t[t.DATA_MASK_111=7]="DATA_MASK_111"}(r=e.DataMaskValues||(e.DataMaskValues={}));var i=function(){function t(t,e){this.value=t,this.isMasked=e}return t.prototype.unmaskBitMatrix=function(t,e){for(var n=0;n<e;n++)for(var r=0;r<e;r++)this.isMasked(n,r)&&t.flip(r,n)},t.values=new Map([[r.DATA_MASK_000,new t(r.DATA_MASK_000,function(t,e){return 0==(t+e&1)})],[r.DATA_MASK_001,new t(r.DATA_MASK_001,function(t,e){return 0==(1&t)})],[r.DATA_MASK_010,new t(r.DATA_MASK_010,function(t,e){return e%3==0})],[r.DATA_MASK_011,new t(r.DATA_MASK_011,function(t,e){return(t+e)%3==0})],[r.DATA_MASK_100,new t(r.DATA_MASK_100,function(t,e){return 0==(Math.floor(t/2)+Math.floor(e/3)&1)})],[r.DATA_MASK_101,new t(r.DATA_MASK_101,function(t,e){return t*e%6==0})],[r.DATA_MASK_110,new t(r.DATA_MASK_110,function(t,e){return t*e%6<3})],[r.DATA_MASK_111,new t(r.DATA_MASK_111,function(t,e){return 0==(t+e+t*e%3&1)})]]),t}();e.default=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(37);e.default=function(){function t(t,e){this.numDataCodewords=t,this.codewords=e}return t.getDataBlocks=function(e,n,i){if(e.length!==n.getTotalCodewords())throw new r.default;for(var o=n.getECBlocksForLevel(i),s=0,a=o.getECBlocks(),u=0,l=a;u<l.length;u++){s+=(p=l[u]).getCount()}for(var c=new Array(s),d=0,h=0,f=a;h<f.length;h++)for(var p=f[h],m=0;m<p.getCount();m++){var _=p.getDataCodewords(),g=o.getECCodewordsPerBlock()+_;c[d++]=new t(_,new Uint8Array(g))}for(var v=c[0].codewords.length,y=c.length-1;y>=0;){if(c[y].codewords.length===v)break;y--}y++;var b=v-o.getECCodewordsPerBlock(),w=0;for(m=0;m<b;m++)for(var S=0;S<d;S++)c[S].codewords[m]=e[w++];for(S=y;S<d;S++)c[S].codewords[b]=e[w++];var T=c[0].codewords.length;for(m=b;m<T;m++)for(S=0;S<d;S++){c[S].codewords[S<y?m:m+1]=e[w++]}return c},t.prototype.getNumDataCodewords=function(){return this.numDataCodewords},t.prototype.getCodewords=function(){return this.codewords},t}()},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(332),i=n(161),o=n(333),s=n(683),a=n(684),u=n(105),l=n(334),c=n(65);e.default=function(){function t(){}return t.decode=function(e,n,s,l){var d=new r.default(e),h=new u.default,f=new Array,p=-1,m=-1;try{var _=null,g=!1,v=void 0;do{if(d.available()<4)v=a.default.TERMINATOR;else{var y=d.readBits(4);v=a.default.forBits(y)}switch(v){case a.default.TERMINATOR:break;case a.default.FNC1_FIRST_POSITION:case a.default.FNC1_SECOND_POSITION:g=!0;break;case a.default.STRUCTURED_APPEND:if(d.available()<16)throw new c.default;p=d.readBits(8),m=d.readBits(8);break;case a.default.ECI:var b=t.parseECIValue(d);if(null===(_=i.default.getCharacterSetECIByValue(b)))throw new c.default;break;case a.default.HANZI:var w=d.readBits(4),S=d.readBits(v.getCharacterCountBits(n));w===t.GB2312_SUBSET&&t.decodeHanziSegment(d,h,S);break;default:var T=d.readBits(v.getCharacterCountBits(n));switch(v){case a.default.NUMERIC:t.decodeNumericSegment(d,h,T);break;case a.default.ALPHANUMERIC:t.decodeAlphanumericSegment(d,h,T,g);break;case a.default.BYTE:t.decodeByteSegment(d,h,T,_,f,l);break;case a.default.KANJI:t.decodeKanjiSegment(d,h,T);break;default:throw new c.default}}}while(v!==a.default.TERMINATOR)}catch(t){throw new c.default}return new o.default(e,h.toString(),0===f.length?null:f,null===s?null:s.toString(),p,m)},t.decodeHanziSegment=function(t,e,n){if(13*n>t.available())throw new c.default;for(var r=new Uint8Array(2*n),i=0;n>0;){var o=t.readBits(13),a=o/96<<8&4294967295|o%96;r[i]=(a+=a<959?41377:42657)>>8&255,r[i+1]=255&a,i+=2,n--}try{e.append(l.default.decode(r,s.default.GB2312))}catch(t){throw new c.default(t)}},t.decodeKanjiSegment=function(t,e,n){if(13*n>t.available())throw new c.default;for(var r=new Uint8Array(2*n),i=0;n>0;){var o=t.readBits(13),a=o/192<<8&4294967295|o%192;r[i]=(a+=a<7936?33088:49472)>>8,r[i+1]=a,i+=2,n--}try{e.append(l.default.decode(r,s.default.SHIFT_JIS))}catch(t){throw new c.default(t)}},t.decodeByteSegment=function(t,e,n,r,i,o){if(8*n>t.available())throw new c.default;for(var a=new Uint8Array(n),u=0;u<n;u++)a[u]=t.readBits(8);var d;d=null===r?s.default.guessEncoding(a,o):r.getName();try{e.append(l.default.decode(a,d))}catch(t){throw new c.default(t)}i.push(a)},t.toAlphaNumericChar=function(e){if(e>=t.ALPHANUMERIC_CHARS.length)throw new c.default;return t.ALPHANUMERIC_CHARS[e]},t.decodeAlphanumericSegment=function(e,n,r,i){for(var o=n.length();r>1;){if(e.available()<11)throw new c.default;var s=e.readBits(11);n.append(t.toAlphaNumericChar(Math.floor(s/45))),n.append(t.toAlphaNumericChar(s%45)),r-=2}if(1===r){if(e.available()<6)throw new c.default;n.append(t.toAlphaNumericChar(e.readBits(6)))}if(i)for(var a=o;a<n.length();a++)"%"===n.charAt(a)&&(a<n.length()-1&&"%"===n.charAt(a+1)?n.deleteCharAt(a+1):n.setCharAt(a,String.fromCharCode(29)))},t.decodeNumericSegment=function(e,n,r){for(;r>=3;){if(e.available()<10)throw new c.default;var i=e.readBits(10);if(i>=1e3)throw new c.default;n.append(t.toAlphaNumericChar(Math.floor(i/100))),n.append(t.toAlphaNumericChar(Math.floor(i/10)%10)),n.append(t.toAlphaNumericChar(i%10)),r-=3}if(2===r){if(e.available()<7)throw new c.default;var o=e.readBits(7);if(o>=100)throw new c.default;n.append(t.toAlphaNumericChar(Math.floor(o/10))),n.append(t.toAlphaNumericChar(o%10))}else if(1===r){if(e.available()<4)throw new c.default;var s=e.readBits(4);if(s>=10)throw new c.default;n.append(t.toAlphaNumericChar(s))}},t.parseECIValue=function(t){var e=t.readBits(8);if(0==(128&e))return 127&e;if(128==(192&e)){return(63&e)<<8&4294967295|t.readBits(8)}if(192==(224&e)){return(31&e)<<16&4294967295|t.readBits(16)}throw new c.default},t.ALPHANUMERIC_CHARS="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:",t.GB2312_SUBSET=1,t}()},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(62),i=n(50),o=n(335),s=n(336),a=n(337),u=n(115),l=n(331),c=n(1232),d=n(1235),h=n(35);e.default=function(){function t(t){this.image=t}return t.prototype.getImage=function(){return this.image},t.prototype.getResultPointCallback=function(){return this.resultPointCallback},t.prototype.detect=function(t){this.resultPointCallback=null===t||void 0===t?null:t.get(r.default.NEED_RESULT_POINT_CALLBACK);var e=new c.default(this.image,this.resultPointCallback).find(t);return this.processFinderPatternInfo(e)},t.prototype.processFinderPatternInfo=function(e){var n=e.getTopLeft(),r=e.getTopRight(),i=e.getBottomLeft(),s=this.calculateModuleSize(n,r,i);if(s<1)throw new h.default("No pattern found in proccess finder.");var a=t.computeDimension(n,r,i,s),u=l.default.getProvisionalVersionForDimension(a),c=u.getDimensionForVersion()-7,d=null;if(u.getAlignmentPatternCenters().length>0)for(var f=r.getX()-n.getX()+i.getX(),p=r.getY()-n.getY()+i.getY(),m=1-3/c,_=Math.floor(n.getX()+m*(f-n.getX())),g=Math.floor(n.getY()+m*(p-n.getY())),v=4;v<=16;v<<=1)try{d=this.findAlignmentInRegion(s,_,g,v);break}catch(t){if(!(t instanceof h.default))throw t}var y,b=t.createTransform(n,r,i,d,a),w=t.sampleGrid(this.image,b,a);return y=null===d?[i,n,r]:[i,n,r,d],new o.default(w,y)},t.createTransform=function(t,e,n,r,i){var o,s,u,l,c=i-3.5;return null!==r?(o=r.getX(),s=r.getY(),l=u=c-3):(o=e.getX()-t.getX()+n.getX(),s=e.getY()-t.getY()+n.getY(),u=c,l=c),a.default.quadrilateralToQuadrilateral(3.5,3.5,c,3.5,u,l,3.5,c,t.getX(),t.getY(),e.getX(),e.getY(),o,s,n.getX(),n.getY())},t.sampleGrid=function(t,e,n){return s.default.getInstance().sampleGridWithTransform(t,n,n,e)},t.computeDimension=function(t,e,n,r){var o=u.default.round(i.default.distance(t,e)/r),s=u.default.round(i.default.distance(t,n)/r),a=Math.floor((o+s)/2)+7;switch(3&a){case 0:a++;break;case 2:a--;break;case 3:throw new h.default("Dimensions could be not found.")}return a},t.prototype.calculateModuleSize=function(t,e,n){return(this.calculateModuleSizeOneWay(t,e)+this.calculateModuleSizeOneWay(t,n))/2},t.prototype.calculateModuleSizeOneWay=function(t,e){var n=this.sizeOfBlackWhiteBlackRunBothWays(Math.floor(t.getX()),Math.floor(t.getY()),Math.floor(e.getX()),Math.floor(e.getY())),r=this.sizeOfBlackWhiteBlackRunBothWays(Math.floor(e.getX()),Math.floor(e.getY()),Math.floor(t.getX()),Math.floor(t.getY()));return isNaN(n)?r/7:isNaN(r)?n/7:(n+r)/14},t.prototype.sizeOfBlackWhiteBlackRunBothWays=function(t,e,n,r){var i=this.sizeOfBlackWhiteBlackRun(t,e,n,r),o=1,s=t-(n-t);s<0?(o=t/(t-s),s=0):s>=this.image.getWidth()&&(o=(this.image.getWidth()-1-t)/(s-t),s=this.image.getWidth()-1);var a=Math.floor(e-(r-e)*o);return o=1,a<0?(o=e/(e-a),a=0):a>=this.image.getHeight()&&(o=(this.image.getHeight()-1-e)/(a-e),a=this.image.getHeight()-1),s=Math.floor(t+(s-t)*o),(i+=this.sizeOfBlackWhiteBlackRun(t,e,s,a))-1},t.prototype.sizeOfBlackWhiteBlackRun=function(t,e,n,r){var i=Math.abs(r-e)>Math.abs(n-t);if(i){var o=t;t=e,e=o,o=n,n=r,r=o}for(var s=Math.abs(n-t),a=Math.abs(r-e),l=-s/2,c=t<n?1:-1,d=e<r?1:-1,h=0,f=n+c,p=t,m=e;p!==f;p+=c){if(1===h===this.image.get(i?m:p,i?p:m)){if(2===h)return u.default.distance(p,m,t,e);h++}if((l+=a)>0){if(m===r)break;m+=d,l-=s}}return 2===h?u.default.distance(n+c,r,t,e):NaN},t.prototype.findAlignmentInRegion=function(t,e,n,r){var i=Math.floor(r*t),o=Math.max(0,e-i),s=Math.min(this.image.getWidth()-1,e+i);if(s-o<3*t)throw new h.default("Alignment top exceeds estimated module size.");var a=Math.max(0,n-i),u=Math.min(this.image.getHeight()-1,n+i);if(u-a<3*t)throw new h.default("Alignment bottom exceeds estimated module size.");return new d.default(this.image,o,a,s-o,u-a,t,this.resultPointCallback).find()},t}()},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(62),i=n(50),o=n(1233),s=n(1234),a=n(35),u=function(){function t(t,e){this.image=t,this.resultPointCallback=e,this.possibleCenters=[],this.crossCheckStateCount=new Int32Array(5),this.resultPointCallback=e}return t.prototype.getImage=function(){return this.image},t.prototype.getPossibleCenters=function(){return this.possibleCenters},t.prototype.find=function(e){var n=null!==e&&void 0!==e&&void 0!==e.get(r.default.TRY_HARDER),o=null!==e&&void 0!==e&&void 0!==e.get(r.default.PURE_BARCODE),a=this.image,u=a.getHeight(),l=a.getWidth(),c=Math.floor(3*u/(4*t.MAX_MODULES));(c<t.MIN_SKIP||n)&&(c=t.MIN_SKIP);for(var d=!1,h=new Int32Array(5),f=c-1;f<u&&!d;f+=c){h[0]=0,h[1]=0,h[2]=0,h[3]=0,h[4]=0;for(var p=0,m=0;m<l;m++)if(a.get(m,f))1==(1&p)&&p++,h[p]++;else if(0==(1&p))if(4===p)if(t.foundPatternCross(h)){if(!0!==this.handlePossibleCenter(h,f,m,o)){h[0]=h[2],h[1]=h[3],h[2]=h[4],h[3]=1,h[4]=0,p=3;continue}if(c=2,!0===this.hasSkipped)d=this.haveMultiplyConfirmedCenters();else{var _=this.findRowSkip();_>h[2]&&(f+=_-h[2]-c,m=l-1)}p=0,h[0]=0,h[1]=0,h[2]=0,h[3]=0,h[4]=0}else h[0]=h[2],h[1]=h[3],h[2]=h[4],h[3]=1,h[4]=0,p=3;else h[++p]++;else h[p]++;if(t.foundPatternCross(h)){!0===this.handlePossibleCenter(h,f,l,o)&&(c=h[0],this.hasSkipped&&(d=this.haveMultiplyConfirmedCenters()))}}var g=this.selectBestPatterns();return i.default.orderBestPatterns(g),new s.default(g)},t.centerFromEnd=function(t,e){return e-t[4]-t[3]-t[2]/2},t.foundPatternCross=function(t){for(var e=0,n=0;n<5;n++){var r=t[n];if(0===r)return!1;e+=r}if(e<7)return!1;var i=e/7,o=i/2;return Math.abs(i-t[0])<o&&Math.abs(i-t[1])<o&&Math.abs(3*i-t[2])<3*o&&Math.abs(i-t[3])<o&&Math.abs(i-t[4])<o},t.prototype.getCrossCheckStateCount=function(){var t=this.crossCheckStateCount;return t[0]=0,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t},t.prototype.crossCheckDiagonal=function(e,n,r,i){for(var o=this.getCrossCheckStateCount(),s=0,a=this.image;e>=s&&n>=s&&a.get(n-s,e-s);)o[2]++,s++;if(e<s||n<s)return!1;for(;e>=s&&n>=s&&!a.get(n-s,e-s)&&o[1]<=r;)o[1]++,s++;if(e<s||n<s||o[1]>r)return!1;for(;e>=s&&n>=s&&a.get(n-s,e-s)&&o[0]<=r;)o[0]++,s++;if(o[0]>r)return!1;var u=a.getHeight(),l=a.getWidth();for(s=1;e+s<u&&n+s<l&&a.get(n+s,e+s);)o[2]++,s++;if(e+s>=u||n+s>=l)return!1;for(;e+s<u&&n+s<l&&!a.get(n+s,e+s)&&o[3]<r;)o[3]++,s++;if(e+s>=u||n+s>=l||o[3]>=r)return!1;for(;e+s<u&&n+s<l&&a.get(n+s,e+s)&&o[4]<r;)o[4]++,s++;if(o[4]>=r)return!1;var c=o[0]+o[1]+o[2]+o[3]+o[4];return Math.abs(c-i)<2*i&&t.foundPatternCross(o)},t.prototype.crossCheckVertical=function(e,n,r,i){for(var o=this.image,s=o.getHeight(),a=this.getCrossCheckStateCount(),u=e;u>=0&&o.get(n,u);)a[2]++,u--;if(u<0)return NaN;for(;u>=0&&!o.get(n,u)&&a[1]<=r;)a[1]++,u--;if(u<0||a[1]>r)return NaN;for(;u>=0&&o.get(n,u)&&a[0]<=r;)a[0]++,u--;if(a[0]>r)return NaN;for(u=e+1;u<s&&o.get(n,u);)a[2]++,u++;if(u===s)return NaN;for(;u<s&&!o.get(n,u)&&a[3]<r;)a[3]++,u++;if(u===s||a[3]>=r)return NaN;for(;u<s&&o.get(n,u)&&a[4]<r;)a[4]++,u++;if(a[4]>=r)return NaN;var l=a[0]+a[1]+a[2]+a[3]+a[4];return 5*Math.abs(l-i)>=2*i?NaN:t.foundPatternCross(a)?t.centerFromEnd(a,u):NaN},t.prototype.crossCheckHorizontal=function(e,n,r,i){for(var o=this.image,s=o.getWidth(),a=this.getCrossCheckStateCount(),u=e;u>=0&&o.get(u,n);)a[2]++,u--;if(u<0)return NaN;for(;u>=0&&!o.get(u,n)&&a[1]<=r;)a[1]++,u--;if(u<0||a[1]>r)return NaN;for(;u>=0&&o.get(u,n)&&a[0]<=r;)a[0]++,u--;if(a[0]>r)return NaN;for(u=e+1;u<s&&o.get(u,n);)a[2]++,u++;if(u===s)return NaN;for(;u<s&&!o.get(u,n)&&a[3]<r;)a[3]++,u++;if(u===s||a[3]>=r)return NaN;for(;u<s&&o.get(u,n)&&a[4]<r;)a[4]++,u++;if(a[4]>=r)return NaN;var l=a[0]+a[1]+a[2]+a[3]+a[4];return 5*Math.abs(l-i)>=i?NaN:t.foundPatternCross(a)?t.centerFromEnd(a,u):NaN},t.prototype.handlePossibleCenter=function(e,n,r,i){var s=e[0]+e[1]+e[2]+e[3]+e[4],a=t.centerFromEnd(e,r),u=this.crossCheckVertical(n,Math.floor(a),e[2],s);if(!isNaN(u)&&(a=this.crossCheckHorizontal(Math.floor(a),Math.floor(u),e[2],s),!isNaN(a)&&(!i||this.crossCheckDiagonal(Math.floor(u),Math.floor(a),e[2],s)))){for(var l=s/7,c=!1,d=this.possibleCenters,h=0,f=d.length;h<f;h++){var p=d[h];if(p.aboutEquals(l,u,a)){d[h]=p.combineEstimate(u,a,l),c=!0;break}}if(!c){var m=new o.default(a,u,l);d.push(m),null!==this.resultPointCallback&&void 0!==this.resultPointCallback&&this.resultPointCallback.foundPossibleResultPoint(m)}return!0}return!1},t.prototype.findRowSkip=function(){if(this.possibleCenters.length<=1)return 0;for(var e=null,n=0,r=this.possibleCenters;n<r.length;n++){var i=r[n];if(i.getCount()>=t.CENTER_QUORUM){if(null!=e)return this.hasSkipped=!0,Math.floor((Math.abs(e.getX()-i.getX())-Math.abs(e.getY()-i.getY()))/2);e=i}}return 0},t.prototype.haveMultiplyConfirmedCenters=function(){for(var e=0,n=0,r=this.possibleCenters.length,i=0,o=this.possibleCenters;i<o.length;i++){(c=o[i]).getCount()>=t.CENTER_QUORUM&&(e++,n+=c.getEstimatedModuleSize())}if(e<3)return!1;for(var s=n/r,a=0,u=0,l=this.possibleCenters;u<l.length;u++){var c=l[u];a+=Math.abs(c.getEstimatedModuleSize()-s)}return a<=.05*n},t.prototype.selectBestPatterns=function(){var t=this.possibleCenters.length;if(t<3)throw new a.default;var e,n=this.possibleCenters;if(t>3){for(var r=0,i=0,o=0,s=this.possibleCenters;o<s.length;o++){var u=s[o].getEstimatedModuleSize();r+=u,i+=u*u}e=r/t;var l=Math.sqrt(i/t-e*e);n.sort(function(t,n){var r=Math.abs(n.getEstimatedModuleSize()-e),i=Math.abs(t.getEstimatedModuleSize()-e);return r<i?-1:r>i?1:0});for(var c=Math.max(.2*e,l),d=0;d<n.length&&n.length>3;d++){var h=n[d];Math.abs(h.getEstimatedModuleSize()-e)>c&&(n.splice(d,1),d--)}}if(n.length>3){r=0;for(var f=0,p=n;f<p.length;f++){r+=p[f].getEstimatedModuleSize()}e=r/n.length,n.sort(function(t,n){if(n.getCount()===t.getCount()){var r=Math.abs(n.getEstimatedModuleSize()-e),i=Math.abs(t.getEstimatedModuleSize()-e);return r<i?1:r>i?-1:0}return n.getCount()-t.getCount()}),n.splice(3)}return[n[0],n[1],n[2]]},t.CENTER_QUORUM=2,t.MIN_SKIP=3,t.MAX_MODULES=57,t}();e.default=u},function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var i=n(50);e.default=function(t){function e(e,n,r,i){var o=t.call(this,e,n)||this;return o.estimatedModuleSize=r,o.count=i,void 0===i&&(o.count=1),o}return r(e,t),e.prototype.getEstimatedModuleSize=function(){return this.estimatedModuleSize},e.prototype.getCount=function(){return this.count},e.prototype.aboutEquals=function(t,e,n){if(Math.abs(e-this.getY())<=t&&Math.abs(n-this.getX())<=t){var r=Math.abs(t-this.estimatedModuleSize);return r<=1||r<=this.estimatedModuleSize}return!1},e.prototype.combineEstimate=function(t,n,r){var i=this.count+1;return new e((this.count*this.getX()+n)/i,(this.count*this.getY()+t)/i,(this.count*this.estimatedModuleSize+r)/i,i)},e}(i.default)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default=function(){function t(t){this.bottomLeft=t[0],this.topLeft=t[1],this.topRight=t[2]}return t.prototype.getBottomLeft=function(){return this.bottomLeft},t.prototype.getTopLeft=function(){return this.topLeft},t.prototype.getTopRight=function(){return this.topRight},t}()},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1236),i=n(35);e.default=function(){function t(t,e,n,r,i,o,s){this.image=t,this.startX=e,this.startY=n,this.width=r,this.height=i,this.moduleSize=o,this.resultPointCallback=s,this.possibleCenters=[],this.crossCheckStateCount=new Int32Array(3)}return t.prototype.find=function(){for(var t=this.startX,e=this.height,n=t+this.width,r=this.startY+e/2,o=new Int32Array(3),s=this.image,a=0;a<e;a++){var u=r+(0==(1&a)?Math.floor((a+1)/2):-Math.floor((a+1)/2));o[0]=0,o[1]=0,o[2]=0;for(var l=t;l<n&&!s.get(l,u);)l++;for(var c=0;l<n;){if(s.get(l,u))if(1===c)o[1]++;else if(2===c){if(this.foundPatternCross(o)){if(null!==(d=this.handlePossibleCenter(o,u,l)))return d}o[0]=o[2],o[1]=1,o[2]=0,c=1}else o[++c]++;else 1===c&&c++,o[c]++;l++}if(this.foundPatternCross(o)){var d;if(null!==(d=this.handlePossibleCenter(o,u,n)))return d}}if(0!==this.possibleCenters.length)return this.possibleCenters[0];throw new i.default},t.centerFromEnd=function(t,e){return e-t[2]-t[1]/2},t.prototype.foundPatternCross=function(t){for(var e=this.moduleSize,n=e/2,r=0;r<3;r++)if(Math.abs(e-t[r])>=n)return!1;return!0},t.prototype.crossCheckVertical=function(e,n,r,i){var o=this.image,s=o.getHeight(),a=this.crossCheckStateCount;a[0]=0,a[1]=0,a[2]=0;for(var u=e;u>=0&&o.get(n,u)&&a[1]<=r;)a[1]++,u--;if(u<0||a[1]>r)return NaN;for(;u>=0&&!o.get(n,u)&&a[0]<=r;)a[0]++,u--;if(a[0]>r)return NaN;for(u=e+1;u<s&&o.get(n,u)&&a[1]<=r;)a[1]++,u++;if(u===s||a[1]>r)return NaN;for(;u<s&&!o.get(n,u)&&a[2]<=r;)a[2]++,u++;if(a[2]>r)return NaN;var l=a[0]+a[1]+a[2];return 5*Math.abs(l-i)>=2*i?NaN:this.foundPatternCross(a)?t.centerFromEnd(a,u):NaN},t.prototype.handlePossibleCenter=function(e,n,i){var o=e[0]+e[1]+e[2],s=t.centerFromEnd(e,i),a=this.crossCheckVertical(n,s,2*e[1],o);if(!isNaN(a)){for(var u=(e[0]+e[1]+e[2])/3,l=0,c=this.possibleCenters;l<c.length;l++){var d=c[l];if(d.aboutEquals(u,a,s))return d.combineEstimate(a,s,u)}var h=new r.default(s,a,u);this.possibleCenters.push(h),null!==this.resultPointCallback&&void 0!==this.resultPointCallback&&this.resultPointCallback.foundPossibleResultPoint(h)}return null},t}()},function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var i=n(50);e.default=function(t){function e(e,n,r){var i=t.call(this,e,n)||this;return i.estimatedModuleSize=r,i}return r(e,t),e.prototype.aboutEquals=function(t,e,n){if(Math.abs(e-this.getY())<=t&&Math.abs(n-this.getX())<=t){var r=Math.abs(t-this.estimatedModuleSize);return r<=1||r<=this.estimatedModuleSize}return!1},e.prototype.combineEstimate=function(t,n,r){return new e((this.getX()+n)/2,(this.getY()+t)/2,(this.estimatedModuleSize+r)/2)},e}(i.default)},function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var i=n(157),o=n(338);e.BrowserDatamatrixCodeReader=function(t){function e(e){return void 0===e&&(e=500),t.call(this,new o.default,e)||this}return r(e,t),e}(i.BrowserCodeReader)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(330),i=n(128),o=n(1239),s=n(1241),a=n(1242),u=n(114);e.default=function(){function t(){this.rsDecoder=new r.default(i.default.DATA_MATRIX_FIELD_256)}return t.prototype.decode=function(t){for(var e=new o.default(t),n=e.getVersion(),r=e.readCodewords(),i=s.default.getDataBlocks(r,n),u=0,l=0,c=i;l<c.length;l++){u+=c[l].getNumDataCodewords()}for(var d=new Uint8Array(u),h=i.length,f=0;f<h;f++){var p=i[f],m=p.getCodewords(),_=p.getNumDataCodewords();this.correctErrors(m,_);for(var g=0;g<_;g++)d[g*h+f]=m[g]}return a.default.decode(d)},t.prototype.correctErrors=function(t,e){var n=new Int32Array(t);try{this.rsDecoder.decode(n,t.length-e)}catch(t){throw new u.default}for(var r=0;r<e;r++)t[r]=n[r]},t}()},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(83),i=n(1240),o=n(65),s=n(37);e.default=function(){function t(e){var n=e.getHeight();if(n<8||n>144||0!=(1&n))throw new o.default;this.version=t.readVersion(e),this.mappingBitMatrix=this.extractDataRegion(e),this.readMappingMatrix=new r.default(this.mappingBitMatrix.getWidth(),this.mappingBitMatrix.getHeight())}return t.prototype.getVersion=function(){return this.version},t.readVersion=function(t){var e=t.getHeight(),n=t.getWidth();return i.default.getVersionForDimensions(e,n)},t.prototype.readCodewords=function(){var t=new Int8Array(this.version.getTotalCodewords()),e=0,n=4,r=0,i=this.mappingBitMatrix.getHeight(),s=this.mappingBitMatrix.getWidth(),a=!1,u=!1,l=!1,c=!1;do{if(n!==i||0!==r||a)if(n!==i-2||0!==r||0==(3&s)||u)if(n!==i+4||2!==r||0!=(7&s)||l)if(n!==i-2||0!==r||4!=(7&s)||c){do{n<i&&r>=0&&!this.readMappingMatrix.get(r,n)&&(t[e++]=255&this.readUtah(n,r,i,s)),n-=2,r+=2}while(n>=0&&r<s);n+=1,r+=3;do{n>=0&&r<s&&!this.readMappingMatrix.get(r,n)&&(t[e++]=255&this.readUtah(n,r,i,s)),n+=2,r-=2}while(n<i&&r>=0);n+=3,r+=1}else t[e++]=255&this.readCorner4(i,s),n-=2,r+=2,c=!0;else t[e++]=255&this.readCorner3(i,s),n-=2,r+=2,l=!0;else t[e++]=255&this.readCorner2(i,s),n-=2,r+=2,u=!0;else t[e++]=255&this.readCorner1(i,s),n-=2,r+=2,a=!0}while(n<i||r<s);if(e!==this.version.getTotalCodewords())throw new o.default;return t},t.prototype.readModule=function(t,e,n,r){return t<0&&(t+=n,e+=4-(n+4&7)),e<0&&(e+=r,t+=4-(r+4&7)),this.readMappingMatrix.set(e,t),this.mappingBitMatrix.get(e,t)},t.prototype.readUtah=function(t,e,n,r){var i=0;return this.readModule(t-2,e-2,n,r)&&(i|=1),i<<=1,this.readModule(t-2,e-1,n,r)&&(i|=1),i<<=1,this.readModule(t-1,e-2,n,r)&&(i|=1),i<<=1,this.readModule(t-1,e-1,n,r)&&(i|=1),i<<=1,this.readModule(t-1,e,n,r)&&(i|=1),i<<=1,this.readModule(t,e-2,n,r)&&(i|=1),i<<=1,this.readModule(t,e-1,n,r)&&(i|=1),i<<=1,this.readModule(t,e,n,r)&&(i|=1),i},t.prototype.readCorner1=function(t,e){var n=0;return this.readModule(t-1,0,t,e)&&(n|=1),n<<=1,this.readModule(t-1,1,t,e)&&(n|=1),n<<=1,this.readModule(t-1,2,t,e)&&(n|=1),n<<=1,this.readModule(0,e-2,t,e)&&(n|=1),n<<=1,this.readModule(0,e-1,t,e)&&(n|=1),n<<=1,this.readModule(1,e-1,t,e)&&(n|=1),n<<=1,this.readModule(2,e-1,t,e)&&(n|=1),n<<=1,this.readModule(3,e-1,t,e)&&(n|=1),n},t.prototype.readCorner2=function(t,e){var n=0;return this.readModule(t-3,0,t,e)&&(n|=1),n<<=1,this.readModule(t-2,0,t,e)&&(n|=1),n<<=1,this.readModule(t-1,0,t,e)&&(n|=1),n<<=1,this.readModule(0,e-4,t,e)&&(n|=1),n<<=1,this.readModule(0,e-3,t,e)&&(n|=1),n<<=1,this.readModule(0,e-2,t,e)&&(n|=1),n<<=1,this.readModule(0,e-1,t,e)&&(n|=1),n<<=1,this.readModule(1,e-1,t,e)&&(n|=1),n},t.prototype.readCorner3=function(t,e){var n=0;return this.readModule(t-1,0,t,e)&&(n|=1),n<<=1,this.readModule(t-1,e-1,t,e)&&(n|=1),n<<=1,this.readModule(0,e-3,t,e)&&(n|=1),n<<=1,this.readModule(0,e-2,t,e)&&(n|=1),n<<=1,this.readModule(0,e-1,t,e)&&(n|=1),n<<=1,this.readModule(1,e-3,t,e)&&(n|=1),n<<=1,this.readModule(1,e-2,t,e)&&(n|=1),n<<=1,this.readModule(1,e-1,t,e)&&(n|=1),n},t.prototype.readCorner4=function(t,e){var n=0;return this.readModule(t-3,0,t,e)&&(n|=1),n<<=1,this.readModule(t-2,0,t,e)&&(n|=1),n<<=1,this.readModule(t-1,0,t,e)&&(n|=1),n<<=1,this.readModule(0,e-2,t,e)&&(n|=1),n<<=1,this.readModule(0,e-1,t,e)&&(n|=1),n<<=1,this.readModule(1,e-1,t,e)&&(n|=1),n<<=1,this.readModule(2,e-1,t,e)&&(n|=1),n<<=1,this.readModule(3,e-1,t,e)&&(n|=1),n},t.prototype.extractDataRegion=function(t){var e=this.version.getSymbolSizeRows(),n=this.version.getSymbolSizeColumns();if(t.getHeight()!==e)throw new s.default("Dimension of bitMatrix must match the version size");for(var i=this.version.getDataRegionSizeRows(),o=this.version.getDataRegionSizeColumns(),a=e/i|0,u=n/o|0,l=new r.default(u*o,a*i),c=0;c<a;++c)for(var d=c*i,h=0;h<u;++h)for(var f=h*o,p=0;p<i;++p)for(var m=c*(i+2)+1+p,_=d+p,g=0;g<o;++g){if(t.get(h*(o+2)+1+g,m)){l.set(f+g,_)}}return l},t}()},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(65),i=function(){function t(t,e,n){this.ecCodewords=t,this.ecBlocks=[e],n&&this.ecBlocks.push(n)}return t.prototype.getECCodewords=function(){return this.ecCodewords},t.prototype.getECBlocks=function(){return this.ecBlocks},t}();e.ECBlocks=i;var o=function(){function t(t,e){this.count=t,this.dataCodewords=e}return t.prototype.getCount=function(){return this.count},t.prototype.getDataCodewords=function(){return this.dataCodewords},t}();e.ECB=o;e.default=function(){function t(t,e,n,r,i,o){this.versionNumber=t,this.symbolSizeRows=e,this.symbolSizeColumns=n,this.dataRegionSizeRows=r,this.dataRegionSizeColumns=i,this.ecBlocks=o;for(var s=0,a=o.getECCodewords(),u=0,l=o.getECBlocks();u<l.length;u++){var c=l[u];s+=c.getCount()*(c.getDataCodewords()+a)}this.totalCodewords=s}return t.prototype.getVersionNumber=function(){return this.versionNumber},t.prototype.getSymbolSizeRows=function(){return this.symbolSizeRows},t.prototype.getSymbolSizeColumns=function(){return this.symbolSizeColumns},t.prototype.getDataRegionSizeRows=function(){return this.dataRegionSizeRows},t.prototype.getDataRegionSizeColumns=function(){return this.dataRegionSizeColumns},t.prototype.getTotalCodewords=function(){return this.totalCodewords},t.prototype.getECBlocks=function(){return this.ecBlocks},t.getVersionForDimensions=function(e,n){if(0!=(1&e)||0!=(1&n))throw new r.default;for(var i=0,o=t.VERSIONS;i<o.length;i++){var s=o[i];if(s.symbolSizeRows===e&&s.symbolSizeColumns===n)return s}throw new r.default},t.prototype.toString=function(){return""+this.versionNumber},t.buildVersions=function(){return[new t(1,10,10,8,8,new i(5,new o(1,3))),new t(2,12,12,10,10,new i(7,new o(1,5))),new t(3,14,14,12,12,new i(10,new o(1,8))),new t(4,16,16,14,14,new i(12,new o(1,12))),new t(5,18,18,16,16,new i(14,new o(1,18))),new t(6,20,20,18,18,new i(18,new o(1,22))),new t(7,22,22,20,20,new i(20,new o(1,30))),new t(8,24,24,22,22,new i(24,new o(1,36))),new t(9,26,26,24,24,new i(28,new o(1,44))),new t(10,32,32,14,14,new i(36,new o(1,62))),new t(11,36,36,16,16,new i(42,new o(1,86))),new t(12,40,40,18,18,new i(48,new o(1,114))),new t(13,44,44,20,20,new i(56,new o(1,144))),new t(14,48,48,22,22,new i(68,new o(1,174))),new t(15,52,52,24,24,new i(42,new o(2,102))),new t(16,64,64,14,14,new i(56,new o(2,140))),new t(17,72,72,16,16,new i(36,new o(4,92))),new t(18,80,80,18,18,new i(48,new o(4,114))),new t(19,88,88,20,20,new i(56,new o(4,144))),new t(20,96,96,22,22,new i(68,new o(4,174))),new t(21,104,104,24,24,new i(56,new o(6,136))),new t(22,120,120,18,18,new i(68,new o(6,175))),new t(23,132,132,20,20,new i(62,new o(8,163))),new t(24,144,144,22,22,new i(62,new o(8,156),new o(2,155))),new t(25,8,18,6,16,new i(7,new o(1,5))),new t(26,8,32,6,14,new i(11,new o(1,10))),new t(27,12,26,10,24,new i(14,new o(1,16))),new t(28,12,36,10,16,new i(18,new o(1,22))),new t(29,16,36,14,16,new i(24,new o(1,32))),new t(30,16,48,14,22,new i(28,new o(1,49)))]},t.VERSIONS=t.buildVersions(),t}()},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(37);e.default=function(){function t(t,e){this.numDataCodewords=t,this.codewords=e}return t.getDataBlocks=function(e,n){for(var i=n.getECBlocks(),o=0,s=i.getECBlocks(),a=0,u=s;a<u.length;a++){o+=(f=u[a]).getCount()}for(var l=new Array(o),c=0,d=0,h=s;d<h.length;d++)for(var f=h[d],p=0;p<f.getCount();p++){var m=f.getDataCodewords(),_=i.getECCodewords()+m;l[c++]=new t(m,new Uint8Array(_))}var g=l[0].codewords.length-i.getECCodewords(),v=g-1,y=0;for(p=0;p<v;p++)for(var b=0;b<c;b++)l[b].codewords[p]=e[y++];var w=24===n.getVersionNumber(),S=w?8:c;for(b=0;b<S;b++)l[b].codewords[g-1]=e[y++];var T=l[0].codewords.length;for(p=g;p<T;p++)for(b=0;b<c;b++){var E=w?(b+8)%c:b;l[E].codewords[w&&E>7?p-1:p]=e[y++]}if(y!==e.length)throw new r.default;return l},t.prototype.getNumDataCodewords=function(){return this.numDataCodewords},t.prototype.getCodewords=function(){return this.codewords},t}()},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(333),i=n(332),o=n(105),s=n(334),a=n(672),u=n(65),l=n(160),c=function(){var t={};return t[t.PAD_ENCODE=0]="PAD_ENCODE",t[t.ASCII_ENCODE=1]="ASCII_ENCODE",t[t.C40_ENCODE=2]="C40_ENCODE",t[t.TEXT_ENCODE=3]="TEXT_ENCODE",t[t.ANSIX12_ENCODE=4]="ANSIX12_ENCODE",t[t.EDIFACT_ENCODE=5]="EDIFACT_ENCODE",t[t.BASE256_ENCODE=6]="BASE256_ENCODE",t}();e.default=function(){function t(){}return t.decode=function(t){var e=new i.default(t),n=new o.default,s=new o.default,a=new Array,l=c.ASCII_ENCODE;do{if(l===c.ASCII_ENCODE)l=this.decodeAsciiSegment(e,n,s);else{switch(l){case c.C40_ENCODE:this.decodeC40Segment(e,n);break;case c.TEXT_ENCODE:this.decodeTextSegment(e,n);break;case c.ANSIX12_ENCODE:this.decodeAnsiX12Segment(e,n);break;case c.EDIFACT_ENCODE:this.decodeEdifactSegment(e,n);break;case c.BASE256_ENCODE:this.decodeBase256Segment(e,n,a);break;default:throw new u.default}l=c.ASCII_ENCODE}}while(l!==c.PAD_ENCODE&&e.available()>0);return s.length()>0&&n.append(s.toString()),new r.default(t,n.toString(),0===a.length?null:a,null)},t.decodeAsciiSegment=function(t,e,n){var r=!1;do{var i=t.readBits(8);if(0===i)throw new u.default;if(i<=128)return r&&(i+=128),e.append(String.fromCharCode(i-1)),c.ASCII_ENCODE;if(129===i)return c.PAD_ENCODE;if(i<=229){var o=i-130;o<10&&e.append("0"),e.append(""+o)}else switch(i){case 230:return c.C40_ENCODE;case 231:return c.BASE256_ENCODE;case 232:e.append(String.fromCharCode(29));break;case 233:case 234:break;case 235:r=!0;break;case 236:e.append("[)>05"),n.insert(0,"");break;case 237:e.append("[)>06"),n.insert(0,"");break;case 238:return c.ANSIX12_ENCODE;case 239:return c.TEXT_ENCODE;case 240:return c.EDIFACT_ENCODE;case 241:break;default:if(254!==i||0!==t.available())throw new u.default}}while(t.available()>0);return c.ASCII_ENCODE},t.decodeC40Segment=function(t,e){var n=!1,r=[],i=0;do{if(8===t.available())return;var o=t.readBits(8);if(254===o)return;this.parseTwoBytes(o,t.readBits(8),r);for(var s=0;s<3;s++){var a=r[s];switch(i){case 0:if(a<3)i=a+1;else{if(!(a<this.C40_BASIC_SET_CHARS.length))throw new u.default;var l=this.C40_BASIC_SET_CHARS[a];n?(e.append(String.fromCharCode(l.charCodeAt(0)+128)),n=!1):e.append(l)}break;case 1:n?(e.append(String.fromCharCode(a+128)),n=!1):e.append(String.fromCharCode(a)),i=0;break;case 2:if(a<this.C40_SHIFT2_SET_CHARS.length){l=this.C40_SHIFT2_SET_CHARS[a];n?(e.append(String.fromCharCode(l.charCodeAt(0)+128)),n=!1):e.append(l)}else switch(a){case 27:e.append(String.fromCharCode(29));break;case 30:n=!0;break;default:throw new u.default}i=0;break;case 3:n?(e.append(String.fromCharCode(a+224)),n=!1):e.append(String.fromCharCode(a+96)),i=0;break;default:throw new u.default}}}while(t.available()>0)},t.decodeTextSegment=function(t,e){var n=!1,r=[],i=0;do{if(8===t.available())return;var o=t.readBits(8);if(254===o)return;this.parseTwoBytes(o,t.readBits(8),r);for(var s=0;s<3;s++){var a=r[s];switch(i){case 0:if(a<3)i=a+1;else{if(!(a<this.TEXT_BASIC_SET_CHARS.length))throw new u.default;var l=this.TEXT_BASIC_SET_CHARS[a];n?(e.append(String.fromCharCode(l.charCodeAt(0)+128)),n=!1):e.append(l)}break;case 1:n?(e.append(String.fromCharCode(a+128)),n=!1):e.append(String.fromCharCode(a)),i=0;break;case 2:if(a<this.TEXT_SHIFT2_SET_CHARS.length){l=this.TEXT_SHIFT2_SET_CHARS[a];n?(e.append(String.fromCharCode(l.charCodeAt(0)+128)),n=!1):e.append(l)}else switch(a){case 27:e.append(String.fromCharCode(29));break;case 30:n=!0;break;default:throw new u.default}i=0;break;case 3:if(!(a<this.TEXT_SHIFT3_SET_CHARS.length))throw new u.default;l=this.TEXT_SHIFT3_SET_CHARS[a];n?(e.append(String.fromCharCode(l.charCodeAt(0)+128)),n=!1):e.append(l),i=0;break;default:throw new u.default}}}while(t.available()>0)},t.decodeAnsiX12Segment=function(t,e){var n=[];do{if(8===t.available())return;var r=t.readBits(8);if(254===r)return;this.parseTwoBytes(r,t.readBits(8),n);for(var i=0;i<3;i++){var o=n[i];switch(o){case 0:e.append("\r");break;case 1:e.append("*");break;case 2:e.append(">");break;case 3:e.append(" ");break;default:if(o<14)e.append(String.fromCharCode(o+44));else{if(!(o<40))throw new u.default;e.append(String.fromCharCode(o+51))}}}}while(t.available()>0)},t.parseTwoBytes=function(t,e,n){var r=(t<<8)+e-1,i=Math.floor(r/1600);n[0]=i,r-=1600*i,i=Math.floor(r/40),n[1]=i,n[2]=r-40*i},t.decodeEdifactSegment=function(t,e){do{if(t.available()<=16)return;for(var n=0;n<4;n++){var r=t.readBits(6);if(31===r){var i=8-t.getBitOffset();return void(8!==i&&t.readBits(i))}0==(32&r)&&(r|=64),e.append(String.fromCharCode(r))}}while(t.available()>0)},t.decodeBase256Segment=function(t,e,n){var r,i=1+t.getByteOffset(),o=this.unrandomize255State(t.readBits(8),i++);if((r=0===o?t.available()/8|0:o<250?o:250*(o-249)+this.unrandomize255State(t.readBits(8),i++))<0)throw new u.default;for(var c=new Uint8Array(r),d=0;d<r;d++){if(t.available()<8)throw new u.default;c[d]=this.unrandomize255State(t.readBits(8),i++)}n.push(c);try{e.append(s.default.decode(c,a.StringUtils.ISO88591))}catch(t){throw new l.default("Platform does not support required encoding: "+t.message)}},t.unrandomize255State=function(t,e){var n=t-(149*e%255+1);return n>=0?n:n+256},t.C40_BASIC_SET_CHARS=["*","*","*"," ","0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],t.C40_SHIFT2_SET_CHARS=["!",'"',"#","$","%","&","'","(",")","*","+",",","-",".","/",":",";","<","=",">","?","@","[","\\","]","^","_"],t.TEXT_BASIC_SET_CHARS=["*","*","*"," ","0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"],t.TEXT_SHIFT2_SET_CHARS=t.C40_SHIFT2_SET_CHARS,t.TEXT_SHIFT3_SET_CHARS=["`","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","{","|","}","~",String.fromCharCode(127)],t}()},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(50),i=n(335),o=n(336),s=n(115),a=n(687),u=n(35);e.default=function(){function t(t){this.image=t,this.rectangleDetector=new a.default(t)}return t.prototype.detect=function(){var e=this.rectangleDetector.detect(),n=e[0],o=e[1],s=e[2],a=e[3],c=[];c.push(this.transitionsBetween(n,o)),c.push(this.transitionsBetween(n,s)),c.push(this.transitionsBetween(o,a)),c.push(this.transitionsBetween(s,a)),c.sort(l.resultPointsAndTransitionsComparator);var d=c[0],h=c[1],f=new Map;t.increment(f,d.getFrom()),t.increment(f,d.getTo()),t.increment(f,h.getFrom()),t.increment(f,h.getTo());for(var p=null,m=null,_=null,g=0,v=Array.from(f.entries());g<v.length;g++){var y=v[g],b=y[0];2===y[1]?m=b:null==p?p=b:_=b}if(null==p||null==m||null==_)throw new u.default;var w=[p,m,_];r.default.orderBestPatterns(w);var S=w[0];m=w[1];var T,E=w[2];T=f.has(n)?f.has(o)?f.has(s)?a:s:o:n;var M=this.transitionsBetween(E,T).getTransitions(),x=this.transitionsBetween(S,T).getTransitions();1==(1&M)&&M++,M+=2,1==(1&x)&&x++;var C,O;if(4*M>=7*(x+=2)||4*x>=7*M)null==(O=this.correctTopRightRectangular(m,S,E,T,M,x))&&(O=T),M=this.transitionsBetween(E,O).getTransitions(),x=this.transitionsBetween(S,O).getTransitions(),1==(1&M)&&M++,1==(1&x)&&x++,C=t.sampleGrid(this.image,E,m,S,O,M,x);else{var D=Math.min(x,M);null==(O=this.correctTopRight(m,S,E,T,D))&&(O=T);var k=Math.max(this.transitionsBetween(E,O).getTransitions(),this.transitionsBetween(S,O).getTransitions());1==(1&++k)&&k++,C=t.sampleGrid(this.image,E,m,S,O,k,k)}return new i.default(C,[E,m,S,O])},t.prototype.correctTopRightRectangular=function(e,n,i,o,s,a){var u=t.distance(e,n)/s,l=t.distance(i,o),c=(o.getX()-i.getX())/l,d=(o.getY()-i.getY())/l,h=new r.default(o.getX()+u*c,o.getY()+u*d);u=t.distance(e,i)/a,l=t.distance(n,o),c=(o.getX()-n.getX())/l,d=(o.getY()-n.getY())/l;var f=new r.default(o.getX()+u*c,o.getY()+u*d);if(!this.isValid(h))return this.isValid(f)?f:null;if(!this.isValid(f))return h;return Math.abs(s-this.transitionsBetween(i,h).getTransitions())+Math.abs(a-this.transitionsBetween(n,h).getTransitions())<=Math.abs(s-this.transitionsBetween(i,f).getTransitions())+Math.abs(a-this.transitionsBetween(n,f).getTransitions())?h:f},t.prototype.correctTopRight=function(e,n,i,o,s){var a=t.distance(e,n)/s,u=t.distance(i,o),l=(o.getX()-i.getX())/u,c=(o.getY()-i.getY())/u,d=new r.default(o.getX()+a*l,o.getY()+a*c);a=t.distance(e,i)/s,u=t.distance(n,o),l=(o.getX()-n.getX())/u,c=(o.getY()-n.getY())/u;var h=new r.default(o.getX()+a*l,o.getY()+a*c);if(!this.isValid(d))return this.isValid(h)?h:null;if(!this.isValid(h))return d;return Math.abs(this.transitionsBetween(i,d).getTransitions()-this.transitionsBetween(n,d).getTransitions())<=Math.abs(this.transitionsBetween(i,h).getTransitions()-this.transitionsBetween(n,h).getTransitions())?d:h},t.prototype.isValid=function(t){return t.getX()>=0&&t.getX()<this.image.getWidth()&&t.getY()>0&&t.getY()<this.image.getHeight()},t.distance=function(t,e){return s.default.round(r.default.distance(t,e))},t.increment=function(t,e){var n=t.get(e);t.set(e,null==n?1:n+1)},t.sampleGrid=function(t,e,n,r,i,s,a){return o.default.getInstance().sampleGrid(t,s,a,.5,.5,s-.5,.5,s-.5,a-.5,.5,a-.5,e.getX(),e.getY(),i.getX(),i.getY(),r.getX(),r.getY(),n.getX(),n.getY())},t.prototype.transitionsBetween=function(t,e){var n=0|t.getX(),r=0|t.getY(),i=0|e.getX(),o=0|e.getY(),s=Math.abs(o-r)>Math.abs(i-n);if(s){var a=n;n=r,r=a,a=i,i=o,o=a}for(var u=Math.abs(i-n),c=Math.abs(o-r),d=-u/2,h=r<o?1:-1,f=n<i?1:-1,p=0,m=this.image.get(s?r:n,s?n:r),_=n,g=r;_!==i;_+=f){var v=this.image.get(s?g:_,s?_:g);if(v!==m&&(p++,m=v),(d+=c)>0){if(g===o)break;g+=h,d-=u}}return new l(t,e,p)},t}();var l=function(){function t(t,e,n){this.from=t,this.to=e,this.transitions=n}return t.prototype.getFrom=function(){return this.from},t.prototype.getTo=function(){return this.to},t.prototype.getTransitions=function(){return this.transitions},t.prototype.toString=function(){return this.from+"/"+this.to+"/"+this.transitions},t.resultPointsAndTransitionsComparator=function(t,e){return t.getTransitions()-e.getTransitions()},t}()},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(220),i=n(339),o=n(219),s=n(37),a=n(160);e.BrowserQRCodeSvgWriter=function(){function t(){}return t.prototype.write=function(e,n,a,u){if(void 0===u&&(u=null),0===e.length)throw new s.default("Found empty contents");if(n<0||a<0)throw new s.default("Requested dimensions are too small: "+n+"x"+a);var l=o.default.L,c=t.QUIET_ZONE_SIZE;null!==u&&(void 0!==u.get(r.default.ERROR_CORRECTION)&&(l=o.default.fromString(u.get(r.default.ERROR_CORRECTION).toString())),void 0!==u.get(r.default.MARGIN)&&(c=Number.parseInt(u.get(r.default.MARGIN).toString(),10)));var d=i.default.encode(e,l,u);return this.renderResult(d,n,a,c)},t.prototype.writeToDom=function(t,e,n,r,i){void 0===i&&(i=null),"string"==typeof t&&(t=document.querySelector(t));var o=this.write(e,n,r,i);t&&t.appendChild(o)},t.prototype.renderResult=function(t,e,n,r){var i=t.getMatrix();if(null===i)throw new a.default;for(var o=i.getWidth(),s=i.getHeight(),u=o+2*r,l=s+2*r,c=Math.max(e,u),d=Math.max(n,l),h=Math.min(Math.floor(c/u),Math.floor(d/l)),f=Math.floor((c-o*h)/2),p=Math.floor((d-s*h)/2),m=this.createSVGElement(c,d),_=0,g=p;_<s;_++,g+=h)for(var v=0,y=f;v<o;v++,y+=h)if(1===i.get(v,_)){var b=this.createSvgRectElement(y,g,h,h);m.appendChild(b)}return m},t.prototype.createSVGElement=function(e,n){var r=document.createElementNS(t.SVG_NS,"svg");return r.setAttributeNS(null,"height",e.toString()),r.setAttributeNS(null,"width",n.toString()),r},t.prototype.createSvgRectElement=function(e,n,r,i){var o=document.createElementNS(t.SVG_NS,"rect");return o.setAttributeNS(null,"x",e.toString()),o.setAttributeNS(null,"y",n.toString()),o.setAttributeNS(null,"height",r.toString()),o.setAttributeNS(null,"width",i.toString()),o.setAttributeNS(null,"fill","#000000"),o},t.QUIET_ZONE_SIZE=4,t.SVG_NS="http://www.w3.org/2000/svg",t}()},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(327),i=n(105);e.default=function(){function t(t,e){this.width=t,this.height=e;for(var n=new Array(e),r=0;r!==e;r++)n[r]=new Uint8Array(t);this.bytes=n}return t.prototype.getHeight=function(){return this.height},t.prototype.getWidth=function(){return this.width},t.prototype.get=function(t,e){return this.bytes[e][t]},t.prototype.getArray=function(){return this.bytes},t.prototype.setNumber=function(t,e,n){this.bytes[e][t]=n},t.prototype.setBoolean=function(t,e,n){this.bytes[e][t]=n?1:0},t.prototype.clear=function(t){for(var e=0,n=this.bytes;e<n.length;e++){r.default.fillUint8Array(n[e],t)}},t.prototype.equals=function(e){if(!(e instanceof t))return!1;var n=e;if(this.width!==n.width)return!1;if(this.height!==n.height)return!1;for(var r=0,i=this.height;r<i;++r)for(var o=this.bytes[r],s=n.bytes[r],a=0,u=this.width;a<u;++a)if(o[a]!==s[a])return!1;return!0},t.prototype.toString=function(){for(var t=new i.default,e=0,n=this.height;e<n;++e){for(var r=this.bytes[e],o=0,s=this.width;o<s;++o)switch(r[o]){case 0:t.append(" 0");break;case 1:t.append(" 1");break;default:t.append("  ")}t.append("\n")}return t.toString()},t}()},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(127),i=n(217),o=n(340),s=n(689),a=n(341),u=n(37);e.default=function(){function t(){}return t.clearMatrix=function(t){t.clear(255)},t.buildMatrix=function(e,n,r,i,o){t.clearMatrix(o),t.embedBasicPatterns(r,o),t.embedTypeInfo(n,i,o),t.maybeEmbedVersionInfo(r,o),t.embedDataBits(e,i,o)},t.embedBasicPatterns=function(e,n){t.embedPositionDetectionPatternsAndSeparators(n),t.embedDarkDotAtLeftBottomCorner(n),t.maybeEmbedPositionAdjustmentPatterns(e,n),t.embedTimingPatterns(n)},t.embedTypeInfo=function(e,n,i){var o=new r.default;t.makeTypeInfoBits(e,n,o);for(var s=0,a=o.getSize();s<a;++s){var u=o.get(o.getSize()-1-s),l=t.TYPE_INFO_COORDINATES[s];if(i.setBoolean(l[0],l[1],u),s<8){var c=i.getWidth()-s-1;i.setBoolean(c,d=8,u)}else{c=8;var d=i.getHeight()-7+(s-8);i.setBoolean(c,d,u)}}},t.maybeEmbedVersionInfo=function(e,n){if(!(e.getVersionNumber()<7)){var i=new r.default;t.makeVersionInfoBits(e,i);for(var o=17,s=0;s<6;++s)for(var a=0;a<3;++a){var u=i.get(o);o--,n.setBoolean(s,n.getHeight()-11+a,u),n.setBoolean(n.getHeight()-11+a,s,u)}}},t.embedDataBits=function(e,n,r){for(var i=0,o=-1,u=r.getWidth()-1,l=r.getHeight()-1;u>0;){for(6===u&&(u-=1);l>=0&&l<r.getHeight();){for(var c=0;c<2;++c){var d=u-c;if(t.isEmpty(r.get(d,l))){var h=void 0;i<e.getSize()?(h=e.get(i),++i):h=!1,255!==n&&s.default.getDataMaskBit(n,d,l)&&(h=!h),r.setBoolean(d,l,h)}}l+=o}l+=o=-o,u-=2}if(i!==e.getSize())throw new a.default("Not all bits consumed: "+i+"/"+e.getSize())},t.findMSBSet=function(t){return 32-i.default.numberOfLeadingZeros(t)},t.calculateBCHCode=function(e,n){if(0===n)throw new u.default("0 polynomial");var r=t.findMSBSet(n);for(e<<=r-1;t.findMSBSet(e)>=r;)e^=n<<t.findMSBSet(e)-r;return e},t.makeTypeInfoBits=function(e,n,i){if(!o.default.isValidMaskPattern(n))throw new a.default("Invalid mask pattern");var s=e.getBits()<<3|n;i.appendBits(s,5);var u=t.calculateBCHCode(s,t.TYPE_INFO_POLY);i.appendBits(u,10);var l=new r.default;if(l.appendBits(t.TYPE_INFO_MASK_PATTERN,15),i.xor(l),15!==i.getSize())throw new a.default("should not happen but we got: "+i.getSize())},t.makeVersionInfoBits=function(e,n){n.appendBits(e.getVersionNumber(),6);var r=t.calculateBCHCode(e.getVersionNumber(),t.VERSION_INFO_POLY);if(n.appendBits(r,12),18!==n.getSize())throw new a.default("should not happen but we got: "+n.getSize())},t.isEmpty=function(t){return 255===t},t.embedTimingPatterns=function(e){for(var n=8;n<e.getWidth()-8;++n){var r=(n+1)%2;t.isEmpty(e.get(n,6))&&e.setNumber(n,6,r),t.isEmpty(e.get(6,n))&&e.setNumber(6,n,r)}},t.embedDarkDotAtLeftBottomCorner=function(t){if(0===t.get(8,t.getHeight()-8))throw new a.default;t.setNumber(8,t.getHeight()-8,1)},t.embedHorizontalSeparationPattern=function(e,n,r){for(var i=0;i<8;++i){if(!t.isEmpty(r.get(e+i,n)))throw new a.default;r.setNumber(e+i,n,0)}},t.embedVerticalSeparationPattern=function(e,n,r){for(var i=0;i<7;++i){if(!t.isEmpty(r.get(e,n+i)))throw new a.default;r.setNumber(e,n+i,0)}},t.embedPositionAdjustmentPattern=function(e,n,r){for(var i=0;i<5;++i)for(var o=t.POSITION_ADJUSTMENT_PATTERN[i],s=0;s<5;++s)r.setNumber(e+s,n+i,o[s])},t.embedPositionDetectionPattern=function(e,n,r){for(var i=0;i<7;++i)for(var o=t.POSITION_DETECTION_PATTERN[i],s=0;s<7;++s)r.setNumber(e+s,n+i,o[s])},t.embedPositionDetectionPatternsAndSeparators=function(e){var n=t.POSITION_DETECTION_PATTERN[0].length;t.embedPositionDetectionPattern(0,0,e),t.embedPositionDetectionPattern(e.getWidth()-n,0,e),t.embedPositionDetectionPattern(0,e.getWidth()-n,e);t.embedHorizontalSeparationPattern(0,7,e),t.embedHorizontalSeparationPattern(e.getWidth()-8,7,e),t.embedHorizontalSeparationPattern(0,e.getWidth()-8,e);t.embedVerticalSeparationPattern(7,0,e),t.embedVerticalSeparationPattern(e.getHeight()-7-1,0,e),t.embedVerticalSeparationPattern(7,e.getHeight()-7,e)},t.maybeEmbedPositionAdjustmentPatterns=function(e,n){if(!(e.getVersionNumber()<2))for(var r=e.getVersionNumber()-1,i=t.POSITION_ADJUSTMENT_PATTERN_COORDINATE_TABLE[r],o=0,s=i.length;o!==s;o++){var a=i[o];if(a>=0)for(var u=0;u!==s;u++){var l=i[u];l>=0&&t.isEmpty(n.get(l,a))&&t.embedPositionAdjustmentPattern(l-2,a-2,n)}}},t.POSITION_DETECTION_PATTERN=Array.from([Int32Array.from([1,1,1,1,1,1,1]),Int32Array.from([1,0,0,0,0,0,1]),Int32Array.from([1,0,1,1,1,0,1]),Int32Array.from([1,0,1,1,1,0,1]),Int32Array.from([1,0,1,1,1,0,1]),Int32Array.from([1,0,0,0,0,0,1]),Int32Array.from([1,1,1,1,1,1,1])]),t.POSITION_ADJUSTMENT_PATTERN=Array.from([Int32Array.from([1,1,1,1,1]),Int32Array.from([1,0,0,0,1]),Int32Array.from([1,0,1,0,1]),Int32Array.from([1,0,0,0,1]),Int32Array.from([1,1,1,1,1])]),t.POSITION_ADJUSTMENT_PATTERN_COORDINATE_TABLE=Array.from([Int32Array.from([-1,-1,-1,-1,-1,-1,-1]),Int32Array.from([6,18,-1,-1,-1,-1,-1]),Int32Array.from([6,22,-1,-1,-1,-1,-1]),Int32Array.from([6,26,-1,-1,-1,-1,-1]),Int32Array.from([6,30,-1,-1,-1,-1,-1]),Int32Array.from([6,34,-1,-1,-1,-1,-1]),Int32Array.from([6,22,38,-1,-1,-1,-1]),Int32Array.from([6,24,42,-1,-1,-1,-1]),Int32Array.from([6,26,46,-1,-1,-1,-1]),Int32Array.from([6,28,50,-1,-1,-1,-1]),Int32Array.from([6,30,54,-1,-1,-1,-1]),Int32Array.from([6,32,58,-1,-1,-1,-1]),Int32Array.from([6,34,62,-1,-1,-1,-1]),Int32Array.from([6,26,46,66,-1,-1,-1]),Int32Array.from([6,26,48,70,-1,-1,-1]),Int32Array.from([6,26,50,74,-1,-1,-1]),Int32Array.from([6,30,54,78,-1,-1,-1]),Int32Array.from([6,30,56,82,-1,-1,-1]),Int32Array.from([6,30,58,86,-1,-1,-1]),Int32Array.from([6,34,62,90,-1,-1,-1]),Int32Array.from([6,28,50,72,94,-1,-1]),Int32Array.from([6,26,50,74,98,-1,-1]),Int32Array.from([6,30,54,78,102,-1,-1]),Int32Array.from([6,28,54,80,106,-1,-1]),Int32Array.from([6,32,58,84,110,-1,-1]),Int32Array.from([6,30,58,86,114,-1,-1]),Int32Array.from([6,34,62,90,118,-1,-1]),Int32Array.from([6,26,50,74,98,122,-1]),Int32Array.from([6,30,54,78,102,126,-1]),Int32Array.from([6,26,52,78,104,130,-1]),Int32Array.from([6,30,56,82,108,134,-1]),Int32Array.from([6,34,60,86,112,138,-1]),Int32Array.from([6,30,58,86,114,142,-1]),Int32Array.from([6,34,62,90,118,146,-1]),Int32Array.from([6,30,54,78,102,126,150]),Int32Array.from([6,24,50,76,102,128,154]),Int32Array.from([6,28,54,80,106,132,158]),Int32Array.from([6,32,58,84,110,136,162]),Int32Array.from([6,26,54,82,110,138,166]),Int32Array.from([6,30,58,86,114,142,170])]),t.TYPE_INFO_COORDINATES=Array.from([Int32Array.from([8,0]),Int32Array.from([8,1]),Int32Array.from([8,2]),Int32Array.from([8,3]),Int32Array.from([8,4]),Int32Array.from([8,5]),Int32Array.from([8,7]),Int32Array.from([8,8]),Int32Array.from([7,8]),Int32Array.from([5,8]),Int32Array.from([4,8]),Int32Array.from([3,8]),Int32Array.from([2,8]),Int32Array.from([1,8]),Int32Array.from([0,8])]),t.VERSION_INFO_POLY=7973,t.TYPE_INFO_POLY=1335,t.TYPE_INFO_MASK_PATTERN=21522,t}()},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default=function(){function t(t,e){this.dataBytes=t,this.errorCorrectionBytes=e}return t.prototype.getDataBytes=function(){return this.dataBytes},t.prototype.getErrorCorrectionBytes=function(){return this.errorCorrectionBytes},t}()},function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var i=n(157),o=n(342);e.BrowserBarcodeReader=function(t){function e(e,n){return void 0===e&&(e=500),t.call(this,new o.default(n),e,n)||this}return r(e,t),e}(i.BrowserCodeReader)},function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var i=n(88),o=n(35),s=n(115);e.default=function(t){function e(){var e=t.call(this)||this;return e.decodeFinderCounters=new Array(4),e.dataCharacterCounters=new Array(8),e.oddRoundingErrors=new Array(4),e.evenRoundingErrors=new Array(4),e.oddCounts=new Array(e.dataCharacterCounters.length/2),e.evenCounts=new Array(e.dataCharacterCounters.length/2),e}return r(e,t),e.prototype.getDecodeFinderCounters=function(){return this.decodeFinderCounters},e.prototype.getDataCharacterCounters=function(){return this.dataCharacterCounters},e.prototype.getOddRoundingErrors=function(){return this.oddRoundingErrors},e.prototype.getEvenRoundingErrors=function(){return this.evenRoundingErrors},e.prototype.getOddCounts=function(){return this.oddCounts},e.prototype.getEvenCounts=function(){return this.evenCounts},e.prototype.parseFinderValue=function(t,n){for(var r=0;r<n.length;r++)if(i.default.patternMatchVariance(t,n[r],e.MAX_INDIVIDUAL_VARIANCE)<e.MAX_AVG_VARIANCE)return r;throw new o.default},e.count=function(t){return s.default.sum(new Int32Array(t))},e.increment=function(t,e){for(var n=0,r=e[0],i=1;i<t.length;i++)e[i]>r&&(r=e[i],n=i);t[n]++},e.decrement=function(t,e){for(var n=0,r=e[0],i=1;i<t.length;i++)e[i]<r&&(r=e[i],n=i);t[n]--},e.isFinderPattern=function(t){var n=t[0]+t[1],r=n/(n+t[2]+t[3]);if(r>=e.MIN_FINDER_PATTERN_RATIO&&r<=e.MAX_FINDER_PATTERN_RATIO){for(var i=Number.MAX_SAFE_INTEGER,o=Number.MIN_SAFE_INTEGER,s=0,a=t;s<a.length;s++){var u=a[s];u>o&&(o=u),u<i&&(i=u)}return o<10*i}return!1},e.MAX_AVG_VARIANCE=.2,e.MAX_INDIVIDUAL_VARIANCE=.45,e.MIN_FINDER_PATTERN_RATIO=9.5/12,e.MAX_FINDER_PATTERN_RATIO=12.5/14,e}(i.default)},function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var i=n(693);e.default=function(t){function e(e,n,r){var i=t.call(this,e,n)||this;return i.count=0,i.finderPattern=r,i}return r(e,t),e.prototype.getFinderPattern=function(){return this.finderPattern},e.prototype.getCount=function(){return this.count},e.prototype.incrementCount=function(){this.count++},e}(i.default)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(50);e.default=function(){function t(t,e,n,i,o){this.value=t,this.startEnd=e,this.value=t,this.startEnd=e,this.resultPoints=new Array,this.resultPoints.push(new r.default(n,o)),this.resultPoints.push(new r.default(i,o))}return t.prototype.getValue=function(){return this.value},t.prototype.getStartEnd=function(){return this.startEnd},t.prototype.getResultPoints=function(){return this.resultPoints},t.prototype.equals=function(e){if(!(e instanceof t))return!1;return this.value===e.value},t.prototype.hashCode=function(){return this.value},t}()},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default=function(){function t(){}return t.prototype.RSSUtils=function(){},t.getRSSvalue=function(e,n,r){for(var i=0,o=0,s=e;o<s.length;o++){i+=s[o]}for(var a=0,u=0,l=e.length,c=0;c<l-1;c++){var d=void 0;for(d=1,u|=1<<c;d<e[c];d++,u&=~(1<<c)){var h=t.combins(i-d-1,l-c-2);if(r&&0===u&&i-d-(l-c-1)>=l-c-1&&(h-=t.combins(i-d-(l-c),l-c-2)),l-c-1>1){for(var f=0,p=i-d-(l-c-2);p>n;p--)f+=t.combins(i-d-p-1,l-c-3);h-=f*(l-1-c)}else i-d>n&&h--;a+=h}i-=d}return a},t.combins=function(t,e){var n,r;t-e>e?(r=e,n=t-e):(r=t-e,n=e);for(var i=1,o=1,s=t;s>n;s--)i*=s,o<=r&&(i/=o,o++);for(;o<=r;)i/=o,o++;return i},t}()},function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var i=n(45),o=n(62),s=n(88),a=n(695),u=n(1257),l=n(35);e.default=function(t){function e(e){var n=t.call(this)||this,r=null==e?null:e.get(o.default.POSSIBLE_FORMATS),s=[];return null!=r&&(r.indexOf(i.default.EAN_13)>-1&&s.push(new a.default),r.indexOf(i.default.EAN_8)>-1&&s.push(new u.default)),0===s.length&&(s.push(new a.default),s.push(new u.default)),n.readers=s,n}return r(e,t),e.prototype.decodeRow=function(t,e,n){for(var r=0,i=this.readers;r<i.length;r++){var o=i[r];try{return o.decodeRow(t,e,n)}catch(t){}}throw new l.default},e.prototype.reset=function(){for(var t=0,e=this.readers;t<e.length;t++){e[t].reset()}},e}(s.default)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(162),i=n(1255),o=n(1256);e.default=function(){function t(){}return t.decodeRow=function(t,e,n){var s=r.default.findGuardPattern(e,n,!1,this.EXTENSION_START_PATTERN,new Array(this.EXTENSION_START_PATTERN.length).fill(0));try{return(new i.default).decodeRow(t,e,s)}catch(n){return(new o.default).decodeRow(t,e,s)}},t.EXTENSION_START_PATTERN=[1,1,2],t}()},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(45),i=n(162),o=n(84),s=n(50),a=n(116),u=n(35);e.default=function(){function t(){this.CHECK_DIGIT_ENCODINGS=[24,20,18,17,12,6,3,10,9,5],this.decodeMiddleCounters=[0,0,0,0],this.decodeRowStringBuffer=""}return t.prototype.decodeRow=function(e,n,i){var a=this.decodeRowStringBuffer,u=this.decodeMiddle(n,i,a),l=a.toString(),c=t.parseExtensionString(l),d=[new s.default((i[0]+i[1])/2,e),new s.default(u,e)],h=new o.default(l,null,0,d,r.default.UPC_EAN_EXTENSION,(new Date).getTime());return null!=c&&h.putAllMetadata(c),h},t.prototype.decodeMiddle=function(e,n,r){var o=this.decodeMiddleCounters;o[0]=0,o[1]=0,o[2]=0,o[3]=0;for(var s=e.getSize(),a=n[1],l=0,c=0;c<5&&a<s;c++){var d=i.default.decodeDigit(e,o,a,i.default.L_AND_G_PATTERNS);r+=String.fromCharCode("0".charCodeAt(0)+d%10);for(var h=0,f=o;h<f.length;h++){a+=f[h]}d>=10&&(l|=1<<4-c),4!==c&&(a=e.getNextSet(a),a=e.getNextUnset(a))}if(5!==r.length)throw new u.default;var p=this.determineCheckDigit(l);if(t.extensionChecksum(r.toString())!==p)throw new u.default;return a},t.extensionChecksum=function(t){for(var e=t.length,n=0,r=e-2;r>=0;r-=2)n+=t.charAt(r).charCodeAt(0)-"0".charCodeAt(0);n*=3;for(r=e-1;r>=0;r-=2)n+=t.charAt(r).charCodeAt(0)-"0".charCodeAt(0);return(n*=3)%10},t.prototype.determineCheckDigit=function(t){for(var e=0;e<10;e++)if(t===this.CHECK_DIGIT_ENCODINGS[e])return e;throw new u.default},t.parseExtensionString=function(e){if(5!==e.length)return null;var n=t.parseExtension5String(e);return null==n?null:new Map([[a.default.SUGGESTED_PRICE,n]])},t.parseExtension5String=function(t){var e;switch(t.charAt(0)){case"0":e="£";break;case"5":e="$";break;case"9":switch(t){case"90000":return null;case"99991":return"0.00";case"99990":return"Used"}e="";break;default:e=""}var n=parseInt(t.substring(1)),r=n%100;return e+(n/100).toString()+"."+(r<10?"0"+r:r.toString())},t}()},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(45),i=n(162),o=n(84),s=n(50),a=n(116),u=n(35);e.default=function(){function t(){this.decodeMiddleCounters=[0,0,0,0],this.decodeRowStringBuffer=""}return t.prototype.decodeRow=function(e,n,i){var a=this.decodeRowStringBuffer,u=this.decodeMiddle(n,i,a),l=a.toString(),c=t.parseExtensionString(l),d=[new s.default((i[0]+i[1])/2,e),new s.default(u,e)],h=new o.default(l,null,0,d,r.default.UPC_EAN_EXTENSION,(new Date).getTime());return null!=c&&h.putAllMetadata(c),h},t.prototype.decodeMiddle=function(t,e,n){var r=this.decodeMiddleCounters;r[0]=0,r[1]=0,r[2]=0,r[3]=0;for(var o=t.getSize(),s=e[1],a=0,l=0;l<2&&s<o;l++){var c=i.default.decodeDigit(t,r,s,i.default.L_AND_G_PATTERNS);n+=String.fromCharCode("0".charCodeAt(0)+c%10);for(var d=0,h=r;d<h.length;d++){s+=h[d]}c>=10&&(a|=1<<1-l),1!==l&&(s=t.getNextSet(s),s=t.getNextUnset(s))}if(2!==n.length)throw new u.default;if(parseInt(n.toString())%4!==a)throw new u.default;return s},t.parseExtensionString=function(t){return 2!==t.length?null:new Map([[a.default.ISSUE_NUMBER,parseInt(t)]])},t}()},function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var i=n(45),o=n(162);e.default=function(t){function e(){var e=t.call(this)||this;return e.decodeMiddleCounters=[0,0,0,0],e}return r(e,t),e.prototype.decodeMiddle=function(t,e,n){var r=this.decodeMiddleCounters;r[0]=0,r[1]=0,r[2]=0,r[3]=0;for(var i=t.getSize(),s=e[1],a=0;a<4&&s<i;a++){var u=o.default.decodeDigit(t,r,s,o.default.L_PATTERNS);n+=String.fromCharCode("0".charCodeAt(0)+u);for(var l=0,c=r;l<c.length;l++){s+=c[l]}}s=o.default.findGuardPattern(t,s,!0,o.default.MIDDLE_PATTERN,new Array(o.default.MIDDLE_PATTERN.length).fill(0))[1];for(a=0;a<4&&s<i;a++){u=o.default.decodeDigit(t,r,s,o.default.L_PATTERNS);n+=String.fromCharCode("0".charCodeAt(0)+u);for(var d=0,h=r;d<h.length;d++){s+=h[d]}}return{rowOffset:s,resultString:n}},e.prototype.getBarcodeFormat=function(){return i.default.EAN_8},e}(o.default)},function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var i=n(157),o=n(696);e.BrowserMultiFormatReader=function(t){function e(e,n){void 0===e&&(e=null),void 0===n&&(n=500);var r=new o.default;return r.setHints(e),t.call(this,r,n)||this}return r(e,t),e.prototype.decodeBitmap=function(t){return this.reader.decodeWithState(t)},e}(i.BrowserCodeReader)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(698),i=n(45),o=n(37);e.default=function(){function t(){}return t.prototype.encode=function(t,e,n,s,a){var u;switch(e){case i.default.QR_CODE:u=new r.default;break;default:throw new o.default("No encoder available for format "+e)}return u.encode(t,e,n,s,a)},t}()},function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var i=n(74),o=n(159),s=n(158),a=n(37);e.default=function(t){function e(e,n,r,i,o,s,u,l){var c=t.call(this,s,u)||this;if(c.yuvData=e,c.dataWidth=n,c.dataHeight=r,c.left=i,c.top=o,i+s>n||o+u>r)throw new a.default("Crop rectangle does not fit within image data.");return l&&c.reverseHorizontal(s,u),c}return r(e,t),e.prototype.getRow=function(t,e){if(t<0||t>=this.getHeight())throw new a.default("Requested row is outside the image: "+t);var n=this.getWidth();(null===e||void 0===e||e.length<n)&&(e=new Uint8ClampedArray(n));return i.default.arraycopy(this.yuvData,(t+this.top)*this.dataWidth+this.left,e,0,n),e},e.prototype.getMatrix=function(){var t=this.getWidth(),e=this.getHeight();if(t===this.dataWidth&&e===this.dataHeight)return this.yuvData;var n=t*e,r=new Uint8ClampedArray(n),o=this.top*this.dataWidth+this.left;if(t===this.dataWidth)return i.default.arraycopy(this.yuvData,o,r,0,n),r;for(var s=0;s<e;s++){i.default.arraycopy(this.yuvData,o,r,s*t,t),o+=this.dataWidth}return r},e.prototype.isCropSupported=function(){return!0},e.prototype.crop=function(t,n,r,i){return new e(this.yuvData,this.dataWidth,this.dataHeight,this.left+t,this.top+n,r,i,!1)},e.prototype.renderThumbnail=function(){for(var t=this.getWidth()/e.THUMBNAIL_SCALE_FACTOR,n=this.getHeight()/e.THUMBNAIL_SCALE_FACTOR,r=new Int32Array(t*n),i=this.yuvData,o=this.top*this.dataWidth+this.left,s=0;s<n;s++){for(var a=s*t,u=0;u<t;u++){r[a+u]=4278190080|65793*(255&i[o+u*e.THUMBNAIL_SCALE_FACTOR])}o+=this.dataWidth*e.THUMBNAIL_SCALE_FACTOR}return r},e.prototype.getThumbnailWidth=function(){return this.getWidth()/e.THUMBNAIL_SCALE_FACTOR},e.prototype.getThumbnailHeight=function(){return this.getHeight()/e.THUMBNAIL_SCALE_FACTOR},e.prototype.reverseHorizontal=function(t,e){for(var n=this.yuvData,r=0,i=this.top*this.dataWidth+this.left;r<e;r++,i+=this.dataWidth)for(var o=i+t/2,s=i,a=i+t-1;s<o;s++,a--){var u=n[s];n[s]=n[a],n[a]=u}},e.prototype.invert=function(){return new s.default(this)},e.THUMBNAIL_SCALE_FACTOR=2,e}(o.default)},function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0}),n(158);var i=n(158),o=n(159),s=n(74),a=n(37);e.default=function(t){function e(e,n,r,i,o,s,u){var l=t.call(this,n,r)||this;if(l.dataWidth=i,l.dataHeight=o,l.left=s,l.top=u,4===e.BYTES_PER_ELEMENT){for(var c=n*r,d=new Uint8ClampedArray(c),h=0;h<c;h++){var f=e[h];d[h]=((f>>16&255)+(f>>7&510)+(255&f))/4&255}l.luminances=d}else l.luminances=e;if(void 0===i&&(l.dataWidth=n),void 0===o&&(l.dataHeight=r),void 0===s&&(l.left=0),void 0===u&&(l.top=0),l.left+n>l.dataWidth||l.top+r>l.dataHeight)throw new a.default("Crop rectangle does not fit within image data.");return l}return r(e,t),e.prototype.getRow=function(t,e){if(t<0||t>=this.getHeight())throw new a.default("Requested row is outside the image: "+t);var n=this.getWidth();(null===e||void 0===e||e.length<n)&&(e=new Uint8ClampedArray(n));return s.default.arraycopy(this.luminances,(t+this.top)*this.dataWidth+this.left,e,0,n),e},e.prototype.getMatrix=function(){var t=this.getWidth(),e=this.getHeight();if(t===this.dataWidth&&e===this.dataHeight)return this.luminances;var n=t*e,r=new Uint8ClampedArray(n),i=this.top*this.dataWidth+this.left;if(t===this.dataWidth)return s.default.arraycopy(this.luminances,i,r,0,n),r;for(var o=0;o<e;o++){s.default.arraycopy(this.luminances,i,r,o*t,t),i+=this.dataWidth}return r},e.prototype.isCropSupported=function(){return!0},e.prototype.crop=function(t,n,r,i){return new e(this.luminances,r,i,this.dataWidth,this.dataHeight,this.left+t,this.top+n)},e.prototype.invert=function(){return new i.default(this)},e}(o.default)},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,n){var r;!function(e,n){"use strict";"object"==typeof t&&"object"==typeof t.exports?t.exports=e.document?n(e,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return n(t)}:n(e)}("undefined"!=typeof window?window:this,function(n,i){"use strict";function o(t,e,n){var r,i,o=(n=n||_t).createElement("script");if(o.text=t,e)for(r in gt)(i=e[r]||e.getAttribute&&e.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function s(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?ut[lt.call(t)]||"object":typeof t}function a(t){var e=!!t&&"length"in t&&t.length,n=s(t);return!pt(t)&&!mt(t)&&("array"===n||0===e||"number"==typeof e&&e>0&&e-1 in t)}function u(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()}function l(t,e,n){return pt(e)?vt.grep(t,function(t,r){return!!e.call(t,r,t)!==n}):e.nodeType?vt.grep(t,function(t){return t===e!==n}):"string"!=typeof e?vt.grep(t,function(t){return at.call(e,t)>-1!==n}):vt.filter(e,t,n)}function c(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}function d(t){return t}function h(t){throw t}function f(t,e,n,r){var i;try{t&&pt(i=t.promise)?i.call(t).done(e).fail(n):t&&pt(i=t.then)?i.call(t,e,n):e.apply(void 0,[t].slice(r))}catch(t){n.apply(void 0,[t])}}function p(){_t.removeEventListener("DOMContentLoaded",p),n.removeEventListener("load",p),vt.ready()}function m(t,e){return e.toUpperCase()}function _(t){return t.replace(At,"ms-").replace(It,m)}function g(){this.expando=vt.expando+g.uid++}function v(t,e,n){var r;if(void 0===n&&1===t.nodeType)if(r="data-"+e.replace(Yt,"-$&").toLowerCase(),"string"==typeof(n=t.getAttribute(r))){try{n=function(t){return"true"===t||"false"!==t&&("null"===t?null:t===+t+""?+t:jt.test(t)?JSON.parse(t):t)}(n)}catch(t){}Nt.set(t,e,n)}else n=void 0;return n}function y(t,e,n,r){var i,o,s=20,a=r?function(){return r.cur()}:function(){return vt.css(t,e,"")},u=a(),l=n&&n[3]||(vt.cssNumber[e]?"":"px"),c=t.nodeType&&(vt.cssNumber[e]||"px"!==l&&+u)&&Ht.exec(vt.css(t,e));if(c&&c[3]!==l){for(u/=2,l=l||c[3],c=+u||1;s--;)vt.style(t,e,c+l),(1-o)*(1-(o=a()/u||.5))<=0&&(s=0),c/=o;vt.style(t,e,(c*=2)+l),n=n||[]}return n&&(c=+c||+u||0,i=n[1]?c+(n[1]+1)*n[2]:+n[2],r&&(r.unit=l,r.start=c,r.end=i)),i}function b(t){var e,n=t.ownerDocument,r=t.nodeName,i=qt[r];return i||(e=n.body.appendChild(n.createElement(r)),i=vt.css(e,"display"),e.parentNode.removeChild(e),"none"===i&&(i="block"),qt[r]=i,i)}function w(t,e){for(var n,r,i=[],o=0,s=t.length;o<s;o++)(r=t[o]).style&&(n=r.style.display,e?("none"===n&&(i[o]=Rt.get(r,"display")||null,i[o]||(r.style.display="")),""===r.style.display&&Ut(r)&&(i[o]=b(r))):"none"!==n&&(i[o]="none",Rt.set(r,"display",n)));for(o=0;o<s;o++)null!=i[o]&&(t[o].style.display=i[o]);return t}function S(t,e){var n;return n=void 0!==t.getElementsByTagName?t.getElementsByTagName(e||"*"):void 0!==t.querySelectorAll?t.querySelectorAll(e||"*"):[],void 0===e||e&&u(t,e)?vt.merge([t],n):n}function T(t,e){for(var n=0,r=t.length;n<r;n++)Rt.set(t[n],"globalEval",!e||Rt.get(e[n],"globalEval"))}function E(t,e,n,r,i){for(var o,a,u,l,c,d,h=e.createDocumentFragment(),f=[],p=0,m=t.length;p<m;p++)if((o=t[p])||0===o)if("object"===s(o))vt.merge(f,o.nodeType?[o]:o);else if($t.test(o)){for(a=a||h.appendChild(e.createElement("div")),u=(Xt.exec(o)||["",""])[1].toLowerCase(),a.innerHTML=(l=Zt[u]||Zt._default)[1]+vt.htmlPrefilter(o)+l[2],d=l[0];d--;)a=a.lastChild;vt.merge(f,a.childNodes),(a=h.firstChild).textContent=""}else f.push(e.createTextNode(o));for(h.textContent="",p=0;o=f[p++];)if(r&&vt.inArray(o,r)>-1)i&&i.push(o);else if(c=zt(o),a=S(h.appendChild(o),"script"),c&&T(a),n)for(d=0;o=a[d++];)Kt.test(o.type||"")&&n.push(o);return h}function M(){return!0}function x(){return!1}function C(t,e){return t===function(){try{return _t.activeElement}catch(t){}}()==("focus"===e)}function O(t,e,n,r,i,o){var s,a;if("object"==typeof e){"string"!=typeof n&&(r=r||n,n=void 0);for(a in e)O(t,a,n,r,e[a],o);return t}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=x;else if(!i)return t;return 1===o&&(s=i,(i=function(t){return vt().off(t),s.apply(this,arguments)}).guid=s.guid||(s.guid=vt.guid++)),t.each(function(){vt.event.add(this,e,i,r,n)})}function D(t,e,n){n?(Rt.set(t,e,!1),vt.event.add(t,e,{namespace:!1,handler:function(t){var r,i,o=Rt.get(this,e);if(1&t.isTrigger&&this[e]){if(o.length)(vt.event.special[e]||{}).delegateType&&t.stopPropagation();else if(o=it.call(arguments),Rt.set(this,e,o),r=n(this,e),this[e](),i=Rt.get(this,e),o!==i||r?Rt.set(this,e,!1):i={},o!==i)return t.stopImmediatePropagation(),t.preventDefault(),i&&i.value}else o.length&&(Rt.set(this,e,{value:vt.event.trigger(vt.extend(o[0],vt.Event.prototype),o.slice(1),this)}),t.stopImmediatePropagation())}})):void 0===Rt.get(t,e)&&vt.event.add(t,e,M)}function k(t,e){return u(t,"table")&&u(11!==e.nodeType?e:e.firstChild,"tr")?vt(t).children("tbody")[0]||t:t}function L(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function A(t){return"true/"===(t.type||"").slice(0,5)?t.type=t.type.slice(5):t.removeAttribute("type"),t}function I(t,e){var n,r,i,o,s,a,u;if(1===e.nodeType){if(Rt.hasData(t)&&(o=Rt.get(t),u=o.events)){Rt.remove(e,"handle events");for(i in u)for(n=0,r=u[i].length;n<r;n++)vt.event.add(e,i,u[i][n])}Nt.hasData(t)&&(s=Nt.access(t),a=vt.extend({},s),Nt.set(e,a))}}function P(t,e){var n=e.nodeName.toLowerCase();"input"===n&&Gt.test(t.type)?e.checked=t.checked:"input"!==n&&"textarea"!==n||(e.defaultValue=t.defaultValue)}function R(t,e,n,r){e=ot(e);var i,s,a,u,l,c,d=0,h=t.length,f=h-1,p=e[0],m=pt(p);if(m||h>1&&"string"==typeof p&&!ft.checkClone&&te.test(p))return t.each(function(i){var o=t.eq(i);m&&(e[0]=p.call(this,i,o.html())),R(o,e,n,r)});if(h&&(i=E(e,t[0].ownerDocument,!1,t,r),s=i.firstChild,1===i.childNodes.length&&(i=s),s||r)){for(u=(a=vt.map(S(i,"script"),L)).length;d<h;d++)l=i,d!==f&&(l=vt.clone(l,!0,!0),u&&vt.merge(a,S(l,"script"))),n.call(t[d],l,d);if(u)for(c=a[a.length-1].ownerDocument,vt.map(a,A),d=0;d<u;d++)Kt.test((l=a[d]).type||"")&&!Rt.access(l,"globalEval")&&vt.contains(c,l)&&(l.src&&"module"!==(l.type||"").toLowerCase()?vt._evalUrl&&!l.noModule&&vt._evalUrl(l.src,{nonce:l.nonce||l.getAttribute("nonce")},c):o(l.textContent.replace(ee,""),l,c))}return t}function N(t,e,n){for(var r,i=e?vt.filter(e,t):t,o=0;null!=(r=i[o]);o++)n||1!==r.nodeType||vt.cleanData(S(r)),r.parentNode&&(n&&zt(r)&&T(S(r,"script")),r.parentNode.removeChild(r));return t}function j(t,e,n){var r,i,o,s,a=t.style;return(n=n||re(t))&&(""!==(s=n.getPropertyValue(e)||n[e])||zt(t)||(s=vt.style(t,e)),!ft.pixelBoxStyles()&&ne.test(s)&&oe.test(e)&&(r=a.width,i=a.minWidth,o=a.maxWidth,a.minWidth=a.maxWidth=a.width=s,s=n.width,a.width=r,a.minWidth=i,a.maxWidth=o)),void 0!==s?s+"":s}function Y(t,e){return{get:function(){if(!t())return(this.get=e).apply(this,arguments);delete this.get}}}function F(t){var e=vt.cssProps[t]||ue[t];return e||(t in ae?t:ue[t]=function(t){for(var e=t[0].toUpperCase()+t.slice(1),n=se.length;n--;)if((t=se[n]+e)in ae)return t}(t)||t)}function H(t,e,n){var r=Ht.exec(e);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):e}function B(t,e,n,r,i,o){var s="width"===e?1:0,a=0,u=0;if(n===(r?"border":"content"))return 0;for(;s<4;s+=2)"margin"===n&&(u+=vt.css(t,n+Bt[s],!0,i)),r?("content"===n&&(u-=vt.css(t,"padding"+Bt[s],!0,i)),"margin"!==n&&(u-=vt.css(t,"border"+Bt[s]+"Width",!0,i))):(u+=vt.css(t,"padding"+Bt[s],!0,i),"padding"!==n?u+=vt.css(t,"border"+Bt[s]+"Width",!0,i):a+=vt.css(t,"border"+Bt[s]+"Width",!0,i));return!r&&o>=0&&(u+=Math.max(0,Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-o-u-a-.5))||0),u}function V(t,e,n){var r=re(t),i=(!ft.boxSizingReliable()||n)&&"border-box"===vt.css(t,"boxSizing",!1,r),o=i,s=j(t,e,r),a="offset"+e[0].toUpperCase()+e.slice(1);if(ne.test(s)){if(!n)return s;s="auto"}return(!ft.boxSizingReliable()&&i||!ft.reliableTrDimensions()&&u(t,"tr")||"auto"===s||!parseFloat(s)&&"inline"===vt.css(t,"display",!1,r))&&t.getClientRects().length&&(i="border-box"===vt.css(t,"boxSizing",!1,r),(o=a in t)&&(s=t[a])),(s=parseFloat(s)||0)+B(t,e,n||(i?"border":"content"),o,r,s)+"px"}function z(t,e,n,r,i){return new z.prototype.init(t,e,n,r,i)}function W(){pe&&(!1===_t.hidden&&n.requestAnimationFrame?n.requestAnimationFrame(W):n.setTimeout(W,vt.fx.interval),vt.fx.tick())}function U(){return n.setTimeout(function(){fe=void 0}),fe=Date.now()}function q(t,e){var n,r=0,i={height:t};for(e=e?1:0;r<4;r+=2-e)i["margin"+(n=Bt[r])]=i["padding"+n]=t;return e&&(i.opacity=i.width=t),i}function G(t,e,n){for(var r,i=(X.tweeners[e]||[]).concat(X.tweeners["*"]),o=0,s=i.length;o<s;o++)if(r=i[o].call(n,e,t))return r}function X(t,e,n){var r,i,o=0,s=X.prefilters.length,a=vt.Deferred().always(function(){delete u.elem}),u=function(){if(i)return!1;for(var e=fe||U(),n=Math.max(0,l.startTime+l.duration-e),r=1-(n/l.duration||0),o=0,s=l.tweens.length;o<s;o++)l.tweens[o].run(r);return a.notifyWith(t,[l,r,n]),r<1&&s?n:(s||a.notifyWith(t,[l,1,0]),a.resolveWith(t,[l]),!1)},l=a.promise({elem:t,props:vt.extend({},e),opts:vt.extend(!0,{specialEasing:{},easing:vt.easing._default},n),originalProperties:e,originalOptions:n,startTime:fe||U(),duration:n.duration,tweens:[],createTween:function(e,n){var r=vt.Tween(t,l.opts,e,n,l.opts.specialEasing[e]||l.opts.easing);return l.tweens.push(r),r},stop:function(e){var n=0,r=e?l.tweens.length:0;if(i)return this;for(i=!0;n<r;n++)l.tweens[n].run(1);return e?(a.notifyWith(t,[l,1,0]),a.resolveWith(t,[l,e])):a.rejectWith(t,[l,e]),this}}),c=l.props;for(!function(t,e){var n,r,i,o,s;for(n in t)if(r=_(n),i=e[r],o=t[n],Array.isArray(o)&&(i=o[1],o=t[n]=o[0]),n!==r&&(t[r]=o,delete t[n]),(s=vt.cssHooks[r])&&"expand"in s){o=s.expand(o),delete t[r];for(n in o)n in t||(t[n]=o[n],e[n]=i)}else e[r]=i}(c,l.opts.specialEasing);o<s;o++)if(r=X.prefilters[o].call(l,t,c,l.opts))return pt(r.stop)&&(vt._queueHooks(l.elem,l.opts.queue).stop=r.stop.bind(r)),r;return vt.map(c,G,l),pt(l.opts.start)&&l.opts.start.call(t,l),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always),vt.fx.timer(vt.extend(u,{elem:t,anim:l,queue:l.opts.queue})),l}function K(t){return(t.match(Ot)||[]).join(" ")}function Z(t){return t.getAttribute&&t.getAttribute("class")||""}function $(t){return Array.isArray(t)?t:"string"==typeof t?t.match(Ot)||[]:[]}function J(t,e,n,r){var i;if(Array.isArray(e))vt.each(e,function(e,i){n||Ce.test(t)?r(t,i):J(t+"["+("object"==typeof i&&null!=i?e:"")+"]",i,n,r)});else if(n||"object"!==s(e))r(t,e);else for(i in e)J(t+"["+i+"]",e[i],n,r)}function Q(t){return function(e,n){"string"!=typeof e&&(n=e,e="*");var r,i=0,o=e.toLowerCase().match(Ot)||[];if(pt(n))for(;r=o[i++];)"+"===r[0]?(r=r.slice(1)||"*",(t[r]=t[r]||[]).unshift(n)):(t[r]=t[r]||[]).push(n)}}function tt(t,e,n,r){function i(a){var u;return o[a]=!0,vt.each(t[a]||[],function(t,a){var l=a(e,n,r);return"string"!=typeof l||s||o[l]?s?!(u=l):void 0:(e.dataTypes.unshift(l),i(l),!1)}),u}var o={},s=t===Ye;return i(e.dataTypes[0])||!o["*"]&&i("*")}function et(t,e){var n,r,i=vt.ajaxSettings.flatOptions||{};for(n in e)void 0!==e[n]&&((i[n]?t:r||(r={}))[n]=e[n]);return r&&vt.extend(!0,t,r),t}var nt=[],rt=Object.getPrototypeOf,it=nt.slice,ot=nt.flat?function(t){return nt.flat.call(t)}:function(t){return nt.concat.apply([],t)},st=nt.push,at=nt.indexOf,ut={},lt=ut.toString,ct=ut.hasOwnProperty,dt=ct.toString,ht=dt.call(Object),ft={},pt=function(t){return"function"==typeof t&&"number"!=typeof t.nodeType&&"function"!=typeof t.item},mt=function(t){return null!=t&&t===t.window},_t=n.document,gt={type:!0,src:!0,nonce:!0,noModule:!0},vt=function(t,e){return new vt.fn.init(t,e)};vt.fn=vt.prototype={jquery:"3.6.0",constructor:vt,length:0,toArray:function(){return it.call(this)},get:function(t){return null==t?it.call(this):t<0?this[t+this.length]:this[t]},pushStack:function(t){var e=vt.merge(this.constructor(),t);return e.prevObject=this,e},each:function(t){return vt.each(this,t)},map:function(t){return this.pushStack(vt.map(this,function(e,n){return t.call(e,n,e)}))},slice:function(){return this.pushStack(it.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(vt.grep(this,function(t,e){return(e+1)%2}))},odd:function(){return this.pushStack(vt.grep(this,function(t,e){return e%2}))},eq:function(t){var e=this.length,n=+t+(t<0?e:0);return this.pushStack(n>=0&&n<e?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:st,sort:nt.sort,splice:nt.splice},vt.extend=vt.fn.extend=function(){var t,e,n,r,i,o,s=arguments[0]||{},a=1,u=arguments.length,l=!1;for("boolean"==typeof s&&(l=s,s=arguments[a]||{},a++),"object"==typeof s||pt(s)||(s={}),a===u&&(s=this,a--);a<u;a++)if(null!=(t=arguments[a]))for(e in t)r=t[e],"__proto__"!==e&&s!==r&&(l&&r&&(vt.isPlainObject(r)||(i=Array.isArray(r)))?(n=s[e],o=i&&!Array.isArray(n)?[]:i||vt.isPlainObject(n)?n:{},i=!1,s[e]=vt.extend(l,o,r)):void 0!==r&&(s[e]=r));return s},vt.extend({expando:"jQuery"+("3.6.0"+Math.random()).replace(/\D/g,""),isReady:!0,error:function(t){throw new Error(t)},noop:function(){},isPlainObject:function(t){var e,n;return!(!t||"[object Object]"!==lt.call(t))&&(!(e=rt(t))||"function"==typeof(n=ct.call(e,"constructor")&&e.constructor)&&dt.call(n)===ht)},isEmptyObject:function(t){var e;for(e in t)return!1;return!0},globalEval:function(t,e,n){o(t,{nonce:e&&e.nonce},n)},each:function(t,e){var n,r=0;if(a(t))for(n=t.length;r<n&&!1!==e.call(t[r],r,t[r]);r++);else for(r in t)if(!1===e.call(t[r],r,t[r]))break;return t},makeArray:function(t,e){var n=e||[];return null!=t&&(a(Object(t))?vt.merge(n,"string"==typeof t?[t]:t):st.call(n,t)),n},inArray:function(t,e,n){return null==e?-1:at.call(e,t,n)},merge:function(t,e){for(var n=+e.length,r=0,i=t.length;r<n;r++)t[i++]=e[r];return t.length=i,t},grep:function(t,e,n){for(var r=[],i=0,o=t.length,s=!n;i<o;i++)!e(t[i],i)!==s&&r.push(t[i]);return r},map:function(t,e,n){var r,i,o=0,s=[];if(a(t))for(r=t.length;o<r;o++)null!=(i=e(t[o],o,n))&&s.push(i);else for(o in t)null!=(i=e(t[o],o,n))&&s.push(i);return ot(s)},guid:1,support:ft}),"function"==typeof Symbol&&(vt.fn[Symbol.iterator]=nt[Symbol.iterator]),vt.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(t,e){ut["[object "+e+"]"]=e.toLowerCase()});var yt=function(t){function e(t,e,n,r){var i,o,s,a,u,l,c,h=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!r&&(k(e),e=e||L,I)){if(11!==p&&(u=gt.exec(t)))if(i=u[1]){if(9===p){if(!(s=e.getElementById(i)))return n;if(s.id===i)return n.push(s),n}else if(h&&(s=h.getElementById(i))&&j(e,s)&&s.id===i)return n.push(s),n}else{if(u[2])return $.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&&b.getElementsByClassName&&e.getElementsByClassName)return $.apply(n,e.getElementsByClassName(i)),n}if(b.qsa&&!U[t+" "]&&(!P||!P.test(t))&&(1!==p||"object"!==e.nodeName.toLowerCase())){if(c=t,h=e,1===p&&(lt.test(t)||ut.test(t))){for((h=vt.test(t)&&d(e.parentNode)||e)===e&&b.scope||((a=e.getAttribute("id"))?a=a.replace(wt,St):e.setAttribute("id",a=Y)),o=(l=E(t)).length;o--;)l[o]=(a?"#"+a:":scope")+" "+f(l[o]);c=l.join(",")}try{return $.apply(n,h.querySelectorAll(c)),n}catch(e){U(t,!0)}finally{a===Y&&e.removeAttribute("id")}}}return x(t.replace(st,"$1"),e,n,r)}function n(){function t(n,r){return e.push(n+" ")>w.cacheLength&&delete t[e.shift()],t[n+" "]=r}var e=[];return t}function r(t){return t[Y]=!0,t}function i(t){var e=L.createElement("fieldset");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function o(t,e){for(var n=t.split("|"),r=n.length;r--;)w.attrHandle[n[r]]=e}function s(t,e){var n=e&&t,r=n&&1===t.nodeType&&1===e.nodeType&&t.sourceIndex-e.sourceIndex;if(r)return r;if(n)for(;n=n.nextSibling;)if(n===e)return-1;return t?1:-1}function a(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function u(t){return function(e){var n=e.nodeName.toLowerCase();return("input"===n||"button"===n)&&e.type===t}}function l(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&Et(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function c(t){return r(function(e){return e=+e,r(function(n,r){for(var i,o=t([],n.length,e),s=o.length;s--;)n[i=o[s]]&&(n[i]=!(r[i]=n[i]))})})}function d(t){return t&&void 0!==t.getElementsByTagName&&t}function h(){}function f(t){for(var e=0,n=t.length,r="";e<n;e++)r+=t[e].value;return r}function p(t,e,n){var r=e.dir,i=e.next,o=i||r,s=n&&"parentNode"===o,a=B++;return e.first?function(e,n,i){for(;e=e[r];)if(1===e.nodeType||s)return t(e,n,i);return!1}:function(e,n,u){var l,c,d,h=[H,a];if(u){for(;e=e[r];)if((1===e.nodeType||s)&&t(e,n,u))return!0}else for(;e=e[r];)if(1===e.nodeType||s)if(d=e[Y]||(e[Y]={}),c=d[e.uniqueID]||(d[e.uniqueID]={}),i&&i===e.nodeName.toLowerCase())e=e[r]||e;else{if((l=c[o])&&l[0]===H&&l[1]===a)return h[2]=l[2];if(c[o]=h,h[2]=t(e,n,u))return!0}return!1}}function m(t){return t.length>1?function(e,n,r){for(var i=t.length;i--;)if(!t[i](e,n,r))return!1;return!0}:t[0]}function _(t,e,n,r,i){for(var o,s=[],a=0,u=t.length,l=null!=e;a<u;a++)(o=t[a])&&(n&&!n(o,r,i)||(s.push(o),l&&e.push(a)));return s}function g(t,n,i,o,s,a){return o&&!o[Y]&&(o=g(o)),s&&!s[Y]&&(s=g(s,a)),r(function(r,a,u,l){var c,d,h,f=[],p=[],m=a.length,g=r||function(t,n,r){for(var i=0,o=n.length;i<o;i++)e(t,n[i],r);return r}(n||"*",u.nodeType?[u]:u,[]),v=!t||!r&&n?g:_(g,f,t,u,l),y=i?s||(r?t:m||o)?[]:a:v;if(i&&i(v,y,u,l),o)for(c=_(y,p),o(c,[],u,l),d=c.length;d--;)(h=c[d])&&(y[p[d]]=!(v[p[d]]=h));if(r){if(s||t){if(s){for(c=[],d=y.length;d--;)(h=y[d])&&c.push(v[d]=h);s(null,y=[],c,l)}for(d=y.length;d--;)(h=y[d])&&(c=s?Q(r,h):f[d])>-1&&(r[c]=!(a[c]=h))}}else y=_(y===a?y.splice(m,y.length):y),s?s(null,a,y,l):$.apply(a,y)})}function v(t){for(var e,n,r,i=t.length,o=w.relative[t[0].type],s=o||w.relative[" "],a=o?1:0,u=p(function(t){return t===e},s,!0),l=p(function(t){return Q(e,t)>-1},s,!0),c=[function(t,n,r){var i=!o&&(r||n!==C)||((e=n).nodeType?u(t,n,r):l(t,n,r));return e=null,i}];a<i;a++)if(n=w.relative[t[a].type])c=[p(m(c),n)];else{if((n=w.filter[t[a].type].apply(null,t[a].matches))[Y]){for(r=++a;r<i&&!w.relative[t[r].type];r++);return g(a>1&&m(c),a>1&&f(t.slice(0,a-1).concat({value:" "===t[a-2].type?"*":""})).replace(st,"$1"),n,a<r&&v(t.slice(a,r)),r<i&&v(t=t.slice(r)),r<i&&f(t))}c.push(n)}return m(c)}var y,b,w,S,T,E,M,x,C,O,D,k,L,A,I,P,R,N,j,Y="sizzle"+1*new Date,F=t.document,H=0,B=0,V=n(),z=n(),W=n(),U=n(),q=function(t,e){return t===e&&(D=!0),0},G={}.hasOwnProperty,X=[],K=X.pop,Z=X.push,$=X.push,J=X.slice,Q=function(t,e){for(var n=0,r=t.length;n<r;n++)if(t[n]===e)return n;return-1},tt="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",et="[\\x20\\t\\r\\n\\f]",nt="(?:\\\\[\\da-fA-F]{1,6}"+et+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",rt="\\["+et+"*("+nt+")(?:"+et+"*([*^$|!~]?=)"+et+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+nt+"))|)"+et+"*\\]",it=":("+nt+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+rt+")*)|.*)\\)|)",ot=new RegExp(et+"+","g"),st=new RegExp("^"+et+"+|((?:^|[^\\\\])(?:\\\\.)*)"+et+"+$","g"),at=new RegExp("^"+et+"*,"+et+"*"),ut=new RegExp("^"+et+"*([>+~]|"+et+")"+et+"*"),lt=new RegExp(et+"|>"),ct=new RegExp(it),dt=new RegExp("^"+nt+"$"),ht={ID:new RegExp("^#("+nt+")"),CLASS:new RegExp("^\\.("+nt+")"),TAG:new RegExp("^("+nt+"|[*])"),ATTR:new RegExp("^"+rt),PSEUDO:new RegExp("^"+it),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+et+"*(even|odd|(([+-]|)(\\d*)n|)"+et+"*(?:([+-]|)"+et+"*(\\d+)|))"+et+"*\\)|)","i"),bool:new RegExp("^(?:"+tt+")$","i"),needsContext:new RegExp("^"+et+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+et+"*((?:-\\d)?\\d*)"+et+"*\\)|)(?=[^-]|$)","i")},ft=/HTML$/i,pt=/^(?:input|select|textarea|button)$/i,mt=/^h\d$/i,_t=/^[^{]+\{\s*\[native \w/,gt=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,vt=/[+~]/,yt=new RegExp("\\\\[\\da-fA-F]{1,6}"+et+"?|\\\\([^\\r\\n\\f])","g"),bt=function(t,e){var n="0x"+t.slice(1)-65536;return e||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},wt=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,St=function(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t},Tt=function(){k()},Et=p(function(t){return!0===t.disabled&&"fieldset"===t.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{$.apply(X=J.call(F.childNodes),F.childNodes)}catch(t){$={apply:X.length?function(t,e){Z.apply(t,J.call(e))}:function(t,e){for(var n=t.length,r=0;t[n++]=e[r++];);t.length=n-1}}}b=e.support={},T=e.isXML=function(t){var e=t&&(t.ownerDocument||t).documentElement;return!ft.test(t&&t.namespaceURI||e&&e.nodeName||"HTML")},k=e.setDocument=function(t){var e,n,r=t?t.ownerDocument||t:F;return r!=L&&9===r.nodeType&&r.documentElement?(L=r,A=L.documentElement,I=!T(L),F!=L&&(n=L.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",Tt,!1):n.attachEvent&&n.attachEvent("onunload",Tt)),b.scope=i(function(t){return A.appendChild(t).appendChild(L.createElement("div")),void 0!==t.querySelectorAll&&!t.querySelectorAll(":scope fieldset div").length}),b.attributes=i(function(t){return t.className="i",!t.getAttribute("className")}),b.getElementsByTagName=i(function(t){return t.appendChild(L.createComment("")),!t.getElementsByTagName("*").length}),b.getElementsByClassName=_t.test(L.getElementsByClassName),b.getById=i(function(t){return A.appendChild(t).id=Y,!L.getElementsByName||!L.getElementsByName(Y).length}),b.getById?(w.filter.ID=function(t){var e=t.replace(yt,bt);return function(t){return t.getAttribute("id")===e}},w.find.ID=function(t,e){if(void 0!==e.getElementById&&I){var n=e.getElementById(t);return n?[n]:[]}}):(w.filter.ID=function(t){var e=t.replace(yt,bt);return function(t){var n=void 0!==t.getAttributeNode&&t.getAttributeNode("id");return n&&n.value===e}},w.find.ID=function(t,e){if(void 0!==e.getElementById&&I){var n,r,i,o=e.getElementById(t);if(o){if((n=o.getAttributeNode("id"))&&n.value===t)return[o];for(i=e.getElementsByName(t),r=0;o=i[r++];)if((n=o.getAttributeNode("id"))&&n.value===t)return[o]}return[]}}),w.find.TAG=b.getElementsByTagName?function(t,e){return void 0!==e.getElementsByTagName?e.getElementsByTagName(t):b.qsa?e.querySelectorAll(t):void 0}:function(t,e){var n,r=[],i=0,o=e.getElementsByTagName(t);if("*"===t){for(;n=o[i++];)1===n.nodeType&&r.push(n);return r}return o},w.find.CLASS=b.getElementsByClassName&&function(t,e){if(void 0!==e.getElementsByClassName&&I)return e.getElementsByClassName(t)},R=[],P=[],(b.qsa=_t.test(L.querySelectorAll))&&(i(function(t){var e;A.appendChild(t).innerHTML="<a id='"+Y+"'></a><select id='"+Y+"-\r\\' msallowcapture=''><option selected=''></option></select>",t.querySelectorAll("[msallowcapture^='']").length&&P.push("[*^$]="+et+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||P.push("\\["+et+"*(?:value|"+tt+")"),t.querySelectorAll("[id~="+Y+"-]").length||P.push("~="),(e=L.createElement("input")).setAttribute("name",""),t.appendChild(e),t.querySelectorAll("[name='']").length||P.push("\\["+et+"*name"+et+"*="+et+"*(?:''|\"\")"),t.querySelectorAll(":checked").length||P.push(":checked"),t.querySelectorAll("a#"+Y+"+*").length||P.push(".#.+[+~]"),t.querySelectorAll("\\\f"),P.push("[\\r\\n\\f]")}),i(function(t){t.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var e=L.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&P.push("name"+et+"*[*^$|!~]?="),2!==t.querySelectorAll(":enabled").length&&P.push(":enabled",":disabled"),A.appendChild(t).disabled=!0,2!==t.querySelectorAll(":disabled").length&&P.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),P.push(",.*:")})),(b.matchesSelector=_t.test(N=A.matches||A.webkitMatchesSelector||A.mozMatchesSelector||A.oMatchesSelector||A.msMatchesSelector))&&i(function(t){b.disconnectedMatch=N.call(t,"*"),N.call(t,"[s!='']:x"),R.push("!=",it)}),P=P.length&&new RegExp(P.join("|")),R=R.length&&new RegExp(R.join("|")),e=_t.test(A.compareDocumentPosition),j=e||_t.test(A.contains)?function(t,e){var n=9===t.nodeType?t.documentElement:t,r=e&&e.parentNode;return t===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):t.compareDocumentPosition&&16&t.compareDocumentPosition(r)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},q=e?function(t,e){if(t===e)return D=!0,0;var n=!t.compareDocumentPosition-!e.compareDocumentPosition;return n||(1&(n=(t.ownerDocument||t)==(e.ownerDocument||e)?t.compareDocumentPosition(e):1)||!b.sortDetached&&e.compareDocumentPosition(t)===n?t==L||t.ownerDocument==F&&j(F,t)?-1:e==L||e.ownerDocument==F&&j(F,e)?1:O?Q(O,t)-Q(O,e):0:4&n?-1:1)}:function(t,e){if(t===e)return D=!0,0;var n,r=0,i=t.parentNode,o=e.parentNode,a=[t],u=[e];if(!i||!o)return t==L?-1:e==L?1:i?-1:o?1:O?Q(O,t)-Q(O,e):0;if(i===o)return s(t,e);for(n=t;n=n.parentNode;)a.unshift(n);for(n=e;n=n.parentNode;)u.unshift(n);for(;a[r]===u[r];)r++;return r?s(a[r],u[r]):a[r]==F?-1:u[r]==F?1:0},L):L},e.matches=function(t,n){return e(t,null,null,n)},e.matchesSelector=function(t,n){if(k(t),b.matchesSelector&&I&&!U[n+" "]&&(!R||!R.test(n))&&(!P||!P.test(n)))try{var r=N.call(t,n);if(r||b.disconnectedMatch||t.document&&11!==t.document.nodeType)return r}catch(t){U(n,!0)}return e(n,L,null,[t]).length>0},e.contains=function(t,e){return(t.ownerDocument||t)!=L&&k(t),j(t,e)},e.attr=function(t,e){(t.ownerDocument||t)!=L&&k(t);var n=w.attrHandle[e.toLowerCase()],r=n&&G.call(w.attrHandle,e.toLowerCase())?n(t,e,!I):void 0;return void 0!==r?r:b.attributes||!I?t.getAttribute(e):(r=t.getAttributeNode(e))&&r.specified?r.value:null},e.escape=function(t){return(t+"").replace(wt,St)},e.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},e.uniqueSort=function(t){var e,n=[],r=0,i=0;if(D=!b.detectDuplicates,O=!b.sortStable&&t.slice(0),t.sort(q),D){for(;e=t[i++];)e===t[i]&&(r=n.push(i));for(;r--;)t.splice(n[r],1)}return O=null,t},S=e.getText=function(t){var e,n="",r=0,i=t.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)n+=S(t)}else if(3===i||4===i)return t.nodeValue}else for(;e=t[r++];)n+=S(e);return n},(w=e.selectors={cacheLength:50,createPseudo:r,match:ht,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(yt,bt),t[3]=(t[3]||t[4]||t[5]||"").replace(yt,bt),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||e.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&e.error(t[0]),t},PSEUDO:function(t){var e,n=!t[6]&&t[2];return ht.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":n&&ct.test(n)&&(e=E(n,!0))&&(e=n.indexOf(")",n.length-e)-n.length)&&(t[0]=t[0].slice(0,e),t[2]=n.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(yt,bt).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=V[t+" "];return e||(e=new RegExp("(^|"+et+")"+t+"("+et+"|$)"))&&V(t,function(t){return e.test("string"==typeof t.className&&t.className||void 0!==t.getAttribute&&t.getAttribute("class")||"")})},ATTR:function(t,n,r){return function(i){var o=e.attr(i,t);return null==o?"!="===n:!n||(o+="","="===n?o===r:"!="===n?o!==r:"^="===n?r&&0===o.indexOf(r):"*="===n?r&&o.indexOf(r)>-1:"$="===n?r&&o.slice(-r.length)===r:"~="===n?(" "+o.replace(ot," ")+" ").indexOf(r)>-1:"|="===n&&(o===r||o.slice(0,r.length+1)===r+"-"))}},CHILD:function(t,e,n,r,i){var o="nth"!==t.slice(0,3),s="last"!==t.slice(-4),a="of-type"===e;return 1===r&&0===i?function(t){return!!t.parentNode}:function(e,n,u){var l,c,d,h,f,p,m=o!==s?"nextSibling":"previousSibling",_=e.parentNode,g=a&&e.nodeName.toLowerCase(),v=!u&&!a,y=!1;if(_){if(o){for(;m;){for(h=e;h=h[m];)if(a?h.nodeName.toLowerCase()===g:1===h.nodeType)return!1;p=m="only"===t&&!p&&"nextSibling"}return!0}if(p=[s?_.firstChild:_.lastChild],s&&v){for(y=(f=(l=(c=(d=(h=_)[Y]||(h[Y]={}))[h.uniqueID]||(d[h.uniqueID]={}))[t]||[])[0]===H&&l[1])&&l[2],h=f&&_.childNodes[f];h=++f&&h&&h[m]||(y=f=0)||p.pop();)if(1===h.nodeType&&++y&&h===e){c[t]=[H,f,y];break}}else if(v&&(y=f=(l=(c=(d=(h=e)[Y]||(h[Y]={}))[h.uniqueID]||(d[h.uniqueID]={}))[t]||[])[0]===H&&l[1]),!1===y)for(;(h=++f&&h&&h[m]||(y=f=0)||p.pop())&&((a?h.nodeName.toLowerCase()!==g:1!==h.nodeType)||!++y||(v&&((c=(d=h[Y]||(h[Y]={}))[h.uniqueID]||(d[h.uniqueID]={}))[t]=[H,y]),h!==e)););return(y-=i)===r||y%r==0&&y/r>=0}}},PSEUDO:function(t,n){var i,o=w.pseudos[t]||w.setFilters[t.toLowerCase()]||e.error("unsupported pseudo: "+t);return o[Y]?o(n):o.length>1?(i=[t,t,"",n],w.setFilters.hasOwnProperty(t.toLowerCase())?r(function(t,e){for(var r,i=o(t,n),s=i.length;s--;)t[r=Q(t,i[s])]=!(e[r]=i[s])}):function(t){return o(t,0,i)}):o}},pseudos:{not:r(function(t){var e=[],n=[],i=M(t.replace(st,"$1"));return i[Y]?r(function(t,e,n,r){for(var o,s=i(t,null,r,[]),a=t.length;a--;)(o=s[a])&&(t[a]=!(e[a]=o))}):function(t,r,o){return e[0]=t,i(e,null,o,n),e[0]=null,!n.pop()}}),has:r(function(t){return function(n){return e(t,n).length>0}}),contains:r(function(t){return t=t.replace(yt,bt),function(e){return(e.textContent||S(e)).indexOf(t)>-1}}),lang:r(function(t){return dt.test(t||"")||e.error("unsupported lang: "+t),t=t.replace(yt,bt).toLowerCase(),function(e){var n;do{if(n=I?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(n=n.toLowerCase())===t||0===n.indexOf(t+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var n=t.location&&t.location.hash;return n&&n.slice(1)===e.id},root:function(t){return t===A},focus:function(t){return t===L.activeElement&&(!L.hasFocus||L.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:l(!1),disabled:l(!0),checked:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){return!0===t.selected},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!w.pseudos.empty(t)},header:function(t){return mt.test(t.nodeName)},input:function(t){return pt.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){var e;return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(e=t.getAttribute("type"))||"text"===e.toLowerCase())},first:c(function(){return[0]}),last:c(function(t,e){return[e-1]}),eq:c(function(t,e,n){return[n<0?n+e:n]}),even:c(function(t,e){for(var n=0;n<e;n+=2)t.push(n);return t}),odd:c(function(t,e){for(var n=1;n<e;n+=2)t.push(n);return t}),lt:c(function(t,e,n){for(var r=n<0?n+e:n>e?e:n;--r>=0;)t.push(r);return t}),gt:c(function(t,e,n){for(var r=n<0?n+e:n;++r<e;)t.push(r);return t})}}).pseudos.nth=w.pseudos.eq;for(y in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})w.pseudos[y]=a(y);for(y in{submit:!0,reset:!0})w.pseudos[y]=u(y);return h.prototype=w.filters=w.pseudos,w.setFilters=new h,E=e.tokenize=function(t,n){var r,i,o,s,a,u,l,c=z[t+" "];if(c)return n?0:c.slice(0);for(a=t,u=[],l=w.preFilter;a;){r&&!(i=at.exec(a))||(i&&(a=a.slice(i[0].length)||a),u.push(o=[])),r=!1,(i=ut.exec(a))&&(r=i.shift(),o.push({value:r,type:i[0].replace(st," ")}),a=a.slice(r.length));for(s in w.filter)!(i=ht[s].exec(a))||l[s]&&!(i=l[s](i))||(r=i.shift(),o.push({value:r,type:s,matches:i}),a=a.slice(r.length));if(!r)break}return n?a.length:a?e.error(t):z(t,u).slice(0)},M=e.compile=function(t,n){var i,o=[],s=[],a=W[t+" "];if(!a){for(n||(n=E(t)),i=n.length;i--;)(a=v(n[i]))[Y]?o.push(a):s.push(a);(a=W(t,function(t,n){var i=n.length>0,o=t.length>0,s=function(r,s,a,u,l){var c,d,h,f=0,p="0",m=r&&[],g=[],v=C,y=r||o&&w.find.TAG("*",l),b=H+=null==v?1:Math.random()||.1,S=y.length;for(l&&(C=s==L||s||l);p!==S&&null!=(c=y[p]);p++){if(o&&c){for(d=0,s||c.ownerDocument==L||(k(c),a=!I);h=t[d++];)if(h(c,s||L,a)){u.push(c);break}l&&(H=b)}i&&((c=!h&&c)&&f--,r&&m.push(c))}if(f+=p,i&&p!==f){for(d=0;h=n[d++];)h(m,g,s,a);if(r){if(f>0)for(;p--;)m[p]||g[p]||(g[p]=K.call(u));g=_(g)}$.apply(u,g),l&&!r&&g.length>0&&f+n.length>1&&e.uniqueSort(u)}return l&&(H=b,C=v),m};return i?r(s):s}(s,o))).selector=t}return a},x=e.select=function(t,e,n,r){var i,o,s,a,u,l="function"==typeof t&&t,c=!r&&E(t=l.selector||t);if(n=n||[],1===c.length){if((o=c[0]=c[0].slice(0)).length>2&&"ID"===(s=o[0]).type&&9===e.nodeType&&I&&w.relative[o[1].type]){if(!(e=(w.find.ID(s.matches[0].replace(yt,bt),e)||[])[0]))return n;l&&(e=e.parentNode),t=t.slice(o.shift().value.length)}for(i=ht.needsContext.test(t)?0:o.length;i--&&(s=o[i],!w.relative[a=s.type]);)if((u=w.find[a])&&(r=u(s.matches[0].replace(yt,bt),vt.test(o[0].type)&&d(e.parentNode)||e))){if(o.splice(i,1),!(t=r.length&&f(o)))return $.apply(n,r),n;break}}return(l||M(t,c))(r,e,!I,n,!e||vt.test(t)&&d(e.parentNode)||e),n},b.sortStable=Y.split("").sort(q).join("")===Y,b.detectDuplicates=!!D,k(),b.sortDetached=i(function(t){return 1&t.compareDocumentPosition(L.createElement("fieldset"))}),i(function(t){return t.innerHTML="<a href='#'></a>","#"===t.firstChild.getAttribute("href")})||o("type|href|height|width",function(t,e,n){if(!n)return t.getAttribute(e,"type"===e.toLowerCase()?1:2)}),b.attributes&&i(function(t){return t.innerHTML="<input/>",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")})||o("value",function(t,e,n){if(!n&&"input"===t.nodeName.toLowerCase())return t.defaultValue}),i(function(t){return null==t.getAttribute("disabled")})||o(tt,function(t,e,n){var r;if(!n)return!0===t[e]?e.toLowerCase():(r=t.getAttributeNode(e))&&r.specified?r.value:null}),e}(n);vt.find=yt,vt.expr=yt.selectors,vt.expr[":"]=vt.expr.pseudos,vt.uniqueSort=vt.unique=yt.uniqueSort,vt.text=yt.getText,vt.isXMLDoc=yt.isXML,vt.contains=yt.contains,vt.escapeSelector=yt.escape;var bt=function(t,e,n){for(var r=[],i=void 0!==n;(t=t[e])&&9!==t.nodeType;)if(1===t.nodeType){if(i&&vt(t).is(n))break;r.push(t)}return r},wt=function(t,e){for(var n=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&n.push(t);return n},St=vt.expr.match.needsContext,Tt=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;vt.filter=function(t,e,n){var r=e[0];return n&&(t=":not("+t+")"),1===e.length&&1===r.nodeType?vt.find.matchesSelector(r,t)?[r]:[]:vt.find.matches(t,vt.grep(e,function(t){return 1===t.nodeType}))},vt.fn.extend({find:function(t){var e,n,r=this.length,i=this;if("string"!=typeof t)return this.pushStack(vt(t).filter(function(){for(e=0;e<r;e++)if(vt.contains(i[e],this))return!0}));for(n=this.pushStack([]),e=0;e<r;e++)vt.find(t,i[e],n);return r>1?vt.uniqueSort(n):n},filter:function(t){return this.pushStack(l(this,t||[],!1))},not:function(t){return this.pushStack(l(this,t||[],!0))},is:function(t){return!!l(this,"string"==typeof t&&St.test(t)?vt(t):t||[],!1).length}});var Et,Mt=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(vt.fn.init=function(t,e,n){var r,i;if(!t)return this;if(n=n||Et,"string"==typeof t){if(!(r="<"===t[0]&&">"===t[t.length-1]&&t.length>=3?[null,t,null]:Mt.exec(t))||!r[1]&&e)return!e||e.jquery?(e||n).find(t):this.constructor(e).find(t);if(r[1]){if(e=e instanceof vt?e[0]:e,vt.merge(this,vt.parseHTML(r[1],e&&e.nodeType?e.ownerDocument||e:_t,!0)),Tt.test(r[1])&&vt.isPlainObject(e))for(r in e)pt(this[r])?this[r](e[r]):this.attr(r,e[r]);return this}return(i=_t.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return t.nodeType?(this[0]=t,this.length=1,this):pt(t)?void 0!==n.ready?n.ready(t):t(vt):vt.makeArray(t,this)}).prototype=vt.fn,Et=vt(_t);var xt=/^(?:parents|prev(?:Until|All))/,Ct={children:!0,contents:!0,next:!0,prev:!0};vt.fn.extend({has:function(t){var e=vt(t,this),n=e.length;return this.filter(function(){for(var t=0;t<n;t++)if(vt.contains(this,e[t]))return!0})},closest:function(t,e){var n,r=0,i=this.length,o=[],s="string"!=typeof t&&vt(t);if(!St.test(t))for(;r<i;r++)for(n=this[r];n&&n!==e;n=n.parentNode)if(n.nodeType<11&&(s?s.index(n)>-1:1===n.nodeType&&vt.find.matchesSelector(n,t))){o.push(n);break}return this.pushStack(o.length>1?vt.uniqueSort(o):o)},index:function(t){return t?"string"==typeof t?at.call(vt(t),this[0]):at.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(vt.uniqueSort(vt.merge(this.get(),vt(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),vt.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return bt(t,"parentNode")},parentsUntil:function(t,e,n){return bt(t,"parentNode",n)},next:function(t){return c(t,"nextSibling")},prev:function(t){return c(t,"previousSibling")},nextAll:function(t){return bt(t,"nextSibling")},prevAll:function(t){return bt(t,"previousSibling")},nextUntil:function(t,e,n){return bt(t,"nextSibling",n)},prevUntil:function(t,e,n){return bt(t,"previousSibling",n)},siblings:function(t){return wt((t.parentNode||{}).firstChild,t)},children:function(t){return wt(t.firstChild)},contents:function(t){return null!=t.contentDocument&&rt(t.contentDocument)?t.contentDocument:(u(t,"template")&&(t=t.content||t),vt.merge([],t.childNodes))}},function(t,e){vt.fn[t]=function(n,r){var i=vt.map(this,e,n);return"Until"!==t.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=vt.filter(r,i)),this.length>1&&(Ct[t]||vt.uniqueSort(i),xt.test(t)&&i.reverse()),this.pushStack(i)}});var Ot=/[^\x20\t\r\n\f]+/g;vt.Callbacks=function(t){t="string"==typeof t?function(t){var e={};return vt.each(t.match(Ot)||[],function(t,n){e[n]=!0}),e}(t):vt.extend({},t);var e,n,r,i,o=[],a=[],u=-1,l=function(){for(i=i||t.once,r=e=!0;a.length;u=-1)for(n=a.shift();++u<o.length;)!1===o[u].apply(n[0],n[1])&&t.stopOnFalse&&(u=o.length,n=!1);t.memory||(n=!1),e=!1,i&&(o=n?[]:"")},c={add:function(){return o&&(n&&!e&&(u=o.length-1,a.push(n)),function e(n){vt.each(n,function(n,r){pt(r)?t.unique&&c.has(r)||o.push(r):r&&r.length&&"string"!==s(r)&&e(r)})}(arguments),n&&!e&&l()),this},remove:function(){return vt.each(arguments,function(t,e){for(var n;(n=vt.inArray(e,o,n))>-1;)o.splice(n,1),n<=u&&u--}),this},has:function(t){return t?vt.inArray(t,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return i=a=[],o=n="",this},disabled:function(){return!o},lock:function(){return i=a=[],n||e||(o=n=""),this},locked:function(){return!!i},fireWith:function(t,n){return i||(n=[t,(n=n||[]).slice?n.slice():n],a.push(n),e||l()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!r}};return c},vt.extend({Deferred:function(t){var e=[["notify","progress",vt.Callbacks("memory"),vt.Callbacks("memory"),2],["resolve","done",vt.Callbacks("once memory"),vt.Callbacks("once memory"),0,"resolved"],["reject","fail",vt.Callbacks("once memory"),vt.Callbacks("once memory"),1,"rejected"]],r="pending",i={state:function(){return r},always:function(){return o.done(arguments).fail(arguments),this},catch:function(t){return i.then(null,t)},pipe:function(){var t=arguments;return vt.Deferred(function(n){vt.each(e,function(e,r){var i=pt(t[r[4]])&&t[r[4]];o[r[1]](function(){var t=i&&i.apply(this,arguments);t&&pt(t.promise)?t.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[r[0]+"With"](this,i?[t]:arguments)})}),t=null}).promise()},then:function(t,r,i){function o(t,e,r,i){return function(){var a=this,u=arguments,l=function(){var n,l;if(!(t<s)){if((n=r.apply(a,u))===e.promise())throw new TypeError("Thenable self-resolution");pt(l=n&&("object"==typeof n||"function"==typeof n)&&n.then)?i?l.call(n,o(s,e,d,i),o(s,e,h,i)):l.call(n,o(++s,e,d,i),o(s,e,h,i),o(s,e,d,e.notifyWith)):(r!==d&&(a=void 0,u=[n]),(i||e.resolveWith)(a,u))}},c=i?l:function(){try{l()}catch(n){vt.Deferred.exceptionHook&&vt.Deferred.exceptionHook(n,c.stackTrace),t+1>=s&&(r!==h&&(a=void 0,u=[n]),e.rejectWith(a,u))}};t?c():(vt.Deferred.getStackHook&&(c.stackTrace=vt.Deferred.getStackHook()),n.setTimeout(c))}}var s=0;return vt.Deferred(function(n){e[0][3].add(o(0,n,pt(i)?i:d,n.notifyWith)),e[1][3].add(o(0,n,pt(t)?t:d)),e[2][3].add(o(0,n,pt(r)?r:h))}).promise()},promise:function(t){return null!=t?vt.extend(t,i):i}},o={};return vt.each(e,function(t,n){var s=n[2],a=n[5];i[n[1]]=s.add,a&&s.add(function(){r=a},e[3-t][2].disable,e[3-t][3].disable,e[0][2].lock,e[0][3].lock),s.add(n[3].fire),o[n[0]]=function(){return o[n[0]+"With"](this===o?void 0:this,arguments),this},o[n[0]+"With"]=s.fireWith}),i.promise(o),t&&t.call(o,o),o},when:function(t){var e=arguments.length,n=e,r=Array(n),i=it.call(arguments),o=vt.Deferred(),s=function(t){return function(n){r[t]=this,i[t]=arguments.length>1?it.call(arguments):n,--e||o.resolveWith(r,i)}};if(e<=1&&(f(t,o.done(s(n)).resolve,o.reject,!e),"pending"===o.state()||pt(i[n]&&i[n].then)))return o.then();for(;n--;)f(i[n],s(n),o.reject);return o.promise()}});var Dt=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;vt.Deferred.exceptionHook=function(t,e){n.console&&n.console.warn&&t&&Dt.test(t.name)&&n.console.warn("jQuery.Deferred exception: "+t.message,t.stack,e)},vt.readyException=function(t){n.setTimeout(function(){throw t})};var kt=vt.Deferred();vt.fn.ready=function(t){return kt.then(t).catch(function(t){vt.readyException(t)}),this},vt.extend({isReady:!1,readyWait:1,ready:function(t){(!0===t?--vt.readyWait:vt.isReady)||(vt.isReady=!0,!0!==t&&--vt.readyWait>0||kt.resolveWith(_t,[vt]))}}),vt.ready.then=kt.then,"complete"===_t.readyState||"loading"!==_t.readyState&&!_t.documentElement.doScroll?n.setTimeout(vt.ready):(_t.addEventListener("DOMContentLoaded",p),n.addEventListener("load",p));var Lt=function(t,e,n,r,i,o,a){var u=0,l=t.length,c=null==n;if("object"===s(n)){i=!0;for(u in n)Lt(t,e,u,n[u],!0,o,a)}else if(void 0!==r&&(i=!0,pt(r)||(a=!0),c&&(a?(e.call(t,r),e=null):(c=e,e=function(t,e,n){return c.call(vt(t),n)})),e))for(;u<l;u++)e(t[u],n,a?r:r.call(t[u],u,e(t[u],n)));return i?t:c?e.call(t):l?e(t[0],n):o},At=/^-ms-/,It=/-([a-z])/g,Pt=function(t){return 1===t.nodeType||9===t.nodeType||!+t.nodeType};g.uid=1,g.prototype={cache:function(t){var e=t[this.expando];return e||(e={},Pt(t)&&(t.nodeType?t[this.expando]=e:Object.defineProperty(t,this.expando,{value:e,configurable:!0}))),e},set:function(t,e,n){var r,i=this.cache(t);if("string"==typeof e)i[_(e)]=n;else for(r in e)i[_(r)]=e[r];return i},get:function(t,e){return void 0===e?this.cache(t):t[this.expando]&&t[this.expando][_(e)]},access:function(t,e,n){return void 0===e||e&&"string"==typeof e&&void 0===n?this.get(t,e):(this.set(t,e,n),void 0!==n?n:e)},remove:function(t,e){var n,r=t[this.expando];if(void 0!==r){if(void 0!==e){n=(e=Array.isArray(e)?e.map(_):(e=_(e))in r?[e]:e.match(Ot)||[]).length;for(;n--;)delete r[e[n]]}(void 0===e||vt.isEmptyObject(r))&&(t.nodeType?t[this.expando]=void 0:delete t[this.expando])}},hasData:function(t){var e=t[this.expando];return void 0!==e&&!vt.isEmptyObject(e)}};var Rt=new g,Nt=new g,jt=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Yt=/[A-Z]/g;vt.extend({hasData:function(t){return Nt.hasData(t)||Rt.hasData(t)},data:function(t,e,n){return Nt.access(t,e,n)},removeData:function(t,e){Nt.remove(t,e)},_data:function(t,e,n){return Rt.access(t,e,n)},_removeData:function(t,e){Rt.remove(t,e)}}),vt.fn.extend({data:function(t,e){var n,r,i,o=this[0],s=o&&o.attributes;if(void 0===t){if(this.length&&(i=Nt.get(o),1===o.nodeType&&!Rt.get(o,"hasDataAttrs"))){for(n=s.length;n--;)s[n]&&0===(r=s[n].name).indexOf("data-")&&(r=_(r.slice(5)),v(o,r,i[r]));Rt.set(o,"hasDataAttrs",!0)}return i}return"object"==typeof t?this.each(function(){Nt.set(this,t)}):Lt(this,function(e){var n;if(o&&void 0===e){if(void 0!==(n=Nt.get(o,t)))return n;if(void 0!==(n=v(o,t)))return n}else this.each(function(){Nt.set(this,t,e)})},null,e,arguments.length>1,null,!0)},removeData:function(t){return this.each(function(){Nt.remove(this,t)})}}),vt.extend({queue:function(t,e,n){var r;if(t)return e=(e||"fx")+"queue",r=Rt.get(t,e),n&&(!r||Array.isArray(n)?r=Rt.access(t,e,vt.makeArray(n)):r.push(n)),r||[]},dequeue:function(t,e){var n=vt.queue(t,e=e||"fx"),r=n.length,i=n.shift(),o=vt._queueHooks(t,e),s=function(){vt.dequeue(t,e)};"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===e&&n.unshift("inprogress"),delete o.stop,i.call(t,s,o)),!r&&o&&o.empty.fire()},_queueHooks:function(t,e){var n=e+"queueHooks";return Rt.get(t,n)||Rt.access(t,n,{empty:vt.Callbacks("once memory").add(function(){Rt.remove(t,[e+"queue",n])})})}}),vt.fn.extend({queue:function(t,e){var n=2;return"string"!=typeof t&&(e=t,t="fx",n--),arguments.length<n?vt.queue(this[0],t):void 0===e?this:this.each(function(){var n=vt.queue(this,t,e);vt._queueHooks(this,t),"fx"===t&&"inprogress"!==n[0]&&vt.dequeue(this,t)})},dequeue:function(t){return this.each(function(){vt.dequeue(this,t)})},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){var n,r=1,i=vt.Deferred(),o=this,s=this.length,a=function(){--r||i.resolveWith(o,[o])};for("string"!=typeof t&&(e=t,t=void 0),t=t||"fx";s--;)(n=Rt.get(o[s],t+"queueHooks"))&&n.empty&&(r++,n.empty.add(a));return a(),i.promise(e)}});var Ft=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Ht=new RegExp("^(?:([+-])=|)("+Ft+")([a-z%]*)$","i"),Bt=["Top","Right","Bottom","Left"],Vt=_t.documentElement,zt=function(t){return vt.contains(t.ownerDocument,t)},Wt={composed:!0};Vt.getRootNode&&(zt=function(t){return vt.contains(t.ownerDocument,t)||t.getRootNode(Wt)===t.ownerDocument});var Ut=function(t,e){return"none"===(t=e||t).style.display||""===t.style.display&&zt(t)&&"none"===vt.css(t,"display")},qt={};vt.fn.extend({show:function(){return w(this,!0)},hide:function(){return w(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each(function(){Ut(this)?vt(this).show():vt(this).hide()})}});var Gt=/^(?:checkbox|radio)$/i,Xt=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,Kt=/^$|^module$|\/(?:java|ecma)script/i;!function(){var t=_t.createDocumentFragment().appendChild(_t.createElement("div")),e=_t.createElement("input");e.setAttribute("type","radio"),e.setAttribute("checked","checked"),e.setAttribute("name","t"),t.appendChild(e),ft.checkClone=t.cloneNode(!0).cloneNode(!0).lastChild.checked,t.innerHTML="<textarea>x</textarea>",ft.noCloneChecked=!!t.cloneNode(!0).lastChild.defaultValue,t.innerHTML="<option></option>",ft.option=!!t.lastChild}();var Zt={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};Zt.tbody=Zt.tfoot=Zt.colgroup=Zt.caption=Zt.thead,Zt.th=Zt.td,ft.option||(Zt.optgroup=Zt.option=[1,"<select multiple='multiple'>","</select>"]);var $t=/<|&#?\w+;/,Jt=/^([^.]*)(?:\.(.+)|)/;vt.event={global:{},add:function(t,e,n,r,i){var o,s,a,u,l,c,d,h,f,p,m,_=Rt.get(t);if(Pt(t))for(n.handler&&(n=(o=n).handler,i=o.selector),i&&vt.find.matchesSelector(Vt,i),n.guid||(n.guid=vt.guid++),(u=_.events)||(u=_.events=Object.create(null)),(s=_.handle)||(s=_.handle=function(e){return void 0!==vt&&vt.event.triggered!==e.type?vt.event.dispatch.apply(t,arguments):void 0}),l=(e=(e||"").match(Ot)||[""]).length;l--;)f=m=(a=Jt.exec(e[l])||[])[1],p=(a[2]||"").split(".").sort(),f&&(d=vt.event.special[f]||{},d=vt.event.special[f=(i?d.delegateType:d.bindType)||f]||{},c=vt.extend({type:f,origType:m,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&vt.expr.match.needsContext.test(i),namespace:p.join(".")},o),(h=u[f])||((h=u[f]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(t,r,p,s)||t.addEventListener&&t.addEventListener(f,s)),d.add&&(d.add.call(t,c),c.handler.guid||(c.handler.guid=n.guid)),i?h.splice(h.delegateCount++,0,c):h.push(c),vt.event.global[f]=!0)},remove:function(t,e,n,r,i){var o,s,a,u,l,c,d,h,f,p,m,_=Rt.hasData(t)&&Rt.get(t);if(_&&(u=_.events)){for(l=(e=(e||"").match(Ot)||[""]).length;l--;)if(a=Jt.exec(e[l])||[],f=m=a[1],p=(a[2]||"").split(".").sort(),f){for(d=vt.event.special[f]||{},h=u[f=(r?d.delegateType:d.bindType)||f]||[],a=a[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),s=o=h.length;o--;)c=h[o],!i&&m!==c.origType||n&&n.guid!==c.guid||a&&!a.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(h.splice(o,1),c.selector&&h.delegateCount--,d.remove&&d.remove.call(t,c));s&&!h.length&&(d.teardown&&!1!==d.teardown.call(t,p,_.handle)||vt.removeEvent(t,f,_.handle),delete u[f])}else for(f in u)vt.event.remove(t,f+e[l],n,r,!0);vt.isEmptyObject(u)&&Rt.remove(t,"handle events")}},dispatch:function(t){var e,n,r,i,o,s,a=new Array(arguments.length),u=vt.event.fix(t),l=(Rt.get(this,"events")||Object.create(null))[u.type]||[],c=vt.event.special[u.type]||{};for(a[0]=u,e=1;e<arguments.length;e++)a[e]=arguments[e];if(u.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,u)){for(s=vt.event.handlers.call(this,u,l),e=0;(i=s[e++])&&!u.isPropagationStopped();)for(u.currentTarget=i.elem,n=0;(o=i.handlers[n++])&&!u.isImmediatePropagationStopped();)u.rnamespace&&!1!==o.namespace&&!u.rnamespace.test(o.namespace)||(u.handleObj=o,u.data=o.data,void 0!==(r=((vt.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,a))&&!1===(u.result=r)&&(u.preventDefault(),u.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,u),u.result}},handlers:function(t,e){var n,r,i,o,s,a=[],u=e.delegateCount,l=t.target;if(u&&l.nodeType&&!("click"===t.type&&t.button>=1))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&("click"!==t.type||!0!==l.disabled)){for(o=[],s={},n=0;n<u;n++)void 0===s[i=(r=e[n]).selector+" "]&&(s[i]=r.needsContext?vt(i,this).index(l)>-1:vt.find(i,this,null,[l]).length),s[i]&&o.push(r);o.length&&a.push({elem:l,handlers:o})}return l=this,u<e.length&&a.push({elem:l,handlers:e.slice(u)}),a},addProp:function(t,e){Object.defineProperty(vt.Event.prototype,t,{enumerable:!0,configurable:!0,get:pt(e)?function(){if(this.originalEvent)return e(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[t]},set:function(e){Object.defineProperty(this,t,{enumerable:!0,configurable:!0,writable:!0,value:e})}})},fix:function(t){return t[vt.expando]?t:new vt.Event(t)},special:{load:{noBubble:!0},click:{setup:function(t){var e=this||t;return Gt.test(e.type)&&e.click&&u(e,"input")&&D(e,"click",M),!1},trigger:function(t){var e=this||t;return Gt.test(e.type)&&e.click&&u(e,"input")&&D(e,"click"),!0},_default:function(t){var e=t.target;return Gt.test(e.type)&&e.click&&u(e,"input")&&Rt.get(e,"click")||u(e,"a")}},beforeunload:{postDispatch:function(t){void 0!==t.result&&t.originalEvent&&(t.originalEvent.returnValue=t.result)}}}},vt.removeEvent=function(t,e,n){t.removeEventListener&&t.removeEventListener(e,n)},vt.Event=function(t,e){if(!(this instanceof vt.Event))return new vt.Event(t,e);t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||void 0===t.defaultPrevented&&!1===t.returnValue?M:x,this.target=t.target&&3===t.target.nodeType?t.target.parentNode:t.target,this.currentTarget=t.currentTarget,this.relatedTarget=t.relatedTarget):this.type=t,e&&vt.extend(this,e),this.timeStamp=t&&t.timeStamp||Date.now(),this[vt.expando]=!0},vt.Event.prototype={constructor:vt.Event,isDefaultPrevented:x,isPropagationStopped:x,isImmediatePropagationStopped:x,isSimulated:!1,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=M,t&&!this.isSimulated&&t.preventDefault()},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=M,t&&!this.isSimulated&&t.stopPropagation()},stopImmediatePropagation:function(){var t=this.originalEvent;this.isImmediatePropagationStopped=M,t&&!this.isSimulated&&t.stopImmediatePropagation(),this.stopPropagation()}},vt.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},vt.event.addProp),vt.each({focus:"focusin",blur:"focusout"},function(t,e){vt.event.special[t]={setup:function(){return D(this,t,C),!1},trigger:function(){return D(this,t),!0},_default:function(){return!0},delegateType:e}}),vt.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(t,e){vt.event.special[t]={delegateType:e,bindType:e,handle:function(t){var n,r=t.relatedTarget,i=t.handleObj;return r&&(r===this||vt.contains(this,r))||(t.type=i.origType,n=i.handler.apply(this,arguments),t.type=e),n}}}),vt.fn.extend({on:function(t,e,n,r){return O(this,t,e,n,r)},one:function(t,e,n,r){return O(this,t,e,n,r,1)},off:function(t,e,n){var r,i;if(t&&t.preventDefault&&t.handleObj)return r=t.handleObj,vt(t.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof t){for(i in t)this.off(i,e,t[i]);return this}return!1!==e&&"function"!=typeof e||(n=e,e=void 0),!1===n&&(n=x),this.each(function(){vt.event.remove(this,t,n,e)})}});var Qt=/<script|<style|<link/i,te=/checked\s*(?:[^=]|=\s*.checked.)/i,ee=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;vt.extend({htmlPrefilter:function(t){return t},clone:function(t,e,n){var r,i,o,s,a=t.cloneNode(!0),u=zt(t);if(!(ft.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||vt.isXMLDoc(t)))for(s=S(a),r=0,i=(o=S(t)).length;r<i;r++)P(o[r],s[r]);if(e)if(n)for(o=o||S(t),s=s||S(a),r=0,i=o.length;r<i;r++)I(o[r],s[r]);else I(t,a);return(s=S(a,"script")).length>0&&T(s,!u&&S(t,"script")),a},cleanData:function(t){for(var e,n,r,i=vt.event.special,o=0;void 0!==(n=t[o]);o++)if(Pt(n)){if(e=n[Rt.expando]){if(e.events)for(r in e.events)i[r]?vt.event.remove(n,r):vt.removeEvent(n,r,e.handle);n[Rt.expando]=void 0}n[Nt.expando]&&(n[Nt.expando]=void 0)}}}),vt.fn.extend({detach:function(t){return N(this,t,!0)},remove:function(t){return N(this,t)},text:function(t){return Lt(this,function(t){return void 0===t?vt.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=t)})},null,t,arguments.length)},append:function(){return R(this,arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){k(this,t).appendChild(t)}})},prepend:function(){return R(this,arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=k(this,t);e.insertBefore(t,e.firstChild)}})},before:function(){return R(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return R(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)})},empty:function(){for(var t,e=0;null!=(t=this[e]);e++)1===t.nodeType&&(vt.cleanData(S(t,!1)),t.textContent="");return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map(function(){return vt.clone(this,t,e)})},html:function(t){return Lt(this,function(t){var e=this[0]||{},n=0,r=this.length;if(void 0===t&&1===e.nodeType)return e.innerHTML;if("string"==typeof t&&!Qt.test(t)&&!Zt[(Xt.exec(t)||["",""])[1].toLowerCase()]){t=vt.htmlPrefilter(t);try{for(;n<r;n++)1===(e=this[n]||{}).nodeType&&(vt.cleanData(S(e,!1)),e.innerHTML=t);e=0}catch(t){}}e&&this.empty().append(t)},null,t,arguments.length)},replaceWith:function(){var t=[];return R(this,arguments,function(e){var n=this.parentNode;vt.inArray(this,t)<0&&(vt.cleanData(S(this)),n&&n.replaceChild(e,this))},t)}}),vt.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(t,e){vt.fn[t]=function(t){for(var n,r=[],i=vt(t),o=i.length-1,s=0;s<=o;s++)n=s===o?this:this.clone(!0),vt(i[s])[e](n),st.apply(r,n.get());return this.pushStack(r)}});var ne=new RegExp("^("+Ft+")(?!px)[a-z%]+$","i"),re=function(t){var e=t.ownerDocument.defaultView;return e&&e.opener||(e=n),e.getComputedStyle(t)},ie=function(t,e,n){var r,i,o={};for(i in e)o[i]=t.style[i],t.style[i]=e[i];r=n.call(t);for(i in e)t.style[i]=o[i];return r},oe=new RegExp(Bt.join("|"),"i");!function(){function t(){if(c){l.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",c.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",Vt.appendChild(l).appendChild(c);var t=n.getComputedStyle(c);r="1%"!==t.top,u=12===e(t.marginLeft),c.style.right="60%",s=36===e(t.right),i=36===e(t.width),c.style.position="absolute",o=12===e(c.offsetWidth/3),Vt.removeChild(l),c=null}}function e(t){return Math.round(parseFloat(t))}var r,i,o,s,a,u,l=_t.createElement("div"),c=_t.createElement("div");c.style&&(c.style.backgroundClip="content-box",c.cloneNode(!0).style.backgroundClip="",ft.clearCloneStyle="content-box"===c.style.backgroundClip,vt.extend(ft,{boxSizingReliable:function(){return t(),i},pixelBoxStyles:function(){return t(),s},pixelPosition:function(){return t(),r},reliableMarginLeft:function(){return t(),u},scrollboxSize:function(){return t(),o},reliableTrDimensions:function(){var t,e,r,i;return null==a&&(t=_t.createElement("table"),e=_t.createElement("tr"),r=_t.createElement("div"),t.style.cssText="position:absolute;left:-11111px;border-collapse:separate",e.style.cssText="border:1px solid",e.style.height="1px",r.style.height="9px",r.style.display="block",Vt.appendChild(t).appendChild(e).appendChild(r),i=n.getComputedStyle(e),a=parseInt(i.height,10)+parseInt(i.borderTopWidth,10)+parseInt(i.borderBottomWidth,10)===e.offsetHeight,Vt.removeChild(t)),a}}))}();var se=["Webkit","Moz","ms"],ae=_t.createElement("div").style,ue={},le=/^(none|table(?!-c[ea]).+)/,ce=/^--/,de={position:"absolute",visibility:"hidden",display:"block"},he={letterSpacing:"0",fontWeight:"400"};vt.extend({cssHooks:{opacity:{get:function(t,e){if(e){var n=j(t,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(t,e,n,r){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var i,o,s,a=_(e),u=ce.test(e),l=t.style;if(u||(e=F(a)),s=vt.cssHooks[e]||vt.cssHooks[a],void 0===n)return s&&"get"in s&&void 0!==(i=s.get(t,!1,r))?i:l[e];"string"==(o=typeof n)&&(i=Ht.exec(n))&&i[1]&&(n=y(t,e,i),o="number"),null!=n&&n==n&&("number"!==o||u||(n+=i&&i[3]||(vt.cssNumber[a]?"":"px")),ft.clearCloneStyle||""!==n||0!==e.indexOf("background")||(l[e]="inherit"),s&&"set"in s&&void 0===(n=s.set(t,n,r))||(u?l.setProperty(e,n):l[e]=n))}},css:function(t,e,n,r){var i,o,s,a=_(e);return ce.test(e)||(e=F(a)),(s=vt.cssHooks[e]||vt.cssHooks[a])&&"get"in s&&(i=s.get(t,!0,n)),void 0===i&&(i=j(t,e,r)),"normal"===i&&e in he&&(i=he[e]),""===n||n?(o=parseFloat(i),!0===n||isFinite(o)?o||0:i):i}}),vt.each(["height","width"],function(t,e){vt.cssHooks[e]={get:function(t,n,r){if(n)return!le.test(vt.css(t,"display"))||t.getClientRects().length&&t.getBoundingClientRect().width?V(t,e,r):ie(t,de,function(){return V(t,e,r)})},set:function(t,n,r){var i,o=re(t),s=!ft.scrollboxSize()&&"absolute"===o.position,a=(s||r)&&"border-box"===vt.css(t,"boxSizing",!1,o),u=r?B(t,e,r,a,o):0;return a&&s&&(u-=Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-parseFloat(o[e])-B(t,e,"border",!1,o)-.5)),u&&(i=Ht.exec(n))&&"px"!==(i[3]||"px")&&(t.style[e]=n,n=vt.css(t,e)),H(0,n,u)}}}),vt.cssHooks.marginLeft=Y(ft.reliableMarginLeft,function(t,e){if(e)return(parseFloat(j(t,"marginLeft"))||t.getBoundingClientRect().left-ie(t,{marginLeft:0},function(){return t.getBoundingClientRect().left}))+"px"}),vt.each({margin:"",padding:"",border:"Width"},function(t,e){vt.cssHooks[t+e]={expand:function(n){for(var r=0,i={},o="string"==typeof n?n.split(" "):[n];r<4;r++)i[t+Bt[r]+e]=o[r]||o[r-2]||o[0];return i}},"margin"!==t&&(vt.cssHooks[t+e].set=H)}),vt.fn.extend({css:function(t,e){return Lt(this,function(t,e,n){var r,i,o={},s=0;if(Array.isArray(e)){for(r=re(t),i=e.length;s<i;s++)o[e[s]]=vt.css(t,e[s],!1,r);return o}return void 0!==n?vt.style(t,e,n):vt.css(t,e)},t,e,arguments.length>1)}}),vt.Tween=z,(z.prototype={constructor:z,init:function(t,e,n,r,i,o){this.elem=t,this.prop=n,this.easing=i||vt.easing._default,this.options=e,this.start=this.now=this.cur(),this.end=r,this.unit=o||(vt.cssNumber[n]?"":"px")},cur:function(){var t=z.propHooks[this.prop];return t&&t.get?t.get(this):z.propHooks._default.get(this)},run:function(t){var e,n=z.propHooks[this.prop];return this.pos=e=this.options.duration?vt.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):z.propHooks._default.set(this),this}}).init.prototype=z.prototype,(z.propHooks={_default:{get:function(t){var e;return 1!==t.elem.nodeType||null!=t.elem[t.prop]&&null==t.elem.style[t.prop]?t.elem[t.prop]:(e=vt.css(t.elem,t.prop,""))&&"auto"!==e?e:0},set:function(t){vt.fx.step[t.prop]?vt.fx.step[t.prop](t):1!==t.elem.nodeType||!vt.cssHooks[t.prop]&&null==t.elem.style[F(t.prop)]?t.elem[t.prop]=t.now:vt.style(t.elem,t.prop,t.now+t.unit)}}}).scrollTop=z.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},vt.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},_default:"swing"},vt.fx=z.prototype.init,vt.fx.step={};var fe,pe,me=/^(?:toggle|show|hide)$/,_e=/queueHooks$/;vt.Animation=vt.extend(X,{tweeners:{"*":[function(t,e){var n=this.createTween(t,e);return y(n.elem,t,Ht.exec(e),n),n}]},tweener:function(t,e){pt(t)?(e=t,t=["*"]):t=t.match(Ot);for(var n,r=0,i=t.length;r<i;r++)(X.tweeners[n=t[r]]=X.tweeners[n]||[]).unshift(e)},prefilters:[function(t,e,n){var r,i,o,s,a,u,l,c,d="width"in e||"height"in e,h=this,f={},p=t.style,m=t.nodeType&&Ut(t),_=Rt.get(t,"fxshow");n.queue||(null==(s=vt._queueHooks(t,"fx")).unqueued&&(s.unqueued=0,a=s.empty.fire,s.empty.fire=function(){s.unqueued||a()}),s.unqueued++,h.always(function(){h.always(function(){s.unqueued--,vt.queue(t,"fx").length||s.empty.fire()})}));for(r in e)if(i=e[r],me.test(i)){if(delete e[r],o=o||"toggle"===i,i===(m?"hide":"show")){if("show"!==i||!_||void 0===_[r])continue;m=!0}f[r]=_&&_[r]||vt.style(t,r)}if((u=!vt.isEmptyObject(e))||!vt.isEmptyObject(f)){d&&1===t.nodeType&&(n.overflow=[p.overflow,p.overflowX,p.overflowY],null==(l=_&&_.display)&&(l=Rt.get(t,"display")),"none"===(c=vt.css(t,"display"))&&(l?c=l:(w([t],!0),l=t.style.display||l,c=vt.css(t,"display"),w([t]))),("inline"===c||"inline-block"===c&&null!=l)&&"none"===vt.css(t,"float")&&(u||(h.done(function(){p.display=l}),null==l&&(l="none"===(c=p.display)?"":c)),p.display="inline-block")),n.overflow&&(p.overflow="hidden",h.always(function(){p.overflow=n.overflow[0],p.overflowX=n.overflow[1],p.overflowY=n.overflow[2]})),u=!1;for(r in f)u||(_?"hidden"in _&&(m=_.hidden):_=Rt.access(t,"fxshow",{display:l}),o&&(_.hidden=!m),m&&w([t],!0),h.done(function(){m||w([t]),Rt.remove(t,"fxshow");for(r in f)vt.style(t,r,f[r])})),u=G(m?_[r]:0,r,h),r in _||(_[r]=u.start,m&&(u.end=u.start,u.start=0))}}],prefilter:function(t,e){e?X.prefilters.unshift(t):X.prefilters.push(t)}}),vt.speed=function(t,e,n){var r=t&&"object"==typeof t?vt.extend({},t):{complete:n||!n&&e||pt(t)&&t,duration:t,easing:n&&e||e&&!pt(e)&&e};return vt.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration=r.duration in vt.fx.speeds?vt.fx.speeds[r.duration]:vt.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){pt(r.old)&&r.old.call(this),r.queue&&vt.dequeue(this,r.queue)},r},vt.fn.extend({fadeTo:function(t,e,n,r){return this.filter(Ut).css("opacity",0).show().end().animate({opacity:e},t,n,r)},animate:function(t,e,n,r){var i=vt.isEmptyObject(t),o=vt.speed(e,n,r),s=function(){var e=X(this,vt.extend({},t),o);(i||Rt.get(this,"finish"))&&e.stop(!0)};return s.finish=s,i||!1===o.queue?this.each(s):this.queue(o.queue,s)},stop:function(t,e,n){var r=function(t){var e=t.stop;delete t.stop,e(n)};return"string"!=typeof t&&(n=e,e=t,t=void 0),e&&this.queue(t||"fx",[]),this.each(function(){var e=!0,i=null!=t&&t+"queueHooks",o=vt.timers,s=Rt.get(this);if(i)s[i]&&s[i].stop&&r(s[i]);else for(i in s)s[i]&&s[i].stop&&_e.test(i)&&r(s[i]);for(i=o.length;i--;)o[i].elem!==this||null!=t&&o[i].queue!==t||(o[i].anim.stop(n),e=!1,o.splice(i,1));!e&&n||vt.dequeue(this,t)})},finish:function(t){return!1!==t&&(t=t||"fx"),this.each(function(){var e,n=Rt.get(this),r=n[t+"queue"],i=n[t+"queueHooks"],o=vt.timers,s=r?r.length:0;for(n.finish=!0,vt.queue(this,t,[]),i&&i.stop&&i.stop.call(this,!0),e=o.length;e--;)o[e].elem===this&&o[e].queue===t&&(o[e].anim.stop(!0),o.splice(e,1));for(e=0;e<s;e++)r[e]&&r[e].finish&&r[e].finish.call(this);delete n.finish})}}),vt.each(["toggle","show","hide"],function(t,e){var n=vt.fn[e];vt.fn[e]=function(t,r,i){return null==t||"boolean"==typeof t?n.apply(this,arguments):this.animate(q(e,!0),t,r,i)}}),vt.each({slideDown:q("show"),slideUp:q("hide"),slideToggle:q("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(t,e){vt.fn[t]=function(t,n,r){return this.animate(e,t,n,r)}}),vt.timers=[],vt.fx.tick=function(){var t,e=0,n=vt.timers;for(fe=Date.now();e<n.length;e++)(t=n[e])()||n[e]!==t||n.splice(e--,1);n.length||vt.fx.stop(),fe=void 0},vt.fx.timer=function(t){vt.timers.push(t),vt.fx.start()},vt.fx.interval=13,vt.fx.start=function(){pe||(pe=!0,W())},vt.fx.stop=function(){pe=null},vt.fx.speeds={slow:600,fast:200,_default:400},vt.fn.delay=function(t,e){return t=vt.fx?vt.fx.speeds[t]||t:t,e=e||"fx",this.queue(e,function(e,r){var i=n.setTimeout(e,t);r.stop=function(){n.clearTimeout(i)}})},function(){var t=_t.createElement("input"),e=_t.createElement("select").appendChild(_t.createElement("option"));t.type="checkbox",ft.checkOn=""!==t.value,ft.optSelected=e.selected,(t=_t.createElement("input")).value="t",t.type="radio",ft.radioValue="t"===t.value}();var ge,ve=vt.expr.attrHandle;vt.fn.extend({attr:function(t,e){return Lt(this,vt.attr,t,e,arguments.length>1)},removeAttr:function(t){return this.each(function(){vt.removeAttr(this,t)})}}),vt.extend({attr:function(t,e,n){var r,i,o=t.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===t.getAttribute?vt.prop(t,e,n):(1===o&&vt.isXMLDoc(t)||(i=vt.attrHooks[e.toLowerCase()]||(vt.expr.match.bool.test(e)?ge:void 0)),void 0!==n?null===n?void vt.removeAttr(t,e):i&&"set"in i&&void 0!==(r=i.set(t,n,e))?r:(t.setAttribute(e,n+""),n):i&&"get"in i&&null!==(r=i.get(t,e))?r:null==(r=vt.find.attr(t,e))?void 0:r)},attrHooks:{type:{set:function(t,e){if(!ft.radioValue&&"radio"===e&&u(t,"input")){var n=t.value;return t.setAttribute("type",e),n&&(t.value=n),e}}}},removeAttr:function(t,e){var n,r=0,i=e&&e.match(Ot);if(i&&1===t.nodeType)for(;n=i[r++];)t.removeAttribute(n)}}),ge={set:function(t,e,n){return!1===e?vt.removeAttr(t,n):t.setAttribute(n,n),n}},vt.each(vt.expr.match.bool.source.match(/\w+/g),function(t,e){var n=ve[e]||vt.find.attr;ve[e]=function(t,e,r){var i,o,s=e.toLowerCase();return r||(o=ve[s],ve[s]=i,i=null!=n(t,e,r)?s:null,ve[s]=o),i}});var ye=/^(?:input|select|textarea|button)$/i,be=/^(?:a|area)$/i;vt.fn.extend({prop:function(t,e){return Lt(this,vt.prop,t,e,arguments.length>1)},removeProp:function(t){return this.each(function(){delete this[vt.propFix[t]||t]})}}),vt.extend({prop:function(t,e,n){var r,i,o=t.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&vt.isXMLDoc(t)||(i=vt.propHooks[e=vt.propFix[e]||e]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(t,n,e))?r:t[e]=n:i&&"get"in i&&null!==(r=i.get(t,e))?r:t[e]},propHooks:{tabIndex:{get:function(t){var e=vt.find.attr(t,"tabindex");return e?parseInt(e,10):ye.test(t.nodeName)||be.test(t.nodeName)&&t.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),ft.optSelected||(vt.propHooks.selected={get:function(t){return null},set:function(t){}}),vt.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){vt.propFix[this.toLowerCase()]=this}),vt.fn.extend({addClass:function(t){var e,n,r,i,o,s,a,u=0;if(pt(t))return this.each(function(e){vt(this).addClass(t.call(this,e,Z(this)))});if((e=$(t)).length)for(;n=this[u++];)if(i=Z(n),r=1===n.nodeType&&" "+K(i)+" "){for(s=0;o=e[s++];)r.indexOf(" "+o+" ")<0&&(r+=o+" ");i!==(a=K(r))&&n.setAttribute("class",a)}return this},removeClass:function(t){var e,n,r,i,o,s,a,u=0;if(pt(t))return this.each(function(e){vt(this).removeClass(t.call(this,e,Z(this)))});if(!arguments.length)return this.attr("class","");if((e=$(t)).length)for(;n=this[u++];)if(i=Z(n),r=1===n.nodeType&&" "+K(i)+" "){for(s=0;o=e[s++];)for(;r.indexOf(" "+o+" ")>-1;)r=r.replace(" "+o+" "," ");i!==(a=K(r))&&n.setAttribute("class",a)}return this},toggleClass:function(t,e){var n=typeof t,r="string"===n||Array.isArray(t);return"boolean"==typeof e&&r?e?this.addClass(t):this.removeClass(t):pt(t)?this.each(function(n){vt(this).toggleClass(t.call(this,n,Z(this),e),e)}):this.each(function(){var e,i,o,s;if(r)for(i=0,o=vt(this),s=$(t);e=s[i++];)o.hasClass(e)?o.removeClass(e):o.addClass(e);else void 0!==t&&"boolean"!==n||((e=Z(this))&&Rt.set(this,"__className__",e),this.setAttribute&&this.setAttribute("class",e||!1===t?"":Rt.get(this,"__className__")||""))})},hasClass:function(t){var e,n,r=0;for(e=" "+t+" ";n=this[r++];)if(1===n.nodeType&&(" "+K(Z(n))+" ").indexOf(e)>-1)return!0;return!1}});var we=/\r/g;vt.fn.extend({val:function(t){var e,n,r,i=this[0];if(arguments.length)return r=pt(t),this.each(function(n){var i;1===this.nodeType&&(null==(i=r?t.call(this,n,vt(this).val()):t)?i="":"number"==typeof i?i+="":Array.isArray(i)&&(i=vt.map(i,function(t){return null==t?"":t+""})),(e=vt.valHooks[this.type]||vt.valHooks[this.nodeName.toLowerCase()])&&"set"in e&&void 0!==e.set(this,i,"value")||(this.value=i))});if(i)return(e=vt.valHooks[i.type]||vt.valHooks[i.nodeName.toLowerCase()])&&"get"in e&&void 0!==(n=e.get(i,"value"))?n:"string"==typeof(n=i.value)?n.replace(we,""):null==n?"":n}}),vt.extend({valHooks:{option:{get:function(t){var e=vt.find.attr(t,"value");return null!=e?e:K(vt.text(t))}},select:{get:function(t){var e,n,r,i=t.options,o=t.selectedIndex,s="select-one"===t.type,a=s?null:[],l=s?o+1:i.length;for(r=o<0?l:s?o:0;r<l;r++)if(((n=i[r]).selected||r===o)&&!n.disabled&&(!n.parentNode.disabled||!u(n.parentNode,"optgroup"))){if(e=vt(n).val(),s)return e;a.push(e)}return a},set:function(t,e){for(var n,r,i=t.options,o=vt.makeArray(e),s=i.length;s--;)((r=i[s]).selected=vt.inArray(vt.valHooks.option.get(r),o)>-1)&&(n=!0);return n||(t.selectedIndex=-1),o}}}}),vt.each(["radio","checkbox"],function(){vt.valHooks[this]={set:function(t,e){if(Array.isArray(e))return t.checked=vt.inArray(vt(t).val(),e)>-1}},ft.checkOn||(vt.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})}),ft.focusin="onfocusin"in n;var Se=/^(?:focusinfocus|focusoutblur)$/,Te=function(t){t.stopPropagation()};vt.extend(vt.event,{trigger:function(t,e,r,i){var o,s,a,u,l,c,d,h,f=[r||_t],p=ct.call(t,"type")?t.type:t,m=ct.call(t,"namespace")?t.namespace.split("."):[];if(s=h=a=r=r||_t,3!==r.nodeType&&8!==r.nodeType&&!Se.test(p+vt.event.triggered)&&(p.indexOf(".")>-1&&(p=(m=p.split(".")).shift(),m.sort()),l=p.indexOf(":")<0&&"on"+p,t=t[vt.expando]?t:new vt.Event(p,"object"==typeof t&&t),t.isTrigger=i?2:3,t.namespace=m.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=r),e=null==e?[t]:vt.makeArray(e,[t]),d=vt.event.special[p]||{},i||!d.trigger||!1!==d.trigger.apply(r,e))){if(!i&&!d.noBubble&&!mt(r)){for(Se.test((u=d.delegateType||p)+p)||(s=s.parentNode);s;s=s.parentNode)f.push(s),a=s;a===(r.ownerDocument||_t)&&f.push(a.defaultView||a.parentWindow||n)}for(o=0;(s=f[o++])&&!t.isPropagationStopped();)h=s,t.type=o>1?u:d.bindType||p,(c=(Rt.get(s,"events")||Object.create(null))[t.type]&&Rt.get(s,"handle"))&&c.apply(s,e),(c=l&&s[l])&&c.apply&&Pt(s)&&(t.result=c.apply(s,e),!1===t.result&&t.preventDefault());return t.type=p,i||t.isDefaultPrevented()||d._default&&!1!==d._default.apply(f.pop(),e)||!Pt(r)||l&&pt(r[p])&&!mt(r)&&((a=r[l])&&(r[l]=null),vt.event.triggered=p,t.isPropagationStopped()&&h.addEventListener(p,Te),r[p](),t.isPropagationStopped()&&h.removeEventListener(p,Te),vt.event.triggered=void 0,a&&(r[l]=a)),t.result}},simulate:function(t,e,n){var r=vt.extend(new vt.Event,n,{type:t,isSimulated:!0});vt.event.trigger(r,null,e)}}),vt.fn.extend({trigger:function(t,e){return this.each(function(){vt.event.trigger(t,e,this)})},triggerHandler:function(t,e){var n=this[0];if(n)return vt.event.trigger(t,e,n,!0)}}),ft.focusin||vt.each({focus:"focusin",blur:"focusout"},function(t,e){var n=function(t){vt.event.simulate(e,t.target,vt.event.fix(t))};vt.event.special[e]={setup:function(){var r=this.ownerDocument||this.document||this,i=Rt.access(r,e);i||r.addEventListener(t,n,!0),Rt.access(r,e,(i||0)+1)},teardown:function(){var r=this.ownerDocument||this.document||this,i=Rt.access(r,e)-1;i?Rt.access(r,e,i):(r.removeEventListener(t,n,!0),Rt.remove(r,e))}}});var Ee=n.location,Me={guid:Date.now()},xe=/\?/;vt.parseXML=function(t){var e,r;if(!t||"string"!=typeof t)return null;try{e=(new n.DOMParser).parseFromString(t,"text/xml")}catch(t){}return r=e&&e.getElementsByTagName("parsererror")[0],e&&!r||vt.error("Invalid XML: "+(r?vt.map(r.childNodes,function(t){return t.textContent}).join("\n"):t)),e};var Ce=/\[\]$/,Oe=/\r?\n/g,De=/^(?:submit|button|image|reset|file)$/i,ke=/^(?:input|select|textarea|keygen)/i;vt.param=function(t,e){var n,r=[],i=function(t,e){var n=pt(e)?e():e;r[r.length]=encodeURIComponent(t)+"="+encodeURIComponent(null==n?"":n)};if(null==t)return"";if(Array.isArray(t)||t.jquery&&!vt.isPlainObject(t))vt.each(t,function(){i(this.name,this.value)});else for(n in t)J(n,t[n],e,i);return r.join("&")},vt.fn.extend({serialize:function(){return vt.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=vt.prop(this,"elements");return t?vt.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!vt(this).is(":disabled")&&ke.test(this.nodeName)&&!De.test(t)&&(this.checked||!Gt.test(t))}).map(function(t,e){var n=vt(this).val();return null==n?null:Array.isArray(n)?vt.map(n,function(t){return{name:e.name,value:t.replace(Oe,"\r\n")}}):{name:e.name,value:n.replace(Oe,"\r\n")}}).get()}});var Le=/%20/g,Ae=/#.*$/,Ie=/([?&])_=[^&]*/,Pe=/^(.*?):[ \t]*([^\r\n]*)$/gm,Re=/^(?:GET|HEAD)$/,Ne=/^\/\//,je={},Ye={},Fe="*/".concat("*"),He=_t.createElement("a");He.href=Ee.href,vt.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Ee.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Ee.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Fe,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":vt.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?et(et(t,vt.ajaxSettings),e):et(vt.ajaxSettings,t)},ajaxPrefilter:Q(je),ajaxTransport:Q(Ye),ajax:function(t,e){function r(t,e,r,a){var l,h,f,b,w,S=e;c||(c=!0,u&&n.clearTimeout(u),i=void 0,s=a||"",T.readyState=t>0?4:0,l=t>=200&&t<300||304===t,r&&(b=function(t,e,n){for(var r,i,o,s,a=t.contents,u=t.dataTypes;"*"===u[0];)u.shift(),void 0===r&&(r=t.mimeType||e.getResponseHeader("Content-Type"));if(r)for(i in a)if(a[i]&&a[i].test(r)){u.unshift(i);break}if(u[0]in n)o=u[0];else{for(i in n){if(!u[0]||t.converters[i+" "+u[0]]){o=i;break}s||(s=i)}o=o||s}if(o)return o!==u[0]&&u.unshift(o),n[o]}(p,T,r)),!l&&vt.inArray("script",p.dataTypes)>-1&&vt.inArray("json",p.dataTypes)<0&&(p.converters["text script"]=function(){}),b=function(t,e,n,r){var i,o,s,a,u,l={},c=t.dataTypes.slice();if(c[1])for(s in t.converters)l[s.toLowerCase()]=t.converters[s];for(o=c.shift();o;)if(t.responseFields[o]&&(n[t.responseFields[o]]=e),!u&&r&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),u=o,o=c.shift())if("*"===o)o=u;else if("*"!==u&&u!==o){if(!(s=l[u+" "+o]||l["* "+o]))for(i in l)if((a=i.split(" "))[1]===o&&(s=l[u+" "+a[0]]||l["* "+a[0]])){!0===s?s=l[i]:!0!==l[i]&&(o=a[0],c.unshift(a[1]));break}if(!0!==s)if(s&&t.throws)e=s(e);else try{e=s(e)}catch(t){return{state:"parsererror",error:s?t:"No conversion from "+u+" to "+o}}}return{state:"success",data:e}}(p,b,T,l),l?(p.ifModified&&((w=T.getResponseHeader("Last-Modified"))&&(vt.lastModified[o]=w),(w=T.getResponseHeader("etag"))&&(vt.etag[o]=w)),204===t||"HEAD"===p.type?S="nocontent":304===t?S="notmodified":(S=b.state,h=b.data,l=!(f=b.error))):(f=S,!t&&S||(S="error",t<0&&(t=0))),T.status=t,T.statusText=(e||S)+"",l?g.resolveWith(m,[h,S,T]):g.rejectWith(m,[T,S,f]),T.statusCode(y),y=void 0,d&&_.trigger(l?"ajaxSuccess":"ajaxError",[T,p,l?h:f]),v.fireWith(m,[T,S]),d&&(_.trigger("ajaxComplete",[T,p]),--vt.active||vt.event.trigger("ajaxStop")))}"object"==typeof t&&(e=t,t=void 0);var i,o,s,a,u,l,c,d,h,f,p=vt.ajaxSetup({},e=e||{}),m=p.context||p,_=p.context&&(m.nodeType||m.jquery)?vt(m):vt.event,g=vt.Deferred(),v=vt.Callbacks("once memory"),y=p.statusCode||{},b={},w={},S="canceled",T={readyState:0,getResponseHeader:function(t){var e;if(c){if(!a)for(a={};e=Pe.exec(s);)a[e[1].toLowerCase()+" "]=(a[e[1].toLowerCase()+" "]||[]).concat(e[2]);e=a[t.toLowerCase()+" "]}return null==e?null:e.join(", ")},getAllResponseHeaders:function(){return c?s:null},setRequestHeader:function(t,e){return null==c&&(t=w[t.toLowerCase()]=w[t.toLowerCase()]||t,b[t]=e),this},overrideMimeType:function(t){return null==c&&(p.mimeType=t),this},statusCode:function(t){var e;if(t)if(c)T.always(t[T.status]);else for(e in t)y[e]=[y[e],t[e]];return this},abort:function(t){var e=t||S;return i&&i.abort(e),r(0,e),this}};if(g.promise(T),p.url=((t||p.url||Ee.href)+"").replace(Ne,Ee.protocol+"//"),p.type=e.method||e.type||p.method||p.type,p.dataTypes=(p.dataType||"*").toLowerCase().match(Ot)||[""],null==p.crossDomain){l=_t.createElement("a");try{l.href=p.url,l.href=l.href,p.crossDomain=He.protocol+"//"+He.host!=l.protocol+"//"+l.host}catch(t){p.crossDomain=!0}}if(p.data&&p.processData&&"string"!=typeof p.data&&(p.data=vt.param(p.data,p.traditional)),tt(je,p,e,T),c)return T;(d=vt.event&&p.global)&&0==vt.active++&&vt.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!Re.test(p.type),o=p.url.replace(Ae,""),p.hasContent?p.data&&p.processData&&0===(p.contentType||"").indexOf("application/x-www-form-urlencoded")&&(p.data=p.data.replace(Le,"+")):(f=p.url.slice(o.length),p.data&&(p.processData||"string"==typeof p.data)&&(o+=(xe.test(o)?"&":"?")+p.data,delete p.data),!1===p.cache&&(o=o.replace(Ie,"$1"),f=(xe.test(o)?"&":"?")+"_="+Me.guid+++f),p.url=o+f),p.ifModified&&(vt.lastModified[o]&&T.setRequestHeader("If-Modified-Since",vt.lastModified[o]),vt.etag[o]&&T.setRequestHeader("If-None-Match",vt.etag[o])),(p.data&&p.hasContent&&!1!==p.contentType||e.contentType)&&T.setRequestHeader("Content-Type",p.contentType),T.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+Fe+"; q=0.01":""):p.accepts["*"]);for(h in p.headers)T.setRequestHeader(h,p.headers[h]);if(p.beforeSend&&(!1===p.beforeSend.call(m,T,p)||c))return T.abort();if(S="abort",v.add(p.complete),T.done(p.success),T.fail(p.error),i=tt(Ye,p,e,T)){if(T.readyState=1,d&&_.trigger("ajaxSend",[T,p]),c)return T;p.async&&p.timeout>0&&(u=n.setTimeout(function(){T.abort("timeout")},p.timeout));try{c=!1,i.send(b,r)}catch(t){if(c)throw t;r(-1,t)}}else r(-1,"No Transport");return T},getJSON:function(t,e,n){return vt.get(t,e,n,"json")},getScript:function(t,e){return vt.get(t,void 0,e,"script")}}),vt.each(["get","post"],function(t,e){vt[e]=function(t,n,r,i){return pt(n)&&(i=i||r,r=n,n=void 0),vt.ajax(vt.extend({url:t,type:e,dataType:i,data:n,success:r},vt.isPlainObject(t)&&t))}}),vt.ajaxPrefilter(function(t){var e;for(e in t.headers)"content-type"===e.toLowerCase()&&(t.contentType=t.headers[e]||"")}),vt._evalUrl=function(t,e,n){return vt.ajax({url:t,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(t){vt.globalEval(t,e,n)}})},vt.fn.extend({wrapAll:function(t){var e;return this[0]&&(pt(t)&&(t=t.call(this[0])),e=vt(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var t=this;t.firstElementChild;)t=t.firstElementChild;return t}).append(this)),this},wrapInner:function(t){return pt(t)?this.each(function(e){vt(this).wrapInner(t.call(this,e))}):this.each(function(){var e=vt(this),n=e.contents();n.length?n.wrapAll(t):e.append(t)})},wrap:function(t){var e=pt(t);return this.each(function(n){vt(this).wrapAll(e?t.call(this,n):t)})},unwrap:function(t){return this.parent(t).not("body").each(function(){vt(this).replaceWith(this.childNodes)}),this}}),vt.expr.pseudos.hidden=function(t){return!vt.expr.pseudos.visible(t)},vt.expr.pseudos.visible=function(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)},vt.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch(t){}};var Be={0:200,1223:204},Ve=vt.ajaxSettings.xhr();ft.cors=!!Ve&&"withCredentials"in Ve,ft.ajax=Ve=!!Ve,vt.ajaxTransport(function(t){var e,r;if(ft.cors||Ve&&!t.crossDomain)return{send:function(i,o){var s,a=t.xhr();if(a.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(s in t.xhrFields)a[s]=t.xhrFields[s];t.mimeType&&a.overrideMimeType&&a.overrideMimeType(t.mimeType),t.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest");for(s in i)a.setRequestHeader(s,i[s]);e=function(t){return function(){e&&(e=r=a.onload=a.onerror=a.onabort=a.ontimeout=a.onreadystatechange=null,"abort"===t?a.abort():"error"===t?"number"!=typeof a.status?o(0,"error"):o(a.status,a.statusText):o(Be[a.status]||a.status,a.statusText,"text"!==(a.responseType||"text")||"string"!=typeof a.responseText?{binary:a.response}:{text:a.responseText},a.getAllResponseHeaders()))}},a.onload=e(),r=a.onerror=a.ontimeout=e("error"),void 0!==a.onabort?a.onabort=r:a.onreadystatechange=function(){4===a.readyState&&n.setTimeout(function(){e&&r()})},e=e("abort");try{a.send(t.hasContent&&t.data||null)}catch(t){if(e)throw t}},abort:function(){e&&e()}}}),vt.ajaxPrefilter(function(t){t.crossDomain&&(t.contents.script=!1)}),vt.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(t){return vt.globalEval(t),t}}}),vt.ajaxPrefilter("script",function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET")}),vt.ajaxTransport("script",function(t){if(t.crossDomain||t.scriptAttrs){var e,n;return{send:function(r,i){e=vt("<script>").attr(t.scriptAttrs||{}).prop({charset:t.scriptCharset,src:t.url}).on("load error",n=function(t){e.remove(),n=null,t&&i("error"===t.type?404:200,t.type)}),_t.head.appendChild(e[0])},abort:function(){n&&n()}}}});var ze=[],We=/(=)\?(?=&|$)|\?\?/;vt.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=ze.pop()||vt.expando+"_"+Me.guid++;return this[t]=!0,t}}),vt.ajaxPrefilter("json jsonp",function(t,e,r){var i,o,s,a=!1!==t.jsonp&&(We.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&We.test(t.data)&&"data");if(a||"jsonp"===t.dataTypes[0])return i=t.jsonpCallback=pt(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,a?t[a]=t[a].replace(We,"$1"+i):!1!==t.jsonp&&(t.url+=(xe.test(t.url)?"&":"?")+t.jsonp+"="+i),t.converters["script json"]=function(){return s||vt.error(i+" was not called"),s[0]},t.dataTypes[0]="json",o=n[i],n[i]=function(){s=arguments},r.always(function(){void 0===o?vt(n).removeProp(i):n[i]=o,t[i]&&(t.jsonpCallback=e.jsonpCallback,ze.push(i)),s&&pt(o)&&o(s[0]),s=o=void 0}),"script"}),ft.createHTMLDocument=function(){var t=_t.implementation.createHTMLDocument("").body;return t.innerHTML="<form></form><form></form>",2===t.childNodes.length}(),vt.parseHTML=function(t,e,n){if("string"!=typeof t)return[];"boolean"==typeof e&&(n=e,e=!1);var r,i,o;return e||(ft.createHTMLDocument?((r=(e=_t.implementation.createHTMLDocument("")).createElement("base")).href=_t.location.href,e.head.appendChild(r)):e=_t),i=Tt.exec(t),o=!n&&[],i?[e.createElement(i[1])]:(i=E([t],e,o),o&&o.length&&vt(o).remove(),vt.merge([],i.childNodes))},vt.fn.load=function(t,e,n){var r,i,o,s=this,a=t.indexOf(" ");return a>-1&&(r=K(t.slice(a)),t=t.slice(0,a)),pt(e)?(n=e,e=void 0):e&&"object"==typeof e&&(i="POST"),s.length>0&&vt.ajax({url:t,type:i||"GET",dataType:"html",data:e}).done(function(t){o=arguments,s.html(r?vt("<div>").append(vt.parseHTML(t)).find(r):t)}).always(n&&function(t,e){s.each(function(){n.apply(this,o||[t.responseText,e,t])})}),this},vt.expr.pseudos.animated=function(t){return vt.grep(vt.timers,function(e){return t===e.elem}).length},vt.offset={setOffset:function(t,e,n){var r,i,o,s,a,u,l=vt.css(t,"position"),c=vt(t),d={};"static"===l&&(t.style.position="relative"),a=c.offset(),o=vt.css(t,"top"),u=vt.css(t,"left"),("absolute"===l||"fixed"===l)&&(o+u).indexOf("auto")>-1?(s=(r=c.position()).top,i=r.left):(s=parseFloat(o)||0,i=parseFloat(u)||0),pt(e)&&(e=e.call(t,n,vt.extend({},a))),null!=e.top&&(d.top=e.top-a.top+s),null!=e.left&&(d.left=e.left-a.left+i),"using"in e?e.using.call(t,d):c.css(d)}},vt.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){vt.offset.setOffset(this,t,e)});var e,n,r=this[0];if(r)return r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}},position:function(){if(this[0]){var t,e,n,r=this[0],i={top:0,left:0};if("fixed"===vt.css(r,"position"))e=r.getBoundingClientRect();else{for(e=this.offset(),n=r.ownerDocument,t=r.offsetParent||n.documentElement;t&&(t===n.body||t===n.documentElement)&&"static"===vt.css(t,"position");)t=t.parentNode;t&&t!==r&&1===t.nodeType&&((i=vt(t).offset()).top+=vt.css(t,"borderTopWidth",!0),i.left+=vt.css(t,"borderLeftWidth",!0))}return{top:e.top-i.top-vt.css(r,"marginTop",!0),left:e.left-i.left-vt.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent;t&&"static"===vt.css(t,"position");)t=t.offsetParent;return t||Vt})}}),vt.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,e){var n="pageYOffset"===e;vt.fn[t]=function(r){return Lt(this,function(t,r,i){var o;if(mt(t)?o=t:9===t.nodeType&&(o=t.defaultView),void 0===i)return o?o[e]:t[r];o?o.scrollTo(n?o.pageXOffset:i,n?i:o.pageYOffset):t[r]=i},t,r,arguments.length)}}),vt.each(["top","left"],function(t,e){vt.cssHooks[e]=Y(ft.pixelPosition,function(t,n){if(n)return n=j(t,e),ne.test(n)?vt(t).position()[e]+"px":n})}),vt.each({Height:"height",Width:"width"},function(t,e){vt.each({padding:"inner"+t,content:e,"":"outer"+t},function(n,r){vt.fn[r]=function(i,o){var s=arguments.length&&(n||"boolean"!=typeof i),a=n||(!0===i||!0===o?"margin":"border");return Lt(this,function(e,n,i){var o;return mt(e)?0===r.indexOf("outer")?e["inner"+t]:e.document.documentElement["client"+t]:9===e.nodeType?(o=e.documentElement,Math.max(e.body["scroll"+t],o["scroll"+t],e.body["offset"+t],o["offset"+t],o["client"+t])):void 0===i?vt.css(e,n,a):vt.style(e,n,i,a)},e,s?i:void 0,s)}})}),vt.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){vt.fn[e]=function(t){return this.on(e,t)}}),vt.fn.extend({bind:function(t,e,n){return this.on(t,null,e,n)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,n,r){return this.on(e,t,n,r)},undelegate:function(t,e,n){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",n)},hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)}}),vt.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(t,e){vt.fn[e]=function(t,n){return arguments.length>0?this.on(e,null,t,n):this.trigger(e)}});var Ue=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;vt.proxy=function(t,e){var n,r,i;if("string"==typeof e&&(n=t[e],e=t,t=n),pt(t))return r=it.call(arguments,2),i=function(){return t.apply(e||this,r.concat(it.call(arguments)))},i.guid=t.guid=t.guid||vt.guid++,i},vt.holdReady=function(t){t?vt.readyWait++:vt.ready(!0)},vt.isArray=Array.isArray,vt.parseJSON=JSON.parse,vt.nodeName=u,vt.isFunction=pt,vt.isWindow=mt,vt.camelCase=_,vt.type=s,vt.now=Date.now,vt.isNumeric=function(t){var e=vt.type(t);return("number"===e||"string"===e)&&!isNaN(t-parseFloat(t))},vt.trim=function(t){return null==t?"":(t+"").replace(Ue,"")},void 0===(r=function(){return vt}.apply(e,[]))||(t.exports=r);var qe=n.jQuery,Ge=n.$;return vt.noConflict=function(t){return n.$===vt&&(n.$=Ge),t&&n.jQuery===vt&&(n.jQuery=qe),vt},void 0===i&&(n.jQuery=n.$=vt),vt})},,,function(t,e,n){"use strict";function r(t){return i["ɵvid"](2,[i["ɵqud"](402653184,1,{backdrop:0}),(t()(),i["ɵeld"](1,0,null,null,1,"div",[["class","menu-inner"]],null,null,null,null,null)),i["ɵncd"](null,0),(t()(),i["ɵeld"](3,0,null,null,1,"ion-backdrop",[["disable-activated",""],["role","presentation"],["tappable",""]],null,null,null,null,null)),i["ɵdid"](4,16384,[[1,4]],0,o.a,[i.ElementRef,i.Renderer],null,null)],null,null)}n.d(e,"a",function(){return s}),e.b=r;var i=n(1),o=n(82),s=(n(6),n(16),n(77),n(25),n(30),i["ɵcrt"]({encapsulation:2,styles:[],data:{}}))},function(t,e,n){"use strict";function r(t){return i["ɵvid"](0,[i["ɵqud"](402653184,1,{_vp:0}),(t()(),i["ɵeld"](1,16777216,[[1,3],["viewport",1]],null,0,"div",[["nav-viewport",""]],null,null,null,null,null)),(t()(),i["ɵeld"](2,0,null,null,0,"div",[["class","nav-decor"]],null,null,null,null,null))],null,null)}n.d(e,"a",function(){return o}),e.b=r;var i=n(1),o=(n(18),n(63),n(6),n(16),n(25),n(101),n(53),n(30),i["ɵcrt"]({encapsulation:2,styles:[],data:{}}))}]);