From aef7866e294697fc155ea1767f9aaa8e8087d65d Mon Sep 17 00:00:00 2001
From: Drew Banin <drew@fishtownanalytics.com>
Date: Tue, 13 Nov 2018 10:36:35 -0500
Subject: [PATCH 1/2] Update CHANGELOG.md

---
 CHANGELOG.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index ba69cd617c8..47d4fca789c 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,4 +1,4 @@
-## dbt 0.12.0 - Guion Bluford (Currently Unreleased)
+## dbt 0.12.0 - Guion Bluford (November 12, 2018)
 
 ### Overview
 

From 44f9b302b4f9501188b4b961b195e3d7bb584bed Mon Sep 17 00:00:00 2001
From: Drew Banin <drew@fishtownanalytics.com>
Date: Wed, 4 Mar 2020 11:49:06 -0500
Subject: [PATCH 2/2] Upgrade docs site to support 0.16.0 functionality

---
 CHANGELOG.md                |  9 +++++++++
 core/dbt/include/index.html | 22 +++++++++++-----------
 2 files changed, 20 insertions(+), 11 deletions(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index e64556cd850..95307f6a116 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,6 +7,15 @@
 ### Features
 - Remove the requirement to have a passphrase when using Snowflake key pair authentication ([#1805](https://github.com/fishtown-analytics/dbt/issues/1805), [#2164](https://github.com/fishtown-analytics/dbt/pull/2164))
 - Adding optional "sslmode" parameter for postgres ([#2152](https://github.com/fishtown-analytics/dbt/issues/2152), [#2154](https://github.com/fishtown-analytics/dbt/pull/2154))
+- Docs website changes:
+  - Handle non-array `accepted_values` test arguments ([dbt-docs#70](https://github.com/fishtown-analytics/dbt-docs/pull/70))
+  - Support filtering by resource type ([dbt-docs#77](https://github.com/fishtown-analytics/dbt-docs/pull/77))
+  - Render analyses, macros, and custom data tests ([dbt-docs#72](https://github.com/fishtown-analytics/dbt-docs/pull/72), [dbt-docs#77](https://github.com/fishtown-analytics/dbt-docs/pull/77), [dbt-docs#69](https://github.com/fishtown-analytics/dbt-docs/pull/69))
+  - Support hiding models from the docs (these nodes still render in the DAG view as "hidden") ([dbt-docs#71](https://github.com/fishtown-analytics/dbt-docs/pull/71))
+  - Render `meta` fields as "details" in node views ([dbt-docs#73](https://github.com/fishtown-analytics/dbt-docs/pull/73))
+  - Default to lower-casing Snowflake columns specified in all-caps ([dbt-docs#74](https://github.com/fishtown-analytics/dbt-docs/pull/74))
+  - Upgrade site dependencies 
+
 
 ### Under the hood
 - Use `show terse schemas in database` (chosen based on data collected by Michael Weinberg) instead of `select ... from information_schema.schemata` when collecting the list of schemas in a database ([#2166](https://github.com/fishtown-analytics/dbt/issues/2166), [#2171](https://github.com/fishtown-analytics/dbt/pull/2171))
diff --git a/core/dbt/include/index.html b/core/dbt/include/index.html
index 278bed99877..4e06fa346e6 100644
--- a/core/dbt/include/index.html
+++ b/core/dbt/include/index.html
@@ -24,7 +24,7 @@
     <body>
         <div style="display:none"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><title>icons</title><g id="icn"><rect width="16" height="16" fill="none"/></g><g id="icn-menu"><path d="M14.5,8a.5.5,0,0,1-.5.5H2a.5.5,0,0,1,0-1H14A.5.5,0,0,1,14.5,8ZM2,3H14a.5.5,0,0,0,0-1H2A.5.5,0,0,0,2,3ZM14,13H2a.5.5,0,0,0,0,1H14a.5.5,0,0,0,0-1Z" transform="translate(0 0)"/></g><g id="icn-dbt"><path d="M12.6,9.265l0,0L10.9,6.325a3.31,3.31,0,0,0-.529-.7h0a3.264,3.264,0,0,0-3.184-.867,4.022,4.022,0,0,1,4.194.938,3.977,3.977,0,0,1,.635.833l.38.657a2.488,2.488,0,0,1,.2-.465l2.226-3.851a1.2,1.2,0,0,0-.2-1.5,1.2,1.2,0,0,0-1.5-.2h0L9.27,3.4a2.539,2.539,0,0,1-2.54,0L2.877,1.178A1.253,1.253,0,0,0,2.247,1a1.247,1.247,0,0,0-.871.375,1.2,1.2,0,0,0-.2,1.5L3.4,6.726a2.542,2.542,0,0,1,0,2.539l-2.226,3.85a1.2,1.2,0,0,0,.2,1.5,1.2,1.2,0,0,0,1.5.2L6.73,12.588a2.455,2.455,0,0,1,.465-.2l-.657-.379a3.857,3.857,0,0,1-1.462-1.467,4.118,4.118,0,0,1-.288-3.368,3.453,3.453,0,0,0,.33,2.507A3.141,3.141,0,0,0,6.329,10.89l2.94,1.7h0l3.853,2.224a1.243,1.243,0,0,0,1.7-1.7Zm.814-7.353a.478.478,0,1,1,0,.676A.48.48,0,0,1,13.41,1.912ZM2.59,2.588a.478.478,0,1,1,0-.676A.479.479,0,0,1,2.59,2.588Zm0,11.49a.478.478,0,1,1,0-.676A.479.479,0,0,1,2.59,14.078Zm6.827-5.9a1.022,1.022,0,1,0-1.231,1.23,1.433,1.433,0,1,1,1.231-1.23Zm4.67,5.9a.478.478,0,1,1,0-.676A.479.479,0,0,1,14.087,14.078Z" transform="translate(0 0)"/></g><g id="icn-doc-on"><path d="M13.707,4.707,10.293,1.293A1,1,0,0,0,9.586,1H3A1,1,0,0,0,2,2V14a1,1,0,0,0,1,1H13a1,1,0,0,0,1-1V5.414A1,1,0,0,0,13.707,4.707ZM5,4H9V5H5Zm6,8H5V11h6Zm0-2H5V9h6Zm0-2H5V7h6Z" transform="translate(0 0)"/></g><g id="icn-doc"><path d="M9.586,2h0L13,5.414V14H3V2H9.586m0-1H3A1,1,0,0,0,2,2V14a1,1,0,0,0,1,1H13a1,1,0,0,0,1-1V5.414a1,1,0,0,0-.293-.707L10.293,1.293A1,1,0,0,0,9.586,1Z" transform="translate(0 0)"/><rect x="5" y="11" width="6" height="1" fill="#fff"/><polygon points="11 11 5 11 5 12 11 12 11 11 11 11"/><rect x="5" y="9" width="6" height="1" fill="#fff"/><polygon points="11 9 5 9 5 10 11 10 11 9 11 9"/><rect x="5" y="7" width="6" height="1" fill="#fff"/><polygon points="11 7 5 7 5 8 11 8 11 7 11 7"/><rect x="5" y="4" width="4" height="1" fill="#fff"/><polygon points="9 4 5 4 5 5 9 5 9 4 9 4"/></g><g id="icn-down"><path d="M8,10.5a.5.5,0,0,1-.354-.146l-3-3a.5.5,0,0,1,.708-.708L8,9.293l2.646-2.647a.5.5,0,0,1,.708.708l-3,3A.5.5,0,0,1,8,10.5Z" transform="translate(0 0)"/></g><g id="icn-up"><path d="M11,9.5a.5.5,0,0,1-.354-.146L8,6.707,5.354,9.354a.5.5,0,0,1-.708-.708l3-3a.5.5,0,0,1,.708,0l3,3A.5.5,0,0,1,11,9.5Z" transform="translate(0 0)"/></g><g id="icn-left"><path d="M9.5,5a.5.5,0,0,1-.146.354L6.707,8l2.647,2.646a.5.5,0,0,1-.708.708l-3-3a.5.5,0,0,1,0-.708l3-3A.5.5,0,0,1,9.5,5Z" transform="translate(0 0)"/></g><g id="icn-right"><path d="M10.5,8a.5.5,0,0,1-.146.354l-3,3a.5.5,0,0,1-.708-.708L9.293,8,6.646,5.354a.5.5,0,0,1,.708-.708l3,3A.5.5,0,0,1,10.5,8Z" transform="translate(0 0)"/></g><g id="icn-dir"><path d="M14,4H8.414a1,1,0,0,1-.707-.293L6.293,2.293A1,1,0,0,0,5.586,2H2A1,1,0,0,0,1,3V13a1,1,0,0,0,1,1H14a1,1,0,0,0,1-1V5A1,1,0,0,0,14,4ZM2,3H5.586l1,1H2ZM14,13H2V5H14Z" transform="translate(0 0)"/></g><g id="icn-tree"><path d="M14,5V2H11V3H4V2H1V5H4V4H7V14h4v1h3V12H11v1H8V9h3v1h3V7H11V8H8V4h3V5ZM3,4H2V3H3Zm9,9h1v1H12Zm0-5h1V9H12Zm0-5h1V4H12Z" transform="translate(0 0)"/></g><g id="icn-tree-on"><path d="M14,5V2H11V3H4V2H1V5H4V4H7V14h4v1h3V12H11v1H8V9h3v1h3V7H11V8H8V4h3V5Z" transform="translate(0 0)"/></g><g id="icn-dir-on"><path d="M14.878,7H14V5a1,1,0,0,0-1-1H7.414a1,1,0,0,1-.707-.293L5.293,2.293A1,1,0,0,0,4.586,2H1A1,1,0,0,0,0,3V13a1,1,0,0,0,1,1H13.271a1,1,0,0,0,.952-.694l1.607-5A1,1,0,0,0,14.878,7ZM4.586,3,6,4.414A1.986,1.986,0,0,0,7.414,5H13V7H2.979a1,1,0,0,0-.952.694L1,10.889V3Z" transform="translate(0 0)"/></g><g id="icn-db-on"><path d="M8,1C7,1,2,1.121,2,3.5v9C2,14.879,7,15,8,15s6-.121,6-2.5v-9C14,1.121,9,1,8,1Zm5,10.482c0,.828-2.239,1.5-5,1.5s-5-.672-5-1.5V11c1.511.915,4.281.982,5,.982s3.489-.067,5-.982ZM13,8.5c0,.828-2.239,1.5-5,1.5S3,9.328,3,8.5V8.018C4.511,8.933,7.281,9,8,9s3.489-.067,5-.982Zm0-3C13,6.328,10.761,7,8,7S3,6.328,3,5.5V5.018C4.511,5.933,7.281,6,8,6s3.489-.067,5-.982Z" transform="translate(0 0)"/></g><g id="icn-db"><path d="M8,1C7,1,2,1.121,2,3.5v9C2,14.879,7,15,8,15s6-.121,6-2.5v-9C14,1.121,9,1,8,1ZM3,8.018C4.511,8.933,7.281,9,8,9s3.489-.067,5-.982V9.5c0,.828-2.239,1.5-5,1.5s-5-.672-5-1.5ZM8,8C5.239,8,3,7.328,3,6.5V5.018C4.511,5.933,7.281,6,8,6s3.489-.067,5-.982V6.5C13,7.328,10.761,8,8,8ZM8,2c2.761,0,5,.672,5,1.5S10.761,5,8,5,3,4.328,3,3.5,5.239,2,8,2ZM8,14c-2.761,0-5-.672-5-1.5V11.018C4.511,11.933,7.281,12,8,12s3.489-.067,5-.982V12.5C13,13.328,10.761,14,8,14Z" transform="translate(0 0)"/></g><g id="icn-close"><path d="M12.354,11.646a.5.5,0,0,1-.708.708L8,8.707,4.354,12.354a.5.5,0,0,1-.708-.708L7.293,8,3.646,4.354a.5.5,0,0,1,.708-.708L8,7.293l3.646-3.647a.5.5,0,0,1,.708.708L8.707,8Z" transform="translate(0 0)"/></g><g id="icn-search"><path d="M6.5,1A5.5,5.5,0,1,0,12,6.5,5.5,5.5,0,0,0,6.5,1Zm0,10A4.5,4.5,0,1,1,11,6.5,4.505,4.505,0,0,1,6.5,11Zm8.854,4.354a.5.5,0,0,1-.708,0l-3-3a.5.5,0,0,1,.708-.708l3,3A.5.5,0,0,1,15.354,15.354Z" transform="translate(0 0)"/></g><g id="icn-more"><path d="M8,6a2,2,0,1,0,2,2A2,2,0,0,0,8,6ZM8,9A1,1,0,1,1,9,8,1,1,0,0,1,8,9ZM2,6A2,2,0,1,0,4,8,2,2,0,0,0,2,6ZM2,9A1,1,0,1,1,3,8,1,1,0,0,1,2,9ZM14,6a2,2,0,1,0,2,2A2,2,0,0,0,14,6Zm0,3a1,1,0,1,1,1-1A1,1,0,0,1,14,9Z" transform="translate(0 0)"/></g><g id="icn-flow"><path d="M4,3V2H1V5H4V4H7v9a1,1,0,0,0,1,1h5V13H8V9h5V8H8V4h5V3H4ZM3,4H2V3H3Z" transform="translate(0 0)"/><polygon points="13 1.5 13 5.5 15 3.5 13 1.5"/><polygon points="13 6.5 13 10.5 15 8.5 13 6.5"/><polygon points="13 11.5 13 15.5 15 13.5 13 11.5"/></g><g id="icn-expand"><path d="M6,2.5a.5.5,0,0,1-.5.5H3V5.5a.5.5,0,0,1-1,0v-3A.5.5,0,0,1,2.5,2h3A.5.5,0,0,1,6,2.5ZM13.5,2h-3a.5.5,0,0,0,0,1H13V5.5a.5.5,0,0,0,1,0v-3A.5.5,0,0,0,13.5,2Zm0,8a.5.5,0,0,0-.5.5V13H10.5a.5.5,0,0,0,0,1h3a.5.5,0,0,0,.5-.5v-3A.5.5,0,0,0,13.5,10Zm-8,3H3V10.5a.5.5,0,0,0-1,0v3a.5.5,0,0,0,.5.5h3a.5.5,0,0,0,0-1Z" transform="translate(0 0)"/></g><g id="icn-contract"><path d="M6,2.5v3a.5.5,0,0,1-.5.5h-3a.5.5,0,0,1,0-1H5V2.5a.5.5,0,0,1,1,0ZM10.5,6h3a.5.5,0,0,0,0-1H11V2.5a.5.5,0,0,0-1,0v3A.5.5,0,0,0,10.5,6Zm3,4h-3a.5.5,0,0,0-.5.5v3a.5.5,0,0,0,1,0V11h2.5a.5.5,0,0,0,0-1Zm-8,0h-3a.5.5,0,0,0,0,1H5v2.5a.5.5,0,0,0,1,0v-3A.5.5,0,0,0,5.5,10Z" transform="translate(0 0)"/></g><g id="icn-filter"><path d="M14.5,4.5A.5.5,0,0,1,14,5H2A.5.5,0,0,1,2,4H14A.5.5,0,0,1,14.5,4.5ZM12,8H4A.5.5,0,0,0,4,9h8a.5.5,0,0,0,0-1Zm-2,4H6a.5.5,0,0,0,0,1h4a.5.5,0,0,0,0-1Z" transform="translate(0 0)"/></g></svg></div>
         <div ui-view></div>
-    <script type="text/javascript">!function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=214)}([function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),i=n(3),o=n(5);t.root="object"==typeof self&&self.self===self&&self||"object"==typeof e&&e.global===e&&e||this;var a=t.root.angular||{};function s(e,t){return-1!==e.indexOf(t)}function l(e,t){var n=e.indexOf(t);return n>=0&&e.splice(n,1),e}function c(e,t){return e.push(t),t}function u(e,t){var n={};for(var r in e)-1!==t.indexOf(r)&&(n[r]=e[r]);return n}function d(e,n,i){return i=i||(r.isArray(e)?[]:{}),t.forEach(e,function(e,t){return i[t]=n(e,t)}),i}function p(e,t){return e.push(t),e}function f(e,t){return void 0===t&&(t="assert failure"),function(n){var i=e(n);if(!i)throw new Error(r.isFunction(t)?t(n):t);return i}}function h(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(0===e.length)return[];for(var n=e.reduce(function(e,t){return Math.min(t.length,e)},9007199254740991),r=[],i=function(t){switch(e.length){case 1:r.push([e[0][t]]);break;case 2:r.push([e[0][t],e[1][t]]);break;case 3:r.push([e[0][t],e[1][t],e[2][t]]);break;case 4:r.push([e[0][t],e[1][t],e[2][t],e[3][t]]);break;default:r.push(e.map(function(e){return e[t]}))}},o=0;o<n;o++)i(o);return r}function g(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];if(n)for(var r=Object.keys(n),i=0;i<r.length;i++)e[r[i]]=n[r[i]]}return e}function m(e,t){if(e===t)return!0;if(null===e||null===t)return!1;if(e!=e&&t!=t)return!0;var n=typeof e;if(n!==typeof t||"object"!==n)return!1;var o=[e,t];if(i.all(r.isArray)(o))return function(e,t){return e.length===t.length&&h(e,t).reduce(function(e,t){return e&&m(t[0],t[1])},!0)}(e,t);if(i.all(r.isDate)(o))return e.getTime()===t.getTime();if(i.all(r.isRegExp)(o))return e.toString()===t.toString();if(i.all(r.isFunction)(o))return!0;if([r.isFunction,r.isArray,r.isDate,r.isRegExp].map(i.any).reduce(function(e,t){return e||!!t(o)},!1))return!1;var a={};for(var s in e){if(!m(e[s],t[s]))return!1;a[s]=!0}for(var s in t)if(!a[s])return!1;return!0}t.fromJson=a.fromJson||JSON.parse.bind(JSON),t.toJson=a.toJson||JSON.stringify.bind(JSON),t.forEach=a.forEach||function(e,t,n){if(r.isArray(e))return e.forEach(t,n);Object.keys(e).forEach(function(n){return t(e[n],n)})},t.extend=Object.assign||g,t.equals=a.equals||m,t.identity=function(e){return e},t.noop=function(){},t.createProxyFunctions=function(e,t,n,r,i){void 0===i&&(i=!1);var o=function(t){return e()[t].bind(n())};return(r=r||Object.keys(e())).reduce(function(e,n){return e[n]=i?function(e){return function(){return t[e]=o(e),t[e].apply(null,arguments)}}(n):o(n),e},t)},t.inherit=function(e,n){return t.extend(Object.create(e),n)},t.inArray=i.curry(s),t._inArray=s,t.removeFrom=i.curry(l),t._removeFrom=l,t.pushTo=i.curry(c),t._pushTo=c,t.deregAll=function(e){return e.slice().forEach(function(n){"function"==typeof n&&n(),t.removeFrom(e,n)})},t.defaults=function(e){for(var n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];var i=n.concat({}).reverse(),o=t.extend.apply(null,i);return t.extend({},o,u(e||{},Object.keys(o)))},t.mergeR=function(e,n){return t.extend(e,n)},t.ancestors=function(e,t){var n=[];for(var r in e.path){if(e.path[r]!==t.path[r])break;n.push(e.path[r])}return n},t.pick=u,t.omit=function(e,n){return Object.keys(e).filter(i.not(t.inArray(n))).reduce(function(t,n){return t[n]=e[n],t},{})},t.pluck=function(e,t){return d(e,i.prop(t))},t.filter=function(e,n){var i=r.isArray(e),o=i?[]:{},a=i?function(e){return o.push(e)}:function(e,t){return o[t]=e};return t.forEach(e,function(e,t){n(e,t)&&a(e,t)}),o},t.find=function(e,n){var r;return t.forEach(e,function(e,t){r||n(e,t)&&(r=e)}),r},t.mapObj=d,t.map=d,t.values=function(e){return Object.keys(e).map(function(t){return e[t]})},t.allTrueR=function(e,t){return e&&t},t.anyTrueR=function(e,t){return e||t},t.unnestR=function(e,t){return e.concat(t)},t.flattenR=function(e,n){return r.isArray(n)?e.concat(n.reduce(t.flattenR,[])):p(e,n)},t.pushR=p,t.uniqR=function(e,n){return t.inArray(e,n)?e:p(e,n)},t.unnest=function(e){return e.reduce(t.unnestR,[])},t.flatten=function(e){return e.reduce(t.flattenR,[])},t.assertPredicate=f,t.assertMap=f,t.assertFn=f,t.pairs=function(e){return Object.keys(e).map(function(t){return[t,e[t]]})},t.arrayTuples=h,t.applyPairs=function(e,t){var n,i;if(r.isArray(t)&&(n=t[0],i=t[1]),!r.isString(n))throw new Error("invalid parameters to applyPairs");return e[n]=i,e},t.tail=function(e){return e.length&&e[e.length-1]||void 0},t.copy=function(e,n){return n&&Object.keys(n).forEach(function(e){return delete n[e]}),n||(n={}),t.extend(n,e)},t._extend=g,t.silenceUncaughtInPromise=function(e){return e.catch(function(e){return 0})&&e},t.silentRejection=function(e){return t.silenceUncaughtInPromise(o.services.$q.reject(e))}}).call(this,n(14))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(3),i=n(40),o=Object.prototype.toString,a=function(e){return function(t){return typeof t===e}};t.isUndefined=a("undefined"),t.isDefined=r.not(t.isUndefined),t.isNull=function(e){return null===e},t.isNullOrUndefined=r.or(t.isNull,t.isUndefined),t.isFunction=a("function"),t.isNumber=a("number"),t.isString=a("string"),t.isObject=function(e){return null!==e&&"object"==typeof e},t.isArray=Array.isArray,t.isDate=function(e){return"[object Date]"===o.call(e)},t.isRegExp=function(e){return"[object RegExp]"===o.call(e)},t.isState=i.StateObject.isState,t.isInjectable=function(e){if(t.isArray(e)&&e.length){var n=e.slice(0,-1),i=e.slice(-1);return!(n.filter(r.not(t.isString)).length||i.filter(r.not(t.isFunction)).length)}return t.isFunction(e)},t.isPromise=r.and(t.isObject,r.pipe(r.prop("then"),t.isFunction))},function(e,t,n){var r;try{r=n(141)}catch(e){}r||(r=window._),e.exports=r},function(e,t,n){"use strict";function r(e){var t=[].slice.apply(arguments,[1]),n=e.length;return function t(r){return r.length>=n?e.apply(null,r):function(){return t(r.concat([].slice.apply(arguments)))}}(t)}function i(){var e=arguments,t=e.length-1;return function(){for(var n=t,r=e[t].apply(this,arguments);n--;)r=e[n].call(this,r);return r}}function o(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return i.apply(null,[].slice.call(arguments).reverse())}Object.defineProperty(t,"__esModule",{value:!0}),t.curry=r,t.compose=i,t.pipe=o,t.prop=function(e){return function(t){return t&&t[e]}},t.propEq=r(function(e,t,n){return n&&n[e]===t}),t.parse=function(e){return o.apply(null,e.split(".").map(t.prop))},t.not=function(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return!e.apply(null,t)}},t.and=function(e,t){return function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return e.apply(null,n)&&t.apply(null,n)}},t.or=function(e,t){return function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return e.apply(null,n)||t.apply(null,n)}},t.all=function(e){return function(t){return t.reduce(function(t,n){return t&&!!e(n)},!0)}},t.any=function(e){return function(t){return t.reduce(function(t,n){return t||!!e(n)},!1)}},t.is=function(e){return function(t){return null!=t&&t.constructor===e||t instanceof e}},t.eq=function(e){return function(t){return e===t}},t.val=function(e){return function(){return e}},t.invoke=function(e,t){return function(n){return n[e].apply(n,t)}},t.pattern=function(e){return function(t){for(var n=0;n<e.length;n++)if(e[n][0](t))return e[n][1](t)}}},function(e,t,n){n(213),e.exports=angular},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.notImplemented=function(e){return function(){throw new Error(e+"(): No coreservices implementation for UI-Router is loaded.")}};var r={$q:void 0,$injector:void 0};t.services=r},function(e,t,n){"use strict";var r=n(2),i=n(10).Graph;function o(e,t,n,i){var o;do{o=r.uniqueId(i)}while(e.hasNode(o));return n.dummy=t,e.setNode(o,n),o}function a(e){return r.max(r.map(e.nodes(),function(t){var n=e.node(t).rank;if(!r.isUndefined(n))return n}))}e.exports={addDummyNode:o,simplify:function(e){var t=(new i).setGraph(e.graph());return r.each(e.nodes(),function(n){t.setNode(n,e.node(n))}),r.each(e.edges(),function(n){var r=t.edge(n.v,n.w)||{weight:0,minlen:1},i=e.edge(n);t.setEdge(n.v,n.w,{weight:r.weight+i.weight,minlen:Math.max(r.minlen,i.minlen)})}),t},asNonCompoundGraph:function(e){var t=new i({multigraph:e.isMultigraph()}).setGraph(e.graph());return r.each(e.nodes(),function(n){e.children(n).length||t.setNode(n,e.node(n))}),r.each(e.edges(),function(n){t.setEdge(n,e.edge(n))}),t},successorWeights:function(e){var t=r.map(e.nodes(),function(t){var n={};return r.each(e.outEdges(t),function(t){n[t.w]=(n[t.w]||0)+e.edge(t).weight}),n});return r.zipObject(e.nodes(),t)},predecessorWeights:function(e){var t=r.map(e.nodes(),function(t){var n={};return r.each(e.inEdges(t),function(t){n[t.v]=(n[t.v]||0)+e.edge(t).weight}),n});return r.zipObject(e.nodes(),t)},intersectRect:function(e,t){var n,r,i=e.x,o=e.y,a=t.x-i,s=t.y-o,l=e.width/2,c=e.height/2;if(!a&&!s)throw new Error("Not possible to find intersection inside of the rectangle");Math.abs(s)*l>Math.abs(a)*c?(s<0&&(c=-c),n=c*a/s,r=c):(a<0&&(l=-l),n=l,r=l*s/a);return{x:i+n,y:o+r}},buildLayerMatrix:function(e){var t=r.map(r.range(a(e)+1),function(){return[]});return r.each(e.nodes(),function(n){var i=e.node(n),o=i.rank;r.isUndefined(o)||(t[o][i.order]=n)}),t},normalizeRanks:function(e){var t=r.min(r.map(e.nodes(),function(t){return e.node(t).rank}));r.each(e.nodes(),function(n){var i=e.node(n);r.has(i,"rank")&&(i.rank-=t)})},removeEmptyRanks:function(e){var t=r.min(r.map(e.nodes(),function(t){return e.node(t).rank})),n=[];r.each(e.nodes(),function(r){var i=e.node(r).rank-t;n[i]||(n[i]=[]),n[i].push(r)});var i=0,o=e.graph().nodeRankFactor;r.each(n,function(t,n){r.isUndefined(t)&&n%o!=0?--i:i&&r.each(t,function(t){e.node(t).rank+=i})})},addBorderNode:function(e,t,n,r){var i={width:0,height:0};arguments.length>=4&&(i.rank=n,i.order=r);return o(e,"border",i,t)},maxRank:a,partition:function(e,t){var n={lhs:[],rhs:[]};return r.each(e,function(e){t(e)?n.lhs.push(e):n.rhs.push(e)}),n},time:function(e,t){var n=r.now();try{return t()}finally{console.log(e+" time: "+(r.now()-n)+"ms")}},notime:function(e,t){return t()}}},function(e,t,n){(function(e,n){var r;!function(){var i="object"==typeof self&&self.self===self&&self||"object"==typeof e&&e.global===e&&e||this||{},o=i._,a=Array.prototype,s=Object.prototype,l="undefined"!=typeof Symbol?Symbol.prototype:null,c=a.push,u=a.slice,d=s.toString,p=s.hasOwnProperty,f=Array.isArray,h=Object.keys,g=Object.create,m=function(){},v=function(e){return e instanceof v?e:this instanceof v?void(this._wrapped=e):new v(e)};void 0===t||t.nodeType?i._=v:(void 0!==n&&!n.nodeType&&n.exports&&(t=n.exports=v),t._=v),v.VERSION="1.9.1";var b,y=function(e,t,n){if(void 0===t)return e;switch(null==n?3:n){case 1:return function(n){return e.call(t,n)};case 3:return function(n,r,i){return e.call(t,n,r,i)};case 4:return function(n,r,i,o){return e.call(t,n,r,i,o)}}return function(){return e.apply(t,arguments)}},x=function(e,t,n){return v.iteratee!==b?v.iteratee(e,t):null==e?v.identity:v.isFunction(e)?y(e,t,n):v.isObject(e)&&!v.isArray(e)?v.matcher(e):v.property(e)};v.iteratee=b=function(e,t){return x(e,t,1/0)};var w=function(e,t){return t=null==t?e.length-1:+t,function(){for(var n=Math.max(arguments.length-t,0),r=Array(n),i=0;i<n;i++)r[i]=arguments[i+t];switch(t){case 0:return e.call(this,r);case 1:return e.call(this,arguments[0],r);case 2:return e.call(this,arguments[0],arguments[1],r)}var o=Array(t+1);for(i=0;i<t;i++)o[i]=arguments[i];return o[t]=r,e.apply(this,o)}},k=function(e){if(!v.isObject(e))return{};if(g)return g(e);m.prototype=e;var t=new m;return m.prototype=null,t},_=function(e){return function(t){return null==t?void 0:t[e]}},$=function(e,t){return null!=e&&p.call(e,t)},E=function(e,t){for(var n=t.length,r=0;r<n;r++){if(null==e)return;e=e[t[r]]}return n?e:void 0},S=Math.pow(2,53)-1,C=_("length"),T=function(e){var t=C(e);return"number"==typeof t&&t>=0&&t<=S};v.each=v.forEach=function(e,t,n){var r,i;if(t=y(t,n),T(e))for(r=0,i=e.length;r<i;r++)t(e[r],r,e);else{var o=v.keys(e);for(r=0,i=o.length;r<i;r++)t(e[o[r]],o[r],e)}return e},v.map=v.collect=function(e,t,n){t=x(t,n);for(var r=!T(e)&&v.keys(e),i=(r||e).length,o=Array(i),a=0;a<i;a++){var s=r?r[a]:a;o[a]=t(e[s],s,e)}return o};var A=function(e){return function(t,n,r,i){var o=arguments.length>=3;return function(t,n,r,i){var o=!T(t)&&v.keys(t),a=(o||t).length,s=e>0?0:a-1;for(i||(r=t[o?o[s]:s],s+=e);s>=0&&s<a;s+=e){var l=o?o[s]:s;r=n(r,t[l],l,t)}return r}(t,y(n,i,4),r,o)}};v.reduce=v.foldl=v.inject=A(1),v.reduceRight=v.foldr=A(-1),v.find=v.detect=function(e,t,n){var r=(T(e)?v.findIndex:v.findKey)(e,t,n);if(void 0!==r&&-1!==r)return e[r]},v.filter=v.select=function(e,t,n){var r=[];return t=x(t,n),v.each(e,function(e,n,i){t(e,n,i)&&r.push(e)}),r},v.reject=function(e,t,n){return v.filter(e,v.negate(x(t)),n)},v.every=v.all=function(e,t,n){t=x(t,n);for(var r=!T(e)&&v.keys(e),i=(r||e).length,o=0;o<i;o++){var a=r?r[o]:o;if(!t(e[a],a,e))return!1}return!0},v.some=v.any=function(e,t,n){t=x(t,n);for(var r=!T(e)&&v.keys(e),i=(r||e).length,o=0;o<i;o++){var a=r?r[o]:o;if(t(e[a],a,e))return!0}return!1},v.contains=v.includes=v.include=function(e,t,n,r){return T(e)||(e=v.values(e)),("number"!=typeof n||r)&&(n=0),v.indexOf(e,t,n)>=0},v.invoke=w(function(e,t,n){var r,i;return v.isFunction(t)?i=t:v.isArray(t)&&(r=t.slice(0,-1),t=t[t.length-1]),v.map(e,function(e){var o=i;if(!o){if(r&&r.length&&(e=E(e,r)),null==e)return;o=e[t]}return null==o?o:o.apply(e,n)})}),v.pluck=function(e,t){return v.map(e,v.property(t))},v.where=function(e,t){return v.filter(e,v.matcher(t))},v.findWhere=function(e,t){return v.find(e,v.matcher(t))},v.max=function(e,t,n){var r,i,o=-1/0,a=-1/0;if(null==t||"number"==typeof t&&"object"!=typeof e[0]&&null!=e)for(var s=0,l=(e=T(e)?e:v.values(e)).length;s<l;s++)null!=(r=e[s])&&r>o&&(o=r);else t=x(t,n),v.each(e,function(e,n,r){((i=t(e,n,r))>a||i===-1/0&&o===-1/0)&&(o=e,a=i)});return o},v.min=function(e,t,n){var r,i,o=1/0,a=1/0;if(null==t||"number"==typeof t&&"object"!=typeof e[0]&&null!=e)for(var s=0,l=(e=T(e)?e:v.values(e)).length;s<l;s++)null!=(r=e[s])&&r<o&&(o=r);else t=x(t,n),v.each(e,function(e,n,r){((i=t(e,n,r))<a||i===1/0&&o===1/0)&&(o=e,a=i)});return o},v.shuffle=function(e){return v.sample(e,1/0)},v.sample=function(e,t,n){if(null==t||n)return T(e)||(e=v.values(e)),e[v.random(e.length-1)];var r=T(e)?v.clone(e):v.values(e),i=C(r);t=Math.max(Math.min(t,i),0);for(var o=i-1,a=0;a<t;a++){var s=v.random(a,o),l=r[a];r[a]=r[s],r[s]=l}return r.slice(0,t)},v.sortBy=function(e,t,n){var r=0;return t=x(t,n),v.pluck(v.map(e,function(e,n,i){return{value:e,index:r++,criteria:t(e,n,i)}}).sort(function(e,t){var n=e.criteria,r=t.criteria;if(n!==r){if(n>r||void 0===n)return 1;if(n<r||void 0===r)return-1}return e.index-t.index}),"value")};var P=function(e,t){return function(n,r,i){var o=t?[[],[]]:{};return r=x(r,i),v.each(n,function(t,i){var a=r(t,i,n);e(o,t,a)}),o}};v.groupBy=P(function(e,t,n){$(e,n)?e[n].push(t):e[n]=[t]}),v.indexBy=P(function(e,t,n){e[n]=t}),v.countBy=P(function(e,t,n){$(e,n)?e[n]++:e[n]=1});var O=/[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g;v.toArray=function(e){return e?v.isArray(e)?u.call(e):v.isString(e)?e.match(O):T(e)?v.map(e,v.identity):v.values(e):[]},v.size=function(e){return null==e?0:T(e)?e.length:v.keys(e).length},v.partition=P(function(e,t,n){e[n?0:1].push(t)},!0),v.first=v.head=v.take=function(e,t,n){return null==e||e.length<1?null==t?void 0:[]:null==t||n?e[0]:v.initial(e,e.length-t)},v.initial=function(e,t,n){return u.call(e,0,Math.max(0,e.length-(null==t||n?1:t)))},v.last=function(e,t,n){return null==e||e.length<1?null==t?void 0:[]:null==t||n?e[e.length-1]:v.rest(e,Math.max(0,e.length-t))},v.rest=v.tail=v.drop=function(e,t,n){return u.call(e,null==t||n?1:t)},v.compact=function(e){return v.filter(e,Boolean)};var R=function(e,t,n,r){for(var i=(r=r||[]).length,o=0,a=C(e);o<a;o++){var s=e[o];if(T(s)&&(v.isArray(s)||v.isArguments(s)))if(t)for(var l=0,c=s.length;l<c;)r[i++]=s[l++];else R(s,t,n,r),i=r.length;else n||(r[i++]=s)}return r};v.flatten=function(e,t){return R(e,t,!1)},v.without=w(function(e,t){return v.difference(e,t)}),v.uniq=v.unique=function(e,t,n,r){v.isBoolean(t)||(r=n,n=t,t=!1),null!=n&&(n=x(n,r));for(var i=[],o=[],a=0,s=C(e);a<s;a++){var l=e[a],c=n?n(l,a,e):l;t&&!n?(a&&o===c||i.push(l),o=c):n?v.contains(o,c)||(o.push(c),i.push(l)):v.contains(i,l)||i.push(l)}return i},v.union=w(function(e){return v.uniq(R(e,!0,!0))}),v.intersection=function(e){for(var t=[],n=arguments.length,r=0,i=C(e);r<i;r++){var o=e[r];if(!v.contains(t,o)){var a;for(a=1;a<n&&v.contains(arguments[a],o);a++);a===n&&t.push(o)}}return t},v.difference=w(function(e,t){return t=R(t,!0,!0),v.filter(e,function(e){return!v.contains(t,e)})}),v.unzip=function(e){for(var t=e&&v.max(e,C).length||0,n=Array(t),r=0;r<t;r++)n[r]=v.pluck(e,r);return n},v.zip=w(v.unzip),v.object=function(e,t){for(var n={},r=0,i=C(e);r<i;r++)t?n[e[r]]=t[r]:n[e[r][0]]=e[r][1];return n};var j=function(e){return function(t,n,r){n=x(n,r);for(var i=C(t),o=e>0?0:i-1;o>=0&&o<i;o+=e)if(n(t[o],o,t))return o;return-1}};v.findIndex=j(1),v.findLastIndex=j(-1),v.sortedIndex=function(e,t,n,r){for(var i=(n=x(n,r,1))(t),o=0,a=C(e);o<a;){var s=Math.floor((o+a)/2);n(e[s])<i?o=s+1:a=s}return o};var D=function(e,t,n){return function(r,i,o){var a=0,s=C(r);if("number"==typeof o)e>0?a=o>=0?o:Math.max(o+s,a):s=o>=0?Math.min(o+1,s):o+s+1;else if(n&&o&&s)return r[o=n(r,i)]===i?o:-1;if(i!=i)return(o=t(u.call(r,a,s),v.isNaN))>=0?o+a:-1;for(o=e>0?a:s-1;o>=0&&o<s;o+=e)if(r[o]===i)return o;return-1}};v.indexOf=D(1,v.findIndex,v.sortedIndex),v.lastIndexOf=D(-1,v.findLastIndex),v.range=function(e,t,n){null==t&&(t=e||0,e=0),n||(n=t<e?-1:1);for(var r=Math.max(Math.ceil((t-e)/n),0),i=Array(r),o=0;o<r;o++,e+=n)i[o]=e;return i},v.chunk=function(e,t){if(null==t||t<1)return[];for(var n=[],r=0,i=e.length;r<i;)n.push(u.call(e,r,r+=t));return n};var I=function(e,t,n,r,i){if(!(r instanceof t))return e.apply(n,i);var o=k(e.prototype),a=e.apply(o,i);return v.isObject(a)?a:o};v.bind=w(function(e,t,n){if(!v.isFunction(e))throw new TypeError("Bind must be called on a function");var r=w(function(i){return I(e,r,t,this,n.concat(i))});return r}),v.partial=w(function(e,t){var n=v.partial.placeholder,r=function(){for(var i=0,o=t.length,a=Array(o),s=0;s<o;s++)a[s]=t[s]===n?arguments[i++]:t[s];for(;i<arguments.length;)a.push(arguments[i++]);return I(e,r,this,this,a)};return r}),v.partial.placeholder=v,v.bindAll=w(function(e,t){var n=(t=R(t,!1,!1)).length;if(n<1)throw new Error("bindAll must be passed function names");for(;n--;){var r=t[n];e[r]=v.bind(e[r],e)}}),v.memoize=function(e,t){var n=function(r){var i=n.cache,o=""+(t?t.apply(this,arguments):r);return $(i,o)||(i[o]=e.apply(this,arguments)),i[o]};return n.cache={},n},v.delay=w(function(e,t,n){return setTimeout(function(){return e.apply(null,n)},t)}),v.defer=v.partial(v.delay,v,1),v.throttle=function(e,t,n){var r,i,o,a,s=0;n||(n={});var l=function(){s=!1===n.leading?0:v.now(),r=null,a=e.apply(i,o),r||(i=o=null)},c=function(){var c=v.now();s||!1!==n.leading||(s=c);var u=t-(c-s);return i=this,o=arguments,u<=0||u>t?(r&&(clearTimeout(r),r=null),s=c,a=e.apply(i,o),r||(i=o=null)):r||!1===n.trailing||(r=setTimeout(l,u)),a};return c.cancel=function(){clearTimeout(r),s=0,r=i=o=null},c},v.debounce=function(e,t,n){var r,i,o=function(t,n){r=null,n&&(i=e.apply(t,n))},a=w(function(a){if(r&&clearTimeout(r),n){var s=!r;r=setTimeout(o,t),s&&(i=e.apply(this,a))}else r=v.delay(o,t,this,a);return i});return a.cancel=function(){clearTimeout(r),r=null},a},v.wrap=function(e,t){return v.partial(t,e)},v.negate=function(e){return function(){return!e.apply(this,arguments)}},v.compose=function(){var e=arguments,t=e.length-1;return function(){for(var n=t,r=e[t].apply(this,arguments);n--;)r=e[n].call(this,r);return r}},v.after=function(e,t){return function(){if(--e<1)return t.apply(this,arguments)}},v.before=function(e,t){var n;return function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=null),n}},v.once=v.partial(v.before,2),v.restArguments=w;var N=!{toString:null}.propertyIsEnumerable("toString"),M=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],z=function(e,t){var n=M.length,r=e.constructor,i=v.isFunction(r)&&r.prototype||s,o="constructor";for($(e,o)&&!v.contains(t,o)&&t.push(o);n--;)(o=M[n])in e&&e[o]!==i[o]&&!v.contains(t,o)&&t.push(o)};v.keys=function(e){if(!v.isObject(e))return[];if(h)return h(e);var t=[];for(var n in e)$(e,n)&&t.push(n);return N&&z(e,t),t},v.allKeys=function(e){if(!v.isObject(e))return[];var t=[];for(var n in e)t.push(n);return N&&z(e,t),t},v.values=function(e){for(var t=v.keys(e),n=t.length,r=Array(n),i=0;i<n;i++)r[i]=e[t[i]];return r},v.mapObject=function(e,t,n){t=x(t,n);for(var r=v.keys(e),i=r.length,o={},a=0;a<i;a++){var s=r[a];o[s]=t(e[s],s,e)}return o},v.pairs=function(e){for(var t=v.keys(e),n=t.length,r=Array(n),i=0;i<n;i++)r[i]=[t[i],e[t[i]]];return r},v.invert=function(e){for(var t={},n=v.keys(e),r=0,i=n.length;r<i;r++)t[e[n[r]]]=n[r];return t},v.functions=v.methods=function(e){var t=[];for(var n in e)v.isFunction(e[n])&&t.push(n);return t.sort()};var L=function(e,t){return function(n){var r=arguments.length;if(t&&(n=Object(n)),r<2||null==n)return n;for(var i=1;i<r;i++)for(var o=arguments[i],a=e(o),s=a.length,l=0;l<s;l++){var c=a[l];t&&void 0!==n[c]||(n[c]=o[c])}return n}};v.extend=L(v.allKeys),v.extendOwn=v.assign=L(v.keys),v.findKey=function(e,t,n){t=x(t,n);for(var r,i=v.keys(e),o=0,a=i.length;o<a;o++)if(t(e[r=i[o]],r,e))return r};var q,B,V=function(e,t,n){return t in n};v.pick=w(function(e,t){var n={},r=t[0];if(null==e)return n;v.isFunction(r)?(t.length>1&&(r=y(r,t[1])),t=v.allKeys(e)):(r=V,t=R(t,!1,!1),e=Object(e));for(var i=0,o=t.length;i<o;i++){var a=t[i],s=e[a];r(s,a,e)&&(n[a]=s)}return n}),v.omit=w(function(e,t){var n,r=t[0];return v.isFunction(r)?(r=v.negate(r),t.length>1&&(n=t[1])):(t=v.map(R(t,!1,!1),String),r=function(e,n){return!v.contains(t,n)}),v.pick(e,r,n)}),v.defaults=L(v.allKeys,!0),v.create=function(e,t){var n=k(e);return t&&v.extendOwn(n,t),n},v.clone=function(e){return v.isObject(e)?v.isArray(e)?e.slice():v.extend({},e):e},v.tap=function(e,t){return t(e),e},v.isMatch=function(e,t){var n=v.keys(t),r=n.length;if(null==e)return!r;for(var i=Object(e),o=0;o<r;o++){var a=n[o];if(t[a]!==i[a]||!(a in i))return!1}return!0},q=function(e,t,n,r){if(e===t)return 0!==e||1/e==1/t;if(null==e||null==t)return!1;if(e!=e)return t!=t;var i=typeof e;return("function"===i||"object"===i||"object"==typeof t)&&B(e,t,n,r)},B=function(e,t,n,r){e instanceof v&&(e=e._wrapped),t instanceof v&&(t=t._wrapped);var i=d.call(e);if(i!==d.call(t))return!1;switch(i){case"[object RegExp]":case"[object String]":return""+e==""+t;case"[object Number]":return+e!=+e?+t!=+t:0==+e?1/+e==1/t:+e==+t;case"[object Date]":case"[object Boolean]":return+e==+t;case"[object Symbol]":return l.valueOf.call(e)===l.valueOf.call(t)}var o="[object Array]"===i;if(!o){if("object"!=typeof e||"object"!=typeof t)return!1;var a=e.constructor,s=t.constructor;if(a!==s&&!(v.isFunction(a)&&a instanceof a&&v.isFunction(s)&&s instanceof s)&&"constructor"in e&&"constructor"in t)return!1}n=n||[],r=r||[];for(var c=n.length;c--;)if(n[c]===e)return r[c]===t;if(n.push(e),r.push(t),o){if((c=e.length)!==t.length)return!1;for(;c--;)if(!q(e[c],t[c],n,r))return!1}else{var u,p=v.keys(e);if(c=p.length,v.keys(t).length!==c)return!1;for(;c--;)if(u=p[c],!$(t,u)||!q(e[u],t[u],n,r))return!1}return n.pop(),r.pop(),!0},v.isEqual=function(e,t){return q(e,t)},v.isEmpty=function(e){return null==e||(T(e)&&(v.isArray(e)||v.isString(e)||v.isArguments(e))?0===e.length:0===v.keys(e).length)},v.isElement=function(e){return!(!e||1!==e.nodeType)},v.isArray=f||function(e){return"[object Array]"===d.call(e)},v.isObject=function(e){var t=typeof e;return"function"===t||"object"===t&&!!e},v.each(["Arguments","Function","String","Number","Date","RegExp","Error","Symbol","Map","WeakMap","Set","WeakSet"],function(e){v["is"+e]=function(t){return d.call(t)==="[object "+e+"]"}}),v.isArguments(arguments)||(v.isArguments=function(e){return $(e,"callee")});var F=i.document&&i.document.childNodes;"function"!=typeof/./&&"object"!=typeof Int8Array&&"function"!=typeof F&&(v.isFunction=function(e){return"function"==typeof e||!1}),v.isFinite=function(e){return!v.isSymbol(e)&&isFinite(e)&&!isNaN(parseFloat(e))},v.isNaN=function(e){return v.isNumber(e)&&isNaN(e)},v.isBoolean=function(e){return!0===e||!1===e||"[object Boolean]"===d.call(e)},v.isNull=function(e){return null===e},v.isUndefined=function(e){return void 0===e},v.has=function(e,t){if(!v.isArray(t))return $(e,t);for(var n=t.length,r=0;r<n;r++){var i=t[r];if(null==e||!p.call(e,i))return!1;e=e[i]}return!!n},v.noConflict=function(){return i._=o,this},v.identity=function(e){return e},v.constant=function(e){return function(){return e}},v.noop=function(){},v.property=function(e){return v.isArray(e)?function(t){return E(t,e)}:_(e)},v.propertyOf=function(e){return null==e?function(){}:function(t){return v.isArray(t)?E(e,t):e[t]}},v.matcher=v.matches=function(e){return e=v.extendOwn({},e),function(t){return v.isMatch(t,e)}},v.times=function(e,t,n){var r=Array(Math.max(0,e));t=y(t,n,1);for(var i=0;i<e;i++)r[i]=t(i);return r},v.random=function(e,t){return null==t&&(t=e,e=0),e+Math.floor(Math.random()*(t-e+1))},v.now=Date.now||function(){return(new Date).getTime()};var U={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},H=v.invert(U),W=function(e){var t=function(t){return e[t]},n="(?:"+v.keys(e).join("|")+")",r=RegExp(n),i=RegExp(n,"g");return function(e){return e=null==e?"":""+e,r.test(e)?e.replace(i,t):e}};v.escape=W(U),v.unescape=W(H),v.result=function(e,t,n){v.isArray(t)||(t=[t]);var r=t.length;if(!r)return v.isFunction(n)?n.call(e):n;for(var i=0;i<r;i++){var o=null==e?void 0:e[t[i]];void 0===o&&(o=n,i=r),e=v.isFunction(o)?o.call(e):o}return e};var G=0;v.uniqueId=function(e){var t=++G+"";return e?e+t:t},v.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var X=/(.)^/,Y={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},Z=/\\|'|\r|\n|\u2028|\u2029/g,K=function(e){return"\\"+Y[e]};v.template=function(e,t,n){!t&&n&&(t=n),t=v.defaults({},t,v.templateSettings);var r,i=RegExp([(t.escape||X).source,(t.interpolate||X).source,(t.evaluate||X).source].join("|")+"|$","g"),o=0,a="__p+='";e.replace(i,function(t,n,r,i,s){return a+=e.slice(o,s).replace(Z,K),o=s+t.length,n?a+="'+\n((__t=("+n+"))==null?'':_.escape(__t))+\n'":r?a+="'+\n((__t=("+r+"))==null?'':__t)+\n'":i&&(a+="';\n"+i+"\n__p+='"),t}),a+="';\n",t.variable||(a="with(obj||{}){\n"+a+"}\n"),a="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+a+"return __p;\n";try{r=new Function(t.variable||"obj","_",a)}catch(e){throw e.source=a,e}var s=function(e){return r.call(this,e,v)},l=t.variable||"obj";return s.source="function("+l+"){\n"+a+"}",s},v.chain=function(e){var t=v(e);return t._chain=!0,t};var Q=function(e,t){return e._chain?v(t).chain():t};v.mixin=function(e){return v.each(v.functions(e),function(t){var n=v[t]=e[t];v.prototype[t]=function(){var e=[this._wrapped];return c.apply(e,arguments),Q(this,n.apply(v,e))}}),v},v.mixin(v),v.each(["pop","push","reverse","shift","sort","splice","unshift"],function(e){var t=a[e];v.prototype[e]=function(){var n=this._wrapped;return t.apply(n,arguments),"shift"!==e&&"splice"!==e||0!==n.length||delete n[0],Q(this,n)}}),v.each(["concat","join","slice"],function(e){var t=a[e];v.prototype[e]=function(){return Q(this,t.apply(this._wrapped,arguments))}}),v.prototype.value=function(){return this._wrapped},v.prototype.valueOf=v.prototype.toJSON=v.prototype.value,v.prototype.toString=function(){return String(this._wrapped)},void 0===(r=function(){return v}.apply(t,[]))||(n.exports=r)}()}).call(this,n(14),n(32)(e))},function(e,t,n){var r;try{r=n(154)}catch(e){}r||(r=window._),e.exports=r},function(e,t,n){"use strict";function r(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),r(n(0)),r(n(5)),r(n(39)),r(n(3)),r(n(1)),r(n(38)),r(n(12)),r(n(13))},function(e,t,n){var r;try{r=n(49)}catch(e){}r||(r=window.graphlib),e.exports=r},function(e,t,n){var r;
+    <script type="text/javascript">!function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=226)}([function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),i=n(3),o=n(6);t.root="object"==typeof self&&self.self===self&&self||"object"==typeof e&&e.global===e&&e||this;var a=t.root.angular||{};function s(e,t){return-1!==e.indexOf(t)}function l(e,t){var n=e.indexOf(t);return n>=0&&e.splice(n,1),e}function c(e,t){return e.push(t),t}function u(e,t){var n={};for(var r in e)-1!==t.indexOf(r)&&(n[r]=e[r]);return n}function d(e,n,i){return i=i||(r.isArray(e)?[]:{}),t.forEach(e,function(e,t){return i[t]=n(e,t)}),i}function p(e,t){return e.push(t),e}function f(e,t){return void 0===t&&(t="assert failure"),function(n){var i=e(n);if(!i)throw new Error(r.isFunction(t)?t(n):t);return i}}function h(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(0===e.length)return[];for(var n=e.reduce(function(e,t){return Math.min(t.length,e)},9007199254740991),r=[],i=function(t){switch(e.length){case 1:r.push([e[0][t]]);break;case 2:r.push([e[0][t],e[1][t]]);break;case 3:r.push([e[0][t],e[1][t],e[2][t]]);break;case 4:r.push([e[0][t],e[1][t],e[2][t],e[3][t]]);break;default:r.push(e.map(function(e){return e[t]}))}},o=0;o<n;o++)i(o);return r}function g(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];if(n)for(var r=Object.keys(n),i=0;i<r.length;i++)e[r[i]]=n[r[i]]}return e}function m(e,t){if(e===t)return!0;if(null===e||null===t)return!1;if(e!=e&&t!=t)return!0;var n=typeof e;if(n!==typeof t||"object"!==n)return!1;var o=[e,t];if(i.all(r.isArray)(o))return function(e,t){return e.length===t.length&&h(e,t).reduce(function(e,t){return e&&m(t[0],t[1])},!0)}(e,t);if(i.all(r.isDate)(o))return e.getTime()===t.getTime();if(i.all(r.isRegExp)(o))return e.toString()===t.toString();if(i.all(r.isFunction)(o))return!0;if([r.isFunction,r.isArray,r.isDate,r.isRegExp].map(i.any).reduce(function(e,t){return e||!!t(o)},!1))return!1;var a={};for(var s in e){if(!m(e[s],t[s]))return!1;a[s]=!0}for(var s in t)if(!a[s])return!1;return!0}t.fromJson=a.fromJson||JSON.parse.bind(JSON),t.toJson=a.toJson||JSON.stringify.bind(JSON),t.forEach=a.forEach||function(e,t,n){if(r.isArray(e))return e.forEach(t,n);Object.keys(e).forEach(function(n){return t(e[n],n)})},t.extend=Object.assign||g,t.equals=a.equals||m,t.identity=function(e){return e},t.noop=function(){},t.createProxyFunctions=function(e,t,n,r,i){void 0===i&&(i=!1);var o=function(t){return e()[t].bind(n())};return(r=r||Object.keys(e())).reduce(function(e,n){return e[n]=i?function(e){return function(){return t[e]=o(e),t[e].apply(null,arguments)}}(n):o(n),e},t)},t.inherit=function(e,n){return t.extend(Object.create(e),n)},t.inArray=i.curry(s),t._inArray=s,t.removeFrom=i.curry(l),t._removeFrom=l,t.pushTo=i.curry(c),t._pushTo=c,t.deregAll=function(e){return e.slice().forEach(function(n){"function"==typeof n&&n(),t.removeFrom(e,n)})},t.defaults=function(e){for(var n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];var i=n.concat({}).reverse(),o=t.extend.apply(null,i);return t.extend({},o,u(e||{},Object.keys(o)))},t.mergeR=function(e,n){return t.extend(e,n)},t.ancestors=function(e,t){var n=[];for(var r in e.path){if(e.path[r]!==t.path[r])break;n.push(e.path[r])}return n},t.pick=u,t.omit=function(e,n){return Object.keys(e).filter(i.not(t.inArray(n))).reduce(function(t,n){return t[n]=e[n],t},{})},t.pluck=function(e,t){return d(e,i.prop(t))},t.filter=function(e,n){var i=r.isArray(e),o=i?[]:{},a=i?function(e){return o.push(e)}:function(e,t){return o[t]=e};return t.forEach(e,function(e,t){n(e,t)&&a(e,t)}),o},t.find=function(e,n){var r;return t.forEach(e,function(e,t){r||n(e,t)&&(r=e)}),r},t.mapObj=d,t.map=d,t.values=function(e){return Object.keys(e).map(function(t){return e[t]})},t.allTrueR=function(e,t){return e&&t},t.anyTrueR=function(e,t){return e||t},t.unnestR=function(e,t){return e.concat(t)},t.flattenR=function(e,n){return r.isArray(n)?e.concat(n.reduce(t.flattenR,[])):p(e,n)},t.pushR=p,t.uniqR=function(e,n){return t.inArray(e,n)?e:p(e,n)},t.unnest=function(e){return e.reduce(t.unnestR,[])},t.flatten=function(e){return e.reduce(t.flattenR,[])},t.assertPredicate=f,t.assertMap=f,t.assertFn=f,t.pairs=function(e){return Object.keys(e).map(function(t){return[t,e[t]]})},t.arrayTuples=h,t.applyPairs=function(e,t){var n,i;if(r.isArray(t)&&(n=t[0],i=t[1]),!r.isString(n))throw new Error("invalid parameters to applyPairs");return e[n]=i,e},t.tail=function(e){return e.length&&e[e.length-1]||void 0},t.copy=function(e,n){return n&&Object.keys(n).forEach(function(e){return delete n[e]}),n||(n={}),t.extend(n,e)},t._extend=g,t.silenceUncaughtInPromise=function(e){return e.catch(function(e){return 0})&&e},t.silentRejection=function(e){return t.silenceUncaughtInPromise(o.services.$q.reject(e))}}).call(this,n(15))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(3),i=n(40),o=Object.prototype.toString,a=function(e){return function(t){return typeof t===e}};t.isUndefined=a("undefined"),t.isDefined=r.not(t.isUndefined),t.isNull=function(e){return null===e},t.isNullOrUndefined=r.or(t.isNull,t.isUndefined),t.isFunction=a("function"),t.isNumber=a("number"),t.isString=a("string"),t.isObject=function(e){return null!==e&&"object"==typeof e},t.isArray=Array.isArray,t.isDate=function(e){return"[object Date]"===o.call(e)},t.isRegExp=function(e){return"[object RegExp]"===o.call(e)},t.isState=i.StateObject.isState,t.isInjectable=function(e){if(t.isArray(e)&&e.length){var n=e.slice(0,-1),i=e.slice(-1);return!(n.filter(r.not(t.isString)).length||i.filter(r.not(t.isFunction)).length)}return t.isFunction(e)},t.isPromise=r.and(t.isObject,r.pipe(r.prop("then"),t.isFunction))},function(e,t,n){var r;try{r=n(153)}catch(e){}r||(r=window._),e.exports=r},function(e,t,n){"use strict";function r(e){var t=[].slice.apply(arguments,[1]),n=e.length;return function t(r){return r.length>=n?e.apply(null,r):function(){return t(r.concat([].slice.apply(arguments)))}}(t)}function i(){var e=arguments,t=e.length-1;return function(){for(var n=t,r=e[t].apply(this,arguments);n--;)r=e[n].call(this,r);return r}}function o(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return i.apply(null,[].slice.call(arguments).reverse())}Object.defineProperty(t,"__esModule",{value:!0}),t.curry=r,t.compose=i,t.pipe=o,t.prop=function(e){return function(t){return t&&t[e]}},t.propEq=r(function(e,t,n){return n&&n[e]===t}),t.parse=function(e){return o.apply(null,e.split(".").map(t.prop))},t.not=function(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return!e.apply(null,t)}},t.and=function(e,t){return function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return e.apply(null,n)&&t.apply(null,n)}},t.or=function(e,t){return function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return e.apply(null,n)||t.apply(null,n)}},t.all=function(e){return function(t){return t.reduce(function(t,n){return t&&!!e(n)},!0)}},t.any=function(e){return function(t){return t.reduce(function(t,n){return t||!!e(n)},!1)}},t.is=function(e){return function(t){return null!=t&&t.constructor===e||t instanceof e}},t.eq=function(e){return function(t){return e===t}},t.val=function(e){return function(){return e}},t.invoke=function(e,t){return function(n){return n[e].apply(n,t)}},t.pattern=function(e){return function(t){for(var n=0;n<e.length;n++)if(e[n][0](t))return e[n][1](t)}}},function(e,t,n){n(225),e.exports=angular},function(e,t,n){(function(e,n){var r;!function(){var i="object"==typeof self&&self.self===self&&self||"object"==typeof e&&e.global===e&&e||this||{},o=i._,a=Array.prototype,s=Object.prototype,l="undefined"!=typeof Symbol?Symbol.prototype:null,c=a.push,u=a.slice,d=s.toString,p=s.hasOwnProperty,f=Array.isArray,h=Object.keys,g=Object.create,m=function(){},v=function(e){return e instanceof v?e:this instanceof v?void(this._wrapped=e):new v(e)};void 0===t||t.nodeType?i._=v:(void 0!==n&&!n.nodeType&&n.exports&&(t=n.exports=v),t._=v),v.VERSION="1.9.1";var b,y=function(e,t,n){if(void 0===t)return e;switch(null==n?3:n){case 1:return function(n){return e.call(t,n)};case 3:return function(n,r,i){return e.call(t,n,r,i)};case 4:return function(n,r,i,o){return e.call(t,n,r,i,o)}}return function(){return e.apply(t,arguments)}},x=function(e,t,n){return v.iteratee!==b?v.iteratee(e,t):null==e?v.identity:v.isFunction(e)?y(e,t,n):v.isObject(e)&&!v.isArray(e)?v.matcher(e):v.property(e)};v.iteratee=b=function(e,t){return x(e,t,1/0)};var w=function(e,t){return t=null==t?e.length-1:+t,function(){for(var n=Math.max(arguments.length-t,0),r=Array(n),i=0;i<n;i++)r[i]=arguments[i+t];switch(t){case 0:return e.call(this,r);case 1:return e.call(this,arguments[0],r);case 2:return e.call(this,arguments[0],arguments[1],r)}var o=Array(t+1);for(i=0;i<t;i++)o[i]=arguments[i];return o[t]=r,e.apply(this,o)}},k=function(e){if(!v.isObject(e))return{};if(g)return g(e);m.prototype=e;var t=new m;return m.prototype=null,t},_=function(e){return function(t){return null==t?void 0:t[e]}},$=function(e,t){return null!=e&&p.call(e,t)},E=function(e,t){for(var n=t.length,r=0;r<n;r++){if(null==e)return;e=e[t[r]]}return n?e:void 0},S=Math.pow(2,53)-1,C=_("length"),T=function(e){var t=C(e);return"number"==typeof t&&t>=0&&t<=S};v.each=v.forEach=function(e,t,n){var r,i;if(t=y(t,n),T(e))for(r=0,i=e.length;r<i;r++)t(e[r],r,e);else{var o=v.keys(e);for(r=0,i=o.length;r<i;r++)t(e[o[r]],o[r],e)}return e},v.map=v.collect=function(e,t,n){t=x(t,n);for(var r=!T(e)&&v.keys(e),i=(r||e).length,o=Array(i),a=0;a<i;a++){var s=r?r[a]:a;o[a]=t(e[s],s,e)}return o};var A=function(e){return function(t,n,r,i){var o=arguments.length>=3;return function(t,n,r,i){var o=!T(t)&&v.keys(t),a=(o||t).length,s=e>0?0:a-1;for(i||(r=t[o?o[s]:s],s+=e);s>=0&&s<a;s+=e){var l=o?o[s]:s;r=n(r,t[l],l,t)}return r}(t,y(n,i,4),r,o)}};v.reduce=v.foldl=v.inject=A(1),v.reduceRight=v.foldr=A(-1),v.find=v.detect=function(e,t,n){var r=(T(e)?v.findIndex:v.findKey)(e,t,n);if(void 0!==r&&-1!==r)return e[r]},v.filter=v.select=function(e,t,n){var r=[];return t=x(t,n),v.each(e,function(e,n,i){t(e,n,i)&&r.push(e)}),r},v.reject=function(e,t,n){return v.filter(e,v.negate(x(t)),n)},v.every=v.all=function(e,t,n){t=x(t,n);for(var r=!T(e)&&v.keys(e),i=(r||e).length,o=0;o<i;o++){var a=r?r[o]:o;if(!t(e[a],a,e))return!1}return!0},v.some=v.any=function(e,t,n){t=x(t,n);for(var r=!T(e)&&v.keys(e),i=(r||e).length,o=0;o<i;o++){var a=r?r[o]:o;if(t(e[a],a,e))return!0}return!1},v.contains=v.includes=v.include=function(e,t,n,r){return T(e)||(e=v.values(e)),("number"!=typeof n||r)&&(n=0),v.indexOf(e,t,n)>=0},v.invoke=w(function(e,t,n){var r,i;return v.isFunction(t)?i=t:v.isArray(t)&&(r=t.slice(0,-1),t=t[t.length-1]),v.map(e,function(e){var o=i;if(!o){if(r&&r.length&&(e=E(e,r)),null==e)return;o=e[t]}return null==o?o:o.apply(e,n)})}),v.pluck=function(e,t){return v.map(e,v.property(t))},v.where=function(e,t){return v.filter(e,v.matcher(t))},v.findWhere=function(e,t){return v.find(e,v.matcher(t))},v.max=function(e,t,n){var r,i,o=-1/0,a=-1/0;if(null==t||"number"==typeof t&&"object"!=typeof e[0]&&null!=e)for(var s=0,l=(e=T(e)?e:v.values(e)).length;s<l;s++)null!=(r=e[s])&&r>o&&(o=r);else t=x(t,n),v.each(e,function(e,n,r){((i=t(e,n,r))>a||i===-1/0&&o===-1/0)&&(o=e,a=i)});return o},v.min=function(e,t,n){var r,i,o=1/0,a=1/0;if(null==t||"number"==typeof t&&"object"!=typeof e[0]&&null!=e)for(var s=0,l=(e=T(e)?e:v.values(e)).length;s<l;s++)null!=(r=e[s])&&r<o&&(o=r);else t=x(t,n),v.each(e,function(e,n,r){((i=t(e,n,r))<a||i===1/0&&o===1/0)&&(o=e,a=i)});return o},v.shuffle=function(e){return v.sample(e,1/0)},v.sample=function(e,t,n){if(null==t||n)return T(e)||(e=v.values(e)),e[v.random(e.length-1)];var r=T(e)?v.clone(e):v.values(e),i=C(r);t=Math.max(Math.min(t,i),0);for(var o=i-1,a=0;a<t;a++){var s=v.random(a,o),l=r[a];r[a]=r[s],r[s]=l}return r.slice(0,t)},v.sortBy=function(e,t,n){var r=0;return t=x(t,n),v.pluck(v.map(e,function(e,n,i){return{value:e,index:r++,criteria:t(e,n,i)}}).sort(function(e,t){var n=e.criteria,r=t.criteria;if(n!==r){if(n>r||void 0===n)return 1;if(n<r||void 0===r)return-1}return e.index-t.index}),"value")};var O=function(e,t){return function(n,r,i){var o=t?[[],[]]:{};return r=x(r,i),v.each(n,function(t,i){var a=r(t,i,n);e(o,t,a)}),o}};v.groupBy=O(function(e,t,n){$(e,n)?e[n].push(t):e[n]=[t]}),v.indexBy=O(function(e,t,n){e[n]=t}),v.countBy=O(function(e,t,n){$(e,n)?e[n]++:e[n]=1});var P=/[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g;v.toArray=function(e){return e?v.isArray(e)?u.call(e):v.isString(e)?e.match(P):T(e)?v.map(e,v.identity):v.values(e):[]},v.size=function(e){return null==e?0:T(e)?e.length:v.keys(e).length},v.partition=O(function(e,t,n){e[n?0:1].push(t)},!0),v.first=v.head=v.take=function(e,t,n){return null==e||e.length<1?null==t?void 0:[]:null==t||n?e[0]:v.initial(e,e.length-t)},v.initial=function(e,t,n){return u.call(e,0,Math.max(0,e.length-(null==t||n?1:t)))},v.last=function(e,t,n){return null==e||e.length<1?null==t?void 0:[]:null==t||n?e[e.length-1]:v.rest(e,Math.max(0,e.length-t))},v.rest=v.tail=v.drop=function(e,t,n){return u.call(e,null==t||n?1:t)},v.compact=function(e){return v.filter(e,Boolean)};var R=function(e,t,n,r){for(var i=(r=r||[]).length,o=0,a=C(e);o<a;o++){var s=e[o];if(T(s)&&(v.isArray(s)||v.isArguments(s)))if(t)for(var l=0,c=s.length;l<c;)r[i++]=s[l++];else R(s,t,n,r),i=r.length;else n||(r[i++]=s)}return r};v.flatten=function(e,t){return R(e,t,!1)},v.without=w(function(e,t){return v.difference(e,t)}),v.uniq=v.unique=function(e,t,n,r){v.isBoolean(t)||(r=n,n=t,t=!1),null!=n&&(n=x(n,r));for(var i=[],o=[],a=0,s=C(e);a<s;a++){var l=e[a],c=n?n(l,a,e):l;t&&!n?(a&&o===c||i.push(l),o=c):n?v.contains(o,c)||(o.push(c),i.push(l)):v.contains(i,l)||i.push(l)}return i},v.union=w(function(e){return v.uniq(R(e,!0,!0))}),v.intersection=function(e){for(var t=[],n=arguments.length,r=0,i=C(e);r<i;r++){var o=e[r];if(!v.contains(t,o)){var a;for(a=1;a<n&&v.contains(arguments[a],o);a++);a===n&&t.push(o)}}return t},v.difference=w(function(e,t){return t=R(t,!0,!0),v.filter(e,function(e){return!v.contains(t,e)})}),v.unzip=function(e){for(var t=e&&v.max(e,C).length||0,n=Array(t),r=0;r<t;r++)n[r]=v.pluck(e,r);return n},v.zip=w(v.unzip),v.object=function(e,t){for(var n={},r=0,i=C(e);r<i;r++)t?n[e[r]]=t[r]:n[e[r][0]]=e[r][1];return n};var j=function(e){return function(t,n,r){n=x(n,r);for(var i=C(t),o=e>0?0:i-1;o>=0&&o<i;o+=e)if(n(t[o],o,t))return o;return-1}};v.findIndex=j(1),v.findLastIndex=j(-1),v.sortedIndex=function(e,t,n,r){for(var i=(n=x(n,r,1))(t),o=0,a=C(e);o<a;){var s=Math.floor((o+a)/2);n(e[s])<i?o=s+1:a=s}return o};var D=function(e,t,n){return function(r,i,o){var a=0,s=C(r);if("number"==typeof o)e>0?a=o>=0?o:Math.max(o+s,a):s=o>=0?Math.min(o+1,s):o+s+1;else if(n&&o&&s)return r[o=n(r,i)]===i?o:-1;if(i!=i)return(o=t(u.call(r,a,s),v.isNaN))>=0?o+a:-1;for(o=e>0?a:s-1;o>=0&&o<s;o+=e)if(r[o]===i)return o;return-1}};v.indexOf=D(1,v.findIndex,v.sortedIndex),v.lastIndexOf=D(-1,v.findLastIndex),v.range=function(e,t,n){null==t&&(t=e||0,e=0),n||(n=t<e?-1:1);for(var r=Math.max(Math.ceil((t-e)/n),0),i=Array(r),o=0;o<r;o++,e+=n)i[o]=e;return i},v.chunk=function(e,t){if(null==t||t<1)return[];for(var n=[],r=0,i=e.length;r<i;)n.push(u.call(e,r,r+=t));return n};var N=function(e,t,n,r,i){if(!(r instanceof t))return e.apply(n,i);var o=k(e.prototype),a=e.apply(o,i);return v.isObject(a)?a:o};v.bind=w(function(e,t,n){if(!v.isFunction(e))throw new TypeError("Bind must be called on a function");var r=w(function(i){return N(e,r,t,this,n.concat(i))});return r}),v.partial=w(function(e,t){var n=v.partial.placeholder,r=function(){for(var i=0,o=t.length,a=Array(o),s=0;s<o;s++)a[s]=t[s]===n?arguments[i++]:t[s];for(;i<arguments.length;)a.push(arguments[i++]);return N(e,r,this,this,a)};return r}),v.partial.placeholder=v,v.bindAll=w(function(e,t){var n=(t=R(t,!1,!1)).length;if(n<1)throw new Error("bindAll must be passed function names");for(;n--;){var r=t[n];e[r]=v.bind(e[r],e)}}),v.memoize=function(e,t){var n=function(r){var i=n.cache,o=""+(t?t.apply(this,arguments):r);return $(i,o)||(i[o]=e.apply(this,arguments)),i[o]};return n.cache={},n},v.delay=w(function(e,t,n){return setTimeout(function(){return e.apply(null,n)},t)}),v.defer=v.partial(v.delay,v,1),v.throttle=function(e,t,n){var r,i,o,a,s=0;n||(n={});var l=function(){s=!1===n.leading?0:v.now(),r=null,a=e.apply(i,o),r||(i=o=null)},c=function(){var c=v.now();s||!1!==n.leading||(s=c);var u=t-(c-s);return i=this,o=arguments,u<=0||u>t?(r&&(clearTimeout(r),r=null),s=c,a=e.apply(i,o),r||(i=o=null)):r||!1===n.trailing||(r=setTimeout(l,u)),a};return c.cancel=function(){clearTimeout(r),s=0,r=i=o=null},c},v.debounce=function(e,t,n){var r,i,o=function(t,n){r=null,n&&(i=e.apply(t,n))},a=w(function(a){if(r&&clearTimeout(r),n){var s=!r;r=setTimeout(o,t),s&&(i=e.apply(this,a))}else r=v.delay(o,t,this,a);return i});return a.cancel=function(){clearTimeout(r),r=null},a},v.wrap=function(e,t){return v.partial(t,e)},v.negate=function(e){return function(){return!e.apply(this,arguments)}},v.compose=function(){var e=arguments,t=e.length-1;return function(){for(var n=t,r=e[t].apply(this,arguments);n--;)r=e[n].call(this,r);return r}},v.after=function(e,t){return function(){if(--e<1)return t.apply(this,arguments)}},v.before=function(e,t){var n;return function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=null),n}},v.once=v.partial(v.before,2),v.restArguments=w;var I=!{toString:null}.propertyIsEnumerable("toString"),M=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],z=function(e,t){var n=M.length,r=e.constructor,i=v.isFunction(r)&&r.prototype||s,o="constructor";for($(e,o)&&!v.contains(t,o)&&t.push(o);n--;)(o=M[n])in e&&e[o]!==i[o]&&!v.contains(t,o)&&t.push(o)};v.keys=function(e){if(!v.isObject(e))return[];if(h)return h(e);var t=[];for(var n in e)$(e,n)&&t.push(n);return I&&z(e,t),t},v.allKeys=function(e){if(!v.isObject(e))return[];var t=[];for(var n in e)t.push(n);return I&&z(e,t),t},v.values=function(e){for(var t=v.keys(e),n=t.length,r=Array(n),i=0;i<n;i++)r[i]=e[t[i]];return r},v.mapObject=function(e,t,n){t=x(t,n);for(var r=v.keys(e),i=r.length,o={},a=0;a<i;a++){var s=r[a];o[s]=t(e[s],s,e)}return o},v.pairs=function(e){for(var t=v.keys(e),n=t.length,r=Array(n),i=0;i<n;i++)r[i]=[t[i],e[t[i]]];return r},v.invert=function(e){for(var t={},n=v.keys(e),r=0,i=n.length;r<i;r++)t[e[n[r]]]=n[r];return t},v.functions=v.methods=function(e){var t=[];for(var n in e)v.isFunction(e[n])&&t.push(n);return t.sort()};var L=function(e,t){return function(n){var r=arguments.length;if(t&&(n=Object(n)),r<2||null==n)return n;for(var i=1;i<r;i++)for(var o=arguments[i],a=e(o),s=a.length,l=0;l<s;l++){var c=a[l];t&&void 0!==n[c]||(n[c]=o[c])}return n}};v.extend=L(v.allKeys),v.extendOwn=v.assign=L(v.keys),v.findKey=function(e,t,n){t=x(t,n);for(var r,i=v.keys(e),o=0,a=i.length;o<a;o++)if(t(e[r=i[o]],r,e))return r};var q,B,V=function(e,t,n){return t in n};v.pick=w(function(e,t){var n={},r=t[0];if(null==e)return n;v.isFunction(r)?(t.length>1&&(r=y(r,t[1])),t=v.allKeys(e)):(r=V,t=R(t,!1,!1),e=Object(e));for(var i=0,o=t.length;i<o;i++){var a=t[i],s=e[a];r(s,a,e)&&(n[a]=s)}return n}),v.omit=w(function(e,t){var n,r=t[0];return v.isFunction(r)?(r=v.negate(r),t.length>1&&(n=t[1])):(t=v.map(R(t,!1,!1),String),r=function(e,n){return!v.contains(t,n)}),v.pick(e,r,n)}),v.defaults=L(v.allKeys,!0),v.create=function(e,t){var n=k(e);return t&&v.extendOwn(n,t),n},v.clone=function(e){return v.isObject(e)?v.isArray(e)?e.slice():v.extend({},e):e},v.tap=function(e,t){return t(e),e},v.isMatch=function(e,t){var n=v.keys(t),r=n.length;if(null==e)return!r;for(var i=Object(e),o=0;o<r;o++){var a=n[o];if(t[a]!==i[a]||!(a in i))return!1}return!0},q=function(e,t,n,r){if(e===t)return 0!==e||1/e==1/t;if(null==e||null==t)return!1;if(e!=e)return t!=t;var i=typeof e;return("function"===i||"object"===i||"object"==typeof t)&&B(e,t,n,r)},B=function(e,t,n,r){e instanceof v&&(e=e._wrapped),t instanceof v&&(t=t._wrapped);var i=d.call(e);if(i!==d.call(t))return!1;switch(i){case"[object RegExp]":case"[object String]":return""+e==""+t;case"[object Number]":return+e!=+e?+t!=+t:0==+e?1/+e==1/t:+e==+t;case"[object Date]":case"[object Boolean]":return+e==+t;case"[object Symbol]":return l.valueOf.call(e)===l.valueOf.call(t)}var o="[object Array]"===i;if(!o){if("object"!=typeof e||"object"!=typeof t)return!1;var a=e.constructor,s=t.constructor;if(a!==s&&!(v.isFunction(a)&&a instanceof a&&v.isFunction(s)&&s instanceof s)&&"constructor"in e&&"constructor"in t)return!1}n=n||[],r=r||[];for(var c=n.length;c--;)if(n[c]===e)return r[c]===t;if(n.push(e),r.push(t),o){if((c=e.length)!==t.length)return!1;for(;c--;)if(!q(e[c],t[c],n,r))return!1}else{var u,p=v.keys(e);if(c=p.length,v.keys(t).length!==c)return!1;for(;c--;)if(u=p[c],!$(t,u)||!q(e[u],t[u],n,r))return!1}return n.pop(),r.pop(),!0},v.isEqual=function(e,t){return q(e,t)},v.isEmpty=function(e){return null==e||(T(e)&&(v.isArray(e)||v.isString(e)||v.isArguments(e))?0===e.length:0===v.keys(e).length)},v.isElement=function(e){return!(!e||1!==e.nodeType)},v.isArray=f||function(e){return"[object Array]"===d.call(e)},v.isObject=function(e){var t=typeof e;return"function"===t||"object"===t&&!!e},v.each(["Arguments","Function","String","Number","Date","RegExp","Error","Symbol","Map","WeakMap","Set","WeakSet"],function(e){v["is"+e]=function(t){return d.call(t)==="[object "+e+"]"}}),v.isArguments(arguments)||(v.isArguments=function(e){return $(e,"callee")});var F=i.document&&i.document.childNodes;"function"!=typeof/./&&"object"!=typeof Int8Array&&"function"!=typeof F&&(v.isFunction=function(e){return"function"==typeof e||!1}),v.isFinite=function(e){return!v.isSymbol(e)&&isFinite(e)&&!isNaN(parseFloat(e))},v.isNaN=function(e){return v.isNumber(e)&&isNaN(e)},v.isBoolean=function(e){return!0===e||!1===e||"[object Boolean]"===d.call(e)},v.isNull=function(e){return null===e},v.isUndefined=function(e){return void 0===e},v.has=function(e,t){if(!v.isArray(t))return $(e,t);for(var n=t.length,r=0;r<n;r++){var i=t[r];if(null==e||!p.call(e,i))return!1;e=e[i]}return!!n},v.noConflict=function(){return i._=o,this},v.identity=function(e){return e},v.constant=function(e){return function(){return e}},v.noop=function(){},v.property=function(e){return v.isArray(e)?function(t){return E(t,e)}:_(e)},v.propertyOf=function(e){return null==e?function(){}:function(t){return v.isArray(t)?E(e,t):e[t]}},v.matcher=v.matches=function(e){return e=v.extendOwn({},e),function(t){return v.isMatch(t,e)}},v.times=function(e,t,n){var r=Array(Math.max(0,e));t=y(t,n,1);for(var i=0;i<e;i++)r[i]=t(i);return r},v.random=function(e,t){return null==t&&(t=e,e=0),e+Math.floor(Math.random()*(t-e+1))},v.now=Date.now||function(){return(new Date).getTime()};var U={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},H=v.invert(U),W=function(e){var t=function(t){return e[t]},n="(?:"+v.keys(e).join("|")+")",r=RegExp(n),i=RegExp(n,"g");return function(e){return e=null==e?"":""+e,r.test(e)?e.replace(i,t):e}};v.escape=W(U),v.unescape=W(H),v.result=function(e,t,n){v.isArray(t)||(t=[t]);var r=t.length;if(!r)return v.isFunction(n)?n.call(e):n;for(var i=0;i<r;i++){var o=null==e?void 0:e[t[i]];void 0===o&&(o=n,i=r),e=v.isFunction(o)?o.call(e):o}return e};var G=0;v.uniqueId=function(e){var t=++G+"";return e?e+t:t},v.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var X=/(.)^/,Y={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},Z=/\\|'|\r|\n|\u2028|\u2029/g,K=function(e){return"\\"+Y[e]};v.template=function(e,t,n){!t&&n&&(t=n),t=v.defaults({},t,v.templateSettings);var r,i=RegExp([(t.escape||X).source,(t.interpolate||X).source,(t.evaluate||X).source].join("|")+"|$","g"),o=0,a="__p+='";e.replace(i,function(t,n,r,i,s){return a+=e.slice(o,s).replace(Z,K),o=s+t.length,n?a+="'+\n((__t=("+n+"))==null?'':_.escape(__t))+\n'":r?a+="'+\n((__t=("+r+"))==null?'':__t)+\n'":i&&(a+="';\n"+i+"\n__p+='"),t}),a+="';\n",t.variable||(a="with(obj||{}){\n"+a+"}\n"),a="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+a+"return __p;\n";try{r=new Function(t.variable||"obj","_",a)}catch(e){throw e.source=a,e}var s=function(e){return r.call(this,e,v)},l=t.variable||"obj";return s.source="function("+l+"){\n"+a+"}",s},v.chain=function(e){var t=v(e);return t._chain=!0,t};var Q=function(e,t){return e._chain?v(t).chain():t};v.mixin=function(e){return v.each(v.functions(e),function(t){var n=v[t]=e[t];v.prototype[t]=function(){var e=[this._wrapped];return c.apply(e,arguments),Q(this,n.apply(v,e))}}),v},v.mixin(v),v.each(["pop","push","reverse","shift","sort","splice","unshift"],function(e){var t=a[e];v.prototype[e]=function(){var n=this._wrapped;return t.apply(n,arguments),"shift"!==e&&"splice"!==e||0!==n.length||delete n[0],Q(this,n)}}),v.each(["concat","join","slice"],function(e){var t=a[e];v.prototype[e]=function(){return Q(this,t.apply(this._wrapped,arguments))}}),v.prototype.value=function(){return this._wrapped},v.prototype.valueOf=v.prototype.toJSON=v.prototype.value,v.prototype.toString=function(){return String(this._wrapped)},void 0===(r=function(){return v}.apply(t,[]))||(n.exports=r)}()}).call(this,n(15),n(32)(e))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.notImplemented=function(e){return function(){throw new Error(e+"(): No coreservices implementation for UI-Router is loaded.")}};var r={$q:void 0,$injector:void 0};t.services=r},function(e,t,n){"use strict";var r=n(2),i=n(11).Graph;function o(e,t,n,i){var o;do{o=r.uniqueId(i)}while(e.hasNode(o));return n.dummy=t,e.setNode(o,n),o}function a(e){return r.max(r.map(e.nodes(),function(t){var n=e.node(t).rank;if(!r.isUndefined(n))return n}))}e.exports={addDummyNode:o,simplify:function(e){var t=(new i).setGraph(e.graph());return r.each(e.nodes(),function(n){t.setNode(n,e.node(n))}),r.each(e.edges(),function(n){var r=t.edge(n.v,n.w)||{weight:0,minlen:1},i=e.edge(n);t.setEdge(n.v,n.w,{weight:r.weight+i.weight,minlen:Math.max(r.minlen,i.minlen)})}),t},asNonCompoundGraph:function(e){var t=new i({multigraph:e.isMultigraph()}).setGraph(e.graph());return r.each(e.nodes(),function(n){e.children(n).length||t.setNode(n,e.node(n))}),r.each(e.edges(),function(n){t.setEdge(n,e.edge(n))}),t},successorWeights:function(e){var t=r.map(e.nodes(),function(t){var n={};return r.each(e.outEdges(t),function(t){n[t.w]=(n[t.w]||0)+e.edge(t).weight}),n});return r.zipObject(e.nodes(),t)},predecessorWeights:function(e){var t=r.map(e.nodes(),function(t){var n={};return r.each(e.inEdges(t),function(t){n[t.v]=(n[t.v]||0)+e.edge(t).weight}),n});return r.zipObject(e.nodes(),t)},intersectRect:function(e,t){var n,r,i=e.x,o=e.y,a=t.x-i,s=t.y-o,l=e.width/2,c=e.height/2;if(!a&&!s)throw new Error("Not possible to find intersection inside of the rectangle");Math.abs(s)*l>Math.abs(a)*c?(s<0&&(c=-c),n=c*a/s,r=c):(a<0&&(l=-l),n=l,r=l*s/a);return{x:i+n,y:o+r}},buildLayerMatrix:function(e){var t=r.map(r.range(a(e)+1),function(){return[]});return r.each(e.nodes(),function(n){var i=e.node(n),o=i.rank;r.isUndefined(o)||(t[o][i.order]=n)}),t},normalizeRanks:function(e){var t=r.min(r.map(e.nodes(),function(t){return e.node(t).rank}));r.each(e.nodes(),function(n){var i=e.node(n);r.has(i,"rank")&&(i.rank-=t)})},removeEmptyRanks:function(e){var t=r.min(r.map(e.nodes(),function(t){return e.node(t).rank})),n=[];r.each(e.nodes(),function(r){var i=e.node(r).rank-t;n[i]||(n[i]=[]),n[i].push(r)});var i=0,o=e.graph().nodeRankFactor;r.each(n,function(t,n){r.isUndefined(t)&&n%o!=0?--i:i&&r.each(t,function(t){e.node(t).rank+=i})})},addBorderNode:function(e,t,n,r){var i={width:0,height:0};arguments.length>=4&&(i.rank=n,i.order=r);return o(e,"border",i,t)},maxRank:a,partition:function(e,t){var n={lhs:[],rhs:[]};return r.each(e,function(e){t(e)?n.lhs.push(e):n.rhs.push(e)}),n},time:function(e,t){var n=r.now();try{return t()}finally{console.log(e+" time: "+(r.now()-n)+"ms")}},notime:function(e,t){return t()}}},function(e,t,n){var r;
 /*!
  * jQuery JavaScript Library v3.3.1
  * https://jquery.com/
@@ -62,14 +62,14 @@
  *
  * Date: 2016-08-08
  */
-function(e){var t,n,r,i,o,a,s,l,c,u,d,p,f,h,g,m,v,b,y,x="sizzle"+1*new Date,w=e.document,k=0,_=0,$=ae(),E=ae(),S=ae(),C=function(e,t){return e===t&&(d=!0),0},T={}.hasOwnProperty,A=[],P=A.pop,O=A.push,R=A.push,j=A.slice,D=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},I="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",N="[\\x20\\t\\r\\n\\f]",M="(?:\\\\.|[\\w-]|[^\0-\\xa0])+",z="\\["+N+"*("+M+")(?:"+N+"*([*^$|!~]?=)"+N+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+M+"))|)"+N+"*\\]",L=":("+M+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+z+")*)|.*)\\)|)",q=new RegExp(N+"+","g"),B=new RegExp("^"+N+"+|((?:^|[^\\\\])(?:\\\\.)*)"+N+"+$","g"),V=new RegExp("^"+N+"*,"+N+"*"),F=new RegExp("^"+N+"*([>+~]|"+N+")"+N+"*"),U=new RegExp("="+N+"*([^\\]'\"]*?)"+N+"*\\]","g"),H=new RegExp(L),W=new RegExp("^"+M+"$"),G={ID:new RegExp("^#("+M+")"),CLASS:new RegExp("^\\.("+M+")"),TAG:new RegExp("^("+M+"|[*])"),ATTR:new RegExp("^"+z),PSEUDO:new RegExp("^"+L),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+N+"*(even|odd|(([+-]|)(\\d*)n|)"+N+"*(?:([+-]|)"+N+"*(\\d+)|))"+N+"*\\)|)","i"),bool:new RegExp("^(?:"+I+")$","i"),needsContext:new RegExp("^"+N+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+N+"*((?:-\\d)?\\d*)"+N+"*\\)|)(?=[^-]|$)","i")},X=/^(?:input|select|textarea|button)$/i,Y=/^h\d$/i,Z=/^[^{]+\{\s*\[native \w/,K=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Q=/[+~]/,J=new RegExp("\\\\([\\da-f]{1,6}"+N+"?|("+N+")|.)","ig"),ee=function(e,t,n){var r="0x"+t-65536;return r!=r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},te=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ne=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},re=function(){p()},ie=be(function(e){return!0===e.disabled&&("form"in e||"label"in e)},{dir:"parentNode",next:"legend"});try{R.apply(A=j.call(w.childNodes),w.childNodes),A[w.childNodes.length].nodeType}catch(e){R={apply:A.length?function(e,t){O.apply(e,j.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}function oe(e,t,r,i){var o,s,c,u,d,h,v,b=t&&t.ownerDocument,k=t?t.nodeType:9;if(r=r||[],"string"!=typeof e||!e||1!==k&&9!==k&&11!==k)return r;if(!i&&((t?t.ownerDocument||t:w)!==f&&p(t),t=t||f,g)){if(11!==k&&(d=K.exec(e)))if(o=d[1]){if(9===k){if(!(c=t.getElementById(o)))return r;if(c.id===o)return r.push(c),r}else if(b&&(c=b.getElementById(o))&&y(t,c)&&c.id===o)return r.push(c),r}else{if(d[2])return R.apply(r,t.getElementsByTagName(e)),r;if((o=d[3])&&n.getElementsByClassName&&t.getElementsByClassName)return R.apply(r,t.getElementsByClassName(o)),r}if(n.qsa&&!S[e+" "]&&(!m||!m.test(e))){if(1!==k)b=t,v=e;else if("object"!==t.nodeName.toLowerCase()){for((u=t.getAttribute("id"))?u=u.replace(te,ne):t.setAttribute("id",u=x),s=(h=a(e)).length;s--;)h[s]="#"+u+" "+ve(h[s]);v=h.join(","),b=Q.test(e)&&ge(t.parentNode)||t}if(v)try{return R.apply(r,b.querySelectorAll(v)),r}catch(e){}finally{u===x&&t.removeAttribute("id")}}}return l(e.replace(B,"$1"),t,r,i)}function ae(){var e=[];return function t(n,i){return e.push(n+" ")>r.cacheLength&&delete t[e.shift()],t[n+" "]=i}}function se(e){return e[x]=!0,e}function le(e){var t=f.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function ce(e,t){for(var n=e.split("|"),i=n.length;i--;)r.attrHandle[n[i]]=t}function ue(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function de(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function pe(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function fe(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&ie(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function he(e){return se(function(t){return t=+t,se(function(n,r){for(var i,o=e([],n.length,t),a=o.length;a--;)n[i=o[a]]&&(n[i]=!(r[i]=n[i]))})})}function ge(e){return e&&void 0!==e.getElementsByTagName&&e}for(t in n=oe.support={},o=oe.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},p=oe.setDocument=function(e){var t,i,a=e?e.ownerDocument||e:w;return a!==f&&9===a.nodeType&&a.documentElement?(h=(f=a).documentElement,g=!o(f),w!==f&&(i=f.defaultView)&&i.top!==i&&(i.addEventListener?i.addEventListener("unload",re,!1):i.attachEvent&&i.attachEvent("onunload",re)),n.attributes=le(function(e){return e.className="i",!e.getAttribute("className")}),n.getElementsByTagName=le(function(e){return e.appendChild(f.createComment("")),!e.getElementsByTagName("*").length}),n.getElementsByClassName=Z.test(f.getElementsByClassName),n.getById=le(function(e){return h.appendChild(e).id=x,!f.getElementsByName||!f.getElementsByName(x).length}),n.getById?(r.filter.ID=function(e){var t=e.replace(J,ee);return function(e){return e.getAttribute("id")===t}},r.find.ID=function(e,t){if(void 0!==t.getElementById&&g){var n=t.getElementById(e);return n?[n]:[]}}):(r.filter.ID=function(e){var t=e.replace(J,ee);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},r.find.ID=function(e,t){if(void 0!==t.getElementById&&g){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];for(i=t.getElementsByName(e),r=0;o=i[r++];)if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),r.find.TAG=n.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):n.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){for(;n=o[i++];)1===n.nodeType&&r.push(n);return r}return o},r.find.CLASS=n.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&g)return t.getElementsByClassName(e)},v=[],m=[],(n.qsa=Z.test(f.querySelectorAll))&&(le(function(e){h.appendChild(e).innerHTML="<a id='"+x+"'></a><select id='"+x+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&m.push("[*^$]="+N+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||m.push("\\["+N+"*(?:value|"+I+")"),e.querySelectorAll("[id~="+x+"-]").length||m.push("~="),e.querySelectorAll(":checked").length||m.push(":checked"),e.querySelectorAll("a#"+x+"+*").length||m.push(".#.+[+~]")}),le(function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=f.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&m.push("name"+N+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&m.push(":enabled",":disabled"),h.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&m.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),m.push(",.*:")})),(n.matchesSelector=Z.test(b=h.matches||h.webkitMatchesSelector||h.mozMatchesSelector||h.oMatchesSelector||h.msMatchesSelector))&&le(function(e){n.disconnectedMatch=b.call(e,"*"),b.call(e,"[s!='']:x"),v.push("!=",L)}),m=m.length&&new RegExp(m.join("|")),v=v.length&&new RegExp(v.join("|")),t=Z.test(h.compareDocumentPosition),y=t||Z.test(h.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},C=t?function(e,t){if(e===t)return d=!0,0;var r=!e.compareDocumentPosition-!t.compareDocumentPosition;return r||(1&(r=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!n.sortDetached&&t.compareDocumentPosition(e)===r?e===f||e.ownerDocument===w&&y(w,e)?-1:t===f||t.ownerDocument===w&&y(w,t)?1:u?D(u,e)-D(u,t):0:4&r?-1:1)}:function(e,t){if(e===t)return d=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e===f?-1:t===f?1:i?-1:o?1:u?D(u,e)-D(u,t):0;if(i===o)return ue(e,t);for(n=e;n=n.parentNode;)a.unshift(n);for(n=t;n=n.parentNode;)s.unshift(n);for(;a[r]===s[r];)r++;return r?ue(a[r],s[r]):a[r]===w?-1:s[r]===w?1:0},f):f},oe.matches=function(e,t){return oe(e,null,null,t)},oe.matchesSelector=function(e,t){if((e.ownerDocument||e)!==f&&p(e),t=t.replace(U,"='$1']"),n.matchesSelector&&g&&!S[t+" "]&&(!v||!v.test(t))&&(!m||!m.test(t)))try{var r=b.call(e,t);if(r||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(e){}return oe(t,f,null,[e]).length>0},oe.contains=function(e,t){return(e.ownerDocument||e)!==f&&p(e),y(e,t)},oe.attr=function(e,t){(e.ownerDocument||e)!==f&&p(e);var i=r.attrHandle[t.toLowerCase()],o=i&&T.call(r.attrHandle,t.toLowerCase())?i(e,t,!g):void 0;return void 0!==o?o:n.attributes||!g?e.getAttribute(t):(o=e.getAttributeNode(t))&&o.specified?o.value:null},oe.escape=function(e){return(e+"").replace(te,ne)},oe.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},oe.uniqueSort=function(e){var t,r=[],i=0,o=0;if(d=!n.detectDuplicates,u=!n.sortStable&&e.slice(0),e.sort(C),d){for(;t=e[o++];)t===e[o]&&(i=r.push(o));for(;i--;)e.splice(r[i],1)}return u=null,e},i=oe.getText=function(e){var t,n="",r=0,o=e.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=i(e)}else if(3===o||4===o)return e.nodeValue}else for(;t=e[r++];)n+=i(t);return n},(r=oe.selectors={cacheLength:50,createPseudo:se,match:G,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(J,ee),e[3]=(e[3]||e[4]||e[5]||"").replace(J,ee),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||oe.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&oe.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&H.test(n)&&(t=a(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(J,ee).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=$[e+" "];return t||(t=new RegExp("(^|"+N+")"+e+"("+N+"|$)"))&&$(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(r){var i=oe.attr(r,e);return null==i?"!="===t:!t||(i+="","="===t?i===n:"!="===t?i!==n:"^="===t?n&&0===i.indexOf(n):"*="===t?n&&i.indexOf(n)>-1:"$="===t?n&&i.slice(-n.length)===n:"~="===t?(" "+i.replace(q," ")+" ").indexOf(n)>-1:"|="===t&&(i===n||i.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,r,i){var o="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,l){var c,u,d,p,f,h,g=o!==a?"nextSibling":"previousSibling",m=t.parentNode,v=s&&t.nodeName.toLowerCase(),b=!l&&!s,y=!1;if(m){if(o){for(;g;){for(p=t;p=p[g];)if(s?p.nodeName.toLowerCase()===v:1===p.nodeType)return!1;h=g="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?m.firstChild:m.lastChild],a&&b){for(y=(f=(c=(u=(d=(p=m)[x]||(p[x]={}))[p.uniqueID]||(d[p.uniqueID]={}))[e]||[])[0]===k&&c[1])&&c[2],p=f&&m.childNodes[f];p=++f&&p&&p[g]||(y=f=0)||h.pop();)if(1===p.nodeType&&++y&&p===t){u[e]=[k,f,y];break}}else if(b&&(y=f=(c=(u=(d=(p=t)[x]||(p[x]={}))[p.uniqueID]||(d[p.uniqueID]={}))[e]||[])[0]===k&&c[1]),!1===y)for(;(p=++f&&p&&p[g]||(y=f=0)||h.pop())&&((s?p.nodeName.toLowerCase()!==v:1!==p.nodeType)||!++y||(b&&((u=(d=p[x]||(p[x]={}))[p.uniqueID]||(d[p.uniqueID]={}))[e]=[k,y]),p!==t)););return(y-=i)===r||y%r==0&&y/r>=0}}},PSEUDO:function(e,t){var n,i=r.pseudos[e]||r.setFilters[e.toLowerCase()]||oe.error("unsupported pseudo: "+e);return i[x]?i(t):i.length>1?(n=[e,e,"",t],r.setFilters.hasOwnProperty(e.toLowerCase())?se(function(e,n){for(var r,o=i(e,t),a=o.length;a--;)e[r=D(e,o[a])]=!(n[r]=o[a])}):function(e){return i(e,0,n)}):i}},pseudos:{not:se(function(e){var t=[],n=[],r=s(e.replace(B,"$1"));return r[x]?se(function(e,t,n,i){for(var o,a=r(e,null,i,[]),s=e.length;s--;)(o=a[s])&&(e[s]=!(t[s]=o))}):function(e,i,o){return t[0]=e,r(t,null,o,n),t[0]=null,!n.pop()}}),has:se(function(e){return function(t){return oe(e,t).length>0}}),contains:se(function(e){return e=e.replace(J,ee),function(t){return(t.textContent||t.innerText||i(t)).indexOf(e)>-1}}),lang:se(function(e){return W.test(e||"")||oe.error("unsupported lang: "+e),e=e.replace(J,ee).toLowerCase(),function(t){var n;do{if(n=g?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===h},focus:function(e){return e===f.activeElement&&(!f.hasFocus||f.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:fe(!1),disabled:fe(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!r.pseudos.empty(e)},header:function(e){return Y.test(e.nodeName)},input:function(e){return X.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:he(function(){return[0]}),last:he(function(e,t){return[t-1]}),eq:he(function(e,t,n){return[n<0?n+t:n]}),even:he(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:he(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:he(function(e,t,n){for(var r=n<0?n+t:n;--r>=0;)e.push(r);return e}),gt:he(function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e})}}).pseudos.nth=r.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})r.pseudos[t]=de(t);for(t in{submit:!0,reset:!0})r.pseudos[t]=pe(t);function me(){}function ve(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function be(e,t,n){var r=t.dir,i=t.next,o=i||r,a=n&&"parentNode"===o,s=_++;return t.first?function(t,n,i){for(;t=t[r];)if(1===t.nodeType||a)return e(t,n,i);return!1}:function(t,n,l){var c,u,d,p=[k,s];if(l){for(;t=t[r];)if((1===t.nodeType||a)&&e(t,n,l))return!0}else for(;t=t[r];)if(1===t.nodeType||a)if(u=(d=t[x]||(t[x]={}))[t.uniqueID]||(d[t.uniqueID]={}),i&&i===t.nodeName.toLowerCase())t=t[r]||t;else{if((c=u[o])&&c[0]===k&&c[1]===s)return p[2]=c[2];if(u[o]=p,p[2]=e(t,n,l))return!0}return!1}}function ye(e){return e.length>1?function(t,n,r){for(var i=e.length;i--;)if(!e[i](t,n,r))return!1;return!0}:e[0]}function xe(e,t,n,r,i){for(var o,a=[],s=0,l=e.length,c=null!=t;s<l;s++)(o=e[s])&&(n&&!n(o,r,i)||(a.push(o),c&&t.push(s)));return a}function we(e,t,n,r,i,o){return r&&!r[x]&&(r=we(r)),i&&!i[x]&&(i=we(i,o)),se(function(o,a,s,l){var c,u,d,p=[],f=[],h=a.length,g=o||function(e,t,n){for(var r=0,i=t.length;r<i;r++)oe(e,t[r],n);return n}(t||"*",s.nodeType?[s]:s,[]),m=!e||!o&&t?g:xe(g,p,e,s,l),v=n?i||(o?e:h||r)?[]:a:m;if(n&&n(m,v,s,l),r)for(c=xe(v,f),r(c,[],s,l),u=c.length;u--;)(d=c[u])&&(v[f[u]]=!(m[f[u]]=d));if(o){if(i||e){if(i){for(c=[],u=v.length;u--;)(d=v[u])&&c.push(m[u]=d);i(null,v=[],c,l)}for(u=v.length;u--;)(d=v[u])&&(c=i?D(o,d):p[u])>-1&&(o[c]=!(a[c]=d))}}else v=xe(v===a?v.splice(h,v.length):v),i?i(null,a,v,l):R.apply(a,v)})}function ke(e){for(var t,n,i,o=e.length,a=r.relative[e[0].type],s=a||r.relative[" "],l=a?1:0,u=be(function(e){return e===t},s,!0),d=be(function(e){return D(t,e)>-1},s,!0),p=[function(e,n,r){var i=!a&&(r||n!==c)||((t=n).nodeType?u(e,n,r):d(e,n,r));return t=null,i}];l<o;l++)if(n=r.relative[e[l].type])p=[be(ye(p),n)];else{if((n=r.filter[e[l].type].apply(null,e[l].matches))[x]){for(i=++l;i<o&&!r.relative[e[i].type];i++);return we(l>1&&ye(p),l>1&&ve(e.slice(0,l-1).concat({value:" "===e[l-2].type?"*":""})).replace(B,"$1"),n,l<i&&ke(e.slice(l,i)),i<o&&ke(e=e.slice(i)),i<o&&ve(e))}p.push(n)}return ye(p)}return me.prototype=r.filters=r.pseudos,r.setFilters=new me,a=oe.tokenize=function(e,t){var n,i,o,a,s,l,c,u=E[e+" "];if(u)return t?0:u.slice(0);for(s=e,l=[],c=r.preFilter;s;){for(a in n&&!(i=V.exec(s))||(i&&(s=s.slice(i[0].length)||s),l.push(o=[])),n=!1,(i=F.exec(s))&&(n=i.shift(),o.push({value:n,type:i[0].replace(B," ")}),s=s.slice(n.length)),r.filter)!(i=G[a].exec(s))||c[a]&&!(i=c[a](i))||(n=i.shift(),o.push({value:n,type:a,matches:i}),s=s.slice(n.length));if(!n)break}return t?s.length:s?oe.error(e):E(e,l).slice(0)},s=oe.compile=function(e,t){var n,i=[],o=[],s=S[e+" "];if(!s){for(t||(t=a(e)),n=t.length;n--;)(s=ke(t[n]))[x]?i.push(s):o.push(s);(s=S(e,function(e,t){var n=t.length>0,i=e.length>0,o=function(o,a,s,l,u){var d,h,m,v=0,b="0",y=o&&[],x=[],w=c,_=o||i&&r.find.TAG("*",u),$=k+=null==w?1:Math.random()||.1,E=_.length;for(u&&(c=a===f||a||u);b!==E&&null!=(d=_[b]);b++){if(i&&d){for(h=0,a||d.ownerDocument===f||(p(d),s=!g);m=e[h++];)if(m(d,a||f,s)){l.push(d);break}u&&(k=$)}n&&((d=!m&&d)&&v--,o&&y.push(d))}if(v+=b,n&&b!==v){for(h=0;m=t[h++];)m(y,x,a,s);if(o){if(v>0)for(;b--;)y[b]||x[b]||(x[b]=P.call(l));x=xe(x)}R.apply(l,x),u&&!o&&x.length>0&&v+t.length>1&&oe.uniqueSort(l)}return u&&(k=$,c=w),y};return n?se(o):o}(o,i))).selector=e}return s},l=oe.select=function(e,t,n,i){var o,l,c,u,d,p="function"==typeof e&&e,f=!i&&a(e=p.selector||e);if(n=n||[],1===f.length){if((l=f[0]=f[0].slice(0)).length>2&&"ID"===(c=l[0]).type&&9===t.nodeType&&g&&r.relative[l[1].type]){if(!(t=(r.find.ID(c.matches[0].replace(J,ee),t)||[])[0]))return n;p&&(t=t.parentNode),e=e.slice(l.shift().value.length)}for(o=G.needsContext.test(e)?0:l.length;o--&&(c=l[o],!r.relative[u=c.type]);)if((d=r.find[u])&&(i=d(c.matches[0].replace(J,ee),Q.test(l[0].type)&&ge(t.parentNode)||t))){if(l.splice(o,1),!(e=i.length&&ve(l)))return R.apply(n,i),n;break}}return(p||s(e,f))(i,t,!g,n,!t||Q.test(e)&&ge(t.parentNode)||t),n},n.sortStable=x.split("").sort(C).join("")===x,n.detectDuplicates=!!d,p(),n.sortDetached=le(function(e){return 1&e.compareDocumentPosition(f.createElement("fieldset"))}),le(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||ce("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),n.attributes&&le(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||ce("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),le(function(e){return null==e.getAttribute("disabled")})||ce(I,function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null}),oe}(n);_.find=S,_.expr=S.selectors,_.expr[":"]=_.expr.pseudos,_.uniqueSort=_.unique=S.uniqueSort,_.text=S.getText,_.isXMLDoc=S.isXML,_.contains=S.contains,_.escapeSelector=S.escape;var C=function(e,t,n){for(var r=[],i=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(i&&_(e).is(n))break;r.push(e)}return r},T=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},A=_.expr.match.needsContext;function P(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var O=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function R(e,t,n){return b(t)?_.grep(e,function(e,r){return!!t.call(e,r,e)!==n}):t.nodeType?_.grep(e,function(e){return e===t!==n}):"string"!=typeof t?_.grep(e,function(e){return d.call(t,e)>-1!==n}):_.filter(t,e,n)}_.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?_.find.matchesSelector(r,e)?[r]:[]:_.find.matches(e,_.grep(t,function(e){return 1===e.nodeType}))},_.fn.extend({find:function(e){var t,n,r=this.length,i=this;if("string"!=typeof e)return this.pushStack(_(e).filter(function(){for(t=0;t<r;t++)if(_.contains(i[t],this))return!0}));for(n=this.pushStack([]),t=0;t<r;t++)_.find(e,i[t],n);return r>1?_.uniqueSort(n):n},filter:function(e){return this.pushStack(R(this,e||[],!1))},not:function(e){return this.pushStack(R(this,e||[],!0))},is:function(e){return!!R(this,"string"==typeof e&&A.test(e)?_(e):e||[],!1).length}});var j,D=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(_.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||j,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:D.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof _?t[0]:t,_.merge(this,_.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:a,!0)),O.test(r[1])&&_.isPlainObject(t))for(r in t)b(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=a.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):b(e)?void 0!==n.ready?n.ready(e):e(_):_.makeArray(e,this)}).prototype=_.fn,j=_(a);var I=/^(?:parents|prev(?:Until|All))/,N={children:!0,contents:!0,next:!0,prev:!0};function M(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}_.fn.extend({has:function(e){var t=_(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(_.contains(this,t[e]))return!0})},closest:function(e,t){var n,r=0,i=this.length,o=[],a="string"!=typeof e&&_(e);if(!A.test(e))for(;r<i;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&_.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(o.length>1?_.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?d.call(_(e),this[0]):d.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(_.uniqueSort(_.merge(this.get(),_(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),_.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return C(e,"parentNode")},parentsUntil:function(e,t,n){return C(e,"parentNode",n)},next:function(e){return M(e,"nextSibling")},prev:function(e){return M(e,"previousSibling")},nextAll:function(e){return C(e,"nextSibling")},prevAll:function(e){return C(e,"previousSibling")},nextUntil:function(e,t,n){return C(e,"nextSibling",n)},prevUntil:function(e,t,n){return C(e,"previousSibling",n)},siblings:function(e){return T((e.parentNode||{}).firstChild,e)},children:function(e){return T(e.firstChild)},contents:function(e){return P(e,"iframe")?e.contentDocument:(P(e,"template")&&(e=e.content||e),_.merge([],e.childNodes))}},function(e,t){_.fn[e]=function(n,r){var i=_.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=_.filter(r,i)),this.length>1&&(N[e]||_.uniqueSort(i),I.test(e)&&i.reverse()),this.pushStack(i)}});var z=/[^\x20\t\r\n\f]+/g;function L(e){return e}function q(e){throw e}function B(e,t,n,r){var i;try{e&&b(i=e.promise)?i.call(e).done(t).fail(n):e&&b(i=e.then)?i.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}_.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return _.each(e.match(z)||[],function(e,n){t[n]=!0}),t}(e):_.extend({},e);var t,n,r,i,o=[],a=[],s=-1,l=function(){for(i=i||e.once,r=t=!0;a.length;s=-1)for(n=a.shift();++s<o.length;)!1===o[s].apply(n[0],n[1])&&e.stopOnFalse&&(s=o.length,n=!1);e.memory||(n=!1),t=!1,i&&(o=n?[]:"")},c={add:function(){return o&&(n&&!t&&(s=o.length-1,a.push(n)),function t(n){_.each(n,function(n,r){b(r)?e.unique&&c.has(r)||o.push(r):r&&r.length&&"string"!==k(r)&&t(r)})}(arguments),n&&!t&&l()),this},remove:function(){return _.each(arguments,function(e,t){for(var n;(n=_.inArray(t,o,n))>-1;)o.splice(n,1),n<=s&&s--}),this},has:function(e){return e?_.inArray(e,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return i=a=[],o=n="",this},disabled:function(){return!o},lock:function(){return i=a=[],n||t||(o=n=""),this},locked:function(){return!!i},fireWith:function(e,n){return i||(n=[e,(n=n||[]).slice?n.slice():n],a.push(n),t||l()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!r}};return c},_.extend({Deferred:function(e){var t=[["notify","progress",_.Callbacks("memory"),_.Callbacks("memory"),2],["resolve","done",_.Callbacks("once memory"),_.Callbacks("once memory"),0,"resolved"],["reject","fail",_.Callbacks("once memory"),_.Callbacks("once memory"),1,"rejected"]],r="pending",i={state:function(){return r},always:function(){return o.done(arguments).fail(arguments),this},catch:function(e){return i.then(null,e)},pipe:function(){var e=arguments;return _.Deferred(function(n){_.each(t,function(t,r){var i=b(e[r[4]])&&e[r[4]];o[r[1]](function(){var e=i&&i.apply(this,arguments);e&&b(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[r[0]+"With"](this,i?[e]:arguments)})}),e=null}).promise()},then:function(e,r,i){var o=0;function a(e,t,r,i){return function(){var s=this,l=arguments,c=function(){var n,c;if(!(e<o)){if((n=r.apply(s,l))===t.promise())throw new TypeError("Thenable self-resolution");c=n&&("object"==typeof n||"function"==typeof n)&&n.then,b(c)?i?c.call(n,a(o,t,L,i),a(o,t,q,i)):(o++,c.call(n,a(o,t,L,i),a(o,t,q,i),a(o,t,L,t.notifyWith))):(r!==L&&(s=void 0,l=[n]),(i||t.resolveWith)(s,l))}},u=i?c:function(){try{c()}catch(n){_.Deferred.exceptionHook&&_.Deferred.exceptionHook(n,u.stackTrace),e+1>=o&&(r!==q&&(s=void 0,l=[n]),t.rejectWith(s,l))}};e?u():(_.Deferred.getStackHook&&(u.stackTrace=_.Deferred.getStackHook()),n.setTimeout(u))}}return _.Deferred(function(n){t[0][3].add(a(0,n,b(i)?i:L,n.notifyWith)),t[1][3].add(a(0,n,b(e)?e:L)),t[2][3].add(a(0,n,b(r)?r:q))}).promise()},promise:function(e){return null!=e?_.extend(e,i):i}},o={};return _.each(t,function(e,n){var a=n[2],s=n[5];i[n[1]]=a.add,s&&a.add(function(){r=s},t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock),a.add(n[3].fire),o[n[0]]=function(){return o[n[0]+"With"](this===o?void 0:this,arguments),this},o[n[0]+"With"]=a.fireWith}),i.promise(o),e&&e.call(o,o),o},when:function(e){var t=arguments.length,n=t,r=Array(n),i=l.call(arguments),o=_.Deferred(),a=function(e){return function(n){r[e]=this,i[e]=arguments.length>1?l.call(arguments):n,--t||o.resolveWith(r,i)}};if(t<=1&&(B(e,o.done(a(n)).resolve,o.reject,!t),"pending"===o.state()||b(i[n]&&i[n].then)))return o.then();for(;n--;)B(i[n],a(n),o.reject);return o.promise()}});var V=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;_.Deferred.exceptionHook=function(e,t){n.console&&n.console.warn&&e&&V.test(e.name)&&n.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},_.readyException=function(e){n.setTimeout(function(){throw e})};var F=_.Deferred();function U(){a.removeEventListener("DOMContentLoaded",U),n.removeEventListener("load",U),_.ready()}_.fn.ready=function(e){return F.then(e).catch(function(e){_.readyException(e)}),this},_.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--_.readyWait:_.isReady)||(_.isReady=!0,!0!==e&&--_.readyWait>0||F.resolveWith(a,[_]))}}),_.ready.then=F.then,"complete"===a.readyState||"loading"!==a.readyState&&!a.documentElement.doScroll?n.setTimeout(_.ready):(a.addEventListener("DOMContentLoaded",U),n.addEventListener("load",U));var H=function(e,t,n,r,i,o,a){var s=0,l=e.length,c=null==n;if("object"===k(n))for(s in i=!0,n)H(e,t,s,n[s],!0,o,a);else if(void 0!==r&&(i=!0,b(r)||(a=!0),c&&(a?(t.call(e,r),t=null):(c=t,t=function(e,t,n){return c.call(_(e),n)})),t))for(;s<l;s++)t(e[s],n,a?r:r.call(e[s],s,t(e[s],n)));return i?e:c?t.call(e):l?t(e[0],n):o},W=/^-ms-/,G=/-([a-z])/g;function X(e,t){return t.toUpperCase()}function Y(e){return e.replace(W,"ms-").replace(G,X)}var Z=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function K(){this.expando=_.expando+K.uid++}K.uid=1,K.prototype={cache:function(e){var t=e[this.expando];return t||(t={},Z(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,i=this.cache(e);if("string"==typeof t)i[Y(t)]=n;else for(r in t)i[Y(r)]=t[r];return i},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][Y(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r=e[this.expando];if(void 0!==r){if(void 0!==t){n=(t=Array.isArray(t)?t.map(Y):(t=Y(t))in r?[t]:t.match(z)||[]).length;for(;n--;)delete r[t[n]]}(void 0===t||_.isEmptyObject(r))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!_.isEmptyObject(t)}};var Q=new K,J=new K,ee=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,te=/[A-Z]/g;function ne(e,t,n){var r;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(te,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n=function(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:ee.test(e)?JSON.parse(e):e)}(n)}catch(e){}J.set(e,t,n)}else n=void 0;return n}_.extend({hasData:function(e){return J.hasData(e)||Q.hasData(e)},data:function(e,t,n){return J.access(e,t,n)},removeData:function(e,t){J.remove(e,t)},_data:function(e,t,n){return Q.access(e,t,n)},_removeData:function(e,t){Q.remove(e,t)}}),_.fn.extend({data:function(e,t){var n,r,i,o=this[0],a=o&&o.attributes;if(void 0===e){if(this.length&&(i=J.get(o),1===o.nodeType&&!Q.get(o,"hasDataAttrs"))){for(n=a.length;n--;)a[n]&&0===(r=a[n].name).indexOf("data-")&&(r=Y(r.slice(5)),ne(o,r,i[r]));Q.set(o,"hasDataAttrs",!0)}return i}return"object"==typeof e?this.each(function(){J.set(this,e)}):H(this,function(t){var n;if(o&&void 0===t)return void 0!==(n=J.get(o,e))?n:void 0!==(n=ne(o,e))?n:void 0;this.each(function(){J.set(this,e,t)})},null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){J.remove(this,e)})}}),_.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=Q.get(e,t),n&&(!r||Array.isArray(n)?r=Q.access(e,t,_.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=_.queue(e,t),r=n.length,i=n.shift(),o=_._queueHooks(e,t);"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,function(){_.dequeue(e,t)},o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return Q.get(e,n)||Q.access(e,n,{empty:_.Callbacks("once memory").add(function(){Q.remove(e,[t+"queue",n])})})}}),_.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?_.queue(this[0],e):void 0===t?this:this.each(function(){var n=_.queue(this,e,t);_._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&_.dequeue(this,e)})},dequeue:function(e){return this.each(function(){_.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,i=_.Deferred(),o=this,a=this.length,s=function(){--r||i.resolveWith(o,[o])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";a--;)(n=Q.get(o[a],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),i.promise(t)}});var re=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,ie=new RegExp("^(?:([+-])=|)("+re+")([a-z%]*)$","i"),oe=["Top","Right","Bottom","Left"],ae=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&_.contains(e.ownerDocument,e)&&"none"===_.css(e,"display")},se=function(e,t,n,r){var i,o,a={};for(o in t)a[o]=e.style[o],e.style[o]=t[o];for(o in i=n.apply(e,r||[]),t)e.style[o]=a[o];return i};function le(e,t,n,r){var i,o,a=20,s=r?function(){return r.cur()}:function(){return _.css(e,t,"")},l=s(),c=n&&n[3]||(_.cssNumber[t]?"":"px"),u=(_.cssNumber[t]||"px"!==c&&+l)&&ie.exec(_.css(e,t));if(u&&u[3]!==c){for(l/=2,c=c||u[3],u=+l||1;a--;)_.style(e,t,u+c),(1-o)*(1-(o=s()/l||.5))<=0&&(a=0),u/=o;u*=2,_.style(e,t,u+c),n=n||[]}return n&&(u=+u||+l||0,i=n[1]?u+(n[1]+1)*n[2]:+n[2],r&&(r.unit=c,r.start=u,r.end=i)),i}var ce={};function ue(e){var t,n=e.ownerDocument,r=e.nodeName,i=ce[r];return i||(t=n.body.appendChild(n.createElement(r)),i=_.css(t,"display"),t.parentNode.removeChild(t),"none"===i&&(i="block"),ce[r]=i,i)}function de(e,t){for(var n,r,i=[],o=0,a=e.length;o<a;o++)(r=e[o]).style&&(n=r.style.display,t?("none"===n&&(i[o]=Q.get(r,"display")||null,i[o]||(r.style.display="")),""===r.style.display&&ae(r)&&(i[o]=ue(r))):"none"!==n&&(i[o]="none",Q.set(r,"display",n)));for(o=0;o<a;o++)null!=i[o]&&(e[o].style.display=i[o]);return e}_.fn.extend({show:function(){return de(this,!0)},hide:function(){return de(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){ae(this)?_(this).show():_(this).hide()})}});var pe=/^(?:checkbox|radio)$/i,fe=/<([a-z][^\/\0>\x20\t\r\n\f]+)/i,he=/^$|^module$|\/(?:java|ecma)script/i,ge={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function me(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&P(e,t)?_.merge([e],n):n}function ve(e,t){for(var n=0,r=e.length;n<r;n++)Q.set(e[n],"globalEval",!t||Q.get(t[n],"globalEval"))}ge.optgroup=ge.option,ge.tbody=ge.tfoot=ge.colgroup=ge.caption=ge.thead,ge.th=ge.td;var be=/<|&#?\w+;/;function ye(e,t,n,r,i){for(var o,a,s,l,c,u,d=t.createDocumentFragment(),p=[],f=0,h=e.length;f<h;f++)if((o=e[f])||0===o)if("object"===k(o))_.merge(p,o.nodeType?[o]:o);else if(be.test(o)){for(a=a||d.appendChild(t.createElement("div")),s=(fe.exec(o)||["",""])[1].toLowerCase(),l=ge[s]||ge._default,a.innerHTML=l[1]+_.htmlPrefilter(o)+l[2],u=l[0];u--;)a=a.lastChild;_.merge(p,a.childNodes),(a=d.firstChild).textContent=""}else p.push(t.createTextNode(o));for(d.textContent="",f=0;o=p[f++];)if(r&&_.inArray(o,r)>-1)i&&i.push(o);else if(c=_.contains(o.ownerDocument,o),a=me(d.appendChild(o),"script"),c&&ve(a),n)for(u=0;o=a[u++];)he.test(o.type||"")&&n.push(o);return d}!function(){var e=a.createDocumentFragment().appendChild(a.createElement("div")),t=a.createElement("input");t.setAttribute("type","radio"),t.setAttribute("checked","checked"),t.setAttribute("name","t"),e.appendChild(t),v.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,e.innerHTML="<textarea>x</textarea>",v.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue}();var xe=a.documentElement,we=/^key/,ke=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,_e=/^([^.]*)(?:\.(.+)|)/;function $e(){return!0}function Ee(){return!1}function Se(){try{return a.activeElement}catch(e){}}function Ce(e,t,n,r,i,o){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)Ce(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=Ee;else if(!i)return e;return 1===o&&(a=i,(i=function(e){return _().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=_.guid++)),e.each(function(){_.event.add(this,t,i,r,n)})}_.event={global:{},add:function(e,t,n,r,i){var o,a,s,l,c,u,d,p,f,h,g,m=Q.get(e);if(m)for(n.handler&&(n=(o=n).handler,i=o.selector),i&&_.find.matchesSelector(xe,i),n.guid||(n.guid=_.guid++),(l=m.events)||(l=m.events={}),(a=m.handle)||(a=m.handle=function(t){return void 0!==_&&_.event.triggered!==t.type?_.event.dispatch.apply(e,arguments):void 0}),c=(t=(t||"").match(z)||[""]).length;c--;)f=g=(s=_e.exec(t[c])||[])[1],h=(s[2]||"").split(".").sort(),f&&(d=_.event.special[f]||{},f=(i?d.delegateType:d.bindType)||f,d=_.event.special[f]||{},u=_.extend({type:f,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&_.expr.match.needsContext.test(i),namespace:h.join(".")},o),(p=l[f])||((p=l[f]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(e,r,h,a)||e.addEventListener&&e.addEventListener(f,a)),d.add&&(d.add.call(e,u),u.handler.guid||(u.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,u):p.push(u),_.event.global[f]=!0)},remove:function(e,t,n,r,i){var o,a,s,l,c,u,d,p,f,h,g,m=Q.hasData(e)&&Q.get(e);if(m&&(l=m.events)){for(c=(t=(t||"").match(z)||[""]).length;c--;)if(f=g=(s=_e.exec(t[c])||[])[1],h=(s[2]||"").split(".").sort(),f){for(d=_.event.special[f]||{},p=l[f=(r?d.delegateType:d.bindType)||f]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=p.length;o--;)u=p[o],!i&&g!==u.origType||n&&n.guid!==u.guid||s&&!s.test(u.namespace)||r&&r!==u.selector&&("**"!==r||!u.selector)||(p.splice(o,1),u.selector&&p.delegateCount--,d.remove&&d.remove.call(e,u));a&&!p.length&&(d.teardown&&!1!==d.teardown.call(e,h,m.handle)||_.removeEvent(e,f,m.handle),delete l[f])}else for(f in l)_.event.remove(e,f+t[c],n,r,!0);_.isEmptyObject(l)&&Q.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,a,s=_.event.fix(e),l=new Array(arguments.length),c=(Q.get(this,"events")||{})[s.type]||[],u=_.event.special[s.type]||{};for(l[0]=s,t=1;t<arguments.length;t++)l[t]=arguments[t];if(s.delegateTarget=this,!u.preDispatch||!1!==u.preDispatch.call(this,s)){for(a=_.event.handlers.call(this,s,c),t=0;(i=a[t++])&&!s.isPropagationStopped();)for(s.currentTarget=i.elem,n=0;(o=i.handlers[n++])&&!s.isImmediatePropagationStopped();)s.rnamespace&&!s.rnamespace.test(o.namespace)||(s.handleObj=o,s.data=o.data,void 0!==(r=((_.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,l))&&!1===(s.result=r)&&(s.preventDefault(),s.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,s),s.result}},handlers:function(e,t){var n,r,i,o,a,s=[],l=t.delegateCount,c=e.target;if(l&&c.nodeType&&!("click"===e.type&&e.button>=1))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&("click"!==e.type||!0!==c.disabled)){for(o=[],a={},n=0;n<l;n++)void 0===a[i=(r=t[n]).selector+" "]&&(a[i]=r.needsContext?_(i,this).index(c)>-1:_.find(i,this,null,[c]).length),a[i]&&o.push(r);o.length&&s.push({elem:c,handlers:o})}return c=this,l<t.length&&s.push({elem:c,handlers:t.slice(l)}),s},addProp:function(e,t){Object.defineProperty(_.Event.prototype,e,{enumerable:!0,configurable:!0,get:b(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[_.expando]?e:new _.Event(e)},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==Se()&&this.focus)return this.focus(),!1},delegateType:"focusin"},blur:{trigger:function(){if(this===Se()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if("checkbox"===this.type&&this.click&&P(this,"input"))return this.click(),!1},_default:function(e){return P(e.target,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},_.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},_.Event=function(e,t){if(!(this instanceof _.Event))return new _.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?$e:Ee,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&_.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[_.expando]=!0},_.Event.prototype={constructor:_.Event,isDefaultPrevented:Ee,isPropagationStopped:Ee,isImmediatePropagationStopped:Ee,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=$e,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=$e,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=$e,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},_.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(e){var t=e.button;return null==e.which&&we.test(e.type)?null!=e.charCode?e.charCode:e.keyCode:!e.which&&void 0!==t&&ke.test(e.type)?1&t?1:2&t?3:4&t?2:0:e.which}},_.event.addProp),_.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,t){_.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=e.relatedTarget,i=e.handleObj;return r&&(r===this||_.contains(this,r))||(e.type=i.origType,n=i.handler.apply(this,arguments),e.type=t),n}}}),_.fn.extend({on:function(e,t,n,r){return Ce(this,e,t,n,r)},one:function(e,t,n,r){return Ce(this,e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,_(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(i in e)this.off(i,t,e[i]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=Ee),this.each(function(){_.event.remove(this,e,n,t)})}});var Te=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,Ae=/<script|<style|<link/i,Pe=/checked\s*(?:[^=]|=\s*.checked.)/i,Oe=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function Re(e,t){return P(e,"table")&&P(11!==t.nodeType?t:t.firstChild,"tr")&&_(e).children("tbody")[0]||e}function je(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function De(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Ie(e,t){var n,r,i,o,a,s,l,c;if(1===t.nodeType){if(Q.hasData(e)&&(o=Q.access(e),a=Q.set(t,o),c=o.events))for(i in delete a.handle,a.events={},c)for(n=0,r=c[i].length;n<r;n++)_.event.add(t,i,c[i][n]);J.hasData(e)&&(s=J.access(e),l=_.extend({},s),J.set(t,l))}}function Ne(e,t){var n=t.nodeName.toLowerCase();"input"===n&&pe.test(e.type)?t.checked=e.checked:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}function Me(e,t,n,r){t=c.apply([],t);var i,o,a,s,l,u,d=0,p=e.length,f=p-1,h=t[0],g=b(h);if(g||p>1&&"string"==typeof h&&!v.checkClone&&Pe.test(h))return e.each(function(i){var o=e.eq(i);g&&(t[0]=h.call(this,i,o.html())),Me(o,t,n,r)});if(p&&(o=(i=ye(t,e[0].ownerDocument,!1,e,r)).firstChild,1===i.childNodes.length&&(i=o),o||r)){for(s=(a=_.map(me(i,"script"),je)).length;d<p;d++)l=i,d!==f&&(l=_.clone(l,!0,!0),s&&_.merge(a,me(l,"script"))),n.call(e[d],l,d);if(s)for(u=a[a.length-1].ownerDocument,_.map(a,De),d=0;d<s;d++)l=a[d],he.test(l.type||"")&&!Q.access(l,"globalEval")&&_.contains(u,l)&&(l.src&&"module"!==(l.type||"").toLowerCase()?_._evalUrl&&_._evalUrl(l.src):w(l.textContent.replace(Oe,""),u,l))}return e}function ze(e,t,n){for(var r,i=t?_.filter(t,e):e,o=0;null!=(r=i[o]);o++)n||1!==r.nodeType||_.cleanData(me(r)),r.parentNode&&(n&&_.contains(r.ownerDocument,r)&&ve(me(r,"script")),r.parentNode.removeChild(r));return e}_.extend({htmlPrefilter:function(e){return e.replace(Te,"<$1></$2>")},clone:function(e,t,n){var r,i,o,a,s=e.cloneNode(!0),l=_.contains(e.ownerDocument,e);if(!(v.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||_.isXMLDoc(e)))for(a=me(s),r=0,i=(o=me(e)).length;r<i;r++)Ne(o[r],a[r]);if(t)if(n)for(o=o||me(e),a=a||me(s),r=0,i=o.length;r<i;r++)Ie(o[r],a[r]);else Ie(e,s);return(a=me(s,"script")).length>0&&ve(a,!l&&me(e,"script")),s},cleanData:function(e){for(var t,n,r,i=_.event.special,o=0;void 0!==(n=e[o]);o++)if(Z(n)){if(t=n[Q.expando]){if(t.events)for(r in t.events)i[r]?_.event.remove(n,r):_.removeEvent(n,r,t.handle);n[Q.expando]=void 0}n[J.expando]&&(n[J.expando]=void 0)}}}),_.fn.extend({detach:function(e){return ze(this,e,!0)},remove:function(e){return ze(this,e)},text:function(e){return H(this,function(e){return void 0===e?_.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return Me(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Re(this,e).appendChild(e)})},prepend:function(){return Me(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Re(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return Me(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return Me(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(_.cleanData(me(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return _.clone(this,e,t)})},html:function(e){return H(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Ae.test(e)&&!ge[(fe.exec(e)||["",""])[1].toLowerCase()]){e=_.htmlPrefilter(e);try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(_.cleanData(me(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=[];return Me(this,arguments,function(t){var n=this.parentNode;_.inArray(this,e)<0&&(_.cleanData(me(this)),n&&n.replaceChild(t,this))},e)}}),_.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){_.fn[e]=function(e){for(var n,r=[],i=_(e),o=i.length-1,a=0;a<=o;a++)n=a===o?this:this.clone(!0),_(i[a])[t](n),u.apply(r,n.get());return this.pushStack(r)}});var Le=new RegExp("^("+re+")(?!px)[a-z%]+$","i"),qe=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=n),t.getComputedStyle(e)},Be=new RegExp(oe.join("|"),"i");function Ve(e,t,n){var r,i,o,a,s=e.style;return(n=n||qe(e))&&(""!==(a=n.getPropertyValue(t)||n[t])||_.contains(e.ownerDocument,e)||(a=_.style(e,t)),!v.pixelBoxStyles()&&Le.test(a)&&Be.test(t)&&(r=s.width,i=s.minWidth,o=s.maxWidth,s.minWidth=s.maxWidth=s.width=a,a=n.width,s.width=r,s.minWidth=i,s.maxWidth=o)),void 0!==a?a+"":a}function Fe(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function e(){if(u){c.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",u.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",xe.appendChild(c).appendChild(u);var e=n.getComputedStyle(u);r="1%"!==e.top,l=12===t(e.marginLeft),u.style.right="60%",s=36===t(e.right),i=36===t(e.width),u.style.position="absolute",o=36===u.offsetWidth||"absolute",xe.removeChild(c),u=null}}function t(e){return Math.round(parseFloat(e))}var r,i,o,s,l,c=a.createElement("div"),u=a.createElement("div");u.style&&(u.style.backgroundClip="content-box",u.cloneNode(!0).style.backgroundClip="",v.clearCloneStyle="content-box"===u.style.backgroundClip,_.extend(v,{boxSizingReliable:function(){return e(),i},pixelBoxStyles:function(){return e(),s},pixelPosition:function(){return e(),r},reliableMarginLeft:function(){return e(),l},scrollboxSize:function(){return e(),o}}))}();var Ue=/^(none|table(?!-c[ea]).+)/,He=/^--/,We={position:"absolute",visibility:"hidden",display:"block"},Ge={letterSpacing:"0",fontWeight:"400"},Xe=["Webkit","Moz","ms"],Ye=a.createElement("div").style;function Ze(e){var t=_.cssProps[e];return t||(t=_.cssProps[e]=function(e){if(e in Ye)return e;for(var t=e[0].toUpperCase()+e.slice(1),n=Xe.length;n--;)if((e=Xe[n]+t)in Ye)return e}(e)||e),t}function Ke(e,t,n){var r=ie.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function Qe(e,t,n,r,i,o){var a="width"===t?1:0,s=0,l=0;if(n===(r?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(l+=_.css(e,n+oe[a],!0,i)),r?("content"===n&&(l-=_.css(e,"padding"+oe[a],!0,i)),"margin"!==n&&(l-=_.css(e,"border"+oe[a]+"Width",!0,i))):(l+=_.css(e,"padding"+oe[a],!0,i),"padding"!==n?l+=_.css(e,"border"+oe[a]+"Width",!0,i):s+=_.css(e,"border"+oe[a]+"Width",!0,i));return!r&&o>=0&&(l+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-l-s-.5))),l}function Je(e,t,n){var r=qe(e),i=Ve(e,t,r),o="border-box"===_.css(e,"boxSizing",!1,r),a=o;if(Le.test(i)){if(!n)return i;i="auto"}return a=a&&(v.boxSizingReliable()||i===e.style[t]),("auto"===i||!parseFloat(i)&&"inline"===_.css(e,"display",!1,r))&&(i=e["offset"+t[0].toUpperCase()+t.slice(1)],a=!0),(i=parseFloat(i)||0)+Qe(e,t,n||(o?"border":"content"),a,r,i)+"px"}function et(e,t,n,r,i){return new et.prototype.init(e,t,n,r,i)}_.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Ve(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,a,s=Y(t),l=He.test(t),c=e.style;if(l||(t=Ze(s)),a=_.cssHooks[t]||_.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(i=a.get(e,!1,r))?i:c[t];"string"===(o=typeof n)&&(i=ie.exec(n))&&i[1]&&(n=le(e,t,i),o="number"),null!=n&&n==n&&("number"===o&&(n+=i&&i[3]||(_.cssNumber[s]?"":"px")),v.clearCloneStyle||""!==n||0!==t.indexOf("background")||(c[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,r))||(l?c.setProperty(t,n):c[t]=n))}},css:function(e,t,n,r){var i,o,a,s=Y(t);return He.test(t)||(t=Ze(s)),(a=_.cssHooks[t]||_.cssHooks[s])&&"get"in a&&(i=a.get(e,!0,n)),void 0===i&&(i=Ve(e,t,r)),"normal"===i&&t in Ge&&(i=Ge[t]),""===n||n?(o=parseFloat(i),!0===n||isFinite(o)?o||0:i):i}}),_.each(["height","width"],function(e,t){_.cssHooks[t]={get:function(e,n,r){if(n)return!Ue.test(_.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?Je(e,t,r):se(e,We,function(){return Je(e,t,r)})},set:function(e,n,r){var i,o=qe(e),a="border-box"===_.css(e,"boxSizing",!1,o),s=r&&Qe(e,t,r,a,o);return a&&v.scrollboxSize()===o.position&&(s-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(o[t])-Qe(e,t,"border",!1,o)-.5)),s&&(i=ie.exec(n))&&"px"!==(i[3]||"px")&&(e.style[t]=n,n=_.css(e,t)),Ke(0,n,s)}}}),_.cssHooks.marginLeft=Fe(v.reliableMarginLeft,function(e,t){if(t)return(parseFloat(Ve(e,"marginLeft"))||e.getBoundingClientRect().left-se(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),_.each({margin:"",padding:"",border:"Width"},function(e,t){_.cssHooks[e+t]={expand:function(n){for(var r=0,i={},o="string"==typeof n?n.split(" "):[n];r<4;r++)i[e+oe[r]+t]=o[r]||o[r-2]||o[0];return i}},"margin"!==e&&(_.cssHooks[e+t].set=Ke)}),_.fn.extend({css:function(e,t){return H(this,function(e,t,n){var r,i,o={},a=0;if(Array.isArray(t)){for(r=qe(e),i=t.length;a<i;a++)o[t[a]]=_.css(e,t[a],!1,r);return o}return void 0!==n?_.style(e,t,n):_.css(e,t)},e,t,arguments.length>1)}}),_.Tween=et,et.prototype={constructor:et,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||_.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(_.cssNumber[n]?"":"px")},cur:function(){var e=et.propHooks[this.prop];return e&&e.get?e.get(this):et.propHooks._default.get(this)},run:function(e){var t,n=et.propHooks[this.prop];return this.options.duration?this.pos=t=_.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):et.propHooks._default.set(this),this}},et.prototype.init.prototype=et.prototype,et.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=_.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){_.fx.step[e.prop]?_.fx.step[e.prop](e):1!==e.elem.nodeType||null==e.elem.style[_.cssProps[e.prop]]&&!_.cssHooks[e.prop]?e.elem[e.prop]=e.now:_.style(e.elem,e.prop,e.now+e.unit)}}},et.propHooks.scrollTop=et.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},_.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},_.fx=et.prototype.init,_.fx.step={};var tt,nt,rt=/^(?:toggle|show|hide)$/,it=/queueHooks$/;function ot(){nt&&(!1===a.hidden&&n.requestAnimationFrame?n.requestAnimationFrame(ot):n.setTimeout(ot,_.fx.interval),_.fx.tick())}function at(){return n.setTimeout(function(){tt=void 0}),tt=Date.now()}function st(e,t){var n,r=0,i={height:e};for(t=t?1:0;r<4;r+=2-t)i["margin"+(n=oe[r])]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function lt(e,t,n){for(var r,i=(ct.tweeners[t]||[]).concat(ct.tweeners["*"]),o=0,a=i.length;o<a;o++)if(r=i[o].call(n,t,e))return r}function ct(e,t,n){var r,i,o=0,a=ct.prefilters.length,s=_.Deferred().always(function(){delete l.elem}),l=function(){if(i)return!1;for(var t=tt||at(),n=Math.max(0,c.startTime+c.duration-t),r=1-(n/c.duration||0),o=0,a=c.tweens.length;o<a;o++)c.tweens[o].run(r);return s.notifyWith(e,[c,r,n]),r<1&&a?n:(a||s.notifyWith(e,[c,1,0]),s.resolveWith(e,[c]),!1)},c=s.promise({elem:e,props:_.extend({},t),opts:_.extend(!0,{specialEasing:{},easing:_.easing._default},n),originalProperties:t,originalOptions:n,startTime:tt||at(),duration:n.duration,tweens:[],createTween:function(t,n){var r=_.Tween(e,c.opts,t,n,c.opts.specialEasing[t]||c.opts.easing);return c.tweens.push(r),r},stop:function(t){var n=0,r=t?c.tweens.length:0;if(i)return this;for(i=!0;n<r;n++)c.tweens[n].run(1);return t?(s.notifyWith(e,[c,1,0]),s.resolveWith(e,[c,t])):s.rejectWith(e,[c,t]),this}}),u=c.props;for(!function(e,t){var n,r,i,o,a;for(n in e)if(i=t[r=Y(n)],o=e[n],Array.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),(a=_.cssHooks[r])&&"expand"in a)for(n in o=a.expand(o),delete e[r],o)n in e||(e[n]=o[n],t[n]=i);else t[r]=i}(u,c.opts.specialEasing);o<a;o++)if(r=ct.prefilters[o].call(c,e,u,c.opts))return b(r.stop)&&(_._queueHooks(c.elem,c.opts.queue).stop=r.stop.bind(r)),r;return _.map(u,lt,c),b(c.opts.start)&&c.opts.start.call(e,c),c.progress(c.opts.progress).done(c.opts.done,c.opts.complete).fail(c.opts.fail).always(c.opts.always),_.fx.timer(_.extend(l,{elem:e,anim:c,queue:c.opts.queue})),c}_.Animation=_.extend(ct,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return le(n.elem,e,ie.exec(t),n),n}]},tweener:function(e,t){b(e)?(t=e,e=["*"]):e=e.match(z);for(var n,r=0,i=e.length;r<i;r++)n=e[r],ct.tweeners[n]=ct.tweeners[n]||[],ct.tweeners[n].unshift(t)},prefilters:[function(e,t,n){var r,i,o,a,s,l,c,u,d="width"in t||"height"in t,p=this,f={},h=e.style,g=e.nodeType&&ae(e),m=Q.get(e,"fxshow");for(r in n.queue||(null==(a=_._queueHooks(e,"fx")).unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,p.always(function(){p.always(function(){a.unqueued--,_.queue(e,"fx").length||a.empty.fire()})})),t)if(i=t[r],rt.test(i)){if(delete t[r],o=o||"toggle"===i,i===(g?"hide":"show")){if("show"!==i||!m||void 0===m[r])continue;g=!0}f[r]=m&&m[r]||_.style(e,r)}if((l=!_.isEmptyObject(t))||!_.isEmptyObject(f))for(r in d&&1===e.nodeType&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],null==(c=m&&m.display)&&(c=Q.get(e,"display")),"none"===(u=_.css(e,"display"))&&(c?u=c:(de([e],!0),c=e.style.display||c,u=_.css(e,"display"),de([e]))),("inline"===u||"inline-block"===u&&null!=c)&&"none"===_.css(e,"float")&&(l||(p.done(function(){h.display=c}),null==c&&(u=h.display,c="none"===u?"":u)),h.display="inline-block")),n.overflow&&(h.overflow="hidden",p.always(function(){h.overflow=n.overflow[0],h.overflowX=n.overflow[1],h.overflowY=n.overflow[2]})),l=!1,f)l||(m?"hidden"in m&&(g=m.hidden):m=Q.access(e,"fxshow",{display:c}),o&&(m.hidden=!g),g&&de([e],!0),p.done(function(){for(r in g||de([e]),Q.remove(e,"fxshow"),f)_.style(e,r,f[r])})),l=lt(g?m[r]:0,r,p),r in m||(m[r]=l.start,g&&(l.end=l.start,l.start=0))}],prefilter:function(e,t){t?ct.prefilters.unshift(e):ct.prefilters.push(e)}}),_.speed=function(e,t,n){var r=e&&"object"==typeof e?_.extend({},e):{complete:n||!n&&t||b(e)&&e,duration:e,easing:n&&t||t&&!b(t)&&t};return _.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in _.fx.speeds?r.duration=_.fx.speeds[r.duration]:r.duration=_.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){b(r.old)&&r.old.call(this),r.queue&&_.dequeue(this,r.queue)},r},_.fn.extend({fadeTo:function(e,t,n,r){return this.filter(ae).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var i=_.isEmptyObject(e),o=_.speed(t,n,r),a=function(){var t=ct(this,_.extend({},e),o);(i||Q.get(this,"finish"))&&t.stop(!0)};return a.finish=a,i||!1===o.queue?this.each(a):this.queue(o.queue,a)},stop:function(e,t,n){var r=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&!1!==e&&this.queue(e||"fx",[]),this.each(function(){var t=!0,i=null!=e&&e+"queueHooks",o=_.timers,a=Q.get(this);if(i)a[i]&&a[i].stop&&r(a[i]);else for(i in a)a[i]&&a[i].stop&&it.test(i)&&r(a[i]);for(i=o.length;i--;)o[i].elem!==this||null!=e&&o[i].queue!==e||(o[i].anim.stop(n),t=!1,o.splice(i,1));!t&&n||_.dequeue(this,e)})},finish:function(e){return!1!==e&&(e=e||"fx"),this.each(function(){var t,n=Q.get(this),r=n[e+"queue"],i=n[e+"queueHooks"],o=_.timers,a=r?r.length:0;for(n.finish=!0,_.queue(this,e,[]),i&&i.stop&&i.stop.call(this,!0),t=o.length;t--;)o[t].elem===this&&o[t].queue===e&&(o[t].anim.stop(!0),o.splice(t,1));for(t=0;t<a;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish})}}),_.each(["toggle","show","hide"],function(e,t){var n=_.fn[t];_.fn[t]=function(e,r,i){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(st(t,!0),e,r,i)}}),_.each({slideDown:st("show"),slideUp:st("hide"),slideToggle:st("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){_.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}}),_.timers=[],_.fx.tick=function(){var e,t=0,n=_.timers;for(tt=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||_.fx.stop(),tt=void 0},_.fx.timer=function(e){_.timers.push(e),_.fx.start()},_.fx.interval=13,_.fx.start=function(){nt||(nt=!0,ot())},_.fx.stop=function(){nt=null},_.fx.speeds={slow:600,fast:200,_default:400},_.fn.delay=function(e,t){return e=_.fx&&_.fx.speeds[e]||e,t=t||"fx",this.queue(t,function(t,r){var i=n.setTimeout(t,e);r.stop=function(){n.clearTimeout(i)}})},function(){var e=a.createElement("input"),t=a.createElement("select").appendChild(a.createElement("option"));e.type="checkbox",v.checkOn=""!==e.value,v.optSelected=t.selected,(e=a.createElement("input")).value="t",e.type="radio",v.radioValue="t"===e.value}();var ut,dt=_.expr.attrHandle;_.fn.extend({attr:function(e,t){return H(this,_.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){_.removeAttr(this,e)})}}),_.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===e.getAttribute?_.prop(e,t,n):(1===o&&_.isXMLDoc(e)||(i=_.attrHooks[t.toLowerCase()]||(_.expr.match.bool.test(t)?ut:void 0)),void 0!==n?null===n?void _.removeAttr(e,t):i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:(e.setAttribute(t,n+""),n):i&&"get"in i&&null!==(r=i.get(e,t))?r:null==(r=_.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!v.radioValue&&"radio"===t&&P(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,i=t&&t.match(z);if(i&&1===e.nodeType)for(;n=i[r++];)e.removeAttribute(n)}}),ut={set:function(e,t,n){return!1===t?_.removeAttr(e,n):e.setAttribute(n,n),n}},_.each(_.expr.match.bool.source.match(/\w+/g),function(e,t){var n=dt[t]||_.find.attr;dt[t]=function(e,t,r){var i,o,a=t.toLowerCase();return r||(o=dt[a],dt[a]=i,i=null!=n(e,t,r)?a:null,dt[a]=o),i}});var pt=/^(?:input|select|textarea|button)$/i,ft=/^(?:a|area)$/i;function ht(e){return(e.match(z)||[]).join(" ")}function gt(e){return e.getAttribute&&e.getAttribute("class")||""}function mt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(z)||[]}_.fn.extend({prop:function(e,t){return H(this,_.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[_.propFix[e]||e]})}}),_.extend({prop:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&_.isXMLDoc(e)||(t=_.propFix[t]||t,i=_.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=_.find.attr(e,"tabindex");return t?parseInt(t,10):pt.test(e.nodeName)||ft.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),v.optSelected||(_.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),_.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){_.propFix[this.toLowerCase()]=this}),_.fn.extend({addClass:function(e){var t,n,r,i,o,a,s,l=0;if(b(e))return this.each(function(t){_(this).addClass(e.call(this,t,gt(this)))});if((t=mt(e)).length)for(;n=this[l++];)if(i=gt(n),r=1===n.nodeType&&" "+ht(i)+" "){for(a=0;o=t[a++];)r.indexOf(" "+o+" ")<0&&(r+=o+" ");i!==(s=ht(r))&&n.setAttribute("class",s)}return this},removeClass:function(e){var t,n,r,i,o,a,s,l=0;if(b(e))return this.each(function(t){_(this).removeClass(e.call(this,t,gt(this)))});if(!arguments.length)return this.attr("class","");if((t=mt(e)).length)for(;n=this[l++];)if(i=gt(n),r=1===n.nodeType&&" "+ht(i)+" "){for(a=0;o=t[a++];)for(;r.indexOf(" "+o+" ")>-1;)r=r.replace(" "+o+" "," ");i!==(s=ht(r))&&n.setAttribute("class",s)}return this},toggleClass:function(e,t){var n=typeof e,r="string"===n||Array.isArray(e);return"boolean"==typeof t&&r?t?this.addClass(e):this.removeClass(e):b(e)?this.each(function(n){_(this).toggleClass(e.call(this,n,gt(this),t),t)}):this.each(function(){var t,i,o,a;if(r)for(i=0,o=_(this),a=mt(e);t=a[i++];)o.hasClass(t)?o.removeClass(t):o.addClass(t);else void 0!==e&&"boolean"!==n||((t=gt(this))&&Q.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":Q.get(this,"__className__")||""))})},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&(" "+ht(gt(n))+" ").indexOf(t)>-1)return!0;return!1}});var vt=/\r/g;_.fn.extend({val:function(e){var t,n,r,i=this[0];return arguments.length?(r=b(e),this.each(function(n){var i;1===this.nodeType&&(null==(i=r?e.call(this,n,_(this).val()):e)?i="":"number"==typeof i?i+="":Array.isArray(i)&&(i=_.map(i,function(e){return null==e?"":e+""})),(t=_.valHooks[this.type]||_.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,i,"value")||(this.value=i))})):i?(t=_.valHooks[i.type]||_.valHooks[i.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(i,"value"))?n:"string"==typeof(n=i.value)?n.replace(vt,""):null==n?"":n:void 0}}),_.extend({valHooks:{option:{get:function(e){var t=_.find.attr(e,"value");return null!=t?t:ht(_.text(e))}},select:{get:function(e){var t,n,r,i=e.options,o=e.selectedIndex,a="select-one"===e.type,s=a?null:[],l=a?o+1:i.length;for(r=o<0?l:a?o:0;r<l;r++)if(((n=i[r]).selected||r===o)&&!n.disabled&&(!n.parentNode.disabled||!P(n.parentNode,"optgroup"))){if(t=_(n).val(),a)return t;s.push(t)}return s},set:function(e,t){for(var n,r,i=e.options,o=_.makeArray(t),a=i.length;a--;)((r=i[a]).selected=_.inArray(_.valHooks.option.get(r),o)>-1)&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),_.each(["radio","checkbox"],function(){_.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=_.inArray(_(e).val(),t)>-1}},v.checkOn||(_.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}),v.focusin="onfocusin"in n;var bt=/^(?:focusinfocus|focusoutblur)$/,yt=function(e){e.stopPropagation()};_.extend(_.event,{trigger:function(e,t,r,i){var o,s,l,c,u,d,p,f,g=[r||a],m=h.call(e,"type")?e.type:e,v=h.call(e,"namespace")?e.namespace.split("."):[];if(s=f=l=r=r||a,3!==r.nodeType&&8!==r.nodeType&&!bt.test(m+_.event.triggered)&&(m.indexOf(".")>-1&&(m=(v=m.split(".")).shift(),v.sort()),u=m.indexOf(":")<0&&"on"+m,(e=e[_.expando]?e:new _.Event(m,"object"==typeof e&&e)).isTrigger=i?2:3,e.namespace=v.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+v.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=r),t=null==t?[e]:_.makeArray(t,[e]),p=_.event.special[m]||{},i||!p.trigger||!1!==p.trigger.apply(r,t))){if(!i&&!p.noBubble&&!y(r)){for(c=p.delegateType||m,bt.test(c+m)||(s=s.parentNode);s;s=s.parentNode)g.push(s),l=s;l===(r.ownerDocument||a)&&g.push(l.defaultView||l.parentWindow||n)}for(o=0;(s=g[o++])&&!e.isPropagationStopped();)f=s,e.type=o>1?c:p.bindType||m,(d=(Q.get(s,"events")||{})[e.type]&&Q.get(s,"handle"))&&d.apply(s,t),(d=u&&s[u])&&d.apply&&Z(s)&&(e.result=d.apply(s,t),!1===e.result&&e.preventDefault());return e.type=m,i||e.isDefaultPrevented()||p._default&&!1!==p._default.apply(g.pop(),t)||!Z(r)||u&&b(r[m])&&!y(r)&&((l=r[u])&&(r[u]=null),_.event.triggered=m,e.isPropagationStopped()&&f.addEventListener(m,yt),r[m](),e.isPropagationStopped()&&f.removeEventListener(m,yt),_.event.triggered=void 0,l&&(r[u]=l)),e.result}},simulate:function(e,t,n){var r=_.extend(new _.Event,n,{type:e,isSimulated:!0});_.event.trigger(r,null,t)}}),_.fn.extend({trigger:function(e,t){return this.each(function(){_.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return _.event.trigger(e,t,n,!0)}}),v.focusin||_.each({focus:"focusin",blur:"focusout"},function(e,t){var n=function(e){_.event.simulate(t,e.target,_.event.fix(e))};_.event.special[t]={setup:function(){var r=this.ownerDocument||this,i=Q.access(r,t);i||r.addEventListener(e,n,!0),Q.access(r,t,(i||0)+1)},teardown:function(){var r=this.ownerDocument||this,i=Q.access(r,t)-1;i?Q.access(r,t,i):(r.removeEventListener(e,n,!0),Q.remove(r,t))}}});var xt=n.location,wt=Date.now(),kt=/\?/;_.parseXML=function(e){var t;if(!e||"string"!=typeof e)return null;try{t=(new n.DOMParser).parseFromString(e,"text/xml")}catch(e){t=void 0}return t&&!t.getElementsByTagName("parsererror").length||_.error("Invalid XML: "+e),t};var _t=/\[\]$/,$t=/\r?\n/g,Et=/^(?:submit|button|image|reset|file)$/i,St=/^(?:input|select|textarea|keygen)/i;function Ct(e,t,n,r){var i;if(Array.isArray(t))_.each(t,function(t,i){n||_t.test(e)?r(e,i):Ct(e+"["+("object"==typeof i&&null!=i?t:"")+"]",i,n,r)});else if(n||"object"!==k(t))r(e,t);else for(i in t)Ct(e+"["+i+"]",t[i],n,r)}_.param=function(e,t){var n,r=[],i=function(e,t){var n=b(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(Array.isArray(e)||e.jquery&&!_.isPlainObject(e))_.each(e,function(){i(this.name,this.value)});else for(n in e)Ct(n,e[n],t,i);return r.join("&")},_.fn.extend({serialize:function(){return _.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=_.prop(this,"elements");return e?_.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!_(this).is(":disabled")&&St.test(this.nodeName)&&!Et.test(e)&&(this.checked||!pe.test(e))}).map(function(e,t){var n=_(this).val();return null==n?null:Array.isArray(n)?_.map(n,function(e){return{name:t.name,value:e.replace($t,"\r\n")}}):{name:t.name,value:n.replace($t,"\r\n")}}).get()}});var Tt=/%20/g,At=/#.*$/,Pt=/([?&])_=[^&]*/,Ot=/^(.*?):[ \t]*([^\r\n]*)$/gm,Rt=/^(?:GET|HEAD)$/,jt=/^\/\//,Dt={},It={},Nt="*/".concat("*"),Mt=a.createElement("a");function zt(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,i=0,o=t.toLowerCase().match(z)||[];if(b(n))for(;r=o[i++];)"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function Lt(e,t,n,r){var i={},o=e===It;function a(s){var l;return i[s]=!0,_.each(e[s]||[],function(e,s){var c=s(t,n,r);return"string"!=typeof c||o||i[c]?o?!(l=c):void 0:(t.dataTypes.unshift(c),a(c),!1)}),l}return a(t.dataTypes[0])||!i["*"]&&a("*")}function qt(e,t){var n,r,i=_.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((i[n]?e:r||(r={}))[n]=t[n]);return r&&_.extend(!0,e,r),e}Mt.href=xt.href,_.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:xt.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(xt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Nt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":_.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?qt(qt(e,_.ajaxSettings),t):qt(_.ajaxSettings,e)},ajaxPrefilter:zt(Dt),ajaxTransport:zt(It),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var r,i,o,s,l,c,u,d,p,f,h=_.ajaxSetup({},t),g=h.context||h,m=h.context&&(g.nodeType||g.jquery)?_(g):_.event,v=_.Deferred(),b=_.Callbacks("once memory"),y=h.statusCode||{},x={},w={},k="canceled",$={readyState:0,getResponseHeader:function(e){var t;if(u){if(!s)for(s={};t=Ot.exec(o);)s[t[1].toLowerCase()]=t[2];t=s[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return u?o:null},setRequestHeader:function(e,t){return null==u&&(e=w[e.toLowerCase()]=w[e.toLowerCase()]||e,x[e]=t),this},overrideMimeType:function(e){return null==u&&(h.mimeType=e),this},statusCode:function(e){var t;if(e)if(u)$.always(e[$.status]);else for(t in e)y[t]=[y[t],e[t]];return this},abort:function(e){var t=e||k;return r&&r.abort(t),E(0,t),this}};if(v.promise($),h.url=((e||h.url||xt.href)+"").replace(jt,xt.protocol+"//"),h.type=t.method||t.type||h.method||h.type,h.dataTypes=(h.dataType||"*").toLowerCase().match(z)||[""],null==h.crossDomain){c=a.createElement("a");try{c.href=h.url,c.href=c.href,h.crossDomain=Mt.protocol+"//"+Mt.host!=c.protocol+"//"+c.host}catch(e){h.crossDomain=!0}}if(h.data&&h.processData&&"string"!=typeof h.data&&(h.data=_.param(h.data,h.traditional)),Lt(Dt,h,t,$),u)return $;for(p in(d=_.event&&h.global)&&0==_.active++&&_.event.trigger("ajaxStart"),h.type=h.type.toUpperCase(),h.hasContent=!Rt.test(h.type),i=h.url.replace(At,""),h.hasContent?h.data&&h.processData&&0===(h.contentType||"").indexOf("application/x-www-form-urlencoded")&&(h.data=h.data.replace(Tt,"+")):(f=h.url.slice(i.length),h.data&&(h.processData||"string"==typeof h.data)&&(i+=(kt.test(i)?"&":"?")+h.data,delete h.data),!1===h.cache&&(i=i.replace(Pt,"$1"),f=(kt.test(i)?"&":"?")+"_="+wt+++f),h.url=i+f),h.ifModified&&(_.lastModified[i]&&$.setRequestHeader("If-Modified-Since",_.lastModified[i]),_.etag[i]&&$.setRequestHeader("If-None-Match",_.etag[i])),(h.data&&h.hasContent&&!1!==h.contentType||t.contentType)&&$.setRequestHeader("Content-Type",h.contentType),$.setRequestHeader("Accept",h.dataTypes[0]&&h.accepts[h.dataTypes[0]]?h.accepts[h.dataTypes[0]]+("*"!==h.dataTypes[0]?", "+Nt+"; q=0.01":""):h.accepts["*"]),h.headers)$.setRequestHeader(p,h.headers[p]);if(h.beforeSend&&(!1===h.beforeSend.call(g,$,h)||u))return $.abort();if(k="abort",b.add(h.complete),$.done(h.success),$.fail(h.error),r=Lt(It,h,t,$)){if($.readyState=1,d&&m.trigger("ajaxSend",[$,h]),u)return $;h.async&&h.timeout>0&&(l=n.setTimeout(function(){$.abort("timeout")},h.timeout));try{u=!1,r.send(x,E)}catch(e){if(u)throw e;E(-1,e)}}else E(-1,"No Transport");function E(e,t,a,s){var c,p,f,x,w,k=t;u||(u=!0,l&&n.clearTimeout(l),r=void 0,o=s||"",$.readyState=e>0?4:0,c=e>=200&&e<300||304===e,a&&(x=function(e,t,n){for(var r,i,o,a,s=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(i in s)if(s[i]&&s[i].test(r)){l.unshift(i);break}if(l[0]in n)o=l[0];else{for(i in n){if(!l[0]||e.converters[i+" "+l[0]]){o=i;break}a||(a=i)}o=o||a}if(o)return o!==l[0]&&l.unshift(o),n[o]}(h,$,a)),x=function(e,t,n,r){var i,o,a,s,l,c={},u=e.dataTypes.slice();if(u[1])for(a in e.converters)c[a.toLowerCase()]=e.converters[a];for(o=u.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!l&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=o,o=u.shift())if("*"===o)o=l;else if("*"!==l&&l!==o){if(!(a=c[l+" "+o]||c["* "+o]))for(i in c)if((s=i.split(" "))[1]===o&&(a=c[l+" "+s[0]]||c["* "+s[0]])){!0===a?a=c[i]:!0!==c[i]&&(o=s[0],u.unshift(s[1]));break}if(!0!==a)if(a&&e.throws)t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+l+" to "+o}}}return{state:"success",data:t}}(h,x,$,c),c?(h.ifModified&&((w=$.getResponseHeader("Last-Modified"))&&(_.lastModified[i]=w),(w=$.getResponseHeader("etag"))&&(_.etag[i]=w)),204===e||"HEAD"===h.type?k="nocontent":304===e?k="notmodified":(k=x.state,p=x.data,c=!(f=x.error))):(f=k,!e&&k||(k="error",e<0&&(e=0))),$.status=e,$.statusText=(t||k)+"",c?v.resolveWith(g,[p,k,$]):v.rejectWith(g,[$,k,f]),$.statusCode(y),y=void 0,d&&m.trigger(c?"ajaxSuccess":"ajaxError",[$,h,c?p:f]),b.fireWith(g,[$,k]),d&&(m.trigger("ajaxComplete",[$,h]),--_.active||_.event.trigger("ajaxStop")))}return $},getJSON:function(e,t,n){return _.get(e,t,n,"json")},getScript:function(e,t){return _.get(e,void 0,t,"script")}}),_.each(["get","post"],function(e,t){_[t]=function(e,n,r,i){return b(n)&&(i=i||r,r=n,n=void 0),_.ajax(_.extend({url:e,type:t,dataType:i,data:n,success:r},_.isPlainObject(e)&&e))}}),_._evalUrl=function(e){return _.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,throws:!0})},_.fn.extend({wrapAll:function(e){var t;return this[0]&&(b(e)&&(e=e.call(this[0])),t=_(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(e){return b(e)?this.each(function(t){_(this).wrapInner(e.call(this,t))}):this.each(function(){var t=_(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=b(e);return this.each(function(n){_(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(e){return this.parent(e).not("body").each(function(){_(this).replaceWith(this.childNodes)}),this}}),_.expr.pseudos.hidden=function(e){return!_.expr.pseudos.visible(e)},_.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},_.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch(e){}};var Bt={0:200,1223:204},Vt=_.ajaxSettings.xhr();v.cors=!!Vt&&"withCredentials"in Vt,v.ajax=Vt=!!Vt,_.ajaxTransport(function(e){var t,r;if(v.cors||Vt&&!e.crossDomain)return{send:function(i,o){var a,s=e.xhr();if(s.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(a in e.xhrFields)s[a]=e.xhrFields[a];for(a in e.mimeType&&s.overrideMimeType&&s.overrideMimeType(e.mimeType),e.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest"),i)s.setRequestHeader(a,i[a]);t=function(e){return function(){t&&(t=r=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===e?s.abort():"error"===e?"number"!=typeof s.status?o(0,"error"):o(s.status,s.statusText):o(Bt[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=t(),r=s.onerror=s.ontimeout=t("error"),void 0!==s.onabort?s.onabort=r:s.onreadystatechange=function(){4===s.readyState&&n.setTimeout(function(){t&&r()})},t=t("abort");try{s.send(e.hasContent&&e.data||null)}catch(e){if(t)throw e}},abort:function(){t&&t()}}}),_.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),_.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return _.globalEval(e),e}}}),_.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),_.ajaxTransport("script",function(e){var t,n;if(e.crossDomain)return{send:function(r,i){t=_("<script>").prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&i("error"===e.type?404:200,e.type)}),a.head.appendChild(t[0])},abort:function(){n&&n()}}});var Ft=[],Ut=/(=)\?(?=&|$)|\?\?/;_.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Ft.pop()||_.expando+"_"+wt++;return this[e]=!0,e}}),_.ajaxPrefilter("json jsonp",function(e,t,r){var i,o,a,s=!1!==e.jsonp&&(Ut.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Ut.test(e.data)&&"data");if(s||"jsonp"===e.dataTypes[0])return i=e.jsonpCallback=b(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,s?e[s]=e[s].replace(Ut,"$1"+i):!1!==e.jsonp&&(e.url+=(kt.test(e.url)?"&":"?")+e.jsonp+"="+i),e.converters["script json"]=function(){return a||_.error(i+" was not called"),a[0]},e.dataTypes[0]="json",o=n[i],n[i]=function(){a=arguments},r.always(function(){void 0===o?_(n).removeProp(i):n[i]=o,e[i]&&(e.jsonpCallback=t.jsonpCallback,Ft.push(i)),a&&b(o)&&o(a[0]),a=o=void 0}),"script"}),v.createHTMLDocument=function(){var e=a.implementation.createHTMLDocument("").body;return e.innerHTML="<form></form><form></form>",2===e.childNodes.length}(),_.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(v.createHTMLDocument?((r=(t=a.implementation.createHTMLDocument("")).createElement("base")).href=a.location.href,t.head.appendChild(r)):t=a),i=O.exec(e),o=!n&&[],i?[t.createElement(i[1])]:(i=ye([e],t,o),o&&o.length&&_(o).remove(),_.merge([],i.childNodes)));var r,i,o},_.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return s>-1&&(r=ht(e.slice(s)),e=e.slice(0,s)),b(t)?(n=t,t=void 0):t&&"object"==typeof t&&(i="POST"),a.length>0&&_.ajax({url:e,type:i||"GET",dataType:"html",data:t}).done(function(e){o=arguments,a.html(r?_("<div>").append(_.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},_.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){_.fn[t]=function(e){return this.on(t,e)}}),_.expr.pseudos.animated=function(e){return _.grep(_.timers,function(t){return e===t.elem}).length},_.offset={setOffset:function(e,t,n){var r,i,o,a,s,l,c=_.css(e,"position"),u=_(e),d={};"static"===c&&(e.style.position="relative"),s=u.offset(),o=_.css(e,"top"),l=_.css(e,"left"),("absolute"===c||"fixed"===c)&&(o+l).indexOf("auto")>-1?(a=(r=u.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(l)||0),b(t)&&(t=t.call(e,n,_.extend({},s))),null!=t.top&&(d.top=t.top-s.top+a),null!=t.left&&(d.left=t.left-s.left+i),"using"in t?t.using.call(e,d):u.css(d)}},_.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){_.offset.setOffset(this,e,t)});var t,n,r=this[0];return r?r.getClientRects().length?(t=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:t.top+n.pageYOffset,left:t.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===_.css(r,"position"))t=r.getBoundingClientRect();else{for(t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===_.css(e,"position");)e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=_(e).offset()).top+=_.css(e,"borderTopWidth",!0),i.left+=_.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-_.css(r,"marginTop",!0),left:t.left-i.left-_.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===_.css(e,"position");)e=e.offsetParent;return e||xe})}}),_.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var n="pageYOffset"===t;_.fn[e]=function(r){return H(this,function(e,r,i){var o;if(y(e)?o=e:9===e.nodeType&&(o=e.defaultView),void 0===i)return o?o[t]:e[r];o?o.scrollTo(n?o.pageXOffset:i,n?i:o.pageYOffset):e[r]=i},e,r,arguments.length)}}),_.each(["top","left"],function(e,t){_.cssHooks[t]=Fe(v.pixelPosition,function(e,n){if(n)return n=Ve(e,t),Le.test(n)?_(e).position()[t]+"px":n})}),_.each({Height:"height",Width:"width"},function(e,t){_.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,r){_.fn[r]=function(i,o){var a=arguments.length&&(n||"boolean"!=typeof i),s=n||(!0===i||!0===o?"margin":"border");return H(this,function(t,n,i){var o;return y(t)?0===r.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(o=t.documentElement,Math.max(t.body["scroll"+e],o["scroll"+e],t.body["offset"+e],o["offset"+e],o["client"+e])):void 0===i?_.css(t,n,s):_.style(t,n,i,s)},t,a?i:void 0,a)}})}),_.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,t){_.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),_.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),_.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)}}),_.proxy=function(e,t){var n,r,i;if("string"==typeof t&&(n=e[t],t=e,e=n),b(e))return r=l.call(arguments,2),(i=function(){return e.apply(t||this,r.concat(l.call(arguments)))}).guid=e.guid=e.guid||_.guid++,i},_.holdReady=function(e){e?_.readyWait++:_.ready(!0)},_.isArray=Array.isArray,_.parseJSON=JSON.parse,_.nodeName=P,_.isFunction=b,_.isWindow=y,_.camelCase=Y,_.type=k,_.now=Date.now,_.isNumeric=function(e){var t=_.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},void 0===(r=function(){return _}.apply(t,[]))||(e.exports=r);var Ht=n.jQuery,Wt=n.$;return _.noConflict=function(e){return n.$===_&&(n.$=Wt),e&&n.jQuery===_&&(n.jQuery=Ht),_},i||(n.jQuery=n.$=_),_})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),i=n(18),o=n(0),a=n(3),s=n(30),l=n(22);function c(e){var t=u(e),n=t.match(/^(function [^ ]+\([^)]*\))/),r=n?n[1]:t,i=e.name||"";return i&&r.match(/function \(/)?"function "+i+r.substr(9):r}function u(e){var t=r.isArray(e)?e.slice(-1)[0]:e;return t&&t.toString()||"undefined"}t.maxLength=function(e,t){return t.length<=e?t:t.substr(0,e-3)+"..."},t.padString=function(e,t){for(;t.length<e;)t+=" ";return t},t.kebobString=function(e){return e.replace(/^([A-Z])/,function(e){return e.toLowerCase()}).replace(/([A-Z])/g,function(e){return"-"+e.toLowerCase()})},t.functionToString=c,t.fnToString=u;var d=null,p=function(e){var t=i.Rejection.isRejectionPromise;return(d=d||a.pattern([[a.not(r.isDefined),a.val("undefined")],[r.isNull,a.val("null")],[r.isPromise,a.val("[Promise]")],[t,function(e){return e._transitionRejection.toString()}],[a.is(i.Rejection),a.invoke("toString")],[a.is(s.Transition),a.invoke("toString")],[a.is(l.Resolvable),a.invoke("toString")],[r.isInjectable,c],[a.val(!0),o.identity]]))(e)};t.stringify=function(e){var t=[];return JSON.stringify(e,function(e,n){return function(e){if(r.isObject(e)){if(-1!==t.indexOf(e))return"[circular ref]";t.push(e)}return p(e)}(n)}).replace(/\\"/g,'"')},t.beforeAfterSubstr=function(e){return function(t){if(!t)return["",""];var n=t.indexOf(e);return-1===n?[t,""]:[t.substr(0,n),t.substr(n+1)]}},t.hostRegex=new RegExp("^(?:[a-z]+:)?//[^/]+/"),t.stripLastPathElement=function(e){return e.replace(/\/[^/]*$/,"")},t.splitHash=t.beforeAfterSubstr("#"),t.splitQuery=t.beforeAfterSubstr("?"),t.splitEqual=t.beforeAfterSubstr("="),t.trimHashVal=function(e){return e?e.replace(/^#/,""):""},t.splitOnDelim=function(e){var t=new RegExp("("+e+")","g");return function(e){return e.split(t).filter(o.identity)}},t.joinNeighborsR=function(e,t){return r.isString(o.tail(e))&&r.isString(t)?e.slice(0,-1).concat(o.tail(e)+t):o.pushR(e,t)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(3),i=n(1),o=n(12);function a(e){if(!e)return"ui-view (defunct)";var t=e.creationContext?e.creationContext.name||"(root)":"(none)";return"[ui-view#"+e.id+" "+e.$type+":"+e.fqn+" ("+e.name+"@"+t+")]"}function s(e){return i.isNumber(e)?l[e]:l[l[e]]}var l,c=Function.prototype.bind.call(console.log,console),u=i.isFunction(console.table)?console.table.bind(console):c.bind(console);!function(e){e[e.RESOLVE=0]="RESOLVE",e[e.TRANSITION=1]="TRANSITION",e[e.HOOK=2]="HOOK",e[e.UIVIEW=3]="UIVIEW",e[e.VIEWCONFIG=4]="VIEWCONFIG"}(l||(l={})),t.Category=l;var d=r.parse("$id"),p=r.parse("router.$id"),f=function(e){return"Transition #"+d(e)+"-"+p(e)},h=function(){function e(){this._enabled={},this.approximateDigests=0}return e.prototype._set=function(e,t){var n=this;t.length||(t=Object.keys(l).map(function(e){return parseInt(e,10)}).filter(function(e){return!isNaN(e)}).map(function(e){return l[e]})),t.map(s).forEach(function(t){return n._enabled[t]=e})},e.prototype.enable=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this._set(!0,e)},e.prototype.disable=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this._set(!1,e)},e.prototype.enabled=function(e){return!!this._enabled[s(e)]},e.prototype.traceTransitionStart=function(e){this.enabled(l.TRANSITION)&&console.log(f(e)+": Started  -> "+o.stringify(e))},e.prototype.traceTransitionIgnored=function(e){this.enabled(l.TRANSITION)&&console.log(f(e)+": Ignored  <> "+o.stringify(e))},e.prototype.traceHookInvocation=function(e,t,n){if(this.enabled(l.HOOK)){var i=r.parse("traceData.hookType")(n)||"internal",a=r.parse("traceData.context.state.name")(n)||r.parse("traceData.context")(n)||"unknown",s=o.functionToString(e.registeredHook.callback);console.log(f(t)+":   Hook -> "+i+" context: "+a+", "+o.maxLength(200,s))}},e.prototype.traceHookResult=function(e,t,n){this.enabled(l.HOOK)&&console.log(f(t)+":   <- Hook returned: "+o.maxLength(200,o.stringify(e)))},e.prototype.traceResolvePath=function(e,t,n){this.enabled(l.RESOLVE)&&console.log(f(n)+":         Resolving "+e+" ("+t+")")},e.prototype.traceResolvableResolved=function(e,t){this.enabled(l.RESOLVE)&&console.log(f(t)+":               <- Resolved  "+e+" to: "+o.maxLength(200,o.stringify(e.data)))},e.prototype.traceError=function(e,t){this.enabled(l.TRANSITION)&&console.log(f(t)+": <- Rejected "+o.stringify(t)+", reason: "+e)},e.prototype.traceSuccess=function(e,t){this.enabled(l.TRANSITION)&&console.log(f(t)+": <- Success  "+o.stringify(t)+", final state: "+e.name)},e.prototype.traceUIViewEvent=function(e,t,n){void 0===n&&(n=""),this.enabled(l.UIVIEW)&&console.log("ui-view: "+o.padString(30,e)+" "+a(t)+n)},e.prototype.traceUIViewConfigUpdated=function(e,t){this.enabled(l.UIVIEW)&&this.traceUIViewEvent("Updating",e," with ViewConfig from context='"+t+"'")},e.prototype.traceUIViewFill=function(e,t){this.enabled(l.UIVIEW)&&this.traceUIViewEvent("Fill",e," with: "+o.maxLength(200,t))},e.prototype.traceViewSync=function(e){if(this.enabled(l.VIEWCONFIG)){var t="uiview component fqn",n=e.map(function(e){var n,r=e.uiView,i=e.viewConfig,o=r&&r.fqn,a=i&&i.viewDecl.$context.name+": ("+i.viewDecl.$name+")";return(n={})[t]=o,n["view config state (view name)"]=a,n}).sort(function(e,n){return(e[t]||"").localeCompare(n[t]||"")});u(n)}},e.prototype.traceViewServiceEvent=function(e,t){this.enabled(l.VIEWCONFIG)&&console.log("VIEWCONFIG: "+e+" "+function(e){var t=e.viewDecl,n=t.$context.name||"(root)";return"[View#"+e.$id+" from '"+n+"' state]: target ui-view: '"+t.$uiViewName+"@"+t.$uiViewContextAnchor+"'"}(t))},e.prototype.traceViewServiceUIViewEvent=function(e,t){this.enabled(l.VIEWCONFIG)&&console.log("VIEWCONFIG: "+e+" "+a(t))},e}();t.Trace=h;var g=new h;t.trace=g},function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(0),o=n(3),a=n(1),s=n(5),l=n(35),c=Object.prototype.hasOwnProperty,u=function(e){return 0===["value","type","squash","array","dynamic"].filter(c.bind(e||{})).length};!function(e){e[e.PATH=0]="PATH",e[e.SEARCH=1]="SEARCH",e[e.CONFIG=2]="CONFIG"}(r||(r={})),t.DefType=r;var d=function(){function e(e,t,n,s,c){t=function(e,t,n,i,o){if(e.type&&t&&"string"!==t.name)throw new Error("Param '"+i+"' has two type configurations.");if(e.type&&t&&"string"===t.name&&o.type(e.type))return o.type(e.type);if(t)return t;if(!e.type){var a=n===r.CONFIG?"any":n===r.PATH?"path":n===r.SEARCH?"query":"string";return o.type(a)}return e.type instanceof l.ParamType?e.type:o.type(e.type)}(n=function(e){function t(){return e.value}return e=u(e)&&{value:e}||e,t.__cacheable=!0,i.extend(e,{$$fn:a.isInjectable(e.value)?e.value:t})}(n),t,s,e,c.paramTypes);var d=function(){var t={array:s===r.SEARCH&&"auto"},o=e.match(/\[\]$/)?{array:!0}:{};return i.extend(t,o,n).array}();t=d?t.$asArray(d,s===r.SEARCH):t;var p=void 0!==n.value||s===r.SEARCH,f=a.isDefined(n.dynamic)?!!n.dynamic:!!t.dynamic,h=a.isDefined(n.raw)?!!n.raw:!!t.raw,g=function(e,t,n){var r=e.squash;if(!t||!1===r)return!1;if(!a.isDefined(r)||null==r)return n;if(!0===r||a.isString(r))return r;throw new Error("Invalid squash policy: '"+r+"'. Valid policies: false, true, or arbitrary string")}(n,p,c.defaultSquashPolicy()),m=function(e,t,n,r){var s=[{from:"",to:n||t?void 0:""},{from:null,to:n||t?void 0:""}],l=a.isArray(e.replace)?e.replace:[];a.isString(r)&&l.push({from:r,to:void 0});var c=i.map(l,o.prop("from"));return i.filter(s,function(e){return-1===c.indexOf(e.from)}).concat(l)}(n,d,p,g),v=a.isDefined(n.inherit)?!!n.inherit:!!t.inherit;i.extend(this,{id:e,type:t,location:s,isOptional:p,dynamic:f,raw:h,squash:g,replace:m,inherit:v,array:d,config:n})}return e.values=function(e,t){void 0===t&&(t={});for(var n={},r=0,i=e;r<i.length;r++){var o=i[r];n[o.id]=o.value(t[o.id])}return n},e.changed=function(e,t,n){return void 0===t&&(t={}),void 0===n&&(n={}),e.filter(function(e){return!e.type.equals(t[e.id],n[e.id])})},e.equals=function(t,n,r){return void 0===n&&(n={}),void 0===r&&(r={}),0===e.changed(t,n,r).length},e.validates=function(e,t){return void 0===t&&(t={}),e.map(function(e){return e.validates(t[e.id])}).reduce(i.allTrueR,!0)},e.prototype.isDefaultValue=function(e){return this.isOptional&&this.type.equals(this.value(),e)},e.prototype.value=function(e){var t=this;return e=function(e){for(var n=0,r=t.replace;n<r.length;n++){var i=r[n];if(i.from===e)return i.to}return e}(e),a.isUndefined(e)?function(){if(t._defaultValueCache)return t._defaultValueCache.defaultValue;if(!s.services.$injector)throw new Error("Injectable functions cannot be called at configuration time");var e=s.services.$injector.invoke(t.config.$$fn);if(null!==e&&void 0!==e&&!t.type.is(e))throw new Error("Default value ("+e+") for parameter '"+t.id+"' is not an instance of ParamType ("+t.type.name+")");return t.config.$$fn.__cacheable&&(t._defaultValueCache={defaultValue:e}),e}():this.type.$normalize(e)},e.prototype.isSearch=function(){return this.location===r.SEARCH},e.prototype.validates=function(e){if((a.isUndefined(e)||null===e)&&this.isOptional)return!0;var t=this.type.$normalize(e);if(!this.type.is(t))return!1;var n=this.type.encode(t);return!(a.isString(n)&&!this.type.pattern.exec(n))},e.prototype.toString=function(){return"{Param:"+this.id+" "+this.type+" squash: '"+this.squash+"' optional: "+this.isOptional+"}"},e}();t.Param=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),i=n(12),o=n(9),a=function(){function e(e,t,n,r){this._stateRegistry=e,this._identifier=t,this._identifier=t,this._params=o.extend({},n||{}),this._options=o.extend({},r||{}),this._definition=e.matcher.find(t,this._options.relative)}return e.prototype.name=function(){return this._definition&&this._definition.name||this._identifier},e.prototype.identifier=function(){return this._identifier},e.prototype.params=function(){return this._params},e.prototype.$state=function(){return this._definition},e.prototype.state=function(){return this._definition&&this._definition.self},e.prototype.options=function(){return this._options},e.prototype.exists=function(){return!(!this._definition||!this._definition.self)},e.prototype.valid=function(){return!this.error()},e.prototype.error=function(){var e=this.options().relative;if(!this._definition&&e){var t=e.name?e.name:e;return"Could not resolve '"+this.name()+"' from state '"+t+"'"}return this._definition?this._definition.self?void 0:"State '"+this.name()+"' has an invalid definition":"No such state '"+this.name()+"'"},e.prototype.toString=function(){return"'"+this.name()+"'"+i.stringify(this.params())},e.prototype.withState=function(t){return new e(this._stateRegistry,t,this._params,this._options)},e.prototype.withParams=function(t,n){void 0===n&&(n=!1);var r=n?t:o.extend({},this._params,t);return new e(this._stateRegistry,this._identifier,r,this._options)},e.prototype.withOptions=function(t,n){void 0===n&&(n=!1);var r=n?t:o.extend({},this._options,t);return new e(this._stateRegistry,this._identifier,this._params,r)},e.isDef=function(e){return e&&e.state&&(r.isString(e.state)||r.isString(e.state.name))},e}();t.TargetState=a},function(e,t,n){"use strict";var r,i;Object.defineProperty(t,"__esModule",{value:!0}),function(e){e[e.CREATE=0]="CREATE",e[e.BEFORE=1]="BEFORE",e[e.RUN=2]="RUN",e[e.SUCCESS=3]="SUCCESS",e[e.ERROR=4]="ERROR"}(r||(r={})),t.TransitionHookPhase=r,function(e){e[e.TRANSITION=0]="TRANSITION",e[e.STATE=1]="STATE"}(i||(i={})),t.TransitionHookScope=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(0),o=n(12),a=n(3);!function(e){e[e.SUPERSEDED=2]="SUPERSEDED",e[e.ABORTED=3]="ABORTED",e[e.INVALID=4]="INVALID",e[e.IGNORED=5]="IGNORED",e[e.ERROR=6]="ERROR"}(r||(r={})),t.RejectType=r;var s=0,l=function(){function e(e,t,n){this.$id=s++,this.type=e,this.message=t,this.detail=n}return e.isRejectionPromise=function(t){return t&&"function"==typeof t.then&&a.is(e)(t._transitionRejection)},e.superseded=function(t,n){var i=new e(r.SUPERSEDED,"The transition has been superseded by a different transition",t);return n&&n.redirected&&(i.redirected=!0),i},e.redirected=function(t){return e.superseded(t,{redirected:!0})},e.invalid=function(t){return new e(r.INVALID,"This transition is invalid",t)},e.ignored=function(t){return new e(r.IGNORED,"The transition was ignored",t)},e.aborted=function(t){return new e(r.ABORTED,"The transition has been aborted",t)},e.errored=function(t){return new e(r.ERROR,"The transition errored",t)},e.normalize=function(t){return a.is(e)(t)?t:e.errored(t)},e.prototype.toString=function(){var e=function(e){return e&&e.toString!==Object.prototype.toString?e.toString():o.stringify(e)}(this.detail);return"Transition Rejection($id: "+this.$id+" type: "+this.type+", message: "+this.message+", detail: "+e+")"},e.prototype.toPromise=function(){return i.extend(i.silentRejection(this),{_transitionRejection:this})},e}();t.Rejection=l},function(e,t,n){var r={},i=function(e){var t;return function(){return void 0===t&&(t=e.apply(this,arguments)),t}}(function(){return window&&document&&document.all&&!window.atob}),o=function(e){var t={};return function(e){if("function"==typeof e)return e();if(void 0===t[e]){var n=function(e){return document.querySelector(e)}.call(this,e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}}(),a=null,s=0,l=[],c=n(205);function u(e,t){for(var n=0;n<e.length;n++){var i=e[n],o=r[i.id];if(o){o.refs++;for(var a=0;a<o.parts.length;a++)o.parts[a](i.parts[a]);for(;a<i.parts.length;a++)o.parts.push(m(i.parts[a],t))}else{var s=[];for(a=0;a<i.parts.length;a++)s.push(m(i.parts[a],t));r[i.id]={id:i.id,refs:1,parts:s}}}}function d(e,t){for(var n=[],r={},i=0;i<e.length;i++){var o=e[i],a=t.base?o[0]+t.base:o[0],s={css:o[1],media:o[2],sourceMap:o[3]};r[a]?r[a].parts.push(s):n.push(r[a]={id:a,parts:[s]})}return n}function p(e,t){var n=o(e.insertInto);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var r=l[l.length-1];if("top"===e.insertAt)r?r.nextSibling?n.insertBefore(t,r.nextSibling):n.appendChild(t):n.insertBefore(t,n.firstChild),l.push(t);else if("bottom"===e.insertAt)n.appendChild(t);else{if("object"!=typeof e.insertAt||!e.insertAt.before)throw new Error("[Style Loader]\n\n Invalid value for parameter 'insertAt' ('options.insertAt') found.\n Must be 'top', 'bottom', or Object.\n (https://github.com/webpack-contrib/style-loader#insertat)\n");var i=o(e.insertInto+" "+e.insertAt.before);n.insertBefore(t,i)}}function f(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e);var t=l.indexOf(e);t>=0&&l.splice(t,1)}function h(e){var t=document.createElement("style");return void 0===e.attrs.type&&(e.attrs.type="text/css"),g(t,e.attrs),p(e,t),t}function g(e,t){Object.keys(t).forEach(function(n){e.setAttribute(n,t[n])})}function m(e,t){var n,r,i,o;if(t.transform&&e.css){if(!(o=t.transform(e.css)))return function(){};e.css=o}if(t.singleton){var l=s++;n=a||(a=h(t)),r=b.bind(null,n,l,!1),i=b.bind(null,n,l,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=function(e){var t=document.createElement("link");return void 0===e.attrs.type&&(e.attrs.type="text/css"),e.attrs.rel="stylesheet",g(t,e.attrs),p(e,t),t}(t),r=function(e,t,n){var r=n.css,i=n.sourceMap,o=void 0===t.convertToAbsoluteUrls&&i;(t.convertToAbsoluteUrls||o)&&(r=c(r));i&&(r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */");var a=new Blob([r],{type:"text/css"}),s=e.href;e.href=URL.createObjectURL(a),s&&URL.revokeObjectURL(s)}.bind(null,n,t),i=function(){f(n),n.href&&URL.revokeObjectURL(n.href)}):(n=h(t),r=function(e,t){var n=t.css,r=t.media;r&&e.setAttribute("media",r);if(e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}.bind(null,n),i=function(){f(n)});return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else i()}}e.exports=function(e,t){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(t=t||{}).attrs="object"==typeof t.attrs?t.attrs:{},t.singleton||"boolean"==typeof t.singleton||(t.singleton=i()),t.insertInto||(t.insertInto="head"),t.insertAt||(t.insertAt="bottom");var n=d(e,t);return u(n,t),function(e){for(var i=[],o=0;o<n.length;o++){var a=n[o];(s=r[a.id]).refs--,i.push(s)}e&&u(d(e,t),t);for(o=0;o<i.length;o++){var s;if(0===(s=i[o]).refs){for(var l=0;l<s.parts.length;l++)s.parts[l]();delete r[s.id]}}}};var v=function(){var e=[];return function(t,n){return e[t]=n,e.filter(Boolean).join("\n")}}();function b(e,t,n,r){var i=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=v(t,i);else{var o=document.createTextNode(i),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(o,a[t]):e.appendChild(o)}}},function(e,t){e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var n=function(e,t){var n=e[1]||"",r=e[3];if(!r)return n;if(t&&"function"==typeof btoa){var i=function(e){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(e))))+" */"}(r),o=r.sources.map(function(e){return"/*# sourceURL="+r.sourceRoot+e+" */"});return[n].concat(o).concat([i]).join("\n")}return[n].join("\n")}(t,e);return t[2]?"@media "+t[2]+"{"+n+"}":n}).join("")},t.i=function(e,n){"string"==typeof e&&(e=[[null,e,""]]);for(var r={},i=0;i<this.length;i++){var o=this[i][0];"number"==typeof o&&(r[o]=!0)}for(i=0;i<e.length;i++){var a=e[i];"number"==typeof a[0]&&r[a[0]]||(n&&!a[2]?a[2]=n:n&&(a[2]="("+a[2]+") and ("+n+")"),t.push(a))}},t}},function(e,t,n){!function(e){"object"==typeof window&&window||"object"==typeof self&&self;(function(e){var t=[],n=Object.keys,r={},i={},o=/^(no-?highlight|plain|text)$/i,a=/\blang(?:uage)?-([\w-]+)\b/i,s=/((^(<[^>]+>|\t|)+|(?:\n)))/gm,l="</span>",c={classPrefix:"hljs-",tabReplace:null,useBR:!1,languages:void 0};function u(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function d(e){return e.nodeName.toLowerCase()}function p(e,t){var n=e&&e.exec(t);return n&&0===n.index}function f(e){return o.test(e)}function h(e){var t,n={},r=Array.prototype.slice.call(arguments,1);for(t in e)n[t]=e[t];return r.forEach(function(e){for(t in e)n[t]=e[t]}),n}function g(e){var t=[];return function e(n,r){for(var i=n.firstChild;i;i=i.nextSibling)3===i.nodeType?r+=i.nodeValue.length:1===i.nodeType&&(t.push({event:"start",offset:r,node:i}),r=e(i,r),d(i).match(/br|hr|img|input/)||t.push({event:"stop",offset:r,node:i}));return r}(e,0),t}function m(e){function t(e){return e&&e.source||e}function r(n,r){return new RegExp(t(n),"m"+(e.case_insensitive?"i":"")+(r?"g":""))}!function i(o,a){if(o.compiled)return;o.compiled=!0;o.keywords=o.keywords||o.beginKeywords;if(o.keywords){var s={},l=function(t,n){e.case_insensitive&&(n=n.toLowerCase()),n.split(" ").forEach(function(e){var n=e.split("|");s[n[0]]=[t,n[1]?Number(n[1]):1]})};"string"==typeof o.keywords?l("keyword",o.keywords):n(o.keywords).forEach(function(e){l(e,o.keywords[e])}),o.keywords=s}o.lexemesRe=r(o.lexemes||/\w+/,!0);a&&(o.beginKeywords&&(o.begin="\\b("+o.beginKeywords.split(" ").join("|")+")\\b"),o.begin||(o.begin=/\B|\b/),o.beginRe=r(o.begin),o.end||o.endsWithParent||(o.end=/\B|\b/),o.end&&(o.endRe=r(o.end)),o.terminator_end=t(o.end)||"",o.endsWithParent&&a.terminator_end&&(o.terminator_end+=(o.end?"|":"")+a.terminator_end));o.illegal&&(o.illegalRe=r(o.illegal));null==o.relevance&&(o.relevance=1);o.contains||(o.contains=[]);o.contains=Array.prototype.concat.apply([],o.contains.map(function(e){return function(e){e.variants&&!e.cached_variants&&(e.cached_variants=e.variants.map(function(t){return h(e,{variants:null},t)}));return e.cached_variants||e.endsWithParent&&[h(e)]||[e]}("self"===e?o:e)}));o.contains.forEach(function(e){i(e,o)});o.starts&&i(o.starts,a);var c=o.contains.map(function(e){return e.beginKeywords?"\\.?("+e.begin+")\\.?":e.begin}).concat([o.terminator_end,o.illegal]).map(t).filter(Boolean);o.terminators=c.length?r(c.join("|"),!0):{exec:function(){return null}}}(e)}function v(e,t,n,i){function o(e,t){var n=h.case_insensitive?t[0].toLowerCase():t[0];return e.keywords.hasOwnProperty(n)&&e.keywords[n]}function a(e,t,n,r){var i=r?"":c.classPrefix,o='<span class="'+i,a=n?"":l;return(o+=e+'">')+t+a}function s(){w+=null!=y.subLanguage?function(){var e="string"==typeof y.subLanguage;if(e&&!r[y.subLanguage])return u(_);var t=e?v(y.subLanguage,_,!0,x[y.subLanguage]):b(_,y.subLanguage.length?y.subLanguage:void 0);y.relevance>0&&($+=t.relevance);e&&(x[y.subLanguage]=t.top);return a(t.language,t.value,!1,!0)}():function(){var e,t,n,r;if(!y.keywords)return u(_);r="",t=0,y.lexemesRe.lastIndex=0,n=y.lexemesRe.exec(_);for(;n;)r+=u(_.substring(t,n.index)),(e=o(y,n))?($+=e[1],r+=a(e[0],u(n[0]))):r+=u(n[0]),t=y.lexemesRe.lastIndex,n=y.lexemesRe.exec(_);return r+u(_.substr(t))}(),_=""}function d(e){w+=e.className?a(e.className,"",!0):"",y=Object.create(e,{parent:{value:y}})}function f(e,t){if(_+=e,null==t)return s(),0;var r=function(e,t){var n,r;for(n=0,r=t.contains.length;n<r;n++)if(p(t.contains[n].beginRe,e))return t.contains[n]}(t,y);if(r)return r.skip?_+=t:(r.excludeBegin&&(_+=t),s(),r.returnBegin||r.excludeBegin||(_=t)),d(r),r.returnBegin?0:t.length;var i=function e(t,n){if(p(t.endRe,n)){for(;t.endsParent&&t.parent;)t=t.parent;return t}if(t.endsWithParent)return e(t.parent,n)}(y,t);if(i){var o=y;o.skip?_+=t:(o.returnEnd||o.excludeEnd||(_+=t),s(),o.excludeEnd&&(_=t));do{y.className&&(w+=l),y.skip||($+=y.relevance),y=y.parent}while(y!==i.parent);return i.starts&&d(i.starts),o.returnEnd?0:t.length}if(function(e,t){return!n&&p(t.illegalRe,e)}(t,y))throw new Error('Illegal lexeme "'+t+'" for mode "'+(y.className||"<unnamed>")+'"');return _+=t,t.length||1}var h=k(e);if(!h)throw new Error('Unknown language: "'+e+'"');m(h);var g,y=i||h,x={},w="";for(g=y;g!==h;g=g.parent)g.className&&(w=a(g.className,"",!0)+w);var _="",$=0;try{for(var E,S,C=0;y.terminators.lastIndex=C,E=y.terminators.exec(t);)S=f(t.substring(C,E.index),E[0]),C=E.index+S;for(f(t.substr(C)),g=y;g.parent;g=g.parent)g.className&&(w+=l);return{relevance:$,value:w,language:e,top:y}}catch(e){if(e.message&&-1!==e.message.indexOf("Illegal"))return{relevance:0,value:u(t)};throw e}}function b(e,t){t=t||c.languages||n(r);var i={relevance:0,value:u(e)},o=i;return t.filter(k).forEach(function(t){var n=v(t,e,!1);n.language=t,n.relevance>o.relevance&&(o=n),n.relevance>i.relevance&&(o=i,i=n)}),o.language&&(i.second_best=o),i}function y(e){return c.tabReplace||c.useBR?e.replace(s,function(e,t){return c.useBR&&"\n"===e?"<br>":c.tabReplace?t.replace(/\t/g,c.tabReplace):""}):e}function x(e){var n,r,o,s,l,p=function(e){var t,n,r,i,o=e.className+" ";if(o+=e.parentNode?e.parentNode.className:"",n=a.exec(o))return k(n[1])?n[1]:"no-highlight";for(o=o.split(/\s+/),t=0,r=o.length;t<r;t++)if(f(i=o[t])||k(i))return i}(e);f(p)||(c.useBR?(n=document.createElementNS("http://www.w3.org/1999/xhtml","div")).innerHTML=e.innerHTML.replace(/\n/g,"").replace(/<br[ \/]*>/g,"\n"):n=e,l=n.textContent,o=p?v(p,l,!0):b(l),(r=g(n)).length&&((s=document.createElementNS("http://www.w3.org/1999/xhtml","div")).innerHTML=o.value,o.value=function(e,n,r){var i=0,o="",a=[];function s(){return e.length&&n.length?e[0].offset!==n[0].offset?e[0].offset<n[0].offset?e:n:"start"===n[0].event?e:n:e.length?e:n}function l(e){o+="<"+d(e)+t.map.call(e.attributes,function(e){return" "+e.nodeName+'="'+u(e.value).replace('"',"&quot;")+'"'}).join("")+">"}function c(e){o+="</"+d(e)+">"}function p(e){("start"===e.event?l:c)(e.node)}for(;e.length||n.length;){var f=s();if(o+=u(r.substring(i,f[0].offset)),i=f[0].offset,f===e){a.reverse().forEach(c);do{p(f.splice(0,1)[0]),f=s()}while(f===e&&f.length&&f[0].offset===i);a.reverse().forEach(l)}else"start"===f[0].event?a.push(f[0].node):a.pop(),p(f.splice(0,1)[0])}return o+u(r.substr(i))}(r,g(s),l)),o.value=y(o.value),e.innerHTML=o.value,e.className=function(e,t,n){var r=t?i[t]:n,o=[e.trim()];e.match(/\bhljs\b/)||o.push("hljs");-1===e.indexOf(r)&&o.push(r);return o.join(" ").trim()}(e.className,p,o.language),e.result={language:o.language,re:o.relevance},o.second_best&&(e.second_best={language:o.second_best.language,re:o.second_best.relevance}))}function w(){if(!w.called){w.called=!0;var e=document.querySelectorAll("pre code");t.forEach.call(e,x)}}function k(e){return e=(e||"").toLowerCase(),r[e]||r[i[e]]}e.highlight=v,e.highlightAuto=b,e.fixMarkup=y,e.highlightBlock=x,e.configure=function(e){c=h(c,e)},e.initHighlighting=w,e.initHighlightingOnLoad=function(){addEventListener("DOMContentLoaded",w,!1),addEventListener("load",w,!1)},e.registerLanguage=function(t,n){var o=r[t]=n(e);o.aliases&&o.aliases.forEach(function(e){i[e]=t})},e.listLanguages=function(){return n(r)},e.getLanguage=k,e.inherit=h,e.IDENT_RE="[a-zA-Z]\\w*",e.UNDERSCORE_IDENT_RE="[a-zA-Z_]\\w*",e.NUMBER_RE="\\b\\d+(\\.\\d+)?",e.C_NUMBER_RE="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",e.BINARY_NUMBER_RE="\\b(0b[01]+)",e.RE_STARTERS_RE="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",e.BACKSLASH_ESCAPE={begin:"\\\\[\\s\\S]",relevance:0},e.APOS_STRING_MODE={className:"string",begin:"'",end:"'",illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},e.QUOTE_STRING_MODE={className:"string",begin:'"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},e.PHRASAL_WORDS_MODE={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},e.COMMENT=function(t,n,r){var i=e.inherit({className:"comment",begin:t,end:n,contains:[]},r||{});return i.contains.push(e.PHRASAL_WORDS_MODE),i.contains.push({className:"doctag",begin:"(?:TODO|FIXME|NOTE|BUG|XXX):",relevance:0}),i},e.C_LINE_COMMENT_MODE=e.COMMENT("//","$"),e.C_BLOCK_COMMENT_MODE=e.COMMENT("/\\*","\\*/"),e.HASH_COMMENT_MODE=e.COMMENT("#","$"),e.NUMBER_MODE={className:"number",begin:e.NUMBER_RE,relevance:0},e.C_NUMBER_MODE={className:"number",begin:e.C_NUMBER_RE,relevance:0},e.BINARY_NUMBER_MODE={className:"number",begin:e.BINARY_NUMBER_RE,relevance:0},e.CSS_NUMBER_MODE={className:"number",begin:e.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},e.REGEXP_MODE={className:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[e.BACKSLASH_ESCAPE,{begin:/\[/,end:/\]/,relevance:0,contains:[e.BACKSLASH_ESCAPE]}]},e.TITLE_MODE={className:"title",begin:e.IDENT_RE,relevance:0},e.UNDERSCORE_TITLE_MODE={className:"title",begin:e.UNDERSCORE_IDENT_RE,relevance:0},e.METHOD_GUARD={begin:"\\.\\s*"+e.UNDERSCORE_IDENT_RE,relevance:0}})(t)}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),i=n(5),o=n(13),a=n(12),s=n(1),l=n(1);t.defaultResolvePolicy={when:"LAZY",async:"WAIT"};var c=function(){function e(t,n,o,a,c){if(this.resolved=!1,this.promise=void 0,t instanceof e)r.extend(this,t);else if(s.isFunction(n)){if(l.isNullOrUndefined(t))throw new Error("new Resolvable(): token argument is required");if(!s.isFunction(n))throw new Error("new Resolvable(): resolveFn argument must be a function");this.token=t,this.policy=a,this.resolveFn=n,this.deps=o||[],this.data=c,this.resolved=void 0!==c,this.promise=this.resolved?i.services.$q.when(this.data):void 0}else if(s.isObject(t)&&t.token&&(t.hasOwnProperty("resolveFn")||t.hasOwnProperty("data"))){var u=t;return new e(u.token,u.resolveFn,u.deps,u.policy,u.data)}}return e.prototype.getPolicy=function(e){var n=this.policy||{},r=e&&e.resolvePolicy||{};return{when:n.when||r.when||t.defaultResolvePolicy.when,async:n.async||r.async||t.defaultResolvePolicy.async}},e.prototype.resolve=function(e,t){var n=this,a=i.services.$q,s=e.findNode(this),l=s&&s.state,c="RXWAIT"===this.getPolicy(l).async?function(e){var t=e.cache(1);return t.take(1).toPromise().then(function(){return t})}:r.identity;return this.promise=a.when().then(function(){return a.all(e.getDependencies(n).map(function(n){return n.get(e,t)}))}).then(function(e){return n.resolveFn.apply(null,e)}).then(c).then(function(e){return n.data=e,n.resolved=!0,n.resolveFn=null,o.trace.traceResolvableResolved(n,t),n.data})},e.prototype.get=function(e,t){return this.promise||this.resolve(e,t)},e.prototype.toString=function(){return"Resolvable(token: "+a.stringify(this.token)+", requires: ["+this.deps.map(a.stringify)+"])"},e.prototype.clone=function(){return new e(this)},e.fromData=function(t,n){return new e(t,function(){return n},null,null,n)},e}();t.Resolvable=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(17),i=n(0),o=n(12),a=n(1),s=n(3),l=n(13),c=n(5),u=n(18),d=n(16),p={current:i.noop,transition:null,traceData:{},bind:null},f=function(){function e(e,t,n,o){var a=this;this.transition=e,this.stateContext=t,this.registeredHook=n,this.options=o,this.isSuperseded=function(){return a.type.hookPhase===r.TransitionHookPhase.RUN&&!a.options.transition.isActive()},this.options=i.defaults(o,p),this.type=n.eventType}return e.chain=function(e,t){return e.reduce(function(e,t){return e.then(function(){return t.invokeHook()})},t||c.services.$q.when())},e.invokeHooks=function(t,n){for(var r=0;r<t.length;r++){var i=t[r].invokeHook();if(a.isPromise(i)){var o=t.slice(r+1);return e.chain(o,i).then(n)}}return n()},e.runAllHooks=function(e){e.forEach(function(e){return e.invokeHook()})},e.prototype.logError=function(e){this.transition.router.stateService.defaultErrorHandler()(e)},e.prototype.invokeHook=function(){var e=this,t=this.registeredHook;if(!t._deregistered){var n=this.getNotCurrentRejection();if(n)return n;var r=this.options;l.trace.traceHookInvocation(this,this.transition,r);var i=function(n){return t.eventType.getErrorHandler(e)(n)},o=function(n){return t.eventType.getResultHandler(e)(n)};try{var s=t.callback.call(r.bind,e.transition,e.stateContext);return!this.type.synchronous&&a.isPromise(s)?s.catch(function(e){return u.Rejection.normalize(e).toPromise()}).then(o,i):o(s)}catch(e){return i(u.Rejection.normalize(e))}finally{t.invokeLimit&&++t.invokeCount>=t.invokeLimit&&t.deregister()}}},e.prototype.handleHookResult=function(e){var t=this,n=this.getNotCurrentRejection();return n||(a.isPromise(e)?e.then(function(e){return t.handleHookResult(e)}):(l.trace.traceHookResult(e,this.transition,this.options),!1===e?u.Rejection.aborted("Hook aborted transition").toPromise():s.is(d.TargetState)(e)?u.Rejection.redirected(e).toPromise():void 0))},e.prototype.getNotCurrentRejection=function(){var e=this.transition.router;return e._disposed?u.Rejection.aborted("UIRouter instance #"+e.$id+" has been stopped (disposed)").toPromise():this.transition._aborted?u.Rejection.aborted().toPromise():this.isSuperseded()?u.Rejection.superseded(this.options.current()).toPromise():void 0},e.prototype.toString=function(){var e=this.options,t=this.registeredHook,n=s.parse("traceData.hookType")(e)||"internal",r=s.parse("traceData.context.state.name")(e)||s.parse("traceData.context")(e)||"unknown",i=o.fnToString(t.callback);return n+" context: "+r+", "+o.maxLength(200,i)},e.HANDLE_RESULT=function(e){return function(t){return e.handleHookResult(t)}},e.LOG_REJECTED_RESULT=function(e){return function(t){a.isPromise(t)&&t.catch(function(t){return e.logError(u.Rejection.normalize(t))})}},e.LOG_ERROR=function(e){return function(t){return e.logError(t)}},e.REJECT_ERROR=function(e){return function(e){return i.silentRejection(e)}},e.THROW_ERROR=function(e){return function(e){throw e}},e}();t.TransitionHook=f},function(e,t,n){var r=n(101);"string"==typeof r&&(r=[[e.i,r,""]]);var i={hmr:!0,transform:void 0,insertInto:void 0};n(19)(r,i);r.locals&&(e.exports=r.locals)},function(e,t,n){"use strict";var r=n(2);e.exports={longestPath:function(e){var t={};r.each(e.sources(),function n(i){var o=e.node(i);if(r.has(t,i))return o.rank;t[i]=!0;var a=r.min(r.map(e.outEdges(i),function(t){return n(t.w)-e.edge(t).minlen}));a===Number.POSITIVE_INFINITY&&(a=0);return o.rank=a})},slack:function(e,t){return e.node(t.w).rank-e.node(t.v).rank-e.edge(t).minlen}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(9),i=n(33),o=function(){function e(e,t){var n=this;this.fireAfterUpdate=t,this._listeners=[],this._listener=function(e){return n._listeners.forEach(function(t){return t(e)})},this.hash=function(){return i.parseUrl(n._get()).hash},this.path=function(){return i.parseUrl(n._get()).path},this.search=function(){return i.getParams(i.parseUrl(n._get()).search)},this._location=r.root.location,this._history=r.root.history}return e.prototype.url=function(e,t){return void 0===t&&(t=!0),r.isDefined(e)&&e!==this._get()&&(this._set(null,null,e,t),this.fireAfterUpdate&&this._listeners.forEach(function(t){return t({url:e})})),i.buildUrl(this)},e.prototype.onChange=function(e){var t=this;return this._listeners.push(e),function(){return r.removeFrom(t._listeners,e)}},e.prototype.dispose=function(e){r.deregAll(this._listeners)},e}();t.BaseLocationServices=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),i=n(3),o=n(1),a=n(15),s=n(12);function l(e,t){var n=["",""],r=e.replace(/[\\\[\]\^$*+?.()|{}]/g,"\\$&");if(!t)return r;switch(t.squash){case!1:n=["(",")"+(t.isOptional?"?":"")];break;case!0:r=r.replace(/\/$/,""),n=["(?:/(",")|/)?"];break;default:n=["("+t.squash+"|",")?"]}return r+n[0]+t.type.pattern.source+n[1]}var c=s.splitOnDelim("/"),u=function(){function e(t,n,o,a){var s=this;this.config=a,this._cache={path:[this]},this._children=[],this._params=[],this._segments=[],this._compiled=[],this.pattern=t,this.config=r.defaults(this.config,{params:{},strict:!0,caseInsensitive:!1,paramMap:r.identity});for(var c,u,d,p=/([:*])([\w\[\]]+)|\{([\w\[\]]+)(?:\:\s*((?:[^{}\\]+|\\.|\{(?:[^{}\\]+|\\.)*\})+))?\}/g,f=/([:]?)([\w\[\].-]+)|\{([\w\[\].-]+)(?:\:\s*((?:[^{}\\]+|\\.|\{(?:[^{}\\]+|\\.)*\})+))?\}/g,h=[],g=0,m=function(n){if(!e.nameValidator.test(n))throw new Error("Invalid parameter name '"+n+"' in pattern '"+t+"'");if(r.find(s._params,i.propEq("id",n)))throw new Error("Duplicate parameter name '"+n+"' in pattern '"+t+"'")},v=function(e,i){var o=e[2]||e[3],a=i?e[4]:e[4]||("*"===e[1]?"[\\s\\S]*":null);return{id:o,regexp:a,cfg:s.config.params[o],segment:t.substring(g,e.index),type:a?n.type(a)||function(e){return r.inherit(n.type(i?"query":"path"),{pattern:new RegExp(e,s.config.caseInsensitive?"i":void 0)})}(a):null}};(c=p.exec(t))&&!((u=v(c,!1)).segment.indexOf("?")>=0);)m(u.id),this._params.push(o.fromPath(u.id,u.type,this.config.paramMap(u.cfg,!1))),this._segments.push(u.segment),h.push([u.segment,r.tail(this._params)]),g=p.lastIndex;var b=(d=t.substring(g)).indexOf("?");if(b>=0){var y=d.substring(b);if(d=d.substring(0,b),y.length>0)for(g=0;c=f.exec(y);)m((u=v(c,!0)).id),this._params.push(o.fromSearch(u.id,u.type,this.config.paramMap(u.cfg,!0))),g=p.lastIndex}this._segments.push(d),this._compiled=h.map(function(e){return l.apply(null,e)}).concat(l(d))}return e.encodeDashes=function(e){return encodeURIComponent(e).replace(/-/g,function(e){return"%5C%"+e.charCodeAt(0).toString(16).toUpperCase()})},e.pathSegmentsAndParams=function(e){var t=e._segments,n=e._params.filter(function(e){return e.location===a.DefType.PATH});return r.arrayTuples(t,n.concat(void 0)).reduce(r.unnestR,[]).filter(function(e){return""!==e&&o.isDefined(e)})},e.queryParams=function(e){return e._params.filter(function(e){return e.location===a.DefType.SEARCH})},e.compare=function(t,n){var i=function(t){return t._cache.weights=t._cache.weights||function(t){return t._cache.segments=t._cache.segments||t._cache.path.map(e.pathSegmentsAndParams).reduce(r.unnestR,[]).reduce(s.joinNeighborsR,[]).map(function(e){return o.isString(e)?c(e):e}).reduce(r.unnestR,[])}(t).map(function(e){return"/"===e?1:o.isString(e)?2:e instanceof a.Param?3:void 0})},l=i(t),u=i(n);!function(e,t,n){for(var r=Math.max(e.length,t.length);e.length<r;)e.push(n);for(;t.length<r;)t.push(n)}(l,u,0);var d,p,f=r.arrayTuples(l,u);for(p=0;p<f.length;p++)if(0!==(d=f[p][0]-f[p][1]))return d;return 0},e.prototype.append=function(e){return this._children.push(e),e._cache={path:this._cache.path.concat(e),parent:this,pattern:null},e},e.prototype.isRoot=function(){return this._cache.path[0]===this},e.prototype.toString=function(){return this.pattern},e.prototype.exec=function(e,t,n,a){var s=this;void 0===t&&(t={}),void 0===a&&(a={});var l=function(e,t,n){return e[t]=e[t]||n()}(this._cache,"pattern",function(){return new RegExp(["^",r.unnest(s._cache.path.map(i.prop("_compiled"))).join(""),!1===s.config.strict?"/?":"","$"].join(""),s.config.caseInsensitive?"i":void 0)}).exec(e);if(!l)return null;var c=this.parameters(),u=c.filter(function(e){return!e.isSearch()}),d=c.filter(function(e){return e.isSearch()}),p=this._cache.path.map(function(e){return e._segments.length-1}).reduce(function(e,t){return e+t}),f={};if(p!==l.length-1)throw new Error("Unbalanced capture group in route '"+this.pattern+"'");function h(e){var t=function(e){return e.split("").reverse().join("")},n=t(e).split(/-(?!\\)/),i=r.map(n,t);return r.map(i,function(e){return e.replace(/\\-/g,"-")}).reverse()}for(var g=0;g<p;g++){for(var m=u[g],v=l[g+1],b=0;b<m.replace.length;b++)m.replace[b].from===v&&(v=m.replace[b].to);v&&!0===m.array&&(v=h(v)),o.isDefined(v)&&(v=m.type.decode(v)),f[m.id]=m.value(v)}return d.forEach(function(e){for(var n=t[e.id],r=0;r<e.replace.length;r++)e.replace[r].from===n&&(n=e.replace[r].to);o.isDefined(n)&&(n=e.type.decode(n)),f[e.id]=e.value(n)}),n&&(f["#"]=n),f},e.prototype.parameters=function(e){return void 0===e&&(e={}),!1===e.inherit?this._params:r.unnest(this._cache.path.map(function(e){return e._params}))},e.prototype.parameter=function(e,t){var n=this;void 0===t&&(t={});var r=this._cache.parent;return function(){for(var t=0,r=n._params;t<r.length;t++){var i=r[t];if(i.id===e)return i}}()||!1!==t.inherit&&r&&r.parameter(e,t)||null},e.prototype.validates=function(e){return e=e||{},this.parameters().filter(function(t){return e.hasOwnProperty(t.id)}).map(function(t){return function(e,t){return!e||e.validates(t)}(t,e[t.id])}).reduce(r.allTrueR,!0)},e.prototype.format=function(t){void 0===t&&(t={});var n=this._cache.path,i=n.map(e.pathSegmentsAndParams).reduce(r.unnestR,[]).map(function(e){return o.isString(e)?e:s(e)}),a=n.map(e.queryParams).reduce(r.unnestR,[]).map(s);if(i.concat(a).filter(function(e){return!1===e.isValid}).length)return null;function s(e){var n=e.value(t[e.id]),r=e.validates(n),i=e.isDefaultValue(n);return{param:e,value:n,isValid:r,isDefaultValue:i,squash:!!i&&e.squash,encoded:e.type.encode(n)}}var l=i.reduce(function(t,n){if(o.isString(n))return t+n;var i=n.squash,a=n.encoded,s=n.param;return!0===i?t.match(/\/$/)?t.slice(0,-1):t:o.isString(i)?t+i:!1!==i?t:null==a?t:o.isArray(a)?t+r.map(a,e.encodeDashes).join("-"):s.raw?t+a:t+encodeURIComponent(a)},""),c=a.map(function(e){var t=e.param,n=e.squash,i=e.encoded,a=e.isDefaultValue;if(!(null==i||a&&!1!==n)&&(o.isArray(i)||(i=[i]),0!==i.length))return t.raw||(i=r.map(i,encodeURIComponent)),i.map(function(e){return t.id+"="+e})}).filter(r.identity).reduce(r.unnestR,[]).join("&");return l+(c?"?"+c:"")+(t["#"]?"#"+t["#"]:"")},e.nameValidator=/^\w+([-.]+\w+)*(?:\[\])?$/,e}();t.UrlMatcher=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),i=n(3),o=n(13),a=n(5),s=n(74),l=n(22),c=n(29),u=n(12),d=n(9),p=s.resolvePolicies.when,f=[p.EAGER,p.LAZY],h=[p.EAGER];t.NATIVE_INJECTOR_TOKEN="Native Injector";var g=function(){function e(e){this._path=e}return e.prototype.getTokens=function(){return this._path.reduce(function(e,t){return e.concat(t.resolvables.map(function(e){return e.token}))},[]).reduce(r.uniqR,[])},e.prototype.getResolvable=function(e){var t=this._path.map(function(e){return e.resolvables}).reduce(r.unnestR,[]).filter(function(t){return t.token===e});return r.tail(t)},e.prototype.getPolicy=function(e){var t=this.findNode(e);return e.getPolicy(t.state)},e.prototype.subContext=function(t){return new e(c.PathUtils.subPath(this._path,function(e){return e.state===t}))},e.prototype.addResolvables=function(e,t){var n=r.find(this._path,i.propEq("state",t)),o=e.map(function(e){return e.token});n.resolvables=n.resolvables.filter(function(e){return-1===o.indexOf(e.token)}).concat(e)},e.prototype.resolvePath=function(e,t){var n=this;void 0===e&&(e="LAZY");var l=(r.inArray(f,e)?e:"LAZY")===s.resolvePolicies.when.EAGER?h:f;o.trace.traceResolvePath(this._path,e,t);var c=function(e,t){return function(i){return r.inArray(e,n.getPolicy(i)[t])}},u=this._path.reduce(function(e,r){var o=r.resolvables.filter(c(l,"when")),a=o.filter(c(["NOWAIT"],"async")),s=o.filter(i.not(c(["NOWAIT"],"async"))),u=n.subContext(r.state),d=function(e){return e.get(u,t).then(function(t){return{token:e.token,value:t}})};return a.forEach(d),e.concat(s.map(d))},[]);return a.services.$q.all(u)},e.prototype.injector=function(){return this._injector||(this._injector=new m(this))},e.prototype.findNode=function(e){return r.find(this._path,function(t){return r.inArray(t.resolvables,e)})},e.prototype.getDependencies=function(e){var t=this,n=this.findNode(e),i=(c.PathUtils.subPath(this._path,function(e){return e===n})||this._path).reduce(function(e,t){return e.concat(t.resolvables)},[]).filter(function(t){return t!==e});return e.deps.map(function(e){var n=i.filter(function(t){return t.token===e});if(n.length)return r.tail(n);var o=t.injector().getNative(e);if(d.isUndefined(o))throw new Error("Could not find Dependency Injection token: "+u.stringify(e));return new l.Resolvable(e,function(){return o},[],o)})},e}();t.ResolveContext=g;var m=function(){function e(e){this.context=e,this.native=this.get(t.NATIVE_INJECTOR_TOKEN)||a.services.$injector}return e.prototype.get=function(e){var t=this.context.getResolvable(e);if(t){if("NOWAIT"===this.context.getPolicy(t).async)return t.get(this.context);if(!t.resolved)throw new Error("Resolvable async .get() not complete:"+u.stringify(t.token));return t.data}return this.getNative(e)},e.prototype.getAsync=function(e){var t=this.context.getResolvable(e);return t?t.get(this.context):a.services.$q.when(this.native.get(e))},e.prototype.getNative=function(e){return this.native&&this.native.get(e)},e}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),i=n(3),o=n(16),a=n(36),s=function(){function e(){}return e.makeTargetState=function(e,t){var n=r.tail(t).state;return new o.TargetState(e,n,t.map(i.prop("paramValues")).reduce(r.mergeR,{}),{})},e.buildPath=function(e){var t=e.params();return e.$state().path.map(function(e){return new a.PathNode(e).applyRawParams(t)})},e.buildToPath=function(t,n){var r=e.buildPath(n);return n.options().inherit?e.inheritParams(t,r,Object.keys(n.params())):r},e.applyViewConfigs=function(t,n,i){n.filter(function(e){return r.inArray(i,e.state)}).forEach(function(i){var o=r.values(i.state.views||{}),a=e.subPath(n,function(e){return e===i}),s=o.map(function(e){return t.createViewConfig(a,e)});i.views=s.reduce(r.unnestR,[])})},e.inheritParams=function(e,t,n){void 0===n&&(n=[]);var o=e.map(function(e){return e.paramSchema}).reduce(r.unnestR,[]).filter(function(e){return!e.inherit}).map(i.prop("id"));return t.map(function(t){var s=r.extend({},t&&t.paramValues),l=r.pick(s,n);s=r.omit(s,n);var c=r.omit(function(e,t){var n=r.find(e,i.propEq("state",t));return r.extend({},n&&n.paramValues)}(e,t.state)||{},o),u=r.extend(s,c,l);return new a.PathNode(t.state).applyRawParams(u)})},e.treeChanges=function(t,n,r){for(var i,o,a,s,l=Math.min(t.length,n.length),c=0,u=function(t,n){return t.equals(n,e.nonDynamicParams)};c<l&&t[c].state!==r&&u(t[c],n[c]);)c++;o=(i=t).slice(0,c),a=i.slice(c);var d=o.map(function(e,t){var r=e.clone();return r.paramValues=n[t].paramValues,r});return s=n.slice(c),{from:i,to:d.concat(s),retained:o,retainedWithToParams:d,exiting:a,entering:s}},e.matching=function(e,t,n){var i=!1;return r.arrayTuples(e,t).reduce(function(e,t){var r=t[0],o=t[1];return(i=i||!r.equals(o,n))?e:e.concat(r)},[])},e.equals=function(t,n,r){return t.length===n.length&&e.matching(t,n,r).length===t.length},e.subPath=function(e,t){var n=r.find(e,t),i=e.indexOf(n);return-1===i?void 0:e.slice(0,i+1)},e.nonDynamicParams=function(e){return e.state.parameters({inherit:!1}).filter(function(e){return!e.dynamic})},e.paramValues=function(e){return e.reduce(function(e,t){return r.extend(e,t.paramValues)},{})},e}();t.PathUtils=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(13),i=n(5),o=n(12),a=n(0),s=n(1),l=n(3),c=n(17),u=n(23),d=n(37),p=n(75),f=n(29),h=n(15),g=n(22),m=n(28),v=n(18),b=l.prop("self"),y=function(){function e(e,t,n){var r=this;if(this._deferred=i.services.$q.defer(),this.promise=this._deferred.promise,this._registeredHooks={},this._hookBuilder=new p.HookBuilder(this),this.isActive=function(){return r.router.globals.transition===r},this.router=n,this._targetState=t,!t.valid())throw new Error(t.error());this._options=a.extend({current:l.val(this)},t.options()),this.$id=n.transitionService._transitionCount++;var o=f.PathUtils.buildToPath(e,t);this._treeChanges=f.PathUtils.treeChanges(e,o,this._options.reloadState),this.createTransitionHookRegFns();var s=this._hookBuilder.buildHooksForPhase(c.TransitionHookPhase.CREATE);u.TransitionHook.invokeHooks(s,function(){return null}),this.applyViewConfigs(n)}return e.prototype.onBefore=function(e,t,n){},e.prototype.onStart=function(e,t,n){},e.prototype.onExit=function(e,t,n){},e.prototype.onRetain=function(e,t,n){},e.prototype.onEnter=function(e,t,n){},e.prototype.onFinish=function(e,t,n){},e.prototype.onSuccess=function(e,t,n){},e.prototype.onError=function(e,t,n){},e.prototype.createTransitionHookRegFns=function(){var e=this;this.router.transitionService._pluginapi._getEvents().filter(function(e){return e.hookPhase!==c.TransitionHookPhase.CREATE}).forEach(function(t){return d.makeEvent(e,e.router.transitionService,t)})},e.prototype.getHooks=function(e){return this._registeredHooks[e]},e.prototype.applyViewConfigs=function(e){var t=this._treeChanges.entering.map(function(e){return e.state});f.PathUtils.applyViewConfigs(e.transitionService.$view,this._treeChanges.to,t)},e.prototype.$from=function(){return a.tail(this._treeChanges.from).state},e.prototype.$to=function(){return a.tail(this._treeChanges.to).state},e.prototype.from=function(){return this.$from().self},e.prototype.to=function(){return this.$to().self},e.prototype.targetState=function(){return this._targetState},e.prototype.is=function(t){return t instanceof e?this.is({to:t.$to().name,from:t.$from().name}):!(t.to&&!d.matchState(this.$to(),t.to)||t.from&&!d.matchState(this.$from(),t.from))},e.prototype.params=function(e){return void 0===e&&(e="to"),Object.freeze(this._treeChanges[e].map(l.prop("paramValues")).reduce(a.mergeR,{}))},e.prototype.injector=function(e,t){void 0===t&&(t="to");var n=this._treeChanges[t];return e&&(n=f.PathUtils.subPath(n,function(t){return t.state===e||t.state.name===e})),new m.ResolveContext(n).injector()},e.prototype.getResolveTokens=function(e){return void 0===e&&(e="to"),new m.ResolveContext(this._treeChanges[e]).getTokens()},e.prototype.addResolvable=function(e,t){void 0===t&&(t=""),e=l.is(g.Resolvable)(e)?e:new g.Resolvable(e);var n="string"==typeof t?t:t.name,r=this._treeChanges.to,i=a.find(r,function(e){return e.state.name===n});new m.ResolveContext(r).addResolvables([e],i.state)},e.prototype.redirectedFrom=function(){return this._options.redirectedFrom||null},e.prototype.originalTransition=function(){var e=this.redirectedFrom();return e&&e.originalTransition()||this},e.prototype.options=function(){return this._options},e.prototype.entering=function(){return a.map(this._treeChanges.entering,l.prop("state")).map(b)},e.prototype.exiting=function(){return a.map(this._treeChanges.exiting,l.prop("state")).map(b).reverse()},e.prototype.retained=function(){return a.map(this._treeChanges.retained,l.prop("state")).map(b)},e.prototype.views=function(e,t){void 0===e&&(e="entering");var n=this._treeChanges[e];return(n=t?n.filter(l.propEq("state",t)):n).map(l.prop("views")).filter(a.identity).reduce(a.unnestR,[])},e.prototype.treeChanges=function(e){return e?this._treeChanges[e]:this._treeChanges},e.prototype.redirect=function(e){for(var t=1,n=this;null!=(n=n.redirectedFrom());)if(++t>20)throw new Error("Too many consecutive Transition redirects (20+)");var r={redirectedFrom:this,source:"redirect"};"url"===this.options().source&&!1!==e.options().location&&(r.location="replace");var i=a.extend({},this.options(),e.options(),r);e=e.withOptions(i,!0);var o=this.router.transitionService.create(this._treeChanges.from,e),s=this._treeChanges.entering,c=o._treeChanges.entering;return f.PathUtils.matching(c,s,f.PathUtils.nonDynamicParams).filter(l.not(function(e){return function(t){return e&&t.state.includes[e.name]}}(e.options().reloadState))).forEach(function(e,t){e.resolvables=s[t].resolvables}),o},e.prototype._changedParams=function(){var e=this._treeChanges;if(!this._options.reload&&(!e.exiting.length&&!e.entering.length&&e.to.length===e.from.length&&!a.arrayTuples(e.to,e.from).map(function(e){return e[0].state!==e[1].state}).reduce(a.anyTrueR,!1))){var t=e.to.map(function(e){return e.paramSchema}),n=[e.to,e.from].map(function(e){return e.map(function(e){return e.paramValues})}),r=n[0],i=n[1];return a.arrayTuples(t,r,i).map(function(e){var t=e[0],n=e[1],r=e[2];return h.Param.changed(t,n,r)}).reduce(a.unnestR,[])}},e.prototype.dynamic=function(){var e=this._changedParams();return!!e&&e.map(function(e){return e.dynamic}).reduce(a.anyTrueR,!1)},e.prototype.ignored=function(){return!!this._ignoredReason()},e.prototype._ignoredReason=function(){var e=this.router.globals.transition,t=this._options.reloadState,n=function(e,n){if(e.length!==n.length)return!1;var r=f.PathUtils.matching(e,n);return e.length===r.filter(function(e){return!t||!e.state.includes[t.name]}).length},r=this.treeChanges(),i=e&&e.treeChanges();return i&&n(i.to,r.to)&&n(i.exiting,r.exiting)?"SameAsPending":0===r.exiting.length&&0===r.entering.length&&n(r.from,r.to)?"SameAsCurrent":void 0},e.prototype.run=function(){var e=this,t=u.TransitionHook.runAllHooks,n=function(t){return e._hookBuilder.buildHooksForPhase(t)},o=n(c.TransitionHookPhase.BEFORE);return u.TransitionHook.invokeHooks(o,function(){var t=e.router.globals;return t.lastStartedTransitionId=e.$id,t.transition=e,t.transitionHistory.enqueue(e),r.trace.traceTransitionStart(e),i.services.$q.when(void 0)}).then(function(){var e=n(c.TransitionHookPhase.RUN);return u.TransitionHook.invokeHooks(e,function(){return i.services.$q.when(void 0)})}).then(function(){r.trace.traceSuccess(e.$to(),e),e.success=!0,e._deferred.resolve(e.to()),t(n(c.TransitionHookPhase.SUCCESS))},function(i){r.trace.traceError(i,e),e.success=!1,e._deferred.reject(i),e._error=i,t(n(c.TransitionHookPhase.ERROR))}),this.promise},e.prototype.valid=function(){return!this.error()||void 0!==this.success},e.prototype.abort=function(){s.isUndefined(this.success)&&(this._aborted=!0)},e.prototype.error=function(){var e=this.$to();if(e.self.abstract)return v.Rejection.invalid("Cannot transition to abstract state '"+e.name+"'");var t=e.parameters(),n=this.params(),r=t.filter(function(e){return!e.validates(n[e.id])});if(r.length){var i=r.map(function(e){return"["+e.id+":"+o.stringify(n[e.id])+"]"}).join(", "),a="The following parameter values are not valid for state '"+e.name+"': "+i;return v.Rejection.invalid(a)}return!1===this.success?this._error:void 0},e.prototype.toString=function(){var e=this.from(),t=this.to(),n=function(e){return null!==e["#"]&&void 0!==e["#"]?e:a.omit(e,["#"])};return"Transition#"+this.$id+"( '"+(s.isObject(e)?e.name:e)+"'"+o.stringify(n(this._treeChanges.from.map(l.prop("paramValues")).reduce(a.mergeR,{})))+" -> "+(this.valid()?"":"(X) ")+"'"+(s.isObject(t)?t.name:t)+"'"+o.stringify(n(this.params()))+" )"},e.diToken=e,e}();t.Transition=y},function(e,t,n){"use strict";var r=n(8);e.exports=s;var i="\0",o="\0",a="";function s(e){this._isDirected=!r.has(e,"directed")||e.directed,this._isMultigraph=!!r.has(e,"multigraph")&&e.multigraph,this._isCompound=!!r.has(e,"compound")&&e.compound,this._label=void 0,this._defaultNodeLabelFn=r.constant(void 0),this._defaultEdgeLabelFn=r.constant(void 0),this._nodes={},this._isCompound&&(this._parent={},this._children={},this._children[o]={}),this._in={},this._preds={},this._out={},this._sucs={},this._edgeObjs={},this._edgeLabels={}}function l(e,t){e[t]?e[t]++:e[t]=1}function c(e,t){--e[t]||delete e[t]}function u(e,t,n,o){var s=""+t,l=""+n;if(!e&&s>l){var c=s;s=l,l=c}return s+a+l+a+(r.isUndefined(o)?i:o)}function d(e,t){return u(e,t.v,t.w,t.name)}s.prototype._nodeCount=0,s.prototype._edgeCount=0,s.prototype.isDirected=function(){return this._isDirected},s.prototype.isMultigraph=function(){return this._isMultigraph},s.prototype.isCompound=function(){return this._isCompound},s.prototype.setGraph=function(e){return this._label=e,this},s.prototype.graph=function(){return this._label},s.prototype.setDefaultNodeLabel=function(e){return r.isFunction(e)||(e=r.constant(e)),this._defaultNodeLabelFn=e,this},s.prototype.nodeCount=function(){return this._nodeCount},s.prototype.nodes=function(){return r.keys(this._nodes)},s.prototype.sources=function(){return r.filter(this.nodes(),function(e){return r.isEmpty(this._in[e])},this)},s.prototype.sinks=function(){return r.filter(this.nodes(),function(e){return r.isEmpty(this._out[e])},this)},s.prototype.setNodes=function(e,t){var n=arguments;return r.each(e,function(e){n.length>1?this.setNode(e,t):this.setNode(e)},this),this},s.prototype.setNode=function(e,t){return r.has(this._nodes,e)?(arguments.length>1&&(this._nodes[e]=t),this):(this._nodes[e]=arguments.length>1?t:this._defaultNodeLabelFn(e),this._isCompound&&(this._parent[e]=o,this._children[e]={},this._children[o][e]=!0),this._in[e]={},this._preds[e]={},this._out[e]={},this._sucs[e]={},++this._nodeCount,this)},s.prototype.node=function(e){return this._nodes[e]},s.prototype.hasNode=function(e){return r.has(this._nodes,e)},s.prototype.removeNode=function(e){var t=this;if(r.has(this._nodes,e)){var n=function(e){t.removeEdge(t._edgeObjs[e])};delete this._nodes[e],this._isCompound&&(this._removeFromParentsChildList(e),delete this._parent[e],r.each(this.children(e),function(e){this.setParent(e)},this),delete this._children[e]),r.each(r.keys(this._in[e]),n),delete this._in[e],delete this._preds[e],r.each(r.keys(this._out[e]),n),delete this._out[e],delete this._sucs[e],--this._nodeCount}return this},s.prototype.setParent=function(e,t){if(!this._isCompound)throw new Error("Cannot set parent in a non-compound graph");if(r.isUndefined(t))t=o;else{for(var n=t+="";!r.isUndefined(n);n=this.parent(n))if(n===e)throw new Error("Setting "+t+" as parent of "+e+" would create create a cycle");this.setNode(t)}return this.setNode(e),this._removeFromParentsChildList(e),this._parent[e]=t,this._children[t][e]=!0,this},s.prototype._removeFromParentsChildList=function(e){delete this._children[this._parent[e]][e]},s.prototype.parent=function(e){if(this._isCompound){var t=this._parent[e];if(t!==o)return t}},s.prototype.children=function(e){if(r.isUndefined(e)&&(e=o),this._isCompound){var t=this._children[e];if(t)return r.keys(t)}else{if(e===o)return this.nodes();if(this.hasNode(e))return[]}},s.prototype.predecessors=function(e){var t=this._preds[e];if(t)return r.keys(t)},s.prototype.successors=function(e){var t=this._sucs[e];if(t)return r.keys(t)},s.prototype.neighbors=function(e){var t=this.predecessors(e);if(t)return r.union(t,this.successors(e))},s.prototype.filterNodes=function(e){var t=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});t.setGraph(this.graph()),r.each(this._nodes,function(n,r){e(r)&&t.setNode(r,n)},this),r.each(this._edgeObjs,function(e){t.hasNode(e.v)&&t.hasNode(e.w)&&t.setEdge(e,this.edge(e))},this);var n=this,i={};return this._isCompound&&r.each(t.nodes(),function(e){t.setParent(e,function e(r){var o=n.parent(r);return void 0===o||t.hasNode(o)?(i[r]=o,o):o in i?i[o]:e(o)}(e))}),t},s.prototype.setDefaultEdgeLabel=function(e){return r.isFunction(e)||(e=r.constant(e)),this._defaultEdgeLabelFn=e,this},s.prototype.edgeCount=function(){return this._edgeCount},s.prototype.edges=function(){return r.values(this._edgeObjs)},s.prototype.setPath=function(e,t){var n=this,i=arguments;return r.reduce(e,function(e,r){return i.length>1?n.setEdge(e,r,t):n.setEdge(e,r),r}),this},s.prototype.setEdge=function(){var e,t,n,i,o=!1,a=arguments[0];"object"==typeof a&&null!==a&&"v"in a?(e=a.v,t=a.w,n=a.name,2===arguments.length&&(i=arguments[1],o=!0)):(e=a,t=arguments[1],n=arguments[3],arguments.length>2&&(i=arguments[2],o=!0)),e=""+e,t=""+t,r.isUndefined(n)||(n=""+n);var s=u(this._isDirected,e,t,n);if(r.has(this._edgeLabels,s))return o&&(this._edgeLabels[s]=i),this;if(!r.isUndefined(n)&&!this._isMultigraph)throw new Error("Cannot set a named edge when isMultigraph = false");this.setNode(e),this.setNode(t),this._edgeLabels[s]=o?i:this._defaultEdgeLabelFn(e,t,n);var c=function(e,t,n,r){var i=""+t,o=""+n;if(!e&&i>o){var a=i;i=o,o=a}var s={v:i,w:o};r&&(s.name=r);return s}(this._isDirected,e,t,n);return e=c.v,t=c.w,Object.freeze(c),this._edgeObjs[s]=c,l(this._preds[t],e),l(this._sucs[e],t),this._in[t][s]=c,this._out[e][s]=c,this._edgeCount++,this},s.prototype.edge=function(e,t,n){var r=1===arguments.length?d(this._isDirected,arguments[0]):u(this._isDirected,e,t,n);return this._edgeLabels[r]},s.prototype.hasEdge=function(e,t,n){var i=1===arguments.length?d(this._isDirected,arguments[0]):u(this._isDirected,e,t,n);return r.has(this._edgeLabels,i)},s.prototype.removeEdge=function(e,t,n){var r=1===arguments.length?d(this._isDirected,arguments[0]):u(this._isDirected,e,t,n),i=this._edgeObjs[r];return i&&(e=i.v,t=i.w,delete this._edgeLabels[r],delete this._edgeObjs[r],c(this._preds[t],e),c(this._sucs[e],t),delete this._in[t][r],delete this._out[e][r],this._edgeCount--),this},s.prototype.inEdges=function(e,t){var n=this._in[e];if(n){var i=r.values(n);return t?r.filter(i,function(e){return e.v===t}):i}},s.prototype.outEdges=function(e,t){var n=this._out[e];if(n){var i=r.values(n);return t?r.filter(i,function(e){return e.w===t}):i}},s.prototype.nodeEdges=function(e,t){var n=this.inEdges(e,t);if(n)return n.concat(this.outEdges(e,t))}},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(9);t.keyValsToObjectR=function(e,t){var n=t[0],i=t[1];return e.hasOwnProperty(n)?r.isArray(e[n])?e[n].push(i):e[n]=[e[n],i]:e[n]=i,e},t.getParams=function(e){return e.split("&").filter(r.identity).map(r.splitEqual).reduce(t.keyValsToObjectR,{})},t.parseUrl=function(e){var t=function(e){return e||""},n=r.splitHash(e).map(t),i=n[0],o=n[1],a=r.splitQuery(i).map(t);return{path:a[0],search:a[1],hash:o,url:e}},t.buildUrl=function(e){var t=e.path(),n=e.search(),i=e.hash(),o=Object.keys(n).map(function(e){var t=n[e];return(r.isArray(t)?t:[t]).map(function(t){return e+"="+t})}).reduce(r.unnestR,[]).join("&");return t+(o?"?"+o:"")+(i?"#"+i:"")},t.locationPluginFactory=function(e,t,n,r){return function(i){var o=i.locationService=new n(i),a=i.locationConfig=new r(i,t);return{name:e,service:o,configuration:a,dispose:function(e){e.dispose(o),e.dispose(a)}}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(17),i=n(30),o=n(37),a=n(197),s=n(196),l=n(195),c=n(194),u=n(193),d=n(192),p=n(191),f=n(58),h=n(57),g=n(23),m=n(1),v=n(0),b=n(3),y=n(190),x=n(189);t.defaultTransOpts={location:!0,relative:null,inherit:!1,notify:!0,reload:!1,custom:{},current:function(){return null},source:"unknown"};var w=function(){function e(e){this._transitionCount=0,this._eventTypes=[],this._registeredHooks={},this._criteriaPaths={},this._router=e,this.$view=e.viewService,this._deregisterHookFns={},this._pluginapi=v.createProxyFunctions(b.val(this),{},b.val(this),["_definePathType","_defineEvent","_getPathTypes","_getEvents","getHooks"]),this._defineCorePaths(),this._defineCoreEvents(),this._registerCoreTransitionHooks(),e.globals.successfulTransitions.onEvict(a.treeChangesCleanup)}return e.prototype.onCreate=function(e,t,n){},e.prototype.onBefore=function(e,t,n){},e.prototype.onStart=function(e,t,n){},e.prototype.onExit=function(e,t,n){},e.prototype.onRetain=function(e,t,n){},e.prototype.onEnter=function(e,t,n){},e.prototype.onFinish=function(e,t,n){},e.prototype.onSuccess=function(e,t,n){},e.prototype.onError=function(e,t,n){},e.prototype.dispose=function(e){v.values(this._registeredHooks).forEach(function(e){return e.forEach(function(t){t._deregistered=!0,v.removeFrom(e,t)})})},e.prototype.create=function(e,t){return new i.Transition(e,t,this._router)},e.prototype._defineCoreEvents=function(){var e=r.TransitionHookPhase,t=g.TransitionHook,n=this._criteriaPaths;this._defineEvent("onCreate",e.CREATE,0,n.to,!1,t.LOG_REJECTED_RESULT,t.THROW_ERROR,!0),this._defineEvent("onBefore",e.BEFORE,0,n.to),this._defineEvent("onStart",e.RUN,0,n.to),this._defineEvent("onExit",e.RUN,100,n.exiting,!0),this._defineEvent("onRetain",e.RUN,200,n.retained),this._defineEvent("onEnter",e.RUN,300,n.entering),this._defineEvent("onFinish",e.RUN,400,n.to),this._defineEvent("onSuccess",e.SUCCESS,0,n.to,!1,t.LOG_REJECTED_RESULT,t.LOG_ERROR,!0),this._defineEvent("onError",e.ERROR,0,n.to,!1,t.LOG_REJECTED_RESULT,t.LOG_ERROR,!0)},e.prototype._defineCorePaths=function(){var e=r.TransitionHookScope.STATE,t=r.TransitionHookScope.TRANSITION;this._definePathType("to",t),this._definePathType("from",t),this._definePathType("exiting",e),this._definePathType("retained",e),this._definePathType("entering",e)},e.prototype._defineEvent=function(e,t,n,r,i,a,s,l){void 0===i&&(i=!1),void 0===a&&(a=g.TransitionHook.HANDLE_RESULT),void 0===s&&(s=g.TransitionHook.REJECT_ERROR),void 0===l&&(l=!1);var c=new h.TransitionEventType(e,t,n,r,i,a,s,l);this._eventTypes.push(c),o.makeEvent(this,this,c)},e.prototype._getEvents=function(e){return(m.isDefined(e)?this._eventTypes.filter(function(t){return t.hookPhase===e}):this._eventTypes.slice()).sort(function(e,t){var n=e.hookPhase-t.hookPhase;return 0===n?e.hookOrder-t.hookOrder:n})},e.prototype._definePathType=function(e,t){this._criteriaPaths[e]={name:e,scope:t}},e.prototype._getPathTypes=function(){return this._criteriaPaths},e.prototype.getHooks=function(e){return this._registeredHooks[e]},e.prototype._registerCoreTransitionHooks=function(){var e=this._deregisterHookFns;e.addCoreResolves=a.registerAddCoreResolvables(this),e.ignored=y.registerIgnoredTransitionHook(this),e.invalid=x.registerInvalidTransitionHook(this),e.redirectTo=s.registerRedirectToHook(this),e.onExit=l.registerOnExitHook(this),e.onRetain=l.registerOnRetainHook(this),e.onEnter=l.registerOnEnterHook(this),e.eagerResolve=c.registerEagerResolvePath(this),e.lazyResolve=c.registerLazyResolveState(this),e.resolveAll=c.registerResolveRemaining(this),e.loadViews=u.registerLoadEnteringViews(this),e.activateViews=u.registerActivateViews(this),e.updateGlobals=d.registerUpdateGlobalState(this),e.updateUrl=p.registerUpdateUrl(this),e.lazyLoad=f.registerLazyLoadHook(this)},e}();t.TransitionService=w},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),i=n(1),o=function(){function e(e){this.pattern=/.*/,this.inherit=!0,r.extend(this,e)}return e.prototype.is=function(e,t){return!0},e.prototype.encode=function(e,t){return e},e.prototype.decode=function(e,t){return e},e.prototype.equals=function(e,t){return e==t},e.prototype.$subPattern=function(){var e=this.pattern.toString();return e.substr(1,e.length-2)},e.prototype.toString=function(){return"{ParamType:"+this.name+"}"},e.prototype.$normalize=function(e){return this.is(e)?e:this.decode(e)},e.prototype.$asArray=function(e,t){if(!e)return this;if("auto"===e&&!t)throw new Error("'auto' array mode is for query parameters only");return new function(e,t){var n=this;function o(e){return i.isArray(e)?e:i.isDefined(e)?[e]:[]}function a(e,n){return function(a){if(i.isArray(a)&&0===a.length)return a;var s=o(a),l=r.map(s,e);return!0===n?0===r.filter(l,function(e){return!e}).length:function(e){switch(e.length){case 0:return;case 1:return"auto"===t?e[0]:e;default:return e}}(l)}}function s(e){return function(t,n){var r=o(t),i=o(n);if(r.length!==i.length)return!1;for(var a=0;a<r.length;a++)if(!e(r[a],i[a]))return!1;return!0}}["encode","decode","equals","$normalize"].forEach(function(t){var r=e[t].bind(e),i="equals"===t?s:a;n[t]=i(r)}),r.extend(this,{dynamic:e.dynamic,name:e.name,pattern:e.pattern,inherit:e.inherit,is:a(e.is.bind(e),!0),$arrayMode:t})}(this,e)},e}();t.ParamType=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),i=n(3),o=n(15),a=function(){function e(t){if(t instanceof e){var n=t;this.state=n.state,this.paramSchema=n.paramSchema.slice(),this.paramValues=r.extend({},n.paramValues),this.resolvables=n.resolvables.slice(),this.views=n.views&&n.views.slice()}else{var i=t;this.state=i,this.paramSchema=i.parameters({inherit:!1}),this.paramValues={},this.resolvables=i.resolvables.map(function(e){return e.clone()})}}return e.prototype.clone=function(){return new e(this)},e.prototype.applyRawParams=function(e){return this.paramValues=this.paramSchema.reduce(function(t,n){return r.applyPairs(t,function(t){return[t.id,t.value(e[t.id])]}(n))},{}),this},e.prototype.parameter=function(e){return r.find(this.paramSchema,i.propEq("id",e))},e.prototype.equals=function(e,t){var n=this.diff(e,t);return n&&0===n.length},e.prototype.diff=function(e,t){if(this.state!==e.state)return!1;var n=t?t(this):this.paramSchema;return o.Param.changed(n,this.paramValues,e.paramValues)},e.clone=function(e){return e.clone()},e}();t.PathNode=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(9),i=n(17);function o(e,t){var n=r.isString(t)?[t]:t;return!!(r.isFunction(n)?n:function(e){for(var t=n,i=0;i<t.length;i++){var o=new r.Glob(t[i]);if(o&&o.matches(e.name)||!o&&t[i]===e.name)return!0}return!1})(e)}t.matchState=o;var a=function(){function e(e,t,n,r,i,o){void 0===o&&(o={}),this.tranSvc=e,this.eventType=t,this.callback=n,this.matchCriteria=r,this.removeHookFromRegistry=i,this.invokeCount=0,this._deregistered=!1,this.priority=o.priority||0,this.bind=o.bind||null,this.invokeLimit=o.invokeLimit}return e.prototype._matchingNodes=function(e,t){if(!0===t)return e;var n=e.filter(function(e){return o(e.state,t)});return n.length?n:null},e.prototype._getDefaultMatchCriteria=function(){return r.mapObj(this.tranSvc._pluginapi._getPathTypes(),function(){return!0})},e.prototype._getMatchingNodes=function(e){var t=this,n=r.extend(this._getDefaultMatchCriteria(),this.matchCriteria);return r.values(this.tranSvc._pluginapi._getPathTypes()).reduce(function(o,a){var s=a.scope===i.TransitionHookScope.STATE,l=e[a.name]||[],c=s?l:[r.tail(l)];return o[a.name]=t._matchingNodes(c,n[a.name]),o},{})},e.prototype.matches=function(e){var t=this._getMatchingNodes(e);return r.values(t).every(r.identity)?t:null},e.prototype.deregister=function(){this.removeHookFromRegistry(this),this._deregistered=!0},e}();t.RegisteredHook=a,t.makeEvent=function(e,t,n){var i=(e._registeredHooks=e._registeredHooks||{})[n.name]=[],o=r.removeFrom(i);function s(e,r,s){void 0===s&&(s={});var l=new a(t,n,r,e,o,s);return i.push(l),l.deregister.bind(l)}return e[n.name]=s,s}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),i=function(){function e(e,t){void 0===e&&(e=[]),void 0===t&&(t=null),this._items=e,this._limit=t,this._evictListeners=[],this.onEvict=r.pushTo(this._evictListeners)}return e.prototype.enqueue=function(e){var t=this._items;return t.push(e),this._limit&&t.length>this._limit&&this.evict(),e},e.prototype.evict=function(){var e=this._items.shift();return this._evictListeners.forEach(function(t){return t(e)}),e},e.prototype.dequeue=function(){if(this.size())return this._items.splice(0,1)[0]},e.prototype.clear=function(){var e=this._items;return this._items=[],e},e.prototype.size=function(){return this._items.length},e.prototype.remove=function(e){var t=this._items.indexOf(e);return t>-1&&this._items.splice(t,1)[0]},e.prototype.peekTail=function(){return this._items[this._items.length-1]},e.prototype.peekHead=function(){if(this.size())return this._items[0]},e}();t.Queue=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e){this.text=e,this.glob=e.split(".");var t=this.text.split(".").map(function(e){return"**"===e?"(?:|(?:\\.[^.]*)*)":"*"===e?"\\.[^.]*":"\\."+e}).join("");this.regexp=new RegExp("^"+t+"$")}return e.is=function(e){return!!/[!,*]+/.exec(e)},e.fromString=function(t){return e.is(t)?new e(t):null},e.prototype.matches=function(e){return this.regexp.test("."+e)},e}();t.Glob=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),i=n(3),o=n(39),a=n(1),s=function(){function e(t){return e.create(t||{})}return e.create=function(t){t=e.isStateClass(t)?new t:t;var n=r.inherit(r.inherit(t,e.prototype));return t.$$state=function(){return n},n.self=t,n.__stateObjectCache={nameGlob:o.Glob.fromString(n.name)},n},e.prototype.is=function(e){return this===e||this.self===e||this.fqn()===e},e.prototype.fqn=function(){if(!(this.parent&&this.parent instanceof this.constructor))return this.name;var e=this.parent.fqn();return e?e+"."+this.name:this.name},e.prototype.root=function(){return this.parent&&this.parent.root()||this},e.prototype.parameters=function(e){return((e=r.defaults(e,{inherit:!0,matchingKeys:null})).inherit&&this.parent&&this.parent.parameters()||[]).concat(r.values(this.params)).filter(function(t){return!e.matchingKeys||e.matchingKeys.hasOwnProperty(t.id)})},e.prototype.parameter=function(e,t){return void 0===t&&(t={}),this.url&&this.url.parameter(e,t)||r.find(r.values(this.params),i.propEq("id",e))||t.inherit&&this.parent&&this.parent.parameter(e)},e.prototype.toString=function(){return this.fqn()},e.isStateClass=function(e){return a.isFunction(e)&&!0===e.__uiRouterState},e.isState=function(e){return a.isObject(e.__stateObjectCache)},e}();t.StateObject=s},function(e,t){var n="/docs/source.html";window.angular.module("ng").run(["$templateCache",function(e){e.put(n,'<style>\n/* TODO */\n.section-target {\n    top: -8em;\n}\n\n.noflex {\n    flex: 0 0 160px !important;\n}\n\n.highlight {\n    color: #24292e;\n    background-color: white;\n}\n\n</style>\n\n<div class=\'app-scroll\'>\n    <div class="app-links app-sticky">\n        <div class="app-title">\n            <div class="app-frame app-pad app-flush-bottom">\n                <h1>\n                    <span class="break">{{ model.source_name }}.{{ model.name }}</span>\n                    <small>source table</small>\n                </h1>\n            </div>\n        </div>\n        <div class="app-frame app-pad-h">\n            <ul class="nav nav-tabs">\n                <li ui-sref-active=\'active\'><a ui-sref="dbt.source({\'#\': \'details\'})">Details</a></li>\n                <li ui-sref-active=\'active\'><a ui-sref="dbt.source({\'#\': \'description\'})">Description</a></li>\n                <li ui-sref-active=\'active\'><a ui-sref="dbt.source({\'#\': \'columns\'})">Columns</a></li>\n                <li ui-sref-active=\'active\'><a ui-sref="dbt.source({\'#\': \'sql\'})">SQL</a></li>\n            </ul>\n        </div>\n    </div>\n    <div class="app-details">\n        <div class="app-frame app-pad">\n            <section class="section">\n                <div class="section-target" id="details"></div>\n                <table-details model="model" extras="extra_table_fields"/>\n            </section>\n\n            <section class="section">\n                <div class="section-target" id="description"></div>\n                <div class="section-content">\n                    <h6>Description</h6>\n                    <div class="panel">\n                        <div class="panel-body">\n                            <div ng-if="model.description" class="model-markdown" marked="model.description"></div>\n                            <div ng-if="!model.description">This {{ model.resource_type }} is not currently documented</div>\n                        </div>\n                    </div>\n                </div>\n            </section>\n            <section class="section">\n                <div class="section-target" id="columns"></div>\n                <div class="section-content">\n                    <h6>Columns</h6>\n                    <column-details model="model" />\n                </div>\n            </section>\n            <section class="section">\n                <div class="section-target" id="sql"></div>\n                <div class="section-content">\n                    <h6>SQL</h6>\n                    <div class="panel">\n                        <div class="panel-body">\n                            <div class=\'row\'>\n                                <div class=\'col-md-6\'>\n                                    <h4>Example SQL</h4>\n                                </div>\n                                <div class=\'col-md-6 text-right\'>\n                                    <a class=\'unselectable\'\n                                       ng-click="copy_to_clipboard(sample_sql)">{{ copied ? \'copied\' : \'copy to clipboard\' }}</a>\n                                </div>\n                            </div>\n                            <div style="margin-top: 1px">\n                                <pre\n                                    class="source-code highlight sql"\n                                    ng-bind-html="highlighted.source"></pre>\n                            </div>\n                        </div>\n                    </div>\n                </div>\n            </section>\n        </div>\n    </div>\n</div>\n')}]),e.exports=n},function(e,t){var n={utf8:{stringToBytes:function(e){return n.bin.stringToBytes(unescape(encodeURIComponent(e)))},bytesToString:function(e){return decodeURIComponent(escape(n.bin.bytesToString(e)))}},bin:{stringToBytes:function(e){for(var t=[],n=0;n<e.length;n++)t.push(255&e.charCodeAt(n));return t},bytesToString:function(e){for(var t=[],n=0;n<e.length;n++)t.push(String.fromCharCode(e[n]));return t.join("")}}};e.exports=n},function(e,t,n){"use strict";var r=n(2),i=n(10).Graph,o=n(25).slack;function a(e,t){return r.each(e.nodes(),function n(i){r.each(t.nodeEdges(i),function(r){var a=r.v,s=i===a?r.w:a;e.hasNode(s)||o(t,r)||(e.setNode(s,{}),e.setEdge(i,s,{}),n(s))})}),e.nodeCount()}function s(e,t){return r.min(t.edges(),function(n){if(e.hasNode(n.v)!==e.hasNode(n.w))return o(t,n)})}function l(e,t,n){r.each(e.nodes(),function(e){t.node(e).rank+=n})}e.exports=function(e){var t,n,r=new i({directed:!1}),c=e.nodes()[0],u=e.nodeCount();r.setNode(c,{});for(;a(r,e)<u;)t=s(r,e),n=r.hasNode(t.v)?o(e,t):-o(e,t),l(r,e,n);return r}},function(e,t,n){var r=n(8);e.exports=function(e,t,n){r.isArray(t)||(t=[t]);var i=[],o={};return r.each(t,function(t){if(!e.hasNode(t))throw new Error("Graph does not have node: "+t);!function e(t,n,i,o,a){r.has(o,n)||(o[n]=!0,i||a.push(n),r.each(t.neighbors(n),function(n){e(t,n,i,o,a)}),i&&a.push(n))}(e,t,"post"===n,o,i)}),i}},function(e,t,n){var r=n(8);function i(e){var t={},n={},i=[];if(r.each(e.sinks(),function a(s){if(r.has(n,s))throw new o;r.has(t,s)||(n[s]=!0,t[s]=!0,r.each(e.predecessors(s),a),delete n[s],i.push(s))}),r.size(t)!==e.nodeCount())throw new o;return i}function o(){}e.exports=i,i.CycleException=o},function(e,t,n){var r=n(8);e.exports=function(e){var t=0,n=[],i={},o=[];return e.nodes().forEach(function(a){r.has(i,a)||function a(s){var l=i[s]={onStack:!0,lowlink:t,index:t++};if(n.push(s),e.successors(s).forEach(function(e){r.has(i,e)?i[e].onStack&&(l.lowlink=Math.min(l.lowlink,i[e].index)):(a(e),l.lowlink=Math.min(l.lowlink,i[e].lowlink))}),l.lowlink===l.index){var c,u=[];do{c=n.pop(),i[c].onStack=!1,u.push(c)}while(s!==c);o.push(u)}}(a)}),o}},function(e,t,n){var r=n(8);function i(){this._arr=[],this._keyIndices={}}e.exports=i,i.prototype.size=function(){return this._arr.length},i.prototype.keys=function(){return this._arr.map(function(e){return e.key})},i.prototype.has=function(e){return r.has(this._keyIndices,e)},i.prototype.priority=function(e){var t=this._keyIndices[e];if(void 0!==t)return this._arr[t].priority},i.prototype.min=function(){if(0===this.size())throw new Error("Queue underflow");return this._arr[0].key},i.prototype.add=function(e,t){var n=this._keyIndices;if(e=String(e),!r.has(n,e)){var i=this._arr,o=i.length;return n[e]=o,i.push({key:e,priority:t}),this._decrease(o),!0}return!1},i.prototype.removeMin=function(){this._swap(0,this._arr.length-1);var e=this._arr.pop();return delete this._keyIndices[e.key],this._heapify(0),e.key},i.prototype.decrease=function(e,t){var n=this._keyIndices[e];if(t>this._arr[n].priority)throw new Error("New priority is greater than current priority. Key: "+e+" Old: "+this._arr[n].priority+" New: "+t);this._arr[n].priority=t,this._decrease(n)},i.prototype._heapify=function(e){var t=this._arr,n=2*e,r=n+1,i=e;n<t.length&&(i=t[n].priority<t[i].priority?n:i,r<t.length&&(i=t[r].priority<t[i].priority?r:i),i!==e&&(this._swap(e,i),this._heapify(i)))},i.prototype._decrease=function(e){for(var t,n=this._arr,r=n[e].priority;0!==e&&!(n[t=e>>1].priority<r);)this._swap(e,t),e=t},i.prototype._swap=function(e,t){var n=this._arr,r=this._keyIndices,i=n[e],o=n[t];n[e]=o,n[t]=i,r[o.key]=e,r[i.key]=t}},function(e,t,n){var r=n(8),i=n(47);e.exports=function(e,t,n,r){return function(e,t,n,r){var o,a,s={},l=new i,c=function(e){var t=e.v!==o?e.v:e.w,r=s[t],i=n(e),c=a.distance+i;if(i<0)throw new Error("dijkstra does not allow negative edge weights. Bad edge: "+e+" Weight: "+i);c<r.distance&&(r.distance=c,r.predecessor=o,l.decrease(t,c))};e.nodes().forEach(function(e){var n=e===t?0:Number.POSITIVE_INFINITY;s[e]={distance:n},l.add(e,n)});for(;l.size()>0&&(o=l.removeMin(),(a=s[o]).distance!==Number.POSITIVE_INFINITY);)r(o).forEach(c);return s}(e,String(t),n||o,r||function(t){return e.outEdges(t)})};var o=r.constant(1)},function(e,t,n){var r=n(155);e.exports={Graph:r.Graph,json:n(152),alg:n(151),version:r.version}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),i=function(){function e(e,t){void 0===t&&(t=!1),this._isHtml5=t,this._baseHref=void 0,this._hashPrefix=""}return e.prototype.port=function(){return location.port?Number(location.port):"https"===this.protocol()?443:80},e.prototype.protocol=function(){return location.protocol.replace(/:/g,"")},e.prototype.host=function(){return location.hostname},e.prototype.html5Mode=function(){return this._isHtml5},e.prototype.hashPrefix=function(e){return r.isDefined(e)?this._hashPrefix=e:this._hashPrefix},e.prototype.baseHref=function(e){return r.isDefined(e)?this._baseHref=e:r.isDefined(this._baseHref)?this._baseHref:this.applyDocumentBaseHref()},e.prototype.applyDocumentBaseHref=function(){var e=document.getElementsByTagName("base")[0];return this._baseHref=e?e.href.substr(location.origin.length):location.pathname||"/"},e.prototype.dispose=function(){},e}();t.BrowserLocationConfig=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),i=n(0),o=function(){return function(){var e=this;this.dispose=i.noop,this._baseHref="",this._port=80,this._protocol="http",this._host="localhost",this._hashPrefix="",this.port=function(){return e._port},this.protocol=function(){return e._protocol},this.host=function(){return e._host},this.baseHref=function(){return e._baseHref},this.html5Mode=function(){return!1},this.hashPrefix=function(t){return r.isDefined(t)?e._hashPrefix=t:e._hashPrefix}}}();t.MemoryLocationConfig=o},function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0});var i=n(26),o=n(9),a=function(e){function t(t){var n=e.call(this,t,!0)||this;return n._config=t.urlService.config,o.root.addEventListener("popstate",n._listener,!1),n}return r(t,e),t.prototype._getBasePrefix=function(){return o.stripLastPathElement(this._config.baseHref())},t.prototype._get=function(){var e=this._location,t=e.pathname,n=e.hash,r=e.search;r=o.splitQuery(r)[1],n=o.splitHash(n)[1];var i=this._getBasePrefix(),a=t===this._config.baseHref(),s=t.substr(0,i.length)===i;return(t=a?"/":s?t.substring(i.length):t)+(r?"?"+r:"")+(n?"#"+n:"")},t.prototype._set=function(e,t,n,r){var i=this._getBasePrefix(),o=n&&"/"!==n[0]?"/":"",a=""===n||"/"===n?this._config.baseHref():i+o+n;r?this._history.replaceState(e,t,a):this._history.pushState(e,t,a)},t.prototype.dispose=function(t){e.prototype.dispose.call(this,t),o.root.removeEventListener("popstate",this._listener)},t}(i.BaseLocationServices);t.PushStateLocationService=a},function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0});var i=function(e){function t(t){return e.call(this,t,!0)||this}return r(t,e),t.prototype._get=function(){return this._url},t.prototype._set=function(e,t,n,r){this._url=n},t}(n(26).BaseLocationServices);t.MemoryLocationService=i},function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0});var i=n(9),o=function(e){function t(t){var n=e.call(this,t,!1)||this;return i.root.addEventListener("hashchange",n._listener,!1),n}return r(t,e),t.prototype._get=function(){return i.trimHashVal(this._location.hash)},t.prototype._set=function(e,t,n,r){this._location.hash=n},t.prototype.dispose=function(t){e.prototype.dispose.call(this,t),i.root.removeEventListener("hashchange",this._listener)},t}(n(26).BaseLocationServices);t.HashLocationService=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(9),i={},o=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,a=/([^\s,]+)/g;t.$injector={get:function(e){return i[e]},has:function(e){return null!=t.$injector.get(e)},invoke:function(e,n,o){var a=r.extend({},i,o||{}),s=t.$injector.annotate(e),l=r.assertPredicate(function(e){return a.hasOwnProperty(e)},function(e){return"DI can't find injectable: '"+e+"'"}),c=s.filter(l).map(function(e){return a[e]});return r.isFunction(e)?e.apply(n,c):e.slice(-1)[0].apply(n,c)},annotate:function(e){if(!r.isInjectable(e))throw new Error("Not an injectable function: "+e);if(e&&e.$inject)return e.$inject;if(r.isArray(e))return e.slice(0,-1);var t=e.toString().replace(o,"");return t.slice(t.indexOf("(")+1,t.indexOf(")")).match(a)||[]}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(9);t.$q={when:function(e){return new Promise(function(t,n){return t(e)})},reject:function(e){return new Promise(function(t,n){n(e)})},defer:function(){var e={};return e.promise=new Promise(function(t,n){e.resolve=t,e.reject=n}),e},all:function(e){if(r.isArray(e))return Promise.all(e);if(r.isObject(e)){var n=Object.keys(e).map(function(t){return e[t].then(function(e){return{key:t,val:e}})});return t.$q.all(n).then(function(e){return e.reduce(function(e,t){return e[t.key]=t.val,e},{})})}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(23),i=function(){return function(e,t,n,i,o,a,s,l){void 0===o&&(o=!1),void 0===a&&(a=r.TransitionHook.HANDLE_RESULT),void 0===s&&(s=r.TransitionHook.REJECT_ERROR),void 0===l&&(l=!1),this.name=e,this.hookPhase=t,this.hookOrder=n,this.criteriaMatchPath=i,this.reverseSort=o,this.getResultHandler=a,this.getErrorHandler=s,this.synchronous=l}}();t.TransitionEventType=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(5),i=function(e){var t=e.router;var n=e.entering().filter(function(e){return!!e.$$state().lazyLoad}).map(function(t){return o(e,t)});return r.services.$q.all(n).then(function(){if("url"!==e.originalTransition().options().source){var n=e.targetState();return t.stateService.target(n.identifier(),n.params(),n.options())}var r=t.urlService,i=r.match(r.parts()),o=i&&i.rule;if(o&&"STATE"===o.type){var a=o.state,s=i.match;return t.stateService.target(a,s,e.options())}t.urlService.sync()})};function o(e,t){var n=t.$$state().lazyLoad,i=n._promise;if(!i){i=n._promise=r.services.$q.when(n(e,t)).then(function(t){t&&Array.isArray(t.states)&&t.states.forEach(function(t){return e.router.stateRegistry.register(t)});return t}).then(function(e){return delete t.lazyLoad,delete t.$$state().lazyLoad,delete n._promise,e},function(e){return delete n._promise,r.services.$q.reject(e)})}return i}t.registerLazyLoadHook=function(e){return e.onBefore({entering:function(e){return!!e.lazyLoad}},i)},t.lazyLoadState=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(5),i=n(0),o=function(e){return e.reduce(function(e,t){return e[t]=r.notImplemented(t),e},{dispose:i.noop})},a=["url","path","search","hash","onChange"],s=["port","protocol","host","baseHref","html5Mode","hashPrefix"],l=["type","caseInsensitive","strictMode","defaultSquashPolicy"],c=["sort","when","initial","otherwise","rules","rule","removeRule"],u=["deferIntercept","listen","sync","match"],d=function(){function e(e,t){void 0===t&&(t=!0),this.router=e,this.rules={},this.config={};var n=function(){return e.locationService};i.createProxyFunctions(n,this,n,a,t);var r=function(){return e.locationConfig};i.createProxyFunctions(r,this.config,r,s,t);var o=function(){return e.urlMatcherFactory};i.createProxyFunctions(o,this.config,o,l);var d=function(){return e.urlRouter};i.createProxyFunctions(d,this.rules,d,c),i.createProxyFunctions(d,this,d,u)}return e.prototype.url=function(e,t,n){},e.prototype.path=function(){},e.prototype.search=function(){},e.prototype.hash=function(){},e.prototype.onChange=function(e){},e.prototype.parts=function(){return{path:this.path(),search:this.search(),hash:this.hash()}},e.prototype.dispose=function(){},e.prototype.sync=function(e){},e.prototype.listen=function(e){},e.prototype.deferIntercept=function(e){},e.prototype.match=function(e){},e.locationServiceStub=o(a),e.locationConfigStub=o(s),e}();t.UrlService=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(72),i=n(38),o=function(){function e(){this.params=new r.StateParams,this.lastStartedTransitionId=-1,this.transitionHistory=new i.Queue([],1),this.successfulTransitions=new i.Queue([],1)}return e.prototype.dispose=function(){this.transitionHistory.clear(),this.successfulTransitions.clear(),this.transition=null},e}();t.UIRouterGlobals=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),i=n(3),o=n(1),a=n(13),s=function(){function e(){var e=this;this._uiViews=[],this._viewConfigs=[],this._viewConfigFactories={},this._listeners=[],this._pluginapi={_rootViewContext:this._rootViewContext.bind(this),_viewConfigFactory:this._viewConfigFactory.bind(this),_registeredUIViews:function(){return e._uiViews},_activeViewConfigs:function(){return e._viewConfigs},_onSync:function(t){return e._listeners.push(t),function(){return r.removeFrom(e._listeners,t)}}}}return e.normalizeUIViewTarget=function(e,t){void 0===t&&(t="");var n=t.split("@"),r=n[0]||"$default",i=o.isString(n[1])?n[1]:"^",a=/^(\^(?:\.\^)*)\.(.*$)/.exec(r);a&&(i=a[1],r=a[2]),"!"===r.charAt(0)&&(r=r.substr(1),i="");/^(\^(?:\.\^)*)$/.exec(i)?i=i.split(".").reduce(function(e,t){return e.parent},e).name:"."===i&&(i=e.name);return{uiViewName:r,uiViewContextAnchor:i}},e.prototype._rootViewContext=function(e){return this._rootContext=e||this._rootContext},e.prototype._viewConfigFactory=function(e,t){this._viewConfigFactories[e]=t},e.prototype.createViewConfig=function(e,t){var n=this._viewConfigFactories[t.$type];if(!n)throw new Error("ViewService: No view config factory registered for type "+t.$type);var r=n(e,t);return o.isArray(r)?r:[r]},e.prototype.deactivateViewConfig=function(e){a.trace.traceViewServiceEvent("<- Removing",e),r.removeFrom(this._viewConfigs,e)},e.prototype.activateViewConfig=function(e){a.trace.traceViewServiceEvent("-> Registering",e),this._viewConfigs.push(e)},e.prototype.sync=function(){var t=this,n=this._uiViews.map(function(e){return[e.fqn,e]}).reduce(r.applyPairs,{});function o(e){for(var t=e.viewDecl.$context,n=0;++n&&t.parent;)t=t.parent;return n}var s=i.curry(function(e,t,n,r){return t*(e(n)-e(r))}),l=this._uiViews.sort(s(function(e){var t=function(e){return e&&e.parent?t(e.parent)+1:1};return 1e4*e.fqn.split(".").length+t(e.creationContext)},1)).map(function(r){var i=t._viewConfigs.filter(e.matches(n,r));return i.length>1&&i.sort(s(o,-1)),{uiView:r,viewConfig:i[0]}}),c=l.map(function(e){return e.viewConfig}),u=this._viewConfigs.filter(function(e){return!r.inArray(c,e)}).map(function(e){return{uiView:void 0,viewConfig:e}});l.forEach(function(e){-1!==t._uiViews.indexOf(e.uiView)&&e.uiView.configUpdated(e.viewConfig)});var d=l.concat(u);this._listeners.forEach(function(e){return e(d)}),a.trace.traceViewSync(d)},e.prototype.registerUIView=function(e){a.trace.traceViewServiceUIViewEvent("-> Registering",e);var t=this._uiViews;return t.filter(function(t){return t.fqn===e.fqn&&t.$type===e.$type}).length&&a.trace.traceViewServiceUIViewEvent("!!!! duplicate uiView named:",e),t.push(e),this.sync(),function(){-1!==t.indexOf(e)?(a.trace.traceViewServiceUIViewEvent("<- Deregistering",e),r.removeFrom(t)(e)):a.trace.traceViewServiceUIViewEvent("Tried removing non-registered uiView",e)}},e.prototype.available=function(){return this._uiViews.map(i.prop("fqn"))},e.prototype.active=function(){return this._uiViews.filter(i.prop("$config")).map(i.prop("name"))},e.matches=function(e,t){return function(n){if(t.$type!==n.viewDecl.$type)return!1;var i=n.viewDecl,o=i.$uiViewName.split("."),a=t.fqn.split(".");if(!r.equals(o,a.slice(0-o.length)))return!1;var s=1-o.length||void 0,l=a.slice(0,s).join("."),c=e[l].creationContext;return i.$uiViewContextAnchor===(c&&c.name)}},e}();t.ViewService=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(27),i=n(1),o=n(0),a=n(3),s=function(){function e(e){this.router=e}return e.prototype.compile=function(e){return this.router.urlMatcherFactory.compile(e)},e.prototype.create=function(e,t){var n=this,o=a.pattern([[i.isString,function(e){return o(n.compile(e))}],[a.is(r.UrlMatcher),function(e){return n.fromUrlMatcher(e,t)}],[i.isState,function(e){return n.fromState(e,n.router)}],[a.is(RegExp),function(e){return n.fromRegExp(e,t)}],[i.isFunction,function(e){return new l(e,t)}]]),s=o(e);if(!s)throw new Error("invalid 'what' in when()");return s},e.prototype.fromUrlMatcher=function(e,t){var n=t;i.isString(t)&&(t=this.router.urlMatcherFactory.compile(t)),a.is(r.UrlMatcher)(t)&&(n=function(e){return t.format(e)});var s={urlMatcher:e,matchPriority:function(t){var n=e.parameters().filter(function(e){return e.isOptional});return n.length?n.filter(function(e){return t[e.id]}).length/n.length:1e-6},type:"URLMATCHER"};return o.extend(new l(function(t){var n=e.exec(t.path,t.search,t.hash);return e.validates(n)&&n},n),s)},e.prototype.fromState=function(e,t){var n={state:e,type:"STATE"};return o.extend(this.fromUrlMatcher(e.url,function(n){var r=t.stateService,i=t.globals;r.href(e,n)!==r.href(i.current,i.params)&&r.transitionTo(e,n,{inherit:!0,source:"url"})}),n)},e.prototype.fromRegExp=function(e,t){if(e.global||e.sticky)throw new Error("Rule RegExp must not be global or sticky");var n=i.isString(t)?function(e){return t.replace(/\$(\$|\d{1,2})/,function(t,n){return e["$"===n?0:Number(n)]})}:t,r={regexp:e,type:"REGEXP"};return o.extend(new l(function(t){return e.exec(t.path)},n),r)},e.isUrlRule=function(e){return e&&["type","match","handler"].every(function(t){return i.isDefined(e[t])})},e}();t.UrlRuleFactory=s;var l=function(){return function(e,t){var n=this;this.match=e,this.type="RAW",this.matchPriority=function(e){return 0-n.$id},this.handler=t||o.identity}}();t.BaseUrlRule=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),i=n(1),o=n(27),a=n(3),s=n(62),l=n(16),c=n(9);var u;u=function(e,t){var n=function(e,t){return(t.priority||0)-(e.priority||0)}(e,t);return 0!==n?n:0!==(n=function(e,t){var n={STATE:4,URLMATCHER:4,REGEXP:3,RAW:2,OTHER:1};return(n[e.type]||0)-(n[t.type]||0)}(e,t))?n:0!==(n=function(e,t){return e.urlMatcher&&t.urlMatcher?o.UrlMatcher.compare(e.urlMatcher,t.urlMatcher):0}(e,t))?n:function(e,t){var n={STATE:!0,URLMATCHER:!0};return n[e.type]&&n[t.type]?0:(e.$id||0)-(t.$id||0)}(e,t)};var d=function(){function e(t){this._sortFn=u,this._rules=[],this.interceptDeferred=!1,this._id=0,this._sorted=!1,this._router=t,this.urlRuleFactory=new s.UrlRuleFactory(t),r.createProxyFunctions(a.val(e.prototype),this,a.val(this))}return e.prototype.dispose=function(){this.listen(!1),this._rules=[],delete this._otherwiseFn},e.prototype.sort=function(e){this._rules=this.stableSort(this._rules,this._sortFn=e||this._sortFn),this._sorted=!0},e.prototype.ensureSorted=function(){this._sorted||this.sort()},e.prototype.stableSort=function(e,t){var n=e.map(function(e,t){return{elem:e,idx:t}});return n.sort(function(e,n){var r=t(e.elem,n.elem);return 0===r?e.idx-n.idx:r}),n.map(function(e){return e.elem})},e.prototype.match=function(e){var t=this;this.ensureSorted(),e=r.extend({path:"",search:{},hash:""},e);var n=this.rules();this._otherwiseFn&&n.push(this._otherwiseFn);for(var i,o=function(n){var r=n.match(e,t._router);return r&&{match:r,rule:n,weight:n.matchPriority(r)}},a=0;a<n.length&&(!i||0===this._sortFn(n[a],i.rule));a++){var s=o(n[a]);i=!i||s&&s.weight>i.weight?s:i}return i},e.prototype.sync=function(e){if(!e||!e.defaultPrevented){var t=this._router,n=t.urlService,r=t.stateService,o={path:n.path(),search:n.search(),hash:n.hash()},s=this.match(o);a.pattern([[i.isString,function(e){return n.url(e,!0)}],[l.TargetState.isDef,function(e){return r.go(e.state,e.params,e.options)}],[a.is(l.TargetState),function(e){return r.go(e.state(),e.params(),e.options())}]])(s&&s.rule.handler(s.match,o,t))}},e.prototype.listen=function(e){var t=this;if(!1!==e)return this._stopFn=this._stopFn||this._router.urlService.onChange(function(e){return t.sync(e)});this._stopFn&&this._stopFn(),delete this._stopFn},e.prototype.update=function(e){var t=this._router.locationService;e?this.location=t.url():t.url()!==this.location&&t.url(this.location,!0)},e.prototype.push=function(e,t,n){var r=n&&!!n.replace;this._router.urlService.url(e.format(t||{}),r)},e.prototype.href=function(e,t,n){var r=e.format(t);if(null==r)return null;n=n||{absolute:!1};var i=this._router.urlService.config,o=i.html5Mode();if(o||null===r||(r="#"+i.hashPrefix()+r),r=function(e,t,n,r){return"/"===r?e:t?c.stripLastPathElement(r)+e:n?r.slice(1)+e:e}(r,o,n.absolute,i.baseHref()),!n.absolute||!r)return r;var a=!o&&r?"/":"",s=i.port(),l=80===s||443===s?"":":"+s;return[i.protocol(),"://",i.host(),l,a,r].join("")},e.prototype.rule=function(e){var t=this;if(!s.UrlRuleFactory.isUrlRule(e))throw new Error("invalid rule");return e.$id=this._id++,e.priority=e.priority||0,this._rules.push(e),this._sorted=!1,function(){return t.removeRule(e)}},e.prototype.removeRule=function(e){r.removeFrom(this._rules,e)},e.prototype.rules=function(){return this.ensureSorted(),this._rules.slice()},e.prototype.otherwise=function(e){var t=p(e);this._otherwiseFn=this.urlRuleFactory.create(a.val(!0),t),this._sorted=!1},e.prototype.initial=function(e){var t=p(e);this.rule(this.urlRuleFactory.create(function(e,t){return 0===t.globals.transitionHistory.size()&&!!/^\/?$/.exec(e.path)},t))},e.prototype.when=function(e,t,n){var r=this.urlRuleFactory.create(e,t);return i.isDefined(n&&n.priority)&&(r.priority=n.priority),this.rule(r),r},e.prototype.deferIntercept=function(e){void 0===e&&(e=!0),this.interceptDeferred=e},e}();function p(e){if(!(i.isFunction(e)||i.isString(e)||a.is(l.TargetState)(e)||l.TargetState.isDef(e)))throw new Error("'handler' must be a string, function, TargetState, or have a state: 'newtarget' property");return i.isFunction(e)?e:a.val(e)}t.UrlRouter=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),i=n(1),o=n(27),a=n(15),s=n(73),l=function(){function e(){var e=this;this.paramTypes=new s.ParamTypes,this._isCaseInsensitive=!1,this._isStrictMode=!0,this._defaultSquashPolicy=!1,this.paramFactory={fromConfig:function(t,n,r){return new a.Param(t,n,r,a.DefType.CONFIG,e)},fromPath:function(t,n,r){return new a.Param(t,n,r,a.DefType.PATH,e)},fromSearch:function(t,n,r){return new a.Param(t,n,r,a.DefType.SEARCH,e)}},this._getConfig=function(t){return r.extend({strict:e._isStrictMode,caseInsensitive:e._isCaseInsensitive},t)},r.extend(this,{UrlMatcher:o.UrlMatcher,Param:a.Param})}return e.prototype.caseInsensitive=function(e){return this._isCaseInsensitive=i.isDefined(e)?e:this._isCaseInsensitive},e.prototype.strictMode=function(e){return this._isStrictMode=i.isDefined(e)?e:this._isStrictMode},e.prototype.defaultSquashPolicy=function(e){if(i.isDefined(e)&&!0!==e&&!1!==e&&!i.isString(e))throw new Error("Invalid squash policy: "+e+". Valid policies: false, true, arbitrary-string");return this._defaultSquashPolicy=i.isDefined(e)?e:this._defaultSquashPolicy},e.prototype.compile=function(e,t){return new o.UrlMatcher(e,this.paramTypes,this.paramFactory,this._getConfig(t))},e.prototype.isMatcher=function(e){if(!i.isObject(e))return!1;var t=!0;return r.forEach(o.UrlMatcher.prototype,function(n,r){i.isFunction(n)&&(t=t&&i.isDefined(e[r])&&i.isFunction(e[r]))}),t},e.prototype.type=function(e,t,n){var r=this.paramTypes.type(e,t,n);return i.isDefined(t)?this:r},e.prototype.$get=function(){return this.paramTypes.enqueue=!1,this.paramTypes._flushTypeQueue(),this},e.prototype.dispose=function(){this.paramTypes.dispose()},e}();t.UrlMatcherFactory=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(64),i=n(63),o=n(34),a=n(61),s=n(67),l=n(66),c=n(60),u=n(0),d=n(1),p=n(59),f=n(13),h=0,g=function(){function e(e,t){void 0===e&&(e=p.UrlService.locationServiceStub),void 0===t&&(t=p.UrlService.locationConfigStub),this.locationService=e,this.locationConfig=t,this.$id=h++,this._disposed=!1,this._disposables=[],this.trace=f.trace,this.viewService=new a.ViewService,this.globals=new c.UIRouterGlobals,this.transitionService=new o.TransitionService(this),this.urlMatcherFactory=new r.UrlMatcherFactory,this.urlRouter=new i.UrlRouter(this),this.stateRegistry=new s.StateRegistry(this),this.stateService=new l.StateService(this),this.urlService=new p.UrlService(this),this._plugins={},this.viewService._pluginapi._rootViewContext(this.stateRegistry.root()),this.globals.$current=this.stateRegistry.root(),this.globals.current=this.globals.$current.self,this.disposable(this.globals),this.disposable(this.stateService),this.disposable(this.stateRegistry),this.disposable(this.transitionService),this.disposable(this.urlRouter),this.disposable(e),this.disposable(t)}return e.prototype.disposable=function(e){this._disposables.push(e)},e.prototype.dispose=function(e){var t=this;e&&d.isFunction(e.dispose)?e.dispose(this):(this._disposed=!0,this._disposables.slice().forEach(function(e){try{"function"==typeof e.dispose&&e.dispose(t),u.removeFrom(t._disposables,e)}catch(e){}}))},e.prototype.plugin=function(e,t){void 0===t&&(t={});var n=new e(this,t);if(!n.name)throw new Error("Required property `name` missing on plugin: "+n);return this._disposables.push(n),this._plugins[n.name]=n},e.prototype.getPlugin=function(e){return e?this._plugins[e]:u.values(this._plugins)},e}();t.UIRouter=g},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),i=n(1),o=n(38),a=n(5),s=n(29),l=n(36),c=n(34),u=n(18),d=n(16),p=n(15),f=n(39),h=n(28),g=n(58),m=n(3),v=function(){function e(t){this.router=t,this.invalidCallbacks=[],this._defaultErrorHandler=function(e){e instanceof Error&&e.stack?(console.error(e),console.error(e.stack)):e instanceof u.Rejection?(console.error(e.toString()),e.detail&&e.detail.stack&&console.error(e.detail.stack)):console.error(e)};var n=Object.keys(e.prototype).filter(m.not(r.inArray(["current","$current","params","transition"])));r.createProxyFunctions(m.val(e.prototype),this,m.val(this),n)}return Object.defineProperty(e.prototype,"transition",{get:function(){return this.router.globals.transition},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"params",{get:function(){return this.router.globals.params},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"current",{get:function(){return this.router.globals.current},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"$current",{get:function(){return this.router.globals.$current},enumerable:!0,configurable:!0}),e.prototype.dispose=function(){this.defaultErrorHandler(r.noop),this.invalidCallbacks=[]},e.prototype._handleInvalidTargetState=function(e,t){var n=this,r=s.PathUtils.makeTargetState(this.router.stateRegistry,e),i=this.router.globals,l=function(){return i.transitionHistory.peekTail()},c=l(),p=new o.Queue(this.invalidCallbacks.slice()),f=new h.ResolveContext(e).injector(),g=function(e){if(e instanceof d.TargetState){var t=e;return(t=n.target(t.identifier(),t.params(),t.options())).valid()?l()!==c?u.Rejection.superseded().toPromise():n.transitionTo(t.identifier(),t.params(),t.options()):u.Rejection.invalid(t.error()).toPromise()}};return function e(){var n=p.dequeue();return void 0===n?u.Rejection.invalid(t.error()).toPromise():a.services.$q.when(n(t,r,f)).then(g).then(function(t){return t||e()})}()},e.prototype.onInvalid=function(e){return this.invalidCallbacks.push(e),function(){r.removeFrom(this.invalidCallbacks)(e)}.bind(this)},e.prototype.reload=function(e){return this.transitionTo(this.current,this.params,{reload:!i.isDefined(e)||e,inherit:!1,notify:!1})},e.prototype.go=function(e,t,n){var i={relative:this.$current,inherit:!0},o=r.defaults(n,i,c.defaultTransOpts);return this.transitionTo(e,t,o)},e.prototype.target=function(e,t,n){if(void 0===n&&(n={}),i.isObject(n.reload)&&!n.reload.name)throw new Error("Invalid reload state object");var r=this.router.stateRegistry;if(n.reloadState=!0===n.reload?r.root():r.matcher.find(n.reload,n.relative),n.reload&&!n.reloadState)throw new Error("No such reload state '"+(i.isString(n.reload)?n.reload:n.reload.name)+"'");return new d.TargetState(this.router.stateRegistry,e,t,n)},e.prototype.getCurrentPath=function(){var e=this,t=this.router.globals.successfulTransitions.peekTail();return t?t.treeChanges().to:[new l.PathNode(e.router.stateRegistry.root())]},e.prototype.transitionTo=function(e,t,n){var i=this;void 0===t&&(t={}),void 0===n&&(n={});var o=this.router,s=o.globals;n=r.defaults(n,c.defaultTransOpts);n=r.extend(n,{current:function(){return s.transition}});var l=this.target(e,t,n),p=this.getCurrentPath();if(!l.exists())return this._handleInvalidTargetState(p,l);if(!l.valid())return r.silentRejection(l.error());var f=function(e){return function(t){if(t instanceof u.Rejection){var n=o.globals.lastStartedTransitionId===e.$id;if(t.type===u.RejectType.IGNORED)return n&&o.urlRouter.update(),a.services.$q.when(s.current);var r=t.detail;if(t.type===u.RejectType.SUPERSEDED&&t.redirected&&r instanceof d.TargetState){var l=e.redirect(r);return l.run().catch(f(l))}if(t.type===u.RejectType.ABORTED)return n&&o.urlRouter.update(),a.services.$q.reject(t)}return i.defaultErrorHandler()(t),a.services.$q.reject(t)}},h=this.router.transitionService.create(p,l),g=h.run().catch(f(h));return r.silenceUncaughtInPromise(g),r.extend(g,{transition:h})},e.prototype.is=function(e,t,n){n=r.defaults(n,{relative:this.$current});var o=this.router.stateRegistry.matcher.find(e,n.relative);if(i.isDefined(o)){if(this.$current!==o)return!1;if(!t)return!0;var a=o.parameters({inherit:!0,matchingKeys:t});return p.Param.equals(a,p.Param.values(a,t),this.params)}},e.prototype.includes=function(e,t,n){n=r.defaults(n,{relative:this.$current});var o=i.isString(e)&&f.Glob.fromString(e);if(o){if(!o.matches(this.$current.name))return!1;e=this.$current.name}var a=this.router.stateRegistry.matcher.find(e,n.relative),s=this.$current.includes;if(i.isDefined(a)){if(!i.isDefined(s[a.name]))return!1;if(!t)return!0;var l=a.parameters({inherit:!0,matchingKeys:t});return p.Param.equals(l,p.Param.values(l,t),this.params)}},e.prototype.href=function(e,t,n){var o={lossy:!0,inherit:!0,absolute:!1,relative:this.$current};n=r.defaults(n,o),t=t||{};var a=this.router.stateRegistry.matcher.find(e,n.relative);if(!i.isDefined(a))return null;n.inherit&&(t=this.params.$inherit(t,this.$current,a));var s=a&&n.lossy?a.navigable:a;return s&&void 0!==s.url&&null!==s.url?this.router.urlRouter.href(s.url,t,{absolute:n.absolute}):null},e.prototype.defaultErrorHandler=function(e){return this._defaultErrorHandler=e||this._defaultErrorHandler},e.prototype.get=function(e,t){var n=this.router.stateRegistry;return 0===arguments.length?n.get():n.get(e,t||this.$current)},e.prototype.lazyLoad=function(e,t){var n=this.get(e);if(!n||!n.lazyLoad)throw new Error("Can not lazy load "+e);var r=this.getCurrentPath(),i=s.PathUtils.makeTargetState(this.router.stateRegistry,r);return t=t||this.router.transitionService.create(r,i),g.lazyLoadState(t,n)},e}();t.StateService=v},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(69),i=n(70),o=n(68),a=n(0),s=n(3),l=function(){function e(e){this._router=e,this.states={},this.listeners=[],this.matcher=new r.StateMatcher(this.states),this.builder=new i.StateBuilder(this.matcher,e.urlMatcherFactory),this.stateQueue=new o.StateQueueManager(this,e.urlRouter,this.states,this.builder,this.listeners),this._registerRoot()}return e.prototype._registerRoot=function(){(this._root=this.stateQueue.register({name:"",url:"^",views:null,params:{"#":{value:null,type:"hash",dynamic:!0}},abstract:!0})).navigable=null},e.prototype.dispose=function(){var e=this;this.stateQueue.dispose(),this.listeners=[],this.get().forEach(function(t){return e.get(t)&&e.deregister(t)})},e.prototype.onStatesChanged=function(e){return this.listeners.push(e),function(){a.removeFrom(this.listeners)(e)}.bind(this)},e.prototype.root=function(){return this._root},e.prototype.register=function(e){return this.stateQueue.register(e)},e.prototype._deregisterTree=function(e){var t=this,n=this.get().map(function(e){return e.$$state()}),r=function(e){var t=n.filter(function(t){return-1!==e.indexOf(t.parent)});return 0===t.length?t:t.concat(r(t))},i=r([e]),o=[e].concat(i).reverse();return o.forEach(function(e){var n=t._router.urlRouter;n.rules().filter(s.propEq("state",e)).forEach(n.removeRule.bind(n)),delete t.states[e.name]}),o},e.prototype.deregister=function(e){var t=this.get(e);if(!t)throw new Error("Can't deregister state; not found: "+e);var n=this._deregisterTree(t.$$state());return this.listeners.forEach(function(e){return e("deregistered",n.map(function(e){return e.self}))}),n},e.prototype.get=function(e,t){var n=this;if(0===arguments.length)return Object.keys(this.states).map(function(e){return n.states[e].self});var r=this.matcher.find(e,t);return r&&r.self||null},e.prototype.decorator=function(e,t){return this.builder.builder(e,t)},e}();t.StateRegistry=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),i=n(1),o=n(40),a=n(3),s=function(){function e(e,t,n,r,i){this.$registry=e,this.$urlRouter=t,this.states=n,this.builder=r,this.listeners=i,this.queue=[],this.matcher=e.matcher}return e.prototype.dispose=function(){this.queue=[]},e.prototype.register=function(e){var t=this.queue,n=o.StateObject.create(e),s=n.name;if(!i.isString(s))throw new Error("State must have a valid name");if(this.states.hasOwnProperty(s)||r.inArray(t.map(a.prop("name")),s))throw new Error("State '"+s+"' is already defined");return t.push(n),this.flush(),n},e.prototype.flush=function(){for(var e=this,t=this.queue,n=this.states,r=this.builder,i=[],o=[],a={},s=function(t){return e.states.hasOwnProperty(t)&&e.states[t]},l=function(){i.length&&e.listeners.forEach(function(e){return e("registered",i.map(function(e){return e.self}))})};t.length>0;){var c=t.shift(),u=c.name,d=r.build(c),p=o.indexOf(c);if(d){var f=s(u);if(f&&f.name===u)throw new Error("State '"+u+"' is already defined");var h=s(u+".**");h&&this.$registry.deregister(h),n[u]=c,this.attachRoute(c),p>=0&&o.splice(p,1),i.push(c)}else{var g=a[u];if(a[u]=t.length,p>=0&&g===t.length)return t.push(c),l(),n;p<0&&o.push(c),t.push(c)}}return l(),n},e.prototype.attachRoute=function(e){!e.abstract&&e.url&&this.$urlRouter.rule(this.$urlRouter.urlRuleFactory.create(e))},e}();t.StateQueueManager=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),i=n(0),o=function(){function e(e){this._states=e}return e.prototype.isRelative=function(e){return 0===(e=e||"").indexOf(".")||0===e.indexOf("^")},e.prototype.find=function(e,t,n){if(void 0===n&&(n=!0),e||""===e){var o=r.isString(e),a=o?e:e.name;this.isRelative(a)&&(a=this.resolvePath(a,t));var s=this._states[a];if(s&&(o||!(o||s!==e&&s.self!==e)))return s;if(o&&n){var l=i.values(this._states).filter(function(e){return e.__stateObjectCache.nameGlob&&e.__stateObjectCache.nameGlob.matches(a)});return l.length>1&&console.log("stateMatcher.find: Found multiple matches for "+a+" using glob: ",l.map(function(e){return e.name})),l[0]}}},e.prototype.resolvePath=function(e,t){if(!t)throw new Error("No reference point given for path '"+e+"'");for(var n=this.find(t),r=e.split("."),i=r.length,o=0,a=n;o<i;o++)if(""!==r[o]||0!==o){if("^"!==r[o])break;if(!a.parent)throw new Error("Path '"+e+"' not valid for state '"+n.name+"'");a=a.parent}else a=n;var s=r.slice(o).join(".");return a.name+(a.name&&s?".":"")+s},e}();t.StateMatcher=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),i=n(1),o=n(12),a=n(3),s=n(22),l=n(5);function c(e){return e.name}function u(e){return e.self.$$state=function(){return e},e.self}function d(e){return e.parent&&e.parent.data&&(e.data=e.self.data=r.inherit(e.parent.data,e.data)),e.data}var p=function(e,t){return function(n){var o=n;o&&o.url&&o.name&&o.name.match(/\.\*\*$/)&&(o.url+="{remainder:any}");var a=function(e){if(!i.isString(e))return!1;var t="^"===e.charAt(0);return{val:t?e.substring(1):e,root:t}}(o.url),s=n.parent,l=a?e.compile(a.val,{params:n.params||{},paramMap:function(e,t){return!1===o.reloadOnSearch&&t&&(e=r.extend(e||{},{dynamic:!0})),e}}):o.url;if(!l)return null;if(!e.isMatcher(l))throw new Error("Invalid url '"+l+"' in state '"+n+"'");return a&&a.root?l:(s&&s.navigable||t()).url.append(l)}},f=function(e){return function(t){return!e(t)&&t.url?t:t.parent?t.parent.navigable:null}},h=function(e){return function(t){var n=t.url&&t.url.parameters({inherit:!1})||[],i=r.values(r.mapObj(r.omit(t.params||{},n.map(a.prop("id"))),function(t,n){return e.fromConfig(n,null,t)}));return n.concat(i).map(function(e){return[e.id,e]}).reduce(r.applyPairs,{})}};function g(e){return e.parent?e.parent.path.concat(e):[e]}function m(e){var t=e.parent?r.extend({},e.parent.includes):{};return t[e.name]=!0,t}function v(e){var t=function(e){return e.provide||e.token},n=a.pattern([[a.prop("resolveFn"),function(e){return new s.Resolvable(t(e),e.resolveFn,e.deps,e.policy)}],[a.prop("useFactory"),function(e){return new s.Resolvable(t(e),e.useFactory,e.deps||e.dependencies,e.policy)}],[a.prop("useClass"),function(e){return new s.Resolvable(t(e),function(){return new e.useClass},[],e.policy)}],[a.prop("useValue"),function(e){return new s.Resolvable(t(e),function(){return e.useValue},[],e.policy,e.useValue)}],[a.prop("useExisting"),function(e){return new s.Resolvable(t(e),r.identity,[e.useExisting],e.policy)}]]),c=a.pattern([[a.pipe(a.prop("val"),i.isString),function(e){return new s.Resolvable(e.token,r.identity,[e.val],e.policy)}],[a.pipe(a.prop("val"),i.isArray),function(e){return new s.Resolvable(e.token,r.tail(e.val),e.val.slice(0,-1),e.policy)}],[a.pipe(a.prop("val"),i.isFunction),function(e){return new s.Resolvable(e.token,e.val,function(e){var t=l.services.$injector;return e.$inject||t&&t.annotate(e,t.strictDi)||"deferred"}(e.val),e.policy)}]]),u=a.pattern([[a.is(s.Resolvable),function(e){return e}],[function(e){return!(!e.token||!e.resolveFn)},n],[function(e){return!(!e.provide&&!e.token||!(e.useValue||e.useFactory||e.useExisting||e.useClass))},n],[function(e){return!!(e&&e.val&&(i.isString(e.val)||i.isArray(e.val)||i.isFunction(e.val)))},c],[a.val(!0),function(e){throw new Error("Invalid resolve value: "+o.stringify(e))}]]),d=e.resolve;return(i.isArray(d)?d:function(e,t){return Object.keys(e||{}).map(function(n){return{token:n,val:e[n],deps:void 0,policy:t[n]}})}(d,e.resolvePolicy||{})).map(u)}t.resolvablesBuilder=v;var b=function(){function e(e,t){this.matcher=e;var n=this,r=function(){return e.find("")},i=function(e){return""===e.name};this.builders={name:[c],self:[u],parent:[function(t){return i(t)?null:e.find(n.parentName(t))||r()}],data:[d],url:[p(t,r)],navigable:[f(i)],params:[h(t.paramFactory)],views:[],path:[g],includes:[m],resolvables:[v]}}return e.prototype.builder=function(e,t){var n=this.builders,r=n[e]||[];return i.isString(e)&&!i.isDefined(t)?r.length>1?r:r[0]:i.isString(e)&&i.isFunction(t)?(n[e]=r,n[e].push(t),function(){return n[e].splice(n[e].indexOf(t,1))&&null}):void 0},e.prototype.build=function(e){var t=this.matcher,n=this.builders,i=this.parentName(e);if(i&&!t.find(i,void 0,!1))return null;for(var o in n)if(n.hasOwnProperty(o)){var a=n[o].reduce(function(e,t){return function(n){return t(n,e)}},r.noop);e[o]=a(e)}return e},e.prototype.parentName=function(e){var t=e.name||"",n=t.split(".");if("**"===n.pop()&&n.pop(),n.length){if(e.parent)throw new Error("States that specify the 'parent:' property should not have a '.' in their name ("+t+")");return n.join(".")}return e.parent?i.isString(e.parent)?e.parent:e.parent.name:""},e.prototype.name=function(e){var t=e.name;if(-1!==t.indexOf(".")||!e.parent)return t;var n=i.isString(e.parent)?e.parent:e.parent.name;return n?n+"."+t:t},e}();t.StateBuilder=b},function(e,t,n){"use strict";function r(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),r(n(74)),r(n(22)),r(n(28))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),i=function(){function e(e){void 0===e&&(e={}),r.extend(this,e)}return e.prototype.$inherit=function(e,t,n){var i,o=r.ancestors(t,n),a={},s=[];for(var l in o)if(o[l]&&o[l].params&&(i=Object.keys(o[l].params)).length)for(var c in i)s.indexOf(i[c])>=0||(s.push(i[c]),a[i[c]]=this[i[c]]);return r.extend({},a,e)},e}();t.StateParams=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),i=n(1),o=n(3),a=n(5),s=n(35),l=function(){function e(){this.enqueue=!0,this.typeQueue=[],this.defaultTypes=r.pick(e.prototype,["hash","string","query","path","int","bool","date","json","any"]);this.types=r.inherit(r.map(this.defaultTypes,function(e,t){return new s.ParamType(r.extend({name:t},e))}),{})}return e.prototype.dispose=function(){this.types={}},e.prototype.type=function(e,t,n){if(!i.isDefined(t))return this.types[e];if(this.types.hasOwnProperty(e))throw new Error("A type named '"+e+"' has already been defined.");return this.types[e]=new s.ParamType(r.extend({name:e},t)),n&&(this.typeQueue.push({name:e,def:n}),this.enqueue||this._flushTypeQueue()),this},e.prototype._flushTypeQueue=function(){for(;this.typeQueue.length;){var e=this.typeQueue.shift();if(e.pattern)throw new Error("You cannot override a type's .pattern at runtime.");r.extend(this.types[e.name],a.services.$injector.invoke(e.def))}},e}();t.ParamTypes=l,function(){var e=function(e){var t=function(e){return null!=e?e.toString():e},n={encode:t,decode:t,is:o.is(String),pattern:/.*/,equals:function(e,t){return e==t}};return r.extend({},n,e)};r.extend(l.prototype,{string:e({}),path:e({pattern:/[^/]*/}),query:e({}),hash:e({inherit:!1}),int:e({decode:function(e){return parseInt(e,10)},is:function(e){return!i.isNullOrUndefined(e)&&this.decode(e.toString())===e},pattern:/-?\d+/}),bool:e({encode:function(e){return e?1:0},decode:function(e){return 0!==parseInt(e,10)},is:o.is(Boolean),pattern:/0|1/}),date:e({encode:function(e){return this.is(e)?[e.getFullYear(),("0"+(e.getMonth()+1)).slice(-2),("0"+e.getDate()).slice(-2)].join("-"):void 0},decode:function(e){if(this.is(e))return e;var t=this.capture.exec(e);return t?new Date(t[1],t[2]-1,t[3]):void 0},is:function(e){return e instanceof Date&&!isNaN(e.valueOf())},equals:function(e,t){return["getFullYear","getMonth","getDate"].reduce(function(n,r){return n&&e[r]()===t[r]()},!0)},pattern:/[0-9]{4}-(?:0[1-9]|1[0-2])-(?:0[1-9]|[1-2][0-9]|3[0-1])/,capture:/([0-9]{4})-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])/}),json:e({encode:r.toJson,decode:r.fromJson,is:o.is(Object),equals:r.equals,pattern:/[^/]*/}),any:e({encode:r.identity,decode:r.identity,is:function(){return!0},equals:r.equals})})}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resolvePolicies={when:{LAZY:"LAZY",EAGER:"EAGER"},async:{WAIT:"WAIT",NOWAIT:"NOWAIT",RXWAIT:"RXWAIT"}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),i=n(1),o=n(17),a=n(23),s=function(){function e(e){this.transition=e}return e.prototype.buildHooksForPhase=function(e){var t=this;return this.transition.router.transitionService._pluginapi._getEvents(e).map(function(e){return t.buildHooks(e)}).reduce(r.unnestR,[]).filter(r.identity)},e.prototype.buildHooks=function(e){var t=this.transition,n=t.treeChanges(),i=this.getMatchingHooks(e,n);if(!i)return[];var s={transition:t,current:t.options().current};return i.map(function(i){return i.matches(n)[e.criteriaMatchPath.name].map(function(n){var l=r.extend({bind:i.bind,traceData:{hookType:e.name,context:n}},s),c=e.criteriaMatchPath.scope===o.TransitionHookScope.STATE?n.state.self:null,u=new a.TransitionHook(t,c,i,l);return{hook:i,node:n,transitionHook:u}})}).reduce(r.unnestR,[]).sort(function(e){void 0===e&&(e=!1);return function(t,n){var r=e?-1:1,i=(t.node.state.path.length-n.node.state.path.length)*r;return 0!==i?i:n.hook.priority-t.hook.priority}}(e.reverseSort)).map(function(e){return e.transitionHook})},e.prototype.getMatchingHooks=function(e,t){var n=e.hookPhase===o.TransitionHookPhase.CREATE,a=this.transition.router.transitionService;return(n?[a]:[this.transition,a]).map(function(t){return t.getHooks(e.name)}).filter(r.assertPredicate(i.isArray,"broken event named: "+e.name)).reduce(r.unnestR,[]).filter(function(e){return e.matches(t)})},e}();t.HookBuilder=s},function(e,t,n){"use strict";n.r(t);var r=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===i}(e)}(e)};var i="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function o(e,t){return!1!==t.clone&&t.isMergeableObject(e)?s(function(e){return Array.isArray(e)?[]:{}}(e),e,t):e}function a(e,t,n){return e.concat(t).map(function(e){return o(e,n)})}function s(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||a,n.isMergeableObject=n.isMergeableObject||r;var i=Array.isArray(t);return i===Array.isArray(e)?i?n.arrayMerge(e,t,n):function(e,t,n){var r={};return n.isMergeableObject(e)&&Object.keys(e).forEach(function(t){r[t]=o(e[t],n)}),Object.keys(t).forEach(function(i){n.isMergeableObject(t[i])&&e[i]?r[i]=s(e[i],t[i],n):r[i]=o(t[i],n)}),r}(e,t,n):o(t,n)}s.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(e,n){return s(e,n,t)},{})};var l=s;const c=n(4),u=(n(11),n(7));c.module("dbt").factory("project",["$q","$http",function(e,t){var n={project:{},tree:{project:[],database:[],sources:[]},files:{manifest:{},catalog:{},run_results:{}},loaded:e.defer()};function r(e,t){return u.each(e.nodes,function(e,n){var r=t.nodes[n];if(r){var i=function(e,t){var n={};return u.each(t,function(t,r){var i=u.find(e,function(e){return e.toLowerCase()==r.toLowerCase()});i?n[i]=t:n[r]=t}),n}(u.keys(r.columns),e.columns);e.columns=i}}),l(t,e)}function i(e,n){return t({method:"GET",url:n}).then(function(t){return{label:e,data:t.data}},function(t){console.error(t),alert("dbt Docs was unable to load the "+e+" file at path: \n  "+n+"\n\nError: "+t.statusText+" ("+t.status+")\n\nThe dbt Docs site may not work as expected if this file cannot be found.Please try again, and contact support if this error persists.")})}function o(e,t){var n={};u.each(e,function(e){var r=e.source_name,i=e.name,o=e.unique_id==t;n[r]?o&&(n[r].active=!0):n[r]={type:"folder",name:r,active:o,items:[]},n[r].items.push({type:"file",name:i,node:e,active:o,unique_id:e.unique_id,node_type:"source"})});n=u.sortBy(u.values(n),"name");return u.each(n,function(e){e.items=u.sortBy(e.items,"name")}),n}function a(e,t){var n={};return u.each(e,function(e){if("source"!=e.resource_type){if(-1!=e.original_file_path.indexOf("\\"))var r=e.original_file_path.split("\\");else r=e.original_file_path.split("/");var i=[e.package_name].concat(r),o=e.unique_id==t,a=u.initial(i),s=u.last(i),l=n;u.each(a,function(e){l[e]?o&&(l[e].active=!0):l[e]={type:"folder",name:e,active:o,items:{}},l=l[e].items}),l[s]={type:"file",name:e.name,node:e,active:o,unique_id:e.unique_id,node_type:e.resource_type}}}),function e(t){var n=[],r=u.values(t);return u.each(r,function(t){if(t.items){var r=e(t.items),i=u.sortBy(r,"name");t.items=i}n.push(t)}),n}(n)}function s(e,t){var n={},r=u.select(e,function(e){return-1!=u.indexOf(["source","snapshot","seed"],e.resource_type)||("model"==e.resource_type?"ephemeral"!=e.config.materialized:void 0)}),i=u.sortBy(r,function(e){return e.database+"."+e.schema+"."+(e.identifier||e.alias||e.name)}),o=u.groupBy(i,"database");return u.each(o,function(e,r){var i={type:"database",name:r,active:!1,items:[]};n[r]=i;var o=u.groupBy(e,"schema");u.each(o,function(e,n){n={type:"schema",name:n,active:!1,items:[]};i.items.push(n),u.each(e,function(e){var r=e.unique_id==t;r&&(i.active=!0,n.active=!0),n.items.push({type:"table",name:e.identifier||e.alias||e.name,node:e,active:r,unique_id:e.unique_id,node_type:"model"})})})}),n}return n.find_by_id=function(e,t){n.ready(function(){if(e){var r=n.node(e);t(r)}})},n.node=function(e){return u.find(n.project.nodes,{unique_id:e})},n.loadProject=function(){var t="?cb="+(new Date).getTime(),o=[i("manifest","manifest.json"+t),i("catalog","catalog.json"+t),i("run_results","run_results.json"+t)];e.all(o).then(function(e){u.each(e,function(e){e?n.files[e.label]=e.data:console.error("FILE FAILED TO LOAD!")}),u.each(n.files.manifest.nodes,function(e){"source"==e.resource_type?e.label=e.source_name+"."+e.name:e.label=e.name});var t=r(n.files.manifest,n.files.catalog),i=function(e,t){return t?(u.each(t.results,function(t){var n=t.node;if(n){var r=n.unique_id;n.injected_sql,e.nodes[r]&&(e.nodes[r].injected_sql=n.injected_sql)}}),e):e}(t,n.files.run_results),o=i.nodes,a=u.indexBy(o,"name"),s=u.where(i.nodes,{resource_type:"test"});u.each(s,function(e){if(-1!=e.tags.indexOf("schema")){var n,r={test_name:n=e.test_metadata.namespace?e.test_metadata.namespace+"."+e.test_metadata.name:e.test_metadata.name};if("not_null"==e.test_metadata.name)r.short="N",r.label="Not Null";else if("unique"==e.test_metadata.name)r.short="U",r.label="Unique";else if("relationships"==e.test_metadata.name){var i=e.refs[1],o=a[i];o&&e.test_metadata.kwargs.field&&(r.fk_field=e.test_metadata.kwargs.field,r.fk_model=o),r.short="F",r.label="Foreign Key"}else if("accepted_values"==e.test_metadata.name){var s=e.test_metadata.kwargs.values.join(", ");r.short="A",r.label="Accepted Values: "+s}else{var l=u.omit(e.test_metadata.kwargs,"column_name");r.short="+",r.label=n+"("+JSON.stringify(l)+")"}var c=e.depends_on.nodes,d=e.column_name||e.test_metadata.kwargs.column_name||e.test_metadata.kwargs.arg;if(c.length&&d){var p=c[0],f=t.nodes[p],h=u.find(f.columns,function(e,t){return t.toLowerCase()==d.toLowerCase()});h&&(h.tests=h.tests||[],h.tests.push(r))}}}),n.project=i,n.project.searchable=u.filter(n.project.nodes,function(e){return u.includes(["model","source","seed","snapshot"],e.resource_type)}),n.loaded.resolve()})},n.ready=function(e){n.loaded.promise.then(function(){e(n.project)})},n.search=function(e){if(0==e.length)return u.map(n.project.searchable,function(e){return{model:e,matches:[]}});var t=[];return u.each(n.project.searchable,function(n){var r=function(e,t){var n=[],r={name:"string",description:"string",columns:"object",tags:"array"};for(var i in new RegExp(e,"i"),r)if(t[i])if("string"===r[i]&&-1!=t[i].toLowerCase().indexOf(e.toLowerCase()))n.push({key:i,value:e});else if("object"===r[i])for(var o in t[i])-1!=t[i][o].name.toLowerCase().indexOf(e.toLowerCase())&&n.push({key:i,value:e});else if("array"===r[i])for(var a of t[i])-1!=a.toLowerCase().indexOf(e.toLowerCase())&&n.push({key:i,value:e});return n}(e,n);r.length&&t.push({model:n,matches:r})}),t},n.getModelTree=function(e,t){n.loaded.promise.then(function(){var r=u.filter(n.project.nodes,function(e){if("test"==e.resource_type&&!u.includes(e.tags,"schema"))return!0;return u.includes(["snapshot","source","seed","model"],e.resource_type)});n.tree.database=s(r,e),n.tree.project=a(r,e);var i=u.filter(n.project.nodes,{resource_type:"source"});n.tree.sources=o(i,e),t(n.tree)})},n.updateSelectedInTree=function(e,t){var r=!1;return u.each(t,function(t){if(t.node&&t.node.unique_id==e)t.active=!0,r=!0;else if(t.node&&t.node.unique_id!=e)t.active=!1;else{n.updateSelectedInTree(e,t.items)&&(t.active=!0,r=!0)}}),r},n.updateSelected=function(e){return n.updateSelectedInTree(e,n.tree.project),n.updateSelectedInTree(e,n.tree.database),n.updateSelectedInTree(e,n.tree.sources),n.tree},n.init=function(){n.loadProject();var e=u.filter(n.project.nodes,{resource_type:"model"});n.tree.database=s(e),n.tree.project=a(e);var t=u.filter(n.project.nodes,{resource_type:"source"});n.tree.sources=o(t)},n}])},function(e,t){var n="/docs/seed.html";window.angular.module("ng").run(["$templateCache",function(e){e.put(n,'<style>\n/* TODO */\n.section-target {\n    top: -8em;\n}\n\n.noflex {\n    flex: 0 0 160px !important;\n}\n\n.highlight {\n    color: #24292e;\n    background-color: white;\n}\n\n</style>\n\n<div class=\'app-scroll\'>\n    <div class="app-links app-sticky">\n        <div class="app-title">\n            <div class="app-frame app-pad app-flush-bottom">\n                <h1>\n                    <span class="break">{{ model.name }}</span>\n                    <small>{{ model.config.materialized }}</small>\n                </h1>\n            </div>\n        </div>\n        <div class="app-frame app-pad-h">\n            <ul class="nav nav-tabs">\n                <li ui-sref-active=\'active\'><a ui-sref="dbt.seed({\'#\': \'details\'})">Details</a></li>\n                <li ui-sref-active=\'active\'><a ui-sref="dbt.seed({\'#\': \'description\'})">Description</a></li>\n                <li ui-sref-active=\'active\'><a ui-sref="dbt.seed({\'#\': \'columns\'})">Columns</a></li>\n                <li ui-sref-active=\'active\'><a ui-sref="dbt.seed({\'#\': \'sql\'})">SQL</a></li>\n            </ul>\n        </div>\n    </div>\n    <div class="app-details">\n        <div class="app-frame app-pad">\n            <section class="section">\n                <div class="section-target" id="details"></div>\n                <table-details model="model" />\n            </section>\n\n            <section class="section">\n                <div class="section-target" id="description"></div>\n                <div class="section-content">\n                    <h6>Description</h6>\n                    <div class="panel">\n                        <div class="panel-body">\n                            <div ng-if="model.description" class="model-markdown" marked="model.description"></div>\n                            <div ng-if="!model.description">This {{ model.resource_type }} is not currently documented</div>\n                        </div>\n                    </div>\n                </div>\n            </section>\n            <section class="section">\n                <div class="section-target" id="columns"></div>\n                <div class="section-content">\n                    <h6>Columns</h6>\n                    <column-details model="model" />\n                </div>\n            </section>\n\n            <section class="section">\n                <div class="section-target" id="sql"></div>\n                <div class="section-content">\n                    <h6>SQL</h6>\n                    <div class="panel">\n                        <div class="panel-body">\n                            <div class=\'row\'>\n                                <div class=\'col-md-6\'>\n                                    <h4>Example SQL</h4>\n                                </div>\n                                <div class=\'col-md-6 text-right\'>\n                                    <a class=\'unselectable\'\n                                       ng-click="copy_to_clipboard(sample_sql)">{{ copied ? \'copied\' : \'copy to clipboard\' }}</a>\n                                </div>\n                            </div>\n                            <div style="margin-top: 1px">\n                                <pre\n                                    class="source-code highlight sql"\n                                    ng-bind-html="highlighted.source"></pre>\n                            </div>\n                        </div>\n                    </div>\n                </div>\n            </section>\n        </div>\n    </div>\n</div>\n')}]),e.exports=n},function(e,t){var n="/docs/snapshot.html";window.angular.module("ng").run(["$templateCache",function(e){e.put(n,'<style>\n/* TODO */\n.section-target {\n    top: -8em;\n}\n\n.noflex {\n    flex: 0 0 160px !important;\n}\n\n.highlight {\n    color: #24292e;\n    background-color: white;\n}\n\n</style>\n\n<div class=\'app-scroll\'>\n    <div class="app-links app-sticky">\n        <div class="app-title">\n            <div class="app-frame app-pad app-flush-bottom">\n                <h1>\n                    <span class="break">{{ model.name }}</span>\n                    <small>{{ model.config.materialized }}</small>\n                </h1>\n            </div>\n        </div>\n        <div class="app-frame app-pad-h">\n            <ul class="nav nav-tabs">\n                <li ui-sref-active=\'active\'><a ui-sref="dbt.snapshot({\'#\': \'details\'})">Details</a></li>\n                <li ui-sref-active=\'active\'><a ui-sref="dbt.snapshot({\'#\': \'description\'})">Description</a></li>\n                <li ui-sref-active=\'active\'><a ui-sref="dbt.snapshot({\'#\': \'columns\'})">Columns</a></li>\n                <li ui-sref-active=\'active\'><a ui-sref="dbt.snapshot({\'#\': \'sql\'})">SQL</a></li>\n            </ul>\n        </div>\n    </div>\n    <div class="app-details">\n        <div class="app-frame app-pad">\n            <section class="section">\n                <div class="section-target" id="details"></div>\n                <table-details model="model" />\n            </section>\n\n            <section class="section">\n                <div class="section-target" id="description"></div>\n                <div class="section-content">\n                    <h6>Description</h6>\n                    <div class="panel">\n                        <div class="panel-body">\n                            <div ng-if="model.description" class="model-markdown" marked="model.description"></div>\n                            <div ng-if="!model.description">This {{ model.resource_type }} is not currently documented</div>\n                        </div>\n                    </div>\n                </div>\n            </section>\n\n            <section class="section">\n                <div class="section-target" id="columns"></div>\n                <div class="section-content">\n                    <h6>Columns</h6>\n                    <column-details model="model" />\n                </div>\n            </section>\n\n            <section class="section">\n                <div class="section-target" id="sql"></div>\n                <div class="section-content">\n                    <h6>SQL</h6>\n                    <div class="panel">\n                        <div class="panel-body">\n                            <ul class="nav nav-tabs">\n                                <li ng-class="{active: !view_compiled_sql}"><a ng-click="view_compiled_sql=false">Source</a></li>\n                                <li ng-class="{active: view_compiled_sql}"><a ng-click="view_compiled_sql=true">Compiled</a></li>\n                                <li class=\'nav-pull-right\'></li>\n                                <li>\n                                    <a class=\'unselectable\'\n                                       ng-click="copy_to_clipboard(view_compiled_sql ? model.injected_sql : model.raw_sql)">{{ copied ? \'copied\' : \'copy to clipboard\' }}</a>\n                                </li>\n                            </ul>\n                            <div style="margin-top: 1px" ng-show="!view_compiled_sql">\n                                <pre\n                                    class="source-code highlight sql"\n                                    ng-bind-html="highlighted.source"></pre>\n                            </div>\n                            <div style="margin-top: 1px" ng-show="view_compiled_sql">\n                                <pre\n                                    class="source-code highlight sql"\n                                    ng-bind-html="highlighted.compiled"></pre>\n                            </div>\n                        </div>\n                    </div>\n                </div>\n            </section>\n        </div>\n    </div>\n</div>\n')}]),e.exports=n},function(e,t){var n="/docs/model.html";window.angular.module("ng").run(["$templateCache",function(e){e.put(n,'<style>\n/* TODO */\n.section-target {\n    top: -8em;\n}\n\n.noflex {\n    flex: 0 0 160px !important;\n}\n\n.highlight {\n    color: #24292e;\n    background-color: white;\n}\n\n</style>\n\n<div class=\'app-scroll\'>\n    <div class="app-links app-sticky">\n        <div class="app-title">\n            <div class="app-frame app-pad app-flush-bottom">\n                <h1>\n                    <span class="break">{{ model.name }}</span>\n                    <small>{{ model.config.materialized }}</small>\n                </h1>\n            </div>\n        </div>\n        <div class="app-frame app-pad-h">\n            <ul class="nav nav-tabs">\n                <li ui-sref-active=\'active\'><a ui-sref="dbt.model({\'#\': \'details\'})">Details</a></li>\n                <li ui-sref-active=\'active\'><a ui-sref="dbt.model({\'#\': \'description\'})">Description</a></li>\n                <li ui-sref-active=\'active\'><a ui-sref="dbt.model({\'#\': \'columns\'})">Columns</a></li>\n                <li ui-sref-active=\'active\'><a ui-sref="dbt.model({\'#\': \'sql\'})">SQL</a></li>\n            </ul>\n        </div>\n    </div>\n    <div class="app-details">\n        <div class="app-frame app-pad">\n            <section class="section">\n                <div class="section-target" id="details"></div>\n                <table-details model="model" />\n            </section>\n\n            <section class="section">\n                <div class="section-target" id="description"></div>\n                <div class="section-content">\n                    <h6>Description</h6>\n                    <div class="panel">\n                        <div class="panel-body">\n                            <div ng-if="model.description" class="model-markdown" marked="model.description"></div>\n                            <div ng-if="!model.description">This {{ model.resource_type }} is not currently documented</div>\n                        </div>\n                    </div>\n                </div>\n            </section>\n\n            <section class="section">\n                <div class="section-target" id="columns"></div>\n                <div class="section-content">\n                    <h6>Columns</h6>\n                    <column-details model="model" />\n                </div>\n            </section>\n\n            <section class="section">\n                <div class="section-target" id="sql"></div>\n                <div class="section-content">\n                    <h6>SQL</h6>\n                    <div class="panel">\n                        <div class="panel-body">\n                            <ul class="nav nav-tabs">\n                                <li ng-class="{active: !view_compiled_sql}"><a ng-click="view_compiled_sql=false">Source</a></li>\n                                <li ng-class="{active: view_compiled_sql}"><a ng-click="view_compiled_sql=true">Compiled</a></li>\n                                <li class=\'nav-pull-right\'></li>\n                                <li>\n                                    <a class=\'unselectable\'\n                                       ng-click="copy_to_clipboard(view_compiled_sql ? model.injected_sql : model.raw_sql)">{{ copied ? \'copied\' : \'copy to clipboard\' }}</a>\n                                </li>\n                            </ul>\n                            <div style="margin-top: 1px" ng-show="!view_compiled_sql">\n                                <pre\n                                    class="source-code highlight sql"\n                                    ng-bind-html="highlighted.source"></pre>\n                            </div>\n                            <div style="margin-top: 1px" ng-show="view_compiled_sql">\n                                <pre\n                                    class="source-code highlight sql"\n                                    ng-bind-html="highlighted.compiled"></pre>\n                            </div>\n                        </div>\n                    </div>\n                </div>\n            </section>\n        </div>\n    </div>\n</div>\n')}]),e.exports=n},function(e,t){var n="/sources/source_list.html";window.angular.module("ng").run(["$templateCache",function(e){e.put(n,'<style>\n/* TODO */\n.section-target {\n    top: -8em;\n}\n\n.noflex {\n    flex: 0 0 160px !important;\n}\n\n.highlight {\n    color: #24292e;\n    background-color: white;\n}\n\n</style>\n\n<div class=\'app-scroll\'>\n    <div class="app-links app-sticky">\n        <div class="app-title">\n            <div class="app-frame app-pad app-flush-bottom">\n                <h1>\n                    <span class="break">{{ source }}</span>\n                    <small>source</small>\n                </h1>\n            </div>\n        </div>\n        <div class="app-frame app-pad-h">\n            <ul class="nav nav-tabs">\n                <li ui-sref-active=\'active\'><a ui-sref="dbt.source_list({\'#\': \'details\'})">Details</a></li>\n                <li ui-sref-active=\'active\'><a ui-sref="dbt.source_list({\'#\': \'description\'})">Description</a></li>\n                <li ui-sref-active=\'active\'><a ui-sref="dbt.source_list({\'#\': \'sources\'})">Sources</a></li>\n            </ul>\n        </div>\n    </div>\n    <div class="app-details">\n        <div class="app-frame app-pad">\n            <section class="section">\n                <div class="section-target" id="details"></div>\n                <table-details model="model" extras="extra_table_fields"/>\n            </section>\n\n            <section class="section">\n                <div class="section-target" id="description"></div>\n                <div class="section-content">\n                    <h6>Description</h6>\n                    <div class="panel">\n                        <div class="panel-body">\n                            <div ng-if="model.source_description" class="model-markdown" marked="model.source_description"></div>\n                            <div ng-if="!model.source_description">This {{ model.resource_type }} is not currently documented</div>\n                        </div>\n                    </div>\n                </div>\n            </section>\n\n\n            <section class="section">\n                <div class="section-target" id="sources"></div>\n                <div class="section-content">\n                    <h6>Source Tables</h6>\n                    <div class="panel">\n                        <div class="panel-body">\n                            <div class="table-responsive" style="max-height: 800px; overflow-y: scroll;" ng-if="!_.isEmpty(model.sources)">\n                                <table class="table table-borderless table-hover">\n                                    <thead>\n                                        <tr>\n                                            <th style="background-color: white; position: sticky; top: 0; z-index: 1;">Source</th>\n                                            <th style="background-color: white; position: sticky; top: 0; z-index: 1;">Table</th>\n                                            <th style="background-color: white; position: sticky; top: 0; z-index: 1;">Description</th>\n                                            <th style="background-color: white; position: sticky; top: 0; z-index: 1;">Link</th>\n                                            <th style="width: 1px; background-color: white; position: sticky; top: 0; z-index: 1;" class=\'text-center\'>More?</th>\n                                        </tr>\n                                    </thead>\n                                    <tbody>\n                                        <tr\n                                            ng-repeat-start="source in model.sources track by source.name"\n                                            ng-click="toggle_source_expanded(source)"\n                                            class="column-row"\n                                            ng-class="{\'column-row-selected\': source.expanded}"\n                                            ng-style="{cursor: has_more_info(source) ? \'pointer\' : \'auto\'}">\n                                            <td>\n                                                <div>\n                                                    <span class=\'text-dark\'>{{ source.source_name }}</span>\n                                                </div>\n                                            </td>\n                                            <td>\n                                                <span class=\'text-dark\'>{{ source.name }}</p>\n                                            </td>\n                                            <td style="text-overflow: ellipsis; overflow-x: hidden; white-space: nowrap; max-width: 1px;">\n                                                <span ng-show="!column.expanded">{{ source.description }}</span>\n                                            </td>\n                                            <td>\n                                                <a ui-sref="dbt.source({unique_id: source.unique_id})">View docs</a>\n                                            </td>\n                                            <td class=\'text-center\'>\n                                                <span class=\'text-light\' ng-show="has_more_info(source)">\n                                                    <span ng-if="source.expanded">\n                                                        <svg class="icn"><use xlink:href="#icn-up"></use></svg>\n                                                    </span>\n                                                    <span ng-if="!source.expanded">\n                                                        <svg class="icn"><use xlink:href="#icn-right"></use></svg>\n                                                    </span>\n                                                </span>\n                                            </td>\n                                        </tr>\n                                        <tr ng-repeat-end ng-show="source.expanded" style="background-color: white; padding: 10px">\n                                            <td colspan="5" class="column-expanded">\n                                                <div style="padding: 5px 20px">\n                                                    <div style="margin-bottom: 15px">\n                                                        <h5>Description</h5>\n                                                        <span marked="source.description"></span>\n                                                    </div>\n                                                </div>\n                                            </td>\n                                        </tr>\n                                    </tbody>\n                                </table>\n                            </div>\n                        </div>\n                    </div>\n                </div>\n            </section>\n        </div>\n    </div>\n</div>\n')}]),e.exports=n},function(e,t){var n="/graph/graph.html";window.angular.module("ng").run(["$templateCache",function(e){e.put(n,'<div ng-controller="GraphCtrl" id=\'graph-container\' style="width: 100%">\n    <div class=\'row viz-container\' style="margin: 0">\n        <div class=\'col-md-12\'>\n             <div graph-viz\n                        viz-options="graph.options"\n                        viz-elements="graph.elements"\n                        viz-style="graph.style"\n                        viz-layout="graph.layout"\n                        viz-ready="graph.ready"\n                        viz-size="{height: \'800px\', width: \'100%\'}"></div>\n        </div>\n    </div>\n</div>\n')}]),e.exports=n},function(e,t){var n="/overview/overview.html";window.angular.module("ng").run(["$templateCache",function(e){e.put(n,'<div class="app-details app-scroll app-pad">\n    <app-scroll div class="app-frame app-pad">\n        <div class="panel panel-default">\n            <div class="panel-body">\n                <p marked=\'overview_md\'></p>\n            </div>\n        </div>\n    </div>\n</div>\n')}]),e.exports=n},function(e,t){var n="/main/main.html";window.angular.module("ng").run(["$templateCache",function(e){e.put(n,'<style>\n.no-x-overflow {\n    overflow-x: hidden;\n}\n\n.logo {\n    width: 140px;\n    height: 46px ;\n}\n</style>\n\n<div>\n    <graph-launcher></graph-launcher>\n\n    <div class="app app-row">\n        <div class="app-menu app-column">\n            <div class="app-overlay" data-toggle=".app-menu"></div>\n            <div class="app-header app-navbar app-shadow app-pad">\n                <div class="app-row app-middle">\n                    <div class="app-body">\n                        <div class="logo">\n                            <img class="logo" ng-src="{{ logo }}" />\n                        </div>\n                    </div>\n                </div>\n            </div>\n            <div class="app-body">\n                <div class="app-scroll app-pad app-flush-right no-x-overflow">\n                    <model-tree tree="tree"></model-tree>\n                </div>\n            </div>\n        </div>\n        <div class="app-content app-column">\n            <div class="app-header app-navbar app-shadow">\n                <div class="app-frame app-pad app-row app-middle">\n                    <div class="app-body">\n                        <input\n                            id="search"\n                            ng-model="search.query"\n                            ng-focus="onSearchFocus($event, true)"\n                            ng-keydown="onSearchKeypress($event)"\n                            type="text"\n                            class="form-control"\n                            placeholder="Search for models..." />\n                    </div>\n                    <div class="app-footer app-icn" ng-show="search.is_focused" ng-click="clearSearch()">\n                        <svg class="icn icn-md"><use xlink:href="#icn-close"></use></svg>\n                    </div>\n                </div>\n            </div>\n            <div class=\'app-body\' ng-show=\'!search.is_focused\' ui-view></div>\n            <div class="app-body" ng-show="search.is_focused">\n                <docs-search query="search.query" results="search.results" on-select="clearSearch()"></docs-search>\n            </div>\n        </div>\n    </div>\n</div>\n')}]),e.exports=n},function(e,t,n){const r=n(4),i={main:n(83),overview:n(82),graph:n(81),source:n(41),source_list:n(80),model:n(79),source:n(41),snapshot:n(78),seed:n(77)};r.module("dbt").config(["$stateProvider","$urlRouterProvider",function(e,t){var n="g_v&g_i&g_e&g_p&g_n";t.otherwise("/overview"),e.state("dbt",{url:"/",abstract:!0,controller:"MainController",templateUrl:i.main}).state("dbt.overview",{url:"overview?"+n,controller:"OverviewCtrl",templateUrl:i.overview}).state("dbt.graph",{url:"graph",controller:"GraphCtrl",templateUrl:i.graph}).state("dbt.model",{url:"model/:unique_id?section&"+n,controller:"ModelCtrl",templateUrl:i.model,params:{unique_id:{type:"string"}}}).state("dbt.seed",{url:"seed/:unique_id?section&"+n,controller:"SeedCtrl",templateUrl:i.seed,params:{unique_id:{type:"string"}}}).state("dbt.snapshot",{url:"snapshot/:unique_id?section&"+n,controller:"SnapshotCtrl",templateUrl:i.snapshot,params:{unique_id:{type:"string"}}}).state("dbt.source",{url:"source/:unique_id?section&"+n,controller:"SourceCtrl",templateUrl:i.source,params:{unique_id:{type:"string"}}}).state("dbt.source_list",{url:"source_list/:source?"+n,controller:"SourceListCtrl",templateUrl:i.source_list,params:{source:{type:"string"}}})}])},function(e,t,n){"use strict";n(4).module("dbt").controller("SourceListCtrl",["$scope","$state","project",function(e,t,n){e.source=t.params.source,e.model={},e.extra_table_fields=[],e.has_more_info=function(e){return(e.description||"").length},e.toggle_source_expanded=function(t){e.has_more_info(t)&&(t.expanded=!t.expanded)},n.ready(function(t){var n=_.filter(t.nodes,function(t){return t.source_name==e.source});if(0!=n.length){var r=n[0];e.model={name:e.source,source_description:r.source_description,sources:n};var i=_.uniq(_.map(n,"metadata.owner")),o=_.uniq(_.map(n,"database")),a=_.uniq(_.map(n,"schema"));e.extra_table_fields=[{name:"Loader",value:r.loader},{name:1==i.length?"Owner":"Owners",value:i.join(", ")},{name:1==o.length?"Database":"Databases",value:o.join(", ")},{name:1==a.length?"Schema":"Schemas",value:a.join(", ")},{name:"Tables",value:n.length}]}})}])},function(e,t,n){"use strict";n(4).module("dbt").controller("OverviewCtrl",["$scope","$state","project",function(e,t,n){e.overview_md="(loading)",n.ready(function(t){var n=t.docs["dbt.__overview__"],r=_.where(t.docs,{name:"__overview__"});_.each(r,function(e){"dbt"!=e.package_name&&(n=e)}),e.overview_md=n.block_contents})}])},function(e,t,n){n(4).module("dbt").factory("locationService",["$state",function(e){var t={};return t.parseState=function(e){return function(e){return{selected:{include:e.g_i||"",exclude:e.g_e||""},show_graph:!!e.g_v}}(e)},t.setState=function(t){var n=function(e){var t={g_v:1};return t.g_i=e.include,t.g_e=e.exclude,t}(t),r=e.current.name;e.go(r,n)},t.clearState=function(){var t=e.current.name;e.go(t,{g_i:null,g_e:null,g_v:null})},t}])},function(e,t){function n(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}
+function(e){var t,n,r,i,o,a,s,l,c,u,d,p,f,h,g,m,v,b,y,x="sizzle"+1*new Date,w=e.document,k=0,_=0,$=ae(),E=ae(),S=ae(),C=function(e,t){return e===t&&(d=!0),0},T={}.hasOwnProperty,A=[],O=A.pop,P=A.push,R=A.push,j=A.slice,D=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},N="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",I="[\\x20\\t\\r\\n\\f]",M="(?:\\\\.|[\\w-]|[^\0-\\xa0])+",z="\\["+I+"*("+M+")(?:"+I+"*([*^$|!~]?=)"+I+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+M+"))|)"+I+"*\\]",L=":("+M+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+z+")*)|.*)\\)|)",q=new RegExp(I+"+","g"),B=new RegExp("^"+I+"+|((?:^|[^\\\\])(?:\\\\.)*)"+I+"+$","g"),V=new RegExp("^"+I+"*,"+I+"*"),F=new RegExp("^"+I+"*([>+~]|"+I+")"+I+"*"),U=new RegExp("="+I+"*([^\\]'\"]*?)"+I+"*\\]","g"),H=new RegExp(L),W=new RegExp("^"+M+"$"),G={ID:new RegExp("^#("+M+")"),CLASS:new RegExp("^\\.("+M+")"),TAG:new RegExp("^("+M+"|[*])"),ATTR:new RegExp("^"+z),PSEUDO:new RegExp("^"+L),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+I+"*(even|odd|(([+-]|)(\\d*)n|)"+I+"*(?:([+-]|)"+I+"*(\\d+)|))"+I+"*\\)|)","i"),bool:new RegExp("^(?:"+N+")$","i"),needsContext:new RegExp("^"+I+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+I+"*((?:-\\d)?\\d*)"+I+"*\\)|)(?=[^-]|$)","i")},X=/^(?:input|select|textarea|button)$/i,Y=/^h\d$/i,Z=/^[^{]+\{\s*\[native \w/,K=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Q=/[+~]/,J=new RegExp("\\\\([\\da-f]{1,6}"+I+"?|("+I+")|.)","ig"),ee=function(e,t,n){var r="0x"+t-65536;return r!=r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},te=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ne=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},re=function(){p()},ie=be(function(e){return!0===e.disabled&&("form"in e||"label"in e)},{dir:"parentNode",next:"legend"});try{R.apply(A=j.call(w.childNodes),w.childNodes),A[w.childNodes.length].nodeType}catch(e){R={apply:A.length?function(e,t){P.apply(e,j.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}function oe(e,t,r,i){var o,s,c,u,d,h,v,b=t&&t.ownerDocument,k=t?t.nodeType:9;if(r=r||[],"string"!=typeof e||!e||1!==k&&9!==k&&11!==k)return r;if(!i&&((t?t.ownerDocument||t:w)!==f&&p(t),t=t||f,g)){if(11!==k&&(d=K.exec(e)))if(o=d[1]){if(9===k){if(!(c=t.getElementById(o)))return r;if(c.id===o)return r.push(c),r}else if(b&&(c=b.getElementById(o))&&y(t,c)&&c.id===o)return r.push(c),r}else{if(d[2])return R.apply(r,t.getElementsByTagName(e)),r;if((o=d[3])&&n.getElementsByClassName&&t.getElementsByClassName)return R.apply(r,t.getElementsByClassName(o)),r}if(n.qsa&&!S[e+" "]&&(!m||!m.test(e))){if(1!==k)b=t,v=e;else if("object"!==t.nodeName.toLowerCase()){for((u=t.getAttribute("id"))?u=u.replace(te,ne):t.setAttribute("id",u=x),s=(h=a(e)).length;s--;)h[s]="#"+u+" "+ve(h[s]);v=h.join(","),b=Q.test(e)&&ge(t.parentNode)||t}if(v)try{return R.apply(r,b.querySelectorAll(v)),r}catch(e){}finally{u===x&&t.removeAttribute("id")}}}return l(e.replace(B,"$1"),t,r,i)}function ae(){var e=[];return function t(n,i){return e.push(n+" ")>r.cacheLength&&delete t[e.shift()],t[n+" "]=i}}function se(e){return e[x]=!0,e}function le(e){var t=f.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function ce(e,t){for(var n=e.split("|"),i=n.length;i--;)r.attrHandle[n[i]]=t}function ue(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function de(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function pe(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function fe(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&ie(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function he(e){return se(function(t){return t=+t,se(function(n,r){for(var i,o=e([],n.length,t),a=o.length;a--;)n[i=o[a]]&&(n[i]=!(r[i]=n[i]))})})}function ge(e){return e&&void 0!==e.getElementsByTagName&&e}for(t in n=oe.support={},o=oe.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},p=oe.setDocument=function(e){var t,i,a=e?e.ownerDocument||e:w;return a!==f&&9===a.nodeType&&a.documentElement?(h=(f=a).documentElement,g=!o(f),w!==f&&(i=f.defaultView)&&i.top!==i&&(i.addEventListener?i.addEventListener("unload",re,!1):i.attachEvent&&i.attachEvent("onunload",re)),n.attributes=le(function(e){return e.className="i",!e.getAttribute("className")}),n.getElementsByTagName=le(function(e){return e.appendChild(f.createComment("")),!e.getElementsByTagName("*").length}),n.getElementsByClassName=Z.test(f.getElementsByClassName),n.getById=le(function(e){return h.appendChild(e).id=x,!f.getElementsByName||!f.getElementsByName(x).length}),n.getById?(r.filter.ID=function(e){var t=e.replace(J,ee);return function(e){return e.getAttribute("id")===t}},r.find.ID=function(e,t){if(void 0!==t.getElementById&&g){var n=t.getElementById(e);return n?[n]:[]}}):(r.filter.ID=function(e){var t=e.replace(J,ee);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},r.find.ID=function(e,t){if(void 0!==t.getElementById&&g){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];for(i=t.getElementsByName(e),r=0;o=i[r++];)if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),r.find.TAG=n.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):n.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){for(;n=o[i++];)1===n.nodeType&&r.push(n);return r}return o},r.find.CLASS=n.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&g)return t.getElementsByClassName(e)},v=[],m=[],(n.qsa=Z.test(f.querySelectorAll))&&(le(function(e){h.appendChild(e).innerHTML="<a id='"+x+"'></a><select id='"+x+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&m.push("[*^$]="+I+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||m.push("\\["+I+"*(?:value|"+N+")"),e.querySelectorAll("[id~="+x+"-]").length||m.push("~="),e.querySelectorAll(":checked").length||m.push(":checked"),e.querySelectorAll("a#"+x+"+*").length||m.push(".#.+[+~]")}),le(function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=f.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&m.push("name"+I+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&m.push(":enabled",":disabled"),h.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&m.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),m.push(",.*:")})),(n.matchesSelector=Z.test(b=h.matches||h.webkitMatchesSelector||h.mozMatchesSelector||h.oMatchesSelector||h.msMatchesSelector))&&le(function(e){n.disconnectedMatch=b.call(e,"*"),b.call(e,"[s!='']:x"),v.push("!=",L)}),m=m.length&&new RegExp(m.join("|")),v=v.length&&new RegExp(v.join("|")),t=Z.test(h.compareDocumentPosition),y=t||Z.test(h.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},C=t?function(e,t){if(e===t)return d=!0,0;var r=!e.compareDocumentPosition-!t.compareDocumentPosition;return r||(1&(r=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!n.sortDetached&&t.compareDocumentPosition(e)===r?e===f||e.ownerDocument===w&&y(w,e)?-1:t===f||t.ownerDocument===w&&y(w,t)?1:u?D(u,e)-D(u,t):0:4&r?-1:1)}:function(e,t){if(e===t)return d=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e===f?-1:t===f?1:i?-1:o?1:u?D(u,e)-D(u,t):0;if(i===o)return ue(e,t);for(n=e;n=n.parentNode;)a.unshift(n);for(n=t;n=n.parentNode;)s.unshift(n);for(;a[r]===s[r];)r++;return r?ue(a[r],s[r]):a[r]===w?-1:s[r]===w?1:0},f):f},oe.matches=function(e,t){return oe(e,null,null,t)},oe.matchesSelector=function(e,t){if((e.ownerDocument||e)!==f&&p(e),t=t.replace(U,"='$1']"),n.matchesSelector&&g&&!S[t+" "]&&(!v||!v.test(t))&&(!m||!m.test(t)))try{var r=b.call(e,t);if(r||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(e){}return oe(t,f,null,[e]).length>0},oe.contains=function(e,t){return(e.ownerDocument||e)!==f&&p(e),y(e,t)},oe.attr=function(e,t){(e.ownerDocument||e)!==f&&p(e);var i=r.attrHandle[t.toLowerCase()],o=i&&T.call(r.attrHandle,t.toLowerCase())?i(e,t,!g):void 0;return void 0!==o?o:n.attributes||!g?e.getAttribute(t):(o=e.getAttributeNode(t))&&o.specified?o.value:null},oe.escape=function(e){return(e+"").replace(te,ne)},oe.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},oe.uniqueSort=function(e){var t,r=[],i=0,o=0;if(d=!n.detectDuplicates,u=!n.sortStable&&e.slice(0),e.sort(C),d){for(;t=e[o++];)t===e[o]&&(i=r.push(o));for(;i--;)e.splice(r[i],1)}return u=null,e},i=oe.getText=function(e){var t,n="",r=0,o=e.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=i(e)}else if(3===o||4===o)return e.nodeValue}else for(;t=e[r++];)n+=i(t);return n},(r=oe.selectors={cacheLength:50,createPseudo:se,match:G,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(J,ee),e[3]=(e[3]||e[4]||e[5]||"").replace(J,ee),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||oe.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&oe.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&H.test(n)&&(t=a(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(J,ee).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=$[e+" "];return t||(t=new RegExp("(^|"+I+")"+e+"("+I+"|$)"))&&$(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(r){var i=oe.attr(r,e);return null==i?"!="===t:!t||(i+="","="===t?i===n:"!="===t?i!==n:"^="===t?n&&0===i.indexOf(n):"*="===t?n&&i.indexOf(n)>-1:"$="===t?n&&i.slice(-n.length)===n:"~="===t?(" "+i.replace(q," ")+" ").indexOf(n)>-1:"|="===t&&(i===n||i.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,r,i){var o="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,l){var c,u,d,p,f,h,g=o!==a?"nextSibling":"previousSibling",m=t.parentNode,v=s&&t.nodeName.toLowerCase(),b=!l&&!s,y=!1;if(m){if(o){for(;g;){for(p=t;p=p[g];)if(s?p.nodeName.toLowerCase()===v:1===p.nodeType)return!1;h=g="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?m.firstChild:m.lastChild],a&&b){for(y=(f=(c=(u=(d=(p=m)[x]||(p[x]={}))[p.uniqueID]||(d[p.uniqueID]={}))[e]||[])[0]===k&&c[1])&&c[2],p=f&&m.childNodes[f];p=++f&&p&&p[g]||(y=f=0)||h.pop();)if(1===p.nodeType&&++y&&p===t){u[e]=[k,f,y];break}}else if(b&&(y=f=(c=(u=(d=(p=t)[x]||(p[x]={}))[p.uniqueID]||(d[p.uniqueID]={}))[e]||[])[0]===k&&c[1]),!1===y)for(;(p=++f&&p&&p[g]||(y=f=0)||h.pop())&&((s?p.nodeName.toLowerCase()!==v:1!==p.nodeType)||!++y||(b&&((u=(d=p[x]||(p[x]={}))[p.uniqueID]||(d[p.uniqueID]={}))[e]=[k,y]),p!==t)););return(y-=i)===r||y%r==0&&y/r>=0}}},PSEUDO:function(e,t){var n,i=r.pseudos[e]||r.setFilters[e.toLowerCase()]||oe.error("unsupported pseudo: "+e);return i[x]?i(t):i.length>1?(n=[e,e,"",t],r.setFilters.hasOwnProperty(e.toLowerCase())?se(function(e,n){for(var r,o=i(e,t),a=o.length;a--;)e[r=D(e,o[a])]=!(n[r]=o[a])}):function(e){return i(e,0,n)}):i}},pseudos:{not:se(function(e){var t=[],n=[],r=s(e.replace(B,"$1"));return r[x]?se(function(e,t,n,i){for(var o,a=r(e,null,i,[]),s=e.length;s--;)(o=a[s])&&(e[s]=!(t[s]=o))}):function(e,i,o){return t[0]=e,r(t,null,o,n),t[0]=null,!n.pop()}}),has:se(function(e){return function(t){return oe(e,t).length>0}}),contains:se(function(e){return e=e.replace(J,ee),function(t){return(t.textContent||t.innerText||i(t)).indexOf(e)>-1}}),lang:se(function(e){return W.test(e||"")||oe.error("unsupported lang: "+e),e=e.replace(J,ee).toLowerCase(),function(t){var n;do{if(n=g?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===h},focus:function(e){return e===f.activeElement&&(!f.hasFocus||f.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:fe(!1),disabled:fe(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!r.pseudos.empty(e)},header:function(e){return Y.test(e.nodeName)},input:function(e){return X.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:he(function(){return[0]}),last:he(function(e,t){return[t-1]}),eq:he(function(e,t,n){return[n<0?n+t:n]}),even:he(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:he(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:he(function(e,t,n){for(var r=n<0?n+t:n;--r>=0;)e.push(r);return e}),gt:he(function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e})}}).pseudos.nth=r.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})r.pseudos[t]=de(t);for(t in{submit:!0,reset:!0})r.pseudos[t]=pe(t);function me(){}function ve(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function be(e,t,n){var r=t.dir,i=t.next,o=i||r,a=n&&"parentNode"===o,s=_++;return t.first?function(t,n,i){for(;t=t[r];)if(1===t.nodeType||a)return e(t,n,i);return!1}:function(t,n,l){var c,u,d,p=[k,s];if(l){for(;t=t[r];)if((1===t.nodeType||a)&&e(t,n,l))return!0}else for(;t=t[r];)if(1===t.nodeType||a)if(u=(d=t[x]||(t[x]={}))[t.uniqueID]||(d[t.uniqueID]={}),i&&i===t.nodeName.toLowerCase())t=t[r]||t;else{if((c=u[o])&&c[0]===k&&c[1]===s)return p[2]=c[2];if(u[o]=p,p[2]=e(t,n,l))return!0}return!1}}function ye(e){return e.length>1?function(t,n,r){for(var i=e.length;i--;)if(!e[i](t,n,r))return!1;return!0}:e[0]}function xe(e,t,n,r,i){for(var o,a=[],s=0,l=e.length,c=null!=t;s<l;s++)(o=e[s])&&(n&&!n(o,r,i)||(a.push(o),c&&t.push(s)));return a}function we(e,t,n,r,i,o){return r&&!r[x]&&(r=we(r)),i&&!i[x]&&(i=we(i,o)),se(function(o,a,s,l){var c,u,d,p=[],f=[],h=a.length,g=o||function(e,t,n){for(var r=0,i=t.length;r<i;r++)oe(e,t[r],n);return n}(t||"*",s.nodeType?[s]:s,[]),m=!e||!o&&t?g:xe(g,p,e,s,l),v=n?i||(o?e:h||r)?[]:a:m;if(n&&n(m,v,s,l),r)for(c=xe(v,f),r(c,[],s,l),u=c.length;u--;)(d=c[u])&&(v[f[u]]=!(m[f[u]]=d));if(o){if(i||e){if(i){for(c=[],u=v.length;u--;)(d=v[u])&&c.push(m[u]=d);i(null,v=[],c,l)}for(u=v.length;u--;)(d=v[u])&&(c=i?D(o,d):p[u])>-1&&(o[c]=!(a[c]=d))}}else v=xe(v===a?v.splice(h,v.length):v),i?i(null,a,v,l):R.apply(a,v)})}function ke(e){for(var t,n,i,o=e.length,a=r.relative[e[0].type],s=a||r.relative[" "],l=a?1:0,u=be(function(e){return e===t},s,!0),d=be(function(e){return D(t,e)>-1},s,!0),p=[function(e,n,r){var i=!a&&(r||n!==c)||((t=n).nodeType?u(e,n,r):d(e,n,r));return t=null,i}];l<o;l++)if(n=r.relative[e[l].type])p=[be(ye(p),n)];else{if((n=r.filter[e[l].type].apply(null,e[l].matches))[x]){for(i=++l;i<o&&!r.relative[e[i].type];i++);return we(l>1&&ye(p),l>1&&ve(e.slice(0,l-1).concat({value:" "===e[l-2].type?"*":""})).replace(B,"$1"),n,l<i&&ke(e.slice(l,i)),i<o&&ke(e=e.slice(i)),i<o&&ve(e))}p.push(n)}return ye(p)}return me.prototype=r.filters=r.pseudos,r.setFilters=new me,a=oe.tokenize=function(e,t){var n,i,o,a,s,l,c,u=E[e+" "];if(u)return t?0:u.slice(0);for(s=e,l=[],c=r.preFilter;s;){for(a in n&&!(i=V.exec(s))||(i&&(s=s.slice(i[0].length)||s),l.push(o=[])),n=!1,(i=F.exec(s))&&(n=i.shift(),o.push({value:n,type:i[0].replace(B," ")}),s=s.slice(n.length)),r.filter)!(i=G[a].exec(s))||c[a]&&!(i=c[a](i))||(n=i.shift(),o.push({value:n,type:a,matches:i}),s=s.slice(n.length));if(!n)break}return t?s.length:s?oe.error(e):E(e,l).slice(0)},s=oe.compile=function(e,t){var n,i=[],o=[],s=S[e+" "];if(!s){for(t||(t=a(e)),n=t.length;n--;)(s=ke(t[n]))[x]?i.push(s):o.push(s);(s=S(e,function(e,t){var n=t.length>0,i=e.length>0,o=function(o,a,s,l,u){var d,h,m,v=0,b="0",y=o&&[],x=[],w=c,_=o||i&&r.find.TAG("*",u),$=k+=null==w?1:Math.random()||.1,E=_.length;for(u&&(c=a===f||a||u);b!==E&&null!=(d=_[b]);b++){if(i&&d){for(h=0,a||d.ownerDocument===f||(p(d),s=!g);m=e[h++];)if(m(d,a||f,s)){l.push(d);break}u&&(k=$)}n&&((d=!m&&d)&&v--,o&&y.push(d))}if(v+=b,n&&b!==v){for(h=0;m=t[h++];)m(y,x,a,s);if(o){if(v>0)for(;b--;)y[b]||x[b]||(x[b]=O.call(l));x=xe(x)}R.apply(l,x),u&&!o&&x.length>0&&v+t.length>1&&oe.uniqueSort(l)}return u&&(k=$,c=w),y};return n?se(o):o}(o,i))).selector=e}return s},l=oe.select=function(e,t,n,i){var o,l,c,u,d,p="function"==typeof e&&e,f=!i&&a(e=p.selector||e);if(n=n||[],1===f.length){if((l=f[0]=f[0].slice(0)).length>2&&"ID"===(c=l[0]).type&&9===t.nodeType&&g&&r.relative[l[1].type]){if(!(t=(r.find.ID(c.matches[0].replace(J,ee),t)||[])[0]))return n;p&&(t=t.parentNode),e=e.slice(l.shift().value.length)}for(o=G.needsContext.test(e)?0:l.length;o--&&(c=l[o],!r.relative[u=c.type]);)if((d=r.find[u])&&(i=d(c.matches[0].replace(J,ee),Q.test(l[0].type)&&ge(t.parentNode)||t))){if(l.splice(o,1),!(e=i.length&&ve(l)))return R.apply(n,i),n;break}}return(p||s(e,f))(i,t,!g,n,!t||Q.test(e)&&ge(t.parentNode)||t),n},n.sortStable=x.split("").sort(C).join("")===x,n.detectDuplicates=!!d,p(),n.sortDetached=le(function(e){return 1&e.compareDocumentPosition(f.createElement("fieldset"))}),le(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||ce("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),n.attributes&&le(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||ce("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),le(function(e){return null==e.getAttribute("disabled")})||ce(N,function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null}),oe}(n);_.find=S,_.expr=S.selectors,_.expr[":"]=_.expr.pseudos,_.uniqueSort=_.unique=S.uniqueSort,_.text=S.getText,_.isXMLDoc=S.isXML,_.contains=S.contains,_.escapeSelector=S.escape;var C=function(e,t,n){for(var r=[],i=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(i&&_(e).is(n))break;r.push(e)}return r},T=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},A=_.expr.match.needsContext;function O(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var P=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function R(e,t,n){return b(t)?_.grep(e,function(e,r){return!!t.call(e,r,e)!==n}):t.nodeType?_.grep(e,function(e){return e===t!==n}):"string"!=typeof t?_.grep(e,function(e){return d.call(t,e)>-1!==n}):_.filter(t,e,n)}_.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?_.find.matchesSelector(r,e)?[r]:[]:_.find.matches(e,_.grep(t,function(e){return 1===e.nodeType}))},_.fn.extend({find:function(e){var t,n,r=this.length,i=this;if("string"!=typeof e)return this.pushStack(_(e).filter(function(){for(t=0;t<r;t++)if(_.contains(i[t],this))return!0}));for(n=this.pushStack([]),t=0;t<r;t++)_.find(e,i[t],n);return r>1?_.uniqueSort(n):n},filter:function(e){return this.pushStack(R(this,e||[],!1))},not:function(e){return this.pushStack(R(this,e||[],!0))},is:function(e){return!!R(this,"string"==typeof e&&A.test(e)?_(e):e||[],!1).length}});var j,D=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(_.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||j,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:D.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof _?t[0]:t,_.merge(this,_.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:a,!0)),P.test(r[1])&&_.isPlainObject(t))for(r in t)b(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=a.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):b(e)?void 0!==n.ready?n.ready(e):e(_):_.makeArray(e,this)}).prototype=_.fn,j=_(a);var N=/^(?:parents|prev(?:Until|All))/,I={children:!0,contents:!0,next:!0,prev:!0};function M(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}_.fn.extend({has:function(e){var t=_(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(_.contains(this,t[e]))return!0})},closest:function(e,t){var n,r=0,i=this.length,o=[],a="string"!=typeof e&&_(e);if(!A.test(e))for(;r<i;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&_.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(o.length>1?_.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?d.call(_(e),this[0]):d.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(_.uniqueSort(_.merge(this.get(),_(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),_.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return C(e,"parentNode")},parentsUntil:function(e,t,n){return C(e,"parentNode",n)},next:function(e){return M(e,"nextSibling")},prev:function(e){return M(e,"previousSibling")},nextAll:function(e){return C(e,"nextSibling")},prevAll:function(e){return C(e,"previousSibling")},nextUntil:function(e,t,n){return C(e,"nextSibling",n)},prevUntil:function(e,t,n){return C(e,"previousSibling",n)},siblings:function(e){return T((e.parentNode||{}).firstChild,e)},children:function(e){return T(e.firstChild)},contents:function(e){return O(e,"iframe")?e.contentDocument:(O(e,"template")&&(e=e.content||e),_.merge([],e.childNodes))}},function(e,t){_.fn[e]=function(n,r){var i=_.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=_.filter(r,i)),this.length>1&&(I[e]||_.uniqueSort(i),N.test(e)&&i.reverse()),this.pushStack(i)}});var z=/[^\x20\t\r\n\f]+/g;function L(e){return e}function q(e){throw e}function B(e,t,n,r){var i;try{e&&b(i=e.promise)?i.call(e).done(t).fail(n):e&&b(i=e.then)?i.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}_.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return _.each(e.match(z)||[],function(e,n){t[n]=!0}),t}(e):_.extend({},e);var t,n,r,i,o=[],a=[],s=-1,l=function(){for(i=i||e.once,r=t=!0;a.length;s=-1)for(n=a.shift();++s<o.length;)!1===o[s].apply(n[0],n[1])&&e.stopOnFalse&&(s=o.length,n=!1);e.memory||(n=!1),t=!1,i&&(o=n?[]:"")},c={add:function(){return o&&(n&&!t&&(s=o.length-1,a.push(n)),function t(n){_.each(n,function(n,r){b(r)?e.unique&&c.has(r)||o.push(r):r&&r.length&&"string"!==k(r)&&t(r)})}(arguments),n&&!t&&l()),this},remove:function(){return _.each(arguments,function(e,t){for(var n;(n=_.inArray(t,o,n))>-1;)o.splice(n,1),n<=s&&s--}),this},has:function(e){return e?_.inArray(e,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return i=a=[],o=n="",this},disabled:function(){return!o},lock:function(){return i=a=[],n||t||(o=n=""),this},locked:function(){return!!i},fireWith:function(e,n){return i||(n=[e,(n=n||[]).slice?n.slice():n],a.push(n),t||l()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!r}};return c},_.extend({Deferred:function(e){var t=[["notify","progress",_.Callbacks("memory"),_.Callbacks("memory"),2],["resolve","done",_.Callbacks("once memory"),_.Callbacks("once memory"),0,"resolved"],["reject","fail",_.Callbacks("once memory"),_.Callbacks("once memory"),1,"rejected"]],r="pending",i={state:function(){return r},always:function(){return o.done(arguments).fail(arguments),this},catch:function(e){return i.then(null,e)},pipe:function(){var e=arguments;return _.Deferred(function(n){_.each(t,function(t,r){var i=b(e[r[4]])&&e[r[4]];o[r[1]](function(){var e=i&&i.apply(this,arguments);e&&b(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[r[0]+"With"](this,i?[e]:arguments)})}),e=null}).promise()},then:function(e,r,i){var o=0;function a(e,t,r,i){return function(){var s=this,l=arguments,c=function(){var n,c;if(!(e<o)){if((n=r.apply(s,l))===t.promise())throw new TypeError("Thenable self-resolution");c=n&&("object"==typeof n||"function"==typeof n)&&n.then,b(c)?i?c.call(n,a(o,t,L,i),a(o,t,q,i)):(o++,c.call(n,a(o,t,L,i),a(o,t,q,i),a(o,t,L,t.notifyWith))):(r!==L&&(s=void 0,l=[n]),(i||t.resolveWith)(s,l))}},u=i?c:function(){try{c()}catch(n){_.Deferred.exceptionHook&&_.Deferred.exceptionHook(n,u.stackTrace),e+1>=o&&(r!==q&&(s=void 0,l=[n]),t.rejectWith(s,l))}};e?u():(_.Deferred.getStackHook&&(u.stackTrace=_.Deferred.getStackHook()),n.setTimeout(u))}}return _.Deferred(function(n){t[0][3].add(a(0,n,b(i)?i:L,n.notifyWith)),t[1][3].add(a(0,n,b(e)?e:L)),t[2][3].add(a(0,n,b(r)?r:q))}).promise()},promise:function(e){return null!=e?_.extend(e,i):i}},o={};return _.each(t,function(e,n){var a=n[2],s=n[5];i[n[1]]=a.add,s&&a.add(function(){r=s},t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock),a.add(n[3].fire),o[n[0]]=function(){return o[n[0]+"With"](this===o?void 0:this,arguments),this},o[n[0]+"With"]=a.fireWith}),i.promise(o),e&&e.call(o,o),o},when:function(e){var t=arguments.length,n=t,r=Array(n),i=l.call(arguments),o=_.Deferred(),a=function(e){return function(n){r[e]=this,i[e]=arguments.length>1?l.call(arguments):n,--t||o.resolveWith(r,i)}};if(t<=1&&(B(e,o.done(a(n)).resolve,o.reject,!t),"pending"===o.state()||b(i[n]&&i[n].then)))return o.then();for(;n--;)B(i[n],a(n),o.reject);return o.promise()}});var V=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;_.Deferred.exceptionHook=function(e,t){n.console&&n.console.warn&&e&&V.test(e.name)&&n.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},_.readyException=function(e){n.setTimeout(function(){throw e})};var F=_.Deferred();function U(){a.removeEventListener("DOMContentLoaded",U),n.removeEventListener("load",U),_.ready()}_.fn.ready=function(e){return F.then(e).catch(function(e){_.readyException(e)}),this},_.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--_.readyWait:_.isReady)||(_.isReady=!0,!0!==e&&--_.readyWait>0||F.resolveWith(a,[_]))}}),_.ready.then=F.then,"complete"===a.readyState||"loading"!==a.readyState&&!a.documentElement.doScroll?n.setTimeout(_.ready):(a.addEventListener("DOMContentLoaded",U),n.addEventListener("load",U));var H=function(e,t,n,r,i,o,a){var s=0,l=e.length,c=null==n;if("object"===k(n))for(s in i=!0,n)H(e,t,s,n[s],!0,o,a);else if(void 0!==r&&(i=!0,b(r)||(a=!0),c&&(a?(t.call(e,r),t=null):(c=t,t=function(e,t,n){return c.call(_(e),n)})),t))for(;s<l;s++)t(e[s],n,a?r:r.call(e[s],s,t(e[s],n)));return i?e:c?t.call(e):l?t(e[0],n):o},W=/^-ms-/,G=/-([a-z])/g;function X(e,t){return t.toUpperCase()}function Y(e){return e.replace(W,"ms-").replace(G,X)}var Z=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function K(){this.expando=_.expando+K.uid++}K.uid=1,K.prototype={cache:function(e){var t=e[this.expando];return t||(t={},Z(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,i=this.cache(e);if("string"==typeof t)i[Y(t)]=n;else for(r in t)i[Y(r)]=t[r];return i},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][Y(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r=e[this.expando];if(void 0!==r){if(void 0!==t){n=(t=Array.isArray(t)?t.map(Y):(t=Y(t))in r?[t]:t.match(z)||[]).length;for(;n--;)delete r[t[n]]}(void 0===t||_.isEmptyObject(r))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!_.isEmptyObject(t)}};var Q=new K,J=new K,ee=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,te=/[A-Z]/g;function ne(e,t,n){var r;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(te,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n=function(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:ee.test(e)?JSON.parse(e):e)}(n)}catch(e){}J.set(e,t,n)}else n=void 0;return n}_.extend({hasData:function(e){return J.hasData(e)||Q.hasData(e)},data:function(e,t,n){return J.access(e,t,n)},removeData:function(e,t){J.remove(e,t)},_data:function(e,t,n){return Q.access(e,t,n)},_removeData:function(e,t){Q.remove(e,t)}}),_.fn.extend({data:function(e,t){var n,r,i,o=this[0],a=o&&o.attributes;if(void 0===e){if(this.length&&(i=J.get(o),1===o.nodeType&&!Q.get(o,"hasDataAttrs"))){for(n=a.length;n--;)a[n]&&0===(r=a[n].name).indexOf("data-")&&(r=Y(r.slice(5)),ne(o,r,i[r]));Q.set(o,"hasDataAttrs",!0)}return i}return"object"==typeof e?this.each(function(){J.set(this,e)}):H(this,function(t){var n;if(o&&void 0===t)return void 0!==(n=J.get(o,e))?n:void 0!==(n=ne(o,e))?n:void 0;this.each(function(){J.set(this,e,t)})},null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){J.remove(this,e)})}}),_.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=Q.get(e,t),n&&(!r||Array.isArray(n)?r=Q.access(e,t,_.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=_.queue(e,t),r=n.length,i=n.shift(),o=_._queueHooks(e,t);"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,function(){_.dequeue(e,t)},o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return Q.get(e,n)||Q.access(e,n,{empty:_.Callbacks("once memory").add(function(){Q.remove(e,[t+"queue",n])})})}}),_.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?_.queue(this[0],e):void 0===t?this:this.each(function(){var n=_.queue(this,e,t);_._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&_.dequeue(this,e)})},dequeue:function(e){return this.each(function(){_.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,i=_.Deferred(),o=this,a=this.length,s=function(){--r||i.resolveWith(o,[o])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";a--;)(n=Q.get(o[a],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),i.promise(t)}});var re=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,ie=new RegExp("^(?:([+-])=|)("+re+")([a-z%]*)$","i"),oe=["Top","Right","Bottom","Left"],ae=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&_.contains(e.ownerDocument,e)&&"none"===_.css(e,"display")},se=function(e,t,n,r){var i,o,a={};for(o in t)a[o]=e.style[o],e.style[o]=t[o];for(o in i=n.apply(e,r||[]),t)e.style[o]=a[o];return i};function le(e,t,n,r){var i,o,a=20,s=r?function(){return r.cur()}:function(){return _.css(e,t,"")},l=s(),c=n&&n[3]||(_.cssNumber[t]?"":"px"),u=(_.cssNumber[t]||"px"!==c&&+l)&&ie.exec(_.css(e,t));if(u&&u[3]!==c){for(l/=2,c=c||u[3],u=+l||1;a--;)_.style(e,t,u+c),(1-o)*(1-(o=s()/l||.5))<=0&&(a=0),u/=o;u*=2,_.style(e,t,u+c),n=n||[]}return n&&(u=+u||+l||0,i=n[1]?u+(n[1]+1)*n[2]:+n[2],r&&(r.unit=c,r.start=u,r.end=i)),i}var ce={};function ue(e){var t,n=e.ownerDocument,r=e.nodeName,i=ce[r];return i||(t=n.body.appendChild(n.createElement(r)),i=_.css(t,"display"),t.parentNode.removeChild(t),"none"===i&&(i="block"),ce[r]=i,i)}function de(e,t){for(var n,r,i=[],o=0,a=e.length;o<a;o++)(r=e[o]).style&&(n=r.style.display,t?("none"===n&&(i[o]=Q.get(r,"display")||null,i[o]||(r.style.display="")),""===r.style.display&&ae(r)&&(i[o]=ue(r))):"none"!==n&&(i[o]="none",Q.set(r,"display",n)));for(o=0;o<a;o++)null!=i[o]&&(e[o].style.display=i[o]);return e}_.fn.extend({show:function(){return de(this,!0)},hide:function(){return de(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){ae(this)?_(this).show():_(this).hide()})}});var pe=/^(?:checkbox|radio)$/i,fe=/<([a-z][^\/\0>\x20\t\r\n\f]+)/i,he=/^$|^module$|\/(?:java|ecma)script/i,ge={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function me(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&O(e,t)?_.merge([e],n):n}function ve(e,t){for(var n=0,r=e.length;n<r;n++)Q.set(e[n],"globalEval",!t||Q.get(t[n],"globalEval"))}ge.optgroup=ge.option,ge.tbody=ge.tfoot=ge.colgroup=ge.caption=ge.thead,ge.th=ge.td;var be=/<|&#?\w+;/;function ye(e,t,n,r,i){for(var o,a,s,l,c,u,d=t.createDocumentFragment(),p=[],f=0,h=e.length;f<h;f++)if((o=e[f])||0===o)if("object"===k(o))_.merge(p,o.nodeType?[o]:o);else if(be.test(o)){for(a=a||d.appendChild(t.createElement("div")),s=(fe.exec(o)||["",""])[1].toLowerCase(),l=ge[s]||ge._default,a.innerHTML=l[1]+_.htmlPrefilter(o)+l[2],u=l[0];u--;)a=a.lastChild;_.merge(p,a.childNodes),(a=d.firstChild).textContent=""}else p.push(t.createTextNode(o));for(d.textContent="",f=0;o=p[f++];)if(r&&_.inArray(o,r)>-1)i&&i.push(o);else if(c=_.contains(o.ownerDocument,o),a=me(d.appendChild(o),"script"),c&&ve(a),n)for(u=0;o=a[u++];)he.test(o.type||"")&&n.push(o);return d}!function(){var e=a.createDocumentFragment().appendChild(a.createElement("div")),t=a.createElement("input");t.setAttribute("type","radio"),t.setAttribute("checked","checked"),t.setAttribute("name","t"),e.appendChild(t),v.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,e.innerHTML="<textarea>x</textarea>",v.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue}();var xe=a.documentElement,we=/^key/,ke=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,_e=/^([^.]*)(?:\.(.+)|)/;function $e(){return!0}function Ee(){return!1}function Se(){try{return a.activeElement}catch(e){}}function Ce(e,t,n,r,i,o){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)Ce(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=Ee;else if(!i)return e;return 1===o&&(a=i,(i=function(e){return _().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=_.guid++)),e.each(function(){_.event.add(this,t,i,r,n)})}_.event={global:{},add:function(e,t,n,r,i){var o,a,s,l,c,u,d,p,f,h,g,m=Q.get(e);if(m)for(n.handler&&(n=(o=n).handler,i=o.selector),i&&_.find.matchesSelector(xe,i),n.guid||(n.guid=_.guid++),(l=m.events)||(l=m.events={}),(a=m.handle)||(a=m.handle=function(t){return void 0!==_&&_.event.triggered!==t.type?_.event.dispatch.apply(e,arguments):void 0}),c=(t=(t||"").match(z)||[""]).length;c--;)f=g=(s=_e.exec(t[c])||[])[1],h=(s[2]||"").split(".").sort(),f&&(d=_.event.special[f]||{},f=(i?d.delegateType:d.bindType)||f,d=_.event.special[f]||{},u=_.extend({type:f,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&_.expr.match.needsContext.test(i),namespace:h.join(".")},o),(p=l[f])||((p=l[f]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(e,r,h,a)||e.addEventListener&&e.addEventListener(f,a)),d.add&&(d.add.call(e,u),u.handler.guid||(u.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,u):p.push(u),_.event.global[f]=!0)},remove:function(e,t,n,r,i){var o,a,s,l,c,u,d,p,f,h,g,m=Q.hasData(e)&&Q.get(e);if(m&&(l=m.events)){for(c=(t=(t||"").match(z)||[""]).length;c--;)if(f=g=(s=_e.exec(t[c])||[])[1],h=(s[2]||"").split(".").sort(),f){for(d=_.event.special[f]||{},p=l[f=(r?d.delegateType:d.bindType)||f]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=p.length;o--;)u=p[o],!i&&g!==u.origType||n&&n.guid!==u.guid||s&&!s.test(u.namespace)||r&&r!==u.selector&&("**"!==r||!u.selector)||(p.splice(o,1),u.selector&&p.delegateCount--,d.remove&&d.remove.call(e,u));a&&!p.length&&(d.teardown&&!1!==d.teardown.call(e,h,m.handle)||_.removeEvent(e,f,m.handle),delete l[f])}else for(f in l)_.event.remove(e,f+t[c],n,r,!0);_.isEmptyObject(l)&&Q.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,a,s=_.event.fix(e),l=new Array(arguments.length),c=(Q.get(this,"events")||{})[s.type]||[],u=_.event.special[s.type]||{};for(l[0]=s,t=1;t<arguments.length;t++)l[t]=arguments[t];if(s.delegateTarget=this,!u.preDispatch||!1!==u.preDispatch.call(this,s)){for(a=_.event.handlers.call(this,s,c),t=0;(i=a[t++])&&!s.isPropagationStopped();)for(s.currentTarget=i.elem,n=0;(o=i.handlers[n++])&&!s.isImmediatePropagationStopped();)s.rnamespace&&!s.rnamespace.test(o.namespace)||(s.handleObj=o,s.data=o.data,void 0!==(r=((_.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,l))&&!1===(s.result=r)&&(s.preventDefault(),s.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,s),s.result}},handlers:function(e,t){var n,r,i,o,a,s=[],l=t.delegateCount,c=e.target;if(l&&c.nodeType&&!("click"===e.type&&e.button>=1))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&("click"!==e.type||!0!==c.disabled)){for(o=[],a={},n=0;n<l;n++)void 0===a[i=(r=t[n]).selector+" "]&&(a[i]=r.needsContext?_(i,this).index(c)>-1:_.find(i,this,null,[c]).length),a[i]&&o.push(r);o.length&&s.push({elem:c,handlers:o})}return c=this,l<t.length&&s.push({elem:c,handlers:t.slice(l)}),s},addProp:function(e,t){Object.defineProperty(_.Event.prototype,e,{enumerable:!0,configurable:!0,get:b(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[_.expando]?e:new _.Event(e)},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==Se()&&this.focus)return this.focus(),!1},delegateType:"focusin"},blur:{trigger:function(){if(this===Se()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if("checkbox"===this.type&&this.click&&O(this,"input"))return this.click(),!1},_default:function(e){return O(e.target,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},_.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},_.Event=function(e,t){if(!(this instanceof _.Event))return new _.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?$e:Ee,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&_.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[_.expando]=!0},_.Event.prototype={constructor:_.Event,isDefaultPrevented:Ee,isPropagationStopped:Ee,isImmediatePropagationStopped:Ee,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=$e,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=$e,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=$e,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},_.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(e){var t=e.button;return null==e.which&&we.test(e.type)?null!=e.charCode?e.charCode:e.keyCode:!e.which&&void 0!==t&&ke.test(e.type)?1&t?1:2&t?3:4&t?2:0:e.which}},_.event.addProp),_.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,t){_.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=e.relatedTarget,i=e.handleObj;return r&&(r===this||_.contains(this,r))||(e.type=i.origType,n=i.handler.apply(this,arguments),e.type=t),n}}}),_.fn.extend({on:function(e,t,n,r){return Ce(this,e,t,n,r)},one:function(e,t,n,r){return Ce(this,e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,_(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(i in e)this.off(i,t,e[i]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=Ee),this.each(function(){_.event.remove(this,e,n,t)})}});var Te=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,Ae=/<script|<style|<link/i,Oe=/checked\s*(?:[^=]|=\s*.checked.)/i,Pe=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function Re(e,t){return O(e,"table")&&O(11!==t.nodeType?t:t.firstChild,"tr")&&_(e).children("tbody")[0]||e}function je(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function De(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Ne(e,t){var n,r,i,o,a,s,l,c;if(1===t.nodeType){if(Q.hasData(e)&&(o=Q.access(e),a=Q.set(t,o),c=o.events))for(i in delete a.handle,a.events={},c)for(n=0,r=c[i].length;n<r;n++)_.event.add(t,i,c[i][n]);J.hasData(e)&&(s=J.access(e),l=_.extend({},s),J.set(t,l))}}function Ie(e,t){var n=t.nodeName.toLowerCase();"input"===n&&pe.test(e.type)?t.checked=e.checked:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}function Me(e,t,n,r){t=c.apply([],t);var i,o,a,s,l,u,d=0,p=e.length,f=p-1,h=t[0],g=b(h);if(g||p>1&&"string"==typeof h&&!v.checkClone&&Oe.test(h))return e.each(function(i){var o=e.eq(i);g&&(t[0]=h.call(this,i,o.html())),Me(o,t,n,r)});if(p&&(o=(i=ye(t,e[0].ownerDocument,!1,e,r)).firstChild,1===i.childNodes.length&&(i=o),o||r)){for(s=(a=_.map(me(i,"script"),je)).length;d<p;d++)l=i,d!==f&&(l=_.clone(l,!0,!0),s&&_.merge(a,me(l,"script"))),n.call(e[d],l,d);if(s)for(u=a[a.length-1].ownerDocument,_.map(a,De),d=0;d<s;d++)l=a[d],he.test(l.type||"")&&!Q.access(l,"globalEval")&&_.contains(u,l)&&(l.src&&"module"!==(l.type||"").toLowerCase()?_._evalUrl&&_._evalUrl(l.src):w(l.textContent.replace(Pe,""),u,l))}return e}function ze(e,t,n){for(var r,i=t?_.filter(t,e):e,o=0;null!=(r=i[o]);o++)n||1!==r.nodeType||_.cleanData(me(r)),r.parentNode&&(n&&_.contains(r.ownerDocument,r)&&ve(me(r,"script")),r.parentNode.removeChild(r));return e}_.extend({htmlPrefilter:function(e){return e.replace(Te,"<$1></$2>")},clone:function(e,t,n){var r,i,o,a,s=e.cloneNode(!0),l=_.contains(e.ownerDocument,e);if(!(v.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||_.isXMLDoc(e)))for(a=me(s),r=0,i=(o=me(e)).length;r<i;r++)Ie(o[r],a[r]);if(t)if(n)for(o=o||me(e),a=a||me(s),r=0,i=o.length;r<i;r++)Ne(o[r],a[r]);else Ne(e,s);return(a=me(s,"script")).length>0&&ve(a,!l&&me(e,"script")),s},cleanData:function(e){for(var t,n,r,i=_.event.special,o=0;void 0!==(n=e[o]);o++)if(Z(n)){if(t=n[Q.expando]){if(t.events)for(r in t.events)i[r]?_.event.remove(n,r):_.removeEvent(n,r,t.handle);n[Q.expando]=void 0}n[J.expando]&&(n[J.expando]=void 0)}}}),_.fn.extend({detach:function(e){return ze(this,e,!0)},remove:function(e){return ze(this,e)},text:function(e){return H(this,function(e){return void 0===e?_.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return Me(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Re(this,e).appendChild(e)})},prepend:function(){return Me(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Re(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return Me(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return Me(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(_.cleanData(me(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return _.clone(this,e,t)})},html:function(e){return H(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Ae.test(e)&&!ge[(fe.exec(e)||["",""])[1].toLowerCase()]){e=_.htmlPrefilter(e);try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(_.cleanData(me(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=[];return Me(this,arguments,function(t){var n=this.parentNode;_.inArray(this,e)<0&&(_.cleanData(me(this)),n&&n.replaceChild(t,this))},e)}}),_.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){_.fn[e]=function(e){for(var n,r=[],i=_(e),o=i.length-1,a=0;a<=o;a++)n=a===o?this:this.clone(!0),_(i[a])[t](n),u.apply(r,n.get());return this.pushStack(r)}});var Le=new RegExp("^("+re+")(?!px)[a-z%]+$","i"),qe=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=n),t.getComputedStyle(e)},Be=new RegExp(oe.join("|"),"i");function Ve(e,t,n){var r,i,o,a,s=e.style;return(n=n||qe(e))&&(""!==(a=n.getPropertyValue(t)||n[t])||_.contains(e.ownerDocument,e)||(a=_.style(e,t)),!v.pixelBoxStyles()&&Le.test(a)&&Be.test(t)&&(r=s.width,i=s.minWidth,o=s.maxWidth,s.minWidth=s.maxWidth=s.width=a,a=n.width,s.width=r,s.minWidth=i,s.maxWidth=o)),void 0!==a?a+"":a}function Fe(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function e(){if(u){c.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",u.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",xe.appendChild(c).appendChild(u);var e=n.getComputedStyle(u);r="1%"!==e.top,l=12===t(e.marginLeft),u.style.right="60%",s=36===t(e.right),i=36===t(e.width),u.style.position="absolute",o=36===u.offsetWidth||"absolute",xe.removeChild(c),u=null}}function t(e){return Math.round(parseFloat(e))}var r,i,o,s,l,c=a.createElement("div"),u=a.createElement("div");u.style&&(u.style.backgroundClip="content-box",u.cloneNode(!0).style.backgroundClip="",v.clearCloneStyle="content-box"===u.style.backgroundClip,_.extend(v,{boxSizingReliable:function(){return e(),i},pixelBoxStyles:function(){return e(),s},pixelPosition:function(){return e(),r},reliableMarginLeft:function(){return e(),l},scrollboxSize:function(){return e(),o}}))}();var Ue=/^(none|table(?!-c[ea]).+)/,He=/^--/,We={position:"absolute",visibility:"hidden",display:"block"},Ge={letterSpacing:"0",fontWeight:"400"},Xe=["Webkit","Moz","ms"],Ye=a.createElement("div").style;function Ze(e){var t=_.cssProps[e];return t||(t=_.cssProps[e]=function(e){if(e in Ye)return e;for(var t=e[0].toUpperCase()+e.slice(1),n=Xe.length;n--;)if((e=Xe[n]+t)in Ye)return e}(e)||e),t}function Ke(e,t,n){var r=ie.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function Qe(e,t,n,r,i,o){var a="width"===t?1:0,s=0,l=0;if(n===(r?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(l+=_.css(e,n+oe[a],!0,i)),r?("content"===n&&(l-=_.css(e,"padding"+oe[a],!0,i)),"margin"!==n&&(l-=_.css(e,"border"+oe[a]+"Width",!0,i))):(l+=_.css(e,"padding"+oe[a],!0,i),"padding"!==n?l+=_.css(e,"border"+oe[a]+"Width",!0,i):s+=_.css(e,"border"+oe[a]+"Width",!0,i));return!r&&o>=0&&(l+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-l-s-.5))),l}function Je(e,t,n){var r=qe(e),i=Ve(e,t,r),o="border-box"===_.css(e,"boxSizing",!1,r),a=o;if(Le.test(i)){if(!n)return i;i="auto"}return a=a&&(v.boxSizingReliable()||i===e.style[t]),("auto"===i||!parseFloat(i)&&"inline"===_.css(e,"display",!1,r))&&(i=e["offset"+t[0].toUpperCase()+t.slice(1)],a=!0),(i=parseFloat(i)||0)+Qe(e,t,n||(o?"border":"content"),a,r,i)+"px"}function et(e,t,n,r,i){return new et.prototype.init(e,t,n,r,i)}_.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Ve(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,a,s=Y(t),l=He.test(t),c=e.style;if(l||(t=Ze(s)),a=_.cssHooks[t]||_.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(i=a.get(e,!1,r))?i:c[t];"string"===(o=typeof n)&&(i=ie.exec(n))&&i[1]&&(n=le(e,t,i),o="number"),null!=n&&n==n&&("number"===o&&(n+=i&&i[3]||(_.cssNumber[s]?"":"px")),v.clearCloneStyle||""!==n||0!==t.indexOf("background")||(c[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,r))||(l?c.setProperty(t,n):c[t]=n))}},css:function(e,t,n,r){var i,o,a,s=Y(t);return He.test(t)||(t=Ze(s)),(a=_.cssHooks[t]||_.cssHooks[s])&&"get"in a&&(i=a.get(e,!0,n)),void 0===i&&(i=Ve(e,t,r)),"normal"===i&&t in Ge&&(i=Ge[t]),""===n||n?(o=parseFloat(i),!0===n||isFinite(o)?o||0:i):i}}),_.each(["height","width"],function(e,t){_.cssHooks[t]={get:function(e,n,r){if(n)return!Ue.test(_.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?Je(e,t,r):se(e,We,function(){return Je(e,t,r)})},set:function(e,n,r){var i,o=qe(e),a="border-box"===_.css(e,"boxSizing",!1,o),s=r&&Qe(e,t,r,a,o);return a&&v.scrollboxSize()===o.position&&(s-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(o[t])-Qe(e,t,"border",!1,o)-.5)),s&&(i=ie.exec(n))&&"px"!==(i[3]||"px")&&(e.style[t]=n,n=_.css(e,t)),Ke(0,n,s)}}}),_.cssHooks.marginLeft=Fe(v.reliableMarginLeft,function(e,t){if(t)return(parseFloat(Ve(e,"marginLeft"))||e.getBoundingClientRect().left-se(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),_.each({margin:"",padding:"",border:"Width"},function(e,t){_.cssHooks[e+t]={expand:function(n){for(var r=0,i={},o="string"==typeof n?n.split(" "):[n];r<4;r++)i[e+oe[r]+t]=o[r]||o[r-2]||o[0];return i}},"margin"!==e&&(_.cssHooks[e+t].set=Ke)}),_.fn.extend({css:function(e,t){return H(this,function(e,t,n){var r,i,o={},a=0;if(Array.isArray(t)){for(r=qe(e),i=t.length;a<i;a++)o[t[a]]=_.css(e,t[a],!1,r);return o}return void 0!==n?_.style(e,t,n):_.css(e,t)},e,t,arguments.length>1)}}),_.Tween=et,et.prototype={constructor:et,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||_.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(_.cssNumber[n]?"":"px")},cur:function(){var e=et.propHooks[this.prop];return e&&e.get?e.get(this):et.propHooks._default.get(this)},run:function(e){var t,n=et.propHooks[this.prop];return this.options.duration?this.pos=t=_.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):et.propHooks._default.set(this),this}},et.prototype.init.prototype=et.prototype,et.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=_.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){_.fx.step[e.prop]?_.fx.step[e.prop](e):1!==e.elem.nodeType||null==e.elem.style[_.cssProps[e.prop]]&&!_.cssHooks[e.prop]?e.elem[e.prop]=e.now:_.style(e.elem,e.prop,e.now+e.unit)}}},et.propHooks.scrollTop=et.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},_.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},_.fx=et.prototype.init,_.fx.step={};var tt,nt,rt=/^(?:toggle|show|hide)$/,it=/queueHooks$/;function ot(){nt&&(!1===a.hidden&&n.requestAnimationFrame?n.requestAnimationFrame(ot):n.setTimeout(ot,_.fx.interval),_.fx.tick())}function at(){return n.setTimeout(function(){tt=void 0}),tt=Date.now()}function st(e,t){var n,r=0,i={height:e};for(t=t?1:0;r<4;r+=2-t)i["margin"+(n=oe[r])]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function lt(e,t,n){for(var r,i=(ct.tweeners[t]||[]).concat(ct.tweeners["*"]),o=0,a=i.length;o<a;o++)if(r=i[o].call(n,t,e))return r}function ct(e,t,n){var r,i,o=0,a=ct.prefilters.length,s=_.Deferred().always(function(){delete l.elem}),l=function(){if(i)return!1;for(var t=tt||at(),n=Math.max(0,c.startTime+c.duration-t),r=1-(n/c.duration||0),o=0,a=c.tweens.length;o<a;o++)c.tweens[o].run(r);return s.notifyWith(e,[c,r,n]),r<1&&a?n:(a||s.notifyWith(e,[c,1,0]),s.resolveWith(e,[c]),!1)},c=s.promise({elem:e,props:_.extend({},t),opts:_.extend(!0,{specialEasing:{},easing:_.easing._default},n),originalProperties:t,originalOptions:n,startTime:tt||at(),duration:n.duration,tweens:[],createTween:function(t,n){var r=_.Tween(e,c.opts,t,n,c.opts.specialEasing[t]||c.opts.easing);return c.tweens.push(r),r},stop:function(t){var n=0,r=t?c.tweens.length:0;if(i)return this;for(i=!0;n<r;n++)c.tweens[n].run(1);return t?(s.notifyWith(e,[c,1,0]),s.resolveWith(e,[c,t])):s.rejectWith(e,[c,t]),this}}),u=c.props;for(!function(e,t){var n,r,i,o,a;for(n in e)if(i=t[r=Y(n)],o=e[n],Array.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),(a=_.cssHooks[r])&&"expand"in a)for(n in o=a.expand(o),delete e[r],o)n in e||(e[n]=o[n],t[n]=i);else t[r]=i}(u,c.opts.specialEasing);o<a;o++)if(r=ct.prefilters[o].call(c,e,u,c.opts))return b(r.stop)&&(_._queueHooks(c.elem,c.opts.queue).stop=r.stop.bind(r)),r;return _.map(u,lt,c),b(c.opts.start)&&c.opts.start.call(e,c),c.progress(c.opts.progress).done(c.opts.done,c.opts.complete).fail(c.opts.fail).always(c.opts.always),_.fx.timer(_.extend(l,{elem:e,anim:c,queue:c.opts.queue})),c}_.Animation=_.extend(ct,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return le(n.elem,e,ie.exec(t),n),n}]},tweener:function(e,t){b(e)?(t=e,e=["*"]):e=e.match(z);for(var n,r=0,i=e.length;r<i;r++)n=e[r],ct.tweeners[n]=ct.tweeners[n]||[],ct.tweeners[n].unshift(t)},prefilters:[function(e,t,n){var r,i,o,a,s,l,c,u,d="width"in t||"height"in t,p=this,f={},h=e.style,g=e.nodeType&&ae(e),m=Q.get(e,"fxshow");for(r in n.queue||(null==(a=_._queueHooks(e,"fx")).unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,p.always(function(){p.always(function(){a.unqueued--,_.queue(e,"fx").length||a.empty.fire()})})),t)if(i=t[r],rt.test(i)){if(delete t[r],o=o||"toggle"===i,i===(g?"hide":"show")){if("show"!==i||!m||void 0===m[r])continue;g=!0}f[r]=m&&m[r]||_.style(e,r)}if((l=!_.isEmptyObject(t))||!_.isEmptyObject(f))for(r in d&&1===e.nodeType&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],null==(c=m&&m.display)&&(c=Q.get(e,"display")),"none"===(u=_.css(e,"display"))&&(c?u=c:(de([e],!0),c=e.style.display||c,u=_.css(e,"display"),de([e]))),("inline"===u||"inline-block"===u&&null!=c)&&"none"===_.css(e,"float")&&(l||(p.done(function(){h.display=c}),null==c&&(u=h.display,c="none"===u?"":u)),h.display="inline-block")),n.overflow&&(h.overflow="hidden",p.always(function(){h.overflow=n.overflow[0],h.overflowX=n.overflow[1],h.overflowY=n.overflow[2]})),l=!1,f)l||(m?"hidden"in m&&(g=m.hidden):m=Q.access(e,"fxshow",{display:c}),o&&(m.hidden=!g),g&&de([e],!0),p.done(function(){for(r in g||de([e]),Q.remove(e,"fxshow"),f)_.style(e,r,f[r])})),l=lt(g?m[r]:0,r,p),r in m||(m[r]=l.start,g&&(l.end=l.start,l.start=0))}],prefilter:function(e,t){t?ct.prefilters.unshift(e):ct.prefilters.push(e)}}),_.speed=function(e,t,n){var r=e&&"object"==typeof e?_.extend({},e):{complete:n||!n&&t||b(e)&&e,duration:e,easing:n&&t||t&&!b(t)&&t};return _.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in _.fx.speeds?r.duration=_.fx.speeds[r.duration]:r.duration=_.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){b(r.old)&&r.old.call(this),r.queue&&_.dequeue(this,r.queue)},r},_.fn.extend({fadeTo:function(e,t,n,r){return this.filter(ae).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var i=_.isEmptyObject(e),o=_.speed(t,n,r),a=function(){var t=ct(this,_.extend({},e),o);(i||Q.get(this,"finish"))&&t.stop(!0)};return a.finish=a,i||!1===o.queue?this.each(a):this.queue(o.queue,a)},stop:function(e,t,n){var r=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&!1!==e&&this.queue(e||"fx",[]),this.each(function(){var t=!0,i=null!=e&&e+"queueHooks",o=_.timers,a=Q.get(this);if(i)a[i]&&a[i].stop&&r(a[i]);else for(i in a)a[i]&&a[i].stop&&it.test(i)&&r(a[i]);for(i=o.length;i--;)o[i].elem!==this||null!=e&&o[i].queue!==e||(o[i].anim.stop(n),t=!1,o.splice(i,1));!t&&n||_.dequeue(this,e)})},finish:function(e){return!1!==e&&(e=e||"fx"),this.each(function(){var t,n=Q.get(this),r=n[e+"queue"],i=n[e+"queueHooks"],o=_.timers,a=r?r.length:0;for(n.finish=!0,_.queue(this,e,[]),i&&i.stop&&i.stop.call(this,!0),t=o.length;t--;)o[t].elem===this&&o[t].queue===e&&(o[t].anim.stop(!0),o.splice(t,1));for(t=0;t<a;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish})}}),_.each(["toggle","show","hide"],function(e,t){var n=_.fn[t];_.fn[t]=function(e,r,i){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(st(t,!0),e,r,i)}}),_.each({slideDown:st("show"),slideUp:st("hide"),slideToggle:st("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){_.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}}),_.timers=[],_.fx.tick=function(){var e,t=0,n=_.timers;for(tt=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||_.fx.stop(),tt=void 0},_.fx.timer=function(e){_.timers.push(e),_.fx.start()},_.fx.interval=13,_.fx.start=function(){nt||(nt=!0,ot())},_.fx.stop=function(){nt=null},_.fx.speeds={slow:600,fast:200,_default:400},_.fn.delay=function(e,t){return e=_.fx&&_.fx.speeds[e]||e,t=t||"fx",this.queue(t,function(t,r){var i=n.setTimeout(t,e);r.stop=function(){n.clearTimeout(i)}})},function(){var e=a.createElement("input"),t=a.createElement("select").appendChild(a.createElement("option"));e.type="checkbox",v.checkOn=""!==e.value,v.optSelected=t.selected,(e=a.createElement("input")).value="t",e.type="radio",v.radioValue="t"===e.value}();var ut,dt=_.expr.attrHandle;_.fn.extend({attr:function(e,t){return H(this,_.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){_.removeAttr(this,e)})}}),_.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===e.getAttribute?_.prop(e,t,n):(1===o&&_.isXMLDoc(e)||(i=_.attrHooks[t.toLowerCase()]||(_.expr.match.bool.test(t)?ut:void 0)),void 0!==n?null===n?void _.removeAttr(e,t):i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:(e.setAttribute(t,n+""),n):i&&"get"in i&&null!==(r=i.get(e,t))?r:null==(r=_.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!v.radioValue&&"radio"===t&&O(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,i=t&&t.match(z);if(i&&1===e.nodeType)for(;n=i[r++];)e.removeAttribute(n)}}),ut={set:function(e,t,n){return!1===t?_.removeAttr(e,n):e.setAttribute(n,n),n}},_.each(_.expr.match.bool.source.match(/\w+/g),function(e,t){var n=dt[t]||_.find.attr;dt[t]=function(e,t,r){var i,o,a=t.toLowerCase();return r||(o=dt[a],dt[a]=i,i=null!=n(e,t,r)?a:null,dt[a]=o),i}});var pt=/^(?:input|select|textarea|button)$/i,ft=/^(?:a|area)$/i;function ht(e){return(e.match(z)||[]).join(" ")}function gt(e){return e.getAttribute&&e.getAttribute("class")||""}function mt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(z)||[]}_.fn.extend({prop:function(e,t){return H(this,_.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[_.propFix[e]||e]})}}),_.extend({prop:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&_.isXMLDoc(e)||(t=_.propFix[t]||t,i=_.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=_.find.attr(e,"tabindex");return t?parseInt(t,10):pt.test(e.nodeName)||ft.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),v.optSelected||(_.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),_.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){_.propFix[this.toLowerCase()]=this}),_.fn.extend({addClass:function(e){var t,n,r,i,o,a,s,l=0;if(b(e))return this.each(function(t){_(this).addClass(e.call(this,t,gt(this)))});if((t=mt(e)).length)for(;n=this[l++];)if(i=gt(n),r=1===n.nodeType&&" "+ht(i)+" "){for(a=0;o=t[a++];)r.indexOf(" "+o+" ")<0&&(r+=o+" ");i!==(s=ht(r))&&n.setAttribute("class",s)}return this},removeClass:function(e){var t,n,r,i,o,a,s,l=0;if(b(e))return this.each(function(t){_(this).removeClass(e.call(this,t,gt(this)))});if(!arguments.length)return this.attr("class","");if((t=mt(e)).length)for(;n=this[l++];)if(i=gt(n),r=1===n.nodeType&&" "+ht(i)+" "){for(a=0;o=t[a++];)for(;r.indexOf(" "+o+" ")>-1;)r=r.replace(" "+o+" "," ");i!==(s=ht(r))&&n.setAttribute("class",s)}return this},toggleClass:function(e,t){var n=typeof e,r="string"===n||Array.isArray(e);return"boolean"==typeof t&&r?t?this.addClass(e):this.removeClass(e):b(e)?this.each(function(n){_(this).toggleClass(e.call(this,n,gt(this),t),t)}):this.each(function(){var t,i,o,a;if(r)for(i=0,o=_(this),a=mt(e);t=a[i++];)o.hasClass(t)?o.removeClass(t):o.addClass(t);else void 0!==e&&"boolean"!==n||((t=gt(this))&&Q.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":Q.get(this,"__className__")||""))})},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&(" "+ht(gt(n))+" ").indexOf(t)>-1)return!0;return!1}});var vt=/\r/g;_.fn.extend({val:function(e){var t,n,r,i=this[0];return arguments.length?(r=b(e),this.each(function(n){var i;1===this.nodeType&&(null==(i=r?e.call(this,n,_(this).val()):e)?i="":"number"==typeof i?i+="":Array.isArray(i)&&(i=_.map(i,function(e){return null==e?"":e+""})),(t=_.valHooks[this.type]||_.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,i,"value")||(this.value=i))})):i?(t=_.valHooks[i.type]||_.valHooks[i.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(i,"value"))?n:"string"==typeof(n=i.value)?n.replace(vt,""):null==n?"":n:void 0}}),_.extend({valHooks:{option:{get:function(e){var t=_.find.attr(e,"value");return null!=t?t:ht(_.text(e))}},select:{get:function(e){var t,n,r,i=e.options,o=e.selectedIndex,a="select-one"===e.type,s=a?null:[],l=a?o+1:i.length;for(r=o<0?l:a?o:0;r<l;r++)if(((n=i[r]).selected||r===o)&&!n.disabled&&(!n.parentNode.disabled||!O(n.parentNode,"optgroup"))){if(t=_(n).val(),a)return t;s.push(t)}return s},set:function(e,t){for(var n,r,i=e.options,o=_.makeArray(t),a=i.length;a--;)((r=i[a]).selected=_.inArray(_.valHooks.option.get(r),o)>-1)&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),_.each(["radio","checkbox"],function(){_.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=_.inArray(_(e).val(),t)>-1}},v.checkOn||(_.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}),v.focusin="onfocusin"in n;var bt=/^(?:focusinfocus|focusoutblur)$/,yt=function(e){e.stopPropagation()};_.extend(_.event,{trigger:function(e,t,r,i){var o,s,l,c,u,d,p,f,g=[r||a],m=h.call(e,"type")?e.type:e,v=h.call(e,"namespace")?e.namespace.split("."):[];if(s=f=l=r=r||a,3!==r.nodeType&&8!==r.nodeType&&!bt.test(m+_.event.triggered)&&(m.indexOf(".")>-1&&(m=(v=m.split(".")).shift(),v.sort()),u=m.indexOf(":")<0&&"on"+m,(e=e[_.expando]?e:new _.Event(m,"object"==typeof e&&e)).isTrigger=i?2:3,e.namespace=v.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+v.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=r),t=null==t?[e]:_.makeArray(t,[e]),p=_.event.special[m]||{},i||!p.trigger||!1!==p.trigger.apply(r,t))){if(!i&&!p.noBubble&&!y(r)){for(c=p.delegateType||m,bt.test(c+m)||(s=s.parentNode);s;s=s.parentNode)g.push(s),l=s;l===(r.ownerDocument||a)&&g.push(l.defaultView||l.parentWindow||n)}for(o=0;(s=g[o++])&&!e.isPropagationStopped();)f=s,e.type=o>1?c:p.bindType||m,(d=(Q.get(s,"events")||{})[e.type]&&Q.get(s,"handle"))&&d.apply(s,t),(d=u&&s[u])&&d.apply&&Z(s)&&(e.result=d.apply(s,t),!1===e.result&&e.preventDefault());return e.type=m,i||e.isDefaultPrevented()||p._default&&!1!==p._default.apply(g.pop(),t)||!Z(r)||u&&b(r[m])&&!y(r)&&((l=r[u])&&(r[u]=null),_.event.triggered=m,e.isPropagationStopped()&&f.addEventListener(m,yt),r[m](),e.isPropagationStopped()&&f.removeEventListener(m,yt),_.event.triggered=void 0,l&&(r[u]=l)),e.result}},simulate:function(e,t,n){var r=_.extend(new _.Event,n,{type:e,isSimulated:!0});_.event.trigger(r,null,t)}}),_.fn.extend({trigger:function(e,t){return this.each(function(){_.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return _.event.trigger(e,t,n,!0)}}),v.focusin||_.each({focus:"focusin",blur:"focusout"},function(e,t){var n=function(e){_.event.simulate(t,e.target,_.event.fix(e))};_.event.special[t]={setup:function(){var r=this.ownerDocument||this,i=Q.access(r,t);i||r.addEventListener(e,n,!0),Q.access(r,t,(i||0)+1)},teardown:function(){var r=this.ownerDocument||this,i=Q.access(r,t)-1;i?Q.access(r,t,i):(r.removeEventListener(e,n,!0),Q.remove(r,t))}}});var xt=n.location,wt=Date.now(),kt=/\?/;_.parseXML=function(e){var t;if(!e||"string"!=typeof e)return null;try{t=(new n.DOMParser).parseFromString(e,"text/xml")}catch(e){t=void 0}return t&&!t.getElementsByTagName("parsererror").length||_.error("Invalid XML: "+e),t};var _t=/\[\]$/,$t=/\r?\n/g,Et=/^(?:submit|button|image|reset|file)$/i,St=/^(?:input|select|textarea|keygen)/i;function Ct(e,t,n,r){var i;if(Array.isArray(t))_.each(t,function(t,i){n||_t.test(e)?r(e,i):Ct(e+"["+("object"==typeof i&&null!=i?t:"")+"]",i,n,r)});else if(n||"object"!==k(t))r(e,t);else for(i in t)Ct(e+"["+i+"]",t[i],n,r)}_.param=function(e,t){var n,r=[],i=function(e,t){var n=b(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(Array.isArray(e)||e.jquery&&!_.isPlainObject(e))_.each(e,function(){i(this.name,this.value)});else for(n in e)Ct(n,e[n],t,i);return r.join("&")},_.fn.extend({serialize:function(){return _.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=_.prop(this,"elements");return e?_.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!_(this).is(":disabled")&&St.test(this.nodeName)&&!Et.test(e)&&(this.checked||!pe.test(e))}).map(function(e,t){var n=_(this).val();return null==n?null:Array.isArray(n)?_.map(n,function(e){return{name:t.name,value:e.replace($t,"\r\n")}}):{name:t.name,value:n.replace($t,"\r\n")}}).get()}});var Tt=/%20/g,At=/#.*$/,Ot=/([?&])_=[^&]*/,Pt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Rt=/^(?:GET|HEAD)$/,jt=/^\/\//,Dt={},Nt={},It="*/".concat("*"),Mt=a.createElement("a");function zt(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,i=0,o=t.toLowerCase().match(z)||[];if(b(n))for(;r=o[i++];)"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function Lt(e,t,n,r){var i={},o=e===Nt;function a(s){var l;return i[s]=!0,_.each(e[s]||[],function(e,s){var c=s(t,n,r);return"string"!=typeof c||o||i[c]?o?!(l=c):void 0:(t.dataTypes.unshift(c),a(c),!1)}),l}return a(t.dataTypes[0])||!i["*"]&&a("*")}function qt(e,t){var n,r,i=_.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((i[n]?e:r||(r={}))[n]=t[n]);return r&&_.extend(!0,e,r),e}Mt.href=xt.href,_.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:xt.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(xt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":It,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":_.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?qt(qt(e,_.ajaxSettings),t):qt(_.ajaxSettings,e)},ajaxPrefilter:zt(Dt),ajaxTransport:zt(Nt),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var r,i,o,s,l,c,u,d,p,f,h=_.ajaxSetup({},t),g=h.context||h,m=h.context&&(g.nodeType||g.jquery)?_(g):_.event,v=_.Deferred(),b=_.Callbacks("once memory"),y=h.statusCode||{},x={},w={},k="canceled",$={readyState:0,getResponseHeader:function(e){var t;if(u){if(!s)for(s={};t=Pt.exec(o);)s[t[1].toLowerCase()]=t[2];t=s[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return u?o:null},setRequestHeader:function(e,t){return null==u&&(e=w[e.toLowerCase()]=w[e.toLowerCase()]||e,x[e]=t),this},overrideMimeType:function(e){return null==u&&(h.mimeType=e),this},statusCode:function(e){var t;if(e)if(u)$.always(e[$.status]);else for(t in e)y[t]=[y[t],e[t]];return this},abort:function(e){var t=e||k;return r&&r.abort(t),E(0,t),this}};if(v.promise($),h.url=((e||h.url||xt.href)+"").replace(jt,xt.protocol+"//"),h.type=t.method||t.type||h.method||h.type,h.dataTypes=(h.dataType||"*").toLowerCase().match(z)||[""],null==h.crossDomain){c=a.createElement("a");try{c.href=h.url,c.href=c.href,h.crossDomain=Mt.protocol+"//"+Mt.host!=c.protocol+"//"+c.host}catch(e){h.crossDomain=!0}}if(h.data&&h.processData&&"string"!=typeof h.data&&(h.data=_.param(h.data,h.traditional)),Lt(Dt,h,t,$),u)return $;for(p in(d=_.event&&h.global)&&0==_.active++&&_.event.trigger("ajaxStart"),h.type=h.type.toUpperCase(),h.hasContent=!Rt.test(h.type),i=h.url.replace(At,""),h.hasContent?h.data&&h.processData&&0===(h.contentType||"").indexOf("application/x-www-form-urlencoded")&&(h.data=h.data.replace(Tt,"+")):(f=h.url.slice(i.length),h.data&&(h.processData||"string"==typeof h.data)&&(i+=(kt.test(i)?"&":"?")+h.data,delete h.data),!1===h.cache&&(i=i.replace(Ot,"$1"),f=(kt.test(i)?"&":"?")+"_="+wt+++f),h.url=i+f),h.ifModified&&(_.lastModified[i]&&$.setRequestHeader("If-Modified-Since",_.lastModified[i]),_.etag[i]&&$.setRequestHeader("If-None-Match",_.etag[i])),(h.data&&h.hasContent&&!1!==h.contentType||t.contentType)&&$.setRequestHeader("Content-Type",h.contentType),$.setRequestHeader("Accept",h.dataTypes[0]&&h.accepts[h.dataTypes[0]]?h.accepts[h.dataTypes[0]]+("*"!==h.dataTypes[0]?", "+It+"; q=0.01":""):h.accepts["*"]),h.headers)$.setRequestHeader(p,h.headers[p]);if(h.beforeSend&&(!1===h.beforeSend.call(g,$,h)||u))return $.abort();if(k="abort",b.add(h.complete),$.done(h.success),$.fail(h.error),r=Lt(Nt,h,t,$)){if($.readyState=1,d&&m.trigger("ajaxSend",[$,h]),u)return $;h.async&&h.timeout>0&&(l=n.setTimeout(function(){$.abort("timeout")},h.timeout));try{u=!1,r.send(x,E)}catch(e){if(u)throw e;E(-1,e)}}else E(-1,"No Transport");function E(e,t,a,s){var c,p,f,x,w,k=t;u||(u=!0,l&&n.clearTimeout(l),r=void 0,o=s||"",$.readyState=e>0?4:0,c=e>=200&&e<300||304===e,a&&(x=function(e,t,n){for(var r,i,o,a,s=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(i in s)if(s[i]&&s[i].test(r)){l.unshift(i);break}if(l[0]in n)o=l[0];else{for(i in n){if(!l[0]||e.converters[i+" "+l[0]]){o=i;break}a||(a=i)}o=o||a}if(o)return o!==l[0]&&l.unshift(o),n[o]}(h,$,a)),x=function(e,t,n,r){var i,o,a,s,l,c={},u=e.dataTypes.slice();if(u[1])for(a in e.converters)c[a.toLowerCase()]=e.converters[a];for(o=u.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!l&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=o,o=u.shift())if("*"===o)o=l;else if("*"!==l&&l!==o){if(!(a=c[l+" "+o]||c["* "+o]))for(i in c)if((s=i.split(" "))[1]===o&&(a=c[l+" "+s[0]]||c["* "+s[0]])){!0===a?a=c[i]:!0!==c[i]&&(o=s[0],u.unshift(s[1]));break}if(!0!==a)if(a&&e.throws)t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+l+" to "+o}}}return{state:"success",data:t}}(h,x,$,c),c?(h.ifModified&&((w=$.getResponseHeader("Last-Modified"))&&(_.lastModified[i]=w),(w=$.getResponseHeader("etag"))&&(_.etag[i]=w)),204===e||"HEAD"===h.type?k="nocontent":304===e?k="notmodified":(k=x.state,p=x.data,c=!(f=x.error))):(f=k,!e&&k||(k="error",e<0&&(e=0))),$.status=e,$.statusText=(t||k)+"",c?v.resolveWith(g,[p,k,$]):v.rejectWith(g,[$,k,f]),$.statusCode(y),y=void 0,d&&m.trigger(c?"ajaxSuccess":"ajaxError",[$,h,c?p:f]),b.fireWith(g,[$,k]),d&&(m.trigger("ajaxComplete",[$,h]),--_.active||_.event.trigger("ajaxStop")))}return $},getJSON:function(e,t,n){return _.get(e,t,n,"json")},getScript:function(e,t){return _.get(e,void 0,t,"script")}}),_.each(["get","post"],function(e,t){_[t]=function(e,n,r,i){return b(n)&&(i=i||r,r=n,n=void 0),_.ajax(_.extend({url:e,type:t,dataType:i,data:n,success:r},_.isPlainObject(e)&&e))}}),_._evalUrl=function(e){return _.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,throws:!0})},_.fn.extend({wrapAll:function(e){var t;return this[0]&&(b(e)&&(e=e.call(this[0])),t=_(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(e){return b(e)?this.each(function(t){_(this).wrapInner(e.call(this,t))}):this.each(function(){var t=_(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=b(e);return this.each(function(n){_(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(e){return this.parent(e).not("body").each(function(){_(this).replaceWith(this.childNodes)}),this}}),_.expr.pseudos.hidden=function(e){return!_.expr.pseudos.visible(e)},_.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},_.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch(e){}};var Bt={0:200,1223:204},Vt=_.ajaxSettings.xhr();v.cors=!!Vt&&"withCredentials"in Vt,v.ajax=Vt=!!Vt,_.ajaxTransport(function(e){var t,r;if(v.cors||Vt&&!e.crossDomain)return{send:function(i,o){var a,s=e.xhr();if(s.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(a in e.xhrFields)s[a]=e.xhrFields[a];for(a in e.mimeType&&s.overrideMimeType&&s.overrideMimeType(e.mimeType),e.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest"),i)s.setRequestHeader(a,i[a]);t=function(e){return function(){t&&(t=r=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===e?s.abort():"error"===e?"number"!=typeof s.status?o(0,"error"):o(s.status,s.statusText):o(Bt[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=t(),r=s.onerror=s.ontimeout=t("error"),void 0!==s.onabort?s.onabort=r:s.onreadystatechange=function(){4===s.readyState&&n.setTimeout(function(){t&&r()})},t=t("abort");try{s.send(e.hasContent&&e.data||null)}catch(e){if(t)throw e}},abort:function(){t&&t()}}}),_.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),_.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return _.globalEval(e),e}}}),_.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),_.ajaxTransport("script",function(e){var t,n;if(e.crossDomain)return{send:function(r,i){t=_("<script>").prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&i("error"===e.type?404:200,e.type)}),a.head.appendChild(t[0])},abort:function(){n&&n()}}});var Ft=[],Ut=/(=)\?(?=&|$)|\?\?/;_.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Ft.pop()||_.expando+"_"+wt++;return this[e]=!0,e}}),_.ajaxPrefilter("json jsonp",function(e,t,r){var i,o,a,s=!1!==e.jsonp&&(Ut.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Ut.test(e.data)&&"data");if(s||"jsonp"===e.dataTypes[0])return i=e.jsonpCallback=b(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,s?e[s]=e[s].replace(Ut,"$1"+i):!1!==e.jsonp&&(e.url+=(kt.test(e.url)?"&":"?")+e.jsonp+"="+i),e.converters["script json"]=function(){return a||_.error(i+" was not called"),a[0]},e.dataTypes[0]="json",o=n[i],n[i]=function(){a=arguments},r.always(function(){void 0===o?_(n).removeProp(i):n[i]=o,e[i]&&(e.jsonpCallback=t.jsonpCallback,Ft.push(i)),a&&b(o)&&o(a[0]),a=o=void 0}),"script"}),v.createHTMLDocument=function(){var e=a.implementation.createHTMLDocument("").body;return e.innerHTML="<form></form><form></form>",2===e.childNodes.length}(),_.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(v.createHTMLDocument?((r=(t=a.implementation.createHTMLDocument("")).createElement("base")).href=a.location.href,t.head.appendChild(r)):t=a),i=P.exec(e),o=!n&&[],i?[t.createElement(i[1])]:(i=ye([e],t,o),o&&o.length&&_(o).remove(),_.merge([],i.childNodes)));var r,i,o},_.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return s>-1&&(r=ht(e.slice(s)),e=e.slice(0,s)),b(t)?(n=t,t=void 0):t&&"object"==typeof t&&(i="POST"),a.length>0&&_.ajax({url:e,type:i||"GET",dataType:"html",data:t}).done(function(e){o=arguments,a.html(r?_("<div>").append(_.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},_.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){_.fn[t]=function(e){return this.on(t,e)}}),_.expr.pseudos.animated=function(e){return _.grep(_.timers,function(t){return e===t.elem}).length},_.offset={setOffset:function(e,t,n){var r,i,o,a,s,l,c=_.css(e,"position"),u=_(e),d={};"static"===c&&(e.style.position="relative"),s=u.offset(),o=_.css(e,"top"),l=_.css(e,"left"),("absolute"===c||"fixed"===c)&&(o+l).indexOf("auto")>-1?(a=(r=u.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(l)||0),b(t)&&(t=t.call(e,n,_.extend({},s))),null!=t.top&&(d.top=t.top-s.top+a),null!=t.left&&(d.left=t.left-s.left+i),"using"in t?t.using.call(e,d):u.css(d)}},_.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){_.offset.setOffset(this,e,t)});var t,n,r=this[0];return r?r.getClientRects().length?(t=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:t.top+n.pageYOffset,left:t.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===_.css(r,"position"))t=r.getBoundingClientRect();else{for(t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===_.css(e,"position");)e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=_(e).offset()).top+=_.css(e,"borderTopWidth",!0),i.left+=_.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-_.css(r,"marginTop",!0),left:t.left-i.left-_.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===_.css(e,"position");)e=e.offsetParent;return e||xe})}}),_.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var n="pageYOffset"===t;_.fn[e]=function(r){return H(this,function(e,r,i){var o;if(y(e)?o=e:9===e.nodeType&&(o=e.defaultView),void 0===i)return o?o[t]:e[r];o?o.scrollTo(n?o.pageXOffset:i,n?i:o.pageYOffset):e[r]=i},e,r,arguments.length)}}),_.each(["top","left"],function(e,t){_.cssHooks[t]=Fe(v.pixelPosition,function(e,n){if(n)return n=Ve(e,t),Le.test(n)?_(e).position()[t]+"px":n})}),_.each({Height:"height",Width:"width"},function(e,t){_.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,r){_.fn[r]=function(i,o){var a=arguments.length&&(n||"boolean"!=typeof i),s=n||(!0===i||!0===o?"margin":"border");return H(this,function(t,n,i){var o;return y(t)?0===r.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(o=t.documentElement,Math.max(t.body["scroll"+e],o["scroll"+e],t.body["offset"+e],o["offset"+e],o["client"+e])):void 0===i?_.css(t,n,s):_.style(t,n,i,s)},t,a?i:void 0,a)}})}),_.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,t){_.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),_.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),_.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)}}),_.proxy=function(e,t){var n,r,i;if("string"==typeof t&&(n=e[t],t=e,e=n),b(e))return r=l.call(arguments,2),(i=function(){return e.apply(t||this,r.concat(l.call(arguments)))}).guid=e.guid=e.guid||_.guid++,i},_.holdReady=function(e){e?_.readyWait++:_.ready(!0)},_.isArray=Array.isArray,_.parseJSON=JSON.parse,_.nodeName=O,_.isFunction=b,_.isWindow=y,_.camelCase=Y,_.type=k,_.now=Date.now,_.isNumeric=function(e){var t=_.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},void 0===(r=function(){return _}.apply(t,[]))||(e.exports=r);var Ht=n.jQuery,Wt=n.$;return _.noConflict=function(e){return n.$===_&&(n.$=Wt),e&&n.jQuery===_&&(n.jQuery=Ht),_},i||(n.jQuery=n.$=_),_})},function(e,t,n){var r;try{r=n(166)}catch(e){}r||(r=window._),e.exports=r},function(e,t,n){"use strict";function r(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),r(n(0)),r(n(6)),r(n(39)),r(n(3)),r(n(1)),r(n(38)),r(n(12)),r(n(14))},function(e,t,n){var r;try{r=n(49)}catch(e){}r||(r=window.graphlib),e.exports=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),i=n(20),o=n(0),a=n(3),s=n(30),l=n(23);function c(e){var t=u(e),n=t.match(/^(function [^ ]+\([^)]*\))/),r=n?n[1]:t,i=e.name||"";return i&&r.match(/function \(/)?"function "+i+r.substr(9):r}function u(e){var t=r.isArray(e)?e.slice(-1)[0]:e;return t&&t.toString()||"undefined"}t.maxLength=function(e,t){return t.length<=e?t:t.substr(0,e-3)+"..."},t.padString=function(e,t){for(;t.length<e;)t+=" ";return t},t.kebobString=function(e){return e.replace(/^([A-Z])/,function(e){return e.toLowerCase()}).replace(/([A-Z])/g,function(e){return"-"+e.toLowerCase()})},t.functionToString=c,t.fnToString=u;var d=null,p=function(e){var t=i.Rejection.isRejectionPromise;return(d=d||a.pattern([[a.not(r.isDefined),a.val("undefined")],[r.isNull,a.val("null")],[r.isPromise,a.val("[Promise]")],[t,function(e){return e._transitionRejection.toString()}],[a.is(i.Rejection),a.invoke("toString")],[a.is(s.Transition),a.invoke("toString")],[a.is(l.Resolvable),a.invoke("toString")],[r.isInjectable,c],[a.val(!0),o.identity]]))(e)};t.stringify=function(e){var t=[];return JSON.stringify(e,function(e,n){return function(e){if(r.isObject(e)){if(-1!==t.indexOf(e))return"[circular ref]";t.push(e)}return p(e)}(n)}).replace(/\\"/g,'"')},t.beforeAfterSubstr=function(e){return function(t){if(!t)return["",""];var n=t.indexOf(e);return-1===n?[t,""]:[t.substr(0,n),t.substr(n+1)]}},t.hostRegex=new RegExp("^(?:[a-z]+:)?//[^/]+/"),t.stripLastPathElement=function(e){return e.replace(/\/[^/]*$/,"")},t.splitHash=t.beforeAfterSubstr("#"),t.splitQuery=t.beforeAfterSubstr("?"),t.splitEqual=t.beforeAfterSubstr("="),t.trimHashVal=function(e){return e?e.replace(/^#/,""):""},t.splitOnDelim=function(e){var t=new RegExp("("+e+")","g");return function(e){return e.split(t).filter(o.identity)}},t.joinNeighborsR=function(e,t){return r.isString(o.tail(e))&&r.isString(t)?e.slice(0,-1).concat(o.tail(e)+t):o.pushR(e,t)}},function(e,t,n){!function(e){"object"==typeof window&&window||"object"==typeof self&&self;(function(e){var t=[],n=Object.keys,r={},i={},o=/^(no-?highlight|plain|text)$/i,a=/\blang(?:uage)?-([\w-]+)\b/i,s=/((^(<[^>]+>|\t|)+|(?:\n)))/gm,l="</span>",c={classPrefix:"hljs-",tabReplace:null,useBR:!1,languages:void 0};function u(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function d(e){return e.nodeName.toLowerCase()}function p(e,t){var n=e&&e.exec(t);return n&&0===n.index}function f(e){return o.test(e)}function h(e){var t,n={},r=Array.prototype.slice.call(arguments,1);for(t in e)n[t]=e[t];return r.forEach(function(e){for(t in e)n[t]=e[t]}),n}function g(e){var t=[];return function e(n,r){for(var i=n.firstChild;i;i=i.nextSibling)3===i.nodeType?r+=i.nodeValue.length:1===i.nodeType&&(t.push({event:"start",offset:r,node:i}),r=e(i,r),d(i).match(/br|hr|img|input/)||t.push({event:"stop",offset:r,node:i}));return r}(e,0),t}function m(e){function t(e){return e&&e.source||e}function r(n,r){return new RegExp(t(n),"m"+(e.case_insensitive?"i":"")+(r?"g":""))}!function i(o,a){if(o.compiled)return;o.compiled=!0;o.keywords=o.keywords||o.beginKeywords;if(o.keywords){var s={},l=function(t,n){e.case_insensitive&&(n=n.toLowerCase()),n.split(" ").forEach(function(e){var n=e.split("|");s[n[0]]=[t,n[1]?Number(n[1]):1]})};"string"==typeof o.keywords?l("keyword",o.keywords):n(o.keywords).forEach(function(e){l(e,o.keywords[e])}),o.keywords=s}o.lexemesRe=r(o.lexemes||/\w+/,!0);a&&(o.beginKeywords&&(o.begin="\\b("+o.beginKeywords.split(" ").join("|")+")\\b"),o.begin||(o.begin=/\B|\b/),o.beginRe=r(o.begin),o.end||o.endsWithParent||(o.end=/\B|\b/),o.end&&(o.endRe=r(o.end)),o.terminator_end=t(o.end)||"",o.endsWithParent&&a.terminator_end&&(o.terminator_end+=(o.end?"|":"")+a.terminator_end));o.illegal&&(o.illegalRe=r(o.illegal));null==o.relevance&&(o.relevance=1);o.contains||(o.contains=[]);o.contains=Array.prototype.concat.apply([],o.contains.map(function(e){return function(e){e.variants&&!e.cached_variants&&(e.cached_variants=e.variants.map(function(t){return h(e,{variants:null},t)}));return e.cached_variants||e.endsWithParent&&[h(e)]||[e]}("self"===e?o:e)}));o.contains.forEach(function(e){i(e,o)});o.starts&&i(o.starts,a);var c=o.contains.map(function(e){return e.beginKeywords?"\\.?("+e.begin+")\\.?":e.begin}).concat([o.terminator_end,o.illegal]).map(t).filter(Boolean);o.terminators=c.length?r(c.join("|"),!0):{exec:function(){return null}}}(e)}function v(e,t,n,i){function o(e,t){var n=h.case_insensitive?t[0].toLowerCase():t[0];return e.keywords.hasOwnProperty(n)&&e.keywords[n]}function a(e,t,n,r){var i=r?"":c.classPrefix,o='<span class="'+i,a=n?"":l;return(o+=e+'">')+t+a}function s(){w+=null!=y.subLanguage?function(){var e="string"==typeof y.subLanguage;if(e&&!r[y.subLanguage])return u(_);var t=e?v(y.subLanguage,_,!0,x[y.subLanguage]):b(_,y.subLanguage.length?y.subLanguage:void 0);y.relevance>0&&($+=t.relevance);e&&(x[y.subLanguage]=t.top);return a(t.language,t.value,!1,!0)}():function(){var e,t,n,r;if(!y.keywords)return u(_);r="",t=0,y.lexemesRe.lastIndex=0,n=y.lexemesRe.exec(_);for(;n;)r+=u(_.substring(t,n.index)),(e=o(y,n))?($+=e[1],r+=a(e[0],u(n[0]))):r+=u(n[0]),t=y.lexemesRe.lastIndex,n=y.lexemesRe.exec(_);return r+u(_.substr(t))}(),_=""}function d(e){w+=e.className?a(e.className,"",!0):"",y=Object.create(e,{parent:{value:y}})}function f(e,t){if(_+=e,null==t)return s(),0;var r=function(e,t){var n,r;for(n=0,r=t.contains.length;n<r;n++)if(p(t.contains[n].beginRe,e))return t.contains[n]}(t,y);if(r)return r.skip?_+=t:(r.excludeBegin&&(_+=t),s(),r.returnBegin||r.excludeBegin||(_=t)),d(r),r.returnBegin?0:t.length;var i=function e(t,n){if(p(t.endRe,n)){for(;t.endsParent&&t.parent;)t=t.parent;return t}if(t.endsWithParent)return e(t.parent,n)}(y,t);if(i){var o=y;o.skip?_+=t:(o.returnEnd||o.excludeEnd||(_+=t),s(),o.excludeEnd&&(_=t));do{y.className&&(w+=l),y.skip||($+=y.relevance),y=y.parent}while(y!==i.parent);return i.starts&&d(i.starts),o.returnEnd?0:t.length}if(function(e,t){return!n&&p(t.illegalRe,e)}(t,y))throw new Error('Illegal lexeme "'+t+'" for mode "'+(y.className||"<unnamed>")+'"');return _+=t,t.length||1}var h=k(e);if(!h)throw new Error('Unknown language: "'+e+'"');m(h);var g,y=i||h,x={},w="";for(g=y;g!==h;g=g.parent)g.className&&(w=a(g.className,"",!0)+w);var _="",$=0;try{for(var E,S,C=0;y.terminators.lastIndex=C,E=y.terminators.exec(t);)S=f(t.substring(C,E.index),E[0]),C=E.index+S;for(f(t.substr(C)),g=y;g.parent;g=g.parent)g.className&&(w+=l);return{relevance:$,value:w,language:e,top:y}}catch(e){if(e.message&&-1!==e.message.indexOf("Illegal"))return{relevance:0,value:u(t)};throw e}}function b(e,t){t=t||c.languages||n(r);var i={relevance:0,value:u(e)},o=i;return t.filter(k).forEach(function(t){var n=v(t,e,!1);n.language=t,n.relevance>o.relevance&&(o=n),n.relevance>i.relevance&&(o=i,i=n)}),o.language&&(i.second_best=o),i}function y(e){return c.tabReplace||c.useBR?e.replace(s,function(e,t){return c.useBR&&"\n"===e?"<br>":c.tabReplace?t.replace(/\t/g,c.tabReplace):""}):e}function x(e){var n,r,o,s,l,p=function(e){var t,n,r,i,o=e.className+" ";if(o+=e.parentNode?e.parentNode.className:"",n=a.exec(o))return k(n[1])?n[1]:"no-highlight";for(o=o.split(/\s+/),t=0,r=o.length;t<r;t++)if(f(i=o[t])||k(i))return i}(e);f(p)||(c.useBR?(n=document.createElementNS("http://www.w3.org/1999/xhtml","div")).innerHTML=e.innerHTML.replace(/\n/g,"").replace(/<br[ \/]*>/g,"\n"):n=e,l=n.textContent,o=p?v(p,l,!0):b(l),(r=g(n)).length&&((s=document.createElementNS("http://www.w3.org/1999/xhtml","div")).innerHTML=o.value,o.value=function(e,n,r){var i=0,o="",a=[];function s(){return e.length&&n.length?e[0].offset!==n[0].offset?e[0].offset<n[0].offset?e:n:"start"===n[0].event?e:n:e.length?e:n}function l(e){o+="<"+d(e)+t.map.call(e.attributes,function(e){return" "+e.nodeName+'="'+u(e.value).replace('"',"&quot;")+'"'}).join("")+">"}function c(e){o+="</"+d(e)+">"}function p(e){("start"===e.event?l:c)(e.node)}for(;e.length||n.length;){var f=s();if(o+=u(r.substring(i,f[0].offset)),i=f[0].offset,f===e){a.reverse().forEach(c);do{p(f.splice(0,1)[0]),f=s()}while(f===e&&f.length&&f[0].offset===i);a.reverse().forEach(l)}else"start"===f[0].event?a.push(f[0].node):a.pop(),p(f.splice(0,1)[0])}return o+u(r.substr(i))}(r,g(s),l)),o.value=y(o.value),e.innerHTML=o.value,e.className=function(e,t,n){var r=t?i[t]:n,o=[e.trim()];e.match(/\bhljs\b/)||o.push("hljs");-1===e.indexOf(r)&&o.push(r);return o.join(" ").trim()}(e.className,p,o.language),e.result={language:o.language,re:o.relevance},o.second_best&&(e.second_best={language:o.second_best.language,re:o.second_best.relevance}))}function w(){if(!w.called){w.called=!0;var e=document.querySelectorAll("pre code");t.forEach.call(e,x)}}function k(e){return e=(e||"").toLowerCase(),r[e]||r[i[e]]}e.highlight=v,e.highlightAuto=b,e.fixMarkup=y,e.highlightBlock=x,e.configure=function(e){c=h(c,e)},e.initHighlighting=w,e.initHighlightingOnLoad=function(){addEventListener("DOMContentLoaded",w,!1),addEventListener("load",w,!1)},e.registerLanguage=function(t,n){var o=r[t]=n(e);o.aliases&&o.aliases.forEach(function(e){i[e]=t})},e.listLanguages=function(){return n(r)},e.getLanguage=k,e.inherit=h,e.IDENT_RE="[a-zA-Z]\\w*",e.UNDERSCORE_IDENT_RE="[a-zA-Z_]\\w*",e.NUMBER_RE="\\b\\d+(\\.\\d+)?",e.C_NUMBER_RE="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",e.BINARY_NUMBER_RE="\\b(0b[01]+)",e.RE_STARTERS_RE="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",e.BACKSLASH_ESCAPE={begin:"\\\\[\\s\\S]",relevance:0},e.APOS_STRING_MODE={className:"string",begin:"'",end:"'",illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},e.QUOTE_STRING_MODE={className:"string",begin:'"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},e.PHRASAL_WORDS_MODE={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},e.COMMENT=function(t,n,r){var i=e.inherit({className:"comment",begin:t,end:n,contains:[]},r||{});return i.contains.push(e.PHRASAL_WORDS_MODE),i.contains.push({className:"doctag",begin:"(?:TODO|FIXME|NOTE|BUG|XXX):",relevance:0}),i},e.C_LINE_COMMENT_MODE=e.COMMENT("//","$"),e.C_BLOCK_COMMENT_MODE=e.COMMENT("/\\*","\\*/"),e.HASH_COMMENT_MODE=e.COMMENT("#","$"),e.NUMBER_MODE={className:"number",begin:e.NUMBER_RE,relevance:0},e.C_NUMBER_MODE={className:"number",begin:e.C_NUMBER_RE,relevance:0},e.BINARY_NUMBER_MODE={className:"number",begin:e.BINARY_NUMBER_RE,relevance:0},e.CSS_NUMBER_MODE={className:"number",begin:e.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},e.REGEXP_MODE={className:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[e.BACKSLASH_ESCAPE,{begin:/\[/,end:/\]/,relevance:0,contains:[e.BACKSLASH_ESCAPE]}]},e.TITLE_MODE={className:"title",begin:e.IDENT_RE,relevance:0},e.UNDERSCORE_TITLE_MODE={className:"title",begin:e.UNDERSCORE_IDENT_RE,relevance:0},e.METHOD_GUARD={begin:"\\.\\s*"+e.UNDERSCORE_IDENT_RE,relevance:0}})(t)}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(3),i=n(1),o=n(12);function a(e){if(!e)return"ui-view (defunct)";var t=e.creationContext?e.creationContext.name||"(root)":"(none)";return"[ui-view#"+e.id+" "+e.$type+":"+e.fqn+" ("+e.name+"@"+t+")]"}function s(e){return i.isNumber(e)?l[e]:l[l[e]]}var l,c=Function.prototype.bind.call(console.log,console),u=i.isFunction(console.table)?console.table.bind(console):c.bind(console);!function(e){e[e.RESOLVE=0]="RESOLVE",e[e.TRANSITION=1]="TRANSITION",e[e.HOOK=2]="HOOK",e[e.UIVIEW=3]="UIVIEW",e[e.VIEWCONFIG=4]="VIEWCONFIG"}(l||(l={})),t.Category=l;var d=r.parse("$id"),p=r.parse("router.$id"),f=function(e){return"Transition #"+d(e)+"-"+p(e)},h=function(){function e(){this._enabled={},this.approximateDigests=0}return e.prototype._set=function(e,t){var n=this;t.length||(t=Object.keys(l).map(function(e){return parseInt(e,10)}).filter(function(e){return!isNaN(e)}).map(function(e){return l[e]})),t.map(s).forEach(function(t){return n._enabled[t]=e})},e.prototype.enable=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this._set(!0,e)},e.prototype.disable=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this._set(!1,e)},e.prototype.enabled=function(e){return!!this._enabled[s(e)]},e.prototype.traceTransitionStart=function(e){this.enabled(l.TRANSITION)&&console.log(f(e)+": Started  -> "+o.stringify(e))},e.prototype.traceTransitionIgnored=function(e){this.enabled(l.TRANSITION)&&console.log(f(e)+": Ignored  <> "+o.stringify(e))},e.prototype.traceHookInvocation=function(e,t,n){if(this.enabled(l.HOOK)){var i=r.parse("traceData.hookType")(n)||"internal",a=r.parse("traceData.context.state.name")(n)||r.parse("traceData.context")(n)||"unknown",s=o.functionToString(e.registeredHook.callback);console.log(f(t)+":   Hook -> "+i+" context: "+a+", "+o.maxLength(200,s))}},e.prototype.traceHookResult=function(e,t,n){this.enabled(l.HOOK)&&console.log(f(t)+":   <- Hook returned: "+o.maxLength(200,o.stringify(e)))},e.prototype.traceResolvePath=function(e,t,n){this.enabled(l.RESOLVE)&&console.log(f(n)+":         Resolving "+e+" ("+t+")")},e.prototype.traceResolvableResolved=function(e,t){this.enabled(l.RESOLVE)&&console.log(f(t)+":               <- Resolved  "+e+" to: "+o.maxLength(200,o.stringify(e.data)))},e.prototype.traceError=function(e,t){this.enabled(l.TRANSITION)&&console.log(f(t)+": <- Rejected "+o.stringify(t)+", reason: "+e)},e.prototype.traceSuccess=function(e,t){this.enabled(l.TRANSITION)&&console.log(f(t)+": <- Success  "+o.stringify(t)+", final state: "+e.name)},e.prototype.traceUIViewEvent=function(e,t,n){void 0===n&&(n=""),this.enabled(l.UIVIEW)&&console.log("ui-view: "+o.padString(30,e)+" "+a(t)+n)},e.prototype.traceUIViewConfigUpdated=function(e,t){this.enabled(l.UIVIEW)&&this.traceUIViewEvent("Updating",e," with ViewConfig from context='"+t+"'")},e.prototype.traceUIViewFill=function(e,t){this.enabled(l.UIVIEW)&&this.traceUIViewEvent("Fill",e," with: "+o.maxLength(200,t))},e.prototype.traceViewSync=function(e){if(this.enabled(l.VIEWCONFIG)){var t="uiview component fqn",n=e.map(function(e){var n,r=e.uiView,i=e.viewConfig,o=r&&r.fqn,a=i&&i.viewDecl.$context.name+": ("+i.viewDecl.$name+")";return(n={})[t]=o,n["view config state (view name)"]=a,n}).sort(function(e,n){return(e[t]||"").localeCompare(n[t]||"")});u(n)}},e.prototype.traceViewServiceEvent=function(e,t){this.enabled(l.VIEWCONFIG)&&console.log("VIEWCONFIG: "+e+" "+function(e){var t=e.viewDecl,n=t.$context.name||"(root)";return"[View#"+e.$id+" from '"+n+"' state]: target ui-view: '"+t.$uiViewName+"@"+t.$uiViewContextAnchor+"'"}(t))},e.prototype.traceViewServiceUIViewEvent=function(e,t){this.enabled(l.VIEWCONFIG)&&console.log("VIEWCONFIG: "+e+" "+a(t))},e}();t.Trace=h;var g=new h;t.trace=g},function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){var r=n(107);"string"==typeof r&&(r=[[e.i,r,""]]);var i={hmr:!0,transform:void 0,insertInto:void 0};n(21)(r,i);r.locals&&(e.exports=r.locals)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(0),o=n(3),a=n(1),s=n(6),l=n(35),c=Object.prototype.hasOwnProperty,u=function(e){return 0===["value","type","squash","array","dynamic"].filter(c.bind(e||{})).length};!function(e){e[e.PATH=0]="PATH",e[e.SEARCH=1]="SEARCH",e[e.CONFIG=2]="CONFIG"}(r||(r={})),t.DefType=r;var d=function(){function e(e,t,n,s,c){t=function(e,t,n,i,o){if(e.type&&t&&"string"!==t.name)throw new Error("Param '"+i+"' has two type configurations.");if(e.type&&t&&"string"===t.name&&o.type(e.type))return o.type(e.type);if(t)return t;if(!e.type){var a=n===r.CONFIG?"any":n===r.PATH?"path":n===r.SEARCH?"query":"string";return o.type(a)}return e.type instanceof l.ParamType?e.type:o.type(e.type)}(n=function(e){function t(){return e.value}return e=u(e)&&{value:e}||e,t.__cacheable=!0,i.extend(e,{$$fn:a.isInjectable(e.value)?e.value:t})}(n),t,s,e,c.paramTypes);var d=function(){var t={array:s===r.SEARCH&&"auto"},o=e.match(/\[\]$/)?{array:!0}:{};return i.extend(t,o,n).array}();t=d?t.$asArray(d,s===r.SEARCH):t;var p=void 0!==n.value||s===r.SEARCH,f=a.isDefined(n.dynamic)?!!n.dynamic:!!t.dynamic,h=a.isDefined(n.raw)?!!n.raw:!!t.raw,g=function(e,t,n){var r=e.squash;if(!t||!1===r)return!1;if(!a.isDefined(r)||null==r)return n;if(!0===r||a.isString(r))return r;throw new Error("Invalid squash policy: '"+r+"'. Valid policies: false, true, or arbitrary string")}(n,p,c.defaultSquashPolicy()),m=function(e,t,n,r){var s=[{from:"",to:n||t?void 0:""},{from:null,to:n||t?void 0:""}],l=a.isArray(e.replace)?e.replace:[];a.isString(r)&&l.push({from:r,to:void 0});var c=i.map(l,o.prop("from"));return i.filter(s,function(e){return-1===c.indexOf(e.from)}).concat(l)}(n,d,p,g),v=a.isDefined(n.inherit)?!!n.inherit:!!t.inherit;i.extend(this,{id:e,type:t,location:s,isOptional:p,dynamic:f,raw:h,squash:g,replace:m,inherit:v,array:d,config:n})}return e.values=function(e,t){void 0===t&&(t={});for(var n={},r=0,i=e;r<i.length;r++){var o=i[r];n[o.id]=o.value(t[o.id])}return n},e.changed=function(e,t,n){return void 0===t&&(t={}),void 0===n&&(n={}),e.filter(function(e){return!e.type.equals(t[e.id],n[e.id])})},e.equals=function(t,n,r){return void 0===n&&(n={}),void 0===r&&(r={}),0===e.changed(t,n,r).length},e.validates=function(e,t){return void 0===t&&(t={}),e.map(function(e){return e.validates(t[e.id])}).reduce(i.allTrueR,!0)},e.prototype.isDefaultValue=function(e){return this.isOptional&&this.type.equals(this.value(),e)},e.prototype.value=function(e){var t=this;return e=function(e){for(var n=0,r=t.replace;n<r.length;n++){var i=r[n];if(i.from===e)return i.to}return e}(e),a.isUndefined(e)?function(){if(t._defaultValueCache)return t._defaultValueCache.defaultValue;if(!s.services.$injector)throw new Error("Injectable functions cannot be called at configuration time");var e=s.services.$injector.invoke(t.config.$$fn);if(null!==e&&void 0!==e&&!t.type.is(e))throw new Error("Default value ("+e+") for parameter '"+t.id+"' is not an instance of ParamType ("+t.type.name+")");return t.config.$$fn.__cacheable&&(t._defaultValueCache={defaultValue:e}),e}():this.type.$normalize(e)},e.prototype.isSearch=function(){return this.location===r.SEARCH},e.prototype.validates=function(e){if((a.isUndefined(e)||null===e)&&this.isOptional)return!0;var t=this.type.$normalize(e);if(!this.type.is(t))return!1;var n=this.type.encode(t);return!(a.isString(n)&&!this.type.pattern.exec(n))},e.prototype.toString=function(){return"{Param:"+this.id+" "+this.type+" squash: '"+this.squash+"' optional: "+this.isOptional+"}"},e}();t.Param=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),i=n(12),o=n(10),a=function(){function e(e,t,n,r){this._stateRegistry=e,this._identifier=t,this._identifier=t,this._params=o.extend({},n||{}),this._options=o.extend({},r||{}),this._definition=e.matcher.find(t,this._options.relative)}return e.prototype.name=function(){return this._definition&&this._definition.name||this._identifier},e.prototype.identifier=function(){return this._identifier},e.prototype.params=function(){return this._params},e.prototype.$state=function(){return this._definition},e.prototype.state=function(){return this._definition&&this._definition.self},e.prototype.options=function(){return this._options},e.prototype.exists=function(){return!(!this._definition||!this._definition.self)},e.prototype.valid=function(){return!this.error()},e.prototype.error=function(){var e=this.options().relative;if(!this._definition&&e){var t=e.name?e.name:e;return"Could not resolve '"+this.name()+"' from state '"+t+"'"}return this._definition?this._definition.self?void 0:"State '"+this.name()+"' has an invalid definition":"No such state '"+this.name()+"'"},e.prototype.toString=function(){return"'"+this.name()+"'"+i.stringify(this.params())},e.prototype.withState=function(t){return new e(this._stateRegistry,t,this._params,this._options)},e.prototype.withParams=function(t,n){void 0===n&&(n=!1);var r=n?t:o.extend({},this._params,t);return new e(this._stateRegistry,this._identifier,r,this._options)},e.prototype.withOptions=function(t,n){void 0===n&&(n=!1);var r=n?t:o.extend({},this._options,t);return new e(this._stateRegistry,this._identifier,this._params,r)},e.isDef=function(e){return e&&e.state&&(r.isString(e.state)||r.isString(e.state.name))},e}();t.TargetState=a},function(e,t,n){"use strict";var r,i;Object.defineProperty(t,"__esModule",{value:!0}),function(e){e[e.CREATE=0]="CREATE",e[e.BEFORE=1]="BEFORE",e[e.RUN=2]="RUN",e[e.SUCCESS=3]="SUCCESS",e[e.ERROR=4]="ERROR"}(r||(r={})),t.TransitionHookPhase=r,function(e){e[e.TRANSITION=0]="TRANSITION",e[e.STATE=1]="STATE"}(i||(i={})),t.TransitionHookScope=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(0),o=n(12),a=n(3);!function(e){e[e.SUPERSEDED=2]="SUPERSEDED",e[e.ABORTED=3]="ABORTED",e[e.INVALID=4]="INVALID",e[e.IGNORED=5]="IGNORED",e[e.ERROR=6]="ERROR"}(r||(r={})),t.RejectType=r;var s=0,l=function(){function e(e,t,n){this.$id=s++,this.type=e,this.message=t,this.detail=n}return e.isRejectionPromise=function(t){return t&&"function"==typeof t.then&&a.is(e)(t._transitionRejection)},e.superseded=function(t,n){var i=new e(r.SUPERSEDED,"The transition has been superseded by a different transition",t);return n&&n.redirected&&(i.redirected=!0),i},e.redirected=function(t){return e.superseded(t,{redirected:!0})},e.invalid=function(t){return new e(r.INVALID,"This transition is invalid",t)},e.ignored=function(t){return new e(r.IGNORED,"The transition was ignored",t)},e.aborted=function(t){return new e(r.ABORTED,"The transition has been aborted",t)},e.errored=function(t){return new e(r.ERROR,"The transition errored",t)},e.normalize=function(t){return a.is(e)(t)?t:e.errored(t)},e.prototype.toString=function(){var e=function(e){return e&&e.toString!==Object.prototype.toString?e.toString():o.stringify(e)}(this.detail);return"Transition Rejection($id: "+this.$id+" type: "+this.type+", message: "+this.message+", detail: "+e+")"},e.prototype.toPromise=function(){return i.extend(i.silentRejection(this),{_transitionRejection:this})},e}();t.Rejection=l},function(e,t,n){var r={},i=function(e){var t;return function(){return void 0===t&&(t=e.apply(this,arguments)),t}}(function(){return window&&document&&document.all&&!window.atob}),o=function(e){var t={};return function(e){if("function"==typeof e)return e();if(void 0===t[e]){var n=function(e){return document.querySelector(e)}.call(this,e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}}(),a=null,s=0,l=[],c=n(217);function u(e,t){for(var n=0;n<e.length;n++){var i=e[n],o=r[i.id];if(o){o.refs++;for(var a=0;a<o.parts.length;a++)o.parts[a](i.parts[a]);for(;a<i.parts.length;a++)o.parts.push(m(i.parts[a],t))}else{var s=[];for(a=0;a<i.parts.length;a++)s.push(m(i.parts[a],t));r[i.id]={id:i.id,refs:1,parts:s}}}}function d(e,t){for(var n=[],r={},i=0;i<e.length;i++){var o=e[i],a=t.base?o[0]+t.base:o[0],s={css:o[1],media:o[2],sourceMap:o[3]};r[a]?r[a].parts.push(s):n.push(r[a]={id:a,parts:[s]})}return n}function p(e,t){var n=o(e.insertInto);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var r=l[l.length-1];if("top"===e.insertAt)r?r.nextSibling?n.insertBefore(t,r.nextSibling):n.appendChild(t):n.insertBefore(t,n.firstChild),l.push(t);else if("bottom"===e.insertAt)n.appendChild(t);else{if("object"!=typeof e.insertAt||!e.insertAt.before)throw new Error("[Style Loader]\n\n Invalid value for parameter 'insertAt' ('options.insertAt') found.\n Must be 'top', 'bottom', or Object.\n (https://github.com/webpack-contrib/style-loader#insertat)\n");var i=o(e.insertInto+" "+e.insertAt.before);n.insertBefore(t,i)}}function f(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e);var t=l.indexOf(e);t>=0&&l.splice(t,1)}function h(e){var t=document.createElement("style");return void 0===e.attrs.type&&(e.attrs.type="text/css"),g(t,e.attrs),p(e,t),t}function g(e,t){Object.keys(t).forEach(function(n){e.setAttribute(n,t[n])})}function m(e,t){var n,r,i,o;if(t.transform&&e.css){if(!(o=t.transform(e.css)))return function(){};e.css=o}if(t.singleton){var l=s++;n=a||(a=h(t)),r=b.bind(null,n,l,!1),i=b.bind(null,n,l,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=function(e){var t=document.createElement("link");return void 0===e.attrs.type&&(e.attrs.type="text/css"),e.attrs.rel="stylesheet",g(t,e.attrs),p(e,t),t}(t),r=function(e,t,n){var r=n.css,i=n.sourceMap,o=void 0===t.convertToAbsoluteUrls&&i;(t.convertToAbsoluteUrls||o)&&(r=c(r));i&&(r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */");var a=new Blob([r],{type:"text/css"}),s=e.href;e.href=URL.createObjectURL(a),s&&URL.revokeObjectURL(s)}.bind(null,n,t),i=function(){f(n),n.href&&URL.revokeObjectURL(n.href)}):(n=h(t),r=function(e,t){var n=t.css,r=t.media;r&&e.setAttribute("media",r);if(e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}.bind(null,n),i=function(){f(n)});return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else i()}}e.exports=function(e,t){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(t=t||{}).attrs="object"==typeof t.attrs?t.attrs:{},t.singleton||"boolean"==typeof t.singleton||(t.singleton=i()),t.insertInto||(t.insertInto="head"),t.insertAt||(t.insertAt="bottom");var n=d(e,t);return u(n,t),function(e){for(var i=[],o=0;o<n.length;o++){var a=n[o];(s=r[a.id]).refs--,i.push(s)}e&&u(d(e,t),t);for(o=0;o<i.length;o++){var s;if(0===(s=i[o]).refs){for(var l=0;l<s.parts.length;l++)s.parts[l]();delete r[s.id]}}}};var v=function(){var e=[];return function(t,n){return e[t]=n,e.filter(Boolean).join("\n")}}();function b(e,t,n,r){var i=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=v(t,i);else{var o=document.createTextNode(i),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(o,a[t]):e.appendChild(o)}}},function(e,t){e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var n=function(e,t){var n=e[1]||"",r=e[3];if(!r)return n;if(t&&"function"==typeof btoa){var i=function(e){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(e))))+" */"}(r),o=r.sources.map(function(e){return"/*# sourceURL="+r.sourceRoot+e+" */"});return[n].concat(o).concat([i]).join("\n")}return[n].join("\n")}(t,e);return t[2]?"@media "+t[2]+"{"+n+"}":n}).join("")},t.i=function(e,n){"string"==typeof e&&(e=[[null,e,""]]);for(var r={},i=0;i<this.length;i++){var o=this[i][0];"number"==typeof o&&(r[o]=!0)}for(i=0;i<e.length;i++){var a=e[i];"number"==typeof a[0]&&r[a[0]]||(n&&!a[2]?a[2]=n:n&&(a[2]="("+a[2]+") and ("+n+")"),t.push(a))}},t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),i=n(6),o=n(14),a=n(12),s=n(1),l=n(1);t.defaultResolvePolicy={when:"LAZY",async:"WAIT"};var c=function(){function e(t,n,o,a,c){if(this.resolved=!1,this.promise=void 0,t instanceof e)r.extend(this,t);else if(s.isFunction(n)){if(l.isNullOrUndefined(t))throw new Error("new Resolvable(): token argument is required");if(!s.isFunction(n))throw new Error("new Resolvable(): resolveFn argument must be a function");this.token=t,this.policy=a,this.resolveFn=n,this.deps=o||[],this.data=c,this.resolved=void 0!==c,this.promise=this.resolved?i.services.$q.when(this.data):void 0}else if(s.isObject(t)&&t.token&&(t.hasOwnProperty("resolveFn")||t.hasOwnProperty("data"))){var u=t;return new e(u.token,u.resolveFn,u.deps,u.policy,u.data)}}return e.prototype.getPolicy=function(e){var n=this.policy||{},r=e&&e.resolvePolicy||{};return{when:n.when||r.when||t.defaultResolvePolicy.when,async:n.async||r.async||t.defaultResolvePolicy.async}},e.prototype.resolve=function(e,t){var n=this,a=i.services.$q,s=e.findNode(this),l=s&&s.state,c="RXWAIT"===this.getPolicy(l).async?function(e){var t=e.cache(1);return t.take(1).toPromise().then(function(){return t})}:r.identity;return this.promise=a.when().then(function(){return a.all(e.getDependencies(n).map(function(n){return n.get(e,t)}))}).then(function(e){return n.resolveFn.apply(null,e)}).then(c).then(function(e){return n.data=e,n.resolved=!0,n.resolveFn=null,o.trace.traceResolvableResolved(n,t),n.data})},e.prototype.get=function(e,t){return this.promise||this.resolve(e,t)},e.prototype.toString=function(){return"Resolvable(token: "+a.stringify(this.token)+", requires: ["+this.deps.map(a.stringify)+"])"},e.prototype.clone=function(){return new e(this)},e.fromData=function(t,n){return new e(t,function(){return n},null,null,n)},e}();t.Resolvable=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(19),i=n(0),o=n(12),a=n(1),s=n(3),l=n(14),c=n(6),u=n(20),d=n(18),p={current:i.noop,transition:null,traceData:{},bind:null},f=function(){function e(e,t,n,o){var a=this;this.transition=e,this.stateContext=t,this.registeredHook=n,this.options=o,this.isSuperseded=function(){return a.type.hookPhase===r.TransitionHookPhase.RUN&&!a.options.transition.isActive()},this.options=i.defaults(o,p),this.type=n.eventType}return e.chain=function(e,t){return e.reduce(function(e,t){return e.then(function(){return t.invokeHook()})},t||c.services.$q.when())},e.invokeHooks=function(t,n){for(var r=0;r<t.length;r++){var i=t[r].invokeHook();if(a.isPromise(i)){var o=t.slice(r+1);return e.chain(o,i).then(n)}}return n()},e.runAllHooks=function(e){e.forEach(function(e){return e.invokeHook()})},e.prototype.logError=function(e){this.transition.router.stateService.defaultErrorHandler()(e)},e.prototype.invokeHook=function(){var e=this,t=this.registeredHook;if(!t._deregistered){var n=this.getNotCurrentRejection();if(n)return n;var r=this.options;l.trace.traceHookInvocation(this,this.transition,r);var i=function(n){return t.eventType.getErrorHandler(e)(n)},o=function(n){return t.eventType.getResultHandler(e)(n)};try{var s=t.callback.call(r.bind,e.transition,e.stateContext);return!this.type.synchronous&&a.isPromise(s)?s.catch(function(e){return u.Rejection.normalize(e).toPromise()}).then(o,i):o(s)}catch(e){return i(u.Rejection.normalize(e))}finally{t.invokeLimit&&++t.invokeCount>=t.invokeLimit&&t.deregister()}}},e.prototype.handleHookResult=function(e){var t=this,n=this.getNotCurrentRejection();return n||(a.isPromise(e)?e.then(function(e){return t.handleHookResult(e)}):(l.trace.traceHookResult(e,this.transition,this.options),!1===e?u.Rejection.aborted("Hook aborted transition").toPromise():s.is(d.TargetState)(e)?u.Rejection.redirected(e).toPromise():void 0))},e.prototype.getNotCurrentRejection=function(){var e=this.transition.router;return e._disposed?u.Rejection.aborted("UIRouter instance #"+e.$id+" has been stopped (disposed)").toPromise():this.transition._aborted?u.Rejection.aborted().toPromise():this.isSuperseded()?u.Rejection.superseded(this.options.current()).toPromise():void 0},e.prototype.toString=function(){var e=this.options,t=this.registeredHook,n=s.parse("traceData.hookType")(e)||"internal",r=s.parse("traceData.context.state.name")(e)||s.parse("traceData.context")(e)||"unknown",i=o.fnToString(t.callback);return n+" context: "+r+", "+o.maxLength(200,i)},e.HANDLE_RESULT=function(e){return function(t){return e.handleHookResult(t)}},e.LOG_REJECTED_RESULT=function(e){return function(t){a.isPromise(t)&&t.catch(function(t){return e.logError(u.Rejection.normalize(t))})}},e.LOG_ERROR=function(e){return function(t){return e.logError(t)}},e.REJECT_ERROR=function(e){return function(e){return i.silentRejection(e)}},e.THROW_ERROR=function(e){return function(e){throw e}},e}();t.TransitionHook=f},function(e,t,n){"use strict";var r=n(2);e.exports={longestPath:function(e){var t={};r.each(e.sources(),function n(i){var o=e.node(i);if(r.has(t,i))return o.rank;t[i]=!0;var a=r.min(r.map(e.outEdges(i),function(t){return n(t.w)-e.edge(t).minlen}));a===Number.POSITIVE_INFINITY&&(a=0);return o.rank=a})},slack:function(e,t){return e.node(t.w).rank-e.node(t.v).rank-e.edge(t).minlen}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(10),i=n(33),o=function(){function e(e,t){var n=this;this.fireAfterUpdate=t,this._listeners=[],this._listener=function(e){return n._listeners.forEach(function(t){return t(e)})},this.hash=function(){return i.parseUrl(n._get()).hash},this.path=function(){return i.parseUrl(n._get()).path},this.search=function(){return i.getParams(i.parseUrl(n._get()).search)},this._location=r.root.location,this._history=r.root.history}return e.prototype.url=function(e,t){return void 0===t&&(t=!0),r.isDefined(e)&&e!==this._get()&&(this._set(null,null,e,t),this.fireAfterUpdate&&this._listeners.forEach(function(t){return t({url:e})})),i.buildUrl(this)},e.prototype.onChange=function(e){var t=this;return this._listeners.push(e),function(){return r.removeFrom(t._listeners,e)}},e.prototype.dispose=function(e){r.deregAll(this._listeners)},e}();t.BaseLocationServices=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),i=n(3),o=n(1),a=n(17),s=n(12);function l(e,t){var n=["",""],r=e.replace(/[\\\[\]\^$*+?.()|{}]/g,"\\$&");if(!t)return r;switch(t.squash){case!1:n=["(",")"+(t.isOptional?"?":"")];break;case!0:r=r.replace(/\/$/,""),n=["(?:/(",")|/)?"];break;default:n=["("+t.squash+"|",")?"]}return r+n[0]+t.type.pattern.source+n[1]}var c=s.splitOnDelim("/"),u=function(){function e(t,n,o,a){var s=this;this.config=a,this._cache={path:[this]},this._children=[],this._params=[],this._segments=[],this._compiled=[],this.pattern=t,this.config=r.defaults(this.config,{params:{},strict:!0,caseInsensitive:!1,paramMap:r.identity});for(var c,u,d,p=/([:*])([\w\[\]]+)|\{([\w\[\]]+)(?:\:\s*((?:[^{}\\]+|\\.|\{(?:[^{}\\]+|\\.)*\})+))?\}/g,f=/([:]?)([\w\[\].-]+)|\{([\w\[\].-]+)(?:\:\s*((?:[^{}\\]+|\\.|\{(?:[^{}\\]+|\\.)*\})+))?\}/g,h=[],g=0,m=function(n){if(!e.nameValidator.test(n))throw new Error("Invalid parameter name '"+n+"' in pattern '"+t+"'");if(r.find(s._params,i.propEq("id",n)))throw new Error("Duplicate parameter name '"+n+"' in pattern '"+t+"'")},v=function(e,i){var o=e[2]||e[3],a=i?e[4]:e[4]||("*"===e[1]?"[\\s\\S]*":null);return{id:o,regexp:a,cfg:s.config.params[o],segment:t.substring(g,e.index),type:a?n.type(a)||function(e){return r.inherit(n.type(i?"query":"path"),{pattern:new RegExp(e,s.config.caseInsensitive?"i":void 0)})}(a):null}};(c=p.exec(t))&&!((u=v(c,!1)).segment.indexOf("?")>=0);)m(u.id),this._params.push(o.fromPath(u.id,u.type,this.config.paramMap(u.cfg,!1))),this._segments.push(u.segment),h.push([u.segment,r.tail(this._params)]),g=p.lastIndex;var b=(d=t.substring(g)).indexOf("?");if(b>=0){var y=d.substring(b);if(d=d.substring(0,b),y.length>0)for(g=0;c=f.exec(y);)m((u=v(c,!0)).id),this._params.push(o.fromSearch(u.id,u.type,this.config.paramMap(u.cfg,!0))),g=p.lastIndex}this._segments.push(d),this._compiled=h.map(function(e){return l.apply(null,e)}).concat(l(d))}return e.encodeDashes=function(e){return encodeURIComponent(e).replace(/-/g,function(e){return"%5C%"+e.charCodeAt(0).toString(16).toUpperCase()})},e.pathSegmentsAndParams=function(e){var t=e._segments,n=e._params.filter(function(e){return e.location===a.DefType.PATH});return r.arrayTuples(t,n.concat(void 0)).reduce(r.unnestR,[]).filter(function(e){return""!==e&&o.isDefined(e)})},e.queryParams=function(e){return e._params.filter(function(e){return e.location===a.DefType.SEARCH})},e.compare=function(t,n){var i=function(t){return t._cache.weights=t._cache.weights||function(t){return t._cache.segments=t._cache.segments||t._cache.path.map(e.pathSegmentsAndParams).reduce(r.unnestR,[]).reduce(s.joinNeighborsR,[]).map(function(e){return o.isString(e)?c(e):e}).reduce(r.unnestR,[])}(t).map(function(e){return"/"===e?1:o.isString(e)?2:e instanceof a.Param?3:void 0})},l=i(t),u=i(n);!function(e,t,n){for(var r=Math.max(e.length,t.length);e.length<r;)e.push(n);for(;t.length<r;)t.push(n)}(l,u,0);var d,p,f=r.arrayTuples(l,u);for(p=0;p<f.length;p++)if(0!==(d=f[p][0]-f[p][1]))return d;return 0},e.prototype.append=function(e){return this._children.push(e),e._cache={path:this._cache.path.concat(e),parent:this,pattern:null},e},e.prototype.isRoot=function(){return this._cache.path[0]===this},e.prototype.toString=function(){return this.pattern},e.prototype.exec=function(e,t,n,a){var s=this;void 0===t&&(t={}),void 0===a&&(a={});var l=function(e,t,n){return e[t]=e[t]||n()}(this._cache,"pattern",function(){return new RegExp(["^",r.unnest(s._cache.path.map(i.prop("_compiled"))).join(""),!1===s.config.strict?"/?":"","$"].join(""),s.config.caseInsensitive?"i":void 0)}).exec(e);if(!l)return null;var c=this.parameters(),u=c.filter(function(e){return!e.isSearch()}),d=c.filter(function(e){return e.isSearch()}),p=this._cache.path.map(function(e){return e._segments.length-1}).reduce(function(e,t){return e+t}),f={};if(p!==l.length-1)throw new Error("Unbalanced capture group in route '"+this.pattern+"'");function h(e){var t=function(e){return e.split("").reverse().join("")},n=t(e).split(/-(?!\\)/),i=r.map(n,t);return r.map(i,function(e){return e.replace(/\\-/g,"-")}).reverse()}for(var g=0;g<p;g++){for(var m=u[g],v=l[g+1],b=0;b<m.replace.length;b++)m.replace[b].from===v&&(v=m.replace[b].to);v&&!0===m.array&&(v=h(v)),o.isDefined(v)&&(v=m.type.decode(v)),f[m.id]=m.value(v)}return d.forEach(function(e){for(var n=t[e.id],r=0;r<e.replace.length;r++)e.replace[r].from===n&&(n=e.replace[r].to);o.isDefined(n)&&(n=e.type.decode(n)),f[e.id]=e.value(n)}),n&&(f["#"]=n),f},e.prototype.parameters=function(e){return void 0===e&&(e={}),!1===e.inherit?this._params:r.unnest(this._cache.path.map(function(e){return e._params}))},e.prototype.parameter=function(e,t){var n=this;void 0===t&&(t={});var r=this._cache.parent;return function(){for(var t=0,r=n._params;t<r.length;t++){var i=r[t];if(i.id===e)return i}}()||!1!==t.inherit&&r&&r.parameter(e,t)||null},e.prototype.validates=function(e){return e=e||{},this.parameters().filter(function(t){return e.hasOwnProperty(t.id)}).map(function(t){return function(e,t){return!e||e.validates(t)}(t,e[t.id])}).reduce(r.allTrueR,!0)},e.prototype.format=function(t){void 0===t&&(t={});var n=this._cache.path,i=n.map(e.pathSegmentsAndParams).reduce(r.unnestR,[]).map(function(e){return o.isString(e)?e:s(e)}),a=n.map(e.queryParams).reduce(r.unnestR,[]).map(s);if(i.concat(a).filter(function(e){return!1===e.isValid}).length)return null;function s(e){var n=e.value(t[e.id]),r=e.validates(n),i=e.isDefaultValue(n);return{param:e,value:n,isValid:r,isDefaultValue:i,squash:!!i&&e.squash,encoded:e.type.encode(n)}}var l=i.reduce(function(t,n){if(o.isString(n))return t+n;var i=n.squash,a=n.encoded,s=n.param;return!0===i?t.match(/\/$/)?t.slice(0,-1):t:o.isString(i)?t+i:!1!==i?t:null==a?t:o.isArray(a)?t+r.map(a,e.encodeDashes).join("-"):s.raw?t+a:t+encodeURIComponent(a)},""),c=a.map(function(e){var t=e.param,n=e.squash,i=e.encoded,a=e.isDefaultValue;if(!(null==i||a&&!1!==n)&&(o.isArray(i)||(i=[i]),0!==i.length))return t.raw||(i=r.map(i,encodeURIComponent)),i.map(function(e){return t.id+"="+e})}).filter(r.identity).reduce(r.unnestR,[]).join("&");return l+(c?"?"+c:"")+(t["#"]?"#"+t["#"]:"")},e.nameValidator=/^\w+([-.]+\w+)*(?:\[\])?$/,e}();t.UrlMatcher=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),i=n(3),o=n(14),a=n(6),s=n(74),l=n(23),c=n(29),u=n(12),d=n(10),p=s.resolvePolicies.when,f=[p.EAGER,p.LAZY],h=[p.EAGER];t.NATIVE_INJECTOR_TOKEN="Native Injector";var g=function(){function e(e){this._path=e}return e.prototype.getTokens=function(){return this._path.reduce(function(e,t){return e.concat(t.resolvables.map(function(e){return e.token}))},[]).reduce(r.uniqR,[])},e.prototype.getResolvable=function(e){var t=this._path.map(function(e){return e.resolvables}).reduce(r.unnestR,[]).filter(function(t){return t.token===e});return r.tail(t)},e.prototype.getPolicy=function(e){var t=this.findNode(e);return e.getPolicy(t.state)},e.prototype.subContext=function(t){return new e(c.PathUtils.subPath(this._path,function(e){return e.state===t}))},e.prototype.addResolvables=function(e,t){var n=r.find(this._path,i.propEq("state",t)),o=e.map(function(e){return e.token});n.resolvables=n.resolvables.filter(function(e){return-1===o.indexOf(e.token)}).concat(e)},e.prototype.resolvePath=function(e,t){var n=this;void 0===e&&(e="LAZY");var l=(r.inArray(f,e)?e:"LAZY")===s.resolvePolicies.when.EAGER?h:f;o.trace.traceResolvePath(this._path,e,t);var c=function(e,t){return function(i){return r.inArray(e,n.getPolicy(i)[t])}},u=this._path.reduce(function(e,r){var o=r.resolvables.filter(c(l,"when")),a=o.filter(c(["NOWAIT"],"async")),s=o.filter(i.not(c(["NOWAIT"],"async"))),u=n.subContext(r.state),d=function(e){return e.get(u,t).then(function(t){return{token:e.token,value:t}})};return a.forEach(d),e.concat(s.map(d))},[]);return a.services.$q.all(u)},e.prototype.injector=function(){return this._injector||(this._injector=new m(this))},e.prototype.findNode=function(e){return r.find(this._path,function(t){return r.inArray(t.resolvables,e)})},e.prototype.getDependencies=function(e){var t=this,n=this.findNode(e),i=(c.PathUtils.subPath(this._path,function(e){return e===n})||this._path).reduce(function(e,t){return e.concat(t.resolvables)},[]).filter(function(t){return t!==e});return e.deps.map(function(e){var n=i.filter(function(t){return t.token===e});if(n.length)return r.tail(n);var o=t.injector().getNative(e);if(d.isUndefined(o))throw new Error("Could not find Dependency Injection token: "+u.stringify(e));return new l.Resolvable(e,function(){return o},[],o)})},e}();t.ResolveContext=g;var m=function(){function e(e){this.context=e,this.native=this.get(t.NATIVE_INJECTOR_TOKEN)||a.services.$injector}return e.prototype.get=function(e){var t=this.context.getResolvable(e);if(t){if("NOWAIT"===this.context.getPolicy(t).async)return t.get(this.context);if(!t.resolved)throw new Error("Resolvable async .get() not complete:"+u.stringify(t.token));return t.data}return this.getNative(e)},e.prototype.getAsync=function(e){var t=this.context.getResolvable(e);return t?t.get(this.context):a.services.$q.when(this.native.get(e))},e.prototype.getNative=function(e){return this.native&&this.native.get(e)},e}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),i=n(3),o=n(18),a=n(36),s=function(){function e(){}return e.makeTargetState=function(e,t){var n=r.tail(t).state;return new o.TargetState(e,n,t.map(i.prop("paramValues")).reduce(r.mergeR,{}),{})},e.buildPath=function(e){var t=e.params();return e.$state().path.map(function(e){return new a.PathNode(e).applyRawParams(t)})},e.buildToPath=function(t,n){var r=e.buildPath(n);return n.options().inherit?e.inheritParams(t,r,Object.keys(n.params())):r},e.applyViewConfigs=function(t,n,i){n.filter(function(e){return r.inArray(i,e.state)}).forEach(function(i){var o=r.values(i.state.views||{}),a=e.subPath(n,function(e){return e===i}),s=o.map(function(e){return t.createViewConfig(a,e)});i.views=s.reduce(r.unnestR,[])})},e.inheritParams=function(e,t,n){void 0===n&&(n=[]);var o=e.map(function(e){return e.paramSchema}).reduce(r.unnestR,[]).filter(function(e){return!e.inherit}).map(i.prop("id"));return t.map(function(t){var s=r.extend({},t&&t.paramValues),l=r.pick(s,n);s=r.omit(s,n);var c=r.omit(function(e,t){var n=r.find(e,i.propEq("state",t));return r.extend({},n&&n.paramValues)}(e,t.state)||{},o),u=r.extend(s,c,l);return new a.PathNode(t.state).applyRawParams(u)})},e.treeChanges=function(t,n,r){for(var i,o,a,s,l=Math.min(t.length,n.length),c=0,u=function(t,n){return t.equals(n,e.nonDynamicParams)};c<l&&t[c].state!==r&&u(t[c],n[c]);)c++;o=(i=t).slice(0,c),a=i.slice(c);var d=o.map(function(e,t){var r=e.clone();return r.paramValues=n[t].paramValues,r});return s=n.slice(c),{from:i,to:d.concat(s),retained:o,retainedWithToParams:d,exiting:a,entering:s}},e.matching=function(e,t,n){var i=!1;return r.arrayTuples(e,t).reduce(function(e,t){var r=t[0],o=t[1];return(i=i||!r.equals(o,n))?e:e.concat(r)},[])},e.equals=function(t,n,r){return t.length===n.length&&e.matching(t,n,r).length===t.length},e.subPath=function(e,t){var n=r.find(e,t),i=e.indexOf(n);return-1===i?void 0:e.slice(0,i+1)},e.nonDynamicParams=function(e){return e.state.parameters({inherit:!1}).filter(function(e){return!e.dynamic})},e.paramValues=function(e){return e.reduce(function(e,t){return r.extend(e,t.paramValues)},{})},e}();t.PathUtils=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(14),i=n(6),o=n(12),a=n(0),s=n(1),l=n(3),c=n(19),u=n(24),d=n(37),p=n(75),f=n(29),h=n(17),g=n(23),m=n(28),v=n(20),b=l.prop("self"),y=function(){function e(e,t,n){var r=this;if(this._deferred=i.services.$q.defer(),this.promise=this._deferred.promise,this._registeredHooks={},this._hookBuilder=new p.HookBuilder(this),this.isActive=function(){return r.router.globals.transition===r},this.router=n,this._targetState=t,!t.valid())throw new Error(t.error());this._options=a.extend({current:l.val(this)},t.options()),this.$id=n.transitionService._transitionCount++;var o=f.PathUtils.buildToPath(e,t);this._treeChanges=f.PathUtils.treeChanges(e,o,this._options.reloadState),this.createTransitionHookRegFns();var s=this._hookBuilder.buildHooksForPhase(c.TransitionHookPhase.CREATE);u.TransitionHook.invokeHooks(s,function(){return null}),this.applyViewConfigs(n)}return e.prototype.onBefore=function(e,t,n){},e.prototype.onStart=function(e,t,n){},e.prototype.onExit=function(e,t,n){},e.prototype.onRetain=function(e,t,n){},e.prototype.onEnter=function(e,t,n){},e.prototype.onFinish=function(e,t,n){},e.prototype.onSuccess=function(e,t,n){},e.prototype.onError=function(e,t,n){},e.prototype.createTransitionHookRegFns=function(){var e=this;this.router.transitionService._pluginapi._getEvents().filter(function(e){return e.hookPhase!==c.TransitionHookPhase.CREATE}).forEach(function(t){return d.makeEvent(e,e.router.transitionService,t)})},e.prototype.getHooks=function(e){return this._registeredHooks[e]},e.prototype.applyViewConfigs=function(e){var t=this._treeChanges.entering.map(function(e){return e.state});f.PathUtils.applyViewConfigs(e.transitionService.$view,this._treeChanges.to,t)},e.prototype.$from=function(){return a.tail(this._treeChanges.from).state},e.prototype.$to=function(){return a.tail(this._treeChanges.to).state},e.prototype.from=function(){return this.$from().self},e.prototype.to=function(){return this.$to().self},e.prototype.targetState=function(){return this._targetState},e.prototype.is=function(t){return t instanceof e?this.is({to:t.$to().name,from:t.$from().name}):!(t.to&&!d.matchState(this.$to(),t.to)||t.from&&!d.matchState(this.$from(),t.from))},e.prototype.params=function(e){return void 0===e&&(e="to"),Object.freeze(this._treeChanges[e].map(l.prop("paramValues")).reduce(a.mergeR,{}))},e.prototype.injector=function(e,t){void 0===t&&(t="to");var n=this._treeChanges[t];return e&&(n=f.PathUtils.subPath(n,function(t){return t.state===e||t.state.name===e})),new m.ResolveContext(n).injector()},e.prototype.getResolveTokens=function(e){return void 0===e&&(e="to"),new m.ResolveContext(this._treeChanges[e]).getTokens()},e.prototype.addResolvable=function(e,t){void 0===t&&(t=""),e=l.is(g.Resolvable)(e)?e:new g.Resolvable(e);var n="string"==typeof t?t:t.name,r=this._treeChanges.to,i=a.find(r,function(e){return e.state.name===n});new m.ResolveContext(r).addResolvables([e],i.state)},e.prototype.redirectedFrom=function(){return this._options.redirectedFrom||null},e.prototype.originalTransition=function(){var e=this.redirectedFrom();return e&&e.originalTransition()||this},e.prototype.options=function(){return this._options},e.prototype.entering=function(){return a.map(this._treeChanges.entering,l.prop("state")).map(b)},e.prototype.exiting=function(){return a.map(this._treeChanges.exiting,l.prop("state")).map(b).reverse()},e.prototype.retained=function(){return a.map(this._treeChanges.retained,l.prop("state")).map(b)},e.prototype.views=function(e,t){void 0===e&&(e="entering");var n=this._treeChanges[e];return(n=t?n.filter(l.propEq("state",t)):n).map(l.prop("views")).filter(a.identity).reduce(a.unnestR,[])},e.prototype.treeChanges=function(e){return e?this._treeChanges[e]:this._treeChanges},e.prototype.redirect=function(e){for(var t=1,n=this;null!=(n=n.redirectedFrom());)if(++t>20)throw new Error("Too many consecutive Transition redirects (20+)");var r={redirectedFrom:this,source:"redirect"};"url"===this.options().source&&!1!==e.options().location&&(r.location="replace");var i=a.extend({},this.options(),e.options(),r);e=e.withOptions(i,!0);var o=this.router.transitionService.create(this._treeChanges.from,e),s=this._treeChanges.entering,c=o._treeChanges.entering;return f.PathUtils.matching(c,s,f.PathUtils.nonDynamicParams).filter(l.not(function(e){return function(t){return e&&t.state.includes[e.name]}}(e.options().reloadState))).forEach(function(e,t){e.resolvables=s[t].resolvables}),o},e.prototype._changedParams=function(){var e=this._treeChanges;if(!this._options.reload&&(!e.exiting.length&&!e.entering.length&&e.to.length===e.from.length&&!a.arrayTuples(e.to,e.from).map(function(e){return e[0].state!==e[1].state}).reduce(a.anyTrueR,!1))){var t=e.to.map(function(e){return e.paramSchema}),n=[e.to,e.from].map(function(e){return e.map(function(e){return e.paramValues})}),r=n[0],i=n[1];return a.arrayTuples(t,r,i).map(function(e){var t=e[0],n=e[1],r=e[2];return h.Param.changed(t,n,r)}).reduce(a.unnestR,[])}},e.prototype.dynamic=function(){var e=this._changedParams();return!!e&&e.map(function(e){return e.dynamic}).reduce(a.anyTrueR,!1)},e.prototype.ignored=function(){return!!this._ignoredReason()},e.prototype._ignoredReason=function(){var e=this.router.globals.transition,t=this._options.reloadState,n=function(e,n){if(e.length!==n.length)return!1;var r=f.PathUtils.matching(e,n);return e.length===r.filter(function(e){return!t||!e.state.includes[t.name]}).length},r=this.treeChanges(),i=e&&e.treeChanges();return i&&n(i.to,r.to)&&n(i.exiting,r.exiting)?"SameAsPending":0===r.exiting.length&&0===r.entering.length&&n(r.from,r.to)?"SameAsCurrent":void 0},e.prototype.run=function(){var e=this,t=u.TransitionHook.runAllHooks,n=function(t){return e._hookBuilder.buildHooksForPhase(t)},o=n(c.TransitionHookPhase.BEFORE);return u.TransitionHook.invokeHooks(o,function(){var t=e.router.globals;return t.lastStartedTransitionId=e.$id,t.transition=e,t.transitionHistory.enqueue(e),r.trace.traceTransitionStart(e),i.services.$q.when(void 0)}).then(function(){var e=n(c.TransitionHookPhase.RUN);return u.TransitionHook.invokeHooks(e,function(){return i.services.$q.when(void 0)})}).then(function(){r.trace.traceSuccess(e.$to(),e),e.success=!0,e._deferred.resolve(e.to()),t(n(c.TransitionHookPhase.SUCCESS))},function(i){r.trace.traceError(i,e),e.success=!1,e._deferred.reject(i),e._error=i,t(n(c.TransitionHookPhase.ERROR))}),this.promise},e.prototype.valid=function(){return!this.error()||void 0!==this.success},e.prototype.abort=function(){s.isUndefined(this.success)&&(this._aborted=!0)},e.prototype.error=function(){var e=this.$to();if(e.self.abstract)return v.Rejection.invalid("Cannot transition to abstract state '"+e.name+"'");var t=e.parameters(),n=this.params(),r=t.filter(function(e){return!e.validates(n[e.id])});if(r.length){var i=r.map(function(e){return"["+e.id+":"+o.stringify(n[e.id])+"]"}).join(", "),a="The following parameter values are not valid for state '"+e.name+"': "+i;return v.Rejection.invalid(a)}return!1===this.success?this._error:void 0},e.prototype.toString=function(){var e=this.from(),t=this.to(),n=function(e){return null!==e["#"]&&void 0!==e["#"]?e:a.omit(e,["#"])};return"Transition#"+this.$id+"( '"+(s.isObject(e)?e.name:e)+"'"+o.stringify(n(this._treeChanges.from.map(l.prop("paramValues")).reduce(a.mergeR,{})))+" -> "+(this.valid()?"":"(X) ")+"'"+(s.isObject(t)?t.name:t)+"'"+o.stringify(n(this.params()))+" )"},e.diToken=e,e}();t.Transition=y},function(e,t,n){"use strict";var r=n(9);e.exports=s;var i="\0",o="\0",a="";function s(e){this._isDirected=!r.has(e,"directed")||e.directed,this._isMultigraph=!!r.has(e,"multigraph")&&e.multigraph,this._isCompound=!!r.has(e,"compound")&&e.compound,this._label=void 0,this._defaultNodeLabelFn=r.constant(void 0),this._defaultEdgeLabelFn=r.constant(void 0),this._nodes={},this._isCompound&&(this._parent={},this._children={},this._children[o]={}),this._in={},this._preds={},this._out={},this._sucs={},this._edgeObjs={},this._edgeLabels={}}function l(e,t){e[t]?e[t]++:e[t]=1}function c(e,t){--e[t]||delete e[t]}function u(e,t,n,o){var s=""+t,l=""+n;if(!e&&s>l){var c=s;s=l,l=c}return s+a+l+a+(r.isUndefined(o)?i:o)}function d(e,t){return u(e,t.v,t.w,t.name)}s.prototype._nodeCount=0,s.prototype._edgeCount=0,s.prototype.isDirected=function(){return this._isDirected},s.prototype.isMultigraph=function(){return this._isMultigraph},s.prototype.isCompound=function(){return this._isCompound},s.prototype.setGraph=function(e){return this._label=e,this},s.prototype.graph=function(){return this._label},s.prototype.setDefaultNodeLabel=function(e){return r.isFunction(e)||(e=r.constant(e)),this._defaultNodeLabelFn=e,this},s.prototype.nodeCount=function(){return this._nodeCount},s.prototype.nodes=function(){return r.keys(this._nodes)},s.prototype.sources=function(){return r.filter(this.nodes(),function(e){return r.isEmpty(this._in[e])},this)},s.prototype.sinks=function(){return r.filter(this.nodes(),function(e){return r.isEmpty(this._out[e])},this)},s.prototype.setNodes=function(e,t){var n=arguments;return r.each(e,function(e){n.length>1?this.setNode(e,t):this.setNode(e)},this),this},s.prototype.setNode=function(e,t){return r.has(this._nodes,e)?(arguments.length>1&&(this._nodes[e]=t),this):(this._nodes[e]=arguments.length>1?t:this._defaultNodeLabelFn(e),this._isCompound&&(this._parent[e]=o,this._children[e]={},this._children[o][e]=!0),this._in[e]={},this._preds[e]={},this._out[e]={},this._sucs[e]={},++this._nodeCount,this)},s.prototype.node=function(e){return this._nodes[e]},s.prototype.hasNode=function(e){return r.has(this._nodes,e)},s.prototype.removeNode=function(e){var t=this;if(r.has(this._nodes,e)){var n=function(e){t.removeEdge(t._edgeObjs[e])};delete this._nodes[e],this._isCompound&&(this._removeFromParentsChildList(e),delete this._parent[e],r.each(this.children(e),function(e){this.setParent(e)},this),delete this._children[e]),r.each(r.keys(this._in[e]),n),delete this._in[e],delete this._preds[e],r.each(r.keys(this._out[e]),n),delete this._out[e],delete this._sucs[e],--this._nodeCount}return this},s.prototype.setParent=function(e,t){if(!this._isCompound)throw new Error("Cannot set parent in a non-compound graph");if(r.isUndefined(t))t=o;else{for(var n=t+="";!r.isUndefined(n);n=this.parent(n))if(n===e)throw new Error("Setting "+t+" as parent of "+e+" would create create a cycle");this.setNode(t)}return this.setNode(e),this._removeFromParentsChildList(e),this._parent[e]=t,this._children[t][e]=!0,this},s.prototype._removeFromParentsChildList=function(e){delete this._children[this._parent[e]][e]},s.prototype.parent=function(e){if(this._isCompound){var t=this._parent[e];if(t!==o)return t}},s.prototype.children=function(e){if(r.isUndefined(e)&&(e=o),this._isCompound){var t=this._children[e];if(t)return r.keys(t)}else{if(e===o)return this.nodes();if(this.hasNode(e))return[]}},s.prototype.predecessors=function(e){var t=this._preds[e];if(t)return r.keys(t)},s.prototype.successors=function(e){var t=this._sucs[e];if(t)return r.keys(t)},s.prototype.neighbors=function(e){var t=this.predecessors(e);if(t)return r.union(t,this.successors(e))},s.prototype.filterNodes=function(e){var t=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});t.setGraph(this.graph()),r.each(this._nodes,function(n,r){e(r)&&t.setNode(r,n)},this),r.each(this._edgeObjs,function(e){t.hasNode(e.v)&&t.hasNode(e.w)&&t.setEdge(e,this.edge(e))},this);var n=this,i={};return this._isCompound&&r.each(t.nodes(),function(e){t.setParent(e,function e(r){var o=n.parent(r);return void 0===o||t.hasNode(o)?(i[r]=o,o):o in i?i[o]:e(o)}(e))}),t},s.prototype.setDefaultEdgeLabel=function(e){return r.isFunction(e)||(e=r.constant(e)),this._defaultEdgeLabelFn=e,this},s.prototype.edgeCount=function(){return this._edgeCount},s.prototype.edges=function(){return r.values(this._edgeObjs)},s.prototype.setPath=function(e,t){var n=this,i=arguments;return r.reduce(e,function(e,r){return i.length>1?n.setEdge(e,r,t):n.setEdge(e,r),r}),this},s.prototype.setEdge=function(){var e,t,n,i,o=!1,a=arguments[0];"object"==typeof a&&null!==a&&"v"in a?(e=a.v,t=a.w,n=a.name,2===arguments.length&&(i=arguments[1],o=!0)):(e=a,t=arguments[1],n=arguments[3],arguments.length>2&&(i=arguments[2],o=!0)),e=""+e,t=""+t,r.isUndefined(n)||(n=""+n);var s=u(this._isDirected,e,t,n);if(r.has(this._edgeLabels,s))return o&&(this._edgeLabels[s]=i),this;if(!r.isUndefined(n)&&!this._isMultigraph)throw new Error("Cannot set a named edge when isMultigraph = false");this.setNode(e),this.setNode(t),this._edgeLabels[s]=o?i:this._defaultEdgeLabelFn(e,t,n);var c=function(e,t,n,r){var i=""+t,o=""+n;if(!e&&i>o){var a=i;i=o,o=a}var s={v:i,w:o};r&&(s.name=r);return s}(this._isDirected,e,t,n);return e=c.v,t=c.w,Object.freeze(c),this._edgeObjs[s]=c,l(this._preds[t],e),l(this._sucs[e],t),this._in[t][s]=c,this._out[e][s]=c,this._edgeCount++,this},s.prototype.edge=function(e,t,n){var r=1===arguments.length?d(this._isDirected,arguments[0]):u(this._isDirected,e,t,n);return this._edgeLabels[r]},s.prototype.hasEdge=function(e,t,n){var i=1===arguments.length?d(this._isDirected,arguments[0]):u(this._isDirected,e,t,n);return r.has(this._edgeLabels,i)},s.prototype.removeEdge=function(e,t,n){var r=1===arguments.length?d(this._isDirected,arguments[0]):u(this._isDirected,e,t,n),i=this._edgeObjs[r];return i&&(e=i.v,t=i.w,delete this._edgeLabels[r],delete this._edgeObjs[r],c(this._preds[t],e),c(this._sucs[e],t),delete this._in[t][r],delete this._out[e][r],this._edgeCount--),this},s.prototype.inEdges=function(e,t){var n=this._in[e];if(n){var i=r.values(n);return t?r.filter(i,function(e){return e.v===t}):i}},s.prototype.outEdges=function(e,t){var n=this._out[e];if(n){var i=r.values(n);return t?r.filter(i,function(e){return e.w===t}):i}},s.prototype.nodeEdges=function(e,t){var n=this.inEdges(e,t);if(n)return n.concat(this.outEdges(e,t))}},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(10);t.keyValsToObjectR=function(e,t){var n=t[0],i=t[1];return e.hasOwnProperty(n)?r.isArray(e[n])?e[n].push(i):e[n]=[e[n],i]:e[n]=i,e},t.getParams=function(e){return e.split("&").filter(r.identity).map(r.splitEqual).reduce(t.keyValsToObjectR,{})},t.parseUrl=function(e){var t=function(e){return e||""},n=r.splitHash(e).map(t),i=n[0],o=n[1],a=r.splitQuery(i).map(t);return{path:a[0],search:a[1],hash:o,url:e}},t.buildUrl=function(e){var t=e.path(),n=e.search(),i=e.hash(),o=Object.keys(n).map(function(e){var t=n[e];return(r.isArray(t)?t:[t]).map(function(t){return e+"="+t})}).reduce(r.unnestR,[]).join("&");return t+(o?"?"+o:"")+(i?"#"+i:"")},t.locationPluginFactory=function(e,t,n,r){return function(i){var o=i.locationService=new n(i),a=i.locationConfig=new r(i,t);return{name:e,service:o,configuration:a,dispose:function(e){e.dispose(o),e.dispose(a)}}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(19),i=n(30),o=n(37),a=n(209),s=n(208),l=n(207),c=n(206),u=n(205),d=n(204),p=n(203),f=n(58),h=n(57),g=n(24),m=n(1),v=n(0),b=n(3),y=n(202),x=n(201);t.defaultTransOpts={location:!0,relative:null,inherit:!1,notify:!0,reload:!1,custom:{},current:function(){return null},source:"unknown"};var w=function(){function e(e){this._transitionCount=0,this._eventTypes=[],this._registeredHooks={},this._criteriaPaths={},this._router=e,this.$view=e.viewService,this._deregisterHookFns={},this._pluginapi=v.createProxyFunctions(b.val(this),{},b.val(this),["_definePathType","_defineEvent","_getPathTypes","_getEvents","getHooks"]),this._defineCorePaths(),this._defineCoreEvents(),this._registerCoreTransitionHooks(),e.globals.successfulTransitions.onEvict(a.treeChangesCleanup)}return e.prototype.onCreate=function(e,t,n){},e.prototype.onBefore=function(e,t,n){},e.prototype.onStart=function(e,t,n){},e.prototype.onExit=function(e,t,n){},e.prototype.onRetain=function(e,t,n){},e.prototype.onEnter=function(e,t,n){},e.prototype.onFinish=function(e,t,n){},e.prototype.onSuccess=function(e,t,n){},e.prototype.onError=function(e,t,n){},e.prototype.dispose=function(e){v.values(this._registeredHooks).forEach(function(e){return e.forEach(function(t){t._deregistered=!0,v.removeFrom(e,t)})})},e.prototype.create=function(e,t){return new i.Transition(e,t,this._router)},e.prototype._defineCoreEvents=function(){var e=r.TransitionHookPhase,t=g.TransitionHook,n=this._criteriaPaths;this._defineEvent("onCreate",e.CREATE,0,n.to,!1,t.LOG_REJECTED_RESULT,t.THROW_ERROR,!0),this._defineEvent("onBefore",e.BEFORE,0,n.to),this._defineEvent("onStart",e.RUN,0,n.to),this._defineEvent("onExit",e.RUN,100,n.exiting,!0),this._defineEvent("onRetain",e.RUN,200,n.retained),this._defineEvent("onEnter",e.RUN,300,n.entering),this._defineEvent("onFinish",e.RUN,400,n.to),this._defineEvent("onSuccess",e.SUCCESS,0,n.to,!1,t.LOG_REJECTED_RESULT,t.LOG_ERROR,!0),this._defineEvent("onError",e.ERROR,0,n.to,!1,t.LOG_REJECTED_RESULT,t.LOG_ERROR,!0)},e.prototype._defineCorePaths=function(){var e=r.TransitionHookScope.STATE,t=r.TransitionHookScope.TRANSITION;this._definePathType("to",t),this._definePathType("from",t),this._definePathType("exiting",e),this._definePathType("retained",e),this._definePathType("entering",e)},e.prototype._defineEvent=function(e,t,n,r,i,a,s,l){void 0===i&&(i=!1),void 0===a&&(a=g.TransitionHook.HANDLE_RESULT),void 0===s&&(s=g.TransitionHook.REJECT_ERROR),void 0===l&&(l=!1);var c=new h.TransitionEventType(e,t,n,r,i,a,s,l);this._eventTypes.push(c),o.makeEvent(this,this,c)},e.prototype._getEvents=function(e){return(m.isDefined(e)?this._eventTypes.filter(function(t){return t.hookPhase===e}):this._eventTypes.slice()).sort(function(e,t){var n=e.hookPhase-t.hookPhase;return 0===n?e.hookOrder-t.hookOrder:n})},e.prototype._definePathType=function(e,t){this._criteriaPaths[e]={name:e,scope:t}},e.prototype._getPathTypes=function(){return this._criteriaPaths},e.prototype.getHooks=function(e){return this._registeredHooks[e]},e.prototype._registerCoreTransitionHooks=function(){var e=this._deregisterHookFns;e.addCoreResolves=a.registerAddCoreResolvables(this),e.ignored=y.registerIgnoredTransitionHook(this),e.invalid=x.registerInvalidTransitionHook(this),e.redirectTo=s.registerRedirectToHook(this),e.onExit=l.registerOnExitHook(this),e.onRetain=l.registerOnRetainHook(this),e.onEnter=l.registerOnEnterHook(this),e.eagerResolve=c.registerEagerResolvePath(this),e.lazyResolve=c.registerLazyResolveState(this),e.resolveAll=c.registerResolveRemaining(this),e.loadViews=u.registerLoadEnteringViews(this),e.activateViews=u.registerActivateViews(this),e.updateGlobals=d.registerUpdateGlobalState(this),e.updateUrl=p.registerUpdateUrl(this),e.lazyLoad=f.registerLazyLoadHook(this)},e}();t.TransitionService=w},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),i=n(1),o=function(){function e(e){this.pattern=/.*/,this.inherit=!0,r.extend(this,e)}return e.prototype.is=function(e,t){return!0},e.prototype.encode=function(e,t){return e},e.prototype.decode=function(e,t){return e},e.prototype.equals=function(e,t){return e==t},e.prototype.$subPattern=function(){var e=this.pattern.toString();return e.substr(1,e.length-2)},e.prototype.toString=function(){return"{ParamType:"+this.name+"}"},e.prototype.$normalize=function(e){return this.is(e)?e:this.decode(e)},e.prototype.$asArray=function(e,t){if(!e)return this;if("auto"===e&&!t)throw new Error("'auto' array mode is for query parameters only");return new function(e,t){var n=this;function o(e){return i.isArray(e)?e:i.isDefined(e)?[e]:[]}function a(e,n){return function(a){if(i.isArray(a)&&0===a.length)return a;var s=o(a),l=r.map(s,e);return!0===n?0===r.filter(l,function(e){return!e}).length:function(e){switch(e.length){case 0:return;case 1:return"auto"===t?e[0]:e;default:return e}}(l)}}function s(e){return function(t,n){var r=o(t),i=o(n);if(r.length!==i.length)return!1;for(var a=0;a<r.length;a++)if(!e(r[a],i[a]))return!1;return!0}}["encode","decode","equals","$normalize"].forEach(function(t){var r=e[t].bind(e),i="equals"===t?s:a;n[t]=i(r)}),r.extend(this,{dynamic:e.dynamic,name:e.name,pattern:e.pattern,inherit:e.inherit,is:a(e.is.bind(e),!0),$arrayMode:t})}(this,e)},e}();t.ParamType=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),i=n(3),o=n(17),a=function(){function e(t){if(t instanceof e){var n=t;this.state=n.state,this.paramSchema=n.paramSchema.slice(),this.paramValues=r.extend({},n.paramValues),this.resolvables=n.resolvables.slice(),this.views=n.views&&n.views.slice()}else{var i=t;this.state=i,this.paramSchema=i.parameters({inherit:!1}),this.paramValues={},this.resolvables=i.resolvables.map(function(e){return e.clone()})}}return e.prototype.clone=function(){return new e(this)},e.prototype.applyRawParams=function(e){return this.paramValues=this.paramSchema.reduce(function(t,n){return r.applyPairs(t,function(t){return[t.id,t.value(e[t.id])]}(n))},{}),this},e.prototype.parameter=function(e){return r.find(this.paramSchema,i.propEq("id",e))},e.prototype.equals=function(e,t){var n=this.diff(e,t);return n&&0===n.length},e.prototype.diff=function(e,t){if(this.state!==e.state)return!1;var n=t?t(this):this.paramSchema;return o.Param.changed(n,this.paramValues,e.paramValues)},e.clone=function(e){return e.clone()},e}();t.PathNode=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(10),i=n(19);function o(e,t){var n=r.isString(t)?[t]:t;return!!(r.isFunction(n)?n:function(e){for(var t=n,i=0;i<t.length;i++){var o=new r.Glob(t[i]);if(o&&o.matches(e.name)||!o&&t[i]===e.name)return!0}return!1})(e)}t.matchState=o;var a=function(){function e(e,t,n,r,i,o){void 0===o&&(o={}),this.tranSvc=e,this.eventType=t,this.callback=n,this.matchCriteria=r,this.removeHookFromRegistry=i,this.invokeCount=0,this._deregistered=!1,this.priority=o.priority||0,this.bind=o.bind||null,this.invokeLimit=o.invokeLimit}return e.prototype._matchingNodes=function(e,t){if(!0===t)return e;var n=e.filter(function(e){return o(e.state,t)});return n.length?n:null},e.prototype._getDefaultMatchCriteria=function(){return r.mapObj(this.tranSvc._pluginapi._getPathTypes(),function(){return!0})},e.prototype._getMatchingNodes=function(e){var t=this,n=r.extend(this._getDefaultMatchCriteria(),this.matchCriteria);return r.values(this.tranSvc._pluginapi._getPathTypes()).reduce(function(o,a){var s=a.scope===i.TransitionHookScope.STATE,l=e[a.name]||[],c=s?l:[r.tail(l)];return o[a.name]=t._matchingNodes(c,n[a.name]),o},{})},e.prototype.matches=function(e){var t=this._getMatchingNodes(e);return r.values(t).every(r.identity)?t:null},e.prototype.deregister=function(){this.removeHookFromRegistry(this),this._deregistered=!0},e}();t.RegisteredHook=a,t.makeEvent=function(e,t,n){var i=(e._registeredHooks=e._registeredHooks||{})[n.name]=[],o=r.removeFrom(i);function s(e,r,s){void 0===s&&(s={});var l=new a(t,n,r,e,o,s);return i.push(l),l.deregister.bind(l)}return e[n.name]=s,s}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),i=function(){function e(e,t){void 0===e&&(e=[]),void 0===t&&(t=null),this._items=e,this._limit=t,this._evictListeners=[],this.onEvict=r.pushTo(this._evictListeners)}return e.prototype.enqueue=function(e){var t=this._items;return t.push(e),this._limit&&t.length>this._limit&&this.evict(),e},e.prototype.evict=function(){var e=this._items.shift();return this._evictListeners.forEach(function(t){return t(e)}),e},e.prototype.dequeue=function(){if(this.size())return this._items.splice(0,1)[0]},e.prototype.clear=function(){var e=this._items;return this._items=[],e},e.prototype.size=function(){return this._items.length},e.prototype.remove=function(e){var t=this._items.indexOf(e);return t>-1&&this._items.splice(t,1)[0]},e.prototype.peekTail=function(){return this._items[this._items.length-1]},e.prototype.peekHead=function(){if(this.size())return this._items[0]},e}();t.Queue=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e){this.text=e,this.glob=e.split(".");var t=this.text.split(".").map(function(e){return"**"===e?"(?:|(?:\\.[^.]*)*)":"*"===e?"\\.[^.]*":"\\."+e}).join("");this.regexp=new RegExp("^"+t+"$")}return e.is=function(e){return!!/[!,*]+/.exec(e)},e.fromString=function(t){return e.is(t)?new e(t):null},e.prototype.matches=function(e){return this.regexp.test("."+e)},e}();t.Glob=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),i=n(3),o=n(39),a=n(1),s=function(){function e(t){return e.create(t||{})}return e.create=function(t){t=e.isStateClass(t)?new t:t;var n=r.inherit(r.inherit(t,e.prototype));return t.$$state=function(){return n},n.self=t,n.__stateObjectCache={nameGlob:o.Glob.fromString(n.name)},n},e.prototype.is=function(e){return this===e||this.self===e||this.fqn()===e},e.prototype.fqn=function(){if(!(this.parent&&this.parent instanceof this.constructor))return this.name;var e=this.parent.fqn();return e?e+"."+this.name:this.name},e.prototype.root=function(){return this.parent&&this.parent.root()||this},e.prototype.parameters=function(e){return((e=r.defaults(e,{inherit:!0,matchingKeys:null})).inherit&&this.parent&&this.parent.parameters()||[]).concat(r.values(this.params)).filter(function(t){return!e.matchingKeys||e.matchingKeys.hasOwnProperty(t.id)})},e.prototype.parameter=function(e,t){return void 0===t&&(t={}),this.url&&this.url.parameter(e,t)||r.find(r.values(this.params),i.propEq("id",e))||t.inherit&&this.parent&&this.parent.parameter(e)},e.prototype.toString=function(){return this.fqn()},e.isStateClass=function(e){return a.isFunction(e)&&!0===e.__uiRouterState},e.isState=function(e){return a.isObject(e.__stateObjectCache)},e}();t.StateObject=s},function(e,t){var n="/docs/source.html";window.angular.module("ng").run(["$templateCache",function(e){e.put(n,'<style>\n/* TODO */\n.section-target {\n    top: -8em;\n}\n\n.noflex {\n    flex: 0 0 160px !important;\n}\n\n.highlight {\n    color: #24292e;\n    background-color: white;\n}\n\n</style>\n\n<div class=\'app-scroll\'>\n    <div class="app-links app-sticky">\n        <div class="app-title">\n            <div class="app-frame app-pad app-flush-bottom">\n                <h1>\n                    <span class="break">{{ model.source_name }}.{{ model.name }}</span>\n                    <small>source table</small>\n                </h1>\n            </div>\n        </div>\n        <div class="app-frame app-pad-h">\n            <ul class="nav nav-tabs">\n                <li ui-sref-active=\'active\'><a ui-sref="dbt.source({\'#\': \'details\'})">Details</a></li>\n                <li ui-sref-active=\'active\'><a ui-sref="dbt.source({\'#\': \'description\'})">Description</a></li>\n                <li ui-sref-active=\'active\'><a ui-sref="dbt.source({\'#\': \'columns\'})">Columns</a></li>\n                <li ui-sref-active=\'active\'><a ui-sref="dbt.source({\'#\': \'sql\'})">SQL</a></li>\n            </ul>\n        </div>\n    </div>\n    <div class="app-details">\n        <div class="app-frame app-pad">\n            <section class="section">\n                <div class="section-target" id="details"></div>\n                <table-details model="model" extras="extra_table_fields"/>\n            </section>\n\n            <section class="section">\n                <div class="section-target" id="description"></div>\n                <div class="section-content">\n                    <h6>Description</h6>\n                    <div class="panel">\n                        <div class="panel-body">\n                            <div ng-if="model.description" class="model-markdown" marked="model.description"></div>\n                            <div ng-if="!model.description">This {{ model.resource_type }} is not currently documented</div>\n                        </div>\n                    </div>\n                </div>\n            </section>\n            <section class="section">\n                <div class="section-target" id="columns"></div>\n                <div class="section-content">\n                    <h6>Columns</h6>\n                    <column-details model="model" />\n                </div>\n            </section>\n            <section class="section">\n                <div class="section-target" id="sql"></div>\n                <div class="section-content">\n                    <h6>SQL</h6>\n                    <div class="panel">\n                        <div class="panel-body">\n                            <div class=\'row\'>\n                                <div class=\'col-md-6\'>\n                                    <h4>Example SQL</h4>\n                                </div>\n                                <div class=\'col-md-6 text-right\'>\n                                    <a class=\'unselectable\'\n                                       ng-click="copy_to_clipboard(sample_sql)">{{ copied ? \'copied\' : \'copy to clipboard\' }}</a>\n                                </div>\n                            </div>\n                            <div style="margin-top: 1px">\n                                <pre\n                                    class="source-code highlight sql"\n                                    ng-bind-html="highlighted.source"></pre>\n                            </div>\n                        </div>\n                    </div>\n                </div>\n            </section>\n        </div>\n    </div>\n</div>\n')}]),e.exports=n},function(e,t){var n={utf8:{stringToBytes:function(e){return n.bin.stringToBytes(unescape(encodeURIComponent(e)))},bytesToString:function(e){return decodeURIComponent(escape(n.bin.bytesToString(e)))}},bin:{stringToBytes:function(e){for(var t=[],n=0;n<e.length;n++)t.push(255&e.charCodeAt(n));return t},bytesToString:function(e){for(var t=[],n=0;n<e.length;n++)t.push(String.fromCharCode(e[n]));return t.join("")}}};e.exports=n},function(e,t,n){"use strict";var r=n(2),i=n(11).Graph,o=n(25).slack;function a(e,t){return r.each(e.nodes(),function n(i){r.each(t.nodeEdges(i),function(r){var a=r.v,s=i===a?r.w:a;e.hasNode(s)||o(t,r)||(e.setNode(s,{}),e.setEdge(i,s,{}),n(s))})}),e.nodeCount()}function s(e,t){return r.min(t.edges(),function(n){if(e.hasNode(n.v)!==e.hasNode(n.w))return o(t,n)})}function l(e,t,n){r.each(e.nodes(),function(e){t.node(e).rank+=n})}e.exports=function(e){var t,n,r=new i({directed:!1}),c=e.nodes()[0],u=e.nodeCount();r.setNode(c,{});for(;a(r,e)<u;)t=s(r,e),n=r.hasNode(t.v)?o(e,t):-o(e,t),l(r,e,n);return r}},function(e,t,n){var r=n(9);e.exports=function(e,t,n){r.isArray(t)||(t=[t]);var i=[],o={};return r.each(t,function(t){if(!e.hasNode(t))throw new Error("Graph does not have node: "+t);!function e(t,n,i,o,a){r.has(o,n)||(o[n]=!0,i||a.push(n),r.each(t.neighbors(n),function(n){e(t,n,i,o,a)}),i&&a.push(n))}(e,t,"post"===n,o,i)}),i}},function(e,t,n){var r=n(9);function i(e){var t={},n={},i=[];if(r.each(e.sinks(),function a(s){if(r.has(n,s))throw new o;r.has(t,s)||(n[s]=!0,t[s]=!0,r.each(e.predecessors(s),a),delete n[s],i.push(s))}),r.size(t)!==e.nodeCount())throw new o;return i}function o(){}e.exports=i,i.CycleException=o},function(e,t,n){var r=n(9);e.exports=function(e){var t=0,n=[],i={},o=[];return e.nodes().forEach(function(a){r.has(i,a)||function a(s){var l=i[s]={onStack:!0,lowlink:t,index:t++};if(n.push(s),e.successors(s).forEach(function(e){r.has(i,e)?i[e].onStack&&(l.lowlink=Math.min(l.lowlink,i[e].index)):(a(e),l.lowlink=Math.min(l.lowlink,i[e].lowlink))}),l.lowlink===l.index){var c,u=[];do{c=n.pop(),i[c].onStack=!1,u.push(c)}while(s!==c);o.push(u)}}(a)}),o}},function(e,t,n){var r=n(9);function i(){this._arr=[],this._keyIndices={}}e.exports=i,i.prototype.size=function(){return this._arr.length},i.prototype.keys=function(){return this._arr.map(function(e){return e.key})},i.prototype.has=function(e){return r.has(this._keyIndices,e)},i.prototype.priority=function(e){var t=this._keyIndices[e];if(void 0!==t)return this._arr[t].priority},i.prototype.min=function(){if(0===this.size())throw new Error("Queue underflow");return this._arr[0].key},i.prototype.add=function(e,t){var n=this._keyIndices;if(e=String(e),!r.has(n,e)){var i=this._arr,o=i.length;return n[e]=o,i.push({key:e,priority:t}),this._decrease(o),!0}return!1},i.prototype.removeMin=function(){this._swap(0,this._arr.length-1);var e=this._arr.pop();return delete this._keyIndices[e.key],this._heapify(0),e.key},i.prototype.decrease=function(e,t){var n=this._keyIndices[e];if(t>this._arr[n].priority)throw new Error("New priority is greater than current priority. Key: "+e+" Old: "+this._arr[n].priority+" New: "+t);this._arr[n].priority=t,this._decrease(n)},i.prototype._heapify=function(e){var t=this._arr,n=2*e,r=n+1,i=e;n<t.length&&(i=t[n].priority<t[i].priority?n:i,r<t.length&&(i=t[r].priority<t[i].priority?r:i),i!==e&&(this._swap(e,i),this._heapify(i)))},i.prototype._decrease=function(e){for(var t,n=this._arr,r=n[e].priority;0!==e&&!(n[t=e>>1].priority<r);)this._swap(e,t),e=t},i.prototype._swap=function(e,t){var n=this._arr,r=this._keyIndices,i=n[e],o=n[t];n[e]=o,n[t]=i,r[o.key]=e,r[i.key]=t}},function(e,t,n){var r=n(9),i=n(47);e.exports=function(e,t,n,r){return function(e,t,n,r){var o,a,s={},l=new i,c=function(e){var t=e.v!==o?e.v:e.w,r=s[t],i=n(e),c=a.distance+i;if(i<0)throw new Error("dijkstra does not allow negative edge weights. Bad edge: "+e+" Weight: "+i);c<r.distance&&(r.distance=c,r.predecessor=o,l.decrease(t,c))};e.nodes().forEach(function(e){var n=e===t?0:Number.POSITIVE_INFINITY;s[e]={distance:n},l.add(e,n)});for(;l.size()>0&&(o=l.removeMin(),(a=s[o]).distance!==Number.POSITIVE_INFINITY);)r(o).forEach(c);return s}(e,String(t),n||o,r||function(t){return e.outEdges(t)})};var o=r.constant(1)},function(e,t,n){var r=n(167);e.exports={Graph:r.Graph,json:n(164),alg:n(163),version:r.version}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),i=function(){function e(e,t){void 0===t&&(t=!1),this._isHtml5=t,this._baseHref=void 0,this._hashPrefix=""}return e.prototype.port=function(){return location.port?Number(location.port):"https"===this.protocol()?443:80},e.prototype.protocol=function(){return location.protocol.replace(/:/g,"")},e.prototype.host=function(){return location.hostname},e.prototype.html5Mode=function(){return this._isHtml5},e.prototype.hashPrefix=function(e){return r.isDefined(e)?this._hashPrefix=e:this._hashPrefix},e.prototype.baseHref=function(e){return r.isDefined(e)?this._baseHref=e:r.isDefined(this._baseHref)?this._baseHref:this.applyDocumentBaseHref()},e.prototype.applyDocumentBaseHref=function(){var e=document.getElementsByTagName("base")[0];return this._baseHref=e?e.href.substr(location.origin.length):location.pathname||"/"},e.prototype.dispose=function(){},e}();t.BrowserLocationConfig=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),i=n(0),o=function(){return function(){var e=this;this.dispose=i.noop,this._baseHref="",this._port=80,this._protocol="http",this._host="localhost",this._hashPrefix="",this.port=function(){return e._port},this.protocol=function(){return e._protocol},this.host=function(){return e._host},this.baseHref=function(){return e._baseHref},this.html5Mode=function(){return!1},this.hashPrefix=function(t){return r.isDefined(t)?e._hashPrefix=t:e._hashPrefix}}}();t.MemoryLocationConfig=o},function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0});var i=n(26),o=n(10),a=function(e){function t(t){var n=e.call(this,t,!0)||this;return n._config=t.urlService.config,o.root.addEventListener("popstate",n._listener,!1),n}return r(t,e),t.prototype._getBasePrefix=function(){return o.stripLastPathElement(this._config.baseHref())},t.prototype._get=function(){var e=this._location,t=e.pathname,n=e.hash,r=e.search;r=o.splitQuery(r)[1],n=o.splitHash(n)[1];var i=this._getBasePrefix(),a=t===this._config.baseHref(),s=t.substr(0,i.length)===i;return(t=a?"/":s?t.substring(i.length):t)+(r?"?"+r:"")+(n?"#"+n:"")},t.prototype._set=function(e,t,n,r){var i=this._getBasePrefix(),o=n&&"/"!==n[0]?"/":"",a=""===n||"/"===n?this._config.baseHref():i+o+n;r?this._history.replaceState(e,t,a):this._history.pushState(e,t,a)},t.prototype.dispose=function(t){e.prototype.dispose.call(this,t),o.root.removeEventListener("popstate",this._listener)},t}(i.BaseLocationServices);t.PushStateLocationService=a},function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0});var i=function(e){function t(t){return e.call(this,t,!0)||this}return r(t,e),t.prototype._get=function(){return this._url},t.prototype._set=function(e,t,n,r){this._url=n},t}(n(26).BaseLocationServices);t.MemoryLocationService=i},function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0});var i=n(10),o=function(e){function t(t){var n=e.call(this,t,!1)||this;return i.root.addEventListener("hashchange",n._listener,!1),n}return r(t,e),t.prototype._get=function(){return i.trimHashVal(this._location.hash)},t.prototype._set=function(e,t,n,r){this._location.hash=n},t.prototype.dispose=function(t){e.prototype.dispose.call(this,t),i.root.removeEventListener("hashchange",this._listener)},t}(n(26).BaseLocationServices);t.HashLocationService=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(10),i={},o=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,a=/([^\s,]+)/g;t.$injector={get:function(e){return i[e]},has:function(e){return null!=t.$injector.get(e)},invoke:function(e,n,o){var a=r.extend({},i,o||{}),s=t.$injector.annotate(e),l=r.assertPredicate(function(e){return a.hasOwnProperty(e)},function(e){return"DI can't find injectable: '"+e+"'"}),c=s.filter(l).map(function(e){return a[e]});return r.isFunction(e)?e.apply(n,c):e.slice(-1)[0].apply(n,c)},annotate:function(e){if(!r.isInjectable(e))throw new Error("Not an injectable function: "+e);if(e&&e.$inject)return e.$inject;if(r.isArray(e))return e.slice(0,-1);var t=e.toString().replace(o,"");return t.slice(t.indexOf("(")+1,t.indexOf(")")).match(a)||[]}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(10);t.$q={when:function(e){return new Promise(function(t,n){return t(e)})},reject:function(e){return new Promise(function(t,n){n(e)})},defer:function(){var e={};return e.promise=new Promise(function(t,n){e.resolve=t,e.reject=n}),e},all:function(e){if(r.isArray(e))return Promise.all(e);if(r.isObject(e)){var n=Object.keys(e).map(function(t){return e[t].then(function(e){return{key:t,val:e}})});return t.$q.all(n).then(function(e){return e.reduce(function(e,t){return e[t.key]=t.val,e},{})})}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(24),i=function(){return function(e,t,n,i,o,a,s,l){void 0===o&&(o=!1),void 0===a&&(a=r.TransitionHook.HANDLE_RESULT),void 0===s&&(s=r.TransitionHook.REJECT_ERROR),void 0===l&&(l=!1),this.name=e,this.hookPhase=t,this.hookOrder=n,this.criteriaMatchPath=i,this.reverseSort=o,this.getResultHandler=a,this.getErrorHandler=s,this.synchronous=l}}();t.TransitionEventType=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(6),i=function(e){var t=e.router;var n=e.entering().filter(function(e){return!!e.$$state().lazyLoad}).map(function(t){return o(e,t)});return r.services.$q.all(n).then(function(){if("url"!==e.originalTransition().options().source){var n=e.targetState();return t.stateService.target(n.identifier(),n.params(),n.options())}var r=t.urlService,i=r.match(r.parts()),o=i&&i.rule;if(o&&"STATE"===o.type){var a=o.state,s=i.match;return t.stateService.target(a,s,e.options())}t.urlService.sync()})};function o(e,t){var n=t.$$state().lazyLoad,i=n._promise;if(!i){i=n._promise=r.services.$q.when(n(e,t)).then(function(t){t&&Array.isArray(t.states)&&t.states.forEach(function(t){return e.router.stateRegistry.register(t)});return t}).then(function(e){return delete t.lazyLoad,delete t.$$state().lazyLoad,delete n._promise,e},function(e){return delete n._promise,r.services.$q.reject(e)})}return i}t.registerLazyLoadHook=function(e){return e.onBefore({entering:function(e){return!!e.lazyLoad}},i)},t.lazyLoadState=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(6),i=n(0),o=function(e){return e.reduce(function(e,t){return e[t]=r.notImplemented(t),e},{dispose:i.noop})},a=["url","path","search","hash","onChange"],s=["port","protocol","host","baseHref","html5Mode","hashPrefix"],l=["type","caseInsensitive","strictMode","defaultSquashPolicy"],c=["sort","when","initial","otherwise","rules","rule","removeRule"],u=["deferIntercept","listen","sync","match"],d=function(){function e(e,t){void 0===t&&(t=!0),this.router=e,this.rules={},this.config={};var n=function(){return e.locationService};i.createProxyFunctions(n,this,n,a,t);var r=function(){return e.locationConfig};i.createProxyFunctions(r,this.config,r,s,t);var o=function(){return e.urlMatcherFactory};i.createProxyFunctions(o,this.config,o,l);var d=function(){return e.urlRouter};i.createProxyFunctions(d,this.rules,d,c),i.createProxyFunctions(d,this,d,u)}return e.prototype.url=function(e,t,n){},e.prototype.path=function(){},e.prototype.search=function(){},e.prototype.hash=function(){},e.prototype.onChange=function(e){},e.prototype.parts=function(){return{path:this.path(),search:this.search(),hash:this.hash()}},e.prototype.dispose=function(){},e.prototype.sync=function(e){},e.prototype.listen=function(e){},e.prototype.deferIntercept=function(e){},e.prototype.match=function(e){},e.locationServiceStub=o(a),e.locationConfigStub=o(s),e}();t.UrlService=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(72),i=n(38),o=function(){function e(){this.params=new r.StateParams,this.lastStartedTransitionId=-1,this.transitionHistory=new i.Queue([],1),this.successfulTransitions=new i.Queue([],1)}return e.prototype.dispose=function(){this.transitionHistory.clear(),this.successfulTransitions.clear(),this.transition=null},e}();t.UIRouterGlobals=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),i=n(3),o=n(1),a=n(14),s=function(){function e(){var e=this;this._uiViews=[],this._viewConfigs=[],this._viewConfigFactories={},this._listeners=[],this._pluginapi={_rootViewContext:this._rootViewContext.bind(this),_viewConfigFactory:this._viewConfigFactory.bind(this),_registeredUIViews:function(){return e._uiViews},_activeViewConfigs:function(){return e._viewConfigs},_onSync:function(t){return e._listeners.push(t),function(){return r.removeFrom(e._listeners,t)}}}}return e.normalizeUIViewTarget=function(e,t){void 0===t&&(t="");var n=t.split("@"),r=n[0]||"$default",i=o.isString(n[1])?n[1]:"^",a=/^(\^(?:\.\^)*)\.(.*$)/.exec(r);a&&(i=a[1],r=a[2]),"!"===r.charAt(0)&&(r=r.substr(1),i="");/^(\^(?:\.\^)*)$/.exec(i)?i=i.split(".").reduce(function(e,t){return e.parent},e).name:"."===i&&(i=e.name);return{uiViewName:r,uiViewContextAnchor:i}},e.prototype._rootViewContext=function(e){return this._rootContext=e||this._rootContext},e.prototype._viewConfigFactory=function(e,t){this._viewConfigFactories[e]=t},e.prototype.createViewConfig=function(e,t){var n=this._viewConfigFactories[t.$type];if(!n)throw new Error("ViewService: No view config factory registered for type "+t.$type);var r=n(e,t);return o.isArray(r)?r:[r]},e.prototype.deactivateViewConfig=function(e){a.trace.traceViewServiceEvent("<- Removing",e),r.removeFrom(this._viewConfigs,e)},e.prototype.activateViewConfig=function(e){a.trace.traceViewServiceEvent("-> Registering",e),this._viewConfigs.push(e)},e.prototype.sync=function(){var t=this,n=this._uiViews.map(function(e){return[e.fqn,e]}).reduce(r.applyPairs,{});function o(e){for(var t=e.viewDecl.$context,n=0;++n&&t.parent;)t=t.parent;return n}var s=i.curry(function(e,t,n,r){return t*(e(n)-e(r))}),l=this._uiViews.sort(s(function(e){var t=function(e){return e&&e.parent?t(e.parent)+1:1};return 1e4*e.fqn.split(".").length+t(e.creationContext)},1)).map(function(r){var i=t._viewConfigs.filter(e.matches(n,r));return i.length>1&&i.sort(s(o,-1)),{uiView:r,viewConfig:i[0]}}),c=l.map(function(e){return e.viewConfig}),u=this._viewConfigs.filter(function(e){return!r.inArray(c,e)}).map(function(e){return{uiView:void 0,viewConfig:e}});l.forEach(function(e){-1!==t._uiViews.indexOf(e.uiView)&&e.uiView.configUpdated(e.viewConfig)});var d=l.concat(u);this._listeners.forEach(function(e){return e(d)}),a.trace.traceViewSync(d)},e.prototype.registerUIView=function(e){a.trace.traceViewServiceUIViewEvent("-> Registering",e);var t=this._uiViews;return t.filter(function(t){return t.fqn===e.fqn&&t.$type===e.$type}).length&&a.trace.traceViewServiceUIViewEvent("!!!! duplicate uiView named:",e),t.push(e),this.sync(),function(){-1!==t.indexOf(e)?(a.trace.traceViewServiceUIViewEvent("<- Deregistering",e),r.removeFrom(t)(e)):a.trace.traceViewServiceUIViewEvent("Tried removing non-registered uiView",e)}},e.prototype.available=function(){return this._uiViews.map(i.prop("fqn"))},e.prototype.active=function(){return this._uiViews.filter(i.prop("$config")).map(i.prop("name"))},e.matches=function(e,t){return function(n){if(t.$type!==n.viewDecl.$type)return!1;var i=n.viewDecl,o=i.$uiViewName.split("."),a=t.fqn.split(".");if(!r.equals(o,a.slice(0-o.length)))return!1;var s=1-o.length||void 0,l=a.slice(0,s).join("."),c=e[l].creationContext;return i.$uiViewContextAnchor===(c&&c.name)}},e}();t.ViewService=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(27),i=n(1),o=n(0),a=n(3),s=function(){function e(e){this.router=e}return e.prototype.compile=function(e){return this.router.urlMatcherFactory.compile(e)},e.prototype.create=function(e,t){var n=this,o=a.pattern([[i.isString,function(e){return o(n.compile(e))}],[a.is(r.UrlMatcher),function(e){return n.fromUrlMatcher(e,t)}],[i.isState,function(e){return n.fromState(e,n.router)}],[a.is(RegExp),function(e){return n.fromRegExp(e,t)}],[i.isFunction,function(e){return new l(e,t)}]]),s=o(e);if(!s)throw new Error("invalid 'what' in when()");return s},e.prototype.fromUrlMatcher=function(e,t){var n=t;i.isString(t)&&(t=this.router.urlMatcherFactory.compile(t)),a.is(r.UrlMatcher)(t)&&(n=function(e){return t.format(e)});var s={urlMatcher:e,matchPriority:function(t){var n=e.parameters().filter(function(e){return e.isOptional});return n.length?n.filter(function(e){return t[e.id]}).length/n.length:1e-6},type:"URLMATCHER"};return o.extend(new l(function(t){var n=e.exec(t.path,t.search,t.hash);return e.validates(n)&&n},n),s)},e.prototype.fromState=function(e,t){var n={state:e,type:"STATE"};return o.extend(this.fromUrlMatcher(e.url,function(n){var r=t.stateService,i=t.globals;r.href(e,n)!==r.href(i.current,i.params)&&r.transitionTo(e,n,{inherit:!0,source:"url"})}),n)},e.prototype.fromRegExp=function(e,t){if(e.global||e.sticky)throw new Error("Rule RegExp must not be global or sticky");var n=i.isString(t)?function(e){return t.replace(/\$(\$|\d{1,2})/,function(t,n){return e["$"===n?0:Number(n)]})}:t,r={regexp:e,type:"REGEXP"};return o.extend(new l(function(t){return e.exec(t.path)},n),r)},e.isUrlRule=function(e){return e&&["type","match","handler"].every(function(t){return i.isDefined(e[t])})},e}();t.UrlRuleFactory=s;var l=function(){return function(e,t){var n=this;this.match=e,this.type="RAW",this.matchPriority=function(e){return 0-n.$id},this.handler=t||o.identity}}();t.BaseUrlRule=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),i=n(1),o=n(27),a=n(3),s=n(62),l=n(18),c=n(10);var u;u=function(e,t){var n=function(e,t){return(t.priority||0)-(e.priority||0)}(e,t);return 0!==n?n:0!==(n=function(e,t){var n={STATE:4,URLMATCHER:4,REGEXP:3,RAW:2,OTHER:1};return(n[e.type]||0)-(n[t.type]||0)}(e,t))?n:0!==(n=function(e,t){return e.urlMatcher&&t.urlMatcher?o.UrlMatcher.compare(e.urlMatcher,t.urlMatcher):0}(e,t))?n:function(e,t){var n={STATE:!0,URLMATCHER:!0};return n[e.type]&&n[t.type]?0:(e.$id||0)-(t.$id||0)}(e,t)};var d=function(){function e(t){this._sortFn=u,this._rules=[],this.interceptDeferred=!1,this._id=0,this._sorted=!1,this._router=t,this.urlRuleFactory=new s.UrlRuleFactory(t),r.createProxyFunctions(a.val(e.prototype),this,a.val(this))}return e.prototype.dispose=function(){this.listen(!1),this._rules=[],delete this._otherwiseFn},e.prototype.sort=function(e){this._rules=this.stableSort(this._rules,this._sortFn=e||this._sortFn),this._sorted=!0},e.prototype.ensureSorted=function(){this._sorted||this.sort()},e.prototype.stableSort=function(e,t){var n=e.map(function(e,t){return{elem:e,idx:t}});return n.sort(function(e,n){var r=t(e.elem,n.elem);return 0===r?e.idx-n.idx:r}),n.map(function(e){return e.elem})},e.prototype.match=function(e){var t=this;this.ensureSorted(),e=r.extend({path:"",search:{},hash:""},e);var n=this.rules();this._otherwiseFn&&n.push(this._otherwiseFn);for(var i,o=function(n){var r=n.match(e,t._router);return r&&{match:r,rule:n,weight:n.matchPriority(r)}},a=0;a<n.length&&(!i||0===this._sortFn(n[a],i.rule));a++){var s=o(n[a]);i=!i||s&&s.weight>i.weight?s:i}return i},e.prototype.sync=function(e){if(!e||!e.defaultPrevented){var t=this._router,n=t.urlService,r=t.stateService,o={path:n.path(),search:n.search(),hash:n.hash()},s=this.match(o);a.pattern([[i.isString,function(e){return n.url(e,!0)}],[l.TargetState.isDef,function(e){return r.go(e.state,e.params,e.options)}],[a.is(l.TargetState),function(e){return r.go(e.state(),e.params(),e.options())}]])(s&&s.rule.handler(s.match,o,t))}},e.prototype.listen=function(e){var t=this;if(!1!==e)return this._stopFn=this._stopFn||this._router.urlService.onChange(function(e){return t.sync(e)});this._stopFn&&this._stopFn(),delete this._stopFn},e.prototype.update=function(e){var t=this._router.locationService;e?this.location=t.url():t.url()!==this.location&&t.url(this.location,!0)},e.prototype.push=function(e,t,n){var r=n&&!!n.replace;this._router.urlService.url(e.format(t||{}),r)},e.prototype.href=function(e,t,n){var r=e.format(t);if(null==r)return null;n=n||{absolute:!1};var i=this._router.urlService.config,o=i.html5Mode();if(o||null===r||(r="#"+i.hashPrefix()+r),r=function(e,t,n,r){return"/"===r?e:t?c.stripLastPathElement(r)+e:n?r.slice(1)+e:e}(r,o,n.absolute,i.baseHref()),!n.absolute||!r)return r;var a=!o&&r?"/":"",s=i.port(),l=80===s||443===s?"":":"+s;return[i.protocol(),"://",i.host(),l,a,r].join("")},e.prototype.rule=function(e){var t=this;if(!s.UrlRuleFactory.isUrlRule(e))throw new Error("invalid rule");return e.$id=this._id++,e.priority=e.priority||0,this._rules.push(e),this._sorted=!1,function(){return t.removeRule(e)}},e.prototype.removeRule=function(e){r.removeFrom(this._rules,e)},e.prototype.rules=function(){return this.ensureSorted(),this._rules.slice()},e.prototype.otherwise=function(e){var t=p(e);this._otherwiseFn=this.urlRuleFactory.create(a.val(!0),t),this._sorted=!1},e.prototype.initial=function(e){var t=p(e);this.rule(this.urlRuleFactory.create(function(e,t){return 0===t.globals.transitionHistory.size()&&!!/^\/?$/.exec(e.path)},t))},e.prototype.when=function(e,t,n){var r=this.urlRuleFactory.create(e,t);return i.isDefined(n&&n.priority)&&(r.priority=n.priority),this.rule(r),r},e.prototype.deferIntercept=function(e){void 0===e&&(e=!0),this.interceptDeferred=e},e}();function p(e){if(!(i.isFunction(e)||i.isString(e)||a.is(l.TargetState)(e)||l.TargetState.isDef(e)))throw new Error("'handler' must be a string, function, TargetState, or have a state: 'newtarget' property");return i.isFunction(e)?e:a.val(e)}t.UrlRouter=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),i=n(1),o=n(27),a=n(17),s=n(73),l=function(){function e(){var e=this;this.paramTypes=new s.ParamTypes,this._isCaseInsensitive=!1,this._isStrictMode=!0,this._defaultSquashPolicy=!1,this.paramFactory={fromConfig:function(t,n,r){return new a.Param(t,n,r,a.DefType.CONFIG,e)},fromPath:function(t,n,r){return new a.Param(t,n,r,a.DefType.PATH,e)},fromSearch:function(t,n,r){return new a.Param(t,n,r,a.DefType.SEARCH,e)}},this._getConfig=function(t){return r.extend({strict:e._isStrictMode,caseInsensitive:e._isCaseInsensitive},t)},r.extend(this,{UrlMatcher:o.UrlMatcher,Param:a.Param})}return e.prototype.caseInsensitive=function(e){return this._isCaseInsensitive=i.isDefined(e)?e:this._isCaseInsensitive},e.prototype.strictMode=function(e){return this._isStrictMode=i.isDefined(e)?e:this._isStrictMode},e.prototype.defaultSquashPolicy=function(e){if(i.isDefined(e)&&!0!==e&&!1!==e&&!i.isString(e))throw new Error("Invalid squash policy: "+e+". Valid policies: false, true, arbitrary-string");return this._defaultSquashPolicy=i.isDefined(e)?e:this._defaultSquashPolicy},e.prototype.compile=function(e,t){return new o.UrlMatcher(e,this.paramTypes,this.paramFactory,this._getConfig(t))},e.prototype.isMatcher=function(e){if(!i.isObject(e))return!1;var t=!0;return r.forEach(o.UrlMatcher.prototype,function(n,r){i.isFunction(n)&&(t=t&&i.isDefined(e[r])&&i.isFunction(e[r]))}),t},e.prototype.type=function(e,t,n){var r=this.paramTypes.type(e,t,n);return i.isDefined(t)?this:r},e.prototype.$get=function(){return this.paramTypes.enqueue=!1,this.paramTypes._flushTypeQueue(),this},e.prototype.dispose=function(){this.paramTypes.dispose()},e}();t.UrlMatcherFactory=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(64),i=n(63),o=n(34),a=n(61),s=n(67),l=n(66),c=n(60),u=n(0),d=n(1),p=n(59),f=n(14),h=0,g=function(){function e(e,t){void 0===e&&(e=p.UrlService.locationServiceStub),void 0===t&&(t=p.UrlService.locationConfigStub),this.locationService=e,this.locationConfig=t,this.$id=h++,this._disposed=!1,this._disposables=[],this.trace=f.trace,this.viewService=new a.ViewService,this.globals=new c.UIRouterGlobals,this.transitionService=new o.TransitionService(this),this.urlMatcherFactory=new r.UrlMatcherFactory,this.urlRouter=new i.UrlRouter(this),this.stateRegistry=new s.StateRegistry(this),this.stateService=new l.StateService(this),this.urlService=new p.UrlService(this),this._plugins={},this.viewService._pluginapi._rootViewContext(this.stateRegistry.root()),this.globals.$current=this.stateRegistry.root(),this.globals.current=this.globals.$current.self,this.disposable(this.globals),this.disposable(this.stateService),this.disposable(this.stateRegistry),this.disposable(this.transitionService),this.disposable(this.urlRouter),this.disposable(e),this.disposable(t)}return e.prototype.disposable=function(e){this._disposables.push(e)},e.prototype.dispose=function(e){var t=this;e&&d.isFunction(e.dispose)?e.dispose(this):(this._disposed=!0,this._disposables.slice().forEach(function(e){try{"function"==typeof e.dispose&&e.dispose(t),u.removeFrom(t._disposables,e)}catch(e){}}))},e.prototype.plugin=function(e,t){void 0===t&&(t={});var n=new e(this,t);if(!n.name)throw new Error("Required property `name` missing on plugin: "+n);return this._disposables.push(n),this._plugins[n.name]=n},e.prototype.getPlugin=function(e){return e?this._plugins[e]:u.values(this._plugins)},e}();t.UIRouter=g},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),i=n(1),o=n(38),a=n(6),s=n(29),l=n(36),c=n(34),u=n(20),d=n(18),p=n(17),f=n(39),h=n(28),g=n(58),m=n(3),v=function(){function e(t){this.router=t,this.invalidCallbacks=[],this._defaultErrorHandler=function(e){e instanceof Error&&e.stack?(console.error(e),console.error(e.stack)):e instanceof u.Rejection?(console.error(e.toString()),e.detail&&e.detail.stack&&console.error(e.detail.stack)):console.error(e)};var n=Object.keys(e.prototype).filter(m.not(r.inArray(["current","$current","params","transition"])));r.createProxyFunctions(m.val(e.prototype),this,m.val(this),n)}return Object.defineProperty(e.prototype,"transition",{get:function(){return this.router.globals.transition},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"params",{get:function(){return this.router.globals.params},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"current",{get:function(){return this.router.globals.current},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"$current",{get:function(){return this.router.globals.$current},enumerable:!0,configurable:!0}),e.prototype.dispose=function(){this.defaultErrorHandler(r.noop),this.invalidCallbacks=[]},e.prototype._handleInvalidTargetState=function(e,t){var n=this,r=s.PathUtils.makeTargetState(this.router.stateRegistry,e),i=this.router.globals,l=function(){return i.transitionHistory.peekTail()},c=l(),p=new o.Queue(this.invalidCallbacks.slice()),f=new h.ResolveContext(e).injector(),g=function(e){if(e instanceof d.TargetState){var t=e;return(t=n.target(t.identifier(),t.params(),t.options())).valid()?l()!==c?u.Rejection.superseded().toPromise():n.transitionTo(t.identifier(),t.params(),t.options()):u.Rejection.invalid(t.error()).toPromise()}};return function e(){var n=p.dequeue();return void 0===n?u.Rejection.invalid(t.error()).toPromise():a.services.$q.when(n(t,r,f)).then(g).then(function(t){return t||e()})}()},e.prototype.onInvalid=function(e){return this.invalidCallbacks.push(e),function(){r.removeFrom(this.invalidCallbacks)(e)}.bind(this)},e.prototype.reload=function(e){return this.transitionTo(this.current,this.params,{reload:!i.isDefined(e)||e,inherit:!1,notify:!1})},e.prototype.go=function(e,t,n){var i={relative:this.$current,inherit:!0},o=r.defaults(n,i,c.defaultTransOpts);return this.transitionTo(e,t,o)},e.prototype.target=function(e,t,n){if(void 0===n&&(n={}),i.isObject(n.reload)&&!n.reload.name)throw new Error("Invalid reload state object");var r=this.router.stateRegistry;if(n.reloadState=!0===n.reload?r.root():r.matcher.find(n.reload,n.relative),n.reload&&!n.reloadState)throw new Error("No such reload state '"+(i.isString(n.reload)?n.reload:n.reload.name)+"'");return new d.TargetState(this.router.stateRegistry,e,t,n)},e.prototype.getCurrentPath=function(){var e=this,t=this.router.globals.successfulTransitions.peekTail();return t?t.treeChanges().to:[new l.PathNode(e.router.stateRegistry.root())]},e.prototype.transitionTo=function(e,t,n){var i=this;void 0===t&&(t={}),void 0===n&&(n={});var o=this.router,s=o.globals;n=r.defaults(n,c.defaultTransOpts);n=r.extend(n,{current:function(){return s.transition}});var l=this.target(e,t,n),p=this.getCurrentPath();if(!l.exists())return this._handleInvalidTargetState(p,l);if(!l.valid())return r.silentRejection(l.error());var f=function(e){return function(t){if(t instanceof u.Rejection){var n=o.globals.lastStartedTransitionId===e.$id;if(t.type===u.RejectType.IGNORED)return n&&o.urlRouter.update(),a.services.$q.when(s.current);var r=t.detail;if(t.type===u.RejectType.SUPERSEDED&&t.redirected&&r instanceof d.TargetState){var l=e.redirect(r);return l.run().catch(f(l))}if(t.type===u.RejectType.ABORTED)return n&&o.urlRouter.update(),a.services.$q.reject(t)}return i.defaultErrorHandler()(t),a.services.$q.reject(t)}},h=this.router.transitionService.create(p,l),g=h.run().catch(f(h));return r.silenceUncaughtInPromise(g),r.extend(g,{transition:h})},e.prototype.is=function(e,t,n){n=r.defaults(n,{relative:this.$current});var o=this.router.stateRegistry.matcher.find(e,n.relative);if(i.isDefined(o)){if(this.$current!==o)return!1;if(!t)return!0;var a=o.parameters({inherit:!0,matchingKeys:t});return p.Param.equals(a,p.Param.values(a,t),this.params)}},e.prototype.includes=function(e,t,n){n=r.defaults(n,{relative:this.$current});var o=i.isString(e)&&f.Glob.fromString(e);if(o){if(!o.matches(this.$current.name))return!1;e=this.$current.name}var a=this.router.stateRegistry.matcher.find(e,n.relative),s=this.$current.includes;if(i.isDefined(a)){if(!i.isDefined(s[a.name]))return!1;if(!t)return!0;var l=a.parameters({inherit:!0,matchingKeys:t});return p.Param.equals(l,p.Param.values(l,t),this.params)}},e.prototype.href=function(e,t,n){var o={lossy:!0,inherit:!0,absolute:!1,relative:this.$current};n=r.defaults(n,o),t=t||{};var a=this.router.stateRegistry.matcher.find(e,n.relative);if(!i.isDefined(a))return null;n.inherit&&(t=this.params.$inherit(t,this.$current,a));var s=a&&n.lossy?a.navigable:a;return s&&void 0!==s.url&&null!==s.url?this.router.urlRouter.href(s.url,t,{absolute:n.absolute}):null},e.prototype.defaultErrorHandler=function(e){return this._defaultErrorHandler=e||this._defaultErrorHandler},e.prototype.get=function(e,t){var n=this.router.stateRegistry;return 0===arguments.length?n.get():n.get(e,t||this.$current)},e.prototype.lazyLoad=function(e,t){var n=this.get(e);if(!n||!n.lazyLoad)throw new Error("Can not lazy load "+e);var r=this.getCurrentPath(),i=s.PathUtils.makeTargetState(this.router.stateRegistry,r);return t=t||this.router.transitionService.create(r,i),g.lazyLoadState(t,n)},e}();t.StateService=v},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(69),i=n(70),o=n(68),a=n(0),s=n(3),l=function(){function e(e){this._router=e,this.states={},this.listeners=[],this.matcher=new r.StateMatcher(this.states),this.builder=new i.StateBuilder(this.matcher,e.urlMatcherFactory),this.stateQueue=new o.StateQueueManager(this,e.urlRouter,this.states,this.builder,this.listeners),this._registerRoot()}return e.prototype._registerRoot=function(){(this._root=this.stateQueue.register({name:"",url:"^",views:null,params:{"#":{value:null,type:"hash",dynamic:!0}},abstract:!0})).navigable=null},e.prototype.dispose=function(){var e=this;this.stateQueue.dispose(),this.listeners=[],this.get().forEach(function(t){return e.get(t)&&e.deregister(t)})},e.prototype.onStatesChanged=function(e){return this.listeners.push(e),function(){a.removeFrom(this.listeners)(e)}.bind(this)},e.prototype.root=function(){return this._root},e.prototype.register=function(e){return this.stateQueue.register(e)},e.prototype._deregisterTree=function(e){var t=this,n=this.get().map(function(e){return e.$$state()}),r=function(e){var t=n.filter(function(t){return-1!==e.indexOf(t.parent)});return 0===t.length?t:t.concat(r(t))},i=r([e]),o=[e].concat(i).reverse();return o.forEach(function(e){var n=t._router.urlRouter;n.rules().filter(s.propEq("state",e)).forEach(n.removeRule.bind(n)),delete t.states[e.name]}),o},e.prototype.deregister=function(e){var t=this.get(e);if(!t)throw new Error("Can't deregister state; not found: "+e);var n=this._deregisterTree(t.$$state());return this.listeners.forEach(function(e){return e("deregistered",n.map(function(e){return e.self}))}),n},e.prototype.get=function(e,t){var n=this;if(0===arguments.length)return Object.keys(this.states).map(function(e){return n.states[e].self});var r=this.matcher.find(e,t);return r&&r.self||null},e.prototype.decorator=function(e,t){return this.builder.builder(e,t)},e}();t.StateRegistry=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),i=n(1),o=n(40),a=n(3),s=function(){function e(e,t,n,r,i){this.$registry=e,this.$urlRouter=t,this.states=n,this.builder=r,this.listeners=i,this.queue=[],this.matcher=e.matcher}return e.prototype.dispose=function(){this.queue=[]},e.prototype.register=function(e){var t=this.queue,n=o.StateObject.create(e),s=n.name;if(!i.isString(s))throw new Error("State must have a valid name");if(this.states.hasOwnProperty(s)||r.inArray(t.map(a.prop("name")),s))throw new Error("State '"+s+"' is already defined");return t.push(n),this.flush(),n},e.prototype.flush=function(){for(var e=this,t=this.queue,n=this.states,r=this.builder,i=[],o=[],a={},s=function(t){return e.states.hasOwnProperty(t)&&e.states[t]},l=function(){i.length&&e.listeners.forEach(function(e){return e("registered",i.map(function(e){return e.self}))})};t.length>0;){var c=t.shift(),u=c.name,d=r.build(c),p=o.indexOf(c);if(d){var f=s(u);if(f&&f.name===u)throw new Error("State '"+u+"' is already defined");var h=s(u+".**");h&&this.$registry.deregister(h),n[u]=c,this.attachRoute(c),p>=0&&o.splice(p,1),i.push(c)}else{var g=a[u];if(a[u]=t.length,p>=0&&g===t.length)return t.push(c),l(),n;p<0&&o.push(c),t.push(c)}}return l(),n},e.prototype.attachRoute=function(e){!e.abstract&&e.url&&this.$urlRouter.rule(this.$urlRouter.urlRuleFactory.create(e))},e}();t.StateQueueManager=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),i=n(0),o=function(){function e(e){this._states=e}return e.prototype.isRelative=function(e){return 0===(e=e||"").indexOf(".")||0===e.indexOf("^")},e.prototype.find=function(e,t,n){if(void 0===n&&(n=!0),e||""===e){var o=r.isString(e),a=o?e:e.name;this.isRelative(a)&&(a=this.resolvePath(a,t));var s=this._states[a];if(s&&(o||!(o||s!==e&&s.self!==e)))return s;if(o&&n){var l=i.values(this._states).filter(function(e){return e.__stateObjectCache.nameGlob&&e.__stateObjectCache.nameGlob.matches(a)});return l.length>1&&console.log("stateMatcher.find: Found multiple matches for "+a+" using glob: ",l.map(function(e){return e.name})),l[0]}}},e.prototype.resolvePath=function(e,t){if(!t)throw new Error("No reference point given for path '"+e+"'");for(var n=this.find(t),r=e.split("."),i=r.length,o=0,a=n;o<i;o++)if(""!==r[o]||0!==o){if("^"!==r[o])break;if(!a.parent)throw new Error("Path '"+e+"' not valid for state '"+n.name+"'");a=a.parent}else a=n;var s=r.slice(o).join(".");return a.name+(a.name&&s?".":"")+s},e}();t.StateMatcher=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),i=n(1),o=n(12),a=n(3),s=n(23),l=n(6);function c(e){return e.name}function u(e){return e.self.$$state=function(){return e},e.self}function d(e){return e.parent&&e.parent.data&&(e.data=e.self.data=r.inherit(e.parent.data,e.data)),e.data}var p=function(e,t){return function(n){var o=n;o&&o.url&&o.name&&o.name.match(/\.\*\*$/)&&(o.url+="{remainder:any}");var a=function(e){if(!i.isString(e))return!1;var t="^"===e.charAt(0);return{val:t?e.substring(1):e,root:t}}(o.url),s=n.parent,l=a?e.compile(a.val,{params:n.params||{},paramMap:function(e,t){return!1===o.reloadOnSearch&&t&&(e=r.extend(e||{},{dynamic:!0})),e}}):o.url;if(!l)return null;if(!e.isMatcher(l))throw new Error("Invalid url '"+l+"' in state '"+n+"'");return a&&a.root?l:(s&&s.navigable||t()).url.append(l)}},f=function(e){return function(t){return!e(t)&&t.url?t:t.parent?t.parent.navigable:null}},h=function(e){return function(t){var n=t.url&&t.url.parameters({inherit:!1})||[],i=r.values(r.mapObj(r.omit(t.params||{},n.map(a.prop("id"))),function(t,n){return e.fromConfig(n,null,t)}));return n.concat(i).map(function(e){return[e.id,e]}).reduce(r.applyPairs,{})}};function g(e){return e.parent?e.parent.path.concat(e):[e]}function m(e){var t=e.parent?r.extend({},e.parent.includes):{};return t[e.name]=!0,t}function v(e){var t=function(e){return e.provide||e.token},n=a.pattern([[a.prop("resolveFn"),function(e){return new s.Resolvable(t(e),e.resolveFn,e.deps,e.policy)}],[a.prop("useFactory"),function(e){return new s.Resolvable(t(e),e.useFactory,e.deps||e.dependencies,e.policy)}],[a.prop("useClass"),function(e){return new s.Resolvable(t(e),function(){return new e.useClass},[],e.policy)}],[a.prop("useValue"),function(e){return new s.Resolvable(t(e),function(){return e.useValue},[],e.policy,e.useValue)}],[a.prop("useExisting"),function(e){return new s.Resolvable(t(e),r.identity,[e.useExisting],e.policy)}]]),c=a.pattern([[a.pipe(a.prop("val"),i.isString),function(e){return new s.Resolvable(e.token,r.identity,[e.val],e.policy)}],[a.pipe(a.prop("val"),i.isArray),function(e){return new s.Resolvable(e.token,r.tail(e.val),e.val.slice(0,-1),e.policy)}],[a.pipe(a.prop("val"),i.isFunction),function(e){return new s.Resolvable(e.token,e.val,function(e){var t=l.services.$injector;return e.$inject||t&&t.annotate(e,t.strictDi)||"deferred"}(e.val),e.policy)}]]),u=a.pattern([[a.is(s.Resolvable),function(e){return e}],[function(e){return!(!e.token||!e.resolveFn)},n],[function(e){return!(!e.provide&&!e.token||!(e.useValue||e.useFactory||e.useExisting||e.useClass))},n],[function(e){return!!(e&&e.val&&(i.isString(e.val)||i.isArray(e.val)||i.isFunction(e.val)))},c],[a.val(!0),function(e){throw new Error("Invalid resolve value: "+o.stringify(e))}]]),d=e.resolve;return(i.isArray(d)?d:function(e,t){return Object.keys(e||{}).map(function(n){return{token:n,val:e[n],deps:void 0,policy:t[n]}})}(d,e.resolvePolicy||{})).map(u)}t.resolvablesBuilder=v;var b=function(){function e(e,t){this.matcher=e;var n=this,r=function(){return e.find("")},i=function(e){return""===e.name};this.builders={name:[c],self:[u],parent:[function(t){return i(t)?null:e.find(n.parentName(t))||r()}],data:[d],url:[p(t,r)],navigable:[f(i)],params:[h(t.paramFactory)],views:[],path:[g],includes:[m],resolvables:[v]}}return e.prototype.builder=function(e,t){var n=this.builders,r=n[e]||[];return i.isString(e)&&!i.isDefined(t)?r.length>1?r:r[0]:i.isString(e)&&i.isFunction(t)?(n[e]=r,n[e].push(t),function(){return n[e].splice(n[e].indexOf(t,1))&&null}):void 0},e.prototype.build=function(e){var t=this.matcher,n=this.builders,i=this.parentName(e);if(i&&!t.find(i,void 0,!1))return null;for(var o in n)if(n.hasOwnProperty(o)){var a=n[o].reduce(function(e,t){return function(n){return t(n,e)}},r.noop);e[o]=a(e)}return e},e.prototype.parentName=function(e){var t=e.name||"",n=t.split(".");if("**"===n.pop()&&n.pop(),n.length){if(e.parent)throw new Error("States that specify the 'parent:' property should not have a '.' in their name ("+t+")");return n.join(".")}return e.parent?i.isString(e.parent)?e.parent:e.parent.name:""},e.prototype.name=function(e){var t=e.name;if(-1!==t.indexOf(".")||!e.parent)return t;var n=i.isString(e.parent)?e.parent:e.parent.name;return n?n+"."+t:t},e}();t.StateBuilder=b},function(e,t,n){"use strict";function r(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),r(n(74)),r(n(23)),r(n(28))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),i=function(){function e(e){void 0===e&&(e={}),r.extend(this,e)}return e.prototype.$inherit=function(e,t,n){var i,o=r.ancestors(t,n),a={},s=[];for(var l in o)if(o[l]&&o[l].params&&(i=Object.keys(o[l].params)).length)for(var c in i)s.indexOf(i[c])>=0||(s.push(i[c]),a[i[c]]=this[i[c]]);return r.extend({},a,e)},e}();t.StateParams=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),i=n(1),o=n(3),a=n(6),s=n(35),l=function(){function e(){this.enqueue=!0,this.typeQueue=[],this.defaultTypes=r.pick(e.prototype,["hash","string","query","path","int","bool","date","json","any"]);this.types=r.inherit(r.map(this.defaultTypes,function(e,t){return new s.ParamType(r.extend({name:t},e))}),{})}return e.prototype.dispose=function(){this.types={}},e.prototype.type=function(e,t,n){if(!i.isDefined(t))return this.types[e];if(this.types.hasOwnProperty(e))throw new Error("A type named '"+e+"' has already been defined.");return this.types[e]=new s.ParamType(r.extend({name:e},t)),n&&(this.typeQueue.push({name:e,def:n}),this.enqueue||this._flushTypeQueue()),this},e.prototype._flushTypeQueue=function(){for(;this.typeQueue.length;){var e=this.typeQueue.shift();if(e.pattern)throw new Error("You cannot override a type's .pattern at runtime.");r.extend(this.types[e.name],a.services.$injector.invoke(e.def))}},e}();t.ParamTypes=l,function(){var e=function(e){var t=function(e){return null!=e?e.toString():e},n={encode:t,decode:t,is:o.is(String),pattern:/.*/,equals:function(e,t){return e==t}};return r.extend({},n,e)};r.extend(l.prototype,{string:e({}),path:e({pattern:/[^/]*/}),query:e({}),hash:e({inherit:!1}),int:e({decode:function(e){return parseInt(e,10)},is:function(e){return!i.isNullOrUndefined(e)&&this.decode(e.toString())===e},pattern:/-?\d+/}),bool:e({encode:function(e){return e?1:0},decode:function(e){return 0!==parseInt(e,10)},is:o.is(Boolean),pattern:/0|1/}),date:e({encode:function(e){return this.is(e)?[e.getFullYear(),("0"+(e.getMonth()+1)).slice(-2),("0"+e.getDate()).slice(-2)].join("-"):void 0},decode:function(e){if(this.is(e))return e;var t=this.capture.exec(e);return t?new Date(t[1],t[2]-1,t[3]):void 0},is:function(e){return e instanceof Date&&!isNaN(e.valueOf())},equals:function(e,t){return["getFullYear","getMonth","getDate"].reduce(function(n,r){return n&&e[r]()===t[r]()},!0)},pattern:/[0-9]{4}-(?:0[1-9]|1[0-2])-(?:0[1-9]|[1-2][0-9]|3[0-1])/,capture:/([0-9]{4})-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])/}),json:e({encode:r.toJson,decode:r.fromJson,is:o.is(Object),equals:r.equals,pattern:/[^/]*/}),any:e({encode:r.identity,decode:r.identity,is:function(){return!0},equals:r.equals})})}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resolvePolicies={when:{LAZY:"LAZY",EAGER:"EAGER"},async:{WAIT:"WAIT",NOWAIT:"NOWAIT",RXWAIT:"RXWAIT"}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),i=n(1),o=n(19),a=n(24),s=function(){function e(e){this.transition=e}return e.prototype.buildHooksForPhase=function(e){var t=this;return this.transition.router.transitionService._pluginapi._getEvents(e).map(function(e){return t.buildHooks(e)}).reduce(r.unnestR,[]).filter(r.identity)},e.prototype.buildHooks=function(e){var t=this.transition,n=t.treeChanges(),i=this.getMatchingHooks(e,n);if(!i)return[];var s={transition:t,current:t.options().current};return i.map(function(i){return i.matches(n)[e.criteriaMatchPath.name].map(function(n){var l=r.extend({bind:i.bind,traceData:{hookType:e.name,context:n}},s),c=e.criteriaMatchPath.scope===o.TransitionHookScope.STATE?n.state.self:null,u=new a.TransitionHook(t,c,i,l);return{hook:i,node:n,transitionHook:u}})}).reduce(r.unnestR,[]).sort(function(e){void 0===e&&(e=!1);return function(t,n){var r=e?-1:1,i=(t.node.state.path.length-n.node.state.path.length)*r;return 0!==i?i:n.hook.priority-t.hook.priority}}(e.reverseSort)).map(function(e){return e.transitionHook})},e.prototype.getMatchingHooks=function(e,t){var n=e.hookPhase===o.TransitionHookPhase.CREATE,a=this.transition.router.transitionService;return(n?[a]:[this.transition,a]).map(function(t){return t.getHooks(e.name)}).filter(r.assertPredicate(i.isArray,"broken event named: "+e.name)).reduce(r.unnestR,[]).filter(function(e){return e.matches(t)})},e}();t.HookBuilder=s},function(e,t,n){"use strict";n.r(t);var r=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===i}(e)}(e)};var i="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function o(e,t){return!1!==t.clone&&t.isMergeableObject(e)?s(function(e){return Array.isArray(e)?[]:{}}(e),e,t):e}function a(e,t,n){return e.concat(t).map(function(e){return o(e,n)})}function s(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||a,n.isMergeableObject=n.isMergeableObject||r;var i=Array.isArray(t);return i===Array.isArray(e)?i?n.arrayMerge(e,t,n):function(e,t,n){var r={};return n.isMergeableObject(e)&&Object.keys(e).forEach(function(t){r[t]=o(e[t],n)}),Object.keys(t).forEach(function(i){n.isMergeableObject(t[i])&&e[i]?r[i]=s(e[i],t[i],n):r[i]=o(t[i],n)}),r}(e,t,n):o(t,n)}s.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(e,n){return s(e,n,t)},{})};var l=s;const c=n(4);n(8);c.module("dbt").factory("project",["$q","$http",function(e,t){var n={project:{},tree:{project:[],database:[],sources:[]},files:{manifest:{},catalog:{},run_results:{}},loaded:e.defer()};function r(e,t){return _.each(e.nodes,function(e,n){var r=t.nodes[n];if(r){var i=function(e,t){var n={};return _.each(t,function(t,r){var i=_.find(e,function(e){return e.toLowerCase()==r.toLowerCase()});i?n[i]=t:n[r]=t}),n}(_.keys(r.columns),e.columns);e.columns=i}}),l(t,e)}function i(e,n){return t({method:"GET",url:n}).then(function(t){return{label:e,data:t.data}},function(t){console.error(t),alert("dbt Docs was unable to load the "+e+" file at path: \n  "+n+"\n\nError: "+t.statusText+" ("+t.status+")\n\nThe dbt Docs site may not work as expected if this file cannot be found.Please try again, and contact support if this error persists.")})}return n.find_by_id=function(e,t){n.ready(function(){if(e){var r=n.node(e);t(r)}})},n.node=function(e){return _.find(n.project.nodes,{unique_id:e})},n.loadProject=function(){var t="?cb="+(new Date).getTime(),o=[i("manifest","manifest.json"+t),i("catalog","catalog.json"+t),i("run_results","run_results.json"+t)];e.all(o).then(function(e){_.each(e,function(e){e?n.files[e.label]=e.data:console.error("FILE FAILED TO LOAD!")}),_.each(n.files.manifest.nodes,function(e){"source"==e.resource_type?e.label=e.source_name+"."+e.name:e.label=e.name});var t=n.files.manifest.metadata.adapter_type,i=function(e,t){var n=e||[],r={};_.each(n,function(e){r[e.package_name]||(r[e.package_name]={}),r[e.package_name][e.name]=e});var e=[];return _.each(r,function(n,r){if("dbt"!=r&&r!="dbt_"+t){var i=function(e,t){var n={};_.each(e,function(e){e.macro_sql.match(/{{\s*adapter_macro\([^)]+\)\s+}}/)&&(e.impls={"Adapter Macro":e.macro_sql},e.is_adapter_macro=!0,n[e.name]=e)});var r=["postgres","redshift","bigquery","snowflake","spark","presto","default"],i=_.values(n),o=_.filter(e,function(e){var t=e.name.split("__"),i=t.shift(),o=t.join("__");return!(r.indexOf(i)>=0&&n[o]&&(n[o].impls[i]=e.macro_sql,e.is_adapter_macro_impl=!0,1))});return i.concat(o)}(n);e=e.concat(i)}}),_.indexBy(e,"unique_id")}(n.files.manifest.macros,t);n.files.manifest.macros=i;var o=r(n.files.manifest,n.files.catalog),a=function(e,t){return t?(_.each(t.results,function(t){var n=t.node;if(n){var r=n.unique_id;n.injected_sql,e.nodes[r]&&(e.nodes[r].injected_sql=n.injected_sql)}}),e):e}(o,n.files.run_results),s=a.nodes,l=_.indexBy(s,"name"),c=_.where(a.nodes,{resource_type:"test"});_.each(c,function(e){if(-1!=e.tags.indexOf("schema")){var t,n={test_name:t=e.test_metadata.namespace?e.test_metadata.namespace+"."+e.test_metadata.name:e.test_metadata.name};if("not_null"==e.test_metadata.name)n.short="N",n.label="Not Null";else if("unique"==e.test_metadata.name)n.short="U",n.label="Unique";else if("relationships"==e.test_metadata.name){var r=e.refs[1],i=l[r];i&&e.test_metadata.kwargs.field&&(n.fk_field=e.test_metadata.kwargs.field,n.fk_model=i),n.short="F",n.label="Foreign Key"}else if("accepted_values"==e.test_metadata.name){if(Array.isArray(e.test_metadata.kwargs.values))var a=e.test_metadata.kwargs.values.join(", ");else a=JSON.stringify(e.test_metadata.kwargs.values);n.short="A",n.label="Accepted Values: "+a}else{var s=_.omit(e.test_metadata.kwargs,"column_name");n.short="+",n.label=t+"("+JSON.stringify(s)+")"}var c=e.depends_on.nodes,u=e.column_name||e.test_metadata.kwargs.column_name||e.test_metadata.kwargs.arg;if(c.length&&u){var d=c[0],p=o.nodes[d],f=_.find(p.columns,function(e,t){return t.toLowerCase()==u.toLowerCase()});f&&(f.tests=f.tests||[],f.tests.push(n))}}}),n.project=a;var u=_.filter(n.project.macros,function(e){return!e.is_adapter_macro_impl}),d=_.filter(n.project.nodes,function(e){return _.includes(["model","source","seed","snapshot","analysis"],e.resource_type)});n.project.searchable=d.concat(u),n.loaded.resolve()})},n.ready=function(e){n.loaded.promise.then(function(){e(n.project)})},n.search=function(e){if(0==e.length)return _.map(n.project.searchable,function(e){return{model:e,matches:[]}});var t=[];return _.each(n.project.searchable,function(n){var r=function(e,t){var n=[],r={name:"string",description:"string",columns:"object",tags:"array",arguments:"array"};for(var i in new RegExp(e,"i"),r)if(t[i])if("string"===r[i]&&-1!=t[i].toLowerCase().indexOf(e.toLowerCase()))n.push({key:i,value:e});else if("object"===r[i])for(var o in t[i])-1!=t[i][o].name.toLowerCase().indexOf(e.toLowerCase())&&n.push({key:i,value:e});else if("array"===r[i])for(var a of t[i])-1!=JSON.stringify(a).toLowerCase().indexOf(e.toLowerCase())&&n.push({key:i,value:e});return n}(e,n);r.length&&t.push({model:n,matches:r})}),t},n.getModelTree=function(e,t){n.loaded.promise.then(function(){var r=_.values(n.project.macros),i=_.filter(n.project.nodes,function(e){if("test"==e.resource_type&&!_.includes(e.tags,"schema"))return!0;return _.includes(["snapshot","source","seed","model","analysis"],e.resource_type)});n.tree.database=function(e,t){var n={},r=_.select(e,function(e){var t=_.get(e,["docs","show"],!0);return!!t&&(-1!=_.indexOf(["source","snapshot","seed"],e.resource_type)||("model"==e.resource_type?"ephemeral"!=e.config.materialized:void 0))}),i=_.sortBy(r,function(e){return e.database+"."+e.schema+"."+(e.identifier||e.alias||e.name)}),o=_.groupBy(i,"database");return _.each(o,function(e,r){var i={type:"database",name:r,active:!1,items:[]};n[r]=i;var o=_.groupBy(e,"schema");_.each(o,function(e,n){n={type:"schema",name:n,active:!1,items:[]},i.items.push(n),_.each(e,function(e){var r=e.unique_id==t;r&&(i.active=!0,n.active=!0),n.items.push({type:"table",name:e.identifier||e.alias||e.name,node:e,active:r,unique_id:e.unique_id,node_type:"model"})})})}),n}(i,e),n.tree.project=function(e,t,n){var r={},e=e||[],t=t||[];return _.each(e.concat(t),function(e){var t=_.get(e,["docs","show"],!0);if("source"!=e.resource_type&&t){if(-1!=e.original_file_path.indexOf("\\"))var i=e.original_file_path.split("\\");else i=e.original_file_path.split("/");var o=[e.package_name].concat(i),a=e.unique_id==n,s=_.initial(o);if("macro"==e.resource_type)var l=e.name;else l=_.last(o);var c=r;_.each(s,function(e){c[e]?a&&(c[e].active=!0):c[e]={type:"folder",name:e,active:a,items:{}},c=c[e].items}),c[l]={type:"file",name:e.name,node:e,active:a,unique_id:e.unique_id,node_type:e.resource_type}}}),function e(t){var n=[],r=_.values(t);return _.each(r,function(t){if(t.items){var r=e(t.items),i=_.sortBy(r,"name");t.items=i}n.push(t)}),n}(r)}(i,r,e);var o=_.filter(n.project.nodes,{resource_type:"source"});n.tree.sources=function(e,t){var n={};_.each(e,function(e){var r=e.source_name,i=e.name,o=e.unique_id==t;n[r]?o&&(n[r].active=!0):n[r]={type:"folder",name:r,active:o,items:[]},n[r].items.push({type:"file",name:i,node:e,active:o,unique_id:e.unique_id,node_type:"source"})});var n=_.sortBy(_.values(n),"name");return _.each(n,function(e){e.items=_.sortBy(e.items,"name")}),n}(o,e),t(n.tree)})},n.updateSelectedInTree=function(e,t){var r=!1;return _.each(t,function(t){if(t.node&&t.node.unique_id==e)t.active=!0,r=!0;else if(t.node&&t.node.unique_id!=e)t.active=!1;else{n.updateSelectedInTree(e,t.items)&&(t.active=!0,r=!0)}}),r},n.updateSelected=function(e){return n.updateSelectedInTree(e,n.tree.project),n.updateSelectedInTree(e,n.tree.database),n.updateSelectedInTree(e,n.tree.sources),n.tree},n.caseColumn=function(e){return"snowflake"==n.project.metadata.adapter_type&&e.toUpperCase()==e?e.toLowerCase():e},n.init=function(){n.loadProject()},n}])},function(e,t){var n="/docs/macro.html";window.angular.module("ng").run(["$templateCache",function(e){e.put(n,'<style>\n/* TODO */\n.section-target {\n    top: -8em;\n}\n\n.noflex {\n    flex: 0 0 160px !important;\n}\n\n.highlight {\n    color: #24292e;\n    background-color: white;\n}\n\n</style>\n\n<div class=\'app-scroll\'>\n    <div class="app-links app-sticky">\n        <div class="app-title">\n            <div class="app-frame app-pad app-flush-bottom">\n                <h1>\n                    <span class="break">{{ macro.package_name }}.{{ macro.name }}</span>\n                    <small ng-if="macro.is_adapter_macro">adapter macro</small>\n                    <small ng-if="!macro.is_adapter_macro">macro</small>\n                </h1>\n            </div>\n        </div>\n        <div class="app-frame app-pad-h">\n            <ul class="nav nav-tabs">\n                <li ui-sref-active=\'active\'><a ui-sref="dbt.macro({\'#\': \'description\'})">Description</a></li>\n                <li ui-sref-active=\'active\'><a ui-sref="dbt.macro({\'#\': \'arguments\'})">Arguments</a></li>\n                <li ui-sref-active=\'active\'><a ui-sref="dbt.macro({\'#\': \'referenced_by\'})">Referenced By</a></li>\n                <li ui-sref-active=\'active\'><a ui-sref="dbt.macro({\'#\': \'code\'})">Code</a></li>\n            </ul>\n        </div>\n    </div>\n    <div class="app-details">\n        <div class="app-frame app-pad">\n            <section class="section">\n                <div class="section-target" id="description"></div>\n                <div class="section-content">\n                    <h6>Description</h6>\n                    <div class="panel">\n                        <div class="panel-body">\n                            <div ng-if="macro.description" class="model-markdown" marked="macro.description"></div>\n                            <div ng-if="!macro.description">This {{ macro.resource_type }} is not currently documented</div>\n                        </div>\n                    </div>\n                </div>\n            </section>\n\n            <section class="section">\n                <div class="section-target" id="columns"></div>\n                <div class="section-content">\n                    <h6>Arguments</h6>\n                    <macro-arguments macro="macro"></macro-arguments>\n                </div>\n            </section>\n\n            <section class="section">\n                <div class="section-target" id="referenced_by"></div>\n                <div class="section-content">\n                    <h6>Referenced By</h6>\n                    <reference-list references="references" />\n                </div>\n            </section>\n\n            <section class="section">\n                <div class="section-target" id="code"></div>\n                <div class="section-content">\n                    <code-block versions="versions" default="default_version"></code-block>\n                </div>\n            </section>\n        </div>\n    </div>\n</div>\n')}]),e.exports=n},function(e,t){var n="/docs/analysis.html";window.angular.module("ng").run(["$templateCache",function(e){e.put(n,'<style>\n/* TODO */\n.section-target {\n    top: -8em;\n}\n\n.noflex {\n    flex: 0 0 160px !important;\n}\n\n.highlight {\n    color: #24292e;\n    background-color: white;\n}\n\n</style>\n\n<div class=\'app-scroll\'>\n    <div class="app-links app-sticky">\n        <div class="app-title">\n            <div class="app-frame app-pad app-flush-bottom">\n                <h1 ng-if="model.docs.show === false">\n                    <small class=\'text-bold text-right\'>\n                        <i data-icon="eye"></i>\n                        This {{ model.resource_type }} is hidden\n                    </small>\n                </h1>\n                <h1>\n                    <span class="break">{{ model.name }}</span>\n                    <small>Analysis</small>\n                </h1>\n            </div>\n        </div>\n        <div class="app-frame app-pad-h">\n            <ul class="nav nav-tabs">\n                <li ui-sref-active=\'active\'><a ui-sref="dbt.seed({\'#\': \'description\'})">Description</a></li>\n                <li ui-sref-active=\'active\'><a ui-sref="dbt.seed({\'#\': \'sql\'})">SQL</a></li>\n            </ul>\n        </div>\n    </div>\n    <div class="app-details">\n        <div class="app-frame app-pad">\n\n            <section class="section">\n                <div class="section-target" id="description"></div>\n                <div class="section-content">\n                    <h6>Description</h6>\n                    <div class="panel">\n                        <div class="panel-body">\n                            <div ng-if="model.description" class="model-markdown" marked="model.description"></div>\n                            <div ng-if="!model.description">This {{ model.resource_type }} is not currently documented</div>\n                        </div>\n                    </div>\n                </div>\n            </section>\n\n            <section class="section">\n                <div class="section-target" id="sql"></div>\n                <div class="section-content">\n                    <h6>SQL</h6>\n                    <div class="panel">\n                        <div class="panel-body">\n                            <ul class="nav nav-tabs">\n                                <li ng-class="{active: !view_compiled_sql}"><a ng-click="view_compiled_sql=false">Source</a></li>\n                                <li ng-class="{active: view_compiled_sql}"><a ng-click="view_compiled_sql=true">Compiled</a></li>\n                                <li class=\'nav-pull-right\'></li>\n                                <li>\n                                    <a class=\'unselectable\'\n                                       ng-click="copy_to_clipboard(view_compiled_sql ? model.injected_sql : model.raw_sql)">{{ copied ? \'copied\' : \'copy to clipboard\' }}</a>\n                                </li>\n                            </ul>\n                            <div style="margin-top: 1px" ng-show="!view_compiled_sql">\n                                <pre\n                                    class="source-code highlight sql"\n                                    ng-bind-html="highlighted.source"></pre>\n                            </div>\n                            <div style="margin-top: 1px" ng-show="view_compiled_sql">\n                                <pre\n                                    class="source-code highlight sql"\n                                    ng-bind-html="highlighted.compiled"></pre>\n                            </div>\n                        </div>\n                    </div>\n                </div>\n            </section>\n        </div>\n    </div>\n</div>\n')}]),e.exports=n},function(e,t){var n="/docs/test.html";window.angular.module("ng").run(["$templateCache",function(e){e.put(n,'<style>\n/* TODO */\n.section-target {\n    top: -8em;\n}\n\n.noflex {\n    flex: 0 0 160px !important;\n}\n\n.highlight {\n    color: #24292e;\n    background-color: white;\n}\n\n</style>\n\n<div class=\'app-scroll\'>\n    <div class="app-links app-sticky">\n        <div class="app-title">\n            <div class="app-frame app-pad app-flush-bottom">\n                <h1>\n                    <span class="break">{{ model.name }}</span>\n                    <small>test</small>\n                </h1>\n            </div>\n        </div>\n        <div class="app-frame app-pad-h">\n            <ul class="nav nav-tabs">\n                <li ui-sref-active=\'active\'><a ui-sref="dbt.test({\'#\': \'description\'})">Description</a></li>\n                <li ui-sref-active=\'active\'><a ui-sref="dbt.test({\'#\': \'sql\'})">SQL</a></li>\n            </ul>\n        </div>\n    </div>\n    <div class="app-details">\n        <div class="app-frame app-pad">\n            <section class="section">\n                <div class="section-target" id="description"></div>\n                <div class="section-content">\n                    <h6>Description</h6>\n                    <div class="panel">\n                        <div class="panel-body">\n                            <div ng-if="model.description" class="model-markdown" marked="model.description"></div>\n                            <div ng-if="!model.description">This {{ model.resource_type }} is not currently documented</div>\n                        </div>\n                    </div>\n                </div>\n            </section>\n\n            <section class="section">\n                <div class="section-target" id="sql"></div>\n                <div class="section-content">\n                    <h6>SQL</h6>\n                    <div class="panel">\n                        <div class="panel-body">\n                            <ul class="nav nav-tabs">\n                                <li ng-class="{active: !view_compiled_sql}"><a ng-click="view_compiled_sql=false">Source</a></li>\n                                <li ng-class="{active: view_compiled_sql}"><a ng-click="view_compiled_sql=true">Compiled</a></li>\n                                <li class=\'nav-pull-right\'></li>\n                                <li>\n                                    <a class=\'unselectable\'\n                                       ng-click="copy_to_clipboard(view_compiled_sql ? model.injected_sql : model.raw_sql)">{{ copied ? \'copied\' : \'copy to clipboard\' }}</a>\n                                </li>\n                            </ul>\n                            <div style="margin-top: 1px" ng-show="!view_compiled_sql">\n                                <pre\n                                    class="source-code highlight sql"\n                                    ng-bind-html="highlighted.source"></pre>\n                            </div>\n                            <div style="margin-top: 1px" ng-show="view_compiled_sql">\n                                <pre\n                                    class="source-code highlight sql"\n                                    ng-bind-html="highlighted.compiled"></pre>\n                            </div>\n                        </div>\n                    </div>\n                </div>\n            </section>\n        </div>\n    </div>\n</div>\n')}]),e.exports=n},function(e,t){var n="/docs/seed.html";window.angular.module("ng").run(["$templateCache",function(e){e.put(n,'<style>\n/* TODO */\n.section-target {\n    top: -8em;\n}\n\n.noflex {\n    flex: 0 0 160px !important;\n}\n\n.highlight {\n    color: #24292e;\n    background-color: white;\n}\n\n</style>\n\n<div class=\'app-scroll\'>\n    <div class="app-links app-sticky">\n        <div class="app-title">\n            <div class="app-frame app-pad app-flush-bottom">\n                <h1 ng-if="model.docs.show === false">\n                    <small class=\'text-bold text-right\'>\n                        <i data-icon="eye"></i>\n                        This {{ model.resource_type }} is hidden\n                    </small>\n                </h1>\n                <h1>\n                    <span class="break">{{ model.name }}</span>\n                    <small>{{ model.config.materialized }}</small>\n                </h1>\n            </div>\n        </div>\n        <div class="app-frame app-pad-h">\n            <ul class="nav nav-tabs">\n                <li ui-sref-active=\'active\'><a ui-sref="dbt.seed({\'#\': \'details\'})">Details</a></li>\n                <li ui-sref-active=\'active\'><a ui-sref="dbt.seed({\'#\': \'description\'})">Description</a></li>\n                <li ui-sref-active=\'active\'><a ui-sref="dbt.seed({\'#\': \'columns\'})">Columns</a></li>\n                <li ui-sref-active=\'active\'><a ui-sref="dbt.seed({\'#\': \'sql\'})">SQL</a></li>\n            </ul>\n        </div>\n    </div>\n    <div class="app-details">\n        <div class="app-frame app-pad">\n            <section class="section">\n                <div class="section-target" id="details"></div>\n                <table-details model="model" />\n            </section>\n\n            <section class="section">\n                <div class="section-target" id="description"></div>\n                <div class="section-content">\n                    <h6>Description</h6>\n                    <div class="panel">\n                        <div class="panel-body">\n                            <div ng-if="model.description" class="model-markdown" marked="model.description"></div>\n                            <div ng-if="!model.description">This {{ model.resource_type }} is not currently documented</div>\n                        </div>\n                    </div>\n                </div>\n            </section>\n            <section class="section">\n                <div class="section-target" id="columns"></div>\n                <div class="section-content">\n                    <h6>Columns</h6>\n                    <column-details model="model" />\n                </div>\n            </section>\n\n            <section class="section">\n                <div class="section-target" id="sql"></div>\n                <div class="section-content">\n                    <h6>SQL</h6>\n                    <div class="panel">\n                        <div class="panel-body">\n                            <div class=\'row\'>\n                                <div class=\'col-md-6\'>\n                                    <h4>Example SQL</h4>\n                                </div>\n                                <div class=\'col-md-6 text-right\'>\n                                    <a class=\'unselectable\'\n                                       ng-click="copy_to_clipboard(sample_sql)">{{ copied ? \'copied\' : \'copy to clipboard\' }}</a>\n                                </div>\n                            </div>\n                            <div style="margin-top: 1px">\n                                <pre\n                                    class="source-code highlight sql"\n                                    ng-bind-html="highlighted.source"></pre>\n                            </div>\n                        </div>\n                    </div>\n                </div>\n            </section>\n        </div>\n    </div>\n</div>\n')}]),e.exports=n},function(e,t){var n="/docs/snapshot.html";window.angular.module("ng").run(["$templateCache",function(e){e.put(n,'<style>\n/* TODO */\n.section-target {\n    top: -8em;\n}\n\n.noflex {\n    flex: 0 0 160px !important;\n}\n\n.highlight {\n    color: #24292e;\n    background-color: white;\n}\n\n</style>\n\n<div class=\'app-scroll\'>\n    <div class="app-links app-sticky">\n        <div class="app-title">\n            <div class="app-frame app-pad app-flush-bottom">\n                <h1 ng-if="model.docs.show === false">\n                    <small class=\'text-bold text-right\'>\n                        <i data-icon="eye"></i>\n                        This {{ model.resource_type }} is hidden\n                    </small>\n                </h1>\n                <h1>\n                    <span class="break">{{ model.name }}</span>\n                    <small>{{ model.config.materialized }}</small>\n                </h1>\n            </div>\n        </div>\n        <div class="app-frame app-pad-h">\n            <ul class="nav nav-tabs">\n                <li ui-sref-active=\'active\'><a ui-sref="dbt.snapshot({\'#\': \'details\'})">Details</a></li>\n                <li ui-sref-active=\'active\'><a ui-sref="dbt.snapshot({\'#\': \'description\'})">Description</a></li>\n                <li ui-sref-active=\'active\'><a ui-sref="dbt.snapshot({\'#\': \'columns\'})">Columns</a></li>\n                <li ui-sref-active=\'active\'><a ui-sref="dbt.snapshot({\'#\': \'sql\'})">SQL</a></li>\n            </ul>\n        </div>\n    </div>\n    <div class="app-details">\n        <div class="app-frame app-pad">\n            <section class="section">\n                <div class="section-target" id="details"></div>\n                <table-details model="model" />\n            </section>\n\n            <section class="section">\n                <div class="section-target" id="description"></div>\n                <div class="section-content">\n                    <h6>Description</h6>\n                    <div class="panel">\n                        <div class="panel-body">\n                            <div ng-if="model.description" class="model-markdown" marked="model.description"></div>\n                            <div ng-if="!model.description">This {{ model.resource_type }} is not currently documented</div>\n                        </div>\n                    </div>\n                </div>\n            </section>\n\n            <section class="section">\n                <div class="section-target" id="columns"></div>\n                <div class="section-content">\n                    <h6>Columns</h6>\n                    <column-details model="model" />\n                </div>\n            </section>\n\n            <section class="section">\n                <div class="section-target" id="sql"></div>\n                <div class="section-content">\n                    <h6>SQL</h6>\n                    <div class="panel">\n                        <div class="panel-body">\n                            <ul class="nav nav-tabs">\n                                <li ng-class="{active: !view_compiled_sql}"><a ng-click="view_compiled_sql=false">Source</a></li>\n                                <li ng-class="{active: view_compiled_sql}"><a ng-click="view_compiled_sql=true">Compiled</a></li>\n                                <li class=\'nav-pull-right\'></li>\n                                <li>\n                                    <a class=\'unselectable\'\n                                       ng-click="copy_to_clipboard(view_compiled_sql ? model.injected_sql : model.raw_sql)">{{ copied ? \'copied\' : \'copy to clipboard\' }}</a>\n                                </li>\n                            </ul>\n                            <div style="margin-top: 1px" ng-show="!view_compiled_sql">\n                                <pre\n                                    class="source-code highlight sql"\n                                    ng-bind-html="highlighted.source"></pre>\n                            </div>\n                            <div style="margin-top: 1px" ng-show="view_compiled_sql">\n                                <pre\n                                    class="source-code highlight sql"\n                                    ng-bind-html="highlighted.compiled"></pre>\n                            </div>\n                        </div>\n                    </div>\n                </div>\n            </section>\n        </div>\n    </div>\n</div>\n')}]),e.exports=n},function(e,t){var n="/docs/model.html";window.angular.module("ng").run(["$templateCache",function(e){e.put(n,'<style>\n/* TODO */\n.section-target {\n    top: -8em;\n}\n\n.noflex {\n    flex: 0 0 160px !important;\n}\n\n.highlight {\n    color: #24292e;\n    background-color: white;\n}\n\n</style>\n\n<div class=\'app-scroll\'>\n    <div class="app-links app-sticky">\n        <div class="app-title">\n            <div class="app-frame app-pad app-flush-bottom">\n                <h1 ng-if="model.docs.show === false">\n                    <small class=\'text-bold text-right\'>\n                        <i data-icon="eye"></i>\n                        This model is hidden\n                    </small>\n                </h1>\n                <h1>\n                    <span class="break">{{ model.name }}</span>\n                    <small>{{ model.config.materialized }}</small>\n                </h1>\n            </div>\n        </div>\n        <div class="app-frame app-pad-h">\n            <ul class="nav nav-tabs">\n                <li ui-sref-active=\'active\'><a ui-sref="dbt.model({\'#\': \'details\'})">Details</a></li>\n                <li ui-sref-active=\'active\'><a ui-sref="dbt.model({\'#\': \'description\'})">Description</a></li>\n                <li ui-sref-active=\'active\'><a ui-sref="dbt.model({\'#\': \'columns\'})">Columns</a></li>\n                <li ui-sref-active=\'active\'><a ui-sref="dbt.model({\'#\': \'sql\'})">SQL</a></li>\n            </ul>\n        </div>\n    </div>\n    <div class="app-details">\n        <div class="app-frame app-pad">\n            <section class="section">\n                <div class="section-target" id="details"></div>\n                <table-details model="model"></table-details>\n            </section>\n\n            <section class="section">\n                <div class="section-target" id="description"></div>\n                <div class="section-content">\n                    <h6>Description</h6>\n                    <div class="panel">\n                        <div class="panel-body">\n                            <div ng-if="model.description" class="model-markdown" marked="model.description"></div>\n                            <div ng-if="!model.description">This {{ model.resource_type }} is not currently documented</div>\n                        </div>\n                    </div>\n                </div>\n            </section>\n\n            <section class="section">\n                <div class="section-target" id="columns"></div>\n                <div class="section-content">\n                    <h6>Columns</h6>\n                    <column-details model="model" />\n                </div>\n            </section>\n\n            <section class="section">\n                <div class="section-target" id="sql"></div>\n                <div class="section-content">\n                    <h6>SQL</h6>\n                    <div class="panel">\n                        <div class="panel-body">\n                            <ul class="nav nav-tabs">\n                                <li ng-class="{active: !view_compiled_sql}"><a ng-click="view_compiled_sql=false">Source</a></li>\n                                <li ng-class="{active: view_compiled_sql}"><a ng-click="view_compiled_sql=true">Compiled</a></li>\n                                <li class=\'nav-pull-right\'></li>\n                                <li>\n                                    <a class=\'unselectable\'\n                                       ng-click="copy_to_clipboard(view_compiled_sql ? model.injected_sql : model.raw_sql)">{{ copied ? \'copied\' : \'copy to clipboard\' }}</a>\n                                </li>\n                            </ul>\n                            <div style="margin-top: 1px" ng-show="!view_compiled_sql">\n                                <pre\n                                    class="source-code highlight sql"\n                                    ng-bind-html="highlighted.source"></pre>\n                            </div>\n                            <div style="margin-top: 1px" ng-show="view_compiled_sql">\n                                <pre\n                                    class="source-code highlight sql"\n                                    ng-bind-html="highlighted.compiled"></pre>\n                            </div>\n                        </div>\n                    </div>\n                </div>\n            </section>\n        </div>\n    </div>\n</div>\n')}]),e.exports=n},function(e,t){var n="/sources/source_list.html";window.angular.module("ng").run(["$templateCache",function(e){e.put(n,'<style>\n/* TODO */\n.section-target {\n    top: -8em;\n}\n\n.noflex {\n    flex: 0 0 160px !important;\n}\n\n.highlight {\n    color: #24292e;\n    background-color: white;\n}\n\n</style>\n\n<div class=\'app-scroll\'>\n    <div class="app-links app-sticky">\n        <div class="app-title">\n            <div class="app-frame app-pad app-flush-bottom">\n                <h1>\n                    <span class="break">{{ source }}</span>\n                    <small>source</small>\n                </h1>\n            </div>\n        </div>\n        <div class="app-frame app-pad-h">\n            <ul class="nav nav-tabs">\n                <li ui-sref-active=\'active\'><a ui-sref="dbt.source_list({\'#\': \'details\'})">Details</a></li>\n                <li ui-sref-active=\'active\'><a ui-sref="dbt.source_list({\'#\': \'description\'})">Description</a></li>\n                <li ui-sref-active=\'active\'><a ui-sref="dbt.source_list({\'#\': \'sources\'})">Sources</a></li>\n            </ul>\n        </div>\n    </div>\n    <div class="app-details">\n        <div class="app-frame app-pad">\n            <section class="section">\n                <div class="section-target" id="details"></div>\n                <table-details model="model" extras="extra_table_fields"/>\n            </section>\n\n            <section class="section">\n                <div class="section-target" id="description"></div>\n                <div class="section-content">\n                    <h6>Description</h6>\n                    <div class="panel">\n                        <div class="panel-body">\n                            <div ng-if="model.source_description" class="model-markdown" marked="model.source_description"></div>\n                            <div ng-if="!model.source_description">This {{ model.resource_type }} is not currently documented</div>\n                        </div>\n                    </div>\n                </div>\n            </section>\n\n\n            <section class="section">\n                <div class="section-target" id="sources"></div>\n                <div class="section-content">\n                    <h6>Source Tables</h6>\n                    <div class="panel">\n                        <div class="panel-body">\n                            <div class="table-responsive" style="max-height: 800px; overflow-y: scroll;" ng-if="!_.isEmpty(model.sources)">\n                                <table class="table table-borderless table-hover">\n                                    <thead>\n                                        <tr>\n                                            <th style="background-color: white; position: sticky; top: 0; z-index: 1;">Source</th>\n                                            <th style="background-color: white; position: sticky; top: 0; z-index: 1;">Table</th>\n                                            <th style="background-color: white; position: sticky; top: 0; z-index: 1;">Description</th>\n                                            <th style="background-color: white; position: sticky; top: 0; z-index: 1;">Link</th>\n                                            <th style="width: 1px; background-color: white; position: sticky; top: 0; z-index: 1;" class=\'text-center\'>More?</th>\n                                        </tr>\n                                    </thead>\n                                    <tbody>\n                                        <tr\n                                            ng-repeat-start="source in model.sources track by source.name"\n                                            ng-click="toggle_source_expanded(source)"\n                                            class="column-row"\n                                            ng-class="{\'column-row-selected\': source.expanded}"\n                                            ng-style="{cursor: has_more_info(source) ? \'pointer\' : \'auto\'}">\n                                            <td>\n                                                <div>\n                                                    <span class=\'text-dark\'>{{ source.source_name }}</span>\n                                                </div>\n                                            </td>\n                                            <td>\n                                                <span class=\'text-dark\'>{{ source.name }}</p>\n                                            </td>\n                                            <td style="text-overflow: ellipsis; overflow-x: hidden; white-space: nowrap; max-width: 1px;">\n                                                <span ng-show="!column.expanded">{{ source.description }}</span>\n                                            </td>\n                                            <td>\n                                                <a ui-sref="dbt.source({unique_id: source.unique_id})">View docs</a>\n                                            </td>\n                                            <td class=\'text-center\'>\n                                                <span class=\'text-light\' ng-show="has_more_info(source)">\n                                                    <span ng-if="source.expanded">\n                                                        <svg class="icn"><use xlink:href="#icn-up"></use></svg>\n                                                    </span>\n                                                    <span ng-if="!source.expanded">\n                                                        <svg class="icn"><use xlink:href="#icn-right"></use></svg>\n                                                    </span>\n                                                </span>\n                                            </td>\n                                        </tr>\n                                        <tr ng-repeat-end ng-show="source.expanded" style="background-color: white; padding: 10px">\n                                            <td colspan="5" class="column-expanded">\n                                                <div style="padding: 5px 20px">\n                                                    <div style="margin-bottom: 15px">\n                                                        <h5>Description</h5>\n                                                        <span marked="source.description"></span>\n                                                    </div>\n                                                </div>\n                                            </td>\n                                        </tr>\n                                    </tbody>\n                                </table>\n                            </div>\n                        </div>\n                    </div>\n                </div>\n            </section>\n        </div>\n    </div>\n</div>\n')}]),e.exports=n},function(e,t){var n="/graph/graph.html";window.angular.module("ng").run(["$templateCache",function(e){e.put(n,'<div ng-controller="GraphCtrl" id=\'graph-container\' style="width: 100%">\n    <div class=\'row viz-container\' style="margin: 0">\n        <div class=\'col-md-12\'>\n             <div graph-viz\n                        viz-options="graph.options"\n                        viz-elements="graph.elements"\n                        viz-style="graph.style"\n                        viz-layout="graph.layout"\n                        viz-ready="graph.ready"\n                        viz-size="{height: \'800px\', width: \'100%\'}"></div>\n        </div>\n    </div>\n</div>\n')}]),e.exports=n},function(e,t){var n="/overview/overview.html";window.angular.module("ng").run(["$templateCache",function(e){e.put(n,'<div class="app-details app-scroll app-pad">\n    <app-scroll div class="app-frame app-pad">\n        <div class="panel panel-default">\n            <div class="panel-body">\n                <p marked=\'overview_md\'></p>\n            </div>\n        </div>\n    </div>\n</div>\n')}]),e.exports=n},function(e,t){var n="/main/main.html";window.angular.module("ng").run(["$templateCache",function(e){e.put(n,'<style>\n.no-x-overflow {\n    overflow-x: hidden;\n}\n\n.logo {\n    width: 140px;\n    height: 46px ;\n}\n</style>\n\n<div>\n    <graph-launcher></graph-launcher>\n\n    <div class="app app-row">\n        <div class="app-menu app-column">\n            <div class="app-overlay" data-toggle=".app-menu"></div>\n            <div class="app-header app-navbar app-shadow app-pad">\n                <div class="app-row app-middle">\n                    <div class="app-body">\n                        <div class="logo">\n                            <img class="logo" ng-src="{{ logo }}" />\n                        </div>\n                    </div>\n                </div>\n            </div>\n            <div class="app-body">\n                <div class="app-scroll app-pad app-flush-right no-x-overflow">\n                    <model-tree tree="tree"></model-tree>\n                </div>\n            </div>\n        </div>\n        <div class="app-content app-column">\n            <div class="app-header app-navbar app-shadow">\n                <div class="app-frame app-pad app-row app-middle">\n                    <div class="app-body">\n                        <input\n                            id="search"\n                            ng-model="search.query"\n                            ng-focus="onSearchFocus($event, true)"\n                            ng-keydown="onSearchKeypress($event)"\n                            type="text"\n                            class="form-control"\n                            placeholder="Search for models..." />\n                    </div>\n                    <div class="app-footer app-icn" ng-show="search.is_focused" ng-click="clearSearch()">\n                        <svg class="icn icn-md"><use xlink:href="#icn-close"></use></svg>\n                    </div>\n                </div>\n            </div>\n            <div class=\'app-body\' ng-show=\'!search.is_focused\' ui-view></div>\n            <div class="app-body" ng-show="search.is_focused">\n                <docs-search query="search.query" results="search.results" on-select="clearSearch()"></docs-search>\n            </div>\n        </div>\n    </div>\n</div>\n')}]),e.exports=n},function(e,t,n){const r=n(4),i={main:n(86),overview:n(85),graph:n(84),source:n(41),source_list:n(83),model:n(82),source:n(41),snapshot:n(81),seed:n(80),test:n(79),analysis:n(78),macro:n(77)};r.module("dbt").config(["$stateProvider","$urlRouterProvider",function(e,t){var n="g_v&g_i&g_e&g_p&g_n";t.otherwise("/overview"),e.state("dbt",{url:"/",abstract:!0,controller:"MainController",templateUrl:i.main}).state("dbt.overview",{url:"overview?"+n,controller:"OverviewCtrl",templateUrl:i.overview}).state("dbt.graph",{url:"graph",controller:"GraphCtrl",templateUrl:i.graph}).state("dbt.model",{url:"model/:unique_id?section&"+n,controller:"ModelCtrl",templateUrl:i.model,params:{unique_id:{type:"string"}}}).state("dbt.seed",{url:"seed/:unique_id?section&"+n,controller:"SeedCtrl",templateUrl:i.seed,params:{unique_id:{type:"string"}}}).state("dbt.snapshot",{url:"snapshot/:unique_id?section&"+n,controller:"SnapshotCtrl",templateUrl:i.snapshot,params:{unique_id:{type:"string"}}}).state("dbt.test",{url:"test/:unique_id?section&"+n,controller:"TestCtrl",templateUrl:i.test,params:{unique_id:{type:"string"}}}).state("dbt.analysis",{url:"analysis/:unique_id?section",controller:"AnalysisCtrl",templateUrl:i.analysis,params:{unique_id:{type:"string"}}}).state("dbt.source",{url:"source/:unique_id?section&"+n,controller:"SourceCtrl",templateUrl:i.source,params:{unique_id:{type:"string"}}}).state("dbt.source_list",{url:"source_list/:source?"+n,controller:"SourceListCtrl",templateUrl:i.source_list,params:{source:{type:"string"}}}).state("dbt.macro",{url:"macro/:unique_id?section",controller:"MacroCtrl",templateUrl:i.macro,params:{unique_id:{type:"string"}}})}])},function(e,t,n){"use strict";n(4).module("dbt").controller("SourceListCtrl",["$scope","$state","project",function(e,t,n){e.source=t.params.source,e.model={},e.extra_table_fields=[],e.has_more_info=function(e){return(e.description||"").length},e.toggle_source_expanded=function(t){e.has_more_info(t)&&(t.expanded=!t.expanded)},n.ready(function(t){var n=_.filter(t.nodes,function(t){return t.source_name==e.source});if(0!=n.length){var r=n[0];e.model={name:e.source,source_description:r.source_description,sources:n};var i=_.uniq(_.map(n,"metadata.owner")),o=_.uniq(_.map(n,"database")),a=_.uniq(_.map(n,"schema"));e.extra_table_fields=[{name:"Loader",value:r.loader},{name:1==i.length?"Owner":"Owners",value:i.join(", ")},{name:1==o.length?"Database":"Databases",value:o.join(", ")},{name:1==a.length?"Schema":"Schemas",value:a.join(", ")},{name:"Tables",value:n.length}]}})}])},function(e,t,n){"use strict";n(4).module("dbt").controller("OverviewCtrl",["$scope","$state","project",function(e,t,n){e.overview_md="(loading)",n.ready(function(t){var n=t.docs["dbt.__overview__"],r=_.where(t.docs,{name:"__overview__"});_.each(r,function(e){"dbt"!=e.package_name&&(n=e)}),e.overview_md=n.block_contents})}])},function(e,t,n){n(4).module("dbt").factory("locationService",["$state",function(e){var t={};return t.parseState=function(e){return function(e){return{selected:{include:e.g_i||"",exclude:e.g_e||""},show_graph:!!e.g_v}}(e)},t.setState=function(t){var n=function(e){var t={g_v:1};return t.g_i=e.include,t.g_e=e.exclude,t}(t),r=e.current.name;e.go(r,n)},t.clearState=function(){var t=e.current.name;e.go(t,{g_i:null,g_e:null,g_v:null})},t}])},function(e,t){function n(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}
 /*!
  * Determine if an object is a Buffer
  *
  * @author   Feross Aboukhadijeh <https://feross.org>
  * @license  MIT
  */
-e.exports=function(e){return null!=e&&(n(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&n(e.slice(0,0))}(e)||!!e._isBuffer)}},function(e,t){!function(){var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n={rotl:function(e,t){return e<<t|e>>>32-t},rotr:function(e,t){return e<<32-t|e>>>t},endian:function(e){if(e.constructor==Number)return 16711935&n.rotl(e,8)|4278255360&n.rotl(e,24);for(var t=0;t<e.length;t++)e[t]=n.endian(e[t]);return e},randomBytes:function(e){for(var t=[];e>0;e--)t.push(Math.floor(256*Math.random()));return t},bytesToWords:function(e){for(var t=[],n=0,r=0;n<e.length;n++,r+=8)t[r>>>5]|=e[n]<<24-r%32;return t},wordsToBytes:function(e){for(var t=[],n=0;n<32*e.length;n+=8)t.push(e[n>>>5]>>>24-n%32&255);return t},bytesToHex:function(e){for(var t=[],n=0;n<e.length;n++)t.push((e[n]>>>4).toString(16)),t.push((15&e[n]).toString(16));return t.join("")},hexToBytes:function(e){for(var t=[],n=0;n<e.length;n+=2)t.push(parseInt(e.substr(n,2),16));return t},bytesToBase64:function(e){for(var n=[],r=0;r<e.length;r+=3)for(var i=e[r]<<16|e[r+1]<<8|e[r+2],o=0;o<4;o++)8*r+6*o<=8*e.length?n.push(t.charAt(i>>>6*(3-o)&63)):n.push("=");return n.join("")},base64ToBytes:function(e){e=e.replace(/[^A-Z0-9+\/]/gi,"");for(var n=[],r=0,i=0;r<e.length;i=++r%4)0!=i&&n.push((t.indexOf(e.charAt(r-1))&Math.pow(2,-2*i+8)-1)<<2*i|t.indexOf(e.charAt(r))>>>6-2*i);return n}};e.exports=n}()},function(e,t,n){!function(){var t=n(89),r=n(42).utf8,i=n(88),o=n(42).bin,a=function(e,n){e.constructor==String?e=n&&"binary"===n.encoding?o.stringToBytes(e):r.stringToBytes(e):i(e)?e=Array.prototype.slice.call(e,0):Array.isArray(e)||(e=e.toString());for(var s=t.bytesToWords(e),l=8*e.length,c=1732584193,u=-271733879,d=-1732584194,p=271733878,f=0;f<s.length;f++)s[f]=16711935&(s[f]<<8|s[f]>>>24)|4278255360&(s[f]<<24|s[f]>>>8);s[l>>>5]|=128<<l%32,s[14+(l+64>>>9<<4)]=l;var h=a._ff,g=a._gg,m=a._hh,v=a._ii;for(f=0;f<s.length;f+=16){var b=c,y=u,x=d,w=p;u=v(u=v(u=v(u=v(u=m(u=m(u=m(u=m(u=g(u=g(u=g(u=g(u=h(u=h(u=h(u=h(u,d=h(d,p=h(p,c=h(c,u,d,p,s[f+0],7,-680876936),u,d,s[f+1],12,-389564586),c,u,s[f+2],17,606105819),p,c,s[f+3],22,-1044525330),d=h(d,p=h(p,c=h(c,u,d,p,s[f+4],7,-176418897),u,d,s[f+5],12,1200080426),c,u,s[f+6],17,-1473231341),p,c,s[f+7],22,-45705983),d=h(d,p=h(p,c=h(c,u,d,p,s[f+8],7,1770035416),u,d,s[f+9],12,-1958414417),c,u,s[f+10],17,-42063),p,c,s[f+11],22,-1990404162),d=h(d,p=h(p,c=h(c,u,d,p,s[f+12],7,1804603682),u,d,s[f+13],12,-40341101),c,u,s[f+14],17,-1502002290),p,c,s[f+15],22,1236535329),d=g(d,p=g(p,c=g(c,u,d,p,s[f+1],5,-165796510),u,d,s[f+6],9,-1069501632),c,u,s[f+11],14,643717713),p,c,s[f+0],20,-373897302),d=g(d,p=g(p,c=g(c,u,d,p,s[f+5],5,-701558691),u,d,s[f+10],9,38016083),c,u,s[f+15],14,-660478335),p,c,s[f+4],20,-405537848),d=g(d,p=g(p,c=g(c,u,d,p,s[f+9],5,568446438),u,d,s[f+14],9,-1019803690),c,u,s[f+3],14,-187363961),p,c,s[f+8],20,1163531501),d=g(d,p=g(p,c=g(c,u,d,p,s[f+13],5,-1444681467),u,d,s[f+2],9,-51403784),c,u,s[f+7],14,1735328473),p,c,s[f+12],20,-1926607734),d=m(d,p=m(p,c=m(c,u,d,p,s[f+5],4,-378558),u,d,s[f+8],11,-2022574463),c,u,s[f+11],16,1839030562),p,c,s[f+14],23,-35309556),d=m(d,p=m(p,c=m(c,u,d,p,s[f+1],4,-1530992060),u,d,s[f+4],11,1272893353),c,u,s[f+7],16,-155497632),p,c,s[f+10],23,-1094730640),d=m(d,p=m(p,c=m(c,u,d,p,s[f+13],4,681279174),u,d,s[f+0],11,-358537222),c,u,s[f+3],16,-722521979),p,c,s[f+6],23,76029189),d=m(d,p=m(p,c=m(c,u,d,p,s[f+9],4,-640364487),u,d,s[f+12],11,-421815835),c,u,s[f+15],16,530742520),p,c,s[f+2],23,-995338651),d=v(d,p=v(p,c=v(c,u,d,p,s[f+0],6,-198630844),u,d,s[f+7],10,1126891415),c,u,s[f+14],15,-1416354905),p,c,s[f+5],21,-57434055),d=v(d,p=v(p,c=v(c,u,d,p,s[f+12],6,1700485571),u,d,s[f+3],10,-1894986606),c,u,s[f+10],15,-1051523),p,c,s[f+1],21,-2054922799),d=v(d,p=v(p,c=v(c,u,d,p,s[f+8],6,1873313359),u,d,s[f+15],10,-30611744),c,u,s[f+6],15,-1560198380),p,c,s[f+13],21,1309151649),d=v(d,p=v(p,c=v(c,u,d,p,s[f+4],6,-145523070),u,d,s[f+11],10,-1120210379),c,u,s[f+2],15,718787259),p,c,s[f+9],21,-343485551),c=c+b>>>0,u=u+y>>>0,d=d+x>>>0,p=p+w>>>0}return t.endian([c,u,d,p])};a._ff=function(e,t,n,r,i,o,a){var s=e+(t&n|~t&r)+(i>>>0)+a;return(s<<o|s>>>32-o)+t},a._gg=function(e,t,n,r,i,o,a){var s=e+(t&r|n&~r)+(i>>>0)+a;return(s<<o|s>>>32-o)+t},a._hh=function(e,t,n,r,i,o,a){var s=e+(t^n^r)+(i>>>0)+a;return(s<<o|s>>>32-o)+t},a._ii=function(e,t,n,r,i,o,a){var s=e+(n^(t|~r))+(i>>>0)+a;return(s<<o|s>>>32-o)+t},a._blocksize=16,a._digestsize=16,e.exports=function(e,n){if(void 0===e||null===e)throw new Error("Illegal argument "+e);var r=t.wordsToBytes(a(e,n));return n&&n.asBytes?r:n&&n.asString?o.bytesToString(r):t.bytesToHex(r)}}()},function(e,t,n){const r=n(4),i=n(90);r.module("dbt").factory("trackingService",["$location","selectorService","$rootScope",function(e,t,n){var r={initialized:!1,snowplow:null,previous_url:null};function o(){var t=e.absUrl(),n=r.__fuzz_url(t,!0);if(_.each(e.search(),function(e,t){n+="&"+t+"=1"}),r.previous_url)var i=r.previous_url;else i="";return r.snowplow("setCustomUrl",n),r.snowplow("setReferrerUrl",i),n}return r.init=function(e){r.initialized||(r.initialized=!0,!0===e.track&&r.turn_on_tracking(e.project_id,e.user_id))},r.turn_on_tracking=function(e,t){!function(e,t,n,r,i,o,a){e[i]||(e.GlobalSnowplowNamespace=e.GlobalSnowplowNamespace||[],e.GlobalSnowplowNamespace.push(i),e[i]=function(){(e[i].q=e[i].q||[]).push(arguments)},e[i].q=e[i].q||[],o=t.createElement(n),a=t.getElementsByTagName(n)[0],o.async=1,o.src="//d1fc8wv8zag5ca.cloudfront.net/2.9.0/sp.js",a.parentNode.insertBefore(o,a))}(window,document,"script",0,"snowplow"),r.snowplow=window.snowplow,r.snowplow("newTracker","sp","fishtownanalytics.sinter-collect.com",{appId:"dbt-docs",discoverRootDomain:!0,forceSecureTracker:!0,respectDoNotTrack:!0,userFingerprint:!1,contexts:{webPage:!0}}),t&&r.snowplow("setUserId",t),r.snowplow("enableActivityTracking",30,30),r.track_pageview(),r.track_project_identify(e)},r.__fuzz_url=function(e,t){var n=e,r=e.match(/[a-zA-Z0-9_]+\.[a-zA-Z0-9_]+\.[a-zA-Z0-9_]+/g);return r&&_.each(r,function(e){var t=i(e);n=n.replace(e,t)}),t&&(n=n.replace(/\?.*$/,"")+"?fuzzed=1"),n},r.track_pageview=function(t){if(r.snowplow){r.previous_url=o();var n=e.path().split("/"),i=n.length>1?n[1]:"";r.snowplow("trackPageView",i)}},r.track_event=function(e,t,n,i){r.snowplow&&(o(),r.snowplow("trackStructEvent","dbt-docs",e,t,n,i))},r.track_project_identify=function(e){r.track_event("identify","project_id",e)},r.track_graph_interaction=function(e,t){r.track_event("graph","interact",e,t)},r}])},function(e,t,n){n(11);const r=n(7);var i="@",o="+",a="+",s="*",l={FQN:"fqn:",TAG:"tag:",SOURCE:"source:"};angular.module("dbt").factory("selectorService",["$state",function(e){var t={include:"",exclude:"",packages:[],tags:[null],depth:1},n={view_node:null,selection:{clean:r.clone(t),dirty:r.clone(t)},options:{packages:[],tags:[null]}};function c(e,t,n,r){r||(r=1);var i=e.predecessors(t);return i.concat(i.reduce(function(t,i){return r>=n&&void 0!==n?t:t.concat(c(e,i,n,r+1))},[]))}function u(e,t,n,r){r||(r=1);var i=e.successors(t);return i.concat(i.reduce(function(t,i){return r>=n&&void 0!==n?t:t.concat(u(e,i,n,r+1))},[]))}function d(e){return r.filter(r.uniq(e.split(" ")),function(e){return e.length>0})}function p(e){var t=!1,n=!1,r=!1,s=0,c=e.length;e.startsWith(i)?(t=!0,s=1):e.startsWith(o)&&(r=!0,s=1),e.endsWith(a)&&(n=!0,c-=1);var u,d,p=e.substring(s,c);return p.startsWith(l.TAG)?(u=l.TAG,d=p.replace(u,"")):p.startsWith(l.SOURCE)?(u=l.SOURCE,d=p.replace(u,"")):(u=l.FQN,d=p.replace(u,"").split(".")),{select_at:t,select_parents:r,select_children:n,selector_type:u,selector_value:d,raw:e}}function f(e,t,n){var i=d(e),o=r.map(i,p),a=d(t);return{include:o,exclude:r.map(a,p),hops:n}}function h(e,t){for(var n=0;n<t.length;n++){var i=t[n],o=n==t.length-1;if(i==s)return!0;if(o&&i==r.last(e))return!0;if(e.length<=n)return!1;if(e[n]!=i)return!1}return!0}function g(e,t){var n=r.compact(r.uniq(r.map(e,function(e){return e.data.package_name}))),i=[];return r.each(e,function(e){var o=e.data,a=o.fqn;a&&(1==t.length&&r.last(a)==t[0]?i.push(o):r.includes(n,t[0])?h(a,t)&&i.push(o):r.each(n,function(e){var n=[e].concat(t);h(a,n)&&i.push(o)}))}),r.uniq(i)}function m(e,t,n,i){var o=[];i.selector_type==l.SOURCE?o=function(e,t){var n=[];return r.each(e,function(e){var r=e.data.source_name,i=e.data.name;t==r+"."+i?n.push(e.data):t==r&&n.push(e.data)}),n}(t,i.selector_value):i.selector_type==l.FQN?o=g(t,i.selector_value):i.selector_type==l.TAG&&(o=function(e,t){var n=[];return r.each(e,function(e){var i=e.data.tags;r.includes(i,t)&&n.push(e.data)}),n}(t,i.selector_value));var a=[],s=[];return r.each(o,function(t){var o=t.unique_id;s.push(t.unique_id);var l=[],d=[],p=[];i.select_at&&(p=r.union(function(e,t){var n=[t],i=r.union([t],u(e,t));return r.each(i,function(t){var i=c(e,t);n=r.union(n,i,[t])}),n}(e,o))),i.select_parents&&(l=c(e,o,n)),i.select_children&&(d=u(e,o,n)),a=r.union([o],a,d,l,p)}),{nodes:a,matches:s}}return n.init=function(e){r.each(e,function(e,r){n.options[r]=e,t[r]=e,n.selection.clean[r]=e,n.selection.dirty[r]=e})},n.resetSelection=function(e){var i={include:e&&r.includes(["model","seed","snapshot"],e.resource_type)?"+"+e.name+"+":e&&"source"==e.resource_type?"+source:"+e.source_name+"."+e.name+"+":""},o=r.assign({},t,i);n.selection.clean=r.clone(o),n.selection.dirty=r.clone(o),n.view_node=e},n.getViewNode=function(){return n.view_node},n.excludeNode=function(e,t){var r,i=n.selection.dirty.exclude,o=t.parents?"+":"",a=t.children?"+":"",s=i.length>0?" ":"";"source"==e.resource_type?(o+="source:",r=e.source_name+"."+e.name):r=e.name;var l=i+s+o+r+a;return n.selection.dirty.exclude=l,n.updateSelection()},n.selectSource=function(e,t){var r="source:"+e+(t.children?"+":"");return n.selection.dirty.include=r,n.updateSelection()},n.clearViewNode=function(){n.view_node=null},n.isDirty=function(){return!r.isEqual(n.selection.clean,n.selection.dirty)},n.updateSelection=function(){return n.selection.clean=r.clone(n.selection.dirty),n.selection.clean},n.parse_specs=f,n.get_nodes_by_qualified_name=g,n.select_nodes=function(e,t,n){n.include,n.exclude;var i,o=f(n.include,n.exclude,n.hops),a=r.values(t);i=0==o.include.length?[{nodes:e.nodes(),matched:[]}]:r.map(o.include,r.partial(m,e,a,n.hops));var s=r.map(o.exclude,r.partial(m,e,a,n.hops)),l=[],c=[];r.each(i,function(e){l=r.union(l,e.nodes),c=r.union(c,e.matches)}),r.each(s,function(e){l=r.difference(l,e.nodes),c=r.difference(c,e.matches)});var u=[];return r.each(l,function(e){var i=t[e];i.data.tags||(i.data.tags=[]);var o=r.includes(n.packages,i.data.package_name),a=r.intersection(n.tags,i.data.tags).length>0,s=r.includes(n.tags,null)&&0==i.data.tags.length;o&&(a||s)||u.push(i.data.unique_id)}),{nodes:r.difference(l,u),matched:c}},n.ancestors=c,n.descendents=u,n}])},function(e,t,n){n(11);const r=n(7),i=n(49);angular.module("dbt").factory("graph",["$state","$window","$q","selectorService","project","locationService",function(e,t,n,o,a,s){var l={vertical:{userPanningEnabled:!1,boxSelectionEnabled:!1,maxZoom:1.5},horizontal:{userPanningEnabled:!0,boxSelectionEnabled:!1,maxZoom:1,minZoom:.05}},c={none:{name:"null"},left_right:{name:"dagre",rankDir:"LR",rankSep:200,edgeSep:30,nodeSep:50},top_down:{name:"preset",positions:function(t){var n=e.params.unique_id;if(!n)return{x:0,y:0};var a=u.graph.pristine.dag,s=r.sortBy(o.ancestors(a,n,1)),l=r.sortBy(o.descendents(a,n,1)),c=r.partial(r.includes,s),d=r.partial(r.includes,l),p=a.filterNodes(c),f=a.filterNodes(d);return function(e,t,n,i){console.log("Getting position for ",i,". Primary: ",e);var o,a=100/(1+Math.max(t.length,n.length));if(e==i)return{x:0,y:0};if(r.includes(t,i))o={set:t,index:r.indexOf(t,i),factor:-1,type:"parent"};else{if(!r.includes(n,i))return{x:0,y:0};o={set:n,index:r.indexOf(n,i),factor:1,type:"child"}}var s=o.set.length;if("parent"==o.type)var l={x:(0+o.index)*a,y:-200-100*(s-o.index-1)};else var l={x:(0+o.index)*a,y:200+100*(s-o.index-1)};return l}(n,i.alg.topsort(p),i.alg.topsort(f).reverse(),t.data("id"))}}},u={loading:!0,loaded:n.defer(),graph_element:null,orientation:"sidebar",expanded:!1,graph:{options:l.vertical,pristine:{nodes:{},edges:{},dag:null},elements:[],layout:c.none,style:[{selector:"edge.vertical",style:{"curve-style":"unbundled-bezier","target-arrow-shape":"triangle-backcurve","target-arrow-color":"#027599","arrow-scale":1.5,"line-color":"#027599",width:3,"target-distance-from-node":"5px","source-endpoint":"0% 50%","target-endpoint":"0deg"}},{selector:"edge.horizontal",style:{"curve-style":"unbundled-bezier","target-arrow-shape":"triangle-backcurve","target-arrow-color":"#006f8a","arrow-scale":1.5,"target-distance-from-node":"10px","source-distance-from-node":"5px","line-color":"#006f8a",width:3,"source-endpoint":"50% 0%","target-endpoint":"270deg"}},{selector:"edge[selected=1]",style:{"line-color":"#bd6bb6","target-arrow-color":"#bd6bb6","z-index":1}},{selector:'node[display="none"]',style:{display:"none"}},{selector:"node.vertical",style:{"text-margin-x":"5px","background-color":"#0094b3","font-size":"16px",shape:"ellipse",color:"#fff",width:"5px",height:"5px",padding:"5px",content:"data(label)","font-weight":300,"text-valign":"center","text-halign":"right"}},{selector:"node.horizontal",style:{"background-color":"#0094b3","font-size":"24px",shape:"roundrectangle",color:"#fff",width:"label",height:"label",padding:"12px",content:"data(label)","font-weight":300,"font-family":'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", Helvetica, Arial, sans-serif',"text-valign":"center","text-halign":"center",ghost:"yes","ghost-offset-x":"2px","ghost-offset-y":"4px","ghost-opacity":.5,"text-outline-color":"#000","text-outline-width":"1px","text-outline-opacity":.2}},{selector:'node[resource_type="source"]',style:{"background-color":"#5fb825"}},{selector:"node[selected=1]",style:{"background-color":"#bd6bb6"}},{selector:"node.horizontal[selected=1]",style:{"background-color":"#88447d"}},{selector:"node.horizontal.dirty",style:{"background-color":"#919599"}}],ready:function(e){console.log("graph ready")}}};function d(e,t,n){var i=r.map(e,function(e){return u.graph.pristine.nodes[e]}),o=[];r.flatten(r.each(e,function(t){var n=u.graph.pristine.edges[t];r.each(n,function(t){r.includes(e,t.data.target)&&r.includes(e,t.data.source)&&o.push(t)})}));var a=r.compact(i).concat(r.compact(o));return r.each(u.graph.elements,function(e){e.data.display="none",e.data.selected=0,e.classes=n}),r.each(a,function(e){e.data.display="element",e.classes=n,t&&r.includes(t,e.data.unique_id)&&(e.data.selected=1)}),u.graph.elements=r.filter(a,function(e){return"element"==e.data.display}),e}function p(e,t,n){var r=u.graph.pristine.dag;if(r){var i=u.graph.pristine.nodes,a=o.select_nodes(r,i,e),s=n?a.matched:[];return d(a.nodes,s,t)}}return u.setGraphReady=function(e){u.loading=!1,u.loaded.resolve(),u.graph_element=e},u.ready=function(e){u.loaded.promise.then(function(){e(u)})},u.manifest={},u.packages=[],u.selected_node=null,u.getCanvasHeight=function(){return.8*t.innerHeight+"px"},a.ready(function(e){u.manifest=e,u.packages=r.uniq(r.map(u.manifest.nodes,"package_name")),r.each(r.filter(u.manifest.nodes,function(e){return r.includes(["model","seed","source","snapshot"],e.resource_type)}),function(e){var t={group:"nodes",data:r.assign(e,{parent:e.package_name,id:e.unique_id,is_group:"false"})};u.graph.pristine.nodes[e.unique_id]=t}),r.each(u.manifest.parent_map,function(e,t){r.each(e,function(e){var n=u.manifest.nodes[e],i=u.manifest.nodes[t];if(r.includes(["model","source","seed","snapshot"],n.resource_type)&&("model"==i.resource_type||"snapshot"==i.resource_type)){var o=n.unique_id+"|"+i.unique_id,a={group:"edges",data:{source:n.unique_id,target:i.unique_id,unique_id:o}},s=i.unique_id;u.graph.pristine.edges[s]||(u.graph.pristine.edges[s]=[]),u.graph.pristine.edges[s].push(a)}})});var t=new i.Graph({directed:!0});r.each(u.graph.pristine.nodes,function(e){t.setNode(e.data.unique_id,e.data.name)}),r.each(u.graph.pristine.edges,function(e){r.each(e,function(e){t.setEdge(e.data.source,e.data.target)})}),u.graph.pristine.dag=t,u.graph.elements=r.flatten(r.values(u.graph.pristine.nodes).concat(r.values(u.graph.pristine.edges))),d(t.nodes())}),u.hideGraph=function(){u.orientation="sidebar",u.expanded=!1},u.showVerticalGraph=function(e,t){u.orientation="sidebar",t&&(u.expanded=!0);var n=p(r.assign({},o.options,{include:"+"+e+"+",exclude:"",hops:1}),"vertical",!0);return u.graph.layout=c.top_down,u.graph.options=l.vertical,n},u.showFullGraph=function(e){u.orientation="fullscreen",u.expanded=!0;var t=r.assign({},o.options);e?(t.include="+"+e+"+",t.exclude=""):(t.include="",t.exclude="");var n=p(t,"horizontal",!0);return u.graph.layout=c.left_right,u.graph.options=l.horizontal,s.setState(t),n},u.updateGraph=function(e){u.orientation="fullscreen",u.expanded=!0;var t=p(e,"horizontal",!1);return u.graph.layout=c.left_right,u.graph.options=l.horizontal,s.setState(e),t},u.deselectNodes=function(){"fullscreen"==u.orientation&&u.graph_element.elements().data("selected",0)},u.selectNode=function(e){if("fullscreen"==u.orientation){u.graph.pristine.nodes[e];var t=u.graph.pristine.dag,n=r.indexBy(o.ancestors(t,e)),i=r.indexBy(o.descendents(t,e));n[e]=e,i[e]=e;var a=u.graph_element;r.each(u.graph.elements,function(t){var r=a.$id(t.data.id);n[t.data.source]&&n[t.data.target]?r.data("selected",1):i[t.data.source]&&i[t.data.target]?r.data("selected",1):t.data.unique_id==e?r.data("selected",1):r.data("selected",0)})}},u.markDirty=function(e){u.markAllClean(),r.each(e,function(e){u.graph_element.$id(e).addClass("dirty")})},u.markAllClean=function(){u.graph_element&&u.graph_element.elements().removeClass("dirty")},u}])},function(e,t,n){const r=n(4),i=n(21);i.initHighlightingOnLoad(),i.initLineNumbersOnLoad(),r.module("dbt").factory("code",["$sce",function(e){var t={copied:!1,highlightSql:function(t){if(!t)return e.trustAsHtml("");var n=i.highlight("sql",t,!0).value.replace(/^$/gm,"<span></span>");return e.trustAsHtml(n)},copy_to_clipboard:function(e){var t=document.createElement("textarea");t.value=e,t.setAttribute("readonly",""),t.style.position="absolute",t.style.left="-9999px",document.body.appendChild(t),t.select(),document.execCommand("copy"),document.body.removeChild(t)},generateSourceSQL:function(e){var t=["select"],n=_.size(e.columns),r=_.keys(e.columns);_.each(r,function(e,r){var i="    "+e;r+1!=n&&(i+=","),t.push(i)});var i=[e.database,e.schema,e.identifier||e.alias||e.name].join(".");return t.push("from "+i),t.join("\n")}};return t}])},function(e,t){e.exports="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 96 32'%3E %3Cg id='brand'%3E %3Cg id='brand-logo'%3E%3Cpath d='M17.4,9.594A7.473,7.473,0,0,0,14.61,6.732l1.624.769a9.434,9.434,0,0,1,3.43,2.752L22.63,4.815A2.618,2.618,0,0,0,22.574,2.1a2.5,2.5,0,0,0-3.271-.8L13.915,4.244a4,4,0,0,1-3.83,0L4.814,1.369A2.618,2.618,0,0,0,2.1,1.427a2.5,2.5,0,0,0-.8,3.27l2.939,5.387a4,4,0,0,1,0,3.831L1.371,19.182a2.623,2.623,0,0,0,.078,2.749A2.5,2.5,0,0,0,4.7,22.7l5.556-3.031A9.434,9.434,0,0,1,7.5,16.234L6.732,14.61A7.473,7.473,0,0,0,9.594,17.4L19.3,22.7a2.5,2.5,0,0,0,3.249-.767,2.632,2.632,0,0,0,.073-2.753ZM20.5,2.5a1,1,0,1,1-1,1A1,1,0,0,1,20.5,2.5Zm-17,2a1,1,0,1,1,1-1A1,1,0,0,1,3.5,4.5Zm0,17a1,1,0,1,1,1-1A1,1,0,0,1,3.5,21.5ZM13,11a1.994,1.994,0,0,0-1.353,3.464,2.494,2.494,0,1,1,2.817-2.817A1.983,1.983,0,0,0,13,11Zm7.5,10.5a1,1,0,1,1,1-1A1,1,0,0,1,20.5,21.5Z' fill='%23ff694b'/%3E%3C/g%3E %3Cg id='brand-dbt'%3E%3Cpath d='M44.763,3.214h3.466v17.18H45.255l-.492-1.754h-.171c-.114.142-.243.292-.385.449s-.282.31-.417.46-.265.285-.386.406a2.907,2.907,0,0,1-.267.247,3.578,3.578,0,0,1-.963.31,7.189,7.189,0,0,1-1.476.139,4.329,4.329,0,0,1-3.081-1.006,4.152,4.152,0,0,1-1-1.776,10.448,10.448,0,0,1-.364-3.059,9.756,9.756,0,0,1,.5-3.327,4.893,4.893,0,0,1,1.358-2.107A5.527,5.527,0,0,1,41.9,8.2a10.648,10.648,0,0,1,1.658.118q.738.117,1.209.224ZM39.778,14.489q0,2.268.706,2.974a1.684,1.684,0,0,0,.824.46,4.53,4.53,0,0,0,1.166.139,6.254,6.254,0,0,0,1.262-.128,5.584,5.584,0,0,0,1.027-.3V10.916c-.243-.028-.553-.057-.931-.085s-.752-.043-1.123-.043a5.444,5.444,0,0,0-1.2.117,1.932,1.932,0,0,0-.856.418A2.417,2.417,0,0,0,40,12.467,7.348,7.348,0,0,0,39.778,14.489Z'/%3E%3Cpath d='M63.7,13.368a9.846,9.846,0,0,1-.546,3.541,4.981,4.981,0,0,1-1.443,2.128,4.722,4.722,0,0,1-1.669.845,8.967,8.967,0,0,1-2.482.289,13.567,13.567,0,0,1-2.407-.2A14.543,14.543,0,0,1,53.3,19.53l-.941.47h-.62V2.8H55.2v7h.172c.113-.128.246-.275.4-.439s.3-.321.438-.47.278-.289.406-.418a1.886,1.886,0,0,1,.3-.257,2.627,2.627,0,0,1,.941-.331A7.689,7.689,0,0,1,59.5,7.72a4.066,4.066,0,0,1,2.867.9,3.825,3.825,0,0,1,.995,1.786A11.114,11.114,0,0,1,63.7,13.368Zm-3.508.514q0-2.29-.706-2.975a2.508,2.508,0,0,0-1.755-.492,9.091,9.091,0,0,0-1.508.118,7.665,7.665,0,0,0-1.017.224v6.654a6.733,6.733,0,0,0,.856.107q.556.044,1.177.043a5.528,5.528,0,0,0,1.209-.118,1.922,1.922,0,0,0,.867-.417,2.276,2.276,0,0,0,.652-1.112A7.328,7.328,0,0,0,60.189,13.882Z'/%3E%3Cpath d='M73.753,10.522H70.415v5.327a3.474,3.474,0,0,0,.086.846,1.11,1.11,0,0,0,.278.524.969.969,0,0,0,.513.256,4.1,4.1,0,0,0,.792.065c.356,0,.731-.014,1.123-.044s.7-.055.91-.085l-.258,2.354c-.371.1-.837.2-1.4.289a11.655,11.655,0,0,1-1.872.138,5.759,5.759,0,0,1-1.69-.213,2.6,2.6,0,0,1-1.112-.653,2.559,2.559,0,0,1-.621-1.123,6.161,6.161,0,0,1-.192-1.647V10.522H65.28L65.451,8h1.52V6.029l3.444-.642V8h3.83Z'/%3E%3Crect x='76' y='23' width='7' height='1' fill='%23f64'/%3E%3C/g%3E %3Cpath d='M44.763,3.214h3.466v17.18H45.255l-.492-1.754h-.171c-.114.142-.243.292-.385.449s-.282.31-.417.46-.265.285-.386.406a2.907,2.907,0,0,1-.267.247,3.578,3.578,0,0,1-.963.31,7.189,7.189,0,0,1-1.476.139,4.329,4.329,0,0,1-3.081-1.006,4.152,4.152,0,0,1-1-1.776,10.448,10.448,0,0,1-.364-3.059,9.756,9.756,0,0,1,.5-3.327,4.893,4.893,0,0,1,1.358-2.107A5.527,5.527,0,0,1,41.9,8.2a10.648,10.648,0,0,1,1.658.118q.738.117,1.209.224ZM39.778,14.489q0,2.268.706,2.974a1.684,1.684,0,0,0,.824.46,4.53,4.53,0,0,0,1.166.139,6.254,6.254,0,0,0,1.262-.128,5.584,5.584,0,0,0,1.027-.3V10.916c-.243-.028-.553-.057-.931-.085s-.752-.043-1.123-.043a5.444,5.444,0,0,0-1.2.117,1.932,1.932,0,0,0-.856.418A2.417,2.417,0,0,0,40,12.467,7.348,7.348,0,0,0,39.778,14.489Z' fill='black'/%3E %3Cpath d='M63.7,13.368a9.846,9.846,0,0,1-.546,3.541,4.981,4.981,0,0,1-1.443,2.128,4.722,4.722,0,0,1-1.669.845,8.967,8.967,0,0,1-2.482.289,13.567,13.567,0,0,1-2.407-.2A14.543,14.543,0,0,1,53.3,19.53l-.941.47h-.62V2.8H55.2v7h.172c.113-.128.246-.275.4-.439s.3-.321.438-.47.278-.289.406-.418a1.886,1.886,0,0,1,.3-.257,2.627,2.627,0,0,1,.941-.331A7.689,7.689,0,0,1,59.5,7.72a4.066,4.066,0,0,1,2.867.9,3.825,3.825,0,0,1,.995,1.786A11.114,11.114,0,0,1,63.7,13.368Zm-3.508.514q0-2.29-.706-2.975a2.508,2.508,0,0,0-1.755-.492,9.091,9.091,0,0,0-1.508.118,7.665,7.665,0,0,0-1.017.224v6.654a6.733,6.733,0,0,0,.856.107q.556.044,1.177.043a5.528,5.528,0,0,0,1.209-.118,1.922,1.922,0,0,0,.867-.417,2.276,2.276,0,0,0,.652-1.112A7.328,7.328,0,0,0,60.189,13.882Z' fill='black'/%3E %3Cpath d='M73.753,10.522H70.415v5.327a3.474,3.474,0,0,0,.086.846,1.11,1.11,0,0,0,.278.524.969.969,0,0,0,.513.256,4.1,4.1,0,0,0,.792.065c.356,0,.731-.014,1.123-.044s.7-.055.91-.085l-.258,2.354c-.371.1-.837.2-1.4.289a11.655,11.655,0,0,1-1.872.138,5.759,5.759,0,0,1-1.69-.213,2.6,2.6,0,0,1-1.112-.653,2.559,2.559,0,0,1-.621-1.123,6.161,6.161,0,0,1-.192-1.647V10.522H65.28L65.451,8h1.52V6.029l3.444-.642V8h3.83Z' fill='black'/%3E %3Crect x='76' y='23' width='7' height='1' fill='%23f64'/%3E %3C/g%3E %3C/svg%3E"},function(e,t,n){"use strict";const r=n(4),i=n(7),o=n(11),a=n(95);n(94),n(76),n(93),n(92),n(91),n(87),r.module("dbt").controller("MainController",["$scope","$route","$state","project","graph","selectorService","trackingService","locationService","$transitions",function(e,t,n,r,s,l,c,u,d){function p(t){e.model_uid=t;var n=r.node(t);n&&l.resetSelection(n)}function f(e){e&&setTimeout(function(){var t=o("*[data-nav-unique-id='"+e+"']");t.length&&t[0].scrollIntoView&&t[0].scrollIntoView({behavior:"smooth",block:"center",inline:"center"})},1)}e.tree={database:{},project:{},sources:{}},e.search={query:"",results:[],is_focused:!1},e.logo=a,e.model_uid=null,e.project={},o("body").bind("keydown",function(e){"t"==event.key&&"INPUT"!=event.target.tagName&&(console.log("Opening search"),o("#search").focus(),event.preventDefault())}),e.onSearchFocus=function(t,n){e.search.is_focused=n},e.clearSearch=function(){e.search.is_focused=!1,e.search.query="",e.search.results=[],o("#search").blur()},e.$on("clearSearch",function(){e.clearSearch()}),e.$on("query",function(t,n){e.search.is_focused=!0,e.search.query=n}),e.onSearchKeypress=function(t){console.log(t),"Escape"==t.key&&(e.clearSearch(),t.preventDefault())},r.getModelTree(n.params.unique_id,function(t){e.tree.database=t.database,e.tree.project=t.project,e.tree.sources=t.sources,setTimeout(function(){f(e.model_uid)})}),d.onSuccess({},function(t,n){var i=t.router.globals.params,o=l.getViewNode(),a=o?o.unique_id:null,s=i.unique_id,u=!0;if(t.from().name==t.to().name&&a==s&&(u=!1),u&&i.unique_id){var d=r.updateSelected(i.unique_id);e.tree.database=d.database,e.tree.project=d.project,e.tree.sources=d.sources,e.search.query="",console.log("updating selected model to: ",i),p(i.unique_id),setTimeout(function(){f(i.unique_id)})}u&&c.track_pageview()}),e.$watch("search.query",function(t){e.search.results=r.search(t)}),r.init(),r.ready(function(t){e.project=t,e.search.results=r.search("");var o=i.unique(i.pluck(i.values(t.nodes),"package_name")),a=[null];i.each(t.nodes,function(e){if("model"==e.resource_type){var t=e.tags;a=i.union(a,t)}}),l.init({packages:o,tags:a}),p(n.params.unique_id);var d=u.parseState(n.params);d.show_graph&&s.ready(function(){i.assign(l.selection.dirty,d.selected);var e=l.updateSelection();s.updateGraph(e)});var f=t.metadata||{};c.init({track:f.send_anonymous_usage_stats,project_id:f.project_id,user_id:f.user_id})})}])},function(e,t,n){"use strict";n(4).module("dbt").controller("GraphCtrl",["$scope","$state","$window","graph","project","selectorService",function(e,t,n,r,i,o){function a(e){return e&&"source"==e.resource_type?"source:"+e.source_name+"."+e.name:e.name?e.name:"*"}e.graph=r.graph,e.graphService=r,e.graphRendered=function(e){r.setGraphReady(e)},e.$watch(function(){return t.params.unique_id},function(e,t){e&&e!=t&&i.find_by_id(e,function(e){"sidebar"==r.orientation?r.showVerticalGraph(a(e),!1):r.showFullGraph(a(e))}),e||o.clearViewNode()})}])},function(e,t,n){"use strict";const r=n(4),i=n(21),o=n(11);i.initHighlightingOnLoad(),i.initLineNumbersOnLoad(),n(24);n(7);r.module("dbt").controller("SnapshotCtrl",["$scope","$state","project","code","$anchorScroll","$location",function(e,t,n,r,a,s){e.model_uid=t.params.unique_id,e.tab=t.params.tab,e.project=n,e.codeService=r,e.highlighted={source:"",compiled:""},e.copied=!1,e.copy_to_clipboard=function(t){r.copy_to_clipboard(t),e.copied=!0,setTimeout(function(){e.$apply(function(){e.copied=!1})},1e3)},e.model={},n.ready(function(t){e.model=t.nodes[e.model_uid];e.highlighted.source=r.highlightSql(e.model.raw_sql),e.highlighted.compiled=r.highlightSql(e.model.injected_sql||"\n-- compiled SQL not found for this model\n"),o(".source-code").each(function(e,t){i.lineNumbersBlock(t)}),setTimeout(function(){a()},0)})}])},function(e,t,n){"use strict";const r=n(4),i=n(21);n(11);i.initHighlightingOnLoad(),i.initLineNumbersOnLoad(),n(24);n(7);r.module("dbt").controller("SeedCtrl",["$scope","$state","project","code","$transitions","$anchorScroll","$location",function(e,t,n,r,i,o,a){e.model_uid=t.params.unique_id,e.tab=t.params.tab,e.project=n,e.codeService=r,e.highlighted={source:""},e.copied=!1,e.copy_to_clipboard=function(t){r.copy_to_clipboard(t),e.copied=!0,setTimeout(function(){e.$apply(function(){e.copied=!1})},1e3)},e.model={},n.ready(function(t){e.model=t.nodes[e.model_uid],e.sample_sql=r.generateSourceSQL(e.model),e.highlighted.source=r.highlightSql(e.sample_sql)})}])},function(e,t,n){"use strict";const r=n(4),i=n(11);n(24);n(7);r.module("dbt").controller("SourceCtrl",["$scope","$state","project","code","$anchorScroll","$location",function(e,t,n,r,o,a){e.model_uid=t.params.unique_id,e.project=n,e.sample_sql="-- sample sql",e.highlighted={source:""},e.codeService=r,e.extra_table_fields=[],e.copied=!1,e.copy_to_clipboard=function(t){r.copy_to_clipboard(t),e.copied=!0,setTimeout(function(){e.$apply(function(){e.copied=!1})},1e3)},e.model={},n.ready(function(t){e.model=t.nodes[e.model_uid],e.sample_sql=r.generateSourceSQL(e.model),e.highlighted.source=r.highlightSql(e.sample_sql),i(".source-code").each(function(e,t){hljs.lineNumbersBlock(t)}),e.extra_table_fields=[{name:"Loader",value:e.model.loader},{name:"Source",value:e.model.source_name}]})}])},function(e,t,n){(e.exports=n(20)(!1)).push([e.i,"\ntd.hljs-ln-numbers {\n    -webkit-touch-callout: none;\n    -webkit-user-select: none;\n    -khtml-user-select: none;\n    -moz-user-select: none;\n    -ms-user-select: none;\n    user-select: none;\n\n    text-align: right;\n    color: #ccc;\n    padding-right: 20px;\n    padding-left: 10px;\n\n    vertical-align: top;\n}\n\n.nav-tabs li.nav-pull-right {\n    flex: 1 0 auto;\n    text-align: right;\n}\n\ntr.column-row-selected {\n\n}\n\ntd.column-expanded{\n    padding: 0px !important;\n}\n\ntd.column-expanded > div {\n    padding: 5px 10px;\n    margin-left: 20px;\n    height: 100%;\n\n    border-left: 1px solid #ccc !important;\n}\n",""])},function(e,t,n){"use strict";const r=n(4),i=n(11),o=n(21);o.initHighlightingOnLoad(),o.initLineNumbersOnLoad(),n(24);n(7);r.module("dbt").controller("ModelCtrl",["$scope","$state","project","code","$anchorScroll","$location",function(e,t,n,r,a,s){e.model_uid=t.params.unique_id,e.tab=t.params.tab,e.project=n,e.codeService=r,e.highlighted={source:"",compiled:""},e.copied=!1,e.copy_to_clipboard=function(t){r.copy_to_clipboard(t),e.copied=!0,setTimeout(function(){e.$apply(function(){e.copied=!1})},1e3)},e.model={},n.ready(function(t){e.model=t.nodes[e.model_uid];e.highlighted.source=r.highlightSql(e.model.raw_sql),e.highlighted.compiled=r.highlightSql(e.model.injected_sql||"\n-- compiled SQL not found for this model\n"),i(".source-code").each(function(e,t){o.lineNumbersBlock(t)}),setTimeout(function(){a()},0)})}])},function(e,t,n){n(102),n(100),n(99),n(98)},function(e,t){var n="/components/column_details/column_details.html";window.angular.module("ng").run(["$templateCache",function(e){e.put(n,'<div class="panel">\n    <div class="panel-body">\n        <div ng-if="_.isEmpty(model.columns)">\n            Column information is not available for this seed\n        </div>\n        <div class="table-responsive" style="max-height: 800px; overflow-y: scroll;" ng-if="!_.isEmpty(model.columns)">\n            <table class="table table-borderless table-hover">\n                <thead>\n                    <tr>\n                        <th style="background-color: white; position: sticky; top: 0; z-index: 1;">Column</th>\n                        <th style="background-color: white; position: sticky; top: 0; z-index: 1;">Type</th>\n                        <th style="background-color: white; position: sticky; top: 0; z-index: 1;">Description</th>\n                        <th style="width: 1px; background-color: white; position: sticky; top: 0; z-index: 1;">Tests</th>\n                        <th style="width: 1px; background-color: white; position: sticky; top: 0; z-index: 1;" class=\'text-center\'>More?</th>\n                    </tr>\n                </thead>\n                <tbody>\n                    <tr\n                        ng-repeat-start="column in get_columns(model) track by column.index"\n                        ng-click="toggle_column_expanded(column)"\n                        class="column-row"\n                        ng-class="{\'column-row-selected\': column.expanded}"\n                        ng-style="{cursor: has_more_info(column) ? \'pointer\' : \'auto\'}">\n                        <td>\n                            <div>\n                                <span class=\'text-dark\'>{{ column.name }}</span>\n                            </div>\n                        </td>\n                        <td>\n                            <span class=\'text-dark\'>{{ column.type }}</p>\n                        </td>\n                        <td style="text-overflow: ellipsis; overflow-x: hidden; white-space: nowrap; max-width: 1px;">\n                            <span ng-show="!column.expanded">{{ column.description }}</span>\n                        </td>\n                        <td>\n                            <span class="text-light" ng-show="!column.expanded">\n                                <span data-toggle="tooltip" title="Unique" ng-if="has_test(column, \'U\')">U</span>\n                                <span data-toggle="tooltip" title="Not Null" ng-if="has_test(column, \'N\')">N</span>\n                                <span data-toggle="tooltip" title="Foreign Key" ng-if="has_test(column, \'F\')">F</span>\n                                <span data-toggle="tooltip" title="Accepted Values" ng-if="has_test(column, \'A\')">A</span>\n                                <span data-toggle="tooltip" title="Custom Test" ng-if="has_test(column, \'+\')">+</span>\n                            </span>\n                        </td>\n                        <td class=\'text-center\'>\n                            <span class=\'text-light\' ng-show="has_more_info(column)">\n                                <span ng-if="column.expanded">\n                                    <svg class="icn"><use xlink:href="#icn-up"></use></svg>\n                                </span>\n                                <span ng-if="!column.expanded">\n                                    <svg class="icn"><use xlink:href="#icn-right"></use></svg>\n                                </span>\n                            </span>\n                        </td>\n                    </tr>\n                    <tr ng-repeat-end ng-show="column.expanded" style="background-color: white; padding: 10px">\n                        <td colspan="5" class="column-expanded">\n                            <div style="padding: 5px 20px">\n                                <div style="margin-bottom: 15px">\n                                    <h5>Description</h5>\n                                    <span marked="column.description"></span>\n                                </div>\n\n                                <div ng-show="column.tests && column.tests.length" style="margin-bottom: 15px">\n                                    <h5>Schema Tests</h5>\n                                    <ul class="list-unstyled" style="margin-top: 2px">\n                                        <li ng-repeat="test in column.tests" ng-switch on="test.short" class=\'text-light\'>\n                                            <span ng-switch-when="F">\n                                                Foreign Key\n                                                <span ng-if="test.fk_model.unique_id">\n                                                    <a data-ui-state="getState(test.fk_model)"\n                                                        data-ui-state-params="{unique_id: test.fk_model.unique_id}">\n                                                        to {{ test.fk_model.name }}\n                                                    </a> on <code>{{ test.fk_field }}</code>\n                                                </span>\n                                            </span>\n                                            <span ng-switch-when="P">Primary Key</span>\n                                            <span ng-switch-when="U">Unique</span>\n                                            <span ng-switch-when="N">Not Null</span>\n                                            <span ng-switch-default>{{ test.label }}</span>\n                                        </li>\n                                    </ul>\n                                </div>\n                            </div>\n                        </td>\n                    </tr>\n                </tbody>\n            </table>\n        </div>\n    </div>\n</div>\n')}]),e.exports=n},function(e,t,n){"use strict";const r=n(104),i=n(7);angular.module("dbt").directive("columnDetails",[function(){return{scope:{model:"="},templateUrl:r,link:function(e){e.has_test=function(e,t){return-1!=i.pluck(e.tests,"short").indexOf(t)},e.has_more_info=function(e){var t=e.tests||[],n=e.description||"";return t.length||n.length},e.toggle_column_expanded=function(t){e.has_more_info(t)&&(t.expanded=!t.expanded)},e.getState=function(e){return"dbt."+e.resource_type},e.get_columns=function(e){var t=i.chain(e.columns).values().sortBy("index").value();return i.each(t,function(e,t){e.index=t}),t}}}}])},function(e,t,n){(e.exports=n(20)(!1)).push([e.i,"\n\n.details-content {\n    table-layout: fixed;\n}\n\n.detail-body {\n    white-space: nowrap;\n    overflow-x: scroll;\n}\n",""])},function(e,t,n){var r=n(106);"string"==typeof r&&(r=[[e.i,r,""]]);var i={hmr:!0,transform:void 0,insertInto:void 0};n(19)(r,i);r.locals&&(e.exports=r.locals)},function(e,t){var n="/components/table_details/table_details.html";window.angular.module("ng").run(["$templateCache",function(e){e.put(n,'<div class="section-content">\n    <h6>Details</h6>\n    <div class="panel">\n        <div class="panel-body">\n            <div class="details">\n                <div class="details-content">\n                    <div class="detail-group">\n                        \x3c!--\n                        <div class="detail-header">\n                            <h6 class="detail-label">Details</h6>\n                        </div>\n                        --\x3e\n                        <div class="detail-body">\n                            <dl class=\'detail\' ng-if="model.tags != undefined">\n                                <dt class="detail-label">Tags</dt>\n                                <dd ng-if="model.tags.length > 0" class="detail-value">\n                                    <span ng-repeat="tag in model.tags"><code><a ng-click=queryTag(tag)>{{ tag }}</a></code>&nbsp;</span>\n                                </dd>\n                                <dd ng-if="model.tags.length == 0" class="detail-value">untagged</dd>\n                            </dl>\n                            <dl class="detail"\n                                ng-repeat="item in details">\n                                <dt class="detail-label">{{ item.name }}</dt>\n                                <dd class="detail-value">{{ item.value }}</dd>\n                            </dl>\n                            <dl class="detail" ng-if="show_extended">\n                                <dt class="detail-label">Advanced</dt>\n                                <dd class="detail-value">\n                                    <a ng-show="!show_expanded()" ng-click="show_expanded(true)">Show</a>\n                                    <a ng-show="show_expanded()"  ng-click="show_expanded(false)">Hide</a>\n                                </dd>\n                            </dl>\n                        </div>\n                    </div>\n                    <div class="detail-group" ng-if="show_extended && show_expanded()">\n                        \x3c!--\n                        <div class="detail-header">\n                            <h6 class="detail-label">Table</h6>\n                        </div>\n                        --\x3e\n                        <div class="detail-body">\n                            <dl class="detail"\n                                ng-repeat="item in extended"\n                                ng-if="item.include">\n                                <dt data-toggle="tooltip" title="{{ item.description }}" class="detail-label">{{ item.label }}</dt>\n                                <dd class="detail-value">{{ item.value }}</dd>\n                            </dl>\n                        </div>\n                    </div>\n                </div>\n            </div>\n        </div>\n    </div>\n</div>\n')}]),e.exports=n},function(e,t,n){"use strict";const r=n(108);n(107);const i=n(7);angular.module("dbt").directive("tableDetails",["$sce","$filter",function(e,t){return{scope:{model:"=",extras:"="},templateUrl:r,link:function(e){function n(e,t){if(0==e)return"0 bytes";if(e<1&&(e*=1e6),isNaN(parseFloat(e))||!isFinite(e))return"-";void 0===t&&(t=0);var n=Math.floor(Math.log(e)/Math.log(1024));return(e/Math.pow(1024,Math.floor(n))).toFixed(t)+" "+["bytes","KB","MB","GB","TB","PB"][n]}function r(e,n){return void 0===n&&(n=2),t("number")(100*e,n)+"%"}function o(e,n){return void 0===n&&(n=0),t("number")(e,n)}e.details=[],e.extended=[],e._show_expanded=!1,e.show_expanded=function(t){return void 0!==t&&(e._show_expanded=t),e._show_expanded},e.$watch("model",function(t,a){i.property(["metadata","type"])(t);e.details=function(e){var t,n=!e.metadata,r=e.metadata||{};t=n?void 0:"source"==e.resource_type?e.database+"."+e.schema+"."+e.identifier:e.database+"."+e.schema+"."+e.alias;var o=[{name:"Owner",value:r.owner},{name:"Type",value:n?void 0:function(e){return"BASE TABLE"==e?{type:"table",name:"table"}:"LATE BINDING VIEW"==e?{type:"view",name:"late binding view"}:{type:e.toLowerCase(),name:e.toLowerCase()}}(r.type).name},{name:"Package",value:e.package_name},{name:"Relation",value:t}];return i.filter(o,function(e){return void 0!==e.value})}(t),e.extended=function(e){var t={rows:o,row_count:o,num_rows:o,max_varchar:o,pct_used:r,size:n,bytes:n,num_bytes:n},a=i.sortBy(i.values(e),"label");return i.map(a,function(e){var n=i.clone(e),r=t[e.id];return r&&(n.value=r(e.value),n.label=e.label.replace("Approximate","~"),n.label=e.label.replace("Utilization","Used")),n})}(t.stats),e.extras&&(e.details=e.details.concat(e.extras)),e.show_extended=i.where(e.extended,{include:!0}).length>0}),e.queryTag=function(t){e.$emit("query",t)}}}}])},function(e,t){var n="/components/search/search.html";window.angular.module("ng").run(["$templateCache",function(e){e.put(n,'<div class="app-scroll">\n    <style>\n    .search-result-match {\n        background-color: #eee;\n    }\n    .spacing {\n        margin-right: 0.25em;\n    }\n    .sub-results {\n        margin-left: 36px;\n    }\n    </style>\n\n    <div class="app-title">\n        <div class="app-frame app-pad">\n            <h1>\n                <span class="break">{{ query }}</span>\n                <small><span>{{ results.length }}</span> search results</small>\n            </h1>\n        </div>\n    </div>\n    <div class="app-details">\n        <div class="app-frame app-pad">\n            <div class="results">\n                <div ng-repeat="result in results | filter:limit_search | orderBy:\'-model.name\':true track by result.model.unique_id"\n                     data-ui-state="getState(result.model)" data-ui-state-params="{unique_id: result.model.unique_id}"\n                     ng-click="onSelect()"\n                     class="result search-result a">\n                        <div class="result-content">\n                            <div class="result-icn">\n                                <svg class="icn "><use xlink:href="#icn-doc"></use></svg>\n                            </div>\n                            <div class="result-body">\n                                <h4 class="a">\n                                    <span ng-bind-html="highlight(getModelName(result.model))"></span>\n                                    <small>{{result.model.resource_type}}</small>\n                                </h4>\n                                <p ng-bind-html="highlight(result.model.description)"></p>\n                            </div>\n                        </div>\n                    <div class="sub-results" ng-show="query.length > 0">\n                        <span ng-repeat="column in columnFilter(result.model.columns) | limitTo:limitColumns(result.model.unique_id)">\n                            <span ng-show="$first === true">columns:</span>\n                            <span ng-bind-html="highlight(column + \',\')" ng-show="$last === false"></span>\n                            <span ng-bind-html="highlight(column)" ng-show="$last === true"></span>\n                        </span>\n                        <a\n                            ng-show="columnFilter(result.model.columns).length > max_results_columns && !limit_columns[result.model.unique_id]"\n                            ng-click="$event.stopPropagation(); limit_columns[result.model.unique_id] = 100">Show {{ columnFilter(result.model.columns).length - max_results_columns }} more</a>\n                    </div>\n                    <div class="sub-results" ng-show="query.length > 0">\n                        <span ng-repeat="tag in result.model.tags">\n                            <span ng-show="$first === true">tags:</span>\n                            <span ng-bind-html="highlight(tag + \',\')" ng-show="$last === false"></span>\n                            <span ng-bind-html="highlight(tag)" ng-show="$last === true"></span>\n                        </span>\n                    </div>\n                </div>\n                <a\n                    ng-show="results.length >= max_results && !show_all"\n                    ng-click="show_all = true">Show {{ results.length - max_results }} more</a>\n            </div>\n        </div>\n    </div>\n</div>\n')}]),e.exports=n},function(e,t,n){"use strict";const r=n(110);angular.module("dbt").directive("docsSearch",["$sce",function(e){return{scope:{query:"=",results:"=",onSelect:"&"},replace:!0,templateUrl:r,link:function(t){t.max_results=20,t.show_all=!1,t.max_results_columns=3,t.limit_columns={},t.limit_search=function(e,n,r){return n<t.max_results||t.show_all},t.getState=function(e){return"dbt."+e.resource_type},t.getModelName=function(e){return"source"==e.resource_type?e.source_name+"."+e.name:e.name},t.highlight=function(n){return t.query&&n?e.trustAsHtml(n.replace(new RegExp(t.query,"gi"),'<span class="search-result-match">$&</span>')):e.trustAsHtml(n)},t.$watch("query",function(e,n){0==e.length&&(t.show_all=!1,t.limit_columns={})}),t.columnFilter=function(e){var n=[];for(var r in e)-1!=r.toLowerCase().indexOf(t.query.toLowerCase())&&n.push(r);return n},t.limitColumns=function(e){return void 0!==t.limit_columns[e]?t.limit_columns[e]:3}}}}])},function(e,t,n){(e.exports=n(20)(!1)).push([e.i,"\n.unselectable{\n  -webkit-user-select: none;\n  -moz-user-select: none;\n  -ms-user-select: none;\n  user-select: none;\n}\n",""])},function(e,t,n){var r=n(112);"string"==typeof r&&(r=[[e.i,r,""]]);var i={hmr:!0,transform:void 0,insertInto:void 0};n(19)(r,i);r.locals&&(e.exports=r.locals)},function(e,t){var n="/components/model_tree/model_tree_line.html";window.angular.module("ng").run(["$templateCache",function(e){e.put(n,'<li class=\'unselectable\'>\n\n    <a ng-if="!item.unique_id"\n       class=\'unselectable\'\n       ng-class="getClass(item)"\n       ng-click="onFolderClick(item)">\n        <span class="filename">\n            <span class="filename-normal">\n                <svg class="icn menu-icon-on"><use xlink:href="{{ getIcon(item.type, \'on\') }}"></use></svg>\n                <svg class="icn menu-icon-off"><use xlink:href="{{ getIcon(item.type, \'off\') }}"></use></svg>\n            </span>\n            <span class="filename-ellip">{{name.start}}</span>\n            <span class="filename-normal">{{name.end}}</span>\n        </span>\n    </a>\n\n    <a ng-if="item.unique_id"\n       class=\'unselectable\'\n       ng-class="getClass(item)"\n       ng-click="activate(item)"\n       data-nav-unique-id="{{ item.unique_id }}">\n        <span class="filename">\n            <span class="filename-normal">\n                <svg class="icn menu-icon-on"><use xlink:href="{{ getIcon(item.type, \'on\') }}"></use></svg>\n                <svg class="icn menu-icon-off"><use xlink:href="{{ getIcon(item.type, \'off\') }}"></use></svg>\n            </span>\n            <span class="filename-ellip">{{name.start}}</span>\n            <span class="filename-normal">{{name.end}}</span>\n        </span>\n    </a>\n\n    <ul ng-if="item.items">\n        <model-tree-line\n                resource-type="{{ resourceType }}"\n                item="subitem"\n                depth="depth + 1"\n                ng-repeat="subitem in item.items" />\n    </ul>\n</li>\n')}]),e.exports=n},function(e,t,n){"use strict";const r=n(114),i=n(7);n(113),angular.module("dbt").directive("modelTreeLine",["$state",function(e){return{scope:{item:"=",depth:"<",resourceType:"@"},replace:!0,templateUrl:r,link:function(t,n,r,o){t.depth||(t.depth=0);var a=t.item.name,s=i.last(a,15).join(""),l=i.initial(a,s.length).join("");t.name={name:a,start:l,end:s},t.name_start=l,t.name_end=s,t.onFolderClick=function(n){if(n.active=!n.active,"source"==t.resourceType){var r=n.name;e.go("dbt.source_list",{source:r})}},t.activate=function(n){t.$emit("clearSearch"),n.active=!0;var r="dbt."+n.node.resource_type;e.go(r,{unique_id:n.unique_id})},t.getIcon=function(e,t){return"#"+{header:{on:"icn-down",off:"icn-right"},database:{on:"icn-db-on",off:"icn-db"},schema:{on:"icn-tree-on",off:"icn-tree"},table:{on:"icn-doc-on",off:"icn-doc"},folder:{on:"icn-dir-on",off:"icn-dir"},file:{on:"icn-doc-on",off:"icn-doc"}}[e][t]},t.getClass=function(e){return{active:e.active,"menu-tree":"header"==e.type||"schema"==e.type||"folder"==e.type,"menu-main":"header"==e.type,"menu-node":"file"==e.type||"table"==e.type}}}}}])},function(e,t){var n="/components/model_tree/model_tree.html";window.angular.module("ng").run(["$templateCache",function(e){e.put(n,'<style>\n.menu ul ul {\n    margin-left: 12px;\n}\n</style>\n\n<div class="menu">\n    <ul>\n        <li>\n            <a ui-sref="dbt.overview()" class="menu-link menu-main">\n                Overview\n            </a>\n        </li>\n\n        <li>\n            <div class="switches">\n                <div class="switch ">\n                    <span\n                       class="switch-label btn btn-sm"\n                       ng-class="{active: (nav_selected == \'project\')}"\n                       ng-click="nav_selected = \'project\'">\n                        <svg class="icn menu-icon-on"><use xlink:href="#icn-dir-on"></use></svg>\n                        Project\n                    </span>\n                </div>\n                <div class="switch">\n                    <span\n                       class="switch-label btn btn-sm"\n                       ng-class="{active: (nav_selected == \'database\')}"\n                       ng-click="nav_selected = \'database\'">\n                        <svg class="icn menu-icon-on"><use xlink:href="#icn-tree-on"></use></svg>\n                        Database\n                    </span>\n                </div>\n            </div>\n        </li>\n\n        <li>\n            <div class="menu" ng-show="nav_selected == \'project\'">\n                <div ng-show="tree.sources.length > 0">\n                    <strong>Sources</strong>\n                    <ul style="display: block">\n                        <model-tree-line\n                            item="item"\n                            resource-type="source"\n                            ng-repeat="item in tree.sources"></source-tree-line>\n                    </ul>\n                    <br />\n                </div>\n\n                <strong>Projects</strong>\n                <ul>\n                    <model-tree-line\n                        item="item"\n                        resource-type="model"\n                        ng-repeat="item in tree.project"></model-tree-line>\n                </ul>\n            </div>\n        </li>\n\n        <li>\n            <div class="menu" ng-show="nav_selected == \'database\'">\n                <strong>Tables and Views</strong>\n                <ul>\n                    <model-tree-line\n                        item="item"\n                        resource-type="model"\n                        ng-repeat="item in tree.database"></model-tree-line>\n                </ul>\n            </div>\n        </li>\n    </ul>\n</div>\n')}]),e.exports=n},function(e,t,n){"use strict";const r=n(116);angular.module("dbt").directive("modelTree",[function(){return{scope:{tree:"="},templateUrl:r,link:function(e){e.nav_selected="project"}}}])},function(e,t){e.exports="0.7.4"},function(e,t,n){var r=n(2),i=n(6),o=n(10).Graph;e.exports={debugOrdering:function(e){var t=i.buildLayerMatrix(e),n=new o({compound:!0,multigraph:!0}).setGraph({});return r.each(e.nodes(),function(t){n.setNode(t,{label:t}),n.setParent(t,"layer"+e.node(t).rank)}),r.each(e.edges(),function(e){n.setEdge(e.v,e.w,{},e.name)}),r.each(t,function(e,t){var i="layer"+t;n.setNode(i,{rank:"same"}),r.reduce(e,function(e,t){return n.setEdge(e,t,{style:"invis"}),t})}),n}}},function(e,t,n){"use strict";var r=n(2),i=n(10).Graph,o=n(6);function a(e,t){var n={};return r.reduce(t,function(t,i){var o=0,a=0,s=t.length,c=r.last(i);return r.each(i,function(t,u){var d=function(e,t){if(e.node(t).dummy)return r.find(e.predecessors(t),function(t){return e.node(t).dummy})}(e,t),p=d?e.node(d).order:s;(d||t===c)&&(r.each(i.slice(a,u+1),function(t){r.each(e.predecessors(t),function(r){var i=e.node(r),a=i.order;!(a<o||p<a)||i.dummy&&e.node(t).dummy||l(n,r,t)})}),a=u+1,o=p)}),i}),n}function s(e,t){var n={};function i(t,i,o,a,s){var c;r.each(r.range(i,o),function(i){c=t[i],e.node(c).dummy&&r.each(e.predecessors(c),function(t){var r=e.node(t);r.dummy&&(r.order<a||r.order>s)&&l(n,t,c)})})}return r.reduce(t,function(t,n){var o,a=-1,s=0;return r.each(n,function(r,l){if("border"===e.node(r).dummy){var c=e.predecessors(r);c.length&&(o=e.node(c[0]).order,i(n,s,l,a,o),s=l,a=o)}i(n,s,n.length,o,t.length)}),n}),n}function l(e,t,n){if(t>n){var r=t;t=n,n=r}var i=e[t];i||(e[t]=i={}),i[n]=!0}function c(e,t,n){if(t>n){var i=t;t=n,n=i}return r.has(e[t],n)}function u(e,t,n,i){var o={},a={},s={};return r.each(t,function(e){r.each(e,function(e,t){o[e]=e,a[e]=e,s[e]=t})}),r.each(t,function(e){var t=-1;r.each(e,function(e){var l=i(e);if(l.length)for(var u=((l=r.sortBy(l,function(e){return s[e]})).length-1)/2,d=Math.floor(u),p=Math.ceil(u);d<=p;++d){var f=l[d];a[e]===e&&t<s[f]&&!c(n,e,f)&&(a[f]=e,a[e]=o[e]=o[f],t=s[f])}})}),{root:o,align:a}}function d(e,t,n,o,a){var s={},l=function(e,t,n,o){var a=new i,s=e.graph(),l=function(e,t,n){return function(i,o,a){var s,l=i.node(o),c=i.node(a),u=0;if(u+=l.width/2,r.has(l,"labelpos"))switch(l.labelpos.toLowerCase()){case"l":s=-l.width/2;break;case"r":s=l.width/2}if(s&&(u+=n?s:-s),s=0,u+=(l.dummy?t:e)/2,u+=(c.dummy?t:e)/2,u+=c.width/2,r.has(c,"labelpos"))switch(c.labelpos.toLowerCase()){case"l":s=c.width/2;break;case"r":s=-c.width/2}return s&&(u+=n?s:-s),s=0,u}}(s.nodesep,s.edgesep,o);return r.each(t,function(t){var i;r.each(t,function(t){var r=n[t];if(a.setNode(r),i){var o=n[i],s=a.edge(o,r);a.setEdge(o,r,Math.max(l(e,t,i),s||0))}i=t})}),a}(e,t,n,a),c={};r.each(l.nodes(),function e(t){r.has(c,t)||(c[t]=!0,s[t]=r.reduce(l.inEdges(t),function(t,n){return e(n.v),Math.max(t,s[n.v]+l.edge(n))},0))});var u=a?"borderLeft":"borderRight";return r.each(l.nodes(),function t(n){if(2!==c[n]){c[n]++;var i=e.node(n),o=r.reduce(l.outEdges(n),function(e,n){return t(n.w),Math.min(e,s[n.w]-l.edge(n))},Number.POSITIVE_INFINITY);o!==Number.POSITIVE_INFINITY&&i.borderType!==u&&(s[n]=Math.max(s[n],o))}}),r.each(o,function(e){s[e]=s[n[e]]}),s}function p(e,t){return r.min(t,function(t){var n=r.min(t,function(t,n){return t-g(e,n)/2});return r.max(t,function(t,n){return t+g(e,n)/2})-n})}function f(e,t){var n=r.min(t),i=r.max(t);r.each(["u","d"],function(o){r.each(["l","r"],function(a){var s,l=o+a,c=e[l];c!==t&&(s="l"===a?n-r.min(c):i-r.max(c))&&(e[l]=r.mapValues(c,function(e){return e+s}))})})}function h(e,t){return r.mapValues(e.ul,function(n,i){if(t)return e[t.toLowerCase()][i];var o=r.sortBy(r.pluck(e,i));return(o[1]+o[2])/2})}function g(e,t){return e.node(t).width}e.exports={positionX:function(e){var t,n=o.buildLayerMatrix(e),i=r.merge(a(e,n),s(e,n)),l={};r.each(["u","d"],function(o){t="u"===o?n:r.values(n).reverse(),r.each(["l","r"],function(n){"r"===n&&(t=r.map(t,function(e){return r.values(e).reverse()}));var a=r.bind("u"===o?e.predecessors:e.successors,e),s=u(e,t,i,a),c=d(e,t,s.root,s.align,"r"===n);"r"===n&&(c=r.mapValues(c,function(e){return-e})),l[o+n]=c})});var c=p(e,l);return f(l,c),h(l,e.graph().align)},findType1Conflicts:a,findType2Conflicts:s,addConflict:l,hasConflict:c,verticalAlignment:u,horizontalCompaction:d,alignCoordinates:f,findSmallestWidthAlignment:p,balance:h}},function(e,t,n){"use strict";var r=n(2),i=n(6),o=n(120).positionX;e.exports=function(e){(function(e){var t=i.buildLayerMatrix(e),n=e.graph().ranksep,o=0;r.each(t,function(t){var i=r.max(r.map(t,function(t){return e.node(t).height}));r.each(t,function(t){e.node(t).y=o+i/2}),o+=i+n})})(e=i.asNonCompoundGraph(e)),r.each(o(e),function(t,n){e.node(n).x=t})}},function(e,t,n){var r=n(2);e.exports=function(e,t,n){var i,o={};r.each(n,function(n){for(var r,a,s=e.parent(n);s;){if((r=e.parent(s))?(a=o[r],o[r]=s):(a=i,i=s),a&&a!==s)return void t.setEdge(a,s);s=r}})}},function(e,t,n){var r=n(2),i=n(10).Graph;e.exports=function(e,t,n){var o=function(e){var t;for(;e.hasNode(t=r.uniqueId("_root")););return t}(e),a=new i({compound:!0}).setGraph({root:o}).setDefaultNodeLabel(function(t){return e.node(t)});return r.each(e.nodes(),function(i){var s=e.node(i),l=e.parent(i);(s.rank===t||s.minRank<=t&&t<=s.maxRank)&&(a.setNode(i),a.setParent(i,l||o),r.each(e[n](i),function(t){var n=t.v===i?t.w:t.v,o=a.edge(n,i),s=r.isUndefined(o)?0:o.weight;a.setEdge(n,i,{weight:e.edge(t).weight+s})}),r.has(s,"minRank")&&a.setNode(i,{borderLeft:s.borderLeft[t],borderRight:s.borderRight[t]}))}),a}},function(e,t,n){var r=n(2),i=n(6);function o(e,t,n){for(var i;t.length&&(i=r.last(t)).i<=n;)t.pop(),e.push(i.vs),n++;return n}e.exports=function(e,t){var n=i.partition(e,function(e){return r.has(e,"barycenter")}),a=n.lhs,s=r.sortBy(n.rhs,function(e){return-e.i}),l=[],c=0,u=0,d=0;a.sort(function(e){return function(t,n){return t.barycenter<n.barycenter?-1:t.barycenter>n.barycenter?1:e?n.i-t.i:t.i-n.i}}(!!t)),d=o(l,s,d),r.each(a,function(e){d+=e.vs.length,l.push(e.vs),c+=e.barycenter*e.weight,u+=e.weight,d=o(l,s,d)});var p={vs:r.flatten(l,!0)};u&&(p.barycenter=c/u,p.weight=u);return p}},function(e,t,n){"use strict";var r=n(2);e.exports=function(e,t){var n={};return r.each(e,function(e,t){var i=n[e.v]={indegree:0,in:[],out:[],vs:[e.v],i:t};r.isUndefined(e.barycenter)||(i.barycenter=e.barycenter,i.weight=e.weight)}),r.each(t.edges(),function(e){var t=n[e.v],i=n[e.w];r.isUndefined(t)||r.isUndefined(i)||(i.indegree++,t.out.push(n[e.w]))}),function(e){var t=[];function n(e){return function(t){t.merged||(r.isUndefined(t.barycenter)||r.isUndefined(e.barycenter)||t.barycenter>=e.barycenter)&&function(e,t){var n=0,r=0;e.weight&&(n+=e.barycenter*e.weight,r+=e.weight),t.weight&&(n+=t.barycenter*t.weight,r+=t.weight),e.vs=t.vs.concat(e.vs),e.barycenter=n/r,e.weight=r,e.i=Math.min(t.i,e.i),t.merged=!0}(e,t)}}function i(t){return function(n){n.in.push(t),0==--n.indegree&&e.push(n)}}for(;e.length;){var o=e.pop();t.push(o),r.each(o.in.reverse(),n(o)),r.each(o.out,i(o))}return r.chain(t).filter(function(e){return!e.merged}).map(function(e){return r.pick(e,["vs","i","barycenter","weight"])}).value()}(r.filter(n,function(e){return!e.indegree}))}},function(e,t,n){var r=n(2);e.exports=function(e,t){return r.map(t,function(t){var n=e.inEdges(t);if(n.length){var i=r.reduce(n,function(t,n){var r=e.edge(n),i=e.node(n.v);return{sum:t.sum+r.weight*i.order,weight:t.weight+r.weight}},{sum:0,weight:0});return{v:t,barycenter:i.sum/i.weight,weight:i.weight}}return{v:t}})}},function(e,t,n){var r=n(2),i=n(126),o=n(125),a=n(124);e.exports=function e(t,n,s,l){var c=t.children(n),u=t.node(n),d=u?u.borderLeft:void 0,p=u?u.borderRight:void 0,f={};d&&(c=r.filter(c,function(e){return e!==d&&e!==p}));var h=i(t,c);r.each(h,function(n){if(t.children(n.v).length){var i=e(t,n.v,s,l);f[n.v]=i,r.has(i,"barycenter")&&function(e,t){r.isUndefined(e.barycenter)?(e.barycenter=t.barycenter,e.weight=t.weight):(e.barycenter=(e.barycenter*e.weight+t.barycenter*t.weight)/(e.weight+t.weight),e.weight+=t.weight)}(n,i)}});var g=o(h,s);!function(e,t){r.each(e,function(e){e.vs=r.flatten(e.vs.map(function(e){return t[e]?t[e].vs:e}),!0)})}(g,f);var m=a(g,l);if(d&&(m.vs=r.flatten([d,m.vs,p],!0),t.predecessors(d).length)){var v=t.node(t.predecessors(d)[0]),b=t.node(t.predecessors(p)[0]);r.has(m,"barycenter")||(m.barycenter=0,m.weight=0),m.barycenter=(m.barycenter*m.weight+v.order+b.order)/(m.weight+2),m.weight+=2}return m}},function(e,t,n){"use strict";var r=n(2);function i(e,t,n){for(var i=r.zipObject(n,r.map(n,function(e,t){return t})),o=r.flatten(r.map(t,function(t){return r.chain(e.outEdges(t)).map(function(t){return{pos:i[t.w],weight:e.edge(t).weight}}).sortBy("pos").value()}),!0),a=1;a<n.length;)a<<=1;var s=2*a-1;a-=1;var l=r.map(new Array(s),function(){return 0}),c=0;return r.each(o.forEach(function(e){var t=e.pos+a;l[t]+=e.weight;for(var n=0;t>0;)t%2&&(n+=l[t+1]),l[t=t-1>>1]+=e.weight;c+=e.weight*n})),c}e.exports=function(e,t){for(var n=0,r=1;r<t.length;++r)n+=i(e,t[r-1],t[r]);return n}},function(e,t,n){"use strict";var r=n(2);e.exports=function(e){var t={},n=r.filter(e.nodes(),function(t){return!e.children(t).length}),i=r.max(r.map(n,function(t){return e.node(t).rank})),o=r.map(r.range(i+1),function(){return[]});var a=r.sortBy(n,function(t){return e.node(t).rank});return r.each(a,function n(i){if(!r.has(t,i)){t[i]=!0;var a=e.node(i);o[a.rank].push(i),r.each(e.successors(i),n)}}),o}},function(e,t,n){"use strict";var r=n(2),i=n(129),o=n(128),a=n(127),s=n(123),l=n(122),c=n(10).Graph,u=n(6);function d(e,t,n){return r.map(t,function(t){return s(e,t,n)})}function p(e,t){var n=new c;r.each(e,function(e){var i=e.graph().root,o=a(e,i,n,t);r.each(o.vs,function(t,n){e.node(t).order=n}),l(e,n,o.vs)})}function f(e,t){r.each(t,function(t){r.each(t,function(t,n){e.node(t).order=n})})}e.exports=function(e){var t=u.maxRank(e),n=d(e,r.range(1,t+1),"inEdges"),a=d(e,r.range(t-1,-1,-1),"outEdges"),s=i(e);f(e,s);for(var l,c=Number.POSITIVE_INFINITY,h=0,g=0;g<4;++h,++g){p(h%2?n:a,h%4>=2),s=u.buildLayerMatrix(e);var m=o(e,s);m<c&&(g=0,l=r.cloneDeep(s),c=m)}f(e,l)}},function(e,t,n){"use strict";var r=n(2);function i(e){r.each(e.nodes(),function(t){o(e.node(t))}),r.each(e.edges(),function(t){o(e.edge(t))})}function o(e){var t=e.width;e.width=e.height,e.height=t}function a(e){e.y=-e.y}function s(e){var t=e.x;e.x=e.y,e.y=t}e.exports={adjust:function(e){var t=e.graph().rankdir.toLowerCase();"lr"!==t&&"rl"!==t||i(e)},undo:function(e){var t=e.graph().rankdir.toLowerCase();"bt"!==t&&"rl"!==t||function(e){r.each(e.nodes(),function(t){a(e.node(t))}),r.each(e.edges(),function(t){var n=e.edge(t);r.each(n.points,a),r.has(n,"y")&&a(n)})}(e);"lr"!==t&&"rl"!==t||(!function(e){r.each(e.nodes(),function(t){s(e.node(t))}),r.each(e.edges(),function(t){var n=e.edge(t);r.each(n.points,s),r.has(n,"x")&&s(n)})}(e),i(e))}}},function(e,t,n){var r=n(2),i=n(6);function o(e,t,n,r,o,a){var s={width:0,height:0,rank:a,borderType:t},l=o[t][a-1],c=i.addDummyNode(e,"border",s,n);o[t][a]=c,e.setParent(c,r),l&&e.setEdge(l,c,{weight:1})}e.exports=function(e){r.each(e.children(),function t(n){var i=e.children(n),a=e.node(n);i.length&&r.each(i,t);if(r.has(a,"minRank")){a.borderLeft=[],a.borderRight=[];for(var s=a.minRank,l=a.maxRank+1;s<l;++s)o(e,"borderLeft","_bl",n,a,s),o(e,"borderRight","_br",n,a,s)}})}},function(e,t,n){var r=n(2),i=n(6);e.exports={run:function(e){var t=i.addDummyNode(e,"root",{},"_root"),n=function(e){var t={};return r.each(e.children(),function(n){!function n(i,o){var a=e.children(i);a&&a.length&&r.each(a,function(e){n(e,o+1)}),t[i]=o}(n,1)}),t}(e),o=r.max(n)-1,a=2*o+1;e.graph().nestingRoot=t,r.each(e.edges(),function(t){e.edge(t).minlen*=a});var s=function(e){return r.reduce(e.edges(),function(t,n){return t+e.edge(n).weight},0)}(e)+1;r.each(e.children(),function(l){!function e(t,n,o,a,s,l,c){var u=t.children(c);if(!u.length)return void(c!==n&&t.setEdge(n,c,{weight:0,minlen:o}));var d=i.addBorderNode(t,"_bt"),p=i.addBorderNode(t,"_bb"),f=t.node(c);t.setParent(d,c);f.borderTop=d;t.setParent(p,c);f.borderBottom=p;r.each(u,function(r){e(t,n,o,a,s,l,r);var i=t.node(r),u=i.borderTop?i.borderTop:r,f=i.borderBottom?i.borderBottom:r,h=i.borderTop?a:2*a,g=u!==f?1:s-l[c]+1;t.setEdge(d,u,{weight:h,minlen:g,nestingEdge:!0}),t.setEdge(f,p,{weight:h,minlen:g,nestingEdge:!0})});t.parent(c)||t.setEdge(n,d,{weight:0,minlen:s+l[c]})}(e,t,a,s,o,n,l)}),e.graph().nodeRankFactor=a},cleanup:function(e){var t=e.graph();e.removeNode(t.nestingRoot),delete t.nestingRoot,r.each(e.edges(),function(t){var n=e.edge(t);n.nestingEdge&&e.removeEdge(t)})}}},function(e,t,n){var r=n(2);e.exports=function(e){var t=function(e){var t={},n=0;return r.each(e.children(),function i(o){var a=n;r.each(e.children(o),i),t[o]={low:a,lim:n++}}),t}(e);r.each(e.graph().dummyChains,function(n){for(var r=e.node(n),i=r.edgeObj,o=function(e,t,n,r){var i,o,a=[],s=[],l=Math.min(t[n].low,t[r].low),c=Math.max(t[n].lim,t[r].lim);i=n;do{i=e.parent(i),a.push(i)}while(i&&(t[i].low>l||c>t[i].lim));o=i,i=r;for(;(i=e.parent(i))!==o;)s.push(i);return{path:a.concat(s.reverse()),lca:o}}(e,t,i.v,i.w),a=o.path,s=o.lca,l=0,c=a[l],u=!0;n!==i.w;){if(r=e.node(n),u){for(;(c=a[l])!==s&&e.node(c).maxRank<r.rank;)l++;c===s&&(u=!1)}if(!u){for(;l<a.length-1&&e.node(c=a[l+1]).minRank<=r.rank;)l++;c=a[l]}e.setParent(n,c),n=e.successors(n)[0]}})}},function(e,t,n){"use strict";var r=n(2),i=n(43),o=n(25).slack,a=n(25).longestPath,s=n(10).alg.preorder,l=n(10).alg.postorder,c=n(6).simplify;function u(e){e=c(e),a(e);var t,n=i(e);for(f(n),d(n,e);t=h(n);)m(n,e,t,g(n,e,t))}function d(e,t){var n=l(e,e.nodes());n=n.slice(0,n.length-1),r.each(n,function(n){!function(e,t,n){var r=e.node(n).parent;e.edge(n,r).cutvalue=p(e,t,n)}(e,t,n)})}function p(e,t,n){var i=e.node(n).parent,o=!0,a=t.edge(n,i),s=0;return a||(o=!1,a=t.edge(i,n)),s=a.weight,r.each(t.nodeEdges(n),function(r){var a=r.v===n,l=a?r.w:r.v;if(l!==i){var c=a===o,u=t.edge(r).weight;if(s+=c?u:-u,function(e,t,n){return e.hasEdge(t,n)}(e,n,l)){var d=e.edge(n,l).cutvalue;s+=c?-d:d}}}),s}function f(e,t){arguments.length<2&&(t=e.nodes()[0]),function e(t,n,i,o,a){var s=i,l=t.node(o);n[o]=!0;r.each(t.neighbors(o),function(a){r.has(n,a)||(i=e(t,n,i,a,o))});l.low=s;l.lim=i++;a?l.parent=a:delete l.parent;return i}(e,{},1,t)}function h(e){return r.find(e.edges(),function(t){return e.edge(t).cutvalue<0})}function g(e,t,n){var i=n.v,a=n.w;t.hasEdge(i,a)||(i=n.w,a=n.v);var s=e.node(i),l=e.node(a),c=s,u=!1;s.lim>l.lim&&(c=l,u=!0);var d=r.filter(t.edges(),function(t){return u===v(e,e.node(t.v),c)&&u!==v(e,e.node(t.w),c)});return r.min(d,function(e){return o(t,e)})}function m(e,t,n,i){var o=n.v,a=n.w;e.removeEdge(o,a),e.setEdge(i.v,i.w,{}),f(e),d(e,t),function(e,t){var n=r.find(e.nodes(),function(e){return!t.node(e).parent}),i=s(e,n);i=i.slice(1),r.each(i,function(n){var r=e.node(n).parent,i=t.edge(n,r),o=!1;i||(i=t.edge(r,n),o=!0),t.node(n).rank=t.node(r).rank+(o?i.minlen:-i.minlen)})}(e,t)}function v(e,t,n){return n.low<=t.lim&&t.lim<=n.lim}e.exports=u,u.initLowLimValues=f,u.initCutValues=d,u.calcCutValue=p,u.leaveEdge=h,u.enterEdge=g,u.exchangeEdges=m},function(e,t,n){"use strict";var r=n(25).longestPath,i=n(43),o=n(135);e.exports=function(e){switch(e.graph().ranker){case"network-simplex":s(e);break;case"tight-tree":!function(e){r(e),i(e)}(e);break;case"longest-path":a(e);break;default:s(e)}};var a=r;function s(e){o(e)}},function(e,t,n){"use strict";var r=n(2),i=n(6);e.exports={run:function(e){e.graph().dummyChains=[],r.each(e.edges(),function(t){!function(e,t){var n,r,o,a=t.v,s=e.node(a).rank,l=t.w,c=e.node(l).rank,u=t.name,d=e.edge(t),p=d.labelRank;if(c===s+1)return;for(e.removeEdge(t),o=0,++s;s<c;++o,++s)d.points=[],r={width:0,height:0,edgeLabel:d,edgeObj:t,rank:s},n=i.addDummyNode(e,"edge",r,"_d"),s===p&&(r.width=d.width,r.height=d.height,r.dummy="edge-label",r.labelpos=d.labelpos),e.setEdge(a,n,{weight:d.weight},u),0===o&&e.graph().dummyChains.push(n),a=n;e.setEdge(a,l,{weight:d.weight},u)}(e,t)})},undo:function(e){r.each(e.graph().dummyChains,function(t){var n,r=e.node(t),i=r.edgeLabel;for(e.setEdge(r.edgeObj,i);r.dummy;)n=e.successors(t)[0],e.removeNode(t),i.points.push({x:r.x,y:r.y}),"edge-label"===r.dummy&&(i.x=r.x,i.y=r.y,i.width=r.width,i.height=r.height),t=n,r=e.node(t)})}}},function(e,t){function n(){var e={};e._next=e._prev=e,this._sentinel=e}function r(e){e._prev._next=e._next,e._next._prev=e._prev,delete e._next,delete e._prev}function i(e,t){if("_next"!==e&&"_prev"!==e)return t}e.exports=n,n.prototype.dequeue=function(){var e=this._sentinel,t=e._prev;if(t!==e)return r(t),t},n.prototype.enqueue=function(e){var t=this._sentinel;e._prev&&e._next&&r(e),e._next=t._next,t._next._prev=e,t._next=e,e._prev=t},n.prototype.toString=function(){for(var e=[],t=this._sentinel,n=t._prev;n!==t;)e.push(JSON.stringify(n,i)),n=n._prev;return"["+e.join(", ")+"]"}},function(e,t,n){var r=n(2),i=n(10).Graph,o=n(138);e.exports=function(e,t){if(e.nodeCount()<=1)return[];var n=function(e,t){var n=new i,a=0,s=0;r.each(e.nodes(),function(e){n.setNode(e,{v:e,in:0,out:0})}),r.each(e.edges(),function(e){var r=n.edge(e.v,e.w)||0,i=t(e),o=r+i;n.setEdge(e.v,e.w,o),s=Math.max(s,n.node(e.v).out+=i),a=Math.max(a,n.node(e.w).in+=i)});var c=r.range(s+a+3).map(function(){return new o}),u=a+1;return r.each(n.nodes(),function(e){l(c,u,n.node(e))}),{graph:n,buckets:c,zeroIdx:u}}(e,t||a),c=function(e,t,n){var r,i=[],o=t[t.length-1],a=t[0];for(;e.nodeCount();){for(;r=a.dequeue();)s(e,t,n,r);for(;r=o.dequeue();)s(e,t,n,r);if(e.nodeCount())for(var l=t.length-2;l>0;--l)if(r=t[l].dequeue()){i=i.concat(s(e,t,n,r,!0));break}}return i}(n.graph,n.buckets,n.zeroIdx);return r.flatten(r.map(c,function(t){return e.outEdges(t.v,t.w)}),!0)};var a=r.constant(1);function s(e,t,n,i,o){var a=o?[]:void 0;return r.each(e.inEdges(i.v),function(r){var i=e.edge(r),s=e.node(r.v);o&&a.push({v:r.v,w:r.w}),s.out-=i,l(t,n,s)}),r.each(e.outEdges(i.v),function(r){var i=e.edge(r),o=r.w,a=e.node(o);a.in-=i,l(t,n,a)}),e.removeNode(i.v),a}function l(e,t,n){n.out?n.in?e[n.out-n.in+t].enqueue(n):e[e.length-1].enqueue(n):e[0].enqueue(n)}},function(e,t,n){"use strict";var r=n(2),i=n(139);e.exports={run:function(e){var t="greedy"===e.graph().acyclicer?i(e,function(e){return function(t){return e.edge(t).weight}}(e)):function(e){var t=[],n={},i={};return r.each(e.nodes(),function o(a){r.has(i,a)||(i[a]=!0,n[a]=!0,r.each(e.outEdges(a),function(e){r.has(n,e.w)?t.push(e):o(e.w)}),delete n[a])}),t}(e);r.each(t,function(t){var n=e.edge(t);e.removeEdge(t),n.forwardName=t.name,n.reversed=!0,e.setEdge(t.w,t.v,n,r.uniqueId("rev"))})},undo:function(e){r.each(e.edges(),function(t){var n=e.edge(t);if(n.reversed){e.removeEdge(t);var r=n.forwardName;delete n.reversed,delete n.forwardName,e.setEdge(t.w,t.v,n,r)}})}}},function(e,t,n){(function(e,r){var i;
+e.exports=function(e){return null!=e&&(n(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&n(e.slice(0,0))}(e)||!!e._isBuffer)}},function(e,t){!function(){var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n={rotl:function(e,t){return e<<t|e>>>32-t},rotr:function(e,t){return e<<32-t|e>>>t},endian:function(e){if(e.constructor==Number)return 16711935&n.rotl(e,8)|4278255360&n.rotl(e,24);for(var t=0;t<e.length;t++)e[t]=n.endian(e[t]);return e},randomBytes:function(e){for(var t=[];e>0;e--)t.push(Math.floor(256*Math.random()));return t},bytesToWords:function(e){for(var t=[],n=0,r=0;n<e.length;n++,r+=8)t[r>>>5]|=e[n]<<24-r%32;return t},wordsToBytes:function(e){for(var t=[],n=0;n<32*e.length;n+=8)t.push(e[n>>>5]>>>24-n%32&255);return t},bytesToHex:function(e){for(var t=[],n=0;n<e.length;n++)t.push((e[n]>>>4).toString(16)),t.push((15&e[n]).toString(16));return t.join("")},hexToBytes:function(e){for(var t=[],n=0;n<e.length;n+=2)t.push(parseInt(e.substr(n,2),16));return t},bytesToBase64:function(e){for(var n=[],r=0;r<e.length;r+=3)for(var i=e[r]<<16|e[r+1]<<8|e[r+2],o=0;o<4;o++)8*r+6*o<=8*e.length?n.push(t.charAt(i>>>6*(3-o)&63)):n.push("=");return n.join("")},base64ToBytes:function(e){e=e.replace(/[^A-Z0-9+\/]/gi,"");for(var n=[],r=0,i=0;r<e.length;i=++r%4)0!=i&&n.push((t.indexOf(e.charAt(r-1))&Math.pow(2,-2*i+8)-1)<<2*i|t.indexOf(e.charAt(r))>>>6-2*i);return n}};e.exports=n}()},function(e,t,n){!function(){var t=n(92),r=n(42).utf8,i=n(91),o=n(42).bin,a=function(e,n){e.constructor==String?e=n&&"binary"===n.encoding?o.stringToBytes(e):r.stringToBytes(e):i(e)?e=Array.prototype.slice.call(e,0):Array.isArray(e)||(e=e.toString());for(var s=t.bytesToWords(e),l=8*e.length,c=1732584193,u=-271733879,d=-1732584194,p=271733878,f=0;f<s.length;f++)s[f]=16711935&(s[f]<<8|s[f]>>>24)|4278255360&(s[f]<<24|s[f]>>>8);s[l>>>5]|=128<<l%32,s[14+(l+64>>>9<<4)]=l;var h=a._ff,g=a._gg,m=a._hh,v=a._ii;for(f=0;f<s.length;f+=16){var b=c,y=u,x=d,w=p;u=v(u=v(u=v(u=v(u=m(u=m(u=m(u=m(u=g(u=g(u=g(u=g(u=h(u=h(u=h(u=h(u,d=h(d,p=h(p,c=h(c,u,d,p,s[f+0],7,-680876936),u,d,s[f+1],12,-389564586),c,u,s[f+2],17,606105819),p,c,s[f+3],22,-1044525330),d=h(d,p=h(p,c=h(c,u,d,p,s[f+4],7,-176418897),u,d,s[f+5],12,1200080426),c,u,s[f+6],17,-1473231341),p,c,s[f+7],22,-45705983),d=h(d,p=h(p,c=h(c,u,d,p,s[f+8],7,1770035416),u,d,s[f+9],12,-1958414417),c,u,s[f+10],17,-42063),p,c,s[f+11],22,-1990404162),d=h(d,p=h(p,c=h(c,u,d,p,s[f+12],7,1804603682),u,d,s[f+13],12,-40341101),c,u,s[f+14],17,-1502002290),p,c,s[f+15],22,1236535329),d=g(d,p=g(p,c=g(c,u,d,p,s[f+1],5,-165796510),u,d,s[f+6],9,-1069501632),c,u,s[f+11],14,643717713),p,c,s[f+0],20,-373897302),d=g(d,p=g(p,c=g(c,u,d,p,s[f+5],5,-701558691),u,d,s[f+10],9,38016083),c,u,s[f+15],14,-660478335),p,c,s[f+4],20,-405537848),d=g(d,p=g(p,c=g(c,u,d,p,s[f+9],5,568446438),u,d,s[f+14],9,-1019803690),c,u,s[f+3],14,-187363961),p,c,s[f+8],20,1163531501),d=g(d,p=g(p,c=g(c,u,d,p,s[f+13],5,-1444681467),u,d,s[f+2],9,-51403784),c,u,s[f+7],14,1735328473),p,c,s[f+12],20,-1926607734),d=m(d,p=m(p,c=m(c,u,d,p,s[f+5],4,-378558),u,d,s[f+8],11,-2022574463),c,u,s[f+11],16,1839030562),p,c,s[f+14],23,-35309556),d=m(d,p=m(p,c=m(c,u,d,p,s[f+1],4,-1530992060),u,d,s[f+4],11,1272893353),c,u,s[f+7],16,-155497632),p,c,s[f+10],23,-1094730640),d=m(d,p=m(p,c=m(c,u,d,p,s[f+13],4,681279174),u,d,s[f+0],11,-358537222),c,u,s[f+3],16,-722521979),p,c,s[f+6],23,76029189),d=m(d,p=m(p,c=m(c,u,d,p,s[f+9],4,-640364487),u,d,s[f+12],11,-421815835),c,u,s[f+15],16,530742520),p,c,s[f+2],23,-995338651),d=v(d,p=v(p,c=v(c,u,d,p,s[f+0],6,-198630844),u,d,s[f+7],10,1126891415),c,u,s[f+14],15,-1416354905),p,c,s[f+5],21,-57434055),d=v(d,p=v(p,c=v(c,u,d,p,s[f+12],6,1700485571),u,d,s[f+3],10,-1894986606),c,u,s[f+10],15,-1051523),p,c,s[f+1],21,-2054922799),d=v(d,p=v(p,c=v(c,u,d,p,s[f+8],6,1873313359),u,d,s[f+15],10,-30611744),c,u,s[f+6],15,-1560198380),p,c,s[f+13],21,1309151649),d=v(d,p=v(p,c=v(c,u,d,p,s[f+4],6,-145523070),u,d,s[f+11],10,-1120210379),c,u,s[f+2],15,718787259),p,c,s[f+9],21,-343485551),c=c+b>>>0,u=u+y>>>0,d=d+x>>>0,p=p+w>>>0}return t.endian([c,u,d,p])};a._ff=function(e,t,n,r,i,o,a){var s=e+(t&n|~t&r)+(i>>>0)+a;return(s<<o|s>>>32-o)+t},a._gg=function(e,t,n,r,i,o,a){var s=e+(t&r|n&~r)+(i>>>0)+a;return(s<<o|s>>>32-o)+t},a._hh=function(e,t,n,r,i,o,a){var s=e+(t^n^r)+(i>>>0)+a;return(s<<o|s>>>32-o)+t},a._ii=function(e,t,n,r,i,o,a){var s=e+(n^(t|~r))+(i>>>0)+a;return(s<<o|s>>>32-o)+t},a._blocksize=16,a._digestsize=16,e.exports=function(e,n){if(void 0===e||null===e)throw new Error("Illegal argument "+e);var r=t.wordsToBytes(a(e,n));return n&&n.asBytes?r:n&&n.asString?o.bytesToString(r):t.bytesToHex(r)}}()},function(e,t,n){const r=n(4),i=n(93);r.module("dbt").factory("trackingService",["$location","selectorService","$rootScope",function(e,t,n){var r={initialized:!1,snowplow:null,previous_url:null};function o(){var t=e.absUrl(),n=r.__fuzz_url(t,!0);if(_.each(e.search(),function(e,t){n+="&"+t+"=1"}),r.previous_url)var i=r.previous_url;else i="";return r.snowplow("setCustomUrl",n),r.snowplow("setReferrerUrl",i),n}return r.init=function(e){r.initialized||(r.initialized=!0,!0===e.track&&r.turn_on_tracking(e.project_id,e.user_id))},r.turn_on_tracking=function(e,t){!function(e,t,n,r,i,o,a){e[i]||(e.GlobalSnowplowNamespace=e.GlobalSnowplowNamespace||[],e.GlobalSnowplowNamespace.push(i),e[i]=function(){(e[i].q=e[i].q||[]).push(arguments)},e[i].q=e[i].q||[],o=t.createElement(n),a=t.getElementsByTagName(n)[0],o.async=1,o.src="//d1fc8wv8zag5ca.cloudfront.net/2.9.0/sp.js",a.parentNode.insertBefore(o,a))}(window,document,"script",0,"snowplow"),r.snowplow=window.snowplow,r.snowplow("newTracker","sp","fishtownanalytics.sinter-collect.com",{appId:"dbt-docs",discoverRootDomain:!0,forceSecureTracker:!0,respectDoNotTrack:!0,userFingerprint:!1,contexts:{webPage:!0}}),t&&r.snowplow("setUserId",t),r.snowplow("enableActivityTracking",30,30),r.track_pageview(),r.track_project_identify(e)},r.__fuzz_url=function(e,t){var n=e,r=e.match(/[a-zA-Z0-9_]+\.[a-zA-Z0-9_]+\.[a-zA-Z0-9_]+/g);return r&&_.each(r,function(e){var t=i(e);n=n.replace(e,t)}),t&&(n=n.replace(/\?.*$/,"")+"?fuzzed=1"),n},r.track_pageview=function(t){if(r.snowplow){r.previous_url=o();var n=e.path().split("/"),i=n.length>1?n[1]:"";r.snowplow("trackPageView",i)}},r.track_event=function(e,t,n,i){r.snowplow&&(o(),r.snowplow("trackStructEvent","dbt-docs",e,t,n,i))},r.track_project_identify=function(e){r.track_event("identify","project_id",e)},r.track_graph_interaction=function(e,t){r.track_event("graph","interact",e,t)},r}])},function(e,t,n){n(8);const r=n(5);var i="@",o="+",a="+",s="*",l={FQN:"fqn:",TAG:"tag:",SOURCE:"source:"};angular.module("dbt").factory("selectorService",["$state",function(e){var t={include:"",exclude:"",packages:[],tags:[null],resource_types:["model","seed","snapshot","source","test","analysis"],depth:1},n={view_node:null,selection:{clean:r.clone(t),dirty:r.clone(t)},options:{packages:[],tags:[null],resource_types:["model","seed","snapshot","source","test","analysis"]}};function c(e,t,n,r){r||(r=1);var i=e.predecessors(t);return i?i.concat(i.reduce(function(t,i){return r>=n&&void 0!==n?t:t.concat(c(e,i,n,r+1))},[])):[]}function u(e,t,n,r){r||(r=1);var i=e.successors(t);return i?i.concat(i.reduce(function(t,i){return r>=n&&void 0!==n?t:t.concat(u(e,i,n,r+1))},[])):[]}function d(e){return r.filter(r.uniq(e.split(" ")),function(e){return e.length>0})}function p(e){var t=!1,n=!1,r=!1,s=0,c=e.length;e.startsWith(i)?(t=!0,s=1):e.startsWith(o)&&(r=!0,s=1),e.endsWith(a)&&(n=!0,c-=1);var u,d,p=e.substring(s,c);return p.startsWith(l.TAG)?(u=l.TAG,d=p.replace(u,"")):p.startsWith(l.SOURCE)?(u=l.SOURCE,d=p.replace(u,"")):(u=l.FQN,d=p.replace(u,"").split(".")),{select_at:t,select_parents:r,select_children:n,selector_type:u,selector_value:d,raw:e}}function f(e,t,n){var i=d(e),o=r.map(i,p),a=d(t);return{include:o,exclude:r.map(a,p),hops:n}}function h(e,t){for(var n=0;n<t.length;n++){var i=t[n],o=n==t.length-1;if(i==s)return!0;if(o&&i==r.last(e))return!0;if(e.length<=n)return!1;if(e[n]!=i)return!1}return!0}function g(e,t){var n=r.compact(r.uniq(r.map(e,function(e){return e.data.package_name}))),i=[];return r.each(e,function(e){var o=e.data,a=o.fqn;a&&(1==t.length&&r.last(a)==t[0]?i.push(o):r.includes(n,t[0])?h(a,t)&&i.push(o):r.each(n,function(e){var n=[e].concat(t);h(a,n)&&i.push(o)}))}),r.uniq(i)}function m(e,t,n,i){var o=[];i.selector_type==l.SOURCE?o=function(e,t){var n=[];return r.each(e,function(e){var r=e.data.source_name,i=e.data.name;t==r+"."+i?n.push(e.data):t==r&&n.push(e.data)}),n}(t,i.selector_value):i.selector_type==l.FQN?o=g(t,i.selector_value):i.selector_type==l.TAG&&(o=function(e,t){var n=[];return r.each(e,function(e){var i=e.data.tags;r.includes(i,t)&&n.push(e.data)}),n}(t,i.selector_value));var a=[],s=[];return r.each(o,function(t){var o=t.unique_id;s.push(t.unique_id);var l=[],d=[],p=[];i.select_at&&(p=r.union(function(e,t){var n=[t],i=r.union([t],u(e,t));return r.each(i,function(t){var i=c(e,t);n=r.union(n,i,[t])}),n}(e,o))),i.select_parents&&(l=c(e,o,n)),i.select_children&&(d=u(e,o,n)),a=r.union([o],a,d,l,p)}),{nodes:a,matches:s}}return n.init=function(e){r.each(e,function(e,r){n.options[r]=e,t[r]=e,n.selection.clean[r]=e,n.selection.dirty[r]=e})},n.resetSelection=function(e){var i={include:e&&r.includes(["model","seed","snapshot"],e.resource_type)?"+"+e.name+"+":e&&"source"==e.resource_type?"+source:"+e.source_name+"."+e.name+"+":e&&r.includes(["analysis","test"],e.resource_type)?"+"+e.name:""},o=r.assign({},t,i);n.selection.clean=r.clone(o),n.selection.dirty=r.clone(o),n.view_node=e},n.getViewNode=function(){return n.view_node},n.excludeNode=function(e,t){var r,i=n.selection.dirty.exclude,o=t.parents?"+":"",a=t.children?"+":"",s=i.length>0?" ":"";"source"==e.resource_type?(o+="source:",r=e.source_name+"."+e.name):r=e.name;var l=i+s+o+r+a;return n.selection.dirty.exclude=l,n.updateSelection()},n.selectSource=function(e,t){var r="source:"+e+(t.children?"+":"");return n.selection.dirty.include=r,n.updateSelection()},n.clearViewNode=function(){n.view_node=null},n.isDirty=function(){return!r.isEqual(n.selection.clean,n.selection.dirty)},n.updateSelection=function(){return n.selection.clean=r.clone(n.selection.dirty),n.selection.clean},n.parse_specs=f,n.get_nodes_by_qualified_name=g,n.select_nodes=function(e,t,n){n.include,n.exclude;var i,o=f(n.include,n.exclude,n.hops),a=r.values(t);i=0==o.include.length?[{nodes:e.nodes(),matched:[]}]:r.map(o.include,r.partial(m,e,a,n.hops));var s=r.map(o.exclude,r.partial(m,e,a,n.hops)),l=[],c=[];r.each(i,function(e){l=r.union(l,e.nodes),c=r.union(c,e.matches)}),r.each(s,function(e){l=r.difference(l,e.nodes),c=r.difference(c,e.matches)});var u=[];return r.each(l,function(e){var i=t[e];i.data.tags||(i.data.tags=[]);var o=r.includes(n.packages,i.data.package_name),a=r.intersection(n.tags,i.data.tags).length>0;if("test"==i.data.resource_type)var s=r.includes(n.tags,null)&&1==i.data.tags.length;else s=r.includes(n.tags,null)&&0==i.data.tags.length;var l=r.includes(n.resource_types,i.data.resource_type);o&&(a||s)&&l||u.push(i.data.unique_id)}),{nodes:r.difference(l,u),matched:c}},n.ancestors=c,n.descendents=u,n}])},function(e,t,n){n(8);const r=n(5),i=n(49);angular.module("dbt").factory("graph",["$state","$window","$q","selectorService","project","locationService",function(e,t,n,o,a,s){var l={vertical:{userPanningEnabled:!1,boxSelectionEnabled:!1,maxZoom:1.5},horizontal:{userPanningEnabled:!0,boxSelectionEnabled:!1,maxZoom:1,minZoom:.05}},c={none:{name:"null"},left_right:{name:"dagre",rankDir:"LR",rankSep:200,edgeSep:30,nodeSep:50},top_down:{name:"preset",positions:function(t){var n=e.params.unique_id;if(!n)return{x:0,y:0};var a=u.graph.pristine.dag,s=r.sortBy(o.ancestors(a,n,1)),l=r.sortBy(o.descendents(a,n,1)),c=r.partial(r.includes,s),d=r.partial(r.includes,l),p=a.filterNodes(c),f=a.filterNodes(d);return function(e,t,n,i){console.log("Getting position for ",i,". Primary: ",e);var o,a=100/(1+Math.max(t.length,n.length));if(e==i)return{x:0,y:0};if(r.includes(t,i))o={set:t,index:r.indexOf(t,i),factor:-1,type:"parent"};else{if(!r.includes(n,i))return{x:0,y:0};o={set:n,index:r.indexOf(n,i),factor:1,type:"child"}}var s=o.set.length;if("parent"==o.type)var l={x:(0+o.index)*a,y:-200-100*(s-o.index-1)};else var l={x:(0+o.index)*a,y:200+100*(s-o.index-1)};return l}(n,i.alg.topsort(p),i.alg.topsort(f).reverse(),t.data("id"))}}},u={loading:!0,loaded:n.defer(),graph_element:null,orientation:"sidebar",expanded:!1,graph:{options:l.vertical,pristine:{nodes:{},edges:{},dag:null},elements:[],layout:c.none,style:[{selector:"edge.vertical",style:{"curve-style":"unbundled-bezier","target-arrow-shape":"triangle-backcurve","target-arrow-color":"#027599","arrow-scale":1.5,"line-color":"#027599",width:3,"target-distance-from-node":"5px","source-endpoint":"0% 50%","target-endpoint":"0deg"}},{selector:"edge.horizontal",style:{"curve-style":"unbundled-bezier","target-arrow-shape":"triangle-backcurve","target-arrow-color":"#006f8a","arrow-scale":1.5,"target-distance-from-node":"10px","source-distance-from-node":"5px","line-color":"#006f8a",width:3,"source-endpoint":"50% 0%","target-endpoint":"270deg"}},{selector:"edge[selected=1]",style:{"line-color":"#bd6bb6","target-arrow-color":"#bd6bb6","z-index":1}},{selector:'node[display="none"]',style:{display:"none"}},{selector:"node.vertical",style:{"text-margin-x":"5px","background-color":"#0094b3","font-size":"16px",shape:"ellipse",color:"#fff",width:"5px",height:"5px",padding:"5px",content:"data(label)","font-weight":300,"text-valign":"center","text-halign":"right"}},{selector:"node.horizontal",style:{"background-color":"#0094b3","font-size":"24px",shape:"roundrectangle",color:"#fff",width:"label",height:"label",padding:"12px",content:"data(label)","font-weight":300,"font-family":'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", Helvetica, Arial, sans-serif',"text-valign":"center","text-halign":"center",ghost:"yes","ghost-offset-x":"2px","ghost-offset-y":"4px","ghost-opacity":.5,"text-outline-color":"#000","text-outline-width":"1px","text-outline-opacity":.2}},{selector:'node[resource_type="source"]',style:{"background-color":"#5fb825"}},{selector:"node[selected=1]",style:{"background-color":"#bd6bb6"}},{selector:"node.horizontal[selected=1]",style:{"background-color":"#88447d"}},{selector:"node.horizontal.dirty",style:{"background-color":"#919599"}},{selector:"node[hidden=1]",style:{"background-color":"#919599","background-opacity":.5}}],ready:function(e){console.log("graph ready")}}};function d(e,t,n){var i=r.map(e,function(e){return u.graph.pristine.nodes[e]}),o=[];r.flatten(r.each(e,function(t){var n=u.graph.pristine.edges[t];r.each(n,function(t){r.includes(e,t.data.target)&&r.includes(e,t.data.source)&&o.push(t)})}));var a=r.compact(i).concat(r.compact(o));return r.each(u.graph.elements,function(e){e.data.display="none",e.data.selected=0,e.data.hidden=0,e.classes=n}),r.each(a,function(e){e.data.display="element",e.classes=n,t&&r.includes(t,e.data.unique_id)&&(e.data.selected=1),e.data.docs&&!1===e.data.docs.show&&(e.data.hidden=1)}),u.graph.elements=r.filter(a,function(e){return"element"==e.data.display}),e}function p(e,t,n){var r=u.graph.pristine.dag;if(r){var i=u.graph.pristine.nodes,a=o.select_nodes(r,i,e),s=n?a.matched:[];return d(a.nodes,s,t)}}return u.setGraphReady=function(e){u.loading=!1,u.loaded.resolve(),u.graph_element=e},u.ready=function(e){u.loaded.promise.then(function(){e(u)})},u.manifest={},u.packages=[],u.selected_node=null,u.getCanvasHeight=function(){return.8*t.innerHeight+"px"},a.ready(function(e){u.manifest=e,u.packages=r.uniq(r.map(u.manifest.nodes,"package_name")),r.each(r.filter(u.manifest.nodes,function(e){var t=r.includes(["model","seed","source","snapshot","analysis"],e.resource_type),n="test"==e.resource_type&&r.includes(e.tags,"data");return t||n}),function(e){var t={group:"nodes",data:r.assign(e,{parent:e.package_name,id:e.unique_id,is_group:"false"})};u.graph.pristine.nodes[e.unique_id]=t}),r.each(u.manifest.parent_map,function(e,t){r.each(e,function(e){var n=u.manifest.nodes[e],i=u.manifest.nodes[t];if(r.includes(["model","source","seed","snapshot"],n.resource_type)&&("test"!=i.resource_type||!r.includes(i.tags,"schema"))){var o=n.unique_id+"|"+i.unique_id,a={group:"edges",data:{source:n.unique_id,target:i.unique_id,unique_id:o}},s=i.unique_id;u.graph.pristine.edges[s]||(u.graph.pristine.edges[s]=[]),u.graph.pristine.edges[s].push(a)}})});var t=new i.Graph({directed:!0});r.each(u.graph.pristine.nodes,function(e){t.setNode(e.data.unique_id,e.data.name)}),r.each(u.graph.pristine.edges,function(e){r.each(e,function(e){t.setEdge(e.data.source,e.data.target)})}),u.graph.pristine.dag=t,u.graph.elements=r.flatten(r.values(u.graph.pristine.nodes).concat(r.values(u.graph.pristine.edges))),d(t.nodes())}),u.hideGraph=function(){u.orientation="sidebar",u.expanded=!1},u.showVerticalGraph=function(e,t){u.orientation="sidebar",t&&(u.expanded=!0);var n=p(r.assign({},o.options,{include:"+"+e+"+",exclude:"",hops:1}),"vertical",!0);return u.graph.layout=c.top_down,u.graph.options=l.vertical,n},u.showFullGraph=function(e){u.orientation="fullscreen",u.expanded=!0;var t=r.assign({},o.options);e?(t.include="+"+e+"+",t.exclude=""):(t.include="",t.exclude="");var n=p(t,"horizontal",!0);return u.graph.layout=c.left_right,u.graph.options=l.horizontal,s.setState(t),n},u.updateGraph=function(e){u.orientation="fullscreen",u.expanded=!0;var t=p(e,"horizontal",!1);return u.graph.layout=c.left_right,u.graph.options=l.horizontal,s.setState(e),t},u.deselectNodes=function(){"fullscreen"==u.orientation&&u.graph_element.elements().data("selected",0)},u.selectNode=function(e){if("fullscreen"==u.orientation){u.graph.pristine.nodes[e];var t=u.graph.pristine.dag,n=r.indexBy(o.ancestors(t,e)),i=r.indexBy(o.descendents(t,e));n[e]=e,i[e]=e;var a=u.graph_element;r.each(u.graph.elements,function(t){var r=a.$id(t.data.id);n[t.data.source]&&n[t.data.target]?r.data("selected",1):i[t.data.source]&&i[t.data.target]?r.data("selected",1):t.data.unique_id==e?r.data("selected",1):r.data("selected",0)})}},u.markDirty=function(e){u.markAllClean(),r.each(e,function(e){u.graph_element.$id(e).addClass("dirty")})},u.markAllClean=function(){u.graph_element&&u.graph_element.elements().removeClass("dirty")},u}])},function(e,t,n){const r=n(4),i=n(13);i.initHighlightingOnLoad(),i.initLineNumbersOnLoad(),r.module("dbt").factory("code",["$sce",function(e){var t={copied:!1,highlightSql:function(t){if(!t)return e.trustAsHtml("");var n=i.highlight("sql",t,!0).value.replace(/^$/gm,"<span></span>");return e.trustAsHtml(n)},copy_to_clipboard:function(e){var t=document.createElement("textarea");t.value=e,t.setAttribute("readonly",""),t.style.position="absolute",t.style.left="-9999px",document.body.appendChild(t),t.select(),document.execCommand("copy"),document.body.removeChild(t)},generateSourceSQL:function(e){var t=["select"],n=_.size(e.columns),r=_.keys(e.columns);_.each(r,function(e,r){var i="    "+e;r+1!=n&&(i+=","),t.push(i)});var i=[e.database,e.schema,e.identifier||e.alias||e.name].join(".");return t.push("from "+i),t.join("\n")}};return t}])},function(e,t){e.exports="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 96 32'%3E %3Cg id='brand'%3E %3Cg id='brand-logo'%3E%3Cpath d='M17.4,9.594A7.473,7.473,0,0,0,14.61,6.732l1.624.769a9.434,9.434,0,0,1,3.43,2.752L22.63,4.815A2.618,2.618,0,0,0,22.574,2.1a2.5,2.5,0,0,0-3.271-.8L13.915,4.244a4,4,0,0,1-3.83,0L4.814,1.369A2.618,2.618,0,0,0,2.1,1.427a2.5,2.5,0,0,0-.8,3.27l2.939,5.387a4,4,0,0,1,0,3.831L1.371,19.182a2.623,2.623,0,0,0,.078,2.749A2.5,2.5,0,0,0,4.7,22.7l5.556-3.031A9.434,9.434,0,0,1,7.5,16.234L6.732,14.61A7.473,7.473,0,0,0,9.594,17.4L19.3,22.7a2.5,2.5,0,0,0,3.249-.767,2.632,2.632,0,0,0,.073-2.753ZM20.5,2.5a1,1,0,1,1-1,1A1,1,0,0,1,20.5,2.5Zm-17,2a1,1,0,1,1,1-1A1,1,0,0,1,3.5,4.5Zm0,17a1,1,0,1,1,1-1A1,1,0,0,1,3.5,21.5ZM13,11a1.994,1.994,0,0,0-1.353,3.464,2.494,2.494,0,1,1,2.817-2.817A1.983,1.983,0,0,0,13,11Zm7.5,10.5a1,1,0,1,1,1-1A1,1,0,0,1,20.5,21.5Z' fill='%23ff694b'/%3E%3C/g%3E %3Cg id='brand-dbt'%3E%3Cpath d='M44.763,3.214h3.466v17.18H45.255l-.492-1.754h-.171c-.114.142-.243.292-.385.449s-.282.31-.417.46-.265.285-.386.406a2.907,2.907,0,0,1-.267.247,3.578,3.578,0,0,1-.963.31,7.189,7.189,0,0,1-1.476.139,4.329,4.329,0,0,1-3.081-1.006,4.152,4.152,0,0,1-1-1.776,10.448,10.448,0,0,1-.364-3.059,9.756,9.756,0,0,1,.5-3.327,4.893,4.893,0,0,1,1.358-2.107A5.527,5.527,0,0,1,41.9,8.2a10.648,10.648,0,0,1,1.658.118q.738.117,1.209.224ZM39.778,14.489q0,2.268.706,2.974a1.684,1.684,0,0,0,.824.46,4.53,4.53,0,0,0,1.166.139,6.254,6.254,0,0,0,1.262-.128,5.584,5.584,0,0,0,1.027-.3V10.916c-.243-.028-.553-.057-.931-.085s-.752-.043-1.123-.043a5.444,5.444,0,0,0-1.2.117,1.932,1.932,0,0,0-.856.418A2.417,2.417,0,0,0,40,12.467,7.348,7.348,0,0,0,39.778,14.489Z'/%3E%3Cpath d='M63.7,13.368a9.846,9.846,0,0,1-.546,3.541,4.981,4.981,0,0,1-1.443,2.128,4.722,4.722,0,0,1-1.669.845,8.967,8.967,0,0,1-2.482.289,13.567,13.567,0,0,1-2.407-.2A14.543,14.543,0,0,1,53.3,19.53l-.941.47h-.62V2.8H55.2v7h.172c.113-.128.246-.275.4-.439s.3-.321.438-.47.278-.289.406-.418a1.886,1.886,0,0,1,.3-.257,2.627,2.627,0,0,1,.941-.331A7.689,7.689,0,0,1,59.5,7.72a4.066,4.066,0,0,1,2.867.9,3.825,3.825,0,0,1,.995,1.786A11.114,11.114,0,0,1,63.7,13.368Zm-3.508.514q0-2.29-.706-2.975a2.508,2.508,0,0,0-1.755-.492,9.091,9.091,0,0,0-1.508.118,7.665,7.665,0,0,0-1.017.224v6.654a6.733,6.733,0,0,0,.856.107q.556.044,1.177.043a5.528,5.528,0,0,0,1.209-.118,1.922,1.922,0,0,0,.867-.417,2.276,2.276,0,0,0,.652-1.112A7.328,7.328,0,0,0,60.189,13.882Z'/%3E%3Cpath d='M73.753,10.522H70.415v5.327a3.474,3.474,0,0,0,.086.846,1.11,1.11,0,0,0,.278.524.969.969,0,0,0,.513.256,4.1,4.1,0,0,0,.792.065c.356,0,.731-.014,1.123-.044s.7-.055.91-.085l-.258,2.354c-.371.1-.837.2-1.4.289a11.655,11.655,0,0,1-1.872.138,5.759,5.759,0,0,1-1.69-.213,2.6,2.6,0,0,1-1.112-.653,2.559,2.559,0,0,1-.621-1.123,6.161,6.161,0,0,1-.192-1.647V10.522H65.28L65.451,8h1.52V6.029l3.444-.642V8h3.83Z'/%3E%3Crect x='76' y='23' width='7' height='1' fill='%23f64'/%3E%3C/g%3E %3Cpath d='M44.763,3.214h3.466v17.18H45.255l-.492-1.754h-.171c-.114.142-.243.292-.385.449s-.282.31-.417.46-.265.285-.386.406a2.907,2.907,0,0,1-.267.247,3.578,3.578,0,0,1-.963.31,7.189,7.189,0,0,1-1.476.139,4.329,4.329,0,0,1-3.081-1.006,4.152,4.152,0,0,1-1-1.776,10.448,10.448,0,0,1-.364-3.059,9.756,9.756,0,0,1,.5-3.327,4.893,4.893,0,0,1,1.358-2.107A5.527,5.527,0,0,1,41.9,8.2a10.648,10.648,0,0,1,1.658.118q.738.117,1.209.224ZM39.778,14.489q0,2.268.706,2.974a1.684,1.684,0,0,0,.824.46,4.53,4.53,0,0,0,1.166.139,6.254,6.254,0,0,0,1.262-.128,5.584,5.584,0,0,0,1.027-.3V10.916c-.243-.028-.553-.057-.931-.085s-.752-.043-1.123-.043a5.444,5.444,0,0,0-1.2.117,1.932,1.932,0,0,0-.856.418A2.417,2.417,0,0,0,40,12.467,7.348,7.348,0,0,0,39.778,14.489Z' fill='black'/%3E %3Cpath d='M63.7,13.368a9.846,9.846,0,0,1-.546,3.541,4.981,4.981,0,0,1-1.443,2.128,4.722,4.722,0,0,1-1.669.845,8.967,8.967,0,0,1-2.482.289,13.567,13.567,0,0,1-2.407-.2A14.543,14.543,0,0,1,53.3,19.53l-.941.47h-.62V2.8H55.2v7h.172c.113-.128.246-.275.4-.439s.3-.321.438-.47.278-.289.406-.418a1.886,1.886,0,0,1,.3-.257,2.627,2.627,0,0,1,.941-.331A7.689,7.689,0,0,1,59.5,7.72a4.066,4.066,0,0,1,2.867.9,3.825,3.825,0,0,1,.995,1.786A11.114,11.114,0,0,1,63.7,13.368Zm-3.508.514q0-2.29-.706-2.975a2.508,2.508,0,0,0-1.755-.492,9.091,9.091,0,0,0-1.508.118,7.665,7.665,0,0,0-1.017.224v6.654a6.733,6.733,0,0,0,.856.107q.556.044,1.177.043a5.528,5.528,0,0,0,1.209-.118,1.922,1.922,0,0,0,.867-.417,2.276,2.276,0,0,0,.652-1.112A7.328,7.328,0,0,0,60.189,13.882Z' fill='black'/%3E %3Cpath d='M73.753,10.522H70.415v5.327a3.474,3.474,0,0,0,.086.846,1.11,1.11,0,0,0,.278.524.969.969,0,0,0,.513.256,4.1,4.1,0,0,0,.792.065c.356,0,.731-.014,1.123-.044s.7-.055.91-.085l-.258,2.354c-.371.1-.837.2-1.4.289a11.655,11.655,0,0,1-1.872.138,5.759,5.759,0,0,1-1.69-.213,2.6,2.6,0,0,1-1.112-.653,2.559,2.559,0,0,1-.621-1.123,6.161,6.161,0,0,1-.192-1.647V10.522H65.28L65.451,8h1.52V6.029l3.444-.642V8h3.83Z' fill='black'/%3E %3Crect x='76' y='23' width='7' height='1' fill='%23f64'/%3E %3C/g%3E %3C/svg%3E"},function(e,t,n){"use strict";const r=n(4),i=n(5),o=n(8),a=n(98);n(97),n(76),n(96),n(95),n(94),n(90),r.module("dbt").controller("MainController",["$scope","$route","$state","project","graph","selectorService","trackingService","locationService","$transitions",function(e,t,n,r,s,l,c,u,d){function p(t){e.model_uid=t;var n=r.node(t);n&&l.resetSelection(n)}function f(e){e&&setTimeout(function(){var t=o("*[data-nav-unique-id='"+e+"']");t.length&&t[0].scrollIntoView&&t[0].scrollIntoView({behavior:"smooth",block:"center",inline:"center"})},1)}e.tree={database:{},project:{},sources:{}},e.search={query:"",results:[],is_focused:!1},e.logo=a,e.model_uid=null,e.project={},o("body").bind("keydown",function(e){"t"==event.key&&"INPUT"!=event.target.tagName&&(console.log("Opening search"),o("#search").focus(),event.preventDefault())}),e.onSearchFocus=function(t,n){e.search.is_focused=n},e.clearSearch=function(){e.search.is_focused=!1,e.search.query="",e.search.results=[],o("#search").blur()},e.$on("clearSearch",function(){e.clearSearch()}),e.$on("query",function(t,n){e.search.is_focused=!0,e.search.query=n}),e.onSearchKeypress=function(t){console.log(t),"Escape"==t.key&&(e.clearSearch(),t.preventDefault())},r.getModelTree(n.params.unique_id,function(t){e.tree.database=t.database,e.tree.project=t.project,e.tree.sources=t.sources,setTimeout(function(){f(e.model_uid)})}),d.onSuccess({},function(t,n){var i=t.router.globals.params,o=l.getViewNode(),a=o?o.unique_id:null,s=i.unique_id,u=!0;if(t.from().name==t.to().name&&a==s&&(u=!1),u&&i.unique_id){var d=r.updateSelected(i.unique_id);e.tree.database=d.database,e.tree.project=d.project,e.tree.sources=d.sources,e.search.query="",console.log("updating selected model to: ",i),p(i.unique_id),setTimeout(function(){f(i.unique_id)})}u&&c.track_pageview()}),e.$watch("search.query",function(t){e.search.results=r.search(t)}),r.init(),r.ready(function(t){e.project=t,e.search.results=r.search("");var o=i.unique(i.pluck(i.values(t.nodes),"package_name")),a=[null];i.each(t.nodes,function(e){if("model"==e.resource_type){var t=e.tags;a=i.union(a,t)}}),l.init({packages:o,tags:a}),p(n.params.unique_id);var d=u.parseState(n.params);d.show_graph&&s.ready(function(){i.assign(l.selection.dirty,d.selected);var e=l.updateSelection();s.updateGraph(e)});var f=t.metadata||{};c.init({track:f.send_anonymous_usage_stats,project_id:f.project_id,user_id:f.user_id})})}])},function(e,t,n){"use strict";n(4).module("dbt").controller("GraphCtrl",["$scope","$state","$window","graph","project","selectorService",function(e,t,n,r,i,o){function a(e){return e&&"source"==e.resource_type?"source:"+e.source_name+"."+e.name:e.name?e.name:"*"}e.graph=r.graph,e.graphService=r,e.graphRendered=function(e){r.setGraphReady(e)},e.$watch(function(){return t.params.unique_id},function(e,t){e&&e!=t&&i.find_by_id(e,function(e){e&&("sidebar"==r.orientation?r.showVerticalGraph(a(e),!1):r.showFullGraph(a(e)))}),e||o.clearViewNode()})}])},function(e,t,n){"use strict";const r=n(4),i=n(13);n(8);i.initHighlightingOnLoad(),i.initLineNumbersOnLoad(),n(16);n(5);r.module("dbt").controller("AnalysisCtrl",["$scope","$state","project","code","$transitions","$anchorScroll","$location",function(e,t,n,r,i,o,a){e.model_uid=t.params.unique_id,e.project=n,e.codeService=r,e.highlighted={source:"",compiled:""},e.copied=!1,e.copy_to_clipboard=function(t){r.copy_to_clipboard(t),e.copied=!0,setTimeout(function(){e.$apply(function(){e.copied=!1})},1e3)},e.model={},n.ready(function(t){e.model=t.nodes[e.model_uid],e.highlighted.source=r.highlightSql(e.model.raw_sql),e.highlighted.compiled=r.highlightSql(e.model.injected_sql||default_compiled)})}])},function(e,t,n){"use strict";const r=n(4),i=n(13);n(8);i.initHighlightingOnLoad(),i.initLineNumbersOnLoad(),n(16);const o=n(5);r.module("dbt").controller("MacroCtrl",["$scope","$state","project","code","$transitions","$anchorScroll","$location",function(e,t,n,r,i,a,s){e.model_uid=t.params.unique_id,e.tab=t.params.tab,e.project=n,e.codeService=r,e.macro={},n.ready(function(t){var n=t.macros[e.model_uid];if(e.macro=n,e.references=function(e,t){var n=o.filter(e.nodes,function(e){return!!(e.depends_on&&e.depends_on.macros&&e.depends_on.macros.length&&o.contains(e.depends_on.macros,t.unique_id))});return o.groupBy(n,"resource_type")}(t,n),e.macro.is_adapter_macro){var r=t.metadata.adapter_type;e.versions=n.impls,n.impls[r]?e.default_version=r:n.impls.default?e.default_version="default":e.default_version=o.keys(n.impls)[0]}else e.default_version="Source",e.versions={Source:e.macro.macro_sql}})}])},function(e,t,n){"use strict";const r=n(4),i=n(13),o=n(8);i.initHighlightingOnLoad(),i.initLineNumbersOnLoad(),n(16);n(5);r.module("dbt").controller("TestCtrl",["$scope","$state","project","code","$anchorScroll","$location",function(e,t,n,r,a,s){e.model_uid=t.params.unique_id,e.tab=t.params.tab,e.project=n,e.codeService=r,e.highlighted={source:"",compiled:""},e.copied=!1,e.copy_to_clipboard=function(t){r.copy_to_clipboard(t),e.copied=!0,setTimeout(function(){e.$apply(function(){e.copied=!1})},1e3)},e.model={},n.ready(function(t){e.model=t.nodes[e.model_uid];e.highlighted.source=r.highlightSql(e.model.raw_sql),e.highlighted.compiled=r.highlightSql(e.model.injected_sql||"\n-- compiled SQL not found for this model\n"),o(".source-code").each(function(e,t){i.lineNumbersBlock(t)}),setTimeout(function(){a()},0)})}])},function(e,t,n){"use strict";const r=n(4),i=n(13),o=n(8);i.initHighlightingOnLoad(),i.initLineNumbersOnLoad(),n(16);n(5);r.module("dbt").controller("SnapshotCtrl",["$scope","$state","project","code","$anchorScroll","$location",function(e,t,n,r,a,s){e.model_uid=t.params.unique_id,e.tab=t.params.tab,e.project=n,e.codeService=r,e.highlighted={source:"",compiled:""},e.copied=!1,e.copy_to_clipboard=function(t){r.copy_to_clipboard(t),e.copied=!0,setTimeout(function(){e.$apply(function(){e.copied=!1})},1e3)},e.model={},n.ready(function(t){e.model=t.nodes[e.model_uid];e.highlighted.source=r.highlightSql(e.model.raw_sql),e.highlighted.compiled=r.highlightSql(e.model.injected_sql||"\n-- compiled SQL not found for this model\n"),o(".source-code").each(function(e,t){i.lineNumbersBlock(t)}),setTimeout(function(){a()},0)})}])},function(e,t,n){"use strict";const r=n(4),i=n(13);n(8);i.initHighlightingOnLoad(),i.initLineNumbersOnLoad(),n(16);n(5);r.module("dbt").controller("SeedCtrl",["$scope","$state","project","code","$transitions","$anchorScroll","$location",function(e,t,n,r,i,o,a){e.model_uid=t.params.unique_id,e.tab=t.params.tab,e.project=n,e.codeService=r,e.highlighted={source:""},e.copied=!1,e.copy_to_clipboard=function(t){r.copy_to_clipboard(t),e.copied=!0,setTimeout(function(){e.$apply(function(){e.copied=!1})},1e3)},e.model={},n.ready(function(t){e.model=t.nodes[e.model_uid],e.sample_sql=r.generateSourceSQL(e.model),e.highlighted.source=r.highlightSql(e.sample_sql)})}])},function(e,t,n){"use strict";const r=n(4),i=n(8);n(16);n(5);r.module("dbt").controller("SourceCtrl",["$scope","$state","project","code","$anchorScroll","$location",function(e,t,n,r,o,a){e.model_uid=t.params.unique_id,e.project=n,e.sample_sql="-- sample sql",e.highlighted={source:""},e.codeService=r,e.extra_table_fields=[],e.copied=!1,e.copy_to_clipboard=function(t){r.copy_to_clipboard(t),e.copied=!0,setTimeout(function(){e.$apply(function(){e.copied=!1})},1e3)},e.model={},n.ready(function(t){e.model=t.nodes[e.model_uid],e.sample_sql=r.generateSourceSQL(e.model),e.highlighted.source=r.highlightSql(e.sample_sql),i(".source-code").each(function(e,t){hljs.lineNumbersBlock(t)}),e.extra_table_fields=[{name:"Loader",value:e.model.loader},{name:"Source",value:e.model.source_name}]})}])},function(e,t,n){(e.exports=n(22)(!1)).push([e.i,"\ntd.hljs-ln-numbers {\n    -webkit-touch-callout: none;\n    -webkit-user-select: none;\n    -khtml-user-select: none;\n    -moz-user-select: none;\n    -ms-user-select: none;\n    user-select: none;\n\n    text-align: right;\n    color: #ccc;\n    padding-right: 20px;\n    padding-left: 10px;\n\n    vertical-align: top;\n}\n\n.nav-tabs li.nav-pull-right {\n    flex: 1 0 auto;\n    text-align: right;\n}\n\ntr.column-row-selected {\n\n}\n\ntd.column-expanded{\n    padding: 0px !important;\n}\n\ntd.column-expanded > div {\n    padding: 5px 10px;\n    margin-left: 20px;\n    height: 100%;\n\n    border-left: 1px solid #ccc !important;\n}\n",""])},function(e,t,n){"use strict";const r=n(4),i=n(8),o=n(13);o.initHighlightingOnLoad(),o.initLineNumbersOnLoad(),n(16);n(5);r.module("dbt").controller("ModelCtrl",["$scope","$state","project","code","$anchorScroll","$location",function(e,t,n,r,a,s){e.model_uid=t.params.unique_id,e.tab=t.params.tab,e.project=n,e.codeService=r,e.highlighted={source:"",compiled:""},e.copied=!1,e.copy_to_clipboard=function(t){r.copy_to_clipboard(t),e.copied=!0,setTimeout(function(){e.$apply(function(){e.copied=!1})},1e3)},e.model={},n.ready(function(t){e.model=t.nodes[e.model_uid];e.highlighted.source=r.highlightSql(e.model.raw_sql),e.highlighted.compiled=r.highlightSql(e.model.injected_sql||"\n-- compiled SQL not found for this model\n"),i(".source-code").each(function(e,t){o.lineNumbersBlock(t)}),setTimeout(function(){a()},0)})}])},function(e,t,n){n(108),n(106),n(105),n(104),n(103),n(102),n(101)},function(e,t){var n="/components/references/index.html";window.angular.module("ng").run(["$templateCache",function(e){e.put(n,'<div class="panel">\n    <div class="panel-body" ng-if="!has_references">\n        No resources reference this macro\n    </div>\n    <div class="panel-body" ng-if="has_references">\n        <ul class="nav nav-tabs">\n            <li\n                ng-repeat="(resource_type, nodes) in references"\n                ng-class="{active: resource_type == selected_type}">\n                <a ng-click="setType(resource_type)">\n                    {{ mapResourceType(resource_type) }}\n                </a>\n            </li>\n        </ul>\n        <div style="margin-top: 15px">\n            <ul class=\'list-unstyled\'>\n                <li ng-repeat="node in nodes">\n                    <a ng-href="{{ getNodeUrl(node) }}">{{ node.name }}</a>\n                </li>\n            </ul>\n        <div>\n    </div>\n</div>\n')}]),e.exports=n},function(e,t,n){"use strict";const r=n(110);angular.module("dbt").directive("referenceList",["$state",function(e){return{scope:{references:"="},restrict:"E",templateUrl:r,link:function(t){t.selected_type=null,t.setType=function(e){t.selected_type=e,t.nodes=t.references[t.selected_type]},t.getNodeUrl=function(t){var n="dbt."+t.resource_type;return e.href(n,{unique_id:t.unique_id,"#":null})},t.mapResourceType=function(e){return"model"==e?"Models":"test"==e?"Tests":"snapshot"==e?"Snapshots":"analysis"==e?"Analyses":"Nodes"},t.$watch("references",function(e){e&&_.size(e)>0?(t.selected_type=_.keys(e)[0],t.has_references=!0,t.nodes=t.references[t.selected_type]):t.has_references=!1})}}}])},function(e,t){var n="/components/macro_arguments/index.html";window.angular.module("ng").run(["$templateCache",function(e){e.put(n,'<style>\n.arg-header {\n    background-color: white;\n    position: sticky;\n    top: 0;\n    z-index: 1;\n}\n\n</style>\n\n<div class="panel">\n    <div class="panel-body">\n        <div ng-if="macro.arguments.length == 0">\n            Details are not available for this macro\n        </div>\n        <div\n            ng-if="macro.arguments.length > 0"\n            class="table-responsive"\n            style="max-height: 800px; overflow-y: scroll;">\n            <table class="table table-borderless table-hover">\n                <thead>\n                    <tr>\n                        <th class="arg-header">Argument</th>\n                        <th class="arg-header">Type</th>\n                        <th class="arg-header">Description</th>\n                        <th style="width: 1px;" class=\'text-center\'>More?</th>\n                    </tr>\n                </thead>\n                <tbody>\n                    <tr ng-repeat-start="arg in macro.arguments"\n                        ng-click="arg.expanded = !arg.expanded"\n                        ng-class="{\'column-row-selected\': arg.expanded}"\n                        ng-style="{cursor: arg.description ? \'pointer\' : \'auto\'}"\n                        class="column-row">\n                        <td>\n                            <div>\n                                <span class=\'text-dark\'>{{ arg.name }}</span>\n                            </div>\n                        </td>\n                        <td>\n                            <span class=\'text-dark\'>{{ arg.type }}</p>\n                        </td>\n                        <td style="text-overflow: ellipsis; overflow-x: hidden; white-space: nowrap; max-width: 1px;">\n                            <span ng-show="!arg.expanded">{{ arg.description }}</span>\n                        </td>\n                        <td class=\'text-center\'>\n                            <span class=\'text-light\' ng-show="arg.description">\n                                <span ng-if="arg.expanded">\n                                    <svg class="icn"><use xlink:href="#icn-up"></use></svg>\n                                </span>\n                                <span ng-if="!arg.expanded">\n                                    <svg class="icn"><use xlink:href="#icn-right"></use></svg>\n                                </span>\n                            </span>\n                        </td>\n                    </tr>\n                    <tr ng-repeat-end\n                        ng-show="arg.expanded"\n                        style="background-color: white; padding: 10px">\n                        <td colspan="4" class="column-expanded">\n                            <div style="padding: 5px 20px">\n                                <div style="margin-bottom: 15px">\n                                    <h5>Description</h5>\n                                    <span marked="arg.description"></span>\n                                </div>\n                            </div>\n                        </td>\n                    </tr>\n                </tbody>\n            </table>\n        </div>\n    </div>\n</div>\n')}]),e.exports=n},function(e,t,n){"use strict";const r=n(112);angular.module("dbt").directive("macroArguments",[function(){return{scope:{macro:"="},templateUrl:r,link:function(e){_.each(e.macro.arguments,function(e){e.expanded=!1})}}}])},function(e,t){var n="/components/code_block/code_block.html";window.angular.module("ng").run(["$templateCache",function(e){e.put(n,'<h6>Code</h6>\n<div class="panel">\n    <div class="panel-body">\n        <ul class="nav nav-tabs">\n            <li\n                ng-repeat="(version_name, version) in versions"\n                ng-class="{active: version_name == selected_version}">\n                <a ng-click="setSelected(version_name)">{{ titleCase(version_name) }}</a>\n            </li>\n            <li class=\'nav-pull-right\'></li>\n            <li>\n                <a class=\'unselectable\'\n                   ng-click="copy_to_clipboard()">{{ copied ? \'copied\' : \'copy to clipboard\' }}</a>\n            </li>\n        </ul>\n        <div style="margin-top: 1px">\n            <pre\n                class="source-code highlight sql"\n                ng-bind-html="source"></pre>\n        </div>\n    </div>\n</div>\n')}]),e.exports=n},function(e,t,n){"use strict";const r=n(114);angular.module("dbt").directive("codeBlock",["code",function(e){return{scope:{versions:"=",default:"<"},restrict:"E",templateUrl:r,link:function(t){t.selected_version=t.default,t.raw_source=null,t.source=null,t.setSelected=function(n){t.selected_version=n,function(n){t.raw_source=t.versions[n],t.source=e.highlightSql(t.raw_source)}(n)},t.titleCase=function(e){return e.charAt(0).toUpperCase()+e.substring(1)},t.copied=!1,t.copy_to_clipboard=function(){e.copy_to_clipboard(t.raw_source),t.copied=!0,setTimeout(function(){t.$apply(function(){t.copied=!1})},1e3)},t.$watch("versions",function(e,n){e&&t.setSelected(t.default)})}}}])},function(e,t){var n="/components/column_details/column_details.html";window.angular.module("ng").run(["$templateCache",function(e){e.put(n,'<div class="panel">\n    <div class="panel-body">\n        <div ng-if="_.isEmpty(model.columns)">\n            Column information is not available for this seed\n        </div>\n        <div class="table-responsive"\n             style="max-height: 800px; overflow-y: scroll;"\n             ng-if="!_.isEmpty(model.columns)">\n            <table class="table table-borderless table-hover">\n                <thead>\n                    <tr>\n                        <th style="background-color: white; position: sticky; top: 0; z-index: 1;">Column</th>\n                        <th style="background-color: white; position: sticky; top: 0; z-index: 1;">Type</th>\n                        <th style="background-color: white; position: sticky; top: 0; z-index: 1;">Description</th>\n                        <th style="width: 1px; background-color: white; position: sticky; top: 0; z-index: 1;">Tests</th>\n                        <th style="width: 1px; background-color: white; position: sticky; top: 0; z-index: 1;" class=\'text-center\'>More?</th>\n                    </tr>\n                </thead>\n                <tbody>\n                    <tr\n                        ng-repeat-start="column in get_columns(model) track by column.index"\n                        ng-click="toggle_column_expanded(column)"\n                        class="column-row"\n                        ng-class="{\'column-row-selected\': column.expanded}"\n                        ng-style="{cursor: has_more_info(column) ? \'pointer\' : \'auto\'}">\n                        <td>\n                            <div>\n                                <span class=\'text-dark\'>{{ get_col_name(column.name) }}</span>\n                            </div>\n                        </td>\n                        <td>\n                            <span class=\'text-dark\'>{{ column.type }}</p>\n                        </td>\n                        <td style="text-overflow: ellipsis; overflow-x: hidden; white-space: nowrap; max-width: 1px;">\n                            <span ng-show="!column.expanded">{{ column.description }}</span>\n                        </td>\n                        <td>\n                            <span class="text-light" ng-show="!column.expanded">\n                                <span data-toggle="tooltip" title="Unique" ng-if="has_test(column, \'U\')">U</span>\n                                <span data-toggle="tooltip" title="Not Null" ng-if="has_test(column, \'N\')">N</span>\n                                <span data-toggle="tooltip" title="Foreign Key" ng-if="has_test(column, \'F\')">F</span>\n                                <span data-toggle="tooltip" title="Accepted Values" ng-if="has_test(column, \'A\')">A</span>\n                                <span data-toggle="tooltip" title="Custom Test" ng-if="has_test(column, \'+\')">+</span>\n                            </span>\n                        </td>\n                        <td class=\'text-center\'>\n                            <span class=\'text-light\' ng-show="has_more_info(column)">\n                                <span ng-if="column.expanded">\n                                    <svg class="icn"><use xlink:href="#icn-up"></use></svg>\n                                </span>\n                                <span ng-if="!column.expanded">\n                                    <svg class="icn"><use xlink:href="#icn-right"></use></svg>\n                                </span>\n                            </span>\n                        </td>\n                    </tr>\n                    <tr ng-repeat-end ng-show="column.expanded" style="background-color: white; padding: 10px">\n                        <td colspan="5" class="column-expanded">\n                            <div style="padding: 5px 20px">\n                                <div ng-show="column.meta">\n                                    <h5>Details</h5>\n                                    <div class="detail-group" style="padding-bottom: 0">\n                                        <div class="detail-body" style="padding-left: 0">\n                                            <dl class="detail"\n                                                ng-style="{\'padding-left\': $index == 0 ? 0 : \'auto\'}"\n                                                ng-repeat="(k, v) in column.meta">\n                                                <dt class="detail-label">{{ k }}</dt>\n                                                <dd class="detail-value">{{ v }}</dd>\n                                            </dl>\n                                        </div>\n                                    </div>\n                                </div>\n\n                                <div style="margin-bottom: 15px" ng-if="column.description.length">\n                                    <h5>Description</h5>\n                                    <span marked="column.description"></span>\n                                </div>\n\n                                <div ng-show="column.tests && column.tests.length" style="margin-bottom: 15px">\n                                    <h5>Schema Tests</h5>\n                                    <ul class="list-unstyled" style="margin-top: 2px">\n                                        <li ng-repeat="test in column.tests" ng-switch on="test.short" class=\'text-light\'>\n                                            <span ng-switch-when="F">\n                                                Foreign Key\n                                                <span ng-if="test.fk_model.unique_id">\n                                                    <a data-ui-state="getState(test.fk_model)"\n                                                        data-ui-state-params="{unique_id: test.fk_model.unique_id}">\n                                                        to {{ test.fk_model.name }}\n                                                    </a> on <code>{{ test.fk_field }}</code>\n                                                </span>\n                                            </span>\n                                            <span ng-switch-when="P">Primary Key</span>\n                                            <span ng-switch-when="U">Unique</span>\n                                            <span ng-switch-when="N">Not Null</span>\n                                            <span ng-switch-default>{{ test.label }}</span>\n                                        </li>\n                                    </ul>\n                                </div>\n                            </div>\n                        </td>\n                    </tr>\n                </tbody>\n            </table>\n        </div>\n    </div>\n</div>\n')}]),e.exports=n},function(e,t,n){"use strict";const r=n(116),i=n(5);angular.module("dbt").directive("columnDetails",["project",function(e){return{scope:{model:"="},templateUrl:r,link:function(t){t.has_test=function(e,t){return-1!=i.pluck(e.tests,"short").indexOf(t)},t.has_more_info=function(e){var t=e.tests||[],n=e.description||"",r=e.meta||{};return t.length||n.length||!i.isEmpty(r)},t.toggle_column_expanded=function(e){t.has_more_info(e)&&(e.expanded=!e.expanded)},t.getState=function(e){return"dbt."+e.resource_type},t.get_col_name=function(t){return e.caseColumn(t)},t.get_columns=function(e){var t=i.chain(e.columns).values().sortBy("index").value();return i.each(t,function(e,t){e.index=t}),t}}}}])},function(e,t,n){(e.exports=n(22)(!1)).push([e.i,"\n\n.details-content {\n    table-layout: fixed;\n}\n\n.detail-body {\n    white-space: nowrap;\n    overflow-x: scroll;\n}\n",""])},function(e,t,n){var r=n(118);"string"==typeof r&&(r=[[e.i,r,""]]);var i={hmr:!0,transform:void 0,insertInto:void 0};n(21)(r,i);r.locals&&(e.exports=r.locals)},function(e,t){var n="/components/table_details/table_details.html";window.angular.module("ng").run(["$templateCache",function(e){e.put(n,'<div class="section-content">\n    <h6>Details</h6>\n    <div class="panel">\n        <div class="panel-body">\n            <div class="details">\n                <div class="details-content">\n                    <div class="detail-group" ng-if="hasData(meta)">\n                        <div class="detail-body">\n                            <dl class="detail"\n                                ng-repeat="(k, v) in meta">\n                                <dt class="detail-label">{{ k }}</dt>\n                                <dd class="detail-value">{{ v }}</dd>\n                            </dl>\n                        </div>\n                    </div>\n                    <div class="detail-group">\n                        <div class="detail-body">\n                            <dl class=\'detail\' ng-if="model.tags != undefined">\n                                <dt class="detail-label">Tags</dt>\n                                <dd ng-if="model.tags.length > 0" class="detail-value">\n                                    <span ng-repeat="tag in model.tags"><code><a ng-click=queryTag(tag)>{{ tag }}</a></code>&nbsp;</span>\n                                </dd>\n                                <dd ng-if="model.tags.length == 0" class="detail-value">untagged</dd>\n                            </dl>\n                            <dl class="detail"\n                                ng-repeat="item in details">\n                                <dt class="detail-label">{{ item.name }}</dt>\n                                <dd class="detail-value">{{ item.value }}</dd>\n                            </dl>\n                        </div>\n                    </div>\n                    <div class="detail-group" ng-if="hasData(extended)">\n                        <div class="detail-body">\n                            <dl class="detail"\n                                ng-repeat="item in extended"\n                                ng-if="item.include">\n                                <dt data-toggle="tooltip" title="{{ item.description }}" class="detail-label">{{ item.label }}</dt>\n                                <dd class="detail-value">{{ item.value }}</dd>\n                            </dl>\n                        </div>\n                    </div>\n                </div>\n            </div>\n        </div>\n    </div>\n</div>\n')}]),e.exports=n},function(e,t,n){"use strict";const r=n(120);n(119);const i=n(5);angular.module("dbt").directive("tableDetails",["$sce","$filter",function(e,t){return{scope:{model:"=",extras:"="},templateUrl:r,link:function(e){function n(e,t){if(0==e)return"0 bytes";if(e<1&&(e*=1e6),isNaN(parseFloat(e))||!isFinite(e))return"-";void 0===t&&(t=0);var n=Math.floor(Math.log(e)/Math.log(1024));return(e/Math.pow(1024,Math.floor(n))).toFixed(t)+" "+["bytes","KB","MB","GB","TB","PB"][n]}function r(e,n){return void 0===n&&(n=2),t("number")(100*e,n)+"%"}function o(e,n){return void 0===n&&(n=0),t("number")(e,n)}e.details=[],e.extended=[],e.meta=null,e._show_expanded=!1,e.show_expanded=function(t){return void 0!==t&&(e._show_expanded=t),e._show_expanded},e.hasData=function(e){return!(!e||i.isEmpty(e))&&(1!=e.length||0!=e[0].include)},e.$watch("model",function(t,a){i.property(["metadata","type"])(t);e.meta=t.meta||null,e.details=function(e){var t,n=!e.metadata,r=e.metadata||{};t=n?void 0:"source"==e.resource_type?e.database+"."+e.schema+"."+e.identifier:e.database+"."+e.schema+"."+e.alias;var o=[{name:"Owner",value:r.owner},{name:"Type",value:n?void 0:function(e){return"BASE TABLE"==e?{type:"table",name:"table"}:"LATE BINDING VIEW"==e?{type:"view",name:"late binding view"}:{type:e.toLowerCase(),name:e.toLowerCase()}}(r.type).name},{name:"Package",value:e.package_name},{name:"Relation",value:t}];return i.filter(o,function(e){return void 0!==e.value})}(t),e.extended=function(e){var t={rows:o,row_count:o,num_rows:o,max_varchar:o,pct_used:r,size:n,bytes:n,num_bytes:n},a=i.sortBy(i.values(e),"label");return i.map(a,function(e){var n=i.clone(e),r=t[e.id];return r&&(n.value=r(e.value),n.label=e.label.replace("Approximate","~"),n.label=e.label.replace("Utilization","Used")),n})}(t.stats),e.extras&&(e.details=e.details.concat(e.extras)),e.show_extended=i.where(e.extended,{include:!0}).length>0}),e.queryTag=function(t){e.$emit("query",t)}}}}])},function(e,t){var n="/components/search/search.html";window.angular.module("ng").run(["$templateCache",function(e){e.put(n,'<div class="app-scroll">\n    <style>\n    .search-result-match {\n        background-color: #eee;\n    }\n    .spacing {\n        margin-right: 0.25em;\n    }\n    .sub-results {\n        margin-left: 36px;\n    }\n    </style>\n\n    <div class="app-title">\n        <div class="app-frame app-pad">\n            <h1>\n                <span class="break">{{ query }}</span>\n                <small><span>{{ results.length }}</span> search results</small>\n            </h1>\n        </div>\n    </div>\n    <div class="app-details">\n        <div class="app-frame app-pad">\n            <div class="results">\n                <div ng-repeat="result in results | filter:limit_search | orderBy:\'-model.name\':true track by result.model.unique_id"\n                     data-ui-state="getState(result.model)" data-ui-state-params="{unique_id: result.model.unique_id}"\n                     ng-click="onSelect()"\n                     class="result search-result a">\n                        <div class="result-content">\n                            <div class="result-icn">\n                                <svg class="icn "><use xlink:href="#icn-doc"></use></svg>\n                            </div>\n                            <div class="result-body">\n                                <h4 class="a">\n                                    <span ng-bind-html="highlight(getModelName(result.model))"></span>\n                                    <small>{{result.model.resource_type}}</small>\n                                </h4>\n                                <p ng-bind-html="highlight(result.model.description)"></p>\n                            </div>\n                        </div>\n                    <div class="sub-results" ng-show="query.length > 0">\n                        <span ng-repeat="column in columnFilter(result.model.columns) | limitTo:limitColumns(result.model.unique_id)">\n                            <span ng-show="$first === true">columns:</span>\n                            <span ng-bind-html="highlight(column + \',\')" ng-show="$last === false"></span>\n                            <span ng-bind-html="highlight(column)" ng-show="$last === true"></span>\n                        </span>\n                        <a\n                            ng-show="columnFilter(result.model.columns).length > max_results_columns && !limit_columns[result.model.unique_id]"\n                            ng-click="$event.stopPropagation(); limit_columns[result.model.unique_id] = 100">Show {{ columnFilter(result.model.columns).length - max_results_columns }} more</a>\n                    </div>\n                    <div class="sub-results" ng-show="query.length > 0">\n                        <span ng-repeat="tag in result.model.tags">\n                            <span ng-show="$first === true">tags:</span>\n                            <span ng-bind-html="highlight(tag + \',\')" ng-show="$last === false"></span>\n                            <span ng-bind-html="highlight(tag)" ng-show="$last === true"></span>\n                        </span>\n                    </div>\n                </div>\n                <a\n                    ng-show="results.length >= max_results && !show_all"\n                    ng-click="show_all = true">Show {{ results.length - max_results }} more</a>\n            </div>\n        </div>\n    </div>\n</div>\n')}]),e.exports=n},function(e,t,n){"use strict";const r=n(122);angular.module("dbt").directive("docsSearch",["$sce",function(e){return{scope:{query:"=",results:"=",onSelect:"&"},replace:!0,templateUrl:r,link:function(t){t.max_results=20,t.show_all=!1,t.max_results_columns=3,t.limit_columns={},t.limit_search=function(e,n,r){return n<t.max_results||t.show_all},t.getState=function(e){return"dbt."+e.resource_type},t.getModelName=function(e){return"source"==e.resource_type?e.source_name+"."+e.name:"macro"==e.resource_type?e.package_name+"."+e.name:e.name},t.highlight=function(n){return t.query&&n?e.trustAsHtml(n.replace(new RegExp(t.query,"gi"),'<span class="search-result-match">$&</span>')):e.trustAsHtml(n)},t.$watch("query",function(e,n){0==e.length&&(t.show_all=!1,t.limit_columns={})}),t.columnFilter=function(e){var n=[];for(var r in e)-1!=r.toLowerCase().indexOf(t.query.toLowerCase())&&n.push(r);return n},t.limitColumns=function(e){return void 0!==t.limit_columns[e]?t.limit_columns[e]:3}}}}])},function(e,t,n){(e.exports=n(22)(!1)).push([e.i,"\n.unselectable{\n  -webkit-user-select: none;\n  -moz-user-select: none;\n  -ms-user-select: none;\n  user-select: none;\n}\n",""])},function(e,t,n){var r=n(124);"string"==typeof r&&(r=[[e.i,r,""]]);var i={hmr:!0,transform:void 0,insertInto:void 0};n(21)(r,i);r.locals&&(e.exports=r.locals)},function(e,t){var n="/components/model_tree/model_tree_line.html";window.angular.module("ng").run(["$templateCache",function(e){e.put(n,'<li class=\'unselectable\'>\n\n    <a ng-if="!item.unique_id"\n       class=\'unselectable\'\n       ng-class="getClass(item)"\n       ng-click="onFolderClick(item)">\n        <span class="filename">\n            <span class="filename-normal">\n                <svg class="icn menu-icon-on"><use xlink:href="{{ getIcon(item.type, \'on\') }}"></use></svg>\n                <svg class="icn menu-icon-off"><use xlink:href="{{ getIcon(item.type, \'off\') }}"></use></svg>\n            </span>\n            <span class="filename-ellip">{{name.start}}</span>\n            <span class="filename-normal">{{name.end}}</span>\n        </span>\n    </a>\n\n    <a ng-if="item.unique_id"\n       class=\'unselectable\'\n       ng-class="getClass(item)"\n       ng-click="activate(item)"\n       data-nav-unique-id="{{ item.unique_id }}">\n        <span class="filename">\n            <span class="filename-normal">\n                <svg class="icn menu-icon-on"><use xlink:href="{{ getIcon(item.type, \'on\') }}"></use></svg>\n                <svg class="icn menu-icon-off"><use xlink:href="{{ getIcon(item.type, \'off\') }}"></use></svg>\n            </span>\n            <span class="filename-ellip">{{name.start}}</span>\n            <span class="filename-normal">{{name.end}}</span>\n        </span>\n    </a>\n\n    <ul ng-if="item.items">\n        <model-tree-line\n                resource-type="{{ resourceType }}"\n                item="subitem"\n                depth="depth + 1"\n                ng-repeat="subitem in item.items" />\n    </ul>\n</li>\n')}]),e.exports=n},function(e,t,n){"use strict";const r=n(126),i=n(5);n(125),angular.module("dbt").directive("modelTreeLine",["$state",function(e){return{scope:{item:"=",depth:"<",resourceType:"@"},replace:!0,templateUrl:r,link:function(t,n,r,o){t.depth||(t.depth=0);var a=t.item.name,s=i.last(a,15).join(""),l=i.initial(a,s.length).join("");t.name={name:a,start:l,end:s},t.name_start=l,t.name_end=s,t.onFolderClick=function(n){if(n.active=!n.active,"source"==t.resourceType){var r=n.name;e.go("dbt.source_list",{source:r})}},t.activate=function(n){t.$emit("clearSearch"),n.active=!0;var r="dbt."+n.node.resource_type;e.go(r,{unique_id:n.unique_id})},t.getIcon=function(e,t){return"#"+{header:{on:"icn-down",off:"icn-right"},database:{on:"icn-db-on",off:"icn-db"},schema:{on:"icn-tree-on",off:"icn-tree"},table:{on:"icn-doc-on",off:"icn-doc"},folder:{on:"icn-dir-on",off:"icn-dir"},file:{on:"icn-doc-on",off:"icn-doc"}}[e][t]},t.getClass=function(e){return{active:e.active,"menu-tree":"header"==e.type||"schema"==e.type||"folder"==e.type,"menu-main":"header"==e.type,"menu-node":"file"==e.type||"table"==e.type}}}}}])},function(e,t){var n="/components/model_tree/model_tree.html";window.angular.module("ng").run(["$templateCache",function(e){e.put(n,'<style>\n.menu ul ul {\n    margin-left: 12px;\n}\n</style>\n\n<div class="menu">\n    <ul>\n        <li>\n            <a ui-sref="dbt.overview()" class="menu-link menu-main">\n                Overview\n            </a>\n        </li>\n\n        <li>\n            <div class="switches">\n                <div class="switch ">\n                    <span\n                       class="switch-label btn btn-sm"\n                       ng-class="{active: (nav_selected == \'project\')}"\n                       ng-click="nav_selected = \'project\'">\n                        <svg class="icn menu-icon-on"><use xlink:href="#icn-dir-on"></use></svg>\n                        Project\n                    </span>\n                </div>\n                <div class="switch">\n                    <span\n                       class="switch-label btn btn-sm"\n                       ng-class="{active: (nav_selected == \'database\')}"\n                       ng-click="nav_selected = \'database\'">\n                        <svg class="icn menu-icon-on"><use xlink:href="#icn-tree-on"></use></svg>\n                        Database\n                    </span>\n                </div>\n            </div>\n        </li>\n\n        <li>\n            <div class="menu" ng-show="nav_selected == \'project\'">\n                <div ng-show="tree.sources.length > 0">\n                    <strong>Sources</strong>\n                    <ul style="display: block">\n                        <model-tree-line\n                            item="item"\n                            resource-type="source"\n                            ng-repeat="item in tree.sources"></source-tree-line>\n                    </ul>\n                    <br />\n                </div>\n\n                <strong>Projects</strong>\n                <ul>\n                    <model-tree-line\n                        item="item"\n                        resource-type="model"\n                        ng-repeat="item in tree.project"></model-tree-line>\n                </ul>\n            </div>\n        </li>\n\n        <li>\n            <div class="menu" ng-show="nav_selected == \'database\'">\n                <strong>Tables and Views</strong>\n                <ul>\n                    <model-tree-line\n                        item="item"\n                        resource-type="model"\n                        ng-repeat="item in tree.database"></model-tree-line>\n                </ul>\n            </div>\n        </li>\n    </ul>\n</div>\n')}]),e.exports=n},function(e,t,n){"use strict";const r=n(128);angular.module("dbt").directive("modelTree",[function(){return{scope:{tree:"="},templateUrl:r,link:function(e){e.nav_selected="project"}}}])},function(e,t){e.exports="0.7.4"},function(e,t,n){var r=n(2),i=n(7),o=n(11).Graph;e.exports={debugOrdering:function(e){var t=i.buildLayerMatrix(e),n=new o({compound:!0,multigraph:!0}).setGraph({});return r.each(e.nodes(),function(t){n.setNode(t,{label:t}),n.setParent(t,"layer"+e.node(t).rank)}),r.each(e.edges(),function(e){n.setEdge(e.v,e.w,{},e.name)}),r.each(t,function(e,t){var i="layer"+t;n.setNode(i,{rank:"same"}),r.reduce(e,function(e,t){return n.setEdge(e,t,{style:"invis"}),t})}),n}}},function(e,t,n){"use strict";var r=n(2),i=n(11).Graph,o=n(7);function a(e,t){var n={};return r.reduce(t,function(t,i){var o=0,a=0,s=t.length,c=r.last(i);return r.each(i,function(t,u){var d=function(e,t){if(e.node(t).dummy)return r.find(e.predecessors(t),function(t){return e.node(t).dummy})}(e,t),p=d?e.node(d).order:s;(d||t===c)&&(r.each(i.slice(a,u+1),function(t){r.each(e.predecessors(t),function(r){var i=e.node(r),a=i.order;!(a<o||p<a)||i.dummy&&e.node(t).dummy||l(n,r,t)})}),a=u+1,o=p)}),i}),n}function s(e,t){var n={};function i(t,i,o,a,s){var c;r.each(r.range(i,o),function(i){c=t[i],e.node(c).dummy&&r.each(e.predecessors(c),function(t){var r=e.node(t);r.dummy&&(r.order<a||r.order>s)&&l(n,t,c)})})}return r.reduce(t,function(t,n){var o,a=-1,s=0;return r.each(n,function(r,l){if("border"===e.node(r).dummy){var c=e.predecessors(r);c.length&&(o=e.node(c[0]).order,i(n,s,l,a,o),s=l,a=o)}i(n,s,n.length,o,t.length)}),n}),n}function l(e,t,n){if(t>n){var r=t;t=n,n=r}var i=e[t];i||(e[t]=i={}),i[n]=!0}function c(e,t,n){if(t>n){var i=t;t=n,n=i}return r.has(e[t],n)}function u(e,t,n,i){var o={},a={},s={};return r.each(t,function(e){r.each(e,function(e,t){o[e]=e,a[e]=e,s[e]=t})}),r.each(t,function(e){var t=-1;r.each(e,function(e){var l=i(e);if(l.length)for(var u=((l=r.sortBy(l,function(e){return s[e]})).length-1)/2,d=Math.floor(u),p=Math.ceil(u);d<=p;++d){var f=l[d];a[e]===e&&t<s[f]&&!c(n,e,f)&&(a[f]=e,a[e]=o[e]=o[f],t=s[f])}})}),{root:o,align:a}}function d(e,t,n,o,a){var s={},l=function(e,t,n,o){var a=new i,s=e.graph(),l=function(e,t,n){return function(i,o,a){var s,l=i.node(o),c=i.node(a),u=0;if(u+=l.width/2,r.has(l,"labelpos"))switch(l.labelpos.toLowerCase()){case"l":s=-l.width/2;break;case"r":s=l.width/2}if(s&&(u+=n?s:-s),s=0,u+=(l.dummy?t:e)/2,u+=(c.dummy?t:e)/2,u+=c.width/2,r.has(c,"labelpos"))switch(c.labelpos.toLowerCase()){case"l":s=c.width/2;break;case"r":s=-c.width/2}return s&&(u+=n?s:-s),s=0,u}}(s.nodesep,s.edgesep,o);return r.each(t,function(t){var i;r.each(t,function(t){var r=n[t];if(a.setNode(r),i){var o=n[i],s=a.edge(o,r);a.setEdge(o,r,Math.max(l(e,t,i),s||0))}i=t})}),a}(e,t,n,a),c={};r.each(l.nodes(),function e(t){r.has(c,t)||(c[t]=!0,s[t]=r.reduce(l.inEdges(t),function(t,n){return e(n.v),Math.max(t,s[n.v]+l.edge(n))},0))});var u=a?"borderLeft":"borderRight";return r.each(l.nodes(),function t(n){if(2!==c[n]){c[n]++;var i=e.node(n),o=r.reduce(l.outEdges(n),function(e,n){return t(n.w),Math.min(e,s[n.w]-l.edge(n))},Number.POSITIVE_INFINITY);o!==Number.POSITIVE_INFINITY&&i.borderType!==u&&(s[n]=Math.max(s[n],o))}}),r.each(o,function(e){s[e]=s[n[e]]}),s}function p(e,t){return r.min(t,function(t){var n=r.min(t,function(t,n){return t-g(e,n)/2});return r.max(t,function(t,n){return t+g(e,n)/2})-n})}function f(e,t){var n=r.min(t),i=r.max(t);r.each(["u","d"],function(o){r.each(["l","r"],function(a){var s,l=o+a,c=e[l];c!==t&&(s="l"===a?n-r.min(c):i-r.max(c))&&(e[l]=r.mapValues(c,function(e){return e+s}))})})}function h(e,t){return r.mapValues(e.ul,function(n,i){if(t)return e[t.toLowerCase()][i];var o=r.sortBy(r.pluck(e,i));return(o[1]+o[2])/2})}function g(e,t){return e.node(t).width}e.exports={positionX:function(e){var t,n=o.buildLayerMatrix(e),i=r.merge(a(e,n),s(e,n)),l={};r.each(["u","d"],function(o){t="u"===o?n:r.values(n).reverse(),r.each(["l","r"],function(n){"r"===n&&(t=r.map(t,function(e){return r.values(e).reverse()}));var a=r.bind("u"===o?e.predecessors:e.successors,e),s=u(e,t,i,a),c=d(e,t,s.root,s.align,"r"===n);"r"===n&&(c=r.mapValues(c,function(e){return-e})),l[o+n]=c})});var c=p(e,l);return f(l,c),h(l,e.graph().align)},findType1Conflicts:a,findType2Conflicts:s,addConflict:l,hasConflict:c,verticalAlignment:u,horizontalCompaction:d,alignCoordinates:f,findSmallestWidthAlignment:p,balance:h}},function(e,t,n){"use strict";var r=n(2),i=n(7),o=n(132).positionX;e.exports=function(e){(function(e){var t=i.buildLayerMatrix(e),n=e.graph().ranksep,o=0;r.each(t,function(t){var i=r.max(r.map(t,function(t){return e.node(t).height}));r.each(t,function(t){e.node(t).y=o+i/2}),o+=i+n})})(e=i.asNonCompoundGraph(e)),r.each(o(e),function(t,n){e.node(n).x=t})}},function(e,t,n){var r=n(2);e.exports=function(e,t,n){var i,o={};r.each(n,function(n){for(var r,a,s=e.parent(n);s;){if((r=e.parent(s))?(a=o[r],o[r]=s):(a=i,i=s),a&&a!==s)return void t.setEdge(a,s);s=r}})}},function(e,t,n){var r=n(2),i=n(11).Graph;e.exports=function(e,t,n){var o=function(e){var t;for(;e.hasNode(t=r.uniqueId("_root")););return t}(e),a=new i({compound:!0}).setGraph({root:o}).setDefaultNodeLabel(function(t){return e.node(t)});return r.each(e.nodes(),function(i){var s=e.node(i),l=e.parent(i);(s.rank===t||s.minRank<=t&&t<=s.maxRank)&&(a.setNode(i),a.setParent(i,l||o),r.each(e[n](i),function(t){var n=t.v===i?t.w:t.v,o=a.edge(n,i),s=r.isUndefined(o)?0:o.weight;a.setEdge(n,i,{weight:e.edge(t).weight+s})}),r.has(s,"minRank")&&a.setNode(i,{borderLeft:s.borderLeft[t],borderRight:s.borderRight[t]}))}),a}},function(e,t,n){var r=n(2),i=n(7);function o(e,t,n){for(var i;t.length&&(i=r.last(t)).i<=n;)t.pop(),e.push(i.vs),n++;return n}e.exports=function(e,t){var n=i.partition(e,function(e){return r.has(e,"barycenter")}),a=n.lhs,s=r.sortBy(n.rhs,function(e){return-e.i}),l=[],c=0,u=0,d=0;a.sort(function(e){return function(t,n){return t.barycenter<n.barycenter?-1:t.barycenter>n.barycenter?1:e?n.i-t.i:t.i-n.i}}(!!t)),d=o(l,s,d),r.each(a,function(e){d+=e.vs.length,l.push(e.vs),c+=e.barycenter*e.weight,u+=e.weight,d=o(l,s,d)});var p={vs:r.flatten(l,!0)};u&&(p.barycenter=c/u,p.weight=u);return p}},function(e,t,n){"use strict";var r=n(2);e.exports=function(e,t){var n={};return r.each(e,function(e,t){var i=n[e.v]={indegree:0,in:[],out:[],vs:[e.v],i:t};r.isUndefined(e.barycenter)||(i.barycenter=e.barycenter,i.weight=e.weight)}),r.each(t.edges(),function(e){var t=n[e.v],i=n[e.w];r.isUndefined(t)||r.isUndefined(i)||(i.indegree++,t.out.push(n[e.w]))}),function(e){var t=[];function n(e){return function(t){t.merged||(r.isUndefined(t.barycenter)||r.isUndefined(e.barycenter)||t.barycenter>=e.barycenter)&&function(e,t){var n=0,r=0;e.weight&&(n+=e.barycenter*e.weight,r+=e.weight),t.weight&&(n+=t.barycenter*t.weight,r+=t.weight),e.vs=t.vs.concat(e.vs),e.barycenter=n/r,e.weight=r,e.i=Math.min(t.i,e.i),t.merged=!0}(e,t)}}function i(t){return function(n){n.in.push(t),0==--n.indegree&&e.push(n)}}for(;e.length;){var o=e.pop();t.push(o),r.each(o.in.reverse(),n(o)),r.each(o.out,i(o))}return r.chain(t).filter(function(e){return!e.merged}).map(function(e){return r.pick(e,["vs","i","barycenter","weight"])}).value()}(r.filter(n,function(e){return!e.indegree}))}},function(e,t,n){var r=n(2);e.exports=function(e,t){return r.map(t,function(t){var n=e.inEdges(t);if(n.length){var i=r.reduce(n,function(t,n){var r=e.edge(n),i=e.node(n.v);return{sum:t.sum+r.weight*i.order,weight:t.weight+r.weight}},{sum:0,weight:0});return{v:t,barycenter:i.sum/i.weight,weight:i.weight}}return{v:t}})}},function(e,t,n){var r=n(2),i=n(138),o=n(137),a=n(136);e.exports=function e(t,n,s,l){var c=t.children(n),u=t.node(n),d=u?u.borderLeft:void 0,p=u?u.borderRight:void 0,f={};d&&(c=r.filter(c,function(e){return e!==d&&e!==p}));var h=i(t,c);r.each(h,function(n){if(t.children(n.v).length){var i=e(t,n.v,s,l);f[n.v]=i,r.has(i,"barycenter")&&function(e,t){r.isUndefined(e.barycenter)?(e.barycenter=t.barycenter,e.weight=t.weight):(e.barycenter=(e.barycenter*e.weight+t.barycenter*t.weight)/(e.weight+t.weight),e.weight+=t.weight)}(n,i)}});var g=o(h,s);!function(e,t){r.each(e,function(e){e.vs=r.flatten(e.vs.map(function(e){return t[e]?t[e].vs:e}),!0)})}(g,f);var m=a(g,l);if(d&&(m.vs=r.flatten([d,m.vs,p],!0),t.predecessors(d).length)){var v=t.node(t.predecessors(d)[0]),b=t.node(t.predecessors(p)[0]);r.has(m,"barycenter")||(m.barycenter=0,m.weight=0),m.barycenter=(m.barycenter*m.weight+v.order+b.order)/(m.weight+2),m.weight+=2}return m}},function(e,t,n){"use strict";var r=n(2);function i(e,t,n){for(var i=r.zipObject(n,r.map(n,function(e,t){return t})),o=r.flatten(r.map(t,function(t){return r.chain(e.outEdges(t)).map(function(t){return{pos:i[t.w],weight:e.edge(t).weight}}).sortBy("pos").value()}),!0),a=1;a<n.length;)a<<=1;var s=2*a-1;a-=1;var l=r.map(new Array(s),function(){return 0}),c=0;return r.each(o.forEach(function(e){var t=e.pos+a;l[t]+=e.weight;for(var n=0;t>0;)t%2&&(n+=l[t+1]),l[t=t-1>>1]+=e.weight;c+=e.weight*n})),c}e.exports=function(e,t){for(var n=0,r=1;r<t.length;++r)n+=i(e,t[r-1],t[r]);return n}},function(e,t,n){"use strict";var r=n(2);e.exports=function(e){var t={},n=r.filter(e.nodes(),function(t){return!e.children(t).length}),i=r.max(r.map(n,function(t){return e.node(t).rank})),o=r.map(r.range(i+1),function(){return[]});var a=r.sortBy(n,function(t){return e.node(t).rank});return r.each(a,function n(i){if(!r.has(t,i)){t[i]=!0;var a=e.node(i);o[a.rank].push(i),r.each(e.successors(i),n)}}),o}},function(e,t,n){"use strict";var r=n(2),i=n(141),o=n(140),a=n(139),s=n(135),l=n(134),c=n(11).Graph,u=n(7);function d(e,t,n){return r.map(t,function(t){return s(e,t,n)})}function p(e,t){var n=new c;r.each(e,function(e){var i=e.graph().root,o=a(e,i,n,t);r.each(o.vs,function(t,n){e.node(t).order=n}),l(e,n,o.vs)})}function f(e,t){r.each(t,function(t){r.each(t,function(t,n){e.node(t).order=n})})}e.exports=function(e){var t=u.maxRank(e),n=d(e,r.range(1,t+1),"inEdges"),a=d(e,r.range(t-1,-1,-1),"outEdges"),s=i(e);f(e,s);for(var l,c=Number.POSITIVE_INFINITY,h=0,g=0;g<4;++h,++g){p(h%2?n:a,h%4>=2),s=u.buildLayerMatrix(e);var m=o(e,s);m<c&&(g=0,l=r.cloneDeep(s),c=m)}f(e,l)}},function(e,t,n){"use strict";var r=n(2);function i(e){r.each(e.nodes(),function(t){o(e.node(t))}),r.each(e.edges(),function(t){o(e.edge(t))})}function o(e){var t=e.width;e.width=e.height,e.height=t}function a(e){e.y=-e.y}function s(e){var t=e.x;e.x=e.y,e.y=t}e.exports={adjust:function(e){var t=e.graph().rankdir.toLowerCase();"lr"!==t&&"rl"!==t||i(e)},undo:function(e){var t=e.graph().rankdir.toLowerCase();"bt"!==t&&"rl"!==t||function(e){r.each(e.nodes(),function(t){a(e.node(t))}),r.each(e.edges(),function(t){var n=e.edge(t);r.each(n.points,a),r.has(n,"y")&&a(n)})}(e);"lr"!==t&&"rl"!==t||(!function(e){r.each(e.nodes(),function(t){s(e.node(t))}),r.each(e.edges(),function(t){var n=e.edge(t);r.each(n.points,s),r.has(n,"x")&&s(n)})}(e),i(e))}}},function(e,t,n){var r=n(2),i=n(7);function o(e,t,n,r,o,a){var s={width:0,height:0,rank:a,borderType:t},l=o[t][a-1],c=i.addDummyNode(e,"border",s,n);o[t][a]=c,e.setParent(c,r),l&&e.setEdge(l,c,{weight:1})}e.exports=function(e){r.each(e.children(),function t(n){var i=e.children(n),a=e.node(n);i.length&&r.each(i,t);if(r.has(a,"minRank")){a.borderLeft=[],a.borderRight=[];for(var s=a.minRank,l=a.maxRank+1;s<l;++s)o(e,"borderLeft","_bl",n,a,s),o(e,"borderRight","_br",n,a,s)}})}},function(e,t,n){var r=n(2),i=n(7);e.exports={run:function(e){var t=i.addDummyNode(e,"root",{},"_root"),n=function(e){var t={};return r.each(e.children(),function(n){!function n(i,o){var a=e.children(i);a&&a.length&&r.each(a,function(e){n(e,o+1)}),t[i]=o}(n,1)}),t}(e),o=r.max(n)-1,a=2*o+1;e.graph().nestingRoot=t,r.each(e.edges(),function(t){e.edge(t).minlen*=a});var s=function(e){return r.reduce(e.edges(),function(t,n){return t+e.edge(n).weight},0)}(e)+1;r.each(e.children(),function(l){!function e(t,n,o,a,s,l,c){var u=t.children(c);if(!u.length)return void(c!==n&&t.setEdge(n,c,{weight:0,minlen:o}));var d=i.addBorderNode(t,"_bt"),p=i.addBorderNode(t,"_bb"),f=t.node(c);t.setParent(d,c);f.borderTop=d;t.setParent(p,c);f.borderBottom=p;r.each(u,function(r){e(t,n,o,a,s,l,r);var i=t.node(r),u=i.borderTop?i.borderTop:r,f=i.borderBottom?i.borderBottom:r,h=i.borderTop?a:2*a,g=u!==f?1:s-l[c]+1;t.setEdge(d,u,{weight:h,minlen:g,nestingEdge:!0}),t.setEdge(f,p,{weight:h,minlen:g,nestingEdge:!0})});t.parent(c)||t.setEdge(n,d,{weight:0,minlen:s+l[c]})}(e,t,a,s,o,n,l)}),e.graph().nodeRankFactor=a},cleanup:function(e){var t=e.graph();e.removeNode(t.nestingRoot),delete t.nestingRoot,r.each(e.edges(),function(t){var n=e.edge(t);n.nestingEdge&&e.removeEdge(t)})}}},function(e,t,n){var r=n(2);e.exports=function(e){var t=function(e){var t={},n=0;return r.each(e.children(),function i(o){var a=n;r.each(e.children(o),i),t[o]={low:a,lim:n++}}),t}(e);r.each(e.graph().dummyChains,function(n){for(var r=e.node(n),i=r.edgeObj,o=function(e,t,n,r){var i,o,a=[],s=[],l=Math.min(t[n].low,t[r].low),c=Math.max(t[n].lim,t[r].lim);i=n;do{i=e.parent(i),a.push(i)}while(i&&(t[i].low>l||c>t[i].lim));o=i,i=r;for(;(i=e.parent(i))!==o;)s.push(i);return{path:a.concat(s.reverse()),lca:o}}(e,t,i.v,i.w),a=o.path,s=o.lca,l=0,c=a[l],u=!0;n!==i.w;){if(r=e.node(n),u){for(;(c=a[l])!==s&&e.node(c).maxRank<r.rank;)l++;c===s&&(u=!1)}if(!u){for(;l<a.length-1&&e.node(c=a[l+1]).minRank<=r.rank;)l++;c=a[l]}e.setParent(n,c),n=e.successors(n)[0]}})}},function(e,t,n){"use strict";var r=n(2),i=n(43),o=n(25).slack,a=n(25).longestPath,s=n(11).alg.preorder,l=n(11).alg.postorder,c=n(7).simplify;function u(e){e=c(e),a(e);var t,n=i(e);for(f(n),d(n,e);t=h(n);)m(n,e,t,g(n,e,t))}function d(e,t){var n=l(e,e.nodes());n=n.slice(0,n.length-1),r.each(n,function(n){!function(e,t,n){var r=e.node(n).parent;e.edge(n,r).cutvalue=p(e,t,n)}(e,t,n)})}function p(e,t,n){var i=e.node(n).parent,o=!0,a=t.edge(n,i),s=0;return a||(o=!1,a=t.edge(i,n)),s=a.weight,r.each(t.nodeEdges(n),function(r){var a=r.v===n,l=a?r.w:r.v;if(l!==i){var c=a===o,u=t.edge(r).weight;if(s+=c?u:-u,function(e,t,n){return e.hasEdge(t,n)}(e,n,l)){var d=e.edge(n,l).cutvalue;s+=c?-d:d}}}),s}function f(e,t){arguments.length<2&&(t=e.nodes()[0]),function e(t,n,i,o,a){var s=i,l=t.node(o);n[o]=!0;r.each(t.neighbors(o),function(a){r.has(n,a)||(i=e(t,n,i,a,o))});l.low=s;l.lim=i++;a?l.parent=a:delete l.parent;return i}(e,{},1,t)}function h(e){return r.find(e.edges(),function(t){return e.edge(t).cutvalue<0})}function g(e,t,n){var i=n.v,a=n.w;t.hasEdge(i,a)||(i=n.w,a=n.v);var s=e.node(i),l=e.node(a),c=s,u=!1;s.lim>l.lim&&(c=l,u=!0);var d=r.filter(t.edges(),function(t){return u===v(e,e.node(t.v),c)&&u!==v(e,e.node(t.w),c)});return r.min(d,function(e){return o(t,e)})}function m(e,t,n,i){var o=n.v,a=n.w;e.removeEdge(o,a),e.setEdge(i.v,i.w,{}),f(e),d(e,t),function(e,t){var n=r.find(e.nodes(),function(e){return!t.node(e).parent}),i=s(e,n);i=i.slice(1),r.each(i,function(n){var r=e.node(n).parent,i=t.edge(n,r),o=!1;i||(i=t.edge(r,n),o=!0),t.node(n).rank=t.node(r).rank+(o?i.minlen:-i.minlen)})}(e,t)}function v(e,t,n){return n.low<=t.lim&&t.lim<=n.lim}e.exports=u,u.initLowLimValues=f,u.initCutValues=d,u.calcCutValue=p,u.leaveEdge=h,u.enterEdge=g,u.exchangeEdges=m},function(e,t,n){"use strict";var r=n(25).longestPath,i=n(43),o=n(147);e.exports=function(e){switch(e.graph().ranker){case"network-simplex":s(e);break;case"tight-tree":!function(e){r(e),i(e)}(e);break;case"longest-path":a(e);break;default:s(e)}};var a=r;function s(e){o(e)}},function(e,t,n){"use strict";var r=n(2),i=n(7);e.exports={run:function(e){e.graph().dummyChains=[],r.each(e.edges(),function(t){!function(e,t){var n,r,o,a=t.v,s=e.node(a).rank,l=t.w,c=e.node(l).rank,u=t.name,d=e.edge(t),p=d.labelRank;if(c===s+1)return;for(e.removeEdge(t),o=0,++s;s<c;++o,++s)d.points=[],r={width:0,height:0,edgeLabel:d,edgeObj:t,rank:s},n=i.addDummyNode(e,"edge",r,"_d"),s===p&&(r.width=d.width,r.height=d.height,r.dummy="edge-label",r.labelpos=d.labelpos),e.setEdge(a,n,{weight:d.weight},u),0===o&&e.graph().dummyChains.push(n),a=n;e.setEdge(a,l,{weight:d.weight},u)}(e,t)})},undo:function(e){r.each(e.graph().dummyChains,function(t){var n,r=e.node(t),i=r.edgeLabel;for(e.setEdge(r.edgeObj,i);r.dummy;)n=e.successors(t)[0],e.removeNode(t),i.points.push({x:r.x,y:r.y}),"edge-label"===r.dummy&&(i.x=r.x,i.y=r.y,i.width=r.width,i.height=r.height),t=n,r=e.node(t)})}}},function(e,t){function n(){var e={};e._next=e._prev=e,this._sentinel=e}function r(e){e._prev._next=e._next,e._next._prev=e._prev,delete e._next,delete e._prev}function i(e,t){if("_next"!==e&&"_prev"!==e)return t}e.exports=n,n.prototype.dequeue=function(){var e=this._sentinel,t=e._prev;if(t!==e)return r(t),t},n.prototype.enqueue=function(e){var t=this._sentinel;e._prev&&e._next&&r(e),e._next=t._next,t._next._prev=e,t._next=e,e._prev=t},n.prototype.toString=function(){for(var e=[],t=this._sentinel,n=t._prev;n!==t;)e.push(JSON.stringify(n,i)),n=n._prev;return"["+e.join(", ")+"]"}},function(e,t,n){var r=n(2),i=n(11).Graph,o=n(150);e.exports=function(e,t){if(e.nodeCount()<=1)return[];var n=function(e,t){var n=new i,a=0,s=0;r.each(e.nodes(),function(e){n.setNode(e,{v:e,in:0,out:0})}),r.each(e.edges(),function(e){var r=n.edge(e.v,e.w)||0,i=t(e),o=r+i;n.setEdge(e.v,e.w,o),s=Math.max(s,n.node(e.v).out+=i),a=Math.max(a,n.node(e.w).in+=i)});var c=r.range(s+a+3).map(function(){return new o}),u=a+1;return r.each(n.nodes(),function(e){l(c,u,n.node(e))}),{graph:n,buckets:c,zeroIdx:u}}(e,t||a),c=function(e,t,n){var r,i=[],o=t[t.length-1],a=t[0];for(;e.nodeCount();){for(;r=a.dequeue();)s(e,t,n,r);for(;r=o.dequeue();)s(e,t,n,r);if(e.nodeCount())for(var l=t.length-2;l>0;--l)if(r=t[l].dequeue()){i=i.concat(s(e,t,n,r,!0));break}}return i}(n.graph,n.buckets,n.zeroIdx);return r.flatten(r.map(c,function(t){return e.outEdges(t.v,t.w)}),!0)};var a=r.constant(1);function s(e,t,n,i,o){var a=o?[]:void 0;return r.each(e.inEdges(i.v),function(r){var i=e.edge(r),s=e.node(r.v);o&&a.push({v:r.v,w:r.w}),s.out-=i,l(t,n,s)}),r.each(e.outEdges(i.v),function(r){var i=e.edge(r),o=r.w,a=e.node(o);a.in-=i,l(t,n,a)}),e.removeNode(i.v),a}function l(e,t,n){n.out?n.in?e[n.out-n.in+t].enqueue(n):e[e.length-1].enqueue(n):e[0].enqueue(n)}},function(e,t,n){"use strict";var r=n(2),i=n(151);e.exports={run:function(e){var t="greedy"===e.graph().acyclicer?i(e,function(e){return function(t){return e.edge(t).weight}}(e)):function(e){var t=[],n={},i={};return r.each(e.nodes(),function o(a){r.has(i,a)||(i[a]=!0,n[a]=!0,r.each(e.outEdges(a),function(e){r.has(n,e.w)?t.push(e):o(e.w)}),delete n[a])}),t}(e);r.each(t,function(t){var n=e.edge(t);e.removeEdge(t),n.forwardName=t.name,n.reversed=!0,e.setEdge(t.w,t.v,n,r.uniqueId("rev"))})},undo:function(e){r.each(e.edges(),function(t){var n=e.edge(t);if(n.reversed){e.removeEdge(t);var r=n.forwardName;delete n.reversed,delete n.forwardName,e.setEdge(t.w,t.v,n,r)}})}}},function(e,t,n){(function(e,r){var i;
 /**
  * @license
  * lodash 3.10.1 (Custom Build) <https://lodash.com/>
@@ -78,7 +78,7 @@
  * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
  * Copyright 2009-2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
  * Available under MIT license <https://lodash.com/license>
- */(function(){var o,a="3.10.1",s=1,l=2,c=4,u=8,d=16,p=32,f=64,h=128,g=256,m=30,v="...",b=150,y=16,x=200,w=1,k=2,_="Expected a function",$="__lodash_placeholder__",E="[object Arguments]",S="[object Array]",C="[object Boolean]",T="[object Date]",A="[object Error]",P="[object Function]",O="[object Number]",R="[object Object]",j="[object RegExp]",D="[object String]",I="[object ArrayBuffer]",N="[object Float32Array]",M="[object Float64Array]",z="[object Int8Array]",L="[object Int16Array]",q="[object Int32Array]",B="[object Uint8Array]",V="[object Uint8ClampedArray]",F="[object Uint16Array]",U="[object Uint32Array]",H=/\b__p \+= '';/g,W=/\b(__p \+=) '' \+/g,G=/(__e\(.*?\)|\b__t\)) \+\n'';/g,X=/&(?:amp|lt|gt|quot|#39|#96);/g,Y=/[&<>"'`]/g,Z=RegExp(X.source),K=RegExp(Y.source),Q=/<%-([\s\S]+?)%>/g,J=/<%([\s\S]+?)%>/g,ee=/<%=([\s\S]+?)%>/g,te=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\n\\]|\\.)*?\1)\]/,ne=/^\w*$/,re=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\n\\]|\\.)*?)\2)\]/g,ie=/^[:!,]|[\\^$.*+?()[\]{}|\/]|(^[0-9a-fA-Fnrtuvx])|([\n\r\u2028\u2029])/g,oe=RegExp(ie.source),ae=/[\u0300-\u036f\ufe20-\ufe23]/g,se=/\\(\\)?/g,le=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,ce=/\w*$/,ue=/^0[xX]/,de=/^\[object .+?Constructor\]$/,pe=/^\d+$/,fe=/[\xc0-\xd6\xd8-\xde\xdf-\xf6\xf8-\xff]/g,he=/($^)/,ge=/['\n\r\u2028\u2029\\]/g,me=function(){var e="[A-Z\\xc0-\\xd6\\xd8-\\xde]",t="[a-z\\xdf-\\xf6\\xf8-\\xff]+";return RegExp(e+"+(?="+e+t+")|"+e+"?"+t+"|"+e+"+|[0-9]+","g")}(),ve=["Array","ArrayBuffer","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Math","Number","Object","RegExp","Set","String","_","clearTimeout","isFinite","parseFloat","parseInt","setTimeout","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap"],be=-1,ye={};ye[N]=ye[M]=ye[z]=ye[L]=ye[q]=ye[B]=ye[V]=ye[F]=ye[U]=!0,ye[E]=ye[S]=ye[I]=ye[C]=ye[T]=ye[A]=ye[P]=ye["[object Map]"]=ye[O]=ye[R]=ye[j]=ye["[object Set]"]=ye[D]=ye["[object WeakMap]"]=!1;var xe={};xe[E]=xe[S]=xe[I]=xe[C]=xe[T]=xe[N]=xe[M]=xe[z]=xe[L]=xe[q]=xe[O]=xe[R]=xe[j]=xe[D]=xe[B]=xe[V]=xe[F]=xe[U]=!0,xe[A]=xe[P]=xe["[object Map]"]=xe["[object Set]"]=xe["[object WeakMap]"]=!1;var we={"À":"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"},ke={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","`":"&#96;"},_e={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'","&#96;":"`"},$e={function:!0,object:!0},Ee={0:"x30",1:"x31",2:"x32",3:"x33",4:"x34",5:"x35",6:"x36",7:"x37",8:"x38",9:"x39",A:"x41",B:"x42",C:"x43",D:"x44",E:"x45",F:"x46",a:"x61",b:"x62",c:"x63",d:"x64",e:"x65",f:"x66",n:"x6e",r:"x72",t:"x74",u:"x75",v:"x76",x:"x78"},Se={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Ce=$e[typeof t]&&t&&!t.nodeType&&t,Te=$e[typeof e]&&e&&!e.nodeType&&e,Ae=Ce&&Te&&"object"==typeof r&&r&&r.Object&&r,Pe=$e[typeof self]&&self&&self.Object&&self,Oe=$e[typeof window]&&window&&window.Object&&window,Re=(Te&&Te.exports,Ae||Oe!==(this&&this.window)&&Oe||Pe||this);function je(e,t){if(e!==t){var n=null===e,r=e===o,i=e==e,a=null===t,s=t===o,l=t==t;if(e>t&&!a||!i||n&&!s&&l||r&&l)return 1;if(e<t&&!n||!l||a&&!r&&i||s&&i)return-1}return 0}function De(e,t,n){for(var r=e.length,i=n?r:-1;n?i--:++i<r;)if(t(e[i],i,e))return i;return-1}function Ie(e,t,n){if(t!=t)return He(e,n);for(var r=n-1,i=e.length;++r<i;)if(e[r]===t)return r;return-1}function Ne(e){return"function"==typeof e||!1}function Me(e){return null==e?"":e+""}function ze(e,t){for(var n=-1,r=e.length;++n<r&&t.indexOf(e.charAt(n))>-1;);return n}function Le(e,t){for(var n=e.length;n--&&t.indexOf(e.charAt(n))>-1;);return n}function qe(e,t){return je(e.criteria,t.criteria)||e.index-t.index}function Be(e){return we[e]}function Ve(e){return ke[e]}function Fe(e,t,n){return t?e=Ee[e]:n&&(e=Se[e]),"\\"+e}function Ue(e){return"\\"+Se[e]}function He(e,t,n){for(var r=e.length,i=t+(n?0:-1);n?i--:++i<r;){var o=e[i];if(o!=o)return i}return-1}function We(e){return!!e&&"object"==typeof e}function Ge(e){return e<=160&&e>=9&&e<=13||32==e||160==e||5760==e||6158==e||e>=8192&&(e<=8202||8232==e||8233==e||8239==e||8287==e||12288==e||65279==e)}function Xe(e,t){for(var n=-1,r=e.length,i=-1,o=[];++n<r;)e[n]===t&&(e[n]=$,o[++i]=n);return o}function Ye(e){for(var t=-1,n=e.length;++t<n&&Ge(e.charCodeAt(t)););return t}function Ze(e){for(var t=e.length;t--&&Ge(e.charCodeAt(t)););return t}function Ke(e){return _e[e]}var Qe=function e(t){var n=(t=t?Qe.defaults(Re.Object(),t,Qe.pick(Re,ve)):Re).Array,r=t.Date,i=t.Error,we=t.Function,ke=t.Math,_e=t.Number,$e=t.Object,Ee=t.RegExp,Se=t.String,Ce=t.TypeError,Te=n.prototype,Ae=$e.prototype,Pe=Se.prototype,Oe=we.prototype.toString,Ge=Ae.hasOwnProperty,Je=0,et=Ae.toString,tt=Re._,nt=Ee("^"+Oe.call(Ge).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),rt=t.ArrayBuffer,it=t.clearTimeout,ot=t.parseFloat,at=ke.pow,st=Ae.propertyIsEnumerable,lt=br(t,"Set"),ct=t.setTimeout,ut=Te.splice,dt=t.Uint8Array,pt=br(t,"WeakMap"),ft=ke.ceil,ht=br($e,"create"),gt=ke.floor,mt=br(n,"isArray"),vt=t.isFinite,bt=br($e,"keys"),yt=ke.max,xt=ke.min,wt=br(r,"now"),kt=t.parseInt,_t=ke.random,$t=_e.NEGATIVE_INFINITY,Et=_e.POSITIVE_INFINITY,St=4294967295,Ct=St-1,Tt=St>>>1,At=9007199254740991,Pt=pt&&new pt,Ot={};function Rt(e){if(We(e)&&!Ui(e)&&!(e instanceof It)){if(e instanceof Dt)return e;if(Ge.call(e,"__chain__")&&Ge.call(e,"__wrapped__"))return Dr(e)}return new Dt(e)}function jt(){}function Dt(e,t,n){this.__wrapped__=e,this.__actions__=n||[],this.__chain__=!!t}Rt.support={};function It(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Et,this.__views__=[]}function Nt(){this.__data__={}}function Mt(e){var t=e?e.length:0;for(this.data={hash:ht(null),set:new lt};t--;)this.push(e[t])}function zt(e,t){var n=e.data;return("string"==typeof t||Xi(t)?n.set.has(t):n.hash[t])?0:-1}function Lt(e,t){var r=-1,i=e.length;for(t||(t=n(i));++r<i;)t[r]=e[r];return t}function qt(e,t){for(var n=-1,r=e.length;++n<r&&!1!==t(e[n],n,e););return e}function Bt(e,t){for(var n=-1,r=e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}function Vt(e,t){for(var n=-1,r=e.length,i=-1,o=[];++n<r;){var a=e[n];t(a,n,e)&&(o[++i]=a)}return o}function Ft(e,t){for(var r=-1,i=e.length,o=n(i);++r<i;)o[r]=t(e[r],r,e);return o}function Ut(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}function Ht(e,t,n,r){var i=-1,o=e.length;for(r&&o&&(n=e[++i]);++i<o;)n=t(n,e[i],i,e);return n}function Wt(e,t){for(var n=-1,r=e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}function Gt(e,t,n,r){return e!==o&&Ge.call(r,n)?e:t}function Xt(e,t,n){for(var r=-1,i=mo(t),a=i.length;++r<a;){var s=i[r],l=e[s],c=n(l,t[s],s,e,t);(c==c?c===l:l!=l)&&(l!==o||s in e)||(e[s]=c)}return e}function Yt(e,t){return null==t?e:Kt(t,mo(t),e)}function Zt(e,t){for(var r=-1,i=null==e,a=!i&&xr(e),s=a?e.length:0,l=t.length,c=n(l);++r<l;){var u=t[r];c[r]=a?wr(u,s)?e[u]:o:i?o:e[u]}return c}function Kt(e,t,n){n||(n={});for(var r=-1,i=t.length;++r<i;){var o=t[r];n[o]=e[o]}return n}function Qt(e,t,n){var r=typeof e;return"function"==r?t===o?e:Nn(e,t,n):null==e?No:"object"==r?xn(e):t===o?Vo(e):wn(e,t)}function Jt(e,t,n,r,i,a,s){var l;if(n&&(l=i?n(e,r,i):n(e)),l!==o)return l;if(!Xi(e))return e;var c=Ui(e);if(c){if(l=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&Ge.call(e,"index")&&(n.index=e.index,n.input=e.input),n}(e),!t)return Lt(e,l)}else{var u=et.call(e),d=u==P;if(u!=R&&u!=E&&(!d||i))return xe[u]?function(e,t,n){var r=e.constructor;switch(t){case I:return Mn(e);case C:case T:return new r(+e);case N:case M:case z:case L:case q:case B:case V:case F:case U:var i=e.buffer;return new r(n?Mn(i):i,e.byteOffset,e.length);case O:case D:return new r(e);case j:var o=new r(e.source,ce.exec(e));o.lastIndex=e.lastIndex}return o}(e,u,t):i?e:{};if(l=function(e){var t=e.constructor;return"function"==typeof t&&t instanceof t||(t=$e),new t}(d?{}:e),!t)return Yt(l,e)}a||(a=[]),s||(s=[]);for(var p=a.length;p--;)if(a[p]==e)return s[p];return a.push(e),s.push(l),(c?qt:fn)(e,function(r,i){l[i]=Jt(r,t,n,i,e,a,s)}),l}Rt.templateSettings={escape:Q,evaluate:J,interpolate:ee,variable:"",imports:{_:Rt}};var en=function(){function e(){}return function(t){if(Xi(t)){e.prototype=t;var n=new e;e.prototype=o}return n||{}}}();function tn(e,t,n){if("function"!=typeof e)throw new Ce(_);return ct(function(){e.apply(o,n)},t)}function nn(e,t){var n=e?e.length:0,r=[];if(!n)return r;var i=-1,o=gr(),a=o==Ie,s=a&&t.length>=x?Un(t):null,l=t.length;s&&(o=zt,a=!1,t=s);e:for(;++i<n;){var c=e[i];if(a&&c==c){for(var u=l;u--;)if(t[u]===c)continue e;r.push(c)}else o(t,c,0)<0&&r.push(c)}return r}var rn=Vn(fn),on=Vn(hn,!0);function an(e,t){var n=!0;return rn(e,function(e,r,i){return n=!!t(e,r,i)}),n}function sn(e,t){var n=[];return rn(e,function(e,r,i){t(e,r,i)&&n.push(e)}),n}function ln(e,t,n,r){var i;return n(e,function(e,n,o){if(t(e,n,o))return i=r?n:e,!1}),i}function cn(e,t,n,r){r||(r=[]);for(var i=-1,o=e.length;++i<o;){var a=e[i];We(a)&&xr(a)&&(n||Ui(a)||Fi(a))?t?cn(a,t,n,r):Ut(r,a):n||(r[r.length]=a)}return r}var un=Fn(),dn=Fn(!0);function pn(e,t){return un(e,t,vo)}function fn(e,t){return un(e,t,mo)}function hn(e,t){return dn(e,t,mo)}function gn(e,t){for(var n=-1,r=t.length,i=-1,o=[];++n<r;){var a=t[n];Gi(e[a])&&(o[++i]=a)}return o}function mn(e,t,n){if(null!=e){n!==o&&n in Rr(e)&&(t=[n]);for(var r=0,i=t.length;null!=e&&r<i;)e=e[t[r++]];return r&&r==i?e:o}}function vn(e,t,n,r,i,a){return e===t||(null==e||null==t||!Xi(e)&&!We(t)?e!=e&&t!=t:function(e,t,n,r,i,a,s){var l=Ui(e),c=Ui(t),u=S,d=S;l||((u=et.call(e))==E?u=R:u!=R&&(l=eo(e))),c||((d=et.call(t))==E?d=R:d!=R&&(c=eo(t)));var p=u==R,f=d==R,h=u==d;if(h&&!l&&!p)return function(e,t,n){switch(n){case C:case T:return+e==+t;case A:return e.name==t.name&&e.message==t.message;case O:return e!=+e?t!=+t:e==+t;case j:case D:return e==t+""}return!1}(e,t,u);if(!i){var g=p&&Ge.call(e,"__wrapped__"),m=f&&Ge.call(t,"__wrapped__");if(g||m)return n(g?e.value():e,m?t.value():t,r,i,a,s)}if(!h)return!1;a||(a=[]),s||(s=[]);for(var v=a.length;v--;)if(a[v]==e)return s[v]==t;a.push(e),s.push(t);var b=(l?function(e,t,n,r,i,a,s){var l=-1,c=e.length,u=t.length;if(c!=u&&!(i&&u>c))return!1;for(;++l<c;){var d=e[l],p=t[l],f=r?r(i?p:d,i?d:p,l):o;if(f!==o){if(f)continue;return!1}if(i){if(!Wt(t,function(e){return d===e||n(d,e,r,i,a,s)}))return!1}else if(d!==p&&!n(d,p,r,i,a,s))return!1}return!0}:function(e,t,n,r,i,a,s){var l=mo(e),c=l.length,u=mo(t).length;if(c!=u&&!i)return!1;for(var d=c;d--;){var p=l[d];if(!(i?p in t:Ge.call(t,p)))return!1}for(var f=i;++d<c;){p=l[d];var h=e[p],g=t[p],m=r?r(i?g:h,i?h:g,p):o;if(!(m===o?n(h,g,r,i,a,s):m))return!1;f||(f="constructor"==p)}if(!f){var v=e.constructor,b=t.constructor;if(v!=b&&"constructor"in e&&"constructor"in t&&!("function"==typeof v&&v instanceof v&&"function"==typeof b&&b instanceof b))return!1}return!0})(e,t,n,r,i,a,s);return a.pop(),s.pop(),b}(e,t,vn,n,r,i,a))}function bn(e,t,n){var r=t.length,i=r,a=!n;if(null==e)return!i;for(e=Rr(e);r--;){var s=t[r];if(a&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++r<i;){var l=(s=t[r])[0],c=e[l],u=s[1];if(a&&s[2]){if(c===o&&!(l in e))return!1}else{var d=n?n(c,u,l):o;if(!(d===o?vn(u,c,n,!0):d))return!1}}return!0}function yn(e,t){var r=-1,i=xr(e)?n(e.length):[];return rn(e,function(e,n,o){i[++r]=t(e,n,o)}),i}function xn(e){var t=vr(e);if(1==t.length&&t[0][2]){var n=t[0][0],r=t[0][1];return function(e){return null!=e&&e[n]===r&&(r!==o||n in Rr(e))}}return function(e){return bn(e,t)}}function wn(e,t){var n=Ui(e),r=_r(e)&&Sr(t),i=e+"";return e=jr(e),function(a){if(null==a)return!1;var s=i;if(a=Rr(a),(n||!r)&&!(s in a)){if(null==(a=1==e.length?a:mn(a,Sn(e,0,-1))))return!1;s=Fr(e),a=Rr(a)}return a[s]===t?t!==o||s in a:vn(t,a[s],o,!0)}}function kn(e){return function(t){return null==t?o:t[e]}}function _n(e,t){for(var n=e?t.length:0;n--;){var r=t[n];if(r!=i&&wr(r)){var i=r;ut.call(e,r,1)}}return e}function $n(e,t){return e+gt(_t()*(t-e+1))}var En=Pt?function(e,t){return Pt.set(e,t),e}:No;function Sn(e,t,r){var i=-1,a=e.length;(t=null==t?0:+t||0)<0&&(t=-t>a?0:a+t),(r=r===o||r>a?a:+r||0)<0&&(r+=a),a=t>r?0:r-t>>>0,t>>>=0;for(var s=n(a);++i<a;)s[i]=e[i+t];return s}function Cn(e,t){var n;return rn(e,function(e,r,i){return!(n=t(e,r,i))}),!!n}function Tn(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}function An(e,t,n){var r=pr(),i=-1;return t=Ft(t,function(e){return r(e)}),Tn(yn(e,function(e){return{criteria:Ft(t,function(t){return t(e)}),index:++i,value:e}}),function(e,t){return function(e,t,n){for(var r=-1,i=e.criteria,o=t.criteria,a=i.length,s=n.length;++r<a;){var l=je(i[r],o[r]);if(l){if(r>=s)return l;var c=n[r];return l*("asc"===c||!0===c?1:-1)}}return e.index-t.index}(e,t,n)})}function Pn(e,t){var n=-1,r=gr(),i=e.length,o=r==Ie,a=o&&i>=x,s=a?Un():null,l=[];s?(r=zt,o=!1):(a=!1,s=t?[]:l);e:for(;++n<i;){var c=e[n],u=t?t(c,n,e):c;if(o&&c==c){for(var d=s.length;d--;)if(s[d]===u)continue e;t&&s.push(u),l.push(c)}else r(s,u,0)<0&&((t||a)&&s.push(u),l.push(c))}return l}function On(e,t){for(var r=-1,i=t.length,o=n(i);++r<i;)o[r]=e[t[r]];return o}function Rn(e,t,n,r){for(var i=e.length,o=r?i:-1;(r?o--:++o<i)&&t(e[o],o,e););return n?Sn(e,r?0:o,r?o+1:i):Sn(e,r?o+1:0,r?i:o)}function jn(e,t){var n=e;n instanceof It&&(n=n.value());for(var r=-1,i=t.length;++r<i;){var o=t[r];n=o.func.apply(o.thisArg,Ut([n],o.args))}return n}function Dn(e,t,n){var r=0,i=e?e.length:r;if("number"==typeof t&&t==t&&i<=Tt){for(;r<i;){var o=r+i>>>1,a=e[o];(n?a<=t:a<t)&&null!==a?r=o+1:i=o}return i}return In(e,t,No,n)}function In(e,t,n,r){t=n(t);for(var i=0,a=e?e.length:0,s=t!=t,l=null===t,c=t===o;i<a;){var u=gt((i+a)/2),d=n(e[u]),p=d!==o,f=d==d;if(s)var h=f||r;else h=l?f&&p&&(r||null!=d):c?f&&(r||p):null!=d&&(r?d<=t:d<t);h?i=u+1:a=u}return xt(a,Ct)}function Nn(e,t,n){if("function"!=typeof e)return No;if(t===o)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 3:return function(n,r,i){return e.call(t,n,r,i)};case 4:return function(n,r,i,o){return e.call(t,n,r,i,o)};case 5:return function(n,r,i,o,a){return e.call(t,n,r,i,o,a)}}return function(){return e.apply(t,arguments)}}function Mn(e){var t=new rt(e.byteLength);return new dt(t).set(new dt(e)),t}function zn(e,t,r){for(var i=r.length,o=-1,a=yt(e.length-i,0),s=-1,l=t.length,c=n(l+a);++s<l;)c[s]=t[s];for(;++o<i;)c[r[o]]=e[o];for(;a--;)c[s++]=e[o++];return c}function Ln(e,t,r){for(var i=-1,o=r.length,a=-1,s=yt(e.length-o,0),l=-1,c=t.length,u=n(s+c);++a<s;)u[a]=e[a];for(var d=a;++l<c;)u[d+l]=t[l];for(;++i<o;)u[d+r[i]]=e[a++];return u}function qn(e,t){return function(n,r,i){var o=t?t():{};if(r=pr(r,i,3),Ui(n))for(var a=-1,s=n.length;++a<s;){var l=n[a];e(o,l,r(l,a,n),n)}else rn(n,function(t,n,i){e(o,t,r(t,n,i),i)});return o}}function Bn(e){return Bi(function(t,n){var r=-1,i=null==t?0:n.length,a=i>2?n[i-2]:o,s=i>2?n[2]:o,l=i>1?n[i-1]:o;for("function"==typeof a?(a=Nn(a,l,5),i-=2):i-=(a="function"==typeof l?l:o)?1:0,s&&kr(n[0],n[1],s)&&(a=i<3?o:a,i=1);++r<i;){var c=n[r];c&&e(t,c,a)}return t})}function Vn(e,t){return function(n,r){var i=n?mr(n):0;if(!Er(i))return e(n,r);for(var o=t?i:-1,a=Rr(n);(t?o--:++o<i)&&!1!==r(a[o],o,a););return n}}function Fn(e){return function(t,n,r){for(var i=Rr(t),o=r(t),a=o.length,s=e?a:-1;e?s--:++s<a;){var l=o[s];if(!1===n(i[l],l,i))break}return t}}function Un(e){return ht&&lt?new Mt(e):null}function Hn(e){return function(t){for(var n=-1,r=jo(Eo(t)),i=r.length,o="";++n<i;)o=e(o,r[n],n);return o}}function Wn(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=en(e.prototype),r=e.apply(n,t);return Xi(r)?r:n}}function Gn(e){return function t(n,r,i){i&&kr(n,r,i)&&(r=o);var a=dr(n,e,o,o,o,o,o,r);return a.placeholder=t.placeholder,a}}function Xn(e,t){return Bi(function(n){var r=n[0];return null==r?r:(n.push(t),e.apply(o,n))})}function Yn(e,t){return function(n,r,i){if(i&&kr(n,r,i)&&(r=o),1==(r=pr(r,i,3)).length){var a=function(e,t,n,r){for(var i=-1,o=e.length,a=r,s=a;++i<o;){var l=e[i],c=+t(l);n(c,a)&&(a=c,s=l)}return s}(n=Ui(n)?n:Or(n),r,e,t);if(!n.length||a!==t)return a}return function(e,t,n,r){var i=r,o=i;return rn(e,function(e,a,s){var l=+t(e,a,s);(n(l,i)||l===r&&l===o)&&(i=l,o=e)}),o}(n,r,e,t)}}function Zn(e,t){return function(n,r,i){if(r=pr(r,i,3),Ui(n)){var a=De(n,r,t);return a>-1?n[a]:o}return ln(n,r,e)}}function Kn(e){return function(t,n,r){return t&&t.length?De(t,n=pr(n,r,3),e):-1}}function Qn(e){return function(t,n,r){return ln(t,n=pr(n,r,3),e,!0)}}function Jn(e){return function(){for(var t,r=arguments.length,i=e?r:-1,a=0,s=n(r);e?i--:++i<r;){var l=s[a++]=arguments[i];if("function"!=typeof l)throw new Ce(_);!t&&Dt.prototype.thru&&"wrapper"==hr(l)&&(t=new Dt([],!0))}for(i=t?-1:r;++i<r;){var c=hr(l=s[i]),d="wrapper"==c?fr(l):o;t=d&&$r(d[0])&&d[1]==(h|u|p|g)&&!d[4].length&&1==d[9]?t[hr(d[0])].apply(t,d[3]):1==l.length&&$r(l)?t[c]():t.thru(l)}return function(){var e=arguments,n=e[0];if(t&&1==e.length&&Ui(n)&&n.length>=x)return t.plant(n).value();for(var i=0,o=r?s[i].apply(this,e):n;++i<r;)o=s[i].call(this,o);return o}}}function er(e,t){return function(n,r,i){return"function"==typeof r&&i===o&&Ui(n)?e(n,r):t(n,Nn(r,i,3))}}function tr(e){return function(t,n,r){return"function"==typeof n&&r===o||(n=Nn(n,r,3)),e(t,n,vo)}}function nr(e){return function(t,n,r){return"function"==typeof n&&r===o||(n=Nn(n,r,3)),e(t,n)}}function rr(e){return function(t,n,r){var i={};return n=pr(n,r,3),fn(t,function(t,r,o){var a=n(t,r,o);r=e?a:r,t=e?t:a,i[r]=t}),i}}function ir(e){return function(t,n,r){return t=Me(t),(e?t:"")+lr(t,n,r)+(e?"":t)}}function or(e){var t=Bi(function(n,r){var i=Xe(r,t.placeholder);return dr(n,e,o,r,i)});return t}function ar(e,t){return function(n,r,i,a){var s=arguments.length<3;return"function"==typeof r&&a===o&&Ui(n)?e(n,r,i,s):function(e,t,n,r,i){return i(e,function(e,i,o){n=r?(r=!1,e):t(n,e,i,o)}),n}(n,pr(r,a,4),i,s,t)}}function sr(e,t,r,i,a,g,m,v,b,y){var x=t&h,w=t&s,k=t&l,_=t&u,$=t&c,E=t&d,S=k?o:Wn(e);return function c(){for(var u=arguments.length,d=u,h=n(u);d--;)h[d]=arguments[d];if(i&&(h=zn(h,i,a)),g&&(h=Ln(h,g,m)),_||E){var C=c.placeholder,T=Xe(h,C);if((u-=T.length)<y){var A=v?Lt(v):o,P=yt(y-u,0);t|=_?p:f,t&=~(_?f:p),$||(t&=~(s|l));var O=[e,t,r,_?h:o,_?T:o,_?o:h,_?o:T,A,b,P],R=sr.apply(o,O);return $r(e)&&Ar(R,O),R.placeholder=C,R}}var j=w?r:this,D=k?j[e]:e;return v&&(h=function(e,t){for(var n=e.length,r=xt(t.length,n),i=Lt(e);r--;){var a=t[r];e[r]=wr(a,n)?i[a]:o}return e}(h,v)),x&&b<h.length&&(h.length=b),this&&this!==Re&&this instanceof c&&(D=S||Wn(e)),D.apply(j,h)}}function lr(e,t,n){var r=e.length;if(r>=(t=+t)||!vt(t))return"";var i=t-r;return Ao(n=null==n?" ":n+"",ft(i/n.length)).slice(0,i)}function cr(e){var t=ke[e];return function(e,n){return(n=n===o?0:+n||0)?(n=at(10,n),t(e*n)/n):t(e)}}function ur(e){return function(t,n,r,i){var o=pr(r);return null==r&&o===Qt?Dn(t,n,e):In(t,n,o(r,i,1),e)}}function dr(e,t,r,i,a,d,m,v){var b=t&l;if(!b&&"function"!=typeof e)throw new Ce(_);var y=i?i.length:0;if(y||(t&=~(p|f),i=a=o),y-=a?a.length:0,t&f){var x=i,w=a;i=a=o}var k=b?o:fr(e),E=[e,t,r,i,a,x,w,d,m,v];if(k&&(function(e,t){var n=e[1],r=t[1],i=n|r,o=i<h,a=r==h&&n==u||r==h&&n==g&&e[7].length<=t[8]||r==(h|g)&&n==u;if(!o&&!a)return e;r&s&&(e[2]=t[2],i|=n&s?0:c);var l=t[3];if(l){var d=e[3];e[3]=d?zn(d,l,t[4]):Lt(l),e[4]=d?Xe(e[3],$):Lt(t[4])}(l=t[5])&&(d=e[5],e[5]=d?Ln(d,l,t[6]):Lt(l),e[6]=d?Xe(e[5],$):Lt(t[6])),(l=t[7])&&(e[7]=Lt(l)),r&h&&(e[8]=null==e[8]?t[8]:xt(e[8],t[8])),null==e[9]&&(e[9]=t[9]),e[0]=t[0],e[1]=i}(E,k),t=E[1],v=E[9]),E[9]=null==v?b?0:e.length:yt(v-y,0)||0,t==s)var S=function(e,t){var n=Wn(e);return function r(){return(this&&this!==Re&&this instanceof r?n:e).apply(t,arguments)}}(E[0],E[2]);else S=t!=p&&t!=(s|p)||E[4].length?sr.apply(o,E):function(e,t,r,i){var o=t&s,a=Wn(e);return function t(){for(var s=-1,l=arguments.length,c=-1,u=i.length,d=n(u+l);++c<u;)d[c]=i[c];for(;l--;)d[c++]=arguments[++s];return(this&&this!==Re&&this instanceof t?a:e).apply(o?r:this,d)}}.apply(o,E);return(k?En:Ar)(S,E)}function pr(e,t,n){var r=Rt.callback||Io;return r=r===Io?Qt:r,n?r(e,t,n):r}var fr=Pt?function(e){return Pt.get(e)}:Bo;function hr(e){for(var t=e.name,n=Ot[t],r=n?n.length:0;r--;){var i=n[r],o=i.func;if(null==o||o==e)return i.name}return t}function gr(e,t,n){var r=Rt.indexOf||Br;return r=r===Br?Ie:r,e?r(e,t,n):r}var mr=kn("length");function vr(e){for(var t=wo(e),n=t.length;n--;)t[n][2]=Sr(t[n][1]);return t}function br(e,t){var n=null==e?o:e[t];return Yi(n)?n:o}function yr(e,t,n){null==e||_r(t,e)||(e=1==(t=jr(t)).length?e:mn(e,Sn(t,0,-1)),t=Fr(t));var r=null==e?e:e[t];return null==r?o:r.apply(e,n)}function xr(e){return null!=e&&Er(mr(e))}function wr(e,t){return e="number"==typeof e||pe.test(e)?+e:-1,t=null==t?At:t,e>-1&&e%1==0&&e<t}function kr(e,t,n){if(!Xi(n))return!1;var r=typeof t;if("number"==r?xr(n)&&wr(t,n.length):"string"==r&&t in n){var i=n[t];return e==e?e===i:i!=i}return!1}function _r(e,t){var n=typeof e;return!!("string"==n&&ne.test(e)||"number"==n)||!Ui(e)&&(!te.test(e)||null!=t&&e in Rr(t))}function $r(e){var t=hr(e);if(!(t in It.prototype))return!1;var n=Rt[t];if(e===n)return!0;var r=fr(n);return!!r&&e===r[0]}function Er(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=At}function Sr(e){return e==e&&!Xi(e)}function Cr(e,t){e=Rr(e);for(var n=-1,r=t.length,i={};++n<r;){var o=t[n];o in e&&(i[o]=e[o])}return i}function Tr(e,t){var n={};return pn(e,function(e,r,i){t(e,r,i)&&(n[r]=e)}),n}var Ar=function(){var e=0,t=0;return function(n,r){var i=$i(),o=y-(i-t);if(t=i,o>0){if(++e>=b)return n}else e=0;return En(n,r)}}();function Pr(e){for(var t=vo(e),n=t.length,r=n&&e.length,i=!!r&&Er(r)&&(Ui(e)||Fi(e)),o=-1,a=[];++o<n;){var s=t[o];(i&&wr(s,r)||Ge.call(e,s))&&a.push(s)}return a}function Or(e){return null==e?[]:xr(e)?Xi(e)?e:$e(e):_o(e)}function Rr(e){return Xi(e)?e:$e(e)}function jr(e){if(Ui(e))return e;var t=[];return Me(e).replace(re,function(e,n,r,i){t.push(r?i.replace(se,"$1"):n||e)}),t}function Dr(e){return e instanceof It?e.clone():new Dt(e.__wrapped__,e.__chain__,Lt(e.__actions__))}var Ir=Bi(function(e,t){return We(e)&&xr(e)?nn(e,cn(t,!1,!0)):[]});function Nr(e,t,n){return e&&e.length?((n?kr(e,t,n):null==t)&&(t=1),Sn(e,t<0?0:t)):[]}function Mr(e,t,n){var r=e?e.length:0;return r?((n?kr(e,t,n):null==t)&&(t=1),Sn(e,0,(t=r-(+t||0))<0?0:t)):[]}var zr=Kn(),Lr=Kn(!0);function qr(e){return e?e[0]:o}function Br(e,t,n){var r=e?e.length:0;if(!r)return-1;if("number"==typeof n)n=n<0?yt(r+n,0):n;else if(n){var i=Dn(e,t);return i<r&&(t==t?t===e[i]:e[i]!=e[i])?i:-1}return Ie(e,t,n||0)}var Vr=Bi(function(e){for(var t=e.length,r=t,i=n(d),o=gr(),a=o==Ie,s=[];r--;){var l=e[r]=xr(l=e[r])?l:[];i[r]=a&&l.length>=120?Un(r&&l):null}var c=e[0],u=-1,d=c?c.length:0,p=i[0];e:for(;++u<d;)if(l=c[u],(p?zt(p,l):o(s,l,0))<0){for(r=t;--r;){var f=i[r];if((f?zt(f,l):o(e[r],l,0))<0)continue e}p&&p.push(l),s.push(l)}return s});function Fr(e){var t=e?e.length:0;return t?e[t-1]:o}var Ur=Bi(function(e,t){var n=Zt(e,t=cn(t));return _n(e,t.sort(je)),n});function Hr(e){return Nr(e,1)}var Wr=ur(),Gr=ur(!0);var Xr=Bi(function(e){return Pn(cn(e,!1,!0))});function Yr(e,t,n,r){if(!e||!e.length)return[];null!=t&&"boolean"!=typeof t&&(n=kr(e,t,r=n)?o:t,t=!1);var i=pr();return null==n&&i===Qt||(n=i(n,r,3)),t&&gr()==Ie?function(e,t){for(var n,r=-1,i=e.length,o=-1,a=[];++r<i;){var s=e[r],l=t?t(s,r,e):s;r&&n===l||(n=l,a[++o]=s)}return a}(e,n):Pn(e,n)}function Zr(e){if(!e||!e.length)return[];var t=-1,r=0;e=Vt(e,function(e){if(xr(e))return r=yt(e.length,r),!0});for(var i=n(r);++t<r;)i[t]=Ft(e,kn(t));return i}function Kr(e,t,n){if(!e||!e.length)return[];var r=Zr(e);return null==t?r:(t=Nn(t,n,4),Ft(r,function(e){return Ht(e,t,o,!0)}))}var Qr=Bi(function(e,t){return xr(e)?nn(e,t):[]});var Jr=Bi(Zr);function ei(e,t){var n=-1,r=e?e.length:0,i={};for(!r||t||Ui(e[0])||(t=[]);++n<r;){var o=e[n];t?i[o]=t[n]:o&&(i[o[0]]=o[1])}return i}var ti=Bi(function(e){var t=e.length,n=t>2?e[t-2]:o,r=t>1?e[t-1]:o;return t>2&&"function"==typeof n?t-=2:(n=t>1&&"function"==typeof r?(--t,r):o,r=o),e.length=t,Kr(e,n,r)});function ni(e){var t=Rt(e);return t.__chain__=!0,t}function ri(e,t,n){return t.call(n,e)}var ii=Bi(function(e){return e=cn(e),this.thru(function(t){return function(e,t){for(var r=-1,i=e.length,o=-1,a=t.length,s=n(i+a);++r<i;)s[r]=e[r];for(;++o<a;)s[r++]=t[o];return s}(Ui(t)?t:[Rr(t)],e)})});var oi=Bi(function(e,t){return Zt(e,cn(t))}),ai=qn(function(e,t,n){Ge.call(e,n)?++e[n]:e[n]=1});function si(e,t,n){var r=Ui(e)?Bt:an;return n&&kr(e,t,n)&&(t=o),"function"==typeof t&&n===o||(t=pr(t,n,3)),r(e,t)}function li(e,t,n){return(Ui(e)?Vt:sn)(e,t=pr(t,n,3))}var ci=Zn(rn),ui=Zn(on,!0);var di=er(qt,rn),pi=er(function(e,t){for(var n=e.length;n--&&!1!==t(e[n],n,e););return e},on),fi=qn(function(e,t,n){Ge.call(e,n)?e[n].push(t):e[n]=[t]});function hi(e,t,n,r){var i=e?mr(e):0;return Er(i)||(i=(e=_o(e)).length),n="number"!=typeof n||r&&kr(t,n,r)?0:n<0?yt(i+n,0):n||0,"string"==typeof e||!Ui(e)&&Ji(e)?n<=i&&e.indexOf(t,n)>-1:!!i&&gr(e,t,n)>-1}var gi=qn(function(e,t,n){e[n]=t}),mi=Bi(function(e,t,r){var i=-1,a="function"==typeof t,s=_r(t),l=xr(e)?n(e.length):[];return rn(e,function(e){var n=a?t:s&&null!=e?e[t]:o;l[++i]=n?n.apply(e,r):yr(e,t,r)}),l});function vi(e,t,n){return(Ui(e)?Ft:yn)(e,t=pr(t,n,3))}var bi=qn(function(e,t,n){e[n?0:1].push(t)},function(){return[[],[]]});var yi=ar(Ht,rn),xi=ar(function(e,t,n,r){var i=e.length;for(r&&i&&(n=e[--i]);i--;)n=t(n,e[i],i,e);return n},on);function wi(e,t,n){if(n?kr(e,t,n):null==t)return(r=(e=Or(e)).length)>0?e[$n(0,r-1)]:o;var r,i=-1,a=no(e),s=(r=a.length)-1;for(t=xt(t<0?0:+t||0,r);++i<t;){var l=$n(i,s),c=a[l];a[l]=a[i],a[i]=c}return a.length=t,a}function ki(e,t,n){var r=Ui(e)?Wt:Cn;return n&&kr(e,t,n)&&(t=o),"function"==typeof t&&n===o||(t=pr(t,n,3)),r(e,t)}var _i=Bi(function(e,t){if(null==e)return[];var n=t[2];return n&&kr(t[0],t[1],n)&&(t.length=1),An(e,cn(t),[])});var $i=wt||function(){return(new r).getTime()};function Ei(e,t){var n;if("function"!=typeof t){if("function"!=typeof e)throw new Ce(_);var r=e;e=t,t=r}return function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=o),n}}var Si=Bi(function(e,t,n){var r=s;if(n.length){var i=Xe(n,Si.placeholder);r|=p}return dr(e,r,t,n,i)}),Ci=Bi(function(e,t){for(var n=-1,r=(t=t.length?cn(t):go(e)).length;++n<r;){var i=t[n];e[i]=dr(e[i],s,e)}return e}),Ti=Bi(function(e,t,n){var r=s|l;if(n.length){var i=Xe(n,Ti.placeholder);r|=p}return dr(t,r,e,n,i)}),Ai=Gn(u),Pi=Gn(d);function Oi(e,t,n){var r,i,a,s,l,c,u,d=0,p=!1,f=!0;if("function"!=typeof e)throw new Ce(_);if(t=t<0?0:+t||0,!0===n){var h=!0;f=!1}else Xi(n)&&(h=!!n.leading,p="maxWait"in n&&yt(+n.maxWait||0,t),f="trailing"in n?!!n.trailing:f);function g(t,n){n&&it(n),i=c=u=o,t&&(d=$i(),a=e.apply(l,r),c||i||(r=l=o))}function m(){var e=t-($i()-s);e<=0||e>t?g(u,i):c=ct(m,e)}function v(){g(f,c)}function b(){if(r=arguments,s=$i(),l=this,u=f&&(c||!h),!1===p)var n=h&&!c;else{i||h||(d=s);var g=p-(s-d),b=g<=0||g>p;b?(i&&(i=it(i)),d=s,a=e.apply(l,r)):i||(i=ct(v,g))}return b&&c?c=it(c):c||t===p||(c=ct(m,t)),n&&(b=!0,a=e.apply(l,r)),!b||c||i||(r=l=o),a}return b.cancel=function(){c&&it(c),i&&it(i),d=0,i=c=u=o},b}var Ri=Bi(function(e,t){return tn(e,1,t)}),ji=Bi(function(e,t,n){return tn(e,t,n)}),Di=Jn(),Ii=Jn(!0);function Ni(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw new Ce(_);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=e.apply(this,r);return n.cache=o.set(i,a),a};return n.cache=new Ni.Cache,n}var Mi=Bi(function(e,t){if(t=cn(t),"function"!=typeof e||!Bt(t,Ne))throw new Ce(_);var n=t.length;return Bi(function(r){for(var i=xt(r.length,n);i--;)r[i]=t[i](r[i]);return e.apply(this,r)})});var zi=or(p),Li=or(f),qi=Bi(function(e,t){return dr(e,g,o,o,o,cn(t))});function Bi(e,t){if("function"!=typeof e)throw new Ce(_);return t=yt(t===o?e.length-1:+t||0,0),function(){for(var r=arguments,i=-1,o=yt(r.length-t,0),a=n(o);++i<o;)a[i]=r[t+i];switch(t){case 0:return e.call(this,a);case 1:return e.call(this,r[0],a);case 2:return e.call(this,r[0],r[1],a)}var s=n(t+1);for(i=-1;++i<t;)s[i]=r[i];return s[t]=a,e.apply(this,s)}}function Vi(e,t){return e>t}function Fi(e){return We(e)&&xr(e)&&Ge.call(e,"callee")&&!st.call(e,"callee")}var Ui=mt||function(e){return We(e)&&Er(e.length)&&et.call(e)==S};function Hi(e,t,n,r){var i=(n="function"==typeof n?Nn(n,r,3):o)?n(e,t):o;return i===o?vn(e,t,n):!!i}function Wi(e){return We(e)&&"string"==typeof e.message&&et.call(e)==A}function Gi(e){return Xi(e)&&et.call(e)==P}function Xi(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function Yi(e){return null!=e&&(Gi(e)?nt.test(Oe.call(e)):We(e)&&de.test(e))}function Zi(e){return"number"==typeof e||We(e)&&et.call(e)==O}function Ki(e){var t,n;return!(!We(e)||et.call(e)!=R||Fi(e)||!(Ge.call(e,"constructor")||"function"!=typeof(t=e.constructor)||t instanceof t))&&(pn(e,function(e,t){n=t}),n===o||Ge.call(e,n))}function Qi(e){return Xi(e)&&et.call(e)==j}function Ji(e){return"string"==typeof e||We(e)&&et.call(e)==D}function eo(e){return We(e)&&Er(e.length)&&!!ye[et.call(e)]}function to(e,t){return e<t}function no(e){var t=e?mr(e):0;return Er(t)?t?Lt(e):[]:_o(e)}function ro(e){return Kt(e,vo(e))}var io=Bn(function e(t,n,r,i,a){if(!Xi(t))return t;var s=xr(n)&&(Ui(n)||eo(n)),l=s?o:mo(n);return qt(l||n,function(c,u){if(l&&(c=n[u=c]),We(c))i||(i=[]),a||(a=[]),function(e,t,n,r,i,a,s){for(var l=a.length,c=t[n];l--;)if(a[l]==c)return void(e[n]=s[l]);var u=e[n],d=i?i(u,c,n,e,t):o,p=d===o;p&&(d=c,xr(c)&&(Ui(c)||eo(c))?d=Ui(u)?u:xr(u)?Lt(u):[]:Ki(c)||Fi(c)?d=Fi(u)?ro(u):Ki(u)?u:{}:p=!1),a.push(c),s.push(d),p?e[n]=r(d,c,i,a,s):(d==d?d!==u:u==u)&&(e[n]=d)}(t,n,u,e,r,i,a);else{var d=t[u],p=r?r(d,c,u,t,n):o,f=p===o;f&&(p=c),p===o&&(!s||u in t)||!f&&(p==p?p===d:d!=d)||(t[u]=p)}}),t}),oo=Bn(function(e,t,n){return n?Xt(e,t,n):Yt(e,t)});var ao=Xn(oo,function(e,t){return e===o?t:e}),so=Xn(io,function e(t,n){return t===o?n:io(t,n,e)}),lo=Qn(fn),co=Qn(hn),uo=tr(un),po=tr(dn),fo=nr(fn),ho=nr(hn);function go(e){return gn(e,vo(e))}var mo=bt?function(e){var t=null==e?o:e.constructor;return"function"==typeof t&&t.prototype===e||"function"!=typeof e&&xr(e)?Pr(e):Xi(e)?bt(e):[]}:Pr;function vo(e){if(null==e)return[];Xi(e)||(e=$e(e));var t=e.length;t=t&&Er(t)&&(Ui(e)||Fi(e))&&t||0;for(var r=e.constructor,i=-1,o="function"==typeof r&&r.prototype===e,a=n(t),s=t>0;++i<t;)a[i]=i+"";for(var l in e)s&&wr(l,t)||"constructor"==l&&(o||!Ge.call(e,l))||a.push(l);return a}var bo=rr(!0),yo=rr(),xo=Bi(function(e,t){if(null==e)return{};if("function"!=typeof t[0])return t=Ft(cn(t),Se),Cr(e,nn(vo(e),t));var n=Nn(t[0],t[1],3);return Tr(e,function(e,t,r){return!n(e,t,r)})});function wo(e){e=Rr(e);for(var t=-1,r=mo(e),i=r.length,o=n(i);++t<i;){var a=r[t];o[t]=[a,e[a]]}return o}var ko=Bi(function(e,t){return null==e?{}:"function"==typeof t[0]?Tr(e,Nn(t[0],t[1],3)):Cr(e,cn(t))});function _o(e){return On(e,mo(e))}var $o=Hn(function(e,t,n){return t=t.toLowerCase(),e+(n?t.charAt(0).toUpperCase()+t.slice(1):t)});function Eo(e){return(e=Me(e))&&e.replace(fe,Be).replace(ae,"")}var So=Hn(function(e,t,n){return e+(n?"-":"")+t.toLowerCase()});var Co=ir(),To=ir(!0);function Ao(e,t){var n="";if(e=Me(e),(t=+t)<1||!e||!vt(t))return n;do{t%2&&(n+=e),t=gt(t/2),e+=e}while(t);return n}var Po=Hn(function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}),Oo=Hn(function(e,t,n){return e+(n?" ":"")+(t.charAt(0).toUpperCase()+t.slice(1))});function Ro(e,t,n){var r=e;return(e=Me(e))?(n?kr(r,t,n):null==t)?e.slice(Ye(e),Ze(e)+1):(t+="",e.slice(ze(e,t),Le(e,t)+1)):e}function jo(e,t,n){return n&&kr(e,t,n)&&(t=o),(e=Me(e)).match(t||me)||[]}var Do=Bi(function(e,t){try{return e.apply(o,t)}catch(e){return Wi(e)?e:new i(e)}});function Io(e,t,n){return n&&kr(e,t,n)&&(t=o),We(e)?Mo(e):Qt(e,t)}function No(e){return e}function Mo(e){return xn(Jt(e,!0))}var zo=Bi(function(e,t){return function(n){return yr(n,e,t)}}),Lo=Bi(function(e,t){return function(n){return yr(e,n,t)}});function qo(e,t,n){if(null==n){var r=Xi(t),i=r?mo(t):o,a=i&&i.length?gn(t,i):o;(a?a.length:r)||(a=!1,n=t,t=e,e=this)}a||(a=gn(t,mo(t)));var s=!0,l=-1,c=Gi(e),u=a.length;!1===n?s=!1:Xi(n)&&"chain"in n&&(s=n.chain);for(;++l<u;){var d=a[l],p=t[d];e[d]=p,c&&(e.prototype[d]=function(t){return function(){var n=this.__chain__;if(s||n){var r=e(this.__wrapped__);return(r.__actions__=Lt(this.__actions__)).push({func:t,args:arguments,thisArg:e}),r.__chain__=n,r}return t.apply(e,Ut([this.value()],arguments))}}(p))}return e}function Bo(){}function Vo(e){return _r(e)?kn(e):function(e){var t=e+"";return e=jr(e),function(n){return mn(n,e,t)}}(e)}var Fo=cr("ceil"),Uo=cr("floor"),Ho=Yn(Vi,$t),Wo=Yn(to,Et),Go=cr("round");return Rt.prototype=jt.prototype,Dt.prototype=en(jt.prototype),Dt.prototype.constructor=Dt,It.prototype=en(jt.prototype),It.prototype.constructor=It,Nt.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},Nt.prototype.get=function(e){return"__proto__"==e?o:this.__data__[e]},Nt.prototype.has=function(e){return"__proto__"!=e&&Ge.call(this.__data__,e)},Nt.prototype.set=function(e,t){return"__proto__"!=e&&(this.__data__[e]=t),this},Mt.prototype.push=function(e){var t=this.data;"string"==typeof e||Xi(e)?t.set.add(e):t.hash[e]=!0},Ni.Cache=Nt,Rt.after=function(e,t){if("function"!=typeof t){if("function"!=typeof e)throw new Ce(_);var n=e;e=t,t=n}return e=vt(e=+e)?e:0,function(){if(--e<1)return t.apply(this,arguments)}},Rt.ary=function(e,t,n){return n&&kr(e,t,n)&&(t=o),t=e&&null==t?e.length:yt(+t||0,0),dr(e,h,o,o,o,o,t)},Rt.assign=oo,Rt.at=oi,Rt.before=Ei,Rt.bind=Si,Rt.bindAll=Ci,Rt.bindKey=Ti,Rt.callback=Io,Rt.chain=ni,Rt.chunk=function(e,t,r){t=(r?kr(e,t,r):null==t)?1:yt(gt(t)||1,1);for(var i=0,o=e?e.length:0,a=-1,s=n(ft(o/t));i<o;)s[++a]=Sn(e,i,i+=t);return s},Rt.compact=function(e){for(var t=-1,n=e?e.length:0,r=-1,i=[];++t<n;){var o=e[t];o&&(i[++r]=o)}return i},Rt.constant=function(e){return function(){return e}},Rt.countBy=ai,Rt.create=function(e,t,n){var r=en(e);return n&&kr(e,t,n)&&(t=o),t?Yt(r,t):r},Rt.curry=Ai,Rt.curryRight=Pi,Rt.debounce=Oi,Rt.defaults=ao,Rt.defaultsDeep=so,Rt.defer=Ri,Rt.delay=ji,Rt.difference=Ir,Rt.drop=Nr,Rt.dropRight=Mr,Rt.dropRightWhile=function(e,t,n){return e&&e.length?Rn(e,pr(t,n,3),!0,!0):[]},Rt.dropWhile=function(e,t,n){return e&&e.length?Rn(e,pr(t,n,3),!0):[]},Rt.fill=function(e,t,n,r){var i=e?e.length:0;return i?(n&&"number"!=typeof n&&kr(e,t,n)&&(n=0,r=i),function(e,t,n,r){var i=e.length;for((n=null==n?0:+n||0)<0&&(n=-n>i?0:i+n),(r=r===o||r>i?i:+r||0)<0&&(r+=i),i=n>r?0:r>>>0,n>>>=0;n<i;)e[n++]=t;return e}(e,t,n,r)):[]},Rt.filter=li,Rt.flatten=function(e,t,n){var r=e?e.length:0;return n&&kr(e,t,n)&&(t=!1),r?cn(e,t):[]},Rt.flattenDeep=function(e){return e&&e.length?cn(e,!0):[]},Rt.flow=Di,Rt.flowRight=Ii,Rt.forEach=di,Rt.forEachRight=pi,Rt.forIn=uo,Rt.forInRight=po,Rt.forOwn=fo,Rt.forOwnRight=ho,Rt.functions=go,Rt.groupBy=fi,Rt.indexBy=gi,Rt.initial=function(e){return Mr(e,1)},Rt.intersection=Vr,Rt.invert=function(e,t,n){n&&kr(e,t,n)&&(t=o);for(var r=-1,i=mo(e),a=i.length,s={};++r<a;){var l=i[r],c=e[l];t?Ge.call(s,c)?s[c].push(l):s[c]=[l]:s[c]=l}return s},Rt.invoke=mi,Rt.keys=mo,Rt.keysIn=vo,Rt.map=vi,Rt.mapKeys=bo,Rt.mapValues=yo,Rt.matches=Mo,Rt.matchesProperty=function(e,t){return wn(e,Jt(t,!0))},Rt.memoize=Ni,Rt.merge=io,Rt.method=zo,Rt.methodOf=Lo,Rt.mixin=qo,Rt.modArgs=Mi,Rt.negate=function(e){if("function"!=typeof e)throw new Ce(_);return function(){return!e.apply(this,arguments)}},Rt.omit=xo,Rt.once=function(e){return Ei(2,e)},Rt.pairs=wo,Rt.partial=zi,Rt.partialRight=Li,Rt.partition=bi,Rt.pick=ko,Rt.pluck=function(e,t){return vi(e,Vo(t))},Rt.property=Vo,Rt.propertyOf=function(e){return function(t){return mn(e,jr(t),t+"")}},Rt.pull=function(){var e=arguments,t=e[0];if(!t||!t.length)return t;for(var n=0,r=gr(),i=e.length;++n<i;)for(var o=0,a=e[n];(o=r(t,a,o))>-1;)ut.call(t,o,1);return t},Rt.pullAt=Ur,Rt.range=function(e,t,r){r&&kr(e,t,r)&&(t=r=o),e=+e||0,r=null==r?1:+r||0,null==t?(t=e,e=0):t=+t||0;for(var i=-1,a=yt(ft((t-e)/(r||1)),0),s=n(a);++i<a;)s[i]=e,e+=r;return s},Rt.rearg=qi,Rt.reject=function(e,t,n){var r=Ui(e)?Vt:sn;return t=pr(t,n,3),r(e,function(e,n,r){return!t(e,n,r)})},Rt.remove=function(e,t,n){var r=[];if(!e||!e.length)return r;var i=-1,o=[],a=e.length;for(t=pr(t,n,3);++i<a;){var s=e[i];t(s,i,e)&&(r.push(s),o.push(i))}return _n(e,o),r},Rt.rest=Hr,Rt.restParam=Bi,Rt.set=function(e,t,n){if(null==e)return e;for(var r=t+"",i=-1,o=(t=null!=e[r]||_r(t,e)?[r]:jr(t)).length,a=o-1,s=e;null!=s&&++i<o;){var l=t[i];Xi(s)&&(i==a?s[l]=n:null==s[l]&&(s[l]=wr(t[i+1])?[]:{})),s=s[l]}return e},Rt.shuffle=function(e){return wi(e,Et)},Rt.slice=function(e,t,n){var r=e?e.length:0;return r?(n&&"number"!=typeof n&&kr(e,t,n)&&(t=0,n=r),Sn(e,t,n)):[]},Rt.sortBy=function(e,t,n){if(null==e)return[];n&&kr(e,t,n)&&(t=o);var r=-1;return t=pr(t,n,3),Tn(yn(e,function(e,n,i){return{criteria:t(e,n,i),index:++r,value:e}}),qe)},Rt.sortByAll=_i,Rt.sortByOrder=function(e,t,n,r){return null==e?[]:(r&&kr(t,n,r)&&(n=o),Ui(t)||(t=null==t?[]:[t]),Ui(n)||(n=null==n?[]:[n]),An(e,t,n))},Rt.spread=function(e){if("function"!=typeof e)throw new Ce(_);return function(t){return e.apply(this,t)}},Rt.take=function(e,t,n){return e&&e.length?((n?kr(e,t,n):null==t)&&(t=1),Sn(e,0,t<0?0:t)):[]},Rt.takeRight=function(e,t,n){var r=e?e.length:0;return r?((n?kr(e,t,n):null==t)&&(t=1),Sn(e,(t=r-(+t||0))<0?0:t)):[]},Rt.takeRightWhile=function(e,t,n){return e&&e.length?Rn(e,pr(t,n,3),!1,!0):[]},Rt.takeWhile=function(e,t,n){return e&&e.length?Rn(e,pr(t,n,3)):[]},Rt.tap=function(e,t,n){return t.call(n,e),e},Rt.throttle=function(e,t,n){var r=!0,i=!0;if("function"!=typeof e)throw new Ce(_);return!1===n?r=!1:Xi(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),Oi(e,t,{leading:r,maxWait:+t,trailing:i})},Rt.thru=ri,Rt.times=function(e,t,r){if((e=gt(e))<1||!vt(e))return[];var i=-1,o=n(xt(e,St));for(t=Nn(t,r,1);++i<e;)i<St?o[i]=t(i):t(i);return o},Rt.toArray=no,Rt.toPlainObject=ro,Rt.transform=function(e,t,n,r){var i=Ui(e)||eo(e);if(t=pr(t,r,4),null==n)if(i||Xi(e)){var a=e.constructor;n=i?Ui(e)?new a:[]:en(Gi(a)?a.prototype:o)}else n={};return(i?qt:fn)(e,function(e,r,i){return t(n,e,r,i)}),n},Rt.union=Xr,Rt.uniq=Yr,Rt.unzip=Zr,Rt.unzipWith=Kr,Rt.values=_o,Rt.valuesIn=function(e){return On(e,vo(e))},Rt.where=function(e,t){return li(e,xn(t))},Rt.without=Qr,Rt.wrap=function(e,t){return dr(t=null==t?No:t,p,o,[e],[])},Rt.xor=function(){for(var e=-1,t=arguments.length;++e<t;){var n=arguments[e];if(xr(n))var r=r?Ut(nn(r,n),nn(n,r)):n}return r?Pn(r):[]},Rt.zip=Jr,Rt.zipObject=ei,Rt.zipWith=ti,Rt.backflow=Ii,Rt.collect=vi,Rt.compose=Ii,Rt.each=di,Rt.eachRight=pi,Rt.extend=oo,Rt.iteratee=Io,Rt.methods=go,Rt.object=ei,Rt.select=li,Rt.tail=Hr,Rt.unique=Yr,qo(Rt,Rt),Rt.add=function(e,t){return(+e||0)+(+t||0)},Rt.attempt=Do,Rt.camelCase=$o,Rt.capitalize=function(e){return(e=Me(e))&&e.charAt(0).toUpperCase()+e.slice(1)},Rt.ceil=Fo,Rt.clone=function(e,t,n,r){return t&&"boolean"!=typeof t&&kr(e,t,n)?t=!1:"function"==typeof t&&(r=n,n=t,t=!1),"function"==typeof n?Jt(e,t,Nn(n,r,1)):Jt(e,t)},Rt.cloneDeep=function(e,t,n){return"function"==typeof t?Jt(e,!0,Nn(t,n,1)):Jt(e,!0)},Rt.deburr=Eo,Rt.endsWith=function(e,t,n){t+="";var r=(e=Me(e)).length;return n=n===o?r:xt(n<0?0:+n||0,r),(n-=t.length)>=0&&e.indexOf(t,n)==n},Rt.escape=function(e){return(e=Me(e))&&K.test(e)?e.replace(Y,Ve):e},Rt.escapeRegExp=function(e){return(e=Me(e))&&oe.test(e)?e.replace(ie,Fe):e||"(?:)"},Rt.every=si,Rt.find=ci,Rt.findIndex=zr,Rt.findKey=lo,Rt.findLast=ui,Rt.findLastIndex=Lr,Rt.findLastKey=co,Rt.findWhere=function(e,t){return ci(e,xn(t))},Rt.first=qr,Rt.floor=Uo,Rt.get=function(e,t,n){var r=null==e?o:mn(e,jr(t),t+"");return r===o?n:r},Rt.gt=Vi,Rt.gte=function(e,t){return e>=t},Rt.has=function(e,t){if(null==e)return!1;var n=Ge.call(e,t);if(!n&&!_r(t)){if(null==(e=1==(t=jr(t)).length?e:mn(e,Sn(t,0,-1))))return!1;t=Fr(t),n=Ge.call(e,t)}return n||Er(e.length)&&wr(t,e.length)&&(Ui(e)||Fi(e))},Rt.identity=No,Rt.includes=hi,Rt.indexOf=Br,Rt.inRange=function(e,t,n){return t=+t||0,n===o?(n=t,t=0):n=+n||0,e>=xt(t,n)&&e<yt(t,n)},Rt.isArguments=Fi,Rt.isArray=Ui,Rt.isBoolean=function(e){return!0===e||!1===e||We(e)&&et.call(e)==C},Rt.isDate=function(e){return We(e)&&et.call(e)==T},Rt.isElement=function(e){return!!e&&1===e.nodeType&&We(e)&&!Ki(e)},Rt.isEmpty=function(e){return null==e||(xr(e)&&(Ui(e)||Ji(e)||Fi(e)||We(e)&&Gi(e.splice))?!e.length:!mo(e).length)},Rt.isEqual=Hi,Rt.isError=Wi,Rt.isFinite=function(e){return"number"==typeof e&&vt(e)},Rt.isFunction=Gi,Rt.isMatch=function(e,t,n,r){return n="function"==typeof n?Nn(n,r,3):o,bn(e,vr(t),n)},Rt.isNaN=function(e){return Zi(e)&&e!=+e},Rt.isNative=Yi,Rt.isNull=function(e){return null===e},Rt.isNumber=Zi,Rt.isObject=Xi,Rt.isPlainObject=Ki,Rt.isRegExp=Qi,Rt.isString=Ji,Rt.isTypedArray=eo,Rt.isUndefined=function(e){return e===o},Rt.kebabCase=So,Rt.last=Fr,Rt.lastIndexOf=function(e,t,n){var r=e?e.length:0;if(!r)return-1;var i=r;if("number"==typeof n)i=(n<0?yt(r+n,0):xt(n||0,r-1))+1;else if(n){var o=e[i=Dn(e,t,!0)-1];return(t==t?t===o:o!=o)?i:-1}if(t!=t)return He(e,i,!0);for(;i--;)if(e[i]===t)return i;return-1},Rt.lt=to,Rt.lte=function(e,t){return e<=t},Rt.max=Ho,Rt.min=Wo,Rt.noConflict=function(){return Re._=tt,this},Rt.noop=Bo,Rt.now=$i,Rt.pad=function(e,t,n){t=+t;var r=(e=Me(e)).length;if(r>=t||!vt(t))return e;var i=(t-r)/2,o=gt(i);return(n=lr("",ft(i),n)).slice(0,o)+e+n},Rt.padLeft=Co,Rt.padRight=To,Rt.parseInt=function(e,t,n){return(n?kr(e,t,n):null==t)?t=0:t&&(t=+t),e=Ro(e),kt(e,t||(ue.test(e)?16:10))},Rt.random=function(e,t,n){n&&kr(e,t,n)&&(t=n=o);var r=null==e,i=null==t;if(null==n&&(i&&"boolean"==typeof e?(n=e,e=1):"boolean"==typeof t&&(n=t,i=!0)),r&&i&&(t=1,i=!1),e=+e||0,i?(t=e,e=0):t=+t||0,n||e%1||t%1){var a=_t();return xt(e+a*(t-e+ot("1e-"+((a+"").length-1))),t)}return $n(e,t)},Rt.reduce=yi,Rt.reduceRight=xi,Rt.repeat=Ao,Rt.result=function(e,t,n){var r=null==e?o:e[t];return r===o&&(null==e||_r(t,e)||(r=null==(e=1==(t=jr(t)).length?e:mn(e,Sn(t,0,-1)))?o:e[Fr(t)]),r=r===o?n:r),Gi(r)?r.call(e):r},Rt.round=Go,Rt.runInContext=e,Rt.size=function(e){var t=e?mr(e):0;return Er(t)?t:mo(e).length},Rt.snakeCase=Po,Rt.some=ki,Rt.sortedIndex=Wr,Rt.sortedLastIndex=Gr,Rt.startCase=Oo,Rt.startsWith=function(e,t,n){return e=Me(e),n=null==n?0:xt(n<0?0:+n||0,e.length),e.lastIndexOf(t,n)==n},Rt.sum=function(e,t,n){return n&&kr(e,t,n)&&(t=o),1==(t=pr(t,n,3)).length?function(e,t){for(var n=e.length,r=0;n--;)r+=+t(e[n])||0;return r}(Ui(e)?e:Or(e),t):function(e,t){var n=0;return rn(e,function(e,r,i){n+=+t(e,r,i)||0}),n}(e,t)},Rt.template=function(e,t,n){var r=Rt.templateSettings;n&&kr(e,t,n)&&(t=n=o),e=Me(e);var i,a,s=Xt(Yt({},(t=Xt(Yt({},n||t),r,Gt)).imports),r.imports,Gt),l=mo(s),c=On(s,l),u=0,d=t.interpolate||he,p="__p += '",f=Ee((t.escape||he).source+"|"+d.source+"|"+(d===ee?le:he).source+"|"+(t.evaluate||he).source+"|$","g"),h="//# sourceURL="+("sourceURL"in t?t.sourceURL:"lodash.templateSources["+ ++be+"]")+"\n";e.replace(f,function(t,n,r,o,s,l){return r||(r=o),p+=e.slice(u,l).replace(ge,Ue),n&&(i=!0,p+="' +\n__e("+n+") +\n'"),s&&(a=!0,p+="';\n"+s+";\n__p += '"),r&&(p+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),u=l+t.length,t}),p+="';\n";var g=t.variable;g||(p="with (obj) {\n"+p+"\n}\n"),p=(a?p.replace(H,""):p).replace(W,"$1").replace(G,"$1;"),p="function("+(g||"obj")+") {\n"+(g?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(i?", __e = _.escape":"")+(a?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+p+"return __p\n}";var m=Do(function(){return we(l,h+"return "+p).apply(o,c)});if(m.source=p,Wi(m))throw m;return m},Rt.trim=Ro,Rt.trimLeft=function(e,t,n){var r=e;return(e=Me(e))?(n?kr(r,t,n):null==t)?e.slice(Ye(e)):e.slice(ze(e,t+"")):e},Rt.trimRight=function(e,t,n){var r=e;return(e=Me(e))?(n?kr(r,t,n):null==t)?e.slice(0,Ze(e)+1):e.slice(0,Le(e,t+"")+1):e},Rt.trunc=function(e,t,n){n&&kr(e,t,n)&&(t=o);var r=m,i=v;if(null!=t)if(Xi(t)){var a="separator"in t?t.separator:a;r="length"in t?+t.length||0:r,i="omission"in t?Me(t.omission):i}else r=+t||0;if(r>=(e=Me(e)).length)return e;var s=r-i.length;if(s<1)return i;var l=e.slice(0,s);if(null==a)return l+i;if(Qi(a)){if(e.slice(s).search(a)){var c,u,d=e.slice(0,s);for(a.global||(a=Ee(a.source,(ce.exec(a)||"")+"g")),a.lastIndex=0;c=a.exec(d);)u=c.index;l=l.slice(0,null==u?s:u)}}else if(e.indexOf(a,s)!=s){var p=l.lastIndexOf(a);p>-1&&(l=l.slice(0,p))}return l+i},Rt.unescape=function(e){return(e=Me(e))&&Z.test(e)?e.replace(X,Ke):e},Rt.uniqueId=function(e){var t=++Je;return Me(e)+t},Rt.words=jo,Rt.all=si,Rt.any=ki,Rt.contains=hi,Rt.eq=Hi,Rt.detect=ci,Rt.foldl=yi,Rt.foldr=xi,Rt.head=qr,Rt.include=hi,Rt.inject=yi,qo(Rt,function(){var e={};return fn(Rt,function(t,n){Rt.prototype[n]||(e[n]=t)}),e}(),!1),Rt.sample=wi,Rt.prototype.sample=function(e){return this.__chain__||null!=e?this.thru(function(t){return wi(t,e)}):wi(this.value())},Rt.VERSION=a,qt(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){Rt[e].placeholder=Rt}),qt(["drop","take"],function(e,t){It.prototype[e]=function(n){var r=this.__filtered__;if(r&&!t)return new It(this);n=null==n?1:yt(gt(n)||0,0);var i=this.clone();return r?i.__takeCount__=xt(i.__takeCount__,n):i.__views__.push({size:n,type:e+(i.__dir__<0?"Right":"")}),i},It.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}}),qt(["filter","map","takeWhile"],function(e,t){var n=t+1,r=n!=k;It.prototype[e]=function(e,t){var i=this.clone();return i.__iteratees__.push({iteratee:pr(e,t,1),type:n}),i.__filtered__=i.__filtered__||r,i}}),qt(["first","last"],function(e,t){var n="take"+(t?"Right":"");It.prototype[e]=function(){return this[n](1).value()[0]}}),qt(["initial","rest"],function(e,t){var n="drop"+(t?"":"Right");It.prototype[e]=function(){return this.__filtered__?new It(this):this[n](1)}}),qt(["pluck","where"],function(e,t){var n=t?"filter":"map",r=t?xn:Vo;It.prototype[e]=function(e){return this[n](r(e))}}),It.prototype.compact=function(){return this.filter(No)},It.prototype.reject=function(e,t){return e=pr(e,t,1),this.filter(function(t){return!e(t)})},It.prototype.slice=function(e,t){e=null==e?0:+e||0;var n=this;return n.__filtered__&&(e>0||t<0)?new It(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==o&&(n=(t=+t||0)<0?n.dropRight(-t):n.take(t-e)),n)},It.prototype.takeRightWhile=function(e,t){return this.reverse().takeWhile(e,t).reverse()},It.prototype.toArray=function(){return this.take(Et)},fn(It.prototype,function(e,t){var n=/^(?:filter|map|reject)|While$/.test(t),r=/^(?:first|last)$/.test(t),i=Rt[r?"take"+("last"==t?"Right":""):t];i&&(Rt.prototype[t]=function(){var t=r?[1]:arguments,a=this.__chain__,s=this.__wrapped__,l=!!this.__actions__.length,c=s instanceof It,u=t[0],d=c||Ui(s);d&&n&&"function"==typeof u&&1!=u.length&&(c=d=!1);var p=function(e){return r&&a?i(e,1)[0]:i.apply(o,Ut([e],t))},f={func:ri,args:[p],thisArg:o},h=c&&!l;if(r&&!a)return h?((s=s.clone()).__actions__.push(f),e.call(s)):i.call(o,this.value())[0];if(!r&&d){s=h?s:new It(this);var g=e.apply(s,t);return g.__actions__.push(f),new Dt(g,a)}return this.thru(p)})}),qt(["join","pop","push","replace","shift","sort","splice","split","unshift"],function(e){var t=(/^(?:replace|split)$/.test(e)?Pe:Te)[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:join|pop|replace|shift)$/.test(e);Rt.prototype[e]=function(){var e=arguments;return r&&!this.__chain__?t.apply(this.value(),e):this[n](function(n){return t.apply(n,e)})}}),fn(It.prototype,function(e,t){var n=Rt[t];if(n){var r=n.name;(Ot[r]||(Ot[r]=[])).push({name:t,func:n})}}),Ot[sr(o,l).name]=[{name:"wrapper",func:o}],It.prototype.clone=function(){var e=new It(this.__wrapped__);return e.__actions__=Lt(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Lt(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Lt(this.__views__),e},It.prototype.reverse=function(){if(this.__filtered__){var e=new It(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},It.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=Ui(e),r=t<0,i=n?e.length:0,o=function(e,t,n){for(var r=-1,i=n.length;++r<i;){var o=n[r],a=o.size;switch(o.type){case"drop":e+=a;break;case"dropRight":t-=a;break;case"take":t=xt(t,e+a);break;case"takeRight":e=yt(e,t-a)}}return{start:e,end:t}}(0,i,this.__views__),a=o.start,s=o.end,l=s-a,c=r?s:a-1,u=this.__iteratees__,d=u.length,p=0,f=xt(l,this.__takeCount__);if(!n||i<x||i==l&&f==l)return jn(r&&n?e.reverse():e,this.__actions__);var h=[];e:for(;l--&&p<f;){for(var g=-1,m=e[c+=t];++g<d;){var v=u[g],b=v.iteratee,y=v.type,_=b(m);if(y==k)m=_;else if(!_){if(y==w)continue e;break e}}h[p++]=m}return h},Rt.prototype.chain=function(){return ni(this)},Rt.prototype.commit=function(){return new Dt(this.value(),this.__chain__)},Rt.prototype.concat=ii,Rt.prototype.plant=function(e){for(var t,n=this;n instanceof jt;){var r=Dr(n);t?i.__wrapped__=r:t=r;var i=r;n=n.__wrapped__}return i.__wrapped__=e,t},Rt.prototype.reverse=function(){var e=this.__wrapped__,t=function(e){return n&&n.__dir__<0?e:e.reverse()};if(e instanceof It){var n=e;return this.__actions__.length&&(n=new It(this)),(n=n.reverse()).__actions__.push({func:ri,args:[t],thisArg:o}),new Dt(n,this.__chain__)}return this.thru(t)},Rt.prototype.toString=function(){return this.value()+""},Rt.prototype.run=Rt.prototype.toJSON=Rt.prototype.valueOf=Rt.prototype.value=function(){return jn(this.__wrapped__,this.__actions__)},Rt.prototype.collect=Rt.prototype.map,Rt.prototype.head=Rt.prototype.first,Rt.prototype.select=Rt.prototype.filter,Rt.prototype.tail=Rt.prototype.rest,Rt}();Re._=Qe,(i=function(){return Qe}.call(t,n,t,e))===o||(e.exports=i)}).call(this)}).call(this,n(32)(e),n(14))},function(e,t,n){"use strict";var r=n(2),i=n(140),o=n(137),a=n(136),s=n(6).normalizeRanks,l=n(134),c=n(6).removeEmptyRanks,u=n(133),d=n(132),p=n(131),f=n(130),h=n(121),g=n(6),m=n(10).Graph;e.exports=function(e,t){var n=t&&t.debugTiming?g.time:g.notime;n("layout",function(){var t=n("  buildLayoutGraph",function(){return function(e){var t=new m({multigraph:!0,compound:!0}),n=S(e.graph());return t.setGraph(r.merge({},b,E(n,v),r.pick(n,y))),r.each(e.nodes(),function(n){var i=S(e.node(n));t.setNode(n,r.defaults(E(i,x),w)),t.setParent(n,e.parent(n))}),r.each(e.edges(),function(n){var i=S(e.edge(n));t.setEdge(n,r.merge({},_,E(i,k),r.pick(i,$)))}),t}(e)});n("  runLayout",function(){!function(e,t){t("    makeSpaceForEdgeLabels",function(){!function(e){var t=e.graph();t.ranksep/=2,r.each(e.edges(),function(n){var r=e.edge(n);r.minlen*=2,"c"!==r.labelpos.toLowerCase()&&("TB"===t.rankdir||"BT"===t.rankdir?r.width+=r.labeloffset:r.height+=r.labeloffset)})}(e)}),t("    removeSelfEdges",function(){!function(e){r.each(e.edges(),function(t){if(t.v===t.w){var n=e.node(t.v);n.selfEdges||(n.selfEdges=[]),n.selfEdges.push({e:t,label:e.edge(t)}),e.removeEdge(t)}})}(e)}),t("    acyclic",function(){i.run(e)}),t("    nestingGraph.run",function(){u.run(e)}),t("    rank",function(){a(g.asNonCompoundGraph(e))}),t("    injectEdgeLabelProxies",function(){!function(e){r.each(e.edges(),function(t){var n=e.edge(t);if(n.width&&n.height){var r=e.node(t.v),i=e.node(t.w),o={rank:(i.rank-r.rank)/2+r.rank,e:t};g.addDummyNode(e,"edge-proxy",o,"_ep")}})}(e)}),t("    removeEmptyRanks",function(){c(e)}),t("    nestingGraph.cleanup",function(){u.cleanup(e)}),t("    normalizeRanks",function(){s(e)}),t("    assignRankMinMax",function(){!function(e){var t=0;r.each(e.nodes(),function(n){var i=e.node(n);i.borderTop&&(i.minRank=e.node(i.borderTop).rank,i.maxRank=e.node(i.borderBottom).rank,t=r.max(t,i.maxRank))}),e.graph().maxRank=t}(e)}),t("    removeEdgeLabelProxies",function(){!function(e){r.each(e.nodes(),function(t){var n=e.node(t);"edge-proxy"===n.dummy&&(e.edge(n.e).labelRank=n.rank,e.removeNode(t))})}(e)}),t("    normalize.run",function(){o.run(e)}),t("    parentDummyChains",function(){l(e)}),t("    addBorderSegments",function(){d(e)}),t("    order",function(){f(e)}),t("    insertSelfEdges",function(){!function(e){var t=g.buildLayerMatrix(e);r.each(t,function(t){var n=0;r.each(t,function(t,i){var o=e.node(t);o.order=i+n,r.each(o.selfEdges,function(t){g.addDummyNode(e,"selfedge",{width:t.label.width,height:t.label.height,rank:o.rank,order:i+ ++n,e:t.e,label:t.label},"_se")}),delete o.selfEdges})})}(e)}),t("    adjustCoordinateSystem",function(){p.adjust(e)}),t("    position",function(){h(e)}),t("    positionSelfEdges",function(){!function(e){r.each(e.nodes(),function(t){var n=e.node(t);if("selfedge"===n.dummy){var r=e.node(n.e.v),i=r.x+r.width/2,o=r.y,a=n.x-i,s=r.height/2;e.setEdge(n.e,n.label),e.removeNode(t),n.label.points=[{x:i+2*a/3,y:o-s},{x:i+5*a/6,y:o-s},{x:i+a,y:o},{x:i+5*a/6,y:o+s},{x:i+2*a/3,y:o+s}],n.label.x=n.x,n.label.y=n.y}})}(e)}),t("    removeBorderNodes",function(){!function(e){r.each(e.nodes(),function(t){if(e.children(t).length){var n=e.node(t),i=e.node(n.borderTop),o=e.node(n.borderBottom),a=e.node(r.last(n.borderLeft)),s=e.node(r.last(n.borderRight));n.width=Math.abs(s.x-a.x),n.height=Math.abs(o.y-i.y),n.x=a.x+n.width/2,n.y=i.y+n.height/2}}),r.each(e.nodes(),function(t){"border"===e.node(t).dummy&&e.removeNode(t)})}(e)}),t("    normalize.undo",function(){o.undo(e)}),t("    fixupEdgeLabelCoords",function(){!function(e){r.each(e.edges(),function(t){var n=e.edge(t);if(r.has(n,"x"))switch("l"!==n.labelpos&&"r"!==n.labelpos||(n.width-=n.labeloffset),n.labelpos){case"l":n.x-=n.width/2+n.labeloffset;break;case"r":n.x+=n.width/2+n.labeloffset}})}(e)}),t("    undoCoordinateSystem",function(){p.undo(e)}),t("    translateGraph",function(){!function(e){var t=Number.POSITIVE_INFINITY,n=0,i=Number.POSITIVE_INFINITY,o=0,a=e.graph(),s=a.marginx||0,l=a.marginy||0;function c(e){var r=e.x,a=e.y,s=e.width,l=e.height;t=Math.min(t,r-s/2),n=Math.max(n,r+s/2),i=Math.min(i,a-l/2),o=Math.max(o,a+l/2)}r.each(e.nodes(),function(t){c(e.node(t))}),r.each(e.edges(),function(t){var n=e.edge(t);r.has(n,"x")&&c(n)}),t-=s,i-=l,r.each(e.nodes(),function(n){var r=e.node(n);r.x-=t,r.y-=i}),r.each(e.edges(),function(n){var o=e.edge(n);r.each(o.points,function(e){e.x-=t,e.y-=i}),r.has(o,"x")&&(o.x-=t),r.has(o,"y")&&(o.y-=i)}),a.width=n-t+s,a.height=o-i+l}(e)}),t("    assignNodeIntersects",function(){!function(e){r.each(e.edges(),function(t){var n,r,i=e.edge(t),o=e.node(t.v),a=e.node(t.w);i.points?(n=i.points[0],r=i.points[i.points.length-1]):(i.points=[],n=a,r=o),i.points.unshift(g.intersectRect(o,n)),i.points.push(g.intersectRect(a,r))})}(e)}),t("    reversePoints",function(){!function(e){r.each(e.edges(),function(t){var n=e.edge(t);n.reversed&&n.points.reverse()})}(e)}),t("    acyclic.undo",function(){i.undo(e)})}(t,n)}),n("  updateInputGraph",function(){!function(e,t){r.each(e.nodes(),function(n){var r=e.node(n),i=t.node(n);r&&(r.x=i.x,r.y=i.y,t.children(n).length&&(r.width=i.width,r.height=i.height))}),r.each(e.edges(),function(n){var i=e.edge(n),o=t.edge(n);i.points=o.points,r.has(o,"x")&&(i.x=o.x,i.y=o.y)}),e.graph().width=t.graph().width,e.graph().height=t.graph().height}(e,t)})})};var v=["nodesep","edgesep","ranksep","marginx","marginy"],b={ranksep:50,edgesep:20,nodesep:50,rankdir:"tb"},y=["acyclicer","ranker","rankdir","align"],x=["width","height"],w={width:0,height:0},k=["minlen","weight","width","height","labeloffset"],_={minlen:1,weight:1,width:0,height:0,labeloffset:10,labelpos:"r"},$=["labelpos"];function E(e,t){return r.mapValues(r.pick(e,t),Number)}function S(e){var t={};return r.each(e,function(e,n){t[n.toLowerCase()]=e}),t}},function(e,t,n){var r=n(8),i=n(31),o=n(47);e.exports=function(e,t){var n,a=new i,s={},l=new o;function c(e){var r=e.v===n?e.w:e.v,i=l.priority(r);if(void 0!==i){var o=t(e);o<i&&(s[r]=n,l.decrease(r,o))}}if(0===e.nodeCount())return a;r.each(e.nodes(),function(e){l.add(e,Number.POSITIVE_INFINITY),a.setNode(e)}),l.decrease(e.nodes()[0],0);var u=!1;for(;l.size()>0;){if(n=l.removeMin(),r.has(s,n))a.setEdge(n,s[n]);else{if(u)throw new Error("Input graph is not connected: "+e);u=!0}e.nodeEdges(n).forEach(c)}return a}},function(e,t,n){var r=n(44);e.exports=function(e,t){return r(e,t,"pre")}},function(e,t,n){var r=n(44);e.exports=function(e,t){return r(e,t,"post")}},function(e,t,n){var r=n(45);e.exports=function(e){try{r(e)}catch(e){if(e instanceof r.CycleException)return!1;throw e}return!0}},function(e,t,n){var r=n(8);e.exports=function(e,t,n){return function(e,t,n){var r={},i=e.nodes();return i.forEach(function(e){r[e]={},r[e][e]={distance:0},i.forEach(function(t){e!==t&&(r[e][t]={distance:Number.POSITIVE_INFINITY})}),n(e).forEach(function(n){var i=n.v===e?n.w:n.v,o=t(n);r[e][i]={distance:o,predecessor:e}})}),i.forEach(function(e){var t=r[e];i.forEach(function(n){var o=r[n];i.forEach(function(n){var r=o[e],i=t[n],a=o[n],s=r.distance+i.distance;s<a.distance&&(a.distance=s,a.predecessor=i.predecessor)})})}),r}(e,t||i,n||function(t){return e.outEdges(t)})};var i=r.constant(1)},function(e,t,n){var r=n(8),i=n(46);e.exports=function(e){return r.filter(i(e),function(t){return t.length>1||1===t.length&&e.hasEdge(t[0],t[0])})}},function(e,t,n){var r=n(48),i=n(8);e.exports=function(e,t,n){return i.transform(e.nodes(),function(i,o){i[o]=r(e,o,t,n)},{})}},function(e,t,n){var r=n(8);e.exports=function(e){var t,n={},i=[];function o(i){r.has(n,i)||(n[i]=!0,t.push(i),r.each(e.successors(i),o),r.each(e.predecessors(i),o))}return r.each(e.nodes(),function(e){t=[],o(e),t.length&&i.push(t)}),i}},function(e,t,n){e.exports={components:n(150),dijkstra:n(48),dijkstraAll:n(149),findCycles:n(148),floydWarshall:n(147),isAcyclic:n(146),postorder:n(145),preorder:n(144),prim:n(143),tarjan:n(46),topsort:n(45)}},function(e,t,n){var r=n(8),i=n(31);e.exports={write:function(e){var t={options:{directed:e.isDirected(),multigraph:e.isMultigraph(),compound:e.isCompound()},nodes:function(e){return r.map(e.nodes(),function(t){var n=e.node(t),i=e.parent(t),o={v:t};return r.isUndefined(n)||(o.value=n),r.isUndefined(i)||(o.parent=i),o})}(e),edges:function(e){return r.map(e.edges(),function(t){var n=e.edge(t),i={v:t.v,w:t.w};return r.isUndefined(t.name)||(i.name=t.name),r.isUndefined(n)||(i.value=n),i})}(e)};r.isUndefined(e.graph())||(t.value=r.clone(e.graph()));return t},read:function(e){var t=new i(e.options).setGraph(e.value);return r.each(e.nodes,function(e){t.setNode(e.v,e.value),e.parent&&t.setParent(e.v,e.parent)}),r.each(e.edges,function(e){t.setEdge({v:e.v,w:e.w,name:e.name},e.value)}),t}}},function(e,t){e.exports="1.0.7"},function(e,t,n){(function(e,r){var i;
+ */(function(){var o,a="3.10.1",s=1,l=2,c=4,u=8,d=16,p=32,f=64,h=128,g=256,m=30,v="...",b=150,y=16,x=200,w=1,k=2,_="Expected a function",$="__lodash_placeholder__",E="[object Arguments]",S="[object Array]",C="[object Boolean]",T="[object Date]",A="[object Error]",O="[object Function]",P="[object Number]",R="[object Object]",j="[object RegExp]",D="[object String]",N="[object ArrayBuffer]",I="[object Float32Array]",M="[object Float64Array]",z="[object Int8Array]",L="[object Int16Array]",q="[object Int32Array]",B="[object Uint8Array]",V="[object Uint8ClampedArray]",F="[object Uint16Array]",U="[object Uint32Array]",H=/\b__p \+= '';/g,W=/\b(__p \+=) '' \+/g,G=/(__e\(.*?\)|\b__t\)) \+\n'';/g,X=/&(?:amp|lt|gt|quot|#39|#96);/g,Y=/[&<>"'`]/g,Z=RegExp(X.source),K=RegExp(Y.source),Q=/<%-([\s\S]+?)%>/g,J=/<%([\s\S]+?)%>/g,ee=/<%=([\s\S]+?)%>/g,te=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\n\\]|\\.)*?\1)\]/,ne=/^\w*$/,re=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\n\\]|\\.)*?)\2)\]/g,ie=/^[:!,]|[\\^$.*+?()[\]{}|\/]|(^[0-9a-fA-Fnrtuvx])|([\n\r\u2028\u2029])/g,oe=RegExp(ie.source),ae=/[\u0300-\u036f\ufe20-\ufe23]/g,se=/\\(\\)?/g,le=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,ce=/\w*$/,ue=/^0[xX]/,de=/^\[object .+?Constructor\]$/,pe=/^\d+$/,fe=/[\xc0-\xd6\xd8-\xde\xdf-\xf6\xf8-\xff]/g,he=/($^)/,ge=/['\n\r\u2028\u2029\\]/g,me=function(){var e="[A-Z\\xc0-\\xd6\\xd8-\\xde]",t="[a-z\\xdf-\\xf6\\xf8-\\xff]+";return RegExp(e+"+(?="+e+t+")|"+e+"?"+t+"|"+e+"+|[0-9]+","g")}(),ve=["Array","ArrayBuffer","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Math","Number","Object","RegExp","Set","String","_","clearTimeout","isFinite","parseFloat","parseInt","setTimeout","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap"],be=-1,ye={};ye[I]=ye[M]=ye[z]=ye[L]=ye[q]=ye[B]=ye[V]=ye[F]=ye[U]=!0,ye[E]=ye[S]=ye[N]=ye[C]=ye[T]=ye[A]=ye[O]=ye["[object Map]"]=ye[P]=ye[R]=ye[j]=ye["[object Set]"]=ye[D]=ye["[object WeakMap]"]=!1;var xe={};xe[E]=xe[S]=xe[N]=xe[C]=xe[T]=xe[I]=xe[M]=xe[z]=xe[L]=xe[q]=xe[P]=xe[R]=xe[j]=xe[D]=xe[B]=xe[V]=xe[F]=xe[U]=!0,xe[A]=xe[O]=xe["[object Map]"]=xe["[object Set]"]=xe["[object WeakMap]"]=!1;var we={"À":"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"},ke={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","`":"&#96;"},_e={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'","&#96;":"`"},$e={function:!0,object:!0},Ee={0:"x30",1:"x31",2:"x32",3:"x33",4:"x34",5:"x35",6:"x36",7:"x37",8:"x38",9:"x39",A:"x41",B:"x42",C:"x43",D:"x44",E:"x45",F:"x46",a:"x61",b:"x62",c:"x63",d:"x64",e:"x65",f:"x66",n:"x6e",r:"x72",t:"x74",u:"x75",v:"x76",x:"x78"},Se={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Ce=$e[typeof t]&&t&&!t.nodeType&&t,Te=$e[typeof e]&&e&&!e.nodeType&&e,Ae=Ce&&Te&&"object"==typeof r&&r&&r.Object&&r,Oe=$e[typeof self]&&self&&self.Object&&self,Pe=$e[typeof window]&&window&&window.Object&&window,Re=(Te&&Te.exports,Ae||Pe!==(this&&this.window)&&Pe||Oe||this);function je(e,t){if(e!==t){var n=null===e,r=e===o,i=e==e,a=null===t,s=t===o,l=t==t;if(e>t&&!a||!i||n&&!s&&l||r&&l)return 1;if(e<t&&!n||!l||a&&!r&&i||s&&i)return-1}return 0}function De(e,t,n){for(var r=e.length,i=n?r:-1;n?i--:++i<r;)if(t(e[i],i,e))return i;return-1}function Ne(e,t,n){if(t!=t)return He(e,n);for(var r=n-1,i=e.length;++r<i;)if(e[r]===t)return r;return-1}function Ie(e){return"function"==typeof e||!1}function Me(e){return null==e?"":e+""}function ze(e,t){for(var n=-1,r=e.length;++n<r&&t.indexOf(e.charAt(n))>-1;);return n}function Le(e,t){for(var n=e.length;n--&&t.indexOf(e.charAt(n))>-1;);return n}function qe(e,t){return je(e.criteria,t.criteria)||e.index-t.index}function Be(e){return we[e]}function Ve(e){return ke[e]}function Fe(e,t,n){return t?e=Ee[e]:n&&(e=Se[e]),"\\"+e}function Ue(e){return"\\"+Se[e]}function He(e,t,n){for(var r=e.length,i=t+(n?0:-1);n?i--:++i<r;){var o=e[i];if(o!=o)return i}return-1}function We(e){return!!e&&"object"==typeof e}function Ge(e){return e<=160&&e>=9&&e<=13||32==e||160==e||5760==e||6158==e||e>=8192&&(e<=8202||8232==e||8233==e||8239==e||8287==e||12288==e||65279==e)}function Xe(e,t){for(var n=-1,r=e.length,i=-1,o=[];++n<r;)e[n]===t&&(e[n]=$,o[++i]=n);return o}function Ye(e){for(var t=-1,n=e.length;++t<n&&Ge(e.charCodeAt(t)););return t}function Ze(e){for(var t=e.length;t--&&Ge(e.charCodeAt(t)););return t}function Ke(e){return _e[e]}var Qe=function e(t){var n=(t=t?Qe.defaults(Re.Object(),t,Qe.pick(Re,ve)):Re).Array,r=t.Date,i=t.Error,we=t.Function,ke=t.Math,_e=t.Number,$e=t.Object,Ee=t.RegExp,Se=t.String,Ce=t.TypeError,Te=n.prototype,Ae=$e.prototype,Oe=Se.prototype,Pe=we.prototype.toString,Ge=Ae.hasOwnProperty,Je=0,et=Ae.toString,tt=Re._,nt=Ee("^"+Pe.call(Ge).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),rt=t.ArrayBuffer,it=t.clearTimeout,ot=t.parseFloat,at=ke.pow,st=Ae.propertyIsEnumerable,lt=br(t,"Set"),ct=t.setTimeout,ut=Te.splice,dt=t.Uint8Array,pt=br(t,"WeakMap"),ft=ke.ceil,ht=br($e,"create"),gt=ke.floor,mt=br(n,"isArray"),vt=t.isFinite,bt=br($e,"keys"),yt=ke.max,xt=ke.min,wt=br(r,"now"),kt=t.parseInt,_t=ke.random,$t=_e.NEGATIVE_INFINITY,Et=_e.POSITIVE_INFINITY,St=4294967295,Ct=St-1,Tt=St>>>1,At=9007199254740991,Ot=pt&&new pt,Pt={};function Rt(e){if(We(e)&&!Ui(e)&&!(e instanceof Nt)){if(e instanceof Dt)return e;if(Ge.call(e,"__chain__")&&Ge.call(e,"__wrapped__"))return Dr(e)}return new Dt(e)}function jt(){}function Dt(e,t,n){this.__wrapped__=e,this.__actions__=n||[],this.__chain__=!!t}Rt.support={};function Nt(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Et,this.__views__=[]}function It(){this.__data__={}}function Mt(e){var t=e?e.length:0;for(this.data={hash:ht(null),set:new lt};t--;)this.push(e[t])}function zt(e,t){var n=e.data;return("string"==typeof t||Xi(t)?n.set.has(t):n.hash[t])?0:-1}function Lt(e,t){var r=-1,i=e.length;for(t||(t=n(i));++r<i;)t[r]=e[r];return t}function qt(e,t){for(var n=-1,r=e.length;++n<r&&!1!==t(e[n],n,e););return e}function Bt(e,t){for(var n=-1,r=e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}function Vt(e,t){for(var n=-1,r=e.length,i=-1,o=[];++n<r;){var a=e[n];t(a,n,e)&&(o[++i]=a)}return o}function Ft(e,t){for(var r=-1,i=e.length,o=n(i);++r<i;)o[r]=t(e[r],r,e);return o}function Ut(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}function Ht(e,t,n,r){var i=-1,o=e.length;for(r&&o&&(n=e[++i]);++i<o;)n=t(n,e[i],i,e);return n}function Wt(e,t){for(var n=-1,r=e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}function Gt(e,t,n,r){return e!==o&&Ge.call(r,n)?e:t}function Xt(e,t,n){for(var r=-1,i=mo(t),a=i.length;++r<a;){var s=i[r],l=e[s],c=n(l,t[s],s,e,t);(c==c?c===l:l!=l)&&(l!==o||s in e)||(e[s]=c)}return e}function Yt(e,t){return null==t?e:Kt(t,mo(t),e)}function Zt(e,t){for(var r=-1,i=null==e,a=!i&&xr(e),s=a?e.length:0,l=t.length,c=n(l);++r<l;){var u=t[r];c[r]=a?wr(u,s)?e[u]:o:i?o:e[u]}return c}function Kt(e,t,n){n||(n={});for(var r=-1,i=t.length;++r<i;){var o=t[r];n[o]=e[o]}return n}function Qt(e,t,n){var r=typeof e;return"function"==r?t===o?e:In(e,t,n):null==e?Io:"object"==r?xn(e):t===o?Vo(e):wn(e,t)}function Jt(e,t,n,r,i,a,s){var l;if(n&&(l=i?n(e,r,i):n(e)),l!==o)return l;if(!Xi(e))return e;var c=Ui(e);if(c){if(l=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&Ge.call(e,"index")&&(n.index=e.index,n.input=e.input),n}(e),!t)return Lt(e,l)}else{var u=et.call(e),d=u==O;if(u!=R&&u!=E&&(!d||i))return xe[u]?function(e,t,n){var r=e.constructor;switch(t){case N:return Mn(e);case C:case T:return new r(+e);case I:case M:case z:case L:case q:case B:case V:case F:case U:var i=e.buffer;return new r(n?Mn(i):i,e.byteOffset,e.length);case P:case D:return new r(e);case j:var o=new r(e.source,ce.exec(e));o.lastIndex=e.lastIndex}return o}(e,u,t):i?e:{};if(l=function(e){var t=e.constructor;return"function"==typeof t&&t instanceof t||(t=$e),new t}(d?{}:e),!t)return Yt(l,e)}a||(a=[]),s||(s=[]);for(var p=a.length;p--;)if(a[p]==e)return s[p];return a.push(e),s.push(l),(c?qt:fn)(e,function(r,i){l[i]=Jt(r,t,n,i,e,a,s)}),l}Rt.templateSettings={escape:Q,evaluate:J,interpolate:ee,variable:"",imports:{_:Rt}};var en=function(){function e(){}return function(t){if(Xi(t)){e.prototype=t;var n=new e;e.prototype=o}return n||{}}}();function tn(e,t,n){if("function"!=typeof e)throw new Ce(_);return ct(function(){e.apply(o,n)},t)}function nn(e,t){var n=e?e.length:0,r=[];if(!n)return r;var i=-1,o=gr(),a=o==Ne,s=a&&t.length>=x?Un(t):null,l=t.length;s&&(o=zt,a=!1,t=s);e:for(;++i<n;){var c=e[i];if(a&&c==c){for(var u=l;u--;)if(t[u]===c)continue e;r.push(c)}else o(t,c,0)<0&&r.push(c)}return r}var rn=Vn(fn),on=Vn(hn,!0);function an(e,t){var n=!0;return rn(e,function(e,r,i){return n=!!t(e,r,i)}),n}function sn(e,t){var n=[];return rn(e,function(e,r,i){t(e,r,i)&&n.push(e)}),n}function ln(e,t,n,r){var i;return n(e,function(e,n,o){if(t(e,n,o))return i=r?n:e,!1}),i}function cn(e,t,n,r){r||(r=[]);for(var i=-1,o=e.length;++i<o;){var a=e[i];We(a)&&xr(a)&&(n||Ui(a)||Fi(a))?t?cn(a,t,n,r):Ut(r,a):n||(r[r.length]=a)}return r}var un=Fn(),dn=Fn(!0);function pn(e,t){return un(e,t,vo)}function fn(e,t){return un(e,t,mo)}function hn(e,t){return dn(e,t,mo)}function gn(e,t){for(var n=-1,r=t.length,i=-1,o=[];++n<r;){var a=t[n];Gi(e[a])&&(o[++i]=a)}return o}function mn(e,t,n){if(null!=e){n!==o&&n in Rr(e)&&(t=[n]);for(var r=0,i=t.length;null!=e&&r<i;)e=e[t[r++]];return r&&r==i?e:o}}function vn(e,t,n,r,i,a){return e===t||(null==e||null==t||!Xi(e)&&!We(t)?e!=e&&t!=t:function(e,t,n,r,i,a,s){var l=Ui(e),c=Ui(t),u=S,d=S;l||((u=et.call(e))==E?u=R:u!=R&&(l=eo(e))),c||((d=et.call(t))==E?d=R:d!=R&&(c=eo(t)));var p=u==R,f=d==R,h=u==d;if(h&&!l&&!p)return function(e,t,n){switch(n){case C:case T:return+e==+t;case A:return e.name==t.name&&e.message==t.message;case P:return e!=+e?t!=+t:e==+t;case j:case D:return e==t+""}return!1}(e,t,u);if(!i){var g=p&&Ge.call(e,"__wrapped__"),m=f&&Ge.call(t,"__wrapped__");if(g||m)return n(g?e.value():e,m?t.value():t,r,i,a,s)}if(!h)return!1;a||(a=[]),s||(s=[]);for(var v=a.length;v--;)if(a[v]==e)return s[v]==t;a.push(e),s.push(t);var b=(l?function(e,t,n,r,i,a,s){var l=-1,c=e.length,u=t.length;if(c!=u&&!(i&&u>c))return!1;for(;++l<c;){var d=e[l],p=t[l],f=r?r(i?p:d,i?d:p,l):o;if(f!==o){if(f)continue;return!1}if(i){if(!Wt(t,function(e){return d===e||n(d,e,r,i,a,s)}))return!1}else if(d!==p&&!n(d,p,r,i,a,s))return!1}return!0}:function(e,t,n,r,i,a,s){var l=mo(e),c=l.length,u=mo(t).length;if(c!=u&&!i)return!1;for(var d=c;d--;){var p=l[d];if(!(i?p in t:Ge.call(t,p)))return!1}for(var f=i;++d<c;){p=l[d];var h=e[p],g=t[p],m=r?r(i?g:h,i?h:g,p):o;if(!(m===o?n(h,g,r,i,a,s):m))return!1;f||(f="constructor"==p)}if(!f){var v=e.constructor,b=t.constructor;if(v!=b&&"constructor"in e&&"constructor"in t&&!("function"==typeof v&&v instanceof v&&"function"==typeof b&&b instanceof b))return!1}return!0})(e,t,n,r,i,a,s);return a.pop(),s.pop(),b}(e,t,vn,n,r,i,a))}function bn(e,t,n){var r=t.length,i=r,a=!n;if(null==e)return!i;for(e=Rr(e);r--;){var s=t[r];if(a&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++r<i;){var l=(s=t[r])[0],c=e[l],u=s[1];if(a&&s[2]){if(c===o&&!(l in e))return!1}else{var d=n?n(c,u,l):o;if(!(d===o?vn(u,c,n,!0):d))return!1}}return!0}function yn(e,t){var r=-1,i=xr(e)?n(e.length):[];return rn(e,function(e,n,o){i[++r]=t(e,n,o)}),i}function xn(e){var t=vr(e);if(1==t.length&&t[0][2]){var n=t[0][0],r=t[0][1];return function(e){return null!=e&&e[n]===r&&(r!==o||n in Rr(e))}}return function(e){return bn(e,t)}}function wn(e,t){var n=Ui(e),r=_r(e)&&Sr(t),i=e+"";return e=jr(e),function(a){if(null==a)return!1;var s=i;if(a=Rr(a),(n||!r)&&!(s in a)){if(null==(a=1==e.length?a:mn(a,Sn(e,0,-1))))return!1;s=Fr(e),a=Rr(a)}return a[s]===t?t!==o||s in a:vn(t,a[s],o,!0)}}function kn(e){return function(t){return null==t?o:t[e]}}function _n(e,t){for(var n=e?t.length:0;n--;){var r=t[n];if(r!=i&&wr(r)){var i=r;ut.call(e,r,1)}}return e}function $n(e,t){return e+gt(_t()*(t-e+1))}var En=Ot?function(e,t){return Ot.set(e,t),e}:Io;function Sn(e,t,r){var i=-1,a=e.length;(t=null==t?0:+t||0)<0&&(t=-t>a?0:a+t),(r=r===o||r>a?a:+r||0)<0&&(r+=a),a=t>r?0:r-t>>>0,t>>>=0;for(var s=n(a);++i<a;)s[i]=e[i+t];return s}function Cn(e,t){var n;return rn(e,function(e,r,i){return!(n=t(e,r,i))}),!!n}function Tn(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}function An(e,t,n){var r=pr(),i=-1;return t=Ft(t,function(e){return r(e)}),Tn(yn(e,function(e){return{criteria:Ft(t,function(t){return t(e)}),index:++i,value:e}}),function(e,t){return function(e,t,n){for(var r=-1,i=e.criteria,o=t.criteria,a=i.length,s=n.length;++r<a;){var l=je(i[r],o[r]);if(l){if(r>=s)return l;var c=n[r];return l*("asc"===c||!0===c?1:-1)}}return e.index-t.index}(e,t,n)})}function On(e,t){var n=-1,r=gr(),i=e.length,o=r==Ne,a=o&&i>=x,s=a?Un():null,l=[];s?(r=zt,o=!1):(a=!1,s=t?[]:l);e:for(;++n<i;){var c=e[n],u=t?t(c,n,e):c;if(o&&c==c){for(var d=s.length;d--;)if(s[d]===u)continue e;t&&s.push(u),l.push(c)}else r(s,u,0)<0&&((t||a)&&s.push(u),l.push(c))}return l}function Pn(e,t){for(var r=-1,i=t.length,o=n(i);++r<i;)o[r]=e[t[r]];return o}function Rn(e,t,n,r){for(var i=e.length,o=r?i:-1;(r?o--:++o<i)&&t(e[o],o,e););return n?Sn(e,r?0:o,r?o+1:i):Sn(e,r?o+1:0,r?i:o)}function jn(e,t){var n=e;n instanceof Nt&&(n=n.value());for(var r=-1,i=t.length;++r<i;){var o=t[r];n=o.func.apply(o.thisArg,Ut([n],o.args))}return n}function Dn(e,t,n){var r=0,i=e?e.length:r;if("number"==typeof t&&t==t&&i<=Tt){for(;r<i;){var o=r+i>>>1,a=e[o];(n?a<=t:a<t)&&null!==a?r=o+1:i=o}return i}return Nn(e,t,Io,n)}function Nn(e,t,n,r){t=n(t);for(var i=0,a=e?e.length:0,s=t!=t,l=null===t,c=t===o;i<a;){var u=gt((i+a)/2),d=n(e[u]),p=d!==o,f=d==d;if(s)var h=f||r;else h=l?f&&p&&(r||null!=d):c?f&&(r||p):null!=d&&(r?d<=t:d<t);h?i=u+1:a=u}return xt(a,Ct)}function In(e,t,n){if("function"!=typeof e)return Io;if(t===o)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 3:return function(n,r,i){return e.call(t,n,r,i)};case 4:return function(n,r,i,o){return e.call(t,n,r,i,o)};case 5:return function(n,r,i,o,a){return e.call(t,n,r,i,o,a)}}return function(){return e.apply(t,arguments)}}function Mn(e){var t=new rt(e.byteLength);return new dt(t).set(new dt(e)),t}function zn(e,t,r){for(var i=r.length,o=-1,a=yt(e.length-i,0),s=-1,l=t.length,c=n(l+a);++s<l;)c[s]=t[s];for(;++o<i;)c[r[o]]=e[o];for(;a--;)c[s++]=e[o++];return c}function Ln(e,t,r){for(var i=-1,o=r.length,a=-1,s=yt(e.length-o,0),l=-1,c=t.length,u=n(s+c);++a<s;)u[a]=e[a];for(var d=a;++l<c;)u[d+l]=t[l];for(;++i<o;)u[d+r[i]]=e[a++];return u}function qn(e,t){return function(n,r,i){var o=t?t():{};if(r=pr(r,i,3),Ui(n))for(var a=-1,s=n.length;++a<s;){var l=n[a];e(o,l,r(l,a,n),n)}else rn(n,function(t,n,i){e(o,t,r(t,n,i),i)});return o}}function Bn(e){return Bi(function(t,n){var r=-1,i=null==t?0:n.length,a=i>2?n[i-2]:o,s=i>2?n[2]:o,l=i>1?n[i-1]:o;for("function"==typeof a?(a=In(a,l,5),i-=2):i-=(a="function"==typeof l?l:o)?1:0,s&&kr(n[0],n[1],s)&&(a=i<3?o:a,i=1);++r<i;){var c=n[r];c&&e(t,c,a)}return t})}function Vn(e,t){return function(n,r){var i=n?mr(n):0;if(!Er(i))return e(n,r);for(var o=t?i:-1,a=Rr(n);(t?o--:++o<i)&&!1!==r(a[o],o,a););return n}}function Fn(e){return function(t,n,r){for(var i=Rr(t),o=r(t),a=o.length,s=e?a:-1;e?s--:++s<a;){var l=o[s];if(!1===n(i[l],l,i))break}return t}}function Un(e){return ht&&lt?new Mt(e):null}function Hn(e){return function(t){for(var n=-1,r=jo(Eo(t)),i=r.length,o="";++n<i;)o=e(o,r[n],n);return o}}function Wn(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=en(e.prototype),r=e.apply(n,t);return Xi(r)?r:n}}function Gn(e){return function t(n,r,i){i&&kr(n,r,i)&&(r=o);var a=dr(n,e,o,o,o,o,o,r);return a.placeholder=t.placeholder,a}}function Xn(e,t){return Bi(function(n){var r=n[0];return null==r?r:(n.push(t),e.apply(o,n))})}function Yn(e,t){return function(n,r,i){if(i&&kr(n,r,i)&&(r=o),1==(r=pr(r,i,3)).length){var a=function(e,t,n,r){for(var i=-1,o=e.length,a=r,s=a;++i<o;){var l=e[i],c=+t(l);n(c,a)&&(a=c,s=l)}return s}(n=Ui(n)?n:Pr(n),r,e,t);if(!n.length||a!==t)return a}return function(e,t,n,r){var i=r,o=i;return rn(e,function(e,a,s){var l=+t(e,a,s);(n(l,i)||l===r&&l===o)&&(i=l,o=e)}),o}(n,r,e,t)}}function Zn(e,t){return function(n,r,i){if(r=pr(r,i,3),Ui(n)){var a=De(n,r,t);return a>-1?n[a]:o}return ln(n,r,e)}}function Kn(e){return function(t,n,r){return t&&t.length?De(t,n=pr(n,r,3),e):-1}}function Qn(e){return function(t,n,r){return ln(t,n=pr(n,r,3),e,!0)}}function Jn(e){return function(){for(var t,r=arguments.length,i=e?r:-1,a=0,s=n(r);e?i--:++i<r;){var l=s[a++]=arguments[i];if("function"!=typeof l)throw new Ce(_);!t&&Dt.prototype.thru&&"wrapper"==hr(l)&&(t=new Dt([],!0))}for(i=t?-1:r;++i<r;){var c=hr(l=s[i]),d="wrapper"==c?fr(l):o;t=d&&$r(d[0])&&d[1]==(h|u|p|g)&&!d[4].length&&1==d[9]?t[hr(d[0])].apply(t,d[3]):1==l.length&&$r(l)?t[c]():t.thru(l)}return function(){var e=arguments,n=e[0];if(t&&1==e.length&&Ui(n)&&n.length>=x)return t.plant(n).value();for(var i=0,o=r?s[i].apply(this,e):n;++i<r;)o=s[i].call(this,o);return o}}}function er(e,t){return function(n,r,i){return"function"==typeof r&&i===o&&Ui(n)?e(n,r):t(n,In(r,i,3))}}function tr(e){return function(t,n,r){return"function"==typeof n&&r===o||(n=In(n,r,3)),e(t,n,vo)}}function nr(e){return function(t,n,r){return"function"==typeof n&&r===o||(n=In(n,r,3)),e(t,n)}}function rr(e){return function(t,n,r){var i={};return n=pr(n,r,3),fn(t,function(t,r,o){var a=n(t,r,o);r=e?a:r,t=e?t:a,i[r]=t}),i}}function ir(e){return function(t,n,r){return t=Me(t),(e?t:"")+lr(t,n,r)+(e?"":t)}}function or(e){var t=Bi(function(n,r){var i=Xe(r,t.placeholder);return dr(n,e,o,r,i)});return t}function ar(e,t){return function(n,r,i,a){var s=arguments.length<3;return"function"==typeof r&&a===o&&Ui(n)?e(n,r,i,s):function(e,t,n,r,i){return i(e,function(e,i,o){n=r?(r=!1,e):t(n,e,i,o)}),n}(n,pr(r,a,4),i,s,t)}}function sr(e,t,r,i,a,g,m,v,b,y){var x=t&h,w=t&s,k=t&l,_=t&u,$=t&c,E=t&d,S=k?o:Wn(e);return function c(){for(var u=arguments.length,d=u,h=n(u);d--;)h[d]=arguments[d];if(i&&(h=zn(h,i,a)),g&&(h=Ln(h,g,m)),_||E){var C=c.placeholder,T=Xe(h,C);if((u-=T.length)<y){var A=v?Lt(v):o,O=yt(y-u,0);t|=_?p:f,t&=~(_?f:p),$||(t&=~(s|l));var P=[e,t,r,_?h:o,_?T:o,_?o:h,_?o:T,A,b,O],R=sr.apply(o,P);return $r(e)&&Ar(R,P),R.placeholder=C,R}}var j=w?r:this,D=k?j[e]:e;return v&&(h=function(e,t){for(var n=e.length,r=xt(t.length,n),i=Lt(e);r--;){var a=t[r];e[r]=wr(a,n)?i[a]:o}return e}(h,v)),x&&b<h.length&&(h.length=b),this&&this!==Re&&this instanceof c&&(D=S||Wn(e)),D.apply(j,h)}}function lr(e,t,n){var r=e.length;if(r>=(t=+t)||!vt(t))return"";var i=t-r;return Ao(n=null==n?" ":n+"",ft(i/n.length)).slice(0,i)}function cr(e){var t=ke[e];return function(e,n){return(n=n===o?0:+n||0)?(n=at(10,n),t(e*n)/n):t(e)}}function ur(e){return function(t,n,r,i){var o=pr(r);return null==r&&o===Qt?Dn(t,n,e):Nn(t,n,o(r,i,1),e)}}function dr(e,t,r,i,a,d,m,v){var b=t&l;if(!b&&"function"!=typeof e)throw new Ce(_);var y=i?i.length:0;if(y||(t&=~(p|f),i=a=o),y-=a?a.length:0,t&f){var x=i,w=a;i=a=o}var k=b?o:fr(e),E=[e,t,r,i,a,x,w,d,m,v];if(k&&(function(e,t){var n=e[1],r=t[1],i=n|r,o=i<h,a=r==h&&n==u||r==h&&n==g&&e[7].length<=t[8]||r==(h|g)&&n==u;if(!o&&!a)return e;r&s&&(e[2]=t[2],i|=n&s?0:c);var l=t[3];if(l){var d=e[3];e[3]=d?zn(d,l,t[4]):Lt(l),e[4]=d?Xe(e[3],$):Lt(t[4])}(l=t[5])&&(d=e[5],e[5]=d?Ln(d,l,t[6]):Lt(l),e[6]=d?Xe(e[5],$):Lt(t[6])),(l=t[7])&&(e[7]=Lt(l)),r&h&&(e[8]=null==e[8]?t[8]:xt(e[8],t[8])),null==e[9]&&(e[9]=t[9]),e[0]=t[0],e[1]=i}(E,k),t=E[1],v=E[9]),E[9]=null==v?b?0:e.length:yt(v-y,0)||0,t==s)var S=function(e,t){var n=Wn(e);return function r(){return(this&&this!==Re&&this instanceof r?n:e).apply(t,arguments)}}(E[0],E[2]);else S=t!=p&&t!=(s|p)||E[4].length?sr.apply(o,E):function(e,t,r,i){var o=t&s,a=Wn(e);return function t(){for(var s=-1,l=arguments.length,c=-1,u=i.length,d=n(u+l);++c<u;)d[c]=i[c];for(;l--;)d[c++]=arguments[++s];return(this&&this!==Re&&this instanceof t?a:e).apply(o?r:this,d)}}.apply(o,E);return(k?En:Ar)(S,E)}function pr(e,t,n){var r=Rt.callback||No;return r=r===No?Qt:r,n?r(e,t,n):r}var fr=Ot?function(e){return Ot.get(e)}:Bo;function hr(e){for(var t=e.name,n=Pt[t],r=n?n.length:0;r--;){var i=n[r],o=i.func;if(null==o||o==e)return i.name}return t}function gr(e,t,n){var r=Rt.indexOf||Br;return r=r===Br?Ne:r,e?r(e,t,n):r}var mr=kn("length");function vr(e){for(var t=wo(e),n=t.length;n--;)t[n][2]=Sr(t[n][1]);return t}function br(e,t){var n=null==e?o:e[t];return Yi(n)?n:o}function yr(e,t,n){null==e||_r(t,e)||(e=1==(t=jr(t)).length?e:mn(e,Sn(t,0,-1)),t=Fr(t));var r=null==e?e:e[t];return null==r?o:r.apply(e,n)}function xr(e){return null!=e&&Er(mr(e))}function wr(e,t){return e="number"==typeof e||pe.test(e)?+e:-1,t=null==t?At:t,e>-1&&e%1==0&&e<t}function kr(e,t,n){if(!Xi(n))return!1;var r=typeof t;if("number"==r?xr(n)&&wr(t,n.length):"string"==r&&t in n){var i=n[t];return e==e?e===i:i!=i}return!1}function _r(e,t){var n=typeof e;return!!("string"==n&&ne.test(e)||"number"==n)||!Ui(e)&&(!te.test(e)||null!=t&&e in Rr(t))}function $r(e){var t=hr(e);if(!(t in Nt.prototype))return!1;var n=Rt[t];if(e===n)return!0;var r=fr(n);return!!r&&e===r[0]}function Er(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=At}function Sr(e){return e==e&&!Xi(e)}function Cr(e,t){e=Rr(e);for(var n=-1,r=t.length,i={};++n<r;){var o=t[n];o in e&&(i[o]=e[o])}return i}function Tr(e,t){var n={};return pn(e,function(e,r,i){t(e,r,i)&&(n[r]=e)}),n}var Ar=function(){var e=0,t=0;return function(n,r){var i=$i(),o=y-(i-t);if(t=i,o>0){if(++e>=b)return n}else e=0;return En(n,r)}}();function Or(e){for(var t=vo(e),n=t.length,r=n&&e.length,i=!!r&&Er(r)&&(Ui(e)||Fi(e)),o=-1,a=[];++o<n;){var s=t[o];(i&&wr(s,r)||Ge.call(e,s))&&a.push(s)}return a}function Pr(e){return null==e?[]:xr(e)?Xi(e)?e:$e(e):_o(e)}function Rr(e){return Xi(e)?e:$e(e)}function jr(e){if(Ui(e))return e;var t=[];return Me(e).replace(re,function(e,n,r,i){t.push(r?i.replace(se,"$1"):n||e)}),t}function Dr(e){return e instanceof Nt?e.clone():new Dt(e.__wrapped__,e.__chain__,Lt(e.__actions__))}var Nr=Bi(function(e,t){return We(e)&&xr(e)?nn(e,cn(t,!1,!0)):[]});function Ir(e,t,n){return e&&e.length?((n?kr(e,t,n):null==t)&&(t=1),Sn(e,t<0?0:t)):[]}function Mr(e,t,n){var r=e?e.length:0;return r?((n?kr(e,t,n):null==t)&&(t=1),Sn(e,0,(t=r-(+t||0))<0?0:t)):[]}var zr=Kn(),Lr=Kn(!0);function qr(e){return e?e[0]:o}function Br(e,t,n){var r=e?e.length:0;if(!r)return-1;if("number"==typeof n)n=n<0?yt(r+n,0):n;else if(n){var i=Dn(e,t);return i<r&&(t==t?t===e[i]:e[i]!=e[i])?i:-1}return Ne(e,t,n||0)}var Vr=Bi(function(e){for(var t=e.length,r=t,i=n(d),o=gr(),a=o==Ne,s=[];r--;){var l=e[r]=xr(l=e[r])?l:[];i[r]=a&&l.length>=120?Un(r&&l):null}var c=e[0],u=-1,d=c?c.length:0,p=i[0];e:for(;++u<d;)if(l=c[u],(p?zt(p,l):o(s,l,0))<0){for(r=t;--r;){var f=i[r];if((f?zt(f,l):o(e[r],l,0))<0)continue e}p&&p.push(l),s.push(l)}return s});function Fr(e){var t=e?e.length:0;return t?e[t-1]:o}var Ur=Bi(function(e,t){var n=Zt(e,t=cn(t));return _n(e,t.sort(je)),n});function Hr(e){return Ir(e,1)}var Wr=ur(),Gr=ur(!0);var Xr=Bi(function(e){return On(cn(e,!1,!0))});function Yr(e,t,n,r){if(!e||!e.length)return[];null!=t&&"boolean"!=typeof t&&(n=kr(e,t,r=n)?o:t,t=!1);var i=pr();return null==n&&i===Qt||(n=i(n,r,3)),t&&gr()==Ne?function(e,t){for(var n,r=-1,i=e.length,o=-1,a=[];++r<i;){var s=e[r],l=t?t(s,r,e):s;r&&n===l||(n=l,a[++o]=s)}return a}(e,n):On(e,n)}function Zr(e){if(!e||!e.length)return[];var t=-1,r=0;e=Vt(e,function(e){if(xr(e))return r=yt(e.length,r),!0});for(var i=n(r);++t<r;)i[t]=Ft(e,kn(t));return i}function Kr(e,t,n){if(!e||!e.length)return[];var r=Zr(e);return null==t?r:(t=In(t,n,4),Ft(r,function(e){return Ht(e,t,o,!0)}))}var Qr=Bi(function(e,t){return xr(e)?nn(e,t):[]});var Jr=Bi(Zr);function ei(e,t){var n=-1,r=e?e.length:0,i={};for(!r||t||Ui(e[0])||(t=[]);++n<r;){var o=e[n];t?i[o]=t[n]:o&&(i[o[0]]=o[1])}return i}var ti=Bi(function(e){var t=e.length,n=t>2?e[t-2]:o,r=t>1?e[t-1]:o;return t>2&&"function"==typeof n?t-=2:(n=t>1&&"function"==typeof r?(--t,r):o,r=o),e.length=t,Kr(e,n,r)});function ni(e){var t=Rt(e);return t.__chain__=!0,t}function ri(e,t,n){return t.call(n,e)}var ii=Bi(function(e){return e=cn(e),this.thru(function(t){return function(e,t){for(var r=-1,i=e.length,o=-1,a=t.length,s=n(i+a);++r<i;)s[r]=e[r];for(;++o<a;)s[r++]=t[o];return s}(Ui(t)?t:[Rr(t)],e)})});var oi=Bi(function(e,t){return Zt(e,cn(t))}),ai=qn(function(e,t,n){Ge.call(e,n)?++e[n]:e[n]=1});function si(e,t,n){var r=Ui(e)?Bt:an;return n&&kr(e,t,n)&&(t=o),"function"==typeof t&&n===o||(t=pr(t,n,3)),r(e,t)}function li(e,t,n){return(Ui(e)?Vt:sn)(e,t=pr(t,n,3))}var ci=Zn(rn),ui=Zn(on,!0);var di=er(qt,rn),pi=er(function(e,t){for(var n=e.length;n--&&!1!==t(e[n],n,e););return e},on),fi=qn(function(e,t,n){Ge.call(e,n)?e[n].push(t):e[n]=[t]});function hi(e,t,n,r){var i=e?mr(e):0;return Er(i)||(i=(e=_o(e)).length),n="number"!=typeof n||r&&kr(t,n,r)?0:n<0?yt(i+n,0):n||0,"string"==typeof e||!Ui(e)&&Ji(e)?n<=i&&e.indexOf(t,n)>-1:!!i&&gr(e,t,n)>-1}var gi=qn(function(e,t,n){e[n]=t}),mi=Bi(function(e,t,r){var i=-1,a="function"==typeof t,s=_r(t),l=xr(e)?n(e.length):[];return rn(e,function(e){var n=a?t:s&&null!=e?e[t]:o;l[++i]=n?n.apply(e,r):yr(e,t,r)}),l});function vi(e,t,n){return(Ui(e)?Ft:yn)(e,t=pr(t,n,3))}var bi=qn(function(e,t,n){e[n?0:1].push(t)},function(){return[[],[]]});var yi=ar(Ht,rn),xi=ar(function(e,t,n,r){var i=e.length;for(r&&i&&(n=e[--i]);i--;)n=t(n,e[i],i,e);return n},on);function wi(e,t,n){if(n?kr(e,t,n):null==t)return(r=(e=Pr(e)).length)>0?e[$n(0,r-1)]:o;var r,i=-1,a=no(e),s=(r=a.length)-1;for(t=xt(t<0?0:+t||0,r);++i<t;){var l=$n(i,s),c=a[l];a[l]=a[i],a[i]=c}return a.length=t,a}function ki(e,t,n){var r=Ui(e)?Wt:Cn;return n&&kr(e,t,n)&&(t=o),"function"==typeof t&&n===o||(t=pr(t,n,3)),r(e,t)}var _i=Bi(function(e,t){if(null==e)return[];var n=t[2];return n&&kr(t[0],t[1],n)&&(t.length=1),An(e,cn(t),[])});var $i=wt||function(){return(new r).getTime()};function Ei(e,t){var n;if("function"!=typeof t){if("function"!=typeof e)throw new Ce(_);var r=e;e=t,t=r}return function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=o),n}}var Si=Bi(function(e,t,n){var r=s;if(n.length){var i=Xe(n,Si.placeholder);r|=p}return dr(e,r,t,n,i)}),Ci=Bi(function(e,t){for(var n=-1,r=(t=t.length?cn(t):go(e)).length;++n<r;){var i=t[n];e[i]=dr(e[i],s,e)}return e}),Ti=Bi(function(e,t,n){var r=s|l;if(n.length){var i=Xe(n,Ti.placeholder);r|=p}return dr(t,r,e,n,i)}),Ai=Gn(u),Oi=Gn(d);function Pi(e,t,n){var r,i,a,s,l,c,u,d=0,p=!1,f=!0;if("function"!=typeof e)throw new Ce(_);if(t=t<0?0:+t||0,!0===n){var h=!0;f=!1}else Xi(n)&&(h=!!n.leading,p="maxWait"in n&&yt(+n.maxWait||0,t),f="trailing"in n?!!n.trailing:f);function g(t,n){n&&it(n),i=c=u=o,t&&(d=$i(),a=e.apply(l,r),c||i||(r=l=o))}function m(){var e=t-($i()-s);e<=0||e>t?g(u,i):c=ct(m,e)}function v(){g(f,c)}function b(){if(r=arguments,s=$i(),l=this,u=f&&(c||!h),!1===p)var n=h&&!c;else{i||h||(d=s);var g=p-(s-d),b=g<=0||g>p;b?(i&&(i=it(i)),d=s,a=e.apply(l,r)):i||(i=ct(v,g))}return b&&c?c=it(c):c||t===p||(c=ct(m,t)),n&&(b=!0,a=e.apply(l,r)),!b||c||i||(r=l=o),a}return b.cancel=function(){c&&it(c),i&&it(i),d=0,i=c=u=o},b}var Ri=Bi(function(e,t){return tn(e,1,t)}),ji=Bi(function(e,t,n){return tn(e,t,n)}),Di=Jn(),Ni=Jn(!0);function Ii(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw new Ce(_);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=e.apply(this,r);return n.cache=o.set(i,a),a};return n.cache=new Ii.Cache,n}var Mi=Bi(function(e,t){if(t=cn(t),"function"!=typeof e||!Bt(t,Ie))throw new Ce(_);var n=t.length;return Bi(function(r){for(var i=xt(r.length,n);i--;)r[i]=t[i](r[i]);return e.apply(this,r)})});var zi=or(p),Li=or(f),qi=Bi(function(e,t){return dr(e,g,o,o,o,cn(t))});function Bi(e,t){if("function"!=typeof e)throw new Ce(_);return t=yt(t===o?e.length-1:+t||0,0),function(){for(var r=arguments,i=-1,o=yt(r.length-t,0),a=n(o);++i<o;)a[i]=r[t+i];switch(t){case 0:return e.call(this,a);case 1:return e.call(this,r[0],a);case 2:return e.call(this,r[0],r[1],a)}var s=n(t+1);for(i=-1;++i<t;)s[i]=r[i];return s[t]=a,e.apply(this,s)}}function Vi(e,t){return e>t}function Fi(e){return We(e)&&xr(e)&&Ge.call(e,"callee")&&!st.call(e,"callee")}var Ui=mt||function(e){return We(e)&&Er(e.length)&&et.call(e)==S};function Hi(e,t,n,r){var i=(n="function"==typeof n?In(n,r,3):o)?n(e,t):o;return i===o?vn(e,t,n):!!i}function Wi(e){return We(e)&&"string"==typeof e.message&&et.call(e)==A}function Gi(e){return Xi(e)&&et.call(e)==O}function Xi(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function Yi(e){return null!=e&&(Gi(e)?nt.test(Pe.call(e)):We(e)&&de.test(e))}function Zi(e){return"number"==typeof e||We(e)&&et.call(e)==P}function Ki(e){var t,n;return!(!We(e)||et.call(e)!=R||Fi(e)||!(Ge.call(e,"constructor")||"function"!=typeof(t=e.constructor)||t instanceof t))&&(pn(e,function(e,t){n=t}),n===o||Ge.call(e,n))}function Qi(e){return Xi(e)&&et.call(e)==j}function Ji(e){return"string"==typeof e||We(e)&&et.call(e)==D}function eo(e){return We(e)&&Er(e.length)&&!!ye[et.call(e)]}function to(e,t){return e<t}function no(e){var t=e?mr(e):0;return Er(t)?t?Lt(e):[]:_o(e)}function ro(e){return Kt(e,vo(e))}var io=Bn(function e(t,n,r,i,a){if(!Xi(t))return t;var s=xr(n)&&(Ui(n)||eo(n)),l=s?o:mo(n);return qt(l||n,function(c,u){if(l&&(c=n[u=c]),We(c))i||(i=[]),a||(a=[]),function(e,t,n,r,i,a,s){for(var l=a.length,c=t[n];l--;)if(a[l]==c)return void(e[n]=s[l]);var u=e[n],d=i?i(u,c,n,e,t):o,p=d===o;p&&(d=c,xr(c)&&(Ui(c)||eo(c))?d=Ui(u)?u:xr(u)?Lt(u):[]:Ki(c)||Fi(c)?d=Fi(u)?ro(u):Ki(u)?u:{}:p=!1),a.push(c),s.push(d),p?e[n]=r(d,c,i,a,s):(d==d?d!==u:u==u)&&(e[n]=d)}(t,n,u,e,r,i,a);else{var d=t[u],p=r?r(d,c,u,t,n):o,f=p===o;f&&(p=c),p===o&&(!s||u in t)||!f&&(p==p?p===d:d!=d)||(t[u]=p)}}),t}),oo=Bn(function(e,t,n){return n?Xt(e,t,n):Yt(e,t)});var ao=Xn(oo,function(e,t){return e===o?t:e}),so=Xn(io,function e(t,n){return t===o?n:io(t,n,e)}),lo=Qn(fn),co=Qn(hn),uo=tr(un),po=tr(dn),fo=nr(fn),ho=nr(hn);function go(e){return gn(e,vo(e))}var mo=bt?function(e){var t=null==e?o:e.constructor;return"function"==typeof t&&t.prototype===e||"function"!=typeof e&&xr(e)?Or(e):Xi(e)?bt(e):[]}:Or;function vo(e){if(null==e)return[];Xi(e)||(e=$e(e));var t=e.length;t=t&&Er(t)&&(Ui(e)||Fi(e))&&t||0;for(var r=e.constructor,i=-1,o="function"==typeof r&&r.prototype===e,a=n(t),s=t>0;++i<t;)a[i]=i+"";for(var l in e)s&&wr(l,t)||"constructor"==l&&(o||!Ge.call(e,l))||a.push(l);return a}var bo=rr(!0),yo=rr(),xo=Bi(function(e,t){if(null==e)return{};if("function"!=typeof t[0])return t=Ft(cn(t),Se),Cr(e,nn(vo(e),t));var n=In(t[0],t[1],3);return Tr(e,function(e,t,r){return!n(e,t,r)})});function wo(e){e=Rr(e);for(var t=-1,r=mo(e),i=r.length,o=n(i);++t<i;){var a=r[t];o[t]=[a,e[a]]}return o}var ko=Bi(function(e,t){return null==e?{}:"function"==typeof t[0]?Tr(e,In(t[0],t[1],3)):Cr(e,cn(t))});function _o(e){return Pn(e,mo(e))}var $o=Hn(function(e,t,n){return t=t.toLowerCase(),e+(n?t.charAt(0).toUpperCase()+t.slice(1):t)});function Eo(e){return(e=Me(e))&&e.replace(fe,Be).replace(ae,"")}var So=Hn(function(e,t,n){return e+(n?"-":"")+t.toLowerCase()});var Co=ir(),To=ir(!0);function Ao(e,t){var n="";if(e=Me(e),(t=+t)<1||!e||!vt(t))return n;do{t%2&&(n+=e),t=gt(t/2),e+=e}while(t);return n}var Oo=Hn(function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}),Po=Hn(function(e,t,n){return e+(n?" ":"")+(t.charAt(0).toUpperCase()+t.slice(1))});function Ro(e,t,n){var r=e;return(e=Me(e))?(n?kr(r,t,n):null==t)?e.slice(Ye(e),Ze(e)+1):(t+="",e.slice(ze(e,t),Le(e,t)+1)):e}function jo(e,t,n){return n&&kr(e,t,n)&&(t=o),(e=Me(e)).match(t||me)||[]}var Do=Bi(function(e,t){try{return e.apply(o,t)}catch(e){return Wi(e)?e:new i(e)}});function No(e,t,n){return n&&kr(e,t,n)&&(t=o),We(e)?Mo(e):Qt(e,t)}function Io(e){return e}function Mo(e){return xn(Jt(e,!0))}var zo=Bi(function(e,t){return function(n){return yr(n,e,t)}}),Lo=Bi(function(e,t){return function(n){return yr(e,n,t)}});function qo(e,t,n){if(null==n){var r=Xi(t),i=r?mo(t):o,a=i&&i.length?gn(t,i):o;(a?a.length:r)||(a=!1,n=t,t=e,e=this)}a||(a=gn(t,mo(t)));var s=!0,l=-1,c=Gi(e),u=a.length;!1===n?s=!1:Xi(n)&&"chain"in n&&(s=n.chain);for(;++l<u;){var d=a[l],p=t[d];e[d]=p,c&&(e.prototype[d]=function(t){return function(){var n=this.__chain__;if(s||n){var r=e(this.__wrapped__);return(r.__actions__=Lt(this.__actions__)).push({func:t,args:arguments,thisArg:e}),r.__chain__=n,r}return t.apply(e,Ut([this.value()],arguments))}}(p))}return e}function Bo(){}function Vo(e){return _r(e)?kn(e):function(e){var t=e+"";return e=jr(e),function(n){return mn(n,e,t)}}(e)}var Fo=cr("ceil"),Uo=cr("floor"),Ho=Yn(Vi,$t),Wo=Yn(to,Et),Go=cr("round");return Rt.prototype=jt.prototype,Dt.prototype=en(jt.prototype),Dt.prototype.constructor=Dt,Nt.prototype=en(jt.prototype),Nt.prototype.constructor=Nt,It.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},It.prototype.get=function(e){return"__proto__"==e?o:this.__data__[e]},It.prototype.has=function(e){return"__proto__"!=e&&Ge.call(this.__data__,e)},It.prototype.set=function(e,t){return"__proto__"!=e&&(this.__data__[e]=t),this},Mt.prototype.push=function(e){var t=this.data;"string"==typeof e||Xi(e)?t.set.add(e):t.hash[e]=!0},Ii.Cache=It,Rt.after=function(e,t){if("function"!=typeof t){if("function"!=typeof e)throw new Ce(_);var n=e;e=t,t=n}return e=vt(e=+e)?e:0,function(){if(--e<1)return t.apply(this,arguments)}},Rt.ary=function(e,t,n){return n&&kr(e,t,n)&&(t=o),t=e&&null==t?e.length:yt(+t||0,0),dr(e,h,o,o,o,o,t)},Rt.assign=oo,Rt.at=oi,Rt.before=Ei,Rt.bind=Si,Rt.bindAll=Ci,Rt.bindKey=Ti,Rt.callback=No,Rt.chain=ni,Rt.chunk=function(e,t,r){t=(r?kr(e,t,r):null==t)?1:yt(gt(t)||1,1);for(var i=0,o=e?e.length:0,a=-1,s=n(ft(o/t));i<o;)s[++a]=Sn(e,i,i+=t);return s},Rt.compact=function(e){for(var t=-1,n=e?e.length:0,r=-1,i=[];++t<n;){var o=e[t];o&&(i[++r]=o)}return i},Rt.constant=function(e){return function(){return e}},Rt.countBy=ai,Rt.create=function(e,t,n){var r=en(e);return n&&kr(e,t,n)&&(t=o),t?Yt(r,t):r},Rt.curry=Ai,Rt.curryRight=Oi,Rt.debounce=Pi,Rt.defaults=ao,Rt.defaultsDeep=so,Rt.defer=Ri,Rt.delay=ji,Rt.difference=Nr,Rt.drop=Ir,Rt.dropRight=Mr,Rt.dropRightWhile=function(e,t,n){return e&&e.length?Rn(e,pr(t,n,3),!0,!0):[]},Rt.dropWhile=function(e,t,n){return e&&e.length?Rn(e,pr(t,n,3),!0):[]},Rt.fill=function(e,t,n,r){var i=e?e.length:0;return i?(n&&"number"!=typeof n&&kr(e,t,n)&&(n=0,r=i),function(e,t,n,r){var i=e.length;for((n=null==n?0:+n||0)<0&&(n=-n>i?0:i+n),(r=r===o||r>i?i:+r||0)<0&&(r+=i),i=n>r?0:r>>>0,n>>>=0;n<i;)e[n++]=t;return e}(e,t,n,r)):[]},Rt.filter=li,Rt.flatten=function(e,t,n){var r=e?e.length:0;return n&&kr(e,t,n)&&(t=!1),r?cn(e,t):[]},Rt.flattenDeep=function(e){return e&&e.length?cn(e,!0):[]},Rt.flow=Di,Rt.flowRight=Ni,Rt.forEach=di,Rt.forEachRight=pi,Rt.forIn=uo,Rt.forInRight=po,Rt.forOwn=fo,Rt.forOwnRight=ho,Rt.functions=go,Rt.groupBy=fi,Rt.indexBy=gi,Rt.initial=function(e){return Mr(e,1)},Rt.intersection=Vr,Rt.invert=function(e,t,n){n&&kr(e,t,n)&&(t=o);for(var r=-1,i=mo(e),a=i.length,s={};++r<a;){var l=i[r],c=e[l];t?Ge.call(s,c)?s[c].push(l):s[c]=[l]:s[c]=l}return s},Rt.invoke=mi,Rt.keys=mo,Rt.keysIn=vo,Rt.map=vi,Rt.mapKeys=bo,Rt.mapValues=yo,Rt.matches=Mo,Rt.matchesProperty=function(e,t){return wn(e,Jt(t,!0))},Rt.memoize=Ii,Rt.merge=io,Rt.method=zo,Rt.methodOf=Lo,Rt.mixin=qo,Rt.modArgs=Mi,Rt.negate=function(e){if("function"!=typeof e)throw new Ce(_);return function(){return!e.apply(this,arguments)}},Rt.omit=xo,Rt.once=function(e){return Ei(2,e)},Rt.pairs=wo,Rt.partial=zi,Rt.partialRight=Li,Rt.partition=bi,Rt.pick=ko,Rt.pluck=function(e,t){return vi(e,Vo(t))},Rt.property=Vo,Rt.propertyOf=function(e){return function(t){return mn(e,jr(t),t+"")}},Rt.pull=function(){var e=arguments,t=e[0];if(!t||!t.length)return t;for(var n=0,r=gr(),i=e.length;++n<i;)for(var o=0,a=e[n];(o=r(t,a,o))>-1;)ut.call(t,o,1);return t},Rt.pullAt=Ur,Rt.range=function(e,t,r){r&&kr(e,t,r)&&(t=r=o),e=+e||0,r=null==r?1:+r||0,null==t?(t=e,e=0):t=+t||0;for(var i=-1,a=yt(ft((t-e)/(r||1)),0),s=n(a);++i<a;)s[i]=e,e+=r;return s},Rt.rearg=qi,Rt.reject=function(e,t,n){var r=Ui(e)?Vt:sn;return t=pr(t,n,3),r(e,function(e,n,r){return!t(e,n,r)})},Rt.remove=function(e,t,n){var r=[];if(!e||!e.length)return r;var i=-1,o=[],a=e.length;for(t=pr(t,n,3);++i<a;){var s=e[i];t(s,i,e)&&(r.push(s),o.push(i))}return _n(e,o),r},Rt.rest=Hr,Rt.restParam=Bi,Rt.set=function(e,t,n){if(null==e)return e;for(var r=t+"",i=-1,o=(t=null!=e[r]||_r(t,e)?[r]:jr(t)).length,a=o-1,s=e;null!=s&&++i<o;){var l=t[i];Xi(s)&&(i==a?s[l]=n:null==s[l]&&(s[l]=wr(t[i+1])?[]:{})),s=s[l]}return e},Rt.shuffle=function(e){return wi(e,Et)},Rt.slice=function(e,t,n){var r=e?e.length:0;return r?(n&&"number"!=typeof n&&kr(e,t,n)&&(t=0,n=r),Sn(e,t,n)):[]},Rt.sortBy=function(e,t,n){if(null==e)return[];n&&kr(e,t,n)&&(t=o);var r=-1;return t=pr(t,n,3),Tn(yn(e,function(e,n,i){return{criteria:t(e,n,i),index:++r,value:e}}),qe)},Rt.sortByAll=_i,Rt.sortByOrder=function(e,t,n,r){return null==e?[]:(r&&kr(t,n,r)&&(n=o),Ui(t)||(t=null==t?[]:[t]),Ui(n)||(n=null==n?[]:[n]),An(e,t,n))},Rt.spread=function(e){if("function"!=typeof e)throw new Ce(_);return function(t){return e.apply(this,t)}},Rt.take=function(e,t,n){return e&&e.length?((n?kr(e,t,n):null==t)&&(t=1),Sn(e,0,t<0?0:t)):[]},Rt.takeRight=function(e,t,n){var r=e?e.length:0;return r?((n?kr(e,t,n):null==t)&&(t=1),Sn(e,(t=r-(+t||0))<0?0:t)):[]},Rt.takeRightWhile=function(e,t,n){return e&&e.length?Rn(e,pr(t,n,3),!1,!0):[]},Rt.takeWhile=function(e,t,n){return e&&e.length?Rn(e,pr(t,n,3)):[]},Rt.tap=function(e,t,n){return t.call(n,e),e},Rt.throttle=function(e,t,n){var r=!0,i=!0;if("function"!=typeof e)throw new Ce(_);return!1===n?r=!1:Xi(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),Pi(e,t,{leading:r,maxWait:+t,trailing:i})},Rt.thru=ri,Rt.times=function(e,t,r){if((e=gt(e))<1||!vt(e))return[];var i=-1,o=n(xt(e,St));for(t=In(t,r,1);++i<e;)i<St?o[i]=t(i):t(i);return o},Rt.toArray=no,Rt.toPlainObject=ro,Rt.transform=function(e,t,n,r){var i=Ui(e)||eo(e);if(t=pr(t,r,4),null==n)if(i||Xi(e)){var a=e.constructor;n=i?Ui(e)?new a:[]:en(Gi(a)?a.prototype:o)}else n={};return(i?qt:fn)(e,function(e,r,i){return t(n,e,r,i)}),n},Rt.union=Xr,Rt.uniq=Yr,Rt.unzip=Zr,Rt.unzipWith=Kr,Rt.values=_o,Rt.valuesIn=function(e){return Pn(e,vo(e))},Rt.where=function(e,t){return li(e,xn(t))},Rt.without=Qr,Rt.wrap=function(e,t){return dr(t=null==t?Io:t,p,o,[e],[])},Rt.xor=function(){for(var e=-1,t=arguments.length;++e<t;){var n=arguments[e];if(xr(n))var r=r?Ut(nn(r,n),nn(n,r)):n}return r?On(r):[]},Rt.zip=Jr,Rt.zipObject=ei,Rt.zipWith=ti,Rt.backflow=Ni,Rt.collect=vi,Rt.compose=Ni,Rt.each=di,Rt.eachRight=pi,Rt.extend=oo,Rt.iteratee=No,Rt.methods=go,Rt.object=ei,Rt.select=li,Rt.tail=Hr,Rt.unique=Yr,qo(Rt,Rt),Rt.add=function(e,t){return(+e||0)+(+t||0)},Rt.attempt=Do,Rt.camelCase=$o,Rt.capitalize=function(e){return(e=Me(e))&&e.charAt(0).toUpperCase()+e.slice(1)},Rt.ceil=Fo,Rt.clone=function(e,t,n,r){return t&&"boolean"!=typeof t&&kr(e,t,n)?t=!1:"function"==typeof t&&(r=n,n=t,t=!1),"function"==typeof n?Jt(e,t,In(n,r,1)):Jt(e,t)},Rt.cloneDeep=function(e,t,n){return"function"==typeof t?Jt(e,!0,In(t,n,1)):Jt(e,!0)},Rt.deburr=Eo,Rt.endsWith=function(e,t,n){t+="";var r=(e=Me(e)).length;return n=n===o?r:xt(n<0?0:+n||0,r),(n-=t.length)>=0&&e.indexOf(t,n)==n},Rt.escape=function(e){return(e=Me(e))&&K.test(e)?e.replace(Y,Ve):e},Rt.escapeRegExp=function(e){return(e=Me(e))&&oe.test(e)?e.replace(ie,Fe):e||"(?:)"},Rt.every=si,Rt.find=ci,Rt.findIndex=zr,Rt.findKey=lo,Rt.findLast=ui,Rt.findLastIndex=Lr,Rt.findLastKey=co,Rt.findWhere=function(e,t){return ci(e,xn(t))},Rt.first=qr,Rt.floor=Uo,Rt.get=function(e,t,n){var r=null==e?o:mn(e,jr(t),t+"");return r===o?n:r},Rt.gt=Vi,Rt.gte=function(e,t){return e>=t},Rt.has=function(e,t){if(null==e)return!1;var n=Ge.call(e,t);if(!n&&!_r(t)){if(null==(e=1==(t=jr(t)).length?e:mn(e,Sn(t,0,-1))))return!1;t=Fr(t),n=Ge.call(e,t)}return n||Er(e.length)&&wr(t,e.length)&&(Ui(e)||Fi(e))},Rt.identity=Io,Rt.includes=hi,Rt.indexOf=Br,Rt.inRange=function(e,t,n){return t=+t||0,n===o?(n=t,t=0):n=+n||0,e>=xt(t,n)&&e<yt(t,n)},Rt.isArguments=Fi,Rt.isArray=Ui,Rt.isBoolean=function(e){return!0===e||!1===e||We(e)&&et.call(e)==C},Rt.isDate=function(e){return We(e)&&et.call(e)==T},Rt.isElement=function(e){return!!e&&1===e.nodeType&&We(e)&&!Ki(e)},Rt.isEmpty=function(e){return null==e||(xr(e)&&(Ui(e)||Ji(e)||Fi(e)||We(e)&&Gi(e.splice))?!e.length:!mo(e).length)},Rt.isEqual=Hi,Rt.isError=Wi,Rt.isFinite=function(e){return"number"==typeof e&&vt(e)},Rt.isFunction=Gi,Rt.isMatch=function(e,t,n,r){return n="function"==typeof n?In(n,r,3):o,bn(e,vr(t),n)},Rt.isNaN=function(e){return Zi(e)&&e!=+e},Rt.isNative=Yi,Rt.isNull=function(e){return null===e},Rt.isNumber=Zi,Rt.isObject=Xi,Rt.isPlainObject=Ki,Rt.isRegExp=Qi,Rt.isString=Ji,Rt.isTypedArray=eo,Rt.isUndefined=function(e){return e===o},Rt.kebabCase=So,Rt.last=Fr,Rt.lastIndexOf=function(e,t,n){var r=e?e.length:0;if(!r)return-1;var i=r;if("number"==typeof n)i=(n<0?yt(r+n,0):xt(n||0,r-1))+1;else if(n){var o=e[i=Dn(e,t,!0)-1];return(t==t?t===o:o!=o)?i:-1}if(t!=t)return He(e,i,!0);for(;i--;)if(e[i]===t)return i;return-1},Rt.lt=to,Rt.lte=function(e,t){return e<=t},Rt.max=Ho,Rt.min=Wo,Rt.noConflict=function(){return Re._=tt,this},Rt.noop=Bo,Rt.now=$i,Rt.pad=function(e,t,n){t=+t;var r=(e=Me(e)).length;if(r>=t||!vt(t))return e;var i=(t-r)/2,o=gt(i);return(n=lr("",ft(i),n)).slice(0,o)+e+n},Rt.padLeft=Co,Rt.padRight=To,Rt.parseInt=function(e,t,n){return(n?kr(e,t,n):null==t)?t=0:t&&(t=+t),e=Ro(e),kt(e,t||(ue.test(e)?16:10))},Rt.random=function(e,t,n){n&&kr(e,t,n)&&(t=n=o);var r=null==e,i=null==t;if(null==n&&(i&&"boolean"==typeof e?(n=e,e=1):"boolean"==typeof t&&(n=t,i=!0)),r&&i&&(t=1,i=!1),e=+e||0,i?(t=e,e=0):t=+t||0,n||e%1||t%1){var a=_t();return xt(e+a*(t-e+ot("1e-"+((a+"").length-1))),t)}return $n(e,t)},Rt.reduce=yi,Rt.reduceRight=xi,Rt.repeat=Ao,Rt.result=function(e,t,n){var r=null==e?o:e[t];return r===o&&(null==e||_r(t,e)||(r=null==(e=1==(t=jr(t)).length?e:mn(e,Sn(t,0,-1)))?o:e[Fr(t)]),r=r===o?n:r),Gi(r)?r.call(e):r},Rt.round=Go,Rt.runInContext=e,Rt.size=function(e){var t=e?mr(e):0;return Er(t)?t:mo(e).length},Rt.snakeCase=Oo,Rt.some=ki,Rt.sortedIndex=Wr,Rt.sortedLastIndex=Gr,Rt.startCase=Po,Rt.startsWith=function(e,t,n){return e=Me(e),n=null==n?0:xt(n<0?0:+n||0,e.length),e.lastIndexOf(t,n)==n},Rt.sum=function(e,t,n){return n&&kr(e,t,n)&&(t=o),1==(t=pr(t,n,3)).length?function(e,t){for(var n=e.length,r=0;n--;)r+=+t(e[n])||0;return r}(Ui(e)?e:Pr(e),t):function(e,t){var n=0;return rn(e,function(e,r,i){n+=+t(e,r,i)||0}),n}(e,t)},Rt.template=function(e,t,n){var r=Rt.templateSettings;n&&kr(e,t,n)&&(t=n=o),e=Me(e);var i,a,s=Xt(Yt({},(t=Xt(Yt({},n||t),r,Gt)).imports),r.imports,Gt),l=mo(s),c=Pn(s,l),u=0,d=t.interpolate||he,p="__p += '",f=Ee((t.escape||he).source+"|"+d.source+"|"+(d===ee?le:he).source+"|"+(t.evaluate||he).source+"|$","g"),h="//# sourceURL="+("sourceURL"in t?t.sourceURL:"lodash.templateSources["+ ++be+"]")+"\n";e.replace(f,function(t,n,r,o,s,l){return r||(r=o),p+=e.slice(u,l).replace(ge,Ue),n&&(i=!0,p+="' +\n__e("+n+") +\n'"),s&&(a=!0,p+="';\n"+s+";\n__p += '"),r&&(p+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),u=l+t.length,t}),p+="';\n";var g=t.variable;g||(p="with (obj) {\n"+p+"\n}\n"),p=(a?p.replace(H,""):p).replace(W,"$1").replace(G,"$1;"),p="function("+(g||"obj")+") {\n"+(g?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(i?", __e = _.escape":"")+(a?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+p+"return __p\n}";var m=Do(function(){return we(l,h+"return "+p).apply(o,c)});if(m.source=p,Wi(m))throw m;return m},Rt.trim=Ro,Rt.trimLeft=function(e,t,n){var r=e;return(e=Me(e))?(n?kr(r,t,n):null==t)?e.slice(Ye(e)):e.slice(ze(e,t+"")):e},Rt.trimRight=function(e,t,n){var r=e;return(e=Me(e))?(n?kr(r,t,n):null==t)?e.slice(0,Ze(e)+1):e.slice(0,Le(e,t+"")+1):e},Rt.trunc=function(e,t,n){n&&kr(e,t,n)&&(t=o);var r=m,i=v;if(null!=t)if(Xi(t)){var a="separator"in t?t.separator:a;r="length"in t?+t.length||0:r,i="omission"in t?Me(t.omission):i}else r=+t||0;if(r>=(e=Me(e)).length)return e;var s=r-i.length;if(s<1)return i;var l=e.slice(0,s);if(null==a)return l+i;if(Qi(a)){if(e.slice(s).search(a)){var c,u,d=e.slice(0,s);for(a.global||(a=Ee(a.source,(ce.exec(a)||"")+"g")),a.lastIndex=0;c=a.exec(d);)u=c.index;l=l.slice(0,null==u?s:u)}}else if(e.indexOf(a,s)!=s){var p=l.lastIndexOf(a);p>-1&&(l=l.slice(0,p))}return l+i},Rt.unescape=function(e){return(e=Me(e))&&Z.test(e)?e.replace(X,Ke):e},Rt.uniqueId=function(e){var t=++Je;return Me(e)+t},Rt.words=jo,Rt.all=si,Rt.any=ki,Rt.contains=hi,Rt.eq=Hi,Rt.detect=ci,Rt.foldl=yi,Rt.foldr=xi,Rt.head=qr,Rt.include=hi,Rt.inject=yi,qo(Rt,function(){var e={};return fn(Rt,function(t,n){Rt.prototype[n]||(e[n]=t)}),e}(),!1),Rt.sample=wi,Rt.prototype.sample=function(e){return this.__chain__||null!=e?this.thru(function(t){return wi(t,e)}):wi(this.value())},Rt.VERSION=a,qt(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){Rt[e].placeholder=Rt}),qt(["drop","take"],function(e,t){Nt.prototype[e]=function(n){var r=this.__filtered__;if(r&&!t)return new Nt(this);n=null==n?1:yt(gt(n)||0,0);var i=this.clone();return r?i.__takeCount__=xt(i.__takeCount__,n):i.__views__.push({size:n,type:e+(i.__dir__<0?"Right":"")}),i},Nt.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}}),qt(["filter","map","takeWhile"],function(e,t){var n=t+1,r=n!=k;Nt.prototype[e]=function(e,t){var i=this.clone();return i.__iteratees__.push({iteratee:pr(e,t,1),type:n}),i.__filtered__=i.__filtered__||r,i}}),qt(["first","last"],function(e,t){var n="take"+(t?"Right":"");Nt.prototype[e]=function(){return this[n](1).value()[0]}}),qt(["initial","rest"],function(e,t){var n="drop"+(t?"":"Right");Nt.prototype[e]=function(){return this.__filtered__?new Nt(this):this[n](1)}}),qt(["pluck","where"],function(e,t){var n=t?"filter":"map",r=t?xn:Vo;Nt.prototype[e]=function(e){return this[n](r(e))}}),Nt.prototype.compact=function(){return this.filter(Io)},Nt.prototype.reject=function(e,t){return e=pr(e,t,1),this.filter(function(t){return!e(t)})},Nt.prototype.slice=function(e,t){e=null==e?0:+e||0;var n=this;return n.__filtered__&&(e>0||t<0)?new Nt(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==o&&(n=(t=+t||0)<0?n.dropRight(-t):n.take(t-e)),n)},Nt.prototype.takeRightWhile=function(e,t){return this.reverse().takeWhile(e,t).reverse()},Nt.prototype.toArray=function(){return this.take(Et)},fn(Nt.prototype,function(e,t){var n=/^(?:filter|map|reject)|While$/.test(t),r=/^(?:first|last)$/.test(t),i=Rt[r?"take"+("last"==t?"Right":""):t];i&&(Rt.prototype[t]=function(){var t=r?[1]:arguments,a=this.__chain__,s=this.__wrapped__,l=!!this.__actions__.length,c=s instanceof Nt,u=t[0],d=c||Ui(s);d&&n&&"function"==typeof u&&1!=u.length&&(c=d=!1);var p=function(e){return r&&a?i(e,1)[0]:i.apply(o,Ut([e],t))},f={func:ri,args:[p],thisArg:o},h=c&&!l;if(r&&!a)return h?((s=s.clone()).__actions__.push(f),e.call(s)):i.call(o,this.value())[0];if(!r&&d){s=h?s:new Nt(this);var g=e.apply(s,t);return g.__actions__.push(f),new Dt(g,a)}return this.thru(p)})}),qt(["join","pop","push","replace","shift","sort","splice","split","unshift"],function(e){var t=(/^(?:replace|split)$/.test(e)?Oe:Te)[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:join|pop|replace|shift)$/.test(e);Rt.prototype[e]=function(){var e=arguments;return r&&!this.__chain__?t.apply(this.value(),e):this[n](function(n){return t.apply(n,e)})}}),fn(Nt.prototype,function(e,t){var n=Rt[t];if(n){var r=n.name;(Pt[r]||(Pt[r]=[])).push({name:t,func:n})}}),Pt[sr(o,l).name]=[{name:"wrapper",func:o}],Nt.prototype.clone=function(){var e=new Nt(this.__wrapped__);return e.__actions__=Lt(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Lt(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Lt(this.__views__),e},Nt.prototype.reverse=function(){if(this.__filtered__){var e=new Nt(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},Nt.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=Ui(e),r=t<0,i=n?e.length:0,o=function(e,t,n){for(var r=-1,i=n.length;++r<i;){var o=n[r],a=o.size;switch(o.type){case"drop":e+=a;break;case"dropRight":t-=a;break;case"take":t=xt(t,e+a);break;case"takeRight":e=yt(e,t-a)}}return{start:e,end:t}}(0,i,this.__views__),a=o.start,s=o.end,l=s-a,c=r?s:a-1,u=this.__iteratees__,d=u.length,p=0,f=xt(l,this.__takeCount__);if(!n||i<x||i==l&&f==l)return jn(r&&n?e.reverse():e,this.__actions__);var h=[];e:for(;l--&&p<f;){for(var g=-1,m=e[c+=t];++g<d;){var v=u[g],b=v.iteratee,y=v.type,_=b(m);if(y==k)m=_;else if(!_){if(y==w)continue e;break e}}h[p++]=m}return h},Rt.prototype.chain=function(){return ni(this)},Rt.prototype.commit=function(){return new Dt(this.value(),this.__chain__)},Rt.prototype.concat=ii,Rt.prototype.plant=function(e){for(var t,n=this;n instanceof jt;){var r=Dr(n);t?i.__wrapped__=r:t=r;var i=r;n=n.__wrapped__}return i.__wrapped__=e,t},Rt.prototype.reverse=function(){var e=this.__wrapped__,t=function(e){return n&&n.__dir__<0?e:e.reverse()};if(e instanceof Nt){var n=e;return this.__actions__.length&&(n=new Nt(this)),(n=n.reverse()).__actions__.push({func:ri,args:[t],thisArg:o}),new Dt(n,this.__chain__)}return this.thru(t)},Rt.prototype.toString=function(){return this.value()+""},Rt.prototype.run=Rt.prototype.toJSON=Rt.prototype.valueOf=Rt.prototype.value=function(){return jn(this.__wrapped__,this.__actions__)},Rt.prototype.collect=Rt.prototype.map,Rt.prototype.head=Rt.prototype.first,Rt.prototype.select=Rt.prototype.filter,Rt.prototype.tail=Rt.prototype.rest,Rt}();Re._=Qe,(i=function(){return Qe}.call(t,n,t,e))===o||(e.exports=i)}).call(this)}).call(this,n(32)(e),n(15))},function(e,t,n){"use strict";var r=n(2),i=n(152),o=n(149),a=n(148),s=n(7).normalizeRanks,l=n(146),c=n(7).removeEmptyRanks,u=n(145),d=n(144),p=n(143),f=n(142),h=n(133),g=n(7),m=n(11).Graph;e.exports=function(e,t){var n=t&&t.debugTiming?g.time:g.notime;n("layout",function(){var t=n("  buildLayoutGraph",function(){return function(e){var t=new m({multigraph:!0,compound:!0}),n=S(e.graph());return t.setGraph(r.merge({},b,E(n,v),r.pick(n,y))),r.each(e.nodes(),function(n){var i=S(e.node(n));t.setNode(n,r.defaults(E(i,x),w)),t.setParent(n,e.parent(n))}),r.each(e.edges(),function(n){var i=S(e.edge(n));t.setEdge(n,r.merge({},_,E(i,k),r.pick(i,$)))}),t}(e)});n("  runLayout",function(){!function(e,t){t("    makeSpaceForEdgeLabels",function(){!function(e){var t=e.graph();t.ranksep/=2,r.each(e.edges(),function(n){var r=e.edge(n);r.minlen*=2,"c"!==r.labelpos.toLowerCase()&&("TB"===t.rankdir||"BT"===t.rankdir?r.width+=r.labeloffset:r.height+=r.labeloffset)})}(e)}),t("    removeSelfEdges",function(){!function(e){r.each(e.edges(),function(t){if(t.v===t.w){var n=e.node(t.v);n.selfEdges||(n.selfEdges=[]),n.selfEdges.push({e:t,label:e.edge(t)}),e.removeEdge(t)}})}(e)}),t("    acyclic",function(){i.run(e)}),t("    nestingGraph.run",function(){u.run(e)}),t("    rank",function(){a(g.asNonCompoundGraph(e))}),t("    injectEdgeLabelProxies",function(){!function(e){r.each(e.edges(),function(t){var n=e.edge(t);if(n.width&&n.height){var r=e.node(t.v),i=e.node(t.w),o={rank:(i.rank-r.rank)/2+r.rank,e:t};g.addDummyNode(e,"edge-proxy",o,"_ep")}})}(e)}),t("    removeEmptyRanks",function(){c(e)}),t("    nestingGraph.cleanup",function(){u.cleanup(e)}),t("    normalizeRanks",function(){s(e)}),t("    assignRankMinMax",function(){!function(e){var t=0;r.each(e.nodes(),function(n){var i=e.node(n);i.borderTop&&(i.minRank=e.node(i.borderTop).rank,i.maxRank=e.node(i.borderBottom).rank,t=r.max(t,i.maxRank))}),e.graph().maxRank=t}(e)}),t("    removeEdgeLabelProxies",function(){!function(e){r.each(e.nodes(),function(t){var n=e.node(t);"edge-proxy"===n.dummy&&(e.edge(n.e).labelRank=n.rank,e.removeNode(t))})}(e)}),t("    normalize.run",function(){o.run(e)}),t("    parentDummyChains",function(){l(e)}),t("    addBorderSegments",function(){d(e)}),t("    order",function(){f(e)}),t("    insertSelfEdges",function(){!function(e){var t=g.buildLayerMatrix(e);r.each(t,function(t){var n=0;r.each(t,function(t,i){var o=e.node(t);o.order=i+n,r.each(o.selfEdges,function(t){g.addDummyNode(e,"selfedge",{width:t.label.width,height:t.label.height,rank:o.rank,order:i+ ++n,e:t.e,label:t.label},"_se")}),delete o.selfEdges})})}(e)}),t("    adjustCoordinateSystem",function(){p.adjust(e)}),t("    position",function(){h(e)}),t("    positionSelfEdges",function(){!function(e){r.each(e.nodes(),function(t){var n=e.node(t);if("selfedge"===n.dummy){var r=e.node(n.e.v),i=r.x+r.width/2,o=r.y,a=n.x-i,s=r.height/2;e.setEdge(n.e,n.label),e.removeNode(t),n.label.points=[{x:i+2*a/3,y:o-s},{x:i+5*a/6,y:o-s},{x:i+a,y:o},{x:i+5*a/6,y:o+s},{x:i+2*a/3,y:o+s}],n.label.x=n.x,n.label.y=n.y}})}(e)}),t("    removeBorderNodes",function(){!function(e){r.each(e.nodes(),function(t){if(e.children(t).length){var n=e.node(t),i=e.node(n.borderTop),o=e.node(n.borderBottom),a=e.node(r.last(n.borderLeft)),s=e.node(r.last(n.borderRight));n.width=Math.abs(s.x-a.x),n.height=Math.abs(o.y-i.y),n.x=a.x+n.width/2,n.y=i.y+n.height/2}}),r.each(e.nodes(),function(t){"border"===e.node(t).dummy&&e.removeNode(t)})}(e)}),t("    normalize.undo",function(){o.undo(e)}),t("    fixupEdgeLabelCoords",function(){!function(e){r.each(e.edges(),function(t){var n=e.edge(t);if(r.has(n,"x"))switch("l"!==n.labelpos&&"r"!==n.labelpos||(n.width-=n.labeloffset),n.labelpos){case"l":n.x-=n.width/2+n.labeloffset;break;case"r":n.x+=n.width/2+n.labeloffset}})}(e)}),t("    undoCoordinateSystem",function(){p.undo(e)}),t("    translateGraph",function(){!function(e){var t=Number.POSITIVE_INFINITY,n=0,i=Number.POSITIVE_INFINITY,o=0,a=e.graph(),s=a.marginx||0,l=a.marginy||0;function c(e){var r=e.x,a=e.y,s=e.width,l=e.height;t=Math.min(t,r-s/2),n=Math.max(n,r+s/2),i=Math.min(i,a-l/2),o=Math.max(o,a+l/2)}r.each(e.nodes(),function(t){c(e.node(t))}),r.each(e.edges(),function(t){var n=e.edge(t);r.has(n,"x")&&c(n)}),t-=s,i-=l,r.each(e.nodes(),function(n){var r=e.node(n);r.x-=t,r.y-=i}),r.each(e.edges(),function(n){var o=e.edge(n);r.each(o.points,function(e){e.x-=t,e.y-=i}),r.has(o,"x")&&(o.x-=t),r.has(o,"y")&&(o.y-=i)}),a.width=n-t+s,a.height=o-i+l}(e)}),t("    assignNodeIntersects",function(){!function(e){r.each(e.edges(),function(t){var n,r,i=e.edge(t),o=e.node(t.v),a=e.node(t.w);i.points?(n=i.points[0],r=i.points[i.points.length-1]):(i.points=[],n=a,r=o),i.points.unshift(g.intersectRect(o,n)),i.points.push(g.intersectRect(a,r))})}(e)}),t("    reversePoints",function(){!function(e){r.each(e.edges(),function(t){var n=e.edge(t);n.reversed&&n.points.reverse()})}(e)}),t("    acyclic.undo",function(){i.undo(e)})}(t,n)}),n("  updateInputGraph",function(){!function(e,t){r.each(e.nodes(),function(n){var r=e.node(n),i=t.node(n);r&&(r.x=i.x,r.y=i.y,t.children(n).length&&(r.width=i.width,r.height=i.height))}),r.each(e.edges(),function(n){var i=e.edge(n),o=t.edge(n);i.points=o.points,r.has(o,"x")&&(i.x=o.x,i.y=o.y)}),e.graph().width=t.graph().width,e.graph().height=t.graph().height}(e,t)})})};var v=["nodesep","edgesep","ranksep","marginx","marginy"],b={ranksep:50,edgesep:20,nodesep:50,rankdir:"tb"},y=["acyclicer","ranker","rankdir","align"],x=["width","height"],w={width:0,height:0},k=["minlen","weight","width","height","labeloffset"],_={minlen:1,weight:1,width:0,height:0,labeloffset:10,labelpos:"r"},$=["labelpos"];function E(e,t){return r.mapValues(r.pick(e,t),Number)}function S(e){var t={};return r.each(e,function(e,n){t[n.toLowerCase()]=e}),t}},function(e,t,n){var r=n(9),i=n(31),o=n(47);e.exports=function(e,t){var n,a=new i,s={},l=new o;function c(e){var r=e.v===n?e.w:e.v,i=l.priority(r);if(void 0!==i){var o=t(e);o<i&&(s[r]=n,l.decrease(r,o))}}if(0===e.nodeCount())return a;r.each(e.nodes(),function(e){l.add(e,Number.POSITIVE_INFINITY),a.setNode(e)}),l.decrease(e.nodes()[0],0);var u=!1;for(;l.size()>0;){if(n=l.removeMin(),r.has(s,n))a.setEdge(n,s[n]);else{if(u)throw new Error("Input graph is not connected: "+e);u=!0}e.nodeEdges(n).forEach(c)}return a}},function(e,t,n){var r=n(44);e.exports=function(e,t){return r(e,t,"pre")}},function(e,t,n){var r=n(44);e.exports=function(e,t){return r(e,t,"post")}},function(e,t,n){var r=n(45);e.exports=function(e){try{r(e)}catch(e){if(e instanceof r.CycleException)return!1;throw e}return!0}},function(e,t,n){var r=n(9);e.exports=function(e,t,n){return function(e,t,n){var r={},i=e.nodes();return i.forEach(function(e){r[e]={},r[e][e]={distance:0},i.forEach(function(t){e!==t&&(r[e][t]={distance:Number.POSITIVE_INFINITY})}),n(e).forEach(function(n){var i=n.v===e?n.w:n.v,o=t(n);r[e][i]={distance:o,predecessor:e}})}),i.forEach(function(e){var t=r[e];i.forEach(function(n){var o=r[n];i.forEach(function(n){var r=o[e],i=t[n],a=o[n],s=r.distance+i.distance;s<a.distance&&(a.distance=s,a.predecessor=i.predecessor)})})}),r}(e,t||i,n||function(t){return e.outEdges(t)})};var i=r.constant(1)},function(e,t,n){var r=n(9),i=n(46);e.exports=function(e){return r.filter(i(e),function(t){return t.length>1||1===t.length&&e.hasEdge(t[0],t[0])})}},function(e,t,n){var r=n(48),i=n(9);e.exports=function(e,t,n){return i.transform(e.nodes(),function(i,o){i[o]=r(e,o,t,n)},{})}},function(e,t,n){var r=n(9);e.exports=function(e){var t,n={},i=[];function o(i){r.has(n,i)||(n[i]=!0,t.push(i),r.each(e.successors(i),o),r.each(e.predecessors(i),o))}return r.each(e.nodes(),function(e){t=[],o(e),t.length&&i.push(t)}),i}},function(e,t,n){e.exports={components:n(162),dijkstra:n(48),dijkstraAll:n(161),findCycles:n(160),floydWarshall:n(159),isAcyclic:n(158),postorder:n(157),preorder:n(156),prim:n(155),tarjan:n(46),topsort:n(45)}},function(e,t,n){var r=n(9),i=n(31);e.exports={write:function(e){var t={options:{directed:e.isDirected(),multigraph:e.isMultigraph(),compound:e.isCompound()},nodes:function(e){return r.map(e.nodes(),function(t){var n=e.node(t),i=e.parent(t),o={v:t};return r.isUndefined(n)||(o.value=n),r.isUndefined(i)||(o.parent=i),o})}(e),edges:function(e){return r.map(e.edges(),function(t){var n=e.edge(t),i={v:t.v,w:t.w};return r.isUndefined(t.name)||(i.name=t.name),r.isUndefined(n)||(i.value=n),i})}(e)};r.isUndefined(e.graph())||(t.value=r.clone(e.graph()));return t},read:function(e){var t=new i(e.options).setGraph(e.value);return r.each(e.nodes,function(e){t.setNode(e.v,e.value),e.parent&&t.setParent(e.v,e.parent)}),r.each(e.edges,function(e){t.setEdge({v:e.v,w:e.w,name:e.name},e.value)}),t}}},function(e,t){e.exports="1.0.7"},function(e,t,n){(function(e,r){var i;
 /**
  * @license
  * lodash 3.10.1 (Custom Build) <https://lodash.com/>
@@ -87,27 +87,27 @@
  * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
  * Copyright 2009-2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
  * Available under MIT license <https://lodash.com/license>
- */(function(){var o,a="3.10.1",s=1,l=2,c=4,u=8,d=16,p=32,f=64,h=128,g=256,m=30,v="...",b=150,y=16,x=200,w=1,k=2,_="Expected a function",$="__lodash_placeholder__",E="[object Arguments]",S="[object Array]",C="[object Boolean]",T="[object Date]",A="[object Error]",P="[object Function]",O="[object Number]",R="[object Object]",j="[object RegExp]",D="[object String]",I="[object ArrayBuffer]",N="[object Float32Array]",M="[object Float64Array]",z="[object Int8Array]",L="[object Int16Array]",q="[object Int32Array]",B="[object Uint8Array]",V="[object Uint8ClampedArray]",F="[object Uint16Array]",U="[object Uint32Array]",H=/\b__p \+= '';/g,W=/\b(__p \+=) '' \+/g,G=/(__e\(.*?\)|\b__t\)) \+\n'';/g,X=/&(?:amp|lt|gt|quot|#39|#96);/g,Y=/[&<>"'`]/g,Z=RegExp(X.source),K=RegExp(Y.source),Q=/<%-([\s\S]+?)%>/g,J=/<%([\s\S]+?)%>/g,ee=/<%=([\s\S]+?)%>/g,te=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\n\\]|\\.)*?\1)\]/,ne=/^\w*$/,re=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\n\\]|\\.)*?)\2)\]/g,ie=/^[:!,]|[\\^$.*+?()[\]{}|\/]|(^[0-9a-fA-Fnrtuvx])|([\n\r\u2028\u2029])/g,oe=RegExp(ie.source),ae=/[\u0300-\u036f\ufe20-\ufe23]/g,se=/\\(\\)?/g,le=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,ce=/\w*$/,ue=/^0[xX]/,de=/^\[object .+?Constructor\]$/,pe=/^\d+$/,fe=/[\xc0-\xd6\xd8-\xde\xdf-\xf6\xf8-\xff]/g,he=/($^)/,ge=/['\n\r\u2028\u2029\\]/g,me=function(){var e="[A-Z\\xc0-\\xd6\\xd8-\\xde]",t="[a-z\\xdf-\\xf6\\xf8-\\xff]+";return RegExp(e+"+(?="+e+t+")|"+e+"?"+t+"|"+e+"+|[0-9]+","g")}(),ve=["Array","ArrayBuffer","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Math","Number","Object","RegExp","Set","String","_","clearTimeout","isFinite","parseFloat","parseInt","setTimeout","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap"],be=-1,ye={};ye[N]=ye[M]=ye[z]=ye[L]=ye[q]=ye[B]=ye[V]=ye[F]=ye[U]=!0,ye[E]=ye[S]=ye[I]=ye[C]=ye[T]=ye[A]=ye[P]=ye["[object Map]"]=ye[O]=ye[R]=ye[j]=ye["[object Set]"]=ye[D]=ye["[object WeakMap]"]=!1;var xe={};xe[E]=xe[S]=xe[I]=xe[C]=xe[T]=xe[N]=xe[M]=xe[z]=xe[L]=xe[q]=xe[O]=xe[R]=xe[j]=xe[D]=xe[B]=xe[V]=xe[F]=xe[U]=!0,xe[A]=xe[P]=xe["[object Map]"]=xe["[object Set]"]=xe["[object WeakMap]"]=!1;var we={"À":"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"},ke={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","`":"&#96;"},_e={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'","&#96;":"`"},$e={function:!0,object:!0},Ee={0:"x30",1:"x31",2:"x32",3:"x33",4:"x34",5:"x35",6:"x36",7:"x37",8:"x38",9:"x39",A:"x41",B:"x42",C:"x43",D:"x44",E:"x45",F:"x46",a:"x61",b:"x62",c:"x63",d:"x64",e:"x65",f:"x66",n:"x6e",r:"x72",t:"x74",u:"x75",v:"x76",x:"x78"},Se={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Ce=$e[typeof t]&&t&&!t.nodeType&&t,Te=$e[typeof e]&&e&&!e.nodeType&&e,Ae=Ce&&Te&&"object"==typeof r&&r&&r.Object&&r,Pe=$e[typeof self]&&self&&self.Object&&self,Oe=$e[typeof window]&&window&&window.Object&&window,Re=(Te&&Te.exports,Ae||Oe!==(this&&this.window)&&Oe||Pe||this);function je(e,t){if(e!==t){var n=null===e,r=e===o,i=e==e,a=null===t,s=t===o,l=t==t;if(e>t&&!a||!i||n&&!s&&l||r&&l)return 1;if(e<t&&!n||!l||a&&!r&&i||s&&i)return-1}return 0}function De(e,t,n){for(var r=e.length,i=n?r:-1;n?i--:++i<r;)if(t(e[i],i,e))return i;return-1}function Ie(e,t,n){if(t!=t)return He(e,n);for(var r=n-1,i=e.length;++r<i;)if(e[r]===t)return r;return-1}function Ne(e){return"function"==typeof e||!1}function Me(e){return null==e?"":e+""}function ze(e,t){for(var n=-1,r=e.length;++n<r&&t.indexOf(e.charAt(n))>-1;);return n}function Le(e,t){for(var n=e.length;n--&&t.indexOf(e.charAt(n))>-1;);return n}function qe(e,t){return je(e.criteria,t.criteria)||e.index-t.index}function Be(e){return we[e]}function Ve(e){return ke[e]}function Fe(e,t,n){return t?e=Ee[e]:n&&(e=Se[e]),"\\"+e}function Ue(e){return"\\"+Se[e]}function He(e,t,n){for(var r=e.length,i=t+(n?0:-1);n?i--:++i<r;){var o=e[i];if(o!=o)return i}return-1}function We(e){return!!e&&"object"==typeof e}function Ge(e){return e<=160&&e>=9&&e<=13||32==e||160==e||5760==e||6158==e||e>=8192&&(e<=8202||8232==e||8233==e||8239==e||8287==e||12288==e||65279==e)}function Xe(e,t){for(var n=-1,r=e.length,i=-1,o=[];++n<r;)e[n]===t&&(e[n]=$,o[++i]=n);return o}function Ye(e){for(var t=-1,n=e.length;++t<n&&Ge(e.charCodeAt(t)););return t}function Ze(e){for(var t=e.length;t--&&Ge(e.charCodeAt(t)););return t}function Ke(e){return _e[e]}var Qe=function e(t){var n=(t=t?Qe.defaults(Re.Object(),t,Qe.pick(Re,ve)):Re).Array,r=t.Date,i=t.Error,we=t.Function,ke=t.Math,_e=t.Number,$e=t.Object,Ee=t.RegExp,Se=t.String,Ce=t.TypeError,Te=n.prototype,Ae=$e.prototype,Pe=Se.prototype,Oe=we.prototype.toString,Ge=Ae.hasOwnProperty,Je=0,et=Ae.toString,tt=Re._,nt=Ee("^"+Oe.call(Ge).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),rt=t.ArrayBuffer,it=t.clearTimeout,ot=t.parseFloat,at=ke.pow,st=Ae.propertyIsEnumerable,lt=br(t,"Set"),ct=t.setTimeout,ut=Te.splice,dt=t.Uint8Array,pt=br(t,"WeakMap"),ft=ke.ceil,ht=br($e,"create"),gt=ke.floor,mt=br(n,"isArray"),vt=t.isFinite,bt=br($e,"keys"),yt=ke.max,xt=ke.min,wt=br(r,"now"),kt=t.parseInt,_t=ke.random,$t=_e.NEGATIVE_INFINITY,Et=_e.POSITIVE_INFINITY,St=4294967295,Ct=St-1,Tt=St>>>1,At=9007199254740991,Pt=pt&&new pt,Ot={};function Rt(e){if(We(e)&&!Ui(e)&&!(e instanceof It)){if(e instanceof Dt)return e;if(Ge.call(e,"__chain__")&&Ge.call(e,"__wrapped__"))return Dr(e)}return new Dt(e)}function jt(){}function Dt(e,t,n){this.__wrapped__=e,this.__actions__=n||[],this.__chain__=!!t}Rt.support={};function It(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Et,this.__views__=[]}function Nt(){this.__data__={}}function Mt(e){var t=e?e.length:0;for(this.data={hash:ht(null),set:new lt};t--;)this.push(e[t])}function zt(e,t){var n=e.data;return("string"==typeof t||Xi(t)?n.set.has(t):n.hash[t])?0:-1}function Lt(e,t){var r=-1,i=e.length;for(t||(t=n(i));++r<i;)t[r]=e[r];return t}function qt(e,t){for(var n=-1,r=e.length;++n<r&&!1!==t(e[n],n,e););return e}function Bt(e,t){for(var n=-1,r=e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}function Vt(e,t){for(var n=-1,r=e.length,i=-1,o=[];++n<r;){var a=e[n];t(a,n,e)&&(o[++i]=a)}return o}function Ft(e,t){for(var r=-1,i=e.length,o=n(i);++r<i;)o[r]=t(e[r],r,e);return o}function Ut(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}function Ht(e,t,n,r){var i=-1,o=e.length;for(r&&o&&(n=e[++i]);++i<o;)n=t(n,e[i],i,e);return n}function Wt(e,t){for(var n=-1,r=e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}function Gt(e,t,n,r){return e!==o&&Ge.call(r,n)?e:t}function Xt(e,t,n){for(var r=-1,i=mo(t),a=i.length;++r<a;){var s=i[r],l=e[s],c=n(l,t[s],s,e,t);(c==c?c===l:l!=l)&&(l!==o||s in e)||(e[s]=c)}return e}function Yt(e,t){return null==t?e:Kt(t,mo(t),e)}function Zt(e,t){for(var r=-1,i=null==e,a=!i&&xr(e),s=a?e.length:0,l=t.length,c=n(l);++r<l;){var u=t[r];c[r]=a?wr(u,s)?e[u]:o:i?o:e[u]}return c}function Kt(e,t,n){n||(n={});for(var r=-1,i=t.length;++r<i;){var o=t[r];n[o]=e[o]}return n}function Qt(e,t,n){var r=typeof e;return"function"==r?t===o?e:Nn(e,t,n):null==e?No:"object"==r?xn(e):t===o?Vo(e):wn(e,t)}function Jt(e,t,n,r,i,a,s){var l;if(n&&(l=i?n(e,r,i):n(e)),l!==o)return l;if(!Xi(e))return e;var c=Ui(e);if(c){if(l=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&Ge.call(e,"index")&&(n.index=e.index,n.input=e.input),n}(e),!t)return Lt(e,l)}else{var u=et.call(e),d=u==P;if(u!=R&&u!=E&&(!d||i))return xe[u]?function(e,t,n){var r=e.constructor;switch(t){case I:return Mn(e);case C:case T:return new r(+e);case N:case M:case z:case L:case q:case B:case V:case F:case U:var i=e.buffer;return new r(n?Mn(i):i,e.byteOffset,e.length);case O:case D:return new r(e);case j:var o=new r(e.source,ce.exec(e));o.lastIndex=e.lastIndex}return o}(e,u,t):i?e:{};if(l=function(e){var t=e.constructor;return"function"==typeof t&&t instanceof t||(t=$e),new t}(d?{}:e),!t)return Yt(l,e)}a||(a=[]),s||(s=[]);for(var p=a.length;p--;)if(a[p]==e)return s[p];return a.push(e),s.push(l),(c?qt:fn)(e,function(r,i){l[i]=Jt(r,t,n,i,e,a,s)}),l}Rt.templateSettings={escape:Q,evaluate:J,interpolate:ee,variable:"",imports:{_:Rt}};var en=function(){function e(){}return function(t){if(Xi(t)){e.prototype=t;var n=new e;e.prototype=o}return n||{}}}();function tn(e,t,n){if("function"!=typeof e)throw new Ce(_);return ct(function(){e.apply(o,n)},t)}function nn(e,t){var n=e?e.length:0,r=[];if(!n)return r;var i=-1,o=gr(),a=o==Ie,s=a&&t.length>=x?Un(t):null,l=t.length;s&&(o=zt,a=!1,t=s);e:for(;++i<n;){var c=e[i];if(a&&c==c){for(var u=l;u--;)if(t[u]===c)continue e;r.push(c)}else o(t,c,0)<0&&r.push(c)}return r}var rn=Vn(fn),on=Vn(hn,!0);function an(e,t){var n=!0;return rn(e,function(e,r,i){return n=!!t(e,r,i)}),n}function sn(e,t){var n=[];return rn(e,function(e,r,i){t(e,r,i)&&n.push(e)}),n}function ln(e,t,n,r){var i;return n(e,function(e,n,o){if(t(e,n,o))return i=r?n:e,!1}),i}function cn(e,t,n,r){r||(r=[]);for(var i=-1,o=e.length;++i<o;){var a=e[i];We(a)&&xr(a)&&(n||Ui(a)||Fi(a))?t?cn(a,t,n,r):Ut(r,a):n||(r[r.length]=a)}return r}var un=Fn(),dn=Fn(!0);function pn(e,t){return un(e,t,vo)}function fn(e,t){return un(e,t,mo)}function hn(e,t){return dn(e,t,mo)}function gn(e,t){for(var n=-1,r=t.length,i=-1,o=[];++n<r;){var a=t[n];Gi(e[a])&&(o[++i]=a)}return o}function mn(e,t,n){if(null!=e){n!==o&&n in Rr(e)&&(t=[n]);for(var r=0,i=t.length;null!=e&&r<i;)e=e[t[r++]];return r&&r==i?e:o}}function vn(e,t,n,r,i,a){return e===t||(null==e||null==t||!Xi(e)&&!We(t)?e!=e&&t!=t:function(e,t,n,r,i,a,s){var l=Ui(e),c=Ui(t),u=S,d=S;l||((u=et.call(e))==E?u=R:u!=R&&(l=eo(e))),c||((d=et.call(t))==E?d=R:d!=R&&(c=eo(t)));var p=u==R,f=d==R,h=u==d;if(h&&!l&&!p)return function(e,t,n){switch(n){case C:case T:return+e==+t;case A:return e.name==t.name&&e.message==t.message;case O:return e!=+e?t!=+t:e==+t;case j:case D:return e==t+""}return!1}(e,t,u);if(!i){var g=p&&Ge.call(e,"__wrapped__"),m=f&&Ge.call(t,"__wrapped__");if(g||m)return n(g?e.value():e,m?t.value():t,r,i,a,s)}if(!h)return!1;a||(a=[]),s||(s=[]);for(var v=a.length;v--;)if(a[v]==e)return s[v]==t;a.push(e),s.push(t);var b=(l?function(e,t,n,r,i,a,s){var l=-1,c=e.length,u=t.length;if(c!=u&&!(i&&u>c))return!1;for(;++l<c;){var d=e[l],p=t[l],f=r?r(i?p:d,i?d:p,l):o;if(f!==o){if(f)continue;return!1}if(i){if(!Wt(t,function(e){return d===e||n(d,e,r,i,a,s)}))return!1}else if(d!==p&&!n(d,p,r,i,a,s))return!1}return!0}:function(e,t,n,r,i,a,s){var l=mo(e),c=l.length,u=mo(t).length;if(c!=u&&!i)return!1;for(var d=c;d--;){var p=l[d];if(!(i?p in t:Ge.call(t,p)))return!1}for(var f=i;++d<c;){p=l[d];var h=e[p],g=t[p],m=r?r(i?g:h,i?h:g,p):o;if(!(m===o?n(h,g,r,i,a,s):m))return!1;f||(f="constructor"==p)}if(!f){var v=e.constructor,b=t.constructor;if(v!=b&&"constructor"in e&&"constructor"in t&&!("function"==typeof v&&v instanceof v&&"function"==typeof b&&b instanceof b))return!1}return!0})(e,t,n,r,i,a,s);return a.pop(),s.pop(),b}(e,t,vn,n,r,i,a))}function bn(e,t,n){var r=t.length,i=r,a=!n;if(null==e)return!i;for(e=Rr(e);r--;){var s=t[r];if(a&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++r<i;){var l=(s=t[r])[0],c=e[l],u=s[1];if(a&&s[2]){if(c===o&&!(l in e))return!1}else{var d=n?n(c,u,l):o;if(!(d===o?vn(u,c,n,!0):d))return!1}}return!0}function yn(e,t){var r=-1,i=xr(e)?n(e.length):[];return rn(e,function(e,n,o){i[++r]=t(e,n,o)}),i}function xn(e){var t=vr(e);if(1==t.length&&t[0][2]){var n=t[0][0],r=t[0][1];return function(e){return null!=e&&e[n]===r&&(r!==o||n in Rr(e))}}return function(e){return bn(e,t)}}function wn(e,t){var n=Ui(e),r=_r(e)&&Sr(t),i=e+"";return e=jr(e),function(a){if(null==a)return!1;var s=i;if(a=Rr(a),(n||!r)&&!(s in a)){if(null==(a=1==e.length?a:mn(a,Sn(e,0,-1))))return!1;s=Fr(e),a=Rr(a)}return a[s]===t?t!==o||s in a:vn(t,a[s],o,!0)}}function kn(e){return function(t){return null==t?o:t[e]}}function _n(e,t){for(var n=e?t.length:0;n--;){var r=t[n];if(r!=i&&wr(r)){var i=r;ut.call(e,r,1)}}return e}function $n(e,t){return e+gt(_t()*(t-e+1))}var En=Pt?function(e,t){return Pt.set(e,t),e}:No;function Sn(e,t,r){var i=-1,a=e.length;(t=null==t?0:+t||0)<0&&(t=-t>a?0:a+t),(r=r===o||r>a?a:+r||0)<0&&(r+=a),a=t>r?0:r-t>>>0,t>>>=0;for(var s=n(a);++i<a;)s[i]=e[i+t];return s}function Cn(e,t){var n;return rn(e,function(e,r,i){return!(n=t(e,r,i))}),!!n}function Tn(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}function An(e,t,n){var r=pr(),i=-1;return t=Ft(t,function(e){return r(e)}),Tn(yn(e,function(e){return{criteria:Ft(t,function(t){return t(e)}),index:++i,value:e}}),function(e,t){return function(e,t,n){for(var r=-1,i=e.criteria,o=t.criteria,a=i.length,s=n.length;++r<a;){var l=je(i[r],o[r]);if(l){if(r>=s)return l;var c=n[r];return l*("asc"===c||!0===c?1:-1)}}return e.index-t.index}(e,t,n)})}function Pn(e,t){var n=-1,r=gr(),i=e.length,o=r==Ie,a=o&&i>=x,s=a?Un():null,l=[];s?(r=zt,o=!1):(a=!1,s=t?[]:l);e:for(;++n<i;){var c=e[n],u=t?t(c,n,e):c;if(o&&c==c){for(var d=s.length;d--;)if(s[d]===u)continue e;t&&s.push(u),l.push(c)}else r(s,u,0)<0&&((t||a)&&s.push(u),l.push(c))}return l}function On(e,t){for(var r=-1,i=t.length,o=n(i);++r<i;)o[r]=e[t[r]];return o}function Rn(e,t,n,r){for(var i=e.length,o=r?i:-1;(r?o--:++o<i)&&t(e[o],o,e););return n?Sn(e,r?0:o,r?o+1:i):Sn(e,r?o+1:0,r?i:o)}function jn(e,t){var n=e;n instanceof It&&(n=n.value());for(var r=-1,i=t.length;++r<i;){var o=t[r];n=o.func.apply(o.thisArg,Ut([n],o.args))}return n}function Dn(e,t,n){var r=0,i=e?e.length:r;if("number"==typeof t&&t==t&&i<=Tt){for(;r<i;){var o=r+i>>>1,a=e[o];(n?a<=t:a<t)&&null!==a?r=o+1:i=o}return i}return In(e,t,No,n)}function In(e,t,n,r){t=n(t);for(var i=0,a=e?e.length:0,s=t!=t,l=null===t,c=t===o;i<a;){var u=gt((i+a)/2),d=n(e[u]),p=d!==o,f=d==d;if(s)var h=f||r;else h=l?f&&p&&(r||null!=d):c?f&&(r||p):null!=d&&(r?d<=t:d<t);h?i=u+1:a=u}return xt(a,Ct)}function Nn(e,t,n){if("function"!=typeof e)return No;if(t===o)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 3:return function(n,r,i){return e.call(t,n,r,i)};case 4:return function(n,r,i,o){return e.call(t,n,r,i,o)};case 5:return function(n,r,i,o,a){return e.call(t,n,r,i,o,a)}}return function(){return e.apply(t,arguments)}}function Mn(e){var t=new rt(e.byteLength);return new dt(t).set(new dt(e)),t}function zn(e,t,r){for(var i=r.length,o=-1,a=yt(e.length-i,0),s=-1,l=t.length,c=n(l+a);++s<l;)c[s]=t[s];for(;++o<i;)c[r[o]]=e[o];for(;a--;)c[s++]=e[o++];return c}function Ln(e,t,r){for(var i=-1,o=r.length,a=-1,s=yt(e.length-o,0),l=-1,c=t.length,u=n(s+c);++a<s;)u[a]=e[a];for(var d=a;++l<c;)u[d+l]=t[l];for(;++i<o;)u[d+r[i]]=e[a++];return u}function qn(e,t){return function(n,r,i){var o=t?t():{};if(r=pr(r,i,3),Ui(n))for(var a=-1,s=n.length;++a<s;){var l=n[a];e(o,l,r(l,a,n),n)}else rn(n,function(t,n,i){e(o,t,r(t,n,i),i)});return o}}function Bn(e){return Bi(function(t,n){var r=-1,i=null==t?0:n.length,a=i>2?n[i-2]:o,s=i>2?n[2]:o,l=i>1?n[i-1]:o;for("function"==typeof a?(a=Nn(a,l,5),i-=2):i-=(a="function"==typeof l?l:o)?1:0,s&&kr(n[0],n[1],s)&&(a=i<3?o:a,i=1);++r<i;){var c=n[r];c&&e(t,c,a)}return t})}function Vn(e,t){return function(n,r){var i=n?mr(n):0;if(!Er(i))return e(n,r);for(var o=t?i:-1,a=Rr(n);(t?o--:++o<i)&&!1!==r(a[o],o,a););return n}}function Fn(e){return function(t,n,r){for(var i=Rr(t),o=r(t),a=o.length,s=e?a:-1;e?s--:++s<a;){var l=o[s];if(!1===n(i[l],l,i))break}return t}}function Un(e){return ht&&lt?new Mt(e):null}function Hn(e){return function(t){for(var n=-1,r=jo(Eo(t)),i=r.length,o="";++n<i;)o=e(o,r[n],n);return o}}function Wn(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=en(e.prototype),r=e.apply(n,t);return Xi(r)?r:n}}function Gn(e){return function t(n,r,i){i&&kr(n,r,i)&&(r=o);var a=dr(n,e,o,o,o,o,o,r);return a.placeholder=t.placeholder,a}}function Xn(e,t){return Bi(function(n){var r=n[0];return null==r?r:(n.push(t),e.apply(o,n))})}function Yn(e,t){return function(n,r,i){if(i&&kr(n,r,i)&&(r=o),1==(r=pr(r,i,3)).length){var a=function(e,t,n,r){for(var i=-1,o=e.length,a=r,s=a;++i<o;){var l=e[i],c=+t(l);n(c,a)&&(a=c,s=l)}return s}(n=Ui(n)?n:Or(n),r,e,t);if(!n.length||a!==t)return a}return function(e,t,n,r){var i=r,o=i;return rn(e,function(e,a,s){var l=+t(e,a,s);(n(l,i)||l===r&&l===o)&&(i=l,o=e)}),o}(n,r,e,t)}}function Zn(e,t){return function(n,r,i){if(r=pr(r,i,3),Ui(n)){var a=De(n,r,t);return a>-1?n[a]:o}return ln(n,r,e)}}function Kn(e){return function(t,n,r){return t&&t.length?De(t,n=pr(n,r,3),e):-1}}function Qn(e){return function(t,n,r){return ln(t,n=pr(n,r,3),e,!0)}}function Jn(e){return function(){for(var t,r=arguments.length,i=e?r:-1,a=0,s=n(r);e?i--:++i<r;){var l=s[a++]=arguments[i];if("function"!=typeof l)throw new Ce(_);!t&&Dt.prototype.thru&&"wrapper"==hr(l)&&(t=new Dt([],!0))}for(i=t?-1:r;++i<r;){var c=hr(l=s[i]),d="wrapper"==c?fr(l):o;t=d&&$r(d[0])&&d[1]==(h|u|p|g)&&!d[4].length&&1==d[9]?t[hr(d[0])].apply(t,d[3]):1==l.length&&$r(l)?t[c]():t.thru(l)}return function(){var e=arguments,n=e[0];if(t&&1==e.length&&Ui(n)&&n.length>=x)return t.plant(n).value();for(var i=0,o=r?s[i].apply(this,e):n;++i<r;)o=s[i].call(this,o);return o}}}function er(e,t){return function(n,r,i){return"function"==typeof r&&i===o&&Ui(n)?e(n,r):t(n,Nn(r,i,3))}}function tr(e){return function(t,n,r){return"function"==typeof n&&r===o||(n=Nn(n,r,3)),e(t,n,vo)}}function nr(e){return function(t,n,r){return"function"==typeof n&&r===o||(n=Nn(n,r,3)),e(t,n)}}function rr(e){return function(t,n,r){var i={};return n=pr(n,r,3),fn(t,function(t,r,o){var a=n(t,r,o);r=e?a:r,t=e?t:a,i[r]=t}),i}}function ir(e){return function(t,n,r){return t=Me(t),(e?t:"")+lr(t,n,r)+(e?"":t)}}function or(e){var t=Bi(function(n,r){var i=Xe(r,t.placeholder);return dr(n,e,o,r,i)});return t}function ar(e,t){return function(n,r,i,a){var s=arguments.length<3;return"function"==typeof r&&a===o&&Ui(n)?e(n,r,i,s):function(e,t,n,r,i){return i(e,function(e,i,o){n=r?(r=!1,e):t(n,e,i,o)}),n}(n,pr(r,a,4),i,s,t)}}function sr(e,t,r,i,a,g,m,v,b,y){var x=t&h,w=t&s,k=t&l,_=t&u,$=t&c,E=t&d,S=k?o:Wn(e);return function c(){for(var u=arguments.length,d=u,h=n(u);d--;)h[d]=arguments[d];if(i&&(h=zn(h,i,a)),g&&(h=Ln(h,g,m)),_||E){var C=c.placeholder,T=Xe(h,C);if((u-=T.length)<y){var A=v?Lt(v):o,P=yt(y-u,0);t|=_?p:f,t&=~(_?f:p),$||(t&=~(s|l));var O=[e,t,r,_?h:o,_?T:o,_?o:h,_?o:T,A,b,P],R=sr.apply(o,O);return $r(e)&&Ar(R,O),R.placeholder=C,R}}var j=w?r:this,D=k?j[e]:e;return v&&(h=function(e,t){for(var n=e.length,r=xt(t.length,n),i=Lt(e);r--;){var a=t[r];e[r]=wr(a,n)?i[a]:o}return e}(h,v)),x&&b<h.length&&(h.length=b),this&&this!==Re&&this instanceof c&&(D=S||Wn(e)),D.apply(j,h)}}function lr(e,t,n){var r=e.length;if(r>=(t=+t)||!vt(t))return"";var i=t-r;return Ao(n=null==n?" ":n+"",ft(i/n.length)).slice(0,i)}function cr(e){var t=ke[e];return function(e,n){return(n=n===o?0:+n||0)?(n=at(10,n),t(e*n)/n):t(e)}}function ur(e){return function(t,n,r,i){var o=pr(r);return null==r&&o===Qt?Dn(t,n,e):In(t,n,o(r,i,1),e)}}function dr(e,t,r,i,a,d,m,v){var b=t&l;if(!b&&"function"!=typeof e)throw new Ce(_);var y=i?i.length:0;if(y||(t&=~(p|f),i=a=o),y-=a?a.length:0,t&f){var x=i,w=a;i=a=o}var k=b?o:fr(e),E=[e,t,r,i,a,x,w,d,m,v];if(k&&(function(e,t){var n=e[1],r=t[1],i=n|r,o=i<h,a=r==h&&n==u||r==h&&n==g&&e[7].length<=t[8]||r==(h|g)&&n==u;if(!o&&!a)return e;r&s&&(e[2]=t[2],i|=n&s?0:c);var l=t[3];if(l){var d=e[3];e[3]=d?zn(d,l,t[4]):Lt(l),e[4]=d?Xe(e[3],$):Lt(t[4])}(l=t[5])&&(d=e[5],e[5]=d?Ln(d,l,t[6]):Lt(l),e[6]=d?Xe(e[5],$):Lt(t[6])),(l=t[7])&&(e[7]=Lt(l)),r&h&&(e[8]=null==e[8]?t[8]:xt(e[8],t[8])),null==e[9]&&(e[9]=t[9]),e[0]=t[0],e[1]=i}(E,k),t=E[1],v=E[9]),E[9]=null==v?b?0:e.length:yt(v-y,0)||0,t==s)var S=function(e,t){var n=Wn(e);return function r(){return(this&&this!==Re&&this instanceof r?n:e).apply(t,arguments)}}(E[0],E[2]);else S=t!=p&&t!=(s|p)||E[4].length?sr.apply(o,E):function(e,t,r,i){var o=t&s,a=Wn(e);return function t(){for(var s=-1,l=arguments.length,c=-1,u=i.length,d=n(u+l);++c<u;)d[c]=i[c];for(;l--;)d[c++]=arguments[++s];return(this&&this!==Re&&this instanceof t?a:e).apply(o?r:this,d)}}.apply(o,E);return(k?En:Ar)(S,E)}function pr(e,t,n){var r=Rt.callback||Io;return r=r===Io?Qt:r,n?r(e,t,n):r}var fr=Pt?function(e){return Pt.get(e)}:Bo;function hr(e){for(var t=e.name,n=Ot[t],r=n?n.length:0;r--;){var i=n[r],o=i.func;if(null==o||o==e)return i.name}return t}function gr(e,t,n){var r=Rt.indexOf||Br;return r=r===Br?Ie:r,e?r(e,t,n):r}var mr=kn("length");function vr(e){for(var t=wo(e),n=t.length;n--;)t[n][2]=Sr(t[n][1]);return t}function br(e,t){var n=null==e?o:e[t];return Yi(n)?n:o}function yr(e,t,n){null==e||_r(t,e)||(e=1==(t=jr(t)).length?e:mn(e,Sn(t,0,-1)),t=Fr(t));var r=null==e?e:e[t];return null==r?o:r.apply(e,n)}function xr(e){return null!=e&&Er(mr(e))}function wr(e,t){return e="number"==typeof e||pe.test(e)?+e:-1,t=null==t?At:t,e>-1&&e%1==0&&e<t}function kr(e,t,n){if(!Xi(n))return!1;var r=typeof t;if("number"==r?xr(n)&&wr(t,n.length):"string"==r&&t in n){var i=n[t];return e==e?e===i:i!=i}return!1}function _r(e,t){var n=typeof e;return!!("string"==n&&ne.test(e)||"number"==n)||!Ui(e)&&(!te.test(e)||null!=t&&e in Rr(t))}function $r(e){var t=hr(e);if(!(t in It.prototype))return!1;var n=Rt[t];if(e===n)return!0;var r=fr(n);return!!r&&e===r[0]}function Er(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=At}function Sr(e){return e==e&&!Xi(e)}function Cr(e,t){e=Rr(e);for(var n=-1,r=t.length,i={};++n<r;){var o=t[n];o in e&&(i[o]=e[o])}return i}function Tr(e,t){var n={};return pn(e,function(e,r,i){t(e,r,i)&&(n[r]=e)}),n}var Ar=function(){var e=0,t=0;return function(n,r){var i=$i(),o=y-(i-t);if(t=i,o>0){if(++e>=b)return n}else e=0;return En(n,r)}}();function Pr(e){for(var t=vo(e),n=t.length,r=n&&e.length,i=!!r&&Er(r)&&(Ui(e)||Fi(e)),o=-1,a=[];++o<n;){var s=t[o];(i&&wr(s,r)||Ge.call(e,s))&&a.push(s)}return a}function Or(e){return null==e?[]:xr(e)?Xi(e)?e:$e(e):_o(e)}function Rr(e){return Xi(e)?e:$e(e)}function jr(e){if(Ui(e))return e;var t=[];return Me(e).replace(re,function(e,n,r,i){t.push(r?i.replace(se,"$1"):n||e)}),t}function Dr(e){return e instanceof It?e.clone():new Dt(e.__wrapped__,e.__chain__,Lt(e.__actions__))}var Ir=Bi(function(e,t){return We(e)&&xr(e)?nn(e,cn(t,!1,!0)):[]});function Nr(e,t,n){return e&&e.length?((n?kr(e,t,n):null==t)&&(t=1),Sn(e,t<0?0:t)):[]}function Mr(e,t,n){var r=e?e.length:0;return r?((n?kr(e,t,n):null==t)&&(t=1),Sn(e,0,(t=r-(+t||0))<0?0:t)):[]}var zr=Kn(),Lr=Kn(!0);function qr(e){return e?e[0]:o}function Br(e,t,n){var r=e?e.length:0;if(!r)return-1;if("number"==typeof n)n=n<0?yt(r+n,0):n;else if(n){var i=Dn(e,t);return i<r&&(t==t?t===e[i]:e[i]!=e[i])?i:-1}return Ie(e,t,n||0)}var Vr=Bi(function(e){for(var t=e.length,r=t,i=n(d),o=gr(),a=o==Ie,s=[];r--;){var l=e[r]=xr(l=e[r])?l:[];i[r]=a&&l.length>=120?Un(r&&l):null}var c=e[0],u=-1,d=c?c.length:0,p=i[0];e:for(;++u<d;)if(l=c[u],(p?zt(p,l):o(s,l,0))<0){for(r=t;--r;){var f=i[r];if((f?zt(f,l):o(e[r],l,0))<0)continue e}p&&p.push(l),s.push(l)}return s});function Fr(e){var t=e?e.length:0;return t?e[t-1]:o}var Ur=Bi(function(e,t){var n=Zt(e,t=cn(t));return _n(e,t.sort(je)),n});function Hr(e){return Nr(e,1)}var Wr=ur(),Gr=ur(!0);var Xr=Bi(function(e){return Pn(cn(e,!1,!0))});function Yr(e,t,n,r){if(!e||!e.length)return[];null!=t&&"boolean"!=typeof t&&(n=kr(e,t,r=n)?o:t,t=!1);var i=pr();return null==n&&i===Qt||(n=i(n,r,3)),t&&gr()==Ie?function(e,t){for(var n,r=-1,i=e.length,o=-1,a=[];++r<i;){var s=e[r],l=t?t(s,r,e):s;r&&n===l||(n=l,a[++o]=s)}return a}(e,n):Pn(e,n)}function Zr(e){if(!e||!e.length)return[];var t=-1,r=0;e=Vt(e,function(e){if(xr(e))return r=yt(e.length,r),!0});for(var i=n(r);++t<r;)i[t]=Ft(e,kn(t));return i}function Kr(e,t,n){if(!e||!e.length)return[];var r=Zr(e);return null==t?r:(t=Nn(t,n,4),Ft(r,function(e){return Ht(e,t,o,!0)}))}var Qr=Bi(function(e,t){return xr(e)?nn(e,t):[]});var Jr=Bi(Zr);function ei(e,t){var n=-1,r=e?e.length:0,i={};for(!r||t||Ui(e[0])||(t=[]);++n<r;){var o=e[n];t?i[o]=t[n]:o&&(i[o[0]]=o[1])}return i}var ti=Bi(function(e){var t=e.length,n=t>2?e[t-2]:o,r=t>1?e[t-1]:o;return t>2&&"function"==typeof n?t-=2:(n=t>1&&"function"==typeof r?(--t,r):o,r=o),e.length=t,Kr(e,n,r)});function ni(e){var t=Rt(e);return t.__chain__=!0,t}function ri(e,t,n){return t.call(n,e)}var ii=Bi(function(e){return e=cn(e),this.thru(function(t){return function(e,t){for(var r=-1,i=e.length,o=-1,a=t.length,s=n(i+a);++r<i;)s[r]=e[r];for(;++o<a;)s[r++]=t[o];return s}(Ui(t)?t:[Rr(t)],e)})});var oi=Bi(function(e,t){return Zt(e,cn(t))}),ai=qn(function(e,t,n){Ge.call(e,n)?++e[n]:e[n]=1});function si(e,t,n){var r=Ui(e)?Bt:an;return n&&kr(e,t,n)&&(t=o),"function"==typeof t&&n===o||(t=pr(t,n,3)),r(e,t)}function li(e,t,n){return(Ui(e)?Vt:sn)(e,t=pr(t,n,3))}var ci=Zn(rn),ui=Zn(on,!0);var di=er(qt,rn),pi=er(function(e,t){for(var n=e.length;n--&&!1!==t(e[n],n,e););return e},on),fi=qn(function(e,t,n){Ge.call(e,n)?e[n].push(t):e[n]=[t]});function hi(e,t,n,r){var i=e?mr(e):0;return Er(i)||(i=(e=_o(e)).length),n="number"!=typeof n||r&&kr(t,n,r)?0:n<0?yt(i+n,0):n||0,"string"==typeof e||!Ui(e)&&Ji(e)?n<=i&&e.indexOf(t,n)>-1:!!i&&gr(e,t,n)>-1}var gi=qn(function(e,t,n){e[n]=t}),mi=Bi(function(e,t,r){var i=-1,a="function"==typeof t,s=_r(t),l=xr(e)?n(e.length):[];return rn(e,function(e){var n=a?t:s&&null!=e?e[t]:o;l[++i]=n?n.apply(e,r):yr(e,t,r)}),l});function vi(e,t,n){return(Ui(e)?Ft:yn)(e,t=pr(t,n,3))}var bi=qn(function(e,t,n){e[n?0:1].push(t)},function(){return[[],[]]});var yi=ar(Ht,rn),xi=ar(function(e,t,n,r){var i=e.length;for(r&&i&&(n=e[--i]);i--;)n=t(n,e[i],i,e);return n},on);function wi(e,t,n){if(n?kr(e,t,n):null==t)return(r=(e=Or(e)).length)>0?e[$n(0,r-1)]:o;var r,i=-1,a=no(e),s=(r=a.length)-1;for(t=xt(t<0?0:+t||0,r);++i<t;){var l=$n(i,s),c=a[l];a[l]=a[i],a[i]=c}return a.length=t,a}function ki(e,t,n){var r=Ui(e)?Wt:Cn;return n&&kr(e,t,n)&&(t=o),"function"==typeof t&&n===o||(t=pr(t,n,3)),r(e,t)}var _i=Bi(function(e,t){if(null==e)return[];var n=t[2];return n&&kr(t[0],t[1],n)&&(t.length=1),An(e,cn(t),[])});var $i=wt||function(){return(new r).getTime()};function Ei(e,t){var n;if("function"!=typeof t){if("function"!=typeof e)throw new Ce(_);var r=e;e=t,t=r}return function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=o),n}}var Si=Bi(function(e,t,n){var r=s;if(n.length){var i=Xe(n,Si.placeholder);r|=p}return dr(e,r,t,n,i)}),Ci=Bi(function(e,t){for(var n=-1,r=(t=t.length?cn(t):go(e)).length;++n<r;){var i=t[n];e[i]=dr(e[i],s,e)}return e}),Ti=Bi(function(e,t,n){var r=s|l;if(n.length){var i=Xe(n,Ti.placeholder);r|=p}return dr(t,r,e,n,i)}),Ai=Gn(u),Pi=Gn(d);function Oi(e,t,n){var r,i,a,s,l,c,u,d=0,p=!1,f=!0;if("function"!=typeof e)throw new Ce(_);if(t=t<0?0:+t||0,!0===n){var h=!0;f=!1}else Xi(n)&&(h=!!n.leading,p="maxWait"in n&&yt(+n.maxWait||0,t),f="trailing"in n?!!n.trailing:f);function g(t,n){n&&it(n),i=c=u=o,t&&(d=$i(),a=e.apply(l,r),c||i||(r=l=o))}function m(){var e=t-($i()-s);e<=0||e>t?g(u,i):c=ct(m,e)}function v(){g(f,c)}function b(){if(r=arguments,s=$i(),l=this,u=f&&(c||!h),!1===p)var n=h&&!c;else{i||h||(d=s);var g=p-(s-d),b=g<=0||g>p;b?(i&&(i=it(i)),d=s,a=e.apply(l,r)):i||(i=ct(v,g))}return b&&c?c=it(c):c||t===p||(c=ct(m,t)),n&&(b=!0,a=e.apply(l,r)),!b||c||i||(r=l=o),a}return b.cancel=function(){c&&it(c),i&&it(i),d=0,i=c=u=o},b}var Ri=Bi(function(e,t){return tn(e,1,t)}),ji=Bi(function(e,t,n){return tn(e,t,n)}),Di=Jn(),Ii=Jn(!0);function Ni(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw new Ce(_);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=e.apply(this,r);return n.cache=o.set(i,a),a};return n.cache=new Ni.Cache,n}var Mi=Bi(function(e,t){if(t=cn(t),"function"!=typeof e||!Bt(t,Ne))throw new Ce(_);var n=t.length;return Bi(function(r){for(var i=xt(r.length,n);i--;)r[i]=t[i](r[i]);return e.apply(this,r)})});var zi=or(p),Li=or(f),qi=Bi(function(e,t){return dr(e,g,o,o,o,cn(t))});function Bi(e,t){if("function"!=typeof e)throw new Ce(_);return t=yt(t===o?e.length-1:+t||0,0),function(){for(var r=arguments,i=-1,o=yt(r.length-t,0),a=n(o);++i<o;)a[i]=r[t+i];switch(t){case 0:return e.call(this,a);case 1:return e.call(this,r[0],a);case 2:return e.call(this,r[0],r[1],a)}var s=n(t+1);for(i=-1;++i<t;)s[i]=r[i];return s[t]=a,e.apply(this,s)}}function Vi(e,t){return e>t}function Fi(e){return We(e)&&xr(e)&&Ge.call(e,"callee")&&!st.call(e,"callee")}var Ui=mt||function(e){return We(e)&&Er(e.length)&&et.call(e)==S};function Hi(e,t,n,r){var i=(n="function"==typeof n?Nn(n,r,3):o)?n(e,t):o;return i===o?vn(e,t,n):!!i}function Wi(e){return We(e)&&"string"==typeof e.message&&et.call(e)==A}function Gi(e){return Xi(e)&&et.call(e)==P}function Xi(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function Yi(e){return null!=e&&(Gi(e)?nt.test(Oe.call(e)):We(e)&&de.test(e))}function Zi(e){return"number"==typeof e||We(e)&&et.call(e)==O}function Ki(e){var t,n;return!(!We(e)||et.call(e)!=R||Fi(e)||!(Ge.call(e,"constructor")||"function"!=typeof(t=e.constructor)||t instanceof t))&&(pn(e,function(e,t){n=t}),n===o||Ge.call(e,n))}function Qi(e){return Xi(e)&&et.call(e)==j}function Ji(e){return"string"==typeof e||We(e)&&et.call(e)==D}function eo(e){return We(e)&&Er(e.length)&&!!ye[et.call(e)]}function to(e,t){return e<t}function no(e){var t=e?mr(e):0;return Er(t)?t?Lt(e):[]:_o(e)}function ro(e){return Kt(e,vo(e))}var io=Bn(function e(t,n,r,i,a){if(!Xi(t))return t;var s=xr(n)&&(Ui(n)||eo(n)),l=s?o:mo(n);return qt(l||n,function(c,u){if(l&&(c=n[u=c]),We(c))i||(i=[]),a||(a=[]),function(e,t,n,r,i,a,s){for(var l=a.length,c=t[n];l--;)if(a[l]==c)return void(e[n]=s[l]);var u=e[n],d=i?i(u,c,n,e,t):o,p=d===o;p&&(d=c,xr(c)&&(Ui(c)||eo(c))?d=Ui(u)?u:xr(u)?Lt(u):[]:Ki(c)||Fi(c)?d=Fi(u)?ro(u):Ki(u)?u:{}:p=!1),a.push(c),s.push(d),p?e[n]=r(d,c,i,a,s):(d==d?d!==u:u==u)&&(e[n]=d)}(t,n,u,e,r,i,a);else{var d=t[u],p=r?r(d,c,u,t,n):o,f=p===o;f&&(p=c),p===o&&(!s||u in t)||!f&&(p==p?p===d:d!=d)||(t[u]=p)}}),t}),oo=Bn(function(e,t,n){return n?Xt(e,t,n):Yt(e,t)});var ao=Xn(oo,function(e,t){return e===o?t:e}),so=Xn(io,function e(t,n){return t===o?n:io(t,n,e)}),lo=Qn(fn),co=Qn(hn),uo=tr(un),po=tr(dn),fo=nr(fn),ho=nr(hn);function go(e){return gn(e,vo(e))}var mo=bt?function(e){var t=null==e?o:e.constructor;return"function"==typeof t&&t.prototype===e||"function"!=typeof e&&xr(e)?Pr(e):Xi(e)?bt(e):[]}:Pr;function vo(e){if(null==e)return[];Xi(e)||(e=$e(e));var t=e.length;t=t&&Er(t)&&(Ui(e)||Fi(e))&&t||0;for(var r=e.constructor,i=-1,o="function"==typeof r&&r.prototype===e,a=n(t),s=t>0;++i<t;)a[i]=i+"";for(var l in e)s&&wr(l,t)||"constructor"==l&&(o||!Ge.call(e,l))||a.push(l);return a}var bo=rr(!0),yo=rr(),xo=Bi(function(e,t){if(null==e)return{};if("function"!=typeof t[0])return t=Ft(cn(t),Se),Cr(e,nn(vo(e),t));var n=Nn(t[0],t[1],3);return Tr(e,function(e,t,r){return!n(e,t,r)})});function wo(e){e=Rr(e);for(var t=-1,r=mo(e),i=r.length,o=n(i);++t<i;){var a=r[t];o[t]=[a,e[a]]}return o}var ko=Bi(function(e,t){return null==e?{}:"function"==typeof t[0]?Tr(e,Nn(t[0],t[1],3)):Cr(e,cn(t))});function _o(e){return On(e,mo(e))}var $o=Hn(function(e,t,n){return t=t.toLowerCase(),e+(n?t.charAt(0).toUpperCase()+t.slice(1):t)});function Eo(e){return(e=Me(e))&&e.replace(fe,Be).replace(ae,"")}var So=Hn(function(e,t,n){return e+(n?"-":"")+t.toLowerCase()});var Co=ir(),To=ir(!0);function Ao(e,t){var n="";if(e=Me(e),(t=+t)<1||!e||!vt(t))return n;do{t%2&&(n+=e),t=gt(t/2),e+=e}while(t);return n}var Po=Hn(function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}),Oo=Hn(function(e,t,n){return e+(n?" ":"")+(t.charAt(0).toUpperCase()+t.slice(1))});function Ro(e,t,n){var r=e;return(e=Me(e))?(n?kr(r,t,n):null==t)?e.slice(Ye(e),Ze(e)+1):(t+="",e.slice(ze(e,t),Le(e,t)+1)):e}function jo(e,t,n){return n&&kr(e,t,n)&&(t=o),(e=Me(e)).match(t||me)||[]}var Do=Bi(function(e,t){try{return e.apply(o,t)}catch(e){return Wi(e)?e:new i(e)}});function Io(e,t,n){return n&&kr(e,t,n)&&(t=o),We(e)?Mo(e):Qt(e,t)}function No(e){return e}function Mo(e){return xn(Jt(e,!0))}var zo=Bi(function(e,t){return function(n){return yr(n,e,t)}}),Lo=Bi(function(e,t){return function(n){return yr(e,n,t)}});function qo(e,t,n){if(null==n){var r=Xi(t),i=r?mo(t):o,a=i&&i.length?gn(t,i):o;(a?a.length:r)||(a=!1,n=t,t=e,e=this)}a||(a=gn(t,mo(t)));var s=!0,l=-1,c=Gi(e),u=a.length;!1===n?s=!1:Xi(n)&&"chain"in n&&(s=n.chain);for(;++l<u;){var d=a[l],p=t[d];e[d]=p,c&&(e.prototype[d]=function(t){return function(){var n=this.__chain__;if(s||n){var r=e(this.__wrapped__);return(r.__actions__=Lt(this.__actions__)).push({func:t,args:arguments,thisArg:e}),r.__chain__=n,r}return t.apply(e,Ut([this.value()],arguments))}}(p))}return e}function Bo(){}function Vo(e){return _r(e)?kn(e):function(e){var t=e+"";return e=jr(e),function(n){return mn(n,e,t)}}(e)}var Fo=cr("ceil"),Uo=cr("floor"),Ho=Yn(Vi,$t),Wo=Yn(to,Et),Go=cr("round");return Rt.prototype=jt.prototype,Dt.prototype=en(jt.prototype),Dt.prototype.constructor=Dt,It.prototype=en(jt.prototype),It.prototype.constructor=It,Nt.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},Nt.prototype.get=function(e){return"__proto__"==e?o:this.__data__[e]},Nt.prototype.has=function(e){return"__proto__"!=e&&Ge.call(this.__data__,e)},Nt.prototype.set=function(e,t){return"__proto__"!=e&&(this.__data__[e]=t),this},Mt.prototype.push=function(e){var t=this.data;"string"==typeof e||Xi(e)?t.set.add(e):t.hash[e]=!0},Ni.Cache=Nt,Rt.after=function(e,t){if("function"!=typeof t){if("function"!=typeof e)throw new Ce(_);var n=e;e=t,t=n}return e=vt(e=+e)?e:0,function(){if(--e<1)return t.apply(this,arguments)}},Rt.ary=function(e,t,n){return n&&kr(e,t,n)&&(t=o),t=e&&null==t?e.length:yt(+t||0,0),dr(e,h,o,o,o,o,t)},Rt.assign=oo,Rt.at=oi,Rt.before=Ei,Rt.bind=Si,Rt.bindAll=Ci,Rt.bindKey=Ti,Rt.callback=Io,Rt.chain=ni,Rt.chunk=function(e,t,r){t=(r?kr(e,t,r):null==t)?1:yt(gt(t)||1,1);for(var i=0,o=e?e.length:0,a=-1,s=n(ft(o/t));i<o;)s[++a]=Sn(e,i,i+=t);return s},Rt.compact=function(e){for(var t=-1,n=e?e.length:0,r=-1,i=[];++t<n;){var o=e[t];o&&(i[++r]=o)}return i},Rt.constant=function(e){return function(){return e}},Rt.countBy=ai,Rt.create=function(e,t,n){var r=en(e);return n&&kr(e,t,n)&&(t=o),t?Yt(r,t):r},Rt.curry=Ai,Rt.curryRight=Pi,Rt.debounce=Oi,Rt.defaults=ao,Rt.defaultsDeep=so,Rt.defer=Ri,Rt.delay=ji,Rt.difference=Ir,Rt.drop=Nr,Rt.dropRight=Mr,Rt.dropRightWhile=function(e,t,n){return e&&e.length?Rn(e,pr(t,n,3),!0,!0):[]},Rt.dropWhile=function(e,t,n){return e&&e.length?Rn(e,pr(t,n,3),!0):[]},Rt.fill=function(e,t,n,r){var i=e?e.length:0;return i?(n&&"number"!=typeof n&&kr(e,t,n)&&(n=0,r=i),function(e,t,n,r){var i=e.length;for((n=null==n?0:+n||0)<0&&(n=-n>i?0:i+n),(r=r===o||r>i?i:+r||0)<0&&(r+=i),i=n>r?0:r>>>0,n>>>=0;n<i;)e[n++]=t;return e}(e,t,n,r)):[]},Rt.filter=li,Rt.flatten=function(e,t,n){var r=e?e.length:0;return n&&kr(e,t,n)&&(t=!1),r?cn(e,t):[]},Rt.flattenDeep=function(e){return e&&e.length?cn(e,!0):[]},Rt.flow=Di,Rt.flowRight=Ii,Rt.forEach=di,Rt.forEachRight=pi,Rt.forIn=uo,Rt.forInRight=po,Rt.forOwn=fo,Rt.forOwnRight=ho,Rt.functions=go,Rt.groupBy=fi,Rt.indexBy=gi,Rt.initial=function(e){return Mr(e,1)},Rt.intersection=Vr,Rt.invert=function(e,t,n){n&&kr(e,t,n)&&(t=o);for(var r=-1,i=mo(e),a=i.length,s={};++r<a;){var l=i[r],c=e[l];t?Ge.call(s,c)?s[c].push(l):s[c]=[l]:s[c]=l}return s},Rt.invoke=mi,Rt.keys=mo,Rt.keysIn=vo,Rt.map=vi,Rt.mapKeys=bo,Rt.mapValues=yo,Rt.matches=Mo,Rt.matchesProperty=function(e,t){return wn(e,Jt(t,!0))},Rt.memoize=Ni,Rt.merge=io,Rt.method=zo,Rt.methodOf=Lo,Rt.mixin=qo,Rt.modArgs=Mi,Rt.negate=function(e){if("function"!=typeof e)throw new Ce(_);return function(){return!e.apply(this,arguments)}},Rt.omit=xo,Rt.once=function(e){return Ei(2,e)},Rt.pairs=wo,Rt.partial=zi,Rt.partialRight=Li,Rt.partition=bi,Rt.pick=ko,Rt.pluck=function(e,t){return vi(e,Vo(t))},Rt.property=Vo,Rt.propertyOf=function(e){return function(t){return mn(e,jr(t),t+"")}},Rt.pull=function(){var e=arguments,t=e[0];if(!t||!t.length)return t;for(var n=0,r=gr(),i=e.length;++n<i;)for(var o=0,a=e[n];(o=r(t,a,o))>-1;)ut.call(t,o,1);return t},Rt.pullAt=Ur,Rt.range=function(e,t,r){r&&kr(e,t,r)&&(t=r=o),e=+e||0,r=null==r?1:+r||0,null==t?(t=e,e=0):t=+t||0;for(var i=-1,a=yt(ft((t-e)/(r||1)),0),s=n(a);++i<a;)s[i]=e,e+=r;return s},Rt.rearg=qi,Rt.reject=function(e,t,n){var r=Ui(e)?Vt:sn;return t=pr(t,n,3),r(e,function(e,n,r){return!t(e,n,r)})},Rt.remove=function(e,t,n){var r=[];if(!e||!e.length)return r;var i=-1,o=[],a=e.length;for(t=pr(t,n,3);++i<a;){var s=e[i];t(s,i,e)&&(r.push(s),o.push(i))}return _n(e,o),r},Rt.rest=Hr,Rt.restParam=Bi,Rt.set=function(e,t,n){if(null==e)return e;for(var r=t+"",i=-1,o=(t=null!=e[r]||_r(t,e)?[r]:jr(t)).length,a=o-1,s=e;null!=s&&++i<o;){var l=t[i];Xi(s)&&(i==a?s[l]=n:null==s[l]&&(s[l]=wr(t[i+1])?[]:{})),s=s[l]}return e},Rt.shuffle=function(e){return wi(e,Et)},Rt.slice=function(e,t,n){var r=e?e.length:0;return r?(n&&"number"!=typeof n&&kr(e,t,n)&&(t=0,n=r),Sn(e,t,n)):[]},Rt.sortBy=function(e,t,n){if(null==e)return[];n&&kr(e,t,n)&&(t=o);var r=-1;return t=pr(t,n,3),Tn(yn(e,function(e,n,i){return{criteria:t(e,n,i),index:++r,value:e}}),qe)},Rt.sortByAll=_i,Rt.sortByOrder=function(e,t,n,r){return null==e?[]:(r&&kr(t,n,r)&&(n=o),Ui(t)||(t=null==t?[]:[t]),Ui(n)||(n=null==n?[]:[n]),An(e,t,n))},Rt.spread=function(e){if("function"!=typeof e)throw new Ce(_);return function(t){return e.apply(this,t)}},Rt.take=function(e,t,n){return e&&e.length?((n?kr(e,t,n):null==t)&&(t=1),Sn(e,0,t<0?0:t)):[]},Rt.takeRight=function(e,t,n){var r=e?e.length:0;return r?((n?kr(e,t,n):null==t)&&(t=1),Sn(e,(t=r-(+t||0))<0?0:t)):[]},Rt.takeRightWhile=function(e,t,n){return e&&e.length?Rn(e,pr(t,n,3),!1,!0):[]},Rt.takeWhile=function(e,t,n){return e&&e.length?Rn(e,pr(t,n,3)):[]},Rt.tap=function(e,t,n){return t.call(n,e),e},Rt.throttle=function(e,t,n){var r=!0,i=!0;if("function"!=typeof e)throw new Ce(_);return!1===n?r=!1:Xi(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),Oi(e,t,{leading:r,maxWait:+t,trailing:i})},Rt.thru=ri,Rt.times=function(e,t,r){if((e=gt(e))<1||!vt(e))return[];var i=-1,o=n(xt(e,St));for(t=Nn(t,r,1);++i<e;)i<St?o[i]=t(i):t(i);return o},Rt.toArray=no,Rt.toPlainObject=ro,Rt.transform=function(e,t,n,r){var i=Ui(e)||eo(e);if(t=pr(t,r,4),null==n)if(i||Xi(e)){var a=e.constructor;n=i?Ui(e)?new a:[]:en(Gi(a)?a.prototype:o)}else n={};return(i?qt:fn)(e,function(e,r,i){return t(n,e,r,i)}),n},Rt.union=Xr,Rt.uniq=Yr,Rt.unzip=Zr,Rt.unzipWith=Kr,Rt.values=_o,Rt.valuesIn=function(e){return On(e,vo(e))},Rt.where=function(e,t){return li(e,xn(t))},Rt.without=Qr,Rt.wrap=function(e,t){return dr(t=null==t?No:t,p,o,[e],[])},Rt.xor=function(){for(var e=-1,t=arguments.length;++e<t;){var n=arguments[e];if(xr(n))var r=r?Ut(nn(r,n),nn(n,r)):n}return r?Pn(r):[]},Rt.zip=Jr,Rt.zipObject=ei,Rt.zipWith=ti,Rt.backflow=Ii,Rt.collect=vi,Rt.compose=Ii,Rt.each=di,Rt.eachRight=pi,Rt.extend=oo,Rt.iteratee=Io,Rt.methods=go,Rt.object=ei,Rt.select=li,Rt.tail=Hr,Rt.unique=Yr,qo(Rt,Rt),Rt.add=function(e,t){return(+e||0)+(+t||0)},Rt.attempt=Do,Rt.camelCase=$o,Rt.capitalize=function(e){return(e=Me(e))&&e.charAt(0).toUpperCase()+e.slice(1)},Rt.ceil=Fo,Rt.clone=function(e,t,n,r){return t&&"boolean"!=typeof t&&kr(e,t,n)?t=!1:"function"==typeof t&&(r=n,n=t,t=!1),"function"==typeof n?Jt(e,t,Nn(n,r,1)):Jt(e,t)},Rt.cloneDeep=function(e,t,n){return"function"==typeof t?Jt(e,!0,Nn(t,n,1)):Jt(e,!0)},Rt.deburr=Eo,Rt.endsWith=function(e,t,n){t+="";var r=(e=Me(e)).length;return n=n===o?r:xt(n<0?0:+n||0,r),(n-=t.length)>=0&&e.indexOf(t,n)==n},Rt.escape=function(e){return(e=Me(e))&&K.test(e)?e.replace(Y,Ve):e},Rt.escapeRegExp=function(e){return(e=Me(e))&&oe.test(e)?e.replace(ie,Fe):e||"(?:)"},Rt.every=si,Rt.find=ci,Rt.findIndex=zr,Rt.findKey=lo,Rt.findLast=ui,Rt.findLastIndex=Lr,Rt.findLastKey=co,Rt.findWhere=function(e,t){return ci(e,xn(t))},Rt.first=qr,Rt.floor=Uo,Rt.get=function(e,t,n){var r=null==e?o:mn(e,jr(t),t+"");return r===o?n:r},Rt.gt=Vi,Rt.gte=function(e,t){return e>=t},Rt.has=function(e,t){if(null==e)return!1;var n=Ge.call(e,t);if(!n&&!_r(t)){if(null==(e=1==(t=jr(t)).length?e:mn(e,Sn(t,0,-1))))return!1;t=Fr(t),n=Ge.call(e,t)}return n||Er(e.length)&&wr(t,e.length)&&(Ui(e)||Fi(e))},Rt.identity=No,Rt.includes=hi,Rt.indexOf=Br,Rt.inRange=function(e,t,n){return t=+t||0,n===o?(n=t,t=0):n=+n||0,e>=xt(t,n)&&e<yt(t,n)},Rt.isArguments=Fi,Rt.isArray=Ui,Rt.isBoolean=function(e){return!0===e||!1===e||We(e)&&et.call(e)==C},Rt.isDate=function(e){return We(e)&&et.call(e)==T},Rt.isElement=function(e){return!!e&&1===e.nodeType&&We(e)&&!Ki(e)},Rt.isEmpty=function(e){return null==e||(xr(e)&&(Ui(e)||Ji(e)||Fi(e)||We(e)&&Gi(e.splice))?!e.length:!mo(e).length)},Rt.isEqual=Hi,Rt.isError=Wi,Rt.isFinite=function(e){return"number"==typeof e&&vt(e)},Rt.isFunction=Gi,Rt.isMatch=function(e,t,n,r){return n="function"==typeof n?Nn(n,r,3):o,bn(e,vr(t),n)},Rt.isNaN=function(e){return Zi(e)&&e!=+e},Rt.isNative=Yi,Rt.isNull=function(e){return null===e},Rt.isNumber=Zi,Rt.isObject=Xi,Rt.isPlainObject=Ki,Rt.isRegExp=Qi,Rt.isString=Ji,Rt.isTypedArray=eo,Rt.isUndefined=function(e){return e===o},Rt.kebabCase=So,Rt.last=Fr,Rt.lastIndexOf=function(e,t,n){var r=e?e.length:0;if(!r)return-1;var i=r;if("number"==typeof n)i=(n<0?yt(r+n,0):xt(n||0,r-1))+1;else if(n){var o=e[i=Dn(e,t,!0)-1];return(t==t?t===o:o!=o)?i:-1}if(t!=t)return He(e,i,!0);for(;i--;)if(e[i]===t)return i;return-1},Rt.lt=to,Rt.lte=function(e,t){return e<=t},Rt.max=Ho,Rt.min=Wo,Rt.noConflict=function(){return Re._=tt,this},Rt.noop=Bo,Rt.now=$i,Rt.pad=function(e,t,n){t=+t;var r=(e=Me(e)).length;if(r>=t||!vt(t))return e;var i=(t-r)/2,o=gt(i);return(n=lr("",ft(i),n)).slice(0,o)+e+n},Rt.padLeft=Co,Rt.padRight=To,Rt.parseInt=function(e,t,n){return(n?kr(e,t,n):null==t)?t=0:t&&(t=+t),e=Ro(e),kt(e,t||(ue.test(e)?16:10))},Rt.random=function(e,t,n){n&&kr(e,t,n)&&(t=n=o);var r=null==e,i=null==t;if(null==n&&(i&&"boolean"==typeof e?(n=e,e=1):"boolean"==typeof t&&(n=t,i=!0)),r&&i&&(t=1,i=!1),e=+e||0,i?(t=e,e=0):t=+t||0,n||e%1||t%1){var a=_t();return xt(e+a*(t-e+ot("1e-"+((a+"").length-1))),t)}return $n(e,t)},Rt.reduce=yi,Rt.reduceRight=xi,Rt.repeat=Ao,Rt.result=function(e,t,n){var r=null==e?o:e[t];return r===o&&(null==e||_r(t,e)||(r=null==(e=1==(t=jr(t)).length?e:mn(e,Sn(t,0,-1)))?o:e[Fr(t)]),r=r===o?n:r),Gi(r)?r.call(e):r},Rt.round=Go,Rt.runInContext=e,Rt.size=function(e){var t=e?mr(e):0;return Er(t)?t:mo(e).length},Rt.snakeCase=Po,Rt.some=ki,Rt.sortedIndex=Wr,Rt.sortedLastIndex=Gr,Rt.startCase=Oo,Rt.startsWith=function(e,t,n){return e=Me(e),n=null==n?0:xt(n<0?0:+n||0,e.length),e.lastIndexOf(t,n)==n},Rt.sum=function(e,t,n){return n&&kr(e,t,n)&&(t=o),1==(t=pr(t,n,3)).length?function(e,t){for(var n=e.length,r=0;n--;)r+=+t(e[n])||0;return r}(Ui(e)?e:Or(e),t):function(e,t){var n=0;return rn(e,function(e,r,i){n+=+t(e,r,i)||0}),n}(e,t)},Rt.template=function(e,t,n){var r=Rt.templateSettings;n&&kr(e,t,n)&&(t=n=o),e=Me(e);var i,a,s=Xt(Yt({},(t=Xt(Yt({},n||t),r,Gt)).imports),r.imports,Gt),l=mo(s),c=On(s,l),u=0,d=t.interpolate||he,p="__p += '",f=Ee((t.escape||he).source+"|"+d.source+"|"+(d===ee?le:he).source+"|"+(t.evaluate||he).source+"|$","g"),h="//# sourceURL="+("sourceURL"in t?t.sourceURL:"lodash.templateSources["+ ++be+"]")+"\n";e.replace(f,function(t,n,r,o,s,l){return r||(r=o),p+=e.slice(u,l).replace(ge,Ue),n&&(i=!0,p+="' +\n__e("+n+") +\n'"),s&&(a=!0,p+="';\n"+s+";\n__p += '"),r&&(p+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),u=l+t.length,t}),p+="';\n";var g=t.variable;g||(p="with (obj) {\n"+p+"\n}\n"),p=(a?p.replace(H,""):p).replace(W,"$1").replace(G,"$1;"),p="function("+(g||"obj")+") {\n"+(g?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(i?", __e = _.escape":"")+(a?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+p+"return __p\n}";var m=Do(function(){return we(l,h+"return "+p).apply(o,c)});if(m.source=p,Wi(m))throw m;return m},Rt.trim=Ro,Rt.trimLeft=function(e,t,n){var r=e;return(e=Me(e))?(n?kr(r,t,n):null==t)?e.slice(Ye(e)):e.slice(ze(e,t+"")):e},Rt.trimRight=function(e,t,n){var r=e;return(e=Me(e))?(n?kr(r,t,n):null==t)?e.slice(0,Ze(e)+1):e.slice(0,Le(e,t+"")+1):e},Rt.trunc=function(e,t,n){n&&kr(e,t,n)&&(t=o);var r=m,i=v;if(null!=t)if(Xi(t)){var a="separator"in t?t.separator:a;r="length"in t?+t.length||0:r,i="omission"in t?Me(t.omission):i}else r=+t||0;if(r>=(e=Me(e)).length)return e;var s=r-i.length;if(s<1)return i;var l=e.slice(0,s);if(null==a)return l+i;if(Qi(a)){if(e.slice(s).search(a)){var c,u,d=e.slice(0,s);for(a.global||(a=Ee(a.source,(ce.exec(a)||"")+"g")),a.lastIndex=0;c=a.exec(d);)u=c.index;l=l.slice(0,null==u?s:u)}}else if(e.indexOf(a,s)!=s){var p=l.lastIndexOf(a);p>-1&&(l=l.slice(0,p))}return l+i},Rt.unescape=function(e){return(e=Me(e))&&Z.test(e)?e.replace(X,Ke):e},Rt.uniqueId=function(e){var t=++Je;return Me(e)+t},Rt.words=jo,Rt.all=si,Rt.any=ki,Rt.contains=hi,Rt.eq=Hi,Rt.detect=ci,Rt.foldl=yi,Rt.foldr=xi,Rt.head=qr,Rt.include=hi,Rt.inject=yi,qo(Rt,function(){var e={};return fn(Rt,function(t,n){Rt.prototype[n]||(e[n]=t)}),e}(),!1),Rt.sample=wi,Rt.prototype.sample=function(e){return this.__chain__||null!=e?this.thru(function(t){return wi(t,e)}):wi(this.value())},Rt.VERSION=a,qt(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){Rt[e].placeholder=Rt}),qt(["drop","take"],function(e,t){It.prototype[e]=function(n){var r=this.__filtered__;if(r&&!t)return new It(this);n=null==n?1:yt(gt(n)||0,0);var i=this.clone();return r?i.__takeCount__=xt(i.__takeCount__,n):i.__views__.push({size:n,type:e+(i.__dir__<0?"Right":"")}),i},It.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}}),qt(["filter","map","takeWhile"],function(e,t){var n=t+1,r=n!=k;It.prototype[e]=function(e,t){var i=this.clone();return i.__iteratees__.push({iteratee:pr(e,t,1),type:n}),i.__filtered__=i.__filtered__||r,i}}),qt(["first","last"],function(e,t){var n="take"+(t?"Right":"");It.prototype[e]=function(){return this[n](1).value()[0]}}),qt(["initial","rest"],function(e,t){var n="drop"+(t?"":"Right");It.prototype[e]=function(){return this.__filtered__?new It(this):this[n](1)}}),qt(["pluck","where"],function(e,t){var n=t?"filter":"map",r=t?xn:Vo;It.prototype[e]=function(e){return this[n](r(e))}}),It.prototype.compact=function(){return this.filter(No)},It.prototype.reject=function(e,t){return e=pr(e,t,1),this.filter(function(t){return!e(t)})},It.prototype.slice=function(e,t){e=null==e?0:+e||0;var n=this;return n.__filtered__&&(e>0||t<0)?new It(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==o&&(n=(t=+t||0)<0?n.dropRight(-t):n.take(t-e)),n)},It.prototype.takeRightWhile=function(e,t){return this.reverse().takeWhile(e,t).reverse()},It.prototype.toArray=function(){return this.take(Et)},fn(It.prototype,function(e,t){var n=/^(?:filter|map|reject)|While$/.test(t),r=/^(?:first|last)$/.test(t),i=Rt[r?"take"+("last"==t?"Right":""):t];i&&(Rt.prototype[t]=function(){var t=r?[1]:arguments,a=this.__chain__,s=this.__wrapped__,l=!!this.__actions__.length,c=s instanceof It,u=t[0],d=c||Ui(s);d&&n&&"function"==typeof u&&1!=u.length&&(c=d=!1);var p=function(e){return r&&a?i(e,1)[0]:i.apply(o,Ut([e],t))},f={func:ri,args:[p],thisArg:o},h=c&&!l;if(r&&!a)return h?((s=s.clone()).__actions__.push(f),e.call(s)):i.call(o,this.value())[0];if(!r&&d){s=h?s:new It(this);var g=e.apply(s,t);return g.__actions__.push(f),new Dt(g,a)}return this.thru(p)})}),qt(["join","pop","push","replace","shift","sort","splice","split","unshift"],function(e){var t=(/^(?:replace|split)$/.test(e)?Pe:Te)[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:join|pop|replace|shift)$/.test(e);Rt.prototype[e]=function(){var e=arguments;return r&&!this.__chain__?t.apply(this.value(),e):this[n](function(n){return t.apply(n,e)})}}),fn(It.prototype,function(e,t){var n=Rt[t];if(n){var r=n.name;(Ot[r]||(Ot[r]=[])).push({name:t,func:n})}}),Ot[sr(o,l).name]=[{name:"wrapper",func:o}],It.prototype.clone=function(){var e=new It(this.__wrapped__);return e.__actions__=Lt(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Lt(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Lt(this.__views__),e},It.prototype.reverse=function(){if(this.__filtered__){var e=new It(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},It.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=Ui(e),r=t<0,i=n?e.length:0,o=function(e,t,n){for(var r=-1,i=n.length;++r<i;){var o=n[r],a=o.size;switch(o.type){case"drop":e+=a;break;case"dropRight":t-=a;break;case"take":t=xt(t,e+a);break;case"takeRight":e=yt(e,t-a)}}return{start:e,end:t}}(0,i,this.__views__),a=o.start,s=o.end,l=s-a,c=r?s:a-1,u=this.__iteratees__,d=u.length,p=0,f=xt(l,this.__takeCount__);if(!n||i<x||i==l&&f==l)return jn(r&&n?e.reverse():e,this.__actions__);var h=[];e:for(;l--&&p<f;){for(var g=-1,m=e[c+=t];++g<d;){var v=u[g],b=v.iteratee,y=v.type,_=b(m);if(y==k)m=_;else if(!_){if(y==w)continue e;break e}}h[p++]=m}return h},Rt.prototype.chain=function(){return ni(this)},Rt.prototype.commit=function(){return new Dt(this.value(),this.__chain__)},Rt.prototype.concat=ii,Rt.prototype.plant=function(e){for(var t,n=this;n instanceof jt;){var r=Dr(n);t?i.__wrapped__=r:t=r;var i=r;n=n.__wrapped__}return i.__wrapped__=e,t},Rt.prototype.reverse=function(){var e=this.__wrapped__,t=function(e){return n&&n.__dir__<0?e:e.reverse()};if(e instanceof It){var n=e;return this.__actions__.length&&(n=new It(this)),(n=n.reverse()).__actions__.push({func:ri,args:[t],thisArg:o}),new Dt(n,this.__chain__)}return this.thru(t)},Rt.prototype.toString=function(){return this.value()+""},Rt.prototype.run=Rt.prototype.toJSON=Rt.prototype.valueOf=Rt.prototype.value=function(){return jn(this.__wrapped__,this.__actions__)},Rt.prototype.collect=Rt.prototype.map,Rt.prototype.head=Rt.prototype.first,Rt.prototype.select=Rt.prototype.filter,Rt.prototype.tail=Rt.prototype.rest,Rt}();Re._=Qe,(i=function(){return Qe}.call(t,n,t,e))===o||(e.exports=i)}).call(this)}).call(this,n(32)(e),n(14))},function(e,t,n){e.exports={Graph:n(31),version:n(153)}},function(e,t,n){e.exports={graphlib:n(10),layout:n(142),debug:n(119),util:{time:n(6).time,notime:n(6).notime},version:n(118)}},function(e,t,n){!function(t,r){e.exports=r(n(156))}(0,function(e){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.i=function(e){return e},n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:r})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=3)}([function(e,t,n){"use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=n(2),o=n(1),a=n(4);function s(e){this.options=o({},i,e)}s.prototype.run=function(){var e=this.options,t=e.cy,n=e.eles,i=function(e,t){return function(e){return"function"==typeof e}(t)?t.apply(e,[e]):t},o=e.boundingBox||{x1:0,y1:0,w:t.width(),h:t.height()};void 0===o.x2&&(o.x2=o.x1+o.w),void 0===o.w&&(o.w=o.x2-o.x1),void 0===o.y2&&(o.y2=o.y1+o.h),void 0===o.h&&(o.h=o.y2-o.y1);var s=new a.graphlib.Graph({multigraph:!0,compound:!0}),l={},c=function(e,t){null!=t&&(l[e]=t)};c("nodesep",e.nodeSep),c("edgesep",e.edgeSep),c("ranksep",e.rankSep),c("rankdir",e.rankDir),c("ranker",e.ranker),s.setGraph(l),s.setDefaultEdgeLabel(function(){return{}}),s.setDefaultNodeLabel(function(){return{}});for(var u=n.nodes(),d=0;d<u.length;d++){var p=u[d],f=p.layoutDimensions(e);s.setNode(p.id(),{width:f.w,height:f.h,name:p.id()})}for(var h=0;h<u.length;h++){var g=u[h];g.isChild()&&s.setParent(g.id(),g.parent().id())}for(var m=n.edges().stdFilter(function(e){return!e.source().isParent()&&!e.target().isParent()}),v=0;v<m.length;v++){var b=m[v];s.setEdge(b.source().id(),b.target().id(),{minlen:i(b,e.minLen),weight:i(b,e.edgeWeight),name:b.id()},b.id())}a.layout(s);for(var y=s.nodes(),x=0;x<y.length;x++){var w=y[x],k=s.node(w);t.getElementById(w).scratch().dagre=k}var _=void 0;e.boundingBox?(_={x1:1/0,x2:-1/0,y1:1/0,y2:-1/0},u.forEach(function(e){var t=e.scratch().dagre;_.x1=Math.min(_.x1,t.x),_.x2=Math.max(_.x2,t.x),_.y1=Math.min(_.y1,t.y),_.y2=Math.max(_.y2,t.y)}),_.w=_.x2-_.x1,_.h=_.y2-_.y1):_=o;return u.layoutPositions(this,e,function(t){var n=(t="object"===(void 0===t?"undefined":r(t))?t:this).scratch().dagre;return function(t){if(e.boundingBox){var n=0===_.w?0:(t.x-_.x1)/_.w,r=0===_.h?0:(t.y-_.y1)/_.h;return{x:o.x1+n*o.w,y:o.y1+r*o.h}}return t}({x:n.x,y:n.y})}),this},e.exports=s},function(e,t,n){"use strict";e.exports=null!=Object.assign?Object.assign.bind(Object):function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return n.forEach(function(t){Object.keys(t).forEach(function(n){return e[n]=t[n]})}),e}},function(e,t,n){"use strict";var r={nodeSep:void 0,edgeSep:void 0,rankSep:void 0,rankDir:void 0,ranker:void 0,minLen:function(e){return 1},edgeWeight:function(e){return 1},fit:!0,padding:30,spacingFactor:void 0,nodeDimensionsIncludeLabels:!1,animate:!1,animateFilter:function(e,t){return!0},animationDuration:500,animationEasing:void 0,boundingBox:void 0,transform:function(e,t){return t},ready:function(){},stop:function(){}};e.exports=r},function(e,t,n){"use strict";var r=n(0),i=function(e){e&&e("layout","dagre",r)};"undefined"!=typeof cytoscape&&i(cytoscape),e.exports=i},function(t,n){t.exports=e}])})},function(e,t,n){var r;!function(){"use strict";var i="undefined"==typeof jQuery?null:jQuery,o=function(e,t){if(e){var n,r={menuItems:[],menuItemClasses:[],contextMenuClasses:[]};e("core","contextMenus",function(e){var i=this;i.scratch("cycontextmenus")||i.scratch("cycontextmenus",{});var o=c("options"),a=c("cxtMenu"),s="cy-context-menus-cxt-menuitem",l="cy-context-menus-divider";function c(e){return i.scratch("cycontextmenus")[e]}function u(e,t){i.scratch("cycontextmenus")[e]=t}function d(e){for(var t="",n=0;n<e.length;n++){t+=e[n],n!==e.length-1&&(t+=" ")}return t}function p(e){e.css("display","block")}function f(e){e.css("display","none")}function h(e,n,r){function o(n){u("currentCyEvent",n),function(e){var n=c("cxtMenuPosition"),r=e.position||e.cyPosition;if(n!=r){a.children().css("display","none"),u("anyVisibleChild",!1),u("cxtMenuPosition",r);var o=t(i.container()).offset(),s=e.renderedPosition||e.cyRenderedPosition,l=o.left+s.x,d=o.top+s.y;a.css("left",l),a.css("top",d)}}(n),e.data("show")&&(a.is(":visible")||p(a),u("anyVisibleChild",!0),p(e)),!c("anyVisibleChild")&&a.is(":visible")&&f(a)}var s,l;r&&i.on("cxttap",l=function(e){(e.target||e.cyTarget)==i&&o(e)}),n&&i.on("cxttap",n,s=function(e){o(e)}),e.data("cy-context-menus-cxtfcn",s),e.data("cy-context-menus-cxtcorefcn",l)}function g(e,t,n,r){!function(e,t){var n;e.on("click",n=function(){t(c("currentCyEvent"))}),e.data("call-on-click-function",n)}(e,t),h(e,n,r)}function m(e){for(var t=0;t<e.length;t++)v(e[t])}function v(e){var t=y(e);!function(e){a.append(e),function(e){e.click(function(){f(a),u("cxtMenuPosition",void 0)})}(e)}(t),g(t,e.onClickFunction,e.selector,e.coreAsWell)}function b(e,n){var r=y(e);!function(e,n){var r=t("#"+n);e.insertBefore(r)}(r,n),g(r,e.onClickFunction,e.selector,e.coreAsWell)}function y(e){var n=function(e,t){var n=d(e);return n+=" "+s,t&&(n+=" "+l),n}(o.menuItemClasses,e.hasTrailingDivider),r='<button id="'+e.id+'" class="'+n+'"';e.tooltipText&&(r+=' title="'+e.tooltipText+'"'),e.disabled&&(r+=" disabled"),e.image?r+='><img src="'+e.image.src+'" width="'+e.image.width+'px"; height="'+e.image.height+'px"; style="position:absolute; top: '+e.image.y+"px; left: "+e.image.x+'px;">'+e.content+"</button>":r+=">"+e.content+"</button>";var i=t(r);return i.data("selector",e.selector),i.data("on-click-function",e.onClickFunction),i.data("show",void 0===e.show||e.show),i}function x(){c("active")&&(!function(){var e=a.children();t(e).each(function(){w(t(this))})}(),i.off("tapstart",n),a.remove(),u(a=void 0,void 0),u("active",!1),u("anyVisibleChild",!1))}function w(e){var n="string"==typeof e?t("#"+e):e,r=n.data("cy-context-menus-cxtfcn"),o=n.data("selector"),a=n.data("call-on-click-function"),s=n.data("cy-context-menus-cxtcorefcn");r&&i.off("cxttap",o,r),s&&i.off("cxttap",s),a&&n.off("click",a),n.remove()}"get"!==e&&(u("options",o=function(e,t){var n={};for(var r in e)n[r]=e[r];for(var r in t)n[r]=t[r];return n}(r,e)),c("active")&&x(),u("active",!0),a=function(){var e=d(o.contextMenuClasses);return(a=t("<div class="+e+"></div>")).addClass("cy-context-menus-cxt-menu"),u("cxtMenu",a),t("body").append(a),a}(),m(o.menuItems),i.on("tapstart",n=function(){f(a),u("cxtMenuPosition",void 0),u("currentCyEvent",void 0)}),t(".cy-context-menus-cxt-menu").contextmenu(function(){return!1}));return function(e){return{isActive:function(){return c("active")},appendMenuItem:function(t){return v(t),e},appendMenuItems:function(t){return m(t),e},removeMenuItem:function(t){return w(t),e},setTrailingDivider:function(n,r){return function(e,n){var r=t("#"+e);n?r.addClass(l):r.removeClass(l)}(n,r),e},insertBeforeMenuItem:function(t,n){return b(t,n),e},moveBeforeOtherMenuItem:function(n,r){return function(e,n){if(e!==n){var r=t("#"+e).detach(),i=t("#"+n);r.insertBefore(i)}}(n,r),e},disableMenuItem:function(n){return function(e){t("#"+e).attr("disabled",!0)}(n),e},enableMenuItem:function(n){return function(e){t("#"+e).attr("disabled",!1)}(n),e},hideMenuItem:function(n){return t("#"+n).data("show",!1),f(t("#"+n)),e},showMenuItem:function(n){return t("#"+n).data("show",!0),p(t("#"+n)),e},destroy:function(){return x(),e}}}(this)})}};void 0!==e&&e.exports&&(e.exports=o),void 0===(r=function(){return o}.call(t,n,t,e))||(e.exports=r),"undefined"!=typeof cytoscape&&i&&o(cytoscape,i)}()},function(e,t,n){var r,i,o;(function(){var n,a,s,l,c,u,d,p,f,h,g,m,v,b,y;s=Math.floor,h=Math.min,a=function(e,t){return e<t?-1:e>t?1:0},f=function(e,t,n,r,i){var o;if(null==n&&(n=0),null==i&&(i=a),n<0)throw new Error("lo must be non-negative");for(null==r&&(r=e.length);n<r;)i(t,e[o=s((n+r)/2)])<0?r=o:n=o+1;return[].splice.apply(e,[n,n-n].concat(t)),t},u=function(e,t,n){return null==n&&(n=a),e.push(t),b(e,0,e.length-1,n)},c=function(e,t){var n,r;return null==t&&(t=a),n=e.pop(),e.length?(r=e[0],e[0]=n,y(e,0,t)):r=n,r},p=function(e,t,n){var r;return null==n&&(n=a),r=e[0],e[0]=t,y(e,0,n),r},d=function(e,t,n){var r;return null==n&&(n=a),e.length&&n(e[0],t)<0&&(t=(r=[e[0],t])[0],e[0]=r[1],y(e,0,n)),t},l=function(e,t){var n,r,i,o,l,c;for(null==t&&(t=a),l=[],r=0,i=(o=function(){c=[];for(var t=0,n=s(e.length/2);0<=n?t<n:t>n;0<=n?t++:t--)c.push(t);return c}.apply(this).reverse()).length;r<i;r++)n=o[r],l.push(y(e,n,t));return l},v=function(e,t,n){var r;if(null==n&&(n=a),-1!==(r=e.indexOf(t)))return b(e,0,r,n),y(e,r,n)},g=function(e,t,n){var r,i,o,s,c;if(null==n&&(n=a),!(i=e.slice(0,t)).length)return i;for(l(i,n),o=0,s=(c=e.slice(t)).length;o<s;o++)r=c[o],d(i,r,n);return i.sort(n).reverse()},m=function(e,t,n){var r,i,o,s,u,d,p,g,m;if(null==n&&(n=a),10*t<=e.length){if(!(o=e.slice(0,t).sort(n)).length)return o;for(i=o[o.length-1],s=0,d=(p=e.slice(t)).length;s<d;s++)n(r=p[s],i)<0&&(f(o,r,0,null,n),o.pop(),i=o[o.length-1]);return o}for(l(e,n),m=[],u=0,g=h(t,e.length);0<=g?u<g:u>g;0<=g?++u:--u)m.push(c(e,n));return m},b=function(e,t,n,r){var i,o,s;for(null==r&&(r=a),i=e[n];n>t&&r(i,o=e[s=n-1>>1])<0;)e[n]=o,n=s;return e[n]=i},y=function(e,t,n){var r,i,o,s,l;for(null==n&&(n=a),i=e.length,l=t,o=e[t],r=2*t+1;r<i;)(s=r+1)<i&&!(n(e[r],e[s])<0)&&(r=s),e[t]=e[r],r=2*(t=r)+1;return e[t]=o,b(e,l,t,n)},n=function(){function e(e){this.cmp=null!=e?e:a,this.nodes=[]}return e.push=u,e.pop=c,e.replace=p,e.pushpop=d,e.heapify=l,e.updateItem=v,e.nlargest=g,e.nsmallest=m,e.prototype.push=function(e){return u(this.nodes,e,this.cmp)},e.prototype.pop=function(){return c(this.nodes,this.cmp)},e.prototype.peek=function(){return this.nodes[0]},e.prototype.contains=function(e){return-1!==this.nodes.indexOf(e)},e.prototype.replace=function(e){return p(this.nodes,e,this.cmp)},e.prototype.pushpop=function(e){return d(this.nodes,e,this.cmp)},e.prototype.heapify=function(){return l(this.nodes,this.cmp)},e.prototype.updateItem=function(e){return v(this.nodes,e,this.cmp)},e.prototype.clear=function(){return this.nodes=[]},e.prototype.empty=function(){return 0===this.nodes.length},e.prototype.size=function(){return this.nodes.length},e.prototype.clone=function(){var t;return(t=new e).nodes=this.nodes.slice(0),t},e.prototype.toArray=function(){return this.nodes.slice(0)},e.prototype.insert=e.prototype.push,e.prototype.top=e.prototype.peek,e.prototype.front=e.prototype.peek,e.prototype.has=e.prototype.contains,e.prototype.copy=e.prototype.clone,e}(),i=[],void 0===(o="function"==typeof(r=function(){return n})?r.apply(t,i):r)||(e.exports=o)}).call(this)},function(e,t,n){e.exports=n(159)},function(e,t,n){(function(t){var n="Expected a function",r=NaN,i="[object Symbol]",o=/^\s+|\s+$/g,a=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,l=/^0o[0-7]+$/i,c=parseInt,u="object"==typeof t&&t&&t.Object===Object&&t,d="object"==typeof self&&self&&self.Object===Object&&self,p=u||d||Function("return this")(),f=Object.prototype.toString,h=Math.max,g=Math.min,m=function(){return p.Date.now()};function v(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function b(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&f.call(e)==i}(e))return r;if(v(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=v(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(o,"");var n=s.test(e);return n||l.test(e)?c(e.slice(2),n?2:8):a.test(e)?r:+e}e.exports=function(e,t,r){var i,o,a,s,l,c,u=0,d=!1,p=!1,f=!0;if("function"!=typeof e)throw new TypeError(n);function y(t){var n=i,r=o;return i=o=void 0,u=t,s=e.apply(r,n)}function x(e){var n=e-c;return void 0===c||n>=t||n<0||p&&e-u>=a}function w(){var e=m();if(x(e))return k(e);l=setTimeout(w,function(e){var n=t-(e-c);return p?g(n,a-(e-u)):n}(e))}function k(e){return l=void 0,f&&i?y(e):(i=o=void 0,s)}function _(){var e=m(),n=x(e);if(i=arguments,o=this,c=e,n){if(void 0===l)return function(e){return u=e,l=setTimeout(w,t),d?y(e):s}(c);if(p)return l=setTimeout(w,t),y(c)}return void 0===l&&(l=setTimeout(w,t)),s}return t=b(t)||0,v(r)&&(d=!!r.leading,a=(p="maxWait"in r)?h(b(r.maxWait)||0,t):a,f="trailing"in r?!!r.trailing:f),_.cancel=function(){void 0!==l&&clearTimeout(l),u=0,i=c=o=l=void 0},_.flush=function(){return void 0===l?s:k(m())},_}}).call(this,n(14))},function(e,t){var n,r,i=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(e){if(n===setTimeout)return setTimeout(e,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:o}catch(e){n=o}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var l,c=[],u=!1,d=-1;function p(){u&&l&&(u=!1,l.length?c=l.concat(c):d=-1,c.length&&f())}function f(){if(!u){var e=s(p);u=!0;for(var t=c.length;t;){for(l=c,c=[];++d<t;)l&&l[d].run();d=-1,t=c.length}l=null,u=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function g(){}i.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];c.push(new h(e,t)),1!==c.length||u||s(f)},h.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=g,i.addListener=g,i.once=g,i.off=g,i.removeListener=g,i.removeAllListeners=g,i.emit=g,i.prependListener=g,i.prependOnceListener=g,i.listeners=function(e){return[]},i.binding=function(e){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},function(e,t,n){(function(e,t){!function(e,n){"use strict";if(!e.setImmediate){var r,i=1,o={},a=!1,s=e.document,l=Object.getPrototypeOf&&Object.getPrototypeOf(e);l=l&&l.setTimeout?l:e,"[object process]"==={}.toString.call(e.process)?r=function(e){t.nextTick(function(){u(e)})}:function(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}}()?function(){var t="setImmediate$"+Math.random()+"$",n=function(n){n.source===e&&"string"==typeof n.data&&0===n.data.indexOf(t)&&u(+n.data.slice(t.length))};e.addEventListener?e.addEventListener("message",n,!1):e.attachEvent("onmessage",n),r=function(n){e.postMessage(t+n,"*")}}():e.MessageChannel?function(){var e=new MessageChannel;e.port1.onmessage=function(e){u(e.data)},r=function(t){e.port2.postMessage(t)}}():s&&"onreadystatechange"in s.createElement("script")?function(){var e=s.documentElement;r=function(t){var n=s.createElement("script");n.onreadystatechange=function(){u(t),n.onreadystatechange=null,e.removeChild(n),n=null},e.appendChild(n)}}():r=function(e){setTimeout(u,0,e)},l.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),n=0;n<t.length;n++)t[n]=arguments[n+1];var a={callback:e,args:t};return o[i]=a,r(i),i++},l.clearImmediate=c}function c(e){delete o[e]}function u(e){if(a)setTimeout(u,0,e);else{var t=o[e];if(t){a=!0;try{!function(e){var t=e.callback,r=e.args;switch(r.length){case 0:t();break;case 1:t(r[0]);break;case 2:t(r[0],r[1]);break;case 3:t(r[0],r[1],r[2]);break;default:t.apply(n,r)}}(t)}finally{c(e),a=!1}}}}}("undefined"==typeof self?void 0===e?this:e:self)}).call(this,n(14),n(162))},function(e,t,n){(function(e){var r=void 0!==e&&e||"undefined"!=typeof self&&self||window,i=Function.prototype.apply;function o(e,t){this._id=e,this._clearFn=t}t.setTimeout=function(){return new o(i.call(setTimeout,r,arguments),clearTimeout)},t.setInterval=function(){return new o(i.call(setInterval,r,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},o.prototype.unref=o.prototype.ref=function(){},o.prototype.close=function(){this._clearFn.call(r,this._id)},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout(function(){e._onTimeout&&e._onTimeout()},t))},n(163),t.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||this&&this.setImmediate,t.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||this&&this.clearImmediate}).call(this,n(14))},function(e,t,n){(function(t){!function(t,r){e.exports=r(n(161),n(160))}("undefined"!=typeof self&&self,function(e,n){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:r})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=20)}([function(e,t,n){"use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=n(3),o=i?i.navigator:null,a=i?i.document:null,s=r(""),l=r({}),c=r(function(){}),u="undefined"==typeof HTMLElement?"undefined":r(HTMLElement),d=function(e){return e&&e.instanceString&&p.fn(e.instanceString)?e.instanceString():null},p={defined:function(e){return null!=e},string:function(e){return null!=e&&(void 0===e?"undefined":r(e))==s},fn:function(e){return null!=e&&(void 0===e?"undefined":r(e))===c},array:function(e){return Array.isArray?Array.isArray(e):null!=e&&e instanceof Array},plainObject:function(e){return null!=e&&(void 0===e?"undefined":r(e))===l&&!p.array(e)&&e.constructor===Object},object:function(e){return null!=e&&(void 0===e?"undefined":r(e))===l},number:function(e){return null!=e&&(void 0===e?"undefined":r(e))===r(1)&&!isNaN(e)},integer:function(e){return p.number(e)&&Math.floor(e)===e},bool:function(e){return null!=e&&(void 0===e?"undefined":r(e))===r(!0)},htmlElement:function(e){return"undefined"===u?void 0:null!=e&&e instanceof HTMLElement},elementOrCollection:function(e){return p.element(e)||p.collection(e)},element:function(e){return"collection"===d(e)&&e._private.single},collection:function(e){return"collection"===d(e)&&!e._private.single},core:function(e){return"core"===d(e)},style:function(e){return"style"===d(e)},stylesheet:function(e){return"stylesheet"===d(e)},event:function(e){return"event"===d(e)},thread:function(e){return"thread"===d(e)},fabric:function(e){return"fabric"===d(e)},emptyString:function(e){return void 0===e||null===e||!(""!==e&&!e.match(/^\s+$/))},nonemptyString:function(e){return!(!e||!p.string(e)||""===e||e.match(/^\s+$/))},domElement:function(e){return"undefined"!=typeof HTMLElement&&e instanceof HTMLElement},boundingBox:function(e){return p.plainObject(e)&&p.number(e.x1)&&p.number(e.x2)&&p.number(e.y1)&&p.number(e.y2)},promise:function(e){return p.object(e)&&p.fn(e.then)},touch:function(){return i&&("ontouchstart"in i||i.DocumentTouch&&a instanceof DocumentTouch)},gecko:function(){return i&&("undefined"!=typeof InstallTrigger||"MozAppearance"in a.documentElement.style)},webkit:function(){return i&&("undefined"!=typeof webkitURL||"WebkitAppearance"in a.documentElement.style)},chromium:function(){return i&&"undefined"!=typeof chrome},khtml:function(){return o&&o.vendor.match(/kde/i)},khtmlEtc:function(){return p.khtml()||p.webkit()||p.chromium()},ms:function(){return o&&o.userAgent.match(/msie|trident|edge/i)},windows:function(){return o&&o.appVersion.match(/Win/i)},mac:function(){return o&&o.appVersion.match(/Mac/i)},linux:function(){return o&&o.appVersion.match(/Linux/i)},unix:function(){return o&&o.appVersion.match(/X11/i)}};e.exports=p},function(e,t,n){"use strict";var r=n(0),i=n(2),o={MAX_INT:Number.MAX_SAFE_INTEGER||9007199254740991,trueify:function(){return!0},falsify:function(){return!1},zeroify:function(){return 0},noop:function(){},error:function(e){console.error?(console.error.apply(console,arguments),console.trace&&console.trace()):(console.log.apply(console,arguments),console.trace&&console.trace())},clone:function(e){return this.extend({},e)},copy:function(e){return null==e?e:r.array(e)?e.slice():r.plainObject(e)?this.clone(e):e},copyArray:function(e){return e.slice()},clonePosition:function(e){return{x:e.x,y:e.y}},uuid:function(e,t){for(t=e="";e++<36;t+=51*e&52?(15^e?8^Math.random()*(20^e?16:4):4).toString(16):"-");return t}};o.makeBoundingBox=i.makeBoundingBox.bind(i),o._staticEmptyObject={},o.staticEmptyObject=function(){return o._staticEmptyObject},o.extend=null!=Object.assign?Object.assign.bind(Object):function(e){for(var t=arguments,n=1;n<t.length;n++){var r=t[n];if(null!=r)for(var i=Object.keys(r),o=0;o<i.length;o++){var a=i[o];e[a]=r[a]}}return e},o.assign=o.extend,o.default=function(e,t){return void 0===e?t:e},o.removeFromArray=function(e,t,n){for(var r=e.length;r>=0&&(e[r]!==t||(e.splice(r,1),n));r--);},o.clearArray=function(e){e.splice(0,e.length)},o.push=function(e,t){for(var n=0;n<t.length;n++){var r=t[n];e.push(r)}},o.getPrefixedProperty=function(e,t,n){return n&&(t=this.prependCamel(n,t)),e[t]},o.setPrefixedProperty=function(e,t,n,r){n&&(t=this.prependCamel(n,t)),e[t]=r},[n(21),n(22),{memoize:n(13)},n(23),n(24),n(25),n(27)].forEach(function(e){o.extend(o,e)}),e.exports=o},function(e,t,n){"use strict";var r={arePositionsSame:function(e,t){return e.x===t.x&&e.y===t.y},copyPosition:function(e){return{x:e.x,y:e.y}},modelToRenderedPosition:function(e,t,n){return{x:e.x*t+n.x,y:e.y*t+n.y}},renderedToModelPosition:function(e,t,n){return{x:(e.x-n.x)/t,y:(e.y-n.y)/t}},array2point:function(e){return{x:e[0],y:e[1]}},deg2rad:function(e){return Math.PI*e/180},getAngleFromDisp:function(e,t){return Math.atan2(t,e)-Math.PI/2}};r.log2=Math.log2||function(e){return Math.log(e)/Math.log(2)},r.signum=function(e){return e>0?1:e<0?-1:0},r.dist=function(e,t){return Math.sqrt(r.sqdist(e,t))},r.sqdist=function(e,t){var n=t.x-e.x,r=t.y-e.y;return n*n+r*r},r.qbezierAt=function(e,t,n,r){return(1-r)*(1-r)*e+2*(1-r)*r*t+r*r*n},r.qbezierPtAt=function(e,t,n,i){return{x:r.qbezierAt(e.x,t.x,n.x,i),y:r.qbezierAt(e.y,t.y,n.y,i)}},r.lineAt=function(e,t,n,i){var o=t.x-e.x,a=t.y-e.y,s=r.dist(e,t),l=o/s,c=a/s;return n=null==n?0:n,i=null!=i?i:n*s,{x:e.x+l*i,y:e.y+c*i}},r.lineAtDist=function(e,t,n){return r.lineAt(e,t,void 0,n)},r.triangleAngle=function(e,t,n){var i=r.dist(t,n),o=r.dist(e,n),a=r.dist(e,t);return Math.acos((i*i+o*o-a*a)/(2*i*o))},r.bound=function(e,t,n){return Math.max(e,Math.min(n,t))},r.makeBoundingBox=function(e){if(null==e)return{x1:1/0,y1:1/0,x2:-1/0,y2:-1/0,w:0,h:0};if(null!=e.x1&&null!=e.y1){if(null!=e.x2&&null!=e.y2&&e.x2>=e.x1&&e.y2>=e.y1)return{x1:e.x1,y1:e.y1,x2:e.x2,y2:e.y2,w:e.x2-e.x1,h:e.y2-e.y1};if(null!=e.w&&null!=e.h&&e.w>=0&&e.h>=0)return{x1:e.x1,y1:e.y1,x2:e.x1+e.w,y2:e.y1+e.h,w:e.w,h:e.h}}},r.updateBoundingBox=function(e,t){e.x1=Math.min(e.x1,t.x1),e.x2=Math.max(e.x2,t.x2),e.w=e.x2-e.x1,e.y1=Math.min(e.y1,t.y1),e.y2=Math.max(e.y2,t.y2),e.h=e.y2-e.y1},r.expandBoundingBoxByPoint=function(e,t,n){e.x1=Math.min(e.x1,t),e.x2=Math.max(e.x2,t),e.w=e.x2-e.x1,e.y1=Math.min(e.y1,n),e.y2=Math.max(e.y2,n),e.h=e.y2-e.y1},r.expandBoundingBox=function(e,t){return e.x1-=t,e.x2+=t,e.y1-=t,e.y2+=t,e.w=e.x2-e.x1,e.h=e.y2-e.y1,e},r.boundingBoxesIntersect=function(e,t){return!(e.x1>t.x2)&&(!(t.x1>e.x2)&&(!(e.x2<t.x1)&&(!(t.x2<e.x1)&&(!(e.y2<t.y1)&&(!(t.y2<e.y1)&&(!(e.y1>t.y2)&&!(t.y1>e.y2)))))))},r.inBoundingBox=function(e,t,n){return e.x1<=t&&t<=e.x2&&e.y1<=n&&n<=e.y2},r.pointInBoundingBox=function(e,t){return this.inBoundingBox(e,t.x,t.y)},r.boundingBoxInBoundingBox=function(e,t){return r.inBoundingBox(e,t.x1,t.y1)&&r.inBoundingBox(e,t.x2,t.y2)},r.roundRectangleIntersectLine=function(e,t,n,r,i,o,a){var s=this.getRoundRectangleRadius(i,o),l=i/2,c=o/2,u=void 0,d=n-l+s-a,p=r-c-a,f=n+l-s+a,h=p;if((u=this.finiteLinesIntersect(e,t,n,r,d,p,f,h,!1)).length>0)return u;var g=n+l+a,m=r-c+s-a,v=g,b=r+c-s+a;if((u=this.finiteLinesIntersect(e,t,n,r,g,m,v,b,!1)).length>0)return u;var y=n-l+s-a,x=r+c+a,w=n+l-s+a,k=x;if((u=this.finiteLinesIntersect(e,t,n,r,y,x,w,k,!1)).length>0)return u;var _=n-l-a,$=r-c+s-a,E=_,S=r+c-s+a;if((u=this.finiteLinesIntersect(e,t,n,r,_,$,E,S,!1)).length>0)return u;var C=void 0,T=n-l+s,A=r-c+s;if((C=this.intersectLineCircle(e,t,n,r,T,A,s+a)).length>0&&C[0]<=T&&C[1]<=A)return[C[0],C[1]];var P=n+l-s,O=r-c+s;if((C=this.intersectLineCircle(e,t,n,r,P,O,s+a)).length>0&&C[0]>=P&&C[1]<=O)return[C[0],C[1]];var R=n+l-s,j=r+c-s;if((C=this.intersectLineCircle(e,t,n,r,R,j,s+a)).length>0&&C[0]>=R&&C[1]>=j)return[C[0],C[1]];var D=n-l+s,I=r+c-s;return(C=this.intersectLineCircle(e,t,n,r,D,I,s+a)).length>0&&C[0]<=D&&C[1]>=I?[C[0],C[1]]:[]},r.inLineVicinity=function(e,t,n,r,i,o,a){var s=a,l=Math.min(n,i),c=Math.max(n,i),u=Math.min(r,o),d=Math.max(r,o);return l-s<=e&&e<=c+s&&u-s<=t&&t<=d+s},r.inBezierVicinity=function(e,t,n,r,i,o,a,s,l){var c=Math.min(n,a,i)-l,u=Math.max(n,a,i)+l,d=Math.min(r,s,o)-l,p=Math.max(r,s,o)+l;return!(e<c||e>u||t<d||t>p)},r.solveQuadratic=function(e,t,n,r){var i=t*t-4*e*(n-=r);if(i<0)return[];var o=Math.sqrt(i),a=2*e;return[(-t+o)/a,(-t-o)/a]},r.solveCubic=function(e,t,n,r,i){var o,a=void 0,s=void 0,l=void 0,c=void 0,u=void 0,d=void 0,p=void 0;return s=-27*(r/=e)+(t/=e)*(9*(n/=e)-t*t*2),o=(a=(3*n-t*t)/9)*a*a+(s/=54)*s,i[1]=0,d=t/3,o>0?(c=(c=s+Math.sqrt(o))<0?-Math.pow(-c,1/3):Math.pow(c,1/3),u=(u=s-Math.sqrt(o))<0?-Math.pow(-u,1/3):Math.pow(u,1/3),i[0]=-d+c+u,d+=(c+u)/2,i[4]=i[2]=-d,d=Math.sqrt(3)*(-u+c)/2,i[3]=d,void(i[5]=-d)):(i[5]=i[3]=0,0===o?(p=s<0?-Math.pow(-s,1/3):Math.pow(s,1/3),i[0]=2*p-d,void(i[4]=i[2]=-(p+d))):(l=(a=-a)*a*a,l=Math.acos(s/Math.sqrt(l)),p=2*Math.sqrt(a),i[0]=-d+p*Math.cos(l/3),i[2]=-d+p*Math.cos((l+2*Math.PI)/3),void(i[4]=-d+p*Math.cos((l+4*Math.PI)/3))))},r.sqdistToQuadraticBezier=function(e,t,n,r,i,o,a,s){var l=1*n*n-4*n*i+2*n*a+4*i*i-4*i*a+a*a+r*r-4*r*o+2*r*s+4*o*o-4*o*s+s*s,c=9*n*i-3*n*n-3*n*a-6*i*i+3*i*a+9*r*o-3*r*r-3*r*s-6*o*o+3*o*s,u=3*n*n-6*n*i+n*a-n*e+2*i*i+2*i*e-a*e+3*r*r-6*r*o+r*s-r*t+2*o*o+2*o*t-s*t,d=1*n*i-n*n+n*e-i*e+r*o-r*r+r*t-o*t,p=[];this.solveCubic(l,c,u,d,p);for(var f=[],h=0;h<6;h+=2)Math.abs(p[h+1])<1e-7&&p[h]>=0&&p[h]<=1&&f.push(p[h]);f.push(1),f.push(0);for(var g=-1,m=void 0,v=void 0,b=void 0,y=0;y<f.length;y++)m=Math.pow(1-f[y],2)*n+2*(1-f[y])*f[y]*i+f[y]*f[y]*a,v=Math.pow(1-f[y],2)*r+2*(1-f[y])*f[y]*o+f[y]*f[y]*s,b=Math.pow(m-e,2)+Math.pow(v-t,2),g>=0?b<g&&(g=b):g=b;return g},r.sqdistToFiniteLine=function(e,t,n,r,i,o){var a=[e-n,t-r],s=[i-n,o-r],l=s[0]*s[0]+s[1]*s[1],c=a[0]*a[0]+a[1]*a[1],u=a[0]*s[0]+a[1]*s[1],d=u*u/l;return u<0?c:d>l?(e-i)*(e-i)+(t-o)*(t-o):c-d},r.pointInsidePolygonPoints=function(e,t,n){for(var r=void 0,i=void 0,o=void 0,a=void 0,s=0,l=0;l<n.length/2;l++)if(r=n[2*l],i=n[2*l+1],l+1<n.length/2?(o=n[2*(l+1)],a=n[2*(l+1)+1]):(o=n[2*(l+1-n.length/2)],a=n[2*(l+1-n.length/2)+1]),r==e&&o==e);else{if(!(r>=e&&e>=o||r<=e&&e<=o))continue;(e-r)/(o-r)*(a-i)+i>t&&s++}return s%2!=0},r.pointInsidePolygon=function(e,t,n,i,o,a,s,l,c){var u=new Array(n.length),d=void 0;null!=l[0]?(d=Math.atan(l[1]/l[0]),l[0]<0?d+=Math.PI/2:d=-d-Math.PI/2):d=l;for(var p=Math.cos(-d),f=Math.sin(-d),h=0;h<u.length/2;h++)u[2*h]=a/2*(n[2*h]*p-n[2*h+1]*f),u[2*h+1]=s/2*(n[2*h+1]*p+n[2*h]*f),u[2*h]+=i,u[2*h+1]+=o;var g=void 0;if(c>0){var m=this.expandPolygon(u,-c);g=this.joinLines(m)}else g=u;return r.pointInsidePolygonPoints(e,t,g)},r.joinLines=function(e){for(var t=new Array(e.length/2),n=void 0,r=void 0,i=void 0,o=void 0,a=void 0,s=void 0,l=void 0,c=void 0,u=0;u<e.length/4;u++){n=e[4*u],r=e[4*u+1],i=e[4*u+2],o=e[4*u+3],u<e.length/4-1?(a=e[4*(u+1)],s=e[4*(u+1)+1],l=e[4*(u+1)+2],c=e[4*(u+1)+3]):(a=e[0],s=e[1],l=e[2],c=e[3]);var d=this.finiteLinesIntersect(n,r,i,o,a,s,l,c,!0);t[2*u]=d[0],t[2*u+1]=d[1]}return t},r.expandPolygon=function(e,t){for(var n=new Array(2*e.length),r=void 0,i=void 0,o=void 0,a=void 0,s=0;s<e.length/2;s++){r=e[2*s],i=e[2*s+1],s<e.length/2-1?(o=e[2*(s+1)],a=e[2*(s+1)+1]):(o=e[0],a=e[1]);var l=a-i,c=-(o-r),u=Math.sqrt(l*l+c*c),d=l/u,p=c/u;n[4*s]=r+d*t,n[4*s+1]=i+p*t,n[4*s+2]=o+d*t,n[4*s+3]=a+p*t}return n},r.intersectLineEllipse=function(e,t,n,r,i,o){var a=n-e,s=r-t;a/=i,s/=o;var l=Math.sqrt(a*a+s*s),c=l-1;if(c<0)return[];var u=c/l;return[(n-e)*u+e,(r-t)*u+t]},r.checkInEllipse=function(e,t,n,r,i,o,a){return e-=i,t-=o,(e/=n/2+a)*e+(t/=r/2+a)*t<=1},r.intersectLineCircle=function(e,t,n,r,i,o,a){var s=[n-e,r-t],l=[e-i,t-o],c=s[0]*s[0]+s[1]*s[1],u=2*(l[0]*s[0]+l[1]*s[1]),d=u*u-4*c*(l[0]*l[0]+l[1]*l[1]-a*a);if(d<0)return[];var p=(-u+Math.sqrt(d))/(2*c),f=(-u-Math.sqrt(d))/(2*c),h=Math.min(p,f),g=Math.max(p,f),m=[];if(h>=0&&h<=1&&m.push(h),g>=0&&g<=1&&m.push(g),0===m.length)return[];var v=m[0]*s[0]+e,b=m[0]*s[1]+t;return m.length>1?m[0]==m[1]?[v,b]:[v,b,m[1]*s[0]+e,m[1]*s[1]+t]:[v,b]},r.findCircleNearPoint=function(e,t,n,r,i){var o=r-e,a=i-t,s=Math.sqrt(o*o+a*a);return[e+o/s*n,t+a/s*n]},r.findMaxSqDistanceToOrigin=function(e){for(var t=1e-6,n=void 0,r=0;r<e.length/2;r++)(n=e[2*r]*e[2*r]+e[2*r+1]*e[2*r+1])>t&&(t=n);return t},r.midOfThree=function(e,t,n){return t<=e&&e<=n||n<=e&&e<=t?e:e<=t&&t<=n||n<=t&&t<=e?t:n},r.finiteLinesIntersect=function(e,t,n,r,i,o,a,s,l){var c=e-i,u=n-e,d=a-i,p=t-o,f=r-t,h=s-o,g=d*p-h*c,m=u*p-f*c,v=h*u-d*f;if(0!==v){var b=g/v,y=m/v;return-.001<=b&&b<=1.001&&-.001<=y&&y<=1.001?[e+b*u,t+b*f]:l?[e+b*u,t+b*f]:[]}return 0===g||0===m?this.midOfThree(e,n,a)===a?[a,s]:this.midOfThree(e,n,i)===i?[i,o]:this.midOfThree(i,a,n)===n?[n,r]:[]:[]},r.polygonIntersectLine=function(e,t,n,i,o,a,s,l){var c=[],u=void 0,d=new Array(n.length),p=!0;5===arguments.length&&(p=!1);var f=void 0;if(p){for(var h=0;h<d.length/2;h++)d[2*h]=n[2*h]*a+i,d[2*h+1]=n[2*h+1]*s+o;if(l>0){var g=r.expandPolygon(d,-l);f=r.joinLines(g)}else f=d}else f=n;for(var m=void 0,v=void 0,b=void 0,y=void 0,x=0;x<f.length/2;x++)m=f[2*x],v=f[2*x+1],x<f.length/2-1?(b=f[2*(x+1)],y=f[2*(x+1)+1]):(b=f[0],y=f[1]),0!==(u=this.finiteLinesIntersect(e,t,i,o,m,v,b,y)).length&&c.push(u[0],u[1]);return c},r.shortenIntersection=function(e,t,n){var r=[e[0]-t[0],e[1]-t[1]],i=Math.sqrt(r[0]*r[0]+r[1]*r[1]),o=(i-n)/i;return o<0&&(o=1e-5),[t[0]+o*r[0],t[1]+o*r[1]]},r.generateUnitNgonPointsFitToSquare=function(e,t){var n=r.generateUnitNgonPoints(e,t);return n=r.fitPolygonToSquare(n)},r.fitPolygonToSquare=function(e){for(var t=void 0,n=void 0,r=e.length/2,i=1/0,o=1/0,a=-1/0,s=-1/0,l=0;l<r;l++)t=e[2*l],n=e[2*l+1],i=Math.min(i,t),a=Math.max(a,t),o=Math.min(o,n),s=Math.max(s,n);for(var c=2/(a-i),u=2/(s-o),d=0;d<r;d++)t=e[2*d]=e[2*d]*c,n=e[2*d+1]=e[2*d+1]*u,i=Math.min(i,t),a=Math.max(a,t),o=Math.min(o,n),s=Math.max(s,n);if(o<-1)for(var p=0;p<r;p++)n=e[2*p+1]=e[2*p+1]+(-1-o);return e},r.generateUnitNgonPoints=function(e,t){var n=1/e*2*Math.PI,r=e%2==0?Math.PI/2+n/2:Math.PI/2;r+=t;for(var i=new Array(2*e),o=void 0,a=0;a<e;a++)o=a*n+r,i[2*a]=Math.cos(o),i[2*a+1]=Math.sin(-o);return i},r.getRoundRectangleRadius=function(e,t){return Math.min(e/4,t/4,8)},r.getCutRectangleCornerLength=function(){return 8},r.bezierPtsToQuadCoeff=function(e,t,n){return[e-2*t+n,2*(t-e),e]},r.getBarrelCurveConstants=function(e,t){return{heightOffset:Math.min(15,.05*t),widthOffset:Math.min(100,.25*e),ctrlPtOffsetPct:.05}},e.exports=r},function(e,t,n){"use strict";e.exports="undefined"==typeof window?null:window},function(e,t,n){"use strict";var r=n(1),i={};[n(43),n(45),n(46)].forEach(function(e){r.assign(i,e)}),e.exports=i},function(e,n,r){"use strict";var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=function e(t){if(!(this instanceof e))return new e(t);this.id="Thenable/1.0.7",this.state=0,this.fulfillValue=void 0,this.rejectReason=void 0,this.onFulfilled=[],this.onRejected=[],this.proxy={then:this.then.bind(this)},"function"==typeof t&&t.call(this,this.fulfill.bind(this),this.reject.bind(this))};
+ */(function(){var o,a="3.10.1",s=1,l=2,c=4,u=8,d=16,p=32,f=64,h=128,g=256,m=30,v="...",b=150,y=16,x=200,w=1,k=2,_="Expected a function",$="__lodash_placeholder__",E="[object Arguments]",S="[object Array]",C="[object Boolean]",T="[object Date]",A="[object Error]",O="[object Function]",P="[object Number]",R="[object Object]",j="[object RegExp]",D="[object String]",N="[object ArrayBuffer]",I="[object Float32Array]",M="[object Float64Array]",z="[object Int8Array]",L="[object Int16Array]",q="[object Int32Array]",B="[object Uint8Array]",V="[object Uint8ClampedArray]",F="[object Uint16Array]",U="[object Uint32Array]",H=/\b__p \+= '';/g,W=/\b(__p \+=) '' \+/g,G=/(__e\(.*?\)|\b__t\)) \+\n'';/g,X=/&(?:amp|lt|gt|quot|#39|#96);/g,Y=/[&<>"'`]/g,Z=RegExp(X.source),K=RegExp(Y.source),Q=/<%-([\s\S]+?)%>/g,J=/<%([\s\S]+?)%>/g,ee=/<%=([\s\S]+?)%>/g,te=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\n\\]|\\.)*?\1)\]/,ne=/^\w*$/,re=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\n\\]|\\.)*?)\2)\]/g,ie=/^[:!,]|[\\^$.*+?()[\]{}|\/]|(^[0-9a-fA-Fnrtuvx])|([\n\r\u2028\u2029])/g,oe=RegExp(ie.source),ae=/[\u0300-\u036f\ufe20-\ufe23]/g,se=/\\(\\)?/g,le=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,ce=/\w*$/,ue=/^0[xX]/,de=/^\[object .+?Constructor\]$/,pe=/^\d+$/,fe=/[\xc0-\xd6\xd8-\xde\xdf-\xf6\xf8-\xff]/g,he=/($^)/,ge=/['\n\r\u2028\u2029\\]/g,me=function(){var e="[A-Z\\xc0-\\xd6\\xd8-\\xde]",t="[a-z\\xdf-\\xf6\\xf8-\\xff]+";return RegExp(e+"+(?="+e+t+")|"+e+"?"+t+"|"+e+"+|[0-9]+","g")}(),ve=["Array","ArrayBuffer","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Math","Number","Object","RegExp","Set","String","_","clearTimeout","isFinite","parseFloat","parseInt","setTimeout","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap"],be=-1,ye={};ye[I]=ye[M]=ye[z]=ye[L]=ye[q]=ye[B]=ye[V]=ye[F]=ye[U]=!0,ye[E]=ye[S]=ye[N]=ye[C]=ye[T]=ye[A]=ye[O]=ye["[object Map]"]=ye[P]=ye[R]=ye[j]=ye["[object Set]"]=ye[D]=ye["[object WeakMap]"]=!1;var xe={};xe[E]=xe[S]=xe[N]=xe[C]=xe[T]=xe[I]=xe[M]=xe[z]=xe[L]=xe[q]=xe[P]=xe[R]=xe[j]=xe[D]=xe[B]=xe[V]=xe[F]=xe[U]=!0,xe[A]=xe[O]=xe["[object Map]"]=xe["[object Set]"]=xe["[object WeakMap]"]=!1;var we={"À":"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"},ke={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","`":"&#96;"},_e={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'","&#96;":"`"},$e={function:!0,object:!0},Ee={0:"x30",1:"x31",2:"x32",3:"x33",4:"x34",5:"x35",6:"x36",7:"x37",8:"x38",9:"x39",A:"x41",B:"x42",C:"x43",D:"x44",E:"x45",F:"x46",a:"x61",b:"x62",c:"x63",d:"x64",e:"x65",f:"x66",n:"x6e",r:"x72",t:"x74",u:"x75",v:"x76",x:"x78"},Se={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Ce=$e[typeof t]&&t&&!t.nodeType&&t,Te=$e[typeof e]&&e&&!e.nodeType&&e,Ae=Ce&&Te&&"object"==typeof r&&r&&r.Object&&r,Oe=$e[typeof self]&&self&&self.Object&&self,Pe=$e[typeof window]&&window&&window.Object&&window,Re=(Te&&Te.exports,Ae||Pe!==(this&&this.window)&&Pe||Oe||this);function je(e,t){if(e!==t){var n=null===e,r=e===o,i=e==e,a=null===t,s=t===o,l=t==t;if(e>t&&!a||!i||n&&!s&&l||r&&l)return 1;if(e<t&&!n||!l||a&&!r&&i||s&&i)return-1}return 0}function De(e,t,n){for(var r=e.length,i=n?r:-1;n?i--:++i<r;)if(t(e[i],i,e))return i;return-1}function Ne(e,t,n){if(t!=t)return He(e,n);for(var r=n-1,i=e.length;++r<i;)if(e[r]===t)return r;return-1}function Ie(e){return"function"==typeof e||!1}function Me(e){return null==e?"":e+""}function ze(e,t){for(var n=-1,r=e.length;++n<r&&t.indexOf(e.charAt(n))>-1;);return n}function Le(e,t){for(var n=e.length;n--&&t.indexOf(e.charAt(n))>-1;);return n}function qe(e,t){return je(e.criteria,t.criteria)||e.index-t.index}function Be(e){return we[e]}function Ve(e){return ke[e]}function Fe(e,t,n){return t?e=Ee[e]:n&&(e=Se[e]),"\\"+e}function Ue(e){return"\\"+Se[e]}function He(e,t,n){for(var r=e.length,i=t+(n?0:-1);n?i--:++i<r;){var o=e[i];if(o!=o)return i}return-1}function We(e){return!!e&&"object"==typeof e}function Ge(e){return e<=160&&e>=9&&e<=13||32==e||160==e||5760==e||6158==e||e>=8192&&(e<=8202||8232==e||8233==e||8239==e||8287==e||12288==e||65279==e)}function Xe(e,t){for(var n=-1,r=e.length,i=-1,o=[];++n<r;)e[n]===t&&(e[n]=$,o[++i]=n);return o}function Ye(e){for(var t=-1,n=e.length;++t<n&&Ge(e.charCodeAt(t)););return t}function Ze(e){for(var t=e.length;t--&&Ge(e.charCodeAt(t)););return t}function Ke(e){return _e[e]}var Qe=function e(t){var n=(t=t?Qe.defaults(Re.Object(),t,Qe.pick(Re,ve)):Re).Array,r=t.Date,i=t.Error,we=t.Function,ke=t.Math,_e=t.Number,$e=t.Object,Ee=t.RegExp,Se=t.String,Ce=t.TypeError,Te=n.prototype,Ae=$e.prototype,Oe=Se.prototype,Pe=we.prototype.toString,Ge=Ae.hasOwnProperty,Je=0,et=Ae.toString,tt=Re._,nt=Ee("^"+Pe.call(Ge).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),rt=t.ArrayBuffer,it=t.clearTimeout,ot=t.parseFloat,at=ke.pow,st=Ae.propertyIsEnumerable,lt=br(t,"Set"),ct=t.setTimeout,ut=Te.splice,dt=t.Uint8Array,pt=br(t,"WeakMap"),ft=ke.ceil,ht=br($e,"create"),gt=ke.floor,mt=br(n,"isArray"),vt=t.isFinite,bt=br($e,"keys"),yt=ke.max,xt=ke.min,wt=br(r,"now"),kt=t.parseInt,_t=ke.random,$t=_e.NEGATIVE_INFINITY,Et=_e.POSITIVE_INFINITY,St=4294967295,Ct=St-1,Tt=St>>>1,At=9007199254740991,Ot=pt&&new pt,Pt={};function Rt(e){if(We(e)&&!Ui(e)&&!(e instanceof Nt)){if(e instanceof Dt)return e;if(Ge.call(e,"__chain__")&&Ge.call(e,"__wrapped__"))return Dr(e)}return new Dt(e)}function jt(){}function Dt(e,t,n){this.__wrapped__=e,this.__actions__=n||[],this.__chain__=!!t}Rt.support={};function Nt(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Et,this.__views__=[]}function It(){this.__data__={}}function Mt(e){var t=e?e.length:0;for(this.data={hash:ht(null),set:new lt};t--;)this.push(e[t])}function zt(e,t){var n=e.data;return("string"==typeof t||Xi(t)?n.set.has(t):n.hash[t])?0:-1}function Lt(e,t){var r=-1,i=e.length;for(t||(t=n(i));++r<i;)t[r]=e[r];return t}function qt(e,t){for(var n=-1,r=e.length;++n<r&&!1!==t(e[n],n,e););return e}function Bt(e,t){for(var n=-1,r=e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}function Vt(e,t){for(var n=-1,r=e.length,i=-1,o=[];++n<r;){var a=e[n];t(a,n,e)&&(o[++i]=a)}return o}function Ft(e,t){for(var r=-1,i=e.length,o=n(i);++r<i;)o[r]=t(e[r],r,e);return o}function Ut(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}function Ht(e,t,n,r){var i=-1,o=e.length;for(r&&o&&(n=e[++i]);++i<o;)n=t(n,e[i],i,e);return n}function Wt(e,t){for(var n=-1,r=e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}function Gt(e,t,n,r){return e!==o&&Ge.call(r,n)?e:t}function Xt(e,t,n){for(var r=-1,i=mo(t),a=i.length;++r<a;){var s=i[r],l=e[s],c=n(l,t[s],s,e,t);(c==c?c===l:l!=l)&&(l!==o||s in e)||(e[s]=c)}return e}function Yt(e,t){return null==t?e:Kt(t,mo(t),e)}function Zt(e,t){for(var r=-1,i=null==e,a=!i&&xr(e),s=a?e.length:0,l=t.length,c=n(l);++r<l;){var u=t[r];c[r]=a?wr(u,s)?e[u]:o:i?o:e[u]}return c}function Kt(e,t,n){n||(n={});for(var r=-1,i=t.length;++r<i;){var o=t[r];n[o]=e[o]}return n}function Qt(e,t,n){var r=typeof e;return"function"==r?t===o?e:In(e,t,n):null==e?Io:"object"==r?xn(e):t===o?Vo(e):wn(e,t)}function Jt(e,t,n,r,i,a,s){var l;if(n&&(l=i?n(e,r,i):n(e)),l!==o)return l;if(!Xi(e))return e;var c=Ui(e);if(c){if(l=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&Ge.call(e,"index")&&(n.index=e.index,n.input=e.input),n}(e),!t)return Lt(e,l)}else{var u=et.call(e),d=u==O;if(u!=R&&u!=E&&(!d||i))return xe[u]?function(e,t,n){var r=e.constructor;switch(t){case N:return Mn(e);case C:case T:return new r(+e);case I:case M:case z:case L:case q:case B:case V:case F:case U:var i=e.buffer;return new r(n?Mn(i):i,e.byteOffset,e.length);case P:case D:return new r(e);case j:var o=new r(e.source,ce.exec(e));o.lastIndex=e.lastIndex}return o}(e,u,t):i?e:{};if(l=function(e){var t=e.constructor;return"function"==typeof t&&t instanceof t||(t=$e),new t}(d?{}:e),!t)return Yt(l,e)}a||(a=[]),s||(s=[]);for(var p=a.length;p--;)if(a[p]==e)return s[p];return a.push(e),s.push(l),(c?qt:fn)(e,function(r,i){l[i]=Jt(r,t,n,i,e,a,s)}),l}Rt.templateSettings={escape:Q,evaluate:J,interpolate:ee,variable:"",imports:{_:Rt}};var en=function(){function e(){}return function(t){if(Xi(t)){e.prototype=t;var n=new e;e.prototype=o}return n||{}}}();function tn(e,t,n){if("function"!=typeof e)throw new Ce(_);return ct(function(){e.apply(o,n)},t)}function nn(e,t){var n=e?e.length:0,r=[];if(!n)return r;var i=-1,o=gr(),a=o==Ne,s=a&&t.length>=x?Un(t):null,l=t.length;s&&(o=zt,a=!1,t=s);e:for(;++i<n;){var c=e[i];if(a&&c==c){for(var u=l;u--;)if(t[u]===c)continue e;r.push(c)}else o(t,c,0)<0&&r.push(c)}return r}var rn=Vn(fn),on=Vn(hn,!0);function an(e,t){var n=!0;return rn(e,function(e,r,i){return n=!!t(e,r,i)}),n}function sn(e,t){var n=[];return rn(e,function(e,r,i){t(e,r,i)&&n.push(e)}),n}function ln(e,t,n,r){var i;return n(e,function(e,n,o){if(t(e,n,o))return i=r?n:e,!1}),i}function cn(e,t,n,r){r||(r=[]);for(var i=-1,o=e.length;++i<o;){var a=e[i];We(a)&&xr(a)&&(n||Ui(a)||Fi(a))?t?cn(a,t,n,r):Ut(r,a):n||(r[r.length]=a)}return r}var un=Fn(),dn=Fn(!0);function pn(e,t){return un(e,t,vo)}function fn(e,t){return un(e,t,mo)}function hn(e,t){return dn(e,t,mo)}function gn(e,t){for(var n=-1,r=t.length,i=-1,o=[];++n<r;){var a=t[n];Gi(e[a])&&(o[++i]=a)}return o}function mn(e,t,n){if(null!=e){n!==o&&n in Rr(e)&&(t=[n]);for(var r=0,i=t.length;null!=e&&r<i;)e=e[t[r++]];return r&&r==i?e:o}}function vn(e,t,n,r,i,a){return e===t||(null==e||null==t||!Xi(e)&&!We(t)?e!=e&&t!=t:function(e,t,n,r,i,a,s){var l=Ui(e),c=Ui(t),u=S,d=S;l||((u=et.call(e))==E?u=R:u!=R&&(l=eo(e))),c||((d=et.call(t))==E?d=R:d!=R&&(c=eo(t)));var p=u==R,f=d==R,h=u==d;if(h&&!l&&!p)return function(e,t,n){switch(n){case C:case T:return+e==+t;case A:return e.name==t.name&&e.message==t.message;case P:return e!=+e?t!=+t:e==+t;case j:case D:return e==t+""}return!1}(e,t,u);if(!i){var g=p&&Ge.call(e,"__wrapped__"),m=f&&Ge.call(t,"__wrapped__");if(g||m)return n(g?e.value():e,m?t.value():t,r,i,a,s)}if(!h)return!1;a||(a=[]),s||(s=[]);for(var v=a.length;v--;)if(a[v]==e)return s[v]==t;a.push(e),s.push(t);var b=(l?function(e,t,n,r,i,a,s){var l=-1,c=e.length,u=t.length;if(c!=u&&!(i&&u>c))return!1;for(;++l<c;){var d=e[l],p=t[l],f=r?r(i?p:d,i?d:p,l):o;if(f!==o){if(f)continue;return!1}if(i){if(!Wt(t,function(e){return d===e||n(d,e,r,i,a,s)}))return!1}else if(d!==p&&!n(d,p,r,i,a,s))return!1}return!0}:function(e,t,n,r,i,a,s){var l=mo(e),c=l.length,u=mo(t).length;if(c!=u&&!i)return!1;for(var d=c;d--;){var p=l[d];if(!(i?p in t:Ge.call(t,p)))return!1}for(var f=i;++d<c;){p=l[d];var h=e[p],g=t[p],m=r?r(i?g:h,i?h:g,p):o;if(!(m===o?n(h,g,r,i,a,s):m))return!1;f||(f="constructor"==p)}if(!f){var v=e.constructor,b=t.constructor;if(v!=b&&"constructor"in e&&"constructor"in t&&!("function"==typeof v&&v instanceof v&&"function"==typeof b&&b instanceof b))return!1}return!0})(e,t,n,r,i,a,s);return a.pop(),s.pop(),b}(e,t,vn,n,r,i,a))}function bn(e,t,n){var r=t.length,i=r,a=!n;if(null==e)return!i;for(e=Rr(e);r--;){var s=t[r];if(a&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++r<i;){var l=(s=t[r])[0],c=e[l],u=s[1];if(a&&s[2]){if(c===o&&!(l in e))return!1}else{var d=n?n(c,u,l):o;if(!(d===o?vn(u,c,n,!0):d))return!1}}return!0}function yn(e,t){var r=-1,i=xr(e)?n(e.length):[];return rn(e,function(e,n,o){i[++r]=t(e,n,o)}),i}function xn(e){var t=vr(e);if(1==t.length&&t[0][2]){var n=t[0][0],r=t[0][1];return function(e){return null!=e&&e[n]===r&&(r!==o||n in Rr(e))}}return function(e){return bn(e,t)}}function wn(e,t){var n=Ui(e),r=_r(e)&&Sr(t),i=e+"";return e=jr(e),function(a){if(null==a)return!1;var s=i;if(a=Rr(a),(n||!r)&&!(s in a)){if(null==(a=1==e.length?a:mn(a,Sn(e,0,-1))))return!1;s=Fr(e),a=Rr(a)}return a[s]===t?t!==o||s in a:vn(t,a[s],o,!0)}}function kn(e){return function(t){return null==t?o:t[e]}}function _n(e,t){for(var n=e?t.length:0;n--;){var r=t[n];if(r!=i&&wr(r)){var i=r;ut.call(e,r,1)}}return e}function $n(e,t){return e+gt(_t()*(t-e+1))}var En=Ot?function(e,t){return Ot.set(e,t),e}:Io;function Sn(e,t,r){var i=-1,a=e.length;(t=null==t?0:+t||0)<0&&(t=-t>a?0:a+t),(r=r===o||r>a?a:+r||0)<0&&(r+=a),a=t>r?0:r-t>>>0,t>>>=0;for(var s=n(a);++i<a;)s[i]=e[i+t];return s}function Cn(e,t){var n;return rn(e,function(e,r,i){return!(n=t(e,r,i))}),!!n}function Tn(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}function An(e,t,n){var r=pr(),i=-1;return t=Ft(t,function(e){return r(e)}),Tn(yn(e,function(e){return{criteria:Ft(t,function(t){return t(e)}),index:++i,value:e}}),function(e,t){return function(e,t,n){for(var r=-1,i=e.criteria,o=t.criteria,a=i.length,s=n.length;++r<a;){var l=je(i[r],o[r]);if(l){if(r>=s)return l;var c=n[r];return l*("asc"===c||!0===c?1:-1)}}return e.index-t.index}(e,t,n)})}function On(e,t){var n=-1,r=gr(),i=e.length,o=r==Ne,a=o&&i>=x,s=a?Un():null,l=[];s?(r=zt,o=!1):(a=!1,s=t?[]:l);e:for(;++n<i;){var c=e[n],u=t?t(c,n,e):c;if(o&&c==c){for(var d=s.length;d--;)if(s[d]===u)continue e;t&&s.push(u),l.push(c)}else r(s,u,0)<0&&((t||a)&&s.push(u),l.push(c))}return l}function Pn(e,t){for(var r=-1,i=t.length,o=n(i);++r<i;)o[r]=e[t[r]];return o}function Rn(e,t,n,r){for(var i=e.length,o=r?i:-1;(r?o--:++o<i)&&t(e[o],o,e););return n?Sn(e,r?0:o,r?o+1:i):Sn(e,r?o+1:0,r?i:o)}function jn(e,t){var n=e;n instanceof Nt&&(n=n.value());for(var r=-1,i=t.length;++r<i;){var o=t[r];n=o.func.apply(o.thisArg,Ut([n],o.args))}return n}function Dn(e,t,n){var r=0,i=e?e.length:r;if("number"==typeof t&&t==t&&i<=Tt){for(;r<i;){var o=r+i>>>1,a=e[o];(n?a<=t:a<t)&&null!==a?r=o+1:i=o}return i}return Nn(e,t,Io,n)}function Nn(e,t,n,r){t=n(t);for(var i=0,a=e?e.length:0,s=t!=t,l=null===t,c=t===o;i<a;){var u=gt((i+a)/2),d=n(e[u]),p=d!==o,f=d==d;if(s)var h=f||r;else h=l?f&&p&&(r||null!=d):c?f&&(r||p):null!=d&&(r?d<=t:d<t);h?i=u+1:a=u}return xt(a,Ct)}function In(e,t,n){if("function"!=typeof e)return Io;if(t===o)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 3:return function(n,r,i){return e.call(t,n,r,i)};case 4:return function(n,r,i,o){return e.call(t,n,r,i,o)};case 5:return function(n,r,i,o,a){return e.call(t,n,r,i,o,a)}}return function(){return e.apply(t,arguments)}}function Mn(e){var t=new rt(e.byteLength);return new dt(t).set(new dt(e)),t}function zn(e,t,r){for(var i=r.length,o=-1,a=yt(e.length-i,0),s=-1,l=t.length,c=n(l+a);++s<l;)c[s]=t[s];for(;++o<i;)c[r[o]]=e[o];for(;a--;)c[s++]=e[o++];return c}function Ln(e,t,r){for(var i=-1,o=r.length,a=-1,s=yt(e.length-o,0),l=-1,c=t.length,u=n(s+c);++a<s;)u[a]=e[a];for(var d=a;++l<c;)u[d+l]=t[l];for(;++i<o;)u[d+r[i]]=e[a++];return u}function qn(e,t){return function(n,r,i){var o=t?t():{};if(r=pr(r,i,3),Ui(n))for(var a=-1,s=n.length;++a<s;){var l=n[a];e(o,l,r(l,a,n),n)}else rn(n,function(t,n,i){e(o,t,r(t,n,i),i)});return o}}function Bn(e){return Bi(function(t,n){var r=-1,i=null==t?0:n.length,a=i>2?n[i-2]:o,s=i>2?n[2]:o,l=i>1?n[i-1]:o;for("function"==typeof a?(a=In(a,l,5),i-=2):i-=(a="function"==typeof l?l:o)?1:0,s&&kr(n[0],n[1],s)&&(a=i<3?o:a,i=1);++r<i;){var c=n[r];c&&e(t,c,a)}return t})}function Vn(e,t){return function(n,r){var i=n?mr(n):0;if(!Er(i))return e(n,r);for(var o=t?i:-1,a=Rr(n);(t?o--:++o<i)&&!1!==r(a[o],o,a););return n}}function Fn(e){return function(t,n,r){for(var i=Rr(t),o=r(t),a=o.length,s=e?a:-1;e?s--:++s<a;){var l=o[s];if(!1===n(i[l],l,i))break}return t}}function Un(e){return ht&&lt?new Mt(e):null}function Hn(e){return function(t){for(var n=-1,r=jo(Eo(t)),i=r.length,o="";++n<i;)o=e(o,r[n],n);return o}}function Wn(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=en(e.prototype),r=e.apply(n,t);return Xi(r)?r:n}}function Gn(e){return function t(n,r,i){i&&kr(n,r,i)&&(r=o);var a=dr(n,e,o,o,o,o,o,r);return a.placeholder=t.placeholder,a}}function Xn(e,t){return Bi(function(n){var r=n[0];return null==r?r:(n.push(t),e.apply(o,n))})}function Yn(e,t){return function(n,r,i){if(i&&kr(n,r,i)&&(r=o),1==(r=pr(r,i,3)).length){var a=function(e,t,n,r){for(var i=-1,o=e.length,a=r,s=a;++i<o;){var l=e[i],c=+t(l);n(c,a)&&(a=c,s=l)}return s}(n=Ui(n)?n:Pr(n),r,e,t);if(!n.length||a!==t)return a}return function(e,t,n,r){var i=r,o=i;return rn(e,function(e,a,s){var l=+t(e,a,s);(n(l,i)||l===r&&l===o)&&(i=l,o=e)}),o}(n,r,e,t)}}function Zn(e,t){return function(n,r,i){if(r=pr(r,i,3),Ui(n)){var a=De(n,r,t);return a>-1?n[a]:o}return ln(n,r,e)}}function Kn(e){return function(t,n,r){return t&&t.length?De(t,n=pr(n,r,3),e):-1}}function Qn(e){return function(t,n,r){return ln(t,n=pr(n,r,3),e,!0)}}function Jn(e){return function(){for(var t,r=arguments.length,i=e?r:-1,a=0,s=n(r);e?i--:++i<r;){var l=s[a++]=arguments[i];if("function"!=typeof l)throw new Ce(_);!t&&Dt.prototype.thru&&"wrapper"==hr(l)&&(t=new Dt([],!0))}for(i=t?-1:r;++i<r;){var c=hr(l=s[i]),d="wrapper"==c?fr(l):o;t=d&&$r(d[0])&&d[1]==(h|u|p|g)&&!d[4].length&&1==d[9]?t[hr(d[0])].apply(t,d[3]):1==l.length&&$r(l)?t[c]():t.thru(l)}return function(){var e=arguments,n=e[0];if(t&&1==e.length&&Ui(n)&&n.length>=x)return t.plant(n).value();for(var i=0,o=r?s[i].apply(this,e):n;++i<r;)o=s[i].call(this,o);return o}}}function er(e,t){return function(n,r,i){return"function"==typeof r&&i===o&&Ui(n)?e(n,r):t(n,In(r,i,3))}}function tr(e){return function(t,n,r){return"function"==typeof n&&r===o||(n=In(n,r,3)),e(t,n,vo)}}function nr(e){return function(t,n,r){return"function"==typeof n&&r===o||(n=In(n,r,3)),e(t,n)}}function rr(e){return function(t,n,r){var i={};return n=pr(n,r,3),fn(t,function(t,r,o){var a=n(t,r,o);r=e?a:r,t=e?t:a,i[r]=t}),i}}function ir(e){return function(t,n,r){return t=Me(t),(e?t:"")+lr(t,n,r)+(e?"":t)}}function or(e){var t=Bi(function(n,r){var i=Xe(r,t.placeholder);return dr(n,e,o,r,i)});return t}function ar(e,t){return function(n,r,i,a){var s=arguments.length<3;return"function"==typeof r&&a===o&&Ui(n)?e(n,r,i,s):function(e,t,n,r,i){return i(e,function(e,i,o){n=r?(r=!1,e):t(n,e,i,o)}),n}(n,pr(r,a,4),i,s,t)}}function sr(e,t,r,i,a,g,m,v,b,y){var x=t&h,w=t&s,k=t&l,_=t&u,$=t&c,E=t&d,S=k?o:Wn(e);return function c(){for(var u=arguments.length,d=u,h=n(u);d--;)h[d]=arguments[d];if(i&&(h=zn(h,i,a)),g&&(h=Ln(h,g,m)),_||E){var C=c.placeholder,T=Xe(h,C);if((u-=T.length)<y){var A=v?Lt(v):o,O=yt(y-u,0);t|=_?p:f,t&=~(_?f:p),$||(t&=~(s|l));var P=[e,t,r,_?h:o,_?T:o,_?o:h,_?o:T,A,b,O],R=sr.apply(o,P);return $r(e)&&Ar(R,P),R.placeholder=C,R}}var j=w?r:this,D=k?j[e]:e;return v&&(h=function(e,t){for(var n=e.length,r=xt(t.length,n),i=Lt(e);r--;){var a=t[r];e[r]=wr(a,n)?i[a]:o}return e}(h,v)),x&&b<h.length&&(h.length=b),this&&this!==Re&&this instanceof c&&(D=S||Wn(e)),D.apply(j,h)}}function lr(e,t,n){var r=e.length;if(r>=(t=+t)||!vt(t))return"";var i=t-r;return Ao(n=null==n?" ":n+"",ft(i/n.length)).slice(0,i)}function cr(e){var t=ke[e];return function(e,n){return(n=n===o?0:+n||0)?(n=at(10,n),t(e*n)/n):t(e)}}function ur(e){return function(t,n,r,i){var o=pr(r);return null==r&&o===Qt?Dn(t,n,e):Nn(t,n,o(r,i,1),e)}}function dr(e,t,r,i,a,d,m,v){var b=t&l;if(!b&&"function"!=typeof e)throw new Ce(_);var y=i?i.length:0;if(y||(t&=~(p|f),i=a=o),y-=a?a.length:0,t&f){var x=i,w=a;i=a=o}var k=b?o:fr(e),E=[e,t,r,i,a,x,w,d,m,v];if(k&&(function(e,t){var n=e[1],r=t[1],i=n|r,o=i<h,a=r==h&&n==u||r==h&&n==g&&e[7].length<=t[8]||r==(h|g)&&n==u;if(!o&&!a)return e;r&s&&(e[2]=t[2],i|=n&s?0:c);var l=t[3];if(l){var d=e[3];e[3]=d?zn(d,l,t[4]):Lt(l),e[4]=d?Xe(e[3],$):Lt(t[4])}(l=t[5])&&(d=e[5],e[5]=d?Ln(d,l,t[6]):Lt(l),e[6]=d?Xe(e[5],$):Lt(t[6])),(l=t[7])&&(e[7]=Lt(l)),r&h&&(e[8]=null==e[8]?t[8]:xt(e[8],t[8])),null==e[9]&&(e[9]=t[9]),e[0]=t[0],e[1]=i}(E,k),t=E[1],v=E[9]),E[9]=null==v?b?0:e.length:yt(v-y,0)||0,t==s)var S=function(e,t){var n=Wn(e);return function r(){return(this&&this!==Re&&this instanceof r?n:e).apply(t,arguments)}}(E[0],E[2]);else S=t!=p&&t!=(s|p)||E[4].length?sr.apply(o,E):function(e,t,r,i){var o=t&s,a=Wn(e);return function t(){for(var s=-1,l=arguments.length,c=-1,u=i.length,d=n(u+l);++c<u;)d[c]=i[c];for(;l--;)d[c++]=arguments[++s];return(this&&this!==Re&&this instanceof t?a:e).apply(o?r:this,d)}}.apply(o,E);return(k?En:Ar)(S,E)}function pr(e,t,n){var r=Rt.callback||No;return r=r===No?Qt:r,n?r(e,t,n):r}var fr=Ot?function(e){return Ot.get(e)}:Bo;function hr(e){for(var t=e.name,n=Pt[t],r=n?n.length:0;r--;){var i=n[r],o=i.func;if(null==o||o==e)return i.name}return t}function gr(e,t,n){var r=Rt.indexOf||Br;return r=r===Br?Ne:r,e?r(e,t,n):r}var mr=kn("length");function vr(e){for(var t=wo(e),n=t.length;n--;)t[n][2]=Sr(t[n][1]);return t}function br(e,t){var n=null==e?o:e[t];return Yi(n)?n:o}function yr(e,t,n){null==e||_r(t,e)||(e=1==(t=jr(t)).length?e:mn(e,Sn(t,0,-1)),t=Fr(t));var r=null==e?e:e[t];return null==r?o:r.apply(e,n)}function xr(e){return null!=e&&Er(mr(e))}function wr(e,t){return e="number"==typeof e||pe.test(e)?+e:-1,t=null==t?At:t,e>-1&&e%1==0&&e<t}function kr(e,t,n){if(!Xi(n))return!1;var r=typeof t;if("number"==r?xr(n)&&wr(t,n.length):"string"==r&&t in n){var i=n[t];return e==e?e===i:i!=i}return!1}function _r(e,t){var n=typeof e;return!!("string"==n&&ne.test(e)||"number"==n)||!Ui(e)&&(!te.test(e)||null!=t&&e in Rr(t))}function $r(e){var t=hr(e);if(!(t in Nt.prototype))return!1;var n=Rt[t];if(e===n)return!0;var r=fr(n);return!!r&&e===r[0]}function Er(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=At}function Sr(e){return e==e&&!Xi(e)}function Cr(e,t){e=Rr(e);for(var n=-1,r=t.length,i={};++n<r;){var o=t[n];o in e&&(i[o]=e[o])}return i}function Tr(e,t){var n={};return pn(e,function(e,r,i){t(e,r,i)&&(n[r]=e)}),n}var Ar=function(){var e=0,t=0;return function(n,r){var i=$i(),o=y-(i-t);if(t=i,o>0){if(++e>=b)return n}else e=0;return En(n,r)}}();function Or(e){for(var t=vo(e),n=t.length,r=n&&e.length,i=!!r&&Er(r)&&(Ui(e)||Fi(e)),o=-1,a=[];++o<n;){var s=t[o];(i&&wr(s,r)||Ge.call(e,s))&&a.push(s)}return a}function Pr(e){return null==e?[]:xr(e)?Xi(e)?e:$e(e):_o(e)}function Rr(e){return Xi(e)?e:$e(e)}function jr(e){if(Ui(e))return e;var t=[];return Me(e).replace(re,function(e,n,r,i){t.push(r?i.replace(se,"$1"):n||e)}),t}function Dr(e){return e instanceof Nt?e.clone():new Dt(e.__wrapped__,e.__chain__,Lt(e.__actions__))}var Nr=Bi(function(e,t){return We(e)&&xr(e)?nn(e,cn(t,!1,!0)):[]});function Ir(e,t,n){return e&&e.length?((n?kr(e,t,n):null==t)&&(t=1),Sn(e,t<0?0:t)):[]}function Mr(e,t,n){var r=e?e.length:0;return r?((n?kr(e,t,n):null==t)&&(t=1),Sn(e,0,(t=r-(+t||0))<0?0:t)):[]}var zr=Kn(),Lr=Kn(!0);function qr(e){return e?e[0]:o}function Br(e,t,n){var r=e?e.length:0;if(!r)return-1;if("number"==typeof n)n=n<0?yt(r+n,0):n;else if(n){var i=Dn(e,t);return i<r&&(t==t?t===e[i]:e[i]!=e[i])?i:-1}return Ne(e,t,n||0)}var Vr=Bi(function(e){for(var t=e.length,r=t,i=n(d),o=gr(),a=o==Ne,s=[];r--;){var l=e[r]=xr(l=e[r])?l:[];i[r]=a&&l.length>=120?Un(r&&l):null}var c=e[0],u=-1,d=c?c.length:0,p=i[0];e:for(;++u<d;)if(l=c[u],(p?zt(p,l):o(s,l,0))<0){for(r=t;--r;){var f=i[r];if((f?zt(f,l):o(e[r],l,0))<0)continue e}p&&p.push(l),s.push(l)}return s});function Fr(e){var t=e?e.length:0;return t?e[t-1]:o}var Ur=Bi(function(e,t){var n=Zt(e,t=cn(t));return _n(e,t.sort(je)),n});function Hr(e){return Ir(e,1)}var Wr=ur(),Gr=ur(!0);var Xr=Bi(function(e){return On(cn(e,!1,!0))});function Yr(e,t,n,r){if(!e||!e.length)return[];null!=t&&"boolean"!=typeof t&&(n=kr(e,t,r=n)?o:t,t=!1);var i=pr();return null==n&&i===Qt||(n=i(n,r,3)),t&&gr()==Ne?function(e,t){for(var n,r=-1,i=e.length,o=-1,a=[];++r<i;){var s=e[r],l=t?t(s,r,e):s;r&&n===l||(n=l,a[++o]=s)}return a}(e,n):On(e,n)}function Zr(e){if(!e||!e.length)return[];var t=-1,r=0;e=Vt(e,function(e){if(xr(e))return r=yt(e.length,r),!0});for(var i=n(r);++t<r;)i[t]=Ft(e,kn(t));return i}function Kr(e,t,n){if(!e||!e.length)return[];var r=Zr(e);return null==t?r:(t=In(t,n,4),Ft(r,function(e){return Ht(e,t,o,!0)}))}var Qr=Bi(function(e,t){return xr(e)?nn(e,t):[]});var Jr=Bi(Zr);function ei(e,t){var n=-1,r=e?e.length:0,i={};for(!r||t||Ui(e[0])||(t=[]);++n<r;){var o=e[n];t?i[o]=t[n]:o&&(i[o[0]]=o[1])}return i}var ti=Bi(function(e){var t=e.length,n=t>2?e[t-2]:o,r=t>1?e[t-1]:o;return t>2&&"function"==typeof n?t-=2:(n=t>1&&"function"==typeof r?(--t,r):o,r=o),e.length=t,Kr(e,n,r)});function ni(e){var t=Rt(e);return t.__chain__=!0,t}function ri(e,t,n){return t.call(n,e)}var ii=Bi(function(e){return e=cn(e),this.thru(function(t){return function(e,t){for(var r=-1,i=e.length,o=-1,a=t.length,s=n(i+a);++r<i;)s[r]=e[r];for(;++o<a;)s[r++]=t[o];return s}(Ui(t)?t:[Rr(t)],e)})});var oi=Bi(function(e,t){return Zt(e,cn(t))}),ai=qn(function(e,t,n){Ge.call(e,n)?++e[n]:e[n]=1});function si(e,t,n){var r=Ui(e)?Bt:an;return n&&kr(e,t,n)&&(t=o),"function"==typeof t&&n===o||(t=pr(t,n,3)),r(e,t)}function li(e,t,n){return(Ui(e)?Vt:sn)(e,t=pr(t,n,3))}var ci=Zn(rn),ui=Zn(on,!0);var di=er(qt,rn),pi=er(function(e,t){for(var n=e.length;n--&&!1!==t(e[n],n,e););return e},on),fi=qn(function(e,t,n){Ge.call(e,n)?e[n].push(t):e[n]=[t]});function hi(e,t,n,r){var i=e?mr(e):0;return Er(i)||(i=(e=_o(e)).length),n="number"!=typeof n||r&&kr(t,n,r)?0:n<0?yt(i+n,0):n||0,"string"==typeof e||!Ui(e)&&Ji(e)?n<=i&&e.indexOf(t,n)>-1:!!i&&gr(e,t,n)>-1}var gi=qn(function(e,t,n){e[n]=t}),mi=Bi(function(e,t,r){var i=-1,a="function"==typeof t,s=_r(t),l=xr(e)?n(e.length):[];return rn(e,function(e){var n=a?t:s&&null!=e?e[t]:o;l[++i]=n?n.apply(e,r):yr(e,t,r)}),l});function vi(e,t,n){return(Ui(e)?Ft:yn)(e,t=pr(t,n,3))}var bi=qn(function(e,t,n){e[n?0:1].push(t)},function(){return[[],[]]});var yi=ar(Ht,rn),xi=ar(function(e,t,n,r){var i=e.length;for(r&&i&&(n=e[--i]);i--;)n=t(n,e[i],i,e);return n},on);function wi(e,t,n){if(n?kr(e,t,n):null==t)return(r=(e=Pr(e)).length)>0?e[$n(0,r-1)]:o;var r,i=-1,a=no(e),s=(r=a.length)-1;for(t=xt(t<0?0:+t||0,r);++i<t;){var l=$n(i,s),c=a[l];a[l]=a[i],a[i]=c}return a.length=t,a}function ki(e,t,n){var r=Ui(e)?Wt:Cn;return n&&kr(e,t,n)&&(t=o),"function"==typeof t&&n===o||(t=pr(t,n,3)),r(e,t)}var _i=Bi(function(e,t){if(null==e)return[];var n=t[2];return n&&kr(t[0],t[1],n)&&(t.length=1),An(e,cn(t),[])});var $i=wt||function(){return(new r).getTime()};function Ei(e,t){var n;if("function"!=typeof t){if("function"!=typeof e)throw new Ce(_);var r=e;e=t,t=r}return function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=o),n}}var Si=Bi(function(e,t,n){var r=s;if(n.length){var i=Xe(n,Si.placeholder);r|=p}return dr(e,r,t,n,i)}),Ci=Bi(function(e,t){for(var n=-1,r=(t=t.length?cn(t):go(e)).length;++n<r;){var i=t[n];e[i]=dr(e[i],s,e)}return e}),Ti=Bi(function(e,t,n){var r=s|l;if(n.length){var i=Xe(n,Ti.placeholder);r|=p}return dr(t,r,e,n,i)}),Ai=Gn(u),Oi=Gn(d);function Pi(e,t,n){var r,i,a,s,l,c,u,d=0,p=!1,f=!0;if("function"!=typeof e)throw new Ce(_);if(t=t<0?0:+t||0,!0===n){var h=!0;f=!1}else Xi(n)&&(h=!!n.leading,p="maxWait"in n&&yt(+n.maxWait||0,t),f="trailing"in n?!!n.trailing:f);function g(t,n){n&&it(n),i=c=u=o,t&&(d=$i(),a=e.apply(l,r),c||i||(r=l=o))}function m(){var e=t-($i()-s);e<=0||e>t?g(u,i):c=ct(m,e)}function v(){g(f,c)}function b(){if(r=arguments,s=$i(),l=this,u=f&&(c||!h),!1===p)var n=h&&!c;else{i||h||(d=s);var g=p-(s-d),b=g<=0||g>p;b?(i&&(i=it(i)),d=s,a=e.apply(l,r)):i||(i=ct(v,g))}return b&&c?c=it(c):c||t===p||(c=ct(m,t)),n&&(b=!0,a=e.apply(l,r)),!b||c||i||(r=l=o),a}return b.cancel=function(){c&&it(c),i&&it(i),d=0,i=c=u=o},b}var Ri=Bi(function(e,t){return tn(e,1,t)}),ji=Bi(function(e,t,n){return tn(e,t,n)}),Di=Jn(),Ni=Jn(!0);function Ii(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw new Ce(_);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=e.apply(this,r);return n.cache=o.set(i,a),a};return n.cache=new Ii.Cache,n}var Mi=Bi(function(e,t){if(t=cn(t),"function"!=typeof e||!Bt(t,Ie))throw new Ce(_);var n=t.length;return Bi(function(r){for(var i=xt(r.length,n);i--;)r[i]=t[i](r[i]);return e.apply(this,r)})});var zi=or(p),Li=or(f),qi=Bi(function(e,t){return dr(e,g,o,o,o,cn(t))});function Bi(e,t){if("function"!=typeof e)throw new Ce(_);return t=yt(t===o?e.length-1:+t||0,0),function(){for(var r=arguments,i=-1,o=yt(r.length-t,0),a=n(o);++i<o;)a[i]=r[t+i];switch(t){case 0:return e.call(this,a);case 1:return e.call(this,r[0],a);case 2:return e.call(this,r[0],r[1],a)}var s=n(t+1);for(i=-1;++i<t;)s[i]=r[i];return s[t]=a,e.apply(this,s)}}function Vi(e,t){return e>t}function Fi(e){return We(e)&&xr(e)&&Ge.call(e,"callee")&&!st.call(e,"callee")}var Ui=mt||function(e){return We(e)&&Er(e.length)&&et.call(e)==S};function Hi(e,t,n,r){var i=(n="function"==typeof n?In(n,r,3):o)?n(e,t):o;return i===o?vn(e,t,n):!!i}function Wi(e){return We(e)&&"string"==typeof e.message&&et.call(e)==A}function Gi(e){return Xi(e)&&et.call(e)==O}function Xi(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function Yi(e){return null!=e&&(Gi(e)?nt.test(Pe.call(e)):We(e)&&de.test(e))}function Zi(e){return"number"==typeof e||We(e)&&et.call(e)==P}function Ki(e){var t,n;return!(!We(e)||et.call(e)!=R||Fi(e)||!(Ge.call(e,"constructor")||"function"!=typeof(t=e.constructor)||t instanceof t))&&(pn(e,function(e,t){n=t}),n===o||Ge.call(e,n))}function Qi(e){return Xi(e)&&et.call(e)==j}function Ji(e){return"string"==typeof e||We(e)&&et.call(e)==D}function eo(e){return We(e)&&Er(e.length)&&!!ye[et.call(e)]}function to(e,t){return e<t}function no(e){var t=e?mr(e):0;return Er(t)?t?Lt(e):[]:_o(e)}function ro(e){return Kt(e,vo(e))}var io=Bn(function e(t,n,r,i,a){if(!Xi(t))return t;var s=xr(n)&&(Ui(n)||eo(n)),l=s?o:mo(n);return qt(l||n,function(c,u){if(l&&(c=n[u=c]),We(c))i||(i=[]),a||(a=[]),function(e,t,n,r,i,a,s){for(var l=a.length,c=t[n];l--;)if(a[l]==c)return void(e[n]=s[l]);var u=e[n],d=i?i(u,c,n,e,t):o,p=d===o;p&&(d=c,xr(c)&&(Ui(c)||eo(c))?d=Ui(u)?u:xr(u)?Lt(u):[]:Ki(c)||Fi(c)?d=Fi(u)?ro(u):Ki(u)?u:{}:p=!1),a.push(c),s.push(d),p?e[n]=r(d,c,i,a,s):(d==d?d!==u:u==u)&&(e[n]=d)}(t,n,u,e,r,i,a);else{var d=t[u],p=r?r(d,c,u,t,n):o,f=p===o;f&&(p=c),p===o&&(!s||u in t)||!f&&(p==p?p===d:d!=d)||(t[u]=p)}}),t}),oo=Bn(function(e,t,n){return n?Xt(e,t,n):Yt(e,t)});var ao=Xn(oo,function(e,t){return e===o?t:e}),so=Xn(io,function e(t,n){return t===o?n:io(t,n,e)}),lo=Qn(fn),co=Qn(hn),uo=tr(un),po=tr(dn),fo=nr(fn),ho=nr(hn);function go(e){return gn(e,vo(e))}var mo=bt?function(e){var t=null==e?o:e.constructor;return"function"==typeof t&&t.prototype===e||"function"!=typeof e&&xr(e)?Or(e):Xi(e)?bt(e):[]}:Or;function vo(e){if(null==e)return[];Xi(e)||(e=$e(e));var t=e.length;t=t&&Er(t)&&(Ui(e)||Fi(e))&&t||0;for(var r=e.constructor,i=-1,o="function"==typeof r&&r.prototype===e,a=n(t),s=t>0;++i<t;)a[i]=i+"";for(var l in e)s&&wr(l,t)||"constructor"==l&&(o||!Ge.call(e,l))||a.push(l);return a}var bo=rr(!0),yo=rr(),xo=Bi(function(e,t){if(null==e)return{};if("function"!=typeof t[0])return t=Ft(cn(t),Se),Cr(e,nn(vo(e),t));var n=In(t[0],t[1],3);return Tr(e,function(e,t,r){return!n(e,t,r)})});function wo(e){e=Rr(e);for(var t=-1,r=mo(e),i=r.length,o=n(i);++t<i;){var a=r[t];o[t]=[a,e[a]]}return o}var ko=Bi(function(e,t){return null==e?{}:"function"==typeof t[0]?Tr(e,In(t[0],t[1],3)):Cr(e,cn(t))});function _o(e){return Pn(e,mo(e))}var $o=Hn(function(e,t,n){return t=t.toLowerCase(),e+(n?t.charAt(0).toUpperCase()+t.slice(1):t)});function Eo(e){return(e=Me(e))&&e.replace(fe,Be).replace(ae,"")}var So=Hn(function(e,t,n){return e+(n?"-":"")+t.toLowerCase()});var Co=ir(),To=ir(!0);function Ao(e,t){var n="";if(e=Me(e),(t=+t)<1||!e||!vt(t))return n;do{t%2&&(n+=e),t=gt(t/2),e+=e}while(t);return n}var Oo=Hn(function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}),Po=Hn(function(e,t,n){return e+(n?" ":"")+(t.charAt(0).toUpperCase()+t.slice(1))});function Ro(e,t,n){var r=e;return(e=Me(e))?(n?kr(r,t,n):null==t)?e.slice(Ye(e),Ze(e)+1):(t+="",e.slice(ze(e,t),Le(e,t)+1)):e}function jo(e,t,n){return n&&kr(e,t,n)&&(t=o),(e=Me(e)).match(t||me)||[]}var Do=Bi(function(e,t){try{return e.apply(o,t)}catch(e){return Wi(e)?e:new i(e)}});function No(e,t,n){return n&&kr(e,t,n)&&(t=o),We(e)?Mo(e):Qt(e,t)}function Io(e){return e}function Mo(e){return xn(Jt(e,!0))}var zo=Bi(function(e,t){return function(n){return yr(n,e,t)}}),Lo=Bi(function(e,t){return function(n){return yr(e,n,t)}});function qo(e,t,n){if(null==n){var r=Xi(t),i=r?mo(t):o,a=i&&i.length?gn(t,i):o;(a?a.length:r)||(a=!1,n=t,t=e,e=this)}a||(a=gn(t,mo(t)));var s=!0,l=-1,c=Gi(e),u=a.length;!1===n?s=!1:Xi(n)&&"chain"in n&&(s=n.chain);for(;++l<u;){var d=a[l],p=t[d];e[d]=p,c&&(e.prototype[d]=function(t){return function(){var n=this.__chain__;if(s||n){var r=e(this.__wrapped__);return(r.__actions__=Lt(this.__actions__)).push({func:t,args:arguments,thisArg:e}),r.__chain__=n,r}return t.apply(e,Ut([this.value()],arguments))}}(p))}return e}function Bo(){}function Vo(e){return _r(e)?kn(e):function(e){var t=e+"";return e=jr(e),function(n){return mn(n,e,t)}}(e)}var Fo=cr("ceil"),Uo=cr("floor"),Ho=Yn(Vi,$t),Wo=Yn(to,Et),Go=cr("round");return Rt.prototype=jt.prototype,Dt.prototype=en(jt.prototype),Dt.prototype.constructor=Dt,Nt.prototype=en(jt.prototype),Nt.prototype.constructor=Nt,It.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},It.prototype.get=function(e){return"__proto__"==e?o:this.__data__[e]},It.prototype.has=function(e){return"__proto__"!=e&&Ge.call(this.__data__,e)},It.prototype.set=function(e,t){return"__proto__"!=e&&(this.__data__[e]=t),this},Mt.prototype.push=function(e){var t=this.data;"string"==typeof e||Xi(e)?t.set.add(e):t.hash[e]=!0},Ii.Cache=It,Rt.after=function(e,t){if("function"!=typeof t){if("function"!=typeof e)throw new Ce(_);var n=e;e=t,t=n}return e=vt(e=+e)?e:0,function(){if(--e<1)return t.apply(this,arguments)}},Rt.ary=function(e,t,n){return n&&kr(e,t,n)&&(t=o),t=e&&null==t?e.length:yt(+t||0,0),dr(e,h,o,o,o,o,t)},Rt.assign=oo,Rt.at=oi,Rt.before=Ei,Rt.bind=Si,Rt.bindAll=Ci,Rt.bindKey=Ti,Rt.callback=No,Rt.chain=ni,Rt.chunk=function(e,t,r){t=(r?kr(e,t,r):null==t)?1:yt(gt(t)||1,1);for(var i=0,o=e?e.length:0,a=-1,s=n(ft(o/t));i<o;)s[++a]=Sn(e,i,i+=t);return s},Rt.compact=function(e){for(var t=-1,n=e?e.length:0,r=-1,i=[];++t<n;){var o=e[t];o&&(i[++r]=o)}return i},Rt.constant=function(e){return function(){return e}},Rt.countBy=ai,Rt.create=function(e,t,n){var r=en(e);return n&&kr(e,t,n)&&(t=o),t?Yt(r,t):r},Rt.curry=Ai,Rt.curryRight=Oi,Rt.debounce=Pi,Rt.defaults=ao,Rt.defaultsDeep=so,Rt.defer=Ri,Rt.delay=ji,Rt.difference=Nr,Rt.drop=Ir,Rt.dropRight=Mr,Rt.dropRightWhile=function(e,t,n){return e&&e.length?Rn(e,pr(t,n,3),!0,!0):[]},Rt.dropWhile=function(e,t,n){return e&&e.length?Rn(e,pr(t,n,3),!0):[]},Rt.fill=function(e,t,n,r){var i=e?e.length:0;return i?(n&&"number"!=typeof n&&kr(e,t,n)&&(n=0,r=i),function(e,t,n,r){var i=e.length;for((n=null==n?0:+n||0)<0&&(n=-n>i?0:i+n),(r=r===o||r>i?i:+r||0)<0&&(r+=i),i=n>r?0:r>>>0,n>>>=0;n<i;)e[n++]=t;return e}(e,t,n,r)):[]},Rt.filter=li,Rt.flatten=function(e,t,n){var r=e?e.length:0;return n&&kr(e,t,n)&&(t=!1),r?cn(e,t):[]},Rt.flattenDeep=function(e){return e&&e.length?cn(e,!0):[]},Rt.flow=Di,Rt.flowRight=Ni,Rt.forEach=di,Rt.forEachRight=pi,Rt.forIn=uo,Rt.forInRight=po,Rt.forOwn=fo,Rt.forOwnRight=ho,Rt.functions=go,Rt.groupBy=fi,Rt.indexBy=gi,Rt.initial=function(e){return Mr(e,1)},Rt.intersection=Vr,Rt.invert=function(e,t,n){n&&kr(e,t,n)&&(t=o);for(var r=-1,i=mo(e),a=i.length,s={};++r<a;){var l=i[r],c=e[l];t?Ge.call(s,c)?s[c].push(l):s[c]=[l]:s[c]=l}return s},Rt.invoke=mi,Rt.keys=mo,Rt.keysIn=vo,Rt.map=vi,Rt.mapKeys=bo,Rt.mapValues=yo,Rt.matches=Mo,Rt.matchesProperty=function(e,t){return wn(e,Jt(t,!0))},Rt.memoize=Ii,Rt.merge=io,Rt.method=zo,Rt.methodOf=Lo,Rt.mixin=qo,Rt.modArgs=Mi,Rt.negate=function(e){if("function"!=typeof e)throw new Ce(_);return function(){return!e.apply(this,arguments)}},Rt.omit=xo,Rt.once=function(e){return Ei(2,e)},Rt.pairs=wo,Rt.partial=zi,Rt.partialRight=Li,Rt.partition=bi,Rt.pick=ko,Rt.pluck=function(e,t){return vi(e,Vo(t))},Rt.property=Vo,Rt.propertyOf=function(e){return function(t){return mn(e,jr(t),t+"")}},Rt.pull=function(){var e=arguments,t=e[0];if(!t||!t.length)return t;for(var n=0,r=gr(),i=e.length;++n<i;)for(var o=0,a=e[n];(o=r(t,a,o))>-1;)ut.call(t,o,1);return t},Rt.pullAt=Ur,Rt.range=function(e,t,r){r&&kr(e,t,r)&&(t=r=o),e=+e||0,r=null==r?1:+r||0,null==t?(t=e,e=0):t=+t||0;for(var i=-1,a=yt(ft((t-e)/(r||1)),0),s=n(a);++i<a;)s[i]=e,e+=r;return s},Rt.rearg=qi,Rt.reject=function(e,t,n){var r=Ui(e)?Vt:sn;return t=pr(t,n,3),r(e,function(e,n,r){return!t(e,n,r)})},Rt.remove=function(e,t,n){var r=[];if(!e||!e.length)return r;var i=-1,o=[],a=e.length;for(t=pr(t,n,3);++i<a;){var s=e[i];t(s,i,e)&&(r.push(s),o.push(i))}return _n(e,o),r},Rt.rest=Hr,Rt.restParam=Bi,Rt.set=function(e,t,n){if(null==e)return e;for(var r=t+"",i=-1,o=(t=null!=e[r]||_r(t,e)?[r]:jr(t)).length,a=o-1,s=e;null!=s&&++i<o;){var l=t[i];Xi(s)&&(i==a?s[l]=n:null==s[l]&&(s[l]=wr(t[i+1])?[]:{})),s=s[l]}return e},Rt.shuffle=function(e){return wi(e,Et)},Rt.slice=function(e,t,n){var r=e?e.length:0;return r?(n&&"number"!=typeof n&&kr(e,t,n)&&(t=0,n=r),Sn(e,t,n)):[]},Rt.sortBy=function(e,t,n){if(null==e)return[];n&&kr(e,t,n)&&(t=o);var r=-1;return t=pr(t,n,3),Tn(yn(e,function(e,n,i){return{criteria:t(e,n,i),index:++r,value:e}}),qe)},Rt.sortByAll=_i,Rt.sortByOrder=function(e,t,n,r){return null==e?[]:(r&&kr(t,n,r)&&(n=o),Ui(t)||(t=null==t?[]:[t]),Ui(n)||(n=null==n?[]:[n]),An(e,t,n))},Rt.spread=function(e){if("function"!=typeof e)throw new Ce(_);return function(t){return e.apply(this,t)}},Rt.take=function(e,t,n){return e&&e.length?((n?kr(e,t,n):null==t)&&(t=1),Sn(e,0,t<0?0:t)):[]},Rt.takeRight=function(e,t,n){var r=e?e.length:0;return r?((n?kr(e,t,n):null==t)&&(t=1),Sn(e,(t=r-(+t||0))<0?0:t)):[]},Rt.takeRightWhile=function(e,t,n){return e&&e.length?Rn(e,pr(t,n,3),!1,!0):[]},Rt.takeWhile=function(e,t,n){return e&&e.length?Rn(e,pr(t,n,3)):[]},Rt.tap=function(e,t,n){return t.call(n,e),e},Rt.throttle=function(e,t,n){var r=!0,i=!0;if("function"!=typeof e)throw new Ce(_);return!1===n?r=!1:Xi(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),Pi(e,t,{leading:r,maxWait:+t,trailing:i})},Rt.thru=ri,Rt.times=function(e,t,r){if((e=gt(e))<1||!vt(e))return[];var i=-1,o=n(xt(e,St));for(t=In(t,r,1);++i<e;)i<St?o[i]=t(i):t(i);return o},Rt.toArray=no,Rt.toPlainObject=ro,Rt.transform=function(e,t,n,r){var i=Ui(e)||eo(e);if(t=pr(t,r,4),null==n)if(i||Xi(e)){var a=e.constructor;n=i?Ui(e)?new a:[]:en(Gi(a)?a.prototype:o)}else n={};return(i?qt:fn)(e,function(e,r,i){return t(n,e,r,i)}),n},Rt.union=Xr,Rt.uniq=Yr,Rt.unzip=Zr,Rt.unzipWith=Kr,Rt.values=_o,Rt.valuesIn=function(e){return Pn(e,vo(e))},Rt.where=function(e,t){return li(e,xn(t))},Rt.without=Qr,Rt.wrap=function(e,t){return dr(t=null==t?Io:t,p,o,[e],[])},Rt.xor=function(){for(var e=-1,t=arguments.length;++e<t;){var n=arguments[e];if(xr(n))var r=r?Ut(nn(r,n),nn(n,r)):n}return r?On(r):[]},Rt.zip=Jr,Rt.zipObject=ei,Rt.zipWith=ti,Rt.backflow=Ni,Rt.collect=vi,Rt.compose=Ni,Rt.each=di,Rt.eachRight=pi,Rt.extend=oo,Rt.iteratee=No,Rt.methods=go,Rt.object=ei,Rt.select=li,Rt.tail=Hr,Rt.unique=Yr,qo(Rt,Rt),Rt.add=function(e,t){return(+e||0)+(+t||0)},Rt.attempt=Do,Rt.camelCase=$o,Rt.capitalize=function(e){return(e=Me(e))&&e.charAt(0).toUpperCase()+e.slice(1)},Rt.ceil=Fo,Rt.clone=function(e,t,n,r){return t&&"boolean"!=typeof t&&kr(e,t,n)?t=!1:"function"==typeof t&&(r=n,n=t,t=!1),"function"==typeof n?Jt(e,t,In(n,r,1)):Jt(e,t)},Rt.cloneDeep=function(e,t,n){return"function"==typeof t?Jt(e,!0,In(t,n,1)):Jt(e,!0)},Rt.deburr=Eo,Rt.endsWith=function(e,t,n){t+="";var r=(e=Me(e)).length;return n=n===o?r:xt(n<0?0:+n||0,r),(n-=t.length)>=0&&e.indexOf(t,n)==n},Rt.escape=function(e){return(e=Me(e))&&K.test(e)?e.replace(Y,Ve):e},Rt.escapeRegExp=function(e){return(e=Me(e))&&oe.test(e)?e.replace(ie,Fe):e||"(?:)"},Rt.every=si,Rt.find=ci,Rt.findIndex=zr,Rt.findKey=lo,Rt.findLast=ui,Rt.findLastIndex=Lr,Rt.findLastKey=co,Rt.findWhere=function(e,t){return ci(e,xn(t))},Rt.first=qr,Rt.floor=Uo,Rt.get=function(e,t,n){var r=null==e?o:mn(e,jr(t),t+"");return r===o?n:r},Rt.gt=Vi,Rt.gte=function(e,t){return e>=t},Rt.has=function(e,t){if(null==e)return!1;var n=Ge.call(e,t);if(!n&&!_r(t)){if(null==(e=1==(t=jr(t)).length?e:mn(e,Sn(t,0,-1))))return!1;t=Fr(t),n=Ge.call(e,t)}return n||Er(e.length)&&wr(t,e.length)&&(Ui(e)||Fi(e))},Rt.identity=Io,Rt.includes=hi,Rt.indexOf=Br,Rt.inRange=function(e,t,n){return t=+t||0,n===o?(n=t,t=0):n=+n||0,e>=xt(t,n)&&e<yt(t,n)},Rt.isArguments=Fi,Rt.isArray=Ui,Rt.isBoolean=function(e){return!0===e||!1===e||We(e)&&et.call(e)==C},Rt.isDate=function(e){return We(e)&&et.call(e)==T},Rt.isElement=function(e){return!!e&&1===e.nodeType&&We(e)&&!Ki(e)},Rt.isEmpty=function(e){return null==e||(xr(e)&&(Ui(e)||Ji(e)||Fi(e)||We(e)&&Gi(e.splice))?!e.length:!mo(e).length)},Rt.isEqual=Hi,Rt.isError=Wi,Rt.isFinite=function(e){return"number"==typeof e&&vt(e)},Rt.isFunction=Gi,Rt.isMatch=function(e,t,n,r){return n="function"==typeof n?In(n,r,3):o,bn(e,vr(t),n)},Rt.isNaN=function(e){return Zi(e)&&e!=+e},Rt.isNative=Yi,Rt.isNull=function(e){return null===e},Rt.isNumber=Zi,Rt.isObject=Xi,Rt.isPlainObject=Ki,Rt.isRegExp=Qi,Rt.isString=Ji,Rt.isTypedArray=eo,Rt.isUndefined=function(e){return e===o},Rt.kebabCase=So,Rt.last=Fr,Rt.lastIndexOf=function(e,t,n){var r=e?e.length:0;if(!r)return-1;var i=r;if("number"==typeof n)i=(n<0?yt(r+n,0):xt(n||0,r-1))+1;else if(n){var o=e[i=Dn(e,t,!0)-1];return(t==t?t===o:o!=o)?i:-1}if(t!=t)return He(e,i,!0);for(;i--;)if(e[i]===t)return i;return-1},Rt.lt=to,Rt.lte=function(e,t){return e<=t},Rt.max=Ho,Rt.min=Wo,Rt.noConflict=function(){return Re._=tt,this},Rt.noop=Bo,Rt.now=$i,Rt.pad=function(e,t,n){t=+t;var r=(e=Me(e)).length;if(r>=t||!vt(t))return e;var i=(t-r)/2,o=gt(i);return(n=lr("",ft(i),n)).slice(0,o)+e+n},Rt.padLeft=Co,Rt.padRight=To,Rt.parseInt=function(e,t,n){return(n?kr(e,t,n):null==t)?t=0:t&&(t=+t),e=Ro(e),kt(e,t||(ue.test(e)?16:10))},Rt.random=function(e,t,n){n&&kr(e,t,n)&&(t=n=o);var r=null==e,i=null==t;if(null==n&&(i&&"boolean"==typeof e?(n=e,e=1):"boolean"==typeof t&&(n=t,i=!0)),r&&i&&(t=1,i=!1),e=+e||0,i?(t=e,e=0):t=+t||0,n||e%1||t%1){var a=_t();return xt(e+a*(t-e+ot("1e-"+((a+"").length-1))),t)}return $n(e,t)},Rt.reduce=yi,Rt.reduceRight=xi,Rt.repeat=Ao,Rt.result=function(e,t,n){var r=null==e?o:e[t];return r===o&&(null==e||_r(t,e)||(r=null==(e=1==(t=jr(t)).length?e:mn(e,Sn(t,0,-1)))?o:e[Fr(t)]),r=r===o?n:r),Gi(r)?r.call(e):r},Rt.round=Go,Rt.runInContext=e,Rt.size=function(e){var t=e?mr(e):0;return Er(t)?t:mo(e).length},Rt.snakeCase=Oo,Rt.some=ki,Rt.sortedIndex=Wr,Rt.sortedLastIndex=Gr,Rt.startCase=Po,Rt.startsWith=function(e,t,n){return e=Me(e),n=null==n?0:xt(n<0?0:+n||0,e.length),e.lastIndexOf(t,n)==n},Rt.sum=function(e,t,n){return n&&kr(e,t,n)&&(t=o),1==(t=pr(t,n,3)).length?function(e,t){for(var n=e.length,r=0;n--;)r+=+t(e[n])||0;return r}(Ui(e)?e:Pr(e),t):function(e,t){var n=0;return rn(e,function(e,r,i){n+=+t(e,r,i)||0}),n}(e,t)},Rt.template=function(e,t,n){var r=Rt.templateSettings;n&&kr(e,t,n)&&(t=n=o),e=Me(e);var i,a,s=Xt(Yt({},(t=Xt(Yt({},n||t),r,Gt)).imports),r.imports,Gt),l=mo(s),c=Pn(s,l),u=0,d=t.interpolate||he,p="__p += '",f=Ee((t.escape||he).source+"|"+d.source+"|"+(d===ee?le:he).source+"|"+(t.evaluate||he).source+"|$","g"),h="//# sourceURL="+("sourceURL"in t?t.sourceURL:"lodash.templateSources["+ ++be+"]")+"\n";e.replace(f,function(t,n,r,o,s,l){return r||(r=o),p+=e.slice(u,l).replace(ge,Ue),n&&(i=!0,p+="' +\n__e("+n+") +\n'"),s&&(a=!0,p+="';\n"+s+";\n__p += '"),r&&(p+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),u=l+t.length,t}),p+="';\n";var g=t.variable;g||(p="with (obj) {\n"+p+"\n}\n"),p=(a?p.replace(H,""):p).replace(W,"$1").replace(G,"$1;"),p="function("+(g||"obj")+") {\n"+(g?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(i?", __e = _.escape":"")+(a?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+p+"return __p\n}";var m=Do(function(){return we(l,h+"return "+p).apply(o,c)});if(m.source=p,Wi(m))throw m;return m},Rt.trim=Ro,Rt.trimLeft=function(e,t,n){var r=e;return(e=Me(e))?(n?kr(r,t,n):null==t)?e.slice(Ye(e)):e.slice(ze(e,t+"")):e},Rt.trimRight=function(e,t,n){var r=e;return(e=Me(e))?(n?kr(r,t,n):null==t)?e.slice(0,Ze(e)+1):e.slice(0,Le(e,t+"")+1):e},Rt.trunc=function(e,t,n){n&&kr(e,t,n)&&(t=o);var r=m,i=v;if(null!=t)if(Xi(t)){var a="separator"in t?t.separator:a;r="length"in t?+t.length||0:r,i="omission"in t?Me(t.omission):i}else r=+t||0;if(r>=(e=Me(e)).length)return e;var s=r-i.length;if(s<1)return i;var l=e.slice(0,s);if(null==a)return l+i;if(Qi(a)){if(e.slice(s).search(a)){var c,u,d=e.slice(0,s);for(a.global||(a=Ee(a.source,(ce.exec(a)||"")+"g")),a.lastIndex=0;c=a.exec(d);)u=c.index;l=l.slice(0,null==u?s:u)}}else if(e.indexOf(a,s)!=s){var p=l.lastIndexOf(a);p>-1&&(l=l.slice(0,p))}return l+i},Rt.unescape=function(e){return(e=Me(e))&&Z.test(e)?e.replace(X,Ke):e},Rt.uniqueId=function(e){var t=++Je;return Me(e)+t},Rt.words=jo,Rt.all=si,Rt.any=ki,Rt.contains=hi,Rt.eq=Hi,Rt.detect=ci,Rt.foldl=yi,Rt.foldr=xi,Rt.head=qr,Rt.include=hi,Rt.inject=yi,qo(Rt,function(){var e={};return fn(Rt,function(t,n){Rt.prototype[n]||(e[n]=t)}),e}(),!1),Rt.sample=wi,Rt.prototype.sample=function(e){return this.__chain__||null!=e?this.thru(function(t){return wi(t,e)}):wi(this.value())},Rt.VERSION=a,qt(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){Rt[e].placeholder=Rt}),qt(["drop","take"],function(e,t){Nt.prototype[e]=function(n){var r=this.__filtered__;if(r&&!t)return new Nt(this);n=null==n?1:yt(gt(n)||0,0);var i=this.clone();return r?i.__takeCount__=xt(i.__takeCount__,n):i.__views__.push({size:n,type:e+(i.__dir__<0?"Right":"")}),i},Nt.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}}),qt(["filter","map","takeWhile"],function(e,t){var n=t+1,r=n!=k;Nt.prototype[e]=function(e,t){var i=this.clone();return i.__iteratees__.push({iteratee:pr(e,t,1),type:n}),i.__filtered__=i.__filtered__||r,i}}),qt(["first","last"],function(e,t){var n="take"+(t?"Right":"");Nt.prototype[e]=function(){return this[n](1).value()[0]}}),qt(["initial","rest"],function(e,t){var n="drop"+(t?"":"Right");Nt.prototype[e]=function(){return this.__filtered__?new Nt(this):this[n](1)}}),qt(["pluck","where"],function(e,t){var n=t?"filter":"map",r=t?xn:Vo;Nt.prototype[e]=function(e){return this[n](r(e))}}),Nt.prototype.compact=function(){return this.filter(Io)},Nt.prototype.reject=function(e,t){return e=pr(e,t,1),this.filter(function(t){return!e(t)})},Nt.prototype.slice=function(e,t){e=null==e?0:+e||0;var n=this;return n.__filtered__&&(e>0||t<0)?new Nt(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==o&&(n=(t=+t||0)<0?n.dropRight(-t):n.take(t-e)),n)},Nt.prototype.takeRightWhile=function(e,t){return this.reverse().takeWhile(e,t).reverse()},Nt.prototype.toArray=function(){return this.take(Et)},fn(Nt.prototype,function(e,t){var n=/^(?:filter|map|reject)|While$/.test(t),r=/^(?:first|last)$/.test(t),i=Rt[r?"take"+("last"==t?"Right":""):t];i&&(Rt.prototype[t]=function(){var t=r?[1]:arguments,a=this.__chain__,s=this.__wrapped__,l=!!this.__actions__.length,c=s instanceof Nt,u=t[0],d=c||Ui(s);d&&n&&"function"==typeof u&&1!=u.length&&(c=d=!1);var p=function(e){return r&&a?i(e,1)[0]:i.apply(o,Ut([e],t))},f={func:ri,args:[p],thisArg:o},h=c&&!l;if(r&&!a)return h?((s=s.clone()).__actions__.push(f),e.call(s)):i.call(o,this.value())[0];if(!r&&d){s=h?s:new Nt(this);var g=e.apply(s,t);return g.__actions__.push(f),new Dt(g,a)}return this.thru(p)})}),qt(["join","pop","push","replace","shift","sort","splice","split","unshift"],function(e){var t=(/^(?:replace|split)$/.test(e)?Oe:Te)[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:join|pop|replace|shift)$/.test(e);Rt.prototype[e]=function(){var e=arguments;return r&&!this.__chain__?t.apply(this.value(),e):this[n](function(n){return t.apply(n,e)})}}),fn(Nt.prototype,function(e,t){var n=Rt[t];if(n){var r=n.name;(Pt[r]||(Pt[r]=[])).push({name:t,func:n})}}),Pt[sr(o,l).name]=[{name:"wrapper",func:o}],Nt.prototype.clone=function(){var e=new Nt(this.__wrapped__);return e.__actions__=Lt(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Lt(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Lt(this.__views__),e},Nt.prototype.reverse=function(){if(this.__filtered__){var e=new Nt(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},Nt.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=Ui(e),r=t<0,i=n?e.length:0,o=function(e,t,n){for(var r=-1,i=n.length;++r<i;){var o=n[r],a=o.size;switch(o.type){case"drop":e+=a;break;case"dropRight":t-=a;break;case"take":t=xt(t,e+a);break;case"takeRight":e=yt(e,t-a)}}return{start:e,end:t}}(0,i,this.__views__),a=o.start,s=o.end,l=s-a,c=r?s:a-1,u=this.__iteratees__,d=u.length,p=0,f=xt(l,this.__takeCount__);if(!n||i<x||i==l&&f==l)return jn(r&&n?e.reverse():e,this.__actions__);var h=[];e:for(;l--&&p<f;){for(var g=-1,m=e[c+=t];++g<d;){var v=u[g],b=v.iteratee,y=v.type,_=b(m);if(y==k)m=_;else if(!_){if(y==w)continue e;break e}}h[p++]=m}return h},Rt.prototype.chain=function(){return ni(this)},Rt.prototype.commit=function(){return new Dt(this.value(),this.__chain__)},Rt.prototype.concat=ii,Rt.prototype.plant=function(e){for(var t,n=this;n instanceof jt;){var r=Dr(n);t?i.__wrapped__=r:t=r;var i=r;n=n.__wrapped__}return i.__wrapped__=e,t},Rt.prototype.reverse=function(){var e=this.__wrapped__,t=function(e){return n&&n.__dir__<0?e:e.reverse()};if(e instanceof Nt){var n=e;return this.__actions__.length&&(n=new Nt(this)),(n=n.reverse()).__actions__.push({func:ri,args:[t],thisArg:o}),new Dt(n,this.__chain__)}return this.thru(t)},Rt.prototype.toString=function(){return this.value()+""},Rt.prototype.run=Rt.prototype.toJSON=Rt.prototype.valueOf=Rt.prototype.value=function(){return jn(this.__wrapped__,this.__actions__)},Rt.prototype.collect=Rt.prototype.map,Rt.prototype.head=Rt.prototype.first,Rt.prototype.select=Rt.prototype.filter,Rt.prototype.tail=Rt.prototype.rest,Rt}();Re._=Qe,(i=function(){return Qe}.call(t,n,t,e))===o||(e.exports=i)}).call(this)}).call(this,n(32)(e),n(15))},function(e,t,n){e.exports={Graph:n(31),version:n(165)}},function(e,t,n){e.exports={graphlib:n(11),layout:n(154),debug:n(131),util:{time:n(7).time,notime:n(7).notime},version:n(130)}},function(e,t,n){!function(t,r){e.exports=r(n(168))}(0,function(e){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.i=function(e){return e},n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:r})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=3)}([function(e,t,n){"use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=n(2),o=n(1),a=n(4);function s(e){this.options=o({},i,e)}s.prototype.run=function(){var e=this.options,t=e.cy,n=e.eles,i=function(e,t){return function(e){return"function"==typeof e}(t)?t.apply(e,[e]):t},o=e.boundingBox||{x1:0,y1:0,w:t.width(),h:t.height()};void 0===o.x2&&(o.x2=o.x1+o.w),void 0===o.w&&(o.w=o.x2-o.x1),void 0===o.y2&&(o.y2=o.y1+o.h),void 0===o.h&&(o.h=o.y2-o.y1);var s=new a.graphlib.Graph({multigraph:!0,compound:!0}),l={},c=function(e,t){null!=t&&(l[e]=t)};c("nodesep",e.nodeSep),c("edgesep",e.edgeSep),c("ranksep",e.rankSep),c("rankdir",e.rankDir),c("ranker",e.ranker),s.setGraph(l),s.setDefaultEdgeLabel(function(){return{}}),s.setDefaultNodeLabel(function(){return{}});for(var u=n.nodes(),d=0;d<u.length;d++){var p=u[d],f=p.layoutDimensions(e);s.setNode(p.id(),{width:f.w,height:f.h,name:p.id()})}for(var h=0;h<u.length;h++){var g=u[h];g.isChild()&&s.setParent(g.id(),g.parent().id())}for(var m=n.edges().stdFilter(function(e){return!e.source().isParent()&&!e.target().isParent()}),v=0;v<m.length;v++){var b=m[v];s.setEdge(b.source().id(),b.target().id(),{minlen:i(b,e.minLen),weight:i(b,e.edgeWeight),name:b.id()},b.id())}a.layout(s);for(var y=s.nodes(),x=0;x<y.length;x++){var w=y[x],k=s.node(w);t.getElementById(w).scratch().dagre=k}var _=void 0;e.boundingBox?(_={x1:1/0,x2:-1/0,y1:1/0,y2:-1/0},u.forEach(function(e){var t=e.scratch().dagre;_.x1=Math.min(_.x1,t.x),_.x2=Math.max(_.x2,t.x),_.y1=Math.min(_.y1,t.y),_.y2=Math.max(_.y2,t.y)}),_.w=_.x2-_.x1,_.h=_.y2-_.y1):_=o;return u.layoutPositions(this,e,function(t){var n=(t="object"===(void 0===t?"undefined":r(t))?t:this).scratch().dagre;return function(t){if(e.boundingBox){var n=0===_.w?0:(t.x-_.x1)/_.w,r=0===_.h?0:(t.y-_.y1)/_.h;return{x:o.x1+n*o.w,y:o.y1+r*o.h}}return t}({x:n.x,y:n.y})}),this},e.exports=s},function(e,t,n){"use strict";e.exports=null!=Object.assign?Object.assign.bind(Object):function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return n.forEach(function(t){Object.keys(t).forEach(function(n){return e[n]=t[n]})}),e}},function(e,t,n){"use strict";var r={nodeSep:void 0,edgeSep:void 0,rankSep:void 0,rankDir:void 0,ranker:void 0,minLen:function(e){return 1},edgeWeight:function(e){return 1},fit:!0,padding:30,spacingFactor:void 0,nodeDimensionsIncludeLabels:!1,animate:!1,animateFilter:function(e,t){return!0},animationDuration:500,animationEasing:void 0,boundingBox:void 0,transform:function(e,t){return t},ready:function(){},stop:function(){}};e.exports=r},function(e,t,n){"use strict";var r=n(0),i=function(e){e&&e("layout","dagre",r)};"undefined"!=typeof cytoscape&&i(cytoscape),e.exports=i},function(t,n){t.exports=e}])})},function(e,t,n){var r;!function(){"use strict";var i="undefined"==typeof jQuery?null:jQuery,o=function(e,t){if(e){var n,r={menuItems:[],menuItemClasses:[],contextMenuClasses:[]};e("core","contextMenus",function(e){var i=this;i.scratch("cycontextmenus")||i.scratch("cycontextmenus",{});var o=c("options"),a=c("cxtMenu"),s="cy-context-menus-cxt-menuitem",l="cy-context-menus-divider";function c(e){return i.scratch("cycontextmenus")[e]}function u(e,t){i.scratch("cycontextmenus")[e]=t}function d(e){for(var t="",n=0;n<e.length;n++){t+=e[n],n!==e.length-1&&(t+=" ")}return t}function p(e){e.css("display","block")}function f(e){e.css("display","none")}function h(e,n,r){function o(n){u("currentCyEvent",n),function(e){var n=c("cxtMenuPosition"),r=e.position||e.cyPosition;if(n!=r){a.children().css("display","none"),u("anyVisibleChild",!1),u("cxtMenuPosition",r);var o=t(i.container()).offset(),s=e.renderedPosition||e.cyRenderedPosition,l=o.left+s.x,d=o.top+s.y;a.css("left",l),a.css("top",d)}}(n),e.data("show")&&(a.is(":visible")||p(a),u("anyVisibleChild",!0),p(e)),!c("anyVisibleChild")&&a.is(":visible")&&f(a)}var s,l;r&&i.on("cxttap",l=function(e){(e.target||e.cyTarget)==i&&o(e)}),n&&i.on("cxttap",n,s=function(e){o(e)}),e.data("cy-context-menus-cxtfcn",s),e.data("cy-context-menus-cxtcorefcn",l)}function g(e,t,n,r){!function(e,t){var n;e.on("click",n=function(){t(c("currentCyEvent"))}),e.data("call-on-click-function",n)}(e,t),h(e,n,r)}function m(e){for(var t=0;t<e.length;t++)v(e[t])}function v(e){var t=y(e);!function(e){a.append(e),function(e){e.click(function(){f(a),u("cxtMenuPosition",void 0)})}(e)}(t),g(t,e.onClickFunction,e.selector,e.coreAsWell)}function b(e,n){var r=y(e);!function(e,n){var r=t("#"+n);e.insertBefore(r)}(r,n),g(r,e.onClickFunction,e.selector,e.coreAsWell)}function y(e){var n=function(e,t){var n=d(e);return n+=" "+s,t&&(n+=" "+l),n}(o.menuItemClasses,e.hasTrailingDivider),r='<button id="'+e.id+'" class="'+n+'"';e.tooltipText&&(r+=' title="'+e.tooltipText+'"'),e.disabled&&(r+=" disabled"),e.image?r+='><img src="'+e.image.src+'" width="'+e.image.width+'px"; height="'+e.image.height+'px"; style="position:absolute; top: '+e.image.y+"px; left: "+e.image.x+'px;">'+e.content+"</button>":r+=">"+e.content+"</button>";var i=t(r);return i.data("selector",e.selector),i.data("on-click-function",e.onClickFunction),i.data("show",void 0===e.show||e.show),i}function x(){c("active")&&(!function(){var e=a.children();t(e).each(function(){w(t(this))})}(),i.off("tapstart",n),a.remove(),u(a=void 0,void 0),u("active",!1),u("anyVisibleChild",!1))}function w(e){var n="string"==typeof e?t("#"+e):e,r=n.data("cy-context-menus-cxtfcn"),o=n.data("selector"),a=n.data("call-on-click-function"),s=n.data("cy-context-menus-cxtcorefcn");r&&i.off("cxttap",o,r),s&&i.off("cxttap",s),a&&n.off("click",a),n.remove()}"get"!==e&&(u("options",o=function(e,t){var n={};for(var r in e)n[r]=e[r];for(var r in t)n[r]=t[r];return n}(r,e)),c("active")&&x(),u("active",!0),a=function(){var e=d(o.contextMenuClasses);return(a=t("<div class="+e+"></div>")).addClass("cy-context-menus-cxt-menu"),u("cxtMenu",a),t("body").append(a),a}(),m(o.menuItems),i.on("tapstart",n=function(){f(a),u("cxtMenuPosition",void 0),u("currentCyEvent",void 0)}),t(".cy-context-menus-cxt-menu").contextmenu(function(){return!1}));return function(e){return{isActive:function(){return c("active")},appendMenuItem:function(t){return v(t),e},appendMenuItems:function(t){return m(t),e},removeMenuItem:function(t){return w(t),e},setTrailingDivider:function(n,r){return function(e,n){var r=t("#"+e);n?r.addClass(l):r.removeClass(l)}(n,r),e},insertBeforeMenuItem:function(t,n){return b(t,n),e},moveBeforeOtherMenuItem:function(n,r){return function(e,n){if(e!==n){var r=t("#"+e).detach(),i=t("#"+n);r.insertBefore(i)}}(n,r),e},disableMenuItem:function(n){return function(e){t("#"+e).attr("disabled",!0)}(n),e},enableMenuItem:function(n){return function(e){t("#"+e).attr("disabled",!1)}(n),e},hideMenuItem:function(n){return t("#"+n).data("show",!1),f(t("#"+n)),e},showMenuItem:function(n){return t("#"+n).data("show",!0),p(t("#"+n)),e},destroy:function(){return x(),e}}}(this)})}};void 0!==e&&e.exports&&(e.exports=o),void 0===(r=function(){return o}.call(t,n,t,e))||(e.exports=r),"undefined"!=typeof cytoscape&&i&&o(cytoscape,i)}()},function(e,t,n){var r,i,o;(function(){var n,a,s,l,c,u,d,p,f,h,g,m,v,b,y;s=Math.floor,h=Math.min,a=function(e,t){return e<t?-1:e>t?1:0},f=function(e,t,n,r,i){var o;if(null==n&&(n=0),null==i&&(i=a),n<0)throw new Error("lo must be non-negative");for(null==r&&(r=e.length);n<r;)i(t,e[o=s((n+r)/2)])<0?r=o:n=o+1;return[].splice.apply(e,[n,n-n].concat(t)),t},u=function(e,t,n){return null==n&&(n=a),e.push(t),b(e,0,e.length-1,n)},c=function(e,t){var n,r;return null==t&&(t=a),n=e.pop(),e.length?(r=e[0],e[0]=n,y(e,0,t)):r=n,r},p=function(e,t,n){var r;return null==n&&(n=a),r=e[0],e[0]=t,y(e,0,n),r},d=function(e,t,n){var r;return null==n&&(n=a),e.length&&n(e[0],t)<0&&(t=(r=[e[0],t])[0],e[0]=r[1],y(e,0,n)),t},l=function(e,t){var n,r,i,o,l,c;for(null==t&&(t=a),l=[],r=0,i=(o=function(){c=[];for(var t=0,n=s(e.length/2);0<=n?t<n:t>n;0<=n?t++:t--)c.push(t);return c}.apply(this).reverse()).length;r<i;r++)n=o[r],l.push(y(e,n,t));return l},v=function(e,t,n){var r;if(null==n&&(n=a),-1!==(r=e.indexOf(t)))return b(e,0,r,n),y(e,r,n)},g=function(e,t,n){var r,i,o,s,c;if(null==n&&(n=a),!(i=e.slice(0,t)).length)return i;for(l(i,n),o=0,s=(c=e.slice(t)).length;o<s;o++)r=c[o],d(i,r,n);return i.sort(n).reverse()},m=function(e,t,n){var r,i,o,s,u,d,p,g,m;if(null==n&&(n=a),10*t<=e.length){if(!(o=e.slice(0,t).sort(n)).length)return o;for(i=o[o.length-1],s=0,d=(p=e.slice(t)).length;s<d;s++)n(r=p[s],i)<0&&(f(o,r,0,null,n),o.pop(),i=o[o.length-1]);return o}for(l(e,n),m=[],u=0,g=h(t,e.length);0<=g?u<g:u>g;0<=g?++u:--u)m.push(c(e,n));return m},b=function(e,t,n,r){var i,o,s;for(null==r&&(r=a),i=e[n];n>t&&r(i,o=e[s=n-1>>1])<0;)e[n]=o,n=s;return e[n]=i},y=function(e,t,n){var r,i,o,s,l;for(null==n&&(n=a),i=e.length,l=t,o=e[t],r=2*t+1;r<i;)(s=r+1)<i&&!(n(e[r],e[s])<0)&&(r=s),e[t]=e[r],r=2*(t=r)+1;return e[t]=o,b(e,l,t,n)},n=function(){function e(e){this.cmp=null!=e?e:a,this.nodes=[]}return e.push=u,e.pop=c,e.replace=p,e.pushpop=d,e.heapify=l,e.updateItem=v,e.nlargest=g,e.nsmallest=m,e.prototype.push=function(e){return u(this.nodes,e,this.cmp)},e.prototype.pop=function(){return c(this.nodes,this.cmp)},e.prototype.peek=function(){return this.nodes[0]},e.prototype.contains=function(e){return-1!==this.nodes.indexOf(e)},e.prototype.replace=function(e){return p(this.nodes,e,this.cmp)},e.prototype.pushpop=function(e){return d(this.nodes,e,this.cmp)},e.prototype.heapify=function(){return l(this.nodes,this.cmp)},e.prototype.updateItem=function(e){return v(this.nodes,e,this.cmp)},e.prototype.clear=function(){return this.nodes=[]},e.prototype.empty=function(){return 0===this.nodes.length},e.prototype.size=function(){return this.nodes.length},e.prototype.clone=function(){var t;return(t=new e).nodes=this.nodes.slice(0),t},e.prototype.toArray=function(){return this.nodes.slice(0)},e.prototype.insert=e.prototype.push,e.prototype.top=e.prototype.peek,e.prototype.front=e.prototype.peek,e.prototype.has=e.prototype.contains,e.prototype.copy=e.prototype.clone,e}(),i=[],void 0===(o="function"==typeof(r=function(){return n})?r.apply(t,i):r)||(e.exports=o)}).call(this)},function(e,t,n){e.exports=n(171)},function(e,t,n){(function(t){var n="Expected a function",r=NaN,i="[object Symbol]",o=/^\s+|\s+$/g,a=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,l=/^0o[0-7]+$/i,c=parseInt,u="object"==typeof t&&t&&t.Object===Object&&t,d="object"==typeof self&&self&&self.Object===Object&&self,p=u||d||Function("return this")(),f=Object.prototype.toString,h=Math.max,g=Math.min,m=function(){return p.Date.now()};function v(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function b(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&f.call(e)==i}(e))return r;if(v(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=v(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(o,"");var n=s.test(e);return n||l.test(e)?c(e.slice(2),n?2:8):a.test(e)?r:+e}e.exports=function(e,t,r){var i,o,a,s,l,c,u=0,d=!1,p=!1,f=!0;if("function"!=typeof e)throw new TypeError(n);function y(t){var n=i,r=o;return i=o=void 0,u=t,s=e.apply(r,n)}function x(e){var n=e-c;return void 0===c||n>=t||n<0||p&&e-u>=a}function w(){var e=m();if(x(e))return k(e);l=setTimeout(w,function(e){var n=t-(e-c);return p?g(n,a-(e-u)):n}(e))}function k(e){return l=void 0,f&&i?y(e):(i=o=void 0,s)}function _(){var e=m(),n=x(e);if(i=arguments,o=this,c=e,n){if(void 0===l)return function(e){return u=e,l=setTimeout(w,t),d?y(e):s}(c);if(p)return l=setTimeout(w,t),y(c)}return void 0===l&&(l=setTimeout(w,t)),s}return t=b(t)||0,v(r)&&(d=!!r.leading,a=(p="maxWait"in r)?h(b(r.maxWait)||0,t):a,f="trailing"in r?!!r.trailing:f),_.cancel=function(){void 0!==l&&clearTimeout(l),u=0,i=c=o=l=void 0},_.flush=function(){return void 0===l?s:k(m())},_}}).call(this,n(15))},function(e,t){var n,r,i=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(e){if(n===setTimeout)return setTimeout(e,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:o}catch(e){n=o}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var l,c=[],u=!1,d=-1;function p(){u&&l&&(u=!1,l.length?c=l.concat(c):d=-1,c.length&&f())}function f(){if(!u){var e=s(p);u=!0;for(var t=c.length;t;){for(l=c,c=[];++d<t;)l&&l[d].run();d=-1,t=c.length}l=null,u=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function g(){}i.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];c.push(new h(e,t)),1!==c.length||u||s(f)},h.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=g,i.addListener=g,i.once=g,i.off=g,i.removeListener=g,i.removeAllListeners=g,i.emit=g,i.prependListener=g,i.prependOnceListener=g,i.listeners=function(e){return[]},i.binding=function(e){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},function(e,t,n){(function(e,t){!function(e,n){"use strict";if(!e.setImmediate){var r,i=1,o={},a=!1,s=e.document,l=Object.getPrototypeOf&&Object.getPrototypeOf(e);l=l&&l.setTimeout?l:e,"[object process]"==={}.toString.call(e.process)?r=function(e){t.nextTick(function(){u(e)})}:function(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}}()?function(){var t="setImmediate$"+Math.random()+"$",n=function(n){n.source===e&&"string"==typeof n.data&&0===n.data.indexOf(t)&&u(+n.data.slice(t.length))};e.addEventListener?e.addEventListener("message",n,!1):e.attachEvent("onmessage",n),r=function(n){e.postMessage(t+n,"*")}}():e.MessageChannel?function(){var e=new MessageChannel;e.port1.onmessage=function(e){u(e.data)},r=function(t){e.port2.postMessage(t)}}():s&&"onreadystatechange"in s.createElement("script")?function(){var e=s.documentElement;r=function(t){var n=s.createElement("script");n.onreadystatechange=function(){u(t),n.onreadystatechange=null,e.removeChild(n),n=null},e.appendChild(n)}}():r=function(e){setTimeout(u,0,e)},l.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),n=0;n<t.length;n++)t[n]=arguments[n+1];var a={callback:e,args:t};return o[i]=a,r(i),i++},l.clearImmediate=c}function c(e){delete o[e]}function u(e){if(a)setTimeout(u,0,e);else{var t=o[e];if(t){a=!0;try{!function(e){var t=e.callback,r=e.args;switch(r.length){case 0:t();break;case 1:t(r[0]);break;case 2:t(r[0],r[1]);break;case 3:t(r[0],r[1],r[2]);break;default:t.apply(n,r)}}(t)}finally{c(e),a=!1}}}}}("undefined"==typeof self?void 0===e?this:e:self)}).call(this,n(15),n(174))},function(e,t,n){(function(e){var r=void 0!==e&&e||"undefined"!=typeof self&&self||window,i=Function.prototype.apply;function o(e,t){this._id=e,this._clearFn=t}t.setTimeout=function(){return new o(i.call(setTimeout,r,arguments),clearTimeout)},t.setInterval=function(){return new o(i.call(setInterval,r,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},o.prototype.unref=o.prototype.ref=function(){},o.prototype.close=function(){this._clearFn.call(r,this._id)},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout(function(){e._onTimeout&&e._onTimeout()},t))},n(175),t.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||this&&this.setImmediate,t.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||this&&this.clearImmediate}).call(this,n(15))},function(e,t,n){(function(t){!function(t,r){e.exports=r(n(173),n(172))}("undefined"!=typeof self&&self,function(e,n){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:r})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=20)}([function(e,t,n){"use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=n(3),o=i?i.navigator:null,a=i?i.document:null,s=r(""),l=r({}),c=r(function(){}),u="undefined"==typeof HTMLElement?"undefined":r(HTMLElement),d=function(e){return e&&e.instanceString&&p.fn(e.instanceString)?e.instanceString():null},p={defined:function(e){return null!=e},string:function(e){return null!=e&&(void 0===e?"undefined":r(e))==s},fn:function(e){return null!=e&&(void 0===e?"undefined":r(e))===c},array:function(e){return Array.isArray?Array.isArray(e):null!=e&&e instanceof Array},plainObject:function(e){return null!=e&&(void 0===e?"undefined":r(e))===l&&!p.array(e)&&e.constructor===Object},object:function(e){return null!=e&&(void 0===e?"undefined":r(e))===l},number:function(e){return null!=e&&(void 0===e?"undefined":r(e))===r(1)&&!isNaN(e)},integer:function(e){return p.number(e)&&Math.floor(e)===e},bool:function(e){return null!=e&&(void 0===e?"undefined":r(e))===r(!0)},htmlElement:function(e){return"undefined"===u?void 0:null!=e&&e instanceof HTMLElement},elementOrCollection:function(e){return p.element(e)||p.collection(e)},element:function(e){return"collection"===d(e)&&e._private.single},collection:function(e){return"collection"===d(e)&&!e._private.single},core:function(e){return"core"===d(e)},style:function(e){return"style"===d(e)},stylesheet:function(e){return"stylesheet"===d(e)},event:function(e){return"event"===d(e)},thread:function(e){return"thread"===d(e)},fabric:function(e){return"fabric"===d(e)},emptyString:function(e){return void 0===e||null===e||!(""!==e&&!e.match(/^\s+$/))},nonemptyString:function(e){return!(!e||!p.string(e)||""===e||e.match(/^\s+$/))},domElement:function(e){return"undefined"!=typeof HTMLElement&&e instanceof HTMLElement},boundingBox:function(e){return p.plainObject(e)&&p.number(e.x1)&&p.number(e.x2)&&p.number(e.y1)&&p.number(e.y2)},promise:function(e){return p.object(e)&&p.fn(e.then)},touch:function(){return i&&("ontouchstart"in i||i.DocumentTouch&&a instanceof DocumentTouch)},gecko:function(){return i&&("undefined"!=typeof InstallTrigger||"MozAppearance"in a.documentElement.style)},webkit:function(){return i&&("undefined"!=typeof webkitURL||"WebkitAppearance"in a.documentElement.style)},chromium:function(){return i&&"undefined"!=typeof chrome},khtml:function(){return o&&o.vendor.match(/kde/i)},khtmlEtc:function(){return p.khtml()||p.webkit()||p.chromium()},ms:function(){return o&&o.userAgent.match(/msie|trident|edge/i)},windows:function(){return o&&o.appVersion.match(/Win/i)},mac:function(){return o&&o.appVersion.match(/Mac/i)},linux:function(){return o&&o.appVersion.match(/Linux/i)},unix:function(){return o&&o.appVersion.match(/X11/i)}};e.exports=p},function(e,t,n){"use strict";var r=n(0),i=n(2),o={MAX_INT:Number.MAX_SAFE_INTEGER||9007199254740991,trueify:function(){return!0},falsify:function(){return!1},zeroify:function(){return 0},noop:function(){},error:function(e){console.error?(console.error.apply(console,arguments),console.trace&&console.trace()):(console.log.apply(console,arguments),console.trace&&console.trace())},clone:function(e){return this.extend({},e)},copy:function(e){return null==e?e:r.array(e)?e.slice():r.plainObject(e)?this.clone(e):e},copyArray:function(e){return e.slice()},clonePosition:function(e){return{x:e.x,y:e.y}},uuid:function(e,t){for(t=e="";e++<36;t+=51*e&52?(15^e?8^Math.random()*(20^e?16:4):4).toString(16):"-");return t}};o.makeBoundingBox=i.makeBoundingBox.bind(i),o._staticEmptyObject={},o.staticEmptyObject=function(){return o._staticEmptyObject},o.extend=null!=Object.assign?Object.assign.bind(Object):function(e){for(var t=arguments,n=1;n<t.length;n++){var r=t[n];if(null!=r)for(var i=Object.keys(r),o=0;o<i.length;o++){var a=i[o];e[a]=r[a]}}return e},o.assign=o.extend,o.default=function(e,t){return void 0===e?t:e},o.removeFromArray=function(e,t,n){for(var r=e.length;r>=0&&(e[r]!==t||(e.splice(r,1),n));r--);},o.clearArray=function(e){e.splice(0,e.length)},o.push=function(e,t){for(var n=0;n<t.length;n++){var r=t[n];e.push(r)}},o.getPrefixedProperty=function(e,t,n){return n&&(t=this.prependCamel(n,t)),e[t]},o.setPrefixedProperty=function(e,t,n,r){n&&(t=this.prependCamel(n,t)),e[t]=r},[n(21),n(22),{memoize:n(13)},n(23),n(24),n(25),n(27)].forEach(function(e){o.extend(o,e)}),e.exports=o},function(e,t,n){"use strict";var r={arePositionsSame:function(e,t){return e.x===t.x&&e.y===t.y},copyPosition:function(e){return{x:e.x,y:e.y}},modelToRenderedPosition:function(e,t,n){return{x:e.x*t+n.x,y:e.y*t+n.y}},renderedToModelPosition:function(e,t,n){return{x:(e.x-n.x)/t,y:(e.y-n.y)/t}},array2point:function(e){return{x:e[0],y:e[1]}},deg2rad:function(e){return Math.PI*e/180},getAngleFromDisp:function(e,t){return Math.atan2(t,e)-Math.PI/2}};r.log2=Math.log2||function(e){return Math.log(e)/Math.log(2)},r.signum=function(e){return e>0?1:e<0?-1:0},r.dist=function(e,t){return Math.sqrt(r.sqdist(e,t))},r.sqdist=function(e,t){var n=t.x-e.x,r=t.y-e.y;return n*n+r*r},r.qbezierAt=function(e,t,n,r){return(1-r)*(1-r)*e+2*(1-r)*r*t+r*r*n},r.qbezierPtAt=function(e,t,n,i){return{x:r.qbezierAt(e.x,t.x,n.x,i),y:r.qbezierAt(e.y,t.y,n.y,i)}},r.lineAt=function(e,t,n,i){var o=t.x-e.x,a=t.y-e.y,s=r.dist(e,t),l=o/s,c=a/s;return n=null==n?0:n,i=null!=i?i:n*s,{x:e.x+l*i,y:e.y+c*i}},r.lineAtDist=function(e,t,n){return r.lineAt(e,t,void 0,n)},r.triangleAngle=function(e,t,n){var i=r.dist(t,n),o=r.dist(e,n),a=r.dist(e,t);return Math.acos((i*i+o*o-a*a)/(2*i*o))},r.bound=function(e,t,n){return Math.max(e,Math.min(n,t))},r.makeBoundingBox=function(e){if(null==e)return{x1:1/0,y1:1/0,x2:-1/0,y2:-1/0,w:0,h:0};if(null!=e.x1&&null!=e.y1){if(null!=e.x2&&null!=e.y2&&e.x2>=e.x1&&e.y2>=e.y1)return{x1:e.x1,y1:e.y1,x2:e.x2,y2:e.y2,w:e.x2-e.x1,h:e.y2-e.y1};if(null!=e.w&&null!=e.h&&e.w>=0&&e.h>=0)return{x1:e.x1,y1:e.y1,x2:e.x1+e.w,y2:e.y1+e.h,w:e.w,h:e.h}}},r.updateBoundingBox=function(e,t){e.x1=Math.min(e.x1,t.x1),e.x2=Math.max(e.x2,t.x2),e.w=e.x2-e.x1,e.y1=Math.min(e.y1,t.y1),e.y2=Math.max(e.y2,t.y2),e.h=e.y2-e.y1},r.expandBoundingBoxByPoint=function(e,t,n){e.x1=Math.min(e.x1,t),e.x2=Math.max(e.x2,t),e.w=e.x2-e.x1,e.y1=Math.min(e.y1,n),e.y2=Math.max(e.y2,n),e.h=e.y2-e.y1},r.expandBoundingBox=function(e,t){return e.x1-=t,e.x2+=t,e.y1-=t,e.y2+=t,e.w=e.x2-e.x1,e.h=e.y2-e.y1,e},r.boundingBoxesIntersect=function(e,t){return!(e.x1>t.x2)&&(!(t.x1>e.x2)&&(!(e.x2<t.x1)&&(!(t.x2<e.x1)&&(!(e.y2<t.y1)&&(!(t.y2<e.y1)&&(!(e.y1>t.y2)&&!(t.y1>e.y2)))))))},r.inBoundingBox=function(e,t,n){return e.x1<=t&&t<=e.x2&&e.y1<=n&&n<=e.y2},r.pointInBoundingBox=function(e,t){return this.inBoundingBox(e,t.x,t.y)},r.boundingBoxInBoundingBox=function(e,t){return r.inBoundingBox(e,t.x1,t.y1)&&r.inBoundingBox(e,t.x2,t.y2)},r.roundRectangleIntersectLine=function(e,t,n,r,i,o,a){var s=this.getRoundRectangleRadius(i,o),l=i/2,c=o/2,u=void 0,d=n-l+s-a,p=r-c-a,f=n+l-s+a,h=p;if((u=this.finiteLinesIntersect(e,t,n,r,d,p,f,h,!1)).length>0)return u;var g=n+l+a,m=r-c+s-a,v=g,b=r+c-s+a;if((u=this.finiteLinesIntersect(e,t,n,r,g,m,v,b,!1)).length>0)return u;var y=n-l+s-a,x=r+c+a,w=n+l-s+a,k=x;if((u=this.finiteLinesIntersect(e,t,n,r,y,x,w,k,!1)).length>0)return u;var _=n-l-a,$=r-c+s-a,E=_,S=r+c-s+a;if((u=this.finiteLinesIntersect(e,t,n,r,_,$,E,S,!1)).length>0)return u;var C=void 0,T=n-l+s,A=r-c+s;if((C=this.intersectLineCircle(e,t,n,r,T,A,s+a)).length>0&&C[0]<=T&&C[1]<=A)return[C[0],C[1]];var O=n+l-s,P=r-c+s;if((C=this.intersectLineCircle(e,t,n,r,O,P,s+a)).length>0&&C[0]>=O&&C[1]<=P)return[C[0],C[1]];var R=n+l-s,j=r+c-s;if((C=this.intersectLineCircle(e,t,n,r,R,j,s+a)).length>0&&C[0]>=R&&C[1]>=j)return[C[0],C[1]];var D=n-l+s,N=r+c-s;return(C=this.intersectLineCircle(e,t,n,r,D,N,s+a)).length>0&&C[0]<=D&&C[1]>=N?[C[0],C[1]]:[]},r.inLineVicinity=function(e,t,n,r,i,o,a){var s=a,l=Math.min(n,i),c=Math.max(n,i),u=Math.min(r,o),d=Math.max(r,o);return l-s<=e&&e<=c+s&&u-s<=t&&t<=d+s},r.inBezierVicinity=function(e,t,n,r,i,o,a,s,l){var c=Math.min(n,a,i)-l,u=Math.max(n,a,i)+l,d=Math.min(r,s,o)-l,p=Math.max(r,s,o)+l;return!(e<c||e>u||t<d||t>p)},r.solveQuadratic=function(e,t,n,r){var i=t*t-4*e*(n-=r);if(i<0)return[];var o=Math.sqrt(i),a=2*e;return[(-t+o)/a,(-t-o)/a]},r.solveCubic=function(e,t,n,r,i){var o,a=void 0,s=void 0,l=void 0,c=void 0,u=void 0,d=void 0,p=void 0;return s=-27*(r/=e)+(t/=e)*(9*(n/=e)-t*t*2),o=(a=(3*n-t*t)/9)*a*a+(s/=54)*s,i[1]=0,d=t/3,o>0?(c=(c=s+Math.sqrt(o))<0?-Math.pow(-c,1/3):Math.pow(c,1/3),u=(u=s-Math.sqrt(o))<0?-Math.pow(-u,1/3):Math.pow(u,1/3),i[0]=-d+c+u,d+=(c+u)/2,i[4]=i[2]=-d,d=Math.sqrt(3)*(-u+c)/2,i[3]=d,void(i[5]=-d)):(i[5]=i[3]=0,0===o?(p=s<0?-Math.pow(-s,1/3):Math.pow(s,1/3),i[0]=2*p-d,void(i[4]=i[2]=-(p+d))):(l=(a=-a)*a*a,l=Math.acos(s/Math.sqrt(l)),p=2*Math.sqrt(a),i[0]=-d+p*Math.cos(l/3),i[2]=-d+p*Math.cos((l+2*Math.PI)/3),void(i[4]=-d+p*Math.cos((l+4*Math.PI)/3))))},r.sqdistToQuadraticBezier=function(e,t,n,r,i,o,a,s){var l=1*n*n-4*n*i+2*n*a+4*i*i-4*i*a+a*a+r*r-4*r*o+2*r*s+4*o*o-4*o*s+s*s,c=9*n*i-3*n*n-3*n*a-6*i*i+3*i*a+9*r*o-3*r*r-3*r*s-6*o*o+3*o*s,u=3*n*n-6*n*i+n*a-n*e+2*i*i+2*i*e-a*e+3*r*r-6*r*o+r*s-r*t+2*o*o+2*o*t-s*t,d=1*n*i-n*n+n*e-i*e+r*o-r*r+r*t-o*t,p=[];this.solveCubic(l,c,u,d,p);for(var f=[],h=0;h<6;h+=2)Math.abs(p[h+1])<1e-7&&p[h]>=0&&p[h]<=1&&f.push(p[h]);f.push(1),f.push(0);for(var g=-1,m=void 0,v=void 0,b=void 0,y=0;y<f.length;y++)m=Math.pow(1-f[y],2)*n+2*(1-f[y])*f[y]*i+f[y]*f[y]*a,v=Math.pow(1-f[y],2)*r+2*(1-f[y])*f[y]*o+f[y]*f[y]*s,b=Math.pow(m-e,2)+Math.pow(v-t,2),g>=0?b<g&&(g=b):g=b;return g},r.sqdistToFiniteLine=function(e,t,n,r,i,o){var a=[e-n,t-r],s=[i-n,o-r],l=s[0]*s[0]+s[1]*s[1],c=a[0]*a[0]+a[1]*a[1],u=a[0]*s[0]+a[1]*s[1],d=u*u/l;return u<0?c:d>l?(e-i)*(e-i)+(t-o)*(t-o):c-d},r.pointInsidePolygonPoints=function(e,t,n){for(var r=void 0,i=void 0,o=void 0,a=void 0,s=0,l=0;l<n.length/2;l++)if(r=n[2*l],i=n[2*l+1],l+1<n.length/2?(o=n[2*(l+1)],a=n[2*(l+1)+1]):(o=n[2*(l+1-n.length/2)],a=n[2*(l+1-n.length/2)+1]),r==e&&o==e);else{if(!(r>=e&&e>=o||r<=e&&e<=o))continue;(e-r)/(o-r)*(a-i)+i>t&&s++}return s%2!=0},r.pointInsidePolygon=function(e,t,n,i,o,a,s,l,c){var u=new Array(n.length),d=void 0;null!=l[0]?(d=Math.atan(l[1]/l[0]),l[0]<0?d+=Math.PI/2:d=-d-Math.PI/2):d=l;for(var p=Math.cos(-d),f=Math.sin(-d),h=0;h<u.length/2;h++)u[2*h]=a/2*(n[2*h]*p-n[2*h+1]*f),u[2*h+1]=s/2*(n[2*h+1]*p+n[2*h]*f),u[2*h]+=i,u[2*h+1]+=o;var g=void 0;if(c>0){var m=this.expandPolygon(u,-c);g=this.joinLines(m)}else g=u;return r.pointInsidePolygonPoints(e,t,g)},r.joinLines=function(e){for(var t=new Array(e.length/2),n=void 0,r=void 0,i=void 0,o=void 0,a=void 0,s=void 0,l=void 0,c=void 0,u=0;u<e.length/4;u++){n=e[4*u],r=e[4*u+1],i=e[4*u+2],o=e[4*u+3],u<e.length/4-1?(a=e[4*(u+1)],s=e[4*(u+1)+1],l=e[4*(u+1)+2],c=e[4*(u+1)+3]):(a=e[0],s=e[1],l=e[2],c=e[3]);var d=this.finiteLinesIntersect(n,r,i,o,a,s,l,c,!0);t[2*u]=d[0],t[2*u+1]=d[1]}return t},r.expandPolygon=function(e,t){for(var n=new Array(2*e.length),r=void 0,i=void 0,o=void 0,a=void 0,s=0;s<e.length/2;s++){r=e[2*s],i=e[2*s+1],s<e.length/2-1?(o=e[2*(s+1)],a=e[2*(s+1)+1]):(o=e[0],a=e[1]);var l=a-i,c=-(o-r),u=Math.sqrt(l*l+c*c),d=l/u,p=c/u;n[4*s]=r+d*t,n[4*s+1]=i+p*t,n[4*s+2]=o+d*t,n[4*s+3]=a+p*t}return n},r.intersectLineEllipse=function(e,t,n,r,i,o){var a=n-e,s=r-t;a/=i,s/=o;var l=Math.sqrt(a*a+s*s),c=l-1;if(c<0)return[];var u=c/l;return[(n-e)*u+e,(r-t)*u+t]},r.checkInEllipse=function(e,t,n,r,i,o,a){return e-=i,t-=o,(e/=n/2+a)*e+(t/=r/2+a)*t<=1},r.intersectLineCircle=function(e,t,n,r,i,o,a){var s=[n-e,r-t],l=[e-i,t-o],c=s[0]*s[0]+s[1]*s[1],u=2*(l[0]*s[0]+l[1]*s[1]),d=u*u-4*c*(l[0]*l[0]+l[1]*l[1]-a*a);if(d<0)return[];var p=(-u+Math.sqrt(d))/(2*c),f=(-u-Math.sqrt(d))/(2*c),h=Math.min(p,f),g=Math.max(p,f),m=[];if(h>=0&&h<=1&&m.push(h),g>=0&&g<=1&&m.push(g),0===m.length)return[];var v=m[0]*s[0]+e,b=m[0]*s[1]+t;return m.length>1?m[0]==m[1]?[v,b]:[v,b,m[1]*s[0]+e,m[1]*s[1]+t]:[v,b]},r.findCircleNearPoint=function(e,t,n,r,i){var o=r-e,a=i-t,s=Math.sqrt(o*o+a*a);return[e+o/s*n,t+a/s*n]},r.findMaxSqDistanceToOrigin=function(e){for(var t=1e-6,n=void 0,r=0;r<e.length/2;r++)(n=e[2*r]*e[2*r]+e[2*r+1]*e[2*r+1])>t&&(t=n);return t},r.midOfThree=function(e,t,n){return t<=e&&e<=n||n<=e&&e<=t?e:e<=t&&t<=n||n<=t&&t<=e?t:n},r.finiteLinesIntersect=function(e,t,n,r,i,o,a,s,l){var c=e-i,u=n-e,d=a-i,p=t-o,f=r-t,h=s-o,g=d*p-h*c,m=u*p-f*c,v=h*u-d*f;if(0!==v){var b=g/v,y=m/v;return-.001<=b&&b<=1.001&&-.001<=y&&y<=1.001?[e+b*u,t+b*f]:l?[e+b*u,t+b*f]:[]}return 0===g||0===m?this.midOfThree(e,n,a)===a?[a,s]:this.midOfThree(e,n,i)===i?[i,o]:this.midOfThree(i,a,n)===n?[n,r]:[]:[]},r.polygonIntersectLine=function(e,t,n,i,o,a,s,l){var c=[],u=void 0,d=new Array(n.length),p=!0;5===arguments.length&&(p=!1);var f=void 0;if(p){for(var h=0;h<d.length/2;h++)d[2*h]=n[2*h]*a+i,d[2*h+1]=n[2*h+1]*s+o;if(l>0){var g=r.expandPolygon(d,-l);f=r.joinLines(g)}else f=d}else f=n;for(var m=void 0,v=void 0,b=void 0,y=void 0,x=0;x<f.length/2;x++)m=f[2*x],v=f[2*x+1],x<f.length/2-1?(b=f[2*(x+1)],y=f[2*(x+1)+1]):(b=f[0],y=f[1]),0!==(u=this.finiteLinesIntersect(e,t,i,o,m,v,b,y)).length&&c.push(u[0],u[1]);return c},r.shortenIntersection=function(e,t,n){var r=[e[0]-t[0],e[1]-t[1]],i=Math.sqrt(r[0]*r[0]+r[1]*r[1]),o=(i-n)/i;return o<0&&(o=1e-5),[t[0]+o*r[0],t[1]+o*r[1]]},r.generateUnitNgonPointsFitToSquare=function(e,t){var n=r.generateUnitNgonPoints(e,t);return n=r.fitPolygonToSquare(n)},r.fitPolygonToSquare=function(e){for(var t=void 0,n=void 0,r=e.length/2,i=1/0,o=1/0,a=-1/0,s=-1/0,l=0;l<r;l++)t=e[2*l],n=e[2*l+1],i=Math.min(i,t),a=Math.max(a,t),o=Math.min(o,n),s=Math.max(s,n);for(var c=2/(a-i),u=2/(s-o),d=0;d<r;d++)t=e[2*d]=e[2*d]*c,n=e[2*d+1]=e[2*d+1]*u,i=Math.min(i,t),a=Math.max(a,t),o=Math.min(o,n),s=Math.max(s,n);if(o<-1)for(var p=0;p<r;p++)n=e[2*p+1]=e[2*p+1]+(-1-o);return e},r.generateUnitNgonPoints=function(e,t){var n=1/e*2*Math.PI,r=e%2==0?Math.PI/2+n/2:Math.PI/2;r+=t;for(var i=new Array(2*e),o=void 0,a=0;a<e;a++)o=a*n+r,i[2*a]=Math.cos(o),i[2*a+1]=Math.sin(-o);return i},r.getRoundRectangleRadius=function(e,t){return Math.min(e/4,t/4,8)},r.getCutRectangleCornerLength=function(){return 8},r.bezierPtsToQuadCoeff=function(e,t,n){return[e-2*t+n,2*(t-e),e]},r.getBarrelCurveConstants=function(e,t){return{heightOffset:Math.min(15,.05*t),widthOffset:Math.min(100,.25*e),ctrlPtOffsetPct:.05}},e.exports=r},function(e,t,n){"use strict";e.exports="undefined"==typeof window?null:window},function(e,t,n){"use strict";var r=n(1),i={};[n(43),n(45),n(46)].forEach(function(e){r.assign(i,e)}),e.exports=i},function(e,n,r){"use strict";var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=function e(t){if(!(this instanceof e))return new e(t);this.id="Thenable/1.0.7",this.state=0,this.fulfillValue=void 0,this.rejectReason=void 0,this.onFulfilled=[],this.onRejected=[],this.proxy={then:this.then.bind(this)},"function"==typeof t&&t.call(this,this.fulfill.bind(this),this.reject.bind(this))};
 /*!
 Embeddable Minimum Strictly-Compliant Promises/A+ 1.1.1 Thenable
 Copyright (c) 2013-2014 Ralf S. Engelschall (http://engelschall.com)
 Licensed under The MIT License (http://opensource.org/licenses/MIT)
-*/o.prototype={fulfill:function(e){return a(this,1,"fulfillValue",e)},reject:function(e){return a(this,2,"rejectReason",e)},then:function(e,t){var n=new o;return this.onFulfilled.push(c(e,n,"fulfill")),this.onRejected.push(c(t,n,"reject")),s(this),n.proxy}};var a=function(e,t,n,r){return 0===e.state&&(e.state=t,e[n]=r,s(e)),e},s=function(e){1===e.state?l(e,"onFulfilled",e.fulfillValue):2===e.state&&l(e,"onRejected",e.rejectReason)},l=function(e,n,r){if(0!==e[n].length){var i=e[n];e[n]=[];var o=function(){for(var e=0;e<i.length;e++)i[e](r)};"function"==typeof t?t(o):setTimeout(o,0)}},c=function(e,t,n){return function(r){if("function"!=typeof e)t[n].call(t,r);else{var i;try{i=e(r)}catch(e){return void t.reject(e)}u(t,i)}}},u=function e(t,n){if(t!==n&&t.proxy!==n){var r;if("object"===(void 0===n?"undefined":i(n))&&null!==n||"function"==typeof n)try{r=n.then}catch(e){return void t.reject(e)}if("function"!=typeof r)t.fulfill(n);else{var o=!1;try{r.call(n,function(r){o||(o=!0,r===n?t.reject(new TypeError("circular thenable chain")):e(t,r))},function(e){o||(o=!0,t.reject(e))})}catch(e){o||t.reject(e)}}}else t.reject(new TypeError("cannot resolve promise with itself"))};o.all=function(e){return new o(function(t,n){for(var r=new Array(e.length),i=0,o=function(n,o){r[n]=o,++i===e.length&&t(r)},a=0;a<e.length;a++)!function(t){var r=e[t];null!=r&&null!=r.then?r.then(function(e){o(t,e)},function(e){n(e)}):o(t,r)}(a)})},o.resolve=function(e){return new o(function(t,n){t(e)})},o.reject=function(e){return new o(function(t,n){n(e)})},e.exports="undefined"!=typeof Promise?Promise:o},function(e,t,n){"use strict";var r=n(0),i=n(1),o=n(10),a=function(e){if(this._private={selectorText:e,invalid:!0},null==e||r.string(e)&&e.match(/^\s*$/))this.length=0;else if("*"===e||"edge"===e||"node"===e)this[0]=o(),this[0].group="*"===e?e:e+"s",this[0].groupOnly=!0,this[0].length=1,this._private.invalid=!1,this.length=1;else if(r.elementOrCollection(e)){var t=e.collection();this[0]=o(),this[0].collection=t,this[0].length=1,this.length=1}else if(r.fn(e))this[0]=o(),this[0].filter=e,this[0].length=1,this.length=1;else{if(!r.string(e))return void i.error("A selector must be created from a string; found ",e);if(!this.parse(e))return}this._private.invalid=!1},s=a.prototype;s.valid=function(){return!this._private.invalid},s.invalid=function(){return this._private.invalid},s.text=function(){return this._private.selectorText},s.size=function(){return this.length},s.eq=function(e){return this[e]},s.sameText=function(e){return this.text()===e.text()},s.toString=s.selector=function(){if(null!=this._private.toStringCache)return this._private.toStringCache;var e=void 0,t="",n=function(e){return null==e?"":e},i=function(e){return r.string(e)?'"'+e+'"':n(e)},o=function(e){return" "+e+" "},a=function t(r){var a="",s=void 0;r.subject===r&&(a+="$");var l=n(r.group);for(a+=l.substring(0,l.length-1),s=0;s<r.data.length;s++){var c=r.data[s];c.value?a+="["+c.field+o(n(c.operator))+i(c.value)+"]":a+="["+n(c.operator)+c.field+"]"}for(s=0;s<r.meta.length;s++){var u=r.meta[s];a+="[["+u.field+o(n(u.operator))+i(u.value)+"]]"}for(s=0;s<r.colonSelectors.length;s++)a+=r.colonSelectors[e];for(s=0;s<r.ids.length;s++)a+="#"+r.ids[e];for(s=0;s<r.classes.length;s++)a+="."+r.classes[s];if(null!=r.source&&null!=r.target&&(a=t(r.source)+" -> "+t(r.target)),null!=r.connectedNodes){var d=r.connectedNodes;a=t(d[0])+" <-> "+t(d[1])}return null!=r.parent&&(a=t(r.parent)+" > "+a),null!=r.ancestor&&(a=t(r.ancestor)+" "+a),null!=r.child&&(a+=" > "+t(r.child)),null!=r.descendant&&(a+=" "+t(r.descendant)),a};for(e=0;e<this.length;e++){t+=a(this[e]),this.length>1&&e<this.length-1&&(t+=", ")}return this._private.toStringCache=t,t},[n(49),n(52)].forEach(function(e){return i.assign(s,e)}),e.exports=a},function(e,t,n){"use strict";var r=n(1),i=n(0),o=n(28),a=n(8),s=n(14),l=function(e,t,n){for(var i=null!=n?n:r.uuid();e.hasElementWithId(i);)i=r.uuid();return i},c=function(e,t,n){if(void 0!==e&&i.core(e)){var c=new o,u=!1;if(t){if(t.length>0&&i.plainObject(t[0])&&!i.element(t[0])){u=!0;for(var d=[],p=new a,f=0,h=t.length;f<h;f++){var g=t[f];null==g.data&&(g.data={});var m=g.data;if(null==m.id)m.id=l(e,g);else if(e.hasElementWithId(m.id)||p.has(m.id))continue;var v=new s(e,g,!1);d.push(v),p.add(m.id)}t=d}}else t=[];this.length=0;for(var b=0,y=t.length;b<y;b++){var x=t[b];if(null!=x){var w=x._private.data.id;(null==n||n.unique&&!c.has(w))&&(c.set(w,{index:this.length,ele:x}),this[this.length]=x,this.length++)}}this._private={cy:e,map:c},u&&this.restore()}else r.error("A collection must have a reference to the core")},u=s.prototype=c.prototype;u.instanceString=function(){return"collection"},u.spawn=function(e,t,n){return i.core(e)||(n=t,t=e,e=this.cy()),new c(e,t,n)},u.spawnSelf=function(){return this.spawn(this)},u.cy=function(){return this._private.cy},u.renderer=function(){return this._private.cy.renderer()},u.element=function(){return this[0]},u.collection=function(){return i.collection(this)?this:new c(this._private.cy,[this])},u.unique=function(){return new c(this._private.cy,this,{unique:!0})},u.hasElementWithId=function(e){return this._private.map.has(e)},u.getElementById=function(e){var t=this._private.cy,n=this._private.map.get(e);return n?n.ele:new c(t)},u.$id=u.getElementById,u.poolIndex=function(){var e=this._private.cy._private.elements,t=this._private.data.id;return e._private.map.get(t).index},u.json=function(e){var t=this.element(),n=this.cy();if(null==t&&e)return this;if(null!=t){var o=t._private;if(i.plainObject(e)){n.startBatch(),e.data&&t.data(e.data),e.position&&t.position(e.position);var a=function(n,r,i){var a=e[n];null!=a&&a!==o[n]&&(a?t[r]():t[i]())};return a("removed","remove","restore"),a("selected","select","unselect"),a("selectable","selectify","unselectify"),a("locked","lock","unlock"),a("grabbable","grabify","ungrabify"),null!=e.classes&&t.classes(e.classes),n.endBatch(),this}if(void 0===e){var s={data:r.copy(o.data),position:r.copy(o.position),group:o.group,removed:o.removed,selected:o.selected,selectable:o.selectable,locked:o.locked,grabbable:o.grabbable,classes:null};s.classes="";var l=0;return o.classes.forEach(function(e){return s.classes+=0==l++?e:" "+e}),s}}},u.jsons=function(){for(var e=[],t=0;t<this.length;t++){var n=this[t].json();e.push(n)}return e},u.clone=function(){for(var e=this.cy(),t=[],n=0;n<this.length;n++){var r=this[n].json(),i=new s(e,r,!1);t.push(i)}return new c(e,t)},u.copy=u.clone,u.restore=function(e){var t=this.cy(),n=t._private;void 0===e&&(e=!0);for(var a=[],s=[],u=void 0,d=0,p=this.length;d<p;d++){var f=this[d];f.removed()&&(f.isNode()?a.push(f):s.push(f))}u=a.concat(s);var h=void 0,g=function(){u.splice(h,1),h--};for(h=0;h<u.length;h++){var m=u[h],v=m._private,b=v.data;if(m.clearTraversalCache(),void 0===b.id)b.id=l(t,m);else if(i.number(b.id))b.id=""+b.id;else{if(i.emptyString(b.id)||!i.string(b.id)){r.error("Can not create element with invalid string ID `"+b.id+"`"),g();continue}if(t.hasElementWithId(b.id)){r.error("Can not create second element with ID `"+b.id+"`"),g();continue}}var y=b.id;if(m.isNode()){var x=v.position;null==x.x&&(x.x=0),null==x.y&&(x.y=0)}if(m.isEdge()){for(var w=m,k=["source","target"],_=k.length,$=!1,E=0;E<_;E++){var S=k[E],C=b[S];i.number(C)&&(C=b[S]=""+b[S]),null==C||""===C?(r.error("Can not create edge `"+y+"` with unspecified "+S),$=!0):t.hasElementWithId(C)||(r.error("Can not create edge `"+y+"` with nonexistant "+S+" `"+C+"`"),$=!0)}if($){g();continue}var T=t.getElementById(b.source),A=t.getElementById(b.target);T._private.edges.push(w),A._private.edges.push(w),w._private.source=T,w._private.target=A}v.map=new o,v.map.set(y,{ele:m,index:0}),v.removed=!1,t.addToPool(m)}for(var P=0;P<a.length;P++){var O=a[P],R=O._private.data;i.number(R.parent)&&(R.parent=""+R.parent);var j=R.parent;if(null!=j){var D=t.getElementById(j);if(D.empty())R.parent=void 0;else{for(var I=!1,N=D;!N.empty();){if(O.same(N)){I=!0,R.parent=void 0;break}N=N.parent()}I||(D[0]._private.children.push(O),O._private.parent=D[0],n.hasCompoundNodes=!0)}}}if(u.length>0){for(var M=new c(t,u),z=0;z<M.length;z++){var L=M[z];L.isNode()||(L.parallelEdges().clearTraversalCache(),L.source().clearTraversalCache(),L.target().clearTraversalCache())}(n.hasCompoundNodes?t.collection().merge(M).merge(M.connectedNodes()).merge(M.parent()):M).dirtyCompoundBoundsCache().updateStyle(e),e?M.emitAndNotify("add"):M.emit("add")}return this},u.removed=function(){var e=this[0];return e&&e._private.removed},u.inside=function(){var e=this[0];return e&&!e._private.removed},u.remove=function(e){var t=[],n=[],i={},o=this._private.cy;function a(e){var t=i[e.id()];e.removed()||t||(i[e.id()]=!0,e.isNode()?(n.push(e),function(e){for(var t=e._private.edges,n=0;n<t.length;n++)a(t[n])}(e),function(e){for(var t=e._private.children,n=0;n<t.length;n++)a(t[n])}(e)):n.unshift(e))}void 0===e&&(e=!0);for(var s=0,l=this.length;s<l;s++){a(this[s])}function u(e,t){var n=e._private.edges;r.removeFromArray(n,t),e.clearTraversalCache()}function d(e){e.parallelEdges().clearTraversalCache()}var p=[];function f(e,t){t=t[0];var n=(e=e[0])._private.children,i=e.id();r.removeFromArray(n,t),p.ids[i]||(p.ids[i]=!0,p.push(e))}p.ids={},this.dirtyCompoundBoundsCache(),o.removeFromPool(n);for(var h=0;h<n.length;h++){var g=n[h];if(g._private.removed=!0,t.push(g),g.isEdge()){var m=g.source()[0],v=g.target()[0];u(m,g),u(v,g),d(g)}else{var b=g.parent();0!==b.length&&f(b,g)}}var y=o._private.elements;o._private.hasCompoundNodes=!1;for(var x=0;x<y.length;x++){if(y[x].isParent()){o._private.hasCompoundNodes=!0;break}}var w=new c(this.cy(),t);w.size()>0&&(e&&this.cy().notify({type:"remove",eles:w}),w.emit("remove"));for(var k=0;k<p.length;k++){var _=p[k];_.removed()||_.updateStyle()}return new c(o,t)},u.move=function(e){var t=this._private.cy;if(void 0!==e.source||void 0!==e.target){var n=e.source,r=e.target,i=t.hasElementWithId(n),o=t.hasElementWithId(r);if(i||o){var a=this.jsons();this.remove();for(var s=0;s<a.length;s++){var l=a[s],c=this[s];"edges"===l.group&&(i&&(l.data.source=n),o&&(l.data.target=r),l.scratch=c._private.scratch)}return t.add(a)}}else if(void 0!==e.parent){var u=e.parent;if(null===u||t.hasElementWithId(u)){var d=this.jsons(),p=this.descendants(),f=p.union(p.union(this).connectedEdges()).jsons();this.remove();for(var h=0;h<d.length;h++){var g=d[h],m=this[h];"nodes"===g.group&&(g.data.parent=null===u?void 0:u,g.scratch=m._private.scratch)}return t.add(d.concat(f))}}return this},[n(29),n(42),n(47),n(48),n(53),n(54),n(55),n(56),n(61),n(62),n(63),n(7),n(64),n(65),n(66),n(67),n(68)].forEach(function(e){r.extend(u,e)}),e.exports=c},function(e,t,n){"use strict";var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();"function"==typeof Symbol&&Symbol.iterator;var i=function(){function e(t){if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._obj=Object.create(null),null!=t){var n=void 0;n=null!=t.instanceString&&t.instanceString()===this.instanceString()?t.toArray():t;for(var r=0;r<n.length;r++)this.add(n[r])}}return r(e,[{key:"instanceString",value:function(){return"set"}},{key:"add",value:function(e){this._obj[e]=1}},{key:"delete",value:function(e){this._obj[e]=0}},{key:"clear",value:function(){this._obj=Object.create(null)}},{key:"has",value:function(e){return 1===this._obj[e]}},{key:"toArray",value:function(){var e=this;return Object.keys(this._obj).filter(function(t){return e.has(t)})}},{key:"forEach",value:function(e,t){return this.toArray().forEach(e,t)}},{key:"size",get:function(){return this.toArray().length}}]),e}();e.exports=i},function(e,t,n){"use strict";e.exports=n(32)},function(e,t,n){"use strict";e.exports=function(){return{classes:[],colonSelectors:[],data:[],group:null,ids:[],meta:[],collection:null,filter:null,parent:null,ancestor:null,subject:null,child:null,descendant:null}}},function(e,t,n){"use strict";var r=n(1),i=n(0),o=n(16),a=/^([^.]+)(\.(?:[^.]+))?$/,s={qualifierCompare:function(e,t){return e===t},eventMatches:function(){return!0},eventFields:function(){return{}},callbackContext:function(e){return e},beforeEmit:function(){},afterEmit:function(){},bubble:function(){return!1},parent:function(){return null},context:void 0};function l(e){r.assign(this,s,e),this.listeners=[],this.emitting=0}var c=l.prototype,u=function(e,t,n,o,s,l,c){i.fn(o)&&(s=o,o=null),c&&(l=null==l?c:r.assign({},l,c));for(var u=n.split(/\s+/),d=0;d<u.length;d++){var p=u[d];if(!i.emptyString(p)){var f=p.match(a);if(f)if(!1===t(e,p,f[1],f[2]?f[2]:null,o,s,l))break}}},d=function(e,t){return new o(t.type,r.assign(t,e.eventFields(e.context)))};c.on=c.addListener=function(e,t,n,r,o){return u(this,function(e,t,n,r,o,a,s){i.fn(a)&&e.listeners.push({event:t,callback:a,type:n,namespace:r,qualifier:o,conf:s})},e,t,n,r,o),this},c.one=function(e,t,n,r){return this.on(e,t,n,r,{one:!0})},c.removeListener=c.off=function(e,t,n,i){var o=this;0!==this.emitting&&(this.listeners=r.copyArray(this.listeners));for(var a=this.listeners,s=function(r){var s=a[r];u(o,function(e,t,n,i,o,l){if(s.type===n&&(!i||s.namespace===i)&&(!o||e.qualifierCompare(s.qualifier,o))&&(!l||s.callback===l))return a.splice(r,1),!1},e,t,n,i)},l=a.length-1;l>=0;l--)s(l);return this},c.emit=c.trigger=function(e,t,n){var o=this.listeners,s=o.length;return this.emitting++,i.array(t)||(t=[t]),function(e,t,n){if(i.event(n))t(e,n);else if(i.plainObject(n))t(e,d(e,n));else for(var r=n.split(/\s+/),o=0;o<r.length;o++){var s=r[o];if(!i.emptyString(s)){var l=s.match(a);if(l){var c=l[1],u=l[2]?l[2]:null;t(e,d(e,{type:c,namespace:u,target:e.context}))}}}}(this,function(e,i){null!=n&&(o=[{event:i.event,type:i.type,namespace:i.namespace,callback:n}],s=o.length);for(var a=function(n){var a=o[n];if(a.type===i.type&&(!a.namespace||a.namespace===i.namespace||".*"===a.namespace)&&e.eventMatches(e.context,a,i)){var s=[i];null!=t&&r.push(s,t),e.beforeEmit(e.context,a,i),a.conf&&a.conf.one&&(e.listeners=e.listeners.filter(function(e){return e!==a}));var l=e.callbackContext(e.context,a,i),c=a.callback.apply(l,s);e.afterEmit(e.context,a,i),!1===c&&(i.stopPropagation(),i.preventDefault())}},l=0;l<s;l++)a(l);e.bubble(e.context)&&!i.isPropagationStopped()&&e.parent(e.context).emit(i,t)},e),this.emitting--,this},e.exports=l},function(e,t,n){"use strict";var r=n(3),i=n(1),o=n(7),a=n(0),s=n(5),l=n(4),c=function(e){var t=this,n=(e=i.extend({},e)).container;n&&!a.htmlElement(n)&&a.htmlElement(n[0])&&(n=n[0]);var l=n?n._cyreg:null;(l=l||{})&&l.cy&&(l.cy.destroy(),l={});var c=l.readies=l.readies||[];n&&(n._cyreg=l),l.cy=t;var u=void 0!==r&&void 0!==n&&!e.headless,d=e;d.layout=i.extend({name:u?"grid":"null"},d.layout),d.renderer=i.extend({name:u?"canvas":"null"},d.renderer);var p=function(e,t,n){return void 0!==t?t:void 0!==n?n:e},f=this._private={container:n,ready:!1,options:d,elements:new o(this),listeners:[],aniEles:new o(this),scratch:{},layout:null,renderer:null,destroyed:!1,notificationsEnabled:!0,minZoom:1e-50,maxZoom:1e50,zoomingEnabled:p(!0,d.zoomingEnabled),userZoomingEnabled:p(!0,d.userZoomingEnabled),panningEnabled:p(!0,d.panningEnabled),userPanningEnabled:p(!0,d.userPanningEnabled),boxSelectionEnabled:p(!0,d.boxSelectionEnabled),autolock:p(!1,d.autolock,d.autolockNodes),autoungrabify:p(!1,d.autoungrabify,d.autoungrabifyNodes),autounselectify:p(!1,d.autounselectify),styleEnabled:void 0===d.styleEnabled?u:d.styleEnabled,zoom:a.number(d.zoom)?d.zoom:1,pan:{x:a.plainObject(d.pan)&&a.number(d.pan.x)?d.pan.x:0,y:a.plainObject(d.pan)&&a.number(d.pan.y)?d.pan.y:0},animation:{current:[],queue:[]},hasCompoundNodes:!1};this.createEmitter();var h=d.selectionType;f.selectionType=void 0===h||"additive"!==h&&"single"!==h?"single":h,a.number(d.minZoom)&&a.number(d.maxZoom)&&d.minZoom<d.maxZoom?(f.minZoom=d.minZoom,f.maxZoom=d.maxZoom):a.number(d.minZoom)&&void 0===d.maxZoom?f.minZoom=d.minZoom:a.number(d.maxZoom)&&void 0===d.minZoom&&(f.maxZoom=d.maxZoom);f.styleEnabled&&t.setStyle([]),t.initRenderer(i.extend({hideEdgesOnViewport:d.hideEdgesOnViewport,textureOnViewport:d.textureOnViewport,wheelSensitivity:a.number(d.wheelSensitivity)&&d.wheelSensitivity>0?d.wheelSensitivity:1,motionBlur:void 0!==d.motionBlur&&d.motionBlur,motionBlurOpacity:void 0===d.motionBlurOpacity?.05:d.motionBlurOpacity,pixelRatio:a.number(d.pixelRatio)&&d.pixelRatio>0?d.pixelRatio:void 0,desktopTapThreshold:void 0===d.desktopTapThreshold?4:d.desktopTapThreshold,touchTapThreshold:void 0===d.touchTapThreshold?8:d.touchTapThreshold},d.renderer));!function(e,t){if(e.some(a.promise))return s.all(e).then(t);t(e)}([d.style,d.elements],function(e){var n=e[0],r=e[1];f.styleEnabled&&t.style().append(n),function(e,n,r){t.notifications(!1);var o=t.mutableElements();o.length>0&&o.remove(),null!=e&&(a.plainObject(e)||a.array(e))&&t.add(e),t.one("layoutready",function(e){t.notifications(!0),t.emit(e),t.notify({type:"load",eles:t.mutableElements()}),t.one("load",n),t.emit("load")}).one("layoutstop",function(){t.one("done",r),t.emit("done")});var s=i.extend({},t._private.options.layout);s.eles=t.elements(),t.layout(s).run()}(r,function(){t.startAnimationLoop(),f.ready=!0,a.fn(d.ready)&&t.on("ready",d.ready);for(var e=0;e<c.length;e++){var n=c[e];t.on("ready",n)}l&&(l.readies=[]),t.emit("ready")},d.done)})},u=c.prototype;i.extend(u,{instanceString:function(){return"core"},isReady:function(){return this._private.ready},isDestroyed:function(){return this._private.destroyed},ready:function(e){return this.isReady()?this.emitter().emit("ready",[],e):this.on("ready",e),this},destroy:function(){var e=this;if(!e.isDestroyed())return e.stopAnimationLoop(),e.destroyRenderer(),this.emit("destroy"),e._private.destroyed=!0,e},hasElementWithId:function(e){return this._private.elements.hasElementWithId(e)},getElementById:function(e){return this._private.elements.getElementById(e)},selectionType:function(){return this._private.selectionType},hasCompoundNodes:function(){return this._private.hasCompoundNodes},headless:function(){return"null"===this._private.options.renderer.name},styleEnabled:function(){return this._private.styleEnabled},addToPool:function(e){return this._private.elements.merge(e),this},removeFromPool:function(e){return this._private.elements.unmerge(e),this},container:function(){return this._private.container},options:function(){return i.copy(this._private.options)},json:function(e){var t=this,n=t._private,r=t.mutableElements();if(a.plainObject(e)){if(t.startBatch(),e.elements){var o={},s=function(e,n){for(var r=0;r<e.length;r++){var a=e[r],s=a.data.id,l=t.getElementById(s);o[s]=!0,0!==l.length?l.json(a):n?t.add(i.extend({group:n},a)):t.add(a)}};if(a.array(e.elements))s(e.elements);else for(var l=["nodes","edges"],c=0;c<l.length;c++){var u=l[c],d=e.elements[u];a.array(d)&&s(d,u)}r.stdFilter(function(e){return!o[e.id()]}).remove()}e.style&&t.style(e.style),null!=e.zoom&&e.zoom!==n.zoom&&t.zoom(e.zoom),e.pan&&(e.pan.x===n.pan.x&&e.pan.y===n.pan.y||t.pan(e.pan));for(var p=["minZoom","maxZoom","zoomingEnabled","userZoomingEnabled","panningEnabled","userPanningEnabled","boxSelectionEnabled","autolock","autoungrabify","autounselectify"],f=0;f<p.length;f++){var h=p[f];null!=e[h]&&t[h](e[h])}return t.endBatch(),this}if(void 0===e){var g={elements:{}};return r.forEach(function(e){var t=e.group();g.elements[t]||(g.elements[t]=[]),g.elements[t].push(e.json())}),this._private.styleEnabled&&(g.style=t.style().json()),g.zoomingEnabled=t._private.zoomingEnabled,g.userZoomingEnabled=t._private.userZoomingEnabled,g.zoom=t._private.zoom,g.minZoom=t._private.minZoom,g.maxZoom=t._private.maxZoom,g.panningEnabled=t._private.panningEnabled,g.userPanningEnabled=t._private.userPanningEnabled,g.pan=i.copy(t._private.pan),g.boxSelectionEnabled=t._private.boxSelectionEnabled,g.renderer=i.copy(t._private.options.renderer),g.hideEdgesOnViewport=t._private.options.hideEdgesOnViewport,g.textureOnViewport=t._private.options.textureOnViewport,g.wheelSensitivity=t._private.options.wheelSensitivity,g.motionBlur=t._private.options.motionBlur,g}},scratch:l.data({field:"scratch",bindingEvent:"scratch",allowBinding:!0,allowSetting:!0,settingEvent:"scratch",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0}),removeScratch:l.removeData({field:"scratch",event:"scratch",triggerFnName:"trigger",triggerEvent:!0})}),u.$id=u.getElementById,[n(69),n(70),n(78),n(79),n(80),n(81),n(82),n(83),n(84),n(93)].forEach(function(e){i.extend(u,e)}),e.exports=c},function(e,t,n){"use strict";e.exports=function(e,t){t||(t=function(){if(1===arguments.length)return arguments[0];if(0===arguments.length)return"undefined";for(var e=[],t=0;t<arguments.length;t++)e.push(arguments[t]);return e.join("$")});var n=function n(){var r=arguments,i=void 0,o=t.apply(this,r),a=n.cache;return(i=a[o])||(i=a[o]=e.apply(this,r)),i};return n.cache={},n}},function(e,t,n){"use strict";var r=n(1),i=n(0),o=n(8);e.exports=function(e,t,n){if(n=!(void 0!==n&&!n),void 0!==e&&void 0!==t&&i.core(e)){var a=t.group;if(null==a&&(a=t.data&&null!=t.data.source&&null!=t.data.target?"edges":"nodes"),"nodes"===a||"edges"===a){this.length=1,this[0]=this;var s=this._private={cy:e,single:!0,data:t.data||{},position:t.position||{},autoWidth:void 0,autoHeight:void 0,autoPadding:void 0,compoundBoundsClean:!1,listeners:[],group:a,style:{},rstyle:{},styleCxts:[],removed:!0,selected:!!t.selected,selectable:void 0===t.selectable||!!t.selectable,locked:!!t.locked,grabbed:!1,grabbable:void 0===t.grabbable||!!t.grabbable,active:!1,classes:new o,animation:{current:[],queue:[]},rscratch:{},scratch:t.scratch||{},edges:[],children:[],parent:null,traversalCache:{},backgrounding:!1};if(t.renderedPosition){var l=t.renderedPosition,c=e.pan(),u=e.zoom();s.position={x:(l.x-c.x)/u,y:(l.y-c.y)/u}}if(i.string(t.classes))for(var d=t.classes.split(/\s+/),p=0,f=d.length;p<f;p++){var h=d[p];h&&""!==h&&s.classes.add(h)}(t.style||t.css)&&e.style().applyBypass(this,t.style||t.css),this.createEmitter(),(void 0===n||n)&&this.restore()}else r.error("An element must be of type `nodes` or `edges`; you specified `"+a+"`")}else r.error("An element must have a core reference and parameters set")}},function(e,t,n){"use strict";var r=n(1),i=[{selector:":selected",matches:function(e){return e.selected()}},{selector:":unselected",matches:function(e){return!e.selected()}},{selector:":selectable",matches:function(e){return e.selectable()}},{selector:":unselectable",matches:function(e){return!e.selectable()}},{selector:":locked",matches:function(e){return e.locked()}},{selector:":unlocked",matches:function(e){return!e.locked()}},{selector:":visible",matches:function(e){return e.visible()}},{selector:":hidden",matches:function(e){return!e.visible()}},{selector:":transparent",matches:function(e){return e.transparent()}},{selector:":grabbed",matches:function(e){return e.grabbed()}},{selector:":free",matches:function(e){return!e.grabbed()}},{selector:":removed",matches:function(e){return e.removed()}},{selector:":inside",matches:function(e){return!e.removed()}},{selector:":grabbable",matches:function(e){return e.grabbable()}},{selector:":ungrabbable",matches:function(e){return!e.grabbable()}},{selector:":animated",matches:function(e){return e.animated()}},{selector:":unanimated",matches:function(e){return!e.animated()}},{selector:":parent",matches:function(e){return e.isParent()}},{selector:":childless",matches:function(e){return e.isChildless()}},{selector:":child",matches:function(e){return e.isChild()}},{selector:":orphan",matches:function(e){return e.isOrphan()}},{selector:":nonorphan",matches:function(e){return e.isChild()}},{selector:":loop",matches:function(e){return e.isLoop()}},{selector:":simple",matches:function(e){return e.isSimple()}},{selector:":active",matches:function(e){return e.active()}},{selector:":inactive",matches:function(e){return!e.active()}},{selector:":backgrounding",matches:function(e){return e.backgrounding()}},{selector:":nonbackgrounding",matches:function(e){return!e.backgrounding()}}].sort(function(e,t){return r.sort.descending(e.selector,t.selector)}),o="("+i.map(function(e){return e.selector}).join("|")+")";e.exports={stateSelectors:i,stateSelectorMatches:function e(t,n){return(e.lookup=e.lookup||function(){for(var e={},t=void 0,n=0;n<i.length;n++)e[(t=i[n]).selector]=t.matches;return e}())[t](n)},stateSelectorRegex:o}},function(e,t,n){"use strict";
+*/o.prototype={fulfill:function(e){return a(this,1,"fulfillValue",e)},reject:function(e){return a(this,2,"rejectReason",e)},then:function(e,t){var n=new o;return this.onFulfilled.push(c(e,n,"fulfill")),this.onRejected.push(c(t,n,"reject")),s(this),n.proxy}};var a=function(e,t,n,r){return 0===e.state&&(e.state=t,e[n]=r,s(e)),e},s=function(e){1===e.state?l(e,"onFulfilled",e.fulfillValue):2===e.state&&l(e,"onRejected",e.rejectReason)},l=function(e,n,r){if(0!==e[n].length){var i=e[n];e[n]=[];var o=function(){for(var e=0;e<i.length;e++)i[e](r)};"function"==typeof t?t(o):setTimeout(o,0)}},c=function(e,t,n){return function(r){if("function"!=typeof e)t[n].call(t,r);else{var i;try{i=e(r)}catch(e){return void t.reject(e)}u(t,i)}}},u=function e(t,n){if(t!==n&&t.proxy!==n){var r;if("object"===(void 0===n?"undefined":i(n))&&null!==n||"function"==typeof n)try{r=n.then}catch(e){return void t.reject(e)}if("function"!=typeof r)t.fulfill(n);else{var o=!1;try{r.call(n,function(r){o||(o=!0,r===n?t.reject(new TypeError("circular thenable chain")):e(t,r))},function(e){o||(o=!0,t.reject(e))})}catch(e){o||t.reject(e)}}}else t.reject(new TypeError("cannot resolve promise with itself"))};o.all=function(e){return new o(function(t,n){for(var r=new Array(e.length),i=0,o=function(n,o){r[n]=o,++i===e.length&&t(r)},a=0;a<e.length;a++)!function(t){var r=e[t];null!=r&&null!=r.then?r.then(function(e){o(t,e)},function(e){n(e)}):o(t,r)}(a)})},o.resolve=function(e){return new o(function(t,n){t(e)})},o.reject=function(e){return new o(function(t,n){n(e)})},e.exports="undefined"!=typeof Promise?Promise:o},function(e,t,n){"use strict";var r=n(0),i=n(1),o=n(10),a=function(e){if(this._private={selectorText:e,invalid:!0},null==e||r.string(e)&&e.match(/^\s*$/))this.length=0;else if("*"===e||"edge"===e||"node"===e)this[0]=o(),this[0].group="*"===e?e:e+"s",this[0].groupOnly=!0,this[0].length=1,this._private.invalid=!1,this.length=1;else if(r.elementOrCollection(e)){var t=e.collection();this[0]=o(),this[0].collection=t,this[0].length=1,this.length=1}else if(r.fn(e))this[0]=o(),this[0].filter=e,this[0].length=1,this.length=1;else{if(!r.string(e))return void i.error("A selector must be created from a string; found ",e);if(!this.parse(e))return}this._private.invalid=!1},s=a.prototype;s.valid=function(){return!this._private.invalid},s.invalid=function(){return this._private.invalid},s.text=function(){return this._private.selectorText},s.size=function(){return this.length},s.eq=function(e){return this[e]},s.sameText=function(e){return this.text()===e.text()},s.toString=s.selector=function(){if(null!=this._private.toStringCache)return this._private.toStringCache;var e=void 0,t="",n=function(e){return null==e?"":e},i=function(e){return r.string(e)?'"'+e+'"':n(e)},o=function(e){return" "+e+" "},a=function t(r){var a="",s=void 0;r.subject===r&&(a+="$");var l=n(r.group);for(a+=l.substring(0,l.length-1),s=0;s<r.data.length;s++){var c=r.data[s];c.value?a+="["+c.field+o(n(c.operator))+i(c.value)+"]":a+="["+n(c.operator)+c.field+"]"}for(s=0;s<r.meta.length;s++){var u=r.meta[s];a+="[["+u.field+o(n(u.operator))+i(u.value)+"]]"}for(s=0;s<r.colonSelectors.length;s++)a+=r.colonSelectors[e];for(s=0;s<r.ids.length;s++)a+="#"+r.ids[e];for(s=0;s<r.classes.length;s++)a+="."+r.classes[s];if(null!=r.source&&null!=r.target&&(a=t(r.source)+" -> "+t(r.target)),null!=r.connectedNodes){var d=r.connectedNodes;a=t(d[0])+" <-> "+t(d[1])}return null!=r.parent&&(a=t(r.parent)+" > "+a),null!=r.ancestor&&(a=t(r.ancestor)+" "+a),null!=r.child&&(a+=" > "+t(r.child)),null!=r.descendant&&(a+=" "+t(r.descendant)),a};for(e=0;e<this.length;e++){t+=a(this[e]),this.length>1&&e<this.length-1&&(t+=", ")}return this._private.toStringCache=t,t},[n(49),n(52)].forEach(function(e){return i.assign(s,e)}),e.exports=a},function(e,t,n){"use strict";var r=n(1),i=n(0),o=n(28),a=n(8),s=n(14),l=function(e,t,n){for(var i=null!=n?n:r.uuid();e.hasElementWithId(i);)i=r.uuid();return i},c=function(e,t,n){if(void 0!==e&&i.core(e)){var c=new o,u=!1;if(t){if(t.length>0&&i.plainObject(t[0])&&!i.element(t[0])){u=!0;for(var d=[],p=new a,f=0,h=t.length;f<h;f++){var g=t[f];null==g.data&&(g.data={});var m=g.data;if(null==m.id)m.id=l(e,g);else if(e.hasElementWithId(m.id)||p.has(m.id))continue;var v=new s(e,g,!1);d.push(v),p.add(m.id)}t=d}}else t=[];this.length=0;for(var b=0,y=t.length;b<y;b++){var x=t[b];if(null!=x){var w=x._private.data.id;(null==n||n.unique&&!c.has(w))&&(c.set(w,{index:this.length,ele:x}),this[this.length]=x,this.length++)}}this._private={cy:e,map:c},u&&this.restore()}else r.error("A collection must have a reference to the core")},u=s.prototype=c.prototype;u.instanceString=function(){return"collection"},u.spawn=function(e,t,n){return i.core(e)||(n=t,t=e,e=this.cy()),new c(e,t,n)},u.spawnSelf=function(){return this.spawn(this)},u.cy=function(){return this._private.cy},u.renderer=function(){return this._private.cy.renderer()},u.element=function(){return this[0]},u.collection=function(){return i.collection(this)?this:new c(this._private.cy,[this])},u.unique=function(){return new c(this._private.cy,this,{unique:!0})},u.hasElementWithId=function(e){return this._private.map.has(e)},u.getElementById=function(e){var t=this._private.cy,n=this._private.map.get(e);return n?n.ele:new c(t)},u.$id=u.getElementById,u.poolIndex=function(){var e=this._private.cy._private.elements,t=this._private.data.id;return e._private.map.get(t).index},u.json=function(e){var t=this.element(),n=this.cy();if(null==t&&e)return this;if(null!=t){var o=t._private;if(i.plainObject(e)){n.startBatch(),e.data&&t.data(e.data),e.position&&t.position(e.position);var a=function(n,r,i){var a=e[n];null!=a&&a!==o[n]&&(a?t[r]():t[i]())};return a("removed","remove","restore"),a("selected","select","unselect"),a("selectable","selectify","unselectify"),a("locked","lock","unlock"),a("grabbable","grabify","ungrabify"),null!=e.classes&&t.classes(e.classes),n.endBatch(),this}if(void 0===e){var s={data:r.copy(o.data),position:r.copy(o.position),group:o.group,removed:o.removed,selected:o.selected,selectable:o.selectable,locked:o.locked,grabbable:o.grabbable,classes:null};s.classes="";var l=0;return o.classes.forEach(function(e){return s.classes+=0==l++?e:" "+e}),s}}},u.jsons=function(){for(var e=[],t=0;t<this.length;t++){var n=this[t].json();e.push(n)}return e},u.clone=function(){for(var e=this.cy(),t=[],n=0;n<this.length;n++){var r=this[n].json(),i=new s(e,r,!1);t.push(i)}return new c(e,t)},u.copy=u.clone,u.restore=function(e){var t=this.cy(),n=t._private;void 0===e&&(e=!0);for(var a=[],s=[],u=void 0,d=0,p=this.length;d<p;d++){var f=this[d];f.removed()&&(f.isNode()?a.push(f):s.push(f))}u=a.concat(s);var h=void 0,g=function(){u.splice(h,1),h--};for(h=0;h<u.length;h++){var m=u[h],v=m._private,b=v.data;if(m.clearTraversalCache(),void 0===b.id)b.id=l(t,m);else if(i.number(b.id))b.id=""+b.id;else{if(i.emptyString(b.id)||!i.string(b.id)){r.error("Can not create element with invalid string ID `"+b.id+"`"),g();continue}if(t.hasElementWithId(b.id)){r.error("Can not create second element with ID `"+b.id+"`"),g();continue}}var y=b.id;if(m.isNode()){var x=v.position;null==x.x&&(x.x=0),null==x.y&&(x.y=0)}if(m.isEdge()){for(var w=m,k=["source","target"],_=k.length,$=!1,E=0;E<_;E++){var S=k[E],C=b[S];i.number(C)&&(C=b[S]=""+b[S]),null==C||""===C?(r.error("Can not create edge `"+y+"` with unspecified "+S),$=!0):t.hasElementWithId(C)||(r.error("Can not create edge `"+y+"` with nonexistant "+S+" `"+C+"`"),$=!0)}if($){g();continue}var T=t.getElementById(b.source),A=t.getElementById(b.target);T._private.edges.push(w),A._private.edges.push(w),w._private.source=T,w._private.target=A}v.map=new o,v.map.set(y,{ele:m,index:0}),v.removed=!1,t.addToPool(m)}for(var O=0;O<a.length;O++){var P=a[O],R=P._private.data;i.number(R.parent)&&(R.parent=""+R.parent);var j=R.parent;if(null!=j){var D=t.getElementById(j);if(D.empty())R.parent=void 0;else{for(var N=!1,I=D;!I.empty();){if(P.same(I)){N=!0,R.parent=void 0;break}I=I.parent()}N||(D[0]._private.children.push(P),P._private.parent=D[0],n.hasCompoundNodes=!0)}}}if(u.length>0){for(var M=new c(t,u),z=0;z<M.length;z++){var L=M[z];L.isNode()||(L.parallelEdges().clearTraversalCache(),L.source().clearTraversalCache(),L.target().clearTraversalCache())}(n.hasCompoundNodes?t.collection().merge(M).merge(M.connectedNodes()).merge(M.parent()):M).dirtyCompoundBoundsCache().updateStyle(e),e?M.emitAndNotify("add"):M.emit("add")}return this},u.removed=function(){var e=this[0];return e&&e._private.removed},u.inside=function(){var e=this[0];return e&&!e._private.removed},u.remove=function(e){var t=[],n=[],i={},o=this._private.cy;function a(e){var t=i[e.id()];e.removed()||t||(i[e.id()]=!0,e.isNode()?(n.push(e),function(e){for(var t=e._private.edges,n=0;n<t.length;n++)a(t[n])}(e),function(e){for(var t=e._private.children,n=0;n<t.length;n++)a(t[n])}(e)):n.unshift(e))}void 0===e&&(e=!0);for(var s=0,l=this.length;s<l;s++){a(this[s])}function u(e,t){var n=e._private.edges;r.removeFromArray(n,t),e.clearTraversalCache()}function d(e){e.parallelEdges().clearTraversalCache()}var p=[];function f(e,t){t=t[0];var n=(e=e[0])._private.children,i=e.id();r.removeFromArray(n,t),p.ids[i]||(p.ids[i]=!0,p.push(e))}p.ids={},this.dirtyCompoundBoundsCache(),o.removeFromPool(n);for(var h=0;h<n.length;h++){var g=n[h];if(g._private.removed=!0,t.push(g),g.isEdge()){var m=g.source()[0],v=g.target()[0];u(m,g),u(v,g),d(g)}else{var b=g.parent();0!==b.length&&f(b,g)}}var y=o._private.elements;o._private.hasCompoundNodes=!1;for(var x=0;x<y.length;x++){if(y[x].isParent()){o._private.hasCompoundNodes=!0;break}}var w=new c(this.cy(),t);w.size()>0&&(e&&this.cy().notify({type:"remove",eles:w}),w.emit("remove"));for(var k=0;k<p.length;k++){var _=p[k];_.removed()||_.updateStyle()}return new c(o,t)},u.move=function(e){var t=this._private.cy;if(void 0!==e.source||void 0!==e.target){var n=e.source,r=e.target,i=t.hasElementWithId(n),o=t.hasElementWithId(r);if(i||o){var a=this.jsons();this.remove();for(var s=0;s<a.length;s++){var l=a[s],c=this[s];"edges"===l.group&&(i&&(l.data.source=n),o&&(l.data.target=r),l.scratch=c._private.scratch)}return t.add(a)}}else if(void 0!==e.parent){var u=e.parent;if(null===u||t.hasElementWithId(u)){var d=this.jsons(),p=this.descendants(),f=p.union(p.union(this).connectedEdges()).jsons();this.remove();for(var h=0;h<d.length;h++){var g=d[h],m=this[h];"nodes"===g.group&&(g.data.parent=null===u?void 0:u,g.scratch=m._private.scratch)}return t.add(d.concat(f))}}return this},[n(29),n(42),n(47),n(48),n(53),n(54),n(55),n(56),n(61),n(62),n(63),n(7),n(64),n(65),n(66),n(67),n(68)].forEach(function(e){r.extend(u,e)}),e.exports=c},function(e,t,n){"use strict";var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();"function"==typeof Symbol&&Symbol.iterator;var i=function(){function e(t){if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._obj=Object.create(null),null!=t){var n=void 0;n=null!=t.instanceString&&t.instanceString()===this.instanceString()?t.toArray():t;for(var r=0;r<n.length;r++)this.add(n[r])}}return r(e,[{key:"instanceString",value:function(){return"set"}},{key:"add",value:function(e){this._obj[e]=1}},{key:"delete",value:function(e){this._obj[e]=0}},{key:"clear",value:function(){this._obj=Object.create(null)}},{key:"has",value:function(e){return 1===this._obj[e]}},{key:"toArray",value:function(){var e=this;return Object.keys(this._obj).filter(function(t){return e.has(t)})}},{key:"forEach",value:function(e,t){return this.toArray().forEach(e,t)}},{key:"size",get:function(){return this.toArray().length}}]),e}();e.exports=i},function(e,t,n){"use strict";e.exports=n(32)},function(e,t,n){"use strict";e.exports=function(){return{classes:[],colonSelectors:[],data:[],group:null,ids:[],meta:[],collection:null,filter:null,parent:null,ancestor:null,subject:null,child:null,descendant:null}}},function(e,t,n){"use strict";var r=n(1),i=n(0),o=n(16),a=/^([^.]+)(\.(?:[^.]+))?$/,s={qualifierCompare:function(e,t){return e===t},eventMatches:function(){return!0},eventFields:function(){return{}},callbackContext:function(e){return e},beforeEmit:function(){},afterEmit:function(){},bubble:function(){return!1},parent:function(){return null},context:void 0};function l(e){r.assign(this,s,e),this.listeners=[],this.emitting=0}var c=l.prototype,u=function(e,t,n,o,s,l,c){i.fn(o)&&(s=o,o=null),c&&(l=null==l?c:r.assign({},l,c));for(var u=n.split(/\s+/),d=0;d<u.length;d++){var p=u[d];if(!i.emptyString(p)){var f=p.match(a);if(f)if(!1===t(e,p,f[1],f[2]?f[2]:null,o,s,l))break}}},d=function(e,t){return new o(t.type,r.assign(t,e.eventFields(e.context)))};c.on=c.addListener=function(e,t,n,r,o){return u(this,function(e,t,n,r,o,a,s){i.fn(a)&&e.listeners.push({event:t,callback:a,type:n,namespace:r,qualifier:o,conf:s})},e,t,n,r,o),this},c.one=function(e,t,n,r){return this.on(e,t,n,r,{one:!0})},c.removeListener=c.off=function(e,t,n,i){var o=this;0!==this.emitting&&(this.listeners=r.copyArray(this.listeners));for(var a=this.listeners,s=function(r){var s=a[r];u(o,function(e,t,n,i,o,l){if(s.type===n&&(!i||s.namespace===i)&&(!o||e.qualifierCompare(s.qualifier,o))&&(!l||s.callback===l))return a.splice(r,1),!1},e,t,n,i)},l=a.length-1;l>=0;l--)s(l);return this},c.emit=c.trigger=function(e,t,n){var o=this.listeners,s=o.length;return this.emitting++,i.array(t)||(t=[t]),function(e,t,n){if(i.event(n))t(e,n);else if(i.plainObject(n))t(e,d(e,n));else for(var r=n.split(/\s+/),o=0;o<r.length;o++){var s=r[o];if(!i.emptyString(s)){var l=s.match(a);if(l){var c=l[1],u=l[2]?l[2]:null;t(e,d(e,{type:c,namespace:u,target:e.context}))}}}}(this,function(e,i){null!=n&&(o=[{event:i.event,type:i.type,namespace:i.namespace,callback:n}],s=o.length);for(var a=function(n){var a=o[n];if(a.type===i.type&&(!a.namespace||a.namespace===i.namespace||".*"===a.namespace)&&e.eventMatches(e.context,a,i)){var s=[i];null!=t&&r.push(s,t),e.beforeEmit(e.context,a,i),a.conf&&a.conf.one&&(e.listeners=e.listeners.filter(function(e){return e!==a}));var l=e.callbackContext(e.context,a,i),c=a.callback.apply(l,s);e.afterEmit(e.context,a,i),!1===c&&(i.stopPropagation(),i.preventDefault())}},l=0;l<s;l++)a(l);e.bubble(e.context)&&!i.isPropagationStopped()&&e.parent(e.context).emit(i,t)},e),this.emitting--,this},e.exports=l},function(e,t,n){"use strict";var r=n(3),i=n(1),o=n(7),a=n(0),s=n(5),l=n(4),c=function(e){var t=this,n=(e=i.extend({},e)).container;n&&!a.htmlElement(n)&&a.htmlElement(n[0])&&(n=n[0]);var l=n?n._cyreg:null;(l=l||{})&&l.cy&&(l.cy.destroy(),l={});var c=l.readies=l.readies||[];n&&(n._cyreg=l),l.cy=t;var u=void 0!==r&&void 0!==n&&!e.headless,d=e;d.layout=i.extend({name:u?"grid":"null"},d.layout),d.renderer=i.extend({name:u?"canvas":"null"},d.renderer);var p=function(e,t,n){return void 0!==t?t:void 0!==n?n:e},f=this._private={container:n,ready:!1,options:d,elements:new o(this),listeners:[],aniEles:new o(this),scratch:{},layout:null,renderer:null,destroyed:!1,notificationsEnabled:!0,minZoom:1e-50,maxZoom:1e50,zoomingEnabled:p(!0,d.zoomingEnabled),userZoomingEnabled:p(!0,d.userZoomingEnabled),panningEnabled:p(!0,d.panningEnabled),userPanningEnabled:p(!0,d.userPanningEnabled),boxSelectionEnabled:p(!0,d.boxSelectionEnabled),autolock:p(!1,d.autolock,d.autolockNodes),autoungrabify:p(!1,d.autoungrabify,d.autoungrabifyNodes),autounselectify:p(!1,d.autounselectify),styleEnabled:void 0===d.styleEnabled?u:d.styleEnabled,zoom:a.number(d.zoom)?d.zoom:1,pan:{x:a.plainObject(d.pan)&&a.number(d.pan.x)?d.pan.x:0,y:a.plainObject(d.pan)&&a.number(d.pan.y)?d.pan.y:0},animation:{current:[],queue:[]},hasCompoundNodes:!1};this.createEmitter();var h=d.selectionType;f.selectionType=void 0===h||"additive"!==h&&"single"!==h?"single":h,a.number(d.minZoom)&&a.number(d.maxZoom)&&d.minZoom<d.maxZoom?(f.minZoom=d.minZoom,f.maxZoom=d.maxZoom):a.number(d.minZoom)&&void 0===d.maxZoom?f.minZoom=d.minZoom:a.number(d.maxZoom)&&void 0===d.minZoom&&(f.maxZoom=d.maxZoom);f.styleEnabled&&t.setStyle([]),t.initRenderer(i.extend({hideEdgesOnViewport:d.hideEdgesOnViewport,textureOnViewport:d.textureOnViewport,wheelSensitivity:a.number(d.wheelSensitivity)&&d.wheelSensitivity>0?d.wheelSensitivity:1,motionBlur:void 0!==d.motionBlur&&d.motionBlur,motionBlurOpacity:void 0===d.motionBlurOpacity?.05:d.motionBlurOpacity,pixelRatio:a.number(d.pixelRatio)&&d.pixelRatio>0?d.pixelRatio:void 0,desktopTapThreshold:void 0===d.desktopTapThreshold?4:d.desktopTapThreshold,touchTapThreshold:void 0===d.touchTapThreshold?8:d.touchTapThreshold},d.renderer));!function(e,t){if(e.some(a.promise))return s.all(e).then(t);t(e)}([d.style,d.elements],function(e){var n=e[0],r=e[1];f.styleEnabled&&t.style().append(n),function(e,n,r){t.notifications(!1);var o=t.mutableElements();o.length>0&&o.remove(),null!=e&&(a.plainObject(e)||a.array(e))&&t.add(e),t.one("layoutready",function(e){t.notifications(!0),t.emit(e),t.notify({type:"load",eles:t.mutableElements()}),t.one("load",n),t.emit("load")}).one("layoutstop",function(){t.one("done",r),t.emit("done")});var s=i.extend({},t._private.options.layout);s.eles=t.elements(),t.layout(s).run()}(r,function(){t.startAnimationLoop(),f.ready=!0,a.fn(d.ready)&&t.on("ready",d.ready);for(var e=0;e<c.length;e++){var n=c[e];t.on("ready",n)}l&&(l.readies=[]),t.emit("ready")},d.done)})},u=c.prototype;i.extend(u,{instanceString:function(){return"core"},isReady:function(){return this._private.ready},isDestroyed:function(){return this._private.destroyed},ready:function(e){return this.isReady()?this.emitter().emit("ready",[],e):this.on("ready",e),this},destroy:function(){var e=this;if(!e.isDestroyed())return e.stopAnimationLoop(),e.destroyRenderer(),this.emit("destroy"),e._private.destroyed=!0,e},hasElementWithId:function(e){return this._private.elements.hasElementWithId(e)},getElementById:function(e){return this._private.elements.getElementById(e)},selectionType:function(){return this._private.selectionType},hasCompoundNodes:function(){return this._private.hasCompoundNodes},headless:function(){return"null"===this._private.options.renderer.name},styleEnabled:function(){return this._private.styleEnabled},addToPool:function(e){return this._private.elements.merge(e),this},removeFromPool:function(e){return this._private.elements.unmerge(e),this},container:function(){return this._private.container},options:function(){return i.copy(this._private.options)},json:function(e){var t=this,n=t._private,r=t.mutableElements();if(a.plainObject(e)){if(t.startBatch(),e.elements){var o={},s=function(e,n){for(var r=0;r<e.length;r++){var a=e[r],s=a.data.id,l=t.getElementById(s);o[s]=!0,0!==l.length?l.json(a):n?t.add(i.extend({group:n},a)):t.add(a)}};if(a.array(e.elements))s(e.elements);else for(var l=["nodes","edges"],c=0;c<l.length;c++){var u=l[c],d=e.elements[u];a.array(d)&&s(d,u)}r.stdFilter(function(e){return!o[e.id()]}).remove()}e.style&&t.style(e.style),null!=e.zoom&&e.zoom!==n.zoom&&t.zoom(e.zoom),e.pan&&(e.pan.x===n.pan.x&&e.pan.y===n.pan.y||t.pan(e.pan));for(var p=["minZoom","maxZoom","zoomingEnabled","userZoomingEnabled","panningEnabled","userPanningEnabled","boxSelectionEnabled","autolock","autoungrabify","autounselectify"],f=0;f<p.length;f++){var h=p[f];null!=e[h]&&t[h](e[h])}return t.endBatch(),this}if(void 0===e){var g={elements:{}};return r.forEach(function(e){var t=e.group();g.elements[t]||(g.elements[t]=[]),g.elements[t].push(e.json())}),this._private.styleEnabled&&(g.style=t.style().json()),g.zoomingEnabled=t._private.zoomingEnabled,g.userZoomingEnabled=t._private.userZoomingEnabled,g.zoom=t._private.zoom,g.minZoom=t._private.minZoom,g.maxZoom=t._private.maxZoom,g.panningEnabled=t._private.panningEnabled,g.userPanningEnabled=t._private.userPanningEnabled,g.pan=i.copy(t._private.pan),g.boxSelectionEnabled=t._private.boxSelectionEnabled,g.renderer=i.copy(t._private.options.renderer),g.hideEdgesOnViewport=t._private.options.hideEdgesOnViewport,g.textureOnViewport=t._private.options.textureOnViewport,g.wheelSensitivity=t._private.options.wheelSensitivity,g.motionBlur=t._private.options.motionBlur,g}},scratch:l.data({field:"scratch",bindingEvent:"scratch",allowBinding:!0,allowSetting:!0,settingEvent:"scratch",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0}),removeScratch:l.removeData({field:"scratch",event:"scratch",triggerFnName:"trigger",triggerEvent:!0})}),u.$id=u.getElementById,[n(69),n(70),n(78),n(79),n(80),n(81),n(82),n(83),n(84),n(93)].forEach(function(e){i.extend(u,e)}),e.exports=c},function(e,t,n){"use strict";e.exports=function(e,t){t||(t=function(){if(1===arguments.length)return arguments[0];if(0===arguments.length)return"undefined";for(var e=[],t=0;t<arguments.length;t++)e.push(arguments[t]);return e.join("$")});var n=function n(){var r=arguments,i=void 0,o=t.apply(this,r),a=n.cache;return(i=a[o])||(i=a[o]=e.apply(this,r)),i};return n.cache={},n}},function(e,t,n){"use strict";var r=n(1),i=n(0),o=n(8);e.exports=function(e,t,n){if(n=!(void 0!==n&&!n),void 0!==e&&void 0!==t&&i.core(e)){var a=t.group;if(null==a&&(a=t.data&&null!=t.data.source&&null!=t.data.target?"edges":"nodes"),"nodes"===a||"edges"===a){this.length=1,this[0]=this;var s=this._private={cy:e,single:!0,data:t.data||{},position:t.position||{},autoWidth:void 0,autoHeight:void 0,autoPadding:void 0,compoundBoundsClean:!1,listeners:[],group:a,style:{},rstyle:{},styleCxts:[],removed:!0,selected:!!t.selected,selectable:void 0===t.selectable||!!t.selectable,locked:!!t.locked,grabbed:!1,grabbable:void 0===t.grabbable||!!t.grabbable,active:!1,classes:new o,animation:{current:[],queue:[]},rscratch:{},scratch:t.scratch||{},edges:[],children:[],parent:null,traversalCache:{},backgrounding:!1};if(t.renderedPosition){var l=t.renderedPosition,c=e.pan(),u=e.zoom();s.position={x:(l.x-c.x)/u,y:(l.y-c.y)/u}}if(i.string(t.classes))for(var d=t.classes.split(/\s+/),p=0,f=d.length;p<f;p++){var h=d[p];h&&""!==h&&s.classes.add(h)}(t.style||t.css)&&e.style().applyBypass(this,t.style||t.css),this.createEmitter(),(void 0===n||n)&&this.restore()}else r.error("An element must be of type `nodes` or `edges`; you specified `"+a+"`")}else r.error("An element must have a core reference and parameters set")}},function(e,t,n){"use strict";var r=n(1),i=[{selector:":selected",matches:function(e){return e.selected()}},{selector:":unselected",matches:function(e){return!e.selected()}},{selector:":selectable",matches:function(e){return e.selectable()}},{selector:":unselectable",matches:function(e){return!e.selectable()}},{selector:":locked",matches:function(e){return e.locked()}},{selector:":unlocked",matches:function(e){return!e.locked()}},{selector:":visible",matches:function(e){return e.visible()}},{selector:":hidden",matches:function(e){return!e.visible()}},{selector:":transparent",matches:function(e){return e.transparent()}},{selector:":grabbed",matches:function(e){return e.grabbed()}},{selector:":free",matches:function(e){return!e.grabbed()}},{selector:":removed",matches:function(e){return e.removed()}},{selector:":inside",matches:function(e){return!e.removed()}},{selector:":grabbable",matches:function(e){return e.grabbable()}},{selector:":ungrabbable",matches:function(e){return!e.grabbable()}},{selector:":animated",matches:function(e){return e.animated()}},{selector:":unanimated",matches:function(e){return!e.animated()}},{selector:":parent",matches:function(e){return e.isParent()}},{selector:":childless",matches:function(e){return e.isChildless()}},{selector:":child",matches:function(e){return e.isChild()}},{selector:":orphan",matches:function(e){return e.isOrphan()}},{selector:":nonorphan",matches:function(e){return e.isChild()}},{selector:":loop",matches:function(e){return e.isLoop()}},{selector:":simple",matches:function(e){return e.isSimple()}},{selector:":active",matches:function(e){return e.active()}},{selector:":inactive",matches:function(e){return!e.active()}},{selector:":backgrounding",matches:function(e){return e.backgrounding()}},{selector:":nonbackgrounding",matches:function(e){return!e.backgrounding()}}].sort(function(e,t){return r.sort.descending(e.selector,t.selector)}),o="("+i.map(function(e){return e.selector}).join("|")+")";e.exports={stateSelectors:i,stateSelectorMatches:function e(t,n){return(e.lookup=e.lookup||function(){for(var e={},t=void 0,n=0;n<i.length;n++)e[(t=i[n]).selector]=t.matches;return e}())[t](n)},stateSelectorRegex:o}},function(e,t,n){"use strict";
 /*!
 Event object based on jQuery events, MIT license
 
 https://jquery.org/license/
 https://tldrlegal.com/license/mit-license
 https://github.com/jquery/jquery/blob/master/src/event.js
-*/var r=function(e,t){this.recycle(e,t)};function i(){return!1}function o(){return!0}r.prototype={instanceString:function(){return"event"},recycle:function(e,t){if(this.isImmediatePropagationStopped=this.isPropagationStopped=this.isDefaultPrevented=i,null!=e&&e.preventDefault?(this.type=e.type,this.isDefaultPrevented=e.defaultPrevented?o:i):null!=e&&e.type?t=e:this.type=e,null!=t&&(this.originalEvent=t.originalEvent,this.type=null!=t.type?t.type:this.type,this.cy=t.cy,this.target=t.target,this.position=t.position,this.renderedPosition=t.renderedPosition,this.namespace=t.namespace,this.layout=t.layout),null!=this.cy&&null!=this.position&&null==this.renderedPosition){var n=this.position,r=this.cy.zoom(),a=this.cy.pan();this.renderedPosition={x:n.x*r+a.x,y:n.y*r+a.y}}this.timeStamp=e&&e.timeStamp||Date.now()},preventDefault:function(){this.isDefaultPrevented=o;var e=this.originalEvent;e&&e.preventDefault&&e.preventDefault()},stopPropagation:function(){this.isPropagationStopped=o;var e=this.originalEvent;e&&e.stopPropagation&&e.stopPropagation()},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=o,this.stopPropagation()},isDefaultPrevented:i,isPropagationStopped:i,isImmediatePropagationStopped:i},e.exports=r},function(e,t,n){"use strict";var r=n(1);e.exports=function(e,t){var n=e.cy().hasCompoundNodes();function i(e){var t=e.pstyle("z-compound-depth");return"auto"===t.value?n?e.zDepth():0:"bottom"===t.value?-1:"top"===t.value?r.MAX_INT:0}var o=i(e)-i(t);if(0!==o)return o;function a(e){return"auto"===e.pstyle("z-index-compare").value&&e.isNode()?1:0}var s=a(e)-a(t);if(0!==s)return s;var l=e.pstyle("z-index").value-t.pstyle("z-index").value;return 0!==l?l:e.poolIndex()-t.poolIndex()}},function(e,t,n){"use strict";var r=n(0),i=n(1),o=n(6),a=function e(t){if(!(this instanceof e))return new e(t);r.core(t)?(this._private={cy:t,coreStyle:{}},this.length=0,this.resetToDefault()):i.error("A style must have a core reference")},s=a.prototype;s.instanceString=function(){return"style"},s.clear=function(){for(var e=0;e<this.length;e++)this[e]=void 0;return this.length=0,this._private.newStyle=!0,this},s.resetToDefault=function(){return this.clear(),this.addDefaultStylesheet(),this},s.core=function(){return this._private.coreStyle},s.selector=function(e){var t="core"===e?null:new o(e),n=this.length++;return this[n]={selector:t,properties:[],mappedProperties:[],index:n},this},s.css=function(){var e=arguments;switch(e.length){case 1:for(var t=e[0],n=0;n<this.properties.length;n++){var r=this.properties[n],o=t[r.name];void 0===o&&(o=t[i.dash2camel(r.name)]),void 0!==o&&this.cssRule(r.name,o)}break;case 2:this.cssRule(e[0],e[1])}return this},s.style=s.css,s.cssRule=function(e,t){var n=this.parse(e,t);if(n){var r=this.length-1;this[r].properties.push(n),this[r].properties[n.name]=n,n.name.match(/pie-(\d+)-background-size/)&&n.value&&(this._private.hasPie=!0),n.mapped&&this[r].mappedProperties.push(n),!this[r].selector&&(this._private.coreStyle[n.name]=n)}return this},s.append=function(e){return r.stylesheet(e)?e.appendToStyle(this):r.array(e)?this.appendFromJson(e):r.string(e)&&this.appendFromString(e),this},a.fromJson=function(e,t){var n=new a(e);return n.fromJson(t),n},a.fromString=function(e,t){return new a(e).fromString(t)},[n(85),n(86),n(87),n(88),n(89),n(90),n(91),n(92)].forEach(function(e){i.extend(s,e)}),a.types=s.types,a.properties=s.properties,e.exports=a},function(e,t,n){"use strict";var r=n(1);e.exports={setupDequeueing:function(e){return function(){var t=this,n=this.renderer;if(!t.dequeueingSetup){t.dequeueingSetup=!0;var i=r.debounce(function(){n.redrawHint("eles",!0),n.redrawHint("drag",!0),n.redraw()},e.deqRedrawThreshold),o=e.priority||r.noop;n.beforeRender(function(o,a){for(var s=r.performanceNow(),l=n.averageRedrawTime,c=n.lastRedrawTime,u=[],d=n.cy.extent(),p=n.getPixelRatio();;){var f=r.performanceNow(),h=f-s,g=f-a;if(c<1e3/60){var m=1e3/60-(o?l:0);if(g>=e.deqFastCost*m)break}else if(o){if(h>=e.deqCost*c||h>=e.deqAvgCost*l)break}else if(g>=e.deqNoDrawCost*(1e3/60))break;var v=e.deq(t,p,d);if(!(v.length>0))break;for(var b=0;b<v.length;b++)u.push(v[b])}u.length>0&&(e.onDeqd(t,u),!o&&e.shouldRedraw(t,u,p,d)&&i())},o(t))}}}}},function(e,t,n){"use strict";var r=n(0),i=n(12),o=n(94),a=n(136),s=function(e){return void 0===e&&(e={}),r.plainObject(e)?new i(e):r.string(e)?o.apply(o,arguments):void 0};s.use=function(e){var t=Array.prototype.slice.call(arguments,1);return t.unshift(s),e.apply(null,t),this},s.version=n(137),s.stylesheet=s.Stylesheet=a,e.exports=s},function(e,t,n){"use strict";var r=n(0);e.exports={hex2tuple:function(e){if((4===e.length||7===e.length)&&"#"===e[0]){var t=void 0,n=void 0,r=void 0;return 4===e.length?(t=parseInt(e[1]+e[1],16),n=parseInt(e[2]+e[2],16),r=parseInt(e[3]+e[3],16)):(t=parseInt(e[1]+e[2],16),n=parseInt(e[3]+e[4],16),r=parseInt(e[5]+e[6],16)),[t,n,r]}},hsl2tuple:function(e){var t=void 0,n=void 0,r=void 0,i=void 0,o=void 0,a=void 0,s=void 0,l=void 0;function c(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}var u=new RegExp("^"+this.regex.hsla+"$").exec(e);if(u){if((n=parseInt(u[1]))<0?n=(360- -1*n%360)%360:n>360&&(n%=360),n/=360,(r=parseFloat(u[2]))<0||r>100)return;if(r/=100,(i=parseFloat(u[3]))<0||i>100)return;if(i/=100,void 0!==(o=u[4])&&((o=parseFloat(o))<0||o>1))return;if(0===r)a=s=l=Math.round(255*i);else{var d=i<.5?i*(1+r):i+r-i*r,p=2*i-d;a=Math.round(255*c(p,d,n+1/3)),s=Math.round(255*c(p,d,n)),l=Math.round(255*c(p,d,n-1/3))}t=[a,s,l,o]}return t},rgb2tuple:function(e){var t=void 0,n=new RegExp("^"+this.regex.rgba+"$").exec(e);if(n){t=[];for(var r=[],i=1;i<=3;i++){var o=n[i];if("%"===o[o.length-1]&&(r[i]=!0),o=parseFloat(o),r[i]&&(o=o/100*255),o<0||o>255)return;t.push(Math.floor(o))}var a=r[1]||r[2]||r[3],s=r[1]&&r[2]&&r[3];if(a&&!s)return;var l=n[4];if(void 0!==l){if((l=parseFloat(l))<0||l>1)return;t.push(l)}}return t},colorname2tuple:function(e){return this.colors[e.toLowerCase()]},color2tuple:function(e){return(r.array(e)?e:null)||this.colorname2tuple(e)||this.hex2tuple(e)||this.rgb2tuple(e)||this.hsl2tuple(e)},colors:{transparent:[0,0,0,0],aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],grey:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}}},function(e,t,n){"use strict";var r=n(0);e.exports={mapEmpty:function(e){return null==e||0===Object.keys(e).length},pushMap:function(e){var t=this.getMap(e);null==t?this.setMap(this.extend({},e,{value:[e.value]})):t.push(e.value)},setMap:function(e){for(var t=e.map,n=e.keys,i=n.length,o=0;o<i;o++){var a=n[o];r.plainObject(a)&&this.error("Tried to set map with object key"),o<n.length-1?(null==t[a]&&(t[a]={}),t=t[a]):t[a]=e.value}},getMap:function(e){for(var t=e.map,n=e.keys,i=n.length,o=0;o<i;o++){var a=n[o];if(r.plainObject(a)&&this.error("Tried to get map with object key"),null==(t=t[a]))return t}return t},deleteMap:function(e){for(var t=e.map,n=e.keys,i=n.length,o=e.keepChildren,a=0;a<i;a++){var s=n[a];if(r.plainObject(s)&&this.error("Tried to delete map with object key"),a===e.keys.length-1)if(o)for(var l=Object.keys(t),c=0;c<l.length;c++){var u=l[c];o[u]||(t[u]=void 0)}else t[s]=void 0;else t=t[s]}}}},function(e,t,n){"use strict";var r="(?:[-+]?(?:(?:\\d+|\\d*\\.\\d+)(?:[Ee][+-]?\\d+)?))";e.exports={regex:{number:r,rgba:"rgb[a]?\\(((?:[-+]?(?:(?:\\d+|\\d*\\.\\d+)(?:[Ee][+-]?\\d+)?))[%]?)\\s*,\\s*((?:[-+]?(?:(?:\\d+|\\d*\\.\\d+)(?:[Ee][+-]?\\d+)?))[%]?)\\s*,\\s*((?:[-+]?(?:(?:\\d+|\\d*\\.\\d+)(?:[Ee][+-]?\\d+)?))[%]?)(?:\\s*,\\s*((?:[-+]?(?:(?:\\d+|\\d*\\.\\d+)(?:[Ee][+-]?\\d+)?))))?\\)",rgbaNoBackRefs:"rgb[a]?\\((?:(?:[-+]?(?:(?:\\d+|\\d*\\.\\d+)(?:[Ee][+-]?\\d+)?))[%]?)\\s*,\\s*(?:(?:[-+]?(?:(?:\\d+|\\d*\\.\\d+)(?:[Ee][+-]?\\d+)?))[%]?)\\s*,\\s*(?:(?:[-+]?(?:(?:\\d+|\\d*\\.\\d+)(?:[Ee][+-]?\\d+)?))[%]?)(?:\\s*,\\s*(?:(?:[-+]?(?:(?:\\d+|\\d*\\.\\d+)(?:[Ee][+-]?\\d+)?))))?\\)",hsla:"hsl[a]?\\(((?:[-+]?(?:(?:\\d+|\\d*\\.\\d+)(?:[Ee][+-]?\\d+)?)))\\s*,\\s*((?:[-+]?(?:(?:\\d+|\\d*\\.\\d+)(?:[Ee][+-]?\\d+)?))[%])\\s*,\\s*((?:[-+]?(?:(?:\\d+|\\d*\\.\\d+)(?:[Ee][+-]?\\d+)?))[%])(?:\\s*,\\s*((?:[-+]?(?:(?:\\d+|\\d*\\.\\d+)(?:[Ee][+-]?\\d+)?))))?\\)",hslaNoBackRefs:"hsl[a]?\\((?:(?:[-+]?(?:(?:\\d+|\\d*\\.\\d+)(?:[Ee][+-]?\\d+)?)))\\s*,\\s*(?:(?:[-+]?(?:(?:\\d+|\\d*\\.\\d+)(?:[Ee][+-]?\\d+)?))[%])\\s*,\\s*(?:(?:[-+]?(?:(?:\\d+|\\d*\\.\\d+)(?:[Ee][+-]?\\d+)?))[%])(?:\\s*,\\s*(?:(?:[-+]?(?:(?:\\d+|\\d*\\.\\d+)(?:[Ee][+-]?\\d+)?))))?\\)",hex3:"\\#[0-9a-fA-F]{3}",hex6:"\\#[0-9a-fA-F]{6}"}}},function(e,t,n){"use strict";var r=n(13),i=n(0);e.exports={camel2dash:r(function(e){return e.replace(/([A-Z])/g,function(e){return"-"+e.toLowerCase()})}),dash2camel:r(function(e){return e.replace(/(-\w)/g,function(e){return e[1].toUpperCase()})}),prependCamel:r(function(e,t){return e+t[0].toUpperCase()+t.substring(1)},function(e,t){return e+"$"+t}),capitalize:function(e){return i.emptyString(e)?e:e.charAt(0).toUpperCase()+e.substring(1)}}},function(e,t,n){"use strict";var r=n(3),i=r?r.performance:null,o={},a=i&&i.now?function(){return i.now()}:function(){return Date.now()},s=function(){if(r){if(r.requestAnimationFrame)return function(e){r.requestAnimationFrame(e)};if(r.mozRequestAnimationFrame)return function(e){r.mozRequestAnimationFrame(e)};if(r.webkitRequestAnimationFrame)return function(e){r.webkitRequestAnimationFrame(e)};if(r.msRequestAnimationFrame)return function(e){r.msRequestAnimationFrame(e)}}return function(e){e&&setTimeout(function(){e(a())},1e3/60)}}();o.requestAnimationFrame=function(e){s(e)},o.performanceNow=a,o.debounce=n(26),o.now=function(){return Date.now()},e.exports=o},function(t,n){t.exports=e},function(e,t,n){"use strict";function r(e,t){return e<t?-1:e>t?1:0}e.exports={sort:{ascending:r,descending:function(e,t){return-1*r(e,t)}}}},function(e,t,n){"use strict";function r(){this._obj={}}var i=r.prototype;i.set=function(e,t){this._obj[e]=t},i.delete=function(e){this._obj[e]=null},i.has=function(e){return null!=this._obj[e]},i.get=function(e){return this._obj[e]},e.exports=r},function(e,t,n){"use strict";var r=n(1),i={};[n(30),n(31),n(33),n(34),n(35),n(36),n(37),n(38),n(39),n(40),n(41)].forEach(function(e){r.extend(i,e)}),e.exports=i},function(e,t,n){"use strict";var r=n(0),i=function(e){return e={bfs:e.bfs||!e.dfs,dfs:e.dfs||!e.bfs},function(t,n,i){var o;r.plainObject(t)&&!r.elementOrCollection(t)&&(t=(o=t).roots||o.root,n=o.visit,i=o.directed),i=2!==arguments.length||r.fn(n)?i:n,n=r.fn(n)?n:function(){};for(var a,s=this._private.cy,l=t=r.string(t)?this.filter(t):t,c=[],u=[],d={},p={},f={},h=0,g=this.nodes(),m=this.edges(),v=0;v<l.length;v++)l[v].isNode()&&(c.unshift(l[v]),e.bfs&&(f[l[v].id()]=!0,u.push(l[v])),p[l[v].id()]=0);for(;0!==c.length;){l=e.bfs?c.shift():c.pop();if(e.dfs){if(f[l.id()])continue;f[l.id()]=!0,u.push(l)}var b,y=p[l.id()],x=d[l.id()],w=null==x?void 0:x.connectedNodes().not(l)[0];if(!0===(b=n(l,x,w,h++,y))){a=l;break}if(!1===b)break;var k=l.connectedEdges(i?function(e){return e.data("source")===l.id()}:void 0).intersect(m);for(v=0;v<k.length;v++){var _=k[v],$=_.connectedNodes(function(e){return e.id()!==l.id()}).intersect(g);0===$.length||f[$.id()]||($=$[0],c.push($),e.bfs&&(f[$.id()]=!0,u.push($)),d[$.id()]=_,p[$.id()]=p[l.id()]+1)}}var E=[];for(v=0;v<u.length;v++){var S=u[v],C=d[S.id()];C&&E.push(C),E.push(S)}return{path:s.collection(E,{unique:!0}),found:s.collection(a)}}},o={breadthFirstSearch:i({bfs:!0}),depthFirstSearch:i({dfs:!0})};o.bfs=o.breadthFirstSearch,o.dfs=o.depthFirstSearch,e.exports=o},function(e,t,n){"use strict";var r=n(0),i=n(9),o={dijkstra:function(e,t,n){var o;r.plainObject(e)&&!r.elementOrCollection(e)&&(e=(o=e).root,t=o.weight,n=o.directed);var a=this._private.cy;t=r.fn(t)?t:function(){return 1};for(var s=r.string(e)?this.filter(e)[0]:e[0],l={},c={},u={},d=this.edges().filter(function(e){return!e.isLoop()}),p=this.nodes(),f=function(e){return l[e.id()]},h=function(e,t){l[e.id()]=t,g.updateItem(e)},g=new i(function(e,t){return f(e)-f(t)}),m=0;m<p.length;m++){var v=p[m];l[v.id()]=v.same(s)?0:1/0,g.push(v)}for(var b=function(e,r){for(var i,o=(n?e.edgesTo(r):e.edgesWith(r)).intersect(d),a=1/0,s=0;s<o.length;s++){var l=o[s],c=t(l);(c<a||!i)&&(a=c,i=l)}return{edge:i,dist:a}};g.size()>0;){var y=g.pop(),x=f(y),w=y.id();if(u[w]=x,x!==1/0){var k=y.neighborhood().intersect(p);for(m=0;m<k.length;m++){var _=k[m],$=_.id(),E=b(y,_),S=x+E.dist;S<f(_)&&(h(_,S),c[$]={node:y,edge:E.edge})}}}return{distanceTo:function(e){var t=r.string(e)?p.filter(e)[0]:e[0];return u[t.id()]},pathTo:function(e){var t=r.string(e)?p.filter(e)[0]:e[0],n=[],i=t;if(t.length>0)for(n.unshift(t);c[i.id()];){var o=c[i.id()];n.unshift(o.edge),n.unshift(o.node),i=o.node}return a.collection(n)}}}};e.exports=o},function(e,t){e.exports=n},function(e,t,n){"use strict";var r=n(0),i={kruskal:function(e){var t=this.cy();function n(e){for(var t=0;t<o.length;t++){var n=o[t];if(n.anySame(e))return{eles:n,index:t}}}e=r.fn(e)?e:function(){return 1};for(var i=t.collection(t,[]),o=[],a=this.nodes(),s=0;s<a.length;s++)o.push(a[s].collection());var l=this.edges().toArray().sort(function(t,n){return e(t)-e(n)});for(s=0;s<l.length;s++){var c=l[s],u=c.source()[0],d=c.target()[0],p=n(u),f=n(d);p.index!==f.index&&(i=i.add(c),o[p.index]=p.eles.add(f.eles),o.splice(f.index,1))}return a.add(i)}};e.exports=i},function(e,t,n){"use strict";var r=n(0),i={aStar:function(e){e=e||{};var t=function e(t,n,r,o){if(t==n)return o.unshift(i.getElementById(n)),o;if(n in r){var a=r[n],s=g[n];return o.unshift(i.getElementById(s)),o.unshift(i.getElementById(n)),e(t,a,r,o)}},n=function(e,t){if(0!==e.length){for(var n=0,r=t[e[0]],i=1;i<e.length;i++){var o=t[e[i]];o<r&&(r=o,n=i)}return n}},i=this._private.cy;if(null!=e&&null!=e.root){var o=r.string(e.root)?this.filter(e.root)[0]:e.root[0];if(null!=e.goal){var a=r.string(e.goal)?this.filter(e.goal)[0]:e.goal[0];if(null!=e.heuristic&&r.fn(e.heuristic))var s=e.heuristic;else s=function(){return 0};if(null!=e.weight&&r.fn(e.weight))var l=e.weight;else l=function(e){return 1};if(null!=e.directed)var c=e.directed;else c=!1;var u=o.id(),d=a.id(),p=[],f=[u],h={},g={},m={},v={};m[u]=0,v[u]=s(o);for(var b=0;f.length>0;){var y=n(f,v),x=i.getElementById(f[y]),w=x.id();if(b++,w==d){var k=t(u,d,h,[]);return{found:!0,distance:m[w],path:this.spawn(k),steps:b}}p.push(w),f.splice(y,1);for(var _=x._private.edges,$=0;$<_.length;$++){var E=_[$];if(this.hasElementWithId(E.id())&&(!c||E.data("source")===w)){var S=E.source(),C=E.target(),T=S.id()!==w?S:C,A=T.id();if(this.hasElementWithId(A)&&-1==p.indexOf(A)){var P=m[w]+l(E);-1!=f.indexOf(A)?P<m[A]&&(m[A]=P,v[A]=P+s(T),h[A]=w):(m[A]=P,v[A]=P+s(T),f.push(A),h[A]=w,g[A]=E.id())}}}}return{found:!1,distance:void 0,path:void 0,steps:b}}}}};e.exports=i},function(e,t,n){"use strict";var r=n(0),i={floydWarshall:function(e){e=e||{};var t=this.cy();if(null!=e.weight&&r.fn(e.weight))var n=e.weight;else n=function(e){return 1};if(null!=e.directed)var i=e.directed;else i=!1;for(var o=this.edges().stdFilter(function(e){return!e.isLoop()}),a=this.nodes(),s=a.length,l={},c=0;c<s;c++)l[a[c].id()]=c;var u=[];for(c=0;c<s;c++){for(var d=new Array(s),p=0;p<s;p++)d[p]=c==p?0:1/0;u.push(d)}var f=[],h=[],g=function(e){for(var t=0;t<s;t++){for(var n=new Array(s),r=0;r<s;r++)n[r]=void 0;e.push(n)}};g(f),g(h);for(c=0;c<o.length;c++){var m=l[o[c].source().id()],v=l[o[c].target().id()],b=n(o[c]);u[m][v]>b&&(u[m][v]=b,f[m][v]=v,h[m][v]=o[c])}if(!i)for(c=0;c<o.length;c++){m=l[o[c].target().id()],v=l[o[c].source().id()],b=n(o[c]);u[m][v]>b&&(u[m][v]=b,f[m][v]=v,h[m][v]=o[c])}for(var y=0;y<s;y++)for(c=0;c<s;c++)for(p=0;p<s;p++)u[c][y]+u[y][p]<u[c][p]&&(u[c][p]=u[c][y]+u[y][p],f[c][p]=f[c][y]);var x=[];for(c=0;c<s;c++)x.push(a[c].id());return{distance:function(e,n){if(r.string(e))var i=t.filter(e)[0].id();else i=e.id();if(r.string(n))var o=t.filter(n)[0].id();else o=n.id();return u[l[i]][l[o]]},path:function(e,n){if(r.string(e))var i=t.filter(e)[0].id();else i=e.id();if(r.string(n))var o=t.filter(n)[0].id();else o=n.id();var a=function(e,n,r,i,o){if(e===n)return t.getElementById(i[e]);if(void 0!==r[e][n]){for(var a=[t.getElementById(i[e])],s=e;e!==n;){s=e,e=r[e][n];var l=o[s][e];a.push(l),a.push(t.getElementById(i[e]))}return a}}(l[i],l[o],f,x,h);return t.collection(a)}}}};e.exports=i},function(e,t,n){"use strict";var r=n(0),i=n(1),o={bellmanFord:function(e){var t=this;if(null!=(e=e||{}).weight&&r.fn(e.weight))var n=e.weight;else n=function(e){return 1};if(null!=e.directed)var o=e.directed;else o=!1;if(null!=e.root){if(r.string(e.root))var a=this.filter(e.root)[0];else a=e.root[0];for(var s=this._private.cy,l=this.edges().stdFilter(function(e){return!e.isLoop()}),c=this.nodes(),u=c.length,d={},p=0;p<u;p++)d[c[p].id()]=p;var f=[],h=[],g=[];for(p=0;p<u;p++)c[p].id()===a.id()?f[p]=0:f[p]=1/0,h[p]=void 0;var m=!1;for(p=1;p<u;p++){m=!1;for(var v=0;v<l.length;v++){var b,y=d[l[v].source().id()],x=d[l[v].target().id()],w=n(l[v]);if((b=f[y]+w)<f[x]&&(f[x]=b,h[x]=y,g[x]=l[v],m=!0),!o)(b=f[x]+w)<f[y]&&(f[y]=b,h[y]=x,g[y]=l[v],m=!0)}if(!m)break}if(m)for(v=0;v<l.length;v++){y=d[l[v].source().id()],x=d[l[v].target().id()],w=n(l[v]);if(f[y]+w<f[x])return i.error("Graph contains a negative weight cycle for Bellman-Ford"),{pathTo:void 0,distanceTo:void 0,hasNegativeWeightCycle:!0}}var k=[];for(p=0;p<u;p++)k.push(c[p].id());return{distanceTo:function(e){if(r.string(e))var t=s.filter(e)[0].id();else t=e.id();return f[d[t]]},pathTo:function(e){if(r.string(e))var n=s.filter(e)[0].id();else n=e.id();var i=function(e,t,n,r,i,o){for(;;){if(i.push(s.getElementById(r[n])),i.push(o[n]),t===n)return i;var a=e[n];if(void 0===a)return;n=a}}(h,d[a.id()],d[n],k,[],g);return null!=i&&i.reverse(),t.spawn(i)},hasNegativeWeightCycle:!1}}}};e.exports=o},function(e,t,n){"use strict";var r=n(1),i={kargerStein:function(e){e=e||{};var t=function e(t,n,r,i){return r<=i?n:e(t,function(e,t,n){for(var r=n[e],i=r[1],o=r[2],a=t[i],s=t[o],l=n.filter(function(e){return!(t[e[1]]===a&&t[e[2]]===s||t[e[1]]===s&&t[e[2]]===a)}),c=0;c<l.length;c++){var u=l[c];u[1]===s?(l[c]=u.slice(0),l[c][1]=a):u[2]===s&&(l[c]=u.slice(0),l[c][2]=a)}for(c=0;c<t.length;c++)t[c]===s&&(t[c]=a);return l}(Math.floor(Math.random()*n.length),t,n),r-1,i)},n=this._private.cy,i=this.edges().stdFilter(function(e){return!e.isLoop()}),o=this.nodes(),a=o.length,s=i.length,l=Math.ceil(Math.pow(Math.log(a)/Math.LN2,2)),c=Math.floor(a/Math.sqrt(2));if(!(a<2)){for(var u={},d=0;d<a;d++)u[o[d].id()]=d;var p=[];for(d=0;d<s;d++){var f=i[d];p.push([d,u[f.source().id()],u[f.target().id()]])}var h,g=1/0,m=[];for(d=0;d<a;d++)m.push(d);for(var v=0;v<=l;v++){var b=m.slice(0),y=t(b,p,a,c),x=b.slice(0),w=t(b,y,c,2),k=t(x,y,c,2);w.length<=k.length&&w.length<g?(g=w.length,h=[w,b]):k.length<=w.length&&k.length<g&&(g=k.length,h=[k,x])}var _=h[0].map(function(e){return i[e[0]]}),$=[],E=[],S=h[1][0];for(d=0;d<h[1].length;d++){h[1][d]===S?$.push(o[d]):E.push(o[d])}return{cut:this.spawn(n,_),partition1:this.spawn($),partition2:this.spawn(E)}}r.error("At least 2 nodes are required for Karger-Stein algorithm")}};e.exports=i},function(e,t,n){"use strict";var r=n(0),i={pageRank:function(e){var t=function(e){for(var t=e.length,n=0,r=0;r<t;r++)n+=e[r];for(r=0;r<t;r++)e[r]=e[r]/n};if(null!=(e=e||{})&&null!=e.dampingFactor)var n=e.dampingFactor;else n=.8;if(null!=e&&null!=e.precision)var i=e.precision;else i=1e-6;if(null!=e&&null!=e.iterations)var o=e.iterations;else o=200;if(null!=e&&null!=e.weight&&r.fn(e.weight))var a=e.weight;else a=function(e){return 1};for(var s=this._private.cy,l=this.edges().stdFilter(function(e){return!e.isLoop()}),c=this.nodes(),u=c.length,d=l.length,p={},f=0;f<u;f++)p[c[f].id()]=f;var h=[],g=[],m=(1-n)/u;for(f=0;f<u;f++){for(var v=[],b=0;b<u;b++)v.push(0);h.push(v),g.push(0)}for(f=0;f<d;f++){var y=l[f],x=p[y.source().id()],w=p[y.target().id()],k=a(y);h[w][x]+=k,g[x]+=k}var _=1/u+m;for(b=0;b<u;b++)if(0===g[b])for(f=0;f<u;f++)h[f][b]=_;else for(f=0;f<u;f++)h[f][b]=h[f][b]/g[b]+m;var $,E=[],S=[];for(f=0;f<u;f++)E.push(1),S.push(0);for(var C=0;C<o;C++){var T=S.slice(0);for(f=0;f<u;f++)for(b=0;b<u;b++)T[f]+=h[f][b]*E[b];t(T),$=E,E=T;var A=0;for(f=0;f<u;f++)A+=Math.pow($[f]-E[f],2);if(A<i)break}return{rank:function(e){if(r.string(e))var t=s.filter(e)[0].id();else t=e.id();return E[p[t]]}}}};e.exports=i},function(e,t,n){"use strict";var r=n(0),i=n(1),o={degreeCentralityNormalized:function(e){e=e||{};var t=this.cy();if(null!=e.directed)var n=e.directed;else n=!1;var o=this.nodes(),a=o.length;if(n){var s={},l={},c=0,u=0;for(f=0;f<a;f++){h=o[f],g=this.degreeCentrality(i.extend({},e,{root:h}));c<g.indegree&&(c=g.indegree),u<g.outdegree&&(u=g.outdegree),s[h.id()]=g.indegree,l[h.id()]=g.outdegree}return{indegree:function(e){if(0==c)return 0;if(r.string(e))e=t.filter(e)[0].id();else e=e.id();return s[e]/c},outdegree:function(e){if(0==u)return 0;if(r.string(e))e=t.filter(e)[0].id();else e=e.id();return l[e]/u}}}for(var d={},p=0,f=0;f<a;f++){var h=o[f],g=this.degreeCentrality(i.extend({},e,{root:h}));p<g.degree&&(p=g.degree),d[h.id()]=g.degree}return{degree:function(e){if(0==p)return 0;if(r.string(e))e=t.filter(e)[0].id();else e=e.id();return d[e]/p}}},degreeCentrality:function(e){if(null!=(e=e||{})&&null!=e.root){var t=r.string(e.root)?this.filter(e.root)[0]:e.root[0];if(null!=e.weight&&r.fn(e.weight))var n=e.weight;else n=function(e){return 1};if(null!=e.directed)var i=e.directed;else i=!1;if(null!=e.alpha&&r.number(e.alpha))var o=e.alpha;else o=0;if(i){var a=t.connectedEdges('edge[target = "'+t.id()+'"]').intersection(this),s=t.connectedEdges('edge[source = "'+t.id()+'"]').intersection(this),l=a.length,c=s.length,u=0,d=0;for(g=0;g<a.length;g++){u+=n(a[g])}for(g=0;g<s.length;g++){d+=n(s[g])}return{indegree:Math.pow(l,1-o)*Math.pow(u,o),outdegree:Math.pow(c,1-o)*Math.pow(d,o)}}for(var p=t.connectedEdges().intersection(this),f=p.length,h=0,g=0;g<p.length;g++){h+=n(p[g])}return{degree:Math.pow(f,1-o)*Math.pow(h,o)}}}};o.dc=o.degreeCentrality,o.dcn=o.degreeCentralityNormalised=o.degreeCentralityNormalized,e.exports=o},function(e,t,n){"use strict";var r=n(0),i={closenessCentralityNormalized:function(e){e=e||{};var t=this.cy(),n=e.harmonic;void 0===n&&(n=!0);for(var i={},o=0,a=this.nodes(),s=this.floydWarshall({weight:e.weight,directed:e.directed}),l=0;l<a.length;l++){for(var c=0,u=0;u<a.length;u++)if(l!=u){var d=s.distance(a[l],a[u]);c+=n?1/d:d}n||(c=1/c),o<c&&(o=c),i[a[l].id()]=c}return{closeness:function(e){if(0==o)return 0;if(r.string(e))e=t.filter(e)[0].id();else e=e.id();return i[e]/o}}},closenessCentrality:function(e){if(null!=(e=e||{}).root){if(r.string(e.root))var t=this.filter(e.root)[0];else t=e.root[0];if(null!=e.weight&&r.fn(e.weight))var n=e.weight;else n=function(){return 1};if(null!=e.directed&&r.bool(e.directed))var i=e.directed;else i=!1;var o=e.harmonic;void 0===o&&(o=!0);for(var a=this.dijkstra({root:t,weight:n,directed:i}),s=0,l=this.nodes(),c=0;c<l.length;c++)if(l[c].id()!=t.id()){var u=a.distanceTo(l[c]);s+=o?1/u:u}return o?s:1/s}}};i.cc=i.closenessCentrality,i.ccn=i.closenessCentralityNormalised=i.closenessCentralityNormalized,e.exports=i},function(e,t,n){"use strict";var r=n(0),i=n(9),o={betweennessCentrality:function(e){var t,n;e=e||{},r.fn(e.weight)?(n=e.weight,t=!0):t=!1;for(var o=null!=e.directed&&e.directed,a=this._private.cy,s=this.nodes(),l={},c={},u=0,d=function(e,t){c[e]=t,t>u&&(u=t)},p=function(e){return c[e]},f=0;f<s.length;f++){l[w=(k=s[f]).id()]=o?k.outgoers().nodes():k.openNeighborhood().nodes(),d(w,0)}for(var h=0;h<s.length;h++){var g=s[h].id(),m=[],v={},b={},y={},x=new i(function(e,t){return y[e]-y[t]});for(f=0;f<s.length;f++){var w;v[w=s[f].id()]=[],b[w]=0,y[w]=1/0}for(b[g]=1,y[g]=0,x.push(g);!x.empty();){var k=x.pop();if(m.push(k),t)for(var _=0;_<l[k].length;_++){var $=l[k][_],E=a.getElementById(k),S=n(E.edgesTo($).length>0?E.edgesTo($)[0]:$.edgesTo(E)[0]);$=$.id(),y[$]>y[k]+S&&(y[$]=y[k]+S,x.nodes.indexOf($)<0?x.push($):x.updateItem($),b[$]=0,v[$]=[]),y[$]==y[k]+S&&(b[$]=b[$]+b[k],v[$].push(k))}else for(_=0;_<l[k].length;_++){$=l[k][_].id();y[$]==1/0&&(x.push($),y[$]=y[k]+1),y[$]==y[k]+1&&(b[$]=b[$]+b[k],v[$].push(k))}}var C={};for(f=0;f<s.length;f++)C[s[f].id()]=0;for(;m.length>0;)for($=m.pop(),_=0;_<v[$].length;_++){C[k=v[$][_]]=C[k]+b[k]/b[$]*(1+C[$]),$!=s[h].id()&&d($,p($)+C[$])}}var T={betweenness:function(e){if(r.string(e))e=a.filter(e).id();else e=e.id();return p(e)},betweennessNormalized:function(e){if(0==u)return 0;if(r.string(e))e=a.filter(e).id();else e=e.id();return p(e)/u}};return T.betweennessNormalised=T.betweennessNormalized,T}};o.bc=o.betweennessCentrality,e.exports=o},function(e,t,n){"use strict";var r=n(4),i={animate:r.animate(),animation:r.animation(),animated:r.animated(),clearQueue:r.clearQueue(),delay:r.delay(),delayAnimation:r.delayAnimation(),stop:r.stop()};e.exports=i},function(e,t,n){"use strict";var r=n(1),i=n(44),o=n(2),a=n(0),s={animated:function(){return function(){var e=void 0!==this.length?this:[this];if(!(this._private.cy||this).styleEnabled())return!1;var t=e[0];return t?t._private.animation.current.length>0:void 0}},clearQueue:function(){return function(){var e=void 0!==this.length?this:[this];if(!(this._private.cy||this).styleEnabled())return this;for(var t=0;t<e.length;t++){e[t]._private.animation.queue=[]}return this}},delay:function(){return function(e,t){return(this._private.cy||this).styleEnabled()?this.animate({delay:e,duration:e,complete:t}):this}},delayAnimation:function(){return function(e,t){return(this._private.cy||this).styleEnabled()?this.animation({delay:e,duration:e,complete:t}):this}},animation:function(){return function(e,t){var n=void 0!==this.length,s=n?this:[this],l=this._private.cy||this,c=!n,u=!c;if(!l.styleEnabled())return this;var d=l.style();if(e=r.assign({},e,t),0===Object.keys(e).length)return new i(s[0],e);switch(void 0===e.duration&&(e.duration=400),e.duration){case"slow":e.duration=600;break;case"fast":e.duration=200}if(u&&(e.style=d.getPropsList(e.style||e.css),e.css=void 0),u&&null!=e.renderedPosition){var p=e.renderedPosition,f=l.pan(),h=l.zoom();e.position=o.renderedToModelPosition(p,h,f)}if(c&&null!=e.panBy){var g=e.panBy,m=l.pan();e.pan={x:m.x+g.x,y:m.y+g.y}}var v=e.center||e.centre;if(c&&null!=v){var b=l.getCenterPan(v.eles,e.zoom);null!=b&&(e.pan=b)}if(c&&null!=e.fit){var y=e.fit,x=l.getFitViewport(y.eles||y.boundingBox,y.padding);null!=x&&(e.pan=x.pan,e.zoom=x.zoom)}if(c&&a.plainObject(e.zoom)){var w=l.getZoomedViewport(e.zoom);null!=w&&(w.zoomed&&(e.zoom=w.zoom),w.panned&&(e.pan=w.pan))}return new i(s[0],e)}},animate:function(){return function(e,t){var n=void 0!==this.length?this:[this];if(!(this._private.cy||this).styleEnabled())return this;t&&(e=r.extend({},e,t));for(var i=0;i<n.length;i++){var o=n[i],a=o.animated()&&(void 0===e.queue||e.queue);o.animation(e,a?{queue:!0}:void 0).play()}return this}},stop:function(){return function(e,t){var n=void 0!==this.length?this:[this],r=this._private.cy||this;if(!r.styleEnabled())return this;for(var i=0;i<n.length;i++){for(var o=n[i]._private,a=o.animation.current,s=0;s<a.length;s++){var l=a[s]._private;t&&(l.duration=0)}e&&(o.animation.queue=[]),t||(o.animation.current=[])}return r.notify({eles:this,type:"draw"}),this}}};e.exports=s},function(e,t,n){"use strict";var r=n(1),i=n(0),o=n(5),a=function(e,t,n){var o=this._private=r.extend({duration:1e3},t,n);o.target=e,o.style=o.style||o.css,o.started=!1,o.playing=!1,o.hooked=!1,o.applying=!1,o.progress=0,o.completes=[],o.frames=[],o.complete&&i.fn(o.complete)&&o.completes.push(o.complete),this.length=1,this[0]=this},s=a.prototype;r.extend(s,{instanceString:function(){return"animation"},hook:function(){var e=this._private;if(!e.hooked){var t=e.target._private.animation;(e.queue?t.queue:t.current).push(this),i.elementOrCollection(e.target)&&e.target.cy().addToAnimationPool(e.target),e.hooked=!0}return this},play:function(){var e=this._private;return 1===e.progress&&(e.progress=0),e.playing=!0,e.started=!1,e.stopped=!1,this.hook(),this},playing:function(){return this._private.playing},apply:function(){var e=this._private;return e.applying=!0,e.started=!1,e.stopped=!1,this.hook(),this},applying:function(){return this._private.applying},pause:function(){var e=this._private;return e.playing=!1,e.started=!1,this},stop:function(){var e=this._private;return e.playing=!1,e.started=!1,e.stopped=!0,this},rewind:function(){return this.progress(0)},fastforward:function(){return this.progress(1)},time:function(e){var t=this._private;return void 0===e?t.progress*t.duration:this.progress(e/t.duration)},progress:function(e){var t=this._private,n=t.playing;return void 0===e?t.progress:(n&&this.pause(),t.progress=e,t.started=!1,n&&this.play(),this)},completed:function(){return 1===this._private.progress},reverse:function(){var e=this._private,t=e.playing;t&&this.pause(),e.progress=1-e.progress,e.started=!1;var n=function(t,n){var r=e[t];null!=r&&(e[t]=e[n],e[n]=r)};if(n("zoom","startZoom"),n("pan","startPan"),n("position","startPosition"),e.style)for(var r=0;r<e.style.length;r++){var i=e.style[r],o=i.name,a=e.startStyle[o];e.startStyle[o]=i,e.style[r]=a}return t&&this.play(),this},promise:function(e){var t=this._private,n=void 0;switch(e){case"frame":n=t.frames;break;default:case"complete":case"completed":n=t.completes}return new o(function(e,t){n.push(function(){e()})})}}),s.complete=s.completed,e.exports=a},function(e,t,n){"use strict";var r=n(1),i=n(0),o={data:function(e){return e=r.extend({},{field:"data",bindingEvent:"data",allowBinding:!1,allowSetting:!1,allowGetting:!1,settingEvent:"data",settingTriggersEvent:!1,triggerFnName:"trigger",immutableKeys:{},updateStyle:!1,beforeGet:function(e){},beforeSet:function(e,t){},onSet:function(e){},canSet:function(e){return!0}},e),function(t,n){var r=e,o=void 0!==this.length,a=o?this:[this],s=o?this[0]:this;if(i.string(t)){if(r.allowGetting&&void 0===n){var l=void 0;return s&&(r.beforeGet(s),l=s._private[r.field][t]),l}if(r.allowSetting&&void 0!==n&&!r.immutableKeys[t]){var c=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},t,n);r.beforeSet(this,c);for(var u=0,d=a.length;u<d;u++){var p=a[u];r.canSet(p)&&(p._private[r.field][t]=n)}r.updateStyle&&this.updateStyle(),r.onSet(this),r.settingTriggersEvent&&this[r.triggerFnName](r.settingEvent)}}else if(r.allowSetting&&i.plainObject(t)){var f=t,h=void 0,g=void 0,m=Object.keys(f);r.beforeSet(this,f);for(var v=0;v<m.length;v++){if(g=f[h=m[v]],!r.immutableKeys[h])for(var b=0;b<a.length;b++){var y=a[b];r.canSet(y)&&(y._private[r.field][h]=g)}}r.updateStyle&&this.updateStyle(),r.onSet(this),r.settingTriggersEvent&&this[r.triggerFnName](r.settingEvent)}else if(r.allowBinding&&i.fn(t)){var x=t;this.on(r.bindingEvent,x)}else if(r.allowGetting&&void 0===t){var w=void 0;return s&&(r.beforeGet(s),w=s._private[r.field]),w}return this}},removeData:function(e){return e=r.extend({},{field:"data",event:"data",triggerFnName:"trigger",triggerEvent:!1,immutableKeys:{}},e),function(t){var n=e,r=void 0!==this.length?this:[this];if(i.string(t)){for(var o=t.split(/\s+/),a=o.length,s=0;s<a;s++){var l=o[s];if(!i.emptyString(l))if(!n.immutableKeys[l])for(var c=0,u=r.length;c<u;c++)r[c]._private[n.field][l]=void 0}n.triggerEvent&&this[n.triggerFnName](n.event)}else if(void 0===t){for(var d=0,p=r.length;d<p;d++)for(var f=r[d]._private[n.field],h=Object.keys(f),g=0;g<h.length;g++){var m=h[g];!n.immutableKeys[m]&&(f[m]=void 0)}n.triggerEvent&&this[n.triggerFnName](n.event)}return this}}};e.exports=o},function(e,t,n){"use strict";var r=n(5),i={eventAliasesOn:function(e){var t=e;t.addListener=t.listen=t.bind=t.on,t.unlisten=t.unbind=t.off=t.removeListener,t.trigger=t.emit,t.pon=t.promiseOn=function(e,t){var n=this,i=Array.prototype.slice.call(arguments,0);return new r(function(e,t){var r=i.concat([function(t){n.off.apply(n,o),e(t)}]),o=r.concat([]);n.on.apply(n,r)})}}};e.exports=i},function(e,t,n){"use strict";var r=n(8),i={classes:function(e){e=(e||"").match(/\S+/g)||[];for(var t=this,n=[],i=new r(e),o=function(e){var o=t[e],a=o._private,s=a.classes,l=!1;i.forEach(function(e){s.has(e)||(l=!0)}),l||s.forEach(function(e){i.has(e)||(l=!0)}),l&&(a.classes=new r(i),n.push(o))},a=0;a<t.length;a++)o(a);return n.length>0&&this.spawn(n).updateStyle().emit("class"),t},addClass:function(e){return this.toggleClass(e,!0)},hasClass:function(e){var t=this[0];return null!=t&&t._private.classes.has(e)},toggleClass:function(e,t){for(var n=e.match(/\S+/g)||[],r=[],i=0,o=this.length;i<o;i++)for(var a=this[i],s=!1,l=0;l<n.length;l++){var c=n[l],u=a._private.classes,d=u.has(c);t||void 0===t&&!d?(u.add(c),d||s||(r.push(a),s=!0)):(u.delete(c),d&&!s&&(r.push(a),s=!0))}return r.length>0&&this.spawn(r).updateStyle().emit("class"),this},removeClass:function(e){return this.toggleClass(e,!1)},flashClass:function(e,t){var n=this;if(null==t)t=250;else if(0===t)return n;return n.addClass(e),setTimeout(function(){n.removeClass(e)},t),n}};e.exports=i},function(e,t,n){"use strict";n(0);var r=n(6),i={allAre:function(e){var t=new r(e);return this.every(function(e){return t.matches(e)})},is:function(e){var t=new r(e);return this.some(function(e){return t.matches(e)})},some:function(e,t){for(var n=0;n<this.length;n++){if(t?e.apply(t,[this[n],n,this]):e(this[n],n,this))return!0}return!1},every:function(e,t){for(var n=0;n<this.length;n++){if(!(t?e.apply(t,[this[n],n,this]):e(this[n],n,this)))return!1}return!0},same:function(e){return e=this.cy().collection(e),this.length===e.length&&this.every(function(t){return e.hasElementWithId(t.id())})},anySame:function(e){return e=this.cy().collection(e),this.some(function(t){return e.hasElementWithId(t.id())})},allAreNeighbors:function(e){e=this.cy().collection(e);var t=this.neighborhood();return e.every(function(e){return t.hasElementWithId(e.id())})},contains:function(e){var t=this;return(e=this.cy().collection(e)).every(function(e){return t.hasElementWithId(e.id())})}};i.allAreNeighbours=i.allAreNeighbors,i.has=i.contains,e.exports=i},function(e,t,n){"use strict";var r=n(1),i=n(50),o=n(10),a=function(e){for(var t=void 0,n=void 0,r=void 0,o=0;o<i.length;o++){var a=i[o],s=a.name,l=e.match(a.regexObj);if(null!=l){n=l,t=a,r=s;var c=l[0];e=e.substring(c.length);break}}return{expr:t,match:n,name:r,remaining:e}};e.exports={parse:function(e){var t=this._private.selectorText=e,n=this[0]=o();for(this.length=1,t=function(e){var t=e.match(/^\s+/);if(t){var n=t[0];e=e.substring(n.length)}return e}(t);;){var i=a(t);if(null==i.expr)return r.error("The selector `"+e+"`is invalid"),!1;var s=i.match.slice(1),l=i.expr.populate(this,n,s);if(!1===l)return!1;if(null!=l&&(n=l),(t=i.remaining).match(/^\s*$/))break}for(var c=0;c<this.length;c++){var u=this[c];if(null!=u.subject){for(;u.subject!==u;)if(null!=u.parent){var d=u.parent,p=u;p.parent=null,d.child=p,u=d}else{if(null==u.ancestor)return u.source||u.target||u.connectedNodes?(r.error("The selector `"+this.text()+"` can not contain a subject selector that applies to the source or target of an edge selector"),!1):(r.error("When adjusting references for the selector `"+this.text()+"`, neither parent nor ancestor was found"),!1);var f=u.ancestor,h=u;h.ancestor=null,f.descendant=h,u=f}this[c]=u.subject}}return!0}}},function(e,t,n){"use strict";var r=function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{!r&&s.return&&s.return()}finally{if(i)throw o}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),i=n(15).stateSelectorRegex,o=n(51),a=n(1),s=n(10),l=function(e){return e.replace(new RegExp("\\\\("+o.metaChar+")","g"),function(e,t){return t})},c=function(e,t,n){t===e[e.length-1]&&(e[e.length-1]=n)},u=[{name:"group",query:!0,regex:"("+o.group+")",populate:function(e,t,n){var i=r(n,1)[0];t.group="*"===i?i:i+"s"}},{name:"state",query:!0,regex:i,populate:function(e,t,n){var i=r(n,1)[0];t.colonSelectors.push(i)}},{name:"id",query:!0,regex:"\\#("+o.id+")",populate:function(e,t,n){var i=r(n,1)[0];t.ids.push(l(i))}},{name:"className",query:!0,regex:"\\.("+o.className+")",populate:function(e,t,n){var i=r(n,1)[0];t.classes.push(l(i))}},{name:"dataExists",query:!0,regex:"\\[\\s*("+o.variable+")\\s*\\]",populate:function(e,t,n){var i=r(n,1)[0];t.data.push({field:l(i)})}},{name:"dataCompare",query:!0,regex:"\\[\\s*("+o.variable+")\\s*("+o.comparatorOp+")\\s*("+o.value+")\\s*\\]",populate:function(e,t,n){var i=r(n,3),a=i[0],s=i[1],c=i[2];c=null!=new RegExp("^"+o.string+"$").exec(c)?c.substring(1,c.length-1):parseFloat(c),t.data.push({field:l(a),operator:s,value:c})}},{name:"dataBool",query:!0,regex:"\\[\\s*("+o.boolOp+")\\s*("+o.variable+")\\s*\\]",populate:function(e,t,n){var i=r(n,2),o=i[0],a=i[1];t.data.push({field:l(a),operator:o})}},{name:"metaCompare",query:!0,regex:"\\[\\[\\s*("+o.meta+")\\s*("+o.comparatorOp+")\\s*("+o.number+")\\s*\\]\\]",populate:function(e,t,n){var i=r(n,3),o=i[0],a=i[1],s=i[2];t.meta.push({field:l(o),operator:a,value:parseFloat(s)})}},{name:"nextQuery",separator:!0,regex:o.separator,populate:function(e){var t=e[e.length++]=s();return e.currentSubject=null,t}},{name:"directedEdge",separator:!0,regex:o.directedEdge,populate:function(e,t){var n=s(),r=t,i=s();return n.group="edges",n.target=i,n.source=r,n.subject=e.currentSubject,c(e,t,n),i}},{name:"undirectedEdge",separator:!0,regex:o.undirectedEdge,populate:function(e,t){var n=s(),r=t,i=s();return n.group="edges",n.connectedNodes=[r,i],n.subject=e.currentSubject,c(e,t,n),i}},{name:"child",separator:!0,regex:o.child,populate:function(e,t){var n=s();return n.parent=t,n.subject=e.currentSubject,c(e,t,n),n}},{name:"descendant",separator:!0,regex:o.descendant,populate:function(e,t){var n=s();return n.ancestor=t,n.subject=e.currentSubject,c(e,t,n),n}},{name:"subject",modifier:!0,regex:o.subject,populate:function(e,t){if(null!=e.currentSubject&&t.subject!=t)return a.error("Redefinition of subject in selector `"+e.toString()+"`"),!1;e.currentSubject=t,t.subject=t,e[e.length-1].subject=t}}];u.forEach(function(e){return e.regexObj=new RegExp("^"+e.regex)}),e.exports=u},function(e,t,n){"use strict";var r={metaChar:"[\\!\\\"\\#\\$\\%\\&\\'\\(\\)\\*\\+\\,\\.\\/\\:\\;\\<\\=\\>\\?\\@\\[\\]\\^\\`\\{\\|\\}\\~]",comparatorOp:"=|\\!=|>|>=|<|<=|\\$=|\\^=|\\*=",boolOp:"\\?|\\!|\\^",string:'"(?:\\\\"|[^"])*"|'+"'(?:\\\\'|[^'])*'",number:n(1).regex.number,meta:"degree|indegree|outdegree",separator:"\\s*,\\s*",descendant:"\\s+",child:"\\s+>\\s+",subject:"\\$",group:"node|edge|\\*",directedEdge:"\\s+->\\s+",undirectedEdge:"\\s+<->\\s+"};r.variable="(?:[\\w-]|(?:\\\\"+r.metaChar+"))+",r.value=r.string+"|"+r.number,r.className=r.variable,r.id=r.variable,function(){var e=void 0,t=void 0,n=void 0;for(e=r.comparatorOp.split("|"),n=0;n<e.length;n++)t=e[n],r.comparatorOp+="|@"+t;for(e=r.comparatorOp.split("|"),n=0;n<e.length;n++)(t=e[n]).indexOf("!")>=0||"="!==t&&(r.comparatorOp+="|\\!"+t)}(),e.exports=r},function(e,t,n){"use strict";var r=n(15).stateSelectorMatches,i=n(0),o=function(e,t){for(var n=!0,r=0;r<e[t.name].length;r++){var o=e[t.name][r],a=o.operator,s=o.value,l=o.field,c=void 0,u=t.fieldValue(l);if(null!=a&&null!=s){var d=i.string(u)||i.number(u)?""+u:"",p=""+s,f=!1;a.indexOf("@")>=0&&(d=d.toLowerCase(),p=p.toLowerCase(),a=a.replace("@",""),f=!0);var h=!1;a.indexOf("!")>=0&&(a=a.replace("!",""),h=!0),f&&(s=p.toLowerCase(),u=d.toLowerCase());var g=!1;switch(a){case"*=":c=d.indexOf(p)>=0;break;case"$=":c=d.indexOf(p,d.length-p.length)>=0;break;case"^=":c=0===d.indexOf(p);break;case"=":c=u===s;break;case">":g=!0,c=u>s;break;case">=":g=!0,c=u>=s;break;case"<":g=!0,c=u<s;break;case"<=":g=!0,c=u<=s;break;default:c=!1}!h||null==u&&g||(c=!c)}else if(null!=a)switch(a){case"?":c=!!u;break;case"!":c=!u;break;case"^":c=void 0===u}else c=void 0!==u;if(!c){n=!1;break}}return n},a=function(e,t,n){if(null!=e){var r=!1;if(!t)return!1;n=n();for(var i=0;i<n.length;i++)if(s(e,n[i])){r=!0;break}return r}return!0},s=function(e,t){if(e.groupOnly)return"*"===e.group||e.group===t.group();if(null!=e.group&&"*"!=e.group&&e.group!=t.group())return!1;var n=t.cy(),i=void 0,s=!0;for(i=0;i<e.colonSelectors.length;i++){var l=e.colonSelectors[i];if(!(s=r(l,t)))break}if(!s)return!1;var c=!0;for(i=0;i<e.ids.length;i++){var u=e.ids[i],d=t.id();if(!(c=c&&u==d))break}if(!c)return!1;var p=!0;for(i=0;i<e.classes.length;i++){var f=e.classes[i];if(!(p=p&&t.hasClass(f)))break}if(!p)return!1;if(!o(e,{name:"data",fieldValue:function(e){return t.data(e)}}))return!1;if(!o(e,{name:"meta",fieldValue:function(e){return t[e]()}}))return!1;if(null!=e.collection&&!e.collection.hasElementWithId(t.id()))return!1;if(null!=e.filter&&t.collection().some(e.filter))return!1;var h=n.hasCompoundNodes(),g=function(){return t.source()},m=function(){return t.target()};if(!a(e.parent,h,function(){return t.parent()}))return!1;if(!a(e.ancestor,h,function(){return t.parents()}))return!1;if(!a(e.child,h,function(){return t.children()}))return!1;if(!a(e.descendant,h,function(){return t.descendants()}))return!1;if(!a(e.source,!0,g))return!1;if(!a(e.target,!0,m))return!1;if(e.connectedNodes){var v=e.connectedNodes[0],b=e.connectedNodes[1];if(a(v,!0,g)&&a(b,!0,m));else if(!a(v,!0,m)||!a(b,!0,g))return!1}return!0};e.exports={matches:function(e){if(this.invalid())return!1;for(var t=0;t<this.length;t++){var n=this[t];if(s(n,e))return!0}return!1},filter:function(e){var t=this,n=e.cy();if(t.invalid())return n.collection();if(1===t.length&&1===t[0].length&&1===t[0].ids.length)return e.getElementById(t[0].ids[0]).collection();var r=function(e){for(var n=0;n<t.length;n++){var r=t[n];if(s(r,e))return!0}return!1};return null==t.text()&&(r=function(){return!0}),e.filter(r)}}},function(e,t,n){"use strict";var r=n(8),i={parent:function(e){var t=[];if(1===this.length){var n=this[0]._private.parent;if(n)return n}for(var r=0;r<this.length;r++){var i=this[r]._private.parent;i&&t.push(i)}return this.spawn(t,{unique:!0}).filter(e)},parents:function(e){for(var t=[],n=this.parent();n.nonempty();){for(var r=0;r<n.length;r++){var i=n[r];t.push(i)}n=n.parent()}return this.spawn(t,{unique:!0}).filter(e)},commonAncestors:function(e){for(var t=void 0,n=0;n<this.length;n++){var r=this[n].parents();t=(t=t||r).intersect(r)}return t.filter(e)},orphans:function(e){return this.stdFilter(function(e){return e.isOrphan()}).filter(e)},nonorphans:function(e){return this.stdFilter(function(e){return e.isChild()}).filter(e)},children:function(e){for(var t=[],n=0;n<this.length;n++){var r=this[n];t=t.concat(r._private.children)}return this.spawn(t,{unique:!0}).filter(e)},siblings:function(e){return this.parent().children().not(this).filter(e)},isParent:function(){var e=this[0];if(e)return e.isNode()&&0!==e._private.children.length},isChildless:function(){var e=this[0];if(e)return e.isNode()&&0===e._private.children.length},isChild:function(){var e=this[0];if(e)return e.isNode()&&null!=e._private.parent},isOrphan:function(){var e=this[0];if(e)return e.isNode()&&null==e._private.parent},descendants:function(e){var t=[];return function e(n){for(var r=0;r<n.length;r++){var i=n[r];t.push(i),i.children().nonempty()&&e(i.children())}}(this.children()),this.spawn(t,{unique:!0}).filter(e)}};function o(e,t,n,i){for(var o=[],a=new r,s=e.cy().hasCompoundNodes(),l=0;l<e.length;l++){var c=e[l];n?o.push(c):s&&i(o,a,c)}for(;o.length>0;){var u=o.shift();t(u),a.add(u.id()),s&&i(o,a,u)}return e}function a(e,t,n){if(n.isParent())for(var r=n._private.children,i=0;i<r.length;i++){var o=r[i];t.has(o.id())||e.push(o)}}function s(e,t,n){if(n.isChild()){var r=n._private.parent;t.has(r.id())||e.push(r)}}function l(e,t,n){s(e,t,n),a(e,t,n)}i.forEachDown=function(e){return o(this,e,!(arguments.length>1&&void 0!==arguments[1])||arguments[1],a)},i.forEachUp=function(e){return o(this,e,!(arguments.length>1&&void 0!==arguments[1])||arguments[1],s)},i.forEachUpAndDown=function(e){return o(this,e,!(arguments.length>1&&void 0!==arguments[1])||arguments[1],l)},i.ancestors=i.parents,e.exports=i},function(e,t,n){"use strict";var r,i=n(4),o=void 0;(o=r={data:i.data({field:"data",bindingEvent:"data",allowBinding:!0,allowSetting:!0,settingEvent:"data",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,immutableKeys:{id:!0,source:!0,target:!0,parent:!0},updateStyle:!0}),removeData:i.removeData({field:"data",event:"data",triggerFnName:"trigger",triggerEvent:!0,immutableKeys:{id:!0,source:!0,target:!0,parent:!0},updateStyle:!0}),scratch:i.data({field:"scratch",bindingEvent:"scratch",allowBinding:!0,allowSetting:!0,settingEvent:"scratch",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,updateStyle:!0}),removeScratch:i.removeData({field:"scratch",event:"scratch",triggerFnName:"trigger",triggerEvent:!0,updateStyle:!0}),rscratch:i.data({field:"rscratch",allowBinding:!1,allowSetting:!0,settingTriggersEvent:!1,allowGetting:!0}),removeRscratch:i.removeData({field:"rscratch",triggerEvent:!1}),id:function(){var e=this[0];if(e)return e._private.data.id}}).attr=o.data,o.removeAttr=o.removeData,e.exports=r},function(e,t,n){"use strict";var r=n(1),i={};function o(e){return function(t){if(void 0===t&&(t=!0),0!==this.length&&this.isNode()&&!this.removed()){for(var n=0,r=this[0],i=r._private.edges,o=0;o<i.length;o++){var a=i[o];!t&&a.isLoop()||(n+=e(r,a))}return n}}}function a(e,t){return function(n){for(var r=void 0,i=this.nodes(),o=0;o<i.length;o++){var a=i[o][e](n);void 0===a||void 0!==r&&!t(a,r)||(r=a)}return r}}r.extend(i,{degree:o(function(e,t){return t.source().same(t.target())?2:1}),indegree:o(function(e,t){return t.target().same(e)?1:0}),outdegree:o(function(e,t){return t.source().same(e)?1:0})}),r.extend(i,{minDegree:a("degree",function(e,t){return e<t}),maxDegree:a("degree",function(e,t){return e>t}),minIndegree:a("indegree",function(e,t){return e<t}),maxIndegree:a("indegree",function(e,t){return e>t}),minOutdegree:a("outdegree",function(e,t){return e<t}),maxOutdegree:a("outdegree",function(e,t){return e>t})}),r.extend(i,{totalDegree:function(e){for(var t=0,n=this.nodes(),r=0;r<n.length;r++)t+=n[r].degree(e);return t}}),e.exports=i},function(e,t,n){"use strict";var r=n(1),i=n(57),o=n(58),a=n(59),s=n(60);e.exports=r.assign({},i,o,a,s)},function(e,t,n){"use strict";var r,i=n(4),o=n(0),a=n(2),s=void 0,l=function(e,t){for(var n=0;n<e.length;n++){var r=e[n];if(r.isParent()&&!r.locked()){var i=r._private.position,o={x:t.x-i.x,y:t.y-i.y};e.children().shift(o)}}};(s=r={position:i.data({field:"position",bindingEvent:"position",allowBinding:!0,allowSetting:!0,settingEvent:"position",settingTriggersEvent:!0,triggerFnName:"emitAndNotify",allowGetting:!0,validKeys:["x","y"],beforeGet:function(e){e.updateCompoundBounds()},beforeSet:l,onSet:function(e){e.dirtyCompoundBoundsCache()},canSet:function(e){return!e.locked()}}),silentPosition:i.data({field:"position",bindingEvent:"position",allowBinding:!1,allowSetting:!0,settingEvent:"position",settingTriggersEvent:!1,triggerFnName:"trigger",allowGetting:!1,validKeys:["x","y"],beforeSet:l,onSet:function(e){e.dirtyCompoundBoundsCache()},canSet:function(e){return!e.locked()}}),positions:function(e,t){if(o.plainObject(e))t?this.silentPosition(e):this.position(e);else if(o.fn(e)){var n=e,r=this.cy();r.startBatch();for(var i=0;i<this.length;i++){var a,s=this[i];(a=n(s,i))&&(t?s.silentPosition(a):s.position(a))}r.endBatch()}return this},silentPositions:function(e){return this.positions(e,!0)},shift:function(e,t){var n=void 0;if(o.plainObject(e)?n=e:o.string(e)&&o.number(t)&&((n={x:0,y:0})[e]=t),null!=n)for(var r=0;r<this.length;r++){var i=this[r],a=i.position();i.position({x:a.x+n.x,y:a.y+n.y})}return this},renderedPosition:function(e,t){var n=this[0],r=this.cy(),i=r.zoom(),s=r.pan(),l=o.plainObject(e)?e:void 0,c=void 0!==l||void 0!==t&&o.string(e);if(n&&n.isNode()){if(!c){var u=n.position();return l=a.modelToRenderedPosition(u,i,s),void 0===e?l:l[e]}for(var d=0;d<this.length;d++){var p=this[d];void 0!==t?p.position(e,(t-s[e])/i):void 0!==l&&p.position(a.renderedToModelPosition(l,i,s))}}else if(!c)return;return this},relativePosition:function(e,t){var n=this[0],r=this.cy(),i=o.plainObject(e)?e:void 0,a=void 0!==i||void 0!==t&&o.string(e),s=r.hasCompoundNodes();if(n&&n.isNode()){if(!a){var l=n.position(),c=s?n.parent():null,u=c&&c.length>0,d=u;u&&(c=c[0]);var p=d?c.position():{x:0,y:0};return i={x:l.x-p.x,y:l.y-p.y},void 0===e?i:i[e]}for(var f=0;f<this.length;f++){var h=this[f],g=s?h.parent():null,m=g&&g.length>0,v=m;m&&(g=g[0]);var b=v?g.position():{x:0,y:0};void 0!==t?h.position(e,t+b[e]):void 0!==i&&h.position({x:i.x+b.x,y:i.y+b.y})}}else if(!a)return;return this}}).modelPosition=s.point=s.position,s.modelPositions=s.points=s.positions,s.renderedPoint=s.renderedPosition,s.relativePoint=s.relativePosition,e.exports=r},function(e,t,n){"use strict";var r=n(0),i=n(1),o=n(2),a=void 0,s=void 0;a=s={},s.renderedBoundingBox=function(e){var t=this.boundingBox(e),n=this.cy(),r=n.zoom(),i=n.pan(),o=t.x1*r+i.x,a=t.x2*r+i.x,s=t.y1*r+i.y,l=t.y2*r+i.y;return{x1:o,x2:a,y1:s,y2:l,w:a-o,h:l-s}},s.dirtyCompoundBoundsCache=function(){var e=this.cy();return e.styleEnabled()&&e.hasCompoundNodes()?(this.forEachUp(function(e){e._private.compoundBoundsClean=!1,e.isParent()&&e.emit("bounds")}),this):this},s.updateCompoundBounds=function(){var e=this.cy();if(!e.styleEnabled()||!e.hasCompoundNodes())return this;if(e.batching())return this;var t=[];function n(e){if(e.isParent()){var n=e._private,r=e.children(),i="include"===e.pstyle("compound-sizing-wrt-labels").value,o={width:{val:e.pstyle("min-width").pfValue,left:e.pstyle("min-width-bias-left"),right:e.pstyle("min-width-bias-right")},height:{val:e.pstyle("min-height").pfValue,top:e.pstyle("min-height-bias-top"),bottom:e.pstyle("min-height-bias-bottom")}},a=r.boundingBox({includeLabels:i,includeOverlays:!1,useCache:!1}),s=n.position;0!==a.w&&0!==a.h||((a={w:e.pstyle("width").pfValue,h:e.pstyle("height").pfValue}).x1=s.x-a.w/2,a.x2=s.x+a.w/2,a.y1=s.y-a.h/2,a.y2=s.y+a.h/2);var l=o.width.left.value;"px"===o.width.left.units&&o.width.val>0&&(l=100*l/o.width.val);var c=o.width.right.value;"px"===o.width.right.units&&o.width.val>0&&(c=100*c/o.width.val);var u=o.height.top.value;"px"===o.height.top.units&&o.height.val>0&&(u=100*u/o.height.val);var d=o.height.bottom.value;"px"===o.height.bottom.units&&o.height.val>0&&(d=100*d/o.height.val);var p=b(o.width.val-a.w,l,c),f=p.biasDiff,h=p.biasComplementDiff,g=b(o.height.val-a.h,u,d),m=g.biasDiff,v=g.biasComplementDiff;n.autoPadding=function(e,t,n,r){if("%"!==n.units)return"px"===n.units?n.pfValue:0;switch(r){case"width":return e>0?n.pfValue*e:0;case"height":return t>0?n.pfValue*t:0;case"average":return e>0&&t>0?n.pfValue*(e+t)/2:0;case"min":return e>0&&t>0?e>t?n.pfValue*t:n.pfValue*e:0;case"max":return e>0&&t>0?e>t?n.pfValue*e:n.pfValue*t:0;default:return 0}}(a.w,a.h,e.pstyle("padding"),e.pstyle("padding-relative-to").value),n.autoWidth=Math.max(a.w,o.width.val),s.x=(-f+a.x1+a.x2+h)/2,n.autoHeight=Math.max(a.h,o.height.val),s.y=(-m+a.y1+a.y2+v)/2,t.push(e)}function b(e,t,n){var r=0,i=0,o=t+n;return e>0&&o>0&&(r=t/o*e,i=n/o*e),{biasDiff:r,biasComplementDiff:i}}}for(var r=0;r<this.length;r++){var i=this[r],o=i._private;o.compoundBoundsClean||(n(i),e._private.batchingStyle||(o.compoundBoundsClean=!0))}return this};var l=function(e){return e===1/0||e===-1/0?0:e},c=function(e,t,n,r,i){r-t!=0&&i-n!=0&&null!=t&&null!=n&&null!=r&&null!=i&&(e.x1=t<e.x1?t:e.x1,e.x2=r>e.x2?r:e.x2,e.y1=n<e.y1?n:e.y1,e.y2=i>e.y2?i:e.y2)},u=function(e,t){return c(e,t.x1,t.y1,t.x2,t.y2)},d=function(e,t,n){return i.getPrefixedProperty(e,t,n)},p=function(e,t,n){if(!t.cy().headless()){var r=t._private.rstyle,i=r.arrowWidth/2,o=void 0,a=void 0;"none"!==t.pstyle(n+"-arrow-shape").value&&("source"===n?(o=r.srcX,a=r.srcY):"target"===n?(o=r.tgtX,a=r.tgtY):(o=r.midX,a=r.midY),c(e,o-i,a-i,o+i,a+i))}},f=function(e,t,n){if(!t.cy().headless()){var r=void 0;r=n?n+"-":"";var i=t._private,o=i.rstyle;if(t.pstyle(r+"label").strValue){var a=t.pstyle("text-halign"),s=t.pstyle("text-valign"),l=d(o,"labelWidth",n),u=d(o,"labelHeight",n),p=d(o,"labelX",n),f=d(o,"labelY",n),h=t.pstyle(r+"text-margin-x").pfValue,g=t.pstyle(r+"text-margin-y").pfValue,m=t.isEdge(),v=t.pstyle(r+"text-rotation"),b=t.pstyle("text-outline-width").pfValue,y=t.pstyle("text-border-width").pfValue/2,x=t.pstyle("text-background-padding").pfValue,w=u+2*x,k=l+2*x,_=k/2,$=w/2,E=void 0,S=void 0,C=void 0,T=void 0;if(m)E=p-_,S=p+_,C=f-$,T=f+$;else{switch(a.value){case"left":E=p-k,S=p;break;case"center":E=p-_,S=p+_;break;case"right":E=p,S=p+k}switch(s.value){case"top":C=f-w,T=f;break;case"center":C=f-$,T=f+$;break;case"bottom":C=f,T=f+w}}var A=m&&"autorotate"===v.strValue,P=null!=v.pfValue&&0!==v.pfValue;if(A||P){var O=A?d(i.rstyle,"labelAngle",n):v.pfValue,R=Math.cos(O),j=Math.sin(O),D=function(e,t){return{x:(e-=p)*R-(t-=f)*j+p,y:e*j+t*R+f}},I=D(E,C),N=D(E,T),M=D(S,C),z=D(S,T);E=Math.min(I.x,N.x,M.x,z.x),S=Math.max(I.x,N.x,M.x,z.x),C=Math.min(I.y,N.y,M.y,z.y),T=Math.max(I.y,N.y,M.y,z.y)}E+=h-Math.max(b,y),S+=h+Math.max(b,y),C+=g-Math.max(b,y),T+=g+Math.max(b,y),c(e,E,C,S,T)}return e}},h=function(e){return e?"t":"f"},g=function(e){var t="";return t+=h(e.incudeNodes),t+=h(e.includeEdges),t+=h(e.includeLabels),t+=h(e.includeOverlays)},m=function(e,t){var n=e._private,r=void 0,i=e.cy().headless(),a=t===v?b:g(t);return t.useCache&&!i&&n.bbCache&&n.bbCache[a]?r=n.bbCache[a]:(r=function(e,t){var n=e._private.cy,r=n.styleEnabled(),i=n.headless(),a={x1:1/0,y1:1/0,x2:-1/0,y2:-1/0},s=e._private,u=r?e.pstyle("display").value:"element",d=e.isNode(),h=e.isEdge(),g=void 0,m=void 0,v=void 0,b=void 0,y=void 0,x=void 0,w="none"!==u;if(w){var k=0;r&&t.includeOverlays&&0!==e.pstyle("overlay-opacity").value&&(k=e.pstyle("overlay-padding").value);var _=0;if(r&&(_=e.pstyle("width").pfValue/2),d&&t.includeNodes){var $=e.position();y=$.x,x=$.y;var E=e.outerWidth()/2,S=e.outerHeight()/2;c(a,g=y-E-k,v=x-S-k,m=y+E+k,b=x+S+k)}else if(h&&t.includeEdges){var C=s.rstyle||{};if(r&&!i&&(g=Math.min(C.srcX,C.midX,C.tgtX),m=Math.max(C.srcX,C.midX,C.tgtX),v=Math.min(C.srcY,C.midY,C.tgtY),b=Math.max(C.srcY,C.midY,C.tgtY),c(a,g-=_,v-=_,m+=_,b+=_)),r&&!i&&"haystack"===e.pstyle("curve-style").strValue){var T=C.haystackPts||[];if(g=T[0].x,v=T[0].y,m=T[1].x,b=T[1].y,g>m){var A=g;g=m,m=A}if(v>b){var P=v;v=b,b=P}c(a,g-_,v-_,m+_,b+_)}else{for(var O=C.bezierPts||C.linePts||[],R=0;R<O.length;R++){var j=O[R];g=j.x-_,m=j.x+_,v=j.y-_,b=j.y+_,c(a,g,v,m,b)}if(0===O.length){var D=e.source().position(),I=e.target().position();if(g=D.x,m=I.x,v=D.y,b=I.y,g>m){var N=g;g=m,m=N}if(v>b){var M=v;v=b,b=M}c(a,g-=_,v-=_,m+=_,b+=_)}}}if(r&&t.includeEdges&&h&&(p(a,e,"mid-source"),p(a,e,"mid-target"),p(a,e,"source"),p(a,e,"target")),r&&"yes"===e.pstyle("ghost").value){var z=e.pstyle("ghost-offset-x").pfValue,L=e.pstyle("ghost-offset-y").pfValue;c(a,a.x1+z,a.y1+L,a.x2+z,a.y2+L)}r&&(g=a.x1,m=a.x2,v=a.y1,b=a.y2,c(a,g-k,v-k,m+k,b+k)),r&&t.includeLabels&&(f(a,e,null),h&&(f(a,e,"source"),f(a,e,"target")))}return a.x1=l(a.x1),a.y1=l(a.y1),a.x2=l(a.x2),a.y2=l(a.y2),a.w=l(a.x2-a.x1),a.h=l(a.y2-a.y1),a.w>0&&a.h>0&&w&&o.expandBoundingBox(a,1),a}(e,t),i||(n.bbCache=n.bbCache||{},n.bbCache[a]=r)),r},v={includeNodes:!0,includeEdges:!0,includeLabels:!0,includeOverlays:!0,useCache:!0},b=g(v);function y(e){return{includeNodes:i.default(e.includeNodes,v.includeNodes),includeEdges:i.default(e.includeEdges,v.includeEdges),includeLabels:i.default(e.includeLabels,v.includeLabels),includeOverlays:i.default(e.includeOverlays,v.includeOverlays),useCache:i.default(e.useCache,v.useCache)}}s.boundingBox=function(e){if(1===this.length&&this[0]._private.bbCache&&(void 0===e||void 0===e.useCache||!0===e.useCache))return e=void 0===e?v:y(e),m(this[0],e);var t={x1:1/0,y1:1/0,x2:-1/0,y2:-1/0},n=y(e=e||i.staticEmptyObject()),r=this.cy().styleEnabled();r&&this.recalculateRenderedStyle(n.useCache),this.updateCompoundBounds();for(var o={},a=0;a<this.length;a++){var s=this[a];if(r&&s.isEdge()&&"bezier"===s.pstyle("curve-style").strValue&&!o[s.id()]){for(var c=s.parallelEdges(),d=0;d<c.length;d++)o[c[d].id()]=!0;c.recalculateRenderedStyle(n.useCache)}u(t,m(s,n))}return t.x1=l(t.x1),t.y1=l(t.y1),t.x2=l(t.x2),t.y2=l(t.y2),t.w=l(t.x2-t.x1),t.h=l(t.y2-t.y1),t},s.boundingBoxAt=function(e){var t=this.nodes();if(r.plainObject(e)){var n=e;e=function(){return n}}for(var i=0;i<t.length;i++){var o=t[i],a=o._private,s=a.position,l=e.call(o,o,i);a.bbAtOldPos={x:s.x,y:s.y},l&&(s.x=l.x,s.y=l.y)}this.emit("dirty"),t.dirtyCompoundBoundsCache().updateCompoundBounds();for(var c=this.boundingBox({useCache:!1}),u=0;u<t.length;u++){var d=t[u],p=d._private,f=d._private.position,h=p.bbAtOldPos;f.x=h.x,f.y=h.y}return t.dirtyCompoundBoundsCache(),this.emit("dirty"),c},a.boundingbox=a.boundingBox,a.renderedBoundingbox=a.renderedBoundingBox,e.exports=s},function(e,t,n){"use strict";var r=n(1),i=void 0,o=void 0;i=o={};var a=function(e){e.uppercaseName=r.capitalize(e.name),e.autoName="auto"+e.uppercaseName,e.labelName="label"+e.uppercaseName,e.outerName="outer"+e.uppercaseName,e.uppercaseOuterName=r.capitalize(e.outerName),i[e.name]=function(){var t=this[0],n=t._private,r=n.cy._private.styleEnabled;if(t){if(!r)return 1;if(t.isParent())return t.updateCompoundBounds(),n[e.autoName]||0;var i=t.pstyle(e.name);switch(i.strValue){case"label":return t.recalculateRenderedStyle(),n.rstyle[e.labelName]||0;default:return i.pfValue}}},i["outer"+e.uppercaseName]=function(){var t=this[0],n=t._private.cy._private.styleEnabled;if(t)return n?t[e.name]()+t.pstyle("border-width").pfValue+2*t.padding():1},i["rendered"+e.uppercaseName]=function(){var t=this[0];if(t)return t[e.name]()*this.cy().zoom()},i["rendered"+e.uppercaseOuterName]=function(){var t=this[0];if(t)return t[e.outerName]()*this.cy().zoom()}};a({name:"width"}),a({name:"height"}),o.padding=function(){var e=this[0],t=e._private;return e.isParent()?(e.updateCompoundBounds(),void 0!==t.autoPadding?t.autoPadding:e.pstyle("padding").pfValue):e.pstyle("padding").pfValue},e.exports=o},function(e,t,n){"use strict";var r=function(e,t){if(e.isEdge())return t(e.renderer())};e.exports={controlPoints:function(){var e=this;return r(this,function(t){return t.getControlPoints(e)})},segmentPoints:function(){var e=this;return r(this,function(t){return t.getSegmentPoints(e)})},sourceEndpoint:function(){var e=this;return r(this,function(t){return t.getSourceEndpoint(e)})},targetEndpoint:function(){var e=this;return r(this,function(t){return t.getTargetEndpoint(e)})},midpoint:function(){var e=this;return r(this,function(t){return t.getEdgeMidpoint(e)})}}},function(e,t,n){"use strict";var r=n(11),i=n(4),o=n(0),a=n(1),s=n(6),l={qualifierCompare:function(e,t){return null==e||null==t?null==e&&null==t:e.sameText(t)},eventMatches:function(e,t,n){var r=t.qualifier;return null==r||e!==n.target&&o.element(n.target)&&r.matches(n.target)},eventFields:function(e){return{cy:e.cy(),target:e}},callbackContext:function(e,t,n){return null!=t.qualifier?n.target:e},beforeEmit:function(e,t){t.conf&&t.conf.once&&t.conf.onceCollection.removeListener(t.event,t.qualifier,t.callback)},bubble:function(){return!0},parent:function(e){return e.isChild()?e.parent():e.cy()}},c=function(e){return o.string(e)?new s(e):e},u={createEmitter:function(){for(var e=0;e<this.length;e++){var t=this[e],n=t._private;n.emitter||(n.emitter=new r(a.assign({context:t},l)))}return this},emitter:function(){return this._private.emitter},on:function(e,t,n){for(var r=0;r<this.length;r++){this[r].emitter().on(e,c(t),n)}return this},removeListener:function(e,t,n){for(var r=0;r<this.length;r++){this[r].emitter().removeListener(e,c(t),n)}return this},one:function(e,t,n){for(var r=0;r<this.length;r++){this[r].emitter().one(e,c(t),n)}return this},once:function(e,t,n){for(var r=0;r<this.length;r++){this[r].emitter().on(e,c(t),n,{once:!0,onceCollection:this})}},emit:function(e,t){for(var n=0;n<this.length;n++){this[n].emitter().emit(e,t)}return this},emitAndNotify:function(e,t){if(0!==this.length)return this.cy().notify({type:e,eles:this}),this.emit(e,t),this}};i.eventAliasesOn(u),e.exports=u},function(e,t,n){"use strict";var r=n(0),i=n(6),o={nodes:function(e){return this.filter(function(e){return e.isNode()}).filter(e)},edges:function(e){return this.filter(function(e){return e.isEdge()}).filter(e)},filter:function(e,t){if(void 0===e)return this;if(r.string(e)||r.elementOrCollection(e))return new i(e).filter(this);if(r.fn(e)){for(var n=this.spawn(),o=0;o<this.length;o++){var a=this[o];(t?e.apply(t,[a,o,this]):e(a,o,this))&&n.merge(a)}return n}return this.spawn()},not:function(e){if(e){r.string(e)&&(e=this.filter(e));for(var t=[],n=e._private.map,i=0;i<this.length;i++){var o=this[i];n.has(o.id())||t.push(o)}return this.spawn(t)}return this},absoluteComplement:function(){return this.cy().mutableElements().not(this)},intersect:function(e){if(r.string(e)){var t=e;return this.filter(t)}for(var n=[],i=e,o=this.length<e.length,a=o?i._private.map:this._private.map,s=o?this:i,l=0;l<s.length;l++){var c=s[l]._private.data.id,u=a.get(c);u&&n.push(u.ele)}return this.spawn(n)},xor:function(e){var t=this._private.cy;r.string(e)&&(e=t.$(e));var n=[],i=e,o=function(e,t){for(var r=0;r<e.length;r++){var i=e[r],o=i._private.data.id;t.hasElementWithId(o)||n.push(i)}};return o(this,i),o(i,this),this.spawn(n)},diff:function(e){var t=this._private.cy;r.string(e)&&(e=t.$(e));var n=[],i=[],o=[],a=e,s=function(e,t,n){for(var r=0;r<e.length;r++){var i=e[r],a=i._private.data.id;t.hasElementWithId(a)?o.push(i):n.push(i)}};return s(this,a,n),s(a,this,i),{left:this.spawn(n,{unique:!0}),right:this.spawn(i,{unique:!0}),both:this.spawn(o,{unique:!0})}},add:function(e){var t=this._private.cy;if(!e)return this;if(r.string(e)){var n=e;e=t.mutableElements().filter(n)}for(var i=[],o=0;o<this.length;o++)i.push(this[o]);for(var a=this._private.map,s=0;s<e.length;s++){var l=!a.has(e[s].id());l&&i.push(e[s])}return this.spawn(i)},merge:function(e){var t=this._private,n=t.cy;if(!e)return this;if(e&&r.string(e)){var i=e;e=n.mutableElements().filter(i)}for(var o=t.map,a=0;a<e.length;a++){var s=e[a],l=s._private.data.id;if(!o.has(l)){var c=this.length++;this[c]=s,o.set(l,{ele:s,index:c})}else{var u=o.get(l).index;this[u]=s,o.set(l,{ele:s,index:u})}}return this},unmergeOne:function(e){e=e[0];var t=this._private,n=e._private.data.id,r=t.map,i=r.get(n);if(!i)return this;var o=i.index;this[o]=void 0,r.delete(n);var a=o===this.length-1;if(this.length>1&&!a){var s=this.length-1,l=this[s],c=l._private.data.id;this[s]=void 0,this[o]=l,r.set(c,{ele:l,index:o})}return this.length--,this},unmerge:function(e){var t=this._private.cy;if(!e)return this;if(e&&r.string(e)){var n=e;e=t.mutableElements().filter(n)}for(var i=0;i<e.length;i++)this.unmergeOne(e[i]);return this},map:function(e,t){for(var n=[],r=0;r<this.length;r++){var i=this[r],o=t?e.apply(t,[i,r,this]):e(i,r,this);n.push(o)}return n},reduce:function(e,t){for(var n=t,r=0;r<this.length;r++)n=e(n,this[r],r,this);return n},max:function(e,t){for(var n=-1/0,r=void 0,i=0;i<this.length;i++){var o=this[i],a=t?e.apply(t,[o,i,this]):e(o,i,this);a>n&&(n=a,r=o)}return{value:n,ele:r}},min:function(e,t){for(var n=1/0,r=void 0,i=0;i<this.length;i++){var o=this[i],a=t?e.apply(t,[o,i,this]):e(o,i,this);a<n&&(n=a,r=o)}return{value:n,ele:r}}},a=o;a.u=a["|"]=a["+"]=a.union=a.or=a.add,a["\\"]=a["!"]=a["-"]=a.difference=a.relativeComplement=a.subtract=a.not,a.n=a["&"]=a["."]=a.and=a.intersection=a.intersect,a["^"]=a["(+)"]=a["(-)"]=a.symmetricDifference=a.symdiff=a.xor,a.fnFilter=a.filterFn=a.stdFilter=a.filter,a.complement=a.abscomp=a.absoluteComplement,e.exports=o},function(e,t,n){"use strict";e.exports={isNode:function(){return"nodes"===this.group()},isEdge:function(){return"edges"===this.group()},isLoop:function(){return this.isEdge()&&this.source().id()===this.target().id()},isSimple:function(){return this.isEdge()&&this.source().id()!==this.target().id()},group:function(){var e=this[0];if(e)return e._private.group}}},function(e,t,n){"use strict";var r=n(0),i=n(17),o=n(1),a={forEach:function(e,t){if(r.fn(e))for(var n=0;n<this.length;n++){var i=this[n];if(!1===(t?e.apply(t,[i,n,this]):e(i,n,this)))break}return this},toArray:function(){for(var e=[],t=0;t<this.length;t++)e.push(this[t]);return e},slice:function(e,t){var n=[],r=this.length;null==t&&(t=r),null==e&&(e=0),e<0&&(e=r+e),t<0&&(t=r+t);for(var i=e;i>=0&&i<t&&i<r;i++)n.push(this[i]);return this.spawn(n)},size:function(){return this.length},eq:function(e){return this[e]||this.spawn()},first:function(){return this[0]||this.spawn()},last:function(){return this[this.length-1]||this.spawn()},empty:function(){return 0===this.length},nonempty:function(){return!this.empty()},sort:function(e){if(!r.fn(e))return this;var t=this.toArray().sort(e);return this.spawn(t)},sortByZIndex:function(){return this.sort(i)},zDepth:function(){var e=this[0];if(e){var t=e._private;if("nodes"===t.group){var n=t.data.parent?e.parents().size():0;return e.isParent()?n:o.MAX_INT-1}var r=t.source,i=t.target,a=r.zDepth(),s=i.zDepth();return Math.max(a,s,0)}}};a.each=a.forEach,e.exports=a},function(e,t,n){"use strict";var r=n(0),i=n(1),o=n(5),a=n(2),s={layoutDimensions:function(e){if((e=i.assign({nodeDimensionsIncludeLabels:!0},e)).nodeDimensionsIncludeLabels){var t=this.boundingBox();return{w:t.w,h:t.h}}return{w:this.outerWidth(),h:this.outerHeight()}},layoutPositions:function(e,t,n){var s=this.nodes(),l=this.cy(),c=t.eles,u=function(e,t){return e.id()+"$"+t},d=i.memoize(n,u);e.emit({type:"layoutstart",layout:e}),e.animations=[];var p=t.spacingFactor&&1!==t.spacingFactor,f=function(){if(!p)return null;for(var e=a.makeBoundingBox(),t=0;t<s.length;t++){var n=s[t],r=d(n,t);a.expandBoundingBoxByPoint(e,r.x,r.y)}return e}(),h=i.memoize(function(e,n){var i=d(e,n),o=e.position();(r.number(o.x)&&r.number(o.y)||e.silentPosition({x:0,y:0}),p)&&(i=function(e,t,n){var r=t.x1+t.w/2,i=t.y1+t.h/2;return{x:r+(n.x-r)*e,y:i+(n.y-i)*e}}(Math.abs(t.spacingFactor),f,i));return null!=t.transform&&(i=t.transform(e,i)),i},u);if(t.animate){for(var g=0;g<s.length;g++){var m=s[g],v=h(m,g);if(null==t.animateFilter||t.animateFilter(m,g)){var b=m.animation({position:v,duration:t.animationDuration,easing:t.animationEasing});e.animations.push(b),b.play()}else m.position(v)}if(t.fit){var y=l.animation({fit:{boundingBox:c.boundingBoxAt(h),padding:t.padding},duration:t.animationDuration,easing:t.animationEasing});e.animations.push(y),y.play()}else if(void 0!==t.zoom&&void 0!==t.pan){var x=l.animation({zoom:t.zoom,pan:t.pan,duration:t.animationDuration,easing:t.animationEasing});e.animations.push(x),x.play()}e.one("layoutready",t.ready),e.emit({type:"layoutready",layout:e}),o.all(e.animations.map(function(e){return e.promise()})).then(function(){e.one("layoutstop",t.stop),e.emit({type:"layoutstop",layout:e})})}else s.positions(h),t.fit&&l.fit(t.eles,t.padding),null!=t.zoom&&l.zoom(t.zoom),t.pan&&l.pan(t.pan),e.one("layoutready",t.ready),e.emit({type:"layoutready",layout:e}),e.one("layoutstop",t.stop),e.emit({type:"layoutstop",layout:e});return this},layout:function(e){return this.cy().makeLayout(i.extend({},e,{eles:this}))}};s.createLayout=s.makeLayout=s.layout,e.exports=s},function(e,t,n){"use strict";var r=n(0);function i(e,t,n){var r,i=n._private,o=i.styleCache=i.styleCache||{};return null!=(r=o[e])?r:r=o[e]=t(n)}function o(e,t){return function(n){return i(e,t,n)}}function a(e,t){var n=function(e){return t.call(e)};return function(){var t=this[0];if(t)return i(e,n,t)}}var s={recalculateRenderedStyle:function(e){var t=this.cy(),n=t.renderer(),r=t.styleEnabled();return n&&r&&n.recalculateRenderedStyle(this,e),this},dirtyStyleCache:function(){var e=function(e){return e._private.styleCache={}};if(this.cy().hasCompoundNodes()){var t=void 0;(t=this.spawnSelf().merge(this.descendants()).merge(this.parents())).merge(t.connectedEdges()),t.forEach(e)}else this.forEach(function(t){e(t),t.connectedEdges().forEach(e)});return this},updateStyle:function(e){var t=this._private.cy;if(!t.styleEnabled())return this;if(t._private.batchingStyle)return t._private.batchStyleEles.merge(this),this;var n=t.hasCompoundNodes(),r=t.style(),i=this;e=!(!e&&void 0!==e),n&&(i=this.spawnSelf().merge(this.descendants()).merge(this.parents()));var o=r.apply(i);return o.dirtyStyleCache(),o.dirtyCompoundBoundsCache(),e?o.emitAndNotify("style"):o.emit("style"),this},updateMappers:function(e){var t=this._private.cy,n=t.style();if(e=!(!e&&void 0!==e),!t.styleEnabled())return this;var r=n.updateMappers(this);return r.dirtyStyleCache(),r.dirtyCompoundBoundsCache(),e?r.emitAndNotify("style"):r.emit("style"),this},parsedStyle:function(e){var t=this[0],n=t.cy();if(n.styleEnabled())return t?t._private.style[e]||n.style().getDefaultProperty(e):void 0},numericStyle:function(e){var t=this[0];if(t.cy().styleEnabled()&&t){var n=t.pstyle(e);return void 0!==n.pfValue?n.pfValue:n.value}},numericStyleUnits:function(e){var t=this[0];if(t.cy().styleEnabled())return t?t.pstyle(e).units:void 0},renderedStyle:function(e){var t=this.cy();if(!t.styleEnabled())return this;var n=this[0];return n?t.style().getRenderedStyle(n,e):void 0},style:function(e,t){var n=this.cy();if(!n.styleEnabled())return this;var i=n.style();if(r.plainObject(e)){var o=e;i.applyBypass(this,o,!1),this.dirtyStyleCache(),this.dirtyCompoundBoundsCache(),this.emitAndNotify("style")}else if(r.string(e)){if(void 0===t){var a=this[0];return a?i.getStylePropertyValue(a,e):void 0}i.applyBypass(this,e,t,!1),this.dirtyStyleCache(),this.dirtyCompoundBoundsCache(),this.emitAndNotify("style")}else if(void 0===e){var s=this[0];return s?i.getRawStyle(s):void 0}return this},removeStyle:function(e){var t=this.cy();if(!t.styleEnabled())return this;var n=t.style();if(void 0===e)for(var r=0;r<this.length;r++){var i=this[r];n.removeAllBypasses(i,!1)}else{e=e.split(/\s+/);for(var o=0;o<this.length;o++){var a=this[o];n.removeBypasses(a,e,!1)}}return this.dirtyStyleCache(),this.dirtyCompoundBoundsCache(),this.emitAndNotify("style"),this},show:function(){return this.css("display","element"),this},hide:function(){return this.css("display","none"),this},effectiveOpacity:function(){var e=this.cy();if(!e.styleEnabled())return 1;var t=e.hasCompoundNodes(),n=this[0];if(n){var r=n._private,i=n.pstyle("opacity").value;if(!t)return i;var o=r.data.parent?n.parents():null;if(o)for(var a=0;a<o.length;a++){i*=o[a].pstyle("opacity").value}return i}},transparent:function(){if(!this.cy().styleEnabled())return!1;var e=this[0],t=e.cy().hasCompoundNodes();return e?t?0===e.effectiveOpacity():0===e.pstyle("opacity").value:void 0},backgrounding:function(){return!!this.cy().styleEnabled()&&!!this[0]._private.backgrounding}};function l(e,t){var n=e._private.data.parent?e.parents():null;if(n)for(var r=0;r<n.length;r++){if(!t(n[r]))return!1}return!0}function c(e){var t=e.ok,n=e.edgeOkViaNode||e.ok,r=e.parentOk||e.ok;return function(){var e=this.cy();if(!e.styleEnabled())return!0;var i=this[0],o=e.hasCompoundNodes();if(i){var a=i._private;if(!t(i))return!1;if(i.isNode())return!o||l(i,r);var s=a.source,c=a.target;return n(s)&&(!o||l(s,n))&&(s===c||n(c)&&(!o||l(c,n)))}}}var u=o("eleTakesUpSpace",function(e){return"element"===e.pstyle("display").value&&0!==e.width()&&(!e.isNode()||0!==e.height())});s.takesUpSpace=a("takesUpSpace",c({ok:u}));var d=o("eleInteractive",function(e){return"yes"===e.pstyle("events").value&&"visible"===e.pstyle("visibility").value&&u(e)}),p=o("parentInteractive",function(e){return"visible"===e.pstyle("visibility").value&&u(e)});s.interactive=a("interactive",c({ok:d,parentOk:p,edgeOkViaNode:u})),s.noninteractive=function(){var e=this[0];if(e)return!e.interactive()};var f=o("eleVisible",function(e){return"visible"===e.pstyle("visibility").value&&0!==e.pstyle("opacity").pfValue&&u(e)}),h=u;s.visible=a("visible",c({ok:f,edgeOkViaNode:h})),s.hidden=function(){var e=this[0];if(e)return!e.visible()},s.bypass=s.css=s.style,s.renderedCss=s.renderedStyle,s.removeBypass=s.removeCss=s.removeStyle,s.pstyle=s.parsedStyle,e.exports=s},function(e,t,n){"use strict";var r={};function i(e){return function(){var t=arguments,n=[];if(2===t.length){var r=t[0],i=t[1];this.on(e.event,r,i)}else if(1===t.length){var o=t[0];this.on(e.event,o)}else if(0===t.length){for(var a=0;a<this.length;a++){var s=this[a],l=!e.ableField||s._private[e.ableField],c=s._private[e.field]!=e.value;if(e.overrideAble){var u=e.overrideAble(s);if(void 0!==u&&(l=u,!u))return this}l&&(s._private[e.field]=e.value,c&&n.push(s))}var d=this.spawn(n);d.updateStyle(),d.emit(e.event)}return this}}function o(e){r[e.field]=function(){var t=this[0];if(t){if(e.overrideField){var n=e.overrideField(t);if(void 0!==n)return n}return t._private[e.field]}},r[e.on]=i({event:e.on,field:e.field,ableField:e.ableField,overrideAble:e.overrideAble,value:!0}),r[e.off]=i({event:e.off,field:e.field,ableField:e.ableField,overrideAble:e.overrideAble,value:!1})}o({field:"locked",overrideField:function(e){return!!e.cy().autolock()||void 0},on:"lock",off:"unlock"}),o({field:"grabbable",overrideField:function(e){return!e.cy().autoungrabify()&&void 0},on:"grabify",off:"ungrabify"}),o({field:"selected",ableField:"selectable",overrideAble:function(e){return!e.cy().autounselectify()&&void 0},on:"select",off:"unselect"}),o({field:"selectable",overrideField:function(e){return!e.cy().autounselectify()&&void 0},on:"selectify",off:"unselectify"}),r.deselect=r.unselect,r.grabbed=function(){var e=this[0];if(e)return e._private.grabbed},o({field:"active",on:"activate",off:"unactivate"}),r.inactive=function(){var e=this[0];if(e)return!e._private.active},e.exports=r},function(e,t,n){"use strict";var r=n(1),i=n(0),o={},a=function(e,t){return function(n,r,o,a){var s=n,l=void 0;if(null==s?l="null":i.elementOrCollection(s)&&1===s.length&&(l="#"+s.id()),1===this.length&&l){var c=this[0]._private,u=c.traversalCache=c.traversalCache||{},d=u[t]=u[t]||{},p=d[l];return p||(d[l]=e.call(this,n,r,o,a))}return e.call(this,n,r,o,a)}},s=function(e){return function(t){for(var n=[],r=0;r<this.length;r++){var i=this[r];if(i.isNode()){for(var o=!1,a=i.connectedEdges(),s=0;s<a.length;s++){var l=a[s],c=l.source(),u=l.target();if(e.noIncomingEdges&&u===i&&c!==i||e.noOutgoingEdges&&c===i&&u!==i){o=!0;break}}o||n.push(i)}}return this.spawn(n,{unique:!0}).filter(t)}},l=function(e){return function(t){for(var n=[],r=0;r<this.length;r++){var i=this[r];if(i.isNode())for(var o=i.connectedEdges(),a=0;a<o.length;a++){var s=o[a],l=s.source(),c=s.target();e.outgoing&&l===i?(n.push(s),n.push(c)):e.incoming&&c===i&&(n.push(s),n.push(l))}}return this.spawn(n,{unique:!0}).filter(t)}},c=function(e){return function(t){for(var n=this,r=[],i={};;){var o=e.outgoing?n.outgoers():n.incomers();if(0===o.length)break;for(var a=!1,s=0;s<o.length;s++){var l=o[s],c=l.id();i[c]||(i[c]=!0,r.push(l),a=!0)}if(!a)break;n=o}return this.spawn(r,{unique:!0}).filter(t)}};function u(e){return function(t){for(var n=[],r=0;r<this.length;r++){var i=this[r]._private[e.attr];i&&n.push(i)}return this.spawn(n,{unique:!0}).filter(t)}}function d(e){return function(t){var n=[],r=this._private.cy,o=e||{};i.string(t)&&(t=r.$(t));for(var a=0;a<t.length;a++)for(var s=t[a]._private.edges,l=0;l<s.length;l++){var c=s[l],u=c._private.data,d=this.hasElementWithId(u.source)&&t.hasElementWithId(u.target),p=t.hasElementWithId(u.source)&&this.hasElementWithId(u.target);if(d||p){if(o.thisIsSrc||o.thisIsTgt){if(o.thisIsSrc&&!d)continue;if(o.thisIsTgt&&!p)continue}n.push(c)}}return this.spawn(n,{unique:!0})}}function p(e){return e=r.extend({},{codirected:!1},e),function(t){for(var n=[],r=this.edges(),i=e,o=0;o<r.length;o++)for(var a=r[o]._private,s=a.source,l=s._private.data.id,c=a.data.target,u=s._private.edges,d=0;d<u.length;d++){var p=u[d],f=p._private.data,h=f.target,g=f.source,m=h===c&&g===l,v=l===h&&c===g;(i.codirected&&m||!i.codirected&&(m||v))&&n.push(p)}return this.spawn(n,{unique:!0}).filter(t)}}o.clearTraversalCache=function(){for(var e=0;e<this.length;e++)this[e]._private.traversalCache=null},r.extend(o,{roots:s({noIncomingEdges:!0}),leaves:s({noOutgoingEdges:!0}),outgoers:a(l({outgoing:!0}),"outgoers"),successors:c({outgoing:!0}),incomers:a(l({incoming:!0}),"incomers"),predecessors:c({incoming:!0})}),r.extend(o,{neighborhood:a(function(e){for(var t=[],n=this.nodes(),r=0;r<n.length;r++)for(var i=n[r],o=i.connectedEdges(),a=0;a<o.length;a++){var s=o[a],l=s.source(),c=s.target(),u=i===l?c:l;u.length>0&&t.push(u[0]),t.push(s[0])}return this.spawn(t,{unique:!0}).filter(e)},"neighborhood"),closedNeighborhood:function(e){return this.neighborhood().add(this).filter(e)},openNeighborhood:function(e){return this.neighborhood(e)}}),o.neighbourhood=o.neighborhood,o.closedNeighbourhood=o.closedNeighborhood,o.openNeighbourhood=o.openNeighborhood,r.extend(o,{source:a(function(e){var t=this[0],n=void 0;return t&&(n=t._private.source||t.cy().collection()),n&&e?n.filter(e):n},"source"),target:a(function(e){var t=this[0],n=void 0;return t&&(n=t._private.target||t.cy().collection()),n&&e?n.filter(e):n},"target"),sources:u({attr:"source"}),targets:u({attr:"target"})}),r.extend(o,{edgesWith:a(d(),"edgesWith"),edgesTo:a(d({thisIsSrc:!0}),"edgesTo")}),r.extend(o,{connectedEdges:a(function(e){for(var t=[],n=0;n<this.length;n++){var r=this[n];if(r.isNode())for(var i=r._private.edges,o=0;o<i.length;o++){var a=i[o];t.push(a)}}return this.spawn(t,{unique:!0}).filter(e)},"connectedEdges"),connectedNodes:a(function(e){for(var t=[],n=0;n<this.length;n++){var r=this[n];r.isEdge()&&(t.push(r.source()[0]),t.push(r.target()[0]))}return this.spawn(t,{unique:!0}).filter(e)},"connectedNodes"),parallelEdges:a(p(),"parallelEdges"),codirectedEdges:a(p({codirected:!0}),"codirectedEdges")}),r.extend(o,{components:function(){var e=this,t=e.cy(),n=e.spawn(),r=e.nodes().spawnSelf(),i=[],o=function(e,t){n.merge(e),r.unmerge(e),t.merge(e)};if(r.empty())return e.spawn();var a=function(){var n=t.collection();i.push(n);var a=r[0];o(a,n),e.bfs({directed:!1,roots:a,visit:function(e,t,r,i,a){o(e,n)}})};do{a()}while(r.length>0);return i.map(function(e){var t=e.connectedEdges().stdFilter(function(t){return e.anySame(t.source())&&e.anySame(t.target())});return e.union(t)})}}),e.exports=o},function(e,t,n){"use strict";var r=n(0),i=n(1),o=n(7),a=n(14),s={add:function(e){var t=void 0,n=this;if(r.elementOrCollection(e)){var s=e;if(s._private.cy===n)t=s.restore();else{for(var l=[],c=0;c<s.length;c++){var u=s[c];l.push(u.json())}t=new o(n,l)}}else if(r.array(e)){t=new o(n,e)}else if(r.plainObject(e)&&(r.array(e.nodes)||r.array(e.edges))){for(var d=e,p=[],f=["nodes","edges"],h=0,g=f.length;h<g;h++){var m=f[h],v=d[m];if(r.array(v))for(var b=0,y=v.length;b<y;b++){var x=i.extend({group:m},v[b]);p.push(x)}}t=new o(n,p)}else{t=new a(n,e).collection()}return t},remove:function(e){if(r.elementOrCollection(e));else if(r.string(e)){var t=e;e=this.$(t)}return e.remove()}};e.exports=s},function(e,t,n){"use strict";var r=n(4),i=n(1),o=n(71),a={animate:r.animate(),animation:r.animation(),animated:r.animated(),clearQueue:r.clearQueue(),delay:r.delay(),delayAnimation:r.delayAnimation(),stop:r.stop(),addToAnimationPool:function(e){this.styleEnabled()&&this._private.aniEles.merge(e)},stopAnimationLoop:function(){this._private.animationsRunning=!1},startAnimationLoop:function(){var e=this;if(e._private.animationsRunning=!0,e.styleEnabled()){var t=e.renderer();t&&t.beforeRender?t.beforeRender(function(t,n){o(n,e)},t.beforeRenderPriorities.animations):function t(){e._private.animationsRunning&&i.requestAnimationFrame(function(n){o(n,e),t()})}()}}};e.exports=a},function(e,t,n){"use strict";var r=n(72),i=n(77);e.exports=function(e,t){var n=t._private.aniEles,o=[];function a(t,n){var a=t._private,s=a.animation.current,l=a.animation.queue,c=!1;if(!n&&"none"===t.pstyle("display").value){s=s.splice(0,s.length).concat(l.splice(0,l.length));for(var u=0;u<s.length;u++)s[u].stop()}if(0===s.length){var d=l.shift();d&&s.push(d)}for(var p=function(e){for(var t=e.length-1;t>=0;t--)(0,e[t])();e.splice(0,e.length)},f=s.length-1;f>=0;f--){var h=s[f],g=h._private;g.stopped?(s.splice(f,1),g.hooked=!1,g.playing=!1,g.started=!1,p(g.frames)):(g.playing||g.applying)&&(g.playing&&g.applying&&(g.applying=!1),g.started||i(t,h,e,n),r(t,h,e,n),g.applying&&(g.applying=!1),p(g.frames),h.completed()&&(s.splice(f,1),g.hooked=!1,g.playing=!1,g.started=!1,p(g.completes)),c=!0)}return n||0!==s.length||0!==l.length||o.push(t),c}for(var s=!1,l=0;l<n.length;l++){var c=a(n[l]);s=s||c}var u=a(t,!0);(s||u)&&(n.length>0?(n.dirtyCompoundBoundsCache(),t.notify({type:"draw",eles:n})):t.notify({type:"draw"})),n.unmerge(o),t.emit("step")}},function(e,t,n){"use strict";var r=n(73),i=n(76),o=n(0);function a(e,t){return null!=e&&null!=t&&(!(!o.number(e)||!o.number(t))||!(!e||!t))}e.exports=function(e,t,n,s){var l=!s,c=e._private,u=t._private,d=u.easing,p=u.startTime,f=(s?e:e.cy()).style();if(!u.easingImpl)if(null==d)u.easingImpl=r.linear;else{var h=void 0;h=o.string(d)?f.parse("transition-timing-function",d).value:d;var g=void 0,m=void 0;o.string(h)?(g=h,m=[]):(g=h[1],m=h.slice(2).map(function(e){return+e})),m.length>0?("spring"===g&&m.push(u.duration),u.easingImpl=r[g].apply(null,m)):u.easingImpl=r[g]}var v=u.easingImpl,b=void 0;if(b=0===u.duration?1:(n-p)/u.duration,u.applying&&(b=u.progress),b<0?b=0:b>1&&(b=1),null==u.delay){var y=u.startPosition,x=u.position;if(x&&l&&!e.locked()){var w=e.position();a(y.x,x.x)&&(w.x=i(y.x,x.x,b,v)),a(y.y,x.y)&&(w.y=i(y.y,x.y,b,v)),e.emit("position")}var k=u.startPan,_=u.pan,$=c.pan,E=null!=_&&s;E&&(a(k.x,_.x)&&($.x=i(k.x,_.x,b,v)),a(k.y,_.y)&&($.y=i(k.y,_.y,b,v)),e.emit("pan"));var S=u.startZoom,C=u.zoom,T=null!=C&&s;T&&(a(S,C)&&(c.zoom=i(S,C,b,v)),e.emit("zoom")),(E||T)&&e.emit("viewport");var A=u.style;if(A&&A.length>0&&l){for(var P=0;P<A.length;P++){var O=A[P],R=O.name,j=O,D=u.startStyle[R],I=f.properties[D.name],N=i(D,j,b,v,I);f.overrideBypass(e,R,N)}e.emit("style")}}return u.progress=b,b}},function(e,t,n){"use strict";var r=n(74),i=n(75),o=function(e,t,n,i){var o=r(e,t,n,i);return function(e,t,n){return e+(t-e)*o(n)}},a={linear:function(e,t,n){return e+(t-e)*n},ease:o(.25,.1,.25,1),"ease-in":o(.42,0,1,1),"ease-out":o(0,0,.58,1),"ease-in-out":o(.42,0,.58,1),"ease-in-sine":o(.47,0,.745,.715),"ease-out-sine":o(.39,.575,.565,1),"ease-in-out-sine":o(.445,.05,.55,.95),"ease-in-quad":o(.55,.085,.68,.53),"ease-out-quad":o(.25,.46,.45,.94),"ease-in-out-quad":o(.455,.03,.515,.955),"ease-in-cubic":o(.55,.055,.675,.19),"ease-out-cubic":o(.215,.61,.355,1),"ease-in-out-cubic":o(.645,.045,.355,1),"ease-in-quart":o(.895,.03,.685,.22),"ease-out-quart":o(.165,.84,.44,1),"ease-in-out-quart":o(.77,0,.175,1),"ease-in-quint":o(.755,.05,.855,.06),"ease-out-quint":o(.23,1,.32,1),"ease-in-out-quint":o(.86,0,.07,1),"ease-in-expo":o(.95,.05,.795,.035),"ease-out-expo":o(.19,1,.22,1),"ease-in-out-expo":o(1,0,0,1),"ease-in-circ":o(.6,.04,.98,.335),"ease-out-circ":o(.075,.82,.165,1),"ease-in-out-circ":o(.785,.135,.15,.86),spring:function(e,t,n){if(0===n)return a.linear;var r=i(e,t,n);return function(e,t,n){return e+(t-e)*r(n)}},"cubic-bezier":o};e.exports=a},function(e,t,n){"use strict";
+*/var r=function(e,t){this.recycle(e,t)};function i(){return!1}function o(){return!0}r.prototype={instanceString:function(){return"event"},recycle:function(e,t){if(this.isImmediatePropagationStopped=this.isPropagationStopped=this.isDefaultPrevented=i,null!=e&&e.preventDefault?(this.type=e.type,this.isDefaultPrevented=e.defaultPrevented?o:i):null!=e&&e.type?t=e:this.type=e,null!=t&&(this.originalEvent=t.originalEvent,this.type=null!=t.type?t.type:this.type,this.cy=t.cy,this.target=t.target,this.position=t.position,this.renderedPosition=t.renderedPosition,this.namespace=t.namespace,this.layout=t.layout),null!=this.cy&&null!=this.position&&null==this.renderedPosition){var n=this.position,r=this.cy.zoom(),a=this.cy.pan();this.renderedPosition={x:n.x*r+a.x,y:n.y*r+a.y}}this.timeStamp=e&&e.timeStamp||Date.now()},preventDefault:function(){this.isDefaultPrevented=o;var e=this.originalEvent;e&&e.preventDefault&&e.preventDefault()},stopPropagation:function(){this.isPropagationStopped=o;var e=this.originalEvent;e&&e.stopPropagation&&e.stopPropagation()},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=o,this.stopPropagation()},isDefaultPrevented:i,isPropagationStopped:i,isImmediatePropagationStopped:i},e.exports=r},function(e,t,n){"use strict";var r=n(1);e.exports=function(e,t){var n=e.cy().hasCompoundNodes();function i(e){var t=e.pstyle("z-compound-depth");return"auto"===t.value?n?e.zDepth():0:"bottom"===t.value?-1:"top"===t.value?r.MAX_INT:0}var o=i(e)-i(t);if(0!==o)return o;function a(e){return"auto"===e.pstyle("z-index-compare").value&&e.isNode()?1:0}var s=a(e)-a(t);if(0!==s)return s;var l=e.pstyle("z-index").value-t.pstyle("z-index").value;return 0!==l?l:e.poolIndex()-t.poolIndex()}},function(e,t,n){"use strict";var r=n(0),i=n(1),o=n(6),a=function e(t){if(!(this instanceof e))return new e(t);r.core(t)?(this._private={cy:t,coreStyle:{}},this.length=0,this.resetToDefault()):i.error("A style must have a core reference")},s=a.prototype;s.instanceString=function(){return"style"},s.clear=function(){for(var e=0;e<this.length;e++)this[e]=void 0;return this.length=0,this._private.newStyle=!0,this},s.resetToDefault=function(){return this.clear(),this.addDefaultStylesheet(),this},s.core=function(){return this._private.coreStyle},s.selector=function(e){var t="core"===e?null:new o(e),n=this.length++;return this[n]={selector:t,properties:[],mappedProperties:[],index:n},this},s.css=function(){var e=arguments;switch(e.length){case 1:for(var t=e[0],n=0;n<this.properties.length;n++){var r=this.properties[n],o=t[r.name];void 0===o&&(o=t[i.dash2camel(r.name)]),void 0!==o&&this.cssRule(r.name,o)}break;case 2:this.cssRule(e[0],e[1])}return this},s.style=s.css,s.cssRule=function(e,t){var n=this.parse(e,t);if(n){var r=this.length-1;this[r].properties.push(n),this[r].properties[n.name]=n,n.name.match(/pie-(\d+)-background-size/)&&n.value&&(this._private.hasPie=!0),n.mapped&&this[r].mappedProperties.push(n),!this[r].selector&&(this._private.coreStyle[n.name]=n)}return this},s.append=function(e){return r.stylesheet(e)?e.appendToStyle(this):r.array(e)?this.appendFromJson(e):r.string(e)&&this.appendFromString(e),this},a.fromJson=function(e,t){var n=new a(e);return n.fromJson(t),n},a.fromString=function(e,t){return new a(e).fromString(t)},[n(85),n(86),n(87),n(88),n(89),n(90),n(91),n(92)].forEach(function(e){i.extend(s,e)}),a.types=s.types,a.properties=s.properties,e.exports=a},function(e,t,n){"use strict";var r=n(1);e.exports={setupDequeueing:function(e){return function(){var t=this,n=this.renderer;if(!t.dequeueingSetup){t.dequeueingSetup=!0;var i=r.debounce(function(){n.redrawHint("eles",!0),n.redrawHint("drag",!0),n.redraw()},e.deqRedrawThreshold),o=e.priority||r.noop;n.beforeRender(function(o,a){for(var s=r.performanceNow(),l=n.averageRedrawTime,c=n.lastRedrawTime,u=[],d=n.cy.extent(),p=n.getPixelRatio();;){var f=r.performanceNow(),h=f-s,g=f-a;if(c<1e3/60){var m=1e3/60-(o?l:0);if(g>=e.deqFastCost*m)break}else if(o){if(h>=e.deqCost*c||h>=e.deqAvgCost*l)break}else if(g>=e.deqNoDrawCost*(1e3/60))break;var v=e.deq(t,p,d);if(!(v.length>0))break;for(var b=0;b<v.length;b++)u.push(v[b])}u.length>0&&(e.onDeqd(t,u),!o&&e.shouldRedraw(t,u,p,d)&&i())},o(t))}}}}},function(e,t,n){"use strict";var r=n(0),i=n(12),o=n(94),a=n(136),s=function(e){return void 0===e&&(e={}),r.plainObject(e)?new i(e):r.string(e)?o.apply(o,arguments):void 0};s.use=function(e){var t=Array.prototype.slice.call(arguments,1);return t.unshift(s),e.apply(null,t),this},s.version=n(137),s.stylesheet=s.Stylesheet=a,e.exports=s},function(e,t,n){"use strict";var r=n(0);e.exports={hex2tuple:function(e){if((4===e.length||7===e.length)&&"#"===e[0]){var t=void 0,n=void 0,r=void 0;return 4===e.length?(t=parseInt(e[1]+e[1],16),n=parseInt(e[2]+e[2],16),r=parseInt(e[3]+e[3],16)):(t=parseInt(e[1]+e[2],16),n=parseInt(e[3]+e[4],16),r=parseInt(e[5]+e[6],16)),[t,n,r]}},hsl2tuple:function(e){var t=void 0,n=void 0,r=void 0,i=void 0,o=void 0,a=void 0,s=void 0,l=void 0;function c(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}var u=new RegExp("^"+this.regex.hsla+"$").exec(e);if(u){if((n=parseInt(u[1]))<0?n=(360- -1*n%360)%360:n>360&&(n%=360),n/=360,(r=parseFloat(u[2]))<0||r>100)return;if(r/=100,(i=parseFloat(u[3]))<0||i>100)return;if(i/=100,void 0!==(o=u[4])&&((o=parseFloat(o))<0||o>1))return;if(0===r)a=s=l=Math.round(255*i);else{var d=i<.5?i*(1+r):i+r-i*r,p=2*i-d;a=Math.round(255*c(p,d,n+1/3)),s=Math.round(255*c(p,d,n)),l=Math.round(255*c(p,d,n-1/3))}t=[a,s,l,o]}return t},rgb2tuple:function(e){var t=void 0,n=new RegExp("^"+this.regex.rgba+"$").exec(e);if(n){t=[];for(var r=[],i=1;i<=3;i++){var o=n[i];if("%"===o[o.length-1]&&(r[i]=!0),o=parseFloat(o),r[i]&&(o=o/100*255),o<0||o>255)return;t.push(Math.floor(o))}var a=r[1]||r[2]||r[3],s=r[1]&&r[2]&&r[3];if(a&&!s)return;var l=n[4];if(void 0!==l){if((l=parseFloat(l))<0||l>1)return;t.push(l)}}return t},colorname2tuple:function(e){return this.colors[e.toLowerCase()]},color2tuple:function(e){return(r.array(e)?e:null)||this.colorname2tuple(e)||this.hex2tuple(e)||this.rgb2tuple(e)||this.hsl2tuple(e)},colors:{transparent:[0,0,0,0],aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],grey:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}}},function(e,t,n){"use strict";var r=n(0);e.exports={mapEmpty:function(e){return null==e||0===Object.keys(e).length},pushMap:function(e){var t=this.getMap(e);null==t?this.setMap(this.extend({},e,{value:[e.value]})):t.push(e.value)},setMap:function(e){for(var t=e.map,n=e.keys,i=n.length,o=0;o<i;o++){var a=n[o];r.plainObject(a)&&this.error("Tried to set map with object key"),o<n.length-1?(null==t[a]&&(t[a]={}),t=t[a]):t[a]=e.value}},getMap:function(e){for(var t=e.map,n=e.keys,i=n.length,o=0;o<i;o++){var a=n[o];if(r.plainObject(a)&&this.error("Tried to get map with object key"),null==(t=t[a]))return t}return t},deleteMap:function(e){for(var t=e.map,n=e.keys,i=n.length,o=e.keepChildren,a=0;a<i;a++){var s=n[a];if(r.plainObject(s)&&this.error("Tried to delete map with object key"),a===e.keys.length-1)if(o)for(var l=Object.keys(t),c=0;c<l.length;c++){var u=l[c];o[u]||(t[u]=void 0)}else t[s]=void 0;else t=t[s]}}}},function(e,t,n){"use strict";var r="(?:[-+]?(?:(?:\\d+|\\d*\\.\\d+)(?:[Ee][+-]?\\d+)?))";e.exports={regex:{number:r,rgba:"rgb[a]?\\(((?:[-+]?(?:(?:\\d+|\\d*\\.\\d+)(?:[Ee][+-]?\\d+)?))[%]?)\\s*,\\s*((?:[-+]?(?:(?:\\d+|\\d*\\.\\d+)(?:[Ee][+-]?\\d+)?))[%]?)\\s*,\\s*((?:[-+]?(?:(?:\\d+|\\d*\\.\\d+)(?:[Ee][+-]?\\d+)?))[%]?)(?:\\s*,\\s*((?:[-+]?(?:(?:\\d+|\\d*\\.\\d+)(?:[Ee][+-]?\\d+)?))))?\\)",rgbaNoBackRefs:"rgb[a]?\\((?:(?:[-+]?(?:(?:\\d+|\\d*\\.\\d+)(?:[Ee][+-]?\\d+)?))[%]?)\\s*,\\s*(?:(?:[-+]?(?:(?:\\d+|\\d*\\.\\d+)(?:[Ee][+-]?\\d+)?))[%]?)\\s*,\\s*(?:(?:[-+]?(?:(?:\\d+|\\d*\\.\\d+)(?:[Ee][+-]?\\d+)?))[%]?)(?:\\s*,\\s*(?:(?:[-+]?(?:(?:\\d+|\\d*\\.\\d+)(?:[Ee][+-]?\\d+)?))))?\\)",hsla:"hsl[a]?\\(((?:[-+]?(?:(?:\\d+|\\d*\\.\\d+)(?:[Ee][+-]?\\d+)?)))\\s*,\\s*((?:[-+]?(?:(?:\\d+|\\d*\\.\\d+)(?:[Ee][+-]?\\d+)?))[%])\\s*,\\s*((?:[-+]?(?:(?:\\d+|\\d*\\.\\d+)(?:[Ee][+-]?\\d+)?))[%])(?:\\s*,\\s*((?:[-+]?(?:(?:\\d+|\\d*\\.\\d+)(?:[Ee][+-]?\\d+)?))))?\\)",hslaNoBackRefs:"hsl[a]?\\((?:(?:[-+]?(?:(?:\\d+|\\d*\\.\\d+)(?:[Ee][+-]?\\d+)?)))\\s*,\\s*(?:(?:[-+]?(?:(?:\\d+|\\d*\\.\\d+)(?:[Ee][+-]?\\d+)?))[%])\\s*,\\s*(?:(?:[-+]?(?:(?:\\d+|\\d*\\.\\d+)(?:[Ee][+-]?\\d+)?))[%])(?:\\s*,\\s*(?:(?:[-+]?(?:(?:\\d+|\\d*\\.\\d+)(?:[Ee][+-]?\\d+)?))))?\\)",hex3:"\\#[0-9a-fA-F]{3}",hex6:"\\#[0-9a-fA-F]{6}"}}},function(e,t,n){"use strict";var r=n(13),i=n(0);e.exports={camel2dash:r(function(e){return e.replace(/([A-Z])/g,function(e){return"-"+e.toLowerCase()})}),dash2camel:r(function(e){return e.replace(/(-\w)/g,function(e){return e[1].toUpperCase()})}),prependCamel:r(function(e,t){return e+t[0].toUpperCase()+t.substring(1)},function(e,t){return e+"$"+t}),capitalize:function(e){return i.emptyString(e)?e:e.charAt(0).toUpperCase()+e.substring(1)}}},function(e,t,n){"use strict";var r=n(3),i=r?r.performance:null,o={},a=i&&i.now?function(){return i.now()}:function(){return Date.now()},s=function(){if(r){if(r.requestAnimationFrame)return function(e){r.requestAnimationFrame(e)};if(r.mozRequestAnimationFrame)return function(e){r.mozRequestAnimationFrame(e)};if(r.webkitRequestAnimationFrame)return function(e){r.webkitRequestAnimationFrame(e)};if(r.msRequestAnimationFrame)return function(e){r.msRequestAnimationFrame(e)}}return function(e){e&&setTimeout(function(){e(a())},1e3/60)}}();o.requestAnimationFrame=function(e){s(e)},o.performanceNow=a,o.debounce=n(26),o.now=function(){return Date.now()},e.exports=o},function(t,n){t.exports=e},function(e,t,n){"use strict";function r(e,t){return e<t?-1:e>t?1:0}e.exports={sort:{ascending:r,descending:function(e,t){return-1*r(e,t)}}}},function(e,t,n){"use strict";function r(){this._obj={}}var i=r.prototype;i.set=function(e,t){this._obj[e]=t},i.delete=function(e){this._obj[e]=null},i.has=function(e){return null!=this._obj[e]},i.get=function(e){return this._obj[e]},e.exports=r},function(e,t,n){"use strict";var r=n(1),i={};[n(30),n(31),n(33),n(34),n(35),n(36),n(37),n(38),n(39),n(40),n(41)].forEach(function(e){r.extend(i,e)}),e.exports=i},function(e,t,n){"use strict";var r=n(0),i=function(e){return e={bfs:e.bfs||!e.dfs,dfs:e.dfs||!e.bfs},function(t,n,i){var o;r.plainObject(t)&&!r.elementOrCollection(t)&&(t=(o=t).roots||o.root,n=o.visit,i=o.directed),i=2!==arguments.length||r.fn(n)?i:n,n=r.fn(n)?n:function(){};for(var a,s=this._private.cy,l=t=r.string(t)?this.filter(t):t,c=[],u=[],d={},p={},f={},h=0,g=this.nodes(),m=this.edges(),v=0;v<l.length;v++)l[v].isNode()&&(c.unshift(l[v]),e.bfs&&(f[l[v].id()]=!0,u.push(l[v])),p[l[v].id()]=0);for(;0!==c.length;){l=e.bfs?c.shift():c.pop();if(e.dfs){if(f[l.id()])continue;f[l.id()]=!0,u.push(l)}var b,y=p[l.id()],x=d[l.id()],w=null==x?void 0:x.connectedNodes().not(l)[0];if(!0===(b=n(l,x,w,h++,y))){a=l;break}if(!1===b)break;var k=l.connectedEdges(i?function(e){return e.data("source")===l.id()}:void 0).intersect(m);for(v=0;v<k.length;v++){var _=k[v],$=_.connectedNodes(function(e){return e.id()!==l.id()}).intersect(g);0===$.length||f[$.id()]||($=$[0],c.push($),e.bfs&&(f[$.id()]=!0,u.push($)),d[$.id()]=_,p[$.id()]=p[l.id()]+1)}}var E=[];for(v=0;v<u.length;v++){var S=u[v],C=d[S.id()];C&&E.push(C),E.push(S)}return{path:s.collection(E,{unique:!0}),found:s.collection(a)}}},o={breadthFirstSearch:i({bfs:!0}),depthFirstSearch:i({dfs:!0})};o.bfs=o.breadthFirstSearch,o.dfs=o.depthFirstSearch,e.exports=o},function(e,t,n){"use strict";var r=n(0),i=n(9),o={dijkstra:function(e,t,n){var o;r.plainObject(e)&&!r.elementOrCollection(e)&&(e=(o=e).root,t=o.weight,n=o.directed);var a=this._private.cy;t=r.fn(t)?t:function(){return 1};for(var s=r.string(e)?this.filter(e)[0]:e[0],l={},c={},u={},d=this.edges().filter(function(e){return!e.isLoop()}),p=this.nodes(),f=function(e){return l[e.id()]},h=function(e,t){l[e.id()]=t,g.updateItem(e)},g=new i(function(e,t){return f(e)-f(t)}),m=0;m<p.length;m++){var v=p[m];l[v.id()]=v.same(s)?0:1/0,g.push(v)}for(var b=function(e,r){for(var i,o=(n?e.edgesTo(r):e.edgesWith(r)).intersect(d),a=1/0,s=0;s<o.length;s++){var l=o[s],c=t(l);(c<a||!i)&&(a=c,i=l)}return{edge:i,dist:a}};g.size()>0;){var y=g.pop(),x=f(y),w=y.id();if(u[w]=x,x!==1/0){var k=y.neighborhood().intersect(p);for(m=0;m<k.length;m++){var _=k[m],$=_.id(),E=b(y,_),S=x+E.dist;S<f(_)&&(h(_,S),c[$]={node:y,edge:E.edge})}}}return{distanceTo:function(e){var t=r.string(e)?p.filter(e)[0]:e[0];return u[t.id()]},pathTo:function(e){var t=r.string(e)?p.filter(e)[0]:e[0],n=[],i=t;if(t.length>0)for(n.unshift(t);c[i.id()];){var o=c[i.id()];n.unshift(o.edge),n.unshift(o.node),i=o.node}return a.collection(n)}}}};e.exports=o},function(e,t){e.exports=n},function(e,t,n){"use strict";var r=n(0),i={kruskal:function(e){var t=this.cy();function n(e){for(var t=0;t<o.length;t++){var n=o[t];if(n.anySame(e))return{eles:n,index:t}}}e=r.fn(e)?e:function(){return 1};for(var i=t.collection(t,[]),o=[],a=this.nodes(),s=0;s<a.length;s++)o.push(a[s].collection());var l=this.edges().toArray().sort(function(t,n){return e(t)-e(n)});for(s=0;s<l.length;s++){var c=l[s],u=c.source()[0],d=c.target()[0],p=n(u),f=n(d);p.index!==f.index&&(i=i.add(c),o[p.index]=p.eles.add(f.eles),o.splice(f.index,1))}return a.add(i)}};e.exports=i},function(e,t,n){"use strict";var r=n(0),i={aStar:function(e){e=e||{};var t=function e(t,n,r,o){if(t==n)return o.unshift(i.getElementById(n)),o;if(n in r){var a=r[n],s=g[n];return o.unshift(i.getElementById(s)),o.unshift(i.getElementById(n)),e(t,a,r,o)}},n=function(e,t){if(0!==e.length){for(var n=0,r=t[e[0]],i=1;i<e.length;i++){var o=t[e[i]];o<r&&(r=o,n=i)}return n}},i=this._private.cy;if(null!=e&&null!=e.root){var o=r.string(e.root)?this.filter(e.root)[0]:e.root[0];if(null!=e.goal){var a=r.string(e.goal)?this.filter(e.goal)[0]:e.goal[0];if(null!=e.heuristic&&r.fn(e.heuristic))var s=e.heuristic;else s=function(){return 0};if(null!=e.weight&&r.fn(e.weight))var l=e.weight;else l=function(e){return 1};if(null!=e.directed)var c=e.directed;else c=!1;var u=o.id(),d=a.id(),p=[],f=[u],h={},g={},m={},v={};m[u]=0,v[u]=s(o);for(var b=0;f.length>0;){var y=n(f,v),x=i.getElementById(f[y]),w=x.id();if(b++,w==d){var k=t(u,d,h,[]);return{found:!0,distance:m[w],path:this.spawn(k),steps:b}}p.push(w),f.splice(y,1);for(var _=x._private.edges,$=0;$<_.length;$++){var E=_[$];if(this.hasElementWithId(E.id())&&(!c||E.data("source")===w)){var S=E.source(),C=E.target(),T=S.id()!==w?S:C,A=T.id();if(this.hasElementWithId(A)&&-1==p.indexOf(A)){var O=m[w]+l(E);-1!=f.indexOf(A)?O<m[A]&&(m[A]=O,v[A]=O+s(T),h[A]=w):(m[A]=O,v[A]=O+s(T),f.push(A),h[A]=w,g[A]=E.id())}}}}return{found:!1,distance:void 0,path:void 0,steps:b}}}}};e.exports=i},function(e,t,n){"use strict";var r=n(0),i={floydWarshall:function(e){e=e||{};var t=this.cy();if(null!=e.weight&&r.fn(e.weight))var n=e.weight;else n=function(e){return 1};if(null!=e.directed)var i=e.directed;else i=!1;for(var o=this.edges().stdFilter(function(e){return!e.isLoop()}),a=this.nodes(),s=a.length,l={},c=0;c<s;c++)l[a[c].id()]=c;var u=[];for(c=0;c<s;c++){for(var d=new Array(s),p=0;p<s;p++)d[p]=c==p?0:1/0;u.push(d)}var f=[],h=[],g=function(e){for(var t=0;t<s;t++){for(var n=new Array(s),r=0;r<s;r++)n[r]=void 0;e.push(n)}};g(f),g(h);for(c=0;c<o.length;c++){var m=l[o[c].source().id()],v=l[o[c].target().id()],b=n(o[c]);u[m][v]>b&&(u[m][v]=b,f[m][v]=v,h[m][v]=o[c])}if(!i)for(c=0;c<o.length;c++){m=l[o[c].target().id()],v=l[o[c].source().id()],b=n(o[c]);u[m][v]>b&&(u[m][v]=b,f[m][v]=v,h[m][v]=o[c])}for(var y=0;y<s;y++)for(c=0;c<s;c++)for(p=0;p<s;p++)u[c][y]+u[y][p]<u[c][p]&&(u[c][p]=u[c][y]+u[y][p],f[c][p]=f[c][y]);var x=[];for(c=0;c<s;c++)x.push(a[c].id());return{distance:function(e,n){if(r.string(e))var i=t.filter(e)[0].id();else i=e.id();if(r.string(n))var o=t.filter(n)[0].id();else o=n.id();return u[l[i]][l[o]]},path:function(e,n){if(r.string(e))var i=t.filter(e)[0].id();else i=e.id();if(r.string(n))var o=t.filter(n)[0].id();else o=n.id();var a=function(e,n,r,i,o){if(e===n)return t.getElementById(i[e]);if(void 0!==r[e][n]){for(var a=[t.getElementById(i[e])],s=e;e!==n;){s=e,e=r[e][n];var l=o[s][e];a.push(l),a.push(t.getElementById(i[e]))}return a}}(l[i],l[o],f,x,h);return t.collection(a)}}}};e.exports=i},function(e,t,n){"use strict";var r=n(0),i=n(1),o={bellmanFord:function(e){var t=this;if(null!=(e=e||{}).weight&&r.fn(e.weight))var n=e.weight;else n=function(e){return 1};if(null!=e.directed)var o=e.directed;else o=!1;if(null!=e.root){if(r.string(e.root))var a=this.filter(e.root)[0];else a=e.root[0];for(var s=this._private.cy,l=this.edges().stdFilter(function(e){return!e.isLoop()}),c=this.nodes(),u=c.length,d={},p=0;p<u;p++)d[c[p].id()]=p;var f=[],h=[],g=[];for(p=0;p<u;p++)c[p].id()===a.id()?f[p]=0:f[p]=1/0,h[p]=void 0;var m=!1;for(p=1;p<u;p++){m=!1;for(var v=0;v<l.length;v++){var b,y=d[l[v].source().id()],x=d[l[v].target().id()],w=n(l[v]);if((b=f[y]+w)<f[x]&&(f[x]=b,h[x]=y,g[x]=l[v],m=!0),!o)(b=f[x]+w)<f[y]&&(f[y]=b,h[y]=x,g[y]=l[v],m=!0)}if(!m)break}if(m)for(v=0;v<l.length;v++){y=d[l[v].source().id()],x=d[l[v].target().id()],w=n(l[v]);if(f[y]+w<f[x])return i.error("Graph contains a negative weight cycle for Bellman-Ford"),{pathTo:void 0,distanceTo:void 0,hasNegativeWeightCycle:!0}}var k=[];for(p=0;p<u;p++)k.push(c[p].id());return{distanceTo:function(e){if(r.string(e))var t=s.filter(e)[0].id();else t=e.id();return f[d[t]]},pathTo:function(e){if(r.string(e))var n=s.filter(e)[0].id();else n=e.id();var i=function(e,t,n,r,i,o){for(;;){if(i.push(s.getElementById(r[n])),i.push(o[n]),t===n)return i;var a=e[n];if(void 0===a)return;n=a}}(h,d[a.id()],d[n],k,[],g);return null!=i&&i.reverse(),t.spawn(i)},hasNegativeWeightCycle:!1}}}};e.exports=o},function(e,t,n){"use strict";var r=n(1),i={kargerStein:function(e){e=e||{};var t=function e(t,n,r,i){return r<=i?n:e(t,function(e,t,n){for(var r=n[e],i=r[1],o=r[2],a=t[i],s=t[o],l=n.filter(function(e){return!(t[e[1]]===a&&t[e[2]]===s||t[e[1]]===s&&t[e[2]]===a)}),c=0;c<l.length;c++){var u=l[c];u[1]===s?(l[c]=u.slice(0),l[c][1]=a):u[2]===s&&(l[c]=u.slice(0),l[c][2]=a)}for(c=0;c<t.length;c++)t[c]===s&&(t[c]=a);return l}(Math.floor(Math.random()*n.length),t,n),r-1,i)},n=this._private.cy,i=this.edges().stdFilter(function(e){return!e.isLoop()}),o=this.nodes(),a=o.length,s=i.length,l=Math.ceil(Math.pow(Math.log(a)/Math.LN2,2)),c=Math.floor(a/Math.sqrt(2));if(!(a<2)){for(var u={},d=0;d<a;d++)u[o[d].id()]=d;var p=[];for(d=0;d<s;d++){var f=i[d];p.push([d,u[f.source().id()],u[f.target().id()]])}var h,g=1/0,m=[];for(d=0;d<a;d++)m.push(d);for(var v=0;v<=l;v++){var b=m.slice(0),y=t(b,p,a,c),x=b.slice(0),w=t(b,y,c,2),k=t(x,y,c,2);w.length<=k.length&&w.length<g?(g=w.length,h=[w,b]):k.length<=w.length&&k.length<g&&(g=k.length,h=[k,x])}var _=h[0].map(function(e){return i[e[0]]}),$=[],E=[],S=h[1][0];for(d=0;d<h[1].length;d++){h[1][d]===S?$.push(o[d]):E.push(o[d])}return{cut:this.spawn(n,_),partition1:this.spawn($),partition2:this.spawn(E)}}r.error("At least 2 nodes are required for Karger-Stein algorithm")}};e.exports=i},function(e,t,n){"use strict";var r=n(0),i={pageRank:function(e){var t=function(e){for(var t=e.length,n=0,r=0;r<t;r++)n+=e[r];for(r=0;r<t;r++)e[r]=e[r]/n};if(null!=(e=e||{})&&null!=e.dampingFactor)var n=e.dampingFactor;else n=.8;if(null!=e&&null!=e.precision)var i=e.precision;else i=1e-6;if(null!=e&&null!=e.iterations)var o=e.iterations;else o=200;if(null!=e&&null!=e.weight&&r.fn(e.weight))var a=e.weight;else a=function(e){return 1};for(var s=this._private.cy,l=this.edges().stdFilter(function(e){return!e.isLoop()}),c=this.nodes(),u=c.length,d=l.length,p={},f=0;f<u;f++)p[c[f].id()]=f;var h=[],g=[],m=(1-n)/u;for(f=0;f<u;f++){for(var v=[],b=0;b<u;b++)v.push(0);h.push(v),g.push(0)}for(f=0;f<d;f++){var y=l[f],x=p[y.source().id()],w=p[y.target().id()],k=a(y);h[w][x]+=k,g[x]+=k}var _=1/u+m;for(b=0;b<u;b++)if(0===g[b])for(f=0;f<u;f++)h[f][b]=_;else for(f=0;f<u;f++)h[f][b]=h[f][b]/g[b]+m;var $,E=[],S=[];for(f=0;f<u;f++)E.push(1),S.push(0);for(var C=0;C<o;C++){var T=S.slice(0);for(f=0;f<u;f++)for(b=0;b<u;b++)T[f]+=h[f][b]*E[b];t(T),$=E,E=T;var A=0;for(f=0;f<u;f++)A+=Math.pow($[f]-E[f],2);if(A<i)break}return{rank:function(e){if(r.string(e))var t=s.filter(e)[0].id();else t=e.id();return E[p[t]]}}}};e.exports=i},function(e,t,n){"use strict";var r=n(0),i=n(1),o={degreeCentralityNormalized:function(e){e=e||{};var t=this.cy();if(null!=e.directed)var n=e.directed;else n=!1;var o=this.nodes(),a=o.length;if(n){var s={},l={},c=0,u=0;for(f=0;f<a;f++){h=o[f],g=this.degreeCentrality(i.extend({},e,{root:h}));c<g.indegree&&(c=g.indegree),u<g.outdegree&&(u=g.outdegree),s[h.id()]=g.indegree,l[h.id()]=g.outdegree}return{indegree:function(e){if(0==c)return 0;if(r.string(e))e=t.filter(e)[0].id();else e=e.id();return s[e]/c},outdegree:function(e){if(0==u)return 0;if(r.string(e))e=t.filter(e)[0].id();else e=e.id();return l[e]/u}}}for(var d={},p=0,f=0;f<a;f++){var h=o[f],g=this.degreeCentrality(i.extend({},e,{root:h}));p<g.degree&&(p=g.degree),d[h.id()]=g.degree}return{degree:function(e){if(0==p)return 0;if(r.string(e))e=t.filter(e)[0].id();else e=e.id();return d[e]/p}}},degreeCentrality:function(e){if(null!=(e=e||{})&&null!=e.root){var t=r.string(e.root)?this.filter(e.root)[0]:e.root[0];if(null!=e.weight&&r.fn(e.weight))var n=e.weight;else n=function(e){return 1};if(null!=e.directed)var i=e.directed;else i=!1;if(null!=e.alpha&&r.number(e.alpha))var o=e.alpha;else o=0;if(i){var a=t.connectedEdges('edge[target = "'+t.id()+'"]').intersection(this),s=t.connectedEdges('edge[source = "'+t.id()+'"]').intersection(this),l=a.length,c=s.length,u=0,d=0;for(g=0;g<a.length;g++){u+=n(a[g])}for(g=0;g<s.length;g++){d+=n(s[g])}return{indegree:Math.pow(l,1-o)*Math.pow(u,o),outdegree:Math.pow(c,1-o)*Math.pow(d,o)}}for(var p=t.connectedEdges().intersection(this),f=p.length,h=0,g=0;g<p.length;g++){h+=n(p[g])}return{degree:Math.pow(f,1-o)*Math.pow(h,o)}}}};o.dc=o.degreeCentrality,o.dcn=o.degreeCentralityNormalised=o.degreeCentralityNormalized,e.exports=o},function(e,t,n){"use strict";var r=n(0),i={closenessCentralityNormalized:function(e){e=e||{};var t=this.cy(),n=e.harmonic;void 0===n&&(n=!0);for(var i={},o=0,a=this.nodes(),s=this.floydWarshall({weight:e.weight,directed:e.directed}),l=0;l<a.length;l++){for(var c=0,u=0;u<a.length;u++)if(l!=u){var d=s.distance(a[l],a[u]);c+=n?1/d:d}n||(c=1/c),o<c&&(o=c),i[a[l].id()]=c}return{closeness:function(e){if(0==o)return 0;if(r.string(e))e=t.filter(e)[0].id();else e=e.id();return i[e]/o}}},closenessCentrality:function(e){if(null!=(e=e||{}).root){if(r.string(e.root))var t=this.filter(e.root)[0];else t=e.root[0];if(null!=e.weight&&r.fn(e.weight))var n=e.weight;else n=function(){return 1};if(null!=e.directed&&r.bool(e.directed))var i=e.directed;else i=!1;var o=e.harmonic;void 0===o&&(o=!0);for(var a=this.dijkstra({root:t,weight:n,directed:i}),s=0,l=this.nodes(),c=0;c<l.length;c++)if(l[c].id()!=t.id()){var u=a.distanceTo(l[c]);s+=o?1/u:u}return o?s:1/s}}};i.cc=i.closenessCentrality,i.ccn=i.closenessCentralityNormalised=i.closenessCentralityNormalized,e.exports=i},function(e,t,n){"use strict";var r=n(0),i=n(9),o={betweennessCentrality:function(e){var t,n;e=e||{},r.fn(e.weight)?(n=e.weight,t=!0):t=!1;for(var o=null!=e.directed&&e.directed,a=this._private.cy,s=this.nodes(),l={},c={},u=0,d=function(e,t){c[e]=t,t>u&&(u=t)},p=function(e){return c[e]},f=0;f<s.length;f++){l[w=(k=s[f]).id()]=o?k.outgoers().nodes():k.openNeighborhood().nodes(),d(w,0)}for(var h=0;h<s.length;h++){var g=s[h].id(),m=[],v={},b={},y={},x=new i(function(e,t){return y[e]-y[t]});for(f=0;f<s.length;f++){var w;v[w=s[f].id()]=[],b[w]=0,y[w]=1/0}for(b[g]=1,y[g]=0,x.push(g);!x.empty();){var k=x.pop();if(m.push(k),t)for(var _=0;_<l[k].length;_++){var $=l[k][_],E=a.getElementById(k),S=n(E.edgesTo($).length>0?E.edgesTo($)[0]:$.edgesTo(E)[0]);$=$.id(),y[$]>y[k]+S&&(y[$]=y[k]+S,x.nodes.indexOf($)<0?x.push($):x.updateItem($),b[$]=0,v[$]=[]),y[$]==y[k]+S&&(b[$]=b[$]+b[k],v[$].push(k))}else for(_=0;_<l[k].length;_++){$=l[k][_].id();y[$]==1/0&&(x.push($),y[$]=y[k]+1),y[$]==y[k]+1&&(b[$]=b[$]+b[k],v[$].push(k))}}var C={};for(f=0;f<s.length;f++)C[s[f].id()]=0;for(;m.length>0;)for($=m.pop(),_=0;_<v[$].length;_++){C[k=v[$][_]]=C[k]+b[k]/b[$]*(1+C[$]),$!=s[h].id()&&d($,p($)+C[$])}}var T={betweenness:function(e){if(r.string(e))e=a.filter(e).id();else e=e.id();return p(e)},betweennessNormalized:function(e){if(0==u)return 0;if(r.string(e))e=a.filter(e).id();else e=e.id();return p(e)/u}};return T.betweennessNormalised=T.betweennessNormalized,T}};o.bc=o.betweennessCentrality,e.exports=o},function(e,t,n){"use strict";var r=n(4),i={animate:r.animate(),animation:r.animation(),animated:r.animated(),clearQueue:r.clearQueue(),delay:r.delay(),delayAnimation:r.delayAnimation(),stop:r.stop()};e.exports=i},function(e,t,n){"use strict";var r=n(1),i=n(44),o=n(2),a=n(0),s={animated:function(){return function(){var e=void 0!==this.length?this:[this];if(!(this._private.cy||this).styleEnabled())return!1;var t=e[0];return t?t._private.animation.current.length>0:void 0}},clearQueue:function(){return function(){var e=void 0!==this.length?this:[this];if(!(this._private.cy||this).styleEnabled())return this;for(var t=0;t<e.length;t++){e[t]._private.animation.queue=[]}return this}},delay:function(){return function(e,t){return(this._private.cy||this).styleEnabled()?this.animate({delay:e,duration:e,complete:t}):this}},delayAnimation:function(){return function(e,t){return(this._private.cy||this).styleEnabled()?this.animation({delay:e,duration:e,complete:t}):this}},animation:function(){return function(e,t){var n=void 0!==this.length,s=n?this:[this],l=this._private.cy||this,c=!n,u=!c;if(!l.styleEnabled())return this;var d=l.style();if(e=r.assign({},e,t),0===Object.keys(e).length)return new i(s[0],e);switch(void 0===e.duration&&(e.duration=400),e.duration){case"slow":e.duration=600;break;case"fast":e.duration=200}if(u&&(e.style=d.getPropsList(e.style||e.css),e.css=void 0),u&&null!=e.renderedPosition){var p=e.renderedPosition,f=l.pan(),h=l.zoom();e.position=o.renderedToModelPosition(p,h,f)}if(c&&null!=e.panBy){var g=e.panBy,m=l.pan();e.pan={x:m.x+g.x,y:m.y+g.y}}var v=e.center||e.centre;if(c&&null!=v){var b=l.getCenterPan(v.eles,e.zoom);null!=b&&(e.pan=b)}if(c&&null!=e.fit){var y=e.fit,x=l.getFitViewport(y.eles||y.boundingBox,y.padding);null!=x&&(e.pan=x.pan,e.zoom=x.zoom)}if(c&&a.plainObject(e.zoom)){var w=l.getZoomedViewport(e.zoom);null!=w&&(w.zoomed&&(e.zoom=w.zoom),w.panned&&(e.pan=w.pan))}return new i(s[0],e)}},animate:function(){return function(e,t){var n=void 0!==this.length?this:[this];if(!(this._private.cy||this).styleEnabled())return this;t&&(e=r.extend({},e,t));for(var i=0;i<n.length;i++){var o=n[i],a=o.animated()&&(void 0===e.queue||e.queue);o.animation(e,a?{queue:!0}:void 0).play()}return this}},stop:function(){return function(e,t){var n=void 0!==this.length?this:[this],r=this._private.cy||this;if(!r.styleEnabled())return this;for(var i=0;i<n.length;i++){for(var o=n[i]._private,a=o.animation.current,s=0;s<a.length;s++){var l=a[s]._private;t&&(l.duration=0)}e&&(o.animation.queue=[]),t||(o.animation.current=[])}return r.notify({eles:this,type:"draw"}),this}}};e.exports=s},function(e,t,n){"use strict";var r=n(1),i=n(0),o=n(5),a=function(e,t,n){var o=this._private=r.extend({duration:1e3},t,n);o.target=e,o.style=o.style||o.css,o.started=!1,o.playing=!1,o.hooked=!1,o.applying=!1,o.progress=0,o.completes=[],o.frames=[],o.complete&&i.fn(o.complete)&&o.completes.push(o.complete),this.length=1,this[0]=this},s=a.prototype;r.extend(s,{instanceString:function(){return"animation"},hook:function(){var e=this._private;if(!e.hooked){var t=e.target._private.animation;(e.queue?t.queue:t.current).push(this),i.elementOrCollection(e.target)&&e.target.cy().addToAnimationPool(e.target),e.hooked=!0}return this},play:function(){var e=this._private;return 1===e.progress&&(e.progress=0),e.playing=!0,e.started=!1,e.stopped=!1,this.hook(),this},playing:function(){return this._private.playing},apply:function(){var e=this._private;return e.applying=!0,e.started=!1,e.stopped=!1,this.hook(),this},applying:function(){return this._private.applying},pause:function(){var e=this._private;return e.playing=!1,e.started=!1,this},stop:function(){var e=this._private;return e.playing=!1,e.started=!1,e.stopped=!0,this},rewind:function(){return this.progress(0)},fastforward:function(){return this.progress(1)},time:function(e){var t=this._private;return void 0===e?t.progress*t.duration:this.progress(e/t.duration)},progress:function(e){var t=this._private,n=t.playing;return void 0===e?t.progress:(n&&this.pause(),t.progress=e,t.started=!1,n&&this.play(),this)},completed:function(){return 1===this._private.progress},reverse:function(){var e=this._private,t=e.playing;t&&this.pause(),e.progress=1-e.progress,e.started=!1;var n=function(t,n){var r=e[t];null!=r&&(e[t]=e[n],e[n]=r)};if(n("zoom","startZoom"),n("pan","startPan"),n("position","startPosition"),e.style)for(var r=0;r<e.style.length;r++){var i=e.style[r],o=i.name,a=e.startStyle[o];e.startStyle[o]=i,e.style[r]=a}return t&&this.play(),this},promise:function(e){var t=this._private,n=void 0;switch(e){case"frame":n=t.frames;break;default:case"complete":case"completed":n=t.completes}return new o(function(e,t){n.push(function(){e()})})}}),s.complete=s.completed,e.exports=a},function(e,t,n){"use strict";var r=n(1),i=n(0),o={data:function(e){return e=r.extend({},{field:"data",bindingEvent:"data",allowBinding:!1,allowSetting:!1,allowGetting:!1,settingEvent:"data",settingTriggersEvent:!1,triggerFnName:"trigger",immutableKeys:{},updateStyle:!1,beforeGet:function(e){},beforeSet:function(e,t){},onSet:function(e){},canSet:function(e){return!0}},e),function(t,n){var r=e,o=void 0!==this.length,a=o?this:[this],s=o?this[0]:this;if(i.string(t)){if(r.allowGetting&&void 0===n){var l=void 0;return s&&(r.beforeGet(s),l=s._private[r.field][t]),l}if(r.allowSetting&&void 0!==n&&!r.immutableKeys[t]){var c=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},t,n);r.beforeSet(this,c);for(var u=0,d=a.length;u<d;u++){var p=a[u];r.canSet(p)&&(p._private[r.field][t]=n)}r.updateStyle&&this.updateStyle(),r.onSet(this),r.settingTriggersEvent&&this[r.triggerFnName](r.settingEvent)}}else if(r.allowSetting&&i.plainObject(t)){var f=t,h=void 0,g=void 0,m=Object.keys(f);r.beforeSet(this,f);for(var v=0;v<m.length;v++){if(g=f[h=m[v]],!r.immutableKeys[h])for(var b=0;b<a.length;b++){var y=a[b];r.canSet(y)&&(y._private[r.field][h]=g)}}r.updateStyle&&this.updateStyle(),r.onSet(this),r.settingTriggersEvent&&this[r.triggerFnName](r.settingEvent)}else if(r.allowBinding&&i.fn(t)){var x=t;this.on(r.bindingEvent,x)}else if(r.allowGetting&&void 0===t){var w=void 0;return s&&(r.beforeGet(s),w=s._private[r.field]),w}return this}},removeData:function(e){return e=r.extend({},{field:"data",event:"data",triggerFnName:"trigger",triggerEvent:!1,immutableKeys:{}},e),function(t){var n=e,r=void 0!==this.length?this:[this];if(i.string(t)){for(var o=t.split(/\s+/),a=o.length,s=0;s<a;s++){var l=o[s];if(!i.emptyString(l))if(!n.immutableKeys[l])for(var c=0,u=r.length;c<u;c++)r[c]._private[n.field][l]=void 0}n.triggerEvent&&this[n.triggerFnName](n.event)}else if(void 0===t){for(var d=0,p=r.length;d<p;d++)for(var f=r[d]._private[n.field],h=Object.keys(f),g=0;g<h.length;g++){var m=h[g];!n.immutableKeys[m]&&(f[m]=void 0)}n.triggerEvent&&this[n.triggerFnName](n.event)}return this}}};e.exports=o},function(e,t,n){"use strict";var r=n(5),i={eventAliasesOn:function(e){var t=e;t.addListener=t.listen=t.bind=t.on,t.unlisten=t.unbind=t.off=t.removeListener,t.trigger=t.emit,t.pon=t.promiseOn=function(e,t){var n=this,i=Array.prototype.slice.call(arguments,0);return new r(function(e,t){var r=i.concat([function(t){n.off.apply(n,o),e(t)}]),o=r.concat([]);n.on.apply(n,r)})}}};e.exports=i},function(e,t,n){"use strict";var r=n(8),i={classes:function(e){e=(e||"").match(/\S+/g)||[];for(var t=this,n=[],i=new r(e),o=function(e){var o=t[e],a=o._private,s=a.classes,l=!1;i.forEach(function(e){s.has(e)||(l=!0)}),l||s.forEach(function(e){i.has(e)||(l=!0)}),l&&(a.classes=new r(i),n.push(o))},a=0;a<t.length;a++)o(a);return n.length>0&&this.spawn(n).updateStyle().emit("class"),t},addClass:function(e){return this.toggleClass(e,!0)},hasClass:function(e){var t=this[0];return null!=t&&t._private.classes.has(e)},toggleClass:function(e,t){for(var n=e.match(/\S+/g)||[],r=[],i=0,o=this.length;i<o;i++)for(var a=this[i],s=!1,l=0;l<n.length;l++){var c=n[l],u=a._private.classes,d=u.has(c);t||void 0===t&&!d?(u.add(c),d||s||(r.push(a),s=!0)):(u.delete(c),d&&!s&&(r.push(a),s=!0))}return r.length>0&&this.spawn(r).updateStyle().emit("class"),this},removeClass:function(e){return this.toggleClass(e,!1)},flashClass:function(e,t){var n=this;if(null==t)t=250;else if(0===t)return n;return n.addClass(e),setTimeout(function(){n.removeClass(e)},t),n}};e.exports=i},function(e,t,n){"use strict";n(0);var r=n(6),i={allAre:function(e){var t=new r(e);return this.every(function(e){return t.matches(e)})},is:function(e){var t=new r(e);return this.some(function(e){return t.matches(e)})},some:function(e,t){for(var n=0;n<this.length;n++){if(t?e.apply(t,[this[n],n,this]):e(this[n],n,this))return!0}return!1},every:function(e,t){for(var n=0;n<this.length;n++){if(!(t?e.apply(t,[this[n],n,this]):e(this[n],n,this)))return!1}return!0},same:function(e){return e=this.cy().collection(e),this.length===e.length&&this.every(function(t){return e.hasElementWithId(t.id())})},anySame:function(e){return e=this.cy().collection(e),this.some(function(t){return e.hasElementWithId(t.id())})},allAreNeighbors:function(e){e=this.cy().collection(e);var t=this.neighborhood();return e.every(function(e){return t.hasElementWithId(e.id())})},contains:function(e){var t=this;return(e=this.cy().collection(e)).every(function(e){return t.hasElementWithId(e.id())})}};i.allAreNeighbours=i.allAreNeighbors,i.has=i.contains,e.exports=i},function(e,t,n){"use strict";var r=n(1),i=n(50),o=n(10),a=function(e){for(var t=void 0,n=void 0,r=void 0,o=0;o<i.length;o++){var a=i[o],s=a.name,l=e.match(a.regexObj);if(null!=l){n=l,t=a,r=s;var c=l[0];e=e.substring(c.length);break}}return{expr:t,match:n,name:r,remaining:e}};e.exports={parse:function(e){var t=this._private.selectorText=e,n=this[0]=o();for(this.length=1,t=function(e){var t=e.match(/^\s+/);if(t){var n=t[0];e=e.substring(n.length)}return e}(t);;){var i=a(t);if(null==i.expr)return r.error("The selector `"+e+"`is invalid"),!1;var s=i.match.slice(1),l=i.expr.populate(this,n,s);if(!1===l)return!1;if(null!=l&&(n=l),(t=i.remaining).match(/^\s*$/))break}for(var c=0;c<this.length;c++){var u=this[c];if(null!=u.subject){for(;u.subject!==u;)if(null!=u.parent){var d=u.parent,p=u;p.parent=null,d.child=p,u=d}else{if(null==u.ancestor)return u.source||u.target||u.connectedNodes?(r.error("The selector `"+this.text()+"` can not contain a subject selector that applies to the source or target of an edge selector"),!1):(r.error("When adjusting references for the selector `"+this.text()+"`, neither parent nor ancestor was found"),!1);var f=u.ancestor,h=u;h.ancestor=null,f.descendant=h,u=f}this[c]=u.subject}}return!0}}},function(e,t,n){"use strict";var r=function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{!r&&s.return&&s.return()}finally{if(i)throw o}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),i=n(15).stateSelectorRegex,o=n(51),a=n(1),s=n(10),l=function(e){return e.replace(new RegExp("\\\\("+o.metaChar+")","g"),function(e,t){return t})},c=function(e,t,n){t===e[e.length-1]&&(e[e.length-1]=n)},u=[{name:"group",query:!0,regex:"("+o.group+")",populate:function(e,t,n){var i=r(n,1)[0];t.group="*"===i?i:i+"s"}},{name:"state",query:!0,regex:i,populate:function(e,t,n){var i=r(n,1)[0];t.colonSelectors.push(i)}},{name:"id",query:!0,regex:"\\#("+o.id+")",populate:function(e,t,n){var i=r(n,1)[0];t.ids.push(l(i))}},{name:"className",query:!0,regex:"\\.("+o.className+")",populate:function(e,t,n){var i=r(n,1)[0];t.classes.push(l(i))}},{name:"dataExists",query:!0,regex:"\\[\\s*("+o.variable+")\\s*\\]",populate:function(e,t,n){var i=r(n,1)[0];t.data.push({field:l(i)})}},{name:"dataCompare",query:!0,regex:"\\[\\s*("+o.variable+")\\s*("+o.comparatorOp+")\\s*("+o.value+")\\s*\\]",populate:function(e,t,n){var i=r(n,3),a=i[0],s=i[1],c=i[2];c=null!=new RegExp("^"+o.string+"$").exec(c)?c.substring(1,c.length-1):parseFloat(c),t.data.push({field:l(a),operator:s,value:c})}},{name:"dataBool",query:!0,regex:"\\[\\s*("+o.boolOp+")\\s*("+o.variable+")\\s*\\]",populate:function(e,t,n){var i=r(n,2),o=i[0],a=i[1];t.data.push({field:l(a),operator:o})}},{name:"metaCompare",query:!0,regex:"\\[\\[\\s*("+o.meta+")\\s*("+o.comparatorOp+")\\s*("+o.number+")\\s*\\]\\]",populate:function(e,t,n){var i=r(n,3),o=i[0],a=i[1],s=i[2];t.meta.push({field:l(o),operator:a,value:parseFloat(s)})}},{name:"nextQuery",separator:!0,regex:o.separator,populate:function(e){var t=e[e.length++]=s();return e.currentSubject=null,t}},{name:"directedEdge",separator:!0,regex:o.directedEdge,populate:function(e,t){var n=s(),r=t,i=s();return n.group="edges",n.target=i,n.source=r,n.subject=e.currentSubject,c(e,t,n),i}},{name:"undirectedEdge",separator:!0,regex:o.undirectedEdge,populate:function(e,t){var n=s(),r=t,i=s();return n.group="edges",n.connectedNodes=[r,i],n.subject=e.currentSubject,c(e,t,n),i}},{name:"child",separator:!0,regex:o.child,populate:function(e,t){var n=s();return n.parent=t,n.subject=e.currentSubject,c(e,t,n),n}},{name:"descendant",separator:!0,regex:o.descendant,populate:function(e,t){var n=s();return n.ancestor=t,n.subject=e.currentSubject,c(e,t,n),n}},{name:"subject",modifier:!0,regex:o.subject,populate:function(e,t){if(null!=e.currentSubject&&t.subject!=t)return a.error("Redefinition of subject in selector `"+e.toString()+"`"),!1;e.currentSubject=t,t.subject=t,e[e.length-1].subject=t}}];u.forEach(function(e){return e.regexObj=new RegExp("^"+e.regex)}),e.exports=u},function(e,t,n){"use strict";var r={metaChar:"[\\!\\\"\\#\\$\\%\\&\\'\\(\\)\\*\\+\\,\\.\\/\\:\\;\\<\\=\\>\\?\\@\\[\\]\\^\\`\\{\\|\\}\\~]",comparatorOp:"=|\\!=|>|>=|<|<=|\\$=|\\^=|\\*=",boolOp:"\\?|\\!|\\^",string:'"(?:\\\\"|[^"])*"|'+"'(?:\\\\'|[^'])*'",number:n(1).regex.number,meta:"degree|indegree|outdegree",separator:"\\s*,\\s*",descendant:"\\s+",child:"\\s+>\\s+",subject:"\\$",group:"node|edge|\\*",directedEdge:"\\s+->\\s+",undirectedEdge:"\\s+<->\\s+"};r.variable="(?:[\\w-]|(?:\\\\"+r.metaChar+"))+",r.value=r.string+"|"+r.number,r.className=r.variable,r.id=r.variable,function(){var e=void 0,t=void 0,n=void 0;for(e=r.comparatorOp.split("|"),n=0;n<e.length;n++)t=e[n],r.comparatorOp+="|@"+t;for(e=r.comparatorOp.split("|"),n=0;n<e.length;n++)(t=e[n]).indexOf("!")>=0||"="!==t&&(r.comparatorOp+="|\\!"+t)}(),e.exports=r},function(e,t,n){"use strict";var r=n(15).stateSelectorMatches,i=n(0),o=function(e,t){for(var n=!0,r=0;r<e[t.name].length;r++){var o=e[t.name][r],a=o.operator,s=o.value,l=o.field,c=void 0,u=t.fieldValue(l);if(null!=a&&null!=s){var d=i.string(u)||i.number(u)?""+u:"",p=""+s,f=!1;a.indexOf("@")>=0&&(d=d.toLowerCase(),p=p.toLowerCase(),a=a.replace("@",""),f=!0);var h=!1;a.indexOf("!")>=0&&(a=a.replace("!",""),h=!0),f&&(s=p.toLowerCase(),u=d.toLowerCase());var g=!1;switch(a){case"*=":c=d.indexOf(p)>=0;break;case"$=":c=d.indexOf(p,d.length-p.length)>=0;break;case"^=":c=0===d.indexOf(p);break;case"=":c=u===s;break;case">":g=!0,c=u>s;break;case">=":g=!0,c=u>=s;break;case"<":g=!0,c=u<s;break;case"<=":g=!0,c=u<=s;break;default:c=!1}!h||null==u&&g||(c=!c)}else if(null!=a)switch(a){case"?":c=!!u;break;case"!":c=!u;break;case"^":c=void 0===u}else c=void 0!==u;if(!c){n=!1;break}}return n},a=function(e,t,n){if(null!=e){var r=!1;if(!t)return!1;n=n();for(var i=0;i<n.length;i++)if(s(e,n[i])){r=!0;break}return r}return!0},s=function(e,t){if(e.groupOnly)return"*"===e.group||e.group===t.group();if(null!=e.group&&"*"!=e.group&&e.group!=t.group())return!1;var n=t.cy(),i=void 0,s=!0;for(i=0;i<e.colonSelectors.length;i++){var l=e.colonSelectors[i];if(!(s=r(l,t)))break}if(!s)return!1;var c=!0;for(i=0;i<e.ids.length;i++){var u=e.ids[i],d=t.id();if(!(c=c&&u==d))break}if(!c)return!1;var p=!0;for(i=0;i<e.classes.length;i++){var f=e.classes[i];if(!(p=p&&t.hasClass(f)))break}if(!p)return!1;if(!o(e,{name:"data",fieldValue:function(e){return t.data(e)}}))return!1;if(!o(e,{name:"meta",fieldValue:function(e){return t[e]()}}))return!1;if(null!=e.collection&&!e.collection.hasElementWithId(t.id()))return!1;if(null!=e.filter&&t.collection().some(e.filter))return!1;var h=n.hasCompoundNodes(),g=function(){return t.source()},m=function(){return t.target()};if(!a(e.parent,h,function(){return t.parent()}))return!1;if(!a(e.ancestor,h,function(){return t.parents()}))return!1;if(!a(e.child,h,function(){return t.children()}))return!1;if(!a(e.descendant,h,function(){return t.descendants()}))return!1;if(!a(e.source,!0,g))return!1;if(!a(e.target,!0,m))return!1;if(e.connectedNodes){var v=e.connectedNodes[0],b=e.connectedNodes[1];if(a(v,!0,g)&&a(b,!0,m));else if(!a(v,!0,m)||!a(b,!0,g))return!1}return!0};e.exports={matches:function(e){if(this.invalid())return!1;for(var t=0;t<this.length;t++){var n=this[t];if(s(n,e))return!0}return!1},filter:function(e){var t=this,n=e.cy();if(t.invalid())return n.collection();if(1===t.length&&1===t[0].length&&1===t[0].ids.length)return e.getElementById(t[0].ids[0]).collection();var r=function(e){for(var n=0;n<t.length;n++){var r=t[n];if(s(r,e))return!0}return!1};return null==t.text()&&(r=function(){return!0}),e.filter(r)}}},function(e,t,n){"use strict";var r=n(8),i={parent:function(e){var t=[];if(1===this.length){var n=this[0]._private.parent;if(n)return n}for(var r=0;r<this.length;r++){var i=this[r]._private.parent;i&&t.push(i)}return this.spawn(t,{unique:!0}).filter(e)},parents:function(e){for(var t=[],n=this.parent();n.nonempty();){for(var r=0;r<n.length;r++){var i=n[r];t.push(i)}n=n.parent()}return this.spawn(t,{unique:!0}).filter(e)},commonAncestors:function(e){for(var t=void 0,n=0;n<this.length;n++){var r=this[n].parents();t=(t=t||r).intersect(r)}return t.filter(e)},orphans:function(e){return this.stdFilter(function(e){return e.isOrphan()}).filter(e)},nonorphans:function(e){return this.stdFilter(function(e){return e.isChild()}).filter(e)},children:function(e){for(var t=[],n=0;n<this.length;n++){var r=this[n];t=t.concat(r._private.children)}return this.spawn(t,{unique:!0}).filter(e)},siblings:function(e){return this.parent().children().not(this).filter(e)},isParent:function(){var e=this[0];if(e)return e.isNode()&&0!==e._private.children.length},isChildless:function(){var e=this[0];if(e)return e.isNode()&&0===e._private.children.length},isChild:function(){var e=this[0];if(e)return e.isNode()&&null!=e._private.parent},isOrphan:function(){var e=this[0];if(e)return e.isNode()&&null==e._private.parent},descendants:function(e){var t=[];return function e(n){for(var r=0;r<n.length;r++){var i=n[r];t.push(i),i.children().nonempty()&&e(i.children())}}(this.children()),this.spawn(t,{unique:!0}).filter(e)}};function o(e,t,n,i){for(var o=[],a=new r,s=e.cy().hasCompoundNodes(),l=0;l<e.length;l++){var c=e[l];n?o.push(c):s&&i(o,a,c)}for(;o.length>0;){var u=o.shift();t(u),a.add(u.id()),s&&i(o,a,u)}return e}function a(e,t,n){if(n.isParent())for(var r=n._private.children,i=0;i<r.length;i++){var o=r[i];t.has(o.id())||e.push(o)}}function s(e,t,n){if(n.isChild()){var r=n._private.parent;t.has(r.id())||e.push(r)}}function l(e,t,n){s(e,t,n),a(e,t,n)}i.forEachDown=function(e){return o(this,e,!(arguments.length>1&&void 0!==arguments[1])||arguments[1],a)},i.forEachUp=function(e){return o(this,e,!(arguments.length>1&&void 0!==arguments[1])||arguments[1],s)},i.forEachUpAndDown=function(e){return o(this,e,!(arguments.length>1&&void 0!==arguments[1])||arguments[1],l)},i.ancestors=i.parents,e.exports=i},function(e,t,n){"use strict";var r,i=n(4),o=void 0;(o=r={data:i.data({field:"data",bindingEvent:"data",allowBinding:!0,allowSetting:!0,settingEvent:"data",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,immutableKeys:{id:!0,source:!0,target:!0,parent:!0},updateStyle:!0}),removeData:i.removeData({field:"data",event:"data",triggerFnName:"trigger",triggerEvent:!0,immutableKeys:{id:!0,source:!0,target:!0,parent:!0},updateStyle:!0}),scratch:i.data({field:"scratch",bindingEvent:"scratch",allowBinding:!0,allowSetting:!0,settingEvent:"scratch",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,updateStyle:!0}),removeScratch:i.removeData({field:"scratch",event:"scratch",triggerFnName:"trigger",triggerEvent:!0,updateStyle:!0}),rscratch:i.data({field:"rscratch",allowBinding:!1,allowSetting:!0,settingTriggersEvent:!1,allowGetting:!0}),removeRscratch:i.removeData({field:"rscratch",triggerEvent:!1}),id:function(){var e=this[0];if(e)return e._private.data.id}}).attr=o.data,o.removeAttr=o.removeData,e.exports=r},function(e,t,n){"use strict";var r=n(1),i={};function o(e){return function(t){if(void 0===t&&(t=!0),0!==this.length&&this.isNode()&&!this.removed()){for(var n=0,r=this[0],i=r._private.edges,o=0;o<i.length;o++){var a=i[o];!t&&a.isLoop()||(n+=e(r,a))}return n}}}function a(e,t){return function(n){for(var r=void 0,i=this.nodes(),o=0;o<i.length;o++){var a=i[o][e](n);void 0===a||void 0!==r&&!t(a,r)||(r=a)}return r}}r.extend(i,{degree:o(function(e,t){return t.source().same(t.target())?2:1}),indegree:o(function(e,t){return t.target().same(e)?1:0}),outdegree:o(function(e,t){return t.source().same(e)?1:0})}),r.extend(i,{minDegree:a("degree",function(e,t){return e<t}),maxDegree:a("degree",function(e,t){return e>t}),minIndegree:a("indegree",function(e,t){return e<t}),maxIndegree:a("indegree",function(e,t){return e>t}),minOutdegree:a("outdegree",function(e,t){return e<t}),maxOutdegree:a("outdegree",function(e,t){return e>t})}),r.extend(i,{totalDegree:function(e){for(var t=0,n=this.nodes(),r=0;r<n.length;r++)t+=n[r].degree(e);return t}}),e.exports=i},function(e,t,n){"use strict";var r=n(1),i=n(57),o=n(58),a=n(59),s=n(60);e.exports=r.assign({},i,o,a,s)},function(e,t,n){"use strict";var r,i=n(4),o=n(0),a=n(2),s=void 0,l=function(e,t){for(var n=0;n<e.length;n++){var r=e[n];if(r.isParent()&&!r.locked()){var i=r._private.position,o={x:t.x-i.x,y:t.y-i.y};e.children().shift(o)}}};(s=r={position:i.data({field:"position",bindingEvent:"position",allowBinding:!0,allowSetting:!0,settingEvent:"position",settingTriggersEvent:!0,triggerFnName:"emitAndNotify",allowGetting:!0,validKeys:["x","y"],beforeGet:function(e){e.updateCompoundBounds()},beforeSet:l,onSet:function(e){e.dirtyCompoundBoundsCache()},canSet:function(e){return!e.locked()}}),silentPosition:i.data({field:"position",bindingEvent:"position",allowBinding:!1,allowSetting:!0,settingEvent:"position",settingTriggersEvent:!1,triggerFnName:"trigger",allowGetting:!1,validKeys:["x","y"],beforeSet:l,onSet:function(e){e.dirtyCompoundBoundsCache()},canSet:function(e){return!e.locked()}}),positions:function(e,t){if(o.plainObject(e))t?this.silentPosition(e):this.position(e);else if(o.fn(e)){var n=e,r=this.cy();r.startBatch();for(var i=0;i<this.length;i++){var a,s=this[i];(a=n(s,i))&&(t?s.silentPosition(a):s.position(a))}r.endBatch()}return this},silentPositions:function(e){return this.positions(e,!0)},shift:function(e,t){var n=void 0;if(o.plainObject(e)?n=e:o.string(e)&&o.number(t)&&((n={x:0,y:0})[e]=t),null!=n)for(var r=0;r<this.length;r++){var i=this[r],a=i.position();i.position({x:a.x+n.x,y:a.y+n.y})}return this},renderedPosition:function(e,t){var n=this[0],r=this.cy(),i=r.zoom(),s=r.pan(),l=o.plainObject(e)?e:void 0,c=void 0!==l||void 0!==t&&o.string(e);if(n&&n.isNode()){if(!c){var u=n.position();return l=a.modelToRenderedPosition(u,i,s),void 0===e?l:l[e]}for(var d=0;d<this.length;d++){var p=this[d];void 0!==t?p.position(e,(t-s[e])/i):void 0!==l&&p.position(a.renderedToModelPosition(l,i,s))}}else if(!c)return;return this},relativePosition:function(e,t){var n=this[0],r=this.cy(),i=o.plainObject(e)?e:void 0,a=void 0!==i||void 0!==t&&o.string(e),s=r.hasCompoundNodes();if(n&&n.isNode()){if(!a){var l=n.position(),c=s?n.parent():null,u=c&&c.length>0,d=u;u&&(c=c[0]);var p=d?c.position():{x:0,y:0};return i={x:l.x-p.x,y:l.y-p.y},void 0===e?i:i[e]}for(var f=0;f<this.length;f++){var h=this[f],g=s?h.parent():null,m=g&&g.length>0,v=m;m&&(g=g[0]);var b=v?g.position():{x:0,y:0};void 0!==t?h.position(e,t+b[e]):void 0!==i&&h.position({x:i.x+b.x,y:i.y+b.y})}}else if(!a)return;return this}}).modelPosition=s.point=s.position,s.modelPositions=s.points=s.positions,s.renderedPoint=s.renderedPosition,s.relativePoint=s.relativePosition,e.exports=r},function(e,t,n){"use strict";var r=n(0),i=n(1),o=n(2),a=void 0,s=void 0;a=s={},s.renderedBoundingBox=function(e){var t=this.boundingBox(e),n=this.cy(),r=n.zoom(),i=n.pan(),o=t.x1*r+i.x,a=t.x2*r+i.x,s=t.y1*r+i.y,l=t.y2*r+i.y;return{x1:o,x2:a,y1:s,y2:l,w:a-o,h:l-s}},s.dirtyCompoundBoundsCache=function(){var e=this.cy();return e.styleEnabled()&&e.hasCompoundNodes()?(this.forEachUp(function(e){e._private.compoundBoundsClean=!1,e.isParent()&&e.emit("bounds")}),this):this},s.updateCompoundBounds=function(){var e=this.cy();if(!e.styleEnabled()||!e.hasCompoundNodes())return this;if(e.batching())return this;var t=[];function n(e){if(e.isParent()){var n=e._private,r=e.children(),i="include"===e.pstyle("compound-sizing-wrt-labels").value,o={width:{val:e.pstyle("min-width").pfValue,left:e.pstyle("min-width-bias-left"),right:e.pstyle("min-width-bias-right")},height:{val:e.pstyle("min-height").pfValue,top:e.pstyle("min-height-bias-top"),bottom:e.pstyle("min-height-bias-bottom")}},a=r.boundingBox({includeLabels:i,includeOverlays:!1,useCache:!1}),s=n.position;0!==a.w&&0!==a.h||((a={w:e.pstyle("width").pfValue,h:e.pstyle("height").pfValue}).x1=s.x-a.w/2,a.x2=s.x+a.w/2,a.y1=s.y-a.h/2,a.y2=s.y+a.h/2);var l=o.width.left.value;"px"===o.width.left.units&&o.width.val>0&&(l=100*l/o.width.val);var c=o.width.right.value;"px"===o.width.right.units&&o.width.val>0&&(c=100*c/o.width.val);var u=o.height.top.value;"px"===o.height.top.units&&o.height.val>0&&(u=100*u/o.height.val);var d=o.height.bottom.value;"px"===o.height.bottom.units&&o.height.val>0&&(d=100*d/o.height.val);var p=b(o.width.val-a.w,l,c),f=p.biasDiff,h=p.biasComplementDiff,g=b(o.height.val-a.h,u,d),m=g.biasDiff,v=g.biasComplementDiff;n.autoPadding=function(e,t,n,r){if("%"!==n.units)return"px"===n.units?n.pfValue:0;switch(r){case"width":return e>0?n.pfValue*e:0;case"height":return t>0?n.pfValue*t:0;case"average":return e>0&&t>0?n.pfValue*(e+t)/2:0;case"min":return e>0&&t>0?e>t?n.pfValue*t:n.pfValue*e:0;case"max":return e>0&&t>0?e>t?n.pfValue*e:n.pfValue*t:0;default:return 0}}(a.w,a.h,e.pstyle("padding"),e.pstyle("padding-relative-to").value),n.autoWidth=Math.max(a.w,o.width.val),s.x=(-f+a.x1+a.x2+h)/2,n.autoHeight=Math.max(a.h,o.height.val),s.y=(-m+a.y1+a.y2+v)/2,t.push(e)}function b(e,t,n){var r=0,i=0,o=t+n;return e>0&&o>0&&(r=t/o*e,i=n/o*e),{biasDiff:r,biasComplementDiff:i}}}for(var r=0;r<this.length;r++){var i=this[r],o=i._private;o.compoundBoundsClean||(n(i),e._private.batchingStyle||(o.compoundBoundsClean=!0))}return this};var l=function(e){return e===1/0||e===-1/0?0:e},c=function(e,t,n,r,i){r-t!=0&&i-n!=0&&null!=t&&null!=n&&null!=r&&null!=i&&(e.x1=t<e.x1?t:e.x1,e.x2=r>e.x2?r:e.x2,e.y1=n<e.y1?n:e.y1,e.y2=i>e.y2?i:e.y2)},u=function(e,t){return c(e,t.x1,t.y1,t.x2,t.y2)},d=function(e,t,n){return i.getPrefixedProperty(e,t,n)},p=function(e,t,n){if(!t.cy().headless()){var r=t._private.rstyle,i=r.arrowWidth/2,o=void 0,a=void 0;"none"!==t.pstyle(n+"-arrow-shape").value&&("source"===n?(o=r.srcX,a=r.srcY):"target"===n?(o=r.tgtX,a=r.tgtY):(o=r.midX,a=r.midY),c(e,o-i,a-i,o+i,a+i))}},f=function(e,t,n){if(!t.cy().headless()){var r=void 0;r=n?n+"-":"";var i=t._private,o=i.rstyle;if(t.pstyle(r+"label").strValue){var a=t.pstyle("text-halign"),s=t.pstyle("text-valign"),l=d(o,"labelWidth",n),u=d(o,"labelHeight",n),p=d(o,"labelX",n),f=d(o,"labelY",n),h=t.pstyle(r+"text-margin-x").pfValue,g=t.pstyle(r+"text-margin-y").pfValue,m=t.isEdge(),v=t.pstyle(r+"text-rotation"),b=t.pstyle("text-outline-width").pfValue,y=t.pstyle("text-border-width").pfValue/2,x=t.pstyle("text-background-padding").pfValue,w=u+2*x,k=l+2*x,_=k/2,$=w/2,E=void 0,S=void 0,C=void 0,T=void 0;if(m)E=p-_,S=p+_,C=f-$,T=f+$;else{switch(a.value){case"left":E=p-k,S=p;break;case"center":E=p-_,S=p+_;break;case"right":E=p,S=p+k}switch(s.value){case"top":C=f-w,T=f;break;case"center":C=f-$,T=f+$;break;case"bottom":C=f,T=f+w}}var A=m&&"autorotate"===v.strValue,O=null!=v.pfValue&&0!==v.pfValue;if(A||O){var P=A?d(i.rstyle,"labelAngle",n):v.pfValue,R=Math.cos(P),j=Math.sin(P),D=function(e,t){return{x:(e-=p)*R-(t-=f)*j+p,y:e*j+t*R+f}},N=D(E,C),I=D(E,T),M=D(S,C),z=D(S,T);E=Math.min(N.x,I.x,M.x,z.x),S=Math.max(N.x,I.x,M.x,z.x),C=Math.min(N.y,I.y,M.y,z.y),T=Math.max(N.y,I.y,M.y,z.y)}E+=h-Math.max(b,y),S+=h+Math.max(b,y),C+=g-Math.max(b,y),T+=g+Math.max(b,y),c(e,E,C,S,T)}return e}},h=function(e){return e?"t":"f"},g=function(e){var t="";return t+=h(e.incudeNodes),t+=h(e.includeEdges),t+=h(e.includeLabels),t+=h(e.includeOverlays)},m=function(e,t){var n=e._private,r=void 0,i=e.cy().headless(),a=t===v?b:g(t);return t.useCache&&!i&&n.bbCache&&n.bbCache[a]?r=n.bbCache[a]:(r=function(e,t){var n=e._private.cy,r=n.styleEnabled(),i=n.headless(),a={x1:1/0,y1:1/0,x2:-1/0,y2:-1/0},s=e._private,u=r?e.pstyle("display").value:"element",d=e.isNode(),h=e.isEdge(),g=void 0,m=void 0,v=void 0,b=void 0,y=void 0,x=void 0,w="none"!==u;if(w){var k=0;r&&t.includeOverlays&&0!==e.pstyle("overlay-opacity").value&&(k=e.pstyle("overlay-padding").value);var _=0;if(r&&(_=e.pstyle("width").pfValue/2),d&&t.includeNodes){var $=e.position();y=$.x,x=$.y;var E=e.outerWidth()/2,S=e.outerHeight()/2;c(a,g=y-E-k,v=x-S-k,m=y+E+k,b=x+S+k)}else if(h&&t.includeEdges){var C=s.rstyle||{};if(r&&!i&&(g=Math.min(C.srcX,C.midX,C.tgtX),m=Math.max(C.srcX,C.midX,C.tgtX),v=Math.min(C.srcY,C.midY,C.tgtY),b=Math.max(C.srcY,C.midY,C.tgtY),c(a,g-=_,v-=_,m+=_,b+=_)),r&&!i&&"haystack"===e.pstyle("curve-style").strValue){var T=C.haystackPts||[];if(g=T[0].x,v=T[0].y,m=T[1].x,b=T[1].y,g>m){var A=g;g=m,m=A}if(v>b){var O=v;v=b,b=O}c(a,g-_,v-_,m+_,b+_)}else{for(var P=C.bezierPts||C.linePts||[],R=0;R<P.length;R++){var j=P[R];g=j.x-_,m=j.x+_,v=j.y-_,b=j.y+_,c(a,g,v,m,b)}if(0===P.length){var D=e.source().position(),N=e.target().position();if(g=D.x,m=N.x,v=D.y,b=N.y,g>m){var I=g;g=m,m=I}if(v>b){var M=v;v=b,b=M}c(a,g-=_,v-=_,m+=_,b+=_)}}}if(r&&t.includeEdges&&h&&(p(a,e,"mid-source"),p(a,e,"mid-target"),p(a,e,"source"),p(a,e,"target")),r&&"yes"===e.pstyle("ghost").value){var z=e.pstyle("ghost-offset-x").pfValue,L=e.pstyle("ghost-offset-y").pfValue;c(a,a.x1+z,a.y1+L,a.x2+z,a.y2+L)}r&&(g=a.x1,m=a.x2,v=a.y1,b=a.y2,c(a,g-k,v-k,m+k,b+k)),r&&t.includeLabels&&(f(a,e,null),h&&(f(a,e,"source"),f(a,e,"target")))}return a.x1=l(a.x1),a.y1=l(a.y1),a.x2=l(a.x2),a.y2=l(a.y2),a.w=l(a.x2-a.x1),a.h=l(a.y2-a.y1),a.w>0&&a.h>0&&w&&o.expandBoundingBox(a,1),a}(e,t),i||(n.bbCache=n.bbCache||{},n.bbCache[a]=r)),r},v={includeNodes:!0,includeEdges:!0,includeLabels:!0,includeOverlays:!0,useCache:!0},b=g(v);function y(e){return{includeNodes:i.default(e.includeNodes,v.includeNodes),includeEdges:i.default(e.includeEdges,v.includeEdges),includeLabels:i.default(e.includeLabels,v.includeLabels),includeOverlays:i.default(e.includeOverlays,v.includeOverlays),useCache:i.default(e.useCache,v.useCache)}}s.boundingBox=function(e){if(1===this.length&&this[0]._private.bbCache&&(void 0===e||void 0===e.useCache||!0===e.useCache))return e=void 0===e?v:y(e),m(this[0],e);var t={x1:1/0,y1:1/0,x2:-1/0,y2:-1/0},n=y(e=e||i.staticEmptyObject()),r=this.cy().styleEnabled();r&&this.recalculateRenderedStyle(n.useCache),this.updateCompoundBounds();for(var o={},a=0;a<this.length;a++){var s=this[a];if(r&&s.isEdge()&&"bezier"===s.pstyle("curve-style").strValue&&!o[s.id()]){for(var c=s.parallelEdges(),d=0;d<c.length;d++)o[c[d].id()]=!0;c.recalculateRenderedStyle(n.useCache)}u(t,m(s,n))}return t.x1=l(t.x1),t.y1=l(t.y1),t.x2=l(t.x2),t.y2=l(t.y2),t.w=l(t.x2-t.x1),t.h=l(t.y2-t.y1),t},s.boundingBoxAt=function(e){var t=this.nodes();if(r.plainObject(e)){var n=e;e=function(){return n}}for(var i=0;i<t.length;i++){var o=t[i],a=o._private,s=a.position,l=e.call(o,o,i);a.bbAtOldPos={x:s.x,y:s.y},l&&(s.x=l.x,s.y=l.y)}this.emit("dirty"),t.dirtyCompoundBoundsCache().updateCompoundBounds();for(var c=this.boundingBox({useCache:!1}),u=0;u<t.length;u++){var d=t[u],p=d._private,f=d._private.position,h=p.bbAtOldPos;f.x=h.x,f.y=h.y}return t.dirtyCompoundBoundsCache(),this.emit("dirty"),c},a.boundingbox=a.boundingBox,a.renderedBoundingbox=a.renderedBoundingBox,e.exports=s},function(e,t,n){"use strict";var r=n(1),i=void 0,o=void 0;i=o={};var a=function(e){e.uppercaseName=r.capitalize(e.name),e.autoName="auto"+e.uppercaseName,e.labelName="label"+e.uppercaseName,e.outerName="outer"+e.uppercaseName,e.uppercaseOuterName=r.capitalize(e.outerName),i[e.name]=function(){var t=this[0],n=t._private,r=n.cy._private.styleEnabled;if(t){if(!r)return 1;if(t.isParent())return t.updateCompoundBounds(),n[e.autoName]||0;var i=t.pstyle(e.name);switch(i.strValue){case"label":return t.recalculateRenderedStyle(),n.rstyle[e.labelName]||0;default:return i.pfValue}}},i["outer"+e.uppercaseName]=function(){var t=this[0],n=t._private.cy._private.styleEnabled;if(t)return n?t[e.name]()+t.pstyle("border-width").pfValue+2*t.padding():1},i["rendered"+e.uppercaseName]=function(){var t=this[0];if(t)return t[e.name]()*this.cy().zoom()},i["rendered"+e.uppercaseOuterName]=function(){var t=this[0];if(t)return t[e.outerName]()*this.cy().zoom()}};a({name:"width"}),a({name:"height"}),o.padding=function(){var e=this[0],t=e._private;return e.isParent()?(e.updateCompoundBounds(),void 0!==t.autoPadding?t.autoPadding:e.pstyle("padding").pfValue):e.pstyle("padding").pfValue},e.exports=o},function(e,t,n){"use strict";var r=function(e,t){if(e.isEdge())return t(e.renderer())};e.exports={controlPoints:function(){var e=this;return r(this,function(t){return t.getControlPoints(e)})},segmentPoints:function(){var e=this;return r(this,function(t){return t.getSegmentPoints(e)})},sourceEndpoint:function(){var e=this;return r(this,function(t){return t.getSourceEndpoint(e)})},targetEndpoint:function(){var e=this;return r(this,function(t){return t.getTargetEndpoint(e)})},midpoint:function(){var e=this;return r(this,function(t){return t.getEdgeMidpoint(e)})}}},function(e,t,n){"use strict";var r=n(11),i=n(4),o=n(0),a=n(1),s=n(6),l={qualifierCompare:function(e,t){return null==e||null==t?null==e&&null==t:e.sameText(t)},eventMatches:function(e,t,n){var r=t.qualifier;return null==r||e!==n.target&&o.element(n.target)&&r.matches(n.target)},eventFields:function(e){return{cy:e.cy(),target:e}},callbackContext:function(e,t,n){return null!=t.qualifier?n.target:e},beforeEmit:function(e,t){t.conf&&t.conf.once&&t.conf.onceCollection.removeListener(t.event,t.qualifier,t.callback)},bubble:function(){return!0},parent:function(e){return e.isChild()?e.parent():e.cy()}},c=function(e){return o.string(e)?new s(e):e},u={createEmitter:function(){for(var e=0;e<this.length;e++){var t=this[e],n=t._private;n.emitter||(n.emitter=new r(a.assign({context:t},l)))}return this},emitter:function(){return this._private.emitter},on:function(e,t,n){for(var r=0;r<this.length;r++){this[r].emitter().on(e,c(t),n)}return this},removeListener:function(e,t,n){for(var r=0;r<this.length;r++){this[r].emitter().removeListener(e,c(t),n)}return this},one:function(e,t,n){for(var r=0;r<this.length;r++){this[r].emitter().one(e,c(t),n)}return this},once:function(e,t,n){for(var r=0;r<this.length;r++){this[r].emitter().on(e,c(t),n,{once:!0,onceCollection:this})}},emit:function(e,t){for(var n=0;n<this.length;n++){this[n].emitter().emit(e,t)}return this},emitAndNotify:function(e,t){if(0!==this.length)return this.cy().notify({type:e,eles:this}),this.emit(e,t),this}};i.eventAliasesOn(u),e.exports=u},function(e,t,n){"use strict";var r=n(0),i=n(6),o={nodes:function(e){return this.filter(function(e){return e.isNode()}).filter(e)},edges:function(e){return this.filter(function(e){return e.isEdge()}).filter(e)},filter:function(e,t){if(void 0===e)return this;if(r.string(e)||r.elementOrCollection(e))return new i(e).filter(this);if(r.fn(e)){for(var n=this.spawn(),o=0;o<this.length;o++){var a=this[o];(t?e.apply(t,[a,o,this]):e(a,o,this))&&n.merge(a)}return n}return this.spawn()},not:function(e){if(e){r.string(e)&&(e=this.filter(e));for(var t=[],n=e._private.map,i=0;i<this.length;i++){var o=this[i];n.has(o.id())||t.push(o)}return this.spawn(t)}return this},absoluteComplement:function(){return this.cy().mutableElements().not(this)},intersect:function(e){if(r.string(e)){var t=e;return this.filter(t)}for(var n=[],i=e,o=this.length<e.length,a=o?i._private.map:this._private.map,s=o?this:i,l=0;l<s.length;l++){var c=s[l]._private.data.id,u=a.get(c);u&&n.push(u.ele)}return this.spawn(n)},xor:function(e){var t=this._private.cy;r.string(e)&&(e=t.$(e));var n=[],i=e,o=function(e,t){for(var r=0;r<e.length;r++){var i=e[r],o=i._private.data.id;t.hasElementWithId(o)||n.push(i)}};return o(this,i),o(i,this),this.spawn(n)},diff:function(e){var t=this._private.cy;r.string(e)&&(e=t.$(e));var n=[],i=[],o=[],a=e,s=function(e,t,n){for(var r=0;r<e.length;r++){var i=e[r],a=i._private.data.id;t.hasElementWithId(a)?o.push(i):n.push(i)}};return s(this,a,n),s(a,this,i),{left:this.spawn(n,{unique:!0}),right:this.spawn(i,{unique:!0}),both:this.spawn(o,{unique:!0})}},add:function(e){var t=this._private.cy;if(!e)return this;if(r.string(e)){var n=e;e=t.mutableElements().filter(n)}for(var i=[],o=0;o<this.length;o++)i.push(this[o]);for(var a=this._private.map,s=0;s<e.length;s++){var l=!a.has(e[s].id());l&&i.push(e[s])}return this.spawn(i)},merge:function(e){var t=this._private,n=t.cy;if(!e)return this;if(e&&r.string(e)){var i=e;e=n.mutableElements().filter(i)}for(var o=t.map,a=0;a<e.length;a++){var s=e[a],l=s._private.data.id;if(!o.has(l)){var c=this.length++;this[c]=s,o.set(l,{ele:s,index:c})}else{var u=o.get(l).index;this[u]=s,o.set(l,{ele:s,index:u})}}return this},unmergeOne:function(e){e=e[0];var t=this._private,n=e._private.data.id,r=t.map,i=r.get(n);if(!i)return this;var o=i.index;this[o]=void 0,r.delete(n);var a=o===this.length-1;if(this.length>1&&!a){var s=this.length-1,l=this[s],c=l._private.data.id;this[s]=void 0,this[o]=l,r.set(c,{ele:l,index:o})}return this.length--,this},unmerge:function(e){var t=this._private.cy;if(!e)return this;if(e&&r.string(e)){var n=e;e=t.mutableElements().filter(n)}for(var i=0;i<e.length;i++)this.unmergeOne(e[i]);return this},map:function(e,t){for(var n=[],r=0;r<this.length;r++){var i=this[r],o=t?e.apply(t,[i,r,this]):e(i,r,this);n.push(o)}return n},reduce:function(e,t){for(var n=t,r=0;r<this.length;r++)n=e(n,this[r],r,this);return n},max:function(e,t){for(var n=-1/0,r=void 0,i=0;i<this.length;i++){var o=this[i],a=t?e.apply(t,[o,i,this]):e(o,i,this);a>n&&(n=a,r=o)}return{value:n,ele:r}},min:function(e,t){for(var n=1/0,r=void 0,i=0;i<this.length;i++){var o=this[i],a=t?e.apply(t,[o,i,this]):e(o,i,this);a<n&&(n=a,r=o)}return{value:n,ele:r}}},a=o;a.u=a["|"]=a["+"]=a.union=a.or=a.add,a["\\"]=a["!"]=a["-"]=a.difference=a.relativeComplement=a.subtract=a.not,a.n=a["&"]=a["."]=a.and=a.intersection=a.intersect,a["^"]=a["(+)"]=a["(-)"]=a.symmetricDifference=a.symdiff=a.xor,a.fnFilter=a.filterFn=a.stdFilter=a.filter,a.complement=a.abscomp=a.absoluteComplement,e.exports=o},function(e,t,n){"use strict";e.exports={isNode:function(){return"nodes"===this.group()},isEdge:function(){return"edges"===this.group()},isLoop:function(){return this.isEdge()&&this.source().id()===this.target().id()},isSimple:function(){return this.isEdge()&&this.source().id()!==this.target().id()},group:function(){var e=this[0];if(e)return e._private.group}}},function(e,t,n){"use strict";var r=n(0),i=n(17),o=n(1),a={forEach:function(e,t){if(r.fn(e))for(var n=0;n<this.length;n++){var i=this[n];if(!1===(t?e.apply(t,[i,n,this]):e(i,n,this)))break}return this},toArray:function(){for(var e=[],t=0;t<this.length;t++)e.push(this[t]);return e},slice:function(e,t){var n=[],r=this.length;null==t&&(t=r),null==e&&(e=0),e<0&&(e=r+e),t<0&&(t=r+t);for(var i=e;i>=0&&i<t&&i<r;i++)n.push(this[i]);return this.spawn(n)},size:function(){return this.length},eq:function(e){return this[e]||this.spawn()},first:function(){return this[0]||this.spawn()},last:function(){return this[this.length-1]||this.spawn()},empty:function(){return 0===this.length},nonempty:function(){return!this.empty()},sort:function(e){if(!r.fn(e))return this;var t=this.toArray().sort(e);return this.spawn(t)},sortByZIndex:function(){return this.sort(i)},zDepth:function(){var e=this[0];if(e){var t=e._private;if("nodes"===t.group){var n=t.data.parent?e.parents().size():0;return e.isParent()?n:o.MAX_INT-1}var r=t.source,i=t.target,a=r.zDepth(),s=i.zDepth();return Math.max(a,s,0)}}};a.each=a.forEach,e.exports=a},function(e,t,n){"use strict";var r=n(0),i=n(1),o=n(5),a=n(2),s={layoutDimensions:function(e){if((e=i.assign({nodeDimensionsIncludeLabels:!0},e)).nodeDimensionsIncludeLabels){var t=this.boundingBox();return{w:t.w,h:t.h}}return{w:this.outerWidth(),h:this.outerHeight()}},layoutPositions:function(e,t,n){var s=this.nodes(),l=this.cy(),c=t.eles,u=function(e,t){return e.id()+"$"+t},d=i.memoize(n,u);e.emit({type:"layoutstart",layout:e}),e.animations=[];var p=t.spacingFactor&&1!==t.spacingFactor,f=function(){if(!p)return null;for(var e=a.makeBoundingBox(),t=0;t<s.length;t++){var n=s[t],r=d(n,t);a.expandBoundingBoxByPoint(e,r.x,r.y)}return e}(),h=i.memoize(function(e,n){var i=d(e,n),o=e.position();(r.number(o.x)&&r.number(o.y)||e.silentPosition({x:0,y:0}),p)&&(i=function(e,t,n){var r=t.x1+t.w/2,i=t.y1+t.h/2;return{x:r+(n.x-r)*e,y:i+(n.y-i)*e}}(Math.abs(t.spacingFactor),f,i));return null!=t.transform&&(i=t.transform(e,i)),i},u);if(t.animate){for(var g=0;g<s.length;g++){var m=s[g],v=h(m,g);if(null==t.animateFilter||t.animateFilter(m,g)){var b=m.animation({position:v,duration:t.animationDuration,easing:t.animationEasing});e.animations.push(b),b.play()}else m.position(v)}if(t.fit){var y=l.animation({fit:{boundingBox:c.boundingBoxAt(h),padding:t.padding},duration:t.animationDuration,easing:t.animationEasing});e.animations.push(y),y.play()}else if(void 0!==t.zoom&&void 0!==t.pan){var x=l.animation({zoom:t.zoom,pan:t.pan,duration:t.animationDuration,easing:t.animationEasing});e.animations.push(x),x.play()}e.one("layoutready",t.ready),e.emit({type:"layoutready",layout:e}),o.all(e.animations.map(function(e){return e.promise()})).then(function(){e.one("layoutstop",t.stop),e.emit({type:"layoutstop",layout:e})})}else s.positions(h),t.fit&&l.fit(t.eles,t.padding),null!=t.zoom&&l.zoom(t.zoom),t.pan&&l.pan(t.pan),e.one("layoutready",t.ready),e.emit({type:"layoutready",layout:e}),e.one("layoutstop",t.stop),e.emit({type:"layoutstop",layout:e});return this},layout:function(e){return this.cy().makeLayout(i.extend({},e,{eles:this}))}};s.createLayout=s.makeLayout=s.layout,e.exports=s},function(e,t,n){"use strict";var r=n(0);function i(e,t,n){var r,i=n._private,o=i.styleCache=i.styleCache||{};return null!=(r=o[e])?r:r=o[e]=t(n)}function o(e,t){return function(n){return i(e,t,n)}}function a(e,t){var n=function(e){return t.call(e)};return function(){var t=this[0];if(t)return i(e,n,t)}}var s={recalculateRenderedStyle:function(e){var t=this.cy(),n=t.renderer(),r=t.styleEnabled();return n&&r&&n.recalculateRenderedStyle(this,e),this},dirtyStyleCache:function(){var e=function(e){return e._private.styleCache={}};if(this.cy().hasCompoundNodes()){var t=void 0;(t=this.spawnSelf().merge(this.descendants()).merge(this.parents())).merge(t.connectedEdges()),t.forEach(e)}else this.forEach(function(t){e(t),t.connectedEdges().forEach(e)});return this},updateStyle:function(e){var t=this._private.cy;if(!t.styleEnabled())return this;if(t._private.batchingStyle)return t._private.batchStyleEles.merge(this),this;var n=t.hasCompoundNodes(),r=t.style(),i=this;e=!(!e&&void 0!==e),n&&(i=this.spawnSelf().merge(this.descendants()).merge(this.parents()));var o=r.apply(i);return o.dirtyStyleCache(),o.dirtyCompoundBoundsCache(),e?o.emitAndNotify("style"):o.emit("style"),this},updateMappers:function(e){var t=this._private.cy,n=t.style();if(e=!(!e&&void 0!==e),!t.styleEnabled())return this;var r=n.updateMappers(this);return r.dirtyStyleCache(),r.dirtyCompoundBoundsCache(),e?r.emitAndNotify("style"):r.emit("style"),this},parsedStyle:function(e){var t=this[0],n=t.cy();if(n.styleEnabled())return t?t._private.style[e]||n.style().getDefaultProperty(e):void 0},numericStyle:function(e){var t=this[0];if(t.cy().styleEnabled()&&t){var n=t.pstyle(e);return void 0!==n.pfValue?n.pfValue:n.value}},numericStyleUnits:function(e){var t=this[0];if(t.cy().styleEnabled())return t?t.pstyle(e).units:void 0},renderedStyle:function(e){var t=this.cy();if(!t.styleEnabled())return this;var n=this[0];return n?t.style().getRenderedStyle(n,e):void 0},style:function(e,t){var n=this.cy();if(!n.styleEnabled())return this;var i=n.style();if(r.plainObject(e)){var o=e;i.applyBypass(this,o,!1),this.dirtyStyleCache(),this.dirtyCompoundBoundsCache(),this.emitAndNotify("style")}else if(r.string(e)){if(void 0===t){var a=this[0];return a?i.getStylePropertyValue(a,e):void 0}i.applyBypass(this,e,t,!1),this.dirtyStyleCache(),this.dirtyCompoundBoundsCache(),this.emitAndNotify("style")}else if(void 0===e){var s=this[0];return s?i.getRawStyle(s):void 0}return this},removeStyle:function(e){var t=this.cy();if(!t.styleEnabled())return this;var n=t.style();if(void 0===e)for(var r=0;r<this.length;r++){var i=this[r];n.removeAllBypasses(i,!1)}else{e=e.split(/\s+/);for(var o=0;o<this.length;o++){var a=this[o];n.removeBypasses(a,e,!1)}}return this.dirtyStyleCache(),this.dirtyCompoundBoundsCache(),this.emitAndNotify("style"),this},show:function(){return this.css("display","element"),this},hide:function(){return this.css("display","none"),this},effectiveOpacity:function(){var e=this.cy();if(!e.styleEnabled())return 1;var t=e.hasCompoundNodes(),n=this[0];if(n){var r=n._private,i=n.pstyle("opacity").value;if(!t)return i;var o=r.data.parent?n.parents():null;if(o)for(var a=0;a<o.length;a++){i*=o[a].pstyle("opacity").value}return i}},transparent:function(){if(!this.cy().styleEnabled())return!1;var e=this[0],t=e.cy().hasCompoundNodes();return e?t?0===e.effectiveOpacity():0===e.pstyle("opacity").value:void 0},backgrounding:function(){return!!this.cy().styleEnabled()&&!!this[0]._private.backgrounding}};function l(e,t){var n=e._private.data.parent?e.parents():null;if(n)for(var r=0;r<n.length;r++){if(!t(n[r]))return!1}return!0}function c(e){var t=e.ok,n=e.edgeOkViaNode||e.ok,r=e.parentOk||e.ok;return function(){var e=this.cy();if(!e.styleEnabled())return!0;var i=this[0],o=e.hasCompoundNodes();if(i){var a=i._private;if(!t(i))return!1;if(i.isNode())return!o||l(i,r);var s=a.source,c=a.target;return n(s)&&(!o||l(s,n))&&(s===c||n(c)&&(!o||l(c,n)))}}}var u=o("eleTakesUpSpace",function(e){return"element"===e.pstyle("display").value&&0!==e.width()&&(!e.isNode()||0!==e.height())});s.takesUpSpace=a("takesUpSpace",c({ok:u}));var d=o("eleInteractive",function(e){return"yes"===e.pstyle("events").value&&"visible"===e.pstyle("visibility").value&&u(e)}),p=o("parentInteractive",function(e){return"visible"===e.pstyle("visibility").value&&u(e)});s.interactive=a("interactive",c({ok:d,parentOk:p,edgeOkViaNode:u})),s.noninteractive=function(){var e=this[0];if(e)return!e.interactive()};var f=o("eleVisible",function(e){return"visible"===e.pstyle("visibility").value&&0!==e.pstyle("opacity").pfValue&&u(e)}),h=u;s.visible=a("visible",c({ok:f,edgeOkViaNode:h})),s.hidden=function(){var e=this[0];if(e)return!e.visible()},s.bypass=s.css=s.style,s.renderedCss=s.renderedStyle,s.removeBypass=s.removeCss=s.removeStyle,s.pstyle=s.parsedStyle,e.exports=s},function(e,t,n){"use strict";var r={};function i(e){return function(){var t=arguments,n=[];if(2===t.length){var r=t[0],i=t[1];this.on(e.event,r,i)}else if(1===t.length){var o=t[0];this.on(e.event,o)}else if(0===t.length){for(var a=0;a<this.length;a++){var s=this[a],l=!e.ableField||s._private[e.ableField],c=s._private[e.field]!=e.value;if(e.overrideAble){var u=e.overrideAble(s);if(void 0!==u&&(l=u,!u))return this}l&&(s._private[e.field]=e.value,c&&n.push(s))}var d=this.spawn(n);d.updateStyle(),d.emit(e.event)}return this}}function o(e){r[e.field]=function(){var t=this[0];if(t){if(e.overrideField){var n=e.overrideField(t);if(void 0!==n)return n}return t._private[e.field]}},r[e.on]=i({event:e.on,field:e.field,ableField:e.ableField,overrideAble:e.overrideAble,value:!0}),r[e.off]=i({event:e.off,field:e.field,ableField:e.ableField,overrideAble:e.overrideAble,value:!1})}o({field:"locked",overrideField:function(e){return!!e.cy().autolock()||void 0},on:"lock",off:"unlock"}),o({field:"grabbable",overrideField:function(e){return!e.cy().autoungrabify()&&void 0},on:"grabify",off:"ungrabify"}),o({field:"selected",ableField:"selectable",overrideAble:function(e){return!e.cy().autounselectify()&&void 0},on:"select",off:"unselect"}),o({field:"selectable",overrideField:function(e){return!e.cy().autounselectify()&&void 0},on:"selectify",off:"unselectify"}),r.deselect=r.unselect,r.grabbed=function(){var e=this[0];if(e)return e._private.grabbed},o({field:"active",on:"activate",off:"unactivate"}),r.inactive=function(){var e=this[0];if(e)return!e._private.active},e.exports=r},function(e,t,n){"use strict";var r=n(1),i=n(0),o={},a=function(e,t){return function(n,r,o,a){var s=n,l=void 0;if(null==s?l="null":i.elementOrCollection(s)&&1===s.length&&(l="#"+s.id()),1===this.length&&l){var c=this[0]._private,u=c.traversalCache=c.traversalCache||{},d=u[t]=u[t]||{},p=d[l];return p||(d[l]=e.call(this,n,r,o,a))}return e.call(this,n,r,o,a)}},s=function(e){return function(t){for(var n=[],r=0;r<this.length;r++){var i=this[r];if(i.isNode()){for(var o=!1,a=i.connectedEdges(),s=0;s<a.length;s++){var l=a[s],c=l.source(),u=l.target();if(e.noIncomingEdges&&u===i&&c!==i||e.noOutgoingEdges&&c===i&&u!==i){o=!0;break}}o||n.push(i)}}return this.spawn(n,{unique:!0}).filter(t)}},l=function(e){return function(t){for(var n=[],r=0;r<this.length;r++){var i=this[r];if(i.isNode())for(var o=i.connectedEdges(),a=0;a<o.length;a++){var s=o[a],l=s.source(),c=s.target();e.outgoing&&l===i?(n.push(s),n.push(c)):e.incoming&&c===i&&(n.push(s),n.push(l))}}return this.spawn(n,{unique:!0}).filter(t)}},c=function(e){return function(t){for(var n=this,r=[],i={};;){var o=e.outgoing?n.outgoers():n.incomers();if(0===o.length)break;for(var a=!1,s=0;s<o.length;s++){var l=o[s],c=l.id();i[c]||(i[c]=!0,r.push(l),a=!0)}if(!a)break;n=o}return this.spawn(r,{unique:!0}).filter(t)}};function u(e){return function(t){for(var n=[],r=0;r<this.length;r++){var i=this[r]._private[e.attr];i&&n.push(i)}return this.spawn(n,{unique:!0}).filter(t)}}function d(e){return function(t){var n=[],r=this._private.cy,o=e||{};i.string(t)&&(t=r.$(t));for(var a=0;a<t.length;a++)for(var s=t[a]._private.edges,l=0;l<s.length;l++){var c=s[l],u=c._private.data,d=this.hasElementWithId(u.source)&&t.hasElementWithId(u.target),p=t.hasElementWithId(u.source)&&this.hasElementWithId(u.target);if(d||p){if(o.thisIsSrc||o.thisIsTgt){if(o.thisIsSrc&&!d)continue;if(o.thisIsTgt&&!p)continue}n.push(c)}}return this.spawn(n,{unique:!0})}}function p(e){return e=r.extend({},{codirected:!1},e),function(t){for(var n=[],r=this.edges(),i=e,o=0;o<r.length;o++)for(var a=r[o]._private,s=a.source,l=s._private.data.id,c=a.data.target,u=s._private.edges,d=0;d<u.length;d++){var p=u[d],f=p._private.data,h=f.target,g=f.source,m=h===c&&g===l,v=l===h&&c===g;(i.codirected&&m||!i.codirected&&(m||v))&&n.push(p)}return this.spawn(n,{unique:!0}).filter(t)}}o.clearTraversalCache=function(){for(var e=0;e<this.length;e++)this[e]._private.traversalCache=null},r.extend(o,{roots:s({noIncomingEdges:!0}),leaves:s({noOutgoingEdges:!0}),outgoers:a(l({outgoing:!0}),"outgoers"),successors:c({outgoing:!0}),incomers:a(l({incoming:!0}),"incomers"),predecessors:c({incoming:!0})}),r.extend(o,{neighborhood:a(function(e){for(var t=[],n=this.nodes(),r=0;r<n.length;r++)for(var i=n[r],o=i.connectedEdges(),a=0;a<o.length;a++){var s=o[a],l=s.source(),c=s.target(),u=i===l?c:l;u.length>0&&t.push(u[0]),t.push(s[0])}return this.spawn(t,{unique:!0}).filter(e)},"neighborhood"),closedNeighborhood:function(e){return this.neighborhood().add(this).filter(e)},openNeighborhood:function(e){return this.neighborhood(e)}}),o.neighbourhood=o.neighborhood,o.closedNeighbourhood=o.closedNeighborhood,o.openNeighbourhood=o.openNeighborhood,r.extend(o,{source:a(function(e){var t=this[0],n=void 0;return t&&(n=t._private.source||t.cy().collection()),n&&e?n.filter(e):n},"source"),target:a(function(e){var t=this[0],n=void 0;return t&&(n=t._private.target||t.cy().collection()),n&&e?n.filter(e):n},"target"),sources:u({attr:"source"}),targets:u({attr:"target"})}),r.extend(o,{edgesWith:a(d(),"edgesWith"),edgesTo:a(d({thisIsSrc:!0}),"edgesTo")}),r.extend(o,{connectedEdges:a(function(e){for(var t=[],n=0;n<this.length;n++){var r=this[n];if(r.isNode())for(var i=r._private.edges,o=0;o<i.length;o++){var a=i[o];t.push(a)}}return this.spawn(t,{unique:!0}).filter(e)},"connectedEdges"),connectedNodes:a(function(e){for(var t=[],n=0;n<this.length;n++){var r=this[n];r.isEdge()&&(t.push(r.source()[0]),t.push(r.target()[0]))}return this.spawn(t,{unique:!0}).filter(e)},"connectedNodes"),parallelEdges:a(p(),"parallelEdges"),codirectedEdges:a(p({codirected:!0}),"codirectedEdges")}),r.extend(o,{components:function(){var e=this,t=e.cy(),n=e.spawn(),r=e.nodes().spawnSelf(),i=[],o=function(e,t){n.merge(e),r.unmerge(e),t.merge(e)};if(r.empty())return e.spawn();var a=function(){var n=t.collection();i.push(n);var a=r[0];o(a,n),e.bfs({directed:!1,roots:a,visit:function(e,t,r,i,a){o(e,n)}})};do{a()}while(r.length>0);return i.map(function(e){var t=e.connectedEdges().stdFilter(function(t){return e.anySame(t.source())&&e.anySame(t.target())});return e.union(t)})}}),e.exports=o},function(e,t,n){"use strict";var r=n(0),i=n(1),o=n(7),a=n(14),s={add:function(e){var t=void 0,n=this;if(r.elementOrCollection(e)){var s=e;if(s._private.cy===n)t=s.restore();else{for(var l=[],c=0;c<s.length;c++){var u=s[c];l.push(u.json())}t=new o(n,l)}}else if(r.array(e)){t=new o(n,e)}else if(r.plainObject(e)&&(r.array(e.nodes)||r.array(e.edges))){for(var d=e,p=[],f=["nodes","edges"],h=0,g=f.length;h<g;h++){var m=f[h],v=d[m];if(r.array(v))for(var b=0,y=v.length;b<y;b++){var x=i.extend({group:m},v[b]);p.push(x)}}t=new o(n,p)}else{t=new a(n,e).collection()}return t},remove:function(e){if(r.elementOrCollection(e));else if(r.string(e)){var t=e;e=this.$(t)}return e.remove()}};e.exports=s},function(e,t,n){"use strict";var r=n(4),i=n(1),o=n(71),a={animate:r.animate(),animation:r.animation(),animated:r.animated(),clearQueue:r.clearQueue(),delay:r.delay(),delayAnimation:r.delayAnimation(),stop:r.stop(),addToAnimationPool:function(e){this.styleEnabled()&&this._private.aniEles.merge(e)},stopAnimationLoop:function(){this._private.animationsRunning=!1},startAnimationLoop:function(){var e=this;if(e._private.animationsRunning=!0,e.styleEnabled()){var t=e.renderer();t&&t.beforeRender?t.beforeRender(function(t,n){o(n,e)},t.beforeRenderPriorities.animations):function t(){e._private.animationsRunning&&i.requestAnimationFrame(function(n){o(n,e),t()})}()}}};e.exports=a},function(e,t,n){"use strict";var r=n(72),i=n(77);e.exports=function(e,t){var n=t._private.aniEles,o=[];function a(t,n){var a=t._private,s=a.animation.current,l=a.animation.queue,c=!1;if(!n&&"none"===t.pstyle("display").value){s=s.splice(0,s.length).concat(l.splice(0,l.length));for(var u=0;u<s.length;u++)s[u].stop()}if(0===s.length){var d=l.shift();d&&s.push(d)}for(var p=function(e){for(var t=e.length-1;t>=0;t--)(0,e[t])();e.splice(0,e.length)},f=s.length-1;f>=0;f--){var h=s[f],g=h._private;g.stopped?(s.splice(f,1),g.hooked=!1,g.playing=!1,g.started=!1,p(g.frames)):(g.playing||g.applying)&&(g.playing&&g.applying&&(g.applying=!1),g.started||i(t,h,e,n),r(t,h,e,n),g.applying&&(g.applying=!1),p(g.frames),h.completed()&&(s.splice(f,1),g.hooked=!1,g.playing=!1,g.started=!1,p(g.completes)),c=!0)}return n||0!==s.length||0!==l.length||o.push(t),c}for(var s=!1,l=0;l<n.length;l++){var c=a(n[l]);s=s||c}var u=a(t,!0);(s||u)&&(n.length>0?(n.dirtyCompoundBoundsCache(),t.notify({type:"draw",eles:n})):t.notify({type:"draw"})),n.unmerge(o),t.emit("step")}},function(e,t,n){"use strict";var r=n(73),i=n(76),o=n(0);function a(e,t){return null!=e&&null!=t&&(!(!o.number(e)||!o.number(t))||!(!e||!t))}e.exports=function(e,t,n,s){var l=!s,c=e._private,u=t._private,d=u.easing,p=u.startTime,f=(s?e:e.cy()).style();if(!u.easingImpl)if(null==d)u.easingImpl=r.linear;else{var h=void 0;h=o.string(d)?f.parse("transition-timing-function",d).value:d;var g=void 0,m=void 0;o.string(h)?(g=h,m=[]):(g=h[1],m=h.slice(2).map(function(e){return+e})),m.length>0?("spring"===g&&m.push(u.duration),u.easingImpl=r[g].apply(null,m)):u.easingImpl=r[g]}var v=u.easingImpl,b=void 0;if(b=0===u.duration?1:(n-p)/u.duration,u.applying&&(b=u.progress),b<0?b=0:b>1&&(b=1),null==u.delay){var y=u.startPosition,x=u.position;if(x&&l&&!e.locked()){var w=e.position();a(y.x,x.x)&&(w.x=i(y.x,x.x,b,v)),a(y.y,x.y)&&(w.y=i(y.y,x.y,b,v)),e.emit("position")}var k=u.startPan,_=u.pan,$=c.pan,E=null!=_&&s;E&&(a(k.x,_.x)&&($.x=i(k.x,_.x,b,v)),a(k.y,_.y)&&($.y=i(k.y,_.y,b,v)),e.emit("pan"));var S=u.startZoom,C=u.zoom,T=null!=C&&s;T&&(a(S,C)&&(c.zoom=i(S,C,b,v)),e.emit("zoom")),(E||T)&&e.emit("viewport");var A=u.style;if(A&&A.length>0&&l){for(var O=0;O<A.length;O++){var P=A[O],R=P.name,j=P,D=u.startStyle[R],N=f.properties[D.name],I=i(D,j,b,v,N);f.overrideBypass(e,R,I)}e.emit("style")}}return u.progress=b,b}},function(e,t,n){"use strict";var r=n(74),i=n(75),o=function(e,t,n,i){var o=r(e,t,n,i);return function(e,t,n){return e+(t-e)*o(n)}},a={linear:function(e,t,n){return e+(t-e)*n},ease:o(.25,.1,.25,1),"ease-in":o(.42,0,1,1),"ease-out":o(0,0,.58,1),"ease-in-out":o(.42,0,.58,1),"ease-in-sine":o(.47,0,.745,.715),"ease-out-sine":o(.39,.575,.565,1),"ease-in-out-sine":o(.445,.05,.55,.95),"ease-in-quad":o(.55,.085,.68,.53),"ease-out-quad":o(.25,.46,.45,.94),"ease-in-out-quad":o(.455,.03,.515,.955),"ease-in-cubic":o(.55,.055,.675,.19),"ease-out-cubic":o(.215,.61,.355,1),"ease-in-out-cubic":o(.645,.045,.355,1),"ease-in-quart":o(.895,.03,.685,.22),"ease-out-quart":o(.165,.84,.44,1),"ease-in-out-quart":o(.77,0,.175,1),"ease-in-quint":o(.755,.05,.855,.06),"ease-out-quint":o(.23,1,.32,1),"ease-in-out-quint":o(.86,0,.07,1),"ease-in-expo":o(.95,.05,.795,.035),"ease-out-expo":o(.19,1,.22,1),"ease-in-out-expo":o(1,0,0,1),"ease-in-circ":o(.6,.04,.98,.335),"ease-out-circ":o(.075,.82,.165,1),"ease-in-out-circ":o(.785,.135,.15,.86),spring:function(e,t,n){if(0===n)return a.linear;var r=i(e,t,n);return function(e,t,n){return e+(t-e)*r(n)}},"cubic-bezier":o};e.exports=a},function(e,t,n){"use strict";
 /*! Bezier curve function generator. Copyright Gaetan Renaudeau. MIT License: http://en.wikipedia.org/wiki/MIT_License */e.exports=function(e,t,n,r){var i=4,o=.001,a=1e-7,s=10,l=11,c=1/(l-1),u="undefined"!=typeof Float32Array;if(4!==arguments.length)return!1;for(var d=0;d<4;++d)if("number"!=typeof arguments[d]||isNaN(arguments[d])||!isFinite(arguments[d]))return!1;e=Math.min(e,1),n=Math.min(n,1),e=Math.max(e,0),n=Math.max(n,0);var p=u?new Float32Array(l):new Array(l);function f(e,t){return 1-3*t+3*e}function h(e,t){return 3*t-6*e}function g(e){return 3*e}function m(e,t,n){return((f(t,n)*e+h(t,n))*e+g(t))*e}function v(e,t,n){return 3*f(t,n)*e*e+2*h(t,n)*e+g(t)}function b(t){for(var r=0,u=1,d=l-1;u!==d&&p[u]<=t;++u)r+=c;var f=r+(t-p[--u])/(p[u+1]-p[u])*c,h=v(f,e,n);return h>=o?function(t,r){for(var o=0;o<i;++o){var a=v(r,e,n);if(0===a)return r;r-=(m(r,e,n)-t)/a}return r}(t,f):0===h?f:function(t,r,i){var o=void 0,l=void 0,c=0;do{(o=m(l=r+(i-r)/2,e,n)-t)>0?i=l:r=l}while(Math.abs(o)>a&&++c<s);return l}(t,r,r+c)}var y=!1;function x(){y=!0,e===t&&n===r||function(){for(var t=0;t<l;++t)p[t]=m(t*c,e,n)}()}var w=function(i){return y||x(),e===t&&n===r?i:0===i?0:1===i?1:m(b(i),t,r)};w.getControlPoints=function(){return[{x:e,y:t},{x:n,y:r}]};var k="generateBezier("+[e,t,n,r]+")";return w.toString=function(){return k},w}},function(e,t,n){"use strict";
-/*! Runge-Kutta spring physics function generator. Adapted from Framer.js, copyright Koen Bok. MIT License: http://en.wikipedia.org/wiki/MIT_License */var r=function(){function e(e){return-e.tension*e.x-e.friction*e.v}function t(t,n,r){var i={x:t.x+r.dx*n,v:t.v+r.dv*n,tension:t.tension,friction:t.friction};return{dx:i.v,dv:e(i)}}function n(n,r){var i={dx:n.v,dv:e(n)},o=t(n,.5*r,i),a=t(n,.5*r,o),s=t(n,r,a),l=1/6*(i.dx+2*(o.dx+a.dx)+s.dx),c=1/6*(i.dv+2*(o.dv+a.dv)+s.dv);return n.x=n.x+l*r,n.v=n.v+c*r,n}return function e(t,r,i){var o,a={x:-1,v:0,tension:null,friction:null},s=[0],l=0,c=void 0,u=void 0;for(t=parseFloat(t)||500,r=parseFloat(r)||20,i=i||null,a.tension=t,a.friction=r,c=(o=null!==i)?(l=e(t,r))/i*.016:.016;u=n(u||a,c),s.push(1+u.x),l+=16,Math.abs(u.x)>1e-4&&Math.abs(u.v)>1e-4;);return o?function(e){return s[e*(s.length-1)|0]}:l}}();e.exports=r},function(e,t,n){"use strict";var r=n(0);function i(e,t,n,r,i){if(1===r)return n;var o=i(t,n,r);return null==e?o:((e.roundValue||e.color)&&(o=Math.round(o)),void 0!==e.min&&(o=Math.max(o,e.min)),void 0!==e.max&&(o=Math.min(o,e.max)),o)}function o(e,t){return null!=e.pfValue||null!=e.value?null==e.pfValue||null!=t&&"%"===t.type.units?e.value:e.pfValue:e}e.exports=function(e,t,n,a,s){var l=null!=s?s.type:null;n<0?n=0:n>1&&(n=1);var c=o(e,s),u=o(t,s);if(r.number(c)&&r.number(u))return i(l,c,u,n,a);if(r.array(c)&&r.array(u)){for(var d=[],p=0;p<u.length;p++){var f=c[p],h=u[p];if(null!=f&&null!=h){var g=i(l,f,h,n,a);d.push(g)}else d.push(h)}return d}}},function(e,t,n){"use strict";e.exports=function(e,t,n,r){var i=!r,o=e,a=t._private,s=r?e:e.cy(),l=s.style();if(i){var c=o.position();a.startPosition=a.startPosition||{x:c.x,y:c.y},a.startStyle=a.startStyle||l.getAnimationStartStyle(o,a.style)}if(r){var u=s._private.pan;a.startPan=a.startPan||{x:u.x,y:u.y},a.startZoom=null!=a.startZoom?a.startZoom:s._private.zoom}a.started=!0,a.startTime=n-a.progress*a.duration}},function(e,t,n){"use strict";var r=n(11),i=n(4),o=n(0),a=n(1),s=n(6),l={qualifierCompare:function(e,t){return null==e||null==t?null==e&&null==t:e.sameText(t)},eventMatches:function(e,t,n){var r=t.qualifier;return null==r||e!==n.target&&o.element(n.target)&&r.matches(n.target)},eventFields:function(e){return{cy:e,target:e}},callbackContext:function(e,t,n){return null!=t.qualifier?n.target:e}},c=function(e){return o.string(e)?new s(e):e},u={createEmitter:function(){var e=this._private;return e.emitter||(e.emitter=new r(a.assign({context:this},l))),this},emitter:function(){return this._private.emitter},on:function(e,t,n){return this.emitter().on(e,c(t),n),this},removeListener:function(e,t,n){return this.emitter().removeListener(e,c(t),n),this},one:function(e,t,n){return this.emitter().one(e,c(t),n),this},once:function(e,t,n){return this.emitter().one(e,c(t),n),this},emit:function(e,t){return this.emitter().emit(e,t),this}};i.eventAliasesOn(u),e.exports=u},function(e,t,n){"use strict";var r={png:function(e){var t=this._private.renderer;return e=e||{},t.png(e)},jpg:function(e){var t=this._private.renderer;return(e=e||{}).bg=e.bg||"#fff",t.jpg(e)}};r.jpeg=r.jpg,e.exports=r},function(e,t,n){"use strict";var r=n(1),i=n(0),o={layout:function(e){if(null!=e)if(null!=e.name){var t=e.name,n=this.extension("layout",t);if(null!=n){var o=void 0;o=i.string(e.eles)?this.$(e.eles):null!=e.eles?e.eles:this.$();var a=new n(r.extend({},e,{cy:this,eles:o}));return a}r.error("Can not apply layout: No such layout `"+t+"` found; did you include its JS file?")}else r.error("A `name` must be specified to make a layout");else r.error("Layout options must be specified to make a layout")}};o.createLayout=o.makeLayout=o.layout,e.exports=o},function(e,t,n){"use strict";var r={notify:function(e){var t=this._private;if(t.batchingNotify){var n=t.batchNotifyEles,r=t.batchNotifyTypes;return e.eles&&n.merge(e.eles),void(r.ids[e.type]||(r.push(e.type),r.ids[e.type]=!0))}if(t.notificationsEnabled){var i=this.renderer();!this.isDestroyed()&&i&&i.notify(e)}},notifications:function(e){var t=this._private;if(void 0===e)return t.notificationsEnabled;t.notificationsEnabled=!!e},noNotifications:function(e){this.notifications(!1),e(),this.notifications(!0)},batching:function(){return this._private.batchCount>0},startBatch:function(){var e=this._private;return null==e.batchCount&&(e.batchCount=0),0===e.batchCount&&(e.batchingStyle=e.batchingNotify=!0,e.batchStyleEles=this.collection(),e.batchNotifyEles=this.collection(),e.batchNotifyTypes=[],e.batchNotifyTypes.ids={}),e.batchCount++,this},endBatch:function(){var e=this._private;return e.batchCount--,0===e.batchCount&&(e.batchingStyle=!1,e.batchStyleEles.updateStyle(),e.batchingNotify=!1,this.notify({type:e.batchNotifyTypes,eles:e.batchNotifyEles})),this},batch:function(e){return this.startBatch(),e(),this.endBatch(),this},batchData:function(e){var t=this;return this.batch(function(){for(var n=Object.keys(e),r=0;r<n.length;r++){var i=n[r],o=e[i];t.getElementById(i).data(o)}})}};e.exports=r},function(e,t,n){"use strict";var r=n(1),i={renderTo:function(e,t,n,r){return this._private.renderer.renderTo(e,t,n,r),this},renderer:function(){return this._private.renderer},forceRender:function(){return this.notify({type:"draw"}),this},resize:function(){return this.invalidateSize(),this.notify({type:"resize"}),this.emit("resize"),this},initRenderer:function(e){var t=this.extension("renderer",e.name);null!=t?(this._private.renderer=new t(r.extend({},e,{cy:this})),this.notify({type:"init"})):r.error("Can not initialise: No such renderer `%s` found; did you include its JS file?",e.name)},destroyRenderer:function(){this.notify({type:"destroy"});var e=this.container();if(e)for(e._cyreg=null;e.childNodes.length>0;)e.removeChild(e.childNodes[0]);this._private.renderer=null},onRender:function(e){return this.on("render",e)},offRender:function(e){return this.off("render",e)}};i.invalidateDimensions=i.resize,e.exports=i},function(e,t,n){"use strict";var r=n(0),i=n(7),o={collection:function(e,t){return r.string(e)?this.$(e):r.elementOrCollection(e)?e.collection():r.array(e)?new i(this,e,t):new i(this)},nodes:function(e){var t=this.$(function(e){return e.isNode()});return e?t.filter(e):t},edges:function(e){var t=this.$(function(e){return e.isEdge()});return e?t.filter(e):t},$:function(e){var t=this._private.elements;return e?t.filter(e):t.spawnSelf()},mutableElements:function(){return this._private.elements}};o.elements=o.filter=o.$,e.exports=o},function(e,t,n){"use strict";var r=n(0),i=n(18),o={style:function(e){e&&this.setStyle(e).update();return this._private.style},setStyle:function(e){var t=this._private;return r.stylesheet(e)?t.style=e.generateStyle(this):r.array(e)?t.style=i.fromJson(this,e):r.string(e)?t.style=i.fromString(this,e):t.style=i(this),t.style}};e.exports=o},function(e,t,n){"use strict";var r=n(1),i=n(0),o=n(5),a={apply:function(e){var t=this._private,n=t.cy.collection();t.newStyle&&(t.contextStyles={},t.propDiffs={},this.cleanElements(e,!0));for(var r=0;r<e.length;r++){var i=e[r],o=this.getContextMeta(i);if(!o.empty){n.merge(i);var a=this.getContextStyle(o),s=this.applyContextStyle(o,a,i);t.newStyle||this.updateTransitions(i,s.diffProps),this.updateStyleHints(i)}}return t.newStyle=!1,n},getPropertiesDiff:function(e,t){var n=this._private.propDiffs=this._private.propDiffs||{},r=e+"-"+t,i=n[r];if(i)return i;for(var o=[],a={},s=0;s<this.length;s++){var l=this[s],c="t"===e[s]!==("t"===t[s]),u=l.mappedProperties.length>0;if(c||u){var d=void 0;c&&u?d=l.properties:c?d=l.properties:u&&(d=l.mappedProperties);for(var p=0;p<d.length;p++){for(var f=d[p],h=f.name,g=!1,m=s+1;m<this.length;m++){var v=this[m];if("t"===t[m]&&(g=null!=v.properties[f.name]))break}a[h]||g||(a[h]=!0,o.push(h))}}}return n[r]=o,o},getContextMeta:function(e){var t,n="",r=e._private.styleCxtKey||"";this._private.newStyle&&(r="");for(var i=0;i<this.length;i++){var o=this[i];n+=o.selector&&o.selector.matches(e)?"t":"f"}return t=this.getPropertiesDiff(r,n),e._private.styleCxtKey=n,{key:n,diffPropNames:t,empty:0===t.length}},getContextStyle:function(e){var t=e.key,n=this._private.contextStyles=this._private.contextStyles||{};if(n[t])return n[t];for(var r={_private:{key:t}},i=0;i<this.length;i++){var o=this[i];if("t"===t[i])for(var a=0;a<o.properties.length;a++){var s=o.properties[a];r[s.name]=s}}return n[t]=r,r},applyContextStyle:function(e,t,n){for(var r=e.diffPropNames,i={},o=0;o<r.length;o++){var a=r[o],s=t[a],l=n.pstyle(a);if(!s){if(!l)continue;s=l.bypass?{name:a,deleteBypassed:!0}:{name:a,delete:!0}}if(l!==s){var c=i[a]={prev:l};this.applyParsedProperty(n,s),c.next=n.pstyle(a),c.next&&c.next.bypass&&(c.next=c.next.bypassed)}}return{diffProps:i}},updateStyleHints:function(e){var t=e._private;if(!e.removed()){var n=!1;if("nodes"===t.group)for(var r=1;r<=this.pieBackgroundN;r++){if(e.pstyle("pie-"+r+"-background-size").value>0){n=!0;break}}t.hasPie=n;var i=e.pstyle("text-transform").strValue,o=e.pstyle("label").strValue,a=e.pstyle("source-label").strValue,s=e.pstyle("target-label").strValue,l=e.pstyle("font-style").strValue,c=e.pstyle("font-size").pfValue+"px",u=e.pstyle("font-family").strValue,d=e.pstyle("font-weight").strValue,p=l+"$"+c+"$"+u+"$"+d+"$"+i+"$"+e.pstyle("text-valign").strValue+"$"+e.pstyle("text-valign").strValue+"$"+e.pstyle("text-outline-width").pfValue+"$"+e.pstyle("text-wrap").strValue+"$"+e.pstyle("text-max-width").pfValue;t.labelStyleKey=p,t.sourceLabelKey=p+"$"+a,t.targetLabelKey=p+"$"+s,t.labelKey=p+"$"+o,t.fontKey=l+"$"+d+"$"+c+"$"+u,t.styleKey=Date.now()}},applyParsedProperty:function(e,t){var n=this,o=t,a=e._private.style,s=void 0,l=n.types,c=n.properties[o.name].type,u=o.bypass,d=a[o.name],p=d&&d.bypass,f=e._private,h=function(){n.checkZOrderTrigger(e,o.name,d?d.value:null,o.value)};if("curve-style"===t.name&&"haystack"===t.value&&e.isEdge()&&(e.isLoop()||e.source().isParent()||e.target().isParent())&&(o=t=this.parse(t.name,"bezier",u)),o.delete)return a[o.name]=void 0,h(),!0;if(o.deleteBypassed)return d?!!d.bypass&&(d.bypassed=void 0,h(),!0):(h(),!0);if(o.deleteBypass)return d?!!d.bypass&&(a[o.name]=d.bypassed,h(),!0):(h(),!0);var g=function(){r.error("Do not assign mappings to elements without corresponding data (e.g. ele `"+e.id()+"` for property `"+o.name+"` with data field `"+o.field+"`); try a `["+o.field+"]` selector to limit scope to elements with `"+o.field+"` defined")};switch(o.mapped){case l.mapData:for(var m=o.field.split("."),v=f.data,b=0;b<m.length&&v;b++){v=v[m[b]]}var y=void 0;if((y=i.number(v)?(v-o.fieldMin)/(o.fieldMax-o.fieldMin):0)<0?y=0:y>1&&(y=1),c.color){var x=o.valueMin[0],w=o.valueMax[0],k=o.valueMin[1],_=o.valueMax[1],$=o.valueMin[2],E=o.valueMax[2],S=null==o.valueMin[3]?1:o.valueMin[3],C=null==o.valueMax[3]?1:o.valueMax[3],T=[Math.round(x+(w-x)*y),Math.round(k+(_-k)*y),Math.round($+(E-$)*y),Math.round(S+(C-S)*y)];s={bypass:o.bypass,name:o.name,value:T,strValue:"rgb("+T[0]+", "+T[1]+", "+T[2]+")"}}else{if(!c.number)return!1;var A=o.valueMin+(o.valueMax-o.valueMin)*y;s=this.parse(o.name,A,o.bypass,"mapping")}s||(s=this.parse(o.name,d.strValue,o.bypass,"mapping")),s||g(),s.mapping=o,o=s;break;case l.data:var P=o.field.split("."),O=f.data;if(O)for(var R=0;R<P.length;R++){O=O[P[R]]}if(!(s=this.parse(o.name,O,o.bypass,"mapping"))){var j=d?d.strValue:"";s=this.parse(o.name,j,o.bypass,"mapping")}s||g(),s.mapping=o,o=s;break;case l.fn:var D=(0,o.value)(e);(s=this.parse(o.name,D,o.bypass,"mapping")).mapping=o,o=s;break;case void 0:break;default:return!1}return u?(o.bypassed=p?d.bypassed:d,a[o.name]=o):p?d.bypassed=o:a[o.name]=o,h(),!0},cleanElements:function(e,t){for(var n=this.properties,r=0;r<e.length;r++){var i=e[r];if(t)for(var o=i._private.style,a=0;a<n.length;a++){var s=n[a],l=o[s.name];l&&(l.bypass?l.bypassed=null:o[s.name]=null)}else i._private.style={}}},update:function(){this._private.cy.mutableElements().updateStyle()},updateMappers:function(e){for(var t=this._private.cy.collection(),n=0;n<e.length;n++){for(var r=e[n],i=r._private.style,o=!1,a=0;a<this.properties.length;a++){var s=i[this.properties[a].name];if(s&&s.mapping){var l=s.mapping;this.applyParsedProperty(r,l),o=!0}}o&&(this.updateStyleHints(r),t.merge(r))}return t},updateTransitions:function(e,t,n){var r=this,a=e._private,s=e.pstyle("transition-property").value,l=e.pstyle("transition-duration").pfValue,c=e.pstyle("transition-delay").pfValue;if(s.length>0&&l>0){for(var u={},d=!1,p=0;p<s.length;p++){var f=s[p],h=e.pstyle(f),g=t[f];if(g){var m=g.prev,v=null!=g.next?g.next:h,b=!1,y=void 0;m&&(i.number(m.pfValue)&&i.number(v.pfValue)?(b=v.pfValue-m.pfValue,y=m.pfValue+1e-6*b):i.number(m.value)&&i.number(v.value)?(b=v.value-m.value,y=m.value+1e-6*b):i.array(m.value)&&i.array(v.value)&&(b=m.value[0]!==v.value[0]||m.value[1]!==v.value[1]||m.value[2]!==v.value[2],y=m.strValue),b&&(u[f]=v.strValue,this.applyBypass(e,f,y),d=!0))}}if(!d)return;a.transitioning=!0,new o(function(t){c>0?e.delayAnimation(c).play().promise().then(t):t()}).then(function(){return e.animation({style:u,duration:l,easing:e.pstyle("transition-timing-function").value,queue:!1}).play().promise()}).then(function(){r.removeBypasses(e,s),e.emitAndNotify("style"),a.transitioning=!1})}else a.transitioning&&(this.removeBypasses(e,s),e.emitAndNotify("style"),a.transitioning=!1)},checkZOrderTrigger:function(e,t,n,r){var i=this.properties[t];null==i.triggersZOrder||null!=n&&!i.triggersZOrder(n,r)||this._private.cy.notify({type:"zorder",eles:e})}};e.exports=a},function(e,t,n){"use strict";var r=n(0),i=n(1),o={applyBypass:function(e,t,n,o){var a=[];if("*"===t||"**"===t){if(void 0!==n)for(var s=0;s<this.properties.length;s++){var l=this.properties[s].name,c=this.parse(l,n,!0);c&&a.push(c)}}else if(r.string(t)){var u=this.parse(t,n,!0);u&&a.push(u)}else{if(!r.plainObject(t))return!1;var d=t;o=n;for(var p=Object.keys(d),f=0;f<p.length;f++){var h=p[f],g=(this.properties[h],d[h]);if(void 0===g&&(g=d[i.dash2camel(h)]),void 0!==g){var m=this.parse(h,g,!0);m&&a.push(m)}}}if(0===a.length)return!1;for(var v=!1,b=0;b<e.length;b++){for(var y=e[b],x={},w=void 0,k=0;k<a.length;k++){var _=a[k];if(o){var $=y.pstyle(_.name);w=x[_.name]={prev:$}}v=this.applyParsedProperty(y,_)||v,o&&(w.next=y.pstyle(_.name))}v&&this.updateStyleHints(y),o&&this.updateTransitions(y,x,!0)}return v},overrideBypass:function(e,t,n){t=i.camel2dash(t);for(var r=0;r<e.length;r++){var o=e[r],a=o._private.style[t],s=this.properties[t].type,l=s.color,c=s.mutiple;if(a&&a.bypass){var u=null!=a.pfValue?a.pfValue:a.value;a.value=n,null!=a.pfValue&&(a.pfValue=n),a.strValue=l?"rgb("+n.join(",")+")":c?n.join(" "):""+n,this.checkZOrderTrigger(o,t,u,n)}else this.applyBypass(o,t,n)}},removeAllBypasses:function(e,t){return this.removeBypasses(e,this.propertyNames,t)},removeBypasses:function(e,t,n){for(var r=0;r<e.length;r++){for(var i=e[r],o={},a=0;a<t.length;a++){var s=t[a],l=this.properties[s],c=i.pstyle(l.name);if(c&&c.bypass){var u=this.parse(s,"",!0),d=o[l.name]={prev:c};this.applyParsedProperty(i,u),d.next=i.pstyle(l.name)}}this.updateStyleHints(i),n&&this.updateTransitions(i,o,!0)}}};e.exports=o},function(e,t,n){"use strict";var r=n(3),i={getEmSizeInPixels:function(){var e=this.containerCss("font-size");return null!=e?parseFloat(e):1},containerCss:function(e){var t=this._private.cy.container();if(r&&t&&r.getComputedStyle)return r.getComputedStyle(t).getPropertyValue(e)}};e.exports=i},function(e,t,n){"use strict";var r=n(1),i=n(0),o={getRenderedStyle:function(e,t){return t?this.getStylePropertyValue(e,t,!0):this.getRawStyle(e,!0)},getRawStyle:function(e,t){if(e=e[0]){for(var n={},i=0;i<this.properties.length;i++){var o=this.properties[i],a=this.getStylePropertyValue(e,o.name,t);null!=a&&(n[o.name]=a,n[r.dash2camel(o.name)]=a)}return n}},getIndexedStyle:function(e,t,n,r){var i=e.pstyle(t)[n][r];return null!=i?i:e.cy().style().getDefaultProperty(t)[n][0]},getStylePropertyValue:function(e,t,n){if(e=e[0]){var r=this.properties[t];r.alias&&(r=r.pointsTo);var i=r.type,o=e.pstyle(r.name),a=e.cy().zoom();if(o){var s=o.units?i.implicitUnits||"px":null;return s?[].concat(o.pfValue).map(function(e){return e*(n?a:1)+s}).join(" "):o.strValue}}},getAnimationStartStyle:function(e,t){for(var n={},r=0;r<t.length;r++){var o=t[r].name,a=e.pstyle(o);void 0!==a&&(a=i.plainObject(a)?this.parse(o,a.strValue):this.parse(o,a)),a&&(n[o]=a)}return n},getPropsList:function(e){var t=[],n=e,i=this.properties;if(n)for(var o=Object.keys(n),a=0;a<o.length;a++){var s=o[a],l=n[s],c=i[s]||i[r.camel2dash(s)],u=this.parse(c.name,l);u&&t.push(u)}return t}};e.exports=o},function(e,t,n){"use strict";var r={appendFromJson:function(e){for(var t=0;t<e.length;t++){var n=e[t],r=n.selector,i=n.style||n.css,o=Object.keys(i);this.selector(r);for(var a=0;a<o.length;a++){var s=o[a],l=i[s];this.css(s,l)}}return this},fromJson:function(e){return this.resetToDefault(),this.appendFromJson(e),this},json:function(){for(var e=[],t=this.defaultLength;t<this.length;t++){for(var n=this[t],r=n.selector,i=n.properties,o={},a=0;a<i.length;a++){var s=i[a];o[s.name]=s.strValue}e.push({selector:r?r.toString():"core",style:o})}return e}};e.exports=r},function(e,t,n){"use strict";var r=n(1),i=n(6),o={appendFromString:function(e){var t=""+e,n=void 0,o=void 0,a=void 0;function s(){t=t.length>n.length?t.substr(n.length):""}function l(){o=o.length>a.length?o.substr(a.length):""}for(t=t.replace(/[/][*](\s|.)+?[*][/]/g,"");;){if(t.match(/^\s*$/))break;var c=t.match(/^\s*((?:.|\s)+?)\s*\{((?:.|\s)+?)\}/);if(!c){r.error("Halting stylesheet parsing: String stylesheet contains more to parse but no selector and block found in: "+t);break}n=c[0];var u=c[1];if("core"!==u)if(new i(u)._private.invalid){r.error("Skipping parsing of block: Invalid selector found in string stylesheet: "+u),s();continue}var d=c[2],p=!1;o=d;for(var f=[];;){if(o.match(/^\s*$/))break;var h=o.match(/^\s*(.+?)\s*:\s*(.+?)\s*;/);if(!h){r.error("Skipping parsing of block: Invalid formatting of style property and value definitions found in:"+d),p=!0;break}a=h[0];var g=h[1],m=h[2];if(this.properties[g])this.parse(g,m)?(f.push({name:g,val:m}),l()):(r.error("Skipping property: Invalid property definition in: "+a),l());else r.error("Skipping property: Invalid property name in: "+a),l()}if(p){s();break}this.selector(u);for(var v=0;v<f.length;v++){var b=f[v];this.css(b.name,b.val)}s()}return this},fromString:function(e){return this.resetToDefault(),this.appendFromString(e),this}};e.exports=o},function(e,t,n){"use strict";var r=n(1),i=n(0),o={};!function(){var e=r.regex.number,t=r.regex.rgbaNoBackRefs,n=r.regex.hslaNoBackRefs,a=r.regex.hex3,s=r.regex.hex6,l=function(e){return"^"+e+"\\s*\\(\\s*([\\w\\.]+)\\s*\\)$"},c=function(r){var i=e+"|\\w+|"+t+"|"+n+"|"+a+"|"+s;return"^"+r+"\\s*\\(([\\w\\.]+)\\s*\\,\\s*("+e+")\\s*\\,\\s*("+e+")\\s*,\\s*("+i+")\\s*\\,\\s*("+i+")\\)$"},u=["^url\\s*\\(\\s*['\"]?(.+?)['\"]?\\s*\\)$","^(none)$","^(.+)$"];o.types={time:{number:!0,min:0,units:"s|ms",implicitUnits:"ms"},percent:{number:!0,min:0,max:100,units:"%",implicitUnits:"%"},zeroOneNumber:{number:!0,min:0,max:1,unitless:!0},zeroOneNumbers:{number:!0,min:0,max:1,unitless:!0,multiple:!0},nOneOneNumber:{number:!0,min:-1,max:1,unitless:!0},nonNegativeInt:{number:!0,min:0,integer:!0,unitless:!0},position:{enums:["parent","origin"]},nodeSize:{number:!0,min:0,enums:["label"]},number:{number:!0,unitless:!0},numbers:{number:!0,unitless:!0,multiple:!0},positiveNumber:{number:!0,unitless:!0,min:0,strictMin:!0},size:{number:!0,min:0},bidirectionalSize:{number:!0},bidirectionalSizes:{number:!0,multiple:!0},sizeMaybePercent:{number:!0,min:0,allowPercent:!0},paddingRelativeTo:{enums:["width","height","average","min","max"]},bgWH:{number:!0,min:0,allowPercent:!0,enums:["auto"],multiple:!0},bgPos:{number:!0,allowPercent:!0,multiple:!0},bgRelativeTo:{enums:["inner","include-padding"],multiple:!0},bgRepeat:{enums:["repeat","repeat-x","repeat-y","no-repeat"],multiple:!0},bgFit:{enums:["none","contain","cover"],multiple:!0},bgCrossOrigin:{enums:["anonymous","use-credentials"],multiple:!0},bgClip:{enums:["none","node"]},color:{color:!0},bool:{enums:["yes","no"]},lineStyle:{enums:["solid","dotted","dashed"]},borderStyle:{enums:["solid","dotted","dashed","double"]},curveStyle:{enums:["bezier","unbundled-bezier","haystack","segments"]},fontFamily:{regex:'^([\\w- \\"]+(?:\\s*,\\s*[\\w- \\"]+)*)$'},fontletiant:{enums:["small-caps","normal"]},fontStyle:{enums:["italic","normal","oblique"]},fontWeight:{enums:["normal","bold","bolder","lighter","100","200","300","400","500","600","800","900",100,200,300,400,500,600,700,800,900]},textDecoration:{enums:["none","underline","overline","line-through"]},textTransform:{enums:["none","uppercase","lowercase"]},textWrap:{enums:["none","wrap","ellipsis"]},textBackgroundShape:{enums:["rectangle","roundrectangle"]},nodeShape:{enums:["rectangle","roundrectangle","cutrectangle","bottomroundrectangle","barrel","ellipse","triangle","square","pentagon","hexagon","concavehexagon","heptagon","octagon","tag","star","diamond","vee","rhomboid","polygon"]},compoundIncludeLabels:{enums:["include","exclude"]},arrowShape:{enums:["tee","triangle","triangle-tee","triangle-cross","triangle-backcurve","half-triangle-overshot","vee","square","circle","diamond","none"]},arrowFill:{enums:["filled","hollow"]},display:{enums:["element","none"]},visibility:{enums:["hidden","visible"]},zCompoundDepth:{enums:["bottom","orphan","auto","top"]},zIndexCompare:{enums:["auto","manual"]},valign:{enums:["top","center","bottom"]},halign:{enums:["left","center","right"]},text:{string:!0},data:{mapping:!0,regex:l("data")},layoutData:{mapping:!0,regex:l("layoutData")},scratch:{mapping:!0,regex:l("scratch")},mapData:{mapping:!0,regex:c("mapData")},mapLayoutData:{mapping:!0,regex:c("mapLayoutData")},mapScratch:{mapping:!0,regex:c("mapScratch")},fn:{mapping:!0,fn:!0},url:{regexes:u,singleRegexMatchValue:!0},urls:{regexes:u,singleRegexMatchValue:!0,multiple:!0},propList:{propList:!0},angle:{number:!0,units:"deg|rad",implicitUnits:"rad"},textRotation:{number:!0,units:"deg|rad",implicitUnits:"rad",enums:["none","autorotate"]},polygonPointList:{number:!0,multiple:!0,evenMultiple:!0,min:-1,max:1,unitless:!0},edgeDistances:{enums:["intersection","node-position"]},edgeEndpoint:{number:!0,multiple:!0,units:"%|px|em|deg|rad",implicitUnits:"px",enums:["inside-to-node","outside-to-node","outside-to-line"],singleEnum:!0,validate:function(e,t){switch(e.length){case 2:return"deg"!==t[0]&&"rad"!==t[0]&&"deg"!==t[1]&&"rad"!==t[1];case 1:return i.string(e[0])||"deg"===t[0]||"rad"===t[0];default:return!1}}},easing:{regexes:["^(spring)\\s*\\(\\s*("+e+")\\s*,\\s*("+e+")\\s*\\)$","^(cubic-bezier)\\s*\\(\\s*("+e+")\\s*,\\s*("+e+")\\s*,\\s*("+e+")\\s*,\\s*("+e+")\\s*\\)$"],enums:["linear","ease","ease-in","ease-out","ease-in-out","ease-in-sine","ease-out-sine","ease-in-out-sine","ease-in-quad","ease-out-quad","ease-in-out-quad","ease-in-cubic","ease-out-cubic","ease-in-out-cubic","ease-in-quart","ease-out-quart","ease-in-out-quart","ease-in-quint","ease-out-quint","ease-in-out-quint","ease-in-expo","ease-out-expo","ease-in-out-expo","ease-in-circ","ease-out-circ","ease-in-out-circ"]}};var d={zeroNonZero:function(e,t){return 0===e&&0!==t||0!==e&&0===t},anyDiff:function(e,t){return e!==t}},p=o.types,f=o.properties=[{name:"label",type:p.text},{name:"text-rotation",type:p.textRotation},{name:"text-margin-x",type:p.bidirectionalSize},{name:"text-margin-y",type:p.bidirectionalSize},{name:"source-label",type:p.text},{name:"source-text-rotation",type:p.textRotation},{name:"source-text-margin-x",type:p.bidirectionalSize},{name:"source-text-margin-y",type:p.bidirectionalSize},{name:"source-text-offset",type:p.size},{name:"target-label",type:p.text},{name:"target-text-rotation",type:p.textRotation},{name:"target-text-margin-x",type:p.bidirectionalSize},{name:"target-text-margin-y",type:p.bidirectionalSize},{name:"target-text-offset",type:p.size},{name:"text-valign",type:p.valign},{name:"text-halign",type:p.halign},{name:"color",type:p.color},{name:"text-outline-color",type:p.color},{name:"text-outline-width",type:p.size},{name:"text-outline-opacity",type:p.zeroOneNumber},{name:"text-opacity",type:p.zeroOneNumber},{name:"text-background-color",type:p.color},{name:"text-background-opacity",type:p.zeroOneNumber},{name:"text-background-padding",type:p.size},{name:"text-border-opacity",type:p.zeroOneNumber},{name:"text-border-color",type:p.color},{name:"text-border-width",type:p.size},{name:"text-border-style",type:p.borderStyle},{name:"text-background-shape",type:p.textBackgroundShape},{name:"text-transform",type:p.textTransform},{name:"text-wrap",type:p.textWrap},{name:"text-max-width",type:p.size},{name:"text-events",type:p.bool},{name:"font-family",type:p.fontFamily},{name:"font-style",type:p.fontStyle},{name:"font-weight",type:p.fontWeight},{name:"font-size",type:p.size},{name:"min-zoomed-font-size",type:p.size},{name:"events",type:p.bool},{name:"display",type:p.display,triggersZOrder:d.anyDiff},{name:"visibility",type:p.visibility,triggersZOrder:d.anyDiff},{name:"opacity",type:p.zeroOneNumber,triggersZOrder:d.zeroNonZero},{name:"z-compound-depth",type:p.zCompoundDepth,triggersZOrder:d.anyDiff},{name:"z-index-compare",type:p.zIndexCompare,triggersZOrder:d.anyDiff},{name:"z-index",type:p.nonNegativeInt,triggersZOrder:d.anyDiff},{name:"overlay-padding",type:p.size},{name:"overlay-color",type:p.color},{name:"overlay-opacity",type:p.zeroOneNumber},{name:"transition-property",type:p.propList},{name:"transition-duration",type:p.time},{name:"transition-delay",type:p.time},{name:"transition-timing-function",type:p.easing},{name:"height",type:p.nodeSize},{name:"width",type:p.nodeSize},{name:"shape",type:p.nodeShape},{name:"shape-polygon-points",type:p.polygonPointList},{name:"background-color",type:p.color},{name:"background-opacity",type:p.zeroOneNumber},{name:"background-blacken",type:p.nOneOneNumber},{name:"padding",type:p.sizeMaybePercent},{name:"padding-relative-to",type:p.paddingRelativeTo},{name:"border-color",type:p.color},{name:"border-opacity",type:p.zeroOneNumber},{name:"border-width",type:p.size},{name:"border-style",type:p.borderStyle},{name:"background-image",type:p.urls},{name:"background-image-crossorigin",type:p.bgCrossOrigin},{name:"background-image-opacity",type:p.zeroOneNumbers},{name:"background-position-x",type:p.bgPos},{name:"background-position-y",type:p.bgPos},{name:"background-width-relative-to",type:p.bgRelativeTo},{name:"background-height-relative-to",type:p.bgRelativeTo},{name:"background-repeat",type:p.bgRepeat},{name:"background-fit",type:p.bgFit},{name:"background-clip",type:p.bgClip},{name:"background-width",type:p.bgWH},{name:"background-height",type:p.bgWH},{name:"position",type:p.position},{name:"compound-sizing-wrt-labels",type:p.compoundIncludeLabels},{name:"min-width",type:p.size},{name:"min-width-bias-left",type:p.sizeMaybePercent},{name:"min-width-bias-right",type:p.sizeMaybePercent},{name:"min-height",type:p.size},{name:"min-height-bias-top",type:p.sizeMaybePercent},{name:"min-height-bias-bottom",type:p.sizeMaybePercent},{name:"line-style",type:p.lineStyle},{name:"line-color",type:p.color},{name:"curve-style",type:p.curveStyle},{name:"haystack-radius",type:p.zeroOneNumber},{name:"source-endpoint",type:p.edgeEndpoint},{name:"target-endpoint",type:p.edgeEndpoint},{name:"control-point-step-size",type:p.size},{name:"control-point-distances",type:p.bidirectionalSizes},{name:"control-point-weights",type:p.numbers},{name:"segment-distances",type:p.bidirectionalSizes},{name:"segment-weights",type:p.numbers},{name:"edge-distances",type:p.edgeDistances},{name:"arrow-scale",type:p.positiveNumber},{name:"loop-direction",type:p.angle},{name:"loop-sweep",type:p.angle},{name:"source-distance-from-node",type:p.size},{name:"target-distance-from-node",type:p.size},{name:"ghost",type:p.bool},{name:"ghost-offset-x",type:p.bidirectionalSize},{name:"ghost-offset-y",type:p.bidirectionalSize},{name:"ghost-opacity",type:p.zeroOneNumber},{name:"selection-box-color",type:p.color},{name:"selection-box-opacity",type:p.zeroOneNumber},{name:"selection-box-border-color",type:p.color},{name:"selection-box-border-width",type:p.size},{name:"active-bg-color",type:p.color},{name:"active-bg-opacity",type:p.zeroOneNumber},{name:"active-bg-size",type:p.size},{name:"outside-texture-bg-color",type:p.color},{name:"outside-texture-bg-opacity",type:p.zeroOneNumber}],h=o.aliases=[{name:"content",pointsTo:"label"},{name:"control-point-distance",pointsTo:"control-point-distances"},{name:"control-point-weight",pointsTo:"control-point-weights"},{name:"edge-text-rotation",pointsTo:"text-rotation"},{name:"padding-left",pointsTo:"padding"},{name:"padding-right",pointsTo:"padding"},{name:"padding-top",pointsTo:"padding"},{name:"padding-bottom",pointsTo:"padding"}];o.pieBackgroundN=16,f.push({name:"pie-size",type:p.sizeMaybePercent});for(var g=1;g<=o.pieBackgroundN;g++)f.push({name:"pie-"+g+"-background-color",type:p.color}),f.push({name:"pie-"+g+"-background-size",type:p.percent}),f.push({name:"pie-"+g+"-background-opacity",type:p.zeroOneNumber});var m=o.arrowPrefixes=["source","mid-source","target","mid-target"];[{name:"arrow-shape",type:p.arrowShape},{name:"arrow-color",type:p.color},{name:"arrow-fill",type:p.arrowFill}].forEach(function(e){m.forEach(function(t){var n=t+"-"+e.name,r=e.type;f.push({name:n,type:r})})},{}),o.propertyNames=f.map(function(e){return e.name});for(var v=0;v<f.length;v++){var b=f[v];f[b.name]=b}for(var y=0;y<h.length;y++){var x=h[y],w=f[x.pointsTo],k={name:x.name,alias:!0,pointsTo:w};f.push(k),f[x.name]=k}}(),o.getDefaultProperty=function(e){return this.getDefaultProperties()[e]},o.getDefaultProperties=r.memoize(function(){for(var e=r.extend({events:"yes","text-events":"no","text-valign":"top","text-halign":"center",color:"#000","text-outline-color":"#000","text-outline-width":0,"text-outline-opacity":1,"text-opacity":1,"text-decoration":"none","text-transform":"none","text-wrap":"none","text-max-width":9999,"text-background-color":"#000","text-background-opacity":0,"text-background-shape":"rectangle","text-background-padding":0,"text-border-opacity":0,"text-border-width":0,"text-border-style":"solid","text-border-color":"#000","font-family":"Helvetica Neue, Helvetica, sans-serif","font-style":"normal","font-weight":"normal","font-size":16,"min-zoomed-font-size":0,"text-rotation":"none","source-text-rotation":"none","target-text-rotation":"none",visibility:"visible",display:"element",opacity:1,"z-compound-depth":"auto","z-index-compare":"auto","z-index":0,label:"","text-margin-x":0,"text-margin-y":0,"source-label":"","source-text-offset":0,"source-text-margin-x":0,"source-text-margin-y":0,"target-label":"","target-text-offset":0,"target-text-margin-x":0,"target-text-margin-y":0,"overlay-opacity":0,"overlay-color":"#000","overlay-padding":10,"transition-property":"none","transition-duration":0,"transition-delay":0,"transition-timing-function":"linear","background-blacken":0,"background-color":"#999","background-opacity":1,"background-image":"none","background-image-crossorigin":"anonymous","background-image-opacity":1,"background-position-x":"50%","background-position-y":"50%","background-width-relative-to":"include-padding","background-height-relative-to":"include-padding","background-repeat":"no-repeat","background-fit":"none","background-clip":"node","background-width":"auto","background-height":"auto","border-color":"#000","border-opacity":1,"border-width":0,"border-style":"solid",height:30,width:30,shape:"ellipse","shape-polygon-points":"-1, -1,   1, -1,   1, 1,   -1, 1",ghost:"no","ghost-offset-y":0,"ghost-offset-x":0,"ghost-opacity":0,padding:0,"padding-relative-to":"width",position:"origin","compound-sizing-wrt-labels":"include","min-width":0,"min-width-bias-left":0,"min-width-bias-right":0,"min-height":0,"min-height-bias-top":0,"min-height-bias-bottom":0},{"pie-size":"100%"},[{name:"pie-{{i}}-background-color",value:"black"},{name:"pie-{{i}}-background-size",value:"0%"},{name:"pie-{{i}}-background-opacity",value:1}].reduce(function(e,t){for(var n=1;n<=o.pieBackgroundN;n++){var r=t.name.replace("{{i}}",n),i=t.value;e[r]=i}return e},{}),{"line-style":"solid","line-color":"#999","control-point-step-size":40,"control-point-weights":.5,"segment-weights":.5,"segment-distances":20,"edge-distances":"intersection","curve-style":"bezier","haystack-radius":0,"arrow-scale":1,"loop-direction":"-45deg","loop-sweep":"-90deg","source-distance-from-node":0,"target-distance-from-node":0,"source-endpoint":"outside-to-node","target-endpoint":"outside-to-node"},[{name:"arrow-shape",value:"none"},{name:"arrow-color",value:"#999"},{name:"arrow-fill",value:"filled"}].reduce(function(e,t){return o.arrowPrefixes.forEach(function(n){var r=n+"-"+t.name,i=t.value;e[r]=i}),e},{})),t={},n=0;n<this.properties.length;n++){var i=this.properties[n];if(!i.pointsTo){var a=i.name,s=e[a],l=this.parse(a,s);t[a]=l}}return t}),o.addDefaultStylesheet=function(){this.selector("$node > node").css({shape:"rectangle",padding:10,"background-color":"#eee","border-color":"#ccc","border-width":1}).selector("edge").css({width:3,"curve-style":"haystack"}).selector(":parent <-> node").css({"curve-style":"bezier","source-endpoint":"outside-to-line","target-endpoint":"outside-to-line"}).selector(":selected").css({"background-color":"#0169D9","line-color":"#0169D9","source-arrow-color":"#0169D9","target-arrow-color":"#0169D9","mid-source-arrow-color":"#0169D9","mid-target-arrow-color":"#0169D9"}).selector("node:parent:selected").css({"background-color":"#CCE1F9","border-color":"#aec8e5"}).selector(":active").css({"overlay-color":"black","overlay-padding":10,"overlay-opacity":.25}).selector("core").css({"selection-box-color":"#ddd","selection-box-opacity":.65,"selection-box-border-color":"#aaa","selection-box-border-width":1,"active-bg-color":"black","active-bg-opacity":.15,"active-bg-size":30,"outside-texture-bg-color":"#000","outside-texture-bg-opacity":.125}),this.defaultLength=this.length},e.exports=o},function(e,t,n){"use strict";var r=n(1),i=n(0),o=n(2),a={parse:function(e,t,n,o){if(i.fn(t))return this.parseImplWarn(e,t,n,o);var a=[e,t,n,"mapping"===o||!0===o||!1===o||null==o?"dontcare":o].join("$"),s=this.propCache=this.propCache||{},l=void 0;return(l=s[a])||(l=s[a]=this.parseImplWarn(e,t,n,o)),(n||"mapping"===o)&&(l=r.copy(l))&&(l.value=r.copy(l.value)),l},parseImplWarn:function(e,t,n,i){var o=this.parseImpl(e,t,n,i);return o||null==t||r.error("The style property `%s: %s` is invalid",e,t),o},parseImpl:function(e,t,n,a){e=r.camel2dash(e);var s=this.properties[e],l=t,c=this.types;if(!s)return null;if(void 0===t)return null;s.alias&&(s=s.pointsTo,e=s.name);var u=i.string(t);u&&(t=t.trim());var d=s.type;if(!d)return null;if(n&&(""===t||null===t))return{name:e,value:t,bypass:!0,deleteBypass:!0};if(i.fn(t))return{name:e,value:t,strValue:"fn",mapped:c.fn,bypass:n};var p=void 0,f=void 0;if(!u||a);else{if(p=new RegExp(c.data.regex).exec(t)){if(n)return!1;var h=c.data;return{name:e,value:p,strValue:""+t,mapped:h,field:p[1],bypass:n}}if(f=new RegExp(c.mapData.regex).exec(t)){if(n)return!1;if(d.multiple)return!1;var g=c.mapData;if(!d.color&&!d.number)return!1;var m=this.parse(e,f[4]);if(!m||m.mapped)return!1;var v=this.parse(e,f[5]);if(!v||v.mapped)return!1;if(m.value===v.value)return!1;if(d.color){var b=m.value,y=v.value;if(!(b[0]!==y[0]||b[1]!==y[1]||b[2]!==y[2]||b[3]!==y[3]&&(null!=b[3]&&1!==b[3]||null!=y[3]&&1!==y[3])))return!1}return{name:e,value:f,strValue:""+t,mapped:g,field:f[1],fieldMin:parseFloat(f[2]),fieldMax:parseFloat(f[3]),valueMin:m.value,valueMax:v.value,bypass:n}}}if(d.multiple&&"multiple"!==a){var x=void 0;if(x=u?t.split(/\s+/):i.array(t)?t:[t],d.evenMultiple&&x.length%2!=0)return null;for(var w=[],k=[],_=[],$=!1,E=0;E<x.length;E++){var S=this.parse(e,x[E],n,"multiple");$=$||i.string(S.value),w.push(S.value),_.push(null!=S.pfValue?S.pfValue:S.value),k.push(S.units)}return d.validate&&!d.validate(w,k)?null:d.singleEnum&&$?1===w.length&&i.string(w[0])?{name:e,value:w[0],strValue:w[0],bypass:n}:null:{name:e,value:w,pfValue:_,strValue:w.map(function(e,t){return e+(k[t]||"")}).join(" "),bypass:n,units:k}}var C=function(){for(var r=0;r<d.enums.length;r++){if(d.enums[r]===t)return{name:e,value:t,strValue:""+t,bypass:n}}return null};if(d.number){var T=void 0,A="px";if(d.units&&(T=d.units),d.implicitUnits&&(A=d.implicitUnits),!d.unitless)if(u){var P="px|em"+(d.allowPercent?"|\\%":"");T&&(P=T);var O=t.match("^("+r.regex.number+")("+P+")?$");O&&(t=O[1],T=O[2]||A)}else T&&!d.implicitUnits||(T=A);if(t=parseFloat(t),isNaN(t)&&void 0===d.enums)return null;if(isNaN(t)&&void 0!==d.enums)return t=l,C();if(d.integer&&!i.integer(t))return null;if(void 0!==d.min&&(t<d.min||d.strictMin&&t===d.min)||void 0!==d.max&&(t>d.max||d.strictMax&&t===d.max))return null;var R={name:e,value:t,strValue:""+t+(T||""),units:T,bypass:n};return d.unitless||"px"!==T&&"em"!==T?R.pfValue=t:R.pfValue="px"!==T&&T?this.getEmSizeInPixels()*t:t,"ms"!==T&&"s"!==T||(R.pfValue="ms"===T?t:1e3*t),"deg"!==T&&"rad"!==T||(R.pfValue="rad"===T?t:o.deg2rad(t)),"%"===T&&(R.pfValue=t/100),R}if(d.propList){var j=[],D=""+t;if("none"===D);else{for(var I=D.split(","),N=0;N<I.length;N++){var M=I[N].trim();this.properties[M]&&j.push(M)}if(0===j.length)return null}return{name:e,value:j,strValue:0===j.length?"none":j.join(", "),bypass:n}}if(d.color){var z=r.color2tuple(t);return z?{name:e,value:z,pfValue:z,strValue:""+t,bypass:n}:null}if(d.regex||d.regexes){if(d.enums){var L=C();if(L)return L}for(var q=d.regexes?d.regexes:[d.regex],B=0;B<q.length;B++){var V=new RegExp(q[B]).exec(t);if(V)return{name:e,value:d.singleRegexMatchValue?V[1]:V,strValue:""+t,bypass:n}}return null}return d.string?{name:e,value:""+t,strValue:""+t,bypass:n}:d.enums?C():null}};e.exports=a},function(e,t,n){"use strict";var r=n(0),i=n(3),o=n(2),a={autolock:function(e){return void 0===e?this._private.autolock:(this._private.autolock=!!e,this)},autoungrabify:function(e){return void 0===e?this._private.autoungrabify:(this._private.autoungrabify=!!e,this)},autounselectify:function(e){return void 0===e?this._private.autounselectify:(this._private.autounselectify=!!e,this)},panningEnabled:function(e){return void 0===e?this._private.panningEnabled:(this._private.panningEnabled=!!e,this)},userPanningEnabled:function(e){return void 0===e?this._private.userPanningEnabled:(this._private.userPanningEnabled=!!e,this)},zoomingEnabled:function(e){return void 0===e?this._private.zoomingEnabled:(this._private.zoomingEnabled=!!e,this)},userZoomingEnabled:function(e){return void 0===e?this._private.userZoomingEnabled:(this._private.userZoomingEnabled=!!e,this)},boxSelectionEnabled:function(e){return void 0===e?this._private.boxSelectionEnabled:(this._private.boxSelectionEnabled=!!e,this)},pan:function(){var e=arguments,t=this._private.pan,n=void 0,i=void 0,o=void 0,a=void 0,s=void 0;switch(e.length){case 0:return t;case 1:if(r.string(e[0]))return t[n=e[0]];if(r.plainObject(e[0])){if(!this._private.panningEnabled)return this;a=(o=e[0]).x,s=o.y,r.number(a)&&(t.x=a),r.number(s)&&(t.y=s),this.emit("pan viewport")}break;case 2:if(!this._private.panningEnabled)return this;n=e[0],i=e[1],"x"!==n&&"y"!==n||!r.number(i)||(t[n]=i),this.emit("pan viewport")}return this.notify({type:"viewport"}),this},panBy:function(e,t){var n=arguments,i=this._private.pan,o=void 0,a=void 0,s=void 0,l=void 0,c=void 0;if(!this._private.panningEnabled)return this;switch(n.length){case 1:r.plainObject(e)&&(l=(s=n[0]).x,c=s.y,r.number(l)&&(i.x+=l),r.number(c)&&(i.y+=c),this.emit("pan viewport"));break;case 2:a=t,"x"!==(o=e)&&"y"!==o||!r.number(a)||(i[o]+=a),this.emit("pan viewport")}return this.notify({type:"viewport"}),this},fit:function(e,t){var n=this.getFitViewport(e,t);if(n){var r=this._private;r.zoom=n.zoom,r.pan=n.pan,this.emit("pan zoom viewport"),this.notify({type:"viewport"})}return this},getFitViewport:function(e,t){if(r.number(e)&&void 0===t&&(t=e,e=void 0),this._private.panningEnabled&&this._private.zoomingEnabled){var n=void 0;if(r.string(e)){var i=e;e=this.$(i)}else if(r.boundingBox(e)){var o=e;(n={x1:o.x1,y1:o.y1,x2:o.x2,y2:o.y2}).w=n.x2-n.x1,n.h=n.y2-n.y1}else r.elementOrCollection(e)||(e=this.mutableElements());if(!r.elementOrCollection(e)||!e.empty()){n=n||e.boundingBox();var a=this.width(),s=this.height(),l=void 0;if(t=r.number(t)?t:0,!isNaN(a)&&!isNaN(s)&&a>0&&s>0&&!isNaN(n.w)&&!isNaN(n.h)&&n.w>0&&n.h>0)return{zoom:l=(l=(l=Math.min((a-2*t)/n.w,(s-2*t)/n.h))>this._private.maxZoom?this._private.maxZoom:l)<this._private.minZoom?this._private.minZoom:l,pan:{x:(a-l*(n.x1+n.x2))/2,y:(s-l*(n.y1+n.y2))/2}}}}},minZoom:function(e){return void 0===e?this._private.minZoom:(r.number(e)&&(this._private.minZoom=e),this)},maxZoom:function(e){return void 0===e?this._private.maxZoom:(r.number(e)&&(this._private.maxZoom=e),this)},getZoomedViewport:function(e){var t=this._private,n=t.pan,i=t.zoom,a=void 0,s=void 0,l=!1;if(t.zoomingEnabled||(l=!0),r.number(e)?s=e:r.plainObject(e)&&(s=e.level,null!=e.position?a=o.modelToRenderedPosition(e.position,i,n):null!=e.renderedPosition&&(a=e.renderedPosition),null==a||t.panningEnabled||(l=!0)),s=(s=s>t.maxZoom?t.maxZoom:s)<t.minZoom?t.minZoom:s,l||!r.number(s)||s===i||null!=a&&(!r.number(a.x)||!r.number(a.y)))return null;if(null!=a){var c=n,u=i,d=s;return{zoomed:!0,panned:!0,zoom:d,pan:{x:-d/u*(a.x-c.x)+a.x,y:-d/u*(a.y-c.y)+a.y}}}return{zoomed:!0,panned:!1,zoom:s,pan:n}},zoom:function(e){if(void 0===e)return this._private.zoom;var t=this.getZoomedViewport(e),n=this._private;return null!=t&&t.zoomed?(n.zoom=t.zoom,t.panned&&(n.pan.x=t.pan.x,n.pan.y=t.pan.y),this.emit("zoom"+(t.panned?" pan":"")+" viewport"),this.notify({type:"viewport"}),this):this},viewport:function(e){var t=this._private,n=!0,i=!0,o=[],a=!1,s=!1;if(!e)return this;if(r.number(e.zoom)||(n=!1),r.plainObject(e.pan)||(i=!1),!n&&!i)return this;if(n){var l=e.zoom;l<t.minZoom||l>t.maxZoom||!t.zoomingEnabled?a=!0:(t.zoom=l,o.push("zoom"))}if(i&&(!a||!e.cancelOnFailedZoom)&&t.panningEnabled){var c=e.pan;r.number(c.x)&&(t.pan.x=c.x,s=!1),r.number(c.y)&&(t.pan.y=c.y,s=!1),s||o.push("pan")}return o.length>0&&(o.push("viewport"),this.emit(o.join(" ")),this.notify({type:"viewport"})),this},center:function(e){var t=this.getCenterPan(e);return t&&(this._private.pan=t,this.emit("pan viewport"),this.notify({type:"viewport"})),this},getCenterPan:function(e,t){if(this._private.panningEnabled){if(r.string(e)){var n=e;e=this.mutableElements().filter(n)}else r.elementOrCollection(e)||(e=this.mutableElements());if(0!==e.length){var i=e.boundingBox(),o=this.width(),a=this.height();return{x:(o-(t=void 0===t?this._private.zoom:t)*(i.x1+i.x2))/2,y:(a-t*(i.y1+i.y2))/2}}}},reset:function(){return this._private.panningEnabled&&this._private.zoomingEnabled?(this.viewport({pan:{x:0,y:0},zoom:1}),this):this},invalidateSize:function(){this._private.sizeCache=null},size:function(){var e=this._private,t=e.container;return e.sizeCache=e.sizeCache||(t?function(){var e=i.getComputedStyle(t),n=function(t){return parseFloat(e.getPropertyValue(t))};return{width:t.clientWidth-n("padding-left")-n("padding-right"),height:t.clientHeight-n("padding-top")-n("padding-bottom")}}():{width:1,height:1})},width:function(){return this.size().width},height:function(){return this.size().height},extent:function(){var e=this._private.pan,t=this._private.zoom,n=this.renderedExtent(),r={x1:(n.x1-e.x)/t,x2:(n.x2-e.x)/t,y1:(n.y1-e.y)/t,y2:(n.y2-e.y)/t};return r.w=r.x2-r.x1,r.h=r.y2-r.y1,r},renderedExtent:function(){var e=this.width(),t=this.height();return{x1:0,y1:0,x2:e,y2:t,w:e,h:t}}};a.centre=a.center,a.autolockNodes=a.autolock,a.autoungrabifyNodes=a.autoungrabify,e.exports=a},function(e,t,n){"use strict";var r=n(1),i=n(4),o=n(7),a=n(12),s=n(95),l=n(0),c=n(11),u={},d={};function p(e,t,n){var s=n,d=function(n){r.error("Can not register `"+t+"` for `"+e+"` since `"+n+"` already exists in the prototype and can not be overridden")};if("core"===e){if(a.prototype[t])return d(t);a.prototype[t]=n}else if("collection"===e){if(o.prototype[t])return d(t);o.prototype[t]=n}else if("layout"===e){for(var p=function(e){this.options=e,n.call(this,e),l.plainObject(this._private)||(this._private={}),this._private.cy=e.cy,this._private.listeners=[],this.createEmitter()},h=p.prototype=Object.create(n.prototype),g=[],m=0;m<g.length;m++){var v=g[m];h[v]=h[v]||function(){return this}}h.start&&!h.run?h.run=function(){return this.start(),this}:!h.start&&h.run&&(h.start=function(){return this.run(),this});var b=n.prototype.stop;h.stop=function(){var e=this.options;if(e&&e.animate){var t=this.animations;if(t)for(var n=0;n<t.length;n++)t[n].stop()}return b?b.call(this):this.emit("layoutstop"),this},h.destroy||(h.destroy=function(){return this}),h.cy=function(){return this._private.cy};var y=function(e){return e._private.cy};r.assign(h,{createEmitter:function(){return this._private.emitter=new c({eventFields:function(e){return{layout:e,cy:y(e),target:e}},bubble:function(){return!0},parent:function(e){return y(e)},context:this}),this},emitter:function(){return this._private.emitter},on:function(e,t){return this.emitter().on(e,t),this},one:function(e,t){return this.emitter().one(e,t),this},once:function(e,t){return this.emitter().one(e,t),this},removeListener:function(e,t){return this.emitter().removeListener(e,t),this},emit:function(e,t){return this.emitter().emit(e,t),this}}),i.eventAliasesOn(h),s=p}else if("renderer"===e&&"null"!==t&&"base"!==t){var x=f("renderer","base"),w=x.prototype,k=n,_=n.prototype,$=function(){x.apply(this,arguments),k.apply(this,arguments)},E=$.prototype;for(var S in w){var C=w[S];if(null!=_[S])return d(S);E[S]=C}for(var T in _)E[T]=_[T];w.clientFunctions.forEach(function(e){E[e]=E[e]||function(){r.error("Renderer does not implement `renderer."+e+"()` on its prototype")}}),s=$}return r.setMap({map:u,keys:[e,t],value:s})}function f(e,t){return r.getMap({map:u,keys:[e,t]})}var h=function(){return 2===arguments.length?f.apply(null,arguments):3===arguments.length?p.apply(null,arguments):4===arguments.length?function(e,t,n,i){return r.getMap({map:d,keys:[e,t,n,i]})}.apply(null,arguments):5===arguments.length?function(e,t,n,i,o){return r.setMap({map:d,keys:[e,t,n,i],value:o})}.apply(null,arguments):void r.error("Invalid extension access syntax")};a.prototype.extension=h,s.forEach(function(e){e.extensions.forEach(function(t){p(e.type,t.name,t.impl)})}),e.exports=h},function(e,t,n){"use strict";e.exports=[{type:"layout",extensions:n(96)},{type:"renderer",extensions:n(105)}]},function(e,t,n){"use strict";e.exports=[{name:"breadthfirst",impl:n(97)},{name:"circle",impl:n(98)},{name:"concentric",impl:n(99)},{name:"cose",impl:n(100)},{name:"grid",impl:n(101)},{name:"null",impl:n(102)},{name:"preset",impl:n(103)},{name:"random",impl:n(104)}]},function(e,t,n){"use strict";var r=n(1),i=n(2),o=n(0),a={fit:!0,directed:!1,padding:30,circle:!1,spacingFactor:1.75,boundingBox:void 0,avoidOverlap:!0,nodeDimensionsIncludeLabels:!1,roots:void 0,maximalAdjustments:0,animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(e,t){return!0},ready:void 0,stop:void 0,transform:function(e,t){return t}};function s(e){this.options=r.extend({},a,e)}s.prototype.run=function(){var e=this.options,t=e,n=e.cy,r=t.eles,a=r.nodes().not(":parent"),s=r,l=i.makeBoundingBox(t.boundingBox?t.boundingBox:{x1:0,y1:0,w:n.width(),h:n.height()}),c=void 0;if(o.elementOrCollection(t.roots))c=t.roots;else if(o.array(t.roots)){for(var u=[],d=0;d<t.roots.length;d++){var p=t.roots[d],f=n.getElementById(p);u.push(f)}c=n.collection(u)}else if(o.string(t.roots))c=n.$(t.roots);else if(t.directed)c=a.roots();else{for(var h=[],g=a,m=function(){var e=n.collection();r.bfs({roots:g[0],visit:function(t,n,r,i,o){e=e.add(t)},directed:!1}),g=g.not(e),h.push(e)};g.length>0;)m();c=n.collection();for(var v=function(e){var t=h[e],n=t.maxDegree(!1),r=t.filter(function(e){return e.degree(!1)===n});c=c.add(r)},b=0;b<h.length;b++)v(b)}var y=[],x={},w={},k={},_={},$={};s.bfs({roots:c,directed:t.directed,visit:function(e,t,n,r,i){var o=e[0],a=o.id();if(y[i]||(y[i]=[]),y[i].push(o),x[a]=!0,w[a]=i,k[a]=n,_[a]=t,n){var s=n.id();($[s]=$[s]||[]).push(e)}}});for(var E=[],S=0;S<a.length;S++){var C=a[S];x[C.id()]||E.push(C)}for(var T=3*E.length,A=0;0!==E.length&&A<T;){for(var P=E.shift(),O=P.neighborhood().nodes(),R=!1,j=0;j<O.length;j++){var D=w[O[j].id()];if(void 0!==D){y[D].push(P),R=!0;break}}R||E.push(P),A++}for(;0!==E.length;){var I=E.shift();0===y.length&&y.push([]),y[0].push(I)}var N=function(){for(var e=0;e<y.length;e++)for(var t=y[e],n=0;n<t.length;n++){var r=t[n];null!=r?r._private.scratch.breadthfirst={depth:e,index:n}:(t.splice(n,1),n--)}};N();for(var M=function(e){for(var t=e.connectedEdges(function(t){return t.data("target")===e.id()}),n=e._private.scratch.breadthfirst,r=0,i=void 0,o=0;o<t.length;o++){var a=t[o].source()[0],s=a._private.scratch.breadthfirst;n.depth<=s.depth&&r<s.depth&&(r=s.depth,i=a)}return i},z=0;z<t.maximalAdjustments;z++){for(var L=y.length,q=[],B=0;B<L;B++)for(var V=y[B],F=V.length,U=0;U<F;U++){var H=V[U],W=H._private.scratch.breadthfirst,G=M(H);G&&(W.intEle=G,q.push(H))}for(var X=0;X<q.length;X++){var Y=q[X],Z=Y._private.scratch.breadthfirst,K=Z.intEle._private.scratch.breadthfirst;y[Z.depth][Z.index]=null;for(var Q=K.depth+1;Q>y.length-1;)y.push([]);y[Q].push(Y),Z.depth=Q,Z.index=y[Q].length-1}N()}var J=0;if(t.avoidOverlap)for(var ee=0;ee<a.length;ee++){var te=a[ee].layoutDimensions(t),ne=te.w,re=te.h;J=Math.max(J,ne,re)}for(var ie={},oe=function(e){if(ie[e.id()])return ie[e.id()];for(var t=e._private.scratch.breadthfirst.depth,n=e.neighborhood().nodes().not(":parent").intersection(a),r=0,i=0,o=0;o<n.length;o++){var s=n[o]._private.scratch.breadthfirst,l=s.index,c=s.depth,u=y[c].length;(t>c||0===t)&&(r+=l/u,i++)}return r/=i=Math.max(1,i),0===i&&(r=void 0),ie[e.id()]=r,r},ae=function(e,t){return oe(e)-oe(t)},se=0;se<3;se++){for(var le=0;le<y.length;le++)y[le]=y[le].sort(ae);N()}for(var ce=0,ue=0;ue<y.length;ue++)ce=Math.max(y[ue].length,ce);for(var de=l.x1+l.w/2,pe=l.x1+l.h/2,fe=function(e,n){var r=e._private.scratch.breadthfirst,i=r.depth,o=r.index,a=y[i].length,s=Math.max(l.w/(a+1),J),c=Math.max(l.h/(y.length+1),J),u=Math.min(l.w/2/y.length,l.h/2/y.length);if(u=Math.max(u,J),t.circle){if(t.circle){var d=u*i+u-(y.length>0&&y[0].length<=3?u/2:0),p=2*Math.PI/y[i].length*o;return 0===i&&1===y[0].length&&(d=1),{x:de+d*Math.cos(p),y:pe+d*Math.sin(p)}}return{x:de+(o+1-(a+1)/2)*s,y:(i+1)*c}}var f={x:de+(o+1-(a+1)/2)*s,y:(i+1)*c};return f},he={},ge=y.length-1;ge>=0;ge--)for(var me=y[ge],ve=0;ve<me.length;ve++){var be=me[ve];he[be.id()]=fe(be,y.length)}return a.layoutPositions(this,t,function(e){return he[e.id()]}),this},e.exports=s},function(e,t,n){"use strict";var r=n(1),i=n(2),o=n(0),a={fit:!0,padding:30,boundingBox:void 0,avoidOverlap:!0,nodeDimensionsIncludeLabels:!1,spacingFactor:void 0,radius:void 0,startAngle:1.5*Math.PI,sweep:void 0,clockwise:!0,sort:void 0,animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(e,t){return!0},ready:void 0,stop:void 0,transform:function(e,t){return t}};function s(e){this.options=r.extend({},a,e)}s.prototype.run=function(){var e=this.options,t=e,n=e.cy,r=t.eles,a=void 0!==t.counterclockwise?!t.counterclockwise:t.clockwise,s=r.nodes().not(":parent");t.sort&&(s=s.sort(t.sort));for(var l=i.makeBoundingBox(t.boundingBox?t.boundingBox:{x1:0,y1:0,w:n.width(),h:n.height()}),c=l.x1+l.w/2,u=l.y1+l.h/2,d=(void 0===t.sweep?2*Math.PI-2*Math.PI/s.length:t.sweep)/Math.max(1,s.length-1),p=void 0,f=0,h=0;h<s.length;h++){var g=s[h].layoutDimensions(t),m=g.w,v=g.h;f=Math.max(f,m,v)}if(p=o.number(t.radius)?t.radius:s.length<=1?0:Math.min(l.h,l.w)/2-f,s.length>1&&t.avoidOverlap){f*=1.75;var b=Math.cos(d)-Math.cos(0),y=Math.sin(d)-Math.sin(0),x=Math.sqrt(f*f/(b*b+y*y));p=Math.max(x,p)}return s.layoutPositions(this,t,function(e,n){var r=t.startAngle+n*d*(a?1:-1),i=p*Math.cos(r),o=p*Math.sin(r);return{x:c+i,y:u+o}}),this},e.exports=s},function(e,t,n){"use strict";var r=n(1),i=n(2),o={fit:!0,padding:30,startAngle:1.5*Math.PI,sweep:void 0,clockwise:!0,equidistant:!1,minNodeSpacing:10,boundingBox:void 0,avoidOverlap:!0,nodeDimensionsIncludeLabels:!1,height:void 0,width:void 0,spacingFactor:void 0,concentric:function(e){return e.degree()},levelWidth:function(e){return e.maxDegree()/4},animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(e,t){return!0},ready:void 0,stop:void 0,transform:function(e,t){return t}};function a(e){this.options=r.extend({},o,e)}a.prototype.run=function(){for(var e=this.options,t=e,n=void 0!==t.counterclockwise?!t.counterclockwise:t.clockwise,r=e.cy,o=t.eles.nodes().not(":parent"),a=i.makeBoundingBox(t.boundingBox?t.boundingBox:{x1:0,y1:0,w:r.width(),h:r.height()}),s=a.x1+a.w/2,l=a.y1+a.h/2,c=[],u=(t.startAngle,0),d=0;d<o.length;d++){var p,f=o[d];p=t.concentric(f),c.push({value:p,node:f}),f._private.scratch.concentric=p}o.updateStyle();for(var h=0;h<o.length;h++){var g=o[h].layoutDimensions(t);u=Math.max(u,g.w,g.h)}c.sort(function(e,t){return t.value-e.value});for(var m=t.levelWidth(o),v=[[]],b=v[0],y=0;y<c.length;y++){var x=c[y];if(b.length>0)Math.abs(b[0].value-x.value)>=m&&(b=[],v.push(b));b.push(x)}var w=u+t.minNodeSpacing;if(!t.avoidOverlap){var k=v.length>0&&v[0].length>1,_=(Math.min(a.w,a.h)/2-w)/(v.length+k?1:0);w=Math.min(w,_)}for(var $=0,E=0;E<v.length;E++){var S=v[E],C=void 0===t.sweep?2*Math.PI-2*Math.PI/S.length:t.sweep,T=S.dTheta=C/Math.max(1,S.length-1);if(S.length>1&&t.avoidOverlap){var A=Math.cos(T)-Math.cos(0),P=Math.sin(T)-Math.sin(0),O=Math.sqrt(w*w/(A*A+P*P));$=Math.max(O,$)}S.r=$,$+=w}if(t.equidistant){for(var R=0,j=0,D=0;D<v.length;D++){var I=v[D].r-j;R=Math.max(R,I)}j=0;for(var N=0;N<v.length;N++){var M=v[N];0===N&&(j=M.r),M.r=j,j+=R}}for(var z={},L=0;L<v.length;L++)for(var q=v[L],B=q.dTheta,V=q.r,F=0;F<q.length;F++){var U=q[F],H=t.startAngle+(n?1:-1)*B*F,W={x:s+V*Math.cos(H),y:l+V*Math.sin(H)};z[U.node.id()]=W}return o.layoutPositions(this,t,function(e){var t=e.id();return z[t]}),this},e.exports=a},function(e,t,n){"use strict";var r,i=n(1),o=n(2),a=n(0),s=n(5),l={ready:function(){},stop:function(){},animate:!0,animationEasing:void 0,animationDuration:void 0,animateFilter:function(e,t){return!0},animationThreshold:250,refresh:20,fit:!0,padding:30,boundingBox:void 0,nodeDimensionsIncludeLabels:!1,randomize:!1,componentSpacing:40,nodeRepulsion:function(e){return 2048},nodeOverlap:4,idealEdgeLength:function(e){return 32},edgeElasticity:function(e){return 32},nestingFactor:1.2,gravity:1,numIter:1e3,initialTemp:1e3,coolingFactor:.99,minTemp:1,weaver:!1};function c(e){this.options=i.extend({},l,e),this.options.layout=this}c.prototype.run=function(){var e=this.options,t=e.cy,n=this,o=this.thread,l=e.weaver?e.weaver.Thread:null,c={listeners:[],on:function(e,t){return this.listeners.push({event:e,callback:t}),this},trigger:function(e){a.string(e)&&(e={type:e});var t=function(t){t.callback(e)};return this.listeners.filter(function(t){return t.event===e.type}).forEach(t),this},pass:function(e){return this.pass=e,this},run:function(e){var t=this.pass;return new s(function(n){n(e(t))})},stop:function(){return this},stopped:function(){return!0}};function d(e){var t={type:"message",message:e};c.trigger(t)}o&&!o.stopped()||(o=this.thread=l?new l:c),n.stopped=!1,!0!==e.animate&&!1!==e.animate||n.emit({type:"layoutstart",layout:n}),r=!0===e.debug;var p=u(t,n,e);r&&f(p),e.randomize&&h(p,t);var m=Date.now(),v=!1,b=function(n){n=n||{},v&&!n.next||!n.force&&Date.now()-m<e.animationThreshold||(v=!0,i.requestAnimationFrame(function(){g(p,t,e),!0===e.fit&&t.fit(e.padding),v=!1,n.next&&n.next()}))};o.on("message",function(e){var t=e.message;p.layoutNodes=t,b()}),o.pass({layoutInfo:p,options:{animate:e.animate,refresh:e.refresh,componentSpacing:e.componentSpacing,nodeOverlap:e.nodeOverlap,nestingFactor:e.nestingFactor,gravity:e.gravity,numIter:e.numIter,initialTemp:e.initialTemp,coolingFactor:e.coolingFactor,minTemp:e.minTemp}}).run(function(e){var t=e.layoutInfo,n=e.options,r=function(e,t){for(var n=0;n<e.graphSet.length;n++)for(var r=e.graphSet[n],i=r.length,a=0;a<i;a++)for(var s=e.layoutNodes[e.idToIndex[r[a]]],l=a+1;l<i;l++){var c=e.layoutNodes[e.idToIndex[r[l]]];o(s,c,e,t)}},i=function(e){return-e+2*e*Math.random()},o=function(e,t,n,r){if(e.cmptId===t.cmptId||n.isCompound){var o=t.positionX-e.positionX,l=t.positionY-e.positionY;0===o&&0===l&&(o=i(1),l=i(1));var c=a(e,t,o,l);if(c>0)var u=(p=r.nodeOverlap*c)*o/(b=Math.sqrt(o*o+l*l)),d=p*l/b;else{var p,f=s(e,o,l),h=s(t,-1*o,-1*l),g=h.x-f.x,m=h.y-f.y,v=g*g+m*m,b=Math.sqrt(v);u=(p=(e.nodeRepulsion+t.nodeRepulsion)/v)*g/b,d=p*m/b}e.isLocked||(e.offsetX-=u,e.offsetY-=d),t.isLocked||(t.offsetX+=u,t.offsetY+=d)}},a=function(e,t,n,r){if(n>0)var i=e.maxX-t.minX;else i=t.maxX-e.minX;if(r>0)var o=e.maxY-t.minY;else o=t.maxY-e.minY;return i>=0&&o>=0?Math.sqrt(i*i+o*o):0},s=function(e,t,n){var r=e.positionX,i=e.positionY,o=e.height||1,a=e.width||1,s=n/t,l=o/a,c={};return 0===t&&0<n?(c.x=r,c.y=i+o/2,c):0===t&&0>n?(c.x=r,c.y=i+o/2,c):0<t&&-1*l<=s&&s<=l?(c.x=r+a/2,c.y=i+a*n/2/t,c):0>t&&-1*l<=s&&s<=l?(c.x=r-a/2,c.y=i-a*n/2/t,c):0<n&&(s<=-1*l||s>=l)?(c.x=r+o*t/2/n,c.y=i+o/2,c):0>n&&(s<=-1*l||s>=l)?(c.x=r-o*t/2/n,c.y=i-o/2,c):c},l=function(e,t){for(var n=0;n<e.edgeSize;n++){var r=e.layoutEdges[n],i=e.idToIndex[r.sourceId],o=e.layoutNodes[i],a=e.idToIndex[r.targetId],l=e.layoutNodes[a],c=l.positionX-o.positionX,u=l.positionY-o.positionY;if(0!==c||0!==u){var d=s(o,c,u),p=s(l,-1*c,-1*u),f=p.x-d.x,h=p.y-d.y,g=Math.sqrt(f*f+h*h),m=Math.pow(r.idealLength-g,2)/r.elasticity;if(0!==g)var v=m*f/g,b=m*h/g;else v=0,b=0;o.isLocked||(o.offsetX+=v,o.offsetY+=b),l.isLocked||(l.offsetX-=v,l.offsetY-=b)}}},c=function(e,t){for(var n=0;n<e.graphSet.length;n++){var r=e.graphSet[n],i=r.length;if(0===n)var o=e.clientHeight/2,a=e.clientWidth/2;else{var s=e.layoutNodes[e.idToIndex[r[0]]],l=e.layoutNodes[e.idToIndex[s.parentId]];o=l.positionX,a=l.positionY}for(var c=0;c<i;c++){var u=e.layoutNodes[e.idToIndex[r[c]]];if(!u.isLocked){var d=o-u.positionX,p=a-u.positionY,f=Math.sqrt(d*d+p*p);if(f>1){var h=t.gravity*d/f,g=t.gravity*p/f;u.offsetX+=h,u.offsetY+=g}}}}},u=function(e,t){var n=[],r=0,i=-1;for(n.push.apply(n,e.graphSet[0]),i+=e.graphSet[0].length;r<=i;){var o=n[r++],a=e.idToIndex[o],s=e.layoutNodes[a],l=s.children;if(0<l.length&&!s.isLocked){for(var c=s.offsetX,u=s.offsetY,d=0;d<l.length;d++){var p=e.layoutNodes[e.idToIndex[l[d]]];p.offsetX+=c,p.offsetY+=u,n[++i]=l[d]}s.offsetX=0,s.offsetY=0}}},p=function(e,t){for(var n=0;n<e.nodeSize;n++){0<(i=e.layoutNodes[n]).children.length&&(i.maxX=void 0,i.minX=void 0,i.maxY=void 0,i.minY=void 0)}for(n=0;n<e.nodeSize;n++){if(!(0<(i=e.layoutNodes[n]).children.length||i.isLocked)){var r=f(i.offsetX,i.offsetY,e.temperature);i.positionX+=r.x,i.positionY+=r.y,i.offsetX=0,i.offsetY=0,i.minX=i.positionX-i.width,i.maxX=i.positionX+i.width,i.minY=i.positionY-i.height,i.maxY=i.positionY+i.height,h(i,e)}}for(n=0;n<e.nodeSize;n++){var i;0<(i=e.layoutNodes[n]).children.length&&!i.isLocked&&(i.positionX=(i.maxX+i.minX)/2,i.positionY=(i.maxY+i.minY)/2,i.width=i.maxX-i.minX,i.height=i.maxY-i.minY)}},f=function(e,t,n){var r=Math.sqrt(e*e+t*t);if(r>n)var i={x:n*e/r,y:n*t/r};else i={x:e,y:t};return i},h=function e(t,n){var r=t.parentId;if(null!=r){var i=n.layoutNodes[n.idToIndex[r]],o=!1;return(null==i.maxX||t.maxX+i.padRight>i.maxX)&&(i.maxX=t.maxX+i.padRight,o=!0),(null==i.minX||t.minX-i.padLeft<i.minX)&&(i.minX=t.minX-i.padLeft,o=!0),(null==i.maxY||t.maxY+i.padBottom>i.maxY)&&(i.maxY=t.maxY+i.padBottom,o=!0),(null==i.minY||t.minY-i.padTop<i.minY)&&(i.minY=t.minY-i.padTop,o=!0),o?e(i,n):void 0}},g=function(e){return function(e,t,n){r(e,t),l(e,t),c(e,t),u(e,t),p(e,t)}(t,n),t.temperature=t.temperature*n.coolingFactor,!(t.temperature<n.minTemp)},m=0;do{for(var v=0;v<n.refresh&&m<n.numIter;){var b;if(!(b=g()))break;v++,m++}!0===n.animate&&d(t.layoutNodes)}while(b&&m+1<n.numIter);return function(e,n){for(var r=t.layoutNodes,i=[],o=0;o<r.length;o++){var a=r[o],s=a.cmptId;(i[s]=i[s]||[]).push(a)}var l=0;for(o=0;o<i.length;o++)if(m=i[o]){m.x1=1/0,m.x2=-1/0,m.y1=1/0,m.y2=-1/0;for(var c=0;c<m.length;c++){var u=m[c];m.x1=Math.min(m.x1,u.positionX-u.width/2),m.x2=Math.max(m.x2,u.positionX+u.width/2),m.y1=Math.min(m.y1,u.positionY-u.height/2),m.y2=Math.max(m.y2,u.positionY+u.height/2)}m.w=m.x2-m.x1,m.h=m.y2-m.y1,l+=m.w*m.h}i.sort(function(e,t){return t.w*t.h-e.w*e.h});var d=0,p=0,f=0,h=0,g=Math.sqrt(l)*t.clientWidth/t.clientHeight;for(o=0;o<i.length;o++){var m;if(m=i[o]){for(c=0;c<m.length;c++)(u=m[c]).isLocked||(u.positionX+=d,u.positionY+=p);d+=m.w+n.componentSpacing,f+=m.w+n.componentSpacing,h=Math.max(h,m.h),f>g&&(p+=h+n.componentSpacing,d=0,f=0,h=0)}}}(0,n),t}).then(function(e){p.layoutNodes=e.layoutNodes,o.stop(),y()});var y=function(){!0===e.animate||!1===e.animate?b({force:!0,next:function(){n.one("layoutstop",e.stop),n.emit({type:"layoutstop",layout:n})}}):e.eles.nodes().layoutPositions(n,e,function(e){var t=p.layoutNodes[p.idToIndex[e.data("id")]];return{x:t.positionX,y:t.positionY}})};return this},c.prototype.stop=function(){return this.stopped=!0,this.thread&&this.thread.stop(),this.emit("layoutstop"),this},c.prototype.destroy=function(){return this.thread&&this.thread.stop(),this};var u=function(e,t,n){for(var r=n.eles.edges(),i=n.eles.nodes(),s={isCompound:e.hasCompoundNodes(),layoutNodes:[],idToIndex:{},nodeSize:i.size(),graphSet:[],indexToGraph:[],layoutEdges:[],edgeSize:r.size(),temperature:n.initialTemp,clientWidth:e.width(),clientHeight:e.width(),boundingBox:o.makeBoundingBox(n.boundingBox?n.boundingBox:{x1:0,y1:0,w:e.width(),h:e.height()})},l=n.eles.components(),c={},u=0;u<l.length;u++)for(var p=l[u],f=0;f<p.length;f++){c[p[f].id()]=u}for(u=0;u<s.nodeSize;u++){var h=(y=i[u]).layoutDimensions(n);(I={}).isLocked=y.locked(),I.id=y.data("id"),I.parentId=y.data("parent"),I.cmptId=c[y.id()],I.children=[],I.positionX=y.position("x"),I.positionY=y.position("y"),I.offsetX=0,I.offsetY=0,I.height=h.w,I.width=h.h,I.maxX=I.positionX+I.width/2,I.minX=I.positionX-I.width/2,I.maxY=I.positionY+I.height/2,I.minY=I.positionY-I.height/2,I.padLeft=parseFloat(y.style("padding")),I.padRight=parseFloat(y.style("padding")),I.padTop=parseFloat(y.style("padding")),I.padBottom=parseFloat(y.style("padding")),I.nodeRepulsion=a.fn(n.nodeRepulsion)?n.nodeRepulsion(y):n.nodeRepulsion,s.layoutNodes.push(I),s.idToIndex[I.id]=u}var g=[],m=0,v=-1,b=[];for(u=0;u<s.nodeSize;u++){var y,x=(y=s.layoutNodes[u]).parentId;null!=x?s.layoutNodes[s.idToIndex[x]].children.push(y.id):(g[++v]=y.id,b.push(y.id))}for(s.graphSet.push(b);m<=v;){var w=g[m++],k=s.idToIndex[w],_=s.layoutNodes[k].children;if(_.length>0){s.graphSet.push(_);for(u=0;u<_.length;u++)g[++v]=_[u]}}for(u=0;u<s.graphSet.length;u++){var $=s.graphSet[u];for(f=0;f<$.length;f++){var E=s.idToIndex[$[f]];s.indexToGraph[E]=u}}for(u=0;u<s.edgeSize;u++){var S=r[u],C={};C.id=S.data("id"),C.sourceId=S.data("source"),C.targetId=S.data("target");var T=a.fn(n.idealEdgeLength)?n.idealEdgeLength(S):n.idealEdgeLength,A=a.fn(n.edgeElasticity)?n.edgeElasticity(S):n.edgeElasticity,P=s.idToIndex[C.sourceId],O=s.idToIndex[C.targetId];if(s.indexToGraph[P]!=s.indexToGraph[O]){for(var R=d(C.sourceId,C.targetId,s),j=s.graphSet[R],D=0,I=s.layoutNodes[P];-1===j.indexOf(I.id);)I=s.layoutNodes[s.idToIndex[I.parentId]],D++;for(I=s.layoutNodes[O];-1===j.indexOf(I.id);)I=s.layoutNodes[s.idToIndex[I.parentId]],D++;T*=D*n.nestingFactor}C.idealLength=T,C.elasticity=A,s.layoutEdges.push(C)}return s},d=function(e,t,n){var r=p(e,t,0,n);return 2>r.count?0:r.graph},p=function e(t,n,r,i){var o=i.graphSet[r];if(-1<o.indexOf(t)&&-1<o.indexOf(n))return{count:2,graph:r};for(var a=0,s=0;s<o.length;s++){var l=o[s],c=i.idToIndex[l],u=i.layoutNodes[c].children;if(0!==u.length){var d=e(t,n,i.indexToGraph[i.idToIndex[u[0]]],i);if(0!==d.count){if(1!==d.count)return d;if(2===++a)break}}}return{count:a,graph:r}},f=function(e){if(r){console.debug("layoutNodes:");for(var t=0;t<e.nodeSize;t++){var n=e.layoutNodes[t],i="\nindex: "+t+"\nId: "+n.id+"\nChildren: "+n.children.toString()+"\nparentId: "+n.parentId+"\npositionX: "+n.positionX+"\npositionY: "+n.positionY+"\nOffsetX: "+n.offsetX+"\nOffsetY: "+n.offsetY+"\npadLeft: "+n.padLeft+"\npadRight: "+n.padRight+"\npadTop: "+n.padTop+"\npadBottom: "+n.padBottom;console.debug(i)}for(var t in console.debug("idToIndex"),e.idToIndex)console.debug("Id: "+t+"\nIndex: "+e.idToIndex[t]);console.debug("Graph Set");var o=e.graphSet;for(t=0;t<o.length;t++)console.debug("Set : "+t+": "+o[t].toString());for(i="IndexToGraph",t=0;t<e.indexToGraph.length;t++)i+="\nIndex : "+t+" Graph: "+e.indexToGraph[t];console.debug(i),i="Layout Edges";for(t=0;t<e.layoutEdges.length;t++){var a=e.layoutEdges[t];i+="\nEdge Index: "+t+" ID: "+a.id+" SouceID: "+a.sourceId+" TargetId: "+a.targetId+" Ideal Length: "+a.idealLength}console.debug(i),i="nodeSize: "+e.nodeSize,i+="\nedgeSize: "+e.edgeSize,i+="\ntemperature: "+e.temperature,console.debug(i)}},h=function(e,t){for(var n=e.clientWidth,r=e.clientHeight,i=0;i<e.nodeSize;i++){var o=e.layoutNodes[i];0!==o.children.length||o.isLocked||(o.positionX=Math.random()*n,o.positionY=Math.random()*r)}},g=function(e,t,n){var r=n.layout,i=n.eles.nodes(),o=e.boundingBox,a={x1:1/0,x2:-1/0,y1:1/0,y2:-1/0};n.boundingBox&&(i.forEach(function(t){var n=e.layoutNodes[e.idToIndex[t.data("id")]];a.x1=Math.min(a.x1,n.positionX),a.x2=Math.max(a.x2,n.positionX),a.y1=Math.min(a.y1,n.positionY),a.y2=Math.max(a.y2,n.positionY)}),a.w=a.x2-a.x1,a.h=a.y2-a.y1),i.positions(function(t,r){var i=e.layoutNodes[e.idToIndex[t.data("id")]];if(n.boundingBox){var s=(i.positionX-a.x1)/a.w,l=(i.positionY-a.y1)/a.h;return{x:o.x1+s*o.w,y:o.y1+l*o.h}}return{x:i.positionX,y:i.positionY}}),!0!==e.ready&&(e.ready=!0,r.one("layoutready",n.ready),r.emit({type:"layoutready",layout:this}))};e.exports=c},function(e,t,n){"use strict";var r=n(1),i=n(2),o={fit:!0,padding:30,boundingBox:void 0,avoidOverlap:!0,avoidOverlapPadding:10,nodeDimensionsIncludeLabels:!1,spacingFactor:void 0,condense:!1,rows:void 0,cols:void 0,position:function(e){},sort:void 0,animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(e,t){return!0},ready:void 0,stop:void 0,transform:function(e,t){return t}};function a(e){this.options=r.extend({},o,e)}a.prototype.run=function(){var e=this.options,t=e,n=e.cy,r=t.eles.nodes().not(":parent");t.sort&&(r=r.sort(t.sort));var o=i.makeBoundingBox(t.boundingBox?t.boundingBox:{x1:0,y1:0,w:n.width(),h:n.height()});if(0===o.h||0===o.w)r.layoutPositions(this,t,function(e){return{x:o.x1,y:o.y1}});else{var a=r.size(),s=Math.sqrt(a*o.h/o.w),l=Math.round(s),c=Math.round(o.w/o.h*s),u=function(e){if(null==e)return Math.min(l,c);Math.min(l,c)==l?l=e:c=e},d=function(e){if(null==e)return Math.max(l,c);Math.max(l,c)==l?l=e:c=e},p=t.rows,f=null!=t.cols?t.cols:t.columns;if(null!=p&&null!=f)l=p,c=f;else if(null!=p&&null==f)l=p,c=Math.ceil(a/l);else if(null==p&&null!=f)c=f,l=Math.ceil(a/c);else if(c*l>a){var h=u(),g=d();(h-1)*g>=a?u(h-1):(g-1)*h>=a&&d(g-1)}else for(;c*l<a;){var m=u(),v=d();(v+1)*m>=a?d(v+1):u(m+1)}var b=o.w/c,y=o.h/l;if(t.condense&&(b=0,y=0),t.avoidOverlap)for(var x=0;x<r.length;x++){var w=r[x],k=w._private.position;null!=k.x&&null!=k.y||(k.x=0,k.y=0);var _=w.layoutDimensions(t),$=t.avoidOverlapPadding,E=_.w+$,S=_.h+$;b=Math.max(b,E),y=Math.max(y,S)}for(var C={},T=function(e,t){return!!C["c-"+e+"-"+t]},A=function(e,t){C["c-"+e+"-"+t]=!0},P=0,O=0,R=function(){++O>=c&&(O=0,P++)},j={},D=0;D<r.length;D++){var I=r[D],N=t.position(I);if(N&&(void 0!==N.row||void 0!==N.col)){var M={row:N.row,col:N.col};if(void 0===M.col)for(M.col=0;T(M.row,M.col);)M.col++;else if(void 0===M.row)for(M.row=0;T(M.row,M.col);)M.row++;j[I.id()]=M,A(M.row,M.col)}}r.layoutPositions(this,t,function(e,t){var n=void 0,r=void 0;if(e.locked()||e.isParent())return!1;var i=j[e.id()];if(i)n=i.col*b+b/2+o.x1,r=i.row*y+y/2+o.y1;else{for(;T(P,O);)R();n=O*b+b/2+o.x1,r=P*y+y/2+o.y1,A(P,O),R()}return{x:n,y:r}})}return this},e.exports=a},function(e,t,n){"use strict";var r=n(1),i={ready:function(){},stop:function(){}};function o(e){this.options=r.extend({},i,e)}o.prototype.run=function(){var e=this.options,t=e.eles;e.cy;return this.emit("layoutstart"),t.nodes().positions(function(){return{x:0,y:0}}),this.one("layoutready",e.ready),this.emit("layoutready"),this.one("layoutstop",e.stop),this.emit("layoutstop"),this},o.prototype.stop=function(){return this},e.exports=o},function(e,t,n){"use strict";var r=n(1),i=n(0),o={positions:void 0,zoom:void 0,pan:void 0,fit:!0,padding:30,animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(e,t){return!0},ready:void 0,stop:void 0,transform:function(e,t){return t}};function a(e){this.options=r.extend({},o,e)}a.prototype.run=function(){var e=this.options,t=e.eles.nodes(),n=i.fn(e.positions);return t.layoutPositions(this,e,function(t,r){var i=function(t){if(null==e.positions)return null;if(n)return e.positions(t);var r=e.positions[t._private.data.id];return null==r?null:r}(t);return!t.locked()&&null!=i&&i}),this},e.exports=a},function(e,t,n){"use strict";var r=n(1),i=n(2),o={fit:!0,padding:30,boundingBox:void 0,animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(e,t){return!0},ready:void 0,stop:void 0,transform:function(e,t){return t}};function a(e){this.options=r.extend({},o,e)}a.prototype.run=function(){var e=this.options,t=e.cy,n=e.eles.nodes().not(":parent"),r=i.makeBoundingBox(e.boundingBox?e.boundingBox:{x1:0,y1:0,w:t.width(),h:t.height()});return n.layoutPositions(this,e,function(e,t){return{x:r.x1+Math.round(Math.random()*r.w),y:r.y1+Math.round(Math.random()*r.h)}}),this},e.exports=a},function(e,t,n){"use strict";e.exports=[{name:"null",impl:n(106)},{name:"base",impl:n(107)},{name:"canvas",impl:n(123)}]},function(e,t,n){"use strict";function r(e){this.options=e,this.notifications=0}var i=function(){};r.prototype={recalculateRenderedStyle:i,notify:function(){this.notifications++},init:i},e.exports=r},function(e,t,n){"use strict";var r=n(0),i=n(1),o=n(3),a=function(e){this.init(e)},s=a.prototype;s.clientFunctions=["redrawHint","render","renderTo","matchCanvasSize","nodeShapeImpl","arrowShapeImpl"],s.init=function(e){var t=this;t.options=e,t.cy=e.cy;var n=t.container=e.cy.container();if(o){var r=o.document,a=r.head,s="__________cytoscape_container",l=null!=r.getElementById("__________cytoscape_stylesheet");if(n.className.indexOf(s)<0&&(n.className=(n.className||"")+" "+s),!l){var c=r.createElement("style");c.id="__________cytoscape_stylesheet",c.innerHTML="."+s+" { position: relative; }",a.insertBefore(c,a.children[0])}"static"===o.getComputedStyle(n).getPropertyValue("position")&&i.error("A Cytoscape container has style position:static and so can not use UI extensions properly")}t.selection=[void 0,void 0,void 0,void 0,0],t.bezierProjPcts=[.05,.225,.4,.5,.6,.775,.95],t.hoverData={down:null,last:null,downTime:null,triggerMode:null,dragging:!1,initialPan:[null,null],capture:!1},t.dragData={possibleDragElements:[]},t.touchData={start:null,capture:!1,startPosition:[null,null,null,null,null,null],singleTouchStartTime:null,singleTouchMoved:!0,now:[null,null,null,null,null,null],earlier:[null,null,null,null,null,null]},t.redraws=0,t.showFps=e.showFps,t.debug=e.debug,t.hideEdgesOnViewport=e.hideEdgesOnViewport,t.hideLabelsOnViewport=e.hideLabelsOnViewport,t.textureOnViewport=e.textureOnViewport,t.wheelSensitivity=e.wheelSensitivity,t.motionBlurEnabled=e.motionBlur,t.forcedPixelRatio=e.pixelRatio,t.motionBlur=e.motionBlur,t.motionBlurOpacity=e.motionBlurOpacity,t.motionBlurTransparency=1-t.motionBlurOpacity,t.motionBlurPxRatio=1,t.mbPxRBlurry=1,t.minMbLowQualFrames=4,t.fullQualityMb=!1,t.clearedForMotionBlur=[],t.desktopTapThreshold=e.desktopTapThreshold,t.desktopTapThreshold2=e.desktopTapThreshold*e.desktopTapThreshold,t.touchTapThreshold=e.touchTapThreshold,t.touchTapThreshold2=e.touchTapThreshold*e.touchTapThreshold,t.tapholdDuration=500,t.bindings=[],t.beforeRenderCallbacks=[],t.beforeRenderPriorities={animations:400,eleCalcs:300,eleTxrDeq:200,lyrTxrDeq:100},t.registerNodeShapes(),t.registerArrowShapes(),t.registerCalculationListeners()},s.notify=function(e){var t,n=this;if(!this.destroyed){t=r.array(e.type)?e.type:[e.type];for(var i={},o=0;o<t.length;o++){i[t[o]]=!0}i.init?n.load():i.destroy?n.destroy():((i.add||i.remove||i.load||i.zorder)&&n.invalidateCachedZSortedEles(),i.viewport&&n.redrawHint("select",!0),(i.load||i.resize)&&(n.invalidateContainerClientCoordsCache(),n.matchCanvasSize(n.container)),n.redrawHint("eles",!0),n.redrawHint("drag",!0),this.startRenderLoop(),this.redraw())}},s.destroy=function(){var e=this;e.destroyed=!0,e.cy.stopAnimationLoop();for(var t=0;t<e.bindings.length;t++){var n=e.bindings[t],r=n.target;(r.off||r.removeEventListener).apply(r,n.args)}if(e.bindings=[],e.beforeRenderCallbacks=[],e.onUpdateEleCalcsFns=[],e.removeObserver&&e.removeObserver.disconnect(),e.styleObserver&&e.styleObserver.disconnect(),e.labelCalcDiv)try{document.body.removeChild(e.labelCalcDiv)}catch(e){}},[n(108),n(109),n(119),n(120),n(121),n(122)].forEach(function(e){i.extend(s,e)}),e.exports=a},function(e,t,n){"use strict";var r=n(2),i=n(0),o=n(1),a={arrowShapeWidth:.3,registerArrowShapes:function(){var e=this.arrowShapes={},t=this,n=function(e,t,n,r,i,o,a){var s=i.x-n/2-a,l=i.x+n/2+a,c=i.y-n/2-a,u=i.y+n/2+a;return s<=e&&e<=l&&c<=t&&t<=u},a=function(e,t,n,r,i){var o=e*Math.cos(r)-t*Math.sin(r),a=(e*Math.sin(r)+t*Math.cos(r))*n;return{x:o*n+i.x,y:a+i.y}},s=function(e,t,n,r){for(var i=[],o=0;o<e.length;o+=2){var s=e[o],l=e[o+1];i.push(a(s,l,t,n,r))}return i},l=function(e){for(var t=[],n=0;n<e.length;n++){var r=e[n];t.push(r.x,r.y)}return t},c=function(e){return e.pstyle("width").pfValue*e.pstyle("arrow-scale").pfValue*2},u=function(a,u){i.string(u)&&(u=e[u]),e[a]=o.extend({name:a,points:[-.15,-.3,.15,-.3,.15,.3,-.15,.3],collide:function(e,t,n,i,o,a){var c=l(s(this.points,n+2*a,i,o));return r.pointInsidePolygonPoints(e,t,c)},roughCollide:n,draw:function(e,n,r,i){var o=s(this.points,n,r,i);t.arrowShapeImpl("polygon")(e,o)},spacing:function(e){return 0},gap:c},u)};u("none",{collide:o.falsify,roughCollide:o.falsify,draw:o.noop,spacing:o.zeroify,gap:o.zeroify}),u("triangle",{points:[-.15,-.3,0,0,.15,-.3]}),u("arrow","triangle"),u("triangle-backcurve",{points:e.triangle.points,controlPoint:[0,-.15],roughCollide:n,draw:function(e,n,r,i,o){var l=s(this.points,n,r,i),c=this.controlPoint,u=a(c[0],c[1],n,r,i);t.arrowShapeImpl(this.name)(e,l,u)},gap:function(e){return.8*c(e)}}),u("triangle-tee",{points:[-.15,-.3,0,0,.15,-.3,-.15,-.3],pointsTee:[-.15,-.4,-.15,-.5,.15,-.5,.15,-.4],collide:function(e,t,n,i,o,a,c){var u=l(s(this.points,n+2*c,i,o)),d=l(s(this.pointsTee,n+2*c,i,o));return r.pointInsidePolygonPoints(e,t,u)||r.pointInsidePolygonPoints(e,t,d)},draw:function(e,n,r,i,o){var a=s(this.points,n,r,i),l=s(this.pointsTee,n,r,i);t.arrowShapeImpl(this.name)(e,a,l)}}),u("triangle-cross",{points:[-.15,-.3,0,0,.15,-.3,-.15,-.3],baseCrossLinePts:[-.15,-.4,-.15,-.4,.15,-.4,.15,-.4],crossLinePts:function(e,t){var n=this.baseCrossLinePts.slice(),r=t/e;return n[3]=n[3]-r,n[5]=n[5]-r,n},collide:function(e,t,n,i,o,a,c){var u=l(s(this.points,n+2*c,i,o)),d=l(s(this.crossLinePts(n,a),n+2*c,i,o));return r.pointInsidePolygonPoints(e,t,u)||r.pointInsidePolygonPoints(e,t,d)},draw:function(e,n,r,i,o){var a=s(this.points,n,r,i),l=s(this.crossLinePts(n,o),n,r,i);t.arrowShapeImpl(this.name)(e,a,l)}}),u("vee",{points:[-.15,-.3,0,0,.15,-.3,0,-.15],gap:function(e){return.525*c(e)}}),u("circle",{radius:.15,collide:function(e,t,n,r,i,o,a){var s=i;return Math.pow(s.x-e,2)+Math.pow(s.y-t,2)<=Math.pow((n+2*a)*this.radius,2)},draw:function(e,n,r,i,o){t.arrowShapeImpl(this.name)(e,i.x,i.y,this.radius*n)},spacing:function(e){return t.getArrowWidth(e.pstyle("width").pfValue,e.pstyle("arrow-scale").value)*this.radius}}),u("tee",{points:[-.15,0,-.15,-.1,.15,-.1,.15,0],spacing:function(e){return 1},gap:function(e){return 1}}),u("square",{points:[-.15,0,.15,0,.15,-.3,-.15,-.3]}),u("diamond",{points:[-.15,-.15,0,-.3,.15,-.15,0,0],gap:function(e){return e.pstyle("width").pfValue*e.pstyle("arrow-scale").value}})}};e.exports=a},function(e,t,n){"use strict";var r=n(1),i={};[n(110),n(111),n(112),n(113),n(114),n(115),n(116),n(117),n(118)].forEach(function(e){r.extend(i,e)}),e.exports=i},function(e,t,n){"use strict";var r=n(3),i=n(2),o=n(1),a=(r=n(3),{projectIntoViewport:function(e,t){var n=this.cy,r=this.findContainerClientCoords(),i=r[0],o=r[1],a=r[4],s=n.pan(),l=n.zoom();return[((e-i)/a-s.x)/l,((t-o)/a-s.y)/l]},findContainerClientCoords:function(){if(this.containerBB)return this.containerBB;var e=this.container,t=e.getBoundingClientRect(),n=r.getComputedStyle(e),i=function(e){return parseFloat(n.getPropertyValue(e))},o=i("padding-left"),a=i("padding-right"),s=i("padding-top"),l=i("padding-bottom"),c=i("border-left-width"),u=i("border-right-width"),d=i("border-top-width"),p=i("border-bottom-width"),f=e.clientWidth,h=e.clientHeight,g=o+a,m=s+l,v=c+u,b=d+p,y=t.width/(f+v),x=f-g,w=h-m,k=(t.width,t.height,t.left+o+c),_=t.top+s+d;return this.containerBB=[k,_,x,w,y]},invalidateContainerClientCoordsCache:function(){this.containerBB=null},findNearestElement:function(e,t,n,r){return this.findNearestElements(e,t,n,r)[0]},findNearestElements:function(e,t,n,r){var a,s,l=this,c=this,u=c.getCachedZSortedEles(),d=[],p=c.cy.zoom(),f=c.cy.hasCompoundNodes(),h=(r?24:8)/p,g=(r?8:2)/p,m=(r?8:2)/p,v=1/0;function b(e,t){if(e.isNode()){if(s)return;s=e,d.push(e)}if(e.isEdge()&&(null==t||t<v))if(a){if(a.pstyle("z-index").value===e.pstyle("z-index").value)for(var n=0;n<d.length;n++)if(d[n].isEdge()){d[n]=e,a=e,v=null!=t?t:v;break}}else d.push(e),a=e,v=null!=t?t:v}function y(n){var r=n.outerWidth()+2*g,i=n.outerHeight()+2*g,o=r/2,a=i/2,s=n.position();if(s.x-o<=e&&e<=s.x+o&&s.y-a<=t&&t<=s.y+a&&c.nodeShapes[l.getNodeShape(n)].checkPoint(e,t,0,r,i,s.x,s.y))return b(n,0),!0}function x(n){var r,o=n._private,a=o.rscratch,s=n.pstyle("width").pfValue,u=n.pstyle("arrow-scale").value,p=s/2+h,g=p*p,m=2*p,v=o.source,x=o.target;if("segments"===a.edgeType||"straight"===a.edgeType||"haystack"===a.edgeType){for(var w=a.allpts,k=0;k+3<w.length;k+=2)if(i.inLineVicinity(e,t,w[k],w[k+1],w[k+2],w[k+3],m)&&g>(r=i.sqdistToFiniteLine(e,t,w[k],w[k+1],w[k+2],w[k+3])))return b(n,r),!0}else if("bezier"===a.edgeType||"multibezier"===a.edgeType||"self"===a.edgeType||"compound"===a.edgeType)for(w=a.allpts,k=0;k+5<a.allpts.length;k+=4)if(i.inBezierVicinity(e,t,w[k],w[k+1],w[k+2],w[k+3],w[k+4],w[k+5],m)&&g>(r=i.sqdistToQuadraticBezier(e,t,w[k],w[k+1],w[k+2],w[k+3],w[k+4],w[k+5])))return b(n,r),!0;v=v||o.source,x=x||o.target;var _=l.getArrowWidth(s,u),$=[{name:"source",x:a.arrowStartX,y:a.arrowStartY,angle:a.srcArrowAngle},{name:"target",x:a.arrowEndX,y:a.arrowEndY,angle:a.tgtArrowAngle},{name:"mid-source",x:a.midX,y:a.midY,angle:a.midsrcArrowAngle},{name:"mid-target",x:a.midX,y:a.midY,angle:a.midtgtArrowAngle}];for(k=0;k<$.length;k++){var E=$[k],S=c.arrowShapes[n.pstyle(E.name+"-arrow-shape").value],C=n.pstyle("width").pfValue;if(S.roughCollide(e,t,_,E.angle,{x:E.x,y:E.y},C,h)&&S.collide(e,t,_,E.angle,{x:E.x,y:E.y},C,h))return b(n),!0}f&&d.length>0&&(y(v),y(x))}function w(e,t,n){return o.getPrefixedProperty(e,t,n)}function k(n,r){var o,a=n._private,s=m;o=r?r+"-":"";var l=n.pstyle(o+"label").value;if("yes"===n.pstyle("text-events").strValue&&l){var c=a.rstyle,u=n.pstyle("text-border-width").pfValue,d=n.pstyle("text-background-padding").pfValue,p=w(c,"labelWidth",r)+u+2*s+2*d,f=w(c,"labelHeight",r)+u+2*s+2*d,h=w(c,"labelX",r),g=w(c,"labelY",r),v=w(a.rscratch,"labelAngle",r),y=h-p/2,x=h+p/2,k=g-f/2,_=g+f/2;if(v){var $=Math.cos(v),E=Math.sin(v),S=function(e,t){return{x:(e-=h)*$-(t-=g)*E+h,y:e*E+t*$+g}},C=S(y,k),T=S(y,_),A=S(x,k),P=S(x,_),O=[C.x,C.y,A.x,A.y,P.x,P.y,T.x,T.y];if(i.pointInsidePolygonPoints(e,t,O))return b(n),!0}else{var R={w:p,h:f,x1:y,x2:x,y1:k,y2:_};if(i.inBoundingBox(R,e,t))return b(n),!0}}}n&&(u=u.interactive);for(var _=u.length-1;_>=0;_--){var $=u[_];$.isNode()?y($)||k($):x($)||k($)||k($,"source")||k($,"target")}return d},getAllInBox:function(e,t,n,r){var o=this.getCachedZSortedEles().interactive,a=[],s=Math.min(e,n),l=Math.max(e,n),c=Math.min(t,r),u=Math.max(t,r);e=s,n=l,t=c,r=u;for(var d=i.makeBoundingBox({x1:e,y1:t,x2:n,y2:r}),p=0;p<o.length;p++){var f=o[p];if(f.isNode()){var h=f,g=h.boundingBox({includeNodes:!0,includeEdges:!1,includeLabels:!1});i.boundingBoxesIntersect(d,g)&&!i.boundingBoxInBoundingBox(g,d)&&a.push(h)}else{var m=f,v=m._private,b=v.rscratch;if(null!=b.startX&&null!=b.startY&&!i.inBoundingBox(d,b.startX,b.startY))continue;if(null!=b.endX&&null!=b.endY&&!i.inBoundingBox(d,b.endX,b.endY))continue;if("bezier"===b.edgeType||"multibezier"===b.edgeType||"self"===b.edgeType||"compound"===b.edgeType||"segments"===b.edgeType||"haystack"===b.edgeType){for(var y=v.rstyle.bezierPts||v.rstyle.linePts||v.rstyle.haystackPts,x=!0,w=0;w<y.length;w++)if(!i.pointInBoundingBox(d,y[w])){x=!1;break}x&&a.push(m)}else"haystack"!==b.edgeType&&"straight"!==b.edgeType||a.push(m)}}return a}});e.exports=a},function(e,t,n){"use strict";var r=n(2),i={calculateArrowAngles:function(e){var t,n,i,o,a,s,l=e._private.rscratch,c="haystack"===l.edgeType,u="bezier"===l.edgeType,d="multibezier"===l.edgeType,p="segments"===l.edgeType,f="compound"===l.edgeType,h="self"===l.edgeType;if(c?(i=l.haystackPts[0],o=l.haystackPts[1],a=l.haystackPts[2],s=l.haystackPts[3]):(i=l.arrowStartX,o=l.arrowStartY,a=l.arrowEndX,s=l.arrowEndY),m=l.midX,v=l.midY,p)t=i-l.segpts[0],n=o-l.segpts[1];else if(d||f||h||u){var g=l.allpts;t=i-r.qbezierAt(g[0],g[2],g[4],.1),n=o-r.qbezierAt(g[1],g[3],g[5],.1)}else t=i-m,n=o-v;l.srcArrowAngle=r.getAngleFromDisp(t,n);var m=l.midX,v=l.midY;if(c&&(m=(i+a)/2,v=(o+s)/2),t=a-i,n=s-o,p)if((g=l.allpts).length/2%2==0){var b=(y=g.length/2)-2;t=g[y]-g[b],n=g[y+1]-g[b+1]}else{b=(y=g.length/2-1)-2;var y,x=y+2;t=g[y]-g[b],n=g[y+1]-g[b+1]}else if(d||f||h){var w,k,_,$,g=l.allpts;if(l.ctrlpts.length/2%2==0){var E=(S=(C=g.length/2-1)+2)+2;w=r.qbezierAt(g[C],g[S],g[E],0),k=r.qbezierAt(g[C+1],g[S+1],g[E+1],0),_=r.qbezierAt(g[C],g[S],g[E],1e-4),$=r.qbezierAt(g[C+1],g[S+1],g[E+1],1e-4)}else{var S,C=(S=g.length/2-1)-2;E=S+2;w=r.qbezierAt(g[C],g[S],g[E],.4999),k=r.qbezierAt(g[C+1],g[S+1],g[E+1],.4999),_=r.qbezierAt(g[C],g[S],g[E],.5),$=r.qbezierAt(g[C+1],g[S+1],g[E+1],.5)}t=_-w,n=$-k}(l.midtgtArrowAngle=r.getAngleFromDisp(t,n),l.midDispX=t,l.midDispY=n,t*=-1,n*=-1,p)&&((g=l.allpts).length/2%2==0||(t=-(g[x=(y=g.length/2-1)+2]-g[y]),n=-(g[x+1]-g[y+1])));if(l.midsrcArrowAngle=r.getAngleFromDisp(t,n),p)t=a-l.segpts[l.segpts.length-2],n=s-l.segpts[l.segpts.length-1];else if(d||f||h||u){var T=(g=l.allpts).length;t=a-r.qbezierAt(g[T-6],g[T-4],g[T-2],.9),n=s-r.qbezierAt(g[T-5],g[T-3],g[T-1],.9)}else t=a-m,n=s-v;l.tgtArrowAngle=r.getAngleFromDisp(t,n)}};i.getArrowWidth=i.getArrowHeight=function(e,t){var n=this.arrowWidthCache=this.arrowWidthCache||{},r=n[e+", "+t];return r||(r=Math.max(Math.pow(13.37*e,.9),29)*t,n[e+", "+t]=r,r)},e.exports=i},function(e,t,n){"use strict";var r=n(2),i=n(0),o={};function a(e){var t=[];if(null!=e){for(var n=0;n<e.length;n+=2){var r=e[n],i=e[n+1];t.push({x:r,y:i})}return t}}o.findEdgeControlPoints=function(e){if(e&&0!==e.length){for(var t,n,o,a,s,l=this,c=l.cy.hasCompoundNodes(),u={},d=[],p=[],f=0;f<e.length;f++){var h=(Vt=(Bt=e[f])._private).data,g="unbundled-bezier"===(j=Bt.pstyle("curve-style").value)||"segments"===j,m="unbundled-bezier"===j||"bezier"===j;if("none"!==Bt.pstyle("display").value)if("haystack"!==j){var v=h.source,b=h.target;t=v>b?b+"$-$"+v:v+"$-$"+b,g&&(t="unbundled$-$"+h.id);var y=u[t];null==y&&(y=u[t]=[],d.push(t)),y.push(Bt),g&&(y.hasUnbundled=!0),m&&(y.hasBezier=!0)}else p.push(Bt)}for(var x=0;x<d.length;x++){var w=u[t=d[x]];if(w.sort(function(e,t){return e.poolIndex()-t.poolIndex()}),Wt=w[0]._private.source,Gt=w[0]._private.target,!w.hasUnbundled&&Wt.id()>Gt.id()){var k=Wt;Wt=Gt,Gt=k}Xt=Wt.position(),Yt=Gt.position(),Zt=Wt.outerWidth(),Qt=Wt.outerHeight(),Kt=Gt.outerWidth(),Jt=Gt.outerHeight(),n=l.nodeShapes[this.getNodeShape(Wt)],o=l.nodeShapes[this.getNodeShape(Gt)],s=!1;var _={north:0,west:0,south:0,east:0,northwest:0,southwest:0,northeast:0,southeast:0},$=Xt.x,E=Xt.y,S=Zt,C=Qt,T=Yt.x,A=Yt.y,P=Kt,O=Jt,R=w.length;for(f=0;f<w.length;f++){var j,D,I=(Ut=(Bt=w[f])._private.rscratch).lastEdgeIndex,N=f,M=Ut.lastNumEdges,z=(g="unbundled-bezier"===(j=Bt.pstyle("curve-style").value)||"segments"===j,Wt.id()!==Bt.source().id()),L=Bt.pstyle("control-point-distances"),q=Bt.pstyle("loop-direction").pfValue,B=Bt.pstyle("loop-sweep").pfValue,V=Bt.pstyle("control-point-weights"),F=L&&V?Math.min(L.value.length,V.value.length):1,U=Bt.pstyle("control-point-step-size").pfValue,H=L?L.pfValue[0]:void 0,W=V.value[0],G=Bt.pstyle("edge-distances").value,X=Bt.pstyle("segment-weights"),Y=Bt.pstyle("segment-distances"),Z=Math.min(X.pfValue.length,Y.pfValue.length),K=Bt.pstyle("source-endpoint").value,Q=Bt.pstyle("target-endpoint").value,J=Bt.pstyle("source-arrow-shape").value,ee=Bt.pstyle("target-arrow-shape").value,te=Bt.pstyle("arrow-scale").value,ne=Bt.pstyle("width").pfValue,re=Ut.lastSrcCtlPtX,ie=Ut.lastSrcCtlPtY,oe=Ut.lastSrcCtlPtW,ae=Ut.lastSrcCtlPtH,se=Ut.lastTgtCtlPtX,le=Ut.lastTgtCtlPtY,ce=Ut.lastTgtCtlPtW,ue=Ut.lastTgtCtlPtH,de=Ut.lastCurveStyle,pe=j,fe=Ut.lastCtrlptDists,he=L?L.strValue:null,ge=Ut.lastCtrlptWs,me=V.strValue,ve=Ut.lastSegmentWs,be=X.strValue,ye=Ut.lastSegmentDs,xe=Y.strValue,we=Ut.lastStepSize,ke=U,_e=Ut.lastLoopDir,$e=q,Ee=Ut.lastLoopSwp,Se=B,Ce=Ut.lastEdgeDistances,Te=G,Ae=Ut.lastSrcEndpt,Pe=K,Oe=Ut.lastTgtEndpt,Re=Q,je=Ut.lastSrcArr,De=J,Ie=Ut.lastTgtArr,Ne=ee,Me=Ut.lastLineW,ze=ne,Le=Ut.lastArrScl,qe=te;if(Ut.badBezier=!!s,re===$&&ie===E&&oe===S&&ae===C&&se===T&&le===A&&ce===P&&ue===O&&de===pe&&fe===he&&ge===me&&ve===be&&ye===xe&&we===ke&&_e===$e&&Ee===Se&&Ce===Te&&Ae===Pe&&Oe===Re&&je===De&&Ie===Ne&&Me===ze&&Le===qe&&(I===N&&M===R||g)?D=!0:(D=!1,Ut.lastSrcCtlPtX=$,Ut.lastSrcCtlPtY=E,Ut.lastSrcCtlPtW=S,Ut.lastSrcCtlPtH=C,Ut.lastTgtCtlPtX=T,Ut.lastTgtCtlPtY=A,Ut.lastTgtCtlPtW=P,Ut.lastTgtCtlPtH=O,Ut.lastEdgeIndex=N,Ut.lastNumEdges=R,Ut.lastCurveStyle=pe,Ut.lastCtrlptDists=he,Ut.lastCtrlptWs=me,Ut.lastSegmentDs=xe,Ut.lastSegmentWs=be,Ut.lastStepSize=ke,Ut.lastLoopDir=$e,Ut.lastLoopSwp=Se,Ut.lastEdgeDistances=Te,Ut.lastSrcEndpt=Pe,Ut.lastTgtEndpt=Re,Ut.lastSrcArr=De,Ut.lastTgtArr=Ne,Ut.lastLineW=ze,Ut.lastArrScl=qe),!D){if(!w.calculatedIntersection&&Wt!==Gt&&(w.hasBezier||w.hasUnbundled)){w.calculatedIntersection=!0;var Be=n.intersectLine(Xt.x,Xt.y,Zt,Qt,Yt.x,Yt.y,0);w.srcIntn=Be;var Ve=o.intersectLine(Yt.x,Yt.y,Kt,Jt,Xt.x,Xt.y,0);w.tgtIntn=Ve;var Fe={x1:Be[0],x2:Ve[0],y1:Be[1],y2:Ve[1]},Ue={x1:Xt.x,x2:Yt.x,y1:Xt.y,y2:Yt.y},He=Ve[1]-Be[1],We=Ve[0]-Be[0],Ge=Math.sqrt(We*We+He*He),Xe={x:We,y:He},Ye={x:Xe.x/Ge,y:Xe.y/Ge};a={x:-Ye.y,y:Ye.x},o.checkPoint(Be[0],Be[1],0,Kt,Jt,Yt.x,Yt.y)&&n.checkPoint(Ve[0],Ve[1],0,Zt,Qt,Xt.x,Xt.y)&&(a={},s=!0)}if(z?(Ut.srcIntn=w.tgtIntn,Ut.tgtIntn=w.srcIntn):(Ut.srcIntn=w.srcIntn,Ut.tgtIntn=w.tgtIntn),Wt===Gt){Ut.edgeType="self";var Ze=f,Ke=U;g&&(Ze=0,Ke=H);var Qe=q-Math.PI/2,Je=Qe-B/2,et=Qe+B/2,tt=String(q+"_"+B);Ze=void 0===_[tt]?_[tt]=0:++_[tt],Ut.ctrlpts=[Xt.x+1.4*Math.cos(Je)*Ke*(Ze/3+1),Xt.y+1.4*Math.sin(Je)*Ke*(Ze/3+1),Xt.x+1.4*Math.cos(et)*Ke*(Ze/3+1),Xt.y+1.4*Math.sin(et)*Ke*(Ze/3+1)]}else if(c&&(Wt.isParent()||Wt.isChild()||Gt.isParent()||Gt.isChild())&&(Wt.parents().anySame(Gt)||Gt.parents().anySame(Wt))){Ut.edgeType="compound",Ut.badBezier=!1;Ze=f,Ke=U;g&&(Ze=0,Ke=H);var nt={x:Xt.x-Zt/2,y:Xt.y-Qt/2},rt={x:Yt.x-Kt/2,y:Yt.y-Jt/2},it={x:Math.min(nt.x,rt.x),y:Math.min(nt.y,rt.y)},ot=Math.max(.5,Math.log(.01*Zt)),at=Math.max(.5,Math.log(.01*Kt));Ut.ctrlpts=[it.x,it.y-(1+Math.pow(50,1.12)/100)*Ke*(Ze/3+1)*ot,it.x-(1+Math.pow(50,1.12)/100)*Ke*(Ze/3+1)*at,it.y]}else if("segments"===j){Ut.edgeType="segments",Ut.segpts=[];for(var st=0;st<Z;st++){var lt=X.pfValue[st],ct=Y.pfValue[st],ut=1-lt,dt=lt,pt={x:(yt="node-position"===G?Ue:Fe).x1*ut+yt.x2*dt,y:yt.y1*ut+yt.y2*dt};Ut.segpts.push(pt.x+a.x*ct,pt.y+a.y*ct)}}else if(w.length%2!=1||f!==Math.floor(w.length/2)||g){var ft=g;Ut.edgeType=ft?"multibezier":"bezier",Ut.ctrlpts=[];for(var ht=0;ht<F;ht++){var gt,mt=(.5-w.length/2+f)*U,vt=r.signum(mt);ft&&(H=L?L.pfValue[ht]:U,W=V.value[ht]);var bt=void 0!==(gt=g?H:void 0!==H?vt*H:void 0)?gt:mt;ut=1-W,dt=W;if(z){k=ut;ut=dt,dt=k}var yt;pt={x:(yt="node-position"===G?Ue:Fe).x1*ut+yt.x2*dt,y:yt.y1*ut+yt.y2*dt};Ut.ctrlpts.push(pt.x+a.x*bt,pt.y+a.y*bt)}}else Ut.edgeType="straight";this.findEndpoints(Bt);var xt=!i.number(Ut.startX)||!i.number(Ut.startY),wt=!i.number(Ut.arrowStartX)||!i.number(Ut.arrowStartY),kt=!i.number(Ut.endX)||!i.number(Ut.endY),_t=!i.number(Ut.arrowEndX)||!i.number(Ut.arrowEndY),$t=3*(this.getArrowWidth(Bt.pstyle("width").pfValue,Bt.pstyle("arrow-scale").value)*this.arrowShapeWidth);if("bezier"===Ut.edgeType){var Et=r.dist({x:Ut.ctrlpts[0],y:Ut.ctrlpts[1]},{x:Ut.startX,y:Ut.startY}),St=Et<$t,Ct=r.dist({x:Ut.ctrlpts[0],y:Ut.ctrlpts[1]},{x:Ut.endX,y:Ut.endY}),Tt=Ct<$t,At=!1;if(xt||wt||St){At=!0;var Pt={x:Ut.ctrlpts[0]-Xt.x,y:Ut.ctrlpts[1]-Xt.y},Ot=Math.sqrt(Pt.x*Pt.x+Pt.y*Pt.y),Rt={x:Pt.x/Ot,y:Pt.y/Ot},jt=Math.max(Zt,Qt),Dt={x:Ut.ctrlpts[0]+2*Rt.x*jt,y:Ut.ctrlpts[1]+2*Rt.y*jt},It=n.intersectLine(Xt.x,Xt.y,Zt,Qt,Dt.x,Dt.y,0);St?(Ut.ctrlpts[0]=Ut.ctrlpts[0]+Rt.x*($t-Et),Ut.ctrlpts[1]=Ut.ctrlpts[1]+Rt.y*($t-Et)):(Ut.ctrlpts[0]=It[0]+Rt.x*$t,Ut.ctrlpts[1]=It[1]+Rt.y*$t)}if(kt||_t||Tt){At=!0;Pt={x:Ut.ctrlpts[0]-Yt.x,y:Ut.ctrlpts[1]-Yt.y},Ot=Math.sqrt(Pt.x*Pt.x+Pt.y*Pt.y),Rt={x:Pt.x/Ot,y:Pt.y/Ot},jt=Math.max(Zt,Qt),Dt={x:Ut.ctrlpts[0]+2*Rt.x*jt,y:Ut.ctrlpts[1]+2*Rt.y*jt};var Nt=o.intersectLine(Yt.x,Yt.y,Kt,Jt,Dt.x,Dt.y,0);Tt?(Ut.ctrlpts[0]=Ut.ctrlpts[0]+Rt.x*($t-Ct),Ut.ctrlpts[1]=Ut.ctrlpts[1]+Rt.y*($t-Ct)):(Ut.ctrlpts[0]=Nt[0]+Rt.x*$t,Ut.ctrlpts[1]=Nt[1]+Rt.y*$t)}At&&this.findEndpoints(Bt)}if("multibezier"===Ut.edgeType||"bezier"===Ut.edgeType||"self"===Ut.edgeType||"compound"===Ut.edgeType){Ut.allpts=[],Ut.allpts.push(Ut.startX,Ut.startY);for(ht=0;ht+1<Ut.ctrlpts.length;ht+=2)Ut.allpts.push(Ut.ctrlpts[ht],Ut.ctrlpts[ht+1]),ht+3<Ut.ctrlpts.length&&Ut.allpts.push((Ut.ctrlpts[ht]+Ut.ctrlpts[ht+2])/2,(Ut.ctrlpts[ht+1]+Ut.ctrlpts[ht+3])/2);var Mt,zt;Ut.allpts.push(Ut.endX,Ut.endY),Ut.ctrlpts.length/2%2==0?(Mt=Ut.allpts.length/2-1,Ut.midX=Ut.allpts[Mt],Ut.midY=Ut.allpts[Mt+1]):(Mt=Ut.allpts.length/2-3,zt=.5,Ut.midX=r.qbezierAt(Ut.allpts[Mt],Ut.allpts[Mt+2],Ut.allpts[Mt+4],zt),Ut.midY=r.qbezierAt(Ut.allpts[Mt+1],Ut.allpts[Mt+3],Ut.allpts[Mt+5],zt))}else if("straight"===Ut.edgeType)Ut.allpts=[Ut.startX,Ut.startY,Ut.endX,Ut.endY],Ut.midX=(Ut.startX+Ut.endX+Ut.arrowStartX+Ut.arrowEndX)/4,Ut.midY=(Ut.startY+Ut.endY+Ut.arrowStartY+Ut.arrowEndY)/4;else if("segments"===Ut.edgeType)if(Ut.allpts=[],Ut.allpts.push(Ut.startX,Ut.startY),Ut.allpts.push.apply(Ut.allpts,Ut.segpts),Ut.allpts.push(Ut.endX,Ut.endY),Ut.segpts.length%4==0){var Lt=Ut.segpts.length/2,qt=Lt-2;Ut.midX=(Ut.segpts[qt]+Ut.segpts[Lt])/2,Ut.midY=(Ut.segpts[qt+1]+Ut.segpts[Lt+1])/2}else{qt=Ut.segpts.length/2-1;Ut.midX=Ut.segpts[qt],Ut.midY=Ut.segpts[qt+1]}this.storeEdgeProjections(Bt),this.calculateArrowAngles(Bt)}this.recalculateEdgeLabelProjections(Bt),this.calculateLabelAngles(Bt)}}for(f=0;f<p.length;f++){var Bt,Vt,Ft=(Vt=(Bt=p[f])._private).rscratch,Ut=Ft;if(!Ft.haystack){var Ht=2*Math.random()*Math.PI;Ft.source={x:Math.cos(Ht),y:Math.sin(Ht)};Ht=2*Math.random()*Math.PI;Ft.target={x:Math.cos(Ht),y:Math.sin(Ht)}}var Wt=Vt.source,Gt=Vt.target,Xt=Wt.position(),Yt=Gt.position(),Zt=Wt.width(),Kt=Gt.width(),Qt=Wt.height(),Jt=Gt.height(),en=(jt=Bt.pstyle("haystack-radius").value)/2;Ut.haystackPts=Ut.allpts=[Ut.source.x*Zt*en+Xt.x,Ut.source.y*Qt*en+Xt.y,Ut.target.x*Kt*en+Yt.x,Ut.target.y*Jt*en+Yt.y],Ut.midX=(Ut.allpts[0]+Ut.allpts[2])/2,Ut.midY=(Ut.allpts[1]+Ut.allpts[3])/2,Ft.edgeType=Ft.lastCurveStyle="haystack",Ft.haystack=!0,this.storeEdgeProjections(Bt),this.calculateArrowAngles(Bt),this.recalculateEdgeLabelProjections(Bt),this.calculateLabelAngles(Bt)}}},o.getSegmentPoints=function(e){var t=e[0]._private.rscratch;if("segments"===t.edgeType)return a(t.segpts)},o.getControlPoints=function(e){var t=e[0]._private.rscratch,n=t.edgeType;if("bezier"===n||"multibezier"===n||"self"===n||"compound"===n)return a(t.ctrlpts)},o.getEdgeMidpoint=function(e){var t=e[0]._private.rscratch;return{x:t.midX,y:t.midY}},e.exports=o},function(e,t,n){"use strict";var r=n(2),i=n(0),o={manualEndptToPx:function(e,t){var n=e.position(),r=e.outerWidth(),i=e.outerHeight();if(2===t.value.length){var o=[t.pfValue[0],t.pfValue[1]];return"%"===t.units[0]&&(o[0]=o[0]*r),"%"===t.units[1]&&(o[1]=o[1]*i),o[0]+=n.x,o[1]+=n.y,o}var a=t.pfValue[0];a=-Math.PI/2+a;var s=2*Math.max(r,i),l=[n.x+Math.cos(a)*s,n.y+Math.sin(a)*s];return this.nodeShapes[this.getNodeShape(e)].intersectLine(n.x,n.y,r,i,l[0],l[1],0)},findEndpoints:function(e){var t=this,n=void 0,o=e.source()[0],a=e.target()[0],s=o.position(),l=a.position(),c=e.pstyle("target-arrow-shape").value,u=e.pstyle("source-arrow-shape").value,d=e.pstyle("target-distance-from-node").pfValue,p=e.pstyle("source-distance-from-node").pfValue,f=e._private.rscratch,h=f.edgeType,g="self"===h||"compound"===h,m="bezier"===h||"multibezier"===h||g,v="bezier"!==h,b="straight"===h||"segments"===h,y="segments"===h,x=m||v||b,w=e.pstyle("source-endpoint"),k=g?"outside-to-node":w.value,_=e.pstyle("target-endpoint"),$=g?"outside-to-node":_.value;f.srcManEndpt=w,f.tgtManEndpt=_;var E=void 0,S=void 0,C=void 0,T=void 0;if(m){var A=[f.ctrlpts[0],f.ctrlpts[1]];E=v?[f.ctrlpts[f.ctrlpts.length-2],f.ctrlpts[f.ctrlpts.length-1]]:A,S=A}else if(b){var P=y?f.segpts.slice(0,2):[l.x,l.y];E=y?f.segpts.slice(f.segpts.length-2):[s.x,s.y],S=P}"inside-to-node"===$?n=[l.x,l.y]:_.units?n=this.manualEndptToPx(a,_):"outside-to-line"===$?n=f.tgtIntn:("outside-to-node"===$?C=E:"outside-to-line"===$&&(C=[s.x,s.y]),n=t.nodeShapes[this.getNodeShape(a)].intersectLine(l.x,l.y,a.outerWidth(),a.outerHeight(),C[0],C[1],0));var O=r.shortenIntersection(n,E,t.arrowShapes[c].spacing(e)+d),R=r.shortenIntersection(n,E,t.arrowShapes[c].gap(e)+d);e.hasClass("horizontal")?(f.endX=n[0]-d,f.endY=n[1],f.arrowEndX=n[0]-d/2,f.arrowEndY=n[1]):e.hasClass("vertical")?(f.endX=n[0],f.endY=n[1]-d,f.arrowEndX=n[0],f.arrowEndY=n[1]-d/2):(f.endX=R[0],f.endY=R[1],f.arrowEndX=O[0],f.arrowEndY=O[1]),"inside-to-node"===k?n=[s.x,s.y]:w.units?n=this.manualEndptToPx(o,w):"outside-to-line"===k?n=f.srcIntn:("outside-to-node"===k?T=S:"outside-to-line"===k&&(T=[l.x,l.y]),n=t.nodeShapes[this.getNodeShape(o)].intersectLine(s.x,s.y,o.outerWidth(),o.outerHeight(),T[0],T[1],0));var j=r.shortenIntersection(n,S,t.arrowShapes[u].spacing(e)+p),D=r.shortenIntersection(n,S,t.arrowShapes[u].gap(e)+p);f.startX=D[0],f.startY=D[1],f.arrowStartX=j[0],f.arrowStartY=j[1],x&&(i.number(f.startX)&&i.number(f.startY)&&i.number(f.endX)&&i.number(f.endY)?f.badLine=!1:f.badLine=!0)},getSourceEndpoint:function(e){var t=e[0]._private.rscratch;switch(t.edgeType){case"haystack":return{x:t.haystackPts[0],y:t.haystackPts[1]};default:return{x:t.arrowStartX,y:t.arrowStartY}}},getTargetEndpoint:function(e){var t=e[0]._private.rscratch;switch(t.edgeType){case"haystack":return{x:t.haystackPts[2],y:t.haystackPts[3]};default:return{x:t.arrowEndX,y:t.arrowEndY}}}};e.exports=o},function(e,t,n){"use strict";var r=n(2),i={};function o(e,t,n){for(var i=function(e,t,n,i){return r.qbezierAt(e,t,n,i)},o=t._private.rstyle.bezierPts,a=0;a<e.bezierProjPcts.length;a++){var s=e.bezierProjPcts[a];o.push({x:i(n[0],n[2],n[4],s),y:i(n[1],n[3],n[5],s)})}}i.storeEdgeProjections=function(e){var t=e._private,n=t.rscratch,r=n.edgeType;if(t.rstyle.bezierPts=null,t.rstyle.linePts=null,t.rstyle.haystackPts=null,"multibezier"===r||"bezier"===r||"self"===r||"compound"===r){t.rstyle.bezierPts=[];for(var i=0;i+5<n.allpts.length;i+=4)o(this,e,n.allpts.slice(i,i+6))}else if("segments"===r){var a=t.rstyle.linePts=[];for(i=0;i+1<n.allpts.length;i+=2)a.push({x:n.allpts[i],y:n.allpts[i+1]})}else if("haystack"===r){var s=n.haystackPts;t.rstyle.haystackPts=[{x:s[0],y:s[1]},{x:s[2],y:s[3]}]}t.rstyle.arrowWidth=this.getArrowWidth(e.pstyle("width").pfValue,e.pstyle("arrow-scale").value)*this.arrowShapeWidth},i.recalculateEdgeProjections=function(e){this.findEdgeControlPoints(e)},e.exports=i},function(e,t,n){"use strict";var r=n(2),i=n(0),o=n(1),a={recalculateNodeLabelProjection:function(e){var t=e.pstyle("label").strValue;if(!i.emptyString(t)){var n,r,o=e._private,a=e.width(),s=e.height(),l=e.padding(),c=e.position(),u=e.pstyle("text-halign").strValue,d=e.pstyle("text-valign").strValue,p=o.rscratch,f=o.rstyle;switch(u){case"left":n=c.x-a/2-l;break;case"right":n=c.x+a/2+l;break;default:n=c.x}switch(d){case"top":r=c.y-s/2-l;break;case"bottom":r=c.y+s/2+l;break;default:r=c.y}p.labelX=n,p.labelY=r,f.labelX=n,f.labelY=r,this.applyLabelDimensions(e)}}};a.recalculateEdgeLabelProjections=function(e){var t,n=e._private,i=n.rscratch,a=this,s={mid:e.pstyle("label").strValue,source:e.pstyle("source-label").strValue,target:e.pstyle("target-label").strValue};if(s.mid||s.source||s.target){t={x:i.midX,y:i.midY};var l=function(e,t,r){o.setPrefixedProperty(n.rscratch,e,t,r),o.setPrefixedProperty(n.rstyle,e,t,r)};l("labelX",null,t.x),l("labelY",null,t.y);var c=function(o){var c,u="source"===o;if(s[o]){var d=e.pstyle(o+"-text-offset").pfValue,p=function(e,t){var n=t.x-e.x,r=t.y-e.y;return Math.atan(r/n)};switch(i.edgeType){case"self":case"compound":case"bezier":case"multibezier":for(var f,h=function e(){if(e.cache)return e.cache;for(var t=[],o=0;o+5<i.allpts.length;o+=4){var s={x:i.allpts[o],y:i.allpts[o+1]},l={x:i.allpts[o+2],y:i.allpts[o+3]},c={x:i.allpts[o+4],y:i.allpts[o+5]};t.push({p0:s,p1:l,p2:c,startDist:0,length:0,segments:[]})}var u=n.rstyle.bezierPts,d=a.bezierProjPcts.length;function p(e,t,n,i,o){var a=r.dist(t,n),s=e.segments[e.segments.length-1],l={p0:t,p1:n,t0:i,t1:o,startDist:s?s.startDist+s.length:0,length:a};e.segments.push(l),e.length+=a}for(o=0;o<t.length;o++){var f=t[o],h=t[o-1];h&&(f.startDist=h.startDist+h.length),p(f,f.p0,u[o*d],0,a.bezierProjPcts[0]);for(var g=0;g<d-1;g++)p(f,u[o*d+g],u[o*d+g+1],a.bezierProjPcts[g],a.bezierProjPcts[g+1]);p(f,u[o*d+d-1],f.p2,a.bezierProjPcts[d-1],1)}return e.cache=t}(),g=0,m=0,v=0;v<h.length;v++){for(var b=h[u?v:h.length-1-v],y=0;y<b.segments.length;y++){var x=b.segments[u?y:b.segments.length-1-y],w=v===h.length-1&&y===b.segments.length-1;if(g=m,(m+=x.length)>=d||w){f={cp:b,segment:x};break}}if(f)break}b=f.cp;var k=(d-g)/(x=f.segment).length,_=x.t1-x.t0,$=u?x.t0+_*k:x.t1-_*k;$=r.bound(0,$,1),t=r.qbezierPtAt(b.p0,b.p1,b.p2,$),c=function(e,t,n,i){var o=r.bound(0,i-.001,1),a=r.bound(0,i+.001,1),s=r.qbezierPtAt(e,t,n,o),l=r.qbezierPtAt(e,t,n,a);return p(s,l)}(b.p0,b.p1,b.p2,$);break;case"straight":case"segments":case"haystack":var E,S,C,T,A=0,P=i.allpts.length;for(v=0;v+3<P&&(u?(C={x:i.allpts[v],y:i.allpts[v+1]},T={x:i.allpts[v+2],y:i.allpts[v+3]}):(C={x:i.allpts[P-2-v],y:i.allpts[P-1-v]},T={x:i.allpts[P-4-v],y:i.allpts[P-3-v]}),S=A,!((A+=E=r.dist(C,T))>=d));v+=2);$=(d-S)/E;$=r.bound(0,$,1),t=r.lineAt(C,T,$),c=p(C,T)}l("labelX",o,t.x),l("labelY",o,t.y),l("labelAutoAngle",o,c)}};c("source"),c("target"),this.applyLabelDimensions(e)}},a.applyLabelDimensions=function(e){this.applyPrefixedLabelDimensions(e),e.isEdge()&&(this.applyPrefixedLabelDimensions(e,"source"),this.applyPrefixedLabelDimensions(e,"target"))},a.applyPrefixedLabelDimensions=function(e,t){var n=e._private,r=this.getLabelText(e,t),i=this.calculateLabelDimensions(e,r);o.setPrefixedProperty(n.rstyle,"labelWidth",t,i.width),o.setPrefixedProperty(n.rscratch,"labelWidth",t,i.width),o.setPrefixedProperty(n.rstyle,"labelHeight",t,i.height),o.setPrefixedProperty(n.rscratch,"labelHeight",t,i.height)},a.getLabelText=function(e,t){var n=e._private,r=t?t+"-":"",i=e.pstyle(r+"label").strValue,a=e.pstyle("text-transform").value,s=function(e,r){return r?(o.setPrefixedProperty(n.rscratch,e,t,r),r):o.getPrefixedProperty(n.rscratch,e,t)};"none"==a||("uppercase"==a?i=i.toUpperCase():"lowercase"==a&&(i=i.toLowerCase()));var l=e.pstyle("text-wrap").value;if("wrap"===l){var c=s("labelKey");if(c&&s("labelWrapKey")===c)return s("labelWrapCachedText");for(var u=i.split("\n"),d=e.pstyle("text-max-width").pfValue,p=[],f=0;f<u.length;f++){var h=u[f];if(this.calculateLabelDimensions(e,h,"line="+h).width>d){for(var g=h.split(/\s+/),m="",v=0;v<g.length;v++){var b=g[v],y=0===m.length?b:m+" "+b;this.calculateLabelDimensions(e,y,"testLine="+y).width<=d?m+=b+" ":(p.push(m),m=b+" ")}m.match(/^\s+$/)||p.push(m)}else p.push(h)}s("labelWrapCachedLines",p),i=s("labelWrapCachedText",p.join("\n")),s("labelWrapKey",c)}else if("ellipsis"===l){d=e.pstyle("text-max-width").pfValue;for(var x="",w=!1,k=0;k<i.length;k++){if(this.calculateLabelDimensions(e,x+i[k]+"…").width>d)break;x+=i[k],k===i.length-1&&(w=!0)}return w||(x+="…"),x}return i},a.calculateLabelDimensions=function(e,t,n){var r=e._private.labelStyleKey+"$@$"+t;n&&(r+="$@$"+n);var i=this.labelDimCache||(this.labelDimCache={});if(i[r])return i[r];var o=e.pstyle("font-style").strValue,a=1*e.pstyle("font-size").pfValue+"px",s=e.pstyle("font-family").strValue,l=e.pstyle("font-weight").strValue,c=this.labelCalcDiv;c||(c=this.labelCalcDiv=document.createElement("div"),document.body.appendChild(c));var u=c.style;return u.fontFamily=s,u.fontStyle=o,u.fontSize=a,u.fontWeight=l,u.position="absolute",u.left="-9999px",u.top="-9999px",u.zIndex="-1",u.visibility="hidden",u.pointerEvents="none",u.padding="0",u.lineHeight="1","wrap"===e.pstyle("text-wrap").value?u.whiteSpace="pre":u.whiteSpace="normal",c.textContent=t,i[r]={width:Math.ceil(c.clientWidth/1),height:Math.ceil(c.clientHeight/1)},i[r]},a.calculateLabelAngles=function(e){var t=e._private.rscratch,n=e.isEdge(),r=e.pstyle("text-rotation"),i=r.strValue;"none"===i?t.labelAngle=t.sourceLabelAngle=t.targetLabelAngle=0:n&&"autorotate"===i?(t.labelAngle=Math.atan(t.midDispY/t.midDispX),t.sourceLabelAngle=t.sourceLabelAutoAngle,t.targetLabelAngle=t.targetLabelAutoAngle):t.labelAngle=t.sourceLabelAngle=t.targetLabelAngle="autorotate"===i?0:r.pfValue},e.exports=a},function(e,t,n){"use strict";var r={getNodeShape:function(e){var t=e.pstyle("shape").value;if(e.isParent())return"rectangle"===t||"roundrectangle"===t||"cutrectangle"===t||"barrel"===t?t:"rectangle";if("polygon"===t){var n=e.pstyle("shape-polygon-points").value;return this.nodeShapes.makePolygon(n).name}return t}};e.exports=r},function(e,t,n){"use strict";var r={registerCalculationListeners:function(){var e=this.cy,t=e.collection(),n=this,r=function(e,n){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];t.merge(e);for(var i=0;i<e.length;i++){var o=e[i]._private,a=o.rstyle;r&&(a.clean=!1,o.bbCache=null);var s=a.dirtyEvents=a.dirtyEvents||{length:0};s[n.type]||(s[n.type]=!0,s.length++)}};n.binder(e).on("position.* style.* free.* bounds.*","node",function(e){var t=e.target;r(t,e),r(t.connectedEdges(),e)}).on("add.*","node",function(e){var t=e.target;r(t,e)}).on("background.*","node",function(e){var t=e.target;r(t,e,!1)}).on("add.* style.*","edge",function(e){var t=e.target;r(t,e),r(t.parallelEdges(),e)}).on("remove.*","edge",function(e){for(var t=e.target.parallelEdges(),n=0;n<t.length;n++){var i=t[n];i.removed()||r(i,e)}}).on("dirty.*","node",function(e){var t=e.target;r(t,e)});n.beforeRender(function(r){if(r){var i=n.onUpdateEleCalcsFns;if(i)for(var o=0;o<i.length;o++)(0,i[o])(r,t);for(n.recalculateRenderedStyle(t,!1),o=0;o<t.length;o++)t[o]._private.rstyle.dirtyEvents=null;t=e.collection()}},n.beforeRenderPriorities.eleCalcs)},onUpdateEleCalcs:function(e){(this.onUpdateEleCalcsFns=this.onUpdateEleCalcsFns||[]).push(e)},recalculateRenderedStyle:function(e,t){var n=[],r=[];if(!this.destroyed){void 0===t&&(t=!0);for(var i=0;i<e.length;i++){var o=(l=(s=e[i])._private).rstyle;t&&o.clean||s.removed()||"none"!==s.pstyle("display").value&&("nodes"===l.group?r.push(s):n.push(s),o.clean=!0)}for(i=0;i<r.length;i++){o=(l=(s=r[i])._private).rstyle;var a=s.position();this.recalculateNodeLabelProjection(s),o.nodeX=a.x,o.nodeY=a.y,o.nodeW=s.pstyle("width").pfValue,o.nodeH=s.pstyle("height").pfValue}this.recalculateEdgeProjections(n);for(i=0;i<n.length;i++){o=(l=(s=n[i])._private).rstyle;var s,l,c=l.rscratch;this.recalculateEdgeLabelProjections(s),o.srcX=c.arrowStartX,o.srcY=c.arrowStartY,o.tgtX=c.arrowEndX,o.tgtY=c.arrowEndY,o.midX=c.midX,o.midY=c.midY,o.labelAngle=c.labelAngle,o.sourceLabelAngle=c.sourceLabelAngle,o.targetLabelAngle=c.targetLabelAngle}}}};e.exports=r},function(e,t,n){"use strict";var r=n(17),i={updateCachedGrabbedEles:function(){var e=this.cachedZSortedEles;if(e){e.drag=[],e.nondrag=[];for(var t=[],n=0;n<e.length;n++){var r=(i=e[n])._private.rscratch;i.grabbed()&&!i.isParent()?t.push(i):r.inDragLayer?e.drag.push(i):e.nondrag.push(i)}for(n=0;n<t.length;n++){var i=t[n];e.drag.push(i)}}},invalidateCachedZSortedEles:function(){this.cachedZSortedEles=null},getCachedZSortedEles:function(e){if(e||!this.cachedZSortedEles){var t=this.cy.mutableElements().toArray();t.sort(r),t.interactive=t.filter(function(e){return e.interactive()}),this.cachedZSortedEles=t,this.updateCachedGrabbedEles()}else t=this.cachedZSortedEles;return t}};e.exports=i},function(e,t,n){"use strict";var r={getCachedImage:function(e,t,n){var r=this.imageCache=this.imageCache||{},i=r[e];if(i)return i.image.complete||i.image.addEventListener("load",n),i.image;var o=(i=r[e]=r[e]||{}).image=new Image;o.addEventListener("load",n),o.addEventListener("error",function(){o.error=!0});return"data:"===e.substring(0,"data:".length).toLowerCase()||(o.crossOrigin=t),o.src=e,o}};e.exports=r},function(e,t,n){"use strict";var r=n(0),i=n(1),o=n(2),a=(n(16),{registerBinding:function(e,t,n,r){var i=Array.prototype.slice.apply(arguments,[1]),o=this.binder(e);return o.on.apply(o,i)},binder:function(e){var t=this,n=e===window||e===document||e===document.body||r.domElement(e);if(null==t.supportsPassiveEvents){var i=!1;try{var o=Object.defineProperty({},"passive",{get:function(){i=!0}});window.addEventListener("test",null,o)}catch(e){}t.supportsPassiveEvents=i}var a=function(r,i,o){var a=Array.prototype.slice.call(arguments);return n&&t.supportsPassiveEvents&&(a[2]={capture:null!=o&&o,passive:!1,once:!1}),t.bindings.push({target:e,args:a}),(e.addEventListener||e.on).apply(e,a),this};return{on:a,addEventListener:a,addListener:a,bind:a}},nodeIsDraggable:function(e){return e&&e.isNode()&&!e.locked()&&e.grabbable()},nodeIsGrabbable:function(e){return this.nodeIsDraggable(e)&&e.interactive()}});a.load=function(){var e=this,t=function(t,n,r,o){null==t&&(t=e.cy);for(var a=0;a<n.length;a++){var s=n[a];t.emit(i.extend({originalEvent:r,type:s},o))}},n=function(e){return e.shiftKey||e.metaKey||e.ctrlKey},a=function(t,n){var r=!0;if(e.cy.hasCompoundNodes()&&t&&t.isEdge())for(var i=0;n&&i<n.length;i++){if((t=n[i]).isNode()&&t.isParent()){r=!1;break}}else r=!0;return r},s=function(e){e[0]._private.rscratch.inDragLayer=!0},l=function(e){e[0]._private.rscratch.isGrabTarget=!0},c=function(t,n){var r=function(t){var n;if(t.addToList&&e.cy.hasCompoundNodes()){if(!t.addToList.hasId){t.addToList.hasId={};for(var r=0;r<t.addToList.length;r++){var i=t.addToList[r];t.addToList.hasId[i.id()]=!0}}n=t.addToList.hasId}return n||{}}(n);r[t.id()]||(n.addToList.push(t),r[t.id()]=!0,function(e){e[0]._private.grabbed=!0}(t))},u=function(t,n){n=n||{};var r=t.cy().hasCompoundNodes();n.inDragLayer&&(t.forEach(s),t.neighborhood().stdFilter(function(e){return!r||e.isEdge()}).forEach(s)),n.addToList&&t.forEach(function(e){c(e,n)}),function(e,t){if(e.cy().hasCompoundNodes()&&(null!=t.inDragLayer||null!=t.addToList)){var n=e.descendants();t.inDragLayer&&(n.forEach(s),n.connectedEdges().forEach(s)),t.addToList&&n.forEach(function(e){c(e,t)})}}(t,n),f(t,{inDragLayer:n.inDragLayer}),e.updateCachedGrabbedEles()},d=u,p=function(t){t&&(t.hasId={},e.getCachedZSortedEles().forEach(function(e){!function(e){e[0]._private.grabbed=!1}(e),function(e){e[0]._private.rscratch.inDragLayer=!1}(e),function(e){e[0]._private.rscratch.isGrabTarget=!1}(e)}),e.updateCachedGrabbedEles())},f=function(e,t){if((null!=t.inDragLayer||null!=t.addToList)&&e.cy().hasCompoundNodes()){var n=e.ancestors().orphans();if(!n.same(e)){var r=n.descendants().spawnSelf().merge(n).unmerge(e).unmerge(e.descendants()),i=r.connectedEdges();t.inDragLayer&&(i.forEach(s),r.forEach(s)),t.addToList&&r.forEach(function(e){c(e,t)})}}},h="undefined"!=typeof MutationObserver;h?(e.removeObserver=new MutationObserver(function(t){for(var n=0;n<t.length;n++){var r=t[n].removedNodes;if(r)for(var i=0;i<r.length;i++){if(r[i]===e.container){e.destroy();break}}}}),e.container.parentNode&&e.removeObserver.observe(e.container.parentNode,{childList:!0})):e.registerBinding(e.container,"DOMNodeRemoved",function(t){e.destroy()});var g=i.debounce(function(){e.cy.resize()},100);h&&(e.styleObserver=new MutationObserver(g),e.styleObserver.observe(e.container,{attributes:!0})),e.registerBinding(window,"resize",g);var m=function(){e.invalidateContainerClientCoordsCache()};!function(e,t){for(;null!=e;)t(e),e=e.parentNode}(e.container,function(t){e.registerBinding(t,"transitionend",m),e.registerBinding(t,"animationend",m),e.registerBinding(t,"scroll",m)}),e.registerBinding(e.container,"contextmenu",function(e){e.preventDefault()});var v=function(t){for(var n=e.findContainerClientCoords(),r=n[0],i=n[1],o=n[2],a=n[3],s=t.touches?t.touches:[t],l=!1,c=0;c<s.length;c++){var u=s[c];if(r<=u.clientX&&u.clientX<=r+o&&i<=u.clientY&&u.clientY<=i+a){l=!0;break}}if(!l)return!1;for(var d=e.container,p=t.target.parentNode,f=!1;p;){if(p===d){f=!0;break}p=p.parentNode}return!!f};e.registerBinding(e.container,"mousedown",function(n){if(v(n)){n.preventDefault(),e.hoverData.capture=!0,e.hoverData.which=n.which;var r=e.cy,i=[n.clientX,n.clientY],o=e.projectIntoViewport(i[0],i[1]),a=e.selection,s=e.findNearestElements(o[0],o[1],!0,!1),c=s[0],p=e.dragData.possibleDragElements;e.hoverData.mdownPos=o,e.hoverData.mdownGPos=i;if(3==n.which){e.hoverData.cxtStarted=!0;var f={originalEvent:n,type:"cxttapstart",position:{x:o[0],y:o[1]}};c?(c.activate(),c.emit(f),e.hoverData.down=c):r.emit(f),e.hoverData.downTime=(new Date).getTime(),e.hoverData.cxtDragged=!1}else if(1==n.which){if(c&&c.activate(),null!=c&&e.nodeIsGrabbable(c)){var h=function(e){return{originalEvent:n,type:e,position:{x:o[0],y:o[1]}}};if(l(c),c.selected()){p=e.dragData.possibleDragElements=[];var g=r.$(function(t){return t.isNode()&&t.selected()&&e.nodeIsGrabbable(t)});u(g,{addToList:p}),c.emit(h("grabon")),g.forEach(function(e){e.emit(h("grab"))})}else p=e.dragData.possibleDragElements=[],d(c,{addToList:p}),c.emit(h("grabon")).emit(h("grab"));e.redrawHint("eles",!0),e.redrawHint("drag",!0)}e.hoverData.down=c,e.hoverData.downs=s,e.hoverData.downTime=(new Date).getTime(),t(c,["mousedown","tapstart","vmousedown"],n,{position:{x:o[0],y:o[1]}}),null==c?(a[4]=1,e.data.bgActivePosistion={x:o[0],y:o[1]},e.redrawHint("select",!0),e.redraw()):c.isEdge()&&(a[4]=1),e.hoverData.tapholdCancelled=!1,clearTimeout(e.hoverData.tapholdTimeout),e.hoverData.tapholdTimeout=setTimeout(function(){if(!e.hoverData.tapholdCancelled){var t=e.hoverData.down;t?t.emit({originalEvent:n,type:"taphold",position:{x:o[0],y:o[1]}}):r.emit({originalEvent:n,type:"taphold",position:{x:o[0],y:o[1]}})}},e.tapholdDuration)}a[0]=a[2]=o[0],a[1]=a[3]=o[1]}},!1),e.registerBinding(window,"mousemove",function(i){if(e.hoverData.capture||v(i)){var s=!1,l=e.cy,c=l.zoom(),d=[i.clientX,i.clientY],f=e.projectIntoViewport(d[0],d[1]),h=e.hoverData.mdownPos,g=e.hoverData.mdownGPos,m=e.selection,b=null;e.hoverData.draggingEles||e.hoverData.dragging||e.hoverData.selecting||(b=e.findNearestElement(f[0],f[1],!0,!1));var y,x=e.hoverData.last,w=e.hoverData.down,k=[f[0]-m[2],f[1]-m[3]],_=e.dragData.possibleDragElements;if(g){var $=d[0]-g[0],E=$*$,S=d[1]-g[1],C=E+S*S;e.hoverData.isOverThresholdDrag=y=C>=e.desktopTapThreshold2}var T=n(i);y&&(e.hoverData.tapholdCancelled=!0);s=!0,t(b,["mousemove","vmousemove","tapdrag"],i,{position:{x:f[0],y:f[1]}});var A=function(){e.data.bgActivePosistion=void 0,e.hoverData.selecting||l.emit("boxstart"),m[4]=1,e.hoverData.selecting=!0,e.redrawHint("select",!0),e.redraw()};if(3===e.hoverData.which){if(y){var P={originalEvent:i,type:"cxtdrag",position:{x:f[0],y:f[1]}};w?w.emit(P):l.emit(P),e.hoverData.cxtDragged=!0,e.hoverData.cxtOver&&b===e.hoverData.cxtOver||(e.hoverData.cxtOver&&e.hoverData.cxtOver.emit({originalEvent:i,type:"cxtdragout",position:{x:f[0],y:f[1]}}),e.hoverData.cxtOver=b,b&&b.emit({originalEvent:i,type:"cxtdragover",position:{x:f[0],y:f[1]}}))}}else if(e.hoverData.dragging){if(s=!0,l.panningEnabled()&&l.userPanningEnabled()){var O;if(e.hoverData.justStartedPan){var R=e.hoverData.mdownPos;O={x:(f[0]-R[0])*c,y:(f[1]-R[1])*c},e.hoverData.justStartedPan=!1}else O={x:k[0]*c,y:k[1]*c};l.panBy(O),e.hoverData.dragged=!0}f=e.projectIntoViewport(i.clientX,i.clientY)}else if(1!=m[4]||null!=w&&!w.isEdge()){if(w&&w.isEdge()&&w.active()&&w.unactivate(),w&&w.grabbed()||b==x||(x&&t(x,["mouseout","tapdragout"],i,{position:{x:f[0],y:f[1]}}),b&&t(b,["mouseover","tapdragover"],i,{position:{x:f[0],y:f[1]}}),e.hoverData.last=b),w)if(y){if(l.boxSelectionEnabled()&&T)w&&w.grabbed()&&(p(_),w.emit("free")),A();else if(w&&w.grabbed()&&e.nodeIsDraggable(w)){var j=!e.dragData.didDrag;j&&e.redrawHint("eles",!0),e.dragData.didDrag=!0;var D=[];e.hoverData.draggingEles||u(l.collection(_),{inDragLayer:!0});for(var I=0;I<_.length;I++){var N=_[I];if(e.nodeIsDraggable(N)&&N.grabbed()){var M=N.position();if(D.push(N),r.number(k[0])&&r.number(k[1])&&(M.x+=k[0],M.y+=k[1],j)){var z=e.hoverData.dragDelta;z&&r.number(z[0])&&r.number(z[1])&&(M.x+=z[0],M.y+=z[1])}}}e.hoverData.draggingEles=!0;var L=l.collection(D);L.dirtyCompoundBoundsCache(),L.emit("position drag"),e.redrawHint("drag",!0),e.redraw()}}else!function(){var t=e.hoverData.dragDelta=e.hoverData.dragDelta||[];0===t.length?(t.push(k[0]),t.push(k[1])):(t[0]+=k[0],t[1]+=k[1])}();s=!0}else if(y){if(e.hoverData.dragging||!l.boxSelectionEnabled()||!T&&l.panningEnabled()&&l.userPanningEnabled()){if(!e.hoverData.selecting&&l.panningEnabled()&&l.userPanningEnabled()){a(w,e.hoverData.downs)&&(e.hoverData.dragging=!0,e.hoverData.justStartedPan=!0,m[4]=0,e.data.bgActivePosistion=o.array2point(h),e.redrawHint("select",!0),e.redraw())}}else A();w&&w.isEdge()&&w.active()&&w.unactivate()}return m[2]=f[0],m[3]=f[1],s?(i.stopPropagation&&i.stopPropagation(),i.preventDefault&&i.preventDefault(),!1):void 0}},!1),e.registerBinding(window,"mouseup",function(r){if(e.hoverData.capture){e.hoverData.capture=!1;var i=e.cy,o=e.projectIntoViewport(r.clientX,r.clientY),a=e.selection,s=e.findNearestElement(o[0],o[1],!0,!1),l=e.dragData.possibleDragElements,c=e.hoverData.down,u=n(r);if(e.data.bgActivePosistion&&(e.redrawHint("select",!0),e.redraw()),e.hoverData.tapholdCancelled=!0,e.data.bgActivePosistion=void 0,c&&c.unactivate(),3===e.hoverData.which){var d={originalEvent:r,type:"cxttapend",position:{x:o[0],y:o[1]}};if(c?c.emit(d):i.emit(d),!e.hoverData.cxtDragged){var f={originalEvent:r,type:"cxttap",position:{x:o[0],y:o[1]}};c?c.emit(f):i.emit(f)}e.hoverData.cxtDragged=!1,e.hoverData.which=null}else if(1===e.hoverData.which){if(null!=c||e.dragData.didDrag||e.hoverData.selecting||e.hoverData.dragged||n(r)||(i.$(function(e){return e.selected()}).unselect(),l.length>0&&e.redrawHint("eles",!0),e.dragData.possibleDragElements=l=[]),t(s,["mouseup","tapend","vmouseup"],r,{position:{x:o[0],y:o[1]}}),e.dragData.didDrag||e.hoverData.dragged||e.hoverData.selecting||e.hoverData.isOverThresholdDrag||t(c,["click","tap","vclick"],r,{position:{x:o[0],y:o[1]}}),s!=c||e.dragData.didDrag||e.hoverData.selecting||null!=s&&s._private.selectable&&(e.hoverData.dragging||("additive"===i.selectionType()||u?s.selected()?s.unselect():s.select():u||(i.$(":selected").unmerge(s).unselect(),s.select())),e.redrawHint("eles",!0)),e.hoverData.selecting){var h=i.collection(e.getAllInBox(a[0],a[1],a[2],a[3]));e.redrawHint("select",!0),h.length>0&&e.redrawHint("eles",!0),i.emit("boxend");var g=function(e){return e.selectable()&&!e.selected()};"additive"===i.selectionType()?h.emit("box").stdFilter(g).select().emit("boxselect"):(u||i.$(":selected").unmerge(h).unselect(),h.emit("box").stdFilter(g).select().emit("boxselect")),e.redraw()}if(e.hoverData.dragging&&(e.hoverData.dragging=!1,e.redrawHint("select",!0),e.redrawHint("eles",!0),e.redraw()),!a[4]){e.redrawHint("drag",!0),e.redrawHint("eles",!0);var m=c&&c.grabbed();p(l),m&&c.emit("free")}}a[4]=0,e.hoverData.down=null,e.hoverData.cxtStarted=!1,e.hoverData.draggingEles=!1,e.hoverData.selecting=!1,e.hoverData.isOverThresholdDrag=!1,e.dragData.didDrag=!1,e.hoverData.dragged=!1,e.hoverData.dragDelta=[],e.hoverData.mdownPos=null,e.hoverData.mdownGPos=null}},!1);var b,y,x,w,k,_,$,E,S,C,T,A,P;e.registerBinding(e.container,"wheel",function(t){if(!e.scrollingPage){var n,r=e.cy,i=e.projectIntoViewport(t.clientX,t.clientY),o=[i[0]*r.zoom()+r.pan().x,i[1]*r.zoom()+r.pan().y];e.hoverData.draggingEles||e.hoverData.dragging||e.hoverData.cxtStarted||0!==e.selection[4]?t.preventDefault():r.panningEnabled()&&r.userPanningEnabled()&&r.zoomingEnabled()&&r.userZoomingEnabled()&&(t.preventDefault(),e.data.wheelZooming=!0,clearTimeout(e.data.wheelTimeout),e.data.wheelTimeout=setTimeout(function(){e.data.wheelZooming=!1,e.redrawHint("eles",!0),e.redraw()},150),n=null!=t.deltaY?t.deltaY/-250:null!=t.wheelDeltaY?t.wheelDeltaY/1e3:t.wheelDelta/1e3,n*=e.wheelSensitivity,1===t.deltaMode&&(n*=33),r.zoom({level:r.zoom()*Math.pow(10,n),renderedPosition:{x:o[0],y:o[1]}}))}},!0),e.registerBinding(window,"scroll",function(t){e.scrollingPage=!0,clearTimeout(e.scrollingPageTimeout),e.scrollingPageTimeout=setTimeout(function(){e.scrollingPage=!1},250)},!0),e.registerBinding(e.container,"mouseout",function(t){var n=e.projectIntoViewport(t.clientX,t.clientY);e.cy.emit({originalEvent:t,type:"mouseout",position:{x:n[0],y:n[1]}})},!1),e.registerBinding(e.container,"mouseover",function(t){var n=e.projectIntoViewport(t.clientX,t.clientY);e.cy.emit({originalEvent:t,type:"mouseover",position:{x:n[0],y:n[1]}})},!1);var O,R,j,D,I=function(e,t,n,r){return Math.sqrt((n-e)*(n-e)+(r-t)*(r-t))},N=function(e,t,n,r){return(n-e)*(n-e)+(r-t)*(r-t)};if(e.registerBinding(e.container,"touchstart",O=function(n){if(v(n)){e.touchData.capture=!0,e.data.bgActivePosistion=void 0;var r=e.cy,i=e.touchData.now,o=e.touchData.earlier;if(n.touches[0]){var a=e.projectIntoViewport(n.touches[0].clientX,n.touches[0].clientY);i[0]=a[0],i[1]=a[1]}if(n.touches[1]){a=e.projectIntoViewport(n.touches[1].clientX,n.touches[1].clientY);i[2]=a[0],i[3]=a[1]}if(n.touches[2]){a=e.projectIntoViewport(n.touches[2].clientX,n.touches[2].clientY);i[4]=a[0],i[5]=a[1]}if(n.touches[1]){p(e.dragData.touchDragEles);var s=e.findContainerClientCoords();S=s[0],C=s[1],T=s[2],A=s[3],b=n.touches[0].clientX-S,y=n.touches[0].clientY-C,x=n.touches[1].clientX-S,w=n.touches[1].clientY-C,P=0<=b&&b<=T&&0<=x&&x<=T&&0<=y&&y<=A&&0<=w&&w<=A;var c=r.pan(),f=r.zoom();k=I(b,y,x,w),_=N(b,y,x,w),E=[(($=[(b+x)/2,(y+w)/2])[0]-c.x)/f,($[1]-c.y)/f];if(_<4e4&&!n.touches[2]){var h=e.findNearestElement(i[0],i[1],!0,!0),g=e.findNearestElement(i[2],i[3],!0,!0);return h&&h.isNode()?(h.activate().emit({originalEvent:n,type:"cxttapstart",position:{x:i[0],y:i[1]}}),e.touchData.start=h):g&&g.isNode()?(g.activate().emit({originalEvent:n,type:"cxttapstart",position:{x:i[0],y:i[1]}}),e.touchData.start=g):r.emit({originalEvent:n,type:"cxttapstart",position:{x:i[0],y:i[1]}}),e.touchData.start&&(e.touchData.start._private.grabbed=!1),e.touchData.cxt=!0,e.touchData.cxtDragged=!1,e.data.bgActivePosistion=void 0,void e.redraw()}}if(n.touches[2]);else if(n.touches[1]);else if(n.touches[0]){var m=e.findNearestElements(i[0],i[1],!0,!0),O=m[0];if(null!=O&&(O.activate(),e.touchData.start=O,e.touchData.starts=m,e.nodeIsGrabbable(O))){var R=e.dragData.touchDragEles=[],j=null;e.redrawHint("eles",!0),e.redrawHint("drag",!0),O.selected()?(j=r.$(function(t){return t.selected()&&e.nodeIsGrabbable(t)}),u(j,{addToList:R})):d(O,{addToList:R}),l(O);var D=function(e){return{originalEvent:n,type:e,position:{x:i[0],y:i[1]}}};O.emit(D("grabon")),j?j.forEach(function(e){e.emit(D("grab"))}):O.emit(D("grab"))}t(O,["touchstart","tapstart","vmousedown"],n,{position:{x:i[0],y:i[1]}}),null==O&&(e.data.bgActivePosistion={x:a[0],y:a[1]},e.redrawHint("select",!0),e.redraw()),e.touchData.singleTouchMoved=!1,e.touchData.singleTouchStartTime=+new Date,clearTimeout(e.touchData.tapholdTimeout),e.touchData.tapholdTimeout=setTimeout(function(){!1!==e.touchData.singleTouchMoved||e.pinching||e.touchData.selecting||(t(e.touchData.start,["taphold"],n,{position:{x:i[0],y:i[1]}}),e.touchData.start||r.$(":selected").unselect())},e.tapholdDuration)}if(n.touches.length>=1){for(var M=e.touchData.startPosition=[],z=0;z<i.length;z++)M[z]=o[z]=i[z];var L=n.touches[0];e.touchData.startGPosition=[L.clientX,L.clientY]}}},!1),e.registerBinding(window,"touchmove",R=function(n){var i=e.touchData.capture;if(i||v(n)){var s=e.selection,l=e.cy,c=e.touchData.now,d=e.touchData.earlier,f=l.zoom();if(n.touches[0]){var h=e.projectIntoViewport(n.touches[0].clientX,n.touches[0].clientY);c[0]=h[0],c[1]=h[1]}if(n.touches[1]){h=e.projectIntoViewport(n.touches[1].clientX,n.touches[1].clientY);c[2]=h[0],c[3]=h[1]}if(n.touches[2]){h=e.projectIntoViewport(n.touches[2].clientX,n.touches[2].clientY);c[4]=h[0],c[5]=h[1]}var g,m=e.touchData.startGPosition;if(i&&n.touches[0]&&m){for(var $=[],T=0;T<c.length;T++)$[T]=c[T]-d[T];var A=n.touches[0].clientX-m[0],O=A*A,R=n.touches[0].clientY-m[1];g=O+R*R>=e.touchTapThreshold2}if(i&&e.touchData.cxt){n.preventDefault();var j=n.touches[0].clientX-S,D=n.touches[0].clientY-C,M=n.touches[1].clientX-S,z=n.touches[1].clientY-C,L=N(j,D,M,z);if(L/_>=2.25||L>=22500){e.touchData.cxt=!1,e.data.bgActivePosistion=void 0,e.redrawHint("select",!0);var q={originalEvent:n,type:"cxttapend",position:{x:c[0],y:c[1]}};e.touchData.start?(e.touchData.start.unactivate().emit(q),e.touchData.start=null):l.emit(q)}}if(i&&e.touchData.cxt){q={originalEvent:n,type:"cxtdrag",position:{x:c[0],y:c[1]}};e.data.bgActivePosistion=void 0,e.redrawHint("select",!0),e.touchData.start?e.touchData.start.emit(q):l.emit(q),e.touchData.start&&(e.touchData.start._private.grabbed=!1),e.touchData.cxtDragged=!0;var B=e.findNearestElement(c[0],c[1],!0,!0);e.touchData.cxtOver&&B===e.touchData.cxtOver||(e.touchData.cxtOver&&e.touchData.cxtOver.emit({originalEvent:n,type:"cxtdragout",position:{x:c[0],y:c[1]}}),e.touchData.cxtOver=B,B&&B.emit({originalEvent:n,type:"cxtdragover",position:{x:c[0],y:c[1]}}))}else if(i&&n.touches[2]&&l.boxSelectionEnabled())n.preventDefault(),e.data.bgActivePosistion=void 0,this.lastThreeTouch=+new Date,e.touchData.selecting||l.emit("boxstart"),e.touchData.selecting=!0,e.redrawHint("select",!0),s&&0!==s.length&&void 0!==s[0]?(s[2]=(c[0]+c[2]+c[4])/3,s[3]=(c[1]+c[3]+c[5])/3):(s[0]=(c[0]+c[2]+c[4])/3,s[1]=(c[1]+c[3]+c[5])/3,s[2]=(c[0]+c[2]+c[4])/3+1,s[3]=(c[1]+c[3]+c[5])/3+1),s[4]=1,e.touchData.selecting=!0,e.redraw();else if(i&&n.touches[1]&&l.zoomingEnabled()&&l.panningEnabled()&&l.userZoomingEnabled()&&l.userPanningEnabled()){if(n.preventDefault(),e.data.bgActivePosistion=void 0,e.redrawHint("select",!0),ee=e.dragData.touchDragEles){e.redrawHint("drag",!0);for(var V=0;V<ee.length;V++){var F=ee[V]._private;F.grabbed=!1,F.rscratch.inDragLayer=!1}}j=n.touches[0].clientX-S,D=n.touches[0].clientY-C,M=n.touches[1].clientX-S,z=n.touches[1].clientY-C;var U=I(j,D,M,z),H=U/k;if(P){var W=(j-b+(M-x))/2,G=(D-y+(z-w))/2,X=l.zoom(),Y=X*H,Z=l.pan(),K=E[0]*X+Z.x,Q=E[1]*X+Z.y,J={x:-Y/X*(K-Z.x-W)+K,y:-Y/X*(Q-Z.y-G)+Q};if(e.touchData.start&&e.touchData.start.active()){var ee=e.dragData.touchDragEles;p(ee),e.redrawHint("drag",!0),e.redrawHint("eles",!0),e.touchData.start.unactivate().emit("free")}l.viewport({zoom:Y,pan:J,cancelOnFailedZoom:!0}),k=U,b=j,y=D,x=M,w=z,e.pinching=!0}if(n.touches[0]){h=e.projectIntoViewport(n.touches[0].clientX,n.touches[0].clientY);c[0]=h[0],c[1]=h[1]}if(n.touches[1]){h=e.projectIntoViewport(n.touches[1].clientX,n.touches[1].clientY);c[2]=h[0],c[3]=h[1]}if(n.touches[2]){h=e.projectIntoViewport(n.touches[2].clientX,n.touches[2].clientY);c[4]=h[0],c[5]=h[1]}}else if(n.touches[0]){var te=e.touchData.start,ne=e.touchData.last;if(e.hoverData.draggingEles||e.swipePanning||(B=e.findNearestElement(c[0],c[1],!0,!0)),i&&null!=te&&n.preventDefault(),i&&null!=te&&e.nodeIsDraggable(te))if(g){ee=e.dragData.touchDragEles;var re=!e.dragData.didDrag;re&&u(l.collection(ee),{inDragLayer:!0});for(var ie=0;ie<ee.length;ie++){var oe=ee[ie];if(e.nodeIsDraggable(oe)&&oe.grabbed()){e.dragData.didDrag=!0;var ae=oe.position();if(r.number($[0])&&r.number($[1])&&(ae.x+=$[0],ae.y+=$[1]),re)e.redrawHint("eles",!0),(le=e.touchData.dragDelta)&&r.number(le[0])&&r.number(le[1])&&(ae.x+=le[0],ae.y+=le[1])}}var se=l.collection(ee);se.dirtyCompoundBoundsCache(),se.emit("position drag"),e.hoverData.draggingEles=!0,e.redrawHint("drag",!0),e.touchData.startPosition[0]==d[0]&&e.touchData.startPosition[1]==d[1]&&e.redrawHint("eles",!0),e.redraw()}else{var le;0===(le=e.touchData.dragDelta=e.touchData.dragDelta||[]).length?(le.push($[0]),le.push($[1])):(le[0]+=$[0],le[1]+=$[1])}if(t(te||B,["touchmove","tapdrag","vmousemove"],n,{position:{x:c[0],y:c[1]}}),te&&te.grabbed()||B==ne||(ne&&ne.emit({originalEvent:n,type:"tapdragout",position:{x:c[0],y:c[1]}}),B&&B.emit({originalEvent:n,type:"tapdragover",position:{x:c[0],y:c[1]}})),e.touchData.last=B,i)for(V=0;V<c.length;V++)c[V]&&e.touchData.startPosition[V]&&g&&(e.touchData.singleTouchMoved=!0);if(i&&(null==te||te.isEdge())&&l.panningEnabled()&&l.userPanningEnabled()){a(te,e.touchData.starts)&&(n.preventDefault(),e.swipePanning?l.panBy({x:$[0]*f,y:$[1]*f}):g&&(e.swipePanning=!0,l.panBy({x:A*f,y:R*f}),te&&(te.unactivate(),e.data.bgActivePosistion||(e.data.bgActivePosistion=o.array2point(e.touchData.startPosition)),e.redrawHint("select",!0),e.touchData.start=null)));h=e.projectIntoViewport(n.touches[0].clientX,n.touches[0].clientY);c[0]=h[0],c[1]=h[1]}}for(T=0;T<c.length;T++)d[T]=c[T]}},!1),e.registerBinding(window,"touchcancel",j=function(t){var n=e.touchData.start;e.touchData.capture=!1,n&&n.unactivate()}),e.registerBinding(window,"touchend",D=function(n){var r=e.touchData.start;if(e.touchData.capture){e.touchData.capture=!1,n.preventDefault();var i=e.selection;e.swipePanning=!1,e.hoverData.draggingEles=!1;var o,a=e.cy,s=a.zoom(),l=e.touchData.now,c=e.touchData.earlier;if(n.touches[0]){var u=e.projectIntoViewport(n.touches[0].clientX,n.touches[0].clientY);l[0]=u[0],l[1]=u[1]}if(n.touches[1]){u=e.projectIntoViewport(n.touches[1].clientX,n.touches[1].clientY);l[2]=u[0],l[3]=u[1]}if(n.touches[2]){u=e.projectIntoViewport(n.touches[2].clientX,n.touches[2].clientY);l[4]=u[0],l[5]=u[1]}if(r&&r.unactivate(),e.touchData.cxt){if(o={originalEvent:n,type:"cxttapend",position:{x:l[0],y:l[1]}},r?r.emit(o):a.emit(o),!e.touchData.cxtDragged){var d={originalEvent:n,type:"cxttap",position:{x:l[0],y:l[1]}};r?r.emit(d):a.emit(d)}return e.touchData.start&&(e.touchData.start._private.grabbed=!1),e.touchData.cxt=!1,e.touchData.start=null,void e.redraw()}if(!n.touches[2]&&a.boxSelectionEnabled()&&e.touchData.selecting){e.touchData.selecting=!1;var f=a.collection(e.getAllInBox(i[0],i[1],i[2],i[3]));i[0]=void 0,i[1]=void 0,i[2]=void 0,i[3]=void 0,i[4]=0,e.redrawHint("select",!0),a.emit("boxend");f.emit("box").stdFilter(function(e){return e.selectable()&&!e.selected()}).select().emit("boxselect"),f.nonempty()&&e.redrawHint("eles",!0),e.redraw()}if(null!=r&&r.unactivate(),n.touches[2])e.data.bgActivePosistion=void 0,e.redrawHint("select",!0);else if(n.touches[1]);else if(n.touches[0]);else if(!n.touches[0]){e.data.bgActivePosistion=void 0,e.redrawHint("select",!0);var h=e.dragData.touchDragEles;if(null!=r){var g=r._private.grabbed;p(h),e.redrawHint("drag",!0),e.redrawHint("eles",!0),g&&r.emit("free"),t(r,["touchend","tapend","vmouseup","tapdragout"],n,{position:{x:l[0],y:l[1]}}),r.unactivate(),e.touchData.start=null}else{var m=e.findNearestElement(l[0],l[1],!0,!0);t(m,["touchend","tapend","vmouseup","tapdragout"],n,{position:{x:l[0],y:l[1]}})}var v=e.touchData.startPosition[0]-l[0],b=v*v,y=e.touchData.startPosition[1]-l[1],x=(b+y*y)*s*s;null!=r&&!e.dragData.didDrag&&r._private.selectable&&x<e.touchTapThreshold2&&!e.pinching&&("single"===a.selectionType()?(a.$(":selected").unmerge(r).unselect(),r.select()):r.selected()?r.unselect():r.select(),e.redrawHint("eles",!0)),e.touchData.singleTouchMoved||t(r,["tap","vclick"],n,{position:{x:l[0],y:l[1]}}),e.touchData.singleTouchMoved=!0}for(var w=0;w<l.length;w++)c[w]=l[w];e.dragData.didDrag=!1,0===n.touches.length&&(e.touchData.dragDelta=[],e.touchData.startPosition=null,e.touchData.startGPosition=null),n.touches.length<2&&(e.pinching=!1,e.redrawHint("eles",!0),e.redraw())}},!1),"undefined"==typeof TouchEvent){var M=[],z=function(e){return{clientX:e.clientX,clientY:e.clientY,force:1,identifier:e.pointerId,pageX:e.pageX,pageY:e.pageY,radiusX:e.width/2,radiusY:e.height/2,screenX:e.screenX,screenY:e.screenY,target:e.target}},L=function(e){M.push(function(e){return{event:e,touch:z(e)}}(e))},q=function(e){for(var t=0;t<M.length;t++){if(M[t].event.pointerId===e.pointerId)return void M.splice(t,1)}},B=function(e){e.touches=M.map(function(e){return e.touch})},V=function(e){return"mouse"===e.pointerType||4===e.pointerType};e.registerBinding(e.container,"pointerdown",function(e){V(e)||(e.preventDefault(),L(e),B(e),O(e))}),e.registerBinding(e.container,"pointerup",function(e){V(e)||(q(e),B(e),D(e))}),e.registerBinding(e.container,"pointercancel",function(e){V(e)||(q(e),B(e),j())}),e.registerBinding(e.container,"pointermove",function(e){V(e)||(e.preventDefault(),function(e){var t=M.filter(function(t){return t.event.pointerId===e.pointerId})[0];t.event=e,t.touch=z(e)}(e),B(e),R(e))})}},e.exports=a},function(e,t,n){"use strict";var r=n(2),i={generatePolygon:function(e,t){return this.nodeShapes[e]={renderer:this,name:e,points:t,draw:function(e,t,n,r,i){this.renderer.nodeShapeImpl("polygon",e,t,n,r,i,this.points)},intersectLine:function(e,t,n,i,o,a,s){return r.polygonIntersectLine(o,a,this.points,e,t,n/2,i/2,s)},checkPoint:function(e,t,n,i,o,a,s){return r.pointInsidePolygon(e,t,this.points,a,s,i,o,[0,-1],n)}}},generateEllipse:function(){return this.nodeShapes.ellipse={renderer:this,name:"ellipse",draw:function(e,t,n,r,i){this.renderer.nodeShapeImpl(this.name,e,t,n,r,i)},intersectLine:function(e,t,n,i,o,a,s){return r.intersectLineEllipse(o,a,e,t,n/2+s,i/2+s)},checkPoint:function(e,t,n,i,o,a,s){return r.checkInEllipse(e,t,i,o,a,s,n)}}},generateRoundRectangle:function(){return this.nodeShapes.roundrectangle={renderer:this,name:"roundrectangle",points:r.generateUnitNgonPointsFitToSquare(4,0),draw:function(e,t,n,r,i){this.renderer.nodeShapeImpl(this.name,e,t,n,r,i)},intersectLine:function(e,t,n,i,o,a,s){return r.roundRectangleIntersectLine(o,a,e,t,n,i,s)},checkPoint:function(e,t,n,i,o,a,s){var l=r.getRoundRectangleRadius(i,o),c=2*l;return!!r.pointInsidePolygon(e,t,this.points,a,s,i,o-c,[0,-1],n)||(!!r.pointInsidePolygon(e,t,this.points,a,s,i-c,o,[0,-1],n)||(!!r.checkInEllipse(e,t,c,c,a-i/2+l,s-o/2+l,n)||(!!r.checkInEllipse(e,t,c,c,a+i/2-l,s-o/2+l,n)||(!!r.checkInEllipse(e,t,c,c,a+i/2-l,s+o/2-l,n)||!!r.checkInEllipse(e,t,c,c,a-i/2+l,s+o/2-l,n)))))}}},generateCutRectangle:function(){return this.nodeShapes.cutrectangle={renderer:this,name:"cutrectangle",cornerLength:r.getCutRectangleCornerLength(),points:r.generateUnitNgonPointsFitToSquare(4,0),draw:function(e,t,n,r,i){this.renderer.nodeShapeImpl(this.name,e,t,n,r,i)},generateCutTrianglePts:function(e,t,n,r){var i=this.cornerLength,o=t/2,a=e/2,s=n-a,l=n+a,c=r-o,u=r+o;return{topLeft:[s,c+i,s+i,c,s+i,c+i],topRight:[l-i,c,l,c+i,l-i,c+i],bottomRight:[l,u-i,l-i,u,l-i,u-i],bottomLeft:[s+i,u,s,u-i,s+i,u-i]}},intersectLine:function(e,t,n,i,o,a,s){var l=this.generateCutTrianglePts(n+2*s,i+2*s,e,t),c=[].concat.apply([],[l.topLeft.splice(0,4),l.topRight.splice(0,4),l.bottomRight.splice(0,4),l.bottomLeft.splice(0,4)]);return r.polygonIntersectLine(o,a,c,e,t)},checkPoint:function(e,t,n,i,o,a,s){if(r.pointInsidePolygon(e,t,this.points,a,s,i,o-2*this.cornerLength,[0,-1],n))return!0;if(r.pointInsidePolygon(e,t,this.points,a,s,i-2*this.cornerLength,o,[0,-1],n))return!0;var l=this.generateCutTrianglePts(i,o,a,s);return r.pointInsidePolygonPoints(e,t,l.topLeft)||r.pointInsidePolygonPoints(e,t,l.topRight)||r.pointInsidePolygonPoints(e,t,l.bottomRight)||r.pointInsidePolygonPoints(e,t,l.bottomLeft)}}},generateBarrel:function(){return this.nodeShapes.barrel={renderer:this,name:"barrel",points:r.generateUnitNgonPointsFitToSquare(4,0),draw:function(e,t,n,r,i){this.renderer.nodeShapeImpl(this.name,e,t,n,r,i)},intersectLine:function(e,t,n,i,o,a,s){var l=this.generateBarrelBezierPts(n+2*s,i+2*s,e,t),c=function(e){var t=r.qbezierPtAt({x:e[0],y:e[1]},{x:e[2],y:e[3]},{x:e[4],y:e[5]},.15),n=r.qbezierPtAt({x:e[0],y:e[1]},{x:e[2],y:e[3]},{x:e[4],y:e[5]},.5),i=r.qbezierPtAt({x:e[0],y:e[1]},{x:e[2],y:e[3]},{x:e[4],y:e[5]},.85);return[e[0],e[1],t.x,t.y,n.x,n.y,i.x,i.y,e[4],e[5]]},u=[].concat(c(l.topLeft),c(l.topRight),c(l.bottomRight),c(l.bottomLeft));return r.polygonIntersectLine(o,a,u,e,t)},generateBarrelBezierPts:function(e,t,n,i){var o=t/2,a=e/2,s=n-a,l=n+a,c=i-o,u=i+o,d=r.getBarrelCurveConstants(e,t),p=d.heightOffset,f=d.widthOffset,h=d.ctrlPtOffsetPct*e,g={topLeft:[s,c+p,s+h,c,s+f,c],topRight:[l-f,c,l-h,c,l,c+p],bottomRight:[l,u-p,l-h,u,l-f,u],bottomLeft:[s+f,u,s+h,u,s,u-p]};return g.topLeft.isTop=!0,g.topRight.isTop=!0,g.bottomLeft.isBottom=!0,g.bottomRight.isBottom=!0,g},checkPoint:function(e,t,n,i,o,a,s){var l=r.getBarrelCurveConstants(i,o),c=l.heightOffset,u=l.widthOffset;if(r.pointInsidePolygon(e,t,this.points,a,s,i,o-2*c,[0,-1],n))return!0;if(r.pointInsidePolygon(e,t,this.points,a,s,i-2*u,o,[0,-1],n))return!0;for(var d=this.generateBarrelBezierPts(i,o,a,s),p=function(e,t,n){var i=n[4],o=n[2],a=n[0],s=n[5],l=n[1],c=Math.min(i,a),u=Math.max(i,a),d=Math.min(s,l),p=Math.max(s,l);if(c<=e&&e<=u&&d<=t&&t<=p){var f=r.bezierPtsToQuadCoeff(i,o,a),h=r.solveQuadratic(f[0],f[1],f[2],e).filter(function(e){return 0<=e&&e<=1});if(h.length>0)return h[0]}return null},f=Object.keys(d),h=0;h<f.length;h++){var g=d[f[h]],m=p(e,t,g);if(null!=m){var v=g[5],b=g[3],y=g[1],x=r.qbezierAt(v,b,y,m);if(g.isTop&&x<=t)return!0;if(g.isBottom&&t<=x)return!0}}return!1}}},generateBottomRoundrectangle:function(){return this.nodeShapes.bottomroundrectangle={renderer:this,name:"bottomroundrectangle",points:r.generateUnitNgonPointsFitToSquare(4,0),draw:function(e,t,n,r,i){this.renderer.nodeShapeImpl(this.name,e,t,n,r,i)},intersectLine:function(e,t,n,i,o,a,s){var l=e-(n/2+s),c=t-(i/2+s),u=c,d=e+(n/2+s),p=r.finiteLinesIntersect(o,a,e,t,l,c,d,u,!1);return p.length>0?p:r.roundRectangleIntersectLine(o,a,e,t,n,i,s)},checkPoint:function(e,t,n,i,o,a,s){var l=r.getRoundRectangleRadius(i,o),c=2*l;if(r.pointInsidePolygon(e,t,this.points,a,s,i,o-c,[0,-1],n))return!0;if(r.pointInsidePolygon(e,t,this.points,a,s,i-c,o,[0,-1],n))return!0;var u=i/2+2*n,d=o/2+2*n,p=[a-u,s-d,a-u,s,a+u,s,a+u,s-d];return!!r.pointInsidePolygonPoints(e,t,p)||(!!r.checkInEllipse(e,t,c,c,a+i/2-l,s+o/2-l,n)||!!r.checkInEllipse(e,t,c,c,a-i/2+l,s+o/2-l,n))}}},registerNodeShapes:function(){var e=this.nodeShapes={},t=this;this.generateEllipse(),this.generatePolygon("triangle",r.generateUnitNgonPointsFitToSquare(3,0)),this.generatePolygon("rectangle",r.generateUnitNgonPointsFitToSquare(4,0)),e.square=e.rectangle,this.generateRoundRectangle(),this.generateCutRectangle(),this.generateBarrel(),this.generateBottomRoundrectangle(),this.generatePolygon("diamond",[0,1,1,0,0,-1,-1,0]),this.generatePolygon("pentagon",r.generateUnitNgonPointsFitToSquare(5,0)),this.generatePolygon("hexagon",r.generateUnitNgonPointsFitToSquare(6,0)),this.generatePolygon("heptagon",r.generateUnitNgonPointsFitToSquare(7,0)),this.generatePolygon("octagon",r.generateUnitNgonPointsFitToSquare(8,0));var n=new Array(20),i=r.generateUnitNgonPoints(5,0),o=r.generateUnitNgonPoints(5,Math.PI/5),a=.5*(3-Math.sqrt(5));a*=1.57;for(var s=0;s<o.length/2;s++)o[2*s]*=a,o[2*s+1]*=a;for(s=0;s<5;s++)n[4*s]=i[2*s],n[4*s+1]=i[2*s+1],n[4*s+2]=o[2*s],n[4*s+3]=o[2*s+1];n=r.fitPolygonToSquare(n),this.generatePolygon("star",n),this.generatePolygon("vee",[-1,-1,0,-.333,1,-1,0,1]),this.generatePolygon("rhomboid",[-1,-1,.333,-1,1,1,-.333,1]),this.generatePolygon("concavehexagon",[-1,-.95,-.75,0,-1,.95,1,.95,.75,0,1,-.95]),this.generatePolygon("tag",[-1,-1,.25,-1,1,0,.25,1,-1,1]),e.makePolygon=function(e){var n,r="polygon-"+e.join("$");return(n=this[r])?n:t.generatePolygon(r,e)}}};e.exports=i},function(e,t,n){"use strict";var r=n(1),i={timeToRender:function(){return this.redrawTotalTime/this.redrawCount},redraw:function(e){e=e||r.staticEmptyObject();var t=this;void 0===t.averageRedrawTime&&(t.averageRedrawTime=0),void 0===t.lastRedrawTime&&(t.lastRedrawTime=0),void 0===t.lastDrawTime&&(t.lastDrawTime=0),t.requestedFrame=!0,t.renderOptions=e},beforeRender:function(e,t){if(!this.destroyed){t=t||0;var n=this.beforeRenderCallbacks;n.push({fn:e,priority:t}),n.sort(function(e,t){return t.priority-e.priority})}}},o=function(e,t,n){for(var r=e.beforeRenderCallbacks,i=0;i<r.length;i++)r[i].fn(t,n)};i.startRenderLoop=function(){var e=this;if(!e.renderLoopStarted){e.renderLoopStarted=!0;r.requestAnimationFrame(function t(n){if(!e.destroyed){if(e.requestedFrame&&!e.skipFrame){o(e,!0,n);var i=r.performanceNow();e.render(e.renderOptions);var a=e.lastDrawTime=r.performanceNow();void 0===e.averageRedrawTime&&(e.averageRedrawTime=a-i),void 0===e.redrawCount&&(e.redrawCount=0),e.redrawCount++,void 0===e.redrawTotalTime&&(e.redrawTotalTime=0);var s=a-i;e.redrawTotalTime+=s,e.lastRedrawTime=s,e.averageRedrawTime=e.averageRedrawTime/2+s/2,e.requestedFrame=!1}else o(e,!1,n);e.skipFrame=!1,r.requestAnimationFrame(t)}})}},e.exports=i},function(e,t,n){"use strict";var r=n(1),i=n(0),o=n(124),a=n(125),s=c,l=c.prototype;function c(e){var t=this;t.data={canvases:new Array(l.CANVAS_LAYERS),contexts:new Array(l.CANVAS_LAYERS),canvasNeedsRedraw:new Array(l.CANVAS_LAYERS),bufferCanvases:new Array(l.BUFFER_COUNT),bufferContexts:new Array(l.CANVAS_LAYERS)};var n="-webkit-tap-highlight-color: rgba(0,0,0,0);";t.data.canvasContainer=document.createElement("div");var r=t.data.canvasContainer.style;t.data.canvasContainer.setAttribute("style",n),r.position="relative",r.zIndex="0",r.overflow="hidden";var s=e.cy.container();s.appendChild(t.data.canvasContainer),(s.getAttribute("style")||"").indexOf(n)<0&&s.setAttribute("style",(s.getAttribute("style")||"")+n);for(var c=0;c<l.CANVAS_LAYERS;c++){var u=t.data.canvases[c]=document.createElement("canvas");t.data.contexts[c]=u.getContext("2d"),u.setAttribute("style","-webkit-user-select: none; -moz-user-select: -moz-none; user-select: none; -webkit-tap-highlight-color: rgba(0,0,0,0); outline-style: none;"+(i.ms()?" -ms-touch-action: none; touch-action: none; ":"")),u.style.position="absolute",u.setAttribute("data-id","layer"+c),u.style.zIndex=String(l.CANVAS_LAYERS-c),t.data.canvasContainer.appendChild(u),t.data.canvasNeedsRedraw[c]=!1}t.data.topCanvas=t.data.canvases[0],t.data.canvases[l.NODE].setAttribute("data-id","layer"+l.NODE+"-node"),t.data.canvases[l.SELECT_BOX].setAttribute("data-id","layer"+l.SELECT_BOX+"-selectbox"),t.data.canvases[l.DRAG].setAttribute("data-id","layer"+l.DRAG+"-drag");for(c=0;c<l.BUFFER_COUNT;c++)t.data.bufferCanvases[c]=document.createElement("canvas"),t.data.bufferContexts[c]=t.data.bufferCanvases[c].getContext("2d"),t.data.bufferCanvases[c].style.position="absolute",t.data.bufferCanvases[c].setAttribute("data-id","buffer"+c),t.data.bufferCanvases[c].style.zIndex=String(-c-1),t.data.bufferCanvases[c].style.visibility="hidden";t.pathsEnabled=!0,t.data.eleTxrCache=new o(t),t.data.lyrTxrCache=new a(t,t.data.eleTxrCache),t.onUpdateEleCalcs(function(e,n){for(var r=0;r<n.length;r++){var i=n[r],o=i._private.rstyle,a=o.dirtyEvents;if(i.isNode()&&a&&1===a.length&&a.position);else if(t.data.eleTxrCache.invalidateElement(i),i.isParent()&&a.style){var s=o.prevParentOpacity,l=i.pstyle("opacity").pfValue;if(o.prevParentOpacity=l,s!==l)for(var c=i.descendants(),u=0;u<c.length;u++)t.data.eleTxrCache.invalidateElement(c[u])}}n.length>0&&t.data.lyrTxrCache.invalidateElements(n)})}l.CANVAS_LAYERS=3,l.SELECT_BOX=0,l.DRAG=1,l.NODE=2,l.BUFFER_COUNT=3,l.TEXTURE_BUFFER=0,l.MOTIONBLUR_BUFFER_NODE=1,l.MOTIONBLUR_BUFFER_DRAG=2,l.redrawHint=function(e,t){var n=this;switch(e){case"eles":n.data.canvasNeedsRedraw[l.NODE]=t;break;case"drag":n.data.canvasNeedsRedraw[l.DRAG]=t;break;case"select":n.data.canvasNeedsRedraw[l.SELECT_BOX]=t}};var u="undefined"!=typeof Path2D;l.path2dEnabled=function(e){if(void 0===e)return this.pathsEnabled;this.pathsEnabled=!!e},l.usePaths=function(){return u&&this.pathsEnabled},[n(126),n(127),n(128),n(129),n(130),n(131),n(132),n(133),n(134),n(135)].forEach(function(e){r.extend(l,e)}),e.exports=s},function(e,t,n){"use strict";var r=n(2),i=n(1),o=n(9),a=n(19),s={dequeue:"dequeue",downscale:"downscale",highQuality:"highQuality"},l=function(e){this.renderer=e,this.onDequeues=[],this.setupDequeueing()},c=l.prototype;c.reasons=s,c.getTextureQueue=function(e){return this.eleImgCaches=this.eleImgCaches||{},this.eleImgCaches[e]=this.eleImgCaches[e]||[]},c.getRetiredTextureQueue=function(e){var t=this.eleImgCaches.retired=this.eleImgCaches.retired||{};return t[e]=t[e]||[]},c.getElementQueue=function(){return this.eleCacheQueue=this.eleCacheQueue||new o(function(e,t){return t.reqs-e.reqs})},c.getElementIdToQueue=function(){return this.eleIdToCacheQueue=this.eleIdToCacheQueue||{}},c.getElement=function(e,t,n,i,o){var a=this,l=this.renderer,c=e._private.rscratch,u=l.cy.zoom();if(0===t.w||0===t.h||!e.visible())return null;if(null==i&&(i=Math.ceil(r.log2(u*n))),i<-4)i=-4;else if(u>=3.99||i>2)return null;var d,p=Math.pow(2,i),f=t.h*p,h=t.w*p,g=c.imgCaches=c.imgCaches||{},m=g[i];if(m)return m;if(d=f<=25?25:f<=50?50:50*Math.ceil(f/50),f>1024||h>1024||e.isEdge()||e.isParent())return null;var v=a.getTextureQueue(d),b=v[v.length-2],y=function(){return a.recycleTexture(d,h)||a.addTexture(d,h)};b||(b=v[v.length-1]),b||(b=y()),b.width-b.usedWidth<h&&(b=y());for(var x,w=l.eleTextBiggerThanMin(e,p),k=function(e){return e&&e.scaledLabelShown===w},_=o&&o===s.dequeue,$=o&&o===s.highQuality,E=o&&o===s.downscale,S=i+1;S<=2;S++){if(P=g[S]){x=P;break}}var C=x&&x.level===i+1?x:null,T=function(){b.context.drawImage(C.texture.canvas,C.x,0,C.width,C.height,b.usedWidth,0,h,f)};if(b.context.setTransform(1,0,0,1,0,0),b.context.clearRect(b.usedWidth,0,h,d),k(C))T();else if(k(x)){if(!$)return a.queueElement(e,x.level-1),x;for(S=x.level;S>i;S--)C=a.getElement(e,t,n,S,s.downscale);T()}else{var A;if(!_&&!$&&!E)for(S=i-1;S>=-4;S--){var P;if(P=g[S]){A=P;break}}if(k(A))return a.queueElement(e,i),A;b.context.translate(b.usedWidth,0),b.context.scale(p,p),l.drawElement(b.context,e,t,w),b.context.scale(1/p,1/p),b.context.translate(-b.usedWidth,0)}return m=g[i]={ele:e,x:b.usedWidth,texture:b,level:i,scale:p,width:h,height:f,scaledLabelShown:w},b.usedWidth+=Math.ceil(h+8),b.eleCaches.push(m),a.checkTextureFullness(b),m},c.invalidateElement=function(e){var t=e._private.rscratch.imgCaches;if(t)for(var n=-4;n<=2;n++){var r=t[n];if(r){var o=r.texture;o.invalidatedWidth+=r.width,t[n]=null,i.removeFromArray(o.eleCaches,r),this.removeFromQueue(e),this.checkTextureUtility(o)}}},c.checkTextureUtility=function(e){e.invalidatedWidth>=.5*e.width&&this.retireTexture(e)},c.checkTextureFullness=function(e){var t=this.getTextureQueue(e.height);e.usedWidth/e.width>.8&&e.fullnessChecks>=10?i.removeFromArray(t,e):e.fullnessChecks++},c.retireTexture=function(e){var t=e.height,n=this.getTextureQueue(t);i.removeFromArray(n,e),e.retired=!0;for(var r=e.eleCaches,o=0;o<r.length;o++){var a=r[o],s=a.ele,l=a.level,c=s._private.rscratch.imgCaches;c&&(c[l]=null)}i.clearArray(r),this.getRetiredTextureQueue(t).push(e)},c.addTexture=function(e,t){var n={};return this.getTextureQueue(e).push(n),n.eleCaches=[],n.height=e,n.width=Math.max(1024,t),n.usedWidth=0,n.invalidatedWidth=0,n.fullnessChecks=0,n.canvas=document.createElement("canvas"),n.canvas.width=n.width,n.canvas.height=n.height,n.context=n.canvas.getContext("2d"),n},c.recycleTexture=function(e,t){for(var n=this.getTextureQueue(e),r=this.getRetiredTextureQueue(e),o=0;o<r.length;o++){var a=r[o];if(a.width>=t)return a.retired=!1,a.usedWidth=0,a.invalidatedWidth=0,a.fullnessChecks=0,i.clearArray(a.eleCaches),a.context.setTransform(1,0,0,1,0,0),a.context.clearRect(0,0,a.width,a.height),i.removeFromArray(r,a),n.push(a),a}},c.queueElement=function(e,t){var n=this.getElementQueue(),r=this.getElementIdToQueue(),i=e.id(),o=r[i];if(o)o.level=Math.max(o.level,t),o.reqs++,n.updateItem(o);else{var a={ele:e,level:t,reqs:1};n.push(a),r[i]=a}},c.dequeue=function(e){for(var t=this.getElementQueue(),n=this.getElementIdToQueue(),r=[],i=0;i<1&&t.size()>0;i++){var o=t.pop(),a=o.ele;if(null==a._private.rscratch.imgCaches[o.level]){n[a.id()]=null,r.push(o);var l=a.boundingBox();this.getElement(a,l,e,o.level,s.dequeue)}}return r},c.removeFromQueue=function(e){var t=this.getElementQueue(),n=this.getElementIdToQueue(),r=n[e.id()];null!=r&&(r.reqs=i.MAX_INT,t.updateItem(r),t.pop(),n[e.id()]=null)},c.onDequeue=function(e){this.onDequeues.push(e)},c.offDequeue=function(e){i.removeFromArray(this.onDequeues,e)},c.setupDequeueing=a.setupDequeueing({deqRedrawThreshold:100,deqCost:.15,deqAvgCost:.1,deqNoDrawCost:.9,deqFastCost:.9,deq:function(e,t,n){return e.dequeue(t,n)},onDeqd:function(e,t){for(var n=0;n<e.onDequeues.length;n++){(0,e.onDequeues[n])(t)}},shouldRedraw:function(e,t,n,i){for(var o=0;o<t.length;o++){var a=t[o].ele.boundingBox();if(r.boundingBoxesIntersect(a,i))return!0}return!1},priority:function(e){return e.renderer.beforeRenderPriorities.eleTxrDeq}}),e.exports=l},function(e,t,n){"use strict";var r=n(1),i=n(2),o=n(9),a=n(0),s=n(19),l=function(e,t){var n=this,i=n.renderer=e;n.layersByLevel={},n.firstGet=!0,n.lastInvalidationTime=r.performanceNow()-500,n.skipping=!1,i.beforeRender(function(e,t){t-n.lastInvalidationTime<=250?n.skipping=!0:n.skipping=!1});n.layersQueue=new o(function(e,t){return t.reqs-e.reqs}),n.eleTxrCache=t,n.setupEleCacheInvalidation(),n.setupDequeueing()},c=l.prototype,u=0,d=Math.pow(2,53)-1;function p(e,t){null!=e.imageSmoothingEnabled?e.imageSmoothingEnabled=t:(e.webkitImageSmoothingEnabled=t,e.mozImageSmoothingEnabled=t,e.msImageSmoothingEnabled=t)}c.makeLayer=function(e,t){var n=Math.pow(2,t),r=Math.ceil(e.w*n),i=Math.ceil(e.h*n),o=document.createElement("canvas");o.width=r,o.height=i;var a={id:u=++u%d,bb:e,level:t,width:r,height:i,canvas:o,context:o.getContext("2d"),eles:[],elesQueue:[],reqs:0},s=a.context,l=-a.bb.x1,c=-a.bb.y1;return s.scale(n,n),s.translate(l,c),a},c.getLayers=function(e,t,n){var o=this,a=o.renderer.cy.zoom(),s=o.firstGet;if(o.firstGet=!1,null==n)if((n=Math.ceil(i.log2(a*t)))<-4)n=-4;else if(a>=3.99||n>2)return null;o.validateLayersElesOrdering(n,e);var l,c,u=o.layersByLevel,d=Math.pow(2,n),p=u[n]=u[n]||[];if(o.levelIsComplete(n,e))return p;!function(){var t=function(t){if(o.validateLayersElesOrdering(t,e),o.levelIsComplete(t,e))return c=u[t],!0},i=function(e){if(!c)for(var r=n+e;-4<=r&&r<=2&&!t(r);r+=e);};i(1),i(-1);for(var a=p.length-1;a>=0;a--){var s=p[a];s.invalid&&r.removeFromArray(p,s)}}();var f=function(t){var r=(t=t||{}).after;if(function(){if(!l){l=i.makeBoundingBox();for(var t=0;t<e.length;t++)i.updateBoundingBox(l,e[t].boundingBox())}}(),l.w*d*(l.h*d)>16e6)return null;var a=o.makeLayer(l,n);if(null!=r){var s=p.indexOf(r)+1;p.splice(s,0,a)}else(void 0===t.insert||t.insert)&&p.unshift(a);return a};if(o.skipping&&!s)return null;for(var h=null,g=e.length/1,m=!s,v=0;v<e.length;v++){var b=e[v],y=b._private.rscratch,x=y.imgLayerCaches=y.imgLayerCaches||{},w=x[n];if(w)h=w;else{if((!h||h.eles.length>=g||!i.boundingBoxInBoundingBox(h.bb,b.boundingBox()))&&!(h=f({insert:!0,after:h})))return null;c||m?o.queueLayer(h,b):o.drawEleInLayer(h,b,n,t),h.eles.push(b),x[n]=h}}return c||(m?null:p)},c.getEleLevelForLayerLevel=function(e,t){return e},c.drawEleInLayer=function(e,t,n,r){var i=this.renderer,o=e.context,a=t.boundingBox();if(0!==a.w&&0!==a.h&&t.visible()){var s=this.eleTxrCache,l=s.reasons.highQuality;n=this.getEleLevelForLayerLevel(n,r);var c=s.getElement(t,a,null,n,l);c?(p(o,!1),o.drawImage(c.texture.canvas,c.x,0,c.width,c.height,a.x1,a.y1,a.w,a.h),p(o,!0)):i.drawElement(o,t)}},c.levelIsComplete=function(e,t){var n=this.layersByLevel[e];if(!n||0===n.length)return!1;for(var r=0,i=0;i<n.length;i++){var o=n[i];if(o.reqs>0)return!1;if(o.invalid)return!1;r+=o.eles.length}return r===t.length},c.validateLayersElesOrdering=function(e,t){var n=this.layersByLevel[e];if(n)for(var r=0;r<n.length;r++){for(var i=n[r],o=-1,a=0;a<t.length;a++)if(i.eles[0]===t[a]){o=a;break}if(o<0)this.invalidateLayer(i);else{var s=o;for(a=0;a<i.eles.length;a++)if(i.eles[a]!==t[s+a]){this.invalidateLayer(i);break}}}},c.updateElementsInLayers=function(e,t){for(var n=a.element(e[0]),r=0;r<e.length;r++)for(var i=n?null:e[r],o=n?e[r]:e[r].ele,s=o._private.rscratch,l=s.imgLayerCaches=s.imgLayerCaches||{},c=-4;c<=2;c++){var u=l[c];u&&(i&&this.getEleLevelForLayerLevel(u.level)!==i.level||t(u,o,i))}},c.haveLayers=function(){for(var e=!1,t=-4;t<=2;t++){var n=this.layersByLevel[t];if(n&&n.length>0){e=!0;break}}return e},c.invalidateElements=function(e){var t=this;t.lastInvalidationTime=r.performanceNow(),0!==e.length&&t.haveLayers()&&t.updateElementsInLayers(e,function(e,n,r){t.invalidateLayer(e)})},c.invalidateLayer=function(e){if(this.lastInvalidationTime=r.performanceNow(),!e.invalid){var t=e.level,n=e.eles,i=this.layersByLevel[t];r.removeFromArray(i,e),e.elesQueue=[],e.invalid=!0,e.replacement&&(e.replacement.invalid=!0);for(var o=0;o<n.length;o++){var a=n[o]._private.rscratch.imgLayerCaches;a&&(a[t]=null)}}},c.refineElementTextures=function(e){var t=this;t.updateElementsInLayers(e,function(e,n,r){var i=e.replacement;if(i||((i=e.replacement=t.makeLayer(e.bb,e.level)).replaces=e,i.eles=e.eles),!i.reqs)for(var o=0;o<i.eles.length;o++)t.queueLayer(i,i.eles[o])})},c.setupEleCacheInvalidation=function(){var e=this,t=[];var n=r.debounce(function(){e.refineElementTextures(t),t=[]},50);e.eleTxrCache.onDequeue(function(e){for(var r=0;r<e.length;r++)t.push(e[r]);n()})},c.queueLayer=function(e,t){var n=this.layersQueue,r=e.elesQueue,i=r.hasId=r.hasId||{};if(!e.replacement){if(t){if(i[t.id()])return;r.push(t),i[t.id()]=!0}e.reqs?(e.reqs++,n.updateItem(e)):(e.reqs=1,n.push(e))}},c.dequeue=function(e){for(var t=this.layersQueue,n=[],r=0;r<1&&0!==t.size();){var i=t.peek();if(i.replacement)t.pop();else if(i.replaces&&i!==i.replaces.replacement)t.pop();else if(i.invalid)t.pop();else{var o=i.elesQueue.shift();o&&(this.drawEleInLayer(i,o,i.level,e),r++),0===n.length&&n.push(!0),0===i.elesQueue.length&&(t.pop(),i.reqs=0,i.replaces&&this.applyLayerReplacement(i),this.requestRedraw())}}return n},c.applyLayerReplacement=function(e){var t=this.layersByLevel[e.level],n=e.replaces,r=t.indexOf(n);if(!(r<0||n.invalid)){t[r]=e;for(var i=0;i<e.eles.length;i++){var o=e.eles[i]._private,a=o.imgLayerCaches=o.imgLayerCaches||{};a&&(a[e.level]=e)}this.requestRedraw()}},c.requestRedraw=r.debounce(function(){var e=this.renderer;e.redrawHint("eles",!0),e.redrawHint("drag",!0),e.redraw()},100),c.setupDequeueing=s.setupDequeueing({deqRedrawThreshold:50,deqCost:.15,deqAvgCost:.1,deqNoDrawCost:.9,deqFastCost:.9,deq:function(e,t){return e.dequeue(t)},onDeqd:r.noop,shouldRedraw:r.trueify,priority:function(e){return e.renderer.beforeRenderPriorities.lyrTxrDeq}}),e.exports=l},function(e,t,n){"use strict";var r,i={};i.arrowShapeImpl=function(e){return(r||(r={polygon:function(e,t){for(var n=0;n<t.length;n++){var r=t[n];e.lineTo(r.x,r.y)}},"triangle-backcurve":function(e,t,n){for(var r,i=0;i<t.length;i++){var o=t[i];0===i&&(r=o),e.lineTo(o.x,o.y)}e.quadraticCurveTo(n.x,n.y,r.x,r.y)},"triangle-tee":function(e,t,n){e.beginPath&&e.beginPath();for(var r=t,i=0;i<r.length;i++){var o=r[i];e.lineTo(o.x,o.y)}e.closePath&&e.closePath(),e.beginPath&&e.beginPath();var a=n,s=n[0];e.moveTo(s.x,s.y);for(i=0;i<a.length;i++){o=a[i];e.lineTo(o.x,o.y)}e.closePath&&e.closePath()},"triangle-cross":function(e,t,n){e.beginPath&&e.beginPath();for(var r=t,i=0;i<r.length;i++){var o=r[i];e.lineTo(o.x,o.y)}e.closePath&&e.closePath(),e.beginPath&&e.beginPath();var a=n,s=n[0];e.moveTo(s.x,s.y);for(i=0;i<a.length;i++){o=a[i];e.lineTo(o.x,o.y)}e.closePath&&e.closePath()},circle:function(e,t,n,r){e.arc(t,n,r,0,2*Math.PI,!1)}}))[e]},e.exports=i},function(e,t,n){"use strict";var r=n(2),i={drawElement:function(e,t,n,r){t.isNode()?this.drawNode(e,t,n,r):this.drawEdge(e,t,n,r)},drawCachedElement:function(e,t,n,i){var o=t.boundingBox();if(0!==o.w&&0!==o.h&&(!i||r.boundingBoxesIntersect(o,i))){var a=this.data.eleTxrCache.getElement(t,o,n);null!=a?e.drawImage(a.texture.canvas,a.x,0,a.width,a.height,o.x1,o.y1,o.w,o.h):this.drawElement(e,t)}},drawElements:function(e,t){for(var n=0;n<t.length;n++){var r=t[n];this.drawElement(e,r)}},drawCachedElements:function(e,t,n,r){for(var i=0;i<t.length;i++){var o=t[i];this.drawCachedElement(e,o,n,r)}},drawCachedNodes:function(e,t,n,r){for(var i=0;i<t.length;i++){var o=t[i];o.isNode()&&this.drawCachedElement(e,o,n,r)}},drawLayeredElements:function(e,t,n,r){var i=this.data.lyrTxrCache.getLayers(t,n);if(i)for(var o=0;o<i.length;o++){var a=i[o],s=a.bb;0!==s.w&&0!==s.h&&e.drawImage(a.canvas,s.x1,s.y1,s.w,s.h)}else this.drawCachedElements(e,t,n,r)},drawDebugPoints:function(e,t){for(var n=function(t,n,r){e.fillStyle=r,e.fillRect(t-1,n-1,3,3)},r=0;r<t.length;r++){var i=t[r],o=i._private.rscratch;if(i.isNode()){var a=i.position();n(a.x,a.y,"magenta")}else{for(var s=o.allpts,l=0;l+1<s.length;l+=2){n(s[l],s[l+1],"cyan")}n(o.midX,o.midY,"yellow")}}}};e.exports=i},function(e,t,n){"use strict";var r={drawEdge:function(e,t,n,r){var i=this,o=t._private.rscratch,a=i.usePaths();if(t.visible()&&!o.badLine&&null!=o.allpts&&!isNaN(o.allpts[0])){var s=void 0;n&&(s=n,e.translate(-s.x1,-s.y1));var l=2*t.pstyle("overlay-padding").pfValue,c=t.pstyle("overlay-opacity").value,u=t.pstyle("overlay-color").value,d=t.pstyle("line-color").value,p=t.pstyle("opacity").value,f=t.pstyle("line-style").value,h=t.pstyle("width").pfValue,g=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:p;e.lineWidth=h,e.lineCap="butt",i.strokeStyle(e,d[0],d[1],d[2],n),i.drawEdgePath(t,e,o.allpts,f)},m=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:p;i.drawArrowheads(e,t,n)};if(e.lineJoin="round","yes"===t.pstyle("ghost").value){var v=t.pstyle("ghost-offset-x").pfValue,b=t.pstyle("ghost-offset-y").pfValue,y=t.pstyle("ghost-opacity").value,x=p*y;e.translate(v,b),g(x),m(x),e.translate(-v,-b)}g(),m(),function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c;e.lineWidth=l,"self"!==o.edgeType||a?e.lineCap="round":e.lineCap="butt",i.strokeStyle(e,u[0],u[1],u[2],n),i.drawEdgePath(t,e,o.allpts,"solid")}(),i.drawElementText(e,t,r),n&&e.translate(s.x1,s.y1)}},drawEdgePath:function(e,t,n,r){var i=e._private.rscratch,o=t,a=void 0,s=!1,l=this.usePaths();if(l){var c=n.join("$");i.pathCacheKey&&i.pathCacheKey===c?(a=t=i.pathCache,s=!0):(a=t=new Path2D,i.pathCacheKey=c,i.pathCache=a)}if(o.setLineDash)switch(r){case"dotted":o.setLineDash([1,1]);break;case"dashed":o.setLineDash([6,3]);break;case"solid":o.setLineDash([])}if(!s&&!i.badLine)switch(t.beginPath&&t.beginPath(),t.moveTo(n[0],n[1]),i.edgeType){case"bezier":case"self":case"compound":case"multibezier":if(e.hasClass("horizontal")){var u=n[4],d=n[5],p=(n[0]+n[4])/2;t.lineTo(n[0]+10,n[1]),t.bezierCurveTo(p,n[1],p,n[5],n[4]-10,n[5]),t.lineTo(u,d)}else if(e.hasClass("vertical")){var f=n[4],h=n[5],g=(n[1]+n[5])/2;t.bezierCurveTo(n[0],g,n[4],g,n[4],n[5]-10),t.lineTo(f,h)}else for(var m=2;m+3<n.length;m+=4)t.quadraticCurveTo(n[m],n[m+1],n[m+2],n[m+3]);break;case"straight":case"segments":case"haystack":for(var v=2;v+1<n.length;v+=2)t.lineTo(n[v],n[v+1])}t=o,l?t.stroke(a):t.stroke(),t.setLineDash&&t.setLineDash([])},drawArrowheads:function(e,t,n){var r=t._private.rscratch,i="haystack"===r.edgeType;i||this.drawArrowhead(e,t,"source",r.arrowStartX,r.arrowStartY,r.srcArrowAngle,n),this.drawArrowhead(e,t,"mid-target",r.midX,r.midY,r.midtgtArrowAngle,n),this.drawArrowhead(e,t,"mid-source",r.midX,r.midY,r.midsrcArrowAngle,n),i||(t.hasClass("horizontal")?this.drawArrowhead(e,t,"target",r.arrowEndX,r.arrowEndY,-Math.PI/2,n):t.hasClass("vertical")?this.drawArrowhead(e,t,"target",r.arrowEndX,r.arrowEndY,0,n):this.drawArrowhead(e,t,"target",r.arrowEndX,r.arrowEndY,r.tgtArrowAngle,n))},drawArrowhead:function(e,t,n,r,i,o,a){if(!(isNaN(r)||null==r||isNaN(i)||null==i||isNaN(o)||null==o)){var s=t.pstyle(n+"-arrow-shape").value;if("none"!==s){var l="hollow"===t.pstyle(n+"-arrow-fill").value?"both":"filled",c=t.pstyle(n+"-arrow-fill").value,u=t.pstyle("width").pfValue,d=t.pstyle("opacity").value;void 0===a&&(a=d);var p=e.globalCompositeOperation;1===a&&"hollow"!==c||(e.globalCompositeOperation="destination-out",this.fillStyle(e,255,255,255,1),this.strokeStyle(e,255,255,255,1),this.drawArrowShape(t,n,e,l,u,s,r,i,o),e.globalCompositeOperation=p);var f=t.pstyle(n+"-arrow-color").value;this.fillStyle(e,f[0],f[1],f[2],a),this.strokeStyle(e,f[0],f[1],f[2],a),this.drawArrowShape(t,n,e,c,u,s,r,i,o)}}},drawArrowShape:function(e,t,n,r,i,o,a,s,l){var c=this.usePaths(),u=e._private.rscratch,d=!1,p=void 0,f=n,h={x:a,y:s},g=e.pstyle("arrow-scale").value,m=this.getArrowWidth(i,g),v=this.arrowShapes[o];if(c){var b=m+"$"+o+"$"+l+"$"+a+"$"+s;u.arrowPathCacheKey=u.arrowPathCacheKey||{},u.arrowPathCache=u.arrowPathCache||{},u.arrowPathCacheKey[t]===b?(p=n=u.arrowPathCache[t],d=!0):(p=n=new Path2D,u.arrowPathCacheKey[t]=b,u.arrowPathCache[t]=p)}n.beginPath&&n.beginPath(),d||v.draw(n,m,l,h,i),!v.leavePathOpen&&n.closePath&&n.closePath(),n=f,"filled"!==r&&"both"!==r||(c?n.fill(p):n.fill()),"hollow"!==r&&"both"!==r||(n.lineWidth=v.matchEdgeWidth?i:1,n.lineJoin="miter",c?n.stroke(p):n.stroke())}};e.exports=r},function(e,t,n){"use strict";var r={safeDrawImage:function(e,t,n,r,i,o,a,s,l,c){i<=0||o<=0||l<=0||c<=0||e.drawImage(t,n,r,i,o,a,s,l,c)},drawInscribedImage:function(e,t,n,r,i){var o=this,a=n.position(),s=a.x,l=a.y,c=n.cy().style(),u=c.getIndexedStyle.bind(c),d=u(n,"background-fit","value",r),p=u(n,"background-repeat","value",r),f=n.width(),h=n.height(),g=2*n.padding(),m=f+("inner"===u(n,"background-width-relative-to","value",r)?0:g),v=h+("inner"===u(n,"background-height-relative-to","value",r)?0:g),b=n._private.rscratch,y="node"===n.pstyle("background-clip").value,x=u(n,"background-image-opacity","value",r)*i,w=t.width||t.cachedW,k=t.height||t.cachedH;null!=w&&null!=k||(document.body.appendChild(t),w=t.cachedW=t.width||t.offsetWidth,k=t.cachedH=t.height||t.offsetHeight,document.body.removeChild(t));var _=w,$=k;if("auto"!==u(n,"background-width","value",r)&&(_="%"===u(n,"background-width","units",r)?u(n,"background-width","pfValue",r)*m:u(n,"background-width","pfValue",r)),"auto"!==u(n,"background-height","value",r)&&($="%"===u(n,"background-height","units",r)?u(n,"background-height","pfValue",r)*v:u(n,"background-height","pfValue",r)),0!==_&&0!==$){if("contain"===d)_*=E=Math.min(m/_,v/$),$*=E;else if("cover"===d){var E;_*=E=Math.max(m/_,v/$),$*=E}var S=s-m/2;"%"===u(n,"background-position-x","units",r)?S+=(m-_)*u(n,"background-position-x","pfValue",r):S+=u(n,"background-position-x","pfValue",r);var C=l-v/2;"%"===u(n,"background-position-y","units",r)?C+=(v-$)*u(n,"background-position-y","pfValue",r):C+=u(n,"background-position-y","pfValue",r),b.pathCache&&(S-=s,C-=l,s=0,l=0);var T=e.globalAlpha;if(e.globalAlpha=x,"no-repeat"===p)y&&(e.save(),b.pathCache?e.clip(b.pathCache):(o.nodeShapes[o.getNodeShape(n)].draw(e,s,l,m,v),e.clip())),o.safeDrawImage(e,t,0,0,w,k,S,C,_,$),y&&e.restore();else{var A=e.createPattern(t,p);e.fillStyle=A,o.nodeShapes[o.getNodeShape(n)].draw(e,s,l,m,v),e.translate(S,C),e.fill(),e.translate(-S,-C)}e.globalAlpha=T}}};e.exports=r},function(e,t,n){"use strict";var r=n(1),i=n(2),o={};o.eleTextBiggerThanMin=function(e,t){if(!t){var n=e.cy().zoom(),r=this.getPixelRatio(),o=Math.ceil(i.log2(n*r));t=Math.pow(2,o)}return!(e.pstyle("font-size").pfValue*t<e.pstyle("min-zoomed-font-size").pfValue)},o.drawElementText=function(e,t,n){var r=this;if(void 0===n){if(!r.eleTextBiggerThanMin(t))return}else if(!n)return;if(t.isNode()){if(!(o=t.pstyle("label"))||!o.value)return;var i=t.pstyle("text-halign").strValue;t.pstyle("text-valign").strValue;switch(i){case"left":e.textAlign="right";break;case"right":e.textAlign="left";break;default:e.textAlign="center"}e.textBaseline="bottom"}else{var o=t.pstyle("label"),a=t.pstyle("source-label"),s=t.pstyle("target-label");if(!(o&&o.value||a&&a.value||s&&s.value))return;e.textAlign="center",e.textBaseline="bottom"}r.drawText(e,t),t.isEdge()&&(r.drawText(e,t,"source"),r.drawText(e,t,"target"))},o.drawNodeText=o.drawEdgeText=o.drawElementText,o.getFontCache=function(e){var t;this.fontCaches=this.fontCaches||[];for(var n=0;n<this.fontCaches.length;n++)if((t=this.fontCaches[n]).context===e)return t;return t={context:e},this.fontCaches.push(t),t},o.setupTextStyle=function(e,t){var n=t.effectiveOpacity(),r=t.pstyle("font-style").strValue,i=t.pstyle("font-size").pfValue+"px",o=t.pstyle("font-family").strValue,a=t.pstyle("font-weight").strValue,s=t.pstyle("text-opacity").value*t.pstyle("opacity").value*n,l=t.pstyle("text-outline-opacity").value*s,c=t.pstyle("color").value,u=t.pstyle("text-outline-color").value,d=t._private.fontKey,p=this.getFontCache(e);p.key!==d&&(e.font=r+" "+a+" "+i+" "+o,p.key=d),e.lineJoin="round",this.fillStyle(e,c[0],c[1],c[2],s),this.strokeStyle(e,u[0],u[1],u[2],l)},o.drawText=function(e,t,n){var i=t._private.rscratch,o=t.effectiveOpacity();if(0!==o&&0!==t.pstyle("text-opacity").value){var a=r.getPrefixedProperty(i,"labelX",n),s=r.getPrefixedProperty(i,"labelY",n),l=this.getLabelText(t,n);if(null!=l&&""!==l&&!isNaN(a)&&!isNaN(s)){this.setupTextStyle(e,t);var c=n?n+"-":"",u=r.getPrefixedProperty(i,"labelWidth",n),d=r.getPrefixedProperty(i,"labelHeight",n),p=r.getPrefixedProperty(i,"labelAngle",n),f=t.pstyle(c+"text-margin-x").pfValue,h=t.pstyle(c+"text-margin-y").pfValue,g=t.isEdge(),m=(t.isNode(),t.pstyle("text-halign").value),v=t.pstyle("text-valign").value;g&&(m="center",v="center"),a+=f,s+=h;var b,y=t.pstyle("text-rotation");if(0!==(b="autorotate"===y.strValue?g?p:0:"none"===y.strValue?0:y.pfValue)){var x=a,w=s;e.translate(x,w),e.rotate(b),a=0,s=0}switch(v){case"top":break;case"center":s+=d/2;break;case"bottom":s+=d}var k=t.pstyle("text-background-opacity").value,_=t.pstyle("text-border-opacity").value,$=t.pstyle("text-border-width").pfValue,E=t.pstyle("text-background-padding").pfValue;if(k>0||$>0&&_>0){var S=a-E;switch(m){case"left":S-=u;break;case"center":S-=u/2}var C=s-d-E,T=u+2*E,A=d+2*E;if(k>0){var P=e.fillStyle,O=t.pstyle("text-background-color").value;e.fillStyle="rgba("+O[0]+","+O[1]+","+O[2]+","+k*o+")","roundrectangle"==t.pstyle("text-background-shape").strValue?function(e,t,n,r,i,o){o=o||5,e.beginPath(),e.moveTo(t+o,n),e.lineTo(t+r-o,n),e.quadraticCurveTo(t+r,n,t+r,n+o),e.lineTo(t+r,n+i-o),e.quadraticCurveTo(t+r,n+i,t+r-o,n+i),e.lineTo(t+o,n+i),e.quadraticCurveTo(t,n+i,t,n+i-o),e.lineTo(t,n+o),e.quadraticCurveTo(t,n,t+o,n),e.closePath(),e.fill()}(e,S,C,T,A,2):e.fillRect(S,C,T,A),e.fillStyle=P}if($>0&&_>0){var R=e.strokeStyle,j=e.lineWidth,D=t.pstyle("text-border-color").value,I=t.pstyle("text-border-style").value;if(e.strokeStyle="rgba("+D[0]+","+D[1]+","+D[2]+","+_*o+")",e.lineWidth=$,e.setLineDash)switch(I){case"dotted":e.setLineDash([1,1]);break;case"dashed":e.setLineDash([4,2]);break;case"double":e.lineWidth=$/4,e.setLineDash([]);break;case"solid":e.setLineDash([])}if(e.strokeRect(S,C,T,A),"double"===I){var N=$/2;e.strokeRect(S+N,C+N,T-2*N,A-2*N)}e.setLineDash&&e.setLineDash([]),e.lineWidth=j,e.strokeStyle=R}}var M=2*t.pstyle("text-outline-width").pfValue;if(M>0&&(e.lineWidth=M),"wrap"===t.pstyle("text-wrap").value){var z=r.getPrefixedProperty(i,"labelWrapCachedLines",n),L=d/z.length;switch(v){case"top":s-=(z.length-1)*L;break;case"center":case"bottom":s-=(z.length-1)*L}for(var q=0;q<z.length;q++)M>0&&e.strokeText(z[q],a,s),e.fillText(z[q],a,s),s+=L}else M>0&&e.strokeText(l,a,s),e.fillText(l,a,s);0!==b&&(e.rotate(-b),e.translate(-x,-w))}}},e.exports=o},function(e,t,n){"use strict";var r=n(0),i={drawNode:function(e,t,n,i){var o,a,s=this,l=t._private,c=l.rscratch,u=t.position();if(r.number(u.x)&&r.number(u.y)&&t.visible()){var d=t.effectiveOpacity(),p=s.usePaths(),f=void 0,h=!1,g=t.padding();o=t.width()+2*g,a=t.height()+2*g;var m=void 0;n&&(m=n,e.translate(-m.x1,-m.y1));for(var v=t.pstyle("background-image").value,b=new Array(v.length),y=new Array(v.length),x=0,w=0;w<v.length;w++){var k=v[w];if(b[w]=null!=k&&"none"!==k){var _=t.cy().style().getIndexedStyle(t,"background-image-crossorigin","value",w);x++,y[w]=s.getCachedImage(k,_,function(){t.emitAndNotify("background")})}}var $=t.pstyle("background-blacken").value,E=t.pstyle("border-width").pfValue,S=t.pstyle("background-color").value,C=t.pstyle("background-opacity").value*d,T=t.pstyle("border-color").value,A=t.pstyle("border-style").value,P=t.pstyle("border-opacity").value*d;e.lineJoin="miter";var O=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:C;s.fillStyle(e,S[0],S[1],S[2],t)},R=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:P;s.strokeStyle(e,T[0],T[1],T[2],t)},j=t.pstyle("shape").strValue,D=t.pstyle("shape-polygon-points").pfValue;if(p){var I=j+"$"+o+"$"+a+("polygon"===j?"$"+D.join("$"):"");e.translate(u.x,u.y),c.pathCacheKey===I?(f=c.pathCache,h=!0):(f=new Path2D,c.pathCacheKey=I,c.pathCache=f)}var N=function(){if(!h){var n=u;p&&(n={x:0,y:0}),s.nodeShapes[s.getNodeShape(t)].draw(f||e,n.x,n.y,o,a)}p?e.fill(f):e.fill()},M=function(){for(var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:d,r=l.backgrounding,i=0,o=0;o<y.length;o++)b[o]&&y[o].complete&&!y[o].error&&(i++,s.drawInscribedImage(e,y[o],t,o,n));l.backgrounding=!(i===x),r!==l.backgrounding&&t.updateStyle(!1)},z=function(){var n=arguments.length>0&&void 0!==arguments[0]&&arguments[0],r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:d;s.hasPie(t)&&(s.drawPie(e,t,r),n&&(p||s.nodeShapes[s.getNodeShape(t)].draw(e,u.x,u.y,o,a)))},L=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:d,n=($>0?$:-$)*t,r=$>0?0:255;0!==$&&(s.fillStyle(e,r,r,r,n),p?e.fill(f):e.fill())},q=function(){if(E>0){if(e.lineWidth=E,e.lineCap="butt",e.setLineDash)switch(A){case"dotted":e.setLineDash([1,1]);break;case"dashed":e.setLineDash([4,2]);break;case"solid":case"double":e.setLineDash([])}if(p?e.stroke(f):e.stroke(),"double"===A){e.lineWidth=E/3;var t=e.globalCompositeOperation;e.globalCompositeOperation="destination-out",p?e.stroke(f):e.stroke(),e.globalCompositeOperation=t}e.setLineDash&&e.setLineDash([])}};if("yes"===t.pstyle("ghost").value){var B=t.pstyle("ghost-offset-x").pfValue,V=t.pstyle("ghost-offset-y").pfValue,F=t.pstyle("ghost-opacity").value,U=F*d;e.translate(B,V),O(F*C),N(),M(U),z(0!==$||0!==E),L(U),R(F*P),q(),e.translate(-B,-V)}O(),N(),M(),z(0!==$||0!==E),L(),R(),q(),p&&e.translate(-u.x,-u.y),s.drawElementText(e,t,i),function(){var n=t.pstyle("overlay-padding").pfValue,r=t.pstyle("overlay-opacity").value,i=t.pstyle("overlay-color").value;r>0&&(s.fillStyle(e,i[0],i[1],i[2],r),s.nodeShapes.roundrectangle.draw(e,u.x,u.y,o+2*n,a+2*n),e.fill())}(),n&&e.translate(m.x1,m.y1)}},hasPie:function(e){return(e=e[0])._private.hasPie},drawPie:function(e,t,n,r){t=t[0],r=r||t.position();var i=t.cy().style(),o=t.pstyle("pie-size"),a=r.x,s=r.y,l=t.width(),c=t.height(),u=Math.min(l,c)/2,d=0;this.usePaths()&&(a=0,s=0),"%"===o.units?u*=o.pfValue:void 0!==o.pfValue&&(u=o.pfValue/2);for(var p=1;p<=i.pieBackgroundN;p++){var f=t.pstyle("pie-"+p+"-background-size").value,h=t.pstyle("pie-"+p+"-background-color").value,g=t.pstyle("pie-"+p+"-background-opacity").value*n,m=f/100;m+d>1&&(m=1-d);var v=1.5*Math.PI+2*Math.PI*d,b=v+2*Math.PI*m;0===f||d>=1||d+m>1||(e.beginPath(),e.moveTo(a,s),e.arc(a,s,u,v,b),e.closePath(),this.fillStyle(e,h[0],h[1],h[2],g),e.fill(),d+=m)}}};e.exports=i},function(e,t,n){"use strict";var r={},i=n(1);r.getPixelRatio=function(){var e=this.data.contexts[0];if(null!=this.forcedPixelRatio)return this.forcedPixelRatio;var t=e.backingStorePixelRatio||e.webkitBackingStorePixelRatio||e.mozBackingStorePixelRatio||e.msBackingStorePixelRatio||e.oBackingStorePixelRatio||e.backingStorePixelRatio||1;return(window.devicePixelRatio||1)/t},r.paintCache=function(e){for(var t,n=this.paintCaches=this.paintCaches||[],r=!0,i=0;i<n.length;i++)if((t=n[i]).context===e){r=!1;break}return r&&(t={context:e},n.push(t)),t},r.fillStyle=function(e,t,n,r,i){e.fillStyle="rgba("+t+","+n+","+r+","+i+")"},r.strokeStyle=function(e,t,n,r,i){e.strokeStyle="rgba("+t+","+n+","+r+","+i+")"},r.matchCanvasSize=function(e){var t=this,n=t.data,r=t.findContainerClientCoords(),i=r[2],o=r[3],a=t.getPixelRatio(),s=t.motionBlurPxRatio;e!==t.data.bufferCanvases[t.MOTIONBLUR_BUFFER_NODE]&&e!==t.data.bufferCanvases[t.MOTIONBLUR_BUFFER_DRAG]||(a=s);var l,c=i*a,u=o*a;if(c!==t.canvasWidth||u!==t.canvasHeight){t.fontCaches=null;var d=n.canvasContainer;d.style.width=i+"px",d.style.height=o+"px";for(var p=0;p<t.CANVAS_LAYERS;p++)(l=n.canvases[p]).width=c,l.height=u,l.style.width=i+"px",l.style.height=o+"px";for(p=0;p<t.BUFFER_COUNT;p++)(l=n.bufferCanvases[p]).width=c,l.height=u,l.style.width=i+"px",l.style.height=o+"px";t.textureMult=1,a<=1&&(l=n.bufferCanvases[t.TEXTURE_BUFFER],t.textureMult=2,l.width=c*t.textureMult,l.height=u*t.textureMult),t.canvasWidth=c,t.canvasHeight=u}},r.renderTo=function(e,t,n,r){this.render({forcedContext:e,forcedZoom:t,forcedPan:n,drawAllLayers:!0,forcedPxRatio:r})},r.render=function(e){var t=(e=e||i.staticEmptyObject()).forcedContext,n=e.drawAllLayers,r=e.drawOnlyNodeLayer,o=e.forcedZoom,a=e.forcedPan,s=this,l=void 0===e.forcedPxRatio?this.getPixelRatio():e.forcedPxRatio,c=s.cy,u=s.data,d=u.canvasNeedsRedraw,p=s.textureOnViewport&&!t&&(s.pinching||s.hoverData.dragging||s.swipePanning||s.data.wheelZooming),f=void 0!==e.motionBlur?e.motionBlur:s.motionBlur,h=s.motionBlurPxRatio,g=c.hasCompoundNodes(),m=s.hoverData.draggingEles,v=!(!s.hoverData.selecting&&!s.touchData.selecting),b=f=f&&!t&&s.motionBlurEnabled&&!v;t||(s.prevPxRatio!==l&&(s.invalidateContainerClientCoordsCache(),s.matchCanvasSize(s.container),s.redrawHint("eles",!0),s.redrawHint("drag",!0)),s.prevPxRatio=l),!t&&s.motionBlurTimeout&&clearTimeout(s.motionBlurTimeout),f&&(null==s.mbFrames&&(s.mbFrames=0),s.mbFrames++,s.mbFrames<3&&(b=!1),s.mbFrames>s.minMbLowQualFrames&&(s.motionBlurPxRatio=s.mbPxRBlurry)),s.clearingMotionBlur&&(s.motionBlurPxRatio=1),s.textureDrawLastFrame&&!p&&(d[s.NODE]=!0,d[s.SELECT_BOX]=!0);var y=c.style()._private.coreStyle,x=c.zoom(),w=void 0!==o?o:x,k=c.pan(),_={x:k.x,y:k.y},$={zoom:x,pan:{x:k.x,y:k.y}},E=s.prevViewport;void 0===E||$.zoom!==E.zoom||$.pan.x!==E.pan.x||$.pan.y!==E.pan.y||m&&!g||(s.motionBlurPxRatio=1),a&&(_=a),w*=l,_.x*=l,_.y*=l;var S=s.getCachedZSortedEles();function C(e,t,n,r,i){var o=e.globalCompositeOperation;e.globalCompositeOperation="destination-out",s.fillStyle(e,255,255,255,s.motionBlurTransparency),e.fillRect(t,n,r,i),e.globalCompositeOperation=o}function T(e,r){var i,l,c,d;s.clearingMotionBlur||e!==u.bufferContexts[s.MOTIONBLUR_BUFFER_NODE]&&e!==u.bufferContexts[s.MOTIONBLUR_BUFFER_DRAG]?(i=_,l=w,c=s.canvasWidth,d=s.canvasHeight):(i={x:k.x*h,y:k.y*h},l=x*h,c=s.canvasWidth*h,d=s.canvasHeight*h),e.setTransform(1,0,0,1,0,0),"motionBlur"===r?C(e,0,0,c,d):t||void 0!==r&&!r||e.clearRect(0,0,c,d),n||(e.translate(i.x,i.y),e.scale(l,l)),a&&e.translate(a.x,a.y),o&&e.scale(o,o)}if(p||(s.textureDrawLastFrame=!1),p){if(s.textureDrawLastFrame=!0,!s.textureCache){s.textureCache={},s.textureCache.bb=c.mutableElements().boundingBox(),s.textureCache.texture=s.data.bufferCanvases[s.TEXTURE_BUFFER];var A=s.data.bufferContexts[s.TEXTURE_BUFFER];A.setTransform(1,0,0,1,0,0),A.clearRect(0,0,s.canvasWidth*s.textureMult,s.canvasHeight*s.textureMult),s.render({forcedContext:A,drawOnlyNodeLayer:!0,forcedPxRatio:l*s.textureMult}),($=s.textureCache.viewport={zoom:c.zoom(),pan:c.pan(),width:s.canvasWidth,height:s.canvasHeight}).mpan={x:(0-$.pan.x)/$.zoom,y:(0-$.pan.y)/$.zoom}}d[s.DRAG]=!1,d[s.NODE]=!1;var P=u.contexts[s.NODE],O=s.textureCache.texture;$=s.textureCache.viewport;s.textureCache.bb,P.setTransform(1,0,0,1,0,0),f?C(P,0,0,$.width,$.height):P.clearRect(0,0,$.width,$.height);var R=y["outside-texture-bg-color"].value,j=y["outside-texture-bg-opacity"].value;s.fillStyle(P,R[0],R[1],R[2],j),P.fillRect(0,0,$.width,$.height);x=c.zoom();T(P,!1),P.clearRect($.mpan.x,$.mpan.y,$.width/$.zoom/l,$.height/$.zoom/l),P.drawImage(O,$.mpan.x,$.mpan.y,$.width/$.zoom/l,$.height/$.zoom/l)}else s.textureOnViewport&&!t&&(s.textureCache=null);var D=c.extent(),I=s.pinching||s.hoverData.dragging||s.swipePanning||s.data.wheelZooming||s.hoverData.draggingEles,N=s.hideEdgesOnViewport&&I,M=[];if(M[s.NODE]=!d[s.NODE]&&f&&!s.clearedForMotionBlur[s.NODE]||s.clearingMotionBlur,M[s.NODE]&&(s.clearedForMotionBlur[s.NODE]=!0),M[s.DRAG]=!d[s.DRAG]&&f&&!s.clearedForMotionBlur[s.DRAG]||s.clearingMotionBlur,M[s.DRAG]&&(s.clearedForMotionBlur[s.DRAG]=!0),d[s.NODE]||n||r||M[s.NODE]){var z=f&&!M[s.NODE]&&1!==h;T(P=t||(z?s.data.bufferContexts[s.MOTIONBLUR_BUFFER_NODE]:u.contexts[s.NODE]),f&&!z?"motionBlur":void 0),N?s.drawCachedNodes(P,S.nondrag,l,D):s.drawLayeredElements(P,S.nondrag,l,D),s.debug&&s.drawDebugPoints(P,S.nondrag),n||f||(d[s.NODE]=!1)}if(!r&&(d[s.DRAG]||n||M[s.DRAG])){z=f&&!M[s.DRAG]&&1!==h;T(P=t||(z?s.data.bufferContexts[s.MOTIONBLUR_BUFFER_DRAG]:u.contexts[s.DRAG]),f&&!z?"motionBlur":void 0),N?s.drawCachedNodes(P,S.drag,l,D):s.drawCachedElements(P,S.drag,l,D),s.debug&&s.drawDebugPoints(P,S.drag),n||f||(d[s.DRAG]=!1)}if(s.showFps||!r&&d[s.SELECT_BOX]&&!n){if(T(P=t||u.contexts[s.SELECT_BOX]),1==s.selection[4]&&(s.hoverData.selecting||s.touchData.selecting)){x=s.cy.zoom();var L=y["selection-box-border-width"].value/x;P.lineWidth=L,P.fillStyle="rgba("+y["selection-box-color"].value[0]+","+y["selection-box-color"].value[1]+","+y["selection-box-color"].value[2]+","+y["selection-box-opacity"].value+")",P.fillRect(s.selection[0],s.selection[1],s.selection[2]-s.selection[0],s.selection[3]-s.selection[1]),L>0&&(P.strokeStyle="rgba("+y["selection-box-border-color"].value[0]+","+y["selection-box-border-color"].value[1]+","+y["selection-box-border-color"].value[2]+","+y["selection-box-opacity"].value+")",P.strokeRect(s.selection[0],s.selection[1],s.selection[2]-s.selection[0],s.selection[3]-s.selection[1]))}if(u.bgActivePosistion&&!s.hoverData.selecting){x=s.cy.zoom();var q=u.bgActivePosistion;P.fillStyle="rgba("+y["active-bg-color"].value[0]+","+y["active-bg-color"].value[1]+","+y["active-bg-color"].value[2]+","+y["active-bg-opacity"].value+")",P.beginPath(),P.arc(q.x,q.y,y["active-bg-size"].pfValue/x,0,2*Math.PI),P.fill()}var B=s.lastRedrawTime;if(s.showFps&&B){B=Math.round(B);var V=Math.round(1e3/B);P.setTransform(1,0,0,1,0,0),P.fillStyle="rgba(255, 0, 0, 0.75)",P.strokeStyle="rgba(255, 0, 0, 0.75)",P.lineWidth=1,P.fillText("1 frame = "+B+" ms = "+V+" fps",0,20);P.strokeRect(0,30,250,20),P.fillRect(0,30,250*Math.min(V/60,1),20)}n||(d[s.SELECT_BOX]=!1)}if(f&&1!==h){var F=u.contexts[s.NODE],U=s.data.bufferCanvases[s.MOTIONBLUR_BUFFER_NODE],H=u.contexts[s.DRAG],W=s.data.bufferCanvases[s.MOTIONBLUR_BUFFER_DRAG],G=function(e,t,n){e.setTransform(1,0,0,1,0,0),n||!b?e.clearRect(0,0,s.canvasWidth,s.canvasHeight):C(e,0,0,s.canvasWidth,s.canvasHeight);var r=h;e.drawImage(t,0,0,s.canvasWidth*r,s.canvasHeight*r,0,0,s.canvasWidth,s.canvasHeight)};(d[s.NODE]||M[s.NODE])&&(G(F,U,M[s.NODE]),d[s.NODE]=!1),(d[s.DRAG]||M[s.DRAG])&&(G(H,W,M[s.DRAG]),d[s.DRAG]=!1)}s.prevViewport=$,s.clearingMotionBlur&&(s.clearingMotionBlur=!1,s.motionBlurCleared=!0,s.motionBlur=!0),f&&(s.motionBlurTimeout=setTimeout(function(){s.motionBlurTimeout=null,s.clearedForMotionBlur[s.NODE]=!1,s.clearedForMotionBlur[s.DRAG]=!1,s.motionBlur=!1,s.clearingMotionBlur=!p,s.mbFrames=0,d[s.NODE]=!0,d[s.DRAG]=!0,s.redraw()},100)),t||c.emit("render")},e.exports=r},function(e,t,n){"use strict";for(var r=n(2),i={drawPolygonPath:function(e,t,n,r,i,o){var a=r/2,s=i/2;e.beginPath&&e.beginPath(),e.moveTo(t+a*o[0],n+s*o[1]);for(var l=1;l<o.length/2;l++)e.lineTo(t+a*o[2*l],n+s*o[2*l+1]);e.closePath()},drawRoundRectanglePath:function(e,t,n,i,o){var a=i/2,s=o/2,l=r.getRoundRectangleRadius(i,o);e.beginPath&&e.beginPath(),e.moveTo(t,n-s),e.arcTo(t+a,n-s,t+a,n,l),e.arcTo(t+a,n+s,t,n+s,l),e.arcTo(t-a,n+s,t-a,n,l),e.arcTo(t-a,n-s,t,n-s,l),e.lineTo(t,n-s),e.closePath()},drawBottomRoundRectanglePath:function(e,t,n,i,o){var a=i/2,s=o/2,l=r.getRoundRectangleRadius(i,o);e.beginPath&&e.beginPath(),e.moveTo(t,n-s),e.lineTo(t+a,n-s),e.lineTo(t+a,n),e.arcTo(t+a,n+s,t,n+s,l),e.arcTo(t-a,n+s,t-a,n,l),e.lineTo(t-a,n-s),e.lineTo(t,n-s),e.closePath()},drawCutRectanglePath:function(e,t,n,i,o){var a=i/2,s=o/2,l=r.getCutRectangleCornerLength();e.beginPath&&e.beginPath(),e.moveTo(t-a+l,n-s),e.lineTo(t+a-l,n-s),e.lineTo(t+a,n-s+l),e.lineTo(t+a,n+s-l),e.lineTo(t+a-l,n+s),e.lineTo(t-a+l,n+s),e.lineTo(t-a,n+s-l),e.lineTo(t-a,n-s+l),e.closePath()},drawBarrelPath:function(e,t,n,i,o){var a=i/2,s=o/2,l=t-a,c=t+a,u=n-s,d=n+s,p=r.getBarrelCurveConstants(i,o),f=p.widthOffset,h=p.heightOffset,g=p.ctrlPtOffsetPct*f;e.beginPath&&e.beginPath(),e.moveTo(l,u+h),e.lineTo(l,d-h),e.quadraticCurveTo(l+g,d,l+f,d),e.lineTo(c-f,d),e.quadraticCurveTo(c-g,d,c,d-h),e.lineTo(c,u+h),e.quadraticCurveTo(c-g,u,c-f,u),e.lineTo(l+f,u),e.quadraticCurveTo(l+g,u,l,u+h),e.closePath()}},o=Math.sin(0),a=Math.cos(0),s={},l={},c=Math.PI/40,u=0*Math.PI;u<2*Math.PI;u+=c)s[u]=Math.sin(u),l[u]=Math.cos(u);i.drawEllipsePath=function(e,t,n,r,i){if(e.beginPath&&e.beginPath(),e.ellipse)e.ellipse(t,n,r/2,i/2,0,0,2*Math.PI);else for(var u,d,p=r/2,f=i/2,h=0*Math.PI;h<2*Math.PI;h+=c)u=t-p*s[h]*o+p*l[h]*a,d=n+f*l[h]*o+f*s[h]*a,0===h?e.moveTo(u,d):e.lineTo(u,d);e.closePath()},e.exports=i},function(e,t,n){"use strict";var r=n(0),i={};function o(e){var t=e.indexOf(",");return e.substr(t+1)}function a(e,t,n){var r=t.toDataURL(n,e.quality);switch(e.output){case"blob":return function(e,t){for(var n=atob(e),r=new ArrayBuffer(n.length),i=new Uint8Array(r),o=0;o<n.length;o++)i[o]=n.charCodeAt(o);return new Blob([r],{type:t})}(o(r),n);case"base64":return o(r);case"base64uri":default:return r}}i.createBuffer=function(e,t){var n=document.createElement("canvas");return n.width=e,n.height=t,[n,n.getContext("2d")]},i.bufferCanvasImage=function(e){var t=this.cy,n=t.mutableElements().boundingBox(),i=this.findContainerClientCoords(),o=e.full?Math.ceil(n.w):i[2],a=e.full?Math.ceil(n.h):i[3],s=r.number(e.maxWidth)||r.number(e.maxHeight),l=this.getPixelRatio(),c=1;if(void 0!==e.scale)o*=e.scale,a*=e.scale,c=e.scale;else if(s){var u=1/0,d=1/0;r.number(e.maxWidth)&&(u=c*e.maxWidth/o),r.number(e.maxHeight)&&(d=c*e.maxHeight/a),o*=c=Math.min(u,d),a*=c}s||(o*=l,a*=l,c*=l);var p=document.createElement("canvas");p.width=o,p.height=a,p.style.width=o+"px",p.style.height=a+"px";var f=p.getContext("2d");if(o>0&&a>0){f.clearRect(0,0,o,a),f.globalCompositeOperation="source-over";var h=this.getCachedZSortedEles();if(e.full)f.translate(-n.x1*c,-n.y1*c),f.scale(c,c),this.drawElements(f,h),f.scale(1/c,1/c),f.translate(n.x1*c,n.y1*c);else{var g=t.pan(),m={x:g.x*c,y:g.y*c};c*=t.zoom(),f.translate(m.x,m.y),f.scale(c,c),this.drawElements(f,h),f.scale(1/c,1/c),f.translate(-m.x,-m.y)}e.bg&&(f.globalCompositeOperation="destination-over",f.fillStyle=e.bg,f.rect(0,0,o,a),f.fill())}return p},i.png=function(e){return a(e,this.bufferCanvasImage(e),"image/png")},i.jpg=function(e){return a(e,this.bufferCanvasImage(e),"image/jpeg")},e.exports=i},function(e,t,n){"use strict";var r={nodeShapeImpl:function(e,t,n,r,i,o,a){switch(e){case"ellipse":return this.drawEllipsePath(t,n,r,i,o);case"polygon":return this.drawPolygonPath(t,n,r,i,o,a);case"roundrectangle":return this.drawRoundRectanglePath(t,n,r,i,o);case"cutrectangle":return this.drawCutRectanglePath(t,n,r,i,o);case"bottomroundrectangle":return this.drawBottomRoundRectanglePath(t,n,r,i,o);case"barrel":return this.drawBarrelPath(t,n,r,i,o)}}};e.exports=r},function(e,t,n){"use strict";var r=n(0),i=n(1),o=n(18),a=function e(){if(!(this instanceof e))return new e;this.length=0},s=a.prototype;s.instanceString=function(){return"stylesheet"},s.selector=function(e){return this[this.length++]={selector:e,properties:[]},this},s.css=function(e,t){var n=this.length-1;if(r.string(e))this[n].properties.push({name:e,value:t});else if(r.plainObject(e))for(var a=e,s=0;s<o.properties.length;s++){var l=o.properties[s],c=a[l.name];if(void 0===c&&(c=a[i.dash2camel(l.name)]),void 0!==c){var u=l.name,d=c;this[n].properties.push({name:u,value:d})}}return this},s.style=s.css,s.generateStyle=function(e){var t=new o(e);return this.appendToStyle(t)},s.appendToStyle=function(e){for(var t=0;t<this.length;t++){var n=this[t],r=n.selector,i=n.properties;e.selector(r);for(var o=0;o<i.length;o++){var a=i[o];e.css(a.name,a.value)}}return e},e.exports=a},function(e,t,n){"use strict";e.exports="snapshot-2fd4aa6cc2-1531011493999"}])})}).call(this,n(164).setImmediate)},function(e,t){var n="/components/graph/graph-viz.html";window.angular.module("ng").run(["$templateCache",function(e){e.put(n,"<div id='cy' style=\"width: 100%; height: 100%; \"></div>\n")}]),e.exports=n},function(e,t,n){(e.exports=n(20)(!1)).push([e.i,'\n.cy-context-menus-cxt-menu {\n    display:none;\n    z-index:1000;\n    position:absolute;\n    border:1px solid #A0A0A0;\n    padding: 0;\n    margin: 0;\n    width:auto;\n}\n\n.cy-context-menus-cxt-menuitem {\n    display:block;\n    z-index:1000;\n    width: 100%;\n    padding: 3px 20px;\n    position:relative;\n    margin:0;\n    background-color:#f8f8f8;\n    font-weight:normal;\n    font-size: 12px;\n    white-space:nowrap;\n    border: 0;\n    text-align: left;\n}\n\n.cy-context-menus-cxt-menuitem:enabled {\n    color: #000000;\n}\n\n.cy-context-menus-ctx-operation:focus {\n  outline: none;\n}\n\n.cy-context-menus-cxt-menuitem:hover {\n    color: #ffffff;\n    text-decoration: none;\n    background-color: #0B9BCD;\n    background-image: none;\n    cursor: pointer;\n}\n\n.cy-context-menus-cxt-menuitem[content]:before {\n    content:attr(content);\n}\n\n.cy-context-menus-divider {\n  border-bottom:1px solid #A0A0A0;\n}\n\n\nselect:not([multiple]).form-control {\n    background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48cG9seWxpbmUgcG9pbnRzPSI0LjUgNiA4IDkuNSAxMS41IDYiIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzAwOTRiMyIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiAvPjxyZWN0IHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgZmlsbD0ibm9uZSIvPjwvc3ZnPg==");\n    background-size: 1.25em 1.25em;\n}\n',""])},function(e,t,n){var r=n(167);"string"==typeof r&&(r=[[e.i,r,""]]);var i={hmr:!0,transform:void 0,insertInto:void 0};n(19)(r,i);r.locals&&(e.exports=r.locals)},function(e,t,n){"use strict";n(168);const r=n(166),i=n(7),o=n(11),a=n(165);n(158)(a,o);const s=n(157);a.use(s),angular.module("dbt").directive("graphViz",["$q","$state","graph","selectorService","project","$timeout",function(e,t,n,s,l,c){return{restrict:"EA",replace:!0,scope:{vizElements:"=",vizLayout:"=",vizOptions:"=",vizStyle:"=",vizReady:"=",vizExtensions:"=",vizHideOptions:"=",vizSize:"=",vizRendered:"="},link:function(e,r,d,p){var f=u;e.$watch("vizSize",function(e,t){c(function(){h.resize(),"fullscreen"==e?h.fit(100):h.fit(25)})}),o(".viz-option").on("changed.bs.select",function(e){o(e.target).data("option"),o(e.target).val()});var h=a(i.assign({},e.vizOptions,{container:document.getElementById("cy"),style:e.vizStyle||[],elements:e.vizElements||[],layout:e.vizLayout||{name:"circle"}}));window.graph||(window.graph=h);e.graphReady&&o(window).on("load",function(){h.ready(e.graphReady)});h.on("select",function(t){var r=t.target;e.$apply(function(){n.selectNode(r.id()),h.forceRender()})}),h.on("unselect",function(t){t.target;e.$apply(function(){n.deselectNodes(),h.forceRender()})}),e.$watch("vizElements",function(t,n){h.remove(h.elements()),h.add(t),f(e,h),console.log("elements changed, UPDATE")}),e.$watch("vizLayout",function(t,n){t!==n&&f(e,h)},!0),e.$watch("vizOptions",function(e,t){e!==t&&i.each(e,function(e,t){h[t],h[t](e)})},!0),e.$watch("vizStyle",function(e,t){e!==t&&(console.log("Setting styles"),h.setStyle(e))},!0),e.$on("$destroy",function(){h.destroy()});h.contextMenus({menuItems:[{id:"jump",content:"Refocus on Node",selector:"node",tooltipText:"Focus on the lineage for this node",onClickFunction:function(e){var n=e.target||e.cyTarget,r=n.id();t.go("dbt."+n.data("resource_type"),{unique_id:r})},show:!0},{id:"docs",content:"View documentation",selector:"node",tooltipText:"Jump to the documentation for this node",onClickFunction:function(e){var r=e.target||e.cyTarget,i=r.id();t.go("dbt."+r.data("resource_type"),{unique_id:i}),n.hideGraph()},show:!0},{id:"hide-before-here",content:"Hide this and parents",selector:"node",onClickFunction:function(e){var t=e.target||e.cyTarget,r=t.id(),i=l.node(r);if(i){var o=s.excludeNode(i,{parents:!0});n.updateGraph(o)}},show:!0},{id:"hide-after-here",content:"Hide this and children",selector:"node",onClickFunction:function(e){var t=e.target||e.cyTarget,r=t.id(),i=l.node(r);if(i){var o=s.excludeNode(i,{children:!0});n.updateGraph(o)}},show:!0},{id:"export-png",content:"Export PNG",selector:"node",coreAsWell:!0,onClickFunction:function(e){var t=h.png({bg:"#005e7a"}),n=document.createElement("a");n.download="dbt-dag.png",n.href=t,n.click()},show:!0}],menuItemClasses:["graph-node-context-menu-item"],contextMenuClasses:["graph-node-context-menu"]})},templateUrl:r};function u(e,t){if(e.vizLayout&&e.vizLayout.name){t.layout(e.vizLayout).run();e.vizRendered(t)}}}])},function(e,t){var n="/components/graph/graph-launcher.html";window.angular.module("ng").run(["$templateCache",function(e){e.put(n,'\n<div class="launcher" data-launcher="{{ graphService.orientation }}" ng-class="{on: graphService.expanded}">\n    <style>\n    .dirty-submit {\n        background-color: #0094b3 !important;\n        color: white !important;\n        transition: .5s linear;\n    }\n\n    #submit-graph-selection:hover {\n        background-color: #0094b3 !important;\n        color: white !important;\n    }\n\n    .dropup select:hover~.field-label,\n    .dropup select:focus~.field-label {\n        color: #919599;\n    }\n\n    .dropup ul:hover~.field-label,\n    .dropup ul:focus~.field-label {\n        color: #919599;\n    }\n\n    .dropdown-menu {\n        width: 100%;\n    }\n\n    .dropdown-menu li {\n        padding: 2px 10px;\n    }\n\n    .dropdown-menu li:hover {\n        background-color: #ededee !important;\n    }\n\n    li .checked {\n        width: 10px;\n        float: right;\n    }\n\n    </style>\n\n    <div class="launcher-section">\n        <div class="launcher-btn">\n            <a\n                class="btn btn-info btn-pill btn-lg btn-icon btn-shadow"\n                data-toggle="tooltip"\n                title="View Lineage Graph"\n                ng-click="onLauncherClick()">\n                <svg class="icn icn-md"><use xlink:href="#icn-flow"></use></svg>\n            </a>\n        </div>\n        <div class="launcher-content" ng-click="onWindowClick($event)">\n            <div class="launcher-window">\n                <div class="launcher-header">\n                    <div class="launcher-cell">\n                        <h6>\n                            Lineage Graph\n                        </h6>\n                    </div>\n                    <div class="launcher-actions">\n                        <a\n                            ng-click="showExpanded()"\n                            ng-show="graphService.orientation == \'sidebar\'"\n                            data-large\n                            class="btn btn-text btn-lg btn-icon btn-shadow"\n                            data-toggle="tooltip"\n                            title="View Fullscreen">\n                                <svg class="icn icn-md"><use xlink:href="#icn-expand"></use></svg>\n                        </a>\n                        <a\n                            ng-click="showContracted()"\n                            ng-show="graphService.orientation == \'fullscreen\' && selectorService.getViewNode()"\n                            class="btn btn-text btn-lg btn-icon btn-shadow"\n                            data-toggle="tooltip"\n                            title="View Fullscreen">\n                                <svg class="icn icn-md"><use xlink:href="#icn-contract"></use></svg>\n                        </a>\n                    </div>\n                </div>\n                <div class="launcher-body">\n                    <div class="launcher-embed">\n                        <div ng-controller="GraphCtrl" style="height: 100%" id="graph-viz-wrapper">\n                            <div graph-viz\n                                viz-options="graph.options"\n                                viz-elements="graph.elements"\n                                viz-style="graph.style"\n                                viz-layout="graph.layout"\n                                viz-ready="graph.ready"\n                                viz-rendered="graphRendered"\n                                viz-size="{size: graphService.orientation, expanded: graphService.expanded}"></div>\n                        </div>\n                    </div>\n                </div>\n                <div class="launcher-footer">\n                    <div class="launcher-cell launcher-flush">\n                        <div class="component bg-navy text-navy-lightest margin">\n                            <form class="fields fields-flush launcher-hide-sidebar"\n                                  ng-class="{visible: filters_visible}"\n                                  ng-submit="onUpdateSelector()">\n                                <label class="field">\n                                    <div class="dropdown dropup"\n                                         ng-class="{\'open\': isVisible(\'packages\')}"\n                                         data-form-type="packages">\n                                        <select\n                                            data-toggle="dropdown"\n                                            class=\'field-input form-control input-dark\'\n                                            ng-click="onSelectClick(\'packages\')"\n                                            ng-blur="onSelectBlur(\'packages\')">\n                                            <option selected disabled hidden>\n                                                <span>{{ selectionLabel(\'packages\') }}</span>\n                                            </option>\n                                        </select>\n                                        <ul\n                                            class="dropdown-menu"\n                                            ng-show="isVisible(\'packages\')">\n                                            <li\n                                                class=\'text-dark\'\n                                                ng-repeat="item in selectorService.options.packages"\n                                                ng-click="onItemSelect(\'packages\', item, $event)">\n                                                {{ item }}\n                                                <span ng-show="isSelected(\'packages\', item)">\n                                                    <svg class="checked" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M20.285 2l-11.285 11.567-5.286-5.011-3.714 3.716 9 8.728 15-15.285z"/></svg>\n                                                </span>\n                                            </li>\n                                        </ul>\n                                        <div class="field-label">packages</div>\n                                    </div>\n                                </label>\n                                <label class="field">\n                                    <div class="dropdown dropup"\n                                         ng-class="{\'open\': isVisible(\'tags\')}"\n                                         data-form-type="tags">\n                                        <select\n                                            data-toggle="dropdown"\n                                            class=\'field-input form-control input-dark\'\n                                            ng-click="onSelectClick(\'tags\')"\n                                            ng-blur="onSelectBlur(\'tags\', $event)">\n                                            <option selected disabled hidden>\n                                                <span>{{ selectionLabel(\'tags\', \'untagged\') }}</span>\n                                            </option>\n                                        </select>\n                                        <ul\n                                            class="dropdown-menu"\n                                            ng-show="isVisible(\'tags\')">\n                                            <li\n                                                class=\'text-dark\'\n                                                ng-repeat="item in selectorService.options.tags"\n                                                ng-click="onItemSelect(\'tags\', item, $event)">\n                                                <span ng-if=\'item == null\'>untagged</span>\n                                                <span ng-if=\'item != null\'>{{ item }}</span>\n                                                <span ng-show="isSelected(\'tags\', item)">\n                                                    <svg class="checked" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M20.285 2l-11.285 11.567-5.286-5.011-3.714 3.716 9 8.728 15-15.285z"/></svg>\n                                                </span>\n                                            </li>\n                                        </ul>\n                                        <div class="field-label">tags</div>\n                                    </div>\n                                </label>\n                                <label class="field" style="flex: 4 0 160px">\n                                    <input type="text"\n                                           class="field-input form-control input-dark"\n                                           ng-model="selectorService.selection.dirty.include"\n                                           placeholder="..." />\n                                    <div class="field-label">--models</div>\n                                </label>\n                                <label class="field" style="flex: 4 0 160px">\n                                    <input type="text"\n                                           class="field-input form-control input-dark"\n                                           ng-model="selectorService.selection.dirty.exclude"\n                                           placeholder="..." />\n                                    <div class="field-label">--exclude</div>\n                                </label>\n                                <label class="field" style="flex: 0 0 80px">\n                                    <input type="submit"\n                                           id="submit-graph-selection"\n                                           class="field-input form-control input-dark"\n                                           ng-class="{\'dirty-submit\': selectorService.isDirty()}"\n                                           value="Update Graph" />\n                                    <div class="field-label text-center" style="width: 100%"></div>\n                                </label>\n                                <label class="field" style="flex: 0 0 80px">\n                                    <button type="button"\n                                        ng-click="closeGraph()"\n                                        class="field-input form-control input-dark text-center"\n                                        ><svg class="icn icn-md"><use xlink:href="#icn-close"></use></svg>\n                                    </button>\n                                </label>\n                            </form>\n                        </div>\n                    </div>\n                    \x3c!--<div class="launcher-spacer"></div>--\x3e\n                    <div class="launcher-actions" ng-show="graphService.orientation == \'sidebar\'">\n                        <button type="button"\n                            ng-click="closeGraph()"\n                            class="btn btn-text btn-lg btn-icon btn-shadow"\n                            data-toggle="tooltip"\n                            title="Close Graph"><svg class="icn icn-md"><use xlink:href="#icn-close"></use></svg>\n                        </button>\n                    </div>\n                </div>\n            </div>\n        </div>\n    </div>\n</div>\n')}]),e.exports=n},function(e,t,n){"use strict";const r=n(170),i=n(7),o=n(11);angular.module("dbt").directive("graphLauncher",["$state","$q","graph","selectorService","project","trackingService","locationService",function(e,t,n,a,s,l,c){return{restrict:"EA",replace:!0,scope:{},templateUrl:r,link:function(t,r){t.filters_visible=!1,t.graphService=n,t.selectorService=a;var s={tags:{visible:!1},packages:{visible:!1}};t.onWindowClick=function(e){o(e.target);var t=o(e.target).closest(".dropup");t.length||(s.tags.visible=!1,s.packages.visible=!1);var n=t.data("form-type");i.each(s,function(e,t){t!=n&&(e.visible=!1)}),o(e.target).closest("#graph-viz-wrapper").length&&setTimeout(function(){o(":focus").blur()})},t.onSelectClick=function(e){i.each(s,function(t,n){n==e&&(t.visible=!t.visible,t.visible||o(":focus").blur())})},t.isVisible=function(e){return s[e].visible},t.isSelected=function(e,t){return-1!=a.selection.dirty[e].indexOf(t)},t.onItemSelect=function(e,n,r){var o=a.selection.dirty;t.isSelected(e,n)?o[e]=i.without(o[e],n):o[e]=i.union(o[e],[n]),r.preventDefault()},t.onSelectBlur=function(e,n){n&&(n.relatedTarget&&"SELECT"!=n.relatedTarget.tagName||t.isVisible(e)&&o(n.target).focus())},t.selectionLabel=function(e,t){var n=a.selection.dirty[e],r=a.options[e];return 0==n.length?"None selected":1==n.length?n[0]||t:n.length==r.length?"All selected":n.length+" selected"},t.onUpdateSelector=function(){var e=a.updateSelection(),t=n.updateGraph(e);l.track_graph_interaction("update-graph",t.length)},t.showExpanded=function(){var e=a.getViewNode(),t=e?e.name:null;if(e&&"source"==e.resource_type)var r=n.showFullGraph("source:"+e.source_name+"."+e.name);else r=n.showFullGraph(t);l.track_graph_interaction("show-expanded",r.length)},t.showContracted=function(){var e=a.getViewNode();if(e&&"source"==e.resource_type)var t=n.showVerticalGraph("source:"+e.source_name+"."+e.name,!0);else t=n.showVerticalGraph(e.name,!0);c.clearState(),l.track_graph_interaction("show-contracted",t.length)},t.closeGraph=function(){n.hideGraph(),c.clearState()},t.onLauncherClick=function(){var r=a.getViewNode();if(r)a.resetSelection(r),t.showContracted();else if(e.params.source){a.resetSelection(),t.showExpanded();var i=a.selectSource(e.params.source,{children:!0});setTimeout(function(){n.updateGraph(i)})}else a.resetSelection(),t.showExpanded()},t.$watch(function(){return a.selection.dirty},function(e,t){if(a.isDirty()){var r=n.graph.pristine.dag,o=n.graph.pristine.nodes,s=a.selection.clean,l=a.selection.dirty,c=a.select_nodes(r,o,s),u=a.select_nodes(r,o,l),d=i.difference(c.nodes,u.nodes);n.markDirty(d)}else n.markAllClean()},!0)}}}])},function(e,t,n){n(171),n(169),n(117),n(115),n(111),n(109),n(105)},function(e,t,n){(e.exports=n(20)(!1)).push([e.i,"/*\n\ngithub.com style (c) Vasily Polovnyov <vast@whiteants.net>\n\n*/\n\n.hljs {\n  display: block;\n  overflow-x: auto;\n  padding: 0.5em;\n  color: #333;\n  background: #f8f8f8;\n}\n\n.hljs-comment,\n.hljs-quote {\n  color: #998;\n  font-style: italic;\n}\n\n.hljs-keyword,\n.hljs-selector-tag,\n.hljs-subst {\n  color: #333;\n  font-weight: bold;\n}\n\n.hljs-number,\n.hljs-literal,\n.hljs-variable,\n.hljs-template-variable,\n.hljs-tag .hljs-attr {\n  color: #008080;\n}\n\n.hljs-string,\n.hljs-doctag {\n  color: #d14;\n}\n\n.hljs-title,\n.hljs-section,\n.hljs-selector-id {\n  color: #900;\n  font-weight: bold;\n}\n\n.hljs-subst {\n  font-weight: normal;\n}\n\n.hljs-type,\n.hljs-class .hljs-title {\n  color: #458;\n  font-weight: bold;\n}\n\n.hljs-tag,\n.hljs-name,\n.hljs-attribute {\n  color: #000080;\n  font-weight: normal;\n}\n\n.hljs-regexp,\n.hljs-link {\n  color: #009926;\n}\n\n.hljs-symbol,\n.hljs-bullet {\n  color: #990073;\n}\n\n.hljs-built_in,\n.hljs-builtin-name {\n  color: #0086b3;\n}\n\n.hljs-meta {\n  color: #999;\n  font-weight: bold;\n}\n\n.hljs-deletion {\n  background: #fdd;\n}\n\n.hljs-addition {\n  background: #dfd;\n}\n\n.hljs-emphasis {\n  font-style: italic;\n}\n\n.hljs-strong {\n  font-weight: bold;\n}\n",""])},function(e,t,n){var r=n(173);"string"==typeof r&&(r=[[e.i,r,""]]);var i={hmr:!0,transform:void 0,insertInto:void 0};n(19)(r,i);r.locals&&(e.exports=r.locals)},function(e,t){!function(e,t){"use strict";function n(n){try{var i=t.querySelectorAll("code.hljs");for(var o in i)i.hasOwnProperty(o)&&r(i[o],n)}catch(t){e.console.error("LineNumbers error: ",t)}}function r(e,t){if("object"==typeof e){var n=(t=t||{singleLine:!1}).singleLine?0:1;s(function(){(function e(t){var n=t.childNodes;for(var r in n)if(n.hasOwnProperty(r)){var o=n[r];a(o.textContent)>0&&(o.childNodes.length>0?e(o):i(o.parentNode))}})(e),e.innerHTML=function(e,t){var n=o(e);if(""===n[n.length-1].trim()&&n.pop(),n.length>t){for(var r="",i=0,a=n.length;i<a;i++)r+=l('<tr><td class="{0}"><div class="{1} {2}" {3}="{5}"></div></td><td class="{4}"><div class="{1}">{6}</div></td></tr>',[p,u,f,h,d,i+1,n[i].length>0?n[i]:" "]);return l('<table class="{0}">{1}</table>',[c,r])}return e}(e.innerHTML,n)})}}function i(e){var t=e.className;if(/hljs-/.test(t)){for(var n=o(e.innerHTML),r=0,i="";r<n.length;r++)i+=l('<span class="{0}">{1}</span>\n',[t,n[r]]);e.innerHTML=i.trim()}}function o(e){return 0===e.length?[]:e.split(g)}function a(e){return(e.trim().match(g)||[]).length}function s(t){e.setTimeout(t,0)}function l(e,t){return e.replace(/\{(\d+)\}/g,function(e,n){return t[n]?t[n]:e})}var c="hljs-ln",u="hljs-ln-line",d="hljs-ln-code",p="hljs-ln-numbers",f="hljs-ln-n",h="data-line-number",g=/\r\n|\r|\n/g;e.hljs?(e.hljs.initLineNumbersOnLoad=function(r){"complete"===t.readyState?n(r):e.addEventListener("DOMContentLoaded",function(){n(r)})},e.hljs.lineNumbersBlock=r,function(){var e=t.createElement("style");e.type="text/css",e.innerHTML=l(".{0}{border-collapse:collapse}.{0} td{padding:0}.{1}:before{content:attr({2})}",[c,f,h]),t.getElementsByTagName("head")[0].appendChild(e)}()):e.console.error("highlight.js not detected!")}(window,document)},function(e,t){e.exports=function(e){var t=e.COMMENT("--","$");return{case_insensitive:!0,illegal:/[<>{}*#]/,contains:[{beginKeywords:"begin end start commit rollback savepoint lock alter create drop rename call delete do handler insert load replace select truncate update set show pragma grant merge describe use explain help declare prepare execute deallocate release unlock purge reset change stop analyze cache flush optimize repair kill install uninstall checksum restore check backup revoke comment",end:/;/,endsWithParent:!0,lexemes:/[\w\.]+/,keywords:{keyword:"abort abs absolute acc acce accep accept access accessed accessible account acos action activate add addtime admin administer advanced advise aes_decrypt aes_encrypt after agent aggregate ali alia alias allocate allow alter always analyze ancillary and any anydata anydataset anyschema anytype apply archive archived archivelog are as asc ascii asin assembly assertion associate asynchronous at atan atn2 attr attri attrib attribu attribut attribute attributes audit authenticated authentication authid authors auto autoallocate autodblink autoextend automatic availability avg backup badfile basicfile before begin beginning benchmark between bfile bfile_base big bigfile bin binary_double binary_float binlog bit_and bit_count bit_length bit_or bit_xor bitmap blob_base block blocksize body both bound buffer_cache buffer_pool build bulk by byte byteordermark bytes cache caching call calling cancel capacity cascade cascaded case cast catalog category ceil ceiling chain change changed char_base char_length character_length characters characterset charindex charset charsetform charsetid check checksum checksum_agg child choose chr chunk class cleanup clear client clob clob_base clone close cluster_id cluster_probability cluster_set clustering coalesce coercibility col collate collation collect colu colum column column_value columns columns_updated comment commit compact compatibility compiled complete composite_limit compound compress compute concat concat_ws concurrent confirm conn connec connect connect_by_iscycle connect_by_isleaf connect_by_root connect_time connection consider consistent constant constraint constraints constructor container content contents context contributors controlfile conv convert convert_tz corr corr_k corr_s corresponding corruption cos cost count count_big counted covar_pop covar_samp cpu_per_call cpu_per_session crc32 create creation critical cross cube cume_dist curdate current current_date current_time current_timestamp current_user cursor curtime customdatum cycle data database databases datafile datafiles datalength date_add date_cache date_format date_sub dateadd datediff datefromparts datename datepart datetime2fromparts day day_to_second dayname dayofmonth dayofweek dayofyear days db_role_change dbtimezone ddl deallocate declare decode decompose decrement decrypt deduplicate def defa defau defaul default defaults deferred defi defin define degrees delayed delegate delete delete_all delimited demand dense_rank depth dequeue des_decrypt des_encrypt des_key_file desc descr descri describ describe descriptor deterministic diagnostics difference dimension direct_load directory disable disable_all disallow disassociate discardfile disconnect diskgroup distinct distinctrow distribute distributed div do document domain dotnet double downgrade drop dumpfile duplicate duration each edition editionable editions element ellipsis else elsif elt empty enable enable_all enclosed encode encoding encrypt end end-exec endian enforced engine engines enqueue enterprise entityescaping eomonth error errors escaped evalname evaluate event eventdata events except exception exceptions exchange exclude excluding execu execut execute exempt exists exit exp expire explain export export_set extended extent external external_1 external_2 externally extract failed failed_login_attempts failover failure far fast feature_set feature_value fetch field fields file file_name_convert filesystem_like_logging final finish first first_value fixed flash_cache flashback floor flush following follows for forall force form forma format found found_rows freelist freelists freepools fresh from from_base64 from_days ftp full function general generated get get_format get_lock getdate getutcdate global global_name globally go goto grant grants greatest group group_concat group_id grouping grouping_id groups gtid_subtract guarantee guard handler hash hashkeys having hea head headi headin heading heap help hex hierarchy high high_priority hosts hour http id ident_current ident_incr ident_seed identified identity idle_time if ifnull ignore iif ilike ilm immediate import in include including increment index indexes indexing indextype indicator indices inet6_aton inet6_ntoa inet_aton inet_ntoa infile initial initialized initially initrans inmemory inner innodb input insert install instance instantiable instr interface interleaved intersect into invalidate invisible is is_free_lock is_ipv4 is_ipv4_compat is_not is_not_null is_used_lock isdate isnull isolation iterate java join json json_exists keep keep_duplicates key keys kill language large last last_day last_insert_id last_value lax lcase lead leading least leaves left len lenght length less level levels library like like2 like4 likec limit lines link list listagg little ln load load_file lob lobs local localtime localtimestamp locate locator lock locked log log10 log2 logfile logfiles logging logical logical_reads_per_call logoff logon logs long loop low low_priority lower lpad lrtrim ltrim main make_set makedate maketime managed management manual map mapping mask master master_pos_wait match matched materialized max maxextents maximize maxinstances maxlen maxlogfiles maxloghistory maxlogmembers maxsize maxtrans md5 measures median medium member memcompress memory merge microsecond mid migration min minextents minimum mining minus minute minvalue missing mod mode model modification modify module monitoring month months mount move movement multiset mutex name name_const names nan national native natural nav nchar nclob nested never new newline next nextval no no_write_to_binlog noarchivelog noaudit nobadfile nocheck nocompress nocopy nocycle nodelay nodiscardfile noentityescaping noguarantee nokeep nologfile nomapping nomaxvalue nominimize nominvalue nomonitoring none noneditionable nonschema noorder nopr nopro noprom nopromp noprompt norely noresetlogs noreverse normal norowdependencies noschemacheck noswitch not nothing notice notrim novalidate now nowait nth_value nullif nulls num numb numbe nvarchar nvarchar2 object ocicoll ocidate ocidatetime ociduration ociinterval ociloblocator ocinumber ociref ocirefcursor ocirowid ocistring ocitype oct octet_length of off offline offset oid oidindex old on online only opaque open operations operator optimal optimize option optionally or oracle oracle_date oradata ord ordaudio orddicom orddoc order ordimage ordinality ordvideo organization orlany orlvary out outer outfile outline output over overflow overriding package pad parallel parallel_enable parameters parent parse partial partition partitions pascal passing password password_grace_time password_lock_time password_reuse_max password_reuse_time password_verify_function patch path patindex pctincrease pctthreshold pctused pctversion percent percent_rank percentile_cont percentile_disc performance period period_add period_diff permanent physical pi pipe pipelined pivot pluggable plugin policy position post_transaction pow power pragma prebuilt precedes preceding precision prediction prediction_cost prediction_details prediction_probability prediction_set prepare present preserve prior priority private private_sga privileges procedural procedure procedure_analyze processlist profiles project prompt protection public publishingservername purge quarter query quick quiesce quota quotename radians raise rand range rank raw read reads readsize rebuild record records recover recovery recursive recycle redo reduced ref reference referenced references referencing refresh regexp_like register regr_avgx regr_avgy regr_count regr_intercept regr_r2 regr_slope regr_sxx regr_sxy reject rekey relational relative relaylog release release_lock relies_on relocate rely rem remainder rename repair repeat replace replicate replication required reset resetlogs resize resource respect restore restricted result result_cache resumable resume retention return returning returns reuse reverse revoke right rlike role roles rollback rolling rollup round row row_count rowdependencies rowid rownum rows rtrim rules safe salt sample save savepoint sb1 sb2 sb4 scan schema schemacheck scn scope scroll sdo_georaster sdo_topo_geometry search sec_to_time second section securefile security seed segment select self sequence sequential serializable server servererror session session_user sessions_per_user set sets settings sha sha1 sha2 share shared shared_pool short show shrink shutdown si_averagecolor si_colorhistogram si_featurelist si_positionalcolor si_stillimage si_texture siblings sid sign sin size size_t sizes skip slave sleep smalldatetimefromparts smallfile snapshot some soname sort soundex source space sparse spfile split sql sql_big_result sql_buffer_result sql_cache sql_calc_found_rows sql_small_result sql_variant_property sqlcode sqldata sqlerror sqlname sqlstate sqrt square standalone standby start starting startup statement static statistics stats_binomial_test stats_crosstab stats_ks_test stats_mode stats_mw_test stats_one_way_anova stats_t_test_ stats_t_test_indep stats_t_test_one stats_t_test_paired stats_wsr_test status std stddev stddev_pop stddev_samp stdev stop storage store stored str str_to_date straight_join strcmp strict string struct stuff style subdate subpartition subpartitions substitutable substr substring subtime subtring_index subtype success sum suspend switch switchoffset switchover sync synchronous synonym sys sys_xmlagg sysasm sysaux sysdate sysdatetimeoffset sysdba sysoper system system_user sysutcdatetime table tables tablespace tan tdo template temporary terminated tertiary_weights test than then thread through tier ties time time_format time_zone timediff timefromparts timeout timestamp timestampadd timestampdiff timezone_abbr timezone_minute timezone_region to to_base64 to_date to_days to_seconds todatetimeoffset trace tracking transaction transactional translate translation treat trigger trigger_nestlevel triggers trim truncate try_cast try_convert try_parse type ub1 ub2 ub4 ucase unarchived unbounded uncompress under undo unhex unicode uniform uninstall union unique unix_timestamp unknown unlimited unlock unpivot unrecoverable unsafe unsigned until untrusted unusable unused update updated upgrade upped upper upsert url urowid usable usage use use_stored_outlines user user_data user_resources users using utc_date utc_timestamp uuid uuid_short validate validate_password_strength validation valist value values var var_samp varcharc vari varia variab variabl variable variables variance varp varraw varrawc varray verify version versions view virtual visible void wait wallet warning warnings week weekday weekofyear wellformed when whene whenev wheneve whenever where while whitespace with within without work wrapped xdb xml xmlagg xmlattributes xmlcast xmlcolattval xmlelement xmlexists xmlforest xmlindex xmlnamespaces xmlpi xmlquery xmlroot xmlschema xmlserialize xmltable xmltype xor year year_to_month years yearweek",literal:"true false null",built_in:"array bigint binary bit blob boolean char character date dec decimal float int int8 integer interval number numeric real record serial serial8 smallint text varchar varying void"},contains:[{className:"string",begin:"'",end:"'",contains:[e.BACKSLASH_ESCAPE,{begin:"''"}]},{className:"string",begin:'"',end:'"',contains:[e.BACKSLASH_ESCAPE,{begin:'""'}]},{className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE]},e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,t]},e.C_BLOCK_COMMENT_MODE,t]}}},function(e,t,n){(function(t){!function(t){"use strict";var n={newline:/^\n+/,code:/^( {4}[^\n]+\n*)+/,fences:g,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ *(#{1,6}) *([^\n]+?) *#* *(?:\n+|$)/,nptable:g,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( *)(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/,html:/^ *(?:comment *(?:\n|\s*$)|closed *(?:\n{2,}|\s*$)|closing *(?:\n{2,}|\s*$))/,def:/^ {0,3}\[(label)\]: *\n? *<?([^\s>]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,table:g,lheading:/^([^\n]+)\n *(=|-){2,} *(?:\n+|$)/,paragraph:/^([^\n]+(?:\n?(?!hr|heading|lheading| {0,3}>|tag)[^\n]+)+)/,text:/^[^\n]+/};function r(e){this.tokens=[],this.tokens.links={},this.options=e||v.defaults,this.rules=n.normal,this.options.gfm&&(this.options.tables?this.rules=n.tables:this.rules=n.gfm)}n._label=/(?:\\[\[\]]|[^\[\]])+/,n._title=/(?:"(?:\\"|[^"]|"[^"\n]*")*"|'\n?(?:[^'\n]+\n?)*'|\([^()]*\))/,n.def=d(n.def).replace("label",n._label).replace("title",n._title).getRegex(),n.bullet=/(?:[*+-]|\d+\.)/,n.item=/^( *)(bull) [^\n]*(?:\n(?!\1bull )[^\n]*)*/,n.item=d(n.item,"gm").replace(/bull/g,n.bullet).getRegex(),n.list=d(n.list).replace(/bull/g,n.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+n.def.source+")").getRegex(),n._tag="(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b",n.html=d(n.html).replace("comment",/<!--[\s\S]*?-->/).replace("closed",/<(tag)[\s\S]+?<\/\1>/).replace("closing",/<tag(?:"[^"]*"|'[^']*'|\s[^'"\/>\s]*)*?\/?>/).replace(/tag/g,n._tag).getRegex(),n.paragraph=d(n.paragraph).replace("hr",n.hr).replace("heading",n.heading).replace("lheading",n.lheading).replace("tag","<"+n._tag).getRegex(),n.blockquote=d(n.blockquote).replace("paragraph",n.paragraph).getRegex(),n.normal=m({},n),n.gfm=m({},n.normal,{fences:/^ *(`{3,}|~{3,})[ \.]*(\S+)? *\n([\s\S]*?)\n? *\1 *(?:\n+|$)/,paragraph:/^/,heading:/^ *(#{1,6}) +([^\n]+?) *#* *(?:\n+|$)/}),n.gfm.paragraph=d(n.paragraph).replace("(?!","(?!"+n.gfm.fences.source.replace("\\1","\\2")+"|"+n.list.source.replace("\\1","\\3")+"|").getRegex(),n.tables=m({},n.gfm,{nptable:/^ *(\S.*\|.*)\n *([-:]+ *\|[-| :]*)\n((?:.*\|.*(?:\n|$))*)\n*/,table:/^ *\|(.+)\n *\|( *[-:]+[-| :]*)\n((?: *\|.*(?:\n|$))*)\n*/}),r.rules=n,r.lex=function(e,t){return new r(t).lex(e)},r.prototype.lex=function(e){return e=e.replace(/\r\n|\r/g,"\n").replace(/\t/g,"    ").replace(/\u00a0/g," ").replace(/\u2424/g,"\n"),this.token(e,!0)},r.prototype.token=function(e,t){var r,i,o,a,s,l,c,u,d,p,f;for(e=e.replace(/^ +$/gm,"");e;)if((o=this.rules.newline.exec(e))&&(e=e.substring(o[0].length),o[0].length>1&&this.tokens.push({type:"space"})),o=this.rules.code.exec(e))e=e.substring(o[0].length),o=o[0].replace(/^ {4}/gm,""),this.tokens.push({type:"code",text:this.options.pedantic?o:o.replace(/\n+$/,"")});else if(o=this.rules.fences.exec(e))e=e.substring(o[0].length),this.tokens.push({type:"code",lang:o[2],text:o[3]||""});else if(o=this.rules.heading.exec(e))e=e.substring(o[0].length),this.tokens.push({type:"heading",depth:o[1].length,text:o[2]});else if(t&&(o=this.rules.nptable.exec(e))){for(e=e.substring(o[0].length),l={type:"table",header:o[1].replace(/^ *| *\| *$/g,"").split(/ *\| */),align:o[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:o[3].replace(/\n$/,"").split("\n")},u=0;u<l.align.length;u++)/^ *-+: *$/.test(l.align[u])?l.align[u]="right":/^ *:-+: *$/.test(l.align[u])?l.align[u]="center":/^ *:-+ *$/.test(l.align[u])?l.align[u]="left":l.align[u]=null;for(u=0;u<l.cells.length;u++)l.cells[u]=l.cells[u].split(/ *\| */);this.tokens.push(l)}else if(o=this.rules.hr.exec(e))e=e.substring(o[0].length),this.tokens.push({type:"hr"});else if(o=this.rules.blockquote.exec(e))e=e.substring(o[0].length),this.tokens.push({type:"blockquote_start"}),o=o[0].replace(/^ *> ?/gm,""),this.token(o,t),this.tokens.push({type:"blockquote_end"});else if(o=this.rules.list.exec(e)){for(e=e.substring(o[0].length),f=(a=o[2]).length>1,this.tokens.push({type:"list_start",ordered:f,start:f?+a:""}),r=!1,p=(o=o[0].match(this.rules.item)).length,u=0;u<p;u++)c=(l=o[u]).length,~(l=l.replace(/^ *([*+-]|\d+\.) +/,"")).indexOf("\n ")&&(c-=l.length,l=this.options.pedantic?l.replace(/^ {1,4}/gm,""):l.replace(new RegExp("^ {1,"+c+"}","gm"),"")),this.options.smartLists&&u!==p-1&&(a===(s=n.bullet.exec(o[u+1])[0])||a.length>1&&s.length>1||(e=o.slice(u+1).join("\n")+e,u=p-1)),i=r||/\n\n(?!\s*$)/.test(l),u!==p-1&&(r="\n"===l.charAt(l.length-1),i||(i=r)),this.tokens.push({type:i?"loose_item_start":"list_item_start"}),this.token(l,!1),this.tokens.push({type:"list_item_end"});this.tokens.push({type:"list_end"})}else if(o=this.rules.html.exec(e))e=e.substring(o[0].length),this.tokens.push({type:this.options.sanitize?"paragraph":"html",pre:!this.options.sanitizer&&("pre"===o[1]||"script"===o[1]||"style"===o[1]),text:o[0]});else if(t&&(o=this.rules.def.exec(e)))e=e.substring(o[0].length),o[3]&&(o[3]=o[3].substring(1,o[3].length-1)),d=o[1].toLowerCase(),this.tokens.links[d]||(this.tokens.links[d]={href:o[2],title:o[3]});else if(t&&(o=this.rules.table.exec(e))){for(e=e.substring(o[0].length),l={type:"table",header:o[1].replace(/^ *| *\| *$/g,"").split(/ *\| */),align:o[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:o[3].replace(/(?: *\| *)?\n$/,"").split("\n")},u=0;u<l.align.length;u++)/^ *-+: *$/.test(l.align[u])?l.align[u]="right":/^ *:-+: *$/.test(l.align[u])?l.align[u]="center":/^ *:-+ *$/.test(l.align[u])?l.align[u]="left":l.align[u]=null;for(u=0;u<l.cells.length;u++)l.cells[u]=l.cells[u].replace(/^ *\| *| *\| *$/g,"").split(/ *\| */);this.tokens.push(l)}else if(o=this.rules.lheading.exec(e))e=e.substring(o[0].length),this.tokens.push({type:"heading",depth:"="===o[2]?1:2,text:o[1]});else if(t&&(o=this.rules.paragraph.exec(e)))e=e.substring(o[0].length),this.tokens.push({type:"paragraph",text:"\n"===o[1].charAt(o[1].length-1)?o[1].slice(0,-1):o[1]});else if(o=this.rules.text.exec(e))e=e.substring(o[0].length),this.tokens.push({type:"text",text:o[0]});else if(e)throw new Error("Infinite loop on byte: "+e.charCodeAt(0));return this.tokens};var i={escape:/^\\([\\`*{}\[\]()#+\-.!_>])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:g,tag:/^<!--[\s\S]*?-->|^<\/?[a-zA-Z0-9\-]+(?:"[^"]*"|'[^']*'|\s[^<'">\/\s]*)*?\/?>/,link:/^!?\[(inside)\]\(href\)/,reflink:/^!?\[(inside)\]\s*\[([^\]]*)\]/,nolink:/^!?\[((?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]])*)\]/,strong:/^__([\s\S]+?)__(?!_)|^\*\*([\s\S]+?)\*\*(?!\*)/,em:/^_([^\s_](?:[^_]|__)+?[^\s_])_\b|^\*((?:\*\*|[^*])+?)\*(?!\*)/,code:/^(`+)\s*([\s\S]*?[^`]?)\s*\1(?!`)/,br:/^ {2,}\n(?!\s*$)/,del:g,text:/^[\s\S]+?(?=[\\<!\[`*]|\b_| {2,}\n|$)/};function o(e,t){if(this.options=t||v.defaults,this.links=e,this.rules=i.normal,this.renderer=this.options.renderer||new a,this.renderer.options=this.options,!this.links)throw new Error("Tokens array requires a `links` property.");this.options.gfm?this.options.breaks?this.rules=i.breaks:this.rules=i.gfm:this.options.pedantic&&(this.rules=i.pedantic)}function a(e){this.options=e||{}}function s(){}function l(e){this.tokens=[],this.token=null,this.options=e||v.defaults,this.options.renderer=this.options.renderer||new a,this.renderer=this.options.renderer,this.renderer.options=this.options}function c(e,t){return e.replace(t?/&/g:/&(?!#?\w+;)/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#39;")}function u(e){return e.replace(/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi,function(e,t){return"colon"===(t=t.toLowerCase())?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""})}function d(e,t){return e=e.source,t=t||"",{replace:function(t,n){return n=(n=n.source||n).replace(/(^|[^\[])\^/g,"$1"),e=e.replace(t,n),this},getRegex:function(){return new RegExp(e,t)}}}function p(e,t){return f[" "+e]||(/^[^:]+:\/*[^/]*$/.test(e)?f[" "+e]=e+"/":f[" "+e]=e.replace(/[^/]*$/,"")),e=f[" "+e],"//"===t.slice(0,2)?e.replace(/:[\s\S]*/,":")+t:"/"===t.charAt(0)?e.replace(/(:\/*[^/]*)[\s\S]*/,"$1")+t:e+t}i._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,i._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[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])?)+(?![-_])/,i.autolink=d(i.autolink).replace("scheme",i._scheme).replace("email",i._email).getRegex(),i._inside=/(?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]]|\](?=[^\[]*\]))*/,i._href=/\s*<?([\s\S]*?)>?(?:\s+['"]([\s\S]*?)['"])?\s*/,i.link=d(i.link).replace("inside",i._inside).replace("href",i._href).getRegex(),i.reflink=d(i.reflink).replace("inside",i._inside).getRegex(),i.normal=m({},i),i.pedantic=m({},i.normal,{strong:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,em:/^_(?=\S)([\s\S]*?\S)_(?!_)|^\*(?=\S)([\s\S]*?\S)\*(?!\*)/}),i.gfm=m({},i.normal,{escape:d(i.escape).replace("])","~|])").getRegex(),url:d(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("email",i._email).getRegex(),_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^~~(?=\S)([\s\S]*?\S)~~/,text:d(i.text).replace("]|","~]|").replace("|","|https?://|ftp://|www\\.|[a-zA-Z0-9.!#$%&'*+/=?^_`{\\|}~-]+@|").getRegex()}),i.breaks=m({},i.gfm,{br:d(i.br).replace("{2,}","*").getRegex(),text:d(i.gfm.text).replace("{2,}","*").getRegex()}),o.rules=i,o.output=function(e,t,n){return new o(t,n).output(e)},o.prototype.output=function(e){for(var t,n,r,i,o="";e;)if(i=this.rules.escape.exec(e))e=e.substring(i[0].length),o+=i[1];else if(i=this.rules.autolink.exec(e))e=e.substring(i[0].length),r="@"===i[2]?"mailto:"+(n=c(this.mangle(i[1]))):n=c(i[1]),o+=this.renderer.link(r,null,n);else if(this.inLink||!(i=this.rules.url.exec(e))){if(i=this.rules.tag.exec(e))!this.inLink&&/^<a /i.test(i[0])?this.inLink=!0:this.inLink&&/^<\/a>/i.test(i[0])&&(this.inLink=!1),e=e.substring(i[0].length),o+=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(i[0]):c(i[0]):i[0];else if(i=this.rules.link.exec(e))e=e.substring(i[0].length),this.inLink=!0,o+=this.outputLink(i,{href:i[2],title:i[3]}),this.inLink=!1;else if((i=this.rules.reflink.exec(e))||(i=this.rules.nolink.exec(e))){if(e=e.substring(i[0].length),t=(i[2]||i[1]).replace(/\s+/g," "),!(t=this.links[t.toLowerCase()])||!t.href){o+=i[0].charAt(0),e=i[0].substring(1)+e;continue}this.inLink=!0,o+=this.outputLink(i,t),this.inLink=!1}else if(i=this.rules.strong.exec(e))e=e.substring(i[0].length),o+=this.renderer.strong(this.output(i[2]||i[1]));else if(i=this.rules.em.exec(e))e=e.substring(i[0].length),o+=this.renderer.em(this.output(i[2]||i[1]));else if(i=this.rules.code.exec(e))e=e.substring(i[0].length),o+=this.renderer.codespan(c(i[2].trim(),!0));else if(i=this.rules.br.exec(e))e=e.substring(i[0].length),o+=this.renderer.br();else if(i=this.rules.del.exec(e))e=e.substring(i[0].length),o+=this.renderer.del(this.output(i[1]));else if(i=this.rules.text.exec(e))e=e.substring(i[0].length),o+=this.renderer.text(c(this.smartypants(i[0])));else if(e)throw new Error("Infinite loop on byte: "+e.charCodeAt(0))}else i[0]=this.rules._backpedal.exec(i[0])[0],e=e.substring(i[0].length),"@"===i[2]?r="mailto:"+(n=c(i[0])):(n=c(i[0]),r="www."===i[1]?"http://"+n:n),o+=this.renderer.link(r,null,n);return o},o.prototype.outputLink=function(e,t){var n=c(t.href),r=t.title?c(t.title):null;return"!"!==e[0].charAt(0)?this.renderer.link(n,r,this.output(e[1])):this.renderer.image(n,r,c(e[1]))},o.prototype.smartypants=function(e){return this.options.smartypants?e.replace(/---/g,"—").replace(/--/g,"–").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1‘").replace(/'/g,"’").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1“").replace(/"/g,"”").replace(/\.{3}/g,"…"):e},o.prototype.mangle=function(e){if(!this.options.mangle)return e;for(var t,n="",r=e.length,i=0;i<r;i++)t=e.charCodeAt(i),Math.random()>.5&&(t="x"+t.toString(16)),n+="&#"+t+";";return n},a.prototype.code=function(e,t,n){if(this.options.highlight){var r=this.options.highlight(e,t);null!=r&&r!==e&&(n=!0,e=r)}return t?'<pre><code class="'+this.options.langPrefix+c(t,!0)+'">'+(n?e:c(e,!0))+"\n</code></pre>\n":"<pre><code>"+(n?e:c(e,!0))+"\n</code></pre>"},a.prototype.blockquote=function(e){return"<blockquote>\n"+e+"</blockquote>\n"},a.prototype.html=function(e){return e},a.prototype.heading=function(e,t,n){return"<h"+t+' id="'+this.options.headerPrefix+n.toLowerCase().replace(/[^\w]+/g,"-")+'">'+e+"</h"+t+">\n"},a.prototype.hr=function(){return this.options.xhtml?"<hr/>\n":"<hr>\n"},a.prototype.list=function(e,t,n){var r=t?"ol":"ul";return"<"+r+(t&&1!==n?' start="'+n+'"':"")+">\n"+e+"</"+r+">\n"},a.prototype.listitem=function(e){return"<li>"+e+"</li>\n"},a.prototype.paragraph=function(e){return"<p>"+e+"</p>\n"},a.prototype.table=function(e,t){return"<table>\n<thead>\n"+e+"</thead>\n<tbody>\n"+t+"</tbody>\n</table>\n"},a.prototype.tablerow=function(e){return"<tr>\n"+e+"</tr>\n"},a.prototype.tablecell=function(e,t){var n=t.header?"th":"td";return(t.align?"<"+n+' style="text-align:'+t.align+'">':"<"+n+">")+e+"</"+n+">\n"},a.prototype.strong=function(e){return"<strong>"+e+"</strong>"},a.prototype.em=function(e){return"<em>"+e+"</em>"},a.prototype.codespan=function(e){return"<code>"+e+"</code>"},a.prototype.br=function(){return this.options.xhtml?"<br/>":"<br>"},a.prototype.del=function(e){return"<del>"+e+"</del>"},a.prototype.link=function(e,t,n){if(this.options.sanitize){try{var r=decodeURIComponent(u(e)).replace(/[^\w:]/g,"").toLowerCase()}catch(e){return n}if(0===r.indexOf("javascript:")||0===r.indexOf("vbscript:")||0===r.indexOf("data:"))return n}this.options.baseUrl&&!h.test(e)&&(e=p(this.options.baseUrl,e));var i='<a href="'+e+'"';return t&&(i+=' title="'+t+'"'),i+=">"+n+"</a>"},a.prototype.image=function(e,t,n){this.options.baseUrl&&!h.test(e)&&(e=p(this.options.baseUrl,e));var r='<img src="'+e+'" alt="'+n+'"';return t&&(r+=' title="'+t+'"'),r+=this.options.xhtml?"/>":">"},a.prototype.text=function(e){return e},s.prototype.strong=s.prototype.em=s.prototype.codespan=s.prototype.del=s.prototype.text=function(e){return e},s.prototype.link=s.prototype.image=function(e,t,n){return""+n},s.prototype.br=function(){return""},l.parse=function(e,t){return new l(t).parse(e)},l.prototype.parse=function(e){this.inline=new o(e.links,this.options),this.inlineText=new o(e.links,m({},this.options,{renderer:new s})),this.tokens=e.reverse();for(var t="";this.next();)t+=this.tok();return t},l.prototype.next=function(){return this.token=this.tokens.pop()},l.prototype.peek=function(){return this.tokens[this.tokens.length-1]||0},l.prototype.parseText=function(){for(var e=this.token.text;"text"===this.peek().type;)e+="\n"+this.next().text;return this.inline.output(e)},l.prototype.tok=function(){switch(this.token.type){case"space":return"";case"hr":return this.renderer.hr();case"heading":return this.renderer.heading(this.inline.output(this.token.text),this.token.depth,u(this.inlineText.output(this.token.text)));case"code":return this.renderer.code(this.token.text,this.token.lang,this.token.escaped);case"table":var e,t,n,r,i="",o="";for(n="",e=0;e<this.token.header.length;e++)n+=this.renderer.tablecell(this.inline.output(this.token.header[e]),{header:!0,align:this.token.align[e]});for(i+=this.renderer.tablerow(n),e=0;e<this.token.cells.length;e++){for(t=this.token.cells[e],n="",r=0;r<t.length;r++)n+=this.renderer.tablecell(this.inline.output(t[r]),{header:!1,align:this.token.align[r]});o+=this.renderer.tablerow(n)}return this.renderer.table(i,o);case"blockquote_start":for(o="";"blockquote_end"!==this.next().type;)o+=this.tok();return this.renderer.blockquote(o);case"list_start":o="";for(var a=this.token.ordered,s=this.token.start;"list_end"!==this.next().type;)o+=this.tok();return this.renderer.list(o,a,s);case"list_item_start":for(o="";"list_item_end"!==this.next().type;)o+="text"===this.token.type?this.parseText():this.tok();return this.renderer.listitem(o);case"loose_item_start":for(o="";"list_item_end"!==this.next().type;)o+=this.tok();return this.renderer.listitem(o);case"html":var l=this.token.pre||this.options.pedantic?this.token.text:this.inline.output(this.token.text);return this.renderer.html(l);case"paragraph":return this.renderer.paragraph(this.inline.output(this.token.text));case"text":return this.renderer.paragraph(this.parseText())}};var f={},h=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function g(){}function m(e){for(var t,n,r=1;r<arguments.length;r++)for(n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}function v(e,t,n){if(void 0===e||null===e)throw new Error("marked(): input parameter is undefined or null");if("string"!=typeof e)throw new Error("marked(): input parameter is of type "+Object.prototype.toString.call(e)+", string expected");if(n||"function"==typeof t){n||(n=t,t=null);var i,o,a=(t=m({},v.defaults,t||{})).highlight,s=0;try{i=r.lex(e,t)}catch(e){return n(e)}o=i.length;var u=function(e){if(e)return t.highlight=a,n(e);var r;try{r=l.parse(i,t)}catch(t){e=t}return t.highlight=a,e?n(e):n(null,r)};if(!a||a.length<3)return u();if(delete t.highlight,!o)return u();for(;s<i.length;s++)!function(e){"code"!==e.type?--o||u():a(e.text,e.lang,function(t,n){return t?u(t):null==n||n===e.text?--o||u():(e.text=n,e.escaped=!0,void(--o||u()))})}(i[s])}else try{return t&&(t=m({},v.defaults,t)),l.parse(r.lex(e,t),t)}catch(e){if(e.message+="\nPlease report this to https://github.com/markedjs/marked.",(t||v.defaults).silent)return"<p>An error occurred:</p><pre>"+c(e.message+"",!0)+"</pre>";throw e}}g.exec=g,v.options=v.setOptions=function(e){return m(v.defaults,e),v},v.defaults={gfm:!0,tables:!0,breaks:!1,pedantic:!1,sanitize:!1,sanitizer:null,mangle:!0,smartLists:!1,silent:!1,highlight:null,langPrefix:"lang-",smartypants:!1,headerPrefix:"",renderer:new a,xhtml:!1,baseUrl:null},v.Parser=l,v.parser=l.parse,v.Renderer=a,v.TextRenderer=s,v.Lexer=r,v.lexer=r.lex,v.InlineLexer=o,v.inlineLexer=o.output,v.parse=v,e.exports=v}(this||"undefined"!=typeof window&&window)}).call(this,n(14))},function(e,t){e.exports=function(e){if(!e)return e;var t,n=e.replace(/\t/g,"  ").split(/\r?\n/),r=null,i=n.length;for(t=0;t<i;t++){var o=n[t],a=o.match(/^(\s*)/)[0].length;a!==o.length&&(r=a<r||null===r?a:r)}if(null!==r&&r>0)for(t=0;t<i;t++)n[t]=n[t].substr(r);return n.join("\n")}},function(e,t,n){"use strict";var r=n(178);function i(e,t,n){return{restrict:"AE",replace:!0,scope:{opts:"=",marked:"=",compile:"@",src:"="},link:function(i,o,a){function s(t){t=r(String(t||"")),o.html(e(t,i.opts||null)),i.$eval(a.compile)&&n(o.contents())(i.$parent)}a.marked?(s(i.marked),i.$watch("marked",s)):a.src?i.$watch("src",function(e){t(e,!0).then(function(e){s(e)},function(){s(""),i.$emit("$markedIncludeError",a.src)})}):s(o.text())}}}i.$inject=["marked","$templateRequest","$compile"],e.exports=angular.module("hc.marked",[]).directive("marked",i).provider("marked",function(){var e=this;e.setRenderer=function(e){this.renderer=e},e.setOptions=function(e){this.defaults=e},e.$get=["$log","$window",function(t,r){var i;try{i=n(177)}catch(e){i=r.marked||marked}if(!angular.isUndefined(i)){var o=new i.Renderer;if(e.renderer)for(var a=Object.keys(e.renderer),s=a.length;s--;)o[a[s]]=e.renderer[a[s]];var l=o.code.bind(o);o.code=function(e,t,n){return u(l(e,t,n))};var c=o.codespan.bind(o);return o.codespan=function(e){return u(c(e))},e.defaults=e.defaults||{},e.defaults.renderer=o,i.setOptions(e.defaults),i}function u(e){return"<span ng-non-bindable>"+e+"</span>"}t.error("angular-marked Error: marked not loaded.  See installation instructions.")}]}).name},function(e,t){
+/*! Runge-Kutta spring physics function generator. Adapted from Framer.js, copyright Koen Bok. MIT License: http://en.wikipedia.org/wiki/MIT_License */var r=function(){function e(e){return-e.tension*e.x-e.friction*e.v}function t(t,n,r){var i={x:t.x+r.dx*n,v:t.v+r.dv*n,tension:t.tension,friction:t.friction};return{dx:i.v,dv:e(i)}}function n(n,r){var i={dx:n.v,dv:e(n)},o=t(n,.5*r,i),a=t(n,.5*r,o),s=t(n,r,a),l=1/6*(i.dx+2*(o.dx+a.dx)+s.dx),c=1/6*(i.dv+2*(o.dv+a.dv)+s.dv);return n.x=n.x+l*r,n.v=n.v+c*r,n}return function e(t,r,i){var o,a={x:-1,v:0,tension:null,friction:null},s=[0],l=0,c=void 0,u=void 0;for(t=parseFloat(t)||500,r=parseFloat(r)||20,i=i||null,a.tension=t,a.friction=r,c=(o=null!==i)?(l=e(t,r))/i*.016:.016;u=n(u||a,c),s.push(1+u.x),l+=16,Math.abs(u.x)>1e-4&&Math.abs(u.v)>1e-4;);return o?function(e){return s[e*(s.length-1)|0]}:l}}();e.exports=r},function(e,t,n){"use strict";var r=n(0);function i(e,t,n,r,i){if(1===r)return n;var o=i(t,n,r);return null==e?o:((e.roundValue||e.color)&&(o=Math.round(o)),void 0!==e.min&&(o=Math.max(o,e.min)),void 0!==e.max&&(o=Math.min(o,e.max)),o)}function o(e,t){return null!=e.pfValue||null!=e.value?null==e.pfValue||null!=t&&"%"===t.type.units?e.value:e.pfValue:e}e.exports=function(e,t,n,a,s){var l=null!=s?s.type:null;n<0?n=0:n>1&&(n=1);var c=o(e,s),u=o(t,s);if(r.number(c)&&r.number(u))return i(l,c,u,n,a);if(r.array(c)&&r.array(u)){for(var d=[],p=0;p<u.length;p++){var f=c[p],h=u[p];if(null!=f&&null!=h){var g=i(l,f,h,n,a);d.push(g)}else d.push(h)}return d}}},function(e,t,n){"use strict";e.exports=function(e,t,n,r){var i=!r,o=e,a=t._private,s=r?e:e.cy(),l=s.style();if(i){var c=o.position();a.startPosition=a.startPosition||{x:c.x,y:c.y},a.startStyle=a.startStyle||l.getAnimationStartStyle(o,a.style)}if(r){var u=s._private.pan;a.startPan=a.startPan||{x:u.x,y:u.y},a.startZoom=null!=a.startZoom?a.startZoom:s._private.zoom}a.started=!0,a.startTime=n-a.progress*a.duration}},function(e,t,n){"use strict";var r=n(11),i=n(4),o=n(0),a=n(1),s=n(6),l={qualifierCompare:function(e,t){return null==e||null==t?null==e&&null==t:e.sameText(t)},eventMatches:function(e,t,n){var r=t.qualifier;return null==r||e!==n.target&&o.element(n.target)&&r.matches(n.target)},eventFields:function(e){return{cy:e,target:e}},callbackContext:function(e,t,n){return null!=t.qualifier?n.target:e}},c=function(e){return o.string(e)?new s(e):e},u={createEmitter:function(){var e=this._private;return e.emitter||(e.emitter=new r(a.assign({context:this},l))),this},emitter:function(){return this._private.emitter},on:function(e,t,n){return this.emitter().on(e,c(t),n),this},removeListener:function(e,t,n){return this.emitter().removeListener(e,c(t),n),this},one:function(e,t,n){return this.emitter().one(e,c(t),n),this},once:function(e,t,n){return this.emitter().one(e,c(t),n),this},emit:function(e,t){return this.emitter().emit(e,t),this}};i.eventAliasesOn(u),e.exports=u},function(e,t,n){"use strict";var r={png:function(e){var t=this._private.renderer;return e=e||{},t.png(e)},jpg:function(e){var t=this._private.renderer;return(e=e||{}).bg=e.bg||"#fff",t.jpg(e)}};r.jpeg=r.jpg,e.exports=r},function(e,t,n){"use strict";var r=n(1),i=n(0),o={layout:function(e){if(null!=e)if(null!=e.name){var t=e.name,n=this.extension("layout",t);if(null!=n){var o=void 0;o=i.string(e.eles)?this.$(e.eles):null!=e.eles?e.eles:this.$();var a=new n(r.extend({},e,{cy:this,eles:o}));return a}r.error("Can not apply layout: No such layout `"+t+"` found; did you include its JS file?")}else r.error("A `name` must be specified to make a layout");else r.error("Layout options must be specified to make a layout")}};o.createLayout=o.makeLayout=o.layout,e.exports=o},function(e,t,n){"use strict";var r={notify:function(e){var t=this._private;if(t.batchingNotify){var n=t.batchNotifyEles,r=t.batchNotifyTypes;return e.eles&&n.merge(e.eles),void(r.ids[e.type]||(r.push(e.type),r.ids[e.type]=!0))}if(t.notificationsEnabled){var i=this.renderer();!this.isDestroyed()&&i&&i.notify(e)}},notifications:function(e){var t=this._private;if(void 0===e)return t.notificationsEnabled;t.notificationsEnabled=!!e},noNotifications:function(e){this.notifications(!1),e(),this.notifications(!0)},batching:function(){return this._private.batchCount>0},startBatch:function(){var e=this._private;return null==e.batchCount&&(e.batchCount=0),0===e.batchCount&&(e.batchingStyle=e.batchingNotify=!0,e.batchStyleEles=this.collection(),e.batchNotifyEles=this.collection(),e.batchNotifyTypes=[],e.batchNotifyTypes.ids={}),e.batchCount++,this},endBatch:function(){var e=this._private;return e.batchCount--,0===e.batchCount&&(e.batchingStyle=!1,e.batchStyleEles.updateStyle(),e.batchingNotify=!1,this.notify({type:e.batchNotifyTypes,eles:e.batchNotifyEles})),this},batch:function(e){return this.startBatch(),e(),this.endBatch(),this},batchData:function(e){var t=this;return this.batch(function(){for(var n=Object.keys(e),r=0;r<n.length;r++){var i=n[r],o=e[i];t.getElementById(i).data(o)}})}};e.exports=r},function(e,t,n){"use strict";var r=n(1),i={renderTo:function(e,t,n,r){return this._private.renderer.renderTo(e,t,n,r),this},renderer:function(){return this._private.renderer},forceRender:function(){return this.notify({type:"draw"}),this},resize:function(){return this.invalidateSize(),this.notify({type:"resize"}),this.emit("resize"),this},initRenderer:function(e){var t=this.extension("renderer",e.name);null!=t?(this._private.renderer=new t(r.extend({},e,{cy:this})),this.notify({type:"init"})):r.error("Can not initialise: No such renderer `%s` found; did you include its JS file?",e.name)},destroyRenderer:function(){this.notify({type:"destroy"});var e=this.container();if(e)for(e._cyreg=null;e.childNodes.length>0;)e.removeChild(e.childNodes[0]);this._private.renderer=null},onRender:function(e){return this.on("render",e)},offRender:function(e){return this.off("render",e)}};i.invalidateDimensions=i.resize,e.exports=i},function(e,t,n){"use strict";var r=n(0),i=n(7),o={collection:function(e,t){return r.string(e)?this.$(e):r.elementOrCollection(e)?e.collection():r.array(e)?new i(this,e,t):new i(this)},nodes:function(e){var t=this.$(function(e){return e.isNode()});return e?t.filter(e):t},edges:function(e){var t=this.$(function(e){return e.isEdge()});return e?t.filter(e):t},$:function(e){var t=this._private.elements;return e?t.filter(e):t.spawnSelf()},mutableElements:function(){return this._private.elements}};o.elements=o.filter=o.$,e.exports=o},function(e,t,n){"use strict";var r=n(0),i=n(18),o={style:function(e){e&&this.setStyle(e).update();return this._private.style},setStyle:function(e){var t=this._private;return r.stylesheet(e)?t.style=e.generateStyle(this):r.array(e)?t.style=i.fromJson(this,e):r.string(e)?t.style=i.fromString(this,e):t.style=i(this),t.style}};e.exports=o},function(e,t,n){"use strict";var r=n(1),i=n(0),o=n(5),a={apply:function(e){var t=this._private,n=t.cy.collection();t.newStyle&&(t.contextStyles={},t.propDiffs={},this.cleanElements(e,!0));for(var r=0;r<e.length;r++){var i=e[r],o=this.getContextMeta(i);if(!o.empty){n.merge(i);var a=this.getContextStyle(o),s=this.applyContextStyle(o,a,i);t.newStyle||this.updateTransitions(i,s.diffProps),this.updateStyleHints(i)}}return t.newStyle=!1,n},getPropertiesDiff:function(e,t){var n=this._private.propDiffs=this._private.propDiffs||{},r=e+"-"+t,i=n[r];if(i)return i;for(var o=[],a={},s=0;s<this.length;s++){var l=this[s],c="t"===e[s]!==("t"===t[s]),u=l.mappedProperties.length>0;if(c||u){var d=void 0;c&&u?d=l.properties:c?d=l.properties:u&&(d=l.mappedProperties);for(var p=0;p<d.length;p++){for(var f=d[p],h=f.name,g=!1,m=s+1;m<this.length;m++){var v=this[m];if("t"===t[m]&&(g=null!=v.properties[f.name]))break}a[h]||g||(a[h]=!0,o.push(h))}}}return n[r]=o,o},getContextMeta:function(e){var t,n="",r=e._private.styleCxtKey||"";this._private.newStyle&&(r="");for(var i=0;i<this.length;i++){var o=this[i];n+=o.selector&&o.selector.matches(e)?"t":"f"}return t=this.getPropertiesDiff(r,n),e._private.styleCxtKey=n,{key:n,diffPropNames:t,empty:0===t.length}},getContextStyle:function(e){var t=e.key,n=this._private.contextStyles=this._private.contextStyles||{};if(n[t])return n[t];for(var r={_private:{key:t}},i=0;i<this.length;i++){var o=this[i];if("t"===t[i])for(var a=0;a<o.properties.length;a++){var s=o.properties[a];r[s.name]=s}}return n[t]=r,r},applyContextStyle:function(e,t,n){for(var r=e.diffPropNames,i={},o=0;o<r.length;o++){var a=r[o],s=t[a],l=n.pstyle(a);if(!s){if(!l)continue;s=l.bypass?{name:a,deleteBypassed:!0}:{name:a,delete:!0}}if(l!==s){var c=i[a]={prev:l};this.applyParsedProperty(n,s),c.next=n.pstyle(a),c.next&&c.next.bypass&&(c.next=c.next.bypassed)}}return{diffProps:i}},updateStyleHints:function(e){var t=e._private;if(!e.removed()){var n=!1;if("nodes"===t.group)for(var r=1;r<=this.pieBackgroundN;r++){if(e.pstyle("pie-"+r+"-background-size").value>0){n=!0;break}}t.hasPie=n;var i=e.pstyle("text-transform").strValue,o=e.pstyle("label").strValue,a=e.pstyle("source-label").strValue,s=e.pstyle("target-label").strValue,l=e.pstyle("font-style").strValue,c=e.pstyle("font-size").pfValue+"px",u=e.pstyle("font-family").strValue,d=e.pstyle("font-weight").strValue,p=l+"$"+c+"$"+u+"$"+d+"$"+i+"$"+e.pstyle("text-valign").strValue+"$"+e.pstyle("text-valign").strValue+"$"+e.pstyle("text-outline-width").pfValue+"$"+e.pstyle("text-wrap").strValue+"$"+e.pstyle("text-max-width").pfValue;t.labelStyleKey=p,t.sourceLabelKey=p+"$"+a,t.targetLabelKey=p+"$"+s,t.labelKey=p+"$"+o,t.fontKey=l+"$"+d+"$"+c+"$"+u,t.styleKey=Date.now()}},applyParsedProperty:function(e,t){var n=this,o=t,a=e._private.style,s=void 0,l=n.types,c=n.properties[o.name].type,u=o.bypass,d=a[o.name],p=d&&d.bypass,f=e._private,h=function(){n.checkZOrderTrigger(e,o.name,d?d.value:null,o.value)};if("curve-style"===t.name&&"haystack"===t.value&&e.isEdge()&&(e.isLoop()||e.source().isParent()||e.target().isParent())&&(o=t=this.parse(t.name,"bezier",u)),o.delete)return a[o.name]=void 0,h(),!0;if(o.deleteBypassed)return d?!!d.bypass&&(d.bypassed=void 0,h(),!0):(h(),!0);if(o.deleteBypass)return d?!!d.bypass&&(a[o.name]=d.bypassed,h(),!0):(h(),!0);var g=function(){r.error("Do not assign mappings to elements without corresponding data (e.g. ele `"+e.id()+"` for property `"+o.name+"` with data field `"+o.field+"`); try a `["+o.field+"]` selector to limit scope to elements with `"+o.field+"` defined")};switch(o.mapped){case l.mapData:for(var m=o.field.split("."),v=f.data,b=0;b<m.length&&v;b++){v=v[m[b]]}var y=void 0;if((y=i.number(v)?(v-o.fieldMin)/(o.fieldMax-o.fieldMin):0)<0?y=0:y>1&&(y=1),c.color){var x=o.valueMin[0],w=o.valueMax[0],k=o.valueMin[1],_=o.valueMax[1],$=o.valueMin[2],E=o.valueMax[2],S=null==o.valueMin[3]?1:o.valueMin[3],C=null==o.valueMax[3]?1:o.valueMax[3],T=[Math.round(x+(w-x)*y),Math.round(k+(_-k)*y),Math.round($+(E-$)*y),Math.round(S+(C-S)*y)];s={bypass:o.bypass,name:o.name,value:T,strValue:"rgb("+T[0]+", "+T[1]+", "+T[2]+")"}}else{if(!c.number)return!1;var A=o.valueMin+(o.valueMax-o.valueMin)*y;s=this.parse(o.name,A,o.bypass,"mapping")}s||(s=this.parse(o.name,d.strValue,o.bypass,"mapping")),s||g(),s.mapping=o,o=s;break;case l.data:var O=o.field.split("."),P=f.data;if(P)for(var R=0;R<O.length;R++){P=P[O[R]]}if(!(s=this.parse(o.name,P,o.bypass,"mapping"))){var j=d?d.strValue:"";s=this.parse(o.name,j,o.bypass,"mapping")}s||g(),s.mapping=o,o=s;break;case l.fn:var D=(0,o.value)(e);(s=this.parse(o.name,D,o.bypass,"mapping")).mapping=o,o=s;break;case void 0:break;default:return!1}return u?(o.bypassed=p?d.bypassed:d,a[o.name]=o):p?d.bypassed=o:a[o.name]=o,h(),!0},cleanElements:function(e,t){for(var n=this.properties,r=0;r<e.length;r++){var i=e[r];if(t)for(var o=i._private.style,a=0;a<n.length;a++){var s=n[a],l=o[s.name];l&&(l.bypass?l.bypassed=null:o[s.name]=null)}else i._private.style={}}},update:function(){this._private.cy.mutableElements().updateStyle()},updateMappers:function(e){for(var t=this._private.cy.collection(),n=0;n<e.length;n++){for(var r=e[n],i=r._private.style,o=!1,a=0;a<this.properties.length;a++){var s=i[this.properties[a].name];if(s&&s.mapping){var l=s.mapping;this.applyParsedProperty(r,l),o=!0}}o&&(this.updateStyleHints(r),t.merge(r))}return t},updateTransitions:function(e,t,n){var r=this,a=e._private,s=e.pstyle("transition-property").value,l=e.pstyle("transition-duration").pfValue,c=e.pstyle("transition-delay").pfValue;if(s.length>0&&l>0){for(var u={},d=!1,p=0;p<s.length;p++){var f=s[p],h=e.pstyle(f),g=t[f];if(g){var m=g.prev,v=null!=g.next?g.next:h,b=!1,y=void 0;m&&(i.number(m.pfValue)&&i.number(v.pfValue)?(b=v.pfValue-m.pfValue,y=m.pfValue+1e-6*b):i.number(m.value)&&i.number(v.value)?(b=v.value-m.value,y=m.value+1e-6*b):i.array(m.value)&&i.array(v.value)&&(b=m.value[0]!==v.value[0]||m.value[1]!==v.value[1]||m.value[2]!==v.value[2],y=m.strValue),b&&(u[f]=v.strValue,this.applyBypass(e,f,y),d=!0))}}if(!d)return;a.transitioning=!0,new o(function(t){c>0?e.delayAnimation(c).play().promise().then(t):t()}).then(function(){return e.animation({style:u,duration:l,easing:e.pstyle("transition-timing-function").value,queue:!1}).play().promise()}).then(function(){r.removeBypasses(e,s),e.emitAndNotify("style"),a.transitioning=!1})}else a.transitioning&&(this.removeBypasses(e,s),e.emitAndNotify("style"),a.transitioning=!1)},checkZOrderTrigger:function(e,t,n,r){var i=this.properties[t];null==i.triggersZOrder||null!=n&&!i.triggersZOrder(n,r)||this._private.cy.notify({type:"zorder",eles:e})}};e.exports=a},function(e,t,n){"use strict";var r=n(0),i=n(1),o={applyBypass:function(e,t,n,o){var a=[];if("*"===t||"**"===t){if(void 0!==n)for(var s=0;s<this.properties.length;s++){var l=this.properties[s].name,c=this.parse(l,n,!0);c&&a.push(c)}}else if(r.string(t)){var u=this.parse(t,n,!0);u&&a.push(u)}else{if(!r.plainObject(t))return!1;var d=t;o=n;for(var p=Object.keys(d),f=0;f<p.length;f++){var h=p[f],g=(this.properties[h],d[h]);if(void 0===g&&(g=d[i.dash2camel(h)]),void 0!==g){var m=this.parse(h,g,!0);m&&a.push(m)}}}if(0===a.length)return!1;for(var v=!1,b=0;b<e.length;b++){for(var y=e[b],x={},w=void 0,k=0;k<a.length;k++){var _=a[k];if(o){var $=y.pstyle(_.name);w=x[_.name]={prev:$}}v=this.applyParsedProperty(y,_)||v,o&&(w.next=y.pstyle(_.name))}v&&this.updateStyleHints(y),o&&this.updateTransitions(y,x,!0)}return v},overrideBypass:function(e,t,n){t=i.camel2dash(t);for(var r=0;r<e.length;r++){var o=e[r],a=o._private.style[t],s=this.properties[t].type,l=s.color,c=s.mutiple;if(a&&a.bypass){var u=null!=a.pfValue?a.pfValue:a.value;a.value=n,null!=a.pfValue&&(a.pfValue=n),a.strValue=l?"rgb("+n.join(",")+")":c?n.join(" "):""+n,this.checkZOrderTrigger(o,t,u,n)}else this.applyBypass(o,t,n)}},removeAllBypasses:function(e,t){return this.removeBypasses(e,this.propertyNames,t)},removeBypasses:function(e,t,n){for(var r=0;r<e.length;r++){for(var i=e[r],o={},a=0;a<t.length;a++){var s=t[a],l=this.properties[s],c=i.pstyle(l.name);if(c&&c.bypass){var u=this.parse(s,"",!0),d=o[l.name]={prev:c};this.applyParsedProperty(i,u),d.next=i.pstyle(l.name)}}this.updateStyleHints(i),n&&this.updateTransitions(i,o,!0)}}};e.exports=o},function(e,t,n){"use strict";var r=n(3),i={getEmSizeInPixels:function(){var e=this.containerCss("font-size");return null!=e?parseFloat(e):1},containerCss:function(e){var t=this._private.cy.container();if(r&&t&&r.getComputedStyle)return r.getComputedStyle(t).getPropertyValue(e)}};e.exports=i},function(e,t,n){"use strict";var r=n(1),i=n(0),o={getRenderedStyle:function(e,t){return t?this.getStylePropertyValue(e,t,!0):this.getRawStyle(e,!0)},getRawStyle:function(e,t){if(e=e[0]){for(var n={},i=0;i<this.properties.length;i++){var o=this.properties[i],a=this.getStylePropertyValue(e,o.name,t);null!=a&&(n[o.name]=a,n[r.dash2camel(o.name)]=a)}return n}},getIndexedStyle:function(e,t,n,r){var i=e.pstyle(t)[n][r];return null!=i?i:e.cy().style().getDefaultProperty(t)[n][0]},getStylePropertyValue:function(e,t,n){if(e=e[0]){var r=this.properties[t];r.alias&&(r=r.pointsTo);var i=r.type,o=e.pstyle(r.name),a=e.cy().zoom();if(o){var s=o.units?i.implicitUnits||"px":null;return s?[].concat(o.pfValue).map(function(e){return e*(n?a:1)+s}).join(" "):o.strValue}}},getAnimationStartStyle:function(e,t){for(var n={},r=0;r<t.length;r++){var o=t[r].name,a=e.pstyle(o);void 0!==a&&(a=i.plainObject(a)?this.parse(o,a.strValue):this.parse(o,a)),a&&(n[o]=a)}return n},getPropsList:function(e){var t=[],n=e,i=this.properties;if(n)for(var o=Object.keys(n),a=0;a<o.length;a++){var s=o[a],l=n[s],c=i[s]||i[r.camel2dash(s)],u=this.parse(c.name,l);u&&t.push(u)}return t}};e.exports=o},function(e,t,n){"use strict";var r={appendFromJson:function(e){for(var t=0;t<e.length;t++){var n=e[t],r=n.selector,i=n.style||n.css,o=Object.keys(i);this.selector(r);for(var a=0;a<o.length;a++){var s=o[a],l=i[s];this.css(s,l)}}return this},fromJson:function(e){return this.resetToDefault(),this.appendFromJson(e),this},json:function(){for(var e=[],t=this.defaultLength;t<this.length;t++){for(var n=this[t],r=n.selector,i=n.properties,o={},a=0;a<i.length;a++){var s=i[a];o[s.name]=s.strValue}e.push({selector:r?r.toString():"core",style:o})}return e}};e.exports=r},function(e,t,n){"use strict";var r=n(1),i=n(6),o={appendFromString:function(e){var t=""+e,n=void 0,o=void 0,a=void 0;function s(){t=t.length>n.length?t.substr(n.length):""}function l(){o=o.length>a.length?o.substr(a.length):""}for(t=t.replace(/[/][*](\s|.)+?[*][/]/g,"");;){if(t.match(/^\s*$/))break;var c=t.match(/^\s*((?:.|\s)+?)\s*\{((?:.|\s)+?)\}/);if(!c){r.error("Halting stylesheet parsing: String stylesheet contains more to parse but no selector and block found in: "+t);break}n=c[0];var u=c[1];if("core"!==u)if(new i(u)._private.invalid){r.error("Skipping parsing of block: Invalid selector found in string stylesheet: "+u),s();continue}var d=c[2],p=!1;o=d;for(var f=[];;){if(o.match(/^\s*$/))break;var h=o.match(/^\s*(.+?)\s*:\s*(.+?)\s*;/);if(!h){r.error("Skipping parsing of block: Invalid formatting of style property and value definitions found in:"+d),p=!0;break}a=h[0];var g=h[1],m=h[2];if(this.properties[g])this.parse(g,m)?(f.push({name:g,val:m}),l()):(r.error("Skipping property: Invalid property definition in: "+a),l());else r.error("Skipping property: Invalid property name in: "+a),l()}if(p){s();break}this.selector(u);for(var v=0;v<f.length;v++){var b=f[v];this.css(b.name,b.val)}s()}return this},fromString:function(e){return this.resetToDefault(),this.appendFromString(e),this}};e.exports=o},function(e,t,n){"use strict";var r=n(1),i=n(0),o={};!function(){var e=r.regex.number,t=r.regex.rgbaNoBackRefs,n=r.regex.hslaNoBackRefs,a=r.regex.hex3,s=r.regex.hex6,l=function(e){return"^"+e+"\\s*\\(\\s*([\\w\\.]+)\\s*\\)$"},c=function(r){var i=e+"|\\w+|"+t+"|"+n+"|"+a+"|"+s;return"^"+r+"\\s*\\(([\\w\\.]+)\\s*\\,\\s*("+e+")\\s*\\,\\s*("+e+")\\s*,\\s*("+i+")\\s*\\,\\s*("+i+")\\)$"},u=["^url\\s*\\(\\s*['\"]?(.+?)['\"]?\\s*\\)$","^(none)$","^(.+)$"];o.types={time:{number:!0,min:0,units:"s|ms",implicitUnits:"ms"},percent:{number:!0,min:0,max:100,units:"%",implicitUnits:"%"},zeroOneNumber:{number:!0,min:0,max:1,unitless:!0},zeroOneNumbers:{number:!0,min:0,max:1,unitless:!0,multiple:!0},nOneOneNumber:{number:!0,min:-1,max:1,unitless:!0},nonNegativeInt:{number:!0,min:0,integer:!0,unitless:!0},position:{enums:["parent","origin"]},nodeSize:{number:!0,min:0,enums:["label"]},number:{number:!0,unitless:!0},numbers:{number:!0,unitless:!0,multiple:!0},positiveNumber:{number:!0,unitless:!0,min:0,strictMin:!0},size:{number:!0,min:0},bidirectionalSize:{number:!0},bidirectionalSizes:{number:!0,multiple:!0},sizeMaybePercent:{number:!0,min:0,allowPercent:!0},paddingRelativeTo:{enums:["width","height","average","min","max"]},bgWH:{number:!0,min:0,allowPercent:!0,enums:["auto"],multiple:!0},bgPos:{number:!0,allowPercent:!0,multiple:!0},bgRelativeTo:{enums:["inner","include-padding"],multiple:!0},bgRepeat:{enums:["repeat","repeat-x","repeat-y","no-repeat"],multiple:!0},bgFit:{enums:["none","contain","cover"],multiple:!0},bgCrossOrigin:{enums:["anonymous","use-credentials"],multiple:!0},bgClip:{enums:["none","node"]},color:{color:!0},bool:{enums:["yes","no"]},lineStyle:{enums:["solid","dotted","dashed"]},borderStyle:{enums:["solid","dotted","dashed","double"]},curveStyle:{enums:["bezier","unbundled-bezier","haystack","segments"]},fontFamily:{regex:'^([\\w- \\"]+(?:\\s*,\\s*[\\w- \\"]+)*)$'},fontletiant:{enums:["small-caps","normal"]},fontStyle:{enums:["italic","normal","oblique"]},fontWeight:{enums:["normal","bold","bolder","lighter","100","200","300","400","500","600","800","900",100,200,300,400,500,600,700,800,900]},textDecoration:{enums:["none","underline","overline","line-through"]},textTransform:{enums:["none","uppercase","lowercase"]},textWrap:{enums:["none","wrap","ellipsis"]},textBackgroundShape:{enums:["rectangle","roundrectangle"]},nodeShape:{enums:["rectangle","roundrectangle","cutrectangle","bottomroundrectangle","barrel","ellipse","triangle","square","pentagon","hexagon","concavehexagon","heptagon","octagon","tag","star","diamond","vee","rhomboid","polygon"]},compoundIncludeLabels:{enums:["include","exclude"]},arrowShape:{enums:["tee","triangle","triangle-tee","triangle-cross","triangle-backcurve","half-triangle-overshot","vee","square","circle","diamond","none"]},arrowFill:{enums:["filled","hollow"]},display:{enums:["element","none"]},visibility:{enums:["hidden","visible"]},zCompoundDepth:{enums:["bottom","orphan","auto","top"]},zIndexCompare:{enums:["auto","manual"]},valign:{enums:["top","center","bottom"]},halign:{enums:["left","center","right"]},text:{string:!0},data:{mapping:!0,regex:l("data")},layoutData:{mapping:!0,regex:l("layoutData")},scratch:{mapping:!0,regex:l("scratch")},mapData:{mapping:!0,regex:c("mapData")},mapLayoutData:{mapping:!0,regex:c("mapLayoutData")},mapScratch:{mapping:!0,regex:c("mapScratch")},fn:{mapping:!0,fn:!0},url:{regexes:u,singleRegexMatchValue:!0},urls:{regexes:u,singleRegexMatchValue:!0,multiple:!0},propList:{propList:!0},angle:{number:!0,units:"deg|rad",implicitUnits:"rad"},textRotation:{number:!0,units:"deg|rad",implicitUnits:"rad",enums:["none","autorotate"]},polygonPointList:{number:!0,multiple:!0,evenMultiple:!0,min:-1,max:1,unitless:!0},edgeDistances:{enums:["intersection","node-position"]},edgeEndpoint:{number:!0,multiple:!0,units:"%|px|em|deg|rad",implicitUnits:"px",enums:["inside-to-node","outside-to-node","outside-to-line"],singleEnum:!0,validate:function(e,t){switch(e.length){case 2:return"deg"!==t[0]&&"rad"!==t[0]&&"deg"!==t[1]&&"rad"!==t[1];case 1:return i.string(e[0])||"deg"===t[0]||"rad"===t[0];default:return!1}}},easing:{regexes:["^(spring)\\s*\\(\\s*("+e+")\\s*,\\s*("+e+")\\s*\\)$","^(cubic-bezier)\\s*\\(\\s*("+e+")\\s*,\\s*("+e+")\\s*,\\s*("+e+")\\s*,\\s*("+e+")\\s*\\)$"],enums:["linear","ease","ease-in","ease-out","ease-in-out","ease-in-sine","ease-out-sine","ease-in-out-sine","ease-in-quad","ease-out-quad","ease-in-out-quad","ease-in-cubic","ease-out-cubic","ease-in-out-cubic","ease-in-quart","ease-out-quart","ease-in-out-quart","ease-in-quint","ease-out-quint","ease-in-out-quint","ease-in-expo","ease-out-expo","ease-in-out-expo","ease-in-circ","ease-out-circ","ease-in-out-circ"]}};var d={zeroNonZero:function(e,t){return 0===e&&0!==t||0!==e&&0===t},anyDiff:function(e,t){return e!==t}},p=o.types,f=o.properties=[{name:"label",type:p.text},{name:"text-rotation",type:p.textRotation},{name:"text-margin-x",type:p.bidirectionalSize},{name:"text-margin-y",type:p.bidirectionalSize},{name:"source-label",type:p.text},{name:"source-text-rotation",type:p.textRotation},{name:"source-text-margin-x",type:p.bidirectionalSize},{name:"source-text-margin-y",type:p.bidirectionalSize},{name:"source-text-offset",type:p.size},{name:"target-label",type:p.text},{name:"target-text-rotation",type:p.textRotation},{name:"target-text-margin-x",type:p.bidirectionalSize},{name:"target-text-margin-y",type:p.bidirectionalSize},{name:"target-text-offset",type:p.size},{name:"text-valign",type:p.valign},{name:"text-halign",type:p.halign},{name:"color",type:p.color},{name:"text-outline-color",type:p.color},{name:"text-outline-width",type:p.size},{name:"text-outline-opacity",type:p.zeroOneNumber},{name:"text-opacity",type:p.zeroOneNumber},{name:"text-background-color",type:p.color},{name:"text-background-opacity",type:p.zeroOneNumber},{name:"text-background-padding",type:p.size},{name:"text-border-opacity",type:p.zeroOneNumber},{name:"text-border-color",type:p.color},{name:"text-border-width",type:p.size},{name:"text-border-style",type:p.borderStyle},{name:"text-background-shape",type:p.textBackgroundShape},{name:"text-transform",type:p.textTransform},{name:"text-wrap",type:p.textWrap},{name:"text-max-width",type:p.size},{name:"text-events",type:p.bool},{name:"font-family",type:p.fontFamily},{name:"font-style",type:p.fontStyle},{name:"font-weight",type:p.fontWeight},{name:"font-size",type:p.size},{name:"min-zoomed-font-size",type:p.size},{name:"events",type:p.bool},{name:"display",type:p.display,triggersZOrder:d.anyDiff},{name:"visibility",type:p.visibility,triggersZOrder:d.anyDiff},{name:"opacity",type:p.zeroOneNumber,triggersZOrder:d.zeroNonZero},{name:"z-compound-depth",type:p.zCompoundDepth,triggersZOrder:d.anyDiff},{name:"z-index-compare",type:p.zIndexCompare,triggersZOrder:d.anyDiff},{name:"z-index",type:p.nonNegativeInt,triggersZOrder:d.anyDiff},{name:"overlay-padding",type:p.size},{name:"overlay-color",type:p.color},{name:"overlay-opacity",type:p.zeroOneNumber},{name:"transition-property",type:p.propList},{name:"transition-duration",type:p.time},{name:"transition-delay",type:p.time},{name:"transition-timing-function",type:p.easing},{name:"height",type:p.nodeSize},{name:"width",type:p.nodeSize},{name:"shape",type:p.nodeShape},{name:"shape-polygon-points",type:p.polygonPointList},{name:"background-color",type:p.color},{name:"background-opacity",type:p.zeroOneNumber},{name:"background-blacken",type:p.nOneOneNumber},{name:"padding",type:p.sizeMaybePercent},{name:"padding-relative-to",type:p.paddingRelativeTo},{name:"border-color",type:p.color},{name:"border-opacity",type:p.zeroOneNumber},{name:"border-width",type:p.size},{name:"border-style",type:p.borderStyle},{name:"background-image",type:p.urls},{name:"background-image-crossorigin",type:p.bgCrossOrigin},{name:"background-image-opacity",type:p.zeroOneNumbers},{name:"background-position-x",type:p.bgPos},{name:"background-position-y",type:p.bgPos},{name:"background-width-relative-to",type:p.bgRelativeTo},{name:"background-height-relative-to",type:p.bgRelativeTo},{name:"background-repeat",type:p.bgRepeat},{name:"background-fit",type:p.bgFit},{name:"background-clip",type:p.bgClip},{name:"background-width",type:p.bgWH},{name:"background-height",type:p.bgWH},{name:"position",type:p.position},{name:"compound-sizing-wrt-labels",type:p.compoundIncludeLabels},{name:"min-width",type:p.size},{name:"min-width-bias-left",type:p.sizeMaybePercent},{name:"min-width-bias-right",type:p.sizeMaybePercent},{name:"min-height",type:p.size},{name:"min-height-bias-top",type:p.sizeMaybePercent},{name:"min-height-bias-bottom",type:p.sizeMaybePercent},{name:"line-style",type:p.lineStyle},{name:"line-color",type:p.color},{name:"curve-style",type:p.curveStyle},{name:"haystack-radius",type:p.zeroOneNumber},{name:"source-endpoint",type:p.edgeEndpoint},{name:"target-endpoint",type:p.edgeEndpoint},{name:"control-point-step-size",type:p.size},{name:"control-point-distances",type:p.bidirectionalSizes},{name:"control-point-weights",type:p.numbers},{name:"segment-distances",type:p.bidirectionalSizes},{name:"segment-weights",type:p.numbers},{name:"edge-distances",type:p.edgeDistances},{name:"arrow-scale",type:p.positiveNumber},{name:"loop-direction",type:p.angle},{name:"loop-sweep",type:p.angle},{name:"source-distance-from-node",type:p.size},{name:"target-distance-from-node",type:p.size},{name:"ghost",type:p.bool},{name:"ghost-offset-x",type:p.bidirectionalSize},{name:"ghost-offset-y",type:p.bidirectionalSize},{name:"ghost-opacity",type:p.zeroOneNumber},{name:"selection-box-color",type:p.color},{name:"selection-box-opacity",type:p.zeroOneNumber},{name:"selection-box-border-color",type:p.color},{name:"selection-box-border-width",type:p.size},{name:"active-bg-color",type:p.color},{name:"active-bg-opacity",type:p.zeroOneNumber},{name:"active-bg-size",type:p.size},{name:"outside-texture-bg-color",type:p.color},{name:"outside-texture-bg-opacity",type:p.zeroOneNumber}],h=o.aliases=[{name:"content",pointsTo:"label"},{name:"control-point-distance",pointsTo:"control-point-distances"},{name:"control-point-weight",pointsTo:"control-point-weights"},{name:"edge-text-rotation",pointsTo:"text-rotation"},{name:"padding-left",pointsTo:"padding"},{name:"padding-right",pointsTo:"padding"},{name:"padding-top",pointsTo:"padding"},{name:"padding-bottom",pointsTo:"padding"}];o.pieBackgroundN=16,f.push({name:"pie-size",type:p.sizeMaybePercent});for(var g=1;g<=o.pieBackgroundN;g++)f.push({name:"pie-"+g+"-background-color",type:p.color}),f.push({name:"pie-"+g+"-background-size",type:p.percent}),f.push({name:"pie-"+g+"-background-opacity",type:p.zeroOneNumber});var m=o.arrowPrefixes=["source","mid-source","target","mid-target"];[{name:"arrow-shape",type:p.arrowShape},{name:"arrow-color",type:p.color},{name:"arrow-fill",type:p.arrowFill}].forEach(function(e){m.forEach(function(t){var n=t+"-"+e.name,r=e.type;f.push({name:n,type:r})})},{}),o.propertyNames=f.map(function(e){return e.name});for(var v=0;v<f.length;v++){var b=f[v];f[b.name]=b}for(var y=0;y<h.length;y++){var x=h[y],w=f[x.pointsTo],k={name:x.name,alias:!0,pointsTo:w};f.push(k),f[x.name]=k}}(),o.getDefaultProperty=function(e){return this.getDefaultProperties()[e]},o.getDefaultProperties=r.memoize(function(){for(var e=r.extend({events:"yes","text-events":"no","text-valign":"top","text-halign":"center",color:"#000","text-outline-color":"#000","text-outline-width":0,"text-outline-opacity":1,"text-opacity":1,"text-decoration":"none","text-transform":"none","text-wrap":"none","text-max-width":9999,"text-background-color":"#000","text-background-opacity":0,"text-background-shape":"rectangle","text-background-padding":0,"text-border-opacity":0,"text-border-width":0,"text-border-style":"solid","text-border-color":"#000","font-family":"Helvetica Neue, Helvetica, sans-serif","font-style":"normal","font-weight":"normal","font-size":16,"min-zoomed-font-size":0,"text-rotation":"none","source-text-rotation":"none","target-text-rotation":"none",visibility:"visible",display:"element",opacity:1,"z-compound-depth":"auto","z-index-compare":"auto","z-index":0,label:"","text-margin-x":0,"text-margin-y":0,"source-label":"","source-text-offset":0,"source-text-margin-x":0,"source-text-margin-y":0,"target-label":"","target-text-offset":0,"target-text-margin-x":0,"target-text-margin-y":0,"overlay-opacity":0,"overlay-color":"#000","overlay-padding":10,"transition-property":"none","transition-duration":0,"transition-delay":0,"transition-timing-function":"linear","background-blacken":0,"background-color":"#999","background-opacity":1,"background-image":"none","background-image-crossorigin":"anonymous","background-image-opacity":1,"background-position-x":"50%","background-position-y":"50%","background-width-relative-to":"include-padding","background-height-relative-to":"include-padding","background-repeat":"no-repeat","background-fit":"none","background-clip":"node","background-width":"auto","background-height":"auto","border-color":"#000","border-opacity":1,"border-width":0,"border-style":"solid",height:30,width:30,shape:"ellipse","shape-polygon-points":"-1, -1,   1, -1,   1, 1,   -1, 1",ghost:"no","ghost-offset-y":0,"ghost-offset-x":0,"ghost-opacity":0,padding:0,"padding-relative-to":"width",position:"origin","compound-sizing-wrt-labels":"include","min-width":0,"min-width-bias-left":0,"min-width-bias-right":0,"min-height":0,"min-height-bias-top":0,"min-height-bias-bottom":0},{"pie-size":"100%"},[{name:"pie-{{i}}-background-color",value:"black"},{name:"pie-{{i}}-background-size",value:"0%"},{name:"pie-{{i}}-background-opacity",value:1}].reduce(function(e,t){for(var n=1;n<=o.pieBackgroundN;n++){var r=t.name.replace("{{i}}",n),i=t.value;e[r]=i}return e},{}),{"line-style":"solid","line-color":"#999","control-point-step-size":40,"control-point-weights":.5,"segment-weights":.5,"segment-distances":20,"edge-distances":"intersection","curve-style":"bezier","haystack-radius":0,"arrow-scale":1,"loop-direction":"-45deg","loop-sweep":"-90deg","source-distance-from-node":0,"target-distance-from-node":0,"source-endpoint":"outside-to-node","target-endpoint":"outside-to-node"},[{name:"arrow-shape",value:"none"},{name:"arrow-color",value:"#999"},{name:"arrow-fill",value:"filled"}].reduce(function(e,t){return o.arrowPrefixes.forEach(function(n){var r=n+"-"+t.name,i=t.value;e[r]=i}),e},{})),t={},n=0;n<this.properties.length;n++){var i=this.properties[n];if(!i.pointsTo){var a=i.name,s=e[a],l=this.parse(a,s);t[a]=l}}return t}),o.addDefaultStylesheet=function(){this.selector("$node > node").css({shape:"rectangle",padding:10,"background-color":"#eee","border-color":"#ccc","border-width":1}).selector("edge").css({width:3,"curve-style":"haystack"}).selector(":parent <-> node").css({"curve-style":"bezier","source-endpoint":"outside-to-line","target-endpoint":"outside-to-line"}).selector(":selected").css({"background-color":"#0169D9","line-color":"#0169D9","source-arrow-color":"#0169D9","target-arrow-color":"#0169D9","mid-source-arrow-color":"#0169D9","mid-target-arrow-color":"#0169D9"}).selector("node:parent:selected").css({"background-color":"#CCE1F9","border-color":"#aec8e5"}).selector(":active").css({"overlay-color":"black","overlay-padding":10,"overlay-opacity":.25}).selector("core").css({"selection-box-color":"#ddd","selection-box-opacity":.65,"selection-box-border-color":"#aaa","selection-box-border-width":1,"active-bg-color":"black","active-bg-opacity":.15,"active-bg-size":30,"outside-texture-bg-color":"#000","outside-texture-bg-opacity":.125}),this.defaultLength=this.length},e.exports=o},function(e,t,n){"use strict";var r=n(1),i=n(0),o=n(2),a={parse:function(e,t,n,o){if(i.fn(t))return this.parseImplWarn(e,t,n,o);var a=[e,t,n,"mapping"===o||!0===o||!1===o||null==o?"dontcare":o].join("$"),s=this.propCache=this.propCache||{},l=void 0;return(l=s[a])||(l=s[a]=this.parseImplWarn(e,t,n,o)),(n||"mapping"===o)&&(l=r.copy(l))&&(l.value=r.copy(l.value)),l},parseImplWarn:function(e,t,n,i){var o=this.parseImpl(e,t,n,i);return o||null==t||r.error("The style property `%s: %s` is invalid",e,t),o},parseImpl:function(e,t,n,a){e=r.camel2dash(e);var s=this.properties[e],l=t,c=this.types;if(!s)return null;if(void 0===t)return null;s.alias&&(s=s.pointsTo,e=s.name);var u=i.string(t);u&&(t=t.trim());var d=s.type;if(!d)return null;if(n&&(""===t||null===t))return{name:e,value:t,bypass:!0,deleteBypass:!0};if(i.fn(t))return{name:e,value:t,strValue:"fn",mapped:c.fn,bypass:n};var p=void 0,f=void 0;if(!u||a);else{if(p=new RegExp(c.data.regex).exec(t)){if(n)return!1;var h=c.data;return{name:e,value:p,strValue:""+t,mapped:h,field:p[1],bypass:n}}if(f=new RegExp(c.mapData.regex).exec(t)){if(n)return!1;if(d.multiple)return!1;var g=c.mapData;if(!d.color&&!d.number)return!1;var m=this.parse(e,f[4]);if(!m||m.mapped)return!1;var v=this.parse(e,f[5]);if(!v||v.mapped)return!1;if(m.value===v.value)return!1;if(d.color){var b=m.value,y=v.value;if(!(b[0]!==y[0]||b[1]!==y[1]||b[2]!==y[2]||b[3]!==y[3]&&(null!=b[3]&&1!==b[3]||null!=y[3]&&1!==y[3])))return!1}return{name:e,value:f,strValue:""+t,mapped:g,field:f[1],fieldMin:parseFloat(f[2]),fieldMax:parseFloat(f[3]),valueMin:m.value,valueMax:v.value,bypass:n}}}if(d.multiple&&"multiple"!==a){var x=void 0;if(x=u?t.split(/\s+/):i.array(t)?t:[t],d.evenMultiple&&x.length%2!=0)return null;for(var w=[],k=[],_=[],$=!1,E=0;E<x.length;E++){var S=this.parse(e,x[E],n,"multiple");$=$||i.string(S.value),w.push(S.value),_.push(null!=S.pfValue?S.pfValue:S.value),k.push(S.units)}return d.validate&&!d.validate(w,k)?null:d.singleEnum&&$?1===w.length&&i.string(w[0])?{name:e,value:w[0],strValue:w[0],bypass:n}:null:{name:e,value:w,pfValue:_,strValue:w.map(function(e,t){return e+(k[t]||"")}).join(" "),bypass:n,units:k}}var C=function(){for(var r=0;r<d.enums.length;r++){if(d.enums[r]===t)return{name:e,value:t,strValue:""+t,bypass:n}}return null};if(d.number){var T=void 0,A="px";if(d.units&&(T=d.units),d.implicitUnits&&(A=d.implicitUnits),!d.unitless)if(u){var O="px|em"+(d.allowPercent?"|\\%":"");T&&(O=T);var P=t.match("^("+r.regex.number+")("+O+")?$");P&&(t=P[1],T=P[2]||A)}else T&&!d.implicitUnits||(T=A);if(t=parseFloat(t),isNaN(t)&&void 0===d.enums)return null;if(isNaN(t)&&void 0!==d.enums)return t=l,C();if(d.integer&&!i.integer(t))return null;if(void 0!==d.min&&(t<d.min||d.strictMin&&t===d.min)||void 0!==d.max&&(t>d.max||d.strictMax&&t===d.max))return null;var R={name:e,value:t,strValue:""+t+(T||""),units:T,bypass:n};return d.unitless||"px"!==T&&"em"!==T?R.pfValue=t:R.pfValue="px"!==T&&T?this.getEmSizeInPixels()*t:t,"ms"!==T&&"s"!==T||(R.pfValue="ms"===T?t:1e3*t),"deg"!==T&&"rad"!==T||(R.pfValue="rad"===T?t:o.deg2rad(t)),"%"===T&&(R.pfValue=t/100),R}if(d.propList){var j=[],D=""+t;if("none"===D);else{for(var N=D.split(","),I=0;I<N.length;I++){var M=N[I].trim();this.properties[M]&&j.push(M)}if(0===j.length)return null}return{name:e,value:j,strValue:0===j.length?"none":j.join(", "),bypass:n}}if(d.color){var z=r.color2tuple(t);return z?{name:e,value:z,pfValue:z,strValue:""+t,bypass:n}:null}if(d.regex||d.regexes){if(d.enums){var L=C();if(L)return L}for(var q=d.regexes?d.regexes:[d.regex],B=0;B<q.length;B++){var V=new RegExp(q[B]).exec(t);if(V)return{name:e,value:d.singleRegexMatchValue?V[1]:V,strValue:""+t,bypass:n}}return null}return d.string?{name:e,value:""+t,strValue:""+t,bypass:n}:d.enums?C():null}};e.exports=a},function(e,t,n){"use strict";var r=n(0),i=n(3),o=n(2),a={autolock:function(e){return void 0===e?this._private.autolock:(this._private.autolock=!!e,this)},autoungrabify:function(e){return void 0===e?this._private.autoungrabify:(this._private.autoungrabify=!!e,this)},autounselectify:function(e){return void 0===e?this._private.autounselectify:(this._private.autounselectify=!!e,this)},panningEnabled:function(e){return void 0===e?this._private.panningEnabled:(this._private.panningEnabled=!!e,this)},userPanningEnabled:function(e){return void 0===e?this._private.userPanningEnabled:(this._private.userPanningEnabled=!!e,this)},zoomingEnabled:function(e){return void 0===e?this._private.zoomingEnabled:(this._private.zoomingEnabled=!!e,this)},userZoomingEnabled:function(e){return void 0===e?this._private.userZoomingEnabled:(this._private.userZoomingEnabled=!!e,this)},boxSelectionEnabled:function(e){return void 0===e?this._private.boxSelectionEnabled:(this._private.boxSelectionEnabled=!!e,this)},pan:function(){var e=arguments,t=this._private.pan,n=void 0,i=void 0,o=void 0,a=void 0,s=void 0;switch(e.length){case 0:return t;case 1:if(r.string(e[0]))return t[n=e[0]];if(r.plainObject(e[0])){if(!this._private.panningEnabled)return this;a=(o=e[0]).x,s=o.y,r.number(a)&&(t.x=a),r.number(s)&&(t.y=s),this.emit("pan viewport")}break;case 2:if(!this._private.panningEnabled)return this;n=e[0],i=e[1],"x"!==n&&"y"!==n||!r.number(i)||(t[n]=i),this.emit("pan viewport")}return this.notify({type:"viewport"}),this},panBy:function(e,t){var n=arguments,i=this._private.pan,o=void 0,a=void 0,s=void 0,l=void 0,c=void 0;if(!this._private.panningEnabled)return this;switch(n.length){case 1:r.plainObject(e)&&(l=(s=n[0]).x,c=s.y,r.number(l)&&(i.x+=l),r.number(c)&&(i.y+=c),this.emit("pan viewport"));break;case 2:a=t,"x"!==(o=e)&&"y"!==o||!r.number(a)||(i[o]+=a),this.emit("pan viewport")}return this.notify({type:"viewport"}),this},fit:function(e,t){var n=this.getFitViewport(e,t);if(n){var r=this._private;r.zoom=n.zoom,r.pan=n.pan,this.emit("pan zoom viewport"),this.notify({type:"viewport"})}return this},getFitViewport:function(e,t){if(r.number(e)&&void 0===t&&(t=e,e=void 0),this._private.panningEnabled&&this._private.zoomingEnabled){var n=void 0;if(r.string(e)){var i=e;e=this.$(i)}else if(r.boundingBox(e)){var o=e;(n={x1:o.x1,y1:o.y1,x2:o.x2,y2:o.y2}).w=n.x2-n.x1,n.h=n.y2-n.y1}else r.elementOrCollection(e)||(e=this.mutableElements());if(!r.elementOrCollection(e)||!e.empty()){n=n||e.boundingBox();var a=this.width(),s=this.height(),l=void 0;if(t=r.number(t)?t:0,!isNaN(a)&&!isNaN(s)&&a>0&&s>0&&!isNaN(n.w)&&!isNaN(n.h)&&n.w>0&&n.h>0)return{zoom:l=(l=(l=Math.min((a-2*t)/n.w,(s-2*t)/n.h))>this._private.maxZoom?this._private.maxZoom:l)<this._private.minZoom?this._private.minZoom:l,pan:{x:(a-l*(n.x1+n.x2))/2,y:(s-l*(n.y1+n.y2))/2}}}}},minZoom:function(e){return void 0===e?this._private.minZoom:(r.number(e)&&(this._private.minZoom=e),this)},maxZoom:function(e){return void 0===e?this._private.maxZoom:(r.number(e)&&(this._private.maxZoom=e),this)},getZoomedViewport:function(e){var t=this._private,n=t.pan,i=t.zoom,a=void 0,s=void 0,l=!1;if(t.zoomingEnabled||(l=!0),r.number(e)?s=e:r.plainObject(e)&&(s=e.level,null!=e.position?a=o.modelToRenderedPosition(e.position,i,n):null!=e.renderedPosition&&(a=e.renderedPosition),null==a||t.panningEnabled||(l=!0)),s=(s=s>t.maxZoom?t.maxZoom:s)<t.minZoom?t.minZoom:s,l||!r.number(s)||s===i||null!=a&&(!r.number(a.x)||!r.number(a.y)))return null;if(null!=a){var c=n,u=i,d=s;return{zoomed:!0,panned:!0,zoom:d,pan:{x:-d/u*(a.x-c.x)+a.x,y:-d/u*(a.y-c.y)+a.y}}}return{zoomed:!0,panned:!1,zoom:s,pan:n}},zoom:function(e){if(void 0===e)return this._private.zoom;var t=this.getZoomedViewport(e),n=this._private;return null!=t&&t.zoomed?(n.zoom=t.zoom,t.panned&&(n.pan.x=t.pan.x,n.pan.y=t.pan.y),this.emit("zoom"+(t.panned?" pan":"")+" viewport"),this.notify({type:"viewport"}),this):this},viewport:function(e){var t=this._private,n=!0,i=!0,o=[],a=!1,s=!1;if(!e)return this;if(r.number(e.zoom)||(n=!1),r.plainObject(e.pan)||(i=!1),!n&&!i)return this;if(n){var l=e.zoom;l<t.minZoom||l>t.maxZoom||!t.zoomingEnabled?a=!0:(t.zoom=l,o.push("zoom"))}if(i&&(!a||!e.cancelOnFailedZoom)&&t.panningEnabled){var c=e.pan;r.number(c.x)&&(t.pan.x=c.x,s=!1),r.number(c.y)&&(t.pan.y=c.y,s=!1),s||o.push("pan")}return o.length>0&&(o.push("viewport"),this.emit(o.join(" ")),this.notify({type:"viewport"})),this},center:function(e){var t=this.getCenterPan(e);return t&&(this._private.pan=t,this.emit("pan viewport"),this.notify({type:"viewport"})),this},getCenterPan:function(e,t){if(this._private.panningEnabled){if(r.string(e)){var n=e;e=this.mutableElements().filter(n)}else r.elementOrCollection(e)||(e=this.mutableElements());if(0!==e.length){var i=e.boundingBox(),o=this.width(),a=this.height();return{x:(o-(t=void 0===t?this._private.zoom:t)*(i.x1+i.x2))/2,y:(a-t*(i.y1+i.y2))/2}}}},reset:function(){return this._private.panningEnabled&&this._private.zoomingEnabled?(this.viewport({pan:{x:0,y:0},zoom:1}),this):this},invalidateSize:function(){this._private.sizeCache=null},size:function(){var e=this._private,t=e.container;return e.sizeCache=e.sizeCache||(t?function(){var e=i.getComputedStyle(t),n=function(t){return parseFloat(e.getPropertyValue(t))};return{width:t.clientWidth-n("padding-left")-n("padding-right"),height:t.clientHeight-n("padding-top")-n("padding-bottom")}}():{width:1,height:1})},width:function(){return this.size().width},height:function(){return this.size().height},extent:function(){var e=this._private.pan,t=this._private.zoom,n=this.renderedExtent(),r={x1:(n.x1-e.x)/t,x2:(n.x2-e.x)/t,y1:(n.y1-e.y)/t,y2:(n.y2-e.y)/t};return r.w=r.x2-r.x1,r.h=r.y2-r.y1,r},renderedExtent:function(){var e=this.width(),t=this.height();return{x1:0,y1:0,x2:e,y2:t,w:e,h:t}}};a.centre=a.center,a.autolockNodes=a.autolock,a.autoungrabifyNodes=a.autoungrabify,e.exports=a},function(e,t,n){"use strict";var r=n(1),i=n(4),o=n(7),a=n(12),s=n(95),l=n(0),c=n(11),u={},d={};function p(e,t,n){var s=n,d=function(n){r.error("Can not register `"+t+"` for `"+e+"` since `"+n+"` already exists in the prototype and can not be overridden")};if("core"===e){if(a.prototype[t])return d(t);a.prototype[t]=n}else if("collection"===e){if(o.prototype[t])return d(t);o.prototype[t]=n}else if("layout"===e){for(var p=function(e){this.options=e,n.call(this,e),l.plainObject(this._private)||(this._private={}),this._private.cy=e.cy,this._private.listeners=[],this.createEmitter()},h=p.prototype=Object.create(n.prototype),g=[],m=0;m<g.length;m++){var v=g[m];h[v]=h[v]||function(){return this}}h.start&&!h.run?h.run=function(){return this.start(),this}:!h.start&&h.run&&(h.start=function(){return this.run(),this});var b=n.prototype.stop;h.stop=function(){var e=this.options;if(e&&e.animate){var t=this.animations;if(t)for(var n=0;n<t.length;n++)t[n].stop()}return b?b.call(this):this.emit("layoutstop"),this},h.destroy||(h.destroy=function(){return this}),h.cy=function(){return this._private.cy};var y=function(e){return e._private.cy};r.assign(h,{createEmitter:function(){return this._private.emitter=new c({eventFields:function(e){return{layout:e,cy:y(e),target:e}},bubble:function(){return!0},parent:function(e){return y(e)},context:this}),this},emitter:function(){return this._private.emitter},on:function(e,t){return this.emitter().on(e,t),this},one:function(e,t){return this.emitter().one(e,t),this},once:function(e,t){return this.emitter().one(e,t),this},removeListener:function(e,t){return this.emitter().removeListener(e,t),this},emit:function(e,t){return this.emitter().emit(e,t),this}}),i.eventAliasesOn(h),s=p}else if("renderer"===e&&"null"!==t&&"base"!==t){var x=f("renderer","base"),w=x.prototype,k=n,_=n.prototype,$=function(){x.apply(this,arguments),k.apply(this,arguments)},E=$.prototype;for(var S in w){var C=w[S];if(null!=_[S])return d(S);E[S]=C}for(var T in _)E[T]=_[T];w.clientFunctions.forEach(function(e){E[e]=E[e]||function(){r.error("Renderer does not implement `renderer."+e+"()` on its prototype")}}),s=$}return r.setMap({map:u,keys:[e,t],value:s})}function f(e,t){return r.getMap({map:u,keys:[e,t]})}var h=function(){return 2===arguments.length?f.apply(null,arguments):3===arguments.length?p.apply(null,arguments):4===arguments.length?function(e,t,n,i){return r.getMap({map:d,keys:[e,t,n,i]})}.apply(null,arguments):5===arguments.length?function(e,t,n,i,o){return r.setMap({map:d,keys:[e,t,n,i],value:o})}.apply(null,arguments):void r.error("Invalid extension access syntax")};a.prototype.extension=h,s.forEach(function(e){e.extensions.forEach(function(t){p(e.type,t.name,t.impl)})}),e.exports=h},function(e,t,n){"use strict";e.exports=[{type:"layout",extensions:n(96)},{type:"renderer",extensions:n(105)}]},function(e,t,n){"use strict";e.exports=[{name:"breadthfirst",impl:n(97)},{name:"circle",impl:n(98)},{name:"concentric",impl:n(99)},{name:"cose",impl:n(100)},{name:"grid",impl:n(101)},{name:"null",impl:n(102)},{name:"preset",impl:n(103)},{name:"random",impl:n(104)}]},function(e,t,n){"use strict";var r=n(1),i=n(2),o=n(0),a={fit:!0,directed:!1,padding:30,circle:!1,spacingFactor:1.75,boundingBox:void 0,avoidOverlap:!0,nodeDimensionsIncludeLabels:!1,roots:void 0,maximalAdjustments:0,animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(e,t){return!0},ready:void 0,stop:void 0,transform:function(e,t){return t}};function s(e){this.options=r.extend({},a,e)}s.prototype.run=function(){var e=this.options,t=e,n=e.cy,r=t.eles,a=r.nodes().not(":parent"),s=r,l=i.makeBoundingBox(t.boundingBox?t.boundingBox:{x1:0,y1:0,w:n.width(),h:n.height()}),c=void 0;if(o.elementOrCollection(t.roots))c=t.roots;else if(o.array(t.roots)){for(var u=[],d=0;d<t.roots.length;d++){var p=t.roots[d],f=n.getElementById(p);u.push(f)}c=n.collection(u)}else if(o.string(t.roots))c=n.$(t.roots);else if(t.directed)c=a.roots();else{for(var h=[],g=a,m=function(){var e=n.collection();r.bfs({roots:g[0],visit:function(t,n,r,i,o){e=e.add(t)},directed:!1}),g=g.not(e),h.push(e)};g.length>0;)m();c=n.collection();for(var v=function(e){var t=h[e],n=t.maxDegree(!1),r=t.filter(function(e){return e.degree(!1)===n});c=c.add(r)},b=0;b<h.length;b++)v(b)}var y=[],x={},w={},k={},_={},$={};s.bfs({roots:c,directed:t.directed,visit:function(e,t,n,r,i){var o=e[0],a=o.id();if(y[i]||(y[i]=[]),y[i].push(o),x[a]=!0,w[a]=i,k[a]=n,_[a]=t,n){var s=n.id();($[s]=$[s]||[]).push(e)}}});for(var E=[],S=0;S<a.length;S++){var C=a[S];x[C.id()]||E.push(C)}for(var T=3*E.length,A=0;0!==E.length&&A<T;){for(var O=E.shift(),P=O.neighborhood().nodes(),R=!1,j=0;j<P.length;j++){var D=w[P[j].id()];if(void 0!==D){y[D].push(O),R=!0;break}}R||E.push(O),A++}for(;0!==E.length;){var N=E.shift();0===y.length&&y.push([]),y[0].push(N)}var I=function(){for(var e=0;e<y.length;e++)for(var t=y[e],n=0;n<t.length;n++){var r=t[n];null!=r?r._private.scratch.breadthfirst={depth:e,index:n}:(t.splice(n,1),n--)}};I();for(var M=function(e){for(var t=e.connectedEdges(function(t){return t.data("target")===e.id()}),n=e._private.scratch.breadthfirst,r=0,i=void 0,o=0;o<t.length;o++){var a=t[o].source()[0],s=a._private.scratch.breadthfirst;n.depth<=s.depth&&r<s.depth&&(r=s.depth,i=a)}return i},z=0;z<t.maximalAdjustments;z++){for(var L=y.length,q=[],B=0;B<L;B++)for(var V=y[B],F=V.length,U=0;U<F;U++){var H=V[U],W=H._private.scratch.breadthfirst,G=M(H);G&&(W.intEle=G,q.push(H))}for(var X=0;X<q.length;X++){var Y=q[X],Z=Y._private.scratch.breadthfirst,K=Z.intEle._private.scratch.breadthfirst;y[Z.depth][Z.index]=null;for(var Q=K.depth+1;Q>y.length-1;)y.push([]);y[Q].push(Y),Z.depth=Q,Z.index=y[Q].length-1}I()}var J=0;if(t.avoidOverlap)for(var ee=0;ee<a.length;ee++){var te=a[ee].layoutDimensions(t),ne=te.w,re=te.h;J=Math.max(J,ne,re)}for(var ie={},oe=function(e){if(ie[e.id()])return ie[e.id()];for(var t=e._private.scratch.breadthfirst.depth,n=e.neighborhood().nodes().not(":parent").intersection(a),r=0,i=0,o=0;o<n.length;o++){var s=n[o]._private.scratch.breadthfirst,l=s.index,c=s.depth,u=y[c].length;(t>c||0===t)&&(r+=l/u,i++)}return r/=i=Math.max(1,i),0===i&&(r=void 0),ie[e.id()]=r,r},ae=function(e,t){return oe(e)-oe(t)},se=0;se<3;se++){for(var le=0;le<y.length;le++)y[le]=y[le].sort(ae);I()}for(var ce=0,ue=0;ue<y.length;ue++)ce=Math.max(y[ue].length,ce);for(var de=l.x1+l.w/2,pe=l.x1+l.h/2,fe=function(e,n){var r=e._private.scratch.breadthfirst,i=r.depth,o=r.index,a=y[i].length,s=Math.max(l.w/(a+1),J),c=Math.max(l.h/(y.length+1),J),u=Math.min(l.w/2/y.length,l.h/2/y.length);if(u=Math.max(u,J),t.circle){if(t.circle){var d=u*i+u-(y.length>0&&y[0].length<=3?u/2:0),p=2*Math.PI/y[i].length*o;return 0===i&&1===y[0].length&&(d=1),{x:de+d*Math.cos(p),y:pe+d*Math.sin(p)}}return{x:de+(o+1-(a+1)/2)*s,y:(i+1)*c}}var f={x:de+(o+1-(a+1)/2)*s,y:(i+1)*c};return f},he={},ge=y.length-1;ge>=0;ge--)for(var me=y[ge],ve=0;ve<me.length;ve++){var be=me[ve];he[be.id()]=fe(be,y.length)}return a.layoutPositions(this,t,function(e){return he[e.id()]}),this},e.exports=s},function(e,t,n){"use strict";var r=n(1),i=n(2),o=n(0),a={fit:!0,padding:30,boundingBox:void 0,avoidOverlap:!0,nodeDimensionsIncludeLabels:!1,spacingFactor:void 0,radius:void 0,startAngle:1.5*Math.PI,sweep:void 0,clockwise:!0,sort:void 0,animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(e,t){return!0},ready:void 0,stop:void 0,transform:function(e,t){return t}};function s(e){this.options=r.extend({},a,e)}s.prototype.run=function(){var e=this.options,t=e,n=e.cy,r=t.eles,a=void 0!==t.counterclockwise?!t.counterclockwise:t.clockwise,s=r.nodes().not(":parent");t.sort&&(s=s.sort(t.sort));for(var l=i.makeBoundingBox(t.boundingBox?t.boundingBox:{x1:0,y1:0,w:n.width(),h:n.height()}),c=l.x1+l.w/2,u=l.y1+l.h/2,d=(void 0===t.sweep?2*Math.PI-2*Math.PI/s.length:t.sweep)/Math.max(1,s.length-1),p=void 0,f=0,h=0;h<s.length;h++){var g=s[h].layoutDimensions(t),m=g.w,v=g.h;f=Math.max(f,m,v)}if(p=o.number(t.radius)?t.radius:s.length<=1?0:Math.min(l.h,l.w)/2-f,s.length>1&&t.avoidOverlap){f*=1.75;var b=Math.cos(d)-Math.cos(0),y=Math.sin(d)-Math.sin(0),x=Math.sqrt(f*f/(b*b+y*y));p=Math.max(x,p)}return s.layoutPositions(this,t,function(e,n){var r=t.startAngle+n*d*(a?1:-1),i=p*Math.cos(r),o=p*Math.sin(r);return{x:c+i,y:u+o}}),this},e.exports=s},function(e,t,n){"use strict";var r=n(1),i=n(2),o={fit:!0,padding:30,startAngle:1.5*Math.PI,sweep:void 0,clockwise:!0,equidistant:!1,minNodeSpacing:10,boundingBox:void 0,avoidOverlap:!0,nodeDimensionsIncludeLabels:!1,height:void 0,width:void 0,spacingFactor:void 0,concentric:function(e){return e.degree()},levelWidth:function(e){return e.maxDegree()/4},animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(e,t){return!0},ready:void 0,stop:void 0,transform:function(e,t){return t}};function a(e){this.options=r.extend({},o,e)}a.prototype.run=function(){for(var e=this.options,t=e,n=void 0!==t.counterclockwise?!t.counterclockwise:t.clockwise,r=e.cy,o=t.eles.nodes().not(":parent"),a=i.makeBoundingBox(t.boundingBox?t.boundingBox:{x1:0,y1:0,w:r.width(),h:r.height()}),s=a.x1+a.w/2,l=a.y1+a.h/2,c=[],u=(t.startAngle,0),d=0;d<o.length;d++){var p,f=o[d];p=t.concentric(f),c.push({value:p,node:f}),f._private.scratch.concentric=p}o.updateStyle();for(var h=0;h<o.length;h++){var g=o[h].layoutDimensions(t);u=Math.max(u,g.w,g.h)}c.sort(function(e,t){return t.value-e.value});for(var m=t.levelWidth(o),v=[[]],b=v[0],y=0;y<c.length;y++){var x=c[y];if(b.length>0)Math.abs(b[0].value-x.value)>=m&&(b=[],v.push(b));b.push(x)}var w=u+t.minNodeSpacing;if(!t.avoidOverlap){var k=v.length>0&&v[0].length>1,_=(Math.min(a.w,a.h)/2-w)/(v.length+k?1:0);w=Math.min(w,_)}for(var $=0,E=0;E<v.length;E++){var S=v[E],C=void 0===t.sweep?2*Math.PI-2*Math.PI/S.length:t.sweep,T=S.dTheta=C/Math.max(1,S.length-1);if(S.length>1&&t.avoidOverlap){var A=Math.cos(T)-Math.cos(0),O=Math.sin(T)-Math.sin(0),P=Math.sqrt(w*w/(A*A+O*O));$=Math.max(P,$)}S.r=$,$+=w}if(t.equidistant){for(var R=0,j=0,D=0;D<v.length;D++){var N=v[D].r-j;R=Math.max(R,N)}j=0;for(var I=0;I<v.length;I++){var M=v[I];0===I&&(j=M.r),M.r=j,j+=R}}for(var z={},L=0;L<v.length;L++)for(var q=v[L],B=q.dTheta,V=q.r,F=0;F<q.length;F++){var U=q[F],H=t.startAngle+(n?1:-1)*B*F,W={x:s+V*Math.cos(H),y:l+V*Math.sin(H)};z[U.node.id()]=W}return o.layoutPositions(this,t,function(e){var t=e.id();return z[t]}),this},e.exports=a},function(e,t,n){"use strict";var r,i=n(1),o=n(2),a=n(0),s=n(5),l={ready:function(){},stop:function(){},animate:!0,animationEasing:void 0,animationDuration:void 0,animateFilter:function(e,t){return!0},animationThreshold:250,refresh:20,fit:!0,padding:30,boundingBox:void 0,nodeDimensionsIncludeLabels:!1,randomize:!1,componentSpacing:40,nodeRepulsion:function(e){return 2048},nodeOverlap:4,idealEdgeLength:function(e){return 32},edgeElasticity:function(e){return 32},nestingFactor:1.2,gravity:1,numIter:1e3,initialTemp:1e3,coolingFactor:.99,minTemp:1,weaver:!1};function c(e){this.options=i.extend({},l,e),this.options.layout=this}c.prototype.run=function(){var e=this.options,t=e.cy,n=this,o=this.thread,l=e.weaver?e.weaver.Thread:null,c={listeners:[],on:function(e,t){return this.listeners.push({event:e,callback:t}),this},trigger:function(e){a.string(e)&&(e={type:e});var t=function(t){t.callback(e)};return this.listeners.filter(function(t){return t.event===e.type}).forEach(t),this},pass:function(e){return this.pass=e,this},run:function(e){var t=this.pass;return new s(function(n){n(e(t))})},stop:function(){return this},stopped:function(){return!0}};function d(e){var t={type:"message",message:e};c.trigger(t)}o&&!o.stopped()||(o=this.thread=l?new l:c),n.stopped=!1,!0!==e.animate&&!1!==e.animate||n.emit({type:"layoutstart",layout:n}),r=!0===e.debug;var p=u(t,n,e);r&&f(p),e.randomize&&h(p,t);var m=Date.now(),v=!1,b=function(n){n=n||{},v&&!n.next||!n.force&&Date.now()-m<e.animationThreshold||(v=!0,i.requestAnimationFrame(function(){g(p,t,e),!0===e.fit&&t.fit(e.padding),v=!1,n.next&&n.next()}))};o.on("message",function(e){var t=e.message;p.layoutNodes=t,b()}),o.pass({layoutInfo:p,options:{animate:e.animate,refresh:e.refresh,componentSpacing:e.componentSpacing,nodeOverlap:e.nodeOverlap,nestingFactor:e.nestingFactor,gravity:e.gravity,numIter:e.numIter,initialTemp:e.initialTemp,coolingFactor:e.coolingFactor,minTemp:e.minTemp}}).run(function(e){var t=e.layoutInfo,n=e.options,r=function(e,t){for(var n=0;n<e.graphSet.length;n++)for(var r=e.graphSet[n],i=r.length,a=0;a<i;a++)for(var s=e.layoutNodes[e.idToIndex[r[a]]],l=a+1;l<i;l++){var c=e.layoutNodes[e.idToIndex[r[l]]];o(s,c,e,t)}},i=function(e){return-e+2*e*Math.random()},o=function(e,t,n,r){if(e.cmptId===t.cmptId||n.isCompound){var o=t.positionX-e.positionX,l=t.positionY-e.positionY;0===o&&0===l&&(o=i(1),l=i(1));var c=a(e,t,o,l);if(c>0)var u=(p=r.nodeOverlap*c)*o/(b=Math.sqrt(o*o+l*l)),d=p*l/b;else{var p,f=s(e,o,l),h=s(t,-1*o,-1*l),g=h.x-f.x,m=h.y-f.y,v=g*g+m*m,b=Math.sqrt(v);u=(p=(e.nodeRepulsion+t.nodeRepulsion)/v)*g/b,d=p*m/b}e.isLocked||(e.offsetX-=u,e.offsetY-=d),t.isLocked||(t.offsetX+=u,t.offsetY+=d)}},a=function(e,t,n,r){if(n>0)var i=e.maxX-t.minX;else i=t.maxX-e.minX;if(r>0)var o=e.maxY-t.minY;else o=t.maxY-e.minY;return i>=0&&o>=0?Math.sqrt(i*i+o*o):0},s=function(e,t,n){var r=e.positionX,i=e.positionY,o=e.height||1,a=e.width||1,s=n/t,l=o/a,c={};return 0===t&&0<n?(c.x=r,c.y=i+o/2,c):0===t&&0>n?(c.x=r,c.y=i+o/2,c):0<t&&-1*l<=s&&s<=l?(c.x=r+a/2,c.y=i+a*n/2/t,c):0>t&&-1*l<=s&&s<=l?(c.x=r-a/2,c.y=i-a*n/2/t,c):0<n&&(s<=-1*l||s>=l)?(c.x=r+o*t/2/n,c.y=i+o/2,c):0>n&&(s<=-1*l||s>=l)?(c.x=r-o*t/2/n,c.y=i-o/2,c):c},l=function(e,t){for(var n=0;n<e.edgeSize;n++){var r=e.layoutEdges[n],i=e.idToIndex[r.sourceId],o=e.layoutNodes[i],a=e.idToIndex[r.targetId],l=e.layoutNodes[a],c=l.positionX-o.positionX,u=l.positionY-o.positionY;if(0!==c||0!==u){var d=s(o,c,u),p=s(l,-1*c,-1*u),f=p.x-d.x,h=p.y-d.y,g=Math.sqrt(f*f+h*h),m=Math.pow(r.idealLength-g,2)/r.elasticity;if(0!==g)var v=m*f/g,b=m*h/g;else v=0,b=0;o.isLocked||(o.offsetX+=v,o.offsetY+=b),l.isLocked||(l.offsetX-=v,l.offsetY-=b)}}},c=function(e,t){for(var n=0;n<e.graphSet.length;n++){var r=e.graphSet[n],i=r.length;if(0===n)var o=e.clientHeight/2,a=e.clientWidth/2;else{var s=e.layoutNodes[e.idToIndex[r[0]]],l=e.layoutNodes[e.idToIndex[s.parentId]];o=l.positionX,a=l.positionY}for(var c=0;c<i;c++){var u=e.layoutNodes[e.idToIndex[r[c]]];if(!u.isLocked){var d=o-u.positionX,p=a-u.positionY,f=Math.sqrt(d*d+p*p);if(f>1){var h=t.gravity*d/f,g=t.gravity*p/f;u.offsetX+=h,u.offsetY+=g}}}}},u=function(e,t){var n=[],r=0,i=-1;for(n.push.apply(n,e.graphSet[0]),i+=e.graphSet[0].length;r<=i;){var o=n[r++],a=e.idToIndex[o],s=e.layoutNodes[a],l=s.children;if(0<l.length&&!s.isLocked){for(var c=s.offsetX,u=s.offsetY,d=0;d<l.length;d++){var p=e.layoutNodes[e.idToIndex[l[d]]];p.offsetX+=c,p.offsetY+=u,n[++i]=l[d]}s.offsetX=0,s.offsetY=0}}},p=function(e,t){for(var n=0;n<e.nodeSize;n++){0<(i=e.layoutNodes[n]).children.length&&(i.maxX=void 0,i.minX=void 0,i.maxY=void 0,i.minY=void 0)}for(n=0;n<e.nodeSize;n++){if(!(0<(i=e.layoutNodes[n]).children.length||i.isLocked)){var r=f(i.offsetX,i.offsetY,e.temperature);i.positionX+=r.x,i.positionY+=r.y,i.offsetX=0,i.offsetY=0,i.minX=i.positionX-i.width,i.maxX=i.positionX+i.width,i.minY=i.positionY-i.height,i.maxY=i.positionY+i.height,h(i,e)}}for(n=0;n<e.nodeSize;n++){var i;0<(i=e.layoutNodes[n]).children.length&&!i.isLocked&&(i.positionX=(i.maxX+i.minX)/2,i.positionY=(i.maxY+i.minY)/2,i.width=i.maxX-i.minX,i.height=i.maxY-i.minY)}},f=function(e,t,n){var r=Math.sqrt(e*e+t*t);if(r>n)var i={x:n*e/r,y:n*t/r};else i={x:e,y:t};return i},h=function e(t,n){var r=t.parentId;if(null!=r){var i=n.layoutNodes[n.idToIndex[r]],o=!1;return(null==i.maxX||t.maxX+i.padRight>i.maxX)&&(i.maxX=t.maxX+i.padRight,o=!0),(null==i.minX||t.minX-i.padLeft<i.minX)&&(i.minX=t.minX-i.padLeft,o=!0),(null==i.maxY||t.maxY+i.padBottom>i.maxY)&&(i.maxY=t.maxY+i.padBottom,o=!0),(null==i.minY||t.minY-i.padTop<i.minY)&&(i.minY=t.minY-i.padTop,o=!0),o?e(i,n):void 0}},g=function(e){return function(e,t,n){r(e,t),l(e,t),c(e,t),u(e,t),p(e,t)}(t,n),t.temperature=t.temperature*n.coolingFactor,!(t.temperature<n.minTemp)},m=0;do{for(var v=0;v<n.refresh&&m<n.numIter;){var b;if(!(b=g()))break;v++,m++}!0===n.animate&&d(t.layoutNodes)}while(b&&m+1<n.numIter);return function(e,n){for(var r=t.layoutNodes,i=[],o=0;o<r.length;o++){var a=r[o],s=a.cmptId;(i[s]=i[s]||[]).push(a)}var l=0;for(o=0;o<i.length;o++)if(m=i[o]){m.x1=1/0,m.x2=-1/0,m.y1=1/0,m.y2=-1/0;for(var c=0;c<m.length;c++){var u=m[c];m.x1=Math.min(m.x1,u.positionX-u.width/2),m.x2=Math.max(m.x2,u.positionX+u.width/2),m.y1=Math.min(m.y1,u.positionY-u.height/2),m.y2=Math.max(m.y2,u.positionY+u.height/2)}m.w=m.x2-m.x1,m.h=m.y2-m.y1,l+=m.w*m.h}i.sort(function(e,t){return t.w*t.h-e.w*e.h});var d=0,p=0,f=0,h=0,g=Math.sqrt(l)*t.clientWidth/t.clientHeight;for(o=0;o<i.length;o++){var m;if(m=i[o]){for(c=0;c<m.length;c++)(u=m[c]).isLocked||(u.positionX+=d,u.positionY+=p);d+=m.w+n.componentSpacing,f+=m.w+n.componentSpacing,h=Math.max(h,m.h),f>g&&(p+=h+n.componentSpacing,d=0,f=0,h=0)}}}(0,n),t}).then(function(e){p.layoutNodes=e.layoutNodes,o.stop(),y()});var y=function(){!0===e.animate||!1===e.animate?b({force:!0,next:function(){n.one("layoutstop",e.stop),n.emit({type:"layoutstop",layout:n})}}):e.eles.nodes().layoutPositions(n,e,function(e){var t=p.layoutNodes[p.idToIndex[e.data("id")]];return{x:t.positionX,y:t.positionY}})};return this},c.prototype.stop=function(){return this.stopped=!0,this.thread&&this.thread.stop(),this.emit("layoutstop"),this},c.prototype.destroy=function(){return this.thread&&this.thread.stop(),this};var u=function(e,t,n){for(var r=n.eles.edges(),i=n.eles.nodes(),s={isCompound:e.hasCompoundNodes(),layoutNodes:[],idToIndex:{},nodeSize:i.size(),graphSet:[],indexToGraph:[],layoutEdges:[],edgeSize:r.size(),temperature:n.initialTemp,clientWidth:e.width(),clientHeight:e.width(),boundingBox:o.makeBoundingBox(n.boundingBox?n.boundingBox:{x1:0,y1:0,w:e.width(),h:e.height()})},l=n.eles.components(),c={},u=0;u<l.length;u++)for(var p=l[u],f=0;f<p.length;f++){c[p[f].id()]=u}for(u=0;u<s.nodeSize;u++){var h=(y=i[u]).layoutDimensions(n);(N={}).isLocked=y.locked(),N.id=y.data("id"),N.parentId=y.data("parent"),N.cmptId=c[y.id()],N.children=[],N.positionX=y.position("x"),N.positionY=y.position("y"),N.offsetX=0,N.offsetY=0,N.height=h.w,N.width=h.h,N.maxX=N.positionX+N.width/2,N.minX=N.positionX-N.width/2,N.maxY=N.positionY+N.height/2,N.minY=N.positionY-N.height/2,N.padLeft=parseFloat(y.style("padding")),N.padRight=parseFloat(y.style("padding")),N.padTop=parseFloat(y.style("padding")),N.padBottom=parseFloat(y.style("padding")),N.nodeRepulsion=a.fn(n.nodeRepulsion)?n.nodeRepulsion(y):n.nodeRepulsion,s.layoutNodes.push(N),s.idToIndex[N.id]=u}var g=[],m=0,v=-1,b=[];for(u=0;u<s.nodeSize;u++){var y,x=(y=s.layoutNodes[u]).parentId;null!=x?s.layoutNodes[s.idToIndex[x]].children.push(y.id):(g[++v]=y.id,b.push(y.id))}for(s.graphSet.push(b);m<=v;){var w=g[m++],k=s.idToIndex[w],_=s.layoutNodes[k].children;if(_.length>0){s.graphSet.push(_);for(u=0;u<_.length;u++)g[++v]=_[u]}}for(u=0;u<s.graphSet.length;u++){var $=s.graphSet[u];for(f=0;f<$.length;f++){var E=s.idToIndex[$[f]];s.indexToGraph[E]=u}}for(u=0;u<s.edgeSize;u++){var S=r[u],C={};C.id=S.data("id"),C.sourceId=S.data("source"),C.targetId=S.data("target");var T=a.fn(n.idealEdgeLength)?n.idealEdgeLength(S):n.idealEdgeLength,A=a.fn(n.edgeElasticity)?n.edgeElasticity(S):n.edgeElasticity,O=s.idToIndex[C.sourceId],P=s.idToIndex[C.targetId];if(s.indexToGraph[O]!=s.indexToGraph[P]){for(var R=d(C.sourceId,C.targetId,s),j=s.graphSet[R],D=0,N=s.layoutNodes[O];-1===j.indexOf(N.id);)N=s.layoutNodes[s.idToIndex[N.parentId]],D++;for(N=s.layoutNodes[P];-1===j.indexOf(N.id);)N=s.layoutNodes[s.idToIndex[N.parentId]],D++;T*=D*n.nestingFactor}C.idealLength=T,C.elasticity=A,s.layoutEdges.push(C)}return s},d=function(e,t,n){var r=p(e,t,0,n);return 2>r.count?0:r.graph},p=function e(t,n,r,i){var o=i.graphSet[r];if(-1<o.indexOf(t)&&-1<o.indexOf(n))return{count:2,graph:r};for(var a=0,s=0;s<o.length;s++){var l=o[s],c=i.idToIndex[l],u=i.layoutNodes[c].children;if(0!==u.length){var d=e(t,n,i.indexToGraph[i.idToIndex[u[0]]],i);if(0!==d.count){if(1!==d.count)return d;if(2===++a)break}}}return{count:a,graph:r}},f=function(e){if(r){console.debug("layoutNodes:");for(var t=0;t<e.nodeSize;t++){var n=e.layoutNodes[t],i="\nindex: "+t+"\nId: "+n.id+"\nChildren: "+n.children.toString()+"\nparentId: "+n.parentId+"\npositionX: "+n.positionX+"\npositionY: "+n.positionY+"\nOffsetX: "+n.offsetX+"\nOffsetY: "+n.offsetY+"\npadLeft: "+n.padLeft+"\npadRight: "+n.padRight+"\npadTop: "+n.padTop+"\npadBottom: "+n.padBottom;console.debug(i)}for(var t in console.debug("idToIndex"),e.idToIndex)console.debug("Id: "+t+"\nIndex: "+e.idToIndex[t]);console.debug("Graph Set");var o=e.graphSet;for(t=0;t<o.length;t++)console.debug("Set : "+t+": "+o[t].toString());for(i="IndexToGraph",t=0;t<e.indexToGraph.length;t++)i+="\nIndex : "+t+" Graph: "+e.indexToGraph[t];console.debug(i),i="Layout Edges";for(t=0;t<e.layoutEdges.length;t++){var a=e.layoutEdges[t];i+="\nEdge Index: "+t+" ID: "+a.id+" SouceID: "+a.sourceId+" TargetId: "+a.targetId+" Ideal Length: "+a.idealLength}console.debug(i),i="nodeSize: "+e.nodeSize,i+="\nedgeSize: "+e.edgeSize,i+="\ntemperature: "+e.temperature,console.debug(i)}},h=function(e,t){for(var n=e.clientWidth,r=e.clientHeight,i=0;i<e.nodeSize;i++){var o=e.layoutNodes[i];0!==o.children.length||o.isLocked||(o.positionX=Math.random()*n,o.positionY=Math.random()*r)}},g=function(e,t,n){var r=n.layout,i=n.eles.nodes(),o=e.boundingBox,a={x1:1/0,x2:-1/0,y1:1/0,y2:-1/0};n.boundingBox&&(i.forEach(function(t){var n=e.layoutNodes[e.idToIndex[t.data("id")]];a.x1=Math.min(a.x1,n.positionX),a.x2=Math.max(a.x2,n.positionX),a.y1=Math.min(a.y1,n.positionY),a.y2=Math.max(a.y2,n.positionY)}),a.w=a.x2-a.x1,a.h=a.y2-a.y1),i.positions(function(t,r){var i=e.layoutNodes[e.idToIndex[t.data("id")]];if(n.boundingBox){var s=(i.positionX-a.x1)/a.w,l=(i.positionY-a.y1)/a.h;return{x:o.x1+s*o.w,y:o.y1+l*o.h}}return{x:i.positionX,y:i.positionY}}),!0!==e.ready&&(e.ready=!0,r.one("layoutready",n.ready),r.emit({type:"layoutready",layout:this}))};e.exports=c},function(e,t,n){"use strict";var r=n(1),i=n(2),o={fit:!0,padding:30,boundingBox:void 0,avoidOverlap:!0,avoidOverlapPadding:10,nodeDimensionsIncludeLabels:!1,spacingFactor:void 0,condense:!1,rows:void 0,cols:void 0,position:function(e){},sort:void 0,animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(e,t){return!0},ready:void 0,stop:void 0,transform:function(e,t){return t}};function a(e){this.options=r.extend({},o,e)}a.prototype.run=function(){var e=this.options,t=e,n=e.cy,r=t.eles.nodes().not(":parent");t.sort&&(r=r.sort(t.sort));var o=i.makeBoundingBox(t.boundingBox?t.boundingBox:{x1:0,y1:0,w:n.width(),h:n.height()});if(0===o.h||0===o.w)r.layoutPositions(this,t,function(e){return{x:o.x1,y:o.y1}});else{var a=r.size(),s=Math.sqrt(a*o.h/o.w),l=Math.round(s),c=Math.round(o.w/o.h*s),u=function(e){if(null==e)return Math.min(l,c);Math.min(l,c)==l?l=e:c=e},d=function(e){if(null==e)return Math.max(l,c);Math.max(l,c)==l?l=e:c=e},p=t.rows,f=null!=t.cols?t.cols:t.columns;if(null!=p&&null!=f)l=p,c=f;else if(null!=p&&null==f)l=p,c=Math.ceil(a/l);else if(null==p&&null!=f)c=f,l=Math.ceil(a/c);else if(c*l>a){var h=u(),g=d();(h-1)*g>=a?u(h-1):(g-1)*h>=a&&d(g-1)}else for(;c*l<a;){var m=u(),v=d();(v+1)*m>=a?d(v+1):u(m+1)}var b=o.w/c,y=o.h/l;if(t.condense&&(b=0,y=0),t.avoidOverlap)for(var x=0;x<r.length;x++){var w=r[x],k=w._private.position;null!=k.x&&null!=k.y||(k.x=0,k.y=0);var _=w.layoutDimensions(t),$=t.avoidOverlapPadding,E=_.w+$,S=_.h+$;b=Math.max(b,E),y=Math.max(y,S)}for(var C={},T=function(e,t){return!!C["c-"+e+"-"+t]},A=function(e,t){C["c-"+e+"-"+t]=!0},O=0,P=0,R=function(){++P>=c&&(P=0,O++)},j={},D=0;D<r.length;D++){var N=r[D],I=t.position(N);if(I&&(void 0!==I.row||void 0!==I.col)){var M={row:I.row,col:I.col};if(void 0===M.col)for(M.col=0;T(M.row,M.col);)M.col++;else if(void 0===M.row)for(M.row=0;T(M.row,M.col);)M.row++;j[N.id()]=M,A(M.row,M.col)}}r.layoutPositions(this,t,function(e,t){var n=void 0,r=void 0;if(e.locked()||e.isParent())return!1;var i=j[e.id()];if(i)n=i.col*b+b/2+o.x1,r=i.row*y+y/2+o.y1;else{for(;T(O,P);)R();n=P*b+b/2+o.x1,r=O*y+y/2+o.y1,A(O,P),R()}return{x:n,y:r}})}return this},e.exports=a},function(e,t,n){"use strict";var r=n(1),i={ready:function(){},stop:function(){}};function o(e){this.options=r.extend({},i,e)}o.prototype.run=function(){var e=this.options,t=e.eles;e.cy;return this.emit("layoutstart"),t.nodes().positions(function(){return{x:0,y:0}}),this.one("layoutready",e.ready),this.emit("layoutready"),this.one("layoutstop",e.stop),this.emit("layoutstop"),this},o.prototype.stop=function(){return this},e.exports=o},function(e,t,n){"use strict";var r=n(1),i=n(0),o={positions:void 0,zoom:void 0,pan:void 0,fit:!0,padding:30,animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(e,t){return!0},ready:void 0,stop:void 0,transform:function(e,t){return t}};function a(e){this.options=r.extend({},o,e)}a.prototype.run=function(){var e=this.options,t=e.eles.nodes(),n=i.fn(e.positions);return t.layoutPositions(this,e,function(t,r){var i=function(t){if(null==e.positions)return null;if(n)return e.positions(t);var r=e.positions[t._private.data.id];return null==r?null:r}(t);return!t.locked()&&null!=i&&i}),this},e.exports=a},function(e,t,n){"use strict";var r=n(1),i=n(2),o={fit:!0,padding:30,boundingBox:void 0,animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(e,t){return!0},ready:void 0,stop:void 0,transform:function(e,t){return t}};function a(e){this.options=r.extend({},o,e)}a.prototype.run=function(){var e=this.options,t=e.cy,n=e.eles.nodes().not(":parent"),r=i.makeBoundingBox(e.boundingBox?e.boundingBox:{x1:0,y1:0,w:t.width(),h:t.height()});return n.layoutPositions(this,e,function(e,t){return{x:r.x1+Math.round(Math.random()*r.w),y:r.y1+Math.round(Math.random()*r.h)}}),this},e.exports=a},function(e,t,n){"use strict";e.exports=[{name:"null",impl:n(106)},{name:"base",impl:n(107)},{name:"canvas",impl:n(123)}]},function(e,t,n){"use strict";function r(e){this.options=e,this.notifications=0}var i=function(){};r.prototype={recalculateRenderedStyle:i,notify:function(){this.notifications++},init:i},e.exports=r},function(e,t,n){"use strict";var r=n(0),i=n(1),o=n(3),a=function(e){this.init(e)},s=a.prototype;s.clientFunctions=["redrawHint","render","renderTo","matchCanvasSize","nodeShapeImpl","arrowShapeImpl"],s.init=function(e){var t=this;t.options=e,t.cy=e.cy;var n=t.container=e.cy.container();if(o){var r=o.document,a=r.head,s="__________cytoscape_container",l=null!=r.getElementById("__________cytoscape_stylesheet");if(n.className.indexOf(s)<0&&(n.className=(n.className||"")+" "+s),!l){var c=r.createElement("style");c.id="__________cytoscape_stylesheet",c.innerHTML="."+s+" { position: relative; }",a.insertBefore(c,a.children[0])}"static"===o.getComputedStyle(n).getPropertyValue("position")&&i.error("A Cytoscape container has style position:static and so can not use UI extensions properly")}t.selection=[void 0,void 0,void 0,void 0,0],t.bezierProjPcts=[.05,.225,.4,.5,.6,.775,.95],t.hoverData={down:null,last:null,downTime:null,triggerMode:null,dragging:!1,initialPan:[null,null],capture:!1},t.dragData={possibleDragElements:[]},t.touchData={start:null,capture:!1,startPosition:[null,null,null,null,null,null],singleTouchStartTime:null,singleTouchMoved:!0,now:[null,null,null,null,null,null],earlier:[null,null,null,null,null,null]},t.redraws=0,t.showFps=e.showFps,t.debug=e.debug,t.hideEdgesOnViewport=e.hideEdgesOnViewport,t.hideLabelsOnViewport=e.hideLabelsOnViewport,t.textureOnViewport=e.textureOnViewport,t.wheelSensitivity=e.wheelSensitivity,t.motionBlurEnabled=e.motionBlur,t.forcedPixelRatio=e.pixelRatio,t.motionBlur=e.motionBlur,t.motionBlurOpacity=e.motionBlurOpacity,t.motionBlurTransparency=1-t.motionBlurOpacity,t.motionBlurPxRatio=1,t.mbPxRBlurry=1,t.minMbLowQualFrames=4,t.fullQualityMb=!1,t.clearedForMotionBlur=[],t.desktopTapThreshold=e.desktopTapThreshold,t.desktopTapThreshold2=e.desktopTapThreshold*e.desktopTapThreshold,t.touchTapThreshold=e.touchTapThreshold,t.touchTapThreshold2=e.touchTapThreshold*e.touchTapThreshold,t.tapholdDuration=500,t.bindings=[],t.beforeRenderCallbacks=[],t.beforeRenderPriorities={animations:400,eleCalcs:300,eleTxrDeq:200,lyrTxrDeq:100},t.registerNodeShapes(),t.registerArrowShapes(),t.registerCalculationListeners()},s.notify=function(e){var t,n=this;if(!this.destroyed){t=r.array(e.type)?e.type:[e.type];for(var i={},o=0;o<t.length;o++){i[t[o]]=!0}i.init?n.load():i.destroy?n.destroy():((i.add||i.remove||i.load||i.zorder)&&n.invalidateCachedZSortedEles(),i.viewport&&n.redrawHint("select",!0),(i.load||i.resize)&&(n.invalidateContainerClientCoordsCache(),n.matchCanvasSize(n.container)),n.redrawHint("eles",!0),n.redrawHint("drag",!0),this.startRenderLoop(),this.redraw())}},s.destroy=function(){var e=this;e.destroyed=!0,e.cy.stopAnimationLoop();for(var t=0;t<e.bindings.length;t++){var n=e.bindings[t],r=n.target;(r.off||r.removeEventListener).apply(r,n.args)}if(e.bindings=[],e.beforeRenderCallbacks=[],e.onUpdateEleCalcsFns=[],e.removeObserver&&e.removeObserver.disconnect(),e.styleObserver&&e.styleObserver.disconnect(),e.labelCalcDiv)try{document.body.removeChild(e.labelCalcDiv)}catch(e){}},[n(108),n(109),n(119),n(120),n(121),n(122)].forEach(function(e){i.extend(s,e)}),e.exports=a},function(e,t,n){"use strict";var r=n(2),i=n(0),o=n(1),a={arrowShapeWidth:.3,registerArrowShapes:function(){var e=this.arrowShapes={},t=this,n=function(e,t,n,r,i,o,a){var s=i.x-n/2-a,l=i.x+n/2+a,c=i.y-n/2-a,u=i.y+n/2+a;return s<=e&&e<=l&&c<=t&&t<=u},a=function(e,t,n,r,i){var o=e*Math.cos(r)-t*Math.sin(r),a=(e*Math.sin(r)+t*Math.cos(r))*n;return{x:o*n+i.x,y:a+i.y}},s=function(e,t,n,r){for(var i=[],o=0;o<e.length;o+=2){var s=e[o],l=e[o+1];i.push(a(s,l,t,n,r))}return i},l=function(e){for(var t=[],n=0;n<e.length;n++){var r=e[n];t.push(r.x,r.y)}return t},c=function(e){return e.pstyle("width").pfValue*e.pstyle("arrow-scale").pfValue*2},u=function(a,u){i.string(u)&&(u=e[u]),e[a]=o.extend({name:a,points:[-.15,-.3,.15,-.3,.15,.3,-.15,.3],collide:function(e,t,n,i,o,a){var c=l(s(this.points,n+2*a,i,o));return r.pointInsidePolygonPoints(e,t,c)},roughCollide:n,draw:function(e,n,r,i){var o=s(this.points,n,r,i);t.arrowShapeImpl("polygon")(e,o)},spacing:function(e){return 0},gap:c},u)};u("none",{collide:o.falsify,roughCollide:o.falsify,draw:o.noop,spacing:o.zeroify,gap:o.zeroify}),u("triangle",{points:[-.15,-.3,0,0,.15,-.3]}),u("arrow","triangle"),u("triangle-backcurve",{points:e.triangle.points,controlPoint:[0,-.15],roughCollide:n,draw:function(e,n,r,i,o){var l=s(this.points,n,r,i),c=this.controlPoint,u=a(c[0],c[1],n,r,i);t.arrowShapeImpl(this.name)(e,l,u)},gap:function(e){return.8*c(e)}}),u("triangle-tee",{points:[-.15,-.3,0,0,.15,-.3,-.15,-.3],pointsTee:[-.15,-.4,-.15,-.5,.15,-.5,.15,-.4],collide:function(e,t,n,i,o,a,c){var u=l(s(this.points,n+2*c,i,o)),d=l(s(this.pointsTee,n+2*c,i,o));return r.pointInsidePolygonPoints(e,t,u)||r.pointInsidePolygonPoints(e,t,d)},draw:function(e,n,r,i,o){var a=s(this.points,n,r,i),l=s(this.pointsTee,n,r,i);t.arrowShapeImpl(this.name)(e,a,l)}}),u("triangle-cross",{points:[-.15,-.3,0,0,.15,-.3,-.15,-.3],baseCrossLinePts:[-.15,-.4,-.15,-.4,.15,-.4,.15,-.4],crossLinePts:function(e,t){var n=this.baseCrossLinePts.slice(),r=t/e;return n[3]=n[3]-r,n[5]=n[5]-r,n},collide:function(e,t,n,i,o,a,c){var u=l(s(this.points,n+2*c,i,o)),d=l(s(this.crossLinePts(n,a),n+2*c,i,o));return r.pointInsidePolygonPoints(e,t,u)||r.pointInsidePolygonPoints(e,t,d)},draw:function(e,n,r,i,o){var a=s(this.points,n,r,i),l=s(this.crossLinePts(n,o),n,r,i);t.arrowShapeImpl(this.name)(e,a,l)}}),u("vee",{points:[-.15,-.3,0,0,.15,-.3,0,-.15],gap:function(e){return.525*c(e)}}),u("circle",{radius:.15,collide:function(e,t,n,r,i,o,a){var s=i;return Math.pow(s.x-e,2)+Math.pow(s.y-t,2)<=Math.pow((n+2*a)*this.radius,2)},draw:function(e,n,r,i,o){t.arrowShapeImpl(this.name)(e,i.x,i.y,this.radius*n)},spacing:function(e){return t.getArrowWidth(e.pstyle("width").pfValue,e.pstyle("arrow-scale").value)*this.radius}}),u("tee",{points:[-.15,0,-.15,-.1,.15,-.1,.15,0],spacing:function(e){return 1},gap:function(e){return 1}}),u("square",{points:[-.15,0,.15,0,.15,-.3,-.15,-.3]}),u("diamond",{points:[-.15,-.15,0,-.3,.15,-.15,0,0],gap:function(e){return e.pstyle("width").pfValue*e.pstyle("arrow-scale").value}})}};e.exports=a},function(e,t,n){"use strict";var r=n(1),i={};[n(110),n(111),n(112),n(113),n(114),n(115),n(116),n(117),n(118)].forEach(function(e){r.extend(i,e)}),e.exports=i},function(e,t,n){"use strict";var r=n(3),i=n(2),o=n(1),a=(r=n(3),{projectIntoViewport:function(e,t){var n=this.cy,r=this.findContainerClientCoords(),i=r[0],o=r[1],a=r[4],s=n.pan(),l=n.zoom();return[((e-i)/a-s.x)/l,((t-o)/a-s.y)/l]},findContainerClientCoords:function(){if(this.containerBB)return this.containerBB;var e=this.container,t=e.getBoundingClientRect(),n=r.getComputedStyle(e),i=function(e){return parseFloat(n.getPropertyValue(e))},o=i("padding-left"),a=i("padding-right"),s=i("padding-top"),l=i("padding-bottom"),c=i("border-left-width"),u=i("border-right-width"),d=i("border-top-width"),p=i("border-bottom-width"),f=e.clientWidth,h=e.clientHeight,g=o+a,m=s+l,v=c+u,b=d+p,y=t.width/(f+v),x=f-g,w=h-m,k=(t.width,t.height,t.left+o+c),_=t.top+s+d;return this.containerBB=[k,_,x,w,y]},invalidateContainerClientCoordsCache:function(){this.containerBB=null},findNearestElement:function(e,t,n,r){return this.findNearestElements(e,t,n,r)[0]},findNearestElements:function(e,t,n,r){var a,s,l=this,c=this,u=c.getCachedZSortedEles(),d=[],p=c.cy.zoom(),f=c.cy.hasCompoundNodes(),h=(r?24:8)/p,g=(r?8:2)/p,m=(r?8:2)/p,v=1/0;function b(e,t){if(e.isNode()){if(s)return;s=e,d.push(e)}if(e.isEdge()&&(null==t||t<v))if(a){if(a.pstyle("z-index").value===e.pstyle("z-index").value)for(var n=0;n<d.length;n++)if(d[n].isEdge()){d[n]=e,a=e,v=null!=t?t:v;break}}else d.push(e),a=e,v=null!=t?t:v}function y(n){var r=n.outerWidth()+2*g,i=n.outerHeight()+2*g,o=r/2,a=i/2,s=n.position();if(s.x-o<=e&&e<=s.x+o&&s.y-a<=t&&t<=s.y+a&&c.nodeShapes[l.getNodeShape(n)].checkPoint(e,t,0,r,i,s.x,s.y))return b(n,0),!0}function x(n){var r,o=n._private,a=o.rscratch,s=n.pstyle("width").pfValue,u=n.pstyle("arrow-scale").value,p=s/2+h,g=p*p,m=2*p,v=o.source,x=o.target;if("segments"===a.edgeType||"straight"===a.edgeType||"haystack"===a.edgeType){for(var w=a.allpts,k=0;k+3<w.length;k+=2)if(i.inLineVicinity(e,t,w[k],w[k+1],w[k+2],w[k+3],m)&&g>(r=i.sqdistToFiniteLine(e,t,w[k],w[k+1],w[k+2],w[k+3])))return b(n,r),!0}else if("bezier"===a.edgeType||"multibezier"===a.edgeType||"self"===a.edgeType||"compound"===a.edgeType)for(w=a.allpts,k=0;k+5<a.allpts.length;k+=4)if(i.inBezierVicinity(e,t,w[k],w[k+1],w[k+2],w[k+3],w[k+4],w[k+5],m)&&g>(r=i.sqdistToQuadraticBezier(e,t,w[k],w[k+1],w[k+2],w[k+3],w[k+4],w[k+5])))return b(n,r),!0;v=v||o.source,x=x||o.target;var _=l.getArrowWidth(s,u),$=[{name:"source",x:a.arrowStartX,y:a.arrowStartY,angle:a.srcArrowAngle},{name:"target",x:a.arrowEndX,y:a.arrowEndY,angle:a.tgtArrowAngle},{name:"mid-source",x:a.midX,y:a.midY,angle:a.midsrcArrowAngle},{name:"mid-target",x:a.midX,y:a.midY,angle:a.midtgtArrowAngle}];for(k=0;k<$.length;k++){var E=$[k],S=c.arrowShapes[n.pstyle(E.name+"-arrow-shape").value],C=n.pstyle("width").pfValue;if(S.roughCollide(e,t,_,E.angle,{x:E.x,y:E.y},C,h)&&S.collide(e,t,_,E.angle,{x:E.x,y:E.y},C,h))return b(n),!0}f&&d.length>0&&(y(v),y(x))}function w(e,t,n){return o.getPrefixedProperty(e,t,n)}function k(n,r){var o,a=n._private,s=m;o=r?r+"-":"";var l=n.pstyle(o+"label").value;if("yes"===n.pstyle("text-events").strValue&&l){var c=a.rstyle,u=n.pstyle("text-border-width").pfValue,d=n.pstyle("text-background-padding").pfValue,p=w(c,"labelWidth",r)+u+2*s+2*d,f=w(c,"labelHeight",r)+u+2*s+2*d,h=w(c,"labelX",r),g=w(c,"labelY",r),v=w(a.rscratch,"labelAngle",r),y=h-p/2,x=h+p/2,k=g-f/2,_=g+f/2;if(v){var $=Math.cos(v),E=Math.sin(v),S=function(e,t){return{x:(e-=h)*$-(t-=g)*E+h,y:e*E+t*$+g}},C=S(y,k),T=S(y,_),A=S(x,k),O=S(x,_),P=[C.x,C.y,A.x,A.y,O.x,O.y,T.x,T.y];if(i.pointInsidePolygonPoints(e,t,P))return b(n),!0}else{var R={w:p,h:f,x1:y,x2:x,y1:k,y2:_};if(i.inBoundingBox(R,e,t))return b(n),!0}}}n&&(u=u.interactive);for(var _=u.length-1;_>=0;_--){var $=u[_];$.isNode()?y($)||k($):x($)||k($)||k($,"source")||k($,"target")}return d},getAllInBox:function(e,t,n,r){var o=this.getCachedZSortedEles().interactive,a=[],s=Math.min(e,n),l=Math.max(e,n),c=Math.min(t,r),u=Math.max(t,r);e=s,n=l,t=c,r=u;for(var d=i.makeBoundingBox({x1:e,y1:t,x2:n,y2:r}),p=0;p<o.length;p++){var f=o[p];if(f.isNode()){var h=f,g=h.boundingBox({includeNodes:!0,includeEdges:!1,includeLabels:!1});i.boundingBoxesIntersect(d,g)&&!i.boundingBoxInBoundingBox(g,d)&&a.push(h)}else{var m=f,v=m._private,b=v.rscratch;if(null!=b.startX&&null!=b.startY&&!i.inBoundingBox(d,b.startX,b.startY))continue;if(null!=b.endX&&null!=b.endY&&!i.inBoundingBox(d,b.endX,b.endY))continue;if("bezier"===b.edgeType||"multibezier"===b.edgeType||"self"===b.edgeType||"compound"===b.edgeType||"segments"===b.edgeType||"haystack"===b.edgeType){for(var y=v.rstyle.bezierPts||v.rstyle.linePts||v.rstyle.haystackPts,x=!0,w=0;w<y.length;w++)if(!i.pointInBoundingBox(d,y[w])){x=!1;break}x&&a.push(m)}else"haystack"!==b.edgeType&&"straight"!==b.edgeType||a.push(m)}}return a}});e.exports=a},function(e,t,n){"use strict";var r=n(2),i={calculateArrowAngles:function(e){var t,n,i,o,a,s,l=e._private.rscratch,c="haystack"===l.edgeType,u="bezier"===l.edgeType,d="multibezier"===l.edgeType,p="segments"===l.edgeType,f="compound"===l.edgeType,h="self"===l.edgeType;if(c?(i=l.haystackPts[0],o=l.haystackPts[1],a=l.haystackPts[2],s=l.haystackPts[3]):(i=l.arrowStartX,o=l.arrowStartY,a=l.arrowEndX,s=l.arrowEndY),m=l.midX,v=l.midY,p)t=i-l.segpts[0],n=o-l.segpts[1];else if(d||f||h||u){var g=l.allpts;t=i-r.qbezierAt(g[0],g[2],g[4],.1),n=o-r.qbezierAt(g[1],g[3],g[5],.1)}else t=i-m,n=o-v;l.srcArrowAngle=r.getAngleFromDisp(t,n);var m=l.midX,v=l.midY;if(c&&(m=(i+a)/2,v=(o+s)/2),t=a-i,n=s-o,p)if((g=l.allpts).length/2%2==0){var b=(y=g.length/2)-2;t=g[y]-g[b],n=g[y+1]-g[b+1]}else{b=(y=g.length/2-1)-2;var y,x=y+2;t=g[y]-g[b],n=g[y+1]-g[b+1]}else if(d||f||h){var w,k,_,$,g=l.allpts;if(l.ctrlpts.length/2%2==0){var E=(S=(C=g.length/2-1)+2)+2;w=r.qbezierAt(g[C],g[S],g[E],0),k=r.qbezierAt(g[C+1],g[S+1],g[E+1],0),_=r.qbezierAt(g[C],g[S],g[E],1e-4),$=r.qbezierAt(g[C+1],g[S+1],g[E+1],1e-4)}else{var S,C=(S=g.length/2-1)-2;E=S+2;w=r.qbezierAt(g[C],g[S],g[E],.4999),k=r.qbezierAt(g[C+1],g[S+1],g[E+1],.4999),_=r.qbezierAt(g[C],g[S],g[E],.5),$=r.qbezierAt(g[C+1],g[S+1],g[E+1],.5)}t=_-w,n=$-k}(l.midtgtArrowAngle=r.getAngleFromDisp(t,n),l.midDispX=t,l.midDispY=n,t*=-1,n*=-1,p)&&((g=l.allpts).length/2%2==0||(t=-(g[x=(y=g.length/2-1)+2]-g[y]),n=-(g[x+1]-g[y+1])));if(l.midsrcArrowAngle=r.getAngleFromDisp(t,n),p)t=a-l.segpts[l.segpts.length-2],n=s-l.segpts[l.segpts.length-1];else if(d||f||h||u){var T=(g=l.allpts).length;t=a-r.qbezierAt(g[T-6],g[T-4],g[T-2],.9),n=s-r.qbezierAt(g[T-5],g[T-3],g[T-1],.9)}else t=a-m,n=s-v;l.tgtArrowAngle=r.getAngleFromDisp(t,n)}};i.getArrowWidth=i.getArrowHeight=function(e,t){var n=this.arrowWidthCache=this.arrowWidthCache||{},r=n[e+", "+t];return r||(r=Math.max(Math.pow(13.37*e,.9),29)*t,n[e+", "+t]=r,r)},e.exports=i},function(e,t,n){"use strict";var r=n(2),i=n(0),o={};function a(e){var t=[];if(null!=e){for(var n=0;n<e.length;n+=2){var r=e[n],i=e[n+1];t.push({x:r,y:i})}return t}}o.findEdgeControlPoints=function(e){if(e&&0!==e.length){for(var t,n,o,a,s,l=this,c=l.cy.hasCompoundNodes(),u={},d=[],p=[],f=0;f<e.length;f++){var h=(Vt=(Bt=e[f])._private).data,g="unbundled-bezier"===(j=Bt.pstyle("curve-style").value)||"segments"===j,m="unbundled-bezier"===j||"bezier"===j;if("none"!==Bt.pstyle("display").value)if("haystack"!==j){var v=h.source,b=h.target;t=v>b?b+"$-$"+v:v+"$-$"+b,g&&(t="unbundled$-$"+h.id);var y=u[t];null==y&&(y=u[t]=[],d.push(t)),y.push(Bt),g&&(y.hasUnbundled=!0),m&&(y.hasBezier=!0)}else p.push(Bt)}for(var x=0;x<d.length;x++){var w=u[t=d[x]];if(w.sort(function(e,t){return e.poolIndex()-t.poolIndex()}),Wt=w[0]._private.source,Gt=w[0]._private.target,!w.hasUnbundled&&Wt.id()>Gt.id()){var k=Wt;Wt=Gt,Gt=k}Xt=Wt.position(),Yt=Gt.position(),Zt=Wt.outerWidth(),Qt=Wt.outerHeight(),Kt=Gt.outerWidth(),Jt=Gt.outerHeight(),n=l.nodeShapes[this.getNodeShape(Wt)],o=l.nodeShapes[this.getNodeShape(Gt)],s=!1;var _={north:0,west:0,south:0,east:0,northwest:0,southwest:0,northeast:0,southeast:0},$=Xt.x,E=Xt.y,S=Zt,C=Qt,T=Yt.x,A=Yt.y,O=Kt,P=Jt,R=w.length;for(f=0;f<w.length;f++){var j,D,N=(Ut=(Bt=w[f])._private.rscratch).lastEdgeIndex,I=f,M=Ut.lastNumEdges,z=(g="unbundled-bezier"===(j=Bt.pstyle("curve-style").value)||"segments"===j,Wt.id()!==Bt.source().id()),L=Bt.pstyle("control-point-distances"),q=Bt.pstyle("loop-direction").pfValue,B=Bt.pstyle("loop-sweep").pfValue,V=Bt.pstyle("control-point-weights"),F=L&&V?Math.min(L.value.length,V.value.length):1,U=Bt.pstyle("control-point-step-size").pfValue,H=L?L.pfValue[0]:void 0,W=V.value[0],G=Bt.pstyle("edge-distances").value,X=Bt.pstyle("segment-weights"),Y=Bt.pstyle("segment-distances"),Z=Math.min(X.pfValue.length,Y.pfValue.length),K=Bt.pstyle("source-endpoint").value,Q=Bt.pstyle("target-endpoint").value,J=Bt.pstyle("source-arrow-shape").value,ee=Bt.pstyle("target-arrow-shape").value,te=Bt.pstyle("arrow-scale").value,ne=Bt.pstyle("width").pfValue,re=Ut.lastSrcCtlPtX,ie=Ut.lastSrcCtlPtY,oe=Ut.lastSrcCtlPtW,ae=Ut.lastSrcCtlPtH,se=Ut.lastTgtCtlPtX,le=Ut.lastTgtCtlPtY,ce=Ut.lastTgtCtlPtW,ue=Ut.lastTgtCtlPtH,de=Ut.lastCurveStyle,pe=j,fe=Ut.lastCtrlptDists,he=L?L.strValue:null,ge=Ut.lastCtrlptWs,me=V.strValue,ve=Ut.lastSegmentWs,be=X.strValue,ye=Ut.lastSegmentDs,xe=Y.strValue,we=Ut.lastStepSize,ke=U,_e=Ut.lastLoopDir,$e=q,Ee=Ut.lastLoopSwp,Se=B,Ce=Ut.lastEdgeDistances,Te=G,Ae=Ut.lastSrcEndpt,Oe=K,Pe=Ut.lastTgtEndpt,Re=Q,je=Ut.lastSrcArr,De=J,Ne=Ut.lastTgtArr,Ie=ee,Me=Ut.lastLineW,ze=ne,Le=Ut.lastArrScl,qe=te;if(Ut.badBezier=!!s,re===$&&ie===E&&oe===S&&ae===C&&se===T&&le===A&&ce===O&&ue===P&&de===pe&&fe===he&&ge===me&&ve===be&&ye===xe&&we===ke&&_e===$e&&Ee===Se&&Ce===Te&&Ae===Oe&&Pe===Re&&je===De&&Ne===Ie&&Me===ze&&Le===qe&&(N===I&&M===R||g)?D=!0:(D=!1,Ut.lastSrcCtlPtX=$,Ut.lastSrcCtlPtY=E,Ut.lastSrcCtlPtW=S,Ut.lastSrcCtlPtH=C,Ut.lastTgtCtlPtX=T,Ut.lastTgtCtlPtY=A,Ut.lastTgtCtlPtW=O,Ut.lastTgtCtlPtH=P,Ut.lastEdgeIndex=I,Ut.lastNumEdges=R,Ut.lastCurveStyle=pe,Ut.lastCtrlptDists=he,Ut.lastCtrlptWs=me,Ut.lastSegmentDs=xe,Ut.lastSegmentWs=be,Ut.lastStepSize=ke,Ut.lastLoopDir=$e,Ut.lastLoopSwp=Se,Ut.lastEdgeDistances=Te,Ut.lastSrcEndpt=Oe,Ut.lastTgtEndpt=Re,Ut.lastSrcArr=De,Ut.lastTgtArr=Ie,Ut.lastLineW=ze,Ut.lastArrScl=qe),!D){if(!w.calculatedIntersection&&Wt!==Gt&&(w.hasBezier||w.hasUnbundled)){w.calculatedIntersection=!0;var Be=n.intersectLine(Xt.x,Xt.y,Zt,Qt,Yt.x,Yt.y,0);w.srcIntn=Be;var Ve=o.intersectLine(Yt.x,Yt.y,Kt,Jt,Xt.x,Xt.y,0);w.tgtIntn=Ve;var Fe={x1:Be[0],x2:Ve[0],y1:Be[1],y2:Ve[1]},Ue={x1:Xt.x,x2:Yt.x,y1:Xt.y,y2:Yt.y},He=Ve[1]-Be[1],We=Ve[0]-Be[0],Ge=Math.sqrt(We*We+He*He),Xe={x:We,y:He},Ye={x:Xe.x/Ge,y:Xe.y/Ge};a={x:-Ye.y,y:Ye.x},o.checkPoint(Be[0],Be[1],0,Kt,Jt,Yt.x,Yt.y)&&n.checkPoint(Ve[0],Ve[1],0,Zt,Qt,Xt.x,Xt.y)&&(a={},s=!0)}if(z?(Ut.srcIntn=w.tgtIntn,Ut.tgtIntn=w.srcIntn):(Ut.srcIntn=w.srcIntn,Ut.tgtIntn=w.tgtIntn),Wt===Gt){Ut.edgeType="self";var Ze=f,Ke=U;g&&(Ze=0,Ke=H);var Qe=q-Math.PI/2,Je=Qe-B/2,et=Qe+B/2,tt=String(q+"_"+B);Ze=void 0===_[tt]?_[tt]=0:++_[tt],Ut.ctrlpts=[Xt.x+1.4*Math.cos(Je)*Ke*(Ze/3+1),Xt.y+1.4*Math.sin(Je)*Ke*(Ze/3+1),Xt.x+1.4*Math.cos(et)*Ke*(Ze/3+1),Xt.y+1.4*Math.sin(et)*Ke*(Ze/3+1)]}else if(c&&(Wt.isParent()||Wt.isChild()||Gt.isParent()||Gt.isChild())&&(Wt.parents().anySame(Gt)||Gt.parents().anySame(Wt))){Ut.edgeType="compound",Ut.badBezier=!1;Ze=f,Ke=U;g&&(Ze=0,Ke=H);var nt={x:Xt.x-Zt/2,y:Xt.y-Qt/2},rt={x:Yt.x-Kt/2,y:Yt.y-Jt/2},it={x:Math.min(nt.x,rt.x),y:Math.min(nt.y,rt.y)},ot=Math.max(.5,Math.log(.01*Zt)),at=Math.max(.5,Math.log(.01*Kt));Ut.ctrlpts=[it.x,it.y-(1+Math.pow(50,1.12)/100)*Ke*(Ze/3+1)*ot,it.x-(1+Math.pow(50,1.12)/100)*Ke*(Ze/3+1)*at,it.y]}else if("segments"===j){Ut.edgeType="segments",Ut.segpts=[];for(var st=0;st<Z;st++){var lt=X.pfValue[st],ct=Y.pfValue[st],ut=1-lt,dt=lt,pt={x:(yt="node-position"===G?Ue:Fe).x1*ut+yt.x2*dt,y:yt.y1*ut+yt.y2*dt};Ut.segpts.push(pt.x+a.x*ct,pt.y+a.y*ct)}}else if(w.length%2!=1||f!==Math.floor(w.length/2)||g){var ft=g;Ut.edgeType=ft?"multibezier":"bezier",Ut.ctrlpts=[];for(var ht=0;ht<F;ht++){var gt,mt=(.5-w.length/2+f)*U,vt=r.signum(mt);ft&&(H=L?L.pfValue[ht]:U,W=V.value[ht]);var bt=void 0!==(gt=g?H:void 0!==H?vt*H:void 0)?gt:mt;ut=1-W,dt=W;if(z){k=ut;ut=dt,dt=k}var yt;pt={x:(yt="node-position"===G?Ue:Fe).x1*ut+yt.x2*dt,y:yt.y1*ut+yt.y2*dt};Ut.ctrlpts.push(pt.x+a.x*bt,pt.y+a.y*bt)}}else Ut.edgeType="straight";this.findEndpoints(Bt);var xt=!i.number(Ut.startX)||!i.number(Ut.startY),wt=!i.number(Ut.arrowStartX)||!i.number(Ut.arrowStartY),kt=!i.number(Ut.endX)||!i.number(Ut.endY),_t=!i.number(Ut.arrowEndX)||!i.number(Ut.arrowEndY),$t=3*(this.getArrowWidth(Bt.pstyle("width").pfValue,Bt.pstyle("arrow-scale").value)*this.arrowShapeWidth);if("bezier"===Ut.edgeType){var Et=r.dist({x:Ut.ctrlpts[0],y:Ut.ctrlpts[1]},{x:Ut.startX,y:Ut.startY}),St=Et<$t,Ct=r.dist({x:Ut.ctrlpts[0],y:Ut.ctrlpts[1]},{x:Ut.endX,y:Ut.endY}),Tt=Ct<$t,At=!1;if(xt||wt||St){At=!0;var Ot={x:Ut.ctrlpts[0]-Xt.x,y:Ut.ctrlpts[1]-Xt.y},Pt=Math.sqrt(Ot.x*Ot.x+Ot.y*Ot.y),Rt={x:Ot.x/Pt,y:Ot.y/Pt},jt=Math.max(Zt,Qt),Dt={x:Ut.ctrlpts[0]+2*Rt.x*jt,y:Ut.ctrlpts[1]+2*Rt.y*jt},Nt=n.intersectLine(Xt.x,Xt.y,Zt,Qt,Dt.x,Dt.y,0);St?(Ut.ctrlpts[0]=Ut.ctrlpts[0]+Rt.x*($t-Et),Ut.ctrlpts[1]=Ut.ctrlpts[1]+Rt.y*($t-Et)):(Ut.ctrlpts[0]=Nt[0]+Rt.x*$t,Ut.ctrlpts[1]=Nt[1]+Rt.y*$t)}if(kt||_t||Tt){At=!0;Ot={x:Ut.ctrlpts[0]-Yt.x,y:Ut.ctrlpts[1]-Yt.y},Pt=Math.sqrt(Ot.x*Ot.x+Ot.y*Ot.y),Rt={x:Ot.x/Pt,y:Ot.y/Pt},jt=Math.max(Zt,Qt),Dt={x:Ut.ctrlpts[0]+2*Rt.x*jt,y:Ut.ctrlpts[1]+2*Rt.y*jt};var It=o.intersectLine(Yt.x,Yt.y,Kt,Jt,Dt.x,Dt.y,0);Tt?(Ut.ctrlpts[0]=Ut.ctrlpts[0]+Rt.x*($t-Ct),Ut.ctrlpts[1]=Ut.ctrlpts[1]+Rt.y*($t-Ct)):(Ut.ctrlpts[0]=It[0]+Rt.x*$t,Ut.ctrlpts[1]=It[1]+Rt.y*$t)}At&&this.findEndpoints(Bt)}if("multibezier"===Ut.edgeType||"bezier"===Ut.edgeType||"self"===Ut.edgeType||"compound"===Ut.edgeType){Ut.allpts=[],Ut.allpts.push(Ut.startX,Ut.startY);for(ht=0;ht+1<Ut.ctrlpts.length;ht+=2)Ut.allpts.push(Ut.ctrlpts[ht],Ut.ctrlpts[ht+1]),ht+3<Ut.ctrlpts.length&&Ut.allpts.push((Ut.ctrlpts[ht]+Ut.ctrlpts[ht+2])/2,(Ut.ctrlpts[ht+1]+Ut.ctrlpts[ht+3])/2);var Mt,zt;Ut.allpts.push(Ut.endX,Ut.endY),Ut.ctrlpts.length/2%2==0?(Mt=Ut.allpts.length/2-1,Ut.midX=Ut.allpts[Mt],Ut.midY=Ut.allpts[Mt+1]):(Mt=Ut.allpts.length/2-3,zt=.5,Ut.midX=r.qbezierAt(Ut.allpts[Mt],Ut.allpts[Mt+2],Ut.allpts[Mt+4],zt),Ut.midY=r.qbezierAt(Ut.allpts[Mt+1],Ut.allpts[Mt+3],Ut.allpts[Mt+5],zt))}else if("straight"===Ut.edgeType)Ut.allpts=[Ut.startX,Ut.startY,Ut.endX,Ut.endY],Ut.midX=(Ut.startX+Ut.endX+Ut.arrowStartX+Ut.arrowEndX)/4,Ut.midY=(Ut.startY+Ut.endY+Ut.arrowStartY+Ut.arrowEndY)/4;else if("segments"===Ut.edgeType)if(Ut.allpts=[],Ut.allpts.push(Ut.startX,Ut.startY),Ut.allpts.push.apply(Ut.allpts,Ut.segpts),Ut.allpts.push(Ut.endX,Ut.endY),Ut.segpts.length%4==0){var Lt=Ut.segpts.length/2,qt=Lt-2;Ut.midX=(Ut.segpts[qt]+Ut.segpts[Lt])/2,Ut.midY=(Ut.segpts[qt+1]+Ut.segpts[Lt+1])/2}else{qt=Ut.segpts.length/2-1;Ut.midX=Ut.segpts[qt],Ut.midY=Ut.segpts[qt+1]}this.storeEdgeProjections(Bt),this.calculateArrowAngles(Bt)}this.recalculateEdgeLabelProjections(Bt),this.calculateLabelAngles(Bt)}}for(f=0;f<p.length;f++){var Bt,Vt,Ft=(Vt=(Bt=p[f])._private).rscratch,Ut=Ft;if(!Ft.haystack){var Ht=2*Math.random()*Math.PI;Ft.source={x:Math.cos(Ht),y:Math.sin(Ht)};Ht=2*Math.random()*Math.PI;Ft.target={x:Math.cos(Ht),y:Math.sin(Ht)}}var Wt=Vt.source,Gt=Vt.target,Xt=Wt.position(),Yt=Gt.position(),Zt=Wt.width(),Kt=Gt.width(),Qt=Wt.height(),Jt=Gt.height(),en=(jt=Bt.pstyle("haystack-radius").value)/2;Ut.haystackPts=Ut.allpts=[Ut.source.x*Zt*en+Xt.x,Ut.source.y*Qt*en+Xt.y,Ut.target.x*Kt*en+Yt.x,Ut.target.y*Jt*en+Yt.y],Ut.midX=(Ut.allpts[0]+Ut.allpts[2])/2,Ut.midY=(Ut.allpts[1]+Ut.allpts[3])/2,Ft.edgeType=Ft.lastCurveStyle="haystack",Ft.haystack=!0,this.storeEdgeProjections(Bt),this.calculateArrowAngles(Bt),this.recalculateEdgeLabelProjections(Bt),this.calculateLabelAngles(Bt)}}},o.getSegmentPoints=function(e){var t=e[0]._private.rscratch;if("segments"===t.edgeType)return a(t.segpts)},o.getControlPoints=function(e){var t=e[0]._private.rscratch,n=t.edgeType;if("bezier"===n||"multibezier"===n||"self"===n||"compound"===n)return a(t.ctrlpts)},o.getEdgeMidpoint=function(e){var t=e[0]._private.rscratch;return{x:t.midX,y:t.midY}},e.exports=o},function(e,t,n){"use strict";var r=n(2),i=n(0),o={manualEndptToPx:function(e,t){var n=e.position(),r=e.outerWidth(),i=e.outerHeight();if(2===t.value.length){var o=[t.pfValue[0],t.pfValue[1]];return"%"===t.units[0]&&(o[0]=o[0]*r),"%"===t.units[1]&&(o[1]=o[1]*i),o[0]+=n.x,o[1]+=n.y,o}var a=t.pfValue[0];a=-Math.PI/2+a;var s=2*Math.max(r,i),l=[n.x+Math.cos(a)*s,n.y+Math.sin(a)*s];return this.nodeShapes[this.getNodeShape(e)].intersectLine(n.x,n.y,r,i,l[0],l[1],0)},findEndpoints:function(e){var t=this,n=void 0,o=e.source()[0],a=e.target()[0],s=o.position(),l=a.position(),c=e.pstyle("target-arrow-shape").value,u=e.pstyle("source-arrow-shape").value,d=e.pstyle("target-distance-from-node").pfValue,p=e.pstyle("source-distance-from-node").pfValue,f=e._private.rscratch,h=f.edgeType,g="self"===h||"compound"===h,m="bezier"===h||"multibezier"===h||g,v="bezier"!==h,b="straight"===h||"segments"===h,y="segments"===h,x=m||v||b,w=e.pstyle("source-endpoint"),k=g?"outside-to-node":w.value,_=e.pstyle("target-endpoint"),$=g?"outside-to-node":_.value;f.srcManEndpt=w,f.tgtManEndpt=_;var E=void 0,S=void 0,C=void 0,T=void 0;if(m){var A=[f.ctrlpts[0],f.ctrlpts[1]];E=v?[f.ctrlpts[f.ctrlpts.length-2],f.ctrlpts[f.ctrlpts.length-1]]:A,S=A}else if(b){var O=y?f.segpts.slice(0,2):[l.x,l.y];E=y?f.segpts.slice(f.segpts.length-2):[s.x,s.y],S=O}"inside-to-node"===$?n=[l.x,l.y]:_.units?n=this.manualEndptToPx(a,_):"outside-to-line"===$?n=f.tgtIntn:("outside-to-node"===$?C=E:"outside-to-line"===$&&(C=[s.x,s.y]),n=t.nodeShapes[this.getNodeShape(a)].intersectLine(l.x,l.y,a.outerWidth(),a.outerHeight(),C[0],C[1],0));var P=r.shortenIntersection(n,E,t.arrowShapes[c].spacing(e)+d),R=r.shortenIntersection(n,E,t.arrowShapes[c].gap(e)+d);e.hasClass("horizontal")?(f.endX=n[0]-d,f.endY=n[1],f.arrowEndX=n[0]-d/2,f.arrowEndY=n[1]):e.hasClass("vertical")?(f.endX=n[0],f.endY=n[1]-d,f.arrowEndX=n[0],f.arrowEndY=n[1]-d/2):(f.endX=R[0],f.endY=R[1],f.arrowEndX=P[0],f.arrowEndY=P[1]),"inside-to-node"===k?n=[s.x,s.y]:w.units?n=this.manualEndptToPx(o,w):"outside-to-line"===k?n=f.srcIntn:("outside-to-node"===k?T=S:"outside-to-line"===k&&(T=[l.x,l.y]),n=t.nodeShapes[this.getNodeShape(o)].intersectLine(s.x,s.y,o.outerWidth(),o.outerHeight(),T[0],T[1],0));var j=r.shortenIntersection(n,S,t.arrowShapes[u].spacing(e)+p),D=r.shortenIntersection(n,S,t.arrowShapes[u].gap(e)+p);f.startX=D[0],f.startY=D[1],f.arrowStartX=j[0],f.arrowStartY=j[1],x&&(i.number(f.startX)&&i.number(f.startY)&&i.number(f.endX)&&i.number(f.endY)?f.badLine=!1:f.badLine=!0)},getSourceEndpoint:function(e){var t=e[0]._private.rscratch;switch(t.edgeType){case"haystack":return{x:t.haystackPts[0],y:t.haystackPts[1]};default:return{x:t.arrowStartX,y:t.arrowStartY}}},getTargetEndpoint:function(e){var t=e[0]._private.rscratch;switch(t.edgeType){case"haystack":return{x:t.haystackPts[2],y:t.haystackPts[3]};default:return{x:t.arrowEndX,y:t.arrowEndY}}}};e.exports=o},function(e,t,n){"use strict";var r=n(2),i={};function o(e,t,n){for(var i=function(e,t,n,i){return r.qbezierAt(e,t,n,i)},o=t._private.rstyle.bezierPts,a=0;a<e.bezierProjPcts.length;a++){var s=e.bezierProjPcts[a];o.push({x:i(n[0],n[2],n[4],s),y:i(n[1],n[3],n[5],s)})}}i.storeEdgeProjections=function(e){var t=e._private,n=t.rscratch,r=n.edgeType;if(t.rstyle.bezierPts=null,t.rstyle.linePts=null,t.rstyle.haystackPts=null,"multibezier"===r||"bezier"===r||"self"===r||"compound"===r){t.rstyle.bezierPts=[];for(var i=0;i+5<n.allpts.length;i+=4)o(this,e,n.allpts.slice(i,i+6))}else if("segments"===r){var a=t.rstyle.linePts=[];for(i=0;i+1<n.allpts.length;i+=2)a.push({x:n.allpts[i],y:n.allpts[i+1]})}else if("haystack"===r){var s=n.haystackPts;t.rstyle.haystackPts=[{x:s[0],y:s[1]},{x:s[2],y:s[3]}]}t.rstyle.arrowWidth=this.getArrowWidth(e.pstyle("width").pfValue,e.pstyle("arrow-scale").value)*this.arrowShapeWidth},i.recalculateEdgeProjections=function(e){this.findEdgeControlPoints(e)},e.exports=i},function(e,t,n){"use strict";var r=n(2),i=n(0),o=n(1),a={recalculateNodeLabelProjection:function(e){var t=e.pstyle("label").strValue;if(!i.emptyString(t)){var n,r,o=e._private,a=e.width(),s=e.height(),l=e.padding(),c=e.position(),u=e.pstyle("text-halign").strValue,d=e.pstyle("text-valign").strValue,p=o.rscratch,f=o.rstyle;switch(u){case"left":n=c.x-a/2-l;break;case"right":n=c.x+a/2+l;break;default:n=c.x}switch(d){case"top":r=c.y-s/2-l;break;case"bottom":r=c.y+s/2+l;break;default:r=c.y}p.labelX=n,p.labelY=r,f.labelX=n,f.labelY=r,this.applyLabelDimensions(e)}}};a.recalculateEdgeLabelProjections=function(e){var t,n=e._private,i=n.rscratch,a=this,s={mid:e.pstyle("label").strValue,source:e.pstyle("source-label").strValue,target:e.pstyle("target-label").strValue};if(s.mid||s.source||s.target){t={x:i.midX,y:i.midY};var l=function(e,t,r){o.setPrefixedProperty(n.rscratch,e,t,r),o.setPrefixedProperty(n.rstyle,e,t,r)};l("labelX",null,t.x),l("labelY",null,t.y);var c=function(o){var c,u="source"===o;if(s[o]){var d=e.pstyle(o+"-text-offset").pfValue,p=function(e,t){var n=t.x-e.x,r=t.y-e.y;return Math.atan(r/n)};switch(i.edgeType){case"self":case"compound":case"bezier":case"multibezier":for(var f,h=function e(){if(e.cache)return e.cache;for(var t=[],o=0;o+5<i.allpts.length;o+=4){var s={x:i.allpts[o],y:i.allpts[o+1]},l={x:i.allpts[o+2],y:i.allpts[o+3]},c={x:i.allpts[o+4],y:i.allpts[o+5]};t.push({p0:s,p1:l,p2:c,startDist:0,length:0,segments:[]})}var u=n.rstyle.bezierPts,d=a.bezierProjPcts.length;function p(e,t,n,i,o){var a=r.dist(t,n),s=e.segments[e.segments.length-1],l={p0:t,p1:n,t0:i,t1:o,startDist:s?s.startDist+s.length:0,length:a};e.segments.push(l),e.length+=a}for(o=0;o<t.length;o++){var f=t[o],h=t[o-1];h&&(f.startDist=h.startDist+h.length),p(f,f.p0,u[o*d],0,a.bezierProjPcts[0]);for(var g=0;g<d-1;g++)p(f,u[o*d+g],u[o*d+g+1],a.bezierProjPcts[g],a.bezierProjPcts[g+1]);p(f,u[o*d+d-1],f.p2,a.bezierProjPcts[d-1],1)}return e.cache=t}(),g=0,m=0,v=0;v<h.length;v++){for(var b=h[u?v:h.length-1-v],y=0;y<b.segments.length;y++){var x=b.segments[u?y:b.segments.length-1-y],w=v===h.length-1&&y===b.segments.length-1;if(g=m,(m+=x.length)>=d||w){f={cp:b,segment:x};break}}if(f)break}b=f.cp;var k=(d-g)/(x=f.segment).length,_=x.t1-x.t0,$=u?x.t0+_*k:x.t1-_*k;$=r.bound(0,$,1),t=r.qbezierPtAt(b.p0,b.p1,b.p2,$),c=function(e,t,n,i){var o=r.bound(0,i-.001,1),a=r.bound(0,i+.001,1),s=r.qbezierPtAt(e,t,n,o),l=r.qbezierPtAt(e,t,n,a);return p(s,l)}(b.p0,b.p1,b.p2,$);break;case"straight":case"segments":case"haystack":var E,S,C,T,A=0,O=i.allpts.length;for(v=0;v+3<O&&(u?(C={x:i.allpts[v],y:i.allpts[v+1]},T={x:i.allpts[v+2],y:i.allpts[v+3]}):(C={x:i.allpts[O-2-v],y:i.allpts[O-1-v]},T={x:i.allpts[O-4-v],y:i.allpts[O-3-v]}),S=A,!((A+=E=r.dist(C,T))>=d));v+=2);$=(d-S)/E;$=r.bound(0,$,1),t=r.lineAt(C,T,$),c=p(C,T)}l("labelX",o,t.x),l("labelY",o,t.y),l("labelAutoAngle",o,c)}};c("source"),c("target"),this.applyLabelDimensions(e)}},a.applyLabelDimensions=function(e){this.applyPrefixedLabelDimensions(e),e.isEdge()&&(this.applyPrefixedLabelDimensions(e,"source"),this.applyPrefixedLabelDimensions(e,"target"))},a.applyPrefixedLabelDimensions=function(e,t){var n=e._private,r=this.getLabelText(e,t),i=this.calculateLabelDimensions(e,r);o.setPrefixedProperty(n.rstyle,"labelWidth",t,i.width),o.setPrefixedProperty(n.rscratch,"labelWidth",t,i.width),o.setPrefixedProperty(n.rstyle,"labelHeight",t,i.height),o.setPrefixedProperty(n.rscratch,"labelHeight",t,i.height)},a.getLabelText=function(e,t){var n=e._private,r=t?t+"-":"",i=e.pstyle(r+"label").strValue,a=e.pstyle("text-transform").value,s=function(e,r){return r?(o.setPrefixedProperty(n.rscratch,e,t,r),r):o.getPrefixedProperty(n.rscratch,e,t)};"none"==a||("uppercase"==a?i=i.toUpperCase():"lowercase"==a&&(i=i.toLowerCase()));var l=e.pstyle("text-wrap").value;if("wrap"===l){var c=s("labelKey");if(c&&s("labelWrapKey")===c)return s("labelWrapCachedText");for(var u=i.split("\n"),d=e.pstyle("text-max-width").pfValue,p=[],f=0;f<u.length;f++){var h=u[f];if(this.calculateLabelDimensions(e,h,"line="+h).width>d){for(var g=h.split(/\s+/),m="",v=0;v<g.length;v++){var b=g[v],y=0===m.length?b:m+" "+b;this.calculateLabelDimensions(e,y,"testLine="+y).width<=d?m+=b+" ":(p.push(m),m=b+" ")}m.match(/^\s+$/)||p.push(m)}else p.push(h)}s("labelWrapCachedLines",p),i=s("labelWrapCachedText",p.join("\n")),s("labelWrapKey",c)}else if("ellipsis"===l){d=e.pstyle("text-max-width").pfValue;for(var x="",w=!1,k=0;k<i.length;k++){if(this.calculateLabelDimensions(e,x+i[k]+"…").width>d)break;x+=i[k],k===i.length-1&&(w=!0)}return w||(x+="…"),x}return i},a.calculateLabelDimensions=function(e,t,n){var r=e._private.labelStyleKey+"$@$"+t;n&&(r+="$@$"+n);var i=this.labelDimCache||(this.labelDimCache={});if(i[r])return i[r];var o=e.pstyle("font-style").strValue,a=1*e.pstyle("font-size").pfValue+"px",s=e.pstyle("font-family").strValue,l=e.pstyle("font-weight").strValue,c=this.labelCalcDiv;c||(c=this.labelCalcDiv=document.createElement("div"),document.body.appendChild(c));var u=c.style;return u.fontFamily=s,u.fontStyle=o,u.fontSize=a,u.fontWeight=l,u.position="absolute",u.left="-9999px",u.top="-9999px",u.zIndex="-1",u.visibility="hidden",u.pointerEvents="none",u.padding="0",u.lineHeight="1","wrap"===e.pstyle("text-wrap").value?u.whiteSpace="pre":u.whiteSpace="normal",c.textContent=t,i[r]={width:Math.ceil(c.clientWidth/1),height:Math.ceil(c.clientHeight/1)},i[r]},a.calculateLabelAngles=function(e){var t=e._private.rscratch,n=e.isEdge(),r=e.pstyle("text-rotation"),i=r.strValue;"none"===i?t.labelAngle=t.sourceLabelAngle=t.targetLabelAngle=0:n&&"autorotate"===i?(t.labelAngle=Math.atan(t.midDispY/t.midDispX),t.sourceLabelAngle=t.sourceLabelAutoAngle,t.targetLabelAngle=t.targetLabelAutoAngle):t.labelAngle=t.sourceLabelAngle=t.targetLabelAngle="autorotate"===i?0:r.pfValue},e.exports=a},function(e,t,n){"use strict";var r={getNodeShape:function(e){var t=e.pstyle("shape").value;if(e.isParent())return"rectangle"===t||"roundrectangle"===t||"cutrectangle"===t||"barrel"===t?t:"rectangle";if("polygon"===t){var n=e.pstyle("shape-polygon-points").value;return this.nodeShapes.makePolygon(n).name}return t}};e.exports=r},function(e,t,n){"use strict";var r={registerCalculationListeners:function(){var e=this.cy,t=e.collection(),n=this,r=function(e,n){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];t.merge(e);for(var i=0;i<e.length;i++){var o=e[i]._private,a=o.rstyle;r&&(a.clean=!1,o.bbCache=null);var s=a.dirtyEvents=a.dirtyEvents||{length:0};s[n.type]||(s[n.type]=!0,s.length++)}};n.binder(e).on("position.* style.* free.* bounds.*","node",function(e){var t=e.target;r(t,e),r(t.connectedEdges(),e)}).on("add.*","node",function(e){var t=e.target;r(t,e)}).on("background.*","node",function(e){var t=e.target;r(t,e,!1)}).on("add.* style.*","edge",function(e){var t=e.target;r(t,e),r(t.parallelEdges(),e)}).on("remove.*","edge",function(e){for(var t=e.target.parallelEdges(),n=0;n<t.length;n++){var i=t[n];i.removed()||r(i,e)}}).on("dirty.*","node",function(e){var t=e.target;r(t,e)});n.beforeRender(function(r){if(r){var i=n.onUpdateEleCalcsFns;if(i)for(var o=0;o<i.length;o++)(0,i[o])(r,t);for(n.recalculateRenderedStyle(t,!1),o=0;o<t.length;o++)t[o]._private.rstyle.dirtyEvents=null;t=e.collection()}},n.beforeRenderPriorities.eleCalcs)},onUpdateEleCalcs:function(e){(this.onUpdateEleCalcsFns=this.onUpdateEleCalcsFns||[]).push(e)},recalculateRenderedStyle:function(e,t){var n=[],r=[];if(!this.destroyed){void 0===t&&(t=!0);for(var i=0;i<e.length;i++){var o=(l=(s=e[i])._private).rstyle;t&&o.clean||s.removed()||"none"!==s.pstyle("display").value&&("nodes"===l.group?r.push(s):n.push(s),o.clean=!0)}for(i=0;i<r.length;i++){o=(l=(s=r[i])._private).rstyle;var a=s.position();this.recalculateNodeLabelProjection(s),o.nodeX=a.x,o.nodeY=a.y,o.nodeW=s.pstyle("width").pfValue,o.nodeH=s.pstyle("height").pfValue}this.recalculateEdgeProjections(n);for(i=0;i<n.length;i++){o=(l=(s=n[i])._private).rstyle;var s,l,c=l.rscratch;this.recalculateEdgeLabelProjections(s),o.srcX=c.arrowStartX,o.srcY=c.arrowStartY,o.tgtX=c.arrowEndX,o.tgtY=c.arrowEndY,o.midX=c.midX,o.midY=c.midY,o.labelAngle=c.labelAngle,o.sourceLabelAngle=c.sourceLabelAngle,o.targetLabelAngle=c.targetLabelAngle}}}};e.exports=r},function(e,t,n){"use strict";var r=n(17),i={updateCachedGrabbedEles:function(){var e=this.cachedZSortedEles;if(e){e.drag=[],e.nondrag=[];for(var t=[],n=0;n<e.length;n++){var r=(i=e[n])._private.rscratch;i.grabbed()&&!i.isParent()?t.push(i):r.inDragLayer?e.drag.push(i):e.nondrag.push(i)}for(n=0;n<t.length;n++){var i=t[n];e.drag.push(i)}}},invalidateCachedZSortedEles:function(){this.cachedZSortedEles=null},getCachedZSortedEles:function(e){if(e||!this.cachedZSortedEles){var t=this.cy.mutableElements().toArray();t.sort(r),t.interactive=t.filter(function(e){return e.interactive()}),this.cachedZSortedEles=t,this.updateCachedGrabbedEles()}else t=this.cachedZSortedEles;return t}};e.exports=i},function(e,t,n){"use strict";var r={getCachedImage:function(e,t,n){var r=this.imageCache=this.imageCache||{},i=r[e];if(i)return i.image.complete||i.image.addEventListener("load",n),i.image;var o=(i=r[e]=r[e]||{}).image=new Image;o.addEventListener("load",n),o.addEventListener("error",function(){o.error=!0});return"data:"===e.substring(0,"data:".length).toLowerCase()||(o.crossOrigin=t),o.src=e,o}};e.exports=r},function(e,t,n){"use strict";var r=n(0),i=n(1),o=n(2),a=(n(16),{registerBinding:function(e,t,n,r){var i=Array.prototype.slice.apply(arguments,[1]),o=this.binder(e);return o.on.apply(o,i)},binder:function(e){var t=this,n=e===window||e===document||e===document.body||r.domElement(e);if(null==t.supportsPassiveEvents){var i=!1;try{var o=Object.defineProperty({},"passive",{get:function(){i=!0}});window.addEventListener("test",null,o)}catch(e){}t.supportsPassiveEvents=i}var a=function(r,i,o){var a=Array.prototype.slice.call(arguments);return n&&t.supportsPassiveEvents&&(a[2]={capture:null!=o&&o,passive:!1,once:!1}),t.bindings.push({target:e,args:a}),(e.addEventListener||e.on).apply(e,a),this};return{on:a,addEventListener:a,addListener:a,bind:a}},nodeIsDraggable:function(e){return e&&e.isNode()&&!e.locked()&&e.grabbable()},nodeIsGrabbable:function(e){return this.nodeIsDraggable(e)&&e.interactive()}});a.load=function(){var e=this,t=function(t,n,r,o){null==t&&(t=e.cy);for(var a=0;a<n.length;a++){var s=n[a];t.emit(i.extend({originalEvent:r,type:s},o))}},n=function(e){return e.shiftKey||e.metaKey||e.ctrlKey},a=function(t,n){var r=!0;if(e.cy.hasCompoundNodes()&&t&&t.isEdge())for(var i=0;n&&i<n.length;i++){if((t=n[i]).isNode()&&t.isParent()){r=!1;break}}else r=!0;return r},s=function(e){e[0]._private.rscratch.inDragLayer=!0},l=function(e){e[0]._private.rscratch.isGrabTarget=!0},c=function(t,n){var r=function(t){var n;if(t.addToList&&e.cy.hasCompoundNodes()){if(!t.addToList.hasId){t.addToList.hasId={};for(var r=0;r<t.addToList.length;r++){var i=t.addToList[r];t.addToList.hasId[i.id()]=!0}}n=t.addToList.hasId}return n||{}}(n);r[t.id()]||(n.addToList.push(t),r[t.id()]=!0,function(e){e[0]._private.grabbed=!0}(t))},u=function(t,n){n=n||{};var r=t.cy().hasCompoundNodes();n.inDragLayer&&(t.forEach(s),t.neighborhood().stdFilter(function(e){return!r||e.isEdge()}).forEach(s)),n.addToList&&t.forEach(function(e){c(e,n)}),function(e,t){if(e.cy().hasCompoundNodes()&&(null!=t.inDragLayer||null!=t.addToList)){var n=e.descendants();t.inDragLayer&&(n.forEach(s),n.connectedEdges().forEach(s)),t.addToList&&n.forEach(function(e){c(e,t)})}}(t,n),f(t,{inDragLayer:n.inDragLayer}),e.updateCachedGrabbedEles()},d=u,p=function(t){t&&(t.hasId={},e.getCachedZSortedEles().forEach(function(e){!function(e){e[0]._private.grabbed=!1}(e),function(e){e[0]._private.rscratch.inDragLayer=!1}(e),function(e){e[0]._private.rscratch.isGrabTarget=!1}(e)}),e.updateCachedGrabbedEles())},f=function(e,t){if((null!=t.inDragLayer||null!=t.addToList)&&e.cy().hasCompoundNodes()){var n=e.ancestors().orphans();if(!n.same(e)){var r=n.descendants().spawnSelf().merge(n).unmerge(e).unmerge(e.descendants()),i=r.connectedEdges();t.inDragLayer&&(i.forEach(s),r.forEach(s)),t.addToList&&r.forEach(function(e){c(e,t)})}}},h="undefined"!=typeof MutationObserver;h?(e.removeObserver=new MutationObserver(function(t){for(var n=0;n<t.length;n++){var r=t[n].removedNodes;if(r)for(var i=0;i<r.length;i++){if(r[i]===e.container){e.destroy();break}}}}),e.container.parentNode&&e.removeObserver.observe(e.container.parentNode,{childList:!0})):e.registerBinding(e.container,"DOMNodeRemoved",function(t){e.destroy()});var g=i.debounce(function(){e.cy.resize()},100);h&&(e.styleObserver=new MutationObserver(g),e.styleObserver.observe(e.container,{attributes:!0})),e.registerBinding(window,"resize",g);var m=function(){e.invalidateContainerClientCoordsCache()};!function(e,t){for(;null!=e;)t(e),e=e.parentNode}(e.container,function(t){e.registerBinding(t,"transitionend",m),e.registerBinding(t,"animationend",m),e.registerBinding(t,"scroll",m)}),e.registerBinding(e.container,"contextmenu",function(e){e.preventDefault()});var v=function(t){for(var n=e.findContainerClientCoords(),r=n[0],i=n[1],o=n[2],a=n[3],s=t.touches?t.touches:[t],l=!1,c=0;c<s.length;c++){var u=s[c];if(r<=u.clientX&&u.clientX<=r+o&&i<=u.clientY&&u.clientY<=i+a){l=!0;break}}if(!l)return!1;for(var d=e.container,p=t.target.parentNode,f=!1;p;){if(p===d){f=!0;break}p=p.parentNode}return!!f};e.registerBinding(e.container,"mousedown",function(n){if(v(n)){n.preventDefault(),e.hoverData.capture=!0,e.hoverData.which=n.which;var r=e.cy,i=[n.clientX,n.clientY],o=e.projectIntoViewport(i[0],i[1]),a=e.selection,s=e.findNearestElements(o[0],o[1],!0,!1),c=s[0],p=e.dragData.possibleDragElements;e.hoverData.mdownPos=o,e.hoverData.mdownGPos=i;if(3==n.which){e.hoverData.cxtStarted=!0;var f={originalEvent:n,type:"cxttapstart",position:{x:o[0],y:o[1]}};c?(c.activate(),c.emit(f),e.hoverData.down=c):r.emit(f),e.hoverData.downTime=(new Date).getTime(),e.hoverData.cxtDragged=!1}else if(1==n.which){if(c&&c.activate(),null!=c&&e.nodeIsGrabbable(c)){var h=function(e){return{originalEvent:n,type:e,position:{x:o[0],y:o[1]}}};if(l(c),c.selected()){p=e.dragData.possibleDragElements=[];var g=r.$(function(t){return t.isNode()&&t.selected()&&e.nodeIsGrabbable(t)});u(g,{addToList:p}),c.emit(h("grabon")),g.forEach(function(e){e.emit(h("grab"))})}else p=e.dragData.possibleDragElements=[],d(c,{addToList:p}),c.emit(h("grabon")).emit(h("grab"));e.redrawHint("eles",!0),e.redrawHint("drag",!0)}e.hoverData.down=c,e.hoverData.downs=s,e.hoverData.downTime=(new Date).getTime(),t(c,["mousedown","tapstart","vmousedown"],n,{position:{x:o[0],y:o[1]}}),null==c?(a[4]=1,e.data.bgActivePosistion={x:o[0],y:o[1]},e.redrawHint("select",!0),e.redraw()):c.isEdge()&&(a[4]=1),e.hoverData.tapholdCancelled=!1,clearTimeout(e.hoverData.tapholdTimeout),e.hoverData.tapholdTimeout=setTimeout(function(){if(!e.hoverData.tapholdCancelled){var t=e.hoverData.down;t?t.emit({originalEvent:n,type:"taphold",position:{x:o[0],y:o[1]}}):r.emit({originalEvent:n,type:"taphold",position:{x:o[0],y:o[1]}})}},e.tapholdDuration)}a[0]=a[2]=o[0],a[1]=a[3]=o[1]}},!1),e.registerBinding(window,"mousemove",function(i){if(e.hoverData.capture||v(i)){var s=!1,l=e.cy,c=l.zoom(),d=[i.clientX,i.clientY],f=e.projectIntoViewport(d[0],d[1]),h=e.hoverData.mdownPos,g=e.hoverData.mdownGPos,m=e.selection,b=null;e.hoverData.draggingEles||e.hoverData.dragging||e.hoverData.selecting||(b=e.findNearestElement(f[0],f[1],!0,!1));var y,x=e.hoverData.last,w=e.hoverData.down,k=[f[0]-m[2],f[1]-m[3]],_=e.dragData.possibleDragElements;if(g){var $=d[0]-g[0],E=$*$,S=d[1]-g[1],C=E+S*S;e.hoverData.isOverThresholdDrag=y=C>=e.desktopTapThreshold2}var T=n(i);y&&(e.hoverData.tapholdCancelled=!0);s=!0,t(b,["mousemove","vmousemove","tapdrag"],i,{position:{x:f[0],y:f[1]}});var A=function(){e.data.bgActivePosistion=void 0,e.hoverData.selecting||l.emit("boxstart"),m[4]=1,e.hoverData.selecting=!0,e.redrawHint("select",!0),e.redraw()};if(3===e.hoverData.which){if(y){var O={originalEvent:i,type:"cxtdrag",position:{x:f[0],y:f[1]}};w?w.emit(O):l.emit(O),e.hoverData.cxtDragged=!0,e.hoverData.cxtOver&&b===e.hoverData.cxtOver||(e.hoverData.cxtOver&&e.hoverData.cxtOver.emit({originalEvent:i,type:"cxtdragout",position:{x:f[0],y:f[1]}}),e.hoverData.cxtOver=b,b&&b.emit({originalEvent:i,type:"cxtdragover",position:{x:f[0],y:f[1]}}))}}else if(e.hoverData.dragging){if(s=!0,l.panningEnabled()&&l.userPanningEnabled()){var P;if(e.hoverData.justStartedPan){var R=e.hoverData.mdownPos;P={x:(f[0]-R[0])*c,y:(f[1]-R[1])*c},e.hoverData.justStartedPan=!1}else P={x:k[0]*c,y:k[1]*c};l.panBy(P),e.hoverData.dragged=!0}f=e.projectIntoViewport(i.clientX,i.clientY)}else if(1!=m[4]||null!=w&&!w.isEdge()){if(w&&w.isEdge()&&w.active()&&w.unactivate(),w&&w.grabbed()||b==x||(x&&t(x,["mouseout","tapdragout"],i,{position:{x:f[0],y:f[1]}}),b&&t(b,["mouseover","tapdragover"],i,{position:{x:f[0],y:f[1]}}),e.hoverData.last=b),w)if(y){if(l.boxSelectionEnabled()&&T)w&&w.grabbed()&&(p(_),w.emit("free")),A();else if(w&&w.grabbed()&&e.nodeIsDraggable(w)){var j=!e.dragData.didDrag;j&&e.redrawHint("eles",!0),e.dragData.didDrag=!0;var D=[];e.hoverData.draggingEles||u(l.collection(_),{inDragLayer:!0});for(var N=0;N<_.length;N++){var I=_[N];if(e.nodeIsDraggable(I)&&I.grabbed()){var M=I.position();if(D.push(I),r.number(k[0])&&r.number(k[1])&&(M.x+=k[0],M.y+=k[1],j)){var z=e.hoverData.dragDelta;z&&r.number(z[0])&&r.number(z[1])&&(M.x+=z[0],M.y+=z[1])}}}e.hoverData.draggingEles=!0;var L=l.collection(D);L.dirtyCompoundBoundsCache(),L.emit("position drag"),e.redrawHint("drag",!0),e.redraw()}}else!function(){var t=e.hoverData.dragDelta=e.hoverData.dragDelta||[];0===t.length?(t.push(k[0]),t.push(k[1])):(t[0]+=k[0],t[1]+=k[1])}();s=!0}else if(y){if(e.hoverData.dragging||!l.boxSelectionEnabled()||!T&&l.panningEnabled()&&l.userPanningEnabled()){if(!e.hoverData.selecting&&l.panningEnabled()&&l.userPanningEnabled()){a(w,e.hoverData.downs)&&(e.hoverData.dragging=!0,e.hoverData.justStartedPan=!0,m[4]=0,e.data.bgActivePosistion=o.array2point(h),e.redrawHint("select",!0),e.redraw())}}else A();w&&w.isEdge()&&w.active()&&w.unactivate()}return m[2]=f[0],m[3]=f[1],s?(i.stopPropagation&&i.stopPropagation(),i.preventDefault&&i.preventDefault(),!1):void 0}},!1),e.registerBinding(window,"mouseup",function(r){if(e.hoverData.capture){e.hoverData.capture=!1;var i=e.cy,o=e.projectIntoViewport(r.clientX,r.clientY),a=e.selection,s=e.findNearestElement(o[0],o[1],!0,!1),l=e.dragData.possibleDragElements,c=e.hoverData.down,u=n(r);if(e.data.bgActivePosistion&&(e.redrawHint("select",!0),e.redraw()),e.hoverData.tapholdCancelled=!0,e.data.bgActivePosistion=void 0,c&&c.unactivate(),3===e.hoverData.which){var d={originalEvent:r,type:"cxttapend",position:{x:o[0],y:o[1]}};if(c?c.emit(d):i.emit(d),!e.hoverData.cxtDragged){var f={originalEvent:r,type:"cxttap",position:{x:o[0],y:o[1]}};c?c.emit(f):i.emit(f)}e.hoverData.cxtDragged=!1,e.hoverData.which=null}else if(1===e.hoverData.which){if(null!=c||e.dragData.didDrag||e.hoverData.selecting||e.hoverData.dragged||n(r)||(i.$(function(e){return e.selected()}).unselect(),l.length>0&&e.redrawHint("eles",!0),e.dragData.possibleDragElements=l=[]),t(s,["mouseup","tapend","vmouseup"],r,{position:{x:o[0],y:o[1]}}),e.dragData.didDrag||e.hoverData.dragged||e.hoverData.selecting||e.hoverData.isOverThresholdDrag||t(c,["click","tap","vclick"],r,{position:{x:o[0],y:o[1]}}),s!=c||e.dragData.didDrag||e.hoverData.selecting||null!=s&&s._private.selectable&&(e.hoverData.dragging||("additive"===i.selectionType()||u?s.selected()?s.unselect():s.select():u||(i.$(":selected").unmerge(s).unselect(),s.select())),e.redrawHint("eles",!0)),e.hoverData.selecting){var h=i.collection(e.getAllInBox(a[0],a[1],a[2],a[3]));e.redrawHint("select",!0),h.length>0&&e.redrawHint("eles",!0),i.emit("boxend");var g=function(e){return e.selectable()&&!e.selected()};"additive"===i.selectionType()?h.emit("box").stdFilter(g).select().emit("boxselect"):(u||i.$(":selected").unmerge(h).unselect(),h.emit("box").stdFilter(g).select().emit("boxselect")),e.redraw()}if(e.hoverData.dragging&&(e.hoverData.dragging=!1,e.redrawHint("select",!0),e.redrawHint("eles",!0),e.redraw()),!a[4]){e.redrawHint("drag",!0),e.redrawHint("eles",!0);var m=c&&c.grabbed();p(l),m&&c.emit("free")}}a[4]=0,e.hoverData.down=null,e.hoverData.cxtStarted=!1,e.hoverData.draggingEles=!1,e.hoverData.selecting=!1,e.hoverData.isOverThresholdDrag=!1,e.dragData.didDrag=!1,e.hoverData.dragged=!1,e.hoverData.dragDelta=[],e.hoverData.mdownPos=null,e.hoverData.mdownGPos=null}},!1);var b,y,x,w,k,_,$,E,S,C,T,A,O;e.registerBinding(e.container,"wheel",function(t){if(!e.scrollingPage){var n,r=e.cy,i=e.projectIntoViewport(t.clientX,t.clientY),o=[i[0]*r.zoom()+r.pan().x,i[1]*r.zoom()+r.pan().y];e.hoverData.draggingEles||e.hoverData.dragging||e.hoverData.cxtStarted||0!==e.selection[4]?t.preventDefault():r.panningEnabled()&&r.userPanningEnabled()&&r.zoomingEnabled()&&r.userZoomingEnabled()&&(t.preventDefault(),e.data.wheelZooming=!0,clearTimeout(e.data.wheelTimeout),e.data.wheelTimeout=setTimeout(function(){e.data.wheelZooming=!1,e.redrawHint("eles",!0),e.redraw()},150),n=null!=t.deltaY?t.deltaY/-250:null!=t.wheelDeltaY?t.wheelDeltaY/1e3:t.wheelDelta/1e3,n*=e.wheelSensitivity,1===t.deltaMode&&(n*=33),r.zoom({level:r.zoom()*Math.pow(10,n),renderedPosition:{x:o[0],y:o[1]}}))}},!0),e.registerBinding(window,"scroll",function(t){e.scrollingPage=!0,clearTimeout(e.scrollingPageTimeout),e.scrollingPageTimeout=setTimeout(function(){e.scrollingPage=!1},250)},!0),e.registerBinding(e.container,"mouseout",function(t){var n=e.projectIntoViewport(t.clientX,t.clientY);e.cy.emit({originalEvent:t,type:"mouseout",position:{x:n[0],y:n[1]}})},!1),e.registerBinding(e.container,"mouseover",function(t){var n=e.projectIntoViewport(t.clientX,t.clientY);e.cy.emit({originalEvent:t,type:"mouseover",position:{x:n[0],y:n[1]}})},!1);var P,R,j,D,N=function(e,t,n,r){return Math.sqrt((n-e)*(n-e)+(r-t)*(r-t))},I=function(e,t,n,r){return(n-e)*(n-e)+(r-t)*(r-t)};if(e.registerBinding(e.container,"touchstart",P=function(n){if(v(n)){e.touchData.capture=!0,e.data.bgActivePosistion=void 0;var r=e.cy,i=e.touchData.now,o=e.touchData.earlier;if(n.touches[0]){var a=e.projectIntoViewport(n.touches[0].clientX,n.touches[0].clientY);i[0]=a[0],i[1]=a[1]}if(n.touches[1]){a=e.projectIntoViewport(n.touches[1].clientX,n.touches[1].clientY);i[2]=a[0],i[3]=a[1]}if(n.touches[2]){a=e.projectIntoViewport(n.touches[2].clientX,n.touches[2].clientY);i[4]=a[0],i[5]=a[1]}if(n.touches[1]){p(e.dragData.touchDragEles);var s=e.findContainerClientCoords();S=s[0],C=s[1],T=s[2],A=s[3],b=n.touches[0].clientX-S,y=n.touches[0].clientY-C,x=n.touches[1].clientX-S,w=n.touches[1].clientY-C,O=0<=b&&b<=T&&0<=x&&x<=T&&0<=y&&y<=A&&0<=w&&w<=A;var c=r.pan(),f=r.zoom();k=N(b,y,x,w),_=I(b,y,x,w),E=[(($=[(b+x)/2,(y+w)/2])[0]-c.x)/f,($[1]-c.y)/f];if(_<4e4&&!n.touches[2]){var h=e.findNearestElement(i[0],i[1],!0,!0),g=e.findNearestElement(i[2],i[3],!0,!0);return h&&h.isNode()?(h.activate().emit({originalEvent:n,type:"cxttapstart",position:{x:i[0],y:i[1]}}),e.touchData.start=h):g&&g.isNode()?(g.activate().emit({originalEvent:n,type:"cxttapstart",position:{x:i[0],y:i[1]}}),e.touchData.start=g):r.emit({originalEvent:n,type:"cxttapstart",position:{x:i[0],y:i[1]}}),e.touchData.start&&(e.touchData.start._private.grabbed=!1),e.touchData.cxt=!0,e.touchData.cxtDragged=!1,e.data.bgActivePosistion=void 0,void e.redraw()}}if(n.touches[2]);else if(n.touches[1]);else if(n.touches[0]){var m=e.findNearestElements(i[0],i[1],!0,!0),P=m[0];if(null!=P&&(P.activate(),e.touchData.start=P,e.touchData.starts=m,e.nodeIsGrabbable(P))){var R=e.dragData.touchDragEles=[],j=null;e.redrawHint("eles",!0),e.redrawHint("drag",!0),P.selected()?(j=r.$(function(t){return t.selected()&&e.nodeIsGrabbable(t)}),u(j,{addToList:R})):d(P,{addToList:R}),l(P);var D=function(e){return{originalEvent:n,type:e,position:{x:i[0],y:i[1]}}};P.emit(D("grabon")),j?j.forEach(function(e){e.emit(D("grab"))}):P.emit(D("grab"))}t(P,["touchstart","tapstart","vmousedown"],n,{position:{x:i[0],y:i[1]}}),null==P&&(e.data.bgActivePosistion={x:a[0],y:a[1]},e.redrawHint("select",!0),e.redraw()),e.touchData.singleTouchMoved=!1,e.touchData.singleTouchStartTime=+new Date,clearTimeout(e.touchData.tapholdTimeout),e.touchData.tapholdTimeout=setTimeout(function(){!1!==e.touchData.singleTouchMoved||e.pinching||e.touchData.selecting||(t(e.touchData.start,["taphold"],n,{position:{x:i[0],y:i[1]}}),e.touchData.start||r.$(":selected").unselect())},e.tapholdDuration)}if(n.touches.length>=1){for(var M=e.touchData.startPosition=[],z=0;z<i.length;z++)M[z]=o[z]=i[z];var L=n.touches[0];e.touchData.startGPosition=[L.clientX,L.clientY]}}},!1),e.registerBinding(window,"touchmove",R=function(n){var i=e.touchData.capture;if(i||v(n)){var s=e.selection,l=e.cy,c=e.touchData.now,d=e.touchData.earlier,f=l.zoom();if(n.touches[0]){var h=e.projectIntoViewport(n.touches[0].clientX,n.touches[0].clientY);c[0]=h[0],c[1]=h[1]}if(n.touches[1]){h=e.projectIntoViewport(n.touches[1].clientX,n.touches[1].clientY);c[2]=h[0],c[3]=h[1]}if(n.touches[2]){h=e.projectIntoViewport(n.touches[2].clientX,n.touches[2].clientY);c[4]=h[0],c[5]=h[1]}var g,m=e.touchData.startGPosition;if(i&&n.touches[0]&&m){for(var $=[],T=0;T<c.length;T++)$[T]=c[T]-d[T];var A=n.touches[0].clientX-m[0],P=A*A,R=n.touches[0].clientY-m[1];g=P+R*R>=e.touchTapThreshold2}if(i&&e.touchData.cxt){n.preventDefault();var j=n.touches[0].clientX-S,D=n.touches[0].clientY-C,M=n.touches[1].clientX-S,z=n.touches[1].clientY-C,L=I(j,D,M,z);if(L/_>=2.25||L>=22500){e.touchData.cxt=!1,e.data.bgActivePosistion=void 0,e.redrawHint("select",!0);var q={originalEvent:n,type:"cxttapend",position:{x:c[0],y:c[1]}};e.touchData.start?(e.touchData.start.unactivate().emit(q),e.touchData.start=null):l.emit(q)}}if(i&&e.touchData.cxt){q={originalEvent:n,type:"cxtdrag",position:{x:c[0],y:c[1]}};e.data.bgActivePosistion=void 0,e.redrawHint("select",!0),e.touchData.start?e.touchData.start.emit(q):l.emit(q),e.touchData.start&&(e.touchData.start._private.grabbed=!1),e.touchData.cxtDragged=!0;var B=e.findNearestElement(c[0],c[1],!0,!0);e.touchData.cxtOver&&B===e.touchData.cxtOver||(e.touchData.cxtOver&&e.touchData.cxtOver.emit({originalEvent:n,type:"cxtdragout",position:{x:c[0],y:c[1]}}),e.touchData.cxtOver=B,B&&B.emit({originalEvent:n,type:"cxtdragover",position:{x:c[0],y:c[1]}}))}else if(i&&n.touches[2]&&l.boxSelectionEnabled())n.preventDefault(),e.data.bgActivePosistion=void 0,this.lastThreeTouch=+new Date,e.touchData.selecting||l.emit("boxstart"),e.touchData.selecting=!0,e.redrawHint("select",!0),s&&0!==s.length&&void 0!==s[0]?(s[2]=(c[0]+c[2]+c[4])/3,s[3]=(c[1]+c[3]+c[5])/3):(s[0]=(c[0]+c[2]+c[4])/3,s[1]=(c[1]+c[3]+c[5])/3,s[2]=(c[0]+c[2]+c[4])/3+1,s[3]=(c[1]+c[3]+c[5])/3+1),s[4]=1,e.touchData.selecting=!0,e.redraw();else if(i&&n.touches[1]&&l.zoomingEnabled()&&l.panningEnabled()&&l.userZoomingEnabled()&&l.userPanningEnabled()){if(n.preventDefault(),e.data.bgActivePosistion=void 0,e.redrawHint("select",!0),ee=e.dragData.touchDragEles){e.redrawHint("drag",!0);for(var V=0;V<ee.length;V++){var F=ee[V]._private;F.grabbed=!1,F.rscratch.inDragLayer=!1}}j=n.touches[0].clientX-S,D=n.touches[0].clientY-C,M=n.touches[1].clientX-S,z=n.touches[1].clientY-C;var U=N(j,D,M,z),H=U/k;if(O){var W=(j-b+(M-x))/2,G=(D-y+(z-w))/2,X=l.zoom(),Y=X*H,Z=l.pan(),K=E[0]*X+Z.x,Q=E[1]*X+Z.y,J={x:-Y/X*(K-Z.x-W)+K,y:-Y/X*(Q-Z.y-G)+Q};if(e.touchData.start&&e.touchData.start.active()){var ee=e.dragData.touchDragEles;p(ee),e.redrawHint("drag",!0),e.redrawHint("eles",!0),e.touchData.start.unactivate().emit("free")}l.viewport({zoom:Y,pan:J,cancelOnFailedZoom:!0}),k=U,b=j,y=D,x=M,w=z,e.pinching=!0}if(n.touches[0]){h=e.projectIntoViewport(n.touches[0].clientX,n.touches[0].clientY);c[0]=h[0],c[1]=h[1]}if(n.touches[1]){h=e.projectIntoViewport(n.touches[1].clientX,n.touches[1].clientY);c[2]=h[0],c[3]=h[1]}if(n.touches[2]){h=e.projectIntoViewport(n.touches[2].clientX,n.touches[2].clientY);c[4]=h[0],c[5]=h[1]}}else if(n.touches[0]){var te=e.touchData.start,ne=e.touchData.last;if(e.hoverData.draggingEles||e.swipePanning||(B=e.findNearestElement(c[0],c[1],!0,!0)),i&&null!=te&&n.preventDefault(),i&&null!=te&&e.nodeIsDraggable(te))if(g){ee=e.dragData.touchDragEles;var re=!e.dragData.didDrag;re&&u(l.collection(ee),{inDragLayer:!0});for(var ie=0;ie<ee.length;ie++){var oe=ee[ie];if(e.nodeIsDraggable(oe)&&oe.grabbed()){e.dragData.didDrag=!0;var ae=oe.position();if(r.number($[0])&&r.number($[1])&&(ae.x+=$[0],ae.y+=$[1]),re)e.redrawHint("eles",!0),(le=e.touchData.dragDelta)&&r.number(le[0])&&r.number(le[1])&&(ae.x+=le[0],ae.y+=le[1])}}var se=l.collection(ee);se.dirtyCompoundBoundsCache(),se.emit("position drag"),e.hoverData.draggingEles=!0,e.redrawHint("drag",!0),e.touchData.startPosition[0]==d[0]&&e.touchData.startPosition[1]==d[1]&&e.redrawHint("eles",!0),e.redraw()}else{var le;0===(le=e.touchData.dragDelta=e.touchData.dragDelta||[]).length?(le.push($[0]),le.push($[1])):(le[0]+=$[0],le[1]+=$[1])}if(t(te||B,["touchmove","tapdrag","vmousemove"],n,{position:{x:c[0],y:c[1]}}),te&&te.grabbed()||B==ne||(ne&&ne.emit({originalEvent:n,type:"tapdragout",position:{x:c[0],y:c[1]}}),B&&B.emit({originalEvent:n,type:"tapdragover",position:{x:c[0],y:c[1]}})),e.touchData.last=B,i)for(V=0;V<c.length;V++)c[V]&&e.touchData.startPosition[V]&&g&&(e.touchData.singleTouchMoved=!0);if(i&&(null==te||te.isEdge())&&l.panningEnabled()&&l.userPanningEnabled()){a(te,e.touchData.starts)&&(n.preventDefault(),e.swipePanning?l.panBy({x:$[0]*f,y:$[1]*f}):g&&(e.swipePanning=!0,l.panBy({x:A*f,y:R*f}),te&&(te.unactivate(),e.data.bgActivePosistion||(e.data.bgActivePosistion=o.array2point(e.touchData.startPosition)),e.redrawHint("select",!0),e.touchData.start=null)));h=e.projectIntoViewport(n.touches[0].clientX,n.touches[0].clientY);c[0]=h[0],c[1]=h[1]}}for(T=0;T<c.length;T++)d[T]=c[T]}},!1),e.registerBinding(window,"touchcancel",j=function(t){var n=e.touchData.start;e.touchData.capture=!1,n&&n.unactivate()}),e.registerBinding(window,"touchend",D=function(n){var r=e.touchData.start;if(e.touchData.capture){e.touchData.capture=!1,n.preventDefault();var i=e.selection;e.swipePanning=!1,e.hoverData.draggingEles=!1;var o,a=e.cy,s=a.zoom(),l=e.touchData.now,c=e.touchData.earlier;if(n.touches[0]){var u=e.projectIntoViewport(n.touches[0].clientX,n.touches[0].clientY);l[0]=u[0],l[1]=u[1]}if(n.touches[1]){u=e.projectIntoViewport(n.touches[1].clientX,n.touches[1].clientY);l[2]=u[0],l[3]=u[1]}if(n.touches[2]){u=e.projectIntoViewport(n.touches[2].clientX,n.touches[2].clientY);l[4]=u[0],l[5]=u[1]}if(r&&r.unactivate(),e.touchData.cxt){if(o={originalEvent:n,type:"cxttapend",position:{x:l[0],y:l[1]}},r?r.emit(o):a.emit(o),!e.touchData.cxtDragged){var d={originalEvent:n,type:"cxttap",position:{x:l[0],y:l[1]}};r?r.emit(d):a.emit(d)}return e.touchData.start&&(e.touchData.start._private.grabbed=!1),e.touchData.cxt=!1,e.touchData.start=null,void e.redraw()}if(!n.touches[2]&&a.boxSelectionEnabled()&&e.touchData.selecting){e.touchData.selecting=!1;var f=a.collection(e.getAllInBox(i[0],i[1],i[2],i[3]));i[0]=void 0,i[1]=void 0,i[2]=void 0,i[3]=void 0,i[4]=0,e.redrawHint("select",!0),a.emit("boxend");f.emit("box").stdFilter(function(e){return e.selectable()&&!e.selected()}).select().emit("boxselect"),f.nonempty()&&e.redrawHint("eles",!0),e.redraw()}if(null!=r&&r.unactivate(),n.touches[2])e.data.bgActivePosistion=void 0,e.redrawHint("select",!0);else if(n.touches[1]);else if(n.touches[0]);else if(!n.touches[0]){e.data.bgActivePosistion=void 0,e.redrawHint("select",!0);var h=e.dragData.touchDragEles;if(null!=r){var g=r._private.grabbed;p(h),e.redrawHint("drag",!0),e.redrawHint("eles",!0),g&&r.emit("free"),t(r,["touchend","tapend","vmouseup","tapdragout"],n,{position:{x:l[0],y:l[1]}}),r.unactivate(),e.touchData.start=null}else{var m=e.findNearestElement(l[0],l[1],!0,!0);t(m,["touchend","tapend","vmouseup","tapdragout"],n,{position:{x:l[0],y:l[1]}})}var v=e.touchData.startPosition[0]-l[0],b=v*v,y=e.touchData.startPosition[1]-l[1],x=(b+y*y)*s*s;null!=r&&!e.dragData.didDrag&&r._private.selectable&&x<e.touchTapThreshold2&&!e.pinching&&("single"===a.selectionType()?(a.$(":selected").unmerge(r).unselect(),r.select()):r.selected()?r.unselect():r.select(),e.redrawHint("eles",!0)),e.touchData.singleTouchMoved||t(r,["tap","vclick"],n,{position:{x:l[0],y:l[1]}}),e.touchData.singleTouchMoved=!0}for(var w=0;w<l.length;w++)c[w]=l[w];e.dragData.didDrag=!1,0===n.touches.length&&(e.touchData.dragDelta=[],e.touchData.startPosition=null,e.touchData.startGPosition=null),n.touches.length<2&&(e.pinching=!1,e.redrawHint("eles",!0),e.redraw())}},!1),"undefined"==typeof TouchEvent){var M=[],z=function(e){return{clientX:e.clientX,clientY:e.clientY,force:1,identifier:e.pointerId,pageX:e.pageX,pageY:e.pageY,radiusX:e.width/2,radiusY:e.height/2,screenX:e.screenX,screenY:e.screenY,target:e.target}},L=function(e){M.push(function(e){return{event:e,touch:z(e)}}(e))},q=function(e){for(var t=0;t<M.length;t++){if(M[t].event.pointerId===e.pointerId)return void M.splice(t,1)}},B=function(e){e.touches=M.map(function(e){return e.touch})},V=function(e){return"mouse"===e.pointerType||4===e.pointerType};e.registerBinding(e.container,"pointerdown",function(e){V(e)||(e.preventDefault(),L(e),B(e),P(e))}),e.registerBinding(e.container,"pointerup",function(e){V(e)||(q(e),B(e),D(e))}),e.registerBinding(e.container,"pointercancel",function(e){V(e)||(q(e),B(e),j())}),e.registerBinding(e.container,"pointermove",function(e){V(e)||(e.preventDefault(),function(e){var t=M.filter(function(t){return t.event.pointerId===e.pointerId})[0];t.event=e,t.touch=z(e)}(e),B(e),R(e))})}},e.exports=a},function(e,t,n){"use strict";var r=n(2),i={generatePolygon:function(e,t){return this.nodeShapes[e]={renderer:this,name:e,points:t,draw:function(e,t,n,r,i){this.renderer.nodeShapeImpl("polygon",e,t,n,r,i,this.points)},intersectLine:function(e,t,n,i,o,a,s){return r.polygonIntersectLine(o,a,this.points,e,t,n/2,i/2,s)},checkPoint:function(e,t,n,i,o,a,s){return r.pointInsidePolygon(e,t,this.points,a,s,i,o,[0,-1],n)}}},generateEllipse:function(){return this.nodeShapes.ellipse={renderer:this,name:"ellipse",draw:function(e,t,n,r,i){this.renderer.nodeShapeImpl(this.name,e,t,n,r,i)},intersectLine:function(e,t,n,i,o,a,s){return r.intersectLineEllipse(o,a,e,t,n/2+s,i/2+s)},checkPoint:function(e,t,n,i,o,a,s){return r.checkInEllipse(e,t,i,o,a,s,n)}}},generateRoundRectangle:function(){return this.nodeShapes.roundrectangle={renderer:this,name:"roundrectangle",points:r.generateUnitNgonPointsFitToSquare(4,0),draw:function(e,t,n,r,i){this.renderer.nodeShapeImpl(this.name,e,t,n,r,i)},intersectLine:function(e,t,n,i,o,a,s){return r.roundRectangleIntersectLine(o,a,e,t,n,i,s)},checkPoint:function(e,t,n,i,o,a,s){var l=r.getRoundRectangleRadius(i,o),c=2*l;return!!r.pointInsidePolygon(e,t,this.points,a,s,i,o-c,[0,-1],n)||(!!r.pointInsidePolygon(e,t,this.points,a,s,i-c,o,[0,-1],n)||(!!r.checkInEllipse(e,t,c,c,a-i/2+l,s-o/2+l,n)||(!!r.checkInEllipse(e,t,c,c,a+i/2-l,s-o/2+l,n)||(!!r.checkInEllipse(e,t,c,c,a+i/2-l,s+o/2-l,n)||!!r.checkInEllipse(e,t,c,c,a-i/2+l,s+o/2-l,n)))))}}},generateCutRectangle:function(){return this.nodeShapes.cutrectangle={renderer:this,name:"cutrectangle",cornerLength:r.getCutRectangleCornerLength(),points:r.generateUnitNgonPointsFitToSquare(4,0),draw:function(e,t,n,r,i){this.renderer.nodeShapeImpl(this.name,e,t,n,r,i)},generateCutTrianglePts:function(e,t,n,r){var i=this.cornerLength,o=t/2,a=e/2,s=n-a,l=n+a,c=r-o,u=r+o;return{topLeft:[s,c+i,s+i,c,s+i,c+i],topRight:[l-i,c,l,c+i,l-i,c+i],bottomRight:[l,u-i,l-i,u,l-i,u-i],bottomLeft:[s+i,u,s,u-i,s+i,u-i]}},intersectLine:function(e,t,n,i,o,a,s){var l=this.generateCutTrianglePts(n+2*s,i+2*s,e,t),c=[].concat.apply([],[l.topLeft.splice(0,4),l.topRight.splice(0,4),l.bottomRight.splice(0,4),l.bottomLeft.splice(0,4)]);return r.polygonIntersectLine(o,a,c,e,t)},checkPoint:function(e,t,n,i,o,a,s){if(r.pointInsidePolygon(e,t,this.points,a,s,i,o-2*this.cornerLength,[0,-1],n))return!0;if(r.pointInsidePolygon(e,t,this.points,a,s,i-2*this.cornerLength,o,[0,-1],n))return!0;var l=this.generateCutTrianglePts(i,o,a,s);return r.pointInsidePolygonPoints(e,t,l.topLeft)||r.pointInsidePolygonPoints(e,t,l.topRight)||r.pointInsidePolygonPoints(e,t,l.bottomRight)||r.pointInsidePolygonPoints(e,t,l.bottomLeft)}}},generateBarrel:function(){return this.nodeShapes.barrel={renderer:this,name:"barrel",points:r.generateUnitNgonPointsFitToSquare(4,0),draw:function(e,t,n,r,i){this.renderer.nodeShapeImpl(this.name,e,t,n,r,i)},intersectLine:function(e,t,n,i,o,a,s){var l=this.generateBarrelBezierPts(n+2*s,i+2*s,e,t),c=function(e){var t=r.qbezierPtAt({x:e[0],y:e[1]},{x:e[2],y:e[3]},{x:e[4],y:e[5]},.15),n=r.qbezierPtAt({x:e[0],y:e[1]},{x:e[2],y:e[3]},{x:e[4],y:e[5]},.5),i=r.qbezierPtAt({x:e[0],y:e[1]},{x:e[2],y:e[3]},{x:e[4],y:e[5]},.85);return[e[0],e[1],t.x,t.y,n.x,n.y,i.x,i.y,e[4],e[5]]},u=[].concat(c(l.topLeft),c(l.topRight),c(l.bottomRight),c(l.bottomLeft));return r.polygonIntersectLine(o,a,u,e,t)},generateBarrelBezierPts:function(e,t,n,i){var o=t/2,a=e/2,s=n-a,l=n+a,c=i-o,u=i+o,d=r.getBarrelCurveConstants(e,t),p=d.heightOffset,f=d.widthOffset,h=d.ctrlPtOffsetPct*e,g={topLeft:[s,c+p,s+h,c,s+f,c],topRight:[l-f,c,l-h,c,l,c+p],bottomRight:[l,u-p,l-h,u,l-f,u],bottomLeft:[s+f,u,s+h,u,s,u-p]};return g.topLeft.isTop=!0,g.topRight.isTop=!0,g.bottomLeft.isBottom=!0,g.bottomRight.isBottom=!0,g},checkPoint:function(e,t,n,i,o,a,s){var l=r.getBarrelCurveConstants(i,o),c=l.heightOffset,u=l.widthOffset;if(r.pointInsidePolygon(e,t,this.points,a,s,i,o-2*c,[0,-1],n))return!0;if(r.pointInsidePolygon(e,t,this.points,a,s,i-2*u,o,[0,-1],n))return!0;for(var d=this.generateBarrelBezierPts(i,o,a,s),p=function(e,t,n){var i=n[4],o=n[2],a=n[0],s=n[5],l=n[1],c=Math.min(i,a),u=Math.max(i,a),d=Math.min(s,l),p=Math.max(s,l);if(c<=e&&e<=u&&d<=t&&t<=p){var f=r.bezierPtsToQuadCoeff(i,o,a),h=r.solveQuadratic(f[0],f[1],f[2],e).filter(function(e){return 0<=e&&e<=1});if(h.length>0)return h[0]}return null},f=Object.keys(d),h=0;h<f.length;h++){var g=d[f[h]],m=p(e,t,g);if(null!=m){var v=g[5],b=g[3],y=g[1],x=r.qbezierAt(v,b,y,m);if(g.isTop&&x<=t)return!0;if(g.isBottom&&t<=x)return!0}}return!1}}},generateBottomRoundrectangle:function(){return this.nodeShapes.bottomroundrectangle={renderer:this,name:"bottomroundrectangle",points:r.generateUnitNgonPointsFitToSquare(4,0),draw:function(e,t,n,r,i){this.renderer.nodeShapeImpl(this.name,e,t,n,r,i)},intersectLine:function(e,t,n,i,o,a,s){var l=e-(n/2+s),c=t-(i/2+s),u=c,d=e+(n/2+s),p=r.finiteLinesIntersect(o,a,e,t,l,c,d,u,!1);return p.length>0?p:r.roundRectangleIntersectLine(o,a,e,t,n,i,s)},checkPoint:function(e,t,n,i,o,a,s){var l=r.getRoundRectangleRadius(i,o),c=2*l;if(r.pointInsidePolygon(e,t,this.points,a,s,i,o-c,[0,-1],n))return!0;if(r.pointInsidePolygon(e,t,this.points,a,s,i-c,o,[0,-1],n))return!0;var u=i/2+2*n,d=o/2+2*n,p=[a-u,s-d,a-u,s,a+u,s,a+u,s-d];return!!r.pointInsidePolygonPoints(e,t,p)||(!!r.checkInEllipse(e,t,c,c,a+i/2-l,s+o/2-l,n)||!!r.checkInEllipse(e,t,c,c,a-i/2+l,s+o/2-l,n))}}},registerNodeShapes:function(){var e=this.nodeShapes={},t=this;this.generateEllipse(),this.generatePolygon("triangle",r.generateUnitNgonPointsFitToSquare(3,0)),this.generatePolygon("rectangle",r.generateUnitNgonPointsFitToSquare(4,0)),e.square=e.rectangle,this.generateRoundRectangle(),this.generateCutRectangle(),this.generateBarrel(),this.generateBottomRoundrectangle(),this.generatePolygon("diamond",[0,1,1,0,0,-1,-1,0]),this.generatePolygon("pentagon",r.generateUnitNgonPointsFitToSquare(5,0)),this.generatePolygon("hexagon",r.generateUnitNgonPointsFitToSquare(6,0)),this.generatePolygon("heptagon",r.generateUnitNgonPointsFitToSquare(7,0)),this.generatePolygon("octagon",r.generateUnitNgonPointsFitToSquare(8,0));var n=new Array(20),i=r.generateUnitNgonPoints(5,0),o=r.generateUnitNgonPoints(5,Math.PI/5),a=.5*(3-Math.sqrt(5));a*=1.57;for(var s=0;s<o.length/2;s++)o[2*s]*=a,o[2*s+1]*=a;for(s=0;s<5;s++)n[4*s]=i[2*s],n[4*s+1]=i[2*s+1],n[4*s+2]=o[2*s],n[4*s+3]=o[2*s+1];n=r.fitPolygonToSquare(n),this.generatePolygon("star",n),this.generatePolygon("vee",[-1,-1,0,-.333,1,-1,0,1]),this.generatePolygon("rhomboid",[-1,-1,.333,-1,1,1,-.333,1]),this.generatePolygon("concavehexagon",[-1,-.95,-.75,0,-1,.95,1,.95,.75,0,1,-.95]),this.generatePolygon("tag",[-1,-1,.25,-1,1,0,.25,1,-1,1]),e.makePolygon=function(e){var n,r="polygon-"+e.join("$");return(n=this[r])?n:t.generatePolygon(r,e)}}};e.exports=i},function(e,t,n){"use strict";var r=n(1),i={timeToRender:function(){return this.redrawTotalTime/this.redrawCount},redraw:function(e){e=e||r.staticEmptyObject();var t=this;void 0===t.averageRedrawTime&&(t.averageRedrawTime=0),void 0===t.lastRedrawTime&&(t.lastRedrawTime=0),void 0===t.lastDrawTime&&(t.lastDrawTime=0),t.requestedFrame=!0,t.renderOptions=e},beforeRender:function(e,t){if(!this.destroyed){t=t||0;var n=this.beforeRenderCallbacks;n.push({fn:e,priority:t}),n.sort(function(e,t){return t.priority-e.priority})}}},o=function(e,t,n){for(var r=e.beforeRenderCallbacks,i=0;i<r.length;i++)r[i].fn(t,n)};i.startRenderLoop=function(){var e=this;if(!e.renderLoopStarted){e.renderLoopStarted=!0;r.requestAnimationFrame(function t(n){if(!e.destroyed){if(e.requestedFrame&&!e.skipFrame){o(e,!0,n);var i=r.performanceNow();e.render(e.renderOptions);var a=e.lastDrawTime=r.performanceNow();void 0===e.averageRedrawTime&&(e.averageRedrawTime=a-i),void 0===e.redrawCount&&(e.redrawCount=0),e.redrawCount++,void 0===e.redrawTotalTime&&(e.redrawTotalTime=0);var s=a-i;e.redrawTotalTime+=s,e.lastRedrawTime=s,e.averageRedrawTime=e.averageRedrawTime/2+s/2,e.requestedFrame=!1}else o(e,!1,n);e.skipFrame=!1,r.requestAnimationFrame(t)}})}},e.exports=i},function(e,t,n){"use strict";var r=n(1),i=n(0),o=n(124),a=n(125),s=c,l=c.prototype;function c(e){var t=this;t.data={canvases:new Array(l.CANVAS_LAYERS),contexts:new Array(l.CANVAS_LAYERS),canvasNeedsRedraw:new Array(l.CANVAS_LAYERS),bufferCanvases:new Array(l.BUFFER_COUNT),bufferContexts:new Array(l.CANVAS_LAYERS)};var n="-webkit-tap-highlight-color: rgba(0,0,0,0);";t.data.canvasContainer=document.createElement("div");var r=t.data.canvasContainer.style;t.data.canvasContainer.setAttribute("style",n),r.position="relative",r.zIndex="0",r.overflow="hidden";var s=e.cy.container();s.appendChild(t.data.canvasContainer),(s.getAttribute("style")||"").indexOf(n)<0&&s.setAttribute("style",(s.getAttribute("style")||"")+n);for(var c=0;c<l.CANVAS_LAYERS;c++){var u=t.data.canvases[c]=document.createElement("canvas");t.data.contexts[c]=u.getContext("2d"),u.setAttribute("style","-webkit-user-select: none; -moz-user-select: -moz-none; user-select: none; -webkit-tap-highlight-color: rgba(0,0,0,0); outline-style: none;"+(i.ms()?" -ms-touch-action: none; touch-action: none; ":"")),u.style.position="absolute",u.setAttribute("data-id","layer"+c),u.style.zIndex=String(l.CANVAS_LAYERS-c),t.data.canvasContainer.appendChild(u),t.data.canvasNeedsRedraw[c]=!1}t.data.topCanvas=t.data.canvases[0],t.data.canvases[l.NODE].setAttribute("data-id","layer"+l.NODE+"-node"),t.data.canvases[l.SELECT_BOX].setAttribute("data-id","layer"+l.SELECT_BOX+"-selectbox"),t.data.canvases[l.DRAG].setAttribute("data-id","layer"+l.DRAG+"-drag");for(c=0;c<l.BUFFER_COUNT;c++)t.data.bufferCanvases[c]=document.createElement("canvas"),t.data.bufferContexts[c]=t.data.bufferCanvases[c].getContext("2d"),t.data.bufferCanvases[c].style.position="absolute",t.data.bufferCanvases[c].setAttribute("data-id","buffer"+c),t.data.bufferCanvases[c].style.zIndex=String(-c-1),t.data.bufferCanvases[c].style.visibility="hidden";t.pathsEnabled=!0,t.data.eleTxrCache=new o(t),t.data.lyrTxrCache=new a(t,t.data.eleTxrCache),t.onUpdateEleCalcs(function(e,n){for(var r=0;r<n.length;r++){var i=n[r],o=i._private.rstyle,a=o.dirtyEvents;if(i.isNode()&&a&&1===a.length&&a.position);else if(t.data.eleTxrCache.invalidateElement(i),i.isParent()&&a.style){var s=o.prevParentOpacity,l=i.pstyle("opacity").pfValue;if(o.prevParentOpacity=l,s!==l)for(var c=i.descendants(),u=0;u<c.length;u++)t.data.eleTxrCache.invalidateElement(c[u])}}n.length>0&&t.data.lyrTxrCache.invalidateElements(n)})}l.CANVAS_LAYERS=3,l.SELECT_BOX=0,l.DRAG=1,l.NODE=2,l.BUFFER_COUNT=3,l.TEXTURE_BUFFER=0,l.MOTIONBLUR_BUFFER_NODE=1,l.MOTIONBLUR_BUFFER_DRAG=2,l.redrawHint=function(e,t){var n=this;switch(e){case"eles":n.data.canvasNeedsRedraw[l.NODE]=t;break;case"drag":n.data.canvasNeedsRedraw[l.DRAG]=t;break;case"select":n.data.canvasNeedsRedraw[l.SELECT_BOX]=t}};var u="undefined"!=typeof Path2D;l.path2dEnabled=function(e){if(void 0===e)return this.pathsEnabled;this.pathsEnabled=!!e},l.usePaths=function(){return u&&this.pathsEnabled},[n(126),n(127),n(128),n(129),n(130),n(131),n(132),n(133),n(134),n(135)].forEach(function(e){r.extend(l,e)}),e.exports=s},function(e,t,n){"use strict";var r=n(2),i=n(1),o=n(9),a=n(19),s={dequeue:"dequeue",downscale:"downscale",highQuality:"highQuality"},l=function(e){this.renderer=e,this.onDequeues=[],this.setupDequeueing()},c=l.prototype;c.reasons=s,c.getTextureQueue=function(e){return this.eleImgCaches=this.eleImgCaches||{},this.eleImgCaches[e]=this.eleImgCaches[e]||[]},c.getRetiredTextureQueue=function(e){var t=this.eleImgCaches.retired=this.eleImgCaches.retired||{};return t[e]=t[e]||[]},c.getElementQueue=function(){return this.eleCacheQueue=this.eleCacheQueue||new o(function(e,t){return t.reqs-e.reqs})},c.getElementIdToQueue=function(){return this.eleIdToCacheQueue=this.eleIdToCacheQueue||{}},c.getElement=function(e,t,n,i,o){var a=this,l=this.renderer,c=e._private.rscratch,u=l.cy.zoom();if(0===t.w||0===t.h||!e.visible())return null;if(null==i&&(i=Math.ceil(r.log2(u*n))),i<-4)i=-4;else if(u>=3.99||i>2)return null;var d,p=Math.pow(2,i),f=t.h*p,h=t.w*p,g=c.imgCaches=c.imgCaches||{},m=g[i];if(m)return m;if(d=f<=25?25:f<=50?50:50*Math.ceil(f/50),f>1024||h>1024||e.isEdge()||e.isParent())return null;var v=a.getTextureQueue(d),b=v[v.length-2],y=function(){return a.recycleTexture(d,h)||a.addTexture(d,h)};b||(b=v[v.length-1]),b||(b=y()),b.width-b.usedWidth<h&&(b=y());for(var x,w=l.eleTextBiggerThanMin(e,p),k=function(e){return e&&e.scaledLabelShown===w},_=o&&o===s.dequeue,$=o&&o===s.highQuality,E=o&&o===s.downscale,S=i+1;S<=2;S++){if(O=g[S]){x=O;break}}var C=x&&x.level===i+1?x:null,T=function(){b.context.drawImage(C.texture.canvas,C.x,0,C.width,C.height,b.usedWidth,0,h,f)};if(b.context.setTransform(1,0,0,1,0,0),b.context.clearRect(b.usedWidth,0,h,d),k(C))T();else if(k(x)){if(!$)return a.queueElement(e,x.level-1),x;for(S=x.level;S>i;S--)C=a.getElement(e,t,n,S,s.downscale);T()}else{var A;if(!_&&!$&&!E)for(S=i-1;S>=-4;S--){var O;if(O=g[S]){A=O;break}}if(k(A))return a.queueElement(e,i),A;b.context.translate(b.usedWidth,0),b.context.scale(p,p),l.drawElement(b.context,e,t,w),b.context.scale(1/p,1/p),b.context.translate(-b.usedWidth,0)}return m=g[i]={ele:e,x:b.usedWidth,texture:b,level:i,scale:p,width:h,height:f,scaledLabelShown:w},b.usedWidth+=Math.ceil(h+8),b.eleCaches.push(m),a.checkTextureFullness(b),m},c.invalidateElement=function(e){var t=e._private.rscratch.imgCaches;if(t)for(var n=-4;n<=2;n++){var r=t[n];if(r){var o=r.texture;o.invalidatedWidth+=r.width,t[n]=null,i.removeFromArray(o.eleCaches,r),this.removeFromQueue(e),this.checkTextureUtility(o)}}},c.checkTextureUtility=function(e){e.invalidatedWidth>=.5*e.width&&this.retireTexture(e)},c.checkTextureFullness=function(e){var t=this.getTextureQueue(e.height);e.usedWidth/e.width>.8&&e.fullnessChecks>=10?i.removeFromArray(t,e):e.fullnessChecks++},c.retireTexture=function(e){var t=e.height,n=this.getTextureQueue(t);i.removeFromArray(n,e),e.retired=!0;for(var r=e.eleCaches,o=0;o<r.length;o++){var a=r[o],s=a.ele,l=a.level,c=s._private.rscratch.imgCaches;c&&(c[l]=null)}i.clearArray(r),this.getRetiredTextureQueue(t).push(e)},c.addTexture=function(e,t){var n={};return this.getTextureQueue(e).push(n),n.eleCaches=[],n.height=e,n.width=Math.max(1024,t),n.usedWidth=0,n.invalidatedWidth=0,n.fullnessChecks=0,n.canvas=document.createElement("canvas"),n.canvas.width=n.width,n.canvas.height=n.height,n.context=n.canvas.getContext("2d"),n},c.recycleTexture=function(e,t){for(var n=this.getTextureQueue(e),r=this.getRetiredTextureQueue(e),o=0;o<r.length;o++){var a=r[o];if(a.width>=t)return a.retired=!1,a.usedWidth=0,a.invalidatedWidth=0,a.fullnessChecks=0,i.clearArray(a.eleCaches),a.context.setTransform(1,0,0,1,0,0),a.context.clearRect(0,0,a.width,a.height),i.removeFromArray(r,a),n.push(a),a}},c.queueElement=function(e,t){var n=this.getElementQueue(),r=this.getElementIdToQueue(),i=e.id(),o=r[i];if(o)o.level=Math.max(o.level,t),o.reqs++,n.updateItem(o);else{var a={ele:e,level:t,reqs:1};n.push(a),r[i]=a}},c.dequeue=function(e){for(var t=this.getElementQueue(),n=this.getElementIdToQueue(),r=[],i=0;i<1&&t.size()>0;i++){var o=t.pop(),a=o.ele;if(null==a._private.rscratch.imgCaches[o.level]){n[a.id()]=null,r.push(o);var l=a.boundingBox();this.getElement(a,l,e,o.level,s.dequeue)}}return r},c.removeFromQueue=function(e){var t=this.getElementQueue(),n=this.getElementIdToQueue(),r=n[e.id()];null!=r&&(r.reqs=i.MAX_INT,t.updateItem(r),t.pop(),n[e.id()]=null)},c.onDequeue=function(e){this.onDequeues.push(e)},c.offDequeue=function(e){i.removeFromArray(this.onDequeues,e)},c.setupDequeueing=a.setupDequeueing({deqRedrawThreshold:100,deqCost:.15,deqAvgCost:.1,deqNoDrawCost:.9,deqFastCost:.9,deq:function(e,t,n){return e.dequeue(t,n)},onDeqd:function(e,t){for(var n=0;n<e.onDequeues.length;n++){(0,e.onDequeues[n])(t)}},shouldRedraw:function(e,t,n,i){for(var o=0;o<t.length;o++){var a=t[o].ele.boundingBox();if(r.boundingBoxesIntersect(a,i))return!0}return!1},priority:function(e){return e.renderer.beforeRenderPriorities.eleTxrDeq}}),e.exports=l},function(e,t,n){"use strict";var r=n(1),i=n(2),o=n(9),a=n(0),s=n(19),l=function(e,t){var n=this,i=n.renderer=e;n.layersByLevel={},n.firstGet=!0,n.lastInvalidationTime=r.performanceNow()-500,n.skipping=!1,i.beforeRender(function(e,t){t-n.lastInvalidationTime<=250?n.skipping=!0:n.skipping=!1});n.layersQueue=new o(function(e,t){return t.reqs-e.reqs}),n.eleTxrCache=t,n.setupEleCacheInvalidation(),n.setupDequeueing()},c=l.prototype,u=0,d=Math.pow(2,53)-1;function p(e,t){null!=e.imageSmoothingEnabled?e.imageSmoothingEnabled=t:(e.webkitImageSmoothingEnabled=t,e.mozImageSmoothingEnabled=t,e.msImageSmoothingEnabled=t)}c.makeLayer=function(e,t){var n=Math.pow(2,t),r=Math.ceil(e.w*n),i=Math.ceil(e.h*n),o=document.createElement("canvas");o.width=r,o.height=i;var a={id:u=++u%d,bb:e,level:t,width:r,height:i,canvas:o,context:o.getContext("2d"),eles:[],elesQueue:[],reqs:0},s=a.context,l=-a.bb.x1,c=-a.bb.y1;return s.scale(n,n),s.translate(l,c),a},c.getLayers=function(e,t,n){var o=this,a=o.renderer.cy.zoom(),s=o.firstGet;if(o.firstGet=!1,null==n)if((n=Math.ceil(i.log2(a*t)))<-4)n=-4;else if(a>=3.99||n>2)return null;o.validateLayersElesOrdering(n,e);var l,c,u=o.layersByLevel,d=Math.pow(2,n),p=u[n]=u[n]||[];if(o.levelIsComplete(n,e))return p;!function(){var t=function(t){if(o.validateLayersElesOrdering(t,e),o.levelIsComplete(t,e))return c=u[t],!0},i=function(e){if(!c)for(var r=n+e;-4<=r&&r<=2&&!t(r);r+=e);};i(1),i(-1);for(var a=p.length-1;a>=0;a--){var s=p[a];s.invalid&&r.removeFromArray(p,s)}}();var f=function(t){var r=(t=t||{}).after;if(function(){if(!l){l=i.makeBoundingBox();for(var t=0;t<e.length;t++)i.updateBoundingBox(l,e[t].boundingBox())}}(),l.w*d*(l.h*d)>16e6)return null;var a=o.makeLayer(l,n);if(null!=r){var s=p.indexOf(r)+1;p.splice(s,0,a)}else(void 0===t.insert||t.insert)&&p.unshift(a);return a};if(o.skipping&&!s)return null;for(var h=null,g=e.length/1,m=!s,v=0;v<e.length;v++){var b=e[v],y=b._private.rscratch,x=y.imgLayerCaches=y.imgLayerCaches||{},w=x[n];if(w)h=w;else{if((!h||h.eles.length>=g||!i.boundingBoxInBoundingBox(h.bb,b.boundingBox()))&&!(h=f({insert:!0,after:h})))return null;c||m?o.queueLayer(h,b):o.drawEleInLayer(h,b,n,t),h.eles.push(b),x[n]=h}}return c||(m?null:p)},c.getEleLevelForLayerLevel=function(e,t){return e},c.drawEleInLayer=function(e,t,n,r){var i=this.renderer,o=e.context,a=t.boundingBox();if(0!==a.w&&0!==a.h&&t.visible()){var s=this.eleTxrCache,l=s.reasons.highQuality;n=this.getEleLevelForLayerLevel(n,r);var c=s.getElement(t,a,null,n,l);c?(p(o,!1),o.drawImage(c.texture.canvas,c.x,0,c.width,c.height,a.x1,a.y1,a.w,a.h),p(o,!0)):i.drawElement(o,t)}},c.levelIsComplete=function(e,t){var n=this.layersByLevel[e];if(!n||0===n.length)return!1;for(var r=0,i=0;i<n.length;i++){var o=n[i];if(o.reqs>0)return!1;if(o.invalid)return!1;r+=o.eles.length}return r===t.length},c.validateLayersElesOrdering=function(e,t){var n=this.layersByLevel[e];if(n)for(var r=0;r<n.length;r++){for(var i=n[r],o=-1,a=0;a<t.length;a++)if(i.eles[0]===t[a]){o=a;break}if(o<0)this.invalidateLayer(i);else{var s=o;for(a=0;a<i.eles.length;a++)if(i.eles[a]!==t[s+a]){this.invalidateLayer(i);break}}}},c.updateElementsInLayers=function(e,t){for(var n=a.element(e[0]),r=0;r<e.length;r++)for(var i=n?null:e[r],o=n?e[r]:e[r].ele,s=o._private.rscratch,l=s.imgLayerCaches=s.imgLayerCaches||{},c=-4;c<=2;c++){var u=l[c];u&&(i&&this.getEleLevelForLayerLevel(u.level)!==i.level||t(u,o,i))}},c.haveLayers=function(){for(var e=!1,t=-4;t<=2;t++){var n=this.layersByLevel[t];if(n&&n.length>0){e=!0;break}}return e},c.invalidateElements=function(e){var t=this;t.lastInvalidationTime=r.performanceNow(),0!==e.length&&t.haveLayers()&&t.updateElementsInLayers(e,function(e,n,r){t.invalidateLayer(e)})},c.invalidateLayer=function(e){if(this.lastInvalidationTime=r.performanceNow(),!e.invalid){var t=e.level,n=e.eles,i=this.layersByLevel[t];r.removeFromArray(i,e),e.elesQueue=[],e.invalid=!0,e.replacement&&(e.replacement.invalid=!0);for(var o=0;o<n.length;o++){var a=n[o]._private.rscratch.imgLayerCaches;a&&(a[t]=null)}}},c.refineElementTextures=function(e){var t=this;t.updateElementsInLayers(e,function(e,n,r){var i=e.replacement;if(i||((i=e.replacement=t.makeLayer(e.bb,e.level)).replaces=e,i.eles=e.eles),!i.reqs)for(var o=0;o<i.eles.length;o++)t.queueLayer(i,i.eles[o])})},c.setupEleCacheInvalidation=function(){var e=this,t=[];var n=r.debounce(function(){e.refineElementTextures(t),t=[]},50);e.eleTxrCache.onDequeue(function(e){for(var r=0;r<e.length;r++)t.push(e[r]);n()})},c.queueLayer=function(e,t){var n=this.layersQueue,r=e.elesQueue,i=r.hasId=r.hasId||{};if(!e.replacement){if(t){if(i[t.id()])return;r.push(t),i[t.id()]=!0}e.reqs?(e.reqs++,n.updateItem(e)):(e.reqs=1,n.push(e))}},c.dequeue=function(e){for(var t=this.layersQueue,n=[],r=0;r<1&&0!==t.size();){var i=t.peek();if(i.replacement)t.pop();else if(i.replaces&&i!==i.replaces.replacement)t.pop();else if(i.invalid)t.pop();else{var o=i.elesQueue.shift();o&&(this.drawEleInLayer(i,o,i.level,e),r++),0===n.length&&n.push(!0),0===i.elesQueue.length&&(t.pop(),i.reqs=0,i.replaces&&this.applyLayerReplacement(i),this.requestRedraw())}}return n},c.applyLayerReplacement=function(e){var t=this.layersByLevel[e.level],n=e.replaces,r=t.indexOf(n);if(!(r<0||n.invalid)){t[r]=e;for(var i=0;i<e.eles.length;i++){var o=e.eles[i]._private,a=o.imgLayerCaches=o.imgLayerCaches||{};a&&(a[e.level]=e)}this.requestRedraw()}},c.requestRedraw=r.debounce(function(){var e=this.renderer;e.redrawHint("eles",!0),e.redrawHint("drag",!0),e.redraw()},100),c.setupDequeueing=s.setupDequeueing({deqRedrawThreshold:50,deqCost:.15,deqAvgCost:.1,deqNoDrawCost:.9,deqFastCost:.9,deq:function(e,t){return e.dequeue(t)},onDeqd:r.noop,shouldRedraw:r.trueify,priority:function(e){return e.renderer.beforeRenderPriorities.lyrTxrDeq}}),e.exports=l},function(e,t,n){"use strict";var r,i={};i.arrowShapeImpl=function(e){return(r||(r={polygon:function(e,t){for(var n=0;n<t.length;n++){var r=t[n];e.lineTo(r.x,r.y)}},"triangle-backcurve":function(e,t,n){for(var r,i=0;i<t.length;i++){var o=t[i];0===i&&(r=o),e.lineTo(o.x,o.y)}e.quadraticCurveTo(n.x,n.y,r.x,r.y)},"triangle-tee":function(e,t,n){e.beginPath&&e.beginPath();for(var r=t,i=0;i<r.length;i++){var o=r[i];e.lineTo(o.x,o.y)}e.closePath&&e.closePath(),e.beginPath&&e.beginPath();var a=n,s=n[0];e.moveTo(s.x,s.y);for(i=0;i<a.length;i++){o=a[i];e.lineTo(o.x,o.y)}e.closePath&&e.closePath()},"triangle-cross":function(e,t,n){e.beginPath&&e.beginPath();for(var r=t,i=0;i<r.length;i++){var o=r[i];e.lineTo(o.x,o.y)}e.closePath&&e.closePath(),e.beginPath&&e.beginPath();var a=n,s=n[0];e.moveTo(s.x,s.y);for(i=0;i<a.length;i++){o=a[i];e.lineTo(o.x,o.y)}e.closePath&&e.closePath()},circle:function(e,t,n,r){e.arc(t,n,r,0,2*Math.PI,!1)}}))[e]},e.exports=i},function(e,t,n){"use strict";var r=n(2),i={drawElement:function(e,t,n,r){t.isNode()?this.drawNode(e,t,n,r):this.drawEdge(e,t,n,r)},drawCachedElement:function(e,t,n,i){var o=t.boundingBox();if(0!==o.w&&0!==o.h&&(!i||r.boundingBoxesIntersect(o,i))){var a=this.data.eleTxrCache.getElement(t,o,n);null!=a?e.drawImage(a.texture.canvas,a.x,0,a.width,a.height,o.x1,o.y1,o.w,o.h):this.drawElement(e,t)}},drawElements:function(e,t){for(var n=0;n<t.length;n++){var r=t[n];this.drawElement(e,r)}},drawCachedElements:function(e,t,n,r){for(var i=0;i<t.length;i++){var o=t[i];this.drawCachedElement(e,o,n,r)}},drawCachedNodes:function(e,t,n,r){for(var i=0;i<t.length;i++){var o=t[i];o.isNode()&&this.drawCachedElement(e,o,n,r)}},drawLayeredElements:function(e,t,n,r){var i=this.data.lyrTxrCache.getLayers(t,n);if(i)for(var o=0;o<i.length;o++){var a=i[o],s=a.bb;0!==s.w&&0!==s.h&&e.drawImage(a.canvas,s.x1,s.y1,s.w,s.h)}else this.drawCachedElements(e,t,n,r)},drawDebugPoints:function(e,t){for(var n=function(t,n,r){e.fillStyle=r,e.fillRect(t-1,n-1,3,3)},r=0;r<t.length;r++){var i=t[r],o=i._private.rscratch;if(i.isNode()){var a=i.position();n(a.x,a.y,"magenta")}else{for(var s=o.allpts,l=0;l+1<s.length;l+=2){n(s[l],s[l+1],"cyan")}n(o.midX,o.midY,"yellow")}}}};e.exports=i},function(e,t,n){"use strict";var r={drawEdge:function(e,t,n,r){var i=this,o=t._private.rscratch,a=i.usePaths();if(t.visible()&&!o.badLine&&null!=o.allpts&&!isNaN(o.allpts[0])){var s=void 0;n&&(s=n,e.translate(-s.x1,-s.y1));var l=2*t.pstyle("overlay-padding").pfValue,c=t.pstyle("overlay-opacity").value,u=t.pstyle("overlay-color").value,d=t.pstyle("line-color").value,p=t.pstyle("opacity").value,f=t.pstyle("line-style").value,h=t.pstyle("width").pfValue,g=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:p;e.lineWidth=h,e.lineCap="butt",i.strokeStyle(e,d[0],d[1],d[2],n),i.drawEdgePath(t,e,o.allpts,f)},m=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:p;i.drawArrowheads(e,t,n)};if(e.lineJoin="round","yes"===t.pstyle("ghost").value){var v=t.pstyle("ghost-offset-x").pfValue,b=t.pstyle("ghost-offset-y").pfValue,y=t.pstyle("ghost-opacity").value,x=p*y;e.translate(v,b),g(x),m(x),e.translate(-v,-b)}g(),m(),function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c;e.lineWidth=l,"self"!==o.edgeType||a?e.lineCap="round":e.lineCap="butt",i.strokeStyle(e,u[0],u[1],u[2],n),i.drawEdgePath(t,e,o.allpts,"solid")}(),i.drawElementText(e,t,r),n&&e.translate(s.x1,s.y1)}},drawEdgePath:function(e,t,n,r){var i=e._private.rscratch,o=t,a=void 0,s=!1,l=this.usePaths();if(l){var c=n.join("$");i.pathCacheKey&&i.pathCacheKey===c?(a=t=i.pathCache,s=!0):(a=t=new Path2D,i.pathCacheKey=c,i.pathCache=a)}if(o.setLineDash)switch(r){case"dotted":o.setLineDash([1,1]);break;case"dashed":o.setLineDash([6,3]);break;case"solid":o.setLineDash([])}if(!s&&!i.badLine)switch(t.beginPath&&t.beginPath(),t.moveTo(n[0],n[1]),i.edgeType){case"bezier":case"self":case"compound":case"multibezier":if(e.hasClass("horizontal")){var u=n[4],d=n[5],p=(n[0]+n[4])/2;t.lineTo(n[0]+10,n[1]),t.bezierCurveTo(p,n[1],p,n[5],n[4]-10,n[5]),t.lineTo(u,d)}else if(e.hasClass("vertical")){var f=n[4],h=n[5],g=(n[1]+n[5])/2;t.bezierCurveTo(n[0],g,n[4],g,n[4],n[5]-10),t.lineTo(f,h)}else for(var m=2;m+3<n.length;m+=4)t.quadraticCurveTo(n[m],n[m+1],n[m+2],n[m+3]);break;case"straight":case"segments":case"haystack":for(var v=2;v+1<n.length;v+=2)t.lineTo(n[v],n[v+1])}t=o,l?t.stroke(a):t.stroke(),t.setLineDash&&t.setLineDash([])},drawArrowheads:function(e,t,n){var r=t._private.rscratch,i="haystack"===r.edgeType;i||this.drawArrowhead(e,t,"source",r.arrowStartX,r.arrowStartY,r.srcArrowAngle,n),this.drawArrowhead(e,t,"mid-target",r.midX,r.midY,r.midtgtArrowAngle,n),this.drawArrowhead(e,t,"mid-source",r.midX,r.midY,r.midsrcArrowAngle,n),i||(t.hasClass("horizontal")?this.drawArrowhead(e,t,"target",r.arrowEndX,r.arrowEndY,-Math.PI/2,n):t.hasClass("vertical")?this.drawArrowhead(e,t,"target",r.arrowEndX,r.arrowEndY,0,n):this.drawArrowhead(e,t,"target",r.arrowEndX,r.arrowEndY,r.tgtArrowAngle,n))},drawArrowhead:function(e,t,n,r,i,o,a){if(!(isNaN(r)||null==r||isNaN(i)||null==i||isNaN(o)||null==o)){var s=t.pstyle(n+"-arrow-shape").value;if("none"!==s){var l="hollow"===t.pstyle(n+"-arrow-fill").value?"both":"filled",c=t.pstyle(n+"-arrow-fill").value,u=t.pstyle("width").pfValue,d=t.pstyle("opacity").value;void 0===a&&(a=d);var p=e.globalCompositeOperation;1===a&&"hollow"!==c||(e.globalCompositeOperation="destination-out",this.fillStyle(e,255,255,255,1),this.strokeStyle(e,255,255,255,1),this.drawArrowShape(t,n,e,l,u,s,r,i,o),e.globalCompositeOperation=p);var f=t.pstyle(n+"-arrow-color").value;this.fillStyle(e,f[0],f[1],f[2],a),this.strokeStyle(e,f[0],f[1],f[2],a),this.drawArrowShape(t,n,e,c,u,s,r,i,o)}}},drawArrowShape:function(e,t,n,r,i,o,a,s,l){var c=this.usePaths(),u=e._private.rscratch,d=!1,p=void 0,f=n,h={x:a,y:s},g=e.pstyle("arrow-scale").value,m=this.getArrowWidth(i,g),v=this.arrowShapes[o];if(c){var b=m+"$"+o+"$"+l+"$"+a+"$"+s;u.arrowPathCacheKey=u.arrowPathCacheKey||{},u.arrowPathCache=u.arrowPathCache||{},u.arrowPathCacheKey[t]===b?(p=n=u.arrowPathCache[t],d=!0):(p=n=new Path2D,u.arrowPathCacheKey[t]=b,u.arrowPathCache[t]=p)}n.beginPath&&n.beginPath(),d||v.draw(n,m,l,h,i),!v.leavePathOpen&&n.closePath&&n.closePath(),n=f,"filled"!==r&&"both"!==r||(c?n.fill(p):n.fill()),"hollow"!==r&&"both"!==r||(n.lineWidth=v.matchEdgeWidth?i:1,n.lineJoin="miter",c?n.stroke(p):n.stroke())}};e.exports=r},function(e,t,n){"use strict";var r={safeDrawImage:function(e,t,n,r,i,o,a,s,l,c){i<=0||o<=0||l<=0||c<=0||e.drawImage(t,n,r,i,o,a,s,l,c)},drawInscribedImage:function(e,t,n,r,i){var o=this,a=n.position(),s=a.x,l=a.y,c=n.cy().style(),u=c.getIndexedStyle.bind(c),d=u(n,"background-fit","value",r),p=u(n,"background-repeat","value",r),f=n.width(),h=n.height(),g=2*n.padding(),m=f+("inner"===u(n,"background-width-relative-to","value",r)?0:g),v=h+("inner"===u(n,"background-height-relative-to","value",r)?0:g),b=n._private.rscratch,y="node"===n.pstyle("background-clip").value,x=u(n,"background-image-opacity","value",r)*i,w=t.width||t.cachedW,k=t.height||t.cachedH;null!=w&&null!=k||(document.body.appendChild(t),w=t.cachedW=t.width||t.offsetWidth,k=t.cachedH=t.height||t.offsetHeight,document.body.removeChild(t));var _=w,$=k;if("auto"!==u(n,"background-width","value",r)&&(_="%"===u(n,"background-width","units",r)?u(n,"background-width","pfValue",r)*m:u(n,"background-width","pfValue",r)),"auto"!==u(n,"background-height","value",r)&&($="%"===u(n,"background-height","units",r)?u(n,"background-height","pfValue",r)*v:u(n,"background-height","pfValue",r)),0!==_&&0!==$){if("contain"===d)_*=E=Math.min(m/_,v/$),$*=E;else if("cover"===d){var E;_*=E=Math.max(m/_,v/$),$*=E}var S=s-m/2;"%"===u(n,"background-position-x","units",r)?S+=(m-_)*u(n,"background-position-x","pfValue",r):S+=u(n,"background-position-x","pfValue",r);var C=l-v/2;"%"===u(n,"background-position-y","units",r)?C+=(v-$)*u(n,"background-position-y","pfValue",r):C+=u(n,"background-position-y","pfValue",r),b.pathCache&&(S-=s,C-=l,s=0,l=0);var T=e.globalAlpha;if(e.globalAlpha=x,"no-repeat"===p)y&&(e.save(),b.pathCache?e.clip(b.pathCache):(o.nodeShapes[o.getNodeShape(n)].draw(e,s,l,m,v),e.clip())),o.safeDrawImage(e,t,0,0,w,k,S,C,_,$),y&&e.restore();else{var A=e.createPattern(t,p);e.fillStyle=A,o.nodeShapes[o.getNodeShape(n)].draw(e,s,l,m,v),e.translate(S,C),e.fill(),e.translate(-S,-C)}e.globalAlpha=T}}};e.exports=r},function(e,t,n){"use strict";var r=n(1),i=n(2),o={};o.eleTextBiggerThanMin=function(e,t){if(!t){var n=e.cy().zoom(),r=this.getPixelRatio(),o=Math.ceil(i.log2(n*r));t=Math.pow(2,o)}return!(e.pstyle("font-size").pfValue*t<e.pstyle("min-zoomed-font-size").pfValue)},o.drawElementText=function(e,t,n){var r=this;if(void 0===n){if(!r.eleTextBiggerThanMin(t))return}else if(!n)return;if(t.isNode()){if(!(o=t.pstyle("label"))||!o.value)return;var i=t.pstyle("text-halign").strValue;t.pstyle("text-valign").strValue;switch(i){case"left":e.textAlign="right";break;case"right":e.textAlign="left";break;default:e.textAlign="center"}e.textBaseline="bottom"}else{var o=t.pstyle("label"),a=t.pstyle("source-label"),s=t.pstyle("target-label");if(!(o&&o.value||a&&a.value||s&&s.value))return;e.textAlign="center",e.textBaseline="bottom"}r.drawText(e,t),t.isEdge()&&(r.drawText(e,t,"source"),r.drawText(e,t,"target"))},o.drawNodeText=o.drawEdgeText=o.drawElementText,o.getFontCache=function(e){var t;this.fontCaches=this.fontCaches||[];for(var n=0;n<this.fontCaches.length;n++)if((t=this.fontCaches[n]).context===e)return t;return t={context:e},this.fontCaches.push(t),t},o.setupTextStyle=function(e,t){var n=t.effectiveOpacity(),r=t.pstyle("font-style").strValue,i=t.pstyle("font-size").pfValue+"px",o=t.pstyle("font-family").strValue,a=t.pstyle("font-weight").strValue,s=t.pstyle("text-opacity").value*t.pstyle("opacity").value*n,l=t.pstyle("text-outline-opacity").value*s,c=t.pstyle("color").value,u=t.pstyle("text-outline-color").value,d=t._private.fontKey,p=this.getFontCache(e);p.key!==d&&(e.font=r+" "+a+" "+i+" "+o,p.key=d),e.lineJoin="round",this.fillStyle(e,c[0],c[1],c[2],s),this.strokeStyle(e,u[0],u[1],u[2],l)},o.drawText=function(e,t,n){var i=t._private.rscratch,o=t.effectiveOpacity();if(0!==o&&0!==t.pstyle("text-opacity").value){var a=r.getPrefixedProperty(i,"labelX",n),s=r.getPrefixedProperty(i,"labelY",n),l=this.getLabelText(t,n);if(null!=l&&""!==l&&!isNaN(a)&&!isNaN(s)){this.setupTextStyle(e,t);var c=n?n+"-":"",u=r.getPrefixedProperty(i,"labelWidth",n),d=r.getPrefixedProperty(i,"labelHeight",n),p=r.getPrefixedProperty(i,"labelAngle",n),f=t.pstyle(c+"text-margin-x").pfValue,h=t.pstyle(c+"text-margin-y").pfValue,g=t.isEdge(),m=(t.isNode(),t.pstyle("text-halign").value),v=t.pstyle("text-valign").value;g&&(m="center",v="center"),a+=f,s+=h;var b,y=t.pstyle("text-rotation");if(0!==(b="autorotate"===y.strValue?g?p:0:"none"===y.strValue?0:y.pfValue)){var x=a,w=s;e.translate(x,w),e.rotate(b),a=0,s=0}switch(v){case"top":break;case"center":s+=d/2;break;case"bottom":s+=d}var k=t.pstyle("text-background-opacity").value,_=t.pstyle("text-border-opacity").value,$=t.pstyle("text-border-width").pfValue,E=t.pstyle("text-background-padding").pfValue;if(k>0||$>0&&_>0){var S=a-E;switch(m){case"left":S-=u;break;case"center":S-=u/2}var C=s-d-E,T=u+2*E,A=d+2*E;if(k>0){var O=e.fillStyle,P=t.pstyle("text-background-color").value;e.fillStyle="rgba("+P[0]+","+P[1]+","+P[2]+","+k*o+")","roundrectangle"==t.pstyle("text-background-shape").strValue?function(e,t,n,r,i,o){o=o||5,e.beginPath(),e.moveTo(t+o,n),e.lineTo(t+r-o,n),e.quadraticCurveTo(t+r,n,t+r,n+o),e.lineTo(t+r,n+i-o),e.quadraticCurveTo(t+r,n+i,t+r-o,n+i),e.lineTo(t+o,n+i),e.quadraticCurveTo(t,n+i,t,n+i-o),e.lineTo(t,n+o),e.quadraticCurveTo(t,n,t+o,n),e.closePath(),e.fill()}(e,S,C,T,A,2):e.fillRect(S,C,T,A),e.fillStyle=O}if($>0&&_>0){var R=e.strokeStyle,j=e.lineWidth,D=t.pstyle("text-border-color").value,N=t.pstyle("text-border-style").value;if(e.strokeStyle="rgba("+D[0]+","+D[1]+","+D[2]+","+_*o+")",e.lineWidth=$,e.setLineDash)switch(N){case"dotted":e.setLineDash([1,1]);break;case"dashed":e.setLineDash([4,2]);break;case"double":e.lineWidth=$/4,e.setLineDash([]);break;case"solid":e.setLineDash([])}if(e.strokeRect(S,C,T,A),"double"===N){var I=$/2;e.strokeRect(S+I,C+I,T-2*I,A-2*I)}e.setLineDash&&e.setLineDash([]),e.lineWidth=j,e.strokeStyle=R}}var M=2*t.pstyle("text-outline-width").pfValue;if(M>0&&(e.lineWidth=M),"wrap"===t.pstyle("text-wrap").value){var z=r.getPrefixedProperty(i,"labelWrapCachedLines",n),L=d/z.length;switch(v){case"top":s-=(z.length-1)*L;break;case"center":case"bottom":s-=(z.length-1)*L}for(var q=0;q<z.length;q++)M>0&&e.strokeText(z[q],a,s),e.fillText(z[q],a,s),s+=L}else M>0&&e.strokeText(l,a,s),e.fillText(l,a,s);0!==b&&(e.rotate(-b),e.translate(-x,-w))}}},e.exports=o},function(e,t,n){"use strict";var r=n(0),i={drawNode:function(e,t,n,i){var o,a,s=this,l=t._private,c=l.rscratch,u=t.position();if(r.number(u.x)&&r.number(u.y)&&t.visible()){var d=t.effectiveOpacity(),p=s.usePaths(),f=void 0,h=!1,g=t.padding();o=t.width()+2*g,a=t.height()+2*g;var m=void 0;n&&(m=n,e.translate(-m.x1,-m.y1));for(var v=t.pstyle("background-image").value,b=new Array(v.length),y=new Array(v.length),x=0,w=0;w<v.length;w++){var k=v[w];if(b[w]=null!=k&&"none"!==k){var _=t.cy().style().getIndexedStyle(t,"background-image-crossorigin","value",w);x++,y[w]=s.getCachedImage(k,_,function(){t.emitAndNotify("background")})}}var $=t.pstyle("background-blacken").value,E=t.pstyle("border-width").pfValue,S=t.pstyle("background-color").value,C=t.pstyle("background-opacity").value*d,T=t.pstyle("border-color").value,A=t.pstyle("border-style").value,O=t.pstyle("border-opacity").value*d;e.lineJoin="miter";var P=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:C;s.fillStyle(e,S[0],S[1],S[2],t)},R=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:O;s.strokeStyle(e,T[0],T[1],T[2],t)},j=t.pstyle("shape").strValue,D=t.pstyle("shape-polygon-points").pfValue;if(p){var N=j+"$"+o+"$"+a+("polygon"===j?"$"+D.join("$"):"");e.translate(u.x,u.y),c.pathCacheKey===N?(f=c.pathCache,h=!0):(f=new Path2D,c.pathCacheKey=N,c.pathCache=f)}var I=function(){if(!h){var n=u;p&&(n={x:0,y:0}),s.nodeShapes[s.getNodeShape(t)].draw(f||e,n.x,n.y,o,a)}p?e.fill(f):e.fill()},M=function(){for(var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:d,r=l.backgrounding,i=0,o=0;o<y.length;o++)b[o]&&y[o].complete&&!y[o].error&&(i++,s.drawInscribedImage(e,y[o],t,o,n));l.backgrounding=!(i===x),r!==l.backgrounding&&t.updateStyle(!1)},z=function(){var n=arguments.length>0&&void 0!==arguments[0]&&arguments[0],r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:d;s.hasPie(t)&&(s.drawPie(e,t,r),n&&(p||s.nodeShapes[s.getNodeShape(t)].draw(e,u.x,u.y,o,a)))},L=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:d,n=($>0?$:-$)*t,r=$>0?0:255;0!==$&&(s.fillStyle(e,r,r,r,n),p?e.fill(f):e.fill())},q=function(){if(E>0){if(e.lineWidth=E,e.lineCap="butt",e.setLineDash)switch(A){case"dotted":e.setLineDash([1,1]);break;case"dashed":e.setLineDash([4,2]);break;case"solid":case"double":e.setLineDash([])}if(p?e.stroke(f):e.stroke(),"double"===A){e.lineWidth=E/3;var t=e.globalCompositeOperation;e.globalCompositeOperation="destination-out",p?e.stroke(f):e.stroke(),e.globalCompositeOperation=t}e.setLineDash&&e.setLineDash([])}};if("yes"===t.pstyle("ghost").value){var B=t.pstyle("ghost-offset-x").pfValue,V=t.pstyle("ghost-offset-y").pfValue,F=t.pstyle("ghost-opacity").value,U=F*d;e.translate(B,V),P(F*C),I(),M(U),z(0!==$||0!==E),L(U),R(F*O),q(),e.translate(-B,-V)}P(),I(),M(),z(0!==$||0!==E),L(),R(),q(),p&&e.translate(-u.x,-u.y),s.drawElementText(e,t,i),function(){var n=t.pstyle("overlay-padding").pfValue,r=t.pstyle("overlay-opacity").value,i=t.pstyle("overlay-color").value;r>0&&(s.fillStyle(e,i[0],i[1],i[2],r),s.nodeShapes.roundrectangle.draw(e,u.x,u.y,o+2*n,a+2*n),e.fill())}(),n&&e.translate(m.x1,m.y1)}},hasPie:function(e){return(e=e[0])._private.hasPie},drawPie:function(e,t,n,r){t=t[0],r=r||t.position();var i=t.cy().style(),o=t.pstyle("pie-size"),a=r.x,s=r.y,l=t.width(),c=t.height(),u=Math.min(l,c)/2,d=0;this.usePaths()&&(a=0,s=0),"%"===o.units?u*=o.pfValue:void 0!==o.pfValue&&(u=o.pfValue/2);for(var p=1;p<=i.pieBackgroundN;p++){var f=t.pstyle("pie-"+p+"-background-size").value,h=t.pstyle("pie-"+p+"-background-color").value,g=t.pstyle("pie-"+p+"-background-opacity").value*n,m=f/100;m+d>1&&(m=1-d);var v=1.5*Math.PI+2*Math.PI*d,b=v+2*Math.PI*m;0===f||d>=1||d+m>1||(e.beginPath(),e.moveTo(a,s),e.arc(a,s,u,v,b),e.closePath(),this.fillStyle(e,h[0],h[1],h[2],g),e.fill(),d+=m)}}};e.exports=i},function(e,t,n){"use strict";var r={},i=n(1);r.getPixelRatio=function(){var e=this.data.contexts[0];if(null!=this.forcedPixelRatio)return this.forcedPixelRatio;var t=e.backingStorePixelRatio||e.webkitBackingStorePixelRatio||e.mozBackingStorePixelRatio||e.msBackingStorePixelRatio||e.oBackingStorePixelRatio||e.backingStorePixelRatio||1;return(window.devicePixelRatio||1)/t},r.paintCache=function(e){for(var t,n=this.paintCaches=this.paintCaches||[],r=!0,i=0;i<n.length;i++)if((t=n[i]).context===e){r=!1;break}return r&&(t={context:e},n.push(t)),t},r.fillStyle=function(e,t,n,r,i){e.fillStyle="rgba("+t+","+n+","+r+","+i+")"},r.strokeStyle=function(e,t,n,r,i){e.strokeStyle="rgba("+t+","+n+","+r+","+i+")"},r.matchCanvasSize=function(e){var t=this,n=t.data,r=t.findContainerClientCoords(),i=r[2],o=r[3],a=t.getPixelRatio(),s=t.motionBlurPxRatio;e!==t.data.bufferCanvases[t.MOTIONBLUR_BUFFER_NODE]&&e!==t.data.bufferCanvases[t.MOTIONBLUR_BUFFER_DRAG]||(a=s);var l,c=i*a,u=o*a;if(c!==t.canvasWidth||u!==t.canvasHeight){t.fontCaches=null;var d=n.canvasContainer;d.style.width=i+"px",d.style.height=o+"px";for(var p=0;p<t.CANVAS_LAYERS;p++)(l=n.canvases[p]).width=c,l.height=u,l.style.width=i+"px",l.style.height=o+"px";for(p=0;p<t.BUFFER_COUNT;p++)(l=n.bufferCanvases[p]).width=c,l.height=u,l.style.width=i+"px",l.style.height=o+"px";t.textureMult=1,a<=1&&(l=n.bufferCanvases[t.TEXTURE_BUFFER],t.textureMult=2,l.width=c*t.textureMult,l.height=u*t.textureMult),t.canvasWidth=c,t.canvasHeight=u}},r.renderTo=function(e,t,n,r){this.render({forcedContext:e,forcedZoom:t,forcedPan:n,drawAllLayers:!0,forcedPxRatio:r})},r.render=function(e){var t=(e=e||i.staticEmptyObject()).forcedContext,n=e.drawAllLayers,r=e.drawOnlyNodeLayer,o=e.forcedZoom,a=e.forcedPan,s=this,l=void 0===e.forcedPxRatio?this.getPixelRatio():e.forcedPxRatio,c=s.cy,u=s.data,d=u.canvasNeedsRedraw,p=s.textureOnViewport&&!t&&(s.pinching||s.hoverData.dragging||s.swipePanning||s.data.wheelZooming),f=void 0!==e.motionBlur?e.motionBlur:s.motionBlur,h=s.motionBlurPxRatio,g=c.hasCompoundNodes(),m=s.hoverData.draggingEles,v=!(!s.hoverData.selecting&&!s.touchData.selecting),b=f=f&&!t&&s.motionBlurEnabled&&!v;t||(s.prevPxRatio!==l&&(s.invalidateContainerClientCoordsCache(),s.matchCanvasSize(s.container),s.redrawHint("eles",!0),s.redrawHint("drag",!0)),s.prevPxRatio=l),!t&&s.motionBlurTimeout&&clearTimeout(s.motionBlurTimeout),f&&(null==s.mbFrames&&(s.mbFrames=0),s.mbFrames++,s.mbFrames<3&&(b=!1),s.mbFrames>s.minMbLowQualFrames&&(s.motionBlurPxRatio=s.mbPxRBlurry)),s.clearingMotionBlur&&(s.motionBlurPxRatio=1),s.textureDrawLastFrame&&!p&&(d[s.NODE]=!0,d[s.SELECT_BOX]=!0);var y=c.style()._private.coreStyle,x=c.zoom(),w=void 0!==o?o:x,k=c.pan(),_={x:k.x,y:k.y},$={zoom:x,pan:{x:k.x,y:k.y}},E=s.prevViewport;void 0===E||$.zoom!==E.zoom||$.pan.x!==E.pan.x||$.pan.y!==E.pan.y||m&&!g||(s.motionBlurPxRatio=1),a&&(_=a),w*=l,_.x*=l,_.y*=l;var S=s.getCachedZSortedEles();function C(e,t,n,r,i){var o=e.globalCompositeOperation;e.globalCompositeOperation="destination-out",s.fillStyle(e,255,255,255,s.motionBlurTransparency),e.fillRect(t,n,r,i),e.globalCompositeOperation=o}function T(e,r){var i,l,c,d;s.clearingMotionBlur||e!==u.bufferContexts[s.MOTIONBLUR_BUFFER_NODE]&&e!==u.bufferContexts[s.MOTIONBLUR_BUFFER_DRAG]?(i=_,l=w,c=s.canvasWidth,d=s.canvasHeight):(i={x:k.x*h,y:k.y*h},l=x*h,c=s.canvasWidth*h,d=s.canvasHeight*h),e.setTransform(1,0,0,1,0,0),"motionBlur"===r?C(e,0,0,c,d):t||void 0!==r&&!r||e.clearRect(0,0,c,d),n||(e.translate(i.x,i.y),e.scale(l,l)),a&&e.translate(a.x,a.y),o&&e.scale(o,o)}if(p||(s.textureDrawLastFrame=!1),p){if(s.textureDrawLastFrame=!0,!s.textureCache){s.textureCache={},s.textureCache.bb=c.mutableElements().boundingBox(),s.textureCache.texture=s.data.bufferCanvases[s.TEXTURE_BUFFER];var A=s.data.bufferContexts[s.TEXTURE_BUFFER];A.setTransform(1,0,0,1,0,0),A.clearRect(0,0,s.canvasWidth*s.textureMult,s.canvasHeight*s.textureMult),s.render({forcedContext:A,drawOnlyNodeLayer:!0,forcedPxRatio:l*s.textureMult}),($=s.textureCache.viewport={zoom:c.zoom(),pan:c.pan(),width:s.canvasWidth,height:s.canvasHeight}).mpan={x:(0-$.pan.x)/$.zoom,y:(0-$.pan.y)/$.zoom}}d[s.DRAG]=!1,d[s.NODE]=!1;var O=u.contexts[s.NODE],P=s.textureCache.texture;$=s.textureCache.viewport;s.textureCache.bb,O.setTransform(1,0,0,1,0,0),f?C(O,0,0,$.width,$.height):O.clearRect(0,0,$.width,$.height);var R=y["outside-texture-bg-color"].value,j=y["outside-texture-bg-opacity"].value;s.fillStyle(O,R[0],R[1],R[2],j),O.fillRect(0,0,$.width,$.height);x=c.zoom();T(O,!1),O.clearRect($.mpan.x,$.mpan.y,$.width/$.zoom/l,$.height/$.zoom/l),O.drawImage(P,$.mpan.x,$.mpan.y,$.width/$.zoom/l,$.height/$.zoom/l)}else s.textureOnViewport&&!t&&(s.textureCache=null);var D=c.extent(),N=s.pinching||s.hoverData.dragging||s.swipePanning||s.data.wheelZooming||s.hoverData.draggingEles,I=s.hideEdgesOnViewport&&N,M=[];if(M[s.NODE]=!d[s.NODE]&&f&&!s.clearedForMotionBlur[s.NODE]||s.clearingMotionBlur,M[s.NODE]&&(s.clearedForMotionBlur[s.NODE]=!0),M[s.DRAG]=!d[s.DRAG]&&f&&!s.clearedForMotionBlur[s.DRAG]||s.clearingMotionBlur,M[s.DRAG]&&(s.clearedForMotionBlur[s.DRAG]=!0),d[s.NODE]||n||r||M[s.NODE]){var z=f&&!M[s.NODE]&&1!==h;T(O=t||(z?s.data.bufferContexts[s.MOTIONBLUR_BUFFER_NODE]:u.contexts[s.NODE]),f&&!z?"motionBlur":void 0),I?s.drawCachedNodes(O,S.nondrag,l,D):s.drawLayeredElements(O,S.nondrag,l,D),s.debug&&s.drawDebugPoints(O,S.nondrag),n||f||(d[s.NODE]=!1)}if(!r&&(d[s.DRAG]||n||M[s.DRAG])){z=f&&!M[s.DRAG]&&1!==h;T(O=t||(z?s.data.bufferContexts[s.MOTIONBLUR_BUFFER_DRAG]:u.contexts[s.DRAG]),f&&!z?"motionBlur":void 0),I?s.drawCachedNodes(O,S.drag,l,D):s.drawCachedElements(O,S.drag,l,D),s.debug&&s.drawDebugPoints(O,S.drag),n||f||(d[s.DRAG]=!1)}if(s.showFps||!r&&d[s.SELECT_BOX]&&!n){if(T(O=t||u.contexts[s.SELECT_BOX]),1==s.selection[4]&&(s.hoverData.selecting||s.touchData.selecting)){x=s.cy.zoom();var L=y["selection-box-border-width"].value/x;O.lineWidth=L,O.fillStyle="rgba("+y["selection-box-color"].value[0]+","+y["selection-box-color"].value[1]+","+y["selection-box-color"].value[2]+","+y["selection-box-opacity"].value+")",O.fillRect(s.selection[0],s.selection[1],s.selection[2]-s.selection[0],s.selection[3]-s.selection[1]),L>0&&(O.strokeStyle="rgba("+y["selection-box-border-color"].value[0]+","+y["selection-box-border-color"].value[1]+","+y["selection-box-border-color"].value[2]+","+y["selection-box-opacity"].value+")",O.strokeRect(s.selection[0],s.selection[1],s.selection[2]-s.selection[0],s.selection[3]-s.selection[1]))}if(u.bgActivePosistion&&!s.hoverData.selecting){x=s.cy.zoom();var q=u.bgActivePosistion;O.fillStyle="rgba("+y["active-bg-color"].value[0]+","+y["active-bg-color"].value[1]+","+y["active-bg-color"].value[2]+","+y["active-bg-opacity"].value+")",O.beginPath(),O.arc(q.x,q.y,y["active-bg-size"].pfValue/x,0,2*Math.PI),O.fill()}var B=s.lastRedrawTime;if(s.showFps&&B){B=Math.round(B);var V=Math.round(1e3/B);O.setTransform(1,0,0,1,0,0),O.fillStyle="rgba(255, 0, 0, 0.75)",O.strokeStyle="rgba(255, 0, 0, 0.75)",O.lineWidth=1,O.fillText("1 frame = "+B+" ms = "+V+" fps",0,20);O.strokeRect(0,30,250,20),O.fillRect(0,30,250*Math.min(V/60,1),20)}n||(d[s.SELECT_BOX]=!1)}if(f&&1!==h){var F=u.contexts[s.NODE],U=s.data.bufferCanvases[s.MOTIONBLUR_BUFFER_NODE],H=u.contexts[s.DRAG],W=s.data.bufferCanvases[s.MOTIONBLUR_BUFFER_DRAG],G=function(e,t,n){e.setTransform(1,0,0,1,0,0),n||!b?e.clearRect(0,0,s.canvasWidth,s.canvasHeight):C(e,0,0,s.canvasWidth,s.canvasHeight);var r=h;e.drawImage(t,0,0,s.canvasWidth*r,s.canvasHeight*r,0,0,s.canvasWidth,s.canvasHeight)};(d[s.NODE]||M[s.NODE])&&(G(F,U,M[s.NODE]),d[s.NODE]=!1),(d[s.DRAG]||M[s.DRAG])&&(G(H,W,M[s.DRAG]),d[s.DRAG]=!1)}s.prevViewport=$,s.clearingMotionBlur&&(s.clearingMotionBlur=!1,s.motionBlurCleared=!0,s.motionBlur=!0),f&&(s.motionBlurTimeout=setTimeout(function(){s.motionBlurTimeout=null,s.clearedForMotionBlur[s.NODE]=!1,s.clearedForMotionBlur[s.DRAG]=!1,s.motionBlur=!1,s.clearingMotionBlur=!p,s.mbFrames=0,d[s.NODE]=!0,d[s.DRAG]=!0,s.redraw()},100)),t||c.emit("render")},e.exports=r},function(e,t,n){"use strict";for(var r=n(2),i={drawPolygonPath:function(e,t,n,r,i,o){var a=r/2,s=i/2;e.beginPath&&e.beginPath(),e.moveTo(t+a*o[0],n+s*o[1]);for(var l=1;l<o.length/2;l++)e.lineTo(t+a*o[2*l],n+s*o[2*l+1]);e.closePath()},drawRoundRectanglePath:function(e,t,n,i,o){var a=i/2,s=o/2,l=r.getRoundRectangleRadius(i,o);e.beginPath&&e.beginPath(),e.moveTo(t,n-s),e.arcTo(t+a,n-s,t+a,n,l),e.arcTo(t+a,n+s,t,n+s,l),e.arcTo(t-a,n+s,t-a,n,l),e.arcTo(t-a,n-s,t,n-s,l),e.lineTo(t,n-s),e.closePath()},drawBottomRoundRectanglePath:function(e,t,n,i,o){var a=i/2,s=o/2,l=r.getRoundRectangleRadius(i,o);e.beginPath&&e.beginPath(),e.moveTo(t,n-s),e.lineTo(t+a,n-s),e.lineTo(t+a,n),e.arcTo(t+a,n+s,t,n+s,l),e.arcTo(t-a,n+s,t-a,n,l),e.lineTo(t-a,n-s),e.lineTo(t,n-s),e.closePath()},drawCutRectanglePath:function(e,t,n,i,o){var a=i/2,s=o/2,l=r.getCutRectangleCornerLength();e.beginPath&&e.beginPath(),e.moveTo(t-a+l,n-s),e.lineTo(t+a-l,n-s),e.lineTo(t+a,n-s+l),e.lineTo(t+a,n+s-l),e.lineTo(t+a-l,n+s),e.lineTo(t-a+l,n+s),e.lineTo(t-a,n+s-l),e.lineTo(t-a,n-s+l),e.closePath()},drawBarrelPath:function(e,t,n,i,o){var a=i/2,s=o/2,l=t-a,c=t+a,u=n-s,d=n+s,p=r.getBarrelCurveConstants(i,o),f=p.widthOffset,h=p.heightOffset,g=p.ctrlPtOffsetPct*f;e.beginPath&&e.beginPath(),e.moveTo(l,u+h),e.lineTo(l,d-h),e.quadraticCurveTo(l+g,d,l+f,d),e.lineTo(c-f,d),e.quadraticCurveTo(c-g,d,c,d-h),e.lineTo(c,u+h),e.quadraticCurveTo(c-g,u,c-f,u),e.lineTo(l+f,u),e.quadraticCurveTo(l+g,u,l,u+h),e.closePath()}},o=Math.sin(0),a=Math.cos(0),s={},l={},c=Math.PI/40,u=0*Math.PI;u<2*Math.PI;u+=c)s[u]=Math.sin(u),l[u]=Math.cos(u);i.drawEllipsePath=function(e,t,n,r,i){if(e.beginPath&&e.beginPath(),e.ellipse)e.ellipse(t,n,r/2,i/2,0,0,2*Math.PI);else for(var u,d,p=r/2,f=i/2,h=0*Math.PI;h<2*Math.PI;h+=c)u=t-p*s[h]*o+p*l[h]*a,d=n+f*l[h]*o+f*s[h]*a,0===h?e.moveTo(u,d):e.lineTo(u,d);e.closePath()},e.exports=i},function(e,t,n){"use strict";var r=n(0),i={};function o(e){var t=e.indexOf(",");return e.substr(t+1)}function a(e,t,n){var r=t.toDataURL(n,e.quality);switch(e.output){case"blob":return function(e,t){for(var n=atob(e),r=new ArrayBuffer(n.length),i=new Uint8Array(r),o=0;o<n.length;o++)i[o]=n.charCodeAt(o);return new Blob([r],{type:t})}(o(r),n);case"base64":return o(r);case"base64uri":default:return r}}i.createBuffer=function(e,t){var n=document.createElement("canvas");return n.width=e,n.height=t,[n,n.getContext("2d")]},i.bufferCanvasImage=function(e){var t=this.cy,n=t.mutableElements().boundingBox(),i=this.findContainerClientCoords(),o=e.full?Math.ceil(n.w):i[2],a=e.full?Math.ceil(n.h):i[3],s=r.number(e.maxWidth)||r.number(e.maxHeight),l=this.getPixelRatio(),c=1;if(void 0!==e.scale)o*=e.scale,a*=e.scale,c=e.scale;else if(s){var u=1/0,d=1/0;r.number(e.maxWidth)&&(u=c*e.maxWidth/o),r.number(e.maxHeight)&&(d=c*e.maxHeight/a),o*=c=Math.min(u,d),a*=c}s||(o*=l,a*=l,c*=l);var p=document.createElement("canvas");p.width=o,p.height=a,p.style.width=o+"px",p.style.height=a+"px";var f=p.getContext("2d");if(o>0&&a>0){f.clearRect(0,0,o,a),f.globalCompositeOperation="source-over";var h=this.getCachedZSortedEles();if(e.full)f.translate(-n.x1*c,-n.y1*c),f.scale(c,c),this.drawElements(f,h),f.scale(1/c,1/c),f.translate(n.x1*c,n.y1*c);else{var g=t.pan(),m={x:g.x*c,y:g.y*c};c*=t.zoom(),f.translate(m.x,m.y),f.scale(c,c),this.drawElements(f,h),f.scale(1/c,1/c),f.translate(-m.x,-m.y)}e.bg&&(f.globalCompositeOperation="destination-over",f.fillStyle=e.bg,f.rect(0,0,o,a),f.fill())}return p},i.png=function(e){return a(e,this.bufferCanvasImage(e),"image/png")},i.jpg=function(e){return a(e,this.bufferCanvasImage(e),"image/jpeg")},e.exports=i},function(e,t,n){"use strict";var r={nodeShapeImpl:function(e,t,n,r,i,o,a){switch(e){case"ellipse":return this.drawEllipsePath(t,n,r,i,o);case"polygon":return this.drawPolygonPath(t,n,r,i,o,a);case"roundrectangle":return this.drawRoundRectanglePath(t,n,r,i,o);case"cutrectangle":return this.drawCutRectanglePath(t,n,r,i,o);case"bottomroundrectangle":return this.drawBottomRoundRectanglePath(t,n,r,i,o);case"barrel":return this.drawBarrelPath(t,n,r,i,o)}}};e.exports=r},function(e,t,n){"use strict";var r=n(0),i=n(1),o=n(18),a=function e(){if(!(this instanceof e))return new e;this.length=0},s=a.prototype;s.instanceString=function(){return"stylesheet"},s.selector=function(e){return this[this.length++]={selector:e,properties:[]},this},s.css=function(e,t){var n=this.length-1;if(r.string(e))this[n].properties.push({name:e,value:t});else if(r.plainObject(e))for(var a=e,s=0;s<o.properties.length;s++){var l=o.properties[s],c=a[l.name];if(void 0===c&&(c=a[i.dash2camel(l.name)]),void 0!==c){var u=l.name,d=c;this[n].properties.push({name:u,value:d})}}return this},s.style=s.css,s.generateStyle=function(e){var t=new o(e);return this.appendToStyle(t)},s.appendToStyle=function(e){for(var t=0;t<this.length;t++){var n=this[t],r=n.selector,i=n.properties;e.selector(r);for(var o=0;o<i.length;o++){var a=i[o];e.css(a.name,a.value)}}return e},e.exports=a},function(e,t,n){"use strict";e.exports="snapshot-2fd4aa6cc2-1531011493999"}])})}).call(this,n(176).setImmediate)},function(e,t){var n="/components/graph/graph-viz.html";window.angular.module("ng").run(["$templateCache",function(e){e.put(n,"<div id='cy' style=\"width: 100%; height: 100%; \"></div>\n")}]),e.exports=n},function(e,t,n){(e.exports=n(22)(!1)).push([e.i,'\n.cy-context-menus-cxt-menu {\n    display:none;\n    z-index:1000;\n    position:absolute;\n    border:1px solid #A0A0A0;\n    padding: 0;\n    margin: 0;\n    width:auto;\n}\n\n.cy-context-menus-cxt-menuitem {\n    display:block;\n    z-index:1000;\n    width: 100%;\n    padding: 3px 20px;\n    position:relative;\n    margin:0;\n    background-color:#f8f8f8;\n    font-weight:normal;\n    font-size: 12px;\n    white-space:nowrap;\n    border: 0;\n    text-align: left;\n}\n\n.cy-context-menus-cxt-menuitem:enabled {\n    color: #000000;\n}\n\n.cy-context-menus-ctx-operation:focus {\n  outline: none;\n}\n\n.cy-context-menus-cxt-menuitem:hover {\n    color: #ffffff;\n    text-decoration: none;\n    background-color: #0B9BCD;\n    background-image: none;\n    cursor: pointer;\n}\n\n.cy-context-menus-cxt-menuitem[content]:before {\n    content:attr(content);\n}\n\n.cy-context-menus-divider {\n  border-bottom:1px solid #A0A0A0;\n}\n\n\nselect:not([multiple]).form-control {\n    background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48cG9seWxpbmUgcG9pbnRzPSI0LjUgNiA4IDkuNSAxMS41IDYiIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzAwOTRiMyIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiAvPjxyZWN0IHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgZmlsbD0ibm9uZSIvPjwvc3ZnPg==");\n    background-size: 1.25em 1.25em;\n}\n',""])},function(e,t,n){var r=n(179);"string"==typeof r&&(r=[[e.i,r,""]]);var i={hmr:!0,transform:void 0,insertInto:void 0};n(21)(r,i);r.locals&&(e.exports=r.locals)},function(e,t,n){"use strict";n(180);const r=n(178),i=n(5),o=n(8),a=n(177);n(170)(a,o);const s=n(169);a.use(s),angular.module("dbt").directive("graphViz",["$q","$state","graph","selectorService","project","$timeout",function(e,t,n,s,l,c){return{restrict:"EA",replace:!0,scope:{vizElements:"=",vizLayout:"=",vizOptions:"=",vizStyle:"=",vizReady:"=",vizExtensions:"=",vizHideOptions:"=",vizSize:"=",vizRendered:"="},link:function(e,r,d,p){var f=u;e.$watch("vizSize",function(e,t){c(function(){h.resize(),"fullscreen"==e?h.fit(100):h.fit(25)})}),o(".viz-option").on("changed.bs.select",function(e){o(e.target).data("option"),o(e.target).val()});var h=a(i.assign({},e.vizOptions,{container:document.getElementById("cy"),style:e.vizStyle||[],elements:e.vizElements||[],layout:e.vizLayout||{name:"circle"}}));window.graph||(window.graph=h);e.graphReady&&o(window).on("load",function(){h.ready(e.graphReady)});h.on("select",function(t){var r=t.target;e.$apply(function(){n.selectNode(r.id()),h.forceRender()})}),h.on("unselect",function(t){t.target;e.$apply(function(){n.deselectNodes(),h.forceRender()})}),e.$watch("vizElements",function(t,n){h.remove(h.elements()),h.add(t),f(e,h),console.log("elements changed, UPDATE")}),e.$watch("vizLayout",function(t,n){t!==n&&f(e,h)},!0),e.$watch("vizOptions",function(e,t){e!==t&&i.each(e,function(e,t){h[t],h[t](e)})},!0),e.$watch("vizStyle",function(e,t){e!==t&&(console.log("Setting styles"),h.setStyle(e))},!0),e.$on("$destroy",function(){h.destroy()});h.contextMenus({menuItems:[{id:"jump",content:"Refocus on Node",selector:"node",tooltipText:"Focus on the lineage for this node",onClickFunction:function(e){var n=e.target||e.cyTarget,r=n.id();t.go("dbt."+n.data("resource_type"),{unique_id:r})},show:!0},{id:"docs",content:"View documentation",selector:"node",tooltipText:"Jump to the documentation for this node",onClickFunction:function(e){var r=e.target||e.cyTarget,i=r.id();t.go("dbt."+r.data("resource_type"),{unique_id:i}),n.hideGraph()},show:!0},{id:"hide-before-here",content:"Hide this and parents",selector:"node",onClickFunction:function(e){var t=e.target||e.cyTarget,r=t.id(),i=l.node(r);if(i){var o=s.excludeNode(i,{parents:!0});n.updateGraph(o)}},show:!0},{id:"hide-after-here",content:"Hide this and children",selector:"node",onClickFunction:function(e){var t=e.target||e.cyTarget,r=t.id(),i=l.node(r);if(i){var o=s.excludeNode(i,{children:!0});n.updateGraph(o)}},show:!0},{id:"export-png",content:"Export PNG",selector:"node",coreAsWell:!0,onClickFunction:function(e){var t=h.png({bg:"#005e7a"}),n=document.createElement("a");n.download="dbt-dag.png",n.href=t,n.click()},show:!0}],menuItemClasses:["graph-node-context-menu-item"],contextMenuClasses:["graph-node-context-menu"]})},templateUrl:r};function u(e,t){if(e.vizLayout&&e.vizLayout.name){t.layout(e.vizLayout).run();e.vizRendered(t)}}}])},function(e,t){var n="/components/graph/graph-launcher.html";window.angular.module("ng").run(["$templateCache",function(e){e.put(n,'\n<div class="launcher" data-launcher="{{ graphService.orientation }}" ng-class="{on: graphService.expanded}">\n    <style>\n    .dirty-submit {\n        background-color: #0094b3 !important;\n        color: white !important;\n        transition: .5s linear;\n    }\n\n    #submit-graph-selection:hover {\n        background-color: #0094b3 !important;\n        color: white !important;\n    }\n\n    .dropup select:hover~.field-label,\n    .dropup select:focus~.field-label {\n        color: #919599;\n    }\n\n    .dropup ul:hover~.field-label,\n    .dropup ul:focus~.field-label {\n        color: #919599;\n    }\n\n    .dropdown-menu {\n        width: 100%;\n    }\n\n    .dropdown-menu li {\n        padding: 2px 10px;\n    }\n\n    .dropdown-menu li:hover {\n        background-color: #ededee !important;\n    }\n\n    li .checked {\n        width: 10px;\n        float: right;\n    }\n\n    </style>\n\n    <div class="launcher-section">\n        <div class="launcher-btn">\n            <a\n                class="btn btn-info btn-pill btn-lg btn-icon btn-shadow"\n                data-toggle="tooltip"\n                title="View Lineage Graph"\n                ng-click="onLauncherClick()">\n                <svg class="icn icn-md"><use xlink:href="#icn-flow"></use></svg>\n            </a>\n        </div>\n        <div class="launcher-content" ng-click="onWindowClick($event)">\n            <div class="launcher-window">\n                <div class="launcher-header">\n                    <div class="launcher-cell">\n                        <h6>\n                            Lineage Graph\n                        </h6>\n                    </div>\n                    <div class="launcher-actions">\n                        <a\n                            ng-click="showExpanded()"\n                            ng-show="graphService.orientation == \'sidebar\'"\n                            data-large\n                            class="btn btn-text btn-lg btn-icon btn-shadow"\n                            data-toggle="tooltip"\n                            title="View Fullscreen">\n                                <svg class="icn icn-md"><use xlink:href="#icn-expand"></use></svg>\n                        </a>\n                        <a\n                            ng-click="showContracted()"\n                            ng-show="graphService.orientation == \'fullscreen\' && selectorService.getViewNode()"\n                            class="btn btn-text btn-lg btn-icon btn-shadow"\n                            data-toggle="tooltip"\n                            title="View Fullscreen">\n                                <svg class="icn icn-md"><use xlink:href="#icn-contract"></use></svg>\n                        </a>\n                    </div>\n                </div>\n                <div class="launcher-body">\n                    <div class="launcher-embed">\n                        <div ng-controller="GraphCtrl" style="height: 100%" id="graph-viz-wrapper">\n                            <div graph-viz\n                                viz-options="graph.options"\n                                viz-elements="graph.elements"\n                                viz-style="graph.style"\n                                viz-layout="graph.layout"\n                                viz-ready="graph.ready"\n                                viz-rendered="graphRendered"\n                                viz-size="{size: graphService.orientation, expanded: graphService.expanded}"></div>\n                        </div>\n                    </div>\n                </div>\n                <div class="launcher-footer">\n                    <div class="launcher-cell launcher-flush">\n                        <div class="component bg-navy text-navy-lightest margin">\n                            <form class="fields fields-flush launcher-hide-sidebar"\n                                  ng-class="{visible: filters_visible}"\n                                  ng-submit="onUpdateSelector()">\n                                <label class="field">\n                                    <div class="dropdown dropup"\n                                         ng-class="{\'open\': isVisible(\'resource_types\')}"\n                                         data-form-type="resource_types">\n                                        <select\n                                            data-toggle="dropdown"\n                                            class=\'field-input form-control input-dark\'\n                                            ng-click="onSelectClick(\'resource_types\')"\n                                            ng-blur="onSelectBlur(\'resource_types\')">\n                                            <option selected disabled hidden>\n                                                <span>{{ selectionLabel(\'resource_types\') }}</span>\n                                            </option>\n                                        </select>\n                                        <ul\n                                            class="dropdown-menu"\n                                            ng-show="isVisible(\'resource_types\')">\n                                            <li\n                                                class=\'text-dark\'\n                                                ng-repeat="item in selectorService.options.resource_types"\n                                                ng-click="onItemSelect(\'resource_types\', item, $event)">\n                                                {{ resourceTypeTitle(item) }}\n                                                <span ng-show="isSelected(\'resource_types\', item)">\n                                                    <svg class="checked" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M20.285 2l-11.285 11.567-5.286-5.011-3.714 3.716 9 8.728 15-15.285z"/></svg>\n                                                </span>\n                                            </li>\n                                        </ul>\n                                        <div class="field-label">resources</div>\n                                    </div>\n                                </label>\n                                <label class="field">\n                                    <div class="dropdown dropup"\n                                         ng-class="{\'open\': isVisible(\'packages\')}"\n                                         data-form-type="packages">\n                                        <select\n                                            data-toggle="dropdown"\n                                            class=\'field-input form-control input-dark\'\n                                            ng-click="onSelectClick(\'packages\')"\n                                            ng-blur="onSelectBlur(\'packages\')">\n                                            <option selected disabled hidden>\n                                                <span>{{ selectionLabel(\'packages\') }}</span>\n                                            </option>\n                                        </select>\n                                        <ul\n                                            class="dropdown-menu"\n                                            ng-show="isVisible(\'packages\')">\n                                            <li\n                                                class=\'text-dark\'\n                                                ng-repeat="item in selectorService.options.packages"\n                                                ng-click="onItemSelect(\'packages\', item, $event)">\n                                                {{ item }}\n                                                <span ng-show="isSelected(\'packages\', item)">\n                                                    <svg class="checked" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M20.285 2l-11.285 11.567-5.286-5.011-3.714 3.716 9 8.728 15-15.285z"/></svg>\n                                                </span>\n                                            </li>\n                                        </ul>\n                                        <div class="field-label">packages</div>\n                                    </div>\n                                </label>\n                                <label class="field">\n                                    <div class="dropdown dropup"\n                                         ng-class="{\'open\': isVisible(\'tags\')}"\n                                         data-form-type="tags">\n                                        <select\n                                            data-toggle="dropdown"\n                                            class=\'field-input form-control input-dark\'\n                                            ng-click="onSelectClick(\'tags\')"\n                                            ng-blur="onSelectBlur(\'tags\', $event)">\n                                            <option selected disabled hidden>\n                                                <span>{{ selectionLabel(\'tags\', \'untagged\') }}</span>\n                                            </option>\n                                        </select>\n                                        <ul\n                                            class="dropdown-menu"\n                                            ng-show="isVisible(\'tags\')">\n                                            <li\n                                                class=\'text-dark\'\n                                                ng-repeat="item in selectorService.options.tags"\n                                                ng-click="onItemSelect(\'tags\', item, $event)">\n                                                <span ng-if=\'item == null\'>untagged</span>\n                                                <span ng-if=\'item != null\'>{{ item }}</span>\n                                                <span ng-show="isSelected(\'tags\', item)">\n                                                    <svg class="checked" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M20.285 2l-11.285 11.567-5.286-5.011-3.714 3.716 9 8.728 15-15.285z"/></svg>\n                                                </span>\n                                            </li>\n                                        </ul>\n                                        <div class="field-label">tags</div>\n                                    </div>\n                                </label>\n                                <label class="field" style="flex: 4 0 160px">\n                                    <input type="text"\n                                           class="field-input form-control input-dark"\n                                           ng-model="selectorService.selection.dirty.include"\n                                           placeholder="..." />\n                                    <div class="field-label">--models</div>\n                                </label>\n                                <label class="field" style="flex: 4 0 160px">\n                                    <input type="text"\n                                           class="field-input form-control input-dark"\n                                           ng-model="selectorService.selection.dirty.exclude"\n                                           placeholder="..." />\n                                    <div class="field-label">--exclude</div>\n                                </label>\n                                <label class="field" style="flex: 0 0 80px">\n                                    <input type="submit"\n                                           id="submit-graph-selection"\n                                           class="field-input form-control input-dark"\n                                           ng-class="{\'dirty-submit\': selectorService.isDirty()}"\n                                           value="Update Graph" />\n                                    <div class="field-label text-center" style="width: 100%"></div>\n                                </label>\n                                <label class="field" style="flex: 0 0 80px">\n                                    <button type="button"\n                                        ng-click="closeGraph()"\n                                        class="field-input form-control input-dark text-center"\n                                        ><svg class="icn icn-md"><use xlink:href="#icn-close"></use></svg>\n                                    </button>\n                                </label>\n                            </form>\n                        </div>\n                    </div>\n                    \x3c!--<div class="launcher-spacer"></div>--\x3e\n                    <div class="launcher-actions" ng-show="graphService.orientation == \'sidebar\'">\n                        <button type="button"\n                            ng-click="closeGraph()"\n                            class="btn btn-text btn-lg btn-icon btn-shadow"\n                            data-toggle="tooltip"\n                            title="Close Graph"><svg class="icn icn-md"><use xlink:href="#icn-close"></use></svg>\n                        </button>\n                    </div>\n                </div>\n            </div>\n        </div>\n    </div>\n</div>\n')}]),e.exports=n},function(e,t,n){"use strict";const r=n(182),i=n(5),o=n(8);angular.module("dbt").directive("graphLauncher",["$state","$q","graph","selectorService","project","trackingService","locationService",function(e,t,n,a,s,l,c){return{restrict:"EA",replace:!0,scope:{},templateUrl:r,link:function(t,r){t.filters_visible=!1,t.graphService=n,t.selectorService=a;var s={tags:{visible:!1},packages:{visible:!1},resource_types:{visible:!1}};t.onWindowClick=function(e){o(e.target);var t=o(e.target).closest(".dropup");t.length||(s.tags.visible=!1,s.packages.visible=!1);var n=t.data("form-type");i.each(s,function(e,t){t!=n&&(e.visible=!1)}),o(e.target).closest("#graph-viz-wrapper").length&&setTimeout(function(){o(":focus").blur()})},t.onSelectClick=function(e){i.each(s,function(t,n){n==e&&(t.visible=!t.visible,t.visible||o(":focus").blur())})},t.isVisible=function(e){return s[e].visible},t.isSelected=function(e,t){return-1!=a.selection.dirty[e].indexOf(t)},t.onItemSelect=function(e,n,r){var o=a.selection.dirty;t.isSelected(e,n)?o[e]=i.without(o[e],n):o[e]=i.union(o[e],[n]),r.preventDefault()},t.onSelectBlur=function(e,n){n&&(n.relatedTarget&&"SELECT"!=n.relatedTarget.tagName||t.isVisible(e)&&o(n.target).focus())},t.resourceTypeTitle=function(e){return"analysis"==e?"Analyses":e[0].toUpperCase()+e.slice(1)+"s"},t.selectionLabel=function(e,t){var n=a.selection.dirty[e],r=a.options[e];return 0==n.length?"None selected":1==n.length?n[0]||t:n.length==r.length?"All selected":n.length+" selected"},t.onUpdateSelector=function(){var e=a.updateSelection(),t=n.updateGraph(e);l.track_graph_interaction("update-graph",t.length)},t.showExpanded=function(){var e=a.getViewNode(),t=e?e.name:null;if(e&&"source"==e.resource_type)var r=n.showFullGraph("source:"+e.source_name+"."+e.name);else r=n.showFullGraph(t);l.track_graph_interaction("show-expanded",r.length)},t.showContracted=function(){var e=a.getViewNode();if(e&&"source"==e.resource_type)var t=n.showVerticalGraph("source:"+e.source_name+"."+e.name,!0);else t=n.showVerticalGraph(e.name,!0);c.clearState(),l.track_graph_interaction("show-contracted",t.length)},t.closeGraph=function(){n.hideGraph(),c.clearState()},t.onLauncherClick=function(){var r=a.getViewNode();if(r)a.resetSelection(r),t.showContracted();else if(e.params.source){a.resetSelection(),t.showExpanded();var i=a.selectSource(e.params.source,{children:!0});setTimeout(function(){n.updateGraph(i)})}else a.resetSelection(),t.showExpanded()},t.$watch(function(){return a.selection.dirty},function(e,t){if(a.isDirty()){var r=n.graph.pristine.dag,o=n.graph.pristine.nodes,s=a.selection.clean,l=a.selection.dirty,c=a.select_nodes(r,o,s),u=a.select_nodes(r,o,l),d=i.difference(c.nodes,u.nodes);n.markDirty(d)}else n.markAllClean()},!0)}}}])},function(e,t,n){n(183),n(181),n(129),n(127),n(123),n(121),n(117),n(115),n(113),n(111)},function(e,t,n){(e.exports=n(22)(!1)).push([e.i,"/*\n\ngithub.com style (c) Vasily Polovnyov <vast@whiteants.net>\n\n*/\n\n.hljs {\n  display: block;\n  overflow-x: auto;\n  padding: 0.5em;\n  color: #333;\n  background: #f8f8f8;\n}\n\n.hljs-comment,\n.hljs-quote {\n  color: #998;\n  font-style: italic;\n}\n\n.hljs-keyword,\n.hljs-selector-tag,\n.hljs-subst {\n  color: #333;\n  font-weight: bold;\n}\n\n.hljs-number,\n.hljs-literal,\n.hljs-variable,\n.hljs-template-variable,\n.hljs-tag .hljs-attr {\n  color: #008080;\n}\n\n.hljs-string,\n.hljs-doctag {\n  color: #d14;\n}\n\n.hljs-title,\n.hljs-section,\n.hljs-selector-id {\n  color: #900;\n  font-weight: bold;\n}\n\n.hljs-subst {\n  font-weight: normal;\n}\n\n.hljs-type,\n.hljs-class .hljs-title {\n  color: #458;\n  font-weight: bold;\n}\n\n.hljs-tag,\n.hljs-name,\n.hljs-attribute {\n  color: #000080;\n  font-weight: normal;\n}\n\n.hljs-regexp,\n.hljs-link {\n  color: #009926;\n}\n\n.hljs-symbol,\n.hljs-bullet {\n  color: #990073;\n}\n\n.hljs-built_in,\n.hljs-builtin-name {\n  color: #0086b3;\n}\n\n.hljs-meta {\n  color: #999;\n  font-weight: bold;\n}\n\n.hljs-deletion {\n  background: #fdd;\n}\n\n.hljs-addition {\n  background: #dfd;\n}\n\n.hljs-emphasis {\n  font-style: italic;\n}\n\n.hljs-strong {\n  font-weight: bold;\n}\n",""])},function(e,t,n){var r=n(185);"string"==typeof r&&(r=[[e.i,r,""]]);var i={hmr:!0,transform:void 0,insertInto:void 0};n(21)(r,i);r.locals&&(e.exports=r.locals)},function(e,t){!function(e,t){"use strict";function n(n){try{var i=t.querySelectorAll("code.hljs");for(var o in i)i.hasOwnProperty(o)&&r(i[o],n)}catch(t){e.console.error("LineNumbers error: ",t)}}function r(e,t){if("object"==typeof e){var n=(t=t||{singleLine:!1}).singleLine?0:1;s(function(){(function e(t){var n=t.childNodes;for(var r in n)if(n.hasOwnProperty(r)){var o=n[r];a(o.textContent)>0&&(o.childNodes.length>0?e(o):i(o.parentNode))}})(e),e.innerHTML=function(e,t){var n=o(e);if(""===n[n.length-1].trim()&&n.pop(),n.length>t){for(var r="",i=0,a=n.length;i<a;i++)r+=l('<tr><td class="{0}"><div class="{1} {2}" {3}="{5}"></div></td><td class="{4}"><div class="{1}">{6}</div></td></tr>',[p,u,f,h,d,i+1,n[i].length>0?n[i]:" "]);return l('<table class="{0}">{1}</table>',[c,r])}return e}(e.innerHTML,n)})}}function i(e){var t=e.className;if(/hljs-/.test(t)){for(var n=o(e.innerHTML),r=0,i="";r<n.length;r++)i+=l('<span class="{0}">{1}</span>\n',[t,n[r]]);e.innerHTML=i.trim()}}function o(e){return 0===e.length?[]:e.split(g)}function a(e){return(e.trim().match(g)||[]).length}function s(t){e.setTimeout(t,0)}function l(e,t){return e.replace(/\{(\d+)\}/g,function(e,n){return t[n]?t[n]:e})}var c="hljs-ln",u="hljs-ln-line",d="hljs-ln-code",p="hljs-ln-numbers",f="hljs-ln-n",h="data-line-number",g=/\r\n|\r|\n/g;e.hljs?(e.hljs.initLineNumbersOnLoad=function(r){"complete"===t.readyState?n(r):e.addEventListener("DOMContentLoaded",function(){n(r)})},e.hljs.lineNumbersBlock=r,function(){var e=t.createElement("style");e.type="text/css",e.innerHTML=l(".{0}{border-collapse:collapse}.{0} td{padding:0}.{1}:before{content:attr({2})}",[c,f,h]),t.getElementsByTagName("head")[0].appendChild(e)}()):e.console.error("highlight.js not detected!")}(window,document)},function(e,t){e.exports=function(e){var t=e.COMMENT("--","$");return{case_insensitive:!0,illegal:/[<>{}*#]/,contains:[{beginKeywords:"begin end start commit rollback savepoint lock alter create drop rename call delete do handler insert load replace select truncate update set show pragma grant merge describe use explain help declare prepare execute deallocate release unlock purge reset change stop analyze cache flush optimize repair kill install uninstall checksum restore check backup revoke comment",end:/;/,endsWithParent:!0,lexemes:/[\w\.]+/,keywords:{keyword:"abort abs absolute acc acce accep accept access accessed accessible account acos action activate add addtime admin administer advanced advise aes_decrypt aes_encrypt after agent aggregate ali alia alias allocate allow alter always analyze ancillary and any anydata anydataset anyschema anytype apply archive archived archivelog are as asc ascii asin assembly assertion associate asynchronous at atan atn2 attr attri attrib attribu attribut attribute attributes audit authenticated authentication authid authors auto autoallocate autodblink autoextend automatic availability avg backup badfile basicfile before begin beginning benchmark between bfile bfile_base big bigfile bin binary_double binary_float binlog bit_and bit_count bit_length bit_or bit_xor bitmap blob_base block blocksize body both bound buffer_cache buffer_pool build bulk by byte byteordermark bytes cache caching call calling cancel capacity cascade cascaded case cast catalog category ceil ceiling chain change changed char_base char_length character_length characters characterset charindex charset charsetform charsetid check checksum checksum_agg child choose chr chunk class cleanup clear client clob clob_base clone close cluster_id cluster_probability cluster_set clustering coalesce coercibility col collate collation collect colu colum column column_value columns columns_updated comment commit compact compatibility compiled complete composite_limit compound compress compute concat concat_ws concurrent confirm conn connec connect connect_by_iscycle connect_by_isleaf connect_by_root connect_time connection consider consistent constant constraint constraints constructor container content contents context contributors controlfile conv convert convert_tz corr corr_k corr_s corresponding corruption cos cost count count_big counted covar_pop covar_samp cpu_per_call cpu_per_session crc32 create creation critical cross cube cume_dist curdate current current_date current_time current_timestamp current_user cursor curtime customdatum cycle data database databases datafile datafiles datalength date_add date_cache date_format date_sub dateadd datediff datefromparts datename datepart datetime2fromparts day day_to_second dayname dayofmonth dayofweek dayofyear days db_role_change dbtimezone ddl deallocate declare decode decompose decrement decrypt deduplicate def defa defau defaul default defaults deferred defi defin define degrees delayed delegate delete delete_all delimited demand dense_rank depth dequeue des_decrypt des_encrypt des_key_file desc descr descri describ describe descriptor deterministic diagnostics difference dimension direct_load directory disable disable_all disallow disassociate discardfile disconnect diskgroup distinct distinctrow distribute distributed div do document domain dotnet double downgrade drop dumpfile duplicate duration each edition editionable editions element ellipsis else elsif elt empty enable enable_all enclosed encode encoding encrypt end end-exec endian enforced engine engines enqueue enterprise entityescaping eomonth error errors escaped evalname evaluate event eventdata events except exception exceptions exchange exclude excluding execu execut execute exempt exists exit exp expire explain export export_set extended extent external external_1 external_2 externally extract failed failed_login_attempts failover failure far fast feature_set feature_value fetch field fields file file_name_convert filesystem_like_logging final finish first first_value fixed flash_cache flashback floor flush following follows for forall force form forma format found found_rows freelist freelists freepools fresh from from_base64 from_days ftp full function general generated get get_format get_lock getdate getutcdate global global_name globally go goto grant grants greatest group group_concat group_id grouping grouping_id groups gtid_subtract guarantee guard handler hash hashkeys having hea head headi headin heading heap help hex hierarchy high high_priority hosts hour http id ident_current ident_incr ident_seed identified identity idle_time if ifnull ignore iif ilike ilm immediate import in include including increment index indexes indexing indextype indicator indices inet6_aton inet6_ntoa inet_aton inet_ntoa infile initial initialized initially initrans inmemory inner innodb input insert install instance instantiable instr interface interleaved intersect into invalidate invisible is is_free_lock is_ipv4 is_ipv4_compat is_not is_not_null is_used_lock isdate isnull isolation iterate java join json json_exists keep keep_duplicates key keys kill language large last last_day last_insert_id last_value lax lcase lead leading least leaves left len lenght length less level levels library like like2 like4 likec limit lines link list listagg little ln load load_file lob lobs local localtime localtimestamp locate locator lock locked log log10 log2 logfile logfiles logging logical logical_reads_per_call logoff logon logs long loop low low_priority lower lpad lrtrim ltrim main make_set makedate maketime managed management manual map mapping mask master master_pos_wait match matched materialized max maxextents maximize maxinstances maxlen maxlogfiles maxloghistory maxlogmembers maxsize maxtrans md5 measures median medium member memcompress memory merge microsecond mid migration min minextents minimum mining minus minute minvalue missing mod mode model modification modify module monitoring month months mount move movement multiset mutex name name_const names nan national native natural nav nchar nclob nested never new newline next nextval no no_write_to_binlog noarchivelog noaudit nobadfile nocheck nocompress nocopy nocycle nodelay nodiscardfile noentityescaping noguarantee nokeep nologfile nomapping nomaxvalue nominimize nominvalue nomonitoring none noneditionable nonschema noorder nopr nopro noprom nopromp noprompt norely noresetlogs noreverse normal norowdependencies noschemacheck noswitch not nothing notice notrim novalidate now nowait nth_value nullif nulls num numb numbe nvarchar nvarchar2 object ocicoll ocidate ocidatetime ociduration ociinterval ociloblocator ocinumber ociref ocirefcursor ocirowid ocistring ocitype oct octet_length of off offline offset oid oidindex old on online only opaque open operations operator optimal optimize option optionally or oracle oracle_date oradata ord ordaudio orddicom orddoc order ordimage ordinality ordvideo organization orlany orlvary out outer outfile outline output over overflow overriding package pad parallel parallel_enable parameters parent parse partial partition partitions pascal passing password password_grace_time password_lock_time password_reuse_max password_reuse_time password_verify_function patch path patindex pctincrease pctthreshold pctused pctversion percent percent_rank percentile_cont percentile_disc performance period period_add period_diff permanent physical pi pipe pipelined pivot pluggable plugin policy position post_transaction pow power pragma prebuilt precedes preceding precision prediction prediction_cost prediction_details prediction_probability prediction_set prepare present preserve prior priority private private_sga privileges procedural procedure procedure_analyze processlist profiles project prompt protection public publishingservername purge quarter query quick quiesce quota quotename radians raise rand range rank raw read reads readsize rebuild record records recover recovery recursive recycle redo reduced ref reference referenced references referencing refresh regexp_like register regr_avgx regr_avgy regr_count regr_intercept regr_r2 regr_slope regr_sxx regr_sxy reject rekey relational relative relaylog release release_lock relies_on relocate rely rem remainder rename repair repeat replace replicate replication required reset resetlogs resize resource respect restore restricted result result_cache resumable resume retention return returning returns reuse reverse revoke right rlike role roles rollback rolling rollup round row row_count rowdependencies rowid rownum rows rtrim rules safe salt sample save savepoint sb1 sb2 sb4 scan schema schemacheck scn scope scroll sdo_georaster sdo_topo_geometry search sec_to_time second section securefile security seed segment select self sequence sequential serializable server servererror session session_user sessions_per_user set sets settings sha sha1 sha2 share shared shared_pool short show shrink shutdown si_averagecolor si_colorhistogram si_featurelist si_positionalcolor si_stillimage si_texture siblings sid sign sin size size_t sizes skip slave sleep smalldatetimefromparts smallfile snapshot some soname sort soundex source space sparse spfile split sql sql_big_result sql_buffer_result sql_cache sql_calc_found_rows sql_small_result sql_variant_property sqlcode sqldata sqlerror sqlname sqlstate sqrt square standalone standby start starting startup statement static statistics stats_binomial_test stats_crosstab stats_ks_test stats_mode stats_mw_test stats_one_way_anova stats_t_test_ stats_t_test_indep stats_t_test_one stats_t_test_paired stats_wsr_test status std stddev stddev_pop stddev_samp stdev stop storage store stored str str_to_date straight_join strcmp strict string struct stuff style subdate subpartition subpartitions substitutable substr substring subtime subtring_index subtype success sum suspend switch switchoffset switchover sync synchronous synonym sys sys_xmlagg sysasm sysaux sysdate sysdatetimeoffset sysdba sysoper system system_user sysutcdatetime table tables tablespace tan tdo template temporary terminated tertiary_weights test than then thread through tier ties time time_format time_zone timediff timefromparts timeout timestamp timestampadd timestampdiff timezone_abbr timezone_minute timezone_region to to_base64 to_date to_days to_seconds todatetimeoffset trace tracking transaction transactional translate translation treat trigger trigger_nestlevel triggers trim truncate try_cast try_convert try_parse type ub1 ub2 ub4 ucase unarchived unbounded uncompress under undo unhex unicode uniform uninstall union unique unix_timestamp unknown unlimited unlock unpivot unrecoverable unsafe unsigned until untrusted unusable unused update updated upgrade upped upper upsert url urowid usable usage use use_stored_outlines user user_data user_resources users using utc_date utc_timestamp uuid uuid_short validate validate_password_strength validation valist value values var var_samp varcharc vari varia variab variabl variable variables variance varp varraw varrawc varray verify version versions view virtual visible void wait wallet warning warnings week weekday weekofyear wellformed when whene whenev wheneve whenever where while whitespace with within without work wrapped xdb xml xmlagg xmlattributes xmlcast xmlcolattval xmlelement xmlexists xmlforest xmlindex xmlnamespaces xmlpi xmlquery xmlroot xmlschema xmlserialize xmltable xmltype xor year year_to_month years yearweek",literal:"true false null",built_in:"array bigint binary bit blob boolean char character date dec decimal float int int8 integer interval number numeric real record serial serial8 smallint text varchar varying void"},contains:[{className:"string",begin:"'",end:"'",contains:[e.BACKSLASH_ESCAPE,{begin:"''"}]},{className:"string",begin:'"',end:'"',contains:[e.BACKSLASH_ESCAPE,{begin:'""'}]},{className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE]},e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,t]},e.C_BLOCK_COMMENT_MODE,t]}}},function(e,t,n){(function(t){!function(t){"use strict";var n={newline:/^\n+/,code:/^( {4}[^\n]+\n*)+/,fences:g,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ *(#{1,6}) *([^\n]+?) *#* *(?:\n+|$)/,nptable:g,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( *)(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/,html:/^ *(?:comment *(?:\n|\s*$)|closed *(?:\n{2,}|\s*$)|closing *(?:\n{2,}|\s*$))/,def:/^ {0,3}\[(label)\]: *\n? *<?([^\s>]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,table:g,lheading:/^([^\n]+)\n *(=|-){2,} *(?:\n+|$)/,paragraph:/^([^\n]+(?:\n?(?!hr|heading|lheading| {0,3}>|tag)[^\n]+)+)/,text:/^[^\n]+/};function r(e){this.tokens=[],this.tokens.links={},this.options=e||v.defaults,this.rules=n.normal,this.options.gfm&&(this.options.tables?this.rules=n.tables:this.rules=n.gfm)}n._label=/(?:\\[\[\]]|[^\[\]])+/,n._title=/(?:"(?:\\"|[^"]|"[^"\n]*")*"|'\n?(?:[^'\n]+\n?)*'|\([^()]*\))/,n.def=d(n.def).replace("label",n._label).replace("title",n._title).getRegex(),n.bullet=/(?:[*+-]|\d+\.)/,n.item=/^( *)(bull) [^\n]*(?:\n(?!\1bull )[^\n]*)*/,n.item=d(n.item,"gm").replace(/bull/g,n.bullet).getRegex(),n.list=d(n.list).replace(/bull/g,n.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+n.def.source+")").getRegex(),n._tag="(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b",n.html=d(n.html).replace("comment",/<!--[\s\S]*?-->/).replace("closed",/<(tag)[\s\S]+?<\/\1>/).replace("closing",/<tag(?:"[^"]*"|'[^']*'|\s[^'"\/>\s]*)*?\/?>/).replace(/tag/g,n._tag).getRegex(),n.paragraph=d(n.paragraph).replace("hr",n.hr).replace("heading",n.heading).replace("lheading",n.lheading).replace("tag","<"+n._tag).getRegex(),n.blockquote=d(n.blockquote).replace("paragraph",n.paragraph).getRegex(),n.normal=m({},n),n.gfm=m({},n.normal,{fences:/^ *(`{3,}|~{3,})[ \.]*(\S+)? *\n([\s\S]*?)\n? *\1 *(?:\n+|$)/,paragraph:/^/,heading:/^ *(#{1,6}) +([^\n]+?) *#* *(?:\n+|$)/}),n.gfm.paragraph=d(n.paragraph).replace("(?!","(?!"+n.gfm.fences.source.replace("\\1","\\2")+"|"+n.list.source.replace("\\1","\\3")+"|").getRegex(),n.tables=m({},n.gfm,{nptable:/^ *(\S.*\|.*)\n *([-:]+ *\|[-| :]*)\n((?:.*\|.*(?:\n|$))*)\n*/,table:/^ *\|(.+)\n *\|( *[-:]+[-| :]*)\n((?: *\|.*(?:\n|$))*)\n*/}),r.rules=n,r.lex=function(e,t){return new r(t).lex(e)},r.prototype.lex=function(e){return e=e.replace(/\r\n|\r/g,"\n").replace(/\t/g,"    ").replace(/\u00a0/g," ").replace(/\u2424/g,"\n"),this.token(e,!0)},r.prototype.token=function(e,t){var r,i,o,a,s,l,c,u,d,p,f;for(e=e.replace(/^ +$/gm,"");e;)if((o=this.rules.newline.exec(e))&&(e=e.substring(o[0].length),o[0].length>1&&this.tokens.push({type:"space"})),o=this.rules.code.exec(e))e=e.substring(o[0].length),o=o[0].replace(/^ {4}/gm,""),this.tokens.push({type:"code",text:this.options.pedantic?o:o.replace(/\n+$/,"")});else if(o=this.rules.fences.exec(e))e=e.substring(o[0].length),this.tokens.push({type:"code",lang:o[2],text:o[3]||""});else if(o=this.rules.heading.exec(e))e=e.substring(o[0].length),this.tokens.push({type:"heading",depth:o[1].length,text:o[2]});else if(t&&(o=this.rules.nptable.exec(e))){for(e=e.substring(o[0].length),l={type:"table",header:o[1].replace(/^ *| *\| *$/g,"").split(/ *\| */),align:o[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:o[3].replace(/\n$/,"").split("\n")},u=0;u<l.align.length;u++)/^ *-+: *$/.test(l.align[u])?l.align[u]="right":/^ *:-+: *$/.test(l.align[u])?l.align[u]="center":/^ *:-+ *$/.test(l.align[u])?l.align[u]="left":l.align[u]=null;for(u=0;u<l.cells.length;u++)l.cells[u]=l.cells[u].split(/ *\| */);this.tokens.push(l)}else if(o=this.rules.hr.exec(e))e=e.substring(o[0].length),this.tokens.push({type:"hr"});else if(o=this.rules.blockquote.exec(e))e=e.substring(o[0].length),this.tokens.push({type:"blockquote_start"}),o=o[0].replace(/^ *> ?/gm,""),this.token(o,t),this.tokens.push({type:"blockquote_end"});else if(o=this.rules.list.exec(e)){for(e=e.substring(o[0].length),f=(a=o[2]).length>1,this.tokens.push({type:"list_start",ordered:f,start:f?+a:""}),r=!1,p=(o=o[0].match(this.rules.item)).length,u=0;u<p;u++)c=(l=o[u]).length,~(l=l.replace(/^ *([*+-]|\d+\.) +/,"")).indexOf("\n ")&&(c-=l.length,l=this.options.pedantic?l.replace(/^ {1,4}/gm,""):l.replace(new RegExp("^ {1,"+c+"}","gm"),"")),this.options.smartLists&&u!==p-1&&(a===(s=n.bullet.exec(o[u+1])[0])||a.length>1&&s.length>1||(e=o.slice(u+1).join("\n")+e,u=p-1)),i=r||/\n\n(?!\s*$)/.test(l),u!==p-1&&(r="\n"===l.charAt(l.length-1),i||(i=r)),this.tokens.push({type:i?"loose_item_start":"list_item_start"}),this.token(l,!1),this.tokens.push({type:"list_item_end"});this.tokens.push({type:"list_end"})}else if(o=this.rules.html.exec(e))e=e.substring(o[0].length),this.tokens.push({type:this.options.sanitize?"paragraph":"html",pre:!this.options.sanitizer&&("pre"===o[1]||"script"===o[1]||"style"===o[1]),text:o[0]});else if(t&&(o=this.rules.def.exec(e)))e=e.substring(o[0].length),o[3]&&(o[3]=o[3].substring(1,o[3].length-1)),d=o[1].toLowerCase(),this.tokens.links[d]||(this.tokens.links[d]={href:o[2],title:o[3]});else if(t&&(o=this.rules.table.exec(e))){for(e=e.substring(o[0].length),l={type:"table",header:o[1].replace(/^ *| *\| *$/g,"").split(/ *\| */),align:o[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:o[3].replace(/(?: *\| *)?\n$/,"").split("\n")},u=0;u<l.align.length;u++)/^ *-+: *$/.test(l.align[u])?l.align[u]="right":/^ *:-+: *$/.test(l.align[u])?l.align[u]="center":/^ *:-+ *$/.test(l.align[u])?l.align[u]="left":l.align[u]=null;for(u=0;u<l.cells.length;u++)l.cells[u]=l.cells[u].replace(/^ *\| *| *\| *$/g,"").split(/ *\| */);this.tokens.push(l)}else if(o=this.rules.lheading.exec(e))e=e.substring(o[0].length),this.tokens.push({type:"heading",depth:"="===o[2]?1:2,text:o[1]});else if(t&&(o=this.rules.paragraph.exec(e)))e=e.substring(o[0].length),this.tokens.push({type:"paragraph",text:"\n"===o[1].charAt(o[1].length-1)?o[1].slice(0,-1):o[1]});else if(o=this.rules.text.exec(e))e=e.substring(o[0].length),this.tokens.push({type:"text",text:o[0]});else if(e)throw new Error("Infinite loop on byte: "+e.charCodeAt(0));return this.tokens};var i={escape:/^\\([\\`*{}\[\]()#+\-.!_>])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:g,tag:/^<!--[\s\S]*?-->|^<\/?[a-zA-Z0-9\-]+(?:"[^"]*"|'[^']*'|\s[^<'">\/\s]*)*?\/?>/,link:/^!?\[(inside)\]\(href\)/,reflink:/^!?\[(inside)\]\s*\[([^\]]*)\]/,nolink:/^!?\[((?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]])*)\]/,strong:/^__([\s\S]+?)__(?!_)|^\*\*([\s\S]+?)\*\*(?!\*)/,em:/^_([^\s_](?:[^_]|__)+?[^\s_])_\b|^\*((?:\*\*|[^*])+?)\*(?!\*)/,code:/^(`+)\s*([\s\S]*?[^`]?)\s*\1(?!`)/,br:/^ {2,}\n(?!\s*$)/,del:g,text:/^[\s\S]+?(?=[\\<!\[`*]|\b_| {2,}\n|$)/};function o(e,t){if(this.options=t||v.defaults,this.links=e,this.rules=i.normal,this.renderer=this.options.renderer||new a,this.renderer.options=this.options,!this.links)throw new Error("Tokens array requires a `links` property.");this.options.gfm?this.options.breaks?this.rules=i.breaks:this.rules=i.gfm:this.options.pedantic&&(this.rules=i.pedantic)}function a(e){this.options=e||{}}function s(){}function l(e){this.tokens=[],this.token=null,this.options=e||v.defaults,this.options.renderer=this.options.renderer||new a,this.renderer=this.options.renderer,this.renderer.options=this.options}function c(e,t){return e.replace(t?/&/g:/&(?!#?\w+;)/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#39;")}function u(e){return e.replace(/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi,function(e,t){return"colon"===(t=t.toLowerCase())?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""})}function d(e,t){return e=e.source,t=t||"",{replace:function(t,n){return n=(n=n.source||n).replace(/(^|[^\[])\^/g,"$1"),e=e.replace(t,n),this},getRegex:function(){return new RegExp(e,t)}}}function p(e,t){return f[" "+e]||(/^[^:]+:\/*[^/]*$/.test(e)?f[" "+e]=e+"/":f[" "+e]=e.replace(/[^/]*$/,"")),e=f[" "+e],"//"===t.slice(0,2)?e.replace(/:[\s\S]*/,":")+t:"/"===t.charAt(0)?e.replace(/(:\/*[^/]*)[\s\S]*/,"$1")+t:e+t}i._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,i._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[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])?)+(?![-_])/,i.autolink=d(i.autolink).replace("scheme",i._scheme).replace("email",i._email).getRegex(),i._inside=/(?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]]|\](?=[^\[]*\]))*/,i._href=/\s*<?([\s\S]*?)>?(?:\s+['"]([\s\S]*?)['"])?\s*/,i.link=d(i.link).replace("inside",i._inside).replace("href",i._href).getRegex(),i.reflink=d(i.reflink).replace("inside",i._inside).getRegex(),i.normal=m({},i),i.pedantic=m({},i.normal,{strong:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,em:/^_(?=\S)([\s\S]*?\S)_(?!_)|^\*(?=\S)([\s\S]*?\S)\*(?!\*)/}),i.gfm=m({},i.normal,{escape:d(i.escape).replace("])","~|])").getRegex(),url:d(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("email",i._email).getRegex(),_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^~~(?=\S)([\s\S]*?\S)~~/,text:d(i.text).replace("]|","~]|").replace("|","|https?://|ftp://|www\\.|[a-zA-Z0-9.!#$%&'*+/=?^_`{\\|}~-]+@|").getRegex()}),i.breaks=m({},i.gfm,{br:d(i.br).replace("{2,}","*").getRegex(),text:d(i.gfm.text).replace("{2,}","*").getRegex()}),o.rules=i,o.output=function(e,t,n){return new o(t,n).output(e)},o.prototype.output=function(e){for(var t,n,r,i,o="";e;)if(i=this.rules.escape.exec(e))e=e.substring(i[0].length),o+=i[1];else if(i=this.rules.autolink.exec(e))e=e.substring(i[0].length),r="@"===i[2]?"mailto:"+(n=c(this.mangle(i[1]))):n=c(i[1]),o+=this.renderer.link(r,null,n);else if(this.inLink||!(i=this.rules.url.exec(e))){if(i=this.rules.tag.exec(e))!this.inLink&&/^<a /i.test(i[0])?this.inLink=!0:this.inLink&&/^<\/a>/i.test(i[0])&&(this.inLink=!1),e=e.substring(i[0].length),o+=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(i[0]):c(i[0]):i[0];else if(i=this.rules.link.exec(e))e=e.substring(i[0].length),this.inLink=!0,o+=this.outputLink(i,{href:i[2],title:i[3]}),this.inLink=!1;else if((i=this.rules.reflink.exec(e))||(i=this.rules.nolink.exec(e))){if(e=e.substring(i[0].length),t=(i[2]||i[1]).replace(/\s+/g," "),!(t=this.links[t.toLowerCase()])||!t.href){o+=i[0].charAt(0),e=i[0].substring(1)+e;continue}this.inLink=!0,o+=this.outputLink(i,t),this.inLink=!1}else if(i=this.rules.strong.exec(e))e=e.substring(i[0].length),o+=this.renderer.strong(this.output(i[2]||i[1]));else if(i=this.rules.em.exec(e))e=e.substring(i[0].length),o+=this.renderer.em(this.output(i[2]||i[1]));else if(i=this.rules.code.exec(e))e=e.substring(i[0].length),o+=this.renderer.codespan(c(i[2].trim(),!0));else if(i=this.rules.br.exec(e))e=e.substring(i[0].length),o+=this.renderer.br();else if(i=this.rules.del.exec(e))e=e.substring(i[0].length),o+=this.renderer.del(this.output(i[1]));else if(i=this.rules.text.exec(e))e=e.substring(i[0].length),o+=this.renderer.text(c(this.smartypants(i[0])));else if(e)throw new Error("Infinite loop on byte: "+e.charCodeAt(0))}else i[0]=this.rules._backpedal.exec(i[0])[0],e=e.substring(i[0].length),"@"===i[2]?r="mailto:"+(n=c(i[0])):(n=c(i[0]),r="www."===i[1]?"http://"+n:n),o+=this.renderer.link(r,null,n);return o},o.prototype.outputLink=function(e,t){var n=c(t.href),r=t.title?c(t.title):null;return"!"!==e[0].charAt(0)?this.renderer.link(n,r,this.output(e[1])):this.renderer.image(n,r,c(e[1]))},o.prototype.smartypants=function(e){return this.options.smartypants?e.replace(/---/g,"—").replace(/--/g,"–").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1‘").replace(/'/g,"’").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1“").replace(/"/g,"”").replace(/\.{3}/g,"…"):e},o.prototype.mangle=function(e){if(!this.options.mangle)return e;for(var t,n="",r=e.length,i=0;i<r;i++)t=e.charCodeAt(i),Math.random()>.5&&(t="x"+t.toString(16)),n+="&#"+t+";";return n},a.prototype.code=function(e,t,n){if(this.options.highlight){var r=this.options.highlight(e,t);null!=r&&r!==e&&(n=!0,e=r)}return t?'<pre><code class="'+this.options.langPrefix+c(t,!0)+'">'+(n?e:c(e,!0))+"\n</code></pre>\n":"<pre><code>"+(n?e:c(e,!0))+"\n</code></pre>"},a.prototype.blockquote=function(e){return"<blockquote>\n"+e+"</blockquote>\n"},a.prototype.html=function(e){return e},a.prototype.heading=function(e,t,n){return"<h"+t+' id="'+this.options.headerPrefix+n.toLowerCase().replace(/[^\w]+/g,"-")+'">'+e+"</h"+t+">\n"},a.prototype.hr=function(){return this.options.xhtml?"<hr/>\n":"<hr>\n"},a.prototype.list=function(e,t,n){var r=t?"ol":"ul";return"<"+r+(t&&1!==n?' start="'+n+'"':"")+">\n"+e+"</"+r+">\n"},a.prototype.listitem=function(e){return"<li>"+e+"</li>\n"},a.prototype.paragraph=function(e){return"<p>"+e+"</p>\n"},a.prototype.table=function(e,t){return"<table>\n<thead>\n"+e+"</thead>\n<tbody>\n"+t+"</tbody>\n</table>\n"},a.prototype.tablerow=function(e){return"<tr>\n"+e+"</tr>\n"},a.prototype.tablecell=function(e,t){var n=t.header?"th":"td";return(t.align?"<"+n+' style="text-align:'+t.align+'">':"<"+n+">")+e+"</"+n+">\n"},a.prototype.strong=function(e){return"<strong>"+e+"</strong>"},a.prototype.em=function(e){return"<em>"+e+"</em>"},a.prototype.codespan=function(e){return"<code>"+e+"</code>"},a.prototype.br=function(){return this.options.xhtml?"<br/>":"<br>"},a.prototype.del=function(e){return"<del>"+e+"</del>"},a.prototype.link=function(e,t,n){if(this.options.sanitize){try{var r=decodeURIComponent(u(e)).replace(/[^\w:]/g,"").toLowerCase()}catch(e){return n}if(0===r.indexOf("javascript:")||0===r.indexOf("vbscript:")||0===r.indexOf("data:"))return n}this.options.baseUrl&&!h.test(e)&&(e=p(this.options.baseUrl,e));var i='<a href="'+e+'"';return t&&(i+=' title="'+t+'"'),i+=">"+n+"</a>"},a.prototype.image=function(e,t,n){this.options.baseUrl&&!h.test(e)&&(e=p(this.options.baseUrl,e));var r='<img src="'+e+'" alt="'+n+'"';return t&&(r+=' title="'+t+'"'),r+=this.options.xhtml?"/>":">"},a.prototype.text=function(e){return e},s.prototype.strong=s.prototype.em=s.prototype.codespan=s.prototype.del=s.prototype.text=function(e){return e},s.prototype.link=s.prototype.image=function(e,t,n){return""+n},s.prototype.br=function(){return""},l.parse=function(e,t){return new l(t).parse(e)},l.prototype.parse=function(e){this.inline=new o(e.links,this.options),this.inlineText=new o(e.links,m({},this.options,{renderer:new s})),this.tokens=e.reverse();for(var t="";this.next();)t+=this.tok();return t},l.prototype.next=function(){return this.token=this.tokens.pop()},l.prototype.peek=function(){return this.tokens[this.tokens.length-1]||0},l.prototype.parseText=function(){for(var e=this.token.text;"text"===this.peek().type;)e+="\n"+this.next().text;return this.inline.output(e)},l.prototype.tok=function(){switch(this.token.type){case"space":return"";case"hr":return this.renderer.hr();case"heading":return this.renderer.heading(this.inline.output(this.token.text),this.token.depth,u(this.inlineText.output(this.token.text)));case"code":return this.renderer.code(this.token.text,this.token.lang,this.token.escaped);case"table":var e,t,n,r,i="",o="";for(n="",e=0;e<this.token.header.length;e++)n+=this.renderer.tablecell(this.inline.output(this.token.header[e]),{header:!0,align:this.token.align[e]});for(i+=this.renderer.tablerow(n),e=0;e<this.token.cells.length;e++){for(t=this.token.cells[e],n="",r=0;r<t.length;r++)n+=this.renderer.tablecell(this.inline.output(t[r]),{header:!1,align:this.token.align[r]});o+=this.renderer.tablerow(n)}return this.renderer.table(i,o);case"blockquote_start":for(o="";"blockquote_end"!==this.next().type;)o+=this.tok();return this.renderer.blockquote(o);case"list_start":o="";for(var a=this.token.ordered,s=this.token.start;"list_end"!==this.next().type;)o+=this.tok();return this.renderer.list(o,a,s);case"list_item_start":for(o="";"list_item_end"!==this.next().type;)o+="text"===this.token.type?this.parseText():this.tok();return this.renderer.listitem(o);case"loose_item_start":for(o="";"list_item_end"!==this.next().type;)o+=this.tok();return this.renderer.listitem(o);case"html":var l=this.token.pre||this.options.pedantic?this.token.text:this.inline.output(this.token.text);return this.renderer.html(l);case"paragraph":return this.renderer.paragraph(this.inline.output(this.token.text));case"text":return this.renderer.paragraph(this.parseText())}};var f={},h=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function g(){}function m(e){for(var t,n,r=1;r<arguments.length;r++)for(n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}function v(e,t,n){if(void 0===e||null===e)throw new Error("marked(): input parameter is undefined or null");if("string"!=typeof e)throw new Error("marked(): input parameter is of type "+Object.prototype.toString.call(e)+", string expected");if(n||"function"==typeof t){n||(n=t,t=null);var i,o,a=(t=m({},v.defaults,t||{})).highlight,s=0;try{i=r.lex(e,t)}catch(e){return n(e)}o=i.length;var u=function(e){if(e)return t.highlight=a,n(e);var r;try{r=l.parse(i,t)}catch(t){e=t}return t.highlight=a,e?n(e):n(null,r)};if(!a||a.length<3)return u();if(delete t.highlight,!o)return u();for(;s<i.length;s++)!function(e){"code"!==e.type?--o||u():a(e.text,e.lang,function(t,n){return t?u(t):null==n||n===e.text?--o||u():(e.text=n,e.escaped=!0,void(--o||u()))})}(i[s])}else try{return t&&(t=m({},v.defaults,t)),l.parse(r.lex(e,t),t)}catch(e){if(e.message+="\nPlease report this to https://github.com/markedjs/marked.",(t||v.defaults).silent)return"<p>An error occurred:</p><pre>"+c(e.message+"",!0)+"</pre>";throw e}}g.exec=g,v.options=v.setOptions=function(e){return m(v.defaults,e),v},v.defaults={gfm:!0,tables:!0,breaks:!1,pedantic:!1,sanitize:!1,sanitizer:null,mangle:!0,smartLists:!1,silent:!1,highlight:null,langPrefix:"lang-",smartypants:!1,headerPrefix:"",renderer:new a,xhtml:!1,baseUrl:null},v.Parser=l,v.parser=l.parse,v.Renderer=a,v.TextRenderer=s,v.Lexer=r,v.lexer=r.lex,v.InlineLexer=o,v.inlineLexer=o.output,v.parse=v,e.exports=v}(this||"undefined"!=typeof window&&window)}).call(this,n(15))},function(e,t){e.exports=function(e){if(!e)return e;var t,n=e.replace(/\t/g,"  ").split(/\r?\n/),r=null,i=n.length;for(t=0;t<i;t++){var o=n[t],a=o.match(/^(\s*)/)[0].length;a!==o.length&&(r=a<r||null===r?a:r)}if(null!==r&&r>0)for(t=0;t<i;t++)n[t]=n[t].substr(r);return n.join("\n")}},function(e,t,n){"use strict";var r=n(190);function i(e,t,n){return{restrict:"AE",replace:!0,scope:{opts:"=",marked:"=",compile:"@",src:"="},link:function(i,o,a){function s(t){t=r(String(t||"")),o.html(e(t,i.opts||null)),i.$eval(a.compile)&&n(o.contents())(i.$parent)}a.marked?(s(i.marked),i.$watch("marked",s)):a.src?i.$watch("src",function(e){t(e,!0).then(function(e){s(e)},function(){s(""),i.$emit("$markedIncludeError",a.src)})}):s(o.text())}}}i.$inject=["marked","$templateRequest","$compile"],e.exports=angular.module("hc.marked",[]).directive("marked",i).provider("marked",function(){var e=this;e.setRenderer=function(e){this.renderer=e},e.setOptions=function(e){this.defaults=e},e.$get=["$log","$window",function(t,r){var i;try{i=n(189)}catch(e){i=r.marked||marked}if(!angular.isUndefined(i)){var o=new i.Renderer;if(e.renderer)for(var a=Object.keys(e.renderer),s=a.length;s--;)o[a[s]]=e.renderer[a[s]];var l=o.code.bind(o);o.code=function(e,t,n){return u(l(e,t,n))};var c=o.codespan.bind(o);return o.codespan=function(e){return u(c(e))},e.defaults=e.defaults||{},e.defaults.renderer=o,i.setOptions(e.defaults),i}function u(e){return"<span ng-non-bindable>"+e+"</span>"}t.error("angular-marked Error: marked not loaded.  See installation instructions.")}]}).name},function(e,t){
 /**
  * @license AngularJS v1.7.2
  * (c) 2010-2018 Google, Inc. http://angularjs.org
  * License: MIT
  */
-!function(e,t){"use strict";var n,r,i,o,a,s=t.module("ngRoute",[]).info({angularVersion:"1.7.2"}).provider("$route",function(){function e(e,n){return t.extend(Object.create(e),n)}n=t.isArray,r=t.isObject,i=t.isDefined,o=t.noop;var s={};function c(e,t){var n=t.caseInsensitiveMatch,r={originalPath:e,regexp:e},i=r.keys=[];return e=e.replace(/([().])/g,"\\$1").replace(/(\/)?:(\w+)(\*\?|[?*])?/g,function(e,t,n,r){var o="?"===r||"*?"===r?"?":null,a="*"===r||"*?"===r?"*":null;return i.push({name:n,optional:!!o}),t=t||"",(o?"":t)+"(?:"+(o?t:"")+(a?"(.+?)":"([^/]+)")+(o||"")+")"+(o||"")}).replace(/([/$*])/g,"\\$1"),r.regexp=new RegExp("^"+e+"$",n?"i":""),r}this.when=function(e,i){var o=function(e,t){if(n(e)){t=t||[];for(var i=0,o=e.length;i<o;i++)t[i]=e[i]}else if(r(e))for(var a in t=t||{},e)"$"===a.charAt(0)&&"$"===a.charAt(1)||(t[a]=e[a]);return t||e}(i);if(t.isUndefined(o.reloadOnUrl)&&(o.reloadOnUrl=!0),t.isUndefined(o.reloadOnSearch)&&(o.reloadOnSearch=!0),t.isUndefined(o.caseInsensitiveMatch)&&(o.caseInsensitiveMatch=this.caseInsensitiveMatch),s[e]=t.extend(o,e&&c(e,o)),e){var a="/"===e[e.length-1]?e.substr(0,e.length-1):e+"/";s[a]=t.extend({redirectTo:e},c(a,o))}return this},this.caseInsensitiveMatch=!1,this.otherwise=function(e){return"string"==typeof e&&(e={redirectTo:e}),this.when(null,e),this},a=!0,this.eagerInstantiationEnabled=function(e){return i(e)?(a=e,this):a},this.$get=["$rootScope","$location","$routeParams","$q","$injector","$templateRequest","$sce","$browser",function(n,r,i,a,c,u,d,p){var f,h,g=!1,m={routes:s,reload:function(){g=!0;var e={defaultPrevented:!1,preventDefault:function(){this.defaultPrevented=!0,g=!1}};n.$evalAsync(function(){v(e),e.defaultPrevented||b()})},updateParams:function(e){if(!this.current||!this.current.$$route)throw l("norout","Tried updating route with no current route");e=t.extend({},this.current.params,e),r.path(k(this.current.$$route.originalPath,e)),r.search(e)}};return n.$on("$locationChangeStart",v),n.$on("$locationChangeSuccess",b),m;function v(i){var o=m.current;f=function(){var n,i;return t.forEach(s,function(o,a){!i&&(n=function(e,t){var n=t.keys,r={};if(!t.regexp)return null;var i=t.regexp.exec(e);if(!i)return null;for(var o=1,a=i.length;o<a;++o){var s=n[o-1],l=i[o];s&&l&&(r[s.name]=l)}return r}(r.path(),o))&&((i=e(o,{params:t.extend({},r.search(),n),pathParams:n})).$$route=o)}),i||s.null&&e(s.null,{params:{},pathParams:{}})}(),(h=function(e,n){return!g&&e&&n&&e.$$route===n.$$route&&(!e.reloadOnUrl||!e.reloadOnSearch&&t.equals(e.pathParams,n.pathParams))}(f,o))||!o&&!f||n.$broadcast("$routeChangeStart",f,o).defaultPrevented&&i&&i.preventDefault()}function b(){var e=m.current,r=f;if(h)e.params=r.params,t.copy(e.params,i),n.$broadcast("$routeUpdate",e);else if(r||e){g=!1,m.current=r;var s=a.resolve(r);p.$$incOutstandingRequestCount(),s.then(y).then(x).then(function(o){return o&&s.then(w).then(function(o){r===m.current&&(r&&(r.locals=o,t.copy(r.params,i)),n.$broadcast("$routeChangeSuccess",r,e))})}).catch(function(t){r===m.current&&n.$broadcast("$routeChangeError",r,e,t)}).finally(function(){p.$$completeOutstandingRequest(o)})}}function y(e){var n={route:e,hasRedirection:!1};if(e)if(e.redirectTo)if(t.isString(e.redirectTo))n.path=k(e.redirectTo,e.params),n.search=e.params,n.hasRedirection=!0;else{var i=r.path(),o=r.search(),s=e.redirectTo(e.pathParams,i,o);t.isDefined(s)&&(n.url=s,n.hasRedirection=!0)}else if(e.resolveRedirectTo)return a.resolve(c.invoke(e.resolveRedirectTo)).then(function(e){return t.isDefined(e)&&(n.url=e,n.hasRedirection=!0),n});return n}function x(e){var t=!0;if(e.route!==m.current)t=!1;else if(e.hasRedirection){var n=r.url(),i=e.url;i?r.url(i).replace():i=r.path(e.path).search(e.search).replace().url(),i!==n&&(t=!1)}return t}function w(e){if(e){var n=t.extend({},e.resolve);t.forEach(n,function(e,r){n[r]=t.isString(e)?c.get(e):c.invoke(e,null,null,r)});var r=function(e){var n,r;t.isDefined(n=e.template)?t.isFunction(n)&&(n=n(e.params)):t.isDefined(r=e.templateUrl)&&(t.isFunction(r)&&(r=r(e.params)),t.isDefined(r)&&(e.loadedTemplateUrl=d.valueOf(r),n=u(r)));return n}(e);return t.isDefined(r)&&(n.$template=r),a.all(n)}}function k(e,n){var r=[];return t.forEach((e||"").split(":"),function(e,t){if(0===t)r.push(e);else{var i=e.match(/(\w+)(?:[?*])?(.*)/),o=i[1];r.push(n[o]),r.push(i[2]||""),delete n[o]}}),r.join("")}}]}).run(c),l=t.$$minErr("ngRoute");function c(e){a&&e.get("$route")}function u(e,n,r){return{restrict:"ECA",terminal:!0,priority:400,transclude:"element",link:function(i,o,a,s,l){var c,u,d,p=a.autoscroll,f=a.onload||"";function h(){d&&(r.cancel(d),d=null),c&&(c.$destroy(),c=null),u&&((d=r.leave(u)).done(function(e){!1!==e&&(d=null)}),u=null)}function g(){var a=e.current&&e.current.locals,s=a&&a.$template;if(t.isDefined(s)){var d=i.$new(),g=e.current,m=l(d,function(e){r.enter(e,null,u||o).done(function(e){!1===e||!t.isDefined(p)||p&&!i.$eval(p)||n()}),h()});u=m,(c=g.scope=d).$emit("$viewContentLoaded"),c.$eval(f)}else h()}i.$on("$routeChangeSuccess",g),g()}}}function d(e,t,n){return{restrict:"ECA",priority:-400,link:function(r,i){var o=n.current,a=o.locals;i.html(a.$template);var s=e(i.contents());if(o.controller){a.$scope=r;var l=t(o.controller,a);o.controllerAs&&(r[o.controllerAs]=l),i.data("$ngControllerController",l),i.children().data("$ngControllerController",l)}r[o.resolveAs||"$resolve"]=a,s(r)}}}c.$inject=["$injector"],s.provider("$routeParams",function(){this.$get=function(){return{}}}),s.directive("ngView",u),s.directive("ngView",d),u.$inject=["$route","$anchorScroll","$animate"],d.$inject=["$compile","$controller","$route"]}(window,window.angular)},function(e,t,n){n(180),e.exports="ngRoute"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(){}return e.prototype.dispose=function(e){},e}();t.UIRouterPluginBase=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(50),i=n(54),o=n(33),a=n(52),s=n(53),l=n(51),c=n(55),u=n(56),d=n(5);t.servicesPlugin=function(e){return d.services.$injector=c.$injector,d.services.$q=u.$q,{name:"vanilla.services",$q:u.$q,$injector:c.$injector,dispose:function(){return null}}},t.hashLocationPlugin=o.locationPluginFactory("vanilla.hashBangLocation",!1,i.HashLocationService,r.BrowserLocationConfig),t.pushStateLocationPlugin=o.locationPluginFactory("vanilla.pushStateLocation",!0,a.PushStateLocationService,r.BrowserLocationConfig),t.memoryLocationPlugin=o.locationPluginFactory("vanilla.memoryLocation",!1,s.MemoryLocationService,l.MemoryLocationConfig)},function(e,t,n){"use strict";function r(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),r(n(56)),r(n(55)),r(n(26)),r(n(54)),r(n(53)),r(n(52)),r(n(51)),r(n(50)),r(n(33)),r(n(183))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}(n(184))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}(n(61))},function(e,t,n){"use strict";function r(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),r(n(27)),r(n(64)),r(n(63)),r(n(62)),r(n(59))},function(e,t,n){"use strict";function r(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),r(n(17)),r(n(75)),r(n(37)),r(n(18)),r(n(30)),r(n(23)),r(n(57)),r(n(34))},function(e,t,n){"use strict";function r(e){if(!e.valid())throw new Error(e.error().toString())}Object.defineProperty(t,"__esModule",{value:!0}),t.registerInvalidTransitionHook=function(e){return e.onBefore({},r,{priority:-1e4})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(13),i=n(18);function o(e){var t=e._ignoredReason();if(t){r.trace.traceTransitionIgnored(e);var n=e.router.globals.transition;return"SameAsCurrent"===t&&n&&n.abort(),i.Rejection.ignored().toPromise()}}t.registerIgnoredTransitionHook=function(e){return e.onBefore({},o,{priority:-9999})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){var t=e.options(),n=e.router.stateService,r=e.router.urlRouter;if("url"!==t.source&&t.location&&n.$current.navigable){var i={replace:"replace"===t.location};r.push(n.$current.navigable.url,n.params,i)}r.update(!0)};t.registerUpdateUrl=function(e){return e.onSuccess({},r,{priority:9999})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),i=function(e){var t=e.router.globals,n=function(){t.transition===e&&(t.transition=null)};e.onSuccess({},function(){t.successfulTransitions.enqueue(e),t.$current=e.$to(),t.current=t.$current.self,r.copy(e.params(),t.params)},{priority:1e4}),e.promise.then(n,n)};t.registerUpdateGlobalState=function(e){return e.onCreate({},i)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),i=n(5),o=function(e){var t=i.services.$q,n=e.views("entering");if(n.length)return t.all(n.map(function(e){return t.when(e.load())})).then(r.noop)};t.registerLoadEnteringViews=function(e){return e.onFinish({},o)};var a=function(e){var t=e.views("entering"),n=e.views("exiting");if(t.length||n.length){var r=e.router.viewService;n.forEach(function(e){return r.deactivateViewConfig(e)}),t.forEach(function(e){return r.activateViewConfig(e)}),r.sync()}};t.registerActivateViews=function(e){return e.onSuccess({},a)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),i=n(28),o=n(3);t.RESOLVE_HOOK_PRIORITY=1e3;var a=function(e){return new i.ResolveContext(e.treeChanges().to).resolvePath("EAGER",e).then(r.noop)};t.registerEagerResolvePath=function(e){return e.onStart({},a,{priority:t.RESOLVE_HOOK_PRIORITY})};var s=function(e,t){return new i.ResolveContext(e.treeChanges().to).subContext(t.$$state()).resolvePath("LAZY",e).then(r.noop)};t.registerLazyResolveState=function(e){return e.onEnter({entering:o.val(!0)},s,{priority:t.RESOLVE_HOOK_PRIORITY})};var l=function(e){return new i.ResolveContext(e.treeChanges().to).resolvePath("LAZY",e).then(r.noop)};t.registerResolveRemaining=function(e){return e.onFinish({},l,{priority:t.RESOLVE_HOOK_PRIORITY})}},function(e,t,n){"use strict";function r(e){return function(t,n){return(0,n.$$state()[e])(t,n)}}Object.defineProperty(t,"__esModule",{value:!0});var i=r("onExit");t.registerOnExitHook=function(e){return e.onExit({exiting:function(e){return!!e.onExit}},i)};var o=r("onRetain");t.registerOnRetainHook=function(e){return e.onRetain({retained:function(e){return!!e.onRetain}},o)};var a=r("onEnter");t.registerOnEnterHook=function(e){return e.onEnter({entering:function(e){return!!e.onEnter}},a)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),i=n(5),o=n(16),a=function(e){var t=e.to().redirectTo;if(t){var n=e.router.stateService;return r.isFunction(t)?i.services.$q.when(t(e)).then(a):a(t)}function a(t){if(t)return t instanceof o.TargetState?t:r.isString(t)?n.target(t,e.params(),e.options()):t.state||t.params?n.target(t.state||e.to(),t.params||e.params(),e.options()):void 0}};t.registerRedirectToHook=function(e){return e.onStart({to:function(e){return!!e.redirectTo}},a)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(30),i=n(65),o=n(71),a=n(9);function s(e){e.addResolvable(o.Resolvable.fromData(i.UIRouter,e.router),""),e.addResolvable(o.Resolvable.fromData(r.Transition,e),""),e.addResolvable(o.Resolvable.fromData("$transition$",e),""),e.addResolvable(o.Resolvable.fromData("$stateParams",e.params()),""),e.entering().forEach(function(t){e.addResolvable(o.Resolvable.fromData("$state$",t),t)})}t.registerAddCoreResolvables=function(e){return e.onCreate({},s)};var l=["$transition$",r.Transition],c=a.inArray(l);t.treeChangesCleanup=function(e){var t=function(e){return c(e.token)?o.Resolvable.fromData(e.token,null):e};a.values(e.treeChanges()).reduce(a.unnestR,[]).reduce(a.uniqR,[]).forEach(function(e){e.resolvables=e.resolvables.map(t)})}},function(e,t,n){"use strict";function r(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),r(n(70)),r(n(40)),r(n(69)),r(n(68)),r(n(67)),r(n(66)),r(n(16))},function(e,t,n){"use strict";function r(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),r(n(36)),r(n(29))},function(e,t,n){"use strict";function r(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),r(n(15)),r(n(73)),r(n(72)),r(n(35))},function(e,t,n){"use strict";function r(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),r(n(9)),r(n(200)),r(n(199)),r(n(71)),r(n(198)),r(n(188)),r(n(187)),r(n(186)),r(n(60)),r(n(65)),r(n(185)),r(n(182))},function(e,t,n){
+!function(e,t){"use strict";var n,r,i,o,a,s=t.module("ngRoute",[]).info({angularVersion:"1.7.2"}).provider("$route",function(){function e(e,n){return t.extend(Object.create(e),n)}n=t.isArray,r=t.isObject,i=t.isDefined,o=t.noop;var s={};function c(e,t){var n=t.caseInsensitiveMatch,r={originalPath:e,regexp:e},i=r.keys=[];return e=e.replace(/([().])/g,"\\$1").replace(/(\/)?:(\w+)(\*\?|[?*])?/g,function(e,t,n,r){var o="?"===r||"*?"===r?"?":null,a="*"===r||"*?"===r?"*":null;return i.push({name:n,optional:!!o}),t=t||"",(o?"":t)+"(?:"+(o?t:"")+(a?"(.+?)":"([^/]+)")+(o||"")+")"+(o||"")}).replace(/([/$*])/g,"\\$1"),r.regexp=new RegExp("^"+e+"$",n?"i":""),r}this.when=function(e,i){var o=function(e,t){if(n(e)){t=t||[];for(var i=0,o=e.length;i<o;i++)t[i]=e[i]}else if(r(e))for(var a in t=t||{},e)"$"===a.charAt(0)&&"$"===a.charAt(1)||(t[a]=e[a]);return t||e}(i);if(t.isUndefined(o.reloadOnUrl)&&(o.reloadOnUrl=!0),t.isUndefined(o.reloadOnSearch)&&(o.reloadOnSearch=!0),t.isUndefined(o.caseInsensitiveMatch)&&(o.caseInsensitiveMatch=this.caseInsensitiveMatch),s[e]=t.extend(o,e&&c(e,o)),e){var a="/"===e[e.length-1]?e.substr(0,e.length-1):e+"/";s[a]=t.extend({redirectTo:e},c(a,o))}return this},this.caseInsensitiveMatch=!1,this.otherwise=function(e){return"string"==typeof e&&(e={redirectTo:e}),this.when(null,e),this},a=!0,this.eagerInstantiationEnabled=function(e){return i(e)?(a=e,this):a},this.$get=["$rootScope","$location","$routeParams","$q","$injector","$templateRequest","$sce","$browser",function(n,r,i,a,c,u,d,p){var f,h,g=!1,m={routes:s,reload:function(){g=!0;var e={defaultPrevented:!1,preventDefault:function(){this.defaultPrevented=!0,g=!1}};n.$evalAsync(function(){v(e),e.defaultPrevented||b()})},updateParams:function(e){if(!this.current||!this.current.$$route)throw l("norout","Tried updating route with no current route");e=t.extend({},this.current.params,e),r.path(k(this.current.$$route.originalPath,e)),r.search(e)}};return n.$on("$locationChangeStart",v),n.$on("$locationChangeSuccess",b),m;function v(i){var o=m.current;f=function(){var n,i;return t.forEach(s,function(o,a){!i&&(n=function(e,t){var n=t.keys,r={};if(!t.regexp)return null;var i=t.regexp.exec(e);if(!i)return null;for(var o=1,a=i.length;o<a;++o){var s=n[o-1],l=i[o];s&&l&&(r[s.name]=l)}return r}(r.path(),o))&&((i=e(o,{params:t.extend({},r.search(),n),pathParams:n})).$$route=o)}),i||s.null&&e(s.null,{params:{},pathParams:{}})}(),(h=function(e,n){return!g&&e&&n&&e.$$route===n.$$route&&(!e.reloadOnUrl||!e.reloadOnSearch&&t.equals(e.pathParams,n.pathParams))}(f,o))||!o&&!f||n.$broadcast("$routeChangeStart",f,o).defaultPrevented&&i&&i.preventDefault()}function b(){var e=m.current,r=f;if(h)e.params=r.params,t.copy(e.params,i),n.$broadcast("$routeUpdate",e);else if(r||e){g=!1,m.current=r;var s=a.resolve(r);p.$$incOutstandingRequestCount(),s.then(y).then(x).then(function(o){return o&&s.then(w).then(function(o){r===m.current&&(r&&(r.locals=o,t.copy(r.params,i)),n.$broadcast("$routeChangeSuccess",r,e))})}).catch(function(t){r===m.current&&n.$broadcast("$routeChangeError",r,e,t)}).finally(function(){p.$$completeOutstandingRequest(o)})}}function y(e){var n={route:e,hasRedirection:!1};if(e)if(e.redirectTo)if(t.isString(e.redirectTo))n.path=k(e.redirectTo,e.params),n.search=e.params,n.hasRedirection=!0;else{var i=r.path(),o=r.search(),s=e.redirectTo(e.pathParams,i,o);t.isDefined(s)&&(n.url=s,n.hasRedirection=!0)}else if(e.resolveRedirectTo)return a.resolve(c.invoke(e.resolveRedirectTo)).then(function(e){return t.isDefined(e)&&(n.url=e,n.hasRedirection=!0),n});return n}function x(e){var t=!0;if(e.route!==m.current)t=!1;else if(e.hasRedirection){var n=r.url(),i=e.url;i?r.url(i).replace():i=r.path(e.path).search(e.search).replace().url(),i!==n&&(t=!1)}return t}function w(e){if(e){var n=t.extend({},e.resolve);t.forEach(n,function(e,r){n[r]=t.isString(e)?c.get(e):c.invoke(e,null,null,r)});var r=function(e){var n,r;t.isDefined(n=e.template)?t.isFunction(n)&&(n=n(e.params)):t.isDefined(r=e.templateUrl)&&(t.isFunction(r)&&(r=r(e.params)),t.isDefined(r)&&(e.loadedTemplateUrl=d.valueOf(r),n=u(r)));return n}(e);return t.isDefined(r)&&(n.$template=r),a.all(n)}}function k(e,n){var r=[];return t.forEach((e||"").split(":"),function(e,t){if(0===t)r.push(e);else{var i=e.match(/(\w+)(?:[?*])?(.*)/),o=i[1];r.push(n[o]),r.push(i[2]||""),delete n[o]}}),r.join("")}}]}).run(c),l=t.$$minErr("ngRoute");function c(e){a&&e.get("$route")}function u(e,n,r){return{restrict:"ECA",terminal:!0,priority:400,transclude:"element",link:function(i,o,a,s,l){var c,u,d,p=a.autoscroll,f=a.onload||"";function h(){d&&(r.cancel(d),d=null),c&&(c.$destroy(),c=null),u&&((d=r.leave(u)).done(function(e){!1!==e&&(d=null)}),u=null)}function g(){var a=e.current&&e.current.locals,s=a&&a.$template;if(t.isDefined(s)){var d=i.$new(),g=e.current,m=l(d,function(e){r.enter(e,null,u||o).done(function(e){!1===e||!t.isDefined(p)||p&&!i.$eval(p)||n()}),h()});u=m,(c=g.scope=d).$emit("$viewContentLoaded"),c.$eval(f)}else h()}i.$on("$routeChangeSuccess",g),g()}}}function d(e,t,n){return{restrict:"ECA",priority:-400,link:function(r,i){var o=n.current,a=o.locals;i.html(a.$template);var s=e(i.contents());if(o.controller){a.$scope=r;var l=t(o.controller,a);o.controllerAs&&(r[o.controllerAs]=l),i.data("$ngControllerController",l),i.children().data("$ngControllerController",l)}r[o.resolveAs||"$resolve"]=a,s(r)}}}c.$inject=["$injector"],s.provider("$routeParams",function(){this.$get=function(){return{}}}),s.directive("ngView",u),s.directive("ngView",d),u.$inject=["$route","$anchorScroll","$animate"],d.$inject=["$compile","$controller","$route"]}(window,window.angular)},function(e,t,n){n(192),e.exports="ngRoute"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(){}return e.prototype.dispose=function(e){},e}();t.UIRouterPluginBase=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(50),i=n(54),o=n(33),a=n(52),s=n(53),l=n(51),c=n(55),u=n(56),d=n(6);t.servicesPlugin=function(e){return d.services.$injector=c.$injector,d.services.$q=u.$q,{name:"vanilla.services",$q:u.$q,$injector:c.$injector,dispose:function(){return null}}},t.hashLocationPlugin=o.locationPluginFactory("vanilla.hashBangLocation",!1,i.HashLocationService,r.BrowserLocationConfig),t.pushStateLocationPlugin=o.locationPluginFactory("vanilla.pushStateLocation",!0,a.PushStateLocationService,r.BrowserLocationConfig),t.memoryLocationPlugin=o.locationPluginFactory("vanilla.memoryLocation",!1,s.MemoryLocationService,l.MemoryLocationConfig)},function(e,t,n){"use strict";function r(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),r(n(56)),r(n(55)),r(n(26)),r(n(54)),r(n(53)),r(n(52)),r(n(51)),r(n(50)),r(n(33)),r(n(195))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}(n(196))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}(n(61))},function(e,t,n){"use strict";function r(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),r(n(27)),r(n(64)),r(n(63)),r(n(62)),r(n(59))},function(e,t,n){"use strict";function r(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),r(n(19)),r(n(75)),r(n(37)),r(n(20)),r(n(30)),r(n(24)),r(n(57)),r(n(34))},function(e,t,n){"use strict";function r(e){if(!e.valid())throw new Error(e.error().toString())}Object.defineProperty(t,"__esModule",{value:!0}),t.registerInvalidTransitionHook=function(e){return e.onBefore({},r,{priority:-1e4})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(14),i=n(20);function o(e){var t=e._ignoredReason();if(t){r.trace.traceTransitionIgnored(e);var n=e.router.globals.transition;return"SameAsCurrent"===t&&n&&n.abort(),i.Rejection.ignored().toPromise()}}t.registerIgnoredTransitionHook=function(e){return e.onBefore({},o,{priority:-9999})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){var t=e.options(),n=e.router.stateService,r=e.router.urlRouter;if("url"!==t.source&&t.location&&n.$current.navigable){var i={replace:"replace"===t.location};r.push(n.$current.navigable.url,n.params,i)}r.update(!0)};t.registerUpdateUrl=function(e){return e.onSuccess({},r,{priority:9999})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),i=function(e){var t=e.router.globals,n=function(){t.transition===e&&(t.transition=null)};e.onSuccess({},function(){t.successfulTransitions.enqueue(e),t.$current=e.$to(),t.current=t.$current.self,r.copy(e.params(),t.params)},{priority:1e4}),e.promise.then(n,n)};t.registerUpdateGlobalState=function(e){return e.onCreate({},i)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),i=n(6),o=function(e){var t=i.services.$q,n=e.views("entering");if(n.length)return t.all(n.map(function(e){return t.when(e.load())})).then(r.noop)};t.registerLoadEnteringViews=function(e){return e.onFinish({},o)};var a=function(e){var t=e.views("entering"),n=e.views("exiting");if(t.length||n.length){var r=e.router.viewService;n.forEach(function(e){return r.deactivateViewConfig(e)}),t.forEach(function(e){return r.activateViewConfig(e)}),r.sync()}};t.registerActivateViews=function(e){return e.onSuccess({},a)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),i=n(28),o=n(3);t.RESOLVE_HOOK_PRIORITY=1e3;var a=function(e){return new i.ResolveContext(e.treeChanges().to).resolvePath("EAGER",e).then(r.noop)};t.registerEagerResolvePath=function(e){return e.onStart({},a,{priority:t.RESOLVE_HOOK_PRIORITY})};var s=function(e,t){return new i.ResolveContext(e.treeChanges().to).subContext(t.$$state()).resolvePath("LAZY",e).then(r.noop)};t.registerLazyResolveState=function(e){return e.onEnter({entering:o.val(!0)},s,{priority:t.RESOLVE_HOOK_PRIORITY})};var l=function(e){return new i.ResolveContext(e.treeChanges().to).resolvePath("LAZY",e).then(r.noop)};t.registerResolveRemaining=function(e){return e.onFinish({},l,{priority:t.RESOLVE_HOOK_PRIORITY})}},function(e,t,n){"use strict";function r(e){return function(t,n){return(0,n.$$state()[e])(t,n)}}Object.defineProperty(t,"__esModule",{value:!0});var i=r("onExit");t.registerOnExitHook=function(e){return e.onExit({exiting:function(e){return!!e.onExit}},i)};var o=r("onRetain");t.registerOnRetainHook=function(e){return e.onRetain({retained:function(e){return!!e.onRetain}},o)};var a=r("onEnter");t.registerOnEnterHook=function(e){return e.onEnter({entering:function(e){return!!e.onEnter}},a)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),i=n(6),o=n(18),a=function(e){var t=e.to().redirectTo;if(t){var n=e.router.stateService;return r.isFunction(t)?i.services.$q.when(t(e)).then(a):a(t)}function a(t){if(t)return t instanceof o.TargetState?t:r.isString(t)?n.target(t,e.params(),e.options()):t.state||t.params?n.target(t.state||e.to(),t.params||e.params(),e.options()):void 0}};t.registerRedirectToHook=function(e){return e.onStart({to:function(e){return!!e.redirectTo}},a)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(30),i=n(65),o=n(71),a=n(10);function s(e){e.addResolvable(o.Resolvable.fromData(i.UIRouter,e.router),""),e.addResolvable(o.Resolvable.fromData(r.Transition,e),""),e.addResolvable(o.Resolvable.fromData("$transition$",e),""),e.addResolvable(o.Resolvable.fromData("$stateParams",e.params()),""),e.entering().forEach(function(t){e.addResolvable(o.Resolvable.fromData("$state$",t),t)})}t.registerAddCoreResolvables=function(e){return e.onCreate({},s)};var l=["$transition$",r.Transition],c=a.inArray(l);t.treeChangesCleanup=function(e){var t=function(e){return c(e.token)?o.Resolvable.fromData(e.token,null):e};a.values(e.treeChanges()).reduce(a.unnestR,[]).reduce(a.uniqR,[]).forEach(function(e){e.resolvables=e.resolvables.map(t)})}},function(e,t,n){"use strict";function r(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),r(n(70)),r(n(40)),r(n(69)),r(n(68)),r(n(67)),r(n(66)),r(n(18))},function(e,t,n){"use strict";function r(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),r(n(36)),r(n(29))},function(e,t,n){"use strict";function r(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),r(n(17)),r(n(73)),r(n(72)),r(n(35))},function(e,t,n){"use strict";function r(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),r(n(10)),r(n(212)),r(n(211)),r(n(71)),r(n(210)),r(n(200)),r(n(199)),r(n(198)),r(n(60)),r(n(65)),r(n(197)),r(n(194))},function(e,t,n){
 /**
  * State-based routing for AngularJS 1.x
  * This bundle requires the ui-router-core.js bundle from the @uirouter/core package.
@@ -115,12 +115,12 @@
  * @link https://ui-router.github.io
  * @license MIT License, http://www.opensource.org/licenses/MIT
  */
-!function(e,t,n){"use strict";var r=angular,i=t&&t.module?t:r;function o(){var e=null;return function(t,r){return e=e||n.services.$injector.get("$templateFactory"),[new c(t,r,e)]}}var a=function(e,t){return e.reduce(function(e,r){return e||n.isDefined(t[r])},!1)};function s(e){if(!e.parent)return{};var t=["component","bindings","componentProvider"],r=["templateProvider","templateUrl","template","notify","async"].concat(["controller","controllerProvider","controllerAs","resolveAs"]),i=t.concat(r);if(n.isDefined(e.views)&&a(i,e))throw new Error("State '"+e.name+"' has a 'views' object. It cannot also have \"view properties\" at the state level.  Move the following properties into a view (in the 'views' object):  "+i.filter(function(t){return n.isDefined(e[t])}).join(", "));var o={},s=e.views||{$default:n.pick(e,i)};return n.forEach(s,function(i,s){if(s=s||"$default",n.isString(i)&&(i={component:i}),i=n.extend({},i),a(t,i)&&a(r,i))throw new Error("Cannot combine: "+t.join("|")+" with: "+r.join("|")+" in stateview: '"+s+"@"+e.name+"'");i.resolveAs=i.resolveAs||"$resolve",i.$type="ng1",i.$context=e,i.$name=s;var l=n.ViewService.normalizeUIViewTarget(i.$context,i.$name);i.$uiViewName=l.uiViewName,i.$uiViewContextAnchor=l.uiViewContextAnchor,o[s]=i}),o}var l=0,c=function(){function e(e,t,n){var r=this;this.path=e,this.viewDecl=t,this.factory=n,this.$id=l++,this.loaded=!1,this.getTemplate=function(e,t){return r.component?r.factory.makeComponentTemplate(e,t,r.component,r.viewDecl.bindings):r.template}}return e.prototype.load=function(){var e=this,t=n.services.$q,r=new n.ResolveContext(this.path),i=this.path.reduce(function(e,t){return n.extend(e,t.paramValues)},{}),o={template:t.when(this.factory.fromConfig(this.viewDecl,i,r)),controller:t.when(this.getController(r))};return t.all(o).then(function(t){return n.trace.traceViewServiceEvent("Loaded",e),e.controller=t.controller,n.extend(e,t.template),e})},e.prototype.getController=function(e){var t=this.viewDecl.controllerProvider;if(!n.isInjectable(t))return this.viewDecl.controller;var r=n.services.$injector.annotate(t),i=n.isArray(t)?n.tail(t):t,o=new n.Resolvable("",i,r);return o.get(e)},e}(),u=function(){function e(){var e=this;this._useHttp=i.version.minor<3,this.$get=["$http","$templateCache","$injector",function(t,n,r){return e.$templateRequest=r.has&&r.has("$templateRequest")&&r.get("$templateRequest"),e.$http=t,e.$templateCache=n,e}]}return e.prototype.useHttpService=function(e){this._useHttp=e},e.prototype.fromConfig=function(e,t,r){var i=function(e){return n.services.$q.when(e).then(function(e){return{template:e}})},o=function(e){return n.services.$q.when(e).then(function(e){return{component:e}})};return n.isDefined(e.template)?i(this.fromString(e.template,t)):n.isDefined(e.templateUrl)?i(this.fromUrl(e.templateUrl,t)):n.isDefined(e.templateProvider)?i(this.fromProvider(e.templateProvider,t,r)):n.isDefined(e.component)?o(e.component):n.isDefined(e.componentProvider)?o(this.fromComponentProvider(e.componentProvider,t,r)):i("<ui-view></ui-view>")},e.prototype.fromString=function(e,t){return n.isFunction(e)?e(t):e},e.prototype.fromUrl=function(e,t){return n.isFunction(e)&&(e=e(t)),null==e?null:this._useHttp?this.$http.get(e,{cache:this.$templateCache,headers:{Accept:"text/html"}}).then(function(e){return e.data}):this.$templateRequest(e)},e.prototype.fromProvider=function(e,t,r){var i=n.services.$injector.annotate(e),o=n.isArray(e)?n.tail(e):e,a=new n.Resolvable("",o,i);return a.get(r)},e.prototype.fromComponentProvider=function(e,t,r){var i=n.services.$injector.annotate(e),o=n.isArray(e)?n.tail(e):e,a=new n.Resolvable("",o,i);return a.get(r)},e.prototype.makeComponentTemplate=function(e,t,r,o){o=o||{};var a=i.version.minor>=3?"::":"",s=function(e){var t=n.kebobString(e);return/^(x|data)-/.exec(t)?"x-"+t:t},l=function(e){var t=n.services.$injector.get(e+"Directive");if(!t||!t.length)throw new Error("Unable to find component named '"+e+"'");return t.map(d).reduce(n.unnestR,[])}(r).map(function(r){var i=r.name,l=r.type,c=s(i);if(e.attr(c)&&!o[i])return c+"='"+e.attr(c)+"'";var u=o[i]||i;if("@"===l)return c+"='{{"+a+"$resolve."+u+"}}'";if("&"===l){var d=t.getResolvable(u),p=d&&d.data,f=p&&n.services.$injector.annotate(p)||[],h=n.isArray(p)?"["+(p.length-1)+"]":"";return c+"='$resolve."+u+h+"("+f.join(",")+")'"}return c+"='"+a+"$resolve."+u+"'"}).join(" "),c=s(r);return"<"+c+" "+l+"></"+c+">"},e}(),d=function(e){return n.isObject(e.bindToController)?p(e.bindToController):p(e.scope)},p=function(e){return Object.keys(e||{}).map(function(t){return[t,/^([=<@&])[?]?(.*)/.exec(e[t])]}).filter(function(e){return n.isDefined(e)&&n.isArray(e[1])}).map(function(e){return{name:e[1][2]||e[0],type:e[1][1]}})},f=function(){function e(t,r){this.stateRegistry=t,this.stateService=r,n.createProxyFunctions(n.val(e.prototype),this,n.val(this))}return e.prototype.decorator=function(e,t){return this.stateRegistry.decorator(e,t)||this},e.prototype.state=function(e,t){return n.isObject(e)?t=e:t.name=e,this.stateRegistry.register(t),this},e.prototype.onInvalid=function(e){return this.stateService.onInvalid(e)},e}(),h=function(e){return function(t,r){var i=t[e],o="onExit"===e?"from":"to";return i?function(e,t){var r=new n.ResolveContext(e.treeChanges(o)).subContext(t.$$state()),a=n.extend(O(r),{$state$:t,$transition$:e});return n.services.$injector.invoke(i,this,a)}:void 0}},g=function(){function e(e){this._urlListeners=[],this.$locationProvider=e;var t=n.val(e);n.createProxyFunctions(t,this,t,["hashPrefix"])}return e.monkeyPatchPathParameterType=function(e){var t=e.urlMatcherFactory.type("path");t.encode=function(e){return null!=e?e.toString().replace(/(~|\/)/g,function(e){return{"~":"~~","/":"~2F"}[e]}):e},t.decode=function(e){return null!=e?e.toString().replace(/(~~|~2F)/g,function(e){return{"~~":"~","~2F":"/"}[e]}):e}},e.prototype.dispose=function(){},e.prototype.onChange=function(e){var t=this;return this._urlListeners.push(e),function(){return n.removeFrom(t._urlListeners)(e)}},e.prototype.html5Mode=function(){var e=this.$locationProvider.html5Mode();return(e=n.isObject(e)?e.enabled:e)&&this.$sniffer.history},e.prototype.url=function(e,t,r){return void 0===t&&(t=!1),n.isDefined(e)&&this.$location.url(e),t&&this.$location.replace(),r&&this.$location.state(r),this.$location.url()},e.prototype._runtimeServices=function(e,t,r,i){var o=this;this.$location=t,this.$sniffer=r,e.$on("$locationChangeSuccess",function(e){return o._urlListeners.forEach(function(t){return t(e)})});var a=n.val(t),s=n.val(i);n.createProxyFunctions(a,this,a,["replace","path","search","hash"]),n.createProxyFunctions(a,this,a,["port","protocol","host"]),n.createProxyFunctions(s,this,s,["baseHref"])},e}(),m=function(){function e(e){this._router=e,this._urlRouter=e.urlRouter}return e.injectableHandler=function(e,t){return function(r){return n.services.$injector.invoke(t,null,{$match:r,$stateParams:e.globals.params})}},e.prototype.$get=function(){var e=this._urlRouter;return e.update(!0),e.interceptDeferred||e.listen(),e},e.prototype.rule=function(e){var t=this;if(!n.isFunction(e))throw new Error("'rule' must be a function");var r=new n.BaseUrlRule(function(){return e(n.services.$injector,t._router.locationService)},n.identity);return this._urlRouter.rule(r),this},e.prototype.otherwise=function(e){var t=this,r=this._urlRouter;if(n.isString(e))r.otherwise(e);else{if(!n.isFunction(e))throw new Error("'rule' must be a string or function");r.otherwise(function(){return e(n.services.$injector,t._router.locationService)})}return this},e.prototype.when=function(t,r){return(n.isArray(r)||n.isFunction(r))&&(r=e.injectableHandler(this._router,r)),this._urlRouter.when(t,r),this},e.prototype.deferIntercept=function(e){this._urlRouter.deferIntercept(e)},e}();i.module("ui.router.angular1",[]);var v=i.module("ui.router.init",["ng"]),b=i.module("ui.router.util",["ui.router.init"]),y=i.module("ui.router.router",["ui.router.util"]),x=i.module("ui.router.state",["ui.router.router","ui.router.util","ui.router.angular1"]),w=i.module("ui.router",["ui.router.init","ui.router.state","ui.router.angular1"]),k=(i.module("ui.router.compat",["ui.router"]),null);function _(e){(k=this.router=new n.UIRouter).stateProvider=new f(k.stateRegistry,k.stateService),k.stateRegistry.decorator("views",s),k.stateRegistry.decorator("onExit",h("onExit")),k.stateRegistry.decorator("onRetain",h("onRetain")),k.stateRegistry.decorator("onEnter",h("onEnter")),k.viewService._pluginapi._viewConfigFactory("ng1",o());var t=k.locationService=k.locationConfig=new g(e);function r(e,n,r,i,o,a){return t._runtimeServices(i,e,r,n),delete k.router,delete k.$get,k}return g.monkeyPatchPathParameterType(k),k.router=k,k.$get=r,r.$inject=["$location","$browser","$sniffer","$rootScope","$http","$templateCache"],k}_.$inject=["$locationProvider"];var $=function(e){return["$uiRouterProvider",function(t){var n=t.router[e];return n.$get=function(){return n},n}]};function E(e,t,r){n.services.$injector=e,n.services.$q=t,r.stateRegistry.get().map(function(e){return e.$$state().resolvables}).reduce(n.unnestR,[]).filter(function(e){return"deferred"===e.deps}).forEach(function(t){return t.deps=e.annotate(t.resolveFn,e.strictDi)})}function S(e){e.$watch(function(){n.trace.approximateDigests++})}E.$inject=["$injector","$q","$uiRouter"],S.$inject=["$rootScope"],v.provider("$uiRouter",_),y.provider("$urlRouter",["$uiRouterProvider",function(e){return e.urlRouterProvider=new m(e)}]),b.provider("$urlService",$("urlService")),b.provider("$urlMatcherFactory",["$uiRouterProvider",function(){return k.urlMatcherFactory}]),b.provider("$templateFactory",function(){return new u}),x.provider("$stateRegistry",$("stateRegistry")),x.provider("$uiRouterGlobals",$("globals")),x.provider("$transitions",$("transitionService")),x.provider("$state",["$uiRouterProvider",function(){return n.extend(k.stateProvider,{$get:function(){return k.stateService}})}]),x.factory("$stateParams",["$uiRouter",function(e){return e.globals.params}]),w.factory("$view",function(){return k.viewService}),w.service("$trace",function(){return n.trace}),w.run(S),b.run(["$urlMatcherFactory",function(e){}]),x.run(["$state",function(e){}]),y.run(["$urlRouter",function(e){}]),v.run(E);var C,T,A,P,O=function(e){var t=e.getTokens().filter(n.isString),r=t.map(function(t){var n=e.getResolvable(t),r=e.getPolicy(n).async;return[t,"NOWAIT"===r?n.promise:n.data]});return r.reduce(n.applyPairs,{})};function R(e){var t,n=e.match(/^\s*({[^}]*})\s*$/);if(n&&(e="("+n[1]+")"),!(t=e.replace(/\n/g," ").match(/^\s*([^(]*?)\s*(\((.*)\))?\s*$/))||4!==t.length)throw new Error("Invalid state ref '"+e+"'");return{state:t[1]||null,paramExpr:t[3]||null}}function j(e){var t=e.parent().inheritedData("$uiView"),r=n.parse("$cfg.path")(t);return r?n.tail(r).state.name:void 0}function D(e,t,r){var i=r.uiState||e.current.name,o=n.extend(function(e,t){return{relative:j(e)||t.$current,inherit:!0,source:"sref"}}(t,e),r.uiStateOpts||{}),a=e.href(i,r.uiStateParams,o);return{uiState:i,uiStateParams:r.uiStateParams,uiStateOpts:o,href:a}}function I(e){var t="[object SVGAnimatedString]"===Object.prototype.toString.call(e.prop("href")),n="FORM"===e[0].nodeName;return{attr:n?"action":t?"xlink:href":"href",isAnchor:"A"===e.prop("tagName").toUpperCase(),clickable:!n}}function N(e,t,n,r,i){return function(o){var a=o.which||o.button,s=i();if(!(a>1||o.ctrlKey||o.metaKey||o.shiftKey||e.attr("target"))){var l=n(function(){e.attr("disabled")||t.go(s.uiState,s.uiStateParams,s.uiStateOpts)});o.preventDefault();var c=r.isAnchor&&!s.href?1:0;o.preventDefault=function(){c--<=0&&n.cancel(l)}}}}function M(e,t,r,i){var o;i&&(o=i.events),n.isArray(o)||(o=["click"]);for(var a=e.on?"on":"bind",s=0,l=o;s<l.length;s++){var c=l[s];e[a](c,r)}t.$on("$destroy",function(){for(var t=e.off?"off":"unbind",n=0,i=o;n<i.length;n++){var a=i[n];e[t](a,r)}})}function z(e){var t=function(t,n,r){return e.is(t,n,r)};return t.$stateful=!0,t}function L(e){var t=function(t,n,r){return e.includes(t,n,r)};return t.$stateful=!0,t}function q(e,t,r,o,a,s){var l=n.parse("viewDecl.controllerAs"),c=n.parse("viewDecl.resolveAs");return{restrict:"ECA",priority:-400,compile:function(o){var s=o.html();return o.empty(),function(o,u){var d=u.data("$uiView");if(!d)return u.html(s),void e(u.contents())(o);var p=d.$cfg||{viewDecl:{},getTemplate:n.noop},f=p.path&&new n.ResolveContext(p.path);u.html(p.getTemplate(u,f)||s),n.trace.traceUIViewFill(d.$uiView,u.html());var h=e(u.contents()),g=p.controller,m=l(p),v=c(p),b=f&&O(f);if(o[v]=b,g){var y=t(g,n.extend({},b,{$scope:o,$element:u}));m&&(o[m]=y,o[m][v]=b),u.data("$ngControllerController",y),u.children().data("$ngControllerController",y),F(a,r,y,o,p)}if(n.isString(p.viewDecl.component))var x=p.viewDecl.component,w=n.kebobString(x),k=new RegExp("^(x-|data-)?"+w+"$","i"),_=o.$watch(function(){var e=[].slice.call(u[0].children).filter(function(e){return e&&e.tagName&&k.exec(e.tagName)});return e&&i.element(e).data("$"+x+"Controller")},function(e){e&&(F(a,r,e,o,p),_())});h(o)}}}}C=["$uiRouter","$timeout",function(e,t){var r=e.stateService;return{restrict:"A",require:["?^uiSrefActive","?^uiSrefActiveEq"],link:function(i,o,a,s){var l,c=I(o),u=s[1]||s[0],d=null,p={},f=function(){return D(r,o,p)},h=R(a.uiSref);function g(){var e=f();d&&d(),u&&(d=u.$$addStateInfo(e.uiState,e.uiStateParams)),null!=e.href&&a.$set(c.attr,e.href)}p.uiState=h.state,p.uiStateOpts=a.uiSrefOpts?i.$eval(a.uiSrefOpts):{},h.paramExpr&&(i.$watch(h.paramExpr,function(e){p.uiStateParams=n.extend({},e),g()},!0),p.uiStateParams=n.extend({},i.$eval(h.paramExpr))),g(),i.$on("$destroy",e.stateRegistry.onStatesChanged(g)),i.$on("$destroy",e.transitionService.onSuccess({},g)),c.clickable&&(l=N(o,r,t,c,f),M(o,i,l,p.uiStateOpts))}}}],T=["$uiRouter","$timeout",function(e,t){var r=e.stateService;return{restrict:"A",require:["?^uiSrefActive","?^uiSrefActiveEq"],link:function(i,o,a,s){var l,c=I(o),u=s[1]||s[0],d=null,p={},f=function(){return D(r,o,p)},h=["uiState","uiStateParams","uiStateOpts"],g=h.reduce(function(e,t){return e[t]=n.noop,e},{});function m(){var e=f();d&&d(),u&&(d=u.$$addStateInfo(e.uiState,e.uiStateParams)),null!=e.href&&a.$set(c.attr,e.href)}h.forEach(function(e){p[e]=a[e]?i.$eval(a[e]):null,a.$observe(e,function(t){g[e](),g[e]=i.$watch(t,function(t){p[e]=t,m()},!0)})}),m(),i.$on("$destroy",e.stateRegistry.onStatesChanged(m)),i.$on("$destroy",e.transitionService.onSuccess({},m)),c.clickable&&(l=N(o,r,t,c,f),M(o,i,l,p.uiStateOpts))}}}],A=["$state","$stateParams","$interpolate","$uiRouter",function(e,t,r,i){return{restrict:"A",controller:["$scope","$element","$attrs",function(t,o,a){var s,l,c=[];s=r(a.uiSrefActiveEq||"",!1)(t);try{l=t.$eval(a.uiSrefActive)}catch(e){}function u(e){e.promise.then(h,n.noop)}function d(){p(l)}function p(e){n.isObject(e)&&(c=[],n.forEach(e,function(e,r){var i=function(e,n){var r=R(e);f(r.state,t.$eval(r.paramExpr),n)};n.isString(e)?i(e,r):n.isArray(e)&&n.forEach(e,function(e){i(e,r)})}))}function f(t,r,i){var a=e.get(t,j(o)),s={state:a||{name:t},params:r,activeClass:i};return c.push(s),function(){n.removeFrom(c)(s)}}function h(){var r=function(e){return e.split(/\s/).filter(n.identity)},i=function(e){return e.map(function(e){return e.activeClass}).map(r).reduce(n.unnestR,[])},a=i(c).concat(r(s)).reduce(n.uniqR,[]),l=i(c.filter(function(t){return e.includes(t.state.name,t.params)})),u=!!c.filter(function(t){return e.is(t.state.name,t.params)}).length,d=u?r(s):[],p=l.concat(d).reduce(n.uniqR,[]),f=a.filter(function(e){return!n.inArray(p,e)});t.$evalAsync(function(){p.forEach(function(e){return o.addClass(e)}),f.forEach(function(e){return o.removeClass(e)})})}p(l=l||r(a.uiSrefActive||"",!1)(t)),this.$$addStateInfo=function(e,t){if(!(n.isObject(l)&&c.length>0)){var r=f(e,t,l);return h(),r}},t.$on("$destroy",function(){var e=i.stateRegistry.onStatesChanged(d),n=i.transitionService.onStart({},u),r=t.$on("$stateChangeSuccess",h);return function(){e(),n(),r()}}()),i.globals.transition&&u(i.globals.transition),h()}]}}],i.module("ui.router.state").directive("uiSref",C).directive("uiSrefActive",A).directive("uiSrefActiveEq",A).directive("uiState",T),z.$inject=["$state"],L.$inject=["$state"],i.module("ui.router.state").filter("isState",z).filter("includedByState",L),P=["$view","$animate","$uiViewScroll","$interpolate","$q",function(e,t,r,o,a){var s={$cfg:{viewDecl:{$context:e._pluginapi._rootViewContext()}},$uiView:{}},l={count:0,restrict:"ECA",terminal:!0,priority:400,transclude:"element",compile:function(u,d,p){return function(u,d,f){var h,g,m,v,b,y=f.onload||"",x=f.autoscroll,w={enter:function(e,n,r){i.version.minor>2?t.enter(e,null,n).then(r):t.enter(e,null,n,r)},leave:function(e,n){i.version.minor>2?t.leave(e).then(n):t.leave(e,n)}},k=d.inheritedData("$uiView")||s,_=o(f.uiView||f.name||"")(u)||"$default",$={$type:"ng1",id:l.count++,name:_,fqn:k.$uiView.fqn?k.$uiView.fqn+"."+_:_,config:null,configUpdated:function(e){(!e||e instanceof c)&&(function(e,t){return e===t}(v,e)||(n.trace.traceUIViewConfigUpdated($,e&&e.viewDecl&&e.viewDecl.$context),v=e,E(e)))},get creationContext(){var e=n.parse("$cfg.viewDecl.$context")(k),t=n.parse("$uiView.creationContext")(k);return e||t}};function E(e){var t=u.$new(),i=a.defer(),o=a.defer(),s={$cfg:e,$uiView:$},l={$animEnter:i.promise,$animLeave:o.promise,$$animLeave:o};t.$emit("$viewContentLoading",_);var c=p(t,function(e){e.data("$uiViewAnim",l),e.data("$uiView",s),w.enter(e,d,function(){i.resolve(),m&&m.$emit("$viewContentAnimationEnded"),(n.isDefined(x)&&!x||u.$eval(x))&&r(e)}),function(){if(h&&(n.trace.traceUIViewEvent("Removing (previous) el",h.data("$uiView")),h.remove(),h=null),m&&(n.trace.traceUIViewEvent("Destroying scope",$),m.$destroy(),m=null),g){var e=g.data("$uiViewAnim");n.trace.traceUIViewEvent("Animate out",e),w.leave(g,function(){e.$$animLeave.resolve(),h=null}),h=g,g=null}}()});g=c,(m=t).$emit("$viewContentLoaded",e||v),m.$eval(y)}n.trace.traceUIViewEvent("Linking",$),d.data("$uiView",{$uiView:$}),E(),b=e.registerUIView($),u.$on("$destroy",function(){n.trace.traceUIViewEvent("Destroying/Unregistering",$),b()})}}};return l}],q.$inject=["$compile","$controller","$transitions","$view","$q","$timeout"];var B="function"==typeof i.module("ui.router").component,V=0;function F(e,t,r,i,o){!n.isFunction(r.$onInit)||o.viewDecl.component&&B||r.$onInit();var a=n.tail(o.path).state.self,s={bind:r};if(n.isFunction(r.uiOnParamsChanged)){var l=new n.ResolveContext(o.path),c=l.getResolvable("$transition$").data;i.$on("$destroy",t.onSuccess({},function(e){if(e!==c&&-1===e.exiting().indexOf(a)){var t=e.params("to"),i=e.params("from"),o=function(e){return e.paramSchema},s=e.treeChanges("to").map(o).reduce(n.unnestR,[]),l=e.treeChanges("from").map(o).reduce(n.unnestR,[]),u=s.filter(function(e){var n=l.indexOf(e);return-1===n||!l[n].type.equals(t[e.id],i[e.id])});if(u.length){var d=u.map(function(e){return e.id}),p=n.filter(t,function(e,t){return-1!==d.indexOf(t)});r.uiOnParamsChanged(p,e)}}},s))}if(n.isFunction(r.uiCanExit)){var u=V++,d=function(e){return!!e&&(e._uiCanExitIds&&!0===e._uiCanExitIds[u]||d(e.redirectedFrom()))},p={exiting:a.name};i.$on("$destroy",t.onBefore(p,function(t){var n,i=t._uiCanExitIds=t._uiCanExitIds||{};return d(t)||(n=e.when(r.uiCanExit(t))).then(function(e){return i[u]=!1!==e}),n},s))}}i.module("ui.router.state").directive("uiView",P),i.module("ui.router.state").directive("uiView",q),i.module("ui.router.state").provider("$uiViewScroll",function(){var e=!1;this.useAnchorScroll=function(){e=!0},this.$get=["$anchorScroll","$timeout",function(t,n){return e?t:function(e){return n(function(){e[0].scrollIntoView()},0,!1)}}]}),Object.keys(n).forEach(function(t){e[t]=n[t]}),e.core=n,e.default="ui.router",e.watchDigests=S,e.getLocals=O,e.getNg1ViewConfigFactory=o,e.ng1ViewsBuilder=s,e.Ng1ViewConfig=c,e.StateProvider=f,e.UrlRouterProvider=m,Object.defineProperty(e,"__esModule",{value:!0})}(t,n(4),n(201))},function(e,t){!function(e){"use strict";var t=function(e,t){this.init("popover",e,t)};if(!e.fn.tooltip)throw new Error("Popover requires tooltip.js");t.VERSION="3.3.7",t.DEFAULTS=e.extend({},e.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}),t.prototype=e.extend({},e.fn.tooltip.Constructor.prototype),t.prototype.constructor=t,t.prototype.getDefaults=function(){return t.DEFAULTS},t.prototype.setContent=function(){var e=this.tip(),t=this.getTitle(),n=this.getContent();e.find(".popover-title")[this.options.html?"html":"text"](t),e.find(".popover-content").children().detach().end()[this.options.html?"string"==typeof n?"html":"append":"text"](n),e.removeClass("fade top bottom left right in"),e.find(".popover-title").html()||e.find(".popover-title").hide()},t.prototype.hasContent=function(){return this.getTitle()||this.getContent()},t.prototype.getContent=function(){var e=this.$element,t=this.options;return e.attr("data-content")||("function"==typeof t.content?t.content.call(e[0]):t.content)},t.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};var n=e.fn.popover;e.fn.popover=function(n){return this.each(function(){var r=e(this),i=r.data("bs.popover"),o="object"==typeof n&&n;!i&&/destroy|hide/.test(n)||(i||r.data("bs.popover",i=new t(this,o)),"string"==typeof n&&i[n]())})},e.fn.popover.Constructor=t,e.fn.popover.noConflict=function(){return e.fn.popover=n,this}}(jQuery)},function(e,t){!function(e){"use strict";var t=function(e,t){this.type=null,this.options=null,this.enabled=null,this.timeout=null,this.hoverState=null,this.$element=null,this.inState=null,this.init("tooltip",e,t)};t.VERSION="3.3.7",t.TRANSITION_DURATION=150,t.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}},t.prototype.init=function(t,n,r){if(this.enabled=!0,this.type=t,this.$element=e(n),this.options=this.getOptions(r),this.$viewport=this.options.viewport&&e(e.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var i=this.options.trigger.split(" "),o=i.length;o--;){var a=i[o];if("click"==a)this.$element.on("click."+this.type,this.options.selector,e.proxy(this.toggle,this));else if("manual"!=a){var s="hover"==a?"mouseenter":"focusin",l="hover"==a?"mouseleave":"focusout";this.$element.on(s+"."+this.type,this.options.selector,e.proxy(this.enter,this)),this.$element.on(l+"."+this.type,this.options.selector,e.proxy(this.leave,this))}}this.options.selector?this._options=e.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},t.prototype.getDefaults=function(){return t.DEFAULTS},t.prototype.getOptions=function(t){return(t=e.extend({},this.getDefaults(),this.$element.data(),t)).delay&&"number"==typeof t.delay&&(t.delay={show:t.delay,hide:t.delay}),t},t.prototype.getDelegateOptions=function(){var t={},n=this.getDefaults();return this._options&&e.each(this._options,function(e,r){n[e]!=r&&(t[e]=r)}),t},t.prototype.enter=function(t){var n=t instanceof this.constructor?t:e(t.currentTarget).data("bs."+this.type);if(n||(n=new this.constructor(t.currentTarget,this.getDelegateOptions()),e(t.currentTarget).data("bs."+this.type,n)),t instanceof e.Event&&(n.inState["focusin"==t.type?"focus":"hover"]=!0),n.tip().hasClass("in")||"in"==n.hoverState)n.hoverState="in";else{if(clearTimeout(n.timeout),n.hoverState="in",!n.options.delay||!n.options.delay.show)return n.show();n.timeout=setTimeout(function(){"in"==n.hoverState&&n.show()},n.options.delay.show)}},t.prototype.isInStateTrue=function(){for(var e in this.inState)if(this.inState[e])return!0;return!1},t.prototype.leave=function(t){var n=t instanceof this.constructor?t:e(t.currentTarget).data("bs."+this.type);if(n||(n=new this.constructor(t.currentTarget,this.getDelegateOptions()),e(t.currentTarget).data("bs."+this.type,n)),t instanceof e.Event&&(n.inState["focusout"==t.type?"focus":"hover"]=!1),!n.isInStateTrue()){if(clearTimeout(n.timeout),n.hoverState="out",!n.options.delay||!n.options.delay.hide)return n.hide();n.timeout=setTimeout(function(){"out"==n.hoverState&&n.hide()},n.options.delay.hide)}},t.prototype.show=function(){var n=e.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(n);var r=e.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(n.isDefaultPrevented()||!r)return;var i=this,o=this.tip(),a=this.getUID(this.type);this.setContent(),o.attr("id",a),this.$element.attr("aria-describedby",a),this.options.animation&&o.addClass("fade");var s="function"==typeof this.options.placement?this.options.placement.call(this,o[0],this.$element[0]):this.options.placement,l=/\s?auto?\s?/i,c=l.test(s);c&&(s=s.replace(l,"")||"top"),o.detach().css({top:0,left:0,display:"block"}).addClass(s).data("bs."+this.type,this),this.options.container?o.appendTo(this.options.container):o.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var u=this.getPosition(),d=o[0].offsetWidth,p=o[0].offsetHeight;if(c){var f=s,h=this.getPosition(this.$viewport);s="bottom"==s&&u.bottom+p>h.bottom?"top":"top"==s&&u.top-p<h.top?"bottom":"right"==s&&u.right+d>h.width?"left":"left"==s&&u.left-d<h.left?"right":s,o.removeClass(f).addClass(s)}var g=this.getCalculatedOffset(s,u,d,p);this.applyPlacement(g,s);var m=function(){var e=i.hoverState;i.$element.trigger("shown.bs."+i.type),i.hoverState=null,"out"==e&&i.leave(i)};e.support.transition&&this.$tip.hasClass("fade")?o.one("bsTransitionEnd",m).emulateTransitionEnd(t.TRANSITION_DURATION):m()}},t.prototype.applyPlacement=function(t,n){var r=this.tip(),i=r[0].offsetWidth,o=r[0].offsetHeight,a=parseInt(r.css("margin-top"),10),s=parseInt(r.css("margin-left"),10);isNaN(a)&&(a=0),isNaN(s)&&(s=0),t.top+=a,t.left+=s,e.offset.setOffset(r[0],e.extend({using:function(e){r.css({top:Math.round(e.top),left:Math.round(e.left)})}},t),0),r.addClass("in");var l=r[0].offsetWidth,c=r[0].offsetHeight;"top"==n&&c!=o&&(t.top=t.top+o-c);var u=this.getViewportAdjustedDelta(n,t,l,c);u.left?t.left+=u.left:t.top+=u.top;var d=/top|bottom/.test(n),p=d?2*u.left-i+l:2*u.top-o+c,f=d?"offsetWidth":"offsetHeight";r.offset(t),this.replaceArrow(p,r[0][f],d)},t.prototype.replaceArrow=function(e,t,n){this.arrow().css(n?"left":"top",50*(1-e/t)+"%").css(n?"top":"left","")},t.prototype.setContent=function(){var e=this.tip(),t=this.getTitle();e.find(".tooltip-inner")[this.options.html?"html":"text"](t),e.removeClass("fade in top bottom left right")},t.prototype.hide=function(n){var r=this,i=e(this.$tip),o=e.Event("hide.bs."+this.type);function a(){"in"!=r.hoverState&&i.detach(),r.$element&&r.$element.removeAttr("aria-describedby").trigger("hidden.bs."+r.type),n&&n()}if(this.$element.trigger(o),!o.isDefaultPrevented())return i.removeClass("in"),e.support.transition&&i.hasClass("fade")?i.one("bsTransitionEnd",a).emulateTransitionEnd(t.TRANSITION_DURATION):a(),this.hoverState=null,this},t.prototype.fixTitle=function(){var e=this.$element;(e.attr("title")||"string"!=typeof e.attr("data-original-title"))&&e.attr("data-original-title",e.attr("title")||"").attr("title","")},t.prototype.hasContent=function(){return this.getTitle()},t.prototype.getPosition=function(t){var n=(t=t||this.$element)[0],r="BODY"==n.tagName,i=n.getBoundingClientRect();null==i.width&&(i=e.extend({},i,{width:i.right-i.left,height:i.bottom-i.top}));var o=window.SVGElement&&n instanceof window.SVGElement,a=r?{top:0,left:0}:o?null:t.offset(),s={scroll:r?document.documentElement.scrollTop||document.body.scrollTop:t.scrollTop()},l=r?{width:e(window).width(),height:e(window).height()}:null;return e.extend({},i,s,l,a)},t.prototype.getCalculatedOffset=function(e,t,n,r){return"bottom"==e?{top:t.top+t.height,left:t.left+t.width/2-n/2}:"top"==e?{top:t.top-r,left:t.left+t.width/2-n/2}:"left"==e?{top:t.top+t.height/2-r/2,left:t.left-n}:{top:t.top+t.height/2-r/2,left:t.left+t.width}},t.prototype.getViewportAdjustedDelta=function(e,t,n,r){var i={top:0,left:0};if(!this.$viewport)return i;var o=this.options.viewport&&this.options.viewport.padding||0,a=this.getPosition(this.$viewport);if(/right|left/.test(e)){var s=t.top-o-a.scroll,l=t.top+o-a.scroll+r;s<a.top?i.top=a.top-s:l>a.top+a.height&&(i.top=a.top+a.height-l)}else{var c=t.left-o,u=t.left+o+n;c<a.left?i.left=a.left-c:u>a.right&&(i.left=a.left+a.width-u)}return i},t.prototype.getTitle=function(){var e=this.$element,t=this.options;return e.attr("data-original-title")||("function"==typeof t.title?t.title.call(e[0]):t.title)},t.prototype.getUID=function(e){do{e+=~~(1e6*Math.random())}while(document.getElementById(e));return e},t.prototype.tip=function(){if(!this.$tip&&(this.$tip=e(this.options.template),1!=this.$tip.length))throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!");return this.$tip},t.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},t.prototype.enable=function(){this.enabled=!0},t.prototype.disable=function(){this.enabled=!1},t.prototype.toggleEnabled=function(){this.enabled=!this.enabled},t.prototype.toggle=function(t){var n=this;t&&((n=e(t.currentTarget).data("bs."+this.type))||(n=new this.constructor(t.currentTarget,this.getDelegateOptions()),e(t.currentTarget).data("bs."+this.type,n))),t?(n.inState.click=!n.inState.click,n.isInStateTrue()?n.enter(n):n.leave(n)):n.tip().hasClass("in")?n.leave(n):n.enter(n)},t.prototype.destroy=function(){var e=this;clearTimeout(this.timeout),this.hide(function(){e.$element.off("."+e.type).removeData("bs."+e.type),e.$tip&&e.$tip.detach(),e.$tip=null,e.$arrow=null,e.$viewport=null,e.$element=null})};var n=e.fn.tooltip;e.fn.tooltip=function(n){return this.each(function(){var r=e(this),i=r.data("bs.tooltip"),o="object"==typeof n&&n;!i&&/destroy|hide/.test(n)||(i||r.data("bs.tooltip",i=new t(this,o)),"string"==typeof n&&i[n]())})},e.fn.tooltip.Constructor=t,e.fn.tooltip.noConflict=function(){return e.fn.tooltip=n,this}}(jQuery)},function(e,t){e.exports=function(e){var t="undefined"!=typeof window&&window.location;if(!t)throw new Error("fixUrls requires window.location");if(!e||"string"!=typeof e)return e;var n=t.protocol+"//"+t.host,r=n+t.pathname.replace(/\/[^\/]*$/,"/");return e.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,function(e,t){var i,o=t.trim().replace(/^"(.*)"$/,function(e,t){return t}).replace(/^'(.*)'$/,function(e,t){return t});return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(o)?e:(i=0===o.indexOf("//")?o:0===o.indexOf("/")?n+o:r+o.replace(/^\.\//,""),"url("+JSON.stringify(i)+")")})}},function(e,t){e.exports="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10' width='10' height='10'%3E%3Cpolyline points='1.5 3.5 5 7 8.5 3.5' stroke='currentColor' stroke-width='2' fill='transparent' stroke-linecap='round' stroke-linejoin='round' opacity='.5' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E"},function(e,t,n){e.exports=n.p+"fonts/entypo.woff"},function(e,t,n){e.exports=n.p+"fonts/arrows.woff"},function(e,t){e.exports=function(e){return"string"!=typeof e?e:(/^['"].*['"]$/.test(e)&&(e=e.slice(1,-1)),/["'() \t\n]/.test(e)?'"'+e.replace(/"/g,'\\"').replace(/\n/g,"\\n")+'"':e)}},function(e,t,n){var r=n(209);(e.exports=n(20)(!1)).push([e.i,'@media (max-width: 960px){[data-large]{display:none !important}}@media (min-width: 961px){[data-small]{display:none !important}}@media screen{[data-print]{display:none !important}}@media print{[data-screen]{display:none !important}}html.touchevents [data-click]{display:none !important}html.no-touchevents [data-touch]{display:none !important}/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}dfn{font-style:italic}h1{font-size:2em;margin:0.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace, monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type="checkbox"],input[type="radio"]{box-sizing:border-box;padding:0}input[type="number"]::-webkit-inner-spin-button,input[type="number"]::-webkit-outer-spin-button{height:auto}input[type="search"]{-webkit-appearance:textfield;box-sizing:content-box}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid #c0c0c0;margin:0 2px;padding:0.35em 0.625em 0.75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:bold}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}*:before,*:after{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}html{font-size:10px;-webkit-tap-highlight-color:transparent}body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Fira Sans","Droid Sans","Helvetica Neue",Helvetica,Arial,sans-serif;font-size:1rem;line-height:1.6;color:#5e666c;background-color:#f9fafb}input,button,select,textarea{font-family:inherit;font-size:inherit;line-height:inherit}a{color:#0bb;text-decoration:none}a:hover,a:focus{color:#009595;text-decoration:none}a:focus{outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}figure{margin:0}img{vertical-align:middle}.img-responsive{display:block;max-width:100%;height:auto}.img-rounded{border-radius:4px}.img-thumbnail{padding:0;line-height:1.6;background-color:#fff;border:1px solid transparent;border-radius:4px;-webkit-transition:all 0.2s ease-in-out;-o-transition:all 0.2s ease-in-out;transition:all 0.2s ease-in-out;display:inline-block;max-width:100%;height:auto}.img-circle{border-radius:50%}hr{margin-top:1.6rem;margin-bottom:1.6rem;border:0;border-top:1px solid rgba(0,30,60,0.075)}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto}[role="button"]{cursor:pointer}h1,h2,h3,h4,h5,h6,.h1,.h2,.h3,.h4,.h5,.h6{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Fira Sans","Droid Sans","Helvetica Neue",Helvetica,Arial,sans-serif;font-weight:normal;line-height:false;color:#313539}h1 small,h1 .small,h2 small,h2 .small,h3 small,h3 .small,h4 small,h4 .small,h5 small,h5 .small,h6 small,h6 .small,.h1 small,.h1 .small,.h2 small,.h2 .small,.h3 small,.h3 .small,.h4 small,.h4 .small,.h5 small,.h5 .small,.h6 small,.h6 .small{font-weight:normal;line-height:1;color:#8b969e}h1,.h1,h2,.h2,h3,.h3{margin-top:1.6rem;margin-bottom:.8rem}h1 small,h1 .small,.h1 small,.h1 .small,h2 small,h2 .small,.h2 small,.h2 .small,h3 small,h3 .small,.h3 small,.h3 .small{font-size:65%}h4,.h4,h5,.h5,h6,.h6{margin-top:.8rem;margin-bottom:.8rem}h4 small,h4 .small,.h4 small,.h4 .small,h5 small,h5 .small,.h5 small,.h5 .small,h6 small,h6 .small,.h6 small,.h6 .small{font-size:75%}h1,.h1{font-size:1.7142857143rem}h2,.h2{font-size:1.7142857143rem}h3,.h3{font-size:1.2857142857rem}h4,.h4{font-size:1.1428571429rem}h5,.h5{font-size:1rem}h6,.h6{font-size:1rem}p{margin:0 0 .8rem}.lead{margin-bottom:1.6rem;font-size:1rem;font-weight:300;line-height:1.4}@media (min-width: 540px){.lead{font-size:1.5rem}}small,.small{font-size:92%}mark,.mark{background-color:#fff6ec;padding:.2em}.text-left{text-align:left}.text-right{text-align:right}.text-center{text-align:center}.text-justify{text-align:justify}.text-nowrap{white-space:nowrap}.text-lowercase{text-transform:lowercase}.text-uppercase,.initialism{text-transform:uppercase}.text-capitalize{text-transform:capitalize}.text-muted{color:#8b969e}.text-primary{color:#0bb}a.text-primary:hover,a.text-primary:focus{color:#088}.text-success{color:#48a71c}a.text-success:hover,a.text-success:focus{color:#357b15}.text-info{color:#0aa}a.text-info:hover,a.text-info:focus{color:#077}.text-warning{color:#ff6316}a.text-warning:hover,a.text-warning:focus{color:#e24b00}.text-danger{color:#ff694b}a.text-danger:hover,a.text-danger:focus{color:#ff3f18}.bg-primary{color:#fff}.bg-primary{background-color:#0bb}a.bg-primary:hover,a.bg-primary:focus{background-color:#088}.bg-success{background-color:#f3faec}a.bg-success:hover,a.bg-success:focus{background-color:#daefc4}.bg-info{background-color:#edfafa}a.bg-info:hover,a.bg-info:focus{background-color:#c5efef}.bg-warning{background-color:#fff6ec}a.bg-warning:hover,a.bg-warning:focus{background-color:#ffdeb9}.bg-danger{background-color:#fff5f4}a.bg-danger:hover,a.bg-danger:focus{background-color:#ffc7c1}.page-header{padding-bottom:-.2rem;margin:3.2rem 0 1.6rem;border-bottom:1px solid #f7f7f8}ul,ol{margin-top:0;margin-bottom:.8rem}ul ul,ul ol,ol ul,ol ol{margin-bottom:0}.list-unstyled{padding-left:0;list-style:none}.list-inline{padding-left:0;list-style:none;margin-left:-5px}.list-inline>li{display:inline-block;padding-left:5px;padding-right:5px}dl{margin-top:0;margin-bottom:1.6rem}dt,dd{line-height:1.6}dt{font-weight:bold}dd{margin-left:0}.dl-horizontal dd:before,.dl-horizontal dd:after{content:" ";display:table}.dl-horizontal dd:after{clear:both}@media (min-width: 260px){.dl-horizontal dt{float:left;width:160px;clear:left;text-align:right;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dl-horizontal dd{margin-left:180px}}abbr[title],abbr[data-original-title]{cursor:help;border-bottom:1px dotted rgba(0,30,60,0.075)}.initialism{font-size:90%}blockquote{padding:.8rem 1.6rem;margin:0 0 1.6rem;font-size:1rem;border-left:5px solid transparent}blockquote p:last-child,blockquote ul:last-child,blockquote ol:last-child{margin-bottom:0}blockquote footer,blockquote small,blockquote .small{display:block;font-size:80%;line-height:1.6;color:#8b969e}blockquote footer:before,blockquote small:before,blockquote .small:before{content:\'\\2014   \\A0\'}.blockquote-reverse,blockquote.pull-right{padding-right:15px;padding-left:0;border-right:5px solid transparent;border-left:0;text-align:right}.blockquote-reverse footer:before,.blockquote-reverse small:before,.blockquote-reverse .small:before,blockquote.pull-right footer:before,blockquote.pull-right small:before,blockquote.pull-right .small:before{content:\'\'}.blockquote-reverse footer:after,.blockquote-reverse small:after,.blockquote-reverse .small:after,blockquote.pull-right footer:after,blockquote.pull-right small:after,blockquote.pull-right .small:after{content:\'\\A0   \\2014\'}address{margin-bottom:1.6rem;font-style:normal;line-height:1.6}code,kbd,pre,samp{font-family:"Monaco",monospace}code{padding:2px 4px;font-size:90%;color:#313539;background-color:transparent;border-radius:4px}kbd{padding:2px 4px;font-size:90%;color:#313539;background-color:transparent;border-radius:4px;box-shadow:inset 0 -1px 0 rgba(0,0,0,0.25)}kbd kbd{padding:0;font-size:100%;font-weight:bold;box-shadow:none}pre{display:block;padding:.3rem;margin:0 0 .8rem;font-size:0rem;line-height:1.6;word-break:break-all;word-wrap:break-word;color:#fff;background-color:#005e7a;border:1px solid transparent;border-radius:4px}pre code{padding:0;font-size:inherit;color:inherit;white-space:pre-wrap;background-color:transparent;border-radius:0}.pre-scrollable{max-height:340px;overflow-y:scroll}.container{margin-right:auto;margin-left:auto;padding-left:30px;padding-right:30px}.container:before,.container:after{content:" ";display:table}.container:after{clear:both}@media (min-width: 540px){.container{width:780px}}@media (min-width: 768px){.container{width:1000px}}@media (min-width: 960px){.container{width:1200px}}.container-fluid{margin-right:auto;margin-left:auto;padding-left:30px;padding-right:30px}.container-fluid:before,.container-fluid:after{content:" ";display:table}.container-fluid:after{clear:both}.row{margin-left:-30px;margin-right:-30px}.row:before,.row:after{content:" ";display:table}.row:after{clear:both}.col-xs-1,.col-sm-1,.col-md-1,.col-lg-1,.col-xs-2,.col-sm-2,.col-md-2,.col-lg-2,.col-xs-3,.col-sm-3,.col-md-3,.col-lg-3,.col-xs-4,.col-sm-4,.col-md-4,.col-lg-4,.col-xs-5,.col-sm-5,.col-md-5,.col-lg-5,.col-xs-6,.col-sm-6,.col-md-6,.col-lg-6,.col-xs-7,.col-sm-7,.col-md-7,.col-lg-7,.col-xs-8,.col-sm-8,.col-md-8,.col-lg-8,.col-xs-9,.col-sm-9,.col-md-9,.col-lg-9,.col-xs-10,.col-sm-10,.col-md-10,.col-lg-10,.col-xs-11,.col-sm-11,.col-md-11,.col-lg-11,.col-xs-12,.col-sm-12,.col-md-12,.col-lg-12{position:relative;min-height:1px;padding-left:30px;padding-right:30px}.col-xs-1,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9,.col-xs-10,.col-xs-11,.col-xs-12{float:left}.col-xs-1{width:8.3333333333%}.col-xs-2{width:16.6666666667%}.col-xs-3{width:25%}.col-xs-4{width:33.3333333333%}.col-xs-5{width:41.6666666667%}.col-xs-6{width:50%}.col-xs-7{width:58.3333333333%}.col-xs-8{width:66.6666666667%}.col-xs-9{width:75%}.col-xs-10{width:83.3333333333%}.col-xs-11{width:91.6666666667%}.col-xs-12{width:100%}.col-xs-pull-0{right:auto}.col-xs-pull-1{right:8.3333333333%}.col-xs-pull-2{right:16.6666666667%}.col-xs-pull-3{right:25%}.col-xs-pull-4{right:33.3333333333%}.col-xs-pull-5{right:41.6666666667%}.col-xs-pull-6{right:50%}.col-xs-pull-7{right:58.3333333333%}.col-xs-pull-8{right:66.6666666667%}.col-xs-pull-9{right:75%}.col-xs-pull-10{right:83.3333333333%}.col-xs-pull-11{right:91.6666666667%}.col-xs-pull-12{right:100%}.col-xs-push-0{left:auto}.col-xs-push-1{left:8.3333333333%}.col-xs-push-2{left:16.6666666667%}.col-xs-push-3{left:25%}.col-xs-push-4{left:33.3333333333%}.col-xs-push-5{left:41.6666666667%}.col-xs-push-6{left:50%}.col-xs-push-7{left:58.3333333333%}.col-xs-push-8{left:66.6666666667%}.col-xs-push-9{left:75%}.col-xs-push-10{left:83.3333333333%}.col-xs-push-11{left:91.6666666667%}.col-xs-push-12{left:100%}.col-xs-offset-0{margin-left:0%}.col-xs-offset-1{margin-left:8.3333333333%}.col-xs-offset-2{margin-left:16.6666666667%}.col-xs-offset-3{margin-left:25%}.col-xs-offset-4{margin-left:33.3333333333%}.col-xs-offset-5{margin-left:41.6666666667%}.col-xs-offset-6{margin-left:50%}.col-xs-offset-7{margin-left:58.3333333333%}.col-xs-offset-8{margin-left:66.6666666667%}.col-xs-offset-9{margin-left:75%}.col-xs-offset-10{margin-left:83.3333333333%}.col-xs-offset-11{margin-left:91.6666666667%}.col-xs-offset-12{margin-left:100%}@media (min-width: 540px){.col-sm-1,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11,.col-sm-12{float:left}.col-sm-1{width:8.3333333333%}.col-sm-2{width:16.6666666667%}.col-sm-3{width:25%}.col-sm-4{width:33.3333333333%}.col-sm-5{width:41.6666666667%}.col-sm-6{width:50%}.col-sm-7{width:58.3333333333%}.col-sm-8{width:66.6666666667%}.col-sm-9{width:75%}.col-sm-10{width:83.3333333333%}.col-sm-11{width:91.6666666667%}.col-sm-12{width:100%}.col-sm-pull-0{right:auto}.col-sm-pull-1{right:8.3333333333%}.col-sm-pull-2{right:16.6666666667%}.col-sm-pull-3{right:25%}.col-sm-pull-4{right:33.3333333333%}.col-sm-pull-5{right:41.6666666667%}.col-sm-pull-6{right:50%}.col-sm-pull-7{right:58.3333333333%}.col-sm-pull-8{right:66.6666666667%}.col-sm-pull-9{right:75%}.col-sm-pull-10{right:83.3333333333%}.col-sm-pull-11{right:91.6666666667%}.col-sm-pull-12{right:100%}.col-sm-push-0{left:auto}.col-sm-push-1{left:8.3333333333%}.col-sm-push-2{left:16.6666666667%}.col-sm-push-3{left:25%}.col-sm-push-4{left:33.3333333333%}.col-sm-push-5{left:41.6666666667%}.col-sm-push-6{left:50%}.col-sm-push-7{left:58.3333333333%}.col-sm-push-8{left:66.6666666667%}.col-sm-push-9{left:75%}.col-sm-push-10{left:83.3333333333%}.col-sm-push-11{left:91.6666666667%}.col-sm-push-12{left:100%}.col-sm-offset-0{margin-left:0%}.col-sm-offset-1{margin-left:8.3333333333%}.col-sm-offset-2{margin-left:16.6666666667%}.col-sm-offset-3{margin-left:25%}.col-sm-offset-4{margin-left:33.3333333333%}.col-sm-offset-5{margin-left:41.6666666667%}.col-sm-offset-6{margin-left:50%}.col-sm-offset-7{margin-left:58.3333333333%}.col-sm-offset-8{margin-left:66.6666666667%}.col-sm-offset-9{margin-left:75%}.col-sm-offset-10{margin-left:83.3333333333%}.col-sm-offset-11{margin-left:91.6666666667%}.col-sm-offset-12{margin-left:100%}}@media (min-width: 768px){.col-md-1,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11,.col-md-12{float:left}.col-md-1{width:8.3333333333%}.col-md-2{width:16.6666666667%}.col-md-3{width:25%}.col-md-4{width:33.3333333333%}.col-md-5{width:41.6666666667%}.col-md-6{width:50%}.col-md-7{width:58.3333333333%}.col-md-8{width:66.6666666667%}.col-md-9{width:75%}.col-md-10{width:83.3333333333%}.col-md-11{width:91.6666666667%}.col-md-12{width:100%}.col-md-pull-0{right:auto}.col-md-pull-1{right:8.3333333333%}.col-md-pull-2{right:16.6666666667%}.col-md-pull-3{right:25%}.col-md-pull-4{right:33.3333333333%}.col-md-pull-5{right:41.6666666667%}.col-md-pull-6{right:50%}.col-md-pull-7{right:58.3333333333%}.col-md-pull-8{right:66.6666666667%}.col-md-pull-9{right:75%}.col-md-pull-10{right:83.3333333333%}.col-md-pull-11{right:91.6666666667%}.col-md-pull-12{right:100%}.col-md-push-0{left:auto}.col-md-push-1{left:8.3333333333%}.col-md-push-2{left:16.6666666667%}.col-md-push-3{left:25%}.col-md-push-4{left:33.3333333333%}.col-md-push-5{left:41.6666666667%}.col-md-push-6{left:50%}.col-md-push-7{left:58.3333333333%}.col-md-push-8{left:66.6666666667%}.col-md-push-9{left:75%}.col-md-push-10{left:83.3333333333%}.col-md-push-11{left:91.6666666667%}.col-md-push-12{left:100%}.col-md-offset-0{margin-left:0%}.col-md-offset-1{margin-left:8.3333333333%}.col-md-offset-2{margin-left:16.6666666667%}.col-md-offset-3{margin-left:25%}.col-md-offset-4{margin-left:33.3333333333%}.col-md-offset-5{margin-left:41.6666666667%}.col-md-offset-6{margin-left:50%}.col-md-offset-7{margin-left:58.3333333333%}.col-md-offset-8{margin-left:66.6666666667%}.col-md-offset-9{margin-left:75%}.col-md-offset-10{margin-left:83.3333333333%}.col-md-offset-11{margin-left:91.6666666667%}.col-md-offset-12{margin-left:100%}}@media (min-width: 960px){.col-lg-1,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-10,.col-lg-11,.col-lg-12{float:left}.col-lg-1{width:8.3333333333%}.col-lg-2{width:16.6666666667%}.col-lg-3{width:25%}.col-lg-4{width:33.3333333333%}.col-lg-5{width:41.6666666667%}.col-lg-6{width:50%}.col-lg-7{width:58.3333333333%}.col-lg-8{width:66.6666666667%}.col-lg-9{width:75%}.col-lg-10{width:83.3333333333%}.col-lg-11{width:91.6666666667%}.col-lg-12{width:100%}.col-lg-pull-0{right:auto}.col-lg-pull-1{right:8.3333333333%}.col-lg-pull-2{right:16.6666666667%}.col-lg-pull-3{right:25%}.col-lg-pull-4{right:33.3333333333%}.col-lg-pull-5{right:41.6666666667%}.col-lg-pull-6{right:50%}.col-lg-pull-7{right:58.3333333333%}.col-lg-pull-8{right:66.6666666667%}.col-lg-pull-9{right:75%}.col-lg-pull-10{right:83.3333333333%}.col-lg-pull-11{right:91.6666666667%}.col-lg-pull-12{right:100%}.col-lg-push-0{left:auto}.col-lg-push-1{left:8.3333333333%}.col-lg-push-2{left:16.6666666667%}.col-lg-push-3{left:25%}.col-lg-push-4{left:33.3333333333%}.col-lg-push-5{left:41.6666666667%}.col-lg-push-6{left:50%}.col-lg-push-7{left:58.3333333333%}.col-lg-push-8{left:66.6666666667%}.col-lg-push-9{left:75%}.col-lg-push-10{left:83.3333333333%}.col-lg-push-11{left:91.6666666667%}.col-lg-push-12{left:100%}.col-lg-offset-0{margin-left:0%}.col-lg-offset-1{margin-left:8.3333333333%}.col-lg-offset-2{margin-left:16.6666666667%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-4{margin-left:33.3333333333%}.col-lg-offset-5{margin-left:41.6666666667%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-7{margin-left:58.3333333333%}.col-lg-offset-8{margin-left:66.6666666667%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-10{margin-left:83.3333333333%}.col-lg-offset-11{margin-left:91.6666666667%}.col-lg-offset-12{margin-left:100%}}table{background-color:transparent}caption{padding-top:.6785714286rem 1.25rem;padding-bottom:.6785714286rem 1.25rem;color:#8b969e;text-align:left}th{text-align:left}.table{width:100%;max-width:100%;margin-bottom:1.6rem}.table>thead>tr>th,.table>thead>tr>td,.table>tbody>tr>th,.table>tbody>tr>td,.table>tfoot>tr>th,.table>tfoot>tr>td{padding:.6785714286rem 1.25rem;line-height:1.6;vertical-align:top;border-top:1px solid rgba(0,30,60,0.075)}.table>thead>tr>th{vertical-align:bottom;border-bottom:2px solid rgba(0,30,60,0.075)}.table>caption+thead>tr:first-child>th,.table>caption+thead>tr:first-child>td,.table>colgroup+thead>tr:first-child>th,.table>colgroup+thead>tr:first-child>td,.table>thead:first-child>tr:first-child>th,.table>thead:first-child>tr:first-child>td{border-top:0}.table>tbody+tbody{border-top:2px solid rgba(0,30,60,0.075)}.table .table{background-color:#f9fafb}.table-condensed>thead>tr>th,.table-condensed>thead>tr>td,.table-condensed>tbody>tr>th,.table-condensed>tbody>tr>td,.table-condensed>tfoot>tr>th,.table-condensed>tfoot>tr>td{padding:.4464285714rem .875rem}.table-bordered{border:1px solid rgba(0,30,60,0.075)}.table-bordered>thead>tr>th,.table-bordered>thead>tr>td,.table-bordered>tbody>tr>th,.table-bordered>tbody>tr>td,.table-bordered>tfoot>tr>th,.table-bordered>tfoot>tr>td{border:1px solid rgba(0,30,60,0.075)}.table-bordered>thead>tr>th,.table-bordered>thead>tr>td{border-bottom-width:2px}.table-striped>tbody>tr:nth-of-type(odd){background-color:#f9fafb}.table-hover>tbody>tr:hover{background-color:#f9fafb}table col[class*="col-"]{position:static;float:none;display:table-column}table td[class*="col-"],table th[class*="col-"]{position:static;float:none;display:table-cell}.table>thead>tr>td.active,.table>thead>tr>th.active,.table>thead>tr.active>td,.table>thead>tr.active>th,.table>tbody>tr>td.active,.table>tbody>tr>th.active,.table>tbody>tr.active>td,.table>tbody>tr.active>th,.table>tfoot>tr>td.active,.table>tfoot>tr>th.active,.table>tfoot>tr.active>td,.table>tfoot>tr.active>th{background-color:#f9fafb}.table-hover>tbody>tr>td.active:hover,.table-hover>tbody>tr>th.active:hover,.table-hover>tbody>tr.active:hover>td,.table-hover>tbody>tr:hover>.active,.table-hover>tbody>tr.active:hover>th{background-color:#eaedf1}.table>thead>tr>td.success,.table>thead>tr>th.success,.table>thead>tr.success>td,.table>thead>tr.success>th,.table>tbody>tr>td.success,.table>tbody>tr>th.success,.table>tbody>tr.success>td,.table>tbody>tr.success>th,.table>tfoot>tr>td.success,.table>tfoot>tr>th.success,.table>tfoot>tr.success>td,.table>tfoot>tr.success>th{background-color:#f3faec}.table-hover>tbody>tr>td.success:hover,.table-hover>tbody>tr>th.success:hover,.table-hover>tbody>tr.success:hover>td,.table-hover>tbody>tr:hover>.success,.table-hover>tbody>tr.success:hover>th{background-color:#e6f5d8}.table>thead>tr>td.info,.table>thead>tr>th.info,.table>thead>tr.info>td,.table>thead>tr.info>th,.table>tbody>tr>td.info,.table>tbody>tr>th.info,.table>tbody>tr.info>td,.table>tbody>tr.info>th,.table>tfoot>tr>td.info,.table>tfoot>tr>th.info,.table>tfoot>tr.info>td,.table>tfoot>tr.info>th{background-color:#edfafa}.table-hover>tbody>tr>td.info:hover,.table-hover>tbody>tr>th.info:hover,.table-hover>tbody>tr.info:hover>td,.table-hover>tbody>tr:hover>.info,.table-hover>tbody>tr.info:hover>th{background-color:#d9f4f4}.table>thead>tr>td.warning,.table>thead>tr>th.warning,.table>thead>tr.warning>td,.table>thead>tr.warning>th,.table>tbody>tr>td.warning,.table>tbody>tr>th.warning,.table>tbody>tr.warning>td,.table>tbody>tr.warning>th,.table>tfoot>tr>td.warning,.table>tfoot>tr>th.warning,.table>tfoot>tr.warning>td,.table>tfoot>tr.warning>th{background-color:#fff6ec}.table-hover>tbody>tr>td.warning:hover,.table-hover>tbody>tr>th.warning:hover,.table-hover>tbody>tr.warning:hover>td,.table-hover>tbody>tr:hover>.warning,.table-hover>tbody>tr.warning:hover>th{background-color:#ffead3}.table>thead>tr>td.danger,.table>thead>tr>th.danger,.table>thead>tr.danger>td,.table>thead>tr.danger>th,.table>tbody>tr>td.danger,.table>tbody>tr>th.danger,.table>tbody>tr.danger>td,.table>tbody>tr.danger>th,.table>tfoot>tr>td.danger,.table>tfoot>tr>th.danger,.table>tfoot>tr.danger>td,.table>tfoot>tr.danger>th{background-color:#fff5f4}.table-hover>tbody>tr>td.danger:hover,.table-hover>tbody>tr>th.danger:hover,.table-hover>tbody>tr.danger:hover>td,.table-hover>tbody>tr:hover>.danger,.table-hover>tbody>tr.danger:hover>th{background-color:#ffdedb}.table-responsive{overflow-x:auto;min-height:0.01%}@media screen and (max-width: 539px){.table-responsive{width:100%;margin-bottom:1.2rem;overflow-y:hidden;-ms-overflow-style:-ms-autohiding-scrollbar;border:1px solid rgba(0,30,60,0.075)}.table-responsive>.table{margin-bottom:0}.table-responsive>.table>thead>tr>th,.table-responsive>.table>thead>tr>td,.table-responsive>.table>tbody>tr>th,.table-responsive>.table>tbody>tr>td,.table-responsive>.table>tfoot>tr>th,.table-responsive>.table>tfoot>tr>td{white-space:nowrap}.table-responsive>.table-bordered{border:0}.table-responsive>.table-bordered>thead>tr>th:first-child,.table-responsive>.table-bordered>thead>tr>td:first-child,.table-responsive>.table-bordered>tbody>tr>th:first-child,.table-responsive>.table-bordered>tbody>tr>td:first-child,.table-responsive>.table-bordered>tfoot>tr>th:first-child,.table-responsive>.table-bordered>tfoot>tr>td:first-child{border-left:0}.table-responsive>.table-bordered>thead>tr>th:last-child,.table-responsive>.table-bordered>thead>tr>td:last-child,.table-responsive>.table-bordered>tbody>tr>th:last-child,.table-responsive>.table-bordered>tbody>tr>td:last-child,.table-responsive>.table-bordered>tfoot>tr>th:last-child,.table-responsive>.table-bordered>tfoot>tr>td:last-child{border-right:0}.table-responsive>.table-bordered>tbody>tr:last-child>th,.table-responsive>.table-bordered>tbody>tr:last-child>td,.table-responsive>.table-bordered>tfoot>tr:last-child>th,.table-responsive>.table-bordered>tfoot>tr:last-child>td{border-bottom:0}}fieldset{padding:0;margin:0;border:0;min-width:0}legend{display:block;width:100%;padding:0;margin-bottom:1.6rem;font-size:1.5rem;line-height:inherit;color:#8b969e;border:0;border-bottom:1px solid rgba(0,30,60,0.075)}label{display:inline-block;max-width:100%;margin-bottom:5px;font-weight:bold}input[type="search"]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}input[type="radio"],input[type="checkbox"]{margin:4px 0 0;margin-top:1px \\9;line-height:normal}input[type="file"]{display:block}input[type="range"]{display:block;width:100%}select[multiple],select[size]{height:auto}input[type="file"]:focus,input[type="radio"]:focus,input[type="checkbox"]:focus{outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}output{display:block;padding-top:1.6785714286rem;font-size:1rem;line-height:1.6;color:#484e53}.form-control{display:block;width:100%;height:2.8571428571rem;padding:.6785714286rem 1.25rem;font-size:1rem;line-height:1.6;color:#484e53;background-color:#f0f2f4;background-image:none;border:1px solid transparent;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);-webkit-transition:border-color ease-in-out 0.15s,box-shadow ease-in-out 0.15s;-o-transition:border-color ease-in-out 0.15s,box-shadow ease-in-out 0.15s;transition:border-color ease-in-out 0.15s,box-shadow ease-in-out 0.15s}.form-control:focus{border-color:transparent;outline:0;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(0,0,0,0.6);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(0,0,0,0.6)}.form-control::-moz-placeholder{color:#a8b1b7;opacity:1}.form-control:-ms-input-placeholder{color:#a8b1b7}.form-control::-webkit-input-placeholder{color:#a8b1b7}.form-control::-ms-expand{border:0;background-color:transparent}.form-control[disabled],.form-control[readonly],fieldset[disabled] .form-control{background-color:#e4e6eb;opacity:1}.form-control[disabled],fieldset[disabled] .form-control{cursor:not-allowed}textarea.form-control{height:auto}input[type="search"]{-webkit-appearance:none}@media screen and (-webkit-min-device-pixel-ratio: 0){input[type="date"].form-control,input[type="time"].form-control,input[type="datetime-local"].form-control,input[type="month"].form-control{line-height:2.8571428571rem}input[type="date"].input-sm,.input-group-sm>input[type="date"].form-control,.input-group-sm>input[type="date"].input-group-addon,.input-group-sm>.input-group-btn>input[type="date"].btn,.input-group-sm input[type="date"],input[type="time"].input-sm,.input-group-sm>input[type="time"].form-control,.input-group-sm>input[type="time"].input-group-addon,.input-group-sm>.input-group-btn>input[type="time"].btn,.input-group-sm input[type="time"],input[type="datetime-local"].input-sm,.input-group-sm>input[type="datetime-local"].form-control,.input-group-sm>input[type="datetime-local"].input-group-addon,.input-group-sm>.input-group-btn>input[type="datetime-local"].btn,.input-group-sm input[type="datetime-local"],input[type="month"].input-sm,.input-group-sm>input[type="month"].form-control,.input-group-sm>input[type="month"].input-group-addon,.input-group-sm>.input-group-btn>input[type="month"].btn,.input-group-sm input[type="month"]{line-height:2.2857142857rem}input[type="date"].input-lg,.input-group-lg>input[type="date"].form-control,.input-group-lg>input[type="date"].input-group-addon,.input-group-lg>.input-group-btn>input[type="date"].btn,.input-group-lg input[type="date"],input[type="time"].input-lg,.input-group-lg>input[type="time"].form-control,.input-group-lg>input[type="time"].input-group-addon,.input-group-lg>.input-group-btn>input[type="time"].btn,.input-group-lg input[type="time"],input[type="datetime-local"].input-lg,.input-group-lg>input[type="datetime-local"].form-control,.input-group-lg>input[type="datetime-local"].input-group-addon,.input-group-lg>.input-group-btn>input[type="datetime-local"].btn,.input-group-lg input[type="datetime-local"],input[type="month"].input-lg,.input-group-lg>input[type="month"].form-control,.input-group-lg>input[type="month"].input-group-addon,.input-group-lg>.input-group-btn>input[type="month"].btn,.input-group-lg input[type="month"]{line-height:4.2857142857rem}}.form-group{margin-bottom:15px}.radio,.checkbox{position:relative;display:block;margin-top:10px;margin-bottom:10px}.radio label,.checkbox label{min-height:1.6rem;padding-left:20px;margin-bottom:0;font-weight:normal;cursor:pointer}.radio input[type="radio"],.radio-inline input[type="radio"],.checkbox input[type="checkbox"],.checkbox-inline input[type="checkbox"]{position:absolute;margin-left:-20px;margin-top:4px \\9}.radio+.radio,.checkbox+.checkbox{margin-top:-5px}.radio-inline,.checkbox-inline{position:relative;display:inline-block;padding-left:20px;margin-bottom:0;vertical-align:middle;font-weight:normal;cursor:pointer}.radio-inline+.radio-inline,.checkbox-inline+.checkbox-inline{margin-top:0;margin-left:10px}input[type="radio"][disabled],input[type="radio"].disabled,fieldset[disabled] input[type="radio"],input[type="checkbox"][disabled],input[type="checkbox"].disabled,fieldset[disabled] input[type="checkbox"]{cursor:not-allowed}.radio-inline.disabled,fieldset[disabled] .radio-inline,.checkbox-inline.disabled,fieldset[disabled] .checkbox-inline{cursor:not-allowed}.radio.disabled label,fieldset[disabled] .radio label,.checkbox.disabled label,fieldset[disabled] .checkbox label{cursor:not-allowed}.form-control-static,.form-grid .form-row .form-label label{padding-top:1.6785714286rem;padding-bottom:1.6785714286rem;margin-bottom:0;min-height:2.6rem}.form-control-static.input-lg,.input-group-lg>.form-control-static.form-control,.form-grid .form-row .form-label .input-group-lg>label.form-control,.input-group-lg>.form-control-static.input-group-addon,.form-grid .form-row .form-label .input-group-lg>label.input-group-addon,.input-group-lg>.input-group-btn>.form-control-static.btn,.form-grid .form-row .form-label .input-group-lg>.input-group-btn>label.btn,.form-grid .form-row .form-label label.input-lg,.form-control-static.input-sm,.input-group-sm>.form-control-static.form-control,.form-grid .form-row .form-label .input-group-sm>label.form-control,.input-group-sm>.form-control-static.input-group-addon,.form-grid .form-row .form-label .input-group-sm>label.input-group-addon,.input-group-sm>.input-group-btn>.form-control-static.btn,.form-grid .form-row .form-label .input-group-sm>.input-group-btn>label.btn,.form-grid .form-row .form-label label.input-sm{padding-left:0;padding-right:0}.input-sm,.input-group-sm>.form-control,.input-group-sm>.input-group-addon,.input-group-sm>.input-group-btn>.btn{height:2.2857142857rem;padding:.4464285714rem .875rem;font-size:.9285714286rem;line-height:1.6;border-radius:4px}select.input-sm,.input-group-sm>select.form-control,.input-group-sm>select.input-group-addon,.input-group-sm>.input-group-btn>select.btn{height:2.2857142857rem;line-height:2.2857142857rem}textarea.input-sm,.input-group-sm>textarea.form-control,.input-group-sm>textarea.input-group-addon,.input-group-sm>.input-group-btn>textarea.btn,select[multiple].input-sm,.input-group-sm>select[multiple].form-control,.input-group-sm>select[multiple].input-group-addon,.input-group-sm>.input-group-btn>select[multiple].btn{height:auto}.form-group-sm .form-control{height:2.2857142857rem;padding:.4464285714rem .875rem;font-size:.9285714286rem;line-height:1.6;border-radius:4px}.form-group-sm select.form-control{height:2.2857142857rem;line-height:2.2857142857rem}.form-group-sm textarea.form-control,.form-group-sm select[multiple].form-control{height:auto}.form-group-sm .form-control-static,.form-group-sm .form-grid .form-row .form-label label,.form-grid .form-row .form-label .form-group-sm label{height:2.2857142857rem;min-height:2.5285714286rem;padding:1.4464285714rem .875rem;font-size:.9285714286rem;line-height:1.6}.input-lg,.input-group-lg>.form-control,.input-group-lg>.input-group-addon,.input-group-lg>.input-group-btn>.btn{height:4.2857142857rem;padding:1.2857142857rem 1.875rem;font-size:1.1428571429rem;line-height:1.6;border-radius:4px}select.input-lg,.input-group-lg>select.form-control,.input-group-lg>select.input-group-addon,.input-group-lg>.input-group-btn>select.btn{height:4.2857142857rem;line-height:4.2857142857rem}textarea.input-lg,.input-group-lg>textarea.form-control,.input-group-lg>textarea.input-group-addon,.input-group-lg>.input-group-btn>textarea.btn,select[multiple].input-lg,.input-group-lg>select[multiple].form-control,.input-group-lg>select[multiple].input-group-addon,.input-group-lg>.input-group-btn>select[multiple].btn{height:auto}.form-group-lg .form-control{height:4.2857142857rem;padding:1.2857142857rem 1.875rem;font-size:1.1428571429rem;line-height:1.6;border-radius:4px}.form-group-lg select.form-control{height:4.2857142857rem;line-height:4.2857142857rem}.form-group-lg textarea.form-control,.form-group-lg select[multiple].form-control{height:auto}.form-group-lg .form-control-static,.form-group-lg .form-grid .form-row .form-label label,.form-grid .form-row .form-label .form-group-lg label{height:4.2857142857rem;min-height:2.7428571429rem;padding:2.2857142857rem 1.875rem;font-size:1.1428571429rem;line-height:1.6}.has-feedback{position:relative}.has-feedback .form-control{padding-right:3.5714285714rem}.form-control-feedback{position:absolute;top:0;right:0;z-index:2;display:block;width:2.8571428571rem;height:2.8571428571rem;line-height:2.8571428571rem;text-align:center;pointer-events:none}.input-lg+.form-control-feedback,.input-group-lg>.form-control+.form-control-feedback,.input-group-lg>.input-group-addon+.form-control-feedback,.input-group-lg>.input-group-btn>.btn+.form-control-feedback,.input-group-lg+.form-control-feedback,.form-group-lg .form-control+.form-control-feedback{width:4.2857142857rem;height:4.2857142857rem;line-height:4.2857142857rem}.input-sm+.form-control-feedback,.input-group-sm>.form-control+.form-control-feedback,.input-group-sm>.input-group-addon+.form-control-feedback,.input-group-sm>.input-group-btn>.btn+.form-control-feedback,.input-group-sm+.form-control-feedback,.form-group-sm .form-control+.form-control-feedback{width:2.2857142857rem;height:2.2857142857rem;line-height:2.2857142857rem}.has-success .help-block,.has-success .control-label,.has-success .radio,.has-success .checkbox,.has-success .radio-inline,.has-success .checkbox-inline,.has-success.radio label,.has-success.checkbox label,.has-success.radio-inline label,.has-success.checkbox-inline label{color:#48a71c}.has-success .form-control{border-color:#48a71c;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075)}.has-success .form-control:focus{border-color:#357b15;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #79e049;box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #79e049}.has-success .input-group-addon{color:#48a71c;border-color:#48a71c;background-color:#f3faec}.has-success .form-control-feedback{color:#48a71c}.has-warning .help-block,.has-warning .control-label,.has-warning .radio,.has-warning .checkbox,.has-warning .radio-inline,.has-warning .checkbox-inline,.has-warning.radio label,.has-warning.checkbox label,.has-warning.radio-inline label,.has-warning.checkbox-inline label{color:#ff6316}.has-warning .form-control{border-color:#ff6316;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075)}.has-warning .form-control:focus{border-color:#e24b00;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #ffa77c;box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #ffa77c}.has-warning .input-group-addon{color:#ff6316;border-color:#ff6316;background-color:#fff6ec}.has-warning .form-control-feedback{color:#ff6316}.has-error .help-block,.has-error .control-label,.has-error .radio,.has-error .checkbox,.has-error .radio-inline,.has-error .checkbox-inline,.has-error.radio label,.has-error.checkbox label,.has-error.radio-inline label,.has-error.checkbox-inline label{color:#ff694b}.has-error .form-control{border-color:#ff694b;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075)}.has-error .form-control:focus{border-color:#ff3f18;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #ffbeb1;box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #ffbeb1}.has-error .input-group-addon{color:#ff694b;border-color:#ff694b;background-color:#fff5f4}.has-error .form-control-feedback{color:#ff694b}.has-feedback label ~ .form-control-feedback{top:6.6rem}.has-feedback label.sr-only ~ .form-control-feedback{top:0}.help-block{display:block;margin-top:5px;margin-bottom:10px;color:#9ea6ab}@media (min-width: 540px){.form-inline .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.form-inline .form-control{display:inline-block;width:auto;vertical-align:middle}.form-inline .form-control-static,.form-inline .form-grid .form-row .form-label label,.form-grid .form-row .form-label .form-inline label{display:inline-block}.form-inline .input-group{display:inline-table;vertical-align:middle}.form-inline .input-group .input-group-addon,.form-inline .input-group .input-group-btn,.form-inline .input-group .form-control{width:auto}.form-inline .input-group>.form-control{width:100%}.form-inline .control-label{margin-bottom:0;vertical-align:middle}.form-inline .radio,.form-inline .checkbox{display:inline-block;margin-top:0;margin-bottom:0;vertical-align:middle}.form-inline .radio label,.form-inline .checkbox label{padding-left:0}.form-inline .radio input[type="radio"],.form-inline .checkbox input[type="checkbox"]{position:relative;margin-left:0}.form-inline .has-feedback .form-control-feedback{top:0}}.form-horizontal .radio,.form-horizontal .checkbox,.form-horizontal .radio-inline,.form-horizontal .checkbox-inline{margin-top:0;margin-bottom:0;padding-top:1.6785714286rem}.form-horizontal .radio,.form-horizontal .checkbox{min-height:3.2785714286rem}.form-horizontal .form-group{margin-left:-30px;margin-right:-30px}.form-horizontal .form-group:before,.form-horizontal .form-group:after{content:" ";display:table}.form-horizontal .form-group:after{clear:both}@media (min-width: 540px){.form-horizontal .control-label{text-align:right;margin-bottom:0;padding-top:1.6785714286rem}}.form-horizontal .has-feedback .form-control-feedback{right:30px}@media (min-width: 540px){.form-horizontal .form-group-lg .control-label{padding-top:2.2857142857rem;font-size:1.1428571429rem}}@media (min-width: 540px){.form-horizontal .form-group-sm .control-label{padding-top:1.4464285714rem;font-size:.9285714286rem}}.btn{display:inline-block;margin-bottom:0;font-weight:bold;text-align:center;vertical-align:middle;touch-action:manipulation;cursor:pointer;background-image:none;border:1px solid transparent;white-space:nowrap;padding:.6785714286rem 1.25rem;font-size:1rem;line-height:1.6;border-radius:4px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.btn:focus,.btn.focus,.btn:active:focus,.btn:active.focus,.btn.active:focus,.btn.active.focus{outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.btn:hover,.btn:focus,.btn.focus{color:#484e53;text-decoration:none}.btn:active,.btn.active{outline:0;background-image:none;-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,0.125);box-shadow:inset 0 3px 5px rgba(0,0,0,0.125)}.btn.disabled,.btn[disabled],fieldset[disabled] .btn{cursor:not-allowed;opacity:.65;filter:alpha(opacity=65);-webkit-box-shadow:none;box-shadow:none}a.btn.disabled,fieldset[disabled] a.btn{pointer-events:none}.btn-default{color:#484e53;background-color:#f0f2f4;border-color:transparent}.btn-default:focus,.btn-default.focus{color:#484e53;background-color:#e9ebef}.btn-default:hover{color:#484e53;background-color:#e9ebef}.btn-default:active,.btn-default.active,.open>.btn-default.dropdown-toggle{color:#484e53;background-color:#e9ebef}.btn-default:active:hover,.btn-default:active:focus,.btn-default:active.focus,.btn-default.active:hover,.btn-default.active:focus,.btn-default.active.focus,.open>.btn-default.dropdown-toggle:hover,.open>.btn-default.dropdown-toggle:focus,.open>.btn-default.dropdown-toggle.focus{color:#484e53;background-color:#e9ebef}.btn-default:active,.btn-default.active,.open>.btn-default.dropdown-toggle{background-image:none}.btn-default.disabled:hover,.btn-default.disabled:focus,.btn-default.disabled.focus,.btn-default[disabled]:hover,.btn-default[disabled]:focus,.btn-default[disabled].focus,fieldset[disabled] .btn-default:hover,fieldset[disabled] .btn-default:focus,fieldset[disabled] .btn-default.focus{background-color:#f0f2f4;border-color:transparent}.btn-default .badge{color:#f0f2f4;background-color:#484e53}.btn-primary{color:#fff;background-color:#0bb;border-color:transparent}.btn-primary:focus,.btn-primary.focus{color:#fff;background-color:#009595}.btn-primary:hover{color:#fff;background-color:#009595}.btn-primary:active,.btn-primary.active,.open>.btn-primary.dropdown-toggle{color:#fff;background-color:#009595}.btn-primary:active:hover,.btn-primary:active:focus,.btn-primary:active.focus,.btn-primary.active:hover,.btn-primary.active:focus,.btn-primary.active.focus,.open>.btn-primary.dropdown-toggle:hover,.open>.btn-primary.dropdown-toggle:focus,.open>.btn-primary.dropdown-toggle.focus{color:#fff;background-color:#009595}.btn-primary:active,.btn-primary.active,.open>.btn-primary.dropdown-toggle{background-image:none}.btn-primary.disabled:hover,.btn-primary.disabled:focus,.btn-primary.disabled.focus,.btn-primary[disabled]:hover,.btn-primary[disabled]:focus,.btn-primary[disabled].focus,fieldset[disabled] .btn-primary:hover,fieldset[disabled] .btn-primary:focus,fieldset[disabled] .btn-primary.focus{background-color:#0bb;border-color:transparent}.btn-primary .badge{color:#0bb;background-color:#fff}.btn-success{color:#fff;background-color:#7ec631;border-color:transparent}.btn-success:focus,.btn-success.focus{color:#fff;background-color:#48a71c}.btn-success:hover{color:#fff;background-color:#48a71c}.btn-success:active,.btn-success.active,.open>.btn-success.dropdown-toggle{color:#fff;background-color:#48a71c}.btn-success:active:hover,.btn-success:active:focus,.btn-success:active.focus,.btn-success.active:hover,.btn-success.active:focus,.btn-success.active.focus,.open>.btn-success.dropdown-toggle:hover,.open>.btn-success.dropdown-toggle:focus,.open>.btn-success.dropdown-toggle.focus{color:#fff;background-color:#48a71c}.btn-success:active,.btn-success.active,.open>.btn-success.dropdown-toggle{background-image:none}.btn-success.disabled:hover,.btn-success.disabled:focus,.btn-success.disabled.focus,.btn-success[disabled]:hover,.btn-success[disabled]:focus,.btn-success[disabled].focus,fieldset[disabled] .btn-success:hover,fieldset[disabled] .btn-success:focus,fieldset[disabled] .btn-success.focus{background-color:#7ec631;border-color:transparent}.btn-success .badge{color:#7ec631;background-color:#fff}.btn-info{color:#fff;background-color:#0bb;border-color:transparent}.btn-info:focus,.btn-info.focus{color:#fff;background-color:#009595}.btn-info:hover{color:#fff;background-color:#009595}.btn-info:active,.btn-info.active,.open>.btn-info.dropdown-toggle{color:#fff;background-color:#009595}.btn-info:active:hover,.btn-info:active:focus,.btn-info:active.focus,.btn-info.active:hover,.btn-info.active:focus,.btn-info.active.focus,.open>.btn-info.dropdown-toggle:hover,.open>.btn-info.dropdown-toggle:focus,.open>.btn-info.dropdown-toggle.focus{color:#fff;background-color:#009595}.btn-info:active,.btn-info.active,.open>.btn-info.dropdown-toggle{background-image:none}.btn-info.disabled:hover,.btn-info.disabled:focus,.btn-info.disabled.focus,.btn-info[disabled]:hover,.btn-info[disabled]:focus,.btn-info[disabled].focus,fieldset[disabled] .btn-info:hover,fieldset[disabled] .btn-info:focus,fieldset[disabled] .btn-info.focus{background-color:#0bb;border-color:transparent}.btn-info .badge{color:#0bb;background-color:#fff}.btn-warning{color:#fff;background-color:#ff9b26;border-color:transparent}.btn-warning:focus,.btn-warning.focus{color:#fff;background-color:#ff6316}.btn-warning:hover{color:#fff;background-color:#ff6316}.btn-warning:active,.btn-warning.active,.open>.btn-warning.dropdown-toggle{color:#fff;background-color:#ff6316}.btn-warning:active:hover,.btn-warning:active:focus,.btn-warning:active.focus,.btn-warning.active:hover,.btn-warning.active:focus,.btn-warning.active.focus,.open>.btn-warning.dropdown-toggle:hover,.open>.btn-warning.dropdown-toggle:focus,.open>.btn-warning.dropdown-toggle.focus{color:#fff;background-color:#ff6316}.btn-warning:active,.btn-warning.active,.open>.btn-warning.dropdown-toggle{background-image:none}.btn-warning.disabled:hover,.btn-warning.disabled:focus,.btn-warning.disabled.focus,.btn-warning[disabled]:hover,.btn-warning[disabled]:focus,.btn-warning[disabled].focus,fieldset[disabled] .btn-warning:hover,fieldset[disabled] .btn-warning:focus,fieldset[disabled] .btn-warning.focus{background-color:#ff9b26;border-color:transparent}.btn-warning .badge{color:#ff9b26;background-color:#fff}.btn-danger{color:#fff;background-color:#ff694b;border-color:transparent}.btn-danger:focus,.btn-danger.focus{color:#fff;background-color:#ff3c2b}.btn-danger:hover{color:#fff;background-color:#ff3c2b}.btn-danger:active,.btn-danger.active,.open>.btn-danger.dropdown-toggle{color:#fff;background-color:#ff3c2b}.btn-danger:active:hover,.btn-danger:active:focus,.btn-danger:active.focus,.btn-danger.active:hover,.btn-danger.active:focus,.btn-danger.active.focus,.open>.btn-danger.dropdown-toggle:hover,.open>.btn-danger.dropdown-toggle:focus,.open>.btn-danger.dropdown-toggle.focus{color:#fff;background-color:#ff3c2b}.btn-danger:active,.btn-danger.active,.open>.btn-danger.dropdown-toggle{background-image:none}.btn-danger.disabled:hover,.btn-danger.disabled:focus,.btn-danger.disabled.focus,.btn-danger[disabled]:hover,.btn-danger[disabled]:focus,.btn-danger[disabled].focus,fieldset[disabled] .btn-danger:hover,fieldset[disabled] .btn-danger:focus,fieldset[disabled] .btn-danger.focus{background-color:#ff694b;border-color:transparent}.btn-danger .badge{color:#ff694b;background-color:#fff}.btn-link{color:#0bb;font-weight:normal;border-radius:0}.btn-link,.btn-link:active,.btn-link.active,.btn-link[disabled],fieldset[disabled] .btn-link{background-color:transparent;-webkit-box-shadow:none;box-shadow:none}.btn-link,.btn-link:hover,.btn-link:focus,.btn-link:active{border-color:transparent}.btn-link:hover,.btn-link:focus{color:#009595;text-decoration:none;background-color:transparent}.btn-link[disabled]:hover,.btn-link[disabled]:focus,fieldset[disabled] .btn-link:hover,fieldset[disabled] .btn-link:focus{color:#8b969e;text-decoration:none}.btn-lg,.btn-group-lg>.btn{padding:1.2857142857rem 1.875rem;font-size:1.1428571429rem;line-height:1.6;border-radius:4px}.btn-sm,.btn-group-sm>.btn{padding:.4464285714rem .875rem;font-size:.9285714286rem;line-height:1.6;border-radius:4px}.btn-xs,.btn-group-xs>.btn{padding:1px 5px;font-size:.9285714286rem;line-height:1.6;border-radius:4px}.btn-block{display:block;width:100%}.btn-block+.btn-block{margin-top:5px}input[type="submit"].btn-block,input[type="reset"].btn-block,input[type="button"].btn-block{width:100%}.fade{opacity:0;-webkit-transition:opacity 0.15s linear;-o-transition:opacity 0.15s linear;transition:opacity 0.15s linear}.fade.in{opacity:1}.collapse{display:none}.collapse.in{display:block}tr.collapse.in{display:table-row}tbody.collapse.in{display:table-row-group}.collapsing{position:relative;height:0;overflow:hidden;-webkit-transition-property:height,visibility;transition-property:height,visibility;-webkit-transition-duration:0.35s;transition-duration:0.35s;-webkit-transition-timing-function:ease;transition-timing-function:ease}.caret{display:inline-block;width:0;height:0;margin-left:2px;vertical-align:middle;border-top:4px dashed;border-top:4px solid \\9 ;border-right:4px solid transparent;border-left:4px solid transparent}.dropup,.dropdown{position:relative}.dropdown-toggle:focus{outline:0}.dropdown-menu{position:absolute;top:100%;left:0;z-index:1000;display:none;float:left;min-width:160px;padding:5px 0;margin:2px 0 0;list-style:none;font-size:1rem;text-align:left;background-color:#fff;border:1px solid transparent;border:1px solid transparent;border-radius:4px;-webkit-box-shadow:0 6px 12px rgba(0,0,0,0.175);box-shadow:0 6px 12px rgba(0,0,0,0.175);background-clip:padding-box}.dropdown-menu.pull-right{right:0;left:auto}.dropdown-menu .divider{height:1px;margin:-.2rem 0;overflow:hidden;background-color:rgba(0,30,60,0.075)}.dropdown-menu>li>a{display:block;padding:3px 20px;clear:both;font-weight:normal;line-height:1.6;color:#5e666c;white-space:nowrap}.dropdown-menu>li>a:hover,.dropdown-menu>li>a:focus{text-decoration:none;color:#313539;background-color:#f9fafb}.dropdown-menu>.active>a,.dropdown-menu>.active>a:hover,.dropdown-menu>.active>a:focus{color:#fff;text-decoration:none;outline:0;background-color:#0bb}.dropdown-menu>.disabled>a,.dropdown-menu>.disabled>a:hover,.dropdown-menu>.disabled>a:focus{color:#8b969e}.dropdown-menu>.disabled>a:hover,.dropdown-menu>.disabled>a:focus{text-decoration:none;background-color:transparent;background-image:none;filter:progid:DXImageTransform.Microsoft.gradient(enabled = false);cursor:not-allowed}.open>.dropdown-menu{display:block}.open>a{outline:0}.dropdown-menu-right{left:auto;right:0}.dropdown-menu-left{left:0;right:auto}.dropdown-header{display:block;padding:3px 20px;font-size:.9285714286rem;line-height:1.6;color:#8b969e;white-space:nowrap}.dropdown-backdrop{position:fixed;left:0;right:0;bottom:0;top:0;z-index:990}.pull-right>.dropdown-menu{right:0;left:auto}.dropup .caret,.navbar-fixed-bottom .dropdown .caret{border-top:0;border-bottom:4px dashed;border-bottom:4px solid \\9 ;content:""}.dropup .dropdown-menu,.navbar-fixed-bottom .dropdown .dropdown-menu{top:auto;bottom:100%;margin-bottom:2px}@media (min-width: 960px){.navbar-right .dropdown-menu{right:0;left:auto}.navbar-right .dropdown-menu-left{left:0;right:auto}}.btn-group,.btn-group-vertical{position:relative;display:inline-block;vertical-align:middle}.btn-group>.btn,.btn-group-vertical>.btn{position:relative;float:left}.btn-group>.btn:hover,.btn-group>.btn:focus,.btn-group>.btn:active,.btn-group>.btn.active,.btn-group-vertical>.btn:hover,.btn-group-vertical>.btn:focus,.btn-group-vertical>.btn:active,.btn-group-vertical>.btn.active{z-index:2}.btn-group .btn+.btn,.btn-group .btn+.btn-group,.btn-group .btn-group+.btn,.btn-group .btn-group+.btn-group{margin-left:-1px}.btn-toolbar{margin-left:-5px}.btn-toolbar:before,.btn-toolbar:after{content:" ";display:table}.btn-toolbar:after{clear:both}.btn-toolbar .btn,.btn-toolbar .btn-group,.btn-toolbar .input-group{float:left}.btn-toolbar>.btn,.btn-toolbar>.btn-group,.btn-toolbar>.input-group{margin-left:5px}.btn-group>.btn:not(:first-child):not(:last-child):not(.dropdown-toggle){border-radius:0}.btn-group>.btn:first-child{margin-left:0}.btn-group>.btn:first-child:not(:last-child):not(.dropdown-toggle){border-bottom-right-radius:0;border-top-right-radius:0}.btn-group>.btn:last-child:not(:first-child),.btn-group>.dropdown-toggle:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0}.btn-group>.btn-group{float:left}.btn-group>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.btn-group>.btn-group:first-child:not(:last-child)>.btn:last-child,.btn-group>.btn-group:first-child:not(:last-child)>.dropdown-toggle{border-bottom-right-radius:0;border-top-right-radius:0}.btn-group>.btn-group:last-child:not(:first-child)>.btn:first-child{border-bottom-left-radius:0;border-top-left-radius:0}.btn-group .dropdown-toggle:active,.btn-group.open .dropdown-toggle{outline:0}.btn-group>.btn+.dropdown-toggle{padding-left:8px;padding-right:8px}.btn-group>.btn-lg+.dropdown-toggle,.btn-group-lg.btn-group>.btn+.dropdown-toggle{padding-left:12px;padding-right:12px}.btn-group.open .dropdown-toggle.btn-link{-webkit-box-shadow:none;box-shadow:none}.btn .caret{margin-left:0}.btn-lg .caret,.btn-group-lg>.btn .caret{border-width:5px 5px 0;border-bottom-width:0}.dropup .btn-lg .caret,.dropup .btn-group-lg>.btn .caret{border-width:0 5px 5px}.btn-group-vertical>.btn,.btn-group-vertical>.btn-group,.btn-group-vertical>.btn-group>.btn{display:block;float:none;width:100%;max-width:100%}.btn-group-vertical>.btn-group:before,.btn-group-vertical>.btn-group:after{content:" ";display:table}.btn-group-vertical>.btn-group:after{clear:both}.btn-group-vertical>.btn-group>.btn{float:none}.btn-group-vertical>.btn+.btn,.btn-group-vertical>.btn+.btn-group,.btn-group-vertical>.btn-group+.btn,.btn-group-vertical>.btn-group+.btn-group{margin-top:-1px;margin-left:0}.btn-group-vertical>.btn:not(:first-child):not(:last-child){border-radius:0}.btn-group-vertical>.btn:first-child:not(:last-child){border-top-right-radius:4px;border-top-left-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn:last-child:not(:first-child){border-top-right-radius:0;border-top-left-radius:0;border-bottom-right-radius:4px;border-bottom-left-radius:4px}.btn-group-vertical>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.btn-group-vertical>.btn-group:first-child:not(:last-child)>.btn:last-child,.btn-group-vertical>.btn-group:first-child:not(:last-child)>.dropdown-toggle{border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn-group:last-child:not(:first-child)>.btn:first-child{border-top-right-radius:0;border-top-left-radius:0}.btn-group-justified{display:table;width:100%;table-layout:fixed;border-collapse:separate}.btn-group-justified>.btn,.btn-group-justified>.btn-group{float:none;display:table-cell;width:1%}.btn-group-justified>.btn-group .btn{width:100%}.btn-group-justified>.btn-group .dropdown-menu{left:auto}[data-toggle="buttons"]>.btn input[type="radio"],[data-toggle="buttons"]>.btn input[type="checkbox"],[data-toggle="buttons"]>.btn-group>.btn input[type="radio"],[data-toggle="buttons"]>.btn-group>.btn input[type="checkbox"]{position:absolute;clip:rect(0, 0, 0, 0);pointer-events:none}.input-group{position:relative;display:table;border-collapse:separate}.input-group[class*="col-"]{float:none;padding-left:0;padding-right:0}.input-group .form-control{position:relative;z-index:2;float:left;width:100%;margin-bottom:0}.input-group .form-control:focus{z-index:3}.input-group-addon,.input-group-btn,.input-group .form-control{display:table-cell}.input-group-addon:not(:first-child):not(:last-child),.input-group-btn:not(:first-child):not(:last-child),.input-group .form-control:not(:first-child):not(:last-child){border-radius:0}.input-group-addon,.input-group-btn{width:1%;white-space:nowrap;vertical-align:middle}.input-group-addon{padding:.6785714286rem 1.25rem;font-size:1rem;font-weight:normal;line-height:1;color:#484e53;text-align:center;background-color:#f0f2f4;border:1px solid transparent;border-radius:4px}.input-group-addon.input-sm,.input-group-sm>.input-group-addon,.input-group-sm>.input-group-btn>.input-group-addon.btn{padding:.4464285714rem .875rem;font-size:.9285714286rem;border-radius:4px}.input-group-addon.input-lg,.input-group-lg>.input-group-addon,.input-group-lg>.input-group-btn>.input-group-addon.btn{padding:1.2857142857rem 1.875rem;font-size:1.1428571429rem;border-radius:4px}.input-group-addon input[type="radio"],.input-group-addon input[type="checkbox"]{margin-top:0}.input-group .form-control:first-child,.input-group-addon:first-child,.input-group-btn:first-child>.btn,.input-group-btn:first-child>.btn-group>.btn,.input-group-btn:first-child>.dropdown-toggle,.input-group-btn:last-child>.btn:not(:last-child):not(.dropdown-toggle),.input-group-btn:last-child>.btn-group:not(:last-child)>.btn{border-bottom-right-radius:0;border-top-right-radius:0}.input-group-addon:first-child{border-right:0}.input-group .form-control:last-child,.input-group-addon:last-child,.input-group-btn:last-child>.btn,.input-group-btn:last-child>.btn-group>.btn,.input-group-btn:last-child>.dropdown-toggle,.input-group-btn:first-child>.btn:not(:first-child),.input-group-btn:first-child>.btn-group:not(:first-child)>.btn{border-bottom-left-radius:0;border-top-left-radius:0}.input-group-addon:last-child{border-left:0}.input-group-btn{position:relative;font-size:0;white-space:nowrap}.input-group-btn>.btn{position:relative}.input-group-btn>.btn+.btn{margin-left:-1px}.input-group-btn>.btn:hover,.input-group-btn>.btn:focus,.input-group-btn>.btn:active{z-index:2}.input-group-btn:first-child>.btn,.input-group-btn:first-child>.btn-group{margin-right:-1px}.input-group-btn:last-child>.btn,.input-group-btn:last-child>.btn-group{z-index:2;margin-left:-1px}.nav{margin-bottom:0;padding-left:0;list-style:none}.nav:before,.nav:after{content:" ";display:table}.nav:after{clear:both}.nav>li{position:relative;display:block}.nav>li>a{position:relative;display:block;padding:.6785714286rem .875rem}.nav>li>a:hover,.nav>li>a:focus{text-decoration:none;background-color:#f9fafb}.nav>li.disabled>a{color:#8b969e}.nav>li.disabled>a:hover,.nav>li.disabled>a:focus{color:#8b969e;text-decoration:none;background-color:transparent;cursor:not-allowed}.nav .open>a,.nav .open>a:hover,.nav .open>a:focus{background-color:#f9fafb;border-color:#0bb}.nav .nav-divider{height:1px;margin:-.2rem 0;overflow:hidden;background-color:#e5e5e5}.nav>li>a>img{max-width:none}.nav-tabs{border-bottom:1px solid rgba(0,30,60,0.075)}.nav-tabs>li{float:left;margin-bottom:-1px}.nav-tabs>li>a{margin-right:2px;line-height:1.6;border:1px solid transparent;border-radius:4px 4px 0 0}.nav-tabs>li>a:hover{border-color:#ff694b #ff694b rgba(0,30,60,0.075)}.nav-tabs>li.active>a,.nav-tabs>li.active>a:hover,.nav-tabs>li.active>a:focus{color:inherit;background-color:transparent;border:1px solid #ff694b;border-bottom-color:transparent;cursor:default}.nav-pills>li{float:left}.nav-pills>li>a{border-radius:1000px}.nav-pills>li+li{margin-left:2px}.nav-pills>li.active>a,.nav-pills>li.active>a:hover,.nav-pills>li.active>a:focus{color:#fff;background-color:#0bb}.nav-stacked>li{float:none}.nav-stacked>li+li{margin-top:2px;margin-left:0}.nav-justified,.nav-tabs.nav-justified{width:100%}.nav-justified>li,.nav-tabs.nav-justified>li{float:none}.nav-justified>li>a,.nav-tabs.nav-justified>li>a{text-align:center;margin-bottom:5px}.nav-justified>.dropdown .dropdown-menu{top:auto;left:auto}@media (min-width: 540px){.nav-justified>li,.nav-tabs.nav-justified>li{display:table-cell;width:1%}.nav-justified>li>a,.nav-tabs.nav-justified>li>a{margin-bottom:0}}.nav-tabs-justified,.nav-tabs.nav-justified{border-bottom:0}.nav-tabs-justified>li>a,.nav-tabs.nav-justified>li>a{margin-right:0;border-radius:4px}.nav-tabs-justified>.active>a,.nav-tabs.nav-justified>.active>a,.nav-tabs-justified>.active>a:hover,.nav-tabs.nav-justified>.active>a:hover,.nav-tabs-justified>.active>a:focus,.nav-tabs.nav-justified>.active>a:focus{border:1px solid #ddd}@media (min-width: 540px){.nav-tabs-justified>li>a,.nav-tabs.nav-justified>li>a{border-bottom:1px solid #ddd;border-radius:4px 4px 0 0}.nav-tabs-justified>.active>a,.nav-tabs.nav-justified>.active>a,.nav-tabs-justified>.active>a:hover,.nav-tabs.nav-justified>.active>a:hover,.nav-tabs-justified>.active>a:focus,.nav-tabs.nav-justified>.active>a:focus{border-bottom-color:#f9fafb}}.tab-content>.tab-pane{display:none}.tab-content>.active{display:block}.nav-tabs .dropdown-menu{margin-top:-1px;border-top-right-radius:0;border-top-left-radius:0}.breadcrumb{padding:1.2857142857rem 1.875rem;margin-bottom:1.6rem;list-style:none;background-color:#f9fafb;border-radius:4px}.breadcrumb>li{display:inline-block}.breadcrumb>li+li:before{content:"/\\A0";padding:0 5px;color:#8b969e}.breadcrumb>.active{color:#313539}.pagination{display:inline-block;padding-left:0;margin:1.6rem 0;border-radius:4px}.pagination>li{display:inline}.pagination>li>a,.pagination>li>span{position:relative;float:left;padding:.6785714286rem 1.25rem;line-height:1.6;text-decoration:none;color:#0bb;background-color:#fff;border:1px solid #ddd;margin-left:-1px}.pagination>li:first-child>a,.pagination>li:first-child>span{margin-left:0;border-bottom-left-radius:4px;border-top-left-radius:4px}.pagination>li:last-child>a,.pagination>li:last-child>span{border-bottom-right-radius:4px;border-top-right-radius:4px}.pagination>li>a:hover,.pagination>li>a:focus,.pagination>li>span:hover,.pagination>li>span:focus{z-index:2;color:#009595;background-color:#f7f7f8;border-color:#ddd}.pagination>.active>a,.pagination>.active>a:hover,.pagination>.active>a:focus,.pagination>.active>span,.pagination>.active>span:hover,.pagination>.active>span:focus{z-index:3;color:#fff;background-color:#0bb;border-color:#0bb;cursor:default}.pagination>.disabled>span,.pagination>.disabled>span:hover,.pagination>.disabled>span:focus,.pagination>.disabled>a,.pagination>.disabled>a:hover,.pagination>.disabled>a:focus{color:#bec5c9;background-color:#fff;border-color:#ddd;cursor:not-allowed}.pagination-lg>li>a,.pagination-lg>li>span{padding:1.2857142857rem 1.875rem;font-size:1.1428571429rem;line-height:1.6}.pagination-lg>li:first-child>a,.pagination-lg>li:first-child>span{border-bottom-left-radius:4px;border-top-left-radius:4px}.pagination-lg>li:last-child>a,.pagination-lg>li:last-child>span{border-bottom-right-radius:4px;border-top-right-radius:4px}.pagination-sm>li>a,.pagination-sm>li>span{padding:.4464285714rem .875rem;font-size:.9285714286rem;line-height:1.6}.pagination-sm>li:first-child>a,.pagination-sm>li:first-child>span{border-bottom-left-radius:4px;border-top-left-radius:4px}.pagination-sm>li:last-child>a,.pagination-sm>li:last-child>span{border-bottom-right-radius:4px;border-top-right-radius:4px}.pager{padding-left:0;margin:1.6rem 0;list-style:none;text-align:center}.pager:before,.pager:after{content:" ";display:table}.pager:after{clear:both}.pager li{display:inline}.pager li>a,.pager li>span{display:inline-block;padding:5px 14px;background-color:#fff;border:1px solid #ddd;border-radius:15px}.pager li>a:hover,.pager li>a:focus{text-decoration:none;background-color:#f7f7f8}.pager .next>a,.pager .next>span{float:right}.pager .previous>a,.pager .previous>span{float:left}.pager .disabled>a,.pager .disabled>a:hover,.pager .disabled>a:focus,.pager .disabled>span{color:#bec5c9;background-color:#fff;cursor:not-allowed}.label{display:inline;padding:.2em .6em .3em;font-size:75%;font-weight:bold;line-height:1;color:#8b969e;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.25em}.label:empty{display:none}.btn .label{position:relative;top:-1px}a.label:hover,a.label:focus{color:#fff;text-decoration:none;cursor:pointer}.label-default{background-color:transparent}.label-default[href]:hover,.label-default[href]:focus{background-color:transparent}.label-primary{background-color:transparent}.label-primary[href]:hover,.label-primary[href]:focus{background-color:transparent}.label-success{background-color:transparent}.label-success[href]:hover,.label-success[href]:focus{background-color:transparent}.label-info{background-color:transparent}.label-info[href]:hover,.label-info[href]:focus{background-color:transparent}.label-warning{background-color:transparent}.label-warning[href]:hover,.label-warning[href]:focus{background-color:transparent}.label-danger{background-color:transparent}.label-danger[href]:hover,.label-danger[href]:focus{background-color:transparent}.badge{display:inline-block;min-width:10px;padding:3px 7px;font-size:.9285714286rem;font-weight:bold;color:#8b969e;line-height:1;vertical-align:middle;white-space:nowrap;text-align:center;background-color:#f0f2f4;border-radius:100px}.badge:empty{display:none}.btn .badge{position:relative;top:-1px}.btn-xs .badge,.btn-group-xs>.btn .badge,.btn-group-xs>.btn .badge{top:0;padding:1px 5px}.list-group-item.active>.badge,.nav-pills>.active>a>.badge{color:#0bb;background-color:#fff}.list-group-item>.badge{float:right}.list-group-item>.badge+.badge{margin-right:5px}.nav-pills>li>a>.badge{margin-left:3px}a.badge:hover,a.badge:focus{color:#fff;text-decoration:none;cursor:pointer}.thumbnail{display:block;padding:0;margin-bottom:1.6rem;line-height:1.6;background-color:#fff;border:1px solid transparent;border-radius:4px;-webkit-transition:border 0.2s ease-in-out;-o-transition:border 0.2s ease-in-out;transition:border 0.2s ease-in-out}.thumbnail>img,.thumbnail a>img{display:block;max-width:100%;height:auto;margin-left:auto;margin-right:auto}.thumbnail .caption{padding:20px 30px;color:#8b969e}a.thumbnail:hover,a.thumbnail:focus,a.thumbnail.active{border-color:#0bb}.alert{padding:1.2857142857rem 1.875rem;margin-bottom:1.6rem;border:1px solid transparent;border-radius:4px}.alert h4{margin-top:0;color:inherit}.alert .alert-link{font-weight:inherit}.alert>p,.alert>ul{margin-bottom:0}.alert>p+p{margin-top:5px}.alert-dismissable,.alert-dismissible{padding-right:1.2857142857rem 1.875rem20}.alert-dismissable .close,.alert-dismissible .close{position:relative;top:-2px;right:-21px;color:inherit}.alert-success{background-color:#f3faec;border-color:transparent;color:#48a71c}.alert-success hr{border-top-color:transparent}.alert-success .alert-link{color:#357b15}.alert-info{background-color:#edfafa;border-color:transparent;color:#0aa}.alert-info hr{border-top-color:transparent}.alert-info .alert-link{color:#077}.alert-warning{background-color:#fff6ec;border-color:transparent;color:#ff6316}.alert-warning hr{border-top-color:transparent}.alert-warning .alert-link{color:#e24b00}.alert-danger{background-color:#fff5f4;border-color:transparent;color:#ff694b}.alert-danger hr{border-top-color:transparent}.alert-danger .alert-link{color:#ff3f18}@-webkit-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}.progress{overflow:hidden;height:1.6rem;margin-bottom:1.6rem;background-color:#f0f2f4;border-radius:100px;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,0.1);box-shadow:inset 0 1px 2px rgba(0,0,0,0.1)}.progress-bar{float:left;width:0%;height:100%;font-size:.9285714286rem;line-height:1.6rem;color:#8b969e;text-align:center;background-color:#0bb;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,0.15);box-shadow:inset 0 -1px 0 rgba(0,0,0,0.15);-webkit-transition:width 0.6s ease;-o-transition:width 0.6s ease;transition:width 0.6s ease}.progress-striped .progress-bar,.progress-bar-striped{background-image:-webkit-linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);background-image:-o-linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);background-image:linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);background-size:40px 40px}.progress.active .progress-bar,.progress-bar.active{-webkit-animation:progress-bar-stripes 2s linear infinite;-o-animation:progress-bar-stripes 2s linear infinite;animation:progress-bar-stripes 2s linear infinite}.progress-bar-success{background-color:#7ec631}.progress-striped .progress-bar-success{background-image:-webkit-linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);background-image:-o-linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);background-image:linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent)}.progress-bar-info{background-color:#0bb}.progress-striped .progress-bar-info{background-image:-webkit-linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);background-image:-o-linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);background-image:linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent)}.progress-bar-warning{background-color:#ff9b26}.progress-striped .progress-bar-warning{background-image:-webkit-linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);background-image:-o-linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);background-image:linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent)}.progress-bar-danger{background-color:#ff694b}.progress-striped .progress-bar-danger{background-image:-webkit-linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);background-image:-o-linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);background-image:linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent)}.list-group{margin-bottom:20px;padding-left:0}.list-group-item{position:relative;display:block;padding:10px 15px;margin-bottom:-1px;background-color:#fff;border:1px solid rgba(0,30,60,0.075)}.list-group-item:first-child{border-top-right-radius:4px;border-top-left-radius:4px}.list-group-item:last-child{margin-bottom:0;border-bottom-right-radius:4px;border-bottom-left-radius:4px}a.list-group-item,button.list-group-item{color:#5e666c}a.list-group-item .list-group-item-heading,button.list-group-item .list-group-item-heading{color:#313539}a.list-group-item:hover,a.list-group-item:focus,button.list-group-item:hover,button.list-group-item:focus{text-decoration:none;color:#313539;background-color:#f9fafb}button.list-group-item{width:100%;text-align:left}.list-group-item.disabled,.list-group-item.disabled:hover,.list-group-item.disabled:focus{background-color:#f9fafb;color:#8b969e;cursor:not-allowed}.list-group-item.disabled .list-group-item-heading,.list-group-item.disabled:hover .list-group-item-heading,.list-group-item.disabled:focus .list-group-item-heading{color:inherit}.list-group-item.disabled .list-group-item-text,.list-group-item.disabled:hover .list-group-item-text,.list-group-item.disabled:focus .list-group-item-text{color:#8b969e}.list-group-item.active,.list-group-item.active:hover,.list-group-item.active:focus{z-index:2;color:#fff;background-color:#0bb;border-color:rgba(0,30,60,0.03)}.list-group-item.active .list-group-item-heading,.list-group-item.active .list-group-item-heading>small,.list-group-item.active .list-group-item-heading>.small,.list-group-item.active:hover .list-group-item-heading,.list-group-item.active:hover .list-group-item-heading>small,.list-group-item.active:hover .list-group-item-heading>.small,.list-group-item.active:focus .list-group-item-heading,.list-group-item.active:focus .list-group-item-heading>small,.list-group-item.active:focus .list-group-item-heading>.small{color:inherit}.list-group-item.active .list-group-item-text,.list-group-item.active:hover .list-group-item-text,.list-group-item.active:focus .list-group-item-text{color:#fff}.list-group-item-success{color:#48a71c;background-color:#f3faec}a.list-group-item-success,button.list-group-item-success{color:#48a71c}a.list-group-item-success .list-group-item-heading,button.list-group-item-success .list-group-item-heading{color:inherit}a.list-group-item-success:hover,a.list-group-item-success:focus,button.list-group-item-success:hover,button.list-group-item-success:focus{color:#48a71c;background-color:#e6f5d8}a.list-group-item-success.active,a.list-group-item-success.active:hover,a.list-group-item-success.active:focus,button.list-group-item-success.active,button.list-group-item-success.active:hover,button.list-group-item-success.active:focus{color:#fff;background-color:#48a71c;border-color:#48a71c}.list-group-item-info{color:#0aa;background-color:#edfafa}a.list-group-item-info,button.list-group-item-info{color:#0aa}a.list-group-item-info .list-group-item-heading,button.list-group-item-info .list-group-item-heading{color:inherit}a.list-group-item-info:hover,a.list-group-item-info:focus,button.list-group-item-info:hover,button.list-group-item-info:focus{color:#0aa;background-color:#d9f4f4}a.list-group-item-info.active,a.list-group-item-info.active:hover,a.list-group-item-info.active:focus,button.list-group-item-info.active,button.list-group-item-info.active:hover,button.list-group-item-info.active:focus{color:#fff;background-color:#0aa;border-color:#0aa}.list-group-item-warning{color:#ff6316;background-color:#fff6ec}a.list-group-item-warning,button.list-group-item-warning{color:#ff6316}a.list-group-item-warning .list-group-item-heading,button.list-group-item-warning .list-group-item-heading{color:inherit}a.list-group-item-warning:hover,a.list-group-item-warning:focus,button.list-group-item-warning:hover,button.list-group-item-warning:focus{color:#ff6316;background-color:#ffead3}a.list-group-item-warning.active,a.list-group-item-warning.active:hover,a.list-group-item-warning.active:focus,button.list-group-item-warning.active,button.list-group-item-warning.active:hover,button.list-group-item-warning.active:focus{color:#fff;background-color:#ff6316;border-color:#ff6316}.list-group-item-danger{color:#ff694b;background-color:#fff5f4}a.list-group-item-danger,button.list-group-item-danger{color:#ff694b}a.list-group-item-danger .list-group-item-heading,button.list-group-item-danger .list-group-item-heading{color:inherit}a.list-group-item-danger:hover,a.list-group-item-danger:focus,button.list-group-item-danger:hover,button.list-group-item-danger:focus{color:#ff694b;background-color:#ffdedb}a.list-group-item-danger.active,a.list-group-item-danger.active:hover,a.list-group-item-danger.active:focus,button.list-group-item-danger.active,button.list-group-item-danger.active:hover,button.list-group-item-danger.active:focus{color:#fff;background-color:#ff694b;border-color:#ff694b}.list-group-item-heading{margin-top:0;margin-bottom:5px}.list-group-item-text{margin-bottom:0;line-height:1.3}.panel{margin-bottom:1.6rem;background-color:#fff;border:1px solid transparent;border-radius:4px;-webkit-box-shadow:0 1px 1px rgba(0,0,0,0.05);box-shadow:0 1px 1px rgba(0,0,0,0.05)}.panel-body{padding:15px}.panel-body:before,.panel-body:after{content:" ";display:table}.panel-body:after{clear:both}.panel-heading{padding:10px 15px;border-bottom:1px solid transparent;border-top-right-radius:3px;border-top-left-radius:3px}.panel-heading>.dropdown .dropdown-toggle{color:inherit}.panel-title{margin-top:0;margin-bottom:0;font-size:2rem;color:inherit}.panel-title>a,.panel-title>small,.panel-title>.small,.panel-title>small>a,.panel-title>.small>a{color:inherit}.panel-footer{padding:10px 15px;background-color:transparent;border-top:1px solid transparent;border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel>.list-group,.panel>.panel-collapse>.list-group{margin-bottom:0}.panel>.list-group .list-group-item,.panel>.panel-collapse>.list-group .list-group-item{border-width:1px 0;border-radius:0}.panel>.list-group:first-child .list-group-item:first-child,.panel>.panel-collapse>.list-group:first-child .list-group-item:first-child{border-top:0;border-top-right-radius:3px;border-top-left-radius:3px}.panel>.list-group:last-child .list-group-item:last-child,.panel>.panel-collapse>.list-group:last-child .list-group-item:last-child{border-bottom:0;border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel>.panel-heading+.panel-collapse>.list-group .list-group-item:first-child{border-top-right-radius:0;border-top-left-radius:0}.panel-heading+.list-group .list-group-item:first-child{border-top-width:0}.list-group+.panel-footer{border-top-width:0}.panel>.table,.panel>.table-responsive>.table,.panel>.panel-collapse>.table{margin-bottom:0}.panel>.table caption,.panel>.table-responsive>.table caption,.panel>.panel-collapse>.table caption{padding-left:15px;padding-right:15px}.panel>.table:first-child,.panel>.table-responsive:first-child>.table:first-child{border-top-right-radius:3px;border-top-left-radius:3px}.panel>.table:first-child>thead:first-child>tr:first-child,.panel>.table:first-child>tbody:first-child>tr:first-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child{border-top-left-radius:3px;border-top-right-radius:3px}.panel>.table:first-child>thead:first-child>tr:first-child td:first-child,.panel>.table:first-child>thead:first-child>tr:first-child th:first-child,.panel>.table:first-child>tbody:first-child>tr:first-child td:first-child,.panel>.table:first-child>tbody:first-child>tr:first-child th:first-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child td:first-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child th:first-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child td:first-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child th:first-child{border-top-left-radius:3px}.panel>.table:first-child>thead:first-child>tr:first-child td:last-child,.panel>.table:first-child>thead:first-child>tr:first-child th:last-child,.panel>.table:first-child>tbody:first-child>tr:first-child td:last-child,.panel>.table:first-child>tbody:first-child>tr:first-child th:last-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child td:last-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child th:last-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child td:last-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child th:last-child{border-top-right-radius:3px}.panel>.table:last-child,.panel>.table-responsive:last-child>.table:last-child{border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel>.table:last-child>tbody:last-child>tr:last-child,.panel>.table:last-child>tfoot:last-child>tr:last-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child{border-bottom-left-radius:3px;border-bottom-right-radius:3px}.panel>.table:last-child>tbody:last-child>tr:last-child td:first-child,.panel>.table:last-child>tbody:last-child>tr:last-child th:first-child,.panel>.table:last-child>tfoot:last-child>tr:last-child td:first-child,.panel>.table:last-child>tfoot:last-child>tr:last-child th:first-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child td:first-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child th:first-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child td:first-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child th:first-child{border-bottom-left-radius:3px}.panel>.table:last-child>tbody:last-child>tr:last-child td:last-child,.panel>.table:last-child>tbody:last-child>tr:last-child th:last-child,.panel>.table:last-child>tfoot:last-child>tr:last-child td:last-child,.panel>.table:last-child>tfoot:last-child>tr:last-child th:last-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child td:last-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child th:last-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child td:last-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child th:last-child{border-bottom-right-radius:3px}.panel>.panel-body+.table,.panel>.panel-body+.table-responsive,.panel>.table+.panel-body,.panel>.table-responsive+.panel-body{border-top:1px solid rgba(0,30,60,0.075)}.panel>.table>tbody:first-child>tr:first-child th,.panel>.table>tbody:first-child>tr:first-child td{border-top:0}.panel>.table-bordered,.panel>.table-responsive>.table-bordered{border:0}.panel>.table-bordered>thead>tr>th:first-child,.panel>.table-bordered>thead>tr>td:first-child,.panel>.table-bordered>tbody>tr>th:first-child,.panel>.table-bordered>tbody>tr>td:first-child,.panel>.table-bordered>tfoot>tr>th:first-child,.panel>.table-bordered>tfoot>tr>td:first-child,.panel>.table-responsive>.table-bordered>thead>tr>th:first-child,.panel>.table-responsive>.table-bordered>thead>tr>td:first-child,.panel>.table-responsive>.table-bordered>tbody>tr>th:first-child,.panel>.table-responsive>.table-bordered>tbody>tr>td:first-child,.panel>.table-responsive>.table-bordered>tfoot>tr>th:first-child,.panel>.table-responsive>.table-bordered>tfoot>tr>td:first-child{border-left:0}.panel>.table-bordered>thead>tr>th:last-child,.panel>.table-bordered>thead>tr>td:last-child,.panel>.table-bordered>tbody>tr>th:last-child,.panel>.table-bordered>tbody>tr>td:last-child,.panel>.table-bordered>tfoot>tr>th:last-child,.panel>.table-bordered>tfoot>tr>td:last-child,.panel>.table-responsive>.table-bordered>thead>tr>th:last-child,.panel>.table-responsive>.table-bordered>thead>tr>td:last-child,.panel>.table-responsive>.table-bordered>tbody>tr>th:last-child,.panel>.table-responsive>.table-bordered>tbody>tr>td:last-child,.panel>.table-responsive>.table-bordered>tfoot>tr>th:last-child,.panel>.table-responsive>.table-bordered>tfoot>tr>td:last-child{border-right:0}.panel>.table-bordered>thead>tr:first-child>td,.panel>.table-bordered>thead>tr:first-child>th,.panel>.table-bordered>tbody>tr:first-child>td,.panel>.table-bordered>tbody>tr:first-child>th,.panel>.table-responsive>.table-bordered>thead>tr:first-child>td,.panel>.table-responsive>.table-bordered>thead>tr:first-child>th,.panel>.table-responsive>.table-bordered>tbody>tr:first-child>td,.panel>.table-responsive>.table-bordered>tbody>tr:first-child>th{border-bottom:0}.panel>.table-bordered>tbody>tr:last-child>td,.panel>.table-bordered>tbody>tr:last-child>th,.panel>.table-bordered>tfoot>tr:last-child>td,.panel>.table-bordered>tfoot>tr:last-child>th,.panel>.table-responsive>.table-bordered>tbody>tr:last-child>td,.panel>.table-responsive>.table-bordered>tbody>tr:last-child>th,.panel>.table-responsive>.table-bordered>tfoot>tr:last-child>td,.panel>.table-responsive>.table-bordered>tfoot>tr:last-child>th{border-bottom:0}.panel>.table-responsive{border:0;margin-bottom:0}.panel-group{margin-bottom:1.6rem}.panel-group .panel{margin-bottom:0;border-radius:4px}.panel-group .panel+.panel{margin-top:5px}.panel-group .panel-heading{border-bottom:0}.panel-group .panel-heading+.panel-collapse>.panel-body,.panel-group .panel-heading+.panel-collapse>.list-group{border-top:1px solid transparent}.panel-group .panel-footer{border-top:0}.panel-group .panel-footer+.panel-collapse .panel-body{border-bottom:1px solid transparent}.panel-default{border-color:#ddd}.panel-default>.panel-heading{color:#5e666c;background-color:transparent;border-color:#ddd}.panel-default>.panel-heading+.panel-collapse>.panel-body{border-top-color:#ddd}.panel-default>.panel-heading .badge{color:transparent;background-color:#5e666c}.panel-default>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#ddd}.panel-primary{border-color:#0bb}.panel-primary>.panel-heading{color:#fff;background-color:#0bb;border-color:#0bb}.panel-primary>.panel-heading+.panel-collapse>.panel-body{border-top-color:#0bb}.panel-primary>.panel-heading .badge{color:#0bb;background-color:#fff}.panel-primary>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#0bb}.panel-success{border-color:transparent}.panel-success>.panel-heading{color:#48a71c;background-color:#f3faec;border-color:transparent}.panel-success>.panel-heading+.panel-collapse>.panel-body{border-top-color:transparent}.panel-success>.panel-heading .badge{color:#f3faec;background-color:#48a71c}.panel-success>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:transparent}.panel-info{border-color:transparent}.panel-info>.panel-heading{color:#0aa;background-color:#edfafa;border-color:transparent}.panel-info>.panel-heading+.panel-collapse>.panel-body{border-top-color:transparent}.panel-info>.panel-heading .badge{color:#edfafa;background-color:#0aa}.panel-info>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:transparent}.panel-warning{border-color:transparent}.panel-warning>.panel-heading{color:#ff6316;background-color:#fff6ec;border-color:transparent}.panel-warning>.panel-heading+.panel-collapse>.panel-body{border-top-color:transparent}.panel-warning>.panel-heading .badge{color:#fff6ec;background-color:#ff6316}.panel-warning>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:transparent}.panel-danger{border-color:transparent}.panel-danger>.panel-heading{color:#ff694b;background-color:#fff5f4;border-color:transparent}.panel-danger>.panel-heading+.panel-collapse>.panel-body{border-top-color:transparent}.panel-danger>.panel-heading .badge{color:#fff5f4;background-color:#ff694b}.panel-danger>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:transparent}.well{min-height:20px;padding:19px;margin-bottom:20px;background-color:#f0f2f4;border:1px solid transparent;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.05);box-shadow:inset 0 1px 1px rgba(0,0,0,0.05)}.well blockquote{border-color:#ddd;border-color:rgba(0,0,0,0.15)}.well-lg{padding:24px;border-radius:4px}.well-sm{padding:9px;border-radius:4px}.close{float:right;font-size:1.5rem;font-weight:bold;line-height:1;color:#000;text-shadow:0 1px 0 #fff;opacity:.2;filter:alpha(opacity=20)}.close:hover,.close:focus{color:#000;text-decoration:none;cursor:pointer;opacity:.5;filter:alpha(opacity=50)}button.close{padding:0;cursor:pointer;background:transparent;border:0;-webkit-appearance:none}.modal-open{overflow:hidden}.modal{display:none;overflow:hidden;position:fixed;top:0;right:0;bottom:0;left:0;z-index:1050;-webkit-overflow-scrolling:touch;outline:0}.modal.fade .modal-dialog{-webkit-transform:translate(0, -25%);-ms-transform:translate(0, -25%);-o-transform:translate(0, -25%);transform:translate(0, -25%);-webkit-transition:-webkit-transform 0.3s ease-out;-moz-transition:-moz-transform 0.3s ease-out;-o-transition:-o-transform 0.3s ease-out;transition:transform 0.3s ease-out}.modal.in .modal-dialog{-webkit-transform:translate(0, 0);-ms-transform:translate(0, 0);-o-transform:translate(0, 0);transform:translate(0, 0)}.modal-open .modal{overflow-x:hidden;overflow-y:auto}.modal-dialog{position:relative;width:auto;margin:10px}.modal-content{position:relative;background-color:transparent;border:1px solid transparent;border:1px solid transparent;border-radius:4px;-webkit-box-shadow:0 3px 9px rgba(0,0,0,0.5);box-shadow:0 3px 9px rgba(0,0,0,0.5);background-clip:padding-box;outline:0}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040;background-color:#f0f2f4}.modal-backdrop.fade{opacity:0;filter:alpha(opacity=0)}.modal-backdrop.in{opacity:.75;filter:alpha(opacity=75)}.modal-header{padding:0;border-bottom:1px solid transparent}.modal-header:before,.modal-header:after{content:" ";display:table}.modal-header:after{clear:both}.modal-header .close{margin-top:-2px}.modal-title{margin:0;line-height:1.6}.modal-body{position:relative;padding:0}.modal-footer{padding:0;text-align:right;border-top:1px solid transparent}.modal-footer:before,.modal-footer:after{content:" ";display:table}.modal-footer:after{clear:both}.modal-footer .btn+.btn{margin-left:5px;margin-bottom:0}.modal-footer .btn-group .btn+.btn{margin-left:-1px}.modal-footer .btn-block+.btn-block{margin-left:0}.modal-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}@media (min-width: 540px){.modal-dialog{width:768px;margin:30px auto}.modal-content{-webkit-box-shadow:0 5px 15px rgba(0,0,0,0.5);box-shadow:0 5px 15px rgba(0,0,0,0.5)}.modal-sm{width:400px}}@media (min-width: 768px){.modal-lg{width:960px}}.tooltip{position:absolute;z-index:1070;display:block;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Fira Sans","Droid Sans","Helvetica Neue",Helvetica,Arial,sans-serif;font-style:normal;font-weight:normal;letter-spacing:normal;line-break:auto;line-height:1.6;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;white-space:normal;word-break:normal;word-spacing:normal;word-wrap:normal;font-size:.9285714286rem;opacity:0;filter:alpha(opacity=0)}.tooltip.in{opacity:1;filter:alpha(opacity=100)}.tooltip.top{margin-top:-3px;padding:5px 0}.tooltip.right{margin-left:3px;padding:0 5px}.tooltip.bottom{margin-top:3px;padding:5px 0}.tooltip.left{margin-left:-3px;padding:0 5px}.tooltip-inner{max-width:300px;padding:3px 8px;color:#fff;text-align:center;background-color:#007699;border-radius:4px}.tooltip-arrow{position:absolute;width:0;height:0;border-color:transparent;border-style:solid}.tooltip.top .tooltip-arrow{bottom:0;left:50%;margin-left:-5px;border-width:5px 5px 0;border-top-color:#007699}.tooltip.top-left .tooltip-arrow{bottom:0;right:5px;margin-bottom:-5px;border-width:5px 5px 0;border-top-color:#007699}.tooltip.top-right .tooltip-arrow{bottom:0;left:5px;margin-bottom:-5px;border-width:5px 5px 0;border-top-color:#007699}.tooltip.right .tooltip-arrow{top:50%;left:0;margin-top:-5px;border-width:5px 5px 5px 0;border-right-color:#007699}.tooltip.left .tooltip-arrow{top:50%;right:0;margin-top:-5px;border-width:5px 0 5px 5px;border-left-color:#007699}.tooltip.bottom .tooltip-arrow{top:0;left:50%;margin-left:-5px;border-width:0 5px 5px;border-bottom-color:#007699}.tooltip.bottom-left .tooltip-arrow{top:0;right:5px;margin-top:-5px;border-width:0 5px 5px;border-bottom-color:#007699}.tooltip.bottom-right .tooltip-arrow{top:0;left:5px;margin-top:-5px;border-width:0 5px 5px;border-bottom-color:#007699}.popover{position:absolute;top:0;left:0;z-index:1060;display:none;max-width:400px;padding:1px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Fira Sans","Droid Sans","Helvetica Neue",Helvetica,Arial,sans-serif;font-style:normal;font-weight:normal;letter-spacing:normal;line-break:auto;line-height:1.6;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;white-space:normal;word-break:normal;word-spacing:normal;word-wrap:normal;font-size:1rem;background-color:#ff694b;background-clip:padding-box;border:1px solid transparent;border:1px solid transparent;border-radius:4px;-webkit-box-shadow:0 5px 10px rgba(0,0,0,0.2);box-shadow:0 5px 10px rgba(0,0,0,0.2)}.popover.top{margin-top:-10px}.popover.right{margin-left:10px}.popover.bottom{margin-top:10px}.popover.left{margin-left:-10px}.popover-title{margin:0;padding:8px 14px;font-size:1rem;background-color:transparent;border-bottom:1px solid transparent;border-radius:3px 3px 0 0}.popover-content{padding:9px 14px}.popover>.arrow,.popover>.arrow:after{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid}.popover>.arrow{border-width:0}.popover>.arrow:after{border-width:10px;content:""}.popover.top>.arrow{left:50%;margin-left:0;border-bottom-width:0;border-top-color:transparent;border-top-color:transparent;bottom:0}.popover.top>.arrow:after{content:" ";bottom:1px;margin-left:-10px;border-bottom-width:0;border-top-color:#ff694b}.popover.right>.arrow{top:50%;left:0;margin-top:0;border-left-width:0;border-right-color:transparent;border-right-color:transparent}.popover.right>.arrow:after{content:" ";left:1px;bottom:-10px;border-left-width:0;border-right-color:#ff694b}.popover.bottom>.arrow{left:50%;margin-left:0;border-top-width:0;border-bottom-color:transparent;border-bottom-color:transparent;top:0}.popover.bottom>.arrow:after{content:" ";top:1px;margin-left:-10px;border-top-width:0;border-bottom-color:#ff694b}.popover.left>.arrow{top:50%;right:0;margin-top:0;border-right-width:0;border-left-color:transparent;border-left-color:transparent}.popover.left>.arrow:after{content:" ";right:1px;border-right-width:0;border-left-color:#ff694b;bottom:-10px}.carousel{position:relative}.carousel-inner{position:relative;overflow:hidden;width:100%}.carousel-inner>.item{display:none;position:relative;-webkit-transition:0.6s ease-in-out left;-o-transition:0.6s ease-in-out left;transition:0.6s ease-in-out left}.carousel-inner>.item>img,.carousel-inner>.item>a>img{display:block;max-width:100%;height:auto;line-height:1}@media all and (transform-3d), (-webkit-transform-3d){.carousel-inner>.item{-webkit-transition:-webkit-transform 0.6s ease-in-out;-moz-transition:-moz-transform 0.6s ease-in-out;-o-transition:-o-transform 0.6s ease-in-out;transition:transform 0.6s ease-in-out;-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;backface-visibility:hidden;-webkit-perspective:1000px;-moz-perspective:1000px;perspective:1000px}.carousel-inner>.item.next,.carousel-inner>.item.active.right{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);left:0}.carousel-inner>.item.prev,.carousel-inner>.item.active.left{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);left:0}.carousel-inner>.item.next.left,.carousel-inner>.item.prev.right,.carousel-inner>.item.active{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);left:0}}.carousel-inner>.active,.carousel-inner>.next,.carousel-inner>.prev{display:block}.carousel-inner>.active{left:0}.carousel-inner>.next,.carousel-inner>.prev{position:absolute;top:0;width:100%}.carousel-inner>.next{left:100%}.carousel-inner>.prev{left:-100%}.carousel-inner>.next.left,.carousel-inner>.prev.right{left:0}.carousel-inner>.active.left{left:-100%}.carousel-inner>.active.right{left:100%}.carousel-control{position:absolute;top:0;left:0;bottom:0;width:120px;opacity:1;filter:alpha(opacity=100);font-size:20px;color:#fff;text-align:center;text-shadow:none;background-color:transparent}.carousel-control.left{background-image:-webkit-linear-gradient(left, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.0001) 100%);background-image:-o-linear-gradient(left, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.0001) 100%);background-image:linear-gradient(to right, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.0001) 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=\'#80000000\', endColorstr=\'#00000000\', GradientType=1)}.carousel-control.right{left:auto;right:0;background-image:-webkit-linear-gradient(left, rgba(0,0,0,0.0001) 0%, rgba(0,0,0,0.5) 100%);background-image:-o-linear-gradient(left, rgba(0,0,0,0.0001) 0%, rgba(0,0,0,0.5) 100%);background-image:linear-gradient(to right, rgba(0,0,0,0.0001) 0%, rgba(0,0,0,0.5) 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=\'#00000000\', endColorstr=\'#80000000\', GradientType=1)}.carousel-control:hover,.carousel-control:focus{outline:0;color:#fff;text-decoration:none;opacity:.9;filter:alpha(opacity=90)}.carousel-control .icon-prev,.carousel-control .icon-next,.carousel-control .glyphicon-chevron-left,.carousel-control .glyphicon-chevron-right{position:absolute;top:50%;margin-top:-10px;z-index:5;display:inline-block}.carousel-control .icon-prev,.carousel-control .glyphicon-chevron-left{left:50%;margin-left:-10px}.carousel-control .icon-next,.carousel-control .glyphicon-chevron-right{right:50%;margin-right:-10px}.carousel-control .icon-prev,.carousel-control .icon-next{width:20px;height:20px;line-height:1;font-family:serif}.carousel-control .icon-prev:before{content:\'\\2039\'}.carousel-control .icon-next:before{content:\'\\203A\'}.carousel-indicators{position:absolute;bottom:10px;left:50%;z-index:15;width:60%;margin-left:-30%;padding-left:0;list-style:none;text-align:center}.carousel-indicators li{display:inline-block;width:10px;height:10px;margin:1px;text-indent:-999px;border:1px solid transparent;border-radius:10px;cursor:pointer;background-color:#000 \\9;background-color:transparent}.carousel-indicators .active{margin:0;width:12px;height:12px;background-color:#fff}.carousel-caption{position:absolute;left:15%;right:15%;bottom:20px;z-index:10;padding-top:20px;padding-bottom:20px;color:#fff;text-align:center;text-shadow:none}.carousel-caption .btn{text-shadow:none}@media screen and (min-width: 540px){.carousel-control .glyphicon-chevron-left,.carousel-control .glyphicon-chevron-right,.carousel-control .icon-prev,.carousel-control .icon-next{width:30px;height:30px;margin-top:-10px;font-size:30px}.carousel-control .glyphicon-chevron-left,.carousel-control .icon-prev{margin-left:-10px}.carousel-control .glyphicon-chevron-right,.carousel-control .icon-next{margin-right:-10px}.carousel-caption{left:20%;right:20%;padding-bottom:30px}.carousel-indicators{bottom:20px}}.clearfix:before,.clearfix:after{content:" ";display:table}.clearfix:after{clear:both}.center-block{display:block;margin-left:auto;margin-right:auto}.pull-right{float:right !important}.pull-left{float:left !important}.hide{display:none !important}.show{display:block !important}.invisible{visibility:hidden}.text-hide{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.hidden{display:none !important}.affix{position:fixed}@font-face{font-family:"arrows";font-weight:normal;font-style:normal;src:url('+r(n(208))+') format("woff")}[class*="arrow-"]:not(.arrow-before):after,[class*="arrow-"].arrow-before:before{font-family:"arrows";text-transform:none;font-style:normal;font-weight:normal;line-height:.5}.arrow-large:not(.arrow-before):after,.arrow-large.arrow-before:before{text-transform:uppercase}.arrow-up:not(.arrow-before):after,.arrow-up.arrow-before:before{content:" a "}.arrow-right:not(.arrow-before):after,.arrow-right.arrow-before:before{content:" b "}.arrow-down:not(.arrow-before):after,.arrow-down.arrow-before:before{content:" c "}.arrow-left:not(.arrow-before):after,.arrow-left.arrow-before:before{content:" d "}.arrow-close:not(.arrow-before):after,.arrow-close.arrow-before:before{content:" e "}.arrow-check:not(.arrow-before):after,.arrow-check.arrow-before:before{content:" f "}@font-face{font-family:"entypo";font-weight:normal;font-style:normal;src:url('+r(n(207))+') format("woff")}[data-icon]{width:24px;height:10px;display:inline-block;vertical-align:middle}[data-icon]:before{display:block;position:relative;margin-top:-1px;top:-5px;speak:none;font-family:"entypo";font-style:normal;font-weight:normal;font-variant:normal;font-size:18px;line-height:1;text-align:center;text-transform:none;text-decoration:inherit}[data-icon].md:before{font-size:20px}[data-icon].lg{width:32px}[data-icon].lg:before{font-size:32px;top:-11px}[data-icon="note"]:before{content:"\\E800"}[data-icon="logo-db"]:before{content:"\\E8DE"}[data-icon="music"]:before{content:"\\E802"}[data-icon="search"]:before{content:"\\E803"}[data-icon="flashlight"]:before{content:"\\E804"}[data-icon="mail"]:before{content:"\\E805"}[data-icon="heart"]:before{content:"\\E80D"}[data-icon="heart-empty"]:before{content:"\\E80F"}[data-icon="star"]:before{content:"\\E810"}[data-icon="star-empty"]:before{content:"\\E813"}[data-icon="user"]:before{content:"\\E814"}[data-icon="users"]:before{content:"\\E817"}[data-icon="user-add"]:before{content:"\\E819"}[data-icon="video"]:before{content:"\\E81A"}[data-icon="picture"]:before{content:"\\E81D"}[data-icon="camera"]:before{content:"\\1F4F7"}[data-icon="layout"]:before{content:"\\E821"}[data-icon="menu"]:before{content:"\\E823"}[data-icon="check"]:before{content:"\\E824"}[data-icon="close"]:before{content:"\\E826"}[data-icon="cancel"]:before{content:"\\E826"}[data-icon="cancel-circled"]:before{content:"\\E806"}[data-icon="cancel-squared"]:before{content:"\\E808"}[data-icon="plus"]:before{content:"+"}[data-icon="plus-circled"]:before{content:"\\E809"}[data-icon="plus-squared"]:before{content:"\\E80A"}[data-icon="minus"]:before{content:"\\2212"}[data-icon="minus-circled"]:before{content:"\\E80E"}[data-icon="minus-squared"]:before{content:"\\E80C"}[data-icon="help"]:before{content:"\\E811"}[data-icon="help-circled"]:before{content:"\\E812"}[data-icon="info"]:before{content:"\\E815"}[data-icon="info-circled"]:before{content:"\\E816"}[data-icon="back"]:before{content:"\\E818"}[data-icon="home"]:before{content:"\\E81B"}[data-icon="link"]:before{content:"\\E81C"}[data-icon="attach"]:before{content:"\\E81F"}[data-icon="lock"]:before{content:"\\1F512"}[data-icon="lock-open"]:before{content:"\\E822"}[data-icon="eye"]:before{content:"\\E825"}[data-icon="tag"]:before{content:"\\E827"}[data-icon="bookmark"]:before{content:"\\1F516"}[data-icon="bookmarks"]:before{content:"\\E837"}[data-icon="flag"]:before{content:"\\E838"}[data-icon="thumbs-up"]:before{content:"\\E840"}[data-icon="thumbs-down"]:before{content:"\\E849"}[data-icon="download"]:before{content:"\\E85D"}[data-icon="upload"]:before{content:"\\E851"}[data-icon="upload-cloud"]:before{content:"\\E86B"}[data-icon="reply"]:before{content:"\\E86C"}[data-icon="reply-all"]:before{content:"\\E87B"}[data-icon="forward"]:before{content:"\\E87C"}[data-icon="quote"]:before{content:"\\E889"}[data-icon="code"]:before{content:"\\E88A"}[data-icon="export"]:before{content:"\\E899"}[data-icon="pencil"]:before{content:"\\270F"}[data-icon="feather"]:before{content:"\\E8A5"}[data-icon="print"]:before{content:"\\E8A8"}[data-icon="retweet"]:before{content:"\\E8A9"}[data-icon="keyboard"]:before{content:"\\2328"}[data-icon="comment"]:before{content:"\\E8AB"}[data-icon="chat"]:before{content:"\\E829"}[data-icon="bell"]:before{content:"\\1F514"}[data-icon="attention"]:before{content:"\\E839"}[data-icon="alert"]:before{content:"\\E841"}[data-icon="vcard"]:before{content:"\\E853"}[data-icon="address"]:before{content:"\\E85C"}[data-icon="location"]:before{content:"\\E852"}[data-icon="map"]:before{content:"\\E84A"}[data-icon="direction"]:before{content:"\\E86D"}[data-icon="compass"]:before{content:"\\E87A"}[data-icon="cup"]:before{content:"\\E850"}[data-icon="trash"]:before{content:"\\E888"}[data-icon="doc"]:before{content:"\\E88B"}[data-icon="docs"]:before{content:"\\E898"}[data-icon="doc-landscape"]:before{content:"\\E89B"}[data-icon="doc-text"]:before{content:"\\E8A6"}[data-icon="doc-text-inv"]:before{content:"\\E8A7"}[data-icon="newspaper"]:before{content:"\\1F4F0"}[data-icon="book-open"]:before{content:"\\E8AD"}[data-icon="book"]:before{content:"\\E8AC"}[data-icon="folder"]:before{content:"\\E82A"}[data-icon="archive"]:before{content:"\\E835"}[data-icon="box"]:before{content:"\\E83A"}[data-icon="rss"]:before{content:"\\E842"}[data-icon="phone"]:before{content:"\\E854"}[data-icon="cog"]:before{content:"\\E85E"}[data-icon="tools"]:before{content:"\\E860"}[data-icon="share"]:before{content:"\\E84B"}[data-icon="shareable"]:before{content:"\\E86E"}[data-icon="basket"]:before{content:"\\E879"}[data-icon="bag"]:before{content:"\\E87E"}[data-icon="calendar"]:before{content:"\\1F4C5"}[data-icon="login"]:before{content:"\\E88C"}[data-icon="logout"]:before{content:"\\E897"}[data-icon="mic"]:before{content:"\\E84D"}[data-icon="mute"]:before{content:"\\E84E"}[data-icon="sound"]:before{content:"\\E8AE"}[data-icon="volume"]:before{content:"\\E8B4"}[data-icon="clock"]:before{content:"\\E8AF"}[data-icon="hourglass"]:before{content:"\\231B"}[data-icon="lamp"]:before{content:"\\E82B"}[data-icon="light-down"]:before{content:"\\E834"}[data-icon="light-up"]:before{content:"\\E83B"}[data-icon="adjust"]:before{content:"\\E843"}[data-icon="block"]:before{content:"\\2588"}[data-icon="resize-full"]:before{content:"\\E85F"}[data-icon="resize-small"]:before{content:"\\E861"}[data-icon="popup"]:before{content:"\\E86A"}[data-icon="publish"]:before{content:"\\E86F"}[data-icon="window"]:before{content:"\\E878"}[data-icon="arrow-combo"]:before{content:"\\E87D"}[data-icon="down-circled"]:before{content:"\\E887"}[data-icon="left-circled"]:before{content:"\\E88D"}[data-icon="right-circled"]:before{content:"\\E896"}[data-icon="up-circled"]:before{content:"\\E89C"}[data-icon="down-open"]:before{content:"\\E84C"}[data-icon="left-open"]:before{content:"\\E8B2"}[data-icon="right-open"]:before{content:"\\E8B3"}[data-icon="up-open"]:before{content:"\\E8B5"}[data-icon="down-open-mini"]:before{content:"\\E8B6"}[data-icon="left-open-mini"]:before{content:"\\E833"}[data-icon="right-open-mini"]:before{content:"\\E832"}[data-icon="up-open-mini"]:before{content:"\\E83C"}[data-icon="down-open-big"]:before{content:"\\E844"}[data-icon="left-open-big"]:before{content:"\\E855"}[data-icon="right-open-big"]:before{content:"\\E85B"}[data-icon="up-open-big"]:before{content:"\\E862"}[data-icon="down"]:before{content:"\\E869"}[data-icon="left"]:before{content:"\\E870"}[data-icon="right"]:before{content:"\\E877"}[data-icon="up"]:before{content:"\\E87F"}[data-icon="down-dir"]:before{content:"\\E886"}[data-icon="left-dir"]:before{content:"\\E88E"}[data-icon="right-dir"]:before{content:"\\E895"}[data-icon="up-dir"]:before{content:"\\E89D"}[data-icon="down-bold"]:before{content:"\\E8A4"}[data-icon="left-bold"]:before{content:"\\E8BA"}[data-icon="right-bold"]:before{content:"\\E8B9"}[data-icon="up-bold"]:before{content:"\\E8B8"}[data-icon="down-thin"]:before{content:"\\E8B7"}[data-icon="left-thin"]:before{content:"\\E82C"}[data-icon="note-beamed"]:before{content:"\\E801"}[data-icon="up-thin"]:before{content:"\\E83D"}[data-icon="cw"]:before{content:"\\E856"}[data-icon="arrows-ccw"]:before{content:"\\E85A"}[data-icon="level-down"]:before{content:"\\E863"}[data-icon="level-up"]:before{content:"\\E868"}[data-icon="shuffle"]:before{content:"\\E871"}[data-icon="loop"]:before{content:"\\E876"}[data-icon="switch"]:before{content:"\\E880"}[data-icon="play"]:before{content:"\\E885"}[data-icon="stop"]:before{content:"\\E88F"}[data-icon="pause"]:before{content:"\\E894"}[data-icon="record"]:before{content:"\\E89E"}[data-icon="to-end"]:before{content:"\\E8A3"}[data-icon="to-start"]:before{content:"\\E8BB"}[data-icon="fast-forward"]:before{content:"\\E8BC"}[data-icon="fast-backward"]:before{content:"\\E8BD"}[data-icon="progress-0"]:before{content:"\\E8BE"}[data-icon="progress-1"]:before{content:"\\E82D"}[data-icon="progress-2"]:before{content:"\\E830"}[data-icon="progress-3"]:before{content:"\\E83E"}[data-icon="target"]:before{content:"\\E857"}[data-icon="palette"]:before{content:"\\E847"}[data-icon="list"]:before{content:"\\E859"}[data-icon="list-add"]:before{content:"\\E864"}[data-icon="signal"]:before{content:"\\E867"}[data-icon="trophy"]:before{content:"\\1F3C6"}[data-icon="battery"]:before{content:"\\1F50B"}[data-icon="back-in-time"]:before{content:"\\E881"}[data-icon="monitor"]:before{content:"\\E884"}[data-icon="mobile"]:before{content:"\\E890"}[data-icon="network"]:before{content:"\\E893"}[data-icon="cd"]:before{content:"\\E89F"}[data-icon="inbox"]:before{content:"\\E8A2"}[data-icon="install"]:before{content:"\\E8C2"}[data-icon="globe"]:before{content:"\\E8C1"}[data-icon="cloud"]:before{content:"\\2601"}[data-icon="cloud-thunder"]:before{content:"\\E8BF"}[data-icon="flash"]:before{content:"\\E82E"}[data-icon="moon"]:before{content:"\\E82F"}[data-icon="flight"]:before{content:"\\E83F"}[data-icon="paper-plane"]:before{content:"\\E845"}[data-icon="leaf"]:before{content:"\\E846"}[data-icon="lifebuoy"]:before{content:"\\E858"}[data-icon="mouse"]:before{content:"\\1F401"}[data-icon="briefcase"]:before{content:"\\1F4BC"}[data-icon="suitcase"]:before{content:"\\E873"}[data-icon="dot"]:before{content:"\\E874"}[data-icon="dot-2"]:before{content:"\\E882"}[data-icon="dot-3"]:before{content:"\\E883"}[data-icon="brush"]:before{content:"\\E891"}[data-icon="magnet"]:before{content:"\\E892"}[data-icon="infinity"]:before{content:"\\221E"}[data-icon="erase"]:before{content:"\\E8A1"}[data-icon="chart-pie"]:before{content:"\\E8C3"}[data-icon="chart-line"]:before{content:"\\E8C4"}[data-icon="chart-bar"]:before{content:"\\E8C5"}[data-icon="chart-area"]:before{content:"\\E8C6"}[data-icon="tape"]:before{content:"\\E8C7"}[data-icon="graduation-cap"]:before{content:"\\E8D2"}[data-icon="language"]:before{content:"\\E8D4"}[data-icon="ticket"]:before{content:"\\1F3AB"}[data-icon="water"]:before{content:"\\E8DA"}[data-icon="droplet"]:before{content:"\\1F4A7"}[data-icon="air"]:before{content:"\\E8E3"}[data-icon="credit-card"]:before{content:"\\E8EA"}[data-icon="floppy"]:before{content:"\\E8EB"}[data-icon="clipboard"]:before{content:"\\1F4CB"}[data-icon="megaphone"]:before{content:"\\E8F3"}[data-icon="database"]:before{content:"\\E8FA"}[data-icon="drive"]:before{content:"\\E8FC"}[data-icon="bucket"]:before{content:"\\E902"}[data-icon="thermometer"]:before{content:"\\E903"}[data-icon="key"]:before{content:"\\1F511"}[data-icon="flow-cascade"]:before{content:"\\E90B"}[data-icon="flow-branch"]:before{content:"\\E912"}[data-icon="flow-tree"]:before{content:"\\E913"}[data-icon="flow-line"]:before{content:"\\E91A"}[data-icon="flow-parallel"]:before{content:"\\E8C8"}[data-icon="rocket"]:before{content:"\\1F680"}[data-icon="gauge"]:before{content:"\\E8D3"}[data-icon="traffic-cone"]:before{content:"\\E8D8"}[data-icon="cc"]:before{content:"\\E8DB"}[data-icon="cc-by"]:before{content:"\\E8E1"}[data-icon="cc-nc"]:before{content:"\\E8E4"}[data-icon="cc-nc-eu"]:before{content:"\\E8E9"}[data-icon="cc-nc-jp"]:before{content:"\\E8EC"}[data-icon="cc-sa"]:before{content:"\\E8F1"}[data-icon="cc-nd"]:before{content:"\\E8F4"}[data-icon="cc-pd"]:before{content:"\\E8F9"}[data-icon="cc-zero"]:before{content:"\\E8FB"}[data-icon="cc-share"]:before{content:"\\E901"}[data-icon="cc-remix"]:before{content:"\\E904"}[data-icon="github"]:before{content:"\\E909"}[data-icon="github-circled"]:before{content:"\\E90C"}[data-icon="flickr"]:before{content:"\\E911"}[data-icon="flickr-circled"]:before{content:"\\E914"}[data-icon="vimeo"]:before{content:"\\E919"}[data-icon="vimeo-circled"]:before{content:"\\E8C9"}[data-icon="twitter"]:before{content:"\\E8D0"}[data-icon="twitter-circled"]:before{content:"\\E8D6"}[data-icon="facebook"]:before{content:"\\E8D7"}[data-icon="facebook-circled"]:before{content:"\\E8DC"}[data-icon="facebook-squared"]:before{content:"\\E8E0"}[data-icon="gplus"]:before{content:"\\E8E5"}[data-icon="gplus-circled"]:before{content:"\\E8E8"}[data-icon="pinterest"]:before{content:"\\E8ED"}[data-icon="pinterest-circled"]:before{content:"\\E8F0"}[data-icon="tumblr"]:before{content:"\\E8F5"}[data-icon="tumblr-circled"]:before{content:"\\E8F8"}[data-icon="linkedin"]:before{content:"\\E8FD"}[data-icon="linkedin-circled"]:before{content:"\\E900"}[data-icon="dribbble"]:before{content:"\\E905"}[data-icon="dribbble-circled"]:before{content:"\\E908"}[data-icon="stumbleupon"]:before{content:"\\E90D"}[data-icon="stumbleupon-circled"]:before{content:"\\E910"}[data-icon="lastfm"]:before{content:"\\E915"}[data-icon="lastfm-circled"]:before{content:"\\E918"}[data-icon="rdio"]:before{content:"\\E8CA"}[data-icon="rdio-circled"]:before{content:"\\E8D5"}[data-icon="spotify"]:before{content:"\\E8CF"}[data-icon="spotify-circled"]:before{content:"\\E8CE"}[data-icon="qq"]:before{content:"\\E8DD"}[data-icon="instagram"]:before{content:"\\E8DF"}[data-icon="dropbox"]:before{content:"\\E8E6"}[data-icon="evernote"]:before{content:"\\E8E7"}[data-icon="flattr"]:before{content:"\\E8EE"}[data-icon="skype"]:before{content:"\\E8EF"}[data-icon="skype-circled"]:before{content:"\\E8F6"}[data-icon="renren"]:before{content:"\\E8F7"}[data-icon="sina-weibo"]:before{content:"\\E8FE"}[data-icon="paypal"]:before{content:"\\E8FF"}[data-icon="picasa"]:before{content:"\\E906"}[data-icon="soundcloud"]:before{content:"\\E907"}[data-icon="mixi"]:before{content:"\\E90E"}[data-icon="behance"]:before{content:"\\E90F"}[data-icon="google-circles"]:before{content:"\\E916"}[data-icon="vkontakte"]:before{content:"\\E917"}[data-icon="smashing"]:before{content:"\\E8CB"}[data-icon="sweden"]:before{content:"\\E8CC"}[data-icon="db-shape"]:before{content:"\\E8CD"}[data-icon="bitbucket"]:before{content:"\\20AC"}*,*:before,*:after{position:relative;outline:none !important;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-smoothing:grayscale}html{-webkit-text-size-adjust:100%;font-size:14px}body{min-width:960px}.block{display:block !important}.inline{display:inline !important}.inline-block{display:inline-block !important}.invisible{visibility:hidden}.hidden{display:none}.blocklink{display:block;color:inherit;text-decoration:none !important}.blocklink:hover,.blocklink:focus{color:inherit}.fill{display:block;position:absolute;width:100%;height:100%;top:0;left:0}.full{display:block;position:absolute;width:100%;height:100%;top:0;left:0;position:fixed}.cover{display:block;position:absolute;left:0;top:0;bottom:0;right:0}.clear:after{display:table;content:\'\';clear:both}.clean{margin:0;padding:0;border:0;list-style-type:none}.clean li{margin:0;padding:0;list-style-type:none}.trim>*:first-child{margin-top:0}.trim>*:last-child{margin-bottom:0}.snug>*{margin-top:.5rem;margin-bottom:.5rem}.snug>*:first-child{margin-top:0}.snug>*:last-child{margin-bottom:0}.compact *{margin-top:0;margin-bottom:0}.component{display:block;border-width:0;background:white;box-shadow:0 0 0 1px rgba(0,30,60,0.03),0 3px 3px -1.5px rgba(0,0,0,0.03);border-radius:4px}.transitions{-webkit-transition:all .5s cubic-bezier(0.25, 0, 0, 1);-o-transition:all .5s cubic-bezier(0.25, 0, 0, 1);transition:all .5s cubic-bezier(0.25, 0, 0, 1)}.margin,.margin-top{margin-top:2em}.margin,.margin-bottom{margin-bottom:2em}.margin-small,.margin-small-top{margin-top:1em}.margin-small,.margin-small-bottom{margin-bottom:1em}.padding,.padding-top{padding-top:2em}.padding,.padding-bottom{margin-bottom:2em}.flush,.flush-top{margin-top:0 !important}.flush,.flush-bottom{margin-bottom:0 !important}@media print{html{font-size:9pt}html body{-webkit-print-color-adjust:exact}html a{white-space:nowrap}html,body{background:white !important}font-size:9pt;body{-webkit-print-color-adjust:exact}a{white-space:nowrap}@page{margin:0.75in 1in}}@media screen{html.print{font-size:9pt;font-size:9pt;background:#f9fafb}html.print body{-webkit-print-color-adjust:exact}html.print a{white-space:nowrap}html.print body{-webkit-print-color-adjust:exact}html.print a{white-space:nowrap}html.print body{padding:0.75in 1in;margin:.5in auto;max-width:8.5in;box-shadow:0 0 0 1px rgba(0,30,60,0.03),0 3px 3px -1.5px rgba(0,0,0,0.03);height:auto}}.text-red{color:#ff694b !important}.text-red-dark{color:#ff4f39 !important}.text-red-darker{color:#ff3c2b !important}.text-red-darkest{color:#ff2d21 !important}.text-red-light{color:#ff845e !important}.text-red-lighter{color:#ffa376 !important}.text-red-lightest{color:#ffba94 !important}.text-red-highlight{color:#fff5f4 !important}.bg-red{background-color:#ff694b !important}.bg-red-dark{background-color:#ff4f39 !important}.bg-red-darker{background-color:#ff3c2b !important}.bg-red-darkest{background-color:#ff2d21 !important}.bg-red-light{background-color:#ff845e !important}.bg-red-lighter{background-color:#ffa376 !important}.bg-red-lightest{background-color:#ffba94 !important}.bg-red-highlight{background-color:#fff5f4 !important}.text-orange{color:#ff694b !important}.text-orange-dark{color:#ff4f39 !important}.text-orange-darker{color:#ff3c2b !important}.text-orange-darkest{color:#ff2d21 !important}.text-orange-light{color:#ff845e !important}.text-orange-lighter{color:#ffa376 !important}.text-orange-lightest{color:#ffba94 !important}.text-orange-highlight{color:#fff5f4 !important}.bg-orange{background-color:#ff694b !important}.bg-orange-dark{background-color:#ff4f39 !important}.bg-orange-darker{background-color:#ff3c2b !important}.bg-orange-darkest{background-color:#ff2d21 !important}.bg-orange-light{background-color:#ff845e !important}.bg-orange-lighter{background-color:#ffa376 !important}.bg-orange-lightest{background-color:#ffba94 !important}.bg-orange-highlight{background-color:#fff5f4 !important}.text-yellow{color:#fc0 !important}.text-yellow-dark{color:#ffc000 !important}.text-yellow-darker{color:#ffb100 !important}.text-yellow-darkest{color:#ff9e00 !important}.text-yellow-light{color:#ffd900 !important}.text-yellow-lighter{color:#ffe300 !important}.text-yellow-lightest{color:#ffea00 !important}.text-yellow-highlight{color:#fff8db !important}.bg-yellow{background-color:#fc0 !important}.bg-yellow-dark{background-color:#ffc000 !important}.bg-yellow-darker{background-color:#ffb100 !important}.bg-yellow-darkest{background-color:#ff9e00 !important}.bg-yellow-light{background-color:#ffd900 !important}.bg-yellow-lighter{background-color:#ffe300 !important}.bg-yellow-lightest{background-color:#ffea00 !important}.bg-yellow-highlight{background-color:#fff8db !important}.text-green{color:#7ec631 !important}.text-green-dark{color:#5fb825 !important}.text-green-darker{color:#48a71c !important}.text-green-darkest{color:#369115 !important}.text-green-light{color:#9ed53e !important}.text-green-lighter{color:#b7e04e !important}.text-green-lightest{color:#c9e862 !important}.text-green-highlight{color:#f3faec !important}.bg-green{background-color:#7ec631 !important}.bg-green-dark{background-color:#5fb825 !important}.bg-green-darker{background-color:#48a71c !important}.bg-green-darkest{background-color:#369115 !important}.bg-green-light{background-color:#9ed53e !important}.bg-green-lighter{background-color:#b7e04e !important}.bg-green-lightest{background-color:#c9e862 !important}.bg-green-highlight{background-color:#f3faec !important}.text-blue{color:#0bb !important}.text-blue-dark{color:#0aa !important}.text-blue-darker{color:#009595 !important}.text-blue-darkest{color:#007b7b !important}.text-blue-light{color:#0cc !important}.text-blue-lighter{color:#00d9d9 !important}.text-blue-lightest{color:#00e3e3 !important}.text-blue-highlight{color:#edfafa !important}.bg-blue{background-color:#0bb !important}.bg-blue-dark{background-color:#0aa !important}.bg-blue-darker{background-color:#009595 !important}.bg-blue-darkest{background-color:#007b7b !important}.bg-blue-light{background-color:#0cc !important}.bg-blue-lighter{background-color:#00d9d9 !important}.bg-blue-lightest{background-color:#00e3e3 !important}.bg-blue-highlight{background-color:#edfafa !important}.text-purple{color:#7f6cc5 !important}.text-purple-dark{color:#6051b7 !important}.text-purple-darker{color:#483da5 !important}.text-purple-darkest{color:#362e8f !important}.text-purple-light{color:#9f87d4 !important}.text-purple-lighter{color:#b7a5df !important}.text-purple-lightest{color:#c9bce7 !important}.text-purple-highlight{color:#f8f7fc !important}.bg-purple{background-color:#7f6cc5 !important}.bg-purple-dark{background-color:#6051b7 !important}.bg-purple-darker{background-color:#483da5 !important}.bg-purple-darkest{background-color:#362e8f !important}.bg-purple-light{background-color:#9f87d4 !important}.bg-purple-lighter{background-color:#b7a5df !important}.bg-purple-lightest{background-color:#c9bce7 !important}.bg-purple-highlight{background-color:#f8f7fc !important}.text-navy{color:#005e7a !important}.text-navy-dark{color:#00475c !important}.text-navy-darker{color:#003645 !important}.text-navy-darkest{color:#002934 !important}.text-navy-light{color:#007699 !important}.text-navy-lighter{color:#0094b3 !important}.text-navy-lightest{color:#00afc6 !important}.text-navy-highlight{color:#f4f8f9 !important}.bg-navy{background-color:#005e7a !important}.bg-navy-dark{background-color:#00475c !important}.bg-navy-darker{background-color:#003645 !important}.bg-navy-darkest{background-color:#002934 !important}.bg-navy-light{background-color:#007699 !important}.bg-navy-lighter{background-color:#0094b3 !important}.bg-navy-lightest{background-color:#00afc6 !important}.bg-navy-highlight{background-color:#f4f8f9 !important}.text-gray{color:#8b969e !important}.text-gray-dark{color:#6e7c86 !important}.text-gray-darker{color:#535d68 !important}.text-gray-darkest{color:#3f464e !important}.text-gray-light{color:#a8b1b7 !important}.text-gray-lighter{color:#bec5c9 !important}.text-gray-lightest{color:#cfd4d7 !important}.text-gray-highlight{color:#f7f7f8 !important}.bg-gray{background-color:#8b969e !important}.bg-gray-dark{background-color:#6e7c86 !important}.bg-gray-darker{background-color:#535d68 !important}.bg-gray-darkest{background-color:#3f464e !important}.bg-gray-light{background-color:#a8b1b7 !important}.bg-gray-lighter{background-color:#bec5c9 !important}.bg-gray-lightest{background-color:#cfd4d7 !important}.bg-gray-highlight{background-color:#f7f7f8 !important}.text-success{color:#5fb825 !important}.text-danger{color:#ff4f39 !important}.text-warning{color:#ff821d !important}.text-info{color:#0aa !important}.text-white{color:white !important}.text-light{color:#8b969e !important}.text-lighter{color:#bec5c9 !important}.text-dark{color:#313539 !important}.text-inherit{color:inherit}.text-inherit:hover,.text-inherit:focus{color:inherit}.text-silver{color:#f0f2f4 !important}.text-silver-light{color:#f9fafb !important}.text-silver-dark{color:#e9ebef !important}.text-silver-darker{color:#e4e6eb !important}.text-silver-darkest{color:#dee0e6 !important}.bg-silver{background-color:#f0f2f4}.bg-silver-light{background-color:#f9fafb !important}.bg-silver-dark{background-color:#e9ebef !important}.bg-silver-darker{background-color:#e4e6eb !important}.bg-silver-darkest{background-color:#dee0e6 !important}.bg-transparent{background-color:transparent !important}.faint{opacity:.5}.fainter{opacity:.3}.inherit{color:inherit}::selection{background:#0bb;color:#fff}::-moz-selection{background:#0bb;color:#fff}img{display:block;max-width:100%}[data-bg]{background:transparent no-repeat 50% 50%/cover}body{font-size:1rem;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Fira Sans","Droid Sans","Helvetica Neue",Helvetica,Arial,sans-serif;background:#f9fafb;color:#5e666c}*,dt,dd{line-height:calc(1em + .15 * (5rem - 1em));text-align:inherit}a,.a{cursor:pointer;color:#0bb;text-decoration:none}a:hover,a:focus,.a:hover,.a:focus{text-decoration:none;color:#009595}i,.i,em,.em{font-style:oblique}b,.b,strong,.strong{font-weight:bold}mark{background:#edfafa;color:#313539;padding:.1em 0;border-radius:4px}.normal{font-weight:normal !important}iframe{margin:0;display:block}label{margin:.5em 0;font-weight:normal}hr{margin:3em 0;border-top:1px solid rgba(0,30,60,0.075)}blockquote,ul,ol,p,.field,.table{margin:1.5em 0}h1,.h1,h2,.h2,h3,.h3,h4,.h4,h5,.h5,h6,.h6{margin:1.5em 0 .5em}ul,ol{padding-left:1.25em}dl dt+dd{margin-bottom:1em}blockquote{padding:0;font-size:inherit}small,.small,.text-small{font-size:.9285714286rem}h1,.h1,h2,.h2,h3,.h3,h4,.h4,h5,.h5,h6,.h6{font-weight:bold;letter-spacing:.01em}h5,.h5,h6,.h6,.text-base{font-size:1rem}h4,.h4,.text-large{font-size:1.1428571429rem}h3,.h3,.text-larger{font-size:1.2857142857rem}h1,.h1,h2,.h2,.text-largest{font-size:1.7142857143rem}.text-body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Fira Sans","Droid Sans","Helvetica Neue",Helvetica,Arial,sans-serif}.text-mono{font-family:"Monaco",monospace;font-size:.8571428571rem !important}.text-smallcaps{font-size:10px;text-transform:uppercase;letter-spacing:.1em;color:#8b969e;font-weight:bold;font-style:normal}.text-left{text-align:left !important}.text-right{text-align:right !important}.text-center{text-align:center !important}@media (min-width: 961px){.text-center-large{text-align:center !important}.text-right-large{text-align:right !important}.text-left-large{text-align:left !important}}@media (max-width: 960px){.text-center-small{text-align:center !important}.text-right-small{text-align:right !important}.text-left-small{text-align:left !important}}@media (min-width: 401px){.nowrap{white-space:nowrap}}.condensed{white-space:nowrap;width:1px}.ellipsis{width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.wrap{white-space:normal}.break{word-break:break-word}.buffer,.card,.title,.tokens,.settings{margin-top:20px;margin-bottom:20px}*:first-child{margin-top:0}*:last-child{margin-bottom:0}.margin-right{margin-right:.75em !important}.margin-left{margin-left:.75em !important}.margin-right-small{margin-right:.375em !important}.margin-left-small{margin-left:.375em !important}.icn{font-size:16px;top:-1px;width:1em;height:1em;margin:auto;display:inline-block;vertical-align:middle;-webkit-backface-visibility:hidden;-webkit-transform:translateZ(0);transform:translateZ(0)}.icn use{fill:currentColor}.icn-md{width:1.5em;height:1.5em;-webkit-transform:scale(1.5);transform:scale(1.5);-webkit-transform-origin:0 0;transform-origin:0 0}.icn-lg{width:2em;height:2em;-webkit-transform:scale(2);transform:scale(2);-webkit-transform-origin:0 0;transform-origin:0 0}.glyph{top:-1px;margin:auto;font-size:24px;display:inline-block;vertical-align:middle;transform:translate(0, 0);width:1em;height:1em}.glyph use{fill:none;stroke-width:2;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;transform-origin:0 0;shape-rendering:geometricPrecision}.glyph-solid use{fill:currentColor;stroke-width:0 !important}.glyph-middle,.btn .glyph{margin-top:-10px;margin-bottom:-8px}.glyph-before{margin-right:.25em;margin-left:-.125em}.glyph-after{margin-left:.25em;margin-right:-.125em}.glyph-sm{font-size:16px}.glyph-sm use{stroke-width:3}@media (-webkit-min-device-pixel-ratio: 1.25), (min-device-pixel-ratio: 1.25){.glyph-sm use{stroke-width:2.25}}.glyph-md{font-size:36px}.glyph-md use{stroke-width:1.3333333333}@media (-webkit-min-device-pixel-ratio: 1.25), (min-device-pixel-ratio: 1.25){.glyph-md use{stroke-width:1}}.glyph-lg{font-size:48px}.glyph-lg use{stroke-width:1}@media (-webkit-min-device-pixel-ratio: 1.25), (min-device-pixel-ratio: 1.25){.glyph-lg use{stroke-width:.75}}.glyph-xl{font-size:72px}.glyph-xl use{stroke-width:.6666666667}@media (-webkit-min-device-pixel-ratio: 1.25), (min-device-pixel-ratio: 1.25){.glyph-xl use{stroke-width:.5}}.glyph-check,.glyph-radio{font-size:18px;border:2px solid currentColor;opacity:.25}.glyph-check use,.glyph-radio use{opacity:0}:hover>.glyph-check,:focus ~ .glyph-check,:hover>.glyph-radio,:focus ~ .glyph-radio{opacity:.5}:checked ~ .glyph-check,:disabled ~ .glyph-check,[type="checkbox"]:indeterminate ~ .glyph-check,:checked ~ .glyph-radio,:disabled ~ .glyph-radio,[type="checkbox"]:indeterminate ~ .glyph-radio{border-color:transparent !important}:checked ~ .glyph-check,[type="checkbox"]:indeterminate ~ .glyph-check,:checked ~ .glyph-radio,[type="checkbox"]:indeterminate ~ .glyph-radio{opacity:1;background:#0bb}:checked ~ .glyph-check use,[type="checkbox"]:indeterminate ~ .glyph-check use,:checked ~ .glyph-radio use,[type="checkbox"]:indeterminate ~ .glyph-radio use{opacity:1;color:white}:checked:hover ~ .glyph-check,:checked:focus ~ .glyph-check,[type="checkbox"]:indeterminate:hover ~ .glyph-check,[type="checkbox"]:indeterminate:focus ~ .glyph-check,:hover>:checked ~ .glyph-check,:focus>:checked ~ .glyph-check,:checked:hover ~ .glyph-radio,:checked:focus ~ .glyph-radio,[type="checkbox"]:indeterminate:hover ~ .glyph-radio,[type="checkbox"]:indeterminate:focus ~ .glyph-radio,:hover>:checked ~ .glyph-radio,:focus>:checked ~ .glyph-radio{background:#009595}[type="checkbox"]:indeterminate ~ .glyph-check use,[type="checkbox"]:indeterminate ~ .glyph-radio use{fill:currentColor;stroke:transparent}:disabled ~ .glyph-check,:checked:disabled ~ .glyph-check,[type="checkbox"]:indeterminate:disabled ~ .glyph-check,:disabled ~ .glyph-radio,:checked:disabled ~ .glyph-radio,[type="checkbox"]:indeterminate:disabled ~ .glyph-radio{opacity:.5;background:#dee0e6;color:inherit}:disabled ~ .glyph-check use,:checked:disabled ~ .glyph-check use,[type="checkbox"]:indeterminate:disabled ~ .glyph-check use,:disabled ~ .glyph-radio use,:checked:disabled ~ .glyph-radio use,[type="checkbox"]:indeterminate:disabled ~ .glyph-radio use{color:inherit}.glyph-radio{border-radius:50%}.glyph-radio use{fill:currentColor}.glyph-check{border-radius:4px}select:not([multiple]).form-control{background-size:.75em .75em;background-repeat:no-repeat;background-image:url('+r(n(206))+');background-position:calc( 100% - .875em ) 50%;padding-top:0;padding-bottom:0;padding-right:2.25em}select:not([multiple]).form-control::-ms-value{background:transparent !important}.bootstrap-select button{background-repeat:no-repeat;background-size:auto 1em;background-position:calc(100% - 1.25rem + 5px) 50%;background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48cG9seWxpbmUgcG9pbnRzPSI0LjUgNiA4IDkuNSAxMS41IDYiIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzAwOTRiMyIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiAvPjxyZWN0IHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgZmlsbD0ibm9uZSIvPjwvc3ZnPg==");padding-right:2em !important;-moz-appearance:none}.bootstrap-select button.input-sm,.bootstrap-select .input-group-sm>button.form-control,.bootstrap-select .input-group-sm>button.input-group-addon,.bootstrap-select .input-group-sm>.input-group-btn>button.btn,.bootstrap-select button.sm{background-position:calc(100% - .875rem + 5px) 50%}.bootstrap-select button.input-lg,.bootstrap-select .input-group-lg>button.form-control,.bootstrap-select .input-group-lg>button.input-group-addon,.bootstrap-select .input-group-lg>.input-group-btn>button.btn,.bootstrap-select button.lg{background-position:calc(100% - 1.875rem + 5px) 50%}.bootstrap-select button::-ms-expand{display:none}.btn input,.form-control input,.option input{position:absolute;opacity:0}.option{margin:0}.option:not(.input-group-addon){padding-left:0 !important}.option-flush{padding-left:0 !important;padding-right:0 !important}.option.input-group-addon{padding-left:.875rem;padding-right:.875rem}.option .glyph{margin-right:.375em}/*! jQuery UI - v1.12.1 - 2017-01-20\n* http://jqueryui.com\n* Copyright jQuery Foundation and other contributors; Licensed MIT */.ui-draggable-handle{-ms-touch-action:none;touch-action:none}.ui-helper-hidden{display:none}.ui-helper-hidden-accessible{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.ui-helper-reset{margin:0;padding:0;border:0;outline:0;line-height:1.3;text-decoration:none;font-size:100%;list-style:none}.ui-helper-clearfix:before,.ui-helper-clearfix:after{content:"";display:table;border-collapse:collapse}.ui-helper-clearfix:after{clear:both}.ui-helper-zfix{width:100%;height:100%;top:0;left:0;position:absolute;opacity:0;filter:Alpha(Opacity=0)}.ui-front{z-index:100}.ui-state-disabled{cursor:default !important;pointer-events:none}.ui-icon{display:inline-block;vertical-align:middle;margin-top:-.25em;position:relative;text-indent:-99999px;overflow:hidden;background-repeat:no-repeat}.ui-widget-icon-block{left:50%;margin-left:-8px;display:block}.ui-widget-overlay{position:fixed;top:0;left:0;width:100%;height:100%}.ui-resizable{position:relative}.ui-resizable-handle{position:absolute;font-size:0.1px;display:block;-ms-touch-action:none;touch-action:none}.ui-resizable-disabled .ui-resizable-handle,.ui-resizable-autohide .ui-resizable-handle{display:none}.ui-resizable-n{cursor:n-resize;height:7px;width:100%;top:-5px;left:0}.ui-resizable-s{cursor:s-resize;height:7px;width:100%;bottom:-5px;left:0}.ui-resizable-e{cursor:e-resize;width:7px;right:-5px;top:0;height:100%}.ui-resizable-w{cursor:w-resize;width:7px;left:-5px;top:0;height:100%}.ui-resizable-se{cursor:se-resize;width:12px;height:12px;right:1px;bottom:1px}.ui-resizable-sw{cursor:sw-resize;width:9px;height:9px;left:-5px;bottom:-5px}.ui-resizable-nw{cursor:nw-resize;width:9px;height:9px;left:-5px;top:-5px}.ui-resizable-ne{cursor:ne-resize;width:9px;height:9px;right:-5px;top:-5px}.ui-selectable{-ms-touch-action:none;touch-action:none}.ui-selectable-helper{position:absolute;z-index:100;border:1px dotted black}.ui-sortable-handle{-ms-touch-action:none;touch-action:none}.ui-accordion .ui-accordion-header{display:block;cursor:pointer;position:relative;margin:2px 0 0 0;padding:.5em .5em .5em .7em;font-size:100%}.ui-accordion .ui-accordion-content{padding:1em 2.2em;border-top:0;overflow:auto}.ui-autocomplete{position:absolute;top:0;left:0;cursor:default}.ui-menu{list-style:none;padding:0;margin:0;display:block;outline:0}.ui-menu .ui-menu{position:absolute}.ui-menu .ui-menu-item{margin:0;cursor:pointer;list-style-image:url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7")}.ui-menu .ui-menu-item-wrapper{position:relative;padding:3px 1em 3px .4em}.ui-menu .ui-menu-divider{margin:5px 0;height:0;font-size:0;line-height:0;border-width:1px 0 0 0}.ui-menu .ui-state-focus,.ui-menu .ui-state-active{margin:-1px}.ui-menu-icons{position:relative}.ui-menu-icons .ui-menu-item-wrapper{padding-left:2em}.ui-menu .ui-icon{position:absolute;top:0;bottom:0;left:.2em;margin:auto 0}.ui-menu .ui-menu-icon{left:auto;right:0}.ui-button{padding:.4em 1em;display:inline-block;position:relative;line-height:normal;margin-right:.1em;cursor:pointer;vertical-align:middle;text-align:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;overflow:visible}.ui-button,.ui-button:link,.ui-button:visited,.ui-button:hover,.ui-button:active{text-decoration:none}.ui-button-icon-only{width:2em;box-sizing:border-box;text-indent:-9999px;white-space:nowrap}input.ui-button.ui-button-icon-only{text-indent:0}.ui-button-icon-only .ui-icon{position:absolute;top:50%;left:50%;margin-top:-8px;margin-left:-8px}.ui-button.ui-icon-notext .ui-icon{padding:0;width:2.1em;height:2.1em;text-indent:-9999px;white-space:nowrap}input.ui-button.ui-icon-notext .ui-icon{width:auto;height:auto;text-indent:0;white-space:normal;padding:.4em 1em}input.ui-button::-moz-focus-inner,button.ui-button::-moz-focus-inner{border:0;padding:0}.ui-controlgroup{vertical-align:middle;display:inline-block}.ui-controlgroup>.ui-controlgroup-item{float:left;margin-left:0;margin-right:0}.ui-controlgroup>.ui-controlgroup-item:focus,.ui-controlgroup>.ui-controlgroup-item.ui-visual-focus{z-index:9999}.ui-controlgroup-vertical>.ui-controlgroup-item{display:block;float:none;width:100%;margin-top:0;margin-bottom:0;text-align:left}.ui-controlgroup-vertical .ui-controlgroup-item{box-sizing:border-box}.ui-controlgroup .ui-controlgroup-label{padding:.4em 1em}.ui-controlgroup .ui-controlgroup-label span{font-size:80%}.ui-controlgroup-horizontal .ui-controlgroup-label+.ui-controlgroup-item{border-left:none}.ui-controlgroup-vertical .ui-controlgroup-label+.ui-controlgroup-item{border-top:none}.ui-controlgroup-horizontal .ui-controlgroup-label.ui-widget-content{border-right:none}.ui-controlgroup-vertical .ui-controlgroup-label.ui-widget-content{border-bottom:none}.ui-controlgroup-vertical .ui-spinner-input{width:75%;width:calc( 100% - 2.4em )}.ui-controlgroup-vertical .ui-spinner .ui-spinner-up{border-top-style:solid}.ui-checkboxradio-label .ui-icon-background{box-shadow:inset 1px 1px 1px #ccc;border-radius:.12em;border:none}.ui-checkboxradio-radio-label .ui-icon-background{width:16px;height:16px;border-radius:1em;overflow:visible;border:none}.ui-checkboxradio-radio-label.ui-checkboxradio-checked .ui-icon,.ui-checkboxradio-radio-label.ui-checkboxradio-checked:hover .ui-icon{background-image:none;width:8px;height:8px;border-width:4px;border-style:solid}.ui-checkboxradio-disabled{pointer-events:none}.ui-datepicker{width:17em;padding:.2em .2em 0;display:none}.ui-datepicker .ui-datepicker-header{position:relative;padding:.2em 0}.ui-datepicker .ui-datepicker-prev,.ui-datepicker .ui-datepicker-next{position:absolute;top:2px;width:1.8em;height:1.8em}.ui-datepicker .ui-datepicker-prev-hover,.ui-datepicker .ui-datepicker-next-hover{top:1px}.ui-datepicker .ui-datepicker-prev{left:2px}.ui-datepicker .ui-datepicker-next{right:2px}.ui-datepicker .ui-datepicker-prev-hover{left:1px}.ui-datepicker .ui-datepicker-next-hover{right:1px}.ui-datepicker .ui-datepicker-prev span,.ui-datepicker .ui-datepicker-next span{display:block;position:absolute;left:50%;margin-left:-8px;top:50%;margin-top:-8px}.ui-datepicker .ui-datepicker-title{margin:0 2.3em;line-height:1.8em;text-align:center}.ui-datepicker .ui-datepicker-title select{font-size:1em;margin:1px 0}.ui-datepicker select.ui-datepicker-month,.ui-datepicker select.ui-datepicker-year{width:45%}.ui-datepicker table{width:100%;font-size:.9em;border-collapse:collapse;margin:0 0 .4em}.ui-datepicker th{padding:.7em .3em;text-align:center;font-weight:bold;border:0}.ui-datepicker td{border:0;padding:1px}.ui-datepicker td span,.ui-datepicker td a{display:block;padding:.2em;text-align:right;text-decoration:none}.ui-datepicker .ui-datepicker-buttonpane{background-image:none;margin:.7em 0 0 0;padding:0 .2em;border-left:0;border-right:0;border-bottom:0}.ui-datepicker .ui-datepicker-buttonpane button{float:right;margin:.5em .2em .4em;cursor:pointer;padding:.2em .6em .3em .6em;width:auto;overflow:visible}.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current{float:left}.ui-datepicker.ui-datepicker-multi{width:auto}.ui-datepicker-multi .ui-datepicker-group{float:left}.ui-datepicker-multi .ui-datepicker-group table{width:95%;margin:0 auto .4em}.ui-datepicker-multi-2 .ui-datepicker-group{width:50%}.ui-datepicker-multi-3 .ui-datepicker-group{width:33.3%}.ui-datepicker-multi-4 .ui-datepicker-group{width:25%}.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header,.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header{border-left-width:0}.ui-datepicker-multi .ui-datepicker-buttonpane{clear:left}.ui-datepicker-row-break{clear:both;width:100%;font-size:0}.ui-datepicker-rtl{direction:rtl}.ui-datepicker-rtl .ui-datepicker-prev{right:2px;left:auto}.ui-datepicker-rtl .ui-datepicker-next{left:2px;right:auto}.ui-datepicker-rtl .ui-datepicker-prev:hover{right:1px;left:auto}.ui-datepicker-rtl .ui-datepicker-next:hover{left:1px;right:auto}.ui-datepicker-rtl .ui-datepicker-buttonpane{clear:right}.ui-datepicker-rtl .ui-datepicker-buttonpane button{float:left}.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current,.ui-datepicker-rtl .ui-datepicker-group{float:right}.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header,.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header{border-right-width:0;border-left-width:1px}.ui-datepicker .ui-icon{display:block;text-indent:-99999px;overflow:hidden;background-repeat:no-repeat;left:.5em;top:.3em}.ui-dialog{position:absolute;top:0;left:0;padding:.2em;outline:0}.ui-dialog .ui-dialog-titlebar{padding:.4em 1em;position:relative}.ui-dialog .ui-dialog-title{float:left;margin:.1em 0;white-space:nowrap;width:90%;overflow:hidden;text-overflow:ellipsis}.ui-dialog .ui-dialog-titlebar-close{position:absolute;right:.3em;top:50%;width:20px;margin:-10px 0 0 0;padding:1px;height:20px}.ui-dialog .ui-dialog-content{position:relative;border:0;padding:.5em 1em;background:none;overflow:auto}.ui-dialog .ui-dialog-buttonpane{text-align:left;border-width:1px 0 0 0;background-image:none;margin-top:.5em;padding:.3em 1em .5em .4em}.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset{float:right}.ui-dialog .ui-dialog-buttonpane button{margin:.5em .4em .5em 0;cursor:pointer}.ui-dialog .ui-resizable-n{height:2px;top:0}.ui-dialog .ui-resizable-e{width:2px;right:0}.ui-dialog .ui-resizable-s{height:2px;bottom:0}.ui-dialog .ui-resizable-w{width:2px;left:0}.ui-dialog .ui-resizable-se,.ui-dialog .ui-resizable-sw,.ui-dialog .ui-resizable-ne,.ui-dialog .ui-resizable-nw{width:7px;height:7px}.ui-dialog .ui-resizable-se{right:0;bottom:0}.ui-dialog .ui-resizable-sw{left:0;bottom:0}.ui-dialog .ui-resizable-ne{right:0;top:0}.ui-dialog .ui-resizable-nw{left:0;top:0}.ui-draggable .ui-dialog-titlebar{cursor:move}.ui-progressbar{height:2em;text-align:left;overflow:hidden}.ui-progressbar .ui-progressbar-value{margin:-1px;height:100%}.ui-progressbar .ui-progressbar-overlay{background:url("data:image/gif;base64,R0lGODlhKAAoAIABAAAAAP///yH/C05FVFNDQVBFMi4wAwEAAAAh+QQJAQABACwAAAAAKAAoAAACkYwNqXrdC52DS06a7MFZI+4FHBCKoDeWKXqymPqGqxvJrXZbMx7Ttc+w9XgU2FB3lOyQRWET2IFGiU9m1frDVpxZZc6bfHwv4c1YXP6k1Vdy292Fb6UkuvFtXpvWSzA+HycXJHUXiGYIiMg2R6W459gnWGfHNdjIqDWVqemH2ekpObkpOlppWUqZiqr6edqqWQAAIfkECQEAAQAsAAAAACgAKAAAApSMgZnGfaqcg1E2uuzDmmHUBR8Qil95hiPKqWn3aqtLsS18y7G1SzNeowWBENtQd+T1JktP05nzPTdJZlR6vUxNWWjV+vUWhWNkWFwxl9VpZRedYcflIOLafaa28XdsH/ynlcc1uPVDZxQIR0K25+cICCmoqCe5mGhZOfeYSUh5yJcJyrkZWWpaR8doJ2o4NYq62lAAACH5BAkBAAEALAAAAAAoACgAAAKVDI4Yy22ZnINRNqosw0Bv7i1gyHUkFj7oSaWlu3ovC8GxNso5fluz3qLVhBVeT/Lz7ZTHyxL5dDalQWPVOsQWtRnuwXaFTj9jVVh8pma9JjZ4zYSj5ZOyma7uuolffh+IR5aW97cHuBUXKGKXlKjn+DiHWMcYJah4N0lYCMlJOXipGRr5qdgoSTrqWSq6WFl2ypoaUAAAIfkECQEAAQAsAAAAACgAKAAAApaEb6HLgd/iO7FNWtcFWe+ufODGjRfoiJ2akShbueb0wtI50zm02pbvwfWEMWBQ1zKGlLIhskiEPm9R6vRXxV4ZzWT2yHOGpWMyorblKlNp8HmHEb/lCXjcW7bmtXP8Xt229OVWR1fod2eWqNfHuMjXCPkIGNileOiImVmCOEmoSfn3yXlJWmoHGhqp6ilYuWYpmTqKUgAAIfkECQEAAQAsAAAAACgAKAAAApiEH6kb58biQ3FNWtMFWW3eNVcojuFGfqnZqSebuS06w5V80/X02pKe8zFwP6EFWOT1lDFk8rGERh1TTNOocQ61Hm4Xm2VexUHpzjymViHrFbiELsefVrn6XKfnt2Q9G/+Xdie499XHd2g4h7ioOGhXGJboGAnXSBnoBwKYyfioubZJ2Hn0RuRZaflZOil56Zp6iioKSXpUAAAh+QQJAQABACwAAAAAKAAoAAACkoQRqRvnxuI7kU1a1UU5bd5tnSeOZXhmn5lWK3qNTWvRdQxP8qvaC+/yaYQzXO7BMvaUEmJRd3TsiMAgswmNYrSgZdYrTX6tSHGZO73ezuAw2uxuQ+BbeZfMxsexY35+/Qe4J1inV0g4x3WHuMhIl2jXOKT2Q+VU5fgoSUI52VfZyfkJGkha6jmY+aaYdirq+lQAACH5BAkBAAEALAAAAAAoACgAAAKWBIKpYe0L3YNKToqswUlvznigd4wiR4KhZrKt9Upqip61i9E3vMvxRdHlbEFiEXfk9YARYxOZZD6VQ2pUunBmtRXo1Lf8hMVVcNl8JafV38aM2/Fu5V16Bn63r6xt97j09+MXSFi4BniGFae3hzbH9+hYBzkpuUh5aZmHuanZOZgIuvbGiNeomCnaxxap2upaCZsq+1kAACH5BAkBAAEALAAAAAAoACgAAAKXjI8By5zf4kOxTVrXNVlv1X0d8IGZGKLnNpYtm8Lr9cqVeuOSvfOW79D9aDHizNhDJidFZhNydEahOaDH6nomtJjp1tutKoNWkvA6JqfRVLHU/QUfau9l2x7G54d1fl995xcIGAdXqMfBNadoYrhH+Mg2KBlpVpbluCiXmMnZ2Sh4GBqJ+ckIOqqJ6LmKSllZmsoq6wpQAAAh+QQJAQABACwAAAAAKAAoAAAClYx/oLvoxuJDkU1a1YUZbJ59nSd2ZXhWqbRa2/gF8Gu2DY3iqs7yrq+xBYEkYvFSM8aSSObE+ZgRl1BHFZNr7pRCavZ5BW2142hY3AN/zWtsmf12p9XxxFl2lpLn1rseztfXZjdIWIf2s5dItwjYKBgo9yg5pHgzJXTEeGlZuenpyPmpGQoKOWkYmSpaSnqKileI2FAAACH5BAkBAAEALAAAAAAoACgAAAKVjB+gu+jG4kORTVrVhRlsnn2dJ3ZleFaptFrb+CXmO9OozeL5VfP99HvAWhpiUdcwkpBH3825AwYdU8xTqlLGhtCosArKMpvfa1mMRae9VvWZfeB2XfPkeLmm18lUcBj+p5dnN8jXZ3YIGEhYuOUn45aoCDkp16hl5IjYJvjWKcnoGQpqyPlpOhr3aElaqrq56Bq7VAAAOw==");height:100%;filter:alpha(opacity=25);opacity:0.25}.ui-progressbar-indeterminate .ui-progressbar-value{background-image:none}.ui-selectmenu-menu{padding:0;margin:0;position:absolute;top:0;left:0;display:none}.ui-selectmenu-menu .ui-menu{overflow:auto;overflow-x:hidden;padding-bottom:1px}.ui-selectmenu-menu .ui-menu .ui-selectmenu-optgroup{font-size:1em;font-weight:bold;line-height:1.5;padding:2px 0.4em;margin:0.5em 0 0 0;height:auto;border:0}.ui-selectmenu-open{display:block}.ui-selectmenu-text{display:block;margin-right:20px;overflow:hidden;text-overflow:ellipsis}.ui-selectmenu-button.ui-button{text-align:left;white-space:nowrap;width:14em}.ui-selectmenu-icon.ui-icon{float:right;margin-top:0}.ui-slider{position:relative;text-align:left}.ui-slider .ui-slider-handle{position:absolute;z-index:2;width:1.2em;height:1.2em;cursor:default;-ms-touch-action:none;touch-action:none}.ui-slider .ui-slider-range{position:absolute;z-index:1;font-size:.7em;display:block;border:0;background-position:0 0}.ui-slider.ui-state-disabled .ui-slider-handle,.ui-slider.ui-state-disabled .ui-slider-range{filter:inherit}.ui-slider-horizontal{height:.8em}.ui-slider-horizontal .ui-slider-handle{top:-.3em;margin-left:-.6em}.ui-slider-horizontal .ui-slider-range{top:0;height:100%}.ui-slider-horizontal .ui-slider-range-min{left:0}.ui-slider-horizontal .ui-slider-range-max{right:0}.ui-slider-vertical{width:.8em;height:100px}.ui-slider-vertical .ui-slider-handle{left:-.3em;margin-left:0;margin-bottom:-.6em}.ui-slider-vertical .ui-slider-range{left:0;width:100%}.ui-slider-vertical .ui-slider-range-min{bottom:0}.ui-slider-vertical .ui-slider-range-max{top:0}.ui-spinner{position:relative;display:inline-block;overflow:hidden;padding:0;vertical-align:middle}.ui-spinner-input{border:none;background:none;color:inherit;padding:.222em 0;margin:.2em 0;vertical-align:middle;margin-left:.4em;margin-right:2em}.ui-spinner-button{width:1.6em;height:50%;font-size:.5em;padding:0;margin:0;text-align:center;position:absolute;cursor:default;display:block;overflow:hidden;right:0}.ui-spinner a.ui-spinner-button{border-top-style:none;border-bottom-style:none;border-right-style:none}.ui-spinner-up{top:0}.ui-spinner-down{bottom:0}.ui-tabs{position:relative;padding:.2em}.ui-tabs .ui-tabs-nav{margin:0;padding:.2em .2em 0}.ui-tabs .ui-tabs-nav li{list-style:none;float:left;position:relative;top:0;margin:1px .2em 0 0;border-bottom-width:0;padding:0;white-space:nowrap}.ui-tabs .ui-tabs-nav .ui-tabs-anchor{float:left;padding:.5em 1em;text-decoration:none}.ui-tabs .ui-tabs-nav li.ui-tabs-active{margin-bottom:-1px;padding-bottom:1px}.ui-tabs .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor,.ui-tabs .ui-tabs-nav li.ui-state-disabled .ui-tabs-anchor,.ui-tabs .ui-tabs-nav li.ui-tabs-loading .ui-tabs-anchor{cursor:text}.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor{cursor:pointer}.ui-tabs .ui-tabs-panel{display:block;border-width:0;padding:1em 1.4em;background:none}.ui-widget{font-size:1rem;box-shadow:0 0 0 1px rgba(0,30,60,0.03),0 20px 20px -10px rgba(0,0,0,0.2);background:#fff;border-radius:4px;z-index:1050 !important;border-width:0}.ui-widget .ui-state-active,.ui-widget .ui-state-focus{margin:0;background:#0bb}.ui-widget .ui-state-active,.ui-widget .ui-state-active *,.ui-widget .ui-state-focus,.ui-widget .ui-state-focus *{color:#fff}.ui-widget.ui-datepicker{padding-left:10px;padding-right:10px;-webkit-transition:all 0.1875s cubic-bezier(0.25, 0, 0, 1.375);-o-transition:all 0.1875s cubic-bezier(0.25, 0, 0, 1.375);transition:all 0.1875s cubic-bezier(0.25, 0, 0, 1.375);-webkit-transform:scale(0.75);transform:scale(0.75);-webkit-transition-property:opacity, -webkit-transform;transition-property:opacity, transform}.ui-widget.ui-datepicker.ui-widget-active{-webkit-transform:scale(1);transform:scale(1);-webkit-transform-origin:50% 0;transform-origin:50% 0}.ui-widget.ui-datepicker .ui-datepicker-prev{top:2px !important;left:2px !important}.ui-widget.ui-datepicker .ui-datepicker-next{top:2px !important;right:2px !important}.ui-widget.ui-datepicker .ui-datepicker-month{font-weight:bold}.ui-widget.ui-datepicker tr>* a{text-align:center}.ui-widget.ui-datepicker td a{padding:.3em}.ui-widget.ui-autocomplete{padding:5px 0;max-height:240px;overflow:auto}.ui-widget.ui-autocomplete li{border:0;padding:0}.ui-widget.ui-autocomplete li .ui-menu-item-wrapper{padding:.4464285714rem 1.25rem}.ui-widget.ui-autocomplete li *{margin-top:0;margin-bottom:0}.ui-widget.ui-autocomplete li+li.ui-separator{margin-top:5px;padding-top:6px;border-top:1px solid rgba(0,30,60,0.075)}.ui-widget .ui-icon{overflow:visible}.ui-widget .ui-icon-circle-triangle-w:after,.ui-widget .ui-icon-circle-triangle-e:after{content:\'\';display:block;border:5px solid;border-top-color:transparent;border-bottom-color:transparent;position:absolute;width:0;height:0;top:5px;left:0}.ui-widget .ui-icon-circle-triangle-w:after{border-left-color:transparent}.ui-widget .ui-icon-circle-triangle-e:after{border-right-color:transparent;left:5px}.ui-sortable-handle,.ui-draggable-handle{cursor:move}tr.ui-sortable-helper{box-shadow:0 7px 10px rgba(0,0,0,0.2);border-radius:4px;display:table;z-index:2}tr.ui-sortable-helper>td,tr.ui-sortable-helper th{border:0 !important}tr.ui-sortable-helper>td:first-child,tr.ui-sortable-helper th:first-child{border-top-left-radius:4px;border-bottom-left-radius:4px}tr.ui-sortable-helper>td:last-child,tr.ui-sortable-helper th:last-child{border-top-right-radius:4px;border-bottom-right-radius:4px}.ui-draggable-dragging,.ui-sortable-sorting{z-index:5001 !important}.ui-resizable-n,.ui-resizable-s{cursor:ns-resize}.ui-resizable-e,.ui-resizable-w{cursor:ew-resize}.caret,.dropup .caret,.navbar-fixed-bottom .dropdown .caret{border:0 !important;margin-left:0;width:auto;height:auto;display:inline}.caret:after,.dropup .caret:after,.navbar-fixed-bottom .dropdown .caret:after{font-family:"arrows";text-transform:none;font-style:normal;font-weight:normal;line-height:.5;content:" c "}.dropdown-menu{-webkit-transform:scale(0.75);transform:scale(0.75);-webkit-transform-origin:50% 0;transform-origin:50% 0;-webkit-transition:all 0.1875s cubic-bezier(0.25, 0, 0, 1.375);-o-transition:all 0.1875s cubic-bezier(0.25, 0, 0, 1.375);transition:all 0.1875s cubic-bezier(0.25, 0, 0, 1.375);font-size:1rem;box-shadow:0 0 0 1px rgba(0,30,60,0.03),0 20px 20px -10px rgba(0,0,0,0.2);border-radius:4px !important;-webkit-transition-property:opacity, -webkit-transform;transition-property:opacity, transform;padding:5px 0 !important;pointer-events:none;font-style:normal;border-width:0;display:block;left:-9999px;max-height:50vh;min-width:100%;max-width:240px;overflow:auto;opacity:0;margin:0}.dropdown-menu>li>a{margin:0;display:block;padding:.25em 15px}.dropdown-menu>li>a>*{margin:0}.dropdown-menu>li>a em{font-style:oblique;color:#8b969e}.dropdown-menu>li>a [data-icon]{margin-right:.25em}.dropdown-menu .divider{margin:5px 0}.dropdown-menu .dropdown-header{text-transform:uppercase;letter-spacing:.15em;font-size:.75rem;font-weight:500;padding:.5em 15px !important}.dropdown-menu-lg>li>*{padding-top:.5em;padding-bottom:.5em}.dropdown-menu-right{left:auto;right:9999px}.dropdown.open>.dropdown-menu{pointer-events:auto;-webkit-transform:scale(1);transform:scale(1);opacity:1;left:0}.dropdown.open>.dropdown-menu-right{right:0;left:auto}.dropdown{cursor:pointer}.dropdown-inline{display:inline-block}.form-group>*:not(:last-child),.form-inline>*:not(:last-child){margin-right:1em}.form-horizontal .form-group>*:not(:last-child),.form-horizontal .form-inline>*:not(:last-child){margin-right:0}.form-group>* label,.form-inline>* label{vertical-align:middle;margin:.6785714286rem 0}.help-block{display:block;color:#8b969e;font-style:oblique;font-weight:normal;font-size:.9285714286rem;margin:.25em 0}.help-block:empty{display:none}.help-block p{margin:0;display:inline}.help-block-inline{display:inline}.form-group-lg{font-size:1.1428571429rem}.form-footer{margin:2em 0}.form-footer:first-child{margin-top:0}.form-footer:last-child{margin-bottom:0}.btn{border-width:0;margin:0;cursor:pointer;overflow:hidden;text-overflow:ellipsis;font-size:1rem;-webkit-transition:all .25s cubic-bezier(0.25, 0, 0, 1);-o-transition:all .25s cubic-bezier(0.25, 0, 0, 1);transition:all .25s cubic-bezier(0.25, 0, 0, 1);height:2.8571428571rem;line-height:1.5 !important;font-weight:bold;box-shadow:0 0 0 1px rgba(0,30,60,0.03),0 3px 3px -1.5px rgba(0,0,0,0.03)}.btn-red{color:#fff;background-color:#ff694b;border-color:#ff694b}.btn-red:focus,.btn-red.focus{color:#fff;background-color:#ff3c2b}.btn-red:hover{color:#fff;background-color:#ff3c2b}.btn-red:active,.btn-red.active,.open>.btn-red.dropdown-toggle{color:#fff;background-color:#ff3c2b}.btn-red:active:hover,.btn-red:active:focus,.btn-red:active.focus,.btn-red.active:hover,.btn-red.active:focus,.btn-red.active.focus,.open>.btn-red.dropdown-toggle:hover,.open>.btn-red.dropdown-toggle:focus,.open>.btn-red.dropdown-toggle.focus{color:#fff;background-color:#ff3c2b}.btn-red:active,.btn-red.active,.open>.btn-red.dropdown-toggle{background-image:none}.btn-red.disabled:hover,.btn-red.disabled:focus,.btn-red.disabled.focus,.btn-red[disabled]:hover,.btn-red[disabled]:focus,.btn-red[disabled].focus,fieldset[disabled] .btn-red:hover,fieldset[disabled] .btn-red:focus,fieldset[disabled] .btn-red.focus{background-color:#ff694b;border-color:#ff694b}.btn-red .badge{color:#ff694b;background-color:#fff}.btn-blue{color:#fff;background-color:#0bb;border-color:#0bb}.btn-blue:focus,.btn-blue.focus{color:#fff;background-color:#009595}.btn-blue:hover{color:#fff;background-color:#009595}.btn-blue:active,.btn-blue.active,.open>.btn-blue.dropdown-toggle{color:#fff;background-color:#009595}.btn-blue:active:hover,.btn-blue:active:focus,.btn-blue:active.focus,.btn-blue.active:hover,.btn-blue.active:focus,.btn-blue.active.focus,.open>.btn-blue.dropdown-toggle:hover,.open>.btn-blue.dropdown-toggle:focus,.open>.btn-blue.dropdown-toggle.focus{color:#fff;background-color:#009595}.btn-blue:active,.btn-blue.active,.open>.btn-blue.dropdown-toggle{background-image:none}.btn-blue.disabled:hover,.btn-blue.disabled:focus,.btn-blue.disabled.focus,.btn-blue[disabled]:hover,.btn-blue[disabled]:focus,.btn-blue[disabled].focus,fieldset[disabled] .btn-blue:hover,fieldset[disabled] .btn-blue:focus,fieldset[disabled] .btn-blue.focus{background-color:#0bb;border-color:#0bb}.btn-blue .badge{color:#0bb;background-color:#fff}.btn-navy{color:#fff;background-color:#005e7a;border-color:#005e7a}.btn-navy:focus,.btn-navy.focus{color:#fff;background-color:#003645}.btn-navy:hover{color:#fff;background-color:#003645}.btn-navy:active,.btn-navy.active,.open>.btn-navy.dropdown-toggle{color:#fff;background-color:#003645}.btn-navy:active:hover,.btn-navy:active:focus,.btn-navy:active.focus,.btn-navy.active:hover,.btn-navy.active:focus,.btn-navy.active.focus,.open>.btn-navy.dropdown-toggle:hover,.open>.btn-navy.dropdown-toggle:focus,.open>.btn-navy.dropdown-toggle.focus{color:#fff;background-color:#003645}.btn-navy:active,.btn-navy.active,.open>.btn-navy.dropdown-toggle{background-image:none}.btn-navy.disabled:hover,.btn-navy.disabled:focus,.btn-navy.disabled.focus,.btn-navy[disabled]:hover,.btn-navy[disabled]:focus,.btn-navy[disabled].focus,fieldset[disabled] .btn-navy:hover,fieldset[disabled] .btn-navy:focus,fieldset[disabled] .btn-navy.focus{background-color:#005e7a;border-color:#005e7a}.btn-navy .badge{color:#005e7a;background-color:#fff}.btn-green{color:#fff;background-color:#7ec631;border-color:#7ec631}.btn-green:focus,.btn-green.focus{color:#fff;background-color:#48a71c}.btn-green:hover{color:#fff;background-color:#48a71c}.btn-green:active,.btn-green.active,.open>.btn-green.dropdown-toggle{color:#fff;background-color:#48a71c}.btn-green:active:hover,.btn-green:active:focus,.btn-green:active.focus,.btn-green.active:hover,.btn-green.active:focus,.btn-green.active.focus,.open>.btn-green.dropdown-toggle:hover,.open>.btn-green.dropdown-toggle:focus,.open>.btn-green.dropdown-toggle.focus{color:#fff;background-color:#48a71c}.btn-green:active,.btn-green.active,.open>.btn-green.dropdown-toggle{background-image:none}.btn-green.disabled:hover,.btn-green.disabled:focus,.btn-green.disabled.focus,.btn-green[disabled]:hover,.btn-green[disabled]:focus,.btn-green[disabled].focus,fieldset[disabled] .btn-green:hover,fieldset[disabled] .btn-green:focus,fieldset[disabled] .btn-green.focus{background-color:#7ec631;border-color:#7ec631}.btn-green .badge{color:#7ec631;background-color:#fff}.btn-orange{color:#fff;background-color:#ff694b;border-color:#ff694b}.btn-orange:focus,.btn-orange.focus{color:#fff;background-color:#ff3c2b}.btn-orange:hover{color:#fff;background-color:#ff3c2b}.btn-orange:active,.btn-orange.active,.open>.btn-orange.dropdown-toggle{color:#fff;background-color:#ff3c2b}.btn-orange:active:hover,.btn-orange:active:focus,.btn-orange:active.focus,.btn-orange.active:hover,.btn-orange.active:focus,.btn-orange.active.focus,.open>.btn-orange.dropdown-toggle:hover,.open>.btn-orange.dropdown-toggle:focus,.open>.btn-orange.dropdown-toggle.focus{color:#fff;background-color:#ff3c2b}.btn-orange:active,.btn-orange.active,.open>.btn-orange.dropdown-toggle{background-image:none}.btn-orange.disabled:hover,.btn-orange.disabled:focus,.btn-orange.disabled.focus,.btn-orange[disabled]:hover,.btn-orange[disabled]:focus,.btn-orange[disabled].focus,fieldset[disabled] .btn-orange:hover,fieldset[disabled] .btn-orange:focus,fieldset[disabled] .btn-orange.focus{background-color:#ff694b;border-color:#ff694b}.btn-orange .badge{color:#ff694b;background-color:#fff}.btn-yellow{color:#fff;background-color:#fc0;border-color:#fc0}.btn-yellow:focus,.btn-yellow.focus{color:#fff;background-color:#ffb100}.btn-yellow:hover{color:#fff;background-color:#ffb100}.btn-yellow:active,.btn-yellow.active,.open>.btn-yellow.dropdown-toggle{color:#fff;background-color:#ffb100}.btn-yellow:active:hover,.btn-yellow:active:focus,.btn-yellow:active.focus,.btn-yellow.active:hover,.btn-yellow.active:focus,.btn-yellow.active.focus,.open>.btn-yellow.dropdown-toggle:hover,.open>.btn-yellow.dropdown-toggle:focus,.open>.btn-yellow.dropdown-toggle.focus{color:#fff;background-color:#ffb100}.btn-yellow:active,.btn-yellow.active,.open>.btn-yellow.dropdown-toggle{background-image:none}.btn-yellow.disabled:hover,.btn-yellow.disabled:focus,.btn-yellow.disabled.focus,.btn-yellow[disabled]:hover,.btn-yellow[disabled]:focus,.btn-yellow[disabled].focus,fieldset[disabled] .btn-yellow:hover,fieldset[disabled] .btn-yellow:focus,fieldset[disabled] .btn-yellow.focus{background-color:#fc0;border-color:#fc0}.btn-yellow .badge{color:#fc0;background-color:#fff}.btn-purple{color:#fff;background-color:#7f6cc5;border-color:#7f6cc5}.btn-purple:focus,.btn-purple.focus{color:#fff;background-color:#483da5}.btn-purple:hover{color:#fff;background-color:#483da5}.btn-purple:active,.btn-purple.active,.open>.btn-purple.dropdown-toggle{color:#fff;background-color:#483da5}.btn-purple:active:hover,.btn-purple:active:focus,.btn-purple:active.focus,.btn-purple.active:hover,.btn-purple.active:focus,.btn-purple.active.focus,.open>.btn-purple.dropdown-toggle:hover,.open>.btn-purple.dropdown-toggle:focus,.open>.btn-purple.dropdown-toggle.focus{color:#fff;background-color:#483da5}.btn-purple:active,.btn-purple.active,.open>.btn-purple.dropdown-toggle{background-image:none}.btn-purple.disabled:hover,.btn-purple.disabled:focus,.btn-purple.disabled.focus,.btn-purple[disabled]:hover,.btn-purple[disabled]:focus,.btn-purple[disabled].focus,fieldset[disabled] .btn-purple:hover,fieldset[disabled] .btn-purple:focus,fieldset[disabled] .btn-purple.focus{background-color:#7f6cc5;border-color:#7f6cc5}.btn-purple .badge{color:#7f6cc5;background-color:#fff}.btn-white{color:#484e53;background-color:#fff;border-color:#fff}.btn-white:focus,.btn-white.focus{color:#484e53;background-color:#f9fafb}.btn-white:hover{color:#484e53;background-color:#f9fafb}.btn-white:active,.btn-white.active,.open>.btn-white.dropdown-toggle{color:#484e53;background-color:#f9fafb}.btn-white:active:hover,.btn-white:active:focus,.btn-white:active.focus,.btn-white.active:hover,.btn-white.active:focus,.btn-white.active.focus,.open>.btn-white.dropdown-toggle:hover,.open>.btn-white.dropdown-toggle:focus,.open>.btn-white.dropdown-toggle.focus{color:#484e53;background-color:#f9fafb}.btn-white:active,.btn-white.active,.open>.btn-white.dropdown-toggle{background-image:none}.btn-white.disabled:hover,.btn-white.disabled:focus,.btn-white.disabled.focus,.btn-white[disabled]:hover,.btn-white[disabled]:focus,.btn-white[disabled].focus,fieldset[disabled] .btn-white:hover,fieldset[disabled] .btn-white:focus,fieldset[disabled] .btn-white.focus{background-color:#fff;border-color:#fff}.btn-white .badge{color:#fff;background-color:#484e53}.btn-default{color:#484e53;background-color:#f0f2f4;border-color:#f0f2f4}.btn-default:focus,.btn-default.focus{color:#484e53;background-color:#e9ebef}.btn-default:hover{color:#484e53;background-color:#e9ebef}.btn-default:active,.btn-default.active,.open>.btn-default.dropdown-toggle{color:#484e53;background-color:#e9ebef}.btn-default:active:hover,.btn-default:active:focus,.btn-default:active.focus,.btn-default.active:hover,.btn-default.active:focus,.btn-default.active.focus,.open>.btn-default.dropdown-toggle:hover,.open>.btn-default.dropdown-toggle:focus,.open>.btn-default.dropdown-toggle.focus{color:#484e53;background-color:#e9ebef}.btn-default:active,.btn-default.active,.open>.btn-default.dropdown-toggle{background-image:none}.btn-default.disabled:hover,.btn-default.disabled:focus,.btn-default.disabled.focus,.btn-default[disabled]:hover,.btn-default[disabled]:focus,.btn-default[disabled].focus,fieldset[disabled] .btn-default:hover,fieldset[disabled] .btn-default:focus,fieldset[disabled] .btn-default.focus{background-color:#f0f2f4;border-color:#f0f2f4}.btn-default .badge{color:#f0f2f4;background-color:#484e53}.btn-clear,.btn-text,.btn-link{background:transparent !important}.btn-text,.btn.text-inherit{color:inherit}.btn-text:hover,.btn-text:focus,.btn.text-inherit:hover,.btn.text-inherit:focus{color:inherit}.btn[class*="btn-highlight"],.btn-default,.btn-clear,.btn-text,.btn-link{box-shadow:none}.btn-highlight-info{color:#0aa;background-color:#edfafa;border-color:transparent}.btn-highlight-info:focus,.btn-highlight-info.focus{color:#0aa;background-color:#e4f8f8}.btn-highlight-info:hover{color:#0aa;background-color:#e4f8f8}.btn-highlight-info:active,.btn-highlight-info.active,.open>.btn-highlight-info.dropdown-toggle{color:#0aa;background-color:#e4f8f8}.btn-highlight-info:active:hover,.btn-highlight-info:active:focus,.btn-highlight-info:active.focus,.btn-highlight-info.active:hover,.btn-highlight-info.active:focus,.btn-highlight-info.active.focus,.open>.btn-highlight-info.dropdown-toggle:hover,.open>.btn-highlight-info.dropdown-toggle:focus,.open>.btn-highlight-info.dropdown-toggle.focus{color:#0aa;background-color:#e4f8f8}.btn-highlight-info:active,.btn-highlight-info.active,.open>.btn-highlight-info.dropdown-toggle{background-image:none}.btn-highlight-info.disabled:hover,.btn-highlight-info.disabled:focus,.btn-highlight-info.disabled.focus,.btn-highlight-info[disabled]:hover,.btn-highlight-info[disabled]:focus,.btn-highlight-info[disabled].focus,fieldset[disabled] .btn-highlight-info:hover,fieldset[disabled] .btn-highlight-info:focus,fieldset[disabled] .btn-highlight-info.focus{background-color:#edfafa;border-color:transparent}.btn-highlight-info .badge{color:#edfafa;background-color:#0aa}.btn-highlight-success{color:#48a71c;background-color:#f3faec;border-color:transparent}.btn-highlight-success:focus,.btn-highlight-success.focus{color:#48a71c;background-color:#edf8e3}.btn-highlight-success:hover{color:#48a71c;background-color:#edf8e3}.btn-highlight-success:active,.btn-highlight-success.active,.open>.btn-highlight-success.dropdown-toggle{color:#48a71c;background-color:#edf8e3}.btn-highlight-success:active:hover,.btn-highlight-success:active:focus,.btn-highlight-success:active.focus,.btn-highlight-success.active:hover,.btn-highlight-success.active:focus,.btn-highlight-success.active.focus,.open>.btn-highlight-success.dropdown-toggle:hover,.open>.btn-highlight-success.dropdown-toggle:focus,.open>.btn-highlight-success.dropdown-toggle.focus{color:#48a71c;background-color:#edf8e3}.btn-highlight-success:active,.btn-highlight-success.active,.open>.btn-highlight-success.dropdown-toggle{background-image:none}.btn-highlight-success.disabled:hover,.btn-highlight-success.disabled:focus,.btn-highlight-success.disabled.focus,.btn-highlight-success[disabled]:hover,.btn-highlight-success[disabled]:focus,.btn-highlight-success[disabled].focus,fieldset[disabled] .btn-highlight-success:hover,fieldset[disabled] .btn-highlight-success:focus,fieldset[disabled] .btn-highlight-success.focus{background-color:#f3faec;border-color:transparent}.btn-highlight-success .badge{color:#f3faec;background-color:#48a71c}.btn-highlight-danger{color:#ff694b;background-color:#fff5f4;border-color:transparent}.btn-highlight-danger:focus,.btn-highlight-danger.focus{color:#ff694b;background-color:#fff0ef}.btn-highlight-danger:hover{color:#ff694b;background-color:#fff0ef}.btn-highlight-danger:active,.btn-highlight-danger.active,.open>.btn-highlight-danger.dropdown-toggle{color:#ff694b;background-color:#fff0ef}.btn-highlight-danger:active:hover,.btn-highlight-danger:active:focus,.btn-highlight-danger:active.focus,.btn-highlight-danger.active:hover,.btn-highlight-danger.active:focus,.btn-highlight-danger.active.focus,.open>.btn-highlight-danger.dropdown-toggle:hover,.open>.btn-highlight-danger.dropdown-toggle:focus,.open>.btn-highlight-danger.dropdown-toggle.focus{color:#ff694b;background-color:#fff0ef}.btn-highlight-danger:active,.btn-highlight-danger.active,.open>.btn-highlight-danger.dropdown-toggle{background-image:none}.btn-highlight-danger.disabled:hover,.btn-highlight-danger.disabled:focus,.btn-highlight-danger.disabled.focus,.btn-highlight-danger[disabled]:hover,.btn-highlight-danger[disabled]:focus,.btn-highlight-danger[disabled].focus,fieldset[disabled] .btn-highlight-danger:hover,fieldset[disabled] .btn-highlight-danger:focus,fieldset[disabled] .btn-highlight-danger.focus{background-color:#fff5f4;border-color:transparent}.btn-highlight-danger .badge{color:#fff5f4;background-color:#ff694b}.btn-highlight-warning{color:#ff6316;background-color:#fff6ec;border-color:transparent}.btn-highlight-warning:focus,.btn-highlight-warning.focus{color:#ff6316;background-color:#fff2e3}.btn-highlight-warning:hover{color:#ff6316;background-color:#fff2e3}.btn-highlight-warning:active,.btn-highlight-warning.active,.open>.btn-highlight-warning.dropdown-toggle{color:#ff6316;background-color:#fff2e3}.btn-highlight-warning:active:hover,.btn-highlight-warning:active:focus,.btn-highlight-warning:active.focus,.btn-highlight-warning.active:hover,.btn-highlight-warning.active:focus,.btn-highlight-warning.active.focus,.open>.btn-highlight-warning.dropdown-toggle:hover,.open>.btn-highlight-warning.dropdown-toggle:focus,.open>.btn-highlight-warning.dropdown-toggle.focus{color:#ff6316;background-color:#fff2e3}.btn-highlight-warning:active,.btn-highlight-warning.active,.open>.btn-highlight-warning.dropdown-toggle{background-image:none}.btn-highlight-warning.disabled:hover,.btn-highlight-warning.disabled:focus,.btn-highlight-warning.disabled.focus,.btn-highlight-warning[disabled]:hover,.btn-highlight-warning[disabled]:focus,.btn-highlight-warning[disabled].focus,fieldset[disabled] .btn-highlight-warning:hover,fieldset[disabled] .btn-highlight-warning:focus,fieldset[disabled] .btn-highlight-warning.focus{background-color:#fff6ec;border-color:transparent}.btn-highlight-warning .badge{color:#fff6ec;background-color:#ff6316}.btn-lg,.btn-group-lg>.btn{height:4.2857142857rem;font-size:1.1428571429rem}.btn-sm,.btn-group-sm>.btn{height:2.2857142857rem;font-size:.9285714286rem}.btn-xs,.btn-group-xs>.btn{padding:.1607142857rem .625rem;height:1.7142857143rem;font-size:.9285714286rem}.btn-md{padding:.3928571429rem 1.5rem;height:3.7142857143rem;font-size:1rem}.btn-pill{border-radius:200px }.btn-icon{padding-left:0;padding-right:0;width:2.8571428571rem;min-width:2.8571428571rem}.btn-icon.btn-xs,.btn-group-xs>.btn-icon.btn{width:1.7142857143rem;min-width:1.7142857143rem}.btn-icon.btn-sm,.btn-group-sm>.btn-icon.btn{width:2.2857142857rem;min-width:2.2857142857rem}.btn-icon.btn-md{width:3.7142857143rem;min-width:3.7142857143rem}.btn-icon.btn-lg,.btn-group-lg>.btn-icon.btn{width:4.2857142857rem;min-width:4.2857142857rem}.btn-icon .icon,.btn-icon .glyph{margin:0;position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%)}.btn-icon-slim{min-width:0}.btn-block,.btn-slim,.btn-link,.btn-text{padding-left:0;padding-right:0}.btn.active,.btn:active{-webkit-box-shadow:none;box-shadow:none}.btn.disabled,.btn[disabled]{opacity:.375}.btn-file:before{content:attr(data-placeholder)}.btn-file[data-value]:before{content:attr(data-placeholder) " "}.btn-file[data-value]:after{content:"(" attr(data-value) ")"}.btn-file input{position:absolute;opacity:0}.btn-inliner .btn{margin-bottom:.3rem}.btn-toolbar{margin-left:-2px;margin-right:-2px;font-size:0}.btn-toolbar .btn-group{margin-left:2px;margin-right:2px;float:none}.form-control,.input-group-addon,.form-control-static,.form-grid .form-row .form-label label,.option{line-height:1.5 !important;border-width:0 !important;font-size:1rem}.form-group-lg .form-control,.input-group-lg .form-control,.form-group-lg .input-group-addon,.input-group-lg .input-group-addon,.form-group-lg .form-control-static,.form-group-lg .form-grid .form-row .form-label label,.form-grid .form-row .form-label .form-group-lg label,.input-group-lg .form-control-static,.input-group-lg .form-grid .form-row .form-label label,.form-grid .form-row .form-label .input-group-lg label,.form-group-lg .option,.input-group-lg .option{font-size:1.1428571429rem}.form-group-sm .form-control,.input-group-sm .form-control,.form-group-sm .input-group-addon,.input-group-sm .input-group-addon,.form-group-sm .form-control-static,.form-group-sm .form-grid .form-row .form-label label,.form-grid .form-row .form-label .form-group-sm label,.input-group-sm .form-control-static,.input-group-sm .form-grid .form-row .form-label label,.form-grid .form-row .form-label .input-group-sm label,.form-group-sm .option,.input-group-sm .option{font-size:.9285714286rem}.form-control.input-lg,.input-group-lg>.form-control,.input-group-lg>.input-group-btn>.form-control.btn,.input-group-addon.input-lg,.input-group-lg>.input-group-addon,.input-group-lg>.input-group-btn>.input-group-addon.btn,.form-control-static.input-lg,.input-group-lg>.form-control-static.form-control,.form-grid .form-row .form-label .input-group-lg>label.form-control,.input-group-lg>.form-control-static.input-group-addon,.form-grid .form-row .form-label .input-group-lg>label.input-group-addon,.input-group-lg>.input-group-btn>.form-control-static.btn,.form-grid .form-row .form-label .input-group-lg>.input-group-btn>label.btn,.form-grid .form-row .form-label label.input-lg,.option.input-lg,.input-group-lg>.option.form-control,.input-group-lg>.option.input-group-addon,.input-group-lg>.input-group-btn>.option.btn{font-size:1.1428571429rem}.form-control.input-sm,.input-group-sm>.form-control,.input-group-sm>.input-group-btn>.form-control.btn,.input-group-addon.input-sm,.input-group-sm>.input-group-addon,.input-group-sm>.input-group-btn>.input-group-addon.btn,.form-control-static.input-sm,.input-group-sm>.form-control-static.form-control,.form-grid .form-row .form-label .input-group-sm>label.form-control,.input-group-sm>.form-control-static.input-group-addon,.form-grid .form-row .form-label .input-group-sm>label.input-group-addon,.input-group-sm>.input-group-btn>.form-control-static.btn,.form-grid .form-row .form-label .input-group-sm>.input-group-btn>label.btn,.form-grid .form-row .form-label label.input-sm,.option.input-sm,.input-group-sm>.option.form-control,.input-group-sm>.option.input-group-addon,.input-group-sm>.input-group-btn>.option.btn{font-size:.9285714286rem}.form-control::-ms-expand,.input-group-addon::-ms-expand,.form-control-static::-ms-expand,.form-grid .form-row .form-label label::-ms-expand,.option::-ms-expand{display:none}.form-control::-ms-clear,.input-group-addon::-ms-clear,.form-control-static::-ms-clear,.form-grid .form-row .form-label label::-ms-clear,.option::-ms-clear{display:none}.form-control::-ms-value,.input-group-addon::-ms-value,.form-control-static::-ms-value,.form-grid .form-row .form-label label::-ms-value,.option::-ms-value{background:transparent !important}.form-control,.form-control-static,.form-grid .form-row .form-label label,textarea.form-control,.option{height:2.8571428571rem;line-height:1.5 !important;padding:.6785714286rem 1.25rem;border:0}.form-control.input-sm,.input-group-sm>.form-control,.input-group-sm>.input-group-btn>.form-control.btn,.form-control-static.input-sm,.input-group-sm>.form-control-static.form-control,.form-grid .form-row .form-label .input-group-sm>label.form-control,.input-group-sm>.form-control-static.input-group-addon,.form-grid .form-row .form-label .input-group-sm>label.input-group-addon,.input-group-sm>.input-group-btn>.form-control-static.btn,.form-grid .form-row .form-label .input-group-sm>.input-group-btn>label.btn,.form-grid .form-row .form-label label.input-sm,textarea.form-control.input-sm,.input-group-sm>textarea.form-control,.input-group-sm>.input-group-btn>textarea.form-control.btn,.option.input-sm,.input-group-sm>.option.form-control,.input-group-sm>.option.input-group-addon,.input-group-sm>.input-group-btn>.option.btn{height:2.2857142857rem;min-height:2.2857142857rem;padding:.4464285714rem .875rem}.form-control.input-lg,.input-group-lg>.form-control,.input-group-lg>.input-group-btn>.form-control.btn,.form-control-static.input-lg,.input-group-lg>.form-control-static.form-control,.form-grid .form-row .form-label .input-group-lg>label.form-control,.input-group-lg>.form-control-static.input-group-addon,.form-grid .form-row .form-label .input-group-lg>label.input-group-addon,.input-group-lg>.input-group-btn>.form-control-static.btn,.form-grid .form-row .form-label .input-group-lg>.input-group-btn>label.btn,.form-grid .form-row .form-label label.input-lg,textarea.form-control.input-lg,.input-group-lg>textarea.form-control,.input-group-lg>.input-group-btn>textarea.form-control.btn,.option.input-lg,.input-group-lg>.option.form-control,.input-group-lg>.option.input-group-addon,.input-group-lg>.input-group-btn>.option.btn{height:4.2857142857rem;min-height:4.2857142857rem;padding:1.2857142857rem 1.875rem}.form-control.input-md,.form-control-static.input-md,.form-grid .form-row .form-label label.input-md,textarea.form-control.input-md,.option.input-md{height:2.2857142857rem;min-height:2.2857142857rem;padding:.3928571429rem .875rem}textarea.form-control:not(.form-control-height){height:6em}.form-control{-webkit-transition:all .25s cubic-bezier(0.25, 0, 0, 1);-o-transition:all .25s cubic-bezier(0.25, 0, 0, 1);transition:all .25s cubic-bezier(0.25, 0, 0, 1);-webkit-transition-property:color,background-color,box-shadow;transition-property:color,background-color,box-shadow;-webkit-box-shadow:none;box-shadow:none;-webkit-appearance:none;text-overflow:ellipsis;box-shadow:none;color:#484e53}.form-control::-moz-placeholder{color:#a8b1b7;opacity:1}.form-control:-ms-input-placeholder{color:#a8b1b7}.form-control::-webkit-input-placeholder{color:#a8b1b7}.form-control.input-short{width:64px}.form-control.input-medium{width:240px}.form-control.input-long{width:100%}.form-control.input-pill{border-radius:200px !important}.form-control.input-dark{background-color:#00475c;color:white}.form-control.input-dark:hover,.form-control.input-dark:focus{background-color:white;color:#313539}.form-control.input-dark::-moz-placeholder{color:#00afc6;opacity:1}.form-control.input-dark:-ms-input-placeholder{color:#00afc6}.form-control.input-dark::-webkit-input-placeholder{color:#00afc6}.form-control.input-transparent{background-color:transparent}.form-control.input-white{background-color:white;box-shadow:0 0 0 1px rgba(0,30,60,0.03),0 3px 3px -1.5px rgba(0,0,0,0.03)}.form-control:not(:disabled):not(.disabled):hover{background-color:#e9ebef}.form-control:not(:disabled):not(.disabled):hover::-moz-placeholder{color:#5e666c;opacity:1}.form-control:not(:disabled):not(.disabled):hover:-ms-input-placeholder{color:#5e666c}.form-control:not(:disabled):not(.disabled):hover::-webkit-input-placeholder{color:#5e666c}.form-control:not(:disabled):not(.disabled):hover.input-white{background-color:#f9fafb}.form-control:focus{color:#484e53 !important;background-color:white !important;box-shadow:0 0 0 1px #0bb,0 15px 15px -7.5px rgba(0,0,0,0.15);border-radius:4px !important;z-index:3}.form-control:focus::-moz-placeholder{color:#8b969e !important;opacity:1}.form-control:focus:-ms-input-placeholder{color:#8b969e !important}.form-control:focus::-webkit-input-placeholder{color:#8b969e !important}.form-control[type="number"]:not(.spinner){-moz-appearance:textfield}.form-control[type="number"]:not(.spinner)::-webkit-inner-spin-button,.form-control[type="number"]:not(.spinner)::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.form-control-static,.form-grid .form-row .form-label label{display:block;height:auto !important;padding-left:0 !important;padding-right:0 !important;color:#484e53}.has-info .input-group-addon,.has-info .form-control{border-color:transparent !important;background-color:#edfafa;box-shadow:none}.has-info .input-group-addon::-moz-placeholder,.has-info .form-control::-moz-placeholder{color:#80d5d5;opacity:1}.has-info .input-group-addon:-ms-input-placeholder,.has-info .form-control:-ms-input-placeholder{color:#80d5d5}.has-info .input-group-addon::-webkit-input-placeholder,.has-info .form-control::-webkit-input-placeholder{color:#80d5d5}.has-info .input-group-addon,.has-info .form-control{color:#0aa}.has-info .form-control:not(:disabled):not(.disabled):hover{background-color:#def7f7;color:#007b7b}.has-info .form-control:not(:disabled):not(.disabled):hover::-moz-placeholder{color:#40bfbf;opacity:1}.has-info .form-control:not(:disabled):not(.disabled):hover:-ms-input-placeholder{color:#40bfbf}.has-info .form-control:not(:disabled):not(.disabled):hover::-webkit-input-placeholder{color:#40bfbf}.has-info .form-control:not(:disabled):not(.disabled):focus{box-shadow:0 0 0 1px #0bb,0 15px 15px -7.5px rgba(0,0,0,0.15)}.has-success .input-group-addon,.has-success .form-control{border-color:transparent !important;background-color:#f3faec;box-shadow:none}.has-success .input-group-addon::-moz-placeholder,.has-success .form-control::-moz-placeholder{color:#a4d38e;opacity:1}.has-success .input-group-addon:-ms-input-placeholder,.has-success .form-control:-ms-input-placeholder{color:#a4d38e}.has-success .input-group-addon::-webkit-input-placeholder,.has-success .form-control::-webkit-input-placeholder{color:#a4d38e}.has-success .input-group-addon,.has-success .form-control{color:#48a71c}.has-success .form-control:not(:disabled):not(.disabled):hover{background-color:#e9f7dc;color:#297610}.has-success .form-control:not(:disabled):not(.disabled):hover::-moz-placeholder{color:#76bd55;opacity:1}.has-success .form-control:not(:disabled):not(.disabled):hover:-ms-input-placeholder{color:#76bd55}.has-success .form-control:not(:disabled):not(.disabled):hover::-webkit-input-placeholder{color:#76bd55}.has-success .form-control:not(:disabled):not(.disabled):focus{box-shadow:0 0 0 1px #7ec631,0 15px 15px -7.5px rgba(0,0,0,0.15)}.has-warning .input-group-addon,.has-warning .form-control{border-color:transparent !important;background-color:#fff6ec;box-shadow:none}.has-warning .input-group-addon::-moz-placeholder,.has-warning .form-control::-moz-placeholder{color:#ffb18b;opacity:1}.has-warning .input-group-addon:-ms-input-placeholder,.has-warning .form-control:-ms-input-placeholder{color:#ffb18b}.has-warning .input-group-addon::-webkit-input-placeholder,.has-warning .form-control::-webkit-input-placeholder{color:#ffb18b}.has-warning .input-group-addon,.has-warning .form-control{color:#ff6316}.has-warning .form-control:not(:disabled):not(.disabled):hover{background-color:#ffefdc;color:#ff390d}.has-warning .form-control:not(:disabled):not(.disabled):hover::-moz-placeholder{color:#ff8a50;opacity:1}.has-warning .form-control:not(:disabled):not(.disabled):hover:-ms-input-placeholder{color:#ff8a50}.has-warning .form-control:not(:disabled):not(.disabled):hover::-webkit-input-placeholder{color:#ff8a50}.has-warning .form-control:not(:disabled):not(.disabled):focus{box-shadow:0 0 0 1px #ff9b26,0 15px 15px -7.5px rgba(0,0,0,0.15)}.has-danger .input-group-addon,.has-danger .form-control,.has-error .input-group-addon,.has-error .form-control{border-color:transparent !important;background-color:#fff5f4;box-shadow:none}.has-danger .input-group-addon::-moz-placeholder,.has-danger .form-control::-moz-placeholder,.has-error .input-group-addon::-moz-placeholder,.has-error .form-control::-moz-placeholder{color:#ffb4a5;opacity:1}.has-danger .input-group-addon:-ms-input-placeholder,.has-danger .form-control:-ms-input-placeholder,.has-error .input-group-addon:-ms-input-placeholder,.has-error .form-control:-ms-input-placeholder{color:#ffb4a5}.has-danger .input-group-addon::-webkit-input-placeholder,.has-danger .form-control::-webkit-input-placeholder,.has-error .input-group-addon::-webkit-input-placeholder,.has-error .form-control::-webkit-input-placeholder{color:#ffb4a5}.has-danger .input-group-addon,.has-danger .form-control,.has-error .input-group-addon,.has-error .form-control{color:#ff694b}.has-danger .form-control:not(:disabled):not(.disabled):hover,.has-error .form-control:not(:disabled):not(.disabled):hover{background-color:#ffedeb;color:#ff3c2b}.has-danger .form-control:not(:disabled):not(.disabled):hover::-moz-placeholder,.has-error .form-control:not(:disabled):not(.disabled):hover::-moz-placeholder{color:#ff8f78;opacity:1}.has-danger .form-control:not(:disabled):not(.disabled):hover:-ms-input-placeholder,.has-error .form-control:not(:disabled):not(.disabled):hover:-ms-input-placeholder{color:#ff8f78}.has-danger .form-control:not(:disabled):not(.disabled):hover::-webkit-input-placeholder,.has-error .form-control:not(:disabled):not(.disabled):hover::-webkit-input-placeholder{color:#ff8f78}.has-danger .form-control:not(:disabled):not(.disabled):focus,.has-error .form-control:not(:disabled):not(.disabled):focus{box-shadow:0 0 0 1px #ff694b,0 15px 15px -7.5px rgba(0,0,0,0.15)}.input-group-rounded>*:first-child,.input-group-rounded>*:first-child.input-group-btn .btn{border-top-left-radius:100px;border-bottom-left-radius:100px}.input-group-rounded>*:last-child,.input-group-rounded>*:last-child.input-group-btn .btn{border-top-right-radius:100px;border-bottom-right-radius:100px}.input-group-addon{color:#8b969e}.table tr.success{box-shadow:inset rgba(0,30,60,0.03) 0 0 #7ec631}.table tr.info{box-shadow:inset rgba(0,30,60,0.03) 0 0 #0bb}.table tr.warning{box-shadow:inset rgba(0,30,60,0.03) 0 0 #fc0}.table tr.danger{box-shadow:inset rgba(0,30,60,0.03) 0 0 #ff694b}.table-flush th:first-child,.table-flush td:first-child{padding-left:0}.table-flush th:last-child,.table-flush td:last-child{padding-right:0}.table-justified th:last-child,.table-justified td:last-child{text-align:right}th.sm,td.sm{width:1px;white-space:nowrap}th.flush-left,td.flush-left{padding-left:0 !important}th.flush-right,td.flush-right{padding-right:0 !important}.table:not(.table-borderless)>thead>tr>*{border-width:1px}thead>tr>*,.table-label{text-transform:uppercase;letter-spacing:.15em;font-size:.75rem;font-weight:500;color:#8b969e}.table-borderless tr *{border-width:0 !important}.table tbody+tbody{border-top-width:1px}.table-compact th *,.table-compact td *{margin-top:0;margin-bottom:0}.table-middle th,.table-middle td{vertical-align:middle !important}.table-large{font-size:1rem}.table-large tbody th,.table-large tbody td,.table-large>td,.table-large>th{padding-top:1rem !important;padding-bottom:1rem !important}.card .table th,.card .table td{padding-left:1.875rem;padding-right:1.875rem}.table-condensed{font-size:.9285714286rem}.table-responsive{border-radius:4px}@media (min-width: 961px){.table-responsive{overflow:visible}}@media (max-width: 960px){.table-responsive{overflow:auto}html.touch .table-responsive{overflow:scroll;-webkit-overflow-scrolling:touch}}@media (min-width: 961px){.table-alignment{margin-left:-1.25rem;margin-right:-1.25rem}}.table-linked{overflow:hidden}.table-linked a{z-index:3}.table-linked .table-link{width:0 !important;padding:0 !important;vertical-align:top !important}.table-linked .table-link .table-anchor{position:absolute;display:block;height:100%;width:1000vw;z-index:2}.table{display:table}.table-caption{display:table-caption}.table-colgroup{display:table-column-group}.table-thead{display:table-header-group}.table-tfoot{display:table-footer-group}.table-tbody{display:table-row-group}.table-td{display:table-cell}.table-col{display:table-column}.table-tr{display:table-row}.table-sticky{box-shadow:0 1px 0 #ecedee;z-index:2;position:sticky;top:0;background:#f9fafb}tbody .table-sticky{top:28px;background:white}.table .secondary td,.table .secondary th{background:#f9fafb;color:#8b969e}.nav-stacked .nav-stacked{font-size:.9285714286rem}.nav-stacked .nav-stacked>li{margin-left:1em}.nav-stacked .nav-stacked>li>a{color:#8b969e}.nav-tabs{border:0;box-shadow:0 1px 0 rgba(0,30,60,0.075);color:#313539;display:flex;flex-direction:row;flex-wrap:wrap}.nav-tabs:before,.nav-tabs:after{display:none}.nav-tabs>li{float:none;flex:0 0 auto;background:transparent !important;margin:0}.nav-tabs>li:not(:first-child){margin-left:.75em}.nav-tabs>li:not(:last-child){margin-right:.75em}.nav-tabs>li>a,.nav-tabs>li>span{display:block;line-height:1.5;background:transparent !important;padding:1.2857142857rem 0;margin:0 !important;border:0 !important;border-radius:0}.nav-tabs>li.active{box-shadow:0 1px 0 #0bb}.nav-tabs>li.active a{color:#313539}.nav-tabs-sm>li>a,.nav-tabs-sm>li>span{font-size:.9285714286rem;padding:.6785714286rem 0}.nav-tabs-fill>li{flex:1 0 auto;margin:0 !important}.nav-tabs-fill>li>a,.nav-tabs-fill>li>span{text-align:center;padding-left:20px;padding-right:20px}html.touch .nav-tabs{flex-wrap:nowrap;overflow:hidden;overflow-y:scroll;-webkit-overflow-scrolling:touch}.card-tabs .nav-tabs{background:#f0f2f4;border-radius:4px 4px 0 0}.card-tabs .nav-tabs>li:first-child{border-top-left-radius:4px}.card-tabs .nav-tabs>li:last-child{border-top-right-radius:4px}.card-tabs .nav-tabs>li.active{box-shadow:0 1px 0 white !important;background:white !important}.tab-content>.tab-pane{height:0;display:block;overflow:hidden}.tab-content>.tab-pane:not(.active){padding:0}.tab-content>.tab-pane.active{height:auto;overflow:visible}.nav-pills>li>a{font-size:.9285714286rem;padding:.4464285714rem 1em}.alert{border:0;margin:1.5em 0}.alert:first-child{margin-top:0}.alert:last-child{margin-bottom:0}.alert strong{color:inherit;font-style:normal}.alert-default{background:#f9fafb;color:#8b969e}.alert-flush{margin:0}.alert-trim{padding-left:0;padding-right:0}.alert-link{font-weight:bold !important}.avatar{display:inline-block;vertical-align:middle}.avatar img{display:block;border-radius:50%;height:28px;width:28px}.avatar-square img{border-radius:4px}.avatar-sm img{height:20px;width:20px}kbd,code,pre{font-size:.8571428571rem}pre{padding:0;overflow:auto;border-width:0;resize:vertical;white-space:pre;padding:1.2857142857rem 1.875rem;border-radius:4px;font-size:.8571428571rem;-moz-tab-size:2;-o-tab-size:2;tab-size:2;margin:1em 0}pre:first-child{margin-top:0}pre:last-child{margin-bottom:0}.panel-code pre{border-radius:0;padding:40px 50px}@media (max-width: 960px){.panel-code pre{padding-left:7.5vw;padding-right:7.5vw}}.panel-footer .panel-code pre,.panel-body:last-child .panel-code pre{border-bottom-right-radius:4px;border-bottom-left-radius:4px}kbd{box-shadow:none}figure.highlight{tab-size:2}.code,code{font-family:"Monaco",monospace;font-size:.8571428571rem;font-weight:normal;padding:0}.highlight pre{background:#005e7a;color:white;overflow:auto}html.touch .highlight pre{overflow:scroll;-webkit-overflow-scrolling:touch}.highlight code{white-space:pre;display:block}.highlight code *{font-style:normal}.highlight .c{color:#00afc6;font-style:italic}.highlight .err{color:#a61717;background-color:#e3d2d2}.highlight .cm{color:#999988;font-style:italic}.highlight .cp{color:#999999}.highlight .c1{color:#999988;font-style:italic}.highlight .cs{color:#999999;font-style:italic}.highlight .gd{color:#000000;background-color:#fdd}.highlight .gd .x{color:#000000;background-color:#faa}.highlight .ge{font-style:italic}.highlight .gr{color:#a00}.highlight .gh{color:#999}.highlight .gi{color:#000000;background-color:#dfd}.highlight .gi .x{color:#000000;background-color:#afa}.highlight .go{color:#888}.highlight .gp{color:#555}.highlight .gu{color:#aaa}.highlight .gt{color:#a00}.highlight .kt{color:#445588}.highlight .m{color:#b7a5df}.highlight .n{color:#00d9d9}.highlight .s{color:#9ed53e}.highlight .na{color:#00afc6}.highlight .nb{color:#00d9d9}.highlight .nl{color:#00afc6}.highlight .nc{color:#fc0}.highlight .nd{color:#fc0}.highlight .no{color:#00afc6}.highlight .ni{color:#fc0}.highlight .ne{color:#990000}.highlight .nf{color:#990000}.highlight .nn{color:#555}.highlight .nt{color:#00d9d9}.highlight .nv{color:teal}.highlight .w{color:#bbb}.highlight .mf{color:#099}.highlight .mh{color:#099}.highlight .mi{color:#099}.highlight .mo{color:#099}.highlight .sb{color:#d14}.highlight .sc{color:#d14}.highlight .sd{color:#d14}.highlight .s2{color:#ff694b}.highlight .se{color:#d14}.highlight .sh{color:#d14}.highlight .si{color:#d14}.highlight .sx{color:#d14}.highlight .sr{color:#009926}.highlight .s1{color:#d14}.highlight .ss{color:#990073}.highlight .bp{color:#999}.highlight .vc{color:teal}.highlight .vg{color:teal}.highlight .vi{color:teal}.highlight .il{color:#099}.highlight .lineno{-webkit-user-select:none;-moz-user-select:none;-o-user-select:none}.highlight .lineno::-moz-selection{background-color:transparent}.highlight .lineno::selection{background-color:transparent}.label{text-transform:uppercase;letter-spacing:.15em;font-size:.75rem;font-weight:500;-webkit-transition:all .25s cubic-bezier(0.25, 0, 0, 1);-o-transition:all .25s cubic-bezier(0.25, 0, 0, 1);transition:all .25s cubic-bezier(0.25, 0, 0, 1);display:inline-block;text-align:inherit;padding:0;border:0}.label-default{color:#8b969e}.label-success{color:#5fb825}.label-info{color:#0aa}.label-warning{color:#ff821d}.label-danger{color:#ff4f39}.label-inherit{color:inherit}.label+.label:not(.block){margin-left:1.5em}a.label:hover.label-default,a.label:focus.label-default{color:#3f464e}a.label:hover.label-success,a.label:focus.label-success{color:#369115}a.label:hover.label-info,a.label:focus.label-info{color:#007b7b}a.label:hover.label-warning,a.label:focus.label-warning{color:#ff4b11}a.label:hover.label-danger,a.label:focus.label-danger{color:#ff2d21}.badge{border-radius:200px ;text-transform:uppercase;letter-spacing:.15em;font-size:.75rem;font-weight:500;line-height:1.8em;height:1.8em;min-width:1.8em;text-align:center;padding:0 7px;text-indent:1px;border:0}.badge-success{background:#7ec631;color:white}.badge-warning{background:#ff9b26;color:white}.badge-danger{background:#ff694b;color:white}.list-group-item .badge{float:right}.active .badge{color:#fff;background:#009797}.badge-digit{padding:0 2px}.badge-corner{position:absolute;top:0;right:0;-webkit-transform:translate(50%, -50%);transform:translate(50%, -50%)}.badges{font-size:0;display:block}.badges .badge{margin:2px 4px 2px 0}.progress{height:6px;overflow:visible;margin:1em 0}.progress:first-child{margin-top:0}.progress:last-child{margin-bottom:0}.progress,.progress .progress-bar{border-radius:100px;box-shadow:none}.tooltip{box-shadow:0 0 0 1px rgba(0,30,60,0.03),0 20px 20px -10px rgba(0,0,0,0.2);padding:0 !important}.tooltip,.tooltip .tooltip-inner,.tooltip .tooltip-arrow{border-radius:4px}.tooltip .tooltip-arrow{-webkit-transform:rotate(45deg);transform:rotate(45deg);background:#007699;box-shadow:0 0 0 1px rgba(0,30,60,0.03),0 20px 20px -10px rgba(0,0,0,0.2);border-width:0;height:12px;width:12px}.tooltip.top .tooltip-arrow{margin-bottom:-3px}.tooltip.bottom .tooltip-arrow{margin-top:-3px}.tooltip.left .tooltip-arrow{margin-right:-3px}.tooltip.right .tooltip-arrow{margin-left:-3px}.tooltip .tooltip-inner{font-size:.9285714286rem;padding:.6785714286rem 1.25rem;margin:0 !important;font-style:normal}.popover{box-shadow:0 0 0 1px rgba(0,30,60,0.03),0 20px 20px -10px rgba(0,0,0,0.2);font-size:1rem;border-width:0 !important;color:#fff;padding:0}.popover,.popover .popover-content,.popover .arrow{border-radius:4px}.popover .popover-content{border-radius:4px;margin:0 !important}.popover .popover-title,.popover .popover-content{padding:1.2857142857rem 1.875rem;background:#ff694b}.popover .arrow{width:20px;height:20px;background:#ff694b;box-shadow:0 0 0 1px rgba(0,30,60,0.03),0 20px 20px -10px rgba(0,0,0,0.2);-webkit-transform:rotate(45deg);transform:rotate(45deg)}.popover .arrow:after{display:none}.popover.top .arrow{margin:-10px;margin-bottom:-4px}.popover.bottom .arrow{margin:-10px;margin-top:-4px}.popover.left .arrow{margin:-10px;margin-right:-4px}.popover.right .arrow{margin:-10px;margin-left:-4px}.modal .modal-dialog{margin:auto;display:table;width:768px;max-width:100vw;height:100vh}.modal .modal-dialog.modal-sm{width:400px}.modal .modal-dialog.modal-lg{width:960px}.modal .modal-content{display:table-cell;vertical-align:middle;box-shadow:none}.modal.fade .modal-dialog{-webkit-transition:all .25s cubic-bezier(0.25, 0, 0, 1);-o-transition:all .25s cubic-bezier(0.25, 0, 0, 1);transition:all .25s cubic-bezier(0.25, 0, 0, 1);-webkit-transform:translate(0, -20px);transform:translate(0, -20px)}.modal.fade.in .modal-dialog{-webkit-transform:translate(0, 0);transform:translate(0, 0)}.modal-backdrop{display:block;position:absolute;width:100%;height:100%;top:0;left:0;position:fixed;z-index:1040}@media (max-width: 960px){.modal-content:not(.modal-content-flush){padding:7.5vw}}.panel{border-width:0;display:flex;flex-direction:column;display:block;border-width:0;background:white;box-shadow:0 0 0 1px rgba(0,30,60,0.03),0 3px 3px -1.5px rgba(0,0,0,0.03);border-radius:4px;margin:1em 0}.panel:first-child{margin-top:0}.panel:last-child{margin-bottom:0}.panel>*{border-color:transparent !important;flex:0 0 auto}.panel>*:first-child{border-top-right-radius:4px;border-top-left-radius:4px}.panel>*:last-child{border-bottom-right-radius:4px;border-bottom-left-radius:4px}.panel>*,.panel>*>.panel-fill{padding:20px 30px}.panel>*.panel-flush,.panel>*>.panel-fill.panel-flush{padding:0 !important}.panel>*.panel-flush-top,.panel>*>.panel-fill.panel-flush-top{padding-top:0 !important}.panel>*.panel-flush-bottom,.panel>*>.panel-fill.panel-flush-bottom{padding-bottom:0 !important}.panel-large>*,.panel-large>*>.panel-fill{padding:40px 50px}@media (max-width: 960px){.panel-large>*,.panel-large>*>.panel-fill{padding:5vw 7.5vw}}.panel>.panel-body{flex:1 0 auto}.panel>.panel-body>*:first-child{margin-top:0}.panel>.panel-body>*:last-child{margin-bottom:0}.panel>.panel-body>.panel-fill{display:block;position:absolute;width:100%;height:100%;top:0;left:0;overflow:auto}html.touch .panel>.panel-body>.panel-fill{overflow:scroll;-webkit-overflow-scrolling:touch}h1.panel-title,.h1.panel-title{font-size:1.7142857143rem}h2.panel-title,.h2.panel-title{font-size:1.7142857143rem}h3.panel-title,.h3.panel-title{font-size:1.2857142857rem}h4.panel-title,.h4.panel-title{font-size:1.1428571429rem}h5.panel-title,.h5.panel-title{font-size:1rem}h6.panel-title,.h6.panel-title{font-size:1rem}.list-group{display:block;border-width:0;background:white;box-shadow:0 0 0 1px rgba(0,30,60,0.03),0 3px 3px -1.5px rgba(0,0,0,0.03);border-radius:4px}.list-group .list-group-item{margin:0;border-width:0 0 1px 0}.list-group .list-group-item *{margin-top:0;margin-bottom:0}.list-group .list-group-item:last-child{border-width:0}.well{padding:1.2857142857rem 1.875rem;box-shadow:none;border:0}.well>*:first-child{margin-top:0}.well>*:last-child{margin-bottom:0}.row{margin:0}.container{padding-left:0;padding-right:0}@media (min-width: 961px){.container{width:90%;max-width:1320px}}@media (max-width: 960px){.container{width:auto}}@media (min-width: 961px){.row-reverse>[class*="col-lg-"]{float:right}}@media (max-width: 960px){[class*="col-lg-"]+[class*="col-lg-"]{margin-top:30px;margin-bottom:30px}[class*="col-lg-"]+[class*="col-lg-"]:first-child{margin-top:0}[class*="col-lg-"]+[class*="col-lg-"]:last-child{margin-bottom:0}}@media (max-width: 768px){[class*="col-md-"]+[class*="col-md-"]{margin-top:30px;margin-bottom:30px}[class*="col-md-"]+[class*="col-md-"]:first-child{margin-top:0}[class*="col-md-"]+[class*="col-md-"]:last-child{margin-bottom:0}}@media (max-width: 540px){[class*="col-sm-"]+[class*="col-sm-"]{margin-top:30px;margin-bottom:30px}[class*="col-sm-"]+[class*="col-sm-"]:first-child{margin-top:0}[class*="col-sm-"]+[class*="col-sm-"]:last-child{margin-bottom:0}}.carousel .carousel-control{background:transparent}.carousel .carousel-control:after{width:1em;display:block;position:absolute;left:0;top:0;bottom:0;right:0;margin:auto;height:1.6em;font-size:2rem}.carousel .carousel-indicators{bottom:10px}.carousel .carousel-indicators li{background:#fff;-webkit-transition:all .25s cubic-bezier(0.25, 0, 0, 1);-o-transition:all .25s cubic-bezier(0.25, 0, 0, 1);transition:all .25s cubic-bezier(0.25, 0, 0, 1);margin:0 2px;opacity:.25;height:8px;width:8px;border:0}.carousel .carousel-indicators li.active{opacity:1}.carousel .carousel-inner .item img{width:100%}.thumbnail{display:block;border-width:0;background:white;box-shadow:0 0 0 1px rgba(0,30,60,0.03),0 3px 3px -1.5px rgba(0,0,0,0.03);border-radius:4px}.thumbnail img{width:100%}.thumbnail .caption *{margin-top:0;margin-bottom:0}.range{-webkit-appearance:none;margin:0;width:100%;outline:none !important}.range::-moz-focus-outer{border:0}.range::-webkit-slider-runnable-track{width:100%;height:6px;cursor:pointer;box-shadow:none;background:#f0f2f4;border-radius:200px;border:0 solid transparent;color:transparent;-webkit-transition:all .25s cubic-bezier(0.25, 0, 0, 1);-o-transition:all .25s cubic-bezier(0.25, 0, 0, 1);transition:all .25s cubic-bezier(0.25, 0, 0, 1)}.range::-moz-range-track{width:100%;height:6px;cursor:pointer;box-shadow:none;background:#f0f2f4;border-radius:200px;border:0 solid transparent;color:transparent;-webkit-transition:all .25s cubic-bezier(0.25, 0, 0, 1);-o-transition:all .25s cubic-bezier(0.25, 0, 0, 1);transition:all .25s cubic-bezier(0.25, 0, 0, 1)}.range::-ms-track{width:100%;height:6px;cursor:pointer;box-shadow:none;background:#f0f2f4;border-radius:200px;border:0 solid transparent;color:transparent;-webkit-transition:all .25s cubic-bezier(0.25, 0, 0, 1);-o-transition:all .25s cubic-bezier(0.25, 0, 0, 1);transition:all .25s cubic-bezier(0.25, 0, 0, 1);background:transparent;border-width:5px 0}.range::-ms-fill-lower{box-shadow:none;background:#f0f2f4;border-radius:200px;border:0 solid transparent;color:transparent;-webkit-transition:all .25s cubic-bezier(0.25, 0, 0, 1);-o-transition:all .25s cubic-bezier(0.25, 0, 0, 1);transition:all .25s cubic-bezier(0.25, 0, 0, 1)}.range::-ms-fill-upper{box-shadow:none;background:#f0f2f4;border-radius:200px;border:0 solid transparent;color:transparent;-webkit-transition:all .25s cubic-bezier(0.25, 0, 0, 1);-o-transition:all .25s cubic-bezier(0.25, 0, 0, 1);transition:all .25s cubic-bezier(0.25, 0, 0, 1)}.range::-webkit-slider-thumb{box-shadow:none;border:0;height:16px;width:16px;border-radius:200px;background:#0bb;cursor:pointer;-webkit-transition:all .25s cubic-bezier(0.25, 0, 0, 1);-o-transition:all .25s cubic-bezier(0.25, 0, 0, 1);transition:all .25s cubic-bezier(0.25, 0, 0, 1);-webkit-appearance:none;margin-top:-5px}.range::-moz-range-thumb{box-shadow:none;border:0;height:16px;width:16px;border-radius:200px;background:#0bb;cursor:pointer;-webkit-transition:all .25s cubic-bezier(0.25, 0, 0, 1);-o-transition:all .25s cubic-bezier(0.25, 0, 0, 1);transition:all .25s cubic-bezier(0.25, 0, 0, 1)}.range::-ms-thumb{box-shadow:none;border:0;height:16px;width:16px;border-radius:200px;background:#0bb;cursor:pointer;-webkit-transition:all .25s cubic-bezier(0.25, 0, 0, 1);-o-transition:all .25s cubic-bezier(0.25, 0, 0, 1);transition:all .25s cubic-bezier(0.25, 0, 0, 1)}@supports (-ms-ime-align: auto){.range::-ms-thumb{margin-top:1px}}.range:hover::-webkit-slider-thumb{background:#0aa}.range:focus::-webkit-slider-thumb{background:#0aa}.range:hover::-moz-range-thumb{background:#0aa}.range:focus::-moz-range-thumb{background:#0aa}.range:hover::-ms-thumb{background:#0aa}.range:focus::-ms-thumb{background:#0aa}.range:hover::-webkit-slider-runnable-track{background:#e9ebef}.range:focus::-webkit-slider-runnable-track{background:#e9ebef}.range:hover::-moz-range-track{background:#e9ebef}.range:focus::-moz-range-track{background:#e9ebef}.range:hover::-ms-fill-lower{background:#e9ebef}.range:focus::-ms-fill-lower{background:#e9ebef}.range:hover::-ms-fill-upper{background:#e9ebef}.range:focus::-ms-fill-upper{background:#e9ebef}.breadcrumb-flush{padding:0}.breadcrumb>li:first-child .glyph{position:absolute;right:100%;top:50%;-webkit-transform:translate(-33%, -50%);transform:translate(-33%, -50%)}.breadcrumb>li:before{font-weight:normal;padding:0 .5em;opacity:.5}.card{display:block;border-width:0;background:white;box-shadow:0 0 0 1px rgba(0,30,60,0.03),0 3px 3px -1.5px rgba(0,0,0,0.03);border-radius:4px;display:flex;flex-direction:column}.card>.card-header,.card>.card-footer{flex:0 0 auto}.card>.card-body{flex:1 0 auto}.card.active{box-shadow:0 0 0 1px #0bb,0 15px 15px -7.5px rgba(0,0,0,0.15)}.card-footer,.card-header,.card-body,.card-padding{padding:20px 30px}.card-expand{margin:-20px -30px}.card-header h1,.card-header .h1,.card-header h2,.card-header .h2,.card-header h3,.card-header .h3,.card-header h4,.card-header .h4,.card-header h5,.card-header .h5,.card-header h6,.card-header .h6{margin:0}.card-flush-top{padding-top:0}.card-flush-bottom{padding-bottom:0}.card-flush-vertical{padding-top:0;padding-bottom:0}.card-flush{padding:0}.card-sm{padding:8px 12px}.card-control{display:block}.card-control .btn,.card-control .form-control,.card-control .input-group-addon,.card-control .form-control-static,.card-control .form-grid .form-row .form-label label,.form-grid .form-row .form-label .card-control label{display:block;margin:0 !important;height:4.2857142857rem;padding:1.3928571429rem 30px;border-radius:0;width:100%}.card-control .form-control{background:white}.card-control .form-control:not(:disabled):not(.disabled):hover{background-color:#f0f2f4}.card-control .btn,.card-control .input-group-addon{text-align:center}.card-footer .card-control:first-child .btn,.card-footer .card-control:first-child .form-control,.card-footer .card-control:first-child .input-group-addon,.card-footer .card-control:first-child .form-control-static,.card-footer .card-control:first-child .form-grid .form-row .form-label label,.form-grid .form-row .form-label .card-footer .card-control:first-child label{border-bottom-left-radius:4px}.card-footer .card-control:last-child .btn,.card-footer .card-control:last-child .form-control,.card-footer .card-control:last-child .input-group-addon,.card-footer .card-control:last-child .form-control-static,.card-footer .card-control:last-child .form-grid .form-row .form-label label,.form-grid .form-row .form-label .card-footer .card-control:last-child label{border-bottom-right-radius:4px}.card-body .card-control:first-child .btn,.card-body .card-control:first-child .form-control,.card-body .card-control:first-child .input-group-addon,.card-body .card-control:first-child .form-control-static,.card-body .card-control:first-child .form-grid .form-row .form-label label,.form-grid .form-row .form-label .card-body .card-control:first-child label{border-top-left-radius:4px}.card-body .card-control:last-child .btn,.card-body .card-control:last-child .form-control,.card-body .card-control:last-child .input-group-addon,.card-body .card-control:last-child .form-control-static,.card-body .card-control:last-child .form-grid .form-row .form-label label,.form-grid .form-row .form-label .card-body .card-control:last-child label{border-top-right-radius:4px}.card-toolbar{display:flex;flex-direction:row;flex-wrap:wrap;padding:0}.card-toolbar .card-control{display:block;flex:1 0 auto}.card-form{padding:0;display:table;width:100%}.card-form .card-formrow{display:table-row}.card-form .card-formrow .card-control{display:table-cell;vertical-align:middle}.card-form .card-formrow:not(:last-child) .card-control{border-bottom:1px solid rgba(0,30,60,0.075)}.card-list:not(:first-child){border-top:1px solid rgba(0,30,60,0.075)}.preview{margin:60px 0;background:white;border-radius:4px;display:flex;flex-direction:column;flex:1 0 auto;box-shadow:0 0 0 1px rgba(0,30,60,0.03),0 3px 3px -1.5px rgba(0,0,0,0.03);-webkit-transition:all .25s cubic-bezier(0.25, 0, 0, 1);-o-transition:all .25s cubic-bezier(0.25, 0, 0, 1);transition:all .25s cubic-bezier(0.25, 0, 0, 1)}.preview:first-child{margin-top:0}.preview:last-child{margin-bottom:0}.preview .preview-header{background-position:50% 50%;background-size:cover}.preview .preview-header:before{content:\'\';display:block;padding-bottom:50%}.preview .preview-body{display:flex;flex-direction:column;flex:1 0 auto}.preview .preview-body .preview-footer{flex:0 0 auto;padding:20px 30px}.preview .preview-body .preview-text{flex:1 0 auto;padding:20px 30px}.preview .preview-body .preview-text *{margin-top:0;margin-bottom:0}.preview .preview-body .preview-text h1,.preview .preview-body .preview-text .h1,.preview .preview-body .preview-text h2,.preview .preview-body .preview-text .h2,.preview .preview-body .preview-text h3,.preview .preview-body .preview-text .h3,.preview .preview-body .preview-text h4,.preview .preview-body .preview-text .h4,.preview .preview-body .preview-text h5,.preview .preview-body .preview-text .h5,.preview .preview-body .preview-text h6,.preview .preview-body .preview-text .h6{margin-bottom:20px}.preview .preview-body .preview-text ~ .preview-footer{padding-top:0}.preview.preview-link:hover,.preview.preview-link:focus{box-shadow:0 0 0 1px rgba(0,30,60,0.03),0 15px 15px -7.5px rgba(0,0,0,0.15)}.preview.preview-vertical .preview-header{flex:0 0 auto}.preview.preview-vertical .preview-body{flex:1 0 auto}.preview.preview-vertical .preview-header-grow{flex:1 0 auto}.preview.preview-vertical .preview-header-grow ~ .preview-body{flex:0 0 auto}.preview.preview-horizontal{display:flex;flex-direction:row}.preview.preview-horizontal .preview-header{flex:1 1 120px}.preview.preview-horizontal .preview-body{flex:3 1 260px}.preview:not(.preview-vertical):not(.preview-horizontal){display:flex;flex-direction:row;flex-wrap:wrap}.preview:not(.preview-vertical):not(.preview-horizontal) .preview-header{flex:1 0 120px}.preview:not(.preview-vertical):not(.preview-horizontal) .preview-body{flex:3 1 260px}.loading{text-align:center;margin:20px 0}.loading:after{margin:0 auto;content:\'\';display:block;font-size:30px;width:1em;height:1em;border-radius:50%;border:1px solid;border-top-color:rgba(0,30,60,0.03);border-right-color:rgba(0,30,60,0.03);-webkit-animation:spin .5s 0s linear infinite;-o-animation:spin .5s 0s linear infinite;animation:spin .5s 0s linear infinite}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes spin{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.loading.loading-inline{height:10px;display:inline-block;margin:0 .375em 0 0;vertical-align:middle}.loading.loading-inline-after{margin:0 0 0 .375em}.loading.loading-inline:after{margin:-10px 0}.loading.loading-small.loading-inline{top:-1px}.loading.loading-small:after{font-size:12px;margin:-1px auto}.btn .loading:after{color:inherit}.loading-overlay{background:#f9fafb;border-radius:4px}.loading-overlay>*{pointer-events:none;opacity:.15}.loading-overlay .loading{display:block;position:absolute;width:100%;height:100%;top:0;left:0;margin:0;opacity:1}.loading-overlay .loading:after{display:block;position:absolute;left:0;top:0;bottom:0;right:0;margin:auto}.message{margin:20px 0}.message .message-content{display:flex;flex-direction:row}.message .message-content>*{padding:0 .5rem}.message:not(.message-secondary) .message-content .message-header{padding-left:0}.message:not(.message-secondary) .message-content .message-body{padding-right:4rem}.message:not(.message-secondary) .message-content .message-body .message-text{border-top-left-radius:4px}.message.message-secondary .message-content{-ms-flex-pack:end;justify-content:flex-end}.message.message-secondary .message-content .message-header{padding-right:0}.message.message-secondary .message-content .message-body{padding-left:4rem}.message.message-secondary .message-content .message-body .message-text{border-top-right-radius:4px}.message-header{flex:0 0 auto}.message-secondary .message-header{order:2}.message-header .message-avatar .avatar{font-size:2.5rem}.message-body{flex:0 1 auto}.message-body .message-text{background:#f0f2f4;padding:1.2857142857rem 1.875rem;border-radius:1.333em}.message-blue .message-body .message-text{background:#0bb;color:white}.message-green .message-body .message-text{background:#7ec631;color:white}.message-purple .message-body .message-text{background:#7f6cc5;color:white}.toolbar a{display:block}.toolbar .toolbar-content{display:flex;flex-direction:row;flex-wrap:wrap;-ms-flex-align:center;align-items:center}.toolbar .toolbar-content .toolbar-item{flex:0 0 auto}.toolbar .toolbar-content .toolbar-item>.btn{width:100%}.toolbar .toolbar-content .toolbar-item>.toolbar-link{padding:1rem 1.5rem}.toolbar .toolbar-content .toolbar-gap{flex:1000 1 auto}.toolbar-fill .btn{border-radius:0}.toolbar-fill .toolbar-content>.btn,.toolbar-fill .toolbar-content .toolbar-item{flex:1 0 auto}.toolbar-separate .toolbar-content{margin:-.375rem}.toolbar-separate .toolbar-content .toolbar-item{margin:.375rem}.toolbar-fixed .toolbar-content>.btn,.toolbar-fixed .toolbar-content .toolbar-item{flex:1 0 0px}.title{margin-left:-10px;margin-right:-10px;display:flex;flex-direction:row;flex-wrap:wrap;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:center;align-items:center}.title-buffer{margin-top:60px;margin-bottom:60px}.title>*{padding:5px 0;margin:0 10px}.title-header{flex:0 1 auto}.title-body{flex:1 1 auto}.title-actions{flex:0 1 auto}.title-fix{min-height:50px}.title:first-child{margin-top:-5px}.title:last-child{margin-bottom:-5px}.list{color:#8b969e}.list-item:not(:first-child){border-top:1px solid rgba(0,30,60,0.075)}.list-item:first-child .list-row{border-top-right-radius:4px;border-top-left-radius:4px}.list-item:last-child .list-row{border-bottom-right-radius:4px;border-bottom-left-radius:4px}.list-link{display:block;position:absolute;width:100%;height:100%;top:0;left:0;z-index:2}.list-link:hover+.list-row,.list-link:focus+.list-row{background:#f9fafb}.list-item.active .list-row{background:#0bb}.list-item.active .list-row h1,.list-item.active .list-row .h1,.list-item.active .list-row h2,.list-item.active .list-row .h2,.list-item.active .list-row h3,.list-item.active .list-row .h3,.list-item.active .list-row h4,.list-item.active .list-row .h4,.list-item.active .list-row h5,.list-item.active .list-row .h5,.list-item.active .list-row h6,.list-item.active .list-row .h6,.list-item.active .list-row{color:#fff}.list-row{display:flex;flex-direction:row;-ms-flex-align:center;align-items:center;-webkit-transition:all .25s cubic-bezier(0.25, 0, 0, 1);-o-transition:all .25s cubic-bezier(0.25, 0, 0, 1);transition:all .25s cubic-bezier(0.25, 0, 0, 1)}.list-row>*{flex:1 1 0px;padding:1.5rem 2rem}.list-row>* *{margin-top:0;margin-bottom:0}.list-row>* a{z-index:3}.list-row-group{padding-left:0;padding-right:1rem}.list-row-graphic,.list-row-arrow{flex:0 0 auto}.list-row-graphic>.glyph,.list-row-arrow>.glyph{opacity:.3333333333}.list-row-sm>*{padding-top:12px;padding-bottom:12px}.list-row-xs>*{padding-top:7px;padding-bottom:7px}.card-list .list .list-row>*{padding-left:30px;paddign-right:30px}.list-clean{margin:0;padding:0;border:0;list-style-type:none}.list-clean li{margin:0;padding:0;list-style-type:none}.list-columns-2{columns:2}.status{display:flex;flex-direction:row}.status-text{flex:1 1 auto;white-space:nowrap;min-width:0}.status-icon{flex:0 0 auto}.dot{display:inline-block;background:currentColor;width:8px;height:8px;border-radius:50%}.dot-default{color:#8b969e}.dot-success{color:#5fb825}.dot-info{color:#0aa}.dot-warning{color:#ff821d}.dot-danger{color:#ff4f39}.table-master-detail-toggle{-webkit-transition:all .25s cubic-bezier(0.25, 0, 0, 1);-o-transition:all .25s cubic-bezier(0.25, 0, 0, 1);transition:all .25s cubic-bezier(0.25, 0, 0, 1)}.table-master-detail:not(.open) .table-detail{display:none}.table-master-detail.open .table-master td,.table-master-detail.open .table-master th{background:white !important}.table-master-detail.open .table-master-detail-toggle{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.form-grid{display:table;width:100%}.form-grid .form-row-group{display:table-row-group}.form-grid .form-row{display:table-row}.form-grid .form-row .form-row{display:table;width:100%}.form-grid .form-row .form-label,.form-grid .form-row .form-response{display:table-cell;padding:7px;vertical-align:top}.form-grid .form-row .form-label:first-child,.form-grid .form-row .form-response:first-child{padding-left:0}.form-grid .form-row .form-label:last-child,.form-grid .form-row .form-response:last-child{padding-right:0}.form-grid .form-row .form-label .form-row>*,.form-grid .form-row .form-response .form-row>*{padding-top:0;padding-bottom:0}.form-grid .form-row .form-label{white-space:nowrap;width:1px}.form-grid .form-row .form-response .help-block{margin:0;top:3px}.form-grid .form-row .form-response.form-response-short{width:1px;white-space:nowrap}.form-grid .form-row .form-response .form-response,.form-grid .form-row .form-response .form-label{padding-top:0;padding-bottom:0}.form-grid .form-row>.form-label:first-child{padding-right:7px}.form-grid:not(.form-grid-left) .form-label{text-align:right}.matrix{margin:0 -15px;display:flex;flex-direction:row;-ms-flex-align:stretch;align-items:stretch;flex-wrap:wrap}.matrix.matrix-nowrap{flex-wrap:nowrap}.matrix .matrix-item{padding:15px;display:flex;flex-direction:column;flex:1 1 260px}.matrix .matrix-item>*{flex:1 1 auto;margin:0}.waterfall{margin:0 -15px;-webkit-column-count:4;column-count:4;-webkit-column-gap:0;column-gap:0;-webkit-column-width:320px;column-width:320px}.waterfall .waterfall-item{-webkit-column-break-inside:avoid;page-break-inside:avoid;break-inside:avoid-column;padding:15px}.waterfall .waterfall-item>*{margin:0}.mosaic{display:flex;flex-direction:column;-ms-flex-align:stretch;align-items:stretch}.mosaic-buffer{margin:0 -15px}.mosaic-row{display:flex;flex-direction:row;flex-wrap:wrap;flex:1 1 auto}.mosaic-column{display:flex;flex-direction:column;flex:1 1 320px}.mosaic-column-1{flex:1 1 320px}.mosaic-column-2{flex:1 1 640px}.mosaic-column-3{flex:1 1 960px}.mosaic-column-4{flex:1 1 1280px}.mosaic-column-5{flex:1 1 1600px}.mosaic-column-6{flex:1 1 1920px}.mosaic-column-7{flex:1 1 2240px}.mosaic-column-8{flex:1 1 2560px}.mosaic-column-9{flex:1 1 2880px}.mosaic-column-10{flex:1 1 3200px}.mosaic-column-11{flex:1 1 3520px}.mosaic-column-12{flex:1 1 3840px}.mosaic-item{display:flex;flex-direction:column}.mosaic-item>*{flex:1 0 auto;margin:0}.mosaic-column>.mosaic-item{flex:1 1 auto}.mosaic-row>.mosaic-item{flex:1 0 260px}.mosaic-buffer .mosaic-item{margin:15px}.flex-row{display:flex;flex-direction:row;flex-wrap:wrap}.flex-column{display:flex;flex-direction:column;flex:1 1 320px}.flex-column-1{flex:1 1 320px}.flex-column-2{flex:1 1 640px}.flex-column-3{flex:1 1 960px}.flex-column-4{flex:1 1 1280px}.flex-column-5{flex:1 1 1600px}.flex-column-6{flex:1 1 1920px}.flex-column-7{flex:1 1 2240px}.flex-column-8{flex:1 1 2560px}.flex-column-9{flex:1 1 2880px}.flex-column-10{flex:1 1 3200px}.flex-column-11{flex:1 1 3520px}.flex-column-12{flex:1 1 3840px}.flex-nowrap{flex-wrap:nowrap}.flex-buffer{margin:0 -15px}.flex-flush{margin-top:-15px;margin-bottom:-15px}.flex-column>.flex-item{flex:1 1 auto}.flex-row>.flex-item{flex:1 0 260px}.flex-buffer .flex-item{margin:15px}.flex-column>.flex-item-sm{flex:1 1 auto}.flex-row>.flex-item-sm{flex:1 0 130px}.flex-buffer .flex-item-sm{margin:7.5px}.flex-grow{flex:1 0 auto}.flex-auto{flex:0 0 auto}.flex-shrink{flex:0 1 auto}.album{margin:0 -30px;visibility:hidden}.album.album-ready{visibility:visible}.album .album-content{display:flex;flex-direction:row;flex-wrap:wrap;-ms-flex-align:stretch;align-items:stretch}.album .album-content .album-image{flex:1 1 auto;margin:30px}.album .album-content .album-image img{margin:0;display:block;width:100%;height:auto;display:block;border-width:0;background:white;box-shadow:0 0 0 1px rgba(0,30,60,0.03),0 3px 3px -1.5px rgba(0,0,0,0.03);border-radius:4px}.limit-1>*:nth-child(n+2){display:none !important}.limit-2>*:nth-child(n+3){display:none !important}.limit-3>*:nth-child(n+4){display:none !important}.limit-4>*:nth-child(n+5){display:none !important}.limit-5>*:nth-child(n+6){display:none !important}.limit-6>*:nth-child(n+7){display:none !important}.limit-7>*:nth-child(n+8){display:none !important}.limit-8>*:nth-child(n+9){display:none !important}.limit-9>*:nth-child(n+10){display:none !important}.limit-10>*:nth-child(n+11){display:none !important}.limit-11>*:nth-child(n+12){display:none !important}.limit-12>*:nth-child(n+13){display:none !important}.grid{display:grid;grid-gap:2em;grid-template-columns:repeat(auto-fill, minmax(200px, 1fr))}html.cssgridlegacy .grid{display:flex;flex-direction:row;flex-wrap:wrap;padding:1em}html.cssgridlegacy .grid>*{flex:1 0 200px;max-width:320px;padding:1em}.section-target{position:absolute;visibility:hidden;top:-4em}.section{padding:.75em 0}.section-target:target+.section-content .panel{box-shadow:0 0 0 1px rgba(0,30,60,0.03),0 30px 30px -15px rgba(0,0,0,0.3)}.framework{-ms-display:grid;display:grid;height:100%}.framework>*{padding:1em 1.5em}.framework .framework-header{background:#0bb;color:white}.framework .framework-nav{background:#f0f2f4}.framework .framework-menu{background:#f9fafb}.framework .framework-content{background:white}.framework .framework-content{padding:0;overflow:auto;display:flex;flex-direction:column;-ms-flex-align:stretch;align-items:stretch}.framework .framework-content>*{padding:1em 1.5em}.framework .framework-content .framework-actions{position:sticky;top:0;z-index:2;background:white}@media (min-width: 961px){.framework{-ms-grid-rows:60px auto;grid-template-rows:60px auto;-ms-grid-columns:60px 240px auto;grid-template-columns:60px 240px auto}.framework .framework-header{-ms-grid-row:1;grid-row:1;-ms-grid-column:1;-ms-grid-column-span:3;grid-column:1 / 4}.framework .framework-nav{-ms-grid-row:2;grid-row:2;-ms-grid-column:1;grid-column:1}.framework .framework-menu{-ms-grid-row:2;grid-row:2;-ms-grid-column:2;grid-column:2}.framework .framework-content{-ms-grid-row:2;grid-row:2;-ms-grid-column:3;grid-column:3}}@media (max-width: 960px){.framework{-ms-grid-rows:60px auto;grid-template-rows:60px auto;-ms-grid-columns:auto;grid-template-columns:auto}.framework .framework-header{-ms-grid-row:1;grid-row:1;-ms-grid-column:1;grid-column:1}.framework .framework-nav{display:none}.framework .framework-menu{display:none}.framework .framework-content{-ms-grid-row:2;grid-row:2;-ms-grid-column:1;grid-column:1}.framework .framework-content .framework-actions{order:-1}}.app{display:block;position:absolute;width:100%;height:100%;top:0;left:0;position:fixed;min-width:960px}.app-row{display:flex;flex-direction:row;-ms-flex-align:stretch;align-items:stretch}.app-column{display:flex;flex-direction:column;-ms-flex-align:stretch;align-items:stretch}.app-middle{-ms-flex-align:center;align-items:center}.app-header,.app-footer{flex:0 0 auto}.app-body{flex:1 0 0px}.app-navbar{height:calc( 2.8571428571rem + 40px );z-index:3;background:white}.app-menu,.app-sidebar,.app-content{-webkit-transition:all .25s cubic-bezier(0.25, 0, 0, 1);-o-transition:all .25s cubic-bezier(0.25, 0, 0, 1);transition:all .25s cubic-bezier(0.25, 0, 0, 1);background:#f9fafb}.app-menu,.app-sidebar{width:20%;min-width:300px;flex:0 0 auto}.app-content{flex:1 0 0px}.app-content a,.app-content .a{color:#0bb}.app-content a:hover,.app-content a:focus,.app-content .a:hover,.app-content .a:focus{color:#0aa}.app-overlay{background:#f0f2f4;position:absolute;display:none;z-index:2;right:-100vw;left:-100vw;bottom:0;top:0;opacity:.9}.app-menu .app-overlay{left:100%;box-shadow:inset 5px 0 10px -5px rgba(0,0,0,0.2)}.app-sidebar .app-overlay{right:100%;box-shadow:inset -5px 0 10px -5px rgba(0,0,0,0.2)}.app-icn:not(:first-child){padding-left:20px}.app-icn:not(:last-child){padding-right:20px}.app-scroll{display:block;position:absolute;width:100%;height:100%;top:0;left:0;overflow:auto}html.touch .app-scroll{overflow:scroll;-webkit-overflow-scrolling:touch}.app-pad{padding:20px 30px}.app-pad,.app-pad-v{padding-top:20px;padding-bottom:20px}.app-pad,.app-pad-h{padding-left:30px;padding-right:30px}.app-sticky{top:0;z-index:2;position:sticky;background:#f9fafb}.app-frame{margin:auto}@media (min-width: 961px){.app-frame{width:90%}}.app-shadow{box-shadow:0 1px 0 rgba(0,16,32,0.05)}.app-flush,.app-flush-top{padding-top:0}.app-flush,.app-flush-bottom{padding-bottom:0}.app-flush,.app-flush-left{padding-left:0}.app-flush,.app-flush-right{padding-right:0}.app-logo{width:100px}.layout{width:100vw;height:100vh;min-width:960px;overflow:auto}html.touch .layout{overflow:scroll;-webkit-overflow-scrolling:touch}.layout-pad{padding-top:20px;padding-bottom:20px}.layout-ide{height:calc(100vh - 53px)}.layout-pad-l,.layout-pad-x{padding-left:20px}.layout-pad-r,.layout-pad-x{padding-right:20px}.layout-sticky{position:sticky;z-index:20;top:0}.layout-frame{margin:auto;width:90%;padding-left:20px;padding-right:20px}.layout-menu .layout-frame{padding-right:0}.layout-navigation{box-shadow:0 0 0 1px rgba(0,30,60,0.03),0 3px 3px -1.5px rgba(0,0,0,0.03);background:white;height:52px;position:absolute;top:0;left:0;right:0}.layout-content{position:absolute;top:53px;bottom:0;left:0;right:0;overflow:auto}html.touch .layout-content{overflow:scroll;-webkit-overflow-scrolling:touch}.layout-row{display:flex;flex-direction:row}.layout-alert{flex:0 0 100%}.layout-menu{flex:0 0 25%;max-width:300px;min-width:0}.layout-body{flex:1 1 auto;box-shadow:0 -1px 0 rgba(0,30,60,0.03)}.ide{overflow:hidden;font-size:.9285714286rem;display:block;position:absolute;width:100%;height:100%;top:0;left:0;background:white}.ide-pad{padding:14px 16px !important}.ide-pad-l,.ide-pad-x{padding-left:16px !important}.ide-pad-r,.ide-pad-x{padding-right:16px !important}.ide-panels{display:block;position:absolute;width:100%;height:100%;top:0;left:0}.ide-panels,.ide-panel-group{display:flex;flex-direction:row;background:inherit}.ide-panels.ide-vertical,.ide-panel-group.ide-vertical{display:flex;flex-direction:column}@media (max-width: 960px){.ide-panels,.ide-panel-group{display:flex;flex-direction:column}}.ide-panel,.ide-panel-group{flex:1 0 0px}.ide-panel{-webkit-transition:all .25s cubic-bezier(0.25, 0, 0, 1);-o-transition:all .25s cubic-bezier(0.25, 0, 0, 1);transition:all .25s cubic-bezier(0.25, 0, 0, 1);-webkit-transition-property:box-shadow,transform;transition-property:box-shadow,transform;box-shadow:0 0 0 2px transparent;min-height:200px;min-width:200px;background:inherit;display:flex;flex-direction:column}.ide-horizontal .ide-panel{height:auto !important}.ide-horizontal .ide-panel[style*="width"]{flex:0 0 auto}.ide-vertical .ide-panel{width:auto !important}.ide-vertical .ide-panel[style*="height"]{flex:0 0 auto}@media (max-width: 960px){.ide-panel{width:auto !important}}.ide-panel-sm{flex:0 0 280px}.ide-panel:before{content:\'\';display:block;position:absolute;left:0;top:0;bottom:0;right:0;box-shadow:0 0 0 1px currentColor;opacity:.125}.ide-panel:focus{z-index:3;box-shadow:0 0 0 2px #0bb,0 10px 20px rgba(0,30,60,0.3);-webkit-transform:translate(10px, -10px);transform:translate(10px, -10px);border-radius:4px}.ide-panel>*:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.ide-panel>*:last-child{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.ide-panel-header,.ide-panel-footer{flex:0 0 auto;background:rgba(0,30,60,0.03)}.ide-panel-header:before,.ide-panel-header:after,.ide-panel-footer:before,.ide-panel-footer:after{content:\'\';display:block;position:absolute;left:0;top:0;bottom:0;right:0;background:currentColor;opacity:.0075}.ide-panel-header:after,.ide-panel-footer:after{height:1px;opacity:.06}.ide-panel-header .btn:focus,.ide-panel-header .btn:active,.ide-panel-footer .btn:focus,.ide-panel-footer .btn:active{z-index:auto}.ide-panel-header:after{top:auto}.ide-panel-footer:before{display:none}.ide-panel-footer:after{bottom:auto}.ide-panel-body{color:#313539;background:inherit;flex:1 1 auto}.ide-panel-scroll{display:block;position:absolute;width:100%;height:100%;top:0;left:0;overflow:auto}html.touch .ide-panel-scroll{overflow:scroll;-webkit-overflow-scrolling:touch}.ide-panel-scroll::-webkit-scrollbar{background:#e9ebef;width:7px;height:7px}.ide-panel-scroll::-webkit-scrollbar-button{display:none}.ide-panel-scroll::-webkit-scrollbar-track{background:transparent}.ide-panel-scroll::-webkit-scrollbar-track-piece{background:transparent}.ide-panel-scroll::-webkit-scrollbar-thumb{background:#d7dbdf;border-radius:200px ;-webkit-transition:all .25s cubic-bezier(0.25, 0, 0, 1);-o-transition:all .25s cubic-bezier(0.25, 0, 0, 1);transition:all .25s cubic-bezier(0.25, 0, 0, 1)}.ide-panel-scroll::-webkit-scrollbar-corner{background:#e9ebef}.ide-panel-scroll::-webkit-resizer{background:transparent}.ide-panel-scroll:hover::-webkit-scrollbar-thumb{background:#c1c7cd}.ide-panel-handle{display:block;position:absolute;top:0;bottom:0;right:0;background:white;width:10px}.ide-controls{display:table;width:100%;height:44px}.ide-controls>*{display:table-cell;vertical-align:middle}.ide-control{white-space:nowrap}.ide-control-sm{width:1px}.ide-control-link,.ide-control-text{display:block;padding:.6785714286rem 0}.ide-control-link{padding-left:1.25rem;padding-right:1.25rem;text-align:center}.ide-control-inline-link{display:inline-block;padding:.6785714286rem 0;text-align:center}.ide-control.active{box-shadow:inset 0 -1px 0 #0bb}.ide-control.active .ide-control-link,.ide-control.active .ide-control-inline-link{color:inherit;font-weight:bold}.ide-list{padding:7px 0}.ide-list-item{display:block;padding:7px 16px;color:inherit;box-shadow:0 1px 0 rgba(0,30,60,0.03);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ide-list-item:hover,.ide-list-item:focus{color:inherit}.ide-list-item-footer{padding:.375em 0;display:flex;flex-direction:row;-ms-flex-pack:justify;justify-content:space-between}.ide-interactive:hover,.ide-interactive:focus{background:#f9fafb}.ide-active{background:#e4e6eb !important}.ide-code{color:inherit;resize:none;padding:0;background:transparent}.ide table{white-space:nowrap}.ide table td:first-child,.ide table th:first-child{padding-left:16px}.ide table td:last-child,.ide table th:last-child{padding-right:16px}.ide table td{max-width:300px;overflow:hidden;text-overflow:ellipsis}.ide-table-heading{color:inherit;position:sticky;top:0;z-index:3;background:white;box-shadow:0 1px 0 rgba(0,30,60,0.03)}.ide-dark{color:white}.ide-dark,.ide-dark .ide-table-heading{background:#002934}.ide-dark .ide-panel-body{color:inherit}.ide-dark .ide-panel:focus,.ide-dark .ide-panel-header,.ide-dark .ide-panel-footer,.ide-dark .table-striped>tbody>tr:nth-of-type(odd){background:#00303d}.ide-dark .ide-active{background:#005e7a !important;color:white !important}.ide-dark .ide-table-heading,.ide-dark .ide-list-item{box-shadow:0 1px 0 rgba(255,255,255,0.1)}.ide-dark .ide-panel-header .btn-default,.ide-dark .ide-panel-footer .btn-default{color:#fff;background-color:#005e7a;border-color:#005e7a}.ide-dark .ide-panel-header .btn-default:focus,.ide-dark .ide-panel-header .btn-default.focus,.ide-dark .ide-panel-footer .btn-default:focus,.ide-dark .ide-panel-footer .btn-default.focus{color:#fff;background-color:#007699}.ide-dark .ide-panel-header .btn-default:hover,.ide-dark .ide-panel-footer .btn-default:hover{color:#fff;background-color:#007699}.ide-dark .ide-panel-header .btn-default:active,.ide-dark .ide-panel-header .btn-default.active,.open>.ide-dark .ide-panel-header .btn-default.dropdown-toggle,.ide-dark .ide-panel-footer .btn-default:active,.ide-dark .ide-panel-footer .btn-default.active,.open>.ide-dark .ide-panel-footer .btn-default.dropdown-toggle{color:#fff;background-color:#007699}.ide-dark .ide-panel-header .btn-default:active:hover,.ide-dark .ide-panel-header .btn-default:active:focus,.ide-dark .ide-panel-header .btn-default:active.focus,.ide-dark .ide-panel-header .btn-default.active:hover,.ide-dark .ide-panel-header .btn-default.active:focus,.ide-dark .ide-panel-header .btn-default.active.focus,.open>.ide-dark .ide-panel-header .btn-default.dropdown-toggle:hover,.open>.ide-dark .ide-panel-header .btn-default.dropdown-toggle:focus,.open>.ide-dark .ide-panel-header .btn-default.dropdown-toggle.focus,.ide-dark .ide-panel-footer .btn-default:active:hover,.ide-dark .ide-panel-footer .btn-default:active:focus,.ide-dark .ide-panel-footer .btn-default:active.focus,.ide-dark .ide-panel-footer .btn-default.active:hover,.ide-dark .ide-panel-footer .btn-default.active:focus,.ide-dark .ide-panel-footer .btn-default.active.focus,.open>.ide-dark .ide-panel-footer .btn-default.dropdown-toggle:hover,.open>.ide-dark .ide-panel-footer .btn-default.dropdown-toggle:focus,.open>.ide-dark .ide-panel-footer .btn-default.dropdown-toggle.focus{color:#fff;background-color:#007699}.ide-dark .ide-panel-header .btn-default:active,.ide-dark .ide-panel-header .btn-default.active,.open>.ide-dark .ide-panel-header .btn-default.dropdown-toggle,.ide-dark .ide-panel-footer .btn-default:active,.ide-dark .ide-panel-footer .btn-default.active,.open>.ide-dark .ide-panel-footer .btn-default.dropdown-toggle{background-image:none}.ide-dark .ide-panel-header .btn-default.disabled:hover,.ide-dark .ide-panel-header .btn-default.disabled:focus,.ide-dark .ide-panel-header .btn-default.disabled.focus,.ide-dark .ide-panel-header .btn-default[disabled]:hover,.ide-dark .ide-panel-header .btn-default[disabled]:focus,.ide-dark .ide-panel-header .btn-default[disabled].focus,fieldset[disabled] .ide-dark .ide-panel-header .btn-default:hover,fieldset[disabled] .ide-dark .ide-panel-header .btn-default:focus,fieldset[disabled] .ide-dark .ide-panel-header .btn-default.focus,.ide-dark .ide-panel-footer .btn-default.disabled:hover,.ide-dark .ide-panel-footer .btn-default.disabled:focus,.ide-dark .ide-panel-footer .btn-default.disabled.focus,.ide-dark .ide-panel-footer .btn-default[disabled]:hover,.ide-dark .ide-panel-footer .btn-default[disabled]:focus,.ide-dark .ide-panel-footer .btn-default[disabled].focus,fieldset[disabled] .ide-dark .ide-panel-footer .btn-default:hover,fieldset[disabled] .ide-dark .ide-panel-footer .btn-default:focus,fieldset[disabled] .ide-dark .ide-panel-footer .btn-default.focus{background-color:#005e7a;border-color:#005e7a}.ide-dark .ide-panel-header .btn-default .badge,.ide-dark .ide-panel-footer .btn-default .badge{color:#005e7a;background-color:#fff}.ide-dark .ide-panel-scroll::-webkit-scrollbar{background:#00475c;width:7px;height:7px}.ide-dark .ide-panel-scroll::-webkit-scrollbar-button{display:none}.ide-dark .ide-panel-scroll::-webkit-scrollbar-track{background:transparent}.ide-dark .ide-panel-scroll::-webkit-scrollbar-track-piece{background:transparent}.ide-dark .ide-panel-scroll::-webkit-scrollbar-thumb{background:#065b74;border-radius:200px ;-webkit-transition:all .25s cubic-bezier(0.25, 0, 0, 1);-o-transition:all .25s cubic-bezier(0.25, 0, 0, 1);transition:all .25s cubic-bezier(0.25, 0, 0, 1)}.ide-dark .ide-panel-scroll::-webkit-scrollbar-corner{background:#00475c}.ide-dark .ide-panel-scroll::-webkit-resizer{background:transparent}.ide-dark .ide-panel-scroll:hover::-webkit-scrollbar-thumb{background:#087291}.ide-dark .ace_scrollbar::-webkit-scrollbar{background:#00475c;width:7px;height:7px}.ide-dark .ace_scrollbar::-webkit-scrollbar-button{display:none}.ide-dark .ace_scrollbar::-webkit-scrollbar-track{background:transparent}.ide-dark .ace_scrollbar::-webkit-scrollbar-track-piece{background:transparent}.ide-dark .ace_scrollbar::-webkit-scrollbar-thumb{background:#065b74;border-radius:200px ;-webkit-transition:all .25s cubic-bezier(0.25, 0, 0, 1);-o-transition:all .25s cubic-bezier(0.25, 0, 0, 1);transition:all .25s cubic-bezier(0.25, 0, 0, 1)}.ide-dark .ace_scrollbar::-webkit-scrollbar-corner{background:#00475c}.ide-dark .ace_scrollbar::-webkit-resizer{background:transparent}.ide-dark .ace_scrollbar:hover::-webkit-scrollbar-thumb{background:#087291}.ide-dark .ide-code::-webkit-scrollbar{background:#00475c;width:7px;height:7px}.ide-dark .ide-code::-webkit-scrollbar-button{display:none}.ide-dark .ide-code::-webkit-scrollbar-track{background:transparent}.ide-dark .ide-code::-webkit-scrollbar-track-piece{background:transparent}.ide-dark .ide-code::-webkit-scrollbar-thumb{background:#065b74;border-radius:200px ;-webkit-transition:all .25s cubic-bezier(0.25, 0, 0, 1);-o-transition:all .25s cubic-bezier(0.25, 0, 0, 1);transition:all .25s cubic-bezier(0.25, 0, 0, 1)}.ide-dark .ide-code::-webkit-scrollbar-corner{background:#00475c}.ide-dark .ide-code::-webkit-resizer{background:transparent}.ide-dark .ide-code:hover::-webkit-scrollbar-thumb{background:#087291}.menu{margin:0 -5px;font-size:.9285714286rem}.menu ul{margin:0;padding:0;border:0;list-style-type:none;display:none}.menu ul li{margin:0;padding:0;list-style-type:none}.menu ul ul{margin-left:23px}.menu a{color:#3f464e;display:block;padding:3px 5px;border-radius:4px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.menu a.menu-tree{color:#8b969e}.menu a.menu-main{font-size:1rem;margin-bottom:.25em;font-weight:bold;color:#313539}.menu a.active:not(.not-active){color:#313539}.menu a:hover,.menu a:focus{background:#f0f2f4;color:#313539}.menu a.menu-node.active:not(.not-active),.menu a.menu-link.active:not(.not-active){background:#e9ebef;color:#313539}.menu .icn{margin-right:8px}.menu>ul,.menu .active+ul{display:block}a:not(.active) .menu-icon-on{display:none}a.active .menu-icon-off{display:none}.results{font-size:.9285714286rem}.results .result{display:block;color:inherit;text-decoration:none !important;padding:15px 20px;margin:0 -20px;border-radius:4px}.results .result:hover,.results .result:focus{color:inherit}.results .result:hover,.results .result:focus{background:#f0f2f4}.results .result-content{display:flex;flex-direction:row}.results .result-content .result-icn{flex:0 0 auto;color:#8b969e;opacity:.5;padding:2px 20px 0 0}.results .result-content .result-body{flex:1 1 auto}.results .result-content .result-body>*{margin-top:.25em;margin-bottom:.25em}.results .result-content .result-body>*:first-child{margin-top:0}.results .result-content .result-body>*:last-child{margin-bottom:0}.filename{display:flex;flex-direction:row}.filename .filename-ellip{flex:0 1 auto;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.filename .filename-normal{flex:0 0 auto}.launcher{z-index:30;position:fixed;bottom:30px;right:30px}.launcher:not(.on) .launcher-content{display:none}.launcher.on .launcher-btn{display:none}.launcher-btn{font-size:0}.launcher-btn .btn{box-shadow:0 0 0 1px rgba(0,30,60,0.03),0 20px 20px -10px rgba(0,0,0,0.2)}.launcher-btn .btn:not(:last-child){margin-right:10px}.launcher-btn .btn:hover,.launcher-btn .btn:focus{box-shadow:0 0 0 1px rgba(0,30,60,0.03),0 40px 40px -20px rgba(0,0,0,0.4)}.launcher-content{position:fixed;height:100%;border:20px solid transparent;top:0;right:0}@media (min-width: 961px){.launcher[data-launcher="sidebar"] .launcher-content{width:340px;border-left:0}}@media (max-width: 960px){.launcher[data-launcher="sidebar"] .launcher-content{width:100vw}}.launcher[data-launcher="sidebar"] .launcher-content .launcher-hide-sidebar:not(.visible){display:none}.launcher[data-launcher="fullscreen"] .launcher-content{width:100vw}.launcher[data-launcher="fullscreen"] .launcher-content .launcher-hide-fullscreen:not(.visible){display:none}.launcher-window{display:flex;flex-direction:column;overflow:auto;width:100%;height:100%;color:white;background:#005e7a;border-radius:4px;box-shadow:-10px 5px 20px 5px rgba(0,0,0,0.1),0 20px 20px -10px rgba(0,0,0,0.3)}.launcher-window h1,.launcher-window .h1,.launcher-window h2,.launcher-window .h2,.launcher-window h3,.launcher-window .h3,.launcher-window h4,.launcher-window .h4,.launcher-window h5,.launcher-window .h5,.launcher-window h6,.launcher-window .h6{color:inherit}html.touch .launcher-window{overflow:scroll;-webkit-overflow-scrolling:touch}.launcher-window .launcher-header,.launcher-window .launcher-footer{flex:0 0 auto;display:flex;flex-direction:row;-ms-flex-align:center;align-items:center}.launcher-window .launcher-header .launcher-spacer,.launcher-window .launcher-footer .launcher-spacer{flex:1 0 0px}.launcher-window .launcher-header .launcher-cell,.launcher-window .launcher-footer .launcher-cell{flex:1 1 auto;min-width:0;padding:20px}.launcher-window .launcher-header .launcher-cell.launcher-flush,.launcher-window .launcher-footer .launcher-cell.launcher-flush{padding:0}.launcher-window .launcher-header .launcher-cell .field-label,.launcher-window .launcher-header .launcher-cell .field-input,.launcher-window .launcher-footer .launcher-cell .field-label,.launcher-window .launcher-footer .launcher-cell .field-input{padding-left:20px;padding-right:20px;border-radius:0 !important;box-shadow:none !important}.launcher-window .launcher-header .launcher-cell .field-input,.launcher-window .launcher-footer .launcher-cell .field-input{background-position:calc(100% - 1.25rem - 5px) 50%}.launcher-window .launcher-header .launcher-actions,.launcher-window .launcher-footer .launcher-actions{flex:0 0 auto}.launcher-window .launcher-footer{flex-wrap:wrap}.launcher-window .launcher-body{flex:1 1 0px}.launcher-window .launcher-body .launcher-scroll{display:block;position:absolute;width:100%;height:100%;top:0;left:0}.launcher-window .launcher-body .launcher-scroll .launcher[data-launcher="sidebar"]{overflow:auto}html.touch .launcher-window .launcher-body .launcher-scroll .launcher[data-launcher="sidebar"]{overflow:scroll;-webkit-overflow-scrolling:touch}.launcher-window .launcher-body .launcher-embed,.launcher-window .launcher-body .launcher-embed iframe,.launcher-window .launcher-body .launcher-embed canvas{display:block;position:absolute;width:100%;height:100%;top:0;left:0}.field{display:block;margin:0}.field .field-input{height:4.6071428571rem;border-top:1.75rem solid transparent !important}.field .field-input:hover+.field-label,.field .field-input:focus+.field-label{color:#5e666c}.field .field-label{pointer-events:none;z-index:4;font-family:"Monaco",monospace;font-size:.8571428571rem;position:absolute;top:0;left:0;margin:0;padding:.6785714286rem 1.25rem 0}.field .field-text{height:4.6071428571rem;border-top:1.75rem solid transparent !important;border-radius:0 !important;box-shadow:none !important;padding:.6785714286rem 1.25rem 0}.field .field-text-label{pointer-events:none;z-index:0;position:absolute;top:0;left:0;margin:0;padding:.6785714286rem 1.25rem 0;font-variant:small-caps}.fields{display:flex;flex-direction:row;flex-wrap:wrap}.fields .field{flex:1 0 160px}.fields:not(.fields-flush){margin:-5px}.fields:not(.fields-flush) .field{border:5px solid transparent}.switches{margin:1.5em 0;display:flex;flex-direction:row;flex-wrap:wrap;background:#edeff2;box-shadow:inset 0 0 5px rgba(0,0,0,0.05);border-radius:4px;font-size:.9285714286rem}.switches .switch{flex:1 1 auto}.switches .switch .switch-label{padding:.4464285714rem 1.25rem;color:#8b969e;display:block;text-align:center;-webkit-transition:all .25s cubic-bezier(0.25, 0, 0, 1);-o-transition:all .25s cubic-bezier(0.25, 0, 0, 1);transition:all .25s cubic-bezier(0.25, 0, 0, 1)}.switches .switch .switch-label:hover,.switches .switch .switch-label:focus{color:#313539}.switches .switch .switch-label.active{display:block;border-width:0;background:white;box-shadow:0 0 0 1px rgba(0,30,60,0.03),0 3px 3px -1.5px rgba(0,0,0,0.03);border-radius:4px;font-weight:bold;color:#313539}.details .details-content{margin:-1em 0}@media (min-width: 961px){.details .details-content{display:table;width:100%}.details .details-content .detail-group{display:table-row}.details .details-content .detail-group>*{display:table-cell;vertical-align:top}.details .details-content .detail-group:not(:last-child)>*{border-bottom:1px solid rgba(0,30,60,0.075)}}.detail-group{padding-bottom:1em}.detail-group:not(:last-child){border-bottom:1px solid rgba(0,30,60,0.075)}.detail-group .detail-header{white-space:nowrap;width:1px;padding:1em;padding-left:0}@media (max-width: 960px){.detail-group .detail-header .detail-label{color:#313539}}.detail-group .detail-body{padding:.5em}@media (max-width: 960px){.detail-group .detail-body{padding:0;margin:0 -1em}}.detail-group .detail-body .detail{margin:0;display:inline-block;vertical-align:top;padding:.5em 1em}.detail-label{margin:0;text-transform:uppercase;letter-spacing:.15em;font-size:.75rem;font-weight:500;color:#8b969e}.detail-value{color:#313539}.controls{display:flex;flex-direction:row;flex-wrap:wrap;-ms-flex-pack:justify;justify-content:space-between;margin:-7px}.controls:not(.controls-block){display:inline-flex}.controls-nowrap{flex-wrap:nowrap}.controls .control{padding:7px;flex:0 0 auto}.controls .control .btn{text-align:center}.controls .control .btn,.controls .control .form-control{width:100%}.controls .control-grow{flex:1 0 auto}.controls .control-full{flex:0 0 100%}.token{display:flex;flex-direction:row;display:inline-flex}.token-element{flex:0 0 auto}.token-element:not(:first-child) .btn,.token-element:not(:first-child) .form-control{border-top-left-radius:0;border-bottom-left-radius:0}.token-element:not(:last-child) .btn,.token-element:not(:last-child) .form-control{border-top-right-radius:0;border-bottom-right-radius:0}.tokens{margin-left:-5px;margin-right:-5px}.tokens:after{display:table;content:\'\';clear:both}.tokens-actions{float:right}.tokens .token{float:left;margin:5px}.setting{display:flex;flex-direction:row;margin:0 -30px}.setting>*{padding:15px 30px}.setting-header{flex:1 0 28.5714285714%;min-width:200px}.setting-header-text>*{margin-top:.5rem;margin-bottom:.5rem}.setting-header-text>*:first-child{margin-top:0}.setting-header-text>*:last-child{margin-bottom:0}.setting-header-text h1,.setting-header-text .h1,.setting-header-text h2,.setting-header-text .h2,.setting-header-text h3,.setting-header-text .h3,.setting-header-text h4,.setting-header-text .h4,.setting-header-text h5,.setting-header-text .h5,.setting-header-text h6,.setting-header-text .h6{display:inline}.setting-header-text h1 a,.setting-header-text .h1 a,.setting-header-text h2 a,.setting-header-text .h2 a,.setting-header-text h3 a,.setting-header-text .h3 a,.setting-header-text h4 a,.setting-header-text .h4 a,.setting-header-text h5 a,.setting-header-text .h5 a,.setting-header-text h6 a,.setting-header-text .h6 a{font-size:.9285714286rem;font-weight:bold;margin-left:.75em}.setting-body{flex:1 0 71.4285714286%;min-width:600px}.setting-row{display:flex;flex-direction:row;margin:0 -4px}.setting-row:not(:last-child){border-bottom:1px solid rgba(0,30,60,0.075)}.setting-row>*{padding:4px}.setting-row-label{flex:0 0 25%;min-width:120px;padding-top:8px}.setting-row-response{flex:1 1 auto}.setting-row-edit{flex:0 0 auto}.setting-row-actions{flex:1 1 auto}body:not(.editing) .setting-form:not(.editing) [setting-active]{display:none}.editing [setting-static]{display:none}body.editing [setting-old]{display:none}body:not(.editing) [setting-new]{display:none}.editing .setting-row:not(.setting-row-border){border-color:transparent}.logo{display:block;overflow:hidden;color:#313539}.logo,.logo svg{height:25px;width:88px}.logo svg{fill:currentColor;top:-1px}@media (max-width: 540px){.logo{width:25px}}.kpi{color:#313539;padding:20px 32px}.kpi-lg .kpi-value{font-weight:bold;font-size:1.7142857143rem}.kpi-content{display:table;width:100%}.kpi-content>*{display:table-cell;vertical-align:baseline}.kpi-graphic{white-space:nowrap;width:1px;padding-right:.5em}.kpis{display:table;width:100%;width:auto}.kpis>*{display:table-cell;vertical-align:middle}.kpis .kpi:first-child{border-top-left-radius:4px;border-bottom-left-radius:4px}.kpis .kpi:last-child{border-top-right-radius:4px;border-bottom-right-radius:4px}.navigation{color:#313539}.navigation-row{height:52px;margin:0 -15px;display:flex;flex-direction:row;-ms-flex-align:center;align-items:center}.navigation-item{flex:0 0 auto;padding:10px 15px}.navigation-grow{flex:1 0 auto}.navigation-link{color:#bec5c9}.navigation-link:hover,.navigation-link:focus{color:#313539}.navigation-pad{padding:0 20px}.sidenav{z-index:20}.sidenav-overlay,.sidenav-content{-webkit-transition:all .25s cubic-bezier(0.25, 0, 0, 1);-o-transition:all .25s cubic-bezier(0.25, 0, 0, 1);transition:all .25s cubic-bezier(0.25, 0, 0, 1)}.sidenav-content{overflow:auto;-webkit-transform:translateX(-120%);transform:translateX(-120%);top:0;bottom:0;left:0;background:white;box-shadow:0 0 0 1px rgba(0,30,60,0.03),0 3px 3px -1.5px rgba(0,0,0,0.03);position:fixed;width:320px}html.touch .sidenav-content{overflow:scroll;-webkit-overflow-scrolling:touch}.navigating .sidenav-content{-webkit-transform:translateX(0);transform:translateX(0)}.sidenav-overlay{display:block;position:absolute;width:100%;height:100%;top:0;left:0;position:fixed;background:#f0f2f4;pointer-events:none;opacity:0}.navigating .sidenav-overlay{pointer-events:auto;opacity:.5}.sidenav-body{padding:0 24px}.sidenav-region{padding-bottom:.25em}.sidenav-divider{display:flex;flex-direction:row;-ms-flex-align:center;align-items:center}.sidenav-divider:after{content:\'\';display:block;border-top:1px solid rgba(0,30,60,0.075);flex:1 1 auto}.sidenav-divider-heading{flex:0 0 auto;padding-right:1em}.sidenav-section{padding:24px 0}.sidenav-section+.sidenav-section{border-top:1px solid rgba(0,30,60,0.075)}.sidenav-link{color:#8b969e;display:block;padding:.25em 0;padding-left:40px}.sidenav-link .glyph{position:absolute;left:0;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.sidenav-link:hover,.sidenav-link:focus{color:#313539}.sidenav-link:not(.active) .glyph{opacity:.3333333333}.sidenav-link.active{color:#ff694b}.sidenav-link-main{color:inherit;padding-top:.5em;padding-bottom:.5em;font-weight:bold}body.navigating{overflow:hidden}body.navigating .navigating-hide{display:none}body:not(.navigating) .navigating-show{display:none}.navigating-overlay{display:block;position:absolute;width:100%;height:100%;top:0;left:0;background:#f0f2f4;opacity:.5;display:none;z-index:9}.navigating .navigating-overlay{display:block}.navigating .navigating-blur{pointer-events:none;-webkit-filter:blur(5px);filter:blur(5px)}a.help{line-height:inherit}\n',""])},function(e,t,n){var r=n(210);"string"==typeof r&&(r=[[e.i,r,""]]);var i={hmr:!0,transform:void 0,insertInto:void 0};n(19)(r,i);r.locals&&(e.exports=r.locals)},function(e,t,n){"use strict";n(211);const r=n(11),i=n(4);window.jQuery=r,n(204),n(203),n(202),n(181),n(179);const o=n(21),a=n(176);o.initHighlightingOnLoad(),o.registerLanguage("sql",a),window.hljs=o;n(175);o.initLineNumbersOnLoad(),n(174),i.module("dbt",["ngRoute","ui.router","hc.marked"]).config(["markedProvider","$locationProvider",function(e,t){e.setOptions({gfm:!0}),e.setRenderer({table:function(e,t){return"<table class='table'><thead>"+e+"</thead><tbody>"+t+"</tbody></table>"}}),t.html5Mode({enabled:!1}),r(document).tooltip({selector:'[data-toggle="tooltip"]',placement:function(e,t){return r(t).attr("data-placement")?r(t).attr("data-placement"):"auto"},container:"body"}),r(document).ready(function(){r("[data-toggle=popover]").popover({container:"body",html:!0})})}])},function(e,t){
+!function(e,t,n){"use strict";var r=angular,i=t&&t.module?t:r;function o(){var e=null;return function(t,r){return e=e||n.services.$injector.get("$templateFactory"),[new c(t,r,e)]}}var a=function(e,t){return e.reduce(function(e,r){return e||n.isDefined(t[r])},!1)};function s(e){if(!e.parent)return{};var t=["component","bindings","componentProvider"],r=["templateProvider","templateUrl","template","notify","async"].concat(["controller","controllerProvider","controllerAs","resolveAs"]),i=t.concat(r);if(n.isDefined(e.views)&&a(i,e))throw new Error("State '"+e.name+"' has a 'views' object. It cannot also have \"view properties\" at the state level.  Move the following properties into a view (in the 'views' object):  "+i.filter(function(t){return n.isDefined(e[t])}).join(", "));var o={},s=e.views||{$default:n.pick(e,i)};return n.forEach(s,function(i,s){if(s=s||"$default",n.isString(i)&&(i={component:i}),i=n.extend({},i),a(t,i)&&a(r,i))throw new Error("Cannot combine: "+t.join("|")+" with: "+r.join("|")+" in stateview: '"+s+"@"+e.name+"'");i.resolveAs=i.resolveAs||"$resolve",i.$type="ng1",i.$context=e,i.$name=s;var l=n.ViewService.normalizeUIViewTarget(i.$context,i.$name);i.$uiViewName=l.uiViewName,i.$uiViewContextAnchor=l.uiViewContextAnchor,o[s]=i}),o}var l=0,c=function(){function e(e,t,n){var r=this;this.path=e,this.viewDecl=t,this.factory=n,this.$id=l++,this.loaded=!1,this.getTemplate=function(e,t){return r.component?r.factory.makeComponentTemplate(e,t,r.component,r.viewDecl.bindings):r.template}}return e.prototype.load=function(){var e=this,t=n.services.$q,r=new n.ResolveContext(this.path),i=this.path.reduce(function(e,t){return n.extend(e,t.paramValues)},{}),o={template:t.when(this.factory.fromConfig(this.viewDecl,i,r)),controller:t.when(this.getController(r))};return t.all(o).then(function(t){return n.trace.traceViewServiceEvent("Loaded",e),e.controller=t.controller,n.extend(e,t.template),e})},e.prototype.getController=function(e){var t=this.viewDecl.controllerProvider;if(!n.isInjectable(t))return this.viewDecl.controller;var r=n.services.$injector.annotate(t),i=n.isArray(t)?n.tail(t):t,o=new n.Resolvable("",i,r);return o.get(e)},e}(),u=function(){function e(){var e=this;this._useHttp=i.version.minor<3,this.$get=["$http","$templateCache","$injector",function(t,n,r){return e.$templateRequest=r.has&&r.has("$templateRequest")&&r.get("$templateRequest"),e.$http=t,e.$templateCache=n,e}]}return e.prototype.useHttpService=function(e){this._useHttp=e},e.prototype.fromConfig=function(e,t,r){var i=function(e){return n.services.$q.when(e).then(function(e){return{template:e}})},o=function(e){return n.services.$q.when(e).then(function(e){return{component:e}})};return n.isDefined(e.template)?i(this.fromString(e.template,t)):n.isDefined(e.templateUrl)?i(this.fromUrl(e.templateUrl,t)):n.isDefined(e.templateProvider)?i(this.fromProvider(e.templateProvider,t,r)):n.isDefined(e.component)?o(e.component):n.isDefined(e.componentProvider)?o(this.fromComponentProvider(e.componentProvider,t,r)):i("<ui-view></ui-view>")},e.prototype.fromString=function(e,t){return n.isFunction(e)?e(t):e},e.prototype.fromUrl=function(e,t){return n.isFunction(e)&&(e=e(t)),null==e?null:this._useHttp?this.$http.get(e,{cache:this.$templateCache,headers:{Accept:"text/html"}}).then(function(e){return e.data}):this.$templateRequest(e)},e.prototype.fromProvider=function(e,t,r){var i=n.services.$injector.annotate(e),o=n.isArray(e)?n.tail(e):e,a=new n.Resolvable("",o,i);return a.get(r)},e.prototype.fromComponentProvider=function(e,t,r){var i=n.services.$injector.annotate(e),o=n.isArray(e)?n.tail(e):e,a=new n.Resolvable("",o,i);return a.get(r)},e.prototype.makeComponentTemplate=function(e,t,r,o){o=o||{};var a=i.version.minor>=3?"::":"",s=function(e){var t=n.kebobString(e);return/^(x|data)-/.exec(t)?"x-"+t:t},l=function(e){var t=n.services.$injector.get(e+"Directive");if(!t||!t.length)throw new Error("Unable to find component named '"+e+"'");return t.map(d).reduce(n.unnestR,[])}(r).map(function(r){var i=r.name,l=r.type,c=s(i);if(e.attr(c)&&!o[i])return c+"='"+e.attr(c)+"'";var u=o[i]||i;if("@"===l)return c+"='{{"+a+"$resolve."+u+"}}'";if("&"===l){var d=t.getResolvable(u),p=d&&d.data,f=p&&n.services.$injector.annotate(p)||[],h=n.isArray(p)?"["+(p.length-1)+"]":"";return c+"='$resolve."+u+h+"("+f.join(",")+")'"}return c+"='"+a+"$resolve."+u+"'"}).join(" "),c=s(r);return"<"+c+" "+l+"></"+c+">"},e}(),d=function(e){return n.isObject(e.bindToController)?p(e.bindToController):p(e.scope)},p=function(e){return Object.keys(e||{}).map(function(t){return[t,/^([=<@&])[?]?(.*)/.exec(e[t])]}).filter(function(e){return n.isDefined(e)&&n.isArray(e[1])}).map(function(e){return{name:e[1][2]||e[0],type:e[1][1]}})},f=function(){function e(t,r){this.stateRegistry=t,this.stateService=r,n.createProxyFunctions(n.val(e.prototype),this,n.val(this))}return e.prototype.decorator=function(e,t){return this.stateRegistry.decorator(e,t)||this},e.prototype.state=function(e,t){return n.isObject(e)?t=e:t.name=e,this.stateRegistry.register(t),this},e.prototype.onInvalid=function(e){return this.stateService.onInvalid(e)},e}(),h=function(e){return function(t,r){var i=t[e],o="onExit"===e?"from":"to";return i?function(e,t){var r=new n.ResolveContext(e.treeChanges(o)).subContext(t.$$state()),a=n.extend(P(r),{$state$:t,$transition$:e});return n.services.$injector.invoke(i,this,a)}:void 0}},g=function(){function e(e){this._urlListeners=[],this.$locationProvider=e;var t=n.val(e);n.createProxyFunctions(t,this,t,["hashPrefix"])}return e.monkeyPatchPathParameterType=function(e){var t=e.urlMatcherFactory.type("path");t.encode=function(e){return null!=e?e.toString().replace(/(~|\/)/g,function(e){return{"~":"~~","/":"~2F"}[e]}):e},t.decode=function(e){return null!=e?e.toString().replace(/(~~|~2F)/g,function(e){return{"~~":"~","~2F":"/"}[e]}):e}},e.prototype.dispose=function(){},e.prototype.onChange=function(e){var t=this;return this._urlListeners.push(e),function(){return n.removeFrom(t._urlListeners)(e)}},e.prototype.html5Mode=function(){var e=this.$locationProvider.html5Mode();return(e=n.isObject(e)?e.enabled:e)&&this.$sniffer.history},e.prototype.url=function(e,t,r){return void 0===t&&(t=!1),n.isDefined(e)&&this.$location.url(e),t&&this.$location.replace(),r&&this.$location.state(r),this.$location.url()},e.prototype._runtimeServices=function(e,t,r,i){var o=this;this.$location=t,this.$sniffer=r,e.$on("$locationChangeSuccess",function(e){return o._urlListeners.forEach(function(t){return t(e)})});var a=n.val(t),s=n.val(i);n.createProxyFunctions(a,this,a,["replace","path","search","hash"]),n.createProxyFunctions(a,this,a,["port","protocol","host"]),n.createProxyFunctions(s,this,s,["baseHref"])},e}(),m=function(){function e(e){this._router=e,this._urlRouter=e.urlRouter}return e.injectableHandler=function(e,t){return function(r){return n.services.$injector.invoke(t,null,{$match:r,$stateParams:e.globals.params})}},e.prototype.$get=function(){var e=this._urlRouter;return e.update(!0),e.interceptDeferred||e.listen(),e},e.prototype.rule=function(e){var t=this;if(!n.isFunction(e))throw new Error("'rule' must be a function");var r=new n.BaseUrlRule(function(){return e(n.services.$injector,t._router.locationService)},n.identity);return this._urlRouter.rule(r),this},e.prototype.otherwise=function(e){var t=this,r=this._urlRouter;if(n.isString(e))r.otherwise(e);else{if(!n.isFunction(e))throw new Error("'rule' must be a string or function");r.otherwise(function(){return e(n.services.$injector,t._router.locationService)})}return this},e.prototype.when=function(t,r){return(n.isArray(r)||n.isFunction(r))&&(r=e.injectableHandler(this._router,r)),this._urlRouter.when(t,r),this},e.prototype.deferIntercept=function(e){this._urlRouter.deferIntercept(e)},e}();i.module("ui.router.angular1",[]);var v=i.module("ui.router.init",["ng"]),b=i.module("ui.router.util",["ui.router.init"]),y=i.module("ui.router.router",["ui.router.util"]),x=i.module("ui.router.state",["ui.router.router","ui.router.util","ui.router.angular1"]),w=i.module("ui.router",["ui.router.init","ui.router.state","ui.router.angular1"]),k=(i.module("ui.router.compat",["ui.router"]),null);function _(e){(k=this.router=new n.UIRouter).stateProvider=new f(k.stateRegistry,k.stateService),k.stateRegistry.decorator("views",s),k.stateRegistry.decorator("onExit",h("onExit")),k.stateRegistry.decorator("onRetain",h("onRetain")),k.stateRegistry.decorator("onEnter",h("onEnter")),k.viewService._pluginapi._viewConfigFactory("ng1",o());var t=k.locationService=k.locationConfig=new g(e);function r(e,n,r,i,o,a){return t._runtimeServices(i,e,r,n),delete k.router,delete k.$get,k}return g.monkeyPatchPathParameterType(k),k.router=k,k.$get=r,r.$inject=["$location","$browser","$sniffer","$rootScope","$http","$templateCache"],k}_.$inject=["$locationProvider"];var $=function(e){return["$uiRouterProvider",function(t){var n=t.router[e];return n.$get=function(){return n},n}]};function E(e,t,r){n.services.$injector=e,n.services.$q=t,r.stateRegistry.get().map(function(e){return e.$$state().resolvables}).reduce(n.unnestR,[]).filter(function(e){return"deferred"===e.deps}).forEach(function(t){return t.deps=e.annotate(t.resolveFn,e.strictDi)})}function S(e){e.$watch(function(){n.trace.approximateDigests++})}E.$inject=["$injector","$q","$uiRouter"],S.$inject=["$rootScope"],v.provider("$uiRouter",_),y.provider("$urlRouter",["$uiRouterProvider",function(e){return e.urlRouterProvider=new m(e)}]),b.provider("$urlService",$("urlService")),b.provider("$urlMatcherFactory",["$uiRouterProvider",function(){return k.urlMatcherFactory}]),b.provider("$templateFactory",function(){return new u}),x.provider("$stateRegistry",$("stateRegistry")),x.provider("$uiRouterGlobals",$("globals")),x.provider("$transitions",$("transitionService")),x.provider("$state",["$uiRouterProvider",function(){return n.extend(k.stateProvider,{$get:function(){return k.stateService}})}]),x.factory("$stateParams",["$uiRouter",function(e){return e.globals.params}]),w.factory("$view",function(){return k.viewService}),w.service("$trace",function(){return n.trace}),w.run(S),b.run(["$urlMatcherFactory",function(e){}]),x.run(["$state",function(e){}]),y.run(["$urlRouter",function(e){}]),v.run(E);var C,T,A,O,P=function(e){var t=e.getTokens().filter(n.isString),r=t.map(function(t){var n=e.getResolvable(t),r=e.getPolicy(n).async;return[t,"NOWAIT"===r?n.promise:n.data]});return r.reduce(n.applyPairs,{})};function R(e){var t,n=e.match(/^\s*({[^}]*})\s*$/);if(n&&(e="("+n[1]+")"),!(t=e.replace(/\n/g," ").match(/^\s*([^(]*?)\s*(\((.*)\))?\s*$/))||4!==t.length)throw new Error("Invalid state ref '"+e+"'");return{state:t[1]||null,paramExpr:t[3]||null}}function j(e){var t=e.parent().inheritedData("$uiView"),r=n.parse("$cfg.path")(t);return r?n.tail(r).state.name:void 0}function D(e,t,r){var i=r.uiState||e.current.name,o=n.extend(function(e,t){return{relative:j(e)||t.$current,inherit:!0,source:"sref"}}(t,e),r.uiStateOpts||{}),a=e.href(i,r.uiStateParams,o);return{uiState:i,uiStateParams:r.uiStateParams,uiStateOpts:o,href:a}}function N(e){var t="[object SVGAnimatedString]"===Object.prototype.toString.call(e.prop("href")),n="FORM"===e[0].nodeName;return{attr:n?"action":t?"xlink:href":"href",isAnchor:"A"===e.prop("tagName").toUpperCase(),clickable:!n}}function I(e,t,n,r,i){return function(o){var a=o.which||o.button,s=i();if(!(a>1||o.ctrlKey||o.metaKey||o.shiftKey||e.attr("target"))){var l=n(function(){e.attr("disabled")||t.go(s.uiState,s.uiStateParams,s.uiStateOpts)});o.preventDefault();var c=r.isAnchor&&!s.href?1:0;o.preventDefault=function(){c--<=0&&n.cancel(l)}}}}function M(e,t,r,i){var o;i&&(o=i.events),n.isArray(o)||(o=["click"]);for(var a=e.on?"on":"bind",s=0,l=o;s<l.length;s++){var c=l[s];e[a](c,r)}t.$on("$destroy",function(){for(var t=e.off?"off":"unbind",n=0,i=o;n<i.length;n++){var a=i[n];e[t](a,r)}})}function z(e){var t=function(t,n,r){return e.is(t,n,r)};return t.$stateful=!0,t}function L(e){var t=function(t,n,r){return e.includes(t,n,r)};return t.$stateful=!0,t}function q(e,t,r,o,a,s){var l=n.parse("viewDecl.controllerAs"),c=n.parse("viewDecl.resolveAs");return{restrict:"ECA",priority:-400,compile:function(o){var s=o.html();return o.empty(),function(o,u){var d=u.data("$uiView");if(!d)return u.html(s),void e(u.contents())(o);var p=d.$cfg||{viewDecl:{},getTemplate:n.noop},f=p.path&&new n.ResolveContext(p.path);u.html(p.getTemplate(u,f)||s),n.trace.traceUIViewFill(d.$uiView,u.html());var h=e(u.contents()),g=p.controller,m=l(p),v=c(p),b=f&&P(f);if(o[v]=b,g){var y=t(g,n.extend({},b,{$scope:o,$element:u}));m&&(o[m]=y,o[m][v]=b),u.data("$ngControllerController",y),u.children().data("$ngControllerController",y),F(a,r,y,o,p)}if(n.isString(p.viewDecl.component))var x=p.viewDecl.component,w=n.kebobString(x),k=new RegExp("^(x-|data-)?"+w+"$","i"),_=o.$watch(function(){var e=[].slice.call(u[0].children).filter(function(e){return e&&e.tagName&&k.exec(e.tagName)});return e&&i.element(e).data("$"+x+"Controller")},function(e){e&&(F(a,r,e,o,p),_())});h(o)}}}}C=["$uiRouter","$timeout",function(e,t){var r=e.stateService;return{restrict:"A",require:["?^uiSrefActive","?^uiSrefActiveEq"],link:function(i,o,a,s){var l,c=N(o),u=s[1]||s[0],d=null,p={},f=function(){return D(r,o,p)},h=R(a.uiSref);function g(){var e=f();d&&d(),u&&(d=u.$$addStateInfo(e.uiState,e.uiStateParams)),null!=e.href&&a.$set(c.attr,e.href)}p.uiState=h.state,p.uiStateOpts=a.uiSrefOpts?i.$eval(a.uiSrefOpts):{},h.paramExpr&&(i.$watch(h.paramExpr,function(e){p.uiStateParams=n.extend({},e),g()},!0),p.uiStateParams=n.extend({},i.$eval(h.paramExpr))),g(),i.$on("$destroy",e.stateRegistry.onStatesChanged(g)),i.$on("$destroy",e.transitionService.onSuccess({},g)),c.clickable&&(l=I(o,r,t,c,f),M(o,i,l,p.uiStateOpts))}}}],T=["$uiRouter","$timeout",function(e,t){var r=e.stateService;return{restrict:"A",require:["?^uiSrefActive","?^uiSrefActiveEq"],link:function(i,o,a,s){var l,c=N(o),u=s[1]||s[0],d=null,p={},f=function(){return D(r,o,p)},h=["uiState","uiStateParams","uiStateOpts"],g=h.reduce(function(e,t){return e[t]=n.noop,e},{});function m(){var e=f();d&&d(),u&&(d=u.$$addStateInfo(e.uiState,e.uiStateParams)),null!=e.href&&a.$set(c.attr,e.href)}h.forEach(function(e){p[e]=a[e]?i.$eval(a[e]):null,a.$observe(e,function(t){g[e](),g[e]=i.$watch(t,function(t){p[e]=t,m()},!0)})}),m(),i.$on("$destroy",e.stateRegistry.onStatesChanged(m)),i.$on("$destroy",e.transitionService.onSuccess({},m)),c.clickable&&(l=I(o,r,t,c,f),M(o,i,l,p.uiStateOpts))}}}],A=["$state","$stateParams","$interpolate","$uiRouter",function(e,t,r,i){return{restrict:"A",controller:["$scope","$element","$attrs",function(t,o,a){var s,l,c=[];s=r(a.uiSrefActiveEq||"",!1)(t);try{l=t.$eval(a.uiSrefActive)}catch(e){}function u(e){e.promise.then(h,n.noop)}function d(){p(l)}function p(e){n.isObject(e)&&(c=[],n.forEach(e,function(e,r){var i=function(e,n){var r=R(e);f(r.state,t.$eval(r.paramExpr),n)};n.isString(e)?i(e,r):n.isArray(e)&&n.forEach(e,function(e){i(e,r)})}))}function f(t,r,i){var a=e.get(t,j(o)),s={state:a||{name:t},params:r,activeClass:i};return c.push(s),function(){n.removeFrom(c)(s)}}function h(){var r=function(e){return e.split(/\s/).filter(n.identity)},i=function(e){return e.map(function(e){return e.activeClass}).map(r).reduce(n.unnestR,[])},a=i(c).concat(r(s)).reduce(n.uniqR,[]),l=i(c.filter(function(t){return e.includes(t.state.name,t.params)})),u=!!c.filter(function(t){return e.is(t.state.name,t.params)}).length,d=u?r(s):[],p=l.concat(d).reduce(n.uniqR,[]),f=a.filter(function(e){return!n.inArray(p,e)});t.$evalAsync(function(){p.forEach(function(e){return o.addClass(e)}),f.forEach(function(e){return o.removeClass(e)})})}p(l=l||r(a.uiSrefActive||"",!1)(t)),this.$$addStateInfo=function(e,t){if(!(n.isObject(l)&&c.length>0)){var r=f(e,t,l);return h(),r}},t.$on("$destroy",function(){var e=i.stateRegistry.onStatesChanged(d),n=i.transitionService.onStart({},u),r=t.$on("$stateChangeSuccess",h);return function(){e(),n(),r()}}()),i.globals.transition&&u(i.globals.transition),h()}]}}],i.module("ui.router.state").directive("uiSref",C).directive("uiSrefActive",A).directive("uiSrefActiveEq",A).directive("uiState",T),z.$inject=["$state"],L.$inject=["$state"],i.module("ui.router.state").filter("isState",z).filter("includedByState",L),O=["$view","$animate","$uiViewScroll","$interpolate","$q",function(e,t,r,o,a){var s={$cfg:{viewDecl:{$context:e._pluginapi._rootViewContext()}},$uiView:{}},l={count:0,restrict:"ECA",terminal:!0,priority:400,transclude:"element",compile:function(u,d,p){return function(u,d,f){var h,g,m,v,b,y=f.onload||"",x=f.autoscroll,w={enter:function(e,n,r){i.version.minor>2?t.enter(e,null,n).then(r):t.enter(e,null,n,r)},leave:function(e,n){i.version.minor>2?t.leave(e).then(n):t.leave(e,n)}},k=d.inheritedData("$uiView")||s,_=o(f.uiView||f.name||"")(u)||"$default",$={$type:"ng1",id:l.count++,name:_,fqn:k.$uiView.fqn?k.$uiView.fqn+"."+_:_,config:null,configUpdated:function(e){(!e||e instanceof c)&&(function(e,t){return e===t}(v,e)||(n.trace.traceUIViewConfigUpdated($,e&&e.viewDecl&&e.viewDecl.$context),v=e,E(e)))},get creationContext(){var e=n.parse("$cfg.viewDecl.$context")(k),t=n.parse("$uiView.creationContext")(k);return e||t}};function E(e){var t=u.$new(),i=a.defer(),o=a.defer(),s={$cfg:e,$uiView:$},l={$animEnter:i.promise,$animLeave:o.promise,$$animLeave:o};t.$emit("$viewContentLoading",_);var c=p(t,function(e){e.data("$uiViewAnim",l),e.data("$uiView",s),w.enter(e,d,function(){i.resolve(),m&&m.$emit("$viewContentAnimationEnded"),(n.isDefined(x)&&!x||u.$eval(x))&&r(e)}),function(){if(h&&(n.trace.traceUIViewEvent("Removing (previous) el",h.data("$uiView")),h.remove(),h=null),m&&(n.trace.traceUIViewEvent("Destroying scope",$),m.$destroy(),m=null),g){var e=g.data("$uiViewAnim");n.trace.traceUIViewEvent("Animate out",e),w.leave(g,function(){e.$$animLeave.resolve(),h=null}),h=g,g=null}}()});g=c,(m=t).$emit("$viewContentLoaded",e||v),m.$eval(y)}n.trace.traceUIViewEvent("Linking",$),d.data("$uiView",{$uiView:$}),E(),b=e.registerUIView($),u.$on("$destroy",function(){n.trace.traceUIViewEvent("Destroying/Unregistering",$),b()})}}};return l}],q.$inject=["$compile","$controller","$transitions","$view","$q","$timeout"];var B="function"==typeof i.module("ui.router").component,V=0;function F(e,t,r,i,o){!n.isFunction(r.$onInit)||o.viewDecl.component&&B||r.$onInit();var a=n.tail(o.path).state.self,s={bind:r};if(n.isFunction(r.uiOnParamsChanged)){var l=new n.ResolveContext(o.path),c=l.getResolvable("$transition$").data;i.$on("$destroy",t.onSuccess({},function(e){if(e!==c&&-1===e.exiting().indexOf(a)){var t=e.params("to"),i=e.params("from"),o=function(e){return e.paramSchema},s=e.treeChanges("to").map(o).reduce(n.unnestR,[]),l=e.treeChanges("from").map(o).reduce(n.unnestR,[]),u=s.filter(function(e){var n=l.indexOf(e);return-1===n||!l[n].type.equals(t[e.id],i[e.id])});if(u.length){var d=u.map(function(e){return e.id}),p=n.filter(t,function(e,t){return-1!==d.indexOf(t)});r.uiOnParamsChanged(p,e)}}},s))}if(n.isFunction(r.uiCanExit)){var u=V++,d=function(e){return!!e&&(e._uiCanExitIds&&!0===e._uiCanExitIds[u]||d(e.redirectedFrom()))},p={exiting:a.name};i.$on("$destroy",t.onBefore(p,function(t){var n,i=t._uiCanExitIds=t._uiCanExitIds||{};return d(t)||(n=e.when(r.uiCanExit(t))).then(function(e){return i[u]=!1!==e}),n},s))}}i.module("ui.router.state").directive("uiView",O),i.module("ui.router.state").directive("uiView",q),i.module("ui.router.state").provider("$uiViewScroll",function(){var e=!1;this.useAnchorScroll=function(){e=!0},this.$get=["$anchorScroll","$timeout",function(t,n){return e?t:function(e){return n(function(){e[0].scrollIntoView()},0,!1)}}]}),Object.keys(n).forEach(function(t){e[t]=n[t]}),e.core=n,e.default="ui.router",e.watchDigests=S,e.getLocals=P,e.getNg1ViewConfigFactory=o,e.ng1ViewsBuilder=s,e.Ng1ViewConfig=c,e.StateProvider=f,e.UrlRouterProvider=m,Object.defineProperty(e,"__esModule",{value:!0})}(t,n(4),n(213))},function(e,t){!function(e){"use strict";var t=function(e,t){this.init("popover",e,t)};if(!e.fn.tooltip)throw new Error("Popover requires tooltip.js");t.VERSION="3.3.7",t.DEFAULTS=e.extend({},e.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}),t.prototype=e.extend({},e.fn.tooltip.Constructor.prototype),t.prototype.constructor=t,t.prototype.getDefaults=function(){return t.DEFAULTS},t.prototype.setContent=function(){var e=this.tip(),t=this.getTitle(),n=this.getContent();e.find(".popover-title")[this.options.html?"html":"text"](t),e.find(".popover-content").children().detach().end()[this.options.html?"string"==typeof n?"html":"append":"text"](n),e.removeClass("fade top bottom left right in"),e.find(".popover-title").html()||e.find(".popover-title").hide()},t.prototype.hasContent=function(){return this.getTitle()||this.getContent()},t.prototype.getContent=function(){var e=this.$element,t=this.options;return e.attr("data-content")||("function"==typeof t.content?t.content.call(e[0]):t.content)},t.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};var n=e.fn.popover;e.fn.popover=function(n){return this.each(function(){var r=e(this),i=r.data("bs.popover"),o="object"==typeof n&&n;!i&&/destroy|hide/.test(n)||(i||r.data("bs.popover",i=new t(this,o)),"string"==typeof n&&i[n]())})},e.fn.popover.Constructor=t,e.fn.popover.noConflict=function(){return e.fn.popover=n,this}}(jQuery)},function(e,t){!function(e){"use strict";var t=function(e,t){this.type=null,this.options=null,this.enabled=null,this.timeout=null,this.hoverState=null,this.$element=null,this.inState=null,this.init("tooltip",e,t)};t.VERSION="3.3.7",t.TRANSITION_DURATION=150,t.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}},t.prototype.init=function(t,n,r){if(this.enabled=!0,this.type=t,this.$element=e(n),this.options=this.getOptions(r),this.$viewport=this.options.viewport&&e(e.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var i=this.options.trigger.split(" "),o=i.length;o--;){var a=i[o];if("click"==a)this.$element.on("click."+this.type,this.options.selector,e.proxy(this.toggle,this));else if("manual"!=a){var s="hover"==a?"mouseenter":"focusin",l="hover"==a?"mouseleave":"focusout";this.$element.on(s+"."+this.type,this.options.selector,e.proxy(this.enter,this)),this.$element.on(l+"."+this.type,this.options.selector,e.proxy(this.leave,this))}}this.options.selector?this._options=e.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},t.prototype.getDefaults=function(){return t.DEFAULTS},t.prototype.getOptions=function(t){return(t=e.extend({},this.getDefaults(),this.$element.data(),t)).delay&&"number"==typeof t.delay&&(t.delay={show:t.delay,hide:t.delay}),t},t.prototype.getDelegateOptions=function(){var t={},n=this.getDefaults();return this._options&&e.each(this._options,function(e,r){n[e]!=r&&(t[e]=r)}),t},t.prototype.enter=function(t){var n=t instanceof this.constructor?t:e(t.currentTarget).data("bs."+this.type);if(n||(n=new this.constructor(t.currentTarget,this.getDelegateOptions()),e(t.currentTarget).data("bs."+this.type,n)),t instanceof e.Event&&(n.inState["focusin"==t.type?"focus":"hover"]=!0),n.tip().hasClass("in")||"in"==n.hoverState)n.hoverState="in";else{if(clearTimeout(n.timeout),n.hoverState="in",!n.options.delay||!n.options.delay.show)return n.show();n.timeout=setTimeout(function(){"in"==n.hoverState&&n.show()},n.options.delay.show)}},t.prototype.isInStateTrue=function(){for(var e in this.inState)if(this.inState[e])return!0;return!1},t.prototype.leave=function(t){var n=t instanceof this.constructor?t:e(t.currentTarget).data("bs."+this.type);if(n||(n=new this.constructor(t.currentTarget,this.getDelegateOptions()),e(t.currentTarget).data("bs."+this.type,n)),t instanceof e.Event&&(n.inState["focusout"==t.type?"focus":"hover"]=!1),!n.isInStateTrue()){if(clearTimeout(n.timeout),n.hoverState="out",!n.options.delay||!n.options.delay.hide)return n.hide();n.timeout=setTimeout(function(){"out"==n.hoverState&&n.hide()},n.options.delay.hide)}},t.prototype.show=function(){var n=e.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(n);var r=e.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(n.isDefaultPrevented()||!r)return;var i=this,o=this.tip(),a=this.getUID(this.type);this.setContent(),o.attr("id",a),this.$element.attr("aria-describedby",a),this.options.animation&&o.addClass("fade");var s="function"==typeof this.options.placement?this.options.placement.call(this,o[0],this.$element[0]):this.options.placement,l=/\s?auto?\s?/i,c=l.test(s);c&&(s=s.replace(l,"")||"top"),o.detach().css({top:0,left:0,display:"block"}).addClass(s).data("bs."+this.type,this),this.options.container?o.appendTo(this.options.container):o.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var u=this.getPosition(),d=o[0].offsetWidth,p=o[0].offsetHeight;if(c){var f=s,h=this.getPosition(this.$viewport);s="bottom"==s&&u.bottom+p>h.bottom?"top":"top"==s&&u.top-p<h.top?"bottom":"right"==s&&u.right+d>h.width?"left":"left"==s&&u.left-d<h.left?"right":s,o.removeClass(f).addClass(s)}var g=this.getCalculatedOffset(s,u,d,p);this.applyPlacement(g,s);var m=function(){var e=i.hoverState;i.$element.trigger("shown.bs."+i.type),i.hoverState=null,"out"==e&&i.leave(i)};e.support.transition&&this.$tip.hasClass("fade")?o.one("bsTransitionEnd",m).emulateTransitionEnd(t.TRANSITION_DURATION):m()}},t.prototype.applyPlacement=function(t,n){var r=this.tip(),i=r[0].offsetWidth,o=r[0].offsetHeight,a=parseInt(r.css("margin-top"),10),s=parseInt(r.css("margin-left"),10);isNaN(a)&&(a=0),isNaN(s)&&(s=0),t.top+=a,t.left+=s,e.offset.setOffset(r[0],e.extend({using:function(e){r.css({top:Math.round(e.top),left:Math.round(e.left)})}},t),0),r.addClass("in");var l=r[0].offsetWidth,c=r[0].offsetHeight;"top"==n&&c!=o&&(t.top=t.top+o-c);var u=this.getViewportAdjustedDelta(n,t,l,c);u.left?t.left+=u.left:t.top+=u.top;var d=/top|bottom/.test(n),p=d?2*u.left-i+l:2*u.top-o+c,f=d?"offsetWidth":"offsetHeight";r.offset(t),this.replaceArrow(p,r[0][f],d)},t.prototype.replaceArrow=function(e,t,n){this.arrow().css(n?"left":"top",50*(1-e/t)+"%").css(n?"top":"left","")},t.prototype.setContent=function(){var e=this.tip(),t=this.getTitle();e.find(".tooltip-inner")[this.options.html?"html":"text"](t),e.removeClass("fade in top bottom left right")},t.prototype.hide=function(n){var r=this,i=e(this.$tip),o=e.Event("hide.bs."+this.type);function a(){"in"!=r.hoverState&&i.detach(),r.$element&&r.$element.removeAttr("aria-describedby").trigger("hidden.bs."+r.type),n&&n()}if(this.$element.trigger(o),!o.isDefaultPrevented())return i.removeClass("in"),e.support.transition&&i.hasClass("fade")?i.one("bsTransitionEnd",a).emulateTransitionEnd(t.TRANSITION_DURATION):a(),this.hoverState=null,this},t.prototype.fixTitle=function(){var e=this.$element;(e.attr("title")||"string"!=typeof e.attr("data-original-title"))&&e.attr("data-original-title",e.attr("title")||"").attr("title","")},t.prototype.hasContent=function(){return this.getTitle()},t.prototype.getPosition=function(t){var n=(t=t||this.$element)[0],r="BODY"==n.tagName,i=n.getBoundingClientRect();null==i.width&&(i=e.extend({},i,{width:i.right-i.left,height:i.bottom-i.top}));var o=window.SVGElement&&n instanceof window.SVGElement,a=r?{top:0,left:0}:o?null:t.offset(),s={scroll:r?document.documentElement.scrollTop||document.body.scrollTop:t.scrollTop()},l=r?{width:e(window).width(),height:e(window).height()}:null;return e.extend({},i,s,l,a)},t.prototype.getCalculatedOffset=function(e,t,n,r){return"bottom"==e?{top:t.top+t.height,left:t.left+t.width/2-n/2}:"top"==e?{top:t.top-r,left:t.left+t.width/2-n/2}:"left"==e?{top:t.top+t.height/2-r/2,left:t.left-n}:{top:t.top+t.height/2-r/2,left:t.left+t.width}},t.prototype.getViewportAdjustedDelta=function(e,t,n,r){var i={top:0,left:0};if(!this.$viewport)return i;var o=this.options.viewport&&this.options.viewport.padding||0,a=this.getPosition(this.$viewport);if(/right|left/.test(e)){var s=t.top-o-a.scroll,l=t.top+o-a.scroll+r;s<a.top?i.top=a.top-s:l>a.top+a.height&&(i.top=a.top+a.height-l)}else{var c=t.left-o,u=t.left+o+n;c<a.left?i.left=a.left-c:u>a.right&&(i.left=a.left+a.width-u)}return i},t.prototype.getTitle=function(){var e=this.$element,t=this.options;return e.attr("data-original-title")||("function"==typeof t.title?t.title.call(e[0]):t.title)},t.prototype.getUID=function(e){do{e+=~~(1e6*Math.random())}while(document.getElementById(e));return e},t.prototype.tip=function(){if(!this.$tip&&(this.$tip=e(this.options.template),1!=this.$tip.length))throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!");return this.$tip},t.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},t.prototype.enable=function(){this.enabled=!0},t.prototype.disable=function(){this.enabled=!1},t.prototype.toggleEnabled=function(){this.enabled=!this.enabled},t.prototype.toggle=function(t){var n=this;t&&((n=e(t.currentTarget).data("bs."+this.type))||(n=new this.constructor(t.currentTarget,this.getDelegateOptions()),e(t.currentTarget).data("bs."+this.type,n))),t?(n.inState.click=!n.inState.click,n.isInStateTrue()?n.enter(n):n.leave(n)):n.tip().hasClass("in")?n.leave(n):n.enter(n)},t.prototype.destroy=function(){var e=this;clearTimeout(this.timeout),this.hide(function(){e.$element.off("."+e.type).removeData("bs."+e.type),e.$tip&&e.$tip.detach(),e.$tip=null,e.$arrow=null,e.$viewport=null,e.$element=null})};var n=e.fn.tooltip;e.fn.tooltip=function(n){return this.each(function(){var r=e(this),i=r.data("bs.tooltip"),o="object"==typeof n&&n;!i&&/destroy|hide/.test(n)||(i||r.data("bs.tooltip",i=new t(this,o)),"string"==typeof n&&i[n]())})},e.fn.tooltip.Constructor=t,e.fn.tooltip.noConflict=function(){return e.fn.tooltip=n,this}}(jQuery)},function(e,t){e.exports=function(e){var t="undefined"!=typeof window&&window.location;if(!t)throw new Error("fixUrls requires window.location");if(!e||"string"!=typeof e)return e;var n=t.protocol+"//"+t.host,r=n+t.pathname.replace(/\/[^\/]*$/,"/");return e.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,function(e,t){var i,o=t.trim().replace(/^"(.*)"$/,function(e,t){return t}).replace(/^'(.*)'$/,function(e,t){return t});return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(o)?e:(i=0===o.indexOf("//")?o:0===o.indexOf("/")?n+o:r+o.replace(/^\.\//,""),"url("+JSON.stringify(i)+")")})}},function(e,t){e.exports="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10' width='10' height='10'%3E%3Cpolyline points='1.5 3.5 5 7 8.5 3.5' stroke='currentColor' stroke-width='2' fill='transparent' stroke-linecap='round' stroke-linejoin='round' opacity='.5' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E"},function(e,t,n){e.exports=n.p+"fonts/entypo.woff"},function(e,t,n){e.exports=n.p+"fonts/arrows.woff"},function(e,t){e.exports=function(e){return"string"!=typeof e?e:(/^['"].*['"]$/.test(e)&&(e=e.slice(1,-1)),/["'() \t\n]/.test(e)?'"'+e.replace(/"/g,'\\"').replace(/\n/g,"\\n")+'"':e)}},function(e,t,n){var r=n(221);(e.exports=n(22)(!1)).push([e.i,'@media (max-width: 960px){[data-large]{display:none !important}}@media (min-width: 961px){[data-small]{display:none !important}}@media screen{[data-print]{display:none !important}}@media print{[data-screen]{display:none !important}}html.touchevents [data-click]{display:none !important}html.no-touchevents [data-touch]{display:none !important}/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}dfn{font-style:italic}h1{font-size:2em;margin:0.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace, monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type="checkbox"],input[type="radio"]{box-sizing:border-box;padding:0}input[type="number"]::-webkit-inner-spin-button,input[type="number"]::-webkit-outer-spin-button{height:auto}input[type="search"]{-webkit-appearance:textfield;box-sizing:content-box}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid #c0c0c0;margin:0 2px;padding:0.35em 0.625em 0.75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:bold}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}*:before,*:after{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}html{font-size:10px;-webkit-tap-highlight-color:transparent}body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Fira Sans","Droid Sans","Helvetica Neue",Helvetica,Arial,sans-serif;font-size:1rem;line-height:1.6;color:#5e666c;background-color:#f9fafb}input,button,select,textarea{font-family:inherit;font-size:inherit;line-height:inherit}a{color:#0bb;text-decoration:none}a:hover,a:focus{color:#009595;text-decoration:none}a:focus{outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}figure{margin:0}img{vertical-align:middle}.img-responsive{display:block;max-width:100%;height:auto}.img-rounded{border-radius:4px}.img-thumbnail{padding:0;line-height:1.6;background-color:#fff;border:1px solid transparent;border-radius:4px;-webkit-transition:all 0.2s ease-in-out;-o-transition:all 0.2s ease-in-out;transition:all 0.2s ease-in-out;display:inline-block;max-width:100%;height:auto}.img-circle{border-radius:50%}hr{margin-top:1.6rem;margin-bottom:1.6rem;border:0;border-top:1px solid rgba(0,30,60,0.075)}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto}[role="button"]{cursor:pointer}h1,h2,h3,h4,h5,h6,.h1,.h2,.h3,.h4,.h5,.h6{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Fira Sans","Droid Sans","Helvetica Neue",Helvetica,Arial,sans-serif;font-weight:normal;line-height:false;color:#313539}h1 small,h1 .small,h2 small,h2 .small,h3 small,h3 .small,h4 small,h4 .small,h5 small,h5 .small,h6 small,h6 .small,.h1 small,.h1 .small,.h2 small,.h2 .small,.h3 small,.h3 .small,.h4 small,.h4 .small,.h5 small,.h5 .small,.h6 small,.h6 .small{font-weight:normal;line-height:1;color:#8b969e}h1,.h1,h2,.h2,h3,.h3{margin-top:1.6rem;margin-bottom:.8rem}h1 small,h1 .small,.h1 small,.h1 .small,h2 small,h2 .small,.h2 small,.h2 .small,h3 small,h3 .small,.h3 small,.h3 .small{font-size:65%}h4,.h4,h5,.h5,h6,.h6{margin-top:.8rem;margin-bottom:.8rem}h4 small,h4 .small,.h4 small,.h4 .small,h5 small,h5 .small,.h5 small,.h5 .small,h6 small,h6 .small,.h6 small,.h6 .small{font-size:75%}h1,.h1{font-size:1.7142857143rem}h2,.h2{font-size:1.7142857143rem}h3,.h3{font-size:1.2857142857rem}h4,.h4{font-size:1.1428571429rem}h5,.h5{font-size:1rem}h6,.h6{font-size:1rem}p{margin:0 0 .8rem}.lead{margin-bottom:1.6rem;font-size:1rem;font-weight:300;line-height:1.4}@media (min-width: 540px){.lead{font-size:1.5rem}}small,.small{font-size:92%}mark,.mark{background-color:#fff6ec;padding:.2em}.text-left{text-align:left}.text-right{text-align:right}.text-center{text-align:center}.text-justify{text-align:justify}.text-nowrap{white-space:nowrap}.text-lowercase{text-transform:lowercase}.text-uppercase,.initialism{text-transform:uppercase}.text-capitalize{text-transform:capitalize}.text-muted{color:#8b969e}.text-primary{color:#0bb}a.text-primary:hover,a.text-primary:focus{color:#088}.text-success{color:#48a71c}a.text-success:hover,a.text-success:focus{color:#357b15}.text-info{color:#0aa}a.text-info:hover,a.text-info:focus{color:#077}.text-warning{color:#ff6316}a.text-warning:hover,a.text-warning:focus{color:#e24b00}.text-danger{color:#ff694b}a.text-danger:hover,a.text-danger:focus{color:#ff3f18}.bg-primary{color:#fff}.bg-primary{background-color:#0bb}a.bg-primary:hover,a.bg-primary:focus{background-color:#088}.bg-success{background-color:#f3faec}a.bg-success:hover,a.bg-success:focus{background-color:#daefc4}.bg-info{background-color:#edfafa}a.bg-info:hover,a.bg-info:focus{background-color:#c5efef}.bg-warning{background-color:#fff6ec}a.bg-warning:hover,a.bg-warning:focus{background-color:#ffdeb9}.bg-danger{background-color:#fff5f4}a.bg-danger:hover,a.bg-danger:focus{background-color:#ffc7c1}.page-header{padding-bottom:-.2rem;margin:3.2rem 0 1.6rem;border-bottom:1px solid #f7f7f8}ul,ol{margin-top:0;margin-bottom:.8rem}ul ul,ul ol,ol ul,ol ol{margin-bottom:0}.list-unstyled{padding-left:0;list-style:none}.list-inline{padding-left:0;list-style:none;margin-left:-5px}.list-inline>li{display:inline-block;padding-left:5px;padding-right:5px}dl{margin-top:0;margin-bottom:1.6rem}dt,dd{line-height:1.6}dt{font-weight:bold}dd{margin-left:0}.dl-horizontal dd:before,.dl-horizontal dd:after{content:" ";display:table}.dl-horizontal dd:after{clear:both}@media (min-width: 260px){.dl-horizontal dt{float:left;width:160px;clear:left;text-align:right;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dl-horizontal dd{margin-left:180px}}abbr[title],abbr[data-original-title]{cursor:help;border-bottom:1px dotted rgba(0,30,60,0.075)}.initialism{font-size:90%}blockquote{padding:.8rem 1.6rem;margin:0 0 1.6rem;font-size:1rem;border-left:5px solid transparent}blockquote p:last-child,blockquote ul:last-child,blockquote ol:last-child{margin-bottom:0}blockquote footer,blockquote small,blockquote .small{display:block;font-size:80%;line-height:1.6;color:#8b969e}blockquote footer:before,blockquote small:before,blockquote .small:before{content:\'\\2014   \\A0\'}.blockquote-reverse,blockquote.pull-right{padding-right:15px;padding-left:0;border-right:5px solid transparent;border-left:0;text-align:right}.blockquote-reverse footer:before,.blockquote-reverse small:before,.blockquote-reverse .small:before,blockquote.pull-right footer:before,blockquote.pull-right small:before,blockquote.pull-right .small:before{content:\'\'}.blockquote-reverse footer:after,.blockquote-reverse small:after,.blockquote-reverse .small:after,blockquote.pull-right footer:after,blockquote.pull-right small:after,blockquote.pull-right .small:after{content:\'\\A0   \\2014\'}address{margin-bottom:1.6rem;font-style:normal;line-height:1.6}code,kbd,pre,samp{font-family:"Monaco",monospace}code{padding:2px 4px;font-size:90%;color:#313539;background-color:transparent;border-radius:4px}kbd{padding:2px 4px;font-size:90%;color:#313539;background-color:transparent;border-radius:4px;box-shadow:inset 0 -1px 0 rgba(0,0,0,0.25)}kbd kbd{padding:0;font-size:100%;font-weight:bold;box-shadow:none}pre{display:block;padding:.3rem;margin:0 0 .8rem;font-size:0rem;line-height:1.6;word-break:break-all;word-wrap:break-word;color:#fff;background-color:#005e7a;border:1px solid transparent;border-radius:4px}pre code{padding:0;font-size:inherit;color:inherit;white-space:pre-wrap;background-color:transparent;border-radius:0}.pre-scrollable{max-height:340px;overflow-y:scroll}.container{margin-right:auto;margin-left:auto;padding-left:30px;padding-right:30px}.container:before,.container:after{content:" ";display:table}.container:after{clear:both}@media (min-width: 540px){.container{width:780px}}@media (min-width: 768px){.container{width:1000px}}@media (min-width: 960px){.container{width:1200px}}.container-fluid{margin-right:auto;margin-left:auto;padding-left:30px;padding-right:30px}.container-fluid:before,.container-fluid:after{content:" ";display:table}.container-fluid:after{clear:both}.row{margin-left:-30px;margin-right:-30px}.row:before,.row:after{content:" ";display:table}.row:after{clear:both}.col-xs-1,.col-sm-1,.col-md-1,.col-lg-1,.col-xs-2,.col-sm-2,.col-md-2,.col-lg-2,.col-xs-3,.col-sm-3,.col-md-3,.col-lg-3,.col-xs-4,.col-sm-4,.col-md-4,.col-lg-4,.col-xs-5,.col-sm-5,.col-md-5,.col-lg-5,.col-xs-6,.col-sm-6,.col-md-6,.col-lg-6,.col-xs-7,.col-sm-7,.col-md-7,.col-lg-7,.col-xs-8,.col-sm-8,.col-md-8,.col-lg-8,.col-xs-9,.col-sm-9,.col-md-9,.col-lg-9,.col-xs-10,.col-sm-10,.col-md-10,.col-lg-10,.col-xs-11,.col-sm-11,.col-md-11,.col-lg-11,.col-xs-12,.col-sm-12,.col-md-12,.col-lg-12{position:relative;min-height:1px;padding-left:30px;padding-right:30px}.col-xs-1,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9,.col-xs-10,.col-xs-11,.col-xs-12{float:left}.col-xs-1{width:8.3333333333%}.col-xs-2{width:16.6666666667%}.col-xs-3{width:25%}.col-xs-4{width:33.3333333333%}.col-xs-5{width:41.6666666667%}.col-xs-6{width:50%}.col-xs-7{width:58.3333333333%}.col-xs-8{width:66.6666666667%}.col-xs-9{width:75%}.col-xs-10{width:83.3333333333%}.col-xs-11{width:91.6666666667%}.col-xs-12{width:100%}.col-xs-pull-0{right:auto}.col-xs-pull-1{right:8.3333333333%}.col-xs-pull-2{right:16.6666666667%}.col-xs-pull-3{right:25%}.col-xs-pull-4{right:33.3333333333%}.col-xs-pull-5{right:41.6666666667%}.col-xs-pull-6{right:50%}.col-xs-pull-7{right:58.3333333333%}.col-xs-pull-8{right:66.6666666667%}.col-xs-pull-9{right:75%}.col-xs-pull-10{right:83.3333333333%}.col-xs-pull-11{right:91.6666666667%}.col-xs-pull-12{right:100%}.col-xs-push-0{left:auto}.col-xs-push-1{left:8.3333333333%}.col-xs-push-2{left:16.6666666667%}.col-xs-push-3{left:25%}.col-xs-push-4{left:33.3333333333%}.col-xs-push-5{left:41.6666666667%}.col-xs-push-6{left:50%}.col-xs-push-7{left:58.3333333333%}.col-xs-push-8{left:66.6666666667%}.col-xs-push-9{left:75%}.col-xs-push-10{left:83.3333333333%}.col-xs-push-11{left:91.6666666667%}.col-xs-push-12{left:100%}.col-xs-offset-0{margin-left:0%}.col-xs-offset-1{margin-left:8.3333333333%}.col-xs-offset-2{margin-left:16.6666666667%}.col-xs-offset-3{margin-left:25%}.col-xs-offset-4{margin-left:33.3333333333%}.col-xs-offset-5{margin-left:41.6666666667%}.col-xs-offset-6{margin-left:50%}.col-xs-offset-7{margin-left:58.3333333333%}.col-xs-offset-8{margin-left:66.6666666667%}.col-xs-offset-9{margin-left:75%}.col-xs-offset-10{margin-left:83.3333333333%}.col-xs-offset-11{margin-left:91.6666666667%}.col-xs-offset-12{margin-left:100%}@media (min-width: 540px){.col-sm-1,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11,.col-sm-12{float:left}.col-sm-1{width:8.3333333333%}.col-sm-2{width:16.6666666667%}.col-sm-3{width:25%}.col-sm-4{width:33.3333333333%}.col-sm-5{width:41.6666666667%}.col-sm-6{width:50%}.col-sm-7{width:58.3333333333%}.col-sm-8{width:66.6666666667%}.col-sm-9{width:75%}.col-sm-10{width:83.3333333333%}.col-sm-11{width:91.6666666667%}.col-sm-12{width:100%}.col-sm-pull-0{right:auto}.col-sm-pull-1{right:8.3333333333%}.col-sm-pull-2{right:16.6666666667%}.col-sm-pull-3{right:25%}.col-sm-pull-4{right:33.3333333333%}.col-sm-pull-5{right:41.6666666667%}.col-sm-pull-6{right:50%}.col-sm-pull-7{right:58.3333333333%}.col-sm-pull-8{right:66.6666666667%}.col-sm-pull-9{right:75%}.col-sm-pull-10{right:83.3333333333%}.col-sm-pull-11{right:91.6666666667%}.col-sm-pull-12{right:100%}.col-sm-push-0{left:auto}.col-sm-push-1{left:8.3333333333%}.col-sm-push-2{left:16.6666666667%}.col-sm-push-3{left:25%}.col-sm-push-4{left:33.3333333333%}.col-sm-push-5{left:41.6666666667%}.col-sm-push-6{left:50%}.col-sm-push-7{left:58.3333333333%}.col-sm-push-8{left:66.6666666667%}.col-sm-push-9{left:75%}.col-sm-push-10{left:83.3333333333%}.col-sm-push-11{left:91.6666666667%}.col-sm-push-12{left:100%}.col-sm-offset-0{margin-left:0%}.col-sm-offset-1{margin-left:8.3333333333%}.col-sm-offset-2{margin-left:16.6666666667%}.col-sm-offset-3{margin-left:25%}.col-sm-offset-4{margin-left:33.3333333333%}.col-sm-offset-5{margin-left:41.6666666667%}.col-sm-offset-6{margin-left:50%}.col-sm-offset-7{margin-left:58.3333333333%}.col-sm-offset-8{margin-left:66.6666666667%}.col-sm-offset-9{margin-left:75%}.col-sm-offset-10{margin-left:83.3333333333%}.col-sm-offset-11{margin-left:91.6666666667%}.col-sm-offset-12{margin-left:100%}}@media (min-width: 768px){.col-md-1,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11,.col-md-12{float:left}.col-md-1{width:8.3333333333%}.col-md-2{width:16.6666666667%}.col-md-3{width:25%}.col-md-4{width:33.3333333333%}.col-md-5{width:41.6666666667%}.col-md-6{width:50%}.col-md-7{width:58.3333333333%}.col-md-8{width:66.6666666667%}.col-md-9{width:75%}.col-md-10{width:83.3333333333%}.col-md-11{width:91.6666666667%}.col-md-12{width:100%}.col-md-pull-0{right:auto}.col-md-pull-1{right:8.3333333333%}.col-md-pull-2{right:16.6666666667%}.col-md-pull-3{right:25%}.col-md-pull-4{right:33.3333333333%}.col-md-pull-5{right:41.6666666667%}.col-md-pull-6{right:50%}.col-md-pull-7{right:58.3333333333%}.col-md-pull-8{right:66.6666666667%}.col-md-pull-9{right:75%}.col-md-pull-10{right:83.3333333333%}.col-md-pull-11{right:91.6666666667%}.col-md-pull-12{right:100%}.col-md-push-0{left:auto}.col-md-push-1{left:8.3333333333%}.col-md-push-2{left:16.6666666667%}.col-md-push-3{left:25%}.col-md-push-4{left:33.3333333333%}.col-md-push-5{left:41.6666666667%}.col-md-push-6{left:50%}.col-md-push-7{left:58.3333333333%}.col-md-push-8{left:66.6666666667%}.col-md-push-9{left:75%}.col-md-push-10{left:83.3333333333%}.col-md-push-11{left:91.6666666667%}.col-md-push-12{left:100%}.col-md-offset-0{margin-left:0%}.col-md-offset-1{margin-left:8.3333333333%}.col-md-offset-2{margin-left:16.6666666667%}.col-md-offset-3{margin-left:25%}.col-md-offset-4{margin-left:33.3333333333%}.col-md-offset-5{margin-left:41.6666666667%}.col-md-offset-6{margin-left:50%}.col-md-offset-7{margin-left:58.3333333333%}.col-md-offset-8{margin-left:66.6666666667%}.col-md-offset-9{margin-left:75%}.col-md-offset-10{margin-left:83.3333333333%}.col-md-offset-11{margin-left:91.6666666667%}.col-md-offset-12{margin-left:100%}}@media (min-width: 960px){.col-lg-1,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-10,.col-lg-11,.col-lg-12{float:left}.col-lg-1{width:8.3333333333%}.col-lg-2{width:16.6666666667%}.col-lg-3{width:25%}.col-lg-4{width:33.3333333333%}.col-lg-5{width:41.6666666667%}.col-lg-6{width:50%}.col-lg-7{width:58.3333333333%}.col-lg-8{width:66.6666666667%}.col-lg-9{width:75%}.col-lg-10{width:83.3333333333%}.col-lg-11{width:91.6666666667%}.col-lg-12{width:100%}.col-lg-pull-0{right:auto}.col-lg-pull-1{right:8.3333333333%}.col-lg-pull-2{right:16.6666666667%}.col-lg-pull-3{right:25%}.col-lg-pull-4{right:33.3333333333%}.col-lg-pull-5{right:41.6666666667%}.col-lg-pull-6{right:50%}.col-lg-pull-7{right:58.3333333333%}.col-lg-pull-8{right:66.6666666667%}.col-lg-pull-9{right:75%}.col-lg-pull-10{right:83.3333333333%}.col-lg-pull-11{right:91.6666666667%}.col-lg-pull-12{right:100%}.col-lg-push-0{left:auto}.col-lg-push-1{left:8.3333333333%}.col-lg-push-2{left:16.6666666667%}.col-lg-push-3{left:25%}.col-lg-push-4{left:33.3333333333%}.col-lg-push-5{left:41.6666666667%}.col-lg-push-6{left:50%}.col-lg-push-7{left:58.3333333333%}.col-lg-push-8{left:66.6666666667%}.col-lg-push-9{left:75%}.col-lg-push-10{left:83.3333333333%}.col-lg-push-11{left:91.6666666667%}.col-lg-push-12{left:100%}.col-lg-offset-0{margin-left:0%}.col-lg-offset-1{margin-left:8.3333333333%}.col-lg-offset-2{margin-left:16.6666666667%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-4{margin-left:33.3333333333%}.col-lg-offset-5{margin-left:41.6666666667%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-7{margin-left:58.3333333333%}.col-lg-offset-8{margin-left:66.6666666667%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-10{margin-left:83.3333333333%}.col-lg-offset-11{margin-left:91.6666666667%}.col-lg-offset-12{margin-left:100%}}table{background-color:transparent}caption{padding-top:.6785714286rem 1.25rem;padding-bottom:.6785714286rem 1.25rem;color:#8b969e;text-align:left}th{text-align:left}.table{width:100%;max-width:100%;margin-bottom:1.6rem}.table>thead>tr>th,.table>thead>tr>td,.table>tbody>tr>th,.table>tbody>tr>td,.table>tfoot>tr>th,.table>tfoot>tr>td{padding:.6785714286rem 1.25rem;line-height:1.6;vertical-align:top;border-top:1px solid rgba(0,30,60,0.075)}.table>thead>tr>th{vertical-align:bottom;border-bottom:2px solid rgba(0,30,60,0.075)}.table>caption+thead>tr:first-child>th,.table>caption+thead>tr:first-child>td,.table>colgroup+thead>tr:first-child>th,.table>colgroup+thead>tr:first-child>td,.table>thead:first-child>tr:first-child>th,.table>thead:first-child>tr:first-child>td{border-top:0}.table>tbody+tbody{border-top:2px solid rgba(0,30,60,0.075)}.table .table{background-color:#f9fafb}.table-condensed>thead>tr>th,.table-condensed>thead>tr>td,.table-condensed>tbody>tr>th,.table-condensed>tbody>tr>td,.table-condensed>tfoot>tr>th,.table-condensed>tfoot>tr>td{padding:.4464285714rem .875rem}.table-bordered{border:1px solid rgba(0,30,60,0.075)}.table-bordered>thead>tr>th,.table-bordered>thead>tr>td,.table-bordered>tbody>tr>th,.table-bordered>tbody>tr>td,.table-bordered>tfoot>tr>th,.table-bordered>tfoot>tr>td{border:1px solid rgba(0,30,60,0.075)}.table-bordered>thead>tr>th,.table-bordered>thead>tr>td{border-bottom-width:2px}.table-striped>tbody>tr:nth-of-type(odd){background-color:#f9fafb}.table-hover>tbody>tr:hover{background-color:#f9fafb}table col[class*="col-"]{position:static;float:none;display:table-column}table td[class*="col-"],table th[class*="col-"]{position:static;float:none;display:table-cell}.table>thead>tr>td.active,.table>thead>tr>th.active,.table>thead>tr.active>td,.table>thead>tr.active>th,.table>tbody>tr>td.active,.table>tbody>tr>th.active,.table>tbody>tr.active>td,.table>tbody>tr.active>th,.table>tfoot>tr>td.active,.table>tfoot>tr>th.active,.table>tfoot>tr.active>td,.table>tfoot>tr.active>th{background-color:#f9fafb}.table-hover>tbody>tr>td.active:hover,.table-hover>tbody>tr>th.active:hover,.table-hover>tbody>tr.active:hover>td,.table-hover>tbody>tr:hover>.active,.table-hover>tbody>tr.active:hover>th{background-color:#eaedf1}.table>thead>tr>td.success,.table>thead>tr>th.success,.table>thead>tr.success>td,.table>thead>tr.success>th,.table>tbody>tr>td.success,.table>tbody>tr>th.success,.table>tbody>tr.success>td,.table>tbody>tr.success>th,.table>tfoot>tr>td.success,.table>tfoot>tr>th.success,.table>tfoot>tr.success>td,.table>tfoot>tr.success>th{background-color:#f3faec}.table-hover>tbody>tr>td.success:hover,.table-hover>tbody>tr>th.success:hover,.table-hover>tbody>tr.success:hover>td,.table-hover>tbody>tr:hover>.success,.table-hover>tbody>tr.success:hover>th{background-color:#e6f5d8}.table>thead>tr>td.info,.table>thead>tr>th.info,.table>thead>tr.info>td,.table>thead>tr.info>th,.table>tbody>tr>td.info,.table>tbody>tr>th.info,.table>tbody>tr.info>td,.table>tbody>tr.info>th,.table>tfoot>tr>td.info,.table>tfoot>tr>th.info,.table>tfoot>tr.info>td,.table>tfoot>tr.info>th{background-color:#edfafa}.table-hover>tbody>tr>td.info:hover,.table-hover>tbody>tr>th.info:hover,.table-hover>tbody>tr.info:hover>td,.table-hover>tbody>tr:hover>.info,.table-hover>tbody>tr.info:hover>th{background-color:#d9f4f4}.table>thead>tr>td.warning,.table>thead>tr>th.warning,.table>thead>tr.warning>td,.table>thead>tr.warning>th,.table>tbody>tr>td.warning,.table>tbody>tr>th.warning,.table>tbody>tr.warning>td,.table>tbody>tr.warning>th,.table>tfoot>tr>td.warning,.table>tfoot>tr>th.warning,.table>tfoot>tr.warning>td,.table>tfoot>tr.warning>th{background-color:#fff6ec}.table-hover>tbody>tr>td.warning:hover,.table-hover>tbody>tr>th.warning:hover,.table-hover>tbody>tr.warning:hover>td,.table-hover>tbody>tr:hover>.warning,.table-hover>tbody>tr.warning:hover>th{background-color:#ffead3}.table>thead>tr>td.danger,.table>thead>tr>th.danger,.table>thead>tr.danger>td,.table>thead>tr.danger>th,.table>tbody>tr>td.danger,.table>tbody>tr>th.danger,.table>tbody>tr.danger>td,.table>tbody>tr.danger>th,.table>tfoot>tr>td.danger,.table>tfoot>tr>th.danger,.table>tfoot>tr.danger>td,.table>tfoot>tr.danger>th{background-color:#fff5f4}.table-hover>tbody>tr>td.danger:hover,.table-hover>tbody>tr>th.danger:hover,.table-hover>tbody>tr.danger:hover>td,.table-hover>tbody>tr:hover>.danger,.table-hover>tbody>tr.danger:hover>th{background-color:#ffdedb}.table-responsive{overflow-x:auto;min-height:0.01%}@media screen and (max-width: 539px){.table-responsive{width:100%;margin-bottom:1.2rem;overflow-y:hidden;-ms-overflow-style:-ms-autohiding-scrollbar;border:1px solid rgba(0,30,60,0.075)}.table-responsive>.table{margin-bottom:0}.table-responsive>.table>thead>tr>th,.table-responsive>.table>thead>tr>td,.table-responsive>.table>tbody>tr>th,.table-responsive>.table>tbody>tr>td,.table-responsive>.table>tfoot>tr>th,.table-responsive>.table>tfoot>tr>td{white-space:nowrap}.table-responsive>.table-bordered{border:0}.table-responsive>.table-bordered>thead>tr>th:first-child,.table-responsive>.table-bordered>thead>tr>td:first-child,.table-responsive>.table-bordered>tbody>tr>th:first-child,.table-responsive>.table-bordered>tbody>tr>td:first-child,.table-responsive>.table-bordered>tfoot>tr>th:first-child,.table-responsive>.table-bordered>tfoot>tr>td:first-child{border-left:0}.table-responsive>.table-bordered>thead>tr>th:last-child,.table-responsive>.table-bordered>thead>tr>td:last-child,.table-responsive>.table-bordered>tbody>tr>th:last-child,.table-responsive>.table-bordered>tbody>tr>td:last-child,.table-responsive>.table-bordered>tfoot>tr>th:last-child,.table-responsive>.table-bordered>tfoot>tr>td:last-child{border-right:0}.table-responsive>.table-bordered>tbody>tr:last-child>th,.table-responsive>.table-bordered>tbody>tr:last-child>td,.table-responsive>.table-bordered>tfoot>tr:last-child>th,.table-responsive>.table-bordered>tfoot>tr:last-child>td{border-bottom:0}}fieldset{padding:0;margin:0;border:0;min-width:0}legend{display:block;width:100%;padding:0;margin-bottom:1.6rem;font-size:1.5rem;line-height:inherit;color:#8b969e;border:0;border-bottom:1px solid rgba(0,30,60,0.075)}label{display:inline-block;max-width:100%;margin-bottom:5px;font-weight:bold}input[type="search"]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}input[type="radio"],input[type="checkbox"]{margin:4px 0 0;margin-top:1px \\9;line-height:normal}input[type="file"]{display:block}input[type="range"]{display:block;width:100%}select[multiple],select[size]{height:auto}input[type="file"]:focus,input[type="radio"]:focus,input[type="checkbox"]:focus{outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}output{display:block;padding-top:1.6785714286rem;font-size:1rem;line-height:1.6;color:#484e53}.form-control{display:block;width:100%;height:2.8571428571rem;padding:.6785714286rem 1.25rem;font-size:1rem;line-height:1.6;color:#484e53;background-color:#f0f2f4;background-image:none;border:1px solid transparent;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);-webkit-transition:border-color ease-in-out 0.15s,box-shadow ease-in-out 0.15s;-o-transition:border-color ease-in-out 0.15s,box-shadow ease-in-out 0.15s;transition:border-color ease-in-out 0.15s,box-shadow ease-in-out 0.15s}.form-control:focus{border-color:transparent;outline:0;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(0,0,0,0.6);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(0,0,0,0.6)}.form-control::-moz-placeholder{color:#a8b1b7;opacity:1}.form-control:-ms-input-placeholder{color:#a8b1b7}.form-control::-webkit-input-placeholder{color:#a8b1b7}.form-control::-ms-expand{border:0;background-color:transparent}.form-control[disabled],.form-control[readonly],fieldset[disabled] .form-control{background-color:#e4e6eb;opacity:1}.form-control[disabled],fieldset[disabled] .form-control{cursor:not-allowed}textarea.form-control{height:auto}input[type="search"]{-webkit-appearance:none}@media screen and (-webkit-min-device-pixel-ratio: 0){input[type="date"].form-control,input[type="time"].form-control,input[type="datetime-local"].form-control,input[type="month"].form-control{line-height:2.8571428571rem}input[type="date"].input-sm,.input-group-sm>input[type="date"].form-control,.input-group-sm>input[type="date"].input-group-addon,.input-group-sm>.input-group-btn>input[type="date"].btn,.input-group-sm input[type="date"],input[type="time"].input-sm,.input-group-sm>input[type="time"].form-control,.input-group-sm>input[type="time"].input-group-addon,.input-group-sm>.input-group-btn>input[type="time"].btn,.input-group-sm input[type="time"],input[type="datetime-local"].input-sm,.input-group-sm>input[type="datetime-local"].form-control,.input-group-sm>input[type="datetime-local"].input-group-addon,.input-group-sm>.input-group-btn>input[type="datetime-local"].btn,.input-group-sm input[type="datetime-local"],input[type="month"].input-sm,.input-group-sm>input[type="month"].form-control,.input-group-sm>input[type="month"].input-group-addon,.input-group-sm>.input-group-btn>input[type="month"].btn,.input-group-sm input[type="month"]{line-height:2.2857142857rem}input[type="date"].input-lg,.input-group-lg>input[type="date"].form-control,.input-group-lg>input[type="date"].input-group-addon,.input-group-lg>.input-group-btn>input[type="date"].btn,.input-group-lg input[type="date"],input[type="time"].input-lg,.input-group-lg>input[type="time"].form-control,.input-group-lg>input[type="time"].input-group-addon,.input-group-lg>.input-group-btn>input[type="time"].btn,.input-group-lg input[type="time"],input[type="datetime-local"].input-lg,.input-group-lg>input[type="datetime-local"].form-control,.input-group-lg>input[type="datetime-local"].input-group-addon,.input-group-lg>.input-group-btn>input[type="datetime-local"].btn,.input-group-lg input[type="datetime-local"],input[type="month"].input-lg,.input-group-lg>input[type="month"].form-control,.input-group-lg>input[type="month"].input-group-addon,.input-group-lg>.input-group-btn>input[type="month"].btn,.input-group-lg input[type="month"]{line-height:4.2857142857rem}}.form-group{margin-bottom:15px}.radio,.checkbox{position:relative;display:block;margin-top:10px;margin-bottom:10px}.radio label,.checkbox label{min-height:1.6rem;padding-left:20px;margin-bottom:0;font-weight:normal;cursor:pointer}.radio input[type="radio"],.radio-inline input[type="radio"],.checkbox input[type="checkbox"],.checkbox-inline input[type="checkbox"]{position:absolute;margin-left:-20px;margin-top:4px \\9}.radio+.radio,.checkbox+.checkbox{margin-top:-5px}.radio-inline,.checkbox-inline{position:relative;display:inline-block;padding-left:20px;margin-bottom:0;vertical-align:middle;font-weight:normal;cursor:pointer}.radio-inline+.radio-inline,.checkbox-inline+.checkbox-inline{margin-top:0;margin-left:10px}input[type="radio"][disabled],input[type="radio"].disabled,fieldset[disabled] input[type="radio"],input[type="checkbox"][disabled],input[type="checkbox"].disabled,fieldset[disabled] input[type="checkbox"]{cursor:not-allowed}.radio-inline.disabled,fieldset[disabled] .radio-inline,.checkbox-inline.disabled,fieldset[disabled] .checkbox-inline{cursor:not-allowed}.radio.disabled label,fieldset[disabled] .radio label,.checkbox.disabled label,fieldset[disabled] .checkbox label{cursor:not-allowed}.form-control-static,.form-grid .form-row .form-label label{padding-top:1.6785714286rem;padding-bottom:1.6785714286rem;margin-bottom:0;min-height:2.6rem}.form-control-static.input-lg,.input-group-lg>.form-control-static.form-control,.form-grid .form-row .form-label .input-group-lg>label.form-control,.input-group-lg>.form-control-static.input-group-addon,.form-grid .form-row .form-label .input-group-lg>label.input-group-addon,.input-group-lg>.input-group-btn>.form-control-static.btn,.form-grid .form-row .form-label .input-group-lg>.input-group-btn>label.btn,.form-grid .form-row .form-label label.input-lg,.form-control-static.input-sm,.input-group-sm>.form-control-static.form-control,.form-grid .form-row .form-label .input-group-sm>label.form-control,.input-group-sm>.form-control-static.input-group-addon,.form-grid .form-row .form-label .input-group-sm>label.input-group-addon,.input-group-sm>.input-group-btn>.form-control-static.btn,.form-grid .form-row .form-label .input-group-sm>.input-group-btn>label.btn,.form-grid .form-row .form-label label.input-sm{padding-left:0;padding-right:0}.input-sm,.input-group-sm>.form-control,.input-group-sm>.input-group-addon,.input-group-sm>.input-group-btn>.btn{height:2.2857142857rem;padding:.4464285714rem .875rem;font-size:.9285714286rem;line-height:1.6;border-radius:4px}select.input-sm,.input-group-sm>select.form-control,.input-group-sm>select.input-group-addon,.input-group-sm>.input-group-btn>select.btn{height:2.2857142857rem;line-height:2.2857142857rem}textarea.input-sm,.input-group-sm>textarea.form-control,.input-group-sm>textarea.input-group-addon,.input-group-sm>.input-group-btn>textarea.btn,select[multiple].input-sm,.input-group-sm>select[multiple].form-control,.input-group-sm>select[multiple].input-group-addon,.input-group-sm>.input-group-btn>select[multiple].btn{height:auto}.form-group-sm .form-control{height:2.2857142857rem;padding:.4464285714rem .875rem;font-size:.9285714286rem;line-height:1.6;border-radius:4px}.form-group-sm select.form-control{height:2.2857142857rem;line-height:2.2857142857rem}.form-group-sm textarea.form-control,.form-group-sm select[multiple].form-control{height:auto}.form-group-sm .form-control-static,.form-group-sm .form-grid .form-row .form-label label,.form-grid .form-row .form-label .form-group-sm label{height:2.2857142857rem;min-height:2.5285714286rem;padding:1.4464285714rem .875rem;font-size:.9285714286rem;line-height:1.6}.input-lg,.input-group-lg>.form-control,.input-group-lg>.input-group-addon,.input-group-lg>.input-group-btn>.btn{height:4.2857142857rem;padding:1.2857142857rem 1.875rem;font-size:1.1428571429rem;line-height:1.6;border-radius:4px}select.input-lg,.input-group-lg>select.form-control,.input-group-lg>select.input-group-addon,.input-group-lg>.input-group-btn>select.btn{height:4.2857142857rem;line-height:4.2857142857rem}textarea.input-lg,.input-group-lg>textarea.form-control,.input-group-lg>textarea.input-group-addon,.input-group-lg>.input-group-btn>textarea.btn,select[multiple].input-lg,.input-group-lg>select[multiple].form-control,.input-group-lg>select[multiple].input-group-addon,.input-group-lg>.input-group-btn>select[multiple].btn{height:auto}.form-group-lg .form-control{height:4.2857142857rem;padding:1.2857142857rem 1.875rem;font-size:1.1428571429rem;line-height:1.6;border-radius:4px}.form-group-lg select.form-control{height:4.2857142857rem;line-height:4.2857142857rem}.form-group-lg textarea.form-control,.form-group-lg select[multiple].form-control{height:auto}.form-group-lg .form-control-static,.form-group-lg .form-grid .form-row .form-label label,.form-grid .form-row .form-label .form-group-lg label{height:4.2857142857rem;min-height:2.7428571429rem;padding:2.2857142857rem 1.875rem;font-size:1.1428571429rem;line-height:1.6}.has-feedback{position:relative}.has-feedback .form-control{padding-right:3.5714285714rem}.form-control-feedback{position:absolute;top:0;right:0;z-index:2;display:block;width:2.8571428571rem;height:2.8571428571rem;line-height:2.8571428571rem;text-align:center;pointer-events:none}.input-lg+.form-control-feedback,.input-group-lg>.form-control+.form-control-feedback,.input-group-lg>.input-group-addon+.form-control-feedback,.input-group-lg>.input-group-btn>.btn+.form-control-feedback,.input-group-lg+.form-control-feedback,.form-group-lg .form-control+.form-control-feedback{width:4.2857142857rem;height:4.2857142857rem;line-height:4.2857142857rem}.input-sm+.form-control-feedback,.input-group-sm>.form-control+.form-control-feedback,.input-group-sm>.input-group-addon+.form-control-feedback,.input-group-sm>.input-group-btn>.btn+.form-control-feedback,.input-group-sm+.form-control-feedback,.form-group-sm .form-control+.form-control-feedback{width:2.2857142857rem;height:2.2857142857rem;line-height:2.2857142857rem}.has-success .help-block,.has-success .control-label,.has-success .radio,.has-success .checkbox,.has-success .radio-inline,.has-success .checkbox-inline,.has-success.radio label,.has-success.checkbox label,.has-success.radio-inline label,.has-success.checkbox-inline label{color:#48a71c}.has-success .form-control{border-color:#48a71c;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075)}.has-success .form-control:focus{border-color:#357b15;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #79e049;box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #79e049}.has-success .input-group-addon{color:#48a71c;border-color:#48a71c;background-color:#f3faec}.has-success .form-control-feedback{color:#48a71c}.has-warning .help-block,.has-warning .control-label,.has-warning .radio,.has-warning .checkbox,.has-warning .radio-inline,.has-warning .checkbox-inline,.has-warning.radio label,.has-warning.checkbox label,.has-warning.radio-inline label,.has-warning.checkbox-inline label{color:#ff6316}.has-warning .form-control{border-color:#ff6316;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075)}.has-warning .form-control:focus{border-color:#e24b00;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #ffa77c;box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #ffa77c}.has-warning .input-group-addon{color:#ff6316;border-color:#ff6316;background-color:#fff6ec}.has-warning .form-control-feedback{color:#ff6316}.has-error .help-block,.has-error .control-label,.has-error .radio,.has-error .checkbox,.has-error .radio-inline,.has-error .checkbox-inline,.has-error.radio label,.has-error.checkbox label,.has-error.radio-inline label,.has-error.checkbox-inline label{color:#ff694b}.has-error .form-control{border-color:#ff694b;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075)}.has-error .form-control:focus{border-color:#ff3f18;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #ffbeb1;box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #ffbeb1}.has-error .input-group-addon{color:#ff694b;border-color:#ff694b;background-color:#fff5f4}.has-error .form-control-feedback{color:#ff694b}.has-feedback label ~ .form-control-feedback{top:6.6rem}.has-feedback label.sr-only ~ .form-control-feedback{top:0}.help-block{display:block;margin-top:5px;margin-bottom:10px;color:#9ea6ab}@media (min-width: 540px){.form-inline .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.form-inline .form-control{display:inline-block;width:auto;vertical-align:middle}.form-inline .form-control-static,.form-inline .form-grid .form-row .form-label label,.form-grid .form-row .form-label .form-inline label{display:inline-block}.form-inline .input-group{display:inline-table;vertical-align:middle}.form-inline .input-group .input-group-addon,.form-inline .input-group .input-group-btn,.form-inline .input-group .form-control{width:auto}.form-inline .input-group>.form-control{width:100%}.form-inline .control-label{margin-bottom:0;vertical-align:middle}.form-inline .radio,.form-inline .checkbox{display:inline-block;margin-top:0;margin-bottom:0;vertical-align:middle}.form-inline .radio label,.form-inline .checkbox label{padding-left:0}.form-inline .radio input[type="radio"],.form-inline .checkbox input[type="checkbox"]{position:relative;margin-left:0}.form-inline .has-feedback .form-control-feedback{top:0}}.form-horizontal .radio,.form-horizontal .checkbox,.form-horizontal .radio-inline,.form-horizontal .checkbox-inline{margin-top:0;margin-bottom:0;padding-top:1.6785714286rem}.form-horizontal .radio,.form-horizontal .checkbox{min-height:3.2785714286rem}.form-horizontal .form-group{margin-left:-30px;margin-right:-30px}.form-horizontal .form-group:before,.form-horizontal .form-group:after{content:" ";display:table}.form-horizontal .form-group:after{clear:both}@media (min-width: 540px){.form-horizontal .control-label{text-align:right;margin-bottom:0;padding-top:1.6785714286rem}}.form-horizontal .has-feedback .form-control-feedback{right:30px}@media (min-width: 540px){.form-horizontal .form-group-lg .control-label{padding-top:2.2857142857rem;font-size:1.1428571429rem}}@media (min-width: 540px){.form-horizontal .form-group-sm .control-label{padding-top:1.4464285714rem;font-size:.9285714286rem}}.btn{display:inline-block;margin-bottom:0;font-weight:bold;text-align:center;vertical-align:middle;touch-action:manipulation;cursor:pointer;background-image:none;border:1px solid transparent;white-space:nowrap;padding:.6785714286rem 1.25rem;font-size:1rem;line-height:1.6;border-radius:4px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.btn:focus,.btn.focus,.btn:active:focus,.btn:active.focus,.btn.active:focus,.btn.active.focus{outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.btn:hover,.btn:focus,.btn.focus{color:#484e53;text-decoration:none}.btn:active,.btn.active{outline:0;background-image:none;-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,0.125);box-shadow:inset 0 3px 5px rgba(0,0,0,0.125)}.btn.disabled,.btn[disabled],fieldset[disabled] .btn{cursor:not-allowed;opacity:.65;filter:alpha(opacity=65);-webkit-box-shadow:none;box-shadow:none}a.btn.disabled,fieldset[disabled] a.btn{pointer-events:none}.btn-default{color:#484e53;background-color:#f0f2f4;border-color:transparent}.btn-default:focus,.btn-default.focus{color:#484e53;background-color:#e9ebef}.btn-default:hover{color:#484e53;background-color:#e9ebef}.btn-default:active,.btn-default.active,.open>.btn-default.dropdown-toggle{color:#484e53;background-color:#e9ebef}.btn-default:active:hover,.btn-default:active:focus,.btn-default:active.focus,.btn-default.active:hover,.btn-default.active:focus,.btn-default.active.focus,.open>.btn-default.dropdown-toggle:hover,.open>.btn-default.dropdown-toggle:focus,.open>.btn-default.dropdown-toggle.focus{color:#484e53;background-color:#e9ebef}.btn-default:active,.btn-default.active,.open>.btn-default.dropdown-toggle{background-image:none}.btn-default.disabled:hover,.btn-default.disabled:focus,.btn-default.disabled.focus,.btn-default[disabled]:hover,.btn-default[disabled]:focus,.btn-default[disabled].focus,fieldset[disabled] .btn-default:hover,fieldset[disabled] .btn-default:focus,fieldset[disabled] .btn-default.focus{background-color:#f0f2f4;border-color:transparent}.btn-default .badge{color:#f0f2f4;background-color:#484e53}.btn-primary{color:#fff;background-color:#0bb;border-color:transparent}.btn-primary:focus,.btn-primary.focus{color:#fff;background-color:#009595}.btn-primary:hover{color:#fff;background-color:#009595}.btn-primary:active,.btn-primary.active,.open>.btn-primary.dropdown-toggle{color:#fff;background-color:#009595}.btn-primary:active:hover,.btn-primary:active:focus,.btn-primary:active.focus,.btn-primary.active:hover,.btn-primary.active:focus,.btn-primary.active.focus,.open>.btn-primary.dropdown-toggle:hover,.open>.btn-primary.dropdown-toggle:focus,.open>.btn-primary.dropdown-toggle.focus{color:#fff;background-color:#009595}.btn-primary:active,.btn-primary.active,.open>.btn-primary.dropdown-toggle{background-image:none}.btn-primary.disabled:hover,.btn-primary.disabled:focus,.btn-primary.disabled.focus,.btn-primary[disabled]:hover,.btn-primary[disabled]:focus,.btn-primary[disabled].focus,fieldset[disabled] .btn-primary:hover,fieldset[disabled] .btn-primary:focus,fieldset[disabled] .btn-primary.focus{background-color:#0bb;border-color:transparent}.btn-primary .badge{color:#0bb;background-color:#fff}.btn-success{color:#fff;background-color:#7ec631;border-color:transparent}.btn-success:focus,.btn-success.focus{color:#fff;background-color:#48a71c}.btn-success:hover{color:#fff;background-color:#48a71c}.btn-success:active,.btn-success.active,.open>.btn-success.dropdown-toggle{color:#fff;background-color:#48a71c}.btn-success:active:hover,.btn-success:active:focus,.btn-success:active.focus,.btn-success.active:hover,.btn-success.active:focus,.btn-success.active.focus,.open>.btn-success.dropdown-toggle:hover,.open>.btn-success.dropdown-toggle:focus,.open>.btn-success.dropdown-toggle.focus{color:#fff;background-color:#48a71c}.btn-success:active,.btn-success.active,.open>.btn-success.dropdown-toggle{background-image:none}.btn-success.disabled:hover,.btn-success.disabled:focus,.btn-success.disabled.focus,.btn-success[disabled]:hover,.btn-success[disabled]:focus,.btn-success[disabled].focus,fieldset[disabled] .btn-success:hover,fieldset[disabled] .btn-success:focus,fieldset[disabled] .btn-success.focus{background-color:#7ec631;border-color:transparent}.btn-success .badge{color:#7ec631;background-color:#fff}.btn-info{color:#fff;background-color:#0bb;border-color:transparent}.btn-info:focus,.btn-info.focus{color:#fff;background-color:#009595}.btn-info:hover{color:#fff;background-color:#009595}.btn-info:active,.btn-info.active,.open>.btn-info.dropdown-toggle{color:#fff;background-color:#009595}.btn-info:active:hover,.btn-info:active:focus,.btn-info:active.focus,.btn-info.active:hover,.btn-info.active:focus,.btn-info.active.focus,.open>.btn-info.dropdown-toggle:hover,.open>.btn-info.dropdown-toggle:focus,.open>.btn-info.dropdown-toggle.focus{color:#fff;background-color:#009595}.btn-info:active,.btn-info.active,.open>.btn-info.dropdown-toggle{background-image:none}.btn-info.disabled:hover,.btn-info.disabled:focus,.btn-info.disabled.focus,.btn-info[disabled]:hover,.btn-info[disabled]:focus,.btn-info[disabled].focus,fieldset[disabled] .btn-info:hover,fieldset[disabled] .btn-info:focus,fieldset[disabled] .btn-info.focus{background-color:#0bb;border-color:transparent}.btn-info .badge{color:#0bb;background-color:#fff}.btn-warning{color:#fff;background-color:#ff9b26;border-color:transparent}.btn-warning:focus,.btn-warning.focus{color:#fff;background-color:#ff6316}.btn-warning:hover{color:#fff;background-color:#ff6316}.btn-warning:active,.btn-warning.active,.open>.btn-warning.dropdown-toggle{color:#fff;background-color:#ff6316}.btn-warning:active:hover,.btn-warning:active:focus,.btn-warning:active.focus,.btn-warning.active:hover,.btn-warning.active:focus,.btn-warning.active.focus,.open>.btn-warning.dropdown-toggle:hover,.open>.btn-warning.dropdown-toggle:focus,.open>.btn-warning.dropdown-toggle.focus{color:#fff;background-color:#ff6316}.btn-warning:active,.btn-warning.active,.open>.btn-warning.dropdown-toggle{background-image:none}.btn-warning.disabled:hover,.btn-warning.disabled:focus,.btn-warning.disabled.focus,.btn-warning[disabled]:hover,.btn-warning[disabled]:focus,.btn-warning[disabled].focus,fieldset[disabled] .btn-warning:hover,fieldset[disabled] .btn-warning:focus,fieldset[disabled] .btn-warning.focus{background-color:#ff9b26;border-color:transparent}.btn-warning .badge{color:#ff9b26;background-color:#fff}.btn-danger{color:#fff;background-color:#ff694b;border-color:transparent}.btn-danger:focus,.btn-danger.focus{color:#fff;background-color:#ff3c2b}.btn-danger:hover{color:#fff;background-color:#ff3c2b}.btn-danger:active,.btn-danger.active,.open>.btn-danger.dropdown-toggle{color:#fff;background-color:#ff3c2b}.btn-danger:active:hover,.btn-danger:active:focus,.btn-danger:active.focus,.btn-danger.active:hover,.btn-danger.active:focus,.btn-danger.active.focus,.open>.btn-danger.dropdown-toggle:hover,.open>.btn-danger.dropdown-toggle:focus,.open>.btn-danger.dropdown-toggle.focus{color:#fff;background-color:#ff3c2b}.btn-danger:active,.btn-danger.active,.open>.btn-danger.dropdown-toggle{background-image:none}.btn-danger.disabled:hover,.btn-danger.disabled:focus,.btn-danger.disabled.focus,.btn-danger[disabled]:hover,.btn-danger[disabled]:focus,.btn-danger[disabled].focus,fieldset[disabled] .btn-danger:hover,fieldset[disabled] .btn-danger:focus,fieldset[disabled] .btn-danger.focus{background-color:#ff694b;border-color:transparent}.btn-danger .badge{color:#ff694b;background-color:#fff}.btn-link{color:#0bb;font-weight:normal;border-radius:0}.btn-link,.btn-link:active,.btn-link.active,.btn-link[disabled],fieldset[disabled] .btn-link{background-color:transparent;-webkit-box-shadow:none;box-shadow:none}.btn-link,.btn-link:hover,.btn-link:focus,.btn-link:active{border-color:transparent}.btn-link:hover,.btn-link:focus{color:#009595;text-decoration:none;background-color:transparent}.btn-link[disabled]:hover,.btn-link[disabled]:focus,fieldset[disabled] .btn-link:hover,fieldset[disabled] .btn-link:focus{color:#8b969e;text-decoration:none}.btn-lg,.btn-group-lg>.btn{padding:1.2857142857rem 1.875rem;font-size:1.1428571429rem;line-height:1.6;border-radius:4px}.btn-sm,.btn-group-sm>.btn{padding:.4464285714rem .875rem;font-size:.9285714286rem;line-height:1.6;border-radius:4px}.btn-xs,.btn-group-xs>.btn{padding:1px 5px;font-size:.9285714286rem;line-height:1.6;border-radius:4px}.btn-block{display:block;width:100%}.btn-block+.btn-block{margin-top:5px}input[type="submit"].btn-block,input[type="reset"].btn-block,input[type="button"].btn-block{width:100%}.fade{opacity:0;-webkit-transition:opacity 0.15s linear;-o-transition:opacity 0.15s linear;transition:opacity 0.15s linear}.fade.in{opacity:1}.collapse{display:none}.collapse.in{display:block}tr.collapse.in{display:table-row}tbody.collapse.in{display:table-row-group}.collapsing{position:relative;height:0;overflow:hidden;-webkit-transition-property:height,visibility;transition-property:height,visibility;-webkit-transition-duration:0.35s;transition-duration:0.35s;-webkit-transition-timing-function:ease;transition-timing-function:ease}.caret{display:inline-block;width:0;height:0;margin-left:2px;vertical-align:middle;border-top:4px dashed;border-top:4px solid \\9 ;border-right:4px solid transparent;border-left:4px solid transparent}.dropup,.dropdown{position:relative}.dropdown-toggle:focus{outline:0}.dropdown-menu{position:absolute;top:100%;left:0;z-index:1000;display:none;float:left;min-width:160px;padding:5px 0;margin:2px 0 0;list-style:none;font-size:1rem;text-align:left;background-color:#fff;border:1px solid transparent;border:1px solid transparent;border-radius:4px;-webkit-box-shadow:0 6px 12px rgba(0,0,0,0.175);box-shadow:0 6px 12px rgba(0,0,0,0.175);background-clip:padding-box}.dropdown-menu.pull-right{right:0;left:auto}.dropdown-menu .divider{height:1px;margin:-.2rem 0;overflow:hidden;background-color:rgba(0,30,60,0.075)}.dropdown-menu>li>a{display:block;padding:3px 20px;clear:both;font-weight:normal;line-height:1.6;color:#5e666c;white-space:nowrap}.dropdown-menu>li>a:hover,.dropdown-menu>li>a:focus{text-decoration:none;color:#313539;background-color:#f9fafb}.dropdown-menu>.active>a,.dropdown-menu>.active>a:hover,.dropdown-menu>.active>a:focus{color:#fff;text-decoration:none;outline:0;background-color:#0bb}.dropdown-menu>.disabled>a,.dropdown-menu>.disabled>a:hover,.dropdown-menu>.disabled>a:focus{color:#8b969e}.dropdown-menu>.disabled>a:hover,.dropdown-menu>.disabled>a:focus{text-decoration:none;background-color:transparent;background-image:none;filter:progid:DXImageTransform.Microsoft.gradient(enabled = false);cursor:not-allowed}.open>.dropdown-menu{display:block}.open>a{outline:0}.dropdown-menu-right{left:auto;right:0}.dropdown-menu-left{left:0;right:auto}.dropdown-header{display:block;padding:3px 20px;font-size:.9285714286rem;line-height:1.6;color:#8b969e;white-space:nowrap}.dropdown-backdrop{position:fixed;left:0;right:0;bottom:0;top:0;z-index:990}.pull-right>.dropdown-menu{right:0;left:auto}.dropup .caret,.navbar-fixed-bottom .dropdown .caret{border-top:0;border-bottom:4px dashed;border-bottom:4px solid \\9 ;content:""}.dropup .dropdown-menu,.navbar-fixed-bottom .dropdown .dropdown-menu{top:auto;bottom:100%;margin-bottom:2px}@media (min-width: 960px){.navbar-right .dropdown-menu{right:0;left:auto}.navbar-right .dropdown-menu-left{left:0;right:auto}}.btn-group,.btn-group-vertical{position:relative;display:inline-block;vertical-align:middle}.btn-group>.btn,.btn-group-vertical>.btn{position:relative;float:left}.btn-group>.btn:hover,.btn-group>.btn:focus,.btn-group>.btn:active,.btn-group>.btn.active,.btn-group-vertical>.btn:hover,.btn-group-vertical>.btn:focus,.btn-group-vertical>.btn:active,.btn-group-vertical>.btn.active{z-index:2}.btn-group .btn+.btn,.btn-group .btn+.btn-group,.btn-group .btn-group+.btn,.btn-group .btn-group+.btn-group{margin-left:-1px}.btn-toolbar{margin-left:-5px}.btn-toolbar:before,.btn-toolbar:after{content:" ";display:table}.btn-toolbar:after{clear:both}.btn-toolbar .btn,.btn-toolbar .btn-group,.btn-toolbar .input-group{float:left}.btn-toolbar>.btn,.btn-toolbar>.btn-group,.btn-toolbar>.input-group{margin-left:5px}.btn-group>.btn:not(:first-child):not(:last-child):not(.dropdown-toggle){border-radius:0}.btn-group>.btn:first-child{margin-left:0}.btn-group>.btn:first-child:not(:last-child):not(.dropdown-toggle){border-bottom-right-radius:0;border-top-right-radius:0}.btn-group>.btn:last-child:not(:first-child),.btn-group>.dropdown-toggle:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0}.btn-group>.btn-group{float:left}.btn-group>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.btn-group>.btn-group:first-child:not(:last-child)>.btn:last-child,.btn-group>.btn-group:first-child:not(:last-child)>.dropdown-toggle{border-bottom-right-radius:0;border-top-right-radius:0}.btn-group>.btn-group:last-child:not(:first-child)>.btn:first-child{border-bottom-left-radius:0;border-top-left-radius:0}.btn-group .dropdown-toggle:active,.btn-group.open .dropdown-toggle{outline:0}.btn-group>.btn+.dropdown-toggle{padding-left:8px;padding-right:8px}.btn-group>.btn-lg+.dropdown-toggle,.btn-group-lg.btn-group>.btn+.dropdown-toggle{padding-left:12px;padding-right:12px}.btn-group.open .dropdown-toggle.btn-link{-webkit-box-shadow:none;box-shadow:none}.btn .caret{margin-left:0}.btn-lg .caret,.btn-group-lg>.btn .caret{border-width:5px 5px 0;border-bottom-width:0}.dropup .btn-lg .caret,.dropup .btn-group-lg>.btn .caret{border-width:0 5px 5px}.btn-group-vertical>.btn,.btn-group-vertical>.btn-group,.btn-group-vertical>.btn-group>.btn{display:block;float:none;width:100%;max-width:100%}.btn-group-vertical>.btn-group:before,.btn-group-vertical>.btn-group:after{content:" ";display:table}.btn-group-vertical>.btn-group:after{clear:both}.btn-group-vertical>.btn-group>.btn{float:none}.btn-group-vertical>.btn+.btn,.btn-group-vertical>.btn+.btn-group,.btn-group-vertical>.btn-group+.btn,.btn-group-vertical>.btn-group+.btn-group{margin-top:-1px;margin-left:0}.btn-group-vertical>.btn:not(:first-child):not(:last-child){border-radius:0}.btn-group-vertical>.btn:first-child:not(:last-child){border-top-right-radius:4px;border-top-left-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn:last-child:not(:first-child){border-top-right-radius:0;border-top-left-radius:0;border-bottom-right-radius:4px;border-bottom-left-radius:4px}.btn-group-vertical>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.btn-group-vertical>.btn-group:first-child:not(:last-child)>.btn:last-child,.btn-group-vertical>.btn-group:first-child:not(:last-child)>.dropdown-toggle{border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn-group:last-child:not(:first-child)>.btn:first-child{border-top-right-radius:0;border-top-left-radius:0}.btn-group-justified{display:table;width:100%;table-layout:fixed;border-collapse:separate}.btn-group-justified>.btn,.btn-group-justified>.btn-group{float:none;display:table-cell;width:1%}.btn-group-justified>.btn-group .btn{width:100%}.btn-group-justified>.btn-group .dropdown-menu{left:auto}[data-toggle="buttons"]>.btn input[type="radio"],[data-toggle="buttons"]>.btn input[type="checkbox"],[data-toggle="buttons"]>.btn-group>.btn input[type="radio"],[data-toggle="buttons"]>.btn-group>.btn input[type="checkbox"]{position:absolute;clip:rect(0, 0, 0, 0);pointer-events:none}.input-group{position:relative;display:table;border-collapse:separate}.input-group[class*="col-"]{float:none;padding-left:0;padding-right:0}.input-group .form-control{position:relative;z-index:2;float:left;width:100%;margin-bottom:0}.input-group .form-control:focus{z-index:3}.input-group-addon,.input-group-btn,.input-group .form-control{display:table-cell}.input-group-addon:not(:first-child):not(:last-child),.input-group-btn:not(:first-child):not(:last-child),.input-group .form-control:not(:first-child):not(:last-child){border-radius:0}.input-group-addon,.input-group-btn{width:1%;white-space:nowrap;vertical-align:middle}.input-group-addon{padding:.6785714286rem 1.25rem;font-size:1rem;font-weight:normal;line-height:1;color:#484e53;text-align:center;background-color:#f0f2f4;border:1px solid transparent;border-radius:4px}.input-group-addon.input-sm,.input-group-sm>.input-group-addon,.input-group-sm>.input-group-btn>.input-group-addon.btn{padding:.4464285714rem .875rem;font-size:.9285714286rem;border-radius:4px}.input-group-addon.input-lg,.input-group-lg>.input-group-addon,.input-group-lg>.input-group-btn>.input-group-addon.btn{padding:1.2857142857rem 1.875rem;font-size:1.1428571429rem;border-radius:4px}.input-group-addon input[type="radio"],.input-group-addon input[type="checkbox"]{margin-top:0}.input-group .form-control:first-child,.input-group-addon:first-child,.input-group-btn:first-child>.btn,.input-group-btn:first-child>.btn-group>.btn,.input-group-btn:first-child>.dropdown-toggle,.input-group-btn:last-child>.btn:not(:last-child):not(.dropdown-toggle),.input-group-btn:last-child>.btn-group:not(:last-child)>.btn{border-bottom-right-radius:0;border-top-right-radius:0}.input-group-addon:first-child{border-right:0}.input-group .form-control:last-child,.input-group-addon:last-child,.input-group-btn:last-child>.btn,.input-group-btn:last-child>.btn-group>.btn,.input-group-btn:last-child>.dropdown-toggle,.input-group-btn:first-child>.btn:not(:first-child),.input-group-btn:first-child>.btn-group:not(:first-child)>.btn{border-bottom-left-radius:0;border-top-left-radius:0}.input-group-addon:last-child{border-left:0}.input-group-btn{position:relative;font-size:0;white-space:nowrap}.input-group-btn>.btn{position:relative}.input-group-btn>.btn+.btn{margin-left:-1px}.input-group-btn>.btn:hover,.input-group-btn>.btn:focus,.input-group-btn>.btn:active{z-index:2}.input-group-btn:first-child>.btn,.input-group-btn:first-child>.btn-group{margin-right:-1px}.input-group-btn:last-child>.btn,.input-group-btn:last-child>.btn-group{z-index:2;margin-left:-1px}.nav{margin-bottom:0;padding-left:0;list-style:none}.nav:before,.nav:after{content:" ";display:table}.nav:after{clear:both}.nav>li{position:relative;display:block}.nav>li>a{position:relative;display:block;padding:.6785714286rem .875rem}.nav>li>a:hover,.nav>li>a:focus{text-decoration:none;background-color:#f9fafb}.nav>li.disabled>a{color:#8b969e}.nav>li.disabled>a:hover,.nav>li.disabled>a:focus{color:#8b969e;text-decoration:none;background-color:transparent;cursor:not-allowed}.nav .open>a,.nav .open>a:hover,.nav .open>a:focus{background-color:#f9fafb;border-color:#0bb}.nav .nav-divider{height:1px;margin:-.2rem 0;overflow:hidden;background-color:#e5e5e5}.nav>li>a>img{max-width:none}.nav-tabs{border-bottom:1px solid rgba(0,30,60,0.075)}.nav-tabs>li{float:left;margin-bottom:-1px}.nav-tabs>li>a{margin-right:2px;line-height:1.6;border:1px solid transparent;border-radius:4px 4px 0 0}.nav-tabs>li>a:hover{border-color:#ff694b #ff694b rgba(0,30,60,0.075)}.nav-tabs>li.active>a,.nav-tabs>li.active>a:hover,.nav-tabs>li.active>a:focus{color:inherit;background-color:transparent;border:1px solid #ff694b;border-bottom-color:transparent;cursor:default}.nav-pills>li{float:left}.nav-pills>li>a{border-radius:1000px}.nav-pills>li+li{margin-left:2px}.nav-pills>li.active>a,.nav-pills>li.active>a:hover,.nav-pills>li.active>a:focus{color:#fff;background-color:#0bb}.nav-stacked>li{float:none}.nav-stacked>li+li{margin-top:2px;margin-left:0}.nav-justified,.nav-tabs.nav-justified{width:100%}.nav-justified>li,.nav-tabs.nav-justified>li{float:none}.nav-justified>li>a,.nav-tabs.nav-justified>li>a{text-align:center;margin-bottom:5px}.nav-justified>.dropdown .dropdown-menu{top:auto;left:auto}@media (min-width: 540px){.nav-justified>li,.nav-tabs.nav-justified>li{display:table-cell;width:1%}.nav-justified>li>a,.nav-tabs.nav-justified>li>a{margin-bottom:0}}.nav-tabs-justified,.nav-tabs.nav-justified{border-bottom:0}.nav-tabs-justified>li>a,.nav-tabs.nav-justified>li>a{margin-right:0;border-radius:4px}.nav-tabs-justified>.active>a,.nav-tabs.nav-justified>.active>a,.nav-tabs-justified>.active>a:hover,.nav-tabs.nav-justified>.active>a:hover,.nav-tabs-justified>.active>a:focus,.nav-tabs.nav-justified>.active>a:focus{border:1px solid #ddd}@media (min-width: 540px){.nav-tabs-justified>li>a,.nav-tabs.nav-justified>li>a{border-bottom:1px solid #ddd;border-radius:4px 4px 0 0}.nav-tabs-justified>.active>a,.nav-tabs.nav-justified>.active>a,.nav-tabs-justified>.active>a:hover,.nav-tabs.nav-justified>.active>a:hover,.nav-tabs-justified>.active>a:focus,.nav-tabs.nav-justified>.active>a:focus{border-bottom-color:#f9fafb}}.tab-content>.tab-pane{display:none}.tab-content>.active{display:block}.nav-tabs .dropdown-menu{margin-top:-1px;border-top-right-radius:0;border-top-left-radius:0}.breadcrumb{padding:1.2857142857rem 1.875rem;margin-bottom:1.6rem;list-style:none;background-color:#f9fafb;border-radius:4px}.breadcrumb>li{display:inline-block}.breadcrumb>li+li:before{content:"/\\A0";padding:0 5px;color:#8b969e}.breadcrumb>.active{color:#313539}.pagination{display:inline-block;padding-left:0;margin:1.6rem 0;border-radius:4px}.pagination>li{display:inline}.pagination>li>a,.pagination>li>span{position:relative;float:left;padding:.6785714286rem 1.25rem;line-height:1.6;text-decoration:none;color:#0bb;background-color:#fff;border:1px solid #ddd;margin-left:-1px}.pagination>li:first-child>a,.pagination>li:first-child>span{margin-left:0;border-bottom-left-radius:4px;border-top-left-radius:4px}.pagination>li:last-child>a,.pagination>li:last-child>span{border-bottom-right-radius:4px;border-top-right-radius:4px}.pagination>li>a:hover,.pagination>li>a:focus,.pagination>li>span:hover,.pagination>li>span:focus{z-index:2;color:#009595;background-color:#f7f7f8;border-color:#ddd}.pagination>.active>a,.pagination>.active>a:hover,.pagination>.active>a:focus,.pagination>.active>span,.pagination>.active>span:hover,.pagination>.active>span:focus{z-index:3;color:#fff;background-color:#0bb;border-color:#0bb;cursor:default}.pagination>.disabled>span,.pagination>.disabled>span:hover,.pagination>.disabled>span:focus,.pagination>.disabled>a,.pagination>.disabled>a:hover,.pagination>.disabled>a:focus{color:#bec5c9;background-color:#fff;border-color:#ddd;cursor:not-allowed}.pagination-lg>li>a,.pagination-lg>li>span{padding:1.2857142857rem 1.875rem;font-size:1.1428571429rem;line-height:1.6}.pagination-lg>li:first-child>a,.pagination-lg>li:first-child>span{border-bottom-left-radius:4px;border-top-left-radius:4px}.pagination-lg>li:last-child>a,.pagination-lg>li:last-child>span{border-bottom-right-radius:4px;border-top-right-radius:4px}.pagination-sm>li>a,.pagination-sm>li>span{padding:.4464285714rem .875rem;font-size:.9285714286rem;line-height:1.6}.pagination-sm>li:first-child>a,.pagination-sm>li:first-child>span{border-bottom-left-radius:4px;border-top-left-radius:4px}.pagination-sm>li:last-child>a,.pagination-sm>li:last-child>span{border-bottom-right-radius:4px;border-top-right-radius:4px}.pager{padding-left:0;margin:1.6rem 0;list-style:none;text-align:center}.pager:before,.pager:after{content:" ";display:table}.pager:after{clear:both}.pager li{display:inline}.pager li>a,.pager li>span{display:inline-block;padding:5px 14px;background-color:#fff;border:1px solid #ddd;border-radius:15px}.pager li>a:hover,.pager li>a:focus{text-decoration:none;background-color:#f7f7f8}.pager .next>a,.pager .next>span{float:right}.pager .previous>a,.pager .previous>span{float:left}.pager .disabled>a,.pager .disabled>a:hover,.pager .disabled>a:focus,.pager .disabled>span{color:#bec5c9;background-color:#fff;cursor:not-allowed}.label{display:inline;padding:.2em .6em .3em;font-size:75%;font-weight:bold;line-height:1;color:#8b969e;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.25em}.label:empty{display:none}.btn .label{position:relative;top:-1px}a.label:hover,a.label:focus{color:#fff;text-decoration:none;cursor:pointer}.label-default{background-color:transparent}.label-default[href]:hover,.label-default[href]:focus{background-color:transparent}.label-primary{background-color:transparent}.label-primary[href]:hover,.label-primary[href]:focus{background-color:transparent}.label-success{background-color:transparent}.label-success[href]:hover,.label-success[href]:focus{background-color:transparent}.label-info{background-color:transparent}.label-info[href]:hover,.label-info[href]:focus{background-color:transparent}.label-warning{background-color:transparent}.label-warning[href]:hover,.label-warning[href]:focus{background-color:transparent}.label-danger{background-color:transparent}.label-danger[href]:hover,.label-danger[href]:focus{background-color:transparent}.badge{display:inline-block;min-width:10px;padding:3px 7px;font-size:.9285714286rem;font-weight:bold;color:#8b969e;line-height:1;vertical-align:middle;white-space:nowrap;text-align:center;background-color:#f0f2f4;border-radius:100px}.badge:empty{display:none}.btn .badge{position:relative;top:-1px}.btn-xs .badge,.btn-group-xs>.btn .badge,.btn-group-xs>.btn .badge{top:0;padding:1px 5px}.list-group-item.active>.badge,.nav-pills>.active>a>.badge{color:#0bb;background-color:#fff}.list-group-item>.badge{float:right}.list-group-item>.badge+.badge{margin-right:5px}.nav-pills>li>a>.badge{margin-left:3px}a.badge:hover,a.badge:focus{color:#fff;text-decoration:none;cursor:pointer}.thumbnail{display:block;padding:0;margin-bottom:1.6rem;line-height:1.6;background-color:#fff;border:1px solid transparent;border-radius:4px;-webkit-transition:border 0.2s ease-in-out;-o-transition:border 0.2s ease-in-out;transition:border 0.2s ease-in-out}.thumbnail>img,.thumbnail a>img{display:block;max-width:100%;height:auto;margin-left:auto;margin-right:auto}.thumbnail .caption{padding:20px 30px;color:#8b969e}a.thumbnail:hover,a.thumbnail:focus,a.thumbnail.active{border-color:#0bb}.alert{padding:1.2857142857rem 1.875rem;margin-bottom:1.6rem;border:1px solid transparent;border-radius:4px}.alert h4{margin-top:0;color:inherit}.alert .alert-link{font-weight:inherit}.alert>p,.alert>ul{margin-bottom:0}.alert>p+p{margin-top:5px}.alert-dismissable,.alert-dismissible{padding-right:1.2857142857rem 1.875rem20}.alert-dismissable .close,.alert-dismissible .close{position:relative;top:-2px;right:-21px;color:inherit}.alert-success{background-color:#f3faec;border-color:transparent;color:#48a71c}.alert-success hr{border-top-color:transparent}.alert-success .alert-link{color:#357b15}.alert-info{background-color:#edfafa;border-color:transparent;color:#0aa}.alert-info hr{border-top-color:transparent}.alert-info .alert-link{color:#077}.alert-warning{background-color:#fff6ec;border-color:transparent;color:#ff6316}.alert-warning hr{border-top-color:transparent}.alert-warning .alert-link{color:#e24b00}.alert-danger{background-color:#fff5f4;border-color:transparent;color:#ff694b}.alert-danger hr{border-top-color:transparent}.alert-danger .alert-link{color:#ff3f18}@-webkit-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}.progress{overflow:hidden;height:1.6rem;margin-bottom:1.6rem;background-color:#f0f2f4;border-radius:100px;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,0.1);box-shadow:inset 0 1px 2px rgba(0,0,0,0.1)}.progress-bar{float:left;width:0%;height:100%;font-size:.9285714286rem;line-height:1.6rem;color:#8b969e;text-align:center;background-color:#0bb;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,0.15);box-shadow:inset 0 -1px 0 rgba(0,0,0,0.15);-webkit-transition:width 0.6s ease;-o-transition:width 0.6s ease;transition:width 0.6s ease}.progress-striped .progress-bar,.progress-bar-striped{background-image:-webkit-linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);background-image:-o-linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);background-image:linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);background-size:40px 40px}.progress.active .progress-bar,.progress-bar.active{-webkit-animation:progress-bar-stripes 2s linear infinite;-o-animation:progress-bar-stripes 2s linear infinite;animation:progress-bar-stripes 2s linear infinite}.progress-bar-success{background-color:#7ec631}.progress-striped .progress-bar-success{background-image:-webkit-linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);background-image:-o-linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);background-image:linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent)}.progress-bar-info{background-color:#0bb}.progress-striped .progress-bar-info{background-image:-webkit-linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);background-image:-o-linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);background-image:linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent)}.progress-bar-warning{background-color:#ff9b26}.progress-striped .progress-bar-warning{background-image:-webkit-linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);background-image:-o-linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);background-image:linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent)}.progress-bar-danger{background-color:#ff694b}.progress-striped .progress-bar-danger{background-image:-webkit-linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);background-image:-o-linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);background-image:linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent)}.list-group{margin-bottom:20px;padding-left:0}.list-group-item{position:relative;display:block;padding:10px 15px;margin-bottom:-1px;background-color:#fff;border:1px solid rgba(0,30,60,0.075)}.list-group-item:first-child{border-top-right-radius:4px;border-top-left-radius:4px}.list-group-item:last-child{margin-bottom:0;border-bottom-right-radius:4px;border-bottom-left-radius:4px}a.list-group-item,button.list-group-item{color:#5e666c}a.list-group-item .list-group-item-heading,button.list-group-item .list-group-item-heading{color:#313539}a.list-group-item:hover,a.list-group-item:focus,button.list-group-item:hover,button.list-group-item:focus{text-decoration:none;color:#313539;background-color:#f9fafb}button.list-group-item{width:100%;text-align:left}.list-group-item.disabled,.list-group-item.disabled:hover,.list-group-item.disabled:focus{background-color:#f9fafb;color:#8b969e;cursor:not-allowed}.list-group-item.disabled .list-group-item-heading,.list-group-item.disabled:hover .list-group-item-heading,.list-group-item.disabled:focus .list-group-item-heading{color:inherit}.list-group-item.disabled .list-group-item-text,.list-group-item.disabled:hover .list-group-item-text,.list-group-item.disabled:focus .list-group-item-text{color:#8b969e}.list-group-item.active,.list-group-item.active:hover,.list-group-item.active:focus{z-index:2;color:#fff;background-color:#0bb;border-color:rgba(0,30,60,0.03)}.list-group-item.active .list-group-item-heading,.list-group-item.active .list-group-item-heading>small,.list-group-item.active .list-group-item-heading>.small,.list-group-item.active:hover .list-group-item-heading,.list-group-item.active:hover .list-group-item-heading>small,.list-group-item.active:hover .list-group-item-heading>.small,.list-group-item.active:focus .list-group-item-heading,.list-group-item.active:focus .list-group-item-heading>small,.list-group-item.active:focus .list-group-item-heading>.small{color:inherit}.list-group-item.active .list-group-item-text,.list-group-item.active:hover .list-group-item-text,.list-group-item.active:focus .list-group-item-text{color:#fff}.list-group-item-success{color:#48a71c;background-color:#f3faec}a.list-group-item-success,button.list-group-item-success{color:#48a71c}a.list-group-item-success .list-group-item-heading,button.list-group-item-success .list-group-item-heading{color:inherit}a.list-group-item-success:hover,a.list-group-item-success:focus,button.list-group-item-success:hover,button.list-group-item-success:focus{color:#48a71c;background-color:#e6f5d8}a.list-group-item-success.active,a.list-group-item-success.active:hover,a.list-group-item-success.active:focus,button.list-group-item-success.active,button.list-group-item-success.active:hover,button.list-group-item-success.active:focus{color:#fff;background-color:#48a71c;border-color:#48a71c}.list-group-item-info{color:#0aa;background-color:#edfafa}a.list-group-item-info,button.list-group-item-info{color:#0aa}a.list-group-item-info .list-group-item-heading,button.list-group-item-info .list-group-item-heading{color:inherit}a.list-group-item-info:hover,a.list-group-item-info:focus,button.list-group-item-info:hover,button.list-group-item-info:focus{color:#0aa;background-color:#d9f4f4}a.list-group-item-info.active,a.list-group-item-info.active:hover,a.list-group-item-info.active:focus,button.list-group-item-info.active,button.list-group-item-info.active:hover,button.list-group-item-info.active:focus{color:#fff;background-color:#0aa;border-color:#0aa}.list-group-item-warning{color:#ff6316;background-color:#fff6ec}a.list-group-item-warning,button.list-group-item-warning{color:#ff6316}a.list-group-item-warning .list-group-item-heading,button.list-group-item-warning .list-group-item-heading{color:inherit}a.list-group-item-warning:hover,a.list-group-item-warning:focus,button.list-group-item-warning:hover,button.list-group-item-warning:focus{color:#ff6316;background-color:#ffead3}a.list-group-item-warning.active,a.list-group-item-warning.active:hover,a.list-group-item-warning.active:focus,button.list-group-item-warning.active,button.list-group-item-warning.active:hover,button.list-group-item-warning.active:focus{color:#fff;background-color:#ff6316;border-color:#ff6316}.list-group-item-danger{color:#ff694b;background-color:#fff5f4}a.list-group-item-danger,button.list-group-item-danger{color:#ff694b}a.list-group-item-danger .list-group-item-heading,button.list-group-item-danger .list-group-item-heading{color:inherit}a.list-group-item-danger:hover,a.list-group-item-danger:focus,button.list-group-item-danger:hover,button.list-group-item-danger:focus{color:#ff694b;background-color:#ffdedb}a.list-group-item-danger.active,a.list-group-item-danger.active:hover,a.list-group-item-danger.active:focus,button.list-group-item-danger.active,button.list-group-item-danger.active:hover,button.list-group-item-danger.active:focus{color:#fff;background-color:#ff694b;border-color:#ff694b}.list-group-item-heading{margin-top:0;margin-bottom:5px}.list-group-item-text{margin-bottom:0;line-height:1.3}.panel{margin-bottom:1.6rem;background-color:#fff;border:1px solid transparent;border-radius:4px;-webkit-box-shadow:0 1px 1px rgba(0,0,0,0.05);box-shadow:0 1px 1px rgba(0,0,0,0.05)}.panel-body{padding:15px}.panel-body:before,.panel-body:after{content:" ";display:table}.panel-body:after{clear:both}.panel-heading{padding:10px 15px;border-bottom:1px solid transparent;border-top-right-radius:3px;border-top-left-radius:3px}.panel-heading>.dropdown .dropdown-toggle{color:inherit}.panel-title{margin-top:0;margin-bottom:0;font-size:2rem;color:inherit}.panel-title>a,.panel-title>small,.panel-title>.small,.panel-title>small>a,.panel-title>.small>a{color:inherit}.panel-footer{padding:10px 15px;background-color:transparent;border-top:1px solid transparent;border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel>.list-group,.panel>.panel-collapse>.list-group{margin-bottom:0}.panel>.list-group .list-group-item,.panel>.panel-collapse>.list-group .list-group-item{border-width:1px 0;border-radius:0}.panel>.list-group:first-child .list-group-item:first-child,.panel>.panel-collapse>.list-group:first-child .list-group-item:first-child{border-top:0;border-top-right-radius:3px;border-top-left-radius:3px}.panel>.list-group:last-child .list-group-item:last-child,.panel>.panel-collapse>.list-group:last-child .list-group-item:last-child{border-bottom:0;border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel>.panel-heading+.panel-collapse>.list-group .list-group-item:first-child{border-top-right-radius:0;border-top-left-radius:0}.panel-heading+.list-group .list-group-item:first-child{border-top-width:0}.list-group+.panel-footer{border-top-width:0}.panel>.table,.panel>.table-responsive>.table,.panel>.panel-collapse>.table{margin-bottom:0}.panel>.table caption,.panel>.table-responsive>.table caption,.panel>.panel-collapse>.table caption{padding-left:15px;padding-right:15px}.panel>.table:first-child,.panel>.table-responsive:first-child>.table:first-child{border-top-right-radius:3px;border-top-left-radius:3px}.panel>.table:first-child>thead:first-child>tr:first-child,.panel>.table:first-child>tbody:first-child>tr:first-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child{border-top-left-radius:3px;border-top-right-radius:3px}.panel>.table:first-child>thead:first-child>tr:first-child td:first-child,.panel>.table:first-child>thead:first-child>tr:first-child th:first-child,.panel>.table:first-child>tbody:first-child>tr:first-child td:first-child,.panel>.table:first-child>tbody:first-child>tr:first-child th:first-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child td:first-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child th:first-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child td:first-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child th:first-child{border-top-left-radius:3px}.panel>.table:first-child>thead:first-child>tr:first-child td:last-child,.panel>.table:first-child>thead:first-child>tr:first-child th:last-child,.panel>.table:first-child>tbody:first-child>tr:first-child td:last-child,.panel>.table:first-child>tbody:first-child>tr:first-child th:last-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child td:last-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child th:last-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child td:last-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child th:last-child{border-top-right-radius:3px}.panel>.table:last-child,.panel>.table-responsive:last-child>.table:last-child{border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel>.table:last-child>tbody:last-child>tr:last-child,.panel>.table:last-child>tfoot:last-child>tr:last-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child{border-bottom-left-radius:3px;border-bottom-right-radius:3px}.panel>.table:last-child>tbody:last-child>tr:last-child td:first-child,.panel>.table:last-child>tbody:last-child>tr:last-child th:first-child,.panel>.table:last-child>tfoot:last-child>tr:last-child td:first-child,.panel>.table:last-child>tfoot:last-child>tr:last-child th:first-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child td:first-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child th:first-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child td:first-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child th:first-child{border-bottom-left-radius:3px}.panel>.table:last-child>tbody:last-child>tr:last-child td:last-child,.panel>.table:last-child>tbody:last-child>tr:last-child th:last-child,.panel>.table:last-child>tfoot:last-child>tr:last-child td:last-child,.panel>.table:last-child>tfoot:last-child>tr:last-child th:last-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child td:last-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child th:last-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child td:last-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child th:last-child{border-bottom-right-radius:3px}.panel>.panel-body+.table,.panel>.panel-body+.table-responsive,.panel>.table+.panel-body,.panel>.table-responsive+.panel-body{border-top:1px solid rgba(0,30,60,0.075)}.panel>.table>tbody:first-child>tr:first-child th,.panel>.table>tbody:first-child>tr:first-child td{border-top:0}.panel>.table-bordered,.panel>.table-responsive>.table-bordered{border:0}.panel>.table-bordered>thead>tr>th:first-child,.panel>.table-bordered>thead>tr>td:first-child,.panel>.table-bordered>tbody>tr>th:first-child,.panel>.table-bordered>tbody>tr>td:first-child,.panel>.table-bordered>tfoot>tr>th:first-child,.panel>.table-bordered>tfoot>tr>td:first-child,.panel>.table-responsive>.table-bordered>thead>tr>th:first-child,.panel>.table-responsive>.table-bordered>thead>tr>td:first-child,.panel>.table-responsive>.table-bordered>tbody>tr>th:first-child,.panel>.table-responsive>.table-bordered>tbody>tr>td:first-child,.panel>.table-responsive>.table-bordered>tfoot>tr>th:first-child,.panel>.table-responsive>.table-bordered>tfoot>tr>td:first-child{border-left:0}.panel>.table-bordered>thead>tr>th:last-child,.panel>.table-bordered>thead>tr>td:last-child,.panel>.table-bordered>tbody>tr>th:last-child,.panel>.table-bordered>tbody>tr>td:last-child,.panel>.table-bordered>tfoot>tr>th:last-child,.panel>.table-bordered>tfoot>tr>td:last-child,.panel>.table-responsive>.table-bordered>thead>tr>th:last-child,.panel>.table-responsive>.table-bordered>thead>tr>td:last-child,.panel>.table-responsive>.table-bordered>tbody>tr>th:last-child,.panel>.table-responsive>.table-bordered>tbody>tr>td:last-child,.panel>.table-responsive>.table-bordered>tfoot>tr>th:last-child,.panel>.table-responsive>.table-bordered>tfoot>tr>td:last-child{border-right:0}.panel>.table-bordered>thead>tr:first-child>td,.panel>.table-bordered>thead>tr:first-child>th,.panel>.table-bordered>tbody>tr:first-child>td,.panel>.table-bordered>tbody>tr:first-child>th,.panel>.table-responsive>.table-bordered>thead>tr:first-child>td,.panel>.table-responsive>.table-bordered>thead>tr:first-child>th,.panel>.table-responsive>.table-bordered>tbody>tr:first-child>td,.panel>.table-responsive>.table-bordered>tbody>tr:first-child>th{border-bottom:0}.panel>.table-bordered>tbody>tr:last-child>td,.panel>.table-bordered>tbody>tr:last-child>th,.panel>.table-bordered>tfoot>tr:last-child>td,.panel>.table-bordered>tfoot>tr:last-child>th,.panel>.table-responsive>.table-bordered>tbody>tr:last-child>td,.panel>.table-responsive>.table-bordered>tbody>tr:last-child>th,.panel>.table-responsive>.table-bordered>tfoot>tr:last-child>td,.panel>.table-responsive>.table-bordered>tfoot>tr:last-child>th{border-bottom:0}.panel>.table-responsive{border:0;margin-bottom:0}.panel-group{margin-bottom:1.6rem}.panel-group .panel{margin-bottom:0;border-radius:4px}.panel-group .panel+.panel{margin-top:5px}.panel-group .panel-heading{border-bottom:0}.panel-group .panel-heading+.panel-collapse>.panel-body,.panel-group .panel-heading+.panel-collapse>.list-group{border-top:1px solid transparent}.panel-group .panel-footer{border-top:0}.panel-group .panel-footer+.panel-collapse .panel-body{border-bottom:1px solid transparent}.panel-default{border-color:#ddd}.panel-default>.panel-heading{color:#5e666c;background-color:transparent;border-color:#ddd}.panel-default>.panel-heading+.panel-collapse>.panel-body{border-top-color:#ddd}.panel-default>.panel-heading .badge{color:transparent;background-color:#5e666c}.panel-default>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#ddd}.panel-primary{border-color:#0bb}.panel-primary>.panel-heading{color:#fff;background-color:#0bb;border-color:#0bb}.panel-primary>.panel-heading+.panel-collapse>.panel-body{border-top-color:#0bb}.panel-primary>.panel-heading .badge{color:#0bb;background-color:#fff}.panel-primary>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#0bb}.panel-success{border-color:transparent}.panel-success>.panel-heading{color:#48a71c;background-color:#f3faec;border-color:transparent}.panel-success>.panel-heading+.panel-collapse>.panel-body{border-top-color:transparent}.panel-success>.panel-heading .badge{color:#f3faec;background-color:#48a71c}.panel-success>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:transparent}.panel-info{border-color:transparent}.panel-info>.panel-heading{color:#0aa;background-color:#edfafa;border-color:transparent}.panel-info>.panel-heading+.panel-collapse>.panel-body{border-top-color:transparent}.panel-info>.panel-heading .badge{color:#edfafa;background-color:#0aa}.panel-info>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:transparent}.panel-warning{border-color:transparent}.panel-warning>.panel-heading{color:#ff6316;background-color:#fff6ec;border-color:transparent}.panel-warning>.panel-heading+.panel-collapse>.panel-body{border-top-color:transparent}.panel-warning>.panel-heading .badge{color:#fff6ec;background-color:#ff6316}.panel-warning>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:transparent}.panel-danger{border-color:transparent}.panel-danger>.panel-heading{color:#ff694b;background-color:#fff5f4;border-color:transparent}.panel-danger>.panel-heading+.panel-collapse>.panel-body{border-top-color:transparent}.panel-danger>.panel-heading .badge{color:#fff5f4;background-color:#ff694b}.panel-danger>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:transparent}.well{min-height:20px;padding:19px;margin-bottom:20px;background-color:#f0f2f4;border:1px solid transparent;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.05);box-shadow:inset 0 1px 1px rgba(0,0,0,0.05)}.well blockquote{border-color:#ddd;border-color:rgba(0,0,0,0.15)}.well-lg{padding:24px;border-radius:4px}.well-sm{padding:9px;border-radius:4px}.close{float:right;font-size:1.5rem;font-weight:bold;line-height:1;color:#000;text-shadow:0 1px 0 #fff;opacity:.2;filter:alpha(opacity=20)}.close:hover,.close:focus{color:#000;text-decoration:none;cursor:pointer;opacity:.5;filter:alpha(opacity=50)}button.close{padding:0;cursor:pointer;background:transparent;border:0;-webkit-appearance:none}.modal-open{overflow:hidden}.modal{display:none;overflow:hidden;position:fixed;top:0;right:0;bottom:0;left:0;z-index:1050;-webkit-overflow-scrolling:touch;outline:0}.modal.fade .modal-dialog{-webkit-transform:translate(0, -25%);-ms-transform:translate(0, -25%);-o-transform:translate(0, -25%);transform:translate(0, -25%);-webkit-transition:-webkit-transform 0.3s ease-out;-moz-transition:-moz-transform 0.3s ease-out;-o-transition:-o-transform 0.3s ease-out;transition:transform 0.3s ease-out}.modal.in .modal-dialog{-webkit-transform:translate(0, 0);-ms-transform:translate(0, 0);-o-transform:translate(0, 0);transform:translate(0, 0)}.modal-open .modal{overflow-x:hidden;overflow-y:auto}.modal-dialog{position:relative;width:auto;margin:10px}.modal-content{position:relative;background-color:transparent;border:1px solid transparent;border:1px solid transparent;border-radius:4px;-webkit-box-shadow:0 3px 9px rgba(0,0,0,0.5);box-shadow:0 3px 9px rgba(0,0,0,0.5);background-clip:padding-box;outline:0}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040;background-color:#f0f2f4}.modal-backdrop.fade{opacity:0;filter:alpha(opacity=0)}.modal-backdrop.in{opacity:.75;filter:alpha(opacity=75)}.modal-header{padding:0;border-bottom:1px solid transparent}.modal-header:before,.modal-header:after{content:" ";display:table}.modal-header:after{clear:both}.modal-header .close{margin-top:-2px}.modal-title{margin:0;line-height:1.6}.modal-body{position:relative;padding:0}.modal-footer{padding:0;text-align:right;border-top:1px solid transparent}.modal-footer:before,.modal-footer:after{content:" ";display:table}.modal-footer:after{clear:both}.modal-footer .btn+.btn{margin-left:5px;margin-bottom:0}.modal-footer .btn-group .btn+.btn{margin-left:-1px}.modal-footer .btn-block+.btn-block{margin-left:0}.modal-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}@media (min-width: 540px){.modal-dialog{width:768px;margin:30px auto}.modal-content{-webkit-box-shadow:0 5px 15px rgba(0,0,0,0.5);box-shadow:0 5px 15px rgba(0,0,0,0.5)}.modal-sm{width:400px}}@media (min-width: 768px){.modal-lg{width:960px}}.tooltip{position:absolute;z-index:1070;display:block;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Fira Sans","Droid Sans","Helvetica Neue",Helvetica,Arial,sans-serif;font-style:normal;font-weight:normal;letter-spacing:normal;line-break:auto;line-height:1.6;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;white-space:normal;word-break:normal;word-spacing:normal;word-wrap:normal;font-size:.9285714286rem;opacity:0;filter:alpha(opacity=0)}.tooltip.in{opacity:1;filter:alpha(opacity=100)}.tooltip.top{margin-top:-3px;padding:5px 0}.tooltip.right{margin-left:3px;padding:0 5px}.tooltip.bottom{margin-top:3px;padding:5px 0}.tooltip.left{margin-left:-3px;padding:0 5px}.tooltip-inner{max-width:300px;padding:3px 8px;color:#fff;text-align:center;background-color:#007699;border-radius:4px}.tooltip-arrow{position:absolute;width:0;height:0;border-color:transparent;border-style:solid}.tooltip.top .tooltip-arrow{bottom:0;left:50%;margin-left:-5px;border-width:5px 5px 0;border-top-color:#007699}.tooltip.top-left .tooltip-arrow{bottom:0;right:5px;margin-bottom:-5px;border-width:5px 5px 0;border-top-color:#007699}.tooltip.top-right .tooltip-arrow{bottom:0;left:5px;margin-bottom:-5px;border-width:5px 5px 0;border-top-color:#007699}.tooltip.right .tooltip-arrow{top:50%;left:0;margin-top:-5px;border-width:5px 5px 5px 0;border-right-color:#007699}.tooltip.left .tooltip-arrow{top:50%;right:0;margin-top:-5px;border-width:5px 0 5px 5px;border-left-color:#007699}.tooltip.bottom .tooltip-arrow{top:0;left:50%;margin-left:-5px;border-width:0 5px 5px;border-bottom-color:#007699}.tooltip.bottom-left .tooltip-arrow{top:0;right:5px;margin-top:-5px;border-width:0 5px 5px;border-bottom-color:#007699}.tooltip.bottom-right .tooltip-arrow{top:0;left:5px;margin-top:-5px;border-width:0 5px 5px;border-bottom-color:#007699}.popover{position:absolute;top:0;left:0;z-index:1060;display:none;max-width:400px;padding:1px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Fira Sans","Droid Sans","Helvetica Neue",Helvetica,Arial,sans-serif;font-style:normal;font-weight:normal;letter-spacing:normal;line-break:auto;line-height:1.6;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;white-space:normal;word-break:normal;word-spacing:normal;word-wrap:normal;font-size:1rem;background-color:#ff694b;background-clip:padding-box;border:1px solid transparent;border:1px solid transparent;border-radius:4px;-webkit-box-shadow:0 5px 10px rgba(0,0,0,0.2);box-shadow:0 5px 10px rgba(0,0,0,0.2)}.popover.top{margin-top:-10px}.popover.right{margin-left:10px}.popover.bottom{margin-top:10px}.popover.left{margin-left:-10px}.popover-title{margin:0;padding:8px 14px;font-size:1rem;background-color:transparent;border-bottom:1px solid transparent;border-radius:3px 3px 0 0}.popover-content{padding:9px 14px}.popover>.arrow,.popover>.arrow:after{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid}.popover>.arrow{border-width:0}.popover>.arrow:after{border-width:10px;content:""}.popover.top>.arrow{left:50%;margin-left:0;border-bottom-width:0;border-top-color:transparent;border-top-color:transparent;bottom:0}.popover.top>.arrow:after{content:" ";bottom:1px;margin-left:-10px;border-bottom-width:0;border-top-color:#ff694b}.popover.right>.arrow{top:50%;left:0;margin-top:0;border-left-width:0;border-right-color:transparent;border-right-color:transparent}.popover.right>.arrow:after{content:" ";left:1px;bottom:-10px;border-left-width:0;border-right-color:#ff694b}.popover.bottom>.arrow{left:50%;margin-left:0;border-top-width:0;border-bottom-color:transparent;border-bottom-color:transparent;top:0}.popover.bottom>.arrow:after{content:" ";top:1px;margin-left:-10px;border-top-width:0;border-bottom-color:#ff694b}.popover.left>.arrow{top:50%;right:0;margin-top:0;border-right-width:0;border-left-color:transparent;border-left-color:transparent}.popover.left>.arrow:after{content:" ";right:1px;border-right-width:0;border-left-color:#ff694b;bottom:-10px}.carousel{position:relative}.carousel-inner{position:relative;overflow:hidden;width:100%}.carousel-inner>.item{display:none;position:relative;-webkit-transition:0.6s ease-in-out left;-o-transition:0.6s ease-in-out left;transition:0.6s ease-in-out left}.carousel-inner>.item>img,.carousel-inner>.item>a>img{display:block;max-width:100%;height:auto;line-height:1}@media all and (transform-3d), (-webkit-transform-3d){.carousel-inner>.item{-webkit-transition:-webkit-transform 0.6s ease-in-out;-moz-transition:-moz-transform 0.6s ease-in-out;-o-transition:-o-transform 0.6s ease-in-out;transition:transform 0.6s ease-in-out;-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;backface-visibility:hidden;-webkit-perspective:1000px;-moz-perspective:1000px;perspective:1000px}.carousel-inner>.item.next,.carousel-inner>.item.active.right{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);left:0}.carousel-inner>.item.prev,.carousel-inner>.item.active.left{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);left:0}.carousel-inner>.item.next.left,.carousel-inner>.item.prev.right,.carousel-inner>.item.active{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);left:0}}.carousel-inner>.active,.carousel-inner>.next,.carousel-inner>.prev{display:block}.carousel-inner>.active{left:0}.carousel-inner>.next,.carousel-inner>.prev{position:absolute;top:0;width:100%}.carousel-inner>.next{left:100%}.carousel-inner>.prev{left:-100%}.carousel-inner>.next.left,.carousel-inner>.prev.right{left:0}.carousel-inner>.active.left{left:-100%}.carousel-inner>.active.right{left:100%}.carousel-control{position:absolute;top:0;left:0;bottom:0;width:120px;opacity:1;filter:alpha(opacity=100);font-size:20px;color:#fff;text-align:center;text-shadow:none;background-color:transparent}.carousel-control.left{background-image:-webkit-linear-gradient(left, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.0001) 100%);background-image:-o-linear-gradient(left, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.0001) 100%);background-image:linear-gradient(to right, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.0001) 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=\'#80000000\', endColorstr=\'#00000000\', GradientType=1)}.carousel-control.right{left:auto;right:0;background-image:-webkit-linear-gradient(left, rgba(0,0,0,0.0001) 0%, rgba(0,0,0,0.5) 100%);background-image:-o-linear-gradient(left, rgba(0,0,0,0.0001) 0%, rgba(0,0,0,0.5) 100%);background-image:linear-gradient(to right, rgba(0,0,0,0.0001) 0%, rgba(0,0,0,0.5) 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=\'#00000000\', endColorstr=\'#80000000\', GradientType=1)}.carousel-control:hover,.carousel-control:focus{outline:0;color:#fff;text-decoration:none;opacity:.9;filter:alpha(opacity=90)}.carousel-control .icon-prev,.carousel-control .icon-next,.carousel-control .glyphicon-chevron-left,.carousel-control .glyphicon-chevron-right{position:absolute;top:50%;margin-top:-10px;z-index:5;display:inline-block}.carousel-control .icon-prev,.carousel-control .glyphicon-chevron-left{left:50%;margin-left:-10px}.carousel-control .icon-next,.carousel-control .glyphicon-chevron-right{right:50%;margin-right:-10px}.carousel-control .icon-prev,.carousel-control .icon-next{width:20px;height:20px;line-height:1;font-family:serif}.carousel-control .icon-prev:before{content:\'\\2039\'}.carousel-control .icon-next:before{content:\'\\203A\'}.carousel-indicators{position:absolute;bottom:10px;left:50%;z-index:15;width:60%;margin-left:-30%;padding-left:0;list-style:none;text-align:center}.carousel-indicators li{display:inline-block;width:10px;height:10px;margin:1px;text-indent:-999px;border:1px solid transparent;border-radius:10px;cursor:pointer;background-color:#000 \\9;background-color:transparent}.carousel-indicators .active{margin:0;width:12px;height:12px;background-color:#fff}.carousel-caption{position:absolute;left:15%;right:15%;bottom:20px;z-index:10;padding-top:20px;padding-bottom:20px;color:#fff;text-align:center;text-shadow:none}.carousel-caption .btn{text-shadow:none}@media screen and (min-width: 540px){.carousel-control .glyphicon-chevron-left,.carousel-control .glyphicon-chevron-right,.carousel-control .icon-prev,.carousel-control .icon-next{width:30px;height:30px;margin-top:-10px;font-size:30px}.carousel-control .glyphicon-chevron-left,.carousel-control .icon-prev{margin-left:-10px}.carousel-control .glyphicon-chevron-right,.carousel-control .icon-next{margin-right:-10px}.carousel-caption{left:20%;right:20%;padding-bottom:30px}.carousel-indicators{bottom:20px}}.clearfix:before,.clearfix:after{content:" ";display:table}.clearfix:after{clear:both}.center-block{display:block;margin-left:auto;margin-right:auto}.pull-right{float:right !important}.pull-left{float:left !important}.hide{display:none !important}.show{display:block !important}.invisible{visibility:hidden}.text-hide{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.hidden{display:none !important}.affix{position:fixed}@font-face{font-family:"arrows";font-weight:normal;font-style:normal;src:url('+r(n(220))+') format("woff")}[class*="arrow-"]:not(.arrow-before):after,[class*="arrow-"].arrow-before:before{font-family:"arrows";text-transform:none;font-style:normal;font-weight:normal;line-height:.5}.arrow-large:not(.arrow-before):after,.arrow-large.arrow-before:before{text-transform:uppercase}.arrow-up:not(.arrow-before):after,.arrow-up.arrow-before:before{content:" a "}.arrow-right:not(.arrow-before):after,.arrow-right.arrow-before:before{content:" b "}.arrow-down:not(.arrow-before):after,.arrow-down.arrow-before:before{content:" c "}.arrow-left:not(.arrow-before):after,.arrow-left.arrow-before:before{content:" d "}.arrow-close:not(.arrow-before):after,.arrow-close.arrow-before:before{content:" e "}.arrow-check:not(.arrow-before):after,.arrow-check.arrow-before:before{content:" f "}@font-face{font-family:"entypo";font-weight:normal;font-style:normal;src:url('+r(n(219))+') format("woff")}[data-icon]{width:24px;height:10px;display:inline-block;vertical-align:middle}[data-icon]:before{display:block;position:relative;margin-top:-1px;top:-5px;speak:none;font-family:"entypo";font-style:normal;font-weight:normal;font-variant:normal;font-size:18px;line-height:1;text-align:center;text-transform:none;text-decoration:inherit}[data-icon].md:before{font-size:20px}[data-icon].lg{width:32px}[data-icon].lg:before{font-size:32px;top:-11px}[data-icon="note"]:before{content:"\\E800"}[data-icon="logo-db"]:before{content:"\\E8DE"}[data-icon="music"]:before{content:"\\E802"}[data-icon="search"]:before{content:"\\E803"}[data-icon="flashlight"]:before{content:"\\E804"}[data-icon="mail"]:before{content:"\\E805"}[data-icon="heart"]:before{content:"\\E80D"}[data-icon="heart-empty"]:before{content:"\\E80F"}[data-icon="star"]:before{content:"\\E810"}[data-icon="star-empty"]:before{content:"\\E813"}[data-icon="user"]:before{content:"\\E814"}[data-icon="users"]:before{content:"\\E817"}[data-icon="user-add"]:before{content:"\\E819"}[data-icon="video"]:before{content:"\\E81A"}[data-icon="picture"]:before{content:"\\E81D"}[data-icon="camera"]:before{content:"\\1F4F7"}[data-icon="layout"]:before{content:"\\E821"}[data-icon="menu"]:before{content:"\\E823"}[data-icon="check"]:before{content:"\\E824"}[data-icon="close"]:before{content:"\\E826"}[data-icon="cancel"]:before{content:"\\E826"}[data-icon="cancel-circled"]:before{content:"\\E806"}[data-icon="cancel-squared"]:before{content:"\\E808"}[data-icon="plus"]:before{content:"+"}[data-icon="plus-circled"]:before{content:"\\E809"}[data-icon="plus-squared"]:before{content:"\\E80A"}[data-icon="minus"]:before{content:"\\2212"}[data-icon="minus-circled"]:before{content:"\\E80E"}[data-icon="minus-squared"]:before{content:"\\E80C"}[data-icon="help"]:before{content:"\\E811"}[data-icon="help-circled"]:before{content:"\\E812"}[data-icon="info"]:before{content:"\\E815"}[data-icon="info-circled"]:before{content:"\\E816"}[data-icon="back"]:before{content:"\\E818"}[data-icon="home"]:before{content:"\\E81B"}[data-icon="link"]:before{content:"\\E81C"}[data-icon="attach"]:before{content:"\\E81F"}[data-icon="lock"]:before{content:"\\1F512"}[data-icon="lock-open"]:before{content:"\\E822"}[data-icon="eye"]:before{content:"\\E825"}[data-icon="tag"]:before{content:"\\E827"}[data-icon="bookmark"]:before{content:"\\1F516"}[data-icon="bookmarks"]:before{content:"\\E837"}[data-icon="flag"]:before{content:"\\E838"}[data-icon="thumbs-up"]:before{content:"\\E840"}[data-icon="thumbs-down"]:before{content:"\\E849"}[data-icon="download"]:before{content:"\\E85D"}[data-icon="upload"]:before{content:"\\E851"}[data-icon="upload-cloud"]:before{content:"\\E86B"}[data-icon="reply"]:before{content:"\\E86C"}[data-icon="reply-all"]:before{content:"\\E87B"}[data-icon="forward"]:before{content:"\\E87C"}[data-icon="quote"]:before{content:"\\E889"}[data-icon="code"]:before{content:"\\E88A"}[data-icon="export"]:before{content:"\\E899"}[data-icon="pencil"]:before{content:"\\270F"}[data-icon="feather"]:before{content:"\\E8A5"}[data-icon="print"]:before{content:"\\E8A8"}[data-icon="retweet"]:before{content:"\\E8A9"}[data-icon="keyboard"]:before{content:"\\2328"}[data-icon="comment"]:before{content:"\\E8AB"}[data-icon="chat"]:before{content:"\\E829"}[data-icon="bell"]:before{content:"\\1F514"}[data-icon="attention"]:before{content:"\\E839"}[data-icon="alert"]:before{content:"\\E841"}[data-icon="vcard"]:before{content:"\\E853"}[data-icon="address"]:before{content:"\\E85C"}[data-icon="location"]:before{content:"\\E852"}[data-icon="map"]:before{content:"\\E84A"}[data-icon="direction"]:before{content:"\\E86D"}[data-icon="compass"]:before{content:"\\E87A"}[data-icon="cup"]:before{content:"\\E850"}[data-icon="trash"]:before{content:"\\E888"}[data-icon="doc"]:before{content:"\\E88B"}[data-icon="docs"]:before{content:"\\E898"}[data-icon="doc-landscape"]:before{content:"\\E89B"}[data-icon="doc-text"]:before{content:"\\E8A6"}[data-icon="doc-text-inv"]:before{content:"\\E8A7"}[data-icon="newspaper"]:before{content:"\\1F4F0"}[data-icon="book-open"]:before{content:"\\E8AD"}[data-icon="book"]:before{content:"\\E8AC"}[data-icon="folder"]:before{content:"\\E82A"}[data-icon="archive"]:before{content:"\\E835"}[data-icon="box"]:before{content:"\\E83A"}[data-icon="rss"]:before{content:"\\E842"}[data-icon="phone"]:before{content:"\\E854"}[data-icon="cog"]:before{content:"\\E85E"}[data-icon="tools"]:before{content:"\\E860"}[data-icon="share"]:before{content:"\\E84B"}[data-icon="shareable"]:before{content:"\\E86E"}[data-icon="basket"]:before{content:"\\E879"}[data-icon="bag"]:before{content:"\\E87E"}[data-icon="calendar"]:before{content:"\\1F4C5"}[data-icon="login"]:before{content:"\\E88C"}[data-icon="logout"]:before{content:"\\E897"}[data-icon="mic"]:before{content:"\\E84D"}[data-icon="mute"]:before{content:"\\E84E"}[data-icon="sound"]:before{content:"\\E8AE"}[data-icon="volume"]:before{content:"\\E8B4"}[data-icon="clock"]:before{content:"\\E8AF"}[data-icon="hourglass"]:before{content:"\\231B"}[data-icon="lamp"]:before{content:"\\E82B"}[data-icon="light-down"]:before{content:"\\E834"}[data-icon="light-up"]:before{content:"\\E83B"}[data-icon="adjust"]:before{content:"\\E843"}[data-icon="block"]:before{content:"\\2588"}[data-icon="resize-full"]:before{content:"\\E85F"}[data-icon="resize-small"]:before{content:"\\E861"}[data-icon="popup"]:before{content:"\\E86A"}[data-icon="publish"]:before{content:"\\E86F"}[data-icon="window"]:before{content:"\\E878"}[data-icon="arrow-combo"]:before{content:"\\E87D"}[data-icon="down-circled"]:before{content:"\\E887"}[data-icon="left-circled"]:before{content:"\\E88D"}[data-icon="right-circled"]:before{content:"\\E896"}[data-icon="up-circled"]:before{content:"\\E89C"}[data-icon="down-open"]:before{content:"\\E84C"}[data-icon="left-open"]:before{content:"\\E8B2"}[data-icon="right-open"]:before{content:"\\E8B3"}[data-icon="up-open"]:before{content:"\\E8B5"}[data-icon="down-open-mini"]:before{content:"\\E8B6"}[data-icon="left-open-mini"]:before{content:"\\E833"}[data-icon="right-open-mini"]:before{content:"\\E832"}[data-icon="up-open-mini"]:before{content:"\\E83C"}[data-icon="down-open-big"]:before{content:"\\E844"}[data-icon="left-open-big"]:before{content:"\\E855"}[data-icon="right-open-big"]:before{content:"\\E85B"}[data-icon="up-open-big"]:before{content:"\\E862"}[data-icon="down"]:before{content:"\\E869"}[data-icon="left"]:before{content:"\\E870"}[data-icon="right"]:before{content:"\\E877"}[data-icon="up"]:before{content:"\\E87F"}[data-icon="down-dir"]:before{content:"\\E886"}[data-icon="left-dir"]:before{content:"\\E88E"}[data-icon="right-dir"]:before{content:"\\E895"}[data-icon="up-dir"]:before{content:"\\E89D"}[data-icon="down-bold"]:before{content:"\\E8A4"}[data-icon="left-bold"]:before{content:"\\E8BA"}[data-icon="right-bold"]:before{content:"\\E8B9"}[data-icon="up-bold"]:before{content:"\\E8B8"}[data-icon="down-thin"]:before{content:"\\E8B7"}[data-icon="left-thin"]:before{content:"\\E82C"}[data-icon="note-beamed"]:before{content:"\\E801"}[data-icon="up-thin"]:before{content:"\\E83D"}[data-icon="cw"]:before{content:"\\E856"}[data-icon="arrows-ccw"]:before{content:"\\E85A"}[data-icon="level-down"]:before{content:"\\E863"}[data-icon="level-up"]:before{content:"\\E868"}[data-icon="shuffle"]:before{content:"\\E871"}[data-icon="loop"]:before{content:"\\E876"}[data-icon="switch"]:before{content:"\\E880"}[data-icon="play"]:before{content:"\\E885"}[data-icon="stop"]:before{content:"\\E88F"}[data-icon="pause"]:before{content:"\\E894"}[data-icon="record"]:before{content:"\\E89E"}[data-icon="to-end"]:before{content:"\\E8A3"}[data-icon="to-start"]:before{content:"\\E8BB"}[data-icon="fast-forward"]:before{content:"\\E8BC"}[data-icon="fast-backward"]:before{content:"\\E8BD"}[data-icon="progress-0"]:before{content:"\\E8BE"}[data-icon="progress-1"]:before{content:"\\E82D"}[data-icon="progress-2"]:before{content:"\\E830"}[data-icon="progress-3"]:before{content:"\\E83E"}[data-icon="target"]:before{content:"\\E857"}[data-icon="palette"]:before{content:"\\E847"}[data-icon="list"]:before{content:"\\E859"}[data-icon="list-add"]:before{content:"\\E864"}[data-icon="signal"]:before{content:"\\E867"}[data-icon="trophy"]:before{content:"\\1F3C6"}[data-icon="battery"]:before{content:"\\1F50B"}[data-icon="back-in-time"]:before{content:"\\E881"}[data-icon="monitor"]:before{content:"\\E884"}[data-icon="mobile"]:before{content:"\\E890"}[data-icon="network"]:before{content:"\\E893"}[data-icon="cd"]:before{content:"\\E89F"}[data-icon="inbox"]:before{content:"\\E8A2"}[data-icon="install"]:before{content:"\\E8C2"}[data-icon="globe"]:before{content:"\\E8C1"}[data-icon="cloud"]:before{content:"\\2601"}[data-icon="cloud-thunder"]:before{content:"\\E8BF"}[data-icon="flash"]:before{content:"\\E82E"}[data-icon="moon"]:before{content:"\\E82F"}[data-icon="flight"]:before{content:"\\E83F"}[data-icon="paper-plane"]:before{content:"\\E845"}[data-icon="leaf"]:before{content:"\\E846"}[data-icon="lifebuoy"]:before{content:"\\E858"}[data-icon="mouse"]:before{content:"\\1F401"}[data-icon="briefcase"]:before{content:"\\1F4BC"}[data-icon="suitcase"]:before{content:"\\E873"}[data-icon="dot"]:before{content:"\\E874"}[data-icon="dot-2"]:before{content:"\\E882"}[data-icon="dot-3"]:before{content:"\\E883"}[data-icon="brush"]:before{content:"\\E891"}[data-icon="magnet"]:before{content:"\\E892"}[data-icon="infinity"]:before{content:"\\221E"}[data-icon="erase"]:before{content:"\\E8A1"}[data-icon="chart-pie"]:before{content:"\\E8C3"}[data-icon="chart-line"]:before{content:"\\E8C4"}[data-icon="chart-bar"]:before{content:"\\E8C5"}[data-icon="chart-area"]:before{content:"\\E8C6"}[data-icon="tape"]:before{content:"\\E8C7"}[data-icon="graduation-cap"]:before{content:"\\E8D2"}[data-icon="language"]:before{content:"\\E8D4"}[data-icon="ticket"]:before{content:"\\1F3AB"}[data-icon="water"]:before{content:"\\E8DA"}[data-icon="droplet"]:before{content:"\\1F4A7"}[data-icon="air"]:before{content:"\\E8E3"}[data-icon="credit-card"]:before{content:"\\E8EA"}[data-icon="floppy"]:before{content:"\\E8EB"}[data-icon="clipboard"]:before{content:"\\1F4CB"}[data-icon="megaphone"]:before{content:"\\E8F3"}[data-icon="database"]:before{content:"\\E8FA"}[data-icon="drive"]:before{content:"\\E8FC"}[data-icon="bucket"]:before{content:"\\E902"}[data-icon="thermometer"]:before{content:"\\E903"}[data-icon="key"]:before{content:"\\1F511"}[data-icon="flow-cascade"]:before{content:"\\E90B"}[data-icon="flow-branch"]:before{content:"\\E912"}[data-icon="flow-tree"]:before{content:"\\E913"}[data-icon="flow-line"]:before{content:"\\E91A"}[data-icon="flow-parallel"]:before{content:"\\E8C8"}[data-icon="rocket"]:before{content:"\\1F680"}[data-icon="gauge"]:before{content:"\\E8D3"}[data-icon="traffic-cone"]:before{content:"\\E8D8"}[data-icon="cc"]:before{content:"\\E8DB"}[data-icon="cc-by"]:before{content:"\\E8E1"}[data-icon="cc-nc"]:before{content:"\\E8E4"}[data-icon="cc-nc-eu"]:before{content:"\\E8E9"}[data-icon="cc-nc-jp"]:before{content:"\\E8EC"}[data-icon="cc-sa"]:before{content:"\\E8F1"}[data-icon="cc-nd"]:before{content:"\\E8F4"}[data-icon="cc-pd"]:before{content:"\\E8F9"}[data-icon="cc-zero"]:before{content:"\\E8FB"}[data-icon="cc-share"]:before{content:"\\E901"}[data-icon="cc-remix"]:before{content:"\\E904"}[data-icon="github"]:before{content:"\\E909"}[data-icon="github-circled"]:before{content:"\\E90C"}[data-icon="flickr"]:before{content:"\\E911"}[data-icon="flickr-circled"]:before{content:"\\E914"}[data-icon="vimeo"]:before{content:"\\E919"}[data-icon="vimeo-circled"]:before{content:"\\E8C9"}[data-icon="twitter"]:before{content:"\\E8D0"}[data-icon="twitter-circled"]:before{content:"\\E8D6"}[data-icon="facebook"]:before{content:"\\E8D7"}[data-icon="facebook-circled"]:before{content:"\\E8DC"}[data-icon="facebook-squared"]:before{content:"\\E8E0"}[data-icon="gplus"]:before{content:"\\E8E5"}[data-icon="gplus-circled"]:before{content:"\\E8E8"}[data-icon="pinterest"]:before{content:"\\E8ED"}[data-icon="pinterest-circled"]:before{content:"\\E8F0"}[data-icon="tumblr"]:before{content:"\\E8F5"}[data-icon="tumblr-circled"]:before{content:"\\E8F8"}[data-icon="linkedin"]:before{content:"\\E8FD"}[data-icon="linkedin-circled"]:before{content:"\\E900"}[data-icon="dribbble"]:before{content:"\\E905"}[data-icon="dribbble-circled"]:before{content:"\\E908"}[data-icon="stumbleupon"]:before{content:"\\E90D"}[data-icon="stumbleupon-circled"]:before{content:"\\E910"}[data-icon="lastfm"]:before{content:"\\E915"}[data-icon="lastfm-circled"]:before{content:"\\E918"}[data-icon="rdio"]:before{content:"\\E8CA"}[data-icon="rdio-circled"]:before{content:"\\E8D5"}[data-icon="spotify"]:before{content:"\\E8CF"}[data-icon="spotify-circled"]:before{content:"\\E8CE"}[data-icon="qq"]:before{content:"\\E8DD"}[data-icon="instagram"]:before{content:"\\E8DF"}[data-icon="dropbox"]:before{content:"\\E8E6"}[data-icon="evernote"]:before{content:"\\E8E7"}[data-icon="flattr"]:before{content:"\\E8EE"}[data-icon="skype"]:before{content:"\\E8EF"}[data-icon="skype-circled"]:before{content:"\\E8F6"}[data-icon="renren"]:before{content:"\\E8F7"}[data-icon="sina-weibo"]:before{content:"\\E8FE"}[data-icon="paypal"]:before{content:"\\E8FF"}[data-icon="picasa"]:before{content:"\\E906"}[data-icon="soundcloud"]:before{content:"\\E907"}[data-icon="mixi"]:before{content:"\\E90E"}[data-icon="behance"]:before{content:"\\E90F"}[data-icon="google-circles"]:before{content:"\\E916"}[data-icon="vkontakte"]:before{content:"\\E917"}[data-icon="smashing"]:before{content:"\\E8CB"}[data-icon="sweden"]:before{content:"\\E8CC"}[data-icon="db-shape"]:before{content:"\\E8CD"}[data-icon="bitbucket"]:before{content:"\\20AC"}*,*:before,*:after{position:relative;outline:none !important;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-smoothing:grayscale}html{-webkit-text-size-adjust:100%;font-size:14px}body{min-width:960px}.block{display:block !important}.inline{display:inline !important}.inline-block{display:inline-block !important}.invisible{visibility:hidden}.hidden{display:none}.blocklink{display:block;color:inherit;text-decoration:none !important}.blocklink:hover,.blocklink:focus{color:inherit}.fill{display:block;position:absolute;width:100%;height:100%;top:0;left:0}.full{display:block;position:absolute;width:100%;height:100%;top:0;left:0;position:fixed}.cover{display:block;position:absolute;left:0;top:0;bottom:0;right:0}.clear:after{display:table;content:\'\';clear:both}.clean{margin:0;padding:0;border:0;list-style-type:none}.clean li{margin:0;padding:0;list-style-type:none}.trim>*:first-child{margin-top:0}.trim>*:last-child{margin-bottom:0}.snug>*{margin-top:.5rem;margin-bottom:.5rem}.snug>*:first-child{margin-top:0}.snug>*:last-child{margin-bottom:0}.compact *{margin-top:0;margin-bottom:0}.component{display:block;border-width:0;background:white;box-shadow:0 0 0 1px rgba(0,30,60,0.03),0 3px 3px -1.5px rgba(0,0,0,0.03);border-radius:4px}.transitions{-webkit-transition:all .5s cubic-bezier(0.25, 0, 0, 1);-o-transition:all .5s cubic-bezier(0.25, 0, 0, 1);transition:all .5s cubic-bezier(0.25, 0, 0, 1)}.margin,.margin-top{margin-top:2em}.margin,.margin-bottom{margin-bottom:2em}.margin-small,.margin-small-top{margin-top:1em}.margin-small,.margin-small-bottom{margin-bottom:1em}.padding,.padding-top{padding-top:2em}.padding,.padding-bottom{margin-bottom:2em}.flush,.flush-top{margin-top:0 !important}.flush,.flush-bottom{margin-bottom:0 !important}@media print{html{font-size:9pt}html body{-webkit-print-color-adjust:exact}html a{white-space:nowrap}html,body{background:white !important}font-size:9pt;body{-webkit-print-color-adjust:exact}a{white-space:nowrap}@page{margin:0.75in 1in}}@media screen{html.print{font-size:9pt;font-size:9pt;background:#f9fafb}html.print body{-webkit-print-color-adjust:exact}html.print a{white-space:nowrap}html.print body{-webkit-print-color-adjust:exact}html.print a{white-space:nowrap}html.print body{padding:0.75in 1in;margin:.5in auto;max-width:8.5in;box-shadow:0 0 0 1px rgba(0,30,60,0.03),0 3px 3px -1.5px rgba(0,0,0,0.03);height:auto}}.text-red{color:#ff694b !important}.text-red-dark{color:#ff4f39 !important}.text-red-darker{color:#ff3c2b !important}.text-red-darkest{color:#ff2d21 !important}.text-red-light{color:#ff845e !important}.text-red-lighter{color:#ffa376 !important}.text-red-lightest{color:#ffba94 !important}.text-red-highlight{color:#fff5f4 !important}.bg-red{background-color:#ff694b !important}.bg-red-dark{background-color:#ff4f39 !important}.bg-red-darker{background-color:#ff3c2b !important}.bg-red-darkest{background-color:#ff2d21 !important}.bg-red-light{background-color:#ff845e !important}.bg-red-lighter{background-color:#ffa376 !important}.bg-red-lightest{background-color:#ffba94 !important}.bg-red-highlight{background-color:#fff5f4 !important}.text-orange{color:#ff694b !important}.text-orange-dark{color:#ff4f39 !important}.text-orange-darker{color:#ff3c2b !important}.text-orange-darkest{color:#ff2d21 !important}.text-orange-light{color:#ff845e !important}.text-orange-lighter{color:#ffa376 !important}.text-orange-lightest{color:#ffba94 !important}.text-orange-highlight{color:#fff5f4 !important}.bg-orange{background-color:#ff694b !important}.bg-orange-dark{background-color:#ff4f39 !important}.bg-orange-darker{background-color:#ff3c2b !important}.bg-orange-darkest{background-color:#ff2d21 !important}.bg-orange-light{background-color:#ff845e !important}.bg-orange-lighter{background-color:#ffa376 !important}.bg-orange-lightest{background-color:#ffba94 !important}.bg-orange-highlight{background-color:#fff5f4 !important}.text-yellow{color:#fc0 !important}.text-yellow-dark{color:#ffc000 !important}.text-yellow-darker{color:#ffb100 !important}.text-yellow-darkest{color:#ff9e00 !important}.text-yellow-light{color:#ffd900 !important}.text-yellow-lighter{color:#ffe300 !important}.text-yellow-lightest{color:#ffea00 !important}.text-yellow-highlight{color:#fff8db !important}.bg-yellow{background-color:#fc0 !important}.bg-yellow-dark{background-color:#ffc000 !important}.bg-yellow-darker{background-color:#ffb100 !important}.bg-yellow-darkest{background-color:#ff9e00 !important}.bg-yellow-light{background-color:#ffd900 !important}.bg-yellow-lighter{background-color:#ffe300 !important}.bg-yellow-lightest{background-color:#ffea00 !important}.bg-yellow-highlight{background-color:#fff8db !important}.text-green{color:#7ec631 !important}.text-green-dark{color:#5fb825 !important}.text-green-darker{color:#48a71c !important}.text-green-darkest{color:#369115 !important}.text-green-light{color:#9ed53e !important}.text-green-lighter{color:#b7e04e !important}.text-green-lightest{color:#c9e862 !important}.text-green-highlight{color:#f3faec !important}.bg-green{background-color:#7ec631 !important}.bg-green-dark{background-color:#5fb825 !important}.bg-green-darker{background-color:#48a71c !important}.bg-green-darkest{background-color:#369115 !important}.bg-green-light{background-color:#9ed53e !important}.bg-green-lighter{background-color:#b7e04e !important}.bg-green-lightest{background-color:#c9e862 !important}.bg-green-highlight{background-color:#f3faec !important}.text-blue{color:#0bb !important}.text-blue-dark{color:#0aa !important}.text-blue-darker{color:#009595 !important}.text-blue-darkest{color:#007b7b !important}.text-blue-light{color:#0cc !important}.text-blue-lighter{color:#00d9d9 !important}.text-blue-lightest{color:#00e3e3 !important}.text-blue-highlight{color:#edfafa !important}.bg-blue{background-color:#0bb !important}.bg-blue-dark{background-color:#0aa !important}.bg-blue-darker{background-color:#009595 !important}.bg-blue-darkest{background-color:#007b7b !important}.bg-blue-light{background-color:#0cc !important}.bg-blue-lighter{background-color:#00d9d9 !important}.bg-blue-lightest{background-color:#00e3e3 !important}.bg-blue-highlight{background-color:#edfafa !important}.text-purple{color:#7f6cc5 !important}.text-purple-dark{color:#6051b7 !important}.text-purple-darker{color:#483da5 !important}.text-purple-darkest{color:#362e8f !important}.text-purple-light{color:#9f87d4 !important}.text-purple-lighter{color:#b7a5df !important}.text-purple-lightest{color:#c9bce7 !important}.text-purple-highlight{color:#f8f7fc !important}.bg-purple{background-color:#7f6cc5 !important}.bg-purple-dark{background-color:#6051b7 !important}.bg-purple-darker{background-color:#483da5 !important}.bg-purple-darkest{background-color:#362e8f !important}.bg-purple-light{background-color:#9f87d4 !important}.bg-purple-lighter{background-color:#b7a5df !important}.bg-purple-lightest{background-color:#c9bce7 !important}.bg-purple-highlight{background-color:#f8f7fc !important}.text-navy{color:#005e7a !important}.text-navy-dark{color:#00475c !important}.text-navy-darker{color:#003645 !important}.text-navy-darkest{color:#002934 !important}.text-navy-light{color:#007699 !important}.text-navy-lighter{color:#0094b3 !important}.text-navy-lightest{color:#00afc6 !important}.text-navy-highlight{color:#f4f8f9 !important}.bg-navy{background-color:#005e7a !important}.bg-navy-dark{background-color:#00475c !important}.bg-navy-darker{background-color:#003645 !important}.bg-navy-darkest{background-color:#002934 !important}.bg-navy-light{background-color:#007699 !important}.bg-navy-lighter{background-color:#0094b3 !important}.bg-navy-lightest{background-color:#00afc6 !important}.bg-navy-highlight{background-color:#f4f8f9 !important}.text-gray{color:#8b969e !important}.text-gray-dark{color:#6e7c86 !important}.text-gray-darker{color:#535d68 !important}.text-gray-darkest{color:#3f464e !important}.text-gray-light{color:#a8b1b7 !important}.text-gray-lighter{color:#bec5c9 !important}.text-gray-lightest{color:#cfd4d7 !important}.text-gray-highlight{color:#f7f7f8 !important}.bg-gray{background-color:#8b969e !important}.bg-gray-dark{background-color:#6e7c86 !important}.bg-gray-darker{background-color:#535d68 !important}.bg-gray-darkest{background-color:#3f464e !important}.bg-gray-light{background-color:#a8b1b7 !important}.bg-gray-lighter{background-color:#bec5c9 !important}.bg-gray-lightest{background-color:#cfd4d7 !important}.bg-gray-highlight{background-color:#f7f7f8 !important}.text-success{color:#5fb825 !important}.text-danger{color:#ff4f39 !important}.text-warning{color:#ff821d !important}.text-info{color:#0aa !important}.text-white{color:white !important}.text-light{color:#8b969e !important}.text-lighter{color:#bec5c9 !important}.text-dark{color:#313539 !important}.text-inherit{color:inherit}.text-inherit:hover,.text-inherit:focus{color:inherit}.text-silver{color:#f0f2f4 !important}.text-silver-light{color:#f9fafb !important}.text-silver-dark{color:#e9ebef !important}.text-silver-darker{color:#e4e6eb !important}.text-silver-darkest{color:#dee0e6 !important}.bg-silver{background-color:#f0f2f4}.bg-silver-light{background-color:#f9fafb !important}.bg-silver-dark{background-color:#e9ebef !important}.bg-silver-darker{background-color:#e4e6eb !important}.bg-silver-darkest{background-color:#dee0e6 !important}.bg-transparent{background-color:transparent !important}.faint{opacity:.5}.fainter{opacity:.3}.inherit{color:inherit}::selection{background:#0bb;color:#fff}::-moz-selection{background:#0bb;color:#fff}img{display:block;max-width:100%}[data-bg]{background:transparent no-repeat 50% 50%/cover}body{font-size:1rem;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Fira Sans","Droid Sans","Helvetica Neue",Helvetica,Arial,sans-serif;background:#f9fafb;color:#5e666c}*,dt,dd{line-height:calc(1em + .15 * (5rem - 1em));text-align:inherit}a,.a{cursor:pointer;color:#0bb;text-decoration:none}a:hover,a:focus,.a:hover,.a:focus{text-decoration:none;color:#009595}i,.i,em,.em{font-style:oblique}b,.b,strong,.strong{font-weight:bold}mark{background:#edfafa;color:#313539;padding:.1em 0;border-radius:4px}.normal{font-weight:normal !important}iframe{margin:0;display:block}label{margin:.5em 0;font-weight:normal}hr{margin:3em 0;border-top:1px solid rgba(0,30,60,0.075)}blockquote,ul,ol,p,.field,.table{margin:1.5em 0}h1,.h1,h2,.h2,h3,.h3,h4,.h4,h5,.h5,h6,.h6{margin:1.5em 0 .5em}ul,ol{padding-left:1.25em}dl dt+dd{margin-bottom:1em}blockquote{padding:0;font-size:inherit}small,.small,.text-small{font-size:.9285714286rem}h1,.h1,h2,.h2,h3,.h3,h4,.h4,h5,.h5,h6,.h6{font-weight:bold;letter-spacing:.01em}h5,.h5,h6,.h6,.text-base{font-size:1rem}h4,.h4,.text-large{font-size:1.1428571429rem}h3,.h3,.text-larger{font-size:1.2857142857rem}h1,.h1,h2,.h2,.text-largest{font-size:1.7142857143rem}.text-body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Fira Sans","Droid Sans","Helvetica Neue",Helvetica,Arial,sans-serif}.text-mono{font-family:"Monaco",monospace;font-size:.8571428571rem !important}.text-smallcaps{font-size:10px;text-transform:uppercase;letter-spacing:.1em;color:#8b969e;font-weight:bold;font-style:normal}.text-left{text-align:left !important}.text-right{text-align:right !important}.text-center{text-align:center !important}@media (min-width: 961px){.text-center-large{text-align:center !important}.text-right-large{text-align:right !important}.text-left-large{text-align:left !important}}@media (max-width: 960px){.text-center-small{text-align:center !important}.text-right-small{text-align:right !important}.text-left-small{text-align:left !important}}@media (min-width: 401px){.nowrap{white-space:nowrap}}.condensed{white-space:nowrap;width:1px}.ellipsis{width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.wrap{white-space:normal}.break{word-break:break-word}.buffer,.card,.title,.tokens,.settings{margin-top:20px;margin-bottom:20px}*:first-child{margin-top:0}*:last-child{margin-bottom:0}.margin-right{margin-right:.75em !important}.margin-left{margin-left:.75em !important}.margin-right-small{margin-right:.375em !important}.margin-left-small{margin-left:.375em !important}.icn{font-size:16px;top:-1px;width:1em;height:1em;margin:auto;display:inline-block;vertical-align:middle;-webkit-backface-visibility:hidden;-webkit-transform:translateZ(0);transform:translateZ(0)}.icn use{fill:currentColor}.icn-md{width:1.5em;height:1.5em;-webkit-transform:scale(1.5);transform:scale(1.5);-webkit-transform-origin:0 0;transform-origin:0 0}.icn-lg{width:2em;height:2em;-webkit-transform:scale(2);transform:scale(2);-webkit-transform-origin:0 0;transform-origin:0 0}.glyph{top:-1px;margin:auto;font-size:24px;display:inline-block;vertical-align:middle;transform:translate(0, 0);width:1em;height:1em}.glyph use{fill:none;stroke-width:2;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;transform-origin:0 0;shape-rendering:geometricPrecision}.glyph-solid use{fill:currentColor;stroke-width:0 !important}.glyph-middle,.btn .glyph{margin-top:-10px;margin-bottom:-8px}.glyph-before{margin-right:.25em;margin-left:-.125em}.glyph-after{margin-left:.25em;margin-right:-.125em}.glyph-sm{font-size:16px}.glyph-sm use{stroke-width:3}@media (-webkit-min-device-pixel-ratio: 1.25), (min-device-pixel-ratio: 1.25){.glyph-sm use{stroke-width:2.25}}.glyph-md{font-size:36px}.glyph-md use{stroke-width:1.3333333333}@media (-webkit-min-device-pixel-ratio: 1.25), (min-device-pixel-ratio: 1.25){.glyph-md use{stroke-width:1}}.glyph-lg{font-size:48px}.glyph-lg use{stroke-width:1}@media (-webkit-min-device-pixel-ratio: 1.25), (min-device-pixel-ratio: 1.25){.glyph-lg use{stroke-width:.75}}.glyph-xl{font-size:72px}.glyph-xl use{stroke-width:.6666666667}@media (-webkit-min-device-pixel-ratio: 1.25), (min-device-pixel-ratio: 1.25){.glyph-xl use{stroke-width:.5}}.glyph-check,.glyph-radio{font-size:18px;border:2px solid currentColor;opacity:.25}.glyph-check use,.glyph-radio use{opacity:0}:hover>.glyph-check,:focus ~ .glyph-check,:hover>.glyph-radio,:focus ~ .glyph-radio{opacity:.5}:checked ~ .glyph-check,:disabled ~ .glyph-check,[type="checkbox"]:indeterminate ~ .glyph-check,:checked ~ .glyph-radio,:disabled ~ .glyph-radio,[type="checkbox"]:indeterminate ~ .glyph-radio{border-color:transparent !important}:checked ~ .glyph-check,[type="checkbox"]:indeterminate ~ .glyph-check,:checked ~ .glyph-radio,[type="checkbox"]:indeterminate ~ .glyph-radio{opacity:1;background:#0bb}:checked ~ .glyph-check use,[type="checkbox"]:indeterminate ~ .glyph-check use,:checked ~ .glyph-radio use,[type="checkbox"]:indeterminate ~ .glyph-radio use{opacity:1;color:white}:checked:hover ~ .glyph-check,:checked:focus ~ .glyph-check,[type="checkbox"]:indeterminate:hover ~ .glyph-check,[type="checkbox"]:indeterminate:focus ~ .glyph-check,:hover>:checked ~ .glyph-check,:focus>:checked ~ .glyph-check,:checked:hover ~ .glyph-radio,:checked:focus ~ .glyph-radio,[type="checkbox"]:indeterminate:hover ~ .glyph-radio,[type="checkbox"]:indeterminate:focus ~ .glyph-radio,:hover>:checked ~ .glyph-radio,:focus>:checked ~ .glyph-radio{background:#009595}[type="checkbox"]:indeterminate ~ .glyph-check use,[type="checkbox"]:indeterminate ~ .glyph-radio use{fill:currentColor;stroke:transparent}:disabled ~ .glyph-check,:checked:disabled ~ .glyph-check,[type="checkbox"]:indeterminate:disabled ~ .glyph-check,:disabled ~ .glyph-radio,:checked:disabled ~ .glyph-radio,[type="checkbox"]:indeterminate:disabled ~ .glyph-radio{opacity:.5;background:#dee0e6;color:inherit}:disabled ~ .glyph-check use,:checked:disabled ~ .glyph-check use,[type="checkbox"]:indeterminate:disabled ~ .glyph-check use,:disabled ~ .glyph-radio use,:checked:disabled ~ .glyph-radio use,[type="checkbox"]:indeterminate:disabled ~ .glyph-radio use{color:inherit}.glyph-radio{border-radius:50%}.glyph-radio use{fill:currentColor}.glyph-check{border-radius:4px}select:not([multiple]).form-control{background-size:.75em .75em;background-repeat:no-repeat;background-image:url('+r(n(218))+');background-position:calc( 100% - .875em ) 50%;padding-top:0;padding-bottom:0;padding-right:2.25em}select:not([multiple]).form-control::-ms-value{background:transparent !important}.bootstrap-select button{background-repeat:no-repeat;background-size:auto 1em;background-position:calc(100% - 1.25rem + 5px) 50%;background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48cG9seWxpbmUgcG9pbnRzPSI0LjUgNiA4IDkuNSAxMS41IDYiIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzAwOTRiMyIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiAvPjxyZWN0IHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgZmlsbD0ibm9uZSIvPjwvc3ZnPg==");padding-right:2em !important;-moz-appearance:none}.bootstrap-select button.input-sm,.bootstrap-select .input-group-sm>button.form-control,.bootstrap-select .input-group-sm>button.input-group-addon,.bootstrap-select .input-group-sm>.input-group-btn>button.btn,.bootstrap-select button.sm{background-position:calc(100% - .875rem + 5px) 50%}.bootstrap-select button.input-lg,.bootstrap-select .input-group-lg>button.form-control,.bootstrap-select .input-group-lg>button.input-group-addon,.bootstrap-select .input-group-lg>.input-group-btn>button.btn,.bootstrap-select button.lg{background-position:calc(100% - 1.875rem + 5px) 50%}.bootstrap-select button::-ms-expand{display:none}.btn input,.form-control input,.option input{position:absolute;opacity:0}.option{margin:0}.option:not(.input-group-addon){padding-left:0 !important}.option-flush{padding-left:0 !important;padding-right:0 !important}.option.input-group-addon{padding-left:.875rem;padding-right:.875rem}.option .glyph{margin-right:.375em}/*! jQuery UI - v1.12.1 - 2017-01-20\n* http://jqueryui.com\n* Copyright jQuery Foundation and other contributors; Licensed MIT */.ui-draggable-handle{-ms-touch-action:none;touch-action:none}.ui-helper-hidden{display:none}.ui-helper-hidden-accessible{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.ui-helper-reset{margin:0;padding:0;border:0;outline:0;line-height:1.3;text-decoration:none;font-size:100%;list-style:none}.ui-helper-clearfix:before,.ui-helper-clearfix:after{content:"";display:table;border-collapse:collapse}.ui-helper-clearfix:after{clear:both}.ui-helper-zfix{width:100%;height:100%;top:0;left:0;position:absolute;opacity:0;filter:Alpha(Opacity=0)}.ui-front{z-index:100}.ui-state-disabled{cursor:default !important;pointer-events:none}.ui-icon{display:inline-block;vertical-align:middle;margin-top:-.25em;position:relative;text-indent:-99999px;overflow:hidden;background-repeat:no-repeat}.ui-widget-icon-block{left:50%;margin-left:-8px;display:block}.ui-widget-overlay{position:fixed;top:0;left:0;width:100%;height:100%}.ui-resizable{position:relative}.ui-resizable-handle{position:absolute;font-size:0.1px;display:block;-ms-touch-action:none;touch-action:none}.ui-resizable-disabled .ui-resizable-handle,.ui-resizable-autohide .ui-resizable-handle{display:none}.ui-resizable-n{cursor:n-resize;height:7px;width:100%;top:-5px;left:0}.ui-resizable-s{cursor:s-resize;height:7px;width:100%;bottom:-5px;left:0}.ui-resizable-e{cursor:e-resize;width:7px;right:-5px;top:0;height:100%}.ui-resizable-w{cursor:w-resize;width:7px;left:-5px;top:0;height:100%}.ui-resizable-se{cursor:se-resize;width:12px;height:12px;right:1px;bottom:1px}.ui-resizable-sw{cursor:sw-resize;width:9px;height:9px;left:-5px;bottom:-5px}.ui-resizable-nw{cursor:nw-resize;width:9px;height:9px;left:-5px;top:-5px}.ui-resizable-ne{cursor:ne-resize;width:9px;height:9px;right:-5px;top:-5px}.ui-selectable{-ms-touch-action:none;touch-action:none}.ui-selectable-helper{position:absolute;z-index:100;border:1px dotted black}.ui-sortable-handle{-ms-touch-action:none;touch-action:none}.ui-accordion .ui-accordion-header{display:block;cursor:pointer;position:relative;margin:2px 0 0 0;padding:.5em .5em .5em .7em;font-size:100%}.ui-accordion .ui-accordion-content{padding:1em 2.2em;border-top:0;overflow:auto}.ui-autocomplete{position:absolute;top:0;left:0;cursor:default}.ui-menu{list-style:none;padding:0;margin:0;display:block;outline:0}.ui-menu .ui-menu{position:absolute}.ui-menu .ui-menu-item{margin:0;cursor:pointer;list-style-image:url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7")}.ui-menu .ui-menu-item-wrapper{position:relative;padding:3px 1em 3px .4em}.ui-menu .ui-menu-divider{margin:5px 0;height:0;font-size:0;line-height:0;border-width:1px 0 0 0}.ui-menu .ui-state-focus,.ui-menu .ui-state-active{margin:-1px}.ui-menu-icons{position:relative}.ui-menu-icons .ui-menu-item-wrapper{padding-left:2em}.ui-menu .ui-icon{position:absolute;top:0;bottom:0;left:.2em;margin:auto 0}.ui-menu .ui-menu-icon{left:auto;right:0}.ui-button{padding:.4em 1em;display:inline-block;position:relative;line-height:normal;margin-right:.1em;cursor:pointer;vertical-align:middle;text-align:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;overflow:visible}.ui-button,.ui-button:link,.ui-button:visited,.ui-button:hover,.ui-button:active{text-decoration:none}.ui-button-icon-only{width:2em;box-sizing:border-box;text-indent:-9999px;white-space:nowrap}input.ui-button.ui-button-icon-only{text-indent:0}.ui-button-icon-only .ui-icon{position:absolute;top:50%;left:50%;margin-top:-8px;margin-left:-8px}.ui-button.ui-icon-notext .ui-icon{padding:0;width:2.1em;height:2.1em;text-indent:-9999px;white-space:nowrap}input.ui-button.ui-icon-notext .ui-icon{width:auto;height:auto;text-indent:0;white-space:normal;padding:.4em 1em}input.ui-button::-moz-focus-inner,button.ui-button::-moz-focus-inner{border:0;padding:0}.ui-controlgroup{vertical-align:middle;display:inline-block}.ui-controlgroup>.ui-controlgroup-item{float:left;margin-left:0;margin-right:0}.ui-controlgroup>.ui-controlgroup-item:focus,.ui-controlgroup>.ui-controlgroup-item.ui-visual-focus{z-index:9999}.ui-controlgroup-vertical>.ui-controlgroup-item{display:block;float:none;width:100%;margin-top:0;margin-bottom:0;text-align:left}.ui-controlgroup-vertical .ui-controlgroup-item{box-sizing:border-box}.ui-controlgroup .ui-controlgroup-label{padding:.4em 1em}.ui-controlgroup .ui-controlgroup-label span{font-size:80%}.ui-controlgroup-horizontal .ui-controlgroup-label+.ui-controlgroup-item{border-left:none}.ui-controlgroup-vertical .ui-controlgroup-label+.ui-controlgroup-item{border-top:none}.ui-controlgroup-horizontal .ui-controlgroup-label.ui-widget-content{border-right:none}.ui-controlgroup-vertical .ui-controlgroup-label.ui-widget-content{border-bottom:none}.ui-controlgroup-vertical .ui-spinner-input{width:75%;width:calc( 100% - 2.4em )}.ui-controlgroup-vertical .ui-spinner .ui-spinner-up{border-top-style:solid}.ui-checkboxradio-label .ui-icon-background{box-shadow:inset 1px 1px 1px #ccc;border-radius:.12em;border:none}.ui-checkboxradio-radio-label .ui-icon-background{width:16px;height:16px;border-radius:1em;overflow:visible;border:none}.ui-checkboxradio-radio-label.ui-checkboxradio-checked .ui-icon,.ui-checkboxradio-radio-label.ui-checkboxradio-checked:hover .ui-icon{background-image:none;width:8px;height:8px;border-width:4px;border-style:solid}.ui-checkboxradio-disabled{pointer-events:none}.ui-datepicker{width:17em;padding:.2em .2em 0;display:none}.ui-datepicker .ui-datepicker-header{position:relative;padding:.2em 0}.ui-datepicker .ui-datepicker-prev,.ui-datepicker .ui-datepicker-next{position:absolute;top:2px;width:1.8em;height:1.8em}.ui-datepicker .ui-datepicker-prev-hover,.ui-datepicker .ui-datepicker-next-hover{top:1px}.ui-datepicker .ui-datepicker-prev{left:2px}.ui-datepicker .ui-datepicker-next{right:2px}.ui-datepicker .ui-datepicker-prev-hover{left:1px}.ui-datepicker .ui-datepicker-next-hover{right:1px}.ui-datepicker .ui-datepicker-prev span,.ui-datepicker .ui-datepicker-next span{display:block;position:absolute;left:50%;margin-left:-8px;top:50%;margin-top:-8px}.ui-datepicker .ui-datepicker-title{margin:0 2.3em;line-height:1.8em;text-align:center}.ui-datepicker .ui-datepicker-title select{font-size:1em;margin:1px 0}.ui-datepicker select.ui-datepicker-month,.ui-datepicker select.ui-datepicker-year{width:45%}.ui-datepicker table{width:100%;font-size:.9em;border-collapse:collapse;margin:0 0 .4em}.ui-datepicker th{padding:.7em .3em;text-align:center;font-weight:bold;border:0}.ui-datepicker td{border:0;padding:1px}.ui-datepicker td span,.ui-datepicker td a{display:block;padding:.2em;text-align:right;text-decoration:none}.ui-datepicker .ui-datepicker-buttonpane{background-image:none;margin:.7em 0 0 0;padding:0 .2em;border-left:0;border-right:0;border-bottom:0}.ui-datepicker .ui-datepicker-buttonpane button{float:right;margin:.5em .2em .4em;cursor:pointer;padding:.2em .6em .3em .6em;width:auto;overflow:visible}.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current{float:left}.ui-datepicker.ui-datepicker-multi{width:auto}.ui-datepicker-multi .ui-datepicker-group{float:left}.ui-datepicker-multi .ui-datepicker-group table{width:95%;margin:0 auto .4em}.ui-datepicker-multi-2 .ui-datepicker-group{width:50%}.ui-datepicker-multi-3 .ui-datepicker-group{width:33.3%}.ui-datepicker-multi-4 .ui-datepicker-group{width:25%}.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header,.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header{border-left-width:0}.ui-datepicker-multi .ui-datepicker-buttonpane{clear:left}.ui-datepicker-row-break{clear:both;width:100%;font-size:0}.ui-datepicker-rtl{direction:rtl}.ui-datepicker-rtl .ui-datepicker-prev{right:2px;left:auto}.ui-datepicker-rtl .ui-datepicker-next{left:2px;right:auto}.ui-datepicker-rtl .ui-datepicker-prev:hover{right:1px;left:auto}.ui-datepicker-rtl .ui-datepicker-next:hover{left:1px;right:auto}.ui-datepicker-rtl .ui-datepicker-buttonpane{clear:right}.ui-datepicker-rtl .ui-datepicker-buttonpane button{float:left}.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current,.ui-datepicker-rtl .ui-datepicker-group{float:right}.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header,.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header{border-right-width:0;border-left-width:1px}.ui-datepicker .ui-icon{display:block;text-indent:-99999px;overflow:hidden;background-repeat:no-repeat;left:.5em;top:.3em}.ui-dialog{position:absolute;top:0;left:0;padding:.2em;outline:0}.ui-dialog .ui-dialog-titlebar{padding:.4em 1em;position:relative}.ui-dialog .ui-dialog-title{float:left;margin:.1em 0;white-space:nowrap;width:90%;overflow:hidden;text-overflow:ellipsis}.ui-dialog .ui-dialog-titlebar-close{position:absolute;right:.3em;top:50%;width:20px;margin:-10px 0 0 0;padding:1px;height:20px}.ui-dialog .ui-dialog-content{position:relative;border:0;padding:.5em 1em;background:none;overflow:auto}.ui-dialog .ui-dialog-buttonpane{text-align:left;border-width:1px 0 0 0;background-image:none;margin-top:.5em;padding:.3em 1em .5em .4em}.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset{float:right}.ui-dialog .ui-dialog-buttonpane button{margin:.5em .4em .5em 0;cursor:pointer}.ui-dialog .ui-resizable-n{height:2px;top:0}.ui-dialog .ui-resizable-e{width:2px;right:0}.ui-dialog .ui-resizable-s{height:2px;bottom:0}.ui-dialog .ui-resizable-w{width:2px;left:0}.ui-dialog .ui-resizable-se,.ui-dialog .ui-resizable-sw,.ui-dialog .ui-resizable-ne,.ui-dialog .ui-resizable-nw{width:7px;height:7px}.ui-dialog .ui-resizable-se{right:0;bottom:0}.ui-dialog .ui-resizable-sw{left:0;bottom:0}.ui-dialog .ui-resizable-ne{right:0;top:0}.ui-dialog .ui-resizable-nw{left:0;top:0}.ui-draggable .ui-dialog-titlebar{cursor:move}.ui-progressbar{height:2em;text-align:left;overflow:hidden}.ui-progressbar .ui-progressbar-value{margin:-1px;height:100%}.ui-progressbar .ui-progressbar-overlay{background:url("data:image/gif;base64,R0lGODlhKAAoAIABAAAAAP///yH/C05FVFNDQVBFMi4wAwEAAAAh+QQJAQABACwAAAAAKAAoAAACkYwNqXrdC52DS06a7MFZI+4FHBCKoDeWKXqymPqGqxvJrXZbMx7Ttc+w9XgU2FB3lOyQRWET2IFGiU9m1frDVpxZZc6bfHwv4c1YXP6k1Vdy292Fb6UkuvFtXpvWSzA+HycXJHUXiGYIiMg2R6W459gnWGfHNdjIqDWVqemH2ekpObkpOlppWUqZiqr6edqqWQAAIfkECQEAAQAsAAAAACgAKAAAApSMgZnGfaqcg1E2uuzDmmHUBR8Qil95hiPKqWn3aqtLsS18y7G1SzNeowWBENtQd+T1JktP05nzPTdJZlR6vUxNWWjV+vUWhWNkWFwxl9VpZRedYcflIOLafaa28XdsH/ynlcc1uPVDZxQIR0K25+cICCmoqCe5mGhZOfeYSUh5yJcJyrkZWWpaR8doJ2o4NYq62lAAACH5BAkBAAEALAAAAAAoACgAAAKVDI4Yy22ZnINRNqosw0Bv7i1gyHUkFj7oSaWlu3ovC8GxNso5fluz3qLVhBVeT/Lz7ZTHyxL5dDalQWPVOsQWtRnuwXaFTj9jVVh8pma9JjZ4zYSj5ZOyma7uuolffh+IR5aW97cHuBUXKGKXlKjn+DiHWMcYJah4N0lYCMlJOXipGRr5qdgoSTrqWSq6WFl2ypoaUAAAIfkECQEAAQAsAAAAACgAKAAAApaEb6HLgd/iO7FNWtcFWe+ufODGjRfoiJ2akShbueb0wtI50zm02pbvwfWEMWBQ1zKGlLIhskiEPm9R6vRXxV4ZzWT2yHOGpWMyorblKlNp8HmHEb/lCXjcW7bmtXP8Xt229OVWR1fod2eWqNfHuMjXCPkIGNileOiImVmCOEmoSfn3yXlJWmoHGhqp6ilYuWYpmTqKUgAAIfkECQEAAQAsAAAAACgAKAAAApiEH6kb58biQ3FNWtMFWW3eNVcojuFGfqnZqSebuS06w5V80/X02pKe8zFwP6EFWOT1lDFk8rGERh1TTNOocQ61Hm4Xm2VexUHpzjymViHrFbiELsefVrn6XKfnt2Q9G/+Xdie499XHd2g4h7ioOGhXGJboGAnXSBnoBwKYyfioubZJ2Hn0RuRZaflZOil56Zp6iioKSXpUAAAh+QQJAQABACwAAAAAKAAoAAACkoQRqRvnxuI7kU1a1UU5bd5tnSeOZXhmn5lWK3qNTWvRdQxP8qvaC+/yaYQzXO7BMvaUEmJRd3TsiMAgswmNYrSgZdYrTX6tSHGZO73ezuAw2uxuQ+BbeZfMxsexY35+/Qe4J1inV0g4x3WHuMhIl2jXOKT2Q+VU5fgoSUI52VfZyfkJGkha6jmY+aaYdirq+lQAACH5BAkBAAEALAAAAAAoACgAAAKWBIKpYe0L3YNKToqswUlvznigd4wiR4KhZrKt9Upqip61i9E3vMvxRdHlbEFiEXfk9YARYxOZZD6VQ2pUunBmtRXo1Lf8hMVVcNl8JafV38aM2/Fu5V16Bn63r6xt97j09+MXSFi4BniGFae3hzbH9+hYBzkpuUh5aZmHuanZOZgIuvbGiNeomCnaxxap2upaCZsq+1kAACH5BAkBAAEALAAAAAAoACgAAAKXjI8By5zf4kOxTVrXNVlv1X0d8IGZGKLnNpYtm8Lr9cqVeuOSvfOW79D9aDHizNhDJidFZhNydEahOaDH6nomtJjp1tutKoNWkvA6JqfRVLHU/QUfau9l2x7G54d1fl995xcIGAdXqMfBNadoYrhH+Mg2KBlpVpbluCiXmMnZ2Sh4GBqJ+ckIOqqJ6LmKSllZmsoq6wpQAAAh+QQJAQABACwAAAAAKAAoAAAClYx/oLvoxuJDkU1a1YUZbJ59nSd2ZXhWqbRa2/gF8Gu2DY3iqs7yrq+xBYEkYvFSM8aSSObE+ZgRl1BHFZNr7pRCavZ5BW2142hY3AN/zWtsmf12p9XxxFl2lpLn1rseztfXZjdIWIf2s5dItwjYKBgo9yg5pHgzJXTEeGlZuenpyPmpGQoKOWkYmSpaSnqKileI2FAAACH5BAkBAAEALAAAAAAoACgAAAKVjB+gu+jG4kORTVrVhRlsnn2dJ3ZleFaptFrb+CXmO9OozeL5VfP99HvAWhpiUdcwkpBH3825AwYdU8xTqlLGhtCosArKMpvfa1mMRae9VvWZfeB2XfPkeLmm18lUcBj+p5dnN8jXZ3YIGEhYuOUn45aoCDkp16hl5IjYJvjWKcnoGQpqyPlpOhr3aElaqrq56Bq7VAAAOw==");height:100%;filter:alpha(opacity=25);opacity:0.25}.ui-progressbar-indeterminate .ui-progressbar-value{background-image:none}.ui-selectmenu-menu{padding:0;margin:0;position:absolute;top:0;left:0;display:none}.ui-selectmenu-menu .ui-menu{overflow:auto;overflow-x:hidden;padding-bottom:1px}.ui-selectmenu-menu .ui-menu .ui-selectmenu-optgroup{font-size:1em;font-weight:bold;line-height:1.5;padding:2px 0.4em;margin:0.5em 0 0 0;height:auto;border:0}.ui-selectmenu-open{display:block}.ui-selectmenu-text{display:block;margin-right:20px;overflow:hidden;text-overflow:ellipsis}.ui-selectmenu-button.ui-button{text-align:left;white-space:nowrap;width:14em}.ui-selectmenu-icon.ui-icon{float:right;margin-top:0}.ui-slider{position:relative;text-align:left}.ui-slider .ui-slider-handle{position:absolute;z-index:2;width:1.2em;height:1.2em;cursor:default;-ms-touch-action:none;touch-action:none}.ui-slider .ui-slider-range{position:absolute;z-index:1;font-size:.7em;display:block;border:0;background-position:0 0}.ui-slider.ui-state-disabled .ui-slider-handle,.ui-slider.ui-state-disabled .ui-slider-range{filter:inherit}.ui-slider-horizontal{height:.8em}.ui-slider-horizontal .ui-slider-handle{top:-.3em;margin-left:-.6em}.ui-slider-horizontal .ui-slider-range{top:0;height:100%}.ui-slider-horizontal .ui-slider-range-min{left:0}.ui-slider-horizontal .ui-slider-range-max{right:0}.ui-slider-vertical{width:.8em;height:100px}.ui-slider-vertical .ui-slider-handle{left:-.3em;margin-left:0;margin-bottom:-.6em}.ui-slider-vertical .ui-slider-range{left:0;width:100%}.ui-slider-vertical .ui-slider-range-min{bottom:0}.ui-slider-vertical .ui-slider-range-max{top:0}.ui-spinner{position:relative;display:inline-block;overflow:hidden;padding:0;vertical-align:middle}.ui-spinner-input{border:none;background:none;color:inherit;padding:.222em 0;margin:.2em 0;vertical-align:middle;margin-left:.4em;margin-right:2em}.ui-spinner-button{width:1.6em;height:50%;font-size:.5em;padding:0;margin:0;text-align:center;position:absolute;cursor:default;display:block;overflow:hidden;right:0}.ui-spinner a.ui-spinner-button{border-top-style:none;border-bottom-style:none;border-right-style:none}.ui-spinner-up{top:0}.ui-spinner-down{bottom:0}.ui-tabs{position:relative;padding:.2em}.ui-tabs .ui-tabs-nav{margin:0;padding:.2em .2em 0}.ui-tabs .ui-tabs-nav li{list-style:none;float:left;position:relative;top:0;margin:1px .2em 0 0;border-bottom-width:0;padding:0;white-space:nowrap}.ui-tabs .ui-tabs-nav .ui-tabs-anchor{float:left;padding:.5em 1em;text-decoration:none}.ui-tabs .ui-tabs-nav li.ui-tabs-active{margin-bottom:-1px;padding-bottom:1px}.ui-tabs .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor,.ui-tabs .ui-tabs-nav li.ui-state-disabled .ui-tabs-anchor,.ui-tabs .ui-tabs-nav li.ui-tabs-loading .ui-tabs-anchor{cursor:text}.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor{cursor:pointer}.ui-tabs .ui-tabs-panel{display:block;border-width:0;padding:1em 1.4em;background:none}.ui-widget{font-size:1rem;box-shadow:0 0 0 1px rgba(0,30,60,0.03),0 20px 20px -10px rgba(0,0,0,0.2);background:#fff;border-radius:4px;z-index:1050 !important;border-width:0}.ui-widget .ui-state-active,.ui-widget .ui-state-focus{margin:0;background:#0bb}.ui-widget .ui-state-active,.ui-widget .ui-state-active *,.ui-widget .ui-state-focus,.ui-widget .ui-state-focus *{color:#fff}.ui-widget.ui-datepicker{padding-left:10px;padding-right:10px;-webkit-transition:all 0.1875s cubic-bezier(0.25, 0, 0, 1.375);-o-transition:all 0.1875s cubic-bezier(0.25, 0, 0, 1.375);transition:all 0.1875s cubic-bezier(0.25, 0, 0, 1.375);-webkit-transform:scale(0.75);transform:scale(0.75);-webkit-transition-property:opacity, -webkit-transform;transition-property:opacity, transform}.ui-widget.ui-datepicker.ui-widget-active{-webkit-transform:scale(1);transform:scale(1);-webkit-transform-origin:50% 0;transform-origin:50% 0}.ui-widget.ui-datepicker .ui-datepicker-prev{top:2px !important;left:2px !important}.ui-widget.ui-datepicker .ui-datepicker-next{top:2px !important;right:2px !important}.ui-widget.ui-datepicker .ui-datepicker-month{font-weight:bold}.ui-widget.ui-datepicker tr>* a{text-align:center}.ui-widget.ui-datepicker td a{padding:.3em}.ui-widget.ui-autocomplete{padding:5px 0;max-height:240px;overflow:auto}.ui-widget.ui-autocomplete li{border:0;padding:0}.ui-widget.ui-autocomplete li .ui-menu-item-wrapper{padding:.4464285714rem 1.25rem}.ui-widget.ui-autocomplete li *{margin-top:0;margin-bottom:0}.ui-widget.ui-autocomplete li+li.ui-separator{margin-top:5px;padding-top:6px;border-top:1px solid rgba(0,30,60,0.075)}.ui-widget .ui-icon{overflow:visible}.ui-widget .ui-icon-circle-triangle-w:after,.ui-widget .ui-icon-circle-triangle-e:after{content:\'\';display:block;border:5px solid;border-top-color:transparent;border-bottom-color:transparent;position:absolute;width:0;height:0;top:5px;left:0}.ui-widget .ui-icon-circle-triangle-w:after{border-left-color:transparent}.ui-widget .ui-icon-circle-triangle-e:after{border-right-color:transparent;left:5px}.ui-sortable-handle,.ui-draggable-handle{cursor:move}tr.ui-sortable-helper{box-shadow:0 7px 10px rgba(0,0,0,0.2);border-radius:4px;display:table;z-index:2}tr.ui-sortable-helper>td,tr.ui-sortable-helper th{border:0 !important}tr.ui-sortable-helper>td:first-child,tr.ui-sortable-helper th:first-child{border-top-left-radius:4px;border-bottom-left-radius:4px}tr.ui-sortable-helper>td:last-child,tr.ui-sortable-helper th:last-child{border-top-right-radius:4px;border-bottom-right-radius:4px}.ui-draggable-dragging,.ui-sortable-sorting{z-index:5001 !important}.ui-resizable-n,.ui-resizable-s{cursor:ns-resize}.ui-resizable-e,.ui-resizable-w{cursor:ew-resize}.caret,.dropup .caret,.navbar-fixed-bottom .dropdown .caret{border:0 !important;margin-left:0;width:auto;height:auto;display:inline}.caret:after,.dropup .caret:after,.navbar-fixed-bottom .dropdown .caret:after{font-family:"arrows";text-transform:none;font-style:normal;font-weight:normal;line-height:.5;content:" c "}.dropdown-menu{-webkit-transform:scale(0.75);transform:scale(0.75);-webkit-transform-origin:50% 0;transform-origin:50% 0;-webkit-transition:all 0.1875s cubic-bezier(0.25, 0, 0, 1.375);-o-transition:all 0.1875s cubic-bezier(0.25, 0, 0, 1.375);transition:all 0.1875s cubic-bezier(0.25, 0, 0, 1.375);font-size:1rem;box-shadow:0 0 0 1px rgba(0,30,60,0.03),0 20px 20px -10px rgba(0,0,0,0.2);border-radius:4px !important;-webkit-transition-property:opacity, -webkit-transform;transition-property:opacity, transform;padding:5px 0 !important;pointer-events:none;font-style:normal;border-width:0;display:block;left:-9999px;max-height:50vh;min-width:100%;max-width:240px;overflow:auto;opacity:0;margin:0}.dropdown-menu>li>a{margin:0;display:block;padding:.25em 15px}.dropdown-menu>li>a>*{margin:0}.dropdown-menu>li>a em{font-style:oblique;color:#8b969e}.dropdown-menu>li>a [data-icon]{margin-right:.25em}.dropdown-menu .divider{margin:5px 0}.dropdown-menu .dropdown-header{text-transform:uppercase;letter-spacing:.15em;font-size:.75rem;font-weight:500;padding:.5em 15px !important}.dropdown-menu-lg>li>*{padding-top:.5em;padding-bottom:.5em}.dropdown-menu-right{left:auto;right:9999px}.dropdown.open>.dropdown-menu{pointer-events:auto;-webkit-transform:scale(1);transform:scale(1);opacity:1;left:0}.dropdown.open>.dropdown-menu-right{right:0;left:auto}.dropdown{cursor:pointer}.dropdown-inline{display:inline-block}.form-group>*:not(:last-child),.form-inline>*:not(:last-child){margin-right:1em}.form-horizontal .form-group>*:not(:last-child),.form-horizontal .form-inline>*:not(:last-child){margin-right:0}.form-group>* label,.form-inline>* label{vertical-align:middle;margin:.6785714286rem 0}.help-block{display:block;color:#8b969e;font-style:oblique;font-weight:normal;font-size:.9285714286rem;margin:.25em 0}.help-block:empty{display:none}.help-block p{margin:0;display:inline}.help-block-inline{display:inline}.form-group-lg{font-size:1.1428571429rem}.form-footer{margin:2em 0}.form-footer:first-child{margin-top:0}.form-footer:last-child{margin-bottom:0}.btn{border-width:0;margin:0;cursor:pointer;overflow:hidden;text-overflow:ellipsis;font-size:1rem;-webkit-transition:all .25s cubic-bezier(0.25, 0, 0, 1);-o-transition:all .25s cubic-bezier(0.25, 0, 0, 1);transition:all .25s cubic-bezier(0.25, 0, 0, 1);height:2.8571428571rem;line-height:1.5 !important;font-weight:bold;box-shadow:0 0 0 1px rgba(0,30,60,0.03),0 3px 3px -1.5px rgba(0,0,0,0.03)}.btn-red{color:#fff;background-color:#ff694b;border-color:#ff694b}.btn-red:focus,.btn-red.focus{color:#fff;background-color:#ff3c2b}.btn-red:hover{color:#fff;background-color:#ff3c2b}.btn-red:active,.btn-red.active,.open>.btn-red.dropdown-toggle{color:#fff;background-color:#ff3c2b}.btn-red:active:hover,.btn-red:active:focus,.btn-red:active.focus,.btn-red.active:hover,.btn-red.active:focus,.btn-red.active.focus,.open>.btn-red.dropdown-toggle:hover,.open>.btn-red.dropdown-toggle:focus,.open>.btn-red.dropdown-toggle.focus{color:#fff;background-color:#ff3c2b}.btn-red:active,.btn-red.active,.open>.btn-red.dropdown-toggle{background-image:none}.btn-red.disabled:hover,.btn-red.disabled:focus,.btn-red.disabled.focus,.btn-red[disabled]:hover,.btn-red[disabled]:focus,.btn-red[disabled].focus,fieldset[disabled] .btn-red:hover,fieldset[disabled] .btn-red:focus,fieldset[disabled] .btn-red.focus{background-color:#ff694b;border-color:#ff694b}.btn-red .badge{color:#ff694b;background-color:#fff}.btn-blue{color:#fff;background-color:#0bb;border-color:#0bb}.btn-blue:focus,.btn-blue.focus{color:#fff;background-color:#009595}.btn-blue:hover{color:#fff;background-color:#009595}.btn-blue:active,.btn-blue.active,.open>.btn-blue.dropdown-toggle{color:#fff;background-color:#009595}.btn-blue:active:hover,.btn-blue:active:focus,.btn-blue:active.focus,.btn-blue.active:hover,.btn-blue.active:focus,.btn-blue.active.focus,.open>.btn-blue.dropdown-toggle:hover,.open>.btn-blue.dropdown-toggle:focus,.open>.btn-blue.dropdown-toggle.focus{color:#fff;background-color:#009595}.btn-blue:active,.btn-blue.active,.open>.btn-blue.dropdown-toggle{background-image:none}.btn-blue.disabled:hover,.btn-blue.disabled:focus,.btn-blue.disabled.focus,.btn-blue[disabled]:hover,.btn-blue[disabled]:focus,.btn-blue[disabled].focus,fieldset[disabled] .btn-blue:hover,fieldset[disabled] .btn-blue:focus,fieldset[disabled] .btn-blue.focus{background-color:#0bb;border-color:#0bb}.btn-blue .badge{color:#0bb;background-color:#fff}.btn-navy{color:#fff;background-color:#005e7a;border-color:#005e7a}.btn-navy:focus,.btn-navy.focus{color:#fff;background-color:#003645}.btn-navy:hover{color:#fff;background-color:#003645}.btn-navy:active,.btn-navy.active,.open>.btn-navy.dropdown-toggle{color:#fff;background-color:#003645}.btn-navy:active:hover,.btn-navy:active:focus,.btn-navy:active.focus,.btn-navy.active:hover,.btn-navy.active:focus,.btn-navy.active.focus,.open>.btn-navy.dropdown-toggle:hover,.open>.btn-navy.dropdown-toggle:focus,.open>.btn-navy.dropdown-toggle.focus{color:#fff;background-color:#003645}.btn-navy:active,.btn-navy.active,.open>.btn-navy.dropdown-toggle{background-image:none}.btn-navy.disabled:hover,.btn-navy.disabled:focus,.btn-navy.disabled.focus,.btn-navy[disabled]:hover,.btn-navy[disabled]:focus,.btn-navy[disabled].focus,fieldset[disabled] .btn-navy:hover,fieldset[disabled] .btn-navy:focus,fieldset[disabled] .btn-navy.focus{background-color:#005e7a;border-color:#005e7a}.btn-navy .badge{color:#005e7a;background-color:#fff}.btn-green{color:#fff;background-color:#7ec631;border-color:#7ec631}.btn-green:focus,.btn-green.focus{color:#fff;background-color:#48a71c}.btn-green:hover{color:#fff;background-color:#48a71c}.btn-green:active,.btn-green.active,.open>.btn-green.dropdown-toggle{color:#fff;background-color:#48a71c}.btn-green:active:hover,.btn-green:active:focus,.btn-green:active.focus,.btn-green.active:hover,.btn-green.active:focus,.btn-green.active.focus,.open>.btn-green.dropdown-toggle:hover,.open>.btn-green.dropdown-toggle:focus,.open>.btn-green.dropdown-toggle.focus{color:#fff;background-color:#48a71c}.btn-green:active,.btn-green.active,.open>.btn-green.dropdown-toggle{background-image:none}.btn-green.disabled:hover,.btn-green.disabled:focus,.btn-green.disabled.focus,.btn-green[disabled]:hover,.btn-green[disabled]:focus,.btn-green[disabled].focus,fieldset[disabled] .btn-green:hover,fieldset[disabled] .btn-green:focus,fieldset[disabled] .btn-green.focus{background-color:#7ec631;border-color:#7ec631}.btn-green .badge{color:#7ec631;background-color:#fff}.btn-orange{color:#fff;background-color:#ff694b;border-color:#ff694b}.btn-orange:focus,.btn-orange.focus{color:#fff;background-color:#ff3c2b}.btn-orange:hover{color:#fff;background-color:#ff3c2b}.btn-orange:active,.btn-orange.active,.open>.btn-orange.dropdown-toggle{color:#fff;background-color:#ff3c2b}.btn-orange:active:hover,.btn-orange:active:focus,.btn-orange:active.focus,.btn-orange.active:hover,.btn-orange.active:focus,.btn-orange.active.focus,.open>.btn-orange.dropdown-toggle:hover,.open>.btn-orange.dropdown-toggle:focus,.open>.btn-orange.dropdown-toggle.focus{color:#fff;background-color:#ff3c2b}.btn-orange:active,.btn-orange.active,.open>.btn-orange.dropdown-toggle{background-image:none}.btn-orange.disabled:hover,.btn-orange.disabled:focus,.btn-orange.disabled.focus,.btn-orange[disabled]:hover,.btn-orange[disabled]:focus,.btn-orange[disabled].focus,fieldset[disabled] .btn-orange:hover,fieldset[disabled] .btn-orange:focus,fieldset[disabled] .btn-orange.focus{background-color:#ff694b;border-color:#ff694b}.btn-orange .badge{color:#ff694b;background-color:#fff}.btn-yellow{color:#fff;background-color:#fc0;border-color:#fc0}.btn-yellow:focus,.btn-yellow.focus{color:#fff;background-color:#ffb100}.btn-yellow:hover{color:#fff;background-color:#ffb100}.btn-yellow:active,.btn-yellow.active,.open>.btn-yellow.dropdown-toggle{color:#fff;background-color:#ffb100}.btn-yellow:active:hover,.btn-yellow:active:focus,.btn-yellow:active.focus,.btn-yellow.active:hover,.btn-yellow.active:focus,.btn-yellow.active.focus,.open>.btn-yellow.dropdown-toggle:hover,.open>.btn-yellow.dropdown-toggle:focus,.open>.btn-yellow.dropdown-toggle.focus{color:#fff;background-color:#ffb100}.btn-yellow:active,.btn-yellow.active,.open>.btn-yellow.dropdown-toggle{background-image:none}.btn-yellow.disabled:hover,.btn-yellow.disabled:focus,.btn-yellow.disabled.focus,.btn-yellow[disabled]:hover,.btn-yellow[disabled]:focus,.btn-yellow[disabled].focus,fieldset[disabled] .btn-yellow:hover,fieldset[disabled] .btn-yellow:focus,fieldset[disabled] .btn-yellow.focus{background-color:#fc0;border-color:#fc0}.btn-yellow .badge{color:#fc0;background-color:#fff}.btn-purple{color:#fff;background-color:#7f6cc5;border-color:#7f6cc5}.btn-purple:focus,.btn-purple.focus{color:#fff;background-color:#483da5}.btn-purple:hover{color:#fff;background-color:#483da5}.btn-purple:active,.btn-purple.active,.open>.btn-purple.dropdown-toggle{color:#fff;background-color:#483da5}.btn-purple:active:hover,.btn-purple:active:focus,.btn-purple:active.focus,.btn-purple.active:hover,.btn-purple.active:focus,.btn-purple.active.focus,.open>.btn-purple.dropdown-toggle:hover,.open>.btn-purple.dropdown-toggle:focus,.open>.btn-purple.dropdown-toggle.focus{color:#fff;background-color:#483da5}.btn-purple:active,.btn-purple.active,.open>.btn-purple.dropdown-toggle{background-image:none}.btn-purple.disabled:hover,.btn-purple.disabled:focus,.btn-purple.disabled.focus,.btn-purple[disabled]:hover,.btn-purple[disabled]:focus,.btn-purple[disabled].focus,fieldset[disabled] .btn-purple:hover,fieldset[disabled] .btn-purple:focus,fieldset[disabled] .btn-purple.focus{background-color:#7f6cc5;border-color:#7f6cc5}.btn-purple .badge{color:#7f6cc5;background-color:#fff}.btn-white{color:#484e53;background-color:#fff;border-color:#fff}.btn-white:focus,.btn-white.focus{color:#484e53;background-color:#f9fafb}.btn-white:hover{color:#484e53;background-color:#f9fafb}.btn-white:active,.btn-white.active,.open>.btn-white.dropdown-toggle{color:#484e53;background-color:#f9fafb}.btn-white:active:hover,.btn-white:active:focus,.btn-white:active.focus,.btn-white.active:hover,.btn-white.active:focus,.btn-white.active.focus,.open>.btn-white.dropdown-toggle:hover,.open>.btn-white.dropdown-toggle:focus,.open>.btn-white.dropdown-toggle.focus{color:#484e53;background-color:#f9fafb}.btn-white:active,.btn-white.active,.open>.btn-white.dropdown-toggle{background-image:none}.btn-white.disabled:hover,.btn-white.disabled:focus,.btn-white.disabled.focus,.btn-white[disabled]:hover,.btn-white[disabled]:focus,.btn-white[disabled].focus,fieldset[disabled] .btn-white:hover,fieldset[disabled] .btn-white:focus,fieldset[disabled] .btn-white.focus{background-color:#fff;border-color:#fff}.btn-white .badge{color:#fff;background-color:#484e53}.btn-default{color:#484e53;background-color:#f0f2f4;border-color:#f0f2f4}.btn-default:focus,.btn-default.focus{color:#484e53;background-color:#e9ebef}.btn-default:hover{color:#484e53;background-color:#e9ebef}.btn-default:active,.btn-default.active,.open>.btn-default.dropdown-toggle{color:#484e53;background-color:#e9ebef}.btn-default:active:hover,.btn-default:active:focus,.btn-default:active.focus,.btn-default.active:hover,.btn-default.active:focus,.btn-default.active.focus,.open>.btn-default.dropdown-toggle:hover,.open>.btn-default.dropdown-toggle:focus,.open>.btn-default.dropdown-toggle.focus{color:#484e53;background-color:#e9ebef}.btn-default:active,.btn-default.active,.open>.btn-default.dropdown-toggle{background-image:none}.btn-default.disabled:hover,.btn-default.disabled:focus,.btn-default.disabled.focus,.btn-default[disabled]:hover,.btn-default[disabled]:focus,.btn-default[disabled].focus,fieldset[disabled] .btn-default:hover,fieldset[disabled] .btn-default:focus,fieldset[disabled] .btn-default.focus{background-color:#f0f2f4;border-color:#f0f2f4}.btn-default .badge{color:#f0f2f4;background-color:#484e53}.btn-clear,.btn-text,.btn-link{background:transparent !important}.btn-text,.btn.text-inherit{color:inherit}.btn-text:hover,.btn-text:focus,.btn.text-inherit:hover,.btn.text-inherit:focus{color:inherit}.btn[class*="btn-highlight"],.btn-default,.btn-clear,.btn-text,.btn-link{box-shadow:none}.btn-highlight-info{color:#0aa;background-color:#edfafa;border-color:transparent}.btn-highlight-info:focus,.btn-highlight-info.focus{color:#0aa;background-color:#e4f8f8}.btn-highlight-info:hover{color:#0aa;background-color:#e4f8f8}.btn-highlight-info:active,.btn-highlight-info.active,.open>.btn-highlight-info.dropdown-toggle{color:#0aa;background-color:#e4f8f8}.btn-highlight-info:active:hover,.btn-highlight-info:active:focus,.btn-highlight-info:active.focus,.btn-highlight-info.active:hover,.btn-highlight-info.active:focus,.btn-highlight-info.active.focus,.open>.btn-highlight-info.dropdown-toggle:hover,.open>.btn-highlight-info.dropdown-toggle:focus,.open>.btn-highlight-info.dropdown-toggle.focus{color:#0aa;background-color:#e4f8f8}.btn-highlight-info:active,.btn-highlight-info.active,.open>.btn-highlight-info.dropdown-toggle{background-image:none}.btn-highlight-info.disabled:hover,.btn-highlight-info.disabled:focus,.btn-highlight-info.disabled.focus,.btn-highlight-info[disabled]:hover,.btn-highlight-info[disabled]:focus,.btn-highlight-info[disabled].focus,fieldset[disabled] .btn-highlight-info:hover,fieldset[disabled] .btn-highlight-info:focus,fieldset[disabled] .btn-highlight-info.focus{background-color:#edfafa;border-color:transparent}.btn-highlight-info .badge{color:#edfafa;background-color:#0aa}.btn-highlight-success{color:#48a71c;background-color:#f3faec;border-color:transparent}.btn-highlight-success:focus,.btn-highlight-success.focus{color:#48a71c;background-color:#edf8e3}.btn-highlight-success:hover{color:#48a71c;background-color:#edf8e3}.btn-highlight-success:active,.btn-highlight-success.active,.open>.btn-highlight-success.dropdown-toggle{color:#48a71c;background-color:#edf8e3}.btn-highlight-success:active:hover,.btn-highlight-success:active:focus,.btn-highlight-success:active.focus,.btn-highlight-success.active:hover,.btn-highlight-success.active:focus,.btn-highlight-success.active.focus,.open>.btn-highlight-success.dropdown-toggle:hover,.open>.btn-highlight-success.dropdown-toggle:focus,.open>.btn-highlight-success.dropdown-toggle.focus{color:#48a71c;background-color:#edf8e3}.btn-highlight-success:active,.btn-highlight-success.active,.open>.btn-highlight-success.dropdown-toggle{background-image:none}.btn-highlight-success.disabled:hover,.btn-highlight-success.disabled:focus,.btn-highlight-success.disabled.focus,.btn-highlight-success[disabled]:hover,.btn-highlight-success[disabled]:focus,.btn-highlight-success[disabled].focus,fieldset[disabled] .btn-highlight-success:hover,fieldset[disabled] .btn-highlight-success:focus,fieldset[disabled] .btn-highlight-success.focus{background-color:#f3faec;border-color:transparent}.btn-highlight-success .badge{color:#f3faec;background-color:#48a71c}.btn-highlight-danger{color:#ff694b;background-color:#fff5f4;border-color:transparent}.btn-highlight-danger:focus,.btn-highlight-danger.focus{color:#ff694b;background-color:#fff0ef}.btn-highlight-danger:hover{color:#ff694b;background-color:#fff0ef}.btn-highlight-danger:active,.btn-highlight-danger.active,.open>.btn-highlight-danger.dropdown-toggle{color:#ff694b;background-color:#fff0ef}.btn-highlight-danger:active:hover,.btn-highlight-danger:active:focus,.btn-highlight-danger:active.focus,.btn-highlight-danger.active:hover,.btn-highlight-danger.active:focus,.btn-highlight-danger.active.focus,.open>.btn-highlight-danger.dropdown-toggle:hover,.open>.btn-highlight-danger.dropdown-toggle:focus,.open>.btn-highlight-danger.dropdown-toggle.focus{color:#ff694b;background-color:#fff0ef}.btn-highlight-danger:active,.btn-highlight-danger.active,.open>.btn-highlight-danger.dropdown-toggle{background-image:none}.btn-highlight-danger.disabled:hover,.btn-highlight-danger.disabled:focus,.btn-highlight-danger.disabled.focus,.btn-highlight-danger[disabled]:hover,.btn-highlight-danger[disabled]:focus,.btn-highlight-danger[disabled].focus,fieldset[disabled] .btn-highlight-danger:hover,fieldset[disabled] .btn-highlight-danger:focus,fieldset[disabled] .btn-highlight-danger.focus{background-color:#fff5f4;border-color:transparent}.btn-highlight-danger .badge{color:#fff5f4;background-color:#ff694b}.btn-highlight-warning{color:#ff6316;background-color:#fff6ec;border-color:transparent}.btn-highlight-warning:focus,.btn-highlight-warning.focus{color:#ff6316;background-color:#fff2e3}.btn-highlight-warning:hover{color:#ff6316;background-color:#fff2e3}.btn-highlight-warning:active,.btn-highlight-warning.active,.open>.btn-highlight-warning.dropdown-toggle{color:#ff6316;background-color:#fff2e3}.btn-highlight-warning:active:hover,.btn-highlight-warning:active:focus,.btn-highlight-warning:active.focus,.btn-highlight-warning.active:hover,.btn-highlight-warning.active:focus,.btn-highlight-warning.active.focus,.open>.btn-highlight-warning.dropdown-toggle:hover,.open>.btn-highlight-warning.dropdown-toggle:focus,.open>.btn-highlight-warning.dropdown-toggle.focus{color:#ff6316;background-color:#fff2e3}.btn-highlight-warning:active,.btn-highlight-warning.active,.open>.btn-highlight-warning.dropdown-toggle{background-image:none}.btn-highlight-warning.disabled:hover,.btn-highlight-warning.disabled:focus,.btn-highlight-warning.disabled.focus,.btn-highlight-warning[disabled]:hover,.btn-highlight-warning[disabled]:focus,.btn-highlight-warning[disabled].focus,fieldset[disabled] .btn-highlight-warning:hover,fieldset[disabled] .btn-highlight-warning:focus,fieldset[disabled] .btn-highlight-warning.focus{background-color:#fff6ec;border-color:transparent}.btn-highlight-warning .badge{color:#fff6ec;background-color:#ff6316}.btn-lg,.btn-group-lg>.btn{height:4.2857142857rem;font-size:1.1428571429rem}.btn-sm,.btn-group-sm>.btn{height:2.2857142857rem;font-size:.9285714286rem}.btn-xs,.btn-group-xs>.btn{padding:.1607142857rem .625rem;height:1.7142857143rem;font-size:.9285714286rem}.btn-md{padding:.3928571429rem 1.5rem;height:3.7142857143rem;font-size:1rem}.btn-pill{border-radius:200px }.btn-icon{padding-left:0;padding-right:0;width:2.8571428571rem;min-width:2.8571428571rem}.btn-icon.btn-xs,.btn-group-xs>.btn-icon.btn{width:1.7142857143rem;min-width:1.7142857143rem}.btn-icon.btn-sm,.btn-group-sm>.btn-icon.btn{width:2.2857142857rem;min-width:2.2857142857rem}.btn-icon.btn-md{width:3.7142857143rem;min-width:3.7142857143rem}.btn-icon.btn-lg,.btn-group-lg>.btn-icon.btn{width:4.2857142857rem;min-width:4.2857142857rem}.btn-icon .icon,.btn-icon .glyph{margin:0;position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%)}.btn-icon-slim{min-width:0}.btn-block,.btn-slim,.btn-link,.btn-text{padding-left:0;padding-right:0}.btn.active,.btn:active{-webkit-box-shadow:none;box-shadow:none}.btn.disabled,.btn[disabled]{opacity:.375}.btn-file:before{content:attr(data-placeholder)}.btn-file[data-value]:before{content:attr(data-placeholder) " "}.btn-file[data-value]:after{content:"(" attr(data-value) ")"}.btn-file input{position:absolute;opacity:0}.btn-inliner .btn{margin-bottom:.3rem}.btn-toolbar{margin-left:-2px;margin-right:-2px;font-size:0}.btn-toolbar .btn-group{margin-left:2px;margin-right:2px;float:none}.form-control,.input-group-addon,.form-control-static,.form-grid .form-row .form-label label,.option{line-height:1.5 !important;border-width:0 !important;font-size:1rem}.form-group-lg .form-control,.input-group-lg .form-control,.form-group-lg .input-group-addon,.input-group-lg .input-group-addon,.form-group-lg .form-control-static,.form-group-lg .form-grid .form-row .form-label label,.form-grid .form-row .form-label .form-group-lg label,.input-group-lg .form-control-static,.input-group-lg .form-grid .form-row .form-label label,.form-grid .form-row .form-label .input-group-lg label,.form-group-lg .option,.input-group-lg .option{font-size:1.1428571429rem}.form-group-sm .form-control,.input-group-sm .form-control,.form-group-sm .input-group-addon,.input-group-sm .input-group-addon,.form-group-sm .form-control-static,.form-group-sm .form-grid .form-row .form-label label,.form-grid .form-row .form-label .form-group-sm label,.input-group-sm .form-control-static,.input-group-sm .form-grid .form-row .form-label label,.form-grid .form-row .form-label .input-group-sm label,.form-group-sm .option,.input-group-sm .option{font-size:.9285714286rem}.form-control.input-lg,.input-group-lg>.form-control,.input-group-lg>.input-group-btn>.form-control.btn,.input-group-addon.input-lg,.input-group-lg>.input-group-addon,.input-group-lg>.input-group-btn>.input-group-addon.btn,.form-control-static.input-lg,.input-group-lg>.form-control-static.form-control,.form-grid .form-row .form-label .input-group-lg>label.form-control,.input-group-lg>.form-control-static.input-group-addon,.form-grid .form-row .form-label .input-group-lg>label.input-group-addon,.input-group-lg>.input-group-btn>.form-control-static.btn,.form-grid .form-row .form-label .input-group-lg>.input-group-btn>label.btn,.form-grid .form-row .form-label label.input-lg,.option.input-lg,.input-group-lg>.option.form-control,.input-group-lg>.option.input-group-addon,.input-group-lg>.input-group-btn>.option.btn{font-size:1.1428571429rem}.form-control.input-sm,.input-group-sm>.form-control,.input-group-sm>.input-group-btn>.form-control.btn,.input-group-addon.input-sm,.input-group-sm>.input-group-addon,.input-group-sm>.input-group-btn>.input-group-addon.btn,.form-control-static.input-sm,.input-group-sm>.form-control-static.form-control,.form-grid .form-row .form-label .input-group-sm>label.form-control,.input-group-sm>.form-control-static.input-group-addon,.form-grid .form-row .form-label .input-group-sm>label.input-group-addon,.input-group-sm>.input-group-btn>.form-control-static.btn,.form-grid .form-row .form-label .input-group-sm>.input-group-btn>label.btn,.form-grid .form-row .form-label label.input-sm,.option.input-sm,.input-group-sm>.option.form-control,.input-group-sm>.option.input-group-addon,.input-group-sm>.input-group-btn>.option.btn{font-size:.9285714286rem}.form-control::-ms-expand,.input-group-addon::-ms-expand,.form-control-static::-ms-expand,.form-grid .form-row .form-label label::-ms-expand,.option::-ms-expand{display:none}.form-control::-ms-clear,.input-group-addon::-ms-clear,.form-control-static::-ms-clear,.form-grid .form-row .form-label label::-ms-clear,.option::-ms-clear{display:none}.form-control::-ms-value,.input-group-addon::-ms-value,.form-control-static::-ms-value,.form-grid .form-row .form-label label::-ms-value,.option::-ms-value{background:transparent !important}.form-control,.form-control-static,.form-grid .form-row .form-label label,textarea.form-control,.option{height:2.8571428571rem;line-height:1.5 !important;padding:.6785714286rem 1.25rem;border:0}.form-control.input-sm,.input-group-sm>.form-control,.input-group-sm>.input-group-btn>.form-control.btn,.form-control-static.input-sm,.input-group-sm>.form-control-static.form-control,.form-grid .form-row .form-label .input-group-sm>label.form-control,.input-group-sm>.form-control-static.input-group-addon,.form-grid .form-row .form-label .input-group-sm>label.input-group-addon,.input-group-sm>.input-group-btn>.form-control-static.btn,.form-grid .form-row .form-label .input-group-sm>.input-group-btn>label.btn,.form-grid .form-row .form-label label.input-sm,textarea.form-control.input-sm,.input-group-sm>textarea.form-control,.input-group-sm>.input-group-btn>textarea.form-control.btn,.option.input-sm,.input-group-sm>.option.form-control,.input-group-sm>.option.input-group-addon,.input-group-sm>.input-group-btn>.option.btn{height:2.2857142857rem;min-height:2.2857142857rem;padding:.4464285714rem .875rem}.form-control.input-lg,.input-group-lg>.form-control,.input-group-lg>.input-group-btn>.form-control.btn,.form-control-static.input-lg,.input-group-lg>.form-control-static.form-control,.form-grid .form-row .form-label .input-group-lg>label.form-control,.input-group-lg>.form-control-static.input-group-addon,.form-grid .form-row .form-label .input-group-lg>label.input-group-addon,.input-group-lg>.input-group-btn>.form-control-static.btn,.form-grid .form-row .form-label .input-group-lg>.input-group-btn>label.btn,.form-grid .form-row .form-label label.input-lg,textarea.form-control.input-lg,.input-group-lg>textarea.form-control,.input-group-lg>.input-group-btn>textarea.form-control.btn,.option.input-lg,.input-group-lg>.option.form-control,.input-group-lg>.option.input-group-addon,.input-group-lg>.input-group-btn>.option.btn{height:4.2857142857rem;min-height:4.2857142857rem;padding:1.2857142857rem 1.875rem}.form-control.input-md,.form-control-static.input-md,.form-grid .form-row .form-label label.input-md,textarea.form-control.input-md,.option.input-md{height:2.2857142857rem;min-height:2.2857142857rem;padding:.3928571429rem .875rem}textarea.form-control:not(.form-control-height){height:6em}.form-control{-webkit-transition:all .25s cubic-bezier(0.25, 0, 0, 1);-o-transition:all .25s cubic-bezier(0.25, 0, 0, 1);transition:all .25s cubic-bezier(0.25, 0, 0, 1);-webkit-transition-property:color,background-color,box-shadow;transition-property:color,background-color,box-shadow;-webkit-box-shadow:none;box-shadow:none;-webkit-appearance:none;text-overflow:ellipsis;box-shadow:none;color:#484e53}.form-control::-moz-placeholder{color:#a8b1b7;opacity:1}.form-control:-ms-input-placeholder{color:#a8b1b7}.form-control::-webkit-input-placeholder{color:#a8b1b7}.form-control.input-short{width:64px}.form-control.input-medium{width:240px}.form-control.input-long{width:100%}.form-control.input-pill{border-radius:200px !important}.form-control.input-dark{background-color:#00475c;color:white}.form-control.input-dark:hover,.form-control.input-dark:focus{background-color:white;color:#313539}.form-control.input-dark::-moz-placeholder{color:#00afc6;opacity:1}.form-control.input-dark:-ms-input-placeholder{color:#00afc6}.form-control.input-dark::-webkit-input-placeholder{color:#00afc6}.form-control.input-transparent{background-color:transparent}.form-control.input-white{background-color:white;box-shadow:0 0 0 1px rgba(0,30,60,0.03),0 3px 3px -1.5px rgba(0,0,0,0.03)}.form-control:not(:disabled):not(.disabled):hover{background-color:#e9ebef}.form-control:not(:disabled):not(.disabled):hover::-moz-placeholder{color:#5e666c;opacity:1}.form-control:not(:disabled):not(.disabled):hover:-ms-input-placeholder{color:#5e666c}.form-control:not(:disabled):not(.disabled):hover::-webkit-input-placeholder{color:#5e666c}.form-control:not(:disabled):not(.disabled):hover.input-white{background-color:#f9fafb}.form-control:focus{color:#484e53 !important;background-color:white !important;box-shadow:0 0 0 1px #0bb,0 15px 15px -7.5px rgba(0,0,0,0.15);border-radius:4px !important;z-index:3}.form-control:focus::-moz-placeholder{color:#8b969e !important;opacity:1}.form-control:focus:-ms-input-placeholder{color:#8b969e !important}.form-control:focus::-webkit-input-placeholder{color:#8b969e !important}.form-control[type="number"]:not(.spinner){-moz-appearance:textfield}.form-control[type="number"]:not(.spinner)::-webkit-inner-spin-button,.form-control[type="number"]:not(.spinner)::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.form-control-static,.form-grid .form-row .form-label label{display:block;height:auto !important;padding-left:0 !important;padding-right:0 !important;color:#484e53}.has-info .input-group-addon,.has-info .form-control{border-color:transparent !important;background-color:#edfafa;box-shadow:none}.has-info .input-group-addon::-moz-placeholder,.has-info .form-control::-moz-placeholder{color:#80d5d5;opacity:1}.has-info .input-group-addon:-ms-input-placeholder,.has-info .form-control:-ms-input-placeholder{color:#80d5d5}.has-info .input-group-addon::-webkit-input-placeholder,.has-info .form-control::-webkit-input-placeholder{color:#80d5d5}.has-info .input-group-addon,.has-info .form-control{color:#0aa}.has-info .form-control:not(:disabled):not(.disabled):hover{background-color:#def7f7;color:#007b7b}.has-info .form-control:not(:disabled):not(.disabled):hover::-moz-placeholder{color:#40bfbf;opacity:1}.has-info .form-control:not(:disabled):not(.disabled):hover:-ms-input-placeholder{color:#40bfbf}.has-info .form-control:not(:disabled):not(.disabled):hover::-webkit-input-placeholder{color:#40bfbf}.has-info .form-control:not(:disabled):not(.disabled):focus{box-shadow:0 0 0 1px #0bb,0 15px 15px -7.5px rgba(0,0,0,0.15)}.has-success .input-group-addon,.has-success .form-control{border-color:transparent !important;background-color:#f3faec;box-shadow:none}.has-success .input-group-addon::-moz-placeholder,.has-success .form-control::-moz-placeholder{color:#a4d38e;opacity:1}.has-success .input-group-addon:-ms-input-placeholder,.has-success .form-control:-ms-input-placeholder{color:#a4d38e}.has-success .input-group-addon::-webkit-input-placeholder,.has-success .form-control::-webkit-input-placeholder{color:#a4d38e}.has-success .input-group-addon,.has-success .form-control{color:#48a71c}.has-success .form-control:not(:disabled):not(.disabled):hover{background-color:#e9f7dc;color:#297610}.has-success .form-control:not(:disabled):not(.disabled):hover::-moz-placeholder{color:#76bd55;opacity:1}.has-success .form-control:not(:disabled):not(.disabled):hover:-ms-input-placeholder{color:#76bd55}.has-success .form-control:not(:disabled):not(.disabled):hover::-webkit-input-placeholder{color:#76bd55}.has-success .form-control:not(:disabled):not(.disabled):focus{box-shadow:0 0 0 1px #7ec631,0 15px 15px -7.5px rgba(0,0,0,0.15)}.has-warning .input-group-addon,.has-warning .form-control{border-color:transparent !important;background-color:#fff6ec;box-shadow:none}.has-warning .input-group-addon::-moz-placeholder,.has-warning .form-control::-moz-placeholder{color:#ffb18b;opacity:1}.has-warning .input-group-addon:-ms-input-placeholder,.has-warning .form-control:-ms-input-placeholder{color:#ffb18b}.has-warning .input-group-addon::-webkit-input-placeholder,.has-warning .form-control::-webkit-input-placeholder{color:#ffb18b}.has-warning .input-group-addon,.has-warning .form-control{color:#ff6316}.has-warning .form-control:not(:disabled):not(.disabled):hover{background-color:#ffefdc;color:#ff390d}.has-warning .form-control:not(:disabled):not(.disabled):hover::-moz-placeholder{color:#ff8a50;opacity:1}.has-warning .form-control:not(:disabled):not(.disabled):hover:-ms-input-placeholder{color:#ff8a50}.has-warning .form-control:not(:disabled):not(.disabled):hover::-webkit-input-placeholder{color:#ff8a50}.has-warning .form-control:not(:disabled):not(.disabled):focus{box-shadow:0 0 0 1px #ff9b26,0 15px 15px -7.5px rgba(0,0,0,0.15)}.has-danger .input-group-addon,.has-danger .form-control,.has-error .input-group-addon,.has-error .form-control{border-color:transparent !important;background-color:#fff5f4;box-shadow:none}.has-danger .input-group-addon::-moz-placeholder,.has-danger .form-control::-moz-placeholder,.has-error .input-group-addon::-moz-placeholder,.has-error .form-control::-moz-placeholder{color:#ffb4a5;opacity:1}.has-danger .input-group-addon:-ms-input-placeholder,.has-danger .form-control:-ms-input-placeholder,.has-error .input-group-addon:-ms-input-placeholder,.has-error .form-control:-ms-input-placeholder{color:#ffb4a5}.has-danger .input-group-addon::-webkit-input-placeholder,.has-danger .form-control::-webkit-input-placeholder,.has-error .input-group-addon::-webkit-input-placeholder,.has-error .form-control::-webkit-input-placeholder{color:#ffb4a5}.has-danger .input-group-addon,.has-danger .form-control,.has-error .input-group-addon,.has-error .form-control{color:#ff694b}.has-danger .form-control:not(:disabled):not(.disabled):hover,.has-error .form-control:not(:disabled):not(.disabled):hover{background-color:#ffedeb;color:#ff3c2b}.has-danger .form-control:not(:disabled):not(.disabled):hover::-moz-placeholder,.has-error .form-control:not(:disabled):not(.disabled):hover::-moz-placeholder{color:#ff8f78;opacity:1}.has-danger .form-control:not(:disabled):not(.disabled):hover:-ms-input-placeholder,.has-error .form-control:not(:disabled):not(.disabled):hover:-ms-input-placeholder{color:#ff8f78}.has-danger .form-control:not(:disabled):not(.disabled):hover::-webkit-input-placeholder,.has-error .form-control:not(:disabled):not(.disabled):hover::-webkit-input-placeholder{color:#ff8f78}.has-danger .form-control:not(:disabled):not(.disabled):focus,.has-error .form-control:not(:disabled):not(.disabled):focus{box-shadow:0 0 0 1px #ff694b,0 15px 15px -7.5px rgba(0,0,0,0.15)}.input-group-rounded>*:first-child,.input-group-rounded>*:first-child.input-group-btn .btn{border-top-left-radius:100px;border-bottom-left-radius:100px}.input-group-rounded>*:last-child,.input-group-rounded>*:last-child.input-group-btn .btn{border-top-right-radius:100px;border-bottom-right-radius:100px}.input-group-addon{color:#8b969e}.table tr.success{box-shadow:inset rgba(0,30,60,0.03) 0 0 #7ec631}.table tr.info{box-shadow:inset rgba(0,30,60,0.03) 0 0 #0bb}.table tr.warning{box-shadow:inset rgba(0,30,60,0.03) 0 0 #fc0}.table tr.danger{box-shadow:inset rgba(0,30,60,0.03) 0 0 #ff694b}.table-flush th:first-child,.table-flush td:first-child{padding-left:0}.table-flush th:last-child,.table-flush td:last-child{padding-right:0}.table-justified th:last-child,.table-justified td:last-child{text-align:right}th.sm,td.sm{width:1px;white-space:nowrap}th.flush-left,td.flush-left{padding-left:0 !important}th.flush-right,td.flush-right{padding-right:0 !important}.table:not(.table-borderless)>thead>tr>*{border-width:1px}thead>tr>*,.table-label{text-transform:uppercase;letter-spacing:.15em;font-size:.75rem;font-weight:500;color:#8b969e}.table-borderless tr *{border-width:0 !important}.table tbody+tbody{border-top-width:1px}.table-compact th *,.table-compact td *{margin-top:0;margin-bottom:0}.table-middle th,.table-middle td{vertical-align:middle !important}.table-large{font-size:1rem}.table-large tbody th,.table-large tbody td,.table-large>td,.table-large>th{padding-top:1rem !important;padding-bottom:1rem !important}.card .table th,.card .table td{padding-left:1.875rem;padding-right:1.875rem}.table-condensed{font-size:.9285714286rem}.table-responsive{border-radius:4px}@media (min-width: 961px){.table-responsive{overflow:visible}}@media (max-width: 960px){.table-responsive{overflow:auto}html.touch .table-responsive{overflow:scroll;-webkit-overflow-scrolling:touch}}@media (min-width: 961px){.table-alignment{margin-left:-1.25rem;margin-right:-1.25rem}}.table-linked{overflow:hidden}.table-linked a{z-index:3}.table-linked .table-link{width:0 !important;padding:0 !important;vertical-align:top !important}.table-linked .table-link .table-anchor{position:absolute;display:block;height:100%;width:1000vw;z-index:2}.table{display:table}.table-caption{display:table-caption}.table-colgroup{display:table-column-group}.table-thead{display:table-header-group}.table-tfoot{display:table-footer-group}.table-tbody{display:table-row-group}.table-td{display:table-cell}.table-col{display:table-column}.table-tr{display:table-row}.table-sticky{box-shadow:0 1px 0 #ecedee;z-index:2;position:sticky;top:0;background:#f9fafb}tbody .table-sticky{top:28px;background:white}.table .secondary td,.table .secondary th{background:#f9fafb;color:#8b969e}.nav-stacked .nav-stacked{font-size:.9285714286rem}.nav-stacked .nav-stacked>li{margin-left:1em}.nav-stacked .nav-stacked>li>a{color:#8b969e}.nav-tabs{border:0;box-shadow:0 1px 0 rgba(0,30,60,0.075);color:#313539;display:flex;flex-direction:row;flex-wrap:wrap}.nav-tabs:before,.nav-tabs:after{display:none}.nav-tabs>li{float:none;flex:0 0 auto;background:transparent !important;margin:0}.nav-tabs>li:not(:first-child){margin-left:.75em}.nav-tabs>li:not(:last-child){margin-right:.75em}.nav-tabs>li>a,.nav-tabs>li>span{display:block;line-height:1.5;background:transparent !important;padding:1.2857142857rem 0;margin:0 !important;border:0 !important;border-radius:0}.nav-tabs>li.active{box-shadow:0 1px 0 #0bb}.nav-tabs>li.active a{color:#313539}.nav-tabs-sm>li>a,.nav-tabs-sm>li>span{font-size:.9285714286rem;padding:.6785714286rem 0}.nav-tabs-fill>li{flex:1 0 auto;margin:0 !important}.nav-tabs-fill>li>a,.nav-tabs-fill>li>span{text-align:center;padding-left:20px;padding-right:20px}html.touch .nav-tabs{flex-wrap:nowrap;overflow:hidden;overflow-y:scroll;-webkit-overflow-scrolling:touch}.card-tabs .nav-tabs{background:#f0f2f4;border-radius:4px 4px 0 0}.card-tabs .nav-tabs>li:first-child{border-top-left-radius:4px}.card-tabs .nav-tabs>li:last-child{border-top-right-radius:4px}.card-tabs .nav-tabs>li.active{box-shadow:0 1px 0 white !important;background:white !important}.tab-content>.tab-pane{height:0;display:block;overflow:hidden}.tab-content>.tab-pane:not(.active){padding:0}.tab-content>.tab-pane.active{height:auto;overflow:visible}.nav-pills>li>a{font-size:.9285714286rem;padding:.4464285714rem 1em}.alert{border:0;margin:1.5em 0}.alert:first-child{margin-top:0}.alert:last-child{margin-bottom:0}.alert strong{color:inherit;font-style:normal}.alert-default{background:#f9fafb;color:#8b969e}.alert-flush{margin:0}.alert-trim{padding-left:0;padding-right:0}.alert-link{font-weight:bold !important}.avatar{display:inline-block;vertical-align:middle}.avatar img{display:block;border-radius:50%;height:28px;width:28px}.avatar-square img{border-radius:4px}.avatar-sm img{height:20px;width:20px}kbd,code,pre{font-size:.8571428571rem}pre{padding:0;overflow:auto;border-width:0;resize:vertical;white-space:pre;padding:1.2857142857rem 1.875rem;border-radius:4px;font-size:.8571428571rem;-moz-tab-size:2;-o-tab-size:2;tab-size:2;margin:1em 0}pre:first-child{margin-top:0}pre:last-child{margin-bottom:0}.panel-code pre{border-radius:0;padding:40px 50px}@media (max-width: 960px){.panel-code pre{padding-left:7.5vw;padding-right:7.5vw}}.panel-footer .panel-code pre,.panel-body:last-child .panel-code pre{border-bottom-right-radius:4px;border-bottom-left-radius:4px}kbd{box-shadow:none}figure.highlight{tab-size:2}.code,code{font-family:"Monaco",monospace;font-size:.8571428571rem;font-weight:normal;padding:0}.highlight pre{background:#005e7a;color:white;overflow:auto}html.touch .highlight pre{overflow:scroll;-webkit-overflow-scrolling:touch}.highlight code{white-space:pre;display:block}.highlight code *{font-style:normal}.highlight .c{color:#00afc6;font-style:italic}.highlight .err{color:#a61717;background-color:#e3d2d2}.highlight .cm{color:#999988;font-style:italic}.highlight .cp{color:#999999}.highlight .c1{color:#999988;font-style:italic}.highlight .cs{color:#999999;font-style:italic}.highlight .gd{color:#000000;background-color:#fdd}.highlight .gd .x{color:#000000;background-color:#faa}.highlight .ge{font-style:italic}.highlight .gr{color:#a00}.highlight .gh{color:#999}.highlight .gi{color:#000000;background-color:#dfd}.highlight .gi .x{color:#000000;background-color:#afa}.highlight .go{color:#888}.highlight .gp{color:#555}.highlight .gu{color:#aaa}.highlight .gt{color:#a00}.highlight .kt{color:#445588}.highlight .m{color:#b7a5df}.highlight .n{color:#00d9d9}.highlight .s{color:#9ed53e}.highlight .na{color:#00afc6}.highlight .nb{color:#00d9d9}.highlight .nl{color:#00afc6}.highlight .nc{color:#fc0}.highlight .nd{color:#fc0}.highlight .no{color:#00afc6}.highlight .ni{color:#fc0}.highlight .ne{color:#990000}.highlight .nf{color:#990000}.highlight .nn{color:#555}.highlight .nt{color:#00d9d9}.highlight .nv{color:teal}.highlight .w{color:#bbb}.highlight .mf{color:#099}.highlight .mh{color:#099}.highlight .mi{color:#099}.highlight .mo{color:#099}.highlight .sb{color:#d14}.highlight .sc{color:#d14}.highlight .sd{color:#d14}.highlight .s2{color:#ff694b}.highlight .se{color:#d14}.highlight .sh{color:#d14}.highlight .si{color:#d14}.highlight .sx{color:#d14}.highlight .sr{color:#009926}.highlight .s1{color:#d14}.highlight .ss{color:#990073}.highlight .bp{color:#999}.highlight .vc{color:teal}.highlight .vg{color:teal}.highlight .vi{color:teal}.highlight .il{color:#099}.highlight .lineno{-webkit-user-select:none;-moz-user-select:none;-o-user-select:none}.highlight .lineno::-moz-selection{background-color:transparent}.highlight .lineno::selection{background-color:transparent}.label{text-transform:uppercase;letter-spacing:.15em;font-size:.75rem;font-weight:500;-webkit-transition:all .25s cubic-bezier(0.25, 0, 0, 1);-o-transition:all .25s cubic-bezier(0.25, 0, 0, 1);transition:all .25s cubic-bezier(0.25, 0, 0, 1);display:inline-block;text-align:inherit;padding:0;border:0}.label-default{color:#8b969e}.label-success{color:#5fb825}.label-info{color:#0aa}.label-warning{color:#ff821d}.label-danger{color:#ff4f39}.label-inherit{color:inherit}.label+.label:not(.block){margin-left:1.5em}a.label:hover.label-default,a.label:focus.label-default{color:#3f464e}a.label:hover.label-success,a.label:focus.label-success{color:#369115}a.label:hover.label-info,a.label:focus.label-info{color:#007b7b}a.label:hover.label-warning,a.label:focus.label-warning{color:#ff4b11}a.label:hover.label-danger,a.label:focus.label-danger{color:#ff2d21}.badge{border-radius:200px ;text-transform:uppercase;letter-spacing:.15em;font-size:.75rem;font-weight:500;line-height:1.8em;height:1.8em;min-width:1.8em;text-align:center;padding:0 7px;text-indent:1px;border:0}.badge-success{background:#7ec631;color:white}.badge-warning{background:#ff9b26;color:white}.badge-danger{background:#ff694b;color:white}.list-group-item .badge{float:right}.active .badge{color:#fff;background:#009797}.badge-digit{padding:0 2px}.badge-corner{position:absolute;top:0;right:0;-webkit-transform:translate(50%, -50%);transform:translate(50%, -50%)}.badges{font-size:0;display:block}.badges .badge{margin:2px 4px 2px 0}.progress{height:6px;overflow:visible;margin:1em 0}.progress:first-child{margin-top:0}.progress:last-child{margin-bottom:0}.progress,.progress .progress-bar{border-radius:100px;box-shadow:none}.tooltip{box-shadow:0 0 0 1px rgba(0,30,60,0.03),0 20px 20px -10px rgba(0,0,0,0.2);padding:0 !important}.tooltip,.tooltip .tooltip-inner,.tooltip .tooltip-arrow{border-radius:4px}.tooltip .tooltip-arrow{-webkit-transform:rotate(45deg);transform:rotate(45deg);background:#007699;box-shadow:0 0 0 1px rgba(0,30,60,0.03),0 20px 20px -10px rgba(0,0,0,0.2);border-width:0;height:12px;width:12px}.tooltip.top .tooltip-arrow{margin-bottom:-3px}.tooltip.bottom .tooltip-arrow{margin-top:-3px}.tooltip.left .tooltip-arrow{margin-right:-3px}.tooltip.right .tooltip-arrow{margin-left:-3px}.tooltip .tooltip-inner{font-size:.9285714286rem;padding:.6785714286rem 1.25rem;margin:0 !important;font-style:normal}.popover{box-shadow:0 0 0 1px rgba(0,30,60,0.03),0 20px 20px -10px rgba(0,0,0,0.2);font-size:1rem;border-width:0 !important;color:#fff;padding:0}.popover,.popover .popover-content,.popover .arrow{border-radius:4px}.popover .popover-content{border-radius:4px;margin:0 !important}.popover .popover-title,.popover .popover-content{padding:1.2857142857rem 1.875rem;background:#ff694b}.popover .arrow{width:20px;height:20px;background:#ff694b;box-shadow:0 0 0 1px rgba(0,30,60,0.03),0 20px 20px -10px rgba(0,0,0,0.2);-webkit-transform:rotate(45deg);transform:rotate(45deg)}.popover .arrow:after{display:none}.popover.top .arrow{margin:-10px;margin-bottom:-4px}.popover.bottom .arrow{margin:-10px;margin-top:-4px}.popover.left .arrow{margin:-10px;margin-right:-4px}.popover.right .arrow{margin:-10px;margin-left:-4px}.modal .modal-dialog{margin:auto;display:table;width:768px;max-width:100vw;height:100vh}.modal .modal-dialog.modal-sm{width:400px}.modal .modal-dialog.modal-lg{width:960px}.modal .modal-content{display:table-cell;vertical-align:middle;box-shadow:none}.modal.fade .modal-dialog{-webkit-transition:all .25s cubic-bezier(0.25, 0, 0, 1);-o-transition:all .25s cubic-bezier(0.25, 0, 0, 1);transition:all .25s cubic-bezier(0.25, 0, 0, 1);-webkit-transform:translate(0, -20px);transform:translate(0, -20px)}.modal.fade.in .modal-dialog{-webkit-transform:translate(0, 0);transform:translate(0, 0)}.modal-backdrop{display:block;position:absolute;width:100%;height:100%;top:0;left:0;position:fixed;z-index:1040}@media (max-width: 960px){.modal-content:not(.modal-content-flush){padding:7.5vw}}.panel{border-width:0;display:flex;flex-direction:column;display:block;border-width:0;background:white;box-shadow:0 0 0 1px rgba(0,30,60,0.03),0 3px 3px -1.5px rgba(0,0,0,0.03);border-radius:4px;margin:1em 0}.panel:first-child{margin-top:0}.panel:last-child{margin-bottom:0}.panel>*{border-color:transparent !important;flex:0 0 auto}.panel>*:first-child{border-top-right-radius:4px;border-top-left-radius:4px}.panel>*:last-child{border-bottom-right-radius:4px;border-bottom-left-radius:4px}.panel>*,.panel>*>.panel-fill{padding:20px 30px}.panel>*.panel-flush,.panel>*>.panel-fill.panel-flush{padding:0 !important}.panel>*.panel-flush-top,.panel>*>.panel-fill.panel-flush-top{padding-top:0 !important}.panel>*.panel-flush-bottom,.panel>*>.panel-fill.panel-flush-bottom{padding-bottom:0 !important}.panel-large>*,.panel-large>*>.panel-fill{padding:40px 50px}@media (max-width: 960px){.panel-large>*,.panel-large>*>.panel-fill{padding:5vw 7.5vw}}.panel>.panel-body{flex:1 0 auto}.panel>.panel-body>*:first-child{margin-top:0}.panel>.panel-body>*:last-child{margin-bottom:0}.panel>.panel-body>.panel-fill{display:block;position:absolute;width:100%;height:100%;top:0;left:0;overflow:auto}html.touch .panel>.panel-body>.panel-fill{overflow:scroll;-webkit-overflow-scrolling:touch}h1.panel-title,.h1.panel-title{font-size:1.7142857143rem}h2.panel-title,.h2.panel-title{font-size:1.7142857143rem}h3.panel-title,.h3.panel-title{font-size:1.2857142857rem}h4.panel-title,.h4.panel-title{font-size:1.1428571429rem}h5.panel-title,.h5.panel-title{font-size:1rem}h6.panel-title,.h6.panel-title{font-size:1rem}.list-group{display:block;border-width:0;background:white;box-shadow:0 0 0 1px rgba(0,30,60,0.03),0 3px 3px -1.5px rgba(0,0,0,0.03);border-radius:4px}.list-group .list-group-item{margin:0;border-width:0 0 1px 0}.list-group .list-group-item *{margin-top:0;margin-bottom:0}.list-group .list-group-item:last-child{border-width:0}.well{padding:1.2857142857rem 1.875rem;box-shadow:none;border:0}.well>*:first-child{margin-top:0}.well>*:last-child{margin-bottom:0}.row{margin:0}.container{padding-left:0;padding-right:0}@media (min-width: 961px){.container{width:90%;max-width:1320px}}@media (max-width: 960px){.container{width:auto}}@media (min-width: 961px){.row-reverse>[class*="col-lg-"]{float:right}}@media (max-width: 960px){[class*="col-lg-"]+[class*="col-lg-"]{margin-top:30px;margin-bottom:30px}[class*="col-lg-"]+[class*="col-lg-"]:first-child{margin-top:0}[class*="col-lg-"]+[class*="col-lg-"]:last-child{margin-bottom:0}}@media (max-width: 768px){[class*="col-md-"]+[class*="col-md-"]{margin-top:30px;margin-bottom:30px}[class*="col-md-"]+[class*="col-md-"]:first-child{margin-top:0}[class*="col-md-"]+[class*="col-md-"]:last-child{margin-bottom:0}}@media (max-width: 540px){[class*="col-sm-"]+[class*="col-sm-"]{margin-top:30px;margin-bottom:30px}[class*="col-sm-"]+[class*="col-sm-"]:first-child{margin-top:0}[class*="col-sm-"]+[class*="col-sm-"]:last-child{margin-bottom:0}}.carousel .carousel-control{background:transparent}.carousel .carousel-control:after{width:1em;display:block;position:absolute;left:0;top:0;bottom:0;right:0;margin:auto;height:1.6em;font-size:2rem}.carousel .carousel-indicators{bottom:10px}.carousel .carousel-indicators li{background:#fff;-webkit-transition:all .25s cubic-bezier(0.25, 0, 0, 1);-o-transition:all .25s cubic-bezier(0.25, 0, 0, 1);transition:all .25s cubic-bezier(0.25, 0, 0, 1);margin:0 2px;opacity:.25;height:8px;width:8px;border:0}.carousel .carousel-indicators li.active{opacity:1}.carousel .carousel-inner .item img{width:100%}.thumbnail{display:block;border-width:0;background:white;box-shadow:0 0 0 1px rgba(0,30,60,0.03),0 3px 3px -1.5px rgba(0,0,0,0.03);border-radius:4px}.thumbnail img{width:100%}.thumbnail .caption *{margin-top:0;margin-bottom:0}.range{-webkit-appearance:none;margin:0;width:100%;outline:none !important}.range::-moz-focus-outer{border:0}.range::-webkit-slider-runnable-track{width:100%;height:6px;cursor:pointer;box-shadow:none;background:#f0f2f4;border-radius:200px;border:0 solid transparent;color:transparent;-webkit-transition:all .25s cubic-bezier(0.25, 0, 0, 1);-o-transition:all .25s cubic-bezier(0.25, 0, 0, 1);transition:all .25s cubic-bezier(0.25, 0, 0, 1)}.range::-moz-range-track{width:100%;height:6px;cursor:pointer;box-shadow:none;background:#f0f2f4;border-radius:200px;border:0 solid transparent;color:transparent;-webkit-transition:all .25s cubic-bezier(0.25, 0, 0, 1);-o-transition:all .25s cubic-bezier(0.25, 0, 0, 1);transition:all .25s cubic-bezier(0.25, 0, 0, 1)}.range::-ms-track{width:100%;height:6px;cursor:pointer;box-shadow:none;background:#f0f2f4;border-radius:200px;border:0 solid transparent;color:transparent;-webkit-transition:all .25s cubic-bezier(0.25, 0, 0, 1);-o-transition:all .25s cubic-bezier(0.25, 0, 0, 1);transition:all .25s cubic-bezier(0.25, 0, 0, 1);background:transparent;border-width:5px 0}.range::-ms-fill-lower{box-shadow:none;background:#f0f2f4;border-radius:200px;border:0 solid transparent;color:transparent;-webkit-transition:all .25s cubic-bezier(0.25, 0, 0, 1);-o-transition:all .25s cubic-bezier(0.25, 0, 0, 1);transition:all .25s cubic-bezier(0.25, 0, 0, 1)}.range::-ms-fill-upper{box-shadow:none;background:#f0f2f4;border-radius:200px;border:0 solid transparent;color:transparent;-webkit-transition:all .25s cubic-bezier(0.25, 0, 0, 1);-o-transition:all .25s cubic-bezier(0.25, 0, 0, 1);transition:all .25s cubic-bezier(0.25, 0, 0, 1)}.range::-webkit-slider-thumb{box-shadow:none;border:0;height:16px;width:16px;border-radius:200px;background:#0bb;cursor:pointer;-webkit-transition:all .25s cubic-bezier(0.25, 0, 0, 1);-o-transition:all .25s cubic-bezier(0.25, 0, 0, 1);transition:all .25s cubic-bezier(0.25, 0, 0, 1);-webkit-appearance:none;margin-top:-5px}.range::-moz-range-thumb{box-shadow:none;border:0;height:16px;width:16px;border-radius:200px;background:#0bb;cursor:pointer;-webkit-transition:all .25s cubic-bezier(0.25, 0, 0, 1);-o-transition:all .25s cubic-bezier(0.25, 0, 0, 1);transition:all .25s cubic-bezier(0.25, 0, 0, 1)}.range::-ms-thumb{box-shadow:none;border:0;height:16px;width:16px;border-radius:200px;background:#0bb;cursor:pointer;-webkit-transition:all .25s cubic-bezier(0.25, 0, 0, 1);-o-transition:all .25s cubic-bezier(0.25, 0, 0, 1);transition:all .25s cubic-bezier(0.25, 0, 0, 1)}@supports (-ms-ime-align: auto){.range::-ms-thumb{margin-top:1px}}.range:hover::-webkit-slider-thumb{background:#0aa}.range:focus::-webkit-slider-thumb{background:#0aa}.range:hover::-moz-range-thumb{background:#0aa}.range:focus::-moz-range-thumb{background:#0aa}.range:hover::-ms-thumb{background:#0aa}.range:focus::-ms-thumb{background:#0aa}.range:hover::-webkit-slider-runnable-track{background:#e9ebef}.range:focus::-webkit-slider-runnable-track{background:#e9ebef}.range:hover::-moz-range-track{background:#e9ebef}.range:focus::-moz-range-track{background:#e9ebef}.range:hover::-ms-fill-lower{background:#e9ebef}.range:focus::-ms-fill-lower{background:#e9ebef}.range:hover::-ms-fill-upper{background:#e9ebef}.range:focus::-ms-fill-upper{background:#e9ebef}.breadcrumb-flush{padding:0}.breadcrumb>li:first-child .glyph{position:absolute;right:100%;top:50%;-webkit-transform:translate(-33%, -50%);transform:translate(-33%, -50%)}.breadcrumb>li:before{font-weight:normal;padding:0 .5em;opacity:.5}.card{display:block;border-width:0;background:white;box-shadow:0 0 0 1px rgba(0,30,60,0.03),0 3px 3px -1.5px rgba(0,0,0,0.03);border-radius:4px;display:flex;flex-direction:column}.card>.card-header,.card>.card-footer{flex:0 0 auto}.card>.card-body{flex:1 0 auto}.card.active{box-shadow:0 0 0 1px #0bb,0 15px 15px -7.5px rgba(0,0,0,0.15)}.card-footer,.card-header,.card-body,.card-padding{padding:20px 30px}.card-expand{margin:-20px -30px}.card-header h1,.card-header .h1,.card-header h2,.card-header .h2,.card-header h3,.card-header .h3,.card-header h4,.card-header .h4,.card-header h5,.card-header .h5,.card-header h6,.card-header .h6{margin:0}.card-flush-top{padding-top:0}.card-flush-bottom{padding-bottom:0}.card-flush-vertical{padding-top:0;padding-bottom:0}.card-flush{padding:0}.card-sm{padding:8px 12px}.card-control{display:block}.card-control .btn,.card-control .form-control,.card-control .input-group-addon,.card-control .form-control-static,.card-control .form-grid .form-row .form-label label,.form-grid .form-row .form-label .card-control label{display:block;margin:0 !important;height:4.2857142857rem;padding:1.3928571429rem 30px;border-radius:0;width:100%}.card-control .form-control{background:white}.card-control .form-control:not(:disabled):not(.disabled):hover{background-color:#f0f2f4}.card-control .btn,.card-control .input-group-addon{text-align:center}.card-footer .card-control:first-child .btn,.card-footer .card-control:first-child .form-control,.card-footer .card-control:first-child .input-group-addon,.card-footer .card-control:first-child .form-control-static,.card-footer .card-control:first-child .form-grid .form-row .form-label label,.form-grid .form-row .form-label .card-footer .card-control:first-child label{border-bottom-left-radius:4px}.card-footer .card-control:last-child .btn,.card-footer .card-control:last-child .form-control,.card-footer .card-control:last-child .input-group-addon,.card-footer .card-control:last-child .form-control-static,.card-footer .card-control:last-child .form-grid .form-row .form-label label,.form-grid .form-row .form-label .card-footer .card-control:last-child label{border-bottom-right-radius:4px}.card-body .card-control:first-child .btn,.card-body .card-control:first-child .form-control,.card-body .card-control:first-child .input-group-addon,.card-body .card-control:first-child .form-control-static,.card-body .card-control:first-child .form-grid .form-row .form-label label,.form-grid .form-row .form-label .card-body .card-control:first-child label{border-top-left-radius:4px}.card-body .card-control:last-child .btn,.card-body .card-control:last-child .form-control,.card-body .card-control:last-child .input-group-addon,.card-body .card-control:last-child .form-control-static,.card-body .card-control:last-child .form-grid .form-row .form-label label,.form-grid .form-row .form-label .card-body .card-control:last-child label{border-top-right-radius:4px}.card-toolbar{display:flex;flex-direction:row;flex-wrap:wrap;padding:0}.card-toolbar .card-control{display:block;flex:1 0 auto}.card-form{padding:0;display:table;width:100%}.card-form .card-formrow{display:table-row}.card-form .card-formrow .card-control{display:table-cell;vertical-align:middle}.card-form .card-formrow:not(:last-child) .card-control{border-bottom:1px solid rgba(0,30,60,0.075)}.card-list:not(:first-child){border-top:1px solid rgba(0,30,60,0.075)}.preview{margin:60px 0;background:white;border-radius:4px;display:flex;flex-direction:column;flex:1 0 auto;box-shadow:0 0 0 1px rgba(0,30,60,0.03),0 3px 3px -1.5px rgba(0,0,0,0.03);-webkit-transition:all .25s cubic-bezier(0.25, 0, 0, 1);-o-transition:all .25s cubic-bezier(0.25, 0, 0, 1);transition:all .25s cubic-bezier(0.25, 0, 0, 1)}.preview:first-child{margin-top:0}.preview:last-child{margin-bottom:0}.preview .preview-header{background-position:50% 50%;background-size:cover}.preview .preview-header:before{content:\'\';display:block;padding-bottom:50%}.preview .preview-body{display:flex;flex-direction:column;flex:1 0 auto}.preview .preview-body .preview-footer{flex:0 0 auto;padding:20px 30px}.preview .preview-body .preview-text{flex:1 0 auto;padding:20px 30px}.preview .preview-body .preview-text *{margin-top:0;margin-bottom:0}.preview .preview-body .preview-text h1,.preview .preview-body .preview-text .h1,.preview .preview-body .preview-text h2,.preview .preview-body .preview-text .h2,.preview .preview-body .preview-text h3,.preview .preview-body .preview-text .h3,.preview .preview-body .preview-text h4,.preview .preview-body .preview-text .h4,.preview .preview-body .preview-text h5,.preview .preview-body .preview-text .h5,.preview .preview-body .preview-text h6,.preview .preview-body .preview-text .h6{margin-bottom:20px}.preview .preview-body .preview-text ~ .preview-footer{padding-top:0}.preview.preview-link:hover,.preview.preview-link:focus{box-shadow:0 0 0 1px rgba(0,30,60,0.03),0 15px 15px -7.5px rgba(0,0,0,0.15)}.preview.preview-vertical .preview-header{flex:0 0 auto}.preview.preview-vertical .preview-body{flex:1 0 auto}.preview.preview-vertical .preview-header-grow{flex:1 0 auto}.preview.preview-vertical .preview-header-grow ~ .preview-body{flex:0 0 auto}.preview.preview-horizontal{display:flex;flex-direction:row}.preview.preview-horizontal .preview-header{flex:1 1 120px}.preview.preview-horizontal .preview-body{flex:3 1 260px}.preview:not(.preview-vertical):not(.preview-horizontal){display:flex;flex-direction:row;flex-wrap:wrap}.preview:not(.preview-vertical):not(.preview-horizontal) .preview-header{flex:1 0 120px}.preview:not(.preview-vertical):not(.preview-horizontal) .preview-body{flex:3 1 260px}.loading{text-align:center;margin:20px 0}.loading:after{margin:0 auto;content:\'\';display:block;font-size:30px;width:1em;height:1em;border-radius:50%;border:1px solid;border-top-color:rgba(0,30,60,0.03);border-right-color:rgba(0,30,60,0.03);-webkit-animation:spin .5s 0s linear infinite;-o-animation:spin .5s 0s linear infinite;animation:spin .5s 0s linear infinite}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes spin{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.loading.loading-inline{height:10px;display:inline-block;margin:0 .375em 0 0;vertical-align:middle}.loading.loading-inline-after{margin:0 0 0 .375em}.loading.loading-inline:after{margin:-10px 0}.loading.loading-small.loading-inline{top:-1px}.loading.loading-small:after{font-size:12px;margin:-1px auto}.btn .loading:after{color:inherit}.loading-overlay{background:#f9fafb;border-radius:4px}.loading-overlay>*{pointer-events:none;opacity:.15}.loading-overlay .loading{display:block;position:absolute;width:100%;height:100%;top:0;left:0;margin:0;opacity:1}.loading-overlay .loading:after{display:block;position:absolute;left:0;top:0;bottom:0;right:0;margin:auto}.message{margin:20px 0}.message .message-content{display:flex;flex-direction:row}.message .message-content>*{padding:0 .5rem}.message:not(.message-secondary) .message-content .message-header{padding-left:0}.message:not(.message-secondary) .message-content .message-body{padding-right:4rem}.message:not(.message-secondary) .message-content .message-body .message-text{border-top-left-radius:4px}.message.message-secondary .message-content{-ms-flex-pack:end;justify-content:flex-end}.message.message-secondary .message-content .message-header{padding-right:0}.message.message-secondary .message-content .message-body{padding-left:4rem}.message.message-secondary .message-content .message-body .message-text{border-top-right-radius:4px}.message-header{flex:0 0 auto}.message-secondary .message-header{order:2}.message-header .message-avatar .avatar{font-size:2.5rem}.message-body{flex:0 1 auto}.message-body .message-text{background:#f0f2f4;padding:1.2857142857rem 1.875rem;border-radius:1.333em}.message-blue .message-body .message-text{background:#0bb;color:white}.message-green .message-body .message-text{background:#7ec631;color:white}.message-purple .message-body .message-text{background:#7f6cc5;color:white}.toolbar a{display:block}.toolbar .toolbar-content{display:flex;flex-direction:row;flex-wrap:wrap;-ms-flex-align:center;align-items:center}.toolbar .toolbar-content .toolbar-item{flex:0 0 auto}.toolbar .toolbar-content .toolbar-item>.btn{width:100%}.toolbar .toolbar-content .toolbar-item>.toolbar-link{padding:1rem 1.5rem}.toolbar .toolbar-content .toolbar-gap{flex:1000 1 auto}.toolbar-fill .btn{border-radius:0}.toolbar-fill .toolbar-content>.btn,.toolbar-fill .toolbar-content .toolbar-item{flex:1 0 auto}.toolbar-separate .toolbar-content{margin:-.375rem}.toolbar-separate .toolbar-content .toolbar-item{margin:.375rem}.toolbar-fixed .toolbar-content>.btn,.toolbar-fixed .toolbar-content .toolbar-item{flex:1 0 0px}.title{margin-left:-10px;margin-right:-10px;display:flex;flex-direction:row;flex-wrap:wrap;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:center;align-items:center}.title-buffer{margin-top:60px;margin-bottom:60px}.title>*{padding:5px 0;margin:0 10px}.title-header{flex:0 1 auto}.title-body{flex:1 1 auto}.title-actions{flex:0 1 auto}.title-fix{min-height:50px}.title:first-child{margin-top:-5px}.title:last-child{margin-bottom:-5px}.list{color:#8b969e}.list-item:not(:first-child){border-top:1px solid rgba(0,30,60,0.075)}.list-item:first-child .list-row{border-top-right-radius:4px;border-top-left-radius:4px}.list-item:last-child .list-row{border-bottom-right-radius:4px;border-bottom-left-radius:4px}.list-link{display:block;position:absolute;width:100%;height:100%;top:0;left:0;z-index:2}.list-link:hover+.list-row,.list-link:focus+.list-row{background:#f9fafb}.list-item.active .list-row{background:#0bb}.list-item.active .list-row h1,.list-item.active .list-row .h1,.list-item.active .list-row h2,.list-item.active .list-row .h2,.list-item.active .list-row h3,.list-item.active .list-row .h3,.list-item.active .list-row h4,.list-item.active .list-row .h4,.list-item.active .list-row h5,.list-item.active .list-row .h5,.list-item.active .list-row h6,.list-item.active .list-row .h6,.list-item.active .list-row{color:#fff}.list-row{display:flex;flex-direction:row;-ms-flex-align:center;align-items:center;-webkit-transition:all .25s cubic-bezier(0.25, 0, 0, 1);-o-transition:all .25s cubic-bezier(0.25, 0, 0, 1);transition:all .25s cubic-bezier(0.25, 0, 0, 1)}.list-row>*{flex:1 1 0px;padding:1.5rem 2rem}.list-row>* *{margin-top:0;margin-bottom:0}.list-row>* a{z-index:3}.list-row-group{padding-left:0;padding-right:1rem}.list-row-graphic,.list-row-arrow{flex:0 0 auto}.list-row-graphic>.glyph,.list-row-arrow>.glyph{opacity:.3333333333}.list-row-sm>*{padding-top:12px;padding-bottom:12px}.list-row-xs>*{padding-top:7px;padding-bottom:7px}.card-list .list .list-row>*{padding-left:30px;paddign-right:30px}.list-clean{margin:0;padding:0;border:0;list-style-type:none}.list-clean li{margin:0;padding:0;list-style-type:none}.list-columns-2{columns:2}.status{display:flex;flex-direction:row}.status-text{flex:1 1 auto;white-space:nowrap;min-width:0}.status-icon{flex:0 0 auto}.dot{display:inline-block;background:currentColor;width:8px;height:8px;border-radius:50%}.dot-default{color:#8b969e}.dot-success{color:#5fb825}.dot-info{color:#0aa}.dot-warning{color:#ff821d}.dot-danger{color:#ff4f39}.table-master-detail-toggle{-webkit-transition:all .25s cubic-bezier(0.25, 0, 0, 1);-o-transition:all .25s cubic-bezier(0.25, 0, 0, 1);transition:all .25s cubic-bezier(0.25, 0, 0, 1)}.table-master-detail:not(.open) .table-detail{display:none}.table-master-detail.open .table-master td,.table-master-detail.open .table-master th{background:white !important}.table-master-detail.open .table-master-detail-toggle{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.form-grid{display:table;width:100%}.form-grid .form-row-group{display:table-row-group}.form-grid .form-row{display:table-row}.form-grid .form-row .form-row{display:table;width:100%}.form-grid .form-row .form-label,.form-grid .form-row .form-response{display:table-cell;padding:7px;vertical-align:top}.form-grid .form-row .form-label:first-child,.form-grid .form-row .form-response:first-child{padding-left:0}.form-grid .form-row .form-label:last-child,.form-grid .form-row .form-response:last-child{padding-right:0}.form-grid .form-row .form-label .form-row>*,.form-grid .form-row .form-response .form-row>*{padding-top:0;padding-bottom:0}.form-grid .form-row .form-label{white-space:nowrap;width:1px}.form-grid .form-row .form-response .help-block{margin:0;top:3px}.form-grid .form-row .form-response.form-response-short{width:1px;white-space:nowrap}.form-grid .form-row .form-response .form-response,.form-grid .form-row .form-response .form-label{padding-top:0;padding-bottom:0}.form-grid .form-row>.form-label:first-child{padding-right:7px}.form-grid:not(.form-grid-left) .form-label{text-align:right}.matrix{margin:0 -15px;display:flex;flex-direction:row;-ms-flex-align:stretch;align-items:stretch;flex-wrap:wrap}.matrix.matrix-nowrap{flex-wrap:nowrap}.matrix .matrix-item{padding:15px;display:flex;flex-direction:column;flex:1 1 260px}.matrix .matrix-item>*{flex:1 1 auto;margin:0}.waterfall{margin:0 -15px;-webkit-column-count:4;column-count:4;-webkit-column-gap:0;column-gap:0;-webkit-column-width:320px;column-width:320px}.waterfall .waterfall-item{-webkit-column-break-inside:avoid;page-break-inside:avoid;break-inside:avoid-column;padding:15px}.waterfall .waterfall-item>*{margin:0}.mosaic{display:flex;flex-direction:column;-ms-flex-align:stretch;align-items:stretch}.mosaic-buffer{margin:0 -15px}.mosaic-row{display:flex;flex-direction:row;flex-wrap:wrap;flex:1 1 auto}.mosaic-column{display:flex;flex-direction:column;flex:1 1 320px}.mosaic-column-1{flex:1 1 320px}.mosaic-column-2{flex:1 1 640px}.mosaic-column-3{flex:1 1 960px}.mosaic-column-4{flex:1 1 1280px}.mosaic-column-5{flex:1 1 1600px}.mosaic-column-6{flex:1 1 1920px}.mosaic-column-7{flex:1 1 2240px}.mosaic-column-8{flex:1 1 2560px}.mosaic-column-9{flex:1 1 2880px}.mosaic-column-10{flex:1 1 3200px}.mosaic-column-11{flex:1 1 3520px}.mosaic-column-12{flex:1 1 3840px}.mosaic-item{display:flex;flex-direction:column}.mosaic-item>*{flex:1 0 auto;margin:0}.mosaic-column>.mosaic-item{flex:1 1 auto}.mosaic-row>.mosaic-item{flex:1 0 260px}.mosaic-buffer .mosaic-item{margin:15px}.flex-row{display:flex;flex-direction:row;flex-wrap:wrap}.flex-column{display:flex;flex-direction:column;flex:1 1 320px}.flex-column-1{flex:1 1 320px}.flex-column-2{flex:1 1 640px}.flex-column-3{flex:1 1 960px}.flex-column-4{flex:1 1 1280px}.flex-column-5{flex:1 1 1600px}.flex-column-6{flex:1 1 1920px}.flex-column-7{flex:1 1 2240px}.flex-column-8{flex:1 1 2560px}.flex-column-9{flex:1 1 2880px}.flex-column-10{flex:1 1 3200px}.flex-column-11{flex:1 1 3520px}.flex-column-12{flex:1 1 3840px}.flex-nowrap{flex-wrap:nowrap}.flex-buffer{margin:0 -15px}.flex-flush{margin-top:-15px;margin-bottom:-15px}.flex-column>.flex-item{flex:1 1 auto}.flex-row>.flex-item{flex:1 0 260px}.flex-buffer .flex-item{margin:15px}.flex-column>.flex-item-sm{flex:1 1 auto}.flex-row>.flex-item-sm{flex:1 0 130px}.flex-buffer .flex-item-sm{margin:7.5px}.flex-grow{flex:1 0 auto}.flex-auto{flex:0 0 auto}.flex-shrink{flex:0 1 auto}.album{margin:0 -30px;visibility:hidden}.album.album-ready{visibility:visible}.album .album-content{display:flex;flex-direction:row;flex-wrap:wrap;-ms-flex-align:stretch;align-items:stretch}.album .album-content .album-image{flex:1 1 auto;margin:30px}.album .album-content .album-image img{margin:0;display:block;width:100%;height:auto;display:block;border-width:0;background:white;box-shadow:0 0 0 1px rgba(0,30,60,0.03),0 3px 3px -1.5px rgba(0,0,0,0.03);border-radius:4px}.limit-1>*:nth-child(n+2){display:none !important}.limit-2>*:nth-child(n+3){display:none !important}.limit-3>*:nth-child(n+4){display:none !important}.limit-4>*:nth-child(n+5){display:none !important}.limit-5>*:nth-child(n+6){display:none !important}.limit-6>*:nth-child(n+7){display:none !important}.limit-7>*:nth-child(n+8){display:none !important}.limit-8>*:nth-child(n+9){display:none !important}.limit-9>*:nth-child(n+10){display:none !important}.limit-10>*:nth-child(n+11){display:none !important}.limit-11>*:nth-child(n+12){display:none !important}.limit-12>*:nth-child(n+13){display:none !important}.grid{display:grid;grid-gap:2em;grid-template-columns:repeat(auto-fill, minmax(200px, 1fr))}html.cssgridlegacy .grid{display:flex;flex-direction:row;flex-wrap:wrap;padding:1em}html.cssgridlegacy .grid>*{flex:1 0 200px;max-width:320px;padding:1em}.section-target{position:absolute;visibility:hidden;top:-4em}.section{padding:.75em 0}.section-target:target+.section-content .panel{box-shadow:0 0 0 1px rgba(0,30,60,0.03),0 30px 30px -15px rgba(0,0,0,0.3)}.framework{-ms-display:grid;display:grid;height:100%}.framework>*{padding:1em 1.5em}.framework .framework-header{background:#0bb;color:white}.framework .framework-nav{background:#f0f2f4}.framework .framework-menu{background:#f9fafb}.framework .framework-content{background:white}.framework .framework-content{padding:0;overflow:auto;display:flex;flex-direction:column;-ms-flex-align:stretch;align-items:stretch}.framework .framework-content>*{padding:1em 1.5em}.framework .framework-content .framework-actions{position:sticky;top:0;z-index:2;background:white}@media (min-width: 961px){.framework{-ms-grid-rows:60px auto;grid-template-rows:60px auto;-ms-grid-columns:60px 240px auto;grid-template-columns:60px 240px auto}.framework .framework-header{-ms-grid-row:1;grid-row:1;-ms-grid-column:1;-ms-grid-column-span:3;grid-column:1 / 4}.framework .framework-nav{-ms-grid-row:2;grid-row:2;-ms-grid-column:1;grid-column:1}.framework .framework-menu{-ms-grid-row:2;grid-row:2;-ms-grid-column:2;grid-column:2}.framework .framework-content{-ms-grid-row:2;grid-row:2;-ms-grid-column:3;grid-column:3}}@media (max-width: 960px){.framework{-ms-grid-rows:60px auto;grid-template-rows:60px auto;-ms-grid-columns:auto;grid-template-columns:auto}.framework .framework-header{-ms-grid-row:1;grid-row:1;-ms-grid-column:1;grid-column:1}.framework .framework-nav{display:none}.framework .framework-menu{display:none}.framework .framework-content{-ms-grid-row:2;grid-row:2;-ms-grid-column:1;grid-column:1}.framework .framework-content .framework-actions{order:-1}}.app{display:block;position:absolute;width:100%;height:100%;top:0;left:0;position:fixed;min-width:960px}.app-row{display:flex;flex-direction:row;-ms-flex-align:stretch;align-items:stretch}.app-column{display:flex;flex-direction:column;-ms-flex-align:stretch;align-items:stretch}.app-middle{-ms-flex-align:center;align-items:center}.app-header,.app-footer{flex:0 0 auto}.app-body{flex:1 0 0px}.app-navbar{height:calc( 2.8571428571rem + 40px );z-index:3;background:white}.app-menu,.app-sidebar,.app-content{-webkit-transition:all .25s cubic-bezier(0.25, 0, 0, 1);-o-transition:all .25s cubic-bezier(0.25, 0, 0, 1);transition:all .25s cubic-bezier(0.25, 0, 0, 1);background:#f9fafb}.app-menu,.app-sidebar{width:20%;min-width:300px;flex:0 0 auto}.app-content{flex:1 0 0px}.app-content a,.app-content .a{color:#0bb}.app-content a:hover,.app-content a:focus,.app-content .a:hover,.app-content .a:focus{color:#0aa}.app-overlay{background:#f0f2f4;position:absolute;display:none;z-index:2;right:-100vw;left:-100vw;bottom:0;top:0;opacity:.9}.app-menu .app-overlay{left:100%;box-shadow:inset 5px 0 10px -5px rgba(0,0,0,0.2)}.app-sidebar .app-overlay{right:100%;box-shadow:inset -5px 0 10px -5px rgba(0,0,0,0.2)}.app-icn:not(:first-child){padding-left:20px}.app-icn:not(:last-child){padding-right:20px}.app-scroll{display:block;position:absolute;width:100%;height:100%;top:0;left:0;overflow:auto}html.touch .app-scroll{overflow:scroll;-webkit-overflow-scrolling:touch}.app-pad{padding:20px 30px}.app-pad,.app-pad-v{padding-top:20px;padding-bottom:20px}.app-pad,.app-pad-h{padding-left:30px;padding-right:30px}.app-sticky{top:0;z-index:2;position:sticky;background:#f9fafb}.app-frame{margin:auto}@media (min-width: 961px){.app-frame{width:90%}}.app-shadow{box-shadow:0 1px 0 rgba(0,16,32,0.05)}.app-flush,.app-flush-top{padding-top:0}.app-flush,.app-flush-bottom{padding-bottom:0}.app-flush,.app-flush-left{padding-left:0}.app-flush,.app-flush-right{padding-right:0}.app-logo{width:100px}.layout{width:100vw;height:100vh;min-width:960px;overflow:auto}html.touch .layout{overflow:scroll;-webkit-overflow-scrolling:touch}.layout-pad{padding-top:20px;padding-bottom:20px}.layout-ide{height:calc(100vh - 53px)}.layout-pad-l,.layout-pad-x{padding-left:20px}.layout-pad-r,.layout-pad-x{padding-right:20px}.layout-sticky{position:sticky;z-index:20;top:0}.layout-frame{margin:auto;width:90%;padding-left:20px;padding-right:20px}.layout-menu .layout-frame{padding-right:0}.layout-navigation{box-shadow:0 0 0 1px rgba(0,30,60,0.03),0 3px 3px -1.5px rgba(0,0,0,0.03);background:white;height:52px;position:absolute;top:0;left:0;right:0}.layout-content{position:absolute;top:53px;bottom:0;left:0;right:0;overflow:auto}html.touch .layout-content{overflow:scroll;-webkit-overflow-scrolling:touch}.layout-row{display:flex;flex-direction:row}.layout-alert{flex:0 0 100%}.layout-menu{flex:0 0 25%;max-width:300px;min-width:0}.layout-body{flex:1 1 auto;box-shadow:0 -1px 0 rgba(0,30,60,0.03)}.ide{overflow:hidden;font-size:.9285714286rem;display:block;position:absolute;width:100%;height:100%;top:0;left:0;background:white}.ide-pad{padding:14px 16px !important}.ide-pad-l,.ide-pad-x{padding-left:16px !important}.ide-pad-r,.ide-pad-x{padding-right:16px !important}.ide-panels{display:block;position:absolute;width:100%;height:100%;top:0;left:0}.ide-panels,.ide-panel-group{display:flex;flex-direction:row;background:inherit}.ide-panels.ide-vertical,.ide-panel-group.ide-vertical{display:flex;flex-direction:column}@media (max-width: 960px){.ide-panels,.ide-panel-group{display:flex;flex-direction:column}}.ide-panel,.ide-panel-group{flex:1 0 0px}.ide-panel{-webkit-transition:all .25s cubic-bezier(0.25, 0, 0, 1);-o-transition:all .25s cubic-bezier(0.25, 0, 0, 1);transition:all .25s cubic-bezier(0.25, 0, 0, 1);-webkit-transition-property:box-shadow,transform;transition-property:box-shadow,transform;box-shadow:0 0 0 2px transparent;min-height:200px;min-width:200px;background:inherit;display:flex;flex-direction:column}.ide-horizontal .ide-panel{height:auto !important}.ide-horizontal .ide-panel[style*="width"]{flex:0 0 auto}.ide-vertical .ide-panel{width:auto !important}.ide-vertical .ide-panel[style*="height"]{flex:0 0 auto}@media (max-width: 960px){.ide-panel{width:auto !important}}.ide-panel-sm{flex:0 0 280px}.ide-panel:before{content:\'\';display:block;position:absolute;left:0;top:0;bottom:0;right:0;box-shadow:0 0 0 1px currentColor;opacity:.125}.ide-panel:focus{z-index:3;box-shadow:0 0 0 2px #0bb,0 10px 20px rgba(0,30,60,0.3);-webkit-transform:translate(10px, -10px);transform:translate(10px, -10px);border-radius:4px}.ide-panel>*:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.ide-panel>*:last-child{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.ide-panel-header,.ide-panel-footer{flex:0 0 auto;background:rgba(0,30,60,0.03)}.ide-panel-header:before,.ide-panel-header:after,.ide-panel-footer:before,.ide-panel-footer:after{content:\'\';display:block;position:absolute;left:0;top:0;bottom:0;right:0;background:currentColor;opacity:.0075}.ide-panel-header:after,.ide-panel-footer:after{height:1px;opacity:.06}.ide-panel-header .btn:focus,.ide-panel-header .btn:active,.ide-panel-footer .btn:focus,.ide-panel-footer .btn:active{z-index:auto}.ide-panel-header:after{top:auto}.ide-panel-footer:before{display:none}.ide-panel-footer:after{bottom:auto}.ide-panel-body{color:#313539;background:inherit;flex:1 1 auto}.ide-panel-scroll{display:block;position:absolute;width:100%;height:100%;top:0;left:0;overflow:auto}html.touch .ide-panel-scroll{overflow:scroll;-webkit-overflow-scrolling:touch}.ide-panel-scroll::-webkit-scrollbar{background:#e9ebef;width:7px;height:7px}.ide-panel-scroll::-webkit-scrollbar-button{display:none}.ide-panel-scroll::-webkit-scrollbar-track{background:transparent}.ide-panel-scroll::-webkit-scrollbar-track-piece{background:transparent}.ide-panel-scroll::-webkit-scrollbar-thumb{background:#d7dbdf;border-radius:200px ;-webkit-transition:all .25s cubic-bezier(0.25, 0, 0, 1);-o-transition:all .25s cubic-bezier(0.25, 0, 0, 1);transition:all .25s cubic-bezier(0.25, 0, 0, 1)}.ide-panel-scroll::-webkit-scrollbar-corner{background:#e9ebef}.ide-panel-scroll::-webkit-resizer{background:transparent}.ide-panel-scroll:hover::-webkit-scrollbar-thumb{background:#c1c7cd}.ide-panel-handle{display:block;position:absolute;top:0;bottom:0;right:0;background:white;width:10px}.ide-controls{display:table;width:100%;height:44px}.ide-controls>*{display:table-cell;vertical-align:middle}.ide-control{white-space:nowrap}.ide-control-sm{width:1px}.ide-control-link,.ide-control-text{display:block;padding:.6785714286rem 0}.ide-control-link{padding-left:1.25rem;padding-right:1.25rem;text-align:center}.ide-control-inline-link{display:inline-block;padding:.6785714286rem 0;text-align:center}.ide-control.active{box-shadow:inset 0 -1px 0 #0bb}.ide-control.active .ide-control-link,.ide-control.active .ide-control-inline-link{color:inherit;font-weight:bold}.ide-list{padding:7px 0}.ide-list-item{display:block;padding:7px 16px;color:inherit;box-shadow:0 1px 0 rgba(0,30,60,0.03);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ide-list-item:hover,.ide-list-item:focus{color:inherit}.ide-list-item-footer{padding:.375em 0;display:flex;flex-direction:row;-ms-flex-pack:justify;justify-content:space-between}.ide-interactive:hover,.ide-interactive:focus{background:#f9fafb}.ide-active{background:#e4e6eb !important}.ide-code{color:inherit;resize:none;padding:0;background:transparent}.ide table{white-space:nowrap}.ide table td:first-child,.ide table th:first-child{padding-left:16px}.ide table td:last-child,.ide table th:last-child{padding-right:16px}.ide table td{max-width:300px;overflow:hidden;text-overflow:ellipsis}.ide-table-heading{color:inherit;position:sticky;top:0;z-index:3;background:white;box-shadow:0 1px 0 rgba(0,30,60,0.03)}.ide-dark{color:white}.ide-dark,.ide-dark .ide-table-heading{background:#002934}.ide-dark .ide-panel-body{color:inherit}.ide-dark .ide-panel:focus,.ide-dark .ide-panel-header,.ide-dark .ide-panel-footer,.ide-dark .table-striped>tbody>tr:nth-of-type(odd){background:#00303d}.ide-dark .ide-active{background:#005e7a !important;color:white !important}.ide-dark .ide-table-heading,.ide-dark .ide-list-item{box-shadow:0 1px 0 rgba(255,255,255,0.1)}.ide-dark .ide-panel-header .btn-default,.ide-dark .ide-panel-footer .btn-default{color:#fff;background-color:#005e7a;border-color:#005e7a}.ide-dark .ide-panel-header .btn-default:focus,.ide-dark .ide-panel-header .btn-default.focus,.ide-dark .ide-panel-footer .btn-default:focus,.ide-dark .ide-panel-footer .btn-default.focus{color:#fff;background-color:#007699}.ide-dark .ide-panel-header .btn-default:hover,.ide-dark .ide-panel-footer .btn-default:hover{color:#fff;background-color:#007699}.ide-dark .ide-panel-header .btn-default:active,.ide-dark .ide-panel-header .btn-default.active,.open>.ide-dark .ide-panel-header .btn-default.dropdown-toggle,.ide-dark .ide-panel-footer .btn-default:active,.ide-dark .ide-panel-footer .btn-default.active,.open>.ide-dark .ide-panel-footer .btn-default.dropdown-toggle{color:#fff;background-color:#007699}.ide-dark .ide-panel-header .btn-default:active:hover,.ide-dark .ide-panel-header .btn-default:active:focus,.ide-dark .ide-panel-header .btn-default:active.focus,.ide-dark .ide-panel-header .btn-default.active:hover,.ide-dark .ide-panel-header .btn-default.active:focus,.ide-dark .ide-panel-header .btn-default.active.focus,.open>.ide-dark .ide-panel-header .btn-default.dropdown-toggle:hover,.open>.ide-dark .ide-panel-header .btn-default.dropdown-toggle:focus,.open>.ide-dark .ide-panel-header .btn-default.dropdown-toggle.focus,.ide-dark .ide-panel-footer .btn-default:active:hover,.ide-dark .ide-panel-footer .btn-default:active:focus,.ide-dark .ide-panel-footer .btn-default:active.focus,.ide-dark .ide-panel-footer .btn-default.active:hover,.ide-dark .ide-panel-footer .btn-default.active:focus,.ide-dark .ide-panel-footer .btn-default.active.focus,.open>.ide-dark .ide-panel-footer .btn-default.dropdown-toggle:hover,.open>.ide-dark .ide-panel-footer .btn-default.dropdown-toggle:focus,.open>.ide-dark .ide-panel-footer .btn-default.dropdown-toggle.focus{color:#fff;background-color:#007699}.ide-dark .ide-panel-header .btn-default:active,.ide-dark .ide-panel-header .btn-default.active,.open>.ide-dark .ide-panel-header .btn-default.dropdown-toggle,.ide-dark .ide-panel-footer .btn-default:active,.ide-dark .ide-panel-footer .btn-default.active,.open>.ide-dark .ide-panel-footer .btn-default.dropdown-toggle{background-image:none}.ide-dark .ide-panel-header .btn-default.disabled:hover,.ide-dark .ide-panel-header .btn-default.disabled:focus,.ide-dark .ide-panel-header .btn-default.disabled.focus,.ide-dark .ide-panel-header .btn-default[disabled]:hover,.ide-dark .ide-panel-header .btn-default[disabled]:focus,.ide-dark .ide-panel-header .btn-default[disabled].focus,fieldset[disabled] .ide-dark .ide-panel-header .btn-default:hover,fieldset[disabled] .ide-dark .ide-panel-header .btn-default:focus,fieldset[disabled] .ide-dark .ide-panel-header .btn-default.focus,.ide-dark .ide-panel-footer .btn-default.disabled:hover,.ide-dark .ide-panel-footer .btn-default.disabled:focus,.ide-dark .ide-panel-footer .btn-default.disabled.focus,.ide-dark .ide-panel-footer .btn-default[disabled]:hover,.ide-dark .ide-panel-footer .btn-default[disabled]:focus,.ide-dark .ide-panel-footer .btn-default[disabled].focus,fieldset[disabled] .ide-dark .ide-panel-footer .btn-default:hover,fieldset[disabled] .ide-dark .ide-panel-footer .btn-default:focus,fieldset[disabled] .ide-dark .ide-panel-footer .btn-default.focus{background-color:#005e7a;border-color:#005e7a}.ide-dark .ide-panel-header .btn-default .badge,.ide-dark .ide-panel-footer .btn-default .badge{color:#005e7a;background-color:#fff}.ide-dark .ide-panel-scroll::-webkit-scrollbar{background:#00475c;width:7px;height:7px}.ide-dark .ide-panel-scroll::-webkit-scrollbar-button{display:none}.ide-dark .ide-panel-scroll::-webkit-scrollbar-track{background:transparent}.ide-dark .ide-panel-scroll::-webkit-scrollbar-track-piece{background:transparent}.ide-dark .ide-panel-scroll::-webkit-scrollbar-thumb{background:#065b74;border-radius:200px ;-webkit-transition:all .25s cubic-bezier(0.25, 0, 0, 1);-o-transition:all .25s cubic-bezier(0.25, 0, 0, 1);transition:all .25s cubic-bezier(0.25, 0, 0, 1)}.ide-dark .ide-panel-scroll::-webkit-scrollbar-corner{background:#00475c}.ide-dark .ide-panel-scroll::-webkit-resizer{background:transparent}.ide-dark .ide-panel-scroll:hover::-webkit-scrollbar-thumb{background:#087291}.ide-dark .ace_scrollbar::-webkit-scrollbar{background:#00475c;width:7px;height:7px}.ide-dark .ace_scrollbar::-webkit-scrollbar-button{display:none}.ide-dark .ace_scrollbar::-webkit-scrollbar-track{background:transparent}.ide-dark .ace_scrollbar::-webkit-scrollbar-track-piece{background:transparent}.ide-dark .ace_scrollbar::-webkit-scrollbar-thumb{background:#065b74;border-radius:200px ;-webkit-transition:all .25s cubic-bezier(0.25, 0, 0, 1);-o-transition:all .25s cubic-bezier(0.25, 0, 0, 1);transition:all .25s cubic-bezier(0.25, 0, 0, 1)}.ide-dark .ace_scrollbar::-webkit-scrollbar-corner{background:#00475c}.ide-dark .ace_scrollbar::-webkit-resizer{background:transparent}.ide-dark .ace_scrollbar:hover::-webkit-scrollbar-thumb{background:#087291}.ide-dark .ide-code::-webkit-scrollbar{background:#00475c;width:7px;height:7px}.ide-dark .ide-code::-webkit-scrollbar-button{display:none}.ide-dark .ide-code::-webkit-scrollbar-track{background:transparent}.ide-dark .ide-code::-webkit-scrollbar-track-piece{background:transparent}.ide-dark .ide-code::-webkit-scrollbar-thumb{background:#065b74;border-radius:200px ;-webkit-transition:all .25s cubic-bezier(0.25, 0, 0, 1);-o-transition:all .25s cubic-bezier(0.25, 0, 0, 1);transition:all .25s cubic-bezier(0.25, 0, 0, 1)}.ide-dark .ide-code::-webkit-scrollbar-corner{background:#00475c}.ide-dark .ide-code::-webkit-resizer{background:transparent}.ide-dark .ide-code:hover::-webkit-scrollbar-thumb{background:#087291}.menu{margin:0 -5px;font-size:.9285714286rem}.menu ul{margin:0;padding:0;border:0;list-style-type:none;display:none}.menu ul li{margin:0;padding:0;list-style-type:none}.menu ul ul{margin-left:23px}.menu a{color:#3f464e;display:block;padding:3px 5px;border-radius:4px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.menu a.menu-tree{color:#8b969e}.menu a.menu-main{font-size:1rem;margin-bottom:.25em;font-weight:bold;color:#313539}.menu a.active:not(.not-active){color:#313539}.menu a:hover,.menu a:focus{background:#f0f2f4;color:#313539}.menu a.menu-node.active:not(.not-active),.menu a.menu-link.active:not(.not-active){background:#e9ebef;color:#313539}.menu .icn{margin-right:8px}.menu>ul,.menu .active+ul{display:block}a:not(.active) .menu-icon-on{display:none}a.active .menu-icon-off{display:none}.results{font-size:.9285714286rem}.results .result{display:block;color:inherit;text-decoration:none !important;padding:15px 20px;margin:0 -20px;border-radius:4px}.results .result:hover,.results .result:focus{color:inherit}.results .result:hover,.results .result:focus{background:#f0f2f4}.results .result-content{display:flex;flex-direction:row}.results .result-content .result-icn{flex:0 0 auto;color:#8b969e;opacity:.5;padding:2px 20px 0 0}.results .result-content .result-body{flex:1 1 auto}.results .result-content .result-body>*{margin-top:.25em;margin-bottom:.25em}.results .result-content .result-body>*:first-child{margin-top:0}.results .result-content .result-body>*:last-child{margin-bottom:0}.filename{display:flex;flex-direction:row}.filename .filename-ellip{flex:0 1 auto;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.filename .filename-normal{flex:0 0 auto}.launcher{z-index:30;position:fixed;bottom:30px;right:30px}.launcher:not(.on) .launcher-content{display:none}.launcher.on .launcher-btn{display:none}.launcher-btn{font-size:0}.launcher-btn .btn{box-shadow:0 0 0 1px rgba(0,30,60,0.03),0 20px 20px -10px rgba(0,0,0,0.2)}.launcher-btn .btn:not(:last-child){margin-right:10px}.launcher-btn .btn:hover,.launcher-btn .btn:focus{box-shadow:0 0 0 1px rgba(0,30,60,0.03),0 40px 40px -20px rgba(0,0,0,0.4)}.launcher-content{position:fixed;height:100%;border:20px solid transparent;top:0;right:0}@media (min-width: 961px){.launcher[data-launcher="sidebar"] .launcher-content{width:340px;border-left:0}}@media (max-width: 960px){.launcher[data-launcher="sidebar"] .launcher-content{width:100vw}}.launcher[data-launcher="sidebar"] .launcher-content .launcher-hide-sidebar:not(.visible){display:none}.launcher[data-launcher="fullscreen"] .launcher-content{width:100vw}.launcher[data-launcher="fullscreen"] .launcher-content .launcher-hide-fullscreen:not(.visible){display:none}.launcher-window{display:flex;flex-direction:column;overflow:auto;width:100%;height:100%;color:white;background:#005e7a;border-radius:4px;box-shadow:-10px 5px 20px 5px rgba(0,0,0,0.1),0 20px 20px -10px rgba(0,0,0,0.3)}.launcher-window h1,.launcher-window .h1,.launcher-window h2,.launcher-window .h2,.launcher-window h3,.launcher-window .h3,.launcher-window h4,.launcher-window .h4,.launcher-window h5,.launcher-window .h5,.launcher-window h6,.launcher-window .h6{color:inherit}html.touch .launcher-window{overflow:scroll;-webkit-overflow-scrolling:touch}.launcher-window .launcher-header,.launcher-window .launcher-footer{flex:0 0 auto;display:flex;flex-direction:row;-ms-flex-align:center;align-items:center}.launcher-window .launcher-header .launcher-spacer,.launcher-window .launcher-footer .launcher-spacer{flex:1 0 0px}.launcher-window .launcher-header .launcher-cell,.launcher-window .launcher-footer .launcher-cell{flex:1 1 auto;min-width:0;padding:20px}.launcher-window .launcher-header .launcher-cell.launcher-flush,.launcher-window .launcher-footer .launcher-cell.launcher-flush{padding:0}.launcher-window .launcher-header .launcher-cell .field-label,.launcher-window .launcher-header .launcher-cell .field-input,.launcher-window .launcher-footer .launcher-cell .field-label,.launcher-window .launcher-footer .launcher-cell .field-input{padding-left:20px;padding-right:20px;border-radius:0 !important;box-shadow:none !important}.launcher-window .launcher-header .launcher-cell .field-input,.launcher-window .launcher-footer .launcher-cell .field-input{background-position:calc(100% - 1.25rem - 5px) 50%}.launcher-window .launcher-header .launcher-actions,.launcher-window .launcher-footer .launcher-actions{flex:0 0 auto}.launcher-window .launcher-footer{flex-wrap:wrap}.launcher-window .launcher-body{flex:1 1 0px}.launcher-window .launcher-body .launcher-scroll{display:block;position:absolute;width:100%;height:100%;top:0;left:0}.launcher-window .launcher-body .launcher-scroll .launcher[data-launcher="sidebar"]{overflow:auto}html.touch .launcher-window .launcher-body .launcher-scroll .launcher[data-launcher="sidebar"]{overflow:scroll;-webkit-overflow-scrolling:touch}.launcher-window .launcher-body .launcher-embed,.launcher-window .launcher-body .launcher-embed iframe,.launcher-window .launcher-body .launcher-embed canvas{display:block;position:absolute;width:100%;height:100%;top:0;left:0}.field{display:block;margin:0}.field .field-input{height:4.6071428571rem;border-top:1.75rem solid transparent !important}.field .field-input:hover+.field-label,.field .field-input:focus+.field-label{color:#5e666c}.field .field-label{pointer-events:none;z-index:4;font-family:"Monaco",monospace;font-size:.8571428571rem;position:absolute;top:0;left:0;margin:0;padding:.6785714286rem 1.25rem 0}.field .field-text{height:4.6071428571rem;border-top:1.75rem solid transparent !important;border-radius:0 !important;box-shadow:none !important;padding:.6785714286rem 1.25rem 0}.field .field-text-label{pointer-events:none;z-index:0;position:absolute;top:0;left:0;margin:0;padding:.6785714286rem 1.25rem 0;font-variant:small-caps}.fields{display:flex;flex-direction:row;flex-wrap:wrap}.fields .field{flex:1 0 160px}.fields:not(.fields-flush){margin:-5px}.fields:not(.fields-flush) .field{border:5px solid transparent}.switches{margin:1.5em 0;display:flex;flex-direction:row;flex-wrap:wrap;background:#edeff2;box-shadow:inset 0 0 5px rgba(0,0,0,0.05);border-radius:4px;font-size:.9285714286rem}.switches .switch{flex:1 1 auto}.switches .switch .switch-label{padding:.4464285714rem 1.25rem;color:#8b969e;display:block;text-align:center;-webkit-transition:all .25s cubic-bezier(0.25, 0, 0, 1);-o-transition:all .25s cubic-bezier(0.25, 0, 0, 1);transition:all .25s cubic-bezier(0.25, 0, 0, 1)}.switches .switch .switch-label:hover,.switches .switch .switch-label:focus{color:#313539}.switches .switch .switch-label.active{display:block;border-width:0;background:white;box-shadow:0 0 0 1px rgba(0,30,60,0.03),0 3px 3px -1.5px rgba(0,0,0,0.03);border-radius:4px;font-weight:bold;color:#313539}.details .details-content{margin:-1em 0}@media (min-width: 961px){.details .details-content{display:table;width:100%}.details .details-content .detail-group{display:table-row}.details .details-content .detail-group>*{display:table-cell;vertical-align:top}.details .details-content .detail-group:not(:last-child)>*{border-bottom:1px solid rgba(0,30,60,0.075)}}.detail-group{padding-bottom:1em}.detail-group:not(:last-child){border-bottom:1px solid rgba(0,30,60,0.075)}.detail-group .detail-header{white-space:nowrap;width:1px;padding:1em;padding-left:0}@media (max-width: 960px){.detail-group .detail-header .detail-label{color:#313539}}.detail-group .detail-body{padding:.5em}@media (max-width: 960px){.detail-group .detail-body{padding:0;margin:0 -1em}}.detail-group .detail-body .detail{margin:0;display:inline-block;vertical-align:top;padding:.5em 1em}.detail-label{margin:0;text-transform:uppercase;letter-spacing:.15em;font-size:.75rem;font-weight:500;color:#8b969e}.detail-value{color:#313539}.controls{display:flex;flex-direction:row;flex-wrap:wrap;-ms-flex-pack:justify;justify-content:space-between;margin:-7px}.controls:not(.controls-block){display:inline-flex}.controls-nowrap{flex-wrap:nowrap}.controls .control{padding:7px;flex:0 0 auto}.controls .control .btn{text-align:center}.controls .control .btn,.controls .control .form-control{width:100%}.controls .control-grow{flex:1 0 auto}.controls .control-full{flex:0 0 100%}.token{display:flex;flex-direction:row;display:inline-flex}.token-element{flex:0 0 auto}.token-element:not(:first-child) .btn,.token-element:not(:first-child) .form-control{border-top-left-radius:0;border-bottom-left-radius:0}.token-element:not(:last-child) .btn,.token-element:not(:last-child) .form-control{border-top-right-radius:0;border-bottom-right-radius:0}.tokens{margin-left:-5px;margin-right:-5px}.tokens:after{display:table;content:\'\';clear:both}.tokens-actions{float:right}.tokens .token{float:left;margin:5px}.setting{display:flex;flex-direction:row;margin:0 -30px}.setting>*{padding:15px 30px}.setting-header{flex:1 0 28.5714285714%;min-width:200px}.setting-header-text>*{margin-top:.5rem;margin-bottom:.5rem}.setting-header-text>*:first-child{margin-top:0}.setting-header-text>*:last-child{margin-bottom:0}.setting-header-text h1,.setting-header-text .h1,.setting-header-text h2,.setting-header-text .h2,.setting-header-text h3,.setting-header-text .h3,.setting-header-text h4,.setting-header-text .h4,.setting-header-text h5,.setting-header-text .h5,.setting-header-text h6,.setting-header-text .h6{display:inline}.setting-header-text h1 a,.setting-header-text .h1 a,.setting-header-text h2 a,.setting-header-text .h2 a,.setting-header-text h3 a,.setting-header-text .h3 a,.setting-header-text h4 a,.setting-header-text .h4 a,.setting-header-text h5 a,.setting-header-text .h5 a,.setting-header-text h6 a,.setting-header-text .h6 a{font-size:.9285714286rem;font-weight:bold;margin-left:.75em}.setting-body{flex:1 0 71.4285714286%;min-width:600px}.setting-row{display:flex;flex-direction:row;margin:0 -4px}.setting-row:not(:last-child){border-bottom:1px solid rgba(0,30,60,0.075)}.setting-row>*{padding:4px}.setting-row-label{flex:0 0 25%;min-width:120px;padding-top:8px}.setting-row-response{flex:1 1 auto}.setting-row-edit{flex:0 0 auto}.setting-row-actions{flex:1 1 auto}body:not(.editing) .setting-form:not(.editing) [setting-active]{display:none}.editing [setting-static]{display:none}body.editing [setting-old]{display:none}body:not(.editing) [setting-new]{display:none}.editing .setting-row:not(.setting-row-border){border-color:transparent}.logo{display:block;overflow:hidden;color:#313539}.logo,.logo svg{height:25px;width:88px}.logo svg{fill:currentColor;top:-1px}@media (max-width: 540px){.logo{width:25px}}.kpi{color:#313539;padding:20px 32px}.kpi-lg .kpi-value{font-weight:bold;font-size:1.7142857143rem}.kpi-content{display:table;width:100%}.kpi-content>*{display:table-cell;vertical-align:baseline}.kpi-graphic{white-space:nowrap;width:1px;padding-right:.5em}.kpis{display:table;width:100%;width:auto}.kpis>*{display:table-cell;vertical-align:middle}.kpis .kpi:first-child{border-top-left-radius:4px;border-bottom-left-radius:4px}.kpis .kpi:last-child{border-top-right-radius:4px;border-bottom-right-radius:4px}.navigation{color:#313539}.navigation-row{height:52px;margin:0 -15px;display:flex;flex-direction:row;-ms-flex-align:center;align-items:center}.navigation-item{flex:0 0 auto;padding:10px 15px}.navigation-grow{flex:1 0 auto}.navigation-link{color:#bec5c9}.navigation-link:hover,.navigation-link:focus{color:#313539}.navigation-pad{padding:0 20px}.sidenav{z-index:20}.sidenav-overlay,.sidenav-content{-webkit-transition:all .25s cubic-bezier(0.25, 0, 0, 1);-o-transition:all .25s cubic-bezier(0.25, 0, 0, 1);transition:all .25s cubic-bezier(0.25, 0, 0, 1)}.sidenav-content{overflow:auto;-webkit-transform:translateX(-120%);transform:translateX(-120%);top:0;bottom:0;left:0;background:white;box-shadow:0 0 0 1px rgba(0,30,60,0.03),0 3px 3px -1.5px rgba(0,0,0,0.03);position:fixed;width:320px}html.touch .sidenav-content{overflow:scroll;-webkit-overflow-scrolling:touch}.navigating .sidenav-content{-webkit-transform:translateX(0);transform:translateX(0)}.sidenav-overlay{display:block;position:absolute;width:100%;height:100%;top:0;left:0;position:fixed;background:#f0f2f4;pointer-events:none;opacity:0}.navigating .sidenav-overlay{pointer-events:auto;opacity:.5}.sidenav-body{padding:0 24px}.sidenav-region{padding-bottom:.25em}.sidenav-divider{display:flex;flex-direction:row;-ms-flex-align:center;align-items:center}.sidenav-divider:after{content:\'\';display:block;border-top:1px solid rgba(0,30,60,0.075);flex:1 1 auto}.sidenav-divider-heading{flex:0 0 auto;padding-right:1em}.sidenav-section{padding:24px 0}.sidenav-section+.sidenav-section{border-top:1px solid rgba(0,30,60,0.075)}.sidenav-link{color:#8b969e;display:block;padding:.25em 0;padding-left:40px}.sidenav-link .glyph{position:absolute;left:0;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.sidenav-link:hover,.sidenav-link:focus{color:#313539}.sidenav-link:not(.active) .glyph{opacity:.3333333333}.sidenav-link.active{color:#ff694b}.sidenav-link-main{color:inherit;padding-top:.5em;padding-bottom:.5em;font-weight:bold}body.navigating{overflow:hidden}body.navigating .navigating-hide{display:none}body:not(.navigating) .navigating-show{display:none}.navigating-overlay{display:block;position:absolute;width:100%;height:100%;top:0;left:0;background:#f0f2f4;opacity:.5;display:none;z-index:9}.navigating .navigating-overlay{display:block}.navigating .navigating-blur{pointer-events:none;-webkit-filter:blur(5px);filter:blur(5px)}a.help{line-height:inherit}\n',""])},function(e,t,n){var r=n(222);"string"==typeof r&&(r=[[e.i,r,""]]);var i={hmr:!0,transform:void 0,insertInto:void 0};n(21)(r,i);r.locals&&(e.exports=r.locals)},function(e,t,n){"use strict";n(223);const r=n(8),i=n(4);window.jQuery=r,n(216),n(215),n(214),n(193),n(191);const o=n(13),a=n(188);o.initHighlightingOnLoad(),o.registerLanguage("sql",a),window.hljs=o;n(187);o.initLineNumbersOnLoad(),n(186),i.module("dbt",["ngRoute","ui.router","hc.marked"]).config(["markedProvider","$locationProvider",function(e,t){e.setOptions({gfm:!0}),e.setRenderer({table:function(e,t){return"<table class='table'><thead>"+e+"</thead><tbody>"+t+"</tbody></table>"}}),t.html5Mode({enabled:!1}),r(document).tooltip({selector:'[data-toggle="tooltip"]',placement:function(e,t){return r(t).attr("data-placement")?r(t).attr("data-placement"):"auto"},container:"body"}),r(document).ready(function(){r("[data-toggle=popover]").popover({container:"body",html:!0})})}])},function(e,t){
 /**
  * @license AngularJS v1.7.2
  * (c) 2010-2018 Google, Inc. http://angularjs.org
  * License: MIT
  */
-!function(e){"use strict";var t={objectMaxDepth:5,urlErrorParamsEnabled:!0};function n(e){if(!q(e))return t;L(e.objectMaxDepth)&&(t.objectMaxDepth=r(e.objectMaxDepth)?e.objectMaxDepth:NaN),L(e.urlErrorParamsEnabled)&&K(e.urlErrorParamsEnabled)&&(t.urlErrorParamsEnabled=e.urlErrorParamsEnabled)}function r(e){return F(e)&&e>0}function i(e,n){n=n||Error;var r="https://errors.angularjs.org/1.7.2/",i=r.replace(".","\\.")+"[\\s\\S]*",o=new RegExp(i,"g");return function(){var i,a,s=arguments[0],l=arguments[1],c="["+(e?e+":":"")+s+"] ",u=pe(arguments,2).map(function(e){return Xe(e,t.objectMaxDepth)});if(c+=l.replace(/\{\d+\}/g,function(e){var t=+e.slice(1,-1);return t<u.length?u[t].replace(o,""):e}),c+="\n"+r+(e?e+"/":"")+s,t.urlErrorParamsEnabled)for(a=0,i="?";a<u.length;a++,i="&")c+=i+"p"+a+"="+encodeURIComponent(u[a]);return new n(c)}}var o,a,s,l,c=/^\/(.+)\/([a-z]*)$/,u="validity",d=Object.prototype.hasOwnProperty,p=function(e){return V(e)?e.toLowerCase():e},f=function(e){return V(e)?e.toUpperCase():e},h=[].slice,g=[].splice,m=[].push,v=Object.prototype.toString,b=Object.getPrototypeOf,y=i("ng"),x=e.angular||(e.angular={}),w=0;function k(e){if(null==e||Y(e))return!1;if(H(e)||V(e)||a&&e instanceof a)return!0;var t="length"in Object(e)&&e.length;return F(t)&&(t>=0&&t-1 in e||"function"==typeof e.item)}function _(e,t,n){var r,i;if(e)if(G(e))for(r in e)"prototype"!==r&&"length"!==r&&"name"!==r&&e.hasOwnProperty(r)&&t.call(n,e[r],r,e);else if(H(e)||k(e)){var o="object"!=typeof e;for(r=0,i=e.length;r<i;r++)(o||r in e)&&t.call(n,e[r],r,e)}else if(e.forEach&&e.forEach!==_)e.forEach(t,n,e);else if(B(e))for(r in e)t.call(n,e[r],r,e);else if("function"==typeof e.hasOwnProperty)for(r in e)e.hasOwnProperty(r)&&t.call(n,e[r],r,e);else for(r in e)d.call(e,r)&&t.call(n,e[r],r,e);return e}function $(e,t,n){for(var r=Object.keys(e).sort(),i=0;i<r.length;i++)t.call(n,e[r[i]],r[i]);return r}function E(e){return function(t,n){e(n,t)}}function S(){return++w}function C(e,t){t?e.$$hashKey=t:delete e.$$hashKey}function T(e,t,n){for(var r=e.$$hashKey,i=0,o=t.length;i<o;++i){var a=t[i];if(q(a)||G(a))for(var s=Object.keys(a),l=0,c=s.length;l<c;l++){var u=s[l],d=a[u];n&&q(d)?U(d)?e[u]=new Date(d.valueOf()):X(d)?e[u]=new RegExp(d):d.nodeName?e[u]=d.cloneNode(!0):ne(d)?e[u]=d.clone():(q(e[u])||(e[u]=H(d)?[]:{}),T(e[u],[d],!0)):e[u]=d}}return C(e,r),e}function A(e){return T(e,h.call(arguments,1),!1)}function P(e){return T(e,h.call(arguments,1),!0)}function O(e){return parseInt(e,10)}o=e.document.documentMode;var R=Number.isNaN||function(e){return e!=e};function j(e,t){return A(Object.create(e),t)}function D(){}function I(e){return e}function N(e){return function(){return e}}function M(e){return G(e.toString)&&e.toString!==v}function z(e){return void 0===e}function L(e){return void 0!==e}function q(e){return null!==e&&"object"==typeof e}function B(e){return null!==e&&"object"==typeof e&&!b(e)}function V(e){return"string"==typeof e}function F(e){return"number"==typeof e}function U(e){return"[object Date]"===v.call(e)}function H(e){return Array.isArray(e)||e instanceof Array}function W(e){switch(v.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return e instanceof Error}}function G(e){return"function"==typeof e}function X(e){return"[object RegExp]"===v.call(e)}function Y(e){return e&&e.window===e}function Z(e){return e&&e.$evalAsync&&e.$watch}function K(e){return"boolean"==typeof e}function Q(e){return e&&G(e.then)}D.$inject=[],I.$inject=[];var J=/^\[object (?:Uint8|Uint8Clamped|Uint16|Uint32|Int8|Int16|Int32|Float32|Float64)Array]$/;var ee=function(e){return V(e)?e.trim():e},te=function(e){return e.replace(/([-()[\]{}+?*.$^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08")};function ne(e){return!(!e||!(e.nodeName||e.prop&&e.attr&&e.find))}function re(e){return p(e.nodeName||e[0]&&e[0].nodeName)}function ie(e,t){return-1!==Array.prototype.indexOf.call(e,t)}function oe(e,t){var n=e.indexOf(t);return n>=0&&e.splice(n,1),n}function ae(e,t,n){var i=[],o=[];if(n=r(n)?n:NaN,t){if(function(e){return e&&F(e.length)&&J.test(v.call(e))}(t)||function(e){return"[object ArrayBuffer]"===v.call(e)}(t))throw y("cpta","Can't copy! TypedArray destination cannot be mutated.");if(e===t)throw y("cpi","Can't copy! Source and destination are identical.");return H(t)?t.length=0:_(t,function(e,n){"$$hashKey"!==n&&delete t[n]}),i.push(e),o.push(t),a(e,t,n)}return s(e,n);function a(e,t,n){if(--n<0)return"...";var r,i=t.$$hashKey;if(H(e))for(var o=0,a=e.length;o<a;o++)t.push(s(e[o],n));else if(B(e))for(r in e)t[r]=s(e[r],n);else if(e&&"function"==typeof e.hasOwnProperty)for(r in e)e.hasOwnProperty(r)&&(t[r]=s(e[r],n));else for(r in e)d.call(e,r)&&(t[r]=s(e[r],n));return C(t,i),t}function s(e,t){if(!q(e))return e;var n=i.indexOf(e);if(-1!==n)return o[n];if(Y(e)||Z(e))throw y("cpws","Can't copy! Making copies of Window or Scope instances is not supported.");var r=!1,l=function(e){switch(v.call(e)){case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Float32Array]":case"[object Float64Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return new e.constructor(s(e.buffer),e.byteOffset,e.length);case"[object ArrayBuffer]":if(!e.slice){var t=new ArrayBuffer(e.byteLength);return new Uint8Array(t).set(new Uint8Array(e)),t}return e.slice(0);case"[object Boolean]":case"[object Number]":case"[object String]":case"[object Date]":return new e.constructor(e.valueOf());case"[object RegExp]":var n=new RegExp(e.source,e.toString().match(/[^/]*$/)[0]);return n.lastIndex=e.lastIndex,n;case"[object Blob]":return new e.constructor([e],{type:e.type})}if(G(e.cloneNode))return e.cloneNode(!0)}(e);return void 0===l&&(l=H(e)?[]:Object.create(b(e)),r=!0),i.push(e),o.push(l),r?a(e,l,t):l}}function se(e,t){return e===t||e!=e&&t!=t}function le(e,t){if(e===t)return!0;if(null===e||null===t)return!1;if(e!=e&&t!=t)return!0;var n,r,i,o=typeof e;if(o===typeof t&&"object"===o){if(!H(e)){if(U(e))return!!U(t)&&se(e.getTime(),t.getTime());if(X(e))return!!X(t)&&e.toString()===t.toString();if(Z(e)||Z(t)||Y(e)||Y(t)||H(t)||U(t)||X(t))return!1;for(r in i=qe(),e)if("$"!==r.charAt(0)&&!G(e[r])){if(!le(e[r],t[r]))return!1;i[r]=!0}for(r in t)if(!(r in i)&&"$"!==r.charAt(0)&&L(t[r])&&!G(t[r]))return!1;return!0}if(!H(t))return!1;if((n=e.length)===t.length){for(r=0;r<n;r++)if(!le(e[r],t[r]))return!1;return!0}}return!1}var ce=function(){if(!L(ce.rules)){var t=e.document.querySelector("[ng-csp]")||e.document.querySelector("[data-ng-csp]");if(t){var n=t.getAttribute("ng-csp")||t.getAttribute("data-ng-csp");ce.rules={noUnsafeEval:!n||-1!==n.indexOf("no-unsafe-eval"),noInlineStyle:!n||-1!==n.indexOf("no-inline-style")}}else ce.rules={noUnsafeEval:function(){try{return new Function(""),!1}catch(e){return!0}}(),noInlineStyle:!1}}return ce.rules},ue=function(){if(L(ue.name_))return ue.name_;var t,n,r,i,o=Ce.length;for(n=0;n<o;++n)if(r=Ce[n],t=e.document.querySelector("["+r.replace(":","\\:")+"jq]")){i=t.getAttribute(r+"jq");break}return ue.name_=i};function de(e,t,n){return e.concat(h.call(t,n))}function pe(e,t){return h.call(e,t||0)}function fe(e,t){var n=arguments.length>2?pe(arguments,2):[];return!G(t)||t instanceof RegExp?t:n.length?function(){return arguments.length?t.apply(e,de(n,arguments,0)):t.apply(e,n)}:function(){return arguments.length?t.apply(e,arguments):t.call(e)}}function he(t,n){var r=n;return"string"==typeof t&&"$"===t.charAt(0)&&"$"===t.charAt(1)?r=void 0:Y(n)?r="$WINDOW":n&&e.document===n?r="$DOCUMENT":Z(n)&&(r="$SCOPE"),r}function ge(e,t){if(!z(e))return F(t)||(t=t?2:null),JSON.stringify(e,he,t)}function me(e){return V(e)?JSON.parse(e):e}var ve=/:/g;function be(e,t){e=e.replace(ve,"");var n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return R(n)?t:n}function ye(e,t){return(e=new Date(e.getTime())).setMinutes(e.getMinutes()+t),e}function xe(e,t,n){n=n?-1:1;var r=e.getTimezoneOffset();return ye(e,n*(be(t,r)-r))}function we(e){e=a(e).clone().empty();var t=a("<div></div>").append(e).html();try{return e[0].nodeType===Fe?p(t):t.match(/^(<[^>]+>)/)[1].replace(/^<([\w-]+)/,function(e,t){return"<"+p(t)})}catch(e){return p(t)}}function ke(e){try{return decodeURIComponent(e)}catch(e){}}function _e(e){var t={};return _((e||"").split("&"),function(e){var n,r,i;e&&(r=e=e.replace(/\+/g,"%20"),-1!==(n=e.indexOf("="))&&(r=e.substring(0,n),i=e.substring(n+1)),L(r=ke(r))&&(i=!L(i)||ke(i),d.call(t,r)?H(t[r])?t[r].push(i):t[r]=[t[r],i]:t[r]=i))}),t}function $e(e){var t=[];return _(e,function(e,n){H(e)?_(e,function(e){t.push(Se(n,!0)+(!0===e?"":"="+Se(e,!0)))}):t.push(Se(n,!0)+(!0===e?"":"="+Se(e,!0)))}),t.length?t.join("&"):""}function Ee(e){return Se(e,!0).replace(/%26/gi,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+")}function Se(e,t){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%20/g,t?"%20":"+")}var Ce=["ng-","data-ng-","ng:","x-ng-"];var Te=function(t){var n=t.currentScript;if(!n)return!0;if(!(n instanceof e.HTMLScriptElement||n instanceof e.SVGScriptElement))return!1;var r=n.attributes;return[r.getNamedItem("src"),r.getNamedItem("href"),r.getNamedItem("xlink:href")].every(function(e){if(!e)return!0;if(!e.value)return!1;var n=t.createElement("a");if(n.href=e.value,t.location.origin===n.origin)return!0;switch(n.protocol){case"http:":case"https:":case"ftp:":case"blob:":case"file:":case"data:":return!0;default:return!1}})}(e.document);function Ae(t,n){var r,i,o={};if(_(Ce,function(e){var n=e+"app";!r&&t.hasAttribute&&t.hasAttribute(n)&&(r=t,i=t.getAttribute(n))}),_(Ce,function(e){var n,o=e+"app";!r&&(n=t.querySelector("["+o.replace(":","\\:")+"]"))&&(r=n,i=n.getAttribute(o))}),r){if(!Te)return void e.console.error("AngularJS: disabling automatic bootstrap. <script> protocol indicates an extension, document.location.href does not match.");o.strictDi=null!==function(e,t){var n,r,i=Ce.length;for(r=0;r<i;++r)if(n=Ce[r]+t,V(n=e.getAttribute(n)))return n;return null}(r,"strict-di"),n(r,i?[i]:[],o)}}function Pe(t,n,r){q(r)||(r={});r=A({strictDi:!1},r);var i=function(){if((t=a(t)).injector()){var i=t[0]===e.document?"document":we(t);throw y("btstrpd","App already bootstrapped with this element '{0}'",i.replace(/</,"&lt;").replace(/>/,"&gt;"))}(n=n||[]).unshift(["$provide",function(e){e.value("$rootElement",t)}]),r.debugInfoEnabled&&n.push(["$compileProvider",function(e){e.debugInfoEnabled(!0)}]),n.unshift("ng");var o=Qt(n,r.strictDi);return o.invoke(["$rootScope","$rootElement","$compile","$injector",function(e,t,n,r){e.$apply(function(){t.data("$injector",r),n(t)(e)})}]),o},o=/^NG_ENABLE_DEBUG_INFO!/,s=/^NG_DEFER_BOOTSTRAP!/;if(e&&o.test(e.name)&&(r.debugInfoEnabled=!0,e.name=e.name.replace(o,"")),e&&!s.test(e.name))return i();e.name=e.name.replace(s,""),x.resumeBootstrap=function(e){return _(e,function(e){n.push(e)}),i()},G(x.resumeDeferredBootstrap)&&x.resumeDeferredBootstrap()}function Oe(){e.name="NG_ENABLE_DEBUG_INFO!"+e.name,e.location.reload()}function Re(e){var t=x.element(e).injector();if(!t)throw y("test","no injector found for element argument to getTestability");return t.get("$$testability")}var je=/[A-Z]/g;function De(e,t){return t=t||"_",e.replace(je,function(e,n){return(n?t:"")+e.toLowerCase()})}var Ie=!1;function Ne(e,t,n){if(!e)throw y("areq","Argument '{0}' is {1}",t||"?",n||"required");return e}function Me(e,t,n){return n&&H(e)&&(e=e[e.length-1]),Ne(G(e),t,"not a function, got "+(e&&"object"==typeof e?e.constructor.name||"Object":typeof e)),e}function ze(e,t){if("hasOwnProperty"===e)throw y("badname","hasOwnProperty is not a valid {0} name",t)}function Le(e){for(var t,n=e[0],r=e[e.length-1],i=1;n!==r&&(n=n.nextSibling);i++)(t||e[i]!==n)&&(t||(t=a(h.call(e,0,i))),t.push(n));return t||e}function qe(){return Object.create(null)}function Be(e){if(null==e)return"";switch(typeof e){case"string":break;case"number":e=""+e;break;default:e=!M(e)||H(e)||U(e)?ge(e):e.toString()}return e}var Ve=1,Fe=3,Ue=8,He=9,We=11;function Ge(e,t){if(H(e)){t=t||[];for(var n=0,r=e.length;n<r;n++)t[n]=e[n]}else if(q(e))for(var i in t=t||{},e)"$"===i.charAt(0)&&"$"===i.charAt(1)||(t[i]=e[i]);return t||e}function Xe(e,t){return"function"==typeof e?e.toString().replace(/ \{[\s\S]*$/,""):z(e)?"undefined":"string"!=typeof e?function(e,t){var n=[];return r(t)&&(e=x.copy(e,null,t)),JSON.stringify(e,function(e,t){if(q(t=he(e,t))){if(n.indexOf(t)>=0)return"...";n.push(t)}return t})}(e,t):e}var Ye={full:"1.7.2",major:1,minor:7,dot:2,codeName:"extreme-compatiplication"};ft.expando="ng339";var Ze=ft.cache={},Ke=1;ft._data=function(e){return this.cache[e[this.expando]]||{}};var Qe=/-([a-z])/g,Je=/^-ms-/,et={mouseleave:"mouseout",mouseenter:"mouseover"},tt=i("jqLite");function nt(e,t){return t.toUpperCase()}function rt(e){return e.replace(Qe,nt)}var it=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,ot=/<|&#?\w+;/,at=/<([\w:-]+)/,st=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,lt={option:[1,'<select multiple="multiple">',"</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function ct(e){return!ot.test(e)}function ut(e){var t=e.nodeType;return t===Ve||!t||t===He}function dt(e,t){var n,r,i,o,a=t.createDocumentFragment(),s=[];if(ct(e))s.push(t.createTextNode(e));else{for(n=a.appendChild(t.createElement("div")),r=(at.exec(e)||["",""])[1].toLowerCase(),i=lt[r]||lt._default,n.innerHTML=i[1]+e.replace(st,"<$1></$2>")+i[2],o=i[0];o--;)n=n.lastChild;s=de(s,n.childNodes),(n=a.firstChild).textContent=""}return a.textContent="",a.innerHTML="",_(s,function(e){a.appendChild(e)}),a}lt.optgroup=lt.option,lt.tbody=lt.tfoot=lt.colgroup=lt.caption=lt.thead,lt.th=lt.td;var pt=e.Node.prototype.contains||function(e){return!!(16&this.compareDocumentPosition(e))};function ft(t){if(t instanceof ft)return t;var n;if(V(t)&&(t=ee(t),n=!0),!(this instanceof ft)){if(n&&"<"!==t.charAt(0))throw tt("nosel","Looking up elements via selectors is not supported by jqLite! See: http://docs.angularjs.org/api/angular.element");return new ft(t)}n?Et(this,function(t,n){var r;return n=n||e.document,(r=it.exec(t))?[n.createElement(r[1])]:(r=dt(t,n))?r.childNodes:[]}(t)):G(t)?Pt(t):Et(this,t)}function ht(e){return e.cloneNode(!0)}function gt(e,t){!t&&ut(e)&&a.cleanData([e]),e.querySelectorAll&&a.cleanData(e.querySelectorAll("*"))}function mt(e){var t;for(t in e)return!1;return!0}function vt(e){var t=e.ng339,n=t&&Ze[t],r=n&&n.events,i=n&&n.data;i&&!mt(i)||r&&!mt(r)||(delete Ze[t],e.ng339=void 0)}function bt(e,t,n,r){if(L(r))throw tt("offargs","jqLite#off() does not support the `selector` argument");var i=xt(e),o=i&&i.events,a=i&&i.handle;if(a){if(t){var s=function(t){var r=o[t];L(n)&&oe(r||[],n),L(n)&&r&&r.length>0||(e.removeEventListener(t,a),delete o[t])};_(t.split(" "),function(e){s(e),et[e]&&s(et[e])})}else for(t in o)"$destroy"!==t&&e.removeEventListener(t,a),delete o[t];vt(e)}}function yt(e,t){var n=e.ng339,r=n&&Ze[n];r&&(t?delete r.data[t]:r.data={},vt(e))}function xt(e,t){var n=e.ng339,r=n&&Ze[n];return t&&!r&&(e.ng339=n=++Ke,r=Ze[n]={events:{},data:{},handle:void 0}),r}function wt(e,t,n){if(ut(e)){var r,i=L(n),o=!i&&t&&!q(t),a=!t,s=xt(e,!o),l=s&&s.data;if(i)l[rt(t)]=n;else{if(a)return l;if(o)return l&&l[rt(t)];for(r in t)l[rt(r)]=t[r]}}}function kt(e,t){return!!e.getAttribute&&(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").indexOf(" "+t+" ")>-1}function _t(e,t){if(t&&e.setAttribute){var n=(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," "),r=n;_(t.split(" "),function(e){e=ee(e),r=r.replace(" "+e+" "," ")}),r!==n&&e.setAttribute("class",ee(r))}}function $t(e,t){if(t&&e.setAttribute){var n=(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," "),r=n;_(t.split(" "),function(e){e=ee(e),-1===r.indexOf(" "+e+" ")&&(r+=e+" ")}),r!==n&&e.setAttribute("class",ee(r))}}function Et(e,t){if(t)if(t.nodeType)e[e.length++]=t;else{var n=t.length;if("number"==typeof n&&t.window!==t){if(n)for(var r=0;r<n;r++)e[e.length++]=t[r]}else e[e.length++]=t}}function St(e,t){return Ct(e,"$"+(t||"ngController")+"Controller")}function Ct(e,t,n){e.nodeType===He&&(e=e.documentElement);for(var r=H(t)?t:[t];e;){for(var i=0,o=r.length;i<o;i++)if(L(n=a.data(e,r[i])))return n;e=e.parentNode||e.nodeType===We&&e.host}}function Tt(e){for(gt(e,!0);e.firstChild;)e.removeChild(e.firstChild)}function At(e,t){t||gt(e);var n=e.parentNode;n&&n.removeChild(e)}function Pt(t){function n(){e.document.removeEventListener("DOMContentLoaded",n),e.removeEventListener("load",n),t()}"complete"===e.document.readyState?e.setTimeout(t):(e.document.addEventListener("DOMContentLoaded",n),e.addEventListener("load",n))}var Ot=ft.prototype={ready:Pt,toString:function(){var e=[];return _(this,function(t){e.push(""+t)}),"["+e.join(", ")+"]"},eq:function(e){return a(e>=0?this[e]:this[this.length+e])},length:0,push:m,sort:[].sort,splice:[].splice},Rt={};_("multiple,selected,checked,disabled,readOnly,required,open".split(","),function(e){Rt[p(e)]=e});var jt={};_("input,select,option,textarea,button,form,details".split(","),function(e){jt[e]=!0});var Dt={ngMinlength:"minlength",ngMaxlength:"maxlength",ngMin:"min",ngMax:"max",ngPattern:"pattern",ngStep:"step"};function It(e,t){var n=Rt[t.toLowerCase()];return n&&jt[re(e)]&&n}function Nt(e,t,n){n.call(e,t)}function Mt(e,t,n){var r=t.relatedTarget;r&&(r===e||pt.call(e,r))||n.call(e,t)}function zt(){this.$get=function(){return A(ft,{hasClass:function(e,t){return e.attr&&(e=e[0]),kt(e,t)},addClass:function(e,t){return e.attr&&(e=e[0]),$t(e,t)},removeClass:function(e,t){return e.attr&&(e=e[0]),_t(e,t)}})}}function Lt(e,t){var n=e&&e.$$hashKey;if(n)return"function"==typeof n&&(n=e.$$hashKey()),n;var r=typeof e;return n="function"===r||"object"===r&&null!==e?e.$$hashKey=r+":"+(t||S)():r+":"+e}_({data:wt,removeData:yt,hasData:function(e){for(var t in Ze[e.ng339])return!0;return!1},cleanData:function(e){for(var t=0,n=e.length;t<n;t++)yt(e[t]),bt(e[t])}},function(e,t){ft[t]=e}),_({data:wt,inheritedData:Ct,scope:function(e){return a.data(e,"$scope")||Ct(e.parentNode||e,["$isolateScope","$scope"])},isolateScope:function(e){return a.data(e,"$isolateScope")||a.data(e,"$isolateScopeNoTemplate")},controller:St,injector:function(e){return Ct(e,"$injector")},removeAttr:function(e,t){e.removeAttribute(t)},hasClass:kt,css:function(e,t,n){if(t=function(e){return rt(e.replace(Je,"ms-"))}(t),!L(n))return e.style[t];e.style[t]=n},attr:function(e,t,n){var r,i=e.nodeType;if(i!==Fe&&2!==i&&i!==Ue&&e.getAttribute){var o=p(t),a=Rt[o];if(!L(n))return r=e.getAttribute(t),a&&null!==r&&(r=o),null===r?void 0:r;null===n||!1===n&&a?e.removeAttribute(t):e.setAttribute(t,a?o:n)}},prop:function(e,t,n){if(!L(n))return e[t];e[t]=n},text:function(){return e.$dv="",e;function e(e,t){if(z(t)){var n=e.nodeType;return n===Ve||n===Fe?e.textContent:""}e.textContent=t}}(),val:function(e,t){if(z(t)){if(e.multiple&&"select"===re(e)){var n=[];return _(e.options,function(e){e.selected&&n.push(e.value||e.text)}),n}return e.value}e.value=t},html:function(e,t){if(z(t))return e.innerHTML;gt(e,!0),e.innerHTML=t},empty:Tt},function(e,t){ft.prototype[t]=function(t,n){var r,i,o=this.length;if(e!==Tt&&z(2===e.length&&e!==kt&&e!==St?t:n)){if(q(t)){for(r=0;r<o;r++)if(e===wt)e(this[r],t);else for(i in t)e(this[r],i,t[i]);return this}for(var a=e.$dv,s=z(a)?Math.min(o,1):o,l=0;l<s;l++){var c=e(this[l],t,n);a=a?a+c:c}return a}for(r=0;r<o;r++)e(this[r],t,n);return this}}),_({removeData:yt,on:function(e,t,n,r){if(L(r))throw tt("onargs","jqLite#on() does not support the `selector` or `eventData` parameters");if(ut(e)){var i=xt(e,!0),o=i.events,a=i.handle;a||(a=i.handle=function(e,t){var n=function(n,r){n.isDefaultPrevented=function(){return n.defaultPrevented};var i=t[r||n.type],o=i?i.length:0;if(o){if(z(n.immediatePropagationStopped)){var a=n.stopImmediatePropagation;n.stopImmediatePropagation=function(){n.immediatePropagationStopped=!0,n.stopPropagation&&n.stopPropagation(),a&&a.call(n)}}n.isImmediatePropagationStopped=function(){return!0===n.immediatePropagationStopped};var s=i.specialHandlerWrapper||Nt;o>1&&(i=Ge(i));for(var l=0;l<o;l++)n.isImmediatePropagationStopped()||s(e,n,i[l])}};return n.elem=e,n}(e,o));for(var s=t.indexOf(" ")>=0?t.split(" "):[t],l=s.length,c=function(t,r,i){var s=o[t];s||((s=o[t]=[]).specialHandlerWrapper=r,"$destroy"===t||i||e.addEventListener(t,a)),s.push(n)};l--;)t=s[l],et[t]?(c(et[t],Mt),c(t,void 0,!0)):c(t)}},off:bt,one:function(e,t,n){(e=a(e)).on(t,function r(){e.off(t,n),e.off(t,r)}),e.on(t,n)},replaceWith:function(e,t){var n,r=e.parentNode;gt(e),_(new ft(t),function(t){n?r.insertBefore(t,n.nextSibling):r.replaceChild(t,e),n=t})},children:function(e){var t=[];return _(e.childNodes,function(e){e.nodeType===Ve&&t.push(e)}),t},contents:function(e){return e.contentDocument||e.childNodes||[]},append:function(e,t){var n=e.nodeType;if(n===Ve||n===We)for(var r=0,i=(t=new ft(t)).length;r<i;r++){var o=t[r];e.appendChild(o)}},prepend:function(e,t){if(e.nodeType===Ve){var n=e.firstChild;_(new ft(t),function(t){e.insertBefore(t,n)})}},wrap:function(e,t){!function(e,t){var n=e.parentNode;n&&n.replaceChild(t,e),t.appendChild(e)}(e,a(t).eq(0).clone()[0])},remove:At,detach:function(e){At(e,!0)},after:function(e,t){var n=e,r=e.parentNode;if(r)for(var i=0,o=(t=new ft(t)).length;i<o;i++){var a=t[i];r.insertBefore(a,n.nextSibling),n=a}},addClass:$t,removeClass:_t,toggleClass:function(e,t,n){t&&_(t.split(" "),function(t){var r=n;z(r)&&(r=!kt(e,t)),(r?$t:_t)(e,t)})},parent:function(e){var t=e.parentNode;return t&&t.nodeType!==We?t:null},next:function(e){return e.nextElementSibling},find:function(e,t){return e.getElementsByTagName?e.getElementsByTagName(t):[]},clone:ht,triggerHandler:function(e,t,n){var r,i,o,a=t.type||t,s=xt(e),l=s&&s.events,c=l&&l[a];c&&(r={preventDefault:function(){this.defaultPrevented=!0},isDefaultPrevented:function(){return!0===this.defaultPrevented},stopImmediatePropagation:function(){this.immediatePropagationStopped=!0},isImmediatePropagationStopped:function(){return!0===this.immediatePropagationStopped},stopPropagation:D,type:a,target:e},t.type&&(r=A(r,t)),i=Ge(c),o=n?[r].concat(n):[r],_(i,function(t){r.isImmediatePropagationStopped()||t.apply(e,o)}))}},function(e,t){ft.prototype[t]=function(t,n,r){for(var i,o=0,s=this.length;o<s;o++)z(i)?L(i=e(this[o],t,n,r))&&(i=a(i)):Et(i,e(this[o],t,n,r));return L(i)?i:this}}),ft.prototype.bind=ft.prototype.on,ft.prototype.unbind=ft.prototype.off;var qt=Object.create(null);function Bt(){this._keys=[],this._values=[],this._lastKey=NaN,this._lastIndex=-1}Bt.prototype={_idx:function(e){return e===this._lastKey?this._lastIndex:(this._lastKey=e,this._lastIndex=this._keys.indexOf(e),this._lastIndex)},_transformKey:function(e){return R(e)?qt:e},get:function(e){e=this._transformKey(e);var t=this._idx(e);if(-1!==t)return this._values[t]},set:function(e,t){e=this._transformKey(e);var n=this._idx(e);-1===n&&(n=this._lastIndex=this._keys.length),this._keys[n]=e,this._values[n]=t},delete:function(e){e=this._transformKey(e);var t=this._idx(e);return-1!==t&&(this._keys.splice(t,1),this._values.splice(t,1),this._lastKey=NaN,this._lastIndex=-1,!0)}};var Vt=Bt,Ft=[function(){this.$get=[function(){return Vt}]}],Ut=/^([^(]+?)=>/,Ht=/^[^(]*\(\s*([^)]*)\)/m,Wt=/,/,Gt=/^\s*(_?)(\S+?)\1\s*$/,Xt=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,Yt=i("$injector");function Zt(e){return Function.prototype.toString.call(e)}function Kt(e){var t=Zt(e).replace(Xt,"");return t.match(Ut)||t.match(Ht)}function Qt(e,t){t=!0===t;var n={},r="Provider",i=[],a=new Vt,s={$provide:{provider:h(g),factory:h(m),service:h(function(e,t){return m(e,["$injector",function(e){return e.instantiate(t)}])}),value:h(function(e,t){return m(e,N(t),!1)}),constant:h(function(e,t){ze(e,"constant"),s[e]=t,u[e]=t}),decorator:function(e,t){var n=c.get(e+r),i=n.$get;n.$get=function(){var e=p.invoke(i,n);return p.invoke(t,null,{$delegate:e})}}}},c=s.$injector=b(s,function(e,t){throw x.isString(t)&&i.push(t),Yt("unpr","Unknown provider: {0}",i.join(" <- "))}),u={},d=b(u,function(e,t){var n=c.get(e+r,t);return p.invoke(n.$get,n,void 0,e)}),p=d;s["$injector"+r]={$get:N(d)},p.modules=c.modules=qe();var f=v(e);return(p=d.get("$injector")).strictDi=t,_(f,function(e){e&&p.invoke(e)}),p.loadNewModules=function(e){_(v(e),function(e){e&&p.invoke(e)})},p;function h(e){return function(t,n){if(!q(t))return e(t,n);_(t,E(e))}}function g(e,t){if(ze(e,"service"),(G(t)||H(t))&&(t=c.instantiate(t)),!t.$get)throw Yt("pget","Provider '{0}' must define $get factory method.",e);return s[e+r]=t}function m(e,t,n){return g(e,{$get:!1!==n?function(e,t){return function(){var n=p.invoke(t,this);if(z(n))throw Yt("undef","Provider '{0}' must return a value from $get factory method.",e);return n}}(e,t):t})}function v(e){Ne(z(e)||H(e),"modulesToLoad","not an array");var t,n=[];return _(e,function(e){if(!a.get(e)){a.set(e,!0);try{V(e)?(t=l(e),p.modules[e]=t,n=n.concat(v(t.requires)).concat(t._runBlocks),r(t._invokeQueue),r(t._configBlocks)):G(e)?n.push(c.invoke(e)):H(e)?n.push(c.invoke(e)):Me(e,"module")}catch(t){throw H(e)&&(e=e[e.length-1]),t.message&&t.stack&&-1===t.stack.indexOf(t.message)&&(t=t.message+"\n"+t.stack),Yt("modulerr","Failed to instantiate module {0} due to:\n{1}",e,t.stack||t.message||t)}}function r(e){var t,n;for(t=0,n=e.length;t<n;t++){var r=e[t],i=c.get(r[0]);i[r[1]].apply(i,r[2])}}}),n}function b(e,a){function l(t,r){if(e.hasOwnProperty(t)){if(e[t]===n)throw Yt("cdep","Circular dependency found: {0}",t+" <- "+i.join(" <- "));return e[t]}try{return i.unshift(t),e[t]=n,e[t]=a(t,r),e[t]}catch(r){throw e[t]===n&&delete e[t],r}finally{i.shift()}}function c(e,n,r){for(var i=[],o=Qt.$$annotate(e,t,r),a=0,s=o.length;a<s;a++){var c=o[a];if("string"!=typeof c)throw Yt("itkn","Incorrect injection token! Expected service name as string, got {0}",c);i.push(n&&n.hasOwnProperty(c)?n[c]:l(c,r))}return i}return{invoke:function(e,t,n,r){"string"==typeof n&&(r=n,n=null);var i=c(e,n,r);return H(e)&&(e=e[e.length-1]),function(e){if(o||"function"!=typeof e)return!1;var t=e.$$ngIsClass;return K(t)||(t=e.$$ngIsClass=/^class\b/.test(Zt(e))),t}(e)?(i.unshift(null),new(Function.prototype.bind.apply(e,i))):e.apply(t,i)},instantiate:function(e,t,n){var r=H(e)?e[e.length-1]:e,i=c(e,t,n);return i.unshift(null),new(Function.prototype.bind.apply(r,i))},get:l,annotate:Qt.$$annotate,has:function(t){return s.hasOwnProperty(t+r)||e.hasOwnProperty(t)}}}}function Jt(){var t=!0;this.disableAutoScrolling=function(){t=!1},this.$get=["$window","$location","$rootScope",function(n,r,i){var o=n.document;function s(e){if(e){e.scrollIntoView();var t=function(){var e=l.yOffset;if(G(e))e=e();else if(ne(e)){var t=e[0];e="fixed"!==n.getComputedStyle(t).position?0:t.getBoundingClientRect().bottom}else F(e)||(e=0);return e}();if(t){var r=e.getBoundingClientRect().top;n.scrollBy(0,r-t)}}else n.scrollTo(0,0)}function l(e){var t;(e=V(e)?e:F(e)?e.toString():r.hash())?(t=o.getElementById(e))?s(t):(t=function(e){var t=null;return Array.prototype.some.call(e,function(e){if("a"===re(e))return t=e,!0}),t}(o.getElementsByName(e)))?s(t):"top"===e&&s(null):s(null)}return t&&i.$watch(function(){return r.hash()},function(t,n){t===n&&""===t||function(t,n){"complete"===(n=n||e).document.readyState?n.setTimeout(t):a(n).on("load",t)}(function(){i.$evalAsync(l)})}),l}]}Qt.$$annotate=function(e,t,n){var r,i;if("function"==typeof e){if(!(r=e.$inject)){if(r=[],e.length){if(t)throw V(n)&&n||(n=e.name||function(e){var t=Kt(e);return t?"function("+(t[1]||"").replace(/[\s\r\n]+/," ")+")":"fn"}(e)),Yt("strictdi","{0} is not using explicit annotation and cannot be invoked in strict mode",n);_(Kt(e)[1].split(Wt),function(e){e.replace(Gt,function(e,t,n){r.push(n)})})}e.$inject=r}}else H(e)?(Me(e[i=e.length-1],"fn"),r=e.slice(0,i)):Me(e,"fn",!0);return r};var en=i("$animate"),tn=1;function nn(e,t){return e||t?e?t?(H(e)&&(e=e.join(" ")),H(t)&&(t=t.join(" ")),e+" "+t):e:t:""}function rn(e){return q(e)?e:{}}var on=function(){this.$get=D},an=function(){var e=new Vt,t=[];this.$get=["$$AnimateRunner","$rootScope",function(n,r){return{enabled:D,on:D,off:D,pin:D,push:function(a,s,l,c){c&&c(),(l=l||{}).from&&a.css(l.from),l.to&&a.css(l.to),(l.addClass||l.removeClass)&&function(n,a,s){var l=e.get(n)||{},c=i(l,a,!0),u=i(l,s,!1);(c||u)&&(e.set(n,l),t.push(n),1===t.length&&r.$$postDigest(o))}(a,l.addClass,l.removeClass);var u=new n;return u.complete(),u}};function i(e,t,n){var r=!1;return t&&_(t=V(t)?t.split(" "):H(t)?t:[],function(t){t&&(r=!0,e[t]=n)}),r}function o(){_(t,function(t){var n=e.get(t);if(n){var r=function(e){V(e)&&(e=e.split(" "));var t=qe();return _(e,function(e){e.length&&(t[e]=!0)}),t}(t.attr("class")),i="",o="";_(n,function(e,t){e!==!!r[t]&&(e?i+=(i.length?" ":"")+t:o+=(o.length?" ":"")+t)}),_(t,function(e){i&&$t(e,i),o&&_t(e,o)}),e.delete(t)}}),t.length=0}}]},sn=["$provide",function(e){var t=this,n=null,r=null;this.$$registeredAnimations=Object.create(null),this.register=function(n,r){if(n&&"."!==n.charAt(0))throw en("notcsel","Expecting class selector starting with '.' got '{0}'.",n);var i=n+"-animation";t.$$registeredAnimations[n.substr(1)]=i,e.factory(i,r)},this.customFilter=function(e){return 1===arguments.length&&(r=G(e)?e:null),r},this.classNameFilter=function(e){if(1===arguments.length&&((n=e instanceof RegExp?e:null)&&new RegExp("[(\\s|\\/)]ng-animate[(\\s|\\/)]").test(n.toString())))throw n=null,en("nongcls",'$animateProvider.classNameFilter(regex) prohibits accepting a regex value which matches/contains the "{0}" CSS class.',"ng-animate");return n},this.$get=["$$animateQueue",function(e){function t(e,t,n){if(n){var r=function(e){for(var t=0;t<e.length;t++){var n=e[t];if(n.nodeType===tn)return n}}(n);!r||r.parentNode||r.previousElementSibling||(n=null)}n?n.after(e):t.prepend(e)}return{on:e.on,off:e.off,pin:e.pin,enabled:e.enabled,cancel:function(e){e.cancel&&e.cancel()},enter:function(n,r,i,o){return r=r&&a(r),i=i&&a(i),t(n,r=r||i.parent(),i),e.push(n,"enter",rn(o))},move:function(n,r,i,o){return r=r&&a(r),i=i&&a(i),t(n,r=r||i.parent(),i),e.push(n,"move",rn(o))},leave:function(t,n){return e.push(t,"leave",rn(n),function(){t.remove()})},addClass:function(t,n,r){return(r=rn(r)).addClass=nn(r.addclass,n),e.push(t,"addClass",r)},removeClass:function(t,n,r){return(r=rn(r)).removeClass=nn(r.removeClass,n),e.push(t,"removeClass",r)},setClass:function(t,n,r,i){return(i=rn(i)).addClass=nn(i.addClass,n),i.removeClass=nn(i.removeClass,r),e.push(t,"setClass",i)},animate:function(t,n,r,i,o){return(o=rn(o)).from=o.from?A(o.from,n):n,o.to=o.to?A(o.to,r):r,i=i||"ng-inline-animate",o.tempClasses=nn(o.tempClasses,i),e.push(t,"animate",o)}}}]}],ln=function(){this.$get=["$$rAF",function(e){var t=[];function n(n){t.push(n),t.length>1||e(function(){for(var e=0;e<t.length;e++)t[e]();t=[]})}return function(){var e=!1;return n(function(){e=!0}),function(t){e?t():n(t)}}}]},cn=function(){this.$get=["$q","$sniffer","$$animateAsyncRun","$$isDocumentHidden","$timeout",function(e,t,n,r,i){function o(e){this.setHost(e);var t=n();this._doneCallbacks=[],this._tick=function(e){r()?function(e){i(e,0,!1)}(e):t(e)},this._state=0}return o.chain=function(e,t){var n=0;!function r(){if(n===e.length)return void t(!0);e[n](function(e){!1!==e?(n++,r()):t(!1)})}()},o.all=function(e,t){var n=0,r=!0;function i(i){r=r&&i,++n===e.length&&t(r)}_(e,function(e){e.done(i)})},o.prototype={setHost:function(e){this.host=e||{}},done:function(e){2===this._state?e():this._doneCallbacks.push(e)},progress:D,getPromise:function(){if(!this.promise){var t=this;this.promise=e(function(e,n){t.done(function(t){!1===t?n():e()})})}return this.promise},then:function(e,t){return this.getPromise().then(e,t)},catch:function(e){return this.getPromise().catch(e)},finally:function(e){return this.getPromise().finally(e)},pause:function(){this.host.pause&&this.host.pause()},resume:function(){this.host.resume&&this.host.resume()},end:function(){this.host.end&&this.host.end(),this._resolve(!0)},cancel:function(){this.host.cancel&&this.host.cancel(),this._resolve(!1)},complete:function(e){var t=this;0===t._state&&(t._state=1,t._tick(function(){t._resolve(e)}))},_resolve:function(e){2!==this._state&&(_(this._doneCallbacks,function(t){t(e)}),this._doneCallbacks.length=0,this._state=2)}},o}]},un=function(){this.$get=["$$rAF","$q","$$AnimateRunner",function(e,t,n){return function(t,r){var i=r||{};i.$$prepared||(i=ae(i)),i.cleanupStyles&&(i.from=i.to=null),i.from&&(t.css(i.from),i.from=null);var o,a=new n;return{start:s,end:s};function s(){return e(function(){!function(){i.addClass&&(t.addClass(i.addClass),i.addClass=null);i.removeClass&&(t.removeClass(i.removeClass),i.removeClass=null);i.to&&(t.css(i.to),i.to=null)}(),o||a.complete(),o=!0}),a}}}]};function dn(){this.$get=["$window","$log","$sniffer","$document",function(e,t,n,r){return new function(e,t,n,r){var i=this,o=e.location,s=e.history,l=e.setTimeout,c=e.clearTimeout,u={};i.isMock=!1;var d=0,p=[];function f(e){try{e.apply(null,pe(arguments,1))}finally{if(0==--d)for(;p.length;)try{p.pop()()}catch(e){n.error(e)}}}i.$$completeOutstandingRequest=f,i.$$incOutstandingRequestCount=function(){d++},i.notifyWhenNoOutstandingRequests=function(e){0===d?e():p.push(e)};var h,g,m=o.href,v=t.find("base"),b=null,y=r.history?function(){try{return s.state}catch(e){}}:D;E(),i.url=function(t,n,a){if(z(a)&&(a=null),o!==e.location&&(o=e.location),s!==e.history&&(s=e.history),t){var l=g===a;if(m===t&&(!r.history||l))return i;var c=m&&sr(m)===sr(t);return m=t,g=a,!r.history||c&&l?(c||(b=t),n?o.replace(t):c?o.hash=function(e){var t=e.indexOf("#");return-1===t?"":e.substr(t)}(t):o.href=t,o.href!==t&&(b=t)):(s[n?"replaceState":"pushState"](a,"",t),E()),b&&(b=t),i}return b||o.href},i.state=function(){return h};var x=[],w=!1;function k(){b=null,S()}var $=null;function E(){le(h=z(h=y())?null:h,$)&&(h=$),$=h,g=h}function S(){var e=g;E(),m===i.url()&&e===h||(m=i.url(),g=h,_(x,function(e){e(i.url(),h)}))}i.onUrlChange=function(t){return w||(r.history&&a(e).on("popstate",k),a(e).on("hashchange",k),w=!0),x.push(t),t},i.$$applicationDestroyed=function(){a(e).off("hashchange popstate",k)},i.$$checkUrlChange=S,i.baseHref=function(){var e=v.attr("href");return e?e.replace(/^(https?:)?\/\/[^/]*/,""):""},i.defer=function(e,t){var n;return d++,n=l(function(){delete u[n],f(e)},t||0),u[n]=!0,n},i.defer.cancel=function(e){return!!u[e]&&(delete u[e],c(e),f(D),!0)}}(e,r,t,n)}]}function pn(){this.$get=function(){var e={};function t(t,n){if(t in e)throw i("$cacheFactory")("iid","CacheId '{0}' is already taken!",t);var r=0,o=A({},n,{id:t}),a=qe(),s=n&&n.capacity||Number.MAX_VALUE,l=qe(),c=null,u=null;return e[t]={put:function(e,t){if(!z(t)){if(s<Number.MAX_VALUE)d(l[e]||(l[e]={key:e}));return e in a||r++,a[e]=t,r>s&&this.remove(u.key),t}},get:function(e){if(s<Number.MAX_VALUE){var t=l[e];if(!t)return;d(t)}return a[e]},remove:function(e){if(s<Number.MAX_VALUE){var t=l[e];if(!t)return;t===c&&(c=t.p),t===u&&(u=t.n),p(t.n,t.p),delete l[e]}e in a&&(delete a[e],r--)},removeAll:function(){a=qe(),r=0,l=qe(),c=u=null},destroy:function(){a=null,o=null,l=null,delete e[t]},info:function(){return A({},o,{size:r})}};function d(e){e!==c&&(u?u===e&&(u=e.n):u=e,p(e.n,e.p),p(e,c),(c=e).n=null)}function p(e,t){e!==t&&(e&&(e.p=t),t&&(t.n=e))}}return t.info=function(){var t={};return _(e,function(e,n){t[n]=e.info()}),t},t.get=function(t){return e[t]},t}}function fn(){this.$get=["$cacheFactory",function(e){return e("templates")}]}var hn=i("$compile");var gn=new function(){};function mn(t,n){var r={},i="Directive",s=/^\s*directive:\s*([\w-]+)\s+(.*)$/,l=/(([\w-]+)(?::([^;]+))?;?)/,c=function(e){var t,n={},r=e.split(",");for(t=0;t<r.length;t++)n[r[t]]=!0;return n}("ngSrc,ngSrcset,src,srcset"),u=/^(?:(\^\^?)?(\?)?(\^\^?)?)?/,f=/^(on[a-z]+|formaction)$/,h=qe();function g(e,t,n){var r=/^([@&]|[=<](\*?))(\??)\s*([\w$]*)$/,i=qe();return _(e,function(e,o){if((e=e.trim())in h)i[o]=h[e];else{var a=e.match(r);if(!a)throw hn("iscp","Invalid {3} for directive '{0}'. Definition: {... {1}: '{2}' ...}",t,o,e,n?"controller bindings definition":"isolate scope definition");i[o]={mode:a[1][0],collection:"*"===a[2],optional:"?"===a[3],attrName:a[4]||o},a[4]&&(h[e]=i[o])}}),i}function m(e,t){var n={isolateScope:null,bindToController:null};if(q(e.scope)&&(!0===e.bindToController?(n.bindToController=g(e.scope,t,!0),n.isolateScope={}):n.isolateScope=g(e.scope,t,!1)),q(e.bindToController)&&(n.bindToController=g(e.bindToController,t,!0)),n.bindToController&&!e.controller)throw hn("noctrl","Cannot bind to controller without directive '{0}'s controller.",t);return n}this.directive=function e(n,o){return Ne(n,"name"),ze(n,"directive"),V(n)?(!function(e){var t=e.charAt(0);if(!t||t!==p(t))throw hn("baddir","Directive/Component name '{0}' is invalid. The first character must be a lowercase letter",e);if(e!==e.trim())throw hn("baddir","Directive/Component name '{0}' is invalid. The name should not contain leading or trailing whitespaces",e)}(n),Ne(o,"directiveFactory"),r.hasOwnProperty(n)||(r[n]=[],t.factory(n+i,["$injector","$exceptionHandler",function(e,t){var i=[];return _(r[n],function(r,o){try{var a=e.invoke(r);G(a)?a={compile:N(a)}:!a.compile&&a.link&&(a.compile=N(a.link)),a.priority=a.priority||0,a.index=o,a.name=a.name||n,a.require=function(e){var t=e.require||e.controller&&e.name;return!H(t)&&q(t)&&_(t,function(e,n){var r=e.match(u);e.substring(r[0].length)||(t[n]=r[0]+n)}),t}(a),a.restrict=function(e,t){if(e&&(!V(e)||!/[EACM]/.test(e)))throw hn("badrestrict","Restrict property '{0}' of directive '{1}' is invalid",e,t);return e||"EA"}(a.restrict,n),a.$$moduleName=r.$$moduleName,i.push(a)}catch(e){t(e)}}),i}])),r[n].push(o)):_(n,E(e)),this},this.component=function e(t,n){if(!V(t))return _(t,E(fe(this,e))),this;var r=n.controller||function(){};function i(e){function t(t){return G(t)||H(t)?function(n,r){return e.invoke(t,this,{$element:n,$attrs:r})}:t}var i=n.template||n.templateUrl?n.template:"",o={controller:r,controllerAs:function(e,t){if(t&&V(t))return t;if(V(e)){var n=$n.exec(e);if(n)return n[3]}}(n.controller)||n.controllerAs||"$ctrl",template:t(i),templateUrl:t(n.templateUrl),transclude:n.transclude,scope:{},bindToController:n.bindings||{},restrict:"E",require:n.require};return _(n,function(e,t){"$"===t.charAt(0)&&(o[t]=e)}),o}return _(n,function(e,t){"$"===t.charAt(0)&&(i[t]=e,G(r)&&(r[t]=e))}),i.$inject=["$injector"],this.directive(t,i)},this.aHrefSanitizationWhitelist=function(e){return L(e)?(n.aHrefSanitizationWhitelist(e),this):n.aHrefSanitizationWhitelist()},this.imgSrcSanitizationWhitelist=function(e){return L(e)?(n.imgSrcSanitizationWhitelist(e),this):n.imgSrcSanitizationWhitelist()};var b=!0;this.debugInfoEnabled=function(e){return L(e)?(b=e,this):b};var y=!1;this.strictComponentBindingsEnabled=function(e){return L(e)?(y=e,this):y};var x=10;this.onChangesTtl=function(e){return arguments.length?(x=e,this):x};var w=!0;this.commentDirectivesEnabled=function(e){return arguments.length?(w=e,this):w};var k=!0;this.cssClassDirectivesEnabled=function(e){return arguments.length?(k=e,this):k},this.$get=["$injector","$interpolate","$exceptionHandler","$templateRequest","$parse","$controller","$rootScope","$sce","$animate",function(t,n,h,g,$,E,S,C,T){var P,O=/^\w/,R=e.document.createElement("div"),N=w,M=k,L=x;function B(){try{if(!--L)throw P=void 0,hn("infchng","{0} $onChanges() iterations reached. Aborting!\n",x);S.$apply(function(){for(var e=0,t=P.length;e<t;++e)try{P[e]()}catch(e){h(e)}P=void 0})}finally{L++}}function F(e,t){if(t){var n,r,i,o=Object.keys(t);for(n=0,r=o.length;n<r;n++)this[i=o[n]]=t[i]}else this.$attr={};this.$$element=e}function U(e,t){try{e.addClass(t)}catch(e){}}F.prototype={$normalize:xn,$addClass:function(e){e&&e.length>0&&T.addClass(this.$$element,e)},$removeClass:function(e){e&&e.length>0&&T.removeClass(this.$$element,e)},$updateClass:function(e,t){var n=wn(e,t);n&&n.length&&T.addClass(this.$$element,n);var r=wn(t,e);r&&r.length&&T.removeClass(this.$$element,r)},$set:function(e,t,n,r){var i=It(this.$$element[0],e),o=function(e){return Dt[e]}(e),a=e;if(i?(this.$$element.prop(e,t),r=i):o&&(this[o]=t,a=o),this[e]=t,r?this.$attr[e]=r:(r=this.$attr[e])||(this.$attr[e]=r=De(e,"-")),"img"===re(this.$$element)&&"srcset"===e&&t){if(!V(t))throw hn("srcset","Can't pass trusted values to `$set('srcset', value)`: \"{0}\"",t.toString());for(var s="",l=ee(t),c=/\s/.test(l)?/(\s+\d+x\s*,|\s+\d+w\s*,|\s+,|,\s+)/:/(,)/,u=l.split(c),d=Math.floor(u.length/2),p=0;p<d;p++){var f=2*p;s+=C.getTrustedMediaUrl(ee(u[f])),s+=" "+ee(u[f+1])}var g=ee(u[2*p]).split(/\s/);s+=C.getTrustedMediaUrl(ee(g[0])),2===g.length&&(s+=" "+ee(g[1])),this[e]=t=s}!1!==n&&(null===t||z(t)?this.$$element.removeAttr(r):O.test(r)?this.$$element.attr(r,t):function(e,t,n){R.innerHTML="<span "+t+">";var r=R.firstChild.attributes,i=r[0];r.removeNamedItem(i.name),i.value=n,e.attributes.setNamedItem(i)}(this.$$element[0],r,t));var m=this.$$observers;m&&_(m[a],function(e){try{e(t)}catch(e){h(e)}})},$observe:function(e,t){var n=this,r=n.$$observers||(n.$$observers=qe()),i=r[e]||(r[e]=[]);return i.push(t),S.$evalAsync(function(){i.$$inter||!n.hasOwnProperty(e)||z(n[e])||t(n[e])}),function(){oe(i,t)}}};var X=n.startSymbol(),Y=n.endSymbol(),Q="{{"===X&&"}}"===Y?I:function(e){return e.replace(/\{\{/g,X).replace(/}}/g,Y)},J=/^ngAttr[A-Z]/,te=/^(.+)Start$/;return ne.$$addBindingInfo=b?function(e,t){var n=e.data("$binding")||[];H(t)?n=n.concat(t):n.push(t),e.data("$binding",n)}:D,ne.$$addBindingClass=b?function(e){U(e,"ng-binding")}:D,ne.$$addScopeInfo=b?function(e,t,n,r){var i=n?r?"$isolateScopeNoTemplate":"$isolateScope":"$scope";e.data(i,t)}:D,ne.$$addScopeClass=b?function(e,t){U(e,t?"ng-isolate-scope":"ng-scope")}:D,ne.$$createComment=function(t,n){var r="";return b&&(r=" "+(t||"")+": ",n&&(r+=n+" ")),e.document.createComment(r)},ne;function ne(e,t,n,r,i){e instanceof a||(e=a(e));var o=ie(e,t,e,n,r,i);ne.$$addScopeClass(e);var s=null;return function(t,n,r){if(!e)throw hn("multilink","This element has already been linked.");Ne(t,"scope"),i&&i.needsNewScope&&(t=t.$parent.$new());var l,c=(r=r||{}).parentBoundTranscludeFn,u=r.transcludeControllers,d=r.futureParentElement;if(c&&c.$$boundTransclude&&(c=c.$$boundTransclude),s||(s=function(e){var t=e&&e[0];return t&&"foreignobject"!==re(t)&&v.call(t).match(/SVG/)?"svg":"html"}(d)),l="html"!==s?a(Se(s,a("<div></div>").append(e).html())):n?Ot.clone.call(e):e,u)for(var p in u)l.data("$"+p+"Controller",u[p].instance);return ne.$$addScopeInfo(l,t),n&&n(l,t),o&&o(t,l,l,c),n||(e=o=null),l}}function ie(e,t,n,r,i,s){for(var l,c,u,d,p,f,h,g=[],m=H(e)||e instanceof a,v=0;v<e.length;v++)l=new F,11===o&&ae(e,v,m),(u=(c=ue(e[v],[],l,0===v?r:void 0,i)).length?me(c,e[v],l,t,n,null,[],[],s):null)&&u.scope&&ne.$$addScopeClass(l.$$element),p=u&&u.terminal||!(d=e[v].childNodes)||!d.length?null:ie(d,u?(u.transcludeOnThisElement||!u.templateOnThisElement)&&u.transclude:t),(u||p)&&(g.push(v,u,p),f=!0,h=h||u),s=null;return f?function(e,n,r,i){var o,s,l,c,u,d,p,f,m;if(h){var v=n.length;for(m=new Array(v),u=0;u<g.length;u+=3)p=g[u],m[p]=n[p]}else m=n;for(u=0,d=g.length;u<d;)l=m[g[u++]],o=g[u++],s=g[u++],o?(o.scope?(c=e.$new(),ne.$$addScopeInfo(a(l),c)):c=e,f=o.transcludeOnThisElement?ce(e,o.transclude,i):!o.templateOnThisElement&&i?i:!i&&t?ce(e,t):null,o(s,c,l,r,f)):s&&s(e,l.childNodes,void 0,i)}:null}function ae(e,t,n){var r,i=e[t],o=i.parentNode;if(i.nodeType===Fe)for(;(r=o?i.nextSibling:e[t+1])&&r.nodeType===Fe;)i.nodeValue=i.nodeValue+r.nodeValue,r.parentNode&&r.parentNode.removeChild(r),n&&r===e[t+1]&&e.splice(t+1,1)}function ce(e,t,n){function r(r,i,o,a,s){return r||((r=e.$new(!1,s)).$$transcluded=!0),t(r,i,{parentBoundTranscludeFn:n,transcludeControllers:o,futureParentElement:a})}var i=r.$$slots=qe();for(var o in t.$$slots)t.$$slots[o]?i[o]=ce(e,t.$$slots[o],n):i[o]=null;return r}function ue(e,t,r,i,o){var a,c,u,d=e.nodeType,p=r.$attr;switch(d){case Ve:ye(t,xn(c=re(e)),"E",i,o);for(var f,h,g,m,v,b,y=e.attributes,x=0,w=y&&y.length;x<w;x++){var k=!1,_=!1;h=(f=y[x]).name,v=f.value,m=xn(h),(b=J.test(m))&&(h=h.replace(bn,"").substr(8).replace(/_(.)/g,function(e,t){return t.toUpperCase()}));var $=m.match(te);$&&xe($[1])&&(k=h,_=h.substr(0,h.length-5)+"end",h=h.substr(0,h.length-6)),p[g=xn(h.toLowerCase())]=h,!b&&r.hasOwnProperty(g)||(r[g]=v,It(e,g)&&(r[g]=!0)),Ce(e,t,v,g,b),ye(t,g,"A",i,o,k,_)}if("input"===c&&"hidden"===e.getAttribute("type")&&e.setAttribute("autocomplete","off"),!M)break;if(q(u=e.className)&&(u=u.animVal),V(u)&&""!==u)for(;a=l.exec(u);)ye(t,g=xn(a[2]),"C",i,o)&&(r[g]=ee(a[3])),u=u.substr(a.index+a[0].length);break;case Fe:!function(e,t){var r=n(t,!0);r&&e.push({priority:0,compile:function(e){var t=e.parent(),n=!!t.length;return n&&ne.$$addBindingClass(t),function(e,t){var i=t.parent();n||ne.$$addBindingClass(i),ne.$$addBindingInfo(i,r.expressions),e.$watch(r,function(e){t[0].nodeValue=e})}}})}(t,e.nodeValue);break;case Ue:if(!N)break;!function(e,t,n,r,i){try{var o=s.exec(e.nodeValue);if(o){var a=xn(o[1]);ye(t,a,"M",r,i)&&(n[a]=ee(o[2]))}}catch(e){}}(e,t,r,i,o)}return t.sort($e),t}function de(e,t,n){var r=[],i=0;if(t&&e.hasAttribute&&e.hasAttribute(t))do{if(!e)throw hn("uterdir","Unterminated attribute, found '{0}' but no matching '{1}' found.",t,n);e.nodeType===Ve&&(e.hasAttribute(t)&&i++,e.hasAttribute(n)&&i--),r.push(e),e=e.nextSibling}while(i>0);else r.push(e);return a(r)}function he(e,t,n){return function(r,i,o,a,s){return i=de(i[0],t,n),e(r,i,o,a,s)}}function ge(e,t,n,r,i,o){var a;return e?ne(t,n,r,i,o):function(){return a||(a=ne(t,n,r,i,o),t=n=o=null),a.apply(this,arguments)}}function me(t,n,r,i,o,s,l,c,u){u=u||{};for(var d,p,f,g,m,v=-Number.MAX_VALUE,b=u.newScopeDirective,y=u.controllerDirectives,x=u.newIsolateScopeDirective,w=u.templateDirective,k=u.nonTlbTranscludeDirective,$=!1,S=!1,C=u.hasElementTranscludeDirective,T=r.$$element=a(n),P=s,O=i,R=!1,j=!1,D=0,I=t.length;D<I;D++){var N=(d=t[D]).$$start,M=d.$$end;if(N&&(T=de(n,N,M)),f=void 0,v>d.priority)break;if((m=d.scope)&&(d.templateUrl||(q(m)?(Ee("new/isolated scope",x||b,d,T),x=d):Ee("new/isolated scope",x,d,T)),b=b||d),p=d.name,!R&&(d.replace&&(d.templateUrl||d.template)||d.transclude&&!d.$$tlb)){for(var L,B=D+1;L=t[B++];)if(L.transclude&&!L.$$tlb||L.replace&&(L.templateUrl||L.template)){j=!0;break}R=!0}if(!d.templateUrl&&d.controller&&(y=y||qe(),Ee("'"+p+"' controller",y[p],d,T),y[p]=d),m=d.transclude)if($=!0,d.$$tlb||(Ee("transclusion",k,d,T),k=d),"element"===m)C=!0,v=d.priority,f=T,T=r.$$element=a(ne.$$createComment(p,r[p])),n=T[0],Te(o,pe(f),n),O=ge(j,f,i,v,P&&P.name,{nonTlbTranscludeDirective:k});else{var V=qe();if(q(m)){f=e.document.createDocumentFragment();var U=qe(),W=qe();for(var X in _(m,function(e,t){var n="?"===e.charAt(0);e=n?e.substring(1):e,U[e]=t,V[t]=null,W[t]=n}),_(T.contents(),function(t){var n=U[xn(re(t))];n?(W[n]=!0,V[n]=V[n]||e.document.createDocumentFragment(),V[n].appendChild(t)):f.appendChild(t)}),_(W,function(e,t){if(!e)throw hn("reqslot","Required transclusion slot `{0}` was not filled.",t)}),V)V[X]&&(V[X]=ge(j,V[X].childNodes,i));f=f.childNodes}else f=a(ht(n)).contents();T.empty(),(O=ge(j,f,i,void 0,void 0,{needsNewScope:d.$$isolateScope||d.$$newScope})).$$slots=V}if(d.template)if(S=!0,Ee("template",w,d,T),w=d,m=G(d.template)?d.template(T,r):d.template,m=Q(m),d.replace){if(P=d,f=ct(m)?[]:kn(Se(d.templateNamespace,ee(m))),n=f[0],1!==f.length||n.nodeType!==Ve)throw hn("tplrt","Template for directive '{0}' must have exactly one root element. {1}",p,"");Te(o,T,n);var Y={$attr:{}},K=ue(n,[],Y),J=t.splice(D+1,t.length-(D+1));(x||b)&&be(K,x,b),t=t.concat(K).concat(J),ke(r,Y),I=t.length}else T.html(m);if(d.templateUrl)S=!0,Ee("template",w,d,T),w=d,d.replace&&(P=d),oe=_e(t.splice(D,t.length-D),T,r,o,$&&O,l,c,{controllerDirectives:y,newScopeDirective:b!==d&&b,newIsolateScopeDirective:x,templateDirective:w,nonTlbTranscludeDirective:k}),I=t.length;else if(d.compile)try{g=d.compile(T,r,O);var te=d.$$originalDirective||d;G(g)?ie(null,fe(te,g),N,M):g&&ie(fe(te,g.pre),fe(te,g.post),N,M)}catch(e){h(e,we(T))}d.terminal&&(oe.terminal=!0,v=Math.max(v,d.priority))}return oe.scope=b&&!0===b.scope,oe.transcludeOnThisElement=$,oe.templateOnThisElement=S,oe.transclude=O,u.hasElementTranscludeDirective=C,oe;function ie(e,t,n,r){e&&(n&&(e=he(e,n,r)),e.require=d.require,e.directiveName=p,(x===d||d.$$isolateScope)&&(e=Ae(e,{isolateScope:!0})),l.push(e)),t&&(n&&(t=he(t,n,r)),t.require=d.require,t.directiveName=p,(x===d||d.$$isolateScope)&&(t=Ae(t,{isolateScope:!0})),c.push(t))}function oe(e,t,i,o,s){var u,d,p,f,g,m,v,k,$,S;for(var T in n===i?($=r,k=r.$$element):$=new F(k=a(i),r),g=t,x?f=t.$new(!0):b&&(g=t.$parent),s&&((v=function(e,t,n,r){var i;Z(e)||(r=n,n=t,t=e,e=void 0);C&&(i=m);n||(n=C?k.parent():k);if(!r)return s(e,t,i,n,j);var o=s.$$slots[r];if(o)return o(e,t,i,n,j);if(z(o))throw hn("noslot",'No parent directive that requires a transclusion with slot name "{0}". Element: {1}',r,we(k))}).$$boundTransclude=s,v.isSlotFilled=function(e){return!!s.$$slots[e]}),y&&(m=function(e,t,n,r,i,o,a){var s=qe();for(var l in r){var c=r[l],u={$scope:c===a||c.$$isolateScope?i:o,$element:e,$attrs:t,$transclude:n},d=c.controller;"@"===d&&(d=t[c.name]);var p=E(d,u,!0,c.controllerAs);s[c.name]=p,e.data("$"+c.name+"Controller",p.instance)}return s}(k,$,v,y,f,t,x)),x&&(ne.$$addScopeInfo(k,f,!0,!(w&&(w===x||w===x.$$originalDirective))),ne.$$addScopeClass(k,!0),f.$$isolateBindings=x.$$isolateBindings,(S=Re(t,$,f,f.$$isolateBindings,x)).removeWatches&&f.$on("$destroy",S.removeWatches)),m){var P=y[T],O=m[T],R=P.$$bindings.bindToController;O.instance=O(),k.data("$"+P.name+"Controller",O.instance),O.bindingInfo=Re(g,$,O.instance,R,P)}for(_(y,function(e,t){var n=e.require;e.bindToController&&!H(n)&&q(n)&&A(m[t].instance,ve(t,n,k,m))}),_(m,function(e){var t=e.instance;if(G(t.$onChanges))try{t.$onChanges(e.bindingInfo.initialChanges)}catch(e){h(e)}if(G(t.$onInit))try{t.$onInit()}catch(e){h(e)}G(t.$doCheck)&&(g.$watch(function(){t.$doCheck()}),t.$doCheck()),G(t.$onDestroy)&&g.$on("$destroy",function(){t.$onDestroy()})}),u=0,d=l.length;u<d;u++)Pe(p=l[u],p.isolateScope?f:t,k,$,p.require&&ve(p.directiveName,p.require,k,m),v);var j=t;for(x&&(x.template||null===x.templateUrl)&&(j=f),e&&e(j,i.childNodes,void 0,s),u=c.length-1;u>=0;u--)Pe(p=c[u],p.isolateScope?f:t,k,$,p.require&&ve(p.directiveName,p.require,k,m),v);_(m,function(e){var t=e.instance;G(t.$postLink)&&t.$postLink()})}}function ve(e,t,n,r){var i;if(V(t)){var o=t.match(u),a=t.substring(o[0].length),s=o[1]||o[3],l="?"===o[2];if("^^"===s?n=n.parent():i=(i=r&&r[a])&&i.instance,!i){var c="$"+a+"Controller";i=s?n.inheritedData(c):n.data(c)}if(!i&&!l)throw hn("ctreq","Controller '{0}', required by directive '{1}', can't be found!",a,e)}else if(H(t)){i=[];for(var d=0,p=t.length;d<p;d++)i[d]=ve(e,t[d],n,r)}else q(t)&&(i={},_(t,function(t,o){i[o]=ve(e,t,n,r)}));return i||null}function be(e,t,n){for(var r=0,i=e.length;r<i;r++)e[r]=j(e[r],{$$isolateScope:t,$$newScope:n})}function ye(e,n,o,a,s,l,c){if(n===s)return null;var u=null;if(r.hasOwnProperty(n))for(var d,p=t.get(n+i),f=0,h=p.length;f<h;f++)if(d=p[f],(z(a)||a>d.priority)&&-1!==d.restrict.indexOf(o)){if(l&&(d=j(d,{$$start:l,$$end:c})),!d.$$bindings){var g=d.$$bindings=m(d,d.name);q(g.isolateScope)&&(d.$$isolateBindings=g.isolateScope)}e.push(d),u=d}return u}function xe(e){if(r.hasOwnProperty(e))for(var n=t.get(e+i),o=0,a=n.length;o<a;o++)if(n[o].multiElement)return!0;return!1}function ke(e,t){var n=t.$attr,r=e.$attr;_(e,function(r,i){"$"!==i.charAt(0)&&(t[i]&&t[i]!==r&&(r.length?r+=("style"===i?";":" ")+t[i]:r=t[i]),e.$set(i,r,!0,n[i]))}),_(t,function(t,i){e.hasOwnProperty(i)||"$"===i.charAt(0)||(e[i]=t,"class"!==i&&"style"!==i&&(r[i]=n[i]))})}function _e(e,t,n,r,i,o,s,l){var c,u,d=[],p=t[0],f=e.shift(),m=j(f,{templateUrl:null,transclude:null,replace:null,$$originalDirective:f}),v=G(f.templateUrl)?f.templateUrl(t,n):f.templateUrl,b=f.templateNamespace;return t.empty(),g(v).then(function(h){var g,y,x,w;if(h=Q(h),f.replace){if(x=ct(h)?[]:kn(Se(b,ee(h))),g=x[0],1!==x.length||g.nodeType!==Ve)throw hn("tplrt","Template for directive '{0}' must have exactly one root element. {1}",f.name,v);y={$attr:{}},Te(r,t,g);var k=ue(g,[],y);q(f.scope)&&be(k,!0),e=k.concat(e),ke(n,y)}else g=p,t.html(h);for(e.unshift(m),c=me(e,g,n,i,t,f,o,s,l),_(r,function(e,n){e===g&&(r[n]=t[0])}),u=ie(t[0].childNodes,i);d.length;){var $=d.shift(),E=d.shift(),S=d.shift(),C=d.shift(),T=t[0];if(!$.$$destroyed){if(E!==p){var A=E.className;l.hasElementTranscludeDirective&&f.replace||(T=ht(g)),Te(S,a(E),T),U(a(T),A)}w=c.transcludeOnThisElement?ce($,c.transclude,C):C,c(u,$,T,r,w)}}d=null}).catch(function(e){W(e)&&h(e)}),function(e,t,n,r,i){var o=i;t.$$destroyed||(d?d.push(t,n,r,o):(c.transcludeOnThisElement&&(o=ce(t,c.transclude,i)),c(u,t,n,r,o)))}}function $e(e,t){var n=t.priority-e.priority;return 0!==n?n:e.name!==t.name?e.name<t.name?-1:1:e.index-t.index}function Ee(e,t,n,r){function i(e){return e?" (module: "+e+")":""}if(t)throw hn("multidir","Multiple directives [{0}{1}, {2}{3}] asking for {4} on: {5}",t.name,i(t.$$moduleName),n.name,i(n.$$moduleName),e,we(r))}function Se(t,n){switch(t=p(t||"html")){case"svg":case"math":var r=e.document.createElement("div");return r.innerHTML="<"+t+">"+n+"</"+t+">",r.childNodes[0].childNodes;default:return n}}function Ce(e,t,r,i,o){var a=function(e,t){if("srcdoc"===t)return C.HTML;var n=re(e);return"src"===t||"ngSrc"===t?-1===["img","video","audio","source","track"].indexOf(n)?C.RESOURCE_URL:C.MEDIA_URL:"xlinkHref"===t?"image"===n?C.MEDIA_URL:"a"===n?C.URL:C.RESOURCE_URL:"form"===n&&"action"===t||"base"===n&&"href"===t||"link"===n&&"href"===t?C.RESOURCE_URL:"a"!==n||"href"!==t&&"ngHref"!==t?void 0:C.URL}(e,i),s=!o,l=c[i]||o,u=n(r,s,a,l);if(u){if("multiple"===i&&"select"===re(e))throw hn("selmulti","Binding to the 'multiple' attribute is not supported. Element: {0}",we(e));if(f.test(i))throw hn("nodomevents","Interpolations for HTML DOM event attributes are disallowed.  Please use the ng- versions (such as ng-click instead of onclick) instead.");t.push({priority:100,compile:function(){return{pre:function(e,t,o){var s=o.$$observers||(o.$$observers=qe()),c=o[i];c!==r&&(u=c&&n(c,!0,a,l),r=c),u&&(o[i]=u(e),(s[i]||(s[i]=[])).$$inter=!0,(o.$$observers&&o.$$observers[i].$$scope||e).$watch(u,function(e,t){"class"===i&&e!==t?o.$updateClass(e,t):o.$set(i,e)}))}}}})}}function Te(t,n,r){var i,o,s=n[0],l=n.length,c=s.parentNode;if(t)for(i=0,o=t.length;i<o;i++)if(t[i]===s){t[i++]=r;for(var u=i,d=u+l-1,p=t.length;u<p;u++,d++)d<p?t[u]=t[d]:delete t[u];t.length-=l-1,t.context===s&&(t.context=r);break}c&&c.replaceChild(r,s);var f=e.document.createDocumentFragment();for(i=0;i<l;i++)f.appendChild(n[i]);for(a.hasData(s)&&(a.data(r,a.data(s)),a(s).off("$destroy")),a.cleanData(f.querySelectorAll("*")),i=1;i<l;i++)delete n[i];n[0]=r,n.length=1}function Ae(e,t){return A(function(){return e.apply(null,arguments)},e,t)}function Pe(e,t,n,r,i,o){try{e(t,n,r,i,o)}catch(e){h(e,we(n))}}function Oe(e,t){if(y)throw hn("missingattr","Attribute '{0}' of '{1}' is non-optional and must be set!",e,t)}function Re(e,t,r,i,o){var a,s=[],l={};function c(t,n,i){G(r.$onChanges)&&!se(n,i)&&(P||(e.$$postDigest(B),P=[]),a||(a={},P.push(u)),a[t]&&(i=a[t].previousValue),a[t]=new vn(i,n))}function u(){r.$onChanges(a),a=void 0}return _(i,function(i,a){var u,p,f,h,g,m=i.attrName,v=i.optional;switch(i.mode){case"@":v||d.call(t,m)||(Oe(m,o.name),r[a]=t[m]=void 0),g=t.$observe(m,function(e){if(V(e)||K(e)){var t=r[a];c(a,e,t),r[a]=e}}),t.$$observers[m].$$scope=e,V(u=t[m])?r[a]=n(u)(e):K(u)&&(r[a]=u),l[a]=new vn(gn,r[a]),s.push(g);break;case"=":if(!d.call(t,m)){if(v)break;Oe(m,o.name),t[m]=void 0}if(v&&!t[m])break;p=$(t[m]),h=p.literal?le:se,f=p.assign||function(){throw u=r[a]=p(e),hn("nonassign","Expression '{0}' in attribute '{1}' used with directive '{2}' is non-assignable!",t[m],m,o.name)},u=r[a]=p(e);var b=function(t){return h(t,r[a])||(h(t,u)?f(e,t=r[a]):r[a]=t),u=t};b.$stateful=!0,g=i.collection?e.$watchCollection(t[m],b):e.$watch($(t[m],b),null,p.literal),s.push(g);break;case"<":if(!d.call(t,m)){if(v)break;Oe(m,o.name),t[m]=void 0}if(v&&!t[m])break;var y=(p=$(t[m])).literal,x=r[a]=p(e);l[a]=new vn(gn,r[a]),g=e[i.collection?"$watchCollection":"$watch"](p,function(e,t){if(t===e){if(t===x||y&&le(t,x))return;t=x}c(a,e,t),r[a]=e}),s.push(g);break;case"&":if(v||d.call(t,m)||Oe(m,o.name),(p=t.hasOwnProperty(m)?$(t[m]):D)===D&&v)break;r[a]=function(t){return p(e,t)}}}),{initialChanges:l,removeWatches:s.length&&function(){for(var e=0,t=s.length;e<t;++e)s[e]()}}}}]}function vn(e,t){this.previousValue=e,this.currentValue=t}mn.$inject=["$provide","$$sanitizeUriProvider"],vn.prototype.isFirstChange=function(){return this.previousValue===gn};var bn=/^((?:x|data)[:\-_])/i,yn=/[:\-_]+(.)/g;function xn(e){return e.replace(bn,"").replace(yn,function(e,t,n){return n?t.toUpperCase():t})}function wn(e,t){var n="",r=e.split(/\s+/),i=t.split(/\s+/);e:for(var o=0;o<r.length;o++){for(var a=r[o],s=0;s<i.length;s++)if(a===i[s])continue e;n+=(n.length>0?" ":"")+a}return n}function kn(e){var t=(e=a(e)).length;if(t<=1)return e;for(;t--;){var n=e[t];(n.nodeType===Ue||n.nodeType===Fe&&""===n.nodeValue.trim())&&g.call(e,t,1)}return e}var _n=i("$controller"),$n=/^(\S+)(\s+as\s+([\w$]+))?$/;function En(){var e={};this.has=function(t){return e.hasOwnProperty(t)},this.register=function(t,n){ze(t,"controller"),q(t)?A(e,t):e[t]=n},this.$get=["$injector",function(t){return function(r,i,o,a){var s,l,c,u;if(o=!0===o,a&&V(a)&&(u=a),V(r)){if(!(l=r.match($n)))throw _n("ctrlfmt","Badly formed controller string '{0}'. Must match `__name__ as __id__` or `__name__`.",r);if(c=l[1],u=u||l[3],!(r=e.hasOwnProperty(c)?e[c]:function(e,t,n){if(!t)return e;for(var r,i=t.split("."),o=e,a=i.length,s=0;s<a;s++)r=i[s],e&&(e=(o=e)[r]);return!n&&G(e)?fe(o,e):e}(i.$scope,c,!0)))throw _n("ctrlreg","The controller with the name '{0}' is not registered.",c);Me(r,c,!0)}if(o){var d=(H(r)?r[r.length-1]:r).prototype;return s=Object.create(d||null),u&&n(i,u,s,c||r.name),A(function(){var e=t.invoke(r,s,i,c);return e!==s&&(q(e)||G(e))&&(s=e,u&&n(i,u,s,c||r.name)),s},{instance:s,identifier:u})}return s=t.instantiate(r,i,c),u&&n(i,u,s,c||r.name),s};function n(e,t,n,r){if(!e||!q(e.$scope))throw i("$controller")("noscp","Cannot export controller '{0}' as '{1}'! No $scope object provided via `locals`.",r,t);e.$scope[t]=n}}]}function Sn(){this.$get=["$window",function(e){return a(e.document)}]}function Cn(){this.$get=["$document","$rootScope",function(e,t){var n=e[0],r=n&&n.hidden;function i(){r=n.hidden}return e.on("visibilitychange",i),t.$on("$destroy",function(){e.off("visibilitychange",i)}),function(){return r}}]}function Tn(){this.$get=["$log",function(e){return function(t,n){e.error.apply(e,arguments)}}]}var An=function(){this.$get=["$document",function(e){return function(t){return t?!t.nodeType&&t instanceof a&&(t=t[0]):t=e[0].body,t.offsetWidth+1}}]},Pn="application/json",On={"Content-Type":Pn+";charset=utf-8"},Rn=/^\[|^\{(?!\{)/,jn={"[":/]$/,"{":/}$/},Dn=/^\)]\}',?\n/,In=i("$http");function Nn(e){return q(e)?U(e)?e.toISOString():ge(e):e}function Mn(){this.$get=function(){return function(e){if(!e)return"";var t=[];return $(e,function(e,n){null===e||z(e)||G(e)||(H(e)?_(e,function(e){t.push(Se(n)+"="+Se(Nn(e)))}):t.push(Se(n)+"="+Se(Nn(e))))}),t.join("&")}}}function zn(){this.$get=function(){return function(e){if(!e)return"";var t=[];return function e(n,r,i){H(n)?_(n,function(t,n){e(t,r+"["+(q(t)?n:"")+"]")}):q(n)&&!U(n)?$(n,function(t,n){e(t,r+(i?"":"[")+n+(i?"":"]"))}):(G(n)&&(n=n()),t.push(Se(r)+"="+(null==n?"":Se(Nn(n)))))}(e,"",!0),t.join("&")}}}function Ln(e,t){if(V(e)){var n=e.replace(Dn,"").trim();if(n){var r=t("Content-Type"),i=r&&0===r.indexOf(Pn);if(i||function(e){var t=e.match(Rn);return t&&jn[t[0]].test(e)}(n))try{e=me(n)}catch(t){if(!i)return e;throw In("baddata",'Data must be a valid JSON object. Received: "{0}". Parse error: "{1}"',e,t)}}}return e}function qn(e){var t,n=qe();function r(e,t){e&&(n[e]=n[e]?n[e]+", "+t:t)}return V(e)?_(e.split("\n"),function(e){t=e.indexOf(":"),r(p(ee(e.substr(0,t))),ee(e.substr(t+1)))}):q(e)&&_(e,function(e,t){r(p(t),ee(e))}),n}function Bn(e){var t;return function(n){if(t||(t=qn(e)),n){var r=t[p(n)];return void 0===r&&(r=null),r}return t}}function Vn(e,t,n,r){return G(r)?r(e,t,n):(_(r,function(r){e=r(e,t,n)}),e)}function Fn(e){return 200<=e&&e<300}function Un(){var e=this.defaults={transformResponse:[Ln],transformRequest:[function(e){return!q(e)||function(e){return"[object File]"===v.call(e)}(e)||function(e){return"[object Blob]"===v.call(e)}(e)||function(e){return"[object FormData]"===v.call(e)}(e)?e:ge(e)}],headers:{common:{Accept:"application/json, text/plain, */*"},post:Ge(On),put:Ge(On),patch:Ge(On)},xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",paramSerializer:"$httpParamSerializer",jsonpCallbackParam:"callback"},t=!1;this.useApplyAsync=function(e){return L(e)?(t=!!e,this):t};var n=this.interceptors=[],r=this.xsrfWhitelistedOrigins=[];this.$get=["$browser","$httpBackend","$$cookieReader","$cacheFactory","$rootScope","$q","$injector","$sce",function(o,a,s,l,c,u,d,h){var g=l("$http");e.paramSerializer=V(e.paramSerializer)?d.get(e.paramSerializer):e.paramSerializer;var m=[];_(n,function(e){m.unshift(V(e)?d.get(e):d.invoke(e))});var v=function(e){var t=[si].concat(e.map(li));return function(e){var n=li(e);return t.some(ci.bind(null,n))}}(r);function b(n){if(!q(n))throw i("$http")("badreq","Http request configuration must be an object.  Received: {0}",n);if(!V(h.valueOf(n.url)))throw i("$http")("badreq","Http request configuration url must be a string or a $sce trusted object.  Received: {0}",n.url);var r=A({method:"get",transformRequest:e.transformRequest,transformResponse:e.transformResponse,paramSerializer:e.paramSerializer,jsonpCallbackParam:e.jsonpCallbackParam},n);r.headers=function(t){var n,r,i,o=e.headers,a=A({},t.headers);o=A({},o.common,o[p(t.method)]);e:for(n in o){for(i in r=p(n),a)if(p(i)===r)continue e;a[n]=o[n]}return function(e,t){var n,r={};return _(e,function(e,i){G(e)?null!=(n=e(t))&&(r[i]=n):r[i]=e}),r}(a,Ge(t))}(n),r.method=f(r.method),r.paramSerializer=V(r.paramSerializer)?d.get(r.paramSerializer):r.paramSerializer,o.$$incOutstandingRequestCount();var l=[],y=[],x=u.resolve(r);return _(m,function(e){(e.request||e.requestError)&&l.unshift(e.request,e.requestError),(e.response||e.responseError)&&y.push(e.response,e.responseError)}),x=(x=w(x=(x=w(x,l)).then(function(n){var r=n.headers,i=Vn(n.data,Bn(r),void 0,n.transformRequest);z(i)&&_(r,function(e,t){"content-type"===p(t)&&delete r[t]});z(n.withCredentials)&&!z(e.withCredentials)&&(n.withCredentials=e.withCredentials);return function(n,r){var i,o,l=u.defer(),d=l.promise,f=n.headers,m="jsonp"===p(n.method),y=n.url;m?y=h.getTrustedResourceUrl(y):V(y)||(y=h.valueOf(y));y=function(e,t){return t.length>0&&(e+=(-1===e.indexOf("?")?"?":"&")+t),e}(y,n.paramSerializer(n.params)),m&&(y=function(e,t){var n=e.split("?");if(n.length>2)throw In("badjsonp",'Illegal use more than one "?", in url, "{1}"',e);return _(_e(n[1]),function(n,r){if("JSON_CALLBACK"===n)throw In("badjsonp",'Illegal use of JSON_CALLBACK in url, "{0}"',e);if(r===t)throw In("badjsonp",'Illegal use of callback param, "{0}", in url, "{1}"',t,e)}),e+=(-1===e.indexOf("?")?"?":"&")+t+"=JSON_CALLBACK"}(y,n.jsonpCallbackParam));b.pendingRequests.push(n),d.then(E,E),!n.cache&&!e.cache||!1===n.cache||"GET"!==n.method&&"JSONP"!==n.method||(i=q(n.cache)?n.cache:q(e.cache)?e.cache:g);i&&(L(o=i.get(y))?Q(o)?o.then($,$):H(o)?k(o[1],o[0],Ge(o[2]),o[3],o[4]):k(o,200,{},"OK","complete"):i.put(y,d));if(z(o)){var x=v(n.url)?s()[n.xsrfCookieName||e.xsrfCookieName]:void 0;x&&(f[n.xsrfHeaderName||e.xsrfHeaderName]=x),a(n.method,y,r,function(e,n,r,o,a){i&&(Fn(e)?i.put(y,[e,n,qn(r),o,a]):i.remove(y));function s(){k(n,e,r,o,a)}t?c.$applyAsync(s):(s(),c.$$phase||c.$apply())},f,n.timeout,n.withCredentials,n.responseType,w(n.eventHandlers),w(n.uploadEventHandlers))}return d;function w(e){if(e){var n={};return _(e,function(e,r){n[r]=function(n){function r(){e(n)}t?c.$applyAsync(r):c.$$phase?r():c.$apply(r)}}),n}}function k(e,t,r,i,o){(Fn(t=t>=-1?t:0)?l.resolve:l.reject)({data:e,status:t,headers:Bn(r),config:n,statusText:i,xhrStatus:o})}function $(e){k(e.data,e.status,Ge(e.headers()),e.statusText,e.xhrStatus)}function E(){var e=b.pendingRequests.indexOf(n);-1!==e&&b.pendingRequests.splice(e,1)}}(n,i).then(k,k)}),y)).finally(function(){o.$$completeOutstandingRequest(D)});function w(e,t){for(var n=0,r=t.length;n<r;){var i=t[n++],o=t[n++];e=e.then(i,o)}return t.length=0,e}function k(e){var t=A({},e);return t.data=Vn(e.data,e.headers,e.status,r.transformResponse),Fn(e.status)?t:u.reject(t)}}return b.pendingRequests=[],function(e){_(arguments,function(e){b[e]=function(t,n){return b(A({},n||{},{method:e,url:t}))}})}("get","delete","head","jsonp"),function(e){_(arguments,function(e){b[e]=function(t,n,r){return b(A({},r||{},{method:e,url:t,data:n}))}})}("post","put","patch"),b.defaults=e,b}]}function Hn(){this.$get=function(){return function(){return new e.XMLHttpRequest}}}function Wn(){this.$get=["$browser","$jsonpCallbacks","$document","$xhrFactory",function(e,t,n,r){return function(e,t,n,r,i){return function(o,a,s,l,c,u,d,f,h,g){if(a=a||e.url(),"jsonp"===p(o))var m=r.createCallback(a),v=function(e,t,n){e=e.replace("JSON_CALLBACK",t);var o=i.createElement("script"),a=null;return o.type="text/javascript",o.src=e,o.async=!0,a=function(e){o.removeEventListener("load",a),o.removeEventListener("error",a),i.body.removeChild(o),o=null;var s=-1,l="unknown";e&&("load"!==e.type||r.wasCalled(t)||(e={type:"error"}),l=e.type,s="error"===e.type?404:200),n&&n(s,l)},o.addEventListener("load",a),o.addEventListener("error",a),i.body.appendChild(o),a}(a,m,function(e,t){var n=200===e&&r.getResponse(m);k(l,e,n,"",t,"complete"),r.removeCallback(m)});else{var b=t(o,a),y=!1;b.open(o,a,!0),_(c,function(e,t){L(e)&&b.setRequestHeader(t,e)}),b.onload=function(){var e=b.statusText||"",t="response"in b?b.response:b.responseText,n=1223===b.status?204:b.status;0===n&&(n=t?200:"file"===li(a).protocol?404:0),k(l,n,t,b.getAllResponseHeaders(),e,"complete")};if(b.onerror=function(){k(l,-1,null,null,"","error")},b.ontimeout=function(){k(l,-1,null,null,"","timeout")},b.onabort=function(){k(l,-1,null,null,"",y?"timeout":"abort")},_(h,function(e,t){b.addEventListener(t,e)}),_(g,function(e,t){b.upload.addEventListener(t,e)}),d&&(b.withCredentials=!0),f)try{b.responseType=f}catch(e){if("json"!==f)throw e}b.send(z(s)?null:s)}if(u>0)var x=n(function(){w("timeout")},u);else Q(u)&&u.then(function(){w(L(u.$$timeoutId)?"timeout":"abort")});function w(e){y="timeout"===e,v&&v(),b&&b.abort()}function k(e,t,r,i,o,a){L(x)&&n.cancel(x),v=b=null,e(t,r,i,o,a)}}}(e,r,e.defer,t,n[0])}]}var Gn=x.$interpolateMinErr=i("$interpolate");function Xn(){var e="{{",t="}}";this.startSymbol=function(t){return t?(e=t,this):e},this.endSymbol=function(e){return e?(t=e,this):t},this.$get=["$parse","$exceptionHandler","$sce",function(n,r,i){var o=e.length,a=t.length,s=new RegExp(e.replace(/./g,c),"g"),l=new RegExp(t.replace(/./g,c),"g");function c(e){return"\\\\\\"+e}function u(n){return n.replace(s,e).replace(l,t)}function d(e,t,n,r){var i=e.$watch(function(e){return i(),r(e)},t,n);return i}function p(s,l,c,p){var f=c===i.URL||c===i.MEDIA_URL;if(!s.length||-1===s.indexOf(e)){if(l&&!f)return;var h=u(s);f&&(h=i.getTrusted(c,h));var g=N(h);return g.exp=s,g.expressions=[],g.$$watchDelegate=d,g}p=!!p;for(var m,v,b,y,x,w=0,k=[],_=s.length,$=[],E=[];w<_;){if(-1===(m=s.indexOf(e,w))||-1===(v=s.indexOf(t,m+o))){w!==_&&$.push(u(s.substring(w)));break}w!==m&&$.push(u(s.substring(w,m))),y=s.substring(m+o,v),k.push(y),w=v+a,E.push($.length),$.push("")}x=1===$.length&&1===E.length;var S=f&&x?void 0:function(e){try{return e=c&&!f?i.getTrusted(c,e):i.valueOf(e),p&&!L(e)?e:Be(e)}catch(e){r(Gn.interr(s,e))}};if(b=k.map(function(e){return n(e,S)}),!l||k.length){var C=function(e){for(var t=0,n=k.length;t<n;t++){if(p&&z(e[t]))return;$[E[t]]=e[t]}return f?i.getTrusted(c,x?$[0]:$.join("")):(c&&$.length>1&&Gn.throwNoconcat(s),$.join(""))};return A(function(e){var t=0,n=k.length,i=new Array(n);try{for(;t<n;t++)i[t]=b[t](e);return C(i)}catch(e){r(Gn.interr(s,e))}},{exp:s,expressions:k,$$watchDelegate:function(e,t){var n;return e.$watchGroup(b,function(r,i){var o=C(r);t.call(this,o,r!==i?n:o,e),n=o})}})}}return p.startSymbol=function(){return e},p.endSymbol=function(){return t},p}]}Gn.throwNoconcat=function(e){throw Gn("noconcat","Error while interpolating: {0}\nStrict Contextual Escaping disallows interpolations that concatenate multiple expressions when a trusted value is required.  See http://docs.angularjs.org/api/ng.$sce",e)},Gn.interr=function(e,t){return Gn("interr","Can't interpolate: {0}\n{1}",e,t.toString())};var Yn=i("$interval");function Zn(){this.$get=["$rootScope","$window","$q","$$q","$browser",function(e,t,n,r,i){var o={};function a(a,s,l,c){var u=arguments.length>4,d=u?pe(arguments,4):[],p=t.setInterval,f=t.clearInterval,h=0,g=L(c)&&!c,m=(g?r:n).defer(),v=m.promise;return l=L(l)?l:0,v.$$intervalId=p(function(){g?i.defer(b):e.$evalAsync(b),m.notify(h++),l>0&&h>=l&&(m.resolve(h),f(v.$$intervalId),delete o[v.$$intervalId]),g||e.$apply()},s),o[v.$$intervalId]=m,v;function b(){u?a.apply(null,d):a(h)}}return a.cancel=function(e){if(!e)return!1;if(!e.hasOwnProperty("$$intervalId"))throw Yn("badprom","`$interval.cancel()` called with a promise that was not generated by `$interval()`.");if(!o.hasOwnProperty(e.$$intervalId))return!1;var n=e.$$intervalId,r=o[n];return Vr(r.promise),r.reject("canceled"),t.clearInterval(n),delete o[n],!0},a}]}var Kn=function(){this.$get=function(){var e=x.callbacks,t={};return{createCallback:function(n){var r="_"+(e.$$counter++).toString(36),i="angular.callbacks."+r,o=function(e){var t=function(e){t.data=e,t.called=!0};return t.id=e,t}(r);return t[i]=e[r]=o,i},wasCalled:function(e){return t[e].called},getResponse:function(e){return t[e].data},removeCallback:function(n){var r=t[n];delete e[r.id],delete t[n]}}}},Qn=/^([^?#]*)(\?([^#]*))?(#(.*))?$/,Jn={http:80,https:443,ftp:21},er=i("$location");function tr(e){for(var t=e.split("/"),n=t.length;n--;)t[n]=Ee(t[n].replace(/%2F/g,"/"));return t.join("/")}function nr(e,t){var n=li(e);t.$$protocol=n.protocol,t.$$host=n.hostname,t.$$port=O(n.port)||Jn[n.protocol]||null}var rr=/^\s*[\\/]{2,}/;function ir(e,t,n){if(rr.test(e))throw er("badpath",'Invalid url "{0}".',e);var r="/"!==e.charAt(0);r&&(e="/"+e);var i=li(e),o=r&&"/"===i.pathname.charAt(0)?i.pathname.substring(1):i.pathname;t.$$path=function(e,t){for(var n=e.split("/"),r=n.length;r--;)n[r]=decodeURIComponent(n[r]),t&&(n[r]=n[r].replace(/\//g,"%2F"));return n.join("/")}(o,n),t.$$search=_e(i.search),t.$$hash=decodeURIComponent(i.hash),t.$$path&&"/"!==t.$$path.charAt(0)&&(t.$$path="/"+t.$$path)}function or(e,t){return e.slice(0,t.length)===t}function ar(e,t){if(or(t,e))return t.substr(e.length)}function sr(e){var t=e.indexOf("#");return-1===t?e:e.substr(0,t)}function lr(e){return e.replace(/(#.+)|#$/,"$1")}function cr(e,t,n){this.$$html5=!0,n=n||"",nr(e,this),this.$$parse=function(e){var n=ar(t,e);if(!V(n))throw er("ipthprfx",'Invalid url "{0}", missing path prefix "{1}".',e,t);ir(n,this,!0),this.$$path||(this.$$path="/"),this.$$compose()},this.$$compose=function(){var e=$e(this.$$search),n=this.$$hash?"#"+Ee(this.$$hash):"";this.$$url=tr(this.$$path)+(e?"?"+e:"")+n,this.$$absUrl=t+this.$$url.substr(1),this.$$urlUpdatedByLocation=!0},this.$$parseLinkUrl=function(r,i){return i&&"#"===i[0]?(this.hash(i.slice(1)),!0):(L(o=ar(e,r))?(a=o,s=n&&L(o=ar(n,o))?t+(ar("/",o)||o):e+a):L(o=ar(t,r))?s=t+o:t===r+"/"&&(s=t),s&&this.$$parse(s),!!s);var o,a,s}}function ur(e,t,n){nr(e,this),this.$$parse=function(r){var i,o=ar(e,r)||ar(t,r);z(o)||"#"!==o.charAt(0)?this.$$html5?i=o:(i="",z(o)&&(e=r,this.replace())):z(i=ar(n,o))&&(i=o),ir(i,this,!1),this.$$path=function(e,t,n){var r,i=/^\/[A-Z]:(\/.*)/;or(t,n)&&(t=t.replace(n,""));if(i.exec(t))return e;return(r=i.exec(e))?r[1]:e}(this.$$path,i,e),this.$$compose()},this.$$compose=function(){var t=$e(this.$$search),r=this.$$hash?"#"+Ee(this.$$hash):"";this.$$url=tr(this.$$path)+(t?"?"+t:"")+r,this.$$absUrl=e+(this.$$url?n+this.$$url:""),this.$$urlUpdatedByLocation=!0},this.$$parseLinkUrl=function(t,n){return sr(e)===sr(t)&&(this.$$parse(t),!0)}}function dr(e,t,n){this.$$html5=!0,ur.apply(this,arguments),this.$$parseLinkUrl=function(r,i){return i&&"#"===i[0]?(this.hash(i.slice(1)),!0):(e===sr(r)?o=r:(a=ar(t,r))?o=e+n+a:t===r+"/"&&(o=t),o&&this.$$parse(o),!!o);var o,a},this.$$compose=function(){var t=$e(this.$$search),r=this.$$hash?"#"+Ee(this.$$hash):"";this.$$url=tr(this.$$path)+(t?"?"+t:"")+r,this.$$absUrl=e+n+this.$$url,this.$$urlUpdatedByLocation=!0}}var pr={$$absUrl:"",$$html5:!1,$$replace:!1,absUrl:fr("$$absUrl"),url:function(e){if(z(e))return this.$$url;var t=Qn.exec(e);return(t[1]||""===e)&&this.path(decodeURIComponent(t[1])),(t[2]||t[1]||""===e)&&this.search(t[3]||""),this.hash(t[5]||""),this},protocol:fr("$$protocol"),host:fr("$$host"),port:fr("$$port"),path:hr("$$path",function(e){return"/"===(e=null!==e?e.toString():"").charAt(0)?e:"/"+e}),search:function(e,t){switch(arguments.length){case 0:return this.$$search;case 1:if(V(e)||F(e))e=e.toString(),this.$$search=_e(e);else{if(!q(e))throw er("isrcharg","The first argument of the `$location#search()` call must be a string or an object.");_(e=ae(e,{}),function(t,n){null==t&&delete e[n]}),this.$$search=e}break;default:z(t)||null===t?delete this.$$search[e]:this.$$search[e]=t}return this.$$compose(),this},hash:hr("$$hash",function(e){return null!==e?e.toString():""}),replace:function(){return this.$$replace=!0,this}};function fr(e){return function(){return this[e]}}function hr(e,t){return function(n){return z(n)?this[e]:(this[e]=t(n),this.$$compose(),this)}}function gr(){var e="!",t={enabled:!1,requireBase:!0,rewriteLinks:!0};this.hashPrefix=function(t){return L(t)?(e=t,this):e},this.html5Mode=function(e){return K(e)?(t.enabled=e,this):q(e)?(K(e.enabled)&&(t.enabled=e.enabled),K(e.requireBase)&&(t.requireBase=e.requireBase),(K(e.rewriteLinks)||V(e.rewriteLinks))&&(t.rewriteLinks=e.rewriteLinks),this):t},this.$get=["$rootScope","$browser","$sniffer","$rootElement","$window",function(n,r,i,o,s){var l,c,u,d=r.baseHref(),p=r.url();if(t.enabled){if(!d&&t.requireBase)throw er("nobase","$location in HTML5 mode requires a <base> tag to be present!");u=function(e){return e.substring(0,e.indexOf("/",e.indexOf("//")+2))}(p)+(d||"/"),c=i.history?cr:dr}else u=sr(p),c=ur;var f=function(e){return e.substr(0,sr(e).lastIndexOf("/")+1)}(u);(l=new c(u,f,"#"+e)).$$parseLinkUrl(p,p),l.$$state=r.state();var h=/^\s*(javascript|mailto):/i;function g(e,t,n){var i=l.url(),o=l.$$state;try{r.url(e,t,n),l.$$state=r.state()}catch(e){throw l.url(i),l.$$state=o,e}}o.on("click",function(e){var i=t.rewriteLinks;if(i&&!e.ctrlKey&&!e.metaKey&&!e.shiftKey&&2!==e.which&&2!==e.button){for(var s=a(e.target);"a"!==re(s[0]);)if(s[0]===o[0]||!(s=s.parent())[0])return;if(!V(i)||!z(s.attr(i))){var c=s.prop("href"),u=s.attr("href")||s.attr("xlink:href");q(c)&&"[object SVGAnimatedString]"===c.toString()&&(c=li(c.animVal).href),h.test(c)||!c||s.attr("target")||e.isDefaultPrevented()||l.$$parseLinkUrl(c,u)&&(e.preventDefault(),l.absUrl()!==r.url()&&n.$apply())}}}),lr(l.absUrl())!==lr(p)&&r.url(l.absUrl(),!0);var m=!0;return r.onUrlChange(function(e,t){or(e,f)?(n.$evalAsync(function(){var r,i=l.absUrl(),o=l.$$state;e=lr(e),l.$$parse(e),l.$$state=t,r=n.$broadcast("$locationChangeStart",e,i,t,o).defaultPrevented,l.absUrl()===e&&(r?(l.$$parse(i),l.$$state=o,g(i,!1,o)):(m=!1,v(i,o)))}),n.$$phase||n.$digest()):s.location.href=e}),n.$watch(function(){if(m||l.$$urlUpdatedByLocation){l.$$urlUpdatedByLocation=!1;var e=lr(r.url()),t=lr(l.absUrl()),o=r.state(),a=l.$$replace,s=e!==t||l.$$html5&&i.history&&o!==l.$$state;(m||s)&&(m=!1,n.$evalAsync(function(){var t=l.absUrl(),r=n.$broadcast("$locationChangeStart",t,e,l.$$state,o).defaultPrevented;l.absUrl()===t&&(r?(l.$$parse(e),l.$$state=o):(s&&g(t,a,o===l.$$state?null:l.$$state),v(e,o)))}))}l.$$replace=!1}),l;function v(e,t){n.$broadcast("$locationChangeSuccess",l.absUrl(),e,l.$$state,t)}}]}function mr(){var e=!0,t=this;this.debugEnabled=function(t){return L(t)?(e=t,this):e},this.$get=["$window",function(n){var r=o||/\bEdge\//.test(n.navigator&&n.navigator.userAgent);return{log:i("log"),info:i("info"),warn:i("warn"),error:i("error"),debug:function(){var n=i("debug");return function(){e&&n.apply(t,arguments)}}()};function i(e){var t=n.console||{},i=t[e]||t.log||D;return function(){var e=[];return _(arguments,function(t){e.push(function(e){return W(e)&&(e.stack&&r?e=e.message&&-1===e.stack.indexOf(e.message)?"Error: "+e.message+"\n"+e.stack:e.stack:e.sourceURL&&(e=e.message+"\n"+e.sourceURL+":"+e.line)),e}(t))}),Function.prototype.apply.call(i,t,e)}}}]}_([dr,ur,cr],function(e){e.prototype=Object.create(pr),e.prototype.state=function(t){if(!arguments.length)return this.$$state;if(e!==cr||!this.$$html5)throw er("nostate","History API state support is available only in HTML5 mode and only in browsers supporting HTML5 History API");return this.$$state=z(t)?null:t,this.$$urlUpdatedByLocation=!0,this}});var vr=i("$parse"),br={}.constructor.prototype.valueOf;function yr(e){return e+""}var xr=qe();_("+ - * / % === !== == != < > <= >= && || ! = |".split(" "),function(e){xr[e]=!0});var wr={n:"\n",f:"\f",r:"\r",t:"\t",v:"\v","'":"'",'"':'"'},kr=function(e){this.options=e};kr.prototype={constructor:kr,lex:function(e){for(this.text=e,this.index=0,this.tokens=[];this.index<this.text.length;){var t=this.text.charAt(this.index);if('"'===t||"'"===t)this.readString(t);else if(this.isNumber(t)||"."===t&&this.isNumber(this.peek()))this.readNumber();else if(this.isIdentifierStart(this.peekMultichar()))this.readIdent();else if(this.is(t,"(){}[].,;:?"))this.tokens.push({index:this.index,text:t}),this.index++;else if(this.isWhitespace(t))this.index++;else{var n=t+this.peek(),r=n+this.peek(2),i=xr[t],o=xr[n],a=xr[r];if(i||o||a){var s=a?r:o?n:t;this.tokens.push({index:this.index,text:s,operator:!0}),this.index+=s.length}else this.throwError("Unexpected next character ",this.index,this.index+1)}}return this.tokens},is:function(e,t){return-1!==t.indexOf(e)},peek:function(e){var t=e||1;return this.index+t<this.text.length&&this.text.charAt(this.index+t)},isNumber:function(e){return"0"<=e&&e<="9"&&"string"==typeof e},isWhitespace:function(e){return" "===e||"\r"===e||"\t"===e||"\n"===e||"\v"===e||" "===e},isIdentifierStart:function(e){return this.options.isIdentifierStart?this.options.isIdentifierStart(e,this.codePointAt(e)):this.isValidIdentifierStart(e)},isValidIdentifierStart:function(e){return"a"<=e&&e<="z"||"A"<=e&&e<="Z"||"_"===e||"$"===e},isIdentifierContinue:function(e){return this.options.isIdentifierContinue?this.options.isIdentifierContinue(e,this.codePointAt(e)):this.isValidIdentifierContinue(e)},isValidIdentifierContinue:function(e,t){return this.isValidIdentifierStart(e,t)||this.isNumber(e)},codePointAt:function(e){return 1===e.length?e.charCodeAt(0):(e.charCodeAt(0)<<10)+e.charCodeAt(1)-56613888},peekMultichar:function(){var e=this.text.charAt(this.index),t=this.peek();if(!t)return e;var n=e.charCodeAt(0),r=t.charCodeAt(0);return n>=55296&&n<=56319&&r>=56320&&r<=57343?e+t:e},isExpOperator:function(e){return"-"===e||"+"===e||this.isNumber(e)},throwError:function(e,t,n){n=n||this.index;var r=L(t)?"s "+t+"-"+this.index+" ["+this.text.substring(t,n)+"]":" "+n;throw vr("lexerr","Lexer Error: {0} at column{1} in expression [{2}].",e,r,this.text)},readNumber:function(){for(var e="",t=this.index;this.index<this.text.length;){var n=p(this.text.charAt(this.index));if("."===n||this.isNumber(n))e+=n;else{var r=this.peek();if("e"===n&&this.isExpOperator(r))e+=n;else if(this.isExpOperator(n)&&r&&this.isNumber(r)&&"e"===e.charAt(e.length-1))e+=n;else{if(!this.isExpOperator(n)||r&&this.isNumber(r)||"e"!==e.charAt(e.length-1))break;this.throwError("Invalid exponent")}}this.index++}this.tokens.push({index:t,text:e,constant:!0,value:Number(e)})},readIdent:function(){var e=this.index;for(this.index+=this.peekMultichar().length;this.index<this.text.length;){var t=this.peekMultichar();if(!this.isIdentifierContinue(t))break;this.index+=t.length}this.tokens.push({index:e,text:this.text.slice(e,this.index),identifier:!0})},readString:function(e){var t=this.index;this.index++;for(var n="",r=e,i=!1;this.index<this.text.length;){var o=this.text.charAt(this.index);if(r+=o,i){if("u"===o){var a=this.text.substring(this.index+1,this.index+5);a.match(/[\da-f]{4}/i)||this.throwError("Invalid unicode escape [\\u"+a+"]"),this.index+=4,n+=String.fromCharCode(parseInt(a,16))}else{n+=wr[o]||o}i=!1}else if("\\"===o)i=!0;else{if(o===e)return this.index++,void this.tokens.push({index:t,text:r,constant:!0,value:n});n+=o}this.index++}this.throwError("Unterminated quote",t)}};var _r=function(e,t){this.lexer=e,this.options=t};function $r(e,t){return void 0!==e?e:t}function Er(e,t){return void 0===e?t:void 0===t?e:e+t}_r.Program="Program",_r.ExpressionStatement="ExpressionStatement",_r.AssignmentExpression="AssignmentExpression",_r.ConditionalExpression="ConditionalExpression",_r.LogicalExpression="LogicalExpression",_r.BinaryExpression="BinaryExpression",_r.UnaryExpression="UnaryExpression",_r.CallExpression="CallExpression",_r.MemberExpression="MemberExpression",_r.Identifier="Identifier",_r.Literal="Literal",_r.ArrayExpression="ArrayExpression",_r.Property="Property",_r.ObjectExpression="ObjectExpression",_r.ThisExpression="ThisExpression",_r.LocalsExpression="LocalsExpression",_r.NGValueParameter="NGValueParameter",_r.prototype={ast:function(e){this.text=e,this.tokens=this.lexer.lex(e);var t=this.program();return 0!==this.tokens.length&&this.throwError("is an unexpected token",this.tokens[0]),t},program:function(){for(var e=[];;)if(this.tokens.length>0&&!this.peek("}",")",";","]")&&e.push(this.expressionStatement()),!this.expect(";"))return{type:_r.Program,body:e}},expressionStatement:function(){return{type:_r.ExpressionStatement,expression:this.filterChain()}},filterChain:function(){for(var e=this.expression();this.expect("|");)e=this.filter(e);return e},expression:function(){return this.assignment()},assignment:function(){var e=this.ternary();if(this.expect("=")){if(!Pr(e))throw vr("lval","Trying to assign a value to a non l-value");e={type:_r.AssignmentExpression,left:e,right:this.assignment(),operator:"="}}return e},ternary:function(){var e,t,n=this.logicalOR();return this.expect("?")&&(e=this.expression(),this.consume(":"))?(t=this.expression(),{type:_r.ConditionalExpression,test:n,alternate:e,consequent:t}):n},logicalOR:function(){for(var e=this.logicalAND();this.expect("||");)e={type:_r.LogicalExpression,operator:"||",left:e,right:this.logicalAND()};return e},logicalAND:function(){for(var e=this.equality();this.expect("&&");)e={type:_r.LogicalExpression,operator:"&&",left:e,right:this.equality()};return e},equality:function(){for(var e,t=this.relational();e=this.expect("==","!=","===","!==");)t={type:_r.BinaryExpression,operator:e.text,left:t,right:this.relational()};return t},relational:function(){for(var e,t=this.additive();e=this.expect("<",">","<=",">=");)t={type:_r.BinaryExpression,operator:e.text,left:t,right:this.additive()};return t},additive:function(){for(var e,t=this.multiplicative();e=this.expect("+","-");)t={type:_r.BinaryExpression,operator:e.text,left:t,right:this.multiplicative()};return t},multiplicative:function(){for(var e,t=this.unary();e=this.expect("*","/","%");)t={type:_r.BinaryExpression,operator:e.text,left:t,right:this.unary()};return t},unary:function(){var e;return(e=this.expect("+","-","!"))?{type:_r.UnaryExpression,operator:e.text,prefix:!0,argument:this.unary()}:this.primary()},primary:function(){var e,t;for(this.expect("(")?(e=this.filterChain(),this.consume(")")):this.expect("[")?e=this.arrayDeclaration():this.expect("{")?e=this.object():this.selfReferential.hasOwnProperty(this.peek().text)?e=ae(this.selfReferential[this.consume().text]):this.options.literals.hasOwnProperty(this.peek().text)?e={type:_r.Literal,value:this.options.literals[this.consume().text]}:this.peek().identifier?e=this.identifier():this.peek().constant?e=this.constant():this.throwError("not a primary expression",this.peek());t=this.expect("(","[",".");)"("===t.text?(e={type:_r.CallExpression,callee:e,arguments:this.parseArguments()},this.consume(")")):"["===t.text?(e={type:_r.MemberExpression,object:e,property:this.expression(),computed:!0},this.consume("]")):"."===t.text?e={type:_r.MemberExpression,object:e,property:this.identifier(),computed:!1}:this.throwError("IMPOSSIBLE");return e},filter:function(e){for(var t=[e],n={type:_r.CallExpression,callee:this.identifier(),arguments:t,filter:!0};this.expect(":");)t.push(this.expression());return n},parseArguments:function(){var e=[];if(")"!==this.peekToken().text)do{e.push(this.filterChain())}while(this.expect(","));return e},identifier:function(){var e=this.consume();return e.identifier||this.throwError("is not a valid identifier",e),{type:_r.Identifier,name:e.text}},constant:function(){return{type:_r.Literal,value:this.consume().value}},arrayDeclaration:function(){var e=[];if("]"!==this.peekToken().text)do{if(this.peek("]"))break;e.push(this.expression())}while(this.expect(","));return this.consume("]"),{type:_r.ArrayExpression,elements:e}},object:function(){var e,t=[];if("}"!==this.peekToken().text)do{if(this.peek("}"))break;e={type:_r.Property,kind:"init"},this.peek().constant?(e.key=this.constant(),e.computed=!1,this.consume(":"),e.value=this.expression()):this.peek().identifier?(e.key=this.identifier(),e.computed=!1,this.peek(":")?(this.consume(":"),e.value=this.expression()):e.value=e.key):this.peek("[")?(this.consume("["),e.key=this.expression(),this.consume("]"),e.computed=!0,this.consume(":"),e.value=this.expression()):this.throwError("invalid key",this.peek()),t.push(e)}while(this.expect(","));return this.consume("}"),{type:_r.ObjectExpression,properties:t}},throwError:function(e,t){throw vr("syntax","Syntax Error: Token '{0}' {1} at column {2} of the expression [{3}] starting at [{4}].",t.text,e,t.index+1,this.text,this.text.substring(t.index))},consume:function(e){if(0===this.tokens.length)throw vr("ueoe","Unexpected end of expression: {0}",this.text);var t=this.expect(e);return t||this.throwError("is unexpected, expecting ["+e+"]",this.peek()),t},peekToken:function(){if(0===this.tokens.length)throw vr("ueoe","Unexpected end of expression: {0}",this.text);return this.tokens[0]},peek:function(e,t,n,r){return this.peekAhead(0,e,t,n,r)},peekAhead:function(e,t,n,r,i){if(this.tokens.length>e){var o=this.tokens[e],a=o.text;if(a===t||a===n||a===r||a===i||!t&&!n&&!r&&!i)return o}return!1},expect:function(e,t,n,r){var i=this.peek(e,t,n,r);return!!i&&(this.tokens.shift(),i)},selfReferential:{this:{type:_r.ThisExpression},$locals:{type:_r.LocalsExpression}}};var Sr=1,Cr=2;function Tr(e,t,n){var r,i,o,a=e.isPure=function(e,t){switch(e.type){case _r.MemberExpression:if(e.computed)return!1;break;case _r.UnaryExpression:return Sr;case _r.BinaryExpression:return"+"!==e.operator&&Sr;case _r.CallExpression:return!1}return void 0===t?Cr:t}(e,n);switch(e.type){case _r.Program:r=!0,_(e.body,function(e){Tr(e.expression,t,a),r=r&&e.expression.constant}),e.constant=r;break;case _r.Literal:e.constant=!0,e.toWatch=[];break;case _r.UnaryExpression:Tr(e.argument,t,a),e.constant=e.argument.constant,e.toWatch=e.argument.toWatch;break;case _r.BinaryExpression:Tr(e.left,t,a),Tr(e.right,t,a),e.constant=e.left.constant&&e.right.constant,e.toWatch=e.left.toWatch.concat(e.right.toWatch);break;case _r.LogicalExpression:Tr(e.left,t,a),Tr(e.right,t,a),e.constant=e.left.constant&&e.right.constant,e.toWatch=e.constant?[]:[e];break;case _r.ConditionalExpression:Tr(e.test,t,a),Tr(e.alternate,t,a),Tr(e.consequent,t,a),e.constant=e.test.constant&&e.alternate.constant&&e.consequent.constant,e.toWatch=e.constant?[]:[e];break;case _r.Identifier:e.constant=!1,e.toWatch=[e];break;case _r.MemberExpression:Tr(e.object,t,a),e.computed&&Tr(e.property,t,a),e.constant=e.object.constant&&(!e.computed||e.property.constant),e.toWatch=e.constant?[]:[e];break;case _r.CallExpression:o=!!e.filter&&function(e,t){return!e(t).$stateful}(t,e.callee.name),r=o,i=[],_(e.arguments,function(e){Tr(e,t,a),r=r&&e.constant,i.push.apply(i,e.toWatch)}),e.constant=r,e.toWatch=o?i:[e];break;case _r.AssignmentExpression:Tr(e.left,t,a),Tr(e.right,t,a),e.constant=e.left.constant&&e.right.constant,e.toWatch=[e];break;case _r.ArrayExpression:r=!0,i=[],_(e.elements,function(e){Tr(e,t,a),r=r&&e.constant,i.push.apply(i,e.toWatch)}),e.constant=r,e.toWatch=i;break;case _r.ObjectExpression:r=!0,i=[],_(e.properties,function(e){Tr(e.value,t,a),r=r&&e.value.constant,i.push.apply(i,e.value.toWatch),e.computed&&(Tr(e.key,t,!1),r=r&&e.key.constant,i.push.apply(i,e.key.toWatch))}),e.constant=r,e.toWatch=i;break;case _r.ThisExpression:case _r.LocalsExpression:e.constant=!1,e.toWatch=[]}}function Ar(e){if(1===e.length){var t=e[0].expression,n=t.toWatch;return 1!==n.length?n:n[0]!==t?n:void 0}}function Pr(e){return e.type===_r.Identifier||e.type===_r.MemberExpression}function Or(e){if(1===e.body.length&&Pr(e.body[0].expression))return{type:_r.AssignmentExpression,left:e.body[0].expression,right:{type:_r.NGValueParameter},operator:"="}}function Rr(e){this.$filter=e}function jr(e){this.$filter=e}function Dr(e,t,n){this.ast=new _r(e,n),this.astCompiler=n.csp?new jr(t):new Rr(t)}function Ir(e){return G(e.valueOf)?e.valueOf():br.call(e)}function Nr(){var e,t,n=qe(),r={true:!0,false:!1,null:null,undefined:void 0};this.addLiteral=function(e,t){r[e]=t},this.setIdentifierFns=function(n,r){return e=n,t=r,this},this.$get=["$filter",function(i){var o={csp:ce().noUnsafeEval,literals:ae(r),isIdentifierStart:G(e)&&e,isIdentifierContinue:G(t)&&t};return a.$$getAst=function(e){return new Dr(new kr(o),i,o).getAst(e).ast},a;function a(e,t){var r,a;switch(typeof e){case"string":if(e=e.trim(),!(r=n[a=e]))r=new Dr(new kr(o),i,o).parse(e),n[a]=p(r);return f(r,t);case"function":return f(e,t);default:return f(D,t)}}function s(e,t,n){return null==e||null==t?e===t:!("object"==typeof e&&"object"==typeof(e=Ir(e))&&!n)&&(e===t||e!=e&&t!=t)}function l(e,t,n,r,i){var o,a=r.inputs;if(1===a.length){var l=s;return a=a[0],e.$watch(function(e){var t=a(e);return s(t,l,a.isPure)||(o=r(e,void 0,void 0,[t]),l=t&&Ir(t)),o},t,n,i)}for(var c=[],u=[],d=0,p=a.length;d<p;d++)c[d]=s,u[d]=null;return e.$watch(function(e){for(var t=!1,n=0,i=a.length;n<i;n++){var l=a[n](e);(t||(t=!s(l,c[n],a[n].isPure)))&&(u[n]=l,c[n]=l&&Ir(l))}return t&&(o=r(e,void 0,void 0,u)),o},t,n,i)}function c(e,t,n,r,i){var o,a,s=r.literal?u:L,l=r.$$intercepted||r,c=r.$$interceptor||I,d=r.inputs&&!l.inputs;return h.literal=r.literal,h.constant=r.constant,h.inputs=r.inputs,p(h),o=e.$watch(h,t,n,i);function f(){s(a)&&o()}function h(e,t,n,r){return a=d&&r?r[0]:l(e,t,n,r),s(a)&&e.$$postDigest(f),c(a)}}function u(e){var t=!0;return _(e,function(e){L(e)||(t=!1)}),t}function d(e,t,n,r){var i=e.$watch(function(e){return i(),r(e)},t,n);return i}function p(e){return e.constant?e.$$watchDelegate=d:e.oneTime?e.$$watchDelegate=c:e.inputs&&(e.$$watchDelegate=l),e}function f(e,t){if(!t)return e;e.$$interceptor&&(t=function(e,t){function n(n){return t(e(n))}return n.$stateful=e.$stateful||t.$stateful,n.$$pure=e.$$pure&&t.$$pure,n}(e.$$interceptor,t),e=e.$$intercepted);var n=!1,r=function(r,i,o,a){var s=n&&a?a[0]:e(r,i,o,a);return t(s)};return r.$$intercepted=e,r.$$interceptor=t,r.literal=e.literal,r.oneTime=e.oneTime,r.constant=e.constant,t.$stateful||(n=!e.inputs,r.inputs=e.inputs?e.inputs:[e],t.$$pure||(r.inputs=r.inputs.map(function(e){return e.isPure===Cr?function(t){return e(t)}:e}))),p(r)}}]}function Mr(){var e=!0;this.$get=["$rootScope","$exceptionHandler",function(t,n){return Lr(function(e){t.$evalAsync(e)},n,e)}],this.errorOnUnhandledRejections=function(t){return L(t)?(e=t,this):e}}function zr(){var e=!0;this.$get=["$browser","$exceptionHandler",function(t,n){return Lr(function(e){t.defer(e)},n,e)}],this.errorOnUnhandledRejections=function(t){return L(t)?(e=t,this):e}}function Lr(e,t,n){var r=i("$q",TypeError),o=0,a=[];function s(){return new function(){var e=this.promise=new l;this.resolve=function(t){d(e,t)},this.reject=function(t){p(e,t)},this.notify=function(t){h(e,t)}}}function l(){this.$$state={status:0}}function c(){for(;!o&&a.length;){var e=a.shift();if(!qr(e)){Br(e);var n="Possibly unhandled rejection: "+Xe(e.value);W(e.value)?t(e.value,n):t(n)}}}function u(r){!n||r.pending||2!==r.status||qr(r)||(0===o&&0===a.length&&e(c),a.push(r)),!r.processScheduled&&r.pending&&(r.processScheduled=!0,++o,e(function(){!function(r){var i,a,s;s=r.pending,r.processScheduled=!1,r.pending=void 0;try{for(var l=0,u=s.length;l<u;++l){Br(r),a=s[l][0],i=s[l][r.status];try{G(i)?d(a,i(r.value)):1===r.status?d(a,r.value):p(a,r.value)}catch(e){p(a,e),e&&!0===e.$$passToExceptionHandler&&t(e)}}}finally{--o,n&&0===o&&e(c)}}(r)}))}function d(e,t){e.$$state.status||(t===e?f(e,r("qcycle","Expected promise to be resolved with value other than itself '{0}'",t)):function e(t,n){var r;var i=!1;try{(q(n)||G(n))&&(r=n.then),G(r)?(t.$$state.status=-1,r.call(n,function o(e){if(i)return;i=!0,function e(t,n){var r;var i=!1;try{(q(n)||G(n))&&(r=n.then),G(r)?(t.$$state.status=-1,r.call(n,o,a,function(e){h(t,e)})):(t.$$state.value=n,t.$$state.status=1,u(t.$$state))}catch(e){a(e)}function o(n){i||(i=!0,e(t,n))}function a(e){i||(i=!0,f(t,e))}}(t,e)},a,function(e){h(t,e)})):(t.$$state.value=n,t.$$state.status=1,u(t.$$state))}catch(e){a(e)}function o(n){i||(i=!0,e(t,n))}function a(e){i||(i=!0,f(t,e))}}(e,t))}function p(e,t){e.$$state.status||f(e,t)}function f(e,t){e.$$state.value=t,e.$$state.status=2,u(e.$$state)}function h(n,r){var i=n.$$state.pending;n.$$state.status<=0&&i&&i.length&&e(function(){for(var e,n,o=0,a=i.length;o<a;o++){n=i[o][0],e=i[o][3];try{h(n,G(e)?e(r):r)}catch(e){t(e)}}})}function g(e){var t=new l;return p(t,e),t}function m(e,t,n){var r=null;try{G(n)&&(r=n())}catch(e){return g(e)}return Q(r)?r.then(function(){return t(e)},g):t(e)}function v(e,t,n,r){var i=new l;return d(i,e),i.then(t,n,r)}A(l.prototype,{then:function(e,t,n){if(z(e)&&z(t)&&z(n))return this;var r=new l;return this.$$state.pending=this.$$state.pending||[],this.$$state.pending.push([r,e,t,n]),this.$$state.status>0&&u(this.$$state),r},catch:function(e){return this.then(null,e)},finally:function(e,t){return this.then(function(t){return m(t,b,e)},function(t){return m(t,g,e)},t)}});var b=v;function y(e){if(!G(e))throw r("norslvr","Expected resolverFn, got '{0}'",e);var t=new l;return e(function(e){d(t,e)},function(e){p(t,e)}),t}return y.prototype=l.prototype,y.defer=s,y.reject=g,y.when=v,y.resolve=b,y.all=function(e){var t=new l,n=0,r=H(e)?[]:{};return _(e,function(e,i){n++,v(e).then(function(e){r[i]=e,--n||d(t,r)},function(e){p(t,e)})}),0===n&&d(t,r),t},y.race=function(e){var t=s();return _(e,function(e){v(e).then(t.resolve,t.reject)}),t.promise},y}function qr(e){return!!e.pur}function Br(e){e.pur=!0}function Vr(e){Br(e.$$state)}function Fr(){this.$get=["$window","$timeout",function(e,t){var n=e.requestAnimationFrame||e.webkitRequestAnimationFrame,r=e.cancelAnimationFrame||e.webkitCancelAnimationFrame||e.webkitCancelRequestAnimationFrame,i=!!n,o=i?function(e){var t=n(e);return function(){r(t)}}:function(e){var n=t(e,16.66,!1);return function(){t.cancel(n)}};return o.supported=i,o}]}function Ur(){var e=10,t=i("$rootScope"),n=null,r=null;this.digestTtl=function(t){return arguments.length&&(e=t),e},this.$get=["$exceptionHandler","$parse","$browser",function(i,a,s){function l(e){e.currentScope.$$destroyed=!0}function c(){this.$id=S(),this.$$phase=this.$parent=this.$$watchers=this.$$nextSibling=this.$$prevSibling=this.$$childHead=this.$$childTail=null,this.$root=this,this.$$destroyed=!1,this.$$suspended=!1,this.$$listeners={},this.$$listenerCount={},this.$$watchersCount=0,this.$$isolateBindings=null}c.prototype={constructor:c,$new:function(e,t){var n;return t=t||this,e?(n=new c).$root=this.$root:(this.$$ChildScope||(this.$$ChildScope=function(e){function t(){this.$$watchers=this.$$nextSibling=this.$$childHead=this.$$childTail=null,this.$$listeners={},this.$$listenerCount={},this.$$watchersCount=0,this.$id=S(),this.$$ChildScope=null,this.$$suspended=!1}return t.prototype=e,t}(this)),n=new this.$$ChildScope),n.$parent=t,n.$$prevSibling=t.$$childTail,t.$$childHead?(t.$$childTail.$$nextSibling=n,t.$$childTail=n):t.$$childHead=t.$$childTail=n,(e||t!==this)&&n.$on("$destroy",l),n},$watch:function(e,t,r,i){var o=a(e),s=G(t)?t:D;if(o.$$watchDelegate)return o.$$watchDelegate(this,s,r,o,e);var l=this,c=l.$$watchers,u={fn:s,last:x,get:o,exp:i||e,eq:!!r};return n=null,c||((c=l.$$watchers=[]).$$digestWatchIndex=-1),c.unshift(u),c.$$digestWatchIndex++,b(this,1),function(){var e=oe(c,u);e>=0&&(b(l,-1),e<c.$$digestWatchIndex&&c.$$digestWatchIndex--),n=null}},$watchGroup:function(e,t){var n=new Array(e.length),r=new Array(e.length),i=[],o=this,a=!1,s=!0;if(!e.length){var l=!0;return o.$evalAsync(function(){l&&t(r,r,o)}),function(){l=!1}}if(1===e.length)return this.$watch(e[0],function(e,i,o){r[0]=e,n[0]=i,t(r,e===i?r:n,o)});function c(){a=!1;try{s?(s=!1,t(r,r,o)):t(r,n,o)}finally{for(var i=0;i<e.length;i++)n[i]=r[i]}}return _(e,function(e,t){var n=o.$watch(e,function(e){r[t]=e,a||(a=!0,o.$evalAsync(c))});i.push(n)}),function(){for(;i.length;)i.shift()()}},$watchCollection:function(e,t){g.$$pure=a(e).literal,g.$stateful=!g.$$pure;var n,r,i,o=this,s=t.length>1,l=0,c=a(e,g),u=[],p={},f=!0,h=0;function g(e){var t,i,o,a;if(!z(n=e)){if(q(n))if(k(n)){r!==u&&(h=(r=u).length=0,l++),t=n.length,h!==t&&(l++,r.length=h=t);for(var s=0;s<t;s++)a=r[s],o=n[s],a!=a&&o!=o||a===o||(l++,r[s]=o)}else{for(i in r!==p&&(r=p={},h=0,l++),t=0,n)d.call(n,i)&&(t++,o=n[i],a=r[i],i in r?a!=a&&o!=o||a===o||(l++,r[i]=o):(h++,r[i]=o,l++));if(h>t)for(i in l++,r)d.call(n,i)||(h--,delete r[i])}else r!==n&&(r=n,l++);return l}}return this.$watch(c,function(){if(f?(f=!1,t(n,n,o)):t(n,i,o),s)if(q(n))if(k(n)){i=new Array(n.length);for(var e=0;e<n.length;e++)i[e]=n[e]}else for(var r in i={},n)d.call(n,r)&&(i[r]=n[r]);else i=n})},$digest:function(){var o,a,l,c,d,h,b,y,k,_=e,$=p.length?u:this,E=[];m("$digest"),s.$$checkUrlChange(),this===u&&null!==r&&(s.defer.cancel(r),w()),n=null;do{d=!1,b=$;for(var S=0;S<p.length;S++){try{(0,(k=p[S]).fn)(k.scope,k.locals)}catch(e){i(e)}n=null}p.length=0;e:do{if(c=!b.$$suspended&&b.$$watchers)for(c.$$digestWatchIndex=c.length;c.$$digestWatchIndex--;)try{if(o=c[c.$$digestWatchIndex])if((a=(0,o.get)(b))===(l=o.last)||(o.eq?le(a,l):R(a)&&R(l))){if(o===n){d=!1;break e}}else d=!0,n=o,o.last=o.eq?ae(a,null):a,(0,o.fn)(a,l===x?a:l,b),_<5&&(E[y=4-_]||(E[y]=[]),E[y].push({msg:G(o.exp)?"fn: "+(o.exp.name||o.exp.toString()):o.exp,newVal:a,oldVal:l}))}catch(e){i(e)}if(!(h=!b.$$suspended&&b.$$watchersCount&&b.$$childHead||b!==$&&b.$$nextSibling))for(;b!==$&&!(h=b.$$nextSibling);)b=b.$parent}while(b=h);if((d||p.length)&&!_--)throw v(),t("infdig","{0} $digest() iterations reached. Aborting!\nWatchers fired in the last 5 iterations: {1}",e,E)}while(d||p.length);for(v();g<f.length;)try{f[g++]()}catch(e){i(e)}f.length=g=0,s.$$checkUrlChange()},$suspend:function(){this.$$suspended=!0},$isSuspended:function(){return this.$$suspended},$resume:function(){this.$$suspended=!1},$destroy:function(){if(!this.$$destroyed){var e=this.$parent;for(var t in this.$broadcast("$destroy"),this.$$destroyed=!0,this===u&&s.$$applicationDestroyed(),b(this,-this.$$watchersCount),this.$$listenerCount)y(this,this.$$listenerCount[t],t);e&&e.$$childHead===this&&(e.$$childHead=this.$$nextSibling),e&&e.$$childTail===this&&(e.$$childTail=this.$$prevSibling),this.$$prevSibling&&(this.$$prevSibling.$$nextSibling=this.$$nextSibling),this.$$nextSibling&&(this.$$nextSibling.$$prevSibling=this.$$prevSibling),this.$destroy=this.$digest=this.$apply=this.$evalAsync=this.$applyAsync=D,this.$on=this.$watch=this.$watchGroup=function(){return D},this.$$listeners={},this.$$nextSibling=null,function e(t){9===o&&(t.$$childHead&&e(t.$$childHead),t.$$nextSibling&&e(t.$$nextSibling)),t.$parent=t.$$nextSibling=t.$$prevSibling=t.$$childHead=t.$$childTail=t.$root=t.$$watchers=null}(this)}},$eval:function(e,t){return a(e)(this,t)},$evalAsync:function(e,t){u.$$phase||p.length||s.defer(function(){p.length&&u.$digest()}),p.push({scope:this,fn:a(e),locals:t})},$$postDigest:function(e){f.push(e)},$apply:function(e){try{m("$apply");try{return this.$eval(e)}finally{v()}}catch(e){i(e)}finally{try{u.$digest()}catch(e){throw i(e),e}}},$applyAsync:function(e){var t=this;e&&h.push(function(){t.$eval(e)}),e=a(e),null===r&&(r=s.defer(function(){u.$apply(w)}))},$on:function(e,t){var n=this.$$listeners[e];n||(this.$$listeners[e]=n=[]),n.push(t);var r=this;do{r.$$listenerCount[e]||(r.$$listenerCount[e]=0),r.$$listenerCount[e]++}while(r=r.$parent);var i=this;return function(){var r=n.indexOf(t);-1!==r&&(delete n[r],y(i,1,e))}},$emit:function(e,t){var n,r,o,a=[],s=this,l=!1,c={name:e,targetScope:s,stopPropagation:function(){l=!0},preventDefault:function(){c.defaultPrevented=!0},defaultPrevented:!1},u=de([c],arguments,1);do{for(n=s.$$listeners[e]||a,c.currentScope=s,r=0,o=n.length;r<o;r++)if(n[r])try{n[r].apply(null,u)}catch(e){i(e)}else n.splice(r,1),r--,o--;if(l)break;s=s.$parent}while(s);return c.currentScope=null,c},$broadcast:function(e,t){var n=this,r=this,o={name:e,targetScope:this,preventDefault:function(){o.defaultPrevented=!0},defaultPrevented:!1};if(!this.$$listenerCount[e])return o;for(var a,s,l,c=de([o],arguments,1);n=r;){for(o.currentScope=n,s=0,l=(a=n.$$listeners[e]||[]).length;s<l;s++)if(a[s])try{a[s].apply(null,c)}catch(e){i(e)}else a.splice(s,1),s--,l--;if(!(r=n.$$listenerCount[e]&&n.$$childHead||n!==this&&n.$$nextSibling))for(;n!==this&&!(r=n.$$nextSibling);)n=n.$parent}return o.currentScope=null,o}};var u=new c,p=u.$$asyncQueue=[],f=u.$$postDigestQueue=[],h=u.$$applyAsyncQueue=[],g=0;return u;function m(e){if(u.$$phase)throw t("inprog","{0} already in progress",u.$$phase);u.$$phase=e}function v(){u.$$phase=null}function b(e,t){do{e.$$watchersCount+=t}while(e=e.$parent)}function y(e,t,n){do{e.$$listenerCount[n]-=t,0===e.$$listenerCount[n]&&delete e.$$listenerCount[n]}while(e=e.$parent)}function x(){}function w(){for(;h.length;)try{h.shift()()}catch(e){i(e)}r=null}}]}function Hr(){var e=/^\s*(https?|s?ftp|mailto|tel|file):/,t=/^\s*((https?|ftp|file|blob):|data:image\/)/;this.aHrefSanitizationWhitelist=function(t){return L(t)?(e=t,this):e},this.imgSrcSanitizationWhitelist=function(e){return L(e)?(t=e,this):t},this.$get=function(){return function(n,r){var i=r?t:e,o=li(n&&n.trim()).href;return""===o||o.match(i)?n:"unsafe:"+o}}}Rr.prototype={compile:function(e){var t=this;this.state={nextId:0,filters:{},fn:{vars:[],body:[],own:{}},assign:{vars:[],body:[],own:{}},inputs:[]},Tr(e,t.$filter);var n,r="";if(this.stage="assign",n=Or(e)){this.state.computing="assign";var i=this.nextId();this.recurse(n,i),this.return_(i),r="fn.assign="+this.generateFunction("assign","s,v,l")}var o=Ar(e.body);t.stage="inputs",_(o,function(e,n){var r="fn"+n;t.state[r]={vars:[],body:[],own:{}},t.state.computing=r;var i=t.nextId();t.recurse(e,i),t.return_(i),t.state.inputs.push({name:r,isPure:e.isPure}),e.watchId=n}),this.state.computing="fn",this.stage="main",this.recurse(e);var a='"'+this.USE+" "+this.STRICT+'";\n'+this.filterPrefix()+"var fn="+this.generateFunction("fn","s,l,a,i")+r+this.watchFns()+"return fn;",s=new Function("$filter","getStringValue","ifDefined","plus",a)(this.$filter,yr,$r,Er);return this.state=this.stage=void 0,s},USE:"use",STRICT:"strict",watchFns:function(){var e=[],t=this.state.inputs,n=this;return _(t,function(t){e.push("var "+t.name+"="+n.generateFunction(t.name,"s")),t.isPure&&e.push(t.name,".isPure="+JSON.stringify(t.isPure)+";")}),t.length&&e.push("fn.inputs=["+t.map(function(e){return e.name}).join(",")+"];"),e.join("")},generateFunction:function(e,t){return"function("+t+"){"+this.varsPrefix(e)+this.body(e)+"};"},filterPrefix:function(){var e=[],t=this;return _(this.state.filters,function(n,r){e.push(n+"=$filter("+t.escape(r)+")")}),e.length?"var "+e.join(",")+";":""},varsPrefix:function(e){return this.state[e].vars.length?"var "+this.state[e].vars.join(",")+";":""},body:function(e){return this.state[e].body.join("")},recurse:function(e,t,n,r,i,o){var a,s,l,c,u,d=this;if(r=r||D,!o&&L(e.watchId))return t=t||this.nextId(),void this.if_("i",this.lazyAssign(t,this.computedMember("i",e.watchId)),this.lazyRecurse(e,t,n,r,i,!0));switch(e.type){case _r.Program:_(e.body,function(t,n){d.recurse(t.expression,void 0,void 0,function(e){s=e}),n!==e.body.length-1?d.current().body.push(s,";"):d.return_(s)});break;case _r.Literal:c=this.escape(e.value),this.assign(t,c),r(t||c);break;case _r.UnaryExpression:this.recurse(e.argument,void 0,void 0,function(e){s=e}),c=e.operator+"("+this.ifDefined(s,0)+")",this.assign(t,c),r(c);break;case _r.BinaryExpression:this.recurse(e.left,void 0,void 0,function(e){a=e}),this.recurse(e.right,void 0,void 0,function(e){s=e}),c="+"===e.operator?this.plus(a,s):"-"===e.operator?this.ifDefined(a,0)+e.operator+this.ifDefined(s,0):"("+a+")"+e.operator+"("+s+")",this.assign(t,c),r(c);break;case _r.LogicalExpression:t=t||this.nextId(),d.recurse(e.left,t),d.if_("&&"===e.operator?t:d.not(t),d.lazyRecurse(e.right,t)),r(t);break;case _r.ConditionalExpression:t=t||this.nextId(),d.recurse(e.test,t),d.if_(t,d.lazyRecurse(e.alternate,t),d.lazyRecurse(e.consequent,t)),r(t);break;case _r.Identifier:t=t||this.nextId(),n&&(n.context="inputs"===d.stage?"s":this.assign(this.nextId(),this.getHasOwnProperty("l",e.name)+"?l:s"),n.computed=!1,n.name=e.name),d.if_("inputs"===d.stage||d.not(d.getHasOwnProperty("l",e.name)),function(){d.if_("inputs"===d.stage||"s",function(){i&&1!==i&&d.if_(d.isNull(d.nonComputedMember("s",e.name)),d.lazyAssign(d.nonComputedMember("s",e.name),"{}")),d.assign(t,d.nonComputedMember("s",e.name))})},t&&d.lazyAssign(t,d.nonComputedMember("l",e.name))),r(t);break;case _r.MemberExpression:a=n&&(n.context=this.nextId())||this.nextId(),t=t||this.nextId(),d.recurse(e.object,a,void 0,function(){d.if_(d.notNull(a),function(){e.computed?(s=d.nextId(),d.recurse(e.property,s),d.getStringValue(s),i&&1!==i&&d.if_(d.not(d.computedMember(a,s)),d.lazyAssign(d.computedMember(a,s),"{}")),c=d.computedMember(a,s),d.assign(t,c),n&&(n.computed=!0,n.name=s)):(i&&1!==i&&d.if_(d.isNull(d.nonComputedMember(a,e.property.name)),d.lazyAssign(d.nonComputedMember(a,e.property.name),"{}")),c=d.nonComputedMember(a,e.property.name),d.assign(t,c),n&&(n.computed=!1,n.name=e.property.name))},function(){d.assign(t,"undefined")}),r(t)},!!i);break;case _r.CallExpression:t=t||this.nextId(),e.filter?(s=d.filter(e.callee.name),l=[],_(e.arguments,function(e){var t=d.nextId();d.recurse(e,t),l.push(t)}),c=s+"("+l.join(",")+")",d.assign(t,c),r(t)):(s=d.nextId(),a={},l=[],d.recurse(e.callee,s,a,function(){d.if_(d.notNull(s),function(){_(e.arguments,function(t){d.recurse(t,e.constant?void 0:d.nextId(),void 0,function(e){l.push(e)})}),c=a.name?d.member(a.context,a.name,a.computed)+"("+l.join(",")+")":s+"("+l.join(",")+")",d.assign(t,c)},function(){d.assign(t,"undefined")}),r(t)}));break;case _r.AssignmentExpression:s=this.nextId(),a={},this.recurse(e.left,void 0,a,function(){d.if_(d.notNull(a.context),function(){d.recurse(e.right,s),c=d.member(a.context,a.name,a.computed)+e.operator+s,d.assign(t,c),r(t||c)})},1);break;case _r.ArrayExpression:l=[],_(e.elements,function(t){d.recurse(t,e.constant?void 0:d.nextId(),void 0,function(e){l.push(e)})}),c="["+l.join(",")+"]",this.assign(t,c),r(t||c);break;case _r.ObjectExpression:l=[],u=!1,_(e.properties,function(e){e.computed&&(u=!0)}),u?(t=t||this.nextId(),this.assign(t,"{}"),_(e.properties,function(e){e.computed?(a=d.nextId(),d.recurse(e.key,a)):a=e.key.type===_r.Identifier?e.key.name:""+e.key.value,s=d.nextId(),d.recurse(e.value,s),d.assign(d.member(t,a,e.computed),s)})):(_(e.properties,function(t){d.recurse(t.value,e.constant?void 0:d.nextId(),void 0,function(e){l.push(d.escape(t.key.type===_r.Identifier?t.key.name:""+t.key.value)+":"+e)})}),c="{"+l.join(",")+"}",this.assign(t,c)),r(t||c);break;case _r.ThisExpression:this.assign(t,"s"),r(t||"s");break;case _r.LocalsExpression:this.assign(t,"l"),r(t||"l");break;case _r.NGValueParameter:this.assign(t,"v"),r(t||"v")}},getHasOwnProperty:function(e,t){var n=e+"."+t,r=this.current().own;return r.hasOwnProperty(n)||(r[n]=this.nextId(!1,e+"&&("+this.escape(t)+" in "+e+")")),r[n]},assign:function(e,t){if(e)return this.current().body.push(e,"=",t,";"),e},filter:function(e){return this.state.filters.hasOwnProperty(e)||(this.state.filters[e]=this.nextId(!0)),this.state.filters[e]},ifDefined:function(e,t){return"ifDefined("+e+","+this.escape(t)+")"},plus:function(e,t){return"plus("+e+","+t+")"},return_:function(e){this.current().body.push("return ",e,";")},if_:function(e,t,n){if(!0===e)t();else{var r=this.current().body;r.push("if(",e,"){"),t(),r.push("}"),n&&(r.push("else{"),n(),r.push("}"))}},not:function(e){return"!("+e+")"},isNull:function(e){return e+"==null"},notNull:function(e){return e+"!=null"},nonComputedMember:function(e,t){return/^[$_a-zA-Z][$_a-zA-Z0-9]*$/.test(t)?e+"."+t:e+'["'+t.replace(/[^$_a-zA-Z0-9]/g,this.stringEscapeFn)+'"]'},computedMember:function(e,t){return e+"["+t+"]"},member:function(e,t,n){return n?this.computedMember(e,t):this.nonComputedMember(e,t)},getStringValue:function(e){this.assign(e,"getStringValue("+e+")")},lazyRecurse:function(e,t,n,r,i,o){var a=this;return function(){a.recurse(e,t,n,r,i,o)}},lazyAssign:function(e,t){var n=this;return function(){n.assign(e,t)}},stringEscapeRegex:/[^ a-zA-Z0-9]/g,stringEscapeFn:function(e){return"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)},escape:function(e){if(V(e))return"'"+e.replace(this.stringEscapeRegex,this.stringEscapeFn)+"'";if(F(e))return e.toString();if(!0===e)return"true";if(!1===e)return"false";if(null===e)return"null";if(void 0===e)return"undefined";throw vr("esc","IMPOSSIBLE")},nextId:function(e,t){var n="v"+this.state.nextId++;return e||this.current().vars.push(n+(t?"="+t:"")),n},current:function(){return this.state[this.state.computing]}},jr.prototype={compile:function(e){var t,n,r=this;Tr(e,r.$filter),(t=Or(e))&&(n=this.recurse(t));var i,o=Ar(e.body);o&&(i=[],_(o,function(e,t){var n=r.recurse(e);n.isPure=e.isPure,e.input=n,i.push(n),e.watchId=t}));var a=[];_(e.body,function(e){a.push(r.recurse(e.expression))});var s=0===e.body.length?D:1===e.body.length?a[0]:function(e,t){var n;return _(a,function(r){n=r(e,t)}),n};return n&&(s.assign=function(e,t,r){return n(e,r,t)}),i&&(s.inputs=i),s},recurse:function(e,t,n){var r,i,o,a=this;if(e.input)return this.inputs(e.input,e.watchId);switch(e.type){case _r.Literal:return this.value(e.value,t);case _r.UnaryExpression:return i=this.recurse(e.argument),this["unary"+e.operator](i,t);case _r.BinaryExpression:case _r.LogicalExpression:return r=this.recurse(e.left),i=this.recurse(e.right),this["binary"+e.operator](r,i,t);case _r.ConditionalExpression:return this["ternary?:"](this.recurse(e.test),this.recurse(e.alternate),this.recurse(e.consequent),t);case _r.Identifier:return a.identifier(e.name,t,n);case _r.MemberExpression:return r=this.recurse(e.object,!1,!!n),e.computed||(i=e.property.name),e.computed&&(i=this.recurse(e.property)),e.computed?this.computedMember(r,i,t,n):this.nonComputedMember(r,i,t,n);case _r.CallExpression:return o=[],_(e.arguments,function(e){o.push(a.recurse(e))}),e.filter&&(i=this.$filter(e.callee.name)),e.filter||(i=this.recurse(e.callee,!0)),e.filter?function(e,n,r,a){for(var s=[],l=0;l<o.length;++l)s.push(o[l](e,n,r,a));var c=i.apply(void 0,s,a);return t?{context:void 0,name:void 0,value:c}:c}:function(e,n,r,a){var s,l=i(e,n,r,a);if(null!=l.value){for(var c=[],u=0;u<o.length;++u)c.push(o[u](e,n,r,a));s=l.value.apply(l.context,c)}return t?{value:s}:s};case _r.AssignmentExpression:return r=this.recurse(e.left,!0,1),i=this.recurse(e.right),function(e,n,o,a){var s=r(e,n,o,a),l=i(e,n,o,a);return s.context[s.name]=l,t?{value:l}:l};case _r.ArrayExpression:return o=[],_(e.elements,function(e){o.push(a.recurse(e))}),function(e,n,r,i){for(var a=[],s=0;s<o.length;++s)a.push(o[s](e,n,r,i));return t?{value:a}:a};case _r.ObjectExpression:return o=[],_(e.properties,function(e){e.computed?o.push({key:a.recurse(e.key),computed:!0,value:a.recurse(e.value)}):o.push({key:e.key.type===_r.Identifier?e.key.name:""+e.key.value,computed:!1,value:a.recurse(e.value)})}),function(e,n,r,i){for(var a={},s=0;s<o.length;++s)o[s].computed?a[o[s].key(e,n,r,i)]=o[s].value(e,n,r,i):a[o[s].key]=o[s].value(e,n,r,i);return t?{value:a}:a};case _r.ThisExpression:return function(e){return t?{value:e}:e};case _r.LocalsExpression:return function(e,n){return t?{value:n}:n};case _r.NGValueParameter:return function(e,n,r){return t?{value:r}:r}}},"unary+":function(e,t){return function(n,r,i,o){var a=e(n,r,i,o);return a=L(a)?+a:0,t?{value:a}:a}},"unary-":function(e,t){return function(n,r,i,o){var a=e(n,r,i,o);return a=L(a)?-a:-0,t?{value:a}:a}},"unary!":function(e,t){return function(n,r,i,o){var a=!e(n,r,i,o);return t?{value:a}:a}},"binary+":function(e,t,n){return function(r,i,o,a){var s=Er(e(r,i,o,a),t(r,i,o,a));return n?{value:s}:s}},"binary-":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a),l=t(r,i,o,a),c=(L(s)?s:0)-(L(l)?l:0);return n?{value:c}:c}},"binary*":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)*t(r,i,o,a);return n?{value:s}:s}},"binary/":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)/t(r,i,o,a);return n?{value:s}:s}},"binary%":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)%t(r,i,o,a);return n?{value:s}:s}},"binary===":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)===t(r,i,o,a);return n?{value:s}:s}},"binary!==":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)!==t(r,i,o,a);return n?{value:s}:s}},"binary==":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)==t(r,i,o,a);return n?{value:s}:s}},"binary!=":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)!=t(r,i,o,a);return n?{value:s}:s}},"binary<":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)<t(r,i,o,a);return n?{value:s}:s}},"binary>":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)>t(r,i,o,a);return n?{value:s}:s}},"binary<=":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)<=t(r,i,o,a);return n?{value:s}:s}},"binary>=":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)>=t(r,i,o,a);return n?{value:s}:s}},"binary&&":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)&&t(r,i,o,a);return n?{value:s}:s}},"binary||":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)||t(r,i,o,a);return n?{value:s}:s}},"ternary?:":function(e,t,n,r){return function(i,o,a,s){var l=e(i,o,a,s)?t(i,o,a,s):n(i,o,a,s);return r?{value:l}:l}},value:function(e,t){return function(){return t?{context:void 0,name:void 0,value:e}:e}},identifier:function(e,t,n){return function(r,i,o,a){var s=i&&e in i?i:r;n&&1!==n&&s&&null==s[e]&&(s[e]={});var l=s?s[e]:void 0;return t?{context:s,name:e,value:l}:l}},computedMember:function(e,t,n,r){return function(i,o,a,s){var l,c,u=e(i,o,a,s);return null!=u&&(l=yr(l=t(i,o,a,s)),r&&1!==r&&u&&!u[l]&&(u[l]={}),c=u[l]),n?{context:u,name:l,value:c}:c}},nonComputedMember:function(e,t,n,r){return function(i,o,a,s){var l=e(i,o,a,s);r&&1!==r&&l&&null==l[t]&&(l[t]={});var c=null!=l?l[t]:void 0;return n?{context:l,name:t,value:c}:c}},inputs:function(e,t){return function(n,r,i,o){return o?o[t]:e(n,r,i)}}},Dr.prototype={constructor:Dr,parse:function(e){var t=this.getAst(e),n=this.astCompiler.compile(t.ast);return n.literal=function(e){return 0===e.body.length||1===e.body.length&&(e.body[0].expression.type===_r.Literal||e.body[0].expression.type===_r.ArrayExpression||e.body[0].expression.type===_r.ObjectExpression)}(t.ast),n.constant=function(e){return e.constant}(t.ast),n.oneTime=t.oneTime,n},getAst:function(e){var t=!1;return":"===(e=e.trim()).charAt(0)&&":"===e.charAt(1)&&(t=!0,e=e.substring(2)),{ast:this.ast.ast(e),oneTime:t}}};var Wr=i("$sce"),Gr={HTML:"html",CSS:"css",MEDIA_URL:"mediaUrl",URL:"url",RESOURCE_URL:"resourceUrl",JS:"js"},Xr=/_([a-z])/g;function Yr(e){return e.replace(Xr,nt)}function Zr(e){var t=[];return L(e)&&_(e,function(e){t.push(function(e){if("self"===e)return e;if(V(e)){if(e.indexOf("***")>-1)throw Wr("iwcard","Illegal sequence *** in string matcher.  String: {0}",e);return e=te(e).replace(/\\\*\\\*/g,".*").replace(/\\\*/g,"[^:/.?&;]*"),new RegExp("^"+e+"$")}if(X(e))return new RegExp("^"+e.source+"$");throw Wr("imatcher",'Matchers may only be "self", string patterns or RegExp objects')}(e))}),t}function Kr(){this.SCE_CONTEXTS=Gr;var t=["self"],n=[];this.resourceUrlWhitelist=function(e){return arguments.length&&(t=Zr(e)),t},this.resourceUrlBlacklist=function(e){return arguments.length&&(n=Zr(e)),n},this.$get=["$injector","$$sanitizeUri",function(r,i){var o=function(e){throw Wr("unsafe","Attempting to use an unsafe value in a safe context.")};function a(t,n){return"self"===t?function(e){return ci(e,si)}(n)||function(t){return ci(t,function(){if(e.document.baseURI)return e.document.baseURI;oi||((oi=e.document.createElement("a")).href=".",oi=oi.cloneNode(!1));return oi.href}())}(n):!!t.exec(n.href)}function s(e){var t=function(e){this.$$unwrapTrustedValue=function(){return e}};return e&&(t.prototype=new e),t.prototype.valueOf=function(){return this.$$unwrapTrustedValue()},t.prototype.toString=function(){return this.$$unwrapTrustedValue().toString()},t}r.has("$sanitize")&&(o=r.get("$sanitize"));var l=s(),c={};return c[Gr.HTML]=s(l),c[Gr.CSS]=s(l),c[Gr.MEDIA_URL]=s(l),c[Gr.URL]=s(c[Gr.MEDIA_URL]),c[Gr.JS]=s(l),c[Gr.RESOURCE_URL]=s(c[Gr.URL]),{trustAs:function(e,t){var n=c.hasOwnProperty(e)?c[e]:null;if(!n)throw Wr("icontext","Attempted to trust a value in invalid context. Context: {0}; Value: {1}",e,t);if(null===t||z(t)||""===t)return t;if("string"!=typeof t)throw Wr("itype","Attempted to trust a non-string value in a content requiring a string: Context: {0}",e);return new n(t)},getTrusted:function(e,r){if(null===r||z(r)||""===r)return r;var s=c.hasOwnProperty(e)?c[e]:null;if(s&&r instanceof s)return r.$$unwrapTrustedValue();if(G(r.$$unwrapTrustedValue)&&(r=r.$$unwrapTrustedValue()),e===Gr.MEDIA_URL||e===Gr.URL)return i(r,e===Gr.MEDIA_URL);if(e===Gr.RESOURCE_URL){if(function(e){var r,i,o=li(e.toString()),s=!1;for(r=0,i=t.length;r<i;r++)if(a(t[r],o)){s=!0;break}if(s)for(r=0,i=n.length;r<i;r++)if(a(n[r],o)){s=!1;break}return s}(r))return r;throw Wr("insecurl","Blocked loading resource from url not allowed by $sceDelegate policy.  URL: {0}",r.toString())}if(e===Gr.HTML)return o(r);throw Wr("unsafe","Attempting to use an unsafe value in a safe context.")},valueOf:function(e){return e instanceof l?e.$$unwrapTrustedValue():e}}}]}function Qr(){var e=!0;this.enabled=function(t){return arguments.length&&(e=!!t),e},this.$get=["$parse","$sceDelegate",function(t,n){if(e&&o<8)throw Wr("iequirks","Strict Contextual Escaping does not support Internet Explorer version < 11 in quirks mode.  You can fix this by adding the text <!doctype html> to the top of your HTML document.  See http://docs.angularjs.org/api/ng.$sce for more information.");var r=Ge(Gr);r.isEnabled=function(){return e},r.trustAs=n.trustAs,r.getTrusted=n.getTrusted,r.valueOf=n.valueOf,e||(r.trustAs=r.getTrusted=function(e,t){return t},r.valueOf=I),r.parseAs=function(e,n){var i=t(n);return i.literal&&i.constant?i:t(n,function(t){return r.getTrusted(e,t)})};var i=r.parseAs,a=r.getTrusted,s=r.trustAs;return _(Gr,function(e,t){var n=p(t);r[Yr("parse_as_"+n)]=function(t){return i(e,t)},r[Yr("get_trusted_"+n)]=function(t){return a(e,t)},r[Yr("trust_as_"+n)]=function(t){return s(e,t)}}),r}]}function Jr(){this.$get=["$window","$document",function(e,t){var n={},r=!(!(e.nw&&e.nw.process)&&e.chrome&&(e.chrome.app&&e.chrome.app.runtime||!e.chrome.app&&e.chrome.runtime&&e.chrome.runtime.id))&&e.history&&e.history.pushState,i=O((/android (\d+)/.exec(p((e.navigator||{}).userAgent))||[])[1]),a=/Boxee/i.test((e.navigator||{}).userAgent),s=t[0]||{},l=s.body&&s.body.style,c=!1,u=!1;return l&&(c=!!("transition"in l||"webkitTransition"in l),u=!!("animation"in l||"webkitAnimation"in l)),{history:!(!r||i<4||a),hasEvent:function(e){if("input"===e&&o)return!1;if(z(n[e])){var t=s.createElement("div");n[e]="on"+e in t}return n[e]},csp:ce(),transitions:c,animations:u,android:i}}]}var ei=i("$templateRequest");function ti(){var e;this.httpOptions=function(t){return t?(e=t,this):e},this.$get=["$exceptionHandler","$templateCache","$http","$q","$sce",function(t,n,r,i,o){function a(s,l){a.totalPendingRequests++,V(s)&&!z(n.get(s))||(s=o.getTrustedResourceUrl(s));var c=r.defaults&&r.defaults.transformResponse;return H(c)?c=c.filter(function(e){return e!==Ln}):c===Ln&&(c=null),r.get(s,A({cache:n,transformResponse:c},e)).finally(function(){a.totalPendingRequests--}).then(function(e){return n.put(s,e.data)},function(e){l||(e=ei("tpload","Failed to load template: {0} (HTTP status: {1} {2})",s,e.status,e.statusText),t(e));return i.reject(e)})}return a.totalPendingRequests=0,a}]}function ni(){this.$get=["$rootScope","$browser","$location",function(e,t,n){var r={findBindings:function(e,t,n){var r=[];return _(e.getElementsByClassName("ng-binding"),function(e){var i=x.element(e).data("$binding");i&&_(i,function(i){n?new RegExp("(^|\\s)"+te(t)+"(\\s|\\||$)").test(i)&&r.push(e):-1!==i.indexOf(t)&&r.push(e)})}),r},findModels:function(e,t,n){for(var r=["ng-","data-ng-","ng\\:"],i=0;i<r.length;++i){var o="["+r[i]+"model"+(n?"=":"*=")+'"'+t+'"]',a=e.querySelectorAll(o);if(a.length)return a}},getLocation:function(){return n.url()},setLocation:function(t){t!==n.url()&&(n.url(t),e.$digest())},whenStable:function(e){t.notifyWhenNoOutstandingRequests(e)}};return r}]}var ri=i("$timeout");function ii(){this.$get=["$rootScope","$browser","$q","$$q","$exceptionHandler",function(e,t,n,r,i){var o={};function a(a,s,l){G(a)||(l=s,s=a,a=D);var c,u=pe(arguments,3),d=L(l)&&!l,p=(d?r:n).defer(),f=p.promise;return c=t.defer(function(){try{p.resolve(a.apply(null,u))}catch(e){p.reject(e),i(e)}finally{delete o[f.$$timeoutId]}d||e.$apply()},s),f.$$timeoutId=c,o[c]=p,f}return a.cancel=function(e){if(!e)return!1;if(!e.hasOwnProperty("$$timeoutId"))throw ri("badprom","`$timeout.cancel()` called with a promise that was not generated by `$timeout()`.");if(!o.hasOwnProperty(e.$$timeoutId))return!1;var n=e.$$timeoutId,r=o[n];return Vr(r.promise),r.reject("canceled"),delete o[n],t.defer.cancel(n)},a}]}var oi,ai=e.document.createElement("a"),si=li(e.location.href);function li(e){if(!V(e))return e;var t=e;return o&&(ai.setAttribute("href",t),t=ai.href),ai.setAttribute("href",t),{href:ai.href,protocol:ai.protocol?ai.protocol.replace(/:$/,""):"",host:ai.host,search:ai.search?ai.search.replace(/^\?/,""):"",hash:ai.hash?ai.hash.replace(/^#/,""):"",hostname:ai.hostname,port:ai.port,pathname:"/"===ai.pathname.charAt(0)?ai.pathname:"/"+ai.pathname}}function ci(e,t){return e=li(e),t=li(t),e.protocol===t.protocol&&e.host===t.host}function ui(){this.$get=N(e)}function di(e){var t=e[0]||{},n={},r="";function i(e){try{return decodeURIComponent(e)}catch(t){return e}}return function(){var e,o,a,s,l,c=function(e){try{return e.cookie||""}catch(e){return""}}(t);if(c!==r)for(e=(r=c).split("; "),n={},a=0;a<e.length;a++)(s=(o=e[a]).indexOf("="))>0&&(l=i(o.substring(0,s)),z(n[l])&&(n[l]=i(o.substring(s+1))));return n}}function pi(){this.$get=di}function fi(e){var t="Filter";function n(r,i){if(q(r)){var o={};return _(r,function(e,t){o[t]=n(t,e)}),o}return e.factory(r+t,i)}this.register=n,this.$get=["$injector",function(e){return function(n){return e.get(n+t)}}],n("currency",xi),n("date",Ri),n("filter",hi),n("json",ji),n("limitTo",Ni),n("lowercase",Di),n("number",wi),n("orderBy",zi),n("uppercase",Ii)}function hi(){return function(e,t,n,r){if(!k(e)){if(null==e)return e;throw i("filter")("notarray","Expected array but received: {0}",e)}var o,a;switch(r=r||"$",mi(t)){case"function":o=t;break;case"boolean":case"null":case"number":case"string":a=!0;case"object":o=function(e,t,n,r){var i=q(e)&&n in e;!0===t?t=le:G(t)||(t=function(e,t){return!z(e)&&(null===e||null===t?e===t:!(q(t)||q(e)&&!M(e))&&(e=p(""+e),t=p(""+t),-1!==e.indexOf(t)))});return function(o){return i&&!q(o)?gi(o,e[n],t,n,!1):gi(o,e,t,n,r)}}(t,n,r,a);break;default:return e}return Array.prototype.filter.call(e,o)}}function gi(e,t,n,r,i,o){var a=mi(e),s=mi(t);if("string"===s&&"!"===t.charAt(0))return!gi(e,t.substring(1),n,r,i);if(H(e))return e.some(function(e){return gi(e,t,n,r,i)});switch(a){case"object":var l;if(i){for(l in e)if(l.charAt&&"$"!==l.charAt(0)&&gi(e[l],t,n,r,!0))return!0;return!o&&gi(e,t,n,r,!1)}if("object"===s){for(l in t){var c=t[l];if(!G(c)&&!z(c)){var u=l===r;if(!gi(u?e:e[l],c,n,r,u,u))return!1}}return!0}return n(e,t);case"function":return!1;default:return n(e,t)}}function mi(e){return null===e?"null":typeof e}di.$inject=["$document"],fi.$inject=["$provide"];var vi=22,bi=".",yi="0";function xi(e){var t=e.NUMBER_FORMATS;return function(e,n,r){z(n)&&(n=t.CURRENCY_SYM),z(r)&&(r=t.PATTERNS[1].maxFrac);var i=n?/\u00A4/g:/\s*\u00A4\s*/g;return null==e?e:ki(e,t.PATTERNS[1],t.GROUP_SEP,t.DECIMAL_SEP,r).replace(i,n)}}function wi(e){var t=e.NUMBER_FORMATS;return function(e,n){return null==e?e:ki(e,t.PATTERNS[0],t.GROUP_SEP,t.DECIMAL_SEP,n)}}function ki(e,t,n,r,i){if(!V(e)&&!F(e)||isNaN(e))return"";var o,a=!isFinite(e),s=!1,l=Math.abs(e)+"",c="";if(a)c="∞";else{(function(e,t,n,r){var i=e.d,o=i.length-e.i,a=(t=z(t)?Math.min(Math.max(n,o),r):+t)+e.i,s=i[a];if(a>0){i.splice(Math.max(e.i,a));for(var l=a;l<i.length;l++)i[l]=0}else{o=Math.max(0,o),e.i=1,i.length=Math.max(1,a=t+1),i[0]=0;for(var c=1;c<a;c++)i[c]=0}if(s>=5)if(a-1<0){for(var u=0;u>a;u--)i.unshift(0),e.i++;i.unshift(1),e.i++}else i[a-1]++;for(;o<Math.max(0,t);o++)i.push(0);var d=i.reduceRight(function(e,t,n,r){return t+=e,r[n]=t%10,Math.floor(t/10)},0);d&&(i.unshift(d),e.i++)})(o=function(e){var t,n,r,i,o,a=0;for((n=e.indexOf(bi))>-1&&(e=e.replace(bi,"")),(r=e.search(/e/i))>0?(n<0&&(n=r),n+=+e.slice(r+1),e=e.substring(0,r)):n<0&&(n=e.length),r=0;e.charAt(r)===yi;r++);if(r===(o=e.length))t=[0],n=1;else{for(o--;e.charAt(o)===yi;)o--;for(n-=r,t=[],i=0;r<=o;r++,i++)t[i]=+e.charAt(r)}return n>vi&&(t=t.splice(0,vi-1),a=n-1,n=1),{d:t,e:a,i:n}}(l),i,t.minFrac,t.maxFrac);var u=o.d,d=o.i,p=o.e,f=[];for(s=u.reduce(function(e,t){return e&&!t},!0);d<0;)u.unshift(0),d++;d>0?f=u.splice(d,u.length):(f=u,u=[0]);var h=[];for(u.length>=t.lgSize&&h.unshift(u.splice(-t.lgSize,u.length).join(""));u.length>t.gSize;)h.unshift(u.splice(-t.gSize,u.length).join(""));u.length&&h.unshift(u.join("")),c=h.join(n),f.length&&(c+=r+f.join("")),p&&(c+="e+"+p)}return e<0&&!s?t.negPre+c+t.negSuf:t.posPre+c+t.posSuf}function _i(e,t,n,r){var i="";for((e<0||r&&e<=0)&&(r?e=1-e:(e=-e,i="-")),e=""+e;e.length<t;)e=yi+e;return n&&(e=e.substr(e.length-t)),i+e}function $i(e,t,n,r,i){return n=n||0,function(o){var a=o["get"+e]();return(n>0||a>-n)&&(a+=n),0===a&&-12===n&&(a=12),_i(a,t,r,i)}}function Ei(e,t,n){return function(r,i){var o=r["get"+e]();return i[f((n?"STANDALONE":"")+(t?"SHORT":"")+e)][o]}}function Si(e){var t=new Date(e,0,1).getDay();return new Date(e,0,(t<=4?5:12)-t)}function Ci(e){return function(t){var n=Si(t.getFullYear()),r=+function(e){return new Date(e.getFullYear(),e.getMonth(),e.getDate()+(4-e.getDay()))}(t)-+n;return _i(1+Math.round(r/6048e5),e)}}function Ti(e,t){return e.getFullYear()<=0?t.ERAS[0]:t.ERAS[1]}xi.$inject=["$locale"],wi.$inject=["$locale"];var Ai={yyyy:$i("FullYear",4,0,!1,!0),yy:$i("FullYear",2,0,!0,!0),y:$i("FullYear",1,0,!1,!0),MMMM:Ei("Month"),MMM:Ei("Month",!0),MM:$i("Month",2,1),M:$i("Month",1,1),LLLL:Ei("Month",!1,!0),dd:$i("Date",2),d:$i("Date",1),HH:$i("Hours",2),H:$i("Hours",1),hh:$i("Hours",2,-12),h:$i("Hours",1,-12),mm:$i("Minutes",2),m:$i("Minutes",1),ss:$i("Seconds",2),s:$i("Seconds",1),sss:$i("Milliseconds",3),EEEE:Ei("Day"),EEE:Ei("Day",!0),a:function(e,t){return e.getHours()<12?t.AMPMS[0]:t.AMPMS[1]},Z:function(e,t,n){var r=-1*n,i=r>=0?"+":"";return i+=_i(Math[r>0?"floor":"ceil"](r/60),2)+_i(Math.abs(r%60),2)},ww:Ci(2),w:Ci(1),G:Ti,GG:Ti,GGG:Ti,GGGG:function(e,t){return e.getFullYear()<=0?t.ERANAMES[0]:t.ERANAMES[1]}},Pi=/((?:[^yMLdHhmsaZEwG']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|L+|d+|H+|h+|m+|s+|a|Z|G+|w+))([\s\S]*)/,Oi=/^-?\d+$/;function Ri(e){var t=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/;return function(n,r,i){var o,a,s="",l=[];if(r=r||"mediumDate",r=e.DATETIME_FORMATS[r]||r,V(n)&&(n=Oi.test(n)?O(n):function(e){var n;if(n=e.match(t)){var r=new Date(0),i=0,o=0,a=n[8]?r.setUTCFullYear:r.setFullYear,s=n[8]?r.setUTCHours:r.setHours;n[9]&&(i=O(n[9]+n[10]),o=O(n[9]+n[11])),a.call(r,O(n[1]),O(n[2])-1,O(n[3]));var l=O(n[4]||0)-i,c=O(n[5]||0)-o,u=O(n[6]||0),d=Math.round(1e3*parseFloat("0."+(n[7]||0)));return s.call(r,l,c,u,d),r}return e}(n)),F(n)&&(n=new Date(n)),!U(n)||!isFinite(n.getTime()))return n;for(;r;)(a=Pi.exec(r))?r=(l=de(l,a,1)).pop():(l.push(r),r=null);var c=n.getTimezoneOffset();return i&&(c=be(i,c),n=xe(n,i,!0)),_(l,function(t){o=Ai[t],s+=o?o(n,e.DATETIME_FORMATS,c):"''"===t?"'":t.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),s}}function ji(){return function(e,t){return z(t)&&(t=2),ge(e,t)}}Ri.$inject=["$locale"];var Di=N(p),Ii=N(f);function Ni(){return function(e,t,n){return t=Math.abs(Number(t))===1/0?Number(t):O(t),R(t)?e:(F(e)&&(e=e.toString()),k(e)?(n=(n=!n||isNaN(n)?0:O(n))<0?Math.max(0,e.length+n):n,t>=0?Mi(e,n,n+t):0===n?Mi(e,t,e.length):Mi(e,Math.max(0,n+t),n)):e)}}function Mi(e,t,n){return V(e)?e.slice(t,n):h.call(e,t,n)}function zi(e){return function(r,o,a,s){if(null==r)return r;if(!k(r))throw i("orderBy")("notarray","Expected array but received: {0}",r);H(o)||(o=[o]),0===o.length&&(o=["+"]);var l=function(t){return t.map(function(t){var n=1,r=I;if(G(t))r=t;else if(V(t)&&("+"!==t.charAt(0)&&"-"!==t.charAt(0)||(n="-"===t.charAt(0)?-1:1,t=t.substring(1)),""!==t&&(r=e(t)).constant)){var i=r();r=function(e){return e[i]}}return{get:r,descending:n}})}(o),c=a?-1:1,u=G(s)?s:n,d=Array.prototype.map.call(r,function(e,n){return{value:e,tieBreaker:{value:n,type:"number",index:n},predicateValues:l.map(function(r){return function(e,n){var r=typeof e;null===e?r="null":"object"===r&&(e=function(e){if(G(e.valueOf)&&t(e=e.valueOf()))return e;if(M(e)&&t(e=e.toString()))return e;return e}(e));return{value:e,type:r,index:n}}(r.get(e),n)})}});return d.sort(function(e,t){for(var r=0,i=l.length;r<i;r++){var o=u(e.predicateValues[r],t.predicateValues[r]);if(o)return o*l[r].descending*c}return(u(e.tieBreaker,t.tieBreaker)||n(e.tieBreaker,t.tieBreaker))*c}),r=d.map(function(e){return e.value})};function t(e){switch(typeof e){case"number":case"boolean":case"string":return!0;default:return!1}}function n(e,t){var n=0,r=e.type,i=t.type;if(r===i){var o=e.value,a=t.value;"string"===r?(o=o.toLowerCase(),a=a.toLowerCase()):"object"===r&&(q(o)&&(o=e.index),q(a)&&(a=t.index)),o!==a&&(n=o<a?-1:1)}else n="undefined"===r?1:"undefined"===i?-1:"null"===r?1:"null"===i?-1:r<i?-1:1;return n}}function Li(e){return G(e)&&(e={link:e}),e.restrict=e.restrict||"AC",N(e)}zi.$inject=["$parse"];var qi=N({restrict:"E",compile:function(e,t){if(!t.href&&!t.xlinkHref)return function(e,t){if("a"===t[0].nodeName.toLowerCase()){var n="[object SVGAnimatedString]"===v.call(t.prop("href"))?"xlink:href":"href";t.on("click",function(e){t.attr(n)||e.preventDefault()})}}}}),Bi={};_(Rt,function(e,t){if("multiple"!==e){var n=xn("ng-"+t),r=i;"checked"===e&&(r=function(e,t,r){r.ngModel!==r[n]&&i(e,0,r)}),Bi[n]=function(){return{restrict:"A",priority:100,link:r}}}function i(e,r,i){e.$watch(i[n],function(e){i.$set(t,!!e)})}}),_(Dt,function(e,t){Bi[t]=function(){return{priority:100,link:function(e,n,r){if("ngPattern"===t&&"/"===r.ngPattern.charAt(0)){var i=r.ngPattern.match(c);if(i)return void r.$set("ngPattern",new RegExp(i[1],i[2]))}e.$watch(r[t],function(e){r.$set(t,e)})}}}}),_(["src","srcset","href"],function(e){var t=xn("ng-"+e);Bi[t]=function(){return{priority:99,link:function(n,r,i){var a=e,s=e;"href"===e&&"[object SVGAnimatedString]"===v.call(r.prop("href"))&&(s="xlinkHref",i.$attr[s]="xlink:href",a=null),i.$observe(t,function(t){t?(i.$set(s,t),o&&a&&r.prop(a,i[s])):"href"===e&&i.$set(s,null)})}}}});var Vi={$addControl:D,$$renameControl:function(e,t){e.$name=t},$removeControl:D,$setValidity:D,$setDirty:D,$setPristine:D,$setSubmitted:D,$$setSubmitted:D},Fi="ng-pending";function Ui(e,t,n,r,i){this.$$controls=[],this.$error={},this.$$success={},this.$pending=void 0,this.$name=i(t.name||t.ngForm||"")(n),this.$dirty=!1,this.$pristine=!0,this.$valid=!0,this.$invalid=!1,this.$submitted=!1,this.$$parentForm=Vi,this.$$element=e,this.$$animate=r,Xi(this)}Ui.$inject=["$element","$attrs","$scope","$animate","$interpolate"],Ui.prototype={$rollbackViewValue:function(){_(this.$$controls,function(e){e.$rollbackViewValue()})},$commitViewValue:function(){_(this.$$controls,function(e){e.$commitViewValue()})},$addControl:function(e){ze(e.$name,"input"),this.$$controls.push(e),e.$name&&(this[e.$name]=e),e.$$parentForm=this},$$renameControl:function(e,t){var n=e.$name;this[n]===e&&delete this[n],this[t]=e,e.$name=t},$removeControl:function(e){e.$name&&this[e.$name]===e&&delete this[e.$name],_(this.$pending,function(t,n){this.$setValidity(n,null,e)},this),_(this.$error,function(t,n){this.$setValidity(n,null,e)},this),_(this.$$success,function(t,n){this.$setValidity(n,null,e)},this),oe(this.$$controls,e),e.$$parentForm=Vi},$setDirty:function(){this.$$animate.removeClass(this.$$element,Fo),this.$$animate.addClass(this.$$element,Uo),this.$dirty=!0,this.$pristine=!1,this.$$parentForm.$setDirty()},$setPristine:function(){this.$$animate.setClass(this.$$element,Fo,Uo+" ng-submitted"),this.$dirty=!1,this.$pristine=!0,this.$submitted=!1,_(this.$$controls,function(e){e.$setPristine()})},$setUntouched:function(){_(this.$$controls,function(e){e.$setUntouched()})},$setSubmitted:function(){for(var e=this;e.$$parentForm&&e.$$parentForm!==Vi;)e=e.$$parentForm;e.$$setSubmitted()},$$setSubmitted:function(){this.$$animate.addClass(this.$$element,"ng-submitted"),this.$submitted=!0,_(this.$$controls,function(e){e.$$setSubmitted&&e.$$setSubmitted()})}},Yi({clazz:Ui,set:function(e,t,n){var r=e[t];r?-1===r.indexOf(n)&&r.push(n):e[t]=[n]},unset:function(e,t,n){var r=e[t];r&&(oe(r,n),0===r.length&&delete e[t])}});var Hi=function(e){return["$timeout","$parse",function(t,n){return{name:"form",restrict:e?"EAC":"E",require:["form","^^?form"],controller:Ui,compile:function(n,i){n.addClass(Fo).addClass(Bo);var o=i.name?"name":!(!e||!i.ngForm)&&"ngForm";return{pre:function(e,n,i,a){var s=a[0];if(!("action"in i)){var l=function(t){e.$apply(function(){s.$commitViewValue(),s.$setSubmitted()}),t.preventDefault()};n[0].addEventListener("submit",l),n.on("$destroy",function(){t(function(){n[0].removeEventListener("submit",l)},0,!1)})}(a[1]||s.$$parentForm).$addControl(s);var c=o?r(s.$name):D;o&&(c(e,s),i.$observe(o,function(t){s.$name!==t&&(c(e,void 0),s.$$parentForm.$$renameControl(s,t),(c=r(s.$name))(e,s))})),n.on("$destroy",function(){s.$$parentForm.$removeControl(s),c(e,void 0),A(s,Vi)})}}}};function r(e){return""===e?n('this[""]').assign:n(e).assign||D}}]},Wi=Hi(),Gi=Hi(!0);function Xi(e){e.$$classCache={},e.$$classCache[Vo]=!(e.$$classCache[Bo]=e.$$element.hasClass(Bo))}function Yi(e){var t=e.clazz,n=e.set,r=e.unset;function i(e,t,n){n&&!e.$$classCache[t]?(e.$$animate.addClass(e.$$element,t),e.$$classCache[t]=!0):!n&&e.$$classCache[t]&&(e.$$animate.removeClass(e.$$element,t),e.$$classCache[t]=!1)}function o(e,t,n){t=t?"-"+De(t,"-"):"",i(e,Bo+t,!0===n),i(e,Vo+t,!1===n)}t.prototype.$setValidity=function(e,t,a){var s;z(t)?function(e,t,r,i){e[t]||(e[t]={});n(e[t],r,i)}(this,"$pending",e,a):function(e,t,n,i){e[t]&&r(e[t],n,i);Zi(e[t])&&(e[t]=void 0)}(this,"$pending",e,a),K(t)?t?(r(this.$error,e,a),n(this.$$success,e,a)):(n(this.$error,e,a),r(this.$$success,e,a)):(r(this.$error,e,a),r(this.$$success,e,a)),this.$pending?(i(this,Fi,!0),this.$valid=this.$invalid=void 0,o(this,"",null)):(i(this,Fi,!1),this.$valid=Zi(this.$error),this.$invalid=!this.$valid,o(this,"",this.$valid)),o(this,e,s=this.$pending&&this.$pending[e]?void 0:!this.$error[e]&&(!!this.$$success[e]||null)),this.$$parentForm.$setValidity(e,s,this)}}function Zi(e){if(e)for(var t in e)if(e.hasOwnProperty(t))return!1;return!0}var Ki=/^\d{4,}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+(?:[+-][0-2]\d:[0-5]\d|Z)$/,Qi=/^[a-z][a-z\d.+-]*:\/*(?:[^:@]+(?::[^@]+)?@)?(?:[^\s:/?#]+|\[[a-f\d:]+])(?::\d+)?(?:\/[^?#]*)?(?:\?[^#]*)?(?:#.*)?$/i,Ji=/^(?=.{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])?)*$/,eo=/^\s*(-|\+)?(\d+|(\d*(\.\d*)))([eE][+-]?\d+)?\s*$/,to=/^(\d{4,})-(\d{2})-(\d{2})$/,no=/^(\d{4,})-(\d\d)-(\d\d)T(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,ro=/^(\d{4,})-W(\d\d)$/,io=/^(\d{4,})-(\d\d)$/,oo=/^(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,ao="keydown wheel mousedown",so=qe();_("date,datetime-local,month,time,week".split(","),function(e){so[e]=!0});var lo={text:function(e,t,n,r,i,o){uo(e,t,n,r,i,o),co(r)},date:fo("date",to,po(to,["yyyy","MM","dd"]),"yyyy-MM-dd"),"datetime-local":fo("datetimelocal",no,po(no,["yyyy","MM","dd","HH","mm","ss","sss"]),"yyyy-MM-ddTHH:mm:ss.sss"),time:fo("time",oo,po(oo,["HH","mm","ss","sss"]),"HH:mm:ss.sss"),week:fo("week",ro,function(e,t){if(U(e))return e;if(V(e)){ro.lastIndex=0;var n=ro.exec(e);if(n){var r=+n[1],i=+n[2],o=0,a=0,s=0,l=0,c=Si(r),u=7*(i-1);return t&&(o=t.getHours(),a=t.getMinutes(),s=t.getSeconds(),l=t.getMilliseconds()),new Date(r,0,c.getDate()+u,o,a,s,l)}}return NaN},"yyyy-Www"),month:fo("month",io,po(io,["yyyy","MM"]),"yyyy-MM"),number:function(e,t,n,r,i,o){var a,s;ho(e,t,n,r,"number"),go(r),uo(e,t,n,r,i,o),(L(n.min)||n.ngMin)&&(r.$validators.min=function(e,t){return r.$isEmpty(t)||z(a)||t>=a},n.$observe("min",function(e){a=mo(e),r.$validate()}));(L(n.max)||n.ngMax)&&(r.$validators.max=function(e,t){return r.$isEmpty(t)||z(s)||t<=s},n.$observe("max",function(e){s=mo(e),r.$validate()}));if(L(n.step)||n.ngStep){var l;r.$validators.step=function(e,t){return r.$isEmpty(t)||z(l)||yo(t,a||0,l)},n.$observe("step",function(e){l=mo(e),r.$validate()})}},url:function(e,t,n,r,i,o){uo(e,t,n,r,i,o),co(r),r.$validators.url=function(e,t){var n=e||t;return r.$isEmpty(n)||Qi.test(n)}},email:function(e,t,n,r,i,o){uo(e,t,n,r,i,o),co(r),r.$validators.email=function(e,t){var n=e||t;return r.$isEmpty(n)||Ji.test(n)}},radio:function(e,t,n,r){var i=!n.ngTrim||"false"!==ee(n.ngTrim);z(n.name)&&t.attr("name",S());t.on("change",function(e){var o;t[0].checked&&(o=n.value,i&&(o=ee(o)),r.$setViewValue(o,e&&e.type))}),r.$render=function(){var e=n.value;i&&(e=ee(e)),t[0].checked=e===r.$viewValue},n.$observe("value",r.$render)},range:function(e,t,n,r,i,o){ho(e,t,n,r,"range"),go(r),uo(e,t,n,r,i,o);var a=r.$$hasNativeValidators&&"range"===t[0].type,s=a?0:void 0,l=a?100:void 0,c=a?1:void 0,u=t[0].validity,d=L(n.min),p=L(n.max),f=L(n.step),h=r.$render;r.$render=a&&L(u.rangeUnderflow)&&L(u.rangeOverflow)?function(){h(),r.$setViewValue(t.val())}:h,d&&(r.$validators.min=a?function(){return!0}:function(e,t){return r.$isEmpty(t)||z(s)||t>=s},g("min",function(e){if(s=mo(e),R(r.$modelValue))return;if(a){var n=t.val();s>n&&(n=s,t.val(n)),r.$setViewValue(n)}else r.$validate()}));p&&(r.$validators.max=a?function(){return!0}:function(e,t){return r.$isEmpty(t)||z(l)||t<=l},g("max",function(e){if(l=mo(e),R(r.$modelValue))return;if(a){var n=t.val();l<n&&(t.val(l),n=l<s?s:l),r.$setViewValue(n)}else r.$validate()}));f&&(r.$validators.step=a?function(){return!u.stepMismatch}:function(e,t){return r.$isEmpty(t)||z(c)||yo(t,s||0,c)},g("step",function(e){if(c=mo(e),R(r.$modelValue))return;a&&r.$viewValue!==t.val()?r.$setViewValue(t.val()):r.$validate()}));function g(e,r){t.attr(e,n[e]),n.$observe(e,r)}},checkbox:function(e,t,n,r,i,o,a,s){var l=xo(s,e,"ngTrueValue",n.ngTrueValue,!0),c=xo(s,e,"ngFalseValue",n.ngFalseValue,!1);t.on("change",function(e){r.$setViewValue(t[0].checked,e&&e.type)}),r.$render=function(){t[0].checked=r.$viewValue},r.$isEmpty=function(e){return!1===e},r.$formatters.push(function(e){return le(e,l)}),r.$parsers.push(function(e){return e?l:c})},hidden:D,button:D,submit:D,reset:D,file:D};function co(e){e.$formatters.push(function(t){return e.$isEmpty(t)?t:t.toString()})}function uo(e,t,n,r,i,o){var a,s=p(t[0].type);if(!i.android){var l=!1;t.on("compositionstart",function(){l=!0}),t.on("compositionupdate",function(e){(z(e.data)||""===e.data)&&(l=!1)}),t.on("compositionend",function(){l=!1,c()})}var c=function(e){if(a&&(o.defer.cancel(a),a=null),!l){var i=t.val(),c=e&&e.type;"password"===s||n.ngTrim&&"false"===n.ngTrim||(i=ee(i)),(r.$viewValue!==i||""===i&&r.$$hasNativeValidators)&&r.$setViewValue(i,c)}};if(i.hasEvent("input"))t.on("input",c);else{var d=function(e,t,n){a||(a=o.defer(function(){a=null,t&&t.value===n||c(e)}))};t.on("keydown",function(e){var t=e.keyCode;91===t||15<t&&t<19||37<=t&&t<=40||d(e,this,this.value)}),i.hasEvent("paste")&&t.on("paste cut drop",d)}t.on("change",c),so[s]&&r.$$hasNativeValidators&&s===n.type&&t.on(ao,function(e){if(!a){var t=this[u],n=t.badInput,r=t.typeMismatch;a=o.defer(function(){a=null,t.badInput===n&&t.typeMismatch===r||c(e)})}}),r.$render=function(){var e=r.$isEmpty(r.$viewValue)?"":r.$viewValue;t.val()!==e&&t.val(e)}}function po(e,t){return function(n,r){var i,o;if(U(n))return n;if(V(n)){if('"'===n.charAt(0)&&'"'===n.charAt(n.length-1)&&(n=n.substring(1,n.length-1)),Ki.test(n))return new Date(n);if(e.lastIndex=0,i=e.exec(n)){i.shift(),o=r?{yyyy:r.getFullYear(),MM:r.getMonth()+1,dd:r.getDate(),HH:r.getHours(),mm:r.getMinutes(),ss:r.getSeconds(),sss:r.getMilliseconds()/1e3}:{yyyy:1970,MM:1,dd:1,HH:0,mm:0,ss:0,sss:0},_(i,function(e,n){n<t.length&&(o[t[n]]=+e)});var a=new Date(o.yyyy,o.MM-1,o.dd,o.HH,o.mm,o.ss||0,1e3*o.sss||0);return o.yyyy<100&&a.setFullYear(o.yyyy),a}}return NaN}}function fo(e,t,n,r){return function(i,o,a,s,l,c,u){var d,p,f,h;(ho(i,o,a,s,e),uo(0,o,a,s,l,c),s.$parsers.push(function(n){return s.$isEmpty(n)?null:t.test(n)?v(n,d):void(s.$$parserName=e)}),s.$formatters.push(function(e){if(e&&!U(e))throw Ho("datefmt","Expected `{0}` to be a date",e);if(g(e)){d=e;var t=s.$options.getOption("timezone");return t&&(p=t,d=xe(d,t,!0)),u("date")(e,r,t)}return d=null,p=null,""}),L(a.min)||a.ngMin)&&(s.$validators.min=function(e){return!g(e)||z(f)||n(e)>=f},a.$observe("min",function(e){f=m(e),s.$validate()}));(L(a.max)||a.ngMax)&&(s.$validators.max=function(e){return!g(e)||z(h)||n(e)<=h},a.$observe("max",function(e){h=m(e),s.$validate()}));function g(e){return e&&!(e.getTime&&e.getTime()!=e.getTime())}function m(e){return L(e)&&!U(e)?v(e)||void 0:e}function v(e,t){var r=s.$options.getOption("timezone");p&&p!==r&&(t=ye(t,be(p)));var i=n(e,t);return!isNaN(i)&&r&&(i=xe(i,r)),i}}}function ho(e,t,n,r,i){var o=t[0];(r.$$hasNativeValidators=q(o.validity))&&r.$parsers.push(function(e){var n=t.prop(u)||{};if(!n.badInput&&!n.typeMismatch)return e;r.$$parserName=i})}function go(e){e.$parsers.push(function(t){return e.$isEmpty(t)?null:eo.test(t)?parseFloat(t):void(e.$$parserName="number")}),e.$formatters.push(function(t){if(!e.$isEmpty(t)){if(!F(t))throw Ho("numfmt","Expected `{0}` to be a number",t);t=t.toString()}return t})}function mo(e){return L(e)&&!F(e)&&(e=parseFloat(e)),R(e)?void 0:e}function vo(e){return(0|e)===e}function bo(e){var t=e.toString(),n=t.indexOf(".");if(-1===n){if(-1<e&&e<1){var r=/e-(\d+)$/.exec(t);if(r)return Number(r[1])}return 0}return t.length-n-1}function yo(e,t,n){var r=Number(e),i=!vo(r),o=!vo(t),a=!vo(n);if(i||o||a){var s=i?bo(r):0,l=o?bo(t):0,c=a?bo(n):0,u=Math.max(s,l,c),d=Math.pow(10,u);r*=d,t*=d,n*=d,i&&(r=Math.round(r)),o&&(t=Math.round(t)),a&&(n=Math.round(n))}return(r-t)%n==0}function xo(e,t,n,r,i){var o;if(L(r)){if(!(o=e(r)).constant)throw Ho("constexpr","Expected constant expression for `{0}`, but saw `{1}`.",n,r);return o(t)}return i}var wo=["$browser","$sniffer","$filter","$parse",function(e,t,n,r){return{restrict:"E",require:["?ngModel"],link:{pre:function(i,o,a,s){s[0]&&(lo[p(a.type)]||lo.text)(i,o,a,s[0],t,e,n,r)}}}}],ko=/^(true|false|\d+)$/,_o=function(){function e(e,t,n){var r=L(n)?n:9===o?"":null;e.prop("value",r),t.$set("value",n)}return{restrict:"A",priority:100,compile:function(t,n){return ko.test(n.ngValue)?function(t,n,r){e(n,r,t.$eval(r.ngValue))}:function(t,n,r){t.$watch(r.ngValue,function(t){e(n,r,t)})}}}},$o=["$compile",function(e){return{restrict:"AC",compile:function(t){return e.$$addBindingClass(t),function(t,n,r){e.$$addBindingInfo(n,r.ngBind),n=n[0],t.$watch(r.ngBind,function(e){n.textContent=Be(e)})}}}}],Eo=["$interpolate","$compile",function(e,t){return{compile:function(n){return t.$$addBindingClass(n),function(n,r,i){var o=e(r.attr(i.$attr.ngBindTemplate));t.$$addBindingInfo(r,o.expressions),r=r[0],i.$observe("ngBindTemplate",function(e){r.textContent=z(e)?"":e})}}}}],So=["$sce","$parse","$compile",function(e,t,n){return{restrict:"A",compile:function(r,i){var o=t(i.ngBindHtml),a=t(i.ngBindHtml,function(t){return e.valueOf(t)});return n.$$addBindingClass(r),function(t,r,i){n.$$addBindingInfo(r,i.ngBindHtml),t.$watch(a,function(){var n=o(t);r.html(e.getTrustedHtml(n)||"")})}}}}],Co=N({restrict:"A",require:"ngModel",link:function(e,t,n,r){r.$viewChangeListeners.push(function(){e.$eval(n.ngChange)})}});function To(e,t){var n;return e="ngClass"+e,["$parse",function(a){return{restrict:"AC",link:function(s,l,c){var u,d=l.data("$classCounts"),p=!0;function f(e,t){var n=[];return _(e,function(e){(t>0||d[e])&&(d[e]=(d[e]||0)+t,d[e]===+(t>0)&&n.push(e))}),n.join(" ")}d||(d=qe(),l.data("$classCounts",d)),"ngClass"!==e&&(n||(n=a("$index",function(e){return 1&e})),s.$watch(n,function(e){e===t?function(e){e=f(i(e),1),c.$addClass(e)}(u):function(e){e=f(i(e),-1),c.$removeClass(e)}(u);p=e})),s.$watch(a(c[e],o),function(e){p===t&&function(e,t){var n=i(e),o=i(t),a=r(n,o),s=r(o,n),l=f(a,-1),u=f(s,1);c.$addClass(u),c.$removeClass(l)}(u,e);u=e})}}}];function r(e,t){if(!e||!e.length)return[];if(!t||!t.length)return e;var n=[];e:for(var r=0;r<e.length;r++){for(var i=e[r],o=0;o<t.length;o++)if(i===t[o])continue e;n.push(i)}return n}function i(e){return e&&e.split(" ")}function o(e){var t=e;return H(e)?t=e.map(o).join(" "):q(e)&&(t=Object.keys(e).filter(function(t){return e[t]}).join(" ")),t}}var Ao=To("",!0),Po=To("Odd",0),Oo=To("Even",1),Ro=Li({compile:function(e,t){t.$set("ngCloak",void 0),e.removeClass("ng-cloak")}}),jo=[function(){return{restrict:"A",scope:!0,controller:"@",priority:500}}],Do={},Io={blur:!0,focus:!0};_("click dblclick mousedown mouseup mouseover mouseout mousemove mouseenter mouseleave keydown keyup keypress submit focus blur copy cut paste".split(" "),function(e){var t=xn("ng-"+e);Do[t]=["$parse","$rootScope",function(n,r){return{restrict:"A",compile:function(i,o){var a=n(o[t]);return function(t,n){n.on(e,function(n){var i=function(){a(t,{$event:n})};Io[e]&&r.$$phase?t.$evalAsync(i):t.$apply(i)})}}}}]});var No=["$animate","$compile",function(e,t){return{multiElement:!0,transclude:"element",priority:600,terminal:!0,restrict:"A",$$tlb:!0,link:function(n,r,i,o,a){var s,l,c;n.$watch(i.ngIf,function(n){n?l||a(function(n,o){l=o,n[n.length++]=t.$$createComment("end ngIf",i.ngIf),s={clone:n},e.enter(n,r.parent(),r)}):(c&&(c.remove(),c=null),l&&(l.$destroy(),l=null),s&&(c=Le(s.clone),e.leave(c).done(function(e){!1!==e&&(c=null)}),s=null))})}}}],Mo=["$templateRequest","$anchorScroll","$animate",function(e,t,n){return{restrict:"ECA",priority:400,terminal:!0,transclude:"element",controller:x.noop,compile:function(r,i){var o=i.ngInclude||i.src,a=i.onload||"",s=i.autoscroll;return function(r,i,l,c,u){var d,p,f,h=0,g=function(){p&&(p.remove(),p=null),d&&(d.$destroy(),d=null),f&&(n.leave(f).done(function(e){!1!==e&&(p=null)}),p=f,f=null)};r.$watch(o,function(o){var l=function(e){!1===e||!L(s)||s&&!r.$eval(s)||t()},p=++h;o?(e(o,!0).then(function(e){if(!r.$$destroyed&&p===h){var t=r.$new();c.template=e;var s=u(t,function(e){g(),n.enter(e,null,i).done(l)});f=s,(d=t).$emit("$includeContentLoaded",o),r.$eval(a)}},function(){r.$$destroyed||p===h&&(g(),r.$emit("$includeContentError",o))}),r.$emit("$includeContentRequested",o)):(g(),c.template=null)})}}}}],zo=["$compile",function(t){return{restrict:"ECA",priority:-400,require:"ngInclude",link:function(n,r,i,o){if(v.call(r[0]).match(/SVG/))return r.empty(),void t(dt(o.template,e.document).childNodes)(n,function(e){r.append(e)},{futureParentElement:r});r.html(o.template),t(r.contents())(n)}}}],Lo=Li({priority:450,compile:function(){return{pre:function(e,t,n){e.$eval(n.ngInit)}}}}),qo=function(){return{restrict:"A",priority:100,require:"ngModel",link:function(e,t,n,r){var i=n.ngList||", ",o="false"!==n.ngTrim,a=o?ee(i):i;r.$parsers.push(function(e){if(!z(e)){var t=[];return e&&_(e.split(a),function(e){e&&t.push(o?ee(e):e)}),t}}),r.$formatters.push(function(e){if(H(e))return e.join(i)}),r.$isEmpty=function(e){return!e||!e.length}}}},Bo="ng-valid",Vo="ng-invalid",Fo="ng-pristine",Uo="ng-dirty",Ho=i("ngModel");function Wo(e,t,n,r,i,o,a,s,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)(e),this.$$parentForm=Vi,this.$options=Go,this.$$updateEvents="",this.$$updateEventHandler=this.$$updateEventHandler.bind(this),this.$$parsedNgModel=i(n.ngModel),this.$$parsedNgModelAssign=this.$$parsedNgModel.assign,this.$$ngModelGet=this.$$parsedNgModel,this.$$ngModelSet=this.$$parsedNgModelAssign,this.$$pendingDebounce=null,this.$$parserValid=void 0,this.$$parserName="parse",this.$$currentValidationRunId=0,this.$$scope=e,this.$$rootScope=e.$root,this.$$attr=n,this.$$element=r,this.$$animate=o,this.$$timeout=a,this.$$parse=i,this.$$q=s,this.$$exceptionHandler=t,Xi(this),function(e){e.$$scope.$watch(function(t){var n=e.$$ngModelGet(t);return n===e.$modelValue||e.$modelValue!=e.$modelValue&&n!=n||e.$$setModelValue(n),n})}(this)}Wo.$inject=["$scope","$exceptionHandler","$attrs","$element","$parse","$animate","$timeout","$q","$interpolate"],Wo.prototype={$$initGetterSetters:function(){if(this.$options.getOption("getterSetter")){var e=this.$$parse(this.$$attr.ngModel+"()"),t=this.$$parse(this.$$attr.ngModel+"($$$p)");this.$$ngModelGet=function(t){var n=this.$$parsedNgModel(t);return G(n)&&(n=e(t)),n},this.$$ngModelSet=function(e,n){G(this.$$parsedNgModel(e))?t(e,{$$$p:n}):this.$$parsedNgModelAssign(e,n)}}else if(!this.$$parsedNgModel.assign)throw Ho("nonassign","Expression '{0}' is non-assignable. Element: {1}",this.$$attr.ngModel,we(this.$$element))},$render:D,$isEmpty:function(e){return z(e)||""===e||null===e||e!=e},$$updateEmptyClasses:function(e){this.$isEmpty(e)?(this.$$animate.removeClass(this.$$element,"ng-not-empty"),this.$$animate.addClass(this.$$element,"ng-empty")):(this.$$animate.removeClass(this.$$element,"ng-empty"),this.$$animate.addClass(this.$$element,"ng-not-empty"))},$setPristine:function(){this.$dirty=!1,this.$pristine=!0,this.$$animate.removeClass(this.$$element,Uo),this.$$animate.addClass(this.$$element,Fo)},$setDirty:function(){this.$dirty=!0,this.$pristine=!1,this.$$animate.removeClass(this.$$element,Fo),this.$$animate.addClass(this.$$element,Uo),this.$$parentForm.$setDirty()},$setUntouched:function(){this.$touched=!1,this.$untouched=!0,this.$$animate.setClass(this.$$element,"ng-untouched","ng-touched")},$setTouched:function(){this.$touched=!0,this.$untouched=!1,this.$$animate.setClass(this.$$element,"ng-touched","ng-untouched")},$rollbackViewValue:function(){this.$$timeout.cancel(this.$$pendingDebounce),this.$viewValue=this.$$lastCommittedViewValue,this.$render()},$validate:function(){if(!R(this.$modelValue)){var e=this.$$lastCommittedViewValue,t=this.$$rawModelValue,n=this.$valid,r=this.$modelValue,i=this.$options.getOption("allowInvalid"),o=this;this.$$runValidators(t,e,function(e){i||n===e||(o.$modelValue=e?t:void 0,o.$modelValue!==r&&o.$$writeModelToScope())})}},$$runValidators:function(e,t,n){this.$$currentValidationRunId++;var r=this.$$currentValidationRunId,i=this;function o(e,t){r===i.$$currentValidationRunId&&i.$setValidity(e,t)}function a(e){r===i.$$currentValidationRunId&&n(e)}!function(){var e=i.$$parserName;if(!z(i.$$parserValid))return i.$$parserValid||(_(i.$validators,function(e,t){o(t,null)}),_(i.$asyncValidators,function(e,t){o(t,null)})),o(e,i.$$parserValid),i.$$parserValid;o(e,null);return!0}()?a(!1):function(){var n=!0;if(_(i.$validators,function(r,i){var a=Boolean(r(e,t));n=n&&a,o(i,a)}),!n)return _(i.$asyncValidators,function(e,t){o(t,null)}),!1;return!0}()?function(){var n=[],r=!0;_(i.$asyncValidators,function(i,a){var s=i(e,t);if(!Q(s))throw Ho("nopromise","Expected asynchronous validator to return a promise but got '{0}' instead.",s);o(a,void 0),n.push(s.then(function(){o(a,!0)},function(){r=!1,o(a,!1)}))}),n.length?i.$$q.all(n).then(function(){a(r)},D):a(!0)}():a(!1)},$commitViewValue:function(){var e=this.$viewValue;this.$$timeout.cancel(this.$$pendingDebounce),(this.$$lastCommittedViewValue!==e||""===e&&this.$$hasNativeValidators)&&(this.$$updateEmptyClasses(e),this.$$lastCommittedViewValue=e,this.$pristine&&this.$setDirty(),this.$$parseAndValidate())},$$parseAndValidate:function(){var e=this.$$lastCommittedViewValue,t=this;if(this.$$parserValid=!z(e)||void 0,this.$setValidity(this.$$parserName,null),this.$$parserName="parse",this.$$parserValid)for(var n=0;n<this.$parsers.length;n++)if(z(e=this.$parsers[n](e))){this.$$parserValid=!1;break}R(this.$modelValue)&&(this.$modelValue=this.$$ngModelGet(this.$$scope));var r=this.$modelValue,i=this.$options.getOption("allowInvalid");function o(){t.$modelValue!==r&&t.$$writeModelToScope()}this.$$rawModelValue=e,i&&(this.$modelValue=e,o()),this.$$runValidators(e,this.$$lastCommittedViewValue,function(n){i||(t.$modelValue=n?e:void 0,o())})},$$writeModelToScope:function(){this.$$ngModelSet(this.$$scope,this.$modelValue),_(this.$viewChangeListeners,function(e){try{e()}catch(e){this.$$exceptionHandler(e)}},this)},$setViewValue:function(e,t){this.$viewValue=e,this.$options.getOption("updateOnDefault")&&this.$$debounceViewValueCommit(t)},$$debounceViewValueCommit:function(e){var t=this.$options.getOption("debounce");F(t[e])?t=t[e]:F(t.default)&&-1===this.$options.getOption("updateOn").indexOf(e)?t=t.default:F(t["*"])&&(t=t["*"]),this.$$timeout.cancel(this.$$pendingDebounce);var n=this;t>0?this.$$pendingDebounce=this.$$timeout(function(){n.$commitViewValue()},t):this.$$rootScope.$$phase?this.$commitViewValue():this.$$scope.$apply(function(){n.$commitViewValue()})},$overrideModelOptions:function(e){this.$options=this.$options.createChild(e),this.$$setUpdateOnEvents()},$processModelValue:function(){var e=this.$$format();this.$viewValue!==e&&(this.$$updateEmptyClasses(e),this.$viewValue=this.$$lastCommittedViewValue=e,this.$render(),this.$$runValidators(this.$modelValue,this.$viewValue,D))},$$format:function(){for(var e=this.$formatters,t=e.length,n=this.$modelValue;t--;)n=e[t](n);return n},$$setModelValue:function(e){this.$modelValue=this.$$rawModelValue=e,this.$$parserValid=void 0,this.$processModelValue()},$$setUpdateOnEvents:function(){this.$$updateEvents&&this.$$element.off(this.$$updateEvents,this.$$updateEventHandler),this.$$updateEvents=this.$options.getOption("updateOn"),this.$$updateEvents&&this.$$element.on(this.$$updateEvents,this.$$updateEventHandler)},$$updateEventHandler:function(e){this.$$debounceViewValueCommit(e&&e.type)}},Yi({clazz:Wo,set:function(e,t){e[t]=!0},unset:function(e,t){delete e[t]}});var Go,Xo=["$rootScope",function(e){return{restrict:"A",require:["ngModel","^?form","^?ngModelOptions"],controller:Wo,priority:1,compile:function(t){return t.addClass(Fo).addClass("ng-untouched").addClass(Bo),{pre:function(e,t,n,r){var i=r[0],o=r[1]||i.$$parentForm,a=r[2];a&&(i.$options=a.$options),i.$$initGetterSetters(),o.$addControl(i),n.$observe("name",function(e){i.$name!==e&&i.$$parentForm.$$renameControl(i,e)}),e.$on("$destroy",function(){i.$$parentForm.$removeControl(i)})},post:function(t,n,r,i){var o=i[0];function a(){o.$setTouched()}o.$$setUpdateOnEvents(),n.on("blur",function(){o.$touched||(e.$$phase?t.$evalAsync(a):t.$apply(a))})}}}}}],Yo=/(\s+|^)default(\s+|$)/;function Zo(e){this.$$options=e}Zo.prototype={getOption:function(e){return this.$$options[e]},createChild:function(e){var t=!1;return _(e=A({},e),function(n,r){"$inherit"===n?"*"===r?t=!0:(e[r]=this.$$options[r],"updateOn"===r&&(e.updateOnDefault=this.$$options.updateOnDefault)):"updateOn"===r&&(e.updateOnDefault=!1,e[r]=ee(n.replace(Yo,function(){return e.updateOnDefault=!0," "})))},this),t&&(delete e["*"],Qo(e,this.$$options)),Qo(e,Go.$$options),new Zo(e)}},Go=new Zo({updateOn:"",updateOnDefault:!0,debounce:0,getterSetter:!1,allowInvalid:!1,timezone:null});var Ko=function(){function e(e,t){this.$$attrs=e,this.$$scope=t}return e.$inject=["$attrs","$scope"],e.prototype={$onInit:function(){var e=this.parentCtrl?this.parentCtrl.$options:Go,t=this.$$scope.$eval(this.$$attrs.ngModelOptions);this.$options=e.createChild(t)}},{restrict:"A",priority:10,require:{parentCtrl:"?^^ngModelOptions"},bindToController:!0,controller:e}};function Qo(e,t){_(t,function(t,n){L(e[n])||(e[n]=t)})}var Jo=Li({terminal:!0,priority:1e3}),ea=i("ngOptions"),ta=/^\s*([\s\S]+?)(?:\s+as\s+([\s\S]+?))?(?:\s+group\s+by\s+([\s\S]+?))?(?:\s+disable\s+when\s+([\s\S]+?))?\s+for\s+(?:([$\w][$\w]*)|(?:\(\s*([$\w][$\w]*)\s*,\s*([$\w][$\w]*)\s*\)))\s+in\s+([\s\S]+?)(?:\s+track\s+by\s+([\s\S]+?))?$/,na=["$compile","$document","$parse",function(t,n,r){var i=e.document.createElement("option"),o=e.document.createElement("optgroup");return{restrict:"A",terminal:!0,require:["select","ngModel"],link:{pre:function(e,t,n,r){r[0].registerOption=D},post:function(e,s,l,c){for(var u=c[0],d=c[1],p=l.multiple,f=0,h=s.children(),g=h.length;f<g;f++)if(""===h[f].value){u.hasEmptyOption=!0,u.emptyOption=h.eq(f);break}s.empty();var m,v=!!u.emptyOption;a(i.cloneNode(!1)).val("?");var b=function(e,t,n){var i=e.match(ta);if(!i)throw ea("iexp","Expected expression in form of '_select_ (as _label_)? for (_key_,)?_value_ in _collection_' but got '{0}'. Element: {1}",e,we(t));var o=i[5]||i[7],a=i[6],s=/ as /.test(i[0])&&i[1],l=i[9],c=r(i[2]?i[1]:o),u=s&&r(s)||c,d=l&&r(l),p=l?function(e,t){return d(n,t)}:function(e){return Lt(e)},f=function(e,t){return p(e,y(e,t))},h=r(i[2]||i[1]),g=r(i[3]||""),m=r(i[4]||""),v=r(i[8]),b={},y=a?function(e,t){return b[a]=t,b[o]=e,b}:function(e){return b[o]=e,b};function x(e,t,n,r,i){this.selectValue=e,this.viewValue=t,this.label=n,this.group=r,this.disabled=i}function w(e){var t;if(!a&&k(e))t=e;else for(var n in t=[],e)e.hasOwnProperty(n)&&"$"!==n.charAt(0)&&t.push(n);return t}return{trackBy:l,getTrackByValue:f,getWatchables:r(v,function(e){for(var t=[],r=w(e=e||[]),o=r.length,a=0;a<o;a++){var s=e===r?a:r[a],l=e[s],c=y(l,s),u=p(l,c);if(t.push(u),i[2]||i[1]){var d=h(n,c);t.push(d)}if(i[4]){var f=m(n,c);t.push(f)}}return t}),getOptions:function(){for(var e=[],t={},r=v(n)||[],i=w(r),o=i.length,a=0;a<o;a++){var s=r===i?a:i[a],c=r[s],d=y(c,s),b=u(n,d),k=p(b,d),_=new x(k,b,h(n,d),g(n,d),m(n,d));e.push(_),t[k]=_}return{items:e,selectValueMap:t,getOptionFromViewValue:function(e){return t[f(e)]},getViewValueFromOption:function(e){return l?ae(e.viewValue):e.viewValue}}}}}(l.ngOptions,s,e),y=n[0].createDocumentFragment();function x(e,t){var n=i.cloneNode(!1);t.appendChild(n),function(e,t){e.element=t,t.disabled=e.disabled,e.label!==t.label&&(t.label=e.label,t.textContent=e.label),t.value=e.selectValue}(e,n)}function w(e){var t=m.getOptionFromViewValue(e),n=t&&t.element;return n&&!n.selected&&(n.selected=!0),t}u.generateUnknownOptionValue=function(e){return"?"},p?(u.writeValue=function(e){if(m){var t=e&&e.map(w)||[];m.items.forEach(function(e){e.element.selected&&!ie(t,e)&&(e.element.selected=!1)})}},u.readValue=function(){var e=[];return _(s.val()||[],function(t){var n=m.selectValueMap[t];n&&!n.disabled&&e.push(m.getViewValueFromOption(n))}),e},b.trackBy&&e.$watchCollection(function(){if(H(d.$viewValue))return d.$viewValue.map(function(e){return b.getTrackByValue(e)})},function(){d.$render()})):(u.writeValue=function(e){if(m){var t=s[0].options[s[0].selectedIndex],n=m.getOptionFromViewValue(e);t&&t.removeAttribute("selected"),n?(s[0].value!==n.selectValue&&(u.removeUnknownOption(),s[0].value=n.selectValue,n.element.selected=!0),n.element.setAttribute("selected","selected")):u.selectUnknownOrEmptyOption(e)}},u.readValue=function(){var e=m.selectValueMap[s.val()];return e&&!e.disabled?(u.unselectEmptyOption(),u.removeUnknownOption(),m.getViewValueFromOption(e)):null},b.trackBy&&e.$watch(function(){return b.getTrackByValue(d.$viewValue)},function(){d.$render()})),v&&(t(u.emptyOption)(e),s.prepend(u.emptyOption),u.emptyOption[0].nodeType===Ue?(u.hasEmptyOption=!1,u.registerOption=function(e,t){""===t.val()&&(u.hasEmptyOption=!0,u.emptyOption=t,u.emptyOption.removeClass("ng-scope"),d.$render(),t.on("$destroy",function(){var e=u.$isEmptyOptionSelected();u.hasEmptyOption=!1,u.emptyOption=void 0,e&&d.$render()}))}):u.emptyOption.removeClass("ng-scope")),e.$watchCollection(b.getWatchables,function(){var e=m&&u.readValue();if(m)for(var t=m.items.length-1;t>=0;t--){var n=m.items[t];L(n.group)?At(n.element.parentNode):At(n.element)}var r={};if((m=b.getOptions()).items.forEach(function(e){var t;L(e.group)?((t=r[e.group])||(t=o.cloneNode(!1),y.appendChild(t),t.label=null===e.group?"null":e.group,r[e.group]=t),x(e,t)):x(e,y)}),s[0].appendChild(y),d.$render(),!d.$isEmpty(e)){var i=u.readValue(),a=b.trackBy||p;(a?le(e,i):e===i)||(d.$setViewValue(i),d.$render())}})}}}}],ra=["$locale","$interpolate","$log",function(e,t,n){var r=/{}/g,i=/^when(Minus)?(.+)$/;return{link:function(o,a,s){var l,c=s.count,u=s.$attr.when&&a.attr(s.$attr.when),d=s.offset||0,f=o.$eval(u)||{},h={},g=t.startSymbol(),m=t.endSymbol(),v=g+c+"-"+d+m,b=x.noop;function y(e){a.text(e||"")}_(s,function(e,t){var n=i.exec(t);if(n){var r=(n[1]?"-":"")+p(n[2]);f[r]=a.attr(s.$attr[t])}}),_(f,function(e,n){h[n]=t(e.replace(r,v))}),o.$watch(c,function(t){var r=parseFloat(t),i=R(r);if(i||r in f||(r=e.pluralCat(r-d)),!(r===l||i&&R(l))){b();var a=h[r];z(a)?(null!=t&&n.debug("ngPluralize: no rule defined for '"+r+"' in "+u),b=D,y()):b=o.$watch(a,y),l=r}})}}}],ia=i("ngRef"),oa=["$parse",function(e){return{priority:-1,restrict:"A",compile:function(t,n){var r=xn(re(t)),i=e(n.ngRef),o=i.assign||function(){throw ia("nonassign",'Expression in ngRef="{0}" is non-assignable!',n.ngRef)};return function(e,t,a){var s;if(a.hasOwnProperty("ngRefRead")){if("$element"===a.ngRefRead)s=t;else if(!(s=t.data("$"+a.ngRefRead+"Controller")))throw ia("noctrl",'The controller for ngRefRead="{0}" could not be found on ngRef="{1}"',a.ngRefRead,n.ngRef)}else s=t.data("$"+r+"Controller");o(e,s=s||t),t.on("$destroy",function(){i(e)===s&&o(e,null)})}}}}],aa=["$parse","$animate","$compile",function(e,t,n){var r=i("ngRepeat"),o=function(e,t,n,r,i,o,a){e[n]=r,i&&(e[i]=o),e.$index=t,e.$first=0===t,e.$last=t===a-1,e.$middle=!(e.$first||e.$last),e.$odd=!(e.$even=0==(1&t))},a=function(e){return e.clone[0]},s=function(e){return e.clone[e.clone.length-1]};return{restrict:"A",multiElement:!0,transclude:"element",priority:1e3,terminal:!0,$$tlb:!0,compile:function(i,l){var c=l.ngRepeat,u=n.$$createComment("end ngRepeat",c),p=c.match(/^\s*([\s\S]+?)\s+in\s+([\s\S]+?)(?:\s+as\s+([\s\S]+?))?(?:\s+track\s+by\s+([\s\S]+?))?\s*$/);if(!p)throw r("iexp","Expected expression in form of '_item_ in _collection_[ track by _id_]' but got '{0}'.",c);var f=p[1],h=p[2],g=p[3],m=p[4];if(!(p=f.match(/^(?:(\s*[$\w]+)|\(\s*([$\w]+)\s*,\s*([$\w]+)\s*\))$/)))throw r("iidexp","'_item_' in '_item_ in _collection_' should be an identifier or '(_key_, _value_)' expression, but got '{0}'.",f);var v,b,y,x,w=p[3]||p[1],$=p[2];if(g&&(!/^[$a-zA-Z_][$a-zA-Z0-9_]*$/.test(g)||/^(null|undefined|this|\$index|\$first|\$middle|\$last|\$even|\$odd|\$parent|\$root|\$id)$/.test(g)))throw r("badident","alias '{0}' is invalid --- must be a valid JS identifier which is not a reserved name.",g);var E={$id:Lt};return m?v=e(m):(y=function(e,t){return Lt(t)},x=function(e){return e}),function(e,n,i,l,p){v&&(b=function(t,n,r){return $&&(E[$]=t),E[w]=n,E.$index=r,v(e,E)});var f=qe();e.$watchCollection(h,function(i){var l,h,m,v,E,S,C,T,A,P,O,R,j=n[0],D=qe();if(g&&(e[g]=i),k(i))A=i,T=b||y;else for(var I in T=b||x,A=[],i)d.call(i,I)&&"$"!==I.charAt(0)&&A.push(I);for(v=A.length,O=new Array(v),l=0;l<v;l++)if(E=i===A?l:A[l],S=i[E],C=T(E,S,l),f[C])P=f[C],delete f[C],D[C]=P,O[l]=P;else{if(D[C])throw _(O,function(e){e&&e.scope&&(f[e.id]=e)}),r("dupes","Duplicates in a repeater are not allowed. Use 'track by' expression to specify unique keys. Repeater: {0}, Duplicate key: {1}, Duplicate value: {2}",c,C,S);O[l]={id:C,scope:void 0,clone:void 0},D[C]=!0}for(var N in f){if(R=Le((P=f[N]).clone),t.leave(R),R[0].parentNode)for(l=0,h=R.length;l<h;l++)R[l].$$NG_REMOVED=!0;P.scope.$destroy()}for(l=0;l<v;l++)if(E=i===A?l:A[l],S=i[E],(P=O[l]).scope){m=j;do{m=m.nextSibling}while(m&&m.$$NG_REMOVED);a(P)!==m&&t.move(Le(P.clone),null,j),j=s(P),o(P.scope,l,w,S,$,E,v)}else p(function(e,n){P.scope=n;var r=u.cloneNode(!1);e[e.length++]=r,t.enter(e,null,j),j=r,P.clone=e,D[P.id]=P,o(P.scope,l,w,S,$,E,v)});f=D})}}}}],sa=["$animate",function(e){return{restrict:"A",multiElement:!0,link:function(t,n,r){t.$watch(r.ngShow,function(t){e[t?"removeClass":"addClass"](n,"ng-hide",{tempClasses:"ng-hide-animate"})})}}}],la=["$animate",function(e){return{restrict:"A",multiElement:!0,link:function(t,n,r){t.$watch(r.ngHide,function(t){e[t?"addClass":"removeClass"](n,"ng-hide",{tempClasses:"ng-hide-animate"})})}}}],ca=Li(function(e,t,n){e.$watchCollection(n.ngStyle,function(e,n){n&&e!==n&&_(n,function(e,n){t.css(n,"")}),e&&t.css(e)})}),ua=["$animate","$compile",function(e,t){return{require:"ngSwitch",controller:["$scope",function(){this.cases={}}],link:function(n,r,i,o){var a=i.ngSwitch||i.on,s=[],l=[],c=[],u=[],d=function(e,t){return function(n){!1!==n&&e.splice(t,1)}};n.$watch(a,function(n){for(var r,i;c.length;)e.cancel(c.pop());for(r=0,i=u.length;r<i;++r){var a=Le(l[r].clone);u[r].$destroy(),(c[r]=e.leave(a)).done(d(c,r))}l.length=0,u.length=0,(s=o.cases["!"+n]||o.cases["?"])&&_(s,function(n){n.transclude(function(r,i){u.push(i);var o=n.element;r[r.length++]=t.$$createComment("end ngSwitchWhen");var a={clone:r};l.push(a),e.enter(r,o.parent(),o)})})})}}}],da=Li({transclude:"element",priority:1200,require:"^ngSwitch",multiElement:!0,link:function(e,t,n,r,i){_(n.ngSwitchWhen.split(n.ngSwitchWhenSeparator).sort().filter(function(e,t,n){return n[t-1]!==e}),function(e){r.cases["!"+e]=r.cases["!"+e]||[],r.cases["!"+e].push({transclude:i,element:t})})}}),pa=Li({transclude:"element",priority:1200,require:"^ngSwitch",multiElement:!0,link:function(e,t,n,r,i){r.cases["?"]=r.cases["?"]||[],r.cases["?"].push({transclude:i,element:t})}}),fa=i("ngTransclude"),ha=["$compile",function(e){return{restrict:"EAC",compile:function(t){var n=e(t.contents());return t.empty(),function(e,t,r,i,o){if(!o)throw fa("orphan","Illegal use of ngTransclude directive in the template! No parent directive that requires a transclusion found. Element: {0}",we(t));r.ngTransclude===r.$attr.ngTransclude&&(r.ngTransclude="");var a=r.ngTransclude||r.ngTranscludeSlot;function s(){n(e,function(e){t.append(e)})}o(function(e,n){e.length&&function(e){for(var t=0,n=e.length;t<n;t++){var r=e[t];if(r.nodeType!==Fe||r.nodeValue.trim())return!0}}(e)?t.append(e):(s(),n.$destroy())},null,a),a&&!o.isSlotFilled(a)&&s()}}}}],ga=["$templateCache",function(e){return{restrict:"E",terminal:!0,compile:function(t,n){if("text/ng-template"===n.type){var r=n.id,i=t[0].text;e.put(r,i)}}}}],ma={$setViewValue:D,$render:D};function va(e,t){e.prop("selected",t),e.attr("selected",t)}var ba=["$element","$scope",function(t,n){var r=this,i=new Vt;r.selectValueMap={},r.ngModelCtrl=ma,r.multiple=!1,r.unknownOption=a(e.document.createElement("option")),r.hasEmptyOption=!1,r.emptyOption=void 0,r.renderUnknownOption=function(e){var n=r.generateUnknownOptionValue(e);r.unknownOption.val(n),t.prepend(r.unknownOption),va(r.unknownOption,!0),t.val(n)},r.updateUnknownOption=function(e){var n=r.generateUnknownOptionValue(e);r.unknownOption.val(n),va(r.unknownOption,!0),t.val(n)},r.generateUnknownOptionValue=function(e){return"? "+Lt(e)+" ?"},r.removeUnknownOption=function(){r.unknownOption.parent()&&r.unknownOption.remove()},r.selectEmptyOption=function(){r.emptyOption&&(t.val(""),va(r.emptyOption,!0))},r.unselectEmptyOption=function(){r.hasEmptyOption&&va(r.emptyOption,!1)},n.$on("$destroy",function(){r.renderUnknownOption=D}),r.readValue=function(){var e=t.val(),n=e in r.selectValueMap?r.selectValueMap[e]:e;return r.hasOption(n)?n:null},r.writeValue=function(e){var n=t[0].options[t[0].selectedIndex];if(n&&va(a(n),!1),r.hasOption(e)){r.removeUnknownOption();var i=Lt(e);t.val(i in r.selectValueMap?i:e);var o=t[0].options[t[0].selectedIndex];va(a(o),!0)}else r.selectUnknownOrEmptyOption(e)},r.addOption=function(e,t){if(t[0].nodeType!==Ue){ze(e,'"option value"'),""===e&&(r.hasEmptyOption=!0,r.emptyOption=t);var n=i.get(e)||0;i.set(e,n+1),s()}},r.removeOption=function(e){var t=i.get(e);t&&(1===t?(i.delete(e),""===e&&(r.hasEmptyOption=!1,r.emptyOption=void 0)):i.set(e,t-1))},r.hasOption=function(e){return!!i.get(e)},r.$hasEmptyOption=function(){return r.hasEmptyOption},r.$isUnknownOptionSelected=function(){return t[0].options[0]===r.unknownOption[0]},r.$isEmptyOptionSelected=function(){return r.hasEmptyOption&&t[0].options[t[0].selectedIndex]===r.emptyOption[0]},r.selectUnknownOrEmptyOption=function(e){null==e&&r.emptyOption?(r.removeUnknownOption(),r.selectEmptyOption()):r.unknownOption.parent().length?r.updateUnknownOption(e):r.renderUnknownOption(e)};var o=!1;function s(){o||(o=!0,n.$$postDigest(function(){o=!1,r.ngModelCtrl.$render()}))}var l=!1;function c(e){l||(l=!0,n.$$postDigest(function(){n.$$destroyed||(l=!1,r.ngModelCtrl.$setViewValue(r.readValue()),e&&r.ngModelCtrl.$render())}))}r.registerOption=function(e,t,n,i,o){if(n.$attr.ngValue){var a,l=NaN;n.$observe("value",function(e){var n,i=t.prop("selected");L(l)&&(r.removeOption(a),delete r.selectValueMap[l],n=!0),l=Lt(e),a=e,r.selectValueMap[l]=e,r.addOption(e,t),t.attr("value",l),n&&i&&c()})}else i?n.$observe("value",function(e){var n;r.readValue();var i=t.prop("selected");L(a)&&(r.removeOption(a),n=!0),a=e,r.addOption(e,t),n&&i&&c()}):o?e.$watch(o,function(e,i){n.$set("value",e);var o=t.prop("selected");i!==e&&r.removeOption(i),r.addOption(e,t),i&&o&&c()}):r.addOption(n.value,t);n.$observe("disabled",function(e){("true"===e||e&&t.prop("selected"))&&(r.multiple?c(!0):(r.ngModelCtrl.$setViewValue(null),r.ngModelCtrl.$render()))}),t.on("$destroy",function(){var e=r.readValue(),t=n.value;r.removeOption(t),s(),(r.multiple&&e&&-1!==e.indexOf(t)||e===t)&&c(!0)})}}],ya=function(){return{restrict:"E",require:["select","?ngModel"],controller:ba,priority:1,link:{pre:function(e,t,n,r){var i=r[0],o=r[1];if(!o)return void(i.registerOption=D);if(i.ngModelCtrl=o,t.on("change",function(){i.removeUnknownOption(),e.$apply(function(){o.$setViewValue(i.readValue())})}),n.multiple){i.multiple=!0,i.readValue=function(){var e=[];return _(t.find("option"),function(t){if(t.selected&&!t.disabled){var n=t.value;e.push(n in i.selectValueMap?i.selectValueMap[n]:n)}}),e},i.writeValue=function(e){_(t.find("option"),function(t){var n=!!e&&(ie(e,t.value)||ie(e,i.selectValueMap[t.value])),r=t.selected;n!==r&&va(a(t),n)})};var s,l=NaN;e.$watch(function(){l!==o.$viewValue||le(s,o.$viewValue)||(s=Ge(o.$viewValue),o.$render()),l=o.$viewValue}),o.$isEmpty=function(e){return!e||0===e.length}}},post:function(e,t,n,r){var i=r[1];if(!i)return;var o=r[0];i.$render=function(){o.writeValue(i.$viewValue)}}}}},xa=["$interpolate",function(e){return{restrict:"E",priority:100,compile:function(t,n){var r,i;return L(n.ngValue)||(L(n.value)?r=e(n.value,!0):(i=e(t.text(),!0))||n.$set("value",t.text())),function(e,t,n){var o=t.parent(),a=o.data("$selectController")||o.parent().data("$selectController");a&&a.registerOption(e,t,n,r,i)}}}}],wa=function(){return{restrict:"A",require:"?ngModel",link:function(e,t,n,r){r&&(n.required=!0,r.$validators.required=function(e,t){return!n.required||!r.$isEmpty(t)},n.$observe("required",function(){r.$validate()}))}}},ka=function(){return{restrict:"A",require:"?ngModel",link:function(e,t,n,r){if(r){var o,a=n.ngPattern||n.pattern;n.$observe("pattern",function(e){if(V(e)&&e.length>0&&(e=new RegExp("^"+e+"$")),e&&!e.test)throw i("ngPattern")("noregexp","Expected {0} to be a RegExp but was {1}. Element: {2}",a,e,we(t));o=e||void 0,r.$validate()}),r.$validators.pattern=function(e,t){return r.$isEmpty(t)||z(o)||o.test(t)}}}}},_a=function(){return{restrict:"A",require:"?ngModel",link:function(e,t,n,r){if(r){var i=-1;n.$observe("maxlength",function(e){var t=O(e);i=R(t)?-1:t,r.$validate()}),r.$validators.maxlength=function(e,t){return i<0||r.$isEmpty(t)||t.length<=i}}}}},$a=function(){return{restrict:"A",require:"?ngModel",link:function(e,t,n,r){if(r){var i=0;n.$observe("minlength",function(e){i=O(e)||0,r.$validate()}),r.$validators.minlength=function(e,t){return r.$isEmpty(t)||t.length>=i}}}}};e.angular.bootstrap?e.console&&console.log("WARNING: Tried to load AngularJS more than once."):(!function(){var t;if(!Ie){var n=ue();(s=z(n)?e.jQuery:n?e[n]:void 0)&&s.fn.on?(a=s,A(s.fn,{scope:Ot.scope,isolateScope:Ot.isolateScope,controller:Ot.controller,injector:Ot.injector,inheritedData:Ot.inheritedData})):a=ft,t=a.cleanData,a.cleanData=function(e){for(var n,r,i=0;null!=(r=e[i]);i++)(n=a._data(r).events)&&n.$destroy&&a(r).triggerHandler("$destroy");t(e)},x.element=a,Ie=!0}}(),function(t){A(t,{errorHandlingConfig:n,bootstrap:Pe,copy:ae,extend:A,merge:P,equals:le,element:a,forEach:_,injector:Qt,noop:D,bind:fe,toJson:ge,fromJson:me,identity:I,isUndefined:z,isDefined:L,isString:V,isFunction:G,isObject:q,isNumber:F,isElement:ne,isArray:H,version:Ye,isDate:U,callbacks:{$$counter:0},getTestability:Re,reloadWithDebugInfo:Oe,$$minErr:i,$$csp:ce,$$encodeUriSegment:Ee,$$encodeUriQuery:Se,$$lowercase:p,$$stringify:Be,$$uppercase:f}),(l=function(e){var t=i("$injector"),n=i("ng");function r(e,t,n){return e[t]||(e[t]=n())}var o=r(e,"angular",Object);return o.$$minErr=o.$$minErr||i,r(o,"module",function(){var e={};return function(i,o,a){var s={};return function(e,t){if("hasOwnProperty"===e)throw n("badname","hasOwnProperty is not a valid {0} name",t)}(i,"module"),o&&e.hasOwnProperty(i)&&(e[i]=null),r(e,i,function(){if(!o)throw t("nomod","Module '{0}' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.",i);var e=[],r=[],l=[],c=d("$injector","invoke","push",r),u={_invokeQueue:e,_configBlocks:r,_runBlocks:l,info:function(e){if(L(e)){if(!q(e))throw n("aobj","Argument '{0}' must be an object","value");return s=e,this}return s},requires:o,name:i,provider:p("$provide","provider"),factory:p("$provide","factory"),service:p("$provide","service"),value:d("$provide","value"),constant:d("$provide","constant","unshift"),decorator:p("$provide","decorator",r),animation:p("$animateProvider","register"),filter:p("$filterProvider","register"),controller:p("$controllerProvider","register"),directive:p("$compileProvider","directive"),component:p("$compileProvider","component"),config:c,run:function(e){return l.push(e),this}};return a&&c(a),u;function d(t,n,r,i){return i||(i=e),function(){return i[r||"push"]([t,n,arguments]),u}}function p(t,n,r){return r||(r=e),function(e,o){return o&&G(o)&&(o.$$moduleName=i),r.push([t,n,arguments]),u}}})}})}(e))("ng",["ngLocale"],["$provide",function(e){e.provider({$$sanitizeUri:Hr}),e.provider("$compile",mn).directive({a:qi,input:wo,textarea:wo,form:Wi,script:ga,select:ya,option:xa,ngBind:$o,ngBindHtml:So,ngBindTemplate:Eo,ngClass:Ao,ngClassEven:Oo,ngClassOdd:Po,ngCloak:Ro,ngController:jo,ngForm:Gi,ngHide:la,ngIf:No,ngInclude:Mo,ngInit:Lo,ngNonBindable:Jo,ngPluralize:ra,ngRef:oa,ngRepeat:aa,ngShow:sa,ngStyle:ca,ngSwitch:ua,ngSwitchWhen:da,ngSwitchDefault:pa,ngOptions:na,ngTransclude:ha,ngModel:Xo,ngList:qo,ngChange:Co,pattern:ka,ngPattern:ka,required:wa,ngRequired:wa,minlength:$a,ngMinlength:$a,maxlength:_a,ngMaxlength:_a,ngValue:_o,ngModelOptions:Ko}).directive({ngInclude:zo}).directive(Bi).directive(Do),e.provider({$anchorScroll:Jt,$animate:sn,$animateCss:un,$$animateJs:on,$$animateQueue:an,$$AnimateRunner:cn,$$animateAsyncRun:ln,$browser:dn,$cacheFactory:pn,$controller:En,$document:Sn,$$isDocumentHidden:Cn,$exceptionHandler:Tn,$filter:fi,$$forceReflow:An,$interpolate:Xn,$interval:Zn,$http:Un,$httpParamSerializer:Mn,$httpParamSerializerJQLike:zn,$httpBackend:Wn,$xhrFactory:Hn,$jsonpCallbacks:Kn,$location:gr,$log:mr,$parse:Nr,$rootScope:Ur,$q:Mr,$$q:zr,$sce:Qr,$sceDelegate:Kr,$sniffer:Jr,$templateCache:fn,$templateRequest:ti,$$testability:ni,$timeout:ii,$window:ui,$$rAF:Fr,$$jqLite:zt,$$Map:Ft,$$cookieReader:pi})}]).info({angularVersion:"1.7.2"})}(x),x.module("ngLocale",[],["$provide",function(e){var t="one",n="other";e.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(e,r){var i=0|e,o=function(e,t){var n=t;void 0===n&&(n=Math.min(function(e){var t=(e+="").indexOf(".");return-1==t?0:e.length-t-1}(e),3));var r=Math.pow(10,n);return{v:n,f:(e*r|0)%r}}(e,r);return 1==i&&0==o.v?t:n}})}]),a(function(){Ae(e.document,Pe)}))}(window),!window.angular.$$csp().noInlineStyle&&window.angular.element(document.head).prepend('<style type="text/css">@charset "UTF-8";[ng\\:cloak],[ng-cloak],[data-ng-cloak],[x-ng-cloak],.ng-cloak,.x-ng-cloak,.ng-hide:not(.ng-hide-animate){display:none !important;}ng\\:form{display:block;}.ng-animate-shim{visibility:hidden;}.ng-anchor{position:absolute;}</style>')},function(e,t,n){const r=n(4);n(212),n(172),n(103),n(97),n(96),n(86),n(85),n(84),r.module("dbt").run(["$rootScope","$state","$stateParams",function(e,t,n){e.$state=t,e.$stateParams=n}])}]);
+!function(e){"use strict";var t={objectMaxDepth:5,urlErrorParamsEnabled:!0};function n(e){if(!q(e))return t;L(e.objectMaxDepth)&&(t.objectMaxDepth=r(e.objectMaxDepth)?e.objectMaxDepth:NaN),L(e.urlErrorParamsEnabled)&&K(e.urlErrorParamsEnabled)&&(t.urlErrorParamsEnabled=e.urlErrorParamsEnabled)}function r(e){return F(e)&&e>0}function i(e,n){n=n||Error;var r="https://errors.angularjs.org/1.7.2/",i=r.replace(".","\\.")+"[\\s\\S]*",o=new RegExp(i,"g");return function(){var i,a,s=arguments[0],l=arguments[1],c="["+(e?e+":":"")+s+"] ",u=pe(arguments,2).map(function(e){return Xe(e,t.objectMaxDepth)});if(c+=l.replace(/\{\d+\}/g,function(e){var t=+e.slice(1,-1);return t<u.length?u[t].replace(o,""):e}),c+="\n"+r+(e?e+"/":"")+s,t.urlErrorParamsEnabled)for(a=0,i="?";a<u.length;a++,i="&")c+=i+"p"+a+"="+encodeURIComponent(u[a]);return new n(c)}}var o,a,s,l,c=/^\/(.+)\/([a-z]*)$/,u="validity",d=Object.prototype.hasOwnProperty,p=function(e){return V(e)?e.toLowerCase():e},f=function(e){return V(e)?e.toUpperCase():e},h=[].slice,g=[].splice,m=[].push,v=Object.prototype.toString,b=Object.getPrototypeOf,y=i("ng"),x=e.angular||(e.angular={}),w=0;function k(e){if(null==e||Y(e))return!1;if(H(e)||V(e)||a&&e instanceof a)return!0;var t="length"in Object(e)&&e.length;return F(t)&&(t>=0&&t-1 in e||"function"==typeof e.item)}function _(e,t,n){var r,i;if(e)if(G(e))for(r in e)"prototype"!==r&&"length"!==r&&"name"!==r&&e.hasOwnProperty(r)&&t.call(n,e[r],r,e);else if(H(e)||k(e)){var o="object"!=typeof e;for(r=0,i=e.length;r<i;r++)(o||r in e)&&t.call(n,e[r],r,e)}else if(e.forEach&&e.forEach!==_)e.forEach(t,n,e);else if(B(e))for(r in e)t.call(n,e[r],r,e);else if("function"==typeof e.hasOwnProperty)for(r in e)e.hasOwnProperty(r)&&t.call(n,e[r],r,e);else for(r in e)d.call(e,r)&&t.call(n,e[r],r,e);return e}function $(e,t,n){for(var r=Object.keys(e).sort(),i=0;i<r.length;i++)t.call(n,e[r[i]],r[i]);return r}function E(e){return function(t,n){e(n,t)}}function S(){return++w}function C(e,t){t?e.$$hashKey=t:delete e.$$hashKey}function T(e,t,n){for(var r=e.$$hashKey,i=0,o=t.length;i<o;++i){var a=t[i];if(q(a)||G(a))for(var s=Object.keys(a),l=0,c=s.length;l<c;l++){var u=s[l],d=a[u];n&&q(d)?U(d)?e[u]=new Date(d.valueOf()):X(d)?e[u]=new RegExp(d):d.nodeName?e[u]=d.cloneNode(!0):ne(d)?e[u]=d.clone():(q(e[u])||(e[u]=H(d)?[]:{}),T(e[u],[d],!0)):e[u]=d}}return C(e,r),e}function A(e){return T(e,h.call(arguments,1),!1)}function O(e){return T(e,h.call(arguments,1),!0)}function P(e){return parseInt(e,10)}o=e.document.documentMode;var R=Number.isNaN||function(e){return e!=e};function j(e,t){return A(Object.create(e),t)}function D(){}function N(e){return e}function I(e){return function(){return e}}function M(e){return G(e.toString)&&e.toString!==v}function z(e){return void 0===e}function L(e){return void 0!==e}function q(e){return null!==e&&"object"==typeof e}function B(e){return null!==e&&"object"==typeof e&&!b(e)}function V(e){return"string"==typeof e}function F(e){return"number"==typeof e}function U(e){return"[object Date]"===v.call(e)}function H(e){return Array.isArray(e)||e instanceof Array}function W(e){switch(v.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return e instanceof Error}}function G(e){return"function"==typeof e}function X(e){return"[object RegExp]"===v.call(e)}function Y(e){return e&&e.window===e}function Z(e){return e&&e.$evalAsync&&e.$watch}function K(e){return"boolean"==typeof e}function Q(e){return e&&G(e.then)}D.$inject=[],N.$inject=[];var J=/^\[object (?:Uint8|Uint8Clamped|Uint16|Uint32|Int8|Int16|Int32|Float32|Float64)Array]$/;var ee=function(e){return V(e)?e.trim():e},te=function(e){return e.replace(/([-()[\]{}+?*.$^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08")};function ne(e){return!(!e||!(e.nodeName||e.prop&&e.attr&&e.find))}function re(e){return p(e.nodeName||e[0]&&e[0].nodeName)}function ie(e,t){return-1!==Array.prototype.indexOf.call(e,t)}function oe(e,t){var n=e.indexOf(t);return n>=0&&e.splice(n,1),n}function ae(e,t,n){var i=[],o=[];if(n=r(n)?n:NaN,t){if(function(e){return e&&F(e.length)&&J.test(v.call(e))}(t)||function(e){return"[object ArrayBuffer]"===v.call(e)}(t))throw y("cpta","Can't copy! TypedArray destination cannot be mutated.");if(e===t)throw y("cpi","Can't copy! Source and destination are identical.");return H(t)?t.length=0:_(t,function(e,n){"$$hashKey"!==n&&delete t[n]}),i.push(e),o.push(t),a(e,t,n)}return s(e,n);function a(e,t,n){if(--n<0)return"...";var r,i=t.$$hashKey;if(H(e))for(var o=0,a=e.length;o<a;o++)t.push(s(e[o],n));else if(B(e))for(r in e)t[r]=s(e[r],n);else if(e&&"function"==typeof e.hasOwnProperty)for(r in e)e.hasOwnProperty(r)&&(t[r]=s(e[r],n));else for(r in e)d.call(e,r)&&(t[r]=s(e[r],n));return C(t,i),t}function s(e,t){if(!q(e))return e;var n=i.indexOf(e);if(-1!==n)return o[n];if(Y(e)||Z(e))throw y("cpws","Can't copy! Making copies of Window or Scope instances is not supported.");var r=!1,l=function(e){switch(v.call(e)){case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Float32Array]":case"[object Float64Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return new e.constructor(s(e.buffer),e.byteOffset,e.length);case"[object ArrayBuffer]":if(!e.slice){var t=new ArrayBuffer(e.byteLength);return new Uint8Array(t).set(new Uint8Array(e)),t}return e.slice(0);case"[object Boolean]":case"[object Number]":case"[object String]":case"[object Date]":return new e.constructor(e.valueOf());case"[object RegExp]":var n=new RegExp(e.source,e.toString().match(/[^/]*$/)[0]);return n.lastIndex=e.lastIndex,n;case"[object Blob]":return new e.constructor([e],{type:e.type})}if(G(e.cloneNode))return e.cloneNode(!0)}(e);return void 0===l&&(l=H(e)?[]:Object.create(b(e)),r=!0),i.push(e),o.push(l),r?a(e,l,t):l}}function se(e,t){return e===t||e!=e&&t!=t}function le(e,t){if(e===t)return!0;if(null===e||null===t)return!1;if(e!=e&&t!=t)return!0;var n,r,i,o=typeof e;if(o===typeof t&&"object"===o){if(!H(e)){if(U(e))return!!U(t)&&se(e.getTime(),t.getTime());if(X(e))return!!X(t)&&e.toString()===t.toString();if(Z(e)||Z(t)||Y(e)||Y(t)||H(t)||U(t)||X(t))return!1;for(r in i=qe(),e)if("$"!==r.charAt(0)&&!G(e[r])){if(!le(e[r],t[r]))return!1;i[r]=!0}for(r in t)if(!(r in i)&&"$"!==r.charAt(0)&&L(t[r])&&!G(t[r]))return!1;return!0}if(!H(t))return!1;if((n=e.length)===t.length){for(r=0;r<n;r++)if(!le(e[r],t[r]))return!1;return!0}}return!1}var ce=function(){if(!L(ce.rules)){var t=e.document.querySelector("[ng-csp]")||e.document.querySelector("[data-ng-csp]");if(t){var n=t.getAttribute("ng-csp")||t.getAttribute("data-ng-csp");ce.rules={noUnsafeEval:!n||-1!==n.indexOf("no-unsafe-eval"),noInlineStyle:!n||-1!==n.indexOf("no-inline-style")}}else ce.rules={noUnsafeEval:function(){try{return new Function(""),!1}catch(e){return!0}}(),noInlineStyle:!1}}return ce.rules},ue=function(){if(L(ue.name_))return ue.name_;var t,n,r,i,o=Ce.length;for(n=0;n<o;++n)if(r=Ce[n],t=e.document.querySelector("["+r.replace(":","\\:")+"jq]")){i=t.getAttribute(r+"jq");break}return ue.name_=i};function de(e,t,n){return e.concat(h.call(t,n))}function pe(e,t){return h.call(e,t||0)}function fe(e,t){var n=arguments.length>2?pe(arguments,2):[];return!G(t)||t instanceof RegExp?t:n.length?function(){return arguments.length?t.apply(e,de(n,arguments,0)):t.apply(e,n)}:function(){return arguments.length?t.apply(e,arguments):t.call(e)}}function he(t,n){var r=n;return"string"==typeof t&&"$"===t.charAt(0)&&"$"===t.charAt(1)?r=void 0:Y(n)?r="$WINDOW":n&&e.document===n?r="$DOCUMENT":Z(n)&&(r="$SCOPE"),r}function ge(e,t){if(!z(e))return F(t)||(t=t?2:null),JSON.stringify(e,he,t)}function me(e){return V(e)?JSON.parse(e):e}var ve=/:/g;function be(e,t){e=e.replace(ve,"");var n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return R(n)?t:n}function ye(e,t){return(e=new Date(e.getTime())).setMinutes(e.getMinutes()+t),e}function xe(e,t,n){n=n?-1:1;var r=e.getTimezoneOffset();return ye(e,n*(be(t,r)-r))}function we(e){e=a(e).clone().empty();var t=a("<div></div>").append(e).html();try{return e[0].nodeType===Fe?p(t):t.match(/^(<[^>]+>)/)[1].replace(/^<([\w-]+)/,function(e,t){return"<"+p(t)})}catch(e){return p(t)}}function ke(e){try{return decodeURIComponent(e)}catch(e){}}function _e(e){var t={};return _((e||"").split("&"),function(e){var n,r,i;e&&(r=e=e.replace(/\+/g,"%20"),-1!==(n=e.indexOf("="))&&(r=e.substring(0,n),i=e.substring(n+1)),L(r=ke(r))&&(i=!L(i)||ke(i),d.call(t,r)?H(t[r])?t[r].push(i):t[r]=[t[r],i]:t[r]=i))}),t}function $e(e){var t=[];return _(e,function(e,n){H(e)?_(e,function(e){t.push(Se(n,!0)+(!0===e?"":"="+Se(e,!0)))}):t.push(Se(n,!0)+(!0===e?"":"="+Se(e,!0)))}),t.length?t.join("&"):""}function Ee(e){return Se(e,!0).replace(/%26/gi,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+")}function Se(e,t){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%20/g,t?"%20":"+")}var Ce=["ng-","data-ng-","ng:","x-ng-"];var Te=function(t){var n=t.currentScript;if(!n)return!0;if(!(n instanceof e.HTMLScriptElement||n instanceof e.SVGScriptElement))return!1;var r=n.attributes;return[r.getNamedItem("src"),r.getNamedItem("href"),r.getNamedItem("xlink:href")].every(function(e){if(!e)return!0;if(!e.value)return!1;var n=t.createElement("a");if(n.href=e.value,t.location.origin===n.origin)return!0;switch(n.protocol){case"http:":case"https:":case"ftp:":case"blob:":case"file:":case"data:":return!0;default:return!1}})}(e.document);function Ae(t,n){var r,i,o={};if(_(Ce,function(e){var n=e+"app";!r&&t.hasAttribute&&t.hasAttribute(n)&&(r=t,i=t.getAttribute(n))}),_(Ce,function(e){var n,o=e+"app";!r&&(n=t.querySelector("["+o.replace(":","\\:")+"]"))&&(r=n,i=n.getAttribute(o))}),r){if(!Te)return void e.console.error("AngularJS: disabling automatic bootstrap. <script> protocol indicates an extension, document.location.href does not match.");o.strictDi=null!==function(e,t){var n,r,i=Ce.length;for(r=0;r<i;++r)if(n=Ce[r]+t,V(n=e.getAttribute(n)))return n;return null}(r,"strict-di"),n(r,i?[i]:[],o)}}function Oe(t,n,r){q(r)||(r={});r=A({strictDi:!1},r);var i=function(){if((t=a(t)).injector()){var i=t[0]===e.document?"document":we(t);throw y("btstrpd","App already bootstrapped with this element '{0}'",i.replace(/</,"&lt;").replace(/>/,"&gt;"))}(n=n||[]).unshift(["$provide",function(e){e.value("$rootElement",t)}]),r.debugInfoEnabled&&n.push(["$compileProvider",function(e){e.debugInfoEnabled(!0)}]),n.unshift("ng");var o=Qt(n,r.strictDi);return o.invoke(["$rootScope","$rootElement","$compile","$injector",function(e,t,n,r){e.$apply(function(){t.data("$injector",r),n(t)(e)})}]),o},o=/^NG_ENABLE_DEBUG_INFO!/,s=/^NG_DEFER_BOOTSTRAP!/;if(e&&o.test(e.name)&&(r.debugInfoEnabled=!0,e.name=e.name.replace(o,"")),e&&!s.test(e.name))return i();e.name=e.name.replace(s,""),x.resumeBootstrap=function(e){return _(e,function(e){n.push(e)}),i()},G(x.resumeDeferredBootstrap)&&x.resumeDeferredBootstrap()}function Pe(){e.name="NG_ENABLE_DEBUG_INFO!"+e.name,e.location.reload()}function Re(e){var t=x.element(e).injector();if(!t)throw y("test","no injector found for element argument to getTestability");return t.get("$$testability")}var je=/[A-Z]/g;function De(e,t){return t=t||"_",e.replace(je,function(e,n){return(n?t:"")+e.toLowerCase()})}var Ne=!1;function Ie(e,t,n){if(!e)throw y("areq","Argument '{0}' is {1}",t||"?",n||"required");return e}function Me(e,t,n){return n&&H(e)&&(e=e[e.length-1]),Ie(G(e),t,"not a function, got "+(e&&"object"==typeof e?e.constructor.name||"Object":typeof e)),e}function ze(e,t){if("hasOwnProperty"===e)throw y("badname","hasOwnProperty is not a valid {0} name",t)}function Le(e){for(var t,n=e[0],r=e[e.length-1],i=1;n!==r&&(n=n.nextSibling);i++)(t||e[i]!==n)&&(t||(t=a(h.call(e,0,i))),t.push(n));return t||e}function qe(){return Object.create(null)}function Be(e){if(null==e)return"";switch(typeof e){case"string":break;case"number":e=""+e;break;default:e=!M(e)||H(e)||U(e)?ge(e):e.toString()}return e}var Ve=1,Fe=3,Ue=8,He=9,We=11;function Ge(e,t){if(H(e)){t=t||[];for(var n=0,r=e.length;n<r;n++)t[n]=e[n]}else if(q(e))for(var i in t=t||{},e)"$"===i.charAt(0)&&"$"===i.charAt(1)||(t[i]=e[i]);return t||e}function Xe(e,t){return"function"==typeof e?e.toString().replace(/ \{[\s\S]*$/,""):z(e)?"undefined":"string"!=typeof e?function(e,t){var n=[];return r(t)&&(e=x.copy(e,null,t)),JSON.stringify(e,function(e,t){if(q(t=he(e,t))){if(n.indexOf(t)>=0)return"...";n.push(t)}return t})}(e,t):e}var Ye={full:"1.7.2",major:1,minor:7,dot:2,codeName:"extreme-compatiplication"};ft.expando="ng339";var Ze=ft.cache={},Ke=1;ft._data=function(e){return this.cache[e[this.expando]]||{}};var Qe=/-([a-z])/g,Je=/^-ms-/,et={mouseleave:"mouseout",mouseenter:"mouseover"},tt=i("jqLite");function nt(e,t){return t.toUpperCase()}function rt(e){return e.replace(Qe,nt)}var it=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,ot=/<|&#?\w+;/,at=/<([\w:-]+)/,st=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,lt={option:[1,'<select multiple="multiple">',"</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function ct(e){return!ot.test(e)}function ut(e){var t=e.nodeType;return t===Ve||!t||t===He}function dt(e,t){var n,r,i,o,a=t.createDocumentFragment(),s=[];if(ct(e))s.push(t.createTextNode(e));else{for(n=a.appendChild(t.createElement("div")),r=(at.exec(e)||["",""])[1].toLowerCase(),i=lt[r]||lt._default,n.innerHTML=i[1]+e.replace(st,"<$1></$2>")+i[2],o=i[0];o--;)n=n.lastChild;s=de(s,n.childNodes),(n=a.firstChild).textContent=""}return a.textContent="",a.innerHTML="",_(s,function(e){a.appendChild(e)}),a}lt.optgroup=lt.option,lt.tbody=lt.tfoot=lt.colgroup=lt.caption=lt.thead,lt.th=lt.td;var pt=e.Node.prototype.contains||function(e){return!!(16&this.compareDocumentPosition(e))};function ft(t){if(t instanceof ft)return t;var n;if(V(t)&&(t=ee(t),n=!0),!(this instanceof ft)){if(n&&"<"!==t.charAt(0))throw tt("nosel","Looking up elements via selectors is not supported by jqLite! See: http://docs.angularjs.org/api/angular.element");return new ft(t)}n?Et(this,function(t,n){var r;return n=n||e.document,(r=it.exec(t))?[n.createElement(r[1])]:(r=dt(t,n))?r.childNodes:[]}(t)):G(t)?Ot(t):Et(this,t)}function ht(e){return e.cloneNode(!0)}function gt(e,t){!t&&ut(e)&&a.cleanData([e]),e.querySelectorAll&&a.cleanData(e.querySelectorAll("*"))}function mt(e){var t;for(t in e)return!1;return!0}function vt(e){var t=e.ng339,n=t&&Ze[t],r=n&&n.events,i=n&&n.data;i&&!mt(i)||r&&!mt(r)||(delete Ze[t],e.ng339=void 0)}function bt(e,t,n,r){if(L(r))throw tt("offargs","jqLite#off() does not support the `selector` argument");var i=xt(e),o=i&&i.events,a=i&&i.handle;if(a){if(t){var s=function(t){var r=o[t];L(n)&&oe(r||[],n),L(n)&&r&&r.length>0||(e.removeEventListener(t,a),delete o[t])};_(t.split(" "),function(e){s(e),et[e]&&s(et[e])})}else for(t in o)"$destroy"!==t&&e.removeEventListener(t,a),delete o[t];vt(e)}}function yt(e,t){var n=e.ng339,r=n&&Ze[n];r&&(t?delete r.data[t]:r.data={},vt(e))}function xt(e,t){var n=e.ng339,r=n&&Ze[n];return t&&!r&&(e.ng339=n=++Ke,r=Ze[n]={events:{},data:{},handle:void 0}),r}function wt(e,t,n){if(ut(e)){var r,i=L(n),o=!i&&t&&!q(t),a=!t,s=xt(e,!o),l=s&&s.data;if(i)l[rt(t)]=n;else{if(a)return l;if(o)return l&&l[rt(t)];for(r in t)l[rt(r)]=t[r]}}}function kt(e,t){return!!e.getAttribute&&(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").indexOf(" "+t+" ")>-1}function _t(e,t){if(t&&e.setAttribute){var n=(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," "),r=n;_(t.split(" "),function(e){e=ee(e),r=r.replace(" "+e+" "," ")}),r!==n&&e.setAttribute("class",ee(r))}}function $t(e,t){if(t&&e.setAttribute){var n=(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," "),r=n;_(t.split(" "),function(e){e=ee(e),-1===r.indexOf(" "+e+" ")&&(r+=e+" ")}),r!==n&&e.setAttribute("class",ee(r))}}function Et(e,t){if(t)if(t.nodeType)e[e.length++]=t;else{var n=t.length;if("number"==typeof n&&t.window!==t){if(n)for(var r=0;r<n;r++)e[e.length++]=t[r]}else e[e.length++]=t}}function St(e,t){return Ct(e,"$"+(t||"ngController")+"Controller")}function Ct(e,t,n){e.nodeType===He&&(e=e.documentElement);for(var r=H(t)?t:[t];e;){for(var i=0,o=r.length;i<o;i++)if(L(n=a.data(e,r[i])))return n;e=e.parentNode||e.nodeType===We&&e.host}}function Tt(e){for(gt(e,!0);e.firstChild;)e.removeChild(e.firstChild)}function At(e,t){t||gt(e);var n=e.parentNode;n&&n.removeChild(e)}function Ot(t){function n(){e.document.removeEventListener("DOMContentLoaded",n),e.removeEventListener("load",n),t()}"complete"===e.document.readyState?e.setTimeout(t):(e.document.addEventListener("DOMContentLoaded",n),e.addEventListener("load",n))}var Pt=ft.prototype={ready:Ot,toString:function(){var e=[];return _(this,function(t){e.push(""+t)}),"["+e.join(", ")+"]"},eq:function(e){return a(e>=0?this[e]:this[this.length+e])},length:0,push:m,sort:[].sort,splice:[].splice},Rt={};_("multiple,selected,checked,disabled,readOnly,required,open".split(","),function(e){Rt[p(e)]=e});var jt={};_("input,select,option,textarea,button,form,details".split(","),function(e){jt[e]=!0});var Dt={ngMinlength:"minlength",ngMaxlength:"maxlength",ngMin:"min",ngMax:"max",ngPattern:"pattern",ngStep:"step"};function Nt(e,t){var n=Rt[t.toLowerCase()];return n&&jt[re(e)]&&n}function It(e,t,n){n.call(e,t)}function Mt(e,t,n){var r=t.relatedTarget;r&&(r===e||pt.call(e,r))||n.call(e,t)}function zt(){this.$get=function(){return A(ft,{hasClass:function(e,t){return e.attr&&(e=e[0]),kt(e,t)},addClass:function(e,t){return e.attr&&(e=e[0]),$t(e,t)},removeClass:function(e,t){return e.attr&&(e=e[0]),_t(e,t)}})}}function Lt(e,t){var n=e&&e.$$hashKey;if(n)return"function"==typeof n&&(n=e.$$hashKey()),n;var r=typeof e;return n="function"===r||"object"===r&&null!==e?e.$$hashKey=r+":"+(t||S)():r+":"+e}_({data:wt,removeData:yt,hasData:function(e){for(var t in Ze[e.ng339])return!0;return!1},cleanData:function(e){for(var t=0,n=e.length;t<n;t++)yt(e[t]),bt(e[t])}},function(e,t){ft[t]=e}),_({data:wt,inheritedData:Ct,scope:function(e){return a.data(e,"$scope")||Ct(e.parentNode||e,["$isolateScope","$scope"])},isolateScope:function(e){return a.data(e,"$isolateScope")||a.data(e,"$isolateScopeNoTemplate")},controller:St,injector:function(e){return Ct(e,"$injector")},removeAttr:function(e,t){e.removeAttribute(t)},hasClass:kt,css:function(e,t,n){if(t=function(e){return rt(e.replace(Je,"ms-"))}(t),!L(n))return e.style[t];e.style[t]=n},attr:function(e,t,n){var r,i=e.nodeType;if(i!==Fe&&2!==i&&i!==Ue&&e.getAttribute){var o=p(t),a=Rt[o];if(!L(n))return r=e.getAttribute(t),a&&null!==r&&(r=o),null===r?void 0:r;null===n||!1===n&&a?e.removeAttribute(t):e.setAttribute(t,a?o:n)}},prop:function(e,t,n){if(!L(n))return e[t];e[t]=n},text:function(){return e.$dv="",e;function e(e,t){if(z(t)){var n=e.nodeType;return n===Ve||n===Fe?e.textContent:""}e.textContent=t}}(),val:function(e,t){if(z(t)){if(e.multiple&&"select"===re(e)){var n=[];return _(e.options,function(e){e.selected&&n.push(e.value||e.text)}),n}return e.value}e.value=t},html:function(e,t){if(z(t))return e.innerHTML;gt(e,!0),e.innerHTML=t},empty:Tt},function(e,t){ft.prototype[t]=function(t,n){var r,i,o=this.length;if(e!==Tt&&z(2===e.length&&e!==kt&&e!==St?t:n)){if(q(t)){for(r=0;r<o;r++)if(e===wt)e(this[r],t);else for(i in t)e(this[r],i,t[i]);return this}for(var a=e.$dv,s=z(a)?Math.min(o,1):o,l=0;l<s;l++){var c=e(this[l],t,n);a=a?a+c:c}return a}for(r=0;r<o;r++)e(this[r],t,n);return this}}),_({removeData:yt,on:function(e,t,n,r){if(L(r))throw tt("onargs","jqLite#on() does not support the `selector` or `eventData` parameters");if(ut(e)){var i=xt(e,!0),o=i.events,a=i.handle;a||(a=i.handle=function(e,t){var n=function(n,r){n.isDefaultPrevented=function(){return n.defaultPrevented};var i=t[r||n.type],o=i?i.length:0;if(o){if(z(n.immediatePropagationStopped)){var a=n.stopImmediatePropagation;n.stopImmediatePropagation=function(){n.immediatePropagationStopped=!0,n.stopPropagation&&n.stopPropagation(),a&&a.call(n)}}n.isImmediatePropagationStopped=function(){return!0===n.immediatePropagationStopped};var s=i.specialHandlerWrapper||It;o>1&&(i=Ge(i));for(var l=0;l<o;l++)n.isImmediatePropagationStopped()||s(e,n,i[l])}};return n.elem=e,n}(e,o));for(var s=t.indexOf(" ")>=0?t.split(" "):[t],l=s.length,c=function(t,r,i){var s=o[t];s||((s=o[t]=[]).specialHandlerWrapper=r,"$destroy"===t||i||e.addEventListener(t,a)),s.push(n)};l--;)t=s[l],et[t]?(c(et[t],Mt),c(t,void 0,!0)):c(t)}},off:bt,one:function(e,t,n){(e=a(e)).on(t,function r(){e.off(t,n),e.off(t,r)}),e.on(t,n)},replaceWith:function(e,t){var n,r=e.parentNode;gt(e),_(new ft(t),function(t){n?r.insertBefore(t,n.nextSibling):r.replaceChild(t,e),n=t})},children:function(e){var t=[];return _(e.childNodes,function(e){e.nodeType===Ve&&t.push(e)}),t},contents:function(e){return e.contentDocument||e.childNodes||[]},append:function(e,t){var n=e.nodeType;if(n===Ve||n===We)for(var r=0,i=(t=new ft(t)).length;r<i;r++){var o=t[r];e.appendChild(o)}},prepend:function(e,t){if(e.nodeType===Ve){var n=e.firstChild;_(new ft(t),function(t){e.insertBefore(t,n)})}},wrap:function(e,t){!function(e,t){var n=e.parentNode;n&&n.replaceChild(t,e),t.appendChild(e)}(e,a(t).eq(0).clone()[0])},remove:At,detach:function(e){At(e,!0)},after:function(e,t){var n=e,r=e.parentNode;if(r)for(var i=0,o=(t=new ft(t)).length;i<o;i++){var a=t[i];r.insertBefore(a,n.nextSibling),n=a}},addClass:$t,removeClass:_t,toggleClass:function(e,t,n){t&&_(t.split(" "),function(t){var r=n;z(r)&&(r=!kt(e,t)),(r?$t:_t)(e,t)})},parent:function(e){var t=e.parentNode;return t&&t.nodeType!==We?t:null},next:function(e){return e.nextElementSibling},find:function(e,t){return e.getElementsByTagName?e.getElementsByTagName(t):[]},clone:ht,triggerHandler:function(e,t,n){var r,i,o,a=t.type||t,s=xt(e),l=s&&s.events,c=l&&l[a];c&&(r={preventDefault:function(){this.defaultPrevented=!0},isDefaultPrevented:function(){return!0===this.defaultPrevented},stopImmediatePropagation:function(){this.immediatePropagationStopped=!0},isImmediatePropagationStopped:function(){return!0===this.immediatePropagationStopped},stopPropagation:D,type:a,target:e},t.type&&(r=A(r,t)),i=Ge(c),o=n?[r].concat(n):[r],_(i,function(t){r.isImmediatePropagationStopped()||t.apply(e,o)}))}},function(e,t){ft.prototype[t]=function(t,n,r){for(var i,o=0,s=this.length;o<s;o++)z(i)?L(i=e(this[o],t,n,r))&&(i=a(i)):Et(i,e(this[o],t,n,r));return L(i)?i:this}}),ft.prototype.bind=ft.prototype.on,ft.prototype.unbind=ft.prototype.off;var qt=Object.create(null);function Bt(){this._keys=[],this._values=[],this._lastKey=NaN,this._lastIndex=-1}Bt.prototype={_idx:function(e){return e===this._lastKey?this._lastIndex:(this._lastKey=e,this._lastIndex=this._keys.indexOf(e),this._lastIndex)},_transformKey:function(e){return R(e)?qt:e},get:function(e){e=this._transformKey(e);var t=this._idx(e);if(-1!==t)return this._values[t]},set:function(e,t){e=this._transformKey(e);var n=this._idx(e);-1===n&&(n=this._lastIndex=this._keys.length),this._keys[n]=e,this._values[n]=t},delete:function(e){e=this._transformKey(e);var t=this._idx(e);return-1!==t&&(this._keys.splice(t,1),this._values.splice(t,1),this._lastKey=NaN,this._lastIndex=-1,!0)}};var Vt=Bt,Ft=[function(){this.$get=[function(){return Vt}]}],Ut=/^([^(]+?)=>/,Ht=/^[^(]*\(\s*([^)]*)\)/m,Wt=/,/,Gt=/^\s*(_?)(\S+?)\1\s*$/,Xt=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,Yt=i("$injector");function Zt(e){return Function.prototype.toString.call(e)}function Kt(e){var t=Zt(e).replace(Xt,"");return t.match(Ut)||t.match(Ht)}function Qt(e,t){t=!0===t;var n={},r="Provider",i=[],a=new Vt,s={$provide:{provider:h(g),factory:h(m),service:h(function(e,t){return m(e,["$injector",function(e){return e.instantiate(t)}])}),value:h(function(e,t){return m(e,I(t),!1)}),constant:h(function(e,t){ze(e,"constant"),s[e]=t,u[e]=t}),decorator:function(e,t){var n=c.get(e+r),i=n.$get;n.$get=function(){var e=p.invoke(i,n);return p.invoke(t,null,{$delegate:e})}}}},c=s.$injector=b(s,function(e,t){throw x.isString(t)&&i.push(t),Yt("unpr","Unknown provider: {0}",i.join(" <- "))}),u={},d=b(u,function(e,t){var n=c.get(e+r,t);return p.invoke(n.$get,n,void 0,e)}),p=d;s["$injector"+r]={$get:I(d)},p.modules=c.modules=qe();var f=v(e);return(p=d.get("$injector")).strictDi=t,_(f,function(e){e&&p.invoke(e)}),p.loadNewModules=function(e){_(v(e),function(e){e&&p.invoke(e)})},p;function h(e){return function(t,n){if(!q(t))return e(t,n);_(t,E(e))}}function g(e,t){if(ze(e,"service"),(G(t)||H(t))&&(t=c.instantiate(t)),!t.$get)throw Yt("pget","Provider '{0}' must define $get factory method.",e);return s[e+r]=t}function m(e,t,n){return g(e,{$get:!1!==n?function(e,t){return function(){var n=p.invoke(t,this);if(z(n))throw Yt("undef","Provider '{0}' must return a value from $get factory method.",e);return n}}(e,t):t})}function v(e){Ie(z(e)||H(e),"modulesToLoad","not an array");var t,n=[];return _(e,function(e){if(!a.get(e)){a.set(e,!0);try{V(e)?(t=l(e),p.modules[e]=t,n=n.concat(v(t.requires)).concat(t._runBlocks),r(t._invokeQueue),r(t._configBlocks)):G(e)?n.push(c.invoke(e)):H(e)?n.push(c.invoke(e)):Me(e,"module")}catch(t){throw H(e)&&(e=e[e.length-1]),t.message&&t.stack&&-1===t.stack.indexOf(t.message)&&(t=t.message+"\n"+t.stack),Yt("modulerr","Failed to instantiate module {0} due to:\n{1}",e,t.stack||t.message||t)}}function r(e){var t,n;for(t=0,n=e.length;t<n;t++){var r=e[t],i=c.get(r[0]);i[r[1]].apply(i,r[2])}}}),n}function b(e,a){function l(t,r){if(e.hasOwnProperty(t)){if(e[t]===n)throw Yt("cdep","Circular dependency found: {0}",t+" <- "+i.join(" <- "));return e[t]}try{return i.unshift(t),e[t]=n,e[t]=a(t,r),e[t]}catch(r){throw e[t]===n&&delete e[t],r}finally{i.shift()}}function c(e,n,r){for(var i=[],o=Qt.$$annotate(e,t,r),a=0,s=o.length;a<s;a++){var c=o[a];if("string"!=typeof c)throw Yt("itkn","Incorrect injection token! Expected service name as string, got {0}",c);i.push(n&&n.hasOwnProperty(c)?n[c]:l(c,r))}return i}return{invoke:function(e,t,n,r){"string"==typeof n&&(r=n,n=null);var i=c(e,n,r);return H(e)&&(e=e[e.length-1]),function(e){if(o||"function"!=typeof e)return!1;var t=e.$$ngIsClass;return K(t)||(t=e.$$ngIsClass=/^class\b/.test(Zt(e))),t}(e)?(i.unshift(null),new(Function.prototype.bind.apply(e,i))):e.apply(t,i)},instantiate:function(e,t,n){var r=H(e)?e[e.length-1]:e,i=c(e,t,n);return i.unshift(null),new(Function.prototype.bind.apply(r,i))},get:l,annotate:Qt.$$annotate,has:function(t){return s.hasOwnProperty(t+r)||e.hasOwnProperty(t)}}}}function Jt(){var t=!0;this.disableAutoScrolling=function(){t=!1},this.$get=["$window","$location","$rootScope",function(n,r,i){var o=n.document;function s(e){if(e){e.scrollIntoView();var t=function(){var e=l.yOffset;if(G(e))e=e();else if(ne(e)){var t=e[0];e="fixed"!==n.getComputedStyle(t).position?0:t.getBoundingClientRect().bottom}else F(e)||(e=0);return e}();if(t){var r=e.getBoundingClientRect().top;n.scrollBy(0,r-t)}}else n.scrollTo(0,0)}function l(e){var t;(e=V(e)?e:F(e)?e.toString():r.hash())?(t=o.getElementById(e))?s(t):(t=function(e){var t=null;return Array.prototype.some.call(e,function(e){if("a"===re(e))return t=e,!0}),t}(o.getElementsByName(e)))?s(t):"top"===e&&s(null):s(null)}return t&&i.$watch(function(){return r.hash()},function(t,n){t===n&&""===t||function(t,n){"complete"===(n=n||e).document.readyState?n.setTimeout(t):a(n).on("load",t)}(function(){i.$evalAsync(l)})}),l}]}Qt.$$annotate=function(e,t,n){var r,i;if("function"==typeof e){if(!(r=e.$inject)){if(r=[],e.length){if(t)throw V(n)&&n||(n=e.name||function(e){var t=Kt(e);return t?"function("+(t[1]||"").replace(/[\s\r\n]+/," ")+")":"fn"}(e)),Yt("strictdi","{0} is not using explicit annotation and cannot be invoked in strict mode",n);_(Kt(e)[1].split(Wt),function(e){e.replace(Gt,function(e,t,n){r.push(n)})})}e.$inject=r}}else H(e)?(Me(e[i=e.length-1],"fn"),r=e.slice(0,i)):Me(e,"fn",!0);return r};var en=i("$animate"),tn=1;function nn(e,t){return e||t?e?t?(H(e)&&(e=e.join(" ")),H(t)&&(t=t.join(" ")),e+" "+t):e:t:""}function rn(e){return q(e)?e:{}}var on=function(){this.$get=D},an=function(){var e=new Vt,t=[];this.$get=["$$AnimateRunner","$rootScope",function(n,r){return{enabled:D,on:D,off:D,pin:D,push:function(a,s,l,c){c&&c(),(l=l||{}).from&&a.css(l.from),l.to&&a.css(l.to),(l.addClass||l.removeClass)&&function(n,a,s){var l=e.get(n)||{},c=i(l,a,!0),u=i(l,s,!1);(c||u)&&(e.set(n,l),t.push(n),1===t.length&&r.$$postDigest(o))}(a,l.addClass,l.removeClass);var u=new n;return u.complete(),u}};function i(e,t,n){var r=!1;return t&&_(t=V(t)?t.split(" "):H(t)?t:[],function(t){t&&(r=!0,e[t]=n)}),r}function o(){_(t,function(t){var n=e.get(t);if(n){var r=function(e){V(e)&&(e=e.split(" "));var t=qe();return _(e,function(e){e.length&&(t[e]=!0)}),t}(t.attr("class")),i="",o="";_(n,function(e,t){e!==!!r[t]&&(e?i+=(i.length?" ":"")+t:o+=(o.length?" ":"")+t)}),_(t,function(e){i&&$t(e,i),o&&_t(e,o)}),e.delete(t)}}),t.length=0}}]},sn=["$provide",function(e){var t=this,n=null,r=null;this.$$registeredAnimations=Object.create(null),this.register=function(n,r){if(n&&"."!==n.charAt(0))throw en("notcsel","Expecting class selector starting with '.' got '{0}'.",n);var i=n+"-animation";t.$$registeredAnimations[n.substr(1)]=i,e.factory(i,r)},this.customFilter=function(e){return 1===arguments.length&&(r=G(e)?e:null),r},this.classNameFilter=function(e){if(1===arguments.length&&((n=e instanceof RegExp?e:null)&&new RegExp("[(\\s|\\/)]ng-animate[(\\s|\\/)]").test(n.toString())))throw n=null,en("nongcls",'$animateProvider.classNameFilter(regex) prohibits accepting a regex value which matches/contains the "{0}" CSS class.',"ng-animate");return n},this.$get=["$$animateQueue",function(e){function t(e,t,n){if(n){var r=function(e){for(var t=0;t<e.length;t++){var n=e[t];if(n.nodeType===tn)return n}}(n);!r||r.parentNode||r.previousElementSibling||(n=null)}n?n.after(e):t.prepend(e)}return{on:e.on,off:e.off,pin:e.pin,enabled:e.enabled,cancel:function(e){e.cancel&&e.cancel()},enter:function(n,r,i,o){return r=r&&a(r),i=i&&a(i),t(n,r=r||i.parent(),i),e.push(n,"enter",rn(o))},move:function(n,r,i,o){return r=r&&a(r),i=i&&a(i),t(n,r=r||i.parent(),i),e.push(n,"move",rn(o))},leave:function(t,n){return e.push(t,"leave",rn(n),function(){t.remove()})},addClass:function(t,n,r){return(r=rn(r)).addClass=nn(r.addclass,n),e.push(t,"addClass",r)},removeClass:function(t,n,r){return(r=rn(r)).removeClass=nn(r.removeClass,n),e.push(t,"removeClass",r)},setClass:function(t,n,r,i){return(i=rn(i)).addClass=nn(i.addClass,n),i.removeClass=nn(i.removeClass,r),e.push(t,"setClass",i)},animate:function(t,n,r,i,o){return(o=rn(o)).from=o.from?A(o.from,n):n,o.to=o.to?A(o.to,r):r,i=i||"ng-inline-animate",o.tempClasses=nn(o.tempClasses,i),e.push(t,"animate",o)}}}]}],ln=function(){this.$get=["$$rAF",function(e){var t=[];function n(n){t.push(n),t.length>1||e(function(){for(var e=0;e<t.length;e++)t[e]();t=[]})}return function(){var e=!1;return n(function(){e=!0}),function(t){e?t():n(t)}}}]},cn=function(){this.$get=["$q","$sniffer","$$animateAsyncRun","$$isDocumentHidden","$timeout",function(e,t,n,r,i){function o(e){this.setHost(e);var t=n();this._doneCallbacks=[],this._tick=function(e){r()?function(e){i(e,0,!1)}(e):t(e)},this._state=0}return o.chain=function(e,t){var n=0;!function r(){if(n===e.length)return void t(!0);e[n](function(e){!1!==e?(n++,r()):t(!1)})}()},o.all=function(e,t){var n=0,r=!0;function i(i){r=r&&i,++n===e.length&&t(r)}_(e,function(e){e.done(i)})},o.prototype={setHost:function(e){this.host=e||{}},done:function(e){2===this._state?e():this._doneCallbacks.push(e)},progress:D,getPromise:function(){if(!this.promise){var t=this;this.promise=e(function(e,n){t.done(function(t){!1===t?n():e()})})}return this.promise},then:function(e,t){return this.getPromise().then(e,t)},catch:function(e){return this.getPromise().catch(e)},finally:function(e){return this.getPromise().finally(e)},pause:function(){this.host.pause&&this.host.pause()},resume:function(){this.host.resume&&this.host.resume()},end:function(){this.host.end&&this.host.end(),this._resolve(!0)},cancel:function(){this.host.cancel&&this.host.cancel(),this._resolve(!1)},complete:function(e){var t=this;0===t._state&&(t._state=1,t._tick(function(){t._resolve(e)}))},_resolve:function(e){2!==this._state&&(_(this._doneCallbacks,function(t){t(e)}),this._doneCallbacks.length=0,this._state=2)}},o}]},un=function(){this.$get=["$$rAF","$q","$$AnimateRunner",function(e,t,n){return function(t,r){var i=r||{};i.$$prepared||(i=ae(i)),i.cleanupStyles&&(i.from=i.to=null),i.from&&(t.css(i.from),i.from=null);var o,a=new n;return{start:s,end:s};function s(){return e(function(){!function(){i.addClass&&(t.addClass(i.addClass),i.addClass=null);i.removeClass&&(t.removeClass(i.removeClass),i.removeClass=null);i.to&&(t.css(i.to),i.to=null)}(),o||a.complete(),o=!0}),a}}}]};function dn(){this.$get=["$window","$log","$sniffer","$document",function(e,t,n,r){return new function(e,t,n,r){var i=this,o=e.location,s=e.history,l=e.setTimeout,c=e.clearTimeout,u={};i.isMock=!1;var d=0,p=[];function f(e){try{e.apply(null,pe(arguments,1))}finally{if(0==--d)for(;p.length;)try{p.pop()()}catch(e){n.error(e)}}}i.$$completeOutstandingRequest=f,i.$$incOutstandingRequestCount=function(){d++},i.notifyWhenNoOutstandingRequests=function(e){0===d?e():p.push(e)};var h,g,m=o.href,v=t.find("base"),b=null,y=r.history?function(){try{return s.state}catch(e){}}:D;E(),i.url=function(t,n,a){if(z(a)&&(a=null),o!==e.location&&(o=e.location),s!==e.history&&(s=e.history),t){var l=g===a;if(m===t&&(!r.history||l))return i;var c=m&&sr(m)===sr(t);return m=t,g=a,!r.history||c&&l?(c||(b=t),n?o.replace(t):c?o.hash=function(e){var t=e.indexOf("#");return-1===t?"":e.substr(t)}(t):o.href=t,o.href!==t&&(b=t)):(s[n?"replaceState":"pushState"](a,"",t),E()),b&&(b=t),i}return b||o.href},i.state=function(){return h};var x=[],w=!1;function k(){b=null,S()}var $=null;function E(){le(h=z(h=y())?null:h,$)&&(h=$),$=h,g=h}function S(){var e=g;E(),m===i.url()&&e===h||(m=i.url(),g=h,_(x,function(e){e(i.url(),h)}))}i.onUrlChange=function(t){return w||(r.history&&a(e).on("popstate",k),a(e).on("hashchange",k),w=!0),x.push(t),t},i.$$applicationDestroyed=function(){a(e).off("hashchange popstate",k)},i.$$checkUrlChange=S,i.baseHref=function(){var e=v.attr("href");return e?e.replace(/^(https?:)?\/\/[^/]*/,""):""},i.defer=function(e,t){var n;return d++,n=l(function(){delete u[n],f(e)},t||0),u[n]=!0,n},i.defer.cancel=function(e){return!!u[e]&&(delete u[e],c(e),f(D),!0)}}(e,r,t,n)}]}function pn(){this.$get=function(){var e={};function t(t,n){if(t in e)throw i("$cacheFactory")("iid","CacheId '{0}' is already taken!",t);var r=0,o=A({},n,{id:t}),a=qe(),s=n&&n.capacity||Number.MAX_VALUE,l=qe(),c=null,u=null;return e[t]={put:function(e,t){if(!z(t)){if(s<Number.MAX_VALUE)d(l[e]||(l[e]={key:e}));return e in a||r++,a[e]=t,r>s&&this.remove(u.key),t}},get:function(e){if(s<Number.MAX_VALUE){var t=l[e];if(!t)return;d(t)}return a[e]},remove:function(e){if(s<Number.MAX_VALUE){var t=l[e];if(!t)return;t===c&&(c=t.p),t===u&&(u=t.n),p(t.n,t.p),delete l[e]}e in a&&(delete a[e],r--)},removeAll:function(){a=qe(),r=0,l=qe(),c=u=null},destroy:function(){a=null,o=null,l=null,delete e[t]},info:function(){return A({},o,{size:r})}};function d(e){e!==c&&(u?u===e&&(u=e.n):u=e,p(e.n,e.p),p(e,c),(c=e).n=null)}function p(e,t){e!==t&&(e&&(e.p=t),t&&(t.n=e))}}return t.info=function(){var t={};return _(e,function(e,n){t[n]=e.info()}),t},t.get=function(t){return e[t]},t}}function fn(){this.$get=["$cacheFactory",function(e){return e("templates")}]}var hn=i("$compile");var gn=new function(){};function mn(t,n){var r={},i="Directive",s=/^\s*directive:\s*([\w-]+)\s+(.*)$/,l=/(([\w-]+)(?::([^;]+))?;?)/,c=function(e){var t,n={},r=e.split(",");for(t=0;t<r.length;t++)n[r[t]]=!0;return n}("ngSrc,ngSrcset,src,srcset"),u=/^(?:(\^\^?)?(\?)?(\^\^?)?)?/,f=/^(on[a-z]+|formaction)$/,h=qe();function g(e,t,n){var r=/^([@&]|[=<](\*?))(\??)\s*([\w$]*)$/,i=qe();return _(e,function(e,o){if((e=e.trim())in h)i[o]=h[e];else{var a=e.match(r);if(!a)throw hn("iscp","Invalid {3} for directive '{0}'. Definition: {... {1}: '{2}' ...}",t,o,e,n?"controller bindings definition":"isolate scope definition");i[o]={mode:a[1][0],collection:"*"===a[2],optional:"?"===a[3],attrName:a[4]||o},a[4]&&(h[e]=i[o])}}),i}function m(e,t){var n={isolateScope:null,bindToController:null};if(q(e.scope)&&(!0===e.bindToController?(n.bindToController=g(e.scope,t,!0),n.isolateScope={}):n.isolateScope=g(e.scope,t,!1)),q(e.bindToController)&&(n.bindToController=g(e.bindToController,t,!0)),n.bindToController&&!e.controller)throw hn("noctrl","Cannot bind to controller without directive '{0}'s controller.",t);return n}this.directive=function e(n,o){return Ie(n,"name"),ze(n,"directive"),V(n)?(!function(e){var t=e.charAt(0);if(!t||t!==p(t))throw hn("baddir","Directive/Component name '{0}' is invalid. The first character must be a lowercase letter",e);if(e!==e.trim())throw hn("baddir","Directive/Component name '{0}' is invalid. The name should not contain leading or trailing whitespaces",e)}(n),Ie(o,"directiveFactory"),r.hasOwnProperty(n)||(r[n]=[],t.factory(n+i,["$injector","$exceptionHandler",function(e,t){var i=[];return _(r[n],function(r,o){try{var a=e.invoke(r);G(a)?a={compile:I(a)}:!a.compile&&a.link&&(a.compile=I(a.link)),a.priority=a.priority||0,a.index=o,a.name=a.name||n,a.require=function(e){var t=e.require||e.controller&&e.name;return!H(t)&&q(t)&&_(t,function(e,n){var r=e.match(u);e.substring(r[0].length)||(t[n]=r[0]+n)}),t}(a),a.restrict=function(e,t){if(e&&(!V(e)||!/[EACM]/.test(e)))throw hn("badrestrict","Restrict property '{0}' of directive '{1}' is invalid",e,t);return e||"EA"}(a.restrict,n),a.$$moduleName=r.$$moduleName,i.push(a)}catch(e){t(e)}}),i}])),r[n].push(o)):_(n,E(e)),this},this.component=function e(t,n){if(!V(t))return _(t,E(fe(this,e))),this;var r=n.controller||function(){};function i(e){function t(t){return G(t)||H(t)?function(n,r){return e.invoke(t,this,{$element:n,$attrs:r})}:t}var i=n.template||n.templateUrl?n.template:"",o={controller:r,controllerAs:function(e,t){if(t&&V(t))return t;if(V(e)){var n=$n.exec(e);if(n)return n[3]}}(n.controller)||n.controllerAs||"$ctrl",template:t(i),templateUrl:t(n.templateUrl),transclude:n.transclude,scope:{},bindToController:n.bindings||{},restrict:"E",require:n.require};return _(n,function(e,t){"$"===t.charAt(0)&&(o[t]=e)}),o}return _(n,function(e,t){"$"===t.charAt(0)&&(i[t]=e,G(r)&&(r[t]=e))}),i.$inject=["$injector"],this.directive(t,i)},this.aHrefSanitizationWhitelist=function(e){return L(e)?(n.aHrefSanitizationWhitelist(e),this):n.aHrefSanitizationWhitelist()},this.imgSrcSanitizationWhitelist=function(e){return L(e)?(n.imgSrcSanitizationWhitelist(e),this):n.imgSrcSanitizationWhitelist()};var b=!0;this.debugInfoEnabled=function(e){return L(e)?(b=e,this):b};var y=!1;this.strictComponentBindingsEnabled=function(e){return L(e)?(y=e,this):y};var x=10;this.onChangesTtl=function(e){return arguments.length?(x=e,this):x};var w=!0;this.commentDirectivesEnabled=function(e){return arguments.length?(w=e,this):w};var k=!0;this.cssClassDirectivesEnabled=function(e){return arguments.length?(k=e,this):k},this.$get=["$injector","$interpolate","$exceptionHandler","$templateRequest","$parse","$controller","$rootScope","$sce","$animate",function(t,n,h,g,$,E,S,C,T){var O,P=/^\w/,R=e.document.createElement("div"),I=w,M=k,L=x;function B(){try{if(!--L)throw O=void 0,hn("infchng","{0} $onChanges() iterations reached. Aborting!\n",x);S.$apply(function(){for(var e=0,t=O.length;e<t;++e)try{O[e]()}catch(e){h(e)}O=void 0})}finally{L++}}function F(e,t){if(t){var n,r,i,o=Object.keys(t);for(n=0,r=o.length;n<r;n++)this[i=o[n]]=t[i]}else this.$attr={};this.$$element=e}function U(e,t){try{e.addClass(t)}catch(e){}}F.prototype={$normalize:xn,$addClass:function(e){e&&e.length>0&&T.addClass(this.$$element,e)},$removeClass:function(e){e&&e.length>0&&T.removeClass(this.$$element,e)},$updateClass:function(e,t){var n=wn(e,t);n&&n.length&&T.addClass(this.$$element,n);var r=wn(t,e);r&&r.length&&T.removeClass(this.$$element,r)},$set:function(e,t,n,r){var i=Nt(this.$$element[0],e),o=function(e){return Dt[e]}(e),a=e;if(i?(this.$$element.prop(e,t),r=i):o&&(this[o]=t,a=o),this[e]=t,r?this.$attr[e]=r:(r=this.$attr[e])||(this.$attr[e]=r=De(e,"-")),"img"===re(this.$$element)&&"srcset"===e&&t){if(!V(t))throw hn("srcset","Can't pass trusted values to `$set('srcset', value)`: \"{0}\"",t.toString());for(var s="",l=ee(t),c=/\s/.test(l)?/(\s+\d+x\s*,|\s+\d+w\s*,|\s+,|,\s+)/:/(,)/,u=l.split(c),d=Math.floor(u.length/2),p=0;p<d;p++){var f=2*p;s+=C.getTrustedMediaUrl(ee(u[f])),s+=" "+ee(u[f+1])}var g=ee(u[2*p]).split(/\s/);s+=C.getTrustedMediaUrl(ee(g[0])),2===g.length&&(s+=" "+ee(g[1])),this[e]=t=s}!1!==n&&(null===t||z(t)?this.$$element.removeAttr(r):P.test(r)?this.$$element.attr(r,t):function(e,t,n){R.innerHTML="<span "+t+">";var r=R.firstChild.attributes,i=r[0];r.removeNamedItem(i.name),i.value=n,e.attributes.setNamedItem(i)}(this.$$element[0],r,t));var m=this.$$observers;m&&_(m[a],function(e){try{e(t)}catch(e){h(e)}})},$observe:function(e,t){var n=this,r=n.$$observers||(n.$$observers=qe()),i=r[e]||(r[e]=[]);return i.push(t),S.$evalAsync(function(){i.$$inter||!n.hasOwnProperty(e)||z(n[e])||t(n[e])}),function(){oe(i,t)}}};var X=n.startSymbol(),Y=n.endSymbol(),Q="{{"===X&&"}}"===Y?N:function(e){return e.replace(/\{\{/g,X).replace(/}}/g,Y)},J=/^ngAttr[A-Z]/,te=/^(.+)Start$/;return ne.$$addBindingInfo=b?function(e,t){var n=e.data("$binding")||[];H(t)?n=n.concat(t):n.push(t),e.data("$binding",n)}:D,ne.$$addBindingClass=b?function(e){U(e,"ng-binding")}:D,ne.$$addScopeInfo=b?function(e,t,n,r){var i=n?r?"$isolateScopeNoTemplate":"$isolateScope":"$scope";e.data(i,t)}:D,ne.$$addScopeClass=b?function(e,t){U(e,t?"ng-isolate-scope":"ng-scope")}:D,ne.$$createComment=function(t,n){var r="";return b&&(r=" "+(t||"")+": ",n&&(r+=n+" ")),e.document.createComment(r)},ne;function ne(e,t,n,r,i){e instanceof a||(e=a(e));var o=ie(e,t,e,n,r,i);ne.$$addScopeClass(e);var s=null;return function(t,n,r){if(!e)throw hn("multilink","This element has already been linked.");Ie(t,"scope"),i&&i.needsNewScope&&(t=t.$parent.$new());var l,c=(r=r||{}).parentBoundTranscludeFn,u=r.transcludeControllers,d=r.futureParentElement;if(c&&c.$$boundTransclude&&(c=c.$$boundTransclude),s||(s=function(e){var t=e&&e[0];return t&&"foreignobject"!==re(t)&&v.call(t).match(/SVG/)?"svg":"html"}(d)),l="html"!==s?a(Se(s,a("<div></div>").append(e).html())):n?Pt.clone.call(e):e,u)for(var p in u)l.data("$"+p+"Controller",u[p].instance);return ne.$$addScopeInfo(l,t),n&&n(l,t),o&&o(t,l,l,c),n||(e=o=null),l}}function ie(e,t,n,r,i,s){for(var l,c,u,d,p,f,h,g=[],m=H(e)||e instanceof a,v=0;v<e.length;v++)l=new F,11===o&&ae(e,v,m),(u=(c=ue(e[v],[],l,0===v?r:void 0,i)).length?me(c,e[v],l,t,n,null,[],[],s):null)&&u.scope&&ne.$$addScopeClass(l.$$element),p=u&&u.terminal||!(d=e[v].childNodes)||!d.length?null:ie(d,u?(u.transcludeOnThisElement||!u.templateOnThisElement)&&u.transclude:t),(u||p)&&(g.push(v,u,p),f=!0,h=h||u),s=null;return f?function(e,n,r,i){var o,s,l,c,u,d,p,f,m;if(h){var v=n.length;for(m=new Array(v),u=0;u<g.length;u+=3)p=g[u],m[p]=n[p]}else m=n;for(u=0,d=g.length;u<d;)l=m[g[u++]],o=g[u++],s=g[u++],o?(o.scope?(c=e.$new(),ne.$$addScopeInfo(a(l),c)):c=e,f=o.transcludeOnThisElement?ce(e,o.transclude,i):!o.templateOnThisElement&&i?i:!i&&t?ce(e,t):null,o(s,c,l,r,f)):s&&s(e,l.childNodes,void 0,i)}:null}function ae(e,t,n){var r,i=e[t],o=i.parentNode;if(i.nodeType===Fe)for(;(r=o?i.nextSibling:e[t+1])&&r.nodeType===Fe;)i.nodeValue=i.nodeValue+r.nodeValue,r.parentNode&&r.parentNode.removeChild(r),n&&r===e[t+1]&&e.splice(t+1,1)}function ce(e,t,n){function r(r,i,o,a,s){return r||((r=e.$new(!1,s)).$$transcluded=!0),t(r,i,{parentBoundTranscludeFn:n,transcludeControllers:o,futureParentElement:a})}var i=r.$$slots=qe();for(var o in t.$$slots)t.$$slots[o]?i[o]=ce(e,t.$$slots[o],n):i[o]=null;return r}function ue(e,t,r,i,o){var a,c,u,d=e.nodeType,p=r.$attr;switch(d){case Ve:ye(t,xn(c=re(e)),"E",i,o);for(var f,h,g,m,v,b,y=e.attributes,x=0,w=y&&y.length;x<w;x++){var k=!1,_=!1;h=(f=y[x]).name,v=f.value,m=xn(h),(b=J.test(m))&&(h=h.replace(bn,"").substr(8).replace(/_(.)/g,function(e,t){return t.toUpperCase()}));var $=m.match(te);$&&xe($[1])&&(k=h,_=h.substr(0,h.length-5)+"end",h=h.substr(0,h.length-6)),p[g=xn(h.toLowerCase())]=h,!b&&r.hasOwnProperty(g)||(r[g]=v,Nt(e,g)&&(r[g]=!0)),Ce(e,t,v,g,b),ye(t,g,"A",i,o,k,_)}if("input"===c&&"hidden"===e.getAttribute("type")&&e.setAttribute("autocomplete","off"),!M)break;if(q(u=e.className)&&(u=u.animVal),V(u)&&""!==u)for(;a=l.exec(u);)ye(t,g=xn(a[2]),"C",i,o)&&(r[g]=ee(a[3])),u=u.substr(a.index+a[0].length);break;case Fe:!function(e,t){var r=n(t,!0);r&&e.push({priority:0,compile:function(e){var t=e.parent(),n=!!t.length;return n&&ne.$$addBindingClass(t),function(e,t){var i=t.parent();n||ne.$$addBindingClass(i),ne.$$addBindingInfo(i,r.expressions),e.$watch(r,function(e){t[0].nodeValue=e})}}})}(t,e.nodeValue);break;case Ue:if(!I)break;!function(e,t,n,r,i){try{var o=s.exec(e.nodeValue);if(o){var a=xn(o[1]);ye(t,a,"M",r,i)&&(n[a]=ee(o[2]))}}catch(e){}}(e,t,r,i,o)}return t.sort($e),t}function de(e,t,n){var r=[],i=0;if(t&&e.hasAttribute&&e.hasAttribute(t))do{if(!e)throw hn("uterdir","Unterminated attribute, found '{0}' but no matching '{1}' found.",t,n);e.nodeType===Ve&&(e.hasAttribute(t)&&i++,e.hasAttribute(n)&&i--),r.push(e),e=e.nextSibling}while(i>0);else r.push(e);return a(r)}function he(e,t,n){return function(r,i,o,a,s){return i=de(i[0],t,n),e(r,i,o,a,s)}}function ge(e,t,n,r,i,o){var a;return e?ne(t,n,r,i,o):function(){return a||(a=ne(t,n,r,i,o),t=n=o=null),a.apply(this,arguments)}}function me(t,n,r,i,o,s,l,c,u){u=u||{};for(var d,p,f,g,m,v=-Number.MAX_VALUE,b=u.newScopeDirective,y=u.controllerDirectives,x=u.newIsolateScopeDirective,w=u.templateDirective,k=u.nonTlbTranscludeDirective,$=!1,S=!1,C=u.hasElementTranscludeDirective,T=r.$$element=a(n),O=s,P=i,R=!1,j=!1,D=0,N=t.length;D<N;D++){var I=(d=t[D]).$$start,M=d.$$end;if(I&&(T=de(n,I,M)),f=void 0,v>d.priority)break;if((m=d.scope)&&(d.templateUrl||(q(m)?(Ee("new/isolated scope",x||b,d,T),x=d):Ee("new/isolated scope",x,d,T)),b=b||d),p=d.name,!R&&(d.replace&&(d.templateUrl||d.template)||d.transclude&&!d.$$tlb)){for(var L,B=D+1;L=t[B++];)if(L.transclude&&!L.$$tlb||L.replace&&(L.templateUrl||L.template)){j=!0;break}R=!0}if(!d.templateUrl&&d.controller&&(y=y||qe(),Ee("'"+p+"' controller",y[p],d,T),y[p]=d),m=d.transclude)if($=!0,d.$$tlb||(Ee("transclusion",k,d,T),k=d),"element"===m)C=!0,v=d.priority,f=T,T=r.$$element=a(ne.$$createComment(p,r[p])),n=T[0],Te(o,pe(f),n),P=ge(j,f,i,v,O&&O.name,{nonTlbTranscludeDirective:k});else{var V=qe();if(q(m)){f=e.document.createDocumentFragment();var U=qe(),W=qe();for(var X in _(m,function(e,t){var n="?"===e.charAt(0);e=n?e.substring(1):e,U[e]=t,V[t]=null,W[t]=n}),_(T.contents(),function(t){var n=U[xn(re(t))];n?(W[n]=!0,V[n]=V[n]||e.document.createDocumentFragment(),V[n].appendChild(t)):f.appendChild(t)}),_(W,function(e,t){if(!e)throw hn("reqslot","Required transclusion slot `{0}` was not filled.",t)}),V)V[X]&&(V[X]=ge(j,V[X].childNodes,i));f=f.childNodes}else f=a(ht(n)).contents();T.empty(),(P=ge(j,f,i,void 0,void 0,{needsNewScope:d.$$isolateScope||d.$$newScope})).$$slots=V}if(d.template)if(S=!0,Ee("template",w,d,T),w=d,m=G(d.template)?d.template(T,r):d.template,m=Q(m),d.replace){if(O=d,f=ct(m)?[]:kn(Se(d.templateNamespace,ee(m))),n=f[0],1!==f.length||n.nodeType!==Ve)throw hn("tplrt","Template for directive '{0}' must have exactly one root element. {1}",p,"");Te(o,T,n);var Y={$attr:{}},K=ue(n,[],Y),J=t.splice(D+1,t.length-(D+1));(x||b)&&be(K,x,b),t=t.concat(K).concat(J),ke(r,Y),N=t.length}else T.html(m);if(d.templateUrl)S=!0,Ee("template",w,d,T),w=d,d.replace&&(O=d),oe=_e(t.splice(D,t.length-D),T,r,o,$&&P,l,c,{controllerDirectives:y,newScopeDirective:b!==d&&b,newIsolateScopeDirective:x,templateDirective:w,nonTlbTranscludeDirective:k}),N=t.length;else if(d.compile)try{g=d.compile(T,r,P);var te=d.$$originalDirective||d;G(g)?ie(null,fe(te,g),I,M):g&&ie(fe(te,g.pre),fe(te,g.post),I,M)}catch(e){h(e,we(T))}d.terminal&&(oe.terminal=!0,v=Math.max(v,d.priority))}return oe.scope=b&&!0===b.scope,oe.transcludeOnThisElement=$,oe.templateOnThisElement=S,oe.transclude=P,u.hasElementTranscludeDirective=C,oe;function ie(e,t,n,r){e&&(n&&(e=he(e,n,r)),e.require=d.require,e.directiveName=p,(x===d||d.$$isolateScope)&&(e=Ae(e,{isolateScope:!0})),l.push(e)),t&&(n&&(t=he(t,n,r)),t.require=d.require,t.directiveName=p,(x===d||d.$$isolateScope)&&(t=Ae(t,{isolateScope:!0})),c.push(t))}function oe(e,t,i,o,s){var u,d,p,f,g,m,v,k,$,S;for(var T in n===i?($=r,k=r.$$element):$=new F(k=a(i),r),g=t,x?f=t.$new(!0):b&&(g=t.$parent),s&&((v=function(e,t,n,r){var i;Z(e)||(r=n,n=t,t=e,e=void 0);C&&(i=m);n||(n=C?k.parent():k);if(!r)return s(e,t,i,n,j);var o=s.$$slots[r];if(o)return o(e,t,i,n,j);if(z(o))throw hn("noslot",'No parent directive that requires a transclusion with slot name "{0}". Element: {1}',r,we(k))}).$$boundTransclude=s,v.isSlotFilled=function(e){return!!s.$$slots[e]}),y&&(m=function(e,t,n,r,i,o,a){var s=qe();for(var l in r){var c=r[l],u={$scope:c===a||c.$$isolateScope?i:o,$element:e,$attrs:t,$transclude:n},d=c.controller;"@"===d&&(d=t[c.name]);var p=E(d,u,!0,c.controllerAs);s[c.name]=p,e.data("$"+c.name+"Controller",p.instance)}return s}(k,$,v,y,f,t,x)),x&&(ne.$$addScopeInfo(k,f,!0,!(w&&(w===x||w===x.$$originalDirective))),ne.$$addScopeClass(k,!0),f.$$isolateBindings=x.$$isolateBindings,(S=Re(t,$,f,f.$$isolateBindings,x)).removeWatches&&f.$on("$destroy",S.removeWatches)),m){var O=y[T],P=m[T],R=O.$$bindings.bindToController;P.instance=P(),k.data("$"+O.name+"Controller",P.instance),P.bindingInfo=Re(g,$,P.instance,R,O)}for(_(y,function(e,t){var n=e.require;e.bindToController&&!H(n)&&q(n)&&A(m[t].instance,ve(t,n,k,m))}),_(m,function(e){var t=e.instance;if(G(t.$onChanges))try{t.$onChanges(e.bindingInfo.initialChanges)}catch(e){h(e)}if(G(t.$onInit))try{t.$onInit()}catch(e){h(e)}G(t.$doCheck)&&(g.$watch(function(){t.$doCheck()}),t.$doCheck()),G(t.$onDestroy)&&g.$on("$destroy",function(){t.$onDestroy()})}),u=0,d=l.length;u<d;u++)Oe(p=l[u],p.isolateScope?f:t,k,$,p.require&&ve(p.directiveName,p.require,k,m),v);var j=t;for(x&&(x.template||null===x.templateUrl)&&(j=f),e&&e(j,i.childNodes,void 0,s),u=c.length-1;u>=0;u--)Oe(p=c[u],p.isolateScope?f:t,k,$,p.require&&ve(p.directiveName,p.require,k,m),v);_(m,function(e){var t=e.instance;G(t.$postLink)&&t.$postLink()})}}function ve(e,t,n,r){var i;if(V(t)){var o=t.match(u),a=t.substring(o[0].length),s=o[1]||o[3],l="?"===o[2];if("^^"===s?n=n.parent():i=(i=r&&r[a])&&i.instance,!i){var c="$"+a+"Controller";i=s?n.inheritedData(c):n.data(c)}if(!i&&!l)throw hn("ctreq","Controller '{0}', required by directive '{1}', can't be found!",a,e)}else if(H(t)){i=[];for(var d=0,p=t.length;d<p;d++)i[d]=ve(e,t[d],n,r)}else q(t)&&(i={},_(t,function(t,o){i[o]=ve(e,t,n,r)}));return i||null}function be(e,t,n){for(var r=0,i=e.length;r<i;r++)e[r]=j(e[r],{$$isolateScope:t,$$newScope:n})}function ye(e,n,o,a,s,l,c){if(n===s)return null;var u=null;if(r.hasOwnProperty(n))for(var d,p=t.get(n+i),f=0,h=p.length;f<h;f++)if(d=p[f],(z(a)||a>d.priority)&&-1!==d.restrict.indexOf(o)){if(l&&(d=j(d,{$$start:l,$$end:c})),!d.$$bindings){var g=d.$$bindings=m(d,d.name);q(g.isolateScope)&&(d.$$isolateBindings=g.isolateScope)}e.push(d),u=d}return u}function xe(e){if(r.hasOwnProperty(e))for(var n=t.get(e+i),o=0,a=n.length;o<a;o++)if(n[o].multiElement)return!0;return!1}function ke(e,t){var n=t.$attr,r=e.$attr;_(e,function(r,i){"$"!==i.charAt(0)&&(t[i]&&t[i]!==r&&(r.length?r+=("style"===i?";":" ")+t[i]:r=t[i]),e.$set(i,r,!0,n[i]))}),_(t,function(t,i){e.hasOwnProperty(i)||"$"===i.charAt(0)||(e[i]=t,"class"!==i&&"style"!==i&&(r[i]=n[i]))})}function _e(e,t,n,r,i,o,s,l){var c,u,d=[],p=t[0],f=e.shift(),m=j(f,{templateUrl:null,transclude:null,replace:null,$$originalDirective:f}),v=G(f.templateUrl)?f.templateUrl(t,n):f.templateUrl,b=f.templateNamespace;return t.empty(),g(v).then(function(h){var g,y,x,w;if(h=Q(h),f.replace){if(x=ct(h)?[]:kn(Se(b,ee(h))),g=x[0],1!==x.length||g.nodeType!==Ve)throw hn("tplrt","Template for directive '{0}' must have exactly one root element. {1}",f.name,v);y={$attr:{}},Te(r,t,g);var k=ue(g,[],y);q(f.scope)&&be(k,!0),e=k.concat(e),ke(n,y)}else g=p,t.html(h);for(e.unshift(m),c=me(e,g,n,i,t,f,o,s,l),_(r,function(e,n){e===g&&(r[n]=t[0])}),u=ie(t[0].childNodes,i);d.length;){var $=d.shift(),E=d.shift(),S=d.shift(),C=d.shift(),T=t[0];if(!$.$$destroyed){if(E!==p){var A=E.className;l.hasElementTranscludeDirective&&f.replace||(T=ht(g)),Te(S,a(E),T),U(a(T),A)}w=c.transcludeOnThisElement?ce($,c.transclude,C):C,c(u,$,T,r,w)}}d=null}).catch(function(e){W(e)&&h(e)}),function(e,t,n,r,i){var o=i;t.$$destroyed||(d?d.push(t,n,r,o):(c.transcludeOnThisElement&&(o=ce(t,c.transclude,i)),c(u,t,n,r,o)))}}function $e(e,t){var n=t.priority-e.priority;return 0!==n?n:e.name!==t.name?e.name<t.name?-1:1:e.index-t.index}function Ee(e,t,n,r){function i(e){return e?" (module: "+e+")":""}if(t)throw hn("multidir","Multiple directives [{0}{1}, {2}{3}] asking for {4} on: {5}",t.name,i(t.$$moduleName),n.name,i(n.$$moduleName),e,we(r))}function Se(t,n){switch(t=p(t||"html")){case"svg":case"math":var r=e.document.createElement("div");return r.innerHTML="<"+t+">"+n+"</"+t+">",r.childNodes[0].childNodes;default:return n}}function Ce(e,t,r,i,o){var a=function(e,t){if("srcdoc"===t)return C.HTML;var n=re(e);return"src"===t||"ngSrc"===t?-1===["img","video","audio","source","track"].indexOf(n)?C.RESOURCE_URL:C.MEDIA_URL:"xlinkHref"===t?"image"===n?C.MEDIA_URL:"a"===n?C.URL:C.RESOURCE_URL:"form"===n&&"action"===t||"base"===n&&"href"===t||"link"===n&&"href"===t?C.RESOURCE_URL:"a"!==n||"href"!==t&&"ngHref"!==t?void 0:C.URL}(e,i),s=!o,l=c[i]||o,u=n(r,s,a,l);if(u){if("multiple"===i&&"select"===re(e))throw hn("selmulti","Binding to the 'multiple' attribute is not supported. Element: {0}",we(e));if(f.test(i))throw hn("nodomevents","Interpolations for HTML DOM event attributes are disallowed.  Please use the ng- versions (such as ng-click instead of onclick) instead.");t.push({priority:100,compile:function(){return{pre:function(e,t,o){var s=o.$$observers||(o.$$observers=qe()),c=o[i];c!==r&&(u=c&&n(c,!0,a,l),r=c),u&&(o[i]=u(e),(s[i]||(s[i]=[])).$$inter=!0,(o.$$observers&&o.$$observers[i].$$scope||e).$watch(u,function(e,t){"class"===i&&e!==t?o.$updateClass(e,t):o.$set(i,e)}))}}}})}}function Te(t,n,r){var i,o,s=n[0],l=n.length,c=s.parentNode;if(t)for(i=0,o=t.length;i<o;i++)if(t[i]===s){t[i++]=r;for(var u=i,d=u+l-1,p=t.length;u<p;u++,d++)d<p?t[u]=t[d]:delete t[u];t.length-=l-1,t.context===s&&(t.context=r);break}c&&c.replaceChild(r,s);var f=e.document.createDocumentFragment();for(i=0;i<l;i++)f.appendChild(n[i]);for(a.hasData(s)&&(a.data(r,a.data(s)),a(s).off("$destroy")),a.cleanData(f.querySelectorAll("*")),i=1;i<l;i++)delete n[i];n[0]=r,n.length=1}function Ae(e,t){return A(function(){return e.apply(null,arguments)},e,t)}function Oe(e,t,n,r,i,o){try{e(t,n,r,i,o)}catch(e){h(e,we(n))}}function Pe(e,t){if(y)throw hn("missingattr","Attribute '{0}' of '{1}' is non-optional and must be set!",e,t)}function Re(e,t,r,i,o){var a,s=[],l={};function c(t,n,i){G(r.$onChanges)&&!se(n,i)&&(O||(e.$$postDigest(B),O=[]),a||(a={},O.push(u)),a[t]&&(i=a[t].previousValue),a[t]=new vn(i,n))}function u(){r.$onChanges(a),a=void 0}return _(i,function(i,a){var u,p,f,h,g,m=i.attrName,v=i.optional;switch(i.mode){case"@":v||d.call(t,m)||(Pe(m,o.name),r[a]=t[m]=void 0),g=t.$observe(m,function(e){if(V(e)||K(e)){var t=r[a];c(a,e,t),r[a]=e}}),t.$$observers[m].$$scope=e,V(u=t[m])?r[a]=n(u)(e):K(u)&&(r[a]=u),l[a]=new vn(gn,r[a]),s.push(g);break;case"=":if(!d.call(t,m)){if(v)break;Pe(m,o.name),t[m]=void 0}if(v&&!t[m])break;p=$(t[m]),h=p.literal?le:se,f=p.assign||function(){throw u=r[a]=p(e),hn("nonassign","Expression '{0}' in attribute '{1}' used with directive '{2}' is non-assignable!",t[m],m,o.name)},u=r[a]=p(e);var b=function(t){return h(t,r[a])||(h(t,u)?f(e,t=r[a]):r[a]=t),u=t};b.$stateful=!0,g=i.collection?e.$watchCollection(t[m],b):e.$watch($(t[m],b),null,p.literal),s.push(g);break;case"<":if(!d.call(t,m)){if(v)break;Pe(m,o.name),t[m]=void 0}if(v&&!t[m])break;var y=(p=$(t[m])).literal,x=r[a]=p(e);l[a]=new vn(gn,r[a]),g=e[i.collection?"$watchCollection":"$watch"](p,function(e,t){if(t===e){if(t===x||y&&le(t,x))return;t=x}c(a,e,t),r[a]=e}),s.push(g);break;case"&":if(v||d.call(t,m)||Pe(m,o.name),(p=t.hasOwnProperty(m)?$(t[m]):D)===D&&v)break;r[a]=function(t){return p(e,t)}}}),{initialChanges:l,removeWatches:s.length&&function(){for(var e=0,t=s.length;e<t;++e)s[e]()}}}}]}function vn(e,t){this.previousValue=e,this.currentValue=t}mn.$inject=["$provide","$$sanitizeUriProvider"],vn.prototype.isFirstChange=function(){return this.previousValue===gn};var bn=/^((?:x|data)[:\-_])/i,yn=/[:\-_]+(.)/g;function xn(e){return e.replace(bn,"").replace(yn,function(e,t,n){return n?t.toUpperCase():t})}function wn(e,t){var n="",r=e.split(/\s+/),i=t.split(/\s+/);e:for(var o=0;o<r.length;o++){for(var a=r[o],s=0;s<i.length;s++)if(a===i[s])continue e;n+=(n.length>0?" ":"")+a}return n}function kn(e){var t=(e=a(e)).length;if(t<=1)return e;for(;t--;){var n=e[t];(n.nodeType===Ue||n.nodeType===Fe&&""===n.nodeValue.trim())&&g.call(e,t,1)}return e}var _n=i("$controller"),$n=/^(\S+)(\s+as\s+([\w$]+))?$/;function En(){var e={};this.has=function(t){return e.hasOwnProperty(t)},this.register=function(t,n){ze(t,"controller"),q(t)?A(e,t):e[t]=n},this.$get=["$injector",function(t){return function(r,i,o,a){var s,l,c,u;if(o=!0===o,a&&V(a)&&(u=a),V(r)){if(!(l=r.match($n)))throw _n("ctrlfmt","Badly formed controller string '{0}'. Must match `__name__ as __id__` or `__name__`.",r);if(c=l[1],u=u||l[3],!(r=e.hasOwnProperty(c)?e[c]:function(e,t,n){if(!t)return e;for(var r,i=t.split("."),o=e,a=i.length,s=0;s<a;s++)r=i[s],e&&(e=(o=e)[r]);return!n&&G(e)?fe(o,e):e}(i.$scope,c,!0)))throw _n("ctrlreg","The controller with the name '{0}' is not registered.",c);Me(r,c,!0)}if(o){var d=(H(r)?r[r.length-1]:r).prototype;return s=Object.create(d||null),u&&n(i,u,s,c||r.name),A(function(){var e=t.invoke(r,s,i,c);return e!==s&&(q(e)||G(e))&&(s=e,u&&n(i,u,s,c||r.name)),s},{instance:s,identifier:u})}return s=t.instantiate(r,i,c),u&&n(i,u,s,c||r.name),s};function n(e,t,n,r){if(!e||!q(e.$scope))throw i("$controller")("noscp","Cannot export controller '{0}' as '{1}'! No $scope object provided via `locals`.",r,t);e.$scope[t]=n}}]}function Sn(){this.$get=["$window",function(e){return a(e.document)}]}function Cn(){this.$get=["$document","$rootScope",function(e,t){var n=e[0],r=n&&n.hidden;function i(){r=n.hidden}return e.on("visibilitychange",i),t.$on("$destroy",function(){e.off("visibilitychange",i)}),function(){return r}}]}function Tn(){this.$get=["$log",function(e){return function(t,n){e.error.apply(e,arguments)}}]}var An=function(){this.$get=["$document",function(e){return function(t){return t?!t.nodeType&&t instanceof a&&(t=t[0]):t=e[0].body,t.offsetWidth+1}}]},On="application/json",Pn={"Content-Type":On+";charset=utf-8"},Rn=/^\[|^\{(?!\{)/,jn={"[":/]$/,"{":/}$/},Dn=/^\)]\}',?\n/,Nn=i("$http");function In(e){return q(e)?U(e)?e.toISOString():ge(e):e}function Mn(){this.$get=function(){return function(e){if(!e)return"";var t=[];return $(e,function(e,n){null===e||z(e)||G(e)||(H(e)?_(e,function(e){t.push(Se(n)+"="+Se(In(e)))}):t.push(Se(n)+"="+Se(In(e))))}),t.join("&")}}}function zn(){this.$get=function(){return function(e){if(!e)return"";var t=[];return function e(n,r,i){H(n)?_(n,function(t,n){e(t,r+"["+(q(t)?n:"")+"]")}):q(n)&&!U(n)?$(n,function(t,n){e(t,r+(i?"":"[")+n+(i?"":"]"))}):(G(n)&&(n=n()),t.push(Se(r)+"="+(null==n?"":Se(In(n)))))}(e,"",!0),t.join("&")}}}function Ln(e,t){if(V(e)){var n=e.replace(Dn,"").trim();if(n){var r=t("Content-Type"),i=r&&0===r.indexOf(On);if(i||function(e){var t=e.match(Rn);return t&&jn[t[0]].test(e)}(n))try{e=me(n)}catch(t){if(!i)return e;throw Nn("baddata",'Data must be a valid JSON object. Received: "{0}". Parse error: "{1}"',e,t)}}}return e}function qn(e){var t,n=qe();function r(e,t){e&&(n[e]=n[e]?n[e]+", "+t:t)}return V(e)?_(e.split("\n"),function(e){t=e.indexOf(":"),r(p(ee(e.substr(0,t))),ee(e.substr(t+1)))}):q(e)&&_(e,function(e,t){r(p(t),ee(e))}),n}function Bn(e){var t;return function(n){if(t||(t=qn(e)),n){var r=t[p(n)];return void 0===r&&(r=null),r}return t}}function Vn(e,t,n,r){return G(r)?r(e,t,n):(_(r,function(r){e=r(e,t,n)}),e)}function Fn(e){return 200<=e&&e<300}function Un(){var e=this.defaults={transformResponse:[Ln],transformRequest:[function(e){return!q(e)||function(e){return"[object File]"===v.call(e)}(e)||function(e){return"[object Blob]"===v.call(e)}(e)||function(e){return"[object FormData]"===v.call(e)}(e)?e:ge(e)}],headers:{common:{Accept:"application/json, text/plain, */*"},post:Ge(Pn),put:Ge(Pn),patch:Ge(Pn)},xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",paramSerializer:"$httpParamSerializer",jsonpCallbackParam:"callback"},t=!1;this.useApplyAsync=function(e){return L(e)?(t=!!e,this):t};var n=this.interceptors=[],r=this.xsrfWhitelistedOrigins=[];this.$get=["$browser","$httpBackend","$$cookieReader","$cacheFactory","$rootScope","$q","$injector","$sce",function(o,a,s,l,c,u,d,h){var g=l("$http");e.paramSerializer=V(e.paramSerializer)?d.get(e.paramSerializer):e.paramSerializer;var m=[];_(n,function(e){m.unshift(V(e)?d.get(e):d.invoke(e))});var v=function(e){var t=[si].concat(e.map(li));return function(e){var n=li(e);return t.some(ci.bind(null,n))}}(r);function b(n){if(!q(n))throw i("$http")("badreq","Http request configuration must be an object.  Received: {0}",n);if(!V(h.valueOf(n.url)))throw i("$http")("badreq","Http request configuration url must be a string or a $sce trusted object.  Received: {0}",n.url);var r=A({method:"get",transformRequest:e.transformRequest,transformResponse:e.transformResponse,paramSerializer:e.paramSerializer,jsonpCallbackParam:e.jsonpCallbackParam},n);r.headers=function(t){var n,r,i,o=e.headers,a=A({},t.headers);o=A({},o.common,o[p(t.method)]);e:for(n in o){for(i in r=p(n),a)if(p(i)===r)continue e;a[n]=o[n]}return function(e,t){var n,r={};return _(e,function(e,i){G(e)?null!=(n=e(t))&&(r[i]=n):r[i]=e}),r}(a,Ge(t))}(n),r.method=f(r.method),r.paramSerializer=V(r.paramSerializer)?d.get(r.paramSerializer):r.paramSerializer,o.$$incOutstandingRequestCount();var l=[],y=[],x=u.resolve(r);return _(m,function(e){(e.request||e.requestError)&&l.unshift(e.request,e.requestError),(e.response||e.responseError)&&y.push(e.response,e.responseError)}),x=(x=w(x=(x=w(x,l)).then(function(n){var r=n.headers,i=Vn(n.data,Bn(r),void 0,n.transformRequest);z(i)&&_(r,function(e,t){"content-type"===p(t)&&delete r[t]});z(n.withCredentials)&&!z(e.withCredentials)&&(n.withCredentials=e.withCredentials);return function(n,r){var i,o,l=u.defer(),d=l.promise,f=n.headers,m="jsonp"===p(n.method),y=n.url;m?y=h.getTrustedResourceUrl(y):V(y)||(y=h.valueOf(y));y=function(e,t){return t.length>0&&(e+=(-1===e.indexOf("?")?"?":"&")+t),e}(y,n.paramSerializer(n.params)),m&&(y=function(e,t){var n=e.split("?");if(n.length>2)throw Nn("badjsonp",'Illegal use more than one "?", in url, "{1}"',e);return _(_e(n[1]),function(n,r){if("JSON_CALLBACK"===n)throw Nn("badjsonp",'Illegal use of JSON_CALLBACK in url, "{0}"',e);if(r===t)throw Nn("badjsonp",'Illegal use of callback param, "{0}", in url, "{1}"',t,e)}),e+=(-1===e.indexOf("?")?"?":"&")+t+"=JSON_CALLBACK"}(y,n.jsonpCallbackParam));b.pendingRequests.push(n),d.then(E,E),!n.cache&&!e.cache||!1===n.cache||"GET"!==n.method&&"JSONP"!==n.method||(i=q(n.cache)?n.cache:q(e.cache)?e.cache:g);i&&(L(o=i.get(y))?Q(o)?o.then($,$):H(o)?k(o[1],o[0],Ge(o[2]),o[3],o[4]):k(o,200,{},"OK","complete"):i.put(y,d));if(z(o)){var x=v(n.url)?s()[n.xsrfCookieName||e.xsrfCookieName]:void 0;x&&(f[n.xsrfHeaderName||e.xsrfHeaderName]=x),a(n.method,y,r,function(e,n,r,o,a){i&&(Fn(e)?i.put(y,[e,n,qn(r),o,a]):i.remove(y));function s(){k(n,e,r,o,a)}t?c.$applyAsync(s):(s(),c.$$phase||c.$apply())},f,n.timeout,n.withCredentials,n.responseType,w(n.eventHandlers),w(n.uploadEventHandlers))}return d;function w(e){if(e){var n={};return _(e,function(e,r){n[r]=function(n){function r(){e(n)}t?c.$applyAsync(r):c.$$phase?r():c.$apply(r)}}),n}}function k(e,t,r,i,o){(Fn(t=t>=-1?t:0)?l.resolve:l.reject)({data:e,status:t,headers:Bn(r),config:n,statusText:i,xhrStatus:o})}function $(e){k(e.data,e.status,Ge(e.headers()),e.statusText,e.xhrStatus)}function E(){var e=b.pendingRequests.indexOf(n);-1!==e&&b.pendingRequests.splice(e,1)}}(n,i).then(k,k)}),y)).finally(function(){o.$$completeOutstandingRequest(D)});function w(e,t){for(var n=0,r=t.length;n<r;){var i=t[n++],o=t[n++];e=e.then(i,o)}return t.length=0,e}function k(e){var t=A({},e);return t.data=Vn(e.data,e.headers,e.status,r.transformResponse),Fn(e.status)?t:u.reject(t)}}return b.pendingRequests=[],function(e){_(arguments,function(e){b[e]=function(t,n){return b(A({},n||{},{method:e,url:t}))}})}("get","delete","head","jsonp"),function(e){_(arguments,function(e){b[e]=function(t,n,r){return b(A({},r||{},{method:e,url:t,data:n}))}})}("post","put","patch"),b.defaults=e,b}]}function Hn(){this.$get=function(){return function(){return new e.XMLHttpRequest}}}function Wn(){this.$get=["$browser","$jsonpCallbacks","$document","$xhrFactory",function(e,t,n,r){return function(e,t,n,r,i){return function(o,a,s,l,c,u,d,f,h,g){if(a=a||e.url(),"jsonp"===p(o))var m=r.createCallback(a),v=function(e,t,n){e=e.replace("JSON_CALLBACK",t);var o=i.createElement("script"),a=null;return o.type="text/javascript",o.src=e,o.async=!0,a=function(e){o.removeEventListener("load",a),o.removeEventListener("error",a),i.body.removeChild(o),o=null;var s=-1,l="unknown";e&&("load"!==e.type||r.wasCalled(t)||(e={type:"error"}),l=e.type,s="error"===e.type?404:200),n&&n(s,l)},o.addEventListener("load",a),o.addEventListener("error",a),i.body.appendChild(o),a}(a,m,function(e,t){var n=200===e&&r.getResponse(m);k(l,e,n,"",t,"complete"),r.removeCallback(m)});else{var b=t(o,a),y=!1;b.open(o,a,!0),_(c,function(e,t){L(e)&&b.setRequestHeader(t,e)}),b.onload=function(){var e=b.statusText||"",t="response"in b?b.response:b.responseText,n=1223===b.status?204:b.status;0===n&&(n=t?200:"file"===li(a).protocol?404:0),k(l,n,t,b.getAllResponseHeaders(),e,"complete")};if(b.onerror=function(){k(l,-1,null,null,"","error")},b.ontimeout=function(){k(l,-1,null,null,"","timeout")},b.onabort=function(){k(l,-1,null,null,"",y?"timeout":"abort")},_(h,function(e,t){b.addEventListener(t,e)}),_(g,function(e,t){b.upload.addEventListener(t,e)}),d&&(b.withCredentials=!0),f)try{b.responseType=f}catch(e){if("json"!==f)throw e}b.send(z(s)?null:s)}if(u>0)var x=n(function(){w("timeout")},u);else Q(u)&&u.then(function(){w(L(u.$$timeoutId)?"timeout":"abort")});function w(e){y="timeout"===e,v&&v(),b&&b.abort()}function k(e,t,r,i,o,a){L(x)&&n.cancel(x),v=b=null,e(t,r,i,o,a)}}}(e,r,e.defer,t,n[0])}]}var Gn=x.$interpolateMinErr=i("$interpolate");function Xn(){var e="{{",t="}}";this.startSymbol=function(t){return t?(e=t,this):e},this.endSymbol=function(e){return e?(t=e,this):t},this.$get=["$parse","$exceptionHandler","$sce",function(n,r,i){var o=e.length,a=t.length,s=new RegExp(e.replace(/./g,c),"g"),l=new RegExp(t.replace(/./g,c),"g");function c(e){return"\\\\\\"+e}function u(n){return n.replace(s,e).replace(l,t)}function d(e,t,n,r){var i=e.$watch(function(e){return i(),r(e)},t,n);return i}function p(s,l,c,p){var f=c===i.URL||c===i.MEDIA_URL;if(!s.length||-1===s.indexOf(e)){if(l&&!f)return;var h=u(s);f&&(h=i.getTrusted(c,h));var g=I(h);return g.exp=s,g.expressions=[],g.$$watchDelegate=d,g}p=!!p;for(var m,v,b,y,x,w=0,k=[],_=s.length,$=[],E=[];w<_;){if(-1===(m=s.indexOf(e,w))||-1===(v=s.indexOf(t,m+o))){w!==_&&$.push(u(s.substring(w)));break}w!==m&&$.push(u(s.substring(w,m))),y=s.substring(m+o,v),k.push(y),w=v+a,E.push($.length),$.push("")}x=1===$.length&&1===E.length;var S=f&&x?void 0:function(e){try{return e=c&&!f?i.getTrusted(c,e):i.valueOf(e),p&&!L(e)?e:Be(e)}catch(e){r(Gn.interr(s,e))}};if(b=k.map(function(e){return n(e,S)}),!l||k.length){var C=function(e){for(var t=0,n=k.length;t<n;t++){if(p&&z(e[t]))return;$[E[t]]=e[t]}return f?i.getTrusted(c,x?$[0]:$.join("")):(c&&$.length>1&&Gn.throwNoconcat(s),$.join(""))};return A(function(e){var t=0,n=k.length,i=new Array(n);try{for(;t<n;t++)i[t]=b[t](e);return C(i)}catch(e){r(Gn.interr(s,e))}},{exp:s,expressions:k,$$watchDelegate:function(e,t){var n;return e.$watchGroup(b,function(r,i){var o=C(r);t.call(this,o,r!==i?n:o,e),n=o})}})}}return p.startSymbol=function(){return e},p.endSymbol=function(){return t},p}]}Gn.throwNoconcat=function(e){throw Gn("noconcat","Error while interpolating: {0}\nStrict Contextual Escaping disallows interpolations that concatenate multiple expressions when a trusted value is required.  See http://docs.angularjs.org/api/ng.$sce",e)},Gn.interr=function(e,t){return Gn("interr","Can't interpolate: {0}\n{1}",e,t.toString())};var Yn=i("$interval");function Zn(){this.$get=["$rootScope","$window","$q","$$q","$browser",function(e,t,n,r,i){var o={};function a(a,s,l,c){var u=arguments.length>4,d=u?pe(arguments,4):[],p=t.setInterval,f=t.clearInterval,h=0,g=L(c)&&!c,m=(g?r:n).defer(),v=m.promise;return l=L(l)?l:0,v.$$intervalId=p(function(){g?i.defer(b):e.$evalAsync(b),m.notify(h++),l>0&&h>=l&&(m.resolve(h),f(v.$$intervalId),delete o[v.$$intervalId]),g||e.$apply()},s),o[v.$$intervalId]=m,v;function b(){u?a.apply(null,d):a(h)}}return a.cancel=function(e){if(!e)return!1;if(!e.hasOwnProperty("$$intervalId"))throw Yn("badprom","`$interval.cancel()` called with a promise that was not generated by `$interval()`.");if(!o.hasOwnProperty(e.$$intervalId))return!1;var n=e.$$intervalId,r=o[n];return Vr(r.promise),r.reject("canceled"),t.clearInterval(n),delete o[n],!0},a}]}var Kn=function(){this.$get=function(){var e=x.callbacks,t={};return{createCallback:function(n){var r="_"+(e.$$counter++).toString(36),i="angular.callbacks."+r,o=function(e){var t=function(e){t.data=e,t.called=!0};return t.id=e,t}(r);return t[i]=e[r]=o,i},wasCalled:function(e){return t[e].called},getResponse:function(e){return t[e].data},removeCallback:function(n){var r=t[n];delete e[r.id],delete t[n]}}}},Qn=/^([^?#]*)(\?([^#]*))?(#(.*))?$/,Jn={http:80,https:443,ftp:21},er=i("$location");function tr(e){for(var t=e.split("/"),n=t.length;n--;)t[n]=Ee(t[n].replace(/%2F/g,"/"));return t.join("/")}function nr(e,t){var n=li(e);t.$$protocol=n.protocol,t.$$host=n.hostname,t.$$port=P(n.port)||Jn[n.protocol]||null}var rr=/^\s*[\\/]{2,}/;function ir(e,t,n){if(rr.test(e))throw er("badpath",'Invalid url "{0}".',e);var r="/"!==e.charAt(0);r&&(e="/"+e);var i=li(e),o=r&&"/"===i.pathname.charAt(0)?i.pathname.substring(1):i.pathname;t.$$path=function(e,t){for(var n=e.split("/"),r=n.length;r--;)n[r]=decodeURIComponent(n[r]),t&&(n[r]=n[r].replace(/\//g,"%2F"));return n.join("/")}(o,n),t.$$search=_e(i.search),t.$$hash=decodeURIComponent(i.hash),t.$$path&&"/"!==t.$$path.charAt(0)&&(t.$$path="/"+t.$$path)}function or(e,t){return e.slice(0,t.length)===t}function ar(e,t){if(or(t,e))return t.substr(e.length)}function sr(e){var t=e.indexOf("#");return-1===t?e:e.substr(0,t)}function lr(e){return e.replace(/(#.+)|#$/,"$1")}function cr(e,t,n){this.$$html5=!0,n=n||"",nr(e,this),this.$$parse=function(e){var n=ar(t,e);if(!V(n))throw er("ipthprfx",'Invalid url "{0}", missing path prefix "{1}".',e,t);ir(n,this,!0),this.$$path||(this.$$path="/"),this.$$compose()},this.$$compose=function(){var e=$e(this.$$search),n=this.$$hash?"#"+Ee(this.$$hash):"";this.$$url=tr(this.$$path)+(e?"?"+e:"")+n,this.$$absUrl=t+this.$$url.substr(1),this.$$urlUpdatedByLocation=!0},this.$$parseLinkUrl=function(r,i){return i&&"#"===i[0]?(this.hash(i.slice(1)),!0):(L(o=ar(e,r))?(a=o,s=n&&L(o=ar(n,o))?t+(ar("/",o)||o):e+a):L(o=ar(t,r))?s=t+o:t===r+"/"&&(s=t),s&&this.$$parse(s),!!s);var o,a,s}}function ur(e,t,n){nr(e,this),this.$$parse=function(r){var i,o=ar(e,r)||ar(t,r);z(o)||"#"!==o.charAt(0)?this.$$html5?i=o:(i="",z(o)&&(e=r,this.replace())):z(i=ar(n,o))&&(i=o),ir(i,this,!1),this.$$path=function(e,t,n){var r,i=/^\/[A-Z]:(\/.*)/;or(t,n)&&(t=t.replace(n,""));if(i.exec(t))return e;return(r=i.exec(e))?r[1]:e}(this.$$path,i,e),this.$$compose()},this.$$compose=function(){var t=$e(this.$$search),r=this.$$hash?"#"+Ee(this.$$hash):"";this.$$url=tr(this.$$path)+(t?"?"+t:"")+r,this.$$absUrl=e+(this.$$url?n+this.$$url:""),this.$$urlUpdatedByLocation=!0},this.$$parseLinkUrl=function(t,n){return sr(e)===sr(t)&&(this.$$parse(t),!0)}}function dr(e,t,n){this.$$html5=!0,ur.apply(this,arguments),this.$$parseLinkUrl=function(r,i){return i&&"#"===i[0]?(this.hash(i.slice(1)),!0):(e===sr(r)?o=r:(a=ar(t,r))?o=e+n+a:t===r+"/"&&(o=t),o&&this.$$parse(o),!!o);var o,a},this.$$compose=function(){var t=$e(this.$$search),r=this.$$hash?"#"+Ee(this.$$hash):"";this.$$url=tr(this.$$path)+(t?"?"+t:"")+r,this.$$absUrl=e+n+this.$$url,this.$$urlUpdatedByLocation=!0}}var pr={$$absUrl:"",$$html5:!1,$$replace:!1,absUrl:fr("$$absUrl"),url:function(e){if(z(e))return this.$$url;var t=Qn.exec(e);return(t[1]||""===e)&&this.path(decodeURIComponent(t[1])),(t[2]||t[1]||""===e)&&this.search(t[3]||""),this.hash(t[5]||""),this},protocol:fr("$$protocol"),host:fr("$$host"),port:fr("$$port"),path:hr("$$path",function(e){return"/"===(e=null!==e?e.toString():"").charAt(0)?e:"/"+e}),search:function(e,t){switch(arguments.length){case 0:return this.$$search;case 1:if(V(e)||F(e))e=e.toString(),this.$$search=_e(e);else{if(!q(e))throw er("isrcharg","The first argument of the `$location#search()` call must be a string or an object.");_(e=ae(e,{}),function(t,n){null==t&&delete e[n]}),this.$$search=e}break;default:z(t)||null===t?delete this.$$search[e]:this.$$search[e]=t}return this.$$compose(),this},hash:hr("$$hash",function(e){return null!==e?e.toString():""}),replace:function(){return this.$$replace=!0,this}};function fr(e){return function(){return this[e]}}function hr(e,t){return function(n){return z(n)?this[e]:(this[e]=t(n),this.$$compose(),this)}}function gr(){var e="!",t={enabled:!1,requireBase:!0,rewriteLinks:!0};this.hashPrefix=function(t){return L(t)?(e=t,this):e},this.html5Mode=function(e){return K(e)?(t.enabled=e,this):q(e)?(K(e.enabled)&&(t.enabled=e.enabled),K(e.requireBase)&&(t.requireBase=e.requireBase),(K(e.rewriteLinks)||V(e.rewriteLinks))&&(t.rewriteLinks=e.rewriteLinks),this):t},this.$get=["$rootScope","$browser","$sniffer","$rootElement","$window",function(n,r,i,o,s){var l,c,u,d=r.baseHref(),p=r.url();if(t.enabled){if(!d&&t.requireBase)throw er("nobase","$location in HTML5 mode requires a <base> tag to be present!");u=function(e){return e.substring(0,e.indexOf("/",e.indexOf("//")+2))}(p)+(d||"/"),c=i.history?cr:dr}else u=sr(p),c=ur;var f=function(e){return e.substr(0,sr(e).lastIndexOf("/")+1)}(u);(l=new c(u,f,"#"+e)).$$parseLinkUrl(p,p),l.$$state=r.state();var h=/^\s*(javascript|mailto):/i;function g(e,t,n){var i=l.url(),o=l.$$state;try{r.url(e,t,n),l.$$state=r.state()}catch(e){throw l.url(i),l.$$state=o,e}}o.on("click",function(e){var i=t.rewriteLinks;if(i&&!e.ctrlKey&&!e.metaKey&&!e.shiftKey&&2!==e.which&&2!==e.button){for(var s=a(e.target);"a"!==re(s[0]);)if(s[0]===o[0]||!(s=s.parent())[0])return;if(!V(i)||!z(s.attr(i))){var c=s.prop("href"),u=s.attr("href")||s.attr("xlink:href");q(c)&&"[object SVGAnimatedString]"===c.toString()&&(c=li(c.animVal).href),h.test(c)||!c||s.attr("target")||e.isDefaultPrevented()||l.$$parseLinkUrl(c,u)&&(e.preventDefault(),l.absUrl()!==r.url()&&n.$apply())}}}),lr(l.absUrl())!==lr(p)&&r.url(l.absUrl(),!0);var m=!0;return r.onUrlChange(function(e,t){or(e,f)?(n.$evalAsync(function(){var r,i=l.absUrl(),o=l.$$state;e=lr(e),l.$$parse(e),l.$$state=t,r=n.$broadcast("$locationChangeStart",e,i,t,o).defaultPrevented,l.absUrl()===e&&(r?(l.$$parse(i),l.$$state=o,g(i,!1,o)):(m=!1,v(i,o)))}),n.$$phase||n.$digest()):s.location.href=e}),n.$watch(function(){if(m||l.$$urlUpdatedByLocation){l.$$urlUpdatedByLocation=!1;var e=lr(r.url()),t=lr(l.absUrl()),o=r.state(),a=l.$$replace,s=e!==t||l.$$html5&&i.history&&o!==l.$$state;(m||s)&&(m=!1,n.$evalAsync(function(){var t=l.absUrl(),r=n.$broadcast("$locationChangeStart",t,e,l.$$state,o).defaultPrevented;l.absUrl()===t&&(r?(l.$$parse(e),l.$$state=o):(s&&g(t,a,o===l.$$state?null:l.$$state),v(e,o)))}))}l.$$replace=!1}),l;function v(e,t){n.$broadcast("$locationChangeSuccess",l.absUrl(),e,l.$$state,t)}}]}function mr(){var e=!0,t=this;this.debugEnabled=function(t){return L(t)?(e=t,this):e},this.$get=["$window",function(n){var r=o||/\bEdge\//.test(n.navigator&&n.navigator.userAgent);return{log:i("log"),info:i("info"),warn:i("warn"),error:i("error"),debug:function(){var n=i("debug");return function(){e&&n.apply(t,arguments)}}()};function i(e){var t=n.console||{},i=t[e]||t.log||D;return function(){var e=[];return _(arguments,function(t){e.push(function(e){return W(e)&&(e.stack&&r?e=e.message&&-1===e.stack.indexOf(e.message)?"Error: "+e.message+"\n"+e.stack:e.stack:e.sourceURL&&(e=e.message+"\n"+e.sourceURL+":"+e.line)),e}(t))}),Function.prototype.apply.call(i,t,e)}}}]}_([dr,ur,cr],function(e){e.prototype=Object.create(pr),e.prototype.state=function(t){if(!arguments.length)return this.$$state;if(e!==cr||!this.$$html5)throw er("nostate","History API state support is available only in HTML5 mode and only in browsers supporting HTML5 History API");return this.$$state=z(t)?null:t,this.$$urlUpdatedByLocation=!0,this}});var vr=i("$parse"),br={}.constructor.prototype.valueOf;function yr(e){return e+""}var xr=qe();_("+ - * / % === !== == != < > <= >= && || ! = |".split(" "),function(e){xr[e]=!0});var wr={n:"\n",f:"\f",r:"\r",t:"\t",v:"\v","'":"'",'"':'"'},kr=function(e){this.options=e};kr.prototype={constructor:kr,lex:function(e){for(this.text=e,this.index=0,this.tokens=[];this.index<this.text.length;){var t=this.text.charAt(this.index);if('"'===t||"'"===t)this.readString(t);else if(this.isNumber(t)||"."===t&&this.isNumber(this.peek()))this.readNumber();else if(this.isIdentifierStart(this.peekMultichar()))this.readIdent();else if(this.is(t,"(){}[].,;:?"))this.tokens.push({index:this.index,text:t}),this.index++;else if(this.isWhitespace(t))this.index++;else{var n=t+this.peek(),r=n+this.peek(2),i=xr[t],o=xr[n],a=xr[r];if(i||o||a){var s=a?r:o?n:t;this.tokens.push({index:this.index,text:s,operator:!0}),this.index+=s.length}else this.throwError("Unexpected next character ",this.index,this.index+1)}}return this.tokens},is:function(e,t){return-1!==t.indexOf(e)},peek:function(e){var t=e||1;return this.index+t<this.text.length&&this.text.charAt(this.index+t)},isNumber:function(e){return"0"<=e&&e<="9"&&"string"==typeof e},isWhitespace:function(e){return" "===e||"\r"===e||"\t"===e||"\n"===e||"\v"===e||" "===e},isIdentifierStart:function(e){return this.options.isIdentifierStart?this.options.isIdentifierStart(e,this.codePointAt(e)):this.isValidIdentifierStart(e)},isValidIdentifierStart:function(e){return"a"<=e&&e<="z"||"A"<=e&&e<="Z"||"_"===e||"$"===e},isIdentifierContinue:function(e){return this.options.isIdentifierContinue?this.options.isIdentifierContinue(e,this.codePointAt(e)):this.isValidIdentifierContinue(e)},isValidIdentifierContinue:function(e,t){return this.isValidIdentifierStart(e,t)||this.isNumber(e)},codePointAt:function(e){return 1===e.length?e.charCodeAt(0):(e.charCodeAt(0)<<10)+e.charCodeAt(1)-56613888},peekMultichar:function(){var e=this.text.charAt(this.index),t=this.peek();if(!t)return e;var n=e.charCodeAt(0),r=t.charCodeAt(0);return n>=55296&&n<=56319&&r>=56320&&r<=57343?e+t:e},isExpOperator:function(e){return"-"===e||"+"===e||this.isNumber(e)},throwError:function(e,t,n){n=n||this.index;var r=L(t)?"s "+t+"-"+this.index+" ["+this.text.substring(t,n)+"]":" "+n;throw vr("lexerr","Lexer Error: {0} at column{1} in expression [{2}].",e,r,this.text)},readNumber:function(){for(var e="",t=this.index;this.index<this.text.length;){var n=p(this.text.charAt(this.index));if("."===n||this.isNumber(n))e+=n;else{var r=this.peek();if("e"===n&&this.isExpOperator(r))e+=n;else if(this.isExpOperator(n)&&r&&this.isNumber(r)&&"e"===e.charAt(e.length-1))e+=n;else{if(!this.isExpOperator(n)||r&&this.isNumber(r)||"e"!==e.charAt(e.length-1))break;this.throwError("Invalid exponent")}}this.index++}this.tokens.push({index:t,text:e,constant:!0,value:Number(e)})},readIdent:function(){var e=this.index;for(this.index+=this.peekMultichar().length;this.index<this.text.length;){var t=this.peekMultichar();if(!this.isIdentifierContinue(t))break;this.index+=t.length}this.tokens.push({index:e,text:this.text.slice(e,this.index),identifier:!0})},readString:function(e){var t=this.index;this.index++;for(var n="",r=e,i=!1;this.index<this.text.length;){var o=this.text.charAt(this.index);if(r+=o,i){if("u"===o){var a=this.text.substring(this.index+1,this.index+5);a.match(/[\da-f]{4}/i)||this.throwError("Invalid unicode escape [\\u"+a+"]"),this.index+=4,n+=String.fromCharCode(parseInt(a,16))}else{n+=wr[o]||o}i=!1}else if("\\"===o)i=!0;else{if(o===e)return this.index++,void this.tokens.push({index:t,text:r,constant:!0,value:n});n+=o}this.index++}this.throwError("Unterminated quote",t)}};var _r=function(e,t){this.lexer=e,this.options=t};function $r(e,t){return void 0!==e?e:t}function Er(e,t){return void 0===e?t:void 0===t?e:e+t}_r.Program="Program",_r.ExpressionStatement="ExpressionStatement",_r.AssignmentExpression="AssignmentExpression",_r.ConditionalExpression="ConditionalExpression",_r.LogicalExpression="LogicalExpression",_r.BinaryExpression="BinaryExpression",_r.UnaryExpression="UnaryExpression",_r.CallExpression="CallExpression",_r.MemberExpression="MemberExpression",_r.Identifier="Identifier",_r.Literal="Literal",_r.ArrayExpression="ArrayExpression",_r.Property="Property",_r.ObjectExpression="ObjectExpression",_r.ThisExpression="ThisExpression",_r.LocalsExpression="LocalsExpression",_r.NGValueParameter="NGValueParameter",_r.prototype={ast:function(e){this.text=e,this.tokens=this.lexer.lex(e);var t=this.program();return 0!==this.tokens.length&&this.throwError("is an unexpected token",this.tokens[0]),t},program:function(){for(var e=[];;)if(this.tokens.length>0&&!this.peek("}",")",";","]")&&e.push(this.expressionStatement()),!this.expect(";"))return{type:_r.Program,body:e}},expressionStatement:function(){return{type:_r.ExpressionStatement,expression:this.filterChain()}},filterChain:function(){for(var e=this.expression();this.expect("|");)e=this.filter(e);return e},expression:function(){return this.assignment()},assignment:function(){var e=this.ternary();if(this.expect("=")){if(!Or(e))throw vr("lval","Trying to assign a value to a non l-value");e={type:_r.AssignmentExpression,left:e,right:this.assignment(),operator:"="}}return e},ternary:function(){var e,t,n=this.logicalOR();return this.expect("?")&&(e=this.expression(),this.consume(":"))?(t=this.expression(),{type:_r.ConditionalExpression,test:n,alternate:e,consequent:t}):n},logicalOR:function(){for(var e=this.logicalAND();this.expect("||");)e={type:_r.LogicalExpression,operator:"||",left:e,right:this.logicalAND()};return e},logicalAND:function(){for(var e=this.equality();this.expect("&&");)e={type:_r.LogicalExpression,operator:"&&",left:e,right:this.equality()};return e},equality:function(){for(var e,t=this.relational();e=this.expect("==","!=","===","!==");)t={type:_r.BinaryExpression,operator:e.text,left:t,right:this.relational()};return t},relational:function(){for(var e,t=this.additive();e=this.expect("<",">","<=",">=");)t={type:_r.BinaryExpression,operator:e.text,left:t,right:this.additive()};return t},additive:function(){for(var e,t=this.multiplicative();e=this.expect("+","-");)t={type:_r.BinaryExpression,operator:e.text,left:t,right:this.multiplicative()};return t},multiplicative:function(){for(var e,t=this.unary();e=this.expect("*","/","%");)t={type:_r.BinaryExpression,operator:e.text,left:t,right:this.unary()};return t},unary:function(){var e;return(e=this.expect("+","-","!"))?{type:_r.UnaryExpression,operator:e.text,prefix:!0,argument:this.unary()}:this.primary()},primary:function(){var e,t;for(this.expect("(")?(e=this.filterChain(),this.consume(")")):this.expect("[")?e=this.arrayDeclaration():this.expect("{")?e=this.object():this.selfReferential.hasOwnProperty(this.peek().text)?e=ae(this.selfReferential[this.consume().text]):this.options.literals.hasOwnProperty(this.peek().text)?e={type:_r.Literal,value:this.options.literals[this.consume().text]}:this.peek().identifier?e=this.identifier():this.peek().constant?e=this.constant():this.throwError("not a primary expression",this.peek());t=this.expect("(","[",".");)"("===t.text?(e={type:_r.CallExpression,callee:e,arguments:this.parseArguments()},this.consume(")")):"["===t.text?(e={type:_r.MemberExpression,object:e,property:this.expression(),computed:!0},this.consume("]")):"."===t.text?e={type:_r.MemberExpression,object:e,property:this.identifier(),computed:!1}:this.throwError("IMPOSSIBLE");return e},filter:function(e){for(var t=[e],n={type:_r.CallExpression,callee:this.identifier(),arguments:t,filter:!0};this.expect(":");)t.push(this.expression());return n},parseArguments:function(){var e=[];if(")"!==this.peekToken().text)do{e.push(this.filterChain())}while(this.expect(","));return e},identifier:function(){var e=this.consume();return e.identifier||this.throwError("is not a valid identifier",e),{type:_r.Identifier,name:e.text}},constant:function(){return{type:_r.Literal,value:this.consume().value}},arrayDeclaration:function(){var e=[];if("]"!==this.peekToken().text)do{if(this.peek("]"))break;e.push(this.expression())}while(this.expect(","));return this.consume("]"),{type:_r.ArrayExpression,elements:e}},object:function(){var e,t=[];if("}"!==this.peekToken().text)do{if(this.peek("}"))break;e={type:_r.Property,kind:"init"},this.peek().constant?(e.key=this.constant(),e.computed=!1,this.consume(":"),e.value=this.expression()):this.peek().identifier?(e.key=this.identifier(),e.computed=!1,this.peek(":")?(this.consume(":"),e.value=this.expression()):e.value=e.key):this.peek("[")?(this.consume("["),e.key=this.expression(),this.consume("]"),e.computed=!0,this.consume(":"),e.value=this.expression()):this.throwError("invalid key",this.peek()),t.push(e)}while(this.expect(","));return this.consume("}"),{type:_r.ObjectExpression,properties:t}},throwError:function(e,t){throw vr("syntax","Syntax Error: Token '{0}' {1} at column {2} of the expression [{3}] starting at [{4}].",t.text,e,t.index+1,this.text,this.text.substring(t.index))},consume:function(e){if(0===this.tokens.length)throw vr("ueoe","Unexpected end of expression: {0}",this.text);var t=this.expect(e);return t||this.throwError("is unexpected, expecting ["+e+"]",this.peek()),t},peekToken:function(){if(0===this.tokens.length)throw vr("ueoe","Unexpected end of expression: {0}",this.text);return this.tokens[0]},peek:function(e,t,n,r){return this.peekAhead(0,e,t,n,r)},peekAhead:function(e,t,n,r,i){if(this.tokens.length>e){var o=this.tokens[e],a=o.text;if(a===t||a===n||a===r||a===i||!t&&!n&&!r&&!i)return o}return!1},expect:function(e,t,n,r){var i=this.peek(e,t,n,r);return!!i&&(this.tokens.shift(),i)},selfReferential:{this:{type:_r.ThisExpression},$locals:{type:_r.LocalsExpression}}};var Sr=1,Cr=2;function Tr(e,t,n){var r,i,o,a=e.isPure=function(e,t){switch(e.type){case _r.MemberExpression:if(e.computed)return!1;break;case _r.UnaryExpression:return Sr;case _r.BinaryExpression:return"+"!==e.operator&&Sr;case _r.CallExpression:return!1}return void 0===t?Cr:t}(e,n);switch(e.type){case _r.Program:r=!0,_(e.body,function(e){Tr(e.expression,t,a),r=r&&e.expression.constant}),e.constant=r;break;case _r.Literal:e.constant=!0,e.toWatch=[];break;case _r.UnaryExpression:Tr(e.argument,t,a),e.constant=e.argument.constant,e.toWatch=e.argument.toWatch;break;case _r.BinaryExpression:Tr(e.left,t,a),Tr(e.right,t,a),e.constant=e.left.constant&&e.right.constant,e.toWatch=e.left.toWatch.concat(e.right.toWatch);break;case _r.LogicalExpression:Tr(e.left,t,a),Tr(e.right,t,a),e.constant=e.left.constant&&e.right.constant,e.toWatch=e.constant?[]:[e];break;case _r.ConditionalExpression:Tr(e.test,t,a),Tr(e.alternate,t,a),Tr(e.consequent,t,a),e.constant=e.test.constant&&e.alternate.constant&&e.consequent.constant,e.toWatch=e.constant?[]:[e];break;case _r.Identifier:e.constant=!1,e.toWatch=[e];break;case _r.MemberExpression:Tr(e.object,t,a),e.computed&&Tr(e.property,t,a),e.constant=e.object.constant&&(!e.computed||e.property.constant),e.toWatch=e.constant?[]:[e];break;case _r.CallExpression:o=!!e.filter&&function(e,t){return!e(t).$stateful}(t,e.callee.name),r=o,i=[],_(e.arguments,function(e){Tr(e,t,a),r=r&&e.constant,i.push.apply(i,e.toWatch)}),e.constant=r,e.toWatch=o?i:[e];break;case _r.AssignmentExpression:Tr(e.left,t,a),Tr(e.right,t,a),e.constant=e.left.constant&&e.right.constant,e.toWatch=[e];break;case _r.ArrayExpression:r=!0,i=[],_(e.elements,function(e){Tr(e,t,a),r=r&&e.constant,i.push.apply(i,e.toWatch)}),e.constant=r,e.toWatch=i;break;case _r.ObjectExpression:r=!0,i=[],_(e.properties,function(e){Tr(e.value,t,a),r=r&&e.value.constant,i.push.apply(i,e.value.toWatch),e.computed&&(Tr(e.key,t,!1),r=r&&e.key.constant,i.push.apply(i,e.key.toWatch))}),e.constant=r,e.toWatch=i;break;case _r.ThisExpression:case _r.LocalsExpression:e.constant=!1,e.toWatch=[]}}function Ar(e){if(1===e.length){var t=e[0].expression,n=t.toWatch;return 1!==n.length?n:n[0]!==t?n:void 0}}function Or(e){return e.type===_r.Identifier||e.type===_r.MemberExpression}function Pr(e){if(1===e.body.length&&Or(e.body[0].expression))return{type:_r.AssignmentExpression,left:e.body[0].expression,right:{type:_r.NGValueParameter},operator:"="}}function Rr(e){this.$filter=e}function jr(e){this.$filter=e}function Dr(e,t,n){this.ast=new _r(e,n),this.astCompiler=n.csp?new jr(t):new Rr(t)}function Nr(e){return G(e.valueOf)?e.valueOf():br.call(e)}function Ir(){var e,t,n=qe(),r={true:!0,false:!1,null:null,undefined:void 0};this.addLiteral=function(e,t){r[e]=t},this.setIdentifierFns=function(n,r){return e=n,t=r,this},this.$get=["$filter",function(i){var o={csp:ce().noUnsafeEval,literals:ae(r),isIdentifierStart:G(e)&&e,isIdentifierContinue:G(t)&&t};return a.$$getAst=function(e){return new Dr(new kr(o),i,o).getAst(e).ast},a;function a(e,t){var r,a;switch(typeof e){case"string":if(e=e.trim(),!(r=n[a=e]))r=new Dr(new kr(o),i,o).parse(e),n[a]=p(r);return f(r,t);case"function":return f(e,t);default:return f(D,t)}}function s(e,t,n){return null==e||null==t?e===t:!("object"==typeof e&&"object"==typeof(e=Nr(e))&&!n)&&(e===t||e!=e&&t!=t)}function l(e,t,n,r,i){var o,a=r.inputs;if(1===a.length){var l=s;return a=a[0],e.$watch(function(e){var t=a(e);return s(t,l,a.isPure)||(o=r(e,void 0,void 0,[t]),l=t&&Nr(t)),o},t,n,i)}for(var c=[],u=[],d=0,p=a.length;d<p;d++)c[d]=s,u[d]=null;return e.$watch(function(e){for(var t=!1,n=0,i=a.length;n<i;n++){var l=a[n](e);(t||(t=!s(l,c[n],a[n].isPure)))&&(u[n]=l,c[n]=l&&Nr(l))}return t&&(o=r(e,void 0,void 0,u)),o},t,n,i)}function c(e,t,n,r,i){var o,a,s=r.literal?u:L,l=r.$$intercepted||r,c=r.$$interceptor||N,d=r.inputs&&!l.inputs;return h.literal=r.literal,h.constant=r.constant,h.inputs=r.inputs,p(h),o=e.$watch(h,t,n,i);function f(){s(a)&&o()}function h(e,t,n,r){return a=d&&r?r[0]:l(e,t,n,r),s(a)&&e.$$postDigest(f),c(a)}}function u(e){var t=!0;return _(e,function(e){L(e)||(t=!1)}),t}function d(e,t,n,r){var i=e.$watch(function(e){return i(),r(e)},t,n);return i}function p(e){return e.constant?e.$$watchDelegate=d:e.oneTime?e.$$watchDelegate=c:e.inputs&&(e.$$watchDelegate=l),e}function f(e,t){if(!t)return e;e.$$interceptor&&(t=function(e,t){function n(n){return t(e(n))}return n.$stateful=e.$stateful||t.$stateful,n.$$pure=e.$$pure&&t.$$pure,n}(e.$$interceptor,t),e=e.$$intercepted);var n=!1,r=function(r,i,o,a){var s=n&&a?a[0]:e(r,i,o,a);return t(s)};return r.$$intercepted=e,r.$$interceptor=t,r.literal=e.literal,r.oneTime=e.oneTime,r.constant=e.constant,t.$stateful||(n=!e.inputs,r.inputs=e.inputs?e.inputs:[e],t.$$pure||(r.inputs=r.inputs.map(function(e){return e.isPure===Cr?function(t){return e(t)}:e}))),p(r)}}]}function Mr(){var e=!0;this.$get=["$rootScope","$exceptionHandler",function(t,n){return Lr(function(e){t.$evalAsync(e)},n,e)}],this.errorOnUnhandledRejections=function(t){return L(t)?(e=t,this):e}}function zr(){var e=!0;this.$get=["$browser","$exceptionHandler",function(t,n){return Lr(function(e){t.defer(e)},n,e)}],this.errorOnUnhandledRejections=function(t){return L(t)?(e=t,this):e}}function Lr(e,t,n){var r=i("$q",TypeError),o=0,a=[];function s(){return new function(){var e=this.promise=new l;this.resolve=function(t){d(e,t)},this.reject=function(t){p(e,t)},this.notify=function(t){h(e,t)}}}function l(){this.$$state={status:0}}function c(){for(;!o&&a.length;){var e=a.shift();if(!qr(e)){Br(e);var n="Possibly unhandled rejection: "+Xe(e.value);W(e.value)?t(e.value,n):t(n)}}}function u(r){!n||r.pending||2!==r.status||qr(r)||(0===o&&0===a.length&&e(c),a.push(r)),!r.processScheduled&&r.pending&&(r.processScheduled=!0,++o,e(function(){!function(r){var i,a,s;s=r.pending,r.processScheduled=!1,r.pending=void 0;try{for(var l=0,u=s.length;l<u;++l){Br(r),a=s[l][0],i=s[l][r.status];try{G(i)?d(a,i(r.value)):1===r.status?d(a,r.value):p(a,r.value)}catch(e){p(a,e),e&&!0===e.$$passToExceptionHandler&&t(e)}}}finally{--o,n&&0===o&&e(c)}}(r)}))}function d(e,t){e.$$state.status||(t===e?f(e,r("qcycle","Expected promise to be resolved with value other than itself '{0}'",t)):function e(t,n){var r;var i=!1;try{(q(n)||G(n))&&(r=n.then),G(r)?(t.$$state.status=-1,r.call(n,function o(e){if(i)return;i=!0,function e(t,n){var r;var i=!1;try{(q(n)||G(n))&&(r=n.then),G(r)?(t.$$state.status=-1,r.call(n,o,a,function(e){h(t,e)})):(t.$$state.value=n,t.$$state.status=1,u(t.$$state))}catch(e){a(e)}function o(n){i||(i=!0,e(t,n))}function a(e){i||(i=!0,f(t,e))}}(t,e)},a,function(e){h(t,e)})):(t.$$state.value=n,t.$$state.status=1,u(t.$$state))}catch(e){a(e)}function o(n){i||(i=!0,e(t,n))}function a(e){i||(i=!0,f(t,e))}}(e,t))}function p(e,t){e.$$state.status||f(e,t)}function f(e,t){e.$$state.value=t,e.$$state.status=2,u(e.$$state)}function h(n,r){var i=n.$$state.pending;n.$$state.status<=0&&i&&i.length&&e(function(){for(var e,n,o=0,a=i.length;o<a;o++){n=i[o][0],e=i[o][3];try{h(n,G(e)?e(r):r)}catch(e){t(e)}}})}function g(e){var t=new l;return p(t,e),t}function m(e,t,n){var r=null;try{G(n)&&(r=n())}catch(e){return g(e)}return Q(r)?r.then(function(){return t(e)},g):t(e)}function v(e,t,n,r){var i=new l;return d(i,e),i.then(t,n,r)}A(l.prototype,{then:function(e,t,n){if(z(e)&&z(t)&&z(n))return this;var r=new l;return this.$$state.pending=this.$$state.pending||[],this.$$state.pending.push([r,e,t,n]),this.$$state.status>0&&u(this.$$state),r},catch:function(e){return this.then(null,e)},finally:function(e,t){return this.then(function(t){return m(t,b,e)},function(t){return m(t,g,e)},t)}});var b=v;function y(e){if(!G(e))throw r("norslvr","Expected resolverFn, got '{0}'",e);var t=new l;return e(function(e){d(t,e)},function(e){p(t,e)}),t}return y.prototype=l.prototype,y.defer=s,y.reject=g,y.when=v,y.resolve=b,y.all=function(e){var t=new l,n=0,r=H(e)?[]:{};return _(e,function(e,i){n++,v(e).then(function(e){r[i]=e,--n||d(t,r)},function(e){p(t,e)})}),0===n&&d(t,r),t},y.race=function(e){var t=s();return _(e,function(e){v(e).then(t.resolve,t.reject)}),t.promise},y}function qr(e){return!!e.pur}function Br(e){e.pur=!0}function Vr(e){Br(e.$$state)}function Fr(){this.$get=["$window","$timeout",function(e,t){var n=e.requestAnimationFrame||e.webkitRequestAnimationFrame,r=e.cancelAnimationFrame||e.webkitCancelAnimationFrame||e.webkitCancelRequestAnimationFrame,i=!!n,o=i?function(e){var t=n(e);return function(){r(t)}}:function(e){var n=t(e,16.66,!1);return function(){t.cancel(n)}};return o.supported=i,o}]}function Ur(){var e=10,t=i("$rootScope"),n=null,r=null;this.digestTtl=function(t){return arguments.length&&(e=t),e},this.$get=["$exceptionHandler","$parse","$browser",function(i,a,s){function l(e){e.currentScope.$$destroyed=!0}function c(){this.$id=S(),this.$$phase=this.$parent=this.$$watchers=this.$$nextSibling=this.$$prevSibling=this.$$childHead=this.$$childTail=null,this.$root=this,this.$$destroyed=!1,this.$$suspended=!1,this.$$listeners={},this.$$listenerCount={},this.$$watchersCount=0,this.$$isolateBindings=null}c.prototype={constructor:c,$new:function(e,t){var n;return t=t||this,e?(n=new c).$root=this.$root:(this.$$ChildScope||(this.$$ChildScope=function(e){function t(){this.$$watchers=this.$$nextSibling=this.$$childHead=this.$$childTail=null,this.$$listeners={},this.$$listenerCount={},this.$$watchersCount=0,this.$id=S(),this.$$ChildScope=null,this.$$suspended=!1}return t.prototype=e,t}(this)),n=new this.$$ChildScope),n.$parent=t,n.$$prevSibling=t.$$childTail,t.$$childHead?(t.$$childTail.$$nextSibling=n,t.$$childTail=n):t.$$childHead=t.$$childTail=n,(e||t!==this)&&n.$on("$destroy",l),n},$watch:function(e,t,r,i){var o=a(e),s=G(t)?t:D;if(o.$$watchDelegate)return o.$$watchDelegate(this,s,r,o,e);var l=this,c=l.$$watchers,u={fn:s,last:x,get:o,exp:i||e,eq:!!r};return n=null,c||((c=l.$$watchers=[]).$$digestWatchIndex=-1),c.unshift(u),c.$$digestWatchIndex++,b(this,1),function(){var e=oe(c,u);e>=0&&(b(l,-1),e<c.$$digestWatchIndex&&c.$$digestWatchIndex--),n=null}},$watchGroup:function(e,t){var n=new Array(e.length),r=new Array(e.length),i=[],o=this,a=!1,s=!0;if(!e.length){var l=!0;return o.$evalAsync(function(){l&&t(r,r,o)}),function(){l=!1}}if(1===e.length)return this.$watch(e[0],function(e,i,o){r[0]=e,n[0]=i,t(r,e===i?r:n,o)});function c(){a=!1;try{s?(s=!1,t(r,r,o)):t(r,n,o)}finally{for(var i=0;i<e.length;i++)n[i]=r[i]}}return _(e,function(e,t){var n=o.$watch(e,function(e){r[t]=e,a||(a=!0,o.$evalAsync(c))});i.push(n)}),function(){for(;i.length;)i.shift()()}},$watchCollection:function(e,t){g.$$pure=a(e).literal,g.$stateful=!g.$$pure;var n,r,i,o=this,s=t.length>1,l=0,c=a(e,g),u=[],p={},f=!0,h=0;function g(e){var t,i,o,a;if(!z(n=e)){if(q(n))if(k(n)){r!==u&&(h=(r=u).length=0,l++),t=n.length,h!==t&&(l++,r.length=h=t);for(var s=0;s<t;s++)a=r[s],o=n[s],a!=a&&o!=o||a===o||(l++,r[s]=o)}else{for(i in r!==p&&(r=p={},h=0,l++),t=0,n)d.call(n,i)&&(t++,o=n[i],a=r[i],i in r?a!=a&&o!=o||a===o||(l++,r[i]=o):(h++,r[i]=o,l++));if(h>t)for(i in l++,r)d.call(n,i)||(h--,delete r[i])}else r!==n&&(r=n,l++);return l}}return this.$watch(c,function(){if(f?(f=!1,t(n,n,o)):t(n,i,o),s)if(q(n))if(k(n)){i=new Array(n.length);for(var e=0;e<n.length;e++)i[e]=n[e]}else for(var r in i={},n)d.call(n,r)&&(i[r]=n[r]);else i=n})},$digest:function(){var o,a,l,c,d,h,b,y,k,_=e,$=p.length?u:this,E=[];m("$digest"),s.$$checkUrlChange(),this===u&&null!==r&&(s.defer.cancel(r),w()),n=null;do{d=!1,b=$;for(var S=0;S<p.length;S++){try{(0,(k=p[S]).fn)(k.scope,k.locals)}catch(e){i(e)}n=null}p.length=0;e:do{if(c=!b.$$suspended&&b.$$watchers)for(c.$$digestWatchIndex=c.length;c.$$digestWatchIndex--;)try{if(o=c[c.$$digestWatchIndex])if((a=(0,o.get)(b))===(l=o.last)||(o.eq?le(a,l):R(a)&&R(l))){if(o===n){d=!1;break e}}else d=!0,n=o,o.last=o.eq?ae(a,null):a,(0,o.fn)(a,l===x?a:l,b),_<5&&(E[y=4-_]||(E[y]=[]),E[y].push({msg:G(o.exp)?"fn: "+(o.exp.name||o.exp.toString()):o.exp,newVal:a,oldVal:l}))}catch(e){i(e)}if(!(h=!b.$$suspended&&b.$$watchersCount&&b.$$childHead||b!==$&&b.$$nextSibling))for(;b!==$&&!(h=b.$$nextSibling);)b=b.$parent}while(b=h);if((d||p.length)&&!_--)throw v(),t("infdig","{0} $digest() iterations reached. Aborting!\nWatchers fired in the last 5 iterations: {1}",e,E)}while(d||p.length);for(v();g<f.length;)try{f[g++]()}catch(e){i(e)}f.length=g=0,s.$$checkUrlChange()},$suspend:function(){this.$$suspended=!0},$isSuspended:function(){return this.$$suspended},$resume:function(){this.$$suspended=!1},$destroy:function(){if(!this.$$destroyed){var e=this.$parent;for(var t in this.$broadcast("$destroy"),this.$$destroyed=!0,this===u&&s.$$applicationDestroyed(),b(this,-this.$$watchersCount),this.$$listenerCount)y(this,this.$$listenerCount[t],t);e&&e.$$childHead===this&&(e.$$childHead=this.$$nextSibling),e&&e.$$childTail===this&&(e.$$childTail=this.$$prevSibling),this.$$prevSibling&&(this.$$prevSibling.$$nextSibling=this.$$nextSibling),this.$$nextSibling&&(this.$$nextSibling.$$prevSibling=this.$$prevSibling),this.$destroy=this.$digest=this.$apply=this.$evalAsync=this.$applyAsync=D,this.$on=this.$watch=this.$watchGroup=function(){return D},this.$$listeners={},this.$$nextSibling=null,function e(t){9===o&&(t.$$childHead&&e(t.$$childHead),t.$$nextSibling&&e(t.$$nextSibling)),t.$parent=t.$$nextSibling=t.$$prevSibling=t.$$childHead=t.$$childTail=t.$root=t.$$watchers=null}(this)}},$eval:function(e,t){return a(e)(this,t)},$evalAsync:function(e,t){u.$$phase||p.length||s.defer(function(){p.length&&u.$digest()}),p.push({scope:this,fn:a(e),locals:t})},$$postDigest:function(e){f.push(e)},$apply:function(e){try{m("$apply");try{return this.$eval(e)}finally{v()}}catch(e){i(e)}finally{try{u.$digest()}catch(e){throw i(e),e}}},$applyAsync:function(e){var t=this;e&&h.push(function(){t.$eval(e)}),e=a(e),null===r&&(r=s.defer(function(){u.$apply(w)}))},$on:function(e,t){var n=this.$$listeners[e];n||(this.$$listeners[e]=n=[]),n.push(t);var r=this;do{r.$$listenerCount[e]||(r.$$listenerCount[e]=0),r.$$listenerCount[e]++}while(r=r.$parent);var i=this;return function(){var r=n.indexOf(t);-1!==r&&(delete n[r],y(i,1,e))}},$emit:function(e,t){var n,r,o,a=[],s=this,l=!1,c={name:e,targetScope:s,stopPropagation:function(){l=!0},preventDefault:function(){c.defaultPrevented=!0},defaultPrevented:!1},u=de([c],arguments,1);do{for(n=s.$$listeners[e]||a,c.currentScope=s,r=0,o=n.length;r<o;r++)if(n[r])try{n[r].apply(null,u)}catch(e){i(e)}else n.splice(r,1),r--,o--;if(l)break;s=s.$parent}while(s);return c.currentScope=null,c},$broadcast:function(e,t){var n=this,r=this,o={name:e,targetScope:this,preventDefault:function(){o.defaultPrevented=!0},defaultPrevented:!1};if(!this.$$listenerCount[e])return o;for(var a,s,l,c=de([o],arguments,1);n=r;){for(o.currentScope=n,s=0,l=(a=n.$$listeners[e]||[]).length;s<l;s++)if(a[s])try{a[s].apply(null,c)}catch(e){i(e)}else a.splice(s,1),s--,l--;if(!(r=n.$$listenerCount[e]&&n.$$childHead||n!==this&&n.$$nextSibling))for(;n!==this&&!(r=n.$$nextSibling);)n=n.$parent}return o.currentScope=null,o}};var u=new c,p=u.$$asyncQueue=[],f=u.$$postDigestQueue=[],h=u.$$applyAsyncQueue=[],g=0;return u;function m(e){if(u.$$phase)throw t("inprog","{0} already in progress",u.$$phase);u.$$phase=e}function v(){u.$$phase=null}function b(e,t){do{e.$$watchersCount+=t}while(e=e.$parent)}function y(e,t,n){do{e.$$listenerCount[n]-=t,0===e.$$listenerCount[n]&&delete e.$$listenerCount[n]}while(e=e.$parent)}function x(){}function w(){for(;h.length;)try{h.shift()()}catch(e){i(e)}r=null}}]}function Hr(){var e=/^\s*(https?|s?ftp|mailto|tel|file):/,t=/^\s*((https?|ftp|file|blob):|data:image\/)/;this.aHrefSanitizationWhitelist=function(t){return L(t)?(e=t,this):e},this.imgSrcSanitizationWhitelist=function(e){return L(e)?(t=e,this):t},this.$get=function(){return function(n,r){var i=r?t:e,o=li(n&&n.trim()).href;return""===o||o.match(i)?n:"unsafe:"+o}}}Rr.prototype={compile:function(e){var t=this;this.state={nextId:0,filters:{},fn:{vars:[],body:[],own:{}},assign:{vars:[],body:[],own:{}},inputs:[]},Tr(e,t.$filter);var n,r="";if(this.stage="assign",n=Pr(e)){this.state.computing="assign";var i=this.nextId();this.recurse(n,i),this.return_(i),r="fn.assign="+this.generateFunction("assign","s,v,l")}var o=Ar(e.body);t.stage="inputs",_(o,function(e,n){var r="fn"+n;t.state[r]={vars:[],body:[],own:{}},t.state.computing=r;var i=t.nextId();t.recurse(e,i),t.return_(i),t.state.inputs.push({name:r,isPure:e.isPure}),e.watchId=n}),this.state.computing="fn",this.stage="main",this.recurse(e);var a='"'+this.USE+" "+this.STRICT+'";\n'+this.filterPrefix()+"var fn="+this.generateFunction("fn","s,l,a,i")+r+this.watchFns()+"return fn;",s=new Function("$filter","getStringValue","ifDefined","plus",a)(this.$filter,yr,$r,Er);return this.state=this.stage=void 0,s},USE:"use",STRICT:"strict",watchFns:function(){var e=[],t=this.state.inputs,n=this;return _(t,function(t){e.push("var "+t.name+"="+n.generateFunction(t.name,"s")),t.isPure&&e.push(t.name,".isPure="+JSON.stringify(t.isPure)+";")}),t.length&&e.push("fn.inputs=["+t.map(function(e){return e.name}).join(",")+"];"),e.join("")},generateFunction:function(e,t){return"function("+t+"){"+this.varsPrefix(e)+this.body(e)+"};"},filterPrefix:function(){var e=[],t=this;return _(this.state.filters,function(n,r){e.push(n+"=$filter("+t.escape(r)+")")}),e.length?"var "+e.join(",")+";":""},varsPrefix:function(e){return this.state[e].vars.length?"var "+this.state[e].vars.join(",")+";":""},body:function(e){return this.state[e].body.join("")},recurse:function(e,t,n,r,i,o){var a,s,l,c,u,d=this;if(r=r||D,!o&&L(e.watchId))return t=t||this.nextId(),void this.if_("i",this.lazyAssign(t,this.computedMember("i",e.watchId)),this.lazyRecurse(e,t,n,r,i,!0));switch(e.type){case _r.Program:_(e.body,function(t,n){d.recurse(t.expression,void 0,void 0,function(e){s=e}),n!==e.body.length-1?d.current().body.push(s,";"):d.return_(s)});break;case _r.Literal:c=this.escape(e.value),this.assign(t,c),r(t||c);break;case _r.UnaryExpression:this.recurse(e.argument,void 0,void 0,function(e){s=e}),c=e.operator+"("+this.ifDefined(s,0)+")",this.assign(t,c),r(c);break;case _r.BinaryExpression:this.recurse(e.left,void 0,void 0,function(e){a=e}),this.recurse(e.right,void 0,void 0,function(e){s=e}),c="+"===e.operator?this.plus(a,s):"-"===e.operator?this.ifDefined(a,0)+e.operator+this.ifDefined(s,0):"("+a+")"+e.operator+"("+s+")",this.assign(t,c),r(c);break;case _r.LogicalExpression:t=t||this.nextId(),d.recurse(e.left,t),d.if_("&&"===e.operator?t:d.not(t),d.lazyRecurse(e.right,t)),r(t);break;case _r.ConditionalExpression:t=t||this.nextId(),d.recurse(e.test,t),d.if_(t,d.lazyRecurse(e.alternate,t),d.lazyRecurse(e.consequent,t)),r(t);break;case _r.Identifier:t=t||this.nextId(),n&&(n.context="inputs"===d.stage?"s":this.assign(this.nextId(),this.getHasOwnProperty("l",e.name)+"?l:s"),n.computed=!1,n.name=e.name),d.if_("inputs"===d.stage||d.not(d.getHasOwnProperty("l",e.name)),function(){d.if_("inputs"===d.stage||"s",function(){i&&1!==i&&d.if_(d.isNull(d.nonComputedMember("s",e.name)),d.lazyAssign(d.nonComputedMember("s",e.name),"{}")),d.assign(t,d.nonComputedMember("s",e.name))})},t&&d.lazyAssign(t,d.nonComputedMember("l",e.name))),r(t);break;case _r.MemberExpression:a=n&&(n.context=this.nextId())||this.nextId(),t=t||this.nextId(),d.recurse(e.object,a,void 0,function(){d.if_(d.notNull(a),function(){e.computed?(s=d.nextId(),d.recurse(e.property,s),d.getStringValue(s),i&&1!==i&&d.if_(d.not(d.computedMember(a,s)),d.lazyAssign(d.computedMember(a,s),"{}")),c=d.computedMember(a,s),d.assign(t,c),n&&(n.computed=!0,n.name=s)):(i&&1!==i&&d.if_(d.isNull(d.nonComputedMember(a,e.property.name)),d.lazyAssign(d.nonComputedMember(a,e.property.name),"{}")),c=d.nonComputedMember(a,e.property.name),d.assign(t,c),n&&(n.computed=!1,n.name=e.property.name))},function(){d.assign(t,"undefined")}),r(t)},!!i);break;case _r.CallExpression:t=t||this.nextId(),e.filter?(s=d.filter(e.callee.name),l=[],_(e.arguments,function(e){var t=d.nextId();d.recurse(e,t),l.push(t)}),c=s+"("+l.join(",")+")",d.assign(t,c),r(t)):(s=d.nextId(),a={},l=[],d.recurse(e.callee,s,a,function(){d.if_(d.notNull(s),function(){_(e.arguments,function(t){d.recurse(t,e.constant?void 0:d.nextId(),void 0,function(e){l.push(e)})}),c=a.name?d.member(a.context,a.name,a.computed)+"("+l.join(",")+")":s+"("+l.join(",")+")",d.assign(t,c)},function(){d.assign(t,"undefined")}),r(t)}));break;case _r.AssignmentExpression:s=this.nextId(),a={},this.recurse(e.left,void 0,a,function(){d.if_(d.notNull(a.context),function(){d.recurse(e.right,s),c=d.member(a.context,a.name,a.computed)+e.operator+s,d.assign(t,c),r(t||c)})},1);break;case _r.ArrayExpression:l=[],_(e.elements,function(t){d.recurse(t,e.constant?void 0:d.nextId(),void 0,function(e){l.push(e)})}),c="["+l.join(",")+"]",this.assign(t,c),r(t||c);break;case _r.ObjectExpression:l=[],u=!1,_(e.properties,function(e){e.computed&&(u=!0)}),u?(t=t||this.nextId(),this.assign(t,"{}"),_(e.properties,function(e){e.computed?(a=d.nextId(),d.recurse(e.key,a)):a=e.key.type===_r.Identifier?e.key.name:""+e.key.value,s=d.nextId(),d.recurse(e.value,s),d.assign(d.member(t,a,e.computed),s)})):(_(e.properties,function(t){d.recurse(t.value,e.constant?void 0:d.nextId(),void 0,function(e){l.push(d.escape(t.key.type===_r.Identifier?t.key.name:""+t.key.value)+":"+e)})}),c="{"+l.join(",")+"}",this.assign(t,c)),r(t||c);break;case _r.ThisExpression:this.assign(t,"s"),r(t||"s");break;case _r.LocalsExpression:this.assign(t,"l"),r(t||"l");break;case _r.NGValueParameter:this.assign(t,"v"),r(t||"v")}},getHasOwnProperty:function(e,t){var n=e+"."+t,r=this.current().own;return r.hasOwnProperty(n)||(r[n]=this.nextId(!1,e+"&&("+this.escape(t)+" in "+e+")")),r[n]},assign:function(e,t){if(e)return this.current().body.push(e,"=",t,";"),e},filter:function(e){return this.state.filters.hasOwnProperty(e)||(this.state.filters[e]=this.nextId(!0)),this.state.filters[e]},ifDefined:function(e,t){return"ifDefined("+e+","+this.escape(t)+")"},plus:function(e,t){return"plus("+e+","+t+")"},return_:function(e){this.current().body.push("return ",e,";")},if_:function(e,t,n){if(!0===e)t();else{var r=this.current().body;r.push("if(",e,"){"),t(),r.push("}"),n&&(r.push("else{"),n(),r.push("}"))}},not:function(e){return"!("+e+")"},isNull:function(e){return e+"==null"},notNull:function(e){return e+"!=null"},nonComputedMember:function(e,t){return/^[$_a-zA-Z][$_a-zA-Z0-9]*$/.test(t)?e+"."+t:e+'["'+t.replace(/[^$_a-zA-Z0-9]/g,this.stringEscapeFn)+'"]'},computedMember:function(e,t){return e+"["+t+"]"},member:function(e,t,n){return n?this.computedMember(e,t):this.nonComputedMember(e,t)},getStringValue:function(e){this.assign(e,"getStringValue("+e+")")},lazyRecurse:function(e,t,n,r,i,o){var a=this;return function(){a.recurse(e,t,n,r,i,o)}},lazyAssign:function(e,t){var n=this;return function(){n.assign(e,t)}},stringEscapeRegex:/[^ a-zA-Z0-9]/g,stringEscapeFn:function(e){return"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)},escape:function(e){if(V(e))return"'"+e.replace(this.stringEscapeRegex,this.stringEscapeFn)+"'";if(F(e))return e.toString();if(!0===e)return"true";if(!1===e)return"false";if(null===e)return"null";if(void 0===e)return"undefined";throw vr("esc","IMPOSSIBLE")},nextId:function(e,t){var n="v"+this.state.nextId++;return e||this.current().vars.push(n+(t?"="+t:"")),n},current:function(){return this.state[this.state.computing]}},jr.prototype={compile:function(e){var t,n,r=this;Tr(e,r.$filter),(t=Pr(e))&&(n=this.recurse(t));var i,o=Ar(e.body);o&&(i=[],_(o,function(e,t){var n=r.recurse(e);n.isPure=e.isPure,e.input=n,i.push(n),e.watchId=t}));var a=[];_(e.body,function(e){a.push(r.recurse(e.expression))});var s=0===e.body.length?D:1===e.body.length?a[0]:function(e,t){var n;return _(a,function(r){n=r(e,t)}),n};return n&&(s.assign=function(e,t,r){return n(e,r,t)}),i&&(s.inputs=i),s},recurse:function(e,t,n){var r,i,o,a=this;if(e.input)return this.inputs(e.input,e.watchId);switch(e.type){case _r.Literal:return this.value(e.value,t);case _r.UnaryExpression:return i=this.recurse(e.argument),this["unary"+e.operator](i,t);case _r.BinaryExpression:case _r.LogicalExpression:return r=this.recurse(e.left),i=this.recurse(e.right),this["binary"+e.operator](r,i,t);case _r.ConditionalExpression:return this["ternary?:"](this.recurse(e.test),this.recurse(e.alternate),this.recurse(e.consequent),t);case _r.Identifier:return a.identifier(e.name,t,n);case _r.MemberExpression:return r=this.recurse(e.object,!1,!!n),e.computed||(i=e.property.name),e.computed&&(i=this.recurse(e.property)),e.computed?this.computedMember(r,i,t,n):this.nonComputedMember(r,i,t,n);case _r.CallExpression:return o=[],_(e.arguments,function(e){o.push(a.recurse(e))}),e.filter&&(i=this.$filter(e.callee.name)),e.filter||(i=this.recurse(e.callee,!0)),e.filter?function(e,n,r,a){for(var s=[],l=0;l<o.length;++l)s.push(o[l](e,n,r,a));var c=i.apply(void 0,s,a);return t?{context:void 0,name:void 0,value:c}:c}:function(e,n,r,a){var s,l=i(e,n,r,a);if(null!=l.value){for(var c=[],u=0;u<o.length;++u)c.push(o[u](e,n,r,a));s=l.value.apply(l.context,c)}return t?{value:s}:s};case _r.AssignmentExpression:return r=this.recurse(e.left,!0,1),i=this.recurse(e.right),function(e,n,o,a){var s=r(e,n,o,a),l=i(e,n,o,a);return s.context[s.name]=l,t?{value:l}:l};case _r.ArrayExpression:return o=[],_(e.elements,function(e){o.push(a.recurse(e))}),function(e,n,r,i){for(var a=[],s=0;s<o.length;++s)a.push(o[s](e,n,r,i));return t?{value:a}:a};case _r.ObjectExpression:return o=[],_(e.properties,function(e){e.computed?o.push({key:a.recurse(e.key),computed:!0,value:a.recurse(e.value)}):o.push({key:e.key.type===_r.Identifier?e.key.name:""+e.key.value,computed:!1,value:a.recurse(e.value)})}),function(e,n,r,i){for(var a={},s=0;s<o.length;++s)o[s].computed?a[o[s].key(e,n,r,i)]=o[s].value(e,n,r,i):a[o[s].key]=o[s].value(e,n,r,i);return t?{value:a}:a};case _r.ThisExpression:return function(e){return t?{value:e}:e};case _r.LocalsExpression:return function(e,n){return t?{value:n}:n};case _r.NGValueParameter:return function(e,n,r){return t?{value:r}:r}}},"unary+":function(e,t){return function(n,r,i,o){var a=e(n,r,i,o);return a=L(a)?+a:0,t?{value:a}:a}},"unary-":function(e,t){return function(n,r,i,o){var a=e(n,r,i,o);return a=L(a)?-a:-0,t?{value:a}:a}},"unary!":function(e,t){return function(n,r,i,o){var a=!e(n,r,i,o);return t?{value:a}:a}},"binary+":function(e,t,n){return function(r,i,o,a){var s=Er(e(r,i,o,a),t(r,i,o,a));return n?{value:s}:s}},"binary-":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a),l=t(r,i,o,a),c=(L(s)?s:0)-(L(l)?l:0);return n?{value:c}:c}},"binary*":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)*t(r,i,o,a);return n?{value:s}:s}},"binary/":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)/t(r,i,o,a);return n?{value:s}:s}},"binary%":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)%t(r,i,o,a);return n?{value:s}:s}},"binary===":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)===t(r,i,o,a);return n?{value:s}:s}},"binary!==":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)!==t(r,i,o,a);return n?{value:s}:s}},"binary==":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)==t(r,i,o,a);return n?{value:s}:s}},"binary!=":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)!=t(r,i,o,a);return n?{value:s}:s}},"binary<":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)<t(r,i,o,a);return n?{value:s}:s}},"binary>":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)>t(r,i,o,a);return n?{value:s}:s}},"binary<=":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)<=t(r,i,o,a);return n?{value:s}:s}},"binary>=":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)>=t(r,i,o,a);return n?{value:s}:s}},"binary&&":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)&&t(r,i,o,a);return n?{value:s}:s}},"binary||":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)||t(r,i,o,a);return n?{value:s}:s}},"ternary?:":function(e,t,n,r){return function(i,o,a,s){var l=e(i,o,a,s)?t(i,o,a,s):n(i,o,a,s);return r?{value:l}:l}},value:function(e,t){return function(){return t?{context:void 0,name:void 0,value:e}:e}},identifier:function(e,t,n){return function(r,i,o,a){var s=i&&e in i?i:r;n&&1!==n&&s&&null==s[e]&&(s[e]={});var l=s?s[e]:void 0;return t?{context:s,name:e,value:l}:l}},computedMember:function(e,t,n,r){return function(i,o,a,s){var l,c,u=e(i,o,a,s);return null!=u&&(l=yr(l=t(i,o,a,s)),r&&1!==r&&u&&!u[l]&&(u[l]={}),c=u[l]),n?{context:u,name:l,value:c}:c}},nonComputedMember:function(e,t,n,r){return function(i,o,a,s){var l=e(i,o,a,s);r&&1!==r&&l&&null==l[t]&&(l[t]={});var c=null!=l?l[t]:void 0;return n?{context:l,name:t,value:c}:c}},inputs:function(e,t){return function(n,r,i,o){return o?o[t]:e(n,r,i)}}},Dr.prototype={constructor:Dr,parse:function(e){var t=this.getAst(e),n=this.astCompiler.compile(t.ast);return n.literal=function(e){return 0===e.body.length||1===e.body.length&&(e.body[0].expression.type===_r.Literal||e.body[0].expression.type===_r.ArrayExpression||e.body[0].expression.type===_r.ObjectExpression)}(t.ast),n.constant=function(e){return e.constant}(t.ast),n.oneTime=t.oneTime,n},getAst:function(e){var t=!1;return":"===(e=e.trim()).charAt(0)&&":"===e.charAt(1)&&(t=!0,e=e.substring(2)),{ast:this.ast.ast(e),oneTime:t}}};var Wr=i("$sce"),Gr={HTML:"html",CSS:"css",MEDIA_URL:"mediaUrl",URL:"url",RESOURCE_URL:"resourceUrl",JS:"js"},Xr=/_([a-z])/g;function Yr(e){return e.replace(Xr,nt)}function Zr(e){var t=[];return L(e)&&_(e,function(e){t.push(function(e){if("self"===e)return e;if(V(e)){if(e.indexOf("***")>-1)throw Wr("iwcard","Illegal sequence *** in string matcher.  String: {0}",e);return e=te(e).replace(/\\\*\\\*/g,".*").replace(/\\\*/g,"[^:/.?&;]*"),new RegExp("^"+e+"$")}if(X(e))return new RegExp("^"+e.source+"$");throw Wr("imatcher",'Matchers may only be "self", string patterns or RegExp objects')}(e))}),t}function Kr(){this.SCE_CONTEXTS=Gr;var t=["self"],n=[];this.resourceUrlWhitelist=function(e){return arguments.length&&(t=Zr(e)),t},this.resourceUrlBlacklist=function(e){return arguments.length&&(n=Zr(e)),n},this.$get=["$injector","$$sanitizeUri",function(r,i){var o=function(e){throw Wr("unsafe","Attempting to use an unsafe value in a safe context.")};function a(t,n){return"self"===t?function(e){return ci(e,si)}(n)||function(t){return ci(t,function(){if(e.document.baseURI)return e.document.baseURI;oi||((oi=e.document.createElement("a")).href=".",oi=oi.cloneNode(!1));return oi.href}())}(n):!!t.exec(n.href)}function s(e){var t=function(e){this.$$unwrapTrustedValue=function(){return e}};return e&&(t.prototype=new e),t.prototype.valueOf=function(){return this.$$unwrapTrustedValue()},t.prototype.toString=function(){return this.$$unwrapTrustedValue().toString()},t}r.has("$sanitize")&&(o=r.get("$sanitize"));var l=s(),c={};return c[Gr.HTML]=s(l),c[Gr.CSS]=s(l),c[Gr.MEDIA_URL]=s(l),c[Gr.URL]=s(c[Gr.MEDIA_URL]),c[Gr.JS]=s(l),c[Gr.RESOURCE_URL]=s(c[Gr.URL]),{trustAs:function(e,t){var n=c.hasOwnProperty(e)?c[e]:null;if(!n)throw Wr("icontext","Attempted to trust a value in invalid context. Context: {0}; Value: {1}",e,t);if(null===t||z(t)||""===t)return t;if("string"!=typeof t)throw Wr("itype","Attempted to trust a non-string value in a content requiring a string: Context: {0}",e);return new n(t)},getTrusted:function(e,r){if(null===r||z(r)||""===r)return r;var s=c.hasOwnProperty(e)?c[e]:null;if(s&&r instanceof s)return r.$$unwrapTrustedValue();if(G(r.$$unwrapTrustedValue)&&(r=r.$$unwrapTrustedValue()),e===Gr.MEDIA_URL||e===Gr.URL)return i(r,e===Gr.MEDIA_URL);if(e===Gr.RESOURCE_URL){if(function(e){var r,i,o=li(e.toString()),s=!1;for(r=0,i=t.length;r<i;r++)if(a(t[r],o)){s=!0;break}if(s)for(r=0,i=n.length;r<i;r++)if(a(n[r],o)){s=!1;break}return s}(r))return r;throw Wr("insecurl","Blocked loading resource from url not allowed by $sceDelegate policy.  URL: {0}",r.toString())}if(e===Gr.HTML)return o(r);throw Wr("unsafe","Attempting to use an unsafe value in a safe context.")},valueOf:function(e){return e instanceof l?e.$$unwrapTrustedValue():e}}}]}function Qr(){var e=!0;this.enabled=function(t){return arguments.length&&(e=!!t),e},this.$get=["$parse","$sceDelegate",function(t,n){if(e&&o<8)throw Wr("iequirks","Strict Contextual Escaping does not support Internet Explorer version < 11 in quirks mode.  You can fix this by adding the text <!doctype html> to the top of your HTML document.  See http://docs.angularjs.org/api/ng.$sce for more information.");var r=Ge(Gr);r.isEnabled=function(){return e},r.trustAs=n.trustAs,r.getTrusted=n.getTrusted,r.valueOf=n.valueOf,e||(r.trustAs=r.getTrusted=function(e,t){return t},r.valueOf=N),r.parseAs=function(e,n){var i=t(n);return i.literal&&i.constant?i:t(n,function(t){return r.getTrusted(e,t)})};var i=r.parseAs,a=r.getTrusted,s=r.trustAs;return _(Gr,function(e,t){var n=p(t);r[Yr("parse_as_"+n)]=function(t){return i(e,t)},r[Yr("get_trusted_"+n)]=function(t){return a(e,t)},r[Yr("trust_as_"+n)]=function(t){return s(e,t)}}),r}]}function Jr(){this.$get=["$window","$document",function(e,t){var n={},r=!(!(e.nw&&e.nw.process)&&e.chrome&&(e.chrome.app&&e.chrome.app.runtime||!e.chrome.app&&e.chrome.runtime&&e.chrome.runtime.id))&&e.history&&e.history.pushState,i=P((/android (\d+)/.exec(p((e.navigator||{}).userAgent))||[])[1]),a=/Boxee/i.test((e.navigator||{}).userAgent),s=t[0]||{},l=s.body&&s.body.style,c=!1,u=!1;return l&&(c=!!("transition"in l||"webkitTransition"in l),u=!!("animation"in l||"webkitAnimation"in l)),{history:!(!r||i<4||a),hasEvent:function(e){if("input"===e&&o)return!1;if(z(n[e])){var t=s.createElement("div");n[e]="on"+e in t}return n[e]},csp:ce(),transitions:c,animations:u,android:i}}]}var ei=i("$templateRequest");function ti(){var e;this.httpOptions=function(t){return t?(e=t,this):e},this.$get=["$exceptionHandler","$templateCache","$http","$q","$sce",function(t,n,r,i,o){function a(s,l){a.totalPendingRequests++,V(s)&&!z(n.get(s))||(s=o.getTrustedResourceUrl(s));var c=r.defaults&&r.defaults.transformResponse;return H(c)?c=c.filter(function(e){return e!==Ln}):c===Ln&&(c=null),r.get(s,A({cache:n,transformResponse:c},e)).finally(function(){a.totalPendingRequests--}).then(function(e){return n.put(s,e.data)},function(e){l||(e=ei("tpload","Failed to load template: {0} (HTTP status: {1} {2})",s,e.status,e.statusText),t(e));return i.reject(e)})}return a.totalPendingRequests=0,a}]}function ni(){this.$get=["$rootScope","$browser","$location",function(e,t,n){var r={findBindings:function(e,t,n){var r=[];return _(e.getElementsByClassName("ng-binding"),function(e){var i=x.element(e).data("$binding");i&&_(i,function(i){n?new RegExp("(^|\\s)"+te(t)+"(\\s|\\||$)").test(i)&&r.push(e):-1!==i.indexOf(t)&&r.push(e)})}),r},findModels:function(e,t,n){for(var r=["ng-","data-ng-","ng\\:"],i=0;i<r.length;++i){var o="["+r[i]+"model"+(n?"=":"*=")+'"'+t+'"]',a=e.querySelectorAll(o);if(a.length)return a}},getLocation:function(){return n.url()},setLocation:function(t){t!==n.url()&&(n.url(t),e.$digest())},whenStable:function(e){t.notifyWhenNoOutstandingRequests(e)}};return r}]}var ri=i("$timeout");function ii(){this.$get=["$rootScope","$browser","$q","$$q","$exceptionHandler",function(e,t,n,r,i){var o={};function a(a,s,l){G(a)||(l=s,s=a,a=D);var c,u=pe(arguments,3),d=L(l)&&!l,p=(d?r:n).defer(),f=p.promise;return c=t.defer(function(){try{p.resolve(a.apply(null,u))}catch(e){p.reject(e),i(e)}finally{delete o[f.$$timeoutId]}d||e.$apply()},s),f.$$timeoutId=c,o[c]=p,f}return a.cancel=function(e){if(!e)return!1;if(!e.hasOwnProperty("$$timeoutId"))throw ri("badprom","`$timeout.cancel()` called with a promise that was not generated by `$timeout()`.");if(!o.hasOwnProperty(e.$$timeoutId))return!1;var n=e.$$timeoutId,r=o[n];return Vr(r.promise),r.reject("canceled"),delete o[n],t.defer.cancel(n)},a}]}var oi,ai=e.document.createElement("a"),si=li(e.location.href);function li(e){if(!V(e))return e;var t=e;return o&&(ai.setAttribute("href",t),t=ai.href),ai.setAttribute("href",t),{href:ai.href,protocol:ai.protocol?ai.protocol.replace(/:$/,""):"",host:ai.host,search:ai.search?ai.search.replace(/^\?/,""):"",hash:ai.hash?ai.hash.replace(/^#/,""):"",hostname:ai.hostname,port:ai.port,pathname:"/"===ai.pathname.charAt(0)?ai.pathname:"/"+ai.pathname}}function ci(e,t){return e=li(e),t=li(t),e.protocol===t.protocol&&e.host===t.host}function ui(){this.$get=I(e)}function di(e){var t=e[0]||{},n={},r="";function i(e){try{return decodeURIComponent(e)}catch(t){return e}}return function(){var e,o,a,s,l,c=function(e){try{return e.cookie||""}catch(e){return""}}(t);if(c!==r)for(e=(r=c).split("; "),n={},a=0;a<e.length;a++)(s=(o=e[a]).indexOf("="))>0&&(l=i(o.substring(0,s)),z(n[l])&&(n[l]=i(o.substring(s+1))));return n}}function pi(){this.$get=di}function fi(e){var t="Filter";function n(r,i){if(q(r)){var o={};return _(r,function(e,t){o[t]=n(t,e)}),o}return e.factory(r+t,i)}this.register=n,this.$get=["$injector",function(e){return function(n){return e.get(n+t)}}],n("currency",xi),n("date",Ri),n("filter",hi),n("json",ji),n("limitTo",Ii),n("lowercase",Di),n("number",wi),n("orderBy",zi),n("uppercase",Ni)}function hi(){return function(e,t,n,r){if(!k(e)){if(null==e)return e;throw i("filter")("notarray","Expected array but received: {0}",e)}var o,a;switch(r=r||"$",mi(t)){case"function":o=t;break;case"boolean":case"null":case"number":case"string":a=!0;case"object":o=function(e,t,n,r){var i=q(e)&&n in e;!0===t?t=le:G(t)||(t=function(e,t){return!z(e)&&(null===e||null===t?e===t:!(q(t)||q(e)&&!M(e))&&(e=p(""+e),t=p(""+t),-1!==e.indexOf(t)))});return function(o){return i&&!q(o)?gi(o,e[n],t,n,!1):gi(o,e,t,n,r)}}(t,n,r,a);break;default:return e}return Array.prototype.filter.call(e,o)}}function gi(e,t,n,r,i,o){var a=mi(e),s=mi(t);if("string"===s&&"!"===t.charAt(0))return!gi(e,t.substring(1),n,r,i);if(H(e))return e.some(function(e){return gi(e,t,n,r,i)});switch(a){case"object":var l;if(i){for(l in e)if(l.charAt&&"$"!==l.charAt(0)&&gi(e[l],t,n,r,!0))return!0;return!o&&gi(e,t,n,r,!1)}if("object"===s){for(l in t){var c=t[l];if(!G(c)&&!z(c)){var u=l===r;if(!gi(u?e:e[l],c,n,r,u,u))return!1}}return!0}return n(e,t);case"function":return!1;default:return n(e,t)}}function mi(e){return null===e?"null":typeof e}di.$inject=["$document"],fi.$inject=["$provide"];var vi=22,bi=".",yi="0";function xi(e){var t=e.NUMBER_FORMATS;return function(e,n,r){z(n)&&(n=t.CURRENCY_SYM),z(r)&&(r=t.PATTERNS[1].maxFrac);var i=n?/\u00A4/g:/\s*\u00A4\s*/g;return null==e?e:ki(e,t.PATTERNS[1],t.GROUP_SEP,t.DECIMAL_SEP,r).replace(i,n)}}function wi(e){var t=e.NUMBER_FORMATS;return function(e,n){return null==e?e:ki(e,t.PATTERNS[0],t.GROUP_SEP,t.DECIMAL_SEP,n)}}function ki(e,t,n,r,i){if(!V(e)&&!F(e)||isNaN(e))return"";var o,a=!isFinite(e),s=!1,l=Math.abs(e)+"",c="";if(a)c="∞";else{(function(e,t,n,r){var i=e.d,o=i.length-e.i,a=(t=z(t)?Math.min(Math.max(n,o),r):+t)+e.i,s=i[a];if(a>0){i.splice(Math.max(e.i,a));for(var l=a;l<i.length;l++)i[l]=0}else{o=Math.max(0,o),e.i=1,i.length=Math.max(1,a=t+1),i[0]=0;for(var c=1;c<a;c++)i[c]=0}if(s>=5)if(a-1<0){for(var u=0;u>a;u--)i.unshift(0),e.i++;i.unshift(1),e.i++}else i[a-1]++;for(;o<Math.max(0,t);o++)i.push(0);var d=i.reduceRight(function(e,t,n,r){return t+=e,r[n]=t%10,Math.floor(t/10)},0);d&&(i.unshift(d),e.i++)})(o=function(e){var t,n,r,i,o,a=0;for((n=e.indexOf(bi))>-1&&(e=e.replace(bi,"")),(r=e.search(/e/i))>0?(n<0&&(n=r),n+=+e.slice(r+1),e=e.substring(0,r)):n<0&&(n=e.length),r=0;e.charAt(r)===yi;r++);if(r===(o=e.length))t=[0],n=1;else{for(o--;e.charAt(o)===yi;)o--;for(n-=r,t=[],i=0;r<=o;r++,i++)t[i]=+e.charAt(r)}return n>vi&&(t=t.splice(0,vi-1),a=n-1,n=1),{d:t,e:a,i:n}}(l),i,t.minFrac,t.maxFrac);var u=o.d,d=o.i,p=o.e,f=[];for(s=u.reduce(function(e,t){return e&&!t},!0);d<0;)u.unshift(0),d++;d>0?f=u.splice(d,u.length):(f=u,u=[0]);var h=[];for(u.length>=t.lgSize&&h.unshift(u.splice(-t.lgSize,u.length).join(""));u.length>t.gSize;)h.unshift(u.splice(-t.gSize,u.length).join(""));u.length&&h.unshift(u.join("")),c=h.join(n),f.length&&(c+=r+f.join("")),p&&(c+="e+"+p)}return e<0&&!s?t.negPre+c+t.negSuf:t.posPre+c+t.posSuf}function _i(e,t,n,r){var i="";for((e<0||r&&e<=0)&&(r?e=1-e:(e=-e,i="-")),e=""+e;e.length<t;)e=yi+e;return n&&(e=e.substr(e.length-t)),i+e}function $i(e,t,n,r,i){return n=n||0,function(o){var a=o["get"+e]();return(n>0||a>-n)&&(a+=n),0===a&&-12===n&&(a=12),_i(a,t,r,i)}}function Ei(e,t,n){return function(r,i){var o=r["get"+e]();return i[f((n?"STANDALONE":"")+(t?"SHORT":"")+e)][o]}}function Si(e){var t=new Date(e,0,1).getDay();return new Date(e,0,(t<=4?5:12)-t)}function Ci(e){return function(t){var n=Si(t.getFullYear()),r=+function(e){return new Date(e.getFullYear(),e.getMonth(),e.getDate()+(4-e.getDay()))}(t)-+n;return _i(1+Math.round(r/6048e5),e)}}function Ti(e,t){return e.getFullYear()<=0?t.ERAS[0]:t.ERAS[1]}xi.$inject=["$locale"],wi.$inject=["$locale"];var Ai={yyyy:$i("FullYear",4,0,!1,!0),yy:$i("FullYear",2,0,!0,!0),y:$i("FullYear",1,0,!1,!0),MMMM:Ei("Month"),MMM:Ei("Month",!0),MM:$i("Month",2,1),M:$i("Month",1,1),LLLL:Ei("Month",!1,!0),dd:$i("Date",2),d:$i("Date",1),HH:$i("Hours",2),H:$i("Hours",1),hh:$i("Hours",2,-12),h:$i("Hours",1,-12),mm:$i("Minutes",2),m:$i("Minutes",1),ss:$i("Seconds",2),s:$i("Seconds",1),sss:$i("Milliseconds",3),EEEE:Ei("Day"),EEE:Ei("Day",!0),a:function(e,t){return e.getHours()<12?t.AMPMS[0]:t.AMPMS[1]},Z:function(e,t,n){var r=-1*n,i=r>=0?"+":"";return i+=_i(Math[r>0?"floor":"ceil"](r/60),2)+_i(Math.abs(r%60),2)},ww:Ci(2),w:Ci(1),G:Ti,GG:Ti,GGG:Ti,GGGG:function(e,t){return e.getFullYear()<=0?t.ERANAMES[0]:t.ERANAMES[1]}},Oi=/((?:[^yMLdHhmsaZEwG']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|L+|d+|H+|h+|m+|s+|a|Z|G+|w+))([\s\S]*)/,Pi=/^-?\d+$/;function Ri(e){var t=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/;return function(n,r,i){var o,a,s="",l=[];if(r=r||"mediumDate",r=e.DATETIME_FORMATS[r]||r,V(n)&&(n=Pi.test(n)?P(n):function(e){var n;if(n=e.match(t)){var r=new Date(0),i=0,o=0,a=n[8]?r.setUTCFullYear:r.setFullYear,s=n[8]?r.setUTCHours:r.setHours;n[9]&&(i=P(n[9]+n[10]),o=P(n[9]+n[11])),a.call(r,P(n[1]),P(n[2])-1,P(n[3]));var l=P(n[4]||0)-i,c=P(n[5]||0)-o,u=P(n[6]||0),d=Math.round(1e3*parseFloat("0."+(n[7]||0)));return s.call(r,l,c,u,d),r}return e}(n)),F(n)&&(n=new Date(n)),!U(n)||!isFinite(n.getTime()))return n;for(;r;)(a=Oi.exec(r))?r=(l=de(l,a,1)).pop():(l.push(r),r=null);var c=n.getTimezoneOffset();return i&&(c=be(i,c),n=xe(n,i,!0)),_(l,function(t){o=Ai[t],s+=o?o(n,e.DATETIME_FORMATS,c):"''"===t?"'":t.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),s}}function ji(){return function(e,t){return z(t)&&(t=2),ge(e,t)}}Ri.$inject=["$locale"];var Di=I(p),Ni=I(f);function Ii(){return function(e,t,n){return t=Math.abs(Number(t))===1/0?Number(t):P(t),R(t)?e:(F(e)&&(e=e.toString()),k(e)?(n=(n=!n||isNaN(n)?0:P(n))<0?Math.max(0,e.length+n):n,t>=0?Mi(e,n,n+t):0===n?Mi(e,t,e.length):Mi(e,Math.max(0,n+t),n)):e)}}function Mi(e,t,n){return V(e)?e.slice(t,n):h.call(e,t,n)}function zi(e){return function(r,o,a,s){if(null==r)return r;if(!k(r))throw i("orderBy")("notarray","Expected array but received: {0}",r);H(o)||(o=[o]),0===o.length&&(o=["+"]);var l=function(t){return t.map(function(t){var n=1,r=N;if(G(t))r=t;else if(V(t)&&("+"!==t.charAt(0)&&"-"!==t.charAt(0)||(n="-"===t.charAt(0)?-1:1,t=t.substring(1)),""!==t&&(r=e(t)).constant)){var i=r();r=function(e){return e[i]}}return{get:r,descending:n}})}(o),c=a?-1:1,u=G(s)?s:n,d=Array.prototype.map.call(r,function(e,n){return{value:e,tieBreaker:{value:n,type:"number",index:n},predicateValues:l.map(function(r){return function(e,n){var r=typeof e;null===e?r="null":"object"===r&&(e=function(e){if(G(e.valueOf)&&t(e=e.valueOf()))return e;if(M(e)&&t(e=e.toString()))return e;return e}(e));return{value:e,type:r,index:n}}(r.get(e),n)})}});return d.sort(function(e,t){for(var r=0,i=l.length;r<i;r++){var o=u(e.predicateValues[r],t.predicateValues[r]);if(o)return o*l[r].descending*c}return(u(e.tieBreaker,t.tieBreaker)||n(e.tieBreaker,t.tieBreaker))*c}),r=d.map(function(e){return e.value})};function t(e){switch(typeof e){case"number":case"boolean":case"string":return!0;default:return!1}}function n(e,t){var n=0,r=e.type,i=t.type;if(r===i){var o=e.value,a=t.value;"string"===r?(o=o.toLowerCase(),a=a.toLowerCase()):"object"===r&&(q(o)&&(o=e.index),q(a)&&(a=t.index)),o!==a&&(n=o<a?-1:1)}else n="undefined"===r?1:"undefined"===i?-1:"null"===r?1:"null"===i?-1:r<i?-1:1;return n}}function Li(e){return G(e)&&(e={link:e}),e.restrict=e.restrict||"AC",I(e)}zi.$inject=["$parse"];var qi=I({restrict:"E",compile:function(e,t){if(!t.href&&!t.xlinkHref)return function(e,t){if("a"===t[0].nodeName.toLowerCase()){var n="[object SVGAnimatedString]"===v.call(t.prop("href"))?"xlink:href":"href";t.on("click",function(e){t.attr(n)||e.preventDefault()})}}}}),Bi={};_(Rt,function(e,t){if("multiple"!==e){var n=xn("ng-"+t),r=i;"checked"===e&&(r=function(e,t,r){r.ngModel!==r[n]&&i(e,0,r)}),Bi[n]=function(){return{restrict:"A",priority:100,link:r}}}function i(e,r,i){e.$watch(i[n],function(e){i.$set(t,!!e)})}}),_(Dt,function(e,t){Bi[t]=function(){return{priority:100,link:function(e,n,r){if("ngPattern"===t&&"/"===r.ngPattern.charAt(0)){var i=r.ngPattern.match(c);if(i)return void r.$set("ngPattern",new RegExp(i[1],i[2]))}e.$watch(r[t],function(e){r.$set(t,e)})}}}}),_(["src","srcset","href"],function(e){var t=xn("ng-"+e);Bi[t]=function(){return{priority:99,link:function(n,r,i){var a=e,s=e;"href"===e&&"[object SVGAnimatedString]"===v.call(r.prop("href"))&&(s="xlinkHref",i.$attr[s]="xlink:href",a=null),i.$observe(t,function(t){t?(i.$set(s,t),o&&a&&r.prop(a,i[s])):"href"===e&&i.$set(s,null)})}}}});var Vi={$addControl:D,$$renameControl:function(e,t){e.$name=t},$removeControl:D,$setValidity:D,$setDirty:D,$setPristine:D,$setSubmitted:D,$$setSubmitted:D},Fi="ng-pending";function Ui(e,t,n,r,i){this.$$controls=[],this.$error={},this.$$success={},this.$pending=void 0,this.$name=i(t.name||t.ngForm||"")(n),this.$dirty=!1,this.$pristine=!0,this.$valid=!0,this.$invalid=!1,this.$submitted=!1,this.$$parentForm=Vi,this.$$element=e,this.$$animate=r,Xi(this)}Ui.$inject=["$element","$attrs","$scope","$animate","$interpolate"],Ui.prototype={$rollbackViewValue:function(){_(this.$$controls,function(e){e.$rollbackViewValue()})},$commitViewValue:function(){_(this.$$controls,function(e){e.$commitViewValue()})},$addControl:function(e){ze(e.$name,"input"),this.$$controls.push(e),e.$name&&(this[e.$name]=e),e.$$parentForm=this},$$renameControl:function(e,t){var n=e.$name;this[n]===e&&delete this[n],this[t]=e,e.$name=t},$removeControl:function(e){e.$name&&this[e.$name]===e&&delete this[e.$name],_(this.$pending,function(t,n){this.$setValidity(n,null,e)},this),_(this.$error,function(t,n){this.$setValidity(n,null,e)},this),_(this.$$success,function(t,n){this.$setValidity(n,null,e)},this),oe(this.$$controls,e),e.$$parentForm=Vi},$setDirty:function(){this.$$animate.removeClass(this.$$element,Fo),this.$$animate.addClass(this.$$element,Uo),this.$dirty=!0,this.$pristine=!1,this.$$parentForm.$setDirty()},$setPristine:function(){this.$$animate.setClass(this.$$element,Fo,Uo+" ng-submitted"),this.$dirty=!1,this.$pristine=!0,this.$submitted=!1,_(this.$$controls,function(e){e.$setPristine()})},$setUntouched:function(){_(this.$$controls,function(e){e.$setUntouched()})},$setSubmitted:function(){for(var e=this;e.$$parentForm&&e.$$parentForm!==Vi;)e=e.$$parentForm;e.$$setSubmitted()},$$setSubmitted:function(){this.$$animate.addClass(this.$$element,"ng-submitted"),this.$submitted=!0,_(this.$$controls,function(e){e.$$setSubmitted&&e.$$setSubmitted()})}},Yi({clazz:Ui,set:function(e,t,n){var r=e[t];r?-1===r.indexOf(n)&&r.push(n):e[t]=[n]},unset:function(e,t,n){var r=e[t];r&&(oe(r,n),0===r.length&&delete e[t])}});var Hi=function(e){return["$timeout","$parse",function(t,n){return{name:"form",restrict:e?"EAC":"E",require:["form","^^?form"],controller:Ui,compile:function(n,i){n.addClass(Fo).addClass(Bo);var o=i.name?"name":!(!e||!i.ngForm)&&"ngForm";return{pre:function(e,n,i,a){var s=a[0];if(!("action"in i)){var l=function(t){e.$apply(function(){s.$commitViewValue(),s.$setSubmitted()}),t.preventDefault()};n[0].addEventListener("submit",l),n.on("$destroy",function(){t(function(){n[0].removeEventListener("submit",l)},0,!1)})}(a[1]||s.$$parentForm).$addControl(s);var c=o?r(s.$name):D;o&&(c(e,s),i.$observe(o,function(t){s.$name!==t&&(c(e,void 0),s.$$parentForm.$$renameControl(s,t),(c=r(s.$name))(e,s))})),n.on("$destroy",function(){s.$$parentForm.$removeControl(s),c(e,void 0),A(s,Vi)})}}}};function r(e){return""===e?n('this[""]').assign:n(e).assign||D}}]},Wi=Hi(),Gi=Hi(!0);function Xi(e){e.$$classCache={},e.$$classCache[Vo]=!(e.$$classCache[Bo]=e.$$element.hasClass(Bo))}function Yi(e){var t=e.clazz,n=e.set,r=e.unset;function i(e,t,n){n&&!e.$$classCache[t]?(e.$$animate.addClass(e.$$element,t),e.$$classCache[t]=!0):!n&&e.$$classCache[t]&&(e.$$animate.removeClass(e.$$element,t),e.$$classCache[t]=!1)}function o(e,t,n){t=t?"-"+De(t,"-"):"",i(e,Bo+t,!0===n),i(e,Vo+t,!1===n)}t.prototype.$setValidity=function(e,t,a){var s;z(t)?function(e,t,r,i){e[t]||(e[t]={});n(e[t],r,i)}(this,"$pending",e,a):function(e,t,n,i){e[t]&&r(e[t],n,i);Zi(e[t])&&(e[t]=void 0)}(this,"$pending",e,a),K(t)?t?(r(this.$error,e,a),n(this.$$success,e,a)):(n(this.$error,e,a),r(this.$$success,e,a)):(r(this.$error,e,a),r(this.$$success,e,a)),this.$pending?(i(this,Fi,!0),this.$valid=this.$invalid=void 0,o(this,"",null)):(i(this,Fi,!1),this.$valid=Zi(this.$error),this.$invalid=!this.$valid,o(this,"",this.$valid)),o(this,e,s=this.$pending&&this.$pending[e]?void 0:!this.$error[e]&&(!!this.$$success[e]||null)),this.$$parentForm.$setValidity(e,s,this)}}function Zi(e){if(e)for(var t in e)if(e.hasOwnProperty(t))return!1;return!0}var Ki=/^\d{4,}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+(?:[+-][0-2]\d:[0-5]\d|Z)$/,Qi=/^[a-z][a-z\d.+-]*:\/*(?:[^:@]+(?::[^@]+)?@)?(?:[^\s:/?#]+|\[[a-f\d:]+])(?::\d+)?(?:\/[^?#]*)?(?:\?[^#]*)?(?:#.*)?$/i,Ji=/^(?=.{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])?)*$/,eo=/^\s*(-|\+)?(\d+|(\d*(\.\d*)))([eE][+-]?\d+)?\s*$/,to=/^(\d{4,})-(\d{2})-(\d{2})$/,no=/^(\d{4,})-(\d\d)-(\d\d)T(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,ro=/^(\d{4,})-W(\d\d)$/,io=/^(\d{4,})-(\d\d)$/,oo=/^(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,ao="keydown wheel mousedown",so=qe();_("date,datetime-local,month,time,week".split(","),function(e){so[e]=!0});var lo={text:function(e,t,n,r,i,o){uo(e,t,n,r,i,o),co(r)},date:fo("date",to,po(to,["yyyy","MM","dd"]),"yyyy-MM-dd"),"datetime-local":fo("datetimelocal",no,po(no,["yyyy","MM","dd","HH","mm","ss","sss"]),"yyyy-MM-ddTHH:mm:ss.sss"),time:fo("time",oo,po(oo,["HH","mm","ss","sss"]),"HH:mm:ss.sss"),week:fo("week",ro,function(e,t){if(U(e))return e;if(V(e)){ro.lastIndex=0;var n=ro.exec(e);if(n){var r=+n[1],i=+n[2],o=0,a=0,s=0,l=0,c=Si(r),u=7*(i-1);return t&&(o=t.getHours(),a=t.getMinutes(),s=t.getSeconds(),l=t.getMilliseconds()),new Date(r,0,c.getDate()+u,o,a,s,l)}}return NaN},"yyyy-Www"),month:fo("month",io,po(io,["yyyy","MM"]),"yyyy-MM"),number:function(e,t,n,r,i,o){var a,s;ho(e,t,n,r,"number"),go(r),uo(e,t,n,r,i,o),(L(n.min)||n.ngMin)&&(r.$validators.min=function(e,t){return r.$isEmpty(t)||z(a)||t>=a},n.$observe("min",function(e){a=mo(e),r.$validate()}));(L(n.max)||n.ngMax)&&(r.$validators.max=function(e,t){return r.$isEmpty(t)||z(s)||t<=s},n.$observe("max",function(e){s=mo(e),r.$validate()}));if(L(n.step)||n.ngStep){var l;r.$validators.step=function(e,t){return r.$isEmpty(t)||z(l)||yo(t,a||0,l)},n.$observe("step",function(e){l=mo(e),r.$validate()})}},url:function(e,t,n,r,i,o){uo(e,t,n,r,i,o),co(r),r.$validators.url=function(e,t){var n=e||t;return r.$isEmpty(n)||Qi.test(n)}},email:function(e,t,n,r,i,o){uo(e,t,n,r,i,o),co(r),r.$validators.email=function(e,t){var n=e||t;return r.$isEmpty(n)||Ji.test(n)}},radio:function(e,t,n,r){var i=!n.ngTrim||"false"!==ee(n.ngTrim);z(n.name)&&t.attr("name",S());t.on("change",function(e){var o;t[0].checked&&(o=n.value,i&&(o=ee(o)),r.$setViewValue(o,e&&e.type))}),r.$render=function(){var e=n.value;i&&(e=ee(e)),t[0].checked=e===r.$viewValue},n.$observe("value",r.$render)},range:function(e,t,n,r,i,o){ho(e,t,n,r,"range"),go(r),uo(e,t,n,r,i,o);var a=r.$$hasNativeValidators&&"range"===t[0].type,s=a?0:void 0,l=a?100:void 0,c=a?1:void 0,u=t[0].validity,d=L(n.min),p=L(n.max),f=L(n.step),h=r.$render;r.$render=a&&L(u.rangeUnderflow)&&L(u.rangeOverflow)?function(){h(),r.$setViewValue(t.val())}:h,d&&(r.$validators.min=a?function(){return!0}:function(e,t){return r.$isEmpty(t)||z(s)||t>=s},g("min",function(e){if(s=mo(e),R(r.$modelValue))return;if(a){var n=t.val();s>n&&(n=s,t.val(n)),r.$setViewValue(n)}else r.$validate()}));p&&(r.$validators.max=a?function(){return!0}:function(e,t){return r.$isEmpty(t)||z(l)||t<=l},g("max",function(e){if(l=mo(e),R(r.$modelValue))return;if(a){var n=t.val();l<n&&(t.val(l),n=l<s?s:l),r.$setViewValue(n)}else r.$validate()}));f&&(r.$validators.step=a?function(){return!u.stepMismatch}:function(e,t){return r.$isEmpty(t)||z(c)||yo(t,s||0,c)},g("step",function(e){if(c=mo(e),R(r.$modelValue))return;a&&r.$viewValue!==t.val()?r.$setViewValue(t.val()):r.$validate()}));function g(e,r){t.attr(e,n[e]),n.$observe(e,r)}},checkbox:function(e,t,n,r,i,o,a,s){var l=xo(s,e,"ngTrueValue",n.ngTrueValue,!0),c=xo(s,e,"ngFalseValue",n.ngFalseValue,!1);t.on("change",function(e){r.$setViewValue(t[0].checked,e&&e.type)}),r.$render=function(){t[0].checked=r.$viewValue},r.$isEmpty=function(e){return!1===e},r.$formatters.push(function(e){return le(e,l)}),r.$parsers.push(function(e){return e?l:c})},hidden:D,button:D,submit:D,reset:D,file:D};function co(e){e.$formatters.push(function(t){return e.$isEmpty(t)?t:t.toString()})}function uo(e,t,n,r,i,o){var a,s=p(t[0].type);if(!i.android){var l=!1;t.on("compositionstart",function(){l=!0}),t.on("compositionupdate",function(e){(z(e.data)||""===e.data)&&(l=!1)}),t.on("compositionend",function(){l=!1,c()})}var c=function(e){if(a&&(o.defer.cancel(a),a=null),!l){var i=t.val(),c=e&&e.type;"password"===s||n.ngTrim&&"false"===n.ngTrim||(i=ee(i)),(r.$viewValue!==i||""===i&&r.$$hasNativeValidators)&&r.$setViewValue(i,c)}};if(i.hasEvent("input"))t.on("input",c);else{var d=function(e,t,n){a||(a=o.defer(function(){a=null,t&&t.value===n||c(e)}))};t.on("keydown",function(e){var t=e.keyCode;91===t||15<t&&t<19||37<=t&&t<=40||d(e,this,this.value)}),i.hasEvent("paste")&&t.on("paste cut drop",d)}t.on("change",c),so[s]&&r.$$hasNativeValidators&&s===n.type&&t.on(ao,function(e){if(!a){var t=this[u],n=t.badInput,r=t.typeMismatch;a=o.defer(function(){a=null,t.badInput===n&&t.typeMismatch===r||c(e)})}}),r.$render=function(){var e=r.$isEmpty(r.$viewValue)?"":r.$viewValue;t.val()!==e&&t.val(e)}}function po(e,t){return function(n,r){var i,o;if(U(n))return n;if(V(n)){if('"'===n.charAt(0)&&'"'===n.charAt(n.length-1)&&(n=n.substring(1,n.length-1)),Ki.test(n))return new Date(n);if(e.lastIndex=0,i=e.exec(n)){i.shift(),o=r?{yyyy:r.getFullYear(),MM:r.getMonth()+1,dd:r.getDate(),HH:r.getHours(),mm:r.getMinutes(),ss:r.getSeconds(),sss:r.getMilliseconds()/1e3}:{yyyy:1970,MM:1,dd:1,HH:0,mm:0,ss:0,sss:0},_(i,function(e,n){n<t.length&&(o[t[n]]=+e)});var a=new Date(o.yyyy,o.MM-1,o.dd,o.HH,o.mm,o.ss||0,1e3*o.sss||0);return o.yyyy<100&&a.setFullYear(o.yyyy),a}}return NaN}}function fo(e,t,n,r){return function(i,o,a,s,l,c,u){var d,p,f,h;(ho(i,o,a,s,e),uo(0,o,a,s,l,c),s.$parsers.push(function(n){return s.$isEmpty(n)?null:t.test(n)?v(n,d):void(s.$$parserName=e)}),s.$formatters.push(function(e){if(e&&!U(e))throw Ho("datefmt","Expected `{0}` to be a date",e);if(g(e)){d=e;var t=s.$options.getOption("timezone");return t&&(p=t,d=xe(d,t,!0)),u("date")(e,r,t)}return d=null,p=null,""}),L(a.min)||a.ngMin)&&(s.$validators.min=function(e){return!g(e)||z(f)||n(e)>=f},a.$observe("min",function(e){f=m(e),s.$validate()}));(L(a.max)||a.ngMax)&&(s.$validators.max=function(e){return!g(e)||z(h)||n(e)<=h},a.$observe("max",function(e){h=m(e),s.$validate()}));function g(e){return e&&!(e.getTime&&e.getTime()!=e.getTime())}function m(e){return L(e)&&!U(e)?v(e)||void 0:e}function v(e,t){var r=s.$options.getOption("timezone");p&&p!==r&&(t=ye(t,be(p)));var i=n(e,t);return!isNaN(i)&&r&&(i=xe(i,r)),i}}}function ho(e,t,n,r,i){var o=t[0];(r.$$hasNativeValidators=q(o.validity))&&r.$parsers.push(function(e){var n=t.prop(u)||{};if(!n.badInput&&!n.typeMismatch)return e;r.$$parserName=i})}function go(e){e.$parsers.push(function(t){return e.$isEmpty(t)?null:eo.test(t)?parseFloat(t):void(e.$$parserName="number")}),e.$formatters.push(function(t){if(!e.$isEmpty(t)){if(!F(t))throw Ho("numfmt","Expected `{0}` to be a number",t);t=t.toString()}return t})}function mo(e){return L(e)&&!F(e)&&(e=parseFloat(e)),R(e)?void 0:e}function vo(e){return(0|e)===e}function bo(e){var t=e.toString(),n=t.indexOf(".");if(-1===n){if(-1<e&&e<1){var r=/e-(\d+)$/.exec(t);if(r)return Number(r[1])}return 0}return t.length-n-1}function yo(e,t,n){var r=Number(e),i=!vo(r),o=!vo(t),a=!vo(n);if(i||o||a){var s=i?bo(r):0,l=o?bo(t):0,c=a?bo(n):0,u=Math.max(s,l,c),d=Math.pow(10,u);r*=d,t*=d,n*=d,i&&(r=Math.round(r)),o&&(t=Math.round(t)),a&&(n=Math.round(n))}return(r-t)%n==0}function xo(e,t,n,r,i){var o;if(L(r)){if(!(o=e(r)).constant)throw Ho("constexpr","Expected constant expression for `{0}`, but saw `{1}`.",n,r);return o(t)}return i}var wo=["$browser","$sniffer","$filter","$parse",function(e,t,n,r){return{restrict:"E",require:["?ngModel"],link:{pre:function(i,o,a,s){s[0]&&(lo[p(a.type)]||lo.text)(i,o,a,s[0],t,e,n,r)}}}}],ko=/^(true|false|\d+)$/,_o=function(){function e(e,t,n){var r=L(n)?n:9===o?"":null;e.prop("value",r),t.$set("value",n)}return{restrict:"A",priority:100,compile:function(t,n){return ko.test(n.ngValue)?function(t,n,r){e(n,r,t.$eval(r.ngValue))}:function(t,n,r){t.$watch(r.ngValue,function(t){e(n,r,t)})}}}},$o=["$compile",function(e){return{restrict:"AC",compile:function(t){return e.$$addBindingClass(t),function(t,n,r){e.$$addBindingInfo(n,r.ngBind),n=n[0],t.$watch(r.ngBind,function(e){n.textContent=Be(e)})}}}}],Eo=["$interpolate","$compile",function(e,t){return{compile:function(n){return t.$$addBindingClass(n),function(n,r,i){var o=e(r.attr(i.$attr.ngBindTemplate));t.$$addBindingInfo(r,o.expressions),r=r[0],i.$observe("ngBindTemplate",function(e){r.textContent=z(e)?"":e})}}}}],So=["$sce","$parse","$compile",function(e,t,n){return{restrict:"A",compile:function(r,i){var o=t(i.ngBindHtml),a=t(i.ngBindHtml,function(t){return e.valueOf(t)});return n.$$addBindingClass(r),function(t,r,i){n.$$addBindingInfo(r,i.ngBindHtml),t.$watch(a,function(){var n=o(t);r.html(e.getTrustedHtml(n)||"")})}}}}],Co=I({restrict:"A",require:"ngModel",link:function(e,t,n,r){r.$viewChangeListeners.push(function(){e.$eval(n.ngChange)})}});function To(e,t){var n;return e="ngClass"+e,["$parse",function(a){return{restrict:"AC",link:function(s,l,c){var u,d=l.data("$classCounts"),p=!0;function f(e,t){var n=[];return _(e,function(e){(t>0||d[e])&&(d[e]=(d[e]||0)+t,d[e]===+(t>0)&&n.push(e))}),n.join(" ")}d||(d=qe(),l.data("$classCounts",d)),"ngClass"!==e&&(n||(n=a("$index",function(e){return 1&e})),s.$watch(n,function(e){e===t?function(e){e=f(i(e),1),c.$addClass(e)}(u):function(e){e=f(i(e),-1),c.$removeClass(e)}(u);p=e})),s.$watch(a(c[e],o),function(e){p===t&&function(e,t){var n=i(e),o=i(t),a=r(n,o),s=r(o,n),l=f(a,-1),u=f(s,1);c.$addClass(u),c.$removeClass(l)}(u,e);u=e})}}}];function r(e,t){if(!e||!e.length)return[];if(!t||!t.length)return e;var n=[];e:for(var r=0;r<e.length;r++){for(var i=e[r],o=0;o<t.length;o++)if(i===t[o])continue e;n.push(i)}return n}function i(e){return e&&e.split(" ")}function o(e){var t=e;return H(e)?t=e.map(o).join(" "):q(e)&&(t=Object.keys(e).filter(function(t){return e[t]}).join(" ")),t}}var Ao=To("",!0),Oo=To("Odd",0),Po=To("Even",1),Ro=Li({compile:function(e,t){t.$set("ngCloak",void 0),e.removeClass("ng-cloak")}}),jo=[function(){return{restrict:"A",scope:!0,controller:"@",priority:500}}],Do={},No={blur:!0,focus:!0};_("click dblclick mousedown mouseup mouseover mouseout mousemove mouseenter mouseleave keydown keyup keypress submit focus blur copy cut paste".split(" "),function(e){var t=xn("ng-"+e);Do[t]=["$parse","$rootScope",function(n,r){return{restrict:"A",compile:function(i,o){var a=n(o[t]);return function(t,n){n.on(e,function(n){var i=function(){a(t,{$event:n})};No[e]&&r.$$phase?t.$evalAsync(i):t.$apply(i)})}}}}]});var Io=["$animate","$compile",function(e,t){return{multiElement:!0,transclude:"element",priority:600,terminal:!0,restrict:"A",$$tlb:!0,link:function(n,r,i,o,a){var s,l,c;n.$watch(i.ngIf,function(n){n?l||a(function(n,o){l=o,n[n.length++]=t.$$createComment("end ngIf",i.ngIf),s={clone:n},e.enter(n,r.parent(),r)}):(c&&(c.remove(),c=null),l&&(l.$destroy(),l=null),s&&(c=Le(s.clone),e.leave(c).done(function(e){!1!==e&&(c=null)}),s=null))})}}}],Mo=["$templateRequest","$anchorScroll","$animate",function(e,t,n){return{restrict:"ECA",priority:400,terminal:!0,transclude:"element",controller:x.noop,compile:function(r,i){var o=i.ngInclude||i.src,a=i.onload||"",s=i.autoscroll;return function(r,i,l,c,u){var d,p,f,h=0,g=function(){p&&(p.remove(),p=null),d&&(d.$destroy(),d=null),f&&(n.leave(f).done(function(e){!1!==e&&(p=null)}),p=f,f=null)};r.$watch(o,function(o){var l=function(e){!1===e||!L(s)||s&&!r.$eval(s)||t()},p=++h;o?(e(o,!0).then(function(e){if(!r.$$destroyed&&p===h){var t=r.$new();c.template=e;var s=u(t,function(e){g(),n.enter(e,null,i).done(l)});f=s,(d=t).$emit("$includeContentLoaded",o),r.$eval(a)}},function(){r.$$destroyed||p===h&&(g(),r.$emit("$includeContentError",o))}),r.$emit("$includeContentRequested",o)):(g(),c.template=null)})}}}}],zo=["$compile",function(t){return{restrict:"ECA",priority:-400,require:"ngInclude",link:function(n,r,i,o){if(v.call(r[0]).match(/SVG/))return r.empty(),void t(dt(o.template,e.document).childNodes)(n,function(e){r.append(e)},{futureParentElement:r});r.html(o.template),t(r.contents())(n)}}}],Lo=Li({priority:450,compile:function(){return{pre:function(e,t,n){e.$eval(n.ngInit)}}}}),qo=function(){return{restrict:"A",priority:100,require:"ngModel",link:function(e,t,n,r){var i=n.ngList||", ",o="false"!==n.ngTrim,a=o?ee(i):i;r.$parsers.push(function(e){if(!z(e)){var t=[];return e&&_(e.split(a),function(e){e&&t.push(o?ee(e):e)}),t}}),r.$formatters.push(function(e){if(H(e))return e.join(i)}),r.$isEmpty=function(e){return!e||!e.length}}}},Bo="ng-valid",Vo="ng-invalid",Fo="ng-pristine",Uo="ng-dirty",Ho=i("ngModel");function Wo(e,t,n,r,i,o,a,s,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)(e),this.$$parentForm=Vi,this.$options=Go,this.$$updateEvents="",this.$$updateEventHandler=this.$$updateEventHandler.bind(this),this.$$parsedNgModel=i(n.ngModel),this.$$parsedNgModelAssign=this.$$parsedNgModel.assign,this.$$ngModelGet=this.$$parsedNgModel,this.$$ngModelSet=this.$$parsedNgModelAssign,this.$$pendingDebounce=null,this.$$parserValid=void 0,this.$$parserName="parse",this.$$currentValidationRunId=0,this.$$scope=e,this.$$rootScope=e.$root,this.$$attr=n,this.$$element=r,this.$$animate=o,this.$$timeout=a,this.$$parse=i,this.$$q=s,this.$$exceptionHandler=t,Xi(this),function(e){e.$$scope.$watch(function(t){var n=e.$$ngModelGet(t);return n===e.$modelValue||e.$modelValue!=e.$modelValue&&n!=n||e.$$setModelValue(n),n})}(this)}Wo.$inject=["$scope","$exceptionHandler","$attrs","$element","$parse","$animate","$timeout","$q","$interpolate"],Wo.prototype={$$initGetterSetters:function(){if(this.$options.getOption("getterSetter")){var e=this.$$parse(this.$$attr.ngModel+"()"),t=this.$$parse(this.$$attr.ngModel+"($$$p)");this.$$ngModelGet=function(t){var n=this.$$parsedNgModel(t);return G(n)&&(n=e(t)),n},this.$$ngModelSet=function(e,n){G(this.$$parsedNgModel(e))?t(e,{$$$p:n}):this.$$parsedNgModelAssign(e,n)}}else if(!this.$$parsedNgModel.assign)throw Ho("nonassign","Expression '{0}' is non-assignable. Element: {1}",this.$$attr.ngModel,we(this.$$element))},$render:D,$isEmpty:function(e){return z(e)||""===e||null===e||e!=e},$$updateEmptyClasses:function(e){this.$isEmpty(e)?(this.$$animate.removeClass(this.$$element,"ng-not-empty"),this.$$animate.addClass(this.$$element,"ng-empty")):(this.$$animate.removeClass(this.$$element,"ng-empty"),this.$$animate.addClass(this.$$element,"ng-not-empty"))},$setPristine:function(){this.$dirty=!1,this.$pristine=!0,this.$$animate.removeClass(this.$$element,Uo),this.$$animate.addClass(this.$$element,Fo)},$setDirty:function(){this.$dirty=!0,this.$pristine=!1,this.$$animate.removeClass(this.$$element,Fo),this.$$animate.addClass(this.$$element,Uo),this.$$parentForm.$setDirty()},$setUntouched:function(){this.$touched=!1,this.$untouched=!0,this.$$animate.setClass(this.$$element,"ng-untouched","ng-touched")},$setTouched:function(){this.$touched=!0,this.$untouched=!1,this.$$animate.setClass(this.$$element,"ng-touched","ng-untouched")},$rollbackViewValue:function(){this.$$timeout.cancel(this.$$pendingDebounce),this.$viewValue=this.$$lastCommittedViewValue,this.$render()},$validate:function(){if(!R(this.$modelValue)){var e=this.$$lastCommittedViewValue,t=this.$$rawModelValue,n=this.$valid,r=this.$modelValue,i=this.$options.getOption("allowInvalid"),o=this;this.$$runValidators(t,e,function(e){i||n===e||(o.$modelValue=e?t:void 0,o.$modelValue!==r&&o.$$writeModelToScope())})}},$$runValidators:function(e,t,n){this.$$currentValidationRunId++;var r=this.$$currentValidationRunId,i=this;function o(e,t){r===i.$$currentValidationRunId&&i.$setValidity(e,t)}function a(e){r===i.$$currentValidationRunId&&n(e)}!function(){var e=i.$$parserName;if(!z(i.$$parserValid))return i.$$parserValid||(_(i.$validators,function(e,t){o(t,null)}),_(i.$asyncValidators,function(e,t){o(t,null)})),o(e,i.$$parserValid),i.$$parserValid;o(e,null);return!0}()?a(!1):function(){var n=!0;if(_(i.$validators,function(r,i){var a=Boolean(r(e,t));n=n&&a,o(i,a)}),!n)return _(i.$asyncValidators,function(e,t){o(t,null)}),!1;return!0}()?function(){var n=[],r=!0;_(i.$asyncValidators,function(i,a){var s=i(e,t);if(!Q(s))throw Ho("nopromise","Expected asynchronous validator to return a promise but got '{0}' instead.",s);o(a,void 0),n.push(s.then(function(){o(a,!0)},function(){r=!1,o(a,!1)}))}),n.length?i.$$q.all(n).then(function(){a(r)},D):a(!0)}():a(!1)},$commitViewValue:function(){var e=this.$viewValue;this.$$timeout.cancel(this.$$pendingDebounce),(this.$$lastCommittedViewValue!==e||""===e&&this.$$hasNativeValidators)&&(this.$$updateEmptyClasses(e),this.$$lastCommittedViewValue=e,this.$pristine&&this.$setDirty(),this.$$parseAndValidate())},$$parseAndValidate:function(){var e=this.$$lastCommittedViewValue,t=this;if(this.$$parserValid=!z(e)||void 0,this.$setValidity(this.$$parserName,null),this.$$parserName="parse",this.$$parserValid)for(var n=0;n<this.$parsers.length;n++)if(z(e=this.$parsers[n](e))){this.$$parserValid=!1;break}R(this.$modelValue)&&(this.$modelValue=this.$$ngModelGet(this.$$scope));var r=this.$modelValue,i=this.$options.getOption("allowInvalid");function o(){t.$modelValue!==r&&t.$$writeModelToScope()}this.$$rawModelValue=e,i&&(this.$modelValue=e,o()),this.$$runValidators(e,this.$$lastCommittedViewValue,function(n){i||(t.$modelValue=n?e:void 0,o())})},$$writeModelToScope:function(){this.$$ngModelSet(this.$$scope,this.$modelValue),_(this.$viewChangeListeners,function(e){try{e()}catch(e){this.$$exceptionHandler(e)}},this)},$setViewValue:function(e,t){this.$viewValue=e,this.$options.getOption("updateOnDefault")&&this.$$debounceViewValueCommit(t)},$$debounceViewValueCommit:function(e){var t=this.$options.getOption("debounce");F(t[e])?t=t[e]:F(t.default)&&-1===this.$options.getOption("updateOn").indexOf(e)?t=t.default:F(t["*"])&&(t=t["*"]),this.$$timeout.cancel(this.$$pendingDebounce);var n=this;t>0?this.$$pendingDebounce=this.$$timeout(function(){n.$commitViewValue()},t):this.$$rootScope.$$phase?this.$commitViewValue():this.$$scope.$apply(function(){n.$commitViewValue()})},$overrideModelOptions:function(e){this.$options=this.$options.createChild(e),this.$$setUpdateOnEvents()},$processModelValue:function(){var e=this.$$format();this.$viewValue!==e&&(this.$$updateEmptyClasses(e),this.$viewValue=this.$$lastCommittedViewValue=e,this.$render(),this.$$runValidators(this.$modelValue,this.$viewValue,D))},$$format:function(){for(var e=this.$formatters,t=e.length,n=this.$modelValue;t--;)n=e[t](n);return n},$$setModelValue:function(e){this.$modelValue=this.$$rawModelValue=e,this.$$parserValid=void 0,this.$processModelValue()},$$setUpdateOnEvents:function(){this.$$updateEvents&&this.$$element.off(this.$$updateEvents,this.$$updateEventHandler),this.$$updateEvents=this.$options.getOption("updateOn"),this.$$updateEvents&&this.$$element.on(this.$$updateEvents,this.$$updateEventHandler)},$$updateEventHandler:function(e){this.$$debounceViewValueCommit(e&&e.type)}},Yi({clazz:Wo,set:function(e,t){e[t]=!0},unset:function(e,t){delete e[t]}});var Go,Xo=["$rootScope",function(e){return{restrict:"A",require:["ngModel","^?form","^?ngModelOptions"],controller:Wo,priority:1,compile:function(t){return t.addClass(Fo).addClass("ng-untouched").addClass(Bo),{pre:function(e,t,n,r){var i=r[0],o=r[1]||i.$$parentForm,a=r[2];a&&(i.$options=a.$options),i.$$initGetterSetters(),o.$addControl(i),n.$observe("name",function(e){i.$name!==e&&i.$$parentForm.$$renameControl(i,e)}),e.$on("$destroy",function(){i.$$parentForm.$removeControl(i)})},post:function(t,n,r,i){var o=i[0];function a(){o.$setTouched()}o.$$setUpdateOnEvents(),n.on("blur",function(){o.$touched||(e.$$phase?t.$evalAsync(a):t.$apply(a))})}}}}}],Yo=/(\s+|^)default(\s+|$)/;function Zo(e){this.$$options=e}Zo.prototype={getOption:function(e){return this.$$options[e]},createChild:function(e){var t=!1;return _(e=A({},e),function(n,r){"$inherit"===n?"*"===r?t=!0:(e[r]=this.$$options[r],"updateOn"===r&&(e.updateOnDefault=this.$$options.updateOnDefault)):"updateOn"===r&&(e.updateOnDefault=!1,e[r]=ee(n.replace(Yo,function(){return e.updateOnDefault=!0," "})))},this),t&&(delete e["*"],Qo(e,this.$$options)),Qo(e,Go.$$options),new Zo(e)}},Go=new Zo({updateOn:"",updateOnDefault:!0,debounce:0,getterSetter:!1,allowInvalid:!1,timezone:null});var Ko=function(){function e(e,t){this.$$attrs=e,this.$$scope=t}return e.$inject=["$attrs","$scope"],e.prototype={$onInit:function(){var e=this.parentCtrl?this.parentCtrl.$options:Go,t=this.$$scope.$eval(this.$$attrs.ngModelOptions);this.$options=e.createChild(t)}},{restrict:"A",priority:10,require:{parentCtrl:"?^^ngModelOptions"},bindToController:!0,controller:e}};function Qo(e,t){_(t,function(t,n){L(e[n])||(e[n]=t)})}var Jo=Li({terminal:!0,priority:1e3}),ea=i("ngOptions"),ta=/^\s*([\s\S]+?)(?:\s+as\s+([\s\S]+?))?(?:\s+group\s+by\s+([\s\S]+?))?(?:\s+disable\s+when\s+([\s\S]+?))?\s+for\s+(?:([$\w][$\w]*)|(?:\(\s*([$\w][$\w]*)\s*,\s*([$\w][$\w]*)\s*\)))\s+in\s+([\s\S]+?)(?:\s+track\s+by\s+([\s\S]+?))?$/,na=["$compile","$document","$parse",function(t,n,r){var i=e.document.createElement("option"),o=e.document.createElement("optgroup");return{restrict:"A",terminal:!0,require:["select","ngModel"],link:{pre:function(e,t,n,r){r[0].registerOption=D},post:function(e,s,l,c){for(var u=c[0],d=c[1],p=l.multiple,f=0,h=s.children(),g=h.length;f<g;f++)if(""===h[f].value){u.hasEmptyOption=!0,u.emptyOption=h.eq(f);break}s.empty();var m,v=!!u.emptyOption;a(i.cloneNode(!1)).val("?");var b=function(e,t,n){var i=e.match(ta);if(!i)throw ea("iexp","Expected expression in form of '_select_ (as _label_)? for (_key_,)?_value_ in _collection_' but got '{0}'. Element: {1}",e,we(t));var o=i[5]||i[7],a=i[6],s=/ as /.test(i[0])&&i[1],l=i[9],c=r(i[2]?i[1]:o),u=s&&r(s)||c,d=l&&r(l),p=l?function(e,t){return d(n,t)}:function(e){return Lt(e)},f=function(e,t){return p(e,y(e,t))},h=r(i[2]||i[1]),g=r(i[3]||""),m=r(i[4]||""),v=r(i[8]),b={},y=a?function(e,t){return b[a]=t,b[o]=e,b}:function(e){return b[o]=e,b};function x(e,t,n,r,i){this.selectValue=e,this.viewValue=t,this.label=n,this.group=r,this.disabled=i}function w(e){var t;if(!a&&k(e))t=e;else for(var n in t=[],e)e.hasOwnProperty(n)&&"$"!==n.charAt(0)&&t.push(n);return t}return{trackBy:l,getTrackByValue:f,getWatchables:r(v,function(e){for(var t=[],r=w(e=e||[]),o=r.length,a=0;a<o;a++){var s=e===r?a:r[a],l=e[s],c=y(l,s),u=p(l,c);if(t.push(u),i[2]||i[1]){var d=h(n,c);t.push(d)}if(i[4]){var f=m(n,c);t.push(f)}}return t}),getOptions:function(){for(var e=[],t={},r=v(n)||[],i=w(r),o=i.length,a=0;a<o;a++){var s=r===i?a:i[a],c=r[s],d=y(c,s),b=u(n,d),k=p(b,d),_=new x(k,b,h(n,d),g(n,d),m(n,d));e.push(_),t[k]=_}return{items:e,selectValueMap:t,getOptionFromViewValue:function(e){return t[f(e)]},getViewValueFromOption:function(e){return l?ae(e.viewValue):e.viewValue}}}}}(l.ngOptions,s,e),y=n[0].createDocumentFragment();function x(e,t){var n=i.cloneNode(!1);t.appendChild(n),function(e,t){e.element=t,t.disabled=e.disabled,e.label!==t.label&&(t.label=e.label,t.textContent=e.label),t.value=e.selectValue}(e,n)}function w(e){var t=m.getOptionFromViewValue(e),n=t&&t.element;return n&&!n.selected&&(n.selected=!0),t}u.generateUnknownOptionValue=function(e){return"?"},p?(u.writeValue=function(e){if(m){var t=e&&e.map(w)||[];m.items.forEach(function(e){e.element.selected&&!ie(t,e)&&(e.element.selected=!1)})}},u.readValue=function(){var e=[];return _(s.val()||[],function(t){var n=m.selectValueMap[t];n&&!n.disabled&&e.push(m.getViewValueFromOption(n))}),e},b.trackBy&&e.$watchCollection(function(){if(H(d.$viewValue))return d.$viewValue.map(function(e){return b.getTrackByValue(e)})},function(){d.$render()})):(u.writeValue=function(e){if(m){var t=s[0].options[s[0].selectedIndex],n=m.getOptionFromViewValue(e);t&&t.removeAttribute("selected"),n?(s[0].value!==n.selectValue&&(u.removeUnknownOption(),s[0].value=n.selectValue,n.element.selected=!0),n.element.setAttribute("selected","selected")):u.selectUnknownOrEmptyOption(e)}},u.readValue=function(){var e=m.selectValueMap[s.val()];return e&&!e.disabled?(u.unselectEmptyOption(),u.removeUnknownOption(),m.getViewValueFromOption(e)):null},b.trackBy&&e.$watch(function(){return b.getTrackByValue(d.$viewValue)},function(){d.$render()})),v&&(t(u.emptyOption)(e),s.prepend(u.emptyOption),u.emptyOption[0].nodeType===Ue?(u.hasEmptyOption=!1,u.registerOption=function(e,t){""===t.val()&&(u.hasEmptyOption=!0,u.emptyOption=t,u.emptyOption.removeClass("ng-scope"),d.$render(),t.on("$destroy",function(){var e=u.$isEmptyOptionSelected();u.hasEmptyOption=!1,u.emptyOption=void 0,e&&d.$render()}))}):u.emptyOption.removeClass("ng-scope")),e.$watchCollection(b.getWatchables,function(){var e=m&&u.readValue();if(m)for(var t=m.items.length-1;t>=0;t--){var n=m.items[t];L(n.group)?At(n.element.parentNode):At(n.element)}var r={};if((m=b.getOptions()).items.forEach(function(e){var t;L(e.group)?((t=r[e.group])||(t=o.cloneNode(!1),y.appendChild(t),t.label=null===e.group?"null":e.group,r[e.group]=t),x(e,t)):x(e,y)}),s[0].appendChild(y),d.$render(),!d.$isEmpty(e)){var i=u.readValue(),a=b.trackBy||p;(a?le(e,i):e===i)||(d.$setViewValue(i),d.$render())}})}}}}],ra=["$locale","$interpolate","$log",function(e,t,n){var r=/{}/g,i=/^when(Minus)?(.+)$/;return{link:function(o,a,s){var l,c=s.count,u=s.$attr.when&&a.attr(s.$attr.when),d=s.offset||0,f=o.$eval(u)||{},h={},g=t.startSymbol(),m=t.endSymbol(),v=g+c+"-"+d+m,b=x.noop;function y(e){a.text(e||"")}_(s,function(e,t){var n=i.exec(t);if(n){var r=(n[1]?"-":"")+p(n[2]);f[r]=a.attr(s.$attr[t])}}),_(f,function(e,n){h[n]=t(e.replace(r,v))}),o.$watch(c,function(t){var r=parseFloat(t),i=R(r);if(i||r in f||(r=e.pluralCat(r-d)),!(r===l||i&&R(l))){b();var a=h[r];z(a)?(null!=t&&n.debug("ngPluralize: no rule defined for '"+r+"' in "+u),b=D,y()):b=o.$watch(a,y),l=r}})}}}],ia=i("ngRef"),oa=["$parse",function(e){return{priority:-1,restrict:"A",compile:function(t,n){var r=xn(re(t)),i=e(n.ngRef),o=i.assign||function(){throw ia("nonassign",'Expression in ngRef="{0}" is non-assignable!',n.ngRef)};return function(e,t,a){var s;if(a.hasOwnProperty("ngRefRead")){if("$element"===a.ngRefRead)s=t;else if(!(s=t.data("$"+a.ngRefRead+"Controller")))throw ia("noctrl",'The controller for ngRefRead="{0}" could not be found on ngRef="{1}"',a.ngRefRead,n.ngRef)}else s=t.data("$"+r+"Controller");o(e,s=s||t),t.on("$destroy",function(){i(e)===s&&o(e,null)})}}}}],aa=["$parse","$animate","$compile",function(e,t,n){var r=i("ngRepeat"),o=function(e,t,n,r,i,o,a){e[n]=r,i&&(e[i]=o),e.$index=t,e.$first=0===t,e.$last=t===a-1,e.$middle=!(e.$first||e.$last),e.$odd=!(e.$even=0==(1&t))},a=function(e){return e.clone[0]},s=function(e){return e.clone[e.clone.length-1]};return{restrict:"A",multiElement:!0,transclude:"element",priority:1e3,terminal:!0,$$tlb:!0,compile:function(i,l){var c=l.ngRepeat,u=n.$$createComment("end ngRepeat",c),p=c.match(/^\s*([\s\S]+?)\s+in\s+([\s\S]+?)(?:\s+as\s+([\s\S]+?))?(?:\s+track\s+by\s+([\s\S]+?))?\s*$/);if(!p)throw r("iexp","Expected expression in form of '_item_ in _collection_[ track by _id_]' but got '{0}'.",c);var f=p[1],h=p[2],g=p[3],m=p[4];if(!(p=f.match(/^(?:(\s*[$\w]+)|\(\s*([$\w]+)\s*,\s*([$\w]+)\s*\))$/)))throw r("iidexp","'_item_' in '_item_ in _collection_' should be an identifier or '(_key_, _value_)' expression, but got '{0}'.",f);var v,b,y,x,w=p[3]||p[1],$=p[2];if(g&&(!/^[$a-zA-Z_][$a-zA-Z0-9_]*$/.test(g)||/^(null|undefined|this|\$index|\$first|\$middle|\$last|\$even|\$odd|\$parent|\$root|\$id)$/.test(g)))throw r("badident","alias '{0}' is invalid --- must be a valid JS identifier which is not a reserved name.",g);var E={$id:Lt};return m?v=e(m):(y=function(e,t){return Lt(t)},x=function(e){return e}),function(e,n,i,l,p){v&&(b=function(t,n,r){return $&&(E[$]=t),E[w]=n,E.$index=r,v(e,E)});var f=qe();e.$watchCollection(h,function(i){var l,h,m,v,E,S,C,T,A,O,P,R,j=n[0],D=qe();if(g&&(e[g]=i),k(i))A=i,T=b||y;else for(var N in T=b||x,A=[],i)d.call(i,N)&&"$"!==N.charAt(0)&&A.push(N);for(v=A.length,P=new Array(v),l=0;l<v;l++)if(E=i===A?l:A[l],S=i[E],C=T(E,S,l),f[C])O=f[C],delete f[C],D[C]=O,P[l]=O;else{if(D[C])throw _(P,function(e){e&&e.scope&&(f[e.id]=e)}),r("dupes","Duplicates in a repeater are not allowed. Use 'track by' expression to specify unique keys. Repeater: {0}, Duplicate key: {1}, Duplicate value: {2}",c,C,S);P[l]={id:C,scope:void 0,clone:void 0},D[C]=!0}for(var I in f){if(R=Le((O=f[I]).clone),t.leave(R),R[0].parentNode)for(l=0,h=R.length;l<h;l++)R[l].$$NG_REMOVED=!0;O.scope.$destroy()}for(l=0;l<v;l++)if(E=i===A?l:A[l],S=i[E],(O=P[l]).scope){m=j;do{m=m.nextSibling}while(m&&m.$$NG_REMOVED);a(O)!==m&&t.move(Le(O.clone),null,j),j=s(O),o(O.scope,l,w,S,$,E,v)}else p(function(e,n){O.scope=n;var r=u.cloneNode(!1);e[e.length++]=r,t.enter(e,null,j),j=r,O.clone=e,D[O.id]=O,o(O.scope,l,w,S,$,E,v)});f=D})}}}}],sa=["$animate",function(e){return{restrict:"A",multiElement:!0,link:function(t,n,r){t.$watch(r.ngShow,function(t){e[t?"removeClass":"addClass"](n,"ng-hide",{tempClasses:"ng-hide-animate"})})}}}],la=["$animate",function(e){return{restrict:"A",multiElement:!0,link:function(t,n,r){t.$watch(r.ngHide,function(t){e[t?"addClass":"removeClass"](n,"ng-hide",{tempClasses:"ng-hide-animate"})})}}}],ca=Li(function(e,t,n){e.$watchCollection(n.ngStyle,function(e,n){n&&e!==n&&_(n,function(e,n){t.css(n,"")}),e&&t.css(e)})}),ua=["$animate","$compile",function(e,t){return{require:"ngSwitch",controller:["$scope",function(){this.cases={}}],link:function(n,r,i,o){var a=i.ngSwitch||i.on,s=[],l=[],c=[],u=[],d=function(e,t){return function(n){!1!==n&&e.splice(t,1)}};n.$watch(a,function(n){for(var r,i;c.length;)e.cancel(c.pop());for(r=0,i=u.length;r<i;++r){var a=Le(l[r].clone);u[r].$destroy(),(c[r]=e.leave(a)).done(d(c,r))}l.length=0,u.length=0,(s=o.cases["!"+n]||o.cases["?"])&&_(s,function(n){n.transclude(function(r,i){u.push(i);var o=n.element;r[r.length++]=t.$$createComment("end ngSwitchWhen");var a={clone:r};l.push(a),e.enter(r,o.parent(),o)})})})}}}],da=Li({transclude:"element",priority:1200,require:"^ngSwitch",multiElement:!0,link:function(e,t,n,r,i){_(n.ngSwitchWhen.split(n.ngSwitchWhenSeparator).sort().filter(function(e,t,n){return n[t-1]!==e}),function(e){r.cases["!"+e]=r.cases["!"+e]||[],r.cases["!"+e].push({transclude:i,element:t})})}}),pa=Li({transclude:"element",priority:1200,require:"^ngSwitch",multiElement:!0,link:function(e,t,n,r,i){r.cases["?"]=r.cases["?"]||[],r.cases["?"].push({transclude:i,element:t})}}),fa=i("ngTransclude"),ha=["$compile",function(e){return{restrict:"EAC",compile:function(t){var n=e(t.contents());return t.empty(),function(e,t,r,i,o){if(!o)throw fa("orphan","Illegal use of ngTransclude directive in the template! No parent directive that requires a transclusion found. Element: {0}",we(t));r.ngTransclude===r.$attr.ngTransclude&&(r.ngTransclude="");var a=r.ngTransclude||r.ngTranscludeSlot;function s(){n(e,function(e){t.append(e)})}o(function(e,n){e.length&&function(e){for(var t=0,n=e.length;t<n;t++){var r=e[t];if(r.nodeType!==Fe||r.nodeValue.trim())return!0}}(e)?t.append(e):(s(),n.$destroy())},null,a),a&&!o.isSlotFilled(a)&&s()}}}}],ga=["$templateCache",function(e){return{restrict:"E",terminal:!0,compile:function(t,n){if("text/ng-template"===n.type){var r=n.id,i=t[0].text;e.put(r,i)}}}}],ma={$setViewValue:D,$render:D};function va(e,t){e.prop("selected",t),e.attr("selected",t)}var ba=["$element","$scope",function(t,n){var r=this,i=new Vt;r.selectValueMap={},r.ngModelCtrl=ma,r.multiple=!1,r.unknownOption=a(e.document.createElement("option")),r.hasEmptyOption=!1,r.emptyOption=void 0,r.renderUnknownOption=function(e){var n=r.generateUnknownOptionValue(e);r.unknownOption.val(n),t.prepend(r.unknownOption),va(r.unknownOption,!0),t.val(n)},r.updateUnknownOption=function(e){var n=r.generateUnknownOptionValue(e);r.unknownOption.val(n),va(r.unknownOption,!0),t.val(n)},r.generateUnknownOptionValue=function(e){return"? "+Lt(e)+" ?"},r.removeUnknownOption=function(){r.unknownOption.parent()&&r.unknownOption.remove()},r.selectEmptyOption=function(){r.emptyOption&&(t.val(""),va(r.emptyOption,!0))},r.unselectEmptyOption=function(){r.hasEmptyOption&&va(r.emptyOption,!1)},n.$on("$destroy",function(){r.renderUnknownOption=D}),r.readValue=function(){var e=t.val(),n=e in r.selectValueMap?r.selectValueMap[e]:e;return r.hasOption(n)?n:null},r.writeValue=function(e){var n=t[0].options[t[0].selectedIndex];if(n&&va(a(n),!1),r.hasOption(e)){r.removeUnknownOption();var i=Lt(e);t.val(i in r.selectValueMap?i:e);var o=t[0].options[t[0].selectedIndex];va(a(o),!0)}else r.selectUnknownOrEmptyOption(e)},r.addOption=function(e,t){if(t[0].nodeType!==Ue){ze(e,'"option value"'),""===e&&(r.hasEmptyOption=!0,r.emptyOption=t);var n=i.get(e)||0;i.set(e,n+1),s()}},r.removeOption=function(e){var t=i.get(e);t&&(1===t?(i.delete(e),""===e&&(r.hasEmptyOption=!1,r.emptyOption=void 0)):i.set(e,t-1))},r.hasOption=function(e){return!!i.get(e)},r.$hasEmptyOption=function(){return r.hasEmptyOption},r.$isUnknownOptionSelected=function(){return t[0].options[0]===r.unknownOption[0]},r.$isEmptyOptionSelected=function(){return r.hasEmptyOption&&t[0].options[t[0].selectedIndex]===r.emptyOption[0]},r.selectUnknownOrEmptyOption=function(e){null==e&&r.emptyOption?(r.removeUnknownOption(),r.selectEmptyOption()):r.unknownOption.parent().length?r.updateUnknownOption(e):r.renderUnknownOption(e)};var o=!1;function s(){o||(o=!0,n.$$postDigest(function(){o=!1,r.ngModelCtrl.$render()}))}var l=!1;function c(e){l||(l=!0,n.$$postDigest(function(){n.$$destroyed||(l=!1,r.ngModelCtrl.$setViewValue(r.readValue()),e&&r.ngModelCtrl.$render())}))}r.registerOption=function(e,t,n,i,o){if(n.$attr.ngValue){var a,l=NaN;n.$observe("value",function(e){var n,i=t.prop("selected");L(l)&&(r.removeOption(a),delete r.selectValueMap[l],n=!0),l=Lt(e),a=e,r.selectValueMap[l]=e,r.addOption(e,t),t.attr("value",l),n&&i&&c()})}else i?n.$observe("value",function(e){var n;r.readValue();var i=t.prop("selected");L(a)&&(r.removeOption(a),n=!0),a=e,r.addOption(e,t),n&&i&&c()}):o?e.$watch(o,function(e,i){n.$set("value",e);var o=t.prop("selected");i!==e&&r.removeOption(i),r.addOption(e,t),i&&o&&c()}):r.addOption(n.value,t);n.$observe("disabled",function(e){("true"===e||e&&t.prop("selected"))&&(r.multiple?c(!0):(r.ngModelCtrl.$setViewValue(null),r.ngModelCtrl.$render()))}),t.on("$destroy",function(){var e=r.readValue(),t=n.value;r.removeOption(t),s(),(r.multiple&&e&&-1!==e.indexOf(t)||e===t)&&c(!0)})}}],ya=function(){return{restrict:"E",require:["select","?ngModel"],controller:ba,priority:1,link:{pre:function(e,t,n,r){var i=r[0],o=r[1];if(!o)return void(i.registerOption=D);if(i.ngModelCtrl=o,t.on("change",function(){i.removeUnknownOption(),e.$apply(function(){o.$setViewValue(i.readValue())})}),n.multiple){i.multiple=!0,i.readValue=function(){var e=[];return _(t.find("option"),function(t){if(t.selected&&!t.disabled){var n=t.value;e.push(n in i.selectValueMap?i.selectValueMap[n]:n)}}),e},i.writeValue=function(e){_(t.find("option"),function(t){var n=!!e&&(ie(e,t.value)||ie(e,i.selectValueMap[t.value])),r=t.selected;n!==r&&va(a(t),n)})};var s,l=NaN;e.$watch(function(){l!==o.$viewValue||le(s,o.$viewValue)||(s=Ge(o.$viewValue),o.$render()),l=o.$viewValue}),o.$isEmpty=function(e){return!e||0===e.length}}},post:function(e,t,n,r){var i=r[1];if(!i)return;var o=r[0];i.$render=function(){o.writeValue(i.$viewValue)}}}}},xa=["$interpolate",function(e){return{restrict:"E",priority:100,compile:function(t,n){var r,i;return L(n.ngValue)||(L(n.value)?r=e(n.value,!0):(i=e(t.text(),!0))||n.$set("value",t.text())),function(e,t,n){var o=t.parent(),a=o.data("$selectController")||o.parent().data("$selectController");a&&a.registerOption(e,t,n,r,i)}}}}],wa=function(){return{restrict:"A",require:"?ngModel",link:function(e,t,n,r){r&&(n.required=!0,r.$validators.required=function(e,t){return!n.required||!r.$isEmpty(t)},n.$observe("required",function(){r.$validate()}))}}},ka=function(){return{restrict:"A",require:"?ngModel",link:function(e,t,n,r){if(r){var o,a=n.ngPattern||n.pattern;n.$observe("pattern",function(e){if(V(e)&&e.length>0&&(e=new RegExp("^"+e+"$")),e&&!e.test)throw i("ngPattern")("noregexp","Expected {0} to be a RegExp but was {1}. Element: {2}",a,e,we(t));o=e||void 0,r.$validate()}),r.$validators.pattern=function(e,t){return r.$isEmpty(t)||z(o)||o.test(t)}}}}},_a=function(){return{restrict:"A",require:"?ngModel",link:function(e,t,n,r){if(r){var i=-1;n.$observe("maxlength",function(e){var t=P(e);i=R(t)?-1:t,r.$validate()}),r.$validators.maxlength=function(e,t){return i<0||r.$isEmpty(t)||t.length<=i}}}}},$a=function(){return{restrict:"A",require:"?ngModel",link:function(e,t,n,r){if(r){var i=0;n.$observe("minlength",function(e){i=P(e)||0,r.$validate()}),r.$validators.minlength=function(e,t){return r.$isEmpty(t)||t.length>=i}}}}};e.angular.bootstrap?e.console&&console.log("WARNING: Tried to load AngularJS more than once."):(!function(){var t;if(!Ne){var n=ue();(s=z(n)?e.jQuery:n?e[n]:void 0)&&s.fn.on?(a=s,A(s.fn,{scope:Pt.scope,isolateScope:Pt.isolateScope,controller:Pt.controller,injector:Pt.injector,inheritedData:Pt.inheritedData})):a=ft,t=a.cleanData,a.cleanData=function(e){for(var n,r,i=0;null!=(r=e[i]);i++)(n=a._data(r).events)&&n.$destroy&&a(r).triggerHandler("$destroy");t(e)},x.element=a,Ne=!0}}(),function(t){A(t,{errorHandlingConfig:n,bootstrap:Oe,copy:ae,extend:A,merge:O,equals:le,element:a,forEach:_,injector:Qt,noop:D,bind:fe,toJson:ge,fromJson:me,identity:N,isUndefined:z,isDefined:L,isString:V,isFunction:G,isObject:q,isNumber:F,isElement:ne,isArray:H,version:Ye,isDate:U,callbacks:{$$counter:0},getTestability:Re,reloadWithDebugInfo:Pe,$$minErr:i,$$csp:ce,$$encodeUriSegment:Ee,$$encodeUriQuery:Se,$$lowercase:p,$$stringify:Be,$$uppercase:f}),(l=function(e){var t=i("$injector"),n=i("ng");function r(e,t,n){return e[t]||(e[t]=n())}var o=r(e,"angular",Object);return o.$$minErr=o.$$minErr||i,r(o,"module",function(){var e={};return function(i,o,a){var s={};return function(e,t){if("hasOwnProperty"===e)throw n("badname","hasOwnProperty is not a valid {0} name",t)}(i,"module"),o&&e.hasOwnProperty(i)&&(e[i]=null),r(e,i,function(){if(!o)throw t("nomod","Module '{0}' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.",i);var e=[],r=[],l=[],c=d("$injector","invoke","push",r),u={_invokeQueue:e,_configBlocks:r,_runBlocks:l,info:function(e){if(L(e)){if(!q(e))throw n("aobj","Argument '{0}' must be an object","value");return s=e,this}return s},requires:o,name:i,provider:p("$provide","provider"),factory:p("$provide","factory"),service:p("$provide","service"),value:d("$provide","value"),constant:d("$provide","constant","unshift"),decorator:p("$provide","decorator",r),animation:p("$animateProvider","register"),filter:p("$filterProvider","register"),controller:p("$controllerProvider","register"),directive:p("$compileProvider","directive"),component:p("$compileProvider","component"),config:c,run:function(e){return l.push(e),this}};return a&&c(a),u;function d(t,n,r,i){return i||(i=e),function(){return i[r||"push"]([t,n,arguments]),u}}function p(t,n,r){return r||(r=e),function(e,o){return o&&G(o)&&(o.$$moduleName=i),r.push([t,n,arguments]),u}}})}})}(e))("ng",["ngLocale"],["$provide",function(e){e.provider({$$sanitizeUri:Hr}),e.provider("$compile",mn).directive({a:qi,input:wo,textarea:wo,form:Wi,script:ga,select:ya,option:xa,ngBind:$o,ngBindHtml:So,ngBindTemplate:Eo,ngClass:Ao,ngClassEven:Po,ngClassOdd:Oo,ngCloak:Ro,ngController:jo,ngForm:Gi,ngHide:la,ngIf:Io,ngInclude:Mo,ngInit:Lo,ngNonBindable:Jo,ngPluralize:ra,ngRef:oa,ngRepeat:aa,ngShow:sa,ngStyle:ca,ngSwitch:ua,ngSwitchWhen:da,ngSwitchDefault:pa,ngOptions:na,ngTransclude:ha,ngModel:Xo,ngList:qo,ngChange:Co,pattern:ka,ngPattern:ka,required:wa,ngRequired:wa,minlength:$a,ngMinlength:$a,maxlength:_a,ngMaxlength:_a,ngValue:_o,ngModelOptions:Ko}).directive({ngInclude:zo}).directive(Bi).directive(Do),e.provider({$anchorScroll:Jt,$animate:sn,$animateCss:un,$$animateJs:on,$$animateQueue:an,$$AnimateRunner:cn,$$animateAsyncRun:ln,$browser:dn,$cacheFactory:pn,$controller:En,$document:Sn,$$isDocumentHidden:Cn,$exceptionHandler:Tn,$filter:fi,$$forceReflow:An,$interpolate:Xn,$interval:Zn,$http:Un,$httpParamSerializer:Mn,$httpParamSerializerJQLike:zn,$httpBackend:Wn,$xhrFactory:Hn,$jsonpCallbacks:Kn,$location:gr,$log:mr,$parse:Ir,$rootScope:Ur,$q:Mr,$$q:zr,$sce:Qr,$sceDelegate:Kr,$sniffer:Jr,$templateCache:fn,$templateRequest:ti,$$testability:ni,$timeout:ii,$window:ui,$$rAF:Fr,$$jqLite:zt,$$Map:Ft,$$cookieReader:pi})}]).info({angularVersion:"1.7.2"})}(x),x.module("ngLocale",[],["$provide",function(e){var t="one",n="other";e.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(e,r){var i=0|e,o=function(e,t){var n=t;void 0===n&&(n=Math.min(function(e){var t=(e+="").indexOf(".");return-1==t?0:e.length-t-1}(e),3));var r=Math.pow(10,n);return{v:n,f:(e*r|0)%r}}(e,r);return 1==i&&0==o.v?t:n}})}]),a(function(){Ae(e.document,Oe)}))}(window),!window.angular.$$csp().noInlineStyle&&window.angular.element(document.head).prepend('<style type="text/css">@charset "UTF-8";[ng\\:cloak],[ng-cloak],[data-ng-cloak],[x-ng-cloak],.ng-cloak,.x-ng-cloak,.ng-hide:not(.ng-hide-animate){display:none !important;}ng\\:form{display:block;}.ng-animate-shim{visibility:hidden;}.ng-anchor{position:absolute;}</style>')},function(e,t,n){const r=n(4);n(224),n(184),n(109),n(100),n(99),n(89),n(88),n(87),r.module("dbt").run(["$rootScope","$state","$stateParams",function(e,t,n){e.$state=t,e.$stateParams=n}])}]);
 //# sourceMappingURL=main.js.map</script></body>
 </html>