2 lines
973 KiB
JavaScript
2 lines
973 KiB
JavaScript
!function(){var e,t,n,i,o,r={"./node_modules/@babel/runtime/helpers/arrayLikeToArray.js":function(e){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}},"./node_modules/@babel/runtime/helpers/arrayWithHoles.js":function(e){e.exports=function(e){if(Array.isArray(e))return e}},"./node_modules/@babel/runtime/helpers/arrayWithoutHoles.js":function(e,t,n){var i=n("./node_modules/@babel/runtime/helpers/arrayLikeToArray.js");e.exports=function(e){if(Array.isArray(e))return i(e)}},"./node_modules/@babel/runtime/helpers/asyncToGenerator.js":function(e){function t(e,t,n,i,o,r,a){try{var s=e[r](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(i,o)}e.exports=function(e){return function(){var n=this,i=arguments;return new Promise((function(o,r){var a=e.apply(n,i);function s(e){t(a,o,r,s,l,"next",e)}function l(e){t(a,o,r,s,l,"throw",e)}s(void 0)}))}}},"./node_modules/@babel/runtime/helpers/defineProperty.js":function(e){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},"./node_modules/@babel/runtime/helpers/iterableToArray.js":function(e){e.exports=function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}},"./node_modules/@babel/runtime/helpers/iterableToArrayLimit.js":function(e){e.exports=function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],i=!0,o=!1,r=void 0;try{for(var a,s=e[Symbol.iterator]();!(i=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);i=!0);}catch(e){o=!0,r=e}finally{try{i||null==s.return||s.return()}finally{if(o)throw r}}return n}}},"./node_modules/@babel/runtime/helpers/nonIterableRest.js":function(e){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},"./node_modules/@babel/runtime/helpers/nonIterableSpread.js":function(e){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},"./node_modules/@babel/runtime/helpers/objectWithoutProperties.js":function(e,t,n){var i=n("./node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js");e.exports=function(e,t){if(null==e)return{};var n,o,r=i(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}},"./node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js":function(e){e.exports=function(e,t){if(null==e)return{};var n,i,o={},r=Object.keys(e);for(i=0;i<r.length;i++)n=r[i],t.indexOf(n)>=0||(o[n]=e[n]);return o}},"./node_modules/@babel/runtime/helpers/slicedToArray.js":function(e,t,n){var i=n("./node_modules/@babel/runtime/helpers/arrayWithHoles.js"),o=n("./node_modules/@babel/runtime/helpers/iterableToArrayLimit.js"),r=n("./node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js"),a=n("./node_modules/@babel/runtime/helpers/nonIterableRest.js");e.exports=function(e,t){return i(e)||o(e,t)||r(e,t)||a()}},"./node_modules/@babel/runtime/helpers/toConsumableArray.js":function(e,t,n){var i=n("./node_modules/@babel/runtime/helpers/arrayWithoutHoles.js"),o=n("./node_modules/@babel/runtime/helpers/iterableToArray.js"),r=n("./node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js"),a=n("./node_modules/@babel/runtime/helpers/nonIterableSpread.js");e.exports=function(e){return i(e)||o(e)||r(e)||a()}},"./node_modules/@babel/runtime/helpers/typeof.js":function(e){function t(n){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e.exports=t=function(e){return typeof e}:e.exports=t=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},t(n)}e.exports=t},"./node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js":function(e,t,n){var i=n("./node_modules/@babel/runtime/helpers/arrayLikeToArray.js");e.exports=function(e,t){if(e){if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?i(e,t):void 0}}},"./node_modules/@babel/runtime/regenerator/index.js":function(e,t,n){e.exports=n("./node_modules/regenerator-runtime/runtime.js")},"./node_modules/core-js/internals/a-function.js":function(e){e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},"./node_modules/core-js/internals/a-possible-prototype.js":function(e,t,n){var i=n("./node_modules/core-js/internals/is-object.js");e.exports=function(e){if(!i(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},"./node_modules/core-js/internals/add-to-unscopables.js":function(e,t,n){var i=n("./node_modules/core-js/internals/well-known-symbol.js"),o=n("./node_modules/core-js/internals/object-create.js"),r=n("./node_modules/core-js/internals/object-define-property.js"),a=i("unscopables"),s=Array.prototype;null==s[a]&&r.f(s,a,{configurable:!0,value:o(null)}),e.exports=function(e){s[a][e]=!0}},"./node_modules/core-js/internals/advance-string-index.js":function(e,t,n){"use strict";var i=n("./node_modules/core-js/internals/string-multibyte.js").charAt;e.exports=function(e,t,n){return t+(n?i(e,t).length:1)}},"./node_modules/core-js/internals/an-instance.js":function(e){e.exports=function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e}},"./node_modules/core-js/internals/an-object.js":function(e,t,n){var i=n("./node_modules/core-js/internals/is-object.js");e.exports=function(e){if(!i(e))throw TypeError(String(e)+" is not an object");return e}},"./node_modules/core-js/internals/array-for-each.js":function(e,t,n){"use strict";var i=n("./node_modules/core-js/internals/array-iteration.js").forEach,o=n("./node_modules/core-js/internals/array-method-is-strict.js"),r=n("./node_modules/core-js/internals/array-method-uses-to-length.js"),a=o("forEach"),s=r("forEach");e.exports=a&&s?[].forEach:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}},"./node_modules/core-js/internals/array-from.js":function(e,t,n){"use strict";var i=n("./node_modules/core-js/internals/function-bind-context.js"),o=n("./node_modules/core-js/internals/to-object.js"),r=n("./node_modules/core-js/internals/call-with-safe-iteration-closing.js"),a=n("./node_modules/core-js/internals/is-array-iterator-method.js"),s=n("./node_modules/core-js/internals/to-length.js"),l=n("./node_modules/core-js/internals/create-property.js"),c=n("./node_modules/core-js/internals/get-iterator-method.js");e.exports=function(e){var t,n,u,d,f,p,m=o(e),h="function"==typeof this?this:Array,g=arguments.length,v=g>1?arguments[1]:void 0,b=void 0!==v,y=c(m),j=0;if(b&&(v=i(v,g>2?arguments[2]:void 0,2)),null==y||h==Array&&a(y))for(n=new h(t=s(m.length));t>j;j++)p=b?v(m[j],j):m[j],l(n,j,p);else for(f=(d=y.call(m)).next,n=new h;!(u=f.call(d)).done;j++)p=b?r(d,v,[u.value,j],!0):u.value,l(n,j,p);return n.length=j,n}},"./node_modules/core-js/internals/array-includes.js":function(e,t,n){var i=n("./node_modules/core-js/internals/to-indexed-object.js"),o=n("./node_modules/core-js/internals/to-length.js"),r=n("./node_modules/core-js/internals/to-absolute-index.js"),a=function(e){return function(t,n,a){var s,l=i(t),c=o(l.length),u=r(a,c);if(e&&n!=n){for(;c>u;)if((s=l[u++])!=s)return!0}else for(;c>u;u++)if((e||u in l)&&l[u]===n)return e||u||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},"./node_modules/core-js/internals/array-iteration.js":function(e,t,n){var i=n("./node_modules/core-js/internals/function-bind-context.js"),o=n("./node_modules/core-js/internals/indexed-object.js"),r=n("./node_modules/core-js/internals/to-object.js"),a=n("./node_modules/core-js/internals/to-length.js"),s=n("./node_modules/core-js/internals/array-species-create.js"),l=[].push,c=function(e){var t=1==e,n=2==e,c=3==e,u=4==e,d=6==e,f=7==e,p=5==e||d;return function(m,h,g,v){for(var b,y,j=r(m),_=o(j),w=i(h,g,3),x=a(_.length),k=0,C=v||s,S=t?C(m,x):n||f?C(m,0):void 0;x>k;k++)if((p||k in _)&&(y=w(b=_[k],k,j),e))if(t)S[k]=y;else if(y)switch(e){case 3:return!0;case 5:return b;case 6:return k;case 2:l.call(S,b)}else switch(e){case 4:return!1;case 7:l.call(S,b)}return d?-1:c||u?u:S}};e.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6),filterOut:c(7)}},"./node_modules/core-js/internals/array-last-index-of.js":function(e,t,n){"use strict";var i=n("./node_modules/core-js/internals/to-indexed-object.js"),o=n("./node_modules/core-js/internals/to-integer.js"),r=n("./node_modules/core-js/internals/to-length.js"),a=n("./node_modules/core-js/internals/array-method-is-strict.js"),s=n("./node_modules/core-js/internals/array-method-uses-to-length.js"),l=Math.min,c=[].lastIndexOf,u=!!c&&1/[1].lastIndexOf(1,-0)<0,d=a("lastIndexOf"),f=s("indexOf",{ACCESSORS:!0,1:0}),p=u||!d||!f;e.exports=p?function(e){if(u)return c.apply(this,arguments)||0;var t=i(this),n=r(t.length),a=n-1;for(arguments.length>1&&(a=l(a,o(arguments[1]))),a<0&&(a=n+a);a>=0;a--)if(a in t&&t[a]===e)return a||0;return-1}:c},"./node_modules/core-js/internals/array-method-has-species-support.js":function(e,t,n){var i=n("./node_modules/core-js/internals/fails.js"),o=n("./node_modules/core-js/internals/well-known-symbol.js"),r=n("./node_modules/core-js/internals/engine-v8-version.js"),a=o("species");e.exports=function(e){return r>=51||!i((function(){var t=[];return(t.constructor={})[a]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},"./node_modules/core-js/internals/array-method-is-strict.js":function(e,t,n){"use strict";var i=n("./node_modules/core-js/internals/fails.js");e.exports=function(e,t){var n=[][e];return!!n&&i((function(){n.call(null,t||function(){throw 1},1)}))}},"./node_modules/core-js/internals/array-method-uses-to-length.js":function(e,t,n){var i=n("./node_modules/core-js/internals/descriptors.js"),o=n("./node_modules/core-js/internals/fails.js"),r=n("./node_modules/core-js/internals/has.js"),a=Object.defineProperty,s={},l=function(e){throw e};e.exports=function(e,t){if(r(s,e))return s[e];t||(t={});var n=[][e],c=!!r(t,"ACCESSORS")&&t.ACCESSORS,u=r(t,0)?t[0]:l,d=r(t,1)?t[1]:void 0;return s[e]=!!n&&!o((function(){if(c&&!i)return!0;var e={length:-1};c?a(e,1,{enumerable:!0,get:l}):e[1]=1,n.call(e,u,d)}))}},"./node_modules/core-js/internals/array-reduce.js":function(e,t,n){var i=n("./node_modules/core-js/internals/a-function.js"),o=n("./node_modules/core-js/internals/to-object.js"),r=n("./node_modules/core-js/internals/indexed-object.js"),a=n("./node_modules/core-js/internals/to-length.js"),s=function(e){return function(t,n,s,l){i(n);var c=o(t),u=r(c),d=a(c.length),f=e?d-1:0,p=e?-1:1;if(s<2)for(;;){if(f in u){l=u[f],f+=p;break}if(f+=p,e?f<0:d<=f)throw TypeError("Reduce of empty array with no initial value")}for(;e?f>=0:d>f;f+=p)f in u&&(l=n(l,u[f],f,c));return l}};e.exports={left:s(!1),right:s(!0)}},"./node_modules/core-js/internals/array-species-create.js":function(e,t,n){var i=n("./node_modules/core-js/internals/is-object.js"),o=n("./node_modules/core-js/internals/is-array.js"),r=n("./node_modules/core-js/internals/well-known-symbol.js")("species");e.exports=function(e,t){var n;return o(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!o(n.prototype)?i(n)&&null===(n=n[r])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)}},"./node_modules/core-js/internals/call-with-safe-iteration-closing.js":function(e,t,n){var i=n("./node_modules/core-js/internals/an-object.js"),o=n("./node_modules/core-js/internals/iterator-close.js");e.exports=function(e,t,n,r){try{return r?t(i(n)[0],n[1]):t(n)}catch(t){throw o(e),t}}},"./node_modules/core-js/internals/check-correctness-of-iteration.js":function(e,t,n){var i=n("./node_modules/core-js/internals/well-known-symbol.js")("iterator"),o=!1;try{var r=0,a={next:function(){return{done:!!r++}},return:function(){o=!0}};a[i]=function(){return this},Array.from(a,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!o)return!1;var n=!1;try{var r={};r[i]=function(){return{next:function(){return{done:n=!0}}}},e(r)}catch(e){}return n}},"./node_modules/core-js/internals/classof-raw.js":function(e){var t={}.toString;e.exports=function(e){return t.call(e).slice(8,-1)}},"./node_modules/core-js/internals/classof.js":function(e,t,n){var i=n("./node_modules/core-js/internals/to-string-tag-support.js"),o=n("./node_modules/core-js/internals/classof-raw.js"),r=n("./node_modules/core-js/internals/well-known-symbol.js")("toStringTag"),a="Arguments"==o(function(){return arguments}());e.exports=i?o:function(e){var t,n,i;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),r))?n:a?o(t):"Object"==(i=o(t))&&"function"==typeof t.callee?"Arguments":i}},"./node_modules/core-js/internals/collection-strong.js":function(e,t,n){"use strict";var i=n("./node_modules/core-js/internals/object-define-property.js").f,o=n("./node_modules/core-js/internals/object-create.js"),r=n("./node_modules/core-js/internals/redefine-all.js"),a=n("./node_modules/core-js/internals/function-bind-context.js"),s=n("./node_modules/core-js/internals/an-instance.js"),l=n("./node_modules/core-js/internals/iterate.js"),c=n("./node_modules/core-js/internals/define-iterator.js"),u=n("./node_modules/core-js/internals/set-species.js"),d=n("./node_modules/core-js/internals/descriptors.js"),f=n("./node_modules/core-js/internals/internal-metadata.js").fastKey,p=n("./node_modules/core-js/internals/internal-state.js"),m=p.set,h=p.getterFor;e.exports={getConstructor:function(e,t,n,c){var u=e((function(e,i){s(e,u,t),m(e,{type:t,index:o(null),first:void 0,last:void 0,size:0}),d||(e.size=0),null!=i&&l(i,e[c],{that:e,AS_ENTRIES:n})})),p=h(t),g=function(e,t,n){var i,o,r=p(e),a=v(e,t);return a?a.value=n:(r.last=a={index:o=f(t,!0),key:t,value:n,previous:i=r.last,next:void 0,removed:!1},r.first||(r.first=a),i&&(i.next=a),d?r.size++:e.size++,"F"!==o&&(r.index[o]=a)),e},v=function(e,t){var n,i=p(e),o=f(t);if("F"!==o)return i.index[o];for(n=i.first;n;n=n.next)if(n.key==t)return n};return r(u.prototype,{clear:function(){for(var e=p(this),t=e.index,n=e.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete t[n.index],n=n.next;e.first=e.last=void 0,d?e.size=0:this.size=0},delete:function(e){var t=this,n=p(t),i=v(t,e);if(i){var o=i.next,r=i.previous;delete n.index[i.index],i.removed=!0,r&&(r.next=o),o&&(o.previous=r),n.first==i&&(n.first=o),n.last==i&&(n.last=r),d?n.size--:t.size--}return!!i},forEach:function(e){for(var t,n=p(this),i=a(e,arguments.length>1?arguments[1]:void 0,3);t=t?t.next:n.first;)for(i(t.value,t.key,this);t&&t.removed;)t=t.previous},has:function(e){return!!v(this,e)}}),r(u.prototype,n?{get:function(e){var t=v(this,e);return t&&t.value},set:function(e,t){return g(this,0===e?0:e,t)}}:{add:function(e){return g(this,e=0===e?0:e,e)}}),d&&i(u.prototype,"size",{get:function(){return p(this).size}}),u},setStrong:function(e,t,n){var i=t+" Iterator",o=h(t),r=h(i);c(e,t,(function(e,t){m(this,{type:i,target:e,state:o(e),kind:t,last:void 0})}),(function(){for(var e=r(this),t=e.kind,n=e.last;n&&n.removed;)n=n.previous;return e.target&&(e.last=n=n?n.next:e.state.first)?"keys"==t?{value:n.key,done:!1}:"values"==t?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(e.target=void 0,{value:void 0,done:!0})}),n?"entries":"values",!n,!0),u(t)}}},"./node_modules/core-js/internals/collection.js":function(e,t,n){"use strict";var i=n("./node_modules/core-js/internals/export.js"),o=n("./node_modules/core-js/internals/global.js"),r=n("./node_modules/core-js/internals/is-forced.js"),a=n("./node_modules/core-js/internals/redefine.js"),s=n("./node_modules/core-js/internals/internal-metadata.js"),l=n("./node_modules/core-js/internals/iterate.js"),c=n("./node_modules/core-js/internals/an-instance.js"),u=n("./node_modules/core-js/internals/is-object.js"),d=n("./node_modules/core-js/internals/fails.js"),f=n("./node_modules/core-js/internals/check-correctness-of-iteration.js"),p=n("./node_modules/core-js/internals/set-to-string-tag.js"),m=n("./node_modules/core-js/internals/inherit-if-required.js");e.exports=function(e,t,n){var h=-1!==e.indexOf("Map"),g=-1!==e.indexOf("Weak"),v=h?"set":"add",b=o[e],y=b&&b.prototype,j=b,_={},w=function(e){var t=y[e];a(y,e,"add"==e?function(e){return t.call(this,0===e?0:e),this}:"delete"==e?function(e){return!(g&&!u(e))&&t.call(this,0===e?0:e)}:"get"==e?function(e){return g&&!u(e)?void 0:t.call(this,0===e?0:e)}:"has"==e?function(e){return!(g&&!u(e))&&t.call(this,0===e?0:e)}:function(e,n){return t.call(this,0===e?0:e,n),this})};if(r(e,"function"!=typeof b||!(g||y.forEach&&!d((function(){(new b).entries().next()})))))j=n.getConstructor(t,e,h,v),s.REQUIRED=!0;else if(r(e,!0)){var x=new j,k=x[v](g?{}:-0,1)!=x,C=d((function(){x.has(1)})),S=f((function(e){new b(e)})),T=!g&&d((function(){for(var e=new b,t=5;t--;)e[v](t,t);return!e.has(-0)}));S||((j=t((function(t,n){c(t,j,e);var i=m(new b,t,j);return null!=n&&l(n,i[v],{that:i,AS_ENTRIES:h}),i}))).prototype=y,y.constructor=j),(C||T)&&(w("delete"),w("has"),h&&w("get")),(T||k)&&w(v),g&&y.clear&&delete y.clear}return _[e]=j,i({global:!0,forced:j!=b},_),p(j,e),g||n.setStrong(j,e,h),j}},"./node_modules/core-js/internals/copy-constructor-properties.js":function(e,t,n){var i=n("./node_modules/core-js/internals/has.js"),o=n("./node_modules/core-js/internals/own-keys.js"),r=n("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),a=n("./node_modules/core-js/internals/object-define-property.js");e.exports=function(e,t){for(var n=o(t),s=a.f,l=r.f,c=0;c<n.length;c++){var u=n[c];i(e,u)||s(e,u,l(t,u))}}},"./node_modules/core-js/internals/correct-is-regexp-logic.js":function(e,t,n){var i=n("./node_modules/core-js/internals/well-known-symbol.js")("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[i]=!1,"/./"[e](t)}catch(e){}}return!1}},"./node_modules/core-js/internals/correct-prototype-getter.js":function(e,t,n){var i=n("./node_modules/core-js/internals/fails.js");e.exports=!i((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},"./node_modules/core-js/internals/create-html.js":function(e,t,n){var i=n("./node_modules/core-js/internals/require-object-coercible.js"),o=/"/g;e.exports=function(e,t,n,r){var a=String(i(e)),s="<"+t;return""!==n&&(s+=" "+n+'="'+String(r).replace(o,""")+'"'),s+">"+a+"</"+t+">"}},"./node_modules/core-js/internals/create-iterator-constructor.js":function(e,t,n){"use strict";var i=n("./node_modules/core-js/internals/iterators-core.js").IteratorPrototype,o=n("./node_modules/core-js/internals/object-create.js"),r=n("./node_modules/core-js/internals/create-property-descriptor.js"),a=n("./node_modules/core-js/internals/set-to-string-tag.js"),s=n("./node_modules/core-js/internals/iterators.js"),l=function(){return this};e.exports=function(e,t,n){var c=t+" Iterator";return e.prototype=o(i,{next:r(1,n)}),a(e,c,!1,!0),s[c]=l,e}},"./node_modules/core-js/internals/create-non-enumerable-property.js":function(e,t,n){var i=n("./node_modules/core-js/internals/descriptors.js"),o=n("./node_modules/core-js/internals/object-define-property.js"),r=n("./node_modules/core-js/internals/create-property-descriptor.js");e.exports=i?function(e,t,n){return o.f(e,t,r(1,n))}:function(e,t,n){return e[t]=n,e}},"./node_modules/core-js/internals/create-property-descriptor.js":function(e){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},"./node_modules/core-js/internals/create-property.js":function(e,t,n){"use strict";var i=n("./node_modules/core-js/internals/to-primitive.js"),o=n("./node_modules/core-js/internals/object-define-property.js"),r=n("./node_modules/core-js/internals/create-property-descriptor.js");e.exports=function(e,t,n){var a=i(t);a in e?o.f(e,a,r(0,n)):e[a]=n}},"./node_modules/core-js/internals/date-to-iso-string.js":function(e,t,n){"use strict";var i=n("./node_modules/core-js/internals/fails.js"),o=n("./node_modules/core-js/internals/string-pad.js").start,r=Math.abs,a=Date.prototype,s=a.getTime,l=a.toISOString;e.exports=i((function(){return"0385-07-25T07:06:39.999Z"!=l.call(new Date(-50000000000001))}))||!i((function(){l.call(new Date(NaN))}))?function(){if(!isFinite(s.call(this)))throw RangeError("Invalid time value");var e=this,t=e.getUTCFullYear(),n=e.getUTCMilliseconds(),i=t<0?"-":t>9999?"+":"";return i+o(r(t),i?6:4,0)+"-"+o(e.getUTCMonth()+1,2,0)+"-"+o(e.getUTCDate(),2,0)+"T"+o(e.getUTCHours(),2,0)+":"+o(e.getUTCMinutes(),2,0)+":"+o(e.getUTCSeconds(),2,0)+"."+o(n,3,0)+"Z"}:l},"./node_modules/core-js/internals/define-iterator.js":function(e,t,n){"use strict";var i=n("./node_modules/core-js/internals/export.js"),o=n("./node_modules/core-js/internals/create-iterator-constructor.js"),r=n("./node_modules/core-js/internals/object-get-prototype-of.js"),a=n("./node_modules/core-js/internals/object-set-prototype-of.js"),s=n("./node_modules/core-js/internals/set-to-string-tag.js"),l=n("./node_modules/core-js/internals/create-non-enumerable-property.js"),c=n("./node_modules/core-js/internals/redefine.js"),u=n("./node_modules/core-js/internals/well-known-symbol.js"),d=n("./node_modules/core-js/internals/is-pure.js"),f=n("./node_modules/core-js/internals/iterators.js"),p=n("./node_modules/core-js/internals/iterators-core.js"),m=p.IteratorPrototype,h=p.BUGGY_SAFARI_ITERATORS,g=u("iterator"),v="keys",b="values",y="entries",j=function(){return this};e.exports=function(e,t,n,u,p,_,w){o(n,t,u);var x,k,C,S=function(e){if(e===p&&O)return O;if(!h&&e in $)return $[e];switch(e){case v:case b:case y:return function(){return new n(this,e)}}return function(){return new n(this)}},T=t+" Iterator",A=!1,$=e.prototype,E=$[g]||$["@@iterator"]||p&&$[p],O=!h&&E||S(p),D="Array"==t&&$.entries||E;if(D&&(x=r(D.call(new e)),m!==Object.prototype&&x.next&&(d||r(x)===m||(a?a(x,m):"function"!=typeof x[g]&&l(x,g,j)),s(x,T,!0,!0),d&&(f[T]=j))),p==b&&E&&E.name!==b&&(A=!0,O=function(){return E.call(this)}),d&&!w||$[g]===O||l($,g,O),f[t]=O,p)if(k={values:S(b),keys:_?O:S(v),entries:S(y)},w)for(C in k)(h||A||!(C in $))&&c($,C,k[C]);else i({target:t,proto:!0,forced:h||A},k);return k}},"./node_modules/core-js/internals/define-well-known-symbol.js":function(e,t,n){var i=n("./node_modules/core-js/internals/path.js"),o=n("./node_modules/core-js/internals/has.js"),r=n("./node_modules/core-js/internals/well-known-symbol-wrapped.js"),a=n("./node_modules/core-js/internals/object-define-property.js").f;e.exports=function(e){var t=i.Symbol||(i.Symbol={});o(t,e)||a(t,e,{value:r.f(e)})}},"./node_modules/core-js/internals/descriptors.js":function(e,t,n){var i=n("./node_modules/core-js/internals/fails.js");e.exports=!i((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},"./node_modules/core-js/internals/document-create-element.js":function(e,t,n){var i=n("./node_modules/core-js/internals/global.js"),o=n("./node_modules/core-js/internals/is-object.js"),r=i.document,a=o(r)&&o(r.createElement);e.exports=function(e){return a?r.createElement(e):{}}},"./node_modules/core-js/internals/dom-iterables.js":function(e){e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},"./node_modules/core-js/internals/engine-is-ios.js":function(e,t,n){var i=n("./node_modules/core-js/internals/engine-user-agent.js");e.exports=/(iphone|ipod|ipad).*applewebkit/i.test(i)},"./node_modules/core-js/internals/engine-is-node.js":function(e,t,n){var i=n("./node_modules/core-js/internals/classof-raw.js"),o=n("./node_modules/core-js/internals/global.js");e.exports="process"==i(o.process)},"./node_modules/core-js/internals/engine-user-agent.js":function(e,t,n){var i=n("./node_modules/core-js/internals/get-built-in.js");e.exports=i("navigator","userAgent")||""},"./node_modules/core-js/internals/engine-v8-version.js":function(e,t,n){var i,o,r=n("./node_modules/core-js/internals/global.js"),a=n("./node_modules/core-js/internals/engine-user-agent.js"),s=r.process,l=s&&s.versions,c=l&&l.v8;c?o=(i=c.split("."))[0]+i[1]:a&&(!(i=a.match(/Edge\/(\d+)/))||i[1]>=74)&&(i=a.match(/Chrome\/(\d+)/))&&(o=i[1]),e.exports=o&&+o},"./node_modules/core-js/internals/enum-bug-keys.js":function(e){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"./node_modules/core-js/internals/export.js":function(e,t,n){var i=n("./node_modules/core-js/internals/global.js"),o=n("./node_modules/core-js/internals/object-get-own-property-descriptor.js").f,r=n("./node_modules/core-js/internals/create-non-enumerable-property.js"),a=n("./node_modules/core-js/internals/redefine.js"),s=n("./node_modules/core-js/internals/set-global.js"),l=n("./node_modules/core-js/internals/copy-constructor-properties.js"),c=n("./node_modules/core-js/internals/is-forced.js");e.exports=function(e,t){var n,u,d,f,p,m=e.target,h=e.global,g=e.stat;if(n=h?i:g?i[m]||s(m,{}):(i[m]||{}).prototype)for(u in t){if(f=t[u],d=e.noTargetGet?(p=o(n,u))&&p.value:n[u],!c(h?u:m+(g?".":"#")+u,e.forced)&&void 0!==d){if(typeof f==typeof d)continue;l(f,d)}(e.sham||d&&d.sham)&&r(f,"sham",!0),a(n,u,f,e)}}},"./node_modules/core-js/internals/fails.js":function(e){e.exports=function(e){try{return!!e()}catch(e){return!0}}},"./node_modules/core-js/internals/fix-regexp-well-known-symbol-logic.js":function(e,t,n){"use strict";n("./node_modules/core-js/modules/es.regexp.exec.js");var i=n("./node_modules/core-js/internals/redefine.js"),o=n("./node_modules/core-js/internals/fails.js"),r=n("./node_modules/core-js/internals/well-known-symbol.js"),a=n("./node_modules/core-js/internals/regexp-exec.js"),s=n("./node_modules/core-js/internals/create-non-enumerable-property.js"),l=r("species"),c=!o((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),u="$0"==="a".replace(/./,"$0"),d=r("replace"),f=!!/./[d]&&""===/./[d]("a","$0"),p=!o((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}));e.exports=function(e,t,n,d){var m=r(e),h=!o((function(){var t={};return t[m]=function(){return 7},7!=""[e](t)})),g=h&&!o((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[l]=function(){return n},n.flags="",n[m]=/./[m]),n.exec=function(){return t=!0,null},n[m](""),!t}));if(!h||!g||"replace"===e&&(!c||!u||f)||"split"===e&&!p){var v=/./[m],b=n(m,""[e],(function(e,t,n,i,o){return t.exec===a?h&&!o?{done:!0,value:v.call(t,n,i)}:{done:!0,value:e.call(n,t,i)}:{done:!1}}),{REPLACE_KEEPS_$0:u,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:f}),y=b[0],j=b[1];i(String.prototype,e,y),i(RegExp.prototype,m,2==t?function(e,t){return j.call(e,this,t)}:function(e){return j.call(e,this)})}d&&s(RegExp.prototype[m],"sham",!0)}},"./node_modules/core-js/internals/freezing.js":function(e,t,n){var i=n("./node_modules/core-js/internals/fails.js");e.exports=!i((function(){return Object.isExtensible(Object.preventExtensions({}))}))},"./node_modules/core-js/internals/function-bind-context.js":function(e,t,n){var i=n("./node_modules/core-js/internals/a-function.js");e.exports=function(e,t,n){if(i(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,i){return e.call(t,n,i)};case 3:return function(n,i,o){return e.call(t,n,i,o)}}return function(){return e.apply(t,arguments)}}},"./node_modules/core-js/internals/function-bind.js":function(e,t,n){"use strict";var i=n("./node_modules/core-js/internals/a-function.js"),o=n("./node_modules/core-js/internals/is-object.js"),r=[].slice,a={},s=function(e,t,n){if(!(t in a)){for(var i=[],o=0;o<t;o++)i[o]="a["+o+"]";a[t]=Function("C,a","return new C("+i.join(",")+")")}return a[t](e,n)};e.exports=Function.bind||function(e){var t=i(this),n=r.call(arguments,1),a=function(){var i=n.concat(r.call(arguments));return this instanceof a?s(t,i.length,i):t.apply(e,i)};return o(t.prototype)&&(a.prototype=t.prototype),a}},"./node_modules/core-js/internals/get-built-in.js":function(e,t,n){var i=n("./node_modules/core-js/internals/path.js"),o=n("./node_modules/core-js/internals/global.js"),r=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?r(i[e])||r(o[e]):i[e]&&i[e][t]||o[e]&&o[e][t]}},"./node_modules/core-js/internals/get-iterator-method.js":function(e,t,n){var i=n("./node_modules/core-js/internals/classof.js"),o=n("./node_modules/core-js/internals/iterators.js"),r=n("./node_modules/core-js/internals/well-known-symbol.js")("iterator");e.exports=function(e){if(null!=e)return e[r]||e["@@iterator"]||o[i(e)]}},"./node_modules/core-js/internals/get-iterator.js":function(e,t,n){var i=n("./node_modules/core-js/internals/an-object.js"),o=n("./node_modules/core-js/internals/get-iterator-method.js");e.exports=function(e){var t=o(e);if("function"!=typeof t)throw TypeError(String(e)+" is not iterable");return i(t.call(e))}},"./node_modules/core-js/internals/global.js":function(e,t,n){var i=function(e){return e&&e.Math==Math&&e};e.exports=i("object"==typeof globalThis&&globalThis)||i("object"==typeof window&&window)||i("object"==typeof self&&self)||i("object"==typeof n.g&&n.g)||function(){return this}()||Function("return this")()},"./node_modules/core-js/internals/has.js":function(e){var t={}.hasOwnProperty;e.exports=function(e,n){return t.call(e,n)}},"./node_modules/core-js/internals/hidden-keys.js":function(e){e.exports={}},"./node_modules/core-js/internals/host-report-errors.js":function(e,t,n){var i=n("./node_modules/core-js/internals/global.js");e.exports=function(e,t){var n=i.console;n&&n.error&&(1===arguments.length?n.error(e):n.error(e,t))}},"./node_modules/core-js/internals/html.js":function(e,t,n){var i=n("./node_modules/core-js/internals/get-built-in.js");e.exports=i("document","documentElement")},"./node_modules/core-js/internals/ie8-dom-define.js":function(e,t,n){var i=n("./node_modules/core-js/internals/descriptors.js"),o=n("./node_modules/core-js/internals/fails.js"),r=n("./node_modules/core-js/internals/document-create-element.js");e.exports=!i&&!o((function(){return 7!=Object.defineProperty(r("div"),"a",{get:function(){return 7}}).a}))},"./node_modules/core-js/internals/indexed-object.js":function(e,t,n){var i=n("./node_modules/core-js/internals/fails.js"),o=n("./node_modules/core-js/internals/classof-raw.js"),r="".split;e.exports=i((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==o(e)?r.call(e,""):Object(e)}:Object},"./node_modules/core-js/internals/inherit-if-required.js":function(e,t,n){var i=n("./node_modules/core-js/internals/is-object.js"),o=n("./node_modules/core-js/internals/object-set-prototype-of.js");e.exports=function(e,t,n){var r,a;return o&&"function"==typeof(r=t.constructor)&&r!==n&&i(a=r.prototype)&&a!==n.prototype&&o(e,a),e}},"./node_modules/core-js/internals/inspect-source.js":function(e,t,n){var i=n("./node_modules/core-js/internals/shared-store.js"),o=Function.toString;"function"!=typeof i.inspectSource&&(i.inspectSource=function(e){return o.call(e)}),e.exports=i.inspectSource},"./node_modules/core-js/internals/internal-metadata.js":function(e,t,n){var i=n("./node_modules/core-js/internals/hidden-keys.js"),o=n("./node_modules/core-js/internals/is-object.js"),r=n("./node_modules/core-js/internals/has.js"),a=n("./node_modules/core-js/internals/object-define-property.js").f,s=n("./node_modules/core-js/internals/uid.js"),l=n("./node_modules/core-js/internals/freezing.js"),c=s("meta"),u=0,d=Object.isExtensible||function(){return!0},f=function(e){a(e,c,{value:{objectID:"O"+ ++u,weakData:{}}})},p=e.exports={REQUIRED:!1,fastKey:function(e,t){if(!o(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!r(e,c)){if(!d(e))return"F";if(!t)return"E";f(e)}return e[c].objectID},getWeakData:function(e,t){if(!r(e,c)){if(!d(e))return!0;if(!t)return!1;f(e)}return e[c].weakData},onFreeze:function(e){return l&&p.REQUIRED&&d(e)&&!r(e,c)&&f(e),e}};i[c]=!0},"./node_modules/core-js/internals/internal-state.js":function(e,t,n){var i,o,r,a=n("./node_modules/core-js/internals/native-weak-map.js"),s=n("./node_modules/core-js/internals/global.js"),l=n("./node_modules/core-js/internals/is-object.js"),c=n("./node_modules/core-js/internals/create-non-enumerable-property.js"),u=n("./node_modules/core-js/internals/has.js"),d=n("./node_modules/core-js/internals/shared-store.js"),f=n("./node_modules/core-js/internals/shared-key.js"),p=n("./node_modules/core-js/internals/hidden-keys.js"),m=s.WeakMap;if(a){var h=d.state||(d.state=new m),g=h.get,v=h.has,b=h.set;i=function(e,t){return t.facade=e,b.call(h,e,t),t},o=function(e){return g.call(h,e)||{}},r=function(e){return v.call(h,e)}}else{var y=f("state");p[y]=!0,i=function(e,t){return t.facade=e,c(e,y,t),t},o=function(e){return u(e,y)?e[y]:{}},r=function(e){return u(e,y)}}e.exports={set:i,get:o,has:r,enforce:function(e){return r(e)?o(e):i(e,{})},getterFor:function(e){return function(t){var n;if(!l(t)||(n=o(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}}},"./node_modules/core-js/internals/is-array-iterator-method.js":function(e,t,n){var i=n("./node_modules/core-js/internals/well-known-symbol.js"),o=n("./node_modules/core-js/internals/iterators.js"),r=i("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||a[r]===e)}},"./node_modules/core-js/internals/is-array.js":function(e,t,n){var i=n("./node_modules/core-js/internals/classof-raw.js");e.exports=Array.isArray||function(e){return"Array"==i(e)}},"./node_modules/core-js/internals/is-forced.js":function(e,t,n){var i=n("./node_modules/core-js/internals/fails.js"),o=/#|\.prototype\./,r=function(e,t){var n=s[a(e)];return n==c||n!=l&&("function"==typeof t?i(t):!!t)},a=r.normalize=function(e){return String(e).replace(o,".").toLowerCase()},s=r.data={},l=r.NATIVE="N",c=r.POLYFILL="P";e.exports=r},"./node_modules/core-js/internals/is-object.js":function(e){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},"./node_modules/core-js/internals/is-pure.js":function(e){e.exports=!1},"./node_modules/core-js/internals/is-regexp.js":function(e,t,n){var i=n("./node_modules/core-js/internals/is-object.js"),o=n("./node_modules/core-js/internals/classof-raw.js"),r=n("./node_modules/core-js/internals/well-known-symbol.js")("match");e.exports=function(e){var t;return i(e)&&(void 0!==(t=e[r])?!!t:"RegExp"==o(e))}},"./node_modules/core-js/internals/iterate.js":function(e,t,n){var i=n("./node_modules/core-js/internals/an-object.js"),o=n("./node_modules/core-js/internals/is-array-iterator-method.js"),r=n("./node_modules/core-js/internals/to-length.js"),a=n("./node_modules/core-js/internals/function-bind-context.js"),s=n("./node_modules/core-js/internals/get-iterator-method.js"),l=n("./node_modules/core-js/internals/iterator-close.js"),c=function(e,t){this.stopped=e,this.result=t};e.exports=function(e,t,n){var u,d,f,p,m,h,g,v=n&&n.that,b=!(!n||!n.AS_ENTRIES),y=!(!n||!n.IS_ITERATOR),j=!(!n||!n.INTERRUPTED),_=a(t,v,1+b+j),w=function(e){return u&&l(u),new c(!0,e)},x=function(e){return b?(i(e),j?_(e[0],e[1],w):_(e[0],e[1])):j?_(e,w):_(e)};if(y)u=e;else{if("function"!=typeof(d=s(e)))throw TypeError("Target is not iterable");if(o(d)){for(f=0,p=r(e.length);p>f;f++)if((m=x(e[f]))&&m instanceof c)return m;return new c(!1)}u=d.call(e)}for(h=u.next;!(g=h.call(u)).done;){try{m=x(g.value)}catch(e){throw l(u),e}if("object"==typeof m&&m&&m instanceof c)return m}return new c(!1)}},"./node_modules/core-js/internals/iterator-close.js":function(e,t,n){var i=n("./node_modules/core-js/internals/an-object.js");e.exports=function(e){var t=e.return;if(void 0!==t)return i(t.call(e)).value}},"./node_modules/core-js/internals/iterators-core.js":function(e,t,n){"use strict";var i,o,r,a=n("./node_modules/core-js/internals/object-get-prototype-of.js"),s=n("./node_modules/core-js/internals/create-non-enumerable-property.js"),l=n("./node_modules/core-js/internals/has.js"),c=n("./node_modules/core-js/internals/well-known-symbol.js"),u=n("./node_modules/core-js/internals/is-pure.js"),d=c("iterator"),f=!1;[].keys&&("next"in(r=[].keys())?(o=a(a(r)))!==Object.prototype&&(i=o):f=!0),null==i&&(i={}),u||l(i,d)||s(i,d,(function(){return this})),e.exports={IteratorPrototype:i,BUGGY_SAFARI_ITERATORS:f}},"./node_modules/core-js/internals/iterators.js":function(e){e.exports={}},"./node_modules/core-js/internals/microtask.js":function(e,t,n){var i,o,r,a,s,l,c,u,d=n("./node_modules/core-js/internals/global.js"),f=n("./node_modules/core-js/internals/object-get-own-property-descriptor.js").f,p=n("./node_modules/core-js/internals/task.js").set,m=n("./node_modules/core-js/internals/engine-is-ios.js"),h=n("./node_modules/core-js/internals/engine-is-node.js"),g=d.MutationObserver||d.WebKitMutationObserver,v=d.document,b=d.process,y=d.Promise,j=f(d,"queueMicrotask"),_=j&&j.value;_||(i=function(){var e,t;for(h&&(e=b.domain)&&e.exit();o;){t=o.fn,o=o.next;try{t()}catch(e){throw o?a():r=void 0,e}}r=void 0,e&&e.enter()},!m&&!h&&g&&v?(s=!0,l=v.createTextNode(""),new g(i).observe(l,{characterData:!0}),a=function(){l.data=s=!s}):y&&y.resolve?(c=y.resolve(void 0),u=c.then,a=function(){u.call(c,i)}):a=h?function(){b.nextTick(i)}:function(){p.call(d,i)}),e.exports=_||function(e){var t={fn:e,next:void 0};r&&(r.next=t),o||(o=t,a()),r=t}},"./node_modules/core-js/internals/native-promise-constructor.js":function(e,t,n){var i=n("./node_modules/core-js/internals/global.js");e.exports=i.Promise},"./node_modules/core-js/internals/native-symbol.js":function(e,t,n){var i=n("./node_modules/core-js/internals/fails.js");e.exports=!!Object.getOwnPropertySymbols&&!i((function(){return!String(Symbol())}))},"./node_modules/core-js/internals/native-url.js":function(e,t,n){var i=n("./node_modules/core-js/internals/fails.js"),o=n("./node_modules/core-js/internals/well-known-symbol.js"),r=n("./node_modules/core-js/internals/is-pure.js"),a=o("iterator");e.exports=!i((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,n="";return e.pathname="c%20d",t.forEach((function(e,i){t.delete("b"),n+=i+e})),r&&!e.toJSON||!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[a]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==n||"x"!==new URL("http://x",void 0).host}))},"./node_modules/core-js/internals/native-weak-map.js":function(e,t,n){var i=n("./node_modules/core-js/internals/global.js"),o=n("./node_modules/core-js/internals/inspect-source.js"),r=i.WeakMap;e.exports="function"==typeof r&&/native code/.test(o(r))},"./node_modules/core-js/internals/new-promise-capability.js":function(e,t,n){"use strict";var i=n("./node_modules/core-js/internals/a-function.js"),o=function(e){var t,n;this.promise=new e((function(e,i){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=i})),this.resolve=i(t),this.reject=i(n)};e.exports.f=function(e){return new o(e)}},"./node_modules/core-js/internals/not-a-regexp.js":function(e,t,n){var i=n("./node_modules/core-js/internals/is-regexp.js");e.exports=function(e){if(i(e))throw TypeError("The method doesn't accept regular expressions");return e}},"./node_modules/core-js/internals/number-is-finite.js":function(e,t,n){var i=n("./node_modules/core-js/internals/global.js").isFinite;e.exports=Number.isFinite||function(e){return"number"==typeof e&&i(e)}},"./node_modules/core-js/internals/number-parse-float.js":function(e,t,n){var i=n("./node_modules/core-js/internals/global.js"),o=n("./node_modules/core-js/internals/string-trim.js").trim,r=n("./node_modules/core-js/internals/whitespaces.js"),a=i.parseFloat,s=1/a(r+"-0")!=-1/0;e.exports=s?function(e){var t=o(String(e)),n=a(t);return 0===n&&"-"==t.charAt(0)?-0:n}:a},"./node_modules/core-js/internals/number-parse-int.js":function(e,t,n){var i=n("./node_modules/core-js/internals/global.js"),o=n("./node_modules/core-js/internals/string-trim.js").trim,r=n("./node_modules/core-js/internals/whitespaces.js"),a=i.parseInt,s=/^[+-]?0[Xx]/,l=8!==a(r+"08")||22!==a(r+"0x16");e.exports=l?function(e,t){var n=o(String(e));return a(n,t>>>0||(s.test(n)?16:10))}:a},"./node_modules/core-js/internals/object-assign.js":function(e,t,n){"use strict";var i=n("./node_modules/core-js/internals/descriptors.js"),o=n("./node_modules/core-js/internals/fails.js"),r=n("./node_modules/core-js/internals/object-keys.js"),a=n("./node_modules/core-js/internals/object-get-own-property-symbols.js"),s=n("./node_modules/core-js/internals/object-property-is-enumerable.js"),l=n("./node_modules/core-js/internals/to-object.js"),c=n("./node_modules/core-js/internals/indexed-object.js"),u=Object.assign,d=Object.defineProperty;e.exports=!u||o((function(){if(i&&1!==u({b:1},u(d({},"a",{enumerable:!0,get:function(){d(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol(),o="abcdefghijklmnopqrst";return e[n]=7,o.split("").forEach((function(e){t[e]=e})),7!=u({},e)[n]||r(u({},t)).join("")!=o}))?function(e,t){for(var n=l(e),o=arguments.length,u=1,d=a.f,f=s.f;o>u;)for(var p,m=c(arguments[u++]),h=d?r(m).concat(d(m)):r(m),g=h.length,v=0;g>v;)p=h[v++],i&&!f.call(m,p)||(n[p]=m[p]);return n}:u},"./node_modules/core-js/internals/object-create.js":function(e,t,n){var i,o=n("./node_modules/core-js/internals/an-object.js"),r=n("./node_modules/core-js/internals/object-define-properties.js"),a=n("./node_modules/core-js/internals/enum-bug-keys.js"),s=n("./node_modules/core-js/internals/hidden-keys.js"),l=n("./node_modules/core-js/internals/html.js"),c=n("./node_modules/core-js/internals/document-create-element.js"),u=n("./node_modules/core-js/internals/shared-key.js"),d=u("IE_PROTO"),f=function(){},p=function(e){return"<script>"+e+"</"+"script>"},m=function(){try{i=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;m=i?function(e){e.write(p("")),e.close();var t=e.parentWindow.Object;return e=null,t}(i):((t=c("iframe")).style.display="none",l.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(p("document.F=Object")),e.close(),e.F);for(var n=a.length;n--;)delete m.prototype[a[n]];return m()};s[d]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(f.prototype=o(e),n=new f,f.prototype=null,n[d]=e):n=m(),void 0===t?n:r(n,t)}},"./node_modules/core-js/internals/object-define-properties.js":function(e,t,n){var i=n("./node_modules/core-js/internals/descriptors.js"),o=n("./node_modules/core-js/internals/object-define-property.js"),r=n("./node_modules/core-js/internals/an-object.js"),a=n("./node_modules/core-js/internals/object-keys.js");e.exports=i?Object.defineProperties:function(e,t){r(e);for(var n,i=a(t),s=i.length,l=0;s>l;)o.f(e,n=i[l++],t[n]);return e}},"./node_modules/core-js/internals/object-define-property.js":function(e,t,n){var i=n("./node_modules/core-js/internals/descriptors.js"),o=n("./node_modules/core-js/internals/ie8-dom-define.js"),r=n("./node_modules/core-js/internals/an-object.js"),a=n("./node_modules/core-js/internals/to-primitive.js"),s=Object.defineProperty;t.f=i?s:function(e,t,n){if(r(e),t=a(t,!0),r(n),o)try{return s(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},"./node_modules/core-js/internals/object-get-own-property-descriptor.js":function(e,t,n){var i=n("./node_modules/core-js/internals/descriptors.js"),o=n("./node_modules/core-js/internals/object-property-is-enumerable.js"),r=n("./node_modules/core-js/internals/create-property-descriptor.js"),a=n("./node_modules/core-js/internals/to-indexed-object.js"),s=n("./node_modules/core-js/internals/to-primitive.js"),l=n("./node_modules/core-js/internals/has.js"),c=n("./node_modules/core-js/internals/ie8-dom-define.js"),u=Object.getOwnPropertyDescriptor;t.f=i?u:function(e,t){if(e=a(e),t=s(t,!0),c)try{return u(e,t)}catch(e){}if(l(e,t))return r(!o.f.call(e,t),e[t])}},"./node_modules/core-js/internals/object-get-own-property-names-external.js":function(e,t,n){var i=n("./node_modules/core-js/internals/to-indexed-object.js"),o=n("./node_modules/core-js/internals/object-get-own-property-names.js").f,r={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return a&&"[object Window]"==r.call(e)?function(e){try{return o(e)}catch(e){return a.slice()}}(e):o(i(e))}},"./node_modules/core-js/internals/object-get-own-property-names.js":function(e,t,n){var i=n("./node_modules/core-js/internals/object-keys-internal.js"),o=n("./node_modules/core-js/internals/enum-bug-keys.js").concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return i(e,o)}},"./node_modules/core-js/internals/object-get-own-property-symbols.js":function(e,t){t.f=Object.getOwnPropertySymbols},"./node_modules/core-js/internals/object-get-prototype-of.js":function(e,t,n){var i=n("./node_modules/core-js/internals/has.js"),o=n("./node_modules/core-js/internals/to-object.js"),r=n("./node_modules/core-js/internals/shared-key.js"),a=n("./node_modules/core-js/internals/correct-prototype-getter.js"),s=r("IE_PROTO"),l=Object.prototype;e.exports=a?Object.getPrototypeOf:function(e){return e=o(e),i(e,s)?e[s]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?l:null}},"./node_modules/core-js/internals/object-keys-internal.js":function(e,t,n){var i=n("./node_modules/core-js/internals/has.js"),o=n("./node_modules/core-js/internals/to-indexed-object.js"),r=n("./node_modules/core-js/internals/array-includes.js").indexOf,a=n("./node_modules/core-js/internals/hidden-keys.js");e.exports=function(e,t){var n,s=o(e),l=0,c=[];for(n in s)!i(a,n)&&i(s,n)&&c.push(n);for(;t.length>l;)i(s,n=t[l++])&&(~r(c,n)||c.push(n));return c}},"./node_modules/core-js/internals/object-keys.js":function(e,t,n){var i=n("./node_modules/core-js/internals/object-keys-internal.js"),o=n("./node_modules/core-js/internals/enum-bug-keys.js");e.exports=Object.keys||function(e){return i(e,o)}},"./node_modules/core-js/internals/object-property-is-enumerable.js":function(e,t){"use strict";var n={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,o=i&&!n.call({1:2},1);t.f=o?function(e){var t=i(this,e);return!!t&&t.enumerable}:n},"./node_modules/core-js/internals/object-set-prototype-of.js":function(e,t,n){var i=n("./node_modules/core-js/internals/an-object.js"),o=n("./node_modules/core-js/internals/a-possible-prototype.js");e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),t=n instanceof Array}catch(e){}return function(n,r){return i(n),o(r),t?e.call(n,r):n.__proto__=r,n}}():void 0)},"./node_modules/core-js/internals/object-to-array.js":function(e,t,n){var i=n("./node_modules/core-js/internals/descriptors.js"),o=n("./node_modules/core-js/internals/object-keys.js"),r=n("./node_modules/core-js/internals/to-indexed-object.js"),a=n("./node_modules/core-js/internals/object-property-is-enumerable.js").f,s=function(e){return function(t){for(var n,s=r(t),l=o(s),c=l.length,u=0,d=[];c>u;)n=l[u++],i&&!a.call(s,n)||d.push(e?[n,s[n]]:s[n]);return d}};e.exports={entries:s(!0),values:s(!1)}},"./node_modules/core-js/internals/object-to-string.js":function(e,t,n){"use strict";var i=n("./node_modules/core-js/internals/to-string-tag-support.js"),o=n("./node_modules/core-js/internals/classof.js");e.exports=i?{}.toString:function(){return"[object "+o(this)+"]"}},"./node_modules/core-js/internals/own-keys.js":function(e,t,n){var i=n("./node_modules/core-js/internals/get-built-in.js"),o=n("./node_modules/core-js/internals/object-get-own-property-names.js"),r=n("./node_modules/core-js/internals/object-get-own-property-symbols.js"),a=n("./node_modules/core-js/internals/an-object.js");e.exports=i("Reflect","ownKeys")||function(e){var t=o.f(a(e)),n=r.f;return n?t.concat(n(e)):t}},"./node_modules/core-js/internals/path.js":function(e,t,n){var i=n("./node_modules/core-js/internals/global.js");e.exports=i},"./node_modules/core-js/internals/perform.js":function(e){e.exports=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}}},"./node_modules/core-js/internals/promise-resolve.js":function(e,t,n){var i=n("./node_modules/core-js/internals/an-object.js"),o=n("./node_modules/core-js/internals/is-object.js"),r=n("./node_modules/core-js/internals/new-promise-capability.js");e.exports=function(e,t){if(i(e),o(t)&&t.constructor===e)return t;var n=r.f(e);return(0,n.resolve)(t),n.promise}},"./node_modules/core-js/internals/redefine-all.js":function(e,t,n){var i=n("./node_modules/core-js/internals/redefine.js");e.exports=function(e,t,n){for(var o in t)i(e,o,t[o],n);return e}},"./node_modules/core-js/internals/redefine.js":function(e,t,n){var i=n("./node_modules/core-js/internals/global.js"),o=n("./node_modules/core-js/internals/create-non-enumerable-property.js"),r=n("./node_modules/core-js/internals/has.js"),a=n("./node_modules/core-js/internals/set-global.js"),s=n("./node_modules/core-js/internals/inspect-source.js"),l=n("./node_modules/core-js/internals/internal-state.js"),c=l.get,u=l.enforce,d=String(String).split("String");(e.exports=function(e,t,n,s){var l,c=!!s&&!!s.unsafe,f=!!s&&!!s.enumerable,p=!!s&&!!s.noTargetGet;"function"==typeof n&&("string"!=typeof t||r(n,"name")||o(n,"name",t),(l=u(n)).source||(l.source=d.join("string"==typeof t?t:""))),e!==i?(c?!p&&e[t]&&(f=!0):delete e[t],f?e[t]=n:o(e,t,n)):f?e[t]=n:a(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&c(this).source||s(this)}))},"./node_modules/core-js/internals/regexp-exec-abstract.js":function(e,t,n){var i=n("./node_modules/core-js/internals/classof-raw.js"),o=n("./node_modules/core-js/internals/regexp-exec.js");e.exports=function(e,t){var n=e.exec;if("function"==typeof n){var r=n.call(e,t);if("object"!=typeof r)throw TypeError("RegExp exec method returned something other than an Object or null");return r}if("RegExp"!==i(e))throw TypeError("RegExp#exec called on incompatible receiver");return o.call(e,t)}},"./node_modules/core-js/internals/regexp-exec.js":function(e,t,n){"use strict";var i,o,r=n("./node_modules/core-js/internals/regexp-flags.js"),a=n("./node_modules/core-js/internals/regexp-sticky-helpers.js"),s=RegExp.prototype.exec,l=String.prototype.replace,c=s,u=(i=/a/,o=/b*/g,s.call(i,"a"),s.call(o,"a"),0!==i.lastIndex||0!==o.lastIndex),d=a.UNSUPPORTED_Y||a.BROKEN_CARET,f=void 0!==/()??/.exec("")[1];(u||f||d)&&(c=function(e){var t,n,i,o,a=this,c=d&&a.sticky,p=r.call(a),m=a.source,h=0,g=e;return c&&(-1===(p=p.replace("y","")).indexOf("g")&&(p+="g"),g=String(e).slice(a.lastIndex),a.lastIndex>0&&(!a.multiline||a.multiline&&"\n"!==e[a.lastIndex-1])&&(m="(?: "+m+")",g=" "+g,h++),n=new RegExp("^(?:"+m+")",p)),f&&(n=new RegExp("^"+m+"$(?!\\s)",p)),u&&(t=a.lastIndex),i=s.call(c?n:a,g),c?i?(i.input=i.input.slice(h),i[0]=i[0].slice(h),i.index=a.lastIndex,a.lastIndex+=i[0].length):a.lastIndex=0:u&&i&&(a.lastIndex=a.global?i.index+i[0].length:t),f&&i&&i.length>1&&l.call(i[0],n,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(i[o]=void 0)})),i}),e.exports=c},"./node_modules/core-js/internals/regexp-flags.js":function(e,t,n){"use strict";var i=n("./node_modules/core-js/internals/an-object.js");e.exports=function(){var e=i(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},"./node_modules/core-js/internals/regexp-sticky-helpers.js":function(e,t,n){"use strict";var i=n("./node_modules/core-js/internals/fails.js");function o(e,t){return RegExp(e,t)}t.UNSUPPORTED_Y=i((function(){var e=o("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),t.BROKEN_CARET=i((function(){var e=o("^r","gy");return e.lastIndex=2,null!=e.exec("str")}))},"./node_modules/core-js/internals/require-object-coercible.js":function(e){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},"./node_modules/core-js/internals/same-value.js":function(e){e.exports=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}},"./node_modules/core-js/internals/set-global.js":function(e,t,n){var i=n("./node_modules/core-js/internals/global.js"),o=n("./node_modules/core-js/internals/create-non-enumerable-property.js");e.exports=function(e,t){try{o(i,e,t)}catch(n){i[e]=t}return t}},"./node_modules/core-js/internals/set-species.js":function(e,t,n){"use strict";var i=n("./node_modules/core-js/internals/get-built-in.js"),o=n("./node_modules/core-js/internals/object-define-property.js"),r=n("./node_modules/core-js/internals/well-known-symbol.js"),a=n("./node_modules/core-js/internals/descriptors.js"),s=r("species");e.exports=function(e){var t=i(e),n=o.f;a&&t&&!t[s]&&n(t,s,{configurable:!0,get:function(){return this}})}},"./node_modules/core-js/internals/set-to-string-tag.js":function(e,t,n){var i=n("./node_modules/core-js/internals/object-define-property.js").f,o=n("./node_modules/core-js/internals/has.js"),r=n("./node_modules/core-js/internals/well-known-symbol.js")("toStringTag");e.exports=function(e,t,n){e&&!o(e=n?e:e.prototype,r)&&i(e,r,{configurable:!0,value:t})}},"./node_modules/core-js/internals/shared-key.js":function(e,t,n){var i=n("./node_modules/core-js/internals/shared.js"),o=n("./node_modules/core-js/internals/uid.js"),r=i("keys");e.exports=function(e){return r[e]||(r[e]=o(e))}},"./node_modules/core-js/internals/shared-store.js":function(e,t,n){var i=n("./node_modules/core-js/internals/global.js"),o=n("./node_modules/core-js/internals/set-global.js"),r="__core-js_shared__",a=i[r]||o(r,{});e.exports=a},"./node_modules/core-js/internals/shared.js":function(e,t,n){var i=n("./node_modules/core-js/internals/is-pure.js"),o=n("./node_modules/core-js/internals/shared-store.js");(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.8.1",mode:i?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},"./node_modules/core-js/internals/species-constructor.js":function(e,t,n){var i=n("./node_modules/core-js/internals/an-object.js"),o=n("./node_modules/core-js/internals/a-function.js"),r=n("./node_modules/core-js/internals/well-known-symbol.js")("species");e.exports=function(e,t){var n,a=i(e).constructor;return void 0===a||null==(n=i(a)[r])?t:o(n)}},"./node_modules/core-js/internals/string-html-forced.js":function(e,t,n){var i=n("./node_modules/core-js/internals/fails.js");e.exports=function(e){return i((function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3}))}},"./node_modules/core-js/internals/string-multibyte.js":function(e,t,n){var i=n("./node_modules/core-js/internals/to-integer.js"),o=n("./node_modules/core-js/internals/require-object-coercible.js"),r=function(e){return function(t,n){var r,a,s=String(o(t)),l=i(n),c=s.length;return l<0||l>=c?e?"":void 0:(r=s.charCodeAt(l))<55296||r>56319||l+1===c||(a=s.charCodeAt(l+1))<56320||a>57343?e?s.charAt(l):r:e?s.slice(l,l+2):a-56320+(r-55296<<10)+65536}};e.exports={codeAt:r(!1),charAt:r(!0)}},"./node_modules/core-js/internals/string-pad.js":function(e,t,n){var i=n("./node_modules/core-js/internals/to-length.js"),o=n("./node_modules/core-js/internals/string-repeat.js"),r=n("./node_modules/core-js/internals/require-object-coercible.js"),a=Math.ceil,s=function(e){return function(t,n,s){var l,c,u=String(r(t)),d=u.length,f=void 0===s?" ":String(s),p=i(n);return p<=d||""==f?u:(l=p-d,(c=o.call(f,a(l/f.length))).length>l&&(c=c.slice(0,l)),e?u+c:c+u)}};e.exports={start:s(!1),end:s(!0)}},"./node_modules/core-js/internals/string-punycode-to-ascii.js":function(e){"use strict";var t=2147483647,n=/[^\0-\u007E]/,i=/[.\u3002\uFF0E\uFF61]/g,o="Overflow: input needs wider integers to process",r=Math.floor,a=String.fromCharCode,s=function(e){return e+22+75*(e<26)},l=function(e,t,n){var i=0;for(e=n?r(e/700):e>>1,e+=r(e/t);e>455;i+=36)e=r(e/35);return r(i+36*e/(e+38))},c=function(e){var n,i,c=[],u=(e=function(e){for(var t=[],n=0,i=e.length;n<i;){var o=e.charCodeAt(n++);if(o>=55296&&o<=56319&&n<i){var r=e.charCodeAt(n++);56320==(64512&r)?t.push(((1023&o)<<10)+(1023&r)+65536):(t.push(o),n--)}else t.push(o)}return t}(e)).length,d=128,f=0,p=72;for(n=0;n<e.length;n++)(i=e[n])<128&&c.push(a(i));var m=c.length,h=m;for(m&&c.push("-");h<u;){var g=t;for(n=0;n<e.length;n++)(i=e[n])>=d&&i<g&&(g=i);var v=h+1;if(g-d>r((t-f)/v))throw RangeError(o);for(f+=(g-d)*v,d=g,n=0;n<e.length;n++){if((i=e[n])<d&&++f>t)throw RangeError(o);if(i==d){for(var b=f,y=36;;y+=36){var j=y<=p?1:y>=p+26?26:y-p;if(b<j)break;var _=b-j,w=36-j;c.push(a(s(j+_%w))),b=r(_/w)}c.push(a(s(b))),p=l(f,v,h==m),f=0,++h}}++f,++d}return c.join("")};e.exports=function(e){var t,o,r=[],a=e.toLowerCase().replace(i,".").split(".");for(t=0;t<a.length;t++)o=a[t],r.push(n.test(o)?"xn--"+c(o):o);return r.join(".")}},"./node_modules/core-js/internals/string-repeat.js":function(e,t,n){"use strict";var i=n("./node_modules/core-js/internals/to-integer.js"),o=n("./node_modules/core-js/internals/require-object-coercible.js");e.exports="".repeat||function(e){var t=String(o(this)),n="",r=i(e);if(r<0||r==1/0)throw RangeError("Wrong number of repetitions");for(;r>0;(r>>>=1)&&(t+=t))1&r&&(n+=t);return n}},"./node_modules/core-js/internals/string-trim-forced.js":function(e,t,n){var i=n("./node_modules/core-js/internals/fails.js"),o=n("./node_modules/core-js/internals/whitespaces.js");e.exports=function(e){return i((function(){return!!o[e]()||"
"!="
"[e]()||o[e].name!==e}))}},"./node_modules/core-js/internals/string-trim.js":function(e,t,n){var i=n("./node_modules/core-js/internals/require-object-coercible.js"),o="["+n("./node_modules/core-js/internals/whitespaces.js")+"]",r=RegExp("^"+o+o+"*"),a=RegExp(o+o+"*$"),s=function(e){return function(t){var n=String(i(t));return 1&e&&(n=n.replace(r,"")),2&e&&(n=n.replace(a,"")),n}};e.exports={start:s(1),end:s(2),trim:s(3)}},"./node_modules/core-js/internals/task.js":function(e,t,n){var i,o,r,a=n("./node_modules/core-js/internals/global.js"),s=n("./node_modules/core-js/internals/fails.js"),l=n("./node_modules/core-js/internals/function-bind-context.js"),c=n("./node_modules/core-js/internals/html.js"),u=n("./node_modules/core-js/internals/document-create-element.js"),d=n("./node_modules/core-js/internals/engine-is-ios.js"),f=n("./node_modules/core-js/internals/engine-is-node.js"),p=a.location,m=a.setImmediate,h=a.clearImmediate,g=a.process,v=a.MessageChannel,b=a.Dispatch,y=0,j={},_="onreadystatechange",w=function(e){if(j.hasOwnProperty(e)){var t=j[e];delete j[e],t()}},x=function(e){return function(){w(e)}},k=function(e){w(e.data)},C=function(e){a.postMessage(e+"",p.protocol+"//"+p.host)};m&&h||(m=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return j[++y]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},i(y),y},h=function(e){delete j[e]},f?i=function(e){g.nextTick(x(e))}:b&&b.now?i=function(e){b.now(x(e))}:v&&!d?(r=(o=new v).port2,o.port1.onmessage=k,i=l(r.postMessage,r,1)):a.addEventListener&&"function"==typeof postMessage&&!a.importScripts&&p&&"file:"!==p.protocol&&!s(C)?(i=C,a.addEventListener("message",k,!1)):i=_ in u("script")?function(e){c.appendChild(u("script")).onreadystatechange=function(){c.removeChild(this),w(e)}}:function(e){setTimeout(x(e),0)}),e.exports={set:m,clear:h}},"./node_modules/core-js/internals/to-absolute-index.js":function(e,t,n){var i=n("./node_modules/core-js/internals/to-integer.js"),o=Math.max,r=Math.min;e.exports=function(e,t){var n=i(e);return n<0?o(n+t,0):r(n,t)}},"./node_modules/core-js/internals/to-indexed-object.js":function(e,t,n){var i=n("./node_modules/core-js/internals/indexed-object.js"),o=n("./node_modules/core-js/internals/require-object-coercible.js");e.exports=function(e){return i(o(e))}},"./node_modules/core-js/internals/to-integer.js":function(e){var t=Math.ceil,n=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?n:t)(e)}},"./node_modules/core-js/internals/to-length.js":function(e,t,n){var i=n("./node_modules/core-js/internals/to-integer.js"),o=Math.min;e.exports=function(e){return e>0?o(i(e),9007199254740991):0}},"./node_modules/core-js/internals/to-object.js":function(e,t,n){var i=n("./node_modules/core-js/internals/require-object-coercible.js");e.exports=function(e){return Object(i(e))}},"./node_modules/core-js/internals/to-primitive.js":function(e,t,n){var i=n("./node_modules/core-js/internals/is-object.js");e.exports=function(e,t){if(!i(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!i(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!i(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!i(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},"./node_modules/core-js/internals/to-string-tag-support.js":function(e,t,n){var i={};i[n("./node_modules/core-js/internals/well-known-symbol.js")("toStringTag")]="z",e.exports="[object z]"===String(i)},"./node_modules/core-js/internals/uid.js":function(e){var t=0,n=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++t+n).toString(36)}},"./node_modules/core-js/internals/use-symbol-as-uid.js":function(e,t,n){var i=n("./node_modules/core-js/internals/native-symbol.js");e.exports=i&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},"./node_modules/core-js/internals/well-known-symbol-wrapped.js":function(e,t,n){var i=n("./node_modules/core-js/internals/well-known-symbol.js");t.f=i},"./node_modules/core-js/internals/well-known-symbol.js":function(e,t,n){var i=n("./node_modules/core-js/internals/global.js"),o=n("./node_modules/core-js/internals/shared.js"),r=n("./node_modules/core-js/internals/has.js"),a=n("./node_modules/core-js/internals/uid.js"),s=n("./node_modules/core-js/internals/native-symbol.js"),l=n("./node_modules/core-js/internals/use-symbol-as-uid.js"),c=o("wks"),u=i.Symbol,d=l?u:u&&u.withoutSetter||a;e.exports=function(e){return r(c,e)||(s&&r(u,e)?c[e]=u[e]:c[e]=d("Symbol."+e)),c[e]}},"./node_modules/core-js/internals/whitespaces.js":function(e){e.exports="\t\n\v\f\r \u2028\u2029\ufeff"},"./node_modules/core-js/modules/es.array.concat.js":function(e,t,n){"use strict";var i=n("./node_modules/core-js/internals/export.js"),o=n("./node_modules/core-js/internals/fails.js"),r=n("./node_modules/core-js/internals/is-array.js"),a=n("./node_modules/core-js/internals/is-object.js"),s=n("./node_modules/core-js/internals/to-object.js"),l=n("./node_modules/core-js/internals/to-length.js"),c=n("./node_modules/core-js/internals/create-property.js"),u=n("./node_modules/core-js/internals/array-species-create.js"),d=n("./node_modules/core-js/internals/array-method-has-species-support.js"),f=n("./node_modules/core-js/internals/well-known-symbol.js"),p=n("./node_modules/core-js/internals/engine-v8-version.js"),m=f("isConcatSpreadable"),h=9007199254740991,g="Maximum allowed index exceeded",v=p>=51||!o((function(){var e=[];return e[m]=!1,e.concat()[0]!==e})),b=d("concat"),y=function(e){if(!a(e))return!1;var t=e[m];return void 0!==t?!!t:r(e)};i({target:"Array",proto:!0,forced:!v||!b},{concat:function(e){var t,n,i,o,r,a=s(this),d=u(a,0),f=0;for(t=-1,i=arguments.length;t<i;t++)if(y(r=-1===t?a:arguments[t])){if(f+(o=l(r.length))>h)throw TypeError(g);for(n=0;n<o;n++,f++)n in r&&c(d,f,r[n])}else{if(f>=h)throw TypeError(g);c(d,f++,r)}return d.length=f,d}})},"./node_modules/core-js/modules/es.array.filter.js":function(e,t,n){"use strict";var i=n("./node_modules/core-js/internals/export.js"),o=n("./node_modules/core-js/internals/array-iteration.js").filter,r=n("./node_modules/core-js/internals/array-method-has-species-support.js"),a=n("./node_modules/core-js/internals/array-method-uses-to-length.js"),s=r("filter"),l=a("filter");i({target:"Array",proto:!0,forced:!s||!l},{filter:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},"./node_modules/core-js/modules/es.array.find.js":function(e,t,n){"use strict";var i=n("./node_modules/core-js/internals/export.js"),o=n("./node_modules/core-js/internals/array-iteration.js").find,r=n("./node_modules/core-js/internals/add-to-unscopables.js"),a=n("./node_modules/core-js/internals/array-method-uses-to-length.js"),s="find",l=!0,c=a(s);s in[]&&Array(1).find((function(){l=!1})),i({target:"Array",proto:!0,forced:l||!c},{find:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),r(s)},"./node_modules/core-js/modules/es.array.for-each.js":function(e,t,n){"use strict";var i=n("./node_modules/core-js/internals/export.js"),o=n("./node_modules/core-js/internals/array-for-each.js");i({target:"Array",proto:!0,forced:[].forEach!=o},{forEach:o})},"./node_modules/core-js/modules/es.array.from.js":function(e,t,n){var i=n("./node_modules/core-js/internals/export.js"),o=n("./node_modules/core-js/internals/array-from.js");i({target:"Array",stat:!0,forced:!n("./node_modules/core-js/internals/check-correctness-of-iteration.js")((function(e){Array.from(e)}))},{from:o})},"./node_modules/core-js/modules/es.array.includes.js":function(e,t,n){"use strict";var i=n("./node_modules/core-js/internals/export.js"),o=n("./node_modules/core-js/internals/array-includes.js").includes,r=n("./node_modules/core-js/internals/add-to-unscopables.js");i({target:"Array",proto:!0,forced:!n("./node_modules/core-js/internals/array-method-uses-to-length.js")("indexOf",{ACCESSORS:!0,1:0})},{includes:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),r("includes")},"./node_modules/core-js/modules/es.array.index-of.js":function(e,t,n){"use strict";var i=n("./node_modules/core-js/internals/export.js"),o=n("./node_modules/core-js/internals/array-includes.js").indexOf,r=n("./node_modules/core-js/internals/array-method-is-strict.js"),a=n("./node_modules/core-js/internals/array-method-uses-to-length.js"),s=[].indexOf,l=!!s&&1/[1].indexOf(1,-0)<0,c=r("indexOf"),u=a("indexOf",{ACCESSORS:!0,1:0});i({target:"Array",proto:!0,forced:l||!c||!u},{indexOf:function(e){return l?s.apply(this,arguments)||0:o(this,e,arguments.length>1?arguments[1]:void 0)}})},"./node_modules/core-js/modules/es.array.is-array.js":function(e,t,n){n("./node_modules/core-js/internals/export.js")({target:"Array",stat:!0},{isArray:n("./node_modules/core-js/internals/is-array.js")})},"./node_modules/core-js/modules/es.array.iterator.js":function(e,t,n){"use strict";var i=n("./node_modules/core-js/internals/to-indexed-object.js"),o=n("./node_modules/core-js/internals/add-to-unscopables.js"),r=n("./node_modules/core-js/internals/iterators.js"),a=n("./node_modules/core-js/internals/internal-state.js"),s=n("./node_modules/core-js/internals/define-iterator.js"),l="Array Iterator",c=a.set,u=a.getterFor(l);e.exports=s(Array,"Array",(function(e,t){c(this,{type:l,target:i(e),index:0,kind:t})}),(function(){var e=u(this),t=e.target,n=e.kind,i=e.index++;return!t||i>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:i,done:!1}:"values"==n?{value:t[i],done:!1}:{value:[i,t[i]],done:!1}}),"values"),r.Arguments=r.Array,o("keys"),o("values"),o("entries")},"./node_modules/core-js/modules/es.array.join.js":function(e,t,n){"use strict";var i=n("./node_modules/core-js/internals/export.js"),o=n("./node_modules/core-js/internals/indexed-object.js"),r=n("./node_modules/core-js/internals/to-indexed-object.js"),a=n("./node_modules/core-js/internals/array-method-is-strict.js"),s=[].join,l=o!=Object,c=a("join",",");i({target:"Array",proto:!0,forced:l||!c},{join:function(e){return s.call(r(this),void 0===e?",":e)}})},"./node_modules/core-js/modules/es.array.last-index-of.js":function(e,t,n){var i=n("./node_modules/core-js/internals/export.js"),o=n("./node_modules/core-js/internals/array-last-index-of.js");i({target:"Array",proto:!0,forced:o!==[].lastIndexOf},{lastIndexOf:o})},"./node_modules/core-js/modules/es.array.map.js":function(e,t,n){"use strict";var i=n("./node_modules/core-js/internals/export.js"),o=n("./node_modules/core-js/internals/array-iteration.js").map,r=n("./node_modules/core-js/internals/array-method-has-species-support.js"),a=n("./node_modules/core-js/internals/array-method-uses-to-length.js"),s=r("map"),l=a("map");i({target:"Array",proto:!0,forced:!s||!l},{map:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},"./node_modules/core-js/modules/es.array.reduce.js":function(e,t,n){"use strict";var i=n("./node_modules/core-js/internals/export.js"),o=n("./node_modules/core-js/internals/array-reduce.js").left,r=n("./node_modules/core-js/internals/array-method-is-strict.js"),a=n("./node_modules/core-js/internals/array-method-uses-to-length.js"),s=n("./node_modules/core-js/internals/engine-v8-version.js"),l=n("./node_modules/core-js/internals/engine-is-node.js"),c=r("reduce"),u=a("reduce",{1:0});i({target:"Array",proto:!0,forced:!c||!u||!l&&s>79&&s<83},{reduce:function(e){return o(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}})},"./node_modules/core-js/modules/es.array.reverse.js":function(e,t,n){"use strict";var i=n("./node_modules/core-js/internals/export.js"),o=n("./node_modules/core-js/internals/is-array.js"),r=[].reverse,a=[1,2];i({target:"Array",proto:!0,forced:String(a)===String(a.reverse())},{reverse:function(){return o(this)&&(this.length=this.length),r.call(this)}})},"./node_modules/core-js/modules/es.array.slice.js":function(e,t,n){"use strict";var i=n("./node_modules/core-js/internals/export.js"),o=n("./node_modules/core-js/internals/is-object.js"),r=n("./node_modules/core-js/internals/is-array.js"),a=n("./node_modules/core-js/internals/to-absolute-index.js"),s=n("./node_modules/core-js/internals/to-length.js"),l=n("./node_modules/core-js/internals/to-indexed-object.js"),c=n("./node_modules/core-js/internals/create-property.js"),u=n("./node_modules/core-js/internals/well-known-symbol.js"),d=n("./node_modules/core-js/internals/array-method-has-species-support.js"),f=n("./node_modules/core-js/internals/array-method-uses-to-length.js"),p=d("slice"),m=f("slice",{ACCESSORS:!0,0:0,1:2}),h=u("species"),g=[].slice,v=Math.max;i({target:"Array",proto:!0,forced:!p||!m},{slice:function(e,t){var n,i,u,d=l(this),f=s(d.length),p=a(e,f),m=a(void 0===t?f:t,f);if(r(d)&&("function"!=typeof(n=d.constructor)||n!==Array&&!r(n.prototype)?o(n)&&null===(n=n[h])&&(n=void 0):n=void 0,n===Array||void 0===n))return g.call(d,p,m);for(i=new(void 0===n?Array:n)(v(m-p,0)),u=0;p<m;p++,u++)p in d&&c(i,u,d[p]);return i.length=u,i}})},"./node_modules/core-js/modules/es.array.sort.js":function(e,t,n){"use strict";var i=n("./node_modules/core-js/internals/export.js"),o=n("./node_modules/core-js/internals/a-function.js"),r=n("./node_modules/core-js/internals/to-object.js"),a=n("./node_modules/core-js/internals/fails.js"),s=n("./node_modules/core-js/internals/array-method-is-strict.js"),l=[],c=l.sort,u=a((function(){l.sort(void 0)})),d=a((function(){l.sort(null)})),f=s("sort");i({target:"Array",proto:!0,forced:u||!d||!f},{sort:function(e){return void 0===e?c.call(r(this)):c.call(r(this),o(e))}})},"./node_modules/core-js/modules/es.array.splice.js":function(e,t,n){"use strict";var i=n("./node_modules/core-js/internals/export.js"),o=n("./node_modules/core-js/internals/to-absolute-index.js"),r=n("./node_modules/core-js/internals/to-integer.js"),a=n("./node_modules/core-js/internals/to-length.js"),s=n("./node_modules/core-js/internals/to-object.js"),l=n("./node_modules/core-js/internals/array-species-create.js"),c=n("./node_modules/core-js/internals/create-property.js"),u=n("./node_modules/core-js/internals/array-method-has-species-support.js"),d=n("./node_modules/core-js/internals/array-method-uses-to-length.js"),f=u("splice"),p=d("splice",{ACCESSORS:!0,0:0,1:2}),m=Math.max,h=Math.min,g=9007199254740991,v="Maximum allowed length exceeded";i({target:"Array",proto:!0,forced:!f||!p},{splice:function(e,t){var n,i,u,d,f,p,b=s(this),y=a(b.length),j=o(e,y),_=arguments.length;if(0===_?n=i=0:1===_?(n=0,i=y-j):(n=_-2,i=h(m(r(t),0),y-j)),y+n-i>g)throw TypeError(v);for(u=l(b,i),d=0;d<i;d++)(f=j+d)in b&&c(u,d,b[f]);if(u.length=i,n<i){for(d=j;d<y-i;d++)p=d+n,(f=d+i)in b?b[p]=b[f]:delete b[p];for(d=y;d>y-i+n;d--)delete b[d-1]}else if(n>i)for(d=y-i;d>j;d--)p=d+n-1,(f=d+i-1)in b?b[p]=b[f]:delete b[p];for(d=0;d<n;d++)b[d+j]=arguments[d+2];return b.length=y-i+n,u}})},"./node_modules/core-js/modules/es.date.now.js":function(e,t,n){n("./node_modules/core-js/internals/export.js")({target:"Date",stat:!0},{now:function(){return(new Date).getTime()}})},"./node_modules/core-js/modules/es.date.to-iso-string.js":function(e,t,n){var i=n("./node_modules/core-js/internals/export.js"),o=n("./node_modules/core-js/internals/date-to-iso-string.js");i({target:"Date",proto:!0,forced:Date.prototype.toISOString!==o},{toISOString:o})},"./node_modules/core-js/modules/es.date.to-string.js":function(e,t,n){var i=n("./node_modules/core-js/internals/redefine.js"),o=Date.prototype,r="Invalid Date",a="toString",s=o.toString,l=o.getTime;new Date(NaN)+""!=r&&i(o,a,(function(){var e=l.call(this);return e==e?s.call(this):r}))},"./node_modules/core-js/modules/es.function.bind.js":function(e,t,n){n("./node_modules/core-js/internals/export.js")({target:"Function",proto:!0},{bind:n("./node_modules/core-js/internals/function-bind.js")})},"./node_modules/core-js/modules/es.function.name.js":function(e,t,n){var i=n("./node_modules/core-js/internals/descriptors.js"),o=n("./node_modules/core-js/internals/object-define-property.js").f,r=Function.prototype,a=r.toString,s=/^\s*function ([^ (]*)/,l="name";i&&!(l in r)&&o(r,l,{configurable:!0,get:function(){try{return a.call(this).match(s)[1]}catch(e){return""}}})},"./node_modules/core-js/modules/es.number.constructor.js":function(e,t,n){"use strict";var i=n("./node_modules/core-js/internals/descriptors.js"),o=n("./node_modules/core-js/internals/global.js"),r=n("./node_modules/core-js/internals/is-forced.js"),a=n("./node_modules/core-js/internals/redefine.js"),s=n("./node_modules/core-js/internals/has.js"),l=n("./node_modules/core-js/internals/classof-raw.js"),c=n("./node_modules/core-js/internals/inherit-if-required.js"),u=n("./node_modules/core-js/internals/to-primitive.js"),d=n("./node_modules/core-js/internals/fails.js"),f=n("./node_modules/core-js/internals/object-create.js"),p=n("./node_modules/core-js/internals/object-get-own-property-names.js").f,m=n("./node_modules/core-js/internals/object-get-own-property-descriptor.js").f,h=n("./node_modules/core-js/internals/object-define-property.js").f,g=n("./node_modules/core-js/internals/string-trim.js").trim,v="Number",b=o.Number,y=b.prototype,j=l(f(y))==v,_=function(e){var t,n,i,o,r,a,s,l,c=u(e,!1);if("string"==typeof c&&c.length>2)if(43===(t=(c=g(c)).charCodeAt(0))||45===t){if(88===(n=c.charCodeAt(2))||120===n)return NaN}else if(48===t){switch(c.charCodeAt(1)){case 66:case 98:i=2,o=49;break;case 79:case 111:i=8,o=55;break;default:return+c}for(a=(r=c.slice(2)).length,s=0;s<a;s++)if((l=r.charCodeAt(s))<48||l>o)return NaN;return parseInt(r,i)}return+c};if(r(v,!b(" 0o1")||!b("0b1")||b("+0x1"))){for(var w,x=function(e){var t=arguments.length<1?0:e,n=this;return n instanceof x&&(j?d((function(){y.valueOf.call(n)})):l(n)!=v)?c(new b(_(t)),n,x):_(t)},k=i?p(b):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,fromString,range".split(","),C=0;k.length>C;C++)s(b,w=k[C])&&!s(x,w)&&h(x,w,m(b,w));x.prototype=y,y.constructor=x,a(o,v,x)}},"./node_modules/core-js/modules/es.number.is-finite.js":function(e,t,n){n("./node_modules/core-js/internals/export.js")({target:"Number",stat:!0},{isFinite:n("./node_modules/core-js/internals/number-is-finite.js")})},"./node_modules/core-js/modules/es.number.is-nan.js":function(e,t,n){n("./node_modules/core-js/internals/export.js")({target:"Number",stat:!0},{isNaN:function(e){return e!=e}})},"./node_modules/core-js/modules/es.object.entries.js":function(e,t,n){var i=n("./node_modules/core-js/internals/export.js"),o=n("./node_modules/core-js/internals/object-to-array.js").entries;i({target:"Object",stat:!0},{entries:function(e){return o(e)}})},"./node_modules/core-js/modules/es.object.keys.js":function(e,t,n){var i=n("./node_modules/core-js/internals/export.js"),o=n("./node_modules/core-js/internals/to-object.js"),r=n("./node_modules/core-js/internals/object-keys.js");i({target:"Object",stat:!0,forced:n("./node_modules/core-js/internals/fails.js")((function(){r(1)}))},{keys:function(e){return r(o(e))}})},"./node_modules/core-js/modules/es.object.to-string.js":function(e,t,n){var i=n("./node_modules/core-js/internals/to-string-tag-support.js"),o=n("./node_modules/core-js/internals/redefine.js"),r=n("./node_modules/core-js/internals/object-to-string.js");i||o(Object.prototype,"toString",r,{unsafe:!0})},"./node_modules/core-js/modules/es.parse-float.js":function(e,t,n){var i=n("./node_modules/core-js/internals/export.js"),o=n("./node_modules/core-js/internals/number-parse-float.js");i({global:!0,forced:parseFloat!=o},{parseFloat:o})},"./node_modules/core-js/modules/es.parse-int.js":function(e,t,n){var i=n("./node_modules/core-js/internals/export.js"),o=n("./node_modules/core-js/internals/number-parse-int.js");i({global:!0,forced:parseInt!=o},{parseInt:o})},"./node_modules/core-js/modules/es.promise.js":function(e,t,n){"use strict";var i,o,r,a,s=n("./node_modules/core-js/internals/export.js"),l=n("./node_modules/core-js/internals/is-pure.js"),c=n("./node_modules/core-js/internals/global.js"),u=n("./node_modules/core-js/internals/get-built-in.js"),d=n("./node_modules/core-js/internals/native-promise-constructor.js"),f=n("./node_modules/core-js/internals/redefine.js"),p=n("./node_modules/core-js/internals/redefine-all.js"),m=n("./node_modules/core-js/internals/set-to-string-tag.js"),h=n("./node_modules/core-js/internals/set-species.js"),g=n("./node_modules/core-js/internals/is-object.js"),v=n("./node_modules/core-js/internals/a-function.js"),b=n("./node_modules/core-js/internals/an-instance.js"),y=n("./node_modules/core-js/internals/inspect-source.js"),j=n("./node_modules/core-js/internals/iterate.js"),_=n("./node_modules/core-js/internals/check-correctness-of-iteration.js"),w=n("./node_modules/core-js/internals/species-constructor.js"),x=n("./node_modules/core-js/internals/task.js").set,k=n("./node_modules/core-js/internals/microtask.js"),C=n("./node_modules/core-js/internals/promise-resolve.js"),S=n("./node_modules/core-js/internals/host-report-errors.js"),T=n("./node_modules/core-js/internals/new-promise-capability.js"),A=n("./node_modules/core-js/internals/perform.js"),$=n("./node_modules/core-js/internals/internal-state.js"),E=n("./node_modules/core-js/internals/is-forced.js"),O=n("./node_modules/core-js/internals/well-known-symbol.js"),D=n("./node_modules/core-js/internals/engine-is-node.js"),L=n("./node_modules/core-js/internals/engine-v8-version.js"),I=O("species"),R="Promise",P=$.get,F=$.set,N=$.getterFor(R),M=d,q=c.TypeError,z=c.document,H=c.process,U=u("fetch"),B=T.f,V=B,W=!!(z&&z.createEvent&&c.dispatchEvent),Q="function"==typeof PromiseRejectionEvent,G="unhandledrejection",X=E(R,(function(){if(!(y(M)!==String(M))){if(66===L)return!0;if(!D&&!Q)return!0}if(l&&!M.prototype.finally)return!0;if(L>=51&&/native code/.test(M))return!1;var e=M.resolve(1),t=function(e){e((function(){}),(function(){}))};return(e.constructor={})[I]=t,!(e.then((function(){}))instanceof t)})),Y=X||!_((function(e){M.all(e).catch((function(){}))})),K=function(e){var t;return!(!g(e)||"function"!=typeof(t=e.then))&&t},J=function(e,t){if(!e.notified){e.notified=!0;var n=e.reactions;k((function(){for(var i=e.value,o=1==e.state,r=0;n.length>r;){var a,s,l,c=n[r++],u=o?c.ok:c.fail,d=c.resolve,f=c.reject,p=c.domain;try{u?(o||(2===e.rejection&&ne(e),e.rejection=1),!0===u?a=i:(p&&p.enter(),a=u(i),p&&(p.exit(),l=!0)),a===c.promise?f(q("Promise-chain cycle")):(s=K(a))?s.call(a,d,f):d(a)):f(i)}catch(e){p&&!l&&p.exit(),f(e)}}e.reactions=[],e.notified=!1,t&&!e.rejection&&ee(e)}))}},Z=function(e,t,n){var i,o;W?((i=z.createEvent("Event")).promise=t,i.reason=n,i.initEvent(e,!1,!0),c.dispatchEvent(i)):i={promise:t,reason:n},!Q&&(o=c["on"+e])?o(i):e===G&&S("Unhandled promise rejection",n)},ee=function(e){x.call(c,(function(){var t,n=e.facade,i=e.value;if(te(e)&&(t=A((function(){D?H.emit("unhandledRejection",i,n):Z(G,n,i)})),e.rejection=D||te(e)?2:1,t.error))throw t.value}))},te=function(e){return 1!==e.rejection&&!e.parent},ne=function(e){x.call(c,(function(){var t=e.facade;D?H.emit("rejectionHandled",t):Z("rejectionhandled",t,e.value)}))},ie=function(e,t,n){return function(i){e(t,i,n)}},oe=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=2,J(e,!0))},re=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw q("Promise can't be resolved itself");var i=K(t);i?k((function(){var n={done:!1};try{i.call(t,ie(re,n,e),ie(oe,n,e))}catch(t){oe(n,t,e)}})):(e.value=t,e.state=1,J(e,!1))}catch(t){oe({done:!1},t,e)}}};X&&(M=function(e){b(this,M,R),v(e),i.call(this);var t=P(this);try{e(ie(re,t),ie(oe,t))}catch(e){oe(t,e)}},(i=function(e){F(this,{type:R,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=p(M.prototype,{then:function(e,t){var n=N(this),i=B(w(this,M));return i.ok="function"!=typeof e||e,i.fail="function"==typeof t&&t,i.domain=D?H.domain:void 0,n.parent=!0,n.reactions.push(i),0!=n.state&&J(n,!1),i.promise},catch:function(e){return this.then(void 0,e)}}),o=function(){var e=new i,t=P(e);this.promise=e,this.resolve=ie(re,t),this.reject=ie(oe,t)},T.f=B=function(e){return e===M||e===r?new o(e):V(e)},l||"function"!=typeof d||(a=d.prototype.then,f(d.prototype,"then",(function(e,t){var n=this;return new M((function(e,t){a.call(n,e,t)})).then(e,t)}),{unsafe:!0}),"function"==typeof U&&s({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return C(M,U.apply(c,arguments))}}))),s({global:!0,wrap:!0,forced:X},{Promise:M}),m(M,R,!1,!0),h(R),r=u(R),s({target:R,stat:!0,forced:X},{reject:function(e){var t=B(this);return t.reject.call(void 0,e),t.promise}}),s({target:R,stat:!0,forced:l||X},{resolve:function(e){return C(l&&this===r?M:this,e)}}),s({target:R,stat:!0,forced:Y},{all:function(e){var t=this,n=B(t),i=n.resolve,o=n.reject,r=A((function(){var n=v(t.resolve),r=[],a=0,s=1;j(e,(function(e){var l=a++,c=!1;r.push(void 0),s++,n.call(t,e).then((function(e){c||(c=!0,r[l]=e,--s||i(r))}),o)})),--s||i(r)}));return r.error&&o(r.value),n.promise},race:function(e){var t=this,n=B(t),i=n.reject,o=A((function(){var o=v(t.resolve);j(e,(function(e){o.call(t,e).then(n.resolve,i)}))}));return o.error&&i(o.value),n.promise}})},"./node_modules/core-js/modules/es.regexp.constructor.js":function(e,t,n){var i=n("./node_modules/core-js/internals/descriptors.js"),o=n("./node_modules/core-js/internals/global.js"),r=n("./node_modules/core-js/internals/is-forced.js"),a=n("./node_modules/core-js/internals/inherit-if-required.js"),s=n("./node_modules/core-js/internals/object-define-property.js").f,l=n("./node_modules/core-js/internals/object-get-own-property-names.js").f,c=n("./node_modules/core-js/internals/is-regexp.js"),u=n("./node_modules/core-js/internals/regexp-flags.js"),d=n("./node_modules/core-js/internals/regexp-sticky-helpers.js"),f=n("./node_modules/core-js/internals/redefine.js"),p=n("./node_modules/core-js/internals/fails.js"),m=n("./node_modules/core-js/internals/internal-state.js").set,h=n("./node_modules/core-js/internals/set-species.js"),g=n("./node_modules/core-js/internals/well-known-symbol.js")("match"),v=o.RegExp,b=v.prototype,y=/a/g,j=/a/g,_=new v(y)!==y,w=d.UNSUPPORTED_Y;if(i&&r("RegExp",!_||w||p((function(){return j[g]=!1,v(y)!=y||v(j)==j||"/a/i"!=v(y,"i")})))){for(var x=function(e,t){var n,i=this instanceof x,o=c(e),r=void 0===t;if(!i&&o&&e.constructor===x&&r)return e;_?o&&!r&&(e=e.source):e instanceof x&&(r&&(t=u.call(e)),e=e.source),w&&(n=!!t&&t.indexOf("y")>-1)&&(t=t.replace(/y/g,""));var s=a(_?new v(e,t):v(e,t),i?this:b,x);return w&&n&&m(s,{sticky:n}),s},k=function(e){e in x||s(x,e,{configurable:!0,get:function(){return v[e]},set:function(t){v[e]=t}})},C=l(v),S=0;C.length>S;)k(C[S++]);b.constructor=x,x.prototype=b,f(o,"RegExp",x)}h("RegExp")},"./node_modules/core-js/modules/es.regexp.exec.js":function(e,t,n){"use strict";var i=n("./node_modules/core-js/internals/export.js"),o=n("./node_modules/core-js/internals/regexp-exec.js");i({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},"./node_modules/core-js/modules/es.regexp.flags.js":function(e,t,n){var i=n("./node_modules/core-js/internals/descriptors.js"),o=n("./node_modules/core-js/internals/object-define-property.js"),r=n("./node_modules/core-js/internals/regexp-flags.js"),a=n("./node_modules/core-js/internals/regexp-sticky-helpers.js").UNSUPPORTED_Y;i&&("g"!=/./g.flags||a)&&o.f(RegExp.prototype,"flags",{configurable:!0,get:r})},"./node_modules/core-js/modules/es.regexp.to-string.js":function(e,t,n){"use strict";var i=n("./node_modules/core-js/internals/redefine.js"),o=n("./node_modules/core-js/internals/an-object.js"),r=n("./node_modules/core-js/internals/fails.js"),a=n("./node_modules/core-js/internals/regexp-flags.js"),s="toString",l=RegExp.prototype,c=l.toString,u=r((function(){return"/a/b"!=c.call({source:"a",flags:"b"})})),d=c.name!=s;(u||d)&&i(RegExp.prototype,s,(function(){var e=o(this),t=String(e.source),n=e.flags;return"/"+t+"/"+String(void 0===n&&e instanceof RegExp&&!("flags"in l)?a.call(e):n)}),{unsafe:!0})},"./node_modules/core-js/modules/es.set.js":function(e,t,n){"use strict";var i=n("./node_modules/core-js/internals/collection.js"),o=n("./node_modules/core-js/internals/collection-strong.js");e.exports=i("Set",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),o)},"./node_modules/core-js/modules/es.string.anchor.js":function(e,t,n){"use strict";var i=n("./node_modules/core-js/internals/export.js"),o=n("./node_modules/core-js/internals/create-html.js");i({target:"String",proto:!0,forced:n("./node_modules/core-js/internals/string-html-forced.js")("anchor")},{anchor:function(e){return o(this,"a","name",e)}})},"./node_modules/core-js/modules/es.string.ends-with.js":function(e,t,n){"use strict";var i,o=n("./node_modules/core-js/internals/export.js"),r=n("./node_modules/core-js/internals/object-get-own-property-descriptor.js").f,a=n("./node_modules/core-js/internals/to-length.js"),s=n("./node_modules/core-js/internals/not-a-regexp.js"),l=n("./node_modules/core-js/internals/require-object-coercible.js"),c=n("./node_modules/core-js/internals/correct-is-regexp-logic.js"),u=n("./node_modules/core-js/internals/is-pure.js"),d="".endsWith,f=Math.min,p=c("endsWith");o({target:"String",proto:!0,forced:!!(u||p||(i=r(String.prototype,"endsWith"),!i||i.writable))&&!p},{endsWith:function(e){var t=String(l(this));s(e);var n=arguments.length>1?arguments[1]:void 0,i=a(t.length),o=void 0===n?i:f(a(n),i),r=String(e);return d?d.call(t,r,o):t.slice(o-r.length,o)===r}})},"./node_modules/core-js/modules/es.string.fixed.js":function(e,t,n){"use strict";var i=n("./node_modules/core-js/internals/export.js"),o=n("./node_modules/core-js/internals/create-html.js");i({target:"String",proto:!0,forced:n("./node_modules/core-js/internals/string-html-forced.js")("fixed")},{fixed:function(){return o(this,"tt","","")}})},"./node_modules/core-js/modules/es.string.includes.js":function(e,t,n){"use strict";var i=n("./node_modules/core-js/internals/export.js"),o=n("./node_modules/core-js/internals/not-a-regexp.js"),r=n("./node_modules/core-js/internals/require-object-coercible.js");i({target:"String",proto:!0,forced:!n("./node_modules/core-js/internals/correct-is-regexp-logic.js")("includes")},{includes:function(e){return!!~String(r(this)).indexOf(o(e),arguments.length>1?arguments[1]:void 0)}})},"./node_modules/core-js/modules/es.string.iterator.js":function(e,t,n){"use strict";var i=n("./node_modules/core-js/internals/string-multibyte.js").charAt,o=n("./node_modules/core-js/internals/internal-state.js"),r=n("./node_modules/core-js/internals/define-iterator.js"),a="String Iterator",s=o.set,l=o.getterFor(a);r(String,"String",(function(e){s(this,{type:a,string:String(e),index:0})}),(function(){var e,t=l(this),n=t.string,o=t.index;return o>=n.length?{value:void 0,done:!0}:(e=i(n,o),t.index+=e.length,{value:e,done:!1})}))},"./node_modules/core-js/modules/es.string.link.js":function(e,t,n){"use strict";var i=n("./node_modules/core-js/internals/export.js"),o=n("./node_modules/core-js/internals/create-html.js");i({target:"String",proto:!0,forced:n("./node_modules/core-js/internals/string-html-forced.js")("link")},{link:function(e){return o(this,"a","href",e)}})},"./node_modules/core-js/modules/es.string.match.js":function(e,t,n){"use strict";var i=n("./node_modules/core-js/internals/fix-regexp-well-known-symbol-logic.js"),o=n("./node_modules/core-js/internals/an-object.js"),r=n("./node_modules/core-js/internals/to-length.js"),a=n("./node_modules/core-js/internals/require-object-coercible.js"),s=n("./node_modules/core-js/internals/advance-string-index.js"),l=n("./node_modules/core-js/internals/regexp-exec-abstract.js");i("match",1,(function(e,t,n){return[function(t){var n=a(this),i=null==t?void 0:t[e];return void 0!==i?i.call(t,n):new RegExp(t)[e](String(n))},function(e){var i=n(t,e,this);if(i.done)return i.value;var a=o(e),c=String(this);if(!a.global)return l(a,c);var u=a.unicode;a.lastIndex=0;for(var d,f=[],p=0;null!==(d=l(a,c));){var m=String(d[0]);f[p]=m,""===m&&(a.lastIndex=s(c,r(a.lastIndex),u)),p++}return 0===p?null:f}]}))},"./node_modules/core-js/modules/es.string.replace.js":function(e,t,n){"use strict";var i=n("./node_modules/core-js/internals/fix-regexp-well-known-symbol-logic.js"),o=n("./node_modules/core-js/internals/an-object.js"),r=n("./node_modules/core-js/internals/to-object.js"),a=n("./node_modules/core-js/internals/to-length.js"),s=n("./node_modules/core-js/internals/to-integer.js"),l=n("./node_modules/core-js/internals/require-object-coercible.js"),c=n("./node_modules/core-js/internals/advance-string-index.js"),u=n("./node_modules/core-js/internals/regexp-exec-abstract.js"),d=Math.max,f=Math.min,p=Math.floor,m=/\$([$&'`]|\d\d?|<[^>]*>)/g,h=/\$([$&'`]|\d\d?)/g;i("replace",2,(function(e,t,n,i){var g=i.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,v=i.REPLACE_KEEPS_$0,b=g?"$":"$0";return[function(n,i){var o=l(this),r=null==n?void 0:n[e];return void 0!==r?r.call(n,o,i):t.call(String(o),n,i)},function(e,i){if(!g&&v||"string"==typeof i&&-1===i.indexOf(b)){var r=n(t,e,this,i);if(r.done)return r.value}var l=o(e),p=String(this),m="function"==typeof i;m||(i=String(i));var h=l.global;if(h){var j=l.unicode;l.lastIndex=0}for(var _=[];;){var w=u(l,p);if(null===w)break;if(_.push(w),!h)break;""===String(w[0])&&(l.lastIndex=c(p,a(l.lastIndex),j))}for(var x,k="",C=0,S=0;S<_.length;S++){w=_[S];for(var T=String(w[0]),A=d(f(s(w.index),p.length),0),$=[],E=1;E<w.length;E++)$.push(void 0===(x=w[E])?x:String(x));var O=w.groups;if(m){var D=[T].concat($,A,p);void 0!==O&&D.push(O);var L=String(i.apply(void 0,D))}else L=y(T,p,A,$,O,i);A>=C&&(k+=p.slice(C,A)+L,C=A+T.length)}return k+p.slice(C)}];function y(e,n,i,o,a,s){var l=i+e.length,c=o.length,u=h;return void 0!==a&&(a=r(a),u=m),t.call(s,u,(function(t,r){var s;switch(r.charAt(0)){case"$":return"$";case"&":return e;case"`":return n.slice(0,i);case"'":return n.slice(l);case"<":s=a[r.slice(1,-1)];break;default:var u=+r;if(0===u)return t;if(u>c){var d=p(u/10);return 0===d?t:d<=c?void 0===o[d-1]?r.charAt(1):o[d-1]+r.charAt(1):t}s=o[u-1]}return void 0===s?"":s}))}}))},"./node_modules/core-js/modules/es.string.search.js":function(e,t,n){"use strict";var i=n("./node_modules/core-js/internals/fix-regexp-well-known-symbol-logic.js"),o=n("./node_modules/core-js/internals/an-object.js"),r=n("./node_modules/core-js/internals/require-object-coercible.js"),a=n("./node_modules/core-js/internals/same-value.js"),s=n("./node_modules/core-js/internals/regexp-exec-abstract.js");i("search",1,(function(e,t,n){return[function(t){var n=r(this),i=null==t?void 0:t[e];return void 0!==i?i.call(t,n):new RegExp(t)[e](String(n))},function(e){var i=n(t,e,this);if(i.done)return i.value;var r=o(e),l=String(this),c=r.lastIndex;a(c,0)||(r.lastIndex=0);var u=s(r,l);return a(r.lastIndex,c)||(r.lastIndex=c),null===u?-1:u.index}]}))},"./node_modules/core-js/modules/es.string.split.js":function(e,t,n){"use strict";var i=n("./node_modules/core-js/internals/fix-regexp-well-known-symbol-logic.js"),o=n("./node_modules/core-js/internals/is-regexp.js"),r=n("./node_modules/core-js/internals/an-object.js"),a=n("./node_modules/core-js/internals/require-object-coercible.js"),s=n("./node_modules/core-js/internals/species-constructor.js"),l=n("./node_modules/core-js/internals/advance-string-index.js"),c=n("./node_modules/core-js/internals/to-length.js"),u=n("./node_modules/core-js/internals/regexp-exec-abstract.js"),d=n("./node_modules/core-js/internals/regexp-exec.js"),f=n("./node_modules/core-js/internals/fails.js"),p=[].push,m=Math.min,h=4294967295,g=!f((function(){return!RegExp(h,"y")}));i("split",2,(function(e,t,n){var i;return i="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var i=String(a(this)),r=void 0===n?h:n>>>0;if(0===r)return[];if(void 0===e)return[i];if(!o(e))return t.call(i,e,r);for(var s,l,c,u=[],f=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),m=0,g=new RegExp(e.source,f+"g");(s=d.call(g,i))&&!((l=g.lastIndex)>m&&(u.push(i.slice(m,s.index)),s.length>1&&s.index<i.length&&p.apply(u,s.slice(1)),c=s[0].length,m=l,u.length>=r));)g.lastIndex===s.index&&g.lastIndex++;return m===i.length?!c&&g.test("")||u.push(""):u.push(i.slice(m)),u.length>r?u.slice(0,r):u}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:t.call(this,e,n)}:t,[function(t,n){var o=a(this),r=null==t?void 0:t[e];return void 0!==r?r.call(t,o,n):i.call(String(o),t,n)},function(e,o){var a=n(i,e,this,o,i!==t);if(a.done)return a.value;var d=r(e),f=String(this),p=s(d,RegExp),v=d.unicode,b=(d.ignoreCase?"i":"")+(d.multiline?"m":"")+(d.unicode?"u":"")+(g?"y":"g"),y=new p(g?d:"^(?:"+d.source+")",b),j=void 0===o?h:o>>>0;if(0===j)return[];if(0===f.length)return null===u(y,f)?[f]:[];for(var _=0,w=0,x=[];w<f.length;){y.lastIndex=g?w:0;var k,C=u(y,g?f:f.slice(w));if(null===C||(k=m(c(y.lastIndex+(g?0:w)),f.length))===_)w=l(f,w,v);else{if(x.push(f.slice(_,w)),x.length===j)return x;for(var S=1;S<=C.length-1;S++)if(x.push(C[S]),x.length===j)return x;w=_=k}}return x.push(f.slice(_)),x}]}),!g)},"./node_modules/core-js/modules/es.string.starts-with.js":function(e,t,n){"use strict";var i,o=n("./node_modules/core-js/internals/export.js"),r=n("./node_modules/core-js/internals/object-get-own-property-descriptor.js").f,a=n("./node_modules/core-js/internals/to-length.js"),s=n("./node_modules/core-js/internals/not-a-regexp.js"),l=n("./node_modules/core-js/internals/require-object-coercible.js"),c=n("./node_modules/core-js/internals/correct-is-regexp-logic.js"),u=n("./node_modules/core-js/internals/is-pure.js"),d="".startsWith,f=Math.min,p=c("startsWith");o({target:"String",proto:!0,forced:!!(u||p||(i=r(String.prototype,"startsWith"),!i||i.writable))&&!p},{startsWith:function(e){var t=String(l(this));s(e);var n=a(f(arguments.length>1?arguments[1]:void 0,t.length)),i=String(e);return d?d.call(t,i,n):t.slice(n,n+i.length)===i}})},"./node_modules/core-js/modules/es.string.trim.js":function(e,t,n){"use strict";var i=n("./node_modules/core-js/internals/export.js"),o=n("./node_modules/core-js/internals/string-trim.js").trim;i({target:"String",proto:!0,forced:n("./node_modules/core-js/internals/string-trim-forced.js")("trim")},{trim:function(){return o(this)}})},"./node_modules/core-js/modules/es.symbol.description.js":function(e,t,n){"use strict";var i=n("./node_modules/core-js/internals/export.js"),o=n("./node_modules/core-js/internals/descriptors.js"),r=n("./node_modules/core-js/internals/global.js"),a=n("./node_modules/core-js/internals/has.js"),s=n("./node_modules/core-js/internals/is-object.js"),l=n("./node_modules/core-js/internals/object-define-property.js").f,c=n("./node_modules/core-js/internals/copy-constructor-properties.js"),u=r.Symbol;if(o&&"function"==typeof u&&(!("description"in u.prototype)||void 0!==u().description)){var d={},f=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),t=this instanceof f?new u(e):void 0===e?u():u(e);return""===e&&(d[t]=!0),t};c(f,u);var p=f.prototype=u.prototype;p.constructor=f;var m=p.toString,h="Symbol(test)"==String(u("test")),g=/^Symbol\((.*)\)[^)]+$/;l(p,"description",{configurable:!0,get:function(){var e=s(this)?this.valueOf():this,t=m.call(e);if(a(d,e))return"";var n=h?t.slice(7,-1):t.replace(g,"$1");return""===n?void 0:n}}),i({global:!0,forced:!0},{Symbol:f})}},"./node_modules/core-js/modules/es.symbol.js":function(e,t,n){"use strict";var i=n("./node_modules/core-js/internals/export.js"),o=n("./node_modules/core-js/internals/global.js"),r=n("./node_modules/core-js/internals/get-built-in.js"),a=n("./node_modules/core-js/internals/is-pure.js"),s=n("./node_modules/core-js/internals/descriptors.js"),l=n("./node_modules/core-js/internals/native-symbol.js"),c=n("./node_modules/core-js/internals/use-symbol-as-uid.js"),u=n("./node_modules/core-js/internals/fails.js"),d=n("./node_modules/core-js/internals/has.js"),f=n("./node_modules/core-js/internals/is-array.js"),p=n("./node_modules/core-js/internals/is-object.js"),m=n("./node_modules/core-js/internals/an-object.js"),h=n("./node_modules/core-js/internals/to-object.js"),g=n("./node_modules/core-js/internals/to-indexed-object.js"),v=n("./node_modules/core-js/internals/to-primitive.js"),b=n("./node_modules/core-js/internals/create-property-descriptor.js"),y=n("./node_modules/core-js/internals/object-create.js"),j=n("./node_modules/core-js/internals/object-keys.js"),_=n("./node_modules/core-js/internals/object-get-own-property-names.js"),w=n("./node_modules/core-js/internals/object-get-own-property-names-external.js"),x=n("./node_modules/core-js/internals/object-get-own-property-symbols.js"),k=n("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),C=n("./node_modules/core-js/internals/object-define-property.js"),S=n("./node_modules/core-js/internals/object-property-is-enumerable.js"),T=n("./node_modules/core-js/internals/create-non-enumerable-property.js"),A=n("./node_modules/core-js/internals/redefine.js"),$=n("./node_modules/core-js/internals/shared.js"),E=n("./node_modules/core-js/internals/shared-key.js"),O=n("./node_modules/core-js/internals/hidden-keys.js"),D=n("./node_modules/core-js/internals/uid.js"),L=n("./node_modules/core-js/internals/well-known-symbol.js"),I=n("./node_modules/core-js/internals/well-known-symbol-wrapped.js"),R=n("./node_modules/core-js/internals/define-well-known-symbol.js"),P=n("./node_modules/core-js/internals/set-to-string-tag.js"),F=n("./node_modules/core-js/internals/internal-state.js"),N=n("./node_modules/core-js/internals/array-iteration.js").forEach,M=E("hidden"),q="Symbol",z=L("toPrimitive"),H=F.set,U=F.getterFor(q),B=Object.prototype,V=o.Symbol,W=r("JSON","stringify"),Q=k.f,G=C.f,X=w.f,Y=S.f,K=$("symbols"),J=$("op-symbols"),Z=$("string-to-symbol-registry"),ee=$("symbol-to-string-registry"),te=$("wks"),ne=o.QObject,ie=!ne||!ne.prototype||!ne.prototype.findChild,oe=s&&u((function(){return 7!=y(G({},"a",{get:function(){return G(this,"a",{value:7}).a}})).a}))?function(e,t,n){var i=Q(B,t);i&&delete B[t],G(e,t,n),i&&e!==B&&G(B,t,i)}:G,re=function(e,t){var n=K[e]=y(V.prototype);return H(n,{type:q,tag:e,description:t}),s||(n.description=t),n},ae=c?function(e){return"symbol"==typeof e}:function(e){return Object(e)instanceof V},se=function(e,t,n){e===B&&se(J,t,n),m(e);var i=v(t,!0);return m(n),d(K,i)?(n.enumerable?(d(e,M)&&e[M][i]&&(e[M][i]=!1),n=y(n,{enumerable:b(0,!1)})):(d(e,M)||G(e,M,b(1,{})),e[M][i]=!0),oe(e,i,n)):G(e,i,n)},le=function(e,t){m(e);var n=g(t),i=j(n).concat(fe(n));return N(i,(function(t){s&&!ce.call(n,t)||se(e,t,n[t])})),e},ce=function(e){var t=v(e,!0),n=Y.call(this,t);return!(this===B&&d(K,t)&&!d(J,t))&&(!(n||!d(this,t)||!d(K,t)||d(this,M)&&this[M][t])||n)},ue=function(e,t){var n=g(e),i=v(t,!0);if(n!==B||!d(K,i)||d(J,i)){var o=Q(n,i);return!o||!d(K,i)||d(n,M)&&n[M][i]||(o.enumerable=!0),o}},de=function(e){var t=X(g(e)),n=[];return N(t,(function(e){d(K,e)||d(O,e)||n.push(e)})),n},fe=function(e){var t=e===B,n=X(t?J:g(e)),i=[];return N(n,(function(e){!d(K,e)||t&&!d(B,e)||i.push(K[e])})),i};(l||(A((V=function(){if(this instanceof V)throw TypeError("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,t=D(e),n=function(e){this===B&&n.call(J,e),d(this,M)&&d(this[M],t)&&(this[M][t]=!1),oe(this,t,b(1,e))};return s&&ie&&oe(B,t,{configurable:!0,set:n}),re(t,e)}).prototype,"toString",(function(){return U(this).tag})),A(V,"withoutSetter",(function(e){return re(D(e),e)})),S.f=ce,C.f=se,k.f=ue,_.f=w.f=de,x.f=fe,I.f=function(e){return re(L(e),e)},s&&(G(V.prototype,"description",{configurable:!0,get:function(){return U(this).description}}),a||A(B,"propertyIsEnumerable",ce,{unsafe:!0}))),i({global:!0,wrap:!0,forced:!l,sham:!l},{Symbol:V}),N(j(te),(function(e){R(e)})),i({target:q,stat:!0,forced:!l},{for:function(e){var t=String(e);if(d(Z,t))return Z[t];var n=V(t);return Z[t]=n,ee[n]=t,n},keyFor:function(e){if(!ae(e))throw TypeError(e+" is not a symbol");if(d(ee,e))return ee[e]},useSetter:function(){ie=!0},useSimple:function(){ie=!1}}),i({target:"Object",stat:!0,forced:!l,sham:!s},{create:function(e,t){return void 0===t?y(e):le(y(e),t)},defineProperty:se,defineProperties:le,getOwnPropertyDescriptor:ue}),i({target:"Object",stat:!0,forced:!l},{getOwnPropertyNames:de,getOwnPropertySymbols:fe}),i({target:"Object",stat:!0,forced:u((function(){x.f(1)}))},{getOwnPropertySymbols:function(e){return x.f(h(e))}}),W)&&i({target:"JSON",stat:!0,forced:!l||u((function(){var e=V();return"[null]"!=W([e])||"{}"!=W({a:e})||"{}"!=W(Object(e))}))},{stringify:function(e,t,n){for(var i,o=[e],r=1;arguments.length>r;)o.push(arguments[r++]);if(i=t,(p(t)||void 0!==e)&&!ae(e))return f(t)||(t=function(e,t){if("function"==typeof i&&(t=i.call(this,e,t)),!ae(t))return t}),o[1]=t,W.apply(null,o)}});V.prototype[z]||T(V.prototype,z,V.prototype.valueOf),P(V,q),O[M]=!0},"./node_modules/core-js/modules/web.dom-collections.for-each.js":function(e,t,n){var i=n("./node_modules/core-js/internals/global.js"),o=n("./node_modules/core-js/internals/dom-iterables.js"),r=n("./node_modules/core-js/internals/array-for-each.js"),a=n("./node_modules/core-js/internals/create-non-enumerable-property.js");for(var s in o){var l=i[s],c=l&&l.prototype;if(c&&c.forEach!==r)try{a(c,"forEach",r)}catch(e){c.forEach=r}}},"./node_modules/core-js/modules/web.dom-collections.iterator.js":function(e,t,n){var i=n("./node_modules/core-js/internals/global.js"),o=n("./node_modules/core-js/internals/dom-iterables.js"),r=n("./node_modules/core-js/modules/es.array.iterator.js"),a=n("./node_modules/core-js/internals/create-non-enumerable-property.js"),s=n("./node_modules/core-js/internals/well-known-symbol.js"),l=s("iterator"),c=s("toStringTag"),u=r.values;for(var d in o){var f=i[d],p=f&&f.prototype;if(p){if(p[l]!==u)try{a(p,l,u)}catch(e){p[l]=u}if(p[c]||a(p,c,d),o[d])for(var m in r)if(p[m]!==r[m])try{a(p,m,r[m])}catch(e){p[m]=r[m]}}}},"./node_modules/core-js/modules/web.immediate.js":function(e,t,n){var i=n("./node_modules/core-js/internals/export.js"),o=n("./node_modules/core-js/internals/global.js"),r=n("./node_modules/core-js/internals/task.js");i({global:!0,bind:!0,enumerable:!0,forced:!o.setImmediate||!o.clearImmediate},{setImmediate:r.set,clearImmediate:r.clear})},"./node_modules/core-js/modules/web.timers.js":function(e,t,n){var i=n("./node_modules/core-js/internals/export.js"),o=n("./node_modules/core-js/internals/global.js"),r=n("./node_modules/core-js/internals/engine-user-agent.js"),a=[].slice,s=function(e){return function(t,n){var i=arguments.length>2,o=i?a.call(arguments,2):void 0;return e(i?function(){("function"==typeof t?t:Function(t)).apply(this,o)}:t,n)}};i({global:!0,bind:!0,forced:/MSIE .\./.test(r)},{setTimeout:s(o.setTimeout),setInterval:s(o.setInterval)})},"./node_modules/core-js/modules/web.url-search-params.js":function(e,t,n){"use strict";n("./node_modules/core-js/modules/es.array.iterator.js");var i=n("./node_modules/core-js/internals/export.js"),o=n("./node_modules/core-js/internals/get-built-in.js"),r=n("./node_modules/core-js/internals/native-url.js"),a=n("./node_modules/core-js/internals/redefine.js"),s=n("./node_modules/core-js/internals/redefine-all.js"),l=n("./node_modules/core-js/internals/set-to-string-tag.js"),c=n("./node_modules/core-js/internals/create-iterator-constructor.js"),u=n("./node_modules/core-js/internals/internal-state.js"),d=n("./node_modules/core-js/internals/an-instance.js"),f=n("./node_modules/core-js/internals/has.js"),p=n("./node_modules/core-js/internals/function-bind-context.js"),m=n("./node_modules/core-js/internals/classof.js"),h=n("./node_modules/core-js/internals/an-object.js"),g=n("./node_modules/core-js/internals/is-object.js"),v=n("./node_modules/core-js/internals/object-create.js"),b=n("./node_modules/core-js/internals/create-property-descriptor.js"),y=n("./node_modules/core-js/internals/get-iterator.js"),j=n("./node_modules/core-js/internals/get-iterator-method.js"),_=n("./node_modules/core-js/internals/well-known-symbol.js"),w=o("fetch"),x=o("Headers"),k=_("iterator"),C="URLSearchParams",S="URLSearchParamsIterator",T=u.set,A=u.getterFor(C),$=u.getterFor(S),E=/\+/g,O=Array(4),D=function(e){return O[e-1]||(O[e-1]=RegExp("((?:%[\\da-f]{2}){"+e+"})","gi"))},L=function(e){try{return decodeURIComponent(e)}catch(t){return e}},I=function(e){var t=e.replace(E," "),n=4;try{return decodeURIComponent(t)}catch(e){for(;n;)t=t.replace(D(n--),L);return t}},R=/[!'()~]|%20/g,P={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},F=function(e){return P[e]},N=function(e){return encodeURIComponent(e).replace(R,F)},M=function(e,t){if(t)for(var n,i,o=t.split("&"),r=0;r<o.length;)(n=o[r++]).length&&(i=n.split("="),e.push({key:I(i.shift()),value:I(i.join("="))}))},q=function(e){this.entries.length=0,M(this.entries,e)},z=function(e,t){if(e<t)throw TypeError("Not enough arguments")},H=c((function(e,t){T(this,{type:S,iterator:y(A(e).entries),kind:t})}),"Iterator",(function(){var e=$(this),t=e.kind,n=e.iterator.next(),i=n.value;return n.done||(n.value="keys"===t?i.key:"values"===t?i.value:[i.key,i.value]),n})),U=function(){d(this,U,C);var e,t,n,i,o,r,a,s,l,c=arguments.length>0?arguments[0]:void 0,u=this,p=[];if(T(u,{type:C,entries:p,updateURL:function(){},updateSearchParams:q}),void 0!==c)if(g(c))if("function"==typeof(e=j(c)))for(n=(t=e.call(c)).next;!(i=n.call(t)).done;){if((a=(r=(o=y(h(i.value))).next).call(o)).done||(s=r.call(o)).done||!r.call(o).done)throw TypeError("Expected sequence with length 2");p.push({key:a.value+"",value:s.value+""})}else for(l in c)f(c,l)&&p.push({key:l,value:c[l]+""});else M(p,"string"==typeof c?"?"===c.charAt(0)?c.slice(1):c:c+"")},B=U.prototype;s(B,{append:function(e,t){z(arguments.length,2);var n=A(this);n.entries.push({key:e+"",value:t+""}),n.updateURL()},delete:function(e){z(arguments.length,1);for(var t=A(this),n=t.entries,i=e+"",o=0;o<n.length;)n[o].key===i?n.splice(o,1):o++;t.updateURL()},get:function(e){z(arguments.length,1);for(var t=A(this).entries,n=e+"",i=0;i<t.length;i++)if(t[i].key===n)return t[i].value;return null},getAll:function(e){z(arguments.length,1);for(var t=A(this).entries,n=e+"",i=[],o=0;o<t.length;o++)t[o].key===n&&i.push(t[o].value);return i},has:function(e){z(arguments.length,1);for(var t=A(this).entries,n=e+"",i=0;i<t.length;)if(t[i++].key===n)return!0;return!1},set:function(e,t){z(arguments.length,1);for(var n,i=A(this),o=i.entries,r=!1,a=e+"",s=t+"",l=0;l<o.length;l++)(n=o[l]).key===a&&(r?o.splice(l--,1):(r=!0,n.value=s));r||o.push({key:a,value:s}),i.updateURL()},sort:function(){var e,t,n,i=A(this),o=i.entries,r=o.slice();for(o.length=0,n=0;n<r.length;n++){for(e=r[n],t=0;t<n;t++)if(o[t].key>e.key){o.splice(t,0,e);break}t===n&&o.push(e)}i.updateURL()},forEach:function(e){for(var t,n=A(this).entries,i=p(e,arguments.length>1?arguments[1]:void 0,3),o=0;o<n.length;)i((t=n[o++]).value,t.key,this)},keys:function(){return new H(this,"keys")},values:function(){return new H(this,"values")},entries:function(){return new H(this,"entries")}},{enumerable:!0}),a(B,k,B.entries),a(B,"toString",(function(){for(var e,t=A(this).entries,n=[],i=0;i<t.length;)e=t[i++],n.push(N(e.key)+"="+N(e.value));return n.join("&")}),{enumerable:!0}),l(U,C),i({global:!0,forced:!r},{URLSearchParams:U}),r||"function"!=typeof w||"function"!=typeof x||i({global:!0,enumerable:!0,forced:!0},{fetch:function(e){var t,n,i,o=[e];return arguments.length>1&&(g(t=arguments[1])&&(n=t.body,m(n)===C&&((i=t.headers?new x(t.headers):new x).has("content-type")||i.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"),t=v(t,{body:b(0,String(n)),headers:b(0,i)}))),o.push(t)),w.apply(this,o)}}),e.exports={URLSearchParams:U,getState:A}},"./node_modules/core-js/modules/web.url.js":function(e,t,n){"use strict";n("./node_modules/core-js/modules/es.string.iterator.js");var i,o=n("./node_modules/core-js/internals/export.js"),r=n("./node_modules/core-js/internals/descriptors.js"),a=n("./node_modules/core-js/internals/native-url.js"),s=n("./node_modules/core-js/internals/global.js"),l=n("./node_modules/core-js/internals/object-define-properties.js"),c=n("./node_modules/core-js/internals/redefine.js"),u=n("./node_modules/core-js/internals/an-instance.js"),d=n("./node_modules/core-js/internals/has.js"),f=n("./node_modules/core-js/internals/object-assign.js"),p=n("./node_modules/core-js/internals/array-from.js"),m=n("./node_modules/core-js/internals/string-multibyte.js").codeAt,h=n("./node_modules/core-js/internals/string-punycode-to-ascii.js"),g=n("./node_modules/core-js/internals/set-to-string-tag.js"),v=n("./node_modules/core-js/modules/web.url-search-params.js"),b=n("./node_modules/core-js/internals/internal-state.js"),y=s.URL,j=v.URLSearchParams,_=v.getState,w=b.set,x=b.getterFor("URL"),k=Math.floor,C=Math.pow,S="Invalid scheme",T="Invalid host",A="Invalid port",$=/[A-Za-z]/,E=/[\d+-.A-Za-z]/,O=/\d/,D=/^(0x|0X)/,L=/^[0-7]+$/,I=/^\d+$/,R=/^[\dA-Fa-f]+$/,P=/[\u0000\u0009\u000A\u000D #%/:?@[\\]]/,F=/[\u0000\u0009\u000A\u000D #/:?@[\\]]/,N=/^[\u0000-\u001F ]+|[\u0000-\u001F ]+$/g,M=/[\u0009\u000A\u000D]/g,q=function(e,t){var n,i,o;if("["==t.charAt(0)){if("]"!=t.charAt(t.length-1))return T;if(!(n=H(t.slice(1,-1))))return T;e.host=n}else if(Y(e)){if(t=h(t),P.test(t))return T;if(null===(n=z(t)))return T;e.host=n}else{if(F.test(t))return T;for(n="",i=p(t),o=0;o<i.length;o++)n+=G(i[o],B);e.host=n}},z=function(e){var t,n,i,o,r,a,s,l=e.split(".");if(l.length&&""==l[l.length-1]&&l.pop(),(t=l.length)>4)return e;for(n=[],i=0;i<t;i++){if(""==(o=l[i]))return e;if(r=10,o.length>1&&"0"==o.charAt(0)&&(r=D.test(o)?16:8,o=o.slice(8==r?1:2)),""===o)a=0;else{if(!(10==r?I:8==r?L:R).test(o))return e;a=parseInt(o,r)}n.push(a)}for(i=0;i<t;i++)if(a=n[i],i==t-1){if(a>=C(256,5-t))return null}else if(a>255)return null;for(s=n.pop(),i=0;i<n.length;i++)s+=n[i]*C(256,3-i);return s},H=function(e){var t,n,i,o,r,a,s,l=[0,0,0,0,0,0,0,0],c=0,u=null,d=0,f=function(){return e.charAt(d)};if(":"==f()){if(":"!=e.charAt(1))return;d+=2,u=++c}for(;f();){if(8==c)return;if(":"!=f()){for(t=n=0;n<4&&R.test(f());)t=16*t+parseInt(f(),16),d++,n++;if("."==f()){if(0==n)return;if(d-=n,c>6)return;for(i=0;f();){if(o=null,i>0){if(!("."==f()&&i<4))return;d++}if(!O.test(f()))return;for(;O.test(f());){if(r=parseInt(f(),10),null===o)o=r;else{if(0==o)return;o=10*o+r}if(o>255)return;d++}l[c]=256*l[c]+o,2!=++i&&4!=i||c++}if(4!=i)return;break}if(":"==f()){if(d++,!f())return}else if(f())return;l[c++]=t}else{if(null!==u)return;d++,u=++c}}if(null!==u)for(a=c-u,c=7;0!=c&&a>0;)s=l[c],l[c--]=l[u+a-1],l[u+--a]=s;else if(8!=c)return;return l},U=function(e){var t,n,i,o;if("number"==typeof e){for(t=[],n=0;n<4;n++)t.unshift(e%256),e=k(e/256);return t.join(".")}if("object"==typeof e){for(t="",i=function(e){for(var t=null,n=1,i=null,o=0,r=0;r<8;r++)0!==e[r]?(o>n&&(t=i,n=o),i=null,o=0):(null===i&&(i=r),++o);return o>n&&(t=i,n=o),t}(e),n=0;n<8;n++)o&&0===e[n]||(o&&(o=!1),i===n?(t+=n?":":"::",o=!0):(t+=e[n].toString(16),n<7&&(t+=":")));return"["+t+"]"}return e},B={},V=f({},B,{" ":1,'"':1,"<":1,">":1,"`":1}),W=f({},V,{"#":1,"?":1,"{":1,"}":1}),Q=f({},W,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),G=function(e,t){var n=m(e,0);return n>32&&n<127&&!d(t,e)?e:encodeURIComponent(e)},X={ftp:21,file:null,http:80,https:443,ws:80,wss:443},Y=function(e){return d(X,e.scheme)},K=function(e){return""!=e.username||""!=e.password},J=function(e){return!e.host||e.cannotBeABaseURL||"file"==e.scheme},Z=function(e,t){var n;return 2==e.length&&$.test(e.charAt(0))&&(":"==(n=e.charAt(1))||!t&&"|"==n)},ee=function(e){var t;return e.length>1&&Z(e.slice(0,2))&&(2==e.length||"/"===(t=e.charAt(2))||"\\"===t||"?"===t||"#"===t)},te=function(e){var t=e.path,n=t.length;!n||"file"==e.scheme&&1==n&&Z(t[0],!0)||t.pop()},ne=function(e){return"."===e||"%2e"===e.toLowerCase()},ie={},oe={},re={},ae={},se={},le={},ce={},ue={},de={},fe={},pe={},me={},he={},ge={},ve={},be={},ye={},je={},_e={},we={},xe={},ke=function(e,t,n,o){var r,a,s,l,c,u=n||ie,f=0,m="",h=!1,g=!1,v=!1;for(n||(e.scheme="",e.username="",e.password="",e.host=null,e.port=null,e.path=[],e.query=null,e.fragment=null,e.cannotBeABaseURL=!1,t=t.replace(N,"")),t=t.replace(M,""),r=p(t);f<=r.length;){switch(a=r[f],u){case ie:if(!a||!$.test(a)){if(n)return S;u=re;continue}m+=a.toLowerCase(),u=oe;break;case oe:if(a&&(E.test(a)||"+"==a||"-"==a||"."==a))m+=a.toLowerCase();else{if(":"!=a){if(n)return S;m="",u=re,f=0;continue}if(n&&(Y(e)!=d(X,m)||"file"==m&&(K(e)||null!==e.port)||"file"==e.scheme&&!e.host))return;if(e.scheme=m,n)return void(Y(e)&&X[e.scheme]==e.port&&(e.port=null));m="","file"==e.scheme?u=ge:Y(e)&&o&&o.scheme==e.scheme?u=ae:Y(e)?u=ue:"/"==r[f+1]?(u=se,f++):(e.cannotBeABaseURL=!0,e.path.push(""),u=_e)}break;case re:if(!o||o.cannotBeABaseURL&&"#"!=a)return S;if(o.cannotBeABaseURL&&"#"==a){e.scheme=o.scheme,e.path=o.path.slice(),e.query=o.query,e.fragment="",e.cannotBeABaseURL=!0,u=xe;break}u="file"==o.scheme?ge:le;continue;case ae:if("/"!=a||"/"!=r[f+1]){u=le;continue}u=de,f++;break;case se:if("/"==a){u=fe;break}u=je;continue;case le:if(e.scheme=o.scheme,a==i)e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,e.path=o.path.slice(),e.query=o.query;else if("/"==a||"\\"==a&&Y(e))u=ce;else if("?"==a)e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,e.path=o.path.slice(),e.query="",u=we;else{if("#"!=a){e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,e.path=o.path.slice(),e.path.pop(),u=je;continue}e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,e.path=o.path.slice(),e.query=o.query,e.fragment="",u=xe}break;case ce:if(!Y(e)||"/"!=a&&"\\"!=a){if("/"!=a){e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,u=je;continue}u=fe}else u=de;break;case ue:if(u=de,"/"!=a||"/"!=m.charAt(f+1))continue;f++;break;case de:if("/"!=a&&"\\"!=a){u=fe;continue}break;case fe:if("@"==a){h&&(m="%40"+m),h=!0,s=p(m);for(var b=0;b<s.length;b++){var y=s[b];if(":"!=y||v){var j=G(y,Q);v?e.password+=j:e.username+=j}else v=!0}m=""}else if(a==i||"/"==a||"?"==a||"#"==a||"\\"==a&&Y(e)){if(h&&""==m)return"Invalid authority";f-=p(m).length+1,m="",u=pe}else m+=a;break;case pe:case me:if(n&&"file"==e.scheme){u=be;continue}if(":"!=a||g){if(a==i||"/"==a||"?"==a||"#"==a||"\\"==a&&Y(e)){if(Y(e)&&""==m)return T;if(n&&""==m&&(K(e)||null!==e.port))return;if(l=q(e,m))return l;if(m="",u=ye,n)return;continue}"["==a?g=!0:"]"==a&&(g=!1),m+=a}else{if(""==m)return T;if(l=q(e,m))return l;if(m="",u=he,n==me)return}break;case he:if(!O.test(a)){if(a==i||"/"==a||"?"==a||"#"==a||"\\"==a&&Y(e)||n){if(""!=m){var _=parseInt(m,10);if(_>65535)return A;e.port=Y(e)&&_===X[e.scheme]?null:_,m=""}if(n)return;u=ye;continue}return A}m+=a;break;case ge:if(e.scheme="file","/"==a||"\\"==a)u=ve;else{if(!o||"file"!=o.scheme){u=je;continue}if(a==i)e.host=o.host,e.path=o.path.slice(),e.query=o.query;else if("?"==a)e.host=o.host,e.path=o.path.slice(),e.query="",u=we;else{if("#"!=a){ee(r.slice(f).join(""))||(e.host=o.host,e.path=o.path.slice(),te(e)),u=je;continue}e.host=o.host,e.path=o.path.slice(),e.query=o.query,e.fragment="",u=xe}}break;case ve:if("/"==a||"\\"==a){u=be;break}o&&"file"==o.scheme&&!ee(r.slice(f).join(""))&&(Z(o.path[0],!0)?e.path.push(o.path[0]):e.host=o.host),u=je;continue;case be:if(a==i||"/"==a||"\\"==a||"?"==a||"#"==a){if(!n&&Z(m))u=je;else if(""==m){if(e.host="",n)return;u=ye}else{if(l=q(e,m))return l;if("localhost"==e.host&&(e.host=""),n)return;m="",u=ye}continue}m+=a;break;case ye:if(Y(e)){if(u=je,"/"!=a&&"\\"!=a)continue}else if(n||"?"!=a)if(n||"#"!=a){if(a!=i&&(u=je,"/"!=a))continue}else e.fragment="",u=xe;else e.query="",u=we;break;case je:if(a==i||"/"==a||"\\"==a&&Y(e)||!n&&("?"==a||"#"==a)){if(".."===(c=(c=m).toLowerCase())||"%2e."===c||".%2e"===c||"%2e%2e"===c?(te(e),"/"==a||"\\"==a&&Y(e)||e.path.push("")):ne(m)?"/"==a||"\\"==a&&Y(e)||e.path.push(""):("file"==e.scheme&&!e.path.length&&Z(m)&&(e.host&&(e.host=""),m=m.charAt(0)+":"),e.path.push(m)),m="","file"==e.scheme&&(a==i||"?"==a||"#"==a))for(;e.path.length>1&&""===e.path[0];)e.path.shift();"?"==a?(e.query="",u=we):"#"==a&&(e.fragment="",u=xe)}else m+=G(a,W);break;case _e:"?"==a?(e.query="",u=we):"#"==a?(e.fragment="",u=xe):a!=i&&(e.path[0]+=G(a,B));break;case we:n||"#"!=a?a!=i&&("'"==a&&Y(e)?e.query+="%27":e.query+="#"==a?"%23":G(a,B)):(e.fragment="",u=xe);break;case xe:a!=i&&(e.fragment+=G(a,V))}f++}},Ce=function(e){var t,n,i=u(this,Ce,"URL"),o=arguments.length>1?arguments[1]:void 0,a=String(e),s=w(i,{type:"URL"});if(void 0!==o)if(o instanceof Ce)t=x(o);else if(n=ke(t={},String(o)))throw TypeError(n);if(n=ke(s,a,null,t))throw TypeError(n);var l=s.searchParams=new j,c=_(l);c.updateSearchParams(s.query),c.updateURL=function(){s.query=String(l)||null},r||(i.href=Te.call(i),i.origin=Ae.call(i),i.protocol=$e.call(i),i.username=Ee.call(i),i.password=Oe.call(i),i.host=De.call(i),i.hostname=Le.call(i),i.port=Ie.call(i),i.pathname=Re.call(i),i.search=Pe.call(i),i.searchParams=Fe.call(i),i.hash=Ne.call(i))},Se=Ce.prototype,Te=function(){var e=x(this),t=e.scheme,n=e.username,i=e.password,o=e.host,r=e.port,a=e.path,s=e.query,l=e.fragment,c=t+":";return null!==o?(c+="//",K(e)&&(c+=n+(i?":"+i:"")+"@"),c+=U(o),null!==r&&(c+=":"+r)):"file"==t&&(c+="//"),c+=e.cannotBeABaseURL?a[0]:a.length?"/"+a.join("/"):"",null!==s&&(c+="?"+s),null!==l&&(c+="#"+l),c},Ae=function(){var e=x(this),t=e.scheme,n=e.port;if("blob"==t)try{return new URL(t.path[0]).origin}catch(e){return"null"}return"file"!=t&&Y(e)?t+"://"+U(e.host)+(null!==n?":"+n:""):"null"},$e=function(){return x(this).scheme+":"},Ee=function(){return x(this).username},Oe=function(){return x(this).password},De=function(){var e=x(this),t=e.host,n=e.port;return null===t?"":null===n?U(t):U(t)+":"+n},Le=function(){var e=x(this).host;return null===e?"":U(e)},Ie=function(){var e=x(this).port;return null===e?"":String(e)},Re=function(){var e=x(this),t=e.path;return e.cannotBeABaseURL?t[0]:t.length?"/"+t.join("/"):""},Pe=function(){var e=x(this).query;return e?"?"+e:""},Fe=function(){return x(this).searchParams},Ne=function(){var e=x(this).fragment;return e?"#"+e:""},Me=function(e,t){return{get:e,set:t,configurable:!0,enumerable:!0}};if(r&&l(Se,{href:Me(Te,(function(e){var t=x(this),n=String(e),i=ke(t,n);if(i)throw TypeError(i);_(t.searchParams).updateSearchParams(t.query)})),origin:Me(Ae),protocol:Me($e,(function(e){var t=x(this);ke(t,String(e)+":",ie)})),username:Me(Ee,(function(e){var t=x(this),n=p(String(e));if(!J(t)){t.username="";for(var i=0;i<n.length;i++)t.username+=G(n[i],Q)}})),password:Me(Oe,(function(e){var t=x(this),n=p(String(e));if(!J(t)){t.password="";for(var i=0;i<n.length;i++)t.password+=G(n[i],Q)}})),host:Me(De,(function(e){var t=x(this);t.cannotBeABaseURL||ke(t,String(e),pe)})),hostname:Me(Le,(function(e){var t=x(this);t.cannotBeABaseURL||ke(t,String(e),me)})),port:Me(Ie,(function(e){var t=x(this);J(t)||(""==(e=String(e))?t.port=null:ke(t,e,he))})),pathname:Me(Re,(function(e){var t=x(this);t.cannotBeABaseURL||(t.path=[],ke(t,e+"",ye))})),search:Me(Pe,(function(e){var t=x(this);""==(e=String(e))?t.query=null:("?"==e.charAt(0)&&(e=e.slice(1)),t.query="",ke(t,e,we)),_(t.searchParams).updateSearchParams(t.query)})),searchParams:Me(Fe),hash:Me(Ne,(function(e){var t=x(this);""!=(e=String(e))?("#"==e.charAt(0)&&(e=e.slice(1)),t.fragment="",ke(t,e,xe)):t.fragment=null}))}),c(Se,"toJSON",(function(){return Te.call(this)}),{enumerable:!0}),c(Se,"toString",(function(){return Te.call(this)}),{enumerable:!0}),y){var qe=y.createObjectURL,ze=y.revokeObjectURL;qe&&c(Ce,"createObjectURL",(function(e){return qe.apply(y,arguments)})),ze&&c(Ce,"revokeObjectURL",(function(e){return ze.apply(y,arguments)}))}g(Ce,"URL"),o({global:!0,forced:!a,sham:!r},{URL:Ce})},"./node_modules/escape-goat/index.js":function(e,t){"use strict";const n=e=>e.replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">"),i=e=>e.replace(/>/g,">").replace(/</g,"<").replace(/�?39;/g,"'").replace(/"/g,'"').replace(/&/g,"&");t.T=(e,...t)=>{if("string"==typeof e)return n(e);let i=e[0];for(const[o,r]of t.entries())i=i+n(String(r))+e[o+1];return i}},"./node_modules/jquery.are-you-sure/jquery.are-you-sure.js":function(){!function(e){e.fn.areYouSure=function(t){var n=e.extend({message:"You have unsaved changes!",dirtyClass:"dirty",change:null,silent:!1,addRemoveFieldsMarksDirty:!1,fieldEvents:"change keyup propertychange input",fieldSelector:":input:not(input[type=submit]):not(input[type=button])"},t),i=function(t){if(t.hasClass("ays-ignore")||t.hasClass("aysIgnore")||t.attr("data-ays-ignore")||void 0===t.attr("name"))return null;if(t.is(":disabled"))return"ays-disabled";var n,i=t.attr("type");switch(t.is("select")&&(i="select"),i){case"checkbox":case"radio":n=t.is(":checked");break;case"select":n="",t.find("option").each((function(t){var i=e(this);i.is(":selected")&&(n+=i.val())}));break;default:n=t.val()}return n},o=function(e){e.data("ays-orig",i(e))},r=function(t){var o=function(e){var t=e.data("ays-orig");return void 0!==t&&i(e)!=t},r=e(this).is("form")?e(this):e(this).parents("form");if(o(e(t.target)))s(r,!0);else{if($fields=r.find(n.fieldSelector),n.addRemoveFieldsMarksDirty)if(r.data("ays-orig-field-count")!=$fields.length)return void s(r,!0);var a=!1;$fields.each((function(){if($field=e(this),o($field))return a=!0,!1})),s(r,a)}},a=function(t){var i=t.find(n.fieldSelector);e(i).each((function(){o(e(this))})),e(i).unbind(n.fieldEvents,r),e(i).bind(n.fieldEvents,r),t.data("ays-orig-field-count",e(i).length),s(t,!1)},s=function(e,t){var i=t!=e.hasClass(n.dirtyClass);e.toggleClass(n.dirtyClass,t),i&&(n.change&&n.change.call(e,e),t&&e.trigger("dirty.areYouSure",[e]),t||e.trigger("clean.areYouSure",[e]),e.trigger("change.areYouSure",[e]))},l=function(){var t=e(this),i=t.find(n.fieldSelector);e(i).each((function(){var t=e(this);t.data("ays-orig")||(o(t),t.bind(n.fieldEvents,r))})),t.trigger("checkform.areYouSure")},c=function(){a(e(this))};return n.silent||window.aysUnloadSet||(window.aysUnloadSet=!0,e(window).bind("beforeunload",(function(){if($dirtyForms=e("form").filter("."+n.dirtyClass),0!=$dirtyForms.length){if(navigator.userAgent.toLowerCase().match(/msie|chrome/)){if(window.aysHasPrompted)return;window.aysHasPrompted=!0,window.setTimeout((function(){window.aysHasPrompted=!1}),900)}return n.message}}))),this.each((function(t){if(e(this).is("form")){var i=e(this);i.submit((function(){i.removeClass(n.dirtyClass)})),i.bind("reset",(function(){s(i,!1)})),i.bind("rescan.areYouSure",l),i.bind("reinitialize.areYouSure",c),i.bind("checkform.areYouSure",r),a(i)}}))}}(jQuery)},"./node_modules/jquery/dist/jquery.js":function(e,t){var n;!function(t,n){"use strict";"object"==typeof e.exports?e.exports=t.document?n(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return n(e)}:n(t)}("undefined"!=typeof window?window:this,(function(i,o){"use strict";var r=[],a=Object.getPrototypeOf,s=r.slice,l=r.flat?function(e){return r.flat.call(e)}:function(e){return r.concat.apply([],e)},c=r.push,u=r.indexOf,d={},f=d.toString,p=d.hasOwnProperty,m=p.toString,h=m.call(Object),g={},v=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},b=function(e){return null!=e&&e===e.window},y=i.document,j={type:!0,src:!0,nonce:!0,noModule:!0};function _(e,t,n){var i,o,r=(n=n||y).createElement("script");if(r.text=e,t)for(i in j)(o=t[i]||t.getAttribute&&t.getAttribute(i))&&r.setAttribute(i,o);n.head.appendChild(r).parentNode.removeChild(r)}function w(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?d[f.call(e)]||"object":typeof e}var x="3.5.1",k=function(e,t){return new k.fn.init(e,t)};function C(e){var t=!!e&&"length"in e&&e.length,n=w(e);return!v(e)&&!b(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}k.fn=k.prototype={jquery:x,constructor:k,length:0,toArray:function(){return s.call(this)},get:function(e){return null==e?s.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=k.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return k.each(this,e)},map:function(e){return this.pushStack(k.map(this,(function(t,n){return e.call(t,n,t)})))},slice:function(){return this.pushStack(s.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(k.grep(this,(function(e,t){return(t+1)%2})))},odd:function(){return this.pushStack(k.grep(this,(function(e,t){return t%2})))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:c,sort:r.sort,splice:r.splice},k.extend=k.fn.extend=function(){var e,t,n,i,o,r,a=arguments[0]||{},s=1,l=arguments.length,c=!1;for("boolean"==typeof a&&(c=a,a=arguments[s]||{},s++),"object"==typeof a||v(a)||(a={}),s===l&&(a=this,s--);s<l;s++)if(null!=(e=arguments[s]))for(t in e)i=e[t],"__proto__"!==t&&a!==i&&(c&&i&&(k.isPlainObject(i)||(o=Array.isArray(i)))?(n=a[t],r=o&&!Array.isArray(n)?[]:o||k.isPlainObject(n)?n:{},o=!1,a[t]=k.extend(c,r,i)):void 0!==i&&(a[t]=i));return a},k.extend({expando:"jQuery"+(x+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==f.call(e))&&(!(t=a(e))||"function"==typeof(n=p.call(t,"constructor")&&t.constructor)&&m.call(n)===h)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,n){_(e,{nonce:t&&t.nonce},n)},each:function(e,t){var n,i=0;if(C(e))for(n=e.length;i<n&&!1!==t.call(e[i],i,e[i]);i++);else for(i in e)if(!1===t.call(e[i],i,e[i]))break;return e},makeArray:function(e,t){var n=t||[];return null!=e&&(C(Object(e))?k.merge(n,"string"==typeof e?[e]:e):c.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:u.call(t,e,n)},merge:function(e,t){for(var n=+t.length,i=0,o=e.length;i<n;i++)e[o++]=t[i];return e.length=o,e},grep:function(e,t,n){for(var i=[],o=0,r=e.length,a=!n;o<r;o++)!t(e[o],o)!==a&&i.push(e[o]);return i},map:function(e,t,n){var i,o,r=0,a=[];if(C(e))for(i=e.length;r<i;r++)null!=(o=t(e[r],r,n))&&a.push(o);else for(r in e)null!=(o=t(e[r],r,n))&&a.push(o);return l(a)},guid:1,support:g}),"function"==typeof Symbol&&(k.fn[Symbol.iterator]=r[Symbol.iterator]),k.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),(function(e,t){d["[object "+t+"]"]=t.toLowerCase()}));var S=function(e){var t,n,i,o,r,a,s,l,c,u,d,f,p,m,h,g,v,b,y,j="sizzle"+1*new Date,_=e.document,w=0,x=0,k=le(),C=le(),S=le(),T=le(),A=function(e,t){return e===t&&(d=!0),0},$={}.hasOwnProperty,E=[],O=E.pop,D=E.push,L=E.push,I=E.slice,R=function(e,t){for(var n=0,i=e.length;n<i;n++)if(e[n]===t)return n;return-1},P="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",F="[\\x20\\t\\r\\n\\f]",N="(?:\\\\[\\da-fA-F]{1,6}[\\x20\\t\\r\\n\\f]?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",M="\\[[\\x20\\t\\r\\n\\f]*("+N+")(?:"+F+"*([*^$|!~]?=)"+F+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+N+"))|)"+F+"*\\]",q=":("+N+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+M+")*)|.*)\\)|)",z=new RegExp(F+"+","g"),H=new RegExp("^[\\x20\\t\\r\\n\\f]+|((?:^|[^\\\\])(?:\\\\.)*)[\\x20\\t\\r\\n\\f]+$","g"),U=new RegExp("^[\\x20\\t\\r\\n\\f]*,[\\x20\\t\\r\\n\\f]*"),B=new RegExp("^[\\x20\\t\\r\\n\\f]*([>+~]|[\\x20\\t\\r\\n\\f])[\\x20\\t\\r\\n\\f]*"),V=new RegExp(F+"|>"),W=new RegExp(q),Q=new RegExp("^"+N+"$"),G={ID:new RegExp("^#("+N+")"),CLASS:new RegExp("^\\.("+N+")"),TAG:new RegExp("^("+N+"|[*])"),ATTR:new RegExp("^"+M),PSEUDO:new RegExp("^"+q),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\([\\x20\\t\\r\\n\\f]*(even|odd|(([+-]|)(\\d*)n|)[\\x20\\t\\r\\n\\f]*(?:([+-]|)[\\x20\\t\\r\\n\\f]*(\\d+)|))[\\x20\\t\\r\\n\\f]*\\)|)","i"),bool:new RegExp("^(?:"+P+")$","i"),needsContext:new RegExp("^[\\x20\\t\\r\\n\\f]*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\([\\x20\\t\\r\\n\\f]*((?:-\\d)?\\d*)[\\x20\\t\\r\\n\\f]*\\)|)(?=[^-]|$)","i")},X=/HTML$/i,Y=/^(?:input|select|textarea|button)$/i,K=/^h\d$/i,J=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\[\\da-fA-F]{1,6}[\\x20\\t\\r\\n\\f]?|\\\\([^\\r\\n\\f])","g"),ne=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},ie=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,oe=function(e,t){return t?"\0"===e?"<22>":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},re=function(){f()},ae=je((function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()}),{dir:"parentNode",next:"legend"});try{L.apply(E=I.call(_.childNodes),_.childNodes),E[_.childNodes.length].nodeType}catch(e){L={apply:E.length?function(e,t){D.apply(e,I.call(t))}:function(e,t){for(var n=e.length,i=0;e[n++]=t[i++];);e.length=n-1}}}function se(e,t,i,o){var r,s,c,u,d,m,v,b=t&&t.ownerDocument,_=t?t.nodeType:9;if(i=i||[],"string"!=typeof e||!e||1!==_&&9!==_&&11!==_)return i;if(!o&&(f(t),t=t||p,h)){if(11!==_&&(d=Z.exec(e)))if(r=d[1]){if(9===_){if(!(c=t.getElementById(r)))return i;if(c.id===r)return i.push(c),i}else if(b&&(c=b.getElementById(r))&&y(t,c)&&c.id===r)return i.push(c),i}else{if(d[2])return L.apply(i,t.getElementsByTagName(e)),i;if((r=d[3])&&n.getElementsByClassName&&t.getElementsByClassName)return L.apply(i,t.getElementsByClassName(r)),i}if(n.qsa&&!T[e+" "]&&(!g||!g.test(e))&&(1!==_||"object"!==t.nodeName.toLowerCase())){if(v=e,b=t,1===_&&(V.test(e)||B.test(e))){for((b=ee.test(e)&&ve(t.parentNode)||t)===t&&n.scope||((u=t.getAttribute("id"))?u=u.replace(ie,oe):t.setAttribute("id",u=j)),s=(m=a(e)).length;s--;)m[s]=(u?"#"+u:":scope")+" "+ye(m[s]);v=m.join(",")}try{return L.apply(i,b.querySelectorAll(v)),i}catch(t){T(e,!0)}finally{u===j&&t.removeAttribute("id")}}}return l(e.replace(H,"$1"),t,i,o)}function le(){var e=[];return function t(n,o){return e.push(n+" ")>i.cacheLength&&delete t[e.shift()],t[n+" "]=o}}function ce(e){return e[j]=!0,e}function ue(e){var t=p.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function de(e,t){for(var n=e.split("|"),o=n.length;o--;)i.attrHandle[n[o]]=t}function fe(e,t){var n=t&&e,i=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(i)return i;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function pe(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function me(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function he(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&&ae(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function ge(e){return ce((function(t){return t=+t,ce((function(n,i){for(var o,r=e([],n.length,t),a=r.length;a--;)n[o=r[a]]&&(n[o]=!(i[o]=n[o]))}))}))}function ve(e){return e&&void 0!==e.getElementsByTagName&&e}for(t in n=se.support={},r=se.isXML=function(e){var t=e.namespaceURI,n=(e.ownerDocument||e).documentElement;return!X.test(t||n&&n.nodeName||"HTML")},f=se.setDocument=function(e){var t,o,a=e?e.ownerDocument||e:_;return a!=p&&9===a.nodeType&&a.documentElement?(m=(p=a).documentElement,h=!r(p),_!=p&&(o=p.defaultView)&&o.top!==o&&(o.addEventListener?o.addEventListener("unload",re,!1):o.attachEvent&&o.attachEvent("onunload",re)),n.scope=ue((function(e){return m.appendChild(e).appendChild(p.createElement("div")),void 0!==e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length})),n.attributes=ue((function(e){return e.className="i",!e.getAttribute("className")})),n.getElementsByTagName=ue((function(e){return e.appendChild(p.createComment("")),!e.getElementsByTagName("*").length})),n.getElementsByClassName=J.test(p.getElementsByClassName),n.getById=ue((function(e){return m.appendChild(e).id=j,!p.getElementsByName||!p.getElementsByName(j).length})),n.getById?(i.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},i.find.ID=function(e,t){if(void 0!==t.getElementById&&h){var n=t.getElementById(e);return n?[n]:[]}}):(i.filter.ID=function(e){var t=e.replace(te,ne);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},i.find.ID=function(e,t){if(void 0!==t.getElementById&&h){var n,i,o,r=t.getElementById(e);if(r){if((n=r.getAttributeNode("id"))&&n.value===e)return[r];for(o=t.getElementsByName(e),i=0;r=o[i++];)if((n=r.getAttributeNode("id"))&&n.value===e)return[r]}return[]}}),i.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,i=[],o=0,r=t.getElementsByTagName(e);if("*"===e){for(;n=r[o++];)1===n.nodeType&&i.push(n);return i}return r},i.find.CLASS=n.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&h)return t.getElementsByClassName(e)},v=[],g=[],(n.qsa=J.test(p.querySelectorAll))&&(ue((function(e){var t;m.appendChild(e).innerHTML="<a id='"+j+"'></a><select id='"+j+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&g.push("[*^$]=[\\x20\\t\\r\\n\\f]*(?:''|\"\")"),e.querySelectorAll("[selected]").length||g.push("\\[[\\x20\\t\\r\\n\\f]*(?:value|"+P+")"),e.querySelectorAll("[id~="+j+"-]").length||g.push("~="),(t=p.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||g.push("\\[[\\x20\\t\\r\\n\\f]*name[\\x20\\t\\r\\n\\f]*=[\\x20\\t\\r\\n\\f]*(?:''|\"\")"),e.querySelectorAll(":checked").length||g.push(":checked"),e.querySelectorAll("a#"+j+"+*").length||g.push(".#.+[+~]"),e.querySelectorAll("\\\f"),g.push("[\\r\\n\\f]")})),ue((function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=p.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&g.push("name[\\x20\\t\\r\\n\\f]*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&g.push(":enabled",":disabled"),m.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&g.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),g.push(",.*:")}))),(n.matchesSelector=J.test(b=m.matches||m.webkitMatchesSelector||m.mozMatchesSelector||m.oMatchesSelector||m.msMatchesSelector))&&ue((function(e){n.disconnectedMatch=b.call(e,"*"),b.call(e,"[s!='']:x"),v.push("!=",q)})),g=g.length&&new RegExp(g.join("|")),v=v.length&&new RegExp(v.join("|")),t=J.test(m.compareDocumentPosition),y=t||J.test(m.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,i=t&&t.parentNode;return e===i||!(!i||1!==i.nodeType||!(n.contains?n.contains(i):e.compareDocumentPosition&&16&e.compareDocumentPosition(i)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},A=t?function(e,t){if(e===t)return d=!0,0;var i=!e.compareDocumentPosition-!t.compareDocumentPosition;return i||(1&(i=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!n.sortDetached&&t.compareDocumentPosition(e)===i?e==p||e.ownerDocument==_&&y(_,e)?-1:t==p||t.ownerDocument==_&&y(_,t)?1:u?R(u,e)-R(u,t):0:4&i?-1:1)}:function(e,t){if(e===t)return d=!0,0;var n,i=0,o=e.parentNode,r=t.parentNode,a=[e],s=[t];if(!o||!r)return e==p?-1:t==p?1:o?-1:r?1:u?R(u,e)-R(u,t):0;if(o===r)return fe(e,t);for(n=e;n=n.parentNode;)a.unshift(n);for(n=t;n=n.parentNode;)s.unshift(n);for(;a[i]===s[i];)i++;return i?fe(a[i],s[i]):a[i]==_?-1:s[i]==_?1:0},p):p},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if(f(e),n.matchesSelector&&h&&!T[t+" "]&&(!v||!v.test(t))&&(!g||!g.test(t)))try{var i=b.call(e,t);if(i||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return i}catch(e){T(t,!0)}return se(t,p,null,[e]).length>0},se.contains=function(e,t){return(e.ownerDocument||e)!=p&&f(e),y(e,t)},se.attr=function(e,t){(e.ownerDocument||e)!=p&&f(e);var o=i.attrHandle[t.toLowerCase()],r=o&&$.call(i.attrHandle,t.toLowerCase())?o(e,t,!h):void 0;return void 0!==r?r:n.attributes||!h?e.getAttribute(t):(r=e.getAttributeNode(t))&&r.specified?r.value:null},se.escape=function(e){return(e+"").replace(ie,oe)},se.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},se.uniqueSort=function(e){var t,i=[],o=0,r=0;if(d=!n.detectDuplicates,u=!n.sortStable&&e.slice(0),e.sort(A),d){for(;t=e[r++];)t===e[r]&&(o=i.push(r));for(;o--;)e.splice(i[o],1)}return u=null,e},o=se.getText=function(e){var t,n="",i=0,r=e.nodeType;if(r){if(1===r||9===r||11===r){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=o(e)}else if(3===r||4===r)return e.nodeValue}else for(;t=e[i++];)n+=o(t);return n},(i=se.selectors={cacheLength:50,createPseudo:ce,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(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===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]||se.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]&&se.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&&W.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(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=k[e+" "];return t||(t=new RegExp("(^|[\\x20\\t\\r\\n\\f])"+e+"("+F+"|$)"))&&k(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(i){var o=se.attr(i,e);return null==o?"!="===t:!t||(o+="","="===t?o===n:"!="===t?o!==n:"^="===t?n&&0===o.indexOf(n):"*="===t?n&&o.indexOf(n)>-1:"$="===t?n&&o.slice(-n.length)===n:"~="===t?(" "+o.replace(z," ")+" ").indexOf(n)>-1:"|="===t&&(o===n||o.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,i,o){var r="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===i&&0===o?function(e){return!!e.parentNode}:function(t,n,l){var c,u,d,f,p,m,h=r!==a?"nextSibling":"previousSibling",g=t.parentNode,v=s&&t.nodeName.toLowerCase(),b=!l&&!s,y=!1;if(g){if(r){for(;h;){for(f=t;f=f[h];)if(s?f.nodeName.toLowerCase()===v:1===f.nodeType)return!1;m=h="only"===e&&!m&&"nextSibling"}return!0}if(m=[a?g.firstChild:g.lastChild],a&&b){for(y=(p=(c=(u=(d=(f=g)[j]||(f[j]={}))[f.uniqueID]||(d[f.uniqueID]={}))[e]||[])[0]===w&&c[1])&&c[2],f=p&&g.childNodes[p];f=++p&&f&&f[h]||(y=p=0)||m.pop();)if(1===f.nodeType&&++y&&f===t){u[e]=[w,p,y];break}}else if(b&&(y=p=(c=(u=(d=(f=t)[j]||(f[j]={}))[f.uniqueID]||(d[f.uniqueID]={}))[e]||[])[0]===w&&c[1]),!1===y)for(;(f=++p&&f&&f[h]||(y=p=0)||m.pop())&&((s?f.nodeName.toLowerCase()!==v:1!==f.nodeType)||!++y||(b&&((u=(d=f[j]||(f[j]={}))[f.uniqueID]||(d[f.uniqueID]={}))[e]=[w,y]),f!==t)););return(y-=o)===i||y%i==0&&y/i>=0}}},PSEUDO:function(e,t){var n,o=i.pseudos[e]||i.setFilters[e.toLowerCase()]||se.error("unsupported pseudo: "+e);return o[j]?o(t):o.length>1?(n=[e,e,"",t],i.setFilters.hasOwnProperty(e.toLowerCase())?ce((function(e,n){for(var i,r=o(e,t),a=r.length;a--;)e[i=R(e,r[a])]=!(n[i]=r[a])})):function(e){return o(e,0,n)}):o}},pseudos:{not:ce((function(e){var t=[],n=[],i=s(e.replace(H,"$1"));return i[j]?ce((function(e,t,n,o){for(var r,a=i(e,null,o,[]),s=e.length;s--;)(r=a[s])&&(e[s]=!(t[s]=r))})):function(e,o,r){return t[0]=e,i(t,null,r,n),t[0]=null,!n.pop()}})),has:ce((function(e){return function(t){return se(e,t).length>0}})),contains:ce((function(e){return e=e.replace(te,ne),function(t){return(t.textContent||o(t)).indexOf(e)>-1}})),lang:ce((function(e){return Q.test(e||"")||se.error("unsupported lang: "+e),e=e.replace(te,ne).toLowerCase(),function(t){var n;do{if(n=h?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===m},focus:function(e){return e===p.activeElement&&(!p.hasFocus||p.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:he(!1),disabled:he(!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!i.pseudos.empty(e)},header:function(e){return K.test(e.nodeName)},input:function(e){return Y.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:ge((function(){return[0]})),last:ge((function(e,t){return[t-1]})),eq:ge((function(e,t,n){return[n<0?n+t:n]})),even:ge((function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e})),odd:ge((function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e})),lt:ge((function(e,t,n){for(var i=n<0?n+t:n>t?t:n;--i>=0;)e.push(i);return e})),gt:ge((function(e,t,n){for(var i=n<0?n+t:n;++i<t;)e.push(i);return e}))}}).pseudos.nth=i.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})i.pseudos[t]=pe(t);for(t in{submit:!0,reset:!0})i.pseudos[t]=me(t);function be(){}function ye(e){for(var t=0,n=e.length,i="";t<n;t++)i+=e[t].value;return i}function je(e,t,n){var i=t.dir,o=t.next,r=o||i,a=n&&"parentNode"===r,s=x++;return t.first?function(t,n,o){for(;t=t[i];)if(1===t.nodeType||a)return e(t,n,o);return!1}:function(t,n,l){var c,u,d,f=[w,s];if(l){for(;t=t[i];)if((1===t.nodeType||a)&&e(t,n,l))return!0}else for(;t=t[i];)if(1===t.nodeType||a)if(u=(d=t[j]||(t[j]={}))[t.uniqueID]||(d[t.uniqueID]={}),o&&o===t.nodeName.toLowerCase())t=t[i]||t;else{if((c=u[r])&&c[0]===w&&c[1]===s)return f[2]=c[2];if(u[r]=f,f[2]=e(t,n,l))return!0}return!1}}function _e(e){return e.length>1?function(t,n,i){for(var o=e.length;o--;)if(!e[o](t,n,i))return!1;return!0}:e[0]}function we(e,t,n,i,o){for(var r,a=[],s=0,l=e.length,c=null!=t;s<l;s++)(r=e[s])&&(n&&!n(r,i,o)||(a.push(r),c&&t.push(s)));return a}function xe(e,t,n,i,o,r){return i&&!i[j]&&(i=xe(i)),o&&!o[j]&&(o=xe(o,r)),ce((function(r,a,s,l){var c,u,d,f=[],p=[],m=a.length,h=r||function(e,t,n){for(var i=0,o=t.length;i<o;i++)se(e,t[i],n);return n}(t||"*",s.nodeType?[s]:s,[]),g=!e||!r&&t?h:we(h,f,e,s,l),v=n?o||(r?e:m||i)?[]:a:g;if(n&&n(g,v,s,l),i)for(c=we(v,p),i(c,[],s,l),u=c.length;u--;)(d=c[u])&&(v[p[u]]=!(g[p[u]]=d));if(r){if(o||e){if(o){for(c=[],u=v.length;u--;)(d=v[u])&&c.push(g[u]=d);o(null,v=[],c,l)}for(u=v.length;u--;)(d=v[u])&&(c=o?R(r,d):f[u])>-1&&(r[c]=!(a[c]=d))}}else v=we(v===a?v.splice(m,v.length):v),o?o(null,a,v,l):L.apply(a,v)}))}function ke(e){for(var t,n,o,r=e.length,a=i.relative[e[0].type],s=a||i.relative[" "],l=a?1:0,u=je((function(e){return e===t}),s,!0),d=je((function(e){return R(t,e)>-1}),s,!0),f=[function(e,n,i){var o=!a&&(i||n!==c)||((t=n).nodeType?u(e,n,i):d(e,n,i));return t=null,o}];l<r;l++)if(n=i.relative[e[l].type])f=[je(_e(f),n)];else{if((n=i.filter[e[l].type].apply(null,e[l].matches))[j]){for(o=++l;o<r&&!i.relative[e[o].type];o++);return xe(l>1&&_e(f),l>1&&ye(e.slice(0,l-1).concat({value:" "===e[l-2].type?"*":""})).replace(H,"$1"),n,l<o&&ke(e.slice(l,o)),o<r&&ke(e=e.slice(o)),o<r&&ye(e))}f.push(n)}return _e(f)}return be.prototype=i.filters=i.pseudos,i.setFilters=new be,a=se.tokenize=function(e,t){var n,o,r,a,s,l,c,u=C[e+" "];if(u)return t?0:u.slice(0);for(s=e,l=[],c=i.preFilter;s;){for(a in n&&!(o=U.exec(s))||(o&&(s=s.slice(o[0].length)||s),l.push(r=[])),n=!1,(o=B.exec(s))&&(n=o.shift(),r.push({value:n,type:o[0].replace(H," ")}),s=s.slice(n.length)),i.filter)!(o=G[a].exec(s))||c[a]&&!(o=c[a](o))||(n=o.shift(),r.push({value:n,type:a,matches:o}),s=s.slice(n.length));if(!n)break}return t?s.length:s?se.error(e):C(e,l).slice(0)},s=se.compile=function(e,t){var n,o=[],r=[],s=S[e+" "];if(!s){for(t||(t=a(e)),n=t.length;n--;)(s=ke(t[n]))[j]?o.push(s):r.push(s);(s=S(e,function(e,t){var n=t.length>0,o=e.length>0,r=function(r,a,s,l,u){var d,m,g,v=0,b="0",y=r&&[],j=[],_=c,x=r||o&&i.find.TAG("*",u),k=w+=null==_?1:Math.random()||.1,C=x.length;for(u&&(c=a==p||a||u);b!==C&&null!=(d=x[b]);b++){if(o&&d){for(m=0,a||d.ownerDocument==p||(f(d),s=!h);g=e[m++];)if(g(d,a||p,s)){l.push(d);break}u&&(w=k)}n&&((d=!g&&d)&&v--,r&&y.push(d))}if(v+=b,n&&b!==v){for(m=0;g=t[m++];)g(y,j,a,s);if(r){if(v>0)for(;b--;)y[b]||j[b]||(j[b]=O.call(l));j=we(j)}L.apply(l,j),u&&!r&&j.length>0&&v+t.length>1&&se.uniqueSort(l)}return u&&(w=k,c=_),y};return n?ce(r):r}(r,o))).selector=e}return s},l=se.select=function(e,t,n,o){var r,l,c,u,d,f="function"==typeof e&&e,p=!o&&a(e=f.selector||e);if(n=n||[],1===p.length){if((l=p[0]=p[0].slice(0)).length>2&&"ID"===(c=l[0]).type&&9===t.nodeType&&h&&i.relative[l[1].type]){if(!(t=(i.find.ID(c.matches[0].replace(te,ne),t)||[])[0]))return n;f&&(t=t.parentNode),e=e.slice(l.shift().value.length)}for(r=G.needsContext.test(e)?0:l.length;r--&&(c=l[r],!i.relative[u=c.type]);)if((d=i.find[u])&&(o=d(c.matches[0].replace(te,ne),ee.test(l[0].type)&&ve(t.parentNode)||t))){if(l.splice(r,1),!(e=o.length&&ye(l)))return L.apply(n,o),n;break}}return(f||s(e,p))(o,t,!h,n,!t||ee.test(e)&&ve(t.parentNode)||t),n},n.sortStable=j.split("").sort(A).join("")===j,n.detectDuplicates=!!d,f(),n.sortDetached=ue((function(e){return 1&e.compareDocumentPosition(p.createElement("fieldset"))})),ue((function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")}))||de("type|href|height|width",(function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)})),n.attributes&&ue((function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")}))||de("value",(function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue})),ue((function(e){return null==e.getAttribute("disabled")}))||de(P,(function(e,t,n){var i;if(!n)return!0===e[t]?t.toLowerCase():(i=e.getAttributeNode(t))&&i.specified?i.value:null})),se}(i);k.find=S,k.expr=S.selectors,k.expr[":"]=k.expr.pseudos,k.uniqueSort=k.unique=S.uniqueSort,k.text=S.getText,k.isXMLDoc=S.isXML,k.contains=S.contains,k.escapeSelector=S.escape;var T=function(e,t,n){for(var i=[],o=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(o&&k(e).is(n))break;i.push(e)}return i},A=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},$=k.expr.match.needsContext;function E(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 D(e,t,n){return v(t)?k.grep(e,(function(e,i){return!!t.call(e,i,e)!==n})):t.nodeType?k.grep(e,(function(e){return e===t!==n})):"string"!=typeof t?k.grep(e,(function(e){return u.call(t,e)>-1!==n})):k.filter(t,e,n)}k.filter=function(e,t,n){var i=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===i.nodeType?k.find.matchesSelector(i,e)?[i]:[]:k.find.matches(e,k.grep(t,(function(e){return 1===e.nodeType})))},k.fn.extend({find:function(e){var t,n,i=this.length,o=this;if("string"!=typeof e)return this.pushStack(k(e).filter((function(){for(t=0;t<i;t++)if(k.contains(o[t],this))return!0})));for(n=this.pushStack([]),t=0;t<i;t++)k.find(e,o[t],n);return i>1?k.uniqueSort(n):n},filter:function(e){return this.pushStack(D(this,e||[],!1))},not:function(e){return this.pushStack(D(this,e||[],!0))},is:function(e){return!!D(this,"string"==typeof e&&$.test(e)?k(e):e||[],!1).length}});var L,I=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(k.fn.init=function(e,t,n){var i,o;if(!e)return this;if(n=n||L,"string"==typeof e){if(!(i="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:I.exec(e))||!i[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(i[1]){if(t=t instanceof k?t[0]:t,k.merge(this,k.parseHTML(i[1],t&&t.nodeType?t.ownerDocument||t:y,!0)),O.test(i[1])&&k.isPlainObject(t))for(i in t)v(this[i])?this[i](t[i]):this.attr(i,t[i]);return this}return(o=y.getElementById(i[2]))&&(this[0]=o,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):v(e)?void 0!==n.ready?n.ready(e):e(k):k.makeArray(e,this)}).prototype=k.fn,L=k(y);var R=/^(?:parents|prev(?:Until|All))/,P={children:!0,contents:!0,next:!0,prev:!0};function F(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}k.fn.extend({has:function(e){var t=k(e,this),n=t.length;return this.filter((function(){for(var e=0;e<n;e++)if(k.contains(this,t[e]))return!0}))},closest:function(e,t){var n,i=0,o=this.length,r=[],a="string"!=typeof e&&k(e);if(!$.test(e))for(;i<o;i++)for(n=this[i];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&k.find.matchesSelector(n,e))){r.push(n);break}return this.pushStack(r.length>1?k.uniqueSort(r):r)},index:function(e){return e?"string"==typeof e?u.call(k(e),this[0]):u.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(k.uniqueSort(k.merge(this.get(),k(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),k.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return T(e,"parentNode")},parentsUntil:function(e,t,n){return T(e,"parentNode",n)},next:function(e){return F(e,"nextSibling")},prev:function(e){return F(e,"previousSibling")},nextAll:function(e){return T(e,"nextSibling")},prevAll:function(e){return T(e,"previousSibling")},nextUntil:function(e,t,n){return T(e,"nextSibling",n)},prevUntil:function(e,t,n){return T(e,"previousSibling",n)},siblings:function(e){return A((e.parentNode||{}).firstChild,e)},children:function(e){return A(e.firstChild)},contents:function(e){return null!=e.contentDocument&&a(e.contentDocument)?e.contentDocument:(E(e,"template")&&(e=e.content||e),k.merge([],e.childNodes))}},(function(e,t){k.fn[e]=function(n,i){var o=k.map(this,t,n);return"Until"!==e.slice(-5)&&(i=n),i&&"string"==typeof i&&(o=k.filter(i,o)),this.length>1&&(P[e]||k.uniqueSort(o),R.test(e)&&o.reverse()),this.pushStack(o)}}));var N=/[^\x20\t\r\n\f]+/g;function M(e){return e}function q(e){throw e}function z(e,t,n,i){var o;try{e&&v(o=e.promise)?o.call(e).done(t).fail(n):e&&v(o=e.then)?o.call(e,t,n):t.apply(void 0,[e].slice(i))}catch(e){n.apply(void 0,[e])}}k.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return k.each(e.match(N)||[],(function(e,n){t[n]=!0})),t}(e):k.extend({},e);var t,n,i,o,r=[],a=[],s=-1,l=function(){for(o=o||e.once,i=t=!0;a.length;s=-1)for(n=a.shift();++s<r.length;)!1===r[s].apply(n[0],n[1])&&e.stopOnFalse&&(s=r.length,n=!1);e.memory||(n=!1),t=!1,o&&(r=n?[]:"")},c={add:function(){return r&&(n&&!t&&(s=r.length-1,a.push(n)),function t(n){k.each(n,(function(n,i){v(i)?e.unique&&c.has(i)||r.push(i):i&&i.length&&"string"!==w(i)&&t(i)}))}(arguments),n&&!t&&l()),this},remove:function(){return k.each(arguments,(function(e,t){for(var n;(n=k.inArray(t,r,n))>-1;)r.splice(n,1),n<=s&&s--})),this},has:function(e){return e?k.inArray(e,r)>-1:r.length>0},empty:function(){return r&&(r=[]),this},disable:function(){return o=a=[],r=n="",this},disabled:function(){return!r},lock:function(){return o=a=[],n||t||(r=n=""),this},locked:function(){return!!o},fireWith:function(e,n){return o||(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!!i}};return c},k.extend({Deferred:function(e){var t=[["notify","progress",k.Callbacks("memory"),k.Callbacks("memory"),2],["resolve","done",k.Callbacks("once memory"),k.Callbacks("once memory"),0,"resolved"],["reject","fail",k.Callbacks("once memory"),k.Callbacks("once memory"),1,"rejected"]],n="pending",o={state:function(){return n},always:function(){return r.done(arguments).fail(arguments),this},catch:function(e){return o.then(null,e)},pipe:function(){var e=arguments;return k.Deferred((function(n){k.each(t,(function(t,i){var o=v(e[i[4]])&&e[i[4]];r[i[1]]((function(){var e=o&&o.apply(this,arguments);e&&v(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[i[0]+"With"](this,o?[e]:arguments)}))})),e=null})).promise()},then:function(e,n,o){var r=0;function a(e,t,n,o){return function(){var s=this,l=arguments,c=function(){var i,c;if(!(e<r)){if((i=n.apply(s,l))===t.promise())throw new TypeError("Thenable self-resolution");c=i&&("object"==typeof i||"function"==typeof i)&&i.then,v(c)?o?c.call(i,a(r,t,M,o),a(r,t,q,o)):(r++,c.call(i,a(r,t,M,o),a(r,t,q,o),a(r,t,M,t.notifyWith))):(n!==M&&(s=void 0,l=[i]),(o||t.resolveWith)(s,l))}},u=o?c:function(){try{c()}catch(i){k.Deferred.exceptionHook&&k.Deferred.exceptionHook(i,u.stackTrace),e+1>=r&&(n!==q&&(s=void 0,l=[i]),t.rejectWith(s,l))}};e?u():(k.Deferred.getStackHook&&(u.stackTrace=k.Deferred.getStackHook()),i.setTimeout(u))}}return k.Deferred((function(i){t[0][3].add(a(0,i,v(o)?o:M,i.notifyWith)),t[1][3].add(a(0,i,v(e)?e:M)),t[2][3].add(a(0,i,v(n)?n:q))})).promise()},promise:function(e){return null!=e?k.extend(e,o):o}},r={};return k.each(t,(function(e,i){var a=i[2],s=i[5];o[i[1]]=a.add,s&&a.add((function(){n=s}),t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock),a.add(i[3].fire),r[i[0]]=function(){return r[i[0]+"With"](this===r?void 0:this,arguments),this},r[i[0]+"With"]=a.fireWith})),o.promise(r),e&&e.call(r,r),r},when:function(e){var t=arguments.length,n=t,i=Array(n),o=s.call(arguments),r=k.Deferred(),a=function(e){return function(n){i[e]=this,o[e]=arguments.length>1?s.call(arguments):n,--t||r.resolveWith(i,o)}};if(t<=1&&(z(e,r.done(a(n)).resolve,r.reject,!t),"pending"===r.state()||v(o[n]&&o[n].then)))return r.then();for(;n--;)z(o[n],a(n),r.reject);return r.promise()}});var H=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;k.Deferred.exceptionHook=function(e,t){i.console&&i.console.warn&&e&&H.test(e.name)&&i.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},k.readyException=function(e){i.setTimeout((function(){throw e}))};var U=k.Deferred();function B(){y.removeEventListener("DOMContentLoaded",B),i.removeEventListener("load",B),k.ready()}k.fn.ready=function(e){return U.then(e).catch((function(e){k.readyException(e)})),this},k.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--k.readyWait:k.isReady)||(k.isReady=!0,!0!==e&&--k.readyWait>0||U.resolveWith(y,[k]))}}),k.ready.then=U.then,"complete"===y.readyState||"loading"!==y.readyState&&!y.documentElement.doScroll?i.setTimeout(k.ready):(y.addEventListener("DOMContentLoaded",B),i.addEventListener("load",B));var V=function(e,t,n,i,o,r,a){var s=0,l=e.length,c=null==n;if("object"===w(n))for(s in o=!0,n)V(e,t,s,n[s],!0,r,a);else if(void 0!==i&&(o=!0,v(i)||(a=!0),c&&(a?(t.call(e,i),t=null):(c=t,t=function(e,t,n){return c.call(k(e),n)})),t))for(;s<l;s++)t(e[s],n,a?i:i.call(e[s],s,t(e[s],n)));return o?e:c?t.call(e):l?t(e[0],n):r},W=/^-ms-/,Q=/-([a-z])/g;function G(e,t){return t.toUpperCase()}function X(e){return e.replace(W,"ms-").replace(Q,G)}var Y=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function K(){this.expando=k.expando+K.uid++}K.uid=1,K.prototype={cache:function(e){var t=e[this.expando];return t||(t={},Y(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var i,o=this.cache(e);if("string"==typeof t)o[X(t)]=n;else for(i in t)o[X(i)]=t[i];return o},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][X(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,i=e[this.expando];if(void 0!==i){if(void 0!==t){n=(t=Array.isArray(t)?t.map(X):(t=X(t))in i?[t]:t.match(N)||[]).length;for(;n--;)delete i[t[n]]}(void 0===t||k.isEmptyObject(i))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!k.isEmptyObject(t)}};var J=new K,Z=new K,ee=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,te=/[A-Z]/g;function ne(e,t,n){var i;if(void 0===n&&1===e.nodeType)if(i="data-"+t.replace(te,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(i))){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){}Z.set(e,t,n)}else n=void 0;return n}k.extend({hasData:function(e){return Z.hasData(e)||J.hasData(e)},data:function(e,t,n){return Z.access(e,t,n)},removeData:function(e,t){Z.remove(e,t)},_data:function(e,t,n){return J.access(e,t,n)},_removeData:function(e,t){J.remove(e,t)}}),k.fn.extend({data:function(e,t){var n,i,o,r=this[0],a=r&&r.attributes;if(void 0===e){if(this.length&&(o=Z.get(r),1===r.nodeType&&!J.get(r,"hasDataAttrs"))){for(n=a.length;n--;)a[n]&&0===(i=a[n].name).indexOf("data-")&&(i=X(i.slice(5)),ne(r,i,o[i]));J.set(r,"hasDataAttrs",!0)}return o}return"object"==typeof e?this.each((function(){Z.set(this,e)})):V(this,(function(t){var n;if(r&&void 0===t)return void 0!==(n=Z.get(r,e))||void 0!==(n=ne(r,e))?n:void 0;this.each((function(){Z.set(this,e,t)}))}),null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each((function(){Z.remove(this,e)}))}}),k.extend({queue:function(e,t,n){var i;if(e)return t=(t||"fx")+"queue",i=J.get(e,t),n&&(!i||Array.isArray(n)?i=J.access(e,t,k.makeArray(n)):i.push(n)),i||[]},dequeue:function(e,t){t=t||"fx";var n=k.queue(e,t),i=n.length,o=n.shift(),r=k._queueHooks(e,t);"inprogress"===o&&(o=n.shift(),i--),o&&("fx"===t&&n.unshift("inprogress"),delete r.stop,o.call(e,(function(){k.dequeue(e,t)}),r)),!i&&r&&r.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return J.get(e,n)||J.access(e,n,{empty:k.Callbacks("once memory").add((function(){J.remove(e,[t+"queue",n])}))})}}),k.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?k.queue(this[0],e):void 0===t?this:this.each((function(){var n=k.queue(this,e,t);k._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&k.dequeue(this,e)}))},dequeue:function(e){return this.each((function(){k.dequeue(this,e)}))},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,i=1,o=k.Deferred(),r=this,a=this.length,s=function(){--i||o.resolveWith(r,[r])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";a--;)(n=J.get(r[a],e+"queueHooks"))&&n.empty&&(i++,n.empty.add(s));return s(),o.promise(t)}});var ie=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,oe=new RegExp("^(?:([+-])=|)("+ie+")([a-z%]*)$","i"),re=["Top","Right","Bottom","Left"],ae=y.documentElement,se=function(e){return k.contains(e.ownerDocument,e)},le={composed:!0};ae.getRootNode&&(se=function(e){return k.contains(e.ownerDocument,e)||e.getRootNode(le)===e.ownerDocument});var ce=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&se(e)&&"none"===k.css(e,"display")};function ue(e,t,n,i){var o,r,a=20,s=i?function(){return i.cur()}:function(){return k.css(e,t,"")},l=s(),c=n&&n[3]||(k.cssNumber[t]?"":"px"),u=e.nodeType&&(k.cssNumber[t]||"px"!==c&&+l)&&oe.exec(k.css(e,t));if(u&&u[3]!==c){for(l/=2,c=c||u[3],u=+l||1;a--;)k.style(e,t,u+c),(1-r)*(1-(r=s()/l||.5))<=0&&(a=0),u/=r;u*=2,k.style(e,t,u+c),n=n||[]}return n&&(u=+u||+l||0,o=n[1]?u+(n[1]+1)*n[2]:+n[2],i&&(i.unit=c,i.start=u,i.end=o)),o}var de={};function fe(e){var t,n=e.ownerDocument,i=e.nodeName,o=de[i];return o||(t=n.body.appendChild(n.createElement(i)),o=k.css(t,"display"),t.parentNode.removeChild(t),"none"===o&&(o="block"),de[i]=o,o)}function pe(e,t){for(var n,i,o=[],r=0,a=e.length;r<a;r++)(i=e[r]).style&&(n=i.style.display,t?("none"===n&&(o[r]=J.get(i,"display")||null,o[r]||(i.style.display="")),""===i.style.display&&ce(i)&&(o[r]=fe(i))):"none"!==n&&(o[r]="none",J.set(i,"display",n)));for(r=0;r<a;r++)null!=o[r]&&(e[r].style.display=o[r]);return e}k.fn.extend({show:function(){return pe(this,!0)},hide:function(){return pe(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each((function(){ce(this)?k(this).show():k(this).hide()}))}});var me,he,ge=/^(?:checkbox|radio)$/i,ve=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,be=/^$|^module$|\/(?:java|ecma)script/i;me=y.createDocumentFragment().appendChild(y.createElement("div")),(he=y.createElement("input")).setAttribute("type","radio"),he.setAttribute("checked","checked"),he.setAttribute("name","t"),me.appendChild(he),g.checkClone=me.cloneNode(!0).cloneNode(!0).lastChild.checked,me.innerHTML="<textarea>x</textarea>",g.noCloneChecked=!!me.cloneNode(!0).lastChild.defaultValue,me.innerHTML="<option></option>",g.option=!!me.lastChild;var ye={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 je(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&E(e,t)?k.merge([e],n):n}function _e(e,t){for(var n=0,i=e.length;n<i;n++)J.set(e[n],"globalEval",!t||J.get(t[n],"globalEval"))}ye.tbody=ye.tfoot=ye.colgroup=ye.caption=ye.thead,ye.th=ye.td,g.option||(ye.optgroup=ye.option=[1,"<select multiple='multiple'>","</select>"]);var we=/<|&#?\w+;/;function xe(e,t,n,i,o){for(var r,a,s,l,c,u,d=t.createDocumentFragment(),f=[],p=0,m=e.length;p<m;p++)if((r=e[p])||0===r)if("object"===w(r))k.merge(f,r.nodeType?[r]:r);else if(we.test(r)){for(a=a||d.appendChild(t.createElement("div")),s=(ve.exec(r)||["",""])[1].toLowerCase(),l=ye[s]||ye._default,a.innerHTML=l[1]+k.htmlPrefilter(r)+l[2],u=l[0];u--;)a=a.lastChild;k.merge(f,a.childNodes),(a=d.firstChild).textContent=""}else f.push(t.createTextNode(r));for(d.textContent="",p=0;r=f[p++];)if(i&&k.inArray(r,i)>-1)o&&o.push(r);else if(c=se(r),a=je(d.appendChild(r),"script"),c&&_e(a),n)for(u=0;r=a[u++];)be.test(r.type||"")&&n.push(r);return d}var ke=/^key/,Ce=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Se=/^([^.]*)(?:\.(.+)|)/;function Te(){return!0}function Ae(){return!1}function $e(e,t){return e===function(){try{return y.activeElement}catch(e){}}()==("focus"===t)}function Ee(e,t,n,i,o,r){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(i=i||n,n=void 0),t)Ee(e,s,n,i,t[s],r);return e}if(null==i&&null==o?(o=n,i=n=void 0):null==o&&("string"==typeof n?(o=i,i=void 0):(o=i,i=n,n=void 0)),!1===o)o=Ae;else if(!o)return e;return 1===r&&(a=o,(o=function(e){return k().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=k.guid++)),e.each((function(){k.event.add(this,t,o,i,n)}))}function Oe(e,t,n){n?(J.set(e,t,!1),k.event.add(e,t,{namespace:!1,handler:function(e){var i,o,r=J.get(this,t);if(1&e.isTrigger&&this[t]){if(r.length)(k.event.special[t]||{}).delegateType&&e.stopPropagation();else if(r=s.call(arguments),J.set(this,t,r),i=n(this,t),this[t](),r!==(o=J.get(this,t))||i?J.set(this,t,!1):o={},r!==o)return e.stopImmediatePropagation(),e.preventDefault(),o.value}else r.length&&(J.set(this,t,{value:k.event.trigger(k.extend(r[0],k.Event.prototype),r.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===J.get(e,t)&&k.event.add(e,t,Te)}k.event={global:{},add:function(e,t,n,i,o){var r,a,s,l,c,u,d,f,p,m,h,g=J.get(e);if(Y(e))for(n.handler&&(n=(r=n).handler,o=r.selector),o&&k.find.matchesSelector(ae,o),n.guid||(n.guid=k.guid++),(l=g.events)||(l=g.events=Object.create(null)),(a=g.handle)||(a=g.handle=function(t){return void 0!==k&&k.event.triggered!==t.type?k.event.dispatch.apply(e,arguments):void 0}),c=(t=(t||"").match(N)||[""]).length;c--;)p=h=(s=Se.exec(t[c])||[])[1],m=(s[2]||"").split(".").sort(),p&&(d=k.event.special[p]||{},p=(o?d.delegateType:d.bindType)||p,d=k.event.special[p]||{},u=k.extend({type:p,origType:h,data:i,handler:n,guid:n.guid,selector:o,needsContext:o&&k.expr.match.needsContext.test(o),namespace:m.join(".")},r),(f=l[p])||((f=l[p]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(e,i,m,a)||e.addEventListener&&e.addEventListener(p,a)),d.add&&(d.add.call(e,u),u.handler.guid||(u.handler.guid=n.guid)),o?f.splice(f.delegateCount++,0,u):f.push(u),k.event.global[p]=!0)},remove:function(e,t,n,i,o){var r,a,s,l,c,u,d,f,p,m,h,g=J.hasData(e)&&J.get(e);if(g&&(l=g.events)){for(c=(t=(t||"").match(N)||[""]).length;c--;)if(p=h=(s=Se.exec(t[c])||[])[1],m=(s[2]||"").split(".").sort(),p){for(d=k.event.special[p]||{},f=l[p=(i?d.delegateType:d.bindType)||p]||[],s=s[2]&&new RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=r=f.length;r--;)u=f[r],!o&&h!==u.origType||n&&n.guid!==u.guid||s&&!s.test(u.namespace)||i&&i!==u.selector&&("**"!==i||!u.selector)||(f.splice(r,1),u.selector&&f.delegateCount--,d.remove&&d.remove.call(e,u));a&&!f.length&&(d.teardown&&!1!==d.teardown.call(e,m,g.handle)||k.removeEvent(e,p,g.handle),delete l[p])}else for(p in l)k.event.remove(e,p+t[c],n,i,!0);k.isEmptyObject(l)&&J.remove(e,"handle events")}},dispatch:function(e){var t,n,i,o,r,a,s=new Array(arguments.length),l=k.event.fix(e),c=(J.get(this,"events")||Object.create(null))[l.type]||[],u=k.event.special[l.type]||{};for(s[0]=l,t=1;t<arguments.length;t++)s[t]=arguments[t];if(l.delegateTarget=this,!u.preDispatch||!1!==u.preDispatch.call(this,l)){for(a=k.event.handlers.call(this,l,c),t=0;(o=a[t++])&&!l.isPropagationStopped();)for(l.currentTarget=o.elem,n=0;(r=o.handlers[n++])&&!l.isImmediatePropagationStopped();)l.rnamespace&&!1!==r.namespace&&!l.rnamespace.test(r.namespace)||(l.handleObj=r,l.data=r.data,void 0!==(i=((k.event.special[r.origType]||{}).handle||r.handler).apply(o.elem,s))&&!1===(l.result=i)&&(l.preventDefault(),l.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,l),l.result}},handlers:function(e,t){var n,i,o,r,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(r=[],a={},n=0;n<l;n++)void 0===a[o=(i=t[n]).selector+" "]&&(a[o]=i.needsContext?k(o,this).index(c)>-1:k.find(o,this,null,[c]).length),a[o]&&r.push(i);r.length&&s.push({elem:c,handlers:r})}return c=this,l<t.length&&s.push({elem:c,handlers:t.slice(l)}),s},addProp:function(e,t){Object.defineProperty(k.Event.prototype,e,{enumerable:!0,configurable:!0,get:v(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[k.expando]?e:new k.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return ge.test(t.type)&&t.click&&E(t,"input")&&Oe(t,"click",Te),!1},trigger:function(e){var t=this||e;return ge.test(t.type)&&t.click&&E(t,"input")&&Oe(t,"click"),!0},_default:function(e){var t=e.target;return ge.test(t.type)&&t.click&&E(t,"input")&&J.get(t,"click")||E(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},k.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},k.Event=function(e,t){if(!(this instanceof k.Event))return new k.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?Te:Ae,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&&k.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[k.expando]=!0},k.Event.prototype={constructor:k.Event,isDefaultPrevented:Ae,isPropagationStopped:Ae,isImmediatePropagationStopped:Ae,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=Te,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=Te,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=Te,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},k.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(e){var t=e.button;return null==e.which&&ke.test(e.type)?null!=e.charCode?e.charCode:e.keyCode:!e.which&&void 0!==t&&Ce.test(e.type)?1&t?1:2&t?3:4&t?2:0:e.which}},k.event.addProp),k.each({focus:"focusin",blur:"focusout"},(function(e,t){k.event.special[e]={setup:function(){return Oe(this,e,$e),!1},trigger:function(){return Oe(this,e),!0},delegateType:t}})),k.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},(function(e,t){k.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,i=this,o=e.relatedTarget,r=e.handleObj;return o&&(o===i||k.contains(i,o))||(e.type=r.origType,n=r.handler.apply(this,arguments),e.type=t),n}}})),k.fn.extend({on:function(e,t,n,i){return Ee(this,e,t,n,i)},one:function(e,t,n,i){return Ee(this,e,t,n,i,1)},off:function(e,t,n){var i,o;if(e&&e.preventDefault&&e.handleObj)return i=e.handleObj,k(e.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"==typeof e){for(o in e)this.off(o,t,e[o]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=Ae),this.each((function(){k.event.remove(this,e,n,t)}))}});var De=/<script|<style|<link/i,Le=/checked\s*(?:[^=]|=\s*.checked.)/i,Ie=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function Re(e,t){return E(e,"table")&&E(11!==t.nodeType?t:t.firstChild,"tr")&&k(e).children("tbody")[0]||e}function Pe(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Fe(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Ne(e,t){var n,i,o,r,a,s;if(1===t.nodeType){if(J.hasData(e)&&(s=J.get(e).events))for(o in J.remove(t,"handle events"),s)for(n=0,i=s[o].length;n<i;n++)k.event.add(t,o,s[o][n]);Z.hasData(e)&&(r=Z.access(e),a=k.extend({},r),Z.set(t,a))}}function Me(e,t){var n=t.nodeName.toLowerCase();"input"===n&&ge.test(e.type)?t.checked=e.checked:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}function qe(e,t,n,i){t=l(t);var o,r,a,s,c,u,d=0,f=e.length,p=f-1,m=t[0],h=v(m);if(h||f>1&&"string"==typeof m&&!g.checkClone&&Le.test(m))return e.each((function(o){var r=e.eq(o);h&&(t[0]=m.call(this,o,r.html())),qe(r,t,n,i)}));if(f&&(r=(o=xe(t,e[0].ownerDocument,!1,e,i)).firstChild,1===o.childNodes.length&&(o=r),r||i)){for(s=(a=k.map(je(o,"script"),Pe)).length;d<f;d++)c=o,d!==p&&(c=k.clone(c,!0,!0),s&&k.merge(a,je(c,"script"))),n.call(e[d],c,d);if(s)for(u=a[a.length-1].ownerDocument,k.map(a,Fe),d=0;d<s;d++)c=a[d],be.test(c.type||"")&&!J.access(c,"globalEval")&&k.contains(u,c)&&(c.src&&"module"!==(c.type||"").toLowerCase()?k._evalUrl&&!c.noModule&&k._evalUrl(c.src,{nonce:c.nonce||c.getAttribute("nonce")},u):_(c.textContent.replace(Ie,""),c,u))}return e}function ze(e,t,n){for(var i,o=t?k.filter(t,e):e,r=0;null!=(i=o[r]);r++)n||1!==i.nodeType||k.cleanData(je(i)),i.parentNode&&(n&&se(i)&&_e(je(i,"script")),i.parentNode.removeChild(i));return e}k.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var i,o,r,a,s=e.cloneNode(!0),l=se(e);if(!(g.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||k.isXMLDoc(e)))for(a=je(s),i=0,o=(r=je(e)).length;i<o;i++)Me(r[i],a[i]);if(t)if(n)for(r=r||je(e),a=a||je(s),i=0,o=r.length;i<o;i++)Ne(r[i],a[i]);else Ne(e,s);return(a=je(s,"script")).length>0&&_e(a,!l&&je(e,"script")),s},cleanData:function(e){for(var t,n,i,o=k.event.special,r=0;void 0!==(n=e[r]);r++)if(Y(n)){if(t=n[J.expando]){if(t.events)for(i in t.events)o[i]?k.event.remove(n,i):k.removeEvent(n,i,t.handle);n[J.expando]=void 0}n[Z.expando]&&(n[Z.expando]=void 0)}}}),k.fn.extend({detach:function(e){return ze(this,e,!0)},remove:function(e){return ze(this,e)},text:function(e){return V(this,(function(e){return void 0===e?k.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 qe(this,arguments,(function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Re(this,e).appendChild(e)}))},prepend:function(){return qe(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 qe(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this)}))},after:function(){return qe(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&&(k.cleanData(je(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map((function(){return k.clone(this,e,t)}))},html:function(e){return V(this,(function(e){var t=this[0]||{},n=0,i=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!De.test(e)&&!ye[(ve.exec(e)||["",""])[1].toLowerCase()]){e=k.htmlPrefilter(e);try{for(;n<i;n++)1===(t=this[n]||{}).nodeType&&(k.cleanData(je(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)}),null,e,arguments.length)},replaceWith:function(){var e=[];return qe(this,arguments,(function(t){var n=this.parentNode;k.inArray(this,e)<0&&(k.cleanData(je(this)),n&&n.replaceChild(t,this))}),e)}}),k.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},(function(e,t){k.fn[e]=function(e){for(var n,i=[],o=k(e),r=o.length-1,a=0;a<=r;a++)n=a===r?this:this.clone(!0),k(o[a])[t](n),c.apply(i,n.get());return this.pushStack(i)}}));var He=new RegExp("^("+ie+")(?!px)[a-z%]+$","i"),Ue=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=i),t.getComputedStyle(e)},Be=function(e,t,n){var i,o,r={};for(o in t)r[o]=e.style[o],e.style[o]=t[o];for(o in i=n.call(e),t)e.style[o]=r[o];return i},Ve=new RegExp(re.join("|"),"i");function We(e,t,n){var i,o,r,a,s=e.style;return(n=n||Ue(e))&&(""!==(a=n.getPropertyValue(t)||n[t])||se(e)||(a=k.style(e,t)),!g.pixelBoxStyles()&&He.test(a)&&Ve.test(t)&&(i=s.width,o=s.minWidth,r=s.maxWidth,s.minWidth=s.maxWidth=s.width=a,a=n.width,s.width=i,s.minWidth=o,s.maxWidth=r)),void 0!==a?a+"":a}function Qe(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%",ae.appendChild(c).appendChild(u);var e=i.getComputedStyle(u);n="1%"!==e.top,l=12===t(e.marginLeft),u.style.right="60%",a=36===t(e.right),o=36===t(e.width),u.style.position="absolute",r=12===t(u.offsetWidth/3),ae.removeChild(c),u=null}}function t(e){return Math.round(parseFloat(e))}var n,o,r,a,s,l,c=y.createElement("div"),u=y.createElement("div");u.style&&(u.style.backgroundClip="content-box",u.cloneNode(!0).style.backgroundClip="",g.clearCloneStyle="content-box"===u.style.backgroundClip,k.extend(g,{boxSizingReliable:function(){return e(),o},pixelBoxStyles:function(){return e(),a},pixelPosition:function(){return e(),n},reliableMarginLeft:function(){return e(),l},scrollboxSize:function(){return e(),r},reliableTrDimensions:function(){var e,t,n,o;return null==s&&(e=y.createElement("table"),t=y.createElement("tr"),n=y.createElement("div"),e.style.cssText="position:absolute;left:-11111px",t.style.height="1px",n.style.height="9px",ae.appendChild(e).appendChild(t).appendChild(n),o=i.getComputedStyle(t),s=parseInt(o.height)>3,ae.removeChild(e)),s}}))}();var Ge=["Webkit","Moz","ms"],Xe=y.createElement("div").style,Ye={};function Ke(e){var t=k.cssProps[e]||Ye[e];return t||(e in Xe?e:Ye[e]=function(e){for(var t=e[0].toUpperCase()+e.slice(1),n=Ge.length;n--;)if((e=Ge[n]+t)in Xe)return e}(e)||e)}var Je=/^(none|table(?!-c[ea]).+)/,Ze=/^--/,et={position:"absolute",visibility:"hidden",display:"block"},tt={letterSpacing:"0",fontWeight:"400"};function nt(e,t,n){var i=oe.exec(t);return i?Math.max(0,i[2]-(n||0))+(i[3]||"px"):t}function it(e,t,n,i,o,r){var a="width"===t?1:0,s=0,l=0;if(n===(i?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(l+=k.css(e,n+re[a],!0,o)),i?("content"===n&&(l-=k.css(e,"padding"+re[a],!0,o)),"margin"!==n&&(l-=k.css(e,"border"+re[a]+"Width",!0,o))):(l+=k.css(e,"padding"+re[a],!0,o),"padding"!==n?l+=k.css(e,"border"+re[a]+"Width",!0,o):s+=k.css(e,"border"+re[a]+"Width",!0,o));return!i&&r>=0&&(l+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-r-l-s-.5))||0),l}function ot(e,t,n){var i=Ue(e),o=(!g.boxSizingReliable()||n)&&"border-box"===k.css(e,"boxSizing",!1,i),r=o,a=We(e,t,i),s="offset"+t[0].toUpperCase()+t.slice(1);if(He.test(a)){if(!n)return a;a="auto"}return(!g.boxSizingReliable()&&o||!g.reliableTrDimensions()&&E(e,"tr")||"auto"===a||!parseFloat(a)&&"inline"===k.css(e,"display",!1,i))&&e.getClientRects().length&&(o="border-box"===k.css(e,"boxSizing",!1,i),(r=s in e)&&(a=e[s])),(a=parseFloat(a)||0)+it(e,t,n||(o?"border":"content"),r,i,a)+"px"}function rt(e,t,n,i,o){return new rt.prototype.init(e,t,n,i,o)}k.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=We(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,n,i){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var o,r,a,s=X(t),l=Ze.test(t),c=e.style;if(l||(t=Ke(s)),a=k.cssHooks[t]||k.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(o=a.get(e,!1,i))?o:c[t];"string"===(r=typeof n)&&(o=oe.exec(n))&&o[1]&&(n=ue(e,t,o),r="number"),null!=n&&n==n&&("number"!==r||l||(n+=o&&o[3]||(k.cssNumber[s]?"":"px")),g.clearCloneStyle||""!==n||0!==t.indexOf("background")||(c[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,i))||(l?c.setProperty(t,n):c[t]=n))}},css:function(e,t,n,i){var o,r,a,s=X(t);return Ze.test(t)||(t=Ke(s)),(a=k.cssHooks[t]||k.cssHooks[s])&&"get"in a&&(o=a.get(e,!0,n)),void 0===o&&(o=We(e,t,i)),"normal"===o&&t in tt&&(o=tt[t]),""===n||n?(r=parseFloat(o),!0===n||isFinite(r)?r||0:o):o}}),k.each(["height","width"],(function(e,t){k.cssHooks[t]={get:function(e,n,i){if(n)return!Je.test(k.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?ot(e,t,i):Be(e,et,(function(){return ot(e,t,i)}))},set:function(e,n,i){var o,r=Ue(e),a=!g.scrollboxSize()&&"absolute"===r.position,s=(a||i)&&"border-box"===k.css(e,"boxSizing",!1,r),l=i?it(e,t,i,s,r):0;return s&&a&&(l-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(r[t])-it(e,t,"border",!1,r)-.5)),l&&(o=oe.exec(n))&&"px"!==(o[3]||"px")&&(e.style[t]=n,n=k.css(e,t)),nt(0,n,l)}}})),k.cssHooks.marginLeft=Qe(g.reliableMarginLeft,(function(e,t){if(t)return(parseFloat(We(e,"marginLeft"))||e.getBoundingClientRect().left-Be(e,{marginLeft:0},(function(){return e.getBoundingClientRect().left})))+"px"})),k.each({margin:"",padding:"",border:"Width"},(function(e,t){k.cssHooks[e+t]={expand:function(n){for(var i=0,o={},r="string"==typeof n?n.split(" "):[n];i<4;i++)o[e+re[i]+t]=r[i]||r[i-2]||r[0];return o}},"margin"!==e&&(k.cssHooks[e+t].set=nt)})),k.fn.extend({css:function(e,t){return V(this,(function(e,t,n){var i,o,r={},a=0;if(Array.isArray(t)){for(i=Ue(e),o=t.length;a<o;a++)r[t[a]]=k.css(e,t[a],!1,i);return r}return void 0!==n?k.style(e,t,n):k.css(e,t)}),e,t,arguments.length>1)}}),k.Tween=rt,rt.prototype={constructor:rt,init:function(e,t,n,i,o,r){this.elem=e,this.prop=n,this.easing=o||k.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=i,this.unit=r||(k.cssNumber[n]?"":"px")},cur:function(){var e=rt.propHooks[this.prop];return e&&e.get?e.get(this):rt.propHooks._default.get(this)},run:function(e){var t,n=rt.propHooks[this.prop];return this.options.duration?this.pos=t=k.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):rt.propHooks._default.set(this),this}},rt.prototype.init.prototype=rt.prototype,rt.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=k.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){k.fx.step[e.prop]?k.fx.step[e.prop](e):1!==e.elem.nodeType||!k.cssHooks[e.prop]&&null==e.elem.style[Ke(e.prop)]?e.elem[e.prop]=e.now:k.style(e.elem,e.prop,e.now+e.unit)}}},rt.propHooks.scrollTop=rt.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},k.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},k.fx=rt.prototype.init,k.fx.step={};var at,st,lt=/^(?:toggle|show|hide)$/,ct=/queueHooks$/;function ut(){st&&(!1===y.hidden&&i.requestAnimationFrame?i.requestAnimationFrame(ut):i.setTimeout(ut,k.fx.interval),k.fx.tick())}function dt(){return i.setTimeout((function(){at=void 0})),at=Date.now()}function ft(e,t){var n,i=0,o={height:e};for(t=t?1:0;i<4;i+=2-t)o["margin"+(n=re[i])]=o["padding"+n]=e;return t&&(o.opacity=o.width=e),o}function pt(e,t,n){for(var i,o=(mt.tweeners[t]||[]).concat(mt.tweeners["*"]),r=0,a=o.length;r<a;r++)if(i=o[r].call(n,t,e))return i}function mt(e,t,n){var i,o,r=0,a=mt.prefilters.length,s=k.Deferred().always((function(){delete l.elem})),l=function(){if(o)return!1;for(var t=at||dt(),n=Math.max(0,c.startTime+c.duration-t),i=1-(n/c.duration||0),r=0,a=c.tweens.length;r<a;r++)c.tweens[r].run(i);return s.notifyWith(e,[c,i,n]),i<1&&a?n:(a||s.notifyWith(e,[c,1,0]),s.resolveWith(e,[c]),!1)},c=s.promise({elem:e,props:k.extend({},t),opts:k.extend(!0,{specialEasing:{},easing:k.easing._default},n),originalProperties:t,originalOptions:n,startTime:at||dt(),duration:n.duration,tweens:[],createTween:function(t,n){var i=k.Tween(e,c.opts,t,n,c.opts.specialEasing[t]||c.opts.easing);return c.tweens.push(i),i},stop:function(t){var n=0,i=t?c.tweens.length:0;if(o)return this;for(o=!0;n<i;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,i,o,r,a;for(n in e)if(o=t[i=X(n)],r=e[n],Array.isArray(r)&&(o=r[1],r=e[n]=r[0]),n!==i&&(e[i]=r,delete e[n]),(a=k.cssHooks[i])&&"expand"in a)for(n in r=a.expand(r),delete e[i],r)n in e||(e[n]=r[n],t[n]=o);else t[i]=o}(u,c.opts.specialEasing);r<a;r++)if(i=mt.prefilters[r].call(c,e,u,c.opts))return v(i.stop)&&(k._queueHooks(c.elem,c.opts.queue).stop=i.stop.bind(i)),i;return k.map(u,pt,c),v(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),k.fx.timer(k.extend(l,{elem:e,anim:c,queue:c.opts.queue})),c}k.Animation=k.extend(mt,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return ue(n.elem,e,oe.exec(t),n),n}]},tweener:function(e,t){v(e)?(t=e,e=["*"]):e=e.match(N);for(var n,i=0,o=e.length;i<o;i++)n=e[i],mt.tweeners[n]=mt.tweeners[n]||[],mt.tweeners[n].unshift(t)},prefilters:[function(e,t,n){var i,o,r,a,s,l,c,u,d="width"in t||"height"in t,f=this,p={},m=e.style,h=e.nodeType&&ce(e),g=J.get(e,"fxshow");for(i in n.queue||(null==(a=k._queueHooks(e,"fx")).unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,f.always((function(){f.always((function(){a.unqueued--,k.queue(e,"fx").length||a.empty.fire()}))}))),t)if(o=t[i],lt.test(o)){if(delete t[i],r=r||"toggle"===o,o===(h?"hide":"show")){if("show"!==o||!g||void 0===g[i])continue;h=!0}p[i]=g&&g[i]||k.style(e,i)}if((l=!k.isEmptyObject(t))||!k.isEmptyObject(p))for(i in d&&1===e.nodeType&&(n.overflow=[m.overflow,m.overflowX,m.overflowY],null==(c=g&&g.display)&&(c=J.get(e,"display")),"none"===(u=k.css(e,"display"))&&(c?u=c:(pe([e],!0),c=e.style.display||c,u=k.css(e,"display"),pe([e]))),("inline"===u||"inline-block"===u&&null!=c)&&"none"===k.css(e,"float")&&(l||(f.done((function(){m.display=c})),null==c&&(u=m.display,c="none"===u?"":u)),m.display="inline-block")),n.overflow&&(m.overflow="hidden",f.always((function(){m.overflow=n.overflow[0],m.overflowX=n.overflow[1],m.overflowY=n.overflow[2]}))),l=!1,p)l||(g?"hidden"in g&&(h=g.hidden):g=J.access(e,"fxshow",{display:c}),r&&(g.hidden=!h),h&&pe([e],!0),f.done((function(){for(i in h||pe([e]),J.remove(e,"fxshow"),p)k.style(e,i,p[i])}))),l=pt(h?g[i]:0,i,f),i in g||(g[i]=l.start,h&&(l.end=l.start,l.start=0))}],prefilter:function(e,t){t?mt.prefilters.unshift(e):mt.prefilters.push(e)}}),k.speed=function(e,t,n){var i=e&&"object"==typeof e?k.extend({},e):{complete:n||!n&&t||v(e)&&e,duration:e,easing:n&&t||t&&!v(t)&&t};return k.fx.off?i.duration=0:"number"!=typeof i.duration&&(i.duration in k.fx.speeds?i.duration=k.fx.speeds[i.duration]:i.duration=k.fx.speeds._default),null!=i.queue&&!0!==i.queue||(i.queue="fx"),i.old=i.complete,i.complete=function(){v(i.old)&&i.old.call(this),i.queue&&k.dequeue(this,i.queue)},i},k.fn.extend({fadeTo:function(e,t,n,i){return this.filter(ce).css("opacity",0).show().end().animate({opacity:t},e,n,i)},animate:function(e,t,n,i){var o=k.isEmptyObject(e),r=k.speed(t,n,i),a=function(){var t=mt(this,k.extend({},e),r);(o||J.get(this,"finish"))&&t.stop(!0)};return a.finish=a,o||!1===r.queue?this.each(a):this.queue(r.queue,a)},stop:function(e,t,n){var i=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&this.queue(e||"fx",[]),this.each((function(){var t=!0,o=null!=e&&e+"queueHooks",r=k.timers,a=J.get(this);if(o)a[o]&&a[o].stop&&i(a[o]);else for(o in a)a[o]&&a[o].stop&&ct.test(o)&&i(a[o]);for(o=r.length;o--;)r[o].elem!==this||null!=e&&r[o].queue!==e||(r[o].anim.stop(n),t=!1,r.splice(o,1));!t&&n||k.dequeue(this,e)}))},finish:function(e){return!1!==e&&(e=e||"fx"),this.each((function(){var t,n=J.get(this),i=n[e+"queue"],o=n[e+"queueHooks"],r=k.timers,a=i?i.length:0;for(n.finish=!0,k.queue(this,e,[]),o&&o.stop&&o.stop.call(this,!0),t=r.length;t--;)r[t].elem===this&&r[t].queue===e&&(r[t].anim.stop(!0),r.splice(t,1));for(t=0;t<a;t++)i[t]&&i[t].finish&&i[t].finish.call(this);delete n.finish}))}}),k.each(["toggle","show","hide"],(function(e,t){var n=k.fn[t];k.fn[t]=function(e,i,o){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(ft(t,!0),e,i,o)}})),k.each({slideDown:ft("show"),slideUp:ft("hide"),slideToggle:ft("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},(function(e,t){k.fn[e]=function(e,n,i){return this.animate(t,e,n,i)}})),k.timers=[],k.fx.tick=function(){var e,t=0,n=k.timers;for(at=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||k.fx.stop(),at=void 0},k.fx.timer=function(e){k.timers.push(e),k.fx.start()},k.fx.interval=13,k.fx.start=function(){st||(st=!0,ut())},k.fx.stop=function(){st=null},k.fx.speeds={slow:600,fast:200,_default:400},k.fn.delay=function(e,t){return e=k.fx&&k.fx.speeds[e]||e,t=t||"fx",this.queue(t,(function(t,n){var o=i.setTimeout(t,e);n.stop=function(){i.clearTimeout(o)}}))},function(){var e=y.createElement("input"),t=y.createElement("select").appendChild(y.createElement("option"));e.type="checkbox",g.checkOn=""!==e.value,g.optSelected=t.selected,(e=y.createElement("input")).value="t",e.type="radio",g.radioValue="t"===e.value}();var ht,gt=k.expr.attrHandle;k.fn.extend({attr:function(e,t){return V(this,k.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each((function(){k.removeAttr(this,e)}))}}),k.extend({attr:function(e,t,n){var i,o,r=e.nodeType;if(3!==r&&8!==r&&2!==r)return void 0===e.getAttribute?k.prop(e,t,n):(1===r&&k.isXMLDoc(e)||(o=k.attrHooks[t.toLowerCase()]||(k.expr.match.bool.test(t)?ht:void 0)),void 0!==n?null===n?void k.removeAttr(e,t):o&&"set"in o&&void 0!==(i=o.set(e,n,t))?i:(e.setAttribute(t,n+""),n):o&&"get"in o&&null!==(i=o.get(e,t))?i:null==(i=k.find.attr(e,t))?void 0:i)},attrHooks:{type:{set:function(e,t){if(!g.radioValue&&"radio"===t&&E(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,i=0,o=t&&t.match(N);if(o&&1===e.nodeType)for(;n=o[i++];)e.removeAttribute(n)}}),ht={set:function(e,t,n){return!1===t?k.removeAttr(e,n):e.setAttribute(n,n),n}},k.each(k.expr.match.bool.source.match(/\w+/g),(function(e,t){var n=gt[t]||k.find.attr;gt[t]=function(e,t,i){var o,r,a=t.toLowerCase();return i||(r=gt[a],gt[a]=o,o=null!=n(e,t,i)?a:null,gt[a]=r),o}}));var vt=/^(?:input|select|textarea|button)$/i,bt=/^(?:a|area)$/i;function yt(e){return(e.match(N)||[]).join(" ")}function jt(e){return e.getAttribute&&e.getAttribute("class")||""}function _t(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(N)||[]}k.fn.extend({prop:function(e,t){return V(this,k.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each((function(){delete this[k.propFix[e]||e]}))}}),k.extend({prop:function(e,t,n){var i,o,r=e.nodeType;if(3!==r&&8!==r&&2!==r)return 1===r&&k.isXMLDoc(e)||(t=k.propFix[t]||t,o=k.propHooks[t]),void 0!==n?o&&"set"in o&&void 0!==(i=o.set(e,n,t))?i:e[t]=n:o&&"get"in o&&null!==(i=o.get(e,t))?i:e[t]},propHooks:{tabIndex:{get:function(e){var t=k.find.attr(e,"tabindex");return t?parseInt(t,10):vt.test(e.nodeName)||bt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),g.optSelected||(k.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)}}),k.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){k.propFix[this.toLowerCase()]=this})),k.fn.extend({addClass:function(e){var t,n,i,o,r,a,s,l=0;if(v(e))return this.each((function(t){k(this).addClass(e.call(this,t,jt(this)))}));if((t=_t(e)).length)for(;n=this[l++];)if(o=jt(n),i=1===n.nodeType&&" "+yt(o)+" "){for(a=0;r=t[a++];)i.indexOf(" "+r+" ")<0&&(i+=r+" ");o!==(s=yt(i))&&n.setAttribute("class",s)}return this},removeClass:function(e){var t,n,i,o,r,a,s,l=0;if(v(e))return this.each((function(t){k(this).removeClass(e.call(this,t,jt(this)))}));if(!arguments.length)return this.attr("class","");if((t=_t(e)).length)for(;n=this[l++];)if(o=jt(n),i=1===n.nodeType&&" "+yt(o)+" "){for(a=0;r=t[a++];)for(;i.indexOf(" "+r+" ")>-1;)i=i.replace(" "+r+" "," ");o!==(s=yt(i))&&n.setAttribute("class",s)}return this},toggleClass:function(e,t){var n=typeof e,i="string"===n||Array.isArray(e);return"boolean"==typeof t&&i?t?this.addClass(e):this.removeClass(e):v(e)?this.each((function(n){k(this).toggleClass(e.call(this,n,jt(this),t),t)})):this.each((function(){var t,o,r,a;if(i)for(o=0,r=k(this),a=_t(e);t=a[o++];)r.hasClass(t)?r.removeClass(t):r.addClass(t);else void 0!==e&&"boolean"!==n||((t=jt(this))&&J.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":J.get(this,"__className__")||""))}))},hasClass:function(e){var t,n,i=0;for(t=" "+e+" ";n=this[i++];)if(1===n.nodeType&&(" "+yt(jt(n))+" ").indexOf(t)>-1)return!0;return!1}});var wt=/\r/g;k.fn.extend({val:function(e){var t,n,i,o=this[0];return arguments.length?(i=v(e),this.each((function(n){var o;1===this.nodeType&&(null==(o=i?e.call(this,n,k(this).val()):e)?o="":"number"==typeof o?o+="":Array.isArray(o)&&(o=k.map(o,(function(e){return null==e?"":e+""}))),(t=k.valHooks[this.type]||k.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,o,"value")||(this.value=o))}))):o?(t=k.valHooks[o.type]||k.valHooks[o.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(o,"value"))?n:"string"==typeof(n=o.value)?n.replace(wt,""):null==n?"":n:void 0}}),k.extend({valHooks:{option:{get:function(e){var t=k.find.attr(e,"value");return null!=t?t:yt(k.text(e))}},select:{get:function(e){var t,n,i,o=e.options,r=e.selectedIndex,a="select-one"===e.type,s=a?null:[],l=a?r+1:o.length;for(i=r<0?l:a?r:0;i<l;i++)if(((n=o[i]).selected||i===r)&&!n.disabled&&(!n.parentNode.disabled||!E(n.parentNode,"optgroup"))){if(t=k(n).val(),a)return t;s.push(t)}return s},set:function(e,t){for(var n,i,o=e.options,r=k.makeArray(t),a=o.length;a--;)((i=o[a]).selected=k.inArray(k.valHooks.option.get(i),r)>-1)&&(n=!0);return n||(e.selectedIndex=-1),r}}}}),k.each(["radio","checkbox"],(function(){k.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=k.inArray(k(e).val(),t)>-1}},g.checkOn||(k.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})})),g.focusin="onfocusin"in i;var xt=/^(?:focusinfocus|focusoutblur)$/,kt=function(e){e.stopPropagation()};k.extend(k.event,{trigger:function(e,t,n,o){var r,a,s,l,c,u,d,f,m=[n||y],h=p.call(e,"type")?e.type:e,g=p.call(e,"namespace")?e.namespace.split("."):[];if(a=f=s=n=n||y,3!==n.nodeType&&8!==n.nodeType&&!xt.test(h+k.event.triggered)&&(h.indexOf(".")>-1&&(g=h.split("."),h=g.shift(),g.sort()),c=h.indexOf(":")<0&&"on"+h,(e=e[k.expando]?e:new k.Event(h,"object"==typeof e&&e)).isTrigger=o?2:3,e.namespace=g.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+g.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:k.makeArray(t,[e]),d=k.event.special[h]||{},o||!d.trigger||!1!==d.trigger.apply(n,t))){if(!o&&!d.noBubble&&!b(n)){for(l=d.delegateType||h,xt.test(l+h)||(a=a.parentNode);a;a=a.parentNode)m.push(a),s=a;s===(n.ownerDocument||y)&&m.push(s.defaultView||s.parentWindow||i)}for(r=0;(a=m[r++])&&!e.isPropagationStopped();)f=a,e.type=r>1?l:d.bindType||h,(u=(J.get(a,"events")||Object.create(null))[e.type]&&J.get(a,"handle"))&&u.apply(a,t),(u=c&&a[c])&&u.apply&&Y(a)&&(e.result=u.apply(a,t),!1===e.result&&e.preventDefault());return e.type=h,o||e.isDefaultPrevented()||d._default&&!1!==d._default.apply(m.pop(),t)||!Y(n)||c&&v(n[h])&&!b(n)&&((s=n[c])&&(n[c]=null),k.event.triggered=h,e.isPropagationStopped()&&f.addEventListener(h,kt),n[h](),e.isPropagationStopped()&&f.removeEventListener(h,kt),k.event.triggered=void 0,s&&(n[c]=s)),e.result}},simulate:function(e,t,n){var i=k.extend(new k.Event,n,{type:e,isSimulated:!0});k.event.trigger(i,null,t)}}),k.fn.extend({trigger:function(e,t){return this.each((function(){k.event.trigger(e,t,this)}))},triggerHandler:function(e,t){var n=this[0];if(n)return k.event.trigger(e,t,n,!0)}}),g.focusin||k.each({focus:"focusin",blur:"focusout"},(function(e,t){var n=function(e){k.event.simulate(t,e.target,k.event.fix(e))};k.event.special[t]={setup:function(){var i=this.ownerDocument||this.document||this,o=J.access(i,t);o||i.addEventListener(e,n,!0),J.access(i,t,(o||0)+1)},teardown:function(){var i=this.ownerDocument||this.document||this,o=J.access(i,t)-1;o?J.access(i,t,o):(i.removeEventListener(e,n,!0),J.remove(i,t))}}}));var Ct=i.location,St={guid:Date.now()},Tt=/\?/;k.parseXML=function(e){var t;if(!e||"string"!=typeof e)return null;try{t=(new i.DOMParser).parseFromString(e,"text/xml")}catch(e){t=void 0}return t&&!t.getElementsByTagName("parsererror").length||k.error("Invalid XML: "+e),t};var At=/\[\]$/,$t=/\r?\n/g,Et=/^(?:submit|button|image|reset|file)$/i,Ot=/^(?:input|select|textarea|keygen)/i;function Dt(e,t,n,i){var o;if(Array.isArray(t))k.each(t,(function(t,o){n||At.test(e)?i(e,o):Dt(e+"["+("object"==typeof o&&null!=o?t:"")+"]",o,n,i)}));else if(n||"object"!==w(t))i(e,t);else for(o in t)Dt(e+"["+o+"]",t[o],n,i)}k.param=function(e,t){var n,i=[],o=function(e,t){var n=v(t)?t():t;i[i.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!k.isPlainObject(e))k.each(e,(function(){o(this.name,this.value)}));else for(n in e)Dt(n,e[n],t,o);return i.join("&")},k.fn.extend({serialize:function(){return k.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var e=k.prop(this,"elements");return e?k.makeArray(e):this})).filter((function(){var e=this.type;return this.name&&!k(this).is(":disabled")&&Ot.test(this.nodeName)&&!Et.test(e)&&(this.checked||!ge.test(e))})).map((function(e,t){var n=k(this).val();return null==n?null:Array.isArray(n)?k.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 Lt=/%20/g,It=/#.*$/,Rt=/([?&])_=[^&]*/,Pt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Ft=/^(?:GET|HEAD)$/,Nt=/^\/\//,Mt={},qt={},zt="*/".concat("*"),Ht=y.createElement("a");function Ut(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var i,o=0,r=t.toLowerCase().match(N)||[];if(v(n))for(;i=r[o++];)"+"===i[0]?(i=i.slice(1)||"*",(e[i]=e[i]||[]).unshift(n)):(e[i]=e[i]||[]).push(n)}}function Bt(e,t,n,i){var o={},r=e===qt;function a(s){var l;return o[s]=!0,k.each(e[s]||[],(function(e,s){var c=s(t,n,i);return"string"!=typeof c||r||o[c]?r?!(l=c):void 0:(t.dataTypes.unshift(c),a(c),!1)})),l}return a(t.dataTypes[0])||!o["*"]&&a("*")}function Vt(e,t){var n,i,o=k.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((o[n]?e:i||(i={}))[n]=t[n]);return i&&k.extend(!0,e,i),e}Ht.href=Ct.href,k.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Ct.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Ct.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":zt,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":k.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Vt(Vt(e,k.ajaxSettings),t):Vt(k.ajaxSettings,e)},ajaxPrefilter:Ut(Mt),ajaxTransport:Ut(qt),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var n,o,r,a,s,l,c,u,d,f,p=k.ajaxSetup({},t),m=p.context||p,h=p.context&&(m.nodeType||m.jquery)?k(m):k.event,g=k.Deferred(),v=k.Callbacks("once memory"),b=p.statusCode||{},j={},_={},w="canceled",x={readyState:0,getResponseHeader:function(e){var t;if(c){if(!a)for(a={};t=Pt.exec(r);)a[t[1].toLowerCase()+" "]=(a[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=a[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return c?r:null},setRequestHeader:function(e,t){return null==c&&(e=_[e.toLowerCase()]=_[e.toLowerCase()]||e,j[e]=t),this},overrideMimeType:function(e){return null==c&&(p.mimeType=e),this},statusCode:function(e){var t;if(e)if(c)x.always(e[x.status]);else for(t in e)b[t]=[b[t],e[t]];return this},abort:function(e){var t=e||w;return n&&n.abort(t),C(0,t),this}};if(g.promise(x),p.url=((e||p.url||Ct.href)+"").replace(Nt,Ct.protocol+"//"),p.type=t.method||t.type||p.method||p.type,p.dataTypes=(p.dataType||"*").toLowerCase().match(N)||[""],null==p.crossDomain){l=y.createElement("a");try{l.href=p.url,l.href=l.href,p.crossDomain=Ht.protocol+"//"+Ht.host!=l.protocol+"//"+l.host}catch(e){p.crossDomain=!0}}if(p.data&&p.processData&&"string"!=typeof p.data&&(p.data=k.param(p.data,p.traditional)),Bt(Mt,p,t,x),c)return x;for(d in(u=k.event&&p.global)&&0==k.active++&&k.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!Ft.test(p.type),o=p.url.replace(It,""),p.hasContent?p.data&&p.processData&&0===(p.contentType||"").indexOf("application/x-www-form-urlencoded")&&(p.data=p.data.replace(Lt,"+")):(f=p.url.slice(o.length),p.data&&(p.processData||"string"==typeof p.data)&&(o+=(Tt.test(o)?"&":"?")+p.data,delete p.data),!1===p.cache&&(o=o.replace(Rt,"$1"),f=(Tt.test(o)?"&":"?")+"_="+St.guid+++f),p.url=o+f),p.ifModified&&(k.lastModified[o]&&x.setRequestHeader("If-Modified-Since",k.lastModified[o]),k.etag[o]&&x.setRequestHeader("If-None-Match",k.etag[o])),(p.data&&p.hasContent&&!1!==p.contentType||t.contentType)&&x.setRequestHeader("Content-Type",p.contentType),x.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+zt+"; q=0.01":""):p.accepts["*"]),p.headers)x.setRequestHeader(d,p.headers[d]);if(p.beforeSend&&(!1===p.beforeSend.call(m,x,p)||c))return x.abort();if(w="abort",v.add(p.complete),x.done(p.success),x.fail(p.error),n=Bt(qt,p,t,x)){if(x.readyState=1,u&&h.trigger("ajaxSend",[x,p]),c)return x;p.async&&p.timeout>0&&(s=i.setTimeout((function(){x.abort("timeout")}),p.timeout));try{c=!1,n.send(j,C)}catch(e){if(c)throw e;C(-1,e)}}else C(-1,"No Transport");function C(e,t,a,l){var d,f,y,j,_,w=t;c||(c=!0,s&&i.clearTimeout(s),n=void 0,r=l||"",x.readyState=e>0?4:0,d=e>=200&&e<300||304===e,a&&(j=function(e,t,n){for(var i,o,r,a,s=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===i&&(i=e.mimeType||t.getResponseHeader("Content-Type"));if(i)for(o in s)if(s[o]&&s[o].test(i)){l.unshift(o);break}if(l[0]in n)r=l[0];else{for(o in n){if(!l[0]||e.converters[o+" "+l[0]]){r=o;break}a||(a=o)}r=r||a}if(r)return r!==l[0]&&l.unshift(r),n[r]}(p,x,a)),!d&&k.inArray("script",p.dataTypes)>-1&&(p.converters["text script"]=function(){}),j=function(e,t,n,i){var o,r,a,s,l,c={},u=e.dataTypes.slice();if(u[1])for(a in e.converters)c[a.toLowerCase()]=e.converters[a];for(r=u.shift();r;)if(e.responseFields[r]&&(n[e.responseFields[r]]=t),!l&&i&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=r,r=u.shift())if("*"===r)r=l;else if("*"!==l&&l!==r){if(!(a=c[l+" "+r]||c["* "+r]))for(o in c)if((s=o.split(" "))[1]===r&&(a=c[l+" "+s[0]]||c["* "+s[0]])){!0===a?a=c[o]:!0!==c[o]&&(r=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 "+r}}}return{state:"success",data:t}}(p,j,x,d),d?(p.ifModified&&((_=x.getResponseHeader("Last-Modified"))&&(k.lastModified[o]=_),(_=x.getResponseHeader("etag"))&&(k.etag[o]=_)),204===e||"HEAD"===p.type?w="nocontent":304===e?w="notmodified":(w=j.state,f=j.data,d=!(y=j.error))):(y=w,!e&&w||(w="error",e<0&&(e=0))),x.status=e,x.statusText=(t||w)+"",d?g.resolveWith(m,[f,w,x]):g.rejectWith(m,[x,w,y]),x.statusCode(b),b=void 0,u&&h.trigger(d?"ajaxSuccess":"ajaxError",[x,p,d?f:y]),v.fireWith(m,[x,w]),u&&(h.trigger("ajaxComplete",[x,p]),--k.active||k.event.trigger("ajaxStop")))}return x},getJSON:function(e,t,n){return k.get(e,t,n,"json")},getScript:function(e,t){return k.get(e,void 0,t,"script")}}),k.each(["get","post"],(function(e,t){k[t]=function(e,n,i,o){return v(n)&&(o=o||i,i=n,n=void 0),k.ajax(k.extend({url:e,type:t,dataType:o,data:n,success:i},k.isPlainObject(e)&&e))}})),k.ajaxPrefilter((function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")})),k._evalUrl=function(e,t,n){return k.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){k.globalEval(e,t,n)}})},k.fn.extend({wrapAll:function(e){var t;return this[0]&&(v(e)&&(e=e.call(this[0])),t=k(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 v(e)?this.each((function(t){k(this).wrapInner(e.call(this,t))})):this.each((function(){var t=k(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)}))},wrap:function(e){var t=v(e);return this.each((function(n){k(this).wrapAll(t?e.call(this,n):e)}))},unwrap:function(e){return this.parent(e).not("body").each((function(){k(this).replaceWith(this.childNodes)})),this}}),k.expr.pseudos.hidden=function(e){return!k.expr.pseudos.visible(e)},k.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},k.ajaxSettings.xhr=function(){try{return new i.XMLHttpRequest}catch(e){}};var Wt={0:200,1223:204},Qt=k.ajaxSettings.xhr();g.cors=!!Qt&&"withCredentials"in Qt,g.ajax=Qt=!!Qt,k.ajaxTransport((function(e){var t,n;if(g.cors||Qt&&!e.crossDomain)return{send:function(o,r){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||o["X-Requested-With"]||(o["X-Requested-With"]="XMLHttpRequest"),o)s.setRequestHeader(a,o[a]);t=function(e){return function(){t&&(t=n=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===e?s.abort():"error"===e?"number"!=typeof s.status?r(0,"error"):r(s.status,s.statusText):r(Wt[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(),n=s.onerror=s.ontimeout=t("error"),void 0!==s.onabort?s.onabort=n:s.onreadystatechange=function(){4===s.readyState&&i.setTimeout((function(){t&&n()}))},t=t("abort");try{s.send(e.hasContent&&e.data||null)}catch(e){if(t)throw e}},abort:function(){t&&t()}}})),k.ajaxPrefilter((function(e){e.crossDomain&&(e.contents.script=!1)})),k.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 k.globalEval(e),e}}}),k.ajaxPrefilter("script",(function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")})),k.ajaxTransport("script",(function(e){var t,n;if(e.crossDomain||e.scriptAttrs)return{send:function(i,o){t=k("<script>").attr(e.scriptAttrs||{}).prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&o("error"===e.type?404:200,e.type)}),y.head.appendChild(t[0])},abort:function(){n&&n()}}}));var Gt,Xt=[],Yt=/(=)\?(?=&|$)|\?\?/;k.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Xt.pop()||k.expando+"_"+St.guid++;return this[e]=!0,e}}),k.ajaxPrefilter("json jsonp",(function(e,t,n){var o,r,a,s=!1!==e.jsonp&&(Yt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Yt.test(e.data)&&"data");if(s||"jsonp"===e.dataTypes[0])return o=e.jsonpCallback=v(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,s?e[s]=e[s].replace(Yt,"$1"+o):!1!==e.jsonp&&(e.url+=(Tt.test(e.url)?"&":"?")+e.jsonp+"="+o),e.converters["script json"]=function(){return a||k.error(o+" was not called"),a[0]},e.dataTypes[0]="json",r=i[o],i[o]=function(){a=arguments},n.always((function(){void 0===r?k(i).removeProp(o):i[o]=r,e[o]&&(e.jsonpCallback=t.jsonpCallback,Xt.push(o)),a&&v(r)&&r(a[0]),a=r=void 0})),"script"})),g.createHTMLDocument=((Gt=y.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===Gt.childNodes.length),k.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(g.createHTMLDocument?((i=(t=y.implementation.createHTMLDocument("")).createElement("base")).href=y.location.href,t.head.appendChild(i)):t=y),r=!n&&[],(o=O.exec(e))?[t.createElement(o[1])]:(o=xe([e],t,r),r&&r.length&&k(r).remove(),k.merge([],o.childNodes)));var i,o,r},k.fn.load=function(e,t,n){var i,o,r,a=this,s=e.indexOf(" ");return s>-1&&(i=yt(e.slice(s)),e=e.slice(0,s)),v(t)?(n=t,t=void 0):t&&"object"==typeof t&&(o="POST"),a.length>0&&k.ajax({url:e,type:o||"GET",dataType:"html",data:t}).done((function(e){r=arguments,a.html(i?k("<div>").append(k.parseHTML(e)).find(i):e)})).always(n&&function(e,t){a.each((function(){n.apply(this,r||[e.responseText,t,e])}))}),this},k.expr.pseudos.animated=function(e){return k.grep(k.timers,(function(t){return e===t.elem})).length},k.offset={setOffset:function(e,t,n){var i,o,r,a,s,l,c=k.css(e,"position"),u=k(e),d={};"static"===c&&(e.style.position="relative"),s=u.offset(),r=k.css(e,"top"),l=k.css(e,"left"),("absolute"===c||"fixed"===c)&&(r+l).indexOf("auto")>-1?(a=(i=u.position()).top,o=i.left):(a=parseFloat(r)||0,o=parseFloat(l)||0),v(t)&&(t=t.call(e,n,k.extend({},s))),null!=t.top&&(d.top=t.top-s.top+a),null!=t.left&&(d.left=t.left-s.left+o),"using"in t?t.using.call(e,d):("number"==typeof d.top&&(d.top+="px"),"number"==typeof d.left&&(d.left+="px"),u.css(d))}},k.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each((function(t){k.offset.setOffset(this,e,t)}));var t,n,i=this[0];return i?i.getClientRects().length?(t=i.getBoundingClientRect(),n=i.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,i=this[0],o={top:0,left:0};if("fixed"===k.css(i,"position"))t=i.getBoundingClientRect();else{for(t=this.offset(),n=i.ownerDocument,e=i.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===k.css(e,"position");)e=e.parentNode;e&&e!==i&&1===e.nodeType&&((o=k(e).offset()).top+=k.css(e,"borderTopWidth",!0),o.left+=k.css(e,"borderLeftWidth",!0))}return{top:t.top-o.top-k.css(i,"marginTop",!0),left:t.left-o.left-k.css(i,"marginLeft",!0)}}},offsetParent:function(){return this.map((function(){for(var e=this.offsetParent;e&&"static"===k.css(e,"position");)e=e.offsetParent;return e||ae}))}}),k.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(e,t){var n="pageYOffset"===t;k.fn[e]=function(i){return V(this,(function(e,i,o){var r;if(b(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===o)return r?r[t]:e[i];r?r.scrollTo(n?r.pageXOffset:o,n?o:r.pageYOffset):e[i]=o}),e,i,arguments.length)}})),k.each(["top","left"],(function(e,t){k.cssHooks[t]=Qe(g.pixelPosition,(function(e,n){if(n)return n=We(e,t),He.test(n)?k(e).position()[t]+"px":n}))})),k.each({Height:"height",Width:"width"},(function(e,t){k.each({padding:"inner"+e,content:t,"":"outer"+e},(function(n,i){k.fn[i]=function(o,r){var a=arguments.length&&(n||"boolean"!=typeof o),s=n||(!0===o||!0===r?"margin":"border");return V(this,(function(t,n,o){var r;return b(t)?0===i.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(r=t.documentElement,Math.max(t.body["scroll"+e],r["scroll"+e],t.body["offset"+e],r["offset"+e],r["client"+e])):void 0===o?k.css(t,n,s):k.style(t,n,o,s)}),t,a?o:void 0,a)}}))})),k.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],(function(e,t){k.fn[t]=function(e){return this.on(t,e)}})),k.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,i){return this.on(t,e,n,i)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),k.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){k.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}));var Kt=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;k.proxy=function(e,t){var n,i,o;if("string"==typeof t&&(n=e[t],t=e,e=n),v(e))return i=s.call(arguments,2),(o=function(){return e.apply(t||this,i.concat(s.call(arguments)))}).guid=e.guid=e.guid||k.guid++,o},k.holdReady=function(e){e?k.readyWait++:k.ready(!0)},k.isArray=Array.isArray,k.parseJSON=JSON.parse,k.nodeName=E,k.isFunction=v,k.isWindow=b,k.camelCase=X,k.type=w,k.now=Date.now,k.isNumeric=function(e){var t=k.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},k.trim=function(e){return null==e?"":(e+"").replace(Kt,"")},void 0===(n=function(){return k}.apply(t,[]))||(e.exports=n);var Jt=i.jQuery,Zt=i.$;return k.noConflict=function(e){return i.$===k&&(i.$=Zt),e&&i.jQuery===k&&(i.jQuery=Jt),k},void 0===o&&(i.jQuery=i.$=k),k}))},"./node_modules/parse-ms/index.js":function(e){"use strict";e.exports=e=>{if("number"!=typeof e)throw new TypeError("Expected a number");const t=e>0?Math.floor:Math.ceil;return{days:t(e/864e5),hours:t(e/36e5)%24,minutes:t(e/6e4)%60,seconds:t(e/1e3)%60,milliseconds:t(e)%1e3,microseconds:t(1e3*e)%1e3,nanoseconds:t(1e6*e)%1e3}}},"./node_modules/pretty-ms/index.js":function(e,t,n){"use strict";const i=n("./node_modules/parse-ms/index.js");e.exports=(e,t={})=>{if(!Number.isFinite(e))throw new TypeError("Expected a finite number");t.colonNotation&&(t.compact=!1,t.formatSubMilliseconds=!1,t.separateMilliseconds=!1,t.verbose=!1),t.compact&&(t.secondsDecimalDigits=0,t.millisecondsDecimalDigits=0);const n=[],o=(e,i,o,r)=>{if(!(0!==n.length&&t.colonNotation||0!==e||t.colonNotation&&"m"===o))return;let a,s;if(r=(r||e||"0").toString(),t.colonNotation){a=n.length>0?":":"",s="";const e=r.includes(".")?r.split(".")[0].length:r.length,t=n.length>0?2:1;r="0".repeat(Math.max(0,t-e))+r}else a="",s=t.verbose?" "+(l=i,1===e?l:`${l}s`):o;var l;n.push(a+r+s)},r=i(e);if(o(Math.trunc(r.days/365),"year","y"),o(r.days%365,"day","d"),o(r.hours,"hour","h"),o(r.minutes,"minute","m"),t.separateMilliseconds||t.formatSubMilliseconds||!t.colonNotation&&e<1e3)if(o(r.seconds,"second","s"),t.formatSubMilliseconds)o(r.milliseconds,"millisecond","ms"),o(r.microseconds,"microsecond","µs"),o(r.nanoseconds,"nanosecond","ns");else{const e=r.milliseconds+r.microseconds/1e3+r.nanoseconds/1e6,n="number"==typeof t.millisecondsDecimalDigits?t.millisecondsDecimalDigits:0,i=e>=1?Math.round(e):Math.ceil(e),a=n?e.toFixed(n):i;o(Number.parseFloat(a,10),"millisecond","ms",a)}else{const n=((e,t)=>{const n=Math.floor(e*10**t+1e-7);return(Math.round(n)/10**t).toFixed(t)})(e/1e3%60,"number"==typeof t.secondsDecimalDigits?t.secondsDecimalDigits:1),i=t.keepDecimalsOnWholeSeconds?n:n.replace(/\.0+$/,"");o(Number.parseFloat(i,10),"second","s",i)}if(0===n.length)return"0"+(t.verbose?" milliseconds":"ms");if(t.compact)return n[0];if("number"==typeof t.unitCount){const e=t.colonNotation?"":" ";return n.slice(0,Math.max(t.unitCount,1)).join(e)}return t.colonNotation?n.join(""):n.join(" ")}},"./node_modules/regenerator-runtime/runtime.js":function(e){var t=function(e){"use strict";var t,n=Object.prototype,i=n.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},r=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",s=o.toStringTag||"@@toStringTag";function l(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(e){l=function(e,t,n){return e[t]=n}}function c(e,t,n,i){var o=t&&t.prototype instanceof g?t:g,r=Object.create(o.prototype),a=new A(i||[]);return r._invoke=function(e,t,n){var i=d;return function(o,r){if(i===p)throw new Error("Generator is already running");if(i===m){if("throw"===o)throw r;return E()}for(n.method=o,n.arg=r;;){var a=n.delegate;if(a){var s=C(a,n);if(s){if(s===h)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===d)throw i=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=p;var l=u(e,t,n);if("normal"===l.type){if(i=n.done?m:f,l.arg===h)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(i=m,n.method="throw",n.arg=l.arg)}}}(e,n,a),r}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var d="suspendedStart",f="suspendedYield",p="executing",m="completed",h={};function g(){}function v(){}function b(){}var y={};y[r]=function(){return this};var j=Object.getPrototypeOf,_=j&&j(j($([])));_&&_!==n&&i.call(_,r)&&(y=_);var w=b.prototype=g.prototype=Object.create(y);function x(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function k(e,t){function n(o,r,a,s){var l=u(e[o],e,r);if("throw"!==l.type){var c=l.arg,d=c.value;return d&&"object"==typeof d&&i.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,a,s)}),(function(e){n("throw",e,a,s)})):t.resolve(d).then((function(e){c.value=e,a(c)}),(function(e){return n("throw",e,a,s)}))}s(l.arg)}var o;this._invoke=function(e,i){function r(){return new t((function(t,o){n(e,i,t,o)}))}return o=o?o.then(r,r):r()}}function C(e,n){var i=e.iterator[n.method];if(i===t){if(n.delegate=null,"throw"===n.method){if(e.iterator.return&&(n.method="return",n.arg=t,C(e,n),"throw"===n.method))return h;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return h}var o=u(i,e.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,h;var r=o.arg;return r?r.done?(n[e.resultName]=r.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,h):r:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,h)}function S(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function T(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function A(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(S,this),this.reset(!0)}function $(e){if(e){var n=e[r];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function n(){for(;++o<e.length;)if(i.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return a.next=a}}return{next:E}}function E(){return{value:t,done:!0}}return v.prototype=w.constructor=b,b.constructor=v,v.displayName=l(b,s,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===v||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,l(e,s,"GeneratorFunction")),e.prototype=Object.create(w),e},e.awrap=function(e){return{__await:e}},x(k.prototype),k.prototype[a]=function(){return this},e.AsyncIterator=k,e.async=function(t,n,i,o,r){void 0===r&&(r=Promise);var a=new k(c(t,n,i,o),r);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},x(w),l(w,s,"Generator"),w[r]=function(){return this},w.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var i=t.pop();if(i in e)return n.value=i,n.done=!1,n}return n.done=!0,n}},e.values=$,A.prototype={constructor:A,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(T),!e)for(var n in this)"t"===n.charAt(0)&&i.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function o(i,o){return s.type="throw",s.arg=e,n.next=i,o&&(n.method="next",n.arg=t),!!o}for(var r=this.tryEntries.length-1;r>=0;--r){var a=this.tryEntries[r],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=i.call(a,"catchLoc"),c=i.call(a,"finallyLoc");if(l&&c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(l){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&i.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var r=o;break}}r&&("break"===e||"continue"===e)&&r.tryLoc<=t&&t<=r.finallyLoc&&(r=null);var a=r?r.completion:{};return a.type=e,a.arg=t,r?(this.method="next",this.next=r.finallyLoc,h):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),h},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),T(n),h}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var i=n.completion;if("throw"===i.type){var o=i.arg;T(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,i){return this.delegate={iterator:$(e),resultName:n,nextLoc:i},"next"===this.method&&(this.arg=t),h}},e}(e.exports);try{regeneratorRuntime=t}catch(e){Function("r","regeneratorRuntime = r")(t)}},"./node_modules/vue-bar-graph/dist/vue-bar-graph.common.js":function(e){e.exports=function(e){var t={};function n(i){if(t[i])return t[i].exports;var o=t[i]={i:i,l:!1,exports:{}};return e[i].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},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 i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(i,o,function(t){return e[t]}.bind(null,o));return i},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="fb15")}({"00ee":function(e,t,n){var i={};i[n("b622")("toStringTag")]="z",e.exports="[object z]"===String(i)},"057f":function(e,t,n){var i=n("fc6a"),o=n("241c").f,r={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return a&&"[object Window]"==r.call(e)?function(e){try{return o(e)}catch(e){return a.slice()}}(e):o(i(e))}},"06cf":function(e,t,n){var i=n("83ab"),o=n("d1e7"),r=n("5c6c"),a=n("fc6a"),s=n("c04e"),l=n("5135"),c=n("0cfb"),u=Object.getOwnPropertyDescriptor;t.f=i?u:function(e,t){if(e=a(e),t=s(t,!0),c)try{return u(e,t)}catch(e){}if(l(e,t))return r(!o.f.call(e,t),e[t])}},"07ac":function(e,t,n){var i=n("23e7"),o=n("6f53").values;i({target:"Object",stat:!0},{values:function(e){return o(e)}})},"0cfb":function(e,t,n){var i=n("83ab"),o=n("d039"),r=n("cc12");e.exports=!i&&!o((function(){return 7!=Object.defineProperty(r("div"),"a",{get:function(){return 7}}).a}))},1148:function(e,t,n){"use strict";var i=n("a691"),o=n("1d80");e.exports="".repeat||function(e){var t=String(o(this)),n="",r=i(e);if(r<0||r==1/0)throw RangeError("Wrong number of repetitions");for(;r>0;(r>>>=1)&&(t+=t))1&r&&(n+=t);return n}},"14c3":function(e,t,n){var i=n("c6b6"),o=n("9263");e.exports=function(e,t){var n=e.exec;if("function"==typeof n){var r=n.call(e,t);if("object"!=typeof r)throw TypeError("RegExp exec method returned something other than an Object or null");return r}if("RegExp"!==i(e))throw TypeError("RegExp#exec called on incompatible receiver");return o.call(e,t)}},"159b":function(e,t,n){var i=n("da84"),o=n("fdbc"),r=n("17c2"),a=n("9112");for(var s in o){var l=i[s],c=l&&l.prototype;if(c&&c.forEach!==r)try{a(c,"forEach",r)}catch(e){c.forEach=r}}},"17c2":function(e,t,n){"use strict";var i=n("b727").forEach,o=n("b301");e.exports=o("forEach")?function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}:[].forEach},"1be4":function(e,t,n){var i=n("d066");e.exports=i("document","documentElement")},"1c0b":function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},"1c7e":function(e,t,n){var i=n("b622")("iterator"),o=!1;try{var r=0,a={next:function(){return{done:!!r++}},return:function(){o=!0}};a[i]=function(){return this},Array.from(a,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!o)return!1;var n=!1;try{var r={};r[i]=function(){return{next:function(){return{done:n=!0}}}},e(r)}catch(e){}return n}},"1d80":function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},"1dde":function(e,t,n){var i=n("d039"),o=n("b622"),r=n("60ae"),a=o("species");e.exports=function(e){return r>=51||!i((function(){var t=[];return(t.constructor={})[a]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},"23cb":function(e,t,n){var i=n("a691"),o=Math.max,r=Math.min;e.exports=function(e,t){var n=i(e);return n<0?o(n+t,0):r(n,t)}},"23e7":function(e,t,n){var i=n("da84"),o=n("06cf").f,r=n("9112"),a=n("6eeb"),s=n("ce4e"),l=n("e893"),c=n("94ca");e.exports=function(e,t){var n,u,d,f,p,m=e.target,h=e.global,g=e.stat;if(n=h?i:g?i[m]||s(m,{}):(i[m]||{}).prototype)for(u in t){if(f=t[u],d=e.noTargetGet?(p=o(n,u))&&p.value:n[u],!c(h?u:m+(g?".":"#")+u,e.forced)&&void 0!==d){if(typeof f==typeof d)continue;l(f,d)}(e.sham||d&&d.sham)&&r(f,"sham",!0),a(n,u,f,e)}}},"241c":function(e,t,n){var i=n("ca84"),o=n("7839").concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return i(e,o)}},"25f0":function(e,t,n){"use strict";var i=n("6eeb"),o=n("825a"),r=n("d039"),a=n("ad6d"),s="toString",l=RegExp.prototype,c=l.toString,u=r((function(){return"/a/b"!=c.call({source:"a",flags:"b"})})),d=c.name!=s;(u||d)&&i(RegExp.prototype,s,(function(){var e=o(this),t=String(e.source),n=e.flags;return"/"+t+"/"+String(void 0===n&&e instanceof RegExp&&!("flags"in l)?a.call(e):n)}),{unsafe:!0})},"35a1":function(e,t,n){var i=n("f5df"),o=n("3f8c"),r=n("b622")("iterator");e.exports=function(e){if(null!=e)return e[r]||e["@@iterator"]||o[i(e)]}},"37e8":function(e,t,n){var i=n("83ab"),o=n("9bf2"),r=n("825a"),a=n("df75");e.exports=i?Object.defineProperties:function(e,t){r(e);for(var n,i=a(t),s=i.length,l=0;s>l;)o.f(e,n=i[l++],t[n]);return e}},"3bbe":function(e,t,n){var i=n("861d");e.exports=function(e){if(!i(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},"3ca3":function(e,t,n){"use strict";var i=n("6547").charAt,o=n("69f3"),r=n("7dd0"),a="String Iterator",s=o.set,l=o.getterFor(a);r(String,"String",(function(e){s(this,{type:a,string:String(e),index:0})}),(function(){var e,t=l(this),n=t.string,o=t.index;return o>=n.length?{value:void 0,done:!0}:(e=i(n,o),t.index+=e.length,{value:e,done:!1})}))},"3f8c":function(e,t){e.exports={}},"408a":function(e,t,n){var i=n("c6b6");e.exports=function(e){if("number"!=typeof e&&"Number"!=i(e))throw TypeError("Incorrect invocation");return+e}},"428f":function(e,t,n){var i=n("da84");e.exports=i},"44ad":function(e,t,n){var i=n("d039"),o=n("c6b6"),r="".split;e.exports=i((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==o(e)?r.call(e,""):Object(e)}:Object},"44d2":function(e,t,n){var i=n("b622"),o=n("7c73"),r=n("9bf2"),a=i("unscopables"),s=Array.prototype;null==s[a]&&r.f(s,a,{configurable:!0,value:o(null)}),e.exports=function(e){s[a][e]=!0}},4930:function(e,t,n){var i=n("d039");e.exports=!!Object.getOwnPropertySymbols&&!i((function(){return!String(Symbol())}))},"4d64":function(e,t,n){var i=n("fc6a"),o=n("50c4"),r=n("23cb"),a=function(e){return function(t,n,a){var s,l=i(t),c=o(l.length),u=r(a,c);if(e&&n!=n){for(;c>u;)if((s=l[u++])!=s)return!0}else for(;c>u;u++)if((e||u in l)&&l[u]===n)return e||u||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},"4de4":function(e,t,n){"use strict";var i=n("23e7"),o=n("b727").filter,r=n("d039"),a=n("1dde")("filter"),s=a&&!r((function(){[].filter.call({length:-1,0:1},(function(e){throw e}))}));i({target:"Array",proto:!0,forced:!a||!s},{filter:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},"4df4":function(e,t,n){"use strict";var i=n("f8c2"),o=n("7b0b"),r=n("9bdd"),a=n("e95a"),s=n("50c4"),l=n("8418"),c=n("35a1");e.exports=function(e){var t,n,u,d,f,p=o(e),m="function"==typeof this?this:Array,h=arguments.length,g=h>1?arguments[1]:void 0,v=void 0!==g,b=0,y=c(p);if(v&&(g=i(g,h>2?arguments[2]:void 0,2)),null==y||m==Array&&a(y))for(n=new m(t=s(p.length));t>b;b++)l(n,b,v?g(p[b],b):p[b]);else for(f=(d=y.call(p)).next,n=new m;!(u=f.call(d)).done;b++)l(n,b,v?r(d,g,[u.value,b],!0):u.value);return n.length=b,n}},"50c4":function(e,t,n){var i=n("a691"),o=Math.min;e.exports=function(e){return e>0?o(i(e),9007199254740991):0}},5135:function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},5319:function(e,t,n){"use strict";var i=n("d784"),o=n("825a"),r=n("7b0b"),a=n("50c4"),s=n("a691"),l=n("1d80"),c=n("8aa5"),u=n("14c3"),d=Math.max,f=Math.min,p=Math.floor,m=/\$([$&'`]|\d\d?|<[^>]*>)/g,h=/\$([$&'`]|\d\d?)/g;i("replace",2,(function(e,t,n,i){return[function(n,i){var o=l(this),r=null==n?void 0:n[e];return void 0!==r?r.call(n,o,i):t.call(String(o),n,i)},function(e,r){if(i.REPLACE_KEEPS_$0||"string"==typeof r&&-1===r.indexOf("$0")){var l=n(t,e,this,r);if(l.done)return l.value}var p=o(e),m=String(this),h="function"==typeof r;h||(r=String(r));var v=p.global;if(v){var b=p.unicode;p.lastIndex=0}for(var y=[];;){var j=u(p,m);if(null===j)break;if(y.push(j),!v)break;""===String(j[0])&&(p.lastIndex=c(m,a(p.lastIndex),b))}for(var _,w="",x=0,k=0;k<y.length;k++){j=y[k];for(var C=String(j[0]),S=d(f(s(j.index),m.length),0),T=[],A=1;A<j.length;A++)T.push(void 0===(_=j[A])?_:String(_));var $=j.groups;if(h){var E=[C].concat(T,S,m);void 0!==$&&E.push($);var O=String(r.apply(void 0,E))}else O=g(C,m,S,T,$,r);S>=x&&(w+=m.slice(x,S)+O,x=S+C.length)}return w+m.slice(x)}];function g(e,n,i,o,a,s){var l=i+e.length,c=o.length,u=h;return void 0!==a&&(a=r(a),u=m),t.call(s,u,(function(t,r){var s;switch(r.charAt(0)){case"$":return"$";case"&":return e;case"`":return n.slice(0,i);case"'":return n.slice(l);case"<":s=a[r.slice(1,-1)];break;default:var u=+r;if(0===u)return t;if(u>c){var d=p(u/10);return 0===d?t:d<=c?void 0===o[d-1]?r.charAt(1):o[d-1]+r.charAt(1):t}s=o[u-1]}return void 0===s?"":s}))}}))},5692:function(e,t,n){var i=n("c430"),o=n("c6cd");(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.6.1",mode:i?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},"56ef":function(e,t,n){var i=n("d066"),o=n("241c"),r=n("7418"),a=n("825a");e.exports=i("Reflect","ownKeys")||function(e){var t=o.f(a(e)),n=r.f;return n?t.concat(n(e)):t}},5899:function(e,t){e.exports="\t\n\v\f\r \u2028\u2029\ufeff"},"58a8":function(e,t,n){var i=n("1d80"),o="["+n("5899")+"]",r=RegExp("^"+o+o+"*"),a=RegExp(o+o+"*$"),s=function(e){return function(t){var n=String(i(t));return 1&e&&(n=n.replace(r,"")),2&e&&(n=n.replace(a,"")),n}};e.exports={start:s(1),end:s(2),trim:s(3)}},"5c6c":function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},"60ae":function(e,t,n){var i,o,r=n("da84"),a=n("b39a"),s=r.process,l=s&&s.versions,c=l&&l.v8;c?o=(i=c.split("."))[0]+i[1]:a&&(!(i=a.match(/Edge\/(\d+)/))||i[1]>=74)&&(i=a.match(/Chrome\/(\d+)/))&&(o=i[1]),e.exports=o&&+o},6547:function(e,t,n){var i=n("a691"),o=n("1d80"),r=function(e){return function(t,n){var r,a,s=String(o(t)),l=i(n),c=s.length;return l<0||l>=c?e?"":void 0:(r=s.charCodeAt(l))<55296||r>56319||l+1===c||(a=s.charCodeAt(l+1))<56320||a>57343?e?s.charAt(l):r:e?s.slice(l,l+2):a-56320+(r-55296<<10)+65536}};e.exports={codeAt:r(!1),charAt:r(!0)}},"65f0":function(e,t,n){var i=n("861d"),o=n("e8b5"),r=n("b622")("species");e.exports=function(e,t){var n;return o(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!o(n.prototype)?i(n)&&null===(n=n[r])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)}},"69f3":function(e,t,n){var i,o,r,a=n("7f9a"),s=n("da84"),l=n("861d"),c=n("9112"),u=n("5135"),d=n("f772"),f=n("d012"),p=s.WeakMap;if(a){var m=new p,h=m.get,g=m.has,v=m.set;i=function(e,t){return v.call(m,e,t),t},o=function(e){return h.call(m,e)||{}},r=function(e){return g.call(m,e)}}else{var b=d("state");f[b]=!0,i=function(e,t){return c(e,b,t),t},o=function(e){return u(e,b)?e[b]:{}},r=function(e){return u(e,b)}}e.exports={set:i,get:o,has:r,enforce:function(e){return r(e)?o(e):i(e,{})},getterFor:function(e){return function(t){var n;if(!l(t)||(n=o(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}}},"6eeb":function(e,t,n){var i=n("da84"),o=n("9112"),r=n("5135"),a=n("ce4e"),s=n("8925"),l=n("69f3"),c=l.get,u=l.enforce,d=String(String).split("String");(e.exports=function(e,t,n,s){var l=!!s&&!!s.unsafe,c=!!s&&!!s.enumerable,f=!!s&&!!s.noTargetGet;"function"==typeof n&&("string"!=typeof t||r(n,"name")||o(n,"name",t),u(n).source=d.join("string"==typeof t?t:"")),e!==i?(l?!f&&e[t]&&(c=!0):delete e[t],c?e[t]=n:o(e,t,n)):c?e[t]=n:a(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&c(this).source||s(this)}))},"6f53":function(e,t,n){var i=n("83ab"),o=n("df75"),r=n("fc6a"),a=n("d1e7").f,s=function(e){return function(t){for(var n,s=r(t),l=o(s),c=l.length,u=0,d=[];c>u;)n=l[u++],i&&!a.call(s,n)||d.push(e?[n,s[n]]:s[n]);return d}};e.exports={entries:s(!0),values:s(!1)}},"6fe5":function(e,t,n){var i=n("da84"),o=n("58a8").trim,r=n("5899"),a=i.parseFloat,s=1/a(r+"-0")!=-1/0;e.exports=s?function(e){var t=o(String(e)),n=a(t);return 0===n&&"-"==t.charAt(0)?-0:n}:a},7156:function(e,t,n){var i=n("861d"),o=n("d2bb");e.exports=function(e,t,n){var r,a;return o&&"function"==typeof(r=t.constructor)&&r!==n&&i(a=r.prototype)&&a!==n.prototype&&o(e,a),e}},7418:function(e,t){t.f=Object.getOwnPropertySymbols},"746f":function(e,t,n){var i=n("428f"),o=n("5135"),r=n("c032"),a=n("9bf2").f;e.exports=function(e){var t=i.Symbol||(i.Symbol={});o(t,e)||a(t,e,{value:r.f(e)})}},7839:function(e,t){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"7b0b":function(e,t,n){var i=n("1d80");e.exports=function(e){return Object(i(e))}},"7c73":function(e,t,n){var i,o=n("825a"),r=n("37e8"),a=n("7839"),s=n("d012"),l=n("1be4"),c=n("cc12"),u=n("f772"),d=u("IE_PROTO"),f=function(){},p=function(e){return"<script>"+e+"</"+"script>"},m=function(){try{i=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;m=i?function(e){e.write(p("")),e.close();var t=e.parentWindow.Object;return e=null,t}(i):((t=c("iframe")).style.display="none",l.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(p("document.F=Object")),e.close(),e.F);for(var n=a.length;n--;)delete m.prototype[a[n]];return m()};s[d]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(f.prototype=o(e),n=new f,f.prototype=null,n[d]=e):n=m(),void 0===t?n:r(n,t)}},"7dd0":function(e,t,n){"use strict";var i=n("23e7"),o=n("9ed3"),r=n("e163"),a=n("d2bb"),s=n("d44e"),l=n("9112"),c=n("6eeb"),u=n("b622"),d=n("c430"),f=n("3f8c"),p=n("ae93"),m=p.IteratorPrototype,h=p.BUGGY_SAFARI_ITERATORS,g=u("iterator"),v="keys",b="values",y="entries",j=function(){return this};e.exports=function(e,t,n,u,p,_,w){o(n,t,u);var x,k,C,S=function(e){if(e===p&&O)return O;if(!h&&e in $)return $[e];switch(e){case v:case b:case y:return function(){return new n(this,e)}}return function(){return new n(this)}},T=t+" Iterator",A=!1,$=e.prototype,E=$[g]||$["@@iterator"]||p&&$[p],O=!h&&E||S(p),D="Array"==t&&$.entries||E;if(D&&(x=r(D.call(new e)),m!==Object.prototype&&x.next&&(d||r(x)===m||(a?a(x,m):"function"!=typeof x[g]&&l(x,g,j)),s(x,T,!0,!0),d&&(f[T]=j))),p==b&&E&&E.name!==b&&(A=!0,O=function(){return E.call(this)}),d&&!w||$[g]===O||l($,g,O),f[t]=O,p)if(k={values:S(b),keys:_?O:S(v),entries:S(y)},w)for(C in k)(h||A||!(C in $))&&c($,C,k[C]);else i({target:t,proto:!0,forced:h||A},k);return k}},"7f9a":function(e,t,n){var i=n("da84"),o=n("8925"),r=i.WeakMap;e.exports="function"==typeof r&&/native code/.test(o(r))},"825a":function(e,t,n){var i=n("861d");e.exports=function(e){if(!i(e))throw TypeError(String(e)+" is not an object");return e}},"83ab":function(e,t,n){var i=n("d039");e.exports=!i((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},8418:function(e,t,n){"use strict";var i=n("c04e"),o=n("9bf2"),r=n("5c6c");e.exports=function(e,t,n){var a=i(t);a in e?o.f(e,a,r(0,n)):e[a]=n}},"861d":function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},8925:function(e,t,n){var i=n("c6cd"),o=Function.toString;"function"!=typeof i.inspectSource&&(i.inspectSource=function(e){return o.call(e)}),e.exports=i.inspectSource},"8aa5":function(e,t,n){"use strict";var i=n("6547").charAt;e.exports=function(e,t,n){return t+(n?i(e,t).length:1)}},"90e3":function(e,t){var n=0,i=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++n+i).toString(36)}},9112:function(e,t,n){var i=n("83ab"),o=n("9bf2"),r=n("5c6c");e.exports=i?function(e,t,n){return o.f(e,t,r(1,n))}:function(e,t,n){return e[t]=n,e}},9263:function(e,t,n){"use strict";var i,o,r=n("ad6d"),a=n("9f7f"),s=RegExp.prototype.exec,l=String.prototype.replace,c=s,u=(i=/a/,o=/b*/g,s.call(i,"a"),s.call(o,"a"),0!==i.lastIndex||0!==o.lastIndex),d=a.UNSUPPORTED_Y||a.BROKEN_CARET,f=void 0!==/()??/.exec("")[1];(u||f||d)&&(c=function(e){var t,n,i,o,a=this,c=d&&a.sticky,p=r.call(a),m=a.source,h=0,g=e;return c&&(-1===(p=p.replace("y","")).indexOf("g")&&(p+="g"),g=String(e).slice(a.lastIndex),a.lastIndex>0&&(!a.multiline||a.multiline&&"\n"!==e[a.lastIndex-1])&&(m="(?: "+m+")",g=" "+g,h++),n=new RegExp("^(?:"+m+")",p)),f&&(n=new RegExp("^"+m+"$(?!\\s)",p)),u&&(t=a.lastIndex),i=s.call(c?n:a,g),c?i?(i.input=i.input.slice(h),i[0]=i[0].slice(h),i.index=a.lastIndex,a.lastIndex+=i[0].length):a.lastIndex=0:u&&i&&(a.lastIndex=a.global?i.index+i[0].length:t),f&&i&&i.length>1&&l.call(i[0],n,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(i[o]=void 0)})),i}),e.exports=c},"94ca":function(e,t,n){var i=n("d039"),o=/#|\.prototype\./,r=function(e,t){var n=s[a(e)];return n==c||n!=l&&("function"==typeof t?i(t):!!t)},a=r.normalize=function(e){return String(e).replace(o,".").toLowerCase()},s=r.data={},l=r.NATIVE="N",c=r.POLYFILL="P";e.exports=r},"9bdd":function(e,t,n){var i=n("825a");e.exports=function(e,t,n,o){try{return o?t(i(n)[0],n[1]):t(n)}catch(t){var r=e.return;throw void 0!==r&&i(r.call(e)),t}}},"9bf2":function(e,t,n){var i=n("83ab"),o=n("0cfb"),r=n("825a"),a=n("c04e"),s=Object.defineProperty;t.f=i?s:function(e,t,n){if(r(e),t=a(t,!0),r(n),o)try{return s(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},"9ed3":function(e,t,n){"use strict";var i=n("ae93").IteratorPrototype,o=n("7c73"),r=n("5c6c"),a=n("d44e"),s=n("3f8c"),l=function(){return this};e.exports=function(e,t,n){var c=t+" Iterator";return e.prototype=o(i,{next:r(1,n)}),a(e,c,!1,!0),s[c]=l,e}},"9f7f":function(e,t,n){"use strict";var i=n("d039");function o(e,t){return RegExp(e,t)}t.UNSUPPORTED_Y=i((function(){var e=o("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),t.BROKEN_CARET=i((function(){var e=o("^r","gy");return e.lastIndex=2,null!=e.exec("str")}))},a4d3:function(e,t,n){"use strict";var i=n("23e7"),o=n("da84"),r=n("d066"),a=n("c430"),s=n("83ab"),l=n("4930"),c=n("fdbf"),u=n("d039"),d=n("5135"),f=n("e8b5"),p=n("861d"),m=n("825a"),h=n("7b0b"),g=n("fc6a"),v=n("c04e"),b=n("5c6c"),y=n("7c73"),j=n("df75"),_=n("241c"),w=n("057f"),x=n("7418"),k=n("06cf"),C=n("9bf2"),S=n("d1e7"),T=n("9112"),A=n("6eeb"),$=n("5692"),E=n("f772"),O=n("d012"),D=n("90e3"),L=n("b622"),I=n("c032"),R=n("746f"),P=n("d44e"),F=n("69f3"),N=n("b727").forEach,M=E("hidden"),q="Symbol",z=L("toPrimitive"),H=F.set,U=F.getterFor(q),B=Object.prototype,V=o.Symbol,W=r("JSON","stringify"),Q=k.f,G=C.f,X=w.f,Y=S.f,K=$("symbols"),J=$("op-symbols"),Z=$("string-to-symbol-registry"),ee=$("symbol-to-string-registry"),te=$("wks"),ne=o.QObject,ie=!ne||!ne.prototype||!ne.prototype.findChild,oe=s&&u((function(){return 7!=y(G({},"a",{get:function(){return G(this,"a",{value:7}).a}})).a}))?function(e,t,n){var i=Q(B,t);i&&delete B[t],G(e,t,n),i&&e!==B&&G(B,t,i)}:G,re=function(e,t){var n=K[e]=y(V.prototype);return H(n,{type:q,tag:e,description:t}),s||(n.description=t),n},ae=c?function(e){return"symbol"==typeof e}:function(e){return Object(e)instanceof V},se=function(e,t,n){e===B&&se(J,t,n),m(e);var i=v(t,!0);return m(n),d(K,i)?(n.enumerable?(d(e,M)&&e[M][i]&&(e[M][i]=!1),n=y(n,{enumerable:b(0,!1)})):(d(e,M)||G(e,M,b(1,{})),e[M][i]=!0),oe(e,i,n)):G(e,i,n)},le=function(e,t){m(e);var n=g(t),i=j(n).concat(fe(n));return N(i,(function(t){s&&!ce.call(n,t)||se(e,t,n[t])})),e},ce=function(e){var t=v(e,!0),n=Y.call(this,t);return!(this===B&&d(K,t)&&!d(J,t))&&(!(n||!d(this,t)||!d(K,t)||d(this,M)&&this[M][t])||n)},ue=function(e,t){var n=g(e),i=v(t,!0);if(n!==B||!d(K,i)||d(J,i)){var o=Q(n,i);return!o||!d(K,i)||d(n,M)&&n[M][i]||(o.enumerable=!0),o}},de=function(e){var t=X(g(e)),n=[];return N(t,(function(e){d(K,e)||d(O,e)||n.push(e)})),n},fe=function(e){var t=e===B,n=X(t?J:g(e)),i=[];return N(n,(function(e){!d(K,e)||t&&!d(B,e)||i.push(K[e])})),i};(l||(A((V=function(){if(this instanceof V)throw TypeError("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,t=D(e),n=function(e){this===B&&n.call(J,e),d(this,M)&&d(this[M],t)&&(this[M][t]=!1),oe(this,t,b(1,e))};return s&&ie&&oe(B,t,{configurable:!0,set:n}),re(t,e)}).prototype,"toString",(function(){return U(this).tag})),A(V,"withoutSetter",(function(e){return re(D(e),e)})),S.f=ce,C.f=se,k.f=ue,_.f=w.f=de,x.f=fe,I.f=function(e){return re(L(e),e)},s&&(G(V.prototype,"description",{configurable:!0,get:function(){return U(this).description}}),a||A(B,"propertyIsEnumerable",ce,{unsafe:!0}))),i({global:!0,wrap:!0,forced:!l,sham:!l},{Symbol:V}),N(j(te),(function(e){R(e)})),i({target:q,stat:!0,forced:!l},{for:function(e){var t=String(e);if(d(Z,t))return Z[t];var n=V(t);return Z[t]=n,ee[n]=t,n},keyFor:function(e){if(!ae(e))throw TypeError(e+" is not a symbol");if(d(ee,e))return ee[e]},useSetter:function(){ie=!0},useSimple:function(){ie=!1}}),i({target:"Object",stat:!0,forced:!l,sham:!s},{create:function(e,t){return void 0===t?y(e):le(y(e),t)},defineProperty:se,defineProperties:le,getOwnPropertyDescriptor:ue}),i({target:"Object",stat:!0,forced:!l},{getOwnPropertyNames:de,getOwnPropertySymbols:fe}),i({target:"Object",stat:!0,forced:u((function(){x.f(1)}))},{getOwnPropertySymbols:function(e){return x.f(h(e))}}),W)&&i({target:"JSON",stat:!0,forced:!l||u((function(){var e=V();return"[null]"!=W([e])||"{}"!=W({a:e})||"{}"!=W(Object(e))}))},{stringify:function(e,t,n){for(var i,o=[e],r=1;arguments.length>r;)o.push(arguments[r++]);if(i=t,(p(t)||void 0!==e)&&!ae(e))return f(t)||(t=function(e,t){if("function"==typeof i&&(t=i.call(this,e,t)),!ae(t))return t}),o[1]=t,W.apply(null,o)}});V.prototype[z]||T(V.prototype,z,V.prototype.valueOf),P(V,q),O[M]=!0},a630:function(e,t,n){var i=n("23e7"),o=n("4df4");i({target:"Array",stat:!0,forced:!n("1c7e")((function(e){Array.from(e)}))},{from:o})},a691:function(e,t){var n=Math.ceil,i=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?i:n)(e)}},a9e3:function(e,t,n){"use strict";var i=n("83ab"),o=n("da84"),r=n("94ca"),a=n("6eeb"),s=n("5135"),l=n("c6b6"),c=n("7156"),u=n("c04e"),d=n("d039"),f=n("7c73"),p=n("241c").f,m=n("06cf").f,h=n("9bf2").f,g=n("58a8").trim,v="Number",b=o.Number,y=b.prototype,j=l(f(y))==v,_=function(e){var t,n,i,o,r,a,s,l,c=u(e,!1);if("string"==typeof c&&c.length>2)if(43===(t=(c=g(c)).charCodeAt(0))||45===t){if(88===(n=c.charCodeAt(2))||120===n)return NaN}else if(48===t){switch(c.charCodeAt(1)){case 66:case 98:i=2,o=49;break;case 79:case 111:i=8,o=55;break;default:return+c}for(a=(r=c.slice(2)).length,s=0;s<a;s++)if((l=r.charCodeAt(s))<48||l>o)return NaN;return parseInt(r,i)}return+c};if(r(v,!b(" 0o1")||!b("0b1")||b("+0x1"))){for(var w,x=function(e){var t=arguments.length<1?0:e,n=this;return n instanceof x&&(j?d((function(){y.valueOf.call(n)})):l(n)!=v)?c(new b(_(t)),n,x):_(t)},k=i?p(b):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),C=0;k.length>C;C++)s(b,w=k[C])&&!s(x,w)&&h(x,w,m(b,w));x.prototype=y,y.constructor=x,a(o,v,x)}},ac1f:function(e,t,n){"use strict";var i=n("23e7"),o=n("9263");i({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},acd8:function(e,t,n){var i=n("23e7"),o=n("6fe5");i({global:!0,forced:parseFloat!=o},{parseFloat:o})},ad6d:function(e,t,n){"use strict";var i=n("825a");e.exports=function(){var e=i(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},ae93:function(e,t,n){"use strict";var i,o,r,a=n("e163"),s=n("9112"),l=n("5135"),c=n("b622"),u=n("c430"),d=c("iterator"),f=!1;[].keys&&("next"in(r=[].keys())?(o=a(a(r)))!==Object.prototype&&(i=o):f=!0),null==i&&(i={}),u||l(i,d)||s(i,d,(function(){return this})),e.exports={IteratorPrototype:i,BUGGY_SAFARI_ITERATORS:f}},b041:function(e,t,n){"use strict";var i=n("00ee"),o=n("f5df");e.exports=i?{}.toString:function(){return"[object "+o(this)+"]"}},b301:function(e,t,n){"use strict";var i=n("d039");e.exports=function(e,t){var n=[][e];return!n||!i((function(){n.call(null,t||function(){throw 1},1)}))}},b39a:function(e,t,n){var i=n("d066");e.exports=i("navigator","userAgent")||""},b622:function(e,t,n){var i=n("da84"),o=n("5692"),r=n("5135"),a=n("90e3"),s=n("4930"),l=n("fdbf"),c=o("wks"),u=i.Symbol,d=l?u:u&&u.withoutSetter||a;e.exports=function(e){return r(c,e)||(s&&r(u,e)?c[e]=u[e]:c[e]=d("Symbol."+e)),c[e]}},b64b:function(e,t,n){var i=n("23e7"),o=n("7b0b"),r=n("df75");i({target:"Object",stat:!0,forced:n("d039")((function(){r(1)}))},{keys:function(e){return r(o(e))}})},b680:function(e,t,n){"use strict";var i=n("23e7"),o=n("a691"),r=n("408a"),a=n("1148"),s=n("d039"),l=1..toFixed,c=Math.floor,u=function(e,t,n){return 0===t?n:t%2==1?u(e,t-1,n*e):u(e*e,t/2,n)};i({target:"Number",proto:!0,forced:l&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!s((function(){l.call({})}))},{toFixed:function(e){var t,n,i,s,l=r(this),d=o(e),f=[0,0,0,0,0,0],p="",m="0",h=function(e,t){for(var n=-1,i=t;++n<6;)i+=e*f[n],f[n]=i%1e7,i=c(i/1e7)},g=function(e){for(var t=6,n=0;--t>=0;)n+=f[t],f[t]=c(n/e),n=n%e*1e7},v=function(){for(var e=6,t="";--e>=0;)if(""!==t||0===e||0!==f[e]){var n=String(f[e]);t=""===t?n:t+a.call("0",7-n.length)+n}return t};if(d<0||d>20)throw RangeError("Incorrect fraction digits");if(l!=l)return"NaN";if(l<=-1e21||l>=1e21)return String(l);if(l<0&&(p="-",l=-l),l>1e-21)if(n=(t=function(e){for(var t=0,n=e;n>=4096;)t+=12,n/=4096;for(;n>=2;)t+=1,n/=2;return t}(l*u(2,69,1))-69)<0?l*u(2,-t,1):l/u(2,t,1),n*=4503599627370496,(t=52-t)>0){for(h(0,n),i=d;i>=7;)h(1e7,0),i-=7;for(h(u(10,i,1),0),i=t-1;i>=23;)g(1<<23),i-=23;g(1<<i),h(1,1),g(2),m=v()}else h(0,n),h(1<<-t,0),m=v()+a.call("0",d);return m=d>0?p+((s=m.length)<=d?"0."+a.call("0",d-s)+m:m.slice(0,s-d)+"."+m.slice(s-d)):p+m}})},b727:function(e,t,n){var i=n("f8c2"),o=n("44ad"),r=n("7b0b"),a=n("50c4"),s=n("65f0"),l=[].push,c=function(e){var t=1==e,n=2==e,c=3==e,u=4==e,d=6==e,f=5==e||d;return function(p,m,h,g){for(var v,b,y=r(p),j=o(y),_=i(m,h,3),w=a(j.length),x=0,k=g||s,C=t?k(p,w):n?k(p,0):void 0;w>x;x++)if((f||x in j)&&(b=_(v=j[x],x,y),e))if(t)C[x]=b;else if(b)switch(e){case 3:return!0;case 5:return v;case 6:return x;case 2:l.call(C,v)}else if(u)return!1;return d?-1:c||u?u:C}};e.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6)}},be34:function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return o}));var i=n("d3fb");function o(e){o.installed||(o.installed=!0,e.component("vue-bar-graph",i.a))}var r={install:o},a=null;"undefined"!=typeof window?a=window.Vue:void 0!==e&&(a=e.Vue),a&&a.use(r),t.a=i.a}).call(this,n("c8ba"))},c032:function(e,t,n){var i=n("b622");t.f=i},c04e:function(e,t,n){var i=n("861d");e.exports=function(e,t){if(!i(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!i(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!i(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!i(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},c430:function(e,t){e.exports=!1},c6b6:function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},c6cd:function(e,t,n){var i=n("da84"),o=n("ce4e"),r="__core-js_shared__",a=i[r]||o(r,{});e.exports=a},c8ba:function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},ca84:function(e,t,n){var i=n("5135"),o=n("fc6a"),r=n("4d64").indexOf,a=n("d012");e.exports=function(e,t){var n,s=o(e),l=0,c=[];for(n in s)!i(a,n)&&i(s,n)&&c.push(n);for(;t.length>l;)i(s,n=t[l++])&&(~r(c,n)||c.push(n));return c}},cc12:function(e,t,n){var i=n("da84"),o=n("861d"),r=i.document,a=o(r)&&o(r.createElement);e.exports=function(e){return a?r.createElement(e):{}}},ce4e:function(e,t,n){var i=n("da84"),o=n("9112");e.exports=function(e,t){try{o(i,e,t)}catch(n){i[e]=t}return t}},d012:function(e,t){e.exports={}},d039:function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},d066:function(e,t,n){var i=n("428f"),o=n("da84"),r=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?r(i[e])||r(o[e]):i[e]&&i[e][t]||o[e]&&o[e][t]}},d1e7:function(e,t,n){"use strict";var i={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,r=o&&!i.call({1:2},1);t.f=r?function(e){var t=o(this,e);return!!t&&t.enumerable}:i},d28b:function(e,t,n){n("746f")("iterator")},d2bb:function(e,t,n){var i=n("825a"),o=n("3bbe");e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),t=n instanceof Array}catch(e){}return function(n,r){return i(n),o(r),t?e.call(n,r):n.__proto__=r,n}}():void 0)},d3b7:function(e,t,n){var i=n("00ee"),o=n("6eeb"),r=n("b041");i||o(Object.prototype,"toString",r,{unsafe:!0})},d3fb:function(e,t,n){"use strict";n("a4d3"),n("4de4"),n("d81d"),n("a9e3"),n("b680"),n("e439"),n("dbb4"),n("b64b"),n("d3b7"),n("07ac"),n("acd8"),n("ac1f"),n("25f0"),n("5319"),n("159b");function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n("e01a"),n("d28b"),n("a630"),n("e260"),n("3ca3"),n("ddb0");function o(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function r(e){return(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})(e)}function a(e){return(a="function"==typeof Symbol&&"symbol"===r(Symbol.iterator)?function(e){return r(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":r(e)})(e)}function s(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var c,u,d,f,p,m,h,g,v,b,y,j,_,w,x,k,C,S,T,A,$,E,O,D,L={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},I={duration:.5,overwrite:!1,delay:0},R=1e8,P=1e-8,F=2*Math.PI,N=F/4,M=0,q=Math.sqrt,z=Math.cos,H=Math.sin,U=function(e){return"string"==typeof e},B=function(e){return"function"==typeof e},V=function(e){return"number"==typeof e},W=function(e){return void 0===e},Q=function(e){return"object"==typeof e},G=function(e){return!1!==e},X=function(){return"undefined"!=typeof window},Y=function(e){return B(e)||U(e)},K=Array.isArray,J=/(?:-?\.?\d|\.)+/gi,Z=/[-+=\.]*\d+[\.e\-\+]*\d*[e\-\+]*\d*/gi,ee=/[-+=\.]*\d+(?:\.|e-|e)*\d*/gi,te=/\(([^()]+)\)/i,ne=/[\+-]=-?[\.\d]+/,ie=/[#\-+\.]*\b[a-z\d-=+%.]+/gi,oe={},re={},ae=function(e){return(re=Oe(e,oe))&&an},se=function(e,t){return!t&&console.warn(e)},le=function(e,t){return e&&(oe[e]=t)&&re&&(re[e]=t)||oe},ce=function(){return 0},ue={},de=[],fe={},pe={},me={},he=30,ge=[],ve="onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",be=function(e){var t,n,i=e[0];if(Q(i)||B(i)||(e=[e]),!(t=(i._gsap||{}).harness)){for(n=ge.length;n--&&!ge[n].targetTest(i););t=ge[n]}for(n=e.length;n--;)e[n]&&(e[n]._gsap||(e[n]._gsap=new Et(e[n],t)))||e.splice(n,1);return e},ye=function(e){return e._gsap||be(Ze(e))[0]._gsap},je=function(e,t){var n=e[t];return B(n)?e[t]():W(n)&&e.getAttribute(t)||n},_e=function(e,t){return(e=e.split(",")).forEach(t)||e},we=function(e){return Math.round(1e4*e)/1e4},xe=function(e,t){for(var n=t.length,i=0;e.indexOf(t[i])<0&&++i<n;);return i<n},ke=function(e,t,n){var i,o=V(e[1]),r=(o?2:1)+(t<2?0:1),a=e[r];return o&&(a.duration=e[1]),1===t?(a.runBackwards=1,a.immediateRender=G(a.immediateRender)):2===t&&(i=e[r-1],a.startAt=i,a.immediateRender=G(a.immediateRender)),a.parent=n,a},Ce=function(){var e,t,n=de.length,i=de.slice(0);for(fe={},de.length=0,e=0;e<n;e++)(t=i[e])&&t._lazy&&(t.render(t._lazy[0],t._lazy[1],!0)._lazy=0)},Se=function(e,t,n,i){de.length&&Ce(),e.render(t,n,i),de.length&&Ce()},Te=function(e){var t=parseFloat(e);return t||0===t?t:e},Ae=function(e){return e},$e=function(e,t){for(var n in t)n in e||(e[n]=t[n]);return e},Ee=function(e,t){for(var n in t)n in e||"duration"===n||"ease"===n||(e[n]=t[n])},Oe=function(e,t){for(var n in t)e[n]=t[n];return e},De=function e(t,n){for(var i in n)t[i]=Q(n[i])?e(t[i]||(t[i]={}),n[i]):n[i];return t},Le=function(e,t){var n,i={};for(n in e)n in t||(i[n]=e[n]);return i},Ie=function(e,t,n,i){void 0===n&&(n="_first"),void 0===i&&(i="_last");var o=t._prev,r=t._next;o?o._next=r:e[n]===t&&(e[n]=r),r?r._prev=o:e[i]===t&&(e[i]=o),t._dp=e,t._next=t._prev=t.parent=null},Re=function(e,t){!e.parent||t&&!e.parent.autoRemoveChildren||e.parent.remove(e),e._act=0},Pe=function(e){for(var t=e;t;)t._dirty=1,t=t.parent;return e},Fe=function(e){for(var t=e.parent;t&&t.parent;)t._dirty=1,t.totalDuration(),t=t.parent;return e},Ne=function e(t){return!t||t._ts&&e(t.parent)},Me=function(e){return e._repeat?qe(e._tTime,e=e.duration()+e._rDelay)*e:0},qe=function(e,t){return(e/=t)&&~~e===e?~~e-1:~~e},ze=function(e,t){return t._ts>0?(e-t._start)*t._ts:(t._dirty?t.totalDuration():t._tDur)+(e-t._start)*t._ts},He=function(e,t,n){if(t.parent&&Re(t),t._start=n+t._delay,t._end=t._start+(t.totalDuration()/t._ts||0),function(e,t,n,i,o){void 0===n&&(n="_first"),void 0===i&&(i="_last");var r,a=e[i];if(o)for(r=t[o];a&&a[o]>r;)a=a._prev;a?(t._next=a._next,a._next=t):(t._next=e[n],e[n]=t),t._next?t._next._prev=t:e[i]=t,t._prev=a,t.parent=e}(e,t,"_first","_last",e._sort?"_start":0),e._recent=t,t._time||!t._dur&&t._initted){var i=(e.rawTime()-t._start)*t._ts;(!t._dur||Ge(0,t.totalDuration(),i)-t._tTime>P)&&t.render(i,!0)}if(Pe(e),e._dp&&e._time>=e._dur&&e._ts&&e._dur<e.duration())for(var o=e;o._dp;)o.totalTime(o._tTime,!0),o=o._dp;return e},Ue=function(e,t,n,i){return Ft(e,t),e._initted?!n&&e._pt&&(e._dur&&!1!==e.vars.lazy||!e._dur&&e.vars.lazy)?(de.push(e),e._lazy=[t,i],1):void 0:1},Be=function(e){if(e instanceof Dt)return Pe(e);var t=e._repeat;return e._tDur=t?t<0?1e20:we(e._dur*(t+1)+e._rDelay*t):e._dur,Pe(e.parent),e},Ve={_start:0,endTime:ce},We=function e(t,n,i){var o,r,a=t.labels,s=t._recent||Ve,l=t.duration()>=R?s.endTime(!1):t._dur;return U(n)&&(isNaN(n)||n in a)?"<"===(o=n.charAt(0))||">"===o?("<"===o?s._start:s.endTime(s._repeat>=0))+(parseFloat(n.substr(1))||0):(o=n.indexOf("="))<0?(n in a||(a[n]=l),a[n]):(r=+(n.charAt(o-1)+n.substr(o+1)),o>1?e(t,n.substr(0,o-1))+r:l+r):null==n?l:+n},Qe=function(e,t){return e||0===e?t(e):t},Ge=function(e,t,n){return n<e?e:n>t?t:n},Xe=function(e){return(e+"").substr((parseFloat(e)+"").length)},Ye=[].slice,Ke=function(e){return e&&Q(e)&&"length"in e&&e.length-1 in e&&Q(e[0])&&!e.nodeType&&e!==u},Je=function(e,t,n){return void 0===n&&(n=[]),e.forEach((function(e){var i;return U(e)&&!t||Ke(e)?(i=n).push.apply(i,Ze(e)):n.push(e)}))||n},Ze=function(e,t){return!U(e)||t||!d&&yt()?K(e)?Je(e,t):Ke(e)?Ye.call(e,0):e?[e]:[]:Ye.call(f.querySelectorAll(e),0)},et=function(e){if(B(e))return e;var t=Q(e)?e:{each:e},n=Ct(t.ease),i=t.from||0,o=parseFloat(t.base)||0,r={},a=i>0&&i<1,s=isNaN(i)||a,l=t.axis,c=i,u=i;return U(i)?c=u={center:.5,edges:.5,end:1}[i]||0:!a&&s&&(c=i[0],u=i[1]),function(e,a,d){var f,p,m,h,g,v,b,y,j,_=(d||t).length,w=r[_];if(!w){if(!(j="auto"===t.grid?0:(t.grid||[1,R])[1])){for(b=-R;b<(b=d[j++].getBoundingClientRect().left)&&j<_;);j--}for(w=r[_]=[],f=s?Math.min(j,_)*c-.5:i%j,p=s?_*u/j-.5:i/j|0,b=0,y=R,v=0;v<_;v++)m=v%j-f,h=p-(v/j|0),w[v]=g=l?Math.abs("y"===l?h:m):q(m*m+h*h),g>b&&(b=g),g<y&&(y=g);w.max=b-y,w.min=y,w.v=_=(parseFloat(t.amount)||parseFloat(t.each)*(j>_?_-1:l?"y"===l?_/j:j:Math.max(j,_/j))||0)*("edges"===i?-1:1),w.b=_<0?o-_:o,w.u=Xe(t.amount||t.each)||0,n=n&&_<0?kt(n):n}return _=(w[e]-w.min)/w.max||0,we(w.b+(n?n(_):_)*w.v)+w.u}},tt=function(e){var t=e<1?Math.pow(10,(e+"").length-2):1;return function(n){return~~(Math.round(parseFloat(n)/e)*e*t)/t+(V(n)?0:Xe(n))}},nt=function(e,t){var n,i,o=K(e);return!o&&Q(e)&&(n=o=e.radius||R,e=Ze(e.values),(i=!V(e[0]))&&(n*=n)),Qe(t,o?function(t){for(var o,r,a=parseFloat(i?t.x:t),s=parseFloat(i?t.y:0),l=R,c=0,u=e.length;u--;)(o=i?(o=e[u].x-a)*o+(r=e[u].y-s)*r:Math.abs(e[u]-a))<l&&(l=o,c=u);return c=!n||l<=n?e[c]:t,i||c===t||V(t)?c:c+Xe(t)}:tt(e))},it=function(e,t,n,i){return Qe(K(e)?!t:!0===n?!!(n=0):!i,(function(){return K(e)?e[~~(Math.random()*e.length)]:(n=n||1e-5)&&(i=n<1?Math.pow(10,(n+"").length-2):1)&&~~(Math.round((e+Math.random()*(t-e))/n)*n*i)/i}))},ot=function(e,t,n){return Qe(n,(function(n){return e[~~t(n)]}))},rt=function(e){for(var t,n,i,o,r=0,a="";~(t=e.indexOf("random(",r));)i=e.indexOf(")",t),o="["===e.charAt(t+7),n=e.substr(t+7,i-t-7).match(o?ie:J),a+=e.substr(r,t-r)+it(o?n:+n[0],+n[1],+n[2]||1e-5),r=i+1;return a+e.substr(r,e.length-r)},at=function(e,t,n,i,o){var r=t-e,a=i-n;return Qe(o,(function(t){return n+(t-e)/r*a}))},st=function(e,t,n){var i,o,r,a=e.labels,s=R;for(i in a)(o=a[i]-t)<0==!!n&&o&&s>(o=Math.abs(o))&&(r=i,s=o);return r},lt=function(e,t,n){var i,o,r=e.vars,a=r[t];if(a)return i=r[t+"Params"],o=r.callbackScope||e,n&&de.length&&Ce(),i?a.apply(o,i):a.call(o)},ct=function(e){return Re(e),e.progress()<1&<(e,"onInterrupt"),e},ut=function(e){var t=(e=!e.name&&e.default||e).name,n=B(e),i=t&&!n&&e.init?function(){this._props=[]}:e,o={init:ce,render:Yt,add:Rt,kill:Jt,modifier:Kt,rawVars:0},r={targetTest:0,get:0,getSetter:Wt,aliases:{},register:0};if(yt(),e!==i){if(pe[t])return;$e(i,$e(Le(e,o),r)),Oe(i.prototype,Oe(o,Le(e,r))),pe[i.prop=t]=i,e.targetTest&&(ge.push(i),ue[t]=1),t=("css"===t?"CSS":t.charAt(0).toUpperCase()+t.substr(1))+"Plugin"}le(t,i),e.register&&e.register(an,i,tn)},dt=255,ft={aqua:[0,dt,dt],lime:[0,dt,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,dt],navy:[0,0,128],white:[dt,dt,dt],olive:[128,128,0],yellow:[dt,dt,0],orange:[dt,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[dt,0,0],pink:[dt,192,203],cyan:[0,dt,dt],transparent:[dt,dt,dt,0]},pt=function(e,t,n){return(6*(e=e<0?e+1:e>1?e-1:e)<1?t+(n-t)*e*6:e<.5?n:3*e<2?t+(n-t)*(2/3-e)*6:t)*dt+.5|0},mt=function(e,t){var n,i,o,r,a,s,l,c,u,d,f=e?V(e)?[e>>16,e>>8&dt,e&dt]:0:ft.black;if(!f){if(","===e.substr(-1)&&(e=e.substr(0,e.length-1)),ft[e])f=ft[e];else if("#"===e.charAt(0))4===e.length&&(n=e.charAt(1),i=e.charAt(2),o=e.charAt(3),e="#"+n+n+i+i+o+o),f=[(e=parseInt(e.substr(1),16))>>16,e>>8&dt,e&dt];else if("hsl"===e.substr(0,3))if(f=d=e.match(J),t){if(~e.indexOf("="))return e.match(Z)}else r=+f[0]%360/360,a=+f[1]/100,n=2*(s=+f[2]/100)-(i=s<=.5?s*(a+1):s+a-s*a),f.length>3&&(f[3]*=1),f[0]=pt(r+1/3,n,i),f[1]=pt(r,n,i),f[2]=pt(r-1/3,n,i);else f=e.match(J)||ft.transparent;f=f.map(Number)}return t&&!d&&(n=f[0]/dt,i=f[1]/dt,o=f[2]/dt,s=((l=Math.max(n,i,o))+(c=Math.min(n,i,o)))/2,l===c?r=a=0:(u=l-c,a=s>.5?u/(2-l-c):u/(l+c),r=l===n?(i-o)/u+(i<o?6:0):l===i?(o-n)/u+2:(n-i)/u+4,r*=60),f[0]=r+.5|0,f[1]=100*a+.5|0,f[2]=100*s+.5|0),f},ht=function(e,t){var n,i,o,r=(e+"").match(gt),a=0,s="";if(!r)return e;for(n=0;n<r.length;n++)i=r[n],a+=(o=e.substr(a,e.indexOf(i,a)-a)).length+i.length,3===(i=mt(i,t)).length&&i.push(1),s+=o+(t?"hsla("+i[0]+","+i[1]+"%,"+i[2]+"%,"+i[3]:"rgba("+i.join(","))+")";return s+e.substr(a)},gt=function(){var e,t="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3}){1,2}\\b";for(e in ft)t+="|"+e+"\\b";return new RegExp(t+")","gi")}(),vt=/hsl[a]?\(/,bt=(j=Date.now,_=500,w=33,x=j(),k=x,S=C=1/60,A=function e(t){var n,i,o=j()-k,r=!0===t;o>_&&(x+=o-w),k+=o,y.time=(k-x)/1e3,((n=y.time-S)>0||r)&&(y.frame++,S+=n+(n>=C?.004:C-n),i=1),r||(g=v(e)),i&&T.forEach((function(e){return e(y.time,o,y.frame,t)}))},y={time:0,frame:0,tick:function(){A(!0)},wake:function(){p&&(!d&&X()&&(u=d=window,f=u.document||{},oe.gsap=an,(u.gsapVersions||(u.gsapVersions=[])).push(an.version),ae(re||u.GreenSockGlobals||!u.gsap&&u||{}),b=u.requestAnimationFrame),g&&y.sleep(),v=b||function(e){return setTimeout(e,1e3*(S-y.time)+1|0)},h=1,A(2))},sleep:function(){(b?u.cancelAnimationFrame:clearTimeout)(g),h=0,v=ce},lagSmoothing:function(e,t){_=e||1e8,w=Math.min(t,_,0)},fps:function(e){C=1/(e||60),S=y.time+C},add:function(e){T.indexOf(e)<0&&T.push(e),yt()},remove:function(e){var t;~(t=T.indexOf(e))&&T.splice(t,1)},_listeners:T=[]}),yt=function(){return!h&&bt.wake()},jt={},_t=/^[\d.\-M][\d.\-,\s]/,wt=/["']/g,xt=function(e){for(var t,n,i,o={},r=e.substr(1,e.length-3).split(":"),a=r[0],s=1,l=r.length;s<l;s++)n=r[s],t=s!==l-1?n.lastIndexOf(","):n.length,i=n.substr(0,t),o[a]=isNaN(i)?i.replace(wt,"").trim():+i,a=n.substr(t+1).trim();return o},kt=function(e){return function(t){return 1-e(1-t)}},Ct=function(e,t){return e&&(B(e)?e:jt[e]||function(e){var t=(e+"").split("("),n=jt[t[0]];return n&&t.length>1&&n.config?n.config.apply(null,~e.indexOf("{")?[xt(t[1])]:te.exec(e)[1].split(",").map(Te)):jt._CE&&_t.test(e)?jt._CE("",e):n}(e))||t},St=function(e,t,n,i){void 0===n&&(n=function(e){return 1-t(1-e)}),void 0===i&&(i=function(e){return e<.5?t(2*e)/2:1-t(2*(1-e))/2});var o,r={easeIn:t,easeOut:n,easeInOut:i};return _e(e,(function(e){for(var t in jt[e]=oe[e]=r,jt[o=e.toLowerCase()]=n,r)jt[o+("easeIn"===t?".in":"easeOut"===t?".out":".inOut")]=jt[e+"."+t]=r[t]})),r},Tt=function(e){return function(t){return t<.5?(1-e(1-2*t))/2:.5+e(2*(t-.5))/2}},At=function e(t,n,i){var o=n>=1?n:1,r=(i||(t?.3:.45))/(n<1?n:1),a=r/F*(Math.asin(1/o)||0),s=function(e){return 1===e?1:o*Math.pow(2,-10*e)*H((e-a)*r)+1},l="out"===t?s:"in"===t?function(e){return 1-s(1-e)}:Tt(s);return r=F/r,l.config=function(n,i){return e(t,n,i)},l},$t=function e(t,n){void 0===n&&(n=1.70158);var i=function(e){return--e*e*((n+1)*e+n)+1},o="out"===t?i:"in"===t?function(e){return 1-i(1-e)}:Tt(i);return o.config=function(n){return e(t,n)},o};_e("Linear,Quad,Cubic,Quart,Quint,Strong",(function(e,t){var n=t<5?t+1:t;St(e+",Power"+(n-1),t?function(e){return Math.pow(e,n)}:function(e){return e},(function(e){return 1-Math.pow(1-e,n)}),(function(e){return e<.5?Math.pow(2*e,n)/2:1-Math.pow(2*(1-e),n)/2}))})),jt.Linear.easeNone=jt.none=jt.Linear.easeIn,St("Elastic",At("in"),At("out"),At()),$=7.5625,O=1/(E=2.75),St("Bounce",(function(e){return 1-D(1-e)}),D=function(e){return e<O?$*e*e:e<.7272727272727273?$*Math.pow(e-1.5/E,2)+.75:e<.9090909090909092?$*(e-=2.25/E)*e+.9375:$*Math.pow(e-2.625/E,2)+.984375}),St("Expo",(function(e){return e?Math.pow(2,10*(e-1)):0})),St("Circ",(function(e){return-(q(1-e*e)-1)})),St("Sine",(function(e){return 1-z(e*N)})),St("Back",$t("in"),$t("out"),$t()),jt.SteppedEase=jt.steps=oe.SteppedEase={config:function(e,t){void 0===e&&(e=1);var n=1/e,i=e+(t?0:1),o=t?1:0;return function(e){return((i*Ge(0,.99999999,e)|0)+o)*n}}},I.ease=jt["quad.out"];var Et=function(e,t){this.id=M++,e._gsap=this,this.target=e,this.harness=t,this.get=t?t.get:je,this.set=t?t.getSetter:Wt},Ot=function(){function e(e,t){var n=e.parent||c;this.vars=e,this._dur=this._tDur=+e.duration||0,this._delay=+e.delay||0,(this._repeat=e.repeat||0)&&(this._rDelay=e.repeatDelay||0,this._yoyo=!!e.yoyo||!!e.yoyoEase,Be(this)),this._ts=1,this.data=e.data,h||bt.wake(),n&&He(n,this,t||0===t?t:n._time),e.reversed&&this.reversed(!0),e.paused&&this.paused(!0)}var t=e.prototype;return t.delay=function(e){return e||0===e?(this._delay=e,this):this._delay},t.duration=function(e){var t=arguments.length,n=this._repeat,i=n>0?n*((t?e:this._dur)+this._rDelay):0;return t?this.totalDuration(n<0?e:e+i):this.totalDuration()&&this._dur},t.totalDuration=function(e){if(!arguments.length)return this._tDur;var t=this._repeat,n=(e||this._rDelay)&&t<0;return this._tDur=n?1e20:e,this._dur=n?e:(e-t*this._rDelay)/(t+1),this._dirty=0,Pe(this.parent),this},t.totalTime=function(e,t){if(yt(),!arguments.length)return this._tTime;var n,i=this.parent||this._dp;if(i&&i.smoothChildTiming&&this._ts){for(n=this._start,this._start=i._time-(this._ts>0?e/this._ts:((this._dirty?this.totalDuration():this._tDur)-e)/-this._ts),this._end+=this._start-n,i._dirty||Pe(i);i.parent;)i.parent._time!==i._start+(i._ts>0?i._tTime/i._ts:(i.totalDuration()-i._tTime)/-i._ts)&&i.totalTime(i._tTime,!0),i=i.parent;this.parent||He(this._dp,this,this._start-this._delay)}return this._tTime===e&&this._dur||(this._ts||(this._pTime=e),Se(this,e,t)),this},t.time=function(e,t){return arguments.length?this.totalTime((e+Me(this))%this.duration()||(e?this._dur:0),t):this._time},t.totalProgress=function(e,t){return arguments.length?this.totalTime(this.totalDuration()*e,t):this._tTime/this.totalDuration()},t.progress=function(e,t){return arguments.length?this.totalTime(this.duration()*(!this._yoyo||1&this.iteration()?e:1-e)+Me(this),t):this.duration()?this._time/this._dur:this.ratio},t.iteration=function(e,t){var n=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(e-1)*n,t):this._repeat?qe(this._tTime,n)+1:1},t.timeScale=function(e){return arguments.length?null!==this._pauseTS?(this._pauseTS=e,this):(this._ts=e,Fe(this).totalTime(this._tTime,!0)):this._ts||this._pauseTS||0},t.paused=function(e){var t=!this._ts;return arguments.length?(t!==e&&(e?(this._pauseTS=this._ts,this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(this._ts=this._pauseTS||1,this._pauseTS=null,e=this._tTime||this._pTime,1===this.progress()&&(this._tTime-=P),this.totalTime(e,!0))),this):t},t.startTime=function(e){return arguments.length?(this.parent&&this.parent._sort&&He(this.parent,this,e-this._delay),this):this._start},t.endTime=function(e){return this._start+(G(e)?this.totalDuration():this.duration())/Math.abs(this._ts)},t.rawTime=function(e){var t=this.parent||this._dp;return t?e&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?ze(t.rawTime(e),this):this._tTime:this._tTime},t.repeat=function(e){return arguments.length?(this._repeat=e,Be(this)):this._repeat},t.repeatDelay=function(e){return arguments.length?(this._rDelay=e,Be(this)):this._rDelay},t.yoyo=function(e){return arguments.length?(this._yoyo=e,this):this._yoyo},t.seek=function(e,t){return this.totalTime(We(this,e),G(t))},t.restart=function(e,t){return this.play().totalTime(e?-this._delay:0,G(t))},t.play=function(e,t){return null!=e&&this.seek(e,t),this.reversed(!1).paused(!1)},t.reverse=function(e,t){return null!=e&&this.seek(e||this.totalDuration(),t),this.reversed(!0).paused(!1)},t.pause=function(e,t){return null!=e&&this.seek(e,t),this.paused(!0)},t.resume=function(){return this.paused(!1)},t.reversed=function(e){var t=this._ts||this._pauseTS||0;return arguments.length?(e!==this.reversed()&&(this[null===this._pauseTS?"_ts":"_pauseTS"]=Math.abs(t)*(e?-1:1),this.totalTime(this._tTime,!0)),this):t<0},t.invalidate=function(){return this._initted=0,this},t.isActive=function(e){var t,n=this.parent||this._dp,i=this._start;return!n||this._ts&&(this._initted||!e)&&n.isActive(e)&&(t=n.rawTime(!0))>=i&&t<this.endTime(!0)-P},t.eventCallback=function(e,t,n){var i=this.vars;return arguments.length>1?(t?(i[e]=t,n&&(i[e+"Params"]=n),"onUpdate"===e&&(this._onUpdate=t)):delete i[e],this):i[e]},t.then=function(e){var t=this;return new Promise((function(n){var i=e||Ae,o=function(){var e=t.then;t.then=null,(i=i(t))&&(i.then||i===t)&&(t._prom=i,t.then=e),n(i),t.then=e};t._initted&&1===t.totalProgress()&&t._ts>=0||!t._tTime&&t._ts<0?o():t._prom=o}))},t.kill=function(){ct(this)},e}();$e(Ot.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:0,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-1e-8,_prom:0,_pauseTS:null});var Dt=function(e){function t(t,n){var i;return void 0===t&&(t={}),(i=e.call(this,t,n)||this).labels={},i.smoothChildTiming=G(t.smoothChildTiming),i.autoRemoveChildren=!!t.autoRemoveChildren,i._sort=G(t.sortChildren),i}l(t,e);var n=t.prototype;return n.to=function(e,t,n){return new zt(e,ke(arguments,0,this),We(this,V(t)?arguments[3]:n)),this},n.from=function(e,t,n){return new zt(e,ke(arguments,1,this),We(this,V(t)?arguments[3]:n)),this},n.fromTo=function(e,t,n,i){return new zt(e,ke(arguments,2,this),We(this,V(t)?arguments[4]:i)),this},n.set=function(e,t,n){return t.duration=0,t.parent=this,t.repeatDelay||(t.repeat=0),t.immediateRender=!!t.immediateRender,new zt(e,t,We(this,n)),this},n.call=function(e,t,n){return He(this,zt.delayedCall(0,e,t),We(this,n))},n.staggerTo=function(e,t,n,i,o,r,a){return n.duration=t,n.stagger=n.stagger||i,n.onComplete=r,n.onCompleteParams=a,n.parent=this,new zt(e,n,We(this,o)),this},n.staggerFrom=function(e,t,n,i,o,r,a){return n.runBackwards=1,n.immediateRender=G(n.immediateRender),this.staggerTo(e,t,n,i,o,r,a)},n.staggerFromTo=function(e,t,n,i,o,r,a,s){return i.startAt=n,i.immediateRender=G(i.immediateRender),this.staggerTo(e,t,i,o,r,a,s)},n.render=function(e,t,n){var i,o,r,a,s,l,u,d,f,p,m,h=this._time,g=this._dirty?this.totalDuration():this._tDur,v=this._dur,b=e>g-P&&e>=0&&this!==c?g:e<P?0:e,y=this._zTime<0!=e<0&&(this._initted||!v);if(b!==this._tTime||n||y){if(y&&(v||(h=this._zTime),!e&&t||(this._zTime=e)),i=b,f=this._start,l=0===(d=this._ts),h!==this._time&&v&&(i+=this._time-h),this._repeat&&(m=this._yoyo,s=v+this._rDelay,((i=we(b%s))>v||g===b)&&(i=v),(a=~~(b/s))&&a===b/s&&(i=v,a--),m&&1&a&&(i=v-i,1),a!==(p=qe(this._tTime,s))&&!this._lock)){var j=m&&1&p,_=j===(m&&1&a);if(a<p&&(j=!j),h=j?0:v,this._lock=1,this.render(h,t,!v)._lock=0,!t&&this.parent&<(this,"onRepeat"),h!==this._time||l!==!this._ts)return this;if(_&&(this._lock=2,h=j?v+1e-4:-1e-4,this.render(h,!0)),this._lock=0,!this._ts&&!l)return this}if(this._hasPause&&!this._forcing&&this._lock<2&&(u=function(e,t,n){var i;if(n>t)for(i=e._first;i&&i._start<=n;){if(!i._dur&&"isPause"===i.data&&i._start>t)return i;i=i._next}else for(i=e._last;i&&i._start>=n;){if(!i._dur&&"isPause"===i.data&&i._start<t)return i;i=i._prev}}(this,we(h),we(i)))&&(b-=i-(i=u._start)),this._tTime=b,this._time=i,this._act=!d,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1),h||!i||t||lt(this,"onStart"),i>=h&&e>=0)for(o=this._first;o;){if(r=o._next,(o._act||i>=o._start)&&o._ts&&u!==o){if(o.parent!==this)return this.render(e,t,n);if(o.render(o._ts>0?(i-o._start)*o._ts:(o._dirty?o.totalDuration():o._tDur)+(i-o._start)*o._ts,t,n),i!==this._time||!this._ts&&!l){u=0;break}}o=r}else{o=this._last;for(var w=e<0?e:i;o;){if(r=o._prev,(o._act||w<=o._end)&&o._ts&&u!==o){if(o.parent!==this)return this.render(e,t,n);if(o.render(o._ts>0?(w-o._start)*o._ts:(o._dirty?o.totalDuration():o._tDur)+(w-o._start)*o._ts,t,n),i!==this._time||!this._ts&&!l){u=0;break}}o=r}}if(u&&!t&&(this.pause(),u.render(i>=h?0:-1e-8)._zTime=i>=h?1:-1,this._ts))return this._start=f,this.render(e,t,n);this._onUpdate&&!t&<(this,"onUpdate",!0),(b===g||!b&&this._ts<0)&&(f!==this._start&&Math.abs(d)===Math.abs(this._ts)||(!i||g>=this.totalDuration())&&((e||!v)&&Re(this,1),t||e<0&&!h||(lt(this,b===g?"onComplete":"onReverseComplete",!0),this._prom&&this._prom())))}return this},n.add=function(e,t){var n=this;if(V(t)||(t=We(this,t)),!(e instanceof Ot)){if(K(e))return e.forEach((function(e){return n.add(e,t)})),Pe(this);if(U(e))return this.addLabel(e,t);if(!B(e))return this;e=zt.delayedCall(0,e)}return this!==e?He(this,e,t):this},n.getChildren=function(e,t,n,i){void 0===e&&(e=!0),void 0===t&&(t=!0),void 0===n&&(n=!0),void 0===i&&(i=-R);for(var o=[],r=this._first;r;)r._start>=i&&(r instanceof zt?t&&o.push(r):(n&&o.push(r),e&&o.push.apply(o,r.getChildren(!0,t,n)))),r=r._next;return o},n.getById=function(e){for(var t=this.getChildren(1,1,1),n=t.length;n--;)if(t[n].vars.id===e)return t[n]},n.remove=function(e){return U(e)?this.removeLabel(e):B(e)?this.killTweensOf(e):(Ie(this,e),e===this._recent&&(this._recent=this._last),Pe(this))},n.totalTime=function(t,n){return arguments.length?(this._forcing=1,this.parent||this._dp||!this._ts||(this._start=bt.time-(this._ts>0?t/this._ts:(this.totalDuration()-t)/-this._ts)),e.prototype.totalTime.call(this,t,n),this._forcing=0,this):this._tTime},n.addLabel=function(e,t){return this.labels[e]=We(this,t),this},n.removeLabel=function(e){return delete this.labels[e],this},n.addPause=function(e,t,n){var i=zt.delayedCall(0,t||ce,n);return i.data="isPause",this._hasPause=1,He(this,i,We(this,e))},n.removePause=function(e){var t=this._first;for(e=We(this,e);t;)t._start===e&&"isPause"===t.data&&Re(t),t=t._next},n.killTweensOf=function(e,t,n){for(var i=this.getTweensOf(e,n),o=i.length;o--;)Lt!==i[o]&&i[o].kill(e,t);return this},n.getTweensOf=function(e,t){for(var n,i=[],o=Ze(e),r=this._first;r;)r instanceof zt?!xe(r._targets,o)||t&&!r.isActive("started"===t)||i.push(r):(n=r.getTweensOf(o,t)).length&&i.push.apply(i,n),r=r._next;return i},n.tweenTo=function(e,t){var n=this,i=We(n,e),o=t&&t.startAt,r=zt.to(n,$e({ease:"none",lazy:!1,time:i,duration:Math.abs(i-(o&&"time"in o?o.time:n._time))/n.timeScale()||P,onStart:function(){n.pause();var e=Math.abs(i-n._time)/n.timeScale();r._dur!==e&&(r._dur=e,r.render(r._time,!0,!0)),t&&t.onStart&&t.onStart.apply(r,t.onStartParams||[])}},t));return r},n.tweenFromTo=function(e,t,n){return this.tweenTo(t,$e({startAt:{time:We(this,e)}},n))},n.recent=function(){return this._recent},n.nextLabel=function(e){return void 0===e&&(e=this._time),st(this,We(this,e))},n.previousLabel=function(e){return void 0===e&&(e=this._time),st(this,We(this,e),1)},n.currentLabel=function(e){return arguments.length?this.seek(e,!0):this.previousLabel(this._time+P)},n.shiftChildren=function(e,t,n){void 0===n&&(n=0);for(var i,o=this._first,r=this.labels;o;)o._start>=n&&(o._start+=e),o=o._next;if(t)for(i in r)r[i]>=n&&(r[i]+=e);return Pe(this)},n.invalidate=function(){var t=this._first;for(this._lock=0;t;)t.invalidate(),t=t._next;return e.prototype.invalidate.call(this)},n.clear=function(e){void 0===e&&(e=!0);for(var t,n=this._first;n;)t=n._next,this.remove(n),n=t;return this._time=this._tTime=0,e&&(this.labels={}),Pe(this)},n.totalDuration=function(e){var t,n,i=0,o=this,r=o._last,a=R,s=o._repeat,l=s*o._rDelay||0,u=s<0;if(!arguments.length){if(o._dirty){for(;r;)t=r._prev,r._dirty&&r.totalDuration(),r._start>a&&o._sort&&r._ts&&!o._lock?(o._lock=1,He(o,r,r._start-r._delay),o._lock=0):a=r._start,r._start<0&&r._ts&&(i-=r._start,(!o.parent&&!o._dp||o.parent&&o.parent.smoothChildTiming)&&(o._start+=r._start/o._ts,o._time-=r._start,o._tTime-=r._start),o.shiftChildren(-r._start,!1,-R),a=0),(n=r._end=r._start+r._tDur/Math.abs(r._ts||r._pauseTS||P))>i&&r._ts&&(i=we(n)),r=t;o._dur=o===c&&o._time>i?o._time:Math.min(R,i),o._tDur=u&&(o._dur||l)?1e20:Math.min(R,i*(s+1)+l),o._end=o._start+(o._tDur/Math.abs(o._ts||o._pauseTS||P)||0),o._dirty=0}return o._tDur}return u?o:o.timeScale(o.totalDuration()/e)},t.updateRoot=function(e){if(c._ts&&Se(c,ze(e,c)),bt.frame>=he){he+=L.autoSleep||120;var t=c._first;if((!t||!t._ts)&&L.autoSleep&&bt._listeners.length<2){for(;t&&!t._ts;)t=t._next;t||bt.sleep()}}},t}(Ot);$e(Dt.prototype,{_lock:0,_hasPause:0,_forcing:0});var Lt,It=function(e,t,n,i,o,r,a){var s,l,c,u,d,f,p,m,h=new tn(this._pt,e,t,0,1,Xt,null,o),g=0,v=0;for(h.b=n,h.e=i,n+="",(p=~(i+="").indexOf("random("))&&(i=rt(i)),r&&(r(m=[n,i],e,t),n=m[0],i=m[1]),l=n.match(ee)||[];s=ee.exec(i);)u=s[0],d=i.substring(g,s.index),c?c=(c+1)%5:"rgba("===d.substr(-5)&&(c=1),u!==l[v++]&&(f=parseFloat(l[v-1])||0,h._pt={_next:h._pt,p:d||1===v?d:",",s:f,c:"="===u.charAt(1)?parseFloat(u.substr(2))*("-"===u.charAt(0)?-1:1):parseFloat(u)-f,m:c&&c<4?Math.round:0},g=ee.lastIndex);return h.c=g<i.length?i.substring(g,i.length):"",h.fp=a,(ne.test(i)||p)&&(h.e=0),this._pt=h,h},Rt=function(e,t,n,i,o,r,a,s,l){B(i)&&(i=i(o||0,e,r));var c,u,d,f=e[t],p="get"!==n?n:B(f)?l?e[t.indexOf("set")||!B(e["get"+t.substr(3)])?t:"get"+t.substr(3)](l):e[t]():f,m=B(f)?l?Bt:Ut:Ht;if(U(i)&&(~i.indexOf("random(")&&(i=rt(i)),"="===i.charAt(1)&&(i=parseFloat(p)+parseFloat(i.substr(2))*("-"===i.charAt(0)?-1:1)+(Xe(p)||0))),p!==i)return isNaN(p+i)?(!f&&!(t in e)&&(u=t,d=i,console.warn("Invalid property",u,"set to",d,"Missing plugin? gsap.registerPlugin()")),It.call(this,e,t,p,i,m,s||L.stringFilter,l)):(c=new tn(this._pt,e,t,+p||0,i-(p||0),"boolean"==typeof f?Gt:Qt,0,m),l&&(c.fp=l),a&&c.modifier(a,this,e),this._pt=c)},Pt=function(e,t,n,i,o,r){var a,s,l,c;if(pe[e]&&!1!==(a=new pe[e]).init(o,a.rawVars?t[e]:function(e,t,n,i,o){if(B(e)&&(e=Nt(e,o,t,n,i)),!Q(e)||e.style&&e.nodeType||K(e))return U(e)?Nt(e,o,t,n,i):e;var r,a={};for(r in e)a[r]=Nt(e[r],o,t,n,i);return a}(t[e],i,o,r,n),n,i,r)&&(n._pt=s=new tn(n._pt,o,e,0,1,a.render,a,0,a.priority),n!==m))for(l=n._ptLookup[n._targets.indexOf(o)],c=a._props.length;c--;)l[a._props[c]]=s;return a},Ft=function e(t,n){var i,o,r,a,s,l,u,d,f,p,m,h,g=t.vars,v=g.ease,b=g.startAt,y=g.immediateRender,j=g.lazy,_=g.onUpdate,w=g.onUpdateParams,x=g.callbackScope,k=g.runBackwards,C=g.yoyoEase,S=g.keyframes,T=g.autoRevert,A=t._dur,$=t._startAt,E=t._targets,O=t.parent,D=O&&"nested"===O.data?O.parent._targets:E,L="auto"===t._overwrite,R=t.timeline;if(!R||S&&v||(v="none"),t._ease=Ct(v,I.ease),t._yEase=C?kt(Ct(!0===C?v:C,I.ease)):0,C&&t._yoyo&&!t._repeat&&(C=t._yEase,t._yEase=t._ease,t._ease=C),!R){if($&&$.render(-1,!0).kill(),b){if(Re(t._startAt=zt.set(E,$e({data:"isStart",overwrite:!1,parent:O,immediateRender:!0,lazy:G(j),startAt:null,delay:0,onUpdate:_,onUpdateParams:w,callbackScope:x,stagger:0},b))),y)if(n>0)!T&&(t._startAt=0);else if(A)return}else if(k&&A)if($)!T&&(t._startAt=0);else if(n&&(y=!1),Re(t._startAt=zt.set(E,Oe(Le(g,ue),{overwrite:!1,data:"isFromStart",lazy:y&&G(j),immediateRender:y,stagger:0,parent:O}))),y){if(!n)return}else e(t._startAt,P);for(i=Le(g,ue),t._pt=0,h=(d=E[0]?ye(E[0]).harness:0)&&g[d.prop],j=A&&G(j)||j&&!A,o=0;o<E.length;o++){if(u=(s=E[o])._gsap||be(E)[o]._gsap,t._ptLookup[o]=p={},fe[u.id]&&Ce(),m=D===E?o:D.indexOf(s),d&&!1!==(f=new d).init(s,h||i,t,m,D)&&(t._pt=a=new tn(t._pt,s,f.name,0,1,f.render,f,0,f.priority),f._props.forEach((function(e){p[e]=a})),f.priority&&(l=1)),!d||h)for(r in i)pe[r]&&(f=Pt(r,i,t,m,s,D))?f.priority&&(l=1):p[r]=a=Rt.call(t,s,r,"get",i[r],m,D,0,g.stringFilter);t._op&&t._op[o]&&t.kill(s,t._op[o]),L&&t._pt&&(Lt=t,c.killTweensOf(s,p,"started"),Lt=0),t._pt&&j&&(fe[u.id]=1)}l&&en(t),t._onInit&&t._onInit(t)}t._from=!R&&!!g.runBackwards,t._onUpdate=_,t._initted=1},Nt=function(e,t,n,i,o){return B(e)?e.call(t,n,i,o):U(e)&&~e.indexOf("random(")?rt(e):e},Mt=ve+",repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase",qt=(Mt+",id,stagger,delay,duration,paused").split(","),zt=function(e){function t(t,n,i){var o;"number"==typeof n&&(i.duration=n,n=i,i=null);var r,a,l,u,d,f,p,m,h=(o=e.call(this,function(e){var t=e.parent||c,n=e.keyframes?Ee:$e;if(G(e.inherit))for(;t;)n(e,t.vars.defaults),t=t.parent;return e}(n),i)||this).vars,g=h.duration,v=h.delay,b=h.immediateRender,y=h.stagger,j=h.overwrite,_=h.keyframes,w=h.defaults,x=K(t)&&V(t[0])?[t]:Ze(t);if(o._targets=x.length?be(x):se("GSAP target "+t+" not found. https://greensock.com",!L.nullTargetWarn)||[],o._ptLookup=[],o._overwrite=j,_||y||Y(g)||Y(v)){if(n=o.vars,(r=o.timeline=new Dt({data:"nested",defaults:w||{}})).kill(),r.parent=s(o),_)$e(r.vars.defaults,{ease:"none"}),_.forEach((function(e){return r.to(x,e,">")}));else{if(u=x.length,p=y?et(y):ce,Q(y))for(d in y)~Mt.indexOf(d)&&(m||(m={}),m[d]=y[d]);for(a=0;a<u;a++){for(d in l={},n)qt.indexOf(d)<0&&(l[d]=n[d]);l.stagger=0,m&&Oe(l,m),n.yoyoEase&&!n.repeat&&(l.yoyoEase=n.yoyoEase),f=x[a],l.duration=+Nt(g,s(o),a,f,x),l.delay=(+Nt(v,s(o),a,f,x)||0)-o._delay,!y&&1===u&&l.delay&&(o._delay=v=l.delay,o._start+=v,l.delay=0),r.to(f,l,p(a,f,x))}g=v=0}g||o.duration(g=r.duration())}else o.timeline=0;return!0===j&&(Lt=s(o),c.killTweensOf(x),Lt=0),(b||!g&&!_&&o._start===o.parent._time&&G(b)&&Ne(s(o))&&"nested"!==o.parent.data)&&(o._tTime=-1e-8,o.render(Math.max(0,-v))),o}l(t,e);var n=t.prototype;return n.render=function(e,t,n){var i,o,r,a,s,l,c,u,d,f=this._time,p=this._tDur,m=this._dur,h=e>p-P&&e>=0?p:e<P?0:e;if(m){if(h!==this._tTime||!e||n||this._startAt&&this._zTime<0!=e<0){if(i=h,u=this.timeline,this._repeat){if(a=m+this._rDelay,(i=we(h%a))>m&&(i=m),(r=~~(h/a))&&r===h/a&&(i=m,r--),(l=this._yoyo&&1&r)&&(d=this._yEase,i=m-i),s=qe(this._tTime,a),i===f&&!n&&this._initted)return this;r!==s&&this.vars.repeatRefresh&&!this._lock&&(this._lock=n=1,this.render(a*r,!0).invalidate()._lock=0)}if(!this._initted&&Ue(this,i,n,t))return this;for(this._tTime=h,this._time=i,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=c=(d||this._ease)(i/m),this._from&&(this.ratio=c=1-c),f||!i||t||lt(this,"onStart"),o=this._pt;o;)o.r(c,o.d),o=o._next;u&&u.render(e<0?e:!i&&l?-1e-8:u._dur*c,t,n)||this._startAt&&(this._zTime=e),this._onUpdate&&!t&&(e<0&&this._startAt&&this._startAt.render(e,!0,n),lt(this,"onUpdate")),this._repeat&&r!==s&&this.vars.onRepeat&&!t&&this.parent&<(this,"onRepeat"),h!==p&&h||this._tTime!==h||(e<0&&this._startAt&&!this._onUpdate&&this._startAt.render(e,!0,n),(e||!m)&&(h||this._ts<0)&&Re(this,1),t||e<0&&!f||(lt(this,h===p?"onComplete":"onReverseComplete",!0),this._prom&&this._prom()))}}else!function(e,t,n,i){var o,r=e._zTime<0?0:1,a=t<0?0:1,s=e._rDelay,l=0;if(s&&e._repeat&&(l=Ge(0,e._tDur,t),qe(l,s)!==qe(e._tTime,s)&&(r=1-a,e.vars.repeatRefresh&&e._initted&&e.invalidate())),(e._initted||!Ue(e,t,i,n))&&(a!==r||i||e._zTime===P||!t&&e._zTime)){for(e._zTime=t||(n?P:0),e.ratio=a,e._from&&(a=1-a),e._time=0,e._tTime=l,n||lt(e,"onStart"),o=e._pt;o;)o.r(a,o.d),o=o._next;!a&&e._startAt&&!e._onUpdate&&e._start&&e._startAt.render(t,!0,i),e._onUpdate&&!n&<(e,"onUpdate"),l&&e._repeat&&!n&&e.parent&<(e,"onRepeat"),(t>=e._tDur||t<0)&&e.ratio===a&&(e.ratio&&Re(e,1),n||(lt(e,e.ratio?"onComplete":"onReverseComplete",!0),e._prom&&e._prom()))}}(this,e,t,n);return this},n.targets=function(){return this._targets},n.invalidate=function(){return this._pt=this._op=this._startAt=this._onUpdate=this._act=this._lazy=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(),e.prototype.invalidate.call(this)},n.kill=function(e,t){if(void 0===t&&(t="all"),!(e||t&&"all"!==t)&&(this._lazy=0,this.parent))return ct(this);if(this.timeline)return this.timeline.killTweensOf(e,t,Lt&&!0!==Lt.vars.overwrite),this;var n,i,o,r,a,s,l,c=this._targets,u=e?Ze(e):c,d=this._ptLookup,f=this._pt;if((!t||"all"===t)&&function(e,t){for(var n=e.length,i=n===t.length;i&&n--&&e[n]===t[n];);return n<0}(c,u))return ct(this);for(n=this._op=this._op||[],"all"!==t&&(U(t)&&(a={},_e(t,(function(e){return a[e]=1})),t=a),t=function(e,t){var n,i,o,r,a=e[0]?ye(e[0]).harness:0,s=a&&a.aliases;if(!s)return t;for(i in n=Oe({},t),s)if(i in n)for(o=(r=s[i].split(",")).length;o--;)n[r[o]]=n[i];return n}(c,t)),l=c.length;l--;)if(~u.indexOf(c[l]))for(a in i=d[l],"all"===t?(n[l]=t,r=i,o={}):(o=n[l]=n[l]||{},r=t),r)(s=i&&i[a])&&("kill"in s.d&&!0!==s.d.kill(a)||Ie(this,s,"_pt"),delete i[a]),"all"!==o&&(o[a]=1);return this._initted&&!this._pt&&f&&ct(this),this},t.to=function(e,n){return new t(e,n,arguments[2])},t.from=function(e,n){return new t(e,ke(arguments,1))},t.delayedCall=function(e,n,i,o){return new t(n,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:e,onComplete:n,onReverseComplete:n,onCompleteParams:i,onReverseCompleteParams:i,callbackScope:o})},t.fromTo=function(e,n,i){return new t(e,ke(arguments,2))},t.set=function(e,n){return n.duration=0,n.repeatDelay||(n.repeat=0),new t(e,n)},t.killTweensOf=function(e,t,n){return c.killTweensOf(e,t,n)},t}(Ot);$e(zt.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),_e("staggerTo,staggerFrom,staggerFromTo",(function(e){zt[e]=function(){var t=new Dt,n=Ze(arguments);return n.splice("staggerFromTo"===e?5:4,0,0),t[e].apply(t,n)}}));var Ht=function(e,t,n){return e[t]=n},Ut=function(e,t,n){return e[t](n)},Bt=function(e,t,n,i){return e[t](i.fp,n)},Vt=function(e,t,n){return e.setAttribute(t,n)},Wt=function(e,t){return B(e[t])?Ut:W(e[t])&&e.setAttribute?Vt:Ht},Qt=function(e,t){return t.set(t.t,t.p,Math.round(1e4*(t.s+t.c*e))/1e4,t)},Gt=function(e,t){return t.set(t.t,t.p,!!(t.s+t.c*e),t)},Xt=function(e,t){var n=t._pt,i="";if(!e&&t.b)i=t.b;else if(1===e&&t.e)i=t.e;else{for(;n;)i=n.p+(n.m?n.m(n.s+n.c*e):Math.round(1e4*(n.s+n.c*e))/1e4)+i,n=n._next;i+=t.c}t.set(t.t,t.p,i,t)},Yt=function(e,t){for(var n=t._pt;n;)n.r(e,n.d),n=n._next},Kt=function(e,t,n,i){for(var o,r=this._pt;r;)o=r._next,r.p===i&&r.modifier(e,t,n),r=o},Jt=function(e){for(var t,n,i=this._pt;i;)n=i._next,i.p===e&&!i.op||i.op===e?Ie(this,i,"_pt"):i.dep||(t=1),i=n;return!t},Zt=function(e,t,n,i){i.mSet(e,t,i.m.call(i.tween,n,i.mt),i)},en=function(e){for(var t,n,i,o,r=e._pt;r;){for(t=r._next,n=i;n&&n.pr>r.pr;)n=n._next;(r._prev=n?n._prev:o)?r._prev._next=r:i=r,(r._next=n)?n._prev=r:o=r,r=t}e._pt=i},tn=function(){function e(e,t,n,i,o,r,a,s,l){this.t=t,this.s=i,this.c=o,this.p=n,this.r=r||Qt,this.d=a||this,this.set=s||Ht,this.pr=l||0,this._next=e,e&&(e._prev=this)}return e.prototype.modifier=function(e,t,n){this.mSet=this.mSet||this.set,this.set=Zt,this.m=e,this.mt=n,this.tween=t},e}();_e(ve+",parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert",(function(e){ue[e]=1,"on"===e.substr(0,2)&&(ue[e+"Params"]=1)})),oe.TweenMax=oe.TweenLite=zt,oe.TimelineLite=oe.TimelineMax=Dt,c=new Dt({sortChildren:!1,defaults:I,autoRemoveChildren:!0,id:"root"}),L.stringFilter=function(e){var t,n=e.join(" ");gt.lastIndex=0,gt.test(n)&&(t=vt.test(n),e[0]=ht(e[0],t),e[1]=ht(e[1],t))};var nn={registerPlugin:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];t.forEach((function(e){return ut(e)}))},timeline:function(e){return new Dt(e)},getTweensOf:function(e,t){return c.getTweensOf(e,t)},getProperty:function(e,t,n,i){U(e)&&(e=Ze(e)[0]);var o=ye(e||{}).get,r=n?Ae:Te;return"native"===n&&(n=""),e?t?r((pe[t]&&pe[t].get||o)(e,t,n,i)):function(t,n,i){return r((pe[t]&&pe[t].get||o)(e,t,n,i))}:e},quickSetter:function(e,t,n){if((e=Ze(e)).length>1){var i=e.map((function(e){return an.quickSetter(e,t,n)})),o=i.length;return function(e){for(var t=o;t--;)i[t](e)}}e=e[0]||{};var r=pe[t],a=ye(e),s=r?function(t){var i=new r;m._pt=0,i.init(e,n?t+n:t,m,0,[e]),i.render(1,i),m._pt&&Yt(1,m)}:a.set(e,t);return r?s:function(i){return s(e,t,n?i+n:i,a,1)}},isTweening:function(e){return c.getTweensOf(e,!0).length>0},defaults:function(e){return e&&e.ease&&(e.ease=Ct(e.ease,I.ease)),De(I,e||{})},config:function(e){return De(L,e||{})},registerEffect:function(e){var t=e.name,n=e.effect,i=e.plugins,o=e.defaults,r=e.extendTimeline;(i||"").split(",").forEach((function(e){return e&&!pe[e]&&!oe[e]&&se(t+" effect requires "+e+" plugin.")})),me[t]=function(e,t){return n(Ze(e),$e(t||{},o))},r&&(Dt.prototype[t]=function(e,n,i){return this.add(me[t](e,Q(n)?n:(i=n)&&{}),i)})},registerEase:function(e,t){jt[e]=Ct(t)},parseEase:function(e,t){return arguments.length?Ct(e,t):jt},getById:function(e){return c.getById(e)},exportRoot:function(e,t){void 0===e&&(e={});var n,i,o=new Dt(e);for(o.smoothChildTiming=G(e.smoothChildTiming),c.remove(o),o._dp=0,o._time=o._tTime=c._time,n=c._first;n;)i=n._next,!t&&!n._dur&&n instanceof zt&&n.vars.onComplete===n._targets[0]||He(o,n,n._start-n._delay),n=i;return He(c,o,0),o},utils:{wrap:function e(t,n,i){var o=n-t;return K(t)?ot(t,e(0,t.length),n):Qe(i,(function(e){return(o+(e-t)%o)%o+t}))},wrapYoyo:function e(t,n,i){var o=n-t,r=2*o;return K(t)?ot(t,e(0,t.length-1),n):Qe(i,(function(e){return t+((e=(r+(e-t)%r)%r)>o?r-e:e)}))},distribute:et,random:it,snap:nt,normalize:function(e,t,n){return at(e,t,0,1,n)},getUnit:Xe,clamp:function(e,t,n){return Qe(n,(function(n){return Ge(e,t,n)}))},splitColor:mt,toArray:Ze,mapRange:at,pipe:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return t.reduce((function(e,t){return t(e)}),e)}},unitize:function(e,t){return function(n){return e(parseFloat(n))+(t||Xe(n))}},interpolate:function e(t,n,i,o){var r=isNaN(t+n)?0:function(e){return(1-e)*t+e*n};if(!r){var a,s,l,c,u,d=U(t),f={};if(!0===i&&(o=1)&&(i=null),d)t={p:t},n={p:n};else if(K(t)&&!K(n)){for(l=[],c=t.length,u=c-2,s=1;s<c;s++)l.push(e(t[s-1],t[s]));c--,r=function(e){e*=c;var t=Math.min(u,~~e);return l[t](e-t)},i=n}else o||(t=Oe(K(t)?[]:{},t));if(!l){for(a in n)Rt.call(f,t,a,"get",n[a]);r=function(e){return Yt(e,f)||(d?t.p:t)}}}return Qe(i,r)}},install:ae,effects:me,ticker:bt,updateRoot:Dt.updateRoot,plugins:pe,globalTimeline:c,core:{PropTween:tn,globals:le,Tween:zt,Timeline:Dt,Animation:Ot,getCache:ye}};_e("to,from,fromTo,delayedCall,set,killTweensOf",(function(e){return nn[e]=zt[e]})),bt.add(Dt.updateRoot),m=nn.to({},{duration:0});var on=function(e,t){for(var n=e._pt;n&&n.p!==t&&n.op!==t&&n.fp!==t;)n=n._next;return n},rn=function(e,t){return{name:e,rawVars:1,init:function(e,n,i){i._onInit=function(e){var i,o;if(U(n)&&(i={},_e(n,(function(e){return i[e]=1})),n=i),t){for(o in i={},n)i[o]=t(n[o]);n=i}!function(e,t){var n,i,o,r=e._targets;for(n in t)for(i=r.length;i--;)(o=e._ptLookup[i][n])&&(o=o.d)&&(o._pt&&(o=on(o,n)),o&&o.modifier&&o.modifier(t[n],e,r[i],n))}(e,n)}}}},an=nn.registerPlugin({name:"attr",init:function(e,t,n,i,o){for(var r in t)this.add(e,"setAttribute",(e.getAttribute(r)||0)+"",t[r],i,o,0,0,r),this._props.push(r)}},{name:"endArray",init:function(e,t){for(var n=t.length;n--;)this.add(e,n,e[n]||0,t[n])}},rn("roundProps",tt),rn("modifiers"),rn("snap",nt))||nn;zt.version=Dt.version=an.version="3.0.4",p=1,X()&&yt();jt.Power0,jt.Power1,jt.Power2,jt.Power3,jt.Power4,jt.Linear,jt.Quad,jt.Cubic,jt.Quart,jt.Quint,jt.Strong,jt.Elastic,jt.Back,jt.SteppedEase,jt.Bounce,jt.Sine,jt.Expo,jt.Circ;function sn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}var ln=function(e,t,n,i,o,r,a,s){var l,c="function"==typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=n,c._compiled=!0),i&&(c.functional=!0),r&&(c._scopeId="data-v-"+r),a?(l=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},c._ssrRegister=l):o&&(l=s?function(){o.call(this,this.$root.$options.shadowRoot)}:o),l)if(c.functional){c._injectStyles=l;var u=c.render;c.render=function(e,t){return l.call(t),u(e,t)}}else{var d=c.beforeCreate;c.beforeCreate=d?[].concat(d,l):[l]}return{exports:e,options:c}}({props:{title:{type:String,default:""},points:{type:Array,default:function(){return[]}},height:{type:Number,default:100},width:{type:Number,default:300},showYAxis:{type:Boolean,default:!1},showXAxis:{type:Boolean,default:!1},labelHeight:{type:Number,default:12},showTrendLine:{type:Boolean,default:!1},trendLineColor:{type:String,default:"green"},trendLineWidth:{type:Number,default:2},easeIn:{type:Boolean,default:!0},showValues:{type:Boolean,default:!1},maxYAxis:{type:Number,default:0},animationDuration:{type:Number,default:.5},barColor:{type:String,default:"deepskyblue"},textColor:{type:String,default:"black"},textAltColor:{type:String,default:"black"},textFont:{type:String,default:"10px sans-serif"},useCustomLabels:{type:Boolean,default:!1},customLabels:{type:Array,default:function(){return[]}}},data:function(){return{dynamicPoints:[],staticPoints:[],extraTopHeightForYAxisLabel:4,extraBottomHeightForYAxisLabel:4,digitsUsedInYAxis:0}},computed:{usingObjectsForDataPoints:function(){return this.points.every((function(e){return"object"===a(e)}))},dataPoints:function(){return this.usingObjectsForDataPoints?this.points.map((function(e){return e.value})):this.points},dataLabels:function(){var e=this;return this.points.map((function(t,n){return e.useCustomLabels?e.customLabels[n]:e.usingObjectsForDataPoints?t.label:n+1}))},yAxisWidth:function(){switch(this.digitsUsedInYAxis){case 4:return 30;case 3:return 25;case 2:return 18;default:return 13}},xAxisHeight:function(){return this.showYAxis?this.labelHeight:this.labelHeight+this.extraBottomHeightForYAxisLabel+this.extraTopHeightForYAxisLabel},fullSvgWidth:function(){return this.width},fullSvgHeight:function(){return this.height},innerChartWidth:function(){return this.showYAxis?this.width-this.yAxisWidth:this.width},innerChartHeight:function(){var e=this.height;return this.showYAxis&&(e-=this.extraTopHeightForYAxisLabel+this.extraBottomHeightForYAxisLabel),this.showXAxis&&(e-=this.xAxisHeight),e},partitionWidth:function(){return this.innerChartWidth/this.dataPoints.length},maxDomain:function(){return this.maxYAxis?this.maxYAxis:Math.ceil(Math.max.apply(Math,o(this.dataPoints)))},chartData:function(){var e=this;return this.dynamicPoints.map((function(t,n){return{staticValue:e.staticPoints[n],index:n,label:e.dataLabels[n],width:e.partitionWidth-2,midPoint:e.partitionWidth/2,yLabel:e.innerChartHeight+4,x:n*e.partitionWidth,xMidpoint:n*e.partitionWidth+e.partitionWidth/2,yOffset:e.innerChartHeight-e.y(t),height:e.y(t)}}))},trendLine:function(){var e=this.applySlope(this.dynamicPoints);return{x1:this.partitionWidth/2,y1:this.roundTo(this.innerChartHeight-this.y(e[0]),2),x2:this.innerChartWidth-this.partitionWidth/2,y2:this.roundTo(this.innerChartHeight-this.y(e[e.length-1]),2)}}},watch:{dataPoints:function(e){this.tween(e)}},created:function(){this.easeIn?this.tween(this.dataPoints):(this.dynamicPoints=this.dataPoints,this.staticPoints=this.dataPoints)},methods:{y:function(e){return e/this.maxDomain*this.innerChartHeight},roundTo:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=!1,i=e;i<0&&(n=!0,i*=-1);var o=Math.pow(10,t);return i=parseFloat((i*o).toFixed(11)),i=(Math.round(i)/o).toFixed(2),n&&(i=(-1*i).toFixed(2)),i},tween:function(e){for(var t=this,n={},o={},r=0;r<e.length;r+=1){var a=r.toString();n[a]=e[r],o[a]=this.dynamicPoints[r]||0}zt.to(o,this.animationDuration,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?sn(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):sn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},n,{onUpdate:function(){var e=Object.values(o);e.pop(),t.dynamicPoints=e}})),this.staticPoints=e},getTicks:function(){for(var e=this,t=6;t>0;t-=1)if(this.maxDomain%t==0){var n=function(){var n=t<3,i=n?3:t;return e.digitsUsedInYAxis=e.maxDomain.toFixed(n?1:0).replace(".","").length,{v:o(new Array(i+1)).map((function(t,o){var r=e.maxDomain/i*(i-o),a=e.innerChartHeight/i*o;return{key:o,text:n?r.toFixed(1):r,yText:a<10?10:a+4,x1:e.yAxisWidth-4,y1:a,x2:e.yAxisWidth-1,y2:a}}))}}();if("object"===a(n))return n.v}return[]},applySlope:function(e){for(var t=0,n=0,i=0;i<e.length;i+=1)t+=i,n+=e[i];t/=e.length,n/=e.length;for(var o=0,r=0,a=0;a<e.length;a+=1)o+=(a-t)*(e[a]-n),r+=Math.pow(a-t,2);for(var s=o/r,l=n-s*t,c=[],u=0;u<e.length;u+=1)c.push(s*u+l);return c}}},(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("svg",{attrs:{width:e.fullSvgWidth,height:e.fullSvgHeight,"aria-labelledby":"title",role:"img"}},[e.title?n("title",{attrs:{id:"title"}},[e._v(e._s(e.title))]):e._e(),n("g",{attrs:{transform:"translate(0,"+(e.showYAxis?e.extraTopHeightForYAxisLabel:0)+")"}},[n("g",{attrs:{transform:"translate("+(e.showYAxis?e.yAxisWidth:0)+",0)",width:e.innerChartWidth,height:e.innerChartHeight}},[e._l(e.chartData,(function(t){return n("g",{key:t.index,attrs:{transform:"translate("+t.x+",0)"}},[n("title",[e._t("title",[n("tspan",[e._v(e._s(t.staticValue))])],{bar:t})],2),n("rect",{style:{fill:e.barColor},attrs:{width:t.width,height:t.height,x:2,y:t.yOffset}}),e.showValues?n("text",{style:{fill:t.height<22?e.textColor:e.textAltColor,font:e.textFont},attrs:{x:t.midPoint,y:t.yOffset,dy:t.height<22?"-5px":"15px","text-anchor":"middle"}},[e._v(e._s(t.staticValue))]):e._e(),e.showXAxis?n("g",[e._t("label",[n("text",{style:{fill:e.textColor,font:e.textFont},attrs:{x:t.midPoint,y:t.yLabel+10+"px","text-anchor":"middle"}},[e._v(" "+e._s(t.label)+" ")])],{bar:t,textStyle:{fill:e.textColor,font:e.textFont}}),n("line",{attrs:{x1:t.midPoint,x2:t.midPoint,y1:e.innerChartHeight+3,y2:e.innerChartHeight,stroke:"#555555","stroke-width":"1"}})],2):e._e()])})),e.showTrendLine?n("line",{attrs:{x1:e.trendLine.x1,y1:e.trendLine.y1,x2:e.trendLine.x2,y2:e.trendLine.y2,"stroke-width":e.trendLineWidth,stroke:e.trendLineColor}}):e._e()],2),e.showXAxis?n("g",[n("line",{attrs:{x1:e.showYAxis?e.yAxisWidth-1:2,x2:e.innerChartWidth+e.yAxisWidth,y1:e.innerChartHeight,y2:e.innerChartHeight,stroke:"#555555","stroke-width":"1"}})]):e._e(),e.showYAxis?n("g",[n("line",{attrs:{x1:e.yAxisWidth-1,x2:e.yAxisWidth-1,y1:e.innerChartHeight,y2:"0",stroke:"#555555","stroke-width":"1"}}),e._l(e.getTicks(),(function(t){return n("g",{key:t.key},[n("line",{attrs:{x1:t.x1,y1:t.y1,x2:t.x2,y2:t.y2,stroke:"#555555","stroke-width":"1"}}),n("text",{style:{fill:e.textColor,font:e.textFont},attrs:{x:"0",y:t.yText,"alignment-baseline":"central"}},[e._v(e._s(t.text))])])}))],2):e._e()])])}),[],!1,null,null,null);t.a=ln.exports},d44e:function(e,t,n){var i=n("9bf2").f,o=n("5135"),r=n("b622")("toStringTag");e.exports=function(e,t,n){e&&!o(e=n?e:e.prototype,r)&&i(e,r,{configurable:!0,value:t})}},d784:function(e,t,n){"use strict";var i=n("6eeb"),o=n("d039"),r=n("b622"),a=n("9263"),s=n("9112"),l=r("species"),c=!o((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),u="$0"==="a".replace(/./,"$0"),d=!o((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}));e.exports=function(e,t,n,f){var p=r(e),m=!o((function(){var t={};return t[p]=function(){return 7},7!=""[e](t)})),h=m&&!o((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[l]=function(){return n},n.flags="",n[p]=/./[p]),n.exec=function(){return t=!0,null},n[p](""),!t}));if(!m||!h||"replace"===e&&(!c||!u)||"split"===e&&!d){var g=/./[p],v=n(p,""[e],(function(e,t,n,i,o){return t.exec===a?m&&!o?{done:!0,value:g.call(t,n,i)}:{done:!0,value:e.call(n,t,i)}:{done:!1}}),{REPLACE_KEEPS_$0:u}),b=v[0],y=v[1];i(String.prototype,e,b),i(RegExp.prototype,p,2==t?function(e,t){return y.call(e,this,t)}:function(e){return y.call(e,this)})}f&&s(RegExp.prototype[p],"sham",!0)}},d81d:function(e,t,n){"use strict";var i=n("23e7"),o=n("b727").map,r=n("d039"),a=n("1dde")("map"),s=a&&!r((function(){[].map.call({length:-1,0:1},(function(e){throw e}))}));i({target:"Array",proto:!0,forced:!a||!s},{map:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},da84:function(e,t,n){(function(t){var n=function(e){return e&&e.Math==Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof t&&t)||Function("return this")()}).call(this,n("c8ba"))},dbb4:function(e,t,n){var i=n("23e7"),o=n("83ab"),r=n("56ef"),a=n("fc6a"),s=n("06cf"),l=n("8418");i({target:"Object",stat:!0,sham:!o},{getOwnPropertyDescriptors:function(e){for(var t,n,i=a(e),o=s.f,c=r(i),u={},d=0;c.length>d;)void 0!==(n=o(i,t=c[d++]))&&l(u,t,n);return u}})},ddb0:function(e,t,n){var i=n("da84"),o=n("fdbc"),r=n("e260"),a=n("9112"),s=n("b622"),l=s("iterator"),c=s("toStringTag"),u=r.values;for(var d in o){var f=i[d],p=f&&f.prototype;if(p){if(p[l]!==u)try{a(p,l,u)}catch(e){p[l]=u}if(p[c]||a(p,c,d),o[d])for(var m in r)if(p[m]!==r[m])try{a(p,m,r[m])}catch(e){p[m]=r[m]}}}},df75:function(e,t,n){var i=n("ca84"),o=n("7839");e.exports=Object.keys||function(e){return i(e,o)}},e01a:function(e,t,n){"use strict";var i=n("23e7"),o=n("83ab"),r=n("da84"),a=n("5135"),s=n("861d"),l=n("9bf2").f,c=n("e893"),u=r.Symbol;if(o&&"function"==typeof u&&(!("description"in u.prototype)||void 0!==u().description)){var d={},f=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),t=this instanceof f?new u(e):void 0===e?u():u(e);return""===e&&(d[t]=!0),t};c(f,u);var p=f.prototype=u.prototype;p.constructor=f;var m=p.toString,h="Symbol(test)"==String(u("test")),g=/^Symbol\((.*)\)[^)]+$/;l(p,"description",{configurable:!0,get:function(){var e=s(this)?this.valueOf():this,t=m.call(e);if(a(d,e))return"";var n=h?t.slice(7,-1):t.replace(g,"$1");return""===n?void 0:n}}),i({global:!0,forced:!0},{Symbol:f})}},e163:function(e,t,n){var i=n("5135"),o=n("7b0b"),r=n("f772"),a=n("e177"),s=r("IE_PROTO"),l=Object.prototype;e.exports=a?Object.getPrototypeOf:function(e){return e=o(e),i(e,s)?e[s]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?l:null}},e177:function(e,t,n){var i=n("d039");e.exports=!i((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},e260:function(e,t,n){"use strict";var i=n("fc6a"),o=n("44d2"),r=n("3f8c"),a=n("69f3"),s=n("7dd0"),l="Array Iterator",c=a.set,u=a.getterFor(l);e.exports=s(Array,"Array",(function(e,t){c(this,{type:l,target:i(e),index:0,kind:t})}),(function(){var e=u(this),t=e.target,n=e.kind,i=e.index++;return!t||i>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:i,done:!1}:"values"==n?{value:t[i],done:!1}:{value:[i,t[i]],done:!1}}),"values"),r.Arguments=r.Array,o("keys"),o("values"),o("entries")},e439:function(e,t,n){var i=n("23e7"),o=n("d039"),r=n("fc6a"),a=n("06cf").f,s=n("83ab"),l=o((function(){a(1)}));i({target:"Object",stat:!0,forced:!s||l,sham:!s},{getOwnPropertyDescriptor:function(e,t){return a(r(e),t)}})},e893:function(e,t,n){var i=n("5135"),o=n("56ef"),r=n("06cf"),a=n("9bf2");e.exports=function(e,t){for(var n=o(t),s=a.f,l=r.f,c=0;c<n.length;c++){var u=n[c];i(e,u)||s(e,u,l(t,u))}}},e8b5:function(e,t,n){var i=n("c6b6");e.exports=Array.isArray||function(e){return"Array"==i(e)}},e95a:function(e,t,n){var i=n("b622"),o=n("3f8c"),r=i("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||a[r]===e)}},f5df:function(e,t,n){var i=n("00ee"),o=n("c6b6"),r=n("b622")("toStringTag"),a="Arguments"==o(function(){return arguments}());e.exports=i?o:function(e){var t,n,i;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),r))?n:a?o(t):"Object"==(i=o(t))&&"function"==typeof t.callee?"Arguments":i}},f6fd:function(e,t){!function(e){var t="currentScript",n=e.getElementsByTagName("script");t in e||Object.defineProperty(e,t,{get:function(){try{throw new Error}catch(i){var e,t=(/.*at [^\(]*\((.*):.+:.+\)$/gi.exec(i.stack)||[!1])[1];for(e in n)if(n[e].src==t||"interactive"==n[e].readyState)return n[e];return null}}})}(document)},f772:function(e,t,n){var i=n("5692"),o=n("90e3"),r=i("keys");e.exports=function(e){return r[e]||(r[e]=o(e))}},f8c2:function(e,t,n){var i=n("1c0b");e.exports=function(e,t,n){if(i(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,i){return e.call(t,n,i)};case 3:return function(n,i,o){return e.call(t,n,i,o)}}return function(){return e.apply(t,arguments)}}},fb15:function(e,t,n){"use strict";var i;(n.r(t),"undefined"!=typeof window)&&(n("f6fd"),(i=window.document.currentScript)&&(i=i.src.match(/(.+\/)[^/]+\.js(\?.*)?$/))&&(n.p=i[1]));var o=n("be34");n.d(t,"install",(function(){return o.b}));t.default=o.a},fc6a:function(e,t,n){var i=n("44ad"),o=n("1d80");e.exports=function(e){return i(o(e))}},fdbc:function(e,t){e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},fdbf:function(e,t,n){var i=n("4930");e.exports=i&&!Symbol.sham&&"symbol"==typeof Symbol.iterator}})},"./node_modules/vue-calendar-heatmap/dist/vue-calendar-heatmap.common.js":function(e,t,n){e.exports=function(e){function t(i){if(n[i])return n[i].exports;var o=n[i]={i:i,l:!1,exports:{}};return e[i].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};return t.m=e,t.c=n,t.i=function(e){return e},t.d=function(e,n,i){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:i})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=3)}([function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"e",(function(){return o})),n.d(t,"b",(function(){return r})),n.d(t,"f",(function(){return a})),n.d(t,"c",(function(){return s})),n.d(t,"d",(function(){return l}));var i=["#ebedf0","#c0ddf9","#73b3f3","#3886e1","#17459e"],o={months:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],days:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],on:"on",less:"Less",more:"More"},r="contributions",a=365,s=7,l=10},function(e,t,n){n(7),n(6);var i=n(8)(n(5),n(9),"data-v-a9cfea66",null);e.exports=i.exports},function(e,t,n){"use strict";var i=n(0),o=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=function(){function e(t,n,o){(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,e),this.endDate=this._parseDate(t),this.max=o||Math.ceil(Math.max.apply(Math,function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(n.map((function(e){return e.count}))))/5*4),this.startDate=this._shiftDate(t,-i.f),this.values=n}return o(e,[{key:"getColorIndex",value:function(e){return e<=0?0:e>=this.max?4:Math.ceil(100*e/this.max*.03)}},{key:"getCountEmptyDaysAtStart",value:function(){return this.startDate.getDay()}},{key:"getCountEmptyDaysAtEnd",value:function(){return i.c-1-this.endDate.getDay()}},{key:"getDaysCount",value:function(){return i.f+1+this.getCountEmptyDaysAtStart()+this.getCountEmptyDaysAtEnd()}},{key:"_shiftDate",value:function(e,t){var n=new Date(e);return n.setDate(n.getDate()+t),n}},{key:"_parseDate",value:function(e){return e instanceof Date?e:new Date(e)}},{key:"_keyDayParser",value:function(e){var t=this._parseDate(e);return t.getFullYear()+"-"+t.getMonth()+"-"+t.getDate()}},{key:"activities",get:function(){var e=this;return this.values.reduce((function(t,n){return t[e._keyDayParser(n.date)]={count:n.count,colorIndex:e.getColorIndex(n.count)},t}),{})}},{key:"weekCount",get:function(){return this.getDaysCount()/i.c}},{key:"calendar",get:function(){var e=this,t=this._shiftDate(this.startDate,-this.getCountEmptyDaysAtStart());return Array.from({length:this.weekCount},(function(){return Array.from({length:i.c},(function(){var n=new Date(t.getFullYear(),t.getMonth(),t.getDate()),i=e.activities[e._keyDayParser(n)];return t.setDate(t.getDate()+1),{date:n,count:i?i.count:0,colorIndex:i?i.colorIndex:0}}))}))}},{key:"firstFullWeekOfMonths",get:function(){return this.calendar.reduce((function(e,t,n,i){if(n>0){var o=i[n-1][0].date,r=t[0].date;(o.getFullYear()<r.getFullYear()||o.getMonth()<r.getMonth())&&e.push({value:r.getMonth(),index:n})}return e}),[])}}]),e}();t.a=r},function(e,t,i){"use strict";function o(e){e.component("calendarHeatmap",a.a)}Object.defineProperty(t,"__esModule",{value:!0}),t.install=o;var r=i(1),a=i.n(r);i.d(t,"CalendarHeatmap",(function(){return a.a}));var s={version:"0.8.4",install:o};t.default=s;var l=null;"undefined"!=typeof window?l=window.Vue:void 0!==n.g&&(l=n.g.Vue),l&&l.use(s)},function(e,t,i){"use strict";function o(e){return e&&"[object Function]"==={}.toString.call(e)}function r(e,t){if(1!==e.nodeType)return[];var n=getComputedStyle(e,null);return t?n[t]:n}function a(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function s(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=r(e),n=t.overflow,i=t.overflowX;return/(auto|scroll|overlay)/.test(n+t.overflowY+i)?e:s(a(e))}function l(e){return 11===e?he:10===e?ge:he||ge}function c(e){if(!e)return document.documentElement;for(var t=l(10)?document.body:null,n=e.offsetParent;n===t&&e.nextElementSibling;)n=(e=e.nextElementSibling).offsetParent;var i=n&&n.nodeName;return i&&"BODY"!==i&&"HTML"!==i?-1!==["TD","TABLE"].indexOf(n.nodeName)&&"static"===r(n,"position")?c(n):n:e?e.ownerDocument.documentElement:document.documentElement}function u(e){return null!==e.parentNode?u(e.parentNode):e}function d(e,t){if(!(e&&e.nodeType&&t&&t.nodeType))return document.documentElement;var n=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,i=n?e:t,o=n?t:e,r=document.createRange();r.setStart(i,0),r.setEnd(o,0);var a,s,l=r.commonAncestorContainer;if(e!==l&&t!==l||i.contains(o))return"BODY"===(s=(a=l).nodeName)||"HTML"!==s&&c(a.firstElementChild)!==a?c(l):l;var f=u(e);return f.host?d(f.host,t):d(e,u(t).host)}function f(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",n="top"===t?"scrollTop":"scrollLeft",i=e.nodeName;if("BODY"===i||"HTML"===i){var o=e.ownerDocument.documentElement;return(e.ownerDocument.scrollingElement||o)[n]}return e[n]}function p(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=f(t,"top"),o=f(t,"left"),r=n?-1:1;return e.top+=i*r,e.bottom+=i*r,e.left+=o*r,e.right+=o*r,e}function m(e,t){var n="x"===t?"Left":"Top",i="Left"===n?"Right":"Bottom";return parseFloat(e["border"+n+"Width"],10)+parseFloat(e["border"+i+"Width"],10)}function h(e,t,n,i){return Math.max(t["offset"+e],t["scroll"+e],n["client"+e],n["offset"+e],n["scroll"+e],l(10)?n["offset"+e]+i["margin"+("Height"===e?"Top":"Left")]+i["margin"+("Height"===e?"Bottom":"Right")]:0)}function g(){var e=document.body,t=document.documentElement,n=l(10)&&getComputedStyle(t);return{height:h("Height",e,t,n),width:h("Width",e,t,n)}}function v(e){return je({},e,{right:e.left+e.width,bottom:e.top+e.height})}function b(e){var t={};try{if(l(10)){t=e.getBoundingClientRect();var n=f(e,"top"),i=f(e,"left");t.top+=n,t.left+=i,t.bottom+=n,t.right+=i}else t=e.getBoundingClientRect()}catch(e){}var o={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},a="HTML"===e.nodeName?g():{},s=a.width||e.clientWidth||o.right-o.left,c=a.height||e.clientHeight||o.bottom-o.top,u=e.offsetWidth-s,d=e.offsetHeight-c;if(u||d){var p=r(e);u-=m(p,"x"),d-=m(p,"y"),o.width-=u,o.height-=d}return v(o)}function y(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=l(10),o="HTML"===t.nodeName,a=b(e),c=b(t),u=s(e),d=r(t),f=parseFloat(d.borderTopWidth,10),m=parseFloat(d.borderLeftWidth,10);n&&"HTML"===t.nodeName&&(c.top=Math.max(c.top,0),c.left=Math.max(c.left,0));var h=v({top:a.top-c.top-f,left:a.left-c.left-m,width:a.width,height:a.height});if(h.marginTop=0,h.marginLeft=0,!i&&o){var g=parseFloat(d.marginTop,10),y=parseFloat(d.marginLeft,10);h.top-=f-g,h.bottom-=f-g,h.left-=m-y,h.right-=m-y,h.marginTop=g,h.marginLeft=y}return(i&&!n?t.contains(u):t===u&&"BODY"!==u.nodeName)&&(h=p(h,t)),h}function j(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.ownerDocument.documentElement,i=y(e,n),o=Math.max(n.clientWidth,window.innerWidth||0),r=Math.max(n.clientHeight,window.innerHeight||0),a=t?0:f(n),s=t?0:f(n,"left");return v({top:a-i.top+i.marginTop,left:s-i.left+i.marginLeft,width:o,height:r})}function _(e){var t=e.nodeName;return"BODY"!==t&&"HTML"!==t&&("fixed"===r(e,"position")||_(a(e)))}function w(e){if(!e||!e.parentElement||l())return document.documentElement;for(var t=e.parentElement;t&&"none"===r(t,"transform");)t=t.parentElement;return t||document.documentElement}function x(e,t,n,i){var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],r={top:0,left:0},l=o?w(e):d(e,t);if("viewport"===i)r=j(l,o);else{var c=void 0;"scrollParent"===i?"BODY"===(c=s(a(t))).nodeName&&(c=e.ownerDocument.documentElement):c="window"===i?e.ownerDocument.documentElement:i;var u=y(c,l,o);if("HTML"!==c.nodeName||_(l))r=u;else{var f=g(),p=f.height,m=f.width;r.top+=u.top-u.marginTop,r.bottom=p+u.top,r.left+=u.left-u.marginLeft,r.right=m+u.left}}return r.left+=n,r.top+=n,r.right-=n,r.bottom-=n,r}function k(e){return e.width*e.height}function C(e,t,n,i,o){var r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===e.indexOf("auto"))return e;var a=x(n,i,r,o),s={top:{width:a.width,height:t.top-a.top},right:{width:a.right-t.right,height:a.height},bottom:{width:a.width,height:a.bottom-t.bottom},left:{width:t.left-a.left,height:a.height}},l=Object.keys(s).map((function(e){return je({key:e},s[e],{area:k(s[e])})})).sort((function(e,t){return t.area-e.area})),c=l.filter((function(e){var t=e.width,i=e.height;return t>=n.clientWidth&&i>=n.clientHeight})),u=c.length>0?c[0].key:l[0].key,d=e.split("-")[1];return u+(d?"-"+d:"")}function S(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return y(n,i?w(t):d(t,n),i)}function T(e){var t=getComputedStyle(e),n=parseFloat(t.marginTop)+parseFloat(t.marginBottom),i=parseFloat(t.marginLeft)+parseFloat(t.marginRight);return{width:e.offsetWidth+i,height:e.offsetHeight+n}}function A(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,(function(e){return t[e]}))}function $(e,t,n){n=n.split("-")[0];var i=T(e),o={width:i.width,height:i.height},r=-1!==["right","left"].indexOf(n),a=r?"top":"left",s=r?"left":"top",l=r?"height":"width",c=r?"width":"height";return o[a]=t[a]+t[l]/2-i[l]/2,o[s]=n===s?t[s]-i[c]:t[A(s)],o}function E(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function O(e,t,n){return(void 0===n?e:e.slice(0,function(e,t,n){if(Array.prototype.findIndex)return e.findIndex((function(e){return e[t]===n}));var i=E(e,(function(e){return e[t]===n}));return e.indexOf(i)}(e,"name",n))).forEach((function(e){e.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=e.function||e.fn;e.enabled&&o(n)&&(t.offsets.popper=v(t.offsets.popper),t.offsets.reference=v(t.offsets.reference),t=n(t,e))})),t}function D(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=S(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=C(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=$(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=O(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function L(e,t){return e.some((function(e){var n=e.name;return e.enabled&&n===t}))}function I(e){for(var t=[!1,"ms","Webkit","Moz","O"],n=e.charAt(0).toUpperCase()+e.slice(1),i=0;i<t.length;i++){var o=t[i],r=o?""+o+n:e;if(void 0!==document.body.style[r])return r}return null}function R(){return this.state.isDestroyed=!0,L(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[I("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function P(e){var t=e.ownerDocument;return t?t.defaultView:window}function F(e,t,n,i){var o="BODY"===e.nodeName,r=o?e.ownerDocument.defaultView:e;r.addEventListener(t,n,{passive:!0}),o||F(s(r.parentNode),t,n,i),i.push(r)}function N(e,t,n,i){n.updateBound=i,P(e).addEventListener("resize",n.updateBound,{passive:!0});var o=s(e);return F(o,"scroll",n.updateBound,n.scrollParents),n.scrollElement=o,n.eventsEnabled=!0,n}function M(){this.state.eventsEnabled||(this.state=N(this.reference,this.options,this.state,this.scheduleUpdate))}function q(){this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=function(e,t){return P(e).removeEventListener("resize",t.updateBound),t.scrollParents.forEach((function(e){e.removeEventListener("scroll",t.updateBound)})),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t}(this.reference,this.state))}function z(e){return""!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function H(e,t){Object.keys(t).forEach((function(n){var i="";-1!==["width","height","top","right","bottom","left"].indexOf(n)&&z(t[n])&&(i="px"),e.style[n]=t[n]+i}))}function U(e,t,n){var i=E(e,(function(e){return e.name===t})),o=!!i&&e.some((function(e){return e.name===n&&e.enabled&&e.order<i.order}));if(!o){var r="`"+t+"`",a="`"+n+"`";console.warn(a+" modifier is required by "+r+" modifier in order to work, be sure to include it before "+r+"!")}return o}function B(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=we.indexOf(e),i=we.slice(n+1).concat(we.slice(0,n));return t?i.reverse():i}function V(e,t,n,i){var o=[0,0],r=-1!==["right","left"].indexOf(i),a=e.split(/(\+|\-)/).map((function(e){return e.trim()})),s=a.indexOf(E(a,(function(e){return-1!==e.search(/,|\s/)})));a[s]&&-1===a[s].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,c=-1!==s?[a.slice(0,s).concat([a[s].split(l)[0]]),[a[s].split(l)[1]].concat(a.slice(s+1))]:[a];return(c=c.map((function(e,i){var o=(1===i?!r:r)?"height":"width",a=!1;return e.reduce((function(e,t){return""===e[e.length-1]&&-1!==["+","-"].indexOf(t)?(e[e.length-1]=t,a=!0,e):a?(e[e.length-1]+=t,a=!1,e):e.concat(t)}),[]).map((function(e){return function(e,t,n,i){var o=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),r=+o[1],a=o[2];if(!r)return e;if(0===a.indexOf("%")){var s=void 0;switch(a){case"%p":s=n;break;case"%":case"%r":default:s=i}return v(s)[t]/100*r}return"vh"===a||"vw"===a?("vh"===a?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*r:r}(e,o,t,n)}))}))).forEach((function(e,t){e.forEach((function(n,i){z(n)&&(o[t]+=n*("-"===e[i-1]?-1:1))}))})),o}function W(e){return"string"==typeof e&&(e=e.split(" ")),e}function Q(e,t){var n=W(t),i=void 0;i=W(e.className instanceof Se?e.className.baseVal:e.className),n.forEach((function(e){-1===i.indexOf(e)&&i.push(e)})),e instanceof SVGElement?e.setAttribute("class",i.join(" ")):e.className=i.join(" ")}function G(e,t){var n=W(t),i=void 0;i=W(e.className instanceof Se?e.className.baseVal:e.className),n.forEach((function(e){var t=i.indexOf(e);-1!==t&&i.splice(t,1)})),e instanceof SVGElement?e.setAttribute("class",i.join(" ")):e.className=i.join(" ")}function X(e){var t={placement:void 0!==e.placement?e.placement:Me.options.defaultPlacement,delay:void 0!==e.delay?e.delay:Me.options.defaultDelay,html:void 0!==e.html?e.html:Me.options.defaultHtml,template:void 0!==e.template?e.template:Me.options.defaultTemplate,arrowSelector:void 0!==e.arrowSelector?e.arrowSelector:Me.options.defaultArrowSelector,innerSelector:void 0!==e.innerSelector?e.innerSelector:Me.options.defaultInnerSelector,trigger:void 0!==e.trigger?e.trigger:Me.options.defaultTrigger,offset:void 0!==e.offset?e.offset:Me.options.defaultOffset,container:void 0!==e.container?e.container:Me.options.defaultContainer,boundariesElement:void 0!==e.boundariesElement?e.boundariesElement:Me.options.defaultBoundariesElement,autoHide:void 0!==e.autoHide?e.autoHide:Me.options.autoHide,hideOnTargetClick:void 0!==e.hideOnTargetClick?e.hideOnTargetClick:Me.options.defaultHideOnTargetClick,loadingClass:void 0!==e.loadingClass?e.loadingClass:Me.options.defaultLoadingClass,loadingContent:void 0!==e.loadingContent?e.loadingContent:Me.options.defaultLoadingContent,popperOptions:Oe({},void 0!==e.popperOptions?e.popperOptions:Me.options.defaultPopperOptions)};if(t.offset){var n=$e(t.offset),i=t.offset;("number"===n||"string"===n&&-1===i.indexOf(","))&&(i="0, "+i),t.popperOptions.modifiers||(t.popperOptions.modifiers={}),t.popperOptions.modifiers.offset={offset:i}}return t}function Y(e,t){for(var n=e.placement,i=0;i<Fe.length;i++){var o=Fe[i];t[o]&&(n=o)}return n}function K(e){var t=void 0===e?"undefined":$e(e);return"string"===t?e:!(!e||"object"!==t)&&e.content}function J(e){e._tooltip&&(e._tooltip.dispose(),delete e._tooltip,delete e._tooltipOldShow),e._tooltipTargetClasses&&(G(e,e._tooltipTargetClasses),delete e._tooltipTargetClasses)}function Z(e,t){var n=t.value,i=(t.oldValue,t.modifiers),o=K(n);if(o&&Pe.enabled){var r=void 0;e._tooltip?((r=e._tooltip).setContent(o),r.setOptions(Oe({},n,{placement:Y(n,i)}))):r=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=K(t),o=void 0!==t.classes?t.classes:Me.options.defaultClass,r=Oe({title:i},X(Oe({},t,{placement:Y(t,n)}))),a=e._tooltip=new Ie(e,r);a.setClasses(o),a._vueEl=e;var s=void 0!==t.targetClasses?t.targetClasses:Me.options.defaultTargetClass;return e._tooltipTargetClasses=s,Q(e,s),a}(e,n,i),void 0!==n.show&&n.show!==e._tooltipOldShow&&(e._tooltipOldShow=n.show,n.show?r.show():r.hide())}else J(e)}function ee(e){e.addEventListener("click",ne),e.addEventListener("touchstart",ie,!!Te&&{passive:!0})}function te(e){e.removeEventListener("click",ne),e.removeEventListener("touchstart",ie),e.removeEventListener("touchend",oe),e.removeEventListener("touchcancel",re)}function ne(e){var t=e.currentTarget;e.closePopover=!t.$_vclosepopover_touch,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}function ie(e){if(1===e.changedTouches.length){var t=e.currentTarget;t.$_vclosepopover_touch=!0;var n=e.changedTouches[0];t.$_vclosepopover_touchPoint=n,t.addEventListener("touchend",oe),t.addEventListener("touchcancel",re)}}function oe(e){var t=e.currentTarget;if(t.$_vclosepopover_touch=!1,1===e.changedTouches.length){var n=e.changedTouches[0],i=t.$_vclosepopover_touchPoint;e.closePopover=Math.abs(n.screenY-i.screenY)<20&&Math.abs(n.screenX-i.screenX)<20,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}}function re(e){e.currentTarget.$_vclosepopover_touch=!1}function ae(){ae.init||(ae.init=!0,ze=-1!==function(){var e=window.navigator.userAgent,t=e.indexOf("MSIE ");if(t>0)return parseInt(e.substring(t+5,e.indexOf(".",t)),10);if(e.indexOf("Trident/")>0){var n=e.indexOf("rv:");return parseInt(e.substring(n+3,e.indexOf(".",n)),10)}var i=e.indexOf("Edge/");return i>0?parseInt(e.substring(i+5,e.indexOf(".",i)),10):-1}())}function se(e){var t=Me.options.popover[e];return void 0===t?Me.options[e]:t}function le(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];requestAnimationFrame((function(){for(var n=void 0,i=0;i<We.length;i++)if((n=We[i]).$refs.popover){var o=n.$refs.popover.contains(e.target);(e.closeAllPopover||e.closePopover&&o||n.autoHide&&!o)&&n.$_handleGlobalClose(e,t)}}))}i.d(t,"a",(function(){return Ke}));for(var ce="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},ue="undefined"!=typeof window&&"undefined"!=typeof document,de=["Edge","Trident","Firefox"],fe=0,pe=0;pe<de.length;pe+=1)if(ue&&navigator.userAgent.indexOf(de[pe])>=0){fe=1;break}var me=ue&&window.Promise?function(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then((function(){t=!1,e()})))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout((function(){t=!1,e()}),fe))}},he=ue&&!(!window.MSInputMethodContext||!document.documentMode),ge=ue&&/MSIE 10/.test(navigator.userAgent),ve=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},be=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),ye=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},je=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},_e=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],we=_e.slice(3),xe={FLIP:"flip",CLOCKWISE:"clockwise",COUNTERCLOCKWISE:"counterclockwise"},ke={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(e){var t=e.placement,n=t.split("-")[0],i=t.split("-")[1];if(i){var o=e.offsets,r=o.reference,a=o.popper,s=-1!==["bottom","top"].indexOf(n),l=s?"left":"top",c=s?"width":"height",u={start:ye({},l,r[l]),end:ye({},l,r[l]+r[c]-a[c])};e.offsets.popper=je({},a,u[i])}return e}},offset:{order:200,enabled:!0,fn:function(e,t){var n,i=t.offset,o=e.placement,r=e.offsets,a=r.popper,s=r.reference,l=o.split("-")[0];return n=z(+i)?[+i,0]:V(i,a,s,l),"left"===l?(a.top+=n[0],a.left-=n[1]):"right"===l?(a.top+=n[0],a.left+=n[1]):"top"===l?(a.left+=n[0],a.top-=n[1]):"bottom"===l&&(a.left+=n[0],a.top+=n[1]),e.popper=a,e},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,t){var n=t.boundariesElement||c(e.instance.popper);e.instance.reference===n&&(n=c(n));var i=I("transform"),o=e.instance.popper.style,r=o.top,a=o.left,s=o[i];o.top="",o.left="",o[i]="";var l=x(e.instance.popper,e.instance.reference,t.padding,n,e.positionFixed);o.top=r,o.left=a,o[i]=s,t.boundaries=l;var u=t.priority,d=e.offsets.popper,f={primary:function(e){var n=d[e];return d[e]<l[e]&&!t.escapeWithReference&&(n=Math.max(d[e],l[e])),ye({},e,n)},secondary:function(e){var n="right"===e?"left":"top",i=d[n];return d[e]>l[e]&&!t.escapeWithReference&&(i=Math.min(d[n],l[e]-("right"===e?d.width:d.height))),ye({},n,i)}};return u.forEach((function(e){var t=-1!==["left","top"].indexOf(e)?"primary":"secondary";d=je({},d,f[t](e))})),e.offsets.popper=d,e},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,n=t.popper,i=t.reference,o=e.placement.split("-")[0],r=Math.floor,a=-1!==["top","bottom"].indexOf(o),s=a?"right":"bottom",l=a?"left":"top",c=a?"width":"height";return n[s]<r(i[l])&&(e.offsets.popper[l]=r(i[l])-n[c]),n[l]>r(i[s])&&(e.offsets.popper[l]=r(i[s])),e}},arrow:{order:500,enabled:!0,fn:function(e,t){var n;if(!U(e.instance.modifiers,"arrow","keepTogether"))return e;var i=t.element;if("string"==typeof i){if(!(i=e.instance.popper.querySelector(i)))return e}else if(!e.instance.popper.contains(i))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var o=e.placement.split("-")[0],a=e.offsets,s=a.popper,l=a.reference,c=-1!==["left","right"].indexOf(o),u=c?"height":"width",d=c?"Top":"Left",f=d.toLowerCase(),p=c?"left":"top",m=c?"bottom":"right",h=T(i)[u];l[m]-h<s[f]&&(e.offsets.popper[f]-=s[f]-(l[m]-h)),l[f]+h>s[m]&&(e.offsets.popper[f]+=l[f]+h-s[m]),e.offsets.popper=v(e.offsets.popper);var g=l[f]+l[u]/2-h/2,b=r(e.instance.popper),y=parseFloat(b["margin"+d],10),j=parseFloat(b["border"+d+"Width"],10),_=g-e.offsets.popper[f]-y-j;return _=Math.max(Math.min(s[u]-h,_),0),e.arrowElement=i,e.offsets.arrow=(ye(n={},f,Math.round(_)),ye(n,p,""),n),e},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(e,t){if(L(e.instance.modifiers,"inner"))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var n=x(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),i=e.placement.split("-")[0],o=A(i),r=e.placement.split("-")[1]||"",a=[];switch(t.behavior){case xe.FLIP:a=[i,o];break;case xe.CLOCKWISE:a=B(i);break;case xe.COUNTERCLOCKWISE:a=B(i,!0);break;default:a=t.behavior}return a.forEach((function(s,l){if(i!==s||a.length===l+1)return e;i=e.placement.split("-")[0],o=A(i);var c=e.offsets.popper,u=e.offsets.reference,d=Math.floor,f="left"===i&&d(c.right)>d(u.left)||"right"===i&&d(c.left)<d(u.right)||"top"===i&&d(c.bottom)>d(u.top)||"bottom"===i&&d(c.top)<d(u.bottom),p=d(c.left)<d(n.left),m=d(c.right)>d(n.right),h=d(c.top)<d(n.top),g=d(c.bottom)>d(n.bottom),v="left"===i&&p||"right"===i&&m||"top"===i&&h||"bottom"===i&&g,b=-1!==["top","bottom"].indexOf(i),y=!!t.flipVariations&&(b&&"start"===r&&p||b&&"end"===r&&m||!b&&"start"===r&&h||!b&&"end"===r&&g);(f||v||y)&&(e.flipped=!0,(f||v)&&(i=a[l+1]),y&&(r=function(e){return"end"===e?"start":"start"===e?"end":e}(r)),e.placement=i+(r?"-"+r:""),e.offsets.popper=je({},e.offsets.popper,$(e.instance.popper,e.offsets.reference,e.placement)),e=O(e.instance.modifiers,e,"flip"))})),e},behavior:"flip",padding:5,boundariesElement:"viewport"},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,n=t.split("-")[0],i=e.offsets,o=i.popper,r=i.reference,a=-1!==["left","right"].indexOf(n),s=-1===["top","left"].indexOf(n);return o[a?"left":"top"]=r[n]-(s?o[a?"width":"height"]:0),e.placement=A(t),e.offsets.popper=v(o),e}},hide:{order:800,enabled:!0,fn:function(e){if(!U(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,n=E(e.instance.modifiers,(function(e){return"preventOverflow"===e.name})).boundaries;if(t.bottom<n.top||t.left>n.right||t.top>n.bottom||t.right<n.left){if(!0===e.hide)return e;e.hide=!0,e.attributes["x-out-of-boundaries"]=""}else{if(!1===e.hide)return e;e.hide=!1,e.attributes["x-out-of-boundaries"]=!1}return e}},computeStyle:{order:850,enabled:!0,fn:function(e,t){var n=t.x,i=t.y,o=e.offsets.popper,r=E(e.instance.modifiers,(function(e){return"applyStyle"===e.name})).gpuAcceleration;void 0!==r&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var a,s,l=void 0!==r?r:t.gpuAcceleration,u=b(c(e.instance.popper)),d={position:o.position},f={left:Math.floor(o.left),top:Math.round(o.top),bottom:Math.round(o.bottom),right:Math.floor(o.right)},p="bottom"===n?"top":"bottom",m="right"===i?"left":"right",h=I("transform");if(s="bottom"===p?-u.height+f.bottom:f.top,a="right"===m?-u.width+f.right:f.left,l&&h)d[h]="translate3d("+a+"px, "+s+"px, 0)",d[p]=0,d[m]=0,d.willChange="transform";else{var g="bottom"===p?-1:1,v="right"===m?-1:1;d[p]=s*g,d[m]=a*v,d.willChange=p+", "+m}var y={"x-placement":e.placement};return e.attributes=je({},y,e.attributes),e.styles=je({},d,e.styles),e.arrowStyles=je({},e.offsets.arrow,e.arrowStyles),e},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(e){return H(e.instance.popper,e.styles),t=e.instance.popper,n=e.attributes,Object.keys(n).forEach((function(e){!1!==n[e]?t.setAttribute(e,n[e]):t.removeAttribute(e)})),e.arrowElement&&Object.keys(e.arrowStyles).length&&H(e.arrowElement,e.arrowStyles),e;var t,n},onLoad:function(e,t,n,i,o){var r=S(o,t,e,n.positionFixed),a=C(n.placement,r,t,e,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return t.setAttribute("x-placement",a),H(t,{position:n.positionFixed?"fixed":"absolute"}),n},gpuAcceleration:void 0}}},Ce=function(){function e(t,n){var i=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};ve(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(i.update)},this.update=me(this.update.bind(this)),this.options=je({},e.Defaults,r),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(je({},e.Defaults.modifiers,r.modifiers)).forEach((function(t){i.options.modifiers[t]=je({},e.Defaults.modifiers[t]||{},r.modifiers?r.modifiers[t]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(e){return je({name:e},i.options.modifiers[e])})).sort((function(e,t){return e.order-t.order})),this.modifiers.forEach((function(e){e.enabled&&o(e.onLoad)&&e.onLoad(i.reference,i.popper,i.options,e,i.state)})),this.update();var a=this.options.eventsEnabled;a&&this.enableEventListeners(),this.state.eventsEnabled=a}return be(e,[{key:"update",value:function(){return D.call(this)}},{key:"destroy",value:function(){return R.call(this)}},{key:"enableEventListeners",value:function(){return M.call(this)}},{key:"disableEventListeners",value:function(){return q.call(this)}}]),e}();Ce.Utils=("undefined"!=typeof window?window:n.g).PopperUtils,Ce.placements=_e,Ce.Defaults=ke;var Se=function(){};"undefined"!=typeof window&&(Se=window.SVGAnimatedString);var Te=!1;if("undefined"!=typeof window){Te=!1;try{var Ae=Object.defineProperty({},"passive",{get:function(){Te=!0}});window.addEventListener("test",null,Ae)}catch(e){}}var $e="function"==typeof Symbol&&"symbol"===ce(Symbol.iterator)?function(e){return void 0===e?"undefined":ce(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":void 0===e?"undefined":ce(e)},Ee=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),Oe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},De={container:!1,delay:0,html:!1,placement:"top",title:"",template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",offset:0},Le=[],Ie=function(){function e(t,n){(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,e),Re.call(this),n=Oe({},De,n),t.jquery&&(t=t[0]),this.reference=t,this.options=n,this._isOpen=!1,this._init()}return Ee(e,[{key:"setClasses",value:function(e){this._classes=e}},{key:"setContent",value:function(e){this.options.title=e,this._tooltipNode&&this._setContent(e,this.options)}},{key:"setOptions",value:function(e){var t=!1,n=e&&e.classes||Me.options.defaultClass;this._classes!==n&&(this.setClasses(n),t=!0),e=X(e);var i=!1,o=!1;for(var r in this.options.offset===e.offset&&this.options.placement===e.placement||(i=!0),(this.options.template!==e.template||this.options.trigger!==e.trigger||this.options.container!==e.container||t)&&(o=!0),e)this.options[r]=e[r];if(this._tooltipNode)if(o){var a=this._isOpen;this.dispose(),this._init(),a&&this.show()}else i&&this.popperInstance.update()}},{key:"_init",value:function(){var e="string"==typeof this.options.trigger?this.options.trigger.split(" ").filter((function(e){return-1!==["click","hover","focus"].indexOf(e)})):[];this._isDisposed=!1,this._enableDocumentTouch=-1===e.indexOf("manual"),this._setEventListeners(this.reference,e,this.options)}},{key:"_create",value:function(e,t){var n=window.document.createElement("div");n.innerHTML=t.trim();var i=n.childNodes[0];return i.id="tooltip_"+Math.random().toString(36).substr(2,10),i.setAttribute("aria-hidden","true"),this.options.autoHide&&-1!==this.options.trigger.indexOf("hover")&&(i.addEventListener("mouseenter",this.hide),i.addEventListener("click",this.hide)),i}},{key:"_setContent",value:function(e,t){var n=this;this.asyncContent=!1,this._applyContent(e,t).then((function(){n.popperInstance.update()}))}},{key:"_applyContent",value:function(e,t){var n=this;return new Promise((function(i,o){var r=t.html,a=n._tooltipNode,s=a.querySelector(n.options.innerSelector);if(1===e.nodeType){if(r){for(;s.firstChild;)s.removeChild(s.firstChild);s.appendChild(e)}}else{if("function"==typeof e){var l=e();return void(l&&"function"==typeof l.then?(n.asyncContent=!0,t.loadingClass&&Q(a,t.loadingClass),t.loadingContent&&n._applyContent(t.loadingContent,t),l.then((function(e){return t.loadingClass&&G(a,t.loadingClass),n._applyContent(e,t)})).then(i).catch(o)):n._applyContent(l,t).then(i).catch(o))}r?s.innerHTML=e:s.innerText=e}i()}))}},{key:"_show",value:function(e,t){if(!t||"string"!=typeof t.container||document.querySelector(t.container)){clearTimeout(this._disposeTimer),delete(t=Object.assign({},t)).offset;var n=!0;this._tooltipNode&&(Q(this._tooltipNode,this._classes),n=!1);var i=this._ensureShown(e,t);return n&&this._tooltipNode&&Q(this._tooltipNode,this._classes),Q(e,["v-tooltip-open"]),i}}},{key:"_ensureShown",value:function(e,t){var n=this;if(this._isOpen)return this;if(this._isOpen=!0,Le.push(this),this._tooltipNode)return this._tooltipNode.style.display="",this._tooltipNode.setAttribute("aria-hidden","false"),this.popperInstance.enableEventListeners(),this.popperInstance.update(),this.asyncContent&&this._setContent(t.title,t),this;var i=e.getAttribute("title")||t.title;if(!i)return this;var o=this._create(e,t.template);this._tooltipNode=o,this._setContent(i,t),e.setAttribute("aria-describedby",o.id);var r=this._findContainer(t.container,e);this._append(o,r);var a=Oe({},t.popperOptions,{placement:t.placement});return a.modifiers=Oe({},a.modifiers,{arrow:{element:this.options.arrowSelector}}),t.boundariesElement&&(a.modifiers.preventOverflow={boundariesElement:t.boundariesElement}),this.popperInstance=new Ce(e,o,a),requestAnimationFrame((function(){!n._isDisposed&&n.popperInstance?(n.popperInstance.update(),requestAnimationFrame((function(){n._isDisposed?n.dispose():n._isOpen&&o.setAttribute("aria-hidden","false")}))):n.dispose()})),this}},{key:"_noLongerOpen",value:function(){var e=Le.indexOf(this);-1!==e&&Le.splice(e,1)}},{key:"_hide",value:function(){var e=this;if(!this._isOpen)return this;this._isOpen=!1,this._noLongerOpen(),this._tooltipNode.style.display="none",this._tooltipNode.setAttribute("aria-hidden","true"),this.popperInstance.disableEventListeners(),clearTimeout(this._disposeTimer);var t=Me.options.disposeTimeout;return null!==t&&(this._disposeTimer=setTimeout((function(){e._tooltipNode&&(e._tooltipNode.removeEventListener("mouseenter",e.hide),e._tooltipNode.removeEventListener("click",e.hide),e._tooltipNode.parentNode.removeChild(e._tooltipNode),e._tooltipNode=null)}),t)),G(this.reference,["v-tooltip-open"]),this}},{key:"_dispose",value:function(){var e=this;return this._isDisposed=!0,this._events.forEach((function(t){var n=t.func,i=t.event;e.reference.removeEventListener(i,n)})),this._events=[],this._tooltipNode?(this._hide(),this._tooltipNode.removeEventListener("mouseenter",this.hide),this._tooltipNode.removeEventListener("click",this.hide),this.popperInstance.destroy(),this.popperInstance.options.removeOnDestroy||(this._tooltipNode.parentNode.removeChild(this._tooltipNode),this._tooltipNode=null)):this._noLongerOpen(),this}},{key:"_findContainer",value:function(e,t){return"string"==typeof e?e=window.document.querySelector(e):!1===e&&(e=t.parentNode),e}},{key:"_append",value:function(e,t){t.appendChild(e)}},{key:"_setEventListeners",value:function(e,t,n){var i=this,o=[],r=[];t.forEach((function(e){switch(e){case"hover":o.push("mouseenter"),r.push("mouseleave"),i.options.hideOnTargetClick&&r.push("click");break;case"focus":o.push("focus"),r.push("blur"),i.options.hideOnTargetClick&&r.push("click");break;case"click":o.push("click"),r.push("click")}})),o.forEach((function(t){var o=function(t){!0!==i._isOpen&&(t.usedByTooltip=!0,i._scheduleShow(e,n.delay,n,t))};i._events.push({event:t,func:o}),e.addEventListener(t,o)})),r.forEach((function(t){var o=function(t){!0!==t.usedByTooltip&&i._scheduleHide(e,n.delay,n,t)};i._events.push({event:t,func:o}),e.addEventListener(t,o)}))}},{key:"_onDocumentTouch",value:function(e){this._enableDocumentTouch&&this._scheduleHide(this.reference,this.options.delay,this.options,e)}},{key:"_scheduleShow",value:function(e,t,n){var i=this,o=t&&t.show||t||0;clearTimeout(this._scheduleTimer),this._scheduleTimer=window.setTimeout((function(){return i._show(e,n)}),o)}},{key:"_scheduleHide",value:function(e,t,n,i){var o=this,r=t&&t.hide||t||0;clearTimeout(this._scheduleTimer),this._scheduleTimer=window.setTimeout((function(){if(!1!==o._isOpen&&document.body.contains(o._tooltipNode)){if("mouseleave"===i.type&&o._setTooltipNodeEvent(i,e,t,n))return;o._hide(e,n)}}),r)}}]),e}(),Re=function(){var e=this;this.show=function(){e._show(e.reference,e.options)},this.hide=function(){e._hide()},this.dispose=function(){e._dispose()},this.toggle=function(){return e._isOpen?e.hide():e.show()},this._events=[],this._setTooltipNodeEvent=function(t,n,i,o){var r=t.relatedreference||t.toElement||t.relatedTarget;return!!e._tooltipNode.contains(r)&&(e._tooltipNode.addEventListener(t.type,(function i(r){var a=r.relatedreference||r.toElement||r.relatedTarget;e._tooltipNode.removeEventListener(t.type,i),n.contains(a)||e._scheduleHide(n,o.delay,o,r)})),!0)}};"undefined"!=typeof document&&document.addEventListener("touchstart",(function(e){for(var t=0;t<Le.length;t++)Le[t]._onDocumentTouch(e)}),!Te||{passive:!0,capture:!0});var Pe={enabled:!0},Fe=["top","top-start","top-end","right","right-start","right-end","bottom","bottom-start","bottom-end","left","left-start","left-end"],Ne={defaultPlacement:"top",defaultClass:"vue-tooltip-theme",defaultTargetClass:"has-tooltip",defaultHtml:!0,defaultTemplate:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',defaultArrowSelector:".tooltip-arrow, .tooltip__arrow",defaultInnerSelector:".tooltip-inner, .tooltip__inner",defaultDelay:0,defaultTrigger:"hover focus",defaultOffset:0,defaultContainer:"body",defaultBoundariesElement:void 0,defaultPopperOptions:{},defaultLoadingClass:"tooltip-loading",defaultLoadingContent:"...",autoHide:!0,defaultHideOnTargetClick:!0,disposeTimeout:5e3,popover:{defaultPlacement:"bottom",defaultClass:"vue-popover-theme",defaultBaseClass:"tooltip popover",defaultWrapperClass:"wrapper",defaultInnerClass:"tooltip-inner popover-inner",defaultArrowClass:"tooltip-arrow popover-arrow",defaultDelay:0,defaultTrigger:"click",defaultOffset:0,defaultContainer:"body",defaultBoundariesElement:void 0,defaultPopperOptions:{},defaultAutoHide:!0,defaultHandleResize:!0}},Me={options:Ne,bind:Z,update:Z,unbind:function(e){J(e)}},qe={bind:function(e,t){var n=t.value,i=t.modifiers;e.$_closePopoverModifiers=i,(void 0===n||n)&&ee(e)},update:function(e,t){var n=t.value,i=t.oldValue,o=t.modifiers;e.$_closePopoverModifiers=o,n!==i&&(void 0===n||n?ee(e):te(e))},unbind:function(e){te(e)}},ze=void 0,He={render:function(){var e=this.$createElement;return(this._self._c||e)("div",{staticClass:"resize-observer",attrs:{tabindex:"-1"}})},staticRenderFns:[],_scopeId:"data-v-b329ee4c",name:"resize-observer",methods:{notify:function(){this.$emit("notify")},addResizeHandlers:function(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.notify),this._w===this.$el.offsetWidth&&this._h===this.$el.offsetHeight||this.notify()},removeResizeHandlers:function(){this._resizeObject&&this._resizeObject.onload&&(!ze&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.notify),delete this._resizeObject.onload)}},mounted:function(){var e=this;ae(),this.$nextTick((function(){e._w=e.$el.offsetWidth,e._h=e.$el.offsetHeight}));var t=document.createElement("object");this._resizeObject=t,t.setAttribute("style","display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; pointer-events: none; z-index: -1;"),t.setAttribute("aria-hidden","true"),t.setAttribute("tabindex",-1),t.onload=this.addResizeHandlers,t.type="text/html",ze&&this.$el.appendChild(t),t.data="about:blank",ze||this.$el.appendChild(t)},beforeDestroy:function(){this.removeResizeHandlers()}},Ue={version:"0.4.4",install:function(e){e.component("resize-observer",He)}},Be=null;"undefined"!=typeof window?Be=window.Vue:void 0!==n.g&&(Be=n.g.Vue),Be&&Be.use(Ue);var Ve=!1;"undefined"!=typeof window&&"undefined"!=typeof navigator&&(Ve=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);var We=[],Qe=function(){};"undefined"!=typeof window&&(Qe=window.Element);var Ge={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"v-popover",class:e.cssClass},[n("span",{ref:"trigger",staticClass:"trigger",staticStyle:{display:"inline-block"},attrs:{"aria-describedby":e.popoverId,tabindex:-1!==e.trigger.indexOf("focus")?0:-1}},[e._t("default")],2),e._v(" "),n("div",{ref:"popover",class:[e.popoverBaseClass,e.popoverClass,e.cssClass],style:{visibility:e.isOpen?"visible":"hidden"},attrs:{id:e.popoverId,"aria-hidden":e.isOpen?"false":"true"}},[n("div",{class:e.popoverWrapperClass},[n("div",{ref:"inner",class:e.popoverInnerClass,staticStyle:{position:"relative"}},[n("div",[e._t("popover")],2),e._v(" "),e.handleResize?n("ResizeObserver",{on:{notify:e.$_handleResize}}):e._e()],1),e._v(" "),n("div",{ref:"arrow",class:e.popoverArrowClass})])])])},staticRenderFns:[],name:"VPopover",components:{ResizeObserver:He},props:{open:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},placement:{type:String,default:function(){return se("defaultPlacement")}},delay:{type:[String,Number,Object],default:function(){return se("defaultDelay")}},offset:{type:[String,Number],default:function(){return se("defaultOffset")}},trigger:{type:String,default:function(){return se("defaultTrigger")}},container:{type:[String,Object,Qe],default:function(){return se("defaultContainer")}},boundariesElement:{type:Qe,default:function(){return se("defaultBoundariesElement")}},popperOptions:{type:Object,default:function(){return se("defaultPopperOptions")}},popoverClass:{type:[String,Array],default:function(){return se("defaultClass")}},popoverBaseClass:{type:[String,Array],default:function(){return Me.options.popover.defaultBaseClass}},popoverInnerClass:{type:[String,Array],default:function(){return Me.options.popover.defaultInnerClass}},popoverWrapperClass:{type:[String,Array],default:function(){return Me.options.popover.defaultWrapperClass}},popoverArrowClass:{type:[String,Array],default:function(){return Me.options.popover.defaultArrowClass}},autoHide:{type:Boolean,default:function(){return Me.options.popover.defaultAutoHide}},handleResize:{type:Boolean,default:function(){return Me.options.popover.defaultHandleResize}},openGroup:{type:String,default:null}},data:function(){return{isOpen:!1,id:Math.random().toString(36).substr(2,10)}},computed:{cssClass:function(){return{open:this.isOpen}},popoverId:function(){return"popover_"+this.id}},watch:{open:function(e){e?this.show():this.hide()},disabled:function(e,t){e!==t&&(e?this.hide():this.open&&this.show())},container:function(e){if(this.isOpen&&this.popperInstance){var t=this.$refs.popover,n=this.$refs.trigger,i=this.$_findContainer(this.container,n);if(!i)return void console.warn("No container for popover",this);i.appendChild(t),this.popperInstance.scheduleUpdate()}},trigger:function(e){this.$_removeEventListeners(),this.$_addEventListeners()},placement:function(e){var t=this;this.$_updatePopper((function(){t.popperInstance.options.placement=e}))},offset:"$_restartPopper",boundariesElement:"$_restartPopper",popperOptions:{handler:"$_restartPopper",deep:!0}},created:function(){this.$_isDisposed=!1,this.$_mounted=!1,this.$_events=[],this.$_preventOpen=!1},mounted:function(){var e=this.$refs.popover;e.parentNode&&e.parentNode.removeChild(e),this.$_init(),this.open&&this.show()},beforeDestroy:function(){this.dispose()},methods:{show:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.event,i=(t.skipDelay,t.force);!(void 0!==i&&i)&&this.disabled||(this.$_scheduleShow(n),this.$emit("show")),this.$emit("update:open",!0),this.$_beingShowed=!0,requestAnimationFrame((function(){e.$_beingShowed=!1}))},hide:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.event;e.skipDelay,this.$_scheduleHide(t),this.$emit("hide"),this.$emit("update:open",!1)},dispose:function(){if(this.$_isDisposed=!0,this.$_removeEventListeners(),this.hide({skipDelay:!0}),this.popperInstance&&(this.popperInstance.destroy(),!this.popperInstance.options.removeOnDestroy)){var e=this.$refs.popover;e.parentNode&&e.parentNode.removeChild(e)}this.$_mounted=!1,this.popperInstance=null,this.isOpen=!1,this.$emit("dispose")},$_init:function(){-1===this.trigger.indexOf("manual")&&this.$_addEventListeners()},$_show:function(){var e=this,t=this.$refs.trigger,n=this.$refs.popover;if(clearTimeout(this.$_disposeTimer),!this.isOpen){if(this.popperInstance&&(this.isOpen=!0,this.popperInstance.enableEventListeners(),this.popperInstance.scheduleUpdate()),!this.$_mounted){var i=this.$_findContainer(this.container,t);if(!i)return void console.warn("No container for popover",this);i.appendChild(n),this.$_mounted=!0}if(!this.popperInstance){var o=Oe({},this.popperOptions,{placement:this.placement});if(o.modifiers=Oe({},o.modifiers,{arrow:{element:this.$refs.arrow}}),this.offset){var r=this.$_getOffset();o.modifiers.offset={offset:r}}this.boundariesElement&&(o.modifiers.preventOverflow={boundariesElement:this.boundariesElement}),this.popperInstance=new Ce(t,n,o),requestAnimationFrame((function(){!e.$_isDisposed&&e.popperInstance?(e.popperInstance.scheduleUpdate(),requestAnimationFrame((function(){e.$_isDisposed?e.dispose():e.isOpen=!0}))):e.dispose()}))}var a=this.openGroup;if(a)for(var s=void 0,l=0;l<We.length;l++)(s=We[l]).openGroup!==a&&(s.hide(),s.$emit("close-group"));We.push(this),this.$emit("apply-show")}},$_hide:function(){var e=this;if(this.isOpen){var t=We.indexOf(this);-1!==t&&We.splice(t,1),this.isOpen=!1,this.popperInstance&&this.popperInstance.disableEventListeners(),clearTimeout(this.$_disposeTimer);var n=Me.options.popover.disposeTimeout||Me.options.disposeTimeout;null!==n&&(this.$_disposeTimer=setTimeout((function(){var t=e.$refs.popover;t&&(t.parentNode&&t.parentNode.removeChild(t),e.$_mounted=!1)}),n)),this.$emit("apply-hide")}},$_findContainer:function(e,t){return"string"==typeof e?e=window.document.querySelector(e):!1===e&&(e=t.parentNode),e},$_getOffset:function(){var e=$e(this.offset),t=this.offset;return("number"===e||"string"===e&&-1===t.indexOf(","))&&(t="0, "+t),t},$_addEventListeners:function(){var e=this,t=this.$refs.trigger,n=[],i=[];("string"==typeof this.trigger?this.trigger.split(" ").filter((function(e){return-1!==["click","hover","focus"].indexOf(e)})):[]).forEach((function(e){switch(e){case"hover":n.push("mouseenter"),i.push("mouseleave");break;case"focus":n.push("focus"),i.push("blur");break;case"click":n.push("click"),i.push("click")}})),n.forEach((function(n){var i=function(t){e.isOpen||(t.usedByTooltip=!0,!e.$_preventOpen&&e.show({event:t}))};e.$_events.push({event:n,func:i}),t.addEventListener(n,i)})),i.forEach((function(n){var i=function(t){t.usedByTooltip||e.hide({event:t})};e.$_events.push({event:n,func:i}),t.addEventListener(n,i)}))},$_scheduleShow:function(){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(clearTimeout(this.$_scheduleTimer),e)this.$_show();else{var t=parseInt(this.delay&&this.delay.show||this.delay||0);this.$_scheduleTimer=setTimeout(this.$_show.bind(this),t)}},$_scheduleHide:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(clearTimeout(this.$_scheduleTimer),n)this.$_hide();else{var i=parseInt(this.delay&&this.delay.hide||this.delay||0);this.$_scheduleTimer=setTimeout((function(){if(e.isOpen){if(t&&"mouseleave"===t.type&&e.$_setTooltipNodeEvent(t))return;e.$_hide()}}),i)}},$_setTooltipNodeEvent:function(e){var t=this,n=this.$refs.trigger,i=this.$refs.popover,o=e.relatedreference||e.toElement||e.relatedTarget;return!!i.contains(o)&&(i.addEventListener(e.type,(function o(r){var a=r.relatedreference||r.toElement||r.relatedTarget;i.removeEventListener(e.type,o),n.contains(a)||t.hide({event:r})})),!0)},$_removeEventListeners:function(){var e=this.$refs.trigger;this.$_events.forEach((function(t){var n=t.func,i=t.event;e.removeEventListener(i,n)})),this.$_events=[]},$_updatePopper:function(e){this.popperInstance&&(e(),this.isOpen&&this.popperInstance.scheduleUpdate())},$_restartPopper:function(){if(this.popperInstance){var e=this.isOpen;this.dispose(),this.$_isDisposed=!1,this.$_init(),e&&this.show({skipDelay:!0,force:!0})}},$_handleGlobalClose:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.$_beingShowed||(this.hide({event:e}),e.closePopover?this.$emit("close-directive"):this.$emit("auto-hide"),n&&(this.$_preventOpen=!0,setTimeout((function(){t.$_preventOpen=!1}),300)))},$_handleResize:function(){this.isOpen&&this.popperInstance&&(this.popperInstance.scheduleUpdate(),this.$emit("resize"))}}};"undefined"!=typeof document&&"undefined"!=typeof window&&(Ve?document.addEventListener("touchend",(function(e){le(e,!0)}),!Te||{passive:!0,capture:!0}):window.addEventListener("click",(function(e){le(e)}),!0));var Xe="undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:{},Ye=function(e,t){return function(e,t){function n(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function i(e,t){for(var n=-1,i=Array(e);++n<e;)i[n]=t(n);return i}function o(e,t){return null==e?void 0:e[t]}function r(e,t){return"__proto__"==t?void 0:e[t]}function a(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}function s(){this.__data__=bt?bt(null):{},this.size=0}function l(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}function c(e){var t=this.__data__;if(bt){var n=t[e];return n===we?void 0:n}return Ze.call(t,e)?t[e]:void 0}function u(e){var t=this.__data__;return bt?void 0!==t[e]:Ze.call(t,e)}function d(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=bt&&void 0===t?we:t,this}function f(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}function p(){this.__data__=[],this.size=0}function m(e){var t=this.__data__,n=L(t,e);return!(n<0||(n==t.length-1?t.pop():dt.call(t,n,1),--this.size,0))}function h(e){var t=this.__data__,n=L(t,e);return n<0?void 0:t[n][1]}function g(e){return L(this.__data__,e)>-1}function v(e,t){var n=this.__data__,i=L(n,e);return i<0?(++this.size,n.push([e,t])):n[i][1]=t,this}function b(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}function y(){this.size=0,this.__data__={hash:new a,map:new(vt||f),string:new a}}function j(e){var t=G(this,e).delete(e);return this.size-=t?1:0,t}function _(e){return G(this,e).get(e)}function w(e){return G(this,e).has(e)}function x(e,t){var n=G(this,e),i=n.size;return n.set(e,t),this.size+=n.size==i?0:1,this}function k(e){var t=this.__data__=new f(e);this.size=t.size}function C(){this.__data__=new f,this.size=0}function S(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}function T(e){return this.__data__.get(e)}function A(e){return this.__data__.has(e)}function $(e,t){var n=this.__data__;if(n instanceof f){var i=n.__data__;if(!vt||i.length<_e-1)return i.push([e,t]),this.size=++n.size,this;n=this.__data__=new b(i)}return n.set(e,t),this.size=n.size,this}function E(e,t){var n=St(e),o=!n&&Ct(e),r=!n&&!o&&Tt(e),a=!n&&!o&&!r&&At(e),s=n||o||r||a,l=s?i(e.length,String):[],c=l.length;for(var u in e)!t&&!Ze.call(e,u)||s&&("length"==u||r&&("offset"==u||"parent"==u)||a&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||J(u,c))||l.push(u);return l}function O(e,t,n){(void 0===n||se(e[t],n))&&(void 0!==n||t in e)||I(e,t,n)}function D(e,t,n){var i=e[t];Ze.call(e,t)&&se(i,n)&&(void 0!==n||t in e)||I(e,t,n)}function L(e,t){for(var n=e.length;n--;)if(se(e[n][0],t))return n;return-1}function I(e,t,n){"__proto__"==t&&pt?pt(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function R(e){return null==e?void 0===e?Le:Ee:ft&&ft in Object(e)?Y(e):oe(e)}function P(e){return me(e)&&R(e)==Se}function F(e){return!(!pe(e)||te(e))&&(de(e)?it:Re).test(ae(e))}function N(e){return me(e)&&fe(e.length)&&!!Fe[R(e)]}function M(e){if(!pe(e))return ie(e);var t=ne(e),n=[];for(var i in e)("constructor"!=i||!t&&Ze.call(e,i))&&n.push(i);return n}function q(e,t,n,i,o){e!==t&&xt(t,(function(a,s){if(pe(a))o||(o=new k),z(e,t,s,n,q,i,o);else{var l=i?i(r(e,s),a,s+"",e,t,o):void 0;void 0===l&&(l=a),O(e,s,l)}}),ve)}function z(e,t,n,i,o,a,s){var l=r(e,n),c=r(t,n),u=s.get(c);if(u)O(e,n,u);else{var d=a?a(l,c,n+"",e,t,s):void 0,f=void 0===d;if(f){var p=St(c),m=!p&&Tt(c),h=!p&&!m&&At(c);d=c,p||m||h?St(l)?d=l:ue(l)?d=W(l):m?(f=!1,d=U(c,!0)):h?(f=!1,d=V(c,!0)):d=[]:he(c)||Ct(c)?(d=l,Ct(l)?d=ge(l):(!pe(l)||i&&de(l))&&(d=K(c))):f=!1}f&&(s.set(c,d),o(d,c,i,a,s),s.delete(c)),O(e,n,d)}}function H(e,t){return kt(re(e,t,ye),e+"")}function U(e,t){if(t)return e.slice();var n=e.length,i=st?st(n):new e.constructor(n);return e.copy(i),i}function B(e){var t=new e.constructor(e.byteLength);return new at(t).set(new at(e)),t}function V(e,t){var n=t?B(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function W(e,t){var n=-1,i=e.length;for(t||(t=Array(i));++n<i;)t[n]=e[n];return t}function Q(e,t,n,i){var o=!n;n||(n={});for(var r=-1,a=t.length;++r<a;){var s=t[r],l=i?i(n[s],e[s],s,n,e):void 0;void 0===l&&(l=e[s]),o?I(n,s,l):D(n,s,l)}return n}function G(e,t){var n=e.__data__;return ee(t)?n["string"==typeof t?"string":"hash"]:n.map}function X(e,t){var n=o(e,t);return F(n)?n:void 0}function Y(e){var t=Ze.call(e,ft),n=e[ft];try{e[ft]=void 0;var i=!0}catch(e){}var o=tt.call(e);return i&&(t?e[ft]=n:delete e[ft]),o}function K(e){return"function"!=typeof e.constructor||ne(e)?{}:yt(lt(e))}function J(e,t){var n=void 0===e?"undefined":ce(e);return!!(t=null==t?Ce:t)&&("number"==n||"symbol"!=n&&Pe.test(e))&&e>-1&&e%1==0&&e<t}function Z(e,t,n){if(!pe(n))return!1;var i=void 0===t?"undefined":ce(t);return!!("number"==i?le(n)&&J(t,n.length):"string"==i&&t in n)&&se(n[t],e)}function ee(e){var t=void 0===e?"undefined":ce(e);return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}function te(e){return!!et&&et in e}function ne(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Ye)}function ie(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}function oe(e){return tt.call(e)}function re(e,t,i){return t=ht(void 0===t?e.length-1:t,0),function(){for(var o=arguments,r=-1,a=ht(o.length-t,0),s=Array(a);++r<a;)s[r]=o[t+r];r=-1;for(var l=Array(t+1);++r<t;)l[r]=o[r];return l[t]=i(s),n(e,this,l)}}function ae(e){if(null!=e){try{return Je.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function se(e,t){return e===t||e!=e&&t!=t}function le(e){return null!=e&&fe(e.length)&&!de(e)}function ue(e){return me(e)&&le(e)}function de(e){if(!pe(e))return!1;var t=R(e);return t==Ae||t==$e||t==Te||t==De}function fe(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=Ce}function pe(e){var t=void 0===e?"undefined":ce(e);return null!=e&&("object"==t||"function"==t)}function me(e){return null!=e&&"object"==(void 0===e?"undefined":ce(e))}function he(e){if(!me(e)||R(e)!=Oe)return!1;var t=lt(e);if(null===t)return!0;var n=Ze.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&Je.call(n)==nt}function ge(e){return Q(e,ve(e))}function ve(e){return le(e)?E(e,!0):M(e)}function be(e){return function(){return e}}function ye(e){return e}function je(){return!1}var _e=200,we="__lodash_hash_undefined__",xe=800,ke=16,Ce=9007199254740991,Se="[object Arguments]",Te="[object AsyncFunction]",Ae="[object Function]",$e="[object GeneratorFunction]",Ee="[object Null]",Oe="[object Object]",De="[object Proxy]",Le="[object Undefined]",Ie=/[\\^$.*+?()[\]{}|]/g,Re=/^\[object .+?Constructor\]$/,Pe=/^(?:0|[1-9]\d*)$/,Fe={};Fe["[object Float32Array]"]=Fe["[object Float64Array]"]=Fe["[object Int8Array]"]=Fe["[object Int16Array]"]=Fe["[object Int32Array]"]=Fe["[object Uint8Array]"]=Fe["[object Uint8ClampedArray]"]=Fe["[object Uint16Array]"]=Fe["[object Uint32Array]"]=!0,Fe[Se]=Fe["[object Array]"]=Fe["[object ArrayBuffer]"]=Fe["[object Boolean]"]=Fe["[object DataView]"]=Fe["[object Date]"]=Fe["[object Error]"]=Fe[Ae]=Fe["[object Map]"]=Fe["[object Number]"]=Fe[Oe]=Fe["[object RegExp]"]=Fe["[object Set]"]=Fe["[object String]"]=Fe["[object WeakMap]"]=!1;var Ne="object"==(void 0===Xe?"undefined":ce(Xe))&&Xe&&Xe.Object===Object&&Xe,Me="object"==("undefined"==typeof self?"undefined":ce(self))&&self&&self.Object===Object&&self,qe=Ne||Me||Function("return this")(),ze=t&&!t.nodeType&&t,He=ze&&e&&!e.nodeType&&e,Ue=He&&He.exports===ze,Be=Ue&&Ne.process,Ve=function(){try{return Be&&Be.binding&&Be.binding("util")}catch(e){}}(),We=Ve&&Ve.isTypedArray,Qe=Array.prototype,Ge=Function.prototype,Ye=Object.prototype,Ke=qe["__core-js_shared__"],Je=Ge.toString,Ze=Ye.hasOwnProperty,et=(wt=/[^.]+$/.exec(Ke&&Ke.keys&&Ke.keys.IE_PROTO||""),wt?"Symbol(src)_1."+wt:""),tt=Ye.toString,nt=Je.call(Object),it=RegExp("^"+Je.call(Ze).replace(Ie,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ot=Ue?qe.Buffer:void 0,rt=qe.Symbol,at=qe.Uint8Array,st=ot?ot.allocUnsafe:void 0,lt=(jt=Object.getPrototypeOf,_t=Object,function(e){return jt(_t(e))}),ct=Object.create,ut=Ye.propertyIsEnumerable,dt=Qe.splice,ft=rt?rt.toStringTag:void 0,pt=function(){try{var e=X(Object,"defineProperty");return e({},"",{}),e}catch(e){}}(),mt=ot?ot.isBuffer:void 0,ht=Math.max,gt=Date.now,vt=X(qe,"Map"),bt=X(Object,"create"),yt=function(){function e(){}return function(t){if(!pe(t))return{};if(ct)return ct(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();var jt,_t;var wt;a.prototype.clear=s,a.prototype.delete=l,a.prototype.get=c,a.prototype.has=u,a.prototype.set=d,f.prototype.clear=p,f.prototype.delete=m,f.prototype.get=h,f.prototype.has=g,f.prototype.set=v,b.prototype.clear=y,b.prototype.delete=j,b.prototype.get=_,b.prototype.has=w,b.prototype.set=x,k.prototype.clear=C,k.prototype.delete=S,k.prototype.get=T,k.prototype.has=A,k.prototype.set=$;var xt=function(e,t,n){for(var i=-1,o=Object(e),r=n(e),a=r.length;a--;){var s=r[Ot?a:++i];if(!1===t(o[s],s,o))break}return e},kt=function(e){var t=0,n=0;return function(){var i=gt(),o=ke-(i-n);if(n=i,o>0){if(++t>=xe)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(pt?function(e,t){return pt(e,"toString",{configurable:!0,enumerable:!1,value:be(t),writable:!0})}:ye),Ct=P(function(){return arguments}())?P:function(e){return me(e)&&Ze.call(e,"callee")&&!ut.call(e,"callee")},St=Array.isArray,Tt=mt||je,At=We?function(e){return function(t){return e(t)}}(We):N,$t=(Et=function(e,t,n){q(e,t,n)},H((function(e,t){var n=-1,i=t.length,o=i>1?t[i-1]:void 0,r=i>2?t[2]:void 0;for(o=Et.length>3&&"function"==typeof o?(i--,o):void 0,r&&Z(t[0],t[1],r)&&(o=i<3?void 0:o,i=1),e=Object(e);++n<i;){var a=t[n];a&&Et(e,a,n,o)}return e})));var Et;var Ot;e.exports=$t}(t={exports:{}},t.exports),t.exports}(),Ke=Me,Je={install:function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!e.installed){e.installed=!0;var i={};Ye(i,Ne,n),Je.options=i,Me.options=i,t.directive("tooltip",Me),t.directive("close-popover",qe),t.component("v-popover",Ge)}},get enabled(){return Pe.enabled},set enabled(e){Pe.enabled=e}},Ze=null;"undefined"!=typeof window?Ze=window.Vue:void 0!==n.g&&(Ze=n.g.Vue),Ze&&Ze.use(Je)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(4),o=n(2),r=n(0);i.a.enabled=window.innerWidth>768,t.default={directives:{tooltip:i.a},props:{endDate:{required:!0},max:{type:Number},rangeColor:{type:Array,default:function(){return r.a}},values:{required:!0,type:Array},locale:{type:Object},tooltip:{type:Boolean,default:!0},tooltipUnit:{type:String,default:r.b},vertical:{type:Boolean,default:!1}},data:function(){return{now:new Date}},computed:{position:function(){return this.vertical?"vertical":"horizontal"},tooltipTransform:function(){return"translate("+this.tooltipX+", "+this.tooltipY+")"},heatmap:function(){return new o.a(this.endDate,this.values,this.max)},width:function(){return{horizontal:this.LEFT_SECTION_WIDTH+this.SQUARE_SIZE*this.heatmap.weekCount+this.SQUARE_BORDER_SIZE,vertical:this.LEFT_SECTION_WIDTH+this.SQUARE_SIZE*r.c+this.RIGHT_SECTION_WIDTH}},heigth:function(){return{horizontal:this.TOP_SECTION_HEIGTH+this.SQUARE_SIZE*r.c+this.SQUARE_BORDER_SIZE+this.BOTTOM_SECTION_HEIGTH,vertical:this.TOP_SECTION_HEIGTH+this.SQUARE_SIZE*this.heatmap.weekCount+this.SQUARE_BORDER_SIZE}},viewbox:function(){return"0 0 "+this.width[this.position]+" "+this.heigth[this.position]},daysLabelWrapperTransform:function(){return{horizontal:"translate(0, "+this.TOP_SECTION_HEIGTH+")",vertical:"translate("+this.LEFT_SECTION_WIDTH+", 0)"}},monthsLabelWrapperTransform:function(){return{horizontal:"translate("+this.LEFT_SECTION_WIDTH+", 0)",vertical:"translate(0, "+this.TOP_SECTION_HEIGTH+")"}},legendWrapperTransform:function(){return{horizontal:"translate("+(this.width[this.position]-this.SQUARE_SIZE*this.rangeColor.length-30)+", "+(this.heigth[this.position]-this.BOTTOM_SECTION_HEIGTH)+")",vertical:"translate("+(this.LEFT_SECTION_WIDTH+this.SQUARE_SIZE*r.c)+", "+this.TOP_SECTION_HEIGTH+")"}},yearWrapperTransform:function(){return"translate("+this.LEFT_SECTION_WIDTH+", "+this.TOP_SECTION_HEIGTH+")"},SQUARE_BORDER_SIZE:function(){return r.d/5},SQUARE_SIZE:function(){return r.d+this.SQUARE_BORDER_SIZE},TOP_SECTION_HEIGTH:function(){return r.d+r.d/2},RIGHT_SECTION_WIDTH:function(){return 3*this.SQUARE_SIZE},BOTTOM_SECTION_HEIGTH:function(){return r.d+r.d/2},LEFT_SECTION_WIDTH:function(){return Math.ceil(2.5*r.d)},lo:function(){return this.locale?{months:this.locale.months||r.e.months,days:this.locale.days||r.e.days,on:this.locale.on||r.e.on,less:this.locale.less||r.e.less,more:this.locale.more||r.e.more}:r.e}},methods:{tooltipOptions:function(e){return!!this.tooltip&&{content:"<b>"+e.count+" "+this.tooltipUnit+"</b> "+this.lo.on+" "+this.lo.months[e.date.getMonth()]+" "+e.date.getDate()+", "+e.date.getFullYear(),delay:{show:150,hide:50}}},getWeekPosition:function(e){return this.vertical?"translate(0, "+(this.SQUARE_SIZE*this.heatmap.weekCount-(e+1)*this.SQUARE_SIZE)+")":"translate("+e*this.SQUARE_SIZE+", 0)"},getDayPosition:function(e){return this.vertical?"translate("+e*this.SQUARE_SIZE+", 0)":"translate(0, "+e*this.SQUARE_SIZE+")"},getMonthLabelPostion:function(e){var t={x:0,y:0};return t.x=this.vertical?3:this.SQUARE_SIZE*e.index,t.y=this.vertical?this.SQUARE_SIZE*this.heatmap.weekCount-this.SQUARE_SIZE*e.index-this.SQUARE_SIZE/4:this.SQUARE_SIZE-this.SQUARE_BORDER_SIZE,t}}}},function(e,t){},function(e,t){},function(e,t){e.exports=function(e,t,n,i){var o,r=e=e||{},a=typeof e.default;"object"!==a&&"function"!==a||(o=e,r=e.default);var s="function"==typeof r?r.options:r;if(t&&(s.render=t.render,s.staticRenderFns=t.staticRenderFns),n&&(s._scopeId=n),i){var l=s.computed||(s.computed={});Object.keys(i).forEach((function(e){var t=i[e];l[e]=function(){return t}}))}return{esModule:o,exports:r,options:s}}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("svg",{staticClass:"vch__wrapper",attrs:{viewBox:e.viewbox}},[n("g",{staticClass:"vch__months__labels__wrapper",attrs:{transform:e.monthsLabelWrapperTransform[e.position]}},e._l(e.heatmap.firstFullWeekOfMonths,(function(t,i){return n("text",{staticClass:"vch__month__label",attrs:{x:e.getMonthLabelPostion(t).x,y:e.getMonthLabelPostion(t).y}},[e._v(e._s(e.lo.months[t.value]))])}))),n("g",{staticClass:"vch__days__labels__wrapper",attrs:{transform:e.daysLabelWrapperTransform[e.position]}},[n("text",{staticClass:"vch__day__label",attrs:{x:e.vertical?1*e.SQUARE_SIZE:0,y:e.vertical?e.SQUARE_SIZE-e.SQUARE_BORDER_SIZE:20}},[e._v(e._s(e.lo.days[1]))]),n("text",{staticClass:"vch__day__label",attrs:{x:e.vertical?3*e.SQUARE_SIZE:0,y:e.vertical?e.SQUARE_SIZE-e.SQUARE_BORDER_SIZE:44}},[e._v(e._s(e.lo.days[3]))]),n("text",{staticClass:"vch__day__label",attrs:{x:e.vertical?5*e.SQUARE_SIZE:0,y:e.vertical?e.SQUARE_SIZE-e.SQUARE_BORDER_SIZE:69}},[e._v(e._s(e.lo.days[5]))])]),n("g",{staticClass:"vch__legend__wrapper",attrs:{transform:e.legendWrapperTransform[e.position]}},[n("text",{attrs:{x:e.vertical?1.25*e.SQUARE_SIZE:-25,y:e.vertical?8:e.SQUARE_SIZE+1}},[e._v(e._s(e.lo.less))]),e._l(e.rangeColor,(function(t,i){return n("rect",{key:i,style:{fill:t},attrs:{width:e.SQUARE_SIZE-e.SQUARE_BORDER_SIZE,height:e.SQUARE_SIZE-e.SQUARE_BORDER_SIZE,x:e.vertical?1.75*e.SQUARE_SIZE:e.SQUARE_SIZE*i,y:e.vertical?e.SQUARE_SIZE*(i+1):5}})})),n("text",{attrs:{x:e.vertical?1.25*e.SQUARE_SIZE:e.SQUARE_SIZE*e.rangeColor.length+1,y:e.vertical?e.SQUARE_SIZE*(e.rangeColor.length+2)-e.SQUARE_BORDER_SIZE:e.SQUARE_SIZE+1}},[e._v(e._s(e.lo.more))])],2),n("g",{staticClass:"vch__year__wrapper",attrs:{transform:e.yearWrapperTransform}},e._l(e.heatmap.calendar,(function(t,i){return n("g",{key:i,staticClass:"vch__month__wrapper",attrs:{transform:e.getWeekPosition(i)}},e._l(t,(function(t,i){return t.date<e.now?n("rect",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.tooltipOptions(t),expression:"tooltipOptions(day)"}],key:i,staticClass:"vch__day__square",style:{fill:e.rangeColor[t.colorIndex]},attrs:{transform:e.getDayPosition(i),width:e.SQUARE_SIZE-e.SQUARE_BORDER_SIZE,height:e.SQUARE_SIZE-e.SQUARE_BORDER_SIZE},on:{click:function(n){e.$emit("day-click",t)}}}):e._e()})))})))])},staticRenderFns:[]}}])}},a={};function s(e){if(a[e])return a[e].exports;var t=a[e]={id:e,loaded:!1,exports:{}};return r[e].call(t.exports,t,t.exports,s),t.loaded=!0,t.exports}s.m=r,s.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return s.d(t,{a:t}),t},t=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},s.t=function(n,i){if(1&i&&(n=this(n)),8&i)return n;if("object"==typeof n&&n){if(4&i&&n.__esModule)return n;if(16&i&&"function"==typeof n.then)return n}var o=Object.create(null);s.r(o);var r={};e=e||[null,t({}),t([]),t(t)];for(var a=2&i&&n;"object"==typeof a&&!~e.indexOf(a);a=t(a))Object.getOwnPropertyNames(a).forEach((function(e){r[e]=function(){return n[e]}}));return r.default=function(){return n},s.d(o,r),o},s.d=function(e,t){for(var n in t)s.o(t,n)&&!s.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},s.f={},s.e=function(e){return Promise.all(Object.keys(s.f).reduce((function(t,n){return s.f[n](e,t),t}),[]))},s.u=function(e){return{clipboard:1,sortable:1,mermaid:1,tribute:1,minicolors:1,dropzone:1,monaco:1}[e]?"js/"+e+".js":"vendors-node_modules_monaco-editor_esm_vs_language_typescript_tsMode_js"===e?"js/monaco-language-tsmode.js":"node_modules_monaco-editor_esm_vs_basic-languages_abap_abap_js"===e?"js/monaco-language-abap.js":"node_modules_monaco-editor_esm_vs_basic-languages_apex_apex_js"===e?"js/monaco-language-apex.js":"node_modules_monaco-editor_esm_vs_basic-languages_azcli_azcli_js"===e?"js/monaco-language-azcli.js":"node_modules_monaco-editor_esm_vs_basic-languages_bat_bat_js"===e?"js/monaco-language-bat.js":"node_modules_monaco-editor_esm_vs_basic-languages_cameligo_cameligo_js"===e?"js/monaco-language-cameligo.js":"node_modules_monaco-editor_esm_vs_basic-languages_clojure_clojure_js"===e?"js/monaco-language-clojure.js":"node_modules_monaco-editor_esm_vs_basic-languages_coffee_coffee_js"===e?"js/monaco-language-coffee.js":"node_modules_monaco-editor_esm_vs_basic-languages_cpp_cpp_js"===e?"js/monaco-language-cpp.js":"node_modules_monaco-editor_esm_vs_basic-languages_csharp_csharp_js"===e?"js/monaco-language-csharp.js":"node_modules_monaco-editor_esm_vs_basic-languages_csp_csp_js"===e?"js/monaco-language-csp.js":"node_modules_monaco-editor_esm_vs_basic-languages_css_css_js"===e?"js/monaco-language-css.js":"vendors-node_modules_monaco-editor_esm_vs_language_css_cssMode_js"===e?"js/monaco-language-cssmode.js":"node_modules_monaco-editor_esm_vs_basic-languages_dart_dart_js"===e?"js/monaco-language-dart.js":"node_modules_monaco-editor_esm_vs_basic-languages_dockerfile_dockerfile_js"===e?"js/monaco-language-dockerfile.js":"node_modules_monaco-editor_esm_vs_basic-languages_fsharp_fsharp_js"===e?"js/monaco-language-fsharp.js":"node_modules_monaco-editor_esm_vs_basic-languages_go_go_js"===e?"js/monaco-language-go.js":"node_modules_monaco-editor_esm_vs_basic-languages_graphql_graphql_js"===e?"js/monaco-language-graphql.js":"node_modules_monaco-editor_esm_vs_basic-languages_handlebars_handlebars_js"===e?"js/monaco-language-handlebars.js":"node_modules_monaco-editor_esm_vs_basic-languages_hcl_hcl_js"===e?"js/monaco-language-hcl.js":"node_modules_monaco-editor_esm_vs_basic-languages_html_html_js"===e?"js/monaco-language-html.js":"vendors-node_modules_monaco-editor_esm_vs_language_html_htmlMode_js"===e?"js/monaco-language-htmlmode.js":"node_modules_monaco-editor_esm_vs_basic-languages_ini_ini_js"===e?"js/monaco-language-ini.js":"node_modules_monaco-editor_esm_vs_basic-languages_java_java_js"===e?"js/monaco-language-java.js":"node_modules_monaco-editor_esm_vs_basic-languages_javascript_javascript_js"===e?"js/monaco-language-javascript.js":"vendors-node_modules_monaco-editor_esm_vs_language_json_jsonMode_js"===e?"js/monaco-language-jsonmode.js":"node_modules_monaco-editor_esm_vs_basic-languages_julia_julia_js"===e?"js/monaco-language-julia.js":"node_modules_monaco-editor_esm_vs_basic-languages_kotlin_kotlin_js"===e?"js/monaco-language-kotlin.js":"node_modules_monaco-editor_esm_vs_basic-languages_less_less_js"===e?"js/monaco-language-less.js":"node_modules_monaco-editor_esm_vs_basic-languages_lexon_lexon_js"===e?"js/monaco-language-lexon.js":"node_modules_monaco-editor_esm_vs_basic-languages_lua_lua_js"===e?"js/monaco-language-lua.js":"node_modules_monaco-editor_esm_vs_basic-languages_markdown_markdown_js"===e?"js/monaco-language-markdown.js":"node_modules_monaco-editor_esm_vs_basic-languages_mips_mips_js"===e?"js/monaco-language-mips.js":"node_modules_monaco-editor_esm_vs_basic-languages_msdax_msdax_js"===e?"js/monaco-language-msdax.js":"vendors-node_modules_monaco-editor_esm_vs_basic-languages_mysql_mysql_js"===e?"js/monaco-language-mysql.js":"node_modules_monaco-editor_esm_vs_basic-languages_objective-c_objective-c_js"===e?"js/monaco-language-objective-c.js":"node_modules_monaco-editor_esm_vs_basic-languages_pascal_pascal_js"===e?"js/monaco-language-pascal.js":"node_modules_monaco-editor_esm_vs_basic-languages_pascaligo_pascaligo_js"===e?"js/monaco-language-pascaligo.js":"node_modules_monaco-editor_esm_vs_basic-languages_perl_perl_js"===e?"js/monaco-language-perl.js":"vendors-node_modules_monaco-editor_esm_vs_basic-languages_pgsql_pgsql_js"===e?"js/monaco-language-pgsql.js":"node_modules_monaco-editor_esm_vs_basic-languages_php_php_js"===e?"js/monaco-language-php.js":"node_modules_monaco-editor_esm_vs_basic-languages_postiats_postiats_js"===e?"js/monaco-language-postiats.js":"vendors-node_modules_monaco-editor_esm_vs_basic-languages_powerquery_powerquery_js"===e?"js/monaco-language-powerquery.js":"node_modules_monaco-editor_esm_vs_basic-languages_powershell_powershell_js"===e?"js/monaco-language-powershell.js":"node_modules_monaco-editor_esm_vs_basic-languages_pug_pug_js"===e?"js/monaco-language-pug.js":"node_modules_monaco-editor_esm_vs_basic-languages_python_python_js"===e?"js/monaco-language-python.js":"node_modules_monaco-editor_esm_vs_basic-languages_r_r_js"===e?"js/monaco-language-r.js":"node_modules_monaco-editor_esm_vs_basic-languages_razor_razor_js"===e?"js/monaco-language-razor.js":"node_modules_monaco-editor_esm_vs_basic-languages_redis_redis_js"===e?"js/monaco-language-redis.js":"node_modules_monaco-editor_esm_vs_basic-languages_redshift_redshift_js"===e?"js/monaco-language-redshift.js":"node_modules_monaco-editor_esm_vs_basic-languages_restructuredtext_restructuredtext_js"===e?"js/monaco-language-restructuredtext.js":"node_modules_monaco-editor_esm_vs_basic-languages_ruby_ruby_js"===e?"js/monaco-language-ruby.js":"node_modules_monaco-editor_esm_vs_basic-languages_rust_rust_js"===e?"js/monaco-language-rust.js":"node_modules_monaco-editor_esm_vs_basic-languages_sb_sb_js"===e?"js/monaco-language-sb.js":"node_modules_monaco-editor_esm_vs_basic-languages_scala_scala_js"===e?"js/monaco-language-scala.js":"node_modules_monaco-editor_esm_vs_basic-languages_scheme_scheme_js"===e?"js/monaco-language-scheme.js":"node_modules_monaco-editor_esm_vs_basic-languages_scss_scss_js"===e?"js/monaco-language-scss.js":"node_modules_monaco-editor_esm_vs_basic-languages_shell_shell_js"===e?"js/monaco-language-shell.js":"vendors-node_modules_monaco-editor_esm_vs_basic-languages_solidity_solidity_js"===e?"js/monaco-language-solidity.js":"node_modules_monaco-editor_esm_vs_basic-languages_sophia_sophia_js"===e?"js/monaco-language-sophia.js":"vendors-node_modules_monaco-editor_esm_vs_basic-languages_sql_sql_js"===e?"js/monaco-language-sql.js":"node_modules_monaco-editor_esm_vs_basic-languages_st_st_js"===e?"js/monaco-language-st.js":"node_modules_monaco-editor_esm_vs_basic-languages_swift_swift_js"===e?"js/monaco-language-swift.js":"node_modules_monaco-editor_esm_vs_basic-languages_systemverilog_systemverilog_js"===e?"js/monaco-language-systemverilog.js":"node_modules_monaco-editor_esm_vs_basic-languages_tcl_tcl_js"===e?"js/monaco-language-tcl.js":"node_modules_monaco-editor_esm_vs_basic-languages_twig_twig_js"===e?"js/monaco-language-twig.js":"node_modules_monaco-editor_esm_vs_basic-languages_typescript_typescript_js"===e?"js/monaco-language-typescript.js":"node_modules_monaco-editor_esm_vs_basic-languages_vb_vb_js"===e?"js/monaco-language-vb.js":"node_modules_monaco-editor_esm_vs_basic-languages_xml_xml_js"===e?"js/monaco-language-xml.js":"node_modules_monaco-editor_esm_vs_basic-languages_yaml_yaml_js"===e?"js/monaco-language-yaml.js":void 0},s.miniCssF=function(e){return"css/"+e+".css"},s.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),s.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n={},s.l=function(e,t,i){if(n[e])n[e].push(t);else{var o,r;if(void 0!==i)for(var a=document.getElementsByTagName("script"),l=0;l<a.length;l++){var c=a[l];if(c.getAttribute("src")==e){o=c;break}}o||(r=!0,(o=document.createElement("script")).charset="utf-8",o.timeout=120,s.nc&&o.setAttribute("nonce",s.nc),o.src=e),n[e]=[t];var u=function(t,i){o.onerror=o.onload=null,clearTimeout(d);var r=n[e];if(delete n[e],o.parentNode&&o.parentNode.removeChild(o),r&&r.forEach((function(e){return e(i)})),t)return t(i)},d=setTimeout(u.bind(null,void 0,{type:"timeout",target:o}),12e4);o.onerror=u.bind(null,o.onerror),o.onload=u.bind(null,o.onload),r&&document.head.appendChild(o)}},s.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},s.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e},function(){var e;s.g.importScripts&&(e=s.g.location+"");var t=s.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var n=t.getElementsByTagName("script");n.length&&(e=n[n.length-1].src)}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),s.p=e+"../"}(),i=function(e){return new Promise((function(t,n){var i=s.miniCssF(e),o=s.p+i;if(function(e,t){for(var n=document.getElementsByTagName("link"),i=0;i<n.length;i++){var o=(a=n[i]).getAttribute("data-href")||a.getAttribute("href");if("stylesheet"===a.rel&&(o===e||o===t))return a}var r=document.getElementsByTagName("style");for(i=0;i<r.length;i++){var a;if((o=(a=r[i]).getAttribute("data-href"))===e||o===t)return a}}(i,o))return t();!function(e,t,n,i){var o=document.createElement("link");o.rel="stylesheet",o.type="text/css",o.onerror=o.onload=function(r){if(o.onerror=o.onload=null,"load"===r.type)n();else{var a=r&&("load"===r.type?"missing":r.type),s=r&&r.target&&r.target.href||t,l=new Error("Loading CSS chunk "+e+" failed.\n("+s+")");l.code="CSS_CHUNK_LOAD_FAILED",l.type=a,l.request=s,o.parentNode.removeChild(o),i(l)}},o.href=t,document.head.appendChild(o)}(e,o,t,n)}))},o={index:0},s.f.miniCss=function(e,t){o[e]?t.push(o[e]):0!==o[e]&&{minicolors:1,dropzone:1,monaco:1}[e]&&t.push(o[e]=i(e).then((function(){o[e]=0}),(function(t){throw delete o[e],t})))},function(){var e={index:0};s.f.j=function(t,n){var i=s.o(e,t)?e[t]:void 0;if(0!==i)if(i)n.push(i[2]);else{var o=new Promise((function(n,o){i=e[t]=[n,o]}));n.push(i[2]=o);var r=s.p+s.u(t),a=new Error;s.l(r,(function(n){if(s.o(e,t)&&(0!==(i=e[t])&&(e[t]=void 0),i)){var o=n&&("load"===n.type?"missing":n.type),r=n&&n.target&&n.target.src;a.message="Loading chunk "+t+" failed.\n("+o+": "+r+")",a.name="ChunkLoadError",a.type=o,a.request=r,i[1](a)}}),"chunk-"+t)}};var t=function(t,n){for(var i,o,r=n[0],a=n[1],l=n[2],c=0,u=[];c<r.length;c++)o=r[c],s.o(e,o)&&e[o]&&u.push(e[o][0]),e[o]=0;for(i in a)s.o(a,i)&&(s.m[i]=a[i]);for(l&&l(s),t&&t(n);u.length;)u.shift()()},n=self.webpackChunk=self.webpackChunk||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))}(),function(){"use strict";var e=s("./node_modules/jquery/dist/jquery.js"),t=s.n(e);window.$=window.jQuery=t()}(),function(){"use strict";s("./node_modules/core-js/modules/es.symbol.js"),s("./node_modules/core-js/modules/es.symbol.description.js"),s("./node_modules/core-js/modules/es.array.concat.js"),s("./node_modules/core-js/modules/es.array.filter.js"),s("./node_modules/core-js/modules/es.array.find.js"),s("./node_modules/core-js/modules/es.array.for-each.js"),s("./node_modules/core-js/modules/es.array.index-of.js"),s("./node_modules/core-js/modules/es.array.is-array.js"),s("./node_modules/core-js/modules/es.array.iterator.js"),s("./node_modules/core-js/modules/es.array.join.js"),s("./node_modules/core-js/modules/es.array.map.js"),s("./node_modules/core-js/modules/es.array.reduce.js"),s("./node_modules/core-js/modules/es.array.reverse.js"),s("./node_modules/core-js/modules/es.array.slice.js"),s("./node_modules/core-js/modules/es.array.sort.js"),s("./node_modules/core-js/modules/es.array.splice.js"),s("./node_modules/core-js/modules/es.date.to-string.js"),s("./node_modules/core-js/modules/es.function.bind.js"),s("./node_modules/core-js/modules/es.function.name.js"),s("./node_modules/core-js/modules/es.number.constructor.js"),s("./node_modules/core-js/modules/es.object.keys.js"),s("./node_modules/core-js/modules/es.object.to-string.js"),s("./node_modules/core-js/modules/es.parse-float.js"),s("./node_modules/core-js/modules/es.parse-int.js"),s("./node_modules/core-js/modules/es.regexp.constructor.js"),s("./node_modules/core-js/modules/es.regexp.exec.js"),s("./node_modules/core-js/modules/es.regexp.flags.js"),s("./node_modules/core-js/modules/es.regexp.to-string.js"),s("./node_modules/core-js/modules/es.string.match.js"),s("./node_modules/core-js/modules/es.string.replace.js"),s("./node_modules/core-js/modules/es.string.search.js"),s("./node_modules/core-js/modules/es.string.split.js"),s("./node_modules/core-js/modules/es.string.trim.js"),s("./node_modules/core-js/modules/es.string.fixed.js"),s("./node_modules/core-js/modules/es.string.link.js"),s("./node_modules/core-js/modules/web.dom-collections.for-each.js"),s("./node_modules/core-js/modules/web.dom-collections.iterator.js"),s("./node_modules/core-js/modules/web.immediate.js"),s("./node_modules/core-js/modules/web.timers.js");var e=s("./node_modules/@babel/runtime/helpers/typeof.js"),t=s.n(e);!function(e,t,n,i){e.isFunction=e.isFunction||function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},t=void 0!==t&&t.Math==Math?t:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),e.fn.accordion=function(n){var o,r=e(this),a=(new Date).getTime(),s=[],l=arguments[0],c="string"==typeof l,u=[].slice.call(arguments,1);return r.each((function(){var d,f,p=e.isPlainObject(n)?e.extend(!0,{},e.fn.accordion.settings,n):e.extend({},e.fn.accordion.settings),m=p.className,h=p.namespace,g=p.selector,v=p.error,b="."+h,y="module-"+h,j=r.selector||"",_=e(this),w=_.find(g.title),x=_.find(g.content),k=this,C=_.data(y);f={initialize:function(){f.debug("Initializing",_),f.bind.events(),p.observeChanges&&f.observeChanges(),f.instantiate()},instantiate:function(){C=f,_.data(y,f)},destroy:function(){f.debug("Destroying previous instance",_),_.off(b).removeData(y)},refresh:function(){w=_.find(g.title),x=_.find(g.content)},observeChanges:function(){"MutationObserver"in t&&((d=new MutationObserver((function(e){f.debug("DOM tree modified, updating selector cache"),f.refresh()}))).observe(k,{childList:!0,subtree:!0}),f.debug("Setting up mutation observer",d))},bind:{events:function(){f.debug("Binding delegated events"),_.on(p.on+b,g.trigger,f.event.click)}},event:{click:function(){f.toggle.call(this)}},toggle:function(t){var n=t!==i?"number"==typeof t?w.eq(t):e(t).closest(g.title):e(this).closest(g.title),o=n.next(x),r=o.hasClass(m.animating),a=o.hasClass(m.active),s=a&&!r,l=!a&&r;f.debug("Toggling visibility of content",n),s||l?p.collapsible?f.close.call(n):f.debug("Cannot close accordion content collapsing is disabled"):f.open.call(n)},open:function(t){var n=t!==i?"number"==typeof t?w.eq(t):e(t).closest(g.title):e(this).closest(g.title),o=n.next(x),r=o.hasClass(m.animating);o.hasClass(m.active)||r?f.debug("Accordion already open, skipping",o):(f.debug("Opening accordion content",n),p.onOpening.call(o),p.onChanging.call(o),p.exclusive&&f.closeOthers.call(n),n.addClass(m.active),o.stop(!0,!0).addClass(m.animating),p.animateChildren&&(e.fn.transition!==i&&_.transition("is supported")?o.children().transition({animation:"fade in",queue:!1,useFailSafe:!0,debug:p.debug,verbose:p.verbose,duration:p.duration,skipInlineHidden:!0,onComplete:function(){o.children().removeClass(m.transition)}}):o.children().stop(!0,!0).animate({opacity:1},p.duration,f.resetOpacity)),o.slideDown(p.duration,p.easing,(function(){o.removeClass(m.animating).addClass(m.active),f.reset.display.call(this),p.onOpen.call(this),p.onChange.call(this)})))},close:function(t){var n=t!==i?"number"==typeof t?w.eq(t):e(t).closest(g.title):e(this).closest(g.title),o=n.next(x),r=o.hasClass(m.animating),a=o.hasClass(m.active);!a&&!(!a&&r)||a&&r||(f.debug("Closing accordion content",o),p.onClosing.call(o),p.onChanging.call(o),n.removeClass(m.active),o.stop(!0,!0).addClass(m.animating),p.animateChildren&&(e.fn.transition!==i&&_.transition("is supported")?o.children().transition({animation:"fade out",queue:!1,useFailSafe:!0,debug:p.debug,verbose:p.verbose,duration:p.duration,skipInlineHidden:!0}):o.children().stop(!0,!0).animate({opacity:0},p.duration,f.resetOpacity)),o.slideUp(p.duration,p.easing,(function(){o.removeClass(m.animating).removeClass(m.active),f.reset.display.call(this),p.onClose.call(this),p.onChange.call(this)})))},closeOthers:function(t){var n,o,r,a=t!==i?w.eq(t):e(this).closest(g.title),s=a.parents(g.content).prev(g.title),l=a.closest(g.accordion),c=g.title+"."+m.active+":visible",u=g.content+"."+m.active+":visible";p.closeNested?r=(n=l.find(c).not(s)).next(x):(n=l.find(c).not(s),o=l.find(u).find(c).not(s),r=(n=n.not(o)).next(x)),n.length>0&&(f.debug("Exclusive enabled, closing other content",n),n.removeClass(m.active),r.removeClass(m.animating).stop(!0,!0),p.animateChildren&&(e.fn.transition!==i&&_.transition("is supported")?r.children().transition({animation:"fade out",useFailSafe:!0,debug:p.debug,verbose:p.verbose,duration:p.duration,skipInlineHidden:!0}):r.children().stop(!0,!0).animate({opacity:0},p.duration,f.resetOpacity)),r.slideUp(p.duration,p.easing,(function(){e(this).removeClass(m.active),f.reset.display.call(this)})))},reset:{display:function(){f.verbose("Removing inline display from element",this),e(this).css("display",""),""===e(this).attr("style")&&e(this).attr("style","").removeAttr("style")},opacity:function(){f.verbose("Removing inline opacity from element",this),e(this).css("opacity",""),""===e(this).attr("style")&&e(this).attr("style","").removeAttr("style")}},setting:function(t,n){if(f.debug("Changing setting",t,n),e.isPlainObject(t))e.extend(!0,p,t);else{if(n===i)return p[t];e.isPlainObject(p[t])?e.extend(!0,p[t],n):p[t]=n}},internal:function(t,n){if(f.debug("Changing internal",t,n),n===i)return f[t];e.isPlainObject(t)?e.extend(!0,f,t):f[t]=n},debug:function(){!p.silent&&p.debug&&(p.performance?f.performance.log(arguments):(f.debug=Function.prototype.bind.call(console.info,console,p.name+":"),f.debug.apply(console,arguments)))},verbose:function(){!p.silent&&p.verbose&&p.debug&&(p.performance?f.performance.log(arguments):(f.verbose=Function.prototype.bind.call(console.info,console,p.name+":"),f.verbose.apply(console,arguments)))},error:function(){p.silent||(f.error=Function.prototype.bind.call(console.error,console,p.name+":"),f.error.apply(console,arguments))},performance:{log:function(e){var t,n;p.performance&&(n=(t=(new Date).getTime())-(a||t),a=t,s.push({Name:e[0],Arguments:[].slice.call(e,1)||"",Element:k,"Execution Time":n})),clearTimeout(f.performance.timer),f.performance.timer=setTimeout(f.performance.display,500)},display:function(){var t=p.name+":",n=0;a=!1,clearTimeout(f.performance.timer),e.each(s,(function(e,t){n+=t["Execution Time"]})),t+=" "+n+"ms",j&&(t+=" '"+j+"'"),(console.group!==i||console.table!==i)&&s.length>0&&(console.groupCollapsed(t),console.table?console.table(s):e.each(s,(function(e,t){console.log(t.Name+": "+t["Execution Time"]+"ms")})),console.groupEnd()),s=[]}},invoke:function(t,n,r){var a,s,l,c=C;return n=n||u,r=k||r,"string"==typeof t&&c!==i&&(t=t.split(/[\. ]/),a=t.length-1,e.each(t,(function(n,o){var r=n!=a?o+t[n+1].charAt(0).toUpperCase()+t[n+1].slice(1):t;if(e.isPlainObject(c[r])&&n!=a)c=c[r];else{if(c[r]!==i)return s=c[r],!1;if(!e.isPlainObject(c[o])||n==a)return c[o]!==i?(s=c[o],!1):(f.error(v.method,t),!1);c=c[o]}}))),e.isFunction(s)?l=s.apply(r,n):s!==i&&(l=s),Array.isArray(o)?o.push(l):o!==i?o=[o,l]:l!==i&&(o=l),s}},c?(C===i&&f.initialize(),f.invoke(l)):(C!==i&&C.invoke("destroy"),f.initialize())})),o!==i?o:this},e.fn.accordion.settings={name:"Accordion",namespace:"accordion",silent:!1,debug:!1,verbose:!1,performance:!0,on:"click",observeChanges:!0,exclusive:!0,collapsible:!0,closeNested:!1,animateChildren:!0,duration:350,easing:"easeOutQuad",onOpening:function(){},onClosing:function(){},onChanging:function(){},onOpen:function(){},onClose:function(){},onChange:function(){},error:{method:"The method you called is not defined"},className:{active:"active",animating:"animating",transition:"transition"},selector:{accordion:".accordion",title:".title",trigger:".title",content:".content"}},e.extend(e.easing,{easeOutQuad:function(e,t,n,i,o){return-i*(t/=o)*(t-2)+n}})}(jQuery,window,document),function(e,t,n,i){e.isWindow=e.isWindow||function(e){return null!=e&&e===e.window},t=void 0!==t&&t.Math==Math?t:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),e.api=e.fn.api=function(n){var o,r=e.isFunction(this)?e(t):e(this),a=r.selector||"",s=(new Date).getTime(),l=[],c=arguments[0],u="string"==typeof c,d=[].slice.call(arguments,1);return r.each((function(){var r,f,p,m,h,g,v=e.isPlainObject(n)?e.extend(!0,{},e.fn.api.settings,n):e.extend({},e.fn.api.settings),b=v.namespace,y=v.metadata,j=v.selector,_=v.error,w=v.className,x="."+b,k="module-"+b,C=e(this),S=C.closest(j.form),T=v.stateContext?e(v.stateContext):C,A=this,$=T[0],E=C.data(k);g={initialize:function(){u||g.bind.events(),g.instantiate()},instantiate:function(){g.verbose("Storing instance of module",g),E=g,C.data(k,E)},destroy:function(){g.verbose("Destroying previous module for",A),C.removeData(k).off(x)},bind:{events:function(){var e=g.get.event();e?(g.verbose("Attaching API events to element",e),C.on(e+x,g.event.trigger)):"now"==v.on&&(g.debug("Querying API endpoint immediately"),g.query())}},decode:{json:function(e){if(e!==i&&"string"==typeof e)try{e=JSON.parse(e)}catch(e){}return e}},read:{cachedResponse:function(e){var n;if(t.Storage!==i)return n=sessionStorage.getItem(e),g.debug("Using cached response",e,n),n=g.decode.json(n);g.error(_.noStorage)}},write:{cachedResponse:function(n,o){o&&""===o?g.debug("Response empty, not caching",o):t.Storage!==i?(e.isPlainObject(o)&&(o=JSON.stringify(o)),sessionStorage.setItem(n,o),g.verbose("Storing cached response for url",n,o)):g.error(_.noStorage)}},query:function(){if(g.is.disabled())g.debug("Element is disabled API request aborted");else{if(g.is.loading()){if(!v.interruptRequests)return void g.debug("Cancelling request, previous request is still pending");g.debug("Interrupting previous request"),g.abort()}if(v.defaultData&&e.extend(!0,v.urlData,g.get.defaultData()),v.serializeForm&&(v.data=g.add.formData(v.data)),!1===(f=g.get.settings()))return g.cancelled=!0,void g.error(_.beforeSend);if(g.cancelled=!1,(p=g.get.templatedURL())||g.is.mocked()){if((p=g.add.urlData(p))||g.is.mocked()){if(f.url=v.base+p,r=e.extend(!0,{},v,{type:v.method||v.type,data:m,url:v.base+p,beforeSend:v.beforeXHR,success:function(){},failure:function(){},complete:function(){}}),g.debug("Querying URL",r.url),g.verbose("Using AJAX settings",r),"local"===v.cache&&g.read.cachedResponse(p))return g.debug("Response returned from local cache"),g.request=g.create.request(),void g.request.resolveWith($,[g.read.cachedResponse(p)]);v.throttle?v.throttleFirstRequest||g.timer?(g.debug("Throttling request",v.throttle),clearTimeout(g.timer),g.timer=setTimeout((function(){g.timer&&delete g.timer,g.debug("Sending throttled request",m,r.method),g.send.request()}),v.throttle)):(g.debug("Sending request",m,r.method),g.send.request(),g.timer=setTimeout((function(){}),v.throttle)):(g.debug("Sending request",m,r.method),g.send.request())}}else g.error(_.missingURL)}},should:{removeError:function(){return!0===v.hideError||"auto"===v.hideError&&!g.is.form()}},is:{disabled:function(){return C.filter(j.disabled).length>0},expectingJSON:function(){return"json"===v.dataType||"jsonp"===v.dataType},form:function(){return C.is("form")||T.is("form")},mocked:function(){return v.mockResponse||v.mockResponseAsync||v.response||v.responseAsync},input:function(){return C.is("input")},loading:function(){return!!g.request&&"pending"==g.request.state()},abortedRequest:function(e){return e&&e.readyState!==i&&0===e.readyState?(g.verbose("XHR request determined to be aborted"),!0):(g.verbose("XHR request was not aborted"),!1)},validResponse:function(t){return g.is.expectingJSON()&&e.isFunction(v.successTest)?(g.debug("Checking JSON returned success",v.successTest,t),v.successTest(t)?(g.debug("Response passed success test",t),!0):(g.debug("Response failed success test",t),!1)):(g.verbose("Response is not JSON, skipping validation",v.successTest,t),!0)}},was:{cancelled:function(){return g.cancelled||!1},succesful:function(){return g.verbose('This behavior will be deleted due to typo. Use "was successful" instead.'),g.was.successful()},successful:function(){return g.request&&"resolved"==g.request.state()},failure:function(){return g.request&&"rejected"==g.request.state()},complete:function(){return g.request&&("resolved"==g.request.state()||"rejected"==g.request.state())}},add:{urlData:function(t,n){var o,r;return t&&(o=t.match(v.regExp.required),r=t.match(v.regExp.optional),n=n||v.urlData,o&&(g.debug("Looking for required URL variables",o),e.each(o,(function(o,r){var a=-1!==r.indexOf("$")?r.substr(2,r.length-3):r.substr(1,r.length-2),s=e.isPlainObject(n)&&n[a]!==i?n[a]:C.data(a)!==i?C.data(a):T.data(a)!==i?T.data(a):n[a];if(s===i)return g.error(_.requiredParameter,a,t),t=!1,!1;g.verbose("Found required variable",a,s),s=v.encodeParameters?g.get.urlEncodedValue(s):s,t=t.replace(r,s)}))),r&&(g.debug("Looking for optional URL variables",o),e.each(r,(function(o,r){var a=-1!==r.indexOf("$")?r.substr(3,r.length-4):r.substr(2,r.length-3),s=e.isPlainObject(n)&&n[a]!==i?n[a]:C.data(a)!==i?C.data(a):T.data(a)!==i?T.data(a):n[a];s!==i?(g.verbose("Optional variable Found",a,s),t=t.replace(r,s)):(g.verbose("Optional variable not found",a),t=-1!==t.indexOf("/"+r)?t.replace("/"+r,""):t.replace(r,""))})))),t},formData:function(t){var n=e.fn.serializeObject!==i,o=n?S.serializeObject():S.serialize();return t=t||v.data,e.isPlainObject(t)?n?(g.debug("Extending existing data with form data",t,o),t=e.extend(!0,{},t,o)):(g.error(_.missingSerialize),g.debug("Cant extend data. Replacing data with form data",t,o),t=o):(g.debug("Adding form data",o),t=o),t}},send:{request:function(){g.set.loading(),g.request=g.create.request(),g.is.mocked()?g.mockedXHR=g.create.mockedXHR():g.xhr=g.create.xhr(),v.onRequest.call($,g.request,g.xhr)}},event:{trigger:function(e){g.query(),"submit"!=e.type&&"click"!=e.type||e.preventDefault()},xhr:{always:function(){},done:function(t,n,i){var o=this,r=(new Date).getTime()-h,a=v.loadingDuration-r,s=!!e.isFunction(v.onResponse)&&(g.is.expectingJSON()&&!v.rawResponse?v.onResponse.call(o,e.extend(!0,{},t)):v.onResponse.call(o,t));a=a>0?a:0,s&&(g.debug("Modified API response in onResponse callback",v.onResponse,s,t),t=s),a>0&&g.debug("Response completed early delaying state change by",a),setTimeout((function(){g.is.validResponse(t)?g.request.resolveWith(o,[t,i]):g.request.rejectWith(o,[i,"invalid"])}),a)},fail:function(e,t,n){var i=this,o=(new Date).getTime()-h,r=v.loadingDuration-o;(r=r>0?r:0)>0&&g.debug("Response completed early delaying state change by",r),setTimeout((function(){g.is.abortedRequest(e)?g.request.rejectWith(i,[e,"aborted",n]):g.request.rejectWith(i,[e,"error",t,n])}),r)}},request:{done:function(e,t){g.debug("Successful API Response",e),"local"===v.cache&&p&&(g.write.cachedResponse(p,e),g.debug("Saving server response locally",g.cache)),v.onSuccess.call($,e,C,t)},complete:function(e,t){var n,i;g.was.successful()?(i=e,n=t):(n=e,i=g.get.responseFromXHR(n)),g.remove.loading(),v.onComplete.call($,i,C,n)},fail:function(e,t,n){var o=g.get.responseFromXHR(e),a=g.get.errorFromRequest(o,t,n);if("aborted"==t)return g.debug("XHR Aborted (Most likely caused by page navigation or CORS Policy)",t,n),v.onAbort.call($,t,C,e),!0;"invalid"==t?g.debug("JSON did not pass success test. A server-side error has most likely occurred",o):"error"==t&&e!==i&&(g.debug("XHR produced a server error",t,n),(e.status<200||e.status>=300)&&n!==i&&""!==n&&g.error(_.statusMessage+n,r.url),v.onError.call($,a,C,e)),v.errorDuration&&"aborted"!==t&&(g.debug("Adding error state"),g.set.error(),g.should.removeError()&&setTimeout(g.remove.error,v.errorDuration)),g.debug("API Request failed",a,e),v.onFailure.call($,o,C,e)}}},create:{request:function(){return e.Deferred().always(g.event.request.complete).done(g.event.request.done).fail(g.event.request.fail)},mockedXHR:function(){var t,n,i,o=v.mockResponse||v.response,r=v.mockResponseAsync||v.responseAsync;return i=e.Deferred().always(g.event.xhr.complete).done(g.event.xhr.done).fail(g.event.xhr.fail),o?(e.isFunction(o)?(g.debug("Using specified synchronous callback",o),n=o.call($,f)):(g.debug("Using settings specified response",o),n=o),i.resolveWith($,[n,false,{responseText:n}])):e.isFunction(r)&&(t=function(e){g.debug("Async callback returned response",e),e?i.resolveWith($,[e,false,{responseText:e}]):i.rejectWith($,[{responseText:e},false,false])},g.debug("Using specified async response callback",r),r.call($,f,t)),i},xhr:function(){var t;return t=e.ajax(r).always(g.event.xhr.always).done(g.event.xhr.done).fail(g.event.xhr.fail),g.verbose("Created server request",t,r),t}},set:{error:function(){g.verbose("Adding error state to element",T),T.addClass(w.error)},loading:function(){g.verbose("Adding loading state to element",T),T.addClass(w.loading),h=(new Date).getTime()}},remove:{error:function(){g.verbose("Removing error state from element",T),T.removeClass(w.error)},loading:function(){g.verbose("Removing loading state from element",T),T.removeClass(w.loading)}},get:{responseFromXHR:function(t){return!!e.isPlainObject(t)&&(g.is.expectingJSON()?g.decode.json(t.responseText):t.responseText)},errorFromRequest:function(t,n,o){return e.isPlainObject(t)&&t.error!==i?t.error:v.error[n]!==i?v.error[n]:o},request:function(){return g.request||!1},xhr:function(){return g.xhr||!1},settings:function(){var t;return(t=v.beforeSend.call(C,v))&&(t.success!==i&&(g.debug("Legacy success callback detected",t),g.error(_.legacyParameters,t.success),t.onSuccess=t.success),t.failure!==i&&(g.debug("Legacy failure callback detected",t),g.error(_.legacyParameters,t.failure),t.onFailure=t.failure),t.complete!==i&&(g.debug("Legacy complete callback detected",t),g.error(_.legacyParameters,t.complete),t.onComplete=t.complete)),t===i&&g.error(_.noReturnedValue),!1===t?t:t!==i?e.extend(!0,{},t):e.extend(!0,{},v)},urlEncodedValue:function(e){var n=t.decodeURIComponent(e),i=t.encodeURIComponent(e);return n!==e?(g.debug("URL value is already encoded, avoiding double encoding",e),e):(g.verbose("Encoding value using encodeURIComponent",e,i),i)},defaultData:function(){var t={};return e.isWindow(A)||(g.is.input()?t.value=C.val():g.is.form()||(t.text=C.text())),t},event:function(){return e.isWindow(A)||"now"==v.on?(g.debug("API called without element, no events attached"),!1):"auto"==v.on?C.is("input")?A.oninput!==i?"input":A.onpropertychange!==i?"propertychange":"keyup":C.is("form")?"submit":"click":v.on},templatedURL:function(e){if(e=e||C.data(y.action)||v.action||!1,p=C.data(y.url)||v.url||!1)return g.debug("Using specified url",p),p;if(e){if(g.debug("Looking up url for action",e,v.api),v.api[e]===i&&!g.is.mocked())return void g.error(_.missingAction,v.action,v.api);p=v.api[e]}else g.is.form()&&(p=C.attr("action")||T.attr("action")||!1,g.debug("No url or action specified, defaulting to form action",p));return p}},abort:function(){var e=g.get.xhr();e&&"resolved"!==e.state()&&(g.debug("Cancelling API request"),e.abort())},reset:function(){g.remove.error(),g.remove.loading()},setting:function(t,n){if(g.debug("Changing setting",t,n),e.isPlainObject(t))e.extend(!0,v,t);else{if(n===i)return v[t];e.isPlainObject(v[t])?e.extend(!0,v[t],n):v[t]=n}},internal:function(t,n){if(e.isPlainObject(t))e.extend(!0,g,t);else{if(n===i)return g[t];g[t]=n}},debug:function(){!v.silent&&v.debug&&(v.performance?g.performance.log(arguments):(g.debug=Function.prototype.bind.call(console.info,console,v.name+":"),g.debug.apply(console,arguments)))},verbose:function(){!v.silent&&v.verbose&&v.debug&&(v.performance?g.performance.log(arguments):(g.verbose=Function.prototype.bind.call(console.info,console,v.name+":"),g.verbose.apply(console,arguments)))},error:function(){v.silent||(g.error=Function.prototype.bind.call(console.error,console,v.name+":"),g.error.apply(console,arguments))},performance:{log:function(e){var t,n;v.performance&&(n=(t=(new Date).getTime())-(s||t),s=t,l.push({Name:e[0],Arguments:[].slice.call(e,1)||"","Execution Time":n})),clearTimeout(g.performance.timer),g.performance.timer=setTimeout(g.performance.display,500)},display:function(){var t=v.name+":",n=0;s=!1,clearTimeout(g.performance.timer),e.each(l,(function(e,t){n+=t["Execution Time"]})),t+=" "+n+"ms",a&&(t+=" '"+a+"'"),(console.group!==i||console.table!==i)&&l.length>0&&(console.groupCollapsed(t),console.table?console.table(l):e.each(l,(function(e,t){console.log(t.Name+": "+t["Execution Time"]+"ms")})),console.groupEnd()),l=[]}},invoke:function(t,n,r){var a,s,l,c=E;return n=n||d,r=A||r,"string"==typeof t&&c!==i&&(t=t.split(/[\. ]/),a=t.length-1,e.each(t,(function(n,o){var r=n!=a?o+t[n+1].charAt(0).toUpperCase()+t[n+1].slice(1):t;if(e.isPlainObject(c[r])&&n!=a)c=c[r];else{if(c[r]!==i)return s=c[r],!1;if(!e.isPlainObject(c[o])||n==a)return c[o]!==i?(s=c[o],!1):(g.error(_.method,t),!1);c=c[o]}}))),e.isFunction(s)?l=s.apply(r,n):s!==i&&(l=s),Array.isArray(o)?o.push(l):o!==i?o=[o,l]:l!==i&&(o=l),s}},u?(E===i&&g.initialize(),g.invoke(c)):(E!==i&&E.invoke("destroy"),g.initialize())})),o!==i?o:this},e.api.settings={name:"API",namespace:"api",debug:!1,verbose:!1,performance:!0,api:{},cache:!0,interruptRequests:!0,on:"auto",stateContext:!1,loadingDuration:0,hideError:"auto",errorDuration:2e3,encodeParameters:!0,action:!1,url:!1,base:"",urlData:{},defaultData:!0,serializeForm:!1,throttle:0,throttleFirstRequest:!0,method:"get",data:{},dataType:"json",mockResponse:!1,mockResponseAsync:!1,response:!1,responseAsync:!1,rawResponse:!1,beforeSend:function(e){return e},beforeXHR:function(e){},onRequest:function(e,t){},onResponse:!1,onSuccess:function(e,t){},onComplete:function(e,t){},onFailure:function(e,t){},onError:function(e,t){},onAbort:function(e,t){},successTest:!1,error:{beforeSend:"The before send function has aborted the request",error:"There was an error with your request",exitConditions:"API Request Aborted. Exit conditions met",JSONParse:"JSON could not be parsed during error handling",legacyParameters:"You are using legacy API success callback names",method:"The method you called is not defined",missingAction:"API action used but no url was defined",missingSerialize:"jquery-serialize-object is required to add form data to an existing data object",missingURL:"No URL specified for api event",noReturnedValue:"The beforeSend callback must return a settings object, beforeSend ignored.",noStorage:"Caching responses locally requires session storage",parseError:"There was an error parsing your request",requiredParameter:"Missing a required URL parameter: ",statusMessage:"Server gave an error: ",timeout:"Your request timed out"},regExp:{required:/\{\$*[A-z0-9]+\}/g,optional:/\{\/\$*[A-z0-9]+\}/g},className:{loading:"loading",error:"error"},selector:{disabled:".disabled",form:"form"},metadata:{action:"action",url:"url"}}}(jQuery,window,document),function(e,t,n,i){e.isFunction=e.isFunction||function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},t=void 0!==t&&t.Math==Math?t:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),e.fn.checkbox=function(o){var r,a=e(this),s=a.selector||"",l=(new Date).getTime(),c=[],u=arguments[0],d="string"==typeof u,f=[].slice.call(arguments,1);return a.each((function(){var a,p,m=e.extend(!0,{},e.fn.checkbox.settings,o),h=m.className,g=m.namespace,v=m.selector,b=m.error,y="."+g,j="module-"+g,_=e(this),w=e(this).children(v.label),x=e(this).children(v.input),k=x[0],C=!1,S=!1,T=_.data(j),A=this;p={initialize:function(){p.verbose("Initializing checkbox",m),p.create.label(),p.bind.events(),p.set.tabbable(),p.hide.input(),p.observeChanges(),p.instantiate(),p.setup()},instantiate:function(){p.verbose("Storing instance of module",p),T=p,_.data(j,p)},destroy:function(){p.verbose("Destroying module"),p.unbind.events(),p.show.input(),_.removeData(j)},fix:{reference:function(){_.is(v.input)&&(p.debug("Behavior called on <input> adjusting invoked element"),_=_.closest(v.checkbox),p.refresh())}},setup:function(){p.set.initialLoad(),p.is.indeterminate()?(p.debug("Initial value is indeterminate"),p.indeterminate()):p.is.checked()?(p.debug("Initial value is checked"),p.check()):(p.debug("Initial value is unchecked"),p.uncheck()),p.remove.initialLoad()},refresh:function(){w=_.children(v.label),x=_.children(v.input),k=x[0]},hide:{input:function(){p.verbose("Modifying <input> z-index to be unselectable"),x.addClass(h.hidden)}},show:{input:function(){p.verbose("Modifying <input> z-index to be selectable"),x.removeClass(h.hidden)}},observeChanges:function(){"MutationObserver"in t&&((a=new MutationObserver((function(e){p.debug("DOM tree modified, updating selector cache"),p.refresh()}))).observe(A,{childList:!0,subtree:!0}),p.debug("Setting up mutation observer",a))},attachEvents:function(t,n){var i=e(t);n=e.isFunction(p[n])?p[n]:p.toggle,i.length>0?(p.debug("Attaching checkbox events to element",t,n),i.on("click"+y,n)):p.error(b.notFound)},preventDefaultOnInputTarget:function(){"undefined"!=typeof event&&null!==event&&e(event.target).is(v.input)&&(p.verbose("Preventing default check action after manual check action"),event.preventDefault())},event:{change:function(e){p.should.ignoreCallbacks()||m.onChange.call(k)},click:function(t){var n=e(t.target);n.is(v.input)?p.verbose("Using default check action on initialized checkbox"):n.is(v.link)?p.debug("Clicking link inside checkbox, skipping toggle"):(p.toggle(),x.focus(),t.preventDefault())},keydown:function(t){var n=t.which,i=13,o=32,r=27,a=37,s=38,l=39,c=40,u=p.get.radios(),d=u.index(_),f=u.length,h=!1;if(n==a||n==s?h=(0===d?f:d)-1:n!=l&&n!=c||(h=d===f-1?0:d+1),!p.should.ignoreCallbacks()&&!1!==h){if(!1===m.beforeUnchecked.apply(k))return p.verbose("Option not allowed to be unchecked, cancelling key navigation"),!1;if(!1===m.beforeChecked.apply(e(u[h]).children(v.input)[0]))return p.verbose("Next option should not allow check, cancelling key navigation"),!1}n==r?(p.verbose("Escape key pressed blurring field"),x.blur(),S=!0):!t.ctrlKey&&(n==o||n==i&&m.enableEnterKey)?(p.verbose("Enter/space key pressed, toggling checkbox"),p.toggle(),S=!0):S=!1},keyup:function(e){S&&e.preventDefault()}},check:function(){p.should.allowCheck()&&(p.debug("Checking checkbox",x),p.set.checked(),p.should.ignoreCallbacks()||(m.onChecked.call(k),p.trigger.change()),p.preventDefaultOnInputTarget())},uncheck:function(){p.should.allowUncheck()&&(p.debug("Unchecking checkbox"),p.set.unchecked(),p.should.ignoreCallbacks()||(m.onUnchecked.call(k),p.trigger.change()),p.preventDefaultOnInputTarget())},indeterminate:function(){p.should.allowIndeterminate()?p.debug("Checkbox is already indeterminate"):(p.debug("Making checkbox indeterminate"),p.set.indeterminate(),p.should.ignoreCallbacks()||(m.onIndeterminate.call(k),p.trigger.change()))},determinate:function(){p.should.allowDeterminate()?p.debug("Checkbox is already determinate"):(p.debug("Making checkbox determinate"),p.set.determinate(),p.should.ignoreCallbacks()||(m.onDeterminate.call(k),p.trigger.change()))},enable:function(){p.is.enabled()?p.debug("Checkbox is already enabled"):(p.debug("Enabling checkbox"),p.set.enabled(),p.should.ignoreCallbacks()||(m.onEnable.call(k),m.onEnabled.call(k),p.trigger.change()))},disable:function(){p.is.disabled()?p.debug("Checkbox is already disabled"):(p.debug("Disabling checkbox"),p.set.disabled(),p.should.ignoreCallbacks()||(m.onDisable.call(k),m.onDisabled.call(k),p.trigger.change()))},get:{radios:function(){var t=p.get.name();return e('input[name="'+t+'"]').closest(v.checkbox)},otherRadios:function(){return p.get.radios().not(_)},name:function(){return x.attr("name")}},is:{initialLoad:function(){return C},radio:function(){return x.hasClass(h.radio)||"radio"==x.attr("type")},indeterminate:function(){return x.prop("indeterminate")!==i&&x.prop("indeterminate")},checked:function(){return x.prop("checked")!==i&&x.prop("checked")},disabled:function(){return x.prop("disabled")!==i&&x.prop("disabled")},enabled:function(){return!p.is.disabled()},determinate:function(){return!p.is.indeterminate()},unchecked:function(){return!p.is.checked()}},should:{allowCheck:function(){return p.is.determinate()&&p.is.checked()&&!p.is.initialLoad()?(p.debug("Should not allow check, checkbox is already checked"),!1):!(!p.should.ignoreCallbacks()&&!1===m.beforeChecked.apply(k))||(p.debug("Should not allow check, beforeChecked cancelled"),!1)},allowUncheck:function(){return p.is.determinate()&&p.is.unchecked()&&!p.is.initialLoad()?(p.debug("Should not allow uncheck, checkbox is already unchecked"),!1):!(!p.should.ignoreCallbacks()&&!1===m.beforeUnchecked.apply(k))||(p.debug("Should not allow uncheck, beforeUnchecked cancelled"),!1)},allowIndeterminate:function(){return p.is.indeterminate()&&!p.is.initialLoad()?(p.debug("Should not allow indeterminate, checkbox is already indeterminate"),!1):!(!p.should.ignoreCallbacks()&&!1===m.beforeIndeterminate.apply(k))||(p.debug("Should not allow indeterminate, beforeIndeterminate cancelled"),!1)},allowDeterminate:function(){return p.is.determinate()&&!p.is.initialLoad()?(p.debug("Should not allow determinate, checkbox is already determinate"),!1):!(!p.should.ignoreCallbacks()&&!1===m.beforeDeterminate.apply(k))||(p.debug("Should not allow determinate, beforeDeterminate cancelled"),!1)},ignoreCallbacks:function(){return C&&!m.fireOnInit}},can:{change:function(){return!(_.hasClass(h.disabled)||_.hasClass(h.readOnly)||x.prop("disabled")||x.prop("readonly"))},uncheck:function(){return"boolean"==typeof m.uncheckable?m.uncheckable:!p.is.radio()}},set:{initialLoad:function(){C=!0},checked:function(){p.verbose("Setting class to checked"),_.removeClass(h.indeterminate).addClass(h.checked),p.is.radio()&&p.uncheckOthers(),p.is.indeterminate()||!p.is.checked()?(p.verbose("Setting state to checked",k),x.prop("indeterminate",!1).prop("checked",!0)):p.debug("Input is already checked, skipping input property change")},unchecked:function(){p.verbose("Removing checked class"),_.removeClass(h.indeterminate).removeClass(h.checked),p.is.indeterminate()||!p.is.unchecked()?(p.debug("Setting state to unchecked"),x.prop("indeterminate",!1).prop("checked",!1)):p.debug("Input is already unchecked")},indeterminate:function(){p.verbose("Setting class to indeterminate"),_.addClass(h.indeterminate),p.is.indeterminate()?p.debug("Input is already indeterminate, skipping input property change"):(p.debug("Setting state to indeterminate"),x.prop("indeterminate",!0))},determinate:function(){p.verbose("Removing indeterminate class"),_.removeClass(h.indeterminate),p.is.determinate()?p.debug("Input is already determinate, skipping input property change"):(p.debug("Setting state to determinate"),x.prop("indeterminate",!1))},disabled:function(){p.verbose("Setting class to disabled"),_.addClass(h.disabled),p.is.disabled()?p.debug("Input is already disabled, skipping input property change"):(p.debug("Setting state to disabled"),x.prop("disabled","disabled"))},enabled:function(){p.verbose("Removing disabled class"),_.removeClass(h.disabled),p.is.enabled()?p.debug("Input is already enabled, skipping input property change"):(p.debug("Setting state to enabled"),x.prop("disabled",!1))},tabbable:function(){p.verbose("Adding tabindex to checkbox"),x.attr("tabindex")===i&&x.attr("tabindex",0)}},remove:{initialLoad:function(){C=!1}},trigger:{change:function(){var e=x[0];if(e){var t=n.createEvent("HTMLEvents");p.verbose("Triggering native change event"),t.initEvent("change",!0,!1),e.dispatchEvent(t)}}},create:{label:function(){x.prevAll(v.label).length>0?(x.prev(v.label).detach().insertAfter(x),p.debug("Moving existing label",w)):p.has.label()||(w=e("<label>").insertAfter(x),p.debug("Creating label",w))}},has:{label:function(){return w.length>0}},bind:{events:function(){p.verbose("Attaching checkbox events"),_.on("click"+y,p.event.click).on("change"+y,p.event.change).on("keydown"+y,v.input,p.event.keydown).on("keyup"+y,v.input,p.event.keyup)}},unbind:{events:function(){p.debug("Removing events"),_.off(y)}},uncheckOthers:function(){var e=p.get.otherRadios();p.debug("Unchecking other radios",e),e.removeClass(h.checked)},toggle:function(){p.can.change()?p.is.indeterminate()||p.is.unchecked()?(p.debug("Currently unchecked"),p.check()):p.is.checked()&&p.can.uncheck()&&(p.debug("Currently checked"),p.uncheck()):p.is.radio()||p.debug("Checkbox is read-only or disabled, ignoring toggle")},setting:function(t,n){if(p.debug("Changing setting",t,n),e.isPlainObject(t))e.extend(!0,m,t);else{if(n===i)return m[t];e.isPlainObject(m[t])?e.extend(!0,m[t],n):m[t]=n}},internal:function(t,n){if(e.isPlainObject(t))e.extend(!0,p,t);else{if(n===i)return p[t];p[t]=n}},debug:function(){!m.silent&&m.debug&&(m.performance?p.performance.log(arguments):(p.debug=Function.prototype.bind.call(console.info,console,m.name+":"),p.debug.apply(console,arguments)))},verbose:function(){!m.silent&&m.verbose&&m.debug&&(m.performance?p.performance.log(arguments):(p.verbose=Function.prototype.bind.call(console.info,console,m.name+":"),p.verbose.apply(console,arguments)))},error:function(){m.silent||(p.error=Function.prototype.bind.call(console.error,console,m.name+":"),p.error.apply(console,arguments))},performance:{log:function(e){var t,n;m.performance&&(n=(t=(new Date).getTime())-(l||t),l=t,c.push({Name:e[0],Arguments:[].slice.call(e,1)||"",Element:A,"Execution Time":n})),clearTimeout(p.performance.timer),p.performance.timer=setTimeout(p.performance.display,500)},display:function(){var t=m.name+":",n=0;l=!1,clearTimeout(p.performance.timer),e.each(c,(function(e,t){n+=t["Execution Time"]})),t+=" "+n+"ms",s&&(t+=" '"+s+"'"),(console.group!==i||console.table!==i)&&c.length>0&&(console.groupCollapsed(t),console.table?console.table(c):e.each(c,(function(e,t){console.log(t.Name+": "+t["Execution Time"]+"ms")})),console.groupEnd()),c=[]}},invoke:function(t,n,o){var a,s,l,c=T;return n=n||f,o=A||o,"string"==typeof t&&c!==i&&(t=t.split(/[\. ]/),a=t.length-1,e.each(t,(function(n,o){var r=n!=a?o+t[n+1].charAt(0).toUpperCase()+t[n+1].slice(1):t;if(e.isPlainObject(c[r])&&n!=a)c=c[r];else{if(c[r]!==i)return s=c[r],!1;if(!e.isPlainObject(c[o])||n==a)return c[o]!==i?(s=c[o],!1):(p.error(b.method,t),!1);c=c[o]}}))),e.isFunction(s)?l=s.apply(o,n):s!==i&&(l=s),Array.isArray(r)?r.push(l):r!==i?r=[r,l]:l!==i&&(r=l),s}},d?(T===i&&p.initialize(),p.invoke(u)):(T!==i&&T.invoke("destroy"),p.initialize())})),r!==i?r:this},e.fn.checkbox.settings={name:"Checkbox",namespace:"checkbox",silent:!1,debug:!1,verbose:!0,performance:!0,uncheckable:"auto",fireOnInit:!1,enableEnterKey:!0,onChange:function(){},beforeChecked:function(){},beforeUnchecked:function(){},beforeDeterminate:function(){},beforeIndeterminate:function(){},onChecked:function(){},onUnchecked:function(){},onDeterminate:function(){},onIndeterminate:function(){},onEnable:function(){},onDisable:function(){},onEnabled:function(){},onDisabled:function(){},className:{checked:"checked",indeterminate:"indeterminate",disabled:"disabled",hidden:"hidden",radio:"radio",readOnly:"read-only"},error:{method:"The method you called is not defined"},selector:{checkbox:".ui.checkbox",label:"label, .box",input:'input[type="checkbox"], input[type="radio"]',link:"a[href]"}}}(jQuery,window,document),function(e,n,i,o){e.isFunction=e.isFunction||function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},n=void 0!==n&&n.Math==Math?n:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),e.fn.dimmer=function(n){var r,a=e(this),s=(new Date).getTime(),l=[],c=arguments[0],u="string"==typeof c,d=[].slice.call(arguments,1);return a.each((function(){var f,p,m,h=e.isPlainObject(n)?e.extend(!0,{},e.fn.dimmer.settings,n):e.extend({},e.fn.dimmer.settings),g=h.selector,v=h.namespace,b=h.className,y=h.error,j="."+v,_="module-"+v,w=a.selector||"",x="ontouchstart"in i.documentElement?"touchstart":"click",k=e(this),C=this,S=k.data(_);(m={preinitialize:function(){m.is.dimmer()?(p=k.parent(),f=k):(p=k,f=m.has.dimmer()?h.dimmerName?p.find(g.dimmer).filter("."+h.dimmerName):p.find(g.dimmer):m.create())},initialize:function(){m.debug("Initializing dimmer",h),m.bind.events(),m.set.dimmable(),m.instantiate()},instantiate:function(){m.verbose("Storing instance of module",m),S=m,k.data(_,S)},destroy:function(){m.verbose("Destroying previous module",f),m.unbind.events(),m.remove.variation(),p.off(j)},bind:{events:function(){"hover"==h.on?p.on("mouseenter"+j,m.show).on("mouseleave"+j,m.hide):"click"==h.on&&p.on(x+j,m.toggle),m.is.page()&&(m.debug("Setting as a page dimmer",p),m.set.pageDimmer()),m.is.closable()&&(m.verbose("Adding dimmer close event",f),p.on(x+j,g.dimmer,m.event.click))}},unbind:{events:function(){k.removeData(_),p.off(j)}},event:{click:function(t){m.verbose("Determining if event occured on dimmer",t),(0===f.find(t.target).length||e(t.target).is(g.content))&&(m.hide(),t.stopImmediatePropagation())}},addContent:function(t){var n=e(t);m.debug("Add content to dimmer",n),n.parent()[0]!==f[0]&&n.detach().appendTo(f)},create:function(){var t=e(h.template.dimmer(h));return h.dimmerName&&(m.debug("Creating named dimmer",h.dimmerName),t.addClass(h.dimmerName)),t.appendTo(p),t},show:function(t){t=e.isFunction(t)?t:function(){},m.debug("Showing dimmer",f,h),m.set.variation(),m.is.dimmed()&&!m.is.animating()||!m.is.enabled()?m.debug("Dimmer is already shown or disabled"):(m.animate.show(t),h.onShow.call(C),h.onChange.call(C))},hide:function(t){t=e.isFunction(t)?t:function(){},m.is.dimmed()||m.is.animating()?(m.debug("Hiding dimmer",f),m.animate.hide(t),h.onHide.call(C),h.onChange.call(C)):m.debug("Dimmer is not visible")},toggle:function(){m.verbose("Toggling dimmer visibility",f),m.is.dimmed()?m.is.closable()&&m.hide():m.show()},animate:{show:function(t){t=e.isFunction(t)?t:function(){},h.useCSS&&e.fn.transition!==o&&f.transition("is supported")?(h.useFlex?(m.debug("Using flex dimmer"),m.remove.legacy()):(m.debug("Using legacy non-flex dimmer"),m.set.legacy()),"auto"!==h.opacity&&m.set.opacity(),f.transition({displayType:h.useFlex?"flex":"block",animation:h.transition+" in",queue:!1,duration:m.get.duration(),useFailSafe:!0,onStart:function(){m.set.dimmed()},onComplete:function(){m.set.active(),t()}})):(m.verbose("Showing dimmer animation with javascript"),m.set.dimmed(),"auto"==h.opacity&&(h.opacity=.8),f.stop().css({opacity:0,width:"100%",height:"100%"}).fadeTo(m.get.duration(),h.opacity,(function(){f.removeAttr("style"),m.set.active(),t()})))},hide:function(t){t=e.isFunction(t)?t:function(){},h.useCSS&&e.fn.transition!==o&&f.transition("is supported")?(m.verbose("Hiding dimmer with css"),f.transition({displayType:h.useFlex?"flex":"block",animation:h.transition+" out",queue:!1,duration:m.get.duration(),useFailSafe:!0,onComplete:function(){m.remove.dimmed(),m.remove.variation(),m.remove.active(),t()}})):(m.verbose("Hiding dimmer with javascript"),f.stop().fadeOut(m.get.duration(),(function(){m.remove.dimmed(),m.remove.active(),f.removeAttr("style"),t()})))}},get:{dimmer:function(){return f},duration:function(){return"object"==t()(h.duration)?m.is.active()?h.duration.hide:h.duration.show:h.duration}},has:{dimmer:function(){return h.dimmerName?k.find(g.dimmer).filter("."+h.dimmerName).length>0:k.find(g.dimmer).length>0}},is:{active:function(){return f.hasClass(b.active)},animating:function(){return f.is(":animated")||f.hasClass(b.animating)},closable:function(){return"auto"==h.closable?"hover"!=h.on:h.closable},dimmer:function(){return k.hasClass(b.dimmer)},dimmable:function(){return k.hasClass(b.dimmable)},dimmed:function(){return p.hasClass(b.dimmed)},disabled:function(){return p.hasClass(b.disabled)},enabled:function(){return!m.is.disabled()},page:function(){return p.is("body")},pageDimmer:function(){return f.hasClass(b.pageDimmer)}},can:{show:function(){return!f.hasClass(b.disabled)}},set:{opacity:function(e){var t=f.css("background-color"),n=t.split(","),i=n&&n.length>=3;e=0===h.opacity?0:h.opacity||e,i?(n[2]=n[2].replace(")",""),n[3]=e+")",t=n.join(",")):t="rgba(0, 0, 0, "+e+")",m.debug("Setting opacity to",e),f.css("background-color",t)},legacy:function(){f.addClass(b.legacy)},active:function(){f.addClass(b.active)},dimmable:function(){p.addClass(b.dimmable)},dimmed:function(){p.addClass(b.dimmed)},pageDimmer:function(){f.addClass(b.pageDimmer)},disabled:function(){f.addClass(b.disabled)},variation:function(e){(e=e||h.variation)&&f.addClass(e)}},remove:{active:function(){f.removeClass(b.active)},legacy:function(){f.removeClass(b.legacy)},dimmed:function(){p.removeClass(b.dimmed)},disabled:function(){f.removeClass(b.disabled)},variation:function(e){(e=e||h.variation)&&f.removeClass(e)}},setting:function(t,n){if(m.debug("Changing setting",t,n),e.isPlainObject(t))e.extend(!0,h,t);else{if(n===o)return h[t];e.isPlainObject(h[t])?e.extend(!0,h[t],n):h[t]=n}},internal:function(t,n){if(e.isPlainObject(t))e.extend(!0,m,t);else{if(n===o)return m[t];m[t]=n}},debug:function(){!h.silent&&h.debug&&(h.performance?m.performance.log(arguments):(m.debug=Function.prototype.bind.call(console.info,console,h.name+":"),m.debug.apply(console,arguments)))},verbose:function(){!h.silent&&h.verbose&&h.debug&&(h.performance?m.performance.log(arguments):(m.verbose=Function.prototype.bind.call(console.info,console,h.name+":"),m.verbose.apply(console,arguments)))},error:function(){h.silent||(m.error=Function.prototype.bind.call(console.error,console,h.name+":"),m.error.apply(console,arguments))},performance:{log:function(e){var t,n;h.performance&&(n=(t=(new Date).getTime())-(s||t),s=t,l.push({Name:e[0],Arguments:[].slice.call(e,1)||"",Element:C,"Execution Time":n})),clearTimeout(m.performance.timer),m.performance.timer=setTimeout(m.performance.display,500)},display:function(){var t=h.name+":",n=0;s=!1,clearTimeout(m.performance.timer),e.each(l,(function(e,t){n+=t["Execution Time"]})),t+=" "+n+"ms",w&&(t+=" '"+w+"'"),a.length>1&&(t+=" ("+a.length+")"),(console.group!==o||console.table!==o)&&l.length>0&&(console.groupCollapsed(t),console.table?console.table(l):e.each(l,(function(e,t){console.log(t.Name+": "+t["Execution Time"]+"ms")})),console.groupEnd()),l=[]}},invoke:function(t,n,i){var a,s,l,c=S;return n=n||d,i=C||i,"string"==typeof t&&c!==o&&(t=t.split(/[\. ]/),a=t.length-1,e.each(t,(function(n,i){var r=n!=a?i+t[n+1].charAt(0).toUpperCase()+t[n+1].slice(1):t;if(e.isPlainObject(c[r])&&n!=a)c=c[r];else{if(c[r]!==o)return s=c[r],!1;if(!e.isPlainObject(c[i])||n==a)return c[i]!==o?(s=c[i],!1):(m.error(y.method,t),!1);c=c[i]}}))),e.isFunction(s)?l=s.apply(i,n):s!==o&&(l=s),Array.isArray(r)?r.push(l):r!==o?r=[r,l]:l!==o&&(r=l),s}}).preinitialize(),u?(S===o&&m.initialize(),m.invoke(c)):(S!==o&&S.invoke("destroy"),m.initialize())})),r!==o?r:this},e.fn.dimmer.settings={name:"Dimmer",namespace:"dimmer",silent:!1,debug:!1,verbose:!1,performance:!0,useFlex:!0,dimmerName:!1,variation:!1,closable:"auto",useCSS:!0,transition:"fade",on:!1,opacity:"auto",duration:{show:500,hide:500},displayLoader:!1,loaderText:!1,loaderVariation:"",onChange:function(){},onShow:function(){},onHide:function(){},error:{method:"The method you called is not defined."},className:{active:"active",animating:"animating",dimmable:"dimmable",dimmed:"dimmed",dimmer:"dimmer",disabled:"disabled",hide:"hide",legacy:"legacy",pageDimmer:"page",show:"show",loader:"ui loader"},selector:{dimmer:"> .ui.dimmer",content:".ui.dimmer > .content, .ui.dimmer > .content > .center"},template:{dimmer:function(t){var n,i=e("<div/>").addClass("ui dimmer");return t.displayLoader&&(n=e("<div/>").addClass(t.className.loader).addClass(t.loaderVariation),t.loaderText&&(n.text(t.loaderText),n.addClass("text")),i.append(n)),i}}}}(jQuery,window,document),function(e,t,n,i){e.isFunction=e.isFunction||function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},t=void 0!==t&&t.Math==Math?t:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),e.fn.dropdown=function(o){var r,a=e(this),s=e(n),l=a.selector||"",c="ontouchstart"in n.documentElement,u=c?"touchstart":"click",d=(new Date).getTime(),f=[],p=arguments[0],m="string"==typeof p,h=[].slice.call(arguments,1);return a.each((function(g){var v,b,y,j,_,w,x,k,C,S,T=e.isPlainObject(o)?e.extend(!0,{},e.fn.dropdown.settings,o):e.extend({},e.fn.dropdown.settings),A=T.className,$=T.message,E=T.fields,O=T.keys,D=T.metadata,L=T.namespace,I=T.regExp,R=T.selector,P=T.error,F=T.templates,N="."+L,M="module-"+L,q=e(this),z=e(T.context),H=q.find(R.text),U=q.find(R.search),B=q.find(R.sizer),V=q.find(R.input),W=q.find(R.icon),Q=q.find(R.clearIcon),G=q.prev().find(R.text).length>0?q.prev().find(R.text):q.prev(),X=q.children(R.menu),Y=X.find(R.item),K=T.hideDividers?Y.parent().children(R.divider):e(),J=!1,Z=!1,ee=!1,te=!1,ne=this,ie=q.data(M);S={initialize:function(){S.debug("Initializing dropdown",T),S.is.alreadySetup()?S.setup.reference():(T.ignoreDiacritics&&!String.prototype.normalize&&(T.ignoreDiacritics=!1,S.error(P.noNormalize,ne)),S.setup.layout(),T.values&&(S.set.initialLoad(),S.change.values(T.values),S.remove.initialLoad()),S.refreshData(),S.save.defaults(),S.restore.selected(),S.create.id(),S.bind.events(),S.observeChanges(),S.instantiate())},instantiate:function(){S.verbose("Storing instance of dropdown",S),ie=S,q.data(M,S)},destroy:function(){S.verbose("Destroying previous dropdown",q),S.remove.tabbable(),S.remove.active(),X.transition("stop all"),X.removeClass(A.visible).addClass(A.hidden),q.off(N).removeData(M),X.off(N),s.off(_),S.disconnect.menuObserver(),S.disconnect.selectObserver(),S.disconnect.classObserver()},observeChanges:function(){"MutationObserver"in t&&(x=new MutationObserver(S.event.select.mutation),k=new MutationObserver(S.event.menu.mutation),C=new MutationObserver(S.event.class.mutation),S.debug("Setting up mutation observer",x,k,C),S.observe.select(),S.observe.menu(),S.observe.class())},disconnect:{menuObserver:function(){k&&k.disconnect()},selectObserver:function(){x&&x.disconnect()},classObserver:function(){C&&C.disconnect()}},observe:{select:function(){S.has.input()&&x&&x.observe(q[0],{childList:!0,subtree:!0})},menu:function(){S.has.menu()&&k&&k.observe(X[0],{childList:!0,subtree:!0})},class:function(){S.has.search()&&C&&C.observe(q[0],{attributes:!0})}},create:{id:function(){w=(Math.random().toString(16)+"000000000").substr(2,8),_="."+w,S.verbose("Creating unique id for element",w)},userChoice:function(t){var n,o,r;return!!(t=t||S.get.userValues())&&(t=Array.isArray(t)?t:[t],e.each(t,(function(t,a){!1===S.get.item(a)&&(r=T.templates.addition(S.add.variables($.addResult,a)),o=e("<div />").html(r).attr("data-"+D.value,a).attr("data-"+D.text,a).addClass(A.addition).addClass(A.item),T.hideAdditions&&o.addClass(A.hidden),n=n===i?o:n.add(o),S.verbose("Creating user choices for value",a,o))})),n)},userLabels:function(t){var n=S.get.userValues();n&&(S.debug("Adding user labels",n),e.each(n,(function(e,t){S.verbose("Adding custom user value"),S.add.label(t,t)})))},menu:function(){X=e("<div />").addClass(A.menu).appendTo(q)},sizer:function(){B=e("<span />").addClass(A.sizer).insertAfter(U)}},search:function(e){e=e!==i?e:S.get.query(),S.verbose("Searching for query",e),S.has.minCharacters(e)?S.filter(e):S.hide(null,!0)},select:{firstUnfiltered:function(){S.verbose("Selecting first non-filtered element"),S.remove.selectedItem(),Y.not(R.unselectable).not(R.addition+R.hidden).eq(0).addClass(A.selected)},nextAvailable:function(e){var t=(e=e.eq(0)).nextAll(R.item).not(R.unselectable).eq(0),n=e.prevAll(R.item).not(R.unselectable).eq(0);t.length>0?(S.verbose("Moving selection to",t),t.addClass(A.selected)):(S.verbose("Moving selection to",n),n.addClass(A.selected))}},setup:{api:function(){var e={debug:T.debug,urlData:{value:S.get.value(),query:S.get.query()},on:!1};S.verbose("First request, initializing API"),q.api(e)},layout:function(){q.is("select")&&(S.setup.select(),S.setup.returnedObject()),S.has.menu()||S.create.menu(),S.is.selection()&&S.is.clearable()&&!S.has.clearItem()&&(S.verbose("Adding clear icon"),Q=e("<i />").addClass("remove icon").insertBefore(H)),S.is.search()&&!S.has.search()&&(S.verbose("Adding search input"),U=e("<input />").addClass(A.search).prop("autocomplete","off").insertBefore(H)),S.is.multiple()&&S.is.searchSelection()&&!S.has.sizer()&&S.create.sizer(),T.allowTab&&S.set.tabbable()},select:function(){var t=S.get.selectValues();S.debug("Dropdown initialized on a select",t),q.is("select")&&(V=q),V.parent(R.dropdown).length>0?(S.debug("UI dropdown already exists. Creating dropdown menu only"),q=V.closest(R.dropdown),S.has.menu()||S.create.menu(),X=q.children(R.menu),S.setup.menu(t)):(S.debug("Creating entire dropdown from select"),q=e("<div />").attr("class",V.attr("class")).addClass(A.selection).addClass(A.dropdown).html(F.dropdown(t,E,T.preserveHTML,T.className)).insertBefore(V),V.hasClass(A.multiple)&&!1===V.prop("multiple")&&(S.error(P.missingMultiple),V.prop("multiple",!0)),V.is("[multiple]")&&S.set.multiple(),V.prop("disabled")&&(S.debug("Disabling dropdown"),q.addClass(A.disabled)),V.removeAttr("required").removeAttr("class").detach().prependTo(q)),S.refresh()},menu:function(t){X.html(F.menu(t,E,T.preserveHTML,T.className)),Y=X.find(R.item),K=T.hideDividers?Y.parent().children(R.divider):e()},reference:function(){S.debug("Dropdown behavior was called on select, replacing with closest dropdown"),q=q.parent(R.dropdown),ie=q.data(M),ne=q.get(0),S.refresh(),S.setup.returnedObject()},returnedObject:function(){var e=a.slice(0,g),t=a.slice(g+1);a=e.add(q).add(t)}},refresh:function(){S.refreshSelectors(),S.refreshData()},refreshItems:function(){Y=X.find(R.item),K=T.hideDividers?Y.parent().children(R.divider):e()},refreshSelectors:function(){S.verbose("Refreshing selector cache"),H=q.find(R.text),U=q.find(R.search),V=q.find(R.input),W=q.find(R.icon),G=q.prev().find(R.text).length>0?q.prev().find(R.text):q.prev(),X=q.children(R.menu),Y=X.find(R.item),K=T.hideDividers?Y.parent().children(R.divider):e()},refreshData:function(){S.verbose("Refreshing cached metadata"),Y.removeData(D.text).removeData(D.value)},clearData:function(){S.verbose("Clearing metadata"),Y.removeData(D.text).removeData(D.value),q.removeData(D.defaultText).removeData(D.defaultValue).removeData(D.placeholderText)},toggle:function(){S.verbose("Toggling menu visibility"),S.is.active()?S.hide():S.show()},show:function(t,n){if(t=e.isFunction(t)?t:function(){},!S.can.show()&&S.is.remote()&&(S.debug("No API results retrieved, searching before show"),S.queryRemote(S.get.query(),S.show)),S.can.show()&&!S.is.active()){if(S.debug("Showing dropdown"),!S.has.message()||S.has.maxSelections()||S.has.allResultsFiltered()||S.remove.message(),S.is.allFiltered())return!0;!1!==T.onShow.call(ne)&&S.animate.show((function(){S.can.click()&&S.bind.intent(),S.has.search()&&!n&&S.focusSearch(),S.set.visible(),t.call(ne)}))}},hide:function(t,n){t=e.isFunction(t)?t:function(){},S.is.active()&&!S.is.animatingOutward()?(S.debug("Hiding dropdown"),!1!==T.onHide.call(ne)&&S.animate.hide((function(){S.remove.visible(),S.is.focusedOnSearch()&&!0!==n&&U.blur(),t.call(ne)}))):S.can.click()&&S.unbind.intent(),te=!1},hideOthers:function(){S.verbose("Finding other dropdowns to hide"),a.not(q).has(R.menu+"."+A.visible).dropdown("hide")},hideMenu:function(){S.verbose("Hiding menu instantaneously"),S.remove.active(),S.remove.visible(),X.transition("hide")},hideSubMenus:function(){var e=X.children(R.item).find(R.menu);S.verbose("Hiding sub menus",e),e.transition("hide")},bind:{events:function(){S.bind.keyboardEvents(),S.bind.inputEvents(),S.bind.mouseEvents()},keyboardEvents:function(){S.verbose("Binding keyboard events"),q.on("keydown"+N,S.event.keydown),S.has.search()&&q.on(S.get.inputEvent()+N,R.search,S.event.input),S.is.multiple()&&s.on("keydown"+_,S.event.document.keydown)},inputEvents:function(){S.verbose("Binding input change events"),q.on("change"+N,R.input,S.event.change)},mouseEvents:function(){S.verbose("Binding mouse events"),S.is.multiple()&&q.on(u+N,R.label,S.event.label.click).on(u+N,R.remove,S.event.remove.click),S.is.searchSelection()?(q.on("mousedown"+N,S.event.mousedown).on("mouseup"+N,S.event.mouseup).on("mousedown"+N,R.menu,S.event.menu.mousedown).on("mouseup"+N,R.menu,S.event.menu.mouseup).on(u+N,R.icon,S.event.icon.click).on(u+N,R.clearIcon,S.event.clearIcon.click).on("focus"+N,R.search,S.event.search.focus).on(u+N,R.search,S.event.search.focus).on("blur"+N,R.search,S.event.search.blur).on(u+N,R.text,S.event.text.focus),S.is.multiple()&&q.on(u+N,S.event.click)):("click"==T.on?q.on(u+N,R.icon,S.event.icon.click).on(u+N,S.event.test.toggle):"hover"==T.on?q.on("mouseenter"+N,S.delay.show).on("mouseleave"+N,S.delay.hide):q.on(T.on+N,S.toggle),q.on("mousedown"+N,S.event.mousedown).on("mouseup"+N,S.event.mouseup).on("focus"+N,S.event.focus).on(u+N,R.clearIcon,S.event.clearIcon.click),S.has.menuSearch()?q.on("blur"+N,R.search,S.event.search.blur):q.on("blur"+N,S.event.blur)),X.on((c?"touchstart":"mouseenter")+N,R.item,S.event.item.mouseenter).on("mouseleave"+N,R.item,S.event.item.mouseleave).on("click"+N,R.item,S.event.item.click)},intent:function(){S.verbose("Binding hide intent event to document"),c&&s.on("touchstart"+_,S.event.test.touch).on("touchmove"+_,S.event.test.touch),s.on(u+_,S.event.test.hide)}},unbind:{intent:function(){S.verbose("Removing hide intent event from document"),c&&s.off("touchstart"+_).off("touchmove"+_),s.off(u+_)}},filter:function(t){var n=t!==i?t:S.get.query(),o=function(){S.is.multiple()&&S.filterActive(),(t||!t&&0==S.get.activeItem().length)&&S.select.firstUnfiltered(),S.has.allResultsFiltered()?T.onNoResults.call(ne,n)?T.allowAdditions?T.hideAdditions&&(S.verbose("User addition with no menu, setting empty style"),S.set.empty(),S.hideMenu()):(S.verbose("All items filtered, showing message",n),S.add.message($.noResults)):(S.verbose("All items filtered, hiding dropdown",n),S.hideMenu()):(S.remove.empty(),S.remove.message()),T.allowAdditions&&S.add.userSuggestion(S.escape.htmlEntities(t)),S.is.searchSelection()&&S.can.show()&&S.is.focusedOnSearch()&&S.show()};T.useLabels&&S.has.maxSelections()||(T.apiSettings?S.can.useAPI()?S.queryRemote(n,(function(){T.filterRemoteData&&S.filterItems(n);var t=V.val();Array.isArray(t)||(t=t&&""!==t?t.split(T.delimiter):[]),e.each(t,(function(e,t){Y.filter('[data-value="'+t+'"]').addClass(A.filtered)})),o()})):S.error(P.noAPI):(S.filterItems(n),o()))},queryRemote:function(t,n){var i={errorDuration:!1,cache:"local",throttle:T.throttle,urlData:{query:t},onError:function(){S.add.message($.serverError),n()},onFailure:function(){S.add.message($.serverError),n()},onSuccess:function(e){var t=e[E.remoteValues];Array.isArray(t)||(t=[]),S.remove.message();var i={};i[E.values]=t,S.setup.menu(i),0!==t.length||T.allowAdditions||S.add.message($.noResults),n()}};q.api("get request")||S.setup.api(),i=e.extend(!0,{},i,T.apiSettings),q.api("setting",i).api("query")},filterItems:function(t){var n=S.remove.diacritics(t!==i?t:S.get.query()),o=null,r=S.escape.string(n),a=(T.ignoreSearchCase?"i":"")+"gm",s=new RegExp("^"+r,a);S.has.query()&&(o=[],S.verbose("Searching for matching values",n),Y.each((function(){var t,i,r=e(this);if(r.hasClass(A.unfilterable))return o.push(this),!0;if("both"===T.match||"text"===T.match){if(-1!==(t=S.remove.diacritics(String(S.get.choiceText(r,!1)))).search(s))return o.push(this),!0;if("exact"===T.fullTextSearch&&S.exactSearch(n,t))return o.push(this),!0;if(!0===T.fullTextSearch&&S.fuzzySearch(n,t))return o.push(this),!0}if("both"===T.match||"value"===T.match){if(-1!==(i=S.remove.diacritics(String(S.get.choiceValue(r,t)))).search(s))return o.push(this),!0;if("exact"===T.fullTextSearch&&S.exactSearch(n,i))return o.push(this),!0;if(!0===T.fullTextSearch&&S.fuzzySearch(n,i))return o.push(this),!0}}))),S.debug("Showing only matched items",n),S.remove.filteredItem(),o&&Y.not(o).addClass(A.filtered),S.has.query()?!0===T.hideDividers?K.addClass(A.hidden):"empty"===T.hideDividers&&K.removeClass(A.hidden).filter((function(){var t=e(this).nextUntil(R.item);return 0===(t.length?t:e(this)).nextUntil(R.divider).filter(R.item+":not(."+A.filtered+")").length})).addClass(A.hidden):K.removeClass(A.hidden)},fuzzySearch:function(e,t){var n=t.length,i=e.length;if(e=T.ignoreSearchCase?e.toLowerCase():e,t=T.ignoreSearchCase?t.toLowerCase():t,i>n)return!1;if(i===n)return e===t;e:for(var o=0,r=0;o<i;o++){for(var a=e.charCodeAt(o);r<n;)if(t.charCodeAt(r++)===a)continue e;return!1}return!0},exactSearch:function(e,t){return e=T.ignoreSearchCase?e.toLowerCase():e,(t=T.ignoreSearchCase?t.toLowerCase():t).indexOf(e)>-1},filterActive:function(){T.useLabels&&Y.filter("."+A.active).addClass(A.filtered)},focusSearch:function(e){S.has.search()&&!S.is.focusedOnSearch()&&(e?(q.off("focus"+N,R.search),U.focus(),q.on("focus"+N,R.search,S.event.search.focus)):U.focus())},blurSearch:function(){S.has.search()&&U.blur()},forceSelection:function(){var e=Y.not(A.filtered).filter("."+A.selected).eq(0),t=Y.not(A.filtered).filter("."+A.active).eq(0),n=e.length>0?e:t,i=n.length>0;T.allowAdditions||i&&!S.is.multiple()?(S.debug("Forcing partial selection to selected item",n),S.event.item.click.call(n,{},!0)):S.remove.searchTerm()},change:{values:function(t){T.allowAdditions||S.clear(),S.debug("Creating dropdown with specified values",t);var n={};n[E.values]=t,S.setup.menu(n),e.each(t,(function(e,t){if(1==t.selected&&(S.debug("Setting initial selection to",t[E.value]),S.set.selected(t[E.value]),!S.is.multiple()))return!1})),S.has.selectInput()&&(S.disconnect.selectObserver(),V.html(""),V.append("<option disabled selected value></option>"),e.each(t,(function(e,t){var n=T.templates.deQuote(t[E.value]),i=T.templates.escape(t[E.name]||"",T.preserveHTML);V.append('<option value="'+n+'">'+i+"</option>")})),S.observe.select())}},event:{change:function(){ee||(S.debug("Input changed, updating selection"),S.set.selected())},focus:function(){T.showOnFocus&&!J&&S.is.hidden()&&!y&&S.show()},blur:function(e){y=n.activeElement===this,J||y||(S.remove.activeLabel(),S.hide())},mousedown:function(){S.is.searchSelection()?j=!0:J=!0},mouseup:function(){S.is.searchSelection()?j=!1:J=!1},click:function(t){e(t.target).is(q)&&(S.is.focusedOnSearch()?S.show():S.focusSearch())},search:{focus:function(e){J=!0,S.is.multiple()&&S.remove.activeLabel(),(T.showOnFocus||"focus"!==e.type&&"focusin"!==e.type)&&S.search()},blur:function(e){y=n.activeElement===this,S.is.searchSelection()&&!j&&(Z||y||(T.forceSelection?S.forceSelection():T.allowAdditions||S.remove.searchTerm(),S.hide())),j=!1}},clearIcon:{click:function(e){S.clear(),S.is.searchSelection()&&S.remove.searchTerm(),S.hide(),e.stopPropagation()}},icon:{click:function(e){te=!0,S.has.search()?S.is.active()?S.blurSearch():T.showOnFocus?S.focusSearch():S.toggle():S.toggle()}},text:{focus:function(e){J=!0,S.focusSearch()}},input:function(e){(S.is.multiple()||S.is.searchSelection())&&S.set.filtered(),clearTimeout(S.timer),S.timer=setTimeout(S.search,T.delay.search)},label:{click:function(t){var n=e(this),i=q.find(R.label),o=i.filter("."+A.active),r=n.nextAll("."+A.active),a=n.prevAll("."+A.active),s=r.length>0?n.nextUntil(r).add(o).add(n):n.prevUntil(a).add(o).add(n);t.shiftKey?(o.removeClass(A.active),s.addClass(A.active)):t.ctrlKey?n.toggleClass(A.active):(o.removeClass(A.active),n.addClass(A.active)),T.onLabelSelect.apply(this,i.filter("."+A.active))}},remove:{click:function(){var t=e(this).parent();t.hasClass(A.active)?S.remove.activeLabels():S.remove.activeLabels(t)}},test:{toggle:function(e){var t=S.is.multiple()?S.show:S.toggle;S.is.bubbledLabelClick(e)||S.is.bubbledIconClick(e)||S.determine.eventOnElement(e,t)&&e.preventDefault()},touch:function(e){S.determine.eventOnElement(e,(function(){"touchstart"==e.type?S.timer=setTimeout((function(){S.hide()}),T.delay.touch):"touchmove"==e.type&&clearTimeout(S.timer)})),e.stopPropagation()},hide:function(t){S.determine.eventInModule(t,S.hide)&&ne.id&&e(t.target).attr("for")===ne.id&&t.preventDefault()}},class:{mutation:function(e){e.forEach((function(e){"class"===e.attributeName&&S.check.disabled()}))}},select:{mutation:function(e){S.debug("<select> modified, recreating menu"),S.is.selectMutation(e)&&(S.disconnect.selectObserver(),S.refresh(),S.setup.select(),S.set.selected(),S.observe.select())}},menu:{mutation:function(t){var n=t[0],i=n.addedNodes?e(n.addedNodes[0]):e(!1),o=n.removedNodes?e(n.removedNodes[0]):e(!1),r=i.add(o),a=r.is(R.addition)||r.closest(R.addition).length>0,s=r.is(R.message)||r.closest(R.message).length>0;a||s?(S.debug("Updating item selector cache"),S.refreshItems()):(S.debug("Menu modified, updating selector cache"),S.refresh())},mousedown:function(){Z=!0},mouseup:function(){Z=!1}},item:{mouseenter:function(t){var n=e(t.target),i=e(this),o=i.children(R.menu),r=i.siblings(R.item).children(R.menu),a=o.length>0;!(o.find(n).length>0)&&a&&(clearTimeout(S.itemTimer),S.itemTimer=setTimeout((function(){S.verbose("Showing sub-menu",o),e.each(r,(function(){S.animate.hide(!1,e(this))})),S.animate.show(!1,o)}),T.delay.show),t.preventDefault())},mouseleave:function(t){var n=e(this).children(R.menu);n.length>0&&(clearTimeout(S.itemTimer),S.itemTimer=setTimeout((function(){S.verbose("Hiding sub-menu",n),S.animate.hide(!1,n)}),T.delay.hide))},click:function(t,i){var o=e(this),r=e(t?t.target:""),a=o.find(R.menu),s=S.get.choiceText(o),l=S.get.choiceValue(o,s),c=a.length>0,u=a.find(r).length>0;"input"!==n.activeElement.tagName.toLowerCase()&&e(n.activeElement).blur(),u||c&&!T.allowCategorySelection||(S.is.searchSelection()&&(T.allowAdditions&&S.remove.userAddition(),S.remove.searchTerm(),S.is.focusedOnSearch()||1==i||S.focusSearch(!0)),T.useLabels||(S.remove.filteredItem(),S.set.scrollPosition(o)),S.determine.selectAction.call(this,s,l))}},document:{keydown:function(e){var t=e.which;if(S.is.inObject(t,O)){var n=q.find(R.label),i=n.filter("."+A.active),o=(i.data(D.value),n.index(i)),r=n.length,a=i.length>0,s=i.length>1,l=0===o,c=o+1==r,u=S.is.searchSelection(),d=S.is.focusedOnSearch(),f=S.is.focused(),p=d&&0===S.get.caretPosition(!1),m=p&&0!==S.get.caretPosition(!0);if(u&&!a&&!d)return;t==O.leftArrow?!f&&!p||a?a&&(e.shiftKey?S.verbose("Adding previous label to selection"):(S.verbose("Selecting previous label"),n.removeClass(A.active)),l&&!s?i.addClass(A.active):i.prev(R.siblingLabel).addClass(A.active).end(),e.preventDefault()):(S.verbose("Selecting previous label"),n.last().addClass(A.active)):t==O.rightArrow?(f&&!a&&n.first().addClass(A.active),a&&(e.shiftKey?S.verbose("Adding next label to selection"):(S.verbose("Selecting next label"),n.removeClass(A.active)),c?u?d?n.removeClass(A.active):S.focusSearch():s?i.next(R.siblingLabel).addClass(A.active):i.addClass(A.active):i.next(R.siblingLabel).addClass(A.active),e.preventDefault())):t==O.deleteKey||t==O.backspace?a?(S.verbose("Removing active labels"),c&&u&&!d&&S.focusSearch(),i.last().next(R.siblingLabel).addClass(A.active),S.remove.activeLabels(i),e.preventDefault()):!p||m||a||t!=O.backspace||(S.verbose("Removing last label on input backspace"),i=n.last().addClass(A.active),S.remove.activeLabels(i)):i.removeClass(A.active)}}},keydown:function(e){var t=e.which;if(S.is.inObject(t,O)){var n,i=Y.not(R.unselectable).filter("."+A.selected).eq(0),o=X.children("."+A.active).eq(0),r=i.length>0?i:o,a=r.length>0?r.siblings(":not(."+A.filtered+")").addBack():X.children(":not(."+A.filtered+")"),s=r.children(R.menu),l=r.closest(R.menu),c=l.hasClass(A.visible)||l.hasClass(A.animating)||l.parent(R.menu).length>0,u=s.length>0,d=r.length>0,f=r.not(R.unselectable).length>0,p=t==O.delimiter&&T.allowAdditions&&S.is.multiple();if(T.allowAdditions&&T.hideAdditions&&(t==O.enter||p)&&f&&(S.verbose("Selecting item from keyboard shortcut",r),S.event.item.click.call(r,e),S.is.searchSelection()&&S.remove.searchTerm(),S.is.multiple()&&e.preventDefault()),S.is.visible()){if((t==O.enter||p)&&(t==O.enter&&d&&u&&!T.allowCategorySelection?(S.verbose("Pressed enter on unselectable category, opening sub menu"),t=O.rightArrow):f&&(S.verbose("Selecting item from keyboard shortcut",r),S.event.item.click.call(r,e),S.is.searchSelection()&&(S.remove.searchTerm(),S.is.multiple()&&U.focus())),e.preventDefault()),d&&(t==O.leftArrow&&l[0]!==X[0]&&(S.verbose("Left key pressed, closing sub-menu"),S.animate.hide(!1,l),r.removeClass(A.selected),l.closest(R.item).addClass(A.selected),e.preventDefault()),t==O.rightArrow&&u&&(S.verbose("Right key pressed, opening sub-menu"),S.animate.show(!1,s),r.removeClass(A.selected),s.find(R.item).eq(0).addClass(A.selected),e.preventDefault())),t==O.upArrow){if(n=d&&c?r.prevAll(R.item+":not("+R.unselectable+")").eq(0):Y.eq(0),a.index(n)<0)return S.verbose("Up key pressed but reached top of current menu"),void e.preventDefault();S.verbose("Up key pressed, changing active item"),r.removeClass(A.selected),n.addClass(A.selected),S.set.scrollPosition(n),T.selectOnKeydown&&S.is.single()&&S.set.selectedItem(n),e.preventDefault()}if(t==O.downArrow){if(0===(n=d&&c?n=r.nextAll(R.item+":not("+R.unselectable+")").eq(0):Y.eq(0)).length)return S.verbose("Down key pressed but reached bottom of current menu"),void e.preventDefault();S.verbose("Down key pressed, changing active item"),Y.removeClass(A.selected),n.addClass(A.selected),S.set.scrollPosition(n),T.selectOnKeydown&&S.is.single()&&S.set.selectedItem(n),e.preventDefault()}t==O.pageUp&&(S.scrollPage("up"),e.preventDefault()),t==O.pageDown&&(S.scrollPage("down"),e.preventDefault()),t==O.escape&&(S.verbose("Escape key pressed, closing dropdown"),S.hide())}else p&&e.preventDefault(),t!=O.downArrow||S.is.visible()||(S.verbose("Down key pressed, showing dropdown"),S.show(),e.preventDefault())}else S.has.search()||S.set.selectedLetter(String.fromCharCode(t))}},trigger:{change:function(){var e=V[0];if(e){var t=n.createEvent("HTMLEvents");S.verbose("Triggering native change event"),t.initEvent("change",!0,!1),e.dispatchEvent(t)}}},determine:{selectAction:function(t,n){v=!0,S.verbose("Determining action",T.action),e.isFunction(S.action[T.action])?(S.verbose("Triggering preset action",T.action,t,n),S.action[T.action].call(ne,t,n,this)):e.isFunction(T.action)?(S.verbose("Triggering user action",T.action,t,n),T.action.call(ne,t,n,this)):S.error(P.action,T.action),v=!1},eventInModule:function(t,i){var o=e(t.target),r=o.closest(n.documentElement).length>0,a=o.closest(q).length>0;return i=e.isFunction(i)?i:function(){},r&&!a?(S.verbose("Triggering event",i),i(),!0):(S.verbose("Event occurred in dropdown, canceling callback"),!1)},eventOnElement:function(t,i){var o=e(t.target),r=o.closest(R.siblingLabel),a=n.body.contains(t.target),s=0===q.find(r).length||!(S.is.multiple()&&T.useLabels),l=0===o.closest(X).length;return i=e.isFunction(i)?i:function(){},a&&s&&l?(S.verbose("Triggering event",i),i(),!0):(S.verbose("Event occurred in dropdown menu, canceling callback"),!1)}},action:{nothing:function(){},activate:function(t,n,o){n=n!==i?n:t,S.can.activate(e(o))&&(S.set.selected(n,e(o)),S.is.multiple()||S.hideAndClear())},select:function(t,n,o){n=n!==i?n:t,S.can.activate(e(o))&&(S.set.value(n,t,e(o)),S.is.multiple()||S.hideAndClear())},combo:function(t,n,o){n=n!==i?n:t,S.set.selected(n,e(o)),S.hideAndClear()},hide:function(t,n,i){S.set.value(n,t,e(i)),S.hideAndClear()}},get:{id:function(){return w},defaultText:function(){return q.data(D.defaultText)},defaultValue:function(){return q.data(D.defaultValue)},placeholderText:function(){return"auto"!=T.placeholder&&"string"==typeof T.placeholder?T.placeholder:q.data(D.placeholderText)||""},text:function(){return T.preserveHTML?H.html():H.text()},query:function(){return String(U.val()).trim()},searchWidth:function(e){return e=e!==i?e:U.val(),B.text(e),Math.ceil(B.width()+1)},selectionCount:function(){var e=S.get.values();return S.is.multiple()?Array.isArray(e)?e.length:0:""!==S.get.value()?1:0},transition:function(e){return"auto"==T.transition?S.is.upward(e)?"slide up":"slide down":T.transition},userValues:function(){var t=S.get.values();return!!t&&(t=Array.isArray(t)?t:[t],e.grep(t,(function(e){return!1===S.get.item(e)})))},uniqueArray:function(t){return e.grep(t,(function(n,i){return e.inArray(n,t)===i}))},caretPosition:function(e){var t,i,o=U.get(0);return e&&"selectionEnd"in o?o.selectionEnd:!e&&"selectionStart"in o?o.selectionStart:n.selection?(o.focus(),i=(t=n.selection.createRange()).text.length,e?i:(t.moveStart("character",-o.value.length),t.text.length-i)):void 0},value:function(){var e=V.length>0?V.val():q.data(D.value),t=Array.isArray(e)&&1===e.length&&""===e[0];return e===i||t?"":e},values:function(){var e=S.get.value();return""===e?"":!S.has.selectInput()&&S.is.multiple()?"string"==typeof e?S.escape.htmlEntities(e).split(T.delimiter):"":e},remoteValues:function(){var t=S.get.values(),n=!1;return t&&("string"==typeof t&&(t=[t]),e.each(t,(function(e,t){var i=S.read.remoteData(t);S.verbose("Restoring value from session data",i,t),i&&(n||(n={}),n[t]=i)}))),n},choiceText:function(e,t){if(t=t!==i?t:T.preserveHTML,e)return e.find(R.menu).length>0&&(S.verbose("Retrieving text of element with sub-menu"),(e=e.clone()).find(R.menu).remove(),e.find(R.menuIcon).remove()),e.data(D.text)!==i?e.data(D.text):t?e.html().trim():e.text().trim()},choiceValue:function(e,t){return t=t||S.get.choiceText(e),!!e&&(e.data(D.value)!==i?String(e.data(D.value)):"string"==typeof t?String(T.ignoreSearchCase?t.toLowerCase():t).trim():String(t))},inputEvent:function(){var e=U[0];return!!e&&(e.oninput!==i?"input":e.onpropertychange!==i?"propertychange":"keyup")},selectValues:function(){var t={},n=[],o=[];return q.find("option").each((function(){var r=e(this),a=r.html(),s=r.attr("disabled"),l=r.attr("value")!==i?r.attr("value"):a,c=r.data(D.text)!==i?r.data(D.text):a,u=r.parent("optgroup");"auto"===T.placeholder&&""===l?t.placeholder=a:(u.length===n.length&&u[0]===n[0]||(o.push({type:"header",divider:T.headerDivider,name:u.attr("label")||""}),n=u),o.push({name:a,value:l,text:c,disabled:s}))})),T.placeholder&&"auto"!==T.placeholder&&(S.debug("Setting placeholder value to",T.placeholder),t.placeholder=T.placeholder),T.sortSelect?(!0===T.sortSelect?o.sort((function(e,t){return e.name.localeCompare(t.name)})):"natural"===T.sortSelect?o.sort((function(e,t){return e.name.toLowerCase().localeCompare(t.name.toLowerCase())})):e.isFunction(T.sortSelect)&&o.sort(T.sortSelect),t[E.values]=o,S.debug("Retrieved and sorted values from select",t)):(t[E.values]=o,S.debug("Retrieved values from select",t)),t},activeItem:function(){return Y.filter("."+A.active)},selectedItem:function(){var e=Y.not(R.unselectable).filter("."+A.selected);return e.length>0?e:Y.eq(0)},itemWithAdditions:function(e){var t=S.get.item(e),n=S.create.userChoice(e);return n&&n.length>0&&(t=t.length>0?t.add(n):n),t},item:function(t,n){var o,r,a=!1;return t=t!==i?t:S.get.values()!==i?S.get.values():S.get.text(),o=(r=S.is.multiple()&&Array.isArray(t))?t.length>0:t!==i&&null!==t,n=""===t||!1===t||!0===t||(n||!1),o&&Y.each((function(){var o=e(this),s=S.get.choiceText(o),l=S.get.choiceValue(o,s);if(null!==l&&l!==i)if(r)-1!==e.inArray(S.escape.htmlEntities(String(l)),t.map((function(e){return String(e)})))&&(a=a?a.add(o):o);else if(n){if(S.verbose("Ambiguous dropdown value using strict type check",o,t),l===t)return a=o,!0}else if(T.ignoreCase&&(l=l.toLowerCase(),t=t.toLowerCase()),S.escape.htmlEntities(String(l))===S.escape.htmlEntities(String(t)))return S.verbose("Found select item by value",l,t),a=o,!0})),a}},check:{maxSelections:function(e){return!T.maxSelections||((e=e!==i?e:S.get.selectionCount())>=T.maxSelections?(S.debug("Maximum selection count reached"),T.useLabels&&(Y.addClass(A.filtered),S.add.message($.maxSelections)),!0):(S.verbose("No longer at maximum selection count"),S.remove.message(),S.remove.filteredItem(),S.is.searchSelection()&&S.filterItems(),!1))},disabled:function(){U.attr("tabindex",S.is.disabled()?-1:0)}},restore:{defaults:function(e){S.clear(e),S.restore.defaultText(),S.restore.defaultValue()},defaultText:function(){var e=S.get.defaultText();e===S.get.placeholderText?(S.debug("Restoring default placeholder text",e),S.set.placeholderText(e)):(S.debug("Restoring default text",e),S.set.text(e))},placeholderText:function(){S.set.placeholderText()},defaultValue:function(){var e=S.get.defaultValue();e!==i&&(S.debug("Restoring default value",e),""!==e?(S.set.value(e),S.set.selected()):(S.remove.activeItem(),S.remove.selectedItem()))},labels:function(){T.allowAdditions&&(T.useLabels||(S.error(P.labels),T.useLabels=!0),S.debug("Restoring selected values"),S.create.userLabels()),S.check.maxSelections()},selected:function(){S.restore.values(),S.is.multiple()?(S.debug("Restoring previously selected values and labels"),S.restore.labels()):S.debug("Restoring previously selected values")},values:function(){S.set.initialLoad(),T.apiSettings&&T.saveRemoteData&&S.get.remoteValues()?S.restore.remoteValues():S.set.selected();var e=S.get.value();!e||""===e||Array.isArray(e)&&0===e.length?V.addClass(A.noselection):V.removeClass(A.noselection),S.remove.initialLoad()},remoteValues:function(){var t=S.get.remoteValues();S.debug("Recreating selected from session data",t),t&&(S.is.single()?e.each(t,(function(e,t){S.set.text(t)})):e.each(t,(function(e,t){S.add.label(e,t)})))}},read:{remoteData:function(e){var n;if(t.Storage!==i)return(n=sessionStorage.getItem(e))!==i&&n;S.error(P.noStorage)}},save:{defaults:function(){S.save.defaultText(),S.save.placeholderText(),S.save.defaultValue()},defaultValue:function(){var e=S.get.value();S.verbose("Saving default value as",e),q.data(D.defaultValue,e)},defaultText:function(){var e=S.get.text();S.verbose("Saving default text as",e),q.data(D.defaultText,e)},placeholderText:function(){var e;!1!==T.placeholder&&H.hasClass(A.placeholder)&&(e=S.get.text(),S.verbose("Saving placeholder text as",e),q.data(D.placeholderText,e))},remoteData:function(e,n){t.Storage!==i?(S.verbose("Saving remote data to session storage",n,e),sessionStorage.setItem(n,e)):S.error(P.noStorage)}},clear:function(e){S.is.multiple()&&T.useLabels?S.remove.labels():(S.remove.activeItem(),S.remove.selectedItem(),S.remove.filteredItem()),S.set.placeholderText(),S.clearValue(e)},clearValue:function(e){S.set.value("",null,null,e)},scrollPage:function(e,t){var n,i,o=t||S.get.selectedItem(),r=o.closest(R.menu),a=r.outerHeight(),s=r.scrollTop(),l=Y.eq(0).outerHeight(),c=Math.floor(a/l),u=(r.prop("scrollHeight"),"up"==e?s-l*c:s+l*c),d=Y.not(R.unselectable);i="up"==e?d.index(o)-c:d.index(o)+c,(n=("up"==e?i>=0:i<d.length)?d.eq(i):"up"==e?d.first():d.last()).length>0&&(S.debug("Scrolling page",e,n),o.removeClass(A.selected),n.addClass(A.selected),T.selectOnKeydown&&S.is.single()&&S.set.selectedItem(n),r.scrollTop(u))},set:{filtered:function(){var e=S.is.multiple(),t=S.is.searchSelection(),n=e&&t,i=t?S.get.query():"",o="string"==typeof i&&i.length>0,r=S.get.searchWidth(),a=""!==i;e&&o&&(S.verbose("Adjusting input width",r,T.glyphWidth),U.css("width",r)),o||n&&a?(S.verbose("Hiding placeholder text"),H.addClass(A.filtered)):(!e||n&&!a)&&(S.verbose("Showing placeholder text"),H.removeClass(A.filtered))},empty:function(){q.addClass(A.empty)},loading:function(){q.addClass(A.loading)},placeholderText:function(e){e=e||S.get.placeholderText(),S.debug("Setting placeholder text",e),S.set.text(e),H.addClass(A.placeholder)},tabbable:function(){S.is.searchSelection()?(S.debug("Added tabindex to searchable dropdown"),U.val(""),S.check.disabled(),X.attr("tabindex",-1)):(S.debug("Added tabindex to dropdown"),q.attr("tabindex")===i&&(q.attr("tabindex",0),X.attr("tabindex",-1)))},initialLoad:function(){S.verbose("Setting initial load"),b=!0},activeItem:function(e){T.allowAdditions&&e.filter(R.addition).length>0?e.addClass(A.filtered):e.addClass(A.active)},partialSearch:function(e){var t=S.get.query().length;U.val(e.substr(0,t))},scrollPosition:function(e,t){var n,o,r,a,s,l;n=(e=e||S.get.selectedItem()).closest(R.menu),o=e&&e.length>0,t=t!==i&&t,0===S.get.activeItem().length&&(t=!1),e&&n.length>0&&o&&(e.position().top,n.addClass(A.loading),r=(a=n.scrollTop())-n.offset().top+e.offset().top,t||(l=a+n.height()<r+5,s=r-5<a),S.debug("Scrolling to active item",r),(t||s||l)&&n.scrollTop(r),n.removeClass(A.loading))},text:function(e){"combo"===T.action?(S.debug("Changing combo button text",e,G),T.preserveHTML?G.html(e):G.text(e)):"activate"===T.action&&(e!==S.get.placeholderText()&&H.removeClass(A.placeholder),S.debug("Changing text",e,H),H.removeClass(A.filtered),T.preserveHTML?H.html(e):H.text(e))},selectedItem:function(e){var t=S.get.choiceValue(e),n=S.get.choiceText(e,!1),i=S.get.choiceText(e,!0);S.debug("Setting user selection to item",e),S.remove.activeItem(),S.set.partialSearch(n),S.set.activeItem(e),S.set.selected(t,e),S.set.text(i)},selectedLetter:function(t){var n,i=Y.filter("."+A.selected),o=i.length>0&&S.has.firstLetter(i,t),r=!1;o&&(n=i.nextAll(Y).eq(0),S.has.firstLetter(n,t)&&(r=n)),r||Y.each((function(){if(S.has.firstLetter(e(this),t))return r=e(this),!1})),r&&(S.verbose("Scrolling to next value with letter",t),S.set.scrollPosition(r),i.removeClass(A.selected),r.addClass(A.selected),T.selectOnKeydown&&S.is.single()&&S.set.selectedItem(r))},direction:function(e){"auto"==T.direction?(e?S.is.upward(e)&&S.remove.upward(e):S.remove.upward(),S.can.openDownward(e)?S.remove.upward(e):S.set.upward(e),S.is.leftward(e)||S.can.openRightward(e)||S.set.leftward(e)):"upward"==T.direction&&S.set.upward(e)},upward:function(e){(e||q).addClass(A.upward)},leftward:function(e){(e||X).addClass(A.leftward)},value:function(e,t,n,o){e===i||""===e||Array.isArray(e)&&0===e.length?V.addClass(A.noselection):V.removeClass(A.noselection);var r=S.escape.value(e),a=V.length>0,s=S.get.values(),l=e!==i?String(e):e;if(a){if(!T.allowReselection&&l==s&&(S.verbose("Skipping value update already same value",e,s),!S.is.initialLoad()))return;S.is.single()&&S.has.selectInput()&&S.can.extendSelect()&&(S.debug("Adding user option",e),S.add.optionValue(e)),S.debug("Updating input value",r,s),ee=!0,V.val(r),!1===T.fireOnInit&&S.is.initialLoad()?S.debug("Input native change event ignored on initial load"):!0!==o&&S.trigger.change(),ee=!1}else S.verbose("Storing value in metadata",r,V),r!==s&&q.data(D.value,l);!1===T.fireOnInit&&S.is.initialLoad()?S.verbose("No callback on initial load",T.onChange):!0!==o&&T.onChange.call(ne,e,t,n)},active:function(){q.addClass(A.active)},multiple:function(){q.addClass(A.multiple)},visible:function(){q.addClass(A.visible)},exactly:function(e,t){S.debug("Setting selected to exact values"),S.clear(),S.set.selected(e,t)},selected:function(t,n){var i=S.is.multiple();(n=T.allowAdditions?n||S.get.itemWithAdditions(t):n||S.get.item(t))&&(S.debug("Setting selected menu item to",n),S.is.multiple()&&S.remove.searchWidth(),S.is.single()?(S.remove.activeItem(),S.remove.selectedItem()):T.useLabels&&S.remove.selectedItem(),n.each((function(){var t=e(this),o=S.get.choiceText(t),r=S.get.choiceValue(t,o),a=t.hasClass(A.filtered),s=t.hasClass(A.active),l=t.hasClass(A.addition),c=i&&1==n.length;i?!s||l?(T.apiSettings&&T.saveRemoteData&&S.save.remoteData(o,r),T.useLabels?(S.add.label(r,o,c),S.add.value(r,o,t),S.set.activeItem(t),S.filterActive(),S.select.nextAvailable(n)):(S.add.value(r,o,t),S.set.text(S.add.variables($.count)),S.set.activeItem(t))):a||!T.useLabels&&!v||(S.debug("Selected active value, removing label"),S.remove.selected(r)):(T.apiSettings&&T.saveRemoteData&&S.save.remoteData(o,r),S.set.text(o),S.set.value(r,o,t),t.addClass(A.active).addClass(A.selected))})),S.remove.searchTerm())}},add:{label:function(t,n,i){var o,r=S.is.searchSelection()?U:H,a=S.escape.value(t);T.ignoreCase&&(a=a.toLowerCase()),o=e("<a />").addClass(A.label).attr("data-"+D.value,a).html(F.label(a,n,T.preserveHTML,T.className)),o=T.onLabelCreate.call(o,a,n),S.has.label(t)?S.debug("User selection already exists, skipping",a):(T.label.variation&&o.addClass(T.label.variation),!0===i?(S.debug("Animating in label",o),o.addClass(A.hidden).insertBefore(r).transition({animation:T.label.transition,debug:T.debug,verbose:T.verbose,duration:T.label.duration})):(S.debug("Adding selection label",o),o.insertBefore(r)))},message:function(t){var n=X.children(R.message),i=T.templates.message(S.add.variables(t));n.length>0?n.html(i):n=e("<div/>").html(i).addClass(A.message).appendTo(X)},optionValue:function(t){var n=S.escape.value(t);V.find('option[value="'+S.escape.string(n)+'"]').length>0||(S.disconnect.selectObserver(),S.is.single()&&(S.verbose("Removing previous user addition"),V.find("option."+A.addition).remove()),e("<option/>").prop("value",n).addClass(A.addition).html(t).appendTo(V),S.verbose("Adding user addition as an <option>",t),S.observe.select())},userSuggestion:function(e){var t,n=X.children(R.addition),i=S.get.item(e),o=i&&i.not(R.addition).length,r=n.length>0;T.useLabels&&S.has.maxSelections()||(""===e||o?n.remove():(r?(n.data(D.value,e).data(D.text,e).attr("data-"+D.value,e).attr("data-"+D.text,e).removeClass(A.filtered),T.hideAdditions||(t=T.templates.addition(S.add.variables($.addResult,e)),n.html(t)),S.verbose("Replacing user suggestion with new value",n)):((n=S.create.userChoice(e)).prependTo(X),S.verbose("Adding item choice to menu corresponding with user choice addition",n)),T.hideAdditions&&!S.is.allFiltered()||n.addClass(A.selected).siblings().removeClass(A.selected),S.refreshItems()))},variables:function(e,t){var n,i,o=-1!==e.search("{count}"),r=-1!==e.search("{maxCount}"),a=-1!==e.search("{term}");return S.verbose("Adding templated variables to message",e),o&&(n=S.get.selectionCount(),e=e.replace("{count}",n)),r&&(n=S.get.selectionCount(),e=e.replace("{maxCount}",T.maxSelections)),a&&(i=t||S.get.query(),e=e.replace("{term}",i)),e},value:function(e,t,n){var i,o=S.get.values();S.has.value(e)?S.debug("Value already selected"):""!==e?(Array.isArray(o)?(i=o.concat([e]),i=S.get.uniqueArray(i)):i=[e],S.has.selectInput()?S.can.extendSelect()&&(S.debug("Adding value to select",e,i,V),S.add.optionValue(e)):(i=i.join(T.delimiter),S.debug("Setting hidden input to delimited value",i,V)),!1===T.fireOnInit&&S.is.initialLoad()?S.verbose("Skipping onadd callback on initial load",T.onAdd):T.onAdd.call(ne,e,t,n),S.set.value(i,t,n),S.check.maxSelections()):S.debug("Cannot select blank values from multiselect")}},remove:{active:function(){q.removeClass(A.active)},activeLabel:function(){q.find(R.label).removeClass(A.active)},empty:function(){q.removeClass(A.empty)},loading:function(){q.removeClass(A.loading)},initialLoad:function(){b=!1},upward:function(e){(e||q).removeClass(A.upward)},leftward:function(e){(e||X).removeClass(A.leftward)},visible:function(){q.removeClass(A.visible)},activeItem:function(){Y.removeClass(A.active)},filteredItem:function(){T.useLabels&&S.has.maxSelections()||(T.useLabels&&S.is.multiple()?Y.not("."+A.active).removeClass(A.filtered):Y.removeClass(A.filtered),T.hideDividers&&K.removeClass(A.hidden),S.remove.empty())},optionValue:function(e){var t=S.escape.value(e),n=V.find('option[value="'+S.escape.string(t)+'"]');n.length>0&&n.hasClass(A.addition)&&(x&&(x.disconnect(),S.verbose("Temporarily disconnecting mutation observer")),n.remove(),S.verbose("Removing user addition as an <option>",t),x&&x.observe(V[0],{childList:!0,subtree:!0}))},message:function(){X.children(R.message).remove()},searchWidth:function(){U.css("width","")},searchTerm:function(){S.verbose("Cleared search term"),U.val(""),S.set.filtered()},userAddition:function(){Y.filter(R.addition).remove()},selected:function(t,n){if(!(n=T.allowAdditions?n||S.get.itemWithAdditions(t):n||S.get.item(t)))return!1;n.each((function(){var t=e(this),n=S.get.choiceText(t),i=S.get.choiceValue(t,n);S.is.multiple()?T.useLabels?(S.remove.value(i,n,t),S.remove.label(i)):(S.remove.value(i,n,t),0===S.get.selectionCount()?S.set.placeholderText():S.set.text(S.add.variables($.count))):S.remove.value(i,n,t),t.removeClass(A.filtered).removeClass(A.active),T.useLabels&&t.removeClass(A.selected)}))},selectedItem:function(){Y.removeClass(A.selected)},value:function(e,t,n){var i,o=S.get.values();e=S.escape.htmlEntities(e),S.has.selectInput()?(S.verbose("Input is <select> removing selected option",e),i=S.remove.arrayValue(e,o),S.remove.optionValue(e)):(S.verbose("Removing from delimited values",e),i=(i=S.remove.arrayValue(e,o)).join(T.delimiter)),!1===T.fireOnInit&&S.is.initialLoad()?S.verbose("No callback on initial load",T.onRemove):T.onRemove.call(ne,e,t,n),S.set.value(i,t,n),S.check.maxSelections()},arrayValue:function(t,n){return Array.isArray(n)||(n=[n]),n=e.grep(n,(function(e){return t!=e})),S.verbose("Removed value from delimited string",t,n),n},label:function(e,t){var n=q.find(R.label).filter("[data-"+D.value+'="'+S.escape.string(T.ignoreCase?e.toLowerCase():e)+'"]');S.verbose("Removing label",n),n.remove()},activeLabels:function(e){e=e||q.find(R.label).filter("."+A.active),S.verbose("Removing active label selections",e),S.remove.labels(e)},labels:function(t){t=t||q.find(R.label),S.verbose("Removing labels",t),t.each((function(){var t=e(this),n=t.data(D.value),o=n!==i?String(n):n,r=S.is.userValue(o);!1!==T.onLabelRemove.call(t,n)?(S.remove.message(),r?(S.remove.value(o),S.remove.label(o)):S.remove.selected(o)):S.debug("Label remove callback cancelled removal")}))},tabbable:function(){S.is.searchSelection()?(S.debug("Searchable dropdown initialized"),U.removeAttr("tabindex"),X.removeAttr("tabindex")):(S.debug("Simple selection dropdown initialized"),q.removeAttr("tabindex"),X.removeAttr("tabindex"))},diacritics:function(e){return T.ignoreDiacritics?e.normalize("NFD").replace(/[\u0300-\u036f]/g,""):e}},has:{menuSearch:function(){return S.has.search()&&U.closest(X).length>0},clearItem:function(){return Q.length>0},search:function(){return U.length>0},sizer:function(){return B.length>0},selectInput:function(){return V.is("select")},minCharacters:function(e){return T.minCharacters&&!te?(e=String(e!==i?e:S.get.query())).length>=T.minCharacters:(te=!1,!0)},firstLetter:function(e,t){var n,i;return!(!e||0===e.length||"string"!=typeof t)&&(n=S.get.choiceText(e,!1),t=t.toLowerCase(),i=String(n).charAt(0).toLowerCase(),t==i)},input:function(){return V.length>0},items:function(){return Y.length>0},menu:function(){return X.length>0},message:function(){return 0!==X.children(R.message).length},label:function(e){var t=S.escape.value(e),n=q.find(R.label);return T.ignoreCase&&(t=t.toLowerCase()),n.filter("[data-"+D.value+'="'+S.escape.string(t)+'"]').length>0},maxSelections:function(){return T.maxSelections&&S.get.selectionCount()>=T.maxSelections},allResultsFiltered:function(){var e=Y.not(R.addition);return e.filter(R.unselectable).length===e.length},userSuggestion:function(){return X.children(R.addition).length>0},query:function(){return""!==S.get.query()},value:function(e){return T.ignoreCase?S.has.valueIgnoringCase(e):S.has.valueMatchingCase(e)},valueMatchingCase:function(t){var n=S.get.values();return!!(Array.isArray(n)?n&&-1!==e.inArray(t,n):n==t)},valueIgnoringCase:function(t){var n=S.get.values(),i=!1;return Array.isArray(n)||(n=[n]),e.each(n,(function(e,n){if(String(t).toLowerCase()==String(n).toLowerCase())return i=!0,!1})),i}},is:{active:function(){return q.hasClass(A.active)},animatingInward:function(){return X.transition("is inward")},animatingOutward:function(){return X.transition("is outward")},bubbledLabelClick:function(t){return e(t.target).is("select, input")&&q.closest("label").length>0},bubbledIconClick:function(t){return e(t.target).closest(W).length>0},alreadySetup:function(){return q.is("select")&&q.parent(R.dropdown).data(M)!==i&&0===q.prev().length},animating:function(e){return e?e.transition&&e.transition("is animating"):X.transition&&X.transition("is animating")},leftward:function(e){return(e||X).hasClass(A.leftward)},clearable:function(){return q.hasClass(A.clearable)||T.clearable},disabled:function(){return q.hasClass(A.disabled)},focused:function(){return n.activeElement===q[0]},focusedOnSearch:function(){return n.activeElement===U[0]},allFiltered:function(){return(S.is.multiple()||S.has.search())&&!(0==T.hideAdditions&&S.has.userSuggestion())&&!S.has.message()&&S.has.allResultsFiltered()},hidden:function(e){return!S.is.visible(e)},initialLoad:function(){return b},inObject:function(t,n){var i=!1;return e.each(n,(function(e,n){if(n==t)return i=!0,!0})),i},multiple:function(){return q.hasClass(A.multiple)},remote:function(){return T.apiSettings&&S.can.useAPI()},single:function(){return!S.is.multiple()},selectMutation:function(t){var n=!1;return e.each(t,(function(t,i){if(e(i.target).is("select")||e(i.addedNodes).is("select"))return n=!0,!1})),n},search:function(){return q.hasClass(A.search)},searchSelection:function(){return S.has.search()&&1===U.parent(R.dropdown).length},selection:function(){return q.hasClass(A.selection)},userValue:function(t){return-1!==e.inArray(t,S.get.userValues())},upward:function(e){return(e||q).hasClass(A.upward)},visible:function(e){return e?e.hasClass(A.visible):X.hasClass(A.visible)},verticallyScrollableContext:function(){var e=z.get(0)!==t&&z.css("overflow-y");return"auto"==e||"scroll"==e},horizontallyScrollableContext:function(){var e=z.get(0)!==t&&z.css("overflow-X");return"auto"==e||"scroll"==e}},can:{activate:function(e){return!!T.useLabels||(!S.has.maxSelections()||!(!S.has.maxSelections()||!e.hasClass(A.active)))},openDownward:function(e){var n,i,o=e||X,r=!0;return o.addClass(A.loading),i={context:{offset:z.get(0)===t?{top:0,left:0}:z.offset(),scrollTop:z.scrollTop(),height:z.outerHeight()},menu:{offset:o.offset(),height:o.outerHeight()}},S.is.verticallyScrollableContext()&&(i.menu.offset.top+=i.context.scrollTop),(n={above:i.context.scrollTop<=i.menu.offset.top-i.context.offset.top-i.menu.height,below:i.context.scrollTop+i.context.height>=i.menu.offset.top-i.context.offset.top+i.menu.height}).below?(S.verbose("Dropdown can fit in context downward",n),r=!0):n.below||n.above?(S.verbose("Dropdown cannot fit below, opening upward",n),r=!1):(S.verbose("Dropdown cannot fit in either direction, favoring downward",n),r=!0),o.removeClass(A.loading),r},openRightward:function(e){var n,i,o=e||X,r=!0;return o.addClass(A.loading),i={context:{offset:z.get(0)===t?{top:0,left:0}:z.offset(),scrollLeft:z.scrollLeft(),width:z.outerWidth()},menu:{offset:o.offset(),width:o.outerWidth()}},S.is.horizontallyScrollableContext()&&(i.menu.offset.left+=i.context.scrollLeft),(n=i.menu.offset.left-i.context.offset.left+i.menu.width>=i.context.scrollLeft+i.context.width)&&(S.verbose("Dropdown cannot fit in context rightward",n),r=!1),o.removeClass(A.loading),r},click:function(){return c||"click"==T.on},extendSelect:function(){return T.allowAdditions||T.apiSettings},show:function(){return!S.is.disabled()&&(S.has.items()||S.has.message())},useAPI:function(){return e.fn.api!==i}},animate:{show:function(t,n){var o,r=n||X,a=n?function(){}:function(){S.hideSubMenus(),S.hideOthers(),S.set.active()};if(t=e.isFunction(t)?t:function(){},S.verbose("Doing menu show animation",r),S.set.direction(n),o=S.get.transition(n),S.is.selection()&&S.set.scrollPosition(S.get.selectedItem(),!0),S.is.hidden(r)||S.is.animating(r)){var s=!!q.hasClass("column")&&"flex";"none"==o?(a(),r.transition({displayType:s}).transition("show"),t.call(ne)):e.fn.transition!==i&&q.transition("is supported")?r.transition({animation:o+" in",debug:T.debug,verbose:T.verbose,duration:T.duration,queue:!0,onStart:a,displayType:s,onComplete:function(){t.call(ne)}}):S.error(P.noTransition,o)}},hide:function(t,n){var o=n||X,r=n?function(){}:function(){S.can.click()&&S.unbind.intent(),S.remove.active()},a=S.get.transition(n);t=e.isFunction(t)?t:function(){},(S.is.visible(o)||S.is.animating(o))&&(S.verbose("Doing menu hide animation",o),"none"==a?(r(),o.transition("hide"),t.call(ne)):e.fn.transition!==i&&q.transition("is supported")?o.transition({animation:a+" out",duration:T.duration,debug:T.debug,verbose:T.verbose,queue:!1,onStart:r,onComplete:function(){t.call(ne)}}):S.error(P.transition))}},hideAndClear:function(){S.remove.searchTerm(),S.has.maxSelections()||(S.has.search()?S.hide((function(){S.remove.filteredItem()})):S.hide())},delay:{show:function(){S.verbose("Delaying show event to ensure user intent"),clearTimeout(S.timer),S.timer=setTimeout(S.show,T.delay.show)},hide:function(){S.verbose("Delaying hide event to ensure user intent"),clearTimeout(S.timer),S.timer=setTimeout(S.hide,T.delay.hide)}},escape:{value:function(t){var n=Array.isArray(t),i="string"==typeof t,o=!i&&!n,r=i&&-1!==t.search(I.quote),a=[];return o||!r?t:(S.debug("Encoding quote values for use in select",t),n?(e.each(t,(function(e,t){a.push(t.replace(I.quote,"""))})),a):t.replace(I.quote,"""))},string:function(e){return(e=String(e)).replace(I.escape,"\\$&")},htmlEntities:function(e){var t={"<":"<",">":">",'"':""","'":"'","`":"`"};return/[&<>"'`]/.test(e)?(e=e.replace(/&(?![a-z0-9#]{1,6};)/,"&")).replace(/[<>"'`]/g,(function(e){return t[e]})):e}},setting:function(t,n){if(S.debug("Changing setting",t,n),e.isPlainObject(t))e.extend(!0,T,t);else{if(n===i)return T[t];e.isPlainObject(T[t])?e.extend(!0,T[t],n):T[t]=n}},internal:function(t,n){if(e.isPlainObject(t))e.extend(!0,S,t);else{if(n===i)return S[t];S[t]=n}},debug:function(){!T.silent&&T.debug&&(T.performance?S.performance.log(arguments):(S.debug=Function.prototype.bind.call(console.info,console,T.name+":"),S.debug.apply(console,arguments)))},verbose:function(){!T.silent&&T.verbose&&T.debug&&(T.performance?S.performance.log(arguments):(S.verbose=Function.prototype.bind.call(console.info,console,T.name+":"),S.verbose.apply(console,arguments)))},error:function(){T.silent||(S.error=Function.prototype.bind.call(console.error,console,T.name+":"),S.error.apply(console,arguments))},performance:{log:function(e){var t,n;T.performance&&(n=(t=(new Date).getTime())-(d||t),d=t,f.push({Name:e[0],Arguments:[].slice.call(e,1)||"",Element:ne,"Execution Time":n})),clearTimeout(S.performance.timer),S.performance.timer=setTimeout(S.performance.display,500)},display:function(){var t=T.name+":",n=0;d=!1,clearTimeout(S.performance.timer),e.each(f,(function(e,t){n+=t["Execution Time"]})),t+=" "+n+"ms",l&&(t+=" '"+l+"'"),(console.group!==i||console.table!==i)&&f.length>0&&(console.groupCollapsed(t),console.table?console.table(f):e.each(f,(function(e,t){console.log(t.Name+": "+t["Execution Time"]+"ms")})),console.groupEnd()),f=[]}},invoke:function(t,n,o){var a,s,l,c=ie;return n=n||h,o=ne||o,"string"==typeof t&&c!==i&&(t=t.split(/[\. ]/),a=t.length-1,e.each(t,(function(n,o){var r=n!=a?o+t[n+1].charAt(0).toUpperCase()+t[n+1].slice(1):t;if(e.isPlainObject(c[r])&&n!=a)c=c[r];else{if(c[r]!==i)return s=c[r],!1;if(!e.isPlainObject(c[o])||n==a)return c[o]!==i?(s=c[o],!1):(S.error(P.method,t),!1);c=c[o]}}))),e.isFunction(s)?l=s.apply(o,n):s!==i&&(l=s),Array.isArray(r)?r.push(l):r!==i?r=[r,l]:l!==i&&(r=l),s}},m?(ie===i&&S.initialize(),S.invoke(p)):(ie!==i&&ie.invoke("destroy"),S.initialize())})),r!==i?r:a},e.fn.dropdown.settings={silent:!1,debug:!1,verbose:!1,performance:!0,on:"click",action:"activate",values:!1,clearable:!1,apiSettings:!1,selectOnKeydown:!0,minCharacters:0,filterRemoteData:!1,saveRemoteData:!0,throttle:200,context:t,direction:"auto",keepOnScreen:!0,match:"both",fullTextSearch:!1,ignoreDiacritics:!1,hideDividers:!1,placeholder:"auto",preserveHTML:!0,sortSelect:!1,forceSelection:!0,allowAdditions:!1,ignoreCase:!1,ignoreSearchCase:!0,hideAdditions:!0,maxSelections:!1,useLabels:!0,delimiter:",",showOnFocus:!0,allowReselection:!1,allowTab:!0,allowCategorySelection:!1,fireOnInit:!1,transition:"auto",duration:200,glyphWidth:1.037,headerDivider:!0,label:{transition:"scale",duration:200,variation:!1},delay:{hide:300,show:200,search:20,touch:50},onChange:function(e,t,n){},onAdd:function(e,t,n){},onRemove:function(e,t,n){},onLabelSelect:function(e){},onLabelCreate:function(t,n){return e(this)},onLabelRemove:function(e){return!0},onNoResults:function(e){return!0},onShow:function(){},onHide:function(){},name:"Dropdown",namespace:"dropdown",message:{addResult:"Add <b>{term}</b>",count:"{count} selected",maxSelections:"Max {maxCount} selections",noResults:"No results found.",serverError:"There was an error contacting the server"},error:{action:"You called a dropdown action that was not defined",alreadySetup:"Once a select has been initialized behaviors must be called on the created ui dropdown",labels:"Allowing user additions currently requires the use of labels.",missingMultiple:"<select> requires multiple property to be set to correctly preserve multiple values",method:"The method you called is not defined.",noAPI:"The API module is required to load resources remotely",noStorage:"Saving remote data requires session storage",noTransition:"This module requires ui transitions <https://github.com/Semantic-Org/UI-Transition>",noNormalize:'"ignoreDiacritics" setting will be ignored. Browser does not support String().normalize(). You may consider including <https://cdn.jsdelivr.net/npm/unorm@1.4.1/lib/unorm.min.js> as a polyfill.'},regExp:{escape:/[-[\]{}()*+?.,\\^$|#\s:=@]/g,quote:/"/g},metadata:{defaultText:"defaultText",defaultValue:"defaultValue",placeholderText:"placeholder",text:"text",value:"value"},fields:{remoteValues:"results",values:"values",disabled:"disabled",name:"name",value:"value",text:"text",type:"type",image:"image",imageClass:"imageClass",icon:"icon",iconClass:"iconClass",class:"class",divider:"divider"},keys:{backspace:8,delimiter:188,deleteKey:46,enter:13,escape:27,pageUp:33,pageDown:34,leftArrow:37,upArrow:38,rightArrow:39,downArrow:40},selector:{addition:".addition",divider:".divider, .header",dropdown:".ui.dropdown",hidden:".hidden",icon:"> .dropdown.icon",input:'> input[type="hidden"], > select',item:".item",label:"> .label",remove:"> .label > .delete.icon",siblingLabel:".label",menu:".menu",message:".message",menuIcon:".dropdown.icon",search:"input.search, .menu > .search > input, .menu input.search",sizer:"> span.sizer",text:"> .text:not(.icon)",unselectable:".disabled, .filtered",clearIcon:"> .remove.icon"},className:{active:"active",addition:"addition",animating:"animating",disabled:"disabled",empty:"empty",dropdown:"ui dropdown",filtered:"filtered",hidden:"hidden transition",icon:"icon",image:"image",item:"item",label:"ui label",loading:"loading",menu:"menu",message:"message",multiple:"multiple",placeholder:"default",sizer:"sizer",search:"search",selected:"selected",selection:"selection",upward:"upward",leftward:"left",visible:"visible",clearable:"clearable",noselection:"noselection",delete:"delete",header:"header",divider:"divider",groupIcon:"",unfilterable:"unfilterable"}},e.fn.dropdown.settings.templates={deQuote:function(e){return String(e).replace(/"/g,"")},escape:function(e,t){if(t)return e;var n={"<":"<",">":">",'"':""","'":"'","`":"`"};return/[&<>"'`]/.test(e)?(e=e.replace(/&(?![a-z0-9#]{1,6};)/,"&")).replace(/[<>"'`]/g,(function(e){return n[e]})):e},dropdown:function(t,n,i,o){var r=t.placeholder||!1,a="",s=e.fn.dropdown.settings.templates.escape;return a+='<i class="dropdown icon"></i>',a+=r?'<div class="default text">'+s(r,i)+"</div>":'<div class="text"></div>',a+='<div class="'+o.menu+'">',a+=e.fn.dropdown.settings.templates.menu(t,n,i,o),a+="</div>"},menu:function(t,n,i,o){var r=t[n.values]||[],a="",s=e.fn.dropdown.settings.templates.escape,l=e.fn.dropdown.settings.templates.deQuote;return e.each(r,(function(e,t){var r=t[n.type]?t[n.type]:"item";if("item"===r){var c=t[n.text]?' data-text="'+l(t[n.text])+'"':"",u=t[n.disabled]?o.disabled+" ":"";a+='<div class="'+u+(t[n.class]?l(t[n.class]):o.item)+'" data-value="'+l(t[n.value])+'"'+c+">",t[n.image]&&(a+='<img class="'+(t[n.imageClass]?l(t[n.imageClass]):o.image)+'" src="'+l(t[n.image])+'">'),t[n.icon]&&(a+='<i class="'+l(t[n.icon])+" "+(t[n.iconClass]?l(t[n.iconClass]):o.icon)+'"></i>'),a+=s(t[n.name]||"",i),a+="</div>"}else if("header"===r){var d=s(t[n.name]||"",i),f=t[n.icon]?l(t[n.icon]):o.groupIcon;""===d&&""===f||(a+='<div class="'+(t[n.class]?l(t[n.class]):o.header)+'">',""!==f&&(a+='<i class="'+f+" "+(t[n.iconClass]?l(t[n.iconClass]):o.icon)+'"></i>'),a+=d,a+="</div>"),t[n.divider]&&(a+='<div class="'+o.divider+'"></div>')}})),a},label:function(t,n,i,o){return(0,e.fn.dropdown.settings.templates.escape)(n,i)+'<i class="'+o.delete+' icon"></i>'},message:function(e){return e},addition:function(e){return e}}}(jQuery,window,document),function(e,t,n,i){e.isFunction=e.isFunction||function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},t=void 0!==t&&t.Math==Math?t:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),e.fn.form=function(o){var r,a=e(this),s=a.selector||"",l=(new Date).getTime(),c=[],u=arguments[0],d=arguments[1],f="string"==typeof u,p=[].slice.call(arguments,1);return a.each((function(){var m,h,g,v,b,y,j,_,w,x,k,C,S,T,A,$,E=e(this),O=this,D=[],L=!1,I=!1,R=!1,P=["clean","clean"];($={initialize:function(){$.get.settings(),f?(A===i&&$.instantiate(),$.invoke(u)):(A!==i&&A.invoke("destroy"),$.verbose("Initializing form validation",E,b),$.bindEvents(),$.set.defaults(),b.autoCheckRequired&&$.set.autoCheck(),$.instantiate())},instantiate:function(){$.verbose("Storing instance of module",$),A=$,E.data(S,$)},destroy:function(){$.verbose("Destroying previous module",A),$.removeEvents(),E.removeData(S)},refresh:function(){$.verbose("Refreshing selector cache"),m=E.find(_.field),h=E.find(_.group),g=E.find(_.message),E.find(_.prompt),v=E.find(_.submit),E.find(_.clear),E.find(_.reset)},submit:function(){$.verbose("Submitting form",E),I=!0,E.submit()},attachEvents:function(t,n){n=n||"submit",e(t).on("click"+T,(function(e){$[n](),e.preventDefault()}))},bindEvents:function(){$.verbose("Attaching form events"),E.on("submit"+T,$.validate.form).on("blur"+T,_.field,$.event.field.blur).on("click"+T,_.submit,$.submit).on("click"+T,_.reset,$.reset).on("click"+T,_.clear,$.clear),b.keyboardShortcuts&&E.on("keydown"+T,_.field,$.event.field.keydown),m.each((function(t,n){var i=e(n),o=i.prop("type"),r=$.get.changeEvent(o,i);i.on(r+T,$.event.field.change)})),b.preventLeaving&&e(t).on("beforeunload"+T,$.event.beforeUnload),m.on("change click keyup keydown blur",(function(t){e(this).triggerHandler(t.type+".dirty")})),m.on("change.dirty click.dirty keyup.dirty keydown.dirty blur.dirty",$.determine.isDirty),E.on("dirty"+T,(function(e){b.onDirty.call()})),E.on("clean"+T,(function(e){b.onClean.call()}))},clear:function(){m.each((function(t,n){var i=e(n),o=i.parent(),r=i.closest(h),a=r.find(_.prompt),s=i.closest(_.uiCalendar),l=i.data(j.defaultValue)||"",c=o.is(_.uiCheckbox),u=o.is(_.uiDropdown)&&$.can.useElement("dropdown"),d=s.length>0&&$.can.useElement("calendar");r.hasClass(w.error)&&($.verbose("Resetting error on field",r),r.removeClass(w.error),a.remove()),u?($.verbose("Resetting dropdown value",o,l),o.dropdown("clear",!0)):c?i.prop("checked",!1):d?s.calendar("clear"):($.verbose("Resetting field value",i,l),i.val(""))})),$.remove.states()},reset:function(){m.each((function(t,n){var o=e(n),r=o.parent(),a=o.closest(h),s=o.closest(_.uiCalendar),l=a.find(_.prompt),c=o.data(j.defaultValue),u=r.is(_.uiCheckbox),d=r.is(_.uiDropdown)&&$.can.useElement("dropdown"),f=s.length>0&&$.can.useElement("calendar"),p=a.hasClass(w.error);c!==i&&(p&&($.verbose("Resetting error on field",a),a.removeClass(w.error),l.remove()),d?($.verbose("Resetting dropdown value",r,c),r.dropdown("restore defaults",!0)):u?($.verbose("Resetting checkbox value",r,c),o.prop("checked",c)):f?s.calendar("set date",c):($.verbose("Resetting field value",o,c),o.val(c)))})),$.remove.states()},determine:{isValid:function(){var t=!0;return e.each(y,(function(e,n){$.validate.field(n,e,!0)||(t=!1)})),t},isDirty:function(t){var n=!1;m.each((function(t,i){var o,r=e(i);o=r.filter(_.checkbox).length>0?$.is.checkboxDirty(r):$.is.fieldDirty(r),r.data(b.metadata.isDirty,o),n|=o})),n?$.set.dirty():$.set.clean(),t&&"dirty"===t.namespace&&(t.stopImmediatePropagation(),t.preventDefault())}},is:{bracketedRule:function(e){return e.type&&e.type.match(b.regExp.bracket)},shorthandFields:function(e){var t=e[Object.keys(e)[0]];return $.is.shorthandRules(t)},shorthandRules:function(e){return"string"==typeof e||Array.isArray(e)},empty:function(e){return!e||0===e.length||(e.is(_.checkbox)?!e.is(":checked"):$.is.blank(e))},blank:function(e){return""===String(e.val()).trim()},valid:function(t,n){var i=!0;return t?($.verbose("Checking if field is valid",t),$.validate.field(y[t],t,!!n)):($.verbose("Checking if form is valid"),e.each(y,(function(e,t){$.is.valid(e,n)||(i=!1)})),i)},dirty:function(){return R},clean:function(){return!R},fieldDirty:function(e){var t=e.data(j.defaultValue);null==t?t="":Array.isArray(t)&&(t=t.toString());var n=e.val();null==n?n="":Array.isArray(n)&&(n=n.toString());var i=/^(true|false)$/i;return i.test(t)&&i.test(n)?!new RegExp("^"+t+"$","i").test(n):n!==t},checkboxDirty:function(e){return e.data(j.defaultValue)!==e.is(":checked")},justDirty:function(){return"dirty"===P[0]},justClean:function(){return"clean"===P[0]}},removeEvents:function(){E.off(T),m.off(T),v.off(T),m.off(T)},event:{field:{keydown:function(t){var n=e(this),i=t.which,o=n.is(_.input),r=n.is(_.checkbox),a=n.closest(_.uiDropdown).length>0,s=13;i==27&&($.verbose("Escape key pressed blurring field"),n.blur()),t.ctrlKey||i!=s||!o||a||r||(L||(n.one("keyup"+T,$.event.field.keyup),$.submit(),$.debug("Enter pressed on input submitting form")),L=!0)},keyup:function(){L=!1},blur:function(t){var n=e(this),i=n.closest(h),o=$.get.validation(n);i.hasClass(w.error)?($.debug("Revalidating field",n,o),o&&$.validate.field(o)):"blur"==b.on&&o&&$.validate.field(o)},change:function(t){var n=e(this),i=n.closest(h),o=$.get.validation(n);o&&("change"==b.on||i.hasClass(w.error)&&b.revalidate)&&(clearTimeout($.timer),$.timer=setTimeout((function(){$.debug("Revalidating field",n,$.get.validation(n)),$.validate.field(o),b.inline||$.validate.form(!1,!0)}),b.delay))}},beforeUnload:function(e){if($.is.dirty()&&!I)return(e=e||t.event)&&(e.returnValue=b.text.leavingMessage),b.text.leavingMessage}},get:{ancillaryValue:function(e){return!(!e.type||!e.value&&!$.is.bracketedRule(e))&&(e.value!==i?e.value:e.type.match(b.regExp.bracket)[1]+"")},ruleName:function(e){return $.is.bracketedRule(e)?e.type.replace(e.type.match(b.regExp.bracket)[0],""):e.type},changeEvent:function(e,t){return"checkbox"==e||"radio"==e||"hidden"==e||t.is("select")?"change":$.get.inputEvent()},inputEvent:function(){return n.createElement("input").oninput!==i?"input":n.createElement("input").onpropertychange!==i?"propertychange":"keyup"},fieldsFromShorthand:function(t){var n={};return e.each(t,(function(t,i){"string"==typeof i&&(i=[i]),n[t]={rules:[]},e.each(i,(function(e,i){n[t].rules.push({type:i})}))})),n},prompt:function(t,n){var i,o,r=$.get.ruleName(t),a=$.get.ancillaryValue(t),s=$.get.field(n.identifier),l=s.val(),c=e.isFunction(t.prompt)?t.prompt(l):t.prompt||b.prompt[r]||b.text.unspecifiedRule,u=-1!==c.search("{value}"),d=-1!==c.search("{name}");return u&&(c=c.replace(/\{value\}/g,s.val())),d&&(o=1==(i=s.closest(_.group).find("label").eq(0)).length?i.text():s.prop("placeholder")||b.text.unspecifiedField,c=c.replace(/\{name\}/g,o)),c=c.replace(/\{identifier\}/g,n.identifier),c=c.replace(/\{ruleValue\}/g,a),t.prompt||$.verbose("Using default validation prompt for type",c,r),c},settings:function(){if(e.isPlainObject(o)){var t=Object.keys(o);t.length>0&&(o[t[0]].identifier!==i&&o[t[0]].rules!==i)?(b=e.extend(!0,{},e.fn.form.settings,d),y=e.extend({},e.fn.form.settings.defaults,o),$.error(b.error.oldSyntax,O),$.verbose("Extending settings from legacy parameters",y,b)):(o.fields&&$.is.shorthandFields(o.fields)&&(o.fields=$.get.fieldsFromShorthand(o.fields)),b=e.extend(!0,{},e.fn.form.settings,o),y=e.extend({},e.fn.form.settings.defaults,b.fields),$.verbose("Extending settings",y,b))}else b=e.fn.form.settings,y=e.fn.form.settings.defaults,$.verbose("Using default form validation",y,b);C=b.namespace,j=b.metadata,_=b.selector,w=b.className,x=b.regExp,k=b.error,S="module-"+C,T="."+C,A=E.data(S),$.refresh()},field:function(t){var n;return $.verbose("Finding field with identifier",t),t=$.escape.string(t),(n=m.filter("#"+t)).length>0||(n=m.filter('[name="'+t+'"]')).length>0||(n=m.filter('[name="'+t+'[]"]')).length>0||(n=m.filter("[data-"+j.validate+'="'+t+'"]')).length>0?n:e("<input/>")},fields:function(t){var n=e();return e.each(t,(function(e,t){n=n.add($.get.field(t))})),n},validation:function(t){var n,i;return!!y&&(e.each(y,(function(o,r){i=r.identifier||o,e.each($.get.field(i),(function(e,o){if(o==t[0])return r.identifier=i,n=r,!1}))})),n||!1)},value:function(e){var t=[];return t.push(e),$.get.values.call(O,t)[e]},values:function(t){var n=Array.isArray(t)?$.get.fields(t):m,o={};return n.each((function(t,n){var r=e(n),a=r.closest(_.uiCalendar),s=r.prop("name"),l=r.val(),c=r.is(_.checkbox),u=r.is(_.radio),d=-1!==s.indexOf("[]"),f=a.length>0&&$.can.useElement("calendar"),p=!!c&&r.is(":checked");if(s)if(d)s=s.replace("[]",""),o[s]||(o[s]=[]),c?p?o[s].push(l||!0):o[s].push(!1):o[s].push(l);else if(u)o[s]!==i&&!1!==o[s]||(o[s]=!!p&&(l||!0));else if(c)o[s]=!!p&&(l||!0);else if(f){var m=a.calendar("get date");if(null!==m){if("date"==b.dateHandling)o[s]=m;else if("input"==b.dateHandling)o[s]=a.calendar("get input date");else if("formatter"==b.dateHandling){var h=a.calendar("setting","type");switch(h){case"date":o[s]=b.formatter.date(m);break;case"datetime":o[s]=b.formatter.datetime(m);break;case"time":o[s]=b.formatter.time(m);break;case"month":o[s]=b.formatter.month(m);break;case"year":o[s]=b.formatter.year(m);break;default:$.debug("Wrong calendar mode",a,h),o[s]=""}}}else o[s]=""}else o[s]=l})),o},dirtyFields:function(){return m.filter((function(t,n){return e(n).data(j.isDirty)}))}},has:{field:function(e){return $.verbose("Checking for existence of a field with identifier",e),"string"!=typeof(e=$.escape.string(e))&&$.error(k.identifier,e),m.filter("#"+e).length>0||(m.filter('[name="'+e+'"]').length>0||m.filter("[data-"+j.validate+'="'+e+'"]').length>0)}},can:{useElement:function(t){return e.fn[t]!==i||($.error(k.noElement.replace("{element}",t)),!1)}},escape:{string:function(e){return(e=String(e)).replace(x.escape,"\\$&")}},add:{rule:function(e,t){$.add.field(e,t)},field:function(t,n){y[t]!==i&&y[t].rules!==i||(y[t]={rules:[]});var o={rules:[]};$.is.shorthandRules(n)?(n=Array.isArray(n)?n:[n],e.each(n,(function(e,t){o.rules.push({type:t})}))):o.rules=n.rules,e.each(o.rules,(function(n,i){0==e.grep(y[t].rules,(function(e){return e.type==i.type})).length&&y[t].rules.push(i)})),$.debug("Adding rules",o.rules,y)},fields:function(t){var n;n=t&&$.is.shorthandFields(t)?$.get.fieldsFromShorthand(t):t,y=e.extend({},y,n)},prompt:function(e,t,n){var i=$.get.field(e).closest(h),o=i.children(_.prompt),r=0!==o.length;t="string"==typeof t?[t]:t,$.verbose("Adding field error state",e),n||i.addClass(w.error),b.inline&&(r||(o=b.templates.prompt(t,w.label)).appendTo(i),o.html(t[0]),r?$.verbose("Inline errors are disabled, no inline error added",e):b.transition&&$.can.useElement("transition")&&E.transition("is supported")?($.verbose("Displaying error with css transition",b.transition),o.transition(b.transition+" in",b.duration)):($.verbose("Displaying error with fallback javascript animation"),o.fadeIn(b.duration)))},errors:function(e){$.debug("Adding form error messages",e),$.set.error(),g.html(b.templates.error(e))}},remove:{errors:function(){$.debug("Removing form error messages"),g.empty()},states:function(){E.removeClass(w.error).removeClass(w.success),b.inline||$.remove.errors(),$.determine.isDirty()},rule:function(t,n){var o=Array.isArray(n)?n:[n];if(y[t]!==i&&Array.isArray(y[t].rules))return n===i?($.debug("Removed all rules"),void(y[t].rules=[])):void e.each(y[t].rules,(function(e,n){n&&-1!==o.indexOf(n.type)&&($.debug("Removed rule",n.type),y[t].rules.splice(e,1))}))},field:function(t){var n=Array.isArray(t)?t:[t];e.each(n,(function(e,t){$.remove.rule(t)}))},rules:function(t,n){Array.isArray(t)?e.each(t,(function(e,t){$.remove.rule(t,n)})):$.remove.rule(t,n)},fields:function(e){$.remove.field(e)},prompt:function(e){var t=$.get.field(e).closest(h),n=t.children(_.prompt);t.removeClass(w.error),b.inline&&n.is(":visible")&&($.verbose("Removing prompt for field",e),b.transition&&$.can.useElement("transition")&&E.transition("is supported")?n.transition(b.transition+" out",b.duration,(function(){n.remove()})):n.fadeOut(b.duration,(function(){n.remove()})))}},set:{success:function(){E.removeClass(w.error).addClass(w.success)},defaults:function(){m.each((function(t,n){var i=e(n),o=i.parent(),r=i.filter(_.checkbox).length>0,a=o.is(_.uiDropdown)&&$.can.useElement("dropdown"),s=i.closest(_.uiCalendar),l=s.length>0&&$.can.useElement("calendar"),c=r?i.is(":checked"):i.val();a?o.dropdown("save defaults"):l&&s.calendar("refresh"),i.data(j.defaultValue,c),i.data(j.isDirty,!1)}))},error:function(){E.removeClass(w.success).addClass(w.error)},value:function(e,t){var n={};return n[e]=t,$.set.values.call(O,n)},values:function(t){e.isEmptyObject(t)||e.each(t,(function(t,n){var i,o=$.get.field(t),r=o.parent(),a=o.closest(_.uiCalendar),s=Array.isArray(n),l=r.is(_.uiCheckbox)&&$.can.useElement("checkbox"),c=r.is(_.uiDropdown)&&$.can.useElement("dropdown"),u=o.is(_.radio)&&l,d=a.length>0&&$.can.useElement("calendar");o.length>0&&(s&&l?($.verbose("Selecting multiple",n,o),r.checkbox("uncheck"),e.each(n,(function(e,t){i=o.filter('[value="'+t+'"]'),r=i.parent(),i.length>0&&r.checkbox("check")}))):u?($.verbose("Selecting radio value",n,o),o.filter('[value="'+n+'"]').parent(_.uiCheckbox).checkbox("check")):l?($.verbose("Setting checkbox value",n,r),!0===n||1===n?r.checkbox("check"):r.checkbox("uncheck")):c?($.verbose("Setting dropdown value",n,r),r.dropdown("set selected",n)):d?a.calendar("set date",n):($.verbose("Setting field value",n,o),o.val(n)))}))},dirty:function(){$.verbose("Setting state dirty"),R=!0,P[0]=P[1],P[1]="dirty",$.is.justClean()&&E.trigger("dirty")},clean:function(){$.verbose("Setting state clean"),R=!1,P[0]=P[1],P[1]="clean",$.is.justDirty()&&E.trigger("clean")},asClean:function(){$.set.defaults(),$.set.clean()},asDirty:function(){$.set.defaults(),$.set.dirty()},autoCheck:function(){$.debug("Enabling auto check on required fields"),m.each((function(t,n){var o=e(n),r=e(n).closest(h),a=o.filter(_.checkbox).length>0,s=o.prop("required")||r.hasClass(w.required)||r.parent().hasClass(w.required),l=o.is(":disabled")||r.hasClass(w.disabled)||r.parent().hasClass(w.disabled),c=$.get.validation(o),u=!!c&&0!==e.grep(c.rules,(function(e){return"empty"==e.type})),d=c.identifier||o.attr("id")||o.attr("name")||o.data(j.validate);!s||l||u||d===i||(a?($.verbose("Adding 'checked' rule on field",d),$.add.rule(d,"checked")):($.verbose("Adding 'empty' rule on field",d),$.add.rule(d,"empty")))}))}},validate:{form:function(e,t){var n=$.get.values();if(L)return!1;if(D=[],$.determine.isValid()){if($.debug("Form has no validation errors, submitting"),$.set.success(),b.inline||$.remove.errors(),!0!==t)return b.onSuccess.call(O,e,n)}else if($.debug("Form has errors"),I=!1,$.set.error(),b.inline||$.add.errors(D),e&&E.data("moduleApi")!==i&&e.stopImmediatePropagation(),!0!==t)return b.onFailure.call(O,D,n)},field:function(t,n,o){o=o===i||o,"string"==typeof t&&($.verbose("Validating field",t),n=t,t=y[t]);var r=t.identifier||n,a=$.get.field(r),s=!!t.depends&&$.get.field(t.depends),l=!0,c=[];return t.identifier||($.debug("Using field name as identifier",r),t.identifier=r),!a.filter(":not(:disabled)").length?$.debug("Field is disabled. Skipping",r):t.optional&&$.is.blank(a)?$.debug("Field is optional and blank. Skipping",r):t.depends&&$.is.empty(s)?$.debug("Field depends on another value that is not present or empty. Skipping",s):t.rules!==i&&(o&&a.closest(h).removeClass(w.error),e.each(t.rules,(function(n,i){if($.has.field(r)){var a=$.validate.rule(t,i,!0)||[];a.length>0&&($.debug("Field is invalid",r,i.type),c.push($.get.prompt(i,t)),l=!1,o&&e(a).closest(h).addClass(w.error))}}))),l?(o&&($.remove.prompt(r,c),b.onValid.call(a)),!0):(o&&(D=D.concat(c),$.add.prompt(r,c,!0),b.onInvalid.call(a,c)),!1)},rule:function(t,n,o){var r=$.get.field(t.identifier),a=$.get.ancillaryValue(n),s=$.get.ruleName(n),l=b.rules[s],c=[],u=r.is(_.checkbox),d=function(t){var n=u?e(t).filter(":checked").val():e(t).val();return n=n===i||""===n||null===n?"":b.shouldTrim?String(n+"").trim():String(n+""),l.call(t,n,a,E)};if(e.isFunction(l))return u?d(r)||(c=r):e.each(r,(function(e,t){d(t)||c.push(t)})),o?c:!(c.length>0);$.error(k.noRule,s)}},setting:function(t,n){if(e.isPlainObject(t))e.extend(!0,b,t);else{if(n===i)return b[t];b[t]=n}},internal:function(t,n){if(e.isPlainObject(t))e.extend(!0,$,t);else{if(n===i)return $[t];$[t]=n}},debug:function(){!b.silent&&b.debug&&(b.performance?$.performance.log(arguments):($.debug=Function.prototype.bind.call(console.info,console,b.name+":"),$.debug.apply(console,arguments)))},verbose:function(){!b.silent&&b.verbose&&b.debug&&(b.performance?$.performance.log(arguments):($.verbose=Function.prototype.bind.call(console.info,console,b.name+":"),$.verbose.apply(console,arguments)))},error:function(){b.silent||($.error=Function.prototype.bind.call(console.error,console,b.name+":"),$.error.apply(console,arguments))},performance:{log:function(e){var t,n;b.performance&&(n=(t=(new Date).getTime())-(l||t),l=t,c.push({Name:e[0],Arguments:[].slice.call(e,1)||"",Element:O,"Execution Time":n})),clearTimeout($.performance.timer),$.performance.timer=setTimeout($.performance.display,500)},display:function(){var t=b.name+":",n=0;l=!1,clearTimeout($.performance.timer),e.each(c,(function(e,t){n+=t["Execution Time"]})),t+=" "+n+"ms",s&&(t+=" '"+s+"'"),a.length>1&&(t+=" ("+a.length+")"),(console.group!==i||console.table!==i)&&c.length>0&&(console.groupCollapsed(t),console.table?console.table(c):e.each(c,(function(e,t){console.log(t.Name+": "+t["Execution Time"]+"ms")})),console.groupEnd()),c=[]}},invoke:function(t,n,o){var a,s,l,c=A;return n=n||p,o=O||o,"string"==typeof t&&c!==i&&(t=t.split(/[\. ]/),a=t.length-1,e.each(t,(function(n,o){var r=n!=a?o+t[n+1].charAt(0).toUpperCase()+t[n+1].slice(1):t;if(e.isPlainObject(c[r])&&n!=a)c=c[r];else{if(c[r]!==i)return s=c[r],!1;if(!e.isPlainObject(c[o])||n==a)return c[o]!==i&&(s=c[o],!1);c=c[o]}}))),e.isFunction(s)?l=s.apply(o,n):s!==i&&(l=s),Array.isArray(r)?r.push(l):r!==i?r=[r,l]:l!==i&&(r=l),s}}).initialize()})),r!==i?r:this},e.fn.form.settings={name:"Form",namespace:"form",debug:!1,verbose:!1,performance:!0,fields:!1,keyboardShortcuts:!0,on:"submit",inline:!1,delay:200,revalidate:!0,shouldTrim:!0,transition:"scale",duration:200,autoCheckRequired:!1,preventLeaving:!1,dateHandling:"date",onValid:function(){},onInvalid:function(){},onSuccess:function(){return!0},onFailure:function(){return!1},onDirty:function(){},onClean:function(){},metadata:{defaultValue:"default",validate:"validate",isDirty:"isDirty"},regExp:{htmlID:/^[a-zA-Z][\w:.-]*$/g,bracket:/\[(.*)\]/i,decimal:/^\d+\.?\d*$/,email:/^[a-z0-9!#$%&'*+\/=?^_`{|}~.-]+@[a-z0-9]([a-z0-9-]*[a-z0-9])?(\.[a-z0-9]([a-z0-9-]*[a-z0-9])?)*$/i,escape:/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|:,=@]/g,flags:/^\/(.*)\/(.*)?/,integer:/^\-?\d+$/,number:/^\-?\d*(\.\d+)?$/,url:/(https?:\/\/(?:www\.|(?!www))[^\s\.]+\.[^\s]{2,}|www\.[^\s]+\.[^\s]{2,})/i},text:{unspecifiedRule:"Please enter a valid value",unspecifiedField:"This field",leavingMessage:"There are unsaved changes on this page which will be discarded if you continue."},prompt:{empty:"{name} must have a value",checked:"{name} must be checked",email:"{name} must be a valid e-mail",url:"{name} must be a valid url",regExp:"{name} is not formatted correctly",integer:"{name} must be an integer",decimal:"{name} must be a decimal number",number:"{name} must be set to a number",is:'{name} must be "{ruleValue}"',isExactly:'{name} must be exactly "{ruleValue}"',not:'{name} cannot be set to "{ruleValue}"',notExactly:'{name} cannot be set to exactly "{ruleValue}"',contain:'{name} must contain "{ruleValue}"',containExactly:'{name} must contain exactly "{ruleValue}"',doesntContain:'{name} cannot contain "{ruleValue}"',doesntContainExactly:'{name} cannot contain exactly "{ruleValue}"',minLength:"{name} must be at least {ruleValue} characters",length:"{name} must be at least {ruleValue} characters",exactLength:"{name} must be exactly {ruleValue} characters",maxLength:"{name} cannot be longer than {ruleValue} characters",match:"{name} must match {ruleValue} field",different:"{name} must have a different value than {ruleValue} field",creditCard:"{name} must be a valid credit card number",minCount:"{name} must have at least {ruleValue} choices",exactCount:"{name} must have exactly {ruleValue} choices",maxCount:"{name} must have {ruleValue} or less choices"},selector:{checkbox:'input[type="checkbox"], input[type="radio"]',clear:".clear",field:"input:not(.search), textarea, select",group:".field",input:"input",message:".error.message",prompt:".prompt.label",radio:'input[type="radio"]',reset:'.reset:not([type="reset"])',submit:'.submit:not([type="submit"])',uiCheckbox:".ui.checkbox",uiDropdown:".ui.dropdown",uiCalendar:".ui.calendar"},className:{error:"error",label:"ui basic red pointing prompt label",pressed:"down",success:"success",required:"required",disabled:"disabled"},error:{identifier:"You must specify a string identifier for each field",method:"The method you called is not defined.",noRule:"There is no rule matching the one you specified",oldSyntax:"Starting in 2.0 forms now only take a single settings object. Validation settings converted to new syntax automatically.",noElement:"This module requires ui {element}"},templates:{error:function(t){var n='<ul class="list">';return e.each(t,(function(e,t){n+="<li>"+t+"</li>"})),e(n+="</ul>")},prompt:function(t,n){return e("<div/>").addClass(n).html(t[0])}},formatter:{date:function(e){return Intl.DateTimeFormat("en-GB").format(e)},datetime:function(e){return Intl.DateTimeFormat("en-GB",{year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}).format(e)},time:function(e){return Intl.DateTimeFormat("en-GB",{hour:"2-digit",minute:"2-digit",second:"2-digit"}).format(e)},month:function(e){return Intl.DateTimeFormat("en-GB",{month:"2-digit",year:"numeric"}).format(e)},year:function(e){return Intl.DateTimeFormat("en-GB",{year:"numeric"}).format(e)}},rules:{empty:function(e){return!(e===i||""===e||Array.isArray(e)&&0===e.length)},checked:function(){return e(this).filter(":checked").length>0},email:function(t){return e.fn.form.settings.regExp.email.test(t)},url:function(t){return e.fn.form.settings.regExp.url.test(t)},regExp:function(t,n){if(n instanceof RegExp)return t.match(n);var i,o=n.match(e.fn.form.settings.regExp.flags);return o&&(n=o.length>=2?o[1]:n,i=o.length>=3?o[2]:""),t.match(new RegExp(n,i))},integer:function(t,n){var o,r,a,s=e.fn.form.settings.regExp.integer;return n&&-1===["",".."].indexOf(n)&&(-1==n.indexOf("..")?s.test(n)&&(o=r=n-0):(a=n.split("..",2),s.test(a[0])&&(o=a[0]-0),s.test(a[1])&&(r=a[1]-0))),s.test(t)&&(o===i||t>=o)&&(r===i||t<=r)},decimal:function(t){return e.fn.form.settings.regExp.decimal.test(t)},number:function(t){return e.fn.form.settings.regExp.number.test(t)},is:function(e,t){return t="string"==typeof t?t.toLowerCase():t,(e="string"==typeof e?e.toLowerCase():e)==t},isExactly:function(e,t){return e==t},not:function(e,t){return(e="string"==typeof e?e.toLowerCase():e)!=(t="string"==typeof t?t.toLowerCase():t)},notExactly:function(e,t){return e!=t},contains:function(t,n){return n=n.replace(e.fn.form.settings.regExp.escape,"\\$&"),-1!==t.search(new RegExp(n,"i"))},containsExactly:function(t,n){return n=n.replace(e.fn.form.settings.regExp.escape,"\\$&"),-1!==t.search(new RegExp(n))},doesntContain:function(t,n){return n=n.replace(e.fn.form.settings.regExp.escape,"\\$&"),-1===t.search(new RegExp(n,"i"))},doesntContainExactly:function(t,n){return n=n.replace(e.fn.form.settings.regExp.escape,"\\$&"),-1===t.search(new RegExp(n))},minLength:function(e,t){return e!==i&&e.length>=t},length:function(e,t){return e!==i&&e.length>=t},exactLength:function(e,t){return e!==i&&e.length==t},maxLength:function(e,t){return e!==i&&e.length<=t},match:function(e,t,n){var o,r;return(r=n.find('[data-validate="'+t+'"]')).length>0||(r=n.find("#"+t)).length>0||(r=n.find('[name="'+t+'"]')).length>0?o=r.val():(r=n.find('[name="'+t+'[]"]')).length>0&&(o=r),o!==i&&e.toString()==o.toString()},different:function(e,t,n){var o,r;return(r=n.find('[data-validate="'+t+'"]')).length>0||(r=n.find("#"+t)).length>0||(r=n.find('[name="'+t+'"]')).length>0?o=r.val():(r=n.find('[name="'+t+'[]"]')).length>0&&(o=r),o!==i&&e.toString()!==o.toString()},creditCard:function(t,n){var i,o,r={visa:{pattern:/^4/,length:[16]},amex:{pattern:/^3[47]/,length:[15]},mastercard:{pattern:/^5[1-5]/,length:[16]},discover:{pattern:/^(6011|622(12[6-9]|1[3-9][0-9]|[2-8][0-9]{2}|9[0-1][0-9]|92[0-5]|64[4-9])|65)/,length:[16]},unionPay:{pattern:/^(62|88)/,length:[16,17,18,19]},jcb:{pattern:/^35(2[89]|[3-8][0-9])/,length:[16]},maestro:{pattern:/^(5018|5020|5038|6304|6759|676[1-3])/,length:[12,13,14,15,16,17,18,19]},dinersClub:{pattern:/^(30[0-5]|^36)/,length:[14]},laser:{pattern:/^(6304|670[69]|6771)/,length:[16,17,18,19]},visaElectron:{pattern:/^(4026|417500|4508|4844|491(3|7))/,length:[16]}},a={},s=!1,l="string"==typeof n&&n.split(",");if("string"==typeof t&&0!==t.length){if(t=t.replace(/[\-]/g,""),l&&(e.each(l,(function(n,i){(o=r[i])&&(a={length:-1!==e.inArray(t.length,o.length),pattern:-1!==t.search(o.pattern)}).length&&a.pattern&&(s=!0)})),!s))return!1;if((i={number:-1!==e.inArray(t.length,r.unionPay.length),pattern:-1!==t.search(r.unionPay.pattern)}).number&&i.pattern)return!0;for(var c=t.length,u=0,d=[[0,1,2,3,4,5,6,7,8,9],[0,2,4,6,8,1,3,5,7,9]],f=0;c--;)f+=d[u][parseInt(t.charAt(c),10)],u^=1;return f%10==0&&f>0}},minCount:function(e,t){return 0==t||(1==t?""!==e:e.split(",").length>=t)},exactCount:function(e,t){return 0==t?""===e:1==t?""!==e&&-1===e.search(","):e.split(",").length==t},maxCount:function(e,t){return 0!=t&&(1==t?-1===e.search(","):e.split(",").length<=t)}}}}(jQuery,window,document),function(e,t,n,i){e.isFunction=e.isFunction||function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},t=void 0!==t&&t.Math==Math?t:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),e.fn.modal=function(o){var r,a=e(this),s=e(t),l=e(n),c=e("body"),u=a.selector||"",d=(new Date).getTime(),f=[],p=arguments[0],m="string"==typeof p,h=[].slice.call(arguments,1),g=t.requestAnimationFrame||t.mozRequestAnimationFrame||t.webkitRequestAnimationFrame||t.msRequestAnimationFrame||function(e){setTimeout(e,0)};return a.each((function(){var a,v,b,y,j,_,w,x,k,C,S,T=e.isPlainObject(o)?e.extend(!0,{},e.fn.modal.settings,o):e.extend({},e.fn.modal.settings),A=T.selector,$=T.className,E=T.namespace,O=T.error,D="."+E,L="module-"+E,I=e(this),R=e(T.context),P=I.find(A.close),F=this,N=I.data(L),M=!1,q="",z="";S={initialize:function(){S.cache={},S.verbose("Initializing dimmer",R),S.create.id(),S.create.dimmer(),T.allowMultiple&&S.create.innerDimmer(),T.centered||I.addClass("top aligned"),S.refreshModals(),S.bind.events(),T.observeChanges&&S.observeChanges(),S.instantiate()},instantiate:function(){S.verbose("Storing instance of modal"),N=S,I.data(L,N)},create:{dimmer:function(){var t={debug:T.debug,dimmerName:"modals"},n=e.extend(!0,t,T.dimmerSettings);e.fn.dimmer!==i?(S.debug("Creating dimmer"),y=R.dimmer(n),T.detachable?(S.verbose("Modal is detachable, moving content into dimmer"),y.dimmer("add content",I)):S.set.undetached(),j=y.dimmer("get dimmer")):S.error(O.dimmer)},id:function(){k=(Math.random().toString(16)+"000000000").substr(2,8),x="."+k,S.verbose("Creating unique id for element",k)},innerDimmer:function(){0==I.find(A.dimmer).length&&I.prepend('<div class="ui inverted dimmer"></div>')}},destroy:function(){C&&C.disconnect(),S.verbose("Destroying previous modal"),I.removeData(L).off(D),s.off(x),j.off(x),P.off(D),R.dimmer("destroy")},observeChanges:function(){"MutationObserver"in t&&((C=new MutationObserver((function(e){S.debug("DOM tree modified, refreshing"),S.refresh()}))).observe(F,{childList:!0,subtree:!0}),S.debug("Setting up mutation observer",C))},refresh:function(){S.remove.scrolling(),S.cacheSizes(),S.can.useFlex()||S.set.modalOffset(),S.set.screenHeight(),S.set.type()},refreshModals:function(){v=I.siblings(A.modal),a=v.add(I)},attachEvents:function(t,n){var i=e(t);n=e.isFunction(S[n])?S[n]:S.toggle,i.length>0?(S.debug("Attaching modal events to element",t,n),i.off(D).on("click"+D,n)):S.error(O.notFound,t)},bind:{events:function(){S.verbose("Attaching events"),I.on("click"+D,A.close,S.event.close).on("click"+D,A.approve,S.event.approve).on("click"+D,A.deny,S.event.deny),s.on("resize"+x,S.event.resize)},scrollLock:function(){y.get(0).addEventListener("touchmove",S.event.preventScroll,{passive:!1})}},unbind:{scrollLock:function(){y.get(0).removeEventListener("touchmove",S.event.preventScroll,{passive:!1})}},get:{id:function(){return(Math.random().toString(16)+"000000000").substr(2,8)}},event:{approve:function(){M||!1===T.onApprove.call(F,e(this))?S.verbose("Approve callback returned false cancelling hide"):(M=!0,S.hide((function(){M=!1})))},preventScroll:function(e){-1!==e.target.className.indexOf("dimmer")&&e.preventDefault()},deny:function(){M||!1===T.onDeny.call(F,e(this))?S.verbose("Deny callback returned false cancelling hide"):(M=!0,S.hide((function(){M=!1})))},close:function(){S.hide()},mousedown:function(n){var i=e(n.target),o=S.is.rtl();(_=i.closest(A.modal).length>0)&&S.verbose("Mouse down event registered inside the modal"),(w=S.is.scrolling()&&(!o&&e(t).outerWidth()-T.scrollbarWidth<=n.clientX||o&&T.scrollbarWidth>=n.clientX))&&S.verbose("Mouse down event registered inside the scrollbar")},mouseup:function(t){if(T.closable)if(_)S.debug("Dimmer clicked but mouse down was initially registered inside the modal");else if(w)S.debug("Dimmer clicked but mouse down was initially registered inside the scrollbar");else{var i=e(t.target).closest(A.modal).length>0,o=e.contains(n.documentElement,t.target);if(!i&&o&&S.is.active()&&I.hasClass($.front)){if(S.debug("Dimmer clicked, hiding all modals"),T.allowMultiple){if(!S.hideAll())return}else if(!S.hide())return;S.remove.clickaway()}}else S.verbose("Dimmer clicked but closable setting is disabled")},debounce:function(e,t){clearTimeout(S.timer),S.timer=setTimeout(e,t)},keyboard:function(e){27==e.which&&(T.closable?(S.debug("Escape key pressed hiding modal"),I.hasClass($.front)&&S.hide()):S.debug("Escape key pressed, but closable is set to false"),e.preventDefault())},resize:function(){y.dimmer("is active")&&(S.is.animating()||S.is.active())&&g(S.refresh)}},toggle:function(){S.is.active()||S.is.animating()?S.hide():S.show()},show:function(t){t=e.isFunction(t)?t:function(){},S.refreshModals(),S.set.dimmerSettings(),S.set.dimmerStyles(),S.showModal(t)},hide:function(t){return t=e.isFunction(t)?t:function(){},S.refreshModals(),S.hideModal(t)},showModal:function(t){t=e.isFunction(t)?t:function(){},S.is.animating()||!S.is.active()?(S.showDimmer(),S.cacheSizes(),S.set.bodyMargin(),S.can.useFlex()?S.remove.legacy():(S.set.legacy(),S.set.modalOffset(),S.debug("Using non-flex legacy modal positioning.")),S.set.screenHeight(),S.set.type(),S.set.clickaway(),!T.allowMultiple&&S.others.active()?S.hideOthers(S.showModal):(M=!1,T.allowMultiple&&(S.others.active()&&v.filter("."+$.active).find(A.dimmer).addClass("active"),T.detachable&&I.detach().appendTo(j)),T.onShow.call(F),T.transition&&e.fn.transition!==i&&I.transition("is supported")?(S.debug("Showing modal with css animations"),I.transition({debug:T.debug,animation:T.transition+" in",queue:T.queue,duration:T.duration,useFailSafe:!0,onComplete:function(){T.onVisible.apply(F),T.keyboardShortcuts&&S.add.keyboardShortcuts(),S.save.focus(),S.set.active(),T.autofocus&&S.set.autofocus(),t()}})):S.error(O.noTransition))):S.debug("Modal is already visible")},hideModal:function(t,n,o){var r=v.filter("."+$.active).last();if(t=e.isFunction(t)?t:function(){},S.debug("Hiding modal"),!1===T.onHide.call(F,e(this)))return S.verbose("Hide callback returned false cancelling hide"),M=!1,!1;(S.is.animating()||S.is.active())&&(T.transition&&e.fn.transition!==i&&I.transition("is supported")?(S.remove.active(),I.transition({debug:T.debug,animation:T.transition+" out",queue:T.queue,duration:T.duration,useFailSafe:!0,onStart:function(){S.others.active()||S.others.animating()||n||S.hideDimmer(),T.keyboardShortcuts&&!S.others.active()&&S.remove.keyboardShortcuts()},onComplete:function(){S.unbind.scrollLock(),T.allowMultiple&&(r.addClass($.front),I.removeClass($.front),o?a.find(A.dimmer).removeClass("active"):r.find(A.dimmer).removeClass("active")),T.onHidden.call(F),S.remove.dimmerStyles(),S.restore.focus(),t()}})):S.error(O.noTransition))},showDimmer:function(){y.dimmer("is animating")||!y.dimmer("is active")?(S.save.bodyMargin(),S.debug("Showing dimmer"),y.dimmer("show")):S.debug("Dimmer already visible")},hideDimmer:function(){y.dimmer("is animating")||y.dimmer("is active")?(S.unbind.scrollLock(),y.dimmer("hide",(function(){S.restore.bodyMargin(),S.remove.clickaway(),S.remove.screenHeight()}))):S.debug("Dimmer is not visible cannot hide")},hideAll:function(t){var n=a.filter("."+$.active+", ."+$.animating);if(t=e.isFunction(t)?t:function(){},n.length>0){S.debug("Hiding all visible modals");var i=!0;return e(n.get().reverse()).each((function(n,o){i&&(i=e(o).modal("hide modal",t,!1,!0))})),i&&S.hideDimmer(),i}},hideOthers:function(t){var n=v.filter("."+$.active+", ."+$.animating);t=e.isFunction(t)?t:function(){},n.length>0&&(S.debug("Hiding other modals",v),n.modal("hide modal",t,!0))},others:{active:function(){return v.filter("."+$.active).length>0},animating:function(){return v.filter("."+$.animating).length>0}},add:{keyboardShortcuts:function(){S.verbose("Adding keyboard shortcuts"),l.on("keyup"+D,S.event.keyboard)}},save:{focus:function(){e(n.activeElement).closest(I).length>0||(b=e(n.activeElement).blur())},bodyMargin:function(){q=c.css("margin-"+(S.can.leftBodyScrollbar()?"left":"right"));var e=parseInt(q.replace(/[^\d.]/g,"")),i=t.innerWidth-n.documentElement.clientWidth;z=e+i}},restore:{focus:function(){b&&b.length>0&&T.restoreFocus&&b.focus()},bodyMargin:function(){var e=S.can.leftBodyScrollbar()?"left":"right";c.css("margin-"+e,q),c.find(A.bodyFixed.replace("right",e)).css("padding-"+e,q)}},remove:{active:function(){I.removeClass($.active)},legacy:function(){I.removeClass($.legacy)},clickaway:function(){T.detachable||I.off("mousedown"+x),j.off("mousedown"+x),j.off("mouseup"+x)},dimmerStyles:function(){j.removeClass($.inverted),y.removeClass($.blurring)},bodyStyle:function(){""===c.attr("style")&&(S.verbose("Removing style attribute"),c.removeAttr("style"))},screenHeight:function(){S.debug("Removing page height"),c.css("height","")},keyboardShortcuts:function(){S.verbose("Removing keyboard shortcuts"),l.off("keyup"+D)},scrolling:function(){y.removeClass($.scrolling),I.removeClass($.scrolling)}},cacheSizes:function(){I.addClass($.loading);var o=I.prop("scrollHeight"),r=I.outerWidth(),a=I.outerHeight();S.cache.pageHeight!==i&&0===a||(e.extend(S.cache,{pageHeight:e(n).outerHeight(),width:r,height:a+T.offset,scrollHeight:o+T.offset,contextHeight:"body"==T.context?e(t).height():y.height()}),S.cache.topOffset=-S.cache.height/2),I.removeClass($.loading),S.debug("Caching modal and container sizes",S.cache)},can:{leftBodyScrollbar:function(){return S.cache.leftBodyScrollbar===i&&(S.cache.leftBodyScrollbar=S.is.rtl()&&(S.is.iframe&&!S.is.firefox()||S.is.safari()||S.is.edge()||S.is.ie())),S.cache.leftBodyScrollbar},useFlex:function(){return"auto"===T.useFlex?T.detachable&&!S.is.ie():(T.useFlex&&S.is.ie()?S.debug("useFlex true is not supported in IE"):T.useFlex&&!T.detachable&&S.debug("useFlex true in combination with detachable false is not supported"),T.useFlex)},fit:function(){var e=S.cache.contextHeight,t=S.cache.contextHeight/2,n=S.cache.topOffset,i=S.cache.scrollHeight,o=S.cache.height,r=T.padding;return i>o?t+n+i+r<e:o+2*r<e}},is:{active:function(){return I.hasClass($.active)},ie:function(){if(S.cache.isIE===i){var e=!t.ActiveXObject&&"ActiveXObject"in t,n="ActiveXObject"in t;S.cache.isIE=e||n}return S.cache.isIE},animating:function(){return I.transition("is supported")?I.transition("is animating"):I.is(":visible")},scrolling:function(){return y.hasClass($.scrolling)},modernBrowser:function(){return!(t.ActiveXObject||"ActiveXObject"in t)},rtl:function(){return S.cache.isRTL===i&&(S.cache.isRTL="rtl"===c.attr("dir")||"rtl"===c.css("direction")),S.cache.isRTL},safari:function(){return S.cache.isSafari===i&&(S.cache.isSafari=/constructor/i.test(t.HTMLElement)||!!t.ApplePaySession),S.cache.isSafari},edge:function(){return S.cache.isEdge===i&&(S.cache.isEdge=!!t.setImmediate&&!S.is.ie()),S.cache.isEdge},firefox:function(){return S.cache.isFirefox===i&&(S.cache.isFirefox=!!t.InstallTrigger),S.cache.isFirefox},iframe:function(){return!(self===top)}},set:{autofocus:function(){var t=I.find("[tabindex], :input").filter(":visible").filter((function(){return 0===e(this).closest(".disabled").length})),n=t.filter("[autofocus]"),i=n.length>0?n.first():t.first();i.length>0&&i.focus()},bodyMargin:function(){var e=S.can.leftBodyScrollbar()?"left":"right";(T.detachable||S.can.fit())&&c.css("margin-"+e,z+"px"),c.find(A.bodyFixed.replace("right",e)).css("padding-"+e,z+"px")},clickaway:function(){T.detachable||I.on("mousedown"+x,S.event.mousedown),j.on("mousedown"+x,S.event.mousedown),j.on("mouseup"+x,S.event.mouseup)},dimmerSettings:function(){if(e.fn.dimmer!==i){var t={debug:T.debug,dimmerName:"modals",closable:"auto",useFlex:S.can.useFlex(),duration:{show:T.duration,hide:T.duration}},n=e.extend(!0,t,T.dimmerSettings);T.inverted&&(n.variation=n.variation!==i?n.variation+" inverted":"inverted"),R.dimmer("setting",n)}else S.error(O.dimmer)},dimmerStyles:function(){T.inverted?j.addClass($.inverted):j.removeClass($.inverted),T.blurring?y.addClass($.blurring):y.removeClass($.blurring)},modalOffset:function(){if(T.detachable)I.css({marginTop:!I.hasClass("aligned")&&S.can.fit()?-S.cache.height/2:T.padding/2,marginLeft:-S.cache.width/2});else{var t=S.can.fit();I.css({top:!I.hasClass("aligned")&&t?e(n).scrollTop()+(S.cache.contextHeight-S.cache.height)/2:!t||I.hasClass("top")?e(n).scrollTop()+T.padding:e(n).scrollTop()+(S.cache.contextHeight-S.cache.height-T.padding),marginLeft:-S.cache.width/2})}S.verbose("Setting modal offset for legacy mode")},screenHeight:function(){S.can.fit()?c.css("height",""):I.hasClass("bottom")||(S.debug("Modal is taller than page content, resizing page height"),c.css("height",S.cache.height+2*T.padding))},active:function(){I.addClass($.active+" "+$.front),v.filter("."+$.active).removeClass($.front)},scrolling:function(){y.addClass($.scrolling),I.addClass($.scrolling),S.unbind.scrollLock()},legacy:function(){I.addClass($.legacy)},type:function(){S.can.fit()?(S.verbose("Modal fits on screen"),S.others.active()||S.others.animating()||(S.remove.scrolling(),S.bind.scrollLock())):I.hasClass("bottom")?S.verbose("Bottom aligned modal not fitting on screen is unsupported for scrolling"):(S.verbose("Modal cannot fit on screen setting to scrolling"),S.set.scrolling())},undetached:function(){y.addClass($.undetached)}},setting:function(t,n){if(S.debug("Changing setting",t,n),e.isPlainObject(t))e.extend(!0,T,t);else{if(n===i)return T[t];e.isPlainObject(T[t])?e.extend(!0,T[t],n):T[t]=n}},internal:function(t,n){if(e.isPlainObject(t))e.extend(!0,S,t);else{if(n===i)return S[t];S[t]=n}},debug:function(){!T.silent&&T.debug&&(T.performance?S.performance.log(arguments):(S.debug=Function.prototype.bind.call(console.info,console,T.name+":"),S.debug.apply(console,arguments)))},verbose:function(){!T.silent&&T.verbose&&T.debug&&(T.performance?S.performance.log(arguments):(S.verbose=Function.prototype.bind.call(console.info,console,T.name+":"),S.verbose.apply(console,arguments)))},error:function(){T.silent||(S.error=Function.prototype.bind.call(console.error,console,T.name+":"),S.error.apply(console,arguments))},performance:{log:function(e){var t,n;T.performance&&(n=(t=(new Date).getTime())-(d||t),d=t,f.push({Name:e[0],Arguments:[].slice.call(e,1)||"",Element:F,"Execution Time":n})),clearTimeout(S.performance.timer),S.performance.timer=setTimeout(S.performance.display,500)},display:function(){var t=T.name+":",n=0;d=!1,clearTimeout(S.performance.timer),e.each(f,(function(e,t){n+=t["Execution Time"]})),t+=" "+n+"ms",u&&(t+=" '"+u+"'"),(console.group!==i||console.table!==i)&&f.length>0&&(console.groupCollapsed(t),console.table?console.table(f):e.each(f,(function(e,t){console.log(t.Name+": "+t["Execution Time"]+"ms")})),console.groupEnd()),f=[]}},invoke:function(t,n,o){var a,s,l,c=N;return n=n||h,o=F||o,"string"==typeof t&&c!==i&&(t=t.split(/[\. ]/),a=t.length-1,e.each(t,(function(n,o){var r=n!=a?o+t[n+1].charAt(0).toUpperCase()+t[n+1].slice(1):t;if(e.isPlainObject(c[r])&&n!=a)c=c[r];else{if(c[r]!==i)return s=c[r],!1;if(!e.isPlainObject(c[o])||n==a)return c[o]!==i&&(s=c[o],!1);c=c[o]}}))),e.isFunction(s)?l=s.apply(o,n):s!==i&&(l=s),Array.isArray(r)?r.push(l):r!==i?r=[r,l]:l!==i&&(r=l),s}},m?(N===i&&S.initialize(),S.invoke(p)):(N!==i&&N.invoke("destroy"),S.initialize())})),r!==i?r:this},e.fn.modal.settings={name:"Modal",namespace:"modal",useFlex:"auto",offset:0,silent:!1,debug:!1,verbose:!1,performance:!0,observeChanges:!1,allowMultiple:!1,detachable:!0,closable:!0,autofocus:!0,restoreFocus:!0,inverted:!1,blurring:!1,centered:!0,dimmerSettings:{closable:!1,useCSS:!0},keyboardShortcuts:!0,context:"body",queue:!1,duration:500,transition:"scale",padding:50,scrollbarWidth:10,onShow:function(){},onVisible:function(){},onHide:function(){return!0},onHidden:function(){},onApprove:function(){return!0},onDeny:function(){return!0},selector:{close:"> .close",approve:".actions .positive, .actions .approve, .actions .ok",deny:".actions .negative, .actions .deny, .actions .cancel",modal:".ui.modal",dimmer:"> .ui.dimmer",bodyFixed:"> .ui.fixed.menu, > .ui.right.toast-container, > .ui.right.sidebar"},error:{dimmer:"UI Dimmer, a required component is not included in this page",method:"The method you called is not defined.",notFound:"The element you specified could not be found"},className:{active:"active",animating:"animating",blurring:"blurring",inverted:"inverted",legacy:"legacy",loading:"loading",scrolling:"scrolling",undetached:"undetached",front:"front"}}}(jQuery,window,document),function(e,n,i,o){e.isFunction=e.isFunction||function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},n=void 0!==n&&n.Math==Math?n:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),e.fn.popup=function(t){var r,a=e(this),s=e(i),l=e(n),c=e("body"),u=a.selector||"",d="ontouchstart"in i.documentElement?"touchstart":"click",f=(new Date).getTime(),p=[],m=arguments[0],h="string"==typeof m,g=[].slice.call(arguments,1);return a.each((function(){var a,v,b,y,j,_,w=e.isPlainObject(t)?e.extend(!0,{},e.fn.popup.settings,t):e.extend({},e.fn.popup.settings),x=w.selector,k=w.className,C=w.error,S=w.metadata,T=w.namespace,A="."+w.namespace,$="module-"+T,E=e(this),O=e(w.context),D=e(w.scrollContext),L=e(w.boundary),I=w.target?e(w.target):E,R=0,P=!1,F=!1,N=this,M=E.data($);_={initialize:function(){_.debug("Initializing",E),_.createID(),_.bind.events(),!_.exists()&&w.preserve&&_.create(),w.observeChanges&&_.observeChanges(),_.instantiate()},instantiate:function(){_.verbose("Storing instance",_),M=_,E.data($,M)},observeChanges:function(){"MutationObserver"in n&&((b=new MutationObserver(_.event.documentChanged)).observe(i,{childList:!0,subtree:!0}),_.debug("Setting up mutation observer",b))},refresh:function(){w.popup?a=e(w.popup).eq(0):w.inline&&(a=I.nextAll(x.popup).eq(0),w.popup=a),w.popup?(a.addClass(k.loading),v=_.get.offsetParent(),a.removeClass(k.loading),w.movePopup&&_.has.popup()&&_.get.offsetParent(a)[0]!==v[0]&&(_.debug("Moving popup to the same offset parent as target"),a.detach().appendTo(v))):v=w.inline?_.get.offsetParent(I):_.has.popup()?_.get.offsetParent(a):c,v.is("html")&&v[0]!==c[0]&&(_.debug("Setting page as offset parent"),v=c),_.get.variation()&&_.set.variation()},reposition:function(){_.refresh(),_.set.position()},destroy:function(){_.debug("Destroying previous module"),b&&b.disconnect(),a&&!w.preserve&&_.removePopup(),clearTimeout(_.hideTimer),clearTimeout(_.showTimer),_.unbind.close(),_.unbind.events(),E.removeData($)},event:{start:function(t){var n=e.isPlainObject(w.delay)?w.delay.show:w.delay;clearTimeout(_.hideTimer),(!F||F&&w.addTouchEvents)&&(_.showTimer=setTimeout(_.show,n))},end:function(){var t=e.isPlainObject(w.delay)?w.delay.hide:w.delay;clearTimeout(_.showTimer),_.hideTimer=setTimeout(_.hide,t)},touchstart:function(e){F=!0,w.addTouchEvents&&_.show()},resize:function(){_.is.visible()&&_.set.position()},documentChanged:function(t){[].forEach.call(t,(function(t){t.removedNodes&&[].forEach.call(t.removedNodes,(function(t){(t==N||e(t).find(N).length>0)&&(_.debug("Element removed from DOM, tearing down events"),_.destroy())}))}))},hideGracefully:function(t){var n=e(t.target),o=e.contains(i.documentElement,t.target),r=n.closest(x.popup).length>0;t&&!r&&o?(_.debug("Click occurred outside popup hiding popup"),_.hide()):_.debug("Click was inside popup, keeping popup open")}},create:function(){var t=_.get.html(),n=_.get.title(),i=_.get.content();t||i||n?(_.debug("Creating pop-up html"),t||(t=w.templates.popup({title:n,content:i})),a=e("<div/>").addClass(k.popup).data(S.activator,E).html(t),w.inline?(_.verbose("Inserting popup element inline",a),a.insertAfter(E)):(_.verbose("Appending popup element to body",a),a.appendTo(O)),_.refresh(),_.set.variation(),w.hoverable&&_.bind.popup(),w.onCreate.call(a,N)):w.popup?(e(w.popup).data(S.activator,E),_.verbose("Used popup specified in settings"),_.refresh(),w.hoverable&&_.bind.popup()):0!==I.next(x.popup).length?(_.verbose("Pre-existing popup found"),w.inline=!0,w.popup=I.next(x.popup).data(S.activator,E),_.refresh(),w.hoverable&&_.bind.popup()):_.debug("No content specified skipping display",N)},createID:function(){j=(Math.random().toString(16)+"000000000").substr(2,8),y="."+j,_.verbose("Creating unique id for element",j)},toggle:function(){_.debug("Toggling pop-up"),_.is.hidden()?(_.debug("Popup is hidden, showing pop-up"),_.unbind.close(),_.show()):(_.debug("Popup is visible, hiding pop-up"),_.hide())},show:function(e){if(e=e||function(){},_.debug("Showing pop-up",w.transition),_.is.hidden()&&(!_.is.active()||!_.is.dropdown())){if(_.exists()||_.create(),!1===w.onShow.call(a,N))return void _.debug("onShow callback returned false, cancelling popup animation");w.preserve||w.popup||_.refresh(),a&&_.set.position()&&(_.save.conditions(),w.exclusive&&_.hideAll(),_.animate.show(e))}},hide:function(e){if(e=e||function(){},_.is.visible()||_.is.animating()){if(!1===w.onHide.call(a,N))return void _.debug("onHide callback returned false, cancelling popup animation");_.remove.visible(),_.unbind.close(),_.restore.conditions(),_.animate.hide(e)}},hideAll:function(){e(x.popup).filter("."+k.popupVisible).each((function(){e(this).data(S.activator).popup("hide")}))},exists:function(){return!!a&&(w.inline||w.popup?_.has.popup():a.closest(O).length>=1)},removePopup:function(){_.has.popup()&&!w.popup&&(_.debug("Removing popup",a),a.remove(),a=o,w.onRemove.call(a,N))},save:{conditions:function(){_.cache={title:E.attr("title")},_.cache.title&&E.removeAttr("title"),_.verbose("Saving original attributes",_.cache.title)}},restore:{conditions:function(){return _.cache&&_.cache.title&&(E.attr("title",_.cache.title),_.verbose("Restoring original attributes",_.cache.title)),!0}},supports:{svg:function(){return"undefined"!=typeof SVGGraphicsElement}},animate:{show:function(t){t=e.isFunction(t)?t:function(){},w.transition&&e.fn.transition!==o&&E.transition("is supported")?(_.set.visible(),a.transition({animation:w.transition+" in",queue:!1,debug:w.debug,verbose:w.verbose,duration:w.duration,onComplete:function(){_.bind.close(),t.call(a,N),w.onVisible.call(a,N)}})):_.error(C.noTransition)},hide:function(t){t=e.isFunction(t)?t:function(){},_.debug("Hiding pop-up"),w.transition&&e.fn.transition!==o&&E.transition("is supported")?a.transition({animation:w.transition+" out",queue:!1,duration:w.duration,debug:w.debug,verbose:w.verbose,onComplete:function(){_.reset(),t.call(a,N),w.onHidden.call(a,N)}}):_.error(C.noTransition)}},change:{content:function(e){a.html(e)}},get:{html:function(){return E.removeData(S.html),E.data(S.html)||w.html},title:function(){return E.removeData(S.title),E.data(S.title)||w.title},content:function(){return E.removeData(S.content),E.data(S.content)||w.content||E.attr("title")},variation:function(){return E.removeData(S.variation),E.data(S.variation)||w.variation},popup:function(){return a},popupOffset:function(){return a.offset()},calculations:function(){var e,t=_.get.offsetParent(a),i=I[0],o=L[0]==n,r=I.offset(),s=w.inline||w.popup&&w.movePopup?I.offsetParent().offset():{top:0,left:0},c=o?{top:0,left:0}:L.offset(),u={},d=o?{top:l.scrollTop(),left:l.scrollLeft()}:{top:0,left:0};if(u={target:{element:I[0],width:I.outerWidth(),height:I.outerHeight(),top:r.top-s.top,left:r.left-s.left,margin:{}},popup:{width:a.outerWidth(),height:a.outerHeight()},parent:{width:v.outerWidth(),height:v.outerHeight()},screen:{top:c.top,left:c.left,scroll:{top:d.top,left:d.left},width:L.width(),height:L.height()}},t.get(0)!==v.get(0)){var f=t.offset();u.target.top-=f.top,u.target.left-=f.left,u.parent.width=t.outerWidth(),u.parent.height=t.outerHeight()}return w.setFluidWidth&&_.is.fluid()&&(u.container={width:a.parent().outerWidth()},u.popup.width=u.container.width),u.target.margin.top=w.inline?parseInt(n.getComputedStyle(i).getPropertyValue("margin-top"),10):0,u.target.margin.left=w.inline?_.is.rtl()?parseInt(n.getComputedStyle(i).getPropertyValue("margin-right"),10):parseInt(n.getComputedStyle(i).getPropertyValue("margin-left"),10):0,e=u.screen,u.boundary={top:e.top+e.scroll.top,bottom:e.top+e.scroll.top+e.height,left:e.left+e.scroll.left,right:e.left+e.scroll.left+e.width},u},id:function(){return j},startEvent:function(){return"hover"==w.on?"mouseenter":"focus"==w.on&&"focus"},scrollEvent:function(){return"scroll"},endEvent:function(){return"hover"==w.on?"mouseleave":"focus"==w.on&&"blur"},distanceFromBoundary:function(e,t){var n,i,o={};return n=(t=t||_.get.calculations()).popup,i=t.boundary,e&&(o={top:e.top-i.top,left:e.left-i.left,right:i.right-(e.left+n.width),bottom:i.bottom-(e.top+n.height)},_.verbose("Distance from boundaries determined",e,o)),o},offsetParent:function(t){var n=(t!==o?t[0]:I[0]).parentNode,i=e(n);if(n)for(var r="none"===i.css("transform"),a="static"===i.css("position"),s=i.is("body");n&&!s&&a&&r;)n=n.parentNode,r="none"===(i=e(n)).css("transform"),a="static"===i.css("position"),s=i.is("body");return i&&i.length>0?i:e()},positions:function(){return{"top left":!1,"top center":!1,"top right":!1,"bottom left":!1,"bottom center":!1,"bottom right":!1,"left center":!1,"right center":!1}},nextPosition:function(e){var t=e.split(" "),n=t[0],i=t[1],o="top"==n||"bottom"==n,r=!1,a=!1,s=!1;return P||(_.verbose("All available positions available"),P=_.get.positions()),_.debug("Recording last position tried",e),P[e]=!0,"opposite"===w.prefer&&(s=[{top:"bottom",bottom:"top",left:"right",right:"left"}[n],i],s=s.join(" "),r=!0===P[s],_.debug("Trying opposite strategy",s)),"adjacent"===w.prefer&&o&&(s=[n,{left:"center",center:"right",right:"left"}[i]],s=s.join(" "),a=!0===P[s],_.debug("Trying adjacent strategy",s)),(a||r)&&(_.debug("Using backup position",s),s={"top left":"top center","top center":"top right","top right":"right center","right center":"bottom right","bottom right":"bottom center","bottom center":"bottom left","bottom left":"left center","left center":"top left"}[e]),s}},set:{position:function(e,t){if(0!==I.length&&0!==a.length){var n,i,r,s,l,c,u,d;if(t=t||_.get.calculations(),e=e||E.data(S.position)||w.position,n=E.data(S.offset)||w.offset,i=w.distanceAway,r=t.target,s=t.popup,l=t.parent,_.should.centerArrow(t)&&(_.verbose("Adjusting offset to center arrow on small target element"),"top left"!=e&&"bottom left"!=e||(n+=r.width/2,n-=w.arrowPixelsFromEdge),"top right"!=e&&"bottom right"!=e||(n-=r.width/2,n+=w.arrowPixelsFromEdge)),0===r.width&&0===r.height&&!_.is.svg(r.element))return _.debug("Popup target is hidden, no action taken"),!1;switch(w.inline&&(_.debug("Adding margin to calculation",r.margin),"left center"==e||"right center"==e?(n+=r.margin.top,i+=-r.margin.left):"top left"==e||"top center"==e||"top right"==e?(n+=r.margin.left,i-=r.margin.top):(n+=r.margin.left,i+=r.margin.top)),_.debug("Determining popup position from calculations",e,t),_.is.rtl()&&(e=e.replace(/left|right/g,(function(e){return"left"==e?"right":"left"})),_.debug("RTL: Popup position updated",e)),R==w.maxSearchDepth&&"string"==typeof w.lastResort&&(e=w.lastResort),e){case"top left":c={top:"auto",bottom:l.height-r.top+i,left:r.left+n,right:"auto"};break;case"top center":c={bottom:l.height-r.top+i,left:r.left+r.width/2-s.width/2+n,top:"auto",right:"auto"};break;case"top right":c={bottom:l.height-r.top+i,right:l.width-r.left-r.width-n,top:"auto",left:"auto"};break;case"left center":c={top:r.top+r.height/2-s.height/2+n,right:l.width-r.left+i,left:"auto",bottom:"auto"};break;case"right center":c={top:r.top+r.height/2-s.height/2+n,left:r.left+r.width+i,bottom:"auto",right:"auto"};break;case"bottom left":c={top:r.top+r.height+i,left:r.left+n,bottom:"auto",right:"auto"};break;case"bottom center":c={top:r.top+r.height+i,left:r.left+r.width/2-s.width/2+n,bottom:"auto",right:"auto"};break;case"bottom right":c={top:r.top+r.height+i,right:l.width-r.left-r.width-n,left:"auto",bottom:"auto"}}if(c===o&&_.error(C.invalidPosition,e),_.debug("Calculated popup positioning values",c),a.css(c).removeClass(k.position).addClass(e).addClass(k.loading),u=_.get.popupOffset(),d=_.get.distanceFromBoundary(u,t),!w.forcePosition&&_.is.offstage(d,e)){if(_.debug("Position is outside viewport",e),R<w.maxSearchDepth)return R++,e=_.get.nextPosition(e),_.debug("Trying new position",e),!!a&&_.set.position(e,t);if(!w.lastResort)return _.debug("Popup could not find a position to display",a),_.error(C.cannotPlace,N),_.remove.attempts(),_.remove.loading(),_.reset(),w.onUnplaceable.call(a,N),!1;_.debug("No position found, showing with last position")}return _.debug("Position is on stage",e),_.remove.attempts(),_.remove.loading(),w.setFluidWidth&&_.is.fluid()&&_.set.fluidWidth(t),!0}_.error(C.notFound)},fluidWidth:function(e){e=e||_.get.calculations(),_.debug("Automatically setting element width to parent width",e.parent.width),a.css("width",e.container.width)},variation:function(e){(e=e||_.get.variation())&&_.has.popup()&&(_.verbose("Adding variation to popup",e),a.addClass(e))},visible:function(){E.addClass(k.visible)}},remove:{loading:function(){a.removeClass(k.loading)},variation:function(e){(e=e||_.get.variation())&&(_.verbose("Removing variation",e),a.removeClass(e))},visible:function(){E.removeClass(k.visible)},attempts:function(){_.verbose("Resetting all searched positions"),R=0,P=!1}},bind:{events:function(){_.debug("Binding popup events to module"),"click"==w.on&&E.on(d+A,_.toggle),"hover"==w.on&&E.on("touchstart"+A,_.event.touchstart),_.get.startEvent()&&E.on(_.get.startEvent()+A,_.event.start).on(_.get.endEvent()+A,_.event.end),w.target&&_.debug("Target set to element",I),l.on("resize"+y,_.event.resize)},popup:function(){_.verbose("Allowing hover events on popup to prevent closing"),a&&_.has.popup()&&a.on("mouseenter"+A,_.event.start).on("mouseleave"+A,_.event.end)},close:function(){(!0===w.hideOnScroll||"auto"==w.hideOnScroll&&"click"!=w.on)&&_.bind.closeOnScroll(),_.is.closable()?_.bind.clickaway():"hover"==w.on&&F&&_.bind.touchClose()},closeOnScroll:function(){_.verbose("Binding scroll close event to document"),D.one(_.get.scrollEvent()+y,_.event.hideGracefully)},touchClose:function(){_.verbose("Binding popup touchclose event to document"),s.on("touchstart"+y,(function(e){_.verbose("Touched away from popup"),_.event.hideGracefully.call(N,e)}))},clickaway:function(){_.verbose("Binding popup close event to document"),s.on(d+y,(function(e){_.verbose("Clicked away from popup"),_.event.hideGracefully.call(N,e)}))}},unbind:{events:function(){l.off(y),E.off(A)},close:function(){s.off(y),D.off(y)}},has:{popup:function(){return a&&a.length>0}},should:{centerArrow:function(e){return!_.is.basic()&&e.target.width<=2*w.arrowPixelsFromEdge}},is:{closable:function(){return"auto"==w.closable?"hover"!=w.on:w.closable},offstage:function(t,n){var i=[];return e.each(t,(function(e,t){t<-w.jitter&&(_.debug("Position exceeds allowable distance from edge",e,t,n),i.push(e))})),i.length>0},svg:function(e){return _.supports.svg()&&e instanceof SVGGraphicsElement},basic:function(){return E.hasClass(k.basic)},active:function(){return E.hasClass(k.active)},animating:function(){return a!==o&&a.hasClass(k.animating)},fluid:function(){return a!==o&&a.hasClass(k.fluid)},visible:function(){return a!==o&&a.hasClass(k.popupVisible)},dropdown:function(){return E.hasClass(k.dropdown)},hidden:function(){return!_.is.visible()},rtl:function(){return"rtl"===E.attr("dir")||"rtl"===E.css("direction")}},reset:function(){_.remove.visible(),w.preserve?e.fn.transition!==o&&a.transition("remove transition"):_.removePopup()},setting:function(t,n){if(e.isPlainObject(t))e.extend(!0,w,t);else{if(n===o)return w[t];w[t]=n}},internal:function(t,n){if(e.isPlainObject(t))e.extend(!0,_,t);else{if(n===o)return _[t];_[t]=n}},debug:function(){!w.silent&&w.debug&&(w.performance?_.performance.log(arguments):(_.debug=Function.prototype.bind.call(console.info,console,w.name+":"),_.debug.apply(console,arguments)))},verbose:function(){!w.silent&&w.verbose&&w.debug&&(w.performance?_.performance.log(arguments):(_.verbose=Function.prototype.bind.call(console.info,console,w.name+":"),_.verbose.apply(console,arguments)))},error:function(){w.silent||(_.error=Function.prototype.bind.call(console.error,console,w.name+":"),_.error.apply(console,arguments))},performance:{log:function(e){var t,n;w.performance&&(n=(t=(new Date).getTime())-(f||t),f=t,p.push({Name:e[0],Arguments:[].slice.call(e,1)||"",Element:N,"Execution Time":n})),clearTimeout(_.performance.timer),_.performance.timer=setTimeout(_.performance.display,500)},display:function(){var t=w.name+":",n=0;f=!1,clearTimeout(_.performance.timer),e.each(p,(function(e,t){n+=t["Execution Time"]})),t+=" "+n+"ms",u&&(t+=" '"+u+"'"),(console.group!==o||console.table!==o)&&p.length>0&&(console.groupCollapsed(t),console.table?console.table(p):e.each(p,(function(e,t){console.log(t.Name+": "+t["Execution Time"]+"ms")})),console.groupEnd()),p=[]}},invoke:function(t,n,i){var a,s,l,c=M;return n=n||g,i=N||i,"string"==typeof t&&c!==o&&(t=t.split(/[\. ]/),a=t.length-1,e.each(t,(function(n,i){var r=n!=a?i+t[n+1].charAt(0).toUpperCase()+t[n+1].slice(1):t;if(e.isPlainObject(c[r])&&n!=a)c=c[r];else{if(c[r]!==o)return s=c[r],!1;if(!e.isPlainObject(c[i])||n==a)return c[i]!==o&&(s=c[i],!1);c=c[i]}}))),e.isFunction(s)?l=s.apply(i,n):s!==o&&(l=s),Array.isArray(r)?r.push(l):r!==o?r=[r,l]:l!==o&&(r=l),s}},h?(M===o&&_.initialize(),_.invoke(m)):(M!==o&&M.invoke("destroy"),_.initialize())})),r!==o?r:this},e.fn.popup.settings={name:"Popup",silent:!1,debug:!1,verbose:!1,performance:!0,namespace:"popup",observeChanges:!0,onCreate:function(){},onRemove:function(){},onShow:function(){},onVisible:function(){},onHide:function(){},onUnplaceable:function(){},onHidden:function(){},on:"hover",boundary:n,addTouchEvents:!0,position:"top left",forcePosition:!1,variation:"",movePopup:!0,target:!1,popup:!1,inline:!1,preserve:!1,hoverable:!1,content:!1,html:!1,title:!1,closable:!0,hideOnScroll:"auto",exclusive:!1,context:"body",scrollContext:n,prefer:"opposite",lastResort:!1,arrowPixelsFromEdge:20,delay:{show:50,hide:70},setFluidWidth:!0,duration:200,transition:"scale",distanceAway:0,jitter:2,offset:0,maxSearchDepth:15,error:{invalidPosition:"The position you specified is not a valid position",cannotPlace:"Popup does not fit within the boundaries of the viewport",method:"The method you called is not defined.",noTransition:"This module requires ui transitions <https://github.com/Semantic-Org/UI-Transition>",notFound:"The target or popup you specified does not exist on the page"},metadata:{activator:"activator",content:"content",html:"html",offset:"offset",position:"position",title:"title",variation:"variation"},className:{active:"active",basic:"basic",animating:"animating",dropdown:"dropdown",fluid:"fluid",loading:"loading",popup:"ui popup",position:"top left center bottom right",visible:"visible",popupVisible:"visible"},selector:{popup:".ui.popup"},templates:{escape:function(e){var t={"<":"<",">":">",'"':""","'":"'","`":"`"};return/[&<>"'`]/.test(e)?(e=e.replace(/&(?![a-z0-9#]{1,6};)/,"&")).replace(/[<>"'`]/g,(function(e){return t[e]})):e},popup:function(n){var i="",r=e.fn.popup.settings.templates.escape;return t()(n)!==o&&(t()(n.title)!==o&&n.title&&(n.title=r(n.title),i+='<div class="header">'+n.title+"</div>"),t()(n.content)!==o&&n.content&&(n.content=r(n.content),i+='<div class="content">'+n.content+"</div>")),i}}}}(jQuery,window,document),function(e,t,n,i){e.isFunction=e.isFunction||function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},t=void 0!==t&&t.Math==Math?t:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),e.fn.progress=function(t){var o,r=e(this),a=r.selector||"",s=(new Date).getTime(),l=[],c=arguments[0],u="string"==typeof c,d=[].slice.call(arguments,1);return r.each((function(){var r,f=e.isPlainObject(t)?e.extend(!0,{},e.fn.progress.settings,t):e.extend({},e.fn.progress.settings),p=f.className,m=f.metadata,h=f.namespace,g=f.selector,v=f.error,b="."+h,y="module-"+h,j=e(this),_=e(this).find(g.bar),w=e(this).find(g.progress),x=e(this).find(g.label),k=this,C=j.data(y),S=!1;r={helper:{sum:function(e){return Array.isArray(e)?e.reduce((function(e,t){return e+Number(t)}),0):0},derivePrecision:function(e,t){for(var n=0,i=1,o=e/t;n<10&&!((o*=i)>1);)i=Math.pow(10,n++);return i},forceArray:function(e){return Array.isArray(e)?e:isNaN(e)?"string"==typeof e?e.split(","):[]:[e]}},initialize:function(){r.set.duration(),r.set.transitionEvent(),r.debug(k),r.read.metadata(),r.read.settings(),r.instantiate()},instantiate:function(){r.verbose("Storing instance of progress",r),C=r,j.data(y,r)},destroy:function(){r.verbose("Destroying previous progress for",j),clearInterval(C.interval),r.remove.state(),j.removeData(y),C=i},reset:function(){r.remove.nextValue(),r.update.progress(0)},complete:function(e){(r.percent===i||r.percent<100)&&(r.remove.progressPoll(),!0!==e&&r.set.percent(100))},read:{metadata:function(){var e={percent:r.helper.forceArray(j.data(m.percent)),total:j.data(m.total),value:r.helper.forceArray(j.data(m.value))};e.total!==i&&(r.debug("Total value set from metadata",e.total),r.set.total(e.total)),e.value.length>0&&(r.debug("Current value set from metadata",e.value),r.set.value(e.value),r.set.progress(e.value)),e.percent.length>0&&(r.debug("Current percent value set from metadata",e.percent),r.set.percent(e.percent))},settings:function(){!1!==f.total&&(r.debug("Current total set in settings",f.total),r.set.total(f.total)),!1!==f.value&&(r.debug("Current value set in settings",f.value),r.set.value(f.value),r.set.progress(r.value)),!1!==f.percent&&(r.debug("Current percent set in settings",f.percent),r.set.percent(f.percent))}},bind:{transitionEnd:function(e){var t=r.get.transitionEnd();_.one(t+b,(function(t){clearTimeout(r.failSafeTimer),e.call(this,t)})),r.failSafeTimer=setTimeout((function(){_.triggerHandler(t)}),f.duration+f.failSafeDelay),r.verbose("Adding fail safe timer",r.timer)}},increment:function(e){var t,n;r.has.total()?(t=r.get.value(),e=e||1):(t=r.get.percent(),e=e||r.get.randomValue()),n=t+e,r.debug("Incrementing percentage by",t,n,e),n=r.get.normalizedValue(n),r.set.progress(n)},decrement:function(e){var t,n;r.get.total()?(n=(t=r.get.value())-(e=e||1),r.debug("Decrementing value by",e,t)):(n=(t=r.get.percent())-(e=e||r.get.randomValue()),r.debug("Decrementing percentage by",e,t)),n=r.get.normalizedValue(n),r.set.progress(n)},has:{progressPoll:function(){return r.progressPoll},total:function(){return!1!==r.get.total()}},get:{text:function(e,t){var n=t||0,i=r.get.value(n),o=r.get.total(),a=S?r.get.displayPercent(n):r.get.percent(n),s=!1!==o?Math.max(0,o-i):100-a;return e=(e=e||"").replace("{value}",i).replace("{total}",o||0).replace("{left}",s).replace("{percent}",a).replace("{bar}",f.text.bars[n]||""),r.verbose("Adding variables to progress bar text",e),e},normalizedValue:function(e){if(e<0)return r.debug("Value cannot decrement below 0"),0;if(r.has.total()){if(e>r.total)return r.debug("Value cannot increment above total",r.total),r.total}else if(e>100)return r.debug("Value cannot increment above 100 percent"),100;return e},updateInterval:function(){return"auto"==f.updateInterval?f.duration:f.updateInterval},randomValue:function(){return r.debug("Generating random increment percentage"),Math.floor(Math.random()*f.random.max+f.random.min)},numericValue:function(e){return"string"==typeof e?""!==e.replace(/[^\d.]/g,"")&&+e.replace(/[^\d.]/g,""):e},transitionEnd:function(){var e,t=n.createElement("element"),o={transition:"transitionend",OTransition:"oTransitionEnd",MozTransition:"transitionend",WebkitTransition:"webkitTransitionEnd"};for(e in o)if(t.style[e]!==i)return o[e]},displayPercent:function(t){var n=e(_[t]),i=n.width(),o=j.width(),a=i>parseInt(n.css("min-width"),10)?i/o*100:r.percent;return f.precision>0?Math.round(a*(10*f.precision))/(10*f.precision):Math.round(a)},percent:function(e){return r.percent&&r.percent[e||0]||0},value:function(e){return r.nextValue||r.value&&r.value[e||0]||0},total:function(){return r.total!==i&&r.total}},create:{progressPoll:function(){r.progressPoll=setTimeout((function(){r.update.toNextValue(),r.remove.progressPoll()}),r.get.updateInterval())}},is:{complete:function(){return r.is.success()||r.is.warning()||r.is.error()},success:function(){return j.hasClass(p.success)},warning:function(){return j.hasClass(p.warning)},error:function(){return j.hasClass(p.error)},active:function(){return j.hasClass(p.active)},visible:function(){return j.is(":visible")}},remove:{progressPoll:function(){r.verbose("Removing progress poll timer"),r.progressPoll&&(clearTimeout(r.progressPoll),delete r.progressPoll)},nextValue:function(){r.verbose("Removing progress value stored for next update"),delete r.nextValue},state:function(){r.verbose("Removing stored state"),delete r.total,delete r.percent,delete r.value},active:function(){r.verbose("Removing active state"),j.removeClass(p.active)},success:function(){r.verbose("Removing success state"),j.removeClass(p.success)},warning:function(){r.verbose("Removing warning state"),j.removeClass(p.warning)},error:function(){r.verbose("Removing error state"),j.removeClass(p.error)}},set:{barWidth:function(t){r.debug("set bar width with ",t),t=r.helper.forceArray(t);var n=-1,i=-1,o=r.helper.sum(t),a=_.length,s=a>1,l=t.map((function(t,r){var l=r===a-1&&0===o,c=e(_[r]);return 0===t&&s&&!l?c.css("display","none"):(s&&l&&c.css("background","transparent"),-1==n&&(n=r),i=r,c.css({display:"block",width:t+"%"})),parseFloat(t)}));t.forEach((function(t,o){e(_[o]).css({borderTopLeftRadius:o==n?"":0,borderBottomLeftRadius:o==n?"":0,borderTopRightRadius:o==i?"":0,borderBottomRightRadius:o==i?"":0})})),j.attr("data-percent",l)},duration:function(e){e="number"==typeof(e=e||f.duration)?e+"ms":e,r.verbose("Setting progress bar transition duration",e),_.css({"transition-duration":e})},percent:function(e){e=r.helper.forceArray(e).map((function(e){return"string"==typeof e?+e.replace("%",""):e}));var t=r.has.total(),n=r.helper.sum(e),i=e.length>1&&t,o=r.helper.sum(r.helper.forceArray(r.value));if(i&&o>r.total)r.error(v.sumExceedsTotal,o,r.total);else if(!i&&n>100)r.error(v.tooHigh,n);else if(n<0)r.error(v.tooLow,n);else{var a=f.precision>0?f.precision:i?r.helper.derivePrecision(Math.min.apply(null,r.value),r.total):0,s=e.map((function(e){return a>0?Math.round(e*(10*a))/(10*a):Math.round(e)}));r.percent=s,t&&(r.value=s.map((function(e){return a>0?Math.round(e/100*r.total*(10*a))/(10*a):Math.round(e/100*r.total*10)/10})),f.limitValues&&(r.value=r.value.map((function(e){return Math.max(0,Math.min(100,e))})))),r.set.barWidth(e),r.set.labelInterval(),r.set.labels()}f.onChange.call(k,e,r.value,r.total)},labelInterval:function(){clearInterval(r.interval),r.bind.transitionEnd((function(){r.verbose("Bar finished animating, removing continuous label updates"),clearInterval(r.interval),S=!1,r.set.labels()})),S=!0,r.interval=setInterval((function(){e.contains(n.documentElement,k)||(clearInterval(r.interval),S=!1),r.set.labels()}),f.framerate)},labels:function(){r.verbose("Setting both bar progress and outer label text"),r.set.barLabel(),r.set.state()},label:function(e){(e=e||"")&&(e=r.get.text(e),r.verbose("Setting label to text",e),x.text(e))},state:function(e){100===(e=e!==i?e:r.helper.sum(r.percent))?f.autoSuccess&&1===_.length&&!(r.is.warning()||r.is.error()||r.is.success())?(r.set.success(),r.debug("Automatically triggering success at 100%")):(r.verbose("Reached 100% removing active state"),r.remove.active(),r.remove.progressPoll()):e>0?(r.verbose("Adjusting active progress bar label",e),r.set.active()):(r.remove.active(),r.set.label(f.text.active))},barLabel:function(t){w.map((function(n,o){var a=e(o);t!==i?a.text(r.get.text(t,n)):"ratio"==f.label&&r.has.total()?(r.verbose("Adding ratio to bar label"),a.text(r.get.text(f.text.ratio,n))):"percent"==f.label&&(r.verbose("Adding percentage to bar label"),a.text(r.get.text(f.text.percent,n)))}))},active:function(e){e=e||f.text.active,r.debug("Setting active state"),f.showActivity&&!r.is.active()&&j.addClass(p.active),r.remove.warning(),r.remove.error(),r.remove.success(),(e=f.onLabelUpdate("active",e,r.value,r.total))&&r.set.label(e),r.bind.transitionEnd((function(){f.onActive.call(k,r.value,r.total)}))},success:function(e,t){e=e||f.text.success||f.text.active,r.debug("Setting success state"),j.addClass(p.success),r.remove.active(),r.remove.warning(),r.remove.error(),r.complete(t),f.text.success?(e=f.onLabelUpdate("success",e,r.value,r.total),r.set.label(e)):(e=f.onLabelUpdate("active",e,r.value,r.total),r.set.label(e)),r.bind.transitionEnd((function(){f.onSuccess.call(k,r.total)}))},warning:function(e,t){e=e||f.text.warning,r.debug("Setting warning state"),j.addClass(p.warning),r.remove.active(),r.remove.success(),r.remove.error(),r.complete(t),(e=f.onLabelUpdate("warning",e,r.value,r.total))&&r.set.label(e),r.bind.transitionEnd((function(){f.onWarning.call(k,r.value,r.total)}))},error:function(e,t){e=e||f.text.error,r.debug("Setting error state"),j.addClass(p.error),r.remove.active(),r.remove.success(),r.remove.warning(),r.complete(t),(e=f.onLabelUpdate("error",e,r.value,r.total))&&r.set.label(e),r.bind.transitionEnd((function(){f.onError.call(k,r.value,r.total)}))},transitionEvent:function(){r.get.transitionEnd()},total:function(e){r.total=e},value:function(e){r.value=r.helper.forceArray(e)},progress:function(e){r.has.progressPoll()?(r.debug("Updated within interval, setting next update to use new value",e),r.set.nextValue(e)):(r.debug("First update in progress update interval, immediately updating",e),r.update.progress(e),r.create.progressPoll())},nextValue:function(e){r.nextValue=e}},update:{toNextValue:function(){var e=r.nextValue;e&&(r.debug("Update interval complete using last updated value",e),r.update.progress(e),r.remove.nextValue())},progress:function(e){var t=r.has.total();t&&r.set.value(e);var n=r.helper.forceArray(e).map((function(e){var n;return!1===(e=r.get.numericValue(e))&&r.error(v.nonNumeric,e),e=r.get.normalizedValue(e),t?(n=r.total>0?e/r.total*100:100,r.debug("Calculating percent complete from total",n)):(n=e,r.debug("Setting value to exact percentage value",n)),n}));r.set.percent(n)}},setting:function(t,n){if(r.debug("Changing setting",t,n),e.isPlainObject(t))e.extend(!0,f,t);else{if(n===i)return f[t];e.isPlainObject(f[t])?e.extend(!0,f[t],n):f[t]=n}},internal:function(t,n){if(e.isPlainObject(t))e.extend(!0,r,t);else{if(n===i)return r[t];r[t]=n}},debug:function(){!f.silent&&f.debug&&(f.performance?r.performance.log(arguments):(r.debug=Function.prototype.bind.call(console.info,console,f.name+":"),r.debug.apply(console,arguments)))},verbose:function(){!f.silent&&f.verbose&&f.debug&&(f.performance?r.performance.log(arguments):(r.verbose=Function.prototype.bind.call(console.info,console,f.name+":"),r.verbose.apply(console,arguments)))},error:function(){f.silent||(r.error=Function.prototype.bind.call(console.error,console,f.name+":"),r.error.apply(console,arguments))},performance:{log:function(e){var t,n;f.performance&&(n=(t=(new Date).getTime())-(s||t),s=t,l.push({Name:e[0],Arguments:[].slice.call(e,1)||"",Element:k,"Execution Time":n})),clearTimeout(r.performance.timer),r.performance.timer=setTimeout(r.performance.display,500)},display:function(){var t=f.name+":",n=0;s=!1,clearTimeout(r.performance.timer),e.each(l,(function(e,t){n+=t["Execution Time"]})),t+=" "+n+"ms",a&&(t+=" '"+a+"'"),(console.group!==i||console.table!==i)&&l.length>0&&(console.groupCollapsed(t),console.table?console.table(l):e.each(l,(function(e,t){console.log(t.Name+": "+t["Execution Time"]+"ms")})),console.groupEnd()),l=[]}},invoke:function(t,n,a){var s,l,c,u=C;return n=n||d,a=k||a,"string"==typeof t&&u!==i&&(t=t.split(/[\. ]/),s=t.length-1,e.each(t,(function(n,o){var a=n!=s?o+t[n+1].charAt(0).toUpperCase()+t[n+1].slice(1):t;if(e.isPlainObject(u[a])&&n!=s)u=u[a];else{if(u[a]!==i)return l=u[a],!1;if(!e.isPlainObject(u[o])||n==s)return u[o]!==i?(l=u[o],!1):(r.error(v.method,t),!1);u=u[o]}}))),e.isFunction(l)?c=l.apply(a,n):l!==i&&(c=l),Array.isArray(o)?o.push(c):o!==i?o=[o,c]:c!==i&&(o=c),l}},u?(C===i&&r.initialize(),r.invoke(c)):(C!==i&&C.invoke("destroy"),r.initialize())})),o!==i?o:this},e.fn.progress.settings={name:"Progress",namespace:"progress",silent:!1,debug:!1,verbose:!1,performance:!0,random:{min:2,max:5},duration:300,updateInterval:"auto",autoSuccess:!0,showActivity:!0,limitValues:!0,label:"percent",precision:0,framerate:1e3/30,percent:!1,total:!1,value:!1,failSafeDelay:100,onLabelUpdate:function(e,t,n,i){return t},onChange:function(e,t,n){},onSuccess:function(e){},onActive:function(e,t){},onError:function(e,t){},onWarning:function(e,t){},error:{method:"The method you called is not defined.",nonNumeric:"Progress value is non numeric",tooHigh:"Value specified is above 100%",tooLow:"Value specified is below 0%",sumExceedsTotal:"Sum of multple values exceed total"},regExp:{variable:/\{\$*[A-z0-9]+\}/g},metadata:{percent:"percent",total:"total",value:"value"},selector:{bar:"> .bar",label:"> .label",progress:".bar > .progress"},text:{active:!1,error:!1,success:!1,warning:!1,percent:"{percent}%",ratio:"{value} of {total}",bars:[""]},className:{active:"active",error:"error",success:"success",warning:"warning"}}}(jQuery,window,document),function(e,n,i,o){e.isFunction=e.isFunction||function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},n=void 0!==n&&n.Math==Math?n:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),e.fn.search=function(r){var a,s=e(this),l=s.selector||"",c=(new Date).getTime(),u=[],d=arguments[0],f="string"==typeof d,p=[].slice.call(arguments,1);return e(this).each((function(){var m,h=e.isPlainObject(r)?e.extend(!0,{},e.fn.search.settings,r):e.extend({},e.fn.search.settings),g=h.className,v=h.metadata,b=h.regExp,y=h.fields,j=h.selector,_=h.error,w=h.namespace,x="."+w,k=w+"-module",C=e(this),S=C.find(j.prompt),T=C.find(j.searchButton),A=C.find(j.results),$=C.find(j.result),E=(C.find(j.category),this),O=C.data(k),D=!1,L=!1;m={initialize:function(){m.verbose("Initializing module"),m.get.settings(),m.determine.searchFields(),m.bind.events(),m.set.type(),m.create.results(),m.instantiate()},instantiate:function(){m.verbose("Storing instance of module",m),O=m,C.data(k,m)},destroy:function(){m.verbose("Destroying instance"),C.off(x).removeData(k)},refresh:function(){m.debug("Refreshing selector cache"),S=C.find(j.prompt),T=C.find(j.searchButton),C.find(j.category),A=C.find(j.results),$=C.find(j.result)},refreshResults:function(){A=C.find(j.results),$=C.find(j.result)},bind:{events:function(){m.verbose("Binding events to search"),h.automatic&&(C.on(m.get.inputEvent()+x,j.prompt,m.event.input),S.attr("autocomplete","off")),C.on("focus"+x,j.prompt,m.event.focus).on("blur"+x,j.prompt,m.event.blur).on("keydown"+x,j.prompt,m.handleKeyboard).on("click"+x,j.searchButton,m.query).on("mousedown"+x,j.results,m.event.result.mousedown).on("mouseup"+x,j.results,m.event.result.mouseup).on("click"+x,j.result,m.event.result.click)}},determine:{searchFields:function(){r&&r.searchFields!==o&&(h.searchFields=r.searchFields)}},event:{input:function(){h.searchDelay?(clearTimeout(m.timer),m.timer=setTimeout((function(){m.is.focused()&&m.query()}),h.searchDelay)):m.query()},focus:function(){m.set.focus(),h.searchOnFocus&&m.has.minimumCharacters()&&m.query((function(){m.can.show()&&m.showResults()}))},blur:function(e){var t=i.activeElement===this,n=function(){m.cancel.query(),m.remove.focus(),m.timer=setTimeout(m.hideResults,h.hideDelay)};t||(L=!1,m.resultsClicked?(m.debug("Determining if user action caused search to close"),C.one("click.close"+x,j.results,(function(e){m.is.inMessage(e)||D?S.focus():(D=!1,m.is.animating()||m.is.hidden()||n())}))):(m.debug("Input blurred without user action, closing results"),n()))},result:{mousedown:function(){m.resultsClicked=!0},mouseup:function(){m.resultsClicked=!1},click:function(t){m.debug("Search result selected");var i=e(this),o=i.find(j.title).eq(0),r=i.is("a[href]")?i:i.find("a[href]").eq(0),a=r.attr("href")||!1,s=r.attr("target")||!1,l=o.length>0&&o.text(),c=m.get.results(),u=i.data(v.result)||m.get.result(l,c);if(l&&m.set.value(l),e.isFunction(h.onSelect)&&!1===h.onSelect.call(E,u,c))return m.debug("Custom onSelect callback cancelled default select action"),void(D=!0);m.hideResults(),a&&(t.preventDefault(),m.verbose("Opening search link found in result",r),"_blank"==s||t.ctrlKey?n.open(a):n.location.href=a)}}},ensureVisible:function(e){var t,n,i,o;n=(t=e.position().top)+e.outerHeight(!0),i=A.scrollTop(),o=A.height(),parseInt(A.css("paddingTop"),0),parseInt(A.css("paddingBottom"),0),t<0?A.scrollTop(i+t):o<n&&A.scrollTop(i+(n-o))},handleKeyboard:function(e){var t,n=C.find(j.result),i=C.find(j.category),o=n.filter("."+g.active),r=n.index(o),a=n.length,s=o.length>0,l=e.which,c=13,u=38,d=40;if(l==27&&(m.verbose("Escape key pressed, blurring search field"),m.hideResults(),L=!0),m.is.visible())if(l==c){if(m.verbose("Enter key pressed, selecting active result"),n.filter("."+g.active).length>0)return m.event.result.click.call(n.filter("."+g.active),e),e.preventDefault(),!1}else l==u&&s?(m.verbose("Up key pressed, changing active result"),t=r-1<0?r:r-1,i.removeClass(g.active),n.removeClass(g.active).eq(t).addClass(g.active).closest(i).addClass(g.active),m.ensureVisible(n.eq(t)),e.preventDefault()):l==d&&(m.verbose("Down key pressed, changing active result"),t=r+1>=a?r:r+1,i.removeClass(g.active),n.removeClass(g.active).eq(t).addClass(g.active).closest(i).addClass(g.active),m.ensureVisible(n.eq(t)),e.preventDefault());else l==c&&(m.verbose("Enter key pressed, executing query"),m.query(),m.set.buttonPressed(),S.one("keyup",m.remove.buttonFocus))},setup:{api:function(t,n){var i={debug:h.debug,on:!1,cache:h.cache,action:"search",urlData:{query:t},onSuccess:function(e){m.parse.response.call(E,e,t),n()},onFailure:function(){m.displayMessage(_.serverError),n()},onAbort:function(e){},onError:m.error};e.extend(!0,i,h.apiSettings),m.verbose("Setting up API request",i),C.api(i)}},can:{useAPI:function(){return e.fn.api!==o},show:function(){return m.is.focused()&&!m.is.visible()&&!m.is.empty()},transition:function(){return h.transition&&e.fn.transition!==o&&C.transition("is supported")}},is:{animating:function(){return A.hasClass(g.animating)},hidden:function(){return A.hasClass(g.hidden)},inMessage:function(t){if(t.target){var n=e(t.target);return e.contains(i.documentElement,t.target)&&n.closest(j.message).length>0}},empty:function(){return""===A.html()},visible:function(){return A.filter(":visible").length>0},focused:function(){return S.filter(":focus").length>0}},get:{settings:function(){e.isPlainObject(r)&&r.searchFullText&&(h.fullTextSearch=r.searchFullText,m.error(h.error.oldSearchSyntax,E)),h.ignoreDiacritics&&!String.prototype.normalize&&(h.ignoreDiacritics=!1,m.error(_.noNormalize,E))},inputEvent:function(){var e=S[0],t=e!==o&&e.oninput!==o?"input":e!==o&&e.onpropertychange!==o?"propertychange":"keyup";return t},value:function(){return S.val()},results:function(){var e=C.data(v.results);return e},result:function(t,n){var i=!1;return t=t!==o?t:m.get.value(),n=n!==o?n:m.get.results(),"category"===h.type?(m.debug("Finding result that matches",t),e.each(n,(function(e,n){if(Array.isArray(n.results)&&(i=m.search.object(t,n.results)[0],i))return!1}))):(m.debug("Finding result in results object",t),i=m.search.object(t,n)[0]),i||!1}},select:{firstResult:function(){m.verbose("Selecting first result"),$.first().addClass(g.active)}},set:{focus:function(){C.addClass(g.focus)},loading:function(){C.addClass(g.loading)},value:function(e){m.verbose("Setting search input value",e),S.val(e)},type:function(e){e=e||h.type,"category"==h.type&&C.addClass(h.type)},buttonPressed:function(){T.addClass(g.pressed)}},remove:{loading:function(){C.removeClass(g.loading)},focus:function(){C.removeClass(g.focus)},buttonPressed:function(){T.removeClass(g.pressed)},diacritics:function(e){return h.ignoreDiacritics?e.normalize("NFD").replace(/[\u0300-\u036f]/g,""):e}},query:function(t){t=e.isFunction(t)?t:function(){};var n=m.get.value(),i=m.read.cache(n);t=t||function(){},m.has.minimumCharacters()?(i?(m.debug("Reading result from cache",n),m.save.results(i.results),m.addResults(i.html),m.inject.id(i.results),t()):(m.debug("Querying for",n),e.isPlainObject(h.source)||Array.isArray(h.source)?(m.search.local(n),t()):m.can.useAPI()?m.search.remote(n,t):(m.error(_.source),t())),h.onSearchQuery.call(E,n)):m.hideResults()},search:{local:function(e){var t,n=m.search.object(e,h.source);m.set.loading(),m.save.results(n),m.debug("Returned full local search results",n),h.maxResults>0&&(m.debug("Using specified max results",n),n=n.slice(0,h.maxResults)),"category"==h.type&&(n=m.create.categoryResults(n)),t=m.generateResults({results:n}),m.remove.loading(),m.addResults(t),m.inject.id(n),m.write.cache(e,{html:t,results:n})},remote:function(t,n){n=e.isFunction(n)?n:function(){},C.api("is loading")&&C.api("abort"),m.setup.api(t,n),C.api("query")},object:function(t,n,i){t=m.remove.diacritics(String(t));var r=[],a=[],s=[],l=t.replace(b.escape,"\\$&"),c=new RegExp(b.beginsWith+l,"i"),u=function(t,n){var i=-1==e.inArray(n,r),o=-1==e.inArray(n,s),l=-1==e.inArray(n,a);i&&o&&l&&t.push(n)};return n=n||h.source,i=i!==o?i:h.searchFields,Array.isArray(i)||(i=[i]),n===o||!1===n?(m.error(_.source),[]):(e.each(i,(function(i,o){e.each(n,(function(e,n){var i;"string"!=typeof n[o]&&"number"!=typeof n[o]||(-1!==(i="string"==typeof n[o]?m.remove.diacritics(n[o]):n[o].toString()).search(c)?u(r,n):"exact"===h.fullTextSearch&&m.exactSearch(t,i)?u(a,n):1==h.fullTextSearch&&m.fuzzySearch(t,i)&&u(s,n))}))})),e.merge(a,s),e.merge(r,a),r)}},exactSearch:function(e,t){return e=e.toLowerCase(),(t=t.toLowerCase()).indexOf(e)>-1},fuzzySearch:function(e,t){var n=t.length,i=e.length;if("string"!=typeof e)return!1;if(e=e.toLowerCase(),t=t.toLowerCase(),i>n)return!1;if(i===n)return e===t;e:for(var o=0,r=0;o<i;o++){for(var a=e.charCodeAt(o);r<n;)if(t.charCodeAt(r++)===a)continue e;return!1}return!0},parse:{response:function(e,t){if(Array.isArray(e)){var n={};n[y.results]=e,e=n}var i=m.generateResults(e);m.verbose("Parsing server response",e),e!==o&&t!==o&&e[y.results]!==o&&(m.addResults(i),m.inject.id(e[y.results]),m.write.cache(t,{html:i,results:e[y.results]}),m.save.results(e[y.results]))}},cancel:{query:function(){m.can.useAPI()&&C.api("abort")}},has:{minimumCharacters:function(){return m.get.value().length>=h.minCharacters},results:function(){return 0!==A.length&&""!=A.html()}},clear:{cache:function(e){var t=C.data(v.cache);e?e&&t&&t[e]&&(m.debug("Removing value from cache",e),delete t[e],C.data(v.cache,t)):(m.debug("Clearing cache",e),C.removeData(v.cache))}},read:{cache:function(e){var n=C.data(v.cache);return!!h.cache&&(m.verbose("Checking cache for generated html for query",e),"object"==t()(n)&&n[e]!==o&&n[e])}},create:{categoryResults:function(t){var n={};return e.each(t,(function(e,t){t.category&&(n[t.category]===o?(m.verbose("Creating new category of results",t.category),n[t.category]={name:t.category,results:[t]}):n[t.category].results.push(t))})),n},id:function(e,t){var n,i=e+1;return t!==o?(n=String.fromCharCode(97+t)+i,m.verbose("Creating category result id",n)):(n=i,m.verbose("Creating result id",n)),n},results:function(){0===A.length&&(A=e("<div />").addClass(g.results).appendTo(C))}},inject:{result:function(e,t,n){m.verbose("Injecting result into results");var i=n!==o?A.children().eq(n).children(j.results).first().children(j.result).eq(t):A.children(j.result).eq(t);m.verbose("Injecting results metadata",i),i.data(v.result,e)},id:function(t){m.debug("Injecting unique ids into results");var n=0,i=0;return"category"===h.type?e.each(t,(function(t,r){r.results.length>0&&(i=0,e.each(r.results,(function(e,t){t.id===o&&(t.id=m.create.id(i,n)),m.inject.result(t,i,n),i++})),n++)})):e.each(t,(function(e,t){t.id===o&&(t.id=m.create.id(i)),m.inject.result(t,i),i++})),t}},save:{results:function(e){m.verbose("Saving current search results to metadata",e),C.data(v.results,e)}},write:{cache:function(e,t){var n=C.data(v.cache)!==o?C.data(v.cache):{};h.cache&&(m.verbose("Writing generated html to cache",e,t),n[e]=t,C.data(v.cache,n))}},addResults:function(t){if(e.isFunction(h.onResultsAdd)&&!1===h.onResultsAdd.call(A,t))return m.debug("onResultsAdd callback cancelled default action"),!1;t?(A.html(t),m.refreshResults(),h.selectFirstResult&&m.select.firstResult(),m.showResults()):m.hideResults((function(){A.empty()}))},showResults:function(t){t=e.isFunction(t)?t:function(){},L||!m.is.visible()&&m.has.results()&&(m.can.transition()?(m.debug("Showing results with css animations"),A.transition({animation:h.transition+" in",debug:h.debug,verbose:h.verbose,duration:h.duration,onShow:function(){var e=C.find(j.result).eq(0);e.length>0&&m.ensureVisible(e)},onComplete:function(){t()},queue:!0})):(m.debug("Showing results with javascript"),A.stop().fadeIn(h.duration,h.easing)),h.onResultsOpen.call(A))},hideResults:function(t){t=e.isFunction(t)?t:function(){},m.is.visible()&&(m.can.transition()?(m.debug("Hiding results with css animations"),A.transition({animation:h.transition+" out",debug:h.debug,verbose:h.verbose,duration:h.duration,onComplete:function(){t()},queue:!0})):(m.debug("Hiding results with javascript"),A.stop().fadeOut(h.duration,h.easing)),h.onResultsClose.call(A))},generateResults:function(t){m.debug("Generating html from response",t);var n=h.templates[h.type],i=e.isPlainObject(t[y.results])&&!e.isEmptyObject(t[y.results]),o=Array.isArray(t[y.results])&&t[y.results].length>0,r="";return i||o?(h.maxResults>0&&(i?"standard"==h.type&&m.error(_.maxResults):t[y.results]=t[y.results].slice(0,h.maxResults)),e.isFunction(n)?r=n(t,y,h.preserveHTML):m.error(_.noTemplate,!1)):h.showNoResults&&(r=m.displayMessage(_.noResults,"empty",_.noResultsHeader)),h.onResults.call(E,t),r},displayMessage:function(e,t,n){return t=t||"standard",m.debug("Displaying message",e,t,n),m.addResults(h.templates.message(e,t,n)),h.templates.message(e,t,n)},setting:function(t,n){if(e.isPlainObject(t))e.extend(!0,h,t);else{if(n===o)return h[t];h[t]=n}},internal:function(t,n){if(e.isPlainObject(t))e.extend(!0,m,t);else{if(n===o)return m[t];m[t]=n}},debug:function(){!h.silent&&h.debug&&(h.performance?m.performance.log(arguments):(m.debug=Function.prototype.bind.call(console.info,console,h.name+":"),m.debug.apply(console,arguments)))},verbose:function(){!h.silent&&h.verbose&&h.debug&&(h.performance?m.performance.log(arguments):(m.verbose=Function.prototype.bind.call(console.info,console,h.name+":"),m.verbose.apply(console,arguments)))},error:function(){h.silent||(m.error=Function.prototype.bind.call(console.error,console,h.name+":"),m.error.apply(console,arguments))},performance:{log:function(e){var t,n;h.performance&&(n=(t=(new Date).getTime())-(c||t),c=t,u.push({Name:e[0],Arguments:[].slice.call(e,1)||"",Element:E,"Execution Time":n})),clearTimeout(m.performance.timer),m.performance.timer=setTimeout(m.performance.display,500)},display:function(){var t=h.name+":",n=0;c=!1,clearTimeout(m.performance.timer),e.each(u,(function(e,t){n+=t["Execution Time"]})),t+=" "+n+"ms",l&&(t+=" '"+l+"'"),s.length>1&&(t+=" ("+s.length+")"),(console.group!==o||console.table!==o)&&u.length>0&&(console.groupCollapsed(t),console.table?console.table(u):e.each(u,(function(e,t){console.log(t.Name+": "+t["Execution Time"]+"ms")})),console.groupEnd()),u=[]}},invoke:function(t,n,i){var r,s,l,c=O;return n=n||p,i=E||i,"string"==typeof t&&c!==o&&(t=t.split(/[\. ]/),r=t.length-1,e.each(t,(function(n,i){var a=n!=r?i+t[n+1].charAt(0).toUpperCase()+t[n+1].slice(1):t;if(e.isPlainObject(c[a])&&n!=r)c=c[a];else{if(c[a]!==o)return s=c[a],!1;if(!e.isPlainObject(c[i])||n==r)return c[i]!==o&&(s=c[i],!1);c=c[i]}}))),e.isFunction(s)?l=s.apply(i,n):s!==o&&(l=s),Array.isArray(a)?a.push(l):a!==o?a=[a,l]:l!==o&&(a=l),s}},f?(O===o&&m.initialize(),m.invoke(d)):(O!==o&&O.invoke("destroy"),m.initialize())})),a!==o?a:this},e.fn.search.settings={name:"Search",namespace:"search",silent:!1,debug:!1,verbose:!1,performance:!0,type:"standard",minCharacters:1,selectFirstResult:!1,apiSettings:!1,source:!1,searchOnFocus:!0,searchFields:["id","title","description"],displayField:"",fullTextSearch:"exact",ignoreDiacritics:!1,automatic:!0,hideDelay:0,searchDelay:200,maxResults:7,cache:!0,showNoResults:!0,preserveHTML:!0,transition:"scale",duration:200,easing:"easeOutExpo",onSelect:!1,onResultsAdd:!1,onSearchQuery:function(e){},onResults:function(e){},onResultsOpen:function(){},onResultsClose:function(){},className:{animating:"animating",active:"active",empty:"empty",focus:"focus",hidden:"hidden",loading:"loading",results:"results",pressed:"down"},error:{source:"Cannot search. No source used, and Semantic API module was not included",noResultsHeader:"No Results",noResults:"Your search returned no results",logging:"Error in debug logging, exiting.",noEndpoint:"No search endpoint was specified",noTemplate:"A valid template name was not specified.",oldSearchSyntax:"searchFullText setting has been renamed fullTextSearch for consistency, please adjust your settings.",serverError:"There was an issue querying the server.",maxResults:"Results must be an array to use maxResults setting",method:"The method you called is not defined.",noNormalize:'"ignoreDiacritics" setting will be ignored. Browser does not support String().normalize(). You may consider including <https://cdn.jsdelivr.net/npm/unorm@1.4.1/lib/unorm.min.js> as a polyfill.'},metadata:{cache:"cache",results:"results",result:"result"},regExp:{escape:/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,beginsWith:"(?:s|^)"},fields:{categories:"results",categoryName:"name",categoryResults:"results",description:"description",image:"image",price:"price",results:"results",title:"title",url:"url",action:"action",actionText:"text",actionURL:"url"},selector:{prompt:".prompt",searchButton:".search.button",results:".results",message:".results > .message",category:".category",result:".result",title:".title, .name"},templates:{escape:function(e,t){if(t)return e;var n={"<":"<",">":">",'"':""","'":"'","`":"`"};return/[&<>"'`]/.test(e)?(e=e.replace(/&(?![a-z0-9#]{1,6};)/,"&")).replace(/[<>"'`]/g,(function(e){return n[e]})):e},message:function(e,t,n){var i="";return e!==o&&t!==o&&(i+='<div class="message '+t+'">',n&&(i+='<div class="header">'+n+"</div>"),i+=' <div class="description">'+e+"</div>",i+="</div>"),i},category:function(t,n,i){var r="",a=e.fn.search.settings.templates.escape;return t[n.categoryResults]!==o&&(e.each(t[n.categoryResults],(function(t,s){s[n.results]!==o&&s.results.length>0&&(r+='<div class="category">',s[n.categoryName]!==o&&(r+='<div class="name">'+a(s[n.categoryName],i)+"</div>"),r+='<div class="results">',e.each(s.results,(function(e,t){t[n.url]?r+='<a class="result" href="'+t[n.url].replace(/"/g,"")+'">':r+='<a class="result">',t[n.image]!==o&&(r+='<div class="image"> <img src="'+t[n.image].replace(/"/g,"")+'"></div>'),r+='<div class="content">',t[n.price]!==o&&(r+='<div class="price">'+a(t[n.price],i)+"</div>"),t[n.title]!==o&&(r+='<div class="title">'+a(t[n.title],i)+"</div>"),t[n.description]!==o&&(r+='<div class="description">'+a(t[n.description],i)+"</div>"),r+="</div>",r+="</a>"})),r+="</div>",r+="</div>")})),t[n.action]&&(!1===n.actionURL?r+='<div class="action">'+a(t[n.action][n.actionText],i)+"</div>":r+='<a href="'+t[n.action][n.actionURL].replace(/"/g,"")+'" class="action">'+a(t[n.action][n.actionText],i)+"</a>"),r)},standard:function(t,n,i){var r="",a=e.fn.search.settings.templates.escape;return t[n.results]!==o&&(e.each(t[n.results],(function(e,t){t[n.url]?r+='<a class="result" href="'+t[n.url].replace(/"/g,"")+'">':r+='<a class="result">',t[n.image]!==o&&(r+='<div class="image"> <img src="'+t[n.image].replace(/"/g,"")+'"></div>'),r+='<div class="content">',t[n.price]!==o&&(r+='<div class="price">'+a(t[n.price],i)+"</div>"),t[n.title]!==o&&(r+='<div class="title">'+a(t[n.title],i)+"</div>"),t[n.description]!==o&&(r+='<div class="description">'+a(t[n.description],i)+"</div>"),r+="</div>",r+="</a>"})),t[n.action]&&(!1===n.actionURL?r+='<div class="action">'+a(t[n.action][n.actionText],i)+"</div>":r+='<a href="'+t[n.action][n.actionURL].replace(/"/g,"")+'" class="action">'+a(t[n.action][n.actionText],i)+"</a>"),r)}}}}(jQuery,window,document),function(e,t,n,i){e.isFunction=e.isFunction||function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},t=void 0!==t&&t.Math==Math?t:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),e.fn.sidebar=function(o){var r,a=e(this),s=e(t),l=e(n),c=e("html"),u=e("head"),d=a.selector||"",f=(new Date).getTime(),p=[],m=arguments[0],h="string"==typeof m,g=[].slice.call(arguments,1),v=t.requestAnimationFrame||t.mozRequestAnimationFrame||t.webkitRequestAnimationFrame||t.msRequestAnimationFrame||function(e){setTimeout(e,0)};return a.each((function(){var a,b,y,j,_,w,x=e.isPlainObject(o)?e.extend(!0,{},e.fn.sidebar.settings,o):e.extend({},e.fn.sidebar.settings),k=x.selector,C=x.className,S=x.namespace,T=x.regExp,A=x.error,$="."+S,E="module-"+S,O=e(this),D=e(x.context),L=O.children(k.sidebar),I=(D.children(k.fixed),D.children(k.pusher)),R=this,P=O.data(E);w={initialize:function(){w.debug("Initializing sidebar",o),w.create.id(),_=w.get.transitionEvent(),x.delaySetup?v(w.setup.layout):w.setup.layout(),v((function(){w.setup.cache()})),w.instantiate()},instantiate:function(){w.verbose("Storing instance of module",w),P=w,O.data(E,w)},create:{id:function(){y=(Math.random().toString(16)+"000000000").substr(2,8),b="."+y,w.verbose("Creating unique id for element",y)}},destroy:function(){w.verbose("Destroying previous module for",O),O.off($).removeData(E),w.is.ios()&&w.remove.ios(),D.off(b),s.off(b),l.off(b)},event:{clickaway:function(e){if(x.closable){var t=I.find(e.target).length>0||I.is(e.target),n=D.is(e.target);t&&(w.verbose("User clicked on dimmed page"),w.hide()),n&&(w.verbose("User clicked on dimmable context (scaled out page)"),w.hide())}},touch:function(e){},containScroll:function(e){R.scrollTop<=0&&(R.scrollTop=1),R.scrollTop+R.offsetHeight>=R.scrollHeight&&(R.scrollTop=R.scrollHeight-R.offsetHeight-1)},scroll:function(t){0===e(t.target).closest(k.sidebar).length&&t.preventDefault()}},bind:{clickaway:function(){w.verbose("Adding clickaway events to context",D),D.on("click"+b,w.event.clickaway).on("touchend"+b,w.event.clickaway)},scrollLock:function(){x.scrollLock&&(w.debug("Disabling page scroll"),s.on("DOMMouseScroll"+b,w.event.scroll)),w.verbose("Adding events to contain sidebar scroll"),l.on("touchmove"+b,w.event.touch),O.on("scroll"+$,w.event.containScroll)}},unbind:{clickaway:function(){w.verbose("Removing clickaway events from context",D),D.off(b)},scrollLock:function(){w.verbose("Removing scroll lock from page"),l.off(b),s.off(b),O.off("scroll"+$)}},add:{inlineCSS:function(){var t,n=w.cache.width||O.outerWidth(),i=w.cache.height||O.outerHeight(),o=w.is.rtl(),r=w.get.direction(),s={left:n,right:-n,top:i,bottom:-i};o&&(w.verbose("RTL detected, flipping widths"),s.left=-n,s.right=n),t="<style>","left"===r||"right"===r?(w.debug("Adding CSS rules for animation distance",n),t+=" .ui.visible."+r+".sidebar ~ .fixed, .ui.visible."+r+".sidebar ~ .pusher { -webkit-transform: translate3d("+s[r]+"px, 0, 0); transform: translate3d("+s[r]+"px, 0, 0); }"):"top"!==r&&"bottom"!=r||(t+=" .ui.visible."+r+".sidebar ~ .fixed, .ui.visible."+r+".sidebar ~ .pusher { -webkit-transform: translate3d(0, "+s[r]+"px, 0); transform: translate3d(0, "+s[r]+"px, 0); }"),w.is.ie()&&("left"===r||"right"===r?(w.debug("Adding CSS rules for animation distance",n),t+=" body.pushable > .ui.visible."+r+".sidebar ~ .pusher:after { -webkit-transform: translate3d("+s[r]+"px, 0, 0); transform: translate3d("+s[r]+"px, 0, 0); }"):"top"!==r&&"bottom"!=r||(t+=" body.pushable > .ui.visible."+r+".sidebar ~ .pusher:after { -webkit-transform: translate3d(0, "+s[r]+"px, 0); transform: translate3d(0, "+s[r]+"px, 0); }"),t+=" body.pushable > .ui.visible.left.sidebar ~ .ui.visible.right.sidebar ~ .pusher:after, body.pushable > .ui.visible.right.sidebar ~ .ui.visible.left.sidebar ~ .pusher:after { -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); }"),a=e(t+="</style>").appendTo(u),w.debug("Adding sizing css to head",a)}},refresh:function(){w.verbose("Refreshing selector cache"),D=e(x.context),L=D.children(k.sidebar),I=D.children(k.pusher),D.children(k.fixed),w.clear.cache()},refreshSidebars:function(){w.verbose("Refreshing other sidebars"),L=D.children(k.sidebar)},repaint:function(){w.verbose("Forcing repaint event"),R.style.display="none";R.offsetHeight;R.scrollTop=R.scrollTop,R.style.display=""},setup:{cache:function(){w.cache={width:O.outerWidth(),height:O.outerHeight()}},layout:function(){0===D.children(k.pusher).length&&(w.debug("Adding wrapper element for sidebar"),w.error(A.pusher),I=e('<div class="pusher" />'),D.children().not(k.omitted).not(L).wrapAll(I),w.refresh()),0!==O.nextAll(k.pusher).length&&O.nextAll(k.pusher)[0]===I[0]||(w.debug("Moved sidebar to correct parent element"),w.error(A.movedSidebar,R),O.detach().prependTo(D),w.refresh()),w.clear.cache(),w.set.pushable(),w.set.direction()}},attachEvents:function(t,n){var i=e(t);n=e.isFunction(w[n])?w[n]:w.toggle,i.length>0?(w.debug("Attaching sidebar events to element",t,n),i.on("click"+$,n)):w.error(A.notFound,t)},show:function(t){if(t=e.isFunction(t)?t:function(){},w.is.hidden()){if(w.refreshSidebars(),x.overlay&&(w.error(A.overlay),x.transition="overlay"),w.refresh(),w.othersActive())if(w.debug("Other sidebars currently visible"),x.exclusive){if("overlay"!=x.transition)return void w.hideOthers(w.show);w.hideOthers()}else x.transition="overlay";w.pushPage((function(){t.call(R),x.onShow.call(R)})),x.onChange.call(R),x.onVisible.call(R)}else w.debug("Sidebar is already visible")},hide:function(t){t=e.isFunction(t)?t:function(){},(w.is.visible()||w.is.animating())&&(w.debug("Hiding sidebar",t),w.refreshSidebars(),w.pullPage((function(){t.call(R),x.onHidden.call(R)})),x.onChange.call(R),x.onHide.call(R))},othersAnimating:function(){return L.not(O).filter("."+C.animating).length>0},othersVisible:function(){return L.not(O).filter("."+C.visible).length>0},othersActive:function(){return w.othersVisible()||w.othersAnimating()},hideOthers:function(e){var t=L.not(O).filter("."+C.visible),n=t.length,i=0;e=e||function(){},t.sidebar("hide",(function(){++i==n&&e()}))},toggle:function(){w.verbose("Determining toggled direction"),w.is.hidden()?w.show():w.hide()},pushPage:function(t){var n,i,o,r=w.get.transition(),a="overlay"===r||w.othersActive()?O:I;t=e.isFunction(t)?t:function(){},"scale down"==x.transition&&w.scrollToTop(),w.set.transition(r),w.repaint(),n=function(){w.bind.clickaway(),w.add.inlineCSS(),w.set.animating(),w.set.visible()},i=function(){w.set.dimmed()},o=function(e){e.target==a[0]&&(a.off(_+b,o),w.remove.animating(),w.bind.scrollLock(),t.call(R))},a.off(_+b),a.on(_+b,o),v(n),x.dimPage&&!w.othersVisible()&&v(i)},pullPage:function(t){var n,i,o=w.get.transition(),r="overlay"==o||w.othersActive()?O:I;t=e.isFunction(t)?t:function(){},w.verbose("Removing context push state",w.get.direction()),w.unbind.clickaway(),w.unbind.scrollLock(),n=function(){w.set.transition(o),w.set.animating(),w.remove.visible(),x.dimPage&&!w.othersVisible()&&I.removeClass(C.dimmed)},i=function(e){e.target==r[0]&&(r.off(_+b,i),w.remove.animating(),w.remove.transition(),w.remove.inlineCSS(),("scale down"==o||x.returnScroll&&w.is.mobile())&&w.scrollBack(),t.call(R))},r.off(_+b),r.on(_+b,i),v(n)},scrollToTop:function(){w.verbose("Scrolling to top of page to avoid animation issues"),j=e(t).scrollTop(),O.scrollTop(0),t.scrollTo(0,0)},scrollBack:function(){w.verbose("Scrolling back to original page position"),t.scrollTo(0,j)},clear:{cache:function(){w.verbose("Clearing cached dimensions"),w.cache={}}},set:{ios:function(){c.addClass(C.ios)},pushed:function(){D.addClass(C.pushed)},pushable:function(){D.addClass(C.pushable)},dimmed:function(){I.addClass(C.dimmed)},active:function(){O.addClass(C.active)},animating:function(){O.addClass(C.animating)},transition:function(e){e=e||w.get.transition(),O.addClass(e)},direction:function(e){e=e||w.get.direction(),O.addClass(C[e])},visible:function(){O.addClass(C.visible)},overlay:function(){O.addClass(C.overlay)}},remove:{inlineCSS:function(){w.debug("Removing inline css styles",a),a&&a.length>0&&a.remove()},ios:function(){c.removeClass(C.ios)},pushed:function(){D.removeClass(C.pushed)},pushable:function(){D.removeClass(C.pushable)},active:function(){O.removeClass(C.active)},animating:function(){O.removeClass(C.animating)},transition:function(e){e=e||w.get.transition(),O.removeClass(e)},direction:function(e){e=e||w.get.direction(),O.removeClass(C[e])},visible:function(){O.removeClass(C.visible)},overlay:function(){O.removeClass(C.overlay)}},get:{direction:function(){return O.hasClass(C.top)?C.top:O.hasClass(C.right)?C.right:O.hasClass(C.bottom)?C.bottom:C.left},transition:function(){var e,t=w.get.direction();return e=w.is.mobile()?"auto"==x.mobileTransition?x.defaultTransition.mobile[t]:x.mobileTransition:"auto"==x.transition?x.defaultTransition.computer[t]:x.transition,w.verbose("Determined transition",e),e},transitionEvent:function(){var e,t=n.createElement("element"),o={transition:"transitionend",OTransition:"oTransitionEnd",MozTransition:"transitionend",WebkitTransition:"webkitTransitionEnd"};for(e in o)if(t.style[e]!==i)return o[e]}},is:{ie:function(){return!t.ActiveXObject&&"ActiveXObject"in t||"ActiveXObject"in t},ios:function(){var e=navigator.userAgent,t=e.match(T.ios),n=e.match(T.mobileChrome);return!(!t||n)&&(w.verbose("Browser was found to be iOS",e),!0)},mobile:function(){var e=navigator.userAgent;return e.match(T.mobile)?(w.verbose("Browser was found to be mobile",e),!0):(w.verbose("Browser is not mobile, using regular transition",e),!1)},hidden:function(){return!w.is.visible()},visible:function(){return O.hasClass(C.visible)},open:function(){return w.is.visible()},closed:function(){return w.is.hidden()},vertical:function(){return O.hasClass(C.top)},animating:function(){return D.hasClass(C.animating)},rtl:function(){return w.cache.rtl===i&&(w.cache.rtl="rtl"===O.attr("dir")||"rtl"===O.css("direction")),w.cache.rtl}},setting:function(t,n){if(w.debug("Changing setting",t,n),e.isPlainObject(t))e.extend(!0,x,t);else{if(n===i)return x[t];e.isPlainObject(x[t])?e.extend(!0,x[t],n):x[t]=n}},internal:function(t,n){if(e.isPlainObject(t))e.extend(!0,w,t);else{if(n===i)return w[t];w[t]=n}},debug:function(){!x.silent&&x.debug&&(x.performance?w.performance.log(arguments):(w.debug=Function.prototype.bind.call(console.info,console,x.name+":"),w.debug.apply(console,arguments)))},verbose:function(){!x.silent&&x.verbose&&x.debug&&(x.performance?w.performance.log(arguments):(w.verbose=Function.prototype.bind.call(console.info,console,x.name+":"),w.verbose.apply(console,arguments)))},error:function(){x.silent||(w.error=Function.prototype.bind.call(console.error,console,x.name+":"),w.error.apply(console,arguments))},performance:{log:function(e){var t,n;x.performance&&(n=(t=(new Date).getTime())-(f||t),f=t,p.push({Name:e[0],Arguments:[].slice.call(e,1)||"",Element:R,"Execution Time":n})),clearTimeout(w.performance.timer),w.performance.timer=setTimeout(w.performance.display,500)},display:function(){var t=x.name+":",n=0;f=!1,clearTimeout(w.performance.timer),e.each(p,(function(e,t){n+=t["Execution Time"]})),t+=" "+n+"ms",d&&(t+=" '"+d+"'"),(console.group!==i||console.table!==i)&&p.length>0&&(console.groupCollapsed(t),console.table?console.table(p):e.each(p,(function(e,t){console.log(t.Name+": "+t["Execution Time"]+"ms")})),console.groupEnd()),p=[]}},invoke:function(t,n,o){var a,s,l,c=P;return n=n||g,o=R||o,"string"==typeof t&&c!==i&&(t=t.split(/[\. ]/),a=t.length-1,e.each(t,(function(n,o){var r=n!=a?o+t[n+1].charAt(0).toUpperCase()+t[n+1].slice(1):t;if(e.isPlainObject(c[r])&&n!=a)c=c[r];else{if(c[r]!==i)return s=c[r],!1;if(!e.isPlainObject(c[o])||n==a)return c[o]!==i?(s=c[o],!1):(w.error(A.method,t),!1);c=c[o]}}))),e.isFunction(s)?l=s.apply(o,n):s!==i&&(l=s),Array.isArray(r)?r.push(l):r!==i?r=[r,l]:l!==i&&(r=l),s}},h?(P===i&&w.initialize(),w.invoke(m)):(P!==i&&w.invoke("destroy"),w.initialize())})),r!==i?r:this},e.fn.sidebar.settings={name:"Sidebar",namespace:"sidebar",silent:!1,debug:!1,verbose:!1,performance:!0,transition:"auto",mobileTransition:"auto",defaultTransition:{computer:{left:"uncover",right:"uncover",top:"overlay",bottom:"overlay"},mobile:{left:"uncover",right:"uncover",top:"overlay",bottom:"overlay"}},context:"body",exclusive:!1,closable:!0,dimPage:!0,scrollLock:!1,returnScroll:!1,delaySetup:!1,duration:500,onChange:function(){},onShow:function(){},onHide:function(){},onHidden:function(){},onVisible:function(){},className:{active:"active",animating:"animating",dimmed:"dimmed",ios:"ios",pushable:"pushable",pushed:"pushed",right:"right",top:"top",left:"left",bottom:"bottom",visible:"visible"},selector:{fixed:".fixed",omitted:"script, link, style, .ui.modal, .ui.dimmer, .ui.nag, .ui.fixed",pusher:".pusher",sidebar:".ui.sidebar"},regExp:{ios:/(iPad|iPhone|iPod)/g,mobileChrome:/(CriOS)/g,mobile:/Mobile|iP(hone|od|ad)|Android|BlackBerry|IEMobile|Kindle|NetFront|Silk-Accelerated|(hpw|web)OS|Fennec|Minimo|Opera M(obi|ini)|Blazer|Dolfin|Dolphin|Skyfire|Zune/g},error:{method:"The method you called is not defined.",pusher:"Had to add pusher element. For optimal performance make sure body content is inside a pusher element",movedSidebar:"Had to move sidebar. For optimal performance make sure sidebar and pusher are direct children of your body tag",overlay:"The overlay setting is no longer supported, use animation: overlay",notFound:"There were no elements that matched the specified selector"}}}(jQuery,window,document),function(e,t,n,i){e.isFunction=e.isFunction||function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},e.site=e.fn.site=function(o){var r,a,s=(new Date).getTime(),l=[],c=arguments[0],u="string"==typeof c,d=[].slice.call(arguments,1),f=e.isPlainObject(o)?e.extend(!0,{},e.site.settings,o):e.extend({},e.site.settings),p=f.namespace,m=f.error,h="module-"+p,g=e(n),v=g,b=this,y=v.data(h);return r={initialize:function(){r.instantiate()},instantiate:function(){r.verbose("Storing instance of site",r),y=r,v.data(h,r)},normalize:function(){r.fix.console(),r.fix.requestAnimationFrame()},fix:{console:function(e){function t(){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(){r.debug("Normalizing window.console"),console!==i&&console.log!==i||(r.verbose("Console not available, normalizing events"),r.disable.console()),void 0!==console.group&&void 0!==console.groupEnd&&void 0!==console.groupCollapsed||(r.verbose("Console group not available, normalizing events"),t.console.group=function(){},t.console.groupEnd=function(){},t.console.groupCollapsed=function(){}),void 0===console.markTimeline&&(r.verbose("Mark timeline not available, normalizing events"),t.console.markTimeline=function(){})})),consoleClear:function(){r.debug("Disabling programmatic console clearing"),t.console.clear=function(){}},requestAnimationFrame:function(){r.debug("Normalizing requestAnimationFrame"),t.requestAnimationFrame===i&&(r.debug("RequestAnimationFrame not available, normalizing event"),t.requestAnimationFrame=t.requestAnimationFrame||t.mozRequestAnimationFrame||t.webkitRequestAnimationFrame||t.msRequestAnimationFrame||function(e){setTimeout(e,0)})}},moduleExists:function(t){return e.fn[t]!==i&&e.fn[t].settings!==i},enabled:{modules:function(t){var n=[];return t=t||f.modules,e.each(t,(function(e,t){r.moduleExists(t)&&n.push(t)})),n}},disabled:{modules:function(t){var n=[];return t=t||f.modules,e.each(t,(function(e,t){r.moduleExists(t)||n.push(t)})),n}},change:{setting:function(t,n,o,a){o="string"==typeof o?"all"===o?f.modules:[o]:o||f.modules,a=a===i||a,e.each(o,(function(i,o){var s,l=!r.moduleExists(o)||(e.fn[o].settings.namespace||!1);r.moduleExists(o)&&(r.verbose("Changing default setting",t,n,o),e.fn[o].settings[t]=n,a&&l&&(s=e(":data(module-"+l+")")).length>0&&(r.verbose("Modifying existing settings",s),s[o]("setting",t,n)))}))},settings:function(t,n,o){n="string"==typeof n?[n]:n||f.modules,o=o===i||o,e.each(n,(function(n,i){var a;r.moduleExists(i)&&(r.verbose("Changing default setting",t,i),e.extend(!0,e.fn[i].settings,t),o&&p&&(a=e(":data(module-"+p+")")).length>0&&(r.verbose("Modifying existing settings",a),a[i]("setting",t)))}))}},enable:{console:function(){r.console(!0)},debug:function(e,t){e=e||f.modules,r.debug("Enabling debug for modules",e),r.change.setting("debug",!0,e,t)},verbose:function(e,t){e=e||f.modules,r.debug("Enabling verbose debug for modules",e),r.change.setting("verbose",!0,e,t)}},disable:{console:function(){r.console(!1)},debug:function(e,t){e=e||f.modules,r.debug("Disabling debug for modules",e),r.change.setting("debug",!1,e,t)},verbose:function(e,t){e=e||f.modules,r.debug("Disabling verbose debug for modules",e),r.change.setting("verbose",!1,e,t)}},console:function(e){if(e){if(y.cache.console===i)return void r.error(m.console);r.debug("Restoring console function"),t.console=y.cache.console}else r.debug("Disabling console function"),y.cache.console=t.console,t.console={clear:function(){},error:function(){},group:function(){},groupCollapsed:function(){},groupEnd:function(){},info:function(){},log:function(){},markTimeline:function(){},warn:function(){}}},destroy:function(){r.verbose("Destroying previous site for",v),v.removeData(h)},cache:{},setting:function(t,n){if(e.isPlainObject(t))e.extend(!0,f,t);else{if(n===i)return f[t];f[t]=n}},internal:function(t,n){if(e.isPlainObject(t))e.extend(!0,r,t);else{if(n===i)return r[t];r[t]=n}},debug:function(){f.debug&&(f.performance?r.performance.log(arguments):(r.debug=Function.prototype.bind.call(console.info,console,f.name+":"),r.debug.apply(console,arguments)))},verbose:function(){f.verbose&&f.debug&&(f.performance?r.performance.log(arguments):(r.verbose=Function.prototype.bind.call(console.info,console,f.name+":"),r.verbose.apply(console,arguments)))},error:function(){r.error=Function.prototype.bind.call(console.error,console,f.name+":"),r.error.apply(console,arguments)},performance:{log:function(e){var t,n;f.performance&&(n=(t=(new Date).getTime())-(s||t),s=t,l.push({Element:b,Name:e[0],Arguments:[].slice.call(e,1)||"","Execution Time":n})),clearTimeout(r.performance.timer),r.performance.timer=setTimeout(r.performance.display,500)},display:function(){var t=f.name+":",n=0;s=!1,clearTimeout(r.performance.timer),e.each(l,(function(e,t){n+=t["Execution Time"]})),t+=" "+n+"ms",(console.group!==i||console.table!==i)&&l.length>0&&(console.groupCollapsed(t),console.table?console.table(l):e.each(l,(function(e,t){console.log(t.Name+": "+t["Execution Time"]+"ms")})),console.groupEnd()),l=[]}},invoke:function(t,n,o){var s,l,c,u=y;return n=n||d,o=b||o,"string"==typeof t&&u!==i&&(t=t.split(/[\. ]/),s=t.length-1,e.each(t,(function(n,o){var a=n!=s?o+t[n+1].charAt(0).toUpperCase()+t[n+1].slice(1):t;if(e.isPlainObject(u[a])&&n!=s)u=u[a];else{if(u[a]!==i)return l=u[a],!1;if(!e.isPlainObject(u[o])||n==s)return u[o]!==i?(l=u[o],!1):(r.error(m.method,t),!1);u=u[o]}}))),e.isFunction(l)?c=l.apply(o,n):l!==i&&(c=l),Array.isArray(a)?a.push(c):a!==i?a=[a,c]:c!==i&&(a=c),l}},u?(y===i&&r.initialize(),r.invoke(c)):(y!==i&&r.destroy(),r.initialize()),a!==i?a:this},e.site.settings={name:"Site",namespace:"site",error:{console:"Console cannot be restored, most likely it was overwritten outside of module",method:"The method you called is not defined."},debug:!1,verbose:!1,performance:!0,modules:["accordion","api","calendar","checkbox","dimmer","dropdown","embed","form","modal","nag","popup","slider","rating","shape","sidebar","state","sticky","tab","toast","transition","visibility","visit"],siteNamespace:"site",namespaceStub:{cache:{},config:{},sections:{},section:{},utilities:{}}},e.extend(e.expr[":"],{data:e.expr.createPseudo?e.expr.createPseudo((function(t){return function(n){return!!e.data(n,t)}})):function(t,n,i){return!!e.data(t,i[3])}})}(jQuery,window,document),function(e,t,n,i){e.isWindow=e.isWindow||function(e){return null!=e&&e===e.window},e.isFunction=e.isFunction||function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},t=void 0!==t&&t.Math==Math?t:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),e.fn.tab=function(o){var r,a=e.isFunction(this)?e(t):e(this),s=a.selector||"",l=(new Date).getTime(),c=[],u=arguments[0],d="string"==typeof u,f=[].slice.call(arguments,1),p=!1;return a.each((function(){var m,h,g,v,b,y,j=e.isPlainObject(o)?e.extend(!0,{},e.fn.tab.settings,o):e.extend({},e.fn.tab.settings),_=j.className,w=j.metadata,x=j.selector,k=j.error,C=j.regExp,S="."+j.namespace,T="module-"+j.namespace,A=e(this),$={},E=!0,O=0,D=this,L=A.data(T);b={initialize:function(){b.debug("Initializing tab menu item",A),b.fix.callbacks(),b.determineTabs(),b.debug("Determining tabs",j.context,h),j.auto&&b.set.auto(),b.bind.events(),j.history&&!p&&(b.initializeHistory(),p=!0),j.autoTabActivation&&L===i&&null==b.determine.activeTab()&&(b.debug("No active tab detected, setting first tab active",b.get.initialPath()),b.changeTab(!0===j.autoTabActivation?b.get.initialPath():j.autoTabActivation)),b.instantiate()},instantiate:function(){b.verbose("Storing instance of module",b),L=b,A.data(T,b)},destroy:function(){b.debug("Destroying tabs",A),A.removeData(T).off(S)},bind:{events:function(){e.isWindow(D)||(b.debug("Attaching tab activation events to element",A),A.on("click"+S,b.event.click))}},determineTabs:function(){var t;"parent"===j.context?(A.closest(x.ui).length>0?(t=A.closest(x.ui),b.verbose("Using closest UI element as parent",t)):t=A,m=t.parent(),b.verbose("Determined parent element for creating context",m)):j.context?(m=e(j.context),b.verbose("Using selector for tab context",j.context,m)):m=e("body"),j.childrenOnly?(h=m.children(x.tabs),b.debug("Searching tab context children for tabs",m,h)):(h=m.find(x.tabs),b.debug("Searching tab context for tabs",m,h))},fix:{callbacks:function(){e.isPlainObject(o)&&(o.onTabLoad||o.onTabInit)&&(o.onTabLoad&&(o.onLoad=o.onTabLoad,delete o.onTabLoad,b.error(k.legacyLoad,o.onLoad)),o.onTabInit&&(o.onFirstLoad=o.onTabInit,delete o.onTabInit,b.error(k.legacyInit,o.onFirstLoad)),j=e.extend(!0,{},e.fn.tab.settings,o))}},initializeHistory:function(){if(b.debug("Initializing page state"),e.address===i)return b.error(k.state),!1;if("state"==j.historyType){if(b.debug("Using HTML5 to manage state"),!1===j.path)return b.error(k.path),!1;e.address.history(!0).state(j.path)}e.address.bind("change",b.event.history.change)},event:{click:function(t){var n=e(this).data(w.tab);n!==i?(j.history?(b.verbose("Updating page state",t),e.address.value(n)):(b.verbose("Changing tab",t),b.changeTab(n)),t.preventDefault()):b.debug("No tab specified")},history:{change:function(t){var n=t.pathNames.join("/")||b.get.initialPath(),o=j.templates.determineTitle(n)||!1;b.performance.display(),b.debug("History change event",n,t),y=t,n!==i&&b.changeTab(n),o&&e.address.title(o)}}},refresh:function(){g&&(b.debug("Refreshing tab",g),b.changeTab(g))},cache:{read:function(e){return e!==i&&$[e]},add:function(e,t){e=e||g,b.debug("Adding cached content for",e),$[e]=t},remove:function(e){e=e||g,b.debug("Removing cached content for",e),delete $[e]}},escape:{string:function(e){return(e=String(e)).replace(C.escape,"\\$&")}},set:{auto:function(){var t="string"==typeof j.path?j.path.replace(/\/$/,"")+"/{$tab}":"/{$tab}";b.verbose("Setting up automatic tab retrieval from server",t),e.isPlainObject(j.apiSettings)?j.apiSettings.url=t:j.apiSettings={url:t}},loading:function(e){var t=b.get.tabElement(e);t.hasClass(_.loading)||(b.verbose("Setting loading state for",t),t.addClass(_.loading).siblings(h).removeClass(_.active+" "+_.loading),t.length>0&&j.onRequest.call(t[0],e))},state:function(t){e.address.value(t)}},changeTab:function(n){var i=t.history&&t.history.pushState&&j.ignoreFirstLoad&&E,o=j.auto||e.isPlainObject(j.apiSettings),r=o&&!i?b.utilities.pathToArray(n):b.get.defaultPathArray(n);n=b.utilities.arrayToPath(r),e.each(r,(function(t,a){var s,l,c,u,d=r.slice(0,t+1),f=b.utilities.arrayToPath(d),p=b.is.tab(f),h=t+1==r.length,x=b.get.tabElement(f);if(b.verbose("Looking for tab",a),p){if(b.verbose("Tab was found",a),g=f,v=b.utilities.filterArray(r,d),h?u=!0:(l=r.slice(0,t+2),c=b.utilities.arrayToPath(l),(u=!b.is.tab(c))&&b.verbose("Tab parameters found",l)),u&&o)return i?(b.debug("Ignoring remote content on first tab load",f),E=!1,b.cache.add(n,x.html()),b.activate.all(f),j.onFirstLoad.call(x[0],f,v,y),j.onLoad.call(x[0],f,v,y)):(b.activate.navigation(f),b.fetch.content(f,n)),!1;b.debug("Opened local tab",f),b.activate.all(f),b.cache.read(f)||(b.cache.add(f,!0),b.debug("First time tab loaded calling tab init"),j.onFirstLoad.call(x[0],f,v,y)),j.onLoad.call(x[0],f,v,y)}else{if(-1!=n.search("/")||""===n)return b.error(k.missingTab,A,m,f),!1;if(n=b.escape.string(n),f=(s=e("#"+n+', a[name="'+n+'"]')).closest("[data-tab]").data(w.tab),x=b.get.tabElement(f),s&&s.length>0&&f)return b.debug("Anchor link used, opening parent tab",x,s),x.hasClass(_.active)||setTimeout((function(){b.scrollTo(s)}),0),b.activate.all(f),b.cache.read(f)||(b.cache.add(f,!0),b.debug("First time tab loaded calling tab init"),j.onFirstLoad.call(x[0],f,v,y)),j.onLoad.call(x[0],f,v,y),!1}}))},scrollTo:function(t){var i=!!(t&&t.length>0)&&t.offset().top;!1!==i&&(b.debug("Forcing scroll to an in-page link in a hidden tab",i,t),e(n).scrollTop(i))},update:{content:function(t,n,o){var r=b.get.tabElement(t),a=r[0];o=o!==i?o:j.evaluateScripts,"string"==typeof j.cacheType&&"dom"==j.cacheType.toLowerCase()&&"string"!=typeof n?r.empty().append(e(n).clone(!0)):o?(b.debug("Updating HTML and evaluating inline scripts",t,n),r.html(n)):(b.debug("Updating HTML",t,n),a.innerHTML=n)}},fetch:{content:function(t,n){var o,r,a=b.get.tabElement(t),s={dataType:"html",encodeParameters:!1,on:"now",cache:j.alwaysRefresh,headers:{"X-Remote":!0},onSuccess:function(e){"response"==j.cacheType&&b.cache.add(n,e),b.update.content(t,e),t==g?(b.debug("Content loaded",t),b.activate.tab(t)):b.debug("Content loaded in background",t),j.onFirstLoad.call(a[0],t,v,y),j.onLoad.call(a[0],t,v,y),j.loadOnce?b.cache.add(n,!0):"string"==typeof j.cacheType&&"dom"==j.cacheType.toLowerCase()&&a.children().length>0?setTimeout((function(){var e=a.children().clone(!0);e=e.not("script"),b.cache.add(n,e)}),0):b.cache.add(n,a.html())},urlData:{tab:n}},l=a.api("get request")||!1,c=l&&"pending"===l.state();n=n||t,r=b.cache.read(n),j.cache&&r?(b.activate.tab(t),b.debug("Adding cached content",n),j.loadOnce||("once"==j.evaluateScripts?b.update.content(t,r,!1):b.update.content(t,r)),j.onLoad.call(a[0],t,v,y)):c?(b.set.loading(t),b.debug("Content is already loading",n)):e.api!==i?(o=e.extend(!0,{},j.apiSettings,s),b.debug("Retrieving remote content",n,o),b.set.loading(t),a.api(o)):b.error(k.api)}},activate:{all:function(e){b.activate.tab(e),b.activate.navigation(e)},tab:function(e){var t=b.get.tabElement(e),n="siblings"==j.deactivate?t.siblings(h):h.not(t),i=t.hasClass(_.active);b.verbose("Showing tab content for",t),i||(t.addClass(_.active),n.removeClass(_.active+" "+_.loading),t.length>0&&j.onVisible.call(t[0],e))},navigation:function(e){var t=b.get.navElement(e),n="siblings"==j.deactivate?t.siblings(a):a.not(t),i=t.hasClass(_.active);b.verbose("Activating tab navigation for",t,e),i||(t.addClass(_.active),n.removeClass(_.active+" "+_.loading))}},deactivate:{all:function(){b.deactivate.navigation(),b.deactivate.tabs()},navigation:function(){a.removeClass(_.active)},tabs:function(){h.removeClass(_.active+" "+_.loading)}},is:{tab:function(e){return e!==i&&b.get.tabElement(e).length>0}},get:{initialPath:function(){return a.eq(0).data(w.tab)||h.eq(0).data(w.tab)},path:function(){return e.address.value()},defaultPathArray:function(e){return b.utilities.pathToArray(b.get.defaultPath(e))},defaultPath:function(e){var t=a.filter("[data-"+w.tab+'^="'+b.escape.string(e)+'/"]').eq(0).data(w.tab)||!1;if(t){if(b.debug("Found default tab",t),O<j.maxDepth)return O++,b.get.defaultPath(t);b.error(k.recursion)}else b.debug("No default tabs found for",e,h);return O=0,e},navElement:function(e){return e=e||g,a.filter("[data-"+w.tab+'="'+b.escape.string(e)+'"]')},tabElement:function(e){var t,n,i,o;return e=e||g,i=b.utilities.pathToArray(e),o=b.utilities.last(i),t=h.filter("[data-"+w.tab+'="'+b.escape.string(e)+'"]'),n=h.filter("[data-"+w.tab+'="'+b.escape.string(o)+'"]'),t.length>0?t:n},tab:function(){return g}},determine:{activeTab:function(){var t=null;return h.each((function(n,i){if(e(i).hasClass(_.active)){var o=e(this).data(w.tab);a.filter("[data-"+w.tab+'="'+b.escape.string(o)+'"]').hasClass(_.active)&&(t=o)}})),t}},utilities:{filterArray:function(t,n){return e.grep(t,(function(t){return-1==e.inArray(t,n)}))},last:function(e){return!!Array.isArray(e)&&e[e.length-1]},pathToArray:function(e){return e===i&&(e=g),"string"==typeof e?e.split("/"):[e]},arrayToPath:function(e){return!!Array.isArray(e)&&e.join("/")}},setting:function(t,n){if(b.debug("Changing setting",t,n),e.isPlainObject(t))e.extend(!0,j,t);else{if(n===i)return j[t];e.isPlainObject(j[t])?e.extend(!0,j[t],n):j[t]=n}},internal:function(t,n){if(e.isPlainObject(t))e.extend(!0,b,t);else{if(n===i)return b[t];b[t]=n}},debug:function(){!j.silent&&j.debug&&(j.performance?b.performance.log(arguments):(b.debug=Function.prototype.bind.call(console.info,console,j.name+":"),b.debug.apply(console,arguments)))},verbose:function(){!j.silent&&j.verbose&&j.debug&&(j.performance?b.performance.log(arguments):(b.verbose=Function.prototype.bind.call(console.info,console,j.name+":"),b.verbose.apply(console,arguments)))},error:function(){j.silent||(b.error=Function.prototype.bind.call(console.error,console,j.name+":"),b.error.apply(console,arguments))},performance:{log:function(e){var t,n;j.performance&&(n=(t=(new Date).getTime())-(l||t),l=t,c.push({Name:e[0],Arguments:[].slice.call(e,1)||"",Element:D,"Execution Time":n})),clearTimeout(b.performance.timer),b.performance.timer=setTimeout(b.performance.display,500)},display:function(){var t=j.name+":",n=0;l=!1,clearTimeout(b.performance.timer),e.each(c,(function(e,t){n+=t["Execution Time"]})),t+=" "+n+"ms",s&&(t+=" '"+s+"'"),(console.group!==i||console.table!==i)&&c.length>0&&(console.groupCollapsed(t),console.table?console.table(c):e.each(c,(function(e,t){console.log(t.Name+": "+t["Execution Time"]+"ms")})),console.groupEnd()),c=[]}},invoke:function(t,n,o){var a,s,l,c=L;return n=n||f,o=D||o,"string"==typeof t&&c!==i&&(t=t.split(/[\. ]/),a=t.length-1,e.each(t,(function(n,o){var r=n!=a?o+t[n+1].charAt(0).toUpperCase()+t[n+1].slice(1):t;if(e.isPlainObject(c[r])&&n!=a)c=c[r];else{if(c[r]!==i)return s=c[r],!1;if(!e.isPlainObject(c[o])||n==a)return c[o]!==i?(s=c[o],!1):(b.error(k.method,t),!1);c=c[o]}}))),e.isFunction(s)?l=s.apply(o,n):s!==i&&(l=s),Array.isArray(r)?r.push(l):r!==i?r=[r,l]:l!==i&&(r=l),s}},d?(L===i&&b.initialize(),b.invoke(u)):(L!==i&&L.invoke("destroy"),b.initialize())})),r!==i?r:this},e.tab=function(){e(t).tab.apply(this,arguments)},e.fn.tab.settings={name:"Tab",namespace:"tab",silent:!1,debug:!1,verbose:!1,performance:!0,auto:!1,history:!1,historyType:"hash",path:!1,context:!1,childrenOnly:!1,maxDepth:25,deactivate:"siblings",alwaysRefresh:!1,cache:!0,loadOnce:!1,cacheType:"response",ignoreFirstLoad:!1,apiSettings:!1,evaluateScripts:"once",autoTabActivation:!0,onFirstLoad:function(e,t,n){},onLoad:function(e,t,n){},onVisible:function(e,t,n){},onRequest:function(e,t,n){},templates:{determineTitle:function(e){}},error:{api:"You attempted to load content without API module",method:"The method you called is not defined",missingTab:"Activated tab cannot be found. Tabs are case-sensitive.",noContent:"The tab you specified is missing a content url.",path:"History enabled, but no path was specified",recursion:"Max recursive depth reached",legacyInit:"onTabInit has been renamed to onFirstLoad in 2.0, please adjust your code.",legacyLoad:"onTabLoad has been renamed to onLoad in 2.0. Please adjust your code",state:"History requires Asual's Address library <https://github.com/asual/jquery-address>"},regExp:{escape:/[-[\]{}()*+?.,\\^$|#\s:=@]/g},metadata:{tab:"tab",loaded:"loaded",promise:"promise"},className:{loading:"loading",active:"active"},selector:{tabs:".ui.tab",ui:".ui"}}}(jQuery,window,document),function(e,n,i,o){e.isFunction=e.isFunction||function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},n=void 0!==n&&n.Math==Math?n:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),e.fn.transition=function(){var n,r=e(this),a=r.selector||"",s=(new Date).getTime(),l=[],c=arguments,u=c[0],d=[].slice.call(arguments,1),f="string"==typeof u;return r.each((function(p){var m,h,g,v,b,y,j,_,w,x=e(this),k=this;(w={initialize:function(){m=w.get.settings.apply(k,c),v=m.className,g=m.error,b=m.metadata,_="."+m.namespace,j="module-"+m.namespace,h=x.data(j)||w,y=w.get.animationEndEvent(),f&&(f=w.invoke(u)),!1===f&&(w.verbose("Converted arguments into settings object",m),m.interval?w.delay(m.animate):w.animate(),w.instantiate())},instantiate:function(){w.verbose("Storing instance of module",w),h=w,x.data(j,h)},destroy:function(){w.verbose("Destroying previous module for",k),x.removeData(j)},refresh:function(){w.verbose("Refreshing display type on next animation"),delete w.displayType},forceRepaint:function(){w.verbose("Forcing element repaint");var e=x.parent(),t=x.next();0===t.length?x.detach().appendTo(e):x.detach().insertBefore(t)},repaint:function(){w.verbose("Repainting element");k.offsetWidth},delay:function(e){var t,n=w.get.animationDirection();n||(n=w.can.transition()?w.get.direction():"static"),e=e!==o?e:m.interval,t="auto"==m.reverse&&n==v.outward||1==m.reverse?(r.length-p)*m.interval:p*m.interval,w.debug("Delaying animation by",t),setTimeout(w.animate,t)},animate:function(e){if(m=e||m,!w.is.supported())return w.error(g.support),!1;if(w.debug("Preparing animation",m.animation),w.is.animating()){if(m.queue)return!m.allowRepeats&&w.has.direction()&&w.is.occurring()&&!0!==w.queuing?w.debug("Animation is currently occurring, preventing queueing same animation",m.animation):w.queue(m.animation),!1;if(!m.allowRepeats&&w.is.occurring())return w.debug("Animation is already occurring, will not execute repeated animation",m.animation),!1;w.debug("New animation started, completing previous early",m.animation),h.complete()}w.can.animate()?w.set.animating(m.animation):w.error(g.noAnimation,m.animation,k)},reset:function(){w.debug("Resetting animation to beginning conditions"),w.remove.animationCallbacks(),w.restore.conditions(),w.remove.animating()},queue:function(e){w.debug("Queueing animation of",e),w.queuing=!0,x.one(y+".queue"+_,(function(){w.queuing=!1,w.repaint(),w.animate.apply(this,m)}))},complete:function(e){e&&e.target===k&&e.stopPropagation(),w.debug("Animation complete",m.animation),w.remove.completeCallback(),w.remove.failSafe(),w.is.looping()||(w.is.outward()?(w.verbose("Animation is outward, hiding element"),w.restore.conditions(),w.hide()):w.is.inward()?(w.verbose("Animation is outward, showing element"),w.restore.conditions(),w.show()):(w.verbose("Static animation completed"),w.restore.conditions(),m.onComplete.call(k)))},force:{visible:function(){var e=x.attr("style"),t=w.get.userStyle(e),n=w.get.displayType(),i=t+"display: "+n+" !important;",o=x[0].style.display;return!n||"none"===o&&m.skipInlineHidden||x[0].tagName.match(/(script|link|style)/i)?(w.remove.transition(),!1):(w.verbose("Overriding default display to show element",n),x.attr("style",i),!0)},hidden:function(){var e=x.attr("style"),t=x.css("display"),n=e===o||""===e;"none"===t||w.is.hidden()?n&&x.removeAttr("style"):(w.verbose("Overriding default display to hide element"),x.css("display","none"))}},has:{direction:function(t){var n=!1;return"string"==typeof(t=t||m.animation)&&(t=t.split(" "),e.each(t,(function(e,t){t!==v.inward&&t!==v.outward||(n=!0)}))),n},inlineDisplay:function(){var e=x.attr("style")||"";return Array.isArray(e.match(/display.*?;/,""))}},set:{animating:function(e){w.remove.completeCallback(),e=e||m.animation;var t=w.get.animationClass(e);w.save.animation(t),w.force.visible()&&(w.remove.hidden(),w.remove.direction(),w.start.animation(t))},duration:function(e,t){((t="number"==typeof(t=t||m.duration)?t+"ms":t)||0===t)&&(w.verbose("Setting animation duration",t),x.css({"animation-duration":t}))},direction:function(e){(e=e||w.get.direction())==v.inward?w.set.inward():w.set.outward()},looping:function(){w.debug("Transition set to loop"),x.addClass(v.looping)},hidden:function(){x.addClass(v.transition).addClass(v.hidden)},inward:function(){w.debug("Setting direction to inward"),x.removeClass(v.outward).addClass(v.inward)},outward:function(){w.debug("Setting direction to outward"),x.removeClass(v.inward).addClass(v.outward)},visible:function(){x.addClass(v.transition).addClass(v.visible)}},start:{animation:function(e){e=e||w.get.animationClass(),w.debug("Starting tween",e),x.addClass(e).one(y+".complete"+_,w.complete),m.useFailSafe&&w.add.failSafe(),w.set.duration(m.duration),m.onStart.call(k)}},save:{animation:function(e){w.cache||(w.cache={}),w.cache.animation=e},displayType:function(e){"none"!==e&&x.data(b.displayType,e)},transitionExists:function(t,n){e.fn.transition.exists[t]=n,w.verbose("Saving existence of transition",t,n)}},restore:{conditions:function(){var e=w.get.currentAnimation();e&&(x.removeClass(e),w.verbose("Removing animation class",w.cache)),w.remove.duration()}},add:{failSafe:function(){var e=w.get.duration();w.timer=setTimeout((function(){x.triggerHandler(y)}),e+m.failSafeDelay),w.verbose("Adding fail safe timer",w.timer)}},remove:{animating:function(){x.removeClass(v.animating)},animationCallbacks:function(){w.remove.queueCallback(),w.remove.completeCallback()},queueCallback:function(){x.off(".queue"+_)},completeCallback:function(){x.off(".complete"+_)},display:function(){x.css("display","")},direction:function(){x.removeClass(v.inward).removeClass(v.outward)},duration:function(){x.css("animation-duration","")},failSafe:function(){w.verbose("Removing fail safe timer",w.timer),w.timer&&clearTimeout(w.timer)},hidden:function(){x.removeClass(v.hidden)},visible:function(){x.removeClass(v.visible)},looping:function(){w.debug("Transitions are no longer looping"),w.is.looping()&&(w.reset(),x.removeClass(v.looping))},transition:function(){x.removeClass(v.transition).removeClass(v.visible).removeClass(v.hidden)}},get:{settings:function(n,i,o){return"object"==t()(n)?e.extend(!0,{},e.fn.transition.settings,n):"function"==typeof o?e.extend({},e.fn.transition.settings,{animation:n,onComplete:o,duration:i}):"string"==typeof i||"number"==typeof i?e.extend({},e.fn.transition.settings,{animation:n,duration:i}):"object"==t()(i)?e.extend({},e.fn.transition.settings,i,{animation:n}):"function"==typeof i?e.extend({},e.fn.transition.settings,{animation:n,onComplete:i}):e.extend({},e.fn.transition.settings,{animation:n})},animationClass:function(e){var t=e||m.animation,n=w.can.transition()&&!w.has.direction()?w.get.direction()+" ":"";return v.animating+" "+v.transition+" "+n+t},currentAnimation:function(){return!(!w.cache||w.cache.animation===o)&&w.cache.animation},currentDirection:function(){return w.is.inward()?v.inward:v.outward},direction:function(){return w.is.hidden()||!w.is.visible()?v.inward:v.outward},animationDirection:function(t){var n;return"string"==typeof(t=t||m.animation)&&(t=t.split(" "),e.each(t,(function(e,t){t===v.inward?n=v.inward:t===v.outward&&(n=v.outward)}))),n||!1},duration:function(e){return!1===(e=e||m.duration)&&(e=x.css("animation-duration")||0),"string"==typeof e?e.indexOf("ms")>-1?parseFloat(e):1e3*parseFloat(e):e},displayType:function(e){if(e=e===o||e,m.displayType)return m.displayType;if(e&&x.data(b.displayType)===o){var t=x.css("display");""===t||"none"===t?w.can.transition(!0):w.save.displayType(t)}return x.data(b.displayType)},userStyle:function(e){return(e=e||x.attr("style")||"").replace(/display.*?;/,"")},transitionExists:function(t){return e.fn.transition.exists[t]},animationStartEvent:function(){var e,t=i.createElement("div"),n={animation:"animationstart",OAnimation:"oAnimationStart",MozAnimation:"mozAnimationStart",WebkitAnimation:"webkitAnimationStart"};for(e in n)if(t.style[e]!==o)return n[e];return!1},animationEndEvent:function(){var e,t=i.createElement("div"),n={animation:"animationend",OAnimation:"oAnimationEnd",MozAnimation:"mozAnimationEnd",WebkitAnimation:"webkitAnimationEnd"};for(e in n)if(t.style[e]!==o)return n[e];return!1}},can:{transition:function(t){var n,i,r,a,s,l,c=m.animation,u=w.get.transitionExists(c),d=w.get.displayType(!1);if(u===o||t){if(w.verbose("Determining whether animation exists"),n=x.attr("class"),i=x.prop("tagName"),a=(r=e("<"+i+" />").addClass(n).insertAfter(x)).addClass(c).removeClass(v.inward).removeClass(v.outward).addClass(v.animating).addClass(v.transition).css("animationName"),s=r.addClass(v.inward).css("animationName"),d||(d=r.attr("class",n).removeAttr("style").removeClass(v.hidden).removeClass(v.visible).show().css("display"),w.verbose("Determining final display state",d),w.save.displayType(d)),r.remove(),a!=s)w.debug("Direction exists for animation",c),l=!0;else{if("none"==a||!a)return void w.debug("No animation defined in css",c);w.debug("Static animation found",c,d),l=!1}w.save.transitionExists(c,l)}return u!==o?u:l},animate:function(){return w.can.transition()!==o}},is:{animating:function(){return x.hasClass(v.animating)},inward:function(){return x.hasClass(v.inward)},outward:function(){return x.hasClass(v.outward)},looping:function(){return x.hasClass(v.looping)},occurring:function(e){return e="."+(e=e||m.animation).replace(" ","."),x.filter(e).length>0},visible:function(){return x.is(":visible")},hidden:function(){return"hidden"===x.css("visibility")},supported:function(){return!1!==y}},hide:function(){w.verbose("Hiding element"),w.is.animating()&&w.reset(),k.blur(),w.remove.display(),w.remove.visible(),e.isFunction(m.onBeforeHide)?m.onBeforeHide.call(k,(function(){w.hideNow()})):w.hideNow()},hideNow:function(){w.set.hidden(),w.force.hidden(),m.onHide.call(k),m.onComplete.call(k)},show:function(e){w.verbose("Showing element",e),w.force.visible()&&(w.remove.hidden(),w.set.visible(),m.onShow.call(k),m.onComplete.call(k))},toggle:function(){w.is.visible()?w.hide():w.show()},stop:function(){w.debug("Stopping current animation"),x.triggerHandler(y)},stopAll:function(){w.debug("Stopping all animation"),w.remove.queueCallback(),x.triggerHandler(y)},clear:{queue:function(){w.debug("Clearing animation queue"),w.remove.queueCallback()}},enable:function(){w.verbose("Starting animation"),x.removeClass(v.disabled)},disable:function(){w.debug("Stopping animation"),x.addClass(v.disabled)},setting:function(t,n){if(w.debug("Changing setting",t,n),e.isPlainObject(t))e.extend(!0,m,t);else{if(n===o)return m[t];e.isPlainObject(m[t])?e.extend(!0,m[t],n):m[t]=n}},internal:function(t,n){if(e.isPlainObject(t))e.extend(!0,w,t);else{if(n===o)return w[t];w[t]=n}},debug:function(){!m.silent&&m.debug&&(m.performance?w.performance.log(arguments):(w.debug=Function.prototype.bind.call(console.info,console,m.name+":"),w.debug.apply(console,arguments)))},verbose:function(){!m.silent&&m.verbose&&m.debug&&(m.performance?w.performance.log(arguments):(w.verbose=Function.prototype.bind.call(console.info,console,m.name+":"),w.verbose.apply(console,arguments)))},error:function(){m.silent||(w.error=Function.prototype.bind.call(console.error,console,m.name+":"),w.error.apply(console,arguments))},performance:{log:function(e){var t,n;m.performance&&(n=(t=(new Date).getTime())-(s||t),s=t,l.push({Name:e[0],Arguments:[].slice.call(e,1)||"",Element:k,"Execution Time":n})),clearTimeout(w.performance.timer),w.performance.timer=setTimeout(w.performance.display,500)},display:function(){var t=m.name+":",n=0;s=!1,clearTimeout(w.performance.timer),e.each(l,(function(e,t){n+=t["Execution Time"]})),t+=" "+n+"ms",a&&(t+=" '"+a+"'"),r.length>1&&(t+=" ("+r.length+")"),(console.group!==o||console.table!==o)&&l.length>0&&(console.groupCollapsed(t),console.table?console.table(l):e.each(l,(function(e,t){console.log(t.Name+": "+t["Execution Time"]+"ms")})),console.groupEnd()),l=[]}},invoke:function(t,i,r){var a,s,l,c=h;return i=i||d,r=k||r,"string"==typeof t&&c!==o&&(t=t.split(/[\. ]/),a=t.length-1,e.each(t,(function(n,i){var r=n!=a?i+t[n+1].charAt(0).toUpperCase()+t[n+1].slice(1):t;if(e.isPlainObject(c[r])&&n!=a)c=c[r];else{if(c[r]!==o)return s=c[r],!1;if(!e.isPlainObject(c[i])||n==a)return c[i]!==o&&(s=c[i],!1);c=c[i]}}))),e.isFunction(s)?l=s.apply(r,i):s!==o&&(l=s),Array.isArray(n)?n.push(l):n!==o?n=[n,l]:l!==o&&(n=l),s!==o&&s}}).initialize()})),n!==o?n:this},e.fn.transition.exists={},e.fn.transition.settings={name:"Transition",silent:!1,debug:!1,verbose:!1,performance:!0,namespace:"transition",interval:0,reverse:"auto",onStart:function(){},onComplete:function(){},onShow:function(){},onHide:function(){},useFailSafe:!0,failSafeDelay:100,allowRepeats:!1,displayType:!1,animation:"fade",duration:!1,queue:!0,skipInlineHidden:!1,metadata:{displayType:"display"},className:{animating:"animating",disabled:"disabled",hidden:"hidden",inward:"in",loading:"loading",looping:"looping",outward:"out",transition:"transition",visible:"visible"},error:{noAnimation:"Element is no longer attached to DOM. Unable to animate. Use silent setting to surpress this warning in production.",repeated:"That animation is already occurring, cancelling repeated animation",method:"The method you called is not defined",support:"This browser does not support CSS animations"}}}(jQuery,window,document)}(),function(){"use strict";s("./node_modules/core-js/modules/es.symbol.js"),s("./node_modules/core-js/modules/es.symbol.description.js"),s("./node_modules/core-js/modules/es.array.concat.js"),s("./node_modules/core-js/modules/es.array.filter.js"),s("./node_modules/core-js/modules/es.array.find.js"),s("./node_modules/core-js/modules/es.array.for-each.js"),s("./node_modules/core-js/modules/es.array.includes.js"),s("./node_modules/core-js/modules/es.array.is-array.js"),s("./node_modules/core-js/modules/es.array.iterator.js"),s("./node_modules/core-js/modules/es.array.join.js"),s("./node_modules/core-js/modules/es.array.last-index-of.js"),s("./node_modules/core-js/modules/es.array.map.js"),s("./node_modules/core-js/modules/es.array.slice.js"),s("./node_modules/core-js/modules/es.array.sort.js"),s("./node_modules/core-js/modules/es.date.to-string.js"),s("./node_modules/core-js/modules/es.function.name.js"),s("./node_modules/core-js/modules/es.number.constructor.js"),s("./node_modules/core-js/modules/es.number.is-nan.js"),s("./node_modules/core-js/modules/es.object.entries.js"),s("./node_modules/core-js/modules/es.object.keys.js"),s("./node_modules/core-js/modules/es.object.to-string.js"),s("./node_modules/core-js/modules/es.parse-int.js"),s("./node_modules/core-js/modules/es.promise.js"),s("./node_modules/core-js/modules/es.regexp.constructor.js"),s("./node_modules/core-js/modules/es.regexp.exec.js"),s("./node_modules/core-js/modules/es.regexp.to-string.js"),s("./node_modules/core-js/modules/es.string.includes.js"),s("./node_modules/core-js/modules/es.string.iterator.js"),s("./node_modules/core-js/modules/es.string.match.js"),s("./node_modules/core-js/modules/es.string.replace.js"),s("./node_modules/core-js/modules/es.string.search.js"),s("./node_modules/core-js/modules/es.string.split.js"),s("./node_modules/core-js/modules/es.string.starts-with.js"),s("./node_modules/core-js/modules/es.string.trim.js"),s("./node_modules/core-js/modules/es.string.anchor.js"),s("./node_modules/core-js/modules/web.dom-collections.for-each.js"),s("./node_modules/core-js/modules/web.dom-collections.iterator.js"),s("./node_modules/core-js/modules/web.timers.js"),s("./node_modules/core-js/modules/web.url.js");var e=s("./node_modules/@babel/runtime/helpers/slicedToArray.js"),t=s.n(e),n=s("./node_modules/@babel/runtime/regenerator/index.js"),i=s.n(n),o=(s("./node_modules/regenerator-runtime/runtime.js"),s("./node_modules/@babel/runtime/helpers/asyncToGenerator.js")),r=s.n(o),a=(s("./node_modules/core-js/modules/es.string.ends-with.js"),window.config.StaticUrlPrefix);if(a)s.p=a.endsWith("/")?a:"".concat(a,"/");else{var l=new URL(document.currentScript.src);s.p=l.pathname.replace(/\/[^/]*?\/[^/]*?$/,"/")}var c=Object.freeze({});function u(e){return null==e}function d(e){return null!=e}function f(e){return!0===e}function p(e){return"string"==typeof e||"number"==typeof e||"symbol"==typeof e||"boolean"==typeof e}function m(e){return null!==e&&"object"==typeof e}var h=Object.prototype.toString;function g(e){return"[object Object]"===h.call(e)}function v(e){return"[object RegExp]"===h.call(e)}function b(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function y(e){return d(e)&&"function"==typeof e.then&&"function"==typeof e.catch}function j(e){return null==e?"":Array.isArray(e)||g(e)&&e.toString===h?JSON.stringify(e,null,2):String(e)}function _(e){var t=parseFloat(e);return isNaN(t)?e:t}function w(e,t){for(var n=Object.create(null),i=e.split(","),o=0;o<i.length;o++)n[i[o]]=!0;return t?function(e){return n[e.toLowerCase()]}:function(e){return n[e]}}var x=w("slot,component",!0),k=w("key,ref,slot,slot-scope,is");function C(e,t){if(e.length){var n=e.indexOf(t);if(n>-1)return e.splice(n,1)}}var S=Object.prototype.hasOwnProperty;function T(e,t){return S.call(e,t)}function A(e){var t=Object.create(null);return function(n){return t[n]||(t[n]=e(n))}}var E=/-(\w)/g,O=A((function(e){return e.replace(E,(function(e,t){return t?t.toUpperCase():""}))})),D=A((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})),L=/\B([A-Z])/g,I=A((function(e){return e.replace(L,"-$1").toLowerCase()}));var R=Function.prototype.bind?function(e,t){return e.bind(t)}:function(e,t){function n(n){var i=arguments.length;return i?i>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n};function P(e,t){t=t||0;for(var n=e.length-t,i=new Array(n);n--;)i[n]=e[n+t];return i}function F(e,t){for(var n in t)e[n]=t[n];return e}function N(e){for(var t={},n=0;n<e.length;n++)e[n]&&F(t,e[n]);return t}function M(e,t,n){}var q=function(e,t,n){return!1},z=function(e){return e};function H(e,t){if(e===t)return!0;var n=m(e),i=m(t);if(!n||!i)return!n&&!i&&String(e)===String(t);try{var o=Array.isArray(e),r=Array.isArray(t);if(o&&r)return e.length===t.length&&e.every((function(e,n){return H(e,t[n])}));if(e instanceof Date&&t instanceof Date)return e.getTime()===t.getTime();if(o||r)return!1;var a=Object.keys(e),s=Object.keys(t);return a.length===s.length&&a.every((function(n){return H(e[n],t[n])}))}catch(e){return!1}}function U(e,t){for(var n=0;n<e.length;n++)if(H(e[n],t))return n;return-1}function B(e){var t=!1;return function(){t||(t=!0,e.apply(this,arguments))}}var V="data-server-rendered",W=["component","directive","filter"],Q=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch"],G={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:q,isReservedAttr:q,isUnknownElement:q,getTagNamespace:M,parsePlatformTagName:z,mustUseProp:q,async:!0,_lifecycleHooks:Q},X=/a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/;function Y(e){var t=(e+"").charCodeAt(0);return 36===t||95===t}function K(e,t,n,i){Object.defineProperty(e,t,{value:n,enumerable:!!i,writable:!0,configurable:!0})}var J=new RegExp("[^"+X.source+".$_\\d]");var Z,ee="__proto__"in{},te="undefined"!=typeof window,ne="undefined"!=typeof WXEnvironment&&!!WXEnvironment.platform,ie=ne&&WXEnvironment.platform.toLowerCase(),oe=te&&window.navigator.userAgent.toLowerCase(),re=oe&&/msie|trident/.test(oe),ae=oe&&oe.indexOf("msie 9.0")>0,se=oe&&oe.indexOf("edge/")>0,le=(oe&&oe.indexOf("android"),oe&&/iphone|ipad|ipod|ios/.test(oe)||"ios"===ie),ce=(oe&&/chrome\/\d+/.test(oe),oe&&/phantomjs/.test(oe),oe&&oe.match(/firefox\/(\d+)/)),ue={}.watch,de=!1;if(te)try{var fe={};Object.defineProperty(fe,"passive",{get:function(){de=!0}}),window.addEventListener("test-passive",null,fe)}catch(e){}var pe=function(){return void 0===Z&&(Z=!te&&!ne&&void 0!==s.g&&(s.g.process&&"server"===s.g.process.env.VUE_ENV)),Z},me=te&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function he(e){return"function"==typeof e&&/native code/.test(e.toString())}var ge,ve="undefined"!=typeof Symbol&&he(Symbol)&&"undefined"!=typeof Reflect&&he(Reflect.ownKeys);ge="undefined"!=typeof Set&&he(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var be=M,ye=0,je=function(){this.id=ye++,this.subs=[]};je.prototype.addSub=function(e){this.subs.push(e)},je.prototype.removeSub=function(e){C(this.subs,e)},je.prototype.depend=function(){je.target&&je.target.addDep(this)},je.prototype.notify=function(){var e=this.subs.slice();for(var t=0,n=e.length;t<n;t++)e[t].update()},je.target=null;var _e=[];function we(e){_e.push(e),je.target=e}function xe(){_e.pop(),je.target=_e[_e.length-1]}var ke=function(e,t,n,i,o,r,a,s){this.tag=e,this.data=t,this.children=n,this.text=i,this.elm=o,this.ns=void 0,this.context=r,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=t&&t.key,this.componentOptions=a,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=s,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1},Ce={child:{configurable:!0}};Ce.child.get=function(){return this.componentInstance},Object.defineProperties(ke.prototype,Ce);var Se=function(e){void 0===e&&(e="");var t=new ke;return t.text=e,t.isComment=!0,t};function Te(e){return new ke(void 0,void 0,void 0,String(e))}function Ae(e){var t=new ke(e.tag,e.data,e.children&&e.children.slice(),e.text,e.elm,e.context,e.componentOptions,e.asyncFactory);return t.ns=e.ns,t.isStatic=e.isStatic,t.key=e.key,t.isComment=e.isComment,t.fnContext=e.fnContext,t.fnOptions=e.fnOptions,t.fnScopeId=e.fnScopeId,t.asyncMeta=e.asyncMeta,t.isCloned=!0,t}var $e=Array.prototype,Ee=Object.create($e);["push","pop","shift","unshift","splice","sort","reverse"].forEach((function(e){var t=$e[e];K(Ee,e,(function(){for(var n=[],i=arguments.length;i--;)n[i]=arguments[i];var o,r=t.apply(this,n),a=this.__ob__;switch(e){case"push":case"unshift":o=n;break;case"splice":o=n.slice(2)}return o&&a.observeArray(o),a.dep.notify(),r}))}));var Oe=Object.getOwnPropertyNames(Ee),De=!0;function Le(e){De=e}var Ie=function(e){this.value=e,this.dep=new je,this.vmCount=0,K(e,"__ob__",this),Array.isArray(e)?(ee?function(e,t){e.__proto__=t}(e,Ee):function(e,t,n){for(var i=0,o=n.length;i<o;i++){var r=n[i];K(e,r,t[r])}}(e,Ee,Oe),this.observeArray(e)):this.walk(e)};function Re(e,t){var n;if(m(e)&&!(e instanceof ke))return T(e,"__ob__")&&e.__ob__ instanceof Ie?n=e.__ob__:De&&!pe()&&(Array.isArray(e)||g(e))&&Object.isExtensible(e)&&!e._isVue&&(n=new Ie(e)),t&&n&&n.vmCount++,n}function Pe(e,t,n,i,o){var r=new je,a=Object.getOwnPropertyDescriptor(e,t);if(!a||!1!==a.configurable){var s=a&&a.get,l=a&&a.set;s&&!l||2!==arguments.length||(n=e[t]);var c=!o&&Re(n);Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){var t=s?s.call(e):n;return je.target&&(r.depend(),c&&(c.dep.depend(),Array.isArray(t)&&Me(t))),t},set:function(t){var i=s?s.call(e):n;t===i||t!=t&&i!=i||s&&!l||(l?l.call(e,t):n=t,c=!o&&Re(t),r.notify())}})}}function Fe(e,t,n){if(Array.isArray(e)&&b(t))return e.length=Math.max(e.length,t),e.splice(t,1,n),n;if(t in e&&!(t in Object.prototype))return e[t]=n,n;var i=e.__ob__;return e._isVue||i&&i.vmCount?n:i?(Pe(i.value,t,n),i.dep.notify(),n):(e[t]=n,n)}function Ne(e,t){if(Array.isArray(e)&&b(t))e.splice(t,1);else{var n=e.__ob__;e._isVue||n&&n.vmCount||T(e,t)&&(delete e[t],n&&n.dep.notify())}}function Me(e){for(var t=void 0,n=0,i=e.length;n<i;n++)(t=e[n])&&t.__ob__&&t.__ob__.dep.depend(),Array.isArray(t)&&Me(t)}Ie.prototype.walk=function(e){for(var t=Object.keys(e),n=0;n<t.length;n++)Pe(e,t[n])},Ie.prototype.observeArray=function(e){for(var t=0,n=e.length;t<n;t++)Re(e[t])};var qe=G.optionMergeStrategies;function ze(e,t){if(!t)return e;for(var n,i,o,r=ve?Reflect.ownKeys(t):Object.keys(t),a=0;a<r.length;a++)"__ob__"!==(n=r[a])&&(i=e[n],o=t[n],T(e,n)?i!==o&&g(i)&&g(o)&&ze(i,o):Fe(e,n,o));return e}function He(e,t,n){return n?function(){var i="function"==typeof t?t.call(n,n):t,o="function"==typeof e?e.call(n,n):e;return i?ze(i,o):o}:t?e?function(){return ze("function"==typeof t?t.call(this,this):t,"function"==typeof e?e.call(this,this):e)}:t:e}function Ue(e,t){var n=t?e?e.concat(t):Array.isArray(t)?t:[t]:e;return n?function(e){for(var t=[],n=0;n<e.length;n++)-1===t.indexOf(e[n])&&t.push(e[n]);return t}(n):n}function Be(e,t,n,i){var o=Object.create(e||null);return t?F(o,t):o}qe.data=function(e,t,n){return n?He(e,t,n):t&&"function"!=typeof t?e:He(e,t)},Q.forEach((function(e){qe[e]=Ue})),W.forEach((function(e){qe[e+"s"]=Be})),qe.watch=function(e,t,n,i){if(e===ue&&(e=void 0),t===ue&&(t=void 0),!t)return Object.create(e||null);if(!e)return t;var o={};for(var r in F(o,e),t){var a=o[r],s=t[r];a&&!Array.isArray(a)&&(a=[a]),o[r]=a?a.concat(s):Array.isArray(s)?s:[s]}return o},qe.props=qe.methods=qe.inject=qe.computed=function(e,t,n,i){if(!e)return t;var o=Object.create(null);return F(o,e),t&&F(o,t),o},qe.provide=He;var Ve=function(e,t){return void 0===t?e:t};function We(e,t,n){if("function"==typeof t&&(t=t.options),function(e,t){var n=e.props;if(n){var i,o,r={};if(Array.isArray(n))for(i=n.length;i--;)"string"==typeof(o=n[i])&&(r[O(o)]={type:null});else if(g(n))for(var a in n)o=n[a],r[O(a)]=g(o)?o:{type:o};e.props=r}}(t),function(e,t){var n=e.inject;if(n){var i=e.inject={};if(Array.isArray(n))for(var o=0;o<n.length;o++)i[n[o]]={from:n[o]};else if(g(n))for(var r in n){var a=n[r];i[r]=g(a)?F({from:r},a):{from:a}}}}(t),function(e){var t=e.directives;if(t)for(var n in t){var i=t[n];"function"==typeof i&&(t[n]={bind:i,update:i})}}(t),!t._base&&(t.extends&&(e=We(e,t.extends,n)),t.mixins))for(var i=0,o=t.mixins.length;i<o;i++)e=We(e,t.mixins[i],n);var r,a={};for(r in e)s(r);for(r in t)T(e,r)||s(r);function s(i){var o=qe[i]||Ve;a[i]=o(e[i],t[i],n,i)}return a}function Qe(e,t,n,i){if("string"==typeof n){var o=e[t];if(T(o,n))return o[n];var r=O(n);if(T(o,r))return o[r];var a=D(r);return T(o,a)?o[a]:o[n]||o[r]||o[a]}}function Ge(e,t,n,i){var o=t[e],r=!T(n,e),a=n[e],s=Ke(Boolean,o.type);if(s>-1)if(r&&!T(o,"default"))a=!1;else if(""===a||a===I(e)){var l=Ke(String,o.type);(l<0||s<l)&&(a=!0)}if(void 0===a){a=function(e,t,n){if(!T(t,"default"))return;var i=t.default;0;if(e&&e.$options.propsData&&void 0===e.$options.propsData[n]&&void 0!==e._props[n])return e._props[n];return"function"==typeof i&&"Function"!==Xe(t.type)?i.call(e):i}(i,o,e);var c=De;Le(!0),Re(a),Le(c)}return a}function Xe(e){var t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:""}function Ye(e,t){return Xe(e)===Xe(t)}function Ke(e,t){if(!Array.isArray(t))return Ye(t,e)?0:-1;for(var n=0,i=t.length;n<i;n++)if(Ye(t[n],e))return n;return-1}function Je(e,t,n){we();try{if(t)for(var i=t;i=i.$parent;){var o=i.$options.errorCaptured;if(o)for(var r=0;r<o.length;r++)try{if(!1===o[r].call(i,e,t,n))return}catch(e){et(e,i,"errorCaptured hook")}}et(e,t,n)}finally{xe()}}function Ze(e,t,n,i,o){var r;try{(r=n?e.apply(t,n):e.call(t))&&!r._isVue&&y(r)&&!r._handled&&(r.catch((function(e){return Je(e,i,o+" (Promise/async)")})),r._handled=!0)}catch(e){Je(e,i,o)}return r}function et(e,t,n){if(G.errorHandler)try{return G.errorHandler.call(null,e,t,n)}catch(t){t!==e&&tt(t,null,"config.errorHandler")}tt(e,t,n)}function tt(e,t,n){if(!te&&!ne||"undefined"==typeof console)throw e;console.error(e)}var nt,it=!1,ot=[],rt=!1;function at(){rt=!1;var e=ot.slice(0);ot.length=0;for(var t=0;t<e.length;t++)e[t]()}if("undefined"!=typeof Promise&&he(Promise)){var st=Promise.resolve();nt=function(){st.then(at),le&&setTimeout(M)},it=!0}else if(re||"undefined"==typeof MutationObserver||!he(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())nt="undefined"!=typeof setImmediate&&he(setImmediate)?function(){setImmediate(at)}:function(){setTimeout(at,0)};else{var lt=1,ct=new MutationObserver(at),ut=document.createTextNode(String(lt));ct.observe(ut,{characterData:!0}),nt=function(){lt=(lt+1)%2,ut.data=String(lt)},it=!0}function dt(e,t){var n;if(ot.push((function(){if(e)try{e.call(t)}catch(e){Je(e,t,"nextTick")}else n&&n(t)})),rt||(rt=!0,nt()),!e&&"undefined"!=typeof Promise)return new Promise((function(e){n=e}))}var ft=new ge;function pt(e){mt(e,ft),ft.clear()}function mt(e,t){var n,i,o=Array.isArray(e);if(!(!o&&!m(e)||Object.isFrozen(e)||e instanceof ke)){if(e.__ob__){var r=e.__ob__.dep.id;if(t.has(r))return;t.add(r)}if(o)for(n=e.length;n--;)mt(e[n],t);else for(n=(i=Object.keys(e)).length;n--;)mt(e[i[n]],t)}}var ht=A((function(e){var t="&"===e.charAt(0),n="~"===(e=t?e.slice(1):e).charAt(0),i="!"===(e=n?e.slice(1):e).charAt(0);return{name:e=i?e.slice(1):e,once:n,capture:i,passive:t}}));function gt(e,t){function n(){var e=arguments,i=n.fns;if(!Array.isArray(i))return Ze(i,null,arguments,t,"v-on handler");for(var o=i.slice(),r=0;r<o.length;r++)Ze(o[r],null,e,t,"v-on handler")}return n.fns=e,n}function vt(e,t,n,i,o,r){var a,s,l,c;for(a in e)s=e[a],l=t[a],c=ht(a),u(s)||(u(l)?(u(s.fns)&&(s=e[a]=gt(s,r)),f(c.once)&&(s=e[a]=o(c.name,s,c.capture)),n(c.name,s,c.capture,c.passive,c.params)):s!==l&&(l.fns=s,e[a]=l));for(a in t)u(e[a])&&i((c=ht(a)).name,t[a],c.capture)}function bt(e,t,n){var i;e instanceof ke&&(e=e.data.hook||(e.data.hook={}));var o=e[t];function r(){n.apply(this,arguments),C(i.fns,r)}u(o)?i=gt([r]):d(o.fns)&&f(o.merged)?(i=o).fns.push(r):i=gt([o,r]),i.merged=!0,e[t]=i}function yt(e,t,n,i,o){if(d(t)){if(T(t,n))return e[n]=t[n],o||delete t[n],!0;if(T(t,i))return e[n]=t[i],o||delete t[i],!0}return!1}function jt(e){return p(e)?[Te(e)]:Array.isArray(e)?wt(e):void 0}function _t(e){return d(e)&&d(e.text)&&!1===e.isComment}function wt(e,t){var n,i,o,r,a=[];for(n=0;n<e.length;n++)u(i=e[n])||"boolean"==typeof i||(r=a[o=a.length-1],Array.isArray(i)?i.length>0&&(_t((i=wt(i,(t||"")+"_"+n))[0])&&_t(r)&&(a[o]=Te(r.text+i[0].text),i.shift()),a.push.apply(a,i)):p(i)?_t(r)?a[o]=Te(r.text+i):""!==i&&a.push(Te(i)):_t(i)&&_t(r)?a[o]=Te(r.text+i.text):(f(e._isVList)&&d(i.tag)&&u(i.key)&&d(t)&&(i.key="__vlist"+t+"_"+n+"__"),a.push(i)));return a}function xt(e,t){if(e){for(var n=Object.create(null),i=ve?Reflect.ownKeys(e):Object.keys(e),o=0;o<i.length;o++){var r=i[o];if("__ob__"!==r){for(var a=e[r].from,s=t;s;){if(s._provided&&T(s._provided,a)){n[r]=s._provided[a];break}s=s.$parent}if(!s)if("default"in e[r]){var l=e[r].default;n[r]="function"==typeof l?l.call(t):l}else 0}}return n}}function kt(e,t){if(!e||!e.length)return{};for(var n={},i=0,o=e.length;i<o;i++){var r=e[i],a=r.data;if(a&&a.attrs&&a.attrs.slot&&delete a.attrs.slot,r.context!==t&&r.fnContext!==t||!a||null==a.slot)(n.default||(n.default=[])).push(r);else{var s=a.slot,l=n[s]||(n[s]=[]);"template"===r.tag?l.push.apply(l,r.children||[]):l.push(r)}}for(var c in n)n[c].every(Ct)&&delete n[c];return n}function Ct(e){return e.isComment&&!e.asyncFactory||" "===e.text}function St(e,t,n){var i,o=Object.keys(t).length>0,r=e?!!e.$stable:!o,a=e&&e.$key;if(e){if(e._normalized)return e._normalized;if(r&&n&&n!==c&&a===n.$key&&!o&&!n.$hasNormal)return n;for(var s in i={},e)e[s]&&"$"!==s[0]&&(i[s]=Tt(t,s,e[s]))}else i={};for(var l in t)l in i||(i[l]=At(t,l));return e&&Object.isExtensible(e)&&(e._normalized=i),K(i,"$stable",r),K(i,"$key",a),K(i,"$hasNormal",o),i}function Tt(e,t,n){var i=function(){var e=arguments.length?n.apply(null,arguments):n({});return(e=e&&"object"==typeof e&&!Array.isArray(e)?[e]:jt(e))&&(0===e.length||1===e.length&&e[0].isComment)?void 0:e};return n.proxy&&Object.defineProperty(e,t,{get:i,enumerable:!0,configurable:!0}),i}function At(e,t){return function(){return e[t]}}function $t(e,t){var n,i,o,r,a;if(Array.isArray(e)||"string"==typeof e)for(n=new Array(e.length),i=0,o=e.length;i<o;i++)n[i]=t(e[i],i);else if("number"==typeof e)for(n=new Array(e),i=0;i<e;i++)n[i]=t(i+1,i);else if(m(e))if(ve&&e[Symbol.iterator]){n=[];for(var s=e[Symbol.iterator](),l=s.next();!l.done;)n.push(t(l.value,n.length)),l=s.next()}else for(r=Object.keys(e),n=new Array(r.length),i=0,o=r.length;i<o;i++)a=r[i],n[i]=t(e[a],a,i);return d(n)||(n=[]),n._isVList=!0,n}function Et(e,t,n,i){var o,r=this.$scopedSlots[e];r?(n=n||{},i&&(n=F(F({},i),n)),o=r(n)||t):o=this.$slots[e]||t;var a=n&&n.slot;return a?this.$createElement("template",{slot:a},o):o}function Ot(e){return Qe(this.$options,"filters",e)||z}function Dt(e,t){return Array.isArray(e)?-1===e.indexOf(t):e!==t}function Lt(e,t,n,i,o){var r=G.keyCodes[t]||n;return o&&i&&!G.keyCodes[t]?Dt(o,i):r?Dt(r,e):i?I(i)!==t:void 0}function It(e,t,n,i,o){if(n)if(m(n)){var r;Array.isArray(n)&&(n=N(n));var a=function(a){if("class"===a||"style"===a||k(a))r=e;else{var s=e.attrs&&e.attrs.type;r=i||G.mustUseProp(t,s,a)?e.domProps||(e.domProps={}):e.attrs||(e.attrs={})}var l=O(a),c=I(a);l in r||c in r||(r[a]=n[a],o&&((e.on||(e.on={}))["update:"+a]=function(e){n[a]=e}))};for(var s in n)a(s)}else;return e}function Rt(e,t){var n=this._staticTrees||(this._staticTrees=[]),i=n[e];return i&&!t||Ft(i=n[e]=this.$options.staticRenderFns[e].call(this._renderProxy,null,this),"__static__"+e,!1),i}function Pt(e,t,n){return Ft(e,"__once__"+t+(n?"_"+n:""),!0),e}function Ft(e,t,n){if(Array.isArray(e))for(var i=0;i<e.length;i++)e[i]&&"string"!=typeof e[i]&&Nt(e[i],t+"_"+i,n);else Nt(e,t,n)}function Nt(e,t,n){e.isStatic=!0,e.key=t,e.isOnce=n}function Mt(e,t){if(t)if(g(t)){var n=e.on=e.on?F({},e.on):{};for(var i in t){var o=n[i],r=t[i];n[i]=o?[].concat(o,r):r}}else;return e}function qt(e,t,n,i){t=t||{$stable:!n};for(var o=0;o<e.length;o++){var r=e[o];Array.isArray(r)?qt(r,t,n):r&&(r.proxy&&(r.fn.proxy=!0),t[r.key]=r.fn)}return i&&(t.$key=i),t}function zt(e,t){for(var n=0;n<t.length;n+=2){var i=t[n];"string"==typeof i&&i&&(e[t[n]]=t[n+1])}return e}function Ht(e,t){return"string"==typeof e?t+e:e}function Ut(e){e._o=Pt,e._n=_,e._s=j,e._l=$t,e._t=Et,e._q=H,e._i=U,e._m=Rt,e._f=Ot,e._k=Lt,e._b=It,e._v=Te,e._e=Se,e._u=qt,e._g=Mt,e._d=zt,e._p=Ht}function Bt(e,t,n,i,o){var r,a=this,s=o.options;T(i,"_uid")?(r=Object.create(i))._original=i:(r=i,i=i._original);var l=f(s._compiled),u=!l;this.data=e,this.props=t,this.children=n,this.parent=i,this.listeners=e.on||c,this.injections=xt(s.inject,i),this.slots=function(){return a.$slots||St(e.scopedSlots,a.$slots=kt(n,i)),a.$slots},Object.defineProperty(this,"scopedSlots",{enumerable:!0,get:function(){return St(e.scopedSlots,this.slots())}}),l&&(this.$options=s,this.$slots=this.slots(),this.$scopedSlots=St(e.scopedSlots,this.$slots)),s._scopeId?this._c=function(e,t,n,o){var a=Kt(r,e,t,n,o,u);return a&&!Array.isArray(a)&&(a.fnScopeId=s._scopeId,a.fnContext=i),a}:this._c=function(e,t,n,i){return Kt(r,e,t,n,i,u)}}function Vt(e,t,n,i,o){var r=Ae(e);return r.fnContext=n,r.fnOptions=i,t.slot&&((r.data||(r.data={})).slot=t.slot),r}function Wt(e,t){for(var n in t)e[O(n)]=t[n]}Ut(Bt.prototype);var Qt={init:function(e,t){if(e.componentInstance&&!e.componentInstance._isDestroyed&&e.data.keepAlive){var n=e;Qt.prepatch(n,n)}else{(e.componentInstance=function(e,t){var n={_isComponent:!0,_parentVnode:e,parent:t},i=e.data.inlineTemplate;d(i)&&(n.render=i.render,n.staticRenderFns=i.staticRenderFns);return new e.componentOptions.Ctor(n)}(e,cn)).$mount(t?e.elm:void 0,t)}},prepatch:function(e,t){var n=t.componentOptions;!function(e,t,n,i,o){0;var r=i.data.scopedSlots,a=e.$scopedSlots,s=!!(r&&!r.$stable||a!==c&&!a.$stable||r&&e.$scopedSlots.$key!==r.$key),l=!!(o||e.$options._renderChildren||s);e.$options._parentVnode=i,e.$vnode=i,e._vnode&&(e._vnode.parent=i);if(e.$options._renderChildren=o,e.$attrs=i.data.attrs||c,e.$listeners=n||c,t&&e.$options.props){Le(!1);for(var u=e._props,d=e.$options._propKeys||[],f=0;f<d.length;f++){var p=d[f],m=e.$options.props;u[p]=Ge(p,m,t,e)}Le(!0),e.$options.propsData=t}n=n||c;var h=e.$options._parentListeners;e.$options._parentListeners=n,ln(e,n,h),l&&(e.$slots=kt(o,i.context),e.$forceUpdate());0}(t.componentInstance=e.componentInstance,n.propsData,n.listeners,t,n.children)},insert:function(e){var t,n=e.context,i=e.componentInstance;i._isMounted||(i._isMounted=!0,mn(i,"mounted")),e.data.keepAlive&&(n._isMounted?((t=i)._inactive=!1,gn.push(t)):fn(i,!0))},destroy:function(e){var t=e.componentInstance;t._isDestroyed||(e.data.keepAlive?pn(t,!0):t.$destroy())}},Gt=Object.keys(Qt);function Xt(e,t,n,i,o){if(!u(e)){var r=n.$options._base;if(m(e)&&(e=r.extend(e)),"function"==typeof e){var a;if(u(e.cid)&&void 0===(e=function(e,t){if(f(e.error)&&d(e.errorComp))return e.errorComp;if(d(e.resolved))return e.resolved;var n=en;n&&d(e.owners)&&-1===e.owners.indexOf(n)&&e.owners.push(n);if(f(e.loading)&&d(e.loadingComp))return e.loadingComp;if(n&&!d(e.owners)){var i=e.owners=[n],o=!0,r=null,a=null;n.$on("hook:destroyed",(function(){return C(i,n)}));var s=function(e){for(var t=0,n=i.length;t<n;t++)i[t].$forceUpdate();e&&(i.length=0,null!==r&&(clearTimeout(r),r=null),null!==a&&(clearTimeout(a),a=null))},l=B((function(n){e.resolved=tn(n,t),o?i.length=0:s(!0)})),c=B((function(t){d(e.errorComp)&&(e.error=!0,s(!0))})),p=e(l,c);return m(p)&&(y(p)?u(e.resolved)&&p.then(l,c):y(p.component)&&(p.component.then(l,c),d(p.error)&&(e.errorComp=tn(p.error,t)),d(p.loading)&&(e.loadingComp=tn(p.loading,t),0===p.delay?e.loading=!0:r=setTimeout((function(){r=null,u(e.resolved)&&u(e.error)&&(e.loading=!0,s(!1))}),p.delay||200)),d(p.timeout)&&(a=setTimeout((function(){a=null,u(e.resolved)&&c(null)}),p.timeout)))),o=!1,e.loading?e.loadingComp:e.resolved}}(a=e,r)))return function(e,t,n,i,o){var r=Se();return r.asyncFactory=e,r.asyncMeta={data:t,context:n,children:i,tag:o},r}(a,t,n,i,o);t=t||{},Pn(e),d(t.model)&&function(e,t){var n=e.model&&e.model.prop||"value",i=e.model&&e.model.event||"input";(t.attrs||(t.attrs={}))[n]=t.model.value;var o=t.on||(t.on={}),r=o[i],a=t.model.callback;d(r)?(Array.isArray(r)?-1===r.indexOf(a):r!==a)&&(o[i]=[a].concat(r)):o[i]=a}(e.options,t);var s=function(e,t,n){var i=t.options.props;if(!u(i)){var o={},r=e.attrs,a=e.props;if(d(r)||d(a))for(var s in i){var l=I(s);yt(o,a,s,l,!0)||yt(o,r,s,l,!1)}return o}}(t,e);if(f(e.options.functional))return function(e,t,n,i,o){var r=e.options,a={},s=r.props;if(d(s))for(var l in s)a[l]=Ge(l,s,t||c);else d(n.attrs)&&Wt(a,n.attrs),d(n.props)&&Wt(a,n.props);var u=new Bt(n,a,o,i,e),f=r.render.call(null,u._c,u);if(f instanceof ke)return Vt(f,n,u.parent,r);if(Array.isArray(f)){for(var p=jt(f)||[],m=new Array(p.length),h=0;h<p.length;h++)m[h]=Vt(p[h],n,u.parent,r);return m}}(e,s,t,n,i);var l=t.on;if(t.on=t.nativeOn,f(e.options.abstract)){var p=t.slot;t={},p&&(t.slot=p)}!function(e){for(var t=e.hook||(e.hook={}),n=0;n<Gt.length;n++){var i=Gt[n],o=t[i],r=Qt[i];o===r||o&&o._merged||(t[i]=o?Yt(r,o):r)}}(t);var h=e.options.name||o;return new ke("vue-component-"+e.cid+(h?"-"+h:""),t,void 0,void 0,void 0,n,{Ctor:e,propsData:s,listeners:l,tag:o,children:i},a)}}}function Yt(e,t){var n=function(n,i){e(n,i),t(n,i)};return n._merged=!0,n}function Kt(e,t,n,i,o,r){return(Array.isArray(n)||p(n))&&(o=i,i=n,n=void 0),f(r)&&(o=2),function(e,t,n,i,o){if(d(n)&&d(n.__ob__))return Se();d(n)&&d(n.is)&&(t=n.is);if(!t)return Se();0;Array.isArray(i)&&"function"==typeof i[0]&&((n=n||{}).scopedSlots={default:i[0]},i.length=0);2===o?i=jt(i):1===o&&(i=function(e){for(var t=0;t<e.length;t++)if(Array.isArray(e[t]))return Array.prototype.concat.apply([],e);return e}(i));var r,a;if("string"==typeof t){var s;a=e.$vnode&&e.$vnode.ns||G.getTagNamespace(t),r=G.isReservedTag(t)?new ke(G.parsePlatformTagName(t),n,i,void 0,void 0,e):n&&n.pre||!d(s=Qe(e.$options,"components",t))?new ke(t,n,i,void 0,void 0,e):Xt(s,n,e,i,t)}else r=Xt(t,n,e,i);return Array.isArray(r)?r:d(r)?(d(a)&&Jt(r,a),d(n)&&function(e){m(e.style)&&pt(e.style);m(e.class)&&pt(e.class)}(n),r):Se()}(e,t,n,i,o)}function Jt(e,t,n){if(e.ns=t,"foreignObject"===e.tag&&(t=void 0,n=!0),d(e.children))for(var i=0,o=e.children.length;i<o;i++){var r=e.children[i];d(r.tag)&&(u(r.ns)||f(n)&&"svg"!==r.tag)&&Jt(r,t,n)}}var Zt,en=null;function tn(e,t){return(e.__esModule||ve&&"Module"===e[Symbol.toStringTag])&&(e=e.default),m(e)?t.extend(e):e}function nn(e){return e.isComment&&e.asyncFactory}function on(e){if(Array.isArray(e))for(var t=0;t<e.length;t++){var n=e[t];if(d(n)&&(d(n.componentOptions)||nn(n)))return n}}function rn(e,t){Zt.$on(e,t)}function an(e,t){Zt.$off(e,t)}function sn(e,t){var n=Zt;return function i(){var o=t.apply(null,arguments);null!==o&&n.$off(e,i)}}function ln(e,t,n){Zt=e,vt(t,n||{},rn,an,sn,e),Zt=void 0}var cn=null;function un(e){var t=cn;return cn=e,function(){cn=t}}function dn(e){for(;e&&(e=e.$parent);)if(e._inactive)return!0;return!1}function fn(e,t){if(t){if(e._directInactive=!1,dn(e))return}else if(e._directInactive)return;if(e._inactive||null===e._inactive){e._inactive=!1;for(var n=0;n<e.$children.length;n++)fn(e.$children[n]);mn(e,"activated")}}function pn(e,t){if(!(t&&(e._directInactive=!0,dn(e))||e._inactive)){e._inactive=!0;for(var n=0;n<e.$children.length;n++)pn(e.$children[n]);mn(e,"deactivated")}}function mn(e,t){we();var n=e.$options[t],i=t+" hook";if(n)for(var o=0,r=n.length;o<r;o++)Ze(n[o],e,null,e,i);e._hasHookEvent&&e.$emit("hook:"+t),xe()}var hn=[],gn=[],vn={},bn=!1,yn=!1,jn=0;var _n=0,wn=Date.now;if(te&&!re){var xn=window.performance;xn&&"function"==typeof xn.now&&wn()>document.createEvent("Event").timeStamp&&(wn=function(){return xn.now()})}function kn(){var e,t;for(_n=wn(),yn=!0,hn.sort((function(e,t){return e.id-t.id})),jn=0;jn<hn.length;jn++)(e=hn[jn]).before&&e.before(),t=e.id,vn[t]=null,e.run();var n=gn.slice(),i=hn.slice();jn=hn.length=gn.length=0,vn={},bn=yn=!1,function(e){for(var t=0;t<e.length;t++)e[t]._inactive=!0,fn(e[t],!0)}(n),function(e){var t=e.length;for(;t--;){var n=e[t],i=n.vm;i._watcher===n&&i._isMounted&&!i._isDestroyed&&mn(i,"updated")}}(i),me&&G.devtools&&me.emit("flush")}var Cn=0,Sn=function(e,t,n,i,o){this.vm=e,o&&(e._watcher=this),e._watchers.push(this),i?(this.deep=!!i.deep,this.user=!!i.user,this.lazy=!!i.lazy,this.sync=!!i.sync,this.before=i.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++Cn,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new ge,this.newDepIds=new ge,this.expression="","function"==typeof t?this.getter=t:(this.getter=function(e){if(!J.test(e)){var t=e.split(".");return function(e){for(var n=0;n<t.length;n++){if(!e)return;e=e[t[n]]}return e}}}(t),this.getter||(this.getter=M)),this.value=this.lazy?void 0:this.get()};Sn.prototype.get=function(){var e;we(this);var t=this.vm;try{e=this.getter.call(t,t)}catch(e){if(!this.user)throw e;Je(e,t,'getter for watcher "'+this.expression+'"')}finally{this.deep&&pt(e),xe(),this.cleanupDeps()}return e},Sn.prototype.addDep=function(e){var t=e.id;this.newDepIds.has(t)||(this.newDepIds.add(t),this.newDeps.push(e),this.depIds.has(t)||e.addSub(this))},Sn.prototype.cleanupDeps=function(){for(var e=this.deps.length;e--;){var t=this.deps[e];this.newDepIds.has(t.id)||t.removeSub(this)}var n=this.depIds;this.depIds=this.newDepIds,this.newDepIds=n,this.newDepIds.clear(),n=this.deps,this.deps=this.newDeps,this.newDeps=n,this.newDeps.length=0},Sn.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():function(e){var t=e.id;if(null==vn[t]){if(vn[t]=!0,yn){for(var n=hn.length-1;n>jn&&hn[n].id>e.id;)n--;hn.splice(n+1,0,e)}else hn.push(e);bn||(bn=!0,dt(kn))}}(this)},Sn.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||m(e)||this.deep){var t=this.value;if(this.value=e,this.user)try{this.cb.call(this.vm,e,t)}catch(e){Je(e,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,e,t)}}},Sn.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},Sn.prototype.depend=function(){for(var e=this.deps.length;e--;)this.deps[e].depend()},Sn.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||C(this.vm._watchers,this);for(var e=this.deps.length;e--;)this.deps[e].removeSub(this);this.active=!1}};var Tn={enumerable:!0,configurable:!0,get:M,set:M};function An(e,t,n){Tn.get=function(){return this[t][n]},Tn.set=function(e){this[t][n]=e},Object.defineProperty(e,n,Tn)}function $n(e){e._watchers=[];var t=e.$options;t.props&&function(e,t){var n=e.$options.propsData||{},i=e._props={},o=e.$options._propKeys=[];e.$parent&&Le(!1);var r=function(r){o.push(r);var a=Ge(r,t,n,e);Pe(i,r,a),r in e||An(e,"_props",r)};for(var a in t)r(a);Le(!0)}(e,t.props),t.methods&&function(e,t){e.$options.props;for(var n in t)e[n]="function"!=typeof t[n]?M:R(t[n],e)}(e,t.methods),t.data?function(e){var t=e.$options.data;g(t=e._data="function"==typeof t?function(e,t){we();try{return e.call(t,t)}catch(e){return Je(e,t,"data()"),{}}finally{xe()}}(t,e):t||{})||(t={});var n=Object.keys(t),i=e.$options.props,o=(e.$options.methods,n.length);for(;o--;){var r=n[o];0,i&&T(i,r)||Y(r)||An(e,"_data",r)}Re(t,!0)}(e):Re(e._data={},!0),t.computed&&function(e,t){var n=e._computedWatchers=Object.create(null),i=pe();for(var o in t){var r=t[o],a="function"==typeof r?r:r.get;0,i||(n[o]=new Sn(e,a||M,M,En)),o in e||On(e,o,r)}}(e,t.computed),t.watch&&t.watch!==ue&&function(e,t){for(var n in t){var i=t[n];if(Array.isArray(i))for(var o=0;o<i.length;o++)In(e,n,i[o]);else In(e,n,i)}}(e,t.watch)}var En={lazy:!0};function On(e,t,n){var i=!pe();"function"==typeof n?(Tn.get=i?Dn(t):Ln(n),Tn.set=M):(Tn.get=n.get?i&&!1!==n.cache?Dn(t):Ln(n.get):M,Tn.set=n.set||M),Object.defineProperty(e,t,Tn)}function Dn(e){return function(){var t=this._computedWatchers&&this._computedWatchers[e];if(t)return t.dirty&&t.evaluate(),je.target&&t.depend(),t.value}}function Ln(e){return function(){return e.call(this,this)}}function In(e,t,n,i){return g(n)&&(i=n,n=n.handler),"string"==typeof n&&(n=e[n]),e.$watch(t,n,i)}var Rn=0;function Pn(e){var t=e.options;if(e.super){var n=Pn(e.super);if(n!==e.superOptions){e.superOptions=n;var i=function(e){var t,n=e.options,i=e.sealedOptions;for(var o in n)n[o]!==i[o]&&(t||(t={}),t[o]=n[o]);return t}(e);i&&F(e.extendOptions,i),(t=e.options=We(n,e.extendOptions)).name&&(t.components[t.name]=e)}}return t}function Fn(e){this._init(e)}function Nn(e){e.cid=0;var t=1;e.extend=function(e){e=e||{};var n=this,i=n.cid,o=e._Ctor||(e._Ctor={});if(o[i])return o[i];var r=e.name||n.options.name;var a=function(e){this._init(e)};return(a.prototype=Object.create(n.prototype)).constructor=a,a.cid=t++,a.options=We(n.options,e),a.super=n,a.options.props&&function(e){var t=e.options.props;for(var n in t)An(e.prototype,"_props",n)}(a),a.options.computed&&function(e){var t=e.options.computed;for(var n in t)On(e.prototype,n,t[n])}(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,W.forEach((function(e){a[e]=n[e]})),r&&(a.options.components[r]=a),a.superOptions=n.options,a.extendOptions=e,a.sealedOptions=F({},a.options),o[i]=a,a}}function Mn(e){return e&&(e.Ctor.options.name||e.tag)}function qn(e,t){return Array.isArray(e)?e.indexOf(t)>-1:"string"==typeof e?e.split(",").indexOf(t)>-1:!!v(e)&&e.test(t)}function zn(e,t){var n=e.cache,i=e.keys,o=e._vnode;for(var r in n){var a=n[r];if(a){var s=Mn(a.componentOptions);s&&!t(s)&&Hn(n,r,i,o)}}}function Hn(e,t,n,i){var o=e[t];!o||i&&o.tag===i.tag||o.componentInstance.$destroy(),e[t]=null,C(n,t)}!function(e){e.prototype._init=function(e){var t=this;t._uid=Rn++,t._isVue=!0,e&&e._isComponent?function(e,t){var n=e.$options=Object.create(e.constructor.options),i=t._parentVnode;n.parent=t.parent,n._parentVnode=i;var o=i.componentOptions;n.propsData=o.propsData,n._parentListeners=o.listeners,n._renderChildren=o.children,n._componentTag=o.tag,t.render&&(n.render=t.render,n.staticRenderFns=t.staticRenderFns)}(t,e):t.$options=We(Pn(t.constructor),e||{},t),t._renderProxy=t,t._self=t,function(e){var t=e.$options,n=t.parent;if(n&&!t.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(e)}e.$parent=n,e.$root=n?n.$root:e,e.$children=[],e.$refs={},e._watcher=null,e._inactive=null,e._directInactive=!1,e._isMounted=!1,e._isDestroyed=!1,e._isBeingDestroyed=!1}(t),function(e){e._events=Object.create(null),e._hasHookEvent=!1;var t=e.$options._parentListeners;t&&ln(e,t)}(t),function(e){e._vnode=null,e._staticTrees=null;var t=e.$options,n=e.$vnode=t._parentVnode,i=n&&n.context;e.$slots=kt(t._renderChildren,i),e.$scopedSlots=c,e._c=function(t,n,i,o){return Kt(e,t,n,i,o,!1)},e.$createElement=function(t,n,i,o){return Kt(e,t,n,i,o,!0)};var o=n&&n.data;Pe(e,"$attrs",o&&o.attrs||c,null,!0),Pe(e,"$listeners",t._parentListeners||c,null,!0)}(t),mn(t,"beforeCreate"),function(e){var t=xt(e.$options.inject,e);t&&(Le(!1),Object.keys(t).forEach((function(n){Pe(e,n,t[n])})),Le(!0))}(t),$n(t),function(e){var t=e.$options.provide;t&&(e._provided="function"==typeof t?t.call(e):t)}(t),mn(t,"created"),t.$options.el&&t.$mount(t.$options.el)}}(Fn),function(e){var t={get:function(){return this._data}},n={get:function(){return this._props}};Object.defineProperty(e.prototype,"$data",t),Object.defineProperty(e.prototype,"$props",n),e.prototype.$set=Fe,e.prototype.$delete=Ne,e.prototype.$watch=function(e,t,n){var i=this;if(g(t))return In(i,e,t,n);(n=n||{}).user=!0;var o=new Sn(i,e,t,n);if(n.immediate)try{t.call(i,o.value)}catch(e){Je(e,i,'callback for immediate watcher "'+o.expression+'"')}return function(){o.teardown()}}}(Fn),function(e){var t=/^hook:/;e.prototype.$on=function(e,n){var i=this;if(Array.isArray(e))for(var o=0,r=e.length;o<r;o++)i.$on(e[o],n);else(i._events[e]||(i._events[e]=[])).push(n),t.test(e)&&(i._hasHookEvent=!0);return i},e.prototype.$once=function(e,t){var n=this;function i(){n.$off(e,i),t.apply(n,arguments)}return i.fn=t,n.$on(e,i),n},e.prototype.$off=function(e,t){var n=this;if(!arguments.length)return n._events=Object.create(null),n;if(Array.isArray(e)){for(var i=0,o=e.length;i<o;i++)n.$off(e[i],t);return n}var r,a=n._events[e];if(!a)return n;if(!t)return n._events[e]=null,n;for(var s=a.length;s--;)if((r=a[s])===t||r.fn===t){a.splice(s,1);break}return n},e.prototype.$emit=function(e){var t=this,n=t._events[e];if(n){n=n.length>1?P(n):n;for(var i=P(arguments,1),o='event handler for "'+e+'"',r=0,a=n.length;r<a;r++)Ze(n[r],t,i,t,o)}return t}}(Fn),function(e){e.prototype._update=function(e,t){var n=this,i=n.$el,o=n._vnode,r=un(n);n._vnode=e,n.$el=o?n.__patch__(o,e):n.__patch__(n.$el,e,t,!1),r(),i&&(i.__vue__=null),n.$el&&(n.$el.__vue__=n),n.$vnode&&n.$parent&&n.$vnode===n.$parent._vnode&&(n.$parent.$el=n.$el)},e.prototype.$forceUpdate=function(){this._watcher&&this._watcher.update()},e.prototype.$destroy=function(){var e=this;if(!e._isBeingDestroyed){mn(e,"beforeDestroy"),e._isBeingDestroyed=!0;var t=e.$parent;!t||t._isBeingDestroyed||e.$options.abstract||C(t.$children,e),e._watcher&&e._watcher.teardown();for(var n=e._watchers.length;n--;)e._watchers[n].teardown();e._data.__ob__&&e._data.__ob__.vmCount--,e._isDestroyed=!0,e.__patch__(e._vnode,null),mn(e,"destroyed"),e.$off(),e.$el&&(e.$el.__vue__=null),e.$vnode&&(e.$vnode.parent=null)}}}(Fn),function(e){Ut(e.prototype),e.prototype.$nextTick=function(e){return dt(e,this)},e.prototype._render=function(){var e,t=this,n=t.$options,i=n.render,o=n._parentVnode;o&&(t.$scopedSlots=St(o.data.scopedSlots,t.$slots,t.$scopedSlots)),t.$vnode=o;try{en=t,e=i.call(t._renderProxy,t.$createElement)}catch(n){Je(n,t,"render"),e=t._vnode}finally{en=null}return Array.isArray(e)&&1===e.length&&(e=e[0]),e instanceof ke||(e=Se()),e.parent=o,e}}(Fn);var Un=[String,RegExp,Array],Bn={KeepAlive:{name:"keep-alive",abstract:!0,props:{include:Un,exclude:Un,max:[String,Number]},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var e in this.cache)Hn(this.cache,e,this.keys)},mounted:function(){var e=this;this.$watch("include",(function(t){zn(e,(function(e){return qn(t,e)}))})),this.$watch("exclude",(function(t){zn(e,(function(e){return!qn(t,e)}))}))},render:function(){var e=this.$slots.default,t=on(e),n=t&&t.componentOptions;if(n){var i=Mn(n),o=this.include,r=this.exclude;if(o&&(!i||!qn(o,i))||r&&i&&qn(r,i))return t;var a=this.cache,s=this.keys,l=null==t.key?n.Ctor.cid+(n.tag?"::"+n.tag:""):t.key;a[l]?(t.componentInstance=a[l].componentInstance,C(s,l),s.push(l)):(a[l]=t,s.push(l),this.max&&s.length>parseInt(this.max)&&Hn(a,s[0],s,this._vnode)),t.data.keepAlive=!0}return t||e&&e[0]}}};!function(e){var t={get:function(){return G}};Object.defineProperty(e,"config",t),e.util={warn:be,extend:F,mergeOptions:We,defineReactive:Pe},e.set=Fe,e.delete=Ne,e.nextTick=dt,e.observable=function(e){return Re(e),e},e.options=Object.create(null),W.forEach((function(t){e.options[t+"s"]=Object.create(null)})),e.options._base=e,F(e.options.components,Bn),function(e){e.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(t.indexOf(e)>-1)return this;var n=P(arguments,1);return n.unshift(this),"function"==typeof e.install?e.install.apply(e,n):"function"==typeof e&&e.apply(null,n),t.push(e),this}}(e),function(e){e.mixin=function(e){return this.options=We(this.options,e),this}}(e),Nn(e),function(e){W.forEach((function(t){e[t]=function(e,n){return n?("component"===t&&g(n)&&(n.name=n.name||e,n=this.options._base.extend(n)),"directive"===t&&"function"==typeof n&&(n={bind:n,update:n}),this.options[t+"s"][e]=n,n):this.options[t+"s"][e]}}))}(e)}(Fn),Object.defineProperty(Fn.prototype,"$isServer",{get:pe}),Object.defineProperty(Fn.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(Fn,"FunctionalRenderContext",{value:Bt}),Fn.version="2.6.12";var Vn=w("style,class"),Wn=w("input,textarea,option,select,progress"),Qn=function(e,t,n){return"value"===n&&Wn(e)&&"button"!==t||"selected"===n&&"option"===e||"checked"===n&&"input"===e||"muted"===n&&"video"===e},Gn=w("contenteditable,draggable,spellcheck"),Xn=w("events,caret,typing,plaintext-only"),Yn=w("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),Kn="http://www.w3.org/1999/xlink",Jn=function(e){return":"===e.charAt(5)&&"xlink"===e.slice(0,5)},Zn=function(e){return Jn(e)?e.slice(6,e.length):""},ei=function(e){return null==e||!1===e};function ti(e){for(var t=e.data,n=e,i=e;d(i.componentInstance);)(i=i.componentInstance._vnode)&&i.data&&(t=ni(i.data,t));for(;d(n=n.parent);)n&&n.data&&(t=ni(t,n.data));return function(e,t){if(d(e)||d(t))return ii(e,oi(t));return""}(t.staticClass,t.class)}function ni(e,t){return{staticClass:ii(e.staticClass,t.staticClass),class:d(e.class)?[e.class,t.class]:t.class}}function ii(e,t){return e?t?e+" "+t:e:t||""}function oi(e){return Array.isArray(e)?function(e){for(var t,n="",i=0,o=e.length;i<o;i++)d(t=oi(e[i]))&&""!==t&&(n&&(n+=" "),n+=t);return n}(e):m(e)?function(e){var t="";for(var n in e)e[n]&&(t&&(t+=" "),t+=n);return t}(e):"string"==typeof e?e:""}var ri={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},ai=w("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),si=w("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignObject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),li=function(e){return ai(e)||si(e)};function ci(e){return si(e)?"svg":"math"===e?"math":void 0}var ui=Object.create(null);var di=w("text,number,password,search,email,tel,url");function fi(e){if("string"==typeof e){var t=document.querySelector(e);return t||document.createElement("div")}return e}var pi=Object.freeze({createElement:function(e,t){var n=document.createElement(e);return"select"!==e||t.data&&t.data.attrs&&void 0!==t.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n},createElementNS:function(e,t){return document.createElementNS(ri[e],t)},createTextNode:function(e){return document.createTextNode(e)},createComment:function(e){return document.createComment(e)},insertBefore:function(e,t,n){e.insertBefore(t,n)},removeChild:function(e,t){e.removeChild(t)},appendChild:function(e,t){e.appendChild(t)},parentNode:function(e){return e.parentNode},nextSibling:function(e){return e.nextSibling},tagName:function(e){return e.tagName},setTextContent:function(e,t){e.textContent=t},setStyleScope:function(e,t){e.setAttribute(t,"")}}),mi={create:function(e,t){hi(t)},update:function(e,t){e.data.ref!==t.data.ref&&(hi(e,!0),hi(t))},destroy:function(e){hi(e,!0)}};function hi(e,t){var n=e.data.ref;if(d(n)){var i=e.context,o=e.componentInstance||e.elm,r=i.$refs;t?Array.isArray(r[n])?C(r[n],o):r[n]===o&&(r[n]=void 0):e.data.refInFor?Array.isArray(r[n])?r[n].indexOf(o)<0&&r[n].push(o):r[n]=[o]:r[n]=o}}var gi=new ke("",{},[]),vi=["create","activate","update","remove","destroy"];function bi(e,t){return e.key===t.key&&(e.tag===t.tag&&e.isComment===t.isComment&&d(e.data)===d(t.data)&&function(e,t){if("input"!==e.tag)return!0;var n,i=d(n=e.data)&&d(n=n.attrs)&&n.type,o=d(n=t.data)&&d(n=n.attrs)&&n.type;return i===o||di(i)&&di(o)}(e,t)||f(e.isAsyncPlaceholder)&&e.asyncFactory===t.asyncFactory&&u(t.asyncFactory.error))}function yi(e,t,n){var i,o,r={};for(i=t;i<=n;++i)d(o=e[i].key)&&(r[o]=i);return r}var ji={create:_i,update:_i,destroy:function(e){_i(e,gi)}};function _i(e,t){(e.data.directives||t.data.directives)&&function(e,t){var n,i,o,r=e===gi,a=t===gi,s=xi(e.data.directives,e.context),l=xi(t.data.directives,t.context),c=[],u=[];for(n in l)i=s[n],o=l[n],i?(o.oldValue=i.value,o.oldArg=i.arg,Ci(o,"update",t,e),o.def&&o.def.componentUpdated&&u.push(o)):(Ci(o,"bind",t,e),o.def&&o.def.inserted&&c.push(o));if(c.length){var d=function(){for(var n=0;n<c.length;n++)Ci(c[n],"inserted",t,e)};r?bt(t,"insert",d):d()}u.length&&bt(t,"postpatch",(function(){for(var n=0;n<u.length;n++)Ci(u[n],"componentUpdated",t,e)}));if(!r)for(n in s)l[n]||Ci(s[n],"unbind",e,e,a)}(e,t)}var wi=Object.create(null);function xi(e,t){var n,i,o=Object.create(null);if(!e)return o;for(n=0;n<e.length;n++)(i=e[n]).modifiers||(i.modifiers=wi),o[ki(i)]=i,i.def=Qe(t.$options,"directives",i.name);return o}function ki(e){return e.rawName||e.name+"."+Object.keys(e.modifiers||{}).join(".")}function Ci(e,t,n,i,o){var r=e.def&&e.def[t];if(r)try{r(n.elm,e,n,i,o)}catch(i){Je(i,n.context,"directive "+e.name+" "+t+" hook")}}var Si=[mi,ji];function Ti(e,t){var n=t.componentOptions;if(!(d(n)&&!1===n.Ctor.options.inheritAttrs||u(e.data.attrs)&&u(t.data.attrs))){var i,o,r=t.elm,a=e.data.attrs||{},s=t.data.attrs||{};for(i in d(s.__ob__)&&(s=t.data.attrs=F({},s)),s)o=s[i],a[i]!==o&&Ai(r,i,o);for(i in(re||se)&&s.value!==a.value&&Ai(r,"value",s.value),a)u(s[i])&&(Jn(i)?r.removeAttributeNS(Kn,Zn(i)):Gn(i)||r.removeAttribute(i))}}function Ai(e,t,n){e.tagName.indexOf("-")>-1?$i(e,t,n):Yn(t)?ei(n)?e.removeAttribute(t):(n="allowfullscreen"===t&&"EMBED"===e.tagName?"true":t,e.setAttribute(t,n)):Gn(t)?e.setAttribute(t,function(e,t){return ei(t)||"false"===t?"false":"contenteditable"===e&&Xn(t)?t:"true"}(t,n)):Jn(t)?ei(n)?e.removeAttributeNS(Kn,Zn(t)):e.setAttributeNS(Kn,t,n):$i(e,t,n)}function $i(e,t,n){if(ei(n))e.removeAttribute(t);else{if(re&&!ae&&"TEXTAREA"===e.tagName&&"placeholder"===t&&""!==n&&!e.__ieph){var i=function(t){t.stopImmediatePropagation(),e.removeEventListener("input",i)};e.addEventListener("input",i),e.__ieph=!0}e.setAttribute(t,n)}}var Ei={create:Ti,update:Ti};function Oi(e,t){var n=t.elm,i=t.data,o=e.data;if(!(u(i.staticClass)&&u(i.class)&&(u(o)||u(o.staticClass)&&u(o.class)))){var r=ti(t),a=n._transitionClasses;d(a)&&(r=ii(r,oi(a))),r!==n._prevClass&&(n.setAttribute("class",r),n._prevClass=r)}}var Di,Li,Ii,Ri,Pi,Fi,Ni={create:Oi,update:Oi},Mi=/[\w).+\-_$\]]/;function qi(e){var t,n,i,o,r,a=!1,s=!1,l=!1,c=!1,u=0,d=0,f=0,p=0;for(i=0;i<e.length;i++)if(n=t,t=e.charCodeAt(i),a)39===t&&92!==n&&(a=!1);else if(s)34===t&&92!==n&&(s=!1);else if(l)96===t&&92!==n&&(l=!1);else if(c)47===t&&92!==n&&(c=!1);else if(124!==t||124===e.charCodeAt(i+1)||124===e.charCodeAt(i-1)||u||d||f){switch(t){case 34:s=!0;break;case 39:a=!0;break;case 96:l=!0;break;case 40:f++;break;case 41:f--;break;case 91:d++;break;case 93:d--;break;case 123:u++;break;case 125:u--}if(47===t){for(var m=i-1,h=void 0;m>=0&&" "===(h=e.charAt(m));m--);h&&Mi.test(h)||(c=!0)}}else void 0===o?(p=i+1,o=e.slice(0,i).trim()):g();function g(){(r||(r=[])).push(e.slice(p,i).trim()),p=i+1}if(void 0===o?o=e.slice(0,i).trim():0!==p&&g(),r)for(i=0;i<r.length;i++)o=zi(o,r[i]);return o}function zi(e,t){var n=t.indexOf("(");if(n<0)return'_f("'+t+'")('+e+")";var i=t.slice(0,n),o=t.slice(n+1);return'_f("'+i+'")('+e+(")"!==o?","+o:o)}function Hi(e,t){console.error("[Vue compiler]: "+e)}function Ui(e,t){return e?e.map((function(e){return e[t]})).filter((function(e){return e})):[]}function Bi(e,t,n,i,o){(e.props||(e.props=[])).push(Zi({name:t,value:n,dynamic:o},i)),e.plain=!1}function Vi(e,t,n,i,o){(o?e.dynamicAttrs||(e.dynamicAttrs=[]):e.attrs||(e.attrs=[])).push(Zi({name:t,value:n,dynamic:o},i)),e.plain=!1}function Wi(e,t,n,i){e.attrsMap[t]=n,e.attrsList.push(Zi({name:t,value:n},i))}function Qi(e,t,n,i,o,r,a,s){(e.directives||(e.directives=[])).push(Zi({name:t,rawName:n,value:i,arg:o,isDynamicArg:r,modifiers:a},s)),e.plain=!1}function Gi(e,t,n){return n?"_p("+t+',"'+e+'")':e+t}function Xi(e,t,n,i,o,r,a,s){var l;(i=i||c).right?s?t="("+t+")==='click'?'contextmenu':("+t+")":"click"===t&&(t="contextmenu",delete i.right):i.middle&&(s?t="("+t+")==='click'?'mouseup':("+t+")":"click"===t&&(t="mouseup")),i.capture&&(delete i.capture,t=Gi("!",t,s)),i.once&&(delete i.once,t=Gi("~",t,s)),i.passive&&(delete i.passive,t=Gi("&",t,s)),i.native?(delete i.native,l=e.nativeEvents||(e.nativeEvents={})):l=e.events||(e.events={});var u=Zi({value:n.trim(),dynamic:s},a);i!==c&&(u.modifiers=i);var d=l[t];Array.isArray(d)?o?d.unshift(u):d.push(u):l[t]=d?o?[u,d]:[d,u]:u,e.plain=!1}function Yi(e,t,n){var i=Ki(e,":"+t)||Ki(e,"v-bind:"+t);if(null!=i)return qi(i);if(!1!==n){var o=Ki(e,t);if(null!=o)return JSON.stringify(o)}}function Ki(e,t,n){var i;if(null!=(i=e.attrsMap[t]))for(var o=e.attrsList,r=0,a=o.length;r<a;r++)if(o[r].name===t){o.splice(r,1);break}return n&&delete e.attrsMap[t],i}function Ji(e,t){for(var n=e.attrsList,i=0,o=n.length;i<o;i++){var r=n[i];if(t.test(r.name))return n.splice(i,1),r}}function Zi(e,t){return t&&(null!=t.start&&(e.start=t.start),null!=t.end&&(e.end=t.end)),e}function eo(e,t,n){var i=n||{},o=i.number,r="$$v",a=r;i.trim&&(a="(typeof $$v === 'string'? $$v.trim(): $$v)"),o&&(a="_n("+a+")");var s=to(t,a);e.model={value:"("+t+")",expression:JSON.stringify(t),callback:"function ($$v) {"+s+"}"}}function to(e,t){var n=function(e){if(e=e.trim(),Di=e.length,e.indexOf("[")<0||e.lastIndexOf("]")<Di-1)return(Ri=e.lastIndexOf("."))>-1?{exp:e.slice(0,Ri),key:'"'+e.slice(Ri+1)+'"'}:{exp:e,key:null};Li=e,Ri=Pi=Fi=0;for(;!io();)oo(Ii=no())?ao(Ii):91===Ii&&ro(Ii);return{exp:e.slice(0,Pi),key:e.slice(Pi+1,Fi)}}(e);return null===n.key?e+"="+t:"$set("+n.exp+", "+n.key+", "+t+")"}function no(){return Li.charCodeAt(++Ri)}function io(){return Ri>=Di}function oo(e){return 34===e||39===e}function ro(e){var t=1;for(Pi=Ri;!io();)if(oo(e=no()))ao(e);else if(91===e&&t++,93===e&&t--,0===t){Fi=Ri;break}}function ao(e){for(var t=e;!io()&&(e=no())!==t;);}var so,lo="__r";function co(e,t,n){var i=so;return function o(){var r=t.apply(null,arguments);null!==r&&po(e,o,n,i)}}var uo=it&&!(ce&&Number(ce[1])<=53);function fo(e,t,n,i){if(uo){var o=_n,r=t;t=r._wrapper=function(e){if(e.target===e.currentTarget||e.timeStamp>=o||e.timeStamp<=0||e.target.ownerDocument!==document)return r.apply(this,arguments)}}so.addEventListener(e,t,de?{capture:n,passive:i}:n)}function po(e,t,n,i){(i||so).removeEventListener(e,t._wrapper||t,n)}function mo(e,t){if(!u(e.data.on)||!u(t.data.on)){var n=t.data.on||{},i=e.data.on||{};so=t.elm,function(e){if(d(e.__r)){var t=re?"change":"input";e[t]=[].concat(e.__r,e[t]||[]),delete e.__r}d(e.__c)&&(e.change=[].concat(e.__c,e.change||[]),delete e.__c)}(n),vt(n,i,fo,po,co,t.context),so=void 0}}var ho,go={create:mo,update:mo};function vo(e,t){if(!u(e.data.domProps)||!u(t.data.domProps)){var n,i,o=t.elm,r=e.data.domProps||{},a=t.data.domProps||{};for(n in d(a.__ob__)&&(a=t.data.domProps=F({},a)),r)n in a||(o[n]="");for(n in a){if(i=a[n],"textContent"===n||"innerHTML"===n){if(t.children&&(t.children.length=0),i===r[n])continue;1===o.childNodes.length&&o.removeChild(o.childNodes[0])}if("value"===n&&"PROGRESS"!==o.tagName){o._value=i;var s=u(i)?"":String(i);bo(o,s)&&(o.value=s)}else if("innerHTML"===n&&si(o.tagName)&&u(o.innerHTML)){(ho=ho||document.createElement("div")).innerHTML="<svg>"+i+"</svg>";for(var l=ho.firstChild;o.firstChild;)o.removeChild(o.firstChild);for(;l.firstChild;)o.appendChild(l.firstChild)}else if(i!==r[n])try{o[n]=i}catch(e){}}}}function bo(e,t){return!e.composing&&("OPTION"===e.tagName||function(e,t){var n=!0;try{n=document.activeElement!==e}catch(e){}return n&&e.value!==t}(e,t)||function(e,t){var n=e.value,i=e._vModifiers;if(d(i)){if(i.number)return _(n)!==_(t);if(i.trim)return n.trim()!==t.trim()}return n!==t}(e,t))}var yo={create:vo,update:vo},jo=A((function(e){var t={},n=/:(.+)/;return e.split(/;(?![^(]*\))/g).forEach((function(e){if(e){var i=e.split(n);i.length>1&&(t[i[0].trim()]=i[1].trim())}})),t}));function _o(e){var t=wo(e.style);return e.staticStyle?F(e.staticStyle,t):t}function wo(e){return Array.isArray(e)?N(e):"string"==typeof e?jo(e):e}var xo,ko=/^--/,Co=/\s*!important$/,So=function(e,t,n){if(ko.test(t))e.style.setProperty(t,n);else if(Co.test(n))e.style.setProperty(I(t),n.replace(Co,""),"important");else{var i=Ao(t);if(Array.isArray(n))for(var o=0,r=n.length;o<r;o++)e.style[i]=n[o];else e.style[i]=n}},To=["Webkit","Moz","ms"],Ao=A((function(e){if(xo=xo||document.createElement("div").style,"filter"!==(e=O(e))&&e in xo)return e;for(var t=e.charAt(0).toUpperCase()+e.slice(1),n=0;n<To.length;n++){var i=To[n]+t;if(i in xo)return i}}));function $o(e,t){var n=t.data,i=e.data;if(!(u(n.staticStyle)&&u(n.style)&&u(i.staticStyle)&&u(i.style))){var o,r,a=t.elm,s=i.staticStyle,l=i.normalizedStyle||i.style||{},c=s||l,f=wo(t.data.style)||{};t.data.normalizedStyle=d(f.__ob__)?F({},f):f;var p=function(e,t){var n,i={};if(t)for(var o=e;o.componentInstance;)(o=o.componentInstance._vnode)&&o.data&&(n=_o(o.data))&&F(i,n);(n=_o(e.data))&&F(i,n);for(var r=e;r=r.parent;)r.data&&(n=_o(r.data))&&F(i,n);return i}(t,!0);for(r in c)u(p[r])&&So(a,r,"");for(r in p)(o=p[r])!==c[r]&&So(a,r,null==o?"":o)}}var Eo={create:$o,update:$o},Oo=/\s+/;function Do(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(Oo).forEach((function(t){return e.classList.add(t)})):e.classList.add(t);else{var n=" "+(e.getAttribute("class")||"")+" ";n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}}function Lo(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(Oo).forEach((function(t){return e.classList.remove(t)})):e.classList.remove(t),e.classList.length||e.removeAttribute("class");else{for(var n=" "+(e.getAttribute("class")||"")+" ",i=" "+t+" ";n.indexOf(i)>=0;)n=n.replace(i," ");(n=n.trim())?e.setAttribute("class",n):e.removeAttribute("class")}}function Io(e){if(e){if("object"==typeof e){var t={};return!1!==e.css&&F(t,Ro(e.name||"v")),F(t,e),t}return"string"==typeof e?Ro(e):void 0}}var Ro=A((function(e){return{enterClass:e+"-enter",enterToClass:e+"-enter-to",enterActiveClass:e+"-enter-active",leaveClass:e+"-leave",leaveToClass:e+"-leave-to",leaveActiveClass:e+"-leave-active"}})),Po=te&&!ae,Fo="transition",No="animation",Mo="transition",qo="transitionend",zo="animation",Ho="animationend";Po&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(Mo="WebkitTransition",qo="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(zo="WebkitAnimation",Ho="webkitAnimationEnd"));var Uo=te?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(e){return e()};function Bo(e){Uo((function(){Uo(e)}))}function Vo(e,t){var n=e._transitionClasses||(e._transitionClasses=[]);n.indexOf(t)<0&&(n.push(t),Do(e,t))}function Wo(e,t){e._transitionClasses&&C(e._transitionClasses,t),Lo(e,t)}function Qo(e,t,n){var i=Xo(e,t),o=i.type,r=i.timeout,a=i.propCount;if(!o)return n();var s=o===Fo?qo:Ho,l=0,c=function(){e.removeEventListener(s,u),n()},u=function(t){t.target===e&&++l>=a&&c()};setTimeout((function(){l<a&&c()}),r+1),e.addEventListener(s,u)}var Go=/\b(transform|all)(,|$)/;function Xo(e,t){var n,i=window.getComputedStyle(e),o=(i[Mo+"Delay"]||"").split(", "),r=(i[Mo+"Duration"]||"").split(", "),a=Yo(o,r),s=(i[zo+"Delay"]||"").split(", "),l=(i[zo+"Duration"]||"").split(", "),c=Yo(s,l),u=0,d=0;return t===Fo?a>0&&(n=Fo,u=a,d=r.length):t===No?c>0&&(n=No,u=c,d=l.length):d=(n=(u=Math.max(a,c))>0?a>c?Fo:No:null)?n===Fo?r.length:l.length:0,{type:n,timeout:u,propCount:d,hasTransform:n===Fo&&Go.test(i[Mo+"Property"])}}function Yo(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max.apply(null,t.map((function(t,n){return Ko(t)+Ko(e[n])})))}function Ko(e){return 1e3*Number(e.slice(0,-1).replace(",","."))}function Jo(e,t){var n=e.elm;d(n._leaveCb)&&(n._leaveCb.cancelled=!0,n._leaveCb());var i=Io(e.data.transition);if(!u(i)&&!d(n._enterCb)&&1===n.nodeType){for(var o=i.css,r=i.type,a=i.enterClass,s=i.enterToClass,l=i.enterActiveClass,c=i.appearClass,f=i.appearToClass,p=i.appearActiveClass,h=i.beforeEnter,g=i.enter,v=i.afterEnter,b=i.enterCancelled,y=i.beforeAppear,j=i.appear,w=i.afterAppear,x=i.appearCancelled,k=i.duration,C=cn,S=cn.$vnode;S&&S.parent;)C=S.context,S=S.parent;var T=!C._isMounted||!e.isRootInsert;if(!T||j||""===j){var A=T&&c?c:a,$=T&&p?p:l,E=T&&f?f:s,O=T&&y||h,D=T&&"function"==typeof j?j:g,L=T&&w||v,I=T&&x||b,R=_(m(k)?k.enter:k);0;var P=!1!==o&&!ae,F=tr(D),N=n._enterCb=B((function(){P&&(Wo(n,E),Wo(n,$)),N.cancelled?(P&&Wo(n,A),I&&I(n)):L&&L(n),n._enterCb=null}));e.data.show||bt(e,"insert",(function(){var t=n.parentNode,i=t&&t._pending&&t._pending[e.key];i&&i.tag===e.tag&&i.elm._leaveCb&&i.elm._leaveCb(),D&&D(n,N)})),O&&O(n),P&&(Vo(n,A),Vo(n,$),Bo((function(){Wo(n,A),N.cancelled||(Vo(n,E),F||(er(R)?setTimeout(N,R):Qo(n,r,N)))}))),e.data.show&&(t&&t(),D&&D(n,N)),P||F||N()}}}function Zo(e,t){var n=e.elm;d(n._enterCb)&&(n._enterCb.cancelled=!0,n._enterCb());var i=Io(e.data.transition);if(u(i)||1!==n.nodeType)return t();if(!d(n._leaveCb)){var o=i.css,r=i.type,a=i.leaveClass,s=i.leaveToClass,l=i.leaveActiveClass,c=i.beforeLeave,f=i.leave,p=i.afterLeave,h=i.leaveCancelled,g=i.delayLeave,v=i.duration,b=!1!==o&&!ae,y=tr(f),j=_(m(v)?v.leave:v);0;var w=n._leaveCb=B((function(){n.parentNode&&n.parentNode._pending&&(n.parentNode._pending[e.key]=null),b&&(Wo(n,s),Wo(n,l)),w.cancelled?(b&&Wo(n,a),h&&h(n)):(t(),p&&p(n)),n._leaveCb=null}));g?g(x):x()}function x(){w.cancelled||(!e.data.show&&n.parentNode&&((n.parentNode._pending||(n.parentNode._pending={}))[e.key]=e),c&&c(n),b&&(Vo(n,a),Vo(n,l),Bo((function(){Wo(n,a),w.cancelled||(Vo(n,s),y||(er(j)?setTimeout(w,j):Qo(n,r,w)))}))),f&&f(n,w),b||y||w())}}function er(e){return"number"==typeof e&&!isNaN(e)}function tr(e){if(u(e))return!1;var t=e.fns;return d(t)?tr(Array.isArray(t)?t[0]:t):(e._length||e.length)>1}function nr(e,t){!0!==t.data.show&&Jo(t)}var ir=function(e){var t,n,i={},o=e.modules,r=e.nodeOps;for(t=0;t<vi.length;++t)for(i[vi[t]]=[],n=0;n<o.length;++n)d(o[n][vi[t]])&&i[vi[t]].push(o[n][vi[t]]);function a(e){var t=r.parentNode(e);d(t)&&r.removeChild(t,e)}function s(e,t,n,o,a,s,u){if(d(e.elm)&&d(s)&&(e=s[u]=Ae(e)),e.isRootInsert=!a,!function(e,t,n,o){var r=e.data;if(d(r)){var a=d(e.componentInstance)&&r.keepAlive;if(d(r=r.hook)&&d(r=r.init)&&r(e,!1),d(e.componentInstance))return l(e,t),c(n,e.elm,o),f(a)&&function(e,t,n,o){var r,a=e;for(;a.componentInstance;)if(d(r=(a=a.componentInstance._vnode).data)&&d(r=r.transition)){for(r=0;r<i.activate.length;++r)i.activate[r](gi,a);t.push(a);break}c(n,e.elm,o)}(e,t,n,o),!0}}(e,t,n,o)){var p=e.data,h=e.children,b=e.tag;d(b)?(e.elm=e.ns?r.createElementNS(e.ns,b):r.createElement(b,e),v(e),m(e,h,t),d(p)&&g(e,t),c(n,e.elm,o)):f(e.isComment)?(e.elm=r.createComment(e.text),c(n,e.elm,o)):(e.elm=r.createTextNode(e.text),c(n,e.elm,o))}}function l(e,t){d(e.data.pendingInsert)&&(t.push.apply(t,e.data.pendingInsert),e.data.pendingInsert=null),e.elm=e.componentInstance.$el,h(e)?(g(e,t),v(e)):(hi(e),t.push(e))}function c(e,t,n){d(e)&&(d(n)?r.parentNode(n)===e&&r.insertBefore(e,t,n):r.appendChild(e,t))}function m(e,t,n){if(Array.isArray(t)){0;for(var i=0;i<t.length;++i)s(t[i],n,e.elm,null,!0,t,i)}else p(e.text)&&r.appendChild(e.elm,r.createTextNode(String(e.text)))}function h(e){for(;e.componentInstance;)e=e.componentInstance._vnode;return d(e.tag)}function g(e,n){for(var o=0;o<i.create.length;++o)i.create[o](gi,e);d(t=e.data.hook)&&(d(t.create)&&t.create(gi,e),d(t.insert)&&n.push(e))}function v(e){var t;if(d(t=e.fnScopeId))r.setStyleScope(e.elm,t);else for(var n=e;n;)d(t=n.context)&&d(t=t.$options._scopeId)&&r.setStyleScope(e.elm,t),n=n.parent;d(t=cn)&&t!==e.context&&t!==e.fnContext&&d(t=t.$options._scopeId)&&r.setStyleScope(e.elm,t)}function b(e,t,n,i,o,r){for(;i<=o;++i)s(n[i],r,e,t,!1,n,i)}function y(e){var t,n,o=e.data;if(d(o))for(d(t=o.hook)&&d(t=t.destroy)&&t(e),t=0;t<i.destroy.length;++t)i.destroy[t](e);if(d(t=e.children))for(n=0;n<e.children.length;++n)y(e.children[n])}function j(e,t,n){for(;t<=n;++t){var i=e[t];d(i)&&(d(i.tag)?(_(i),y(i)):a(i.elm))}}function _(e,t){if(d(t)||d(e.data)){var n,o=i.remove.length+1;for(d(t)?t.listeners+=o:t=function(e,t){function n(){0==--n.listeners&&a(e)}return n.listeners=t,n}(e.elm,o),d(n=e.componentInstance)&&d(n=n._vnode)&&d(n.data)&&_(n,t),n=0;n<i.remove.length;++n)i.remove[n](e,t);d(n=e.data.hook)&&d(n=n.remove)?n(e,t):t()}else a(e.elm)}function x(e,t,n,i){for(var o=n;o<i;o++){var r=t[o];if(d(r)&&bi(e,r))return o}}function k(e,t,n,o,a,l){if(e!==t){d(t.elm)&&d(o)&&(t=o[a]=Ae(t));var c=t.elm=e.elm;if(f(e.isAsyncPlaceholder))d(t.asyncFactory.resolved)?T(e.elm,t,n):t.isAsyncPlaceholder=!0;else if(f(t.isStatic)&&f(e.isStatic)&&t.key===e.key&&(f(t.isCloned)||f(t.isOnce)))t.componentInstance=e.componentInstance;else{var p,m=t.data;d(m)&&d(p=m.hook)&&d(p=p.prepatch)&&p(e,t);var g=e.children,v=t.children;if(d(m)&&h(t)){for(p=0;p<i.update.length;++p)i.update[p](e,t);d(p=m.hook)&&d(p=p.update)&&p(e,t)}u(t.text)?d(g)&&d(v)?g!==v&&function(e,t,n,i,o){var a,l,c,f=0,p=0,m=t.length-1,h=t[0],g=t[m],v=n.length-1,y=n[0],_=n[v],w=!o;for(;f<=m&&p<=v;)u(h)?h=t[++f]:u(g)?g=t[--m]:bi(h,y)?(k(h,y,i,n,p),h=t[++f],y=n[++p]):bi(g,_)?(k(g,_,i,n,v),g=t[--m],_=n[--v]):bi(h,_)?(k(h,_,i,n,v),w&&r.insertBefore(e,h.elm,r.nextSibling(g.elm)),h=t[++f],_=n[--v]):bi(g,y)?(k(g,y,i,n,p),w&&r.insertBefore(e,g.elm,h.elm),g=t[--m],y=n[++p]):(u(a)&&(a=yi(t,f,m)),u(l=d(y.key)?a[y.key]:x(y,t,f,m))?s(y,i,e,h.elm,!1,n,p):bi(c=t[l],y)?(k(c,y,i,n,p),t[l]=void 0,w&&r.insertBefore(e,c.elm,h.elm)):s(y,i,e,h.elm,!1,n,p),y=n[++p]);f>m?b(e,u(n[v+1])?null:n[v+1].elm,n,p,v,i):p>v&&j(t,f,m)}(c,g,v,n,l):d(v)?(d(e.text)&&r.setTextContent(c,""),b(c,null,v,0,v.length-1,n)):d(g)?j(g,0,g.length-1):d(e.text)&&r.setTextContent(c,""):e.text!==t.text&&r.setTextContent(c,t.text),d(m)&&d(p=m.hook)&&d(p=p.postpatch)&&p(e,t)}}}function C(e,t,n){if(f(n)&&d(e.parent))e.parent.data.pendingInsert=t;else for(var i=0;i<t.length;++i)t[i].data.hook.insert(t[i])}var S=w("attrs,class,staticClass,staticStyle,key");function T(e,t,n,i){var o,r=t.tag,a=t.data,s=t.children;if(i=i||a&&a.pre,t.elm=e,f(t.isComment)&&d(t.asyncFactory))return t.isAsyncPlaceholder=!0,!0;if(d(a)&&(d(o=a.hook)&&d(o=o.init)&&o(t,!0),d(o=t.componentInstance)))return l(t,n),!0;if(d(r)){if(d(s))if(e.hasChildNodes())if(d(o=a)&&d(o=o.domProps)&&d(o=o.innerHTML)){if(o!==e.innerHTML)return!1}else{for(var c=!0,u=e.firstChild,p=0;p<s.length;p++){if(!u||!T(u,s[p],n,i)){c=!1;break}u=u.nextSibling}if(!c||u)return!1}else m(t,s,n);if(d(a)){var h=!1;for(var v in a)if(!S(v)){h=!0,g(t,n);break}!h&&a.class&&pt(a.class)}}else e.data!==t.text&&(e.data=t.text);return!0}return function(e,t,n,o){if(!u(t)){var a,l=!1,c=[];if(u(e))l=!0,s(t,c);else{var p=d(e.nodeType);if(!p&&bi(e,t))k(e,t,c,null,null,o);else{if(p){if(1===e.nodeType&&e.hasAttribute(V)&&(e.removeAttribute(V),n=!0),f(n)&&T(e,t,c))return C(t,c,!0),e;a=e,e=new ke(r.tagName(a).toLowerCase(),{},[],void 0,a)}var m=e.elm,g=r.parentNode(m);if(s(t,c,m._leaveCb?null:g,r.nextSibling(m)),d(t.parent))for(var v=t.parent,b=h(t);v;){for(var _=0;_<i.destroy.length;++_)i.destroy[_](v);if(v.elm=t.elm,b){for(var w=0;w<i.create.length;++w)i.create[w](gi,v);var x=v.data.hook.insert;if(x.merged)for(var S=1;S<x.fns.length;S++)x.fns[S]()}else hi(v);v=v.parent}d(g)?j([e],0,0):d(e.tag)&&y(e)}}return C(t,c,l),t.elm}d(e)&&y(e)}}({nodeOps:pi,modules:[Ei,Ni,go,yo,Eo,te?{create:nr,activate:nr,remove:function(e,t){!0!==e.data.show?Zo(e,t):t()}}:{}].concat(Si)});ae&&document.addEventListener("selectionchange",(function(){var e=document.activeElement;e&&e.vmodel&&dr(e,"input")}));var or={inserted:function(e,t,n,i){"select"===n.tag?(i.elm&&!i.elm._vOptions?bt(n,"postpatch",(function(){or.componentUpdated(e,t,n)})):rr(e,t,n.context),e._vOptions=[].map.call(e.options,lr)):("textarea"===n.tag||di(e.type))&&(e._vModifiers=t.modifiers,t.modifiers.lazy||(e.addEventListener("compositionstart",cr),e.addEventListener("compositionend",ur),e.addEventListener("change",ur),ae&&(e.vmodel=!0)))},componentUpdated:function(e,t,n){if("select"===n.tag){rr(e,t,n.context);var i=e._vOptions,o=e._vOptions=[].map.call(e.options,lr);if(o.some((function(e,t){return!H(e,i[t])})))(e.multiple?t.value.some((function(e){return sr(e,o)})):t.value!==t.oldValue&&sr(t.value,o))&&dr(e,"change")}}};function rr(e,t,n){ar(e,t,n),(re||se)&&setTimeout((function(){ar(e,t,n)}),0)}function ar(e,t,n){var i=t.value,o=e.multiple;if(!o||Array.isArray(i)){for(var r,a,s=0,l=e.options.length;s<l;s++)if(a=e.options[s],o)r=U(i,lr(a))>-1,a.selected!==r&&(a.selected=r);else if(H(lr(a),i))return void(e.selectedIndex!==s&&(e.selectedIndex=s));o||(e.selectedIndex=-1)}}function sr(e,t){return t.every((function(t){return!H(t,e)}))}function lr(e){return"_value"in e?e._value:e.value}function cr(e){e.target.composing=!0}function ur(e){e.target.composing&&(e.target.composing=!1,dr(e.target,"input"))}function dr(e,t){var n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}function fr(e){return!e.componentInstance||e.data&&e.data.transition?e:fr(e.componentInstance._vnode)}var pr={model:or,show:{bind:function(e,t,n){var i=t.value,o=(n=fr(n)).data&&n.data.transition,r=e.__vOriginalDisplay="none"===e.style.display?"":e.style.display;i&&o?(n.data.show=!0,Jo(n,(function(){e.style.display=r}))):e.style.display=i?r:"none"},update:function(e,t,n){var i=t.value;!i!=!t.oldValue&&((n=fr(n)).data&&n.data.transition?(n.data.show=!0,i?Jo(n,(function(){e.style.display=e.__vOriginalDisplay})):Zo(n,(function(){e.style.display="none"}))):e.style.display=i?e.__vOriginalDisplay:"none")},unbind:function(e,t,n,i,o){o||(e.style.display=e.__vOriginalDisplay)}}},mr={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function hr(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?hr(on(t.children)):e}function gr(e){var t={},n=e.$options;for(var i in n.propsData)t[i]=e[i];var o=n._parentListeners;for(var r in o)t[O(r)]=o[r];return t}function vr(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}var br=function(e){return e.tag||nn(e)},yr=function(e){return"show"===e.name},jr={name:"transition",props:mr,abstract:!0,render:function(e){var t=this,n=this.$slots.default;if(n&&(n=n.filter(br)).length){0;var i=this.mode;0;var o=n[0];if(function(e){for(;e=e.parent;)if(e.data.transition)return!0}(this.$vnode))return o;var r=hr(o);if(!r)return o;if(this._leaving)return vr(e,o);var a="__transition-"+this._uid+"-";r.key=null==r.key?r.isComment?a+"comment":a+r.tag:p(r.key)?0===String(r.key).indexOf(a)?r.key:a+r.key:r.key;var s=(r.data||(r.data={})).transition=gr(this),l=this._vnode,c=hr(l);if(r.data.directives&&r.data.directives.some(yr)&&(r.data.show=!0),c&&c.data&&!function(e,t){return t.key===e.key&&t.tag===e.tag}(r,c)&&!nn(c)&&(!c.componentInstance||!c.componentInstance._vnode.isComment)){var u=c.data.transition=F({},s);if("out-in"===i)return this._leaving=!0,bt(u,"afterLeave",(function(){t._leaving=!1,t.$forceUpdate()})),vr(e,o);if("in-out"===i){if(nn(r))return l;var d,f=function(){d()};bt(s,"afterEnter",f),bt(s,"enterCancelled",f),bt(u,"delayLeave",(function(e){d=e}))}}return o}}},_r=F({tag:String,moveClass:String},mr);function wr(e){e.elm._moveCb&&e.elm._moveCb(),e.elm._enterCb&&e.elm._enterCb()}function xr(e){e.data.newPos=e.elm.getBoundingClientRect()}function kr(e){var t=e.data.pos,n=e.data.newPos,i=t.left-n.left,o=t.top-n.top;if(i||o){e.data.moved=!0;var r=e.elm.style;r.transform=r.WebkitTransform="translate("+i+"px,"+o+"px)",r.transitionDuration="0s"}}delete _r.mode;var Cr={Transition:jr,TransitionGroup:{props:_r,beforeMount:function(){var e=this,t=this._update;this._update=function(n,i){var o=un(e);e.__patch__(e._vnode,e.kept,!1,!0),e._vnode=e.kept,o(),t.call(e,n,i)}},render:function(e){for(var t=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),i=this.prevChildren=this.children,o=this.$slots.default||[],r=this.children=[],a=gr(this),s=0;s<o.length;s++){var l=o[s];if(l.tag)if(null!=l.key&&0!==String(l.key).indexOf("__vlist"))r.push(l),n[l.key]=l,(l.data||(l.data={})).transition=a;else;}if(i){for(var c=[],u=[],d=0;d<i.length;d++){var f=i[d];f.data.transition=a,f.data.pos=f.elm.getBoundingClientRect(),n[f.key]?c.push(f):u.push(f)}this.kept=e(t,null,c),this.removed=u}return e(t,null,r)},updated:function(){var e=this.prevChildren,t=this.moveClass||(this.name||"v")+"-move";e.length&&this.hasMove(e[0].elm,t)&&(e.forEach(wr),e.forEach(xr),e.forEach(kr),this._reflow=document.body.offsetHeight,e.forEach((function(e){if(e.data.moved){var n=e.elm,i=n.style;Vo(n,t),i.transform=i.WebkitTransform=i.transitionDuration="",n.addEventListener(qo,n._moveCb=function e(i){i&&i.target!==n||i&&!/transform$/.test(i.propertyName)||(n.removeEventListener(qo,e),n._moveCb=null,Wo(n,t))})}})))},methods:{hasMove:function(e,t){if(!Po)return!1;if(this._hasMove)return this._hasMove;var n=e.cloneNode();e._transitionClasses&&e._transitionClasses.forEach((function(e){Lo(n,e)})),Do(n,t),n.style.display="none",this.$el.appendChild(n);var i=Xo(n);return this.$el.removeChild(n),this._hasMove=i.hasTransform}}}};Fn.config.mustUseProp=Qn,Fn.config.isReservedTag=li,Fn.config.isReservedAttr=Vn,Fn.config.getTagNamespace=ci,Fn.config.isUnknownElement=function(e){if(!te)return!0;if(li(e))return!1;if(e=e.toLowerCase(),null!=ui[e])return ui[e];var t=document.createElement(e);return e.indexOf("-")>-1?ui[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:ui[e]=/HTMLUnknownElement/.test(t.toString())},F(Fn.options.directives,pr),F(Fn.options.components,Cr),Fn.prototype.__patch__=te?ir:M,Fn.prototype.$mount=function(e,t){return function(e,t,n){var i;return e.$el=t,e.$options.render||(e.$options.render=Se),mn(e,"beforeMount"),i=function(){e._update(e._render(),n)},new Sn(e,i,M,{before:function(){e._isMounted&&!e._isDestroyed&&mn(e,"beforeUpdate")}},!0),n=!1,null==e.$vnode&&(e._isMounted=!0,mn(e,"mounted")),e}(this,e=e&&te?fi(e):void 0,t)},te&&setTimeout((function(){G.devtools&&me&&me.emit("init",Fn)}),0);var Sr=/\{\{((?:.|\r?\n)+?)\}\}/g,Tr=/[-.*+?^${}()|[\]\/\\]/g,Ar=A((function(e){var t=e[0].replace(Tr,"\\$&"),n=e[1].replace(Tr,"\\$&");return new RegExp(t+"((?:.|\\n)+?)"+n,"g")}));var $r={staticKeys:["staticClass"],transformNode:function(e,t){t.warn;var n=Ki(e,"class");n&&(e.staticClass=JSON.stringify(n));var i=Yi(e,"class",!1);i&&(e.classBinding=i)},genData:function(e){var t="";return e.staticClass&&(t+="staticClass:"+e.staticClass+","),e.classBinding&&(t+="class:"+e.classBinding+","),t}};var Er,Or={staticKeys:["staticStyle"],transformNode:function(e,t){t.warn;var n=Ki(e,"style");n&&(e.staticStyle=JSON.stringify(jo(n)));var i=Yi(e,"style",!1);i&&(e.styleBinding=i)},genData:function(e){var t="";return e.staticStyle&&(t+="staticStyle:"+e.staticStyle+","),e.styleBinding&&(t+="style:("+e.styleBinding+"),"),t}},Dr=function(e){return(Er=Er||document.createElement("div")).innerHTML=e,Er.textContent},Lr=w("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),Ir=w("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),Rr=w("address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track"),Pr=/^\s*([^\s"'<>\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,Fr=/^\s*((?:v-[\w-]+:|@|:|#)\[[^=]+\][^\s"'<>\/=]*)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,Nr="[a-zA-Z_][\\-\\.0-9_a-zA-Z"+X.source+"]*",Mr="((?:"+Nr+"\\:)?"+Nr+")",qr=new RegExp("^<"+Mr),zr=/^\s*(\/?)>/,Hr=new RegExp("^<\\/"+Mr+"[^>]*>"),Ur=/^<!DOCTYPE [^>]+>/i,Br=/^<!\--/,Vr=/^<!\[/,Wr=w("script,style,textarea",!0),Qr={},Gr={"<":"<",">":">",""":'"',"&":"&"," ":"\n","	":"\t","'":"'"},Xr=/&(?:lt|gt|quot|amp|#39);/g,Yr=/&(?:lt|gt|quot|amp|#39|#10|#9);/g,Kr=w("pre,textarea",!0),Jr=function(e,t){return e&&Kr(e)&&"\n"===t[0]};function Zr(e,t){var n=t?Yr:Xr;return e.replace(n,(function(e){return Gr[e]}))}var ea,ta,na,ia,oa,ra,aa,sa,la=/^@|^v-on:/,ca=/^v-|^@|^:|^#/,ua=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,da=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,fa=/^\(|\)$/g,pa=/^\[.*\]$/,ma=/:(.*)$/,ha=/^:|^\.|^v-bind:/,ga=/\.[^.\]]+(?=[^\]]*$)/g,va=/^v-slot(:|$)|^#/,ba=/[\r\n]/,ya=/\s+/g,ja=A(Dr),_a="_empty_";function wa(e,t,n){return{type:1,tag:e,attrsList:t,attrsMap:$a(t),rawAttrsMap:{},parent:n,children:[]}}function xa(e,t){ea=t.warn||Hi,ra=t.isPreTag||q,aa=t.mustUseProp||q,sa=t.getTagNamespace||q;var n=t.isReservedTag||q;(function(e){return!!e.component||!n(e.tag)}),na=Ui(t.modules,"transformNode"),ia=Ui(t.modules,"preTransformNode"),oa=Ui(t.modules,"postTransformNode"),ta=t.delimiters;var i,o,r=[],a=!1!==t.preserveWhitespace,s=t.whitespace,l=!1,c=!1;function u(e){if(d(e),l||e.processed||(e=ka(e,t)),r.length||e===i||i.if&&(e.elseif||e.else)&&Sa(i,{exp:e.elseif,block:e}),o&&!e.forbidden)if(e.elseif||e.else)a=e,(s=function(e){for(var t=e.length;t--;){if(1===e[t].type)return e[t];e.pop()}}(o.children))&&s.if&&Sa(s,{exp:a.elseif,block:a});else{if(e.slotScope){var n=e.slotTarget||'"default"';(o.scopedSlots||(o.scopedSlots={}))[n]=e}o.children.push(e),e.parent=o}var a,s;e.children=e.children.filter((function(e){return!e.slotScope})),d(e),e.pre&&(l=!1),ra(e.tag)&&(c=!1);for(var u=0;u<oa.length;u++)oa[u](e,t)}function d(e){if(!c)for(var t;(t=e.children[e.children.length-1])&&3===t.type&&" "===t.text;)e.children.pop()}return function(e,t){for(var n,i,o=[],r=t.expectHTML,a=t.isUnaryTag||q,s=t.canBeLeftOpenTag||q,l=0;e;){if(n=e,i&&Wr(i)){var c=0,u=i.toLowerCase(),d=Qr[u]||(Qr[u]=new RegExp("([\\s\\S]*?)(</"+u+"[^>]*>)","i")),f=e.replace(d,(function(e,n,i){return c=i.length,Wr(u)||"noscript"===u||(n=n.replace(/<!\--([\s\S]*?)-->/g,"$1").replace(/<!\[CDATA\[([\s\S]*?)]]>/g,"$1")),Jr(u,n)&&(n=n.slice(1)),t.chars&&t.chars(n),""}));l+=e.length-f.length,e=f,S(u,l-c,l)}else{var p=e.indexOf("<");if(0===p){if(Br.test(e)){var m=e.indexOf("--\x3e");if(m>=0){t.shouldKeepComment&&t.comment(e.substring(4,m),l,l+m+3),x(m+3);continue}}if(Vr.test(e)){var h=e.indexOf("]>");if(h>=0){x(h+2);continue}}var g=e.match(Ur);if(g){x(g[0].length);continue}var v=e.match(Hr);if(v){var b=l;x(v[0].length),S(v[1],b,l);continue}var y=k();if(y){C(y),Jr(y.tagName,e)&&x(1);continue}}var j=void 0,_=void 0,w=void 0;if(p>=0){for(_=e.slice(p);!(Hr.test(_)||qr.test(_)||Br.test(_)||Vr.test(_)||(w=_.indexOf("<",1))<0);)p+=w,_=e.slice(p);j=e.substring(0,p)}p<0&&(j=e),j&&x(j.length),t.chars&&j&&t.chars(j,l-j.length,l)}if(e===n){t.chars&&t.chars(e);break}}function x(t){l+=t,e=e.substring(t)}function k(){var t=e.match(qr);if(t){var n,i,o={tagName:t[1],attrs:[],start:l};for(x(t[0].length);!(n=e.match(zr))&&(i=e.match(Fr)||e.match(Pr));)i.start=l,x(i[0].length),i.end=l,o.attrs.push(i);if(n)return o.unarySlash=n[1],x(n[0].length),o.end=l,o}}function C(e){var n=e.tagName,l=e.unarySlash;r&&("p"===i&&Rr(n)&&S(i),s(n)&&i===n&&S(n));for(var c=a(n)||!!l,u=e.attrs.length,d=new Array(u),f=0;f<u;f++){var p=e.attrs[f],m=p[3]||p[4]||p[5]||"",h="a"===n&&"href"===p[1]?t.shouldDecodeNewlinesForHref:t.shouldDecodeNewlines;d[f]={name:p[1],value:Zr(m,h)}}c||(o.push({tag:n,lowerCasedTag:n.toLowerCase(),attrs:d,start:e.start,end:e.end}),i=n),t.start&&t.start(n,d,c,e.start,e.end)}function S(e,n,r){var a,s;if(null==n&&(n=l),null==r&&(r=l),e)for(s=e.toLowerCase(),a=o.length-1;a>=0&&o[a].lowerCasedTag!==s;a--);else a=0;if(a>=0){for(var c=o.length-1;c>=a;c--)t.end&&t.end(o[c].tag,n,r);o.length=a,i=a&&o[a-1].tag}else"br"===s?t.start&&t.start(e,[],!0,n,r):"p"===s&&(t.start&&t.start(e,[],!1,n,r),t.end&&t.end(e,n,r))}S()}(e,{warn:ea,expectHTML:t.expectHTML,isUnaryTag:t.isUnaryTag,canBeLeftOpenTag:t.canBeLeftOpenTag,shouldDecodeNewlines:t.shouldDecodeNewlines,shouldDecodeNewlinesForHref:t.shouldDecodeNewlinesForHref,shouldKeepComment:t.comments,outputSourceRange:t.outputSourceRange,start:function(e,n,a,s,d){var f=o&&o.ns||sa(e);re&&"svg"===f&&(n=function(e){for(var t=[],n=0;n<e.length;n++){var i=e[n];Ea.test(i.name)||(i.name=i.name.replace(Oa,""),t.push(i))}return t}(n));var p,m=wa(e,n,o);f&&(m.ns=f),"style"!==(p=m).tag&&("script"!==p.tag||p.attrsMap.type&&"text/javascript"!==p.attrsMap.type)||pe()||(m.forbidden=!0);for(var h=0;h<ia.length;h++)m=ia[h](m,t)||m;l||(!function(e){null!=Ki(e,"v-pre")&&(e.pre=!0)}(m),m.pre&&(l=!0)),ra(m.tag)&&(c=!0),l?function(e){var t=e.attrsList,n=t.length;if(n)for(var i=e.attrs=new Array(n),o=0;o<n;o++)i[o]={name:t[o].name,value:JSON.stringify(t[o].value)},null!=t[o].start&&(i[o].start=t[o].start,i[o].end=t[o].end);else e.pre||(e.plain=!0)}(m):m.processed||(Ca(m),function(e){var t=Ki(e,"v-if");if(t)e.if=t,Sa(e,{exp:t,block:e});else{null!=Ki(e,"v-else")&&(e.else=!0);var n=Ki(e,"v-else-if");n&&(e.elseif=n)}}(m),function(e){null!=Ki(e,"v-once")&&(e.once=!0)}(m)),i||(i=m),a?u(m):(o=m,r.push(m))},end:function(e,t,n){var i=r[r.length-1];r.length-=1,o=r[r.length-1],u(i)},chars:function(e,t,n){if(o&&(!re||"textarea"!==o.tag||o.attrsMap.placeholder!==e)){var i,r,u,d=o.children;if(e=c||e.trim()?"script"===(i=o).tag||"style"===i.tag?e:ja(e):d.length?s?"condense"===s&&ba.test(e)?"":" ":a?" ":"":"")c||"condense"!==s||(e=e.replace(ya," ")),!l&&" "!==e&&(r=function(e,t){var n=t?Ar(t):Sr;if(n.test(e)){for(var i,o,r,a=[],s=[],l=n.lastIndex=0;i=n.exec(e);){(o=i.index)>l&&(s.push(r=e.slice(l,o)),a.push(JSON.stringify(r)));var c=qi(i[1].trim());a.push("_s("+c+")"),s.push({"@binding":c}),l=o+i[0].length}return l<e.length&&(s.push(r=e.slice(l)),a.push(JSON.stringify(r))),{expression:a.join("+"),tokens:s}}}(e,ta))?u={type:2,expression:r.expression,tokens:r.tokens,text:e}:" "===e&&d.length&&" "===d[d.length-1].text||(u={type:3,text:e}),u&&d.push(u)}},comment:function(e,t,n){if(o){var i={type:3,text:e,isComment:!0};0,o.children.push(i)}}}),i}function ka(e,t){var n;!function(e){var t=Yi(e,"key");if(t){e.key=t}}(e),e.plain=!e.key&&!e.scopedSlots&&!e.attrsList.length,function(e){var t=Yi(e,"ref");t&&(e.ref=t,e.refInFor=function(e){var t=e;for(;t;){if(void 0!==t.for)return!0;t=t.parent}return!1}(e))}(e),function(e){var t;"template"===e.tag?(t=Ki(e,"scope"),e.slotScope=t||Ki(e,"slot-scope")):(t=Ki(e,"slot-scope"))&&(e.slotScope=t);var n=Yi(e,"slot");n&&(e.slotTarget='""'===n?'"default"':n,e.slotTargetDynamic=!(!e.attrsMap[":slot"]&&!e.attrsMap["v-bind:slot"]),"template"===e.tag||e.slotScope||Vi(e,"slot",n,function(e,t){return e.rawAttrsMap[":"+t]||e.rawAttrsMap["v-bind:"+t]||e.rawAttrsMap[t]}(e,"slot")));if("template"===e.tag){var i=Ji(e,va);if(i){0;var o=Ta(i),r=o.name,a=o.dynamic;e.slotTarget=r,e.slotTargetDynamic=a,e.slotScope=i.value||_a}}else{var s=Ji(e,va);if(s){0;var l=e.scopedSlots||(e.scopedSlots={}),c=Ta(s),u=c.name,d=c.dynamic,f=l[u]=wa("template",[],e);f.slotTarget=u,f.slotTargetDynamic=d,f.children=e.children.filter((function(e){if(!e.slotScope)return e.parent=f,!0})),f.slotScope=s.value||_a,e.children=[],e.plain=!1}}}(e),"slot"===(n=e).tag&&(n.slotName=Yi(n,"name")),function(e){var t;(t=Yi(e,"is"))&&(e.component=t);null!=Ki(e,"inline-template")&&(e.inlineTemplate=!0)}(e);for(var i=0;i<na.length;i++)e=na[i](e,t)||e;return function(e){var t,n,i,o,r,a,s,l,c=e.attrsList;for(t=0,n=c.length;t<n;t++){if(i=o=c[t].name,r=c[t].value,ca.test(i))if(e.hasBindings=!0,(a=Aa(i.replace(ca,"")))&&(i=i.replace(ga,"")),ha.test(i))i=i.replace(ha,""),r=qi(r),(l=pa.test(i))&&(i=i.slice(1,-1)),a&&(a.prop&&!l&&"innerHtml"===(i=O(i))&&(i="innerHTML"),a.camel&&!l&&(i=O(i)),a.sync&&(s=to(r,"$event"),l?Xi(e,'"update:"+('+i+")",s,null,!1,0,c[t],!0):(Xi(e,"update:"+O(i),s,null,!1,0,c[t]),I(i)!==O(i)&&Xi(e,"update:"+I(i),s,null,!1,0,c[t])))),a&&a.prop||!e.component&&aa(e.tag,e.attrsMap.type,i)?Bi(e,i,r,c[t],l):Vi(e,i,r,c[t],l);else if(la.test(i))i=i.replace(la,""),(l=pa.test(i))&&(i=i.slice(1,-1)),Xi(e,i,r,a,!1,0,c[t],l);else{var u=(i=i.replace(ca,"")).match(ma),d=u&&u[1];l=!1,d&&(i=i.slice(0,-(d.length+1)),pa.test(d)&&(d=d.slice(1,-1),l=!0)),Qi(e,i,o,r,d,l,a,c[t])}else Vi(e,i,JSON.stringify(r),c[t]),!e.component&&"muted"===i&&aa(e.tag,e.attrsMap.type,i)&&Bi(e,i,"true",c[t])}}(e),e}function Ca(e){var t;if(t=Ki(e,"v-for")){var n=function(e){var t=e.match(ua);if(!t)return;var n={};n.for=t[2].trim();var i=t[1].trim().replace(fa,""),o=i.match(da);o?(n.alias=i.replace(da,"").trim(),n.iterator1=o[1].trim(),o[2]&&(n.iterator2=o[2].trim())):n.alias=i;return n}(t);n&&F(e,n)}}function Sa(e,t){e.ifConditions||(e.ifConditions=[]),e.ifConditions.push(t)}function Ta(e){var t=e.name.replace(va,"");return t||"#"!==e.name[0]&&(t="default"),pa.test(t)?{name:t.slice(1,-1),dynamic:!0}:{name:'"'+t+'"',dynamic:!1}}function Aa(e){var t=e.match(ga);if(t){var n={};return t.forEach((function(e){n[e.slice(1)]=!0})),n}}function $a(e){for(var t={},n=0,i=e.length;n<i;n++)t[e[n].name]=e[n].value;return t}var Ea=/^xmlns:NS\d+/,Oa=/^NS\d+:/;function Da(e){return wa(e.tag,e.attrsList.slice(),e.parent)}var La=[$r,Or,{preTransformNode:function(e,t){if("input"===e.tag){var n,i=e.attrsMap;if(!i["v-model"])return;if((i[":type"]||i["v-bind:type"])&&(n=Yi(e,"type")),i.type||n||!i["v-bind"]||(n="("+i["v-bind"]+").type"),n){var o=Ki(e,"v-if",!0),r=o?"&&("+o+")":"",a=null!=Ki(e,"v-else",!0),s=Ki(e,"v-else-if",!0),l=Da(e);Ca(l),Wi(l,"type","checkbox"),ka(l,t),l.processed=!0,l.if="("+n+")==='checkbox'"+r,Sa(l,{exp:l.if,block:l});var c=Da(e);Ki(c,"v-for",!0),Wi(c,"type","radio"),ka(c,t),Sa(l,{exp:"("+n+")==='radio'"+r,block:c});var u=Da(e);return Ki(u,"v-for",!0),Wi(u,":type",n),ka(u,t),Sa(l,{exp:o,block:u}),a?l.else=!0:s&&(l.elseif=s),l}}}}];var Ia,Ra,Pa={expectHTML:!0,modules:La,directives:{model:function(e,t,n){n;var i=t.value,o=t.modifiers,r=e.tag,a=e.attrsMap.type;if(e.component)return eo(e,i,o),!1;if("select"===r)!function(e,t,n){var i='var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = "_value" in o ? o._value : o.value;return '+(n&&n.number?"_n(val)":"val")+"});";i=i+" "+to(t,"$event.target.multiple ? $$selectedVal : $$selectedVal[0]"),Xi(e,"change",i,null,!0)}(e,i,o);else if("input"===r&&"checkbox"===a)!function(e,t,n){var i=n&&n.number,o=Yi(e,"value")||"null",r=Yi(e,"true-value")||"true",a=Yi(e,"false-value")||"false";Bi(e,"checked","Array.isArray("+t+")?_i("+t+","+o+")>-1"+("true"===r?":("+t+")":":_q("+t+","+r+")")),Xi(e,"change","var $$a="+t+",$$el=$event.target,$$c=$$el.checked?("+r+"):("+a+");if(Array.isArray($$a)){var $$v="+(i?"_n("+o+")":o)+",$$i=_i($$a,$$v);if($$el.checked){$$i<0&&("+to(t,"$$a.concat([$$v])")+")}else{$$i>-1&&("+to(t,"$$a.slice(0,$$i).concat($$a.slice($$i+1))")+")}}else{"+to(t,"$$c")+"}",null,!0)}(e,i,o);else if("input"===r&&"radio"===a)!function(e,t,n){var i=n&&n.number,o=Yi(e,"value")||"null";Bi(e,"checked","_q("+t+","+(o=i?"_n("+o+")":o)+")"),Xi(e,"change",to(t,o),null,!0)}(e,i,o);else if("input"===r||"textarea"===r)!function(e,t,n){var i=e.attrsMap.type;0;var o=n||{},r=o.lazy,a=o.number,s=o.trim,l=!r&&"range"!==i,c=r?"change":"range"===i?lo:"input",u="$event.target.value";s&&(u="$event.target.value.trim()");a&&(u="_n("+u+")");var d=to(t,u);l&&(d="if($event.target.composing)return;"+d);Bi(e,"value","("+t+")"),Xi(e,c,d,null,!0),(s||a)&&Xi(e,"blur","$forceUpdate()")}(e,i,o);else{if(!G.isReservedTag(r))return eo(e,i,o),!1}return!0},text:function(e,t){t.value&&Bi(e,"textContent","_s("+t.value+")",t)},html:function(e,t){t.value&&Bi(e,"innerHTML","_s("+t.value+")",t)}},isPreTag:function(e){return"pre"===e},isUnaryTag:Lr,mustUseProp:Qn,canBeLeftOpenTag:Ir,isReservedTag:li,getTagNamespace:ci,staticKeys:function(e){return e.reduce((function(e,t){return e.concat(t.staticKeys||[])}),[]).join(",")}(La)},Fa=A((function(e){return w("type,tag,attrsList,attrsMap,plain,parent,children,attrs,start,end,rawAttrsMap"+(e?","+e:""))}));function Na(e,t){e&&(Ia=Fa(t.staticKeys||""),Ra=t.isReservedTag||q,Ma(e),qa(e,!1))}function Ma(e){if(e.static=function(e){if(2===e.type)return!1;if(3===e.type)return!0;return!(!e.pre&&(e.hasBindings||e.if||e.for||x(e.tag)||!Ra(e.tag)||function(e){for(;e.parent;){if("template"!==(e=e.parent).tag)return!1;if(e.for)return!0}return!1}(e)||!Object.keys(e).every(Ia)))}(e),1===e.type){if(!Ra(e.tag)&&"slot"!==e.tag&&null==e.attrsMap["inline-template"])return;for(var t=0,n=e.children.length;t<n;t++){var i=e.children[t];Ma(i),i.static||(e.static=!1)}if(e.ifConditions)for(var o=1,r=e.ifConditions.length;o<r;o++){var a=e.ifConditions[o].block;Ma(a),a.static||(e.static=!1)}}}function qa(e,t){if(1===e.type){if((e.static||e.once)&&(e.staticInFor=t),e.static&&e.children.length&&(1!==e.children.length||3!==e.children[0].type))return void(e.staticRoot=!0);if(e.staticRoot=!1,e.children)for(var n=0,i=e.children.length;n<i;n++)qa(e.children[n],t||!!e.for);if(e.ifConditions)for(var o=1,r=e.ifConditions.length;o<r;o++)qa(e.ifConditions[o].block,t)}}var za=/^([\w$_]+|\([^)]*?\))\s*=>|^function(?:\s+[\w$]+)?\s*\(/,Ha=/\([^)]*?\);*$/,Ua=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,Ba={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},Va={esc:["Esc","Escape"],tab:"Tab",enter:"Enter",space:[" ","Spacebar"],up:["Up","ArrowUp"],left:["Left","ArrowLeft"],right:["Right","ArrowRight"],down:["Down","ArrowDown"],delete:["Backspace","Delete","Del"]},Wa=function(e){return"if("+e+")return null;"},Qa={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:Wa("$event.target !== $event.currentTarget"),ctrl:Wa("!$event.ctrlKey"),shift:Wa("!$event.shiftKey"),alt:Wa("!$event.altKey"),meta:Wa("!$event.metaKey"),left:Wa("'button' in $event && $event.button !== 0"),middle:Wa("'button' in $event && $event.button !== 1"),right:Wa("'button' in $event && $event.button !== 2")};function Ga(e,t){var n=t?"nativeOn:":"on:",i="",o="";for(var r in e){var a=Xa(e[r]);e[r]&&e[r].dynamic?o+=r+","+a+",":i+='"'+r+'":'+a+","}return i="{"+i.slice(0,-1)+"}",o?n+"_d("+i+",["+o.slice(0,-1)+"])":n+i}function Xa(e){if(!e)return"function(){}";if(Array.isArray(e))return"["+e.map((function(e){return Xa(e)})).join(",")+"]";var t=Ua.test(e.value),n=za.test(e.value),i=Ua.test(e.value.replace(Ha,""));if(e.modifiers){var o="",r="",a=[];for(var s in e.modifiers)if(Qa[s])r+=Qa[s],Ba[s]&&a.push(s);else if("exact"===s){var l=e.modifiers;r+=Wa(["ctrl","shift","alt","meta"].filter((function(e){return!l[e]})).map((function(e){return"$event."+e+"Key"})).join("||"))}else a.push(s);return a.length&&(o+=function(e){return"if(!$event.type.indexOf('key')&&"+e.map(Ya).join("&&")+")return null;"}(a)),r&&(o+=r),"function($event){"+o+(t?"return "+e.value+"($event)":n?"return ("+e.value+")($event)":i?"return "+e.value:e.value)+"}"}return t||n?e.value:"function($event){"+(i?"return "+e.value:e.value)+"}"}function Ya(e){var t=parseInt(e,10);if(t)return"$event.keyCode!=="+t;var n=Ba[e],i=Va[e];return"_k($event.keyCode,"+JSON.stringify(e)+","+JSON.stringify(n)+",$event.key,"+JSON.stringify(i)+")"}var Ka={on:function(e,t){e.wrapListeners=function(e){return"_g("+e+","+t.value+")"}},bind:function(e,t){e.wrapData=function(n){return"_b("+n+",'"+e.tag+"',"+t.value+","+(t.modifiers&&t.modifiers.prop?"true":"false")+(t.modifiers&&t.modifiers.sync?",true":"")+")"}},cloak:M},Ja=function(e){this.options=e,this.warn=e.warn||Hi,this.transforms=Ui(e.modules,"transformCode"),this.dataGenFns=Ui(e.modules,"genData"),this.directives=F(F({},Ka),e.directives);var t=e.isReservedTag||q;this.maybeComponent=function(e){return!!e.component||!t(e.tag)},this.onceId=0,this.staticRenderFns=[],this.pre=!1};function Za(e,t){var n=new Ja(t);return{render:"with(this){return "+(e?es(e,n):'_c("div")')+"}",staticRenderFns:n.staticRenderFns}}function es(e,t){if(e.parent&&(e.pre=e.pre||e.parent.pre),e.staticRoot&&!e.staticProcessed)return ts(e,t);if(e.once&&!e.onceProcessed)return ns(e,t);if(e.for&&!e.forProcessed)return rs(e,t);if(e.if&&!e.ifProcessed)return is(e,t);if("template"!==e.tag||e.slotTarget||t.pre){if("slot"===e.tag)return function(e,t){var n=e.slotName||'"default"',i=cs(e,t),o="_t("+n+(i?","+i:""),r=e.attrs||e.dynamicAttrs?fs((e.attrs||[]).concat(e.dynamicAttrs||[]).map((function(e){return{name:O(e.name),value:e.value,dynamic:e.dynamic}}))):null,a=e.attrsMap["v-bind"];!r&&!a||i||(o+=",null");r&&(o+=","+r);a&&(o+=(r?"":",null")+","+a);return o+")"}(e,t);var n;if(e.component)n=function(e,t,n){var i=t.inlineTemplate?null:cs(t,n,!0);return"_c("+e+","+as(t,n)+(i?","+i:"")+")"}(e.component,e,t);else{var i;(!e.plain||e.pre&&t.maybeComponent(e))&&(i=as(e,t));var o=e.inlineTemplate?null:cs(e,t,!0);n="_c('"+e.tag+"'"+(i?","+i:"")+(o?","+o:"")+")"}for(var r=0;r<t.transforms.length;r++)n=t.transforms[r](e,n);return n}return cs(e,t)||"void 0"}function ts(e,t){e.staticProcessed=!0;var n=t.pre;return e.pre&&(t.pre=e.pre),t.staticRenderFns.push("with(this){return "+es(e,t)+"}"),t.pre=n,"_m("+(t.staticRenderFns.length-1)+(e.staticInFor?",true":"")+")"}function ns(e,t){if(e.onceProcessed=!0,e.if&&!e.ifProcessed)return is(e,t);if(e.staticInFor){for(var n="",i=e.parent;i;){if(i.for){n=i.key;break}i=i.parent}return n?"_o("+es(e,t)+","+t.onceId+++","+n+")":es(e,t)}return ts(e,t)}function is(e,t,n,i){return e.ifProcessed=!0,os(e.ifConditions.slice(),t,n,i)}function os(e,t,n,i){if(!e.length)return i||"_e()";var o=e.shift();return o.exp?"("+o.exp+")?"+r(o.block)+":"+os(e,t,n,i):""+r(o.block);function r(e){return n?n(e,t):e.once?ns(e,t):es(e,t)}}function rs(e,t,n,i){var o=e.for,r=e.alias,a=e.iterator1?","+e.iterator1:"",s=e.iterator2?","+e.iterator2:"";return e.forProcessed=!0,(i||"_l")+"(("+o+"),function("+r+a+s+"){return "+(n||es)(e,t)+"})"}function as(e,t){var n="{",i=function(e,t){var n=e.directives;if(!n)return;var i,o,r,a,s="directives:[",l=!1;for(i=0,o=n.length;i<o;i++){r=n[i],a=!0;var c=t.directives[r.name];c&&(a=!!c(e,r,t.warn)),a&&(l=!0,s+='{name:"'+r.name+'",rawName:"'+r.rawName+'"'+(r.value?",value:("+r.value+"),expression:"+JSON.stringify(r.value):"")+(r.arg?",arg:"+(r.isDynamicArg?r.arg:'"'+r.arg+'"'):"")+(r.modifiers?",modifiers:"+JSON.stringify(r.modifiers):"")+"},")}if(l)return s.slice(0,-1)+"]"}(e,t);i&&(n+=i+","),e.key&&(n+="key:"+e.key+","),e.ref&&(n+="ref:"+e.ref+","),e.refInFor&&(n+="refInFor:true,"),e.pre&&(n+="pre:true,"),e.component&&(n+='tag:"'+e.tag+'",');for(var o=0;o<t.dataGenFns.length;o++)n+=t.dataGenFns[o](e);if(e.attrs&&(n+="attrs:"+fs(e.attrs)+","),e.props&&(n+="domProps:"+fs(e.props)+","),e.events&&(n+=Ga(e.events,!1)+","),e.nativeEvents&&(n+=Ga(e.nativeEvents,!0)+","),e.slotTarget&&!e.slotScope&&(n+="slot:"+e.slotTarget+","),e.scopedSlots&&(n+=function(e,t,n){var i=e.for||Object.keys(t).some((function(e){var n=t[e];return n.slotTargetDynamic||n.if||n.for||ss(n)})),o=!!e.if;if(!i)for(var r=e.parent;r;){if(r.slotScope&&r.slotScope!==_a||r.for){i=!0;break}r.if&&(o=!0),r=r.parent}var a=Object.keys(t).map((function(e){return ls(t[e],n)})).join(",");return"scopedSlots:_u(["+a+"]"+(i?",null,true":"")+(!i&&o?",null,false,"+function(e){var t=5381,n=e.length;for(;n;)t=33*t^e.charCodeAt(--n);return t>>>0}(a):"")+")"}(e,e.scopedSlots,t)+","),e.model&&(n+="model:{value:"+e.model.value+",callback:"+e.model.callback+",expression:"+e.model.expression+"},"),e.inlineTemplate){var r=function(e,t){var n=e.children[0];0;if(n&&1===n.type){var i=Za(n,t.options);return"inlineTemplate:{render:function(){"+i.render+"},staticRenderFns:["+i.staticRenderFns.map((function(e){return"function(){"+e+"}"})).join(",")+"]}"}}(e,t);r&&(n+=r+",")}return n=n.replace(/,$/,"")+"}",e.dynamicAttrs&&(n="_b("+n+',"'+e.tag+'",'+fs(e.dynamicAttrs)+")"),e.wrapData&&(n=e.wrapData(n)),e.wrapListeners&&(n=e.wrapListeners(n)),n}function ss(e){return 1===e.type&&("slot"===e.tag||e.children.some(ss))}function ls(e,t){var n=e.attrsMap["slot-scope"];if(e.if&&!e.ifProcessed&&!n)return is(e,t,ls,"null");if(e.for&&!e.forProcessed)return rs(e,t,ls);var i=e.slotScope===_a?"":String(e.slotScope),o="function("+i+"){return "+("template"===e.tag?e.if&&n?"("+e.if+")?"+(cs(e,t)||"undefined")+":undefined":cs(e,t)||"undefined":es(e,t))+"}",r=i?"":",proxy:true";return"{key:"+(e.slotTarget||'"default"')+",fn:"+o+r+"}"}function cs(e,t,n,i,o){var r=e.children;if(r.length){var a=r[0];if(1===r.length&&a.for&&"template"!==a.tag&&"slot"!==a.tag){var s=n?t.maybeComponent(a)?",1":",0":"";return""+(i||es)(a,t)+s}var l=n?function(e,t){for(var n=0,i=0;i<e.length;i++){var o=e[i];if(1===o.type){if(us(o)||o.ifConditions&&o.ifConditions.some((function(e){return us(e.block)}))){n=2;break}(t(o)||o.ifConditions&&o.ifConditions.some((function(e){return t(e.block)})))&&(n=1)}}return n}(r,t.maybeComponent):0,c=o||ds;return"["+r.map((function(e){return c(e,t)})).join(",")+"]"+(l?","+l:"")}}function us(e){return void 0!==e.for||"template"===e.tag||"slot"===e.tag}function ds(e,t){return 1===e.type?es(e,t):3===e.type&&e.isComment?function(e){return"_e("+JSON.stringify(e.text)+")"}(e):"_v("+(2===(n=e).type?n.expression:ps(JSON.stringify(n.text)))+")";var n}function fs(e){for(var t="",n="",i=0;i<e.length;i++){var o=e[i],r=ps(o.value);o.dynamic?n+=o.name+","+r+",":t+='"'+o.name+'":'+r+","}return t="{"+t.slice(0,-1)+"}",n?"_d("+t+",["+n.slice(0,-1)+"])":t}function ps(e){return e.replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}new RegExp("\\b"+"do,if,for,let,new,try,var,case,else,with,await,break,catch,class,const,super,throw,while,yield,delete,export,import,return,switch,default,extends,finally,continue,debugger,function,arguments".split(",").join("\\b|\\b")+"\\b"),new RegExp("\\b"+"delete,typeof,void".split(",").join("\\s*\\([^\\)]*\\)|\\b")+"\\s*\\([^\\)]*\\)");function ms(e,t){try{return new Function(e)}catch(n){return t.push({err:n,code:e}),M}}function hs(e){var t=Object.create(null);return function(n,i,o){(i=F({},i)).warn;delete i.warn;var r=i.delimiters?String(i.delimiters)+n:n;if(t[r])return t[r];var a=e(n,i);var s={},l=[];return s.render=ms(a.render,l),s.staticRenderFns=a.staticRenderFns.map((function(e){return ms(e,l)})),t[r]=s}}var gs,vs,bs=(gs=function(e,t){var n=xa(e.trim(),t);!1!==t.optimize&&Na(n,t);var i=Za(n,t);return{ast:n,render:i.render,staticRenderFns:i.staticRenderFns}},function(e){function t(t,n){var i=Object.create(e),o=[],r=[];if(n)for(var a in n.modules&&(i.modules=(e.modules||[]).concat(n.modules)),n.directives&&(i.directives=F(Object.create(e.directives||null),n.directives)),n)"modules"!==a&&"directives"!==a&&(i[a]=n[a]);i.warn=function(e,t,n){(n?r:o).push(e)};var s=gs(t.trim(),i);return s.errors=o,s.tips=r,s}return{compile:t,compileToFunctions:hs(t)}})(Pa),ys=(bs.compile,bs.compileToFunctions);function js(e){return(vs=vs||document.createElement("div")).innerHTML=e?'<a href="\n"/>':'<div a="\n"/>',vs.innerHTML.indexOf(" ")>0}var _s=!!te&&js(!1),ws=!!te&&js(!0),xs=A((function(e){var t=fi(e);return t&&t.innerHTML})),ks=Fn.prototype.$mount;Fn.prototype.$mount=function(e,t){if((e=e&&fi(e))===document.body||e===document.documentElement)return this;var n=this.$options;if(!n.render){var i=n.template;if(i)if("string"==typeof i)"#"===i.charAt(0)&&(i=xs(i));else{if(!i.nodeType)return this;i=i.innerHTML}else e&&(i=function(e){if(e.outerHTML)return e.outerHTML;var t=document.createElement("div");return t.appendChild(e.cloneNode(!0)),t.innerHTML}(e));if(i){0;var o=ys(i,{outputSourceRange:!1,shouldDecodeNewlines:_s,shouldDecodeNewlinesForHref:ws,delimiters:n.delimiters,comments:n.comments},this),r=o.render,a=o.staticRenderFns;n.render=r,n.staticRenderFns=a}}return ks.call(this,e,t)},Fn.compile=ys;var Cs=Fn,Ss=s("./node_modules/escape-goat/index.js");s("./node_modules/jquery.are-you-sure/jquery.are-you-sure.js"),s("./node_modules/core-js/modules/es.array.index-of.js"),s("./node_modules/core-js/modules/es.function.bind.js");!function(e,t,n,i){e.isFunction=e.isFunction||function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},t=void 0!==t&&t.Math==Math?t:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),e.fn.dropdown=function(o){var r,a=e(this),s=e(n),l=a.selector||"",c="ontouchstart"in n.documentElement,u=c?"touchstart":"click",d=(new Date).getTime(),f=[],p=arguments[0],m="string"==typeof p,h=[].slice.call(arguments,1),g=1;return a.each((function(v){var b,y,j,_,w,x,k,C,S,T=e.isPlainObject(o)?e.extend(!0,{},e.fn.dropdown.settings,o):e.extend({},e.fn.dropdown.settings),A=T.className,$=T.message,E=T.fields,O=T.keys,D=T.metadata,L=T.namespace,I=T.regExp,R=T.selector,P=T.error,F=T.templates,N="."+L,M="module-"+L,q=e(this),z=e(T.context),H=q.find(R.text),U=q.find(R.search),B=q.find(R.sizer),V=q.find(R.input),W=q.find(R.icon),Q=q.find(R.clearIcon),G=q.prev().find(R.text).length>0?q.prev().find(R.text):q.prev(),X=q.children(R.menu),Y=X.find(R.item),K=T.hideDividers?Y.parent().children(R.divider):e(),J=!1,Z=!1,ee=!1,te=!1,ne=this,ie=q.data(M);S={initialize:function(){S.debug("Initializing dropdown",T),S.is.alreadySetup()?S.setup.reference():(T.ignoreDiacritics&&!String.prototype.normalize&&(T.ignoreDiacritics=!1,S.error(P.noNormalize,ne)),S.setup.layout(),T.values&&S.change.values(T.values),S.refreshData(),S.save.defaults(),S.restore.selected(),S.create.id(),S.bind.events(),S.observeChanges(),S.instantiate(),S.aria.setup())},instantiate:function(){S.verbose("Storing instance of dropdown",S),ie=S,q.data(M,S)},destroy:function(){S.verbose("Destroying previous dropdown",q),S.remove.tabbable(),S.remove.active(),X.transition("stop all"),X.removeClass(A.visible).addClass(A.hidden),q.off(N).removeData(M),X.off(N),s.off(w),S.disconnect.menuObserver(),S.disconnect.selectObserver()},observeChanges:function(){"MutationObserver"in t&&(k=new MutationObserver(S.event.select.mutation),C=new MutationObserver(S.event.menu.mutation),S.debug("Setting up mutation observer",k,C),S.observe.select(),S.observe.menu())},disconnect:{menuObserver:function(){C&&C.disconnect()},selectObserver:function(){k&&k.disconnect()}},observe:{select:function(){S.has.input()&&k&&k.observe(q[0],{childList:!0,subtree:!0})},menu:function(){S.has.menu()&&C&&C.observe(X[0],{childList:!0,subtree:!0})}},create:{id:function(){x=(Math.random().toString(16)+"000000000").substr(2,8),w="."+x,S.verbose("Creating unique id for element",x)},userChoice:function(t){var n,o,r;return!!(t=t||S.get.userValues())&&(t=Array.isArray(t)?t:[t],e.each(t,(function(t,a){!1===S.get.item(a)&&(r=T.templates.addition(S.add.variables($.addResult,a)),o=e("<div />").html(r).attr("data-"+D.value,a).attr("data-"+D.text,a).addClass(A.addition).addClass(A.item),T.hideAdditions&&o.addClass(A.hidden),n=n===i?o:n.add(o),S.verbose("Creating user choices for value",a,o))})),n)},userLabels:function(t){var n=S.get.userValues();n&&(S.debug("Adding user labels",n),e.each(n,(function(e,t){S.verbose("Adding custom user value"),S.add.label(t,t)})))},menu:function(){X=e("<div />").addClass(A.menu).appendTo(q)},sizer:function(){B=e("<span />").addClass(A.sizer).insertAfter(U)}},search:function(e){e=e!==i?e:S.get.query(),S.verbose("Searching for query",e),S.has.minCharacters(e)?S.filter(e):S.hide(null,!0)},select:{firstUnfiltered:function(){S.verbose("Selecting first non-filtered element"),S.remove.selectedItem(),Y.not(R.unselectable).not(R.addition+R.hidden).eq(0).addClass(A.selected)},nextAvailable:function(e){var t=(e=e.eq(0)).nextAll(R.item).not(R.unselectable).eq(0),n=e.prevAll(R.item).not(R.unselectable).eq(0);t.length>0?(S.verbose("Moving selection to",t),t.addClass(A.selected)):(S.verbose("Moving selection to",n),n.addClass(A.selected))}},aria:{setup:function(){"menu"===S.aria.guessRole()&&(q.attr("aria-busy","true"),q.attr("role","menu"),q.attr("aria-haspopup","menu"),q.attr("aria-expanded","false"),X.find(".divider").attr("role","separator"),Y.attr("role","menuitem"),Y.each((function(e,t){t.id||(t.id=S.aria.nextID("menuitem"))})),H=q.find("> .text").eq(0),q.data("content")?(H.attr("aria-hidden"),q.attr("aria-label",q.data("content"))):(H.attr("id",S.aria.nextID("menutext")),q.attr("aria-labelledby",H.attr("id"))),q.attr("aria-busy","false"))},nextID:function(e){var t;do{t=e+"_"+g++}while(n.getElementById(t));return t},setExpanded:function(e){q.attr("aria-haspopup")&&q.attr("aria-expanded",e)},refreshDescendant:function(){if("menu"===q.attr("aria-haspopup")){var e=Y.not(R.unselectable).filter("."+A.selected).eq(0),t=X.children("."+A.active).eq(0),n=e.length>0?e:t;n?q.attr("aria-activedescendant",n.attr("id")):S.aria.removeDescendant()}},removeDescendant:function(){"menu"==q.attr("aria-haspopup")&&q.removeAttr("aria-activedescendant")},guessRole:function(){var e=q.hasClass("icon"),t=S.has.search(),n=V.length>0,i=S.is.multiple();return e||t||n||i?"unknown":"menu"}},setup:{api:function(){var e={debug:T.debug,urlData:{value:S.get.value(),query:S.get.query()},on:!1};S.verbose("First request, initializing API"),q.api(e)},layout:function(){q.is("select")&&(S.setup.select(),S.setup.returnedObject()),S.has.menu()||S.create.menu(),S.is.selection()&&S.is.clearable()&&!S.has.clearItem()&&(S.verbose("Adding clear icon"),Q=e("<i />").addClass("remove icon").insertBefore(H)),S.is.search()&&!S.has.search()&&(S.verbose("Adding search input"),U=e("<input />").addClass(A.search).prop("autocomplete","off").insertBefore(H)),S.is.multiple()&&S.is.searchSelection()&&!S.has.sizer()&&S.create.sizer(),T.allowTab&&S.set.tabbable(),Y.attr("tabindex","-1")},select:function(){var t=S.get.selectValues();S.debug("Dropdown initialized on a select",t),q.is("select")&&(V=q),V.parent(R.dropdown).length>0?(S.debug("UI dropdown already exists. Creating dropdown menu only"),q=V.closest(R.dropdown),S.has.menu()||S.create.menu(),X=q.children(R.menu),S.setup.menu(t)):(S.debug("Creating entire dropdown from select"),q=e("<div />").attr("class",V.attr("class")).addClass(A.selection).addClass(A.dropdown).html(F.dropdown(t,E,T.preserveHTML,T.className)).insertBefore(V),V.hasClass(A.multiple)&&!1===V.prop("multiple")&&(S.error(P.missingMultiple),V.prop("multiple",!0)),V.is("[multiple]")&&S.set.multiple(),V.prop("disabled")&&(S.debug("Disabling dropdown"),q.addClass(A.disabled)),V.removeAttr("required").removeAttr("class").detach().prependTo(q)),S.refresh()},menu:function(t){X.html(F.menu(t,E,T.preserveHTML,T.className)),Y=X.find(R.item),K=T.hideDividers?Y.parent().children(R.divider):e()},reference:function(){S.debug("Dropdown behavior was called on select, replacing with closest dropdown"),q=q.parent(R.dropdown),ie=q.data(M),ne=q.get(0),S.refresh(),S.setup.returnedObject()},returnedObject:function(){var e=a.slice(0,v),t=a.slice(v+1);a=e.add(q).add(t)}},refresh:function(){S.refreshSelectors(),S.refreshData()},refreshItems:function(){Y=X.find(R.item),K=T.hideDividers?Y.parent().children(R.divider):e()},refreshSelectors:function(){S.verbose("Refreshing selector cache"),H=q.find(R.text),U=q.find(R.search),V=q.find(R.input),W=q.find(R.icon),G=q.prev().find(R.text).length>0?q.prev().find(R.text):q.prev(),X=q.children(R.menu),Y=X.find(R.item),K=T.hideDividers?Y.parent().children(R.divider):e()},refreshData:function(){S.verbose("Refreshing cached metadata"),Y.removeData(D.text).removeData(D.value)},clearData:function(){S.verbose("Clearing metadata"),Y.removeData(D.text).removeData(D.value),q.removeData(D.defaultText).removeData(D.defaultValue).removeData(D.placeholderText)},toggle:function(){S.verbose("Toggling menu visibility"),S.is.active()?S.hide():S.show()},show:function(t,n){if(t=e.isFunction(t)?t:function(){},!S.can.show()&&S.is.remote()&&(S.debug("No API results retrieved, searching before show"),S.queryRemote(S.get.query(),S.show)),S.can.show()&&!S.is.active()){if(S.debug("Showing dropdown"),!S.has.message()||S.has.maxSelections()||S.has.allResultsFiltered()||S.remove.message(),S.is.allFiltered())return!0;!1!==T.onShow.call(ne)&&(S.aria.setExpanded(!0),S.aria.refreshDescendant(),S.animate.show((function(){S.can.click()&&S.bind.intent(),S.has.search()&&!n&&S.focusSearch(),S.set.visible(),t.call(ne)})))}},hide:function(t,n){t=e.isFunction(t)?t:function(){},S.is.active()&&!S.is.animatingOutward()?(S.debug("Hiding dropdown"),!1!==T.onHide.call(ne)&&(S.aria.setExpanded(!1),S.aria.removeDescendant(),S.animate.hide((function(){S.remove.visible(),S.is.focusedOnSearch()&&!0!==n&&U.blur(),t.call(ne)})))):S.can.click()&&S.unbind.intent()},hideOthers:function(){S.verbose("Finding other dropdowns to hide"),a.not(q).has(R.menu+"."+A.visible).dropdown("hide")},hideMenu:function(){S.verbose("Hiding menu instantaneously"),S.remove.active(),S.remove.visible(),X.transition("hide")},hideSubMenus:function(){var e=X.children(R.item).find(R.menu);S.verbose("Hiding sub menus",e),e.transition("hide")},bind:{events:function(){S.bind.keyboardEvents(),S.bind.inputEvents(),S.bind.mouseEvents()},keyboardEvents:function(){S.verbose("Binding keyboard events"),q.on("keydown"+N,S.event.keydown),S.has.search()&&q.on(S.get.inputEvent()+N,R.search,S.event.input),S.is.multiple()&&s.on("keydown"+w,S.event.document.keydown)},inputEvents:function(){S.verbose("Binding input change events"),q.on("change"+N,R.input,S.event.change)},mouseEvents:function(){S.verbose("Binding mouse events"),S.is.multiple()&&q.on(u+N,R.label,S.event.label.click).on(u+N,R.remove,S.event.remove.click),S.is.searchSelection()?(q.on("mousedown"+N,S.event.mousedown).on("mouseup"+N,S.event.mouseup).on("mousedown"+N,R.menu,S.event.menu.mousedown).on("mouseup"+N,R.menu,S.event.menu.mouseup).on(u+N,R.icon,S.event.icon.click).on(u+N,R.clearIcon,S.event.clearIcon.click).on("focus"+N,R.search,S.event.search.focus).on(u+N,R.search,S.event.search.focus).on("blur"+N,R.search,S.event.search.blur).on(u+N,R.text,S.event.text.focus),S.is.multiple()&&q.on(u+N,S.event.click)):("click"==T.on?q.on(u+N,R.icon,S.event.icon.click).on(u+N,S.event.test.toggle):"hover"==T.on?q.on("mouseenter"+N,S.delay.show).on("mouseleave"+N,S.delay.hide):q.on(T.on+N,S.toggle),q.on("mousedown"+N,S.event.mousedown).on("mouseup"+N,S.event.mouseup).on("focus"+N,S.event.focus).on(u+N,R.clearIcon,S.event.clearIcon.click),S.has.menuSearch()?q.on("blur"+N,R.search,S.event.search.blur):q.on("blur"+N,S.event.blur)),X.on((c?"touchstart":"mouseenter")+N,R.item,S.event.item.mouseenter).on("mouseleave"+N,R.item,S.event.item.mouseleave).on("click"+N,R.item,S.event.item.click)},intent:function(){S.verbose("Binding hide intent event to document"),c&&s.on("touchstart"+w,S.event.test.touch).on("touchmove"+w,S.event.test.touch),s.on(u+w,S.event.test.hide)}},unbind:{intent:function(){S.verbose("Removing hide intent event from document"),c&&s.off("touchstart"+w).off("touchmove"+w),s.off(u+w)}},filter:function(t){var n=t!==i?t:S.get.query(),o=function(){S.is.multiple()&&S.filterActive(),(t||!t&&0==S.get.activeItem().length)&&S.select.firstUnfiltered(),S.has.allResultsFiltered()?T.onNoResults.call(ne,n)?T.allowAdditions?T.hideAdditions&&(S.verbose("User addition with no menu, setting empty style"),S.set.empty(),S.hideMenu()):(S.verbose("All items filtered, showing message",n),S.add.message($.noResults)):(S.verbose("All items filtered, hiding dropdown",n),S.hideMenu()):(S.remove.empty(),S.remove.message()),T.allowAdditions&&S.add.userSuggestion(S.escape.htmlEntities(t)),S.is.searchSelection()&&S.can.show()&&S.is.focusedOnSearch()&&S.show()};T.useLabels&&S.has.maxSelections()||(T.apiSettings?S.can.useAPI()?S.queryRemote(n,(function(){T.filterRemoteData&&S.filterItems(n);var t=V.val();Array.isArray(t)||(t=t&&""!==t?t.split(T.delimiter):[]),e.each(t,(function(e,t){Y.filter('[data-value="'+t+'"]').addClass(A.filtered)})),o()})):S.error(P.noAPI):(S.filterItems(n),o()))},queryRemote:function(t,n){var i={errorDuration:!1,cache:"local",throttle:T.throttle,urlData:{query:t},onError:function(){S.add.message($.serverError),n()},onFailure:function(){S.add.message($.serverError),n()},onSuccess:function(e){var t=e[E.remoteValues];Array.isArray(t)||(t=[]),S.remove.message(),S.setup.menu({values:t}),0!==t.length||T.allowAdditions||S.add.message($.noResults),n()}};q.api("get request")||S.setup.api(),i=e.extend(!0,{},i,T.apiSettings),q.api("setting",i).api("query")},filterItems:function(t){var n=S.remove.diacritics(t!==i?t:S.get.query()),o=null,r=S.escape.string(n),a=(T.ignoreSearchCase?"i":"")+"gm",s=new RegExp("^"+r,a);S.has.query()&&(o=[],S.verbose("Searching for matching values",n),Y.each((function(){var t,i,r=e(this);if(r.hasClass(A.unfilterable))return o.push(this),!0;if("both"===T.match||"text"===T.match){if(-1!==(t=S.remove.diacritics(String(S.get.choiceText(r,!1)))).search(s))return o.push(this),!0;if("exact"===T.fullTextSearch&&S.exactSearch(n,t))return o.push(this),!0;if(!0===T.fullTextSearch&&S.fuzzySearch(n,t))return o.push(this),!0}if("both"===T.match||"value"===T.match){if(-1!==(i=S.remove.diacritics(String(S.get.choiceValue(r,t)))).search(s))return o.push(this),!0;if("exact"===T.fullTextSearch&&S.exactSearch(n,i))return o.push(this),!0;if(!0===T.fullTextSearch&&S.fuzzySearch(n,i))return o.push(this),!0}}))),S.debug("Showing only matched items",n),S.remove.filteredItem(),o&&Y.not(o).addClass(A.filtered),S.has.query()?!0===T.hideDividers?K.addClass(A.hidden):"empty"===T.hideDividers&&K.removeClass(A.hidden).filter((function(){var t=e(this).nextUntil(R.item);return 0===(t.length?t:e(this)).nextUntil(R.divider).filter(R.item+":not(."+A.filtered+")").length})).addClass(A.hidden):K.removeClass(A.hidden)},fuzzySearch:function(e,t){var n=t.length,i=e.length;if(e=T.ignoreSearchCase?e.toLowerCase():e,t=T.ignoreSearchCase?t.toLowerCase():t,i>n)return!1;if(i===n)return e===t;e:for(var o=0,r=0;o<i;o++){for(var a=e.charCodeAt(o);r<n;)if(t.charCodeAt(r++)===a)continue e;return!1}return!0},exactSearch:function(e,t){return e=T.ignoreSearchCase?e.toLowerCase():e,(t=T.ignoreSearchCase?t.toLowerCase():t).indexOf(e)>-1},filterActive:function(){T.useLabels&&Y.filter("."+A.active).addClass(A.filtered)},focusSearch:function(e){S.has.search()&&!S.is.focusedOnSearch()&&(e?(q.off("focus"+N,R.search),U.focus(),q.on("focus"+N,R.search,S.event.search.focus)):U.focus())},blurSearch:function(){S.has.search()&&U.blur()},forceSelection:function(){var e=Y.not(A.filtered).filter("."+A.selected).eq(0),t=Y.not(A.filtered).filter("."+A.active).eq(0),n=e.length>0?e:t,i=n.length>0;if(T.allowAdditions||i&&!S.is.multiple())return S.debug("Forcing partial selection to selected item",n),void n[0].click();S.remove.searchTerm()},change:{values:function(t){T.allowAdditions||S.clear(),S.debug("Creating dropdown with specified values",t),S.setup.menu({values:t}),e.each(t,(function(e,t){if(1==t.selected&&(S.debug("Setting initial selection to",t[E.value]),S.set.selected(t[E.value]),!S.is.multiple()))return!1})),S.has.selectInput()&&(S.disconnect.selectObserver(),V.html(""),V.append("<option disabled selected value></option>"),e.each(t,(function(e,t){var n=T.templates.deQuote(t[E.value]),i=T.templates.escape(t[E.name]||"",T.preserveHTML);V.append('<option value="'+n+'">'+i+"</option>")})),S.observe.select())}},event:{change:function(){ee||(S.debug("Input changed, updating selection"),S.set.selected())},focus:function(){T.showOnFocus&&!J&&S.is.hidden()&&!j&&S.show()},blur:function(e){j=n.activeElement===this,J||j||(S.remove.activeLabel(),S.hide())},mousedown:function(){S.is.searchSelection()?_=!0:J=!0},mouseup:function(){S.is.searchSelection()?_=!1:J=!1},click:function(t){e(t.target).is(q)&&(S.is.focusedOnSearch()?S.show():S.focusSearch())},search:{focus:function(e){J=!0,S.is.multiple()&&S.remove.activeLabel(),(T.showOnFocus||"focus"!==e.type&&"focusin"!==e.type)&&S.search()},blur:function(e){j=n.activeElement===this,S.is.searchSelection()&&!_&&(Z||j||(T.forceSelection?S.forceSelection():T.allowAdditions||S.remove.searchTerm(),S.hide())),_=!1}},clearIcon:{click:function(e){S.clear(),S.is.searchSelection()&&S.remove.searchTerm(),S.hide(),e.stopPropagation()}},icon:{click:function(e){te=!0,S.has.search()?S.is.active()?S.blurSearch():T.showOnFocus?S.focusSearch():S.toggle():S.toggle()}},text:{focus:function(e){J=!0,S.focusSearch()}},input:function(e){(S.is.multiple()||S.is.searchSelection())&&S.set.filtered(),clearTimeout(S.timer),S.timer=setTimeout(S.search,T.delay.search)},label:{click:function(t){var n=e(this),i=q.find(R.label),o=i.filter("."+A.active),r=n.nextAll("."+A.active),a=n.prevAll("."+A.active),s=r.length>0?n.nextUntil(r).add(o).add(n):n.prevUntil(a).add(o).add(n);t.shiftKey?(o.removeClass(A.active),s.addClass(A.active)):t.ctrlKey?n.toggleClass(A.active):(o.removeClass(A.active),n.addClass(A.active)),T.onLabelSelect.apply(this,i.filter("."+A.active))}},remove:{click:function(){var t=e(this).parent();t.hasClass(A.active)?S.remove.activeLabels():S.remove.activeLabels(t)}},test:{toggle:function(e){var t=S.is.multiple()?S.show:S.toggle;S.is.bubbledLabelClick(e)||S.is.bubbledIconClick(e)||S.determine.eventOnElement(e,t)&&e.preventDefault()},touch:function(e){S.determine.eventOnElement(e,(function(){"touchstart"==e.type?S.timer=setTimeout((function(){S.hide()}),T.delay.touch):"touchmove"==e.type&&clearTimeout(S.timer)})),e.stopPropagation()},hide:function(t){S.determine.eventInModule(t,S.hide)&&ne.id&&e(t.target).attr("for")===ne.id&&t.preventDefault()}},select:{mutation:function(e){S.debug("<select> modified, recreating menu"),S.is.selectMutation(e)&&(S.disconnect.selectObserver(),S.refresh(),S.setup.select(),S.set.selected(),S.observe.select())}},menu:{mutation:function(t){var n=t[0],i=n.addedNodes?e(n.addedNodes[0]):e(!1),o=n.removedNodes?e(n.removedNodes[0]):e(!1),r=i.add(o),a=r.is(R.addition)||r.closest(R.addition).length>0,s=r.is(R.message)||r.closest(R.message).length>0;a||s?(S.debug("Updating item selector cache"),S.refreshItems()):(S.debug("Menu modified, updating selector cache"),S.refresh())},mousedown:function(){Z=!0},mouseup:function(){Z=!1}},item:{mouseenter:function(t){var n=e(t.target),i=e(this),o=i.children(R.menu),r=i.siblings(R.item).children(R.menu),a=o.length>0;!(o.find(n).length>0)&&a&&(clearTimeout(S.itemTimer),S.itemTimer=setTimeout((function(){S.verbose("Showing sub-menu",o),e.each(r,(function(){S.animate.hide(!1,e(this))})),S.animate.show(!1,o)}),T.delay.show),t.preventDefault())},mouseleave:function(t){var n=e(this).children(R.menu);n.length>0&&(clearTimeout(S.itemTimer),S.itemTimer=setTimeout((function(){S.verbose("Hiding sub-menu",n),S.animate.hide(!1,n)}),T.delay.hide))},click:function(t,i){var o=e(this),r=e(t?t.target:""),a=o.find(R.menu),s=S.get.choiceText(o),l=S.get.choiceValue(o,s),c=a.length>0,u=a.find(r).length>0;"input"!==n.activeElement.tagName.toLowerCase()&&e(n.activeElement).blur(),u||c&&!T.allowCategorySelection||(S.is.searchSelection()&&(T.allowAdditions&&S.remove.userAddition(),S.remove.searchTerm(),S.is.focusedOnSearch()||1==i||S.focusSearch(!0)),T.useLabels||(S.remove.filteredItem(),S.set.scrollPosition(o)),S.determine.selectAction.call(this,s,l))}},document:{keydown:function(e){var t=e.which;if(S.is.inObject(t,O)){var n=q.find(R.label),i=n.filter("."+A.active),o=(i.data(D.value),n.index(i)),r=n.length,a=i.length>0,s=i.length>1,l=0===o,c=o+1==r,u=S.is.searchSelection(),d=S.is.focusedOnSearch(),f=S.is.focused(),p=d&&0===S.get.caretPosition(!1),m=p&&0!==S.get.caretPosition(!0);if(u&&!a&&!d)return;t==O.leftArrow?!f&&!p||a?a&&(e.shiftKey?S.verbose("Adding previous label to selection"):(S.verbose("Selecting previous label"),n.removeClass(A.active)),l&&!s?i.addClass(A.active):i.prev(R.siblingLabel).addClass(A.active).end(),e.preventDefault()):(S.verbose("Selecting previous label"),n.last().addClass(A.active)):t==O.rightArrow?(f&&!a&&n.first().addClass(A.active),a&&(e.shiftKey?S.verbose("Adding next label to selection"):(S.verbose("Selecting next label"),n.removeClass(A.active)),c?u?d?n.removeClass(A.active):S.focusSearch():s?i.next(R.siblingLabel).addClass(A.active):i.addClass(A.active):i.next(R.siblingLabel).addClass(A.active),e.preventDefault())):t==O.deleteKey||t==O.backspace?a?(S.verbose("Removing active labels"),c&&u&&!d&&S.focusSearch(),i.last().next(R.siblingLabel).addClass(A.active),S.remove.activeLabels(i),e.preventDefault()):!p||m||a||t!=O.backspace||(S.verbose("Removing last label on input backspace"),i=n.last().addClass(A.active),S.remove.activeLabels(i)):i.removeClass(A.active)}}},keydown:function(e){var t=e.which;if(S.is.inObject(t,O)){var n,i=Y.not(R.unselectable).filter("."+A.selected).eq(0),o=X.children("."+A.active).eq(0),r=i.length>0?i:o,a=r.length>0?r.siblings(":not(."+A.filtered+")").addBack():X.children(":not(."+A.filtered+")"),s=r.children(R.menu),l=r.closest(R.menu),c=l.hasClass(A.visible)||l.hasClass(A.animating)||l.parent(R.menu).length>0,u=s.length>0,d=r.length>0,f=r.not(R.unselectable).length>0,p=t==O.delimiter&&T.allowAdditions&&S.is.multiple();if(T.allowAdditions&&T.hideAdditions&&(t==O.enter||p)&&f&&(S.verbose("Selecting item from keyboard shortcut",r),r[0].click(),S.is.searchSelection()&&S.remove.searchTerm(),S.is.multiple()&&e.preventDefault()),S.is.visible()){if((t==O.enter||p)&&(t==O.enter&&d&&u&&!T.allowCategorySelection?(S.verbose("Pressed enter on unselectable category, opening sub menu"),t=O.rightArrow):f&&(S.verbose("Selecting item from keyboard shortcut",r),r[0].click(),S.is.searchSelection()&&(S.remove.searchTerm(),S.is.multiple()&&U.focus())),e.preventDefault()),d&&(t==O.leftArrow&&l[0]!==X[0]&&(S.verbose("Left key pressed, closing sub-menu"),S.animate.hide(!1,l),r.removeClass(A.selected),l.closest(R.item).addClass(A.selected),S.aria.refreshDescendant(),e.preventDefault()),t==O.rightArrow&&u&&(S.verbose("Right key pressed, opening sub-menu"),S.animate.show(!1,s),r.removeClass(A.selected),s.find(R.item).eq(0).addClass(A.selected),S.aria.refreshDescendant(),e.preventDefault())),t==O.upArrow){if(n=d&&c?r.prevAll(R.item+":not("+R.unselectable+")").eq(0):Y.eq(0),a.index(n)<0)return S.verbose("Up key pressed but reached top of current menu"),void e.preventDefault();S.verbose("Up key pressed, changing active item"),r.removeClass(A.selected),n.addClass(A.selected),S.aria.refreshDescendant(),S.set.scrollPosition(n),T.selectOnKeydown&&S.is.single()&&S.set.selectedItem(n),e.preventDefault()}if(t==O.downArrow){if(0===(n=d&&c?n=r.nextAll(R.item+":not("+R.unselectable+")").eq(0):Y.eq(0)).length)return S.verbose("Down key pressed but reached bottom of current menu"),void e.preventDefault();S.verbose("Down key pressed, changing active item"),Y.removeClass(A.selected),n.addClass(A.selected),S.aria.refreshDescendant(),S.set.scrollPosition(n),T.selectOnKeydown&&S.is.single()&&S.set.selectedItem(n),e.preventDefault()}t==O.pageUp&&(S.scrollPage("up"),e.preventDefault()),t==O.pageDown&&(S.scrollPage("down"),e.preventDefault()),t==O.escape&&(S.verbose("Escape key pressed, closing dropdown"),S.hide())}else p&&e.preventDefault(),t!=O.downArrow||S.is.visible()||(S.verbose("Down key pressed, showing dropdown"),S.show(),e.preventDefault())}else S.has.search()||S.set.selectedLetter(String.fromCharCode(t))}},trigger:{change:function(){var e=n.createEvent("HTMLEvents"),t=V[0];t&&(S.verbose("Triggering native change event"),e.initEvent("change",!0,!1),t.dispatchEvent(e))}},determine:{selectAction:function(t,n){b=!0,S.verbose("Determining action",T.action),e.isFunction(S.action[T.action])?(S.verbose("Triggering preset action",T.action,t,n),S.action[T.action].call(ne,t,n,this)):e.isFunction(T.action)?(S.verbose("Triggering user action",T.action,t,n),T.action.call(ne,t,n,this)):S.error(P.action,T.action),b=!1},eventInModule:function(t,i){var o=e(t.target),r=o.closest(n.documentElement).length>0,a=o.closest(q).length>0;return i=e.isFunction(i)?i:function(){},r&&!a?(S.verbose("Triggering event",i),i(),!0):(S.verbose("Event occurred in dropdown, canceling callback"),!1)},eventOnElement:function(t,i){var o=e(t.target),r=o.closest(R.siblingLabel),a=n.body.contains(t.target),s=0===q.find(r).length||!(S.is.multiple()&&T.useLabels),l=0===o.closest(X).length;return i=e.isFunction(i)?i:function(){},a&&s&&l?(S.verbose("Triggering event",i),i(),!0):(S.verbose("Event occurred in dropdown menu, canceling callback"),!1)}},action:{nothing:function(){},activate:function(t,n,o){n=n!==i?n:t,S.can.activate(e(o))&&(S.set.selected(n,e(o)),S.is.multiple()||S.hideAndClear())},select:function(t,n,o){n=n!==i?n:t,S.can.activate(e(o))&&(S.set.value(n,t,e(o)),S.is.multiple()||S.hideAndClear())},combo:function(t,n,o){n=n!==i?n:t,S.set.selected(n,e(o)),S.hideAndClear()},hide:function(t,n,i){S.set.value(n,t,e(i)),S.hideAndClear()}},get:{id:function(){return x},defaultText:function(){return q.data(D.defaultText)},defaultValue:function(){return q.data(D.defaultValue)},placeholderText:function(){return"auto"!=T.placeholder&&"string"==typeof T.placeholder?T.placeholder:q.data(D.placeholderText)||""},text:function(){return H.text()},query:function(){return e.trim(U.val())},searchWidth:function(e){return e=e!==i?e:U.val(),B.text(e),Math.ceil(B.width()+1)},selectionCount:function(){var e=S.get.values();return S.is.multiple()?Array.isArray(e)?e.length:0:""!==S.get.value()?1:0},transition:function(e){return"auto"==T.transition?S.is.upward(e)?"slide up":"slide down":T.transition},userValues:function(){var t=S.get.values();return!!t&&(t=Array.isArray(t)?t:[t],e.grep(t,(function(e){return!1===S.get.item(e)})))},uniqueArray:function(t){return e.grep(t,(function(n,i){return e.inArray(n,t)===i}))},caretPosition:function(e){var t,i,o=U.get(0);return e&&"selectionEnd"in o?o.selectionEnd:!e&&"selectionStart"in o?o.selectionStart:n.selection?(o.focus(),i=(t=n.selection.createRange()).text.length,e?i:(t.moveStart("character",-o.value.length),t.text.length-i)):void 0},value:function(){var e=V.length>0?V.val():q.data(D.value),t=Array.isArray(e)&&1===e.length&&""===e[0];return e===i||t?"":e},values:function(){var e=S.get.value();return""===e?"":!S.has.selectInput()&&S.is.multiple()?"string"==typeof e?S.escape.htmlEntities(e).split(T.delimiter):"":e},remoteValues:function(){var t=S.get.values(),n=!1;return t&&("string"==typeof t&&(t=[t]),e.each(t,(function(e,t){var i=S.read.remoteData(t);S.verbose("Restoring value from session data",i,t),i&&(n||(n={}),n[t]=i)}))),n},choiceText:function(t,n){if(n=n!==i?n:T.preserveHTML,t)return t.find(R.menu).length>0&&(S.verbose("Retrieving text of element with sub-menu"),(t=t.clone()).find(R.menu).remove(),t.find(R.menuIcon).remove()),t.data(D.text)!==i?t.data(D.text):n?e.trim(t.html()):e.trim(t.text())},choiceValue:function(t,n){return n=n||S.get.choiceText(t),!!t&&(t.data(D.value)!==i?String(t.data(D.value)):"string"==typeof n?e.trim(T.ignoreSearchCase?n.toLowerCase():n):String(n))},inputEvent:function(){var e=U[0];return!!e&&(e.oninput!==i?"input":e.onpropertychange!==i?"propertychange":"keyup")},selectValues:function(){var t={},n=[];return t.values=[],q.find("option").each((function(){var o=e(this),r=o.html(),a=o.attr("disabled"),s=o.attr("value")!==i?o.attr("value"):r,l=o.data(D.text)!==i?o.data(D.text):r,c=o.parent("optgroup");"auto"===T.placeholder&&""===s?t.placeholder=r:(c.length===n.length&&c[0]===n[0]||(t.values.push({type:"header",divider:T.headerDivider,name:c.attr("label")||""}),n=c),t.values.push({name:r,value:s,text:l,disabled:a}))})),T.placeholder&&"auto"!==T.placeholder&&(S.debug("Setting placeholder value to",T.placeholder),t.placeholder=T.placeholder),T.sortSelect?(!0===T.sortSelect?t.values.sort((function(e,t){return e.name.localeCompare(t.name)})):"natural"===T.sortSelect?t.values.sort((function(e,t){return e.name.toLowerCase().localeCompare(t.name.toLowerCase())})):e.isFunction(T.sortSelect)&&t.values.sort(T.sortSelect),S.debug("Retrieved and sorted values from select",t)):S.debug("Retrieved values from select",t),t},activeItem:function(){return Y.filter("."+A.active)},selectedItem:function(){var e=Y.not(R.unselectable).filter("."+A.selected);return e.length>0?e:Y.eq(0)},itemWithAdditions:function(e){var t=S.get.item(e),n=S.create.userChoice(e);return n&&n.length>0&&(t=t.length>0?t.add(n):n),t},item:function(t,n){var o,r,a=!1;return t=t!==i?t:S.get.values()!==i?S.get.values():S.get.text(),o=(r=S.is.multiple()&&Array.isArray(t))?t.length>0:t!==i&&null!==t,n=""===t||!1===t||!0===t||(n||!1),o&&Y.each((function(){var o=e(this),s=S.get.choiceText(o),l=S.get.choiceValue(o,s);if(null!==l&&l!==i)if(r)-1!==e.inArray(S.escape.htmlEntities(String(l)),t)&&(a=a?a.add(o):o);else if(n){if(S.verbose("Ambiguous dropdown value using strict type check",o,t),l===t)return a=o,!0}else if(T.ignoreCase&&(l=l.toLowerCase(),t=t.toLowerCase()),S.escape.htmlEntities(String(l))===S.escape.htmlEntities(String(t)))return S.verbose("Found select item by value",l,t),a=o,!0})),a}},check:{maxSelections:function(e){return!T.maxSelections||((e=e!==i?e:S.get.selectionCount())>=T.maxSelections?(S.debug("Maximum selection count reached"),T.useLabels&&(Y.addClass(A.filtered),S.add.message($.maxSelections)),!0):(S.verbose("No longer at maximum selection count"),S.remove.message(),S.remove.filteredItem(),S.is.searchSelection()&&S.filterItems(),!1))}},restore:{defaults:function(e){S.clear(e),S.restore.defaultText(),S.restore.defaultValue()},defaultText:function(){var e=S.get.defaultText();e===S.get.placeholderText?(S.debug("Restoring default placeholder text",e),S.set.placeholderText(e)):(S.debug("Restoring default text",e),S.set.text(e))},placeholderText:function(){S.set.placeholderText()},defaultValue:function(){var e=S.get.defaultValue();e!==i&&(S.debug("Restoring default value",e),""!==e?(S.set.value(e),S.set.selected()):(S.remove.activeItem(),S.remove.selectedItem()))},labels:function(){T.allowAdditions&&(T.useLabels||(S.error(P.labels),T.useLabels=!0),S.debug("Restoring selected values"),S.create.userLabels()),S.check.maxSelections()},selected:function(){S.restore.values(),S.is.multiple()?(S.debug("Restoring previously selected values and labels"),S.restore.labels()):S.debug("Restoring previously selected values")},values:function(){S.set.initialLoad(),T.apiSettings&&T.saveRemoteData&&S.get.remoteValues()?S.restore.remoteValues():S.set.selected();var e=S.get.value();!e||""===e||Array.isArray(e)&&0===e.length?V.addClass(A.noselection):V.removeClass(A.noselection),S.remove.initialLoad()},remoteValues:function(){var t=S.get.remoteValues();S.debug("Recreating selected from session data",t),t&&(S.is.single()?e.each(t,(function(e,t){S.set.text(t)})):e.each(t,(function(e,t){S.add.label(e,t)})))}},read:{remoteData:function(e){var n;if(t.Storage!==i)return(n=sessionStorage.getItem(e))!==i&&n;S.error(P.noStorage)}},save:{defaults:function(){S.save.defaultText(),S.save.placeholderText(),S.save.defaultValue()},defaultValue:function(){var e=S.get.value();S.verbose("Saving default value as",e),q.data(D.defaultValue,e)},defaultText:function(){var e=S.get.text();S.verbose("Saving default text as",e),q.data(D.defaultText,e)},placeholderText:function(){var e;!1!==T.placeholder&&H.hasClass(A.placeholder)&&(e=S.get.text(),S.verbose("Saving placeholder text as",e),q.data(D.placeholderText,e))},remoteData:function(e,n){t.Storage!==i?(S.verbose("Saving remote data to session storage",n,e),sessionStorage.setItem(n,e)):S.error(P.noStorage)}},clear:function(e){S.is.multiple()&&T.useLabels?S.remove.labels():(S.remove.activeItem(),S.remove.selectedItem(),S.remove.filteredItem()),S.set.placeholderText(),S.clearValue(e)},clearValue:function(e){S.set.value("",null,null,e)},scrollPage:function(e,t){var n,i,o=t||S.get.selectedItem(),r=o.closest(R.menu),a=r.outerHeight(),s=r.scrollTop(),l=Y.eq(0).outerHeight(),c=Math.floor(a/l),u=(r.prop("scrollHeight"),"up"==e?s-l*c:s+l*c),d=Y.not(R.unselectable);i="up"==e?d.index(o)-c:d.index(o)+c,(n=("up"==e?i>=0:i<d.length)?d.eq(i):"up"==e?d.first():d.last()).length>0&&(S.debug("Scrolling page",e,n),o.removeClass(A.selected),n.addClass(A.selected),T.selectOnKeydown&&S.is.single()&&S.set.selectedItem(n),r.scrollTop(u))},set:{filtered:function(){var e=S.is.multiple(),t=S.is.searchSelection(),n=e&&t,i=t?S.get.query():"",o="string"==typeof i&&i.length>0,r=S.get.searchWidth(),a=""!==i;e&&o&&(S.verbose("Adjusting input width",r,T.glyphWidth),U.css("width",r)),o||n&&a?(S.verbose("Hiding placeholder text"),H.addClass(A.filtered)):(!e||n&&!a)&&(S.verbose("Showing placeholder text"),H.removeClass(A.filtered))},empty:function(){q.addClass(A.empty)},loading:function(){q.addClass(A.loading)},placeholderText:function(e){e=e||S.get.placeholderText(),S.debug("Setting placeholder text",e),S.set.text(e),H.addClass(A.placeholder)},tabbable:function(){S.is.searchSelection()?(S.debug("Added tabindex to searchable dropdown"),U.val("").attr("tabindex",0),X.attr("tabindex",-1)):(S.debug("Added tabindex to dropdown"),q.attr("tabindex")===i&&(q.attr("tabindex",0),X.attr("tabindex",-1)))},initialLoad:function(){S.verbose("Setting initial load"),y=!0},activeItem:function(e){T.allowAdditions&&e.filter(R.addition).length>0?e.addClass(A.filtered):e.addClass(A.active)},partialSearch:function(e){var t=S.get.query().length;U.val(e.substr(0,t))},scrollPosition:function(e,t){var n,o,r,a,s,l;n=(e=e||S.get.selectedItem()).closest(R.menu),o=e&&e.length>0,t=t!==i&&t,0===S.get.activeItem().length&&(t=!1),e&&n.length>0&&o&&(e.position().top,n.addClass(A.loading),r=(a=n.scrollTop())-n.offset().top+e.offset().top,t||(l=a+n.height()<r+5,s=r-5<a),S.debug("Scrolling to active item",r),(t||s||l)&&n.scrollTop(r),n.removeClass(A.loading))},text:function(e){"combo"===T.action?(S.debug("Changing combo button text",e,G),T.preserveHTML?G.html(e):G.text(e)):"activate"===T.action&&(e!==S.get.placeholderText()&&H.removeClass(A.placeholder),S.debug("Changing text",e,H),H.removeClass(A.filtered),T.preserveHTML?H.html(e):H.text(e))},selectedItem:function(e){var t=S.get.choiceValue(e),n=S.get.choiceText(e,!1),i=S.get.choiceText(e,!0);S.debug("Setting user selection to item",e),S.remove.activeItem(),S.set.partialSearch(n),S.set.activeItem(e),S.set.selected(t,e),S.set.text(i)},selectedLetter:function(t){var n,i=Y.filter("."+A.selected),o=i.length>0&&S.has.firstLetter(i,t),r=!1;o&&(n=i.nextAll(Y).eq(0),S.has.firstLetter(n,t)&&(r=n)),r||Y.each((function(){if(S.has.firstLetter(e(this),t))return r=e(this),!1})),r&&(S.verbose("Scrolling to next value with letter",t),S.set.scrollPosition(r),i.removeClass(A.selected),r.addClass(A.selected),S.aria.refreshDescendant(),T.selectOnKeydown&&S.is.single()&&S.set.selectedItem(r))},direction:function(e){"auto"==T.direction?(e?S.is.upward(e)&&S.remove.upward(e):S.remove.upward(),S.can.openDownward(e)?S.remove.upward(e):S.set.upward(e),S.is.leftward(e)||S.can.openRightward(e)||S.set.leftward(e)):"upward"==T.direction&&S.set.upward(e)},upward:function(e){(e||q).addClass(A.upward)},leftward:function(e){(e||X).addClass(A.leftward)},value:function(e,t,n,o){e===i||""===e||Array.isArray(e)&&0===e.length?V.addClass(A.noselection):V.removeClass(A.noselection);var r=S.escape.value(e),a=V.length>0,s=S.get.values(),l=e!==i?String(e):e;if(a){if(!T.allowReselection&&l==s&&(S.verbose("Skipping value update already same value",e,s),!S.is.initialLoad()))return;S.is.single()&&S.has.selectInput()&&S.can.extendSelect()&&(S.debug("Adding user option",e),S.add.optionValue(e)),S.debug("Updating input value",r,s),ee=!0,V.val(r),!1===T.fireOnInit&&S.is.initialLoad()?S.debug("Input native change event ignored on initial load"):!0!==o&&S.trigger.change(),ee=!1}else S.verbose("Storing value in metadata",r,V),r!==s&&q.data(D.value,l);!1===T.fireOnInit&&S.is.initialLoad()?S.verbose("No callback on initial load",T.onChange):!0!==o&&T.onChange.call(ne,e,t,n)},active:function(){q.addClass(A.active)},multiple:function(){q.addClass(A.multiple)},visible:function(){q.addClass(A.visible)},exactly:function(e,t){S.debug("Setting selected to exact values"),S.clear(),S.set.selected(e,t)},selected:function(t,n){var i=S.is.multiple();(n=T.allowAdditions?n||S.get.itemWithAdditions(t):n||S.get.item(t))&&(S.debug("Setting selected menu item to",n),S.is.multiple()&&S.remove.searchWidth(),S.is.single()?(S.remove.activeItem(),S.remove.selectedItem()):T.useLabels&&S.remove.selectedItem(),n.each((function(){var t=e(this),o=S.get.choiceText(t),r=S.get.choiceValue(t,o),a=t.hasClass(A.filtered),s=t.hasClass(A.active),l=t.hasClass(A.addition),c=i&&1==n.length;i?!s||l?(T.apiSettings&&T.saveRemoteData&&S.save.remoteData(o,r),T.useLabels?(S.add.label(r,o,c),S.add.value(r,o,t),S.set.activeItem(t),S.filterActive(),S.select.nextAvailable(n)):(S.add.value(r,o,t),S.set.text(S.add.variables($.count)),S.set.activeItem(t))):a||!T.useLabels&&!b||(S.debug("Selected active value, removing label"),S.remove.selected(r)):(T.apiSettings&&T.saveRemoteData&&S.save.remoteData(o,r),S.set.text(o),S.set.value(r,o,t),t.addClass(A.active).addClass(A.selected))})),S.remove.searchTerm())}},add:{label:function(t,n,i){var o,r=S.is.searchSelection()?U:H,a=S.escape.value(t);T.ignoreCase&&(a=a.toLowerCase()),o=e("<a />").addClass(A.label).attr("data-"+D.value,a).html(F.label(a,n,T.preserveHTML,T.className)),o=T.onLabelCreate.call(o,a,n),S.has.label(t)?S.debug("User selection already exists, skipping",a):(T.label.variation&&o.addClass(T.label.variation),!0===i?(S.debug("Animating in label",o),o.addClass(A.hidden).insertBefore(r).transition({animation:T.label.transition,debug:T.debug,verbose:T.verbose,duration:T.label.duration})):(S.debug("Adding selection label",o),o.insertBefore(r)))},message:function(t){var n=X.children(R.message),i=T.templates.message(S.add.variables(t));n.length>0?n.html(i):n=e("<div/>").html(i).addClass(A.message).appendTo(X)},optionValue:function(t){var n=S.escape.value(t);V.find('option[value="'+S.escape.string(n)+'"]').length>0||(S.disconnect.selectObserver(),S.is.single()&&(S.verbose("Removing previous user addition"),V.find("option."+A.addition).remove()),e("<option/>").prop("value",n).addClass(A.addition).html(t).appendTo(V),S.verbose("Adding user addition as an <option>",t),S.observe.select())},userSuggestion:function(e){var t,n=X.children(R.addition),i=S.get.item(e),o=i&&i.not(R.addition).length,r=n.length>0;T.useLabels&&S.has.maxSelections()||(""===e||o?n.remove():(r?(n.data(D.value,e).data(D.text,e).attr("data-"+D.value,e).attr("data-"+D.text,e).removeClass(A.filtered),T.hideAdditions||(t=T.templates.addition(S.add.variables($.addResult,e)),n.html(t)),S.verbose("Replacing user suggestion with new value",n)):((n=S.create.userChoice(e)).prependTo(X),S.verbose("Adding item choice to menu corresponding with user choice addition",n)),T.hideAdditions&&!S.is.allFiltered()||n.addClass(A.selected).siblings().removeClass(A.selected),S.refreshItems()))},variables:function(e,t){var n,i,o=-1!==e.search("{count}"),r=-1!==e.search("{maxCount}"),a=-1!==e.search("{term}");return S.verbose("Adding templated variables to message",e),o&&(n=S.get.selectionCount(),e=e.replace("{count}",n)),r&&(n=S.get.selectionCount(),e=e.replace("{maxCount}",T.maxSelections)),a&&(i=t||S.get.query(),e=e.replace("{term}",i)),e},value:function(e,t,n){var i,o=S.get.values();S.has.value(e)?S.debug("Value already selected"):""!==e?(Array.isArray(o)?(i=o.concat([e]),i=S.get.uniqueArray(i)):i=[e],S.has.selectInput()?S.can.extendSelect()&&(S.debug("Adding value to select",e,i,V),S.add.optionValue(e)):(i=i.join(T.delimiter),S.debug("Setting hidden input to delimited value",i,V)),!1===T.fireOnInit&&S.is.initialLoad()?S.verbose("Skipping onadd callback on initial load",T.onAdd):T.onAdd.call(ne,e,t,n),S.set.value(i,t,n),S.check.maxSelections()):S.debug("Cannot select blank values from multiselect")}},remove:{active:function(){q.removeClass(A.active)},activeLabel:function(){q.find(R.label).removeClass(A.active)},empty:function(){q.removeClass(A.empty)},loading:function(){q.removeClass(A.loading)},initialLoad:function(){y=!1},upward:function(e){(e||q).removeClass(A.upward)},leftward:function(e){(e||X).removeClass(A.leftward)},visible:function(){q.removeClass(A.visible)},activeItem:function(){Y.removeClass(A.active)},filteredItem:function(){T.useLabels&&S.has.maxSelections()||(T.useLabels&&S.is.multiple()?Y.not("."+A.active).removeClass(A.filtered):Y.removeClass(A.filtered),T.hideDividers&&K.removeClass(A.hidden),S.remove.empty())},optionValue:function(e){var t=S.escape.value(e),n=V.find('option[value="'+S.escape.string(t)+'"]');n.length>0&&n.hasClass(A.addition)&&(k&&(k.disconnect(),S.verbose("Temporarily disconnecting mutation observer")),n.remove(),S.verbose("Removing user addition as an <option>",t),k&&k.observe(V[0],{childList:!0,subtree:!0}))},message:function(){X.children(R.message).remove()},searchWidth:function(){U.css("width","")},searchTerm:function(){S.verbose("Cleared search term"),U.val(""),S.set.filtered()},userAddition:function(){Y.filter(R.addition).remove()},selected:function(t,n){if(!(n=T.allowAdditions?n||S.get.itemWithAdditions(t):n||S.get.item(t)))return!1;n.each((function(){var t=e(this),n=S.get.choiceText(t),i=S.get.choiceValue(t,n);S.is.multiple()?T.useLabels?(S.remove.value(i,n,t),S.remove.label(i)):(S.remove.value(i,n,t),0===S.get.selectionCount()?S.set.placeholderText():S.set.text(S.add.variables($.count))):S.remove.value(i,n,t),t.removeClass(A.filtered).removeClass(A.active),T.useLabels&&t.removeClass(A.selected)}))},selectedItem:function(){Y.removeClass(A.selected)},value:function(e,t,n){var i,o=S.get.values();e=S.escape.htmlEntities(e),S.has.selectInput()?(S.verbose("Input is <select> removing selected option",e),i=S.remove.arrayValue(e,o),S.remove.optionValue(e)):(S.verbose("Removing from delimited values",e),i=(i=S.remove.arrayValue(e,o)).join(T.delimiter)),!1===T.fireOnInit&&S.is.initialLoad()?S.verbose("No callback on initial load",T.onRemove):T.onRemove.call(ne,e,t,n),S.set.value(i,t,n),S.check.maxSelections()},arrayValue:function(t,n){return Array.isArray(n)||(n=[n]),n=e.grep(n,(function(e){return t!=e})),S.verbose("Removed value from delimited string",t,n),n},label:function(e,t){var n=q.find(R.label).filter("[data-"+D.value+'="'+S.escape.string(T.ignoreCase?e.toLowerCase():e)+'"]');S.verbose("Removing label",n),n.remove()},activeLabels:function(e){e=e||q.find(R.label).filter("."+A.active),S.verbose("Removing active label selections",e),S.remove.labels(e)},labels:function(t){t=t||q.find(R.label),S.verbose("Removing labels",t),t.each((function(){var t=e(this),n=t.data(D.value),o=n!==i?String(n):n,r=S.is.userValue(o);!1!==T.onLabelRemove.call(t,n)?(S.remove.message(),r?(S.remove.value(o),S.remove.label(o)):S.remove.selected(o)):S.debug("Label remove callback cancelled removal")}))},tabbable:function(){S.is.searchSelection()?(S.debug("Searchable dropdown initialized"),U.removeAttr("tabindex"),X.removeAttr("tabindex")):(S.debug("Simple selection dropdown initialized"),q.removeAttr("tabindex"),X.removeAttr("tabindex"))},diacritics:function(e){return T.ignoreDiacritics?e.normalize("NFD").replace(/[\u0300-\u036f]/g,""):e}},has:{menuSearch:function(){return S.has.search()&&U.closest(X).length>0},clearItem:function(){return Q.length>0},search:function(){return U.length>0},sizer:function(){return B.length>0},selectInput:function(){return V.is("select")},minCharacters:function(e){return T.minCharacters&&!te?(e=String(e!==i?e:S.get.query())).length>=T.minCharacters:(te=!1,!0)},firstLetter:function(e,t){var n,i;return!(!e||0===e.length||"string"!=typeof t)&&(n=S.get.choiceText(e,!1),t=t.toLowerCase(),i=String(n).charAt(0).toLowerCase(),t==i)},input:function(){return V.length>0},items:function(){return Y.length>0},menu:function(){return X.length>0},message:function(){return 0!==X.children(R.message).length},label:function(e){var t=S.escape.value(e),n=q.find(R.label);return T.ignoreCase&&(t=t.toLowerCase()),n.filter("[data-"+D.value+'="'+S.escape.string(t)+'"]').length>0},maxSelections:function(){return T.maxSelections&&S.get.selectionCount()>=T.maxSelections},allResultsFiltered:function(){var e=Y.not(R.addition);return e.filter(R.unselectable).length===e.length},userSuggestion:function(){return X.children(R.addition).length>0},query:function(){return""!==S.get.query()},value:function(e){return T.ignoreCase?S.has.valueIgnoringCase(e):S.has.valueMatchingCase(e)},valueMatchingCase:function(t){var n=S.get.values();return!!(Array.isArray(n)?n&&-1!==e.inArray(t,n):n==t)},valueIgnoringCase:function(t){var n=S.get.values(),i=!1;return Array.isArray(n)||(n=[n]),e.each(n,(function(e,n){if(String(t).toLowerCase()==String(n).toLowerCase())return i=!0,!1})),i}},is:{active:function(){return q.hasClass(A.active)},animatingInward:function(){return X.transition("is inward")},animatingOutward:function(){return X.transition("is outward")},bubbledLabelClick:function(t){return e(t.target).is("select, input")&&q.closest("label").length>0},bubbledIconClick:function(t){return e(t.target).closest(W).length>0},alreadySetup:function(){return q.is("select")&&q.parent(R.dropdown).data(M)!==i&&0===q.prev().length},animating:function(e){return e?e.transition&&e.transition("is animating"):X.transition&&X.transition("is animating")},leftward:function(e){return(e||X).hasClass(A.leftward)},clearable:function(){return q.hasClass(A.clearable)||T.clearable},disabled:function(){return q.hasClass(A.disabled)},focused:function(){return n.activeElement===q[0]},focusedOnSearch:function(){return n.activeElement===U[0]},allFiltered:function(){return(S.is.multiple()||S.has.search())&&!(0==T.hideAdditions&&S.has.userSuggestion())&&!S.has.message()&&S.has.allResultsFiltered()},hidden:function(e){return!S.is.visible(e)},initialLoad:function(){return y},inObject:function(t,n){var i=!1;return e.each(n,(function(e,n){if(n==t)return i=!0,!0})),i},multiple:function(){return q.hasClass(A.multiple)},remote:function(){return T.apiSettings&&S.can.useAPI()},single:function(){return!S.is.multiple()},selectMutation:function(t){var n=!1;return e.each(t,(function(t,i){if(e(i.target).is("select")||e(i.addedNodes).is("select"))return n=!0,!1})),n},search:function(){return q.hasClass(A.search)},searchSelection:function(){return S.has.search()&&1===U.parent(R.dropdown).length},selection:function(){return q.hasClass(A.selection)},userValue:function(t){return-1!==e.inArray(t,S.get.userValues())},upward:function(e){return(e||q).hasClass(A.upward)},visible:function(e){return e?e.hasClass(A.visible):X.hasClass(A.visible)},verticallyScrollableContext:function(){var e=z.get(0)!==t&&z.css("overflow-y");return"auto"==e||"scroll"==e},horizontallyScrollableContext:function(){var e=z.get(0)!==t&&z.css("overflow-X");return"auto"==e||"scroll"==e}},can:{activate:function(e){return!!T.useLabels||(!S.has.maxSelections()||!(!S.has.maxSelections()||!e.hasClass(A.active)))},openDownward:function(e){var n,i,o=e||X,r=!0;return o.addClass(A.loading),i={context:{offset:z.get(0)===t?{top:0,left:0}:z.offset(),scrollTop:z.scrollTop(),height:z.outerHeight()},menu:{offset:o.offset(),height:o.outerHeight()}},S.is.verticallyScrollableContext()&&(i.menu.offset.top+=i.context.scrollTop),(n={above:i.context.scrollTop<=i.menu.offset.top-i.context.offset.top-i.menu.height,below:i.context.scrollTop+i.context.height>=i.menu.offset.top-i.context.offset.top+i.menu.height}).below?(S.verbose("Dropdown can fit in context downward",n),r=!0):n.below||n.above?(S.verbose("Dropdown cannot fit below, opening upward",n),r=!1):(S.verbose("Dropdown cannot fit in either direction, favoring downward",n),r=!0),o.removeClass(A.loading),r},openRightward:function(e){var n,i,o=e||X,r=!0;return o.addClass(A.loading),i={context:{offset:z.get(0)===t?{top:0,left:0}:z.offset(),scrollLeft:z.scrollLeft(),width:z.outerWidth()},menu:{offset:o.offset(),width:o.outerWidth()}},S.is.horizontallyScrollableContext()&&(i.menu.offset.left+=i.context.scrollLeft),(n=i.menu.offset.left-i.context.offset.left+i.menu.width>=i.context.scrollLeft+i.context.width)&&(S.verbose("Dropdown cannot fit in context rightward",n),r=!1),o.removeClass(A.loading),r},click:function(){return c||"click"==T.on},extendSelect:function(){return T.allowAdditions||T.apiSettings},show:function(){return!S.is.disabled()&&(S.has.items()||S.has.message())},useAPI:function(){return e.fn.api!==i}},animate:{show:function(t,n){var o,r=n||X,a=n?function(){}:function(){S.hideSubMenus(),S.hideOthers(),S.set.active()};t=e.isFunction(t)?t:function(){},S.verbose("Doing menu show animation",r),S.set.direction(n),o=S.get.transition(n),S.is.selection()&&S.set.scrollPosition(S.get.selectedItem(),!0),(S.is.hidden(r)||S.is.animating(r))&&("none"==o?(a(),r.transition("show"),t.call(ne)):e.fn.transition!==i&&q.transition("is supported")?r.transition({animation:o+" in",debug:T.debug,verbose:T.verbose,duration:T.duration,queue:!0,onStart:a,onComplete:function(){t.call(ne)}}):S.error(P.noTransition,o))},hide:function(t,n){var o=n||X,r=n?function(){}:function(){S.can.click()&&S.unbind.intent(),S.remove.active()},a=S.get.transition(n);t=e.isFunction(t)?t:function(){},(S.is.visible(o)||S.is.animating(o))&&(S.verbose("Doing menu hide animation",o),"none"==a?(r(),o.transition("hide"),t.call(ne)):e.fn.transition!==i&&q.transition("is supported")?o.transition({animation:a+" out",duration:T.duration,debug:T.debug,verbose:T.verbose,queue:!1,onStart:r,onComplete:function(){t.call(ne)}}):S.error(P.transition))}},hideAndClear:function(){S.remove.searchTerm(),S.has.maxSelections()||(S.has.search()?S.hide((function(){S.remove.filteredItem()})):S.hide())},delay:{show:function(){S.verbose("Delaying show event to ensure user intent"),clearTimeout(S.timer),S.timer=setTimeout(S.show,T.delay.show)},hide:function(){S.verbose("Delaying hide event to ensure user intent"),clearTimeout(S.timer),S.timer=setTimeout(S.hide,T.delay.hide)}},escape:{value:function(t){var n=Array.isArray(t),i="string"==typeof t,o=!i&&!n,r=i&&-1!==t.search(I.quote),a=[];return o||!r?t:(S.debug("Encoding quote values for use in select",t),n?(e.each(t,(function(e,t){a.push(t.replace(I.quote,"""))})),a):t.replace(I.quote,"""))},string:function(e){return(e=String(e)).replace(I.escape,"\\$&")},htmlEntities:function(e){var t={"<":"<",">":">",'"':""","'":"'","`":"`"};return/[&<>"'`]/.test(e)?(e=e.replace(/&(?![a-z0-9#]{1,6};)/,"&")).replace(/[<>"'`]/g,(function(e){return t[e]})):e}},setting:function(t,n){if(S.debug("Changing setting",t,n),e.isPlainObject(t))e.extend(!0,T,t);else{if(n===i)return T[t];e.isPlainObject(T[t])?e.extend(!0,T[t],n):T[t]=n}},internal:function(t,n){if(e.isPlainObject(t))e.extend(!0,S,t);else{if(n===i)return S[t];S[t]=n}},debug:function(){!T.silent&&T.debug&&(T.performance?S.performance.log(arguments):(S.debug=Function.prototype.bind.call(console.info,console,T.name+":"),S.debug.apply(console,arguments)))},verbose:function(){!T.silent&&T.verbose&&T.debug&&(T.performance?S.performance.log(arguments):(S.verbose=Function.prototype.bind.call(console.info,console,T.name+":"),S.verbose.apply(console,arguments)))},error:function(){T.silent||(S.error=Function.prototype.bind.call(console.error,console,T.name+":"),S.error.apply(console,arguments))},performance:{log:function(e){var t,n;T.performance&&(n=(t=(new Date).getTime())-(d||t),d=t,f.push({Name:e[0],Arguments:[].slice.call(e,1)||"",Element:ne,"Execution Time":n})),clearTimeout(S.performance.timer),S.performance.timer=setTimeout(S.performance.display,500)},display:function(){var t=T.name+":",n=0;d=!1,clearTimeout(S.performance.timer),e.each(f,(function(e,t){n+=t["Execution Time"]})),t+=" "+n+"ms",l&&(t+=" '"+l+"'"),(console.group!==i||console.table!==i)&&f.length>0&&(console.groupCollapsed(t),console.table?console.table(f):e.each(f,(function(e,t){console.log(t.Name+": "+t["Execution Time"]+"ms")})),console.groupEnd()),f=[]}},invoke:function(t,n,o){var a,s,l,c=ie;return n=n||h,o=ne||o,"string"==typeof t&&c!==i&&(t=t.split(/[\. ]/),a=t.length-1,e.each(t,(function(n,o){var r=n!=a?o+t[n+1].charAt(0).toUpperCase()+t[n+1].slice(1):t;if(e.isPlainObject(c[r])&&n!=a)c=c[r];else{if(c[r]!==i)return s=c[r],!1;if(!e.isPlainObject(c[o])||n==a)return c[o]!==i?(s=c[o],!1):(S.error(P.method,t),!1);c=c[o]}}))),e.isFunction(s)?l=s.apply(o,n):s!==i&&(l=s),Array.isArray(r)?r.push(l):r!==i?r=[r,l]:l!==i&&(r=l),s}},m?(ie===i&&S.initialize(),S.invoke(p)):(ie!==i&&ie.invoke("destroy"),S.initialize())})),r!==i?r:a},e.fn.dropdown.settings={silent:!1,debug:!1,verbose:!1,performance:!0,on:"click",action:"activate",values:!1,clearable:!1,apiSettings:!1,selectOnKeydown:!0,minCharacters:0,filterRemoteData:!1,saveRemoteData:!0,throttle:200,context:t,direction:"auto",keepOnScreen:!0,match:"both",fullTextSearch:!1,ignoreDiacritics:!1,hideDividers:!1,placeholder:"auto",preserveHTML:!0,sortSelect:!1,forceSelection:!0,allowAdditions:!1,ignoreCase:!1,ignoreSearchCase:!0,hideAdditions:!0,maxSelections:!1,useLabels:!0,delimiter:",",showOnFocus:!0,allowReselection:!1,allowTab:!0,allowCategorySelection:!1,fireOnInit:!1,transition:"auto",duration:200,glyphWidth:1.037,headerDivider:!0,label:{transition:"scale",duration:200,variation:!1},delay:{hide:300,show:200,search:20,touch:50},onChange:function(e,t,n){},onAdd:function(e,t,n){},onRemove:function(e,t,n){},onLabelSelect:function(e){},onLabelCreate:function(t,n){return e(this)},onLabelRemove:function(e){return!0},onNoResults:function(e){return!0},onShow:function(){},onHide:function(){},name:"Dropdown",namespace:"dropdown",message:{addResult:"Add <b>{term}</b>",count:"{count} selected",maxSelections:"Max {maxCount} selections",noResults:"No results found.",serverError:"There was an error contacting the server"},error:{action:"You called a dropdown action that was not defined",alreadySetup:"Once a select has been initialized behaviors must be called on the created ui dropdown",labels:"Allowing user additions currently requires the use of labels.",missingMultiple:"<select> requires multiple property to be set to correctly preserve multiple values",method:"The method you called is not defined.",noAPI:"The API module is required to load resources remotely",noStorage:"Saving remote data requires session storage",noTransition:"This module requires ui transitions <https://github.com/Semantic-Org/UI-Transition>",noNormalize:'"ignoreDiacritics" setting will be ignored. Browser does not support String().normalize(). You may consider including <https://cdn.jsdelivr.net/npm/unorm@1.4.1/lib/unorm.min.js> as a polyfill.'},regExp:{escape:/[-[\]{}()*+?.,\\^$|#\s:=@]/g,quote:/"/g},metadata:{defaultText:"defaultText",defaultValue:"defaultValue",placeholderText:"placeholder",text:"text",value:"value"},fields:{remoteValues:"results",values:"values",disabled:"disabled",name:"name",value:"value",text:"text",type:"type",image:"image",imageClass:"imageClass",icon:"icon",iconClass:"iconClass",class:"class",divider:"divider"},keys:{backspace:8,delimiter:188,deleteKey:46,enter:13,escape:27,pageUp:33,pageDown:34,leftArrow:37,upArrow:38,rightArrow:39,downArrow:40},selector:{addition:".addition",divider:".divider, .header",dropdown:".ui.dropdown",hidden:".hidden",icon:"> .dropdown.icon",input:'> input[type="hidden"], > select',item:".item",label:"> .label",remove:"> .label > .delete.icon",siblingLabel:".label",menu:".menu",message:".message",menuIcon:".dropdown.icon",search:"input.search, .menu > .search > input, .menu input.search",sizer:"> input.sizer",text:"> .text:not(.icon)",unselectable:".disabled, .filtered",clearIcon:"> .remove.icon"},className:{active:"active",addition:"addition",animating:"animating",disabled:"disabled",empty:"empty",dropdown:"ui dropdown",filtered:"filtered",hidden:"hidden transition",icon:"icon",image:"image",item:"item",label:"ui label",loading:"loading",menu:"menu",message:"message",multiple:"multiple",placeholder:"default",sizer:"sizer",search:"search",selected:"selected",selection:"selection",upward:"upward",leftward:"left",visible:"visible",clearable:"clearable",noselection:"noselection",delete:"delete",header:"header",divider:"divider",groupIcon:"",unfilterable:"unfilterable"}},e.fn.dropdown.settings.templates={deQuote:function(e){return String(e).replace(/"/g,"")},escape:function(e,t){if(t)return e;var n={"<":"<",">":">",'"':""","'":"'","`":"`"};return/[&<>"'`]/.test(e)?(e=e.replace(/&(?![a-z0-9#]{1,6};)/,"&")).replace(/[<>"'`]/g,(function(e){return n[e]})):e},dropdown:function(t,n,i,o){var r=t.placeholder||!1,a="",s=e.fn.dropdown.settings.templates.escape;return a+='<i class="dropdown icon"></i>',a+=r?'<div class="default text">'+s(r,i)+"</div>":'<div class="text"></div>',a+='<div class="'+o.menu+'">',a+=e.fn.dropdown.settings.templates.menu(t,n,i,o),a+="</div>"},menu:function(t,n,i,o){var r=t[n.values]||[],a="",s=e.fn.dropdown.settings.templates.escape,l=e.fn.dropdown.settings.templates.deQuote;return e.each(r,(function(e,t){var r=t[n.type]?t[n.type]:"item";if("item"===r){var c=t[n.text]?' data-text="'+l(t[n.text])+'"':"",u=t[n.disabled]?o.disabled+" ":"";a+='<div class="'+u+(t[n.class]?l(t[n.class]):o.item)+'" data-value="'+l(t[n.value])+'"'+c+">",t[n.image]&&(a+='<img class="'+(t[n.imageClass]?l(t[n.imageClass]):o.image)+'" src="'+l(t[n.image])+'">'),t[n.icon]&&(a+='<i class="'+l(t[n.icon])+" "+(t[n.iconClass]?l(t[n.iconClass]):o.icon)+'"></i>'),a+=s(t[n.name]||"",i),a+="</div>"}else if("header"===r){var d=s(t[n.name]||"",i),f=t[n.icon]?l(t[n.icon]):o.groupIcon;""===d&&""===f||(a+='<div class="'+(t[n.class]?l(t[n.class]):o.header)+'">',""!==f&&(a+='<i class="'+f+" "+(t[n.iconClass]?l(t[n.iconClass]):o.icon)+'"></i>'),a+=d,a+="</div>"),t[n.divider]&&(a+='<div class="'+o.divider+'"></div>')}})),a},label:function(t,n,i,o){return(0,e.fn.dropdown.settings.templates.escape)(n,i)+'<i class="'+o.delete+' icon"></i>'},message:function(e){return e},addition:function(e){return e}}}(jQuery,window,document);var Ts=$("#service_type"),As=$("#auth_username"),$s=$("#auth_password"),Es=$("#auth_token"),Os=$("#mirror"),Ds=$("#migrate_items").find("input[type=checkbox]");function Ls(){Is(1!==Ts.val()),As.on("keyup",(function(){Is(!1)})),$s.on("keyup",(function(){Is(!1)})),Es.on("keyup",(function(){Is(!0)})),Os.on("change",(function(){Is(!0)}));var e=$("#clone_addr");e.on("change",(function(){var t=$("#repo_name");e.val().length>0&&0===t.val().length&&t.val(e.val().match(/^(.*\/)?((.+?)(\.git)?)$/)[3])}))}function Is(e){if((e?""!==Es.val():""!==As.val()||""!==$s.val())&&Ts.val()>1){if(Os.is(":checked"))return Ds.not('[name="wiki"]').attr("disabled",!0),void Ds.filter('[name="wiki"]').attr("disabled",!1);Ds.attr("disabled",!1)}else Ds.attr("disabled",!0)}s("./node_modules/core-js/modules/es.array.reverse.js");var Rs=s("./node_modules/@babel/runtime/helpers/toConsumableArray.js"),Ps=s.n(Rs),Fs={"octicon-chevron-down":'<svg viewBox="0 0 16 16" class="svg octicon-chevron-down" width="16" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M12.78 6.22a.75.75 0 010 1.06l-4.25 4.25a.75.75 0 01-1.06 0L3.22 7.28a.75.75 0 011.06-1.06L8 9.94l3.72-3.72a.75.75 0 011.06 0z"/></svg>',"octicon-chevron-right":'<svg viewBox="0 0 16 16" class="svg octicon-chevron-right" width="16" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M6.22 3.22a.75.75 0 011.06 0l4.25 4.25a.75.75 0 010 1.06l-4.25 4.25a.75.75 0 01-1.06-1.06L9.94 8 6.22 4.28a.75.75 0 010-1.06z"/></svg>',"octicon-git-merge":'<svg viewBox="0 0 16 16" class="svg octicon-git-merge" width="16" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M5 3.254V3.25v.005a.75.75 0 110-.005v.004zm.45 1.9a2.25 2.25 0 10-1.95.218v5.256a2.25 2.25 0 101.5 0V7.123A5.735 5.735 0 009.25 9h1.378a2.251 2.251 0 100-1.5H9.25a4.25 4.25 0 01-3.8-2.346zM12.75 9a.75.75 0 100-1.5.75.75 0 000 1.5zm-8.5 4.5a.75.75 0 100-1.5.75.75 0 000 1.5z"/></svg>',"octicon-git-pull-request":'<svg viewBox="0 0 16 16" class="svg octicon-git-pull-request" width="16" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M7.177 3.073L9.573.677A.25.25 0 0110 .854v4.792a.25.25 0 01-.427.177L7.177 3.427a.25.25 0 010-.354zM3.75 2.5a.75.75 0 100 1.5.75.75 0 000-1.5zm-2.25.75a2.25 2.25 0 113 2.122v5.256a2.251 2.251 0 11-1.5 0V5.372A2.25 2.25 0 011.5 3.25zM11 2.5h-1V4h1a1 1 0 011 1v5.628a2.251 2.251 0 101.5 0V5A2.5 2.5 0 0011 2.5zm1 10.25a.75.75 0 111.5 0 .75.75 0 01-1.5 0zM3.75 12a.75.75 0 100 1.5.75.75 0 000-1.5z"/></svg>',"octicon-issue-closed":'<svg viewBox="0 0 16 16" class="svg octicon-issue-closed" width="16" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M1.5 8a6.5 6.5 0 0110.65-5.003.75.75 0 00.959-1.153 8 8 0 102.592 8.33.75.75 0 10-1.444-.407A6.5 6.5 0 011.5 8zM8 12a1 1 0 100-2 1 1 0 000 2zm0-8a.75.75 0 01.75.75v3.5a.75.75 0 11-1.5 0v-3.5A.75.75 0 018 4zm4.78 4.28l3-3a.75.75 0 00-1.06-1.06l-2.47 2.47-.97-.97a.749.749 0 10-1.06 1.06l1.5 1.5a.75.75 0 001.06 0z"/></svg>',"octicon-issue-opened":'<svg viewBox="0 0 16 16" class="svg octicon-issue-opened" width="16" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M8 1.5a6.5 6.5 0 100 13 6.5 6.5 0 000-13zM0 8a8 8 0 1116 0A8 8 0 010 8zm9 3a1 1 0 11-2 0 1 1 0 012 0zm-.25-6.25a.75.75 0 00-1.5 0v3.5a.75.75 0 001.5 0v-3.5z"/></svg>',"octicon-link":'<svg viewBox="0 0 16 16" class="svg octicon-link" width="16" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"/></svg>',"octicon-lock":'<svg viewBox="0 0 16 16" class="svg octicon-lock" width="16" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M4 4v2h-.25A1.75 1.75 0 002 7.75v5.5c0 .966.784 1.75 1.75 1.75h8.5A1.75 1.75 0 0014 13.25v-5.5A1.75 1.75 0 0012.25 6H12V4a4 4 0 10-8 0zm6.5 2V4a2.5 2.5 0 00-5 0v2h5zM12 7.5h.25a.25.25 0 01.25.25v5.5a.25.25 0 01-.25.25h-8.5a.25.25 0 01-.25-.25v-5.5a.25.25 0 01.25-.25H12z"/></svg>',"octicon-milestone":'<svg viewBox="0 0 16 16" class="svg octicon-milestone" width="16" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M7.75 0a.75.75 0 01.75.75V3h3.634c.414 0 .814.147 1.13.414l2.07 1.75a1.75 1.75 0 010 2.672l-2.07 1.75a1.75 1.75 0 01-1.13.414H8.5v5.25a.75.75 0 11-1.5 0V10H2.75A1.75 1.75 0 011 8.25v-3.5C1 3.784 1.784 3 2.75 3H7V.75A.75.75 0 017.75 0zm0 8.5h4.384a.25.25 0 00.161-.06l2.07-1.75a.25.25 0 000-.38l-2.07-1.75a.25.25 0 00-.161-.06H2.75a.25.25 0 00-.25.25v3.5c0 .138.112.25.25.25h5z"/></svg>',"octicon-mirror":'<svg viewBox="0 0 16 16" class="svg octicon-mirror" width="16" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M8.75 1.75a.75.75 0 00-1.5 0v.5a.75.75 0 001.5 0v-.5zM8 4a.75.75 0 01.75.75v.5a.75.75 0 01-1.5 0v-.5A.75.75 0 018 4zm.75 3.75a.75.75 0 00-1.5 0v.5a.75.75 0 001.5 0v-.5zM8 10a.75.75 0 01.75.75v.5a.75.75 0 01-1.5 0v-.5A.75.75 0 018 10zm0 3a.75.75 0 01.75.75v.5a.75.75 0 01-1.5 0v-.5A.75.75 0 018 13zm7.547-9.939A.75.75 0 0116 3.75v8.5a.75.75 0 01-1.265.545l-4.5-4.25a.75.75 0 010-1.09l4.5-4.25a.75.75 0 01.812-.144zM11.842 8l2.658 2.51V5.49L11.842 8zM0 12.25a.75.75 0 001.265.545l4.5-4.25a.75.75 0 000-1.09l-4.5-4.25A.75.75 0 000 3.75v8.5zm1.5-6.76L4.158 8 1.5 10.51V5.49z"/></svg>',"octicon-project":'<svg viewBox="0 0 16 16" class="svg octicon-project" width="16" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M1.75 0A1.75 1.75 0 000 1.75v12.5C0 15.216.784 16 1.75 16h12.5A1.75 1.75 0 0016 14.25V1.75A1.75 1.75 0 0014.25 0H1.75zM1.5 1.75a.25.25 0 01.25-.25h12.5a.25.25 0 01.25.25v12.5a.25.25 0 01-.25.25H1.75a.25.25 0 01-.25-.25V1.75zM11.75 3a.75.75 0 00-.75.75v7.5a.75.75 0 001.5 0v-7.5a.75.75 0 00-.75-.75zm-8.25.75a.75.75 0 011.5 0v5.5a.75.75 0 01-1.5 0v-5.5zM8 3a.75.75 0 00-.75.75v3.5a.75.75 0 001.5 0v-3.5A.75.75 0 008 3z"/></svg>',"octicon-repo":'<svg viewBox="0 0 16 16" class="svg octicon-repo" width="16" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M2 2.5A2.5 2.5 0 014.5 0h8.75a.75.75 0 01.75.75v12.5a.75.75 0 01-.75.75h-2.5a.75.75 0 110-1.5h1.75v-2h-8a1 1 0 00-.714 1.7.75.75 0 01-1.072 1.05A2.495 2.495 0 012 11.5v-9zm10.5-1V9h-8c-.356 0-.694.074-1 .208V2.5a1 1 0 011-1h8zM5 12.25v3.25a.25.25 0 00.4.2l1.45-1.087a.25.25 0 01.3 0L8.6 15.7a.25.25 0 00.4-.2v-3.25a.25.25 0 00-.25-.25h-3.5a.25.25 0 00-.25.25z"/></svg>',"octicon-repo-forked":'<svg viewBox="0 0 16 16" class="svg octicon-repo-forked" width="16" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M5 3.25a.75.75 0 11-1.5 0 .75.75 0 011.5 0zm0 2.122a2.25 2.25 0 10-1.5 0v.878A2.25 2.25 0 005.75 8.5h1.5v2.128a2.251 2.251 0 101.5 0V8.5h1.5a2.25 2.25 0 002.25-2.25v-.878a2.25 2.25 0 10-1.5 0v.878a.75.75 0 01-.75.75h-4.5A.75.75 0 015 6.25v-.878zm3.75 7.378a.75.75 0 11-1.5 0 .75.75 0 011.5 0zm3-8.75a.75.75 0 100-1.5.75.75 0 000 1.5z"/></svg>',"octicon-repo-template":'<svg viewBox="0 0 16 16" class="svg octicon-repo-template" width="16" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M6 .75A.75.75 0 016.75 0h2.5a.75.75 0 010 1.5h-2.5A.75.75 0 016 .75zm5 0a.75.75 0 01.75-.75h1.5a.75.75 0 01.75.75v1.5a.75.75 0 01-1.5 0V1.5h-.75A.75.75 0 0111 .75zM4.992.662a.75.75 0 01-.636.848c-.436.063-.783.41-.846.846a.75.75 0 01-1.485-.212A2.501 2.501 0 014.144.025a.75.75 0 01.848.637zM2.75 4a.75.75 0 01.75.75v1.5a.75.75 0 01-1.5 0v-1.5A.75.75 0 012.75 4zm10.5 0a.75.75 0 01.75.75v1.5a.75.75 0 01-1.5 0v-1.5a.75.75 0 01.75-.75zM2.75 8a.75.75 0 01.75.75v.268A1.72 1.72 0 013.75 9h.5a.75.75 0 010 1.5h-.5a.25.25 0 00-.25.25v.75c0 .28.114.532.3.714a.75.75 0 01-1.05 1.072A2.495 2.495 0 012 11.5V8.75A.75.75 0 012.75 8zm10.5 0a.75.75 0 01.75.75v4.5a.75.75 0 01-.75.75h-2.5a.75.75 0 010-1.5h1.75v-2h-.75a.75.75 0 010-1.5h.75v-.25a.75.75 0 01.75-.75zM6 9.75A.75.75 0 016.75 9h2.5a.75.75 0 010 1.5h-2.5A.75.75 0 016 9.75zm-1 2.5v3.25a.25.25 0 00.4.2l1.45-1.087a.25.25 0 01.3 0L8.6 15.7a.25.25 0 00.4-.2v-3.25a.25.25 0 00-.25-.25h-3.5a.25.25 0 00-.25.25z"/></svg>'},Ns=new DOMParser,Ms=new XMLSerializer;function qs(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:16,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";if(!(e in Fs))return"";if(16===n&&!i)return Fs[e];var o=Ns.parseFromString(Fs[e],"image/svg+xml"),r=o.firstChild;return 16!==n&&r.setAttribute("width",String(n)),16!==n&&r.setAttribute("height",String(n)),i&&(t=r.classList).add.apply(t,Ps()(i.split(/\s+/))),Ms.serializeToString(r)}var zs=window.config.AppSubUrl;function Hs(){var e=$(".ref-issue");e.length&&e.each((function(){var e=$(this).attr("href").replace(/[#?].*$/,"").split("/").reverse(),n=t()(e,4),i=n[0],o=(n[1],n[2]);!function(e,t,n,i){$.get("".concat(zs,"/api/v1/repos/").concat(e,"/").concat(t,"/issues/").concat(n),(function(e){var t=new Date(e.created_at).toLocaleDateString(void 0,{year:"numeric",month:"short",day:"numeric"}),o=e.body.replace(/\n+/g," ");o.length>85&&(o="".concat(o.substring(0,85),"..."));for(var r,a,s="",l=0;l<e.labels.length;l++){var c=e.labels[l],u="#ffffff";.299*parseInt(c.color.substring(0,2),16)+.587*parseInt(c.color.substring(2,4),16)+.114*parseInt(c.color.substring(4,6),16)>125&&(u="#000000"),s+='<div class="ui label" style="color: '.concat(u,"; background-color:#").concat(c.color,';">').concat((0,Ss.T)(c.name),"</div>")}s.length>0&&(s="<p>".concat(s,"</p>")),null!==e.pull_request?"open"===e.state?(a="green",r="octicon-git-pull-request"):!0===e.pull_request.merged?(a="purple",r="octicon-git-merge"):(a="red",r="octicon-git-pull-request"):"open"===e.state?(a="green",r="octicon-issue-opened"):(a="red",r="octicon-issue-closed"),i.popup({variation:"wide",delay:{show:250},html:"\n<div>\n <p><small>".concat((0,Ss.T)(e.repository.full_name)," on ").concat(t,'</small></p>\n <p><span class="').concat(a,'">').concat(qs(r),"</span> <strong>").concat((0,Ss.T)(e.title),"</strong> #").concat(n,"</p>\n <p>").concat((0,Ss.T)(o),"</p>\n ").concat(s,"\n</div>\n")})}))}(n[3],o,i,$(this))}))}s("./node_modules/core-js/modules/es.array.splice.js");function Us(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return Bs(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Bs(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0,o=function(){};return{s:o,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,a=!0,s=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,r=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw r}}}}function Bs(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function Vs(){return Ws.apply(this,arguments)}function Ws(){return(Ws=r()(i().mark((function e(){var t,n,o,a;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(document.getElementById("git-graph-container")){e.next=3;break}return e.abrupt("return");case 3:$("#flow-color-monochrome").on("click",(function(){$("#flow-color-monochrome").addClass("active"),$("#flow-color-colored").removeClass("active"),$("#git-graph-container").removeClass("colored").addClass("monochrome");var e=new URLSearchParams(window.location.search);e.set("mode","monochrome");var t=e.toString();t?window.history.replaceState({},"","?".concat(t)):window.history.replaceState({},"",window.location.pathname),$(".pagination a").each((function(e,t){var n=$(t).attr("href");if(n){var i=new URL(n,window.location),o=i.searchParams;o.set("mode","monochrome"),i.search="?".concat(o.toString()),$(t).attr("href",i.href)}}))})),$("#flow-color-colored").on("click",(function(){$("#flow-color-colored").addClass("active"),$("#flow-color-monochrome").removeClass("active"),$("#git-graph-container").addClass("colored").removeClass("monochrome"),$(".pagination a").each((function(e,t){var n=$(t).attr("href");if(n){var i=new URL(n,window.location),o=i.searchParams;o.delete("mode"),i.search="?".concat(o.toString()),$(t).attr("href",i.href)}}));var e=new URLSearchParams(window.location.search);e.delete("mode");var t=e.toString();t?window.history.replaceState({},"","?".concat(t)):window.history.replaceState({},"",window.location.pathname)})),t=new URL(window.location),n=t.searchParams,o=function(){var e=r()(i().mark((function e(){var o,r,a;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=n.toString(),(r=new URL(t)).searchParams.set("div-only","true"),window.history.replaceState({},"",o?"?".concat(o):window.location.pathname),$("#pagination").empty(),$("#rel-container").addClass("hide"),$("#rev-container").addClass("hide"),$("#loading-indicator").removeClass("hide"),e.t0=$,e.next=11,$.ajax(String(r));case 11:e.t1=e.sent,a=(0,e.t0)(e.t1),$("#pagination").html(a.find("#pagination").html()),$("#rel-container").html(a.find("#rel-container").html()),$("#rev-container").html(a.find("#rev-container").html()),$("#loading-indicator").addClass("hide"),$("#rel-container").removeClass("hide"),$("#rev-container").removeClass("hide");case 19:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),a=n.getAll("branch"),n.has("hide-pr-refs")&&"true"===n.get("hide-pr-refs")&&a.splice(0,0,"...flow-hide-pr-refs"),$("#flow-select-refs-dropdown").dropdown("set selected",a),$("#flow-select-refs-dropdown").dropdown({clearable:!0,fullTextSeach:"exact",onRemove:function(e){if("...flow-hide-pr-refs"===e)n.delete("hide-pr-refs");else{var t=n.getAll("branch");n.delete("branch");var i,r=Us(t);try{for(r.s();!(i=r.n()).done;){var a=i.value;a!==e&&n.append("branch",a)}}catch(e){r.e(e)}finally{r.f()}}o()},onAdd:function(e){"...flow-hide-pr-refs"===e?n.set("hide-pr-refs",!0):n.append("branch",e),o()}}),$("#git-graph-container").on("mouseenter","#rev-list li",(function(e){var t=$(e.currentTarget).data("flow");0!==t&&($("#flow-".concat(t)).addClass("highlight"),$(e.currentTarget).addClass("hover"),$("#rev-list li[data-flow='".concat(t,"']")).addClass("highlight"))})),$("#git-graph-container").on("mouseleave","#rev-list li",(function(e){var t=$(e.currentTarget).data("flow");0!==t&&($("#flow-".concat(t)).removeClass("highlight"),$(e.currentTarget).removeClass("hover"),$("#rev-list li[data-flow='".concat(t,"']")).removeClass("highlight"))})),$("#git-graph-container").on("mouseenter","#rel-container .flow-group",(function(e){$(e.currentTarget).addClass("highlight");var t=$(e.currentTarget).data("flow");$("#rev-list li[data-flow='".concat(t,"']")).addClass("highlight")})),$("#git-graph-container").on("mouseleave","#rel-container .flow-group",(function(e){$(e.currentTarget).removeClass("highlight");var t=$(e.currentTarget).data("flow");$("#rev-list li[data-flow='".concat(t,"']")).removeClass("highlight")})),$("#git-graph-container").on("mouseenter","#rel-container .flow-commit",(function(e){var t=$(e.currentTarget).data("rev");$("#rev-list li#commit-".concat(t)).addClass("hover")})),$("#git-graph-container").on("mouseleave","#rel-container .flow-commit",(function(e){var t=$(e.currentTarget).data("rev");$("#rev-list li#commit-".concat(t)).removeClass("hover")}));case 18:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Qs(){return Gs.apply(this,arguments)}function Gs(){return(Gs=r()(i().mark((function e(){var t,n,o,r;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if((t=document.querySelectorAll(".clipboard"))&&t.length){e.next=3;break}return e.abrupt("return");case 3:return e.next=5,s.e("clipboard").then(s.t.bind(s,"./node_modules/clipboard/dist/clipboard.js",23));case 5:n=e.sent,o=n.default,(r=new o(t)).on("success",(function(e){e.clearSelection(),$(e.trigger).popup("destroy"),e.trigger.dataset.content=e.trigger.dataset.success,$(e.trigger).popup("show"),e.trigger.dataset.content=e.trigger.dataset.original})),r.on("error",(function(e){$(e.trigger).popup("destroy"),e.trigger.dataset.content=e.trigger.dataset.error,$(e.trigger).popup("show"),e.trigger.dataset.content=e.trigger.dataset.original}));case 10:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var Xs=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{attrs:{id:"user-heatmap"}},[n("div",{staticClass:"total-contributions"},[e._v("\n "+e._s(e.sum)+" contributions in the last 12 months\n ")]),e._v(" "),n("calendar-heatmap",{attrs:{locale:e.locale,"no-data-text":e.locale.no_contributions,"tooltip-unit":e.locale.contributions,"end-date":e.endDate,values:e.values,"range-color":e.colorRange},on:{"day-click":function(t){return e.handleDayClick(t)}}})],1)};Xs._withStripped=!0;s("./node_modules/core-js/modules/es.date.to-iso-string.js");function Ys(e,t,n,i,o,r,a,s){var l,c="function"==typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=n,c._compiled=!0),i&&(c.functional=!0),r&&(c._scopeId="data-v-"+r),a?(l=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},c._ssrRegister=l):o&&(l=s?function(){o.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:o),l)if(c.functional){c._injectStyles=l;var u=c.render;c.render=function(e,t){return l.call(t),u(e,t)}}else{var d=c.beforeCreate;c.beforeCreate=d?[].concat(d,l):[l]}return{exports:e,options:c}}var Ks=Ys({name:"ActivityHeatmap",components:{CalendarHeatmap:s("./node_modules/vue-calendar-heatmap/dist/vue-calendar-heatmap.common.js").CalendarHeatmap},props:{values:{type:Array,default:function(){return[]}}},data:function(){return{colorRange:["var(--color-secondary-alpha-70)","var(--color-primary-light-4)","var(--color-primary-light-2)","var(--color-primary)","var(--color-primary-dark-2)","var(--color-primary-dark-4)"],endDate:new Date,locale:{contributions:"contributions",no_contributions:"No contributions"}}},computed:{sum:function(){for(var e=0,t=0;t<this.values.length;t++)e+=this.values[t].count;return e}},methods:{handleDayClick:function(e){var t=new URLSearchParams(document.location.search),n=t.get("date"),i=new Date(e.date-6e4*e.date.getTimezoneOffset()).toISOString().substring(0,10);n&&n===i?t.delete("date"):t.set("date",i);var o=t.toString();window.location.search=o.length?"?".concat(o):""}}},Xs,[],!1,null,"4638f316",null);Ks.options.__file="web_src/js/components/ActivityHeatmap.vue";var Js=Ks.exports;function Zs(){return el.apply(this,arguments)}function el(){return(el=r()(i().mark((function e(){var t,n;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=document.getElementById("user-heatmap")){e.next=3;break}return e.abrupt("return");case 3:try{n=JSON.parse(t.dataset.heatmapData).map((function(e){var t=e.contributions,n=e.timestamp;return{date:new Date(1e3*n),count:t}})),(new(Cs.extend({render:function(e){return e(Js,{props:{values:n}})}}))).$mount(t)}catch(e){console.error(e),t.textContent="Heatmap failed to load"}case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function tl(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return nl(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return nl(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0,o=function(){};return{s:o,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,a=!0,s=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,r=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw r}}}}function nl(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}var il=window.config.csrf;function ol(){return rl.apply(this,arguments)}function rl(){return(rl=r()(i().mark((function e(){var t,n,o,a,l,c;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(window.config&&window.config.PageIsProjects){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,s.e("sortable").then(s.bind(s,"./node_modules/sortablejs/modular/sortable.complete.esm.js"));case 4:t=e.sent,n=t.Sortable,o=document.getElementsByClassName("board-column"),new n(document.getElementsByClassName("board")[0],{group:"board-column",draggable:".board-column",animation:150,onSort:function(){document.getElementsByClassName("board")[0].getElementsByClassName("board-column").forEach((function(e,t){parseInt($(e).data("sorting"))!==t&&$.ajax({url:$(e).data("url"),data:JSON.stringify({sorting:t}),headers:{"X-Csrf-Token":il,"X-Remote":!0},contentType:"application/json",method:"PUT"})}))}}),a=tl(o);try{for(a.s();!(l=a.n()).done;)c=l.value,new n(c.getElementsByClassName("board")[0],{group:"shared",animation:150,onAdd:function(e){$.ajax("".concat(e.to.dataset.url,"/").concat(e.item.dataset.issue),{headers:{"X-Csrf-Token":il,"X-Remote":!0},contentType:"application/json",type:"POST",error:function(){e.from.insertBefore(e.item,e.from.children[e.oldIndex])}})}})}catch(e){a.e(e)}finally{a.f()}$(".edit-project-board").each((function(){var e=$(this).closest(".board-column-header").find(".board-label"),t=$(this).find(".content > .form > .field > .project-board-title");$(this).find(".content > .form > .actions > .red").on("click",(function(n){n.preventDefault(),$.ajax({url:$(this).data("url"),data:JSON.stringify({title:t.val()}),headers:{"X-Csrf-Token":il,"X-Remote":!0},contentType:"application/json",method:"PUT"}).done((function(){e.text(t.val()),t.closest("form").removeClass("dirty"),$(".ui.modal").modal("hide")}))}))})),$(document).on("click",".set-default-project-board",function(){var e=r()(i().mark((function e(t){return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.preventDefault(),e.next=3,$.ajax({method:"POST",url:$(this).data("url"),headers:{"X-Csrf-Token":il,"X-Remote":!0},contentType:"application/json"});case 3:window.location.reload();case 4:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()),$(".delete-project-board").each((function(){$(this).click((function(e){e.preventDefault(),$.ajax({url:$(this).data("url"),headers:{"X-Csrf-Token":il,"X-Remote":!0},contentType:"application/json",method:"DELETE"}).done((function(){window.location.reload()}))}))})),$("#new_board_submit").click((function(e){e.preventDefault();var t=$("#new_board");$.ajax({url:$(this).data("url"),data:JSON.stringify({title:t.val()}),headers:{"X-Csrf-Token":il,"X-Remote":!0},contentType:"application/json",method:"POST"}).done((function(){t.closest("form").removeClass("dirty"),window.location.reload()}))}));case 14:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var al=window.config,sl=al.UseServiceWorker,ll=al.AppSubUrl,cl=al.AppVer,ul="static-cache-v";function dl(){return fl.apply(this,arguments)}function fl(){return(fl=r()(i().mark((function e(){var t;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,navigator.serviceWorker.getRegistrations();case 2:return t=e.sent,e.next=5,Promise.all(t.map((function(e){return e.active&&e.unregister()})));case 5:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function pl(){return ml.apply(this,arguments)}function ml(){return(ml=r()(i().mark((function e(){var t;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,caches.keys();case 2:return t=e.sent,e.next=5,Promise.all(t.map((function(e){return e.startsWith(ul)&&caches.delete(e)})));case 5:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function hl(){return gl.apply(this,arguments)}function gl(){return(gl=r()(i().mark((function e(){var t,n;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=cl,n=localStorage.getItem("staticCacheKey"),!t||n===t){e.next=6;break}return e.next=5,pl();case 5:localStorage.setItem("staticCacheKey",t);case 6:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function vl(){return bl.apply(this,arguments)}function bl(){return(bl=r()(i().mark((function e(){return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("serviceWorker"in navigator){e.next=2;break}return e.abrupt("return");case 2:if(!sl){e.next=15;break}return e.prev=3,e.next=6,Promise.all([hl(),navigator.serviceWorker.register("".concat(ll,"/serviceworker.js"))]);case 6:e.next=13;break;case 8:return e.prev=8,e.t0=e.catch(3),console.error(e.t0),e.next=13,Promise.all([pl(),dl()]);case 13:e.next=17;break;case 15:return e.next=17,Promise.all([pl(),dl()]);case 17:case"end":return e.stop()}}),e,null,[[3,8]])})))).apply(this,arguments)}function yl(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return jl(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return jl(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0,o=function(){};return{s:o,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,a=!0,s=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,r=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw r}}}}function jl(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function _l(){if(!document.querySelector(":target")&&window.location.hash&&!(window.location.hash.length<=1)){var e=decodeURIComponent(window.location.hash.substring(1)),t=document.getElementById("user-content-".concat(e));if(t)t.scrollIntoView();else if(e.startsWith("user-content-")){var n=document.getElementById(e);n&&n.scrollIntoView()}}}function wl(){if(document.querySelector(".markdown")){var e,t=yl(document.querySelectorAll(".markdown h1, .markdown h2, .markdown h3, .markdown h4, .markdown h5, .markdown h6"));try{for(t.s();!(e=t.n()).done;){var n=e.value,i=n.id.replace(/^user-content-/,""),o=document.createElement("a");o.classList.add("anchor"),o.setAttribute("href","#".concat(encodeURIComponent(i))),o.innerHTML=qs("octicon-link"),n.prepend(o)}}catch(e){t.e(e)}finally{t.f()}_l(),window.addEventListener("hashchange",_l)}}function xl(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return kl(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return kl(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0,o=function(){};return{s:o,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,a=!0,s=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,r=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw r}}}}function kl(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}var Cl=5e3;function Sl(e,t){e.closest("pre").classList.remove("is-loading");var n=document.createElement("div");n.setAttribute("class","ui message error markdown-block-error mono"),n.textContent=t.str||t.message||String(t),e.closest("pre").before(n)}function Tl(e){return Al.apply(this,arguments)}function Al(){return(Al=r()(i().mark((function e(t){var n,o,r,a,l;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t&&t.length){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,s.e("mermaid").then(s.t.bind(s,"./node_modules/mermaid/dist/mermaid.core.js",23));case 4:(n=e.sent).initialize({mermaid:{startOnLoad:!1},flowchart:{useMaxWidth:!0,htmlLabels:!1},theme:"neutral",securityLevel:"strict"}),o=xl(t),e.prev=7,o.s();case 9:if((r=o.n()).done){e.next=22;break}if(!((a=r.value).textContent.length>Cl)){e.next=14;break}return Sl(a,new Error("Mermaid source of ".concat(a.textContent.length," characters exceeds the maximum allowed length of ").concat(Cl,"."))),e.abrupt("continue",20);case 14:l=void 0;try{l=n.parse(a.textContent)}catch(e){Sl(a,e)}if(l){e.next=19;break}return a.closest("pre").classList.remove("is-loading"),e.abrupt("continue",20);case 19:try{n.init(void 0,a,(function(e){var t=document.getElementById(e);t.classList.add("mermaid-chart"),t.closest("pre").replaceWith(t)}))}catch(e){Sl(a,e)}case 20:e.next=9;break;case 22:e.next=27;break;case 24:e.prev=24,e.t0=e.catch(7),o.e(e.t0);case 27:return e.prev=27,o.f(),e.finish(27);case 30:case"end":return e.stop()}}),e,null,[[7,24,27,30]])})))).apply(this,arguments)}function $l(){return El.apply(this,arguments)}function El(){return(El=r()(i().mark((function e(){return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Tl(document.querySelectorAll("code.language-mermaid"));case 2:case"end":return e.stop()}}),e)})))).apply(this,arguments)}s("./node_modules/core-js/modules/es.array.from.js");var Ol=JSON.parse('[{"emoji":"👍","aliases":["+1","thumbsup"]},{"emoji":"👎","aliases":["-1","thumbsdown"]},{"emoji":"💯","aliases":["100"]},{"emoji":"🔢","aliases":["1234"]},{"emoji":"🥇","aliases":["1st_place_medal"]},{"emoji":"🥈","aliases":["2nd_place_medal"]},{"emoji":"🥉","aliases":["3rd_place_medal"]},{"emoji":"🎱","aliases":["8ball"]},{"emoji":"🅰️","aliases":["a"]},{"emoji":"🆎","aliases":["ab"]},{"emoji":"🧮","aliases":["abacus"]},{"emoji":"🔤","aliases":["abc"]},{"emoji":"🔡","aliases":["abcd"]},{"emoji":"🉑","aliases":["accept"]},{"emoji":"🩹","aliases":["adhesive_bandage"]},{"emoji":"🧑","aliases":["adult"]},{"emoji":"🚡","aliases":["aerial_tramway"]},{"emoji":"🇦🇫","aliases":["afghanistan"]},{"emoji":"✈️","aliases":["airplane"]},{"emoji":"🇦🇽","aliases":["aland_islands"]},{"emoji":"⏰","aliases":["alarm_clock"]},{"emoji":"🇦🇱","aliases":["albania"]},{"emoji":"⚗️","aliases":["alembic"]},{"emoji":"🇩🇿","aliases":["algeria"]},{"emoji":"👽","aliases":["alien"]},{"emoji":"🚑","aliases":["ambulance"]},{"emoji":"🇦🇸","aliases":["american_samoa"]},{"emoji":"🏺","aliases":["amphora"]},{"emoji":"⚓","aliases":["anchor"]},{"emoji":"🇦🇩","aliases":["andorra"]},{"emoji":"👼","aliases":["angel"]},{"emoji":"💢","aliases":["anger"]},{"emoji":"🇦🇴","aliases":["angola"]},{"emoji":"😠","aliases":["angry"]},{"emoji":"🇦🇮","aliases":["anguilla"]},{"emoji":"😧","aliases":["anguished"]},{"emoji":"🐜","aliases":["ant"]},{"emoji":"🇦🇶","aliases":["antarctica"]},{"emoji":"🇦🇬","aliases":["antigua_barbuda"]},{"emoji":"🍎","aliases":["apple"]},{"emoji":"♒","aliases":["aquarius"]},{"emoji":"🇦🇷","aliases":["argentina"]},{"emoji":"♈","aliases":["aries"]},{"emoji":"🇦🇲","aliases":["armenia"]},{"emoji":"◀️","aliases":["arrow_backward"]},{"emoji":"⏬","aliases":["arrow_double_down"]},{"emoji":"⏫","aliases":["arrow_double_up"]},{"emoji":"⬇️","aliases":["arrow_down"]},{"emoji":"🔽","aliases":["arrow_down_small"]},{"emoji":"▶️","aliases":["arrow_forward"]},{"emoji":"⤵️","aliases":["arrow_heading_down"]},{"emoji":"⤴️","aliases":["arrow_heading_up"]},{"emoji":"⬅️","aliases":["arrow_left"]},{"emoji":"↙️","aliases":["arrow_lower_left"]},{"emoji":"↘️","aliases":["arrow_lower_right"]},{"emoji":"➡️","aliases":["arrow_right"]},{"emoji":"↪️","aliases":["arrow_right_hook"]},{"emoji":"⬆️","aliases":["arrow_up"]},{"emoji":"↕️","aliases":["arrow_up_down"]},{"emoji":"🔼","aliases":["arrow_up_small"]},{"emoji":"↖️","aliases":["arrow_upper_left"]},{"emoji":"↗️","aliases":["arrow_upper_right"]},{"emoji":"🔃","aliases":["arrows_clockwise"]},{"emoji":"🔄","aliases":["arrows_counterclockwise"]},{"emoji":"🎨","aliases":["art"]},{"emoji":"🚛","aliases":["articulated_lorry"]},{"emoji":"🛰️","aliases":["artificial_satellite"]},{"emoji":"🧑🎨","aliases":["artist"]},{"emoji":"🇦🇼","aliases":["aruba"]},{"emoji":"🇦🇨","aliases":["ascension_island"]},{"emoji":"*️⃣","aliases":["asterisk"]},{"emoji":"😲","aliases":["astonished"]},{"emoji":"🧑🚀","aliases":["astronaut"]},{"emoji":"👟","aliases":["athletic_shoe"]},{"emoji":"🏧","aliases":["atm"]},{"emoji":"⚛️","aliases":["atom_symbol"]},{"emoji":"🇦🇺","aliases":["australia"]},{"emoji":"🇦🇹","aliases":["austria"]},{"emoji":"🛺","aliases":["auto_rickshaw"]},{"emoji":"🥑","aliases":["avocado"]},{"emoji":"🪓","aliases":["axe"]},{"emoji":"🇦🇿","aliases":["azerbaijan"]},{"emoji":"🅱️","aliases":["b"]},{"emoji":"👶","aliases":["baby"]},{"emoji":"🍼","aliases":["baby_bottle"]},{"emoji":"🐤","aliases":["baby_chick"]},{"emoji":"🚼","aliases":["baby_symbol"]},{"emoji":"🔙","aliases":["back"]},{"emoji":"🥓","aliases":["bacon"]},{"emoji":"🦡","aliases":["badger"]},{"emoji":"🏸","aliases":["badminton"]},{"emoji":"🥯","aliases":["bagel"]},{"emoji":"🛄","aliases":["baggage_claim"]},{"emoji":"🥖","aliases":["baguette_bread"]},{"emoji":"🇧🇸","aliases":["bahamas"]},{"emoji":"🇧🇭","aliases":["bahrain"]},{"emoji":"⚖️","aliases":["balance_scale"]},{"emoji":"👨🦲","aliases":["bald_man"]},{"emoji":"👩🦲","aliases":["bald_woman"]},{"emoji":"🩰","aliases":["ballet_shoes"]},{"emoji":"🎈","aliases":["balloon"]},{"emoji":"🗳️","aliases":["ballot_box"]},{"emoji":"☑️","aliases":["ballot_box_with_check"]},{"emoji":"🎍","aliases":["bamboo"]},{"emoji":"🍌","aliases":["banana"]},{"emoji":"‼️","aliases":["bangbang"]},{"emoji":"🇧🇩","aliases":["bangladesh"]},{"emoji":"🪕","aliases":["banjo"]},{"emoji":"🏦","aliases":["bank"]},{"emoji":"📊","aliases":["bar_chart"]},{"emoji":"🇧🇧","aliases":["barbados"]},{"emoji":"💈","aliases":["barber"]},{"emoji":"⚾","aliases":["baseball"]},{"emoji":"🧺","aliases":["basket"]},{"emoji":"🏀","aliases":["basketball"]},{"emoji":"🦇","aliases":["bat"]},{"emoji":"🛀","aliases":["bath"]},{"emoji":"🛁","aliases":["bathtub"]},{"emoji":"🔋","aliases":["battery"]},{"emoji":"🏖️","aliases":["beach_umbrella"]},{"emoji":"🐻","aliases":["bear"]},{"emoji":"🧔","aliases":["bearded_person"]},{"emoji":"🛏️","aliases":["bed"]},{"emoji":"🐝","aliases":["bee","honeybee"]},{"emoji":"🍺","aliases":["beer"]},{"emoji":"🍻","aliases":["beers"]},{"emoji":"🔰","aliases":["beginner"]},{"emoji":"🇧🇾","aliases":["belarus"]},{"emoji":"🇧🇪","aliases":["belgium"]},{"emoji":"🇧🇿","aliases":["belize"]},{"emoji":"🔔","aliases":["bell"]},{"emoji":"🛎️","aliases":["bellhop_bell"]},{"emoji":"🇧🇯","aliases":["benin"]},{"emoji":"🍱","aliases":["bento"]},{"emoji":"🇧🇲","aliases":["bermuda"]},{"emoji":"🧃","aliases":["beverage_box"]},{"emoji":"🇧🇹","aliases":["bhutan"]},{"emoji":"🚴","aliases":["bicyclist"]},{"emoji":"🚲","aliases":["bike"]},{"emoji":"🚴♂️","aliases":["biking_man"]},{"emoji":"🚴♀️","aliases":["biking_woman"]},{"emoji":"👙","aliases":["bikini"]},{"emoji":"🧢","aliases":["billed_cap"]},{"emoji":"☣️","aliases":["biohazard"]},{"emoji":"🐦","aliases":["bird"]},{"emoji":"🎂","aliases":["birthday"]},{"emoji":"⚫","aliases":["black_circle"]},{"emoji":"🏴","aliases":["black_flag"]},{"emoji":"🖤","aliases":["black_heart"]},{"emoji":"🃏","aliases":["black_joker"]},{"emoji":"⬛","aliases":["black_large_square"]},{"emoji":"◾","aliases":["black_medium_small_square"]},{"emoji":"◼️","aliases":["black_medium_square"]},{"emoji":"✒️","aliases":["black_nib"]},{"emoji":"▪️","aliases":["black_small_square"]},{"emoji":"🔲","aliases":["black_square_button"]},{"emoji":"👱♂️","aliases":["blond_haired_man"]},{"emoji":"👱","aliases":["blond_haired_person"]},{"emoji":"👱♀️","aliases":["blond_haired_woman","blonde_woman"]},{"emoji":"🌼","aliases":["blossom"]},{"emoji":"🐡","aliases":["blowfish"]},{"emoji":"📘","aliases":["blue_book"]},{"emoji":"🚙","aliases":["blue_car"]},{"emoji":"💙","aliases":["blue_heart"]},{"emoji":"🟦","aliases":["blue_square"]},{"emoji":"😊","aliases":["blush"]},{"emoji":"🐗","aliases":["boar"]},{"emoji":"⛵","aliases":["boat","sailboat"]},{"emoji":"🇧🇴","aliases":["bolivia"]},{"emoji":"💣","aliases":["bomb"]},{"emoji":"🦴","aliases":["bone"]},{"emoji":"📖","aliases":["book","open_book"]},{"emoji":"🔖","aliases":["bookmark"]},{"emoji":"📑","aliases":["bookmark_tabs"]},{"emoji":"📚","aliases":["books"]},{"emoji":"💥","aliases":["boom","collision"]},{"emoji":"👢","aliases":["boot"]},{"emoji":"🇧🇦","aliases":["bosnia_herzegovina"]},{"emoji":"🇧🇼","aliases":["botswana"]},{"emoji":"⛹️♂️","aliases":["bouncing_ball_man","basketball_man"]},{"emoji":"⛹️","aliases":["bouncing_ball_person"]},{"emoji":"⛹️♀️","aliases":["bouncing_ball_woman","basketball_woman"]},{"emoji":"💐","aliases":["bouquet"]},{"emoji":"🇧🇻","aliases":["bouvet_island"]},{"emoji":"🙇","aliases":["bow"]},{"emoji":"🏹","aliases":["bow_and_arrow"]},{"emoji":"🙇♂️","aliases":["bowing_man"]},{"emoji":"🙇♀️","aliases":["bowing_woman"]},{"emoji":"🥣","aliases":["bowl_with_spoon"]},{"emoji":"🎳","aliases":["bowling"]},{"emoji":"🥊","aliases":["boxing_glove"]},{"emoji":"👦","aliases":["boy"]},{"emoji":"🧠","aliases":["brain"]},{"emoji":"🇧🇷","aliases":["brazil"]},{"emoji":"🍞","aliases":["bread"]},{"emoji":"🤱","aliases":["breast_feeding"]},{"emoji":"🧱","aliases":["bricks"]},{"emoji":"🌉","aliases":["bridge_at_night"]},{"emoji":"💼","aliases":["briefcase"]},{"emoji":"🇮🇴","aliases":["british_indian_ocean_territory"]},{"emoji":"🇻🇬","aliases":["british_virgin_islands"]},{"emoji":"🥦","aliases":["broccoli"]},{"emoji":"💔","aliases":["broken_heart"]},{"emoji":"🧹","aliases":["broom"]},{"emoji":"🟤","aliases":["brown_circle"]},{"emoji":"🤎","aliases":["brown_heart"]},{"emoji":"🟫","aliases":["brown_square"]},{"emoji":"🇧🇳","aliases":["brunei"]},{"emoji":"🐛","aliases":["bug"]},{"emoji":"🏗️","aliases":["building_construction"]},{"emoji":"💡","aliases":["bulb"]},{"emoji":"🇧🇬","aliases":["bulgaria"]},{"emoji":"🚅","aliases":["bullettrain_front"]},{"emoji":"🚄","aliases":["bullettrain_side"]},{"emoji":"🇧🇫","aliases":["burkina_faso"]},{"emoji":"🌯","aliases":["burrito"]},{"emoji":"🇧🇮","aliases":["burundi"]},{"emoji":"🚌","aliases":["bus"]},{"emoji":"🕴️","aliases":["business_suit_levitating"]},{"emoji":"🚏","aliases":["busstop"]},{"emoji":"👤","aliases":["bust_in_silhouette"]},{"emoji":"👥","aliases":["busts_in_silhouette"]},{"emoji":"🧈","aliases":["butter"]},{"emoji":"🦋","aliases":["butterfly"]},{"emoji":"🌵","aliases":["cactus"]},{"emoji":"🍰","aliases":["cake"]},{"emoji":"📆","aliases":["calendar"]},{"emoji":"🤙","aliases":["call_me_hand"]},{"emoji":"📲","aliases":["calling"]},{"emoji":"🇰🇭","aliases":["cambodia"]},{"emoji":"🐫","aliases":["camel"]},{"emoji":"📷","aliases":["camera"]},{"emoji":"📸","aliases":["camera_flash"]},{"emoji":"🇨🇲","aliases":["cameroon"]},{"emoji":"🏕️","aliases":["camping"]},{"emoji":"🇨🇦","aliases":["canada"]},{"emoji":"🇮🇨","aliases":["canary_islands"]},{"emoji":"♋","aliases":["cancer"]},{"emoji":"🕯️","aliases":["candle"]},{"emoji":"🍬","aliases":["candy"]},{"emoji":"🥫","aliases":["canned_food"]},{"emoji":"🛶","aliases":["canoe"]},{"emoji":"🇨🇻","aliases":["cape_verde"]},{"emoji":"🔠","aliases":["capital_abcd"]},{"emoji":"♑","aliases":["capricorn"]},{"emoji":"🚗","aliases":["car","red_car"]},{"emoji":"🗃️","aliases":["card_file_box"]},{"emoji":"📇","aliases":["card_index"]},{"emoji":"🗂️","aliases":["card_index_dividers"]},{"emoji":"🇧🇶","aliases":["caribbean_netherlands"]},{"emoji":"🎠","aliases":["carousel_horse"]},{"emoji":"🥕","aliases":["carrot"]},{"emoji":"🤸","aliases":["cartwheeling"]},{"emoji":"🐱","aliases":["cat"]},{"emoji":"🐈","aliases":["cat2"]},{"emoji":"🇰🇾","aliases":["cayman_islands"]},{"emoji":"💿","aliases":["cd"]},{"emoji":"🇨🇫","aliases":["central_african_republic"]},{"emoji":"🇪🇦","aliases":["ceuta_melilla"]},{"emoji":"🇹🇩","aliases":["chad"]},{"emoji":"⛓️","aliases":["chains"]},{"emoji":"🪑","aliases":["chair"]},{"emoji":"🍾","aliases":["champagne"]},{"emoji":"💹","aliases":["chart"]},{"emoji":"📉","aliases":["chart_with_downwards_trend"]},{"emoji":"📈","aliases":["chart_with_upwards_trend"]},{"emoji":"🏁","aliases":["checkered_flag"]},{"emoji":"🧀","aliases":["cheese"]},{"emoji":"🍒","aliases":["cherries"]},{"emoji":"🌸","aliases":["cherry_blossom"]},{"emoji":"♟️","aliases":["chess_pawn"]},{"emoji":"🌰","aliases":["chestnut"]},{"emoji":"🐔","aliases":["chicken"]},{"emoji":"🧒","aliases":["child"]},{"emoji":"🚸","aliases":["children_crossing"]},{"emoji":"🇨🇱","aliases":["chile"]},{"emoji":"🐿️","aliases":["chipmunk"]},{"emoji":"🍫","aliases":["chocolate_bar"]},{"emoji":"🥢","aliases":["chopsticks"]},{"emoji":"🇨🇽","aliases":["christmas_island"]},{"emoji":"🎄","aliases":["christmas_tree"]},{"emoji":"⛪","aliases":["church"]},{"emoji":"🎦","aliases":["cinema"]},{"emoji":"🎪","aliases":["circus_tent"]},{"emoji":"🌇","aliases":["city_sunrise"]},{"emoji":"🌆","aliases":["city_sunset"]},{"emoji":"🏙️","aliases":["cityscape"]},{"emoji":"🆑","aliases":["cl"]},{"emoji":"🗜️","aliases":["clamp"]},{"emoji":"👏","aliases":["clap"]},{"emoji":"🎬","aliases":["clapper"]},{"emoji":"🏛️","aliases":["classical_building"]},{"emoji":"🧗","aliases":["climbing"]},{"emoji":"🧗♂️","aliases":["climbing_man"]},{"emoji":"🧗♀️","aliases":["climbing_woman"]},{"emoji":"🥂","aliases":["clinking_glasses"]},{"emoji":"📋","aliases":["clipboard"]},{"emoji":"🇨🇵","aliases":["clipperton_island"]},{"emoji":"🕐","aliases":["clock1"]},{"emoji":"🕙","aliases":["clock10"]},{"emoji":"🕥","aliases":["clock1030"]},{"emoji":"🕚","aliases":["clock11"]},{"emoji":"🕦","aliases":["clock1130"]},{"emoji":"🕛","aliases":["clock12"]},{"emoji":"🕧","aliases":["clock1230"]},{"emoji":"🕜","aliases":["clock130"]},{"emoji":"🕑","aliases":["clock2"]},{"emoji":"🕝","aliases":["clock230"]},{"emoji":"🕒","aliases":["clock3"]},{"emoji":"🕞","aliases":["clock330"]},{"emoji":"🕓","aliases":["clock4"]},{"emoji":"🕟","aliases":["clock430"]},{"emoji":"🕔","aliases":["clock5"]},{"emoji":"🕠","aliases":["clock530"]},{"emoji":"🕕","aliases":["clock6"]},{"emoji":"🕡","aliases":["clock630"]},{"emoji":"🕖","aliases":["clock7"]},{"emoji":"🕢","aliases":["clock730"]},{"emoji":"🕗","aliases":["clock8"]},{"emoji":"🕣","aliases":["clock830"]},{"emoji":"🕘","aliases":["clock9"]},{"emoji":"🕤","aliases":["clock930"]},{"emoji":"📕","aliases":["closed_book"]},{"emoji":"🔐","aliases":["closed_lock_with_key"]},{"emoji":"🌂","aliases":["closed_umbrella"]},{"emoji":"☁️","aliases":["cloud"]},{"emoji":"🌩️","aliases":["cloud_with_lightning"]},{"emoji":"⛈️","aliases":["cloud_with_lightning_and_rain"]},{"emoji":"🌧️","aliases":["cloud_with_rain"]},{"emoji":"🌨️","aliases":["cloud_with_snow"]},{"emoji":"🤡","aliases":["clown_face"]},{"emoji":"♣️","aliases":["clubs"]},{"emoji":"🇨🇳","aliases":["cn"]},{"emoji":"🧥","aliases":["coat"]},{"emoji":"🍸","aliases":["cocktail"]},{"emoji":"🥥","aliases":["coconut"]},{"emoji":"🇨🇨","aliases":["cocos_islands"]},{"emoji":"☕","aliases":["coffee"]},{"emoji":"⚰️","aliases":["coffin"]},{"emoji":"🥶","aliases":["cold_face"]},{"emoji":"😰","aliases":["cold_sweat"]},{"emoji":"🇨🇴","aliases":["colombia"]},{"emoji":"☄️","aliases":["comet"]},{"emoji":"🇰🇲","aliases":["comoros"]},{"emoji":"🧭","aliases":["compass"]},{"emoji":"💻","aliases":["computer"]},{"emoji":"🖱️","aliases":["computer_mouse"]},{"emoji":"🎊","aliases":["confetti_ball"]},{"emoji":"😖","aliases":["confounded"]},{"emoji":"😕","aliases":["confused"]},{"emoji":"🇨🇬","aliases":["congo_brazzaville"]},{"emoji":"🇨🇩","aliases":["congo_kinshasa"]},{"emoji":"㊗️","aliases":["congratulations"]},{"emoji":"🚧","aliases":["construction"]},{"emoji":"👷","aliases":["construction_worker"]},{"emoji":"👷♂️","aliases":["construction_worker_man"]},{"emoji":"👷♀️","aliases":["construction_worker_woman"]},{"emoji":"🎛️","aliases":["control_knobs"]},{"emoji":"🏪","aliases":["convenience_store"]},{"emoji":"🧑🍳","aliases":["cook"]},{"emoji":"🇨🇰","aliases":["cook_islands"]},{"emoji":"🍪","aliases":["cookie"]},{"emoji":"🆒","aliases":["cool"]},{"emoji":"©️","aliases":["copyright"]},{"emoji":"🌽","aliases":["corn"]},{"emoji":"🇨🇷","aliases":["costa_rica"]},{"emoji":"🇨🇮","aliases":["cote_divoire"]},{"emoji":"🛋️","aliases":["couch_and_lamp"]},{"emoji":"👫","aliases":["couple"]},{"emoji":"💑","aliases":["couple_with_heart"]},{"emoji":"👨❤️👨","aliases":["couple_with_heart_man_man"]},{"emoji":"👩❤️👨","aliases":["couple_with_heart_woman_man"]},{"emoji":"👩❤️👩","aliases":["couple_with_heart_woman_woman"]},{"emoji":"💏","aliases":["couplekiss"]},{"emoji":"👨❤️💋👨","aliases":["couplekiss_man_man"]},{"emoji":"👩❤️💋👨","aliases":["couplekiss_man_woman"]},{"emoji":"👩❤️💋👩","aliases":["couplekiss_woman_woman"]},{"emoji":"🐮","aliases":["cow"]},{"emoji":"🐄","aliases":["cow2"]},{"emoji":"🤠","aliases":["cowboy_hat_face"]},{"emoji":"🦀","aliases":["crab"]},{"emoji":"🖍️","aliases":["crayon"]},{"emoji":"💳","aliases":["credit_card"]},{"emoji":"🌙","aliases":["crescent_moon"]},{"emoji":"🦗","aliases":["cricket"]},{"emoji":"🏏","aliases":["cricket_game"]},{"emoji":"🇭🇷","aliases":["croatia"]},{"emoji":"🐊","aliases":["crocodile"]},{"emoji":"🥐","aliases":["croissant"]},{"emoji":"🤞","aliases":["crossed_fingers"]},{"emoji":"🎌","aliases":["crossed_flags"]},{"emoji":"⚔️","aliases":["crossed_swords"]},{"emoji":"👑","aliases":["crown"]},{"emoji":"😢","aliases":["cry"]},{"emoji":"😿","aliases":["crying_cat_face"]},{"emoji":"🔮","aliases":["crystal_ball"]},{"emoji":"🇨🇺","aliases":["cuba"]},{"emoji":"🥒","aliases":["cucumber"]},{"emoji":"🥤","aliases":["cup_with_straw"]},{"emoji":"🧁","aliases":["cupcake"]},{"emoji":"💘","aliases":["cupid"]},{"emoji":"🇨🇼","aliases":["curacao"]},{"emoji":"🥌","aliases":["curling_stone"]},{"emoji":"👨🦱","aliases":["curly_haired_man"]},{"emoji":"👩🦱","aliases":["curly_haired_woman"]},{"emoji":"➰","aliases":["curly_loop"]},{"emoji":"💱","aliases":["currency_exchange"]},{"emoji":"🍛","aliases":["curry"]},{"emoji":"🤬","aliases":["cursing_face"]},{"emoji":"🍮","aliases":["custard"]},{"emoji":"🛃","aliases":["customs"]},{"emoji":"🥩","aliases":["cut_of_meat"]},{"emoji":"🌀","aliases":["cyclone"]},{"emoji":"🇨🇾","aliases":["cyprus"]},{"emoji":"🇨🇿","aliases":["czech_republic"]},{"emoji":"🗡️","aliases":["dagger"]},{"emoji":"👯","aliases":["dancers"]},{"emoji":"👯♂️","aliases":["dancing_men"]},{"emoji":"👯♀️","aliases":["dancing_women"]},{"emoji":"🍡","aliases":["dango"]},{"emoji":"🕶️","aliases":["dark_sunglasses"]},{"emoji":"🎯","aliases":["dart"]},{"emoji":"💨","aliases":["dash"]},{"emoji":"📅","aliases":["date"]},{"emoji":"🇩🇪","aliases":["de"]},{"emoji":"🧏♂️","aliases":["deaf_man"]},{"emoji":"🧏","aliases":["deaf_person"]},{"emoji":"🧏♀️","aliases":["deaf_woman"]},{"emoji":"🌳","aliases":["deciduous_tree"]},{"emoji":"🦌","aliases":["deer"]},{"emoji":"🇩🇰","aliases":["denmark"]},{"emoji":"🏬","aliases":["department_store"]},{"emoji":"🏚️","aliases":["derelict_house"]},{"emoji":"🏜️","aliases":["desert"]},{"emoji":"🏝️","aliases":["desert_island"]},{"emoji":"🖥️","aliases":["desktop_computer"]},{"emoji":"🕵️","aliases":["detective"]},{"emoji":"💠","aliases":["diamond_shape_with_a_dot_inside"]},{"emoji":"♦️","aliases":["diamonds"]},{"emoji":"🇩🇬","aliases":["diego_garcia"]},{"emoji":"😞","aliases":["disappointed"]},{"emoji":"😥","aliases":["disappointed_relieved"]},{"emoji":"🤿","aliases":["diving_mask"]},{"emoji":"🪔","aliases":["diya_lamp"]},{"emoji":"💫","aliases":["dizzy"]},{"emoji":"😵","aliases":["dizzy_face"]},{"emoji":"🇩🇯","aliases":["djibouti"]},{"emoji":"🧬","aliases":["dna"]},{"emoji":"🚯","aliases":["do_not_litter"]},{"emoji":"🐶","aliases":["dog"]},{"emoji":"🐕","aliases":["dog2"]},{"emoji":"💵","aliases":["dollar"]},{"emoji":"🎎","aliases":["dolls"]},{"emoji":"🐬","aliases":["dolphin","flipper"]},{"emoji":"🇩🇲","aliases":["dominica"]},{"emoji":"🇩🇴","aliases":["dominican_republic"]},{"emoji":"🚪","aliases":["door"]},{"emoji":"🍩","aliases":["doughnut"]},{"emoji":"🕊️","aliases":["dove"]},{"emoji":"🐉","aliases":["dragon"]},{"emoji":"🐲","aliases":["dragon_face"]},{"emoji":"👗","aliases":["dress"]},{"emoji":"🐪","aliases":["dromedary_camel"]},{"emoji":"🤤","aliases":["drooling_face"]},{"emoji":"🩸","aliases":["drop_of_blood"]},{"emoji":"💧","aliases":["droplet"]},{"emoji":"🥁","aliases":["drum"]},{"emoji":"🦆","aliases":["duck"]},{"emoji":"🥟","aliases":["dumpling"]},{"emoji":"📀","aliases":["dvd"]},{"emoji":"📧","aliases":["e-mail"]},{"emoji":"🦅","aliases":["eagle"]},{"emoji":"👂","aliases":["ear"]},{"emoji":"🌾","aliases":["ear_of_rice"]},{"emoji":"🦻","aliases":["ear_with_hearing_aid"]},{"emoji":"🌍","aliases":["earth_africa"]},{"emoji":"🌎","aliases":["earth_americas"]},{"emoji":"🌏","aliases":["earth_asia"]},{"emoji":"🇪🇨","aliases":["ecuador"]},{"emoji":"🥚","aliases":["egg"]},{"emoji":"🍆","aliases":["eggplant"]},{"emoji":"🇪🇬","aliases":["egypt"]},{"emoji":"8️⃣","aliases":["eight"]},{"emoji":"✴️","aliases":["eight_pointed_black_star"]},{"emoji":"✳️","aliases":["eight_spoked_asterisk"]},{"emoji":"⏏️","aliases":["eject_button"]},{"emoji":"🇸🇻","aliases":["el_salvador"]},{"emoji":"🔌","aliases":["electric_plug"]},{"emoji":"🐘","aliases":["elephant"]},{"emoji":"🧝","aliases":["elf"]},{"emoji":"🧝♂️","aliases":["elf_man"]},{"emoji":"🧝♀️","aliases":["elf_woman"]},{"emoji":"✉️","aliases":["email","envelope"]},{"emoji":"🔚","aliases":["end"]},{"emoji":"🏴","aliases":["england"]},{"emoji":"📩","aliases":["envelope_with_arrow"]},{"emoji":"🇬🇶","aliases":["equatorial_guinea"]},{"emoji":"🇪🇷","aliases":["eritrea"]},{"emoji":"🇪🇸","aliases":["es"]},{"emoji":"🇪🇪","aliases":["estonia"]},{"emoji":"🇪🇹","aliases":["ethiopia"]},{"emoji":"🇪🇺","aliases":["eu","european_union"]},{"emoji":"💶","aliases":["euro"]},{"emoji":"🏰","aliases":["european_castle"]},{"emoji":"🏤","aliases":["european_post_office"]},{"emoji":"🌲","aliases":["evergreen_tree"]},{"emoji":"❗","aliases":["exclamation","heavy_exclamation_mark"]},{"emoji":"🤯","aliases":["exploding_head"]},{"emoji":"😑","aliases":["expressionless"]},{"emoji":"👁️","aliases":["eye"]},{"emoji":"👁️🗨️","aliases":["eye_speech_bubble"]},{"emoji":"👓","aliases":["eyeglasses"]},{"emoji":"👀","aliases":["eyes"]},{"emoji":"🤕","aliases":["face_with_head_bandage"]},{"emoji":"🤒","aliases":["face_with_thermometer"]},{"emoji":"🤦","aliases":["facepalm"]},{"emoji":"🏭","aliases":["factory"]},{"emoji":"🧑🏭","aliases":["factory_worker"]},{"emoji":"🧚","aliases":["fairy"]},{"emoji":"🧚♂️","aliases":["fairy_man"]},{"emoji":"🧚♀️","aliases":["fairy_woman"]},{"emoji":"🧆","aliases":["falafel"]},{"emoji":"🇫🇰","aliases":["falkland_islands"]},{"emoji":"🍂","aliases":["fallen_leaf"]},{"emoji":"👪","aliases":["family"]},{"emoji":"👨👦","aliases":["family_man_boy"]},{"emoji":"👨👦👦","aliases":["family_man_boy_boy"]},{"emoji":"👨👧","aliases":["family_man_girl"]},{"emoji":"👨👧👦","aliases":["family_man_girl_boy"]},{"emoji":"👨👧👧","aliases":["family_man_girl_girl"]},{"emoji":"👨👨👦","aliases":["family_man_man_boy"]},{"emoji":"👨👨👦👦","aliases":["family_man_man_boy_boy"]},{"emoji":"👨👨👧","aliases":["family_man_man_girl"]},{"emoji":"👨👨👧👦","aliases":["family_man_man_girl_boy"]},{"emoji":"👨👨👧👧","aliases":["family_man_man_girl_girl"]},{"emoji":"👨👩👦","aliases":["family_man_woman_boy"]},{"emoji":"👨👩👦👦","aliases":["family_man_woman_boy_boy"]},{"emoji":"👨👩👧","aliases":["family_man_woman_girl"]},{"emoji":"👨👩👧👦","aliases":["family_man_woman_girl_boy"]},{"emoji":"👨👩👧👧","aliases":["family_man_woman_girl_girl"]},{"emoji":"👩👦","aliases":["family_woman_boy"]},{"emoji":"👩👦👦","aliases":["family_woman_boy_boy"]},{"emoji":"👩👧","aliases":["family_woman_girl"]},{"emoji":"👩👧👦","aliases":["family_woman_girl_boy"]},{"emoji":"👩👧👧","aliases":["family_woman_girl_girl"]},{"emoji":"👩👩👦","aliases":["family_woman_woman_boy"]},{"emoji":"👩👩👦👦","aliases":["family_woman_woman_boy_boy"]},{"emoji":"👩👩👧","aliases":["family_woman_woman_girl"]},{"emoji":"👩👩👧👦","aliases":["family_woman_woman_girl_boy"]},{"emoji":"👩👩👧👧","aliases":["family_woman_woman_girl_girl"]},{"emoji":"🧑🌾","aliases":["farmer"]},{"emoji":"🇫🇴","aliases":["faroe_islands"]},{"emoji":"⏩","aliases":["fast_forward"]},{"emoji":"📠","aliases":["fax"]},{"emoji":"😨","aliases":["fearful"]},{"emoji":"🐾","aliases":["feet","paw_prints"]},{"emoji":"🕵️♀️","aliases":["female_detective"]},{"emoji":"♀️","aliases":["female_sign"]},{"emoji":"🎡","aliases":["ferris_wheel"]},{"emoji":"⛴️","aliases":["ferry"]},{"emoji":"🏑","aliases":["field_hockey"]},{"emoji":"🇫🇯","aliases":["fiji"]},{"emoji":"🗄️","aliases":["file_cabinet"]},{"emoji":"📁","aliases":["file_folder"]},{"emoji":"📽️","aliases":["film_projector"]},{"emoji":"🎞️","aliases":["film_strip"]},{"emoji":"🇫🇮","aliases":["finland"]},{"emoji":"🔥","aliases":["fire"]},{"emoji":"🚒","aliases":["fire_engine"]},{"emoji":"🧯","aliases":["fire_extinguisher"]},{"emoji":"🧨","aliases":["firecracker"]},{"emoji":"🧑🚒","aliases":["firefighter"]},{"emoji":"🎆","aliases":["fireworks"]},{"emoji":"🌓","aliases":["first_quarter_moon"]},{"emoji":"🌛","aliases":["first_quarter_moon_with_face"]},{"emoji":"🐟","aliases":["fish"]},{"emoji":"🍥","aliases":["fish_cake"]},{"emoji":"🎣","aliases":["fishing_pole_and_fish"]},{"emoji":"🤛","aliases":["fist_left"]},{"emoji":"👊","aliases":["fist_oncoming","facepunch","punch"]},{"emoji":"✊","aliases":["fist_raised","fist"]},{"emoji":"🤜","aliases":["fist_right"]},{"emoji":"5️⃣","aliases":["five"]},{"emoji":"🎏","aliases":["flags"]},{"emoji":"🦩","aliases":["flamingo"]},{"emoji":"🔦","aliases":["flashlight"]},{"emoji":"🥿","aliases":["flat_shoe"]},{"emoji":"⚜️","aliases":["fleur_de_lis"]},{"emoji":"🛬","aliases":["flight_arrival"]},{"emoji":"🛫","aliases":["flight_departure"]},{"emoji":"💾","aliases":["floppy_disk"]},{"emoji":"🎴","aliases":["flower_playing_cards"]},{"emoji":"😳","aliases":["flushed"]},{"emoji":"🥏","aliases":["flying_disc"]},{"emoji":"🛸","aliases":["flying_saucer"]},{"emoji":"🌫️","aliases":["fog"]},{"emoji":"🌁","aliases":["foggy"]},{"emoji":"🦶","aliases":["foot"]},{"emoji":"🏈","aliases":["football"]},{"emoji":"👣","aliases":["footprints"]},{"emoji":"🍴","aliases":["fork_and_knife"]},{"emoji":"🥠","aliases":["fortune_cookie"]},{"emoji":"⛲","aliases":["fountain"]},{"emoji":"🖋️","aliases":["fountain_pen"]},{"emoji":"4️⃣","aliases":["four"]},{"emoji":"🍀","aliases":["four_leaf_clover"]},{"emoji":"🦊","aliases":["fox_face"]},{"emoji":"🇫🇷","aliases":["fr"]},{"emoji":"🖼️","aliases":["framed_picture"]},{"emoji":"🆓","aliases":["free"]},{"emoji":"🇬🇫","aliases":["french_guiana"]},{"emoji":"🇵🇫","aliases":["french_polynesia"]},{"emoji":"🇹🇫","aliases":["french_southern_territories"]},{"emoji":"🍳","aliases":["fried_egg"]},{"emoji":"🍤","aliases":["fried_shrimp"]},{"emoji":"🍟","aliases":["fries"]},{"emoji":"🐸","aliases":["frog"]},{"emoji":"😦","aliases":["frowning"]},{"emoji":"☹️","aliases":["frowning_face"]},{"emoji":"🙍♂️","aliases":["frowning_man"]},{"emoji":"🙍","aliases":["frowning_person"]},{"emoji":"🙍♀️","aliases":["frowning_woman"]},{"emoji":"⛽","aliases":["fuelpump"]},{"emoji":"🌕","aliases":["full_moon"]},{"emoji":"🌝","aliases":["full_moon_with_face"]},{"emoji":"⚱️","aliases":["funeral_urn"]},{"emoji":"🇬🇦","aliases":["gabon"]},{"emoji":"🇬🇲","aliases":["gambia"]},{"emoji":"🎲","aliases":["game_die"]},{"emoji":"🧄","aliases":["garlic"]},{"emoji":"🇬🇧","aliases":["gb","uk"]},{"emoji":"⚙️","aliases":["gear"]},{"emoji":"💎","aliases":["gem"]},{"emoji":"♊","aliases":["gemini"]},{"emoji":"🧞","aliases":["genie"]},{"emoji":"🧞♂️","aliases":["genie_man"]},{"emoji":"🧞♀️","aliases":["genie_woman"]},{"emoji":"🇬🇪","aliases":["georgia"]},{"emoji":"🇬🇭","aliases":["ghana"]},{"emoji":"👻","aliases":["ghost"]},{"emoji":"🇬🇮","aliases":["gibraltar"]},{"emoji":"🎁","aliases":["gift"]},{"emoji":"💝","aliases":["gift_heart"]},{"emoji":"🦒","aliases":["giraffe"]},{"emoji":"👧","aliases":["girl"]},{"emoji":"🌐","aliases":["globe_with_meridians"]},{"emoji":"🧤","aliases":["gloves"]},{"emoji":"🥅","aliases":["goal_net"]},{"emoji":"🐐","aliases":["goat"]},{"emoji":"🥽","aliases":["goggles"]},{"emoji":"⛳","aliases":["golf"]},{"emoji":"🏌️","aliases":["golfing"]},{"emoji":"🏌️♂️","aliases":["golfing_man"]},{"emoji":"🏌️♀️","aliases":["golfing_woman"]},{"emoji":"🦍","aliases":["gorilla"]},{"emoji":"🍇","aliases":["grapes"]},{"emoji":"🇬🇷","aliases":["greece"]},{"emoji":"🍏","aliases":["green_apple"]},{"emoji":"📗","aliases":["green_book"]},{"emoji":"🟢","aliases":["green_circle"]},{"emoji":"💚","aliases":["green_heart"]},{"emoji":"🥗","aliases":["green_salad"]},{"emoji":"🟩","aliases":["green_square"]},{"emoji":"🇬🇱","aliases":["greenland"]},{"emoji":"🇬🇩","aliases":["grenada"]},{"emoji":"❕","aliases":["grey_exclamation"]},{"emoji":"❔","aliases":["grey_question"]},{"emoji":"😬","aliases":["grimacing"]},{"emoji":"😁","aliases":["grin"]},{"emoji":"😀","aliases":["grinning"]},{"emoji":"🇬🇵","aliases":["guadeloupe"]},{"emoji":"🇬🇺","aliases":["guam"]},{"emoji":"💂","aliases":["guard"]},{"emoji":"💂♂️","aliases":["guardsman"]},{"emoji":"💂♀️","aliases":["guardswoman"]},{"emoji":"🇬🇹","aliases":["guatemala"]},{"emoji":"🇬🇬","aliases":["guernsey"]},{"emoji":"🦮","aliases":["guide_dog"]},{"emoji":"🇬🇳","aliases":["guinea"]},{"emoji":"🇬🇼","aliases":["guinea_bissau"]},{"emoji":"🎸","aliases":["guitar"]},{"emoji":"🔫","aliases":["gun"]},{"emoji":"🇬🇾","aliases":["guyana"]},{"emoji":"💇","aliases":["haircut"]},{"emoji":"💇♂️","aliases":["haircut_man"]},{"emoji":"💇♀️","aliases":["haircut_woman"]},{"emoji":"🇭🇹","aliases":["haiti"]},{"emoji":"🍔","aliases":["hamburger"]},{"emoji":"🔨","aliases":["hammer"]},{"emoji":"⚒️","aliases":["hammer_and_pick"]},{"emoji":"🛠️","aliases":["hammer_and_wrench"]},{"emoji":"🐹","aliases":["hamster"]},{"emoji":"✋","aliases":["hand","raised_hand"]},{"emoji":"🤭","aliases":["hand_over_mouth"]},{"emoji":"👜","aliases":["handbag"]},{"emoji":"🤾","aliases":["handball_person"]},{"emoji":"🤝","aliases":["handshake"]},{"emoji":"💩","aliases":["hankey","poop","shit"]},{"emoji":"#️⃣","aliases":["hash"]},{"emoji":"🐥","aliases":["hatched_chick"]},{"emoji":"🐣","aliases":["hatching_chick"]},{"emoji":"🎧","aliases":["headphones"]},{"emoji":"🧑⚕️","aliases":["health_worker"]},{"emoji":"🙉","aliases":["hear_no_evil"]},{"emoji":"🇭🇲","aliases":["heard_mcdonald_islands"]},{"emoji":"❤️","aliases":["heart"]},{"emoji":"💟","aliases":["heart_decoration"]},{"emoji":"😍","aliases":["heart_eyes"]},{"emoji":"😻","aliases":["heart_eyes_cat"]},{"emoji":"💓","aliases":["heartbeat"]},{"emoji":"💗","aliases":["heartpulse"]},{"emoji":"♥️","aliases":["hearts"]},{"emoji":"✔️","aliases":["heavy_check_mark"]},{"emoji":"➗","aliases":["heavy_division_sign"]},{"emoji":"💲","aliases":["heavy_dollar_sign"]},{"emoji":"❣️","aliases":["heavy_heart_exclamation"]},{"emoji":"➖","aliases":["heavy_minus_sign"]},{"emoji":"✖️","aliases":["heavy_multiplication_x"]},{"emoji":"➕","aliases":["heavy_plus_sign"]},{"emoji":"🦔","aliases":["hedgehog"]},{"emoji":"🚁","aliases":["helicopter"]},{"emoji":"🌿","aliases":["herb"]},{"emoji":"🌺","aliases":["hibiscus"]},{"emoji":"🔆","aliases":["high_brightness"]},{"emoji":"👠","aliases":["high_heel"]},{"emoji":"🥾","aliases":["hiking_boot"]},{"emoji":"🛕","aliases":["hindu_temple"]},{"emoji":"🦛","aliases":["hippopotamus"]},{"emoji":"🔪","aliases":["hocho","knife"]},{"emoji":"🕳️","aliases":["hole"]},{"emoji":"🇭🇳","aliases":["honduras"]},{"emoji":"🍯","aliases":["honey_pot"]},{"emoji":"🇭🇰","aliases":["hong_kong"]},{"emoji":"🐴","aliases":["horse"]},{"emoji":"🏇","aliases":["horse_racing"]},{"emoji":"🏥","aliases":["hospital"]},{"emoji":"🥵","aliases":["hot_face"]},{"emoji":"🌶️","aliases":["hot_pepper"]},{"emoji":"🌭","aliases":["hotdog"]},{"emoji":"🏨","aliases":["hotel"]},{"emoji":"♨️","aliases":["hotsprings"]},{"emoji":"⌛","aliases":["hourglass"]},{"emoji":"⏳","aliases":["hourglass_flowing_sand"]},{"emoji":"🏠","aliases":["house"]},{"emoji":"🏡","aliases":["house_with_garden"]},{"emoji":"🏘️","aliases":["houses"]},{"emoji":"🤗","aliases":["hugs"]},{"emoji":"🇭🇺","aliases":["hungary"]},{"emoji":"😯","aliases":["hushed"]},{"emoji":"🍨","aliases":["ice_cream"]},{"emoji":"🧊","aliases":["ice_cube"]},{"emoji":"🏒","aliases":["ice_hockey"]},{"emoji":"⛸️","aliases":["ice_skate"]},{"emoji":"🍦","aliases":["icecream"]},{"emoji":"🇮🇸","aliases":["iceland"]},{"emoji":"🆔","aliases":["id"]},{"emoji":"🉐","aliases":["ideograph_advantage"]},{"emoji":"👿","aliases":["imp"]},{"emoji":"📥","aliases":["inbox_tray"]},{"emoji":"📨","aliases":["incoming_envelope"]},{"emoji":"🇮🇳","aliases":["india"]},{"emoji":"🇮🇩","aliases":["indonesia"]},{"emoji":"♾️","aliases":["infinity"]},{"emoji":"ℹ️","aliases":["information_source"]},{"emoji":"😇","aliases":["innocent"]},{"emoji":"⁉️","aliases":["interrobang"]},{"emoji":"📱","aliases":["iphone"]},{"emoji":"🇮🇷","aliases":["iran"]},{"emoji":"🇮🇶","aliases":["iraq"]},{"emoji":"🇮🇪","aliases":["ireland"]},{"emoji":"🇮🇲","aliases":["isle_of_man"]},{"emoji":"🇮🇱","aliases":["israel"]},{"emoji":"🇮🇹","aliases":["it"]},{"emoji":"🏮","aliases":["izakaya_lantern","lantern"]},{"emoji":"🎃","aliases":["jack_o_lantern"]},{"emoji":"🇯🇲","aliases":["jamaica"]},{"emoji":"🗾","aliases":["japan"]},{"emoji":"🏯","aliases":["japanese_castle"]},{"emoji":"👺","aliases":["japanese_goblin"]},{"emoji":"👹","aliases":["japanese_ogre"]},{"emoji":"👖","aliases":["jeans"]},{"emoji":"🇯🇪","aliases":["jersey"]},{"emoji":"🧩","aliases":["jigsaw"]},{"emoji":"🇯🇴","aliases":["jordan"]},{"emoji":"😂","aliases":["joy"]},{"emoji":"😹","aliases":["joy_cat"]},{"emoji":"🕹️","aliases":["joystick"]},{"emoji":"🇯🇵","aliases":["jp"]},{"emoji":"🧑⚖️","aliases":["judge"]},{"emoji":"🤹","aliases":["juggling_person"]},{"emoji":"🕋","aliases":["kaaba"]},{"emoji":"🦘","aliases":["kangaroo"]},{"emoji":"🇰🇿","aliases":["kazakhstan"]},{"emoji":"🇰🇪","aliases":["kenya"]},{"emoji":"🔑","aliases":["key"]},{"emoji":"⌨️","aliases":["keyboard"]},{"emoji":"🔟","aliases":["keycap_ten"]},{"emoji":"🛴","aliases":["kick_scooter"]},{"emoji":"👘","aliases":["kimono"]},{"emoji":"🇰🇮","aliases":["kiribati"]},{"emoji":"💋","aliases":["kiss"]},{"emoji":"😗","aliases":["kissing"]},{"emoji":"😽","aliases":["kissing_cat"]},{"emoji":"😚","aliases":["kissing_closed_eyes"]},{"emoji":"😘","aliases":["kissing_heart"]},{"emoji":"😙","aliases":["kissing_smiling_eyes"]},{"emoji":"🪁","aliases":["kite"]},{"emoji":"🥝","aliases":["kiwi_fruit"]},{"emoji":"🧎♂️","aliases":["kneeling_man"]},{"emoji":"🧎","aliases":["kneeling_person"]},{"emoji":"🧎♀️","aliases":["kneeling_woman"]},{"emoji":"🐨","aliases":["koala"]},{"emoji":"🈁","aliases":["koko"]},{"emoji":"🇽🇰","aliases":["kosovo"]},{"emoji":"🇰🇷","aliases":["kr"]},{"emoji":"🇰🇼","aliases":["kuwait"]},{"emoji":"🇰🇬","aliases":["kyrgyzstan"]},{"emoji":"🥼","aliases":["lab_coat"]},{"emoji":"🏷️","aliases":["label"]},{"emoji":"🥍","aliases":["lacrosse"]},{"emoji":"🐞","aliases":["lady_beetle"]},{"emoji":"🇱🇦","aliases":["laos"]},{"emoji":"🔵","aliases":["large_blue_circle"]},{"emoji":"🔷","aliases":["large_blue_diamond"]},{"emoji":"🔶","aliases":["large_orange_diamond"]},{"emoji":"🌗","aliases":["last_quarter_moon"]},{"emoji":"🌜","aliases":["last_quarter_moon_with_face"]},{"emoji":"✝️","aliases":["latin_cross"]},{"emoji":"🇱🇻","aliases":["latvia"]},{"emoji":"😆","aliases":["laughing","satisfied","laugh"]},{"emoji":"🥬","aliases":["leafy_green"]},{"emoji":"🍃","aliases":["leaves"]},{"emoji":"🇱🇧","aliases":["lebanon"]},{"emoji":"📒","aliases":["ledger"]},{"emoji":"🛅","aliases":["left_luggage"]},{"emoji":"↔️","aliases":["left_right_arrow"]},{"emoji":"🗨️","aliases":["left_speech_bubble"]},{"emoji":"↩️","aliases":["leftwards_arrow_with_hook"]},{"emoji":"🦵","aliases":["leg"]},{"emoji":"🍋","aliases":["lemon"]},{"emoji":"♌","aliases":["leo"]},{"emoji":"🐆","aliases":["leopard"]},{"emoji":"🇱🇸","aliases":["lesotho"]},{"emoji":"🎚️","aliases":["level_slider"]},{"emoji":"🇱🇷","aliases":["liberia"]},{"emoji":"♎","aliases":["libra"]},{"emoji":"🇱🇾","aliases":["libya"]},{"emoji":"🇱🇮","aliases":["liechtenstein"]},{"emoji":"🚈","aliases":["light_rail"]},{"emoji":"🔗","aliases":["link"]},{"emoji":"🦁","aliases":["lion"]},{"emoji":"👄","aliases":["lips"]},{"emoji":"💄","aliases":["lipstick"]},{"emoji":"🇱🇹","aliases":["lithuania"]},{"emoji":"🦎","aliases":["lizard"]},{"emoji":"🦙","aliases":["llama"]},{"emoji":"🦞","aliases":["lobster"]},{"emoji":"🔒","aliases":["lock"]},{"emoji":"🔏","aliases":["lock_with_ink_pen"]},{"emoji":"🍭","aliases":["lollipop"]},{"emoji":"➿","aliases":["loop"]},{"emoji":"🧴","aliases":["lotion_bottle"]},{"emoji":"🧘","aliases":["lotus_position"]},{"emoji":"🧘♂️","aliases":["lotus_position_man"]},{"emoji":"🧘♀️","aliases":["lotus_position_woman"]},{"emoji":"🔊","aliases":["loud_sound"]},{"emoji":"📢","aliases":["loudspeaker"]},{"emoji":"🏩","aliases":["love_hotel"]},{"emoji":"💌","aliases":["love_letter"]},{"emoji":"🤟","aliases":["love_you_gesture"]},{"emoji":"🔅","aliases":["low_brightness"]},{"emoji":"🧳","aliases":["luggage"]},{"emoji":"🇱🇺","aliases":["luxembourg"]},{"emoji":"🤥","aliases":["lying_face"]},{"emoji":"Ⓜ️","aliases":["m"]},{"emoji":"🇲🇴","aliases":["macau"]},{"emoji":"🇲🇰","aliases":["macedonia"]},{"emoji":"🇲🇬","aliases":["madagascar"]},{"emoji":"🔍","aliases":["mag"]},{"emoji":"🔎","aliases":["mag_right"]},{"emoji":"🧙","aliases":["mage"]},{"emoji":"🧙♂️","aliases":["mage_man"]},{"emoji":"🧙♀️","aliases":["mage_woman"]},{"emoji":"🧲","aliases":["magnet"]},{"emoji":"🀄","aliases":["mahjong"]},{"emoji":"📫","aliases":["mailbox"]},{"emoji":"📪","aliases":["mailbox_closed"]},{"emoji":"📬","aliases":["mailbox_with_mail"]},{"emoji":"📭","aliases":["mailbox_with_no_mail"]},{"emoji":"🇲🇼","aliases":["malawi"]},{"emoji":"🇲🇾","aliases":["malaysia"]},{"emoji":"🇲🇻","aliases":["maldives"]},{"emoji":"🕵️♂️","aliases":["male_detective"]},{"emoji":"♂️","aliases":["male_sign"]},{"emoji":"🇲🇱","aliases":["mali"]},{"emoji":"🇲🇹","aliases":["malta"]},{"emoji":"👨","aliases":["man"]},{"emoji":"👨🎨","aliases":["man_artist"]},{"emoji":"👨🚀","aliases":["man_astronaut"]},{"emoji":"🤸♂️","aliases":["man_cartwheeling"]},{"emoji":"👨🍳","aliases":["man_cook"]},{"emoji":"🕺","aliases":["man_dancing"]},{"emoji":"🤦♂️","aliases":["man_facepalming"]},{"emoji":"👨🏭","aliases":["man_factory_worker"]},{"emoji":"👨🌾","aliases":["man_farmer"]},{"emoji":"👨🚒","aliases":["man_firefighter"]},{"emoji":"👨⚕️","aliases":["man_health_worker"]},{"emoji":"👨🦽","aliases":["man_in_manual_wheelchair"]},{"emoji":"👨🦼","aliases":["man_in_motorized_wheelchair"]},{"emoji":"👨⚖️","aliases":["man_judge"]},{"emoji":"🤹♂️","aliases":["man_juggling"]},{"emoji":"👨🔧","aliases":["man_mechanic"]},{"emoji":"👨💼","aliases":["man_office_worker"]},{"emoji":"👨✈️","aliases":["man_pilot"]},{"emoji":"🤾♂️","aliases":["man_playing_handball"]},{"emoji":"🤽♂️","aliases":["man_playing_water_polo"]},{"emoji":"👨🔬","aliases":["man_scientist"]},{"emoji":"🤷♂️","aliases":["man_shrugging"]},{"emoji":"👨🎤","aliases":["man_singer"]},{"emoji":"👨🎓","aliases":["man_student"]},{"emoji":"👨🏫","aliases":["man_teacher"]},{"emoji":"👨💻","aliases":["man_technologist"]},{"emoji":"👲","aliases":["man_with_gua_pi_mao"]},{"emoji":"👨🦯","aliases":["man_with_probing_cane"]},{"emoji":"👳♂️","aliases":["man_with_turban"]},{"emoji":"🥭","aliases":["mango"]},{"emoji":"👞","aliases":["mans_shoe","shoe"]},{"emoji":"🕰️","aliases":["mantelpiece_clock"]},{"emoji":"🦽","aliases":["manual_wheelchair"]},{"emoji":"🍁","aliases":["maple_leaf"]},{"emoji":"🇲🇭","aliases":["marshall_islands"]},{"emoji":"🥋","aliases":["martial_arts_uniform"]},{"emoji":"🇲🇶","aliases":["martinique"]},{"emoji":"😷","aliases":["mask"]},{"emoji":"💆","aliases":["massage"]},{"emoji":"💆♂️","aliases":["massage_man"]},{"emoji":"💆♀️","aliases":["massage_woman"]},{"emoji":"🧉","aliases":["mate"]},{"emoji":"🇲🇷","aliases":["mauritania"]},{"emoji":"🇲🇺","aliases":["mauritius"]},{"emoji":"🇾🇹","aliases":["mayotte"]},{"emoji":"🍖","aliases":["meat_on_bone"]},{"emoji":"🧑🔧","aliases":["mechanic"]},{"emoji":"🦾","aliases":["mechanical_arm"]},{"emoji":"🦿","aliases":["mechanical_leg"]},{"emoji":"🎖️","aliases":["medal_military"]},{"emoji":"🏅","aliases":["medal_sports"]},{"emoji":"⚕️","aliases":["medical_symbol"]},{"emoji":"📣","aliases":["mega"]},{"emoji":"🍈","aliases":["melon"]},{"emoji":"📝","aliases":["memo","pencil"]},{"emoji":"🤼♂️","aliases":["men_wrestling"]},{"emoji":"🕎","aliases":["menorah"]},{"emoji":"🚹","aliases":["mens"]},{"emoji":"🧜♀️","aliases":["mermaid"]},{"emoji":"🧜♂️","aliases":["merman"]},{"emoji":"🧜","aliases":["merperson"]},{"emoji":"🤘","aliases":["metal"]},{"emoji":"🚇","aliases":["metro"]},{"emoji":"🇲🇽","aliases":["mexico"]},{"emoji":"🦠","aliases":["microbe"]},{"emoji":"🇫🇲","aliases":["micronesia"]},{"emoji":"🎤","aliases":["microphone"]},{"emoji":"🔬","aliases":["microscope"]},{"emoji":"🖕","aliases":["middle_finger","fu"]},{"emoji":"🥛","aliases":["milk_glass"]},{"emoji":"🌌","aliases":["milky_way"]},{"emoji":"🚐","aliases":["minibus"]},{"emoji":"💽","aliases":["minidisc"]},{"emoji":"📴","aliases":["mobile_phone_off"]},{"emoji":"🇲🇩","aliases":["moldova"]},{"emoji":"🇲🇨","aliases":["monaco"]},{"emoji":"🤑","aliases":["money_mouth_face"]},{"emoji":"💸","aliases":["money_with_wings"]},{"emoji":"💰","aliases":["moneybag"]},{"emoji":"🇲🇳","aliases":["mongolia"]},{"emoji":"🐒","aliases":["monkey"]},{"emoji":"🐵","aliases":["monkey_face"]},{"emoji":"🧐","aliases":["monocle_face"]},{"emoji":"🚝","aliases":["monorail"]},{"emoji":"🇲🇪","aliases":["montenegro"]},{"emoji":"🇲🇸","aliases":["montserrat"]},{"emoji":"🌔","aliases":["moon","waxing_gibbous_moon"]},{"emoji":"🥮","aliases":["moon_cake"]},{"emoji":"🇲🇦","aliases":["morocco"]},{"emoji":"🎓","aliases":["mortar_board"]},{"emoji":"🕌","aliases":["mosque"]},{"emoji":"🦟","aliases":["mosquito"]},{"emoji":"🛥️","aliases":["motor_boat"]},{"emoji":"🛵","aliases":["motor_scooter"]},{"emoji":"🏍️","aliases":["motorcycle"]},{"emoji":"🦼","aliases":["motorized_wheelchair"]},{"emoji":"🛣️","aliases":["motorway"]},{"emoji":"🗻","aliases":["mount_fuji"]},{"emoji":"⛰️","aliases":["mountain"]},{"emoji":"🚵","aliases":["mountain_bicyclist"]},{"emoji":"🚵♂️","aliases":["mountain_biking_man"]},{"emoji":"🚵♀️","aliases":["mountain_biking_woman"]},{"emoji":"🚠","aliases":["mountain_cableway"]},{"emoji":"🚞","aliases":["mountain_railway"]},{"emoji":"🏔️","aliases":["mountain_snow"]},{"emoji":"🐭","aliases":["mouse"]},{"emoji":"🐁","aliases":["mouse2"]},{"emoji":"🎥","aliases":["movie_camera"]},{"emoji":"🗿","aliases":["moyai"]},{"emoji":"🇲🇿","aliases":["mozambique"]},{"emoji":"🤶","aliases":["mrs_claus"]},{"emoji":"💪","aliases":["muscle"]},{"emoji":"🍄","aliases":["mushroom"]},{"emoji":"🎹","aliases":["musical_keyboard"]},{"emoji":"🎵","aliases":["musical_note"]},{"emoji":"🎼","aliases":["musical_score"]},{"emoji":"🔇","aliases":["mute"]},{"emoji":"🇲🇲","aliases":["myanmar"]},{"emoji":"💅","aliases":["nail_care"]},{"emoji":"📛","aliases":["name_badge"]},{"emoji":"🇳🇦","aliases":["namibia"]},{"emoji":"🏞️","aliases":["national_park"]},{"emoji":"🇳🇷","aliases":["nauru"]},{"emoji":"🤢","aliases":["nauseated_face"]},{"emoji":"🧿","aliases":["nazar_amulet"]},{"emoji":"👔","aliases":["necktie"]},{"emoji":"❎","aliases":["negative_squared_cross_mark"]},{"emoji":"🇳🇵","aliases":["nepal"]},{"emoji":"🤓","aliases":["nerd_face"]},{"emoji":"🇳🇱","aliases":["netherlands"]},{"emoji":"😐","aliases":["neutral_face"]},{"emoji":"🆕","aliases":["new"]},{"emoji":"🇳🇨","aliases":["new_caledonia"]},{"emoji":"🌑","aliases":["new_moon"]},{"emoji":"🌚","aliases":["new_moon_with_face"]},{"emoji":"🇳🇿","aliases":["new_zealand"]},{"emoji":"📰","aliases":["newspaper"]},{"emoji":"🗞️","aliases":["newspaper_roll"]},{"emoji":"⏭️","aliases":["next_track_button"]},{"emoji":"🆖","aliases":["ng"]},{"emoji":"🇳🇮","aliases":["nicaragua"]},{"emoji":"🇳🇪","aliases":["niger"]},{"emoji":"🇳🇬","aliases":["nigeria"]},{"emoji":"🌃","aliases":["night_with_stars"]},{"emoji":"9️⃣","aliases":["nine"]},{"emoji":"🇳🇺","aliases":["niue"]},{"emoji":"🔕","aliases":["no_bell"]},{"emoji":"🚳","aliases":["no_bicycles"]},{"emoji":"⛔","aliases":["no_entry"]},{"emoji":"🚫","aliases":["no_entry_sign"]},{"emoji":"🙅","aliases":["no_good"]},{"emoji":"🙅♂️","aliases":["no_good_man","ng_man"]},{"emoji":"🙅♀️","aliases":["no_good_woman","ng_woman"]},{"emoji":"📵","aliases":["no_mobile_phones"]},{"emoji":"😶","aliases":["no_mouth"]},{"emoji":"🚷","aliases":["no_pedestrians"]},{"emoji":"🚭","aliases":["no_smoking"]},{"emoji":"🚱","aliases":["non-potable_water"]},{"emoji":"🇳🇫","aliases":["norfolk_island"]},{"emoji":"🇰🇵","aliases":["north_korea"]},{"emoji":"🇲🇵","aliases":["northern_mariana_islands"]},{"emoji":"🇳🇴","aliases":["norway"]},{"emoji":"👃","aliases":["nose"]},{"emoji":"📓","aliases":["notebook"]},{"emoji":"📔","aliases":["notebook_with_decorative_cover"]},{"emoji":"🎶","aliases":["notes"]},{"emoji":"🔩","aliases":["nut_and_bolt"]},{"emoji":"⭕","aliases":["o"]},{"emoji":"🅾️","aliases":["o2"]},{"emoji":"🌊","aliases":["ocean"]},{"emoji":"🐙","aliases":["octopus"]},{"emoji":"🍢","aliases":["oden"]},{"emoji":"🏢","aliases":["office"]},{"emoji":"🧑💼","aliases":["office_worker"]},{"emoji":"🛢️","aliases":["oil_drum"]},{"emoji":"🆗","aliases":["ok"]},{"emoji":"👌","aliases":["ok_hand"]},{"emoji":"🙆♂️","aliases":["ok_man"]},{"emoji":"🙆","aliases":["ok_person"]},{"emoji":"🙆♀️","aliases":["ok_woman"]},{"emoji":"🗝️","aliases":["old_key"]},{"emoji":"🧓","aliases":["older_adult"]},{"emoji":"👴","aliases":["older_man"]},{"emoji":"👵","aliases":["older_woman"]},{"emoji":"🕉️","aliases":["om"]},{"emoji":"🇴🇲","aliases":["oman"]},{"emoji":"🔛","aliases":["on"]},{"emoji":"🚘","aliases":["oncoming_automobile"]},{"emoji":"🚍","aliases":["oncoming_bus"]},{"emoji":"🚔","aliases":["oncoming_police_car"]},{"emoji":"🚖","aliases":["oncoming_taxi"]},{"emoji":"1️⃣","aliases":["one"]},{"emoji":"🩱","aliases":["one_piece_swimsuit"]},{"emoji":"🧅","aliases":["onion"]},{"emoji":"📂","aliases":["open_file_folder"]},{"emoji":"👐","aliases":["open_hands"]},{"emoji":"😮","aliases":["open_mouth"]},{"emoji":"☂️","aliases":["open_umbrella"]},{"emoji":"⛎","aliases":["ophiuchus"]},{"emoji":"📙","aliases":["orange_book"]},{"emoji":"🟠","aliases":["orange_circle"]},{"emoji":"🧡","aliases":["orange_heart"]},{"emoji":"🟧","aliases":["orange_square"]},{"emoji":"🦧","aliases":["orangutan"]},{"emoji":"☦️","aliases":["orthodox_cross"]},{"emoji":"🦦","aliases":["otter"]},{"emoji":"📤","aliases":["outbox_tray"]},{"emoji":"🦉","aliases":["owl"]},{"emoji":"🐂","aliases":["ox"]},{"emoji":"🦪","aliases":["oyster"]},{"emoji":"📦","aliases":["package"]},{"emoji":"📄","aliases":["page_facing_up"]},{"emoji":"📃","aliases":["page_with_curl"]},{"emoji":"📟","aliases":["pager"]},{"emoji":"🖌️","aliases":["paintbrush"]},{"emoji":"🇵🇰","aliases":["pakistan"]},{"emoji":"🇵🇼","aliases":["palau"]},{"emoji":"🇵🇸","aliases":["palestinian_territories"]},{"emoji":"🌴","aliases":["palm_tree"]},{"emoji":"🤲","aliases":["palms_up_together"]},{"emoji":"🇵🇦","aliases":["panama"]},{"emoji":"🥞","aliases":["pancakes"]},{"emoji":"🐼","aliases":["panda_face"]},{"emoji":"📎","aliases":["paperclip"]},{"emoji":"🖇️","aliases":["paperclips"]},{"emoji":"🇵🇬","aliases":["papua_new_guinea"]},{"emoji":"🪂","aliases":["parachute"]},{"emoji":"🇵🇾","aliases":["paraguay"]},{"emoji":"⛱️","aliases":["parasol_on_ground"]},{"emoji":"🅿️","aliases":["parking"]},{"emoji":"🦜","aliases":["parrot"]},{"emoji":"〽️","aliases":["part_alternation_mark"]},{"emoji":"⛅","aliases":["partly_sunny"]},{"emoji":"🥳","aliases":["partying_face"]},{"emoji":"🛳️","aliases":["passenger_ship"]},{"emoji":"🛂","aliases":["passport_control"]},{"emoji":"⏸️","aliases":["pause_button"]},{"emoji":"☮️","aliases":["peace_symbol"]},{"emoji":"🍑","aliases":["peach"]},{"emoji":"🦚","aliases":["peacock"]},{"emoji":"🥜","aliases":["peanuts"]},{"emoji":"🍐","aliases":["pear"]},{"emoji":"🖊️","aliases":["pen"]},{"emoji":"✏️","aliases":["pencil2"]},{"emoji":"🐧","aliases":["penguin"]},{"emoji":"😔","aliases":["pensive"]},{"emoji":"🧑🤝🧑","aliases":["people_holding_hands"]},{"emoji":"🎭","aliases":["performing_arts"]},{"emoji":"😣","aliases":["persevere"]},{"emoji":"🧑🦲","aliases":["person_bald"]},{"emoji":"🧑🦱","aliases":["person_curly_hair"]},{"emoji":"🤺","aliases":["person_fencing"]},{"emoji":"🧑🦽","aliases":["person_in_manual_wheelchair"]},{"emoji":"🧑🦼","aliases":["person_in_motorized_wheelchair"]},{"emoji":"🤵","aliases":["person_in_tuxedo"]},{"emoji":"🧑🦰","aliases":["person_red_hair"]},{"emoji":"🧑🦳","aliases":["person_white_hair"]},{"emoji":"🧑🦯","aliases":["person_with_probing_cane"]},{"emoji":"👳","aliases":["person_with_turban"]},{"emoji":"👰","aliases":["person_with_veil"]},{"emoji":"🇵🇪","aliases":["peru"]},{"emoji":"🧫","aliases":["petri_dish"]},{"emoji":"🇵🇭","aliases":["philippines"]},{"emoji":"☎️","aliases":["phone","telephone"]},{"emoji":"⛏️","aliases":["pick"]},{"emoji":"🥧","aliases":["pie"]},{"emoji":"🐷","aliases":["pig"]},{"emoji":"🐖","aliases":["pig2"]},{"emoji":"🐽","aliases":["pig_nose"]},{"emoji":"💊","aliases":["pill"]},{"emoji":"🧑✈️","aliases":["pilot"]},{"emoji":"🤏","aliases":["pinching_hand"]},{"emoji":"🍍","aliases":["pineapple"]},{"emoji":"🏓","aliases":["ping_pong"]},{"emoji":"🏴☠️","aliases":["pirate_flag"]},{"emoji":"♓","aliases":["pisces"]},{"emoji":"🇵🇳","aliases":["pitcairn_islands"]},{"emoji":"🍕","aliases":["pizza"]},{"emoji":"🛐","aliases":["place_of_worship"]},{"emoji":"🍽️","aliases":["plate_with_cutlery"]},{"emoji":"⏯️","aliases":["play_or_pause_button"]},{"emoji":"🥺","aliases":["pleading_face"]},{"emoji":"👇","aliases":["point_down"]},{"emoji":"👈","aliases":["point_left"]},{"emoji":"👉","aliases":["point_right"]},{"emoji":"☝️","aliases":["point_up"]},{"emoji":"👆","aliases":["point_up_2"]},{"emoji":"🇵🇱","aliases":["poland"]},{"emoji":"🚓","aliases":["police_car"]},{"emoji":"👮","aliases":["police_officer","cop"]},{"emoji":"👮♂️","aliases":["policeman"]},{"emoji":"👮♀️","aliases":["policewoman"]},{"emoji":"🐩","aliases":["poodle"]},{"emoji":"🍿","aliases":["popcorn"]},{"emoji":"🇵🇹","aliases":["portugal"]},{"emoji":"🏣","aliases":["post_office"]},{"emoji":"📯","aliases":["postal_horn"]},{"emoji":"📮","aliases":["postbox"]},{"emoji":"🚰","aliases":["potable_water"]},{"emoji":"🥔","aliases":["potato"]},{"emoji":"👝","aliases":["pouch"]},{"emoji":"🍗","aliases":["poultry_leg"]},{"emoji":"💷","aliases":["pound"]},{"emoji":"😾","aliases":["pouting_cat"]},{"emoji":"🙎","aliases":["pouting_face"]},{"emoji":"🙎♂️","aliases":["pouting_man"]},{"emoji":"🙎♀️","aliases":["pouting_woman"]},{"emoji":"🙏","aliases":["pray"]},{"emoji":"📿","aliases":["prayer_beads"]},{"emoji":"🤰","aliases":["pregnant_woman"]},{"emoji":"🥨","aliases":["pretzel"]},{"emoji":"⏮️","aliases":["previous_track_button"]},{"emoji":"🤴","aliases":["prince"]},{"emoji":"👸","aliases":["princess"]},{"emoji":"🖨️","aliases":["printer"]},{"emoji":"🦯","aliases":["probing_cane"]},{"emoji":"🇵🇷","aliases":["puerto_rico"]},{"emoji":"🟣","aliases":["purple_circle"]},{"emoji":"💜","aliases":["purple_heart"]},{"emoji":"🟪","aliases":["purple_square"]},{"emoji":"👛","aliases":["purse"]},{"emoji":"📌","aliases":["pushpin"]},{"emoji":"🚮","aliases":["put_litter_in_its_place"]},{"emoji":"🇶🇦","aliases":["qatar"]},{"emoji":"❓","aliases":["question"]},{"emoji":"🐰","aliases":["rabbit"]},{"emoji":"🐇","aliases":["rabbit2"]},{"emoji":"🦝","aliases":["raccoon"]},{"emoji":"🐎","aliases":["racehorse"]},{"emoji":"🏎️","aliases":["racing_car"]},{"emoji":"📻","aliases":["radio"]},{"emoji":"🔘","aliases":["radio_button"]},{"emoji":"☢️","aliases":["radioactive"]},{"emoji":"😡","aliases":["rage","pout"]},{"emoji":"🚃","aliases":["railway_car"]},{"emoji":"🛤️","aliases":["railway_track"]},{"emoji":"🌈","aliases":["rainbow"]},{"emoji":"🏳️🌈","aliases":["rainbow_flag"]},{"emoji":"🤚","aliases":["raised_back_of_hand"]},{"emoji":"🤨","aliases":["raised_eyebrow"]},{"emoji":"🖐️","aliases":["raised_hand_with_fingers_splayed"]},{"emoji":"🙌","aliases":["raised_hands"]},{"emoji":"🙋","aliases":["raising_hand"]},{"emoji":"🙋♂️","aliases":["raising_hand_man"]},{"emoji":"🙋♀️","aliases":["raising_hand_woman"]},{"emoji":"🐏","aliases":["ram"]},{"emoji":"🍜","aliases":["ramen"]},{"emoji":"🐀","aliases":["rat"]},{"emoji":"🪒","aliases":["razor"]},{"emoji":"🧾","aliases":["receipt"]},{"emoji":"⏺️","aliases":["record_button"]},{"emoji":"♻️","aliases":["recycle"]},{"emoji":"🔴","aliases":["red_circle"]},{"emoji":"🧧","aliases":["red_envelope"]},{"emoji":"👨🦰","aliases":["red_haired_man"]},{"emoji":"👩🦰","aliases":["red_haired_woman"]},{"emoji":"🟥","aliases":["red_square"]},{"emoji":"®️","aliases":["registered"]},{"emoji":"☺️","aliases":["relaxed"]},{"emoji":"😌","aliases":["relieved"]},{"emoji":"🎗️","aliases":["reminder_ribbon"]},{"emoji":"🔁","aliases":["repeat"]},{"emoji":"🔂","aliases":["repeat_one"]},{"emoji":"⛑️","aliases":["rescue_worker_helmet"]},{"emoji":"🚻","aliases":["restroom"]},{"emoji":"🇷🇪","aliases":["reunion"]},{"emoji":"💞","aliases":["revolving_hearts"]},{"emoji":"⏪","aliases":["rewind"]},{"emoji":"🦏","aliases":["rhinoceros"]},{"emoji":"🎀","aliases":["ribbon"]},{"emoji":"🍚","aliases":["rice"]},{"emoji":"🍙","aliases":["rice_ball"]},{"emoji":"🍘","aliases":["rice_cracker"]},{"emoji":"🎑","aliases":["rice_scene"]},{"emoji":"🗯️","aliases":["right_anger_bubble"]},{"emoji":"💍","aliases":["ring"]},{"emoji":"🪐","aliases":["ringed_planet"]},{"emoji":"🤖","aliases":["robot"]},{"emoji":"🚀","aliases":["rocket"]},{"emoji":"🤣","aliases":["rofl"]},{"emoji":"🙄","aliases":["roll_eyes"]},{"emoji":"🧻","aliases":["roll_of_paper"]},{"emoji":"🎢","aliases":["roller_coaster"]},{"emoji":"🇷🇴","aliases":["romania"]},{"emoji":"🐓","aliases":["rooster"]},{"emoji":"🌹","aliases":["rose"]},{"emoji":"🏵️","aliases":["rosette"]},{"emoji":"🚨","aliases":["rotating_light"]},{"emoji":"📍","aliases":["round_pushpin"]},{"emoji":"🚣","aliases":["rowboat"]},{"emoji":"🚣♂️","aliases":["rowing_man"]},{"emoji":"🚣♀️","aliases":["rowing_woman"]},{"emoji":"🇷🇺","aliases":["ru"]},{"emoji":"🏉","aliases":["rugby_football"]},{"emoji":"🏃","aliases":["runner","running"]},{"emoji":"🏃♂️","aliases":["running_man"]},{"emoji":"🎽","aliases":["running_shirt_with_sash"]},{"emoji":"🏃♀️","aliases":["running_woman"]},{"emoji":"🇷🇼","aliases":["rwanda"]},{"emoji":"🈂️","aliases":["sa"]},{"emoji":"🧷","aliases":["safety_pin"]},{"emoji":"🦺","aliases":["safety_vest"]},{"emoji":"♐","aliases":["sagittarius"]},{"emoji":"🍶","aliases":["sake"]},{"emoji":"🧂","aliases":["salt"]},{"emoji":"🇼🇸","aliases":["samoa"]},{"emoji":"🇸🇲","aliases":["san_marino"]},{"emoji":"👡","aliases":["sandal"]},{"emoji":"🥪","aliases":["sandwich"]},{"emoji":"🎅","aliases":["santa"]},{"emoji":"🇸🇹","aliases":["sao_tome_principe"]},{"emoji":"🥻","aliases":["sari"]},{"emoji":"📡","aliases":["satellite"]},{"emoji":"🇸🇦","aliases":["saudi_arabia"]},{"emoji":"🧖♂️","aliases":["sauna_man"]},{"emoji":"🧖","aliases":["sauna_person"]},{"emoji":"🧖♀️","aliases":["sauna_woman"]},{"emoji":"🦕","aliases":["sauropod"]},{"emoji":"🎷","aliases":["saxophone"]},{"emoji":"🧣","aliases":["scarf"]},{"emoji":"🏫","aliases":["school"]},{"emoji":"🎒","aliases":["school_satchel"]},{"emoji":"🧑🔬","aliases":["scientist"]},{"emoji":"✂️","aliases":["scissors"]},{"emoji":"🦂","aliases":["scorpion"]},{"emoji":"♏","aliases":["scorpius"]},{"emoji":"🏴","aliases":["scotland"]},{"emoji":"😱","aliases":["scream"]},{"emoji":"🙀","aliases":["scream_cat"]},{"emoji":"📜","aliases":["scroll"]},{"emoji":"💺","aliases":["seat"]},{"emoji":"㊙️","aliases":["secret"]},{"emoji":"🙈","aliases":["see_no_evil"]},{"emoji":"🌱","aliases":["seedling"]},{"emoji":"🤳","aliases":["selfie"]},{"emoji":"🇸🇳","aliases":["senegal"]},{"emoji":"🇷🇸","aliases":["serbia"]},{"emoji":"🐕🦺","aliases":["service_dog"]},{"emoji":"7️⃣","aliases":["seven"]},{"emoji":"🇸🇨","aliases":["seychelles"]},{"emoji":"🥘","aliases":["shallow_pan_of_food"]},{"emoji":"☘️","aliases":["shamrock"]},{"emoji":"🦈","aliases":["shark"]},{"emoji":"🍧","aliases":["shaved_ice"]},{"emoji":"🐑","aliases":["sheep"]},{"emoji":"🐚","aliases":["shell"]},{"emoji":"🛡️","aliases":["shield"]},{"emoji":"⛩️","aliases":["shinto_shrine"]},{"emoji":"🚢","aliases":["ship"]},{"emoji":"👕","aliases":["shirt","tshirt"]},{"emoji":"🛍️","aliases":["shopping"]},{"emoji":"🛒","aliases":["shopping_cart"]},{"emoji":"🩳","aliases":["shorts"]},{"emoji":"🚿","aliases":["shower"]},{"emoji":"🦐","aliases":["shrimp"]},{"emoji":"🤷","aliases":["shrug"]},{"emoji":"🤫","aliases":["shushing_face"]},{"emoji":"🇸🇱","aliases":["sierra_leone"]},{"emoji":"📶","aliases":["signal_strength"]},{"emoji":"🇸🇬","aliases":["singapore"]},{"emoji":"🧑🎤","aliases":["singer"]},{"emoji":"🇸🇽","aliases":["sint_maarten"]},{"emoji":"6️⃣","aliases":["six"]},{"emoji":"🔯","aliases":["six_pointed_star"]},{"emoji":"🛹","aliases":["skateboard"]},{"emoji":"🎿","aliases":["ski"]},{"emoji":"⛷️","aliases":["skier"]},{"emoji":"💀","aliases":["skull"]},{"emoji":"☠️","aliases":["skull_and_crossbones"]},{"emoji":"🦨","aliases":["skunk"]},{"emoji":"🛷","aliases":["sled"]},{"emoji":"😴","aliases":["sleeping"]},{"emoji":"🛌","aliases":["sleeping_bed"]},{"emoji":"😪","aliases":["sleepy"]},{"emoji":"🙁","aliases":["slightly_frowning_face"]},{"emoji":"🙂","aliases":["slightly_smiling_face"]},{"emoji":"🎰","aliases":["slot_machine"]},{"emoji":"🦥","aliases":["sloth"]},{"emoji":"🇸🇰","aliases":["slovakia"]},{"emoji":"🇸🇮","aliases":["slovenia"]},{"emoji":"🛩️","aliases":["small_airplane"]},{"emoji":"🔹","aliases":["small_blue_diamond"]},{"emoji":"🔸","aliases":["small_orange_diamond"]},{"emoji":"🔺","aliases":["small_red_triangle"]},{"emoji":"🔻","aliases":["small_red_triangle_down"]},{"emoji":"😄","aliases":["smile"]},{"emoji":"😸","aliases":["smile_cat"]},{"emoji":"😃","aliases":["smiley"]},{"emoji":"😺","aliases":["smiley_cat"]},{"emoji":"🥰","aliases":["smiling_face_with_three_hearts"]},{"emoji":"😈","aliases":["smiling_imp"]},{"emoji":"😏","aliases":["smirk"]},{"emoji":"😼","aliases":["smirk_cat"]},{"emoji":"🚬","aliases":["smoking"]},{"emoji":"🐌","aliases":["snail"]},{"emoji":"🐍","aliases":["snake"]},{"emoji":"🤧","aliases":["sneezing_face"]},{"emoji":"🏂","aliases":["snowboarder"]},{"emoji":"❄️","aliases":["snowflake"]},{"emoji":"⛄","aliases":["snowman"]},{"emoji":"☃️","aliases":["snowman_with_snow"]},{"emoji":"🧼","aliases":["soap"]},{"emoji":"😭","aliases":["sob"]},{"emoji":"⚽","aliases":["soccer"]},{"emoji":"🧦","aliases":["socks"]},{"emoji":"🥎","aliases":["softball"]},{"emoji":"🇸🇧","aliases":["solomon_islands"]},{"emoji":"🇸🇴","aliases":["somalia"]},{"emoji":"🔜","aliases":["soon"]},{"emoji":"🆘","aliases":["sos"]},{"emoji":"🔉","aliases":["sound"]},{"emoji":"🇿🇦","aliases":["south_africa"]},{"emoji":"🇬🇸","aliases":["south_georgia_south_sandwich_islands"]},{"emoji":"🇸🇸","aliases":["south_sudan"]},{"emoji":"👾","aliases":["space_invader"]},{"emoji":"♠️","aliases":["spades"]},{"emoji":"🍝","aliases":["spaghetti"]},{"emoji":"❇️","aliases":["sparkle"]},{"emoji":"🎇","aliases":["sparkler"]},{"emoji":"✨","aliases":["sparkles"]},{"emoji":"💖","aliases":["sparkling_heart"]},{"emoji":"🙊","aliases":["speak_no_evil"]},{"emoji":"🔈","aliases":["speaker"]},{"emoji":"🗣️","aliases":["speaking_head"]},{"emoji":"💬","aliases":["speech_balloon"]},{"emoji":"🚤","aliases":["speedboat"]},{"emoji":"🕷️","aliases":["spider"]},{"emoji":"🕸️","aliases":["spider_web"]},{"emoji":"🗓️","aliases":["spiral_calendar"]},{"emoji":"🗒️","aliases":["spiral_notepad"]},{"emoji":"🧽","aliases":["sponge"]},{"emoji":"🥄","aliases":["spoon"]},{"emoji":"🦑","aliases":["squid"]},{"emoji":"🇱🇰","aliases":["sri_lanka"]},{"emoji":"🇧🇱","aliases":["st_barthelemy"]},{"emoji":"🇸🇭","aliases":["st_helena"]},{"emoji":"🇰🇳","aliases":["st_kitts_nevis"]},{"emoji":"🇱🇨","aliases":["st_lucia"]},{"emoji":"🇲🇫","aliases":["st_martin"]},{"emoji":"🇵🇲","aliases":["st_pierre_miquelon"]},{"emoji":"🇻🇨","aliases":["st_vincent_grenadines"]},{"emoji":"🏟️","aliases":["stadium"]},{"emoji":"🧍♂️","aliases":["standing_man"]},{"emoji":"🧍","aliases":["standing_person"]},{"emoji":"🧍♀️","aliases":["standing_woman"]},{"emoji":"⭐","aliases":["star"]},{"emoji":"🌟","aliases":["star2"]},{"emoji":"☪️","aliases":["star_and_crescent"]},{"emoji":"✡️","aliases":["star_of_david"]},{"emoji":"🤩","aliases":["star_struck"]},{"emoji":"🌠","aliases":["stars"]},{"emoji":"🚉","aliases":["station"]},{"emoji":"🗽","aliases":["statue_of_liberty"]},{"emoji":"🚂","aliases":["steam_locomotive"]},{"emoji":"🩺","aliases":["stethoscope"]},{"emoji":"🍲","aliases":["stew"]},{"emoji":"⏹️","aliases":["stop_button"]},{"emoji":"🛑","aliases":["stop_sign"]},{"emoji":"⏱️","aliases":["stopwatch"]},{"emoji":"📏","aliases":["straight_ruler"]},{"emoji":"🍓","aliases":["strawberry"]},{"emoji":"😛","aliases":["stuck_out_tongue"]},{"emoji":"😝","aliases":["stuck_out_tongue_closed_eyes"]},{"emoji":"😜","aliases":["stuck_out_tongue_winking_eye"]},{"emoji":"🧑🎓","aliases":["student"]},{"emoji":"🎙️","aliases":["studio_microphone"]},{"emoji":"🥙","aliases":["stuffed_flatbread"]},{"emoji":"🇸🇩","aliases":["sudan"]},{"emoji":"🌥️","aliases":["sun_behind_large_cloud"]},{"emoji":"🌦️","aliases":["sun_behind_rain_cloud"]},{"emoji":"🌤️","aliases":["sun_behind_small_cloud"]},{"emoji":"🌞","aliases":["sun_with_face"]},{"emoji":"🌻","aliases":["sunflower"]},{"emoji":"😎","aliases":["sunglasses"]},{"emoji":"☀️","aliases":["sunny"]},{"emoji":"🌅","aliases":["sunrise"]},{"emoji":"🌄","aliases":["sunrise_over_mountains"]},{"emoji":"🦸","aliases":["superhero"]},{"emoji":"🦸♂️","aliases":["superhero_man"]},{"emoji":"🦸♀️","aliases":["superhero_woman"]},{"emoji":"🦹","aliases":["supervillain"]},{"emoji":"🦹♂️","aliases":["supervillain_man"]},{"emoji":"🦹♀️","aliases":["supervillain_woman"]},{"emoji":"🏄","aliases":["surfer"]},{"emoji":"🏄♂️","aliases":["surfing_man"]},{"emoji":"🏄♀️","aliases":["surfing_woman"]},{"emoji":"🇸🇷","aliases":["suriname"]},{"emoji":"🍣","aliases":["sushi"]},{"emoji":"🚟","aliases":["suspension_railway"]},{"emoji":"🇸🇯","aliases":["svalbard_jan_mayen"]},{"emoji":"🦢","aliases":["swan"]},{"emoji":"🇸🇿","aliases":["swaziland"]},{"emoji":"😓","aliases":["sweat"]},{"emoji":"💦","aliases":["sweat_drops"]},{"emoji":"😅","aliases":["sweat_smile"]},{"emoji":"🇸🇪","aliases":["sweden"]},{"emoji":"🍠","aliases":["sweet_potato"]},{"emoji":"🩲","aliases":["swim_brief"]},{"emoji":"🏊","aliases":["swimmer"]},{"emoji":"🏊♂️","aliases":["swimming_man"]},{"emoji":"🏊♀️","aliases":["swimming_woman"]},{"emoji":"🇨🇭","aliases":["switzerland"]},{"emoji":"🔣","aliases":["symbols"]},{"emoji":"🕍","aliases":["synagogue"]},{"emoji":"🇸🇾","aliases":["syria"]},{"emoji":"💉","aliases":["syringe"]},{"emoji":"🦖","aliases":["t-rex"]},{"emoji":"🌮","aliases":["taco"]},{"emoji":"🎉","aliases":["tada","hooray"]},{"emoji":"🇹🇼","aliases":["taiwan"]},{"emoji":"🇹🇯","aliases":["tajikistan"]},{"emoji":"🥡","aliases":["takeout_box"]},{"emoji":"🎋","aliases":["tanabata_tree"]},{"emoji":"🍊","aliases":["tangerine","orange","mandarin"]},{"emoji":"🇹🇿","aliases":["tanzania"]},{"emoji":"♉","aliases":["taurus"]},{"emoji":"🚕","aliases":["taxi"]},{"emoji":"🍵","aliases":["tea"]},{"emoji":"🧑🏫","aliases":["teacher"]},{"emoji":"🧑💻","aliases":["technologist"]},{"emoji":"🧸","aliases":["teddy_bear"]},{"emoji":"📞","aliases":["telephone_receiver"]},{"emoji":"🔭","aliases":["telescope"]},{"emoji":"🎾","aliases":["tennis"]},{"emoji":"⛺","aliases":["tent"]},{"emoji":"🧪","aliases":["test_tube"]},{"emoji":"🇹🇭","aliases":["thailand"]},{"emoji":"🌡️","aliases":["thermometer"]},{"emoji":"🤔","aliases":["thinking"]},{"emoji":"💭","aliases":["thought_balloon"]},{"emoji":"🧵","aliases":["thread"]},{"emoji":"3️⃣","aliases":["three"]},{"emoji":"🎫","aliases":["ticket"]},{"emoji":"🎟️","aliases":["tickets"]},{"emoji":"🐯","aliases":["tiger"]},{"emoji":"🐅","aliases":["tiger2"]},{"emoji":"⏲️","aliases":["timer_clock"]},{"emoji":"🇹🇱","aliases":["timor_leste"]},{"emoji":"💁♂️","aliases":["tipping_hand_man","sassy_man"]},{"emoji":"💁","aliases":["tipping_hand_person","information_desk_person"]},{"emoji":"💁♀️","aliases":["tipping_hand_woman","sassy_woman"]},{"emoji":"😫","aliases":["tired_face"]},{"emoji":"™️","aliases":["tm"]},{"emoji":"🇹🇬","aliases":["togo"]},{"emoji":"🚽","aliases":["toilet"]},{"emoji":"🇹🇰","aliases":["tokelau"]},{"emoji":"🗼","aliases":["tokyo_tower"]},{"emoji":"🍅","aliases":["tomato"]},{"emoji":"🇹🇴","aliases":["tonga"]},{"emoji":"👅","aliases":["tongue"]},{"emoji":"🧰","aliases":["toolbox"]},{"emoji":"🦷","aliases":["tooth"]},{"emoji":"🔝","aliases":["top"]},{"emoji":"🎩","aliases":["tophat"]},{"emoji":"🌪️","aliases":["tornado"]},{"emoji":"🇹🇷","aliases":["tr"]},{"emoji":"🖲️","aliases":["trackball"]},{"emoji":"🚜","aliases":["tractor"]},{"emoji":"🚥","aliases":["traffic_light"]},{"emoji":"🚋","aliases":["train"]},{"emoji":"🚆","aliases":["train2"]},{"emoji":"🚊","aliases":["tram"]},{"emoji":"🚩","aliases":["triangular_flag_on_post"]},{"emoji":"📐","aliases":["triangular_ruler"]},{"emoji":"🔱","aliases":["trident"]},{"emoji":"🇹🇹","aliases":["trinidad_tobago"]},{"emoji":"🇹🇦","aliases":["tristan_da_cunha"]},{"emoji":"😤","aliases":["triumph"]},{"emoji":"🚎","aliases":["trolleybus"]},{"emoji":"🏆","aliases":["trophy"]},{"emoji":"🍹","aliases":["tropical_drink"]},{"emoji":"🐠","aliases":["tropical_fish"]},{"emoji":"🚚","aliases":["truck"]},{"emoji":"🎺","aliases":["trumpet"]},{"emoji":"🌷","aliases":["tulip"]},{"emoji":"🥃","aliases":["tumbler_glass"]},{"emoji":"🇹🇳","aliases":["tunisia"]},{"emoji":"🦃","aliases":["turkey"]},{"emoji":"🇹🇲","aliases":["turkmenistan"]},{"emoji":"🇹🇨","aliases":["turks_caicos_islands"]},{"emoji":"🐢","aliases":["turtle"]},{"emoji":"🇹🇻","aliases":["tuvalu"]},{"emoji":"📺","aliases":["tv"]},{"emoji":"🔀","aliases":["twisted_rightwards_arrows"]},{"emoji":"2️⃣","aliases":["two"]},{"emoji":"💕","aliases":["two_hearts"]},{"emoji":"👬","aliases":["two_men_holding_hands"]},{"emoji":"👭","aliases":["two_women_holding_hands"]},{"emoji":"🈹","aliases":["u5272"]},{"emoji":"🈴","aliases":["u5408"]},{"emoji":"🈺","aliases":["u55b6"]},{"emoji":"🈯","aliases":["u6307"]},{"emoji":"🈷️","aliases":["u6708"]},{"emoji":"🈶","aliases":["u6709"]},{"emoji":"🈵","aliases":["u6e80"]},{"emoji":"🈚","aliases":["u7121"]},{"emoji":"🈸","aliases":["u7533"]},{"emoji":"🈲","aliases":["u7981"]},{"emoji":"🈳","aliases":["u7a7a"]},{"emoji":"🇺🇬","aliases":["uganda"]},{"emoji":"🇺🇦","aliases":["ukraine"]},{"emoji":"☔","aliases":["umbrella"]},{"emoji":"😒","aliases":["unamused"]},{"emoji":"🔞","aliases":["underage"]},{"emoji":"🦄","aliases":["unicorn"]},{"emoji":"🇦🇪","aliases":["united_arab_emirates"]},{"emoji":"🇺🇳","aliases":["united_nations"]},{"emoji":"🔓","aliases":["unlock"]},{"emoji":"🆙","aliases":["up"]},{"emoji":"🙃","aliases":["upside_down_face"]},{"emoji":"🇺🇾","aliases":["uruguay"]},{"emoji":"🇺🇸","aliases":["us"]},{"emoji":"🇺🇲","aliases":["us_outlying_islands"]},{"emoji":"🇻🇮","aliases":["us_virgin_islands"]},{"emoji":"🇺🇿","aliases":["uzbekistan"]},{"emoji":"✌️","aliases":["v"]},{"emoji":"🧛","aliases":["vampire"]},{"emoji":"🧛♂️","aliases":["vampire_man"]},{"emoji":"🧛♀️","aliases":["vampire_woman"]},{"emoji":"🇻🇺","aliases":["vanuatu"]},{"emoji":"🇻🇦","aliases":["vatican_city"]},{"emoji":"🇻🇪","aliases":["venezuela"]},{"emoji":"🚦","aliases":["vertical_traffic_light"]},{"emoji":"📼","aliases":["vhs"]},{"emoji":"📳","aliases":["vibration_mode"]},{"emoji":"📹","aliases":["video_camera"]},{"emoji":"🎮","aliases":["video_game"]},{"emoji":"🇻🇳","aliases":["vietnam"]},{"emoji":"🎻","aliases":["violin"]},{"emoji":"♍","aliases":["virgo"]},{"emoji":"🌋","aliases":["volcano"]},{"emoji":"🏐","aliases":["volleyball"]},{"emoji":"🤮","aliases":["vomiting_face"]},{"emoji":"🆚","aliases":["vs"]},{"emoji":"🖖","aliases":["vulcan_salute"]},{"emoji":"🧇","aliases":["waffle"]},{"emoji":"🏴","aliases":["wales"]},{"emoji":"🚶","aliases":["walking"]},{"emoji":"🚶♂️","aliases":["walking_man"]},{"emoji":"🚶♀️","aliases":["walking_woman"]},{"emoji":"🇼🇫","aliases":["wallis_futuna"]},{"emoji":"🌘","aliases":["waning_crescent_moon"]},{"emoji":"🌖","aliases":["waning_gibbous_moon"]},{"emoji":"⚠️","aliases":["warning"]},{"emoji":"🗑️","aliases":["wastebasket"]},{"emoji":"⌚","aliases":["watch"]},{"emoji":"🐃","aliases":["water_buffalo"]},{"emoji":"🤽","aliases":["water_polo"]},{"emoji":"🍉","aliases":["watermelon"]},{"emoji":"👋","aliases":["wave"]},{"emoji":"〰️","aliases":["wavy_dash"]},{"emoji":"🌒","aliases":["waxing_crescent_moon"]},{"emoji":"🚾","aliases":["wc"]},{"emoji":"😩","aliases":["weary"]},{"emoji":"💒","aliases":["wedding"]},{"emoji":"🏋️","aliases":["weight_lifting"]},{"emoji":"🏋️♂️","aliases":["weight_lifting_man"]},{"emoji":"🏋️♀️","aliases":["weight_lifting_woman"]},{"emoji":"🇪🇭","aliases":["western_sahara"]},{"emoji":"🐳","aliases":["whale"]},{"emoji":"🐋","aliases":["whale2"]},{"emoji":"☸️","aliases":["wheel_of_dharma"]},{"emoji":"♿","aliases":["wheelchair"]},{"emoji":"✅","aliases":["white_check_mark"]},{"emoji":"⚪","aliases":["white_circle"]},{"emoji":"🏳️","aliases":["white_flag"]},{"emoji":"💮","aliases":["white_flower"]},{"emoji":"👨🦳","aliases":["white_haired_man"]},{"emoji":"👩🦳","aliases":["white_haired_woman"]},{"emoji":"🤍","aliases":["white_heart"]},{"emoji":"⬜","aliases":["white_large_square"]},{"emoji":"◽","aliases":["white_medium_small_square"]},{"emoji":"◻️","aliases":["white_medium_square"]},{"emoji":"▫️","aliases":["white_small_square"]},{"emoji":"🔳","aliases":["white_square_button"]},{"emoji":"🥀","aliases":["wilted_flower"]},{"emoji":"🎐","aliases":["wind_chime"]},{"emoji":"🌬️","aliases":["wind_face"]},{"emoji":"🍷","aliases":["wine_glass"]},{"emoji":"😉","aliases":["wink"]},{"emoji":"🐺","aliases":["wolf"]},{"emoji":"👩","aliases":["woman"]},{"emoji":"👩🎨","aliases":["woman_artist"]},{"emoji":"👩🚀","aliases":["woman_astronaut"]},{"emoji":"🤸♀️","aliases":["woman_cartwheeling"]},{"emoji":"👩🍳","aliases":["woman_cook"]},{"emoji":"💃","aliases":["woman_dancing","dancer"]},{"emoji":"🤦♀️","aliases":["woman_facepalming"]},{"emoji":"👩🏭","aliases":["woman_factory_worker"]},{"emoji":"👩🌾","aliases":["woman_farmer"]},{"emoji":"👩🚒","aliases":["woman_firefighter"]},{"emoji":"👩⚕️","aliases":["woman_health_worker"]},{"emoji":"👩🦽","aliases":["woman_in_manual_wheelchair"]},{"emoji":"👩🦼","aliases":["woman_in_motorized_wheelchair"]},{"emoji":"👩⚖️","aliases":["woman_judge"]},{"emoji":"🤹♀️","aliases":["woman_juggling"]},{"emoji":"👩🔧","aliases":["woman_mechanic"]},{"emoji":"👩💼","aliases":["woman_office_worker"]},{"emoji":"👩✈️","aliases":["woman_pilot"]},{"emoji":"🤾♀️","aliases":["woman_playing_handball"]},{"emoji":"🤽♀️","aliases":["woman_playing_water_polo"]},{"emoji":"👩🔬","aliases":["woman_scientist"]},{"emoji":"🤷♀️","aliases":["woman_shrugging"]},{"emoji":"👩🎤","aliases":["woman_singer"]},{"emoji":"👩🎓","aliases":["woman_student"]},{"emoji":"👩🏫","aliases":["woman_teacher"]},{"emoji":"👩💻","aliases":["woman_technologist"]},{"emoji":"🧕","aliases":["woman_with_headscarf"]},{"emoji":"👩🦯","aliases":["woman_with_probing_cane"]},{"emoji":"👳♀️","aliases":["woman_with_turban"]},{"emoji":"👚","aliases":["womans_clothes"]},{"emoji":"👒","aliases":["womans_hat"]},{"emoji":"🤼♀️","aliases":["women_wrestling"]},{"emoji":"🚺","aliases":["womens"]},{"emoji":"🥴","aliases":["woozy_face"]},{"emoji":"🗺️","aliases":["world_map"]},{"emoji":"😟","aliases":["worried"]},{"emoji":"🔧","aliases":["wrench"]},{"emoji":"🤼","aliases":["wrestling"]},{"emoji":"✍️","aliases":["writing_hand"]},{"emoji":"❌","aliases":["x"]},{"emoji":"🧶","aliases":["yarn"]},{"emoji":"🥱","aliases":["yawning_face"]},{"emoji":"🟡","aliases":["yellow_circle"]},{"emoji":"💛","aliases":["yellow_heart"]},{"emoji":"🟨","aliases":["yellow_square"]},{"emoji":"🇾🇪","aliases":["yemen"]},{"emoji":"💴","aliases":["yen"]},{"emoji":"☯️","aliases":["yin_yang"]},{"emoji":"🪀","aliases":["yo_yo"]},{"emoji":"😋","aliases":["yum"]},{"emoji":"🇿🇲","aliases":["zambia"]},{"emoji":"🤪","aliases":["zany_face"]},{"emoji":"⚡","aliases":["zap"]},{"emoji":"🦓","aliases":["zebra"]},{"emoji":"0️⃣","aliases":["zero"]},{"emoji":"🇿🇼","aliases":["zimbabwe"]},{"emoji":"🤐","aliases":["zipper_mouth_face"]},{"emoji":"🧟","aliases":["zombie"]},{"emoji":"🧟♂️","aliases":["zombie_man"]},{"emoji":"🧟♀️","aliases":["zombie_woman"]},{"emoji":"💤","aliases":["zzz"]}]');function Dl(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return Ll(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ll(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0,o=function(){};return{s:o,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,a=!0,s=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,r=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw r}}}}function Ll(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}var Il,Rl=window.config.StaticUrlPrefix,Pl={gitea:":gitea:"},Fl=Dl(Ol);try{for(Fl.s();!(Il=Fl.n()).done;){var Nl,Ml=Il.value,ql=Ml.emoji,zl=Dl(Ml.aliases||[]);try{for(zl.s();!(Nl=zl.n()).done;){Pl[Nl.value]=ql}}catch(e){zl.e(e)}finally{zl.f()}}}catch(e){Fl.e(e)}finally{Fl.f()}var Hl,Ul=Object.keys(Pl).sort((function(e,t){return"+1"===e||"-1"===e?-1:"+1"===t||"-1"===t?1:e.localeCompare(t)})),Bl={},Vl=Dl(Ul);try{for(Vl.s();!(Hl=Vl.n()).done;){var Wl=Hl.value;Bl[Wl]=Pl[Wl]}}catch(e){Vl.e(e)}finally{Vl.f()}function Ql(e){return Bl[e]||":".concat(e,":")}s("./node_modules/core-js/modules/es.set.js");function Gl(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e?e.replace(/^.*\//,""):""}function Xl(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=/.+(\.[^.]+)$/.exec(e)||[],i=t()(n,2),o=(i[0],i[1]);return o||""}function Yl(){return 1==document.documentElement.classList.contains("theme-arc-green")||1==document.documentElement.classList.contains("theme-arc-blue")||1==document.documentElement.classList.contains("theme-testblu")}function Kl(e){return Array.from(new Set(e))}function Jl(e,t,n,i,o){if(n-t<i)return t;var r=Math.ceil((t+n)/2/i)*i;return matchMedia("screen and (min-".concat(e,":").concat(r).concat(o,")")).matches?Jl(e,r,n,i,o):Jl(e,t,r-i,i,o)}function Zl(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return ec(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ec(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0,o=function(){};return{s:o,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,a=!0,s=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,r=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw r}}}}function ec(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function tc(e){var t=e.mentions,n=e.emoji,i=[];return t&&i.push({trigger:":",requireLeadingSpace:!0,values:function(e,t){var n,i=[],o=Zl(Ul);try{for(o.s();!(n=o.n()).done;){var r=n.value;if(r.includes(e)&&(i.push(r),i.length>5))break}}catch(e){o.e(e)}finally{o.f()}t(i)},lookup:function(e){return e},selectTemplate:function(e){return void 0===e?null:Ql(e.original)},menuItemTemplate:function(e){return'<div class="tribute-item">'.concat((t=e.original,n="gitea"===t?'<img alt=":'.concat(t,':" src="').concat(Rl,'/img/emoji/gitea.png">'):Ql(t),'<span class="emoji" title=":'.concat(t,':">').concat(n,"</span>")),"<span>").concat(e.original,"</span></div>");var t,n}}),n&&i.push({values:window.config.tributeValues,noMatchTemplate:function(){return null},menuItemTemplate:function(e){return'\n <div class="tribute-item">\n <img src="'.concat(e.original.avatar,'"/>\n <span class="name">').concat(e.original.name,"</span>\n ").concat(e.original.fullname&&""!==e.original.fullname?'<span class="fullname">'.concat(e.original.fullname,"</span>"):"","\n </div>\n ")}}),i}function nc(e){return ic.apply(this,arguments)}function ic(){return(ic=r()(i().mark((function e(t){var n,o,r,a,l,c,u,d,f,p,m,h,g,v,b=arguments;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=b.length>1&&void 0!==b[1]?b[1]:{},o=n.mentions,r=n.emoji,window.config.Tribute&&t){e.next=3;break}return e.abrupt("return");case 3:if((a=Array.from("length"in t?t:[t])).length){e.next=6;break}return e.abrupt("return");case 6:if(l=a.filter((function(e){return o||"content"===e.id})),c=a.filter((function(e){return r||"content"===e.id||e.classList.contains("emoji-input")})),(u=Kl([].concat(Ps()(l),Ps()(c)))).length){e.next=11;break}return e.abrupt("return");case 11:return e.next=13,s.e("tribute").then(s.t.bind(s,"./node_modules/tributejs/dist/tribute.min.js",23));case 13:d=e.sent,f=d.default,p=tc({mentions:o||l.length>0,emoji:r||c.length>0}),m=new f({collection:p}),h=Zl(u);try{for(h.s();!(g=h.n()).done;)v=g.value,m.attach(v)}catch(e){h.e(e)}finally{h.f()}return e.abrupt("return",m);case 20:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function oc(){return(oc=r()(i().mark((function e(t){return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t&&t.length){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,Promise.all([s.e("minicolors").then(s.t.bind(s,"./node_modules/@claviska/jquery-minicolors/jquery.minicolors.js",23)),s.e("minicolors").then(s.bind(s,"./node_modules/@claviska/jquery-minicolors/jquery.minicolors.css"))]);case 4:t.minicolors();case 5:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function rc(e,t){return ac.apply(this,arguments)}function ac(){return(ac=r()(i().mark((function e(n,o){var r,a,l;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Promise.all([s.e("dropzone").then(s.t.bind(s,"./node_modules/dropzone/dist/dropzone.js",23)),s.e("dropzone").then(s.bind(s,"./node_modules/dropzone/dist/dropzone.css"))]);case 2:return r=e.sent,a=t()(r,1),(l=a[0].default).autoDiscover=!1,e.abrupt("return",new l(n,o));case 7:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function sc(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return lc(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return lc(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0,o=function(){};return{s:o,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,a=!0,s=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,r=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw r}}}}function lc(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function cc(){var e,t=sc(document.querySelectorAll("th[data-sortt-asc]")||[]);try{var n=function(){var t=e.value,n=t.dataset,i=n.sorttAsc,o=n.sorttDesc,r=n.sorttDefault;t.addEventListener("click",(function(){!function(e,t,n){if(!e)return!1;t||(t="");var i=new URL(window.location),o=i.searchParams.get("sort");!o&&n&&(o=e);i.searchParams.set("sort",o!==e?e:t),window.location.replace(i.href)}(i,o,r)}))};for(t.s();!(e=t.n()).done;)n()}catch(e){t.e(e)}finally{t.f()}}function uc(){return dc.apply(this,arguments)}function dc(){return(dc=r()(i().mark((function e(){var t;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=function(e,t){var n={width:e&&e.width||0,height:e&&e.height||0},i={width:t&&t.width||0,height:t&&t.height||0},o={width:Math.max(i.width,n.width),height:Math.max(i.height,n.height)};return{image1:$(e),image2:$(t),size1:n,size2:i,max:o,ratio:[Math.floor(o.width-n.width)/2,Math.floor(o.height-n.height)/2,Math.floor(o.width-i.width)/2,Math.floor(o.height-i.height)/2]}},$(".image-diff").each((function(){for(var e=$(this),n=e.data("path-after"),i=e.data("path-before"),o=[{loaded:!1,path:n,$image:e.find("img.image-after")},{loaded:!1,path:i,$image:e.find("img.image-before")}],r=function(){var e=s[a];e.$image.length>0?(e.$image.on("load",(function(){e.loaded=!0,c()})),e.$image.attr("src",e.path)):(e.loaded=!0,c())},a=0,s=o;a<s.length;a++)r();var l=e.width()-300;function c(){o[0].loaded&&o[1].loaded&&function(n,i){(function(e){var t=1;e.max.width>(l-24)/2&&(t=(l-24)/2/e.max.width);e.image1.css({width:e.size1.width*t,height:e.size1.height*t}),e.image1.parent().css({margin:"".concat(e.ratio[1]*t+15,"px ").concat(e.ratio[0]*t,"px ").concat(e.ratio[1]*t,"px"),width:e.size1.width*t+2,height:e.size1.height*t+2}),e.image2.css({width:e.size2.width*t,height:e.size2.height*t}),e.image2.parent().css({margin:"".concat(e.ratio[3]*t,"px ").concat(e.ratio[2]*t,"px"),width:e.size2.width*t+2,height:e.size2.height*t+2})})(t(n[0],i[0])),n.length>0&&i.length>0&&(function(t){var n=1;t.max.width>l-12&&(n=(l-12)/t.max.width);t.image1.css({width:t.size1.width*n,height:t.size1.height*n}),t.image1.parent().css({margin:"0px ".concat(t.ratio[0]*n,"px"),width:t.size1.width*n+2,height:t.size1.height*n+2}),t.image1.parent().parent().css({padding:"".concat(t.ratio[1]*n,"px 0 0 0"),width:t.max.width*n+2}),t.image2.css({width:t.size2.width*n,height:t.size2.height*n}),t.image2.parent().css({margin:"".concat(t.ratio[3]*n,"px ").concat(t.ratio[2]*n,"px"),width:t.size2.width*n+2,height:t.size2.height*n+2}),t.image2.parent().parent().css({width:t.max.width*n+2,height:t.max.height*n+2}),e.find(".diff-swipe").css({width:t.max.width*n+2,height:t.max.height*n+4}),e.find(".swipe-bar").on("mousedown",(function(t){t.preventDefault();var n=$(this),i=n.parent(),o=i.width()-n.width()-2;$(document).on("mousemove.diff-swipe",(function(t){t.preventDefault();var r=Math.max(0,Math.min(t.clientX-i.offset().left,o));n.css({left:r}),e.find(".swipe-container").css({width:i.width()-r}),$(document).on("mouseup.diff-swipe",(function(){$(document).off(".diff-swipe")}))}))}))}(t(n[1],i[1])),function(t){var n=1;t.max.width>l-12&&(n=(l-12)/t.max.width);t.image1.css({width:t.size1.width*n,height:t.size1.height*n}),t.image2.css({width:t.size2.width*n,height:t.size2.height*n}),t.image1.parent().css({margin:"".concat(t.ratio[1]*n,"px ").concat(t.ratio[0]*n,"px"),width:t.size1.width*n+2,height:t.size1.height*n+2}),t.image2.parent().css({margin:"".concat(t.ratio[3]*n,"px ").concat(t.ratio[2]*n,"px"),width:t.size2.width*n+2,height:t.size2.height*n+2}),t.image2.parent().parent().css({width:t.max.width*n+2,height:t.max.height*n+2}),e.find(".onion-skin").css({width:t.max.width*n+2,height:t.max.height*n+4});var i=e.find("input[type='range'"),o=function(){return t.image1.parent().css({opacity:i.val()/100})};i.on("input",o),o()}(t(n[2],i[2])));e.find("> .loader").hide(),e.find("> .hide").removeClass("hide")}(o[0].$image,o[1].$image)}}));case 2:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var fc=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("div",{ref:"style",staticClass:"activity-bar-graph",staticStyle:{width:"0px",height:"0px"}}),e._v(" "),n("div",{ref:"altStyle",staticClass:"activity-bar-graph-alt",staticStyle:{width:"0px",height:"0px"}}),e._v(" "),n("vue-bar-graph",{attrs:{points:e.graphData,"show-x-axis":!0,"show-y-axis":!1,"show-values":!0,width:e.graphWidth,"bar-color":e.colors.barColor,"text-color":e.colors.textColor,"text-alt-color":e.colors.textAltColor,height:100,"label-height":20},scopedSlots:e._u([{key:"label",fn:function(t){return e._l(e.authors,(function(i,o){return n("g",{key:i.position},[t.bar.index===o&&""!==i.home_link?n("a",{attrs:{href:i.home_link}},[n("image",{attrs:{x:t.bar.midPoint-10+"px",y:t.bar.yLabel+"px",height:"20",width:"20",href:i.avatar_link}})]):t.bar.index===o?n("image",{attrs:{x:t.bar.midPoint-10+"px",y:t.bar.yLabel+"px",height:"20",width:"20",href:i.avatar_link}}):e._e()])}))}},{key:"title",fn:function(t){return e._l(e.authors,(function(i,o){return n("tspan",{key:i.position},[t.bar.index===o?n("tspan",[e._v("\n "+e._s(i.name)+"\n ")]):e._e()])}))}}])})],1)};fc._withStripped=!0;var pc=s("./node_modules/@babel/runtime/helpers/defineProperty.js"),mc=s.n(pc),hc=s("./node_modules/vue-bar-graph/dist/vue-bar-graph.common.js");function gc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}var vc=Ys({components:{VueBarGraph:s.n(hc)()},props:{data:{type:Array,default:function(){return[]}}},data:function(){return{colors:{barColor:"green",textColor:"black",textAltColor:"white"}}},computed:{graphData:function(){return this.data.map((function(e){return{value:e.commits,label:e.name}}))},authors:function(){return this.data.map((function(e,t){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?gc(Object(n),!0).forEach((function(t){mc()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):gc(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({position:t+1},e)}))},graphWidth:function(){return 40*this.data.length}},mounted:function(){var e=window.getComputedStyle(this.$refs.style),t=window.getComputedStyle(this.$refs.altStyle);this.colors.barColor=e.backgroundColor,this.colors.textColor=e.color,this.colors.textAltColor=t.color},methods:{hasHomeLink:function(e){return""!==this.graphData[e].homeLink&&null!==this.graphData[e].homeLink}}},fc,[],!1,null,null,null);vc.options.__file="web_src/js/components/ActivityTopAuthors.vue";var bc=vc.exports,yc=window.config,jc=yc.AppSubUrl,_c=yc.csrf,wc=yc.NotificationSettings;function xc(){$("#notification_table .button").on("click",r()(i().mark((function e(){var t;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Ic($(this).data("url"),$(this).data("status"),$(this).data("page"),$(this).data("q"),$(this).data("notification-id"));case 2:return t=e.sent,$("#notification_div").replaceWith(t),xc(),e.next=7,Dc();case 7:return e.abrupt("return",!1);case 8:case"end":return e.stop()}}),e,this)}))))}function kc(e){return Cc.apply(this,arguments)}function Cc(){return(Cc=r()(i().mark((function e(t){var n,o;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,n=JSON.parse(t.data),o=document.querySelector(".notification_count"),n.Count>0?o.classList.remove("hidden"):o.classList.add("hidden"),o.textContent="".concat(n.Count),e.next=7,Ec();case 7:e.next=12;break;case 9:e.prev=9,e.t0=e.catch(0),console.error(e.t0,t);case 12:case"end":return e.stop()}}),e,null,[[0,9]])})))).apply(this,arguments)}function Sc(){return Tc.apply(this,arguments)}function Tc(){return(Tc=r()(i().mark((function e(){var t,n;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if((t=$(".notification_count")).length){e.next=3;break}return e.abrupt("return");case 3:if(!(wc.EventSourceUpdateTime>0&&window.EventSource&&window.SharedWorker)){e.next=13;break}return(n=new SharedWorker("".concat(s.p,"js/eventsource.sharedworker.js"),"notification-worker")).addEventListener("error",(function(e){console.error(e)})),n.port.onmessageerror=function(){console.error("Unable to deserialize message")},n.port.postMessage({type:"start",url:"".concat(window.location.origin).concat(jc,"/user/events")}),n.port.addEventListener("message",(function(e){if(e.data&&e.data.type)if("notification-count"===e.data.type)kc(e.data);else if("error"===e.data.type)console.error(e.data);else if("logout"===e.data.type){if("here"!==e.data.data)return;n.port.postMessage({type:"close"}),n.port.close(),window.location.href=jc}else"close"===e.data.type&&(n.port.postMessage({type:"close"}),n.port.close());else console.error(e)})),n.port.addEventListener("error",(function(e){console.error(e)})),n.port.start(),window.addEventListener("beforeunload",(function(){n.port.postMessage({type:"close"}),n.port.close()})),e.abrupt("return");case 13:if(!(wc.MinTimeout<=0)){e.next=15;break}return e.abrupt("return");case 15:(function e(t,n){setTimeout(r()(i().mark((function o(){return i().wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return i.next=2,Ac(e,t,n);case 2:case"end":return i.stop()}}),o)}))),t)})(wc.MinTimeout,t.text());case 17:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Ac(e,t,n){return $c.apply(this,arguments)}function $c(){return($c=r()(i().mark((function e(t,n,o){var r,a,s;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=$(".notification_count").text(),o===r){e.next=4;break}return t(wc.MinTimeout,r),e.abrupt("return");case 4:return e.next=6,Dc();case 6:if(a=e.sent,s=!1,o!==a?(s=!0,n=wc.MinTimeout):n<wc.MaxTimeout&&(n+=wc.TimeoutStep),t(n,a),!s){e.next=13;break}return e.next=13,Ec();case 13:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Ec(){return Oc.apply(this,arguments)}function Oc(){return(Oc=r()(i().mark((function e(){var t,n;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!((t=$("#notification_div")).length>0)){e.next=7;break}return e.next=4,$.ajax({type:"GET",url:"".concat(jc,"/notifications?").concat(t.data("params")),data:{"div-only":!0}});case 4:n=e.sent,t.replaceWith(n),xc();case 7:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Dc(){return Lc.apply(this,arguments)}function Lc(){return(Lc=r()(i().mark((function e(){var t,n;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,$.ajax({type:"GET",url:"".concat(jc,"/api/v1/notifications/new"),headers:{"X-Csrf-Token":_c}});case 2:return t=e.sent,n=$(".notification_count"),0===t.new?n.addClass("hidden"):n.removeClass("hidden"),n.text("".concat(t.new)),e.abrupt("return","".concat(t.new));case 7:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Ic(e,t,n,i,o){return Rc.apply(this,arguments)}function Rc(){return(Rc=r()(i().mark((function e(t,n,o,r,a){return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return"pinned"!==n&&$("#notification_".concat(a)).remove(),e.abrupt("return",$.ajax({type:"POST",url:t,data:{_csrf:_c,notification_id:a,status:n,page:o,q:r,noredirect:!0}}));case 2:case"end":return e.stop()}}),e)})))).apply(this,arguments)}s("./node_modules/core-js/modules/es.date.now.js"),s("./node_modules/core-js/modules/es.number.is-finite.js");var Pc=s("./node_modules/pretty-ms/index.js"),Fc=s.n(Pc),Nc=window.config,Mc=Nc.AppSubUrl,qc=Nc.csrf,zc=Nc.NotificationSettings,Hc=Nc.EnableTimetracking,Uc=null;function Bc(){return Vc.apply(this,arguments)}function Vc(){return(Vc=r()(i().mark((function e(){var t,n,o;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(Hc){e.next=2;break}return e.abrupt("return");case 2:if((t=$(".active-stopwatch-trigger")).removeAttr("href"),t.popup({position:"bottom right",hoverable:!0}),$("form > button",t).on("click",(function(){$(this).parent().trigger("submit")})),t){e.next=8;break}return e.abrupt("return");case 8:if(!(zc.EventSourceUpdateTime>0&&window.EventSource&&window.SharedWorker)){e.next=18;break}return(n=new SharedWorker("".concat(s.p,"js/eventsource.sharedworker.js"),"notification-worker")).addEventListener("error",(function(e){console.error(e)})),n.port.onmessageerror=function(){console.error("Unable to deserialize message")},n.port.postMessage({type:"start",url:"".concat(window.location.origin).concat(Mc,"/user/events")}),n.port.addEventListener("message",(function(e){if(e.data&&e.data.type)if("stopwatches"===e.data.type)Yc(JSON.parse(e.data.data));else if("error"===e.data.type)console.error(e.data);else if("logout"===e.data.type){if("here"!==e.data.data)return;n.port.postMessage({type:"close"}),n.port.close(),window.location.href=Mc}else"close"===e.data.type&&(n.port.postMessage({type:"close"}),n.port.close());else console.error(e)})),n.port.addEventListener("error",(function(e){console.error(e)})),n.port.start(),window.addEventListener("beforeunload",(function(){n.port.postMessage({type:"close"}),n.port.close()})),e.abrupt("return");case 18:if(!(zc.MinTimeout<=0)){e.next=20;break}return e.abrupt("return");case 20:(function e(t){setTimeout(r()(i().mark((function n(){return i().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,Wc(e,t);case 2:case"end":return n.stop()}}),n)}))),t)})(zc.MinTimeout),(o=$(".stopwatch-time").data("seconds"))&&(Uc=Jc(o));case 24:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Wc(e,t){return Qc.apply(this,arguments)}function Qc(){return(Qc=r()(i().mark((function e(t,n){return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Gc();case 2:e.sent?n<zc.MaxTimeout&&(n+=zc.TimeoutStep):n=zc.MinTimeout,t(n);case 5:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Gc(){return Xc.apply(this,arguments)}function Xc(){return(Xc=r()(i().mark((function e(){var t;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,$.ajax({type:"GET",url:"".concat(Mc,"/api/v1/user/stopwatches"),headers:{"X-Csrf-Token":qc}});case 2:return t=e.sent,Uc&&(clearInterval(Uc),Uc=null),e.abrupt("return",Yc(t));case 5:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Yc(e){return Kc.apply(this,arguments)}function Kc(){return(Kc=r()(i().mark((function e(t){var n,o,r,a,s,l,c;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t[0],o=$(".active-stopwatch-trigger"),n?(r=n.repo_owner_name,a=n.repo_name,s=n.issue_index,l=n.seconds,c="".concat(Mc,"/").concat(r,"/").concat(a,"/issues/").concat(s),$(".stopwatch-link").attr("href",c),$(".stopwatch-commit").attr("action","".concat(c,"/times/stopwatch/toggle")),$(".stopwatch-cancel").attr("action","".concat(c,"/times/stopwatch/cancel")),$(".stopwatch-issue").text("".concat(r,"/").concat(a,"#").concat(s)),$(".stopwatch-time").text(Fc()(1e3*l)),Jc(l),o.removeClass("hidden")):o.addClass("hidden"),e.abrupt("return",!!t.length);case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Jc(e){return Zc.apply(this,arguments)}function Zc(){return(Zc=r()(i().mark((function e(t){var n,o;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=parseInt(t),Number.isFinite(n)){e.next=3;break}return e.abrupt("return");case 3:o=Date.now(),Uc=setInterval((function(){var e=Date.now()-o,t=Fc()(1e3*n+e,{compact:!0});$(".stopwatch-time").text(t)}),1e3);case 5:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var eu=s("./node_modules/@babel/runtime/helpers/objectWithoutProperties.js"),tu=s.n(eu);function nu(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function iu(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?nu(Object(n),!0).forEach((function(t){mc()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):nu(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ou(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return ru(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ru(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0,o=function(){};return{s:o,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,a=!0,s=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,r=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw r}}}}function ru(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}var au={},su={},lu={fontFamily:"var(--fonts-monospace)",fontSize:14,links:!1,minimap:{enabled:!1},occurrencesHighlight:!1,overviewRulerLanes:0,renderIndentGuides:!1,renderLineHighlight:"all",renderLineHighlightOnlyWhenFocus:!0,renderWhitespace:"none",rulers:!1,scrollbar:{horizontalScrollbarSize:6,verticalScrollbarSize:6},scrollBeyondLastLine:!1};function cu(e){try{return JSON.parse(e.dataset.editorconfig)}catch(e){return null}}function uu(e){var t,n=ou(e.languages.getLanguages());try{for(n.s();!(t=n.n()).done;){var i,o=t.value,r=o.filenames,a=o.extensions,s=o.id,l=ou(r||[]);try{for(l.s();!(i=l.n()).done;){var c=i.value;au[c]=s}}catch(e){l.e(e)}finally{l.f()}var u,d=ou(a||[]);try{for(d.s();!(u=d.n()).done;){var f=u.value;su[f]=s}}catch(e){d.e(e)}finally{d.f()}}}catch(e){n.e(e)}finally{n.f()}}function du(e){return au[e]||su[Xl(e)]||"plaintext"}function fu(e,t,n,i){t.updateOptions(gu(n,i));var o=t.getModel(),r=o.getModeId(),a=du(n);r!==a&&e.editor.setModelLanguage(o,a)}function pu(e){window.codeEditors||(window.codeEditors=[]),window.codeEditors.includes(e)||window.codeEditors.push(e)}function mu(e,t,n){return hu.apply(this,arguments)}function hu(){return(hu=r()(i().mark((function e(t,n,o){var r,a,l,c,u,d,f,p;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,s.e("monaco").then(s.bind(s,"include-loader!./node_modules/monaco-editor/esm/vs/editor/editor.main.js"));case 2:return uu(r=e.sent),a=o.language,l=tu()(o,["language"]),a||(a=du(n)),(c=document.createElement("div")).className="monaco-editor-container",t.parentNode.appendChild(c),u=window.getComputedStyle(document.documentElement),d=function(e){return u.getPropertyValue(e).trim()},r.editor.defineTheme("gitea",{base:Yl()?"vs-dark":"vs",inherit:!0,rules:[{background:d("--color-code-bg")}],colors:{"editor.background":d("--color-code-bg"),"editor.foreground":d("--color-text"),"editor.inactiveSelectionBackground":d("--color-primary-light-4"),"editor.lineHighlightBackground":d("--color-editor-line-highlight"),"editor.selectionBackground":d("--color-primary-light-3"),"editor.selectionForeground":d("--color-primary-light-3"),"editorLineNumber.background":d("--color-code-bg"),"editorLineNumber.foreground":d("--color-secondary-dark-6"),"editorWidget.background":d("--color-body"),"editorWidget.border":d("--color-secondary"),"input.background":d("--color-input-background"),"input.border":d("--color-input-border"),"input.foreground":d("--color-input-text"),"scrollbar.shadow":d("--color-shadow"),"progressBar.background":d("--color-primary")}}),f=r.editor.create(c,iu({value:t.value,theme:"gitea",language:a},l)),f.getModel().onDidChangeContent((function(){t.value=f.getValue(),t.dispatchEvent(new Event("change"))})),window.addEventListener("resize",(function(){f.layout()})),pu(f),(p=document.querySelector(".editor-loading"))&&p.remove(),e.abrupt("return",{monaco:r,editor:f});case 20:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function gu(e,t){return{wordWrap:(t||[]).includes(Xl(e))?"on":"off"}}function vu(e,t,n){return bu.apply(this,arguments)}function bu(){return(bu=r()(i().mark((function e(t,n,o){var r,a,s,l,c,u,d,f,p;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=Gl(n.value),a=document.querySelector("a[data-tab=preview]"),s=(t.dataset.markdownFileExts||"").split(","),l=(t.dataset.lineWrapExtensions||"").split(","),c=s.includes(Xl(r)),u=cu(n),a&&(c&&(o||[]).includes("markdown")?(a.dataset.url=a.dataset.url.replace(/(.*)\/.*/i,"$1/markdown"),a.style.display=""):a.style.display="none"),e.next=9,mu(t,r,iu(iu(iu({},lu),gu(n.value,l)),yu(u)));case 9:return d=e.sent,f=d.monaco,p=d.editor,n.addEventListener("keyup",(function(){var e=n.value;fu(f,p,e,l)})),e.abrupt("return",p);case 14:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function yu(e){if(t=e,"[object Object]"!==Object.prototype.toString.call(t))return{};var t,n={};return n.detectIndentation=!("indent_style"in e)||!("indent_size"in e),"indent_size"in e&&(n.indentSize=Number(e.indent_size)),"tab_width"in e&&(n.tabSize=Number(e.tab_width)||n.indentSize),"max_line_length"in e&&(n.rulers=[Number(e.max_line_length)]),n.trimAutoWhitespace=!0===e.trim_trailing_whitespace,n.insertSpaces="space"===e.indent_style,n.useTabStops="tab"===e.indent_style,n}function ju(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return _u(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _u(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0,o=function(){};return{s:o,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,a=!0,s=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,r=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw r}}}}function _u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}var wu,xu,ku=window.config,Cu=ku.AppSubUrl,Su=ku.StaticUrlPrefix,Tu=ku.csrf,Au={};function $u(e){var t=e.find(".tabular.menu");t.find(".item").tab(),t.find('.item[data-tab="'.concat(t.data("preview"),'"]')).on("click",(function(){var n=$(this);$.post(n.data("url"),{_csrf:Tu,mode:"comment",context:n.data("context"),text:e.find('.tab[data-tab="'.concat(t.data("write"),'"] textarea')).val()},(function(n){e.find('.tab[data-tab="'.concat(t.data("preview"),'"]')).html(n),$l()}))})),sd()}function Eu(){var e,t;0!==$(".edit.form").length&&(!function(e){var t=e.find(".tabular.menu");t.find(".item").tab();var n=t.find('.item[data-tab="'.concat(t.data("preview"),'"]'));n.length&&(wu=n.data("preview-file-modes").split(","),n.on("click",(function(){var n=$(this),i="".concat(n.data("context"),"/"),o=n.data("markdown-mode")||"comment",r=e.find("input#tree_path");r.length>0&&(i+=r.val()),i=i.substring(0,i.lastIndexOf("/")),$.post(n.data("url"),{_csrf:Tu,mode:o,context:i,text:e.find('.tab[data-tab="'.concat(t.data("write"),'"] textarea')).val()},(function(n){e.find('.tab[data-tab="'.concat(t.data("preview"),'"]')).html(n),$l()}))})))}($(".edit.form")),e=$(".edit.form"),(t=e.find(".tabular.menu")).find(".item").tab(),t.find('.item[data-tab="'.concat(t.data("diff"),'"]')).on("click",(function(){var n=$(this);$.post(n.data("url"),{_csrf:Tu,context:n.data("context"),content:e.find('.tab[data-tab="'.concat(t.data("write"),'"] textarea')).val()},(function(n){e.find('.tab[data-tab="'.concat(t.data("diff"),'"]')).html(n)}))})))}function Ou(){var e=$(".new-label.segment");$(".new-label.button").on("click",(function(){e.show()})),$(".new-label.segment .cancel").on("click",(function(){e.hide()})),function(e){oc.apply(this,arguments)}($(".color-picker")),$(".precolors .color").on("click",(function(){var e=$(this).data("color-hex");$(".color-picker").val(e),$(".minicolors-swatch-color").css("background-color",e)})),$(".edit-label-button").on("click",(function(){return $(".edit-label .color-picker").minicolors("value",$(this).data("color")),$("#label-modal-id").val($(this).data("id")),$(".edit-label .new-label-input").val($(this).data("title")),$(".edit-label .new-label-desc-input").val($(this).data("description")),$(".edit-label .color-picker").val($(this).data("color")),$(".edit-label .minicolors-swatch-color").css("background-color",$(this).data("color")),$(".edit-label.modal").modal({onApprove:function(){$(".edit-label.form").trigger("submit")}}).modal("show"),!1}))}function Du(e,t,n,i){return new Promise((function(o){$.ajax({type:"POST",url:e,data:{_csrf:Tu,action:t,issue_ids:n,id:i},success:o})}))}function Lu(){var e=$("#repo_migrating");if($("#repo_migrating_failed").hide(),$("#repo_migrating_failed_image").hide(),e){var t=e.attr("task");if(void 0===t)return;$.ajax({type:"GET",url:"".concat(Cu,"/user/task/").concat(t),data:{_csrf:Tu},complete:function(e){if(200===e.status&&e.responseJSON)return 4===e.responseJSON.status?void window.location.reload():3===e.responseJSON.status?($("#repo_migrating_progress").hide(),$("#repo_migrating").hide(),$("#repo_migrating_failed").show(),$("#repo_migrating_failed_image").show(),void $("#repo_migrating_failed_error").text(e.responseJSON.err)):void setTimeout((function(){Lu()}),2e3);$("#repo_migrating_progress").hide(),$("#repo_migrating").hide(),$("#repo_migrating_failed").show(),$("#repo_migrating_failed_image").show()}})}}function Iu(e){var t="";e||(e=$(document),t=".reactions > "),e.find("".concat(t,"a.label")).popup({position:"bottom left",metadata:{content:"title",title:"none"}}),e.find(".select-reaction > .menu > .item, ".concat(t,"a.label")).on("click",(function(e){var t=this;if(e.preventDefault(),!$(this).hasClass("disabled")){var n=$(this).hasClass("item")?$(this).closest(".select-reaction").data("action-url"):$(this).data("action-url"),i="".concat(n,"/").concat($(this).hasClass("blue")?"unreact":"react");$.ajax({type:"POST",url:i,data:{_csrf:Tu,content:$(this).data("content")}}).done((function(e){if(e&&(e.html||e.empty)){var n=$(t).closest(".content"),i=n.find(".segment.reactions");if((!e.empty||""===e.html)&&i.length>0&&i.remove(),!e.empty){i=$('<div class="ui attached segment reactions"></div>');var o=n.find(".segment.bottom:first");o.length>0?i.insertBefore(o):i.appendTo(n),i.html(e.html),i.find(".dropdown").dropdown(),Iu(i)}}}))}}))}function Ru(e,t){if(e.selectionStart||0===e.selectionStart){var n=e.selectionStart,i=e.selectionEnd;e.value=e.value.substring(0,n)+t+e.value.substring(i,e.value.length),e.selectionStart=n+t.length,e.selectionEnd=n+t.length}else e.value+=t}function Pu(e,t,n){if(e.selectionStart||0===e.selectionStart){var i=e.selectionStart,o=e.selectionEnd;e.value=e.value.replace(t,n),e.selectionStart=i+n.length-t.length,e.selectionEnd=o+n.length-t.length}else e.value=e.value.replace(t,n)}function Fu(e){if(!e.clipboardData)return[];var t,n=[],i=ju(e.clipboardData.items||[]);try{for(i.s();!(t=i.n()).done;){var o=t.value;o.type&&o.type.startsWith("image/")&&n.push(o.getAsFile())}}catch(e){i.e(e)}finally{i.f()}return n.length&&(e.preventDefault(),e.stopPropagation()),n}function Nu(e){return Mu.apply(this,arguments)}function Mu(){return(Mu=r()(i().mark((function e(t){var n,o;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return(n=new FormData).append("file",t,t.name),e.next=4,fetch($("#dropzone").data("upload-url"),{method:"POST",headers:{"X-Csrf-Token":Tu},body:n});case 4:return o=e.sent,e.next=7,o.json();case 7:return e.abrupt("return",e.sent);case 8:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function qu(){window.location.reload()}function zu(e,t){e.codemirror.on("paste",function(){var n=r()(i().mark((function n(o,r){var a,s,l,c,u,d,f;return i().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:a=ju(Fu(r)),n.prev=1,a.s();case 3:if((s=a.n()).done){n.next=15;break}return l=s.value,c=l.name.substr(0,l.name.lastIndexOf(".")),n.next=8,Nu(l);case 8:u=n.sent,d=e.codemirror.getCursor(),e.codemirror.replaceRange(".concat(Cu,"/attachments/").concat(u.uuid,")"),d),f=$('<input id="'.concat(u.uuid,'" name="files" type="hidden">')).val(u.uuid),t.append(f);case 13:n.next=3;break;case 15:n.next=20;break;case 17:n.prev=17,n.t0=n.catch(1),a.e(n.t0);case 20:return n.prev=20,a.f(),n.finish(20);case 23:case"end":return n.stop()}}),n,null,[[1,17,20,23]])})));return function(e,t){return n.apply(this,arguments)}}())}function Hu(){var e,t,n;0!==$(".comment.form").length&&(xu=Ju($(".comment.form textarea:not(.review-textarea)")),e=$(".ui.select-branch"),t=e.find(".reference-list-menu"),n=t.hasClass("new-issue"),t.find(".item:not(.no-select)").click((function(){var t=$(this).data("id"),i=$("#editing_mode").val();if($($(this).data("id-selector")).val(t),n)e.find(".ui .branch-name").text($(this).data("name"));else if("true"===i){var o=$("#update_issueref_form");$.post(o.attr("action"),{_csrf:Tu,ref:t},(function(){window.location.reload()}))}else""===i&&e.find(".ui .branch-name").text(t)})),e.find(".reference.column").on("click",(function(){return e.find(".scrolling.reference-list-menu").css("display","none"),e.find(".reference .text").removeClass("black"),$($(this).data("target")).css("display","block"),$(this).find(".text").addClass("black"),!1})),$u($(".comment.form")),function(e){e.each((function(){var e=this;e.addEventListener("paste",function(){var t=r()(i().mark((function t(n){var o,r,a,s,l,c;return i().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:o=ju(Fu(n)),t.prev=1,o.s();case 3:if((r=o.n()).done){t.next=15;break}return a=r.value,s=a.name.substr(0,a.name.lastIndexOf(".")),Ru(e,"![".concat(s,"]()")),t.next=9,Nu(a);case 9:l=t.sent,Pu(e,"![".concat(s,"]()"),".concat(Cu,"/attachments/").concat(l.uuid,")")),c=$('<input id="'.concat(l.uuid,'" name="files" type="hidden">')).val(l.uuid),$(".files").append(c);case 13:t.next=3;break;case 15:t.next=20;break;case 17:t.prev=17,t.t0=t.catch(1),o.e(t.t0);case 20:return t.prev=20,o.f(),t.finish(20);case 23:case"end":return t.stop()}}),t,null,[[1,17,20,23]])})));return function(e){return t.apply(this,arguments)}}(),!1)}))}($(".comment.form textarea")),o("select-label","labels"),o("select-assignees","assignees"),o("select-assignees-modify","assignees"),o("select-reviewers-modify","assignees"),a(".select-project","#project_id"),a(".select-milestone","#milestone_id"),a(".select-assignee","#assignee_id"));function o(e,t){var n=$(".ui.".concat(t,".list")),i=n.find(".no-select"),o=$(".".concat(e," .menu")),r="update"===o.data("action"),a={};$(".".concat(e)).dropdown("setting","onHide",(function(){if(r="update"===o.data("action")){var e=[];Object.keys(a).forEach((function(t){var n=a[t],i=Du(n["update-url"],n.action,n["issue-id"],t);e.push(i)})),Promise.all(e).then(qu)}})),o.find(".item:not(.no-select)").on("click",(function(t){if(t.preventDefault(),$(this).hasClass("ban-change"))return!1;if(r="update"===o.data("action"),$(this).hasClass("checked")?($(this).removeClass("checked"),$(this).find(".octicon-check").addClass("invisible"),r&&($(this).data("id")in a?delete a[$(this).data("id")]:a[$(this).data("id")]={"update-url":o.data("update-url"),action:"detach","issue-id":o.data("issue-id")})):($(this).addClass("checked"),$(this).find(".octicon-check").removeClass("invisible"),r&&($(this).data("id")in a?delete a[$(this).data("id")]:a[$(this).data("id")]={"update-url":o.data("update-url"),action:"attach","issue-id":o.data("issue-id")})),"select-reviewers-modify"===e||"select-assignees-modify"===e)return!1;var n=[];return $(this).parent().find(".item").each((function(){$(this).hasClass("checked")?(n.push($(this).data("id")),$($(this).data("id-selector")).removeClass("hide")):$($(this).data("id-selector")).addClass("hide")})),0===n.length?i.removeClass("hide"):i.addClass("hide"),$($(this).parent().data("id")).val(n.join(",")),!1})),o.find(".no-select.item").on("click",(function(t){if(t.preventDefault(),r&&Du(o.data("update-url"),"clear",o.data("issue-id"),"").then(qu),$(this).parent().find(".item").each((function(){$(this).removeClass("checked"),$(this).find(".octicon").addClass("invisible")})),"select-reviewers-modify"===e||"select-assignees-modify"===e)return!1;n.find(".item").each((function(){$(this).addClass("hide")})),i.removeClass("hide"),$($(this).parent().data("id")).val("")}))}function a(e,t){var n=$("".concat(e," .menu")),i=$(".ui".concat(e,".list")),o="update"===n.data("action");n.find(".item:not(.no-select)").on("click",(function(){$(this).parent().find(".item").each((function(){$(this).removeClass("selected active")})),$(this).addClass("selected active"),o&&Du(n.data("update-url"),"",n.data("issue-id"),$(this).data("id")).then(qu);var r="";"#milestone_id"===t?r=qs("octicon-milestone",18,"mr-3"):"#project_id"===t?r=qs("octicon-project",18,"mr-3"):"#assignee_id"===t&&(r='<img class="ui avatar image mr-3" src='.concat($(this).data("avatar"),">")),i.find(".selected").html('\n <a class="item muted sidebar-item-link" href='.concat($(this).data("href"),">\n ").concat(r,"\n ").concat((0,Ss.T)($(this).text()),"\n </a>\n ")),$(".ui".concat(e,".list .no-select")).addClass("hide"),$(t).val($(this).data("id"))})),n.find(".no-select.item").on("click",(function(){$(this).parent().find(".item:not(.no-select)").each((function(){$(this).removeClass("selected active")})),o&&Du(n.data("update-url"),"",n.data("issue-id"),$(this).data("id")).then(qu),i.find(".selected").html(""),i.find(".no-select").removeClass("hide"),$(t).val("")}))}}function Uu(){0!==$(".repository.view.issue .timeline").length&&($(".re-request-review").on("click",(function(e){var t=$(this).data("update-url"),n=$(this).data("issue-id"),i=$(this).data("id"),o=$(this).hasClass("checked");return e.preventDefault(),Du(t,o?"detach":"attach",n,i).then(qu),!1})),$(".dismiss-review-btn").on("click",(function(e){e.preventDefault(),$(this).next().modal("show")})),$(document).on("click",(function(e){var t=$(":target");if(0!==t.length){var n=t.attr("id");if(n)if(/^(issue|pull)(comment)?-\d+$/.test(n))if(0===$(e.target).closest("#".concat(n)).length){var i=$(window).scrollTop();window.location.hash="",$(window).scrollTop(i),window.history.pushState(null,null," ")}}})))}function Bu(e,t,n){$.ajax({url:t,type:"POST",data:{_csrf:Tu},complete:function(i){if(200===i.status){if(!i.responseJSON)return void e.closest(".dropdown").children("i").removeClass("loading");i.responseJSON.complete?(e.closest(".dropdown").children("i").removeClass("loading"),window.location.href=t):(e.closest(".dropdown").children("i").addClass("loading"),setTimeout((function(){Bu(e,t,!1)}),n?750:2e3))}}})}function Vu(){0!==$(".archive-link").length&&$(".archive-link").on("click",(function(e){var t=$(this).data("url");void 0!==t&&(e.preventDefault(),Bu($(e.target),t,!0))}))}function Wu(){return Qu.apply(this,arguments)}function Qu(){return(Qu=r()(i().mark((function e(){var t,n,o,a,s,l,c,u;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=function(e){var t=$(e);t.dropdown({fullTextSearch:!0,selectOnKeydown:!1,onChange:function(e,t,n){n.data("url")&&(window.location.href=n.data("url"))},message:{noResults:t.data("no-results")}})},0!==$(".repository").length){e.next=3;break}return e.abrupt("return");case 3:$(".commit-statuses-trigger").each((function(){$(this).popup({on:"click",position:$(".repository.file.list").length>0?"right center":"left center"})})),($(".repository.file.list").length>0||".repository.commits".length>0)&&Cd(".choose.reference .dropdown"),$(".repository.wiki.view").length>0&&t(".choose.page .dropdown"),$(".repository.settings.options").length>0&&($(".enable-system").on("change",(function(){this.checked?($($(this).data("target")).removeClass("disabled"),$(this).data("context")||$($(this).data("context")).addClass("disabled")):($($(this).data("target")).addClass("disabled"),$(this).data("context")||$($(this).data("context")).removeClass("disabled"))})),$(".enable-system-radio").on("change",(function(){"false"===this.value?($($(this).data("target")).addClass("disabled"),void 0!==$(this).data("context")&&$($(this).data("context")).removeClass("disabled")):"true"===this.value&&($($(this).data("target")).removeClass("disabled"),void 0!==$(this).data("context")&&$($(this).data("context")).addClass("disabled"))}))),$(".repository.labels").length>0&&Ou(),$(".repository.new.milestone").length>0&&$("#clear-date").on("click",(function(){return $("#deadline").val(""),!1})),$(".repository.new.repo").length>0&&$('input[name="gitignores"], input[name="license"]').on("change",(function(){var e=$('input[name="gitignores"]').val(),t=$('input[name="license"]').val();(e||t)&&$('input[name="auto_init"]').prop("checked",!0)})),$(".repository.view.issue").length>0&&(n=$("#issue-title"),o=$("#edit-title-input input"),a=function(){return n.toggle(),$(".not-in-edit").toggle(),$("#edit-title-input").toggle(),$("#pull-desc").toggle(),$("#pull-desc-edit").toggle(),$(".in-edit").toggle(),$("#issue-title-wrapper").toggleClass("edit-active"),o.focus(),!1},s=function(){var e=$("#pull-target-branch"),t=e.data("basename"),n=$(this).data("branch"),i=e.data("branch");e.html(e.html().replace("".concat(t,":").concat(i),"".concat(t,":").concat(n))),e.data("branch",n)},$("#branch-select > .item").on("click",s),$("#edit-title").on("click",a),$("#cancel-edit-title").on("click",a),$("#save-edit-title").on("click",a).on("click",(function(){var e=function(e){var t=$("#pull-target-branch").data("branch"),n=$("#branch_target");if(t===n.text())return!1;$.post(e,{_csrf:Tu,target_branch:t}).done((function(e){n.text(e.base_branch)})).always((function(){qu()}))},t=$(this).data("target-update-url");return 0===o.val().length||o.val()===n.text()?(o.val(n.text()),e(t)):$.post($(this).data("update-url"),{_csrf:Tu,title:o.val()},(function(i){o.val(i.title),n.text(i.title),e(t),qu()})),!1})),Uu(),$(".context-dropdown").dropdown({action:"hide"}),$(document).on("click",".quote-reply",(function(e){$(this).closest(".dropdown").find(".menu").toggle("visible");var t=$(this).data("target"),n=$("#comment-".concat(t)).text().replace(/\n/g,"\n> "),i="> ".concat(n,"\n\n"),o=xu;if($(this).hasClass("quote-reply-diff")){var r=$(this).closest(".comment-code-cloud");r.find("button.comment-form-reply").trigger("click"),o=r.find('[name="content"]').data("simplemde")}null!==o&&(""!==o.value()?o.value("".concat(o.value(),"\n\n").concat(i)):o.value("".concat(i))),requestAnimationFrame((function(){o.codemirror.focus(),o.codemirror.setCursor(o.codemirror.lineCount(),0)})),e.preventDefault()})),$(document).on("click",".reference-issue",(function(e){var t=$(this);t.closest(".dropdown").find(".menu").toggle("visible");var n=$("#comment-".concat(t.data("target"))).text(),i=n.split("\n",1)[0].slice(0,255),o=t.data("poster"),r=t.data("reference"),a=$(t.data("modal"));a.find('input[name="title"').val(i),a.find('textarea[name="content"]').val("".concat(n,"\n\n_Originally posted by @").concat(o," in ").concat(r,"_")),a.modal("show"),e.preventDefault()})),$(document).on("click",".edit-content",function(){var e=r()(i().mark((function e(t){var n,o,r,a,s,l,c,u,d,f,p,m;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if($(this).closest(".dropdown").find(".menu").toggle("visible"),n=$(this).closest(".header").next(),o=n.find(".edit-content-zone"),r=n.find(".render-content"),a=n.find(".raw-content"),0!==o.html().length){e.next=34;break}if(o.html($("#edit-content-form").html()),nc((s=o.find("textarea")).get(),{mentions:!0,emoji:!0}),u=o.find(".dropzone"),d=o.find(".comment-files"),!(u.length>0)){e.next=18;break}return u.data("saved",!1),f={},e.next=16,rc(u[0],{url:u.data("upload-url"),headers:{"X-Csrf-Token":Tu},maxFiles:u.data("max-file"),maxFilesize:u.data("max-size"),acceptedFiles:["*/*",""].includes(u.data("accepts"))?null:u.data("accepts"),addRemoveLinks:!0,dictDefaultMessage:u.data("default-message"),dictInvalidFileType:u.data("invalid-input-type"),dictFileTooBig:u.data("file-too-big"),dictRemoveFile:u.data("remove-file"),timeout:0,thumbnailMethod:"contain",thumbnailWidth:480,thumbnailHeight:480,init:function(){this.on("success",(function(e,t){f[e.name]={uuid:t.uuid,submitted:!1};var n=$('<input id="'.concat(t.uuid,'" name="files" type="hidden">')).val(t.uuid);d.append(n)})),this.on("removedfile",(function(e){e.name in f&&($("#".concat(f[e.name].uuid)).remove(),u.data("remove-url")&&!f[e.name].submitted&&$.post(u.data("remove-url"),{file:f[e.name].uuid,_csrf:Tu}))})),this.on("submit",(function(){$.each(f,(function(e){f[e].submitted=!0}))})),this.on("reload",(function(){$.getJSON(o.data("attachment-url"),(function(e){c.removeAllFiles(!0),d.empty(),$.each(e,(function(){var e="".concat(u.data("link-url"),"/").concat(this.uuid);c.emit("addedfile",this),c.emit("thumbnail",this,e),c.emit("complete",this),c.files.push(this),f[this.name]={submitted:!0,uuid:this.uuid},u.find("img[src='".concat(e,"']")).css("max-width","100%");var t=$('<input id="'.concat(this.uuid,'" name="files" type="hidden">')).val(this.uuid);d.append(t)}))}))}))}});case 16:(c=e.sent).emit("reload");case 18:p=o.find(".ui.comment.form"),(m=p.find(".tabular.menu")).attr("data-write",o.data("write")),m.attr("data-preview",o.data("preview")),m.find(".write.item").attr("data-tab",o.data("write")),m.find(".preview.item").attr("data-tab",o.data("preview")),p.find(".write").attr("data-tab",o.data("write")),p.find(".preview").attr("data-tab",o.data("preview")),l=Ju(s),Au[o.data("write")]=l,$u(p),zu(l,d),o.find(".cancel.button").on("click",(function(){r.show(),o.hide(),c&&c.emit("reload")})),o.find(".save.button").on("click",(function(){r.show(),o.hide();var e=d.find("[name=files]").map((function(){return $(this).val()})).get();$.post(o.data("update-url"),{_csrf:Tu,content:s.val(),context:o.data("context"),files:e},(function(e){0===e.length||0===e.content.length?r.html($("#no-content").html()):r.html(e.content);var t=n;t.find(".dropzone-attachments").length?""===e.attachments?t.find(".dropzone-attachments").remove():t.find(".dropzone-attachments").replaceWith(e.attachments):""!==e.attachments&&(t.append('\n <div class="dropzone-attachments">\n </div>\n '),t.find(".dropzone-attachments").replaceWith(e.attachments)),c&&(c.emit("submit"),c.emit("reload")),$l()}))})),e.next=36;break;case 34:s=n.find("textarea"),l=Au[o.data("write")];case 36:o.show(),r.hide(),0===s.val().length&&(s.val(a.text()),l.value(a.text())),requestAnimationFrame((function(){s.focus(),l.codemirror.focus()})),t.preventDefault();case 41:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()),$(document).on("click",".delete-comment",(function(){var e=$(this);return window.confirm(e.data("locale"))&&$.post(e.data("url"),{_csrf:Tu}).done((function(){var t=e.closest(".conversation-holder");if($("#".concat(e.data("comment-id"))).remove(),t.length&&!t.find(".comment").length){var n=t.data("path"),i=t.data("side"),o=t.data("idx");"same"===t.closest("tr").data("line-type")?$('a.add-code-comment[data-path="'.concat(n,'"][data-idx="').concat(o,'"]')).removeClass("invisible"):$('a.add-code-comment[data-path="'.concat(n,'"][data-side="').concat(i,'"][data-idx="').concat(o,'"]')).removeClass("invisible"),t.remove()}})),!1})),l=$("#status-button"),$("#comment-form textarea").on("keyup",(function(){0===$(this).val().length?l.text(l.data("status")):l.text(l.data("status-and-comment"))})),l.on("click",(function(){$("#status").val(l.data("status-val")),$("#comment-form").trigger("submit")})),(c=$(".merge-button > button")).on("click",(function(e){e.preventDefault(),$(".".concat($(this).data("do"),"-fields")).show(),$(this).parent().hide(),$(".instruct-toggle").hide(),$(".instruct-content").hide()})),$(".merge-button > .dropdown").dropdown({onChange:function(e,t,n){n.data("do")&&(c.find(".button-text").text(n.text()),c.data("do",n.data("do")))}}),$(".merge-cancel").on("click",(function(e){e.preventDefault(),$(this).closest(".form").hide(),c.parent().show(),$(".instruct-toggle").show()})),Iu()),$("#repo-clone-ssh").on("click",(function(){$(".clone-url").text($(this).data("link")),$("#repo-clone-url").val($(this).data("link")),$(this).addClass("primary"),$("#repo-clone-https").removeClass("primary"),localStorage.setItem("repo-clone-protocol","ssh")})),$("#repo-clone-https").on("click",(function(){$(".clone-url").text($(this).data("link")),$("#repo-clone-url").val($(this).data("link")),$(this).addClass("primary"),$("#repo-clone-ssh").length>0&&($("#repo-clone-ssh").removeClass("primary"),localStorage.setItem("repo-clone-protocol","https"))})),$("#repo-clone-url").on("click",(function(){$(this).select()})),(u=$(".repository.compare.pull")).length>0&&(t(".choose.branch .dropdown"),u.find("button.show-form").on("click",(function(e){e.preventDefault(),u.find(".pullrequest-form").show(),xu.codemirror.refresh(),$(this).parent().hide()}))),$(".repository.settings.branches").length>0&&(t(".protected-branches .dropdown"),$(".enable-protection, .enable-whitelist, .enable-statuscheck").on("change",(function(){this.checked?$($(this).data("target")).removeClass("disabled"):$($(this).data("target")).addClass("disabled")})),$(".disable-whitelist").on("change",(function(){this.checked&&$($(this).data("target")).addClass("disabled")}))),$(".language-stats").length>0&&$(".language-stats").on("click",(function(e){e.preventDefault(),$(".language-stats-details, .repository-menu").slideToggle()}));case 18:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Gu(){if(window.location.hash&&window.location.hash.startsWith("#issuecomment-")){var e=$(window.location.hash);if(e){var t=e.closest('div[id^="code-comments-"]').attr("id");if(t&&t.startsWith("code-comments-")){var n=t.substr(14);$("#show-outdated-".concat(n)).addClass("hide"),$("#code-comments-".concat(n)).removeClass("hide"),$("#code-preview-".concat(n)).removeClass("hide"),$("#hide-outdated-".concat(n)).removeClass("hide"),$(window).scrollTop(e.offset().top)}}}$(document).on("click",".show-outdated",(function(e){e.preventDefault();var t=$(this).data("comment");$(this).addClass("hide"),$("#code-comments-".concat(t)).removeClass("hide"),$("#code-preview-".concat(t)).removeClass("hide"),$("#hide-outdated-".concat(t)).removeClass("hide")})),$(document).on("click",".hide-outdated",(function(e){e.preventDefault();var t=$(this).data("comment");$(this).addClass("hide"),$("#code-comments-".concat(t)).addClass("hide"),$("#code-preview-".concat(t)).addClass("hide"),$("#show-outdated-".concat(t)).removeClass("hide")})),$(document).on("click","button.comment-form-reply",(function(e){e.preventDefault(),$(this).hide();var t=$(this).parent().find(".comment-form");t.removeClass("hide");var n,i=t.find("textarea");i.data("simplemde")?n=i.data("simplemde"):(nc(i.get(),{mentions:!0,emoji:!0}),n=Ju(i),i.data("simplemde",n)),i.focus(),n.codemirror.focus(),Xu(t.find(".menu"))})),0!==$(".repository.pull.diff").length&&($(".btn-review").on("click",(function(e){e.preventDefault(),$(this).closest(".dropdown").find(".menu").toggle("visible")})).closest(".dropdown").find(".close").on("click",(function(e){e.preventDefault(),$(this).closest(".menu").toggle("visible")})),$("a.add-code-comment").on("click",function(){var e=r()(i().mark((function e(t){var n,o,r,a,s,l,c,u,d,f,p,m;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!$(t.target).hasClass("btn-add-single")){e.next=2;break}return e.abrupt("return");case 2:if(t.preventDefault(),n=$(this).closest(".code-diff").hasClass("code-diff-split"),o=$(this).data("side"),r=$(this).data("idx"),a=$(this).data("path"),s=$(this).closest("tr"),l=s.data("line-type"),(c=s.next()).hasClass("add-comment")||(c=$('\n <tr class="add-comment" data-line-type="'.concat(l,'">\n ').concat(n?'\n <td class="lines-num"></td>\n <td class="lines-type-marker"></td>\n <td class="add-comment-left"></td>\n <td class="lines-num"></td>\n <td class="lines-type-marker"></td>\n <td class="add-comment-right"></td>\n ':'\n <td colspan="2" class="lines-num"></td>\n <td class="add-comment-left add-comment-right" colspan="2"></td>\n ',"\n </tr>")),s.after(c)),u=c.find(".add-comment-".concat(o)),0!==(d=u.find(".comment-code-cloud")).length||c.find('button[name="is_review"]').length){e.next=28;break}return e.next=16,$.get($(this).data("new-comment-url"));case 16:f=e.sent,u.html(f),Xu((d=u.find(".comment-code-cloud")).find(".menu")),u.find("input[name='line']").val(r),u.find("input[name='side']").val("left"===o?"previous":"proposed"),u.find("input[name='path']").val(a),nc((p=d.find("textarea")).get(),{mentions:!0,emoji:!0}),m=Ju(p),p.focus(),m.codemirror.focus();case 28:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()))}function Xu(e){var t=Math.floor(Math.random()*Math.floor(1e6));return e.attr("data-write",e.attr("data-write")+t),e.attr("data-preview",e.attr("data-preview")+t),e.find(".item").each((function(){var e=$(this).attr("data-tab")+t;$(this).attr("data-tab",e)})),e.parent().find("*[data-tab='write']").attr("data-tab","write".concat(t)),e.parent().find("*[data-tab='preview']").attr("data-tab","preview".concat(t)),$u(e.parent(".form")),t}function Yu(){$(".access-mode.menu .item").on("click",(function(){var e=$(this).parent();$.post(e.data("url"),{_csrf:Tu,uid:e.data("uid"),mode:$(this).data("value")})}))}function Ku(){var e=$(".repository.wiki textarea#edit_area"),t=0,n=null,i=!0;if(e.length>0){var o=new SimpleMDE({autoDownloadFontAwesome:!1,element:e[0],forceSync:!0,previewRender:function(i,r){var a=function(){t=0,null!==n&&(clearTimeout(n),n=null),$.post(e.data("url"),{_csrf:Tu,mode:"gfm",context:e.data("context"),text:i,wiki:!0},(function(e){r.innerHTML='<div class="markdown ui segment">'.concat(e,"</div>"),$l()}))};return setTimeout((function(){o.isSideBySideActive()?(++t>10&&a(),null!==n&&(clearTimeout(n),n=null),n=setTimeout(a,600)):a()}),0),o.isSideBySideActive()?r.innerHTML:"Loading..."},renderingConfig:{singleLineBreaks:!1},indentWithTabs:!1,tabSize:4,spellChecker:!1,toolbar:["bold","italic","strikethrough","|","heading-1","heading-2","heading-3","heading-bigger","heading-smaller","|",{name:"code-inline",action:function(e){var t=e.codemirror,n=t.getSelection();if(t.replaceSelection("`".concat(n,"`")),!n){var i=t.getCursor();t.setCursor(i.line,i.ch-1)}t.focus()},className:"fa fa-angle-right",title:"Add Inline Code"},"code","quote","|",{name:"checkbox-empty",action:function(e){var t=e.codemirror;t.replaceSelection("\n- [ ] ".concat(t.getSelection())),t.focus()},className:"fa fa-square-o",title:"Add Checkbox (empty)"},{name:"checkbox-checked",action:function(e){var t=e.codemirror;t.replaceSelection("\n- [x] ".concat(t.getSelection())),t.focus()},className:"fa fa-check-square-o",title:"Add Checkbox (checked)"},"|","unordered-list","ordered-list","|","link","image","table","horizontal-rule","|","clean-block","preview","fullscreen","side-by-side","|",{name:"revert-to-textarea",action:function(e){e.toTextArea(),i=!1;var t=$(".repository.wiki.new .ui.form"),n=t.find(".field.content"),o=n.data("loading");n.append('<div class="ui bottom tab markdown" data-tab="preview">'.concat(o,"</div>")),$u(t)},className:"fa fa-file",title:"Revert to simple textarea"}]});$(o.codemirror.getInputField()).addClass("js-quick-submit"),setTimeout((function(){var e=$('.repository.wiki.new .previewtabs a[data-tab="write"]'),n=$('.repository.wiki.new .previewtabs a[data-tab="preview"]'),o=$(".editor-toolbar"),r=$(".editor-toolbar button.preview"),a=$(".editor-toolbar a.fa-columns");e.on("click",(function(e){return!!i&&(e.stopImmediatePropagation(),o.hasClass("disabled-for-preview")&&r.trigger("click"),!1)})),n.on("click",(function(e){return!!i&&(e.stopImmediatePropagation(),o.hasClass("disabled-for-preview")||r.trigger("click"),!1)})),r.on("click",(function(){return setTimeout((function(){o.hasClass("disabled-for-preview")?(e.hasClass("active")&&e.removeClass("active"),n.hasClass("active")||n.addClass("active")):(e.hasClass("active")||e.addClass("active"),n.hasClass("active")&&n.removeClass("active"))}),0),!1})),a.on("click",(function(){t=10}))}),0)}}function Ju(e){var t=new SimpleMDE({autoDownloadFontAwesome:!1,element:e[0],forceSync:!0,renderingConfig:{singleLineBreaks:!1},indentWithTabs:!1,tabSize:4,spellChecker:!1,toolbar:["bold","italic","strikethrough","|","heading-1","heading-2","heading-3","heading-bigger","heading-smaller","|","code","quote","|",{name:"checkbox-empty",action:function(e){var t=e.codemirror;t.replaceSelection("\n- [ ] ".concat(t.getSelection())),t.focus()},className:"fa fa-square-o",title:"Add Checkbox (empty)"},{name:"checkbox-checked",action:function(e){var t=e.codemirror;t.replaceSelection("\n- [x] ".concat(t.getSelection())),t.focus()},className:"fa fa-check-square-o",title:"Add Checkbox (checked)"},"|","unordered-list","ordered-list","|","link","image","table","horizontal-rule","|","clean-block","|",{name:"revert-to-textarea",action:function(e){e.toTextArea()},className:"fa fa-file",title:"Revert to simple textarea"}]});return $(t.codemirror.getInputField()).addClass("js-quick-submit"),t.codemirror.setOption("extraKeys",{Enter:function(){var e=document.querySelector(".tribute-container");if(!e||"none"===e.style.display)return CodeMirror.Pass},Backspace:function(e){e.getInputField().trigger&&e.getInputField().trigger("input"),e.execCommand("delCharBefore")}}),nc(t.codemirror.getInputField(),{mentions:!0,emoji:!0}),t}function Zu(){return ed.apply(this,arguments)}function ed(){return(ed=r()(i().mark((function e(){var t,n,o,r,a;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if($(".js-quick-pull-choice-option").on("change",(function(){"commit-to-new-branch"===$(this).val()?($(".quick-pull-branch-name").show(),$(".quick-pull-branch-name input").prop("required",!0)):($(".quick-pull-branch-name").hide(),$(".quick-pull-branch-name input").prop("required",!1)),$("#commit-button").text($(this).attr("button_text"))})),(t=$("#file-name")).on("keyup",(function(e){var t,n,i=$(".breadcrumb span.section"),o=$(".breadcrumb div.divider");if(8===e.keyCode&&0===$(this).getCursorPosition()&&i.length>0&&(t=i.last().find("a").text(),$(this).val(t+$(this).val()),$(this)[0].setSelectionRange(t.length,t.length),i.last().remove(),o.last().remove()),191===e.keyCode){n=$(this).val().split("/");for(var r=0;r<n.length;++r)t=n[r],r<n.length-1?t.length&&($('<span class="section"><a href="#">'.concat(t,"</a></span>")).insertBefore($(this)),$('<div class="divider"> / </div>').insertBefore($(this))):$(this).val(t),$(this)[0].setSelectionRange(0,0)}n=[],$(".breadcrumb span.section").each((function(){var e=$(this);e.find("a").length?n.push(e.find("a").text()):n.push(e.text())})),$(this).val()&&n.push($(this).val()),$("#tree_path").val(n.join("/"))})).trigger("keyup"),(n=$(".repository.editor textarea#edit_area")).length){e.next=6;break}return e.abrupt("return");case 6:return e.next=8,vu(n[0],t[0],wu);case 8:o=$("#commit-button"),r=$(".ui.edit.form"),a="dirty-file","true"!==$('input[name="page_has_posted"]').val()&&o.prop("disabled",!0),r.areYouSure({silent:!0,dirtyClass:a,fieldSelector:":input:not(.commit-form-wrapper :input)",change:function(){var e=$(this).hasClass(a);o.prop("disabled",!e)}}),o.on("click",(function(e){0===n.val().length&&($("#edit-empty-content-modal").modal({onApprove:function(){$(".edit.form").trigger("submit")}}).modal("show"),e.preventDefault())}));case 14:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function td(){var e=$(".repository.new.release .content-editor");if(0===e.length)return!1;var t=e.find("textarea");nc(t.get(),{mentions:!1,emoji:!0});var n=e.parent().find(".files"),i=Ju(t);$u(e),zu(i,n)}function nd(){$(".user.settings.profile").length>0&&$("#username").on("keyup",(function(){var e=$("#name-change-prompt"),t=$("#name-change-redirect-prompt");$(this).val().toString().toLowerCase()!==$(this).data("name").toString().toLowerCase()?(e.show(),t.show()):(e.hide(),t.hide())}))}function id(){return od.apply(this,arguments)}function od(){return(od=r()(i().mark((function e(){var t;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(0!==$(".edit.githook").length){e.next=2;break}return e.abrupt("return");case 2:return t=document.querySelector(".hook-filename").textContent,e.next=5,mu($("#content")[0],t,{language:"shell"});case 5:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function rd(){if(0!==$(".new.webhook").length){$(".events.checkbox input").on("change",(function(){$(this).is(":checked")&&$(".events.fields").show()})),$(".non-events.checkbox input").on("change",(function(){$(this).is(":checked")&&$(".events.fields").hide()}));var e=function(){var e="POST"===$("#http_method").val();$("#content_type").parent().parent()[e?"show":"hide"]()};e(),$("#http_method").on("change",(function(){e()})),$("#test-delivery").on("click",(function(){var e=$(this);e.addClass("loading disabled"),$.post(e.data("link"),{_csrf:Tu}).done(setTimeout((function(){window.location.href=e.data("redirect")}),5e3))}))}}function ad(){if(0!==$(".admin").length){if(($(".admin.new.user").length>0||$(".admin.edit.user").length>0)&&$("#login_type").on("change",(function(){"0"===$(this).val().substring(0,1)?($("#user_name").removeAttr("disabled"),$("#login_name").removeAttr("required"),$(".non-local").hide(),$(".local").show(),$("#user_name").focus(),"required"===$(this).data("password")&&$("#password").attr("required","required")):($("#user_name").attr("disabled","disabled"),$("#login_name").attr("required","required"),$(".non-local").show(),$(".local").hide(),$("#login_name").focus(),$("#password").removeAttr("required"))})),$(".admin.new.authentication").length>0&&($("#auth_type").on("change",(function(){$(".ldap, .dldap, .smtp, .pam, .oauth2, .has-tls, .search-page-size, .sspi").hide(),$(".ldap input[required], .binddnrequired input[required], .dldap input[required], .smtp input[required], .pam input[required], .oauth2 input[required], .has-tls input[required], .sspi input[required]").removeAttr("required"),$(".binddnrequired").removeClass("required");var e=$(this).val();switch(e){case"2":$(".ldap").show(),$(".binddnrequired input, .ldap div.required:not(.dldap) input").attr("required","required"),$(".binddnrequired").addClass("required");break;case"3":$(".smtp").show(),$(".has-tls").show(),$(".smtp div.required input, .has-tls").attr("required","required");break;case"4":$(".pam").show(),$(".pam input").attr("required","required");break;case"5":$(".dldap").show(),$(".dldap div.required:not(.ldap) input").attr("required","required");break;case"6":$(".oauth2").show(),$(".oauth2 div.required:not(.oauth2_use_custom_url,.oauth2_use_custom_url_field,.open_id_connect_auto_discovery_url) input").attr("required","required"),r(!0);break;case"7":$(".sspi").show(),$(".sspi div.required input").attr("required","required")}"2"!==e&&"5"!==e||(i(),s()),"2"===e&&o()})),$("#auth_type").trigger("change"),$("#security_protocol").on("change",i),$("#use_paged_search").on("change",o),$("#oauth2_provider").on("change",(function(){return r(!0)})),$("#oauth2_use_custom_url").on("change",(function(){return a(!0)})),$("#groups_enabled").on("change",s)),$(".admin.edit.authentication").length>0){var e=$("#auth_type").val();"2"===e||"5"===e?($("#security_protocol").on("change",i),$("#groups_enabled").on("change",s),s(),"2"===e&&$("#use_paged_search").on("change",o)):"6"===e&&($("#oauth2_provider").on("change",(function(){return r(!0)})),$("#oauth2_use_custom_url").on("change",(function(){return a(!1)})),r(!1))}if($(".admin.notice")){var t=$("#detail-modal");$(".view-detail").on("click",(function(){return t.find(".content pre").text($(this).parents("tr").find(".notice-description").text()),t.find(".sub.header").text($(this).parents("tr").find(".notice-created-time").text()),t.modal("show"),!1}));var n=$(".select.table .ui.checkbox");$(".select.action").on("click",(function(){switch($(this).data("action")){case"select-all":n.checkbox("check");break;case"deselect-all":n.checkbox("uncheck");break;case"inverse":n.checkbox("toggle")}})),$("#delete-selection").on("click",(function(){var e=$(this);e.addClass("loading disabled");var t=[];n.each((function(){$(this).checkbox("is checked")&&t.push($(this).data("id"))})),$.post(e.data("link"),{_csrf:Tu,ids:t}).done((function(){window.location.href=e.data("redirect")}))}))}}function i(){$("#security_protocol").val()>0?$(".has-tls").show():$(".has-tls").hide()}function o(){$("#use_paged_search").prop("checked")?$(".search-page-size").show().find("input").attr("required","required"):$(".search-page-size").hide().find("input").removeAttr("required")}function r(e){switch($(".open_id_connect_auto_discovery_url, .oauth2_use_custom_url").hide(),$(".open_id_connect_auto_discovery_url input[required]").removeAttr("required"),$("#oauth2_provider").val()){case"gitea":case"nextcloud":case"mastodon":$("#oauth2_use_custom_url").attr("checked","checked");case"github":case"gitlab":$(".oauth2_use_custom_url").show();break;case"openidConnect":$(".open_id_connect_auto_discovery_url input").attr("required","required"),$(".open_id_connect_auto_discovery_url").show()}a(e)}function a(e){var t=$("#oauth2_provider").val();if($(".oauth2_use_custom_url_field").hide(),$(".oauth2_use_custom_url_field input[required]").removeAttr("required"),$("#oauth2_use_custom_url").is(":checked"))switch(e&&($("#oauth2_token_url").val($("#".concat(t,"_token_url")).val()),$("#oauth2_auth_url").val($("#".concat(t,"_auth_url")).val()),$("#oauth2_profile_url").val($("#".concat(t,"_profile_url")).val()),$("#oauth2_email_url").val($("#".concat(t,"_email_url")).val())),t){case"github":$(".oauth2_token_url input, .oauth2_auth_url input, .oauth2_profile_url input, .oauth2_email_url input").attr("required","required"),$(".oauth2_token_url, .oauth2_auth_url, .oauth2_profile_url, .oauth2_email_url").show();break;case"nextcloud":case"gitea":case"gitlab":$(".oauth2_token_url input, .oauth2_auth_url input, .oauth2_profile_url input").attr("required","required"),$(".oauth2_token_url, .oauth2_auth_url, .oauth2_profile_url").show(),$("#oauth2_email_url").val("");break;case"mastodon":$(".oauth2_auth_url input").attr("required","required"),$(".oauth2_auth_url").show()}}function s(){$("#groups_enabled").is(":checked")?$("#groups_enabled_change").show():$("#groups_enabled_change").hide()}}function sd(){$(".ui.button").on("keypress",(function(e){13!==e.keyCode&&32!==e.keyCode||$(this).trigger("click")}))}function ld(){var e=$(".code-view td.lines-code.active").parent();$(".code-view-menu-list").appendTo($(".code-view")),$(".code-line-marker").remove();var t=$("<div>",{class:"code-line-marker"}).prependTo(e.find("td:eq(0)").get(0)).hide(),n=$("<a>",{class:"code-line-link"}).appendTo(t);$("<i>",{class:"dropdown icon",style:"margin: 0px;"}).appendTo(n),t.css({left:"-7px",display:"block"}),$(".code-view-menu-list").css({"min-width":"220px"}),$(".code-line-link").popup({popup:$(".code-view-menu-list"),on:"click",lastResort:"bottom left"})}function cd(){$(".code-view .lines-num").length>0&&($(document).on("click",".lines-num span",(function(e){var t,n=$(this);vd(t=$("div.blame").length?$(".code-view td.lines-code li"):$(".code-view td.lines-code"),t.filter("[rel=".concat(n.attr("id"),"]")),e.shiftKey?t.filter(".active").eq(0):null),window.getSelection?window.getSelection().removeAllRanges():document.selection.empty(),ld()})),$(window).on("hashchange",(function(){var e,t,n=window.location.hash.match(/^#(L\d+)-(L\d+)$/);if(e=$("div.blame").length?$(".code-view td.lines-code li"):$(".code-view td.lines-code"),n)return t=e.filter("[rel=".concat(n[1],"]")),vd(e,t,e.filter("[rel=".concat(n[2],"]"))),ld(),void $("html, body").scrollTop(t.offset().top-200);(n=window.location.hash.match(/^#(L|n)(\d+)$/))&&(t=e.filter("[rel=L".concat(n[2],"]")),vd(e,t),ld(),$("html, body").scrollTop(t.offset().top-200))})).trigger("hashchange")),$(document).on("click",".fold-file",(function(e){var t=e.currentTarget,n=t.closest(".file-content"),i="true"!==n.dataset.folded;t.innerHTML=qs("octicon-chevron-".concat(i?"right":"down"),18),n.dataset.folded=String(i)})),$(document).on("click",".blob-excerpt",function(){var e=r()(i().mark((function e(t){var n,o,r,a,s,l;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.currentTarget,o=n.dataset,r=o.url,a=o.query,s=o.anchor,r){e.next=4;break}return e.abrupt("return");case 4:return e.next=6,$.get("".concat(r,"?").concat(a,"&anchor=").concat(s));case 6:l=e.sent,n.closest("tr").outerHTML=l;case 8:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())}function ud(e){$.ajax({url:"".concat(Cu,"/user/u2f/sign"),type:"POST",headers:{"X-Csrf-Token":Tu},data:JSON.stringify(e),contentType:"application/json; charset=utf-8"}).done((function(e){window.location.replace(e)})).fail((function(){fd(1)}))}function dd(e){(function(e){if(!("errorCode"in e))return!1;if(0===e.errorCode)return!1;return fd(e.errorCode),!0})(e)||$.ajax({url:"".concat(Cu,"/user/settings/security/u2f/register"),type:"POST",headers:{"X-Csrf-Token":Tu},data:JSON.stringify(e),contentType:"application/json; charset=utf-8",success:function(){qu()},fail:function(){fd(1)}})}function fd(e){var t={browser:$("#unsupported-browser"),1:$("#u2f-error-1"),2:$("#u2f-error-2"),3:$("#u2f-error-3"),4:$("#u2f-error-4"),5:$(".u2f_error_5")};t[e].removeClass("hide"),Object.keys(t).forEach((function(n){n!==e&&t[n].addClass("hide")})),$("#u2f-error").modal("show")}function pd(){$.post("".concat(Cu,"/user/settings/security/u2f/request_register"),{_csrf:Tu,name:$("#nickname").val()}).done((function(e){$("#nickname").closest("div.field").removeClass("error"),$("#register-device").modal("show"),null===e.registeredKeys&&(e.registeredKeys=[]),u2fApi.register(e.appId,e.registerRequests,e.registeredKeys,30).then(dd).catch((function(e){fd(void 0!==e?e.metaData.code:1)}))})).fail((function(e){409===e.status&&$("#nickname").closest("div.field").addClass("error")}))}function md(){var e=$("#repo_template"),t=function(){var t=$("#template_units"),n=$("#non_template");""!==e.val()&&"0"!==e.val()?(t.show(),n.hide()):(t.hide(),n.show())};e.on("change",t),t();var n=function(){$("#repo_template_search").dropdown({apiSettings:{url:"".concat(Cu,"/api/v1/repos/search?q={query}&template=true&priority_owner_id=").concat($("#uid").val()),onResponse:function(e){var t={success:!0,results:[]};return t.results.push({name:"",value:""}),$.each(e.data,(function(e,n){t.results.push({name:(0,Ss.T)(n.full_name),value:n.id})})),t},cache:!1},fullTextSearch:!0})};$("#uid").on("change",n),n()}function hd(){var e=$(".page-content.user.link-account");if(0===e.length)return!1;var t=e.find('.item[data-tab="auth-link-signin-tab"]'),n=e.find('.item[data-tab="auth-link-signup-tab"]'),i=e.find('.tab[data-tab="auth-link-signin-tab"]'),o=e.find('.tab[data-tab="auth-link-signup-tab"]');n.on("click",(function(){return t.removeClass("active"),i.removeClass("active"),n.addClass("active"),o.addClass("active"),!1})),t.on("click",(function(){n.removeClass("active"),o.removeClass("active"),t.addClass("active"),i.addClass("active")}))}function gd(e){window.history.pushState?window.history.pushState(null,null,e):window.location.hash=e}function vd(e,t,n){if(e.removeClass("active"),n){var i,o=parseInt(t.attr("rel").substr(1)),r=parseInt(n.attr("rel").substr(1));if(o!==r){o>r&&(i=o,o=r,r=i);for(var a=[],s=o;s<=r;s++)a.push("[rel=L".concat(s,"]"));e.filter(a.join(",")).addClass("active"),gd("#L".concat(o,"-L").concat(r));var l=$("a.ref-in-new-issue"),c=l.attr("href").match(/%23L\d+$|%23L\d+-L\d+$/);return void(c?l.attr("href",l.attr("href").replace(l.attr("href").substr(c.index),"%23L".concat(o,"-L").concat(r))):l.attr("href","".concat(l.attr("href"),"%23L").concat(o,"-L").concat(r)))}}t.addClass("active"),gd("#".concat(t.attr("rel")));var u=$("a.ref-in-new-issue"),d=u.attr("href").match(/%23L\d+$|%23L\d+-L\d+$/);d?u.attr("href",u.attr("href").replace(u.attr("href").substr(d.index),"%23".concat(t.attr("rel")))):u.attr("href","".concat(u.attr("href"),"%23").concat(t.attr("rel")))}function bd(){var e=$(this),t="";e.attr("id")&&(t+="#".concat(e.attr("id")));var n=$(".delete.modal".concat(t));return n.find(".name").text(e.data("name")),n.modal({closable:!1,onApprove:function(){"form"!==e.data("type")?$.post(e.data("url"),{_csrf:Tu,id:e.data("id")}).done((function(e){window.location.href=e.redirect})):$(e.data("form")).trigger("submit")}}).modal("show"),!1}function yd(){var e=$(this),t="";e.attr("id")&&(t+="#".concat(e.attr("id")));var n=$(".addall.modal".concat(t));return n.find(".name").text(e.data("name")),n.modal({closable:!1,onApprove:function(){"form"!==e.data("type")?$.post(e.data("url"),{_csrf:Tu,id:e.data("id")}).done((function(e){window.location.href=e.redirect})):$(e.data("form")).trigger("submit")}}).modal("show"),!1}function jd(e){e.preventDefault();var t=$(this),n=t.data("redirect");$.post(t.data("url"),{_csrf:Tu}).done((function(e){e.redirect?window.location.href=e.redirect:n?window.location.href=n:window.location.reload()}))}function _d(){var e=$(this);$.post(e.data("url")).always((function(){window.location.reload()}))}function wd(e){var t=$(this);$("#form-uid").val(t.data("uid")),$("#form-email").val(t.data("email")),$("#form-primary").val(t.data("primary")),$("#form-activate").val(t.data("activate")),$("#form-uid").val(t.data("uid")),$("#change-email-modal").modal("show"),e.preventDefault()}function xd(){var e=document.getElementById("app");e&&(!function(){for(var e=0,n=Object.entries(Fs);e<n.length;e++){var i=t()(n[e],2),o=i[0],r=i[1].replace(/height="[0-9]+"/,'v-bind:height="size"').replace(/width="[0-9]+"/,'v-bind:width="size"');Cs.component(o,{props:{size:{type:String,default:"16"}},template:r})}Cs.component("repo-search",{delimiters:["${","}"],props:{searchLimit:{type:Number,default:10},suburl:{type:String,required:!0},uid:{type:Number,required:!0},teamId:{type:Number,required:!1,default:0},organizations:{type:Array,default:function(){return[]}},isOrganization:{type:Boolean,default:!0},canCreateOrganization:{type:Boolean,default:!1},organizationsTotalCount:{type:Number,default:0},moreReposLink:{type:String,default:""}},data:function(){var e=new URLSearchParams(window.location.search),t=e.get("repo-search-tab");t||(t="repos");var n=e.get("repo-search-filter");n||(n="all");var i=e.get("repo-search-private");i||(i="both");var o=e.get("repo-search-archived");o||(o="unarchived");var r=e.get("repo-search-query");r||(r="");var a=1;try{a=parseInt(e.get("repo-search-page"))}catch(e){}return a||(a=1),{tab:t,repos:[],reposTotalCount:0,reposFilter:n,archivedFilter:o,privateFilter:i,page:a,finalPage:1,searchQuery:r,isLoading:!1,staticPrefix:Su,counts:{},repoTypes:{all:{searchMode:""},forks:{searchMode:"fork"},mirrors:{searchMode:"mirror"},sources:{searchMode:"source"},collaborative:{searchMode:"collaborative"}}}},computed:{showMoreReposLink:function(){return this.repos.length>0&&this.repos.length<this.counts["".concat(this.reposFilter,":").concat(this.archivedFilter,":").concat(this.privateFilter)]},searchURL:function(){return"".concat(this.suburl,"/api/v1/repos/search?sort=updated&order=desc&uid=").concat(this.uid,"&team_id=").concat(this.teamId,"&q=").concat(this.searchQuery,"&page=").concat(this.page,"&limit=").concat(this.searchLimit,"&mode=").concat(this.repoTypes[this.reposFilter].searchMode).concat("all"!==this.reposFilter?"&exclusive=1":"").concat("archived"===this.archivedFilter?"&archived=true":"").concat("unarchived"===this.archivedFilter?"&archived=false":"").concat("private"===this.privateFilter?"&is_private=true":"").concat("public"===this.privateFilter?"&is_private=false":"")},repoTypeCount:function(){return this.counts["".concat(this.reposFilter,":").concat(this.archivedFilter,":").concat(this.privateFilter)]}},mounted:function(){this.searchRepos(this.reposFilter),$(this.$el).find(".poping.up").popup(),$(this.$el).find(".dropdown").dropdown(),this.setCheckboxes();var e=this;Cs.nextTick((function(){e.$refs.search.focus()}))},methods:{changeTab:function(e){this.tab=e,this.updateHistory()},setCheckboxes:function(){switch(this.archivedFilter){case"unarchived":$("#archivedFilterCheckbox").checkbox("set unchecked");break;case"archived":$("#archivedFilterCheckbox").checkbox("set checked");break;case"both":$("#archivedFilterCheckbox").checkbox("set indeterminate");break;default:this.archivedFilter="unarchived",$("#archivedFilterCheckbox").checkbox("set unchecked")}switch(this.privateFilter){case"public":$("#privateFilterCheckbox").checkbox("set unchecked");break;case"private":$("#privateFilterCheckbox").checkbox("set checked");break;case"both":$("#privateFilterCheckbox").checkbox("set indeterminate");break;default:this.privateFilter="both",$("#privateFilterCheckbox").checkbox("set indeterminate")}},changeReposFilter:function(e){this.reposFilter=e,this.repos=[],this.page=1,Cs.set(this.counts,"".concat(e,":").concat(this.archivedFilter,":").concat(this.privateFilter),0),this.searchRepos()},updateHistory:function(){var e=new URLSearchParams(window.location.search);"repos"===this.tab?e.delete("repo-search-tab"):e.set("repo-search-tab",this.tab),"all"===this.reposFilter?e.delete("repo-search-filter"):e.set("repo-search-filter",this.reposFilter),"both"===this.privateFilter?e.delete("repo-search-private"):e.set("repo-search-private",this.privateFilter),"unarchived"===this.archivedFilter?e.delete("repo-search-archived"):e.set("repo-search-archived",this.archivedFilter),""===this.searchQuery?e.delete("repo-search-query"):e.set("repo-search-query",this.searchQuery),1===this.page?e.delete("repo-search-page"):e.set("repo-search-page","".concat(this.page));var t=e.toString();t?window.history.replaceState({},"","?".concat(t)):window.history.replaceState({},"",window.location.pathname)},toggleArchivedFilter:function(){switch(this.archivedFilter){case"both":this.archivedFilter="unarchived";break;case"unarchived":this.archivedFilter="archived";break;case"archived":this.archivedFilter="both";break;default:this.archivedFilter="unarchived"}this.page=1,this.repos=[],this.setCheckboxes(),Cs.set(this.counts,"".concat(this.reposFilter,":").concat(this.archivedFilter,":").concat(this.privateFilter),0),this.searchRepos()},togglePrivateFilter:function(){switch(this.privateFilter){case"both":this.privateFilter="public";break;case"public":this.privateFilter="private";break;case"private":default:this.privateFilter="both"}this.page=1,this.repos=[],this.setCheckboxes(),Cs.set(this.counts,"".concat(this.reposFilter,":").concat(this.archivedFilter,":").concat(this.privateFilter),0),this.searchRepos()},changePage:function(e){this.page=e,this.page>this.finalPage&&(this.page=this.finalPage),this.page<1&&(this.page=1),this.repos=[],Cs.set(this.counts,"".concat(this.reposFilter,":").concat(this.archivedFilter,":").concat(this.privateFilter),0),this.searchRepos()},searchRepos:function(){var e=this;if(this.isLoading=!0,!this.reposTotalCount){var t="".concat(this.suburl,"/api/v1/repos/search?sort=updated&order=desc&uid=").concat(this.uid,"&team_id=").concat(this.teamId,"&q=&page=1&mode=");$.getJSON(t,(function(t,n,i){e.reposTotalCount=i.getResponseHeader("X-Total-Count")}))}var n=this.repoTypes[this.reposFilter].searchMode,i=this.searchURL,o=this.searchQuery;$.getJSON(i,(function(t,r,a){if(i===e.searchURL){e.repos=t.data;var s=a.getResponseHeader("X-Total-Count");""===o&&""===n&&"both"===e.archivedFilter&&(e.reposTotalCount=s),Cs.set(e.counts,"".concat(e.reposFilter,":").concat(e.archivedFilter,":").concat(e.privateFilter),s),e.finalPage=Math.floor(s/e.searchLimit)+1,e.updateHistory()}})).always((function(){i===e.searchURL&&(e.isLoading=!1)}))},repoIcon:function(e){return e.fork?"octicon-repo-forked":e.mirror?"octicon-mirror":e.template?"octicon-repo-template":e.private?"octicon-lock":(e.internal,"octicon-repo")}}})}(),new Cs({el:e,delimiters:["${","}"],components:{ActivityTopAuthors:bc},data:function(){return{searchLimit:Number((document.querySelector("meta[name=_search_limit]")||{}).content),suburl:Cu,uid:Number((document.querySelector("meta[name=_context_uid]")||{}).content),activityTopAuthors:window.ActivityTopAuthors||[]}}}))}function kd(){$(document).on("click",".issue-add-time",(function(){$(".issue-start-time-modal").modal({duration:200,onApprove:function(){$("#add_time_manual_form").trigger("submit")}}).modal("show"),$(".issue-start-time-modal input").on("keydown",(function(e){13===(e.keyCode||e.key)&&$("#add_time_manual_form").trigger("submit")}))})),$(document).on("click",".issue-start-time, .issue-stop-time",(function(){$("#toggle_stopwatch_form").trigger("submit")})),$(document).on("click",".issue-cancel-time",(function(){$("#cancel_stopwatch_form").trigger("submit")})),$(document).on("click","button.issue-delete-time",(function(){var e='.issue-delete-time-modal[data-id="'.concat($(this).data("id"),'"]');$(e).modal({duration:200,onApprove:function(){$("".concat(e," form")).trigger("submit")}}).modal("show")}))}function Cd(e){$(e).each((function(){var e=$(this).find(".data"),t={items:[],mode:e.data("mode"),searchTerm:"",noResults:"",canCreateBranch:!1,menuVisible:!1,createTag:!1,active:0};e.find(".item").each((function(){t.items.push({name:$(this).text(),url:$(this).data("url"),branch:$(this).hasClass("branch"),tag:$(this).hasClass("tag"),selected:$(this).hasClass("selected")})})),e.remove(),new Cs({el:this,delimiters:["${","}"],data:t,computed:{filteredItems:function(){var e=this,t=this.items.filter((function(t){return("branches"===e.mode&&t.branch||"tags"===e.mode&&t.tag)&&(!e.searchTerm||t.name.toLowerCase().includes(e.searchTerm.toLowerCase()))}));return this.active=0===t.length&&this.showCreateNewBranch?0:-1,t},showNoResults:function(){return 0===this.filteredItems.length&&!this.showCreateNewBranch},showCreateNewBranch:function(){var e=this;return!(!this.canCreateBranch||!this.searchTerm)&&0===this.items.filter((function(t){return t.name.toLowerCase()===e.searchTerm.toLowerCase()})).length}},watch:{menuVisible:function(e){e&&this.focusSearchField()}},beforeMount:function(){var e=this;this.noResults=this.$el.getAttribute("data-no-results"),this.canCreateBranch="true"===this.$el.getAttribute("data-can-create-branch"),document.body.addEventListener("click",(function(t){e.$el.contains(t.target)||e.menuVisible&&Cs.set(e,"menuVisible",!1)}))},methods:{selectItem:function(e){var t=this.getSelected();null!==t&&(t.selected=!1),e.selected=!0,window.location.href=e.url},createNewBranch:function(){this.showCreateNewBranch&&$(this.$refs.newBranchForm).trigger("submit")},focusSearchField:function(){var e=this;Cs.nextTick((function(){e.$refs.searchField.focus()}))},getSelected:function(){for(var e=0,t=this.items.length;e<t;++e)if(this.items[e].selected)return this.items[e];return null},getSelectedIndexInFiltered:function(){for(var e=0,t=this.filteredItems.length;e<t;++e)if(this.filteredItems[e].selected)return e;return-1},scrollToActive:function(){var e=this.$refs["listItem".concat(this.active)];if(e&&e.length){Array.isArray(e)&&(e=e[0]);var t=this.$refs.scrollContainer;e.offsetTop<t.scrollTop?t.scrollTop=e.offsetTop:e.offsetTop+e.clientHeight>t.scrollTop+t.clientHeight&&(t.scrollTop=e.offsetTop+e.clientHeight-t.clientHeight)}},keydown:function(e){if(40===e.keyCode){if(e.preventDefault(),-1===this.active&&(this.active=this.getSelectedIndexInFiltered()),this.active+(this.showCreateNewBranch?0:1)>=this.filteredItems.length)return;this.active++,this.scrollToActive()}else if(38===e.keyCode){if(e.preventDefault(),-1===this.active&&(this.active=this.getSelectedIndexInFiltered()),this.active<=0)return;this.active--,this.scrollToActive()}else 13===e.keyCode?(e.preventDefault(),this.active>=this.filteredItems.length?this.createNewBranch():this.active>=0&&this.selectItem(this.filteredItems[this.active])):27===e.keyCode&&(e.preventDefault(),this.menuVisible=!1)}}})}))}function Sd(){var e=$("#navbar"),t=$("#navbar-expand-toggle"),n=!1;t.on("click",(function(){(n=!n)?(e.addClass("shown"),t.addClass("active")):(e.removeClass("shown"),t.removeClass("active"))}))}function Td(){var e,t,n=$("#manage_topic"),i=$("#topic_edit"),o=$("#repo-topics"),r=$("#save_topic"),a=$("#topic_edit .dropdown"),s=$("#topic_edit.ui.form"),l=(e=$("div.hide#validate_prompt"),t={countPrompt:e.children("#count_prompt").text(),formatPrompt:e.children("#format_prompt").text()},e.remove(),t);n.on("click",(function(){o.hide(),i.css("display","")})),r.on("click",(function(){var e=$("input[name=topics]").val();$.post(r.data("link"),{_csrf:Tu,topics:e},(function(t,n,r){if("ok"===r.responseJSON.status){if(o.children(".topic").remove(),e.length)for(var a=e.split(","),s=o.children("a").last(),l=0;l<a.length;l++){var c=$('<a class="ui repo-topic large label topic"></a>');c.attr("href","".concat(Cu,"/explore/repos?q=").concat(encodeURIComponent(a[l]),"&topic=1")),c.text(a[l]),c.insertBefore(s)}i.css("display","none"),o.show()}})).fail((function(t){if(422===t.status)if(t.responseJSON.invalidTopics.length>0){l.formatPrompt=t.responseJSON.message;var n=t.responseJSON.invalidTopics,i=a.children("a.ui.label");e.split(",").forEach((function(e,t){for(var o=0;o<n.length;o++)n[o]===e&&i.eq(t).removeClass("green").addClass("red")}))}else l.countPrompt=t.responseJSON.message})).always((function(){s.form("validate form")}))})),a.dropdown({allowAdditions:!0,forceSelection:!1,fullTextSearch:"exact",fields:{name:"description",value:"data-value"},saveRemoteData:!1,label:{transition:"horizontal flip",duration:200,variation:!1,blue:!0,basic:!0},className:{label:"ui small label"},apiSettings:{url:"".concat(Cu,"/api/v1/topics/search?q={query}"),throttle:500,cache:!1,onResponse:function(e){var t={success:!1,results:[]},n=this.urlData.query.trim().replace(/<[^>]*>?/gm,""),i=!1,o=[];if(a.find("div.label.visible.topic,a.label.visible").each((function(e,t){o.push(t.dataset.value)})),e.topics){for(var r=!1,s=0;s<e.topics.length;s++)o.includes(e.topics[s].topic_name)||(e.topics[s].topic_name.toLowerCase()===n.toLowerCase()&&(i=!0),t.results.push({description:e.topics[s].topic_name,"data-value":e.topics[s].topic_name}),r=!0);t.success=r}return n.length>0&&!i?(t.success=!0,t.results.unshift({description:n,"data-value":n})):n.length>0&&i&&t.results.sort((function(e,t){return e.description.toLowerCase()===n.toLowerCase()?-1:t.description.toLowerCase()===n.toLowerCase()?1:e.description>t.description?-1:e.description<t.description?1:0})),t}},onLabelCreate:function(e){return e=e.toLowerCase().trim(),this.attr("data-value",e).contents().first().replaceWith(e),$(this)},onAdd:function(e,t,n){e=e.toLowerCase().trim(),$(n).attr("data-value",e),$(n).attr("data-text",e)}}),$.fn.form.settings.rules.validateTopic=function(e,t){var n=a.children("a.ui.label"),i=0===n.length||n.last().attr("data-value").match(t);return i||n.last().removeClass("green").addClass("red"),i&&0===a.children("a.ui.label.red").length},s.form({on:"change",inline:!0,fields:{topics:{identifier:"topics",rules:[{type:"validateTopic",value:/^[a-z0-9][a-z0-9-]{0,35}$/,prompt:l.formatPrompt},{type:"maxCount[25]",prompt:l.countPrompt}]}}})}function Ad(e){$("#deadline-err-invalid-date").hide(),$("#deadline-loader").addClass("loading");var t=null;if(""!==e){var n=Date.parse(e);if(Number.isNaN(n))return $("#deadline-loader").removeClass("loading"),$("#deadline-err-invalid-date").show(),!1;t=new Date(n)}$.ajax("".concat($("#update-issue-deadline-form").attr("action"),"/deadline"),{data:JSON.stringify({due_date:t}),headers:{"X-Csrf-Token":Tu,"X-Remote":!0},contentType:"application/json",type:"POST",success:function(){qu()},error:function(){$("#deadline-loader").removeClass("loading"),$("#deadline-err-invalid-date").show()}})}function $d(){$(document).on("click",".issue-due-edit",(function(){$("#deadlineForm").fadeToggle(150)})),$(document).on("click",".issue-due-remove",(function(){Ad("")})),$(document).on("submit",".issue-due-form",(function(){return Ad($("#deadlineDate").val()),!1}))}function Ed(){var e=$("#repolink").val(),t=$("#repoId").val(),n=$("#crossRepoSearch").val(),i=$("#type").val(),o="".concat(Cu,"/api/v1/repos/").concat(e,"/issues?q={query}&type=").concat(i);function r(e){var t=$(e).attr("href"),n=$(e).data("label-id"),i="labels=((?:-?[0-9]+%2c)*)(".concat(n,")((?:%2c-?[0-9]+)*)&");window.location=t.replace(new RegExp(i),"labels=$1-$2$3&")}"true"===n&&(o="".concat(Cu,"/api/v1/repos/issues/search?q={query}&priority_repo_id=").concat(t,"&type=").concat(i)),$("#new-dependency-drop-list").dropdown({apiSettings:{url:o,onResponse:function(e){var t={success:!0,results:[]},n=$("#new-dependency-drop-list").data("issue-id");return $.each(e,(function(e,i){i.id!==n&&t.results.push({name:"#".concat(i.number," ").concat((0,Ss.T)(i.title),'<div class="text small dont-break-out">').concat((0,Ss.T)(i.repository.full_name),"</div>"),value:i.id})})),t},cache:!1},fullTextSearch:!0}),$(".menu a.label-filter-item").each((function(){$(this).on("click",(function(e){e.altKey&&(e.preventDefault(),r(this))}))})),$(".menu .ui.dropdown.label-filter").on("keydown",(function(e){if(e.altKey&&13===e.keyCode){var t=$(".menu .ui.dropdown.label-filter .menu .item.selected");t.length>0&&r($(t[0]))}}))}$.fn.tab.settings.silent=!0,$.fn.getCursorPosition=function(){var e=$(this).get(0),t=0;if("selectionStart"in e)t=e.selectionStart;else if("selection"in document){e.focus();var n=document.selection.createRange(),i=document.selection.createRange().text.length;n.moveStart("character",-e.value.length),t=n.text.length-i}return t},$(document).ready(r()(i().mark((function e(){var n,o,a,s,l,c,u,d;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if($(".time-since").each((function(){$(this).addClass("poping up").attr("data-content",$(this).attr("title")).attr("data-variation","inverted tiny").attr("title","")})),navigator.userAgent.match("Safari")&&$(window).resize((function(){var e=Jl("width",0,4096,1,"px");16*Jl("width",0,1024,.01,"em")*1.25-e<=-1?$("body").addClass("safari-above125"):$("body").removeClass("safari-above125")})),$(".dropdown:not(.custom)").dropdown({fullTextSearch:"exact"}),$(".jump.dropdown").dropdown({action:"hide",onShow:function(){$(".poping.up").popup("hide")},fullTextSearch:"exact"}),$(".slide.up.dropdown").dropdown({transition:"slide up",fullTextSearch:"exact"}),$(".upward.dropdown").dropdown({direction:"upward",fullTextSearch:"exact"}),$(".ui.accordion").accordion(),$(".ui.checkbox").checkbox(),$(".ui.progress").progress({showActivity:!1}),$(".poping.up").popup(),$(".top.menu .poping.up").popup({onShow:function(){if($(".top.menu .menu.transition").hasClass("visible"))return!1}}),$(".tabular.menu .item").tab(),$(".tabable.menu .item").tab(),$(".toggle.button").on("click",(function(){$($(this).data("target")).slideToggle(100)})),$("tr[data-href]").on("click",(function(){window.location=$(this).data("href")})),$("td[data-href]").click((function(){window.location=$(this).data("href")})),hd(),!((n=$("#dropzone")).length>0)){e.next=22;break}return o={},e.next=22,rc("#dropzone",{url:n.data("upload-url"),headers:{"X-Csrf-Token":Tu},maxFiles:n.data("max-file"),maxFilesize:n.data("max-size"),acceptedFiles:["*/*",""].includes(n.data("accepts"))?null:n.data("accepts"),addRemoveLinks:!0,dictDefaultMessage:n.data("default-message"),dictInvalidFileType:n.data("invalid-input-type"),dictFileTooBig:n.data("file-too-big"),dictRemoveFile:n.data("remove-file"),timeout:0,thumbnailMethod:"contain",thumbnailWidth:480,thumbnailHeight:480,init:function(){this.on("success",(function(e,t){o[e.name]=t.uuid;var n=$('<input id="'.concat(t.uuid,'" name="files" type="hidden">')).val(t.uuid);$(".files").append(n)})),this.on("removedfile",(function(e){e.name in o&&$("#".concat(o[e.name])).remove(),n.data("remove-url")&&$.post(n.data("remove-url"),{file:o[e.name],_csrf:Tu})}))}});case 22:$(".delete-button").on("click",bd),$(".add-all-button").on("click",yd),$(".link-action").on("click",jd),$(".language-menu a[lang]").on("click",_d),$(".link-email-action").on("click",wd),$(".delete-branch-button").on("click",bd),$(".undo-button").on("click",(function(){var e=$(this);$.post(e.data("url"),{_csrf:Tu,id:e.data("id")}).done((function(e){window.location.href=e.redirect}))})),$(".show-panel.button").on("click",(function(){$($(this).data("panel")).show()})),$(".show-modal.button").on("click",(function(){$($(this).data("modal")).modal("show")})),$(".delete-post.button").on("click",(function(){var e=$(this);$.post(e.data("request-url"),{_csrf:Tu}).done((function(){window.location.href=e.data("done-url")}))})),$(".issue-checkbox").on("click",(function(){$(".issue-checkbox").children("input:checked").length>0?($("#issue-filters").addClass("hide"),$("#issue-actions").removeClass("hide")):($("#issue-filters").removeClass("hide"),$("#issue-actions").addClass("hide"))})),$(".issue-action").on("click",(function(){var e=this.dataset.action,t=this.dataset.elementId,n=$(".issue-checkbox").children("input:checked").map((function(){return this.dataset.issueId})).get().join(),i=this.dataset.url;"0"===t&&"/assignee"===i.substr(-9)&&(t="",e="clear"),Du(i,e,n,t).then((function(){"close"!==e&&"open"!==e||$('.issue-checkbox input[type="checkbox"]').each((function(e,t){t.checked=!1})),qu()}))})),$('.issue-checkbox input[type="checkbox"]:checked').first().each((function(e,t){t.checked=!1,$(t).trigger("click")})),$(document).on("click",".resolve-conversation",function(){var e=r()(i().mark((function e(t){var n,o,r,a,s,l;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.preventDefault(),n=$(this).data("comment-id"),o=$(this).data("origin"),r=$(this).data("action"),a=$(this).data("update-url"),e.next=7,$.post(a,{_csrf:Tu,origin:o,action:r,comment_id:n});case 7:s=e.sent,$(this).closest(".conversation-holder").length?(l=$(s),$(this).closest(".conversation-holder").replaceWith(l),l.find(".dropdown").dropdown(),Iu(l),Qs()):qu();case 9:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()),sd(),$("#search-user-box").search({minCharacters:2,apiSettings:{url:"".concat(Cu,"/api/v1/users/search?q={query}"),onResponse:function(e){var t=[];return $.each(e.data,(function(e,n){var i=n.login;n.full_name&&n.full_name.length>0&&(i+=" (".concat((0,Ss.T)(n.full_name),")")),t.push({title:i,image:n.avatar_url})})),{results:t}}},searchFields:["login","full_name"],showNoResults:!1}),p=void 0,(p=$("#search-team-box")).search({minCharacters:2,apiSettings:{url:"".concat(Cu,"/api/v1/orgs/").concat(p.data("org"),"/teams/search?q={query}"),headers:{"X-Csrf-Token":Tu},onResponse:function(e){var t=[];return $.each(e.data,(function(e,n){var i="".concat(n.name," (").concat(n.permission," access)");t.push({title:i})})),{results:t}}},searchFields:["name","description"],showNoResults:!1}),f=void 0,(f=$("#search-repo-box")).search({minCharacters:2,apiSettings:{url:"".concat(Cu,"/api/v1/repos/search?q={query}&uid=").concat(f.data("uid")),onResponse:function(e){var t=[];return $.each(e.data,(function(e,n){t.push({title:n.full_name.split("/")[1],description:n.full_name})})),{results:t}}},searchFields:["full_name"],showNoResults:!1}),wl(),Hu(),0!==$(".install").length&&(""===$("#db_host").val()&&($("#db_host").val("127.0.0.1:3306"),$("#db_user").val("gitea"),$("#db_name").val("gitea")),$("#db_type").on("change",(function(){var e=$(this).val();if("SQLite3"===e)return $("#sql_settings").hide(),$("#pgsql_settings").hide(),$("#mysql_settings").hide(),$("#sqlite_settings").show(),void("SQLite3"===e&&"data/gitea_tidb"===$("#db_path").val()&&$("#db_path").val("data/gitea.db"));var t={MySQL:"127.0.0.1:3306",PostgreSQL:"127.0.0.1:5432",MSSQL:"127.0.0.1:1433"};$("#sqlite_settings").hide(),$("#sql_settings").show(),$("#pgsql_settings").toggle("PostgreSQL"===e),$("#mysql_settings").toggle("MySQL"===e),$.each(t,(function(n,i){if($("#db_host").val()===i)return $("#db_host").val(t[e]),!1}))})),$("#offline-mode input").on("change",(function(){$(this).is(":checked")&&($("#disable-gravatar").checkbox("check"),$("#federated-avatar-lookup").checkbox("uncheck"))})),$("#disable-gravatar input").on("change",(function(){$(this).is(":checked")?$("#federated-avatar-lookup").checkbox("uncheck"):$("#offline-mode").checkbox("uncheck")})),$("#federated-avatar-lookup input").on("change",(function(){$(this).is(":checked")&&($("#disable-gravatar").checkbox("uncheck"),$("#offline-mode").checkbox("uncheck"))})),$("#enable-openid-signin input").on("change",(function(){$(this).is(":checked")?$("#disable-registration input").is(":checked")||$("#enable-openid-signup").checkbox("check"):$("#enable-openid-signup").checkbox("uncheck")})),$("#disable-registration input").on("change",(function(){$(this).is(":checked")?($("#enable-captcha").checkbox("uncheck"),$("#enable-openid-signup").checkbox("uncheck")):$("#enable-openid-signup").checkbox("check")})),$("#enable-captcha input").on("change",(function(){$(this).is(":checked")&&$("#disable-registration").checkbox("uncheck")}))),Vu(),Wu(),Ls(),Ku(),Eu(),Zu(),0!==$(".organization").length&&($(".organization.settings.options").length>0&&$("#org_name").on("keyup",(function(){var e=$("#org-name-change-prompt"),t=$("#org-name-change-redirect-prompt");$(this).val().toString().toLowerCase()!==$(this).data("org-name").toString().toLowerCase()?(e.show(),t.show()):(e.hide(),t.hide())})),$(".organization.settings.labels").length>0&&Ou()),rd(),ad(),cd(),xd(),$(".organization.new.team input[name=permission]").on("change",(function(){"admin"===$("input[name=permission]:checked",".organization.new.team").val()?$(".organization.new.team .team-units").hide():$(".organization.new.team .team-units").show()})),$(".js-quick-submit").on("keydown",(function(e){!(e.ctrlKey&&!e.altKey||e.metaKey)||13!==e.keyCode&&10!==e.keyCode||$(this).closest("form").trigger("submit")})),Sd(),Td(),0!==$("#wait-for-key").length&&u2fApi.ensureSupport().then((function(){$.getJSON("".concat(Cu,"/user/u2f/challenge")).done((function(e){u2fApi.sign(e.appId,e.challenge,e.registeredKeys,30).then(ud).catch((function(e){fd(void 0!==e?e.metaData.code:1)}))}))})).catch((function(){window.location.href="".concat(Cu,"/user/two_factor")})),$("#register-device").modal({allowMultiple:!1}),$("#u2f-error").modal({allowMultiple:!1}),$("#register-security-key").on("click",(function(e){e.preventDefault(),u2fApi.ensureSupport().then(pd).catch((function(){fd("browser")}))})),Ed(),kd(),$d(),$(".title_wip_desc > a").on("click",(function(e){e.preventDefault();var t=$("#issue_title");t.focus();var n,i=t.val().trim().toUpperCase(),o=$(".title_wip_desc").data("wip-prefixes"),r=ju(o);try{for(r.s();!(n=r.n()).done;){var a=n.value;if(i.startsWith(a.toUpperCase()))return}}catch(e){r.e(e)}finally{r.f()}t.val("".concat(o[0]," ").concat(t.val()))})),Gu(),Lu(),md(),$(".issue_reference_repository_search").dropdown({apiSettings:{url:"".concat(Cu,"/api/v1/repos/search?q={query}&limit=20"),onResponse:function(e){var t={success:!0,results:[]};return $.each(e.data,(function(e,n){t.results.push({name:(0,Ss.T)(n.full_name),value:n.full_name})})),t},cache:!1},onChange:function(e,t,n){n.closest("form").attr("action","".concat(Cu,"/").concat(t,"/issues/new"))},fullTextSearch:!0}),Hs(),cc(),xc(),$(".show-instruction").on("click",(function(){$(".instruct-content").toggle()})),td(),a={"div.user.settings":nd,"div.repository.settings.collaboration":Yu},s=0,l=Object.entries(a);case 75:if(!(s<l.length)){e.next=83;break}if(c=t()(l[s],2),u=c[0],d=c[1],!($(u).length>0)){e.next=80;break}return d(),e.abrupt("break",83);case 80:s++,e.next=75;break;case 83:return e.next=85,Promise.all([nc(document.querySelectorAll("#content, .emoji-input")),Vs(),Qs(),Zs(),ol(),vl(),Sc(),Bc(),$l(),id(),uc()]);case 85:case"end":return e.stop()}var f,p}),e)})))),$((function(){0===$(".user.signin").length&&$("form:not(.ignore-dirty)").areYouSure(),$("#ssh-key-content").on("change paste keyup",(function(){var e=$(this).val().split(" "),t=$("#ssh-key-title");""===t.val()&&3===e.length&&""!==e[2]&&t.val(e[2])}))})),$(".commit-button").on("click",(function(e){e.preventDefault(),$(this).parent().find(".commit-body").toggle()})),window.deleteDependencyModal=function(e,t){$(".remove-dependency").modal({closable:!1,duration:200,onApprove:function(){$("#removeDependencyID").val(e),$("#dependencyType").val(t),$("#removeDependencyForm").trigger("submit")}}).modal("show")},$(document).on("click",'button[name="is_review"]',(function(e){$(e.target).closest("form").append('<input type="hidden" name="is_review" value="true">')})),$(document).on("submit",".conversation-holder form",function(){var e=r()(i().mark((function e(t){var n,o,r,a,s,l;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.preventDefault(),n=$(t.target),e.t0=$,e.next=5,$.post(n.attr("action"),n.serialize());case 5:e.t1=e.sent,o=(0,e.t0)(e.t1),r=o.data(),a=r.path,s=r.side,l=r.idx,n.closest(".conversation-holder").replaceWith(o),"same"===n.closest("tr").data("line-type")?$('a.add-code-comment[data-path="'.concat(a,'"][data-idx="').concat(l,'"]')).addClass("invisible"):$('a.add-code-comment[data-path="'.concat(a,'"][data-side="').concat(s,'"][data-idx="').concat(l,'"]')).addClass("invisible"),o.find(".dropdown").dropdown(),Iu(o),Qs();case 13:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),window.cancelCodeComment=function(e){var t=$(e).closest("form");t.length>0&&t.hasClass("comment-form")?(t.addClass("hide"),t.parent().find("button.comment-form-reply").show()):t.closest(".comment-code-cloud").remove()},window.onOAuthLoginClick=function(){var e=$("#oauth2-login-loader"),t=$("#oauth2-login-navigator");t.hide(),e.removeClass("disabled"),setTimeout((function(){e.addClass("disabled"),t.show()}),5e3)}}()}();
|
||
//# sourceMappingURL=index.js.map
|