diff --git a/glances/outputs/static/bower.json b/glances/outputs/static/bower.json index ee592e91..3712b853 100644 --- a/glances/outputs/static/bower.json +++ b/glances/outputs/static/bower.json @@ -4,6 +4,7 @@ "dependencies": { "angular": "^1.5.8", "angular-route": "^1.5.8", - "lodash": "^4.13.1" + "lodash": "^4.13.1", + "favico.js": "^0.3.10" } } diff --git a/glances/outputs/static/js/services/core/favicon.js b/glances/outputs/static/js/services/core/favicon.js new file mode 100644 index 00000000..2ed96d38 --- /dev/null +++ b/glances/outputs/static/js/services/core/favicon.js @@ -0,0 +1,14 @@ +glancesApp.service('favicoService', function() { + + var favico = new Favico({ + animation : 'none' + }); + + this.badge = function(nb) { + favico.badge(nb); + }; + + this.reset = function() { + favico.reset(); + }; +}); diff --git a/glances/outputs/static/js/services/core/glances_stats.js b/glances/outputs/static/js/services/core/glances_stats.js index 520dca54..4d049849 100644 --- a/glances/outputs/static/js/services/core/glances_stats.js +++ b/glances/outputs/static/js/services/core/glances_stats.js @@ -5,7 +5,7 @@ glancesApp.service('GlancesStats', function($http, $injector, $q, GlancesPlugin) 'alert': 'GlancesPluginAlert', 'cpu': 'GlancesPluginCpu', 'diskio': 'GlancesPluginDiskio', - 'irq' : 'GlancesPluginIrq', + 'irq' : 'GlancesPluginIrq', 'docker': 'GlancesPluginDocker', 'ip': 'GlancesPluginIp', 'fs': 'GlancesPluginFs', diff --git a/glances/outputs/static/js/services/plugins/glances_alert.js b/glances/outputs/static/js/services/plugins/glances_alert.js index cc434d1a..9df6db89 100644 --- a/glances/outputs/static/js/services/plugins/glances_alert.js +++ b/glances/outputs/static/js/services/plugins/glances_alert.js @@ -29,7 +29,7 @@ glancesApp.service('GlancesPluginAlert', function () { , minutes = parseInt((duration / (1000 * 60)) % 60) , hours = parseInt((duration / (1000 * 60 * 60)) % 24); - alert.duration = _.padLeft(hours, 2, '0') + ":" + _.padLeft(minutes, 2, '0') + ":" + _.padLeft(seconds, 2, '0'); + alert.duration = _.padStart(hours, 2, '0') + ":" + _.padStart(minutes, 2, '0') + ":" + _.padStart(seconds, 2, '0'); } _alerts.push(alert); @@ -47,4 +47,12 @@ glancesApp.service('GlancesPluginAlert', function () { this.count = function () { return _alerts.length; }; + + this.hasOngoingAlerts = function () { + return _.filter(_alerts, { 'ongoing': true }).length > 0; + }; + + this.countOngoingAlerts = function () { + return _.filter(_alerts, { 'ongoing': true }).length; + } }); diff --git a/glances/outputs/static/js/stats_controller.js b/glances/outputs/static/js/stats_controller.js index b10c9e01..faee06f1 100644 --- a/glances/outputs/static/js/stats_controller.js +++ b/glances/outputs/static/js/stats_controller.js @@ -1,4 +1,4 @@ -glancesApp.controller('statsController', function ($scope, $rootScope, $interval, GlancesStats, help, arguments) { +glancesApp.controller('statsController', function ($scope, $rootScope, $interval, GlancesStats, help, arguments, favicoService) { $scope.help = help; $scope.arguments = arguments; @@ -24,7 +24,7 @@ glancesApp.controller('statsController', function ($scope, $rootScope, $interval $scope.statsAlert = GlancesStats.getPlugin('alert'); $scope.statsCpu = GlancesStats.getPlugin('cpu'); $scope.statsDiskio = GlancesStats.getPlugin('diskio'); - $scope.statsIrq = GlancesStats.getPlugin('irq'); + $scope.statsIrq = GlancesStats.getPlugin('irq'); $scope.statsDocker = GlancesStats.getPlugin('docker'); $scope.statsFs = GlancesStats.getPlugin('fs'); $scope.statsFolders = GlancesStats.getPlugin('folders'); @@ -46,6 +46,12 @@ glancesApp.controller('statsController', function ($scope, $rootScope, $interval $rootScope.title = $scope.statsSystem.hostname + ' - Glances'; + if ($scope.statsAlert.hasOngoingAlerts()) { + favicoService.badge($scope.statsAlert.countOngoingAlerts()); + } else { + favicoService.reset(); + } + $scope.is_disconnected = false; $scope.dataLoaded = true; }, function() { @@ -104,8 +110,8 @@ glancesApp.controller('statsController', function ($scope, $rootScope, $interval // d => Show/hide disk I/O stats $scope.arguments.disable_diskio = !$scope.arguments.disable_diskio; break; - case $event.shiftKey && $event.keyCode == keycodes.Q: - // R => Show/hide IRQ + case $event.shiftKey && $event.keyCode == keycodes.Q: + // Q => Show/hide IRQ $scope.arguments.disable_irq = !$scope.arguments.disable_irq; break; case !$event.shiftKey && $event.keyCode == keycodes.f: diff --git a/glances/outputs/static/public/js/main.js b/glances/outputs/static/public/js/main.js index ccbf168d..b4f787a1 100644 --- a/glances/outputs/static/public/js/main.js +++ b/glances/outputs/static/public/js/main.js @@ -1 +1 @@ -var glancesApp=angular.module("glancesApp",["ngRoute"]).config(["$routeProvider","$locationProvider",function(e,t){e.when("/:refresh_time?",{templateUrl:"stats.html",controller:"statsController",resolve:{help:["GlancesStats",function(e){return e.getHelp()}],arguments:["GlancesStats","$route",function(e,t){return e.getArguments().then(function(arguments){var e=parseInt(t.current.params.refresh_time);return!isNaN(e)&&e>1&&(arguments.time=e),arguments})}]}}),t.html5Mode(!0)}]).run(["$rootScope",function(e){e.title="Glances"}]);glancesApp.directive("sortableTh",function(){return{restrict:"A",scope:{sorter:"="},link:function(e,t,s){t.addClass("sortable"),e.$watch(function(){return e.sorter.column},function(e,i){angular.isArray(e)?e.indexOf(s.column)!==-1?t.addClass("sort"):t.removeClass("sort"):s.column===e?t.addClass("sort"):t.removeClass("sort")}),t.on("click",function(){e.sorter.column=s.column,e.$apply()})}}}),glancesApp.filter("min_size",function(){return function(e,t){var t=t||8;return e.length>t?"_"+e.substring(e.length-t):e}}),glancesApp.filter("exclamation",function(){return function(e){return void 0===e||""===e?"?":e}}),glancesApp.filter("bytes",function(){return function(e,t){if(t=t||!1,isNaN(parseFloat(e))||!isFinite(e)||0==e)return e;for(var s=["K","M","G","T","P","E","Z","Y"],i={Y:1.2089258196146292e24,Z:0x400000000000000000,E:0x1000000000000000,P:0x4000000000000,T:1099511627776,G:1073741824,M:1048576,K:1024},n=_(s).reverse().value(),r=0;r1){var u=0;return o<10?u=2:o<100&&(u=1),t?u="MK"==a?0:_.min([1,u]):"K"==a&&(u=0),parseFloat(o).toFixed(u)+a}}return e.toFixed(0)}}),glancesApp.filter("bits",["$filter",function(e){return function(t,s){return t=8*Math.round(t),e("bytes")(t,s)+"b"}}]),glancesApp.filter("leftPad",["$filter",function(e){return function(e,t,s){return t=t||0,s=s||" ",_.padStart(e,t,s)}}]),glancesApp.filter("timemillis",function(){return function(e){for(var t=0,s=0;s0},this.getAlerts=function(){return t},this.count=function(){return t.length}}),glancesApp.service("GlancesPluginAmps",function(){var e="amps";this.processes=[],this.setData=function(t,s){var i=t[e];this.processes=[],angular.forEach(i,function(e){null!==e.result&&this.processes.push(e)},this)},this.getDescriptionDecoration=function(e){var t=e.count,s=e.countmin,i=e.countmax,n="ok";return n=t>0?(null==s||t>=s)&&(null==i||t<=i)?"ok":"careful":null==s?"ok":"critical"}}),glancesApp.service("GlancesPluginCpu",function(){var e="cpu",t={};this.total=null,this.user=null,this.system=null,this.idle=null,this.nice=null,this.irq=null,this.iowait=null,this.steal=null,this.ctx_switches=null,this.interrupts=null,this.soft_interrupts=null,this.syscalls=null,this.setData=function(s,i){s=s[e],t=i[e],this.total=s.total,this.user=s.user,this.system=s.system,this.idle=s.idle,this.nice=s.nice,this.irq=s.irq,this.iowait=s.iowait,this.steal=s.steal,s.ctx_switches&&(this.ctx_switches=Math.floor(s.ctx_switches/s.time_since_update)),s.interrupts&&(this.interrupts=Math.floor(s.interrupts/s.time_since_update)),s.soft_interrupts&&(this.soft_interrupts=Math.floor(s.soft_interrupts/s.time_since_update)),s.syscalls&&(this.syscalls=Math.floor(s.syscalls/s.time_since_update))},this.getDecoration=function(e){if(void 0!=t[e])return t[e].decoration.toLowerCase()}}),glancesApp.service("GlancesPluginDiskio",["$filter",function(e){var t="diskio";this.disks=[],this.setData=function(s,i){s=s[t],s=e("orderBy")(s,"disk_name"),this.disks=[];for(var n=0;n1e6*e.critical?"critical":null!==e.warning&&e.size>1e6*e.warning?"warning":null!==e.careful&&e.size>1e6*e.careful?"careful":"ok"}}),glancesApp.service("GlancesPluginFs",function(){var e="fs",t={};this.fileSystems=[],this.setData=function(s,i){t=i[e],s=s[e],this.fileSystems=[];for(var n=0;n=l){var c=u.lastIndexOf("_"),h=u.substring(c+1);return h+r}}return"ok"+r},e.getAlertLog=function(e,t,s,i){return this.getAlert(e,t,s,i,!0)},e}),glancesApp.service("GlancesPluginPorts",function(){var e="ports";this.ports=[],this.setData=function(t,s){var i=t[e];this.ports=[],angular.forEach(i,function(e){this.ports.push(e)},this)},this.getDecoration=function(e){return null===e.status?"careful":e.status===!1?"critical":null!==e.rtt_warning&&e.status>e.rtt_warning?"warning":"ok"}}),glancesApp.service("GlancesPluginProcessCount",function(){var e="processcount";this.total=null,this.running=null,this.sleeping=null,this.stopped=null,this.thread=null,this.setData=function(t,s){t=t[e],this.total=t.total||0,this.running=t.running||0,this.sleeping=t.sleeping||0,this.stopped=t.stopped||0,this.thread=t.thread||0}}),glancesApp.service("GlancesPluginProcessList",["$filter","GlancesPlugin",function(e,t){var s="processlist";this.processes=[],this.setData=function(t,i){this.processes=[],this.ioReadWritePresent=!1;for(var n=0;n0},this.getAlert=function(e){return e.inactive?"critical":e.degraded?"warning":"ok"}}),glancesApp.service("GlancesPluginSensors",["GlancesPlugin",function(e){var t="sensors";this.sensors=[],this.setData=function(e,s){e=e[t],_.remove(e,function(e){return _.isArray(e.value)&&_.isEmpty(e.value)||0===e.value}),this.sensors=e},this.getAlert=function(s){var i="battery"==s.type?100-s.value:s.value;return e.getAlert(t,"sensors_"+s.type+"_",i)}}]),glancesApp.service("GlancesPluginSystem",function(){var e="system";this.hostname=null,this.platform=null,this.humanReadableName=null,this.os={name:null,version:null},this.setData=function(t,s){t=t[e],this.hostname=t.hostname,this.platform=t.platform,this.os.name=t.os_name,this.os.version=t.os_version,this.humanReadableName=t.hr_name},this.isBsd=function(){return"FreeBSD"===this.os.name},this.isLinux=function(){return"Linux"===this.os.name},this.isMac=function(){return"Darwin"===this.os.name},this.isWindows=function(){return"Windows"===this.os.name}}),glancesApp.service("GlancesPluginUptime",function(){this.uptime=null,this.setData=function(e,t){this.uptime=e.uptime}}); \ No newline at end of file +var glancesApp=angular.module("glancesApp",["ngRoute"]).config(["$routeProvider","$locationProvider",function(e,t){e.when("/:refresh_time?",{templateUrl:"stats.html",controller:"statsController",resolve:{help:["GlancesStats",function(e){return e.getHelp()}],arguments:["GlancesStats","$route",function(e,t){return e.getArguments().then(function(arguments){var e=parseInt(t.current.params.refresh_time);return!isNaN(e)&&e>1&&(arguments.time=e),arguments})}]}}),t.html5Mode(!0)}]).run(["$rootScope",function(e){e.title="Glances"}]);glancesApp.directive("sortableTh",function(){return{restrict:"A",scope:{sorter:"="},link:function(e,t,s){t.addClass("sortable"),e.$watch(function(){return e.sorter.column},function(e,i){angular.isArray(e)?e.indexOf(s.column)!==-1?t.addClass("sort"):t.removeClass("sort"):s.column===e?t.addClass("sort"):t.removeClass("sort")}),t.on("click",function(){e.sorter.column=s.column,e.$apply()})}}}),glancesApp.filter("min_size",function(){return function(e,t){var t=t||8;return e.length>t?"_"+e.substring(e.length-t):e}}),glancesApp.filter("exclamation",function(){return function(e){return void 0===e||""===e?"?":e}}),glancesApp.filter("bytes",function(){return function(e,t){if(t=t||!1,isNaN(parseFloat(e))||!isFinite(e)||0==e)return e;for(var s=["K","M","G","T","P","E","Z","Y"],i={Y:1.2089258196146292e24,Z:0x400000000000000000,E:0x1000000000000000,P:0x4000000000000,T:1099511627776,G:1073741824,M:1048576,K:1024},n=_(s).reverse().value(),r=0;r1){var u=0;return o<10?u=2:o<100&&(u=1),t?u="MK"==a?0:_.min([1,u]):"K"==a&&(u=0),parseFloat(o).toFixed(u)+a}}return e.toFixed(0)}}),glancesApp.filter("bits",["$filter",function(e){return function(t,s){return t=8*Math.round(t),e("bytes")(t,s)+"b"}}]),glancesApp.filter("leftPad",["$filter",function(e){return function(e,t,s){return t=t||0,s=s||" ",_.padStart(e,t,s)}}]),glancesApp.filter("timemillis",function(){return function(e){for(var t=0,s=0;s0},this.getAlerts=function(){return t},this.count=function(){return t.length},this.hasOngoingAlerts=function(){return _.filter(t,{ongoing:!0}).length>0},this.countOngoingAlerts=function(){return _.filter(t,{ongoing:!0}).length}}),glancesApp.service("GlancesPluginAmps",function(){var e="amps";this.processes=[],this.setData=function(t,s){var i=t[e];this.processes=[],angular.forEach(i,function(e){null!==e.result&&this.processes.push(e)},this)},this.getDescriptionDecoration=function(e){var t=e.count,s=e.countmin,i=e.countmax,n="ok";return n=t>0?(null==s||t>=s)&&(null==i||t<=i)?"ok":"careful":null==s?"ok":"critical"}}),glancesApp.service("GlancesPluginCpu",function(){var e="cpu",t={};this.total=null,this.user=null,this.system=null,this.idle=null,this.nice=null,this.irq=null,this.iowait=null,this.steal=null,this.ctx_switches=null,this.interrupts=null,this.soft_interrupts=null,this.syscalls=null,this.setData=function(s,i){s=s[e],t=i[e],this.total=s.total,this.user=s.user,this.system=s.system,this.idle=s.idle,this.nice=s.nice,this.irq=s.irq,this.iowait=s.iowait,this.steal=s.steal,s.ctx_switches&&(this.ctx_switches=Math.floor(s.ctx_switches/s.time_since_update)),s.interrupts&&(this.interrupts=Math.floor(s.interrupts/s.time_since_update)),s.soft_interrupts&&(this.soft_interrupts=Math.floor(s.soft_interrupts/s.time_since_update)),s.syscalls&&(this.syscalls=Math.floor(s.syscalls/s.time_since_update))},this.getDecoration=function(e){if(void 0!=t[e])return t[e].decoration.toLowerCase()}}),glancesApp.service("GlancesPluginDiskio",["$filter",function(e){var t="diskio";this.disks=[],this.setData=function(s,i){s=s[t],s=e("orderBy")(s,"disk_name"),this.disks=[];for(var n=0;n1e6*e.critical?"critical":null!==e.warning&&e.size>1e6*e.warning?"warning":null!==e.careful&&e.size>1e6*e.careful?"careful":"ok"}}),glancesApp.service("GlancesPluginFs",function(){var e="fs",t={};this.fileSystems=[],this.setData=function(s,i){t=i[e],s=s[e],this.fileSystems=[];for(var n=0;n=l){var c=u.lastIndexOf("_"),h=u.substring(c+1);return h+r}}return"ok"+r},e.getAlertLog=function(e,t,s,i){return this.getAlert(e,t,s,i,!0)},e}),glancesApp.service("GlancesPluginPorts",function(){var e="ports";this.ports=[],this.setData=function(t,s){var i=t[e];this.ports=[],angular.forEach(i,function(e){this.ports.push(e)},this)},this.getDecoration=function(e){return null===e.status?"careful":e.status===!1?"critical":null!==e.rtt_warning&&e.status>e.rtt_warning?"warning":"ok"}}),glancesApp.service("GlancesPluginProcessCount",function(){var e="processcount";this.total=null,this.running=null,this.sleeping=null,this.stopped=null,this.thread=null,this.setData=function(t,s){t=t[e],this.total=t.total||0,this.running=t.running||0,this.sleeping=t.sleeping||0,this.stopped=t.stopped||0,this.thread=t.thread||0}}),glancesApp.service("GlancesPluginProcessList",["$filter","GlancesPlugin",function(e,t){var s="processlist";this.processes=[],this.setData=function(t,i){this.processes=[],this.ioReadWritePresent=!1;for(var n=0;n0},this.getAlert=function(e){return e.inactive?"critical":e.degraded?"warning":"ok"}}),glancesApp.service("GlancesPluginSensors",["GlancesPlugin",function(e){var t="sensors";this.sensors=[],this.setData=function(e,s){e=e[t],_.remove(e,function(e){return _.isArray(e.value)&&_.isEmpty(e.value)||0===e.value}),this.sensors=e},this.getAlert=function(s){var i="battery"==s.type?100-s.value:s.value;return e.getAlert(t,"sensors_"+s.type+"_",i)}}]),glancesApp.service("GlancesPluginSystem",function(){var e="system";this.hostname=null,this.platform=null,this.humanReadableName=null,this.os={name:null,version:null},this.setData=function(t,s){t=t[e],this.hostname=t.hostname,this.platform=t.platform,this.os.name=t.os_name,this.os.version=t.os_version,this.humanReadableName=t.hr_name},this.isBsd=function(){return"FreeBSD"===this.os.name},this.isLinux=function(){return"Linux"===this.os.name},this.isMac=function(){return"Darwin"===this.os.name},this.isWindows=function(){return"Windows"===this.os.name}}),glancesApp.service("GlancesPluginUptime",function(){this.uptime=null,this.setData=function(e,t){this.uptime=e.uptime}}); \ No newline at end of file diff --git a/glances/outputs/static/public/js/vendor.js b/glances/outputs/static/public/js/vendor.js index 8dcb3dad..facd7929 100644 --- a/glances/outputs/static/public/js/vendor.js +++ b/glances/outputs/static/public/js/vendor.js @@ -1,8 +1,8 @@ -!function(t){"use strict";function e(t,e){return e=e||Error,function(){var n,r,i=2,o=arguments,u=o[0],a="["+(t?t+":":"")+u+"] ",s=o[1];for(a+=s.replace(/\{\d+\}/g,function(t){var e=+t.slice(1,-1),n=e+i;return n=0&&(e-1 in t||t instanceof Array)||"function"==typeof t.item)}function r(t,e,i){var o,u;if(t)if(S(t))for(o in t)"prototype"==o||"length"==o||"name"==o||t.hasOwnProperty&&!t.hasOwnProperty(o)||e.call(i,t[o],o,t);else if(Jr(t)||n(t)){var a="object"!=typeof t;for(o=0,u=t.length;o=0&&t.splice(n,1),n}function U(t,e){function n(t,e){var n,r=e.$$hashKey;if(Jr(t))for(var o=0,u=t.length;o2?q(arguments,2):[];return!S(e)||e instanceof RegExp?e:n.length?function(){return arguments.length?e.apply(t,L(n,arguments,0)):e.apply(t,n)}:function(){return arguments.length?e.apply(t,arguments):e.call(t)}}function H(e,n){var r=n;return"string"==typeof e&&"$"===e.charAt(0)&&"$"===e.charAt(1)?r=void 0:E(n)?r="$WINDOW":n&&t.document===n?r="$DOCUMENT":A(n)&&(r="$SCOPE"),r}function z(t,e){if(!g(t))return x(e)||(e=e?2:null),JSON.stringify(t,H,e)}function W(t){return w(t)?JSON.parse(t):t}function G(t,e){t=t.replace(ei,"");var n=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(n)?e:n}function Z(t,e){return t=new Date(t.getTime()),t.setMinutes(t.getMinutes()+e),t}function J(t,e,n){n=n?-1:1;var r=t.getTimezoneOffset(),i=G(e,r);return Z(t,n*(i-r))}function K(t){t=Pr(t).clone();try{t.empty()}catch(e){}var n=Pr("
").append(t).html();try{return t[0].nodeType===ai?Ir(n):n.match(/^(<[^>]+>)/)[1].replace(/^<([\w\-]+)/,function(t,e){return"<"+Ir(e)})}catch(e){return Ir(n)}}function Y(t){try{return decodeURIComponent(t)}catch(e){}}function X(t){var e={};return r((t||"").split("&"),function(t){var n,r,i;t&&(r=t=t.replace(/\+/g,"%20"),n=t.indexOf("="),n!==-1&&(r=t.substring(0,n),i=t.substring(n+1)),r=Y(r),m(r)&&(i=!m(i)||Y(i),Tr.call(e,r)?Jr(e[r])?e[r].push(i):e[r]=[e[r],i]:e[r]=i))}),e}function Q(t){var e=[];return r(t,function(t,n){Jr(t)?r(t,function(t){e.push(et(n,!0)+(t===!0?"":"="+et(t,!0)))}):e.push(et(n,!0)+(t===!0?"":"="+et(t,!0)))}),e.length?e.join("&"):""}function tt(t){return et(t,!0).replace(/%26/gi,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+")}function et(t,e){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%20/g,e?"%20":"+")}function nt(t,e){var n,r,i=ni.length;for(r=0;r/,">"))}n=n||[],n.unshift(["$provide",function(t){t.value("$rootElement",e)}]),i.debugInfoEnabled&&n.push(["$compileProvider",function(t){t.debugInfoEnabled(!0)}]),n.unshift("ng");var o=re(n,i.strictDi);return o.invoke(["$rootScope","$rootElement","$compile","$injector",function(t,e,n,r){t.$apply(function(){e.data("$injector",r),n(e)(t)})}]),o},a=/^NG_ENABLE_DEBUG_INFO!/,s=/^NG_DEFER_BOOTSTRAP!/;return t&&a.test(t.name)&&(i.debugInfoEnabled=!0,t.name=t.name.replace(a,"")),t&&!s.test(t.name)?u():(t.name=t.name.replace(s,""),Gr.resumeBootstrap=function(t){return r(t,function(t){n.push(t)}),u()},void(S(Gr.resumeDeferredBootstrap)&&Gr.resumeDeferredBootstrap()))}function ot(){t.name="NG_ENABLE_DEBUG_INFO!"+t.name,t.location.reload()}function ut(t){var e=Gr.element(t).injector();if(!e)throw Wr("test","no injector found for element argument to getTestability");return e.get("$$testability")}function at(t,e){return e=e||"_",t.replace(ri,function(t,n){return(n?e:"")+t.toLowerCase()})}function st(){var e;if(!ii){var n=ti();Ur=g(n)?t.jQuery:n?t[n]:void 0,Ur&&Ur.fn.on?(Pr=Ur,c(Ur.fn,{scope:Ei.scope,isolateScope:Ei.isolateScope,controller:Ei.controller,injector:Ei.injector,inheritedData:Ei.inheritedData}),e=Ur.cleanData,Ur.cleanData=function(t){for(var n,r,i=0;null!=(r=t[i]);i++)n=Ur._data(r,"events"),n&&n.$destroy&&Ur(r).triggerHandler("$destroy");e(t)}):Pr=Ot,Gr.element=Pr,ii=!0}}function ct(t,e,n){if(!t)throw Wr("areq","Argument '{0}' is {1}",e||"?",n||"required");return t}function lt(t,e,n){return n&&Jr(t)&&(t=t[t.length-1]),ct(S(t),e,"not a function, got "+(t&&"object"==typeof t?t.constructor.name||"Object":typeof t)),t}function ft(t,e){if("hasOwnProperty"===t)throw Wr("badname","hasOwnProperty is not a valid {0} name",e)}function ht(t,e,n){if(!e)return t;for(var r,i=e.split("."),o=t,u=i.length,a=0;a=0)return"...";e.push(n)}return n})}function mt(t){return"function"==typeof t?t.toString().replace(/ \{[\s\S]*$/,""):g(t)?"undefined":"string"!=typeof t?gt(t):t}function yt(n){c(n,{bootstrap:it,copy:U,extend:c,merge:l,equals:F,element:Pr,forEach:r,injector:re,noop:p,bind:B,toJson:z,fromJson:W,identity:d,isUndefined:g,isDefined:m,isString:w,isFunction:S,isObject:y,isNumber:x,isElement:V,isArray:Jr,version:fi,isDate:_,lowercase:Ir,uppercase:Nr,callbacks:{$$counter:0},getTestability:ut,$$minErr:e,$$csp:Qr,reloadWithDebugInfo:ot}),(Fr=vt(t))("ng",["ngLocale"],["$provide",function(t){t.provider({$$sanitizeUri:Cn}),t.provider("$compile",de).directive({a:Vo,input:tu,textarea:tu,form:Fo,script:Ju,select:Xu,style:ta,option:Qu,ngBind:ru,ngBindHtml:ou,ngBindTemplate:iu,ngClass:au,ngClassEven:cu,ngClassOdd:su,ngCloak:lu,ngController:fu,ngForm:Lo,ngHide:qu,ngIf:du,ngInclude:vu,ngInit:gu,ngNonBindable:Iu,ngPluralize:Du,ngRepeat:Pu,ngShow:Lu,ngStyle:Bu,ngSwitch:Hu,ngSwitchWhen:zu,ngSwitchDefault:Wu,ngOptions:Ru,ngTransclude:Zu,ngModel:ju,ngList:mu,ngChange:uu,pattern:na,ngPattern:na,required:ea,ngRequired:ea,minlength:ia,ngMinlength:ia,maxlength:ra,ngMaxlength:ra,ngValue:nu,ngModelOptions:Tu}).directive({ngInclude:$u}).directive(Ro).directive(hu),t.provider({$anchorScroll:ie,$animate:qi,$animateCss:zi,$$animateJs:Fi,$$animateQueue:Li,$$AnimateRunner:Hi,$$animateAsyncRun:Bi,$browser:le,$cacheFactory:fe,$controller:be,$document:we,$exceptionHandler:xe,$filter:Un,$$forceReflow:Yi,$interpolate:Re,$interval:De,$http:Te,$httpParamSerializer:Se,$httpParamSerializerJQLike:Ce,$httpBackend:Ne,$xhrFactory:Ie,$jsonpCallbacks:uo,$location:Xe,$log:Qe,$parse:yn,$rootScope:Sn,$q:bn,$$q:wn,$sce:On,$sceDelegate:kn,$sniffer:jn,$templateCache:he,$templateRequest:Mn,$$testability:Tn,$timeout:In,$window:Rn,$$rAF:_n,$$jqLite:Kt,$$HashMap:ji,$$cookieReader:Pn})}])}function bt(){return++pi}function wt(t){return t.replace($i,function(t,e,n,r){return r?n.toUpperCase():n}).replace(gi,"Moz$1")}function xt(t){return!wi.test(t)}function _t(t){var e=t.nodeType;return e===oi||!e||e===ci}function St(t){for(var e in hi[t.ng339])return!0;return!1}function Ct(t){for(var e=0,n=t.length;e")+o[2],u=o[0];u--;)n=n.lastChild;s=L(s,n.childNodes),n=a.firstChild,n.textContent=""}return a.textContent="",a.innerHTML="",r(s,function(t){a.appendChild(t)}),a}function At(e,n){n=n||t.document;var r;return(r=bi.exec(e))?[n.createElement(r[1])]:(r=Et(e,n))?r.childNodes:[]}function kt(t,e){var n=t.parentNode;n&&n.replaceChild(e,t),e.appendChild(t)}function Ot(t){if(t instanceof Ot)return t;var e;if(w(t)&&(t=Yr(t),e=!0),!(this instanceof Ot)){if(e&&"<"!=t.charAt(0))throw yi("nosel","Looking up elements via selectors is not supported by jqLite! See: http://docs.angularjs.org/api/angular.element");return new Ot(t)}e?Ut(this,At(t)):Ut(this,t)}function jt(t){return t.cloneNode(!0)}function Mt(t,e){if(e||It(t),t.querySelectorAll)for(var n=t.querySelectorAll("*"),r=0,i=n.length;r0||(vi(t,e,a),delete u[e])};r(e.split(" "),function(t){s(t),mi[t]&&s(mi[t])})}else for(e in u)"$destroy"!==e&&vi(t,e,a),delete u[e]}function It(t,e){var n=t.ng339,r=n&&hi[n];if(r){if(e)return void delete r.data[e];r.handle&&(r.events.$destroy&&r.handle({},"$destroy"),Tt(t)),delete hi[n],t.ng339=void 0}}function Nt(t,e){var n=t.ng339,r=n&&hi[n];return e&&!r&&(t.ng339=n=bt(),r=hi[n]={events:{},data:{},handle:void 0}),r}function Vt(t,e,n){if(_t(t)){var r=m(n),i=!r&&e&&!y(e),o=!e,u=Nt(t,!i),a=u&&u.data;if(r)a[e]=n;else{if(o)return a;if(i)return a&&a[e];c(a,e)}}}function Rt(t,e){return!!t.getAttribute&&(" "+(t.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").indexOf(" "+e+" ")>-1}function Dt(t,e){e&&t.setAttribute&&r(e.split(" "),function(e){t.setAttribute("class",Yr((" "+(t.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").replace(" "+Yr(e)+" "," ")))})}function Pt(t,e){if(e&&t.setAttribute){var n=(" "+(t.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ");r(e.split(" "),function(t){t=Yr(t),n.indexOf(" "+t+" ")===-1&&(n+=t+" ")}),t.setAttribute("class",Yr(n))}}function Ut(t,e){if(e)if(e.nodeType)t[t.length++]=e;else{var n=e.length;if("number"==typeof n&&e.window!==e){if(n)for(var r=0;r1&&(i=$t(i));for(var s=0;sl&&this.remove(p.key),e}},get:function(t){if(l";var r=wt.firstChild.attributes,i=r[0];r.removeNamedItem(i.name),i.value=n,t.attributes.setNamedItem(i)}function R(t,e){try{t.addClass(e)}catch(n){}}function U(e,n,r,i,o){e instanceof Pr||(e=Pr(e));for(var u=/\S+/,a=0,s=e.length;a").append(e).html())):n?Ei.clone.call(e):e,u)for(var c in u)s.data("$"+c+"Controller",u[c].instance);return U.$$addScopeInfo(s,t),n&&n(s,t),l&&l(t,s,s,i),s}}function L(t){var e=t&&t[0];return e&&"foreignobject"!==D(e)&&Hr.call(e).match(/SVG/)?"svg":"html"}function H(t,e,n,r,i,o){function u(t,n,r,i){var o,u,a,s,c,l,f,h,v;if(p){var $=n.length;for(v=new Array($),c=0;c0)}else r.push(t);return Pr(r)}function J(t,e,n){return function(r,i,o,u,a){return i=Z(i[0],e,n),t(r,i,o,u,a)}}function Y(t,e,n,r,i,o){var u;return t?U(e,n,r,i,o):function(){return u||(u=U(e,n,r,i,o),e=n=o=null),u.apply(this,arguments)}}function X(t,e,n,o,u,a,s,l,f){function h(t,e,n,r){t&&(n&&(t=J(t,n,r)),t.require=d.require,t.directiveName=v,(C===d||d.$$isolateScope)&&(t=$t(t,{isolateScope:!0})),s.push(t)),e&&(n&&(e=J(e,n,r)),e.require=d.require,e.directiveName=v,(C===d||d.$$isolateScope)&&(e=$t(e,{isolateScope:!0})),l.push(e))}function p(t,o,u,a,f){function h(t,e,n,r){var i;if(A(t)||(r=n,n=e,e=t,t=void 0),M&&(i=b),n||(n=M?k.parent():k),!r)return f(t,e,i,n,P);var o=f.$$slots[r];if(o)return o(t,e,i,n,P);if(g(o))throw Wi("noslot",'No parent directive that requires a transclusion with slot name "{0}". Element: {1}',r,K(k))}var p,d,v,$,m,b,w,k,O,j;e===u?(O=n,k=n.$$element):(k=Pr(u),O=new N(k,n)),m=o,C?$=o.$new(!0):x&&(m=o.$parent),f&&(w=h,w.$$boundTransclude=f,w.isSlotFilled=function(t){return!!f.$$slots[t]}),_&&(b=tt(k,O,w,_,$,o,C)),C&&(U.$$addScopeInfo(k,$,!0,!(E&&(E===C||E===C.$$originalDirective))),U.$$addScopeClass(k,!0),$.$$isolateBindings=C.$$isolateBindings,j=mt(o,O,$,$.$$isolateBindings,C),j.removeWatches&&$.$on("$destroy",j.removeWatches));for(var T in b){var I=_[T],V=b[T],R=I.$$bindings.bindToController;V.identifier&&R?V.bindingInfo=mt(m,O,V.instance,R,I):V.bindingInfo={};var D=V();D!==V.instance&&(V.instance=D,k.data("$"+I.name+"Controller",D),V.bindingInfo.removeWatches&&V.bindingInfo.removeWatches(),V.bindingInfo=mt(m,O,V.instance,R,I))}for(r(_,function(t,e){var n=t.require;t.bindToController&&!Jr(n)&&y(n)&&c(b[e].instance,Q(e,n,k,b))}),r(b,function(t){var e=t.instance;if(S(e.$onChanges))try{e.$onChanges(t.bindingInfo.initialChanges)}catch(n){i(n)}if(S(e.$onInit))try{e.$onInit()}catch(n){i(n)}S(e.$doCheck)&&(m.$watch(function(){e.$doCheck()}),e.$doCheck()),S(e.$onDestroy)&&m.$on("$destroy",function(){e.$onDestroy()})}),p=0,d=s.length;p=0;p--)v=l[p],gt(v,v.isolateScope?$:o,k,O,v.require&&Q(v.directiveName,v.require,k,b),w);r(b,function(t){var e=t.instance;S(e.$postLink)&&e.$postLink()})}f=f||{};for(var d,v,$,m,b,w=-Number.MAX_VALUE,x=f.newScopeDirective,_=f.controllerDirectives,C=f.newIsolateScopeDirective,E=f.templateDirective,k=f.nonTlbTranscludeDirective,O=!1,j=!1,M=f.hasElementTranscludeDirective,T=n.$$element=Pr(e),I=a,V=o,R=!1,P=!1,F=0,L=t.length;Fd.priority)break;if((b=d.scope)&&(d.templateUrl||(y(b)?(st("new/isolated scope",C||x,d,T),C=d):st("new/isolated scope",C,d,T)),x=x||d),v=d.name,!R&&(d.replace&&(d.templateUrl||d.template)||d.transclude&&!d.$$tlb)){for(var G,X=F+1;G=t[X++];)if(G.transclude&&!G.$$tlb||G.replace&&(G.templateUrl||G.template)){P=!0;break}R=!0}if(!d.templateUrl&&d.controller&&(b=d.controller,_=_||dt(),st("'"+v+"' controller",_[v],d,T),_[v]=d),b=d.transclude)if(O=!0,d.$$tlb||(st("transclusion",k,d,T),k=d),"element"==b)M=!0,w=d.priority,$=T,T=n.$$element=Pr(U.$$createComment(v,n[v])),e=T[0],vt(u,q($),e),$[0].$$parentNode=$[0].parentNode,V=Y(P,$,o,w,I&&I.name,{nonTlbTranscludeDirective:k});else{var nt=dt();if($=Pr(jt(e)).contents(),y(b)){$=[];var rt=dt(),ut=dt();r(b,function(t,e){var n="?"===t.charAt(0);t=n?t.substring(1):t,rt[t]=e,nt[e]=null,ut[e]=n}),r(T.contents(),function(t){var e=rt[$e(D(t))];e?(ut[e]=!0,nt[e]=nt[e]||[],nt[e].push(t)):$.push(t)}),r(ut,function(t,e){if(!t)throw Wi("reqslot","Required transclusion slot `{0}` was not filled.",e)});for(var at in nt)nt[at]&&(nt[at]=Y(P,nt[at],o))}T.empty(),V=Y(P,$,o,void 0,void 0,{needsNewScope:d.$$isolateScope||d.$$newScope}),V.$$slots=nt}if(d.template)if(j=!0,st("template",E,d,T),E=d,b=S(d.template)?d.template(T,n):d.template,b=Et(b),d.replace){if(I=d,$=xt(b)?[]:me(ft(d.templateNamespace,Yr(b))),e=$[0],1!=$.length||e.nodeType!==oi)throw Wi("tplrt","Template for directive '{0}' must have exactly one root element. {1}",v,"");vt(u,T,e);var ct={$attr:{}},lt=W(e,[],ct),ht=t.splice(F+1,t.length-(F+1));(C||x)&&et(lt,C,x),t=t.concat(lt).concat(ht),it(n,ct),L=t.length}else T.html(b);if(d.templateUrl)j=!0,st("template",E,d,T),E=d,d.replace&&(I=d),p=ot(t.splice(F,t.length-F),T,n,u,O&&V,s,l,{controllerDirectives:_,newScopeDirective:x!==d&&x,newIsolateScopeDirective:C,templateDirective:E,nonTlbTranscludeDirective:k}),L=t.length;else if(d.compile)try{m=d.compile(T,n,V);var pt=d.$$originalDirective||d;S(m)?h(null,B(pt,m),H,z):m&&h(B(pt,m.pre),B(pt,m.post),H,z)}catch(yt){i(yt,K(T))}d.terminal&&(p.terminal=!0,w=Math.max(w,d.priority))}return p.scope=x&&x.scope===!0,p.transcludeOnThisElement=O,p.templateOnThisElement=j,p.transclude=V,f.hasElementTranscludeDirective=M,p}function Q(t,e,n,i){var o;if(w(e)){var u=e.match(_),a=e.substring(u[0].length),s=u[1]||u[3],c="?"===u[2];if("^^"===s?n=n.parent():(o=i&&i[a],o=o&&o.instance),!o){var l="$"+a+"Controller";o=s?n.inheritedData(l):n.data(l)}if(!o&&!c)throw Wi("ctreq","Controller '{0}', required by directive '{1}', can't be found!",a,t)}else if(Jr(e)){o=[];for(var f=0,h=e.length;fd.priority)&&d.restrict.indexOf(r)!=-1){if(s&&(d=h(d,{$$start:s,$$end:c})),!d.$$bindings){var b=d.$$bindings=u(d,d.name);y(b.isolateScope)&&(d.$$isolateBindings=b.isolateScope)}t.push(d),p=d}}catch(w){i(w)}return p}function rt(t){if(l.hasOwnProperty(t))for(var n,r=e.get(t+f),i=0,o=r.length;i"+n+"",r.childNodes[0].childNodes;default:return n}}function ht(t,e){if("srcdoc"==e)return E.HTML;var n=D(t);return"xlinkHref"==e||"form"==n&&"action"==e||"img"!=n&&("src"==e||"ngSrc"==e)?E.RESOURCE_URL:void 0}function pt(t,e,r,i,o){var u=ht(t,i);o=x[i]||o;var a=n(r,!0,u,o);if(a){if("multiple"===i&&"select"===D(t))throw Wi("selmulti","Binding to the 'multiple' attribute is not supported. Element: {0}",K(t));e.push({priority:100,compile:function(){return{pre:function(t,e,s){var c=s.$$observers||(s.$$observers=dt());if(C.test(i))throw Wi("nodomevents","Interpolations for HTML DOM event attributes are disallowed. Please use the ng- versions (such as ng-click instead of onclick) instead.");var l=s[i];l!==r&&(a=l&&n(l,!0,u,o),r=l),a&&(s[i]=a(t),(c[i]||(c[i]=[])).$$inter=!0,(s.$$observers&&s.$$observers[i].$$scope||t).$watch(a,function(t,e){"class"===i&&t!=e?s.$updateClass(t,e):s.$set(i,t)}))}}}})}}function vt(e,n,r){var i,o,u=n[0],a=n.length,s=u.parentNode;if(e)for(i=0,o=e.length;i0&&j.addClass(this.$$element,t)},$removeClass:function(t){t&&t.length>0&&j.removeClass(this.$$element,t)},$updateClass:function(t,e){var n=ge(t,e);n&&n.length&&j.addClass(this.$$element,n);var r=ge(e,t);r&&r.length&&j.removeClass(this.$$element,r)},$set:function(t,e,n,o){var u,a=this.$$element[0],s=zt(a,t),c=Wt(t),l=t;if(s?(this.$$element.prop(t,e),o=s):c&&(this[c]=e,l=c),this[t]=e,o?this.$attr[t]=o:(o=this.$attr[t],o||(this.$attr[t]=o=at(t,"-"))),u=D(this.$$element),"a"===u&&("href"===t||"xlinkHref"===t)||"img"===u&&"src"===t)this[t]=e=T(e,"src"===t);else if("img"===u&&"srcset"===t&&m(e)){for(var f="",h=Yr(e),p=/(\s+\d+x\s*,|\s+\d+w\s*,|\s+,|,\s+)/,d=/\s/.test(h)?p:/(,)/,v=h.split(d),$=Math.floor(v.length/2),y=0;y<$;y++){var b=2*y;f+=T(Yr(v[b]),!0),f+=" "+Yr(v[b+1])}var w=Yr(v[2*y]).split(/\s/);f+=T(Yr(w[0]),!0),2===w.length&&(f+=" "+Yr(w[1])),this[t]=e=f}n!==!1&&(null===e||g(e)?this.$$element.removeAttr(o):bt.test(o)?this.$$element.attr(o,e):V(this.$$element[0],o,e));var x=this.$$observers;x&&r(x[l],function(t){try{t(e)}catch(n){i(n)}})},$observe:function(t,e){var n=this,r=n.$$observers||(n.$$observers=dt()),i=r[t]||(r[t]=[]);return i.push(e),v.$evalAsync(function(){i.$$inter||!n.hasOwnProperty(t)||g(n[t])||e(n[t])}),function(){P(i,e)}}};var St=n.startSymbol(),Ct=n.endSymbol(),Et="{{"==St&&"}}"==Ct?d:function(t){return t.replace(/\{\{/g,St).replace(/}}/g,Ct)},At=/^ngAttr[A-Z]/,Ot=/^(.+)Start$/;return U.$$addBindingInfo=k?function(t,e){var n=t.data("$binding")||[];Jr(e)?n=n.concat(e):n.push(e),t.data("$binding",n)}:p,U.$$addBindingClass=k?function(t){R(t,"ng-binding")}:p,U.$$addScopeInfo=k?function(t,e,n,r){var i=n?r?"$isolateScopeNoTemplate":"$isolateScope":"$scope";t.data(i,e)}:p,U.$$addScopeClass=k?function(t,e){R(t,e?"ng-isolate-scope":"ng-scope")}:p,U.$$createComment=function(e,n){var r="";return k&&(r=" "+(e||"")+": ",n&&(r+=n+" ")),t.document.createComment(r)},U}]}function ve(t,e){this.previousValue=t,this.currentValue=e}function $e(t){return wt(t.replace(Zi,""))}function ge(t,e){var n="",r=t.split(/\s+/),i=e.split(/\s+/);t:for(var o=0;o0?" ":"")+u}return n}function me(t){t=Pr(t);var e=t.length;if(e<=1)return t;for(;e--;){var n=t[e];n.nodeType===si&&qr.call(t,e,1)}return t}function ye(t,e){if(e&&w(e))return e;if(w(t)){var n=Ki.exec(t);if(n)return n[3]}}function be(){var t={},n=!1;this.has=function(e){return t.hasOwnProperty(e)},this.register=function(e,n){ft(e,"controller"),y(e)?c(t,e):t[e]=n},this.allowGlobals=function(){n=!0},this.$get=["$injector","$window",function(r,i){function o(t,n,r,i){if(!t||!y(t.$scope))throw e("$controller")("noscp","Cannot export controller '{0}' as '{1}'! No $scope object provided via `locals`.",i,n);t.$scope[n]=r}return function(e,u,a,s){var l,f,h,p;if(a=a===!0,s&&w(s)&&(p=s),w(e)){if(f=e.match(Ki),!f)throw Ji("ctrlfmt","Badly formed controller string '{0}'. Must match `__name__ as __id__` or `__name__`.",e);h=f[1],p=p||f[3],e=t.hasOwnProperty(h)?t[h]:ht(u.$scope,h,!0)||(n?ht(i,h,!0):void 0),lt(e,h,!0)}if(a){var d=(Jr(e)?e[e.length-1]:e).prototype;l=Object.create(d||null),p&&o(u,p,l,h||e.name);var v;return v=c(function(){var t=r.invoke(e,l,u,h);return t!==l&&(y(t)||S(t))&&(l=t,p&&o(u,p,l,h||e.name)),l},{instance:l,identifier:p})}return l=r.instantiate(e,u,h),p&&o(u,p,l,h||e.name),l}}]}function we(){this.$get=["$window",function(t){return Pr(t.document)}]}function xe(){this.$get=["$log",function(t){return function(e,n){t.error.apply(t,arguments)}}]}function _e(t){return y(t)?_(t)?t.toISOString():z(t):t}function Se(){this.$get=function(){return function(t){if(!t)return"";var e=[];return i(t,function(t,n){null===t||g(t)||(Jr(t)?r(t,function(t){e.push(et(n)+"="+et(_e(t)))}):e.push(et(n)+"="+et(_e(t))))}),e.join("&")}}}function Ce(){this.$get=function(){return function(t){function e(t,o,u){null===t||g(t)||(Jr(t)?r(t,function(t,n){e(t,o+"["+(y(t)?n:"")+"]")}):y(t)&&!_(t)?i(t,function(t,n){e(t,o+(u?"":"[")+n+(u?"":"]"))}):n.push(et(o)+"="+et(_e(t))))}if(!t)return"";var n=[];return e(t,"",!0),n.join("&")}}}function Ee(t,e){if(w(t)){var n=t.replace(no,"").trim();if(n){var r=e("Content-Type");(r&&0===r.indexOf(Xi)||Ae(n))&&(t=W(n))}}return t}function Ae(t){var e=t.match(to);return e&&eo[e[0]].test(t)}function ke(t){function e(t,e){t&&(i[t]=i[t]?i[t]+", "+e:e)}var n,i=dt();return w(t)?r(t.split("\n"),function(t){n=t.indexOf(":"),e(Ir(Yr(t.substr(0,n))),Yr(t.substr(n+1)))}):y(t)&&r(t,function(t,n){e(Ir(n),Yr(t))}),i}function Oe(t){var e;return function(n){if(e||(e=ke(t)),n){var r=e[Ir(n)];return void 0===r&&(r=null),r}return e}}function je(t,e,n,i){return S(i)?i(t,e,n):(r(i,function(r){t=r(t,e,n)}),t)}function Me(t){return 200<=t&&t<300}function Te(){var t=this.defaults={transformResponse:[Ee],transformRequest:[function(t){return!y(t)||k(t)||j(t)||O(t)?t:z(t)}],headers:{common:{Accept:"application/json, text/plain, */*"},post:$t(Qi),put:$t(Qi),patch:$t(Qi)},xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",paramSerializer:"$httpParamSerializer"},n=!1;this.useApplyAsync=function(t){return m(t)?(n=!!t,this):n};var i=!0;this.useLegacyPromiseExtensions=function(t){return m(t)?(i=!!t,this):i};var o=this.interceptors=[];this.$get=["$httpBackend","$$cookieReader","$cacheFactory","$rootScope","$q","$injector",function(u,a,s,l,f,h){function p(n){function o(t,e){for(var n=0,r=e.length;n=-1?n:0,(Me(n)?w.resolve:w.reject)({data:t,status:n,headers:Oe(r),config:e,statusText:i})}function h(t){c(t.data,t.status,$t(t.headers()),t.statusText)}function d(){var t=p.pendingRequests.indexOf(e);t!==-1&&p.pendingRequests.splice(t,1)}var v,$,w=f.defer(),_=w.promise,S=e.headers,C=b(e.url,e.paramSerializer(e.params));if(p.pendingRequests.push(e),_.then(d,d),!e.cache&&!t.cache||e.cache===!1||"GET"!==e.method&&"JSONP"!==e.method||(v=y(e.cache)?e.cache:y(t.cache)?t.cache:x),v&&($=v.get(C),m($)?T($)?$.then(h,h):Jr($)?c($[1],$[0],$t($[2]),$[3]):c($,200,{},"OK"):v.put(C,_)),g($)){var E=Vn(e.url)?a()[e.xsrfCookieName||t.xsrfCookieName]:void 0;E&&(S[e.xsrfHeaderName||t.xsrfHeaderName]=E),u(e.method,C,i,s,S,e.timeout,e.withCredentials,e.responseType,o(e.eventHandlers),o(e.uploadEventHandlers))}return _}function b(t,e){return e.length>0&&(t+=(t.indexOf("?")==-1?"?":"&")+e),t}var x=s("$http");t.paramSerializer=w(t.paramSerializer)?h.get(t.paramSerializer):t.paramSerializer;var _=[];return r(o,function(t){_.unshift(w(t)?h.get(t):h.invoke(t))}),p.pendingRequests=[],d("get","delete","head","jsonp"),v("post","put","patch"),p.defaults=t,p}]}function Ie(){this.$get=function(){return function(){return new t.XMLHttpRequest}}}function Ne(){this.$get=["$browser","$jsonpCallbacks","$document","$xhrFactory",function(t,e,n,r){return Ve(t,r,t.defer,e,n[0])}]}function Ve(t,e,n,i,o){function u(t,e,n){t=t.replace("JSON_CALLBACK",e);var r=o.createElement("script"),u=null;return r.type="text/javascript",r.src=t,r.async=!0,u=function(t){vi(r,"load",u),vi(r,"error",u),o.body.removeChild(r),r=null;var a=-1,s="unknown";t&&("load"!==t.type||i.wasCalled(e)||(t={type:"error"}),s=t.type,a="error"===t.type?404:200),n&&n(a,s)},di(r,"load",u),di(r,"error",u),o.body.appendChild(r),u}return function(o,a,s,c,l,f,h,d,v,$){function y(){x&&x(),_&&_.abort()}function b(e,r,i,o,u){m(E)&&n.cancel(E),x=_=null,e(r,i,o,u),t.$$completeOutstandingRequest(p)}if(t.$$incOutstandingRequestCount(),a=a||t.url(),"jsonp"===Ir(o))var w=i.createCallback(a),x=u(a,w,function(t,e){var n=200===t&&i.getResponse(w);b(c,t,n,"",e),i.removeCallback(w)});else{var _=e(o,a);_.open(o,a,!0),r(l,function(t,e){m(t)&&_.setRequestHeader(e,t)}),_.onload=function(){var t=_.statusText||"",e="response"in _?_.response:_.responseText,n=1223===_.status?204:_.status;0===n&&(n=e?200:"file"==Nn(a).protocol?404:0),b(c,n,e,_.getAllResponseHeaders(),t)};var S=function(){b(c,-1,null,null,"")};if(_.onerror=S,_.onabort=S,r(v,function(t,e){_.addEventListener(e,t)}),r($,function(t,e){_.upload.addEventListener(e,t)}),h&&(_.withCredentials=!0),d)try{_.responseType=d}catch(C){if("json"!==d)throw C}_.send(g(s)?null:s)}if(f>0)var E=n(y,f);else T(f)&&f.then(y)}}function Re(){var t="{{",e="}}";this.startSymbol=function(e){return e?(t=e,this):t},this.endSymbol=function(t){return t?(e=t,this):e},this.$get=["$parse","$exceptionHandler","$sce",function(n,r,i){function o(t){return"\\\\\\"+t}function u(n){return n.replace(p,t).replace(d,e)}function a(t){if(null==t)return"";switch(typeof t){case"string":break;case"number":t=""+t;break;default:t=z(t)}return t}function s(t,e,n,r){var i;return i=t.$watch(function(t){return i(),r(t)},e,n)}function l(o,l,p,d){function $(t){try{return t=T(t),d&&!m(t)?t:a(t)}catch(e){r(oo.interr(o,e))}}if(!o.length||o.indexOf(t)===-1){var y;if(!l){var b=u(o);y=v(b),y.exp=o,y.expressions=[],y.$$watchDelegate=s}return y}d=!!d;for(var w,x,_,C=0,E=[],A=[],k=o.length,O=[],j=[];C1&&oo.throwNoconcat(o),!l||E.length){var M=function(t){for(var e=0,n=E.length;e4,h=f?q(arguments,4):[],p=e.setInterval,d=e.clearInterval,v=0,$=m(c)&&!c,g=($?r:n).defer(),y=g.promise;return s=m(s)?s:0,y.$$intervalId=p(function(){$?i.defer(l):t.$evalAsync(l),g.notify(v++),s>0&&v>=s&&(g.resolve(v),d(y.$$intervalId),delete u[y.$$intervalId]),$||t.$apply()},a),u[y.$$intervalId]=g,y}var u={};return o.cancel=function(t){return!!(t&&t.$$intervalId in u)&&(u[t.$$intervalId].reject("canceled"),e.clearInterval(t.$$intervalId),delete u[t.$$intervalId],!0)},o}]}function Pe(t){for(var e=t.split("/"),n=e.length;n--;)e[n]=tt(e[n]);return e.join("/")}function Ue(t,e){var n=Nn(t);e.$$protocol=n.protocol,e.$$host=n.hostname,e.$$port=f(n.port)||so[n.protocol]||null}function Fe(t,e){var n="/"!==t.charAt(0);n&&(t="/"+t);var r=Nn(t);e.$$path=decodeURIComponent(n&&"/"===r.pathname.charAt(0)?r.pathname.substring(1):r.pathname),e.$$search=X(r.search),e.$$hash=decodeURIComponent(r.hash),e.$$path&&"/"!=e.$$path.charAt(0)&&(e.$$path="/"+e.$$path)}function Le(t,e){return 0===t.lastIndexOf(e,0)}function qe(t,e){if(Le(e,t))return e.substr(t.length)}function Be(t){var e=t.indexOf("#");return e==-1?t:t.substr(0,e)}function He(t){return t.replace(/(#.+)|#$/,"$1")}function ze(t){return t.substr(0,Be(t).lastIndexOf("/")+1)}function We(t){return t.substring(0,t.indexOf("/",t.indexOf("//")+2))}function Ge(t,e,n){this.$$html5=!0,n=n||"",Ue(t,this),this.$$parse=function(t){var n=qe(e,t);if(!w(n))throw co("ipthprfx",'Invalid url "{0}", missing path prefix "{1}".',t,e);Fe(n,this),this.$$path||(this.$$path="/"),this.$$compose()},this.$$compose=function(){var t=Q(this.$$search),n=this.$$hash?"#"+tt(this.$$hash):"";this.$$url=Pe(this.$$path)+(t?"?"+t:"")+n,this.$$absUrl=e+this.$$url.substr(1)},this.$$parseLinkUrl=function(r,i){if(i&&"#"===i[0])return this.hash(i.slice(1)),!0;var o,u,a;return m(o=qe(t,r))?(u=o,a=m(o=qe(n,o))?e+(qe("/",o)||o):t+u):m(o=qe(e,r))?a=e+o:e==r+"/"&&(a=e),a&&this.$$parse(a),!!a}}function Ze(t,e,n){Ue(t,this),this.$$parse=function(r){function i(t,e,n){var r,i=/^\/[A-Z]:(\/.*)/;return Le(e,n)&&(e=e.replace(n,"")),i.exec(e)?t:(r=i.exec(t),r?r[1]:t)}var o,u=qe(t,r)||qe(e,r);g(u)||"#"!==u.charAt(0)?this.$$html5?o=u:(o="",g(u)&&(t=r,this.replace())):(o=qe(n,u),g(o)&&(o=u)),Fe(o,this),this.$$path=i(this.$$path,o,t),this.$$compose()},this.$$compose=function(){var e=Q(this.$$search),r=this.$$hash?"#"+tt(this.$$hash):"";this.$$url=Pe(this.$$path)+(e?"?"+e:"")+r,this.$$absUrl=t+(this.$$url?n+this.$$url:"")},this.$$parseLinkUrl=function(e,n){return Be(t)==Be(e)&&(this.$$parse(e),!0)}}function Je(t,e,n){this.$$html5=!0,Ze.apply(this,arguments),this.$$parseLinkUrl=function(r,i){if(i&&"#"===i[0])return this.hash(i.slice(1)),!0;var o,u;return t==Be(r)?o=r:(u=qe(e,r))?o=t+n+u:e===r+"/"&&(o=e),o&&this.$$parse(o),!!o},this.$$compose=function(){var e=Q(this.$$search),r=this.$$hash?"#"+tt(this.$$hash):"";this.$$url=Pe(this.$$path)+(e?"?"+e:"")+r,this.$$absUrl=t+n+this.$$url}}function Ke(t){return function(){return this[t]}}function Ye(t,e){return function(n){return g(n)?this[t]:(this[t]=e(n),this.$$compose(),this)}}function Xe(){var t="",e={enabled:!1,requireBase:!0,rewriteLinks:!0};this.hashPrefix=function(e){return m(e)?(t=e,this):t},this.html5Mode=function(t){return M(t)?(e.enabled=t,this):y(t)?(M(t.enabled)&&(e.enabled=t.enabled),M(t.requireBase)&&(e.requireBase=t.requireBase),M(t.rewriteLinks)&&(e.rewriteLinks=t.rewriteLinks),this):e},this.$get=["$rootScope","$browser","$sniffer","$rootElement","$window",function(n,r,i,o,u){function a(t,e,n){var i=c.url(),o=c.$$state;try{r.url(t,e,n),c.$$state=r.state()}catch(u){throw c.url(i),c.$$state=o,u}}function s(t,e){n.$broadcast("$locationChangeSuccess",c.absUrl(),t,c.$$state,e)}var c,l,f,h=r.baseHref(),p=r.url();if(e.enabled){if(!h&&e.requireBase)throw co("nobase","$location in HTML5 mode requires a tag to be present!");f=We(p)+(h||"/"),l=i.history?Ge:Je}else f=Be(p),l=Ze;var d=ze(f);c=new l(f,d,"#"+t),c.$$parseLinkUrl(p,p),c.$$state=r.state();var v=/^\s*(javascript|mailto):/i;o.on("click",function(t){if(e.rewriteLinks&&!t.ctrlKey&&!t.metaKey&&!t.shiftKey&&2!=t.which&&2!=t.button){for(var i=Pr(t.target);"a"!==D(i[0]);)if(i[0]===o[0]||!(i=i.parent())[0])return;var a=i.prop("href"),s=i.attr("href")||i.attr("xlink:href");y(a)&&"[object SVGAnimatedString]"===a.toString()&&(a=Nn(a.animVal).href),v.test(a)||!a||i.attr("target")||t.isDefaultPrevented()||c.$$parseLinkUrl(a,s)&&(t.preventDefault(),c.absUrl()!=r.url()&&(n.$apply(),u.angular["ff-684208-preventDefault"]=!0))}}),He(c.absUrl())!=He(p)&&r.url(c.absUrl(),!0);var $=!0;return r.onUrlChange(function(t,e){return g(qe(d,t))?void(u.location.href=t):(n.$evalAsync(function(){var r,i=c.absUrl(),o=c.$$state;t=He(t),c.$$parse(t),c.$$state=e,r=n.$broadcast("$locationChangeStart",t,i,e,o).defaultPrevented,c.absUrl()===t&&(r?(c.$$parse(i),c.$$state=o,a(i,!1,o)):($=!1,s(i,o)))}),void(n.$$phase||n.$digest()))}),n.$watch(function(){var t=He(r.url()),e=He(c.absUrl()),o=r.state(),u=c.$$replace,l=t!==e||c.$$html5&&i.history&&o!==c.$$state;($||l)&&($=!1,n.$evalAsync(function(){var e=c.absUrl(),r=n.$broadcast("$locationChangeStart",e,t,c.$$state,o).defaultPrevented;c.absUrl()===e&&(r?(c.$$parse(t),c.$$state=o):(l&&a(e,u,o===c.$$state?null:c.$$state),s(t,o)))})),c.$$replace=!1}),c}]}function Qe(){var t=!0,e=this;this.debugEnabled=function(e){return m(e)?(t=e,this):t},this.$get=["$window",function(n){function i(t){return t instanceof Error&&(t.stack?t=t.message&&t.stack.indexOf(t.message)===-1?"Error: "+t.message+"\n"+t.stack:t.stack:t.sourceURL&&(t=t.message+"\n"+t.sourceURL+":"+t.line)),t}function o(t){var e=n.console||{},o=e[t]||e.log||p,u=!1;try{u=!!o.apply}catch(a){}return u?function(){var t=[];return r(arguments,function(e){t.push(i(e))}),o.apply(e,t)}:function(t,e){o(t,null==e?"":e)}}return{log:o("log"),info:o("info"),warn:o("warn"),error:o("error"),debug:function(){var n=o("debug");return function(){t&&n.apply(e,arguments)}}()}}]}function tn(t,e){if("__defineGetter__"===t||"__defineSetter__"===t||"__lookupGetter__"===t||"__lookupSetter__"===t||"__proto__"===t)throw fo("isecfld","Attempting to access a disallowed field in Angular expressions! Expression: {0}",e);return t}function en(t){return t+""}function nn(t,e){if(t){if(t.constructor===t)throw fo("isecfn","Referencing Function in Angular expressions is disallowed! Expression: {0}",e);if(t.window===t)throw fo("isecwindow","Referencing the Window in Angular expressions is disallowed! Expression: {0}",e);if(t.children&&(t.nodeName||t.prop&&t.attr&&t.find))throw fo("isecdom","Referencing DOM nodes in Angular expressions is disallowed! Expression: {0}",e);if(t===Object)throw fo("isecobj","Referencing Object in Angular expressions is disallowed! Expression: {0}",e)}return t}function rn(t,e){if(t){if(t.constructor===t)throw fo("isecfn","Referencing Function in Angular expressions is disallowed! Expression: {0}",e);if(t===ho||t===po||t===vo)throw fo("isecff","Referencing call, apply or bind in Angular expressions is disallowed! Expression: {0}",e)}}function on(t,e){if(t&&(t===(0).constructor||t===(!1).constructor||t==="".constructor||t==={}.constructor||t===[].constructor||t===Function.constructor))throw fo("isecaf","Assigning to a constructor is disallowed! Expression: {0}",e)}function un(t,e){return"undefined"!=typeof t?t:e}function an(t,e){return"undefined"==typeof t?e:"undefined"==typeof e?t:t+e}function sn(t,e){var n=t(e);return!n.$stateful}function cn(t,e){var n,i;switch(t.type){case yo.Program:n=!0,r(t.body,function(t){cn(t.expression,e),n=n&&t.expression.constant}),t.constant=n;break;case yo.Literal:t.constant=!0,t.toWatch=[];break;case yo.UnaryExpression:cn(t.argument,e),t.constant=t.argument.constant,t.toWatch=t.argument.toWatch;break;case yo.BinaryExpression:cn(t.left,e),cn(t.right,e),t.constant=t.left.constant&&t.right.constant,t.toWatch=t.left.toWatch.concat(t.right.toWatch);break;case yo.LogicalExpression:cn(t.left,e),cn(t.right,e),t.constant=t.left.constant&&t.right.constant,t.toWatch=t.constant?[]:[t];break;case yo.ConditionalExpression:cn(t.test,e),cn(t.alternate,e),cn(t.consequent,e),t.constant=t.test.constant&&t.alternate.constant&&t.consequent.constant,t.toWatch=t.constant?[]:[t];break;case yo.Identifier:t.constant=!1,t.toWatch=[t];break;case yo.MemberExpression:cn(t.object,e),t.computed&&cn(t.property,e),t.constant=t.object.constant&&(!t.computed||t.property.constant),t.toWatch=[t];break;case yo.CallExpression: -n=!!t.filter&&sn(e,t.callee.name),i=[],r(t.arguments,function(t){cn(t,e),n=n&&t.constant,t.constant||i.push.apply(i,t.toWatch)}),t.constant=n,t.toWatch=t.filter&&sn(e,t.callee.name)?i:[t];break;case yo.AssignmentExpression:cn(t.left,e),cn(t.right,e),t.constant=t.left.constant&&t.right.constant,t.toWatch=[t];break;case yo.ArrayExpression:n=!0,i=[],r(t.elements,function(t){cn(t,e),n=n&&t.constant,t.constant||i.push.apply(i,t.toWatch)}),t.constant=n,t.toWatch=i;break;case yo.ObjectExpression:n=!0,i=[],r(t.properties,function(t){cn(t.value,e),n=n&&t.value.constant&&!t.computed,t.value.constant||i.push.apply(i,t.value.toWatch)}),t.constant=n,t.toWatch=i;break;case yo.ThisExpression:t.constant=!1,t.toWatch=[];break;case yo.LocalsExpression:t.constant=!1,t.toWatch=[]}}function ln(t){if(1==t.length){var e=t[0].expression,n=e.toWatch;return 1!==n.length?n:n[0]!==e?n:void 0}}function fn(t){return t.type===yo.Identifier||t.type===yo.MemberExpression}function hn(t){if(1===t.body.length&&fn(t.body[0].expression))return{type:yo.AssignmentExpression,left:t.body[0].expression,right:{type:yo.NGValueParameter},operator:"="}}function pn(t){return 0===t.body.length||1===t.body.length&&(t.body[0].expression.type===yo.Literal||t.body[0].expression.type===yo.ArrayExpression||t.body[0].expression.type===yo.ObjectExpression)}function dn(t){return t.constant}function vn(t,e){this.astBuilder=t,this.$filter=e}function $n(t,e){this.astBuilder=t,this.$filter=e}function gn(t){return"constructor"==t}function mn(t){return S(t.valueOf)?t.valueOf():wo.call(t)}function yn(){var t,e,n=dt(),i=dt(),o={"true":!0,"false":!1,"null":null,undefined:void 0};this.addLiteral=function(t,e){o[t]=e},this.setIdentifierFns=function(n,r){return t=n,e=r,this},this.$get=["$filter",function(u){function a(t,e,r){var o,a,c;switch(r=r||b,typeof t){case"string":t=t.trim(),c=t;var $=r?i:n;if(o=$[c],!o){":"===t.charAt(0)&&":"===t.charAt(1)&&(a=!0,t=t.substring(2));var m=r?y:g,w=new mo(m),x=new bo(w,u,m);o=x.parse(t),o.constant?o.$$watchDelegate=d:a?o.$$watchDelegate=o.literal?h:f:o.inputs&&(o.$$watchDelegate=l),r&&(o=s(o)),$[c]=o}return v(o,e);case"function":return v(t,e);default:return v(p,e)}}function s(t){function e(e,n,r,i){var o=b;b=!0;try{return t(e,n,r,i)}finally{b=o}}if(!t)return t;e.$$watchDelegate=t.$$watchDelegate,e.assign=s(t.assign),e.constant=t.constant,e.literal=t.literal;for(var n=0;t.inputs&&n0&&a(this.$$state),r.promise},"catch":function(t){return this.then(null,t)},"finally":function(t,e){return this.then(function(e){return $(e,!0,t)},function(e){return $(e,!1,t)},e)}}),c(s.prototype,{resolve:function(t){this.promise.$$state.status||(t===this.promise?this.$$reject(h("qcycle","Expected promise to be resolved with value other than itself '{0}'",t)):this.$$resolve(t))},$$resolve:function(t){function e(t){s||(s=!0,u.$$resolve(t))}function r(t){s||(s=!0,u.$$reject(t))}var i,u=this,s=!1;try{(y(t)||S(t))&&(i=t&&t.then),S(i)?(this.promise.$$state.status=-1,i.call(t,e,r,o(this,this.notify))):(this.promise.$$state.value=t,this.promise.$$state.status=1,a(this.promise.$$state))}catch(c){r(c),n(c)}},reject:function(t){this.promise.$$state.status||this.$$reject(t)},$$reject:function(t){this.promise.$$state.value=t,this.promise.$$state.status=2,a(this.promise.$$state)},notify:function(e){var r=this.promise.$$state.pending;this.promise.$$state.status<=0&&r&&r.length&&t(function(){for(var t,i,o=0,u=r.length;o=0&&m(o,-1),a=null}},$watchGroup:function(t,e){function n(){s=!1,c?(c=!1,e(o,o,a)):e(o,i,a)}var i=new Array(t.length),o=new Array(t.length),u=[],a=this,s=!1,c=!0;if(!t.length){var l=!0;return a.$evalAsync(function(){l&&e(o,o,a)}),function(){l=!1}}return 1===t.length?this.$watch(t[0],function(t,n,r){o[0]=t,i[0]=n,e(o,t===n?o:i,r)}):(r(t,function(t,e){var r=a.$watch(t,function(t,r){o[e]=t,i[e]=r,s||(s=!0,a.$evalAsync(n))});u.push(r)}),function(){for(;u.length;)u.shift()()})},$watchCollection:function(t,e){function r(t){o=t;var e,r,i,a,s;if(!g(o)){if(y(o))if(n(o)){u!==p&&(u=p,$=u.length=0,f++),e=o.length,$!==e&&(f++,u.length=$=e);for(var c=0;ce){f++;for(r in u)Tr.call(o,r)||($--,delete u[r])}}else u!==o&&(u=o,f++);return f}}function i(){if(v?(v=!1,e(o,o,s)):e(o,a,s),l)if(y(o))if(n(o)){a=new Array(o.length);for(var t=0;t1,f=0,h=c(t,r),p=[],d={},v=!0,$=0;return this.$watch(h,i)},$digest:function(){var t,n,r,u,c,f,h,p,d,g,m,y,b=i,_=this,k=[];v("$digest"),l.$$checkUrlChange(),this===C&&null!==s&&(l.defer.cancel(s),x()),a=null;do{p=!1,g=_;for(var j=0;j-1)throw xo("iwcard","Illegal sequence *** in string matcher. String: {0}",t);return t=Xr(t).replace("\\*\\*",".*").replace("\\*","[^:/.?&;]*"),new RegExp("^"+t+"$")}if(C(t))return new RegExp("^"+t.source+"$");throw xo("imatcher",'Matchers may only be "self", string patterns or RegExp objects')}function An(t){var e=[];return m(t)&&r(t,function(t){e.push(En(t))}),e}function kn(){this.SCE_CONTEXTS=_o;var t=["self"],e=[];this.resourceUrlWhitelist=function(e){return arguments.length&&(t=An(e)),t},this.resourceUrlBlacklist=function(t){return arguments.length&&(e=An(t)),e},this.$get=["$injector",function(n){function r(t,e){return"self"===t?Vn(e):!!t.exec(e.href)}function i(n){var i,o,u=Nn(n.toString()),a=!1;for(i=0,o=t.length;i to the top of your HTML document. See http://docs.angularjs.org/api/ng.$sce for more information.");var i=$t(_o);i.isEnabled=function(){return t},i.trustAs=n.trustAs,i.getTrusted=n.getTrusted,i.valueOf=n.valueOf,t||(i.trustAs=i.getTrusted=function(t,e){return e},i.valueOf=d),i.parseAs=function(t,n){var r=e(n);return r.literal&&r.constant?r:e(n,function(e){return i.getTrusted(t,e)})};var o=i.parseAs,u=i.getTrusted,a=i.trustAs;return r(_o,function(t,e){var n=Ir(e);i[wt("parse_as_"+n)]=function(e){return o(t,e)},i[wt("get_trusted_"+n)]=function(e){return u(t,e)},i[wt("trust_as_"+n)]=function(e){return a(t,e)}}),i}]}function jn(){this.$get=["$window","$document",function(t,e){var n,r,i={},o=t.chrome&&t.chrome.app&&t.chrome.app.runtime,u=!o&&t.history&&t.history.pushState,a=f((/android (\d+)/.exec(Ir((t.navigator||{}).userAgent))||[])[1]),s=/Boxee/i.test((t.navigator||{}).userAgent),c=e[0]||{},l=/^(Moz|webkit|ms)(?=[A-Z])/,h=c.body&&c.body.style,p=!1,d=!1;if(h){for(var v in h)if(r=l.exec(v)){n=r[0],n=n[0].toUpperCase()+n.substr(1);break}n||(n="WebkitOpacity"in h&&"webkit"),p=!!("transition"in h||n+"Transition"in h),d=!!("animation"in h||n+"Animation"in h),!a||p&&d||(p=w(h.webkitTransition),d=w(h.webkitAnimation))}return{history:!(!u||a<4||s),hasEvent:function(t){if("input"===t&&Dr<=11)return!1;if(g(i[t])){var e=c.createElement("div");i[t]="on"+t in e}return i[t]},csp:Qr(),vendorPrefix:n,transitions:p,animations:d,android:a}}]}function Mn(){var t;this.httpOptions=function(e){return e?(t=e,this):t},this.$get=["$templateCache","$http","$q","$sce",function(e,n,r,i){function o(u,a){function s(t){if(!a)throw So("tpload","Failed to load template: {0} (HTTP status: {1} {2})",u,t.status,t.statusText);return r.reject(t)}o.totalPendingRequests++,w(u)&&!g(e.get(u))||(u=i.getTrustedResourceUrl(u));var l=n.defaults&&n.defaults.transformResponse;return Jr(l)?l=l.filter(function(t){return t!==Ee}):l===Ee&&(l=null),n.get(u,c({cache:e,transformResponse:l},t))["finally"](function(){o.totalPendingRequests--}).then(function(t){return e.put(u,t.data),t.data},s)}return o.totalPendingRequests=0,o}]}function Tn(){this.$get=["$rootScope","$browser","$location",function(t,e,n){var i={};return i.findBindings=function(t,e,n){var i=t.getElementsByClassName("ng-binding"),o=[];return r(i,function(t){var i=Gr.element(t).data("$binding");i&&r(i,function(r){if(n){var i=new RegExp("(^|\\s)"+Xr(e)+"(\\s|\\||$)");i.test(r)&&o.push(t)}else r.indexOf(e)!=-1&&o.push(t)})}),o},i.findModels=function(t,e,n){for(var r=["ng-","data-ng-","ng\\:"],i=0;i0&&(s=e(o.substring(0,a)),g(r[s])&&(r[s]=e(o.substring(a+1))));return r}}function Pn(){this.$get=Dn}function Un(t){function e(i,o){if(y(i)){var u={};return r(i,function(t,n){u[n]=e(n,t)}),u}return t.factory(i+n,o)}var n="Filter";this.register=e,this.$get=["$injector",function(t){return function(e){return t.get(e+n)}}],e("currency",Hn),e("date",or),e("filter",Fn),e("json",ur),e("limitTo",ar),e("lowercase",Io),e("number",zn),e("orderBy",cr),e("uppercase",No)}function Fn(){return function(t,r,i,o){if(!n(t)){if(null==t)return t;throw e("filter")("notarray","Expected array but received: {0}",t)}o=o||"$";var u,a,s=Bn(r);switch(s){case"function":u=r;break;case"boolean":case"null":case"number":case"string":a=!0;case"object":u=Ln(r,i,o,a);break;default:return t}return Array.prototype.filter.call(t,u)}}function Ln(t,e,n,r){var i,o=y(t)&&n in t;return e===!0?e=F:S(e)||(e=function(t,e){return!g(t)&&(null===t||null===e?t===e:!(y(e)||y(t)&&!$(t))&&(t=Ir(""+t),e=Ir(""+e),t.indexOf(e)!==-1))}),i=function(i){return o&&!y(i)?qn(i,t[n],e,n,!1):qn(i,t,e,n,r)}}function qn(t,e,n,r,i,o){var u=Bn(t),a=Bn(e);if("string"===a&&"!"===e.charAt(0))return!qn(t,e.substring(1),n,r,i);if(Jr(t))return t.some(function(t){return qn(t,e,n,r,i)});switch(u){case"object":var s;if(i){for(s in t)if("$"!==s.charAt(0)&&qn(t[s],e,n,r,!0))return!0;return!o&&qn(t,e,n,r,!1)}if("object"===a){for(s in e){var c=e[s];if(!S(c)&&!g(c)){var l=s===r,f=l?t:t[s];if(!qn(f,c,n,r,l,l))return!1}}return!0}return n(t,e);case"function":return!1;default:return n(t,e)}}function Bn(t){return null===t?"null":typeof t}function Hn(t){var e=t.NUMBER_FORMATS;return function(t,n,r){return g(n)&&(n=e.CURRENCY_SYM),g(r)&&(r=e.PATTERNS[1].maxFrac),null==t?t:Zn(t,e.PATTERNS[1],e.GROUP_SEP,e.DECIMAL_SEP,r).replace(/\u00A4/g,n)}}function zn(t){var e=t.NUMBER_FORMATS;return function(t,n){return null==t?t:Zn(t,e.PATTERNS[0],e.GROUP_SEP,e.DECIMAL_SEP,n)}}function Wn(t){var e,n,r,i,o,u=0;for((n=t.indexOf(ko))>-1&&(t=t.replace(ko,"")),(r=t.search(/e/i))>0?(n<0&&(n=r),n+=+t.slice(r+1),t=t.substring(0,r)):n<0&&(n=t.length),r=0;t.charAt(r)==Oo;r++);if(r==(o=t.length))e=[0],n=1;else{for(o--;t.charAt(o)==Oo;)o--;for(n-=r,e=[],i=0;r<=o;r++,i++)e[i]=+t.charAt(r)}return n>Ao&&(e=e.splice(0,Ao-1),u=n-1,n=1),{d:e,e:u,i:n}}function Gn(t,e,n,r){var i=t.d,o=i.length-t.i;e=g(e)?Math.min(Math.max(n,o),r):+e;var u=e+t.i,a=i[u];if(u>0){i.splice(Math.max(t.i,u));for(var s=u;s=5)if(u-1<0){for(var l=0;l>u;l--)i.unshift(0),t.i++;i.unshift(1),t.i++}else i[u-1]++;for(;o0?p=l.splice(f,l.length):(p=l,l=[0]);var d=[];for(l.length>=e.lgSize&&d.unshift(l.splice(-e.lgSize,l.length).join(""));l.length>e.gSize;)d.unshift(l.splice(-e.gSize,l.length).join(""));l.length&&d.unshift(l.join("")),c=d.join(n),p.length&&(c+=r+p.join("")),h&&(c+="e+"+h)}return t<0&&!a?e.negPre+c+e.negSuf:e.posPre+c+e.posSuf}function Jn(t,e,n,r){var i="";for((t<0||r&&t<=0)&&(r?t=-t+1:(t=-t,i="-")),t=""+t;t.length0||u>-n)&&(u+=n),0===u&&n==-12&&(u=12),Jn(u,e,r,i)}}function Yn(t,e,n){return function(r,i){var o=r["get"+t](),u=(n?"STANDALONE":"")+(e?"SHORT":""),a=Nr(u+t);return i[a][o]}}function Xn(t,e,n){var r=-1*n,i=r>=0?"+":"";return i+=Jn(Math[r>0?"floor":"ceil"](r/60),2)+Jn(Math.abs(r%60),2)}function Qn(t){var e=new Date(t,0,1).getDay();return new Date(t,0,(e<=4?5:12)-e)}function tr(t){return new Date(t.getFullYear(),t.getMonth(),t.getDate()+(4-t.getDay()))}function er(t){return function(e){var n=Qn(e.getFullYear()),r=tr(e),i=+r-+n,o=1+Math.round(i/6048e5);return Jn(o,t)}}function nr(t,e){return t.getHours()<12?e.AMPMS[0]:e.AMPMS[1]}function rr(t,e){return t.getFullYear()<=0?e.ERAS[0]:e.ERAS[1]}function ir(t,e){return t.getFullYear()<=0?e.ERANAMES[0]:e.ERANAMES[1]}function or(t){function e(t){var e;if(e=t.match(n)){var r=new Date(0),i=0,o=0,u=e[8]?r.setUTCFullYear:r.setFullYear,a=e[8]?r.setUTCHours:r.setHours;e[9]&&(i=f(e[9]+e[10]),o=f(e[9]+e[11])),u.call(r,f(e[1]),f(e[2])-1,f(e[3]));var s=f(e[4]||0)-i,c=f(e[5]||0)-o,l=f(e[6]||0),h=Math.round(1e3*parseFloat("0."+(e[7]||0)));return a.call(r,s,c,l,h),r}return t}var n=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/;return function(n,i,o){var u,a,s="",c=[];if(i=i||"mediumDate",i=t.DATETIME_FORMATS[i]||i,w(n)&&(n=To.test(n)?f(n):e(n)),x(n)&&(n=new Date(n)),!_(n)||!isFinite(n.getTime()))return n;for(;i;)a=Mo.exec(i),a?(c=L(c,a,1),i=c.pop()):(c.push(i),i=null);var l=n.getTimezoneOffset();return o&&(l=G(o,l),n=J(n,o,!0)),r(c,function(e){u=jo[e],s+=u?u(n,t.DATETIME_FORMATS,l):"''"===e?"'":e.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),s}}function ur(){return function(t,e){return g(e)&&(e=2),z(t,e)}}function ar(){return function(t,e,r){return e=Math.abs(Number(e))===1/0?Number(e):f(e),isNaN(e)?t:(x(t)&&(t=t.toString()),n(t)?(r=!r||isNaN(r)?0:f(r),r=r<0?Math.max(0,t.length+r):r,e>=0?sr(t,r,r+e):0===r?sr(t,e,t.length):sr(t,Math.max(0,r+e),r)):t)}}function sr(t,e,n){return w(t)?t.slice(e,n):Lr.call(t,e,n)}function cr(t){function r(e){return e.map(function(e){var n=1,r=d;if(S(e))r=e;else if(w(e)&&("+"!=e.charAt(0)&&"-"!=e.charAt(0)||(n="-"==e.charAt(0)?-1:1,e=e.substring(1)),""!==e&&(r=t(e),r.constant))){var i=r();r=function(t){return t[i]}}return{get:r,descending:n}})}function i(t){switch(typeof t){case"number":case"boolean":case"string":return!0;default:return!1}}function o(t){return S(t.valueOf)&&(t=t.valueOf(),i(t))?t:$(t)&&(t=t.toString(),i(t))?t:t}function u(t,e){var n=typeof t;return null===t?(n="string",t="null"):"object"===n&&(t=o(t)),{value:t,type:n,index:e}}function a(t,e){var n=0,r=t.type,i=e.type;if(r===i){var o=t.value,u=e.value;"string"===r?(o=o.toLowerCase(),u=u.toLowerCase()):"object"===r&&(y(o)&&(o=t.index),y(u)&&(u=e.index)),o!==u&&(n=o=v},u.$observe("min",function(t){ -v=h(t),a.$validate()})}if(m(u.max)||u.ngMax){var $;a.$validators.max=function(t){return!f(t)||g($)||n(t)<=$},u.$observe("max",function(t){$=h(t),a.$validate()})}}}function yr(t,e,n,r){var i=e[0],o=r.$$hasNativeValidators=y(i.validity);o&&r.$parsers.push(function(t){var n=e.prop(Mr)||{};return n.badInput||n.typeMismatch?void 0:t})}function br(t,e,n,r,i,o){if(yr(t,e,n,r),vr(t,e,n,r,i,o),r.$$parserName="number",r.$parsers.push(function(t){return r.$isEmpty(t)?null:zo.test(t)?parseFloat(t):void 0}),r.$formatters.push(function(t){if(!r.$isEmpty(t)){if(!x(t))throw ku("numfmt","Expected `{0}` to be a number",t);t=t.toString()}return t}),m(n.min)||n.ngMin){var u;r.$validators.min=function(t){return r.$isEmpty(t)||g(u)||t>=u},n.$observe("min",function(t){m(t)&&!x(t)&&(t=parseFloat(t)),u=x(t)&&!isNaN(t)?t:void 0,r.$validate()})}if(m(n.max)||n.ngMax){var a;r.$validators.max=function(t){return r.$isEmpty(t)||g(a)||t<=a},n.$observe("max",function(t){m(t)&&!x(t)&&(t=parseFloat(t)),a=x(t)&&!isNaN(t)?t:void 0,r.$validate()})}}function wr(t,e,n,r,i,o){vr(t,e,n,r,i,o),pr(r),r.$$parserName="url",r.$validators.url=function(t,e){var n=t||e;return r.$isEmpty(n)||Bo.test(n)}}function xr(t,e,n,r,i,o){vr(t,e,n,r,i,o),pr(r),r.$$parserName="email",r.$validators.email=function(t,e){var n=t||e;return r.$isEmpty(n)||Ho.test(n)}}function _r(t,e,n,r){g(n.name)&&e.attr("name",u());var i=function(t){e[0].checked&&r.$setViewValue(n.value,t&&t.type)};e.on("click",i),r.$render=function(){var t=n.value;e[0].checked=t==r.$viewValue},n.$observe("value",r.$render)}function Sr(t,e,n,r,i){var o;if(m(r)){if(o=t(r),!o.constant)throw ku("constexpr","Expected constant expression for `{0}`, but saw `{1}`.",n,r);return o(e)}return i}function Cr(t,e,n,r,i,o,u,a){var s=Sr(a,t,"ngTrueValue",n.ngTrueValue,!0),c=Sr(a,t,"ngFalseValue",n.ngFalseValue,!1),l=function(t){r.$setViewValue(e[0].checked,t&&t.type)};e.on("click",l),r.$render=function(){e[0].checked=r.$viewValue},r.$isEmpty=function(t){return t===!1},r.$formatters.push(function(t){return F(t,s)}),r.$parsers.push(function(t){return t?s:c})}function Er(t,e){return t="ngClass"+t,["$animate",function(n){function i(t,e){var n=[];t:for(var r=0;r0||n[t])&&(n[t]=(n[t]||0)+e,n[t]===+(e>0)&&i.push(t))}),a.data("$classCounts",n),i.join(" ")}function h(t,e){var r=i(e,t),o=i(t,e);r=f(r,1),o=f(o,-1),r&&r.length&&n.addClass(a,r),o&&o.length&&n.removeClass(a,o)}function p(t){if(e===!0||(1&u.$index)===e){var n=o(t||[]);if(d){if(!F(t,d)){var r=o(d);h(r,n)}}else c(n)}d=Jr(t)?t.map(function(t){return $t(t)}):$t(t)}var d;u.$watch(s[t],p,!0),s.$observe("class",function(e){p(u.$eval(s[t]))}),"ngClass"!==t&&u.$watch("$index",function(n,r){var i=1&n;if(i!==(1&r)){var a=o(u.$eval(s[t]));i===e?c(a):l(a)}})}}}]}function Ar(t){function e(t,e,a){g(e)?n("$pending",t,a):r("$pending",t,a),M(e)?e?(l(u.$error,t,a),c(u.$$success,t,a)):(c(u.$error,t,a),l(u.$$success,t,a)):(l(u.$error,t,a),l(u.$$success,t,a)),u.$pending?(i(Cu,!0),u.$valid=u.$invalid=void 0,o("",null)):(i(Cu,!1),u.$valid=kr(u.$error),u.$invalid=!u.$valid,o("",u.$valid));var s;s=u.$pending&&u.$pending[t]?void 0:!u.$error[t]&&(!!u.$$success[t]||null),o(t,s),u.$$parentForm.$setValidity(t,s,u)}function n(t,e,n){u[t]||(u[t]={}),c(u[t],e,n)}function r(t,e,n){u[t]&&l(u[t],e,n),kr(u[t])&&(u[t]=void 0)}function i(t,e){e&&!s[t]?(f.addClass(a,t),s[t]=!0):!e&&s[t]&&(f.removeClass(a,t),s[t]=!1)}function o(t,e){t=t?"-"+at(t,"-"):"",i(yu+t,e===!0),i(bu+t,e===!1)}var u=t.ctrl,a=t.$element,s={},c=t.set,l=t.unset,f=t.$animate;s[bu]=!(s[yu]=a.hasClass(yu)),u.$setValidity=e}function kr(t){if(t)for(var e in t)if(t.hasOwnProperty(e))return!1;return!0}function Or(t){t[0].hasAttribute("selected")&&(t[0].selected=!0)}var jr=/^\/(.+)\/([a-z]*)$/,Mr="validity",Tr=Object.prototype.hasOwnProperty,Ir=function(t){return w(t)?t.toLowerCase():t},Nr=function(t){return w(t)?t.toUpperCase():t},Vr=function(t){return w(t)?t.replace(/[A-Z]/g,function(t){return String.fromCharCode(32|t.charCodeAt(0))}):t},Rr=function(t){return w(t)?t.replace(/[a-z]/g,function(t){return String.fromCharCode(t.charCodeAt(0)&-33)}):t};"i"!=="I".toLowerCase()&&(Ir=Vr,Nr=Rr);var Dr,Pr,Ur,Fr,Lr=[].slice,qr=[].splice,Br=[].push,Hr=Object.prototype.toString,zr=Object.getPrototypeOf,Wr=e("ng"),Gr=t.angular||(t.angular={}),Zr=0;Dr=t.document.documentMode,p.$inject=[],d.$inject=[];var Jr=Array.isArray,Kr=/^\[object (?:Uint8|Uint8Clamped|Uint16|Uint32|Int8|Int16|Int32|Float32|Float64)Array\]$/,Yr=function(t){return w(t)?t.trim():t},Xr=function(t){return t.replace(/([-()\[\]{}+?*.$\^|,:#(?:<\/\1>|)$/,wi=/<|&#?\w+;/,xi=/<([\w:-]+)/,_i=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,Si={option:[1,'"],thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};Si.optgroup=Si.option,Si.tbody=Si.tfoot=Si.colgroup=Si.caption=Si.thead,Si.th=Si.td;var Ci=t.Node.prototype.contains||function(t){return!!(16&this.compareDocumentPosition(t))},Ei=Ot.prototype={ready:function(e){function n(){r||(r=!0,e())}var r=!1;"complete"===t.document.readyState?t.setTimeout(n):(this.on("DOMContentLoaded",n),Ot(t).on("load",n))},toString:function(){var t=[];return r(this,function(e){t.push(""+e)}),"["+t.join(", ")+"]"},eq:function(t){return Pr(t>=0?this[t]:this[this.length+t])},length:0,push:Br,sort:[].sort,splice:[].splice},Ai={};r("multiple,selected,checked,disabled,readOnly,required,open".split(","),function(t){Ai[Ir(t)]=t});var ki={};r("input,select,option,textarea,button,form,details".split(","),function(t){ki[t]=!0});var Oi={ngMinlength:"minlength",ngMaxlength:"maxlength",ngMin:"min",ngMax:"max",ngPattern:"pattern"};r({data:Vt,removeData:It,hasData:St,cleanData:Ct},function(t,e){Ot[e]=t}),r({data:Vt,inheritedData:Lt,scope:function(t){return Pr.data(t,"$scope")||Lt(t.parentNode||t,["$isolateScope","$scope"])},isolateScope:function(t){return Pr.data(t,"$isolateScope")||Pr.data(t,"$isolateScopeNoTemplate")},controller:Ft,injector:function(t){return Lt(t,"$injector")},removeAttr:function(t,e){t.removeAttribute(e)},hasClass:Rt,css:function(t,e,n){return e=wt(e),m(n)?void(t.style[e]=n):t.style[e]},attr:function(t,e,n){var r=t.nodeType;if(r!==ai&&r!==ui&&r!==si){var i=Ir(e);if(Ai[i]){if(!m(n))return t[e]||(t.attributes.getNamedItem(e)||p).specified?i:void 0;n?(t[e]=!0,t.setAttribute(e,i)):(t[e]=!1,t.removeAttribute(i))}else if(m(n))t.setAttribute(e,n);else if(t.getAttribute){var o=t.getAttribute(e,2);return null===o?void 0:o}}},prop:function(t,e,n){return m(n)?void(t[e]=n):t[e]},text:function(){function t(t,e){if(g(e)){var n=t.nodeType;return n===oi||n===ai?t.textContent:""}t.textContent=e}return t.$dv="",t}(),val:function(t,e){if(g(e)){if(t.multiple&&"select"===D(t)){var n=[];return r(t.options,function(t){t.selected&&n.push(t.value||t.text)}),0===n.length?null:n}return t.value}t.value=e},html:function(t,e){return g(e)?t.innerHTML:(Mt(t,!0),void(t.innerHTML=e))},empty:qt},function(t,e){Ot.prototype[e]=function(e,n){var r,i,o=this.length;if(t!==qt&&g(2==t.length&&t!==Rt&&t!==Ft?e:n)){if(y(e)){for(r=0;r=0?e.split(" "):[e],s=a.length,c=function(e,r,i){var a=o[e];a||(a=o[e]=[],a.specialHandlerWrapper=r,"$destroy"===e||i||di(t,e,u)),a.push(n)};s--;)e=a[s],mi[e]?(c(mi[e],Jt),c(e,void 0,!0)):c(e)}},off:Tt,one:function(t,e,n){t=Pr(t),t.on(e,function r(){t.off(e,n),t.off(e,r)}),t.on(e,n)},replaceWith:function(t,e){var n,i=t.parentNode;Mt(t),r(new Ot(e),function(e){n?i.insertBefore(e,n.nextSibling):i.replaceChild(e,t),n=e})},children:function(t){var e=[];return r(t.childNodes,function(t){t.nodeType===oi&&e.push(t)}),e},contents:function(t){return t.contentDocument||t.childNodes||[]},append:function(t,e){var n=t.nodeType;if(n===oi||n===li){e=new Ot(e);for(var r=0,i=e.length;r/,Ti=/^[^\(]*\(\s*([^\)]*)\)/m,Ii=/,/,Ni=/^\s*(_?)(\S+?)\1\s*$/,Vi=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,Ri=e("$injector");re.$$annotate=ne;var Di=e("$animate"),Pi=1,Ui="ng-animate",Fi=function(){this.$get=p},Li=function(){var t=new Xt,e=[];this.$get=["$$AnimateRunner","$rootScope",function(n,i){function o(t,e,n){var i=!1;return e&&(e=w(e)?e.split(" "):Jr(e)?e:[],r(e,function(e){e&&(i=!0,t[e]=n)})),i}function u(){r(e,function(e){var n=t.get(e);if(n){var i=ae(e.attr("class")),o="",u="";r(n,function(t,e){var n=!!i[e];t!==n&&(t?o+=(o.length?" ":"")+e:u+=(u.length?" ":"")+e)}),r(e,function(t){o&&Pt(t,o),u&&Dt(t,u)}),t.remove(e)}}),e.length=0}function a(n,r,a){var s=t.get(n)||{},c=o(s,r,!0),l=o(s,a,!1);(c||l)&&(t.put(n,s),e.push(n),1===e.length&&i.$$postDigest(u))}return{enabled:p,on:p,off:p,pin:p,push:function(t,e,r,i){i&&i(),r=r||{},r.from&&t.css(r.from),r.to&&t.css(r.to),(r.addClass||r.removeClass)&&a(t,r.addClass,r.removeClass);var o=new n;return o.complete(),o}}}]},qi=["$provide",function(t){var e=this;this.$$registeredAnimations=Object.create(null),this.register=function(n,r){if(n&&"."!==n.charAt(0))throw Di("notcsel","Expecting class selector starting with '.' got '{0}'.",n);var i=n+"-animation";e.$$registeredAnimations[n.substr(1)]=i,t.factory(i,r)},this.classNameFilter=function(t){if(1===arguments.length&&(this.$$classNameFilter=t instanceof RegExp?t:null,this.$$classNameFilter)){var e=new RegExp("(\\s+|\\/)"+Ui+"(\\s+|\\/)");if(e.test(this.$$classNameFilter.toString()))throw Di("nongcls",'$animateProvider.classNameFilter(regex) prohibits accepting a regex value which matches/contains the "{0}" CSS class.',Ui)}return this.$$classNameFilter},this.$get=["$$animateQueue",function(t){function e(t,e,n){if(n){var r=ue(n);!r||r.parentNode||r.previousElementSibling||(n=null)}n?n.after(t):e.prepend(t)}return{on:t.on,off:t.off,pin:t.pin,enabled:t.enabled,cancel:function(t){t.end&&t.end()},enter:function(n,r,i,o){return r=r&&Pr(r),i=i&&Pr(i),r=r||i.parent(),e(n,r,i),t.push(n,"enter",se(o))},move:function(n,r,i,o){return r=r&&Pr(r),i=i&&Pr(i),r=r||i.parent(),e(n,r,i),t.push(n,"move",se(o))},leave:function(e,n){return t.push(e,"leave",se(n),function(){e.remove()})},addClass:function(e,n,r){return r=se(r),r.addClass=oe(r.addclass,n),t.push(e,"addClass",r)},removeClass:function(e,n,r){return r=se(r),r.removeClass=oe(r.removeClass,n),t.push(e,"removeClass",r)},setClass:function(e,n,r,i){return i=se(i),i.addClass=oe(i.addClass,n),i.removeClass=oe(i.removeClass,r),t.push(e,"setClass",i)},animate:function(e,n,r,i,o){return o=se(o),o.from=o.from?c(o.from,n):n,o.to=o.to?c(o.to,r):r,i=i||"ng-inline-animate",o.tempClasses=oe(o.tempClasses,i),t.push(e,"animate",o)}}}]}],Bi=function(){this.$get=["$$rAF",function(t){function e(e){n.push(e),n.length>1||t(function(){for(var t=0;t <= >= && || ! = |".split(" "),function(t){$o[t]=!0});var go={n:"\n",f:"\f",r:"\r",t:"\t",v:"\x0B","'":"'",'"':'"'},mo=function(t){this.options=t};mo.prototype={constructor:mo,lex:function(t){for(this.text=t,this.index=0,this.tokens=[];this.index=55296&&n<=56319&&r>=56320&&r<=57343?t+e:t},isExpOperator:function(t){return"-"===t||"+"===t||this.isNumber(t)},throwError:function(t,e,n){n=n||this.index;var r=m(e)?"s "+e+"-"+this.index+" ["+this.text.substring(e,n)+"]":" "+n;throw fo("lexerr","Lexer Error: {0} at column{1} in expression [{2}].",t,r,this.text)},readNumber:function(){for(var t="",e=this.index;this.index0&&!this.peek("}",")",";","]")&&t.push(this.expressionStatement()),!this.expect(";"))return{type:yo.Program,body:t}},expressionStatement:function(){return{type:yo.ExpressionStatement,expression:this.filterChain()}},filterChain:function(){for(var t,e=this.expression();t=this.expect("|");)e=this.filter(e);return e},expression:function(){return this.assignment()},assignment:function(){var t=this.ternary();return this.expect("=")&&(t={type:yo.AssignmentExpression,left:t,right:this.assignment(),operator:"="}),t},ternary:function(){var t,e,n=this.logicalOR();return this.expect("?")&&(t=this.expression(),this.consume(":"))?(e=this.expression(),{type:yo.ConditionalExpression,test:n,alternate:t,consequent:e}):n},logicalOR:function(){for(var t=this.logicalAND();this.expect("||");)t={type:yo.LogicalExpression,operator:"||",left:t,right:this.logicalAND()};return t},logicalAND:function(){for(var t=this.equality();this.expect("&&");)t={type:yo.LogicalExpression,operator:"&&",left:t,right:this.equality()};return t},equality:function(){for(var t,e=this.relational();t=this.expect("==","!=","===","!==");)e={type:yo.BinaryExpression,operator:t.text,left:e,right:this.relational()};return e},relational:function(){for(var t,e=this.additive();t=this.expect("<",">","<=",">=");)e={type:yo.BinaryExpression,operator:t.text,left:e,right:this.additive()};return e},additive:function(){for(var t,e=this.multiplicative();t=this.expect("+","-");)e={type:yo.BinaryExpression,operator:t.text,left:e,right:this.multiplicative()};return e},multiplicative:function(){for(var t,e=this.unary();t=this.expect("*","/","%");)e={type:yo.BinaryExpression,operator:t.text,left:e,right:this.unary()};return e},unary:function(){var t;return(t=this.expect("+","-","!"))?{type:yo.UnaryExpression,operator:t.text,prefix:!0,argument:this.unary()}:this.primary()},primary:function(){var t;this.expect("(")?(t=this.filterChain(),this.consume(")")):this.expect("[")?t=this.arrayDeclaration():this.expect("{")?t=this.object():this.selfReferential.hasOwnProperty(this.peek().text)?t=U(this.selfReferential[this.consume().text]):this.options.literals.hasOwnProperty(this.peek().text)?t={type:yo.Literal,value:this.options.literals[this.consume().text]}:this.peek().identifier?t=this.identifier():this.peek().constant?t=this.constant():this.throwError("not a primary expression",this.peek());for(var e;e=this.expect("(","[",".");)"("===e.text?(t={type:yo.CallExpression,callee:t,arguments:this.parseArguments()},this.consume(")")):"["===e.text?(t={type:yo.MemberExpression,object:t,property:this.expression(),computed:!0},this.consume("]")):"."===e.text?t={type:yo.MemberExpression,object:t,property:this.identifier(),computed:!1}:this.throwError("IMPOSSIBLE");return t},filter:function(t){for(var e=[t],n={type:yo.CallExpression,callee:this.identifier(),arguments:e,filter:!0};this.expect(":");)e.push(this.expression());return n},parseArguments:function(){var t=[];if(")"!==this.peekToken().text)do t.push(this.filterChain());while(this.expect(","));return t},identifier:function(){var t=this.consume();return t.identifier||this.throwError("is not a valid identifier",t),{type:yo.Identifier,name:t.text}},constant:function(){return{type:yo.Literal,value:this.consume().value}},arrayDeclaration:function(){var t=[];if("]"!==this.peekToken().text)do{if(this.peek("]"))break;t.push(this.expression())}while(this.expect(","));return this.consume("]"),{type:yo.ArrayExpression,elements:t}},object:function(){var t,e=[];if("}"!==this.peekToken().text)do{if(this.peek("}"))break;t={type:yo.Property,kind:"init"},this.peek().constant?(t.key=this.constant(),t.computed=!1,this.consume(":"),t.value=this.expression()):this.peek().identifier?(t.key=this.identifier(),t.computed=!1,this.peek(":")?(this.consume(":"),t.value=this.expression()):t.value=t.key):this.peek("[")?(this.consume("["),t.key=this.expression(),this.consume("]"),t.computed=!0,this.consume(":"),t.value=this.expression()):this.throwError("invalid key",this.peek()),e.push(t)}while(this.expect(","));return this.consume("}"),{type:yo.ObjectExpression,properties:e}},throwError:function(t,e){throw fo("syntax","Syntax Error: Token '{0}' {1} at column {2} of the expression [{3}] starting at [{4}].",e.text,t,e.index+1,this.text,this.text.substring(e.index))},consume:function(t){if(0===this.tokens.length)throw fo("ueoe","Unexpected end of expression: {0}",this.text);var e=this.expect(t);return e||this.throwError("is unexpected, expecting ["+t+"]",this.peek()),e},peekToken:function(){if(0===this.tokens.length)throw fo("ueoe","Unexpected end of expression: {0}",this.text);return this.tokens[0]},peek:function(t,e,n,r){return this.peekAhead(0,t,e,n,r)},peekAhead:function(t,e,n,r,i){if(this.tokens.length>t){var o=this.tokens[t],u=o.text;if(u===e||u===n||u===r||u===i||!e&&!n&&!r&&!i)return o}return!1},expect:function(t,e,n,r){var i=this.peek(t,e,n,r);return!!i&&(this.tokens.shift(),i)},selfReferential:{"this":{type:yo.ThisExpression},$locals:{type:yo.LocalsExpression}}},vn.prototype={compile:function(t,e){var n=this,i=this.astBuilder.ast(t);this.state={nextId:0,filters:{},expensiveChecks:e,fn:{vars:[],body:[],own:{}},assign:{vars:[],body:[],own:{}},inputs:[]},cn(i,n.$filter);var o,u="";if(this.stage="assign",o=hn(i)){this.state.computing="assign";var a=this.nextId();this.recurse(o,a),this.return_(a),u="fn.assign="+this.generateFunction("assign","s,v,l")}var s=ln(i.body);n.stage="inputs",r(s,function(t,e){var r="fn"+e;n.state[r]={vars:[],body:[],own:{}},n.state.computing=r;var i=n.nextId();n.recurse(t,i),n.return_(i),n.state.inputs.push(r),t.watchId=e}),this.state.computing="fn",this.stage="main",this.recurse(i);var c='"'+this.USE+" "+this.STRICT+'";\n'+this.filterPrefix()+"var fn="+this.generateFunction("fn","s,l,a,i")+u+this.watchFns()+"return fn;",l=new Function("$filter","ensureSafeMemberName","ensureSafeObject","ensureSafeFunction","getStringValue","ensureSafeAssignContext","ifDefined","plus","text",c)(this.$filter,tn,nn,rn,en,on,un,an,t);return this.state=this.stage=void 0,l.literal=pn(i),l.constant=dn(i),l},USE:"use",STRICT:"strict",watchFns:function(){var t=[],e=this.state.inputs,n=this;return r(e,function(e){t.push("var "+e+"="+n.generateFunction(e,"s"))}),e.length&&t.push("fn.inputs=["+e.join(",")+"];"),t.join("")},generateFunction:function(t,e){return"function("+e+"){"+this.varsPrefix(t)+this.body(t)+"};"},filterPrefix:function(){var t=[],e=this;return r(this.state.filters,function(n,r){t.push(n+"=$filter("+e.escape(r)+")")}),t.length?"var "+t.join(",")+";":""},varsPrefix:function(t){return this.state[t].vars.length?"var "+this.state[t].vars.join(",")+";":""},body:function(t){return this.state[t].body.join("")},recurse:function(t,e,n,i,o,u){var a,s,c,l,f,h=this;if(i=i||p,!u&&m(t.watchId))return e=e||this.nextId(),void this.if_("i",this.lazyAssign(e,this.computedMember("i",t.watchId)),this.lazyRecurse(t,e,n,i,o,!0));switch(t.type){case yo.Program:r(t.body,function(e,n){h.recurse(e.expression,void 0,void 0,function(t){s=t}),n!==t.body.length-1?h.current().body.push(s,";"):h.return_(s)});break;case yo.Literal:l=this.escape(t.value),this.assign(e,l),i(l);break;case yo.UnaryExpression:this.recurse(t.argument,void 0,void 0,function(t){s=t}),l=t.operator+"("+this.ifDefined(s,0)+")",this.assign(e,l),i(l);break;case yo.BinaryExpression:this.recurse(t.left,void 0,void 0,function(t){a=t}),this.recurse(t.right,void 0,void 0,function(t){s=t}),l="+"===t.operator?this.plus(a,s):"-"===t.operator?this.ifDefined(a,0)+t.operator+this.ifDefined(s,0):"("+a+")"+t.operator+"("+s+")",this.assign(e,l),i(l);break;case yo.LogicalExpression:e=e||this.nextId(),h.recurse(t.left,e),h.if_("&&"===t.operator?e:h.not(e),h.lazyRecurse(t.right,e)),i(e);break;case yo.ConditionalExpression:e=e||this.nextId(),h.recurse(t.test,e),h.if_(e,h.lazyRecurse(t.alternate,e),h.lazyRecurse(t.consequent,e)),i(e);break;case yo.Identifier:e=e||this.nextId(),n&&(n.context="inputs"===h.stage?"s":this.assign(this.nextId(),this.getHasOwnProperty("l",t.name)+"?l:s"),n.computed=!1,n.name=t.name),tn(t.name),h.if_("inputs"===h.stage||h.not(h.getHasOwnProperty("l",t.name)),function(){ -h.if_("inputs"===h.stage||"s",function(){o&&1!==o&&h.if_(h.not(h.nonComputedMember("s",t.name)),h.lazyAssign(h.nonComputedMember("s",t.name),"{}")),h.assign(e,h.nonComputedMember("s",t.name))})},e&&h.lazyAssign(e,h.nonComputedMember("l",t.name))),(h.state.expensiveChecks||gn(t.name))&&h.addEnsureSafeObject(e),i(e);break;case yo.MemberExpression:a=n&&(n.context=this.nextId())||this.nextId(),e=e||this.nextId(),h.recurse(t.object,a,void 0,function(){h.if_(h.notNull(a),function(){o&&1!==o&&h.addEnsureSafeAssignContext(a),t.computed?(s=h.nextId(),h.recurse(t.property,s),h.getStringValue(s),h.addEnsureSafeMemberName(s),o&&1!==o&&h.if_(h.not(h.computedMember(a,s)),h.lazyAssign(h.computedMember(a,s),"{}")),l=h.ensureSafeObject(h.computedMember(a,s)),h.assign(e,l),n&&(n.computed=!0,n.name=s)):(tn(t.property.name),o&&1!==o&&h.if_(h.not(h.nonComputedMember(a,t.property.name)),h.lazyAssign(h.nonComputedMember(a,t.property.name),"{}")),l=h.nonComputedMember(a,t.property.name),(h.state.expensiveChecks||gn(t.property.name))&&(l=h.ensureSafeObject(l)),h.assign(e,l),n&&(n.computed=!1,n.name=t.property.name))},function(){h.assign(e,"undefined")}),i(e)},!!o);break;case yo.CallExpression:e=e||this.nextId(),t.filter?(s=h.filter(t.callee.name),c=[],r(t.arguments,function(t){var e=h.nextId();h.recurse(t,e),c.push(e)}),l=s+"("+c.join(",")+")",h.assign(e,l),i(e)):(s=h.nextId(),a={},c=[],h.recurse(t.callee,s,a,function(){h.if_(h.notNull(s),function(){h.addEnsureSafeFunction(s),r(t.arguments,function(t){h.recurse(t,h.nextId(),void 0,function(t){c.push(h.ensureSafeObject(t))})}),a.name?(h.state.expensiveChecks||h.addEnsureSafeObject(a.context),l=h.member(a.context,a.name,a.computed)+"("+c.join(",")+")"):l=s+"("+c.join(",")+")",l=h.ensureSafeObject(l),h.assign(e,l)},function(){h.assign(e,"undefined")}),i(e)}));break;case yo.AssignmentExpression:if(s=this.nextId(),a={},!fn(t.left))throw fo("lval","Trying to assign a value to a non l-value");this.recurse(t.left,void 0,a,function(){h.if_(h.notNull(a.context),function(){h.recurse(t.right,s),h.addEnsureSafeObject(h.member(a.context,a.name,a.computed)),h.addEnsureSafeAssignContext(a.context),l=h.member(a.context,a.name,a.computed)+t.operator+s,h.assign(e,l),i(e||l)})},1);break;case yo.ArrayExpression:c=[],r(t.elements,function(t){h.recurse(t,h.nextId(),void 0,function(t){c.push(t)})}),l="["+c.join(",")+"]",this.assign(e,l),i(l);break;case yo.ObjectExpression:c=[],f=!1,r(t.properties,function(t){t.computed&&(f=!0)}),f?(e=e||this.nextId(),this.assign(e,"{}"),r(t.properties,function(t){t.computed?(a=h.nextId(),h.recurse(t.key,a)):a=t.key.type===yo.Identifier?t.key.name:""+t.key.value,s=h.nextId(),h.recurse(t.value,s),h.assign(h.member(e,a,t.computed),s)})):(r(t.properties,function(e){h.recurse(e.value,t.constant?void 0:h.nextId(),void 0,function(t){c.push(h.escape(e.key.type===yo.Identifier?e.key.name:""+e.key.value)+":"+t)})}),l="{"+c.join(",")+"}",this.assign(e,l)),i(e||l);break;case yo.ThisExpression:this.assign(e,"s"),i("s");break;case yo.LocalsExpression:this.assign(e,"l"),i("l");break;case yo.NGValueParameter:this.assign(e,"v"),i("v")}},getHasOwnProperty:function(t,e){var n=t+"."+e,r=this.current().own;return r.hasOwnProperty(n)||(r[n]=this.nextId(!1,t+"&&("+this.escape(e)+" in "+t+")")),r[n]},assign:function(t,e){if(t)return this.current().body.push(t,"=",e,";"),t},filter:function(t){return this.state.filters.hasOwnProperty(t)||(this.state.filters[t]=this.nextId(!0)),this.state.filters[t]},ifDefined:function(t,e){return"ifDefined("+t+","+this.escape(e)+")"},plus:function(t,e){return"plus("+t+","+e+")"},return_:function(t){this.current().body.push("return ",t,";")},if_:function(t,e,n){if(t===!0)e();else{var r=this.current().body;r.push("if(",t,"){"),e(),r.push("}"),n&&(r.push("else{"),n(),r.push("}"))}},not:function(t){return"!("+t+")"},notNull:function(t){return t+"!=null"},nonComputedMember:function(t,e){var n=/[$_a-zA-Z][$_a-zA-Z0-9]*/,r=/[^$_a-zA-Z0-9]/g;return n.test(e)?t+"."+e:t+'["'+e.replace(r,this.stringEscapeFn)+'"]'},computedMember:function(t,e){return t+"["+e+"]"},member:function(t,e,n){return n?this.computedMember(t,e):this.nonComputedMember(t,e)},addEnsureSafeObject:function(t){this.current().body.push(this.ensureSafeObject(t),";")},addEnsureSafeMemberName:function(t){this.current().body.push(this.ensureSafeMemberName(t),";")},addEnsureSafeFunction:function(t){this.current().body.push(this.ensureSafeFunction(t),";")},addEnsureSafeAssignContext:function(t){this.current().body.push(this.ensureSafeAssignContext(t),";")},ensureSafeObject:function(t){return"ensureSafeObject("+t+",text)"},ensureSafeMemberName:function(t){return"ensureSafeMemberName("+t+",text)"},ensureSafeFunction:function(t){return"ensureSafeFunction("+t+",text)"},getStringValue:function(t){this.assign(t,"getStringValue("+t+")")},ensureSafeAssignContext:function(t){return"ensureSafeAssignContext("+t+",text)"},lazyRecurse:function(t,e,n,r,i,o){var u=this;return function(){u.recurse(t,e,n,r,i,o)}},lazyAssign:function(t,e){var n=this;return function(){n.assign(t,e)}},stringEscapeRegex:/[^ a-zA-Z0-9]/g,stringEscapeFn:function(t){return"\\u"+("0000"+t.charCodeAt(0).toString(16)).slice(-4)},escape:function(t){if(w(t))return"'"+t.replace(this.stringEscapeRegex,this.stringEscapeFn)+"'";if(x(t))return t.toString();if(t===!0)return"true";if(t===!1)return"false";if(null===t)return"null";if("undefined"==typeof t)return"undefined";throw fo("esc","IMPOSSIBLE")},nextId:function(t,e){var n="v"+this.state.nextId++;return t||this.current().vars.push(n+(e?"="+e:"")),n},current:function(){return this.state[this.state.computing]}},$n.prototype={compile:function(t,e){var n=this,i=this.astBuilder.ast(t);this.expression=t,this.expensiveChecks=e,cn(i,n.$filter);var o,u;(o=hn(i))&&(u=this.recurse(o));var a,s=ln(i.body);s&&(a=[],r(s,function(t,e){var r=n.recurse(t);t.input=r,a.push(r),t.watchId=e}));var c=[];r(i.body,function(t){c.push(n.recurse(t.expression))});var l=0===i.body.length?p:1===i.body.length?c[0]:function(t,e){var n;return r(c,function(r){n=r(t,e)}),n};return u&&(l.assign=function(t,e,n){return u(t,n,e)}),a&&(l.inputs=a),l.literal=pn(i),l.constant=dn(i),l},recurse:function(t,e,n){var i,o,u,a=this;if(t.input)return this.inputs(t.input,t.watchId);switch(t.type){case yo.Literal:return this.value(t.value,e);case yo.UnaryExpression:return o=this.recurse(t.argument),this["unary"+t.operator](o,e);case yo.BinaryExpression:return i=this.recurse(t.left),o=this.recurse(t.right),this["binary"+t.operator](i,o,e);case yo.LogicalExpression:return i=this.recurse(t.left),o=this.recurse(t.right),this["binary"+t.operator](i,o,e);case yo.ConditionalExpression:return this["ternary?:"](this.recurse(t.test),this.recurse(t.alternate),this.recurse(t.consequent),e);case yo.Identifier:return tn(t.name,a.expression),a.identifier(t.name,a.expensiveChecks||gn(t.name),e,n,a.expression);case yo.MemberExpression:return i=this.recurse(t.object,!1,!!n),t.computed||(tn(t.property.name,a.expression),o=t.property.name),t.computed&&(o=this.recurse(t.property)),t.computed?this.computedMember(i,o,e,n,a.expression):this.nonComputedMember(i,o,a.expensiveChecks,e,n,a.expression);case yo.CallExpression:return u=[],r(t.arguments,function(t){u.push(a.recurse(t))}),t.filter&&(o=this.$filter(t.callee.name)),t.filter||(o=this.recurse(t.callee,!0)),t.filter?function(t,n,r,i){for(var a=[],s=0;s":function(t,e,n){return function(r,i,o,u){var a=t(r,i,o,u)>e(r,i,o,u);return n?{value:a}:a}},"binary<=":function(t,e,n){return function(r,i,o,u){var a=t(r,i,o,u)<=e(r,i,o,u);return n?{value:a}:a}},"binary>=":function(t,e,n){return function(r,i,o,u){var a=t(r,i,o,u)>=e(r,i,o,u);return n?{value:a}:a}},"binary&&":function(t,e,n){return function(r,i,o,u){var a=t(r,i,o,u)&&e(r,i,o,u);return n?{value:a}:a}},"binary||":function(t,e,n){return function(r,i,o,u){var a=t(r,i,o,u)||e(r,i,o,u);return n?{value:a}:a}},"ternary?:":function(t,e,n,r){return function(i,o,u,a){var s=t(i,o,u,a)?e(i,o,u,a):n(i,o,u,a);return r?{value:s}:s}},value:function(t,e){return function(){return e?{context:void 0,name:void 0,value:t}:t}},identifier:function(t,e,n,r,i){return function(o,u,a,s){var c=u&&t in u?u:o;r&&1!==r&&c&&!c[t]&&(c[t]={});var l=c?c[t]:void 0;return e&&nn(l,i),n?{context:c,name:t,value:l}:l}},computedMember:function(t,e,n,r,i){return function(o,u,a,s){var c,l,f=t(o,u,a,s);return null!=f&&(c=e(o,u,a,s),c=en(c),tn(c,i),r&&1!==r&&(on(f),f&&!f[c]&&(f[c]={})),l=f[c],nn(l,i)),n?{context:f,name:c,value:l}:l}},nonComputedMember:function(t,e,n,r,i,o){return function(u,a,s,c){var l=t(u,a,s,c);i&&1!==i&&(on(l),l&&!l[e]&&(l[e]={}));var f=null!=l?l[e]:void 0;return(n||gn(e))&&nn(f,o),r?{context:l,name:e,value:f}:f}},inputs:function(t,e){return function(n,r,i,o){return o?o[e]:t(n,r,i)}}};var bo=function(t,e,n){this.lexer=t,this.$filter=e,this.options=n,this.ast=new yo(t,n),this.astCompiler=n.csp?new $n(this.ast,e):new vn(this.ast,e)};bo.prototype={constructor:bo,parse:function(t){return this.astCompiler.compile(t,this.options.expensiveChecks)}};var wo=Object.prototype.valueOf,xo=e("$sce"),_o={HTML:"html",CSS:"css",URL:"url",RESOURCE_URL:"resourceUrl",JS:"js"},So=e("$compile"),Co=t.document.createElement("a"),Eo=Nn(t.location.href);Dn.$inject=["$document"],Un.$inject=["$provide"];var Ao=22,ko=".",Oo="0";Hn.$inject=["$locale"],zn.$inject=["$locale"];var jo={yyyy:Kn("FullYear",4,0,!1,!0),yy:Kn("FullYear",2,0,!0,!0),y:Kn("FullYear",1,0,!1,!0),MMMM:Yn("Month"),MMM:Yn("Month",!0),MM:Kn("Month",2,1),M:Kn("Month",1,1),LLLL:Yn("Month",!1,!0),dd:Kn("Date",2),d:Kn("Date",1),HH:Kn("Hours",2),H:Kn("Hours",1),hh:Kn("Hours",2,-12),h:Kn("Hours",1,-12),mm:Kn("Minutes",2),m:Kn("Minutes",1),ss:Kn("Seconds",2),s:Kn("Seconds",1),sss:Kn("Milliseconds",3),EEEE:Yn("Day"),EEE:Yn("Day",!0),a:nr,Z:Xn,ww:er(2),w:er(1),G:rr,GG:rr,GGG:rr,GGGG:ir},Mo=/((?:[^yMLdHhmsaZEwG']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|L+|d+|H+|h+|m+|s+|a|Z|G+|w+))(.*)/,To=/^\-?\d+$/;or.$inject=["$locale"];var Io=v(Ir),No=v(Nr);cr.$inject=["$parse"];var Vo=v({restrict:"E",compile:function(t,e){if(!e.href&&!e.xlinkHref)return function(t,e){if("a"===e[0].nodeName.toLowerCase()){var n="[object SVGAnimatedString]"===Hr.call(e.prop("href"))?"xlink:href":"href";e.on("click",function(t){e.attr(n)||t.preventDefault()})}}}}),Ro={};r(Ai,function(t,e){function n(t,n,i){t.$watch(i[r],function(t){i.$set(e,!!t)})}if("multiple"!=t){var r=$e("ng-"+e),i=n;"checked"===t&&(i=function(t,e,i){i.ngModel!==i[r]&&n(t,e,i)}),Ro[r]=function(){return{restrict:"A",priority:100,link:i}}}}),r(Oi,function(t,e){Ro[e]=function(){return{priority:100,link:function(t,n,r){if("ngPattern"===e&&"/"==r.ngPattern.charAt(0)){var i=r.ngPattern.match(jr);if(i)return void r.$set("ngPattern",new RegExp(i[1],i[2]))}t.$watch(r[e],function(t){r.$set(e,t)})}}}}),r(["src","srcset","href"],function(t){var e=$e("ng-"+t);Ro[e]=function(){return{priority:99,link:function(n,r,i){var o=t,u=t;"href"===t&&"[object SVGAnimatedString]"===Hr.call(r.prop("href"))&&(u="xlinkHref",i.$attr[u]="xlink:href",o=null),i.$observe(e,function(e){return e?(i.$set(u,e),void(Dr&&o&&r.prop(o,i[u]))):void("href"===t&&i.$set(u,null))})}}}});var Do={$addControl:p,$$renameControl:fr,$removeControl:p,$setValidity:p,$setDirty:p,$setPristine:p,$setSubmitted:p},Po="ng-submitted";hr.$inject=["$element","$attrs","$scope","$animate","$interpolate"];var Uo=function(t){return["$timeout","$parse",function(e,n){function r(t){return""===t?n('this[""]').assign:n(t).assign||p}var i={name:"form",restrict:t?"EAC":"E",require:["form","^^?form"],controller:hr,compile:function(n,i){n.addClass(wu).addClass(yu);var o=i.name?"name":!(!t||!i.ngForm)&&"ngForm";return{pre:function(t,n,i,u){var a=u[0];if(!("action"in i)){var s=function(e){t.$apply(function(){a.$commitViewValue(),a.$setSubmitted()}),e.preventDefault()};di(n[0],"submit",s),n.on("$destroy",function(){e(function(){vi(n[0],"submit",s)},0,!1)})}var l=u[1]||a.$$parentForm;l.$addControl(a);var f=o?r(a.$name):p;o&&(f(t,a),i.$observe(o,function(e){a.$name!==e&&(f(t,void 0),a.$$parentForm.$$renameControl(a,e),(f=r(a.$name))(t,a))})),n.on("$destroy",function(){a.$$parentForm.$removeControl(a),f(t,void 0),c(a,Do)})}}}};return i}]},Fo=Uo(),Lo=Uo(!0),qo=/^\d{4,}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+(?:[+-][0-2]\d:[0-5]\d|Z)$/,Bo=/^[a-z][a-z\d.+-]*:\/*(?:[^:@]+(?::[^@]+)?@)?(?:[^\s:\/?#]+|\[[a-f\d:]+\])(?::\d+)?(?:\/[^?#]*)?(?:\?[^#]*)?(?:#.*)?$/i,Ho=/^(?=.{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])?)*$/,zo=/^\s*(\-|\+)?(\d+|(\d*(\.\d*)))([eE][+-]?\d+)?\s*$/,Wo=/^(\d{4,})-(\d{2})-(\d{2})$/,Go=/^(\d{4,})-(\d\d)-(\d\d)T(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,Zo=/^(\d{4,})-W(\d\d)$/,Jo=/^(\d{4,})-(\d\d)$/,Ko=/^(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,Yo="keydown wheel mousedown",Xo=dt();r("date,datetime-local,month,time,week".split(","),function(t){Xo[t]=!0});var Qo={text:dr,date:mr("date",Wo,gr(Wo,["yyyy","MM","dd"]),"yyyy-MM-dd"),"datetime-local":mr("datetimelocal",Go,gr(Go,["yyyy","MM","dd","HH","mm","ss","sss"]),"yyyy-MM-ddTHH:mm:ss.sss"),time:mr("time",Ko,gr(Ko,["HH","mm","ss","sss"]),"HH:mm:ss.sss"),week:mr("week",Zo,$r,"yyyy-Www"),month:mr("month",Jo,gr(Jo,["yyyy","MM"]),"yyyy-MM"),number:br,url:wr,email:xr,radio:_r,checkbox:Cr,hidden:p,button:p,submit:p,reset:p,file:p},tu=["$browser","$sniffer","$filter","$parse",function(t,e,n,r){return{restrict:"E",require:["?ngModel"],link:{pre:function(i,o,u,a){a[0]&&(Qo[Ir(u.type)]||Qo.text)(i,o,u,a[0],e,t,n,r)}}}}],eu=/^(true|false|\d+)$/,nu=function(){return{restrict:"A",priority:100,compile:function(t,e){return eu.test(e.ngValue)?function(t,e,n){n.$set("value",t.$eval(n.ngValue))}:function(t,e,n){t.$watch(n.ngValue,function(t){n.$set("value",t)})}}}},ru=["$compile",function(t){return{restrict:"AC",compile:function(e){return t.$$addBindingClass(e),function(e,n,r){t.$$addBindingInfo(n,r.ngBind),n=n[0],e.$watch(r.ngBind,function(t){n.textContent=g(t)?"":t})}}}}],iu=["$interpolate","$compile",function(t,e){return{compile:function(n){return e.$$addBindingClass(n),function(n,r,i){var o=t(r.attr(i.$attr.ngBindTemplate));e.$$addBindingInfo(r,o.expressions),r=r[0],i.$observe("ngBindTemplate",function(t){r.textContent=g(t)?"":t})}}}}],ou=["$sce","$parse","$compile",function(t,e,n){return{restrict:"A",compile:function(r,i){var o=e(i.ngBindHtml),u=e(i.ngBindHtml,function(e){return t.valueOf(e)});return n.$$addBindingClass(r),function(e,r,i){n.$$addBindingInfo(r,i.ngBindHtml),e.$watch(u,function(){var n=o(e);r.html(t.getTrustedHtml(n)||"")})}}}}],uu=v({restrict:"A",require:"ngModel",link:function(t,e,n,r){r.$viewChangeListeners.push(function(){t.$eval(n.ngChange)})}}),au=Er("",!0),su=Er("Odd",0),cu=Er("Even",1),lu=lr({compile:function(t,e){e.$set("ngCloak",void 0),t.removeClass("ng-cloak")}}),fu=[function(){return{restrict:"A",scope:!0,controller:"@",priority:500}}],hu={},pu={blur:!0,focus:!0};r("click dblclick mousedown mouseup mouseover mouseout mousemove mouseenter mouseleave keydown keyup keypress submit focus blur copy cut paste".split(" "),function(t){var e=$e("ng-"+t);hu[e]=["$parse","$rootScope",function(n,r){return{restrict:"A",compile:function(i,o){var u=n(o[e],null,!0);return function(e,n){n.on(t,function(n){var i=function(){u(e,{$event:n})};pu[t]&&r.$$phase?e.$evalAsync(i):e.$apply(i)})}}}}]});var du=["$animate","$compile",function(t,e){return{multiElement:!0,transclude:"element",priority:600,terminal:!0,restrict:"A",$$tlb:!0,link:function(n,r,i,o,u){var a,s,c;n.$watch(i.ngIf,function(n){n?s||u(function(n,o){s=o,n[n.length++]=e.$$createComment("end ngIf",i.ngIf),a={clone:n},t.enter(n,r.parent(),r)}):(c&&(c.remove(),c=null),s&&(s.$destroy(),s=null),a&&(c=pt(a.clone),t.leave(c).then(function(){c=null}),a=null))})}}}],vu=["$templateRequest","$anchorScroll","$animate",function(t,e,n){return{restrict:"ECA",priority:400,terminal:!0,transclude:"element",controller:Gr.noop,compile:function(r,i){var o=i.ngInclude||i.src,u=i.onload||"",a=i.autoscroll;return function(r,i,s,c,l){var f,h,p,d=0,v=function(){h&&(h.remove(),h=null),f&&(f.$destroy(),f=null),p&&(n.leave(p).then(function(){h=null}),h=p,p=null)};r.$watch(o,function(o){var s=function(){!m(a)||a&&!r.$eval(a)||e()},h=++d;o?(t(o,!0).then(function(t){if(!r.$$destroyed&&h===d){var e=r.$new();c.template=t;var a=l(e,function(t){v(),n.enter(t,null,i).then(s)});f=e,p=a,f.$emit("$includeContentLoaded",o),r.$eval(u)}},function(){r.$$destroyed||h===d&&(v(),r.$emit("$includeContentError",o))}),r.$emit("$includeContentRequested",o)):(v(),c.template=null)})}}}}],$u=["$compile",function(e){return{restrict:"ECA",priority:-400,require:"ngInclude",link:function(n,r,i,o){return Hr.call(r[0]).match(/SVG/)?(r.empty(),void e(Et(o.template,t.document).childNodes)(n,function(t){r.append(t)},{futureParentElement:r})):(r.html(o.template),void e(r.contents())(n))}}}],gu=lr({priority:450,compile:function(){return{pre:function(t,e,n){t.$eval(n.ngInit)}}}}),mu=function(){return{restrict:"A",priority:100,require:"ngModel",link:function(t,e,n,i){var o=e.attr(n.$attr.ngList)||", ",u="false"!==n.ngTrim,a=u?Yr(o):o,s=function(t){if(!g(t)){var e=[];return t&&r(t.split(a),function(t){t&&e.push(u?Yr(t):t)}),e}};i.$parsers.push(s),i.$formatters.push(function(t){if(Jr(t))return t.join(o)}),i.$isEmpty=function(t){return!t||!t.length}}}},yu="ng-valid",bu="ng-invalid",wu="ng-pristine",xu="ng-dirty",_u="ng-untouched",Su="ng-touched",Cu="ng-pending",Eu="ng-empty",Au="ng-not-empty",ku=e("ngModel"),Ou=["$scope","$exceptionHandler","$attrs","$element","$parse","$animate","$timeout","$rootScope","$q","$interpolate",function(t,e,n,i,o,u,a,s,c,l){this.$viewValue=Number.NaN,this.$modelValue=Number.NaN,this.$$rawModelValue=void 0,this.$validators={},this.$asyncValidators={},this.$parsers=[],this.$formatters=[],this.$viewChangeListeners=[],this.$untouched=!0,this.$touched=!1,this.$pristine=!0,this.$dirty=!1,this.$valid=!0,this.$invalid=!1,this.$error={},this.$$success={},this.$pending=void 0,this.$name=l(n.name||"",!1)(t),this.$$parentForm=Do;var f,h=o(n.ngModel),d=h.assign,v=h,$=d,y=null,b=this;this.$$setOptions=function(t){if(b.$options=t,t&&t.getterSetter){var e=o(n.ngModel+"()"),r=o(n.ngModel+"($$$p)");v=function(t){var n=h(t);return S(n)&&(n=e(t)),n},$=function(t,e){S(h(t))?r(t,{$$$p:e}):d(t,e)}}else if(!h.assign)throw ku("nonassign","Expression '{0}' is non-assignable. Element: {1}",n.ngModel,K(i))},this.$render=p,this.$isEmpty=function(t){return g(t)||""===t||null===t||t!==t},this.$$updateEmptyClasses=function(t){b.$isEmpty(t)?(u.removeClass(i,Au),u.addClass(i,Eu)):(u.removeClass(i,Eu),u.addClass(i,Au))};var w=0;Ar({ctrl:this,$element:i,set:function(t,e){t[e]=!0},unset:function(t,e){delete t[e]},$animate:u}),this.$setPristine=function(){b.$dirty=!1,b.$pristine=!0,u.removeClass(i,xu),u.addClass(i,wu)},this.$setDirty=function(){b.$dirty=!0,b.$pristine=!1,u.removeClass(i,wu),u.addClass(i,xu),b.$$parentForm.$setDirty()},this.$setUntouched=function(){b.$touched=!1,b.$untouched=!0,u.setClass(i,_u,Su)},this.$setTouched=function(){b.$touched=!0,b.$untouched=!1,u.setClass(i,Su,_u)},this.$rollbackViewValue=function(){a.cancel(y),b.$viewValue=b.$$lastCommittedViewValue,b.$render()},this.$validate=function(){if(!x(b.$modelValue)||!isNaN(b.$modelValue)){var t=b.$$lastCommittedViewValue,e=b.$$rawModelValue,n=b.$valid,r=b.$modelValue,i=b.$options&&b.$options.allowInvalid;b.$$runValidators(e,t,function(t){i||n===t||(b.$modelValue=t?e:void 0,b.$modelValue!==r&&b.$$writeModelToScope())})}},this.$$runValidators=function(t,e,n){function i(){var t=b.$$parserName||"parse";return g(f)?(a(t,null),!0):(f||(r(b.$validators,function(t,e){a(e,null)}),r(b.$asyncValidators,function(t,e){a(e,null)})),a(t,f),f)}function o(){var n=!0;return r(b.$validators,function(r,i){var o=r(t,e);n=n&&o,a(i,o)}),!!n||(r(b.$asyncValidators,function(t,e){a(e,null)}),!1)}function u(){var n=[],i=!0;r(b.$asyncValidators,function(r,o){var u=r(t,e);if(!T(u))throw ku("nopromise","Expected asynchronous validator to return a promise but got '{0}' instead.",u);a(o,void 0),n.push(u.then(function(){a(o,!0)},function(){i=!1,a(o,!1)}))}),n.length?c.all(n).then(function(){s(i)},p):s(!0)}function a(t,e){l===w&&b.$setValidity(t,e)}function s(t){l===w&&n(t)}w++;var l=w;return i()&&o()?void u():void s(!1)},this.$commitViewValue=function(){var t=b.$viewValue;a.cancel(y),(b.$$lastCommittedViewValue!==t||""===t&&b.$$hasNativeValidators)&&(b.$$updateEmptyClasses(t),b.$$lastCommittedViewValue=t,b.$pristine&&this.$setDirty(),this.$$parseAndValidate())},this.$$parseAndValidate=function(){function e(){b.$modelValue!==o&&b.$$writeModelToScope()}var n=b.$$lastCommittedViewValue,r=n;if(f=!g(r)||void 0)for(var i=0;i=0;e--){var r=_.items[e];Bt(m(r.group)?r.element.parentNode:r.element)}_=S.getOptions();var i={};if(w&&n.prepend(p),_.items.forEach(function(t){var e;m(t.group)?(e=i[t.group],e||(e=c.cloneNode(!1),C.appendChild(e),e.label=null===t.group?"null":t.group,i[t.group]=e),l(t,e)):l(t,C)}),n[0].appendChild(C),v.$render(),!v.$isEmpty(t)){var o=d.readValue(),u=S.trackBy||$;(u?F(t,o):t===o)||(v.$setViewValue(o),v.$render())}}for(var p,d=a[0],v=a[1],$=o.multiple,g=0,y=n.children(),b=y.length;g0&&(t=new RegExp("^"+t+"$")),t&&!t.test)throw e("ngPattern")("noregexp","Expected {0} to be a RegExp but was {1}. Element: {2}",u,t,K(n));o=t||void 0,i.$validate()}),i.$validators.pattern=function(t,e){return i.$isEmpty(e)||g(o)||o.test(e)}}}}},ra=function(){return{restrict:"A",require:"?ngModel",link:function(t,e,n,r){if(r){var i=-1;n.$observe("maxlength",function(t){var e=f(t);i=isNaN(e)?-1:e,r.$validate()}),r.$validators.maxlength=function(t,e){return i<0||r.$isEmpty(e)||e.length<=i}}}}},ia=function(){return{restrict:"A",require:"?ngModel",link:function(t,e,n,r){if(r){var i=0;n.$observe("minlength",function(t){i=f(t)||0,r.$validate()}),r.$validators.minlength=function(t,e){return r.$isEmpty(e)||e.length>=i}}}}};return t.angular.bootstrap?void(t.console&&console.log("WARNING: Tried to load angular more than once.")):(st(),yt(Gr),Gr.module("ngLocale",[],["$provide",function(t){function e(t){t+="";var e=t.indexOf(".");return e==-1?0:t.length-e-1}function n(t,n){var r=n;void 0===r&&(r=Math.min(e(t),3));var i=Math.pow(10,r),o=(t*i|0)%i;return{v:r,f:o}}var r={ZERO:"zero",ONE:"one",TWO:"two",FEW:"few",MANY:"many",OTHER:"other"};t.value("$locale",{DATETIME_FORMATS:{AMPMS:["AM","PM"],DAY:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],ERANAMES:["Before Christ","Anno Domini"],ERAS:["BC","AD"],FIRSTDAYOFWEEK:6,MONTH:["January","February","March","April","May","June","July","August","September","October","November","December"],SHORTDAY:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],SHORTMONTH:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],STANDALONEMONTH:["January","February","March","April","May","June","July","August","September","October","November","December"],WEEKENDRANGE:[5,6],fullDate:"EEEE, MMMM d, y",longDate:"MMMM d, y",medium:"MMM d, y h:mm:ss a",mediumDate:"MMM d, y",mediumTime:"h:mm:ss a","short":"M/d/yy h:mm a",shortDate:"M/d/yy",shortTime:"h:mm a"},NUMBER_FORMATS:{CURRENCY_SYM:"$",DECIMAL_SEP:".",GROUP_SEP:",",PATTERNS:[{gSize:3,lgSize:3,maxFrac:3,minFrac:0,minInt:1,negPre:"-",negSuf:"",posPre:"",posSuf:""},{gSize:3,lgSize:3,maxFrac:2,minFrac:2,minInt:1,negPre:"-¤",negSuf:"",posPre:"¤",posSuf:""}]},id:"en-us",localeID:"en_US",pluralCat:function(t,e){var i=0|t,o=n(t,e);return 1==i&&0==o.v?r.ONE:r.OTHER}})}]),void Pr(t.document).ready(function(){rt(t.document,it)}))}(window),!window.angular.$$csp().noInlineStyle&&window.angular.element(document.head).prepend(''),function(t,e){"use strict";function n(t,e){if(a(t)){e=e||[];for(var n=0,r=t.length;n-1}function c(t,e,n){for(var r=-1,i=t?t.length:0;++r-1;);return n}function N(t,e){for(var n=t.length;n--&&y(e,t[n],0)>-1;);return n}function V(t,e){for(var n=t.length,r=0;n--;)t[n]===e&&r++;return r}function R(t){return"\\"+Pn[t]}function D(t,e){return null==t?Q:t[e]}function P(t){return On.test(t)}function U(t){return jn.test(t)}function F(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(n){}return e}function L(t){for(var e,n=[];!(e=t.next()).done;)n.push(e.value);return n}function q(t){var e=-1,n=Array(t.size);return t.forEach(function(t,r){n[++e]=[r,t]}),n}function B(t,e){return function(n){return t(e(n))}}function H(t,e){for(var n=-1,r=t.length,i=0,o=[];++n-1}function en(t,e){var n=this.__data__,r=xn(n,t);return r<0?n.push([t,e]):n[r][1]=e,this}function nn(t){var e=-1,n=t?t.length:0;for(this.clear();++e=e?t:e)),t}function On(t,e,n,r,o,u,a){var s;if(r&&(s=u?r(t,o,u,a):r(t)),s!==Q)return s;if(!Ra(t))return t;var c=Bf(t);if(c){if(s=lo(t),!e)return Si(t,s)}else{var l=Ql(t),f=l==Dt||l==Pt;if(zf(t))return hi(t,e);if(l==Lt||l==Tt||f&&!u){if(F(t))return u?t:{};if(s=fo(f?{}:t),!e)return Ei(t,Sn(s,t))}else{if(!Nn[l])return u?t:{};s=ho(t,l,On,e)}}a||(a=new hn);var h=a.get(t);if(h)return h;if(a.set(t,s),!c)var p=n?Qi(t):ms(t);return i(p||t,function(i,o){p&&(o=i,i=t[o]),wn(s,o,On(i,e,n,r,o,t,a))}),s}function jn(t){var e=ms(t);return function(n){return Vn(n,t,e)}}function Vn(t,e,n){var r=n.length;if(null==t)return!r;for(t=Uc(t);r--;){var i=n[r],o=e[i],u=t[i];if(u===Q&&!(i in t)||!o(u))return!1}return!0}function Rn(t){return Ra(t)?ul(t):{}}function Dn(t,e,n){if("function"!=typeof t)throw new qc(nt);return nf(function(){t.apply(Q,n)},e)}function Pn(t,e,n,r){var i=-1,o=s,u=!0,a=t.length,f=[],h=e.length;if(!a)return f;n&&(e=l(e,j(n))),r?(o=c,u=!1):e.length>=et&&(o=T,u=!1,e=new cn(e));t:for(;++ii?0:i+n),r=r===Q||r>i?i:ts(r),r<0&&(r+=i),r=n>r?0:es(r);n0&&n(a)?e>1?Gn(a,e-1,n,r,i):f(i,a):r||(i[i.length]=a)}return i}function Zn(t,e){return t&&zl(t,e,ms)}function er(t,e){return t&&Wl(t,e,ms)}function ur(t,e){return a(e,function(e){return Ia(t[e])})}function ar(t,e){e=mo(e,t)?[e]:li(e);for(var n=0,r=e.length;null!=t&&ne}function fr(t,e){return null!=t&&Jc.call(t,e)}function hr(t,e){return null!=t&&e in Uc(t)}function pr(t,e,n){return t>=wl(e,n)&&t=120&&p.length>=120)?new cn(u&&p):Q}p=t[0];var d=-1,v=a[0];t:for(;++d-1;)a!==t&&sl.call(a,s,1),sl.call(t,s,1);return t}function qr(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;if($o(i))sl.call(t,i,1);else if(mo(i,t))delete t[jo(i)];else{var u=li(i),a=ko(t,u);null!=a&&delete a[jo(Xo(u))]}}}return t}function Br(t,e){return t+dl(_l()*(e-t+1))}function Hr(t,e,n,r){for(var i=-1,o=bl(pl((e-t)/(n||1)),0),u=Nc(o);o--;)u[r?o:++i]=t,t+=n;return u}function zr(t,e){var n="";if(!t||e<1||e>Ct)return n;do e%2&&(n+=t),e=dl(e/2),e&&(t+=t);while(e);return n}function Wr(t,e){return e=bl(e===Q?t.length-1:e,0),function(){for(var r=arguments,i=-1,o=bl(r.length-e,0),u=Nc(o);++ii?0:i+e),n=n>i?i:n,n<0&&(n+=i),i=e>n?0:n-e>>>0,e>>>=0;for(var o=Nc(i);++r>>1,u=t[o];null!==u&&!Za(u)&&(n?u<=e:u=et){var f=e?null:Jl(t);if(f)return z(f);u=!1,i=T,l=new cn}else l=e?[]:a;t:for(;++r=r?t:Zr(t,e,n)}function hi(t,e){if(e)return t.slice();var n=new t.constructor(t.length);return t.copy(n),n}function pi(t){var e=new t.constructor(t.byteLength);return new rl(e).set(new rl(t)),e}function di(t,e){var n=e?pi(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}function vi(e,n,r){var i=n?r(q(e),!0):q(e);return h(i,t,new e.constructor)}function $i(t){var e=new t.constructor(t.source,Me.exec(t));return e.lastIndex=t.lastIndex,e}function gi(t,n,r){var i=n?r(z(t),!0):z(t);return h(i,e,new t.constructor)}function mi(t){return Ll?Uc(Ll.call(t)):{}}function yi(t,e){var n=e?pi(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}function bi(t,e){if(t!==e){var n=t!==Q,r=null===t,i=t===t,o=Za(t),u=e!==Q,a=null===e,s=e===e,c=Za(e);if(!a&&!c&&!o&&t>e||o&&u&&s&&!a&&!c||r&&u&&s||!n&&s||!i)return 1;if(!r&&!o&&!c&&t=a)return s;var c=n[r];return s*("desc"==c?-1:1)}}return t.index-e.index}function xi(t,e,n,r){for(var i=-1,o=t.length,u=n.length,a=-1,s=e.length,c=bl(o-u,0),l=Nc(s+c),f=!r;++a1?n[i-1]:Q,u=i>2?n[2]:Q;for(o=t.length>3&&"function"==typeof o?(i--,o):Q,u&&go(n[0],n[1],u)&&(o=i<3?Q:o,i=1),e=Uc(e);++r-1?i[o?e[u]:u]:Q}}function Di(t){return Wr(function(e){e=Gn(e,1);var n=e.length,r=n,i=K.prototype.thru;for(t&&e.reverse();r--;){var o=e[r];if("function"!=typeof o)throw new qc(nt);if(i&&!u&&"wrapper"==eo(o))var u=new K([],(!0))}for(r=u?r:n;++r=et)return u.plant(r).value();for(var i=0,o=n?e[i].apply(this,t):r;++i1&&m.reverse(),f&&sa))return!1;var c=o.get(t);if(c&&o.get(e))return c==e;var l=-1,f=!0,h=i&vt?new cn:Q;for(o.set(t,e),o.set(e,t);++l1?"& ":"")+e[r],e=e.join(n>2?", ":" "),t.replace(Ce,"{\n/* [wrapped with "+e+"] */\n")}function vo(t){return Bf(t)||_a(t)||!!(cl&&t&&t[cl])}function $o(t,e){return e=null==e?Ct:e,!!e&&("number"==typeof t||De.test(t))&&t>-1&&t%1==0&&t=this.__values__.length,e=t?Q:this.__values__[this.__index__++];return{done:t,value:e}}function Iu(){return this}function Nu(t){for(var e,n=this;n instanceof J;){var r=Io(n);r.__index__=0,r.__values__=Q,e?i.__wrapped__=r:e=r;var i=r;n=n.__wrapped__}return i.__wrapped__=t,e}function Vu(){var t=this.__wrapped__;if(t instanceof ke){var e=t;return this.__actions__.length&&(e=new ke(this)),e=e.reverse(),e.__actions__.push({func:Ou,args:[ou],thisArg:Q}),new K(e,this.__chain__)}return this.thru(ou)}function Ru(){return oi(this.__wrapped__,this.__actions__)}function Du(t,e,n){var r=Bf(t)?u:Ln;return n&&go(t,e,n)&&(e=Q),r(t,ro(e,3))}function Pu(t,e){var n=Bf(t)?a:zn;return n(t,ro(e,3))}function Uu(t,e){return Gn(zu(t,e),1)}function Fu(t,e){return Gn(zu(t,e),St)}function Lu(t,e,n){return n=n===Q?1:ts(n),Gn(zu(t,e),n)}function qu(t,e){var n=Bf(t)?i:Bl;return n(t,ro(e,3))}function Bu(t,e){var n=Bf(t)?o:Hl;return n(t,ro(e,3))}function Hu(t,e,n,r){t=Sa(t)?t:Ms(t),n=n&&!r?ts(n):0;var i=t.length;return n<0&&(n=bl(i+n,0)),Ga(t)?n<=i&&t.indexOf(e,n)>-1:!!i&&y(t,e,n)>-1}function zu(t,e){var n=Bf(t)?l:Mr;return n(t,ro(e,3))}function Wu(t,e,n,r){return null==t?[]:(Bf(e)||(e=null==e?[]:[e]),n=r?Q:n,Bf(n)||(n=null==n?[]:[n]),Dr(t,e,n))}function Gu(t,e,n){var r=Bf(t)?h:C,i=arguments.length<3;return r(t,ro(e,4),n,i,Bl)}function Zu(t,e,n){var r=Bf(t)?p:C,i=arguments.length<3;return r(t,ro(e,4),n,i,Hl)}function Ju(t,e){var n=Bf(t)?a:zn;return n(t,ca(ro(e,3)))}function Ku(t){var e=Sa(t)?t:Ms(t),n=e.length;return n>0?e[Br(0,n-1)]:Q}function Yu(t,e,n){var r=-1,i=Xa(t),o=i.length,u=o-1;for(e=(n?go(t,e,n):e===Q)?1:kn(ts(e),0,o);++r0&&(n=e.apply(this,arguments)),t<=1&&(e=Q),n}}function ia(t,e,n){e=n?Q:e;var r=Ji(t,st,Q,Q,Q,Q,Q,e);return r.placeholder=ia.placeholder,r}function oa(t,e,n){e=n?Q:e;var r=Ji(t,ct,Q,Q,Q,Q,Q,e);return r.placeholder=oa.placeholder,r}function ua(t,e,n){function r(e){var n=h,r=p;return h=p=Q,m=e,v=t.apply(r,n)}function i(t){return m=t,$=nf(a,e),y?r(t):v}function o(t){var n=t-g,r=t-m,i=e-n;return b?wl(i,d-r):i}function u(t){var n=t-g,r=t-m;return g===Q||n>=e||n<0||b&&r>=d}function a(){var t=Tf();return u(t)?s(t):void($=nf(a,o(t)))}function s(t){return $=Q,w&&h?r(t):(h=p=Q,v)}function c(){$!==Q&&Zl($),m=0,h=g=p=$=Q}function l(){return $===Q?v:s(Tf())}function f(){var t=Tf(),n=u(t);if(h=arguments,p=this,g=t,n){if($===Q)return i(g);if(b)return $=nf(a,e),r(g)}return $===Q&&($=nf(a,e)),v}var h,p,d,v,$,g,m=0,y=!1,b=!1,w=!0;if("function"!=typeof t)throw new qc(nt);return e=ns(e)||0,Ra(n)&&(y=!!n.leading,b="maxWait"in n,d=b?bl(ns(n.maxWait)||0,e):d,w="trailing"in n?!!n.trailing:w),f.cancel=c,f.flush=l,f}function aa(t){return Ji(t,dt)}function sa(t,e){if("function"!=typeof t||e&&"function"!=typeof e)throw new qc(nt);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 u=t.apply(this,r);return n.cache=o.set(i,u),u};return n.cache=new(sa.Cache||nn),n}function ca(t){if("function"!=typeof t)throw new qc(nt);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 la(t){return ra(2,t)}function fa(t,e){if("function"!=typeof t)throw new qc(nt);return e=e===Q?e:ts(e),Wr(t,e)}function ha(t,e){if("function"!=typeof t)throw new qc(nt);return e=e===Q?0:bl(ts(e),0),Wr(function(r){var i=r[e],o=fi(r,0,e);return i&&f(o,i),n(t,this,o)})}function pa(t,e,n){var r=!0,i=!0;if("function"!=typeof t)throw new qc(nt);return Ra(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),ua(t,e,{leading:r,maxWait:e,trailing:i})}function da(t){return na(t,1)}function va(t,e){return e=null==e?sc:e,Pf(e,t)}function $a(){if(!arguments.length)return[];var t=arguments[0];return Bf(t)?t:[t]}function ga(t){return On(t,!1,!0)}function ma(t,e){return On(t,!1,!0,e)}function ya(t){return On(t,!0,!0)}function ba(t,e){return On(t,!0,!0,e)}function wa(t,e){return null==e||Vn(t,e,ms(e))}function xa(t,e){return t===e||t!==t&&e!==e}function _a(t){return Ca(t)&&Jc.call(t,"callee")&&(!al.call(t,"callee")||Xc.call(t)==Tt)}function Sa(t){return null!=t&&Va(t.length)&&!Ia(t)}function Ca(t){return Da(t)&&Sa(t)}function Ea(t){return t===!0||t===!1||Da(t)&&Xc.call(t)==Nt}function Aa(t){return!!t&&1===t.nodeType&&Da(t)&&!za(t)}function ka(t){if(Sa(t)&&(Bf(t)||"string"==typeof t||"function"==typeof t.splice||zf(t)||_a(t)))return!t.length;var e=Ql(t);if(e==Ut||e==Ht)return!t.size;if(Il||xo(t))return!yl(t).length;for(var n in t)if(Jc.call(t,n))return!1;return!0}function Oa(t,e){return yr(t,e)}function ja(t,e,n){n="function"==typeof n?n:Q;var r=n?n(t,e):Q;return r===Q?yr(t,e,n):!!r}function Ma(t){return!!Da(t)&&(Xc.call(t)==Rt||"string"==typeof t.message&&"string"==typeof t.name)}function Ta(t){return"number"==typeof t&&gl(t)}function Ia(t){var e=Ra(t)?Xc.call(t):"";return e==Dt||e==Pt}function Na(t){return"number"==typeof t&&t==ts(t)}function Va(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=Ct}function Ra(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function Da(t){return!!t&&"object"==typeof t}function Pa(t,e){return t===e||xr(t,e,oo(e))}function Ua(t,e,n){return n="function"==typeof n?n:Q,xr(t,e,oo(e),n)}function Fa(t){return Ha(t)&&t!=+t}function La(t){if(tf(t))throw new Rc("This method is not supported with core-js. Try https://github.com/es-shims.");return _r(t)}function qa(t){return null===t}function Ba(t){return null==t}function Ha(t){return"number"==typeof t||Da(t)&&Xc.call(t)==Ft}function za(t){if(!Da(t)||Xc.call(t)!=Lt||F(t))return!1;var e=il(t);if(null===e)return!0;var n=Jc.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&Zc.call(n)==Yc}function Wa(t){return Na(t)&&t>=-Ct&&t<=Ct}function Ga(t){return"string"==typeof t||!Bf(t)&&Da(t)&&Xc.call(t)==zt}function Za(t){return"symbol"==typeof t||Da(t)&&Xc.call(t)==Wt}function Ja(t){return t===Q}function Ka(t){return Da(t)&&Ql(t)==Gt}function Ya(t){return Da(t)&&Xc.call(t)==Zt}function Xa(t){if(!t)return[];if(Sa(t))return Ga(t)?Z(t):Si(t);if(ol&&t[ol])return L(t[ol]());var e=Ql(t),n=e==Ut?q:e==Ht?z:Ms;return n(t)}function Qa(t){if(!t)return 0===t?t:0;if(t=ns(t),t===St||t===-St){var e=t<0?-1:1;return e*Et}return t===t?t:0}function ts(t){var e=Qa(t),n=e%1;return e===e?n?e-n:e:0}function es(t){return t?kn(ts(t),0,kt):0}function ns(t){if("number"==typeof t)return t;if(Za(t))return At;if(Ra(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=Ra(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(xe,"");var n=Ne.test(t);return n||Re.test(t)?Fn(t.slice(2),n?2:8):Ie.test(t)?At:+t}function rs(t){return Ci(t,ys(t))}function is(t){return kn(ts(t),-Ct,Ct)}function os(t){return null==t?"":ti(t)}function us(t,e){var n=Rn(t);return e?Sn(n,e):n}function as(t,e){return g(t,ro(e,3),Zn)}function ss(t,e){return g(t,ro(e,3),er)}function cs(t,e){return null==t?t:zl(t,ro(e,3),ys)}function ls(t,e){return null==t?t:Wl(t,ro(e,3),ys)}function fs(t,e){return t&&Zn(t,ro(e,3))}function hs(t,e){return t&&er(t,ro(e,3))}function ps(t){return null==t?[]:ur(t,ms(t))}function ds(t){return null==t?[]:ur(t,ys(t))}function vs(t,e,n){var r=null==t?Q:ar(t,e);return r===Q?n:r}function $s(t,e){return null!=t&&co(t,e,fr)}function gs(t,e){return null!=t&&co(t,e,hr)}function ms(t){return Sa(t)?mn(t):kr(t)}function ys(t){return Sa(t)?mn(t,!0):Or(t)}function bs(t,e){var n={};return e=ro(e,3),Zn(t,function(t,r,i){n[e(t,r,i)]=t}),n}function ws(t,e){var n={};return e=ro(e,3),Zn(t,function(t,r,i){n[r]=e(t,r,i)}),n}function xs(t,e){return _s(t,ca(ro(e)))}function _s(t,e){return null==t?{}:Ur(t,to(t),ro(e))}function Ss(t,e,n){e=mo(e,t)?[e]:li(e);var r=-1,i=e.length;for(i||(t=Q,i=1);++re){var r=t;t=e,e=r}if(n||t%1||e%1){var i=_l();return wl(t+i*(e-t+Un("1e-"+((i+"").length-1))),e)}return Br(t,e)}function Rs(t){return xh(os(t).toLowerCase())}function Ds(t){return t=os(t),t&&t.replace(Pe,nr).replace(En,"")}function Ps(t,e,n){t=os(t),e=ti(e);var r=t.length;n=n===Q?r:kn(ts(n),0,r);var i=n;return n-=e.length,n>=0&&t.slice(n,i)==e}function Us(t){return t=os(t),t&&he.test(t)?t.replace(le,rr):t}function Fs(t){return t=os(t),t&&we.test(t)?t.replace(be,"\\$&"):t}function Ls(t,e,n){t=os(t),e=ts(e);var r=e?G(t):0;if(!e||r>=e)return t;var i=(e-r)/2;return qi(dl(i),n)+t+qi(pl(i),n)}function qs(t,e,n){t=os(t),e=ts(e);var r=e?G(t):0;return e&&r>>0)?(t=os(t),t&&("string"==typeof e||null!=e&&!Zf(e))&&(e=ti(e),!e&&P(t))?fi(Z(t),0,n):t.split(e,n)):[]}function Zs(t,e,n){return t=os(t),n=kn(ts(n),0,t.length),e=ti(e),t.slice(n,n+e.length)==e}function Js(t,e,n){var r=S.templateSettings;n&&go(t,e,n)&&(e=Q),t=os(t),e=eh({},e,r,yn);var i,o,u=eh({},e.imports,r.imports,yn),a=ms(u),s=M(u,a),c=0,l=e.interpolate||Ue,f="__p += '",h=Fc((e.escape||Ue).source+"|"+l.source+"|"+(l===ve?je:Ue).source+"|"+(e.evaluate||Ue).source+"|$","g"),p="//# sourceURL="+("sourceURL"in e?e.sourceURL:"lodash.templateSources["+ ++Tn+"]")+"\n";t.replace(h,function(e,n,r,u,a,s){return r||(r=u),f+=t.slice(c,s).replace(Fe,R),n&&(i=!0,f+="' +\n__e("+n+") +\n'"),a&&(o=!0,f+="';\n"+a+";\n__p += '"),r&&(f+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),c=s+e.length,e}),f+="';\n";var d=e.variable;d||(f="with (obj) {\n"+f+"\n}\n"),f=(o?f.replace(ue,""):f).replace(ae,"$1").replace(se,"$1;"),f="function("+(d||"obj")+") {\n"+(d?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(i?", __e = _.escape":"")+(o?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+f+"return __p\n}";var v=_h(function(){return Dc(a,p+"return "+f).apply(Q,s)});if(v.source=f,Ma(v))throw v;return v}function Ks(t){return os(t).toLowerCase()}function Ys(t){return os(t).toUpperCase()}function Xs(t,e,n){if(t=os(t),t&&(n||e===Q))return t.replace(xe,"");if(!t||!(e=ti(e)))return t;var r=Z(t),i=Z(e),o=I(r,i),u=N(r,i)+1;return fi(r,o,u).join("")}function Qs(t,e,n){if(t=os(t),t&&(n||e===Q))return t.replace(Se,"");if(!t||!(e=ti(e)))return t;var r=Z(t),i=N(r,Z(e))+1;return fi(r,0,i).join("")}function tc(t,e,n){if(t=os(t),t&&(n||e===Q))return t.replace(_e,"");if(!t||!(e=ti(e)))return t;var r=Z(t),i=I(r,Z(e));return fi(r,i).join("")}function ec(t,e){var n=gt,r=mt;if(Ra(e)){var i="separator"in e?e.separator:i;n="length"in e?ts(e.length):n,r="omission"in e?ti(e.omission):r}t=os(t);var o=t.length;if(P(t)){var u=Z(t);o=u.length}if(n>=o)return t;var a=n-G(r);if(a<1)return r;var s=u?fi(u,0,a).join(""):t.slice(0,a);if(i===Q)return s+r;if(u&&(a+=s.length-a),Zf(i)){if(t.slice(a).search(i)){var c,l=s;for(i.global||(i=Fc(i.source,os(Me.exec(i))+"g")),i.lastIndex=0;c=i.exec(l);)var f=c.index;s=s.slice(0,f===Q?a:f)}}else if(t.indexOf(ti(i),a)!=a){var h=s.lastIndexOf(i);h>-1&&(s=s.slice(0,h))}return s+r}function nc(t){return t=os(t),t&&fe.test(t)?t.replace(ce,ir):t}function rc(t,e,n){return t=os(t),e=n?Q:e,e===Q?U(t)?Y(t):$(t):t.match(e)||[]}function ic(t){var e=t?t.length:0,r=ro();return t=e?l(t,function(t){if("function"!=typeof t[1])throw new qc(nt);return[r(t[0]),t[1]]}):[],Wr(function(r){for(var i=-1;++iCt)return[];var n=kt,r=wl(t,kt);e=ro(e),t-=kt;for(var i=k(r,e);++n2?t:Q}(),Tl=Ol&&new Ol,Il=!al.call({valueOf:1},"valueOf"),Nl={},Vl=Mo(Cl),Rl=Mo(El),Dl=Mo(Al),Pl=Mo(kl),Ul=Mo(Ol),Fl=nl?nl.prototype:Q,Ll=Fl?Fl.valueOf:Q,ql=Fl?Fl.toString:Q;S.templateSettings={escape:pe,evaluate:de,interpolate:ve,variable:"",imports:{_:S}},S.prototype=J.prototype,S.prototype.constructor=S,K.prototype=Rn(J.prototype),K.prototype.constructor=K,ke.prototype=Rn(J.prototype),ke.prototype.constructor=ke,He.prototype.clear=ze,He.prototype["delete"]=We,He.prototype.get=Ge,He.prototype.has=Ze,He.prototype.set=Je,Ke.prototype.clear=Ye,Ke.prototype["delete"]=Xe,Ke.prototype.get=Qe,Ke.prototype.has=tn,Ke.prototype.set=en,nn.prototype.clear=rn,nn.prototype["delete"]=on,nn.prototype.get=un,nn.prototype.has=an,nn.prototype.set=sn,cn.prototype.add=cn.prototype.push=ln,cn.prototype.has=fn,hn.prototype.clear=pn,hn.prototype["delete"]=dn,hn.prototype.get=vn,hn.prototype.has=$n,hn.prototype.set=gn;var Bl=Oi(Zn),Hl=Oi(er,!0),zl=ji(),Wl=ji(!0),Gl=Tl?function(t,e){return Tl.set(t,e),t}:sc,Zl=ll||function(t){return Bn.clearTimeout(t)},Jl=kl&&1/z(new kl([,-0]))[1]==St?function(t){return new kl(t)}:dc,Kl=Tl?function(t){return Tl.get(t)}:dc,Yl=vl?B(vl,Uc):mc,Xl=vl?function(t){for(var e=[];t;)f(e,Yl(t)),t=il(t);return e}:mc,Ql=cr;(Cl&&Ql(new Cl(new ArrayBuffer(1)))!=Kt||El&&Ql(new El)!=Ut||Al&&Ql(Al.resolve())!=qt||kl&&Ql(new kl)!=Ht||Ol&&Ql(new Ol)!=Gt)&&(Ql=function(t){var e=Xc.call(t),n=e==Lt?t.constructor:Q,r=n?Mo(n):Q;if(r)switch(r){case Vl:return Kt;case Rl:return Ut;case Dl:return qt;case Pl:return Ht;case Ul:return Gt}return e});var tf=Wc?Ia:yc,ef=function(){var t=0,e=0;return function(n,r){var i=Tf(),o=bt-(i-e);if(e=i,o>0){if(++t>=yt)return n}else t=0;return Gl(n,r)}}(),nf=hl||function(t,e){return Bn.setTimeout(t,e)},rf=Ml?function(t,e,n){var r=e+"";return Ml(t,"toString",{configurable:!0,enumerable:!1,value:uc(po(r,To(so(r),n)))})}:sc,of=sa(function(t){t=os(t);var e=[];return me.test(t)&&e.push(""),t.replace(ye,function(t,n,r,i){e.push(r?i.replace(Oe,"$1"):n||t)}),e}),uf=Wr(function(t,e){return Ca(t)?Pn(t,Gn(e,1,Ca,!0)):[]}),af=Wr(function(t,e){var n=Xo(e);return Ca(n)&&(n=Q),Ca(t)?Pn(t,Gn(e,1,Ca,!0),ro(n,2)):[]}),sf=Wr(function(t,e){var n=Xo(e); -return Ca(n)&&(n=Q),Ca(t)?Pn(t,Gn(e,1,Ca,!0),Q,n):[]}),cf=Wr(function(t){var e=l(t,si);return e.length&&e[0]===t[0]?dr(e):[]}),lf=Wr(function(t){var e=Xo(t),n=l(t,si);return e===Xo(n)?e=Q:n.pop(),n.length&&n[0]===t[0]?dr(n,ro(e,2)):[]}),ff=Wr(function(t){var e=Xo(t),n=l(t,si);return e===Xo(n)?e=Q:n.pop(),n.length&&n[0]===t[0]?dr(n,Q,e):[]}),hf=Wr(eu),pf=Wr(function(t,e){e=Gn(e,1);var n=t?t.length:0,r=An(t,e);return qr(t,l(e,function(t){return $o(t,n)?+t:t}).sort(bi)),r}),df=Wr(function(t){return ei(Gn(t,1,Ca,!0))}),vf=Wr(function(t){var e=Xo(t);return Ca(e)&&(e=Q),ei(Gn(t,1,Ca,!0),ro(e,2))}),$f=Wr(function(t){var e=Xo(t);return Ca(e)&&(e=Q),ei(Gn(t,1,Ca,!0),Q,e)}),gf=Wr(function(t,e){return Ca(t)?Pn(t,e):[]}),mf=Wr(function(t){return ui(a(t,Ca))}),yf=Wr(function(t){var e=Xo(t);return Ca(e)&&(e=Q),ui(a(t,Ca),ro(e,2))}),bf=Wr(function(t){var e=Xo(t);return Ca(e)&&(e=Q),ui(a(t,Ca),Q,e)}),wf=Wr(_u),xf=Wr(function(t){var e=t.length,n=e>1?t[e-1]:Q;return n="function"==typeof n?(t.pop(),n):Q,Su(t,n)}),_f=Wr(function(t){t=Gn(t,1);var e=t.length,n=e?t[0]:0,r=this.__wrapped__,i=function(e){return An(e,t)};return!(e>1||this.__actions__.length)&&r instanceof ke&&$o(n)?(r=r.slice(n,+n+(e?1:0)),r.__actions__.push({func:Ou,args:[i],thisArg:Q}),new K(r,this.__chain__).thru(function(t){return e&&!t.length&&t.push(Q),t})):this.thru(i)}),Sf=Ai(function(t,e,n){Jc.call(t,n)?++t[n]:t[n]=1}),Cf=Ri(qo),Ef=Ri(Bo),Af=Ai(function(t,e,n){Jc.call(t,n)?t[n].push(e):t[n]=[e]}),kf=Wr(function(t,e,r){var i=-1,o="function"==typeof e,u=mo(e),a=Sa(t)?Nc(t.length):[];return Bl(t,function(t){var s=o?e:u&&null!=t?t[e]:Q;a[++i]=s?n(s,t,r):$r(t,e,r)}),a}),Of=Ai(function(t,e,n){t[n]=e}),jf=Ai(function(t,e,n){t[n?0:1].push(e)},function(){return[[],[]]}),Mf=Wr(function(t,e){if(null==t)return[];var n=e.length;return n>1&&go(t,e[0],e[1])?e=[]:n>2&&go(e[0],e[1],e[2])&&(e=[e[0]]),Dr(t,Gn(e,1),[])}),Tf=fl||function(){return Bn.Date.now()},If=Wr(function(t,e,n){var r=ot;if(n.length){var i=H(n,no(If));r|=lt}return Ji(t,r,e,n,i)}),Nf=Wr(function(t,e,n){var r=ot|ut;if(n.length){var i=H(n,no(Nf));r|=lt}return Ji(e,r,t,n,i)}),Vf=Wr(function(t,e){return Dn(t,1,e)}),Rf=Wr(function(t,e,n){return Dn(t,ns(e)||0,n)});sa.Cache=nn;var Df=Wr(function(t,e){e=1==e.length&&Bf(e[0])?l(e[0],j(ro())):l(Gn(e,1),j(ro()));var r=e.length;return Wr(function(i){for(var o=-1,u=wl(i.length,r);++o=e}),Bf=Nc.isArray,Hf=Jn?j(Jn):gr,zf=$l||yc,Wf=Kn?j(Kn):mr,Gf=Yn?j(Yn):wr,Zf=Xn?j(Xn):Sr,Jf=Qn?j(Qn):Cr,Kf=tr?j(tr):Er,Yf=zi(jr),Xf=zi(function(t,e){return t<=e}),Qf=ki(function(t,e){if(Il||xo(e)||Sa(e))return void Ci(e,ms(e),t);for(var n in e)Jc.call(e,n)&&wn(t,n,e[n])}),th=ki(function(t,e){Ci(e,ys(e),t)}),eh=ki(function(t,e,n,r){Ci(e,ys(e),t,r)}),nh=ki(function(t,e,n,r){Ci(e,ms(e),t,r)}),rh=Wr(function(t,e){return An(t,Gn(e,1))}),ih=Wr(function(t){return t.push(Q,yn),n(eh,Q,t)}),oh=Wr(function(t){return t.push(Q,Eo),n(lh,Q,t)}),uh=Ui(function(t,e,n){t[e]=n},uc(sc)),ah=Ui(function(t,e,n){Jc.call(t,e)?t[e].push(n):t[e]=[n]},ro),sh=Wr($r),ch=ki(function(t,e,n){Nr(t,e,n)}),lh=ki(function(t,e,n,r){Nr(t,e,n,r)}),fh=Wr(function(t,e){return null==t?{}:(e=l(Gn(e,1),jo),Pr(t,Pn(to(t),e)))}),hh=Wr(function(t,e){return null==t?{}:Pr(t,l(Gn(e,1),jo))}),ph=Zi(ms),dh=Zi(ys),vh=Ii(function(t,e,n){return e=e.toLowerCase(),t+(n?Rs(e):e)}),$h=Ii(function(t,e,n){return t+(n?"-":"")+e.toLowerCase()}),gh=Ii(function(t,e,n){return t+(n?" ":"")+e.toLowerCase()}),mh=Ti("toLowerCase"),yh=Ii(function(t,e,n){return t+(n?"_":"")+e.toLowerCase()}),bh=Ii(function(t,e,n){return t+(n?" ":"")+xh(e)}),wh=Ii(function(t,e,n){return t+(n?" ":"")+e.toUpperCase()}),xh=Ti("toUpperCase"),_h=Wr(function(t,e){try{return n(t,Q,e)}catch(r){return Ma(r)?r:new Rc(r)}}),Sh=Wr(function(t,e){return i(Gn(e,1),function(e){e=jo(e),t[e]=If(t[e],t)}),t}),Ch=Di(),Eh=Di(!0),Ah=Wr(function(t,e){return function(n){return $r(n,t,e)}}),kh=Wr(function(t,e){return function(n){return $r(t,n,e)}}),Oh=Li(l),jh=Li(u),Mh=Li(d),Th=Hi(),Ih=Hi(!0),Nh=Fi(function(t,e){return t+e},0),Vh=Gi("ceil"),Rh=Fi(function(t,e){return t/e},1),Dh=Gi("floor"),Ph=Fi(function(t,e){return t*e},1),Uh=Gi("round"),Fh=Fi(function(t,e){return t-e},0);return S.after=ea,S.ary=na,S.assign=Qf,S.assignIn=th,S.assignInWith=eh,S.assignWith=nh,S.at=rh,S.before=ra,S.bind=If,S.bindAll=Sh,S.bindKey=Nf,S.castArray=$a,S.chain=Au,S.chunk=No,S.compact=Vo,S.concat=Ro,S.cond=ic,S.conforms=oc,S.constant=uc,S.countBy=Sf,S.create=us,S.curry=ia,S.curryRight=oa,S.debounce=ua,S.defaults=ih,S.defaultsDeep=oh,S.defer=Vf,S.delay=Rf,S.difference=uf,S.differenceBy=af,S.differenceWith=sf,S.drop=Do,S.dropRight=Po,S.dropRightWhile=Uo,S.dropWhile=Fo,S.fill=Lo,S.filter=Pu,S.flatMap=Uu,S.flatMapDeep=Fu,S.flatMapDepth=Lu,S.flatten=Ho,S.flattenDeep=zo,S.flattenDepth=Wo,S.flip=aa,S.flow=Ch,S.flowRight=Eh,S.fromPairs=Go,S.functions=ps,S.functionsIn=ds,S.groupBy=Af,S.initial=Ko,S.intersection=cf,S.intersectionBy=lf,S.intersectionWith=ff,S.invert=uh,S.invertBy=ah,S.invokeMap=kf,S.iteratee=cc,S.keyBy=Of,S.keys=ms,S.keysIn=ys,S.map=zu,S.mapKeys=bs,S.mapValues=ws,S.matches=lc,S.matchesProperty=fc,S.memoize=sa,S.merge=ch,S.mergeWith=lh,S.method=Ah,S.methodOf=kh,S.mixin=hc,S.negate=ca,S.nthArg=vc,S.omit=fh,S.omitBy=xs,S.once=la,S.orderBy=Wu,S.over=Oh,S.overArgs=Df,S.overEvery=jh,S.overSome=Mh,S.partial=Pf,S.partialRight=Uf,S.partition=jf,S.pick=hh,S.pickBy=_s,S.property=$c,S.propertyOf=gc,S.pull=hf,S.pullAll=eu,S.pullAllBy=nu,S.pullAllWith=ru,S.pullAt=pf,S.range=Th,S.rangeRight=Ih,S.rearg=Ff,S.reject=Ju,S.remove=iu,S.rest=fa,S.reverse=ou,S.sampleSize=Yu,S.set=Cs,S.setWith=Es,S.shuffle=Xu,S.slice=uu,S.sortBy=Mf,S.sortedUniq=pu,S.sortedUniqBy=du,S.split=Gs,S.spread=ha,S.tail=vu,S.take=$u,S.takeRight=gu,S.takeRightWhile=mu,S.takeWhile=yu,S.tap=ku,S.throttle=pa,S.thru=Ou,S.toArray=Xa,S.toPairs=ph,S.toPairsIn=dh,S.toPath=Sc,S.toPlainObject=rs,S.transform=As,S.unary=da,S.union=df,S.unionBy=vf,S.unionWith=$f,S.uniq=bu,S.uniqBy=wu,S.uniqWith=xu,S.unset=ks,S.unzip=_u,S.unzipWith=Su,S.update=Os,S.updateWith=js,S.values=Ms,S.valuesIn=Ts,S.without=gf,S.words=rc,S.wrap=va,S.xor=mf,S.xorBy=yf,S.xorWith=bf,S.zip=wf,S.zipObject=Cu,S.zipObjectDeep=Eu,S.zipWith=xf,S.entries=ph,S.entriesIn=dh,S.extend=th,S.extendWith=eh,hc(S,S),S.add=Nh,S.attempt=_h,S.camelCase=vh,S.capitalize=Rs,S.ceil=Vh,S.clamp=Is,S.clone=ga,S.cloneDeep=ya,S.cloneDeepWith=ba,S.cloneWith=ma,S.conformsTo=wa,S.deburr=Ds,S.defaultTo=ac,S.divide=Rh,S.endsWith=Ps,S.eq=xa,S.escape=Us,S.escapeRegExp=Fs,S.every=Du,S.find=Cf,S.findIndex=qo,S.findKey=as,S.findLast=Ef,S.findLastIndex=Bo,S.findLastKey=ss,S.floor=Dh,S.forEach=qu,S.forEachRight=Bu,S.forIn=cs,S.forInRight=ls,S.forOwn=fs,S.forOwnRight=hs,S.get=vs,S.gt=Lf,S.gte=qf,S.has=$s,S.hasIn=gs,S.head=Zo,S.identity=sc,S.includes=Hu,S.indexOf=Jo,S.inRange=Ns,S.invoke=sh,S.isArguments=_a,S.isArray=Bf,S.isArrayBuffer=Hf,S.isArrayLike=Sa,S.isArrayLikeObject=Ca,S.isBoolean=Ea,S.isBuffer=zf,S.isDate=Wf,S.isElement=Aa,S.isEmpty=ka,S.isEqual=Oa,S.isEqualWith=ja,S.isError=Ma,S.isFinite=Ta,S.isFunction=Ia,S.isInteger=Na,S.isLength=Va,S.isMap=Gf,S.isMatch=Pa,S.isMatchWith=Ua,S.isNaN=Fa,S.isNative=La,S.isNil=Ba,S.isNull=qa,S.isNumber=Ha,S.isObject=Ra,S.isObjectLike=Da,S.isPlainObject=za,S.isRegExp=Zf,S.isSafeInteger=Wa,S.isSet=Jf,S.isString=Ga,S.isSymbol=Za,S.isTypedArray=Kf,S.isUndefined=Ja,S.isWeakMap=Ka,S.isWeakSet=Ya,S.join=Yo,S.kebabCase=$h,S.last=Xo,S.lastIndexOf=Qo,S.lowerCase=gh,S.lowerFirst=mh,S.lt=Yf,S.lte=Xf,S.max=Ec,S.maxBy=Ac,S.mean=kc,S.meanBy=Oc,S.min=jc,S.minBy=Mc,S.stubArray=mc,S.stubFalse=yc,S.stubObject=bc,S.stubString=wc,S.stubTrue=xc,S.multiply=Ph,S.nth=tu,S.noConflict=pc,S.noop=dc,S.now=Tf,S.pad=Ls,S.padEnd=qs,S.padStart=Bs,S.parseInt=Hs,S.random=Vs,S.reduce=Gu,S.reduceRight=Zu,S.repeat=zs,S.replace=Ws,S.result=Ss,S.round=Uh,S.runInContext=X,S.sample=Ku,S.size=Qu,S.snakeCase=yh,S.some=ta,S.sortedIndex=au,S.sortedIndexBy=su,S.sortedIndexOf=cu,S.sortedLastIndex=lu,S.sortedLastIndexBy=fu,S.sortedLastIndexOf=hu,S.startCase=bh,S.startsWith=Zs,S.subtract=Fh,S.sum=Tc,S.sumBy=Ic,S.template=Js,S.times=_c,S.toFinite=Qa,S.toInteger=ts,S.toLength=es,S.toLower=Ks,S.toNumber=ns,S.toSafeInteger=is,S.toString=os,S.toUpper=Ys,S.trim=Xs,S.trimEnd=Qs,S.trimStart=tc,S.truncate=ec,S.unescape=nc,S.uniqueId=Cc,S.upperCase=wh,S.upperFirst=xh,S.each=qu,S.eachRight=Bu,S.first=Zo,hc(S,function(){var t={};return Zn(S,function(e,n){Jc.call(S.prototype,n)||(t[n]=e)}),t}(),{chain:!1}),S.VERSION=tt,i(["bind","bindKey","curry","curryRight","partial","partialRight"],function(t){S[t].placeholder=S}),i(["drop","take"],function(t,e){ke.prototype[t]=function(n){var r=this.__filtered__;if(r&&!e)return new ke(this);n=n===Q?1:bl(ts(n),0);var i=this.clone();return r?i.__takeCount__=wl(n,i.__takeCount__):i.__views__.push({size:wl(n,kt),type:t+(i.__dir__<0?"Right":"")}),i},ke.prototype[t+"Right"]=function(e){return this.reverse()[t](e).reverse()}}),i(["filter","map","takeWhile"],function(t,e){var n=e+1,r=n==wt||n==_t;ke.prototype[t]=function(t){var e=this.clone();return e.__iteratees__.push({iteratee:ro(t,3),type:n}),e.__filtered__=e.__filtered__||r,e}}),i(["head","last"],function(t,e){var n="take"+(e?"Right":"");ke.prototype[t]=function(){return this[n](1).value()[0]}}),i(["initial","tail"],function(t,e){var n="drop"+(e?"":"Right");ke.prototype[t]=function(){return this.__filtered__?new ke(this):this[n](1)}}),ke.prototype.compact=function(){return this.filter(sc)},ke.prototype.find=function(t){return this.filter(t).head()},ke.prototype.findLast=function(t){return this.reverse().find(t)},ke.prototype.invokeMap=Wr(function(t,e){return"function"==typeof t?new ke(this):this.map(function(n){return $r(n,t,e)})}),ke.prototype.reject=function(t){return this.filter(ca(ro(t)))},ke.prototype.slice=function(t,e){t=ts(t);var n=this;return n.__filtered__&&(t>0||e<0)?new ke(n):(t<0?n=n.takeRight(-t):t&&(n=n.drop(t)),e!==Q&&(e=ts(e),n=e<0?n.dropRight(-e):n.take(e-t)),n)},ke.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},ke.prototype.toArray=function(){return this.take(kt)},Zn(ke.prototype,function(t,e){var n=/^(?:filter|find|map|reject)|While$/.test(e),r=/^(?:head|last)$/.test(e),i=S[r?"take"+("last"==e?"Right":""):e],o=r||/^find/.test(e);i&&(S.prototype[e]=function(){var e=this.__wrapped__,u=r?[1]:arguments,a=e instanceof ke,s=u[0],c=a||Bf(e),l=function(t){var e=i.apply(S,f([t],u));return r&&h?e[0]:e};c&&n&&"function"==typeof s&&1!=s.length&&(a=c=!1);var h=this.__chain__,p=!!this.__actions__.length,d=o&&!h,v=a&&!p;if(!o&&c){e=v?e:new ke(this);var $=t.apply(e,u);return $.__actions__.push({func:Ou,args:[l],thisArg:Q}),new K($,h)}return d&&v?t.apply(this,u):($=this.thru(l),d?r?$.value()[0]:$.value():$)})}),i(["pop","push","shift","sort","splice","unshift"],function(t){var e=Bc[t],n=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",r=/^(?:pop|shift)$/.test(t);S.prototype[t]=function(){var t=arguments;if(r&&!this.__chain__){var i=this.value();return e.apply(Bf(i)?i:[],t)}return this[n](function(n){return e.apply(Bf(n)?n:[],t)})}}),Zn(ke.prototype,function(t,e){var n=S[e];if(n){var r=n.name+"",i=Nl[r]||(Nl[r]=[]);i.push({name:e,func:n})}}),Nl[Pi(Q,ut).name]=[{name:"wrapper",func:Q}],ke.prototype.clone=Le,ke.prototype.reverse=qe,ke.prototype.value=Be,S.prototype.at=_f,S.prototype.chain=ju,S.prototype.commit=Mu,S.prototype.next=Tu,S.prototype.plant=Nu,S.prototype.reverse=Vu,S.prototype.toJSON=S.prototype.valueOf=S.prototype.value=Ru,S.prototype.first=S.prototype.head,ol&&(S.prototype[ol]=Iu),S}var Q,tt="4.15.0",et=200,nt="Expected a function",rt="__lodash_hash_undefined__",it="__lodash_placeholder__",ot=1,ut=2,at=4,st=8,ct=16,lt=32,ft=64,ht=128,pt=256,dt=512,vt=1,$t=2,gt=30,mt="...",yt=150,bt=16,wt=1,xt=2,_t=3,St=1/0,Ct=9007199254740991,Et=1.7976931348623157e308,At=NaN,kt=4294967295,Ot=kt-1,jt=kt>>>1,Mt=[["ary",ht],["bind",ot],["bindKey",ut],["curry",st],["curryRight",ct],["flip",dt],["partial",lt],["partialRight",ft],["rearg",pt]],Tt="[object Arguments]",It="[object Array]",Nt="[object Boolean]",Vt="[object Date]",Rt="[object Error]",Dt="[object Function]",Pt="[object GeneratorFunction]",Ut="[object Map]",Ft="[object Number]",Lt="[object Object]",qt="[object Promise]",Bt="[object RegExp]",Ht="[object Set]",zt="[object String]",Wt="[object Symbol]",Gt="[object WeakMap]",Zt="[object WeakSet]",Jt="[object ArrayBuffer]",Kt="[object DataView]",Yt="[object Float32Array]",Xt="[object Float64Array]",Qt="[object Int8Array]",te="[object Int16Array]",ee="[object Int32Array]",ne="[object Uint8Array]",re="[object Uint8ClampedArray]",ie="[object Uint16Array]",oe="[object Uint32Array]",ue=/\b__p \+= '';/g,ae=/\b(__p \+=) '' \+/g,se=/(__e\(.*?\)|\b__t\)) \+\n'';/g,ce=/&(?:amp|lt|gt|quot|#39|#96);/g,le=/[&<>"'`]/g,fe=RegExp(ce.source),he=RegExp(le.source),pe=/<%-([\s\S]+?)%>/g,de=/<%([\s\S]+?)%>/g,ve=/<%=([\s\S]+?)%>/g,$e=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ge=/^\w*$/,me=/^\./,ye=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,be=/[\\^$.*+?()[\]{}|]/g,we=RegExp(be.source),xe=/^\s+|\s+$/g,_e=/^\s+/,Se=/\s+$/,Ce=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Ee=/\{\n\/\* \[wrapped with (.+)\] \*/,Ae=/,? & /,ke=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Oe=/\\(\\)?/g,je=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Me=/\w*$/,Te=/^0x/i,Ie=/^[-+]0x[0-9a-f]+$/i,Ne=/^0b[01]+$/i,Ve=/^\[object .+?Constructor\]$/,Re=/^0o[0-7]+$/i,De=/^(?:0|[1-9]\d*)$/,Pe=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Ue=/($^)/,Fe=/['\n\r\u2028\u2029\\]/g,Le="\\ud800-\\udfff",qe="\\u0300-\\u036f\\ufe20-\\ufe23",Be="\\u20d0-\\u20f0",He="\\u2700-\\u27bf",ze="a-z\\xdf-\\xf6\\xf8-\\xff",We="\\xac\\xb1\\xd7\\xf7",Ge="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Ze="\\u2000-\\u206f",Je=" \\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",Ke="A-Z\\xc0-\\xd6\\xd8-\\xde",Ye="\\ufe0e\\ufe0f",Xe=We+Ge+Ze+Je,Qe="['’]",tn="["+Le+"]",en="["+Xe+"]",nn="["+qe+Be+"]",rn="\\d+",on="["+He+"]",un="["+ze+"]",an="[^"+Le+Xe+rn+He+ze+Ke+"]",sn="\\ud83c[\\udffb-\\udfff]",cn="(?:"+nn+"|"+sn+")",ln="[^"+Le+"]",fn="(?:\\ud83c[\\udde6-\\uddff]){2}",hn="[\\ud800-\\udbff][\\udc00-\\udfff]",pn="["+Ke+"]",dn="\\u200d",vn="(?:"+un+"|"+an+")",$n="(?:"+pn+"|"+an+")",gn="(?:"+Qe+"(?:d|ll|m|re|s|t|ve))?",mn="(?:"+Qe+"(?:D|LL|M|RE|S|T|VE))?",yn=cn+"?",bn="["+Ye+"]?",wn="(?:"+dn+"(?:"+[ln,fn,hn].join("|")+")"+bn+yn+")*",xn=bn+yn+wn,_n="(?:"+[on,fn,hn].join("|")+")"+xn,Sn="(?:"+[ln+nn+"?",nn,fn,hn,tn].join("|")+")",Cn=RegExp(Qe,"g"),En=RegExp(nn,"g"),An=RegExp(sn+"(?="+sn+")|"+Sn+xn,"g"),kn=RegExp([pn+"?"+un+"+"+gn+"(?="+[en,pn,"$"].join("|")+")",$n+"+"+mn+"(?="+[en,pn+vn,"$"].join("|")+")",pn+"?"+vn+"+"+gn,pn+"+"+mn,rn,_n].join("|"),"g"),On=RegExp("["+dn+Le+qe+Be+Ye+"]"),jn=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Mn=["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"],Tn=-1,In={};In[Yt]=In[Xt]=In[Qt]=In[te]=In[ee]=In[ne]=In[re]=In[ie]=In[oe]=!0,In[Tt]=In[It]=In[Jt]=In[Nt]=In[Kt]=In[Vt]=In[Rt]=In[Dt]=In[Ut]=In[Ft]=In[Lt]=In[Bt]=In[Ht]=In[zt]=In[Gt]=!1;var Nn={};Nn[Tt]=Nn[It]=Nn[Jt]=Nn[Kt]=Nn[Nt]=Nn[Vt]=Nn[Yt]=Nn[Xt]=Nn[Qt]=Nn[te]=Nn[ee]=Nn[Ut]=Nn[Ft]=Nn[Lt]=Nn[Bt]=Nn[Ht]=Nn[zt]=Nn[Wt]=Nn[ne]=Nn[re]=Nn[ie]=Nn[oe]=!0,Nn[Rt]=Nn[Dt]=Nn[Gt]=!1;var Vn={"À":"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","ſ":"ss"},Rn={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},Dn={"&":"&","<":"<",">":">",""":'"',"'":"'","`":"`"},Pn={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Un=parseFloat,Fn=parseInt,Ln="object"==typeof global&&global&&global.Object===Object&&global,qn="object"==typeof self&&self&&self.Object===Object&&self,Bn=Ln||qn||Function("return this")(),Hn="object"==typeof exports&&exports&&!exports.nodeType&&exports,zn=Hn&&"object"==typeof module&&module&&!module.nodeType&&module,Wn=zn&&zn.exports===Hn,Gn=Wn&&Ln.process,Zn=function(){try{return Gn&&Gn.binding("util")}catch(t){}}(),Jn=Zn&&Zn.isArrayBuffer,Kn=Zn&&Zn.isDate,Yn=Zn&&Zn.isMap,Xn=Zn&&Zn.isRegExp,Qn=Zn&&Zn.isSet,tr=Zn&&Zn.isTypedArray,er=_("length"),nr=S(Vn),rr=S(Rn),ir=S(Dn),or=X();"function"==typeof define&&"object"==typeof define.amd&&define.amd?(Bn._=or,define(function(){return or})):zn?((zn.exports=or)._=or,Hn._=or):Bn._=or}.call(this); \ No newline at end of file +!function(t){"use strict";function e(t,e){return e=e||Error,function(){var n,r,i=2,o=arguments,a=o[0],u="["+(t?t+":":"")+a+"] ",s=o[1];for(u+=s.replace(/\{\d+\}/g,function(t){var e=+t.slice(1,-1),n=e+i;return n=0&&(e-1 in t||t instanceof Array)||"function"==typeof t.item)}function r(t,e,i){var o,a;if(t)if(C(t))for(o in t)"prototype"==o||"length"==o||"name"==o||t.hasOwnProperty&&!t.hasOwnProperty(o)||e.call(i,t[o],o,t);else if(Jr(t)||n(t)){var u="object"!=typeof t;for(o=0,a=t.length;o=0&&t.splice(n,1),n}function U(t,e){function n(t,e){var n,r=e.$$hashKey;if(Jr(t))for(var o=0,a=t.length;o2?q(arguments,2):[];return!C(e)||e instanceof RegExp?e:n.length?function(){return arguments.length?e.apply(t,L(n,arguments,0)):e.apply(t,n)}:function(){return arguments.length?e.apply(t,arguments):e.call(t)}}function H(e,n){var r=n;return"string"==typeof e&&"$"===e.charAt(0)&&"$"===e.charAt(1)?r=void 0:A(n)?r="$WINDOW":n&&t.document===n?r="$DOCUMENT":E(n)&&(r="$SCOPE"),r}function z(t,e){if(!g(t))return x(e)||(e=e?2:null),JSON.stringify(t,H,e)}function W(t){return w(t)?JSON.parse(t):t}function G(t,e){t=t.replace(ei,"");var n=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(n)?e:n}function Z(t,e){return t=new Date(t.getTime()),t.setMinutes(t.getMinutes()+e),t}function J(t,e,n){n=n?-1:1;var r=t.getTimezoneOffset(),i=G(e,r);return Z(t,n*(i-r))}function K(t){t=Dr(t).clone();try{t.empty()}catch(e){}var n=Dr("
").append(t).html();try{return t[0].nodeType===ui?Ir(n):n.match(/^(<[^>]+>)/)[1].replace(/^<([\w\-]+)/,function(t,e){return"<"+Ir(e)})}catch(e){return Ir(n)}}function Y(t){try{return decodeURIComponent(t)}catch(e){}}function X(t){var e={};return r((t||"").split("&"),function(t){var n,r,i;t&&(r=t=t.replace(/\+/g,"%20"),n=t.indexOf("="),n!==-1&&(r=t.substring(0,n),i=t.substring(n+1)),r=Y(r),m(r)&&(i=!m(i)||Y(i),Tr.call(e,r)?Jr(e[r])?e[r].push(i):e[r]=[e[r],i]:e[r]=i))}),e}function Q(t){var e=[];return r(t,function(t,n){Jr(t)?r(t,function(t){e.push(et(n,!0)+(t===!0?"":"="+et(t,!0)))}):e.push(et(n,!0)+(t===!0?"":"="+et(t,!0)))}),e.length?e.join("&"):""}function tt(t){return et(t,!0).replace(/%26/gi,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+")}function et(t,e){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%20/g,e?"%20":"+")}function nt(t,e){var n,r,i=ni.length;for(r=0;r/,">"))}n=n||[],n.unshift(["$provide",function(t){t.value("$rootElement",e)}]),i.debugInfoEnabled&&n.push(["$compileProvider",function(t){t.debugInfoEnabled(!0)}]),n.unshift("ng");var o=re(n,i.strictDi);return o.invoke(["$rootScope","$rootElement","$compile","$injector",function(t,e,n,r){t.$apply(function(){e.data("$injector",r),n(e)(t)})}]),o},u=/^NG_ENABLE_DEBUG_INFO!/,s=/^NG_DEFER_BOOTSTRAP!/;return t&&u.test(t.name)&&(i.debugInfoEnabled=!0,t.name=t.name.replace(u,"")),t&&!s.test(t.name)?a():(t.name=t.name.replace(s,""),Gr.resumeBootstrap=function(t){return r(t,function(t){n.push(t)}),a()},void(C(Gr.resumeDeferredBootstrap)&&Gr.resumeDeferredBootstrap()))}function ot(){t.name="NG_ENABLE_DEBUG_INFO!"+t.name,t.location.reload()}function at(t){var e=Gr.element(t).injector();if(!e)throw Wr("test","no injector found for element argument to getTestability");return e.get("$$testability")}function ut(t,e){return e=e||"_",t.replace(ri,function(t,n){return(n?e:"")+t.toLowerCase()})}function st(){var e;if(!ii){var n=ti();Ur=g(n)?t.jQuery:n?t[n]:void 0,Ur&&Ur.fn.on?(Dr=Ur,c(Ur.fn,{scope:Ai.scope,isolateScope:Ai.isolateScope,controller:Ai.controller,injector:Ai.injector,inheritedData:Ai.inheritedData}),e=Ur.cleanData,Ur.cleanData=function(t){for(var n,r,i=0;null!=(r=t[i]);i++)n=Ur._data(r,"events"),n&&n.$destroy&&Ur(r).triggerHandler("$destroy");e(t)}):Dr=Ot,Gr.element=Dr,ii=!0}}function ct(t,e,n){if(!t)throw Wr("areq","Argument '{0}' is {1}",e||"?",n||"required");return t}function lt(t,e,n){return n&&Jr(t)&&(t=t[t.length-1]),ct(C(t),e,"not a function, got "+(t&&"object"==typeof t?t.constructor.name||"Object":typeof t)),t}function ft(t,e){if("hasOwnProperty"===t)throw Wr("badname","hasOwnProperty is not a valid {0} name",e)}function ht(t,e,n){if(!e)return t;for(var r,i=e.split("."),o=t,a=i.length,u=0;u=0)return"...";e.push(n)}return n})}function mt(t){return"function"==typeof t?t.toString().replace(/ \{[\s\S]*$/,""):g(t)?"undefined":"string"!=typeof t?gt(t):t}function yt(n){c(n,{bootstrap:it,copy:U,extend:c,merge:l,equals:F,element:Dr,forEach:r,injector:re,noop:p,bind:B,toJson:z,fromJson:W,identity:d,isUndefined:g,isDefined:m,isString:w,isFunction:C,isObject:y,isNumber:x,isElement:R,isArray:Jr,version:fi,isDate:_,lowercase:Ir,uppercase:Nr,callbacks:{$$counter:0},getTestability:at,$$minErr:e,$$csp:Qr,reloadWithDebugInfo:ot}),(Fr=vt(t))("ng",["ngLocale"],["$provide",function(t){t.provider({$$sanitizeUri:Sn}),t.provider("$compile",de).directive({a:Ro,input:ta,textarea:ta,form:Fo,script:Ja,select:Xa,style:tu,option:Qa,ngBind:ra,ngBindHtml:oa,ngBindTemplate:ia,ngClass:ua,ngClassEven:ca,ngClassOdd:sa,ngCloak:la,ngController:fa,ngForm:Lo,ngHide:qa,ngIf:da,ngInclude:va,ngInit:ga,ngNonBindable:Ia,ngPluralize:Pa,ngRepeat:Da,ngShow:La,ngStyle:Ba,ngSwitch:Ha,ngSwitchWhen:za,ngSwitchDefault:Wa,ngOptions:Va,ngTransclude:Za,ngModel:ja,ngList:ma,ngChange:aa,pattern:nu,ngPattern:nu,required:eu,ngRequired:eu,minlength:iu,ngMinlength:iu,maxlength:ru,ngMaxlength:ru,ngValue:na,ngModelOptions:Ta}).directive({ngInclude:$a}).directive(Vo).directive(ha),t.provider({$anchorScroll:ie,$animate:qi,$animateCss:zi,$$animateJs:Fi,$$animateQueue:Li,$$AnimateRunner:Hi,$$animateAsyncRun:Bi,$browser:le,$cacheFactory:fe,$controller:be,$document:we,$exceptionHandler:xe,$filter:Un,$$forceReflow:Yi,$interpolate:Ve,$interval:Pe,$http:Te,$httpParamSerializer:Ce,$httpParamSerializerJQLike:Se,$httpBackend:Ne,$xhrFactory:Ie,$jsonpCallbacks:ao,$location:Xe,$log:Qe,$parse:yn,$rootScope:Cn,$q:bn,$$q:wn,$sce:On,$sceDelegate:kn,$sniffer:jn,$templateCache:he,$templateRequest:Mn,$$testability:Tn,$timeout:In,$window:Vn,$$rAF:_n,$$jqLite:Kt,$$HashMap:ji,$$cookieReader:Dn})}])}function bt(){return++pi}function wt(t){return t.replace($i,function(t,e,n,r){return r?n.toUpperCase():n}).replace(gi,"Moz$1")}function xt(t){return!wi.test(t)}function _t(t){var e=t.nodeType;return e===oi||!e||e===ci}function Ct(t){for(var e in hi[t.ng339])return!0;return!1}function St(t){for(var e=0,n=t.length;e")+o[2],a=o[0];a--;)n=n.lastChild;s=L(s,n.childNodes),n=u.firstChild,n.textContent=""}return u.textContent="",u.innerHTML="",r(s,function(t){u.appendChild(t)}),u}function Et(e,n){n=n||t.document;var r;return(r=bi.exec(e))?[n.createElement(r[1])]:(r=At(e,n))?r.childNodes:[]}function kt(t,e){var n=t.parentNode;n&&n.replaceChild(e,t),e.appendChild(t)}function Ot(t){if(t instanceof Ot)return t;var e;if(w(t)&&(t=Yr(t),e=!0),!(this instanceof Ot)){if(e&&"<"!=t.charAt(0))throw yi("nosel","Looking up elements via selectors is not supported by jqLite! See: http://docs.angularjs.org/api/angular.element");return new Ot(t)}e?Ut(this,Et(t)):Ut(this,t)}function jt(t){return t.cloneNode(!0)}function Mt(t,e){if(e||It(t),t.querySelectorAll)for(var n=t.querySelectorAll("*"),r=0,i=n.length;r0||(vi(t,e,u),delete a[e])};r(e.split(" "),function(t){s(t),mi[t]&&s(mi[t])})}else for(e in a)"$destroy"!==e&&vi(t,e,u),delete a[e]}function It(t,e){var n=t.ng339,r=n&&hi[n];if(r){if(e)return void delete r.data[e];r.handle&&(r.events.$destroy&&r.handle({},"$destroy"),Tt(t)),delete hi[n],t.ng339=void 0}}function Nt(t,e){var n=t.ng339,r=n&&hi[n];return e&&!r&&(t.ng339=n=bt(),r=hi[n]={events:{},data:{},handle:void 0}),r}function Rt(t,e,n){if(_t(t)){var r=m(n),i=!r&&e&&!y(e),o=!e,a=Nt(t,!i),u=a&&a.data;if(r)u[e]=n;else{if(o)return u;if(i)return u&&u[e];c(u,e)}}}function Vt(t,e){return!!t.getAttribute&&(" "+(t.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").indexOf(" "+e+" ")>-1}function Pt(t,e){e&&t.setAttribute&&r(e.split(" "),function(e){t.setAttribute("class",Yr((" "+(t.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").replace(" "+Yr(e)+" "," ")))})}function Dt(t,e){if(e&&t.setAttribute){var n=(" "+(t.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ");r(e.split(" "),function(t){t=Yr(t),n.indexOf(" "+t+" ")===-1&&(n+=t+" ")}),t.setAttribute("class",Yr(n))}}function Ut(t,e){if(e)if(e.nodeType)t[t.length++]=e;else{var n=e.length;if("number"==typeof n&&e.window!==e){if(n)for(var r=0;r1&&(i=$t(i));for(var s=0;sl&&this.remove(p.key),e}},get:function(t){if(l";var r=wt.firstChild.attributes,i=r[0];r.removeNamedItem(i.name),i.value=n,t.attributes.setNamedItem(i)}function V(t,e){try{t.addClass(e)}catch(n){}}function U(e,n,r,i,o){e instanceof Dr||(e=Dr(e));for(var a=/\S+/,u=0,s=e.length;u").append(e).html())):n?Ai.clone.call(e):e,a)for(var c in a)s.data("$"+c+"Controller",a[c].instance);return U.$$addScopeInfo(s,t),n&&n(s,t),l&&l(t,s,s,i),s}}function L(t){var e=t&&t[0];return e&&"foreignobject"!==P(e)&&Hr.call(e).match(/SVG/)?"svg":"html"}function H(t,e,n,r,i,o){function a(t,n,r,i){var o,a,u,s,c,l,f,h,v;if(p){var $=n.length;for(v=new Array($),c=0;c0)}else r.push(t);return Dr(r)}function J(t,e,n){return function(r,i,o,a,u){return i=Z(i[0],e,n),t(r,i,o,a,u)}}function Y(t,e,n,r,i,o){var a;return t?U(e,n,r,i,o):function(){return a||(a=U(e,n,r,i,o),e=n=o=null),a.apply(this,arguments)}}function X(t,e,n,o,a,u,s,l,f){function h(t,e,n,r){t&&(n&&(t=J(t,n,r)),t.require=d.require,t.directiveName=v,(S===d||d.$$isolateScope)&&(t=$t(t,{isolateScope:!0})),s.push(t)),e&&(n&&(e=J(e,n,r)),e.require=d.require,e.directiveName=v,(S===d||d.$$isolateScope)&&(e=$t(e,{isolateScope:!0})),l.push(e))}function p(t,o,a,u,f){function h(t,e,n,r){var i;if(E(t)||(r=n,n=e,e=t,t=void 0),M&&(i=b),n||(n=M?k.parent():k),!r)return f(t,e,i,n,D);var o=f.$$slots[r];if(o)return o(t,e,i,n,D);if(g(o))throw Wi("noslot",'No parent directive that requires a transclusion with slot name "{0}". Element: {1}',r,K(k))}var p,d,v,$,m,b,w,k,O,j;e===a?(O=n,k=n.$$element):(k=Dr(a),O=new N(k,n)),m=o,S?$=o.$new(!0):x&&(m=o.$parent),f&&(w=h,w.$$boundTransclude=f,w.isSlotFilled=function(t){return!!f.$$slots[t]}),_&&(b=tt(k,O,w,_,$,o,S)),S&&(U.$$addScopeInfo(k,$,!0,!(A&&(A===S||A===S.$$originalDirective))),U.$$addScopeClass(k,!0),$.$$isolateBindings=S.$$isolateBindings,j=mt(o,O,$,$.$$isolateBindings,S),j.removeWatches&&$.$on("$destroy",j.removeWatches));for(var T in b){var I=_[T],R=b[T],V=I.$$bindings.bindToController;R.identifier&&V?R.bindingInfo=mt(m,O,R.instance,V,I):R.bindingInfo={};var P=R();P!==R.instance&&(R.instance=P,k.data("$"+I.name+"Controller",P),R.bindingInfo.removeWatches&&R.bindingInfo.removeWatches(),R.bindingInfo=mt(m,O,R.instance,V,I))}for(r(_,function(t,e){var n=t.require;t.bindToController&&!Jr(n)&&y(n)&&c(b[e].instance,Q(e,n,k,b))}),r(b,function(t){var e=t.instance;if(C(e.$onChanges))try{e.$onChanges(t.bindingInfo.initialChanges)}catch(n){i(n)}if(C(e.$onInit))try{e.$onInit()}catch(n){i(n)}C(e.$doCheck)&&(m.$watch(function(){e.$doCheck()}),e.$doCheck()),C(e.$onDestroy)&&m.$on("$destroy",function(){e.$onDestroy()})}),p=0,d=s.length;p=0;p--)v=l[p],gt(v,v.isolateScope?$:o,k,O,v.require&&Q(v.directiveName,v.require,k,b),w);r(b,function(t){var e=t.instance;C(e.$postLink)&&e.$postLink()})}f=f||{};for(var d,v,$,m,b,w=-Number.MAX_VALUE,x=f.newScopeDirective,_=f.controllerDirectives,S=f.newIsolateScopeDirective,A=f.templateDirective,k=f.nonTlbTranscludeDirective,O=!1,j=!1,M=f.hasElementTranscludeDirective,T=n.$$element=Dr(e),I=u,R=o,V=!1,D=!1,F=0,L=t.length;Fd.priority)break;if((b=d.scope)&&(d.templateUrl||(y(b)?(st("new/isolated scope",S||x,d,T),S=d):st("new/isolated scope",S,d,T)),x=x||d),v=d.name,!V&&(d.replace&&(d.templateUrl||d.template)||d.transclude&&!d.$$tlb)){for(var G,X=F+1;G=t[X++];)if(G.transclude&&!G.$$tlb||G.replace&&(G.templateUrl||G.template)){D=!0;break}V=!0}if(!d.templateUrl&&d.controller&&(b=d.controller,_=_||dt(),st("'"+v+"' controller",_[v],d,T),_[v]=d),b=d.transclude)if(O=!0,d.$$tlb||(st("transclusion",k,d,T),k=d),"element"==b)M=!0,w=d.priority,$=T,T=n.$$element=Dr(U.$$createComment(v,n[v])),e=T[0],vt(a,q($),e),$[0].$$parentNode=$[0].parentNode,R=Y(D,$,o,w,I&&I.name,{nonTlbTranscludeDirective:k});else{var nt=dt();if($=Dr(jt(e)).contents(),y(b)){$=[];var rt=dt(),at=dt();r(b,function(t,e){var n="?"===t.charAt(0);t=n?t.substring(1):t,rt[t]=e,nt[e]=null,at[e]=n}),r(T.contents(),function(t){var e=rt[$e(P(t))];e?(at[e]=!0,nt[e]=nt[e]||[],nt[e].push(t)):$.push(t)}),r(at,function(t,e){if(!t)throw Wi("reqslot","Required transclusion slot `{0}` was not filled.",e)});for(var ut in nt)nt[ut]&&(nt[ut]=Y(D,nt[ut],o))}T.empty(),R=Y(D,$,o,void 0,void 0,{needsNewScope:d.$$isolateScope||d.$$newScope}),R.$$slots=nt}if(d.template)if(j=!0,st("template",A,d,T),A=d,b=C(d.template)?d.template(T,n):d.template,b=At(b),d.replace){if(I=d,$=xt(b)?[]:me(ft(d.templateNamespace,Yr(b))),e=$[0],1!=$.length||e.nodeType!==oi)throw Wi("tplrt","Template for directive '{0}' must have exactly one root element. {1}",v,"");vt(a,T,e);var ct={$attr:{}},lt=W(e,[],ct),ht=t.splice(F+1,t.length-(F+1));(S||x)&&et(lt,S,x),t=t.concat(lt).concat(ht),it(n,ct),L=t.length}else T.html(b);if(d.templateUrl)j=!0,st("template",A,d,T),A=d,d.replace&&(I=d),p=ot(t.splice(F,t.length-F),T,n,a,O&&R,s,l,{controllerDirectives:_,newScopeDirective:x!==d&&x,newIsolateScopeDirective:S,templateDirective:A,nonTlbTranscludeDirective:k}),L=t.length;else if(d.compile)try{m=d.compile(T,n,R);var pt=d.$$originalDirective||d;C(m)?h(null,B(pt,m),H,z):m&&h(B(pt,m.pre),B(pt,m.post),H,z)}catch(yt){i(yt,K(T))}d.terminal&&(p.terminal=!0,w=Math.max(w,d.priority))}return p.scope=x&&x.scope===!0,p.transcludeOnThisElement=O,p.templateOnThisElement=j,p.transclude=R,f.hasElementTranscludeDirective=M,p}function Q(t,e,n,i){var o;if(w(e)){var a=e.match(_),u=e.substring(a[0].length),s=a[1]||a[3],c="?"===a[2];if("^^"===s?n=n.parent():(o=i&&i[u],o=o&&o.instance),!o){var l="$"+u+"Controller";o=s?n.inheritedData(l):n.data(l)}if(!o&&!c)throw Wi("ctreq","Controller '{0}', required by directive '{1}', can't be found!",u,t)}else if(Jr(e)){o=[];for(var f=0,h=e.length;fd.priority)&&d.restrict.indexOf(r)!=-1){if(s&&(d=h(d,{$$start:s,$$end:c})),!d.$$bindings){var b=d.$$bindings=a(d,d.name);y(b.isolateScope)&&(d.$$isolateBindings=b.isolateScope)}t.push(d),p=d}}catch(w){i(w)}return p}function rt(t){if(l.hasOwnProperty(t))for(var n,r=e.get(t+f),i=0,o=r.length;i"+n+"",r.childNodes[0].childNodes;default:return n}}function ht(t,e){if("srcdoc"==e)return A.HTML;var n=P(t);return"xlinkHref"==e||"form"==n&&"action"==e||"img"!=n&&("src"==e||"ngSrc"==e)?A.RESOURCE_URL:void 0}function pt(t,e,r,i,o){var a=ht(t,i);o=x[i]||o;var u=n(r,!0,a,o);if(u){if("multiple"===i&&"select"===P(t))throw Wi("selmulti","Binding to the 'multiple' attribute is not supported. Element: {0}",K(t));e.push({priority:100,compile:function(){return{pre:function(t,e,s){var c=s.$$observers||(s.$$observers=dt());if(S.test(i))throw Wi("nodomevents","Interpolations for HTML DOM event attributes are disallowed. Please use the ng- versions (such as ng-click instead of onclick) instead.");var l=s[i];l!==r&&(u=l&&n(l,!0,a,o),r=l),u&&(s[i]=u(t),(c[i]||(c[i]=[])).$$inter=!0,(s.$$observers&&s.$$observers[i].$$scope||t).$watch(u,function(t,e){"class"===i&&t!=e?s.$updateClass(t,e):s.$set(i,t)}))}}}})}}function vt(e,n,r){var i,o,a=n[0],u=n.length,s=a.parentNode;if(e)for(i=0,o=e.length;i0&&j.addClass(this.$$element,t)},$removeClass:function(t){t&&t.length>0&&j.removeClass(this.$$element,t)},$updateClass:function(t,e){var n=ge(t,e);n&&n.length&&j.addClass(this.$$element,n);var r=ge(e,t);r&&r.length&&j.removeClass(this.$$element,r)},$set:function(t,e,n,o){var a,u=this.$$element[0],s=zt(u,t),c=Wt(t),l=t;if(s?(this.$$element.prop(t,e),o=s):c&&(this[c]=e,l=c),this[t]=e,o?this.$attr[t]=o:(o=this.$attr[t],o||(this.$attr[t]=o=ut(t,"-"))),a=P(this.$$element),"a"===a&&("href"===t||"xlinkHref"===t)||"img"===a&&"src"===t)this[t]=e=T(e,"src"===t);else if("img"===a&&"srcset"===t&&m(e)){for(var f="",h=Yr(e),p=/(\s+\d+x\s*,|\s+\d+w\s*,|\s+,|,\s+)/,d=/\s/.test(h)?p:/(,)/,v=h.split(d),$=Math.floor(v.length/2),y=0;y<$;y++){var b=2*y;f+=T(Yr(v[b]),!0),f+=" "+Yr(v[b+1])}var w=Yr(v[2*y]).split(/\s/);f+=T(Yr(w[0]),!0),2===w.length&&(f+=" "+Yr(w[1])),this[t]=e=f}n!==!1&&(null===e||g(e)?this.$$element.removeAttr(o):bt.test(o)?this.$$element.attr(o,e):R(this.$$element[0],o,e));var x=this.$$observers;x&&r(x[l],function(t){try{t(e)}catch(n){i(n)}})},$observe:function(t,e){var n=this,r=n.$$observers||(n.$$observers=dt()),i=r[t]||(r[t]=[]);return i.push(e),v.$evalAsync(function(){i.$$inter||!n.hasOwnProperty(t)||g(n[t])||e(n[t])}),function(){D(i,e)}}};var Ct=n.startSymbol(),St=n.endSymbol(),At="{{"==Ct&&"}}"==St?d:function(t){return t.replace(/\{\{/g,Ct).replace(/}}/g,St)},Et=/^ngAttr[A-Z]/,Ot=/^(.+)Start$/;return U.$$addBindingInfo=k?function(t,e){var n=t.data("$binding")||[];Jr(e)?n=n.concat(e):n.push(e),t.data("$binding",n)}:p,U.$$addBindingClass=k?function(t){V(t,"ng-binding")}:p,U.$$addScopeInfo=k?function(t,e,n,r){var i=n?r?"$isolateScopeNoTemplate":"$isolateScope":"$scope";t.data(i,e)}:p,U.$$addScopeClass=k?function(t,e){V(t,e?"ng-isolate-scope":"ng-scope")}:p,U.$$createComment=function(e,n){var r="";return k&&(r=" "+(e||"")+": ",n&&(r+=n+" ")),t.document.createComment(r)},U}]}function ve(t,e){this.previousValue=t,this.currentValue=e}function $e(t){return wt(t.replace(Zi,""))}function ge(t,e){var n="",r=t.split(/\s+/),i=e.split(/\s+/);t:for(var o=0;o0?" ":"")+a}return n}function me(t){t=Dr(t);var e=t.length;if(e<=1)return t;for(;e--;){var n=t[e];n.nodeType===si&&qr.call(t,e,1)}return t}function ye(t,e){if(e&&w(e))return e;if(w(t)){var n=Ki.exec(t);if(n)return n[3]}}function be(){var t={},n=!1;this.has=function(e){return t.hasOwnProperty(e)},this.register=function(e,n){ft(e,"controller"),y(e)?c(t,e):t[e]=n},this.allowGlobals=function(){n=!0},this.$get=["$injector","$window",function(r,i){function o(t,n,r,i){if(!t||!y(t.$scope))throw e("$controller")("noscp","Cannot export controller '{0}' as '{1}'! No $scope object provided via `locals`.",i,n);t.$scope[n]=r}return function(e,a,u,s){var l,f,h,p;if(u=u===!0,s&&w(s)&&(p=s),w(e)){if(f=e.match(Ki),!f)throw Ji("ctrlfmt","Badly formed controller string '{0}'. Must match `__name__ as __id__` or `__name__`.",e);h=f[1],p=p||f[3],e=t.hasOwnProperty(h)?t[h]:ht(a.$scope,h,!0)||(n?ht(i,h,!0):void 0),lt(e,h,!0)}if(u){var d=(Jr(e)?e[e.length-1]:e).prototype;l=Object.create(d||null),p&&o(a,p,l,h||e.name);var v;return v=c(function(){var t=r.invoke(e,l,a,h);return t!==l&&(y(t)||C(t))&&(l=t,p&&o(a,p,l,h||e.name)),l},{instance:l,identifier:p})}return l=r.instantiate(e,a,h),p&&o(a,p,l,h||e.name),l}}]}function we(){this.$get=["$window",function(t){return Dr(t.document)}]}function xe(){this.$get=["$log",function(t){return function(e,n){t.error.apply(t,arguments)}}]}function _e(t){return y(t)?_(t)?t.toISOString():z(t):t}function Ce(){this.$get=function(){return function(t){if(!t)return"";var e=[];return i(t,function(t,n){null===t||g(t)||(Jr(t)?r(t,function(t){e.push(et(n)+"="+et(_e(t)))}):e.push(et(n)+"="+et(_e(t))))}),e.join("&")}}}function Se(){this.$get=function(){return function(t){function e(t,o,a){null===t||g(t)||(Jr(t)?r(t,function(t,n){e(t,o+"["+(y(t)?n:"")+"]")}):y(t)&&!_(t)?i(t,function(t,n){e(t,o+(a?"":"[")+n+(a?"":"]"))}):n.push(et(o)+"="+et(_e(t))))}if(!t)return"";var n=[];return e(t,"",!0),n.join("&")}}}function Ae(t,e){if(w(t)){var n=t.replace(no,"").trim();if(n){var r=e("Content-Type");(r&&0===r.indexOf(Xi)||Ee(n))&&(t=W(n))}}return t}function Ee(t){var e=t.match(to);return e&&eo[e[0]].test(t)}function ke(t){function e(t,e){t&&(i[t]=i[t]?i[t]+", "+e:e)}var n,i=dt();return w(t)?r(t.split("\n"),function(t){n=t.indexOf(":"),e(Ir(Yr(t.substr(0,n))),Yr(t.substr(n+1)))}):y(t)&&r(t,function(t,n){e(Ir(n),Yr(t))}),i}function Oe(t){var e;return function(n){if(e||(e=ke(t)),n){var r=e[Ir(n)];return void 0===r&&(r=null),r}return e}}function je(t,e,n,i){return C(i)?i(t,e,n):(r(i,function(r){t=r(t,e,n)}),t)}function Me(t){return 200<=t&&t<300}function Te(){var t=this.defaults={transformResponse:[Ae],transformRequest:[function(t){return!y(t)||k(t)||j(t)||O(t)?t:z(t)}],headers:{common:{Accept:"application/json, text/plain, */*"},post:$t(Qi),put:$t(Qi),patch:$t(Qi)},xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",paramSerializer:"$httpParamSerializer"},n=!1;this.useApplyAsync=function(t){return m(t)?(n=!!t,this):n};var i=!0;this.useLegacyPromiseExtensions=function(t){return m(t)?(i=!!t,this):i};var o=this.interceptors=[];this.$get=["$httpBackend","$$cookieReader","$cacheFactory","$rootScope","$q","$injector",function(a,u,s,l,f,h){function p(n){function o(t,e){for(var n=0,r=e.length;n=-1?n:0,(Me(n)?w.resolve:w.reject)({data:t,status:n,headers:Oe(r),config:e,statusText:i})}function h(t){c(t.data,t.status,$t(t.headers()),t.statusText)}function d(){var t=p.pendingRequests.indexOf(e);t!==-1&&p.pendingRequests.splice(t,1)}var v,$,w=f.defer(),_=w.promise,C=e.headers,S=b(e.url,e.paramSerializer(e.params));if(p.pendingRequests.push(e),_.then(d,d),!e.cache&&!t.cache||e.cache===!1||"GET"!==e.method&&"JSONP"!==e.method||(v=y(e.cache)?e.cache:y(t.cache)?t.cache:x),v&&($=v.get(S),m($)?T($)?$.then(h,h):Jr($)?c($[1],$[0],$t($[2]),$[3]):c($,200,{},"OK"):v.put(S,_)),g($)){var A=Rn(e.url)?u()[e.xsrfCookieName||t.xsrfCookieName]:void 0;A&&(C[e.xsrfHeaderName||t.xsrfHeaderName]=A),a(e.method,S,i,s,C,e.timeout,e.withCredentials,e.responseType,o(e.eventHandlers),o(e.uploadEventHandlers))}return _}function b(t,e){return e.length>0&&(t+=(t.indexOf("?")==-1?"?":"&")+e),t}var x=s("$http");t.paramSerializer=w(t.paramSerializer)?h.get(t.paramSerializer):t.paramSerializer;var _=[];return r(o,function(t){_.unshift(w(t)?h.get(t):h.invoke(t))}),p.pendingRequests=[],d("get","delete","head","jsonp"),v("post","put","patch"),p.defaults=t,p}]}function Ie(){this.$get=function(){return function(){return new t.XMLHttpRequest}}}function Ne(){this.$get=["$browser","$jsonpCallbacks","$document","$xhrFactory",function(t,e,n,r){return Re(t,r,t.defer,e,n[0])}]}function Re(t,e,n,i,o){function a(t,e,n){t=t.replace("JSON_CALLBACK",e);var r=o.createElement("script"),a=null;return r.type="text/javascript",r.src=t,r.async=!0,a=function(t){vi(r,"load",a),vi(r,"error",a),o.body.removeChild(r),r=null;var u=-1,s="unknown";t&&("load"!==t.type||i.wasCalled(e)||(t={type:"error"}),s=t.type,u="error"===t.type?404:200),n&&n(u,s)},di(r,"load",a),di(r,"error",a),o.body.appendChild(r),a}return function(o,u,s,c,l,f,h,d,v,$){function y(){x&&x(),_&&_.abort()}function b(e,r,i,o,a){m(A)&&n.cancel(A),x=_=null,e(r,i,o,a),t.$$completeOutstandingRequest(p)}if(t.$$incOutstandingRequestCount(),u=u||t.url(),"jsonp"===Ir(o))var w=i.createCallback(u),x=a(u,w,function(t,e){var n=200===t&&i.getResponse(w);b(c,t,n,"",e),i.removeCallback(w)});else{var _=e(o,u);_.open(o,u,!0),r(l,function(t,e){m(t)&&_.setRequestHeader(e,t)}),_.onload=function(){var t=_.statusText||"",e="response"in _?_.response:_.responseText,n=1223===_.status?204:_.status;0===n&&(n=e?200:"file"==Nn(u).protocol?404:0),b(c,n,e,_.getAllResponseHeaders(),t)};var C=function(){b(c,-1,null,null,"")};if(_.onerror=C,_.onabort=C,r(v,function(t,e){_.addEventListener(e,t)}),r($,function(t,e){_.upload.addEventListener(e,t)}),h&&(_.withCredentials=!0),d)try{_.responseType=d}catch(S){if("json"!==d)throw S}_.send(g(s)?null:s)}if(f>0)var A=n(y,f);else T(f)&&f.then(y)}}function Ve(){var t="{{",e="}}";this.startSymbol=function(e){return e?(t=e,this):t},this.endSymbol=function(t){return t?(e=t,this):e},this.$get=["$parse","$exceptionHandler","$sce",function(n,r,i){function o(t){return"\\\\\\"+t}function a(n){return n.replace(p,t).replace(d,e)}function u(t){if(null==t)return"";switch(typeof t){case"string":break;case"number":t=""+t;break;default:t=z(t)}return t}function s(t,e,n,r){var i;return i=t.$watch(function(t){return i(),r(t)},e,n)}function l(o,l,p,d){function $(t){try{return t=T(t),d&&!m(t)?t:u(t)}catch(e){r(oo.interr(o,e))}}if(!o.length||o.indexOf(t)===-1){var y;if(!l){var b=a(o);y=v(b),y.exp=o,y.expressions=[],y.$$watchDelegate=s}return y}d=!!d;for(var w,x,_,S=0,A=[],E=[],k=o.length,O=[],j=[];S1&&oo.throwNoconcat(o),!l||A.length){var M=function(t){for(var e=0,n=A.length;e4,h=f?q(arguments,4):[],p=e.setInterval,d=e.clearInterval,v=0,$=m(c)&&!c,g=($?r:n).defer(),y=g.promise;return s=m(s)?s:0,y.$$intervalId=p(function(){$?i.defer(l):t.$evalAsync(l),g.notify(v++),s>0&&v>=s&&(g.resolve(v),d(y.$$intervalId),delete a[y.$$intervalId]),$||t.$apply()},u),a[y.$$intervalId]=g,y}var a={};return o.cancel=function(t){return!!(t&&t.$$intervalId in a)&&(a[t.$$intervalId].reject("canceled"),e.clearInterval(t.$$intervalId),delete a[t.$$intervalId],!0)},o}]}function De(t){for(var e=t.split("/"),n=e.length;n--;)e[n]=tt(e[n]);return e.join("/")}function Ue(t,e){var n=Nn(t);e.$$protocol=n.protocol,e.$$host=n.hostname,e.$$port=f(n.port)||so[n.protocol]||null}function Fe(t,e){var n="/"!==t.charAt(0);n&&(t="/"+t);var r=Nn(t);e.$$path=decodeURIComponent(n&&"/"===r.pathname.charAt(0)?r.pathname.substring(1):r.pathname),e.$$search=X(r.search),e.$$hash=decodeURIComponent(r.hash),e.$$path&&"/"!=e.$$path.charAt(0)&&(e.$$path="/"+e.$$path)}function Le(t,e){return 0===t.lastIndexOf(e,0)}function qe(t,e){if(Le(e,t))return e.substr(t.length)}function Be(t){var e=t.indexOf("#");return e==-1?t:t.substr(0,e)}function He(t){return t.replace(/(#.+)|#$/,"$1")}function ze(t){return t.substr(0,Be(t).lastIndexOf("/")+1)}function We(t){return t.substring(0,t.indexOf("/",t.indexOf("//")+2))}function Ge(t,e,n){this.$$html5=!0,n=n||"",Ue(t,this),this.$$parse=function(t){var n=qe(e,t);if(!w(n))throw co("ipthprfx",'Invalid url "{0}", missing path prefix "{1}".',t,e);Fe(n,this),this.$$path||(this.$$path="/"),this.$$compose()},this.$$compose=function(){var t=Q(this.$$search),n=this.$$hash?"#"+tt(this.$$hash):"";this.$$url=De(this.$$path)+(t?"?"+t:"")+n,this.$$absUrl=e+this.$$url.substr(1)},this.$$parseLinkUrl=function(r,i){if(i&&"#"===i[0])return this.hash(i.slice(1)),!0;var o,a,u;return m(o=qe(t,r))?(a=o,u=m(o=qe(n,o))?e+(qe("/",o)||o):t+a):m(o=qe(e,r))?u=e+o:e==r+"/"&&(u=e),u&&this.$$parse(u),!!u}}function Ze(t,e,n){Ue(t,this),this.$$parse=function(r){function i(t,e,n){var r,i=/^\/[A-Z]:(\/.*)/;return Le(e,n)&&(e=e.replace(n,"")),i.exec(e)?t:(r=i.exec(t),r?r[1]:t)}var o,a=qe(t,r)||qe(e,r);g(a)||"#"!==a.charAt(0)?this.$$html5?o=a:(o="",g(a)&&(t=r,this.replace())):(o=qe(n,a),g(o)&&(o=a)),Fe(o,this),this.$$path=i(this.$$path,o,t),this.$$compose()},this.$$compose=function(){var e=Q(this.$$search),r=this.$$hash?"#"+tt(this.$$hash):"";this.$$url=De(this.$$path)+(e?"?"+e:"")+r,this.$$absUrl=t+(this.$$url?n+this.$$url:"")},this.$$parseLinkUrl=function(e,n){return Be(t)==Be(e)&&(this.$$parse(e),!0)}}function Je(t,e,n){this.$$html5=!0,Ze.apply(this,arguments),this.$$parseLinkUrl=function(r,i){if(i&&"#"===i[0])return this.hash(i.slice(1)),!0;var o,a;return t==Be(r)?o=r:(a=qe(e,r))?o=t+n+a:e===r+"/"&&(o=e),o&&this.$$parse(o),!!o},this.$$compose=function(){var e=Q(this.$$search),r=this.$$hash?"#"+tt(this.$$hash):"";this.$$url=De(this.$$path)+(e?"?"+e:"")+r,this.$$absUrl=t+n+this.$$url}}function Ke(t){return function(){return this[t]}}function Ye(t,e){return function(n){return g(n)?this[t]:(this[t]=e(n),this.$$compose(),this)}}function Xe(){var t="",e={enabled:!1,requireBase:!0,rewriteLinks:!0};this.hashPrefix=function(e){return m(e)?(t=e,this):t},this.html5Mode=function(t){return M(t)?(e.enabled=t,this):y(t)?(M(t.enabled)&&(e.enabled=t.enabled),M(t.requireBase)&&(e.requireBase=t.requireBase),M(t.rewriteLinks)&&(e.rewriteLinks=t.rewriteLinks),this):e},this.$get=["$rootScope","$browser","$sniffer","$rootElement","$window",function(n,r,i,o,a){function u(t,e,n){var i=c.url(),o=c.$$state;try{r.url(t,e,n),c.$$state=r.state()}catch(a){throw c.url(i),c.$$state=o,a}}function s(t,e){n.$broadcast("$locationChangeSuccess",c.absUrl(),t,c.$$state,e)}var c,l,f,h=r.baseHref(),p=r.url();if(e.enabled){if(!h&&e.requireBase)throw co("nobase","$location in HTML5 mode requires a tag to be present!");f=We(p)+(h||"/"),l=i.history?Ge:Je}else f=Be(p),l=Ze;var d=ze(f);c=new l(f,d,"#"+t),c.$$parseLinkUrl(p,p),c.$$state=r.state();var v=/^\s*(javascript|mailto):/i;o.on("click",function(t){if(e.rewriteLinks&&!t.ctrlKey&&!t.metaKey&&!t.shiftKey&&2!=t.which&&2!=t.button){for(var i=Dr(t.target);"a"!==P(i[0]);)if(i[0]===o[0]||!(i=i.parent())[0])return;var u=i.prop("href"),s=i.attr("href")||i.attr("xlink:href");y(u)&&"[object SVGAnimatedString]"===u.toString()&&(u=Nn(u.animVal).href),v.test(u)||!u||i.attr("target")||t.isDefaultPrevented()||c.$$parseLinkUrl(u,s)&&(t.preventDefault(),c.absUrl()!=r.url()&&(n.$apply(),a.angular["ff-684208-preventDefault"]=!0))}}),He(c.absUrl())!=He(p)&&r.url(c.absUrl(),!0);var $=!0;return r.onUrlChange(function(t,e){return g(qe(d,t))?void(a.location.href=t):(n.$evalAsync(function(){var r,i=c.absUrl(),o=c.$$state;t=He(t),c.$$parse(t),c.$$state=e,r=n.$broadcast("$locationChangeStart",t,i,e,o).defaultPrevented,c.absUrl()===t&&(r?(c.$$parse(i),c.$$state=o,u(i,!1,o)):($=!1,s(i,o)))}),void(n.$$phase||n.$digest()))}),n.$watch(function(){var t=He(r.url()),e=He(c.absUrl()),o=r.state(),a=c.$$replace,l=t!==e||c.$$html5&&i.history&&o!==c.$$state;($||l)&&($=!1,n.$evalAsync(function(){var e=c.absUrl(),r=n.$broadcast("$locationChangeStart",e,t,c.$$state,o).defaultPrevented;c.absUrl()===e&&(r?(c.$$parse(t),c.$$state=o):(l&&u(e,a,o===c.$$state?null:c.$$state),s(t,o)))})),c.$$replace=!1}),c}]}function Qe(){var t=!0,e=this;this.debugEnabled=function(e){return m(e)?(t=e,this):t},this.$get=["$window",function(n){function i(t){return t instanceof Error&&(t.stack?t=t.message&&t.stack.indexOf(t.message)===-1?"Error: "+t.message+"\n"+t.stack:t.stack:t.sourceURL&&(t=t.message+"\n"+t.sourceURL+":"+t.line)),t}function o(t){var e=n.console||{},o=e[t]||e.log||p,a=!1;try{a=!!o.apply}catch(u){}return a?function(){var t=[];return r(arguments,function(e){t.push(i(e))}),o.apply(e,t)}:function(t,e){o(t,null==e?"":e)}}return{log:o("log"),info:o("info"),warn:o("warn"),error:o("error"),debug:function(){var n=o("debug");return function(){t&&n.apply(e,arguments)}}()}}]}function tn(t,e){if("__defineGetter__"===t||"__defineSetter__"===t||"__lookupGetter__"===t||"__lookupSetter__"===t||"__proto__"===t)throw fo("isecfld","Attempting to access a disallowed field in Angular expressions! Expression: {0}",e);return t}function en(t){return t+""}function nn(t,e){if(t){if(t.constructor===t)throw fo("isecfn","Referencing Function in Angular expressions is disallowed! Expression: {0}",e);if(t.window===t)throw fo("isecwindow","Referencing the Window in Angular expressions is disallowed! Expression: {0}",e);if(t.children&&(t.nodeName||t.prop&&t.attr&&t.find))throw fo("isecdom","Referencing DOM nodes in Angular expressions is disallowed! Expression: {0}",e);if(t===Object)throw fo("isecobj","Referencing Object in Angular expressions is disallowed! Expression: {0}",e)}return t}function rn(t,e){if(t){if(t.constructor===t)throw fo("isecfn","Referencing Function in Angular expressions is disallowed! Expression: {0}",e);if(t===ho||t===po||t===vo)throw fo("isecff","Referencing call, apply or bind in Angular expressions is disallowed! Expression: {0}",e)}}function on(t,e){if(t&&(t===(0).constructor||t===(!1).constructor||t==="".constructor||t==={}.constructor||t===[].constructor||t===Function.constructor))throw fo("isecaf","Assigning to a constructor is disallowed! Expression: {0}",e)}function an(t,e){return"undefined"!=typeof t?t:e}function un(t,e){return"undefined"==typeof t?e:"undefined"==typeof e?t:t+e}function sn(t,e){var n=t(e);return!n.$stateful}function cn(t,e){var n,i;switch(t.type){case yo.Program:n=!0,r(t.body,function(t){cn(t.expression,e),n=n&&t.expression.constant}),t.constant=n;break;case yo.Literal:t.constant=!0,t.toWatch=[];break;case yo.UnaryExpression:cn(t.argument,e),t.constant=t.argument.constant,t.toWatch=t.argument.toWatch;break;case yo.BinaryExpression:cn(t.left,e),cn(t.right,e),t.constant=t.left.constant&&t.right.constant,t.toWatch=t.left.toWatch.concat(t.right.toWatch);break;case yo.LogicalExpression:cn(t.left,e),cn(t.right,e),t.constant=t.left.constant&&t.right.constant,t.toWatch=t.constant?[]:[t];break;case yo.ConditionalExpression:cn(t.test,e),cn(t.alternate,e),cn(t.consequent,e),t.constant=t.test.constant&&t.alternate.constant&&t.consequent.constant,t.toWatch=t.constant?[]:[t];break;case yo.Identifier:t.constant=!1,t.toWatch=[t];break;case yo.MemberExpression:cn(t.object,e),t.computed&&cn(t.property,e),t.constant=t.object.constant&&(!t.computed||t.property.constant),t.toWatch=[t];break;case yo.CallExpression: +n=!!t.filter&&sn(e,t.callee.name),i=[],r(t.arguments,function(t){cn(t,e),n=n&&t.constant,t.constant||i.push.apply(i,t.toWatch)}),t.constant=n,t.toWatch=t.filter&&sn(e,t.callee.name)?i:[t];break;case yo.AssignmentExpression:cn(t.left,e),cn(t.right,e),t.constant=t.left.constant&&t.right.constant,t.toWatch=[t];break;case yo.ArrayExpression:n=!0,i=[],r(t.elements,function(t){cn(t,e),n=n&&t.constant,t.constant||i.push.apply(i,t.toWatch)}),t.constant=n,t.toWatch=i;break;case yo.ObjectExpression:n=!0,i=[],r(t.properties,function(t){cn(t.value,e),n=n&&t.value.constant&&!t.computed,t.value.constant||i.push.apply(i,t.value.toWatch)}),t.constant=n,t.toWatch=i;break;case yo.ThisExpression:t.constant=!1,t.toWatch=[];break;case yo.LocalsExpression:t.constant=!1,t.toWatch=[]}}function ln(t){if(1==t.length){var e=t[0].expression,n=e.toWatch;return 1!==n.length?n:n[0]!==e?n:void 0}}function fn(t){return t.type===yo.Identifier||t.type===yo.MemberExpression}function hn(t){if(1===t.body.length&&fn(t.body[0].expression))return{type:yo.AssignmentExpression,left:t.body[0].expression,right:{type:yo.NGValueParameter},operator:"="}}function pn(t){return 0===t.body.length||1===t.body.length&&(t.body[0].expression.type===yo.Literal||t.body[0].expression.type===yo.ArrayExpression||t.body[0].expression.type===yo.ObjectExpression)}function dn(t){return t.constant}function vn(t,e){this.astBuilder=t,this.$filter=e}function $n(t,e){this.astBuilder=t,this.$filter=e}function gn(t){return"constructor"==t}function mn(t){return C(t.valueOf)?t.valueOf():wo.call(t)}function yn(){var t,e,n=dt(),i=dt(),o={"true":!0,"false":!1,"null":null,undefined:void 0};this.addLiteral=function(t,e){o[t]=e},this.setIdentifierFns=function(n,r){return t=n,e=r,this},this.$get=["$filter",function(a){function u(t,e,r){var o,u,c;switch(r=r||b,typeof t){case"string":t=t.trim(),c=t;var $=r?i:n;if(o=$[c],!o){":"===t.charAt(0)&&":"===t.charAt(1)&&(u=!0,t=t.substring(2));var m=r?y:g,w=new mo(m),x=new bo(w,a,m);o=x.parse(t),o.constant?o.$$watchDelegate=d:u?o.$$watchDelegate=o.literal?h:f:o.inputs&&(o.$$watchDelegate=l),r&&(o=s(o)),$[c]=o}return v(o,e);case"function":return v(t,e);default:return v(p,e)}}function s(t){function e(e,n,r,i){var o=b;b=!0;try{return t(e,n,r,i)}finally{b=o}}if(!t)return t;e.$$watchDelegate=t.$$watchDelegate,e.assign=s(t.assign),e.constant=t.constant,e.literal=t.literal;for(var n=0;t.inputs&&n0&&u(this.$$state),r.promise},"catch":function(t){return this.then(null,t)},"finally":function(t,e){return this.then(function(e){return $(e,!0,t)},function(e){return $(e,!1,t)},e)}}),c(s.prototype,{resolve:function(t){this.promise.$$state.status||(t===this.promise?this.$$reject(h("qcycle","Expected promise to be resolved with value other than itself '{0}'",t)):this.$$resolve(t))},$$resolve:function(t){function e(t){s||(s=!0,a.$$resolve(t))}function r(t){s||(s=!0,a.$$reject(t))}var i,a=this,s=!1;try{(y(t)||C(t))&&(i=t&&t.then),C(i)?(this.promise.$$state.status=-1,i.call(t,e,r,o(this,this.notify))):(this.promise.$$state.value=t,this.promise.$$state.status=1,u(this.promise.$$state))}catch(c){r(c),n(c)}},reject:function(t){this.promise.$$state.status||this.$$reject(t)},$$reject:function(t){this.promise.$$state.value=t,this.promise.$$state.status=2,u(this.promise.$$state)},notify:function(e){var r=this.promise.$$state.pending;this.promise.$$state.status<=0&&r&&r.length&&t(function(){for(var t,i,o=0,a=r.length;o=0&&m(o,-1),u=null}},$watchGroup:function(t,e){function n(){s=!1,c?(c=!1,e(o,o,u)):e(o,i,u)}var i=new Array(t.length),o=new Array(t.length),a=[],u=this,s=!1,c=!0;if(!t.length){var l=!0;return u.$evalAsync(function(){l&&e(o,o,u)}),function(){l=!1}}return 1===t.length?this.$watch(t[0],function(t,n,r){o[0]=t,i[0]=n,e(o,t===n?o:i,r)}):(r(t,function(t,e){var r=u.$watch(t,function(t,r){o[e]=t,i[e]=r,s||(s=!0,u.$evalAsync(n))});a.push(r)}),function(){for(;a.length;)a.shift()()})},$watchCollection:function(t,e){function r(t){o=t;var e,r,i,u,s;if(!g(o)){if(y(o))if(n(o)){a!==p&&(a=p,$=a.length=0,f++),e=o.length,$!==e&&(f++,a.length=$=e);for(var c=0;ce){f++;for(r in a)Tr.call(o,r)||($--,delete a[r])}}else a!==o&&(a=o,f++);return f}}function i(){if(v?(v=!1,e(o,o,s)):e(o,u,s),l)if(y(o))if(n(o)){u=new Array(o.length);for(var t=0;t1,f=0,h=c(t,r),p=[],d={},v=!0,$=0;return this.$watch(h,i)},$digest:function(){var t,n,r,a,c,f,h,p,d,g,m,y,b=i,_=this,k=[];v("$digest"),l.$$checkUrlChange(),this===S&&null!==s&&(l.defer.cancel(s),x()),u=null;do{p=!1,g=_;for(var j=0;j-1)throw xo("iwcard","Illegal sequence *** in string matcher. String: {0}",t);return t=Xr(t).replace("\\*\\*",".*").replace("\\*","[^:/.?&;]*"),new RegExp("^"+t+"$")}if(S(t))return new RegExp("^"+t.source+"$");throw xo("imatcher",'Matchers may only be "self", string patterns or RegExp objects')}function En(t){var e=[];return m(t)&&r(t,function(t){e.push(An(t))}),e}function kn(){this.SCE_CONTEXTS=_o;var t=["self"],e=[];this.resourceUrlWhitelist=function(e){return arguments.length&&(t=En(e)),t},this.resourceUrlBlacklist=function(t){return arguments.length&&(e=En(t)),e},this.$get=["$injector",function(n){function r(t,e){return"self"===t?Rn(e):!!t.exec(e.href)}function i(n){var i,o,a=Nn(n.toString()),u=!1;for(i=0,o=t.length;i to the top of your HTML document. See http://docs.angularjs.org/api/ng.$sce for more information.");var i=$t(_o);i.isEnabled=function(){return t},i.trustAs=n.trustAs,i.getTrusted=n.getTrusted,i.valueOf=n.valueOf,t||(i.trustAs=i.getTrusted=function(t,e){return e},i.valueOf=d),i.parseAs=function(t,n){var r=e(n);return r.literal&&r.constant?r:e(n,function(e){return i.getTrusted(t,e)})};var o=i.parseAs,a=i.getTrusted,u=i.trustAs;return r(_o,function(t,e){var n=Ir(e);i[wt("parse_as_"+n)]=function(e){return o(t,e)},i[wt("get_trusted_"+n)]=function(e){return a(t,e)},i[wt("trust_as_"+n)]=function(e){return u(t,e)}}),i}]}function jn(){this.$get=["$window","$document",function(t,e){var n,r,i={},o=t.chrome&&t.chrome.app&&t.chrome.app.runtime,a=!o&&t.history&&t.history.pushState,u=f((/android (\d+)/.exec(Ir((t.navigator||{}).userAgent))||[])[1]),s=/Boxee/i.test((t.navigator||{}).userAgent),c=e[0]||{},l=/^(Moz|webkit|ms)(?=[A-Z])/,h=c.body&&c.body.style,p=!1,d=!1;if(h){for(var v in h)if(r=l.exec(v)){n=r[0],n=n[0].toUpperCase()+n.substr(1);break}n||(n="WebkitOpacity"in h&&"webkit"),p=!!("transition"in h||n+"Transition"in h),d=!!("animation"in h||n+"Animation"in h),!u||p&&d||(p=w(h.webkitTransition),d=w(h.webkitAnimation))}return{history:!(!a||u<4||s),hasEvent:function(t){if("input"===t&&Pr<=11)return!1;if(g(i[t])){var e=c.createElement("div");i[t]="on"+t in e}return i[t]},csp:Qr(),vendorPrefix:n,transitions:p,animations:d,android:u}}]}function Mn(){var t;this.httpOptions=function(e){return e?(t=e,this):t},this.$get=["$templateCache","$http","$q","$sce",function(e,n,r,i){function o(a,u){function s(t){if(!u)throw Co("tpload","Failed to load template: {0} (HTTP status: {1} {2})",a,t.status,t.statusText);return r.reject(t)}o.totalPendingRequests++,w(a)&&!g(e.get(a))||(a=i.getTrustedResourceUrl(a));var l=n.defaults&&n.defaults.transformResponse;return Jr(l)?l=l.filter(function(t){return t!==Ae}):l===Ae&&(l=null),n.get(a,c({cache:e,transformResponse:l},t))["finally"](function(){o.totalPendingRequests--}).then(function(t){return e.put(a,t.data),t.data},s)}return o.totalPendingRequests=0,o}]}function Tn(){this.$get=["$rootScope","$browser","$location",function(t,e,n){var i={};return i.findBindings=function(t,e,n){var i=t.getElementsByClassName("ng-binding"),o=[];return r(i,function(t){var i=Gr.element(t).data("$binding");i&&r(i,function(r){if(n){var i=new RegExp("(^|\\s)"+Xr(e)+"(\\s|\\||$)");i.test(r)&&o.push(t)}else r.indexOf(e)!=-1&&o.push(t)})}),o},i.findModels=function(t,e,n){for(var r=["ng-","data-ng-","ng\\:"],i=0;i0&&(s=e(o.substring(0,u)),g(r[s])&&(r[s]=e(o.substring(u+1))));return r}}function Dn(){this.$get=Pn}function Un(t){function e(i,o){if(y(i)){var a={};return r(i,function(t,n){a[n]=e(n,t)}),a}return t.factory(i+n,o)}var n="Filter";this.register=e,this.$get=["$injector",function(t){return function(e){return t.get(e+n)}}],e("currency",Hn),e("date",or),e("filter",Fn),e("json",ar),e("limitTo",ur),e("lowercase",Io),e("number",zn),e("orderBy",cr),e("uppercase",No)}function Fn(){return function(t,r,i,o){if(!n(t)){if(null==t)return t;throw e("filter")("notarray","Expected array but received: {0}",t)}o=o||"$";var a,u,s=Bn(r);switch(s){case"function":a=r;break;case"boolean":case"null":case"number":case"string":u=!0;case"object":a=Ln(r,i,o,u);break;default:return t}return Array.prototype.filter.call(t,a)}}function Ln(t,e,n,r){var i,o=y(t)&&n in t;return e===!0?e=F:C(e)||(e=function(t,e){return!g(t)&&(null===t||null===e?t===e:!(y(e)||y(t)&&!$(t))&&(t=Ir(""+t),e=Ir(""+e),t.indexOf(e)!==-1))}),i=function(i){return o&&!y(i)?qn(i,t[n],e,n,!1):qn(i,t,e,n,r)}}function qn(t,e,n,r,i,o){var a=Bn(t),u=Bn(e);if("string"===u&&"!"===e.charAt(0))return!qn(t,e.substring(1),n,r,i);if(Jr(t))return t.some(function(t){return qn(t,e,n,r,i)});switch(a){case"object":var s;if(i){for(s in t)if("$"!==s.charAt(0)&&qn(t[s],e,n,r,!0))return!0;return!o&&qn(t,e,n,r,!1)}if("object"===u){for(s in e){var c=e[s];if(!C(c)&&!g(c)){var l=s===r,f=l?t:t[s];if(!qn(f,c,n,r,l,l))return!1}}return!0}return n(t,e);case"function":return!1;default:return n(t,e)}}function Bn(t){return null===t?"null":typeof t}function Hn(t){var e=t.NUMBER_FORMATS;return function(t,n,r){return g(n)&&(n=e.CURRENCY_SYM),g(r)&&(r=e.PATTERNS[1].maxFrac),null==t?t:Zn(t,e.PATTERNS[1],e.GROUP_SEP,e.DECIMAL_SEP,r).replace(/\u00A4/g,n)}}function zn(t){var e=t.NUMBER_FORMATS;return function(t,n){return null==t?t:Zn(t,e.PATTERNS[0],e.GROUP_SEP,e.DECIMAL_SEP,n)}}function Wn(t){var e,n,r,i,o,a=0;for((n=t.indexOf(ko))>-1&&(t=t.replace(ko,"")),(r=t.search(/e/i))>0?(n<0&&(n=r),n+=+t.slice(r+1),t=t.substring(0,r)):n<0&&(n=t.length),r=0;t.charAt(r)==Oo;r++);if(r==(o=t.length))e=[0],n=1;else{for(o--;t.charAt(o)==Oo;)o--;for(n-=r,e=[],i=0;r<=o;r++,i++)e[i]=+t.charAt(r)}return n>Eo&&(e=e.splice(0,Eo-1),a=n-1,n=1),{d:e,e:a,i:n}}function Gn(t,e,n,r){var i=t.d,o=i.length-t.i;e=g(e)?Math.min(Math.max(n,o),r):+e;var a=e+t.i,u=i[a];if(a>0){i.splice(Math.max(t.i,a));for(var s=a;s=5)if(a-1<0){for(var l=0;l>a;l--)i.unshift(0),t.i++;i.unshift(1),t.i++}else i[a-1]++;for(;o0?p=l.splice(f,l.length):(p=l,l=[0]);var d=[];for(l.length>=e.lgSize&&d.unshift(l.splice(-e.lgSize,l.length).join(""));l.length>e.gSize;)d.unshift(l.splice(-e.gSize,l.length).join(""));l.length&&d.unshift(l.join("")),c=d.join(n),p.length&&(c+=r+p.join("")),h&&(c+="e+"+h)}return t<0&&!u?e.negPre+c+e.negSuf:e.posPre+c+e.posSuf}function Jn(t,e,n,r){var i="";for((t<0||r&&t<=0)&&(r?t=-t+1:(t=-t,i="-")),t=""+t;t.length0||a>-n)&&(a+=n),0===a&&n==-12&&(a=12),Jn(a,e,r,i)}}function Yn(t,e,n){return function(r,i){var o=r["get"+t](),a=(n?"STANDALONE":"")+(e?"SHORT":""),u=Nr(a+t);return i[u][o]}}function Xn(t,e,n){var r=-1*n,i=r>=0?"+":"";return i+=Jn(Math[r>0?"floor":"ceil"](r/60),2)+Jn(Math.abs(r%60),2)}function Qn(t){var e=new Date(t,0,1).getDay();return new Date(t,0,(e<=4?5:12)-e)}function tr(t){return new Date(t.getFullYear(),t.getMonth(),t.getDate()+(4-t.getDay()))}function er(t){return function(e){var n=Qn(e.getFullYear()),r=tr(e),i=+r-+n,o=1+Math.round(i/6048e5);return Jn(o,t)}}function nr(t,e){return t.getHours()<12?e.AMPMS[0]:e.AMPMS[1]}function rr(t,e){return t.getFullYear()<=0?e.ERAS[0]:e.ERAS[1]}function ir(t,e){return t.getFullYear()<=0?e.ERANAMES[0]:e.ERANAMES[1]}function or(t){function e(t){var e;if(e=t.match(n)){var r=new Date(0),i=0,o=0,a=e[8]?r.setUTCFullYear:r.setFullYear,u=e[8]?r.setUTCHours:r.setHours;e[9]&&(i=f(e[9]+e[10]),o=f(e[9]+e[11])),a.call(r,f(e[1]),f(e[2])-1,f(e[3]));var s=f(e[4]||0)-i,c=f(e[5]||0)-o,l=f(e[6]||0),h=Math.round(1e3*parseFloat("0."+(e[7]||0)));return u.call(r,s,c,l,h),r}return t}var n=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/;return function(n,i,o){var a,u,s="",c=[];if(i=i||"mediumDate",i=t.DATETIME_FORMATS[i]||i,w(n)&&(n=To.test(n)?f(n):e(n)),x(n)&&(n=new Date(n)),!_(n)||!isFinite(n.getTime()))return n;for(;i;)u=Mo.exec(i),u?(c=L(c,u,1),i=c.pop()):(c.push(i),i=null);var l=n.getTimezoneOffset();return o&&(l=G(o,l),n=J(n,o,!0)),r(c,function(e){a=jo[e],s+=a?a(n,t.DATETIME_FORMATS,l):"''"===e?"'":e.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),s}}function ar(){return function(t,e){return g(e)&&(e=2),z(t,e)}}function ur(){return function(t,e,r){return e=Math.abs(Number(e))===1/0?Number(e):f(e),isNaN(e)?t:(x(t)&&(t=t.toString()),n(t)?(r=!r||isNaN(r)?0:f(r),r=r<0?Math.max(0,t.length+r):r,e>=0?sr(t,r,r+e):0===r?sr(t,e,t.length):sr(t,Math.max(0,r+e),r)):t)}}function sr(t,e,n){return w(t)?t.slice(e,n):Lr.call(t,e,n)}function cr(t){function r(e){return e.map(function(e){var n=1,r=d;if(C(e))r=e;else if(w(e)&&("+"!=e.charAt(0)&&"-"!=e.charAt(0)||(n="-"==e.charAt(0)?-1:1,e=e.substring(1)),""!==e&&(r=t(e),r.constant))){var i=r();r=function(t){return t[i]}}return{get:r,descending:n}})}function i(t){switch(typeof t){case"number":case"boolean":case"string":return!0;default:return!1}}function o(t){return C(t.valueOf)&&(t=t.valueOf(),i(t))?t:$(t)&&(t=t.toString(),i(t))?t:t}function a(t,e){var n=typeof t;return null===t?(n="string",t="null"):"object"===n&&(t=o(t)),{value:t,type:n,index:e}}function u(t,e){var n=0,r=t.type,i=e.type;if(r===i){var o=t.value,a=e.value;"string"===r?(o=o.toLowerCase(),a=a.toLowerCase()):"object"===r&&(y(o)&&(o=t.index),y(a)&&(a=e.index)),o!==a&&(n=o=v},a.$observe("min",function(t){ +v=h(t),u.$validate()})}if(m(a.max)||a.ngMax){var $;u.$validators.max=function(t){return!f(t)||g($)||n(t)<=$},a.$observe("max",function(t){$=h(t),u.$validate()})}}}function yr(t,e,n,r){var i=e[0],o=r.$$hasNativeValidators=y(i.validity);o&&r.$parsers.push(function(t){var n=e.prop(Mr)||{};return n.badInput||n.typeMismatch?void 0:t})}function br(t,e,n,r,i,o){if(yr(t,e,n,r),vr(t,e,n,r,i,o),r.$$parserName="number",r.$parsers.push(function(t){return r.$isEmpty(t)?null:zo.test(t)?parseFloat(t):void 0}),r.$formatters.push(function(t){if(!r.$isEmpty(t)){if(!x(t))throw ka("numfmt","Expected `{0}` to be a number",t);t=t.toString()}return t}),m(n.min)||n.ngMin){var a;r.$validators.min=function(t){return r.$isEmpty(t)||g(a)||t>=a},n.$observe("min",function(t){m(t)&&!x(t)&&(t=parseFloat(t)),a=x(t)&&!isNaN(t)?t:void 0,r.$validate()})}if(m(n.max)||n.ngMax){var u;r.$validators.max=function(t){return r.$isEmpty(t)||g(u)||t<=u},n.$observe("max",function(t){m(t)&&!x(t)&&(t=parseFloat(t)),u=x(t)&&!isNaN(t)?t:void 0,r.$validate()})}}function wr(t,e,n,r,i,o){vr(t,e,n,r,i,o),pr(r),r.$$parserName="url",r.$validators.url=function(t,e){var n=t||e;return r.$isEmpty(n)||Bo.test(n)}}function xr(t,e,n,r,i,o){vr(t,e,n,r,i,o),pr(r),r.$$parserName="email",r.$validators.email=function(t,e){var n=t||e;return r.$isEmpty(n)||Ho.test(n)}}function _r(t,e,n,r){g(n.name)&&e.attr("name",a());var i=function(t){e[0].checked&&r.$setViewValue(n.value,t&&t.type)};e.on("click",i),r.$render=function(){var t=n.value;e[0].checked=t==r.$viewValue},n.$observe("value",r.$render)}function Cr(t,e,n,r,i){var o;if(m(r)){if(o=t(r),!o.constant)throw ka("constexpr","Expected constant expression for `{0}`, but saw `{1}`.",n,r);return o(e)}return i}function Sr(t,e,n,r,i,o,a,u){var s=Cr(u,t,"ngTrueValue",n.ngTrueValue,!0),c=Cr(u,t,"ngFalseValue",n.ngFalseValue,!1),l=function(t){r.$setViewValue(e[0].checked,t&&t.type)};e.on("click",l),r.$render=function(){e[0].checked=r.$viewValue},r.$isEmpty=function(t){return t===!1},r.$formatters.push(function(t){return F(t,s)}),r.$parsers.push(function(t){return t?s:c})}function Ar(t,e){return t="ngClass"+t,["$animate",function(n){function i(t,e){var n=[];t:for(var r=0;r0||n[t])&&(n[t]=(n[t]||0)+e,n[t]===+(e>0)&&i.push(t))}),u.data("$classCounts",n),i.join(" ")}function h(t,e){var r=i(e,t),o=i(t,e);r=f(r,1),o=f(o,-1),r&&r.length&&n.addClass(u,r),o&&o.length&&n.removeClass(u,o)}function p(t){if(e===!0||(1&a.$index)===e){var n=o(t||[]);if(d){if(!F(t,d)){var r=o(d);h(r,n)}}else c(n)}d=Jr(t)?t.map(function(t){return $t(t)}):$t(t)}var d;a.$watch(s[t],p,!0),s.$observe("class",function(e){p(a.$eval(s[t]))}),"ngClass"!==t&&a.$watch("$index",function(n,r){var i=1&n;if(i!==(1&r)){var u=o(a.$eval(s[t]));i===e?c(u):l(u)}})}}}]}function Er(t){function e(t,e,u){g(e)?n("$pending",t,u):r("$pending",t,u),M(e)?e?(l(a.$error,t,u),c(a.$$success,t,u)):(c(a.$error,t,u),l(a.$$success,t,u)):(l(a.$error,t,u),l(a.$$success,t,u)),a.$pending?(i(Sa,!0),a.$valid=a.$invalid=void 0,o("",null)):(i(Sa,!1),a.$valid=kr(a.$error),a.$invalid=!a.$valid,o("",a.$valid));var s;s=a.$pending&&a.$pending[t]?void 0:!a.$error[t]&&(!!a.$$success[t]||null),o(t,s),a.$$parentForm.$setValidity(t,s,a)}function n(t,e,n){a[t]||(a[t]={}),c(a[t],e,n)}function r(t,e,n){a[t]&&l(a[t],e,n),kr(a[t])&&(a[t]=void 0)}function i(t,e){e&&!s[t]?(f.addClass(u,t),s[t]=!0):!e&&s[t]&&(f.removeClass(u,t),s[t]=!1)}function o(t,e){t=t?"-"+ut(t,"-"):"",i(ya+t,e===!0),i(ba+t,e===!1)}var a=t.ctrl,u=t.$element,s={},c=t.set,l=t.unset,f=t.$animate;s[ba]=!(s[ya]=u.hasClass(ya)),a.$setValidity=e}function kr(t){if(t)for(var e in t)if(t.hasOwnProperty(e))return!1;return!0}function Or(t){t[0].hasAttribute("selected")&&(t[0].selected=!0)}var jr=/^\/(.+)\/([a-z]*)$/,Mr="validity",Tr=Object.prototype.hasOwnProperty,Ir=function(t){return w(t)?t.toLowerCase():t},Nr=function(t){return w(t)?t.toUpperCase():t},Rr=function(t){return w(t)?t.replace(/[A-Z]/g,function(t){return String.fromCharCode(32|t.charCodeAt(0))}):t},Vr=function(t){return w(t)?t.replace(/[a-z]/g,function(t){return String.fromCharCode(t.charCodeAt(0)&-33)}):t};"i"!=="I".toLowerCase()&&(Ir=Rr,Nr=Vr);var Pr,Dr,Ur,Fr,Lr=[].slice,qr=[].splice,Br=[].push,Hr=Object.prototype.toString,zr=Object.getPrototypeOf,Wr=e("ng"),Gr=t.angular||(t.angular={}),Zr=0;Pr=t.document.documentMode,p.$inject=[],d.$inject=[];var Jr=Array.isArray,Kr=/^\[object (?:Uint8|Uint8Clamped|Uint16|Uint32|Int8|Int16|Int32|Float32|Float64)Array\]$/,Yr=function(t){return w(t)?t.trim():t},Xr=function(t){return t.replace(/([-()\[\]{}+?*.$\^|,:#(?:<\/\1>|)$/,wi=/<|&#?\w+;/,xi=/<([\w:-]+)/,_i=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,Ci={option:[1,'"],thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};Ci.optgroup=Ci.option,Ci.tbody=Ci.tfoot=Ci.colgroup=Ci.caption=Ci.thead,Ci.th=Ci.td;var Si=t.Node.prototype.contains||function(t){return!!(16&this.compareDocumentPosition(t))},Ai=Ot.prototype={ready:function(e){function n(){r||(r=!0,e())}var r=!1;"complete"===t.document.readyState?t.setTimeout(n):(this.on("DOMContentLoaded",n),Ot(t).on("load",n))},toString:function(){var t=[];return r(this,function(e){t.push(""+e)}),"["+t.join(", ")+"]"},eq:function(t){return Dr(t>=0?this[t]:this[this.length+t])},length:0,push:Br,sort:[].sort,splice:[].splice},Ei={};r("multiple,selected,checked,disabled,readOnly,required,open".split(","),function(t){Ei[Ir(t)]=t});var ki={};r("input,select,option,textarea,button,form,details".split(","),function(t){ki[t]=!0});var Oi={ngMinlength:"minlength",ngMaxlength:"maxlength",ngMin:"min",ngMax:"max",ngPattern:"pattern"};r({data:Rt,removeData:It,hasData:Ct,cleanData:St},function(t,e){Ot[e]=t}),r({data:Rt,inheritedData:Lt,scope:function(t){return Dr.data(t,"$scope")||Lt(t.parentNode||t,["$isolateScope","$scope"])},isolateScope:function(t){return Dr.data(t,"$isolateScope")||Dr.data(t,"$isolateScopeNoTemplate")},controller:Ft,injector:function(t){return Lt(t,"$injector")},removeAttr:function(t,e){t.removeAttribute(e)},hasClass:Vt,css:function(t,e,n){return e=wt(e),m(n)?void(t.style[e]=n):t.style[e]},attr:function(t,e,n){var r=t.nodeType;if(r!==ui&&r!==ai&&r!==si){var i=Ir(e);if(Ei[i]){if(!m(n))return t[e]||(t.attributes.getNamedItem(e)||p).specified?i:void 0;n?(t[e]=!0,t.setAttribute(e,i)):(t[e]=!1,t.removeAttribute(i))}else if(m(n))t.setAttribute(e,n);else if(t.getAttribute){var o=t.getAttribute(e,2);return null===o?void 0:o}}},prop:function(t,e,n){return m(n)?void(t[e]=n):t[e]},text:function(){function t(t,e){if(g(e)){var n=t.nodeType;return n===oi||n===ui?t.textContent:""}t.textContent=e}return t.$dv="",t}(),val:function(t,e){if(g(e)){if(t.multiple&&"select"===P(t)){var n=[];return r(t.options,function(t){t.selected&&n.push(t.value||t.text)}),0===n.length?null:n}return t.value}t.value=e},html:function(t,e){return g(e)?t.innerHTML:(Mt(t,!0),void(t.innerHTML=e))},empty:qt},function(t,e){Ot.prototype[e]=function(e,n){var r,i,o=this.length;if(t!==qt&&g(2==t.length&&t!==Vt&&t!==Ft?e:n)){if(y(e)){for(r=0;r=0?e.split(" "):[e],s=u.length,c=function(e,r,i){var u=o[e];u||(u=o[e]=[],u.specialHandlerWrapper=r,"$destroy"===e||i||di(t,e,a)),u.push(n)};s--;)e=u[s],mi[e]?(c(mi[e],Jt),c(e,void 0,!0)):c(e)}},off:Tt,one:function(t,e,n){t=Dr(t),t.on(e,function r(){t.off(e,n),t.off(e,r)}),t.on(e,n)},replaceWith:function(t,e){var n,i=t.parentNode;Mt(t),r(new Ot(e),function(e){n?i.insertBefore(e,n.nextSibling):i.replaceChild(e,t),n=e})},children:function(t){var e=[];return r(t.childNodes,function(t){t.nodeType===oi&&e.push(t)}),e},contents:function(t){return t.contentDocument||t.childNodes||[]},append:function(t,e){var n=t.nodeType;if(n===oi||n===li){e=new Ot(e);for(var r=0,i=e.length;r/,Ti=/^[^\(]*\(\s*([^\)]*)\)/m,Ii=/,/,Ni=/^\s*(_?)(\S+?)\1\s*$/,Ri=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,Vi=e("$injector");re.$$annotate=ne;var Pi=e("$animate"),Di=1,Ui="ng-animate",Fi=function(){this.$get=p},Li=function(){var t=new Xt,e=[];this.$get=["$$AnimateRunner","$rootScope",function(n,i){function o(t,e,n){var i=!1;return e&&(e=w(e)?e.split(" "):Jr(e)?e:[],r(e,function(e){e&&(i=!0,t[e]=n)})),i}function a(){r(e,function(e){var n=t.get(e);if(n){var i=ue(e.attr("class")),o="",a="";r(n,function(t,e){var n=!!i[e];t!==n&&(t?o+=(o.length?" ":"")+e:a+=(a.length?" ":"")+e)}),r(e,function(t){o&&Dt(t,o),a&&Pt(t,a)}),t.remove(e)}}),e.length=0}function u(n,r,u){var s=t.get(n)||{},c=o(s,r,!0),l=o(s,u,!1);(c||l)&&(t.put(n,s),e.push(n),1===e.length&&i.$$postDigest(a))}return{enabled:p,on:p,off:p,pin:p,push:function(t,e,r,i){i&&i(),r=r||{},r.from&&t.css(r.from),r.to&&t.css(r.to),(r.addClass||r.removeClass)&&u(t,r.addClass,r.removeClass);var o=new n;return o.complete(),o}}}]},qi=["$provide",function(t){var e=this;this.$$registeredAnimations=Object.create(null),this.register=function(n,r){if(n&&"."!==n.charAt(0))throw Pi("notcsel","Expecting class selector starting with '.' got '{0}'.",n);var i=n+"-animation";e.$$registeredAnimations[n.substr(1)]=i,t.factory(i,r)},this.classNameFilter=function(t){if(1===arguments.length&&(this.$$classNameFilter=t instanceof RegExp?t:null,this.$$classNameFilter)){var e=new RegExp("(\\s+|\\/)"+Ui+"(\\s+|\\/)");if(e.test(this.$$classNameFilter.toString()))throw Pi("nongcls",'$animateProvider.classNameFilter(regex) prohibits accepting a regex value which matches/contains the "{0}" CSS class.',Ui)}return this.$$classNameFilter},this.$get=["$$animateQueue",function(t){function e(t,e,n){if(n){var r=ae(n);!r||r.parentNode||r.previousElementSibling||(n=null)}n?n.after(t):e.prepend(t)}return{on:t.on,off:t.off,pin:t.pin,enabled:t.enabled,cancel:function(t){t.end&&t.end()},enter:function(n,r,i,o){return r=r&&Dr(r),i=i&&Dr(i),r=r||i.parent(),e(n,r,i),t.push(n,"enter",se(o))},move:function(n,r,i,o){return r=r&&Dr(r),i=i&&Dr(i),r=r||i.parent(),e(n,r,i),t.push(n,"move",se(o))},leave:function(e,n){return t.push(e,"leave",se(n),function(){e.remove()})},addClass:function(e,n,r){return r=se(r),r.addClass=oe(r.addclass,n),t.push(e,"addClass",r)},removeClass:function(e,n,r){return r=se(r),r.removeClass=oe(r.removeClass,n),t.push(e,"removeClass",r)},setClass:function(e,n,r,i){return i=se(i),i.addClass=oe(i.addClass,n),i.removeClass=oe(i.removeClass,r),t.push(e,"setClass",i)},animate:function(e,n,r,i,o){return o=se(o),o.from=o.from?c(o.from,n):n,o.to=o.to?c(o.to,r):r,i=i||"ng-inline-animate",o.tempClasses=oe(o.tempClasses,i),t.push(e,"animate",o)}}}]}],Bi=function(){this.$get=["$$rAF",function(t){function e(e){n.push(e),n.length>1||t(function(){for(var t=0;t <= >= && || ! = |".split(" "),function(t){$o[t]=!0});var go={n:"\n",f:"\f",r:"\r",t:"\t",v:"\x0B","'":"'",'"':'"'},mo=function(t){this.options=t};mo.prototype={constructor:mo,lex:function(t){for(this.text=t,this.index=0,this.tokens=[];this.index=55296&&n<=56319&&r>=56320&&r<=57343?t+e:t},isExpOperator:function(t){return"-"===t||"+"===t||this.isNumber(t)},throwError:function(t,e,n){n=n||this.index;var r=m(e)?"s "+e+"-"+this.index+" ["+this.text.substring(e,n)+"]":" "+n;throw fo("lexerr","Lexer Error: {0} at column{1} in expression [{2}].",t,r,this.text)},readNumber:function(){for(var t="",e=this.index;this.index0&&!this.peek("}",")",";","]")&&t.push(this.expressionStatement()),!this.expect(";"))return{type:yo.Program,body:t}},expressionStatement:function(){return{type:yo.ExpressionStatement,expression:this.filterChain()}},filterChain:function(){for(var t,e=this.expression();t=this.expect("|");)e=this.filter(e);return e},expression:function(){return this.assignment()},assignment:function(){var t=this.ternary();return this.expect("=")&&(t={type:yo.AssignmentExpression,left:t,right:this.assignment(),operator:"="}),t},ternary:function(){var t,e,n=this.logicalOR();return this.expect("?")&&(t=this.expression(),this.consume(":"))?(e=this.expression(),{type:yo.ConditionalExpression,test:n,alternate:t,consequent:e}):n},logicalOR:function(){for(var t=this.logicalAND();this.expect("||");)t={type:yo.LogicalExpression,operator:"||",left:t,right:this.logicalAND()};return t},logicalAND:function(){for(var t=this.equality();this.expect("&&");)t={type:yo.LogicalExpression,operator:"&&",left:t,right:this.equality()};return t},equality:function(){for(var t,e=this.relational();t=this.expect("==","!=","===","!==");)e={type:yo.BinaryExpression,operator:t.text,left:e,right:this.relational()};return e},relational:function(){for(var t,e=this.additive();t=this.expect("<",">","<=",">=");)e={type:yo.BinaryExpression,operator:t.text,left:e,right:this.additive()};return e},additive:function(){for(var t,e=this.multiplicative();t=this.expect("+","-");)e={type:yo.BinaryExpression,operator:t.text,left:e,right:this.multiplicative()};return e},multiplicative:function(){for(var t,e=this.unary();t=this.expect("*","/","%");)e={type:yo.BinaryExpression,operator:t.text,left:e,right:this.unary()};return e},unary:function(){var t;return(t=this.expect("+","-","!"))?{type:yo.UnaryExpression,operator:t.text,prefix:!0,argument:this.unary()}:this.primary()},primary:function(){var t;this.expect("(")?(t=this.filterChain(),this.consume(")")):this.expect("[")?t=this.arrayDeclaration():this.expect("{")?t=this.object():this.selfReferential.hasOwnProperty(this.peek().text)?t=U(this.selfReferential[this.consume().text]):this.options.literals.hasOwnProperty(this.peek().text)?t={type:yo.Literal,value:this.options.literals[this.consume().text]}:this.peek().identifier?t=this.identifier():this.peek().constant?t=this.constant():this.throwError("not a primary expression",this.peek());for(var e;e=this.expect("(","[",".");)"("===e.text?(t={type:yo.CallExpression,callee:t,arguments:this.parseArguments()},this.consume(")")):"["===e.text?(t={type:yo.MemberExpression,object:t,property:this.expression(),computed:!0},this.consume("]")):"."===e.text?t={type:yo.MemberExpression,object:t,property:this.identifier(),computed:!1}:this.throwError("IMPOSSIBLE");return t},filter:function(t){for(var e=[t],n={type:yo.CallExpression,callee:this.identifier(),arguments:e,filter:!0};this.expect(":");)e.push(this.expression());return n},parseArguments:function(){var t=[];if(")"!==this.peekToken().text)do t.push(this.filterChain());while(this.expect(","));return t},identifier:function(){var t=this.consume();return t.identifier||this.throwError("is not a valid identifier",t),{type:yo.Identifier,name:t.text}},constant:function(){return{type:yo.Literal,value:this.consume().value}},arrayDeclaration:function(){var t=[];if("]"!==this.peekToken().text)do{if(this.peek("]"))break;t.push(this.expression())}while(this.expect(","));return this.consume("]"),{type:yo.ArrayExpression,elements:t}},object:function(){var t,e=[];if("}"!==this.peekToken().text)do{if(this.peek("}"))break;t={type:yo.Property,kind:"init"},this.peek().constant?(t.key=this.constant(),t.computed=!1,this.consume(":"),t.value=this.expression()):this.peek().identifier?(t.key=this.identifier(),t.computed=!1,this.peek(":")?(this.consume(":"),t.value=this.expression()):t.value=t.key):this.peek("[")?(this.consume("["),t.key=this.expression(),this.consume("]"),t.computed=!0,this.consume(":"),t.value=this.expression()):this.throwError("invalid key",this.peek()),e.push(t)}while(this.expect(","));return this.consume("}"),{type:yo.ObjectExpression,properties:e}},throwError:function(t,e){throw fo("syntax","Syntax Error: Token '{0}' {1} at column {2} of the expression [{3}] starting at [{4}].",e.text,t,e.index+1,this.text,this.text.substring(e.index))},consume:function(t){if(0===this.tokens.length)throw fo("ueoe","Unexpected end of expression: {0}",this.text);var e=this.expect(t);return e||this.throwError("is unexpected, expecting ["+t+"]",this.peek()),e},peekToken:function(){if(0===this.tokens.length)throw fo("ueoe","Unexpected end of expression: {0}",this.text);return this.tokens[0]},peek:function(t,e,n,r){return this.peekAhead(0,t,e,n,r)},peekAhead:function(t,e,n,r,i){if(this.tokens.length>t){var o=this.tokens[t],a=o.text;if(a===e||a===n||a===r||a===i||!e&&!n&&!r&&!i)return o}return!1},expect:function(t,e,n,r){var i=this.peek(t,e,n,r);return!!i&&(this.tokens.shift(),i)},selfReferential:{"this":{type:yo.ThisExpression},$locals:{type:yo.LocalsExpression}}},vn.prototype={compile:function(t,e){var n=this,i=this.astBuilder.ast(t);this.state={nextId:0,filters:{},expensiveChecks:e,fn:{vars:[],body:[],own:{}},assign:{vars:[],body:[],own:{}},inputs:[]},cn(i,n.$filter);var o,a="";if(this.stage="assign",o=hn(i)){this.state.computing="assign";var u=this.nextId();this.recurse(o,u),this.return_(u),a="fn.assign="+this.generateFunction("assign","s,v,l")}var s=ln(i.body);n.stage="inputs",r(s,function(t,e){var r="fn"+e;n.state[r]={vars:[],body:[],own:{}},n.state.computing=r;var i=n.nextId();n.recurse(t,i),n.return_(i),n.state.inputs.push(r),t.watchId=e}),this.state.computing="fn",this.stage="main",this.recurse(i);var c='"'+this.USE+" "+this.STRICT+'";\n'+this.filterPrefix()+"var fn="+this.generateFunction("fn","s,l,a,i")+a+this.watchFns()+"return fn;",l=new Function("$filter","ensureSafeMemberName","ensureSafeObject","ensureSafeFunction","getStringValue","ensureSafeAssignContext","ifDefined","plus","text",c)(this.$filter,tn,nn,rn,en,on,an,un,t);return this.state=this.stage=void 0,l.literal=pn(i),l.constant=dn(i),l},USE:"use",STRICT:"strict",watchFns:function(){var t=[],e=this.state.inputs,n=this;return r(e,function(e){t.push("var "+e+"="+n.generateFunction(e,"s"))}),e.length&&t.push("fn.inputs=["+e.join(",")+"];"),t.join("")},generateFunction:function(t,e){return"function("+e+"){"+this.varsPrefix(t)+this.body(t)+"};"},filterPrefix:function(){var t=[],e=this;return r(this.state.filters,function(n,r){t.push(n+"=$filter("+e.escape(r)+")")}),t.length?"var "+t.join(",")+";":""},varsPrefix:function(t){return this.state[t].vars.length?"var "+this.state[t].vars.join(",")+";":""},body:function(t){return this.state[t].body.join("")},recurse:function(t,e,n,i,o,a){var u,s,c,l,f,h=this;if(i=i||p,!a&&m(t.watchId))return e=e||this.nextId(),void this.if_("i",this.lazyAssign(e,this.computedMember("i",t.watchId)),this.lazyRecurse(t,e,n,i,o,!0));switch(t.type){case yo.Program:r(t.body,function(e,n){h.recurse(e.expression,void 0,void 0,function(t){s=t}),n!==t.body.length-1?h.current().body.push(s,";"):h.return_(s)});break;case yo.Literal:l=this.escape(t.value),this.assign(e,l),i(l);break;case yo.UnaryExpression:this.recurse(t.argument,void 0,void 0,function(t){s=t}),l=t.operator+"("+this.ifDefined(s,0)+")",this.assign(e,l),i(l);break;case yo.BinaryExpression:this.recurse(t.left,void 0,void 0,function(t){u=t}),this.recurse(t.right,void 0,void 0,function(t){s=t}),l="+"===t.operator?this.plus(u,s):"-"===t.operator?this.ifDefined(u,0)+t.operator+this.ifDefined(s,0):"("+u+")"+t.operator+"("+s+")",this.assign(e,l),i(l);break;case yo.LogicalExpression:e=e||this.nextId(),h.recurse(t.left,e),h.if_("&&"===t.operator?e:h.not(e),h.lazyRecurse(t.right,e)),i(e);break;case yo.ConditionalExpression:e=e||this.nextId(),h.recurse(t.test,e),h.if_(e,h.lazyRecurse(t.alternate,e),h.lazyRecurse(t.consequent,e)),i(e);break;case yo.Identifier:e=e||this.nextId(),n&&(n.context="inputs"===h.stage?"s":this.assign(this.nextId(),this.getHasOwnProperty("l",t.name)+"?l:s"),n.computed=!1,n.name=t.name),tn(t.name),h.if_("inputs"===h.stage||h.not(h.getHasOwnProperty("l",t.name)),function(){ +h.if_("inputs"===h.stage||"s",function(){o&&1!==o&&h.if_(h.not(h.nonComputedMember("s",t.name)),h.lazyAssign(h.nonComputedMember("s",t.name),"{}")),h.assign(e,h.nonComputedMember("s",t.name))})},e&&h.lazyAssign(e,h.nonComputedMember("l",t.name))),(h.state.expensiveChecks||gn(t.name))&&h.addEnsureSafeObject(e),i(e);break;case yo.MemberExpression:u=n&&(n.context=this.nextId())||this.nextId(),e=e||this.nextId(),h.recurse(t.object,u,void 0,function(){h.if_(h.notNull(u),function(){o&&1!==o&&h.addEnsureSafeAssignContext(u),t.computed?(s=h.nextId(),h.recurse(t.property,s),h.getStringValue(s),h.addEnsureSafeMemberName(s),o&&1!==o&&h.if_(h.not(h.computedMember(u,s)),h.lazyAssign(h.computedMember(u,s),"{}")),l=h.ensureSafeObject(h.computedMember(u,s)),h.assign(e,l),n&&(n.computed=!0,n.name=s)):(tn(t.property.name),o&&1!==o&&h.if_(h.not(h.nonComputedMember(u,t.property.name)),h.lazyAssign(h.nonComputedMember(u,t.property.name),"{}")),l=h.nonComputedMember(u,t.property.name),(h.state.expensiveChecks||gn(t.property.name))&&(l=h.ensureSafeObject(l)),h.assign(e,l),n&&(n.computed=!1,n.name=t.property.name))},function(){h.assign(e,"undefined")}),i(e)},!!o);break;case yo.CallExpression:e=e||this.nextId(),t.filter?(s=h.filter(t.callee.name),c=[],r(t.arguments,function(t){var e=h.nextId();h.recurse(t,e),c.push(e)}),l=s+"("+c.join(",")+")",h.assign(e,l),i(e)):(s=h.nextId(),u={},c=[],h.recurse(t.callee,s,u,function(){h.if_(h.notNull(s),function(){h.addEnsureSafeFunction(s),r(t.arguments,function(t){h.recurse(t,h.nextId(),void 0,function(t){c.push(h.ensureSafeObject(t))})}),u.name?(h.state.expensiveChecks||h.addEnsureSafeObject(u.context),l=h.member(u.context,u.name,u.computed)+"("+c.join(",")+")"):l=s+"("+c.join(",")+")",l=h.ensureSafeObject(l),h.assign(e,l)},function(){h.assign(e,"undefined")}),i(e)}));break;case yo.AssignmentExpression:if(s=this.nextId(),u={},!fn(t.left))throw fo("lval","Trying to assign a value to a non l-value");this.recurse(t.left,void 0,u,function(){h.if_(h.notNull(u.context),function(){h.recurse(t.right,s),h.addEnsureSafeObject(h.member(u.context,u.name,u.computed)),h.addEnsureSafeAssignContext(u.context),l=h.member(u.context,u.name,u.computed)+t.operator+s,h.assign(e,l),i(e||l)})},1);break;case yo.ArrayExpression:c=[],r(t.elements,function(t){h.recurse(t,h.nextId(),void 0,function(t){c.push(t)})}),l="["+c.join(",")+"]",this.assign(e,l),i(l);break;case yo.ObjectExpression:c=[],f=!1,r(t.properties,function(t){t.computed&&(f=!0)}),f?(e=e||this.nextId(),this.assign(e,"{}"),r(t.properties,function(t){t.computed?(u=h.nextId(),h.recurse(t.key,u)):u=t.key.type===yo.Identifier?t.key.name:""+t.key.value,s=h.nextId(),h.recurse(t.value,s),h.assign(h.member(e,u,t.computed),s)})):(r(t.properties,function(e){h.recurse(e.value,t.constant?void 0:h.nextId(),void 0,function(t){c.push(h.escape(e.key.type===yo.Identifier?e.key.name:""+e.key.value)+":"+t)})}),l="{"+c.join(",")+"}",this.assign(e,l)),i(e||l);break;case yo.ThisExpression:this.assign(e,"s"),i("s");break;case yo.LocalsExpression:this.assign(e,"l"),i("l");break;case yo.NGValueParameter:this.assign(e,"v"),i("v")}},getHasOwnProperty:function(t,e){var n=t+"."+e,r=this.current().own;return r.hasOwnProperty(n)||(r[n]=this.nextId(!1,t+"&&("+this.escape(e)+" in "+t+")")),r[n]},assign:function(t,e){if(t)return this.current().body.push(t,"=",e,";"),t},filter:function(t){return this.state.filters.hasOwnProperty(t)||(this.state.filters[t]=this.nextId(!0)),this.state.filters[t]},ifDefined:function(t,e){return"ifDefined("+t+","+this.escape(e)+")"},plus:function(t,e){return"plus("+t+","+e+")"},return_:function(t){this.current().body.push("return ",t,";")},if_:function(t,e,n){if(t===!0)e();else{var r=this.current().body;r.push("if(",t,"){"),e(),r.push("}"),n&&(r.push("else{"),n(),r.push("}"))}},not:function(t){return"!("+t+")"},notNull:function(t){return t+"!=null"},nonComputedMember:function(t,e){var n=/[$_a-zA-Z][$_a-zA-Z0-9]*/,r=/[^$_a-zA-Z0-9]/g;return n.test(e)?t+"."+e:t+'["'+e.replace(r,this.stringEscapeFn)+'"]'},computedMember:function(t,e){return t+"["+e+"]"},member:function(t,e,n){return n?this.computedMember(t,e):this.nonComputedMember(t,e)},addEnsureSafeObject:function(t){this.current().body.push(this.ensureSafeObject(t),";")},addEnsureSafeMemberName:function(t){this.current().body.push(this.ensureSafeMemberName(t),";")},addEnsureSafeFunction:function(t){this.current().body.push(this.ensureSafeFunction(t),";")},addEnsureSafeAssignContext:function(t){this.current().body.push(this.ensureSafeAssignContext(t),";")},ensureSafeObject:function(t){return"ensureSafeObject("+t+",text)"},ensureSafeMemberName:function(t){return"ensureSafeMemberName("+t+",text)"},ensureSafeFunction:function(t){return"ensureSafeFunction("+t+",text)"},getStringValue:function(t){this.assign(t,"getStringValue("+t+")")},ensureSafeAssignContext:function(t){return"ensureSafeAssignContext("+t+",text)"},lazyRecurse:function(t,e,n,r,i,o){var a=this;return function(){a.recurse(t,e,n,r,i,o)}},lazyAssign:function(t,e){var n=this;return function(){n.assign(t,e)}},stringEscapeRegex:/[^ a-zA-Z0-9]/g,stringEscapeFn:function(t){return"\\u"+("0000"+t.charCodeAt(0).toString(16)).slice(-4)},escape:function(t){if(w(t))return"'"+t.replace(this.stringEscapeRegex,this.stringEscapeFn)+"'";if(x(t))return t.toString();if(t===!0)return"true";if(t===!1)return"false";if(null===t)return"null";if("undefined"==typeof t)return"undefined";throw fo("esc","IMPOSSIBLE")},nextId:function(t,e){var n="v"+this.state.nextId++;return t||this.current().vars.push(n+(e?"="+e:"")),n},current:function(){return this.state[this.state.computing]}},$n.prototype={compile:function(t,e){var n=this,i=this.astBuilder.ast(t);this.expression=t,this.expensiveChecks=e,cn(i,n.$filter);var o,a;(o=hn(i))&&(a=this.recurse(o));var u,s=ln(i.body);s&&(u=[],r(s,function(t,e){var r=n.recurse(t);t.input=r,u.push(r),t.watchId=e}));var c=[];r(i.body,function(t){c.push(n.recurse(t.expression))});var l=0===i.body.length?p:1===i.body.length?c[0]:function(t,e){var n;return r(c,function(r){n=r(t,e)}),n};return a&&(l.assign=function(t,e,n){return a(t,n,e)}),u&&(l.inputs=u),l.literal=pn(i),l.constant=dn(i),l},recurse:function(t,e,n){var i,o,a,u=this;if(t.input)return this.inputs(t.input,t.watchId);switch(t.type){case yo.Literal:return this.value(t.value,e);case yo.UnaryExpression:return o=this.recurse(t.argument),this["unary"+t.operator](o,e);case yo.BinaryExpression:return i=this.recurse(t.left),o=this.recurse(t.right),this["binary"+t.operator](i,o,e);case yo.LogicalExpression:return i=this.recurse(t.left),o=this.recurse(t.right),this["binary"+t.operator](i,o,e);case yo.ConditionalExpression:return this["ternary?:"](this.recurse(t.test),this.recurse(t.alternate),this.recurse(t.consequent),e);case yo.Identifier:return tn(t.name,u.expression),u.identifier(t.name,u.expensiveChecks||gn(t.name),e,n,u.expression);case yo.MemberExpression:return i=this.recurse(t.object,!1,!!n),t.computed||(tn(t.property.name,u.expression),o=t.property.name),t.computed&&(o=this.recurse(t.property)),t.computed?this.computedMember(i,o,e,n,u.expression):this.nonComputedMember(i,o,u.expensiveChecks,e,n,u.expression);case yo.CallExpression:return a=[],r(t.arguments,function(t){a.push(u.recurse(t))}),t.filter&&(o=this.$filter(t.callee.name)),t.filter||(o=this.recurse(t.callee,!0)),t.filter?function(t,n,r,i){for(var u=[],s=0;s":function(t,e,n){return function(r,i,o,a){var u=t(r,i,o,a)>e(r,i,o,a);return n?{value:u}:u}},"binary<=":function(t,e,n){return function(r,i,o,a){var u=t(r,i,o,a)<=e(r,i,o,a);return n?{value:u}:u}},"binary>=":function(t,e,n){return function(r,i,o,a){var u=t(r,i,o,a)>=e(r,i,o,a);return n?{value:u}:u}},"binary&&":function(t,e,n){return function(r,i,o,a){var u=t(r,i,o,a)&&e(r,i,o,a);return n?{value:u}:u}},"binary||":function(t,e,n){return function(r,i,o,a){var u=t(r,i,o,a)||e(r,i,o,a);return n?{value:u}:u}},"ternary?:":function(t,e,n,r){return function(i,o,a,u){var s=t(i,o,a,u)?e(i,o,a,u):n(i,o,a,u);return r?{value:s}:s}},value:function(t,e){return function(){return e?{context:void 0,name:void 0,value:t}:t}},identifier:function(t,e,n,r,i){return function(o,a,u,s){var c=a&&t in a?a:o;r&&1!==r&&c&&!c[t]&&(c[t]={});var l=c?c[t]:void 0;return e&&nn(l,i),n?{context:c,name:t,value:l}:l}},computedMember:function(t,e,n,r,i){return function(o,a,u,s){var c,l,f=t(o,a,u,s);return null!=f&&(c=e(o,a,u,s),c=en(c),tn(c,i),r&&1!==r&&(on(f),f&&!f[c]&&(f[c]={})),l=f[c],nn(l,i)),n?{context:f,name:c,value:l}:l}},nonComputedMember:function(t,e,n,r,i,o){return function(a,u,s,c){var l=t(a,u,s,c);i&&1!==i&&(on(l),l&&!l[e]&&(l[e]={}));var f=null!=l?l[e]:void 0;return(n||gn(e))&&nn(f,o),r?{context:l,name:e,value:f}:f}},inputs:function(t,e){return function(n,r,i,o){return o?o[e]:t(n,r,i)}}};var bo=function(t,e,n){this.lexer=t,this.$filter=e,this.options=n,this.ast=new yo(t,n),this.astCompiler=n.csp?new $n(this.ast,e):new vn(this.ast,e)};bo.prototype={constructor:bo,parse:function(t){return this.astCompiler.compile(t,this.options.expensiveChecks)}};var wo=Object.prototype.valueOf,xo=e("$sce"),_o={HTML:"html",CSS:"css",URL:"url",RESOURCE_URL:"resourceUrl",JS:"js"},Co=e("$compile"),So=t.document.createElement("a"),Ao=Nn(t.location.href);Pn.$inject=["$document"],Un.$inject=["$provide"];var Eo=22,ko=".",Oo="0";Hn.$inject=["$locale"],zn.$inject=["$locale"];var jo={yyyy:Kn("FullYear",4,0,!1,!0),yy:Kn("FullYear",2,0,!0,!0),y:Kn("FullYear",1,0,!1,!0),MMMM:Yn("Month"),MMM:Yn("Month",!0),MM:Kn("Month",2,1),M:Kn("Month",1,1),LLLL:Yn("Month",!1,!0),dd:Kn("Date",2),d:Kn("Date",1),HH:Kn("Hours",2),H:Kn("Hours",1),hh:Kn("Hours",2,-12),h:Kn("Hours",1,-12),mm:Kn("Minutes",2),m:Kn("Minutes",1),ss:Kn("Seconds",2),s:Kn("Seconds",1),sss:Kn("Milliseconds",3),EEEE:Yn("Day"),EEE:Yn("Day",!0),a:nr,Z:Xn,ww:er(2),w:er(1),G:rr,GG:rr,GGG:rr,GGGG:ir},Mo=/((?:[^yMLdHhmsaZEwG']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|L+|d+|H+|h+|m+|s+|a|Z|G+|w+))(.*)/,To=/^\-?\d+$/;or.$inject=["$locale"];var Io=v(Ir),No=v(Nr);cr.$inject=["$parse"];var Ro=v({restrict:"E",compile:function(t,e){if(!e.href&&!e.xlinkHref)return function(t,e){if("a"===e[0].nodeName.toLowerCase()){var n="[object SVGAnimatedString]"===Hr.call(e.prop("href"))?"xlink:href":"href";e.on("click",function(t){e.attr(n)||t.preventDefault()})}}}}),Vo={};r(Ei,function(t,e){function n(t,n,i){t.$watch(i[r],function(t){i.$set(e,!!t)})}if("multiple"!=t){var r=$e("ng-"+e),i=n;"checked"===t&&(i=function(t,e,i){i.ngModel!==i[r]&&n(t,e,i)}),Vo[r]=function(){return{restrict:"A",priority:100,link:i}}}}),r(Oi,function(t,e){Vo[e]=function(){return{priority:100,link:function(t,n,r){if("ngPattern"===e&&"/"==r.ngPattern.charAt(0)){var i=r.ngPattern.match(jr);if(i)return void r.$set("ngPattern",new RegExp(i[1],i[2]))}t.$watch(r[e],function(t){r.$set(e,t)})}}}}),r(["src","srcset","href"],function(t){var e=$e("ng-"+t);Vo[e]=function(){return{priority:99,link:function(n,r,i){var o=t,a=t;"href"===t&&"[object SVGAnimatedString]"===Hr.call(r.prop("href"))&&(a="xlinkHref",i.$attr[a]="xlink:href",o=null),i.$observe(e,function(e){return e?(i.$set(a,e),void(Pr&&o&&r.prop(o,i[a]))):void("href"===t&&i.$set(a,null))})}}}});var Po={$addControl:p,$$renameControl:fr,$removeControl:p,$setValidity:p,$setDirty:p,$setPristine:p,$setSubmitted:p},Do="ng-submitted";hr.$inject=["$element","$attrs","$scope","$animate","$interpolate"];var Uo=function(t){return["$timeout","$parse",function(e,n){function r(t){return""===t?n('this[""]').assign:n(t).assign||p}var i={name:"form",restrict:t?"EAC":"E",require:["form","^^?form"],controller:hr,compile:function(n,i){n.addClass(wa).addClass(ya);var o=i.name?"name":!(!t||!i.ngForm)&&"ngForm";return{pre:function(t,n,i,a){var u=a[0];if(!("action"in i)){var s=function(e){t.$apply(function(){u.$commitViewValue(),u.$setSubmitted()}),e.preventDefault()};di(n[0],"submit",s),n.on("$destroy",function(){e(function(){vi(n[0],"submit",s)},0,!1)})}var l=a[1]||u.$$parentForm;l.$addControl(u);var f=o?r(u.$name):p;o&&(f(t,u),i.$observe(o,function(e){u.$name!==e&&(f(t,void 0),u.$$parentForm.$$renameControl(u,e),(f=r(u.$name))(t,u))})),n.on("$destroy",function(){u.$$parentForm.$removeControl(u),f(t,void 0),c(u,Po)})}}}};return i}]},Fo=Uo(),Lo=Uo(!0),qo=/^\d{4,}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+(?:[+-][0-2]\d:[0-5]\d|Z)$/,Bo=/^[a-z][a-z\d.+-]*:\/*(?:[^:@]+(?::[^@]+)?@)?(?:[^\s:\/?#]+|\[[a-f\d:]+\])(?::\d+)?(?:\/[^?#]*)?(?:\?[^#]*)?(?:#.*)?$/i,Ho=/^(?=.{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])?)*$/,zo=/^\s*(\-|\+)?(\d+|(\d*(\.\d*)))([eE][+-]?\d+)?\s*$/,Wo=/^(\d{4,})-(\d{2})-(\d{2})$/,Go=/^(\d{4,})-(\d\d)-(\d\d)T(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,Zo=/^(\d{4,})-W(\d\d)$/,Jo=/^(\d{4,})-(\d\d)$/,Ko=/^(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,Yo="keydown wheel mousedown",Xo=dt();r("date,datetime-local,month,time,week".split(","),function(t){Xo[t]=!0});var Qo={text:dr,date:mr("date",Wo,gr(Wo,["yyyy","MM","dd"]),"yyyy-MM-dd"),"datetime-local":mr("datetimelocal",Go,gr(Go,["yyyy","MM","dd","HH","mm","ss","sss"]),"yyyy-MM-ddTHH:mm:ss.sss"),time:mr("time",Ko,gr(Ko,["HH","mm","ss","sss"]),"HH:mm:ss.sss"),week:mr("week",Zo,$r,"yyyy-Www"),month:mr("month",Jo,gr(Jo,["yyyy","MM"]),"yyyy-MM"),number:br,url:wr,email:xr,radio:_r,checkbox:Sr,hidden:p,button:p,submit:p,reset:p,file:p},ta=["$browser","$sniffer","$filter","$parse",function(t,e,n,r){return{restrict:"E",require:["?ngModel"],link:{pre:function(i,o,a,u){u[0]&&(Qo[Ir(a.type)]||Qo.text)(i,o,a,u[0],e,t,n,r)}}}}],ea=/^(true|false|\d+)$/,na=function(){return{restrict:"A",priority:100,compile:function(t,e){return ea.test(e.ngValue)?function(t,e,n){n.$set("value",t.$eval(n.ngValue))}:function(t,e,n){t.$watch(n.ngValue,function(t){n.$set("value",t)})}}}},ra=["$compile",function(t){return{restrict:"AC",compile:function(e){return t.$$addBindingClass(e),function(e,n,r){t.$$addBindingInfo(n,r.ngBind),n=n[0],e.$watch(r.ngBind,function(t){n.textContent=g(t)?"":t})}}}}],ia=["$interpolate","$compile",function(t,e){return{compile:function(n){return e.$$addBindingClass(n),function(n,r,i){var o=t(r.attr(i.$attr.ngBindTemplate));e.$$addBindingInfo(r,o.expressions),r=r[0],i.$observe("ngBindTemplate",function(t){r.textContent=g(t)?"":t})}}}}],oa=["$sce","$parse","$compile",function(t,e,n){return{restrict:"A",compile:function(r,i){var o=e(i.ngBindHtml),a=e(i.ngBindHtml,function(e){return t.valueOf(e)});return n.$$addBindingClass(r),function(e,r,i){n.$$addBindingInfo(r,i.ngBindHtml),e.$watch(a,function(){var n=o(e);r.html(t.getTrustedHtml(n)||"")})}}}}],aa=v({restrict:"A",require:"ngModel",link:function(t,e,n,r){r.$viewChangeListeners.push(function(){t.$eval(n.ngChange)})}}),ua=Ar("",!0),sa=Ar("Odd",0),ca=Ar("Even",1),la=lr({compile:function(t,e){e.$set("ngCloak",void 0),t.removeClass("ng-cloak")}}),fa=[function(){return{restrict:"A",scope:!0,controller:"@",priority:500}}],ha={},pa={blur:!0,focus:!0};r("click dblclick mousedown mouseup mouseover mouseout mousemove mouseenter mouseleave keydown keyup keypress submit focus blur copy cut paste".split(" "),function(t){var e=$e("ng-"+t);ha[e]=["$parse","$rootScope",function(n,r){return{restrict:"A",compile:function(i,o){var a=n(o[e],null,!0);return function(e,n){n.on(t,function(n){var i=function(){a(e,{$event:n})};pa[t]&&r.$$phase?e.$evalAsync(i):e.$apply(i)})}}}}]});var da=["$animate","$compile",function(t,e){return{multiElement:!0,transclude:"element",priority:600,terminal:!0,restrict:"A",$$tlb:!0,link:function(n,r,i,o,a){var u,s,c;n.$watch(i.ngIf,function(n){n?s||a(function(n,o){s=o,n[n.length++]=e.$$createComment("end ngIf",i.ngIf),u={clone:n},t.enter(n,r.parent(),r)}):(c&&(c.remove(),c=null),s&&(s.$destroy(),s=null),u&&(c=pt(u.clone),t.leave(c).then(function(){c=null}),u=null))})}}}],va=["$templateRequest","$anchorScroll","$animate",function(t,e,n){return{restrict:"ECA",priority:400,terminal:!0,transclude:"element",controller:Gr.noop,compile:function(r,i){var o=i.ngInclude||i.src,a=i.onload||"",u=i.autoscroll;return function(r,i,s,c,l){var f,h,p,d=0,v=function(){h&&(h.remove(),h=null),f&&(f.$destroy(),f=null),p&&(n.leave(p).then(function(){h=null}),h=p,p=null)};r.$watch(o,function(o){var s=function(){!m(u)||u&&!r.$eval(u)||e()},h=++d;o?(t(o,!0).then(function(t){if(!r.$$destroyed&&h===d){var e=r.$new();c.template=t;var u=l(e,function(t){v(),n.enter(t,null,i).then(s)});f=e,p=u,f.$emit("$includeContentLoaded",o),r.$eval(a)}},function(){r.$$destroyed||h===d&&(v(),r.$emit("$includeContentError",o))}),r.$emit("$includeContentRequested",o)):(v(),c.template=null)})}}}}],$a=["$compile",function(e){return{restrict:"ECA",priority:-400,require:"ngInclude",link:function(n,r,i,o){return Hr.call(r[0]).match(/SVG/)?(r.empty(),void e(At(o.template,t.document).childNodes)(n,function(t){r.append(t)},{futureParentElement:r})):(r.html(o.template),void e(r.contents())(n))}}}],ga=lr({priority:450,compile:function(){return{pre:function(t,e,n){t.$eval(n.ngInit)}}}}),ma=function(){return{restrict:"A",priority:100,require:"ngModel",link:function(t,e,n,i){var o=e.attr(n.$attr.ngList)||", ",a="false"!==n.ngTrim,u=a?Yr(o):o,s=function(t){if(!g(t)){var e=[];return t&&r(t.split(u),function(t){t&&e.push(a?Yr(t):t)}),e}};i.$parsers.push(s),i.$formatters.push(function(t){if(Jr(t))return t.join(o)}),i.$isEmpty=function(t){return!t||!t.length}}}},ya="ng-valid",ba="ng-invalid",wa="ng-pristine",xa="ng-dirty",_a="ng-untouched",Ca="ng-touched",Sa="ng-pending",Aa="ng-empty",Ea="ng-not-empty",ka=e("ngModel"),Oa=["$scope","$exceptionHandler","$attrs","$element","$parse","$animate","$timeout","$rootScope","$q","$interpolate",function(t,e,n,i,o,a,u,s,c,l){this.$viewValue=Number.NaN,this.$modelValue=Number.NaN,this.$$rawModelValue=void 0,this.$validators={},this.$asyncValidators={},this.$parsers=[],this.$formatters=[],this.$viewChangeListeners=[],this.$untouched=!0,this.$touched=!1,this.$pristine=!0,this.$dirty=!1,this.$valid=!0,this.$invalid=!1,this.$error={},this.$$success={},this.$pending=void 0,this.$name=l(n.name||"",!1)(t),this.$$parentForm=Po;var f,h=o(n.ngModel),d=h.assign,v=h,$=d,y=null,b=this;this.$$setOptions=function(t){if(b.$options=t,t&&t.getterSetter){var e=o(n.ngModel+"()"),r=o(n.ngModel+"($$$p)");v=function(t){var n=h(t);return C(n)&&(n=e(t)),n},$=function(t,e){C(h(t))?r(t,{$$$p:e}):d(t,e)}}else if(!h.assign)throw ka("nonassign","Expression '{0}' is non-assignable. Element: {1}",n.ngModel,K(i))},this.$render=p,this.$isEmpty=function(t){return g(t)||""===t||null===t||t!==t},this.$$updateEmptyClasses=function(t){b.$isEmpty(t)?(a.removeClass(i,Ea),a.addClass(i,Aa)):(a.removeClass(i,Aa),a.addClass(i,Ea))};var w=0;Er({ctrl:this,$element:i,set:function(t,e){t[e]=!0},unset:function(t,e){delete t[e]},$animate:a}),this.$setPristine=function(){b.$dirty=!1,b.$pristine=!0,a.removeClass(i,xa),a.addClass(i,wa)},this.$setDirty=function(){b.$dirty=!0,b.$pristine=!1,a.removeClass(i,wa),a.addClass(i,xa),b.$$parentForm.$setDirty()},this.$setUntouched=function(){b.$touched=!1,b.$untouched=!0,a.setClass(i,_a,Ca)},this.$setTouched=function(){b.$touched=!0,b.$untouched=!1,a.setClass(i,Ca,_a)},this.$rollbackViewValue=function(){u.cancel(y),b.$viewValue=b.$$lastCommittedViewValue,b.$render()},this.$validate=function(){if(!x(b.$modelValue)||!isNaN(b.$modelValue)){var t=b.$$lastCommittedViewValue,e=b.$$rawModelValue,n=b.$valid,r=b.$modelValue,i=b.$options&&b.$options.allowInvalid;b.$$runValidators(e,t,function(t){i||n===t||(b.$modelValue=t?e:void 0,b.$modelValue!==r&&b.$$writeModelToScope())})}},this.$$runValidators=function(t,e,n){function i(){var t=b.$$parserName||"parse";return g(f)?(u(t,null),!0):(f||(r(b.$validators,function(t,e){u(e,null)}),r(b.$asyncValidators,function(t,e){u(e,null)})),u(t,f),f)}function o(){var n=!0;return r(b.$validators,function(r,i){var o=r(t,e);n=n&&o,u(i,o)}),!!n||(r(b.$asyncValidators,function(t,e){u(e,null)}),!1)}function a(){var n=[],i=!0;r(b.$asyncValidators,function(r,o){var a=r(t,e);if(!T(a))throw ka("nopromise","Expected asynchronous validator to return a promise but got '{0}' instead.",a);u(o,void 0),n.push(a.then(function(){u(o,!0)},function(){i=!1,u(o,!1)}))}),n.length?c.all(n).then(function(){s(i)},p):s(!0)}function u(t,e){l===w&&b.$setValidity(t,e)}function s(t){l===w&&n(t)}w++;var l=w;return i()&&o()?void a():void s(!1)},this.$commitViewValue=function(){var t=b.$viewValue;u.cancel(y),(b.$$lastCommittedViewValue!==t||""===t&&b.$$hasNativeValidators)&&(b.$$updateEmptyClasses(t),b.$$lastCommittedViewValue=t,b.$pristine&&this.$setDirty(),this.$$parseAndValidate())},this.$$parseAndValidate=function(){function e(){b.$modelValue!==o&&b.$$writeModelToScope()}var n=b.$$lastCommittedViewValue,r=n;if(f=!g(r)||void 0)for(var i=0;i=0;e--){var r=_.items[e];Bt(m(r.group)?r.element.parentNode:r.element)}_=C.getOptions();var i={};if(w&&n.prepend(p),_.items.forEach(function(t){var e;m(t.group)?(e=i[t.group],e||(e=c.cloneNode(!1),S.appendChild(e),e.label=null===t.group?"null":t.group,i[t.group]=e),l(t,e)):l(t,S)}),n[0].appendChild(S),v.$render(),!v.$isEmpty(t)){var o=d.readValue(),a=C.trackBy||$;(a?F(t,o):t===o)||(v.$setViewValue(o),v.$render())}}for(var p,d=u[0],v=u[1],$=o.multiple,g=0,y=n.children(),b=y.length;g0&&(t=new RegExp("^"+t+"$")),t&&!t.test)throw e("ngPattern")("noregexp","Expected {0} to be a RegExp but was {1}. Element: {2}",a,t,K(n));o=t||void 0,i.$validate()}),i.$validators.pattern=function(t,e){return i.$isEmpty(e)||g(o)||o.test(e)}}}}},ru=function(){return{restrict:"A",require:"?ngModel",link:function(t,e,n,r){if(r){var i=-1;n.$observe("maxlength",function(t){var e=f(t);i=isNaN(e)?-1:e,r.$validate()}),r.$validators.maxlength=function(t,e){return i<0||r.$isEmpty(e)||e.length<=i}}}}},iu=function(){return{restrict:"A",require:"?ngModel",link:function(t,e,n,r){if(r){var i=0;n.$observe("minlength",function(t){i=f(t)||0,r.$validate()}),r.$validators.minlength=function(t,e){return r.$isEmpty(e)||e.length>=i}}}}};return t.angular.bootstrap?void(t.console&&console.log("WARNING: Tried to load angular more than once.")):(st(),yt(Gr),Gr.module("ngLocale",[],["$provide",function(t){function e(t){t+="";var e=t.indexOf(".");return e==-1?0:t.length-e-1}function n(t,n){var r=n;void 0===r&&(r=Math.min(e(t),3));var i=Math.pow(10,r),o=(t*i|0)%i;return{v:r,f:o}}var r={ZERO:"zero",ONE:"one",TWO:"two",FEW:"few",MANY:"many",OTHER:"other"};t.value("$locale",{DATETIME_FORMATS:{AMPMS:["AM","PM"],DAY:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],ERANAMES:["Before Christ","Anno Domini"],ERAS:["BC","AD"],FIRSTDAYOFWEEK:6,MONTH:["January","February","March","April","May","June","July","August","September","October","November","December"],SHORTDAY:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],SHORTMONTH:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],STANDALONEMONTH:["January","February","March","April","May","June","July","August","September","October","November","December"],WEEKENDRANGE:[5,6],fullDate:"EEEE, MMMM d, y",longDate:"MMMM d, y",medium:"MMM d, y h:mm:ss a",mediumDate:"MMM d, y",mediumTime:"h:mm:ss a","short":"M/d/yy h:mm a",shortDate:"M/d/yy",shortTime:"h:mm a"},NUMBER_FORMATS:{CURRENCY_SYM:"$",DECIMAL_SEP:".",GROUP_SEP:",",PATTERNS:[{gSize:3,lgSize:3,maxFrac:3,minFrac:0,minInt:1,negPre:"-",negSuf:"",posPre:"",posSuf:""},{gSize:3,lgSize:3,maxFrac:2,minFrac:2,minInt:1,negPre:"-¤",negSuf:"",posPre:"¤",posSuf:""}]},id:"en-us",localeID:"en_US",pluralCat:function(t,e){var i=0|t,o=n(t,e);return 1==i&&0==o.v?r.ONE:r.OTHER}})}]),void Dr(t.document).ready(function(){rt(t.document,it)}))}(window),!window.angular.$$csp().noInlineStyle&&window.angular.element(document.head).prepend(''),function(t,e){"use strict";function n(t,e){if(u(t)){e=e||[];for(var n=0,r=t.length;n-1}function c(t,e,n){for(var r=-1,i=t?t.length:0;++r-1;);return n}function O(t,e){for(var n=t.length;n--&&g(e,t[n],0)>-1;);return n}function j(t){return t&&t.Object===Object?t:null}function M(t,e){for(var n=t.length,r=0;n--;)t[n]===e&&r++;return r}function T(t){return Cn[t]}function I(t){return Sn[t]}function N(t){return"\\"+En[t]}function R(t,e){return null==t?G:t[e]}function V(t,e,n){for(var r=t.length,i=e+(n?1:-1);n?i--:++i-1}function Ze(t,e){var n=this.__data__,r=$n(n,t);return r<0?n.push([t,e]):n[r][1]=e,this}function Je(t){var e=-1,n=t?t.length:0;for(this.clear();++e=e?t:e)),t}function jn(t,e,n,r,o,a,u){var s;if(r&&(s=a?r(t,o,a,u):r(t)),s!==G)return s;if(!gu(t))return t;var c=gf(t);if(c){if(s=Hi(t),!e)return ni(t,s)}else{var l=Li(t),f=l==jt||l==Mt;if(mf(t))return Hr(t,e);if(l==Nt||l==St||f&&!a){if(P(t))return a?t:{};if(s=zi(f?{}:t),!e)return ii(t,Sn(s,t))}else{if(!_n[l])return a?t:{};s=Wi(t,l,jn,e)}}u||(u=new on);var h=u.get(t);if(h)return h;if(u.set(t,s),!c)var p=n?Mi(t):rs(t);return i(p||t,function(i,o){p&&(o=i,i=t[o]),pn(s,o,jn(i,e,n,r,o,t,u))}),s}function Mn(t){var e=rs(t),n=e.length;return function(r){if(null==r)return!n;for(var i=n;i--;){var o=e[i],a=t[o],u=r[o];if(u===G&&!(o in Object(r))||!a(u))return!1}return!0}}function In(t){return gu(t)?qc(t):{}}function Nn(t,e,n){if("function"!=typeof t)throw new xc(K);return zc(function(){t.apply(G,n)},e)}function Rn(t,e,n,r){var i=-1,o=s,a=!0,u=t.length,f=[],h=e.length;if(!u)return f;n&&(e=l(e,S(n))),r?(o=c,a=!1):e.length>=J&&(o=E,a=!1,e=new en(e));t:for(;++ii?0:i+n),r=r===G||r>i?i:Uu(r),r<0&&(r+=i),r=n>r?0:Fu(r);n0&&n(u)?e>1?qn(u,e-1,n,r,i):f(i,u):r||(i[i.length]=u)}return i}function Bn(t,e){return t&&Cl(t,e,rs)}function Hn(t,e){return t&&Sl(t,e,rs)}function zn(t,e){return u(e,function(e){return du(t[e])})}function Wn(t,e){e=Xi(e,t)?[e]:qr(e);for(var n=0,r=e.length;null!=t&&ne}function Jn(t,e){return null!=t&&(Oc.call(t,e)||"object"==typeof t&&e in t&&null===Ui(t))}function Kn(t,e){return null!=t&&e in Object(t)}function Yn(t,e,n){return t>=Qc(e,n)&&t=120&&p.length>=120)?new en(a&&p):G}p=t[0];var d=-1,v=u[0];t:for(;++d-1;)u!==t&&Hc.call(u,s,1),Hc.call(t,s,1);return t}function wr(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;if(Ki(i))Hc.call(t,i,1);else if(Xi(i,t))delete t[co(i)];else{var a=qr(i),u=uo(t,a);null!=u&&delete u[co(Mo(a))]}}}return t}function xr(t,e){return t+Gc(el()*(e-t+1))}function _r(t,e,n,r){for(var i=-1,o=Xc(Wc((e-t)/(n||1)),0),a=Array(o);o--;)a[r?o:++i]=t,t+=n;return a}function Cr(t,e){var n="";if(!t||e<1||e>yt)return n;do e%2&&(n+=t),e=Gc(e/2),e&&(t+=t);while(e);return n}function Sr(t,e,n,r){e=Xi(e,t)?[e]:qr(e);for(var i=-1,o=e.length,a=o-1,u=t;null!=u&&++ii?0:i+e),n=n>i?i:n,n<0&&(n+=i),i=e>n?0:n-e>>>0,e>>>=0;for(var o=Array(i);++r>>1,a=t[o];null!==a&&!Tu(a)&&(n?a<=e:a=J){var f=e?null:El(t);if(f)return L(f);a=!1,i=E,l=new en}else l=e?[]:u;t:for(;++r=r?t:Ar(t,e,n)}function Hr(t,e){if(e)return t.slice();var n=new t.constructor(t.length);return t.copy(n),n}function zr(t){var e=new t.constructor(t.byteLength);return new Dc(e).set(new Dc(t)),e}function Wr(t,e){var n=e?zr(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}function Gr(e,n,r){var i=n?r(U(e),!0):U(e);return h(i,t,new e.constructor)}function Zr(t){var e=new t.constructor(t.source,be.exec(t));return e.lastIndex=t.lastIndex,e}function Jr(t,n,r){var i=n?r(L(t),!0):L(t);return h(i,e,new t.constructor)}function Kr(t){return bl?Object(bl.call(t)):{}}function Yr(t,e){var n=e?zr(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}function Xr(t,e){if(t!==e){var n=t!==G,r=null===t,i=t===t,o=Tu(t),a=e!==G,u=null===e,s=e===e,c=Tu(e);if(!u&&!c&&!o&&t>e||o&&a&&s&&!u&&!c||r&&a&&s||!n&&s||!i)return 1;if(!r&&!o&&!c&&t=u)return s;var c=n[r];return s*("desc"==c?-1:1)}}return t.index-e.index}function ti(t,e,n,r){for(var i=-1,o=t.length,a=n.length,u=-1,s=e.length,c=Xc(o-a,0),l=Array(s+c),f=!r;++u1?n[i-1]:G,a=i>2?n[2]:G;for(o=t.length>3&&"function"==typeof o?(i--,o):G,a&&Yi(n[0],n[1],a)&&(o=i<3?G:o,i=1),e=Object(e);++r-1?e[o?o[a]:a]:G}}function vi(t){return za(function(e){e=qn(e,1);var n=e.length,r=n,i=Te.prototype.thru;for(t&&e.reverse();r--;){var o=e[r];if("function"!=typeof o)throw new xc(K);if(i&&!a&&"wrapper"==Ii(o))var a=new Te([],(!0))}for(r=a?r:n;++r=J)return a.plant(r).value();for(var i=0,o=n?e[i].apply(this,t):r;++i1&&m.reverse(),f&&su))return!1;var c=o.get(t);if(c)return c==e;var l=-1,f=!0,h=i&ct?new en:G;for(o.set(t,e);++l-1&&t%1==0&&t=this.__values__.length,e=t?G:this.__values__[this.__index__++];return{done:t,value:e}}function ha(){return this}function pa(t){for(var e,n=this;n instanceof Me;){var r=fo(n);r.__index__=0,r.__values__=G,e?i.__wrapped__=r:e=r;var i=r;n=n.__wrapped__}return i.__wrapped__=t,e}function da(){var t=this.__wrapped__;if(t instanceof Ie){var e=t;return this.__actions__.length&&(e=new Ie(this)),e=e.reverse(),e.__actions__.push({func:sa,args:[Do],thisArg:G}),new Te(e,this.__chain__)}return this.thru(Do)}function va(){return Pr(this.__wrapped__,this.__actions__)}function $a(t,e,n){var r=gf(t)?a:Dn;return n&&Yi(t,e,n)&&(e=G),r(t,Ri(e,3))}function ga(t,e){var n=gf(t)?u:Ln;return n(t,Ri(e,3))}function ma(t,e){return qn(Ca(t,e),1)}function ya(t,e){return qn(Ca(t,e),mt)}function ba(t,e,n){return n=n===G?1:Uu(n),qn(Ca(t,e),n)}function wa(t,e){var n=gf(t)?i:xl;return n(t,Ri(e,3))}function xa(t,e){var n=gf(t)?o:_l;return n(t,Ri(e,3))}function _a(t,e,n,r){t=iu(t)?t:$s(t),n=n&&!r?Uu(n):0;var i=t.length;return n<0&&(n=Xc(i+n,0)),Mu(t)?n<=i&&t.indexOf(e,n)>-1:!!i&&g(t,e,n)>-1}function Ca(t,e){var n=gf(t)?l:cr;return n(t,Ri(e,3))}function Sa(t,e,n,r){return null==t?[]:(gf(e)||(e=null==e?[]:[e]),n=r?G:n,gf(n)||(n=null==n?[]:[n]),vr(t,e,n))}function Aa(t,e,n){var r=gf(t)?h:b,i=arguments.length<3;return r(t,Ri(e,4),n,i,xl)}function Ea(t,e,n){var r=gf(t)?p:b,i=arguments.length<3;return r(t,Ri(e,4),n,i,_l)}function ka(t,e){var n=gf(t)?u:Ln;return e=Ri(e,3),n(t,function(t,n,r){return!e(t,n,r)})}function Oa(t){var e=iu(t)?t:$s(t),n=e.length;return n>0?e[xr(0,n-1)]:G}function ja(t,e,n){var r=-1,i=Pu(t),o=i.length,a=o-1;for(e=(n?Yi(t,e,n):e===G)?1:En(Uu(e),0,o);++r0&&(n=e.apply(this,arguments)),t<=1&&(e=G),n}}function Da(t,e,n){e=n?G:e;var r=Ei(t,nt,G,G,G,G,G,e);return r.placeholder=Da.placeholder,r}function Ua(t,e,n){e=n?G:e;var r=Ei(t,rt,G,G,G,G,G,e);return r.placeholder=Ua.placeholder,r}function Fa(t,e,n){function r(e){var n=h,r=p;return h=p=G,m=e,v=t.apply(r,n)}function i(t){return m=t,$=zc(u,e),y?r(t):v}function o(t){var n=t-g,r=t-m,i=e-n;return b?Qc(i,d-r):i}function a(t){var n=t-g,r=t-m;return g===G||n>=e||n<0||b&&r>=d}function u(){var t=Na();return a(t)?s(t):void($=zc(u,o(t)))}function s(t){return $=G,w&&h?r(t):(h=p=G,v)}function c(){m=0,h=g=p=$=G}function l(){return $===G?v:s(Na())}function f(){var t=Na(),n=a(t);if(h=arguments,p=this,g=t,n){if($===G)return i(g);if(b)return $=zc(u,e),r(g)}return $===G&&($=zc(u,e)),v}var h,p,d,v,$,g,m=0,y=!1,b=!1,w=!0;if("function"!=typeof t)throw new xc(K);return e=Lu(e)||0,gu(n)&&(y=!!n.leading,b="maxWait"in n,d=b?Xc(Lu(n.maxWait)||0,e):d,w="trailing"in n?!!n.trailing:w),f.cancel=c,f.flush=l,f}function La(t){return Ei(t,st)}function qa(t,e){if("function"!=typeof t||e&&"function"!=typeof e)throw new xc(K);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 a=t.apply(this,r);return n.cache=o.set(i,a),a};return n.cache=new(qa.Cache||Je),n}function Ba(t){if("function"!=typeof t)throw new xc(K);return function(){return!t.apply(this,arguments)}}function Ha(t){return Pa(2,t)}function za(t,e){if("function"!=typeof t)throw new xc(K);return e=Xc(e===G?t.length-1:Uu(e),0),function(){for(var r=arguments,i=-1,o=Xc(r.length-e,0),a=Array(o);++i-1&&t%1==0&&t<=yt}function gu(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function mu(t){return!!t&&"object"==typeof t}function yu(t){return mu(t)&&Li(t)==Tt}function bu(t,e){return t===e||rr(t,e,Pi(e))}function wu(t,e,n){return n="function"==typeof n?n:G,rr(t,e,Pi(e),n)}function xu(t){return Au(t)&&t!=+t}function _u(t){if(Ml(t))throw new yc("This method is not supported with `core-js`. Try https://github.com/es-shims.");return ir(t)}function Cu(t){return null===t}function Su(t){return null==t}function Au(t){return"number"==typeof t||mu(t)&&Tc.call(t)==It}function Eu(t){if(!mu(t)||Tc.call(t)!=Nt||P(t))return!1;var e=Ui(t);if(null===e)return!0;var n=Oc.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&kc.call(n)==Mc}function ku(t){return gu(t)&&Tc.call(t)==Vt}function Ou(t){return vu(t)&&t>=-yt&&t<=yt}function ju(t){return mu(t)&&Li(t)==Pt}function Mu(t){return"string"==typeof t||!gf(t)&&mu(t)&&Tc.call(t)==Dt}function Tu(t){return"symbol"==typeof t||mu(t)&&Tc.call(t)==Ut}function Iu(t){return mu(t)&&$u(t.length)&&!!xn[Tc.call(t)]}function Nu(t){return t===G}function Ru(t){return mu(t)&&Li(t)==Ft}function Vu(t){return mu(t)&&Tc.call(t)==Lt}function Pu(t){if(!t)return[];if(iu(t))return Mu(t)?H(t):ni(t);if(Lc&&t[Lc])return D(t[Lc]());var e=Li(t),n=e==Tt?U:e==Pt?L:$s;return n(t)}function Du(t){if(!t)return 0===t?t:0;if(t=Lu(t),t===mt||t===-mt){var e=t<0?-1:1;return e*bt}return t===t?t:0}function Uu(t){var e=Du(t),n=e%1;return e===e?n?e-n:e:0}function Fu(t){return t?En(Uu(t),0,xt):0}function Lu(t){if("number"==typeof t)return t;if(Tu(t))return wt;if(gu(t)){var e=du(t.valueOf)?t.valueOf():t;t=gu(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(de,"");var n=_e.test(t);return n||Se.test(t)?On(t.slice(2),n?2:8):xe.test(t)?wt:+t}function qu(t){return ri(t,is(t))}function Bu(t){return En(Uu(t),-yt,yt)}function Hu(t){return null==t?"":Tr(t)}function zu(t,e){var n=In(t);return e?Sn(n,e):n}function Wu(t,e){return v(t,Ri(e,3),Bn)}function Gu(t,e){return v(t,Ri(e,3),Hn)}function Zu(t,e){return null==t?t:Cl(t,Ri(e,3),is)}function Ju(t,e){return null==t?t:Sl(t,Ri(e,3),is)}function Ku(t,e){return t&&Bn(t,Ri(e,3))}function Yu(t,e){return t&&Hn(t,Ri(e,3))}function Xu(t){return null==t?[]:zn(t,rs(t))}function Qu(t){return null==t?[]:zn(t,is(t))}function ts(t,e,n){var r=null==t?G:Wn(t,e);return r===G?n:r}function es(t,e){return null!=t&&Bi(t,e,Jn)}function ns(t,e){return null!=t&&Bi(t,e,Kn)}function rs(t){var e=no(t);if(!e&&!iu(t))return ar(t);var n=Gi(t),r=!!n,i=n||[],o=i.length;for(var a in t)!Jn(t,a)||r&&("length"==a||Ki(a,o))||e&&"constructor"==a||i.push(a);return i}function is(t){for(var e=-1,n=no(t),r=ur(t),i=r.length,o=Gi(t),a=!!o,u=o||[],s=u.length;++ee){var r=t;t=e,e=r}if(n||t%1||e%1){var i=el();return Qc(t+i*(e-t+kn("1e-"+((i+"").length-1))),e)}return xr(t,e)}function ws(t){return Hf(Hu(t).toLowerCase())}function xs(t){return t=Hu(t),t&&t.replace(Ee,T).replace(vn,"")}function _s(t,e,n){t=Hu(t),e=Tr(e);var r=t.length;return n=n===G?r:En(Uu(n),0,r),n-=e.length,n>=0&&t.indexOf(e,n)==n}function Cs(t){return t=Hu(t),t&&oe.test(t)?t.replace(re,I):t}function Ss(t){return t=Hu(t),t&&pe.test(t)?t.replace(he,"\\$&"):t}function As(t,e,n){t=Hu(t),e=Uu(e);var r=e?B(t):0;if(!e||r>=e)return t;var i=(e-r)/2;return bi(Gc(i),n)+t+bi(Wc(i),n)}function Es(t,e,n){t=Hu(t),e=Uu(e);var r=e?B(t):0;return e&&r>>0)?(t=Hu(t),t&&("string"==typeof e||null!=e&&!ku(e))&&(e=Tr(e),""==e&&mn.test(t))?Br(H(t),0,n):il.call(t,e,n)):[]}function Is(t,e,n){return t=Hu(t),n=En(Uu(n),0,t.length),t.lastIndexOf(Tr(e),n)==n}function Ns(t,e,n){var r=je.templateSettings;n&&Yi(t,e,n)&&(e=G),t=Hu(t),e=_f({},e,r,fn);var i,o,a=_f({},e.imports,r.imports,fn),u=rs(a),s=A(a,u),c=0,l=e.interpolate||ke,f="__p += '",h=wc((e.escape||ke).source+"|"+l.source+"|"+(l===se?ye:ke).source+"|"+(e.evaluate||ke).source+"|$","g"),p="//# sourceURL="+("sourceURL"in e?e.sourceURL:"lodash.templateSources["+ ++wn+"]")+"\n";t.replace(h,function(e,n,r,a,u,s){return r||(r=a),f+=t.slice(c,s).replace(Oe,N),n&&(i=!0,f+="' +\n__e("+n+") +\n'"),u&&(o=!0,f+="';\n"+u+";\n__p += '"),r&&(f+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),c=s+e.length,e}),f+="';\n";var d=e.variable;d||(f="with (obj) {\n"+f+"\n}\n"),f=(o?f.replace(Qt,""):f).replace(te,"$1").replace(ee,"$1;"),f="function("+(d||"obj")+") {\n"+(d?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(i?", __e = _.escape":"")+(o?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+f+"return __p\n}";var v=zf(function(){return Function(u,p+"return "+f).apply(G,s)});if(v.source=f,hu(v))throw v;return v}function Rs(t){return Hu(t).toLowerCase()}function Vs(t){return Hu(t).toUpperCase()}function Ps(t,e,n){if(t=Hu(t),t&&(n||e===G))return t.replace(de,"");if(!t||!(e=Tr(e)))return t;var r=H(t),i=H(e),o=k(r,i),a=O(r,i)+1;return Br(r,o,a).join("")}function Ds(t,e,n){if(t=Hu(t),t&&(n||e===G))return t.replace($e,"");if(!t||!(e=Tr(e)))return t;var r=H(t),i=O(r,H(e))+1;return Br(r,0,i).join("")}function Us(t,e,n){if(t=Hu(t),t&&(n||e===G))return t.replace(ve,"");if(!t||!(e=Tr(e)))return t;var r=H(t),i=k(r,H(e));return Br(r,i).join("")}function Fs(t,e){var n=ft,r=ht;if(gu(e)){var i="separator"in e?e.separator:i;n="length"in e?Uu(e.length):n,r="omission"in e?Tr(e.omission):r}t=Hu(t);var o=t.length;if(mn.test(t)){var a=H(t);o=a.length}if(n>=o)return t;var u=n-B(r);if(u<1)return r;var s=a?Br(a,0,u).join(""):t.slice(0,u);if(i===G)return s+r;if(a&&(u+=s.length-u),ku(i)){if(t.slice(u).search(i)){var c,l=s;for(i.global||(i=wc(i.source,Hu(be.exec(i))+"g")),i.lastIndex=0;c=i.exec(l);)var f=c.index;s=s.slice(0,f===G?u:f)}}else if(t.indexOf(Tr(i),u)!=u){var h=s.lastIndexOf(i);h>-1&&(s=s.slice(0,h))}return s+r}function Ls(t){return t=Hu(t),t&&ie.test(t)?t.replace(ne,z):t}function qs(t,e,n){return t=Hu(t),e=n?G:e,e===G&&(e=yn.test(t)?gn:ge),t.match(e)||[]}function Bs(t){var e=t?t.length:0,r=Ri();return t=e?l(t,function(t){if("function"!=typeof t[1])throw new xc(K);return[r(t[0]),t[1]]}):[],za(function(r){for(var i=-1;++iyt)return[];var n=xt,r=Qc(t,xt);e=Ri(e),t-=xt;for(var i=_(r,e);++n0){if(++t>=pt)return n}else t=0;return Al(n,r)}}(),Il=qa(function(t){var e=[];return Hu(t).replace(fe,function(t,n,r,i){e.push(r?i.replace(me,"$1"):n||t)}),e}),Nl=za(function(t,e){return ou(t)?Rn(t,qn(e,1,ou,!0)):[]}),Rl=za(function(t,e){var n=Mo(e);return ou(n)&&(n=G),ou(t)?Rn(t,qn(e,1,ou,!0),Ri(n)):[]}),Vl=za(function(t,e){var n=Mo(e);return ou(n)&&(n=G),ou(t)?Rn(t,qn(e,1,ou,!0),G,n):[]}),Pl=za(function(t){var e=l(t,Fr);return e.length&&e[0]===t[0]?Xn(e):[]}),Dl=za(function(t){var e=Mo(t),n=l(t,Fr);return e===Mo(n)?e=G:n.pop(),n.length&&n[0]===t[0]?Xn(n,Ri(e)):[]}),Ul=za(function(t){var e=Mo(t),n=l(t,Fr);return e===Mo(n)?e=G:n.pop(),n.length&&n[0]===t[0]?Xn(n,G,e):[]}),Fl=za(No),Ll=za(function(t,e){e=qn(e,1);var n=t?t.length:0,r=An(t,e);return wr(t,l(e,function(t){return Ki(t,n)?+t:t}).sort(Xr)),r}),ql=za(function(t){return Ir(qn(t,1,ou,!0))}),Bl=za(function(t){var e=Mo(t);return ou(e)&&(e=G),Ir(qn(t,1,ou,!0),Ri(e))}),Hl=za(function(t){var e=Mo(t);return ou(e)&&(e=G),Ir(qn(t,1,ou,!0),G,e)}),zl=za(function(t,e){return ou(t)?Rn(t,e):[]}),Wl=za(function(t){return Dr(u(t,ou))}),Gl=za(function(t){var e=Mo(t);return ou(e)&&(e=G), +Dr(u(t,ou),Ri(e))}),Zl=za(function(t){var e=Mo(t);return ou(e)&&(e=G),Dr(u(t,ou),G,e)}),Jl=za(na),Kl=za(function(t){var e=t.length,n=e>1?t[e-1]:G;return n="function"==typeof n?(t.pop(),n):G,ra(t,n)}),Yl=za(function(t){t=qn(t,1);var e=t.length,n=e?t[0]:0,r=this.__wrapped__,i=function(e){return An(e,t)};return!(e>1||this.__actions__.length)&&r instanceof Ie&&Ki(n)?(r=r.slice(n,+n+(e?1:0)),r.__actions__.push({func:sa,args:[i],thisArg:G}),new Te(r,this.__chain__).thru(function(t){return e&&!t.length&&t.push(G),t})):this.thru(i)}),Xl=oi(function(t,e,n){Oc.call(t,n)?++t[n]:t[n]=1}),Ql=di(wo),tf=di(xo),ef=oi(function(t,e,n){Oc.call(t,n)?t[n].push(e):t[n]=[e]}),nf=za(function(t,e,r){var i=-1,o="function"==typeof e,a=Xi(e),u=iu(t)?Array(t.length):[];return xl(t,function(t){var s=o?e:a&&null!=t?t[e]:G;u[++i]=s?n(s,t,r):tr(t,e,r)}),u}),rf=oi(function(t,e,n){t[n]=e}),of=oi(function(t,e,n){t[n?0:1].push(e)},function(){return[[],[]]}),af=za(function(t,e){if(null==t)return[];var n=e.length;return n>1&&Yi(t,e[0],e[1])?e=[]:n>2&&Yi(e[0],e[1],e[2])&&(e=[e[0]]),e=1==e.length&&gf(e[0])?e[0]:qn(e,1,Ji),vr(t,e,[])}),uf=za(function(t,e,n){var r=Q;if(n.length){var i=F(n,Ni(uf));r|=it}return Ei(t,r,e,n,i)}),sf=za(function(t,e,n){var r=Q|tt;if(n.length){var i=F(n,Ni(sf));r|=it}return Ei(e,r,t,n,i)}),cf=za(function(t,e){return Nn(t,1,e)}),lf=za(function(t,e,n){return Nn(t,Lu(e)||0,n)});qa.Cache=Je;var ff=za(function(t,e){e=1==e.length&&gf(e[0])?l(e[0],S(Ri())):l(qn(e,1,Ji),S(Ri()));var r=e.length;return za(function(i){for(var o=-1,a=Qc(i.length,r);++o=e}),gf=Array.isArray,mf=Rc?function(t){return t instanceof Rc}:rc,yf=_i(sr),bf=_i(function(t,e){return t<=e}),wf=ai(function(t,e){if(hl||no(e)||iu(e))return void ri(e,rs(e),t);for(var n in e)Oc.call(e,n)&&pn(t,n,e[n])}),xf=ai(function(t,e){if(hl||no(e)||iu(e))return void ri(e,is(e),t);for(var n in e)pn(t,n,e[n])}),_f=ai(function(t,e,n,r){ri(e,is(e),t,r)}),Cf=ai(function(t,e,n,r){ri(e,rs(e),t,r)}),Sf=za(function(t,e){return An(t,qn(e,1))}),Af=za(function(t){return t.push(G,fn),n(_f,G,t)}),Ef=za(function(t){return t.push(G,ao),n(Tf,G,t)}),kf=gi(function(t,e,n){t[e]=n},zs(Ws)),Of=gi(function(t,e,n){Oc.call(t,e)?t[e].push(n):t[e]=[n]},Ri),jf=za(tr),Mf=ai(function(t,e,n){hr(t,e,n)}),Tf=ai(function(t,e,n,r){hr(t,e,n,r)}),If=za(function(t,e){return null==t?{}:(e=l(qn(e,1),co),$r(t,Rn(Ti(t),e)))}),Nf=za(function(t,e){return null==t?{}:$r(t,l(qn(e,1),co))}),Rf=Ai(rs),Vf=Ai(is),Pf=fi(function(t,e,n){return e=e.toLowerCase(),t+(n?ws(e):e)}),Df=fi(function(t,e,n){return t+(n?"-":"")+e.toLowerCase()}),Uf=fi(function(t,e,n){return t+(n?" ":"")+e.toLowerCase()}),Ff=li("toLowerCase"),Lf=fi(function(t,e,n){return t+(n?"_":"")+e.toLowerCase()}),qf=fi(function(t,e,n){return t+(n?" ":"")+Hf(e)}),Bf=fi(function(t,e,n){return t+(n?" ":"")+e.toUpperCase()}),Hf=li("toUpperCase"),zf=za(function(t,e){try{return n(t,G,e)}catch(r){return hu(r)?r:new yc(r)}}),Wf=za(function(t,e){return i(qn(e,1),function(e){e=co(e),t[e]=uf(t[e],t)}),t}),Gf=vi(),Zf=vi(!0),Jf=za(function(t,e){return function(n){return tr(n,t,e)}}),Kf=za(function(t,e){return function(n){return tr(t,n,e)}}),Yf=yi(l),Xf=yi(a),Qf=yi(d),th=xi(),eh=xi(!0),nh=mi(function(t,e){return t+e}),rh=Si("ceil"),ih=mi(function(t,e){return t/e}),oh=Si("floor"),ah=mi(function(t,e){return t*e}),uh=Si("round"),sh=mi(function(t,e){return t-e});return je.after=Ra,je.ary=Va,je.assign=wf,je.assignIn=xf,je.assignInWith=_f,je.assignWith=Cf,je.at=Sf,je.before=Pa,je.bind=uf,je.bindAll=Wf,je.bindKey=sf,je.castArray=Ka,je.chain=aa,je.chunk=ho,je.compact=po,je.concat=vo,je.cond=Bs,je.conforms=Hs,je.constant=zs,je.countBy=Xl,je.create=zu,je.curry=Da,je.curryRight=Ua,je.debounce=Fa,je.defaults=Af,je.defaultsDeep=Ef,je.defer=cf,je.delay=lf,je.difference=Nl,je.differenceBy=Rl,je.differenceWith=Vl,je.drop=$o,je.dropRight=go,je.dropRightWhile=mo,je.dropWhile=yo,je.fill=bo,je.filter=ga,je.flatMap=ma,je.flatMapDeep=ya,je.flatMapDepth=ba,je.flatten=_o,je.flattenDeep=Co,je.flattenDepth=So,je.flip=La,je.flow=Gf,je.flowRight=Zf,je.fromPairs=Ao,je.functions=Xu,je.functionsIn=Qu,je.groupBy=ef,je.initial=Oo,je.intersection=Pl,je.intersectionBy=Dl,je.intersectionWith=Ul,je.invert=kf,je.invertBy=Of,je.invokeMap=nf,je.iteratee=Gs,je.keyBy=rf,je.keys=rs,je.keysIn=is,je.map=Ca,je.mapKeys=os,je.mapValues=as,je.matches=Zs,je.matchesProperty=Js,je.memoize=qa,je.merge=Mf,je.mergeWith=Tf,je.method=Jf,je.methodOf=Kf,je.mixin=Ks,je.negate=Ba,je.nthArg=Qs,je.omit=If,je.omitBy=us,je.once=Ha,je.orderBy=Sa,je.over=Yf,je.overArgs=ff,je.overEvery=Xf,je.overSome=Qf,je.partial=hf,je.partialRight=pf,je.partition=of,je.pick=Nf,je.pickBy=ss,je.property=tc,je.propertyOf=ec,je.pull=Fl,je.pullAll=No,je.pullAllBy=Ro,je.pullAllWith=Vo,je.pullAt=Ll,je.range=th,je.rangeRight=eh,je.rearg=df,je.reject=ka,je.remove=Po,je.rest=za,je.reverse=Do,je.sampleSize=ja,je.set=ls,je.setWith=fs,je.shuffle=Ma,je.slice=Uo,je.sortBy=af,je.sortedUniq=Wo,je.sortedUniqBy=Go,je.split=Ts,je.spread=Wa,je.tail=Zo,je.take=Jo,je.takeRight=Ko,je.takeRightWhile=Yo,je.takeWhile=Xo,je.tap=ua,je.throttle=Ga,je.thru=sa,je.toArray=Pu,je.toPairs=Rf,je.toPairsIn=Vf,je.toPath=sc,je.toPlainObject=qu,je.transform=hs,je.unary=Za,je.union=ql,je.unionBy=Bl,je.unionWith=Hl,je.uniq=Qo,je.uniqBy=ta,je.uniqWith=ea,je.unset=ps,je.unzip=na,je.unzipWith=ra,je.update=ds,je.updateWith=vs,je.values=$s,je.valuesIn=gs,je.without=zl,je.words=qs,je.wrap=Ja,je.xor=Wl,je.xorBy=Gl,je.xorWith=Zl,je.zip=Jl,je.zipObject=ia,je.zipObjectDeep=oa,je.zipWith=Kl,je.entries=Rf,je.entriesIn=Vf,je.extend=xf,je.extendWith=_f,Ks(je,je),je.add=nh,je.attempt=zf,je.camelCase=Pf,je.capitalize=ws,je.ceil=rh,je.clamp=ms,je.clone=Ya,je.cloneDeep=Qa,je.cloneDeepWith=tu,je.cloneWith=Xa,je.deburr=xs,je.divide=ih,je.endsWith=_s,je.eq=eu,je.escape=Cs,je.escapeRegExp=Ss,je.every=$a,je.find=Ql,je.findIndex=wo,je.findKey=Wu,je.findLast=tf,je.findLastIndex=xo,je.findLastKey=Gu,je.floor=oh,je.forEach=wa,je.forEachRight=xa,je.forIn=Zu,je.forInRight=Ju,je.forOwn=Ku,je.forOwnRight=Yu,je.get=ts,je.gt=vf,je.gte=$f,je.has=es,je.hasIn=ns,je.head=Eo,je.identity=Ws,je.includes=_a,je.indexOf=ko,je.inRange=ys,je.invoke=jf,je.isArguments=nu,je.isArray=gf,je.isArrayBuffer=ru,je.isArrayLike=iu,je.isArrayLikeObject=ou,je.isBoolean=au,je.isBuffer=mf,je.isDate=uu,je.isElement=su,je.isEmpty=cu,je.isEqual=lu,je.isEqualWith=fu,je.isError=hu,je.isFinite=pu,je.isFunction=du,je.isInteger=vu,je.isLength=$u,je.isMap=yu,je.isMatch=bu,je.isMatchWith=wu,je.isNaN=xu,je.isNative=_u,je.isNil=Su,je.isNull=Cu,je.isNumber=Au,je.isObject=gu,je.isObjectLike=mu,je.isPlainObject=Eu,je.isRegExp=ku,je.isSafeInteger=Ou,je.isSet=ju,je.isString=Mu,je.isSymbol=Tu,je.isTypedArray=Iu,je.isUndefined=Nu,je.isWeakMap=Ru,je.isWeakSet=Vu,je.join=jo,je.kebabCase=Df,je.last=Mo,je.lastIndexOf=To,je.lowerCase=Uf,je.lowerFirst=Ff,je.lt=yf,je.lte=bf,je.max=lc,je.maxBy=fc,je.mean=hc,je.meanBy=pc,je.min=dc,je.minBy=vc,je.stubArray=nc,je.stubFalse=rc,je.stubObject=ic,je.stubString=oc,je.stubTrue=ac,je.multiply=ah,je.nth=Io,je.noConflict=Ys,je.noop=Xs,je.now=Na,je.pad=As,je.padEnd=Es,je.padStart=ks,je.parseInt=Os,je.random=bs,je.reduce=Aa,je.reduceRight=Ea,je.repeat=js,je.replace=Ms,je.result=cs,je.round=uh,je.runInContext=W,je.sample=Oa,je.size=Ta,je.snakeCase=Lf,je.some=Ia,je.sortedIndex=Fo,je.sortedIndexBy=Lo,je.sortedIndexOf=qo,je.sortedLastIndex=Bo,je.sortedLastIndexBy=Ho,je.sortedLastIndexOf=zo,je.startCase=qf,je.startsWith=Is,je.subtract=sh,je.sum=$c,je.sumBy=gc,je.template=Ns,je.times=uc,je.toFinite=Du,je.toInteger=Uu,je.toLength=Fu,je.toLower=Rs,je.toNumber=Lu,je.toSafeInteger=Bu,je.toString=Hu,je.toUpper=Vs,je.trim=Ps,je.trimEnd=Ds,je.trimStart=Us,je.truncate=Fs,je.unescape=Ls,je.uniqueId=cc,je.upperCase=Bf,je.upperFirst=Hf,je.each=wa,je.eachRight=xa,je.first=Eo,Ks(je,function(){var t={};return Bn(je,function(e,n){Oc.call(je.prototype,n)||(t[n]=e)}),t}(),{chain:!1}),je.VERSION=Z,i(["bind","bindKey","curry","curryRight","partial","partialRight"],function(t){je[t].placeholder=je}),i(["drop","take"],function(t,e){Ie.prototype[t]=function(n){var r=this.__filtered__;if(r&&!e)return new Ie(this);n=n===G?1:Xc(Uu(n),0);var i=this.clone();return r?i.__takeCount__=Qc(n,i.__takeCount__):i.__views__.push({size:Qc(n,xt),type:t+(i.__dir__<0?"Right":"")}),i},Ie.prototype[t+"Right"]=function(e){return this.reverse()[t](e).reverse()}}),i(["filter","map","takeWhile"],function(t,e){var n=e+1,r=n==vt||n==gt;Ie.prototype[t]=function(t){var e=this.clone();return e.__iteratees__.push({iteratee:Ri(t,3),type:n}),e.__filtered__=e.__filtered__||r,e}}),i(["head","last"],function(t,e){var n="take"+(e?"Right":"");Ie.prototype[t]=function(){return this[n](1).value()[0]}}),i(["initial","tail"],function(t,e){var n="drop"+(e?"":"Right");Ie.prototype[t]=function(){return this.__filtered__?new Ie(this):this[n](1)}}),Ie.prototype.compact=function(){return this.filter(Ws)},Ie.prototype.find=function(t){return this.filter(t).head()},Ie.prototype.findLast=function(t){return this.reverse().find(t)},Ie.prototype.invokeMap=za(function(t,e){return"function"==typeof t?new Ie(this):this.map(function(n){return tr(n,t,e)})}),Ie.prototype.reject=function(t){return t=Ri(t,3),this.filter(function(e){return!t(e)})},Ie.prototype.slice=function(t,e){t=Uu(t);var n=this;return n.__filtered__&&(t>0||e<0)?new Ie(n):(t<0?n=n.takeRight(-t):t&&(n=n.drop(t)),e!==G&&(e=Uu(e),n=e<0?n.dropRight(-e):n.take(e-t)),n)},Ie.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},Ie.prototype.toArray=function(){return this.take(xt)},Bn(Ie.prototype,function(t,e){var n=/^(?:filter|find|map|reject)|While$/.test(e),r=/^(?:head|last)$/.test(e),i=je[r?"take"+("last"==e?"Right":""):e],o=r||/^find/.test(e);i&&(je.prototype[e]=function(){var e=this.__wrapped__,a=r?[1]:arguments,u=e instanceof Ie,s=a[0],c=u||gf(e),l=function(t){var e=i.apply(je,f([t],a));return r&&h?e[0]:e};c&&n&&"function"==typeof s&&1!=s.length&&(u=c=!1);var h=this.__chain__,p=!!this.__actions__.length,d=o&&!h,v=u&&!p;if(!o&&c){e=v?e:new Ie(this);var $=t.apply(e,a);return $.__actions__.push({func:sa,args:[l],thisArg:G}),new Te($,h)}return d&&v?t.apply(this,a):($=this.thru(l),d?r?$.value()[0]:$.value():$)})}),i(["pop","push","shift","sort","splice","unshift"],function(t){var e=_c[t],n=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",r=/^(?:pop|shift)$/.test(t);je.prototype[t]=function(){var t=arguments;if(r&&!this.__chain__){var i=this.value();return e.apply(gf(i)?i:[],t)}return this[n](function(n){return e.apply(gf(n)?n:[],t)})}}),Bn(Ie.prototype,function(t,e){var n=je[e];if(n){var r=n.name+"",i=pl[r]||(pl[r]=[]);i.push({name:e,func:n})}}),pl[$i(G,tt).name]=[{name:"wrapper",func:G}],Ie.prototype.clone=Ne,Ie.prototype.reverse=Re,Ie.prototype.value=Ve,je.prototype.at=Yl,je.prototype.chain=ca,je.prototype.commit=la,je.prototype.next=fa,je.prototype.plant=pa,je.prototype.reverse=da,je.prototype.toJSON=je.prototype.valueOf=je.prototype.value=va,Lc&&(je.prototype[Lc]=ha),je}var G,Z="4.13.1",J=200,K="Expected a function",Y="__lodash_hash_undefined__",X="__lodash_placeholder__",Q=1,tt=2,et=4,nt=8,rt=16,it=32,ot=64,at=128,ut=256,st=512,ct=1,lt=2,ft=30,ht="...",pt=150,dt=16,vt=1,$t=2,gt=3,mt=1/0,yt=9007199254740991,bt=1.7976931348623157e308,wt=NaN,xt=4294967295,_t=xt-1,Ct=xt>>>1,St="[object Arguments]",At="[object Array]",Et="[object Boolean]",kt="[object Date]",Ot="[object Error]",jt="[object Function]",Mt="[object GeneratorFunction]",Tt="[object Map]",It="[object Number]",Nt="[object Object]",Rt="[object Promise]",Vt="[object RegExp]",Pt="[object Set]",Dt="[object String]",Ut="[object Symbol]",Ft="[object WeakMap]",Lt="[object WeakSet]",qt="[object ArrayBuffer]",Bt="[object DataView]",Ht="[object Float32Array]",zt="[object Float64Array]",Wt="[object Int8Array]",Gt="[object Int16Array]",Zt="[object Int32Array]",Jt="[object Uint8Array]",Kt="[object Uint8ClampedArray]",Yt="[object Uint16Array]",Xt="[object Uint32Array]",Qt=/\b__p \+= '';/g,te=/\b(__p \+=) '' \+/g,ee=/(__e\(.*?\)|\b__t\)) \+\n'';/g,ne=/&(?:amp|lt|gt|quot|#39|#96);/g,re=/[&<>"'`]/g,ie=RegExp(ne.source),oe=RegExp(re.source),ae=/<%-([\s\S]+?)%>/g,ue=/<%([\s\S]+?)%>/g,se=/<%=([\s\S]+?)%>/g,ce=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,le=/^\w*$/,fe=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(\.|\[\])(?:\4|$))/g,he=/[\\^$.*+?()[\]{}|]/g,pe=RegExp(he.source),de=/^\s+|\s+$/g,ve=/^\s+/,$e=/\s+$/,ge=/[a-zA-Z0-9]+/g,me=/\\(\\)?/g,ye=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,be=/\w*$/,we=/^0x/i,xe=/^[-+]0x[0-9a-f]+$/i,_e=/^0b[01]+$/i,Ce=/^\[object .+?Constructor\]$/,Se=/^0o[0-7]+$/i,Ae=/^(?:0|[1-9]\d*)$/,Ee=/[\xc0-\xd6\xd8-\xde\xdf-\xf6\xf8-\xff]/g,ke=/($^)/,Oe=/['\n\r\u2028\u2029\\]/g,je="\\ud800-\\udfff",Me="\\u0300-\\u036f\\ufe20-\\ufe23",Te="\\u20d0-\\u20f0",Ie="\\u2700-\\u27bf",Ne="a-z\\xdf-\\xf6\\xf8-\\xff",Re="\\xac\\xb1\\xd7\\xf7",Ve="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Pe="\\u2000-\\u206f",De=" \\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",Ue="A-Z\\xc0-\\xd6\\xd8-\\xde",Fe="\\ufe0e\\ufe0f",Le=Re+Ve+Pe+De,qe="['’]",Be="["+je+"]",He="["+Le+"]",ze="["+Me+Te+"]",We="\\d+",Ge="["+Ie+"]",Ze="["+Ne+"]",Je="[^"+je+Le+We+Ie+Ne+Ue+"]",Ke="\\ud83c[\\udffb-\\udfff]",Ye="(?:"+ze+"|"+Ke+")",Xe="[^"+je+"]",Qe="(?:\\ud83c[\\udde6-\\uddff]){2}",tn="[\\ud800-\\udbff][\\udc00-\\udfff]",en="["+Ue+"]",nn="\\u200d",rn="(?:"+Ze+"|"+Je+")",on="(?:"+en+"|"+Je+")",an="(?:"+qe+"(?:d|ll|m|re|s|t|ve))?",un="(?:"+qe+"(?:D|LL|M|RE|S|T|VE))?",sn=Ye+"?",cn="["+Fe+"]?",ln="(?:"+nn+"(?:"+[Xe,Qe,tn].join("|")+")"+cn+sn+")*",fn=cn+sn+ln,hn="(?:"+[Ge,Qe,tn].join("|")+")"+fn,pn="(?:"+[Xe+ze+"?",ze,Qe,tn,Be].join("|")+")",dn=RegExp(qe,"g"),vn=RegExp(ze,"g"),$n=RegExp(Ke+"(?="+Ke+")|"+pn+fn,"g"),gn=RegExp([en+"?"+Ze+"+"+an+"(?="+[He,en,"$"].join("|")+")",on+"+"+un+"(?="+[He,en+rn,"$"].join("|")+")",en+"?"+rn+"+"+an,en+"+"+un,We,hn].join("|"),"g"),mn=RegExp("["+nn+je+Me+Te+Fe+"]"),yn=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,bn=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","Reflect","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","isFinite","parseInt","setTimeout"],wn=-1,xn={};xn[Ht]=xn[zt]=xn[Wt]=xn[Gt]=xn[Zt]=xn[Jt]=xn[Kt]=xn[Yt]=xn[Xt]=!0,xn[St]=xn[At]=xn[qt]=xn[Et]=xn[Bt]=xn[kt]=xn[Ot]=xn[jt]=xn[Tt]=xn[It]=xn[Nt]=xn[Vt]=xn[Pt]=xn[Dt]=xn[Ft]=!1;var _n={};_n[St]=_n[At]=_n[qt]=_n[Bt]=_n[Et]=_n[kt]=_n[Ht]=_n[zt]=_n[Wt]=_n[Gt]=_n[Zt]=_n[Tt]=_n[It]=_n[Nt]=_n[Vt]=_n[Pt]=_n[Dt]=_n[Ut]=_n[Jt]=_n[Kt]=_n[Yt]=_n[Xt]=!0,_n[Ot]=_n[jt]=_n[Ft]=!1;var Cn={"À":"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"},Sn={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},An={"&":"&","<":"<",">":">",""":'"',"'":"'","`":"`"},En={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},kn=parseFloat,On=parseInt,jn="object"==typeof exports&&exports,Mn=jn&&"object"==typeof module&&module,Tn=Mn&&Mn.exports===jn,In=j("object"==typeof global&&global),Nn=j("object"==typeof self&&self),Rn=j("object"==typeof this&&this),Vn=In||Nn||Rn||Function("return this")(),Pn=W();(Nn||{})._=Pn,"function"==typeof define&&"object"==typeof define.amd&&define.amd?define(function(){return Pn}):Mn?((Mn.exports=Pn)._=Pn,jn._=Pn):Vn._=Pn}.call(this),function(){var t=function(t){"use strict";function e(t){if(t.paused||t.ended||$)return!1;try{l.clearRect(0,0,s,u),l.drawImage(t,0,0,s,u)}catch(n){}y=setTimeout(function(){e(t)},T.duration),M.setIcon(c)}function n(t){var e=/^#?([a-f\d])([a-f\d])([a-f\d])$/i;t=t.replace(e,function(t,e,n,r){return e+e+n+n+r+r});var n=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);return!!n&&{r:parseInt(n[1],16),g:parseInt(n[2],16),b:parseInt(n[3],16)}}function r(t,e){var n,r={};for(n in t)r[n]=t[n];for(n in e)r[n]=e[n];return r}function i(){return b.hidden||b.msHidden||b.webkitHidden||b.mozHidden}t=t?t:{};var o,a,u,s,c,l,f,h,p,d,v,$,g,m,y,b,w={bgColor:"#d00",textColor:"#fff",fontFamily:"sans-serif",fontStyle:"bold",type:"circle",position:"down",animation:"slide",elementId:!1,dataUrl:!1,win:window};g={},g.ff="undefined"!=typeof InstallTrigger,g.chrome=!!window.chrome,g.opera=!!window.opera||navigator.userAgent.indexOf("Opera")>=0,g.ie=!1,g.safari=Object.prototype.toString.call(window.HTMLElement).indexOf("Constructor")>0,g.supported=g.chrome||g.ff||g.opera;var x=[];v=function(){},h=$=!1;var _=function(){o=r(w,t),o.bgColor=n(o.bgColor),o.textColor=n(o.textColor),o.position=o.position.toLowerCase(),o.animation=T.types[""+o.animation]?o.animation:w.animation,b=o.win.document;var e=o.position.indexOf("up")>-1,i=o.position.indexOf("left")>-1;if(e||i)for(var h=0;h0?f.height:32,s=f.width>0?f.width:32,c.height=u,c.width=s,l=c.getContext("2d"),C.ready()},f.setAttribute("src",a.getAttribute("href"))):(f.onload=function(){u=32,s=32,f.height=u,f.width=s,c.height=u,c.width=s,l=c.getContext("2d"),C.ready()},f.setAttribute("src",""))},C={};C.ready=function(){h=!0,C.reset(),v()},C.reset=function(){h&&(x=[],p=!1,d=!1,l.clearRect(0,0,s,u),l.drawImage(f,0,0,s,u),M.setIcon(c),window.clearTimeout(m),window.clearTimeout(y))},C.start=function(){if(h&&!d){var t=function(){p=x[0],d=!1,x.length>0&&(x.shift(),C.start())};if(x.length>0){d=!0;var e=function(){["type","animation","bgColor","textColor","fontFamily","fontStyle"].forEach(function(t){t in x[0].options&&(o[t]=x[0].options[t])}),T.run(x[0].options,function(){t()},!1)};p?T.run(p.options,function(){e()},!0):e()}}};var S={},A=function(t){return t.n="number"==typeof t.n?Math.abs(0|t.n):t.n,t.x=s*t.x,t.y=u*t.y,t.w=s*t.w,t.h=u*t.h,t.len=(""+t.n).length,t};S.circle=function(t){t=A(t);var e=!1;2===t.len?(t.x=t.x-.4*t.w,t.w=1.4*t.w,e=!0):t.len>=3&&(t.x=t.x-.65*t.w,t.w=1.65*t.w,e=!0),l.clearRect(0,0,s,u),l.drawImage(f,0,0,s,u),l.beginPath(),l.font=o.fontStyle+" "+Math.floor(t.h*(t.n>99?.85:1))+"px "+o.fontFamily,l.textAlign="center",e?(l.moveTo(t.x+t.w/2,t.y),l.lineTo(t.x+t.w-t.h/2,t.y),l.quadraticCurveTo(t.x+t.w,t.y,t.x+t.w,t.y+t.h/2),l.lineTo(t.x+t.w,t.y+t.h-t.h/2),l.quadraticCurveTo(t.x+t.w,t.y+t.h,t.x+t.w-t.h/2,t.y+t.h),l.lineTo(t.x+t.h/2,t.y+t.h),l.quadraticCurveTo(t.x,t.y+t.h,t.x,t.y+t.h-t.h/2),l.lineTo(t.x,t.y+t.h/2),l.quadraticCurveTo(t.x,t.y,t.x+t.h/2,t.y)):l.arc(t.x+t.w/2,t.y+t.h/2,t.h/2,0,2*Math.PI),l.fillStyle="rgba("+o.bgColor.r+","+o.bgColor.g+","+o.bgColor.b+","+t.o+")",l.fill(),l.closePath(),l.beginPath(),l.stroke(),l.fillStyle="rgba("+o.textColor.r+","+o.textColor.g+","+o.textColor.b+","+t.o+")","number"==typeof t.n&&t.n>999?l.fillText((t.n>9999?9:Math.floor(t.n/1e3))+"k+",Math.floor(t.x+t.w/2),Math.floor(t.y+t.h-.2*t.h)):l.fillText(t.n,Math.floor(t.x+t.w/2),Math.floor(t.y+t.h-.15*t.h)),l.closePath()},S.rectangle=function(t){t=A(t);var e=!1;2===t.len?(t.x=t.x-.4*t.w,t.w=1.4*t.w,e=!0):t.len>=3&&(t.x=t.x-.65*t.w,t.w=1.65*t.w,e=!0),l.clearRect(0,0,s,u),l.drawImage(f,0,0,s,u),l.beginPath(),l.font=o.fontStyle+" "+Math.floor(t.h*(t.n>99?.9:1))+"px "+o.fontFamily,l.textAlign="center",l.fillStyle="rgba("+o.bgColor.r+","+o.bgColor.g+","+o.bgColor.b+","+t.o+")",l.fillRect(t.x,t.y,t.w,t.h),l.fillStyle="rgba("+o.textColor.r+","+o.textColor.g+","+o.textColor.b+","+t.o+")","number"==typeof t.n&&t.n>999?l.fillText((t.n>9999?9:Math.floor(t.n/1e3))+"k+",Math.floor(t.x+t.w/2),Math.floor(t.y+t.h-.2*t.h)):l.fillText(t.n,Math.floor(t.x+t.w/2),Math.floor(t.y+t.h-.15*t.h)),l.closePath()};var E=function(t,e){e=("string"==typeof e?{animation:e}:e)||{},v=function(){try{if("number"==typeof t?t>0:""!==t){var r={type:"badge",options:{n:t}};if("animation"in e&&T.types[""+e.animation]&&(r.options.animation=""+e.animation),"type"in e&&S[""+e.type]&&(r.options.type=""+e.type),["bgColor","textColor"].forEach(function(t){t in e&&(r.options[t]=n(e[t]))}),["fontStyle","fontFamily"].forEach(function(t){t in e&&(r.options[t]=e[t])}),x.push(r),x.length>100)throw new Error("Too many badges requests in queue.");C.start()}else C.reset()}catch(i){throw new Error("Error setting badge. Message: "+i.message)}},h&&v()},k=function(t){v=function(){try{var e=t.width,n=t.height,r=document.createElement("img"),i=e/s=0;n--)if(/(^|\s)icon(\s|$)/i.test(t[n].getAttribute("rel")))return t[n];return!1};return o.element?t=o.element:o.elementId?(t=b.getElementById(o.elementId),t.setAttribute("href",t.getAttribute("src"))):(t=e(),t===!1&&(t=b.createElement("link"),t.setAttribute("rel","icon"),b.getElementsByTagName("head")[0].appendChild(t))),t.setAttribute("type","image/png"),t},M.setIcon=function(t){var e=t.toDataURL("image/png");if(o.dataUrl&&o.dataUrl(e),o.element)o.element.setAttribute("href",e),o.element.setAttribute("src",e);else if(o.elementId){var n=b.getElementById(o.elementId);n.setAttribute("href",e),n.setAttribute("src",e)}else if(g.ff||g.opera){var r=a;a=b.createElement("link"),g.opera&&a.setAttribute("rel","icon"),a.setAttribute("rel","icon"),a.setAttribute("type","image/png"),b.getElementsByTagName("head")[0].appendChild(a),a.setAttribute("href",e),r.parentNode&&r.parentNode.removeChild(r)}else a.setAttribute("href",e)};var T={};return T.duration=40,T.types={},T.types.fade=[{x:.4,y:.4,w:.6,h:.6,o:0},{x:.4,y:.4,w:.6,h:.6,o:.1},{x:.4,y:.4,w:.6,h:.6,o:.2},{x:.4,y:.4,w:.6,h:.6,o:.3},{x:.4,y:.4,w:.6,h:.6,o:.4},{x:.4,y:.4,w:.6,h:.6,o:.5},{x:.4,y:.4,w:.6,h:.6,o:.6},{x:.4,y:.4,w:.6,h:.6,o:.7},{x:.4,y:.4,w:.6,h:.6,o:.8},{x:.4,y:.4,w:.6,h:.6,o:.9},{x:.4,y:.4,w:.6,h:.6,o:1}],T.types.none=[{x:.4,y:.4,w:.6,h:.6,o:1}],T.types.pop=[{x:1,y:1,w:0,h:0,o:1},{x:.9,y:.9,w:.1,h:.1,o:1},{x:.8,y:.8,w:.2,h:.2,o:1},{x:.7,y:.7,w:.3,h:.3,o:1},{x:.6,y:.6,w:.4,h:.4,o:1},{x:.5,y:.5,w:.5,h:.5,o:1},{x:.4,y:.4,w:.6,h:.6,o:1}],T.types.popFade=[{x:.75,y:.75,w:0,h:0,o:0},{x:.65,y:.65,w:.1,h:.1,o:.2},{x:.6,y:.6,w:.2,h:.2,o:.4},{x:.55,y:.55,w:.3,h:.3,o:.6},{x:.5,y:.5,w:.4,h:.4,o:.8},{x:.45,y:.45,w:.5,h:.5,o:.9},{x:.4,y:.4,w:.6,h:.6,o:1}],T.types.slide=[{x:.4,y:1,w:.6,h:.6,o:1},{x:.4,y:.9,w:.6,h:.6,o:1},{x:.4,y:.9,w:.6,h:.6,o:1},{x:.4,y:.8,w:.6,h:.6,o:1},{x:.4,y:.7,w:.6,h:.6,o:1},{x:.4,y:.6,w:.6,h:.6,o:1},{x:.4,y:.5,w:.6,h:.6,o:1},{x:.4,y:.4,w:.6,h:.6,o:1}],T.run=function(t,e,n,a){var u=T.types[i()?"none":o.animation];return a=n===!0?"undefined"!=typeof a?a:u.length-1:"undefined"!=typeof a?a:0,e=e?e:function(){},a=0?(S[o.type](r(t,u[a])),m=setTimeout(function(){n?a-=1:a+=1,T.run(t,e,n,a)},T.duration),M.setIcon(c),void 0):void e()},_(),{badge:E,video:O,image:k,webcam:j,reset:C.reset,browser:{supported:g.supported}}};"undefined"!=typeof define&&define.amd?define([],function(){return t}):"undefined"!=typeof module&&module.exports?module.exports=t:this.Favico=t}(); \ No newline at end of file