(()=>{"use strict";var e={},r={};function t(o){var n=r[o];if(void 0!==n)return n.exports;var a=r[o]={id:o,loaded:!1,exports:{}};return e[o].call(a.exports,a,a.exports,t),a.loaded=!0,a.exports}t.m=e,(()=>{var e=[];t.O=(r,o,n,a)=>{if(!o){var i=1/0;for(f=0;f<e.length;f++){for(var[o,n,a]=e[f],l=!0,u=0;u<o.length;u++)(!1&a||i>=a)&&Object.keys(t.O).every((e=>t.O[e](o[u])))?o.splice(u--,1):(l=!1,a<i&&(i=a));if(l){e.splice(f--,1);var d=n();void 0!==d&&(r=d)}}return r}a=a||0;for(var f=e.length;f>0&&e[f-1][2]>a;f--)e[f]=e[f-1];e[f]=[o,n,a]}})(),(()=>{t.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return t.d(r,{a:r}),r}})(),(()=>{t.d=(e,r)=>{for(var o in r)t.o(r,o)&&!t.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:r[o]})}})(),(()=>{t.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}()})(),(()=>{t.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r)})(),(()=>{t.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}})(),(()=>{t.nmd=e=>(e.paths=[],e.children||(e.children=[]),e)})(),(()=>{var e={380:0};t.O.j=r=>0===e[r];var r=(r,o)=>{var n,a,[i,l,u]=o,d=0;if(i.some((r=>0!==e[r]))){for(n in l)t.o(l,n)&&(t.m[n]=l[n]);if(u)var f=u(t)}for(r&&r(o);d<i.length;d++)a=i[d],t.o(e,a)&&e[a]&&e[a][0](),e[a]=0;return t.O(f)},o=self.webpackChunkgbase_web=self.webpackChunkgbase_web||[];o.forEach(r.bind(null,0)),o.push=r.bind(null,o.push.bind(o))})()})();
//# sourceMappingURL=app-bootstrap.js.map;
"use strict";(self.webpackChunkgbase_web=self.webpackChunkgbase_web||[]).push([[266],{},e=>{e.O(0,[570,453],(()=>(s=>e(e.s=s))(3618)));e.O()}]);;
(self.webpackChunkgbase_web=self.webpackChunkgbase_web||[]).push([[570],{2880:(t,e,n)=>{"use strict";n.d(e,{ORN:()=>h});var r=n(6979);r.ZP,r.ZP.util.warn;var i;Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;const o="undefined"!=typeof window,a=(Object.prototype.toString,t=>"string"==typeof t),s=()=>{};o&&(null==(i=null==window?void 0:window.navigator)?void 0:i.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function c(t){return"function"==typeof t?t():(0,r.SU)(t)}function l(t){return!!(0,r.nZ)()&&((0,r.EB)(t),!0)}Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;function u(t){var e;const n=c(t);return null!=(e=null==n?void 0:n.$el)?e:n}const f=o?window:void 0;o&&window.document,o&&window.navigator,o&&window.location;function h(...t){let e,n,i,o;if(a(t[0])||Array.isArray(t[0])?([n,i,o]=t,e=f):[e,n,i,o]=t,!e)return s;Array.isArray(n)||(n=[n]),Array.isArray(i)||(i=[i]);const h=[],d=()=>{h.forEach((t=>t())),h.length=0},p=(0,r.YP)((()=>[u(e),c(o)]),(([t,e])=>{d(),t&&h.push(...n.flatMap((n=>i.map((r=>((t,e,n,r)=>(t.addEventListener(e,n,r),()=>t.removeEventListener(e,n,r)))(t,n,r,e))))))}),{immediate:!0,flush:"post"}),m=()=>{p(),d()};return l(m),m}Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;const d="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:{},p="__vueuse_ssr_handlers__";d[p]=d[p]||{};d[p];Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;new Map;Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;var m;!function(t){t.UP="UP",t.RIGHT="RIGHT",t.DOWN="DOWN",t.LEFT="LEFT",t.NONE="NONE"}(m||(m={}));Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;var v=Object.defineProperty,g=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,b=Object.prototype.propertyIsEnumerable,w=(t,e,n)=>e in t?v(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;((t,e)=>{for(var n in e||(e={}))y.call(e,n)&&w(t,n,e[n]);if(g)for(var n of g(e))b.call(e,n)&&w(t,n,e[n])})({linear:function(t){return t}},{easeInSine:[.12,0,.39,0],easeOutSine:[.61,1,.88,1],easeInOutSine:[.37,0,.63,1],easeInQuad:[.11,0,.5,0],easeOutQuad:[.5,1,.89,1],easeInOutQuad:[.45,0,.55,1],easeInCubic:[.32,0,.67,0],easeOutCubic:[.33,1,.68,1],easeInOutCubic:[.65,0,.35,1],easeInQuart:[.5,0,.75,0],easeOutQuart:[.25,1,.5,1],easeInOutQuart:[.76,0,.24,1],easeInQuint:[.64,0,.78,0],easeOutQuint:[.22,1,.36,1],easeInOutQuint:[.83,0,.17,1],easeInExpo:[.7,0,.84,0],easeOutExpo:[.16,1,.3,1],easeInOutExpo:[.87,0,.13,1],easeInCirc:[.55,0,1,.45],easeOutCirc:[0,.55,.45,1],easeInOutCirc:[.85,0,.15,1],easeInBack:[.36,0,.66,-.56],easeOutBack:[.34,1.56,.64,1],easeInOutBack:[.68,-.6,.32,1.6]})},2488:function(t){!function(e,n){t.exports=function(){"use strict";function t(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function e(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function n(n){for(var r=1;r<arguments.length;r++){var i=null!=arguments[r]?arguments[r]:{};r%2?e(Object(i),!0).forEach((function(e){t(n,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(i)):e(Object(i)).forEach((function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(i,t))}))}return n}function r(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}function i(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t)){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){i=!0,o=t}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function o(t){return function(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}}(t)||function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function a(t){var e,n="algoliasearch-client-js-".concat(t.key),r=function(){return void 0===e&&(e=t.localStorage||window.localStorage),e},o=function(){return JSON.parse(r().getItem(n)||"{}")};return{get:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{miss:function(){return Promise.resolve()}};return Promise.resolve().then((function(){var n=JSON.stringify(t),r=o()[n];return Promise.all([r||e(),void 0!==r])})).then((function(t){var e=i(t,2),r=e[0],o=e[1];return Promise.all([r,o||n.miss(r)])})).then((function(t){return i(t,1)[0]}))},set:function(t,e){return Promise.resolve().then((function(){var i=o();return i[JSON.stringify(t)]=e,r().setItem(n,JSON.stringify(i)),e}))},delete:function(t){return Promise.resolve().then((function(){var e=o();delete e[JSON.stringify(t)],r().setItem(n,JSON.stringify(e))}))},clear:function(){return Promise.resolve().then((function(){r().removeItem(n)}))}}}function s(t){var e=o(t.caches),n=e.shift();return void 0===n?{get:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{miss:function(){return Promise.resolve()}};return e().then((function(t){return Promise.all([t,n.miss(t)])})).then((function(t){return i(t,1)[0]}))},set:function(t,e){return Promise.resolve(e)},delete:function(t){return Promise.resolve()},clear:function(){return Promise.resolve()}}:{get:function(t,r){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{miss:function(){return Promise.resolve()}};return n.get(t,r,i).catch((function(){return s({caches:e}).get(t,r,i)}))},set:function(t,r){return n.set(t,r).catch((function(){return s({caches:e}).set(t,r)}))},delete:function(t){return n.delete(t).catch((function(){return s({caches:e}).delete(t)}))},clear:function(){return n.clear().catch((function(){return s({caches:e}).clear()}))}}}function c(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{serializable:!0},e={};return{get:function(n,r){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{miss:function(){return Promise.resolve()}},o=JSON.stringify(n);if(o in e)return Promise.resolve(t.serializable?JSON.parse(e[o]):e[o]);var a=r(),s=i&&i.miss||function(){return Promise.resolve()};return a.then((function(t){return s(t)})).then((function(){return a}))},set:function(n,r){return e[JSON.stringify(n)]=t.serializable?JSON.stringify(r):r,Promise.resolve(r)},delete:function(t){return delete e[JSON.stringify(t)],Promise.resolve()},clear:function(){return e={},Promise.resolve()}}}function l(t){for(var e=t.length-1;e>0;e--){var n=Math.floor(Math.random()*(e+1)),r=t[e];t[e]=t[n],t[n]=r}return t}function u(t,e){return e?(Object.keys(e).forEach((function(n){t[n]=e[n](t)})),t):t}function f(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];var i=0;return t.replace(/%s/g,(function(){return encodeURIComponent(n[i++])}))}var h={WithinQueryParameters:0,WithinHeaders:1};function d(t,e){var n=t||{},r=n.data||{};return Object.keys(n).forEach((function(t){-1===["timeout","headers","queryParameters","data","cacheable"].indexOf(t)&&(r[t]=n[t])})),{data:Object.entries(r).length>0?r:void 0,timeout:n.timeout||e,headers:n.headers||{},queryParameters:n.queryParameters||{},cacheable:n.cacheable}}var p={Read:1,Write:2,Any:3},m=1,v=2,g=3;function y(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:m;return n(n({},t),{},{status:e,lastUpdate:Date.now()})}function b(t){return"string"==typeof t?{protocol:"https",url:t,accept:p.Any}:{protocol:t.protocol||"https",url:t.url,accept:t.accept||p.Any}}var w="GET",_="POST";function x(t,e){return Promise.all(e.map((function(e){return t.get(e,(function(){return Promise.resolve(y(e))}))}))).then((function(t){var n=t.filter((function(t){return function(t){return t.status===m||Date.now()-t.lastUpdate>12e4}(t)})),r=t.filter((function(t){return function(t){return t.status===g&&Date.now()-t.lastUpdate<=12e4}(t)})),i=[].concat(o(n),o(r));return{getTimeout:function(t,e){return(0===r.length&&0===t?1:r.length+3+t)*e},statelessHosts:i.length>0?i.map((function(t){return b(t)})):e}}))}function k(t,e,r,i){var a=[],s=function(t,e){if(t.method!==w&&(void 0!==t.data||void 0!==e.data)){var r=Array.isArray(t.data)?t.data:n(n({},t.data),e.data);return JSON.stringify(r)}}(r,i),c=function(t,e){var r=n(n({},t.headers),e.headers),i={};return Object.keys(r).forEach((function(t){var e=r[t];i[t.toLowerCase()]=e})),i}(t,i),l=r.method,u=r.method!==w?{}:n(n({},r.data),i.data),f=n(n(n({"x-algolia-agent":t.userAgent.value},t.queryParameters),u),i.queryParameters),h=0,d=function e(n,o){var u=n.pop();if(void 0===u)throw{name:"RetryError",message:"Unreachable hosts - your application id may be incorrect. If the error persists, contact support@algolia.com.",transporterStackTrace:E(a)};var d={data:s,headers:c,method:l,url:C(u,r.path,f),connectTimeout:o(h,t.timeouts.connect),responseTimeout:o(h,i.timeout)},p=function(t){var e={request:d,response:t,host:u,triesLeft:n.length};return a.push(e),e},m={onSuccess:function(t){return function(t){try{return JSON.parse(t.content)}catch(e){throw function(t,e){return{name:"DeserializationError",message:t,response:e}}(e.message,t)}}(t)},onRetry:function(r){var i=p(r);return r.isTimedOut&&h++,Promise.all([t.logger.info("Retryable failure",T(i)),t.hostsCache.set(u,y(u,r.isTimedOut?g:v))]).then((function(){return e(n,o)}))},onFail:function(t){throw p(t),function(t,e){var n=t.content,r=t.status,i=n;try{i=JSON.parse(n).message}catch(t){}return function(t,e,n){return{name:"ApiError",message:t,status:e,transporterStackTrace:n}}(i,r,e)}(t,E(a))}};return t.requester.send(d).then((function(t){return function(t,e){return function(t){var e=t.status;return t.isTimedOut||function(t){var e=t.isTimedOut,n=t.status;return!e&&0==~~n}(t)||2!=~~(e/100)&&4!=~~(e/100)}(t)?e.onRetry(t):2==~~(t.status/100)?e.onSuccess(t):e.onFail(t)}(t,m)}))};return x(t.hostsCache,e).then((function(t){return d(o(t.statelessHosts).reverse(),t.getTimeout)}))}function O(t){var e={value:"Algolia for JavaScript (".concat(t,")"),add:function(t){var n="; ".concat(t.segment).concat(void 0!==t.version?" (".concat(t.version,")"):"");return-1===e.value.indexOf(n)&&(e.value="".concat(e.value).concat(n)),e}};return e}function C(t,e,n){var r=S(n),i="".concat(t.protocol,"://").concat(t.url,"/").concat("/"===e.charAt(0)?e.substr(1):e);return r.length&&(i+="?".concat(r)),i}function S(t){return Object.keys(t).map((function(e){return f("%s=%s",e,(n=t[e],"[object Object]"===Object.prototype.toString.call(n)||"[object Array]"===Object.prototype.toString.call(n)?JSON.stringify(t[e]):t[e]));var n})).join("&")}function E(t){return t.map((function(t){return T(t)}))}function T(t){var e=t.request.headers["x-algolia-api-key"]?{"x-algolia-api-key":"*****"}:{};return n(n({},t),{},{request:n(n({},t.request),{},{headers:n(n({},t.request.headers),e)})})}var P=function(t){var e=t.appId,r=function(t,e,n){var r={"x-algolia-api-key":n,"x-algolia-application-id":e};return{headers:function(){return t===h.WithinHeaders?r:{}},queryParameters:function(){return t===h.WithinQueryParameters?r:{}}}}(void 0!==t.authMode?t.authMode:h.WithinHeaders,e,t.apiKey),o=function(t){var e=t.hostsCache,n=t.logger,r=t.requester,o=t.requestsCache,a=t.responsesCache,s=t.timeouts,c=t.userAgent,l=t.hosts,u=t.queryParameters,f={hostsCache:e,logger:n,requester:r,requestsCache:o,responsesCache:a,timeouts:s,userAgent:c,headers:t.headers,queryParameters:u,hosts:l.map((function(t){return b(t)})),read:function(t,e){var n=d(e,f.timeouts.read),r=function(){return k(f,f.hosts.filter((function(t){return 0!=(t.accept&p.Read)})),t,n)};if(!0!==(void 0!==n.cacheable?n.cacheable:t.cacheable))return r();var o={request:t,mappedRequestOptions:n,transporter:{queryParameters:f.queryParameters,headers:f.headers}};return f.responsesCache.get(o,(function(){return f.requestsCache.get(o,(function(){return f.requestsCache.set(o,r()).then((function(t){return Promise.all([f.requestsCache.delete(o),t])}),(function(t){return Promise.all([f.requestsCache.delete(o),Promise.reject(t)])})).then((function(t){var e=i(t,2);return e[0],e[1]}))}))}),{miss:function(t){return f.responsesCache.set(o,t)}})},write:function(t,e){return k(f,f.hosts.filter((function(t){return 0!=(t.accept&p.Write)})),t,d(e,f.timeouts.write))}};return f}(n(n({hosts:[{url:"".concat(e,"-dsn.algolia.net"),accept:p.Read},{url:"".concat(e,".algolia.net"),accept:p.Write}].concat(l([{url:"".concat(e,"-1.algolianet.com")},{url:"".concat(e,"-2.algolianet.com")},{url:"".concat(e,"-3.algolianet.com")}]))},t),{},{headers:n(n(n({},r.headers()),{"content-type":"application/x-www-form-urlencoded"}),t.headers),queryParameters:n(n({},r.queryParameters()),t.queryParameters)}));return u({transporter:o,appId:e,addAlgoliaAgent:function(t,e){o.userAgent.add({segment:t,version:e})},clearCache:function(){return Promise.all([o.requestsCache.clear(),o.responsesCache.clear()]).then((function(){}))}},t.methods)},A=function(t){return function(e,n){return e.method===w?t.transporter.read(e,n):t.transporter.write(e,n)}},j=function(t){return function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return u({transporter:t.transporter,appId:t.appId,indexName:e},n.methods)}},D=function(t){return function(e,r){var i=e.map((function(t){return n(n({},t),{},{params:S(t.params||{})})}));return t.transporter.read({method:_,path:"1/indexes/*/queries",data:{requests:i},cacheable:!0},r)}},M=function(t){return function(e,i){return Promise.all(e.map((function(e){var o=e.params,a=o.facetName,s=o.facetQuery,c=r(o,["facetName","facetQuery"]);return j(t)(e.indexName,{methods:{searchForFacetValues:N}}).searchForFacetValues(a,s,n(n({},i),c))})))}},R=function(t){return function(e,n,r){return t.transporter.read({method:_,path:f("1/answers/%s/prediction",t.indexName),data:{query:e,queryLanguages:n},cacheable:!0},r)}},I=function(t){return function(e,n){return t.transporter.read({method:_,path:f("1/indexes/%s/query",t.indexName),data:{query:e},cacheable:!0},n)}},N=function(t){return function(e,n,r){return t.transporter.read({method:_,path:f("1/indexes/%s/facets/%s/query",t.indexName,e),data:{facetQuery:n},cacheable:!0},r)}},L=2,$=3;function F(t,e,r){var i,o={appId:t,apiKey:e,timeouts:{connect:1,read:2,write:30},requester:{send:function(t){return new Promise((function(e){var n=new XMLHttpRequest;n.open(t.method,t.url,!0),Object.keys(t.headers).forEach((function(e){return n.setRequestHeader(e,t.headers[e])}));var r,i=function(t,r){return setTimeout((function(){n.abort(),e({status:0,content:r,isTimedOut:!0})}),1e3*t)},o=i(t.connectTimeout,"Connection timeout");n.onreadystatechange=function(){n.readyState>n.OPENED&&void 0===r&&(clearTimeout(o),r=i(t.responseTimeout,"Socket timeout"))},n.onerror=function(){0===n.status&&(clearTimeout(o),clearTimeout(r),e({content:n.responseText||"Network request failed",status:n.status,isTimedOut:!1}))},n.onload=function(){clearTimeout(o),clearTimeout(r),e({content:n.responseText,status:n.status,isTimedOut:!1})},n.send(t.data)}))}},logger:(i=$,{debug:function(t,e){return Promise.resolve()},info:function(t,e){return L>=i&&console.info(t,e),Promise.resolve()},error:function(t,e){return console.error(t,e),Promise.resolve()}}),responsesCache:c(),requestsCache:c({serializable:!1}),hostsCache:s({caches:[a({key:"".concat("4.14.2","-").concat(t)}),c()]}),userAgent:O("4.14.2").add({segment:"Browser",version:"lite"}),authMode:h.WithinQueryParameters};return P(n(n(n({},o),r),{},{methods:{search:D,searchForFacetValues:M,multipleQueries:D,multipleSearchForFacetValues:M,customRequest:A,initIndex:function(t){return function(e){return j(t)(e,{methods:{search:I,searchForFacetValues:N,findAnswers:R}})}}}}))}return F.version="4.14.2",F}()}()},8599:(t,e,n)=>{"use strict";n(2702),n(9432),n(3991),n(6644),n(9705);var r=n(6979),i=n(2702);r.ZP.config.devtools,i.fn.modal},9705:(t,e,n)=>{n(869),n(7275),n(9024),n(4170),n(5829),n(1020),n(4525),n(4987),n(5250),n(3313),n(2728),n(8670)},8670:(t,e,n)=>{!function(t){"use strict";var e=function(n,r){this.options=t.extend({},e.DEFAULTS,r);var i=this.options.target===e.DEFAULTS.target?t(this.options.target):t(document).find(this.options.target);this.$target=i.on("scroll.bs.affix.data-api",t.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",t.proxy(this.checkPositionWithEventLoop,this)),this.$element=t(n),this.affixed=null,this.unpin=null,this.pinnedOffset=null,this.checkPosition()};function n(n){return this.each((function(){var r=t(this),i=r.data("bs.affix"),o="object"==typeof n&&n;i||r.data("bs.affix",i=new e(this,o)),"string"==typeof n&&i[n]()}))}e.VERSION="3.4.1",e.RESET="affix affix-top affix-bottom",e.DEFAULTS={offset:0,target:window},e.prototype.getState=function(t,e,n,r){var i=this.$target.scrollTop(),o=this.$element.offset(),a=this.$target.height();if(null!=n&&"top"==this.affixed)return i<n&&"top";if("bottom"==this.affixed)return null!=n?!(i+this.unpin<=o.top)&&"bottom":!(i+a<=t-r)&&"bottom";var s=null==this.affixed,c=s?i:o.top;return null!=n&&i<=n?"top":null!=r&&c+(s?a:e)>=t-r&&"bottom"},e.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(e.RESET).addClass("affix");var t=this.$target.scrollTop(),n=this.$element.offset();return this.pinnedOffset=n.top-t},e.prototype.checkPositionWithEventLoop=function(){setTimeout(t.proxy(this.checkPosition,this),1)},e.prototype.checkPosition=function(){if(this.$element.is(":visible")){var n=this.$element.height(),r=this.options.offset,i=r.top,o=r.bottom,a=Math.max(t(document).height(),t(document.body).height());"object"!=typeof r&&(o=i=r),"function"==typeof i&&(i=r.top(this.$element)),"function"==typeof o&&(o=r.bottom(this.$element));var s=this.getState(a,n,i,o);if(this.affixed!=s){null!=this.unpin&&this.$element.css("top","");var c="affix"+(s?"-"+s:""),l=t.Event(c+".bs.affix");if(this.$element.trigger(l),l.isDefaultPrevented())return;this.affixed=s,this.unpin="bottom"==s?this.getPinnedOffset():null,this.$element.removeClass(e.RESET).addClass(c).trigger(c.replace("affix","affixed")+".bs.affix")}"bottom"==s&&this.$element.offset({top:a-n-o})}};var r=t.fn.affix;t.fn.affix=n,t.fn.affix.Constructor=e,t.fn.affix.noConflict=function(){return t.fn.affix=r,this},t(window).on("load",(function(){t('[data-spy="affix"]').each((function(){var e=t(this),r=e.data();r.offset=r.offset||{},null!=r.offsetBottom&&(r.offset.bottom=r.offsetBottom),null!=r.offsetTop&&(r.offset.top=r.offsetTop),n.call(e,r)}))}))}(n(2702))},7275:(t,e,n)=>{!function(t){"use strict";var e='[data-dismiss="alert"]',n=function(n){t(n).on("click",e,this.close)};n.VERSION="3.4.1",n.TRANSITION_DURATION=150,n.prototype.close=function(e){var r=t(this),i=r.attr("data-target");i||(i=(i=r.attr("href"))&&i.replace(/.*(?=#[^\s]*$)/,"")),i="#"===i?[]:i;var o=t(document).find(i);function a(){o.detach().trigger("closed.bs.alert").remove()}e&&e.preventDefault(),o.length||(o=r.closest(".alert")),o.trigger(e=t.Event("close.bs.alert")),e.isDefaultPrevented()||(o.removeClass("in"),t.support.transition&&o.hasClass("fade")?o.one("bsTransitionEnd",a).emulateTransitionEnd(n.TRANSITION_DURATION):a())};var r=t.fn.alert;t.fn.alert=function(e){return this.each((function(){var r=t(this),i=r.data("bs.alert");i||r.data("bs.alert",i=new n(this)),"string"==typeof e&&i[e].call(r)}))},t.fn.alert.Constructor=n,t.fn.alert.noConflict=function(){return t.fn.alert=r,this},t(document).on("click.bs.alert.data-api",e,n.prototype.close)}(n(2702))},9024:(t,e,n)=>{!function(t){"use strict";var e=function(n,r){this.$element=t(n),this.options=t.extend({},e.DEFAULTS,r),this.isLoading=!1};function n(n){return this.each((function(){var r=t(this),i=r.data("bs.button"),o="object"==typeof n&&n;i||r.data("bs.button",i=new e(this,o)),"toggle"==n?i.toggle():n&&i.setState(n)}))}e.VERSION="3.4.1",e.DEFAULTS={loadingText:"loading..."},e.prototype.setState=function(e){var n="disabled",r=this.$element,i=r.is("input")?"val":"html",o=r.data();e+="Text",null==o.resetText&&r.data("resetText",r[i]()),setTimeout(t.proxy((function(){r[i](null==o[e]?this.options[e]:o[e]),"loadingText"==e?(this.isLoading=!0,r.addClass(n).attr(n,n).prop(n,!0)):this.isLoading&&(this.isLoading=!1,r.removeClass(n).removeAttr(n).prop(n,!1))}),this),0)},e.prototype.toggle=function(){var t=!0,e=this.$element.closest('[data-toggle="buttons"]');if(e.length){var n=this.$element.find("input");"radio"==n.prop("type")?(n.prop("checked")&&(t=!1),e.find(".active").removeClass("active"),this.$element.addClass("active")):"checkbox"==n.prop("type")&&(n.prop("checked")!==this.$element.hasClass("active")&&(t=!1),this.$element.toggleClass("active")),n.prop("checked",this.$element.hasClass("active")),t&&n.trigger("change")}else this.$element.attr("aria-pressed",!this.$element.hasClass("active")),this.$element.toggleClass("active")};var r=t.fn.button;t.fn.button=n,t.fn.button.Constructor=e,t.fn.button.noConflict=function(){return t.fn.button=r,this},t(document).on("click.bs.button.data-api",'[data-toggle^="button"]',(function(e){var r=t(e.target).closest(".btn");n.call(r,"toggle"),t(e.target).is('input[type="radio"], input[type="checkbox"]')||(e.preventDefault(),r.is("input,button")?r.trigger("focus"):r.find("input:visible,button:visible").first().trigger("focus"))})).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',(function(e){t(e.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(e.type))}))}(n(2702))},4170:(t,e,n)=>{!function(t){"use strict";var e=function(e,n){this.$element=t(e),this.$indicators=this.$element.find(".carousel-indicators"),this.options=n,this.paused=null,this.sliding=null,this.interval=null,this.$active=null,this.$items=null,this.options.keyboard&&this.$element.on("keydown.bs.carousel",t.proxy(this.keydown,this)),"hover"==this.options.pause&&!("ontouchstart"in document.documentElement)&&this.$element.on("mouseenter.bs.carousel",t.proxy(this.pause,this)).on("mouseleave.bs.carousel",t.proxy(this.cycle,this))};function n(n){return this.each((function(){var r=t(this),i=r.data("bs.carousel"),o=t.extend({},e.DEFAULTS,r.data(),"object"==typeof n&&n),a="string"==typeof n?n:o.slide;i||r.data("bs.carousel",i=new e(this,o)),"number"==typeof n?i.to(n):a?i[a]():o.interval&&i.pause().cycle()}))}e.VERSION="3.4.1",e.TRANSITION_DURATION=600,e.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},e.prototype.keydown=function(t){if(!/input|textarea/i.test(t.target.tagName)){switch(t.which){case 37:this.prev();break;case 39:this.next();break;default:return}t.preventDefault()}},e.prototype.cycle=function(e){return e||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(t.proxy(this.next,this),this.options.interval)),this},e.prototype.getItemIndex=function(t){return this.$items=t.parent().children(".item"),this.$items.index(t||this.$active)},e.prototype.getItemForDirection=function(t,e){var n=this.getItemIndex(e);if(("prev"==t&&0===n||"next"==t&&n==this.$items.length-1)&&!this.options.wrap)return e;var r=(n+("prev"==t?-1:1))%this.$items.length;return this.$items.eq(r)},e.prototype.to=function(t){var e=this,n=this.getItemIndex(this.$active=this.$element.find(".item.active"));if(!(t>this.$items.length-1||t<0))return this.sliding?this.$element.one("slid.bs.carousel",(function(){e.to(t)})):n==t?this.pause().cycle():this.slide(t>n?"next":"prev",this.$items.eq(t))},e.prototype.pause=function(e){return e||(this.paused=!0),this.$element.find(".next, .prev").length&&t.support.transition&&(this.$element.trigger(t.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},e.prototype.next=function(){if(!this.sliding)return this.slide("next")},e.prototype.prev=function(){if(!this.sliding)return this.slide("prev")},e.prototype.slide=function(n,r){var i=this.$element.find(".item.active"),o=r||this.getItemForDirection(n,i),a=this.interval,s="next"==n?"left":"right",c=this;if(o.hasClass("active"))return this.sliding=!1;var l=o[0],u=t.Event("slide.bs.carousel",{relatedTarget:l,direction:s});if(this.$element.trigger(u),!u.isDefaultPrevented()){if(this.sliding=!0,a&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");var f=t(this.$indicators.children()[this.getItemIndex(o)]);f&&f.addClass("active")}var h=t.Event("slid.bs.carousel",{relatedTarget:l,direction:s});return t.support.transition&&this.$element.hasClass("slide")?(o.addClass(n),"object"==typeof o&&o.length&&o[0].offsetWidth,i.addClass(s),o.addClass(s),i.one("bsTransitionEnd",(function(){o.removeClass([n,s].join(" ")).addClass("active"),i.removeClass(["active",s].join(" ")),c.sliding=!1,setTimeout((function(){c.$element.trigger(h)}),0)})).emulateTransitionEnd(e.TRANSITION_DURATION)):(i.removeClass("active"),o.addClass("active"),this.sliding=!1,this.$element.trigger(h)),a&&this.cycle(),this}};var r=t.fn.carousel;t.fn.carousel=n,t.fn.carousel.Constructor=e,t.fn.carousel.noConflict=function(){return t.fn.carousel=r,this};var i=function(e){var r=t(this),i=r.attr("href");i&&(i=i.replace(/.*(?=#[^\s]+$)/,""));var o=r.attr("data-target")||i,a=t(document).find(o);if(a.hasClass("carousel")){var s=t.extend({},a.data(),r.data()),c=r.attr("data-slide-to");c&&(s.interval=!1),n.call(a,s),c&&a.data("bs.carousel").to(c),e.preventDefault()}};t(document).on("click.bs.carousel.data-api","[data-slide]",i).on("click.bs.carousel.data-api","[data-slide-to]",i),t(window).on("load",(function(){t('[data-ride="carousel"]').each((function(){var e=t(this);n.call(e,e.data())}))}))}(n(2702))},5829:(t,e,n)=>{!function(t){"use strict";var e=function(n,r){this.$element=t(n),this.options=t.extend({},e.DEFAULTS,r),this.$trigger=t('[data-toggle="collapse"][href="#'+n.id+'"],[data-toggle="collapse"][data-target="#'+n.id+'"]'),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle()};function n(e){var n,r=e.attr("data-target")||(n=e.attr("href"))&&n.replace(/.*(?=#[^\s]+$)/,"");return t(document).find(r)}function r(n){return this.each((function(){var r=t(this),i=r.data("bs.collapse"),o=t.extend({},e.DEFAULTS,r.data(),"object"==typeof n&&n);!i&&o.toggle&&/show|hide/.test(n)&&(o.toggle=!1),i||r.data("bs.collapse",i=new e(this,o)),"string"==typeof n&&i[n]()}))}e.VERSION="3.4.1",e.TRANSITION_DURATION=350,e.DEFAULTS={toggle:!0},e.prototype.dimension=function(){return this.$element.hasClass("width")?"width":"height"},e.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var n,i=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(i&&i.length&&(n=i.data("bs.collapse"))&&n.transitioning)){var o=t.Event("show.bs.collapse");if(this.$element.trigger(o),!o.isDefaultPrevented()){i&&i.length&&(r.call(i,"hide"),n||i.data("bs.collapse",null));var a=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[a](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1;var s=function(){this.$element.removeClass("collapsing").addClass("collapse in")[a](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!t.support.transition)return s.call(this);var c=t.camelCase(["scroll",a].join("-"));this.$element.one("bsTransitionEnd",t.proxy(s,this)).emulateTransitionEnd(e.TRANSITION_DURATION)[a](this.$element[0][c])}}}},e.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var n=t.Event("hide.bs.collapse");if(this.$element.trigger(n),!n.isDefaultPrevented()){var r=this.dimension();this.$element[r](this.$element[r]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1;var i=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};if(!t.support.transition)return i.call(this);this.$element[r](0).one("bsTransitionEnd",t.proxy(i,this)).emulateTransitionEnd(e.TRANSITION_DURATION)}}},e.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},e.prototype.getParent=function(){return t(document).find(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(t.proxy((function(e,r){var i=t(r);this.addAriaAndCollapsedClass(n(i),i)}),this)).end()},e.prototype.addAriaAndCollapsedClass=function(t,e){var n=t.hasClass("in");t.attr("aria-expanded",n),e.toggleClass("collapsed",!n).attr("aria-expanded",n)};var i=t.fn.collapse;t.fn.collapse=r,t.fn.collapse.Constructor=e,t.fn.collapse.noConflict=function(){return t.fn.collapse=i,this},t(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',(function(e){var i=t(this);i.attr("data-target")||e.preventDefault();var o=n(i),a=o.data("bs.collapse")?"toggle":i.data();r.call(o,a)}))}(n(2702))},1020:(t,e,n)=>{!function(t){"use strict";var e='[data-toggle="dropdown"]',n=function(e){t(e).on("click.bs.dropdown",this.toggle)};function r(e){var n=e.attr("data-target");n||(n=(n=e.attr("href"))&&/#[A-Za-z]/.test(n)&&n.replace(/.*(?=#[^\s]*$)/,""));var r="#"!==n?t(document).find(n):null;return r&&r.length?r:e.parent()}function i(n){n&&3===n.which||(t(".dropdown-backdrop").remove(),t(e).each((function(){var e=t(this),i=r(e),o={relatedTarget:this};i.hasClass("open")&&(n&&"click"==n.type&&/input|textarea/i.test(n.target.tagName)&&t.contains(i[0],n.target)||(i.trigger(n=t.Event("hide.bs.dropdown",o)),n.isDefaultPrevented()||(e.attr("aria-expanded","false"),i.removeClass("open").trigger(t.Event("hidden.bs.dropdown",o)))))})))}n.VERSION="3.4.1",n.prototype.toggle=function(e){var n=t(this);if(!n.is(".disabled, :disabled")){var o=r(n),a=o.hasClass("open");if(i(),!a){"ontouchstart"in document.documentElement&&!o.closest(".navbar-nav").length&&t(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(t(this)).on("click",i);var s={relatedTarget:this};if(o.trigger(e=t.Event("show.bs.dropdown",s)),e.isDefaultPrevented())return;n.trigger("focus").attr("aria-expanded","true"),o.toggleClass("open").trigger(t.Event("shown.bs.dropdown",s))}return!1}},n.prototype.keydown=function(n){if(/(38|40|27|32)/.test(n.which)&&!/input|textarea/i.test(n.target.tagName)){var i=t(this);if(n.preventDefault(),n.stopPropagation(),!i.is(".disabled, :disabled")){var o=r(i),a=o.hasClass("open");if(!a&&27!=n.which||a&&27==n.which)return 27==n.which&&o.find(e).trigger("focus"),i.trigger("click");var s=o.find(".dropdown-menu li:not(.disabled):visible a");if(s.length){var c=s.index(n.target);38==n.which&&c>0&&c--,40==n.which&&c<s.length-1&&c++,~c||(c=0),s.eq(c).trigger("focus")}}}};var o=t.fn.dropdown;t.fn.dropdown=function(e){return this.each((function(){var r=t(this),i=r.data("bs.dropdown");i||r.data("bs.dropdown",i=new n(this)),"string"==typeof e&&i[e].call(r)}))},t.fn.dropdown.Constructor=n,t.fn.dropdown.noConflict=function(){return t.fn.dropdown=o,this},t(document).on("click.bs.dropdown.data-api",i).on("click.bs.dropdown.data-api",".dropdown form",(function(t){t.stopPropagation()})).on("click.bs.dropdown.data-api",e,n.prototype.toggle).on("keydown.bs.dropdown.data-api",e,n.prototype.keydown).on("keydown.bs.dropdown.data-api",".dropdown-menu",n.prototype.keydown)}(n(2702))},4525:(t,e,n)=>{!function(t){"use strict";var e=function(e,n){this.options=n,this.$body=t(document.body),this.$element=t(e),this.$dialog=this.$element.find(".modal-dialog"),this.$backdrop=null,this.isShown=null,this.originalBodyPad=null,this.scrollbarWidth=0,this.ignoreBackdropClick=!1,this.fixedContent=".navbar-fixed-top, .navbar-fixed-bottom",this.options.remote&&this.$element.find(".modal-content").load(this.options.remote,t.proxy((function(){this.$element.trigger("loaded.bs.modal")}),this))};function n(n,r){return this.each((function(){var i=t(this),o=i.data("bs.modal"),a=t.extend({},e.DEFAULTS,i.data(),"object"==typeof n&&n);o||i.data("bs.modal",o=new e(this,a)),"string"==typeof n?o[n](r):a.show&&o.show(r)}))}e.VERSION="3.4.1",e.TRANSITION_DURATION=300,e.BACKDROP_TRANSITION_DURATION=150,e.DEFAULTS={backdrop:!0,keyboard:!0,show:!0},e.prototype.toggle=function(t){return this.isShown?this.hide():this.show(t)},e.prototype.show=function(n){var r=this,i=t.Event("show.bs.modal",{relatedTarget:n});this.$element.trigger(i),this.isShown||i.isDefaultPrevented()||(this.isShown=!0,this.checkScrollbar(),this.setScrollbar(),this.$body.addClass("modal-open"),this.escape(),this.resize(),this.$element.on("click.dismiss.bs.modal",'[data-dismiss="modal"]',t.proxy(this.hide,this)),this.$dialog.on("mousedown.dismiss.bs.modal",(function(){r.$element.one("mouseup.dismiss.bs.modal",(function(e){t(e.target).is(r.$element)&&(r.ignoreBackdropClick=!0)}))})),this.backdrop((function(){var i=t.support.transition&&r.$element.hasClass("fade");r.$element.parent().length||r.$element.appendTo(r.$body),r.$element.show().scrollTop(0),r.adjustDialog(),i&&r.$element[0].offsetWidth,r.$element.addClass("in"),r.enforceFocus();var o=t.Event("shown.bs.modal",{relatedTarget:n});i?r.$dialog.one("bsTransitionEnd",(function(){r.$element.trigger("focus").trigger(o)})).emulateTransitionEnd(e.TRANSITION_DURATION):r.$element.trigger("focus").trigger(o)})))},e.prototype.hide=function(n){n&&n.preventDefault(),n=t.Event("hide.bs.modal"),this.$element.trigger(n),this.isShown&&!n.isDefaultPrevented()&&(this.isShown=!1,this.escape(),this.resize(),t(document).off("focusin.bs.modal"),this.$element.removeClass("in").off("click.dismiss.bs.modal").off("mouseup.dismiss.bs.modal"),this.$dialog.off("mousedown.dismiss.bs.modal"),t.support.transition&&this.$element.hasClass("fade")?this.$element.one("bsTransitionEnd",t.proxy(this.hideModal,this)).emulateTransitionEnd(e.TRANSITION_DURATION):this.hideModal())},e.prototype.enforceFocus=function(){t(document).off("focusin.bs.modal").on("focusin.bs.modal",t.proxy((function(t){document===t.target||this.$element[0]===t.target||this.$element.has(t.target).length||this.$element.trigger("focus")}),this))},e.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("keydown.dismiss.bs.modal",t.proxy((function(t){27==t.which&&this.hide()}),this)):this.isShown||this.$element.off("keydown.dismiss.bs.modal")},e.prototype.resize=function(){this.isShown?t(window).on("resize.bs.modal",t.proxy(this.handleUpdate,this)):t(window).off("resize.bs.modal")},e.prototype.hideModal=function(){var t=this;this.$element.hide(),this.backdrop((function(){t.$body.removeClass("modal-open"),t.resetAdjustments(),t.resetScrollbar(),t.$element.trigger("hidden.bs.modal")}))},e.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},e.prototype.backdrop=function(n){var r=this,i=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var o=t.support.transition&&i;if(this.$backdrop=t(document.createElement("div")).addClass("modal-backdrop "+i).appendTo(this.$body),this.$element.on("click.dismiss.bs.modal",t.proxy((function(t){this.ignoreBackdropClick?this.ignoreBackdropClick=!1:t.target===t.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus():this.hide())}),this)),o&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),!n)return;o?this.$backdrop.one("bsTransitionEnd",n).emulateTransitionEnd(e.BACKDROP_TRANSITION_DURATION):n()}else if(!this.isShown&&this.$backdrop){this.$backdrop.removeClass("in");var a=function(){r.removeBackdrop(),n&&n()};t.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one("bsTransitionEnd",a).emulateTransitionEnd(e.BACKDROP_TRANSITION_DURATION):a()}else n&&n()},e.prototype.handleUpdate=function(){this.adjustDialog()},e.prototype.adjustDialog=function(){var t=this.$element[0].scrollHeight>document.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&t?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!t?this.scrollbarWidth:""})},e.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})},e.prototype.checkScrollbar=function(){var t=window.innerWidth;if(!t){var e=document.documentElement.getBoundingClientRect();t=e.right-Math.abs(e.left)}this.bodyIsOverflowing=document.body.clientWidth<t,this.scrollbarWidth=this.measureScrollbar()},e.prototype.setScrollbar=function(){var e=parseInt(this.$body.css("padding-right")||0,10);this.originalBodyPad=document.body.style.paddingRight||"";var n=this.scrollbarWidth;this.bodyIsOverflowing&&(this.$body.css("padding-right",e+n),t(this.fixedContent).each((function(e,r){var i=r.style.paddingRight,o=t(r).css("padding-right");t(r).data("padding-right",i).css("padding-right",parseFloat(o)+n+"px")})))},e.prototype.resetScrollbar=function(){this.$body.css("padding-right",this.originalBodyPad),t(this.fixedContent).each((function(e,n){var r=t(n).data("padding-right");t(n).removeData("padding-right"),n.style.paddingRight=r||""}))},e.prototype.measureScrollbar=function(){var t=document.createElement("div");t.className="modal-scrollbar-measure",this.$body.append(t);var e=t.offsetWidth-t.clientWidth;return this.$body[0].removeChild(t),e};var r=t.fn.modal;t.fn.modal=n,t.fn.modal.Constructor=e,t.fn.modal.noConflict=function(){return t.fn.modal=r,this},t(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',(function(e){var r=t(this),i=r.attr("href"),o=r.attr("data-target")||i&&i.replace(/.*(?=#[^\s]+$)/,""),a=t(document).find(o),s=a.data("bs.modal")?"toggle":t.extend({remote:!/#/.test(i)&&i},a.data(),r.data());r.is("a")&&e.preventDefault(),a.one("show.bs.modal",(function(t){t.isDefaultPrevented()||a.one("hidden.bs.modal",(function(){r.is(":visible")&&r.trigger("focus")}))})),n.call(a,s,this)}))}(n(2702))},5250:(t,e,n)=>{!function(t){"use strict";var e=function(t,e){this.init("popover",t,e)};if(!t.fn.tooltip)throw new Error("Popover requires tooltip.js");e.VERSION="3.4.1",e.DEFAULTS=t.extend({},t.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}),(e.prototype=t.extend({},t.fn.tooltip.Constructor.prototype)).constructor=e,e.prototype.getDefaults=function(){return e.DEFAULTS},e.prototype.setContent=function(){var t=this.tip(),e=this.getTitle(),n=this.getContent();if(this.options.html){var r=typeof n;this.options.sanitize&&(e=this.sanitizeHtml(e),"string"===r&&(n=this.sanitizeHtml(n))),t.find(".popover-title").html(e),t.find(".popover-content").children().detach().end()["string"===r?"html":"append"](n)}else t.find(".popover-title").text(e),t.find(".popover-content").children().detach().end().text(n);t.removeClass("fade top bottom left right in"),t.find(".popover-title").html()||t.find(".popover-title").hide()},e.prototype.hasContent=function(){return this.getTitle()||this.getContent()},e.prototype.getContent=function(){var t=this.$element,e=this.options;return t.attr("data-content")||("function"==typeof e.content?e.content.call(t[0]):e.content)},e.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};var n=t.fn.popover;t.fn.popover=function(n){return this.each((function(){var r=t(this),i=r.data("bs.popover"),o="object"==typeof n&&n;!i&&/destroy|hide/.test(n)||(i||r.data("bs.popover",i=new e(this,o)),"string"==typeof n&&i[n]())}))},t.fn.popover.Constructor=e,t.fn.popover.noConflict=function(){return t.fn.popover=n,this}}(n(2702))},3313:(t,e,n)=>{!function(t){"use strict";function e(n,r){this.$body=t(document.body),this.$scrollElement=t(n).is(document.body)?t(window):t(n),this.options=t.extend({},e.DEFAULTS,r),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",t.proxy(this.process,this)),this.refresh(),this.process()}function n(n){return this.each((function(){var r=t(this),i=r.data("bs.scrollspy"),o="object"==typeof n&&n;i||r.data("bs.scrollspy",i=new e(this,o)),"string"==typeof n&&i[n]()}))}e.VERSION="3.4.1",e.DEFAULTS={offset:10},e.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},e.prototype.refresh=function(){var e=this,n="offset",r=0;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),t.isWindow(this.$scrollElement[0])||(n="position",r=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map((function(){var e=t(this),i=e.data("target")||e.attr("href"),o=/^#./.test(i)&&t(i);return o&&o.length&&o.is(":visible")&&[[o[n]().top+r,i]]||null})).sort((function(t,e){return t[0]-e[0]})).each((function(){e.offsets.push(this[0]),e.targets.push(this[1])}))},e.prototype.process=function(){var t,e=this.$scrollElement.scrollTop()+this.options.offset,n=this.getScrollHeight(),r=this.options.offset+n-this.$scrollElement.height(),i=this.offsets,o=this.targets,a=this.activeTarget;if(this.scrollHeight!=n&&this.refresh(),e>=r)return a!=(t=o[o.length-1])&&this.activate(t);if(a&&e<i[0])return this.activeTarget=null,this.clear();for(t=i.length;t--;)a!=o[t]&&e>=i[t]&&(void 0===i[t+1]||e<i[t+1])&&this.activate(o[t])},e.prototype.activate=function(e){this.activeTarget=e,this.clear();var n=this.selector+'[data-target="'+e+'"],'+this.selector+'[href="'+e+'"]',r=t(n).parents("li").addClass("active");r.parent(".dropdown-menu").length&&(r=r.closest("li.dropdown").addClass("active")),r.trigger("activate.bs.scrollspy")},e.prototype.clear=function(){t(this.selector).parentsUntil(this.options.target,".active").removeClass("active")};var r=t.fn.scrollspy;t.fn.scrollspy=n,t.fn.scrollspy.Constructor=e,t.fn.scrollspy.noConflict=function(){return t.fn.scrollspy=r,this},t(window).on("load.bs.scrollspy.data-api",(function(){t('[data-spy="scroll"]').each((function(){var e=t(this);n.call(e,e.data())}))}))}(n(2702))},2728:(t,e,n)=>{!function(t){"use strict";var e=function(e){this.element=t(e)};function n(n){return this.each((function(){var r=t(this),i=r.data("bs.tab");i||r.data("bs.tab",i=new e(this)),"string"==typeof n&&i[n]()}))}e.VERSION="3.4.1",e.TRANSITION_DURATION=150,e.prototype.show=function(){var e=this.element,n=e.closest("ul:not(.dropdown-menu)"),r=e.data("target");if(r||(r=(r=e.attr("href"))&&r.replace(/.*(?=#[^\s]*$)/,"")),!e.parent("li").hasClass("active")){var i=n.find(".active:last a"),o=t.Event("hide.bs.tab",{relatedTarget:e[0]}),a=t.Event("show.bs.tab",{relatedTarget:i[0]});if(i.trigger(o),e.trigger(a),!a.isDefaultPrevented()&&!o.isDefaultPrevented()){var s=t(document).find(r);this.activate(e.closest("li"),n),this.activate(s,s.parent(),(function(){i.trigger({type:"hidden.bs.tab",relatedTarget:e[0]}),e.trigger({type:"shown.bs.tab",relatedTarget:i[0]})}))}}},e.prototype.activate=function(n,r,i){var o=r.find("> .active"),a=i&&t.support.transition&&(o.length&&o.hasClass("fade")||!!r.find("> .fade").length);function s(){o.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),n.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),a?(n[0].offsetWidth,n.addClass("in")):n.removeClass("fade"),n.parent(".dropdown-menu").length&&n.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),i&&i()}o.length&&a?o.one("bsTransitionEnd",s).emulateTransitionEnd(e.TRANSITION_DURATION):s(),o.removeClass("in")};var r=t.fn.tab;t.fn.tab=n,t.fn.tab.Constructor=e,t.fn.tab.noConflict=function(){return t.fn.tab=r,this};var i=function(e){e.preventDefault(),n.call(t(this),"show")};t(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',i).on("click.bs.tab.data-api",'[data-toggle="pill"]',i)}(n(2702))},4987:(t,e,n)=>{!function(t){"use strict";var e=["sanitize","whiteList","sanitizeFn"],n=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],r={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},i=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,o=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+/]+=*$/i;function a(e,r){var a=e.nodeName.toLowerCase();if(-1!==t.inArray(a,r))return-1===t.inArray(a,n)||Boolean(e.nodeValue.match(i)||e.nodeValue.match(o));for(var s=t(r).filter((function(t,e){return e instanceof RegExp})),c=0,l=s.length;c<l;c++)if(a.match(s[c]))return!0;return!1}function s(e,n,r){if(0===e.length)return e;if(r&&"function"==typeof r)return r(e);if(!document.implementation||!document.implementation.createHTMLDocument)return e;var i=document.implementation.createHTMLDocument("sanitization");i.body.innerHTML=e;for(var o=t.map(n,(function(t,e){return e})),s=t(i.body).find("*"),c=0,l=s.length;c<l;c++){var u=s[c],f=u.nodeName.toLowerCase();if(-1!==t.inArray(f,o))for(var h=t.map(u.attributes,(function(t){return t})),d=[].concat(n["*"]||[],n[f]||[]),p=0,m=h.length;p<m;p++)a(h[p],d)||u.removeAttribute(h[p].nodeName);else u.parentNode.removeChild(u)}return i.body.innerHTML}var c=function(t,e){this.type=null,this.options=null,this.enabled=null,this.timeout=null,this.hoverState=null,this.$element=null,this.inState=null,this.init("tooltip",t,e)};c.VERSION="3.4.1",c.TRANSITION_DURATION=150,c.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0},sanitize:!0,sanitizeFn:null,whiteList:r},c.prototype.init=function(e,n,r){if(this.enabled=!0,this.type=e,this.$element=t(n),this.options=this.getOptions(r),this.$viewport=this.options.viewport&&t(document).find(t.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var i=this.options.trigger.split(" "),o=i.length;o--;){var a=i[o];if("click"==a)this.$element.on("click."+this.type,this.options.selector,t.proxy(this.toggle,this));else if("manual"!=a){var s="hover"==a?"mouseenter":"focusin",c="hover"==a?"mouseleave":"focusout";this.$element.on(s+"."+this.type,this.options.selector,t.proxy(this.enter,this)),this.$element.on(c+"."+this.type,this.options.selector,t.proxy(this.leave,this))}}this.options.selector?this._options=t.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},c.prototype.getDefaults=function(){return c.DEFAULTS},c.prototype.getOptions=function(n){var r=this.$element.data();for(var i in r)r.hasOwnProperty(i)&&-1!==t.inArray(i,e)&&delete r[i];return(n=t.extend({},this.getDefaults(),r,n)).delay&&"number"==typeof n.delay&&(n.delay={show:n.delay,hide:n.delay}),n.sanitize&&(n.template=s(n.template,n.whiteList,n.sanitizeFn)),n},c.prototype.getDelegateOptions=function(){var e={},n=this.getDefaults();return this._options&&t.each(this._options,(function(t,r){n[t]!=r&&(e[t]=r)})),e},c.prototype.enter=function(e){var n=e instanceof this.constructor?e:t(e.currentTarget).data("bs."+this.type);if(n||(n=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,n)),e instanceof t.Event&&(n.inState["focusin"==e.type?"focus":"hover"]=!0),n.tip().hasClass("in")||"in"==n.hoverState)n.hoverState="in";else{if(clearTimeout(n.timeout),n.hoverState="in",!n.options.delay||!n.options.delay.show)return n.show();n.timeout=setTimeout((function(){"in"==n.hoverState&&n.show()}),n.options.delay.show)}},c.prototype.isInStateTrue=function(){for(var t in this.inState)if(this.inState[t])return!0;return!1},c.prototype.leave=function(e){var n=e instanceof this.constructor?e:t(e.currentTarget).data("bs."+this.type);if(n||(n=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,n)),e instanceof t.Event&&(n.inState["focusout"==e.type?"focus":"hover"]=!1),!n.isInStateTrue()){if(clearTimeout(n.timeout),n.hoverState="out",!n.options.delay||!n.options.delay.hide)return n.hide();n.timeout=setTimeout((function(){"out"==n.hoverState&&n.hide()}),n.options.delay.hide)}},c.prototype.show=function(){var e=t.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(e);var n=t.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(e.isDefaultPrevented()||!n)return;var r=this,i=this.tip(),o=this.getUID(this.type);this.setContent(),i.attr("id",o),this.$element.attr("aria-describedby",o),this.options.animation&&i.addClass("fade");var a="function"==typeof this.options.placement?this.options.placement.call(this,i[0],this.$element[0]):this.options.placement,s=/\s?auto?\s?/i,l=s.test(a);l&&(a=a.replace(s,"")||"top"),i.detach().css({top:0,left:0,display:"block"}).addClass(a).data("bs."+this.type,this),this.options.container?i.appendTo(t(document).find(this.options.container)):i.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var u=this.getPosition(),f=i[0].offsetWidth,h=i[0].offsetHeight;if(l){var d=a,p=this.getPosition(this.$viewport);a="bottom"==a&&u.bottom+h>p.bottom?"top":"top"==a&&u.top-h<p.top?"bottom":"right"==a&&u.right+f>p.width?"left":"left"==a&&u.left-f<p.left?"right":a,i.removeClass(d).addClass(a)}var m=this.getCalculatedOffset(a,u,f,h);this.applyPlacement(m,a);var v=function(){var t=r.hoverState;r.$element.trigger("shown.bs."+r.type),r.hoverState=null,"out"==t&&r.leave(r)};t.support.transition&&this.$tip.hasClass("fade")?i.one("bsTransitionEnd",v).emulateTransitionEnd(c.TRANSITION_DURATION):v()}},c.prototype.applyPlacement=function(e,n){var r=this.tip(),i=r[0].offsetWidth,o=r[0].offsetHeight,a=parseInt(r.css("margin-top"),10),s=parseInt(r.css("margin-left"),10);isNaN(a)&&(a=0),isNaN(s)&&(s=0),e.top+=a,e.left+=s,t.offset.setOffset(r[0],t.extend({using:function(t){r.css({top:Math.round(t.top),left:Math.round(t.left)})}},e),0),r.addClass("in");var c=r[0].offsetWidth,l=r[0].offsetHeight;"top"==n&&l!=o&&(e.top=e.top+o-l);var u=this.getViewportAdjustedDelta(n,e,c,l);u.left?e.left+=u.left:e.top+=u.top;var f=/top|bottom/.test(n),h=f?2*u.left-i+c:2*u.top-o+l,d=f?"offsetWidth":"offsetHeight";r.offset(e),this.replaceArrow(h,r[0][d],f)},c.prototype.replaceArrow=function(t,e,n){this.arrow().css(n?"left":"top",50*(1-t/e)+"%").css(n?"top":"left","")},c.prototype.setContent=function(){var t=this.tip(),e=this.getTitle();this.options.html?(this.options.sanitize&&(e=s(e,this.options.whiteList,this.options.sanitizeFn)),t.find(".tooltip-inner").html(e)):t.find(".tooltip-inner").text(e),t.removeClass("fade in top bottom left right")},c.prototype.hide=function(e){var n=this,r=t(this.$tip),i=t.Event("hide.bs."+this.type);function o(){"in"!=n.hoverState&&r.detach(),n.$element&&n.$element.removeAttr("aria-describedby").trigger("hidden.bs."+n.type),e&&e()}if(this.$element.trigger(i),!i.isDefaultPrevented())return r.removeClass("in"),t.support.transition&&r.hasClass("fade")?r.one("bsTransitionEnd",o).emulateTransitionEnd(c.TRANSITION_DURATION):o(),this.hoverState=null,this},c.prototype.fixTitle=function(){var t=this.$element;(t.attr("title")||"string"!=typeof t.attr("data-original-title"))&&t.attr("data-original-title",t.attr("title")||"").attr("title","")},c.prototype.hasContent=function(){return this.getTitle()},c.prototype.getPosition=function(e){var n=(e=e||this.$element)[0],r="BODY"==n.tagName,i=n.getBoundingClientRect();null==i.width&&(i=t.extend({},i,{width:i.right-i.left,height:i.bottom-i.top}));var o=window.SVGElement&&n instanceof window.SVGElement,a=r?{top:0,left:0}:o?null:e.offset(),s={scroll:r?document.documentElement.scrollTop||document.body.scrollTop:e.scrollTop()},c=r?{width:t(window).width(),height:t(window).height()}:null;return t.extend({},i,s,c,a)},c.prototype.getCalculatedOffset=function(t,e,n,r){return"bottom"==t?{top:e.top+e.height,left:e.left+e.width/2-n/2}:"top"==t?{top:e.top-r,left:e.left+e.width/2-n/2}:"left"==t?{top:e.top+e.height/2-r/2,left:e.left-n}:{top:e.top+e.height/2-r/2,left:e.left+e.width}},c.prototype.getViewportAdjustedDelta=function(t,e,n,r){var i={top:0,left:0};if(!this.$viewport)return i;var o=this.options.viewport&&this.options.viewport.padding||0,a=this.getPosition(this.$viewport);if(/right|left/.test(t)){var s=e.top-o-a.scroll,c=e.top+o-a.scroll+r;s<a.top?i.top=a.top-s:c>a.top+a.height&&(i.top=a.top+a.height-c)}else{var l=e.left-o,u=e.left+o+n;l<a.left?i.left=a.left-l:u>a.right&&(i.left=a.left+a.width-u)}return i},c.prototype.getTitle=function(){var t=this.$element,e=this.options;return t.attr("data-original-title")||("function"==typeof e.title?e.title.call(t[0]):e.title)},c.prototype.getUID=function(t){do{t+=~~(1e6*Math.random())}while(document.getElementById(t));return t},c.prototype.tip=function(){if(!this.$tip&&(this.$tip=t(this.options.template),1!=this.$tip.length))throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!");return this.$tip},c.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},c.prototype.enable=function(){this.enabled=!0},c.prototype.disable=function(){this.enabled=!1},c.prototype.toggleEnabled=function(){this.enabled=!this.enabled},c.prototype.toggle=function(e){var n=this;e&&((n=t(e.currentTarget).data("bs."+this.type))||(n=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,n))),e?(n.inState.click=!n.inState.click,n.isInStateTrue()?n.enter(n):n.leave(n)):n.tip().hasClass("in")?n.leave(n):n.enter(n)},c.prototype.destroy=function(){var t=this;clearTimeout(this.timeout),this.hide((function(){t.$element.off("."+t.type).removeData("bs."+t.type),t.$tip&&t.$tip.detach(),t.$tip=null,t.$arrow=null,t.$viewport=null,t.$element=null}))},c.prototype.sanitizeHtml=function(t){return s(t,this.options.whiteList,this.options.sanitizeFn)};var l=t.fn.tooltip;t.fn.tooltip=function(e){return this.each((function(){var n=t(this),r=n.data("bs.tooltip"),i="object"==typeof e&&e;!r&&/destroy|hide/.test(e)||(r||n.data("bs.tooltip",r=new c(this,i)),"string"==typeof e&&r[e]())}))},t.fn.tooltip.Constructor=c,t.fn.tooltip.noConflict=function(){return t.fn.tooltip=l,this}}(n(2702))},869:(t,e,n)=>{!function(t){"use strict";t.fn.emulateTransitionEnd=function(e){var n=!1,r=this;t(this).one("bsTransitionEnd",(function(){n=!0}));return setTimeout((function(){n||t(r).trigger(t.support.transition.end)}),e),this},t((function(){t.support.transition=function(){var t=document.createElement("bootstrap"),e={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var n in e)if(void 0!==t.style[n])return{end:e[n]};return!1}(),t.support.transition&&(t.event.special.bsTransitionEnd={bindType:t.support.transition.end,delegateType:t.support.transition.end,handle:function(e){if(t(e.target).is(this))return e.handleObj.handler.apply(this,arguments)}})}))}(n(2702))},7496:(t,e,n)=>{"use strict";var r=n(8719),i=n(7411),o=n(962),a=n(595),s=n(1589),c=n(1154);function l(t,e){var n;(0,s.Z)(1,arguments);var r=(0,c.Z)(null!==(n=null==e?void 0:e.additionalDigits)&&void 0!==n?n:2);if(2!==r&&1!==r&&0!==r)throw new RangeError("additionalDigits must be 0, 1 or 2");if("string"!=typeof t&&"[object String]"!==Object.prototype.toString.call(t))return new Date(NaN);var i,o=function(t){var e,n={},r=t.split(u.dateTimeDelimiter);if(r.length>2)return n;/:/.test(r[0])?e=r[0]:(n.date=r[0],e=r[1],u.timeZoneDelimiter.test(n.date)&&(n.date=t.split(u.timeZoneDelimiter)[0],e=t.substr(n.date.length,t.length)));if(e){var i=u.timezone.exec(e);i?(n.time=e.replace(i[1],""),n.timezone=i[1]):n.time=e}return n}(t);if(o.date){var l=function(t,e){var n=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+e)+"})|(\\d{2}|[+-]\\d{"+(2+e)+"})$)"),r=t.match(n);if(!r)return{year:NaN,restDateString:""};var i=r[1]?parseInt(r[1]):null,o=r[2]?parseInt(r[2]):null;return{year:null===o?i:100*o,restDateString:t.slice((r[1]||r[2]).length)}}(o.date,r);i=function(t,e){if(null===e)return new Date(NaN);var n=t.match(f);if(!n)return new Date(NaN);var r=!!n[4],i=p(n[1]),o=p(n[2])-1,a=p(n[3]),s=p(n[4]),c=p(n[5])-1;if(r)return function(t,e,n){return e>=1&&e<=53&&n>=0&&n<=6}(0,s,c)?function(t,e,n){var r=new Date(0);r.setUTCFullYear(t,0,4);var i=r.getUTCDay()||7,o=7*(e-1)+n+1-i;return r.setUTCDate(r.getUTCDate()+o),r}(e,s,c):new Date(NaN);var l=new Date(0);return function(t,e,n){return e>=0&&e<=11&&n>=1&&n<=(v[e]||(g(t)?29:28))}(e,o,a)&&function(t,e){return e>=1&&e<=(g(t)?366:365)}(e,i)?(l.setUTCFullYear(e,o,Math.max(i,a)),l):new Date(NaN)}(l.restDateString,l.year)}if(!i||isNaN(i.getTime()))return new Date(NaN);var y,b=i.getTime(),w=0;if(o.time&&(w=function(t){var e=t.match(h);if(!e)return NaN;var n=m(e[1]),r=m(e[2]),i=m(e[3]);if(!function(t,e,n){if(24===t)return 0===e&&0===n;return n>=0&&n<60&&e>=0&&e<60&&t>=0&&t<25}(n,r,i))return NaN;return n*a.vh+r*a.yJ+1e3*i}(o.time),isNaN(w)))return new Date(NaN);if(!o.timezone){var _=new Date(b+w),x=new Date(0);return x.setFullYear(_.getUTCFullYear(),_.getUTCMonth(),_.getUTCDate()),x.setHours(_.getUTCHours(),_.getUTCMinutes(),_.getUTCSeconds(),_.getUTCMilliseconds()),x}return y=function(t){if("Z"===t)return 0;var e=t.match(d);if(!e)return 0;var n="+"===e[1]?-1:1,r=parseInt(e[2]),i=e[3]&&parseInt(e[3])||0;if(!function(t,e){return e>=0&&e<=59}(0,i))return NaN;return n*(r*a.vh+i*a.yJ)}(o.timezone),isNaN(y)?new Date(NaN):new Date(b+w+y)}var u={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},f=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,h=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,d=/^([+-])(\d{2})(?::?(\d{2}))?$/;function p(t){return t?parseInt(t):1}function m(t){return t&&parseFloat(t.replace(",","."))||0}var v=[31,null,31,30,31,30,31,31,30,31,30,31];function g(t){return t%400==0||t%4==0&&t%100!=0}var y=n(9420),b=n(7810),w=n(33);function _(t,e){(0,s.Z)(2,arguments);var n=(0,i.Z)(t),r=(0,c.Z)(e);return isNaN(r)?new Date(NaN):r?(n.setDate(n.getDate()+r),n):n}function x(t,e){(0,s.Z)(2,arguments);var n=(0,i.Z)(t),r=(0,c.Z)(e);if(isNaN(r))return new Date(NaN);if(!r)return n;var o=n.getDate(),a=new Date(n.getTime());return a.setMonth(n.getMonth()+r+1,0),o>=a.getDate()?a:(n.setFullYear(a.getFullYear(),a.getMonth(),o),n)}function k(t,e){return(0,s.Z)(2,arguments),(0,i.Z)(t).getTime()-(0,i.Z)(e).getTime()}var O={ceil:Math.ceil,round:Math.round,floor:Math.floor,trunc:function(t){return t<0?Math.ceil(t):Math.floor(t)}},C="trunc";function S(t){return t?O[t]:O[C]}var E=n(4158);function T(t,e){var n=t.getFullYear()-e.getFullYear()||t.getMonth()-e.getMonth()||t.getDate()-e.getDate()||t.getHours()-e.getHours()||t.getMinutes()-e.getMinutes()||t.getSeconds()-e.getSeconds()||t.getMilliseconds()-e.getMilliseconds();return n<0?-1:n>0?1:n}function P(t,e){(0,s.Z)(2,arguments);var n=(0,i.Z)(t),r=(0,i.Z)(e),o=T(n,r),a=Math.abs((0,E.Z)(n,r));n.setDate(n.getDate()-o*a);var c=o*(a-Number(T(n,r)===-o));return 0===c?0:c}function A(t,e){(0,s.Z)(2,arguments);var n=(0,i.Z)(t),r=(0,i.Z)(e),o=n.getTime()-r.getTime();return o<0?-1:o>0?1:o}function j(t){(0,s.Z)(1,arguments);var e=(0,i.Z)(t);return e.setHours(23,59,59,999),e}function D(t){(0,s.Z)(1,arguments);var e=(0,i.Z)(t),n=e.getMonth();return e.setFullYear(e.getFullYear(),n+1,0),e.setHours(23,59,59,999),e}function M(t,e){(0,s.Z)(2,arguments);var n,r=(0,i.Z)(t),o=(0,i.Z)(e),a=A(r,o),c=Math.abs(function(t,e){(0,s.Z)(2,arguments);var n=(0,i.Z)(t),r=(0,i.Z)(e);return 12*(n.getFullYear()-r.getFullYear())+(n.getMonth()-r.getMonth())}(r,o));if(c<1)n=0;else{1===r.getMonth()&&r.getDate()>27&&r.setDate(30),r.setMonth(r.getMonth()-a*c);var l=A(r,o)===-a;(function(t){(0,s.Z)(1,arguments);var e=(0,i.Z)(t);return j(e).getTime()===D(e).getTime()})((0,i.Z)(t))&&1===c&&1===A(t,o)&&(l=!1),n=a*(c-Number(l))}return 0===n?0:n}function R(t,e){(0,s.Z)(2,arguments);var n=(0,i.Z)(t),r=(0,i.Z)(e),o=A(n,r),a=Math.abs(function(t,e){(0,s.Z)(2,arguments);var n=(0,i.Z)(t),r=(0,i.Z)(e);return n.getFullYear()-r.getFullYear()}(n,r));n.setFullYear(1584),r.setFullYear(1584);var c=A(n,r)===-o,l=o*(a-Number(c));return 0===l?0:l}var I=n(3127),N=n(1469);function L(t,e){var n,r,o,a,l,u,f,h;(0,s.Z)(1,arguments);var d=(0,N.j)(),p=(0,c.Z)(null!==(n=null!==(r=null!==(o=null!==(a=null==e?void 0:e.weekStartsOn)&&void 0!==a?a:null==e||null===(l=e.locale)||void 0===l||null===(u=l.options)||void 0===u?void 0:u.weekStartsOn)&&void 0!==o?o:d.weekStartsOn)&&void 0!==r?r:null===(f=d.locale)||void 0===f||null===(h=f.options)||void 0===h?void 0:h.weekStartsOn)&&void 0!==n?n:0);if(!(p>=0&&p<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var m=(0,i.Z)(t),v=m.getDay(),g=(v<p?7:0)+v-p;return m.setDate(m.getDate()-g),m.setHours(0,0,0,0),m}const $={datetime:"MMM d, yyyy, h:mm:ss aaaa",millisecond:"h:mm:ss.SSS aaaa",second:"h:mm:ss aaaa",minute:"h:mm aaaa",hour:"ha",day:"MMM d",week:"PP",month:"MMM yyyy",quarter:"qqq - yyyy",year:"yyyy"};r.IQ._date.override({_id:"date-fns",formats:function(){return $},parse:function(t,e){if(null==t)return null;const n=typeof t;return"number"===n||t instanceof Date?t=(0,i.Z)(t):"string"===n&&(t="string"==typeof e?(0,o.Z)(t,e,new Date,this.options):l(t,this.options)),(0,y.Z)(t)?t.getTime():null},format:function(t,e){return(0,b.Z)(t,e,this.options)},add:function(t,e,n){switch(n){case"millisecond":return(0,w.Z)(t,e);case"second":return function(t,e){(0,s.Z)(2,arguments);var n=(0,c.Z)(e);return(0,w.Z)(t,1e3*n)}(t,e);case"minute":return function(t,e){(0,s.Z)(2,arguments);var n=(0,c.Z)(e);return(0,w.Z)(t,6e4*n)}(t,e);case"hour":return function(t,e){(0,s.Z)(2,arguments);var n=(0,c.Z)(e);return(0,w.Z)(t,36e5*n)}(t,e);case"day":return _(t,e);case"week":return function(t,e){return(0,s.Z)(2,arguments),_(t,7*(0,c.Z)(e))}(t,e);case"month":return x(t,e);case"quarter":return function(t,e){return(0,s.Z)(2,arguments),x(t,3*(0,c.Z)(e))}(t,e);case"year":return function(t,e){return(0,s.Z)(2,arguments),x(t,12*(0,c.Z)(e))}(t,e);default:return t}},diff:function(t,e,n){switch(n){case"millisecond":return k(t,e);case"second":return function(t,e,n){(0,s.Z)(2,arguments);var r=k(t,e)/1e3;return S(null==n?void 0:n.roundingMethod)(r)}(t,e);case"minute":return function(t,e,n){(0,s.Z)(2,arguments);var r=k(t,e)/a.yJ;return S(null==n?void 0:n.roundingMethod)(r)}(t,e);case"hour":return function(t,e,n){(0,s.Z)(2,arguments);var r=k(t,e)/a.vh;return S(null==n?void 0:n.roundingMethod)(r)}(t,e);case"day":return P(t,e);case"week":return function(t,e,n){(0,s.Z)(2,arguments);var r=P(t,e)/7;return S(null==n?void 0:n.roundingMethod)(r)}(t,e);case"month":return M(t,e);case"quarter":return function(t,e,n){(0,s.Z)(2,arguments);var r=M(t,e)/3;return S(null==n?void 0:n.roundingMethod)(r)}(t,e);case"year":return R(t,e);default:return 0}},startOf:function(t,e,n){switch(e){case"second":return function(t){(0,s.Z)(1,arguments);var e=(0,i.Z)(t);return e.setMilliseconds(0),e}(t);case"minute":return function(t){(0,s.Z)(1,arguments);var e=(0,i.Z)(t);return e.setSeconds(0,0),e}(t);case"hour":return function(t){(0,s.Z)(1,arguments);var e=(0,i.Z)(t);return e.setMinutes(0,0,0),e}(t);case"day":return(0,I.Z)(t);case"week":return L(t);case"isoWeek":return L(t,{weekStartsOn:+n});case"month":return function(t){(0,s.Z)(1,arguments);var e=(0,i.Z)(t);return e.setDate(1),e.setHours(0,0,0,0),e}(t);case"quarter":return function(t){(0,s.Z)(1,arguments);var e=(0,i.Z)(t),n=e.getMonth(),r=n-n%3;return e.setMonth(r,1),e.setHours(0,0,0,0),e}(t);case"year":return function(t){(0,s.Z)(1,arguments);var e=(0,i.Z)(t),n=new Date(0);return n.setFullYear(e.getFullYear(),0,1),n.setHours(0,0,0,0),n}(t);default:return t}},endOf:function(t,e){switch(e){case"second":return function(t){(0,s.Z)(1,arguments);var e=(0,i.Z)(t);return e.setMilliseconds(999),e}(t);case"minute":return function(t){(0,s.Z)(1,arguments);var e=(0,i.Z)(t);return e.setSeconds(59,999),e}(t);case"hour":return function(t){(0,s.Z)(1,arguments);var e=(0,i.Z)(t);return e.setMinutes(59,59,999),e}(t);case"day":return j(t);case"week":return function(t,e){var n,r,o,a,l,u,f,h;(0,s.Z)(1,arguments);var d=(0,N.j)(),p=(0,c.Z)(null!==(n=null!==(r=null!==(o=null!==(a=null==e?void 0:e.weekStartsOn)&&void 0!==a?a:null==e||null===(l=e.locale)||void 0===l||null===(u=l.options)||void 0===u?void 0:u.weekStartsOn)&&void 0!==o?o:d.weekStartsOn)&&void 0!==r?r:null===(f=d.locale)||void 0===f||null===(h=f.options)||void 0===h?void 0:h.weekStartsOn)&&void 0!==n?n:0);if(!(p>=0&&p<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var m=(0,i.Z)(t),v=m.getDay(),g=6+(v<p?-7:0)-(v-p);return m.setDate(m.getDate()+g),m.setHours(23,59,59,999),m}(t);case"month":return D(t);case"quarter":return function(t){(0,s.Z)(1,arguments);var e=(0,i.Z)(t),n=e.getMonth(),r=n-n%3+3;return e.setMonth(r,0),e.setHours(23,59,59,999),e}(t);case"year":return function(t){(0,s.Z)(1,arguments);var e=(0,i.Z)(t),n=e.getFullYear();return e.setFullYear(n+1,0,0),e.setHours(23,59,59,999),e}(t);default:return t}}})},6163:function(t,e,n){var r=n(2702);(function(){var t,e,n,i,o={}.hasOwnProperty;(i=function(){function t(){this.options_index=0,this.parsed=[]}return t.prototype.add_node=function(t){return"OPTGROUP"===t.nodeName.toUpperCase()?this.add_group(t):this.add_option(t)},t.prototype.add_group=function(t){var e,n,r,i,o,a;for(e=this.parsed.length,this.parsed.push({array_index:e,group:!0,label:t.label,title:t.title?t.title:void 0,children:0,disabled:t.disabled,classes:t.className}),a=[],n=0,r=(o=t.childNodes).length;n<r;n++)i=o[n],a.push(this.add_option(i,e,t.disabled));return a},t.prototype.add_option=function(t,e,n){if("OPTION"===t.nodeName.toUpperCase())return""!==t.text?(null!=e&&(this.parsed[e].children+=1),this.parsed.push({array_index:this.parsed.length,options_index:this.options_index,value:t.value,text:t.text,html:t.innerHTML,title:t.title?t.title:void 0,selected:t.selected,disabled:!0===n?n:t.disabled,group_array_index:e,group_label:null!=e?this.parsed[e].label:null,classes:t.className,style:t.style.cssText})):this.parsed.push({array_index:this.parsed.length,options_index:this.options_index,empty:!0}),this.options_index+=1},t}()).select_to_array=function(t){var e,n,r,o,a;for(o=new i,n=0,r=(a=t.childNodes).length;n<r;n++)e=a[n],o.add_node(e);return o.parsed},e=function(){function t(e,n){this.form_field=e,this.options=null!=n?n:{},this.label_click_handler=function(t,e){return function(){return t.apply(e,arguments)}}(this.label_click_handler,this),t.browser_is_supported()&&(this.is_multiple=this.form_field.multiple,this.set_default_text(),this.set_default_values(),this.setup(),this.set_up_html(),this.register_observers(),this.on_ready())}return t.prototype.set_default_values=function(){return this.click_test_action=function(t){return function(e){return t.test_active_click(e)}}(this),this.activate_action=function(t){return function(e){return t.activate_field(e)}}(this),this.active_field=!1,this.mouse_on_container=!1,this.results_showing=!1,this.result_highlighted=null,this.is_rtl=this.options.rtl||/\bchosen-rtl\b/.test(this.form_field.className),this.allow_single_deselect=null!=this.options.allow_single_deselect&&null!=this.form_field.options[0]&&""===this.form_field.options[0].text&&this.options.allow_single_deselect,this.disable_search_threshold=this.options.disable_search_threshold||0,this.disable_search=this.options.disable_search||!1,this.enable_split_word_search=null==this.options.enable_split_word_search||this.options.enable_split_word_search,this.group_search=null==this.options.group_search||this.options.group_search,this.search_contains=this.options.search_contains||!1,this.single_backstroke_delete=null==this.options.single_backstroke_delete||this.options.single_backstroke_delete,this.max_selected_options=this.options.max_selected_options||1/0,this.inherit_select_classes=this.options.inherit_select_classes||!1,this.display_selected_options=null==this.options.display_selected_options||this.options.display_selected_options,this.display_disabled_options=null==this.options.display_disabled_options||this.options.display_disabled_options,this.include_group_label_in_selected=this.options.include_group_label_in_selected||!1,this.max_shown_results=this.options.max_shown_results||Number.POSITIVE_INFINITY,this.case_sensitive_search=this.options.case_sensitive_search||!1,this.hide_results_on_select=null==this.options.hide_results_on_select||this.options.hide_results_on_select},t.prototype.set_default_text=function(){return this.form_field.getAttribute("data-placeholder")?this.default_text=this.form_field.getAttribute("data-placeholder"):this.is_multiple?this.default_text=this.options.placeholder_text_multiple||this.options.placeholder_text||t.default_multiple_text:this.default_text=this.options.placeholder_text_single||this.options.placeholder_text||t.default_single_text,this.default_text=this.escape_html(this.default_text),this.results_none_found=this.form_field.getAttribute("data-no_results_text")||this.options.no_results_text||t.default_no_result_text},t.prototype.choice_label=function(t){return this.include_group_label_in_selected&&null!=t.group_label?"<b class='group-name'>"+this.escape_html(t.group_label)+"</b>"+t.html:t.html},t.prototype.mouse_enter=function(){return this.mouse_on_container=!0},t.prototype.mouse_leave=function(){return this.mouse_on_container=!1},t.prototype.input_focus=function(t){if(this.is_multiple){if(!this.active_field)return setTimeout(function(t){return function(){return t.container_mousedown()}}(this),50)}else if(!this.active_field)return this.activate_field()},t.prototype.input_blur=function(t){if(!this.mouse_on_container)return this.active_field=!1,setTimeout(function(t){return function(){return t.blur_test()}}(this),100)},t.prototype.label_click_handler=function(t){return this.is_multiple?this.container_mousedown(t):this.activate_field()},t.prototype.results_option_build=function(t){var e,n,r,i,o,a,s;for(e="",s=0,i=0,o=(a=this.results_data).length;i<o&&(r="",""!==(r=(n=a[i]).group?this.result_add_group(n):this.result_add_option(n))&&(s++,e+=r),(null!=t?t.first:void 0)&&(n.selected&&this.is_multiple?this.choice_build(n):n.selected&&!this.is_multiple&&this.single_set_selected_text(this.choice_label(n))),!(s>=this.max_shown_results));i++);return e},t.prototype.result_add_option=function(t){var e,n;return t.search_match&&this.include_option_in_results(t)?(e=[],t.disabled||t.selected&&this.is_multiple||e.push("active-result"),!t.disabled||t.selected&&this.is_multiple||e.push("disabled-result"),t.selected&&e.push("result-selected"),null!=t.group_array_index&&e.push("group-option"),""!==t.classes&&e.push(t.classes),(n=document.createElement("li")).className=e.join(" "),t.style&&(n.style.cssText=t.style),n.setAttribute("data-option-array-index",t.array_index),n.innerHTML=t.highlighted_html||t.html,t.title&&(n.title=t.title),this.outerHTML(n)):""},t.prototype.result_add_group=function(t){var e,n;return(t.search_match||t.group_match)&&t.active_options>0?((e=[]).push("group-result"),t.classes&&e.push(t.classes),(n=document.createElement("li")).className=e.join(" "),n.innerHTML=t.highlighted_html||this.escape_html(t.label),t.title&&(n.title=t.title),this.outerHTML(n)):""},t.prototype.results_update_field=function(){if(this.set_default_text(),this.is_multiple||this.results_reset_cleanup(),this.result_clear_highlight(),this.results_build(),this.results_showing)return this.winnow_results()},t.prototype.reset_single_select_options=function(){var t,e,n,r,i;for(i=[],t=0,e=(n=this.results_data).length;t<e;t++)(r=n[t]).selected?i.push(r.selected=!1):i.push(void 0);return i},t.prototype.results_toggle=function(){return this.results_showing?this.results_hide():this.results_show()},t.prototype.results_search=function(t){return this.results_showing?this.winnow_results():this.results_show()},t.prototype.winnow_results=function(t){var e,n,r,i,o,a,s,c,l,u,f,h,d,p,m;for(this.no_results_clear(),u=0,e=(s=this.get_search_text()).replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),l=this.get_search_regex(e),r=0,i=(c=this.results_data).length;r<i;r++)(o=c[r]).search_match=!1,f=null,h=null,o.highlighted_html="",this.include_option_in_results(o)&&(o.group&&(o.group_match=!1,o.active_options=0),null!=o.group_array_index&&this.results_data[o.group_array_index]&&(0===(f=this.results_data[o.group_array_index]).active_options&&f.search_match&&(u+=1),f.active_options+=1),m=o.group?o.label:o.text,o.group&&!this.group_search||(h=this.search_string_match(m,l),o.search_match=null!=h,o.search_match&&!o.group&&(u+=1),o.search_match?(s.length&&(d=h.index,a=m.slice(0,d),n=m.slice(d,d+s.length),p=m.slice(d+s.length),o.highlighted_html=this.escape_html(a)+"<em>"+this.escape_html(n)+"</em>"+this.escape_html(p)),null!=f&&(f.group_match=!0)):null!=o.group_array_index&&this.results_data[o.group_array_index].search_match&&(o.search_match=!0)));return this.result_clear_highlight(),u<1&&s.length?(this.update_results_content(""),this.no_results(s)):(this.update_results_content(this.results_option_build()),(null!=t?t.skip_highlight:void 0)?void 0:this.winnow_results_set_highlight())},t.prototype.get_search_regex=function(t){var e,n;return n=this.search_contains?t:"(^|\\s|\\b)"+t+"[^\\s]*",this.enable_split_word_search||this.search_contains||(n="^"+n),e=this.case_sensitive_search?"":"i",new RegExp(n,e)},t.prototype.search_string_match=function(t,e){var n;return n=e.exec(t),!this.search_contains&&(null!=n?n[1]:void 0)&&(n.index+=1),n},t.prototype.choices_count=function(){var t,e,n;if(null!=this.selected_option_count)return this.selected_option_count;for(this.selected_option_count=0,t=0,e=(n=this.form_field.options).length;t<e;t++)n[t].selected&&(this.selected_option_count+=1);return this.selected_option_count},t.prototype.choices_click=function(t){if(t.preventDefault(),this.activate_field(),!this.results_showing&&!this.is_disabled)return this.results_show()},t.prototype.keydown_checker=function(t){var e,n;switch(n=null!=(e=t.which)?e:t.keyCode,this.search_field_scale(),8!==n&&this.pending_backstroke&&this.clear_backstroke(),n){case 8:this.backstroke_length=this.get_search_field_value().length;break;case 9:this.results_showing&&!this.is_multiple&&this.result_select(t),this.mouse_on_container=!1;break;case 13:case 27:this.results_showing&&t.preventDefault();break;case 32:this.disable_search&&t.preventDefault();break;case 38:t.preventDefault(),this.keyup_arrow();break;case 40:t.preventDefault(),this.keydown_arrow()}},t.prototype.keyup_checker=function(t){var e,n;switch(n=null!=(e=t.which)?e:t.keyCode,this.search_field_scale(),n){case 8:this.is_multiple&&this.backstroke_length<1&&this.choices_count()>0?this.keydown_backstroke():this.pending_backstroke||(this.result_clear_highlight(),this.results_search());break;case 13:t.preventDefault(),this.results_showing&&this.result_select(t);break;case 27:this.results_showing&&this.results_hide();break;case 9:case 16:case 17:case 18:case 38:case 40:case 91:break;default:this.results_search()}},t.prototype.clipboard_event_checker=function(t){if(!this.is_disabled)return setTimeout(function(t){return function(){return t.results_search()}}(this),50)},t.prototype.container_width=function(){return null!=this.options.width?this.options.width:this.form_field.offsetWidth+"px"},t.prototype.include_option_in_results=function(t){return!(this.is_multiple&&!this.display_selected_options&&t.selected)&&(!(!this.display_disabled_options&&t.disabled)&&!t.empty)},t.prototype.search_results_touchstart=function(t){return this.touch_started=!0,this.search_results_mouseover(t)},t.prototype.search_results_touchmove=function(t){return this.touch_started=!1,this.search_results_mouseout(t)},t.prototype.search_results_touchend=function(t){if(this.touch_started)return this.search_results_mouseup(t)},t.prototype.outerHTML=function(t){var e;return t.outerHTML?t.outerHTML:((e=document.createElement("div")).appendChild(t),e.innerHTML)},t.prototype.get_single_html=function(){return'<a class="chosen-single chosen-default">\n  <span>'+this.default_text+'</span>\n  <div><b></b></div>\n</a>\n<div class="chosen-drop">\n  <div class="chosen-search">\n    <input class="chosen-search-input" type="text" autocomplete="off" />\n  </div>\n  <ul class="chosen-results"></ul>\n</div>'},t.prototype.get_multi_html=function(){return'<ul class="chosen-choices">\n  <li class="search-field">\n    <input class="chosen-search-input" type="text" autocomplete="off" value="'+this.default_text+'" />\n  </li>\n</ul>\n<div class="chosen-drop">\n  <ul class="chosen-results"></ul>\n</div>'},t.prototype.get_no_results_html=function(t){return'<li class="no-results">\n  '+this.results_none_found+" <span>"+this.escape_html(t)+"</span>\n</li>"},t.browser_is_supported=function(){return"Microsoft Internet Explorer"===window.navigator.appName?document.documentMode>=8:!(/iP(od|hone)/i.test(window.navigator.userAgent)||/IEMobile/i.test(window.navigator.userAgent)||/Windows Phone/i.test(window.navigator.userAgent)||/BlackBerry/i.test(window.navigator.userAgent)||/BB10/i.test(window.navigator.userAgent)||/Android.*Mobile/i.test(window.navigator.userAgent))},t.default_multiple_text="Select Some Options",t.default_single_text="Select an Option",t.default_no_result_text="No results match",t}(),(t=r).fn.extend({chosen:function(r){return e.browser_is_supported()?this.each((function(e){var i,o;o=(i=t(this)).data("chosen"),"destroy"!==r?o instanceof n||i.data("chosen",new n(this,r)):o instanceof n&&o.destroy()})):this}}),n=function(e){function n(){return n.__super__.constructor.apply(this,arguments)}return function(t,e){for(var n in e)o.call(e,n)&&(t[n]=e[n]);function r(){this.constructor=t}r.prototype=e.prototype,t.prototype=new r,t.__super__=e.prototype}(n,e),n.prototype.setup=function(){return this.form_field_jq=t(this.form_field),this.current_selectedIndex=this.form_field.selectedIndex},n.prototype.set_up_html=function(){var e,n;return(e=["chosen-container"]).push("chosen-container-"+(this.is_multiple?"multi":"single")),this.inherit_select_classes&&this.form_field.className&&e.push(this.form_field.className),this.is_rtl&&e.push("chosen-rtl"),n={class:e.join(" "),title:this.form_field.title},this.form_field.id.length&&(n.id=this.form_field.id.replace(/[^\w]/g,"_")+"_chosen"),this.container=t("<div />",n),this.container.width(this.container_width()),this.is_multiple?this.container.html(this.get_multi_html()):this.container.html(this.get_single_html()),this.form_field_jq.hide().after(this.container),this.dropdown=this.container.find("div.chosen-drop").first(),this.search_field=this.container.find("input").first(),this.search_results=this.container.find("ul.chosen-results").first(),this.search_field_scale(),this.search_no_results=this.container.find("li.no-results").first(),this.is_multiple?(this.search_choices=this.container.find("ul.chosen-choices").first(),this.search_container=this.container.find("li.search-field").first()):(this.search_container=this.container.find("div.chosen-search").first(),this.selected_item=this.container.find(".chosen-single").first()),this.results_build(),this.set_tab_index(),this.set_label_behavior()},n.prototype.on_ready=function(){return this.form_field_jq.trigger("chosen:ready",{chosen:this})},n.prototype.register_observers=function(){return this.container.on("touchstart.chosen",function(t){return function(e){t.container_mousedown(e)}}(this)),this.container.on("touchend.chosen",function(t){return function(e){t.container_mouseup(e)}}(this)),this.container.on("mousedown.chosen",function(t){return function(e){t.container_mousedown(e)}}(this)),this.container.on("mouseup.chosen",function(t){return function(e){t.container_mouseup(e)}}(this)),this.container.on("mouseenter.chosen",function(t){return function(e){t.mouse_enter(e)}}(this)),this.container.on("mouseleave.chosen",function(t){return function(e){t.mouse_leave(e)}}(this)),this.search_results.on("mouseup.chosen",function(t){return function(e){t.search_results_mouseup(e)}}(this)),this.search_results.on("mouseover.chosen",function(t){return function(e){t.search_results_mouseover(e)}}(this)),this.search_results.on("mouseout.chosen",function(t){return function(e){t.search_results_mouseout(e)}}(this)),this.search_results.on("mousewheel.chosen DOMMouseScroll.chosen",function(t){return function(e){t.search_results_mousewheel(e)}}(this)),this.search_results.on("touchstart.chosen",function(t){return function(e){t.search_results_touchstart(e)}}(this)),this.search_results.on("touchmove.chosen",function(t){return function(e){t.search_results_touchmove(e)}}(this)),this.search_results.on("touchend.chosen",function(t){return function(e){t.search_results_touchend(e)}}(this)),this.form_field_jq.on("chosen:updated.chosen",function(t){return function(e){t.results_update_field(e)}}(this)),this.form_field_jq.on("chosen:activate.chosen",function(t){return function(e){t.activate_field(e)}}(this)),this.form_field_jq.on("chosen:open.chosen",function(t){return function(e){t.container_mousedown(e)}}(this)),this.form_field_jq.on("chosen:close.chosen",function(t){return function(e){t.close_field(e)}}(this)),this.search_field.on("blur.chosen",function(t){return function(e){t.input_blur(e)}}(this)),this.search_field.on("keyup.chosen",function(t){return function(e){t.keyup_checker(e)}}(this)),this.search_field.on("keydown.chosen",function(t){return function(e){t.keydown_checker(e)}}(this)),this.search_field.on("focus.chosen",function(t){return function(e){t.input_focus(e)}}(this)),this.search_field.on("cut.chosen",function(t){return function(e){t.clipboard_event_checker(e)}}(this)),this.search_field.on("paste.chosen",function(t){return function(e){t.clipboard_event_checker(e)}}(this)),this.is_multiple?this.search_choices.on("click.chosen",function(t){return function(e){t.choices_click(e)}}(this)):this.container.on("click.chosen",(function(t){t.preventDefault()}))},n.prototype.destroy=function(){return t(this.container[0].ownerDocument).off("click.chosen",this.click_test_action),this.form_field_label.length>0&&this.form_field_label.off("click.chosen"),this.search_field[0].tabIndex&&(this.form_field_jq[0].tabIndex=this.search_field[0].tabIndex),this.container.remove(),this.form_field_jq.removeData("chosen"),this.form_field_jq.show()},n.prototype.search_field_disabled=function(){return this.is_disabled=this.form_field.disabled||this.form_field_jq.parents("fieldset").is(":disabled"),this.container.toggleClass("chosen-disabled",this.is_disabled),this.search_field[0].disabled=this.is_disabled,this.is_multiple||this.selected_item.off("focus.chosen",this.activate_field),this.is_disabled?this.close_field():this.is_multiple?void 0:this.selected_item.on("focus.chosen",this.activate_field)},n.prototype.container_mousedown=function(e){var n;if(!this.is_disabled)return!e||"mousedown"!==(n=e.type)&&"touchstart"!==n||this.results_showing||e.preventDefault(),null!=e&&t(e.target).hasClass("search-choice-close")?void 0:(this.active_field?this.is_multiple||!e||t(e.target)[0]!==this.selected_item[0]&&!t(e.target).parents("a.chosen-single").length||(e.preventDefault(),this.results_toggle()):(this.is_multiple&&this.search_field.val(""),t(this.container[0].ownerDocument).on("click.chosen",this.click_test_action),this.results_show()),this.activate_field())},n.prototype.container_mouseup=function(t){if("ABBR"===t.target.nodeName&&!this.is_disabled)return this.results_reset(t)},n.prototype.search_results_mousewheel=function(t){var e;if(t.originalEvent&&(e=t.originalEvent.deltaY||-t.originalEvent.wheelDelta||t.originalEvent.detail),null!=e)return t.preventDefault(),"DOMMouseScroll"===t.type&&(e*=40),this.search_results.scrollTop(e+this.search_results.scrollTop())},n.prototype.blur_test=function(t){if(!this.active_field&&this.container.hasClass("chosen-container-active"))return this.close_field()},n.prototype.close_field=function(){return t(this.container[0].ownerDocument).off("click.chosen",this.click_test_action),this.active_field=!1,this.results_hide(),this.container.removeClass("chosen-container-active"),this.clear_backstroke(),this.show_search_field_default(),this.search_field_scale(),this.search_field.blur()},n.prototype.activate_field=function(){if(!this.is_disabled)return this.container.addClass("chosen-container-active"),this.active_field=!0,this.search_field.val(this.search_field.val()),this.search_field.focus()},n.prototype.test_active_click=function(e){var n;return(n=t(e.target).closest(".chosen-container")).length&&this.container[0]===n[0]?this.active_field=!0:this.close_field()},n.prototype.results_build=function(){return this.parsing=!0,this.selected_option_count=null,this.results_data=i.select_to_array(this.form_field),this.is_multiple?this.search_choices.find("li.search-choice").remove():(this.single_set_selected_text(),this.disable_search||this.form_field.options.length<=this.disable_search_threshold?(this.search_field[0].readOnly=!0,this.container.addClass("chosen-container-single-nosearch")):(this.search_field[0].readOnly=!1,this.container.removeClass("chosen-container-single-nosearch"))),this.update_results_content(this.results_option_build({first:!0})),this.search_field_disabled(),this.show_search_field_default(),this.search_field_scale(),this.parsing=!1},n.prototype.result_do_highlight=function(t){var e,n,r,i,o;if(t.length){if(this.result_clear_highlight(),this.result_highlight=t,this.result_highlight.addClass("highlighted"),i=(r=parseInt(this.search_results.css("maxHeight"),10))+(o=this.search_results.scrollTop()),(e=(n=this.result_highlight.position().top+this.search_results.scrollTop())+this.result_highlight.outerHeight())>=i)return this.search_results.scrollTop(e-r>0?e-r:0);if(n<o)return this.search_results.scrollTop(n)}},n.prototype.result_clear_highlight=function(){return this.result_highlight&&this.result_highlight.removeClass("highlighted"),this.result_highlight=null},n.prototype.results_show=function(){return this.is_multiple&&this.max_selected_options<=this.choices_count()?(this.form_field_jq.trigger("chosen:maxselected",{chosen:this}),!1):(this.container.addClass("chosen-with-drop"),this.results_showing=!0,this.search_field.focus(),this.search_field.val(this.get_search_field_value()),this.winnow_results(),this.form_field_jq.trigger("chosen:showing_dropdown",{chosen:this}))},n.prototype.update_results_content=function(t){return this.search_results.html(t)},n.prototype.results_hide=function(){return this.results_showing&&(this.result_clear_highlight(),this.container.removeClass("chosen-with-drop"),this.form_field_jq.trigger("chosen:hiding_dropdown",{chosen:this})),this.results_showing=!1},n.prototype.set_tab_index=function(t){var e;if(this.form_field.tabIndex)return e=this.form_field.tabIndex,this.form_field.tabIndex=-1,this.search_field[0].tabIndex=e},n.prototype.set_label_behavior=function(){if(this.form_field_label=this.form_field_jq.parents("label"),!this.form_field_label.length&&this.form_field.id.length&&(this.form_field_label=t("label[for='"+this.form_field.id+"']")),this.form_field_label.length>0)return this.form_field_label.on("click.chosen",this.label_click_handler)},n.prototype.show_search_field_default=function(){return this.is_multiple&&this.choices_count()<1&&!this.active_field?(this.search_field.val(this.default_text),this.search_field.addClass("default")):(this.search_field.val(""),this.search_field.removeClass("default"))},n.prototype.search_results_mouseup=function(e){var n;if((n=t(e.target).hasClass("active-result")?t(e.target):t(e.target).parents(".active-result").first()).length)return this.result_highlight=n,this.result_select(e),this.search_field.focus()},n.prototype.search_results_mouseover=function(e){var n;if(n=t(e.target).hasClass("active-result")?t(e.target):t(e.target).parents(".active-result").first())return this.result_do_highlight(n)},n.prototype.search_results_mouseout=function(e){if(t(e.target).hasClass("active-result")||t(e.target).parents(".active-result").first())return this.result_clear_highlight()},n.prototype.choice_build=function(e){var n,r;return n=t("<li />",{class:"search-choice"}).html("<span>"+this.choice_label(e)+"</span>"),e.disabled?n.addClass("search-choice-disabled"):((r=t("<a />",{class:"search-choice-close","data-option-array-index":e.array_index})).on("click.chosen",function(t){return function(e){return t.choice_destroy_link_click(e)}}(this)),n.append(r)),this.search_container.before(n)},n.prototype.choice_destroy_link_click=function(e){if(e.preventDefault(),e.stopPropagation(),!this.is_disabled)return this.choice_destroy(t(e.target))},n.prototype.choice_destroy=function(t){if(this.result_deselect(t[0].getAttribute("data-option-array-index")))return this.active_field?this.search_field.focus():this.show_search_field_default(),this.is_multiple&&this.choices_count()>0&&this.get_search_field_value().length<1&&this.results_hide(),t.parents("li").first().remove(),this.search_field_scale()},n.prototype.results_reset=function(){if(this.reset_single_select_options(),this.form_field.options[0].selected=!0,this.single_set_selected_text(),this.show_search_field_default(),this.results_reset_cleanup(),this.trigger_form_field_change(),this.active_field)return this.results_hide()},n.prototype.results_reset_cleanup=function(){return this.current_selectedIndex=this.form_field.selectedIndex,this.selected_item.find("abbr").remove()},n.prototype.result_select=function(t){var e,n;if(this.result_highlight)return e=this.result_highlight,this.result_clear_highlight(),this.is_multiple&&this.max_selected_options<=this.choices_count()?(this.form_field_jq.trigger("chosen:maxselected",{chosen:this}),!1):(this.is_multiple?e.removeClass("active-result"):this.reset_single_select_options(),e.addClass("result-selected"),(n=this.results_data[e[0].getAttribute("data-option-array-index")]).selected=!0,this.form_field.options[n.options_index].selected=!0,this.selected_option_count=null,this.is_multiple?this.choice_build(n):this.single_set_selected_text(this.choice_label(n)),this.is_multiple&&(!this.hide_results_on_select||t.metaKey||t.ctrlKey)?t.metaKey||t.ctrlKey?this.winnow_results({skip_highlight:!0}):(this.search_field.val(""),this.winnow_results()):(this.results_hide(),this.show_search_field_default()),(this.is_multiple||this.form_field.selectedIndex!==this.current_selectedIndex)&&this.trigger_form_field_change({selected:this.form_field.options[n.options_index].value}),this.current_selectedIndex=this.form_field.selectedIndex,t.preventDefault(),this.search_field_scale())},n.prototype.single_set_selected_text=function(t){return null==t&&(t=this.default_text),t===this.default_text?this.selected_item.addClass("chosen-default"):(this.single_deselect_control_build(),this.selected_item.removeClass("chosen-default")),this.selected_item.find("span").html(t)},n.prototype.result_deselect=function(t){var e;return e=this.results_data[t],!this.form_field.options[e.options_index].disabled&&(e.selected=!1,this.form_field.options[e.options_index].selected=!1,this.selected_option_count=null,this.result_clear_highlight(),this.results_showing&&this.winnow_results(),this.trigger_form_field_change({deselected:this.form_field.options[e.options_index].value}),this.search_field_scale(),!0)},n.prototype.single_deselect_control_build=function(){if(this.allow_single_deselect)return this.selected_item.find("abbr").length||this.selected_item.find("span").first().after('<abbr class="search-choice-close"></abbr>'),this.selected_item.addClass("chosen-single-with-deselect")},n.prototype.get_search_field_value=function(){return this.search_field.val()},n.prototype.get_search_text=function(){return t.trim(this.get_search_field_value())},n.prototype.escape_html=function(e){return t("<div/>").text(e).html()},n.prototype.winnow_results_set_highlight=function(){var t,e;if(null!=(t=(e=this.is_multiple?[]:this.search_results.find(".result-selected.active-result")).length?e.first():this.search_results.find(".active-result").first()))return this.result_do_highlight(t)},n.prototype.no_results=function(t){var e;return e=this.get_no_results_html(t),this.search_results.append(e),this.form_field_jq.trigger("chosen:no_results",{chosen:this})},n.prototype.no_results_clear=function(){return this.search_results.find(".no-results").remove()},n.prototype.keydown_arrow=function(){var t;return this.results_showing&&this.result_highlight?(t=this.result_highlight.nextAll("li.active-result").first())?this.result_do_highlight(t):void 0:this.results_show()},n.prototype.keyup_arrow=function(){var t;return this.results_showing||this.is_multiple?this.result_highlight?(t=this.result_highlight.prevAll("li.active-result")).length?this.result_do_highlight(t.first()):(this.choices_count()>0&&this.results_hide(),this.result_clear_highlight()):void 0:this.results_show()},n.prototype.keydown_backstroke=function(){var t;return this.pending_backstroke?(this.choice_destroy(this.pending_backstroke.find("a").first()),this.clear_backstroke()):(t=this.search_container.siblings("li.search-choice").last()).length&&!t.hasClass("search-choice-disabled")?(this.pending_backstroke=t,this.single_backstroke_delete?this.keydown_backstroke():this.pending_backstroke.addClass("search-choice-focus")):void 0},n.prototype.clear_backstroke=function(){return this.pending_backstroke&&this.pending_backstroke.removeClass("search-choice-focus"),this.pending_backstroke=null},n.prototype.search_field_scale=function(){var e,n,r,i,o,a,s;if(this.is_multiple){for(o={position:"absolute",left:"-1000px",top:"-1000px",display:"none",whiteSpace:"pre"},n=0,r=(a=["fontSize","fontStyle","fontWeight","fontFamily","lineHeight","textTransform","letterSpacing"]).length;n<r;n++)o[i=a[n]]=this.search_field.css(i);return(e=t("<div />").css(o)).text(this.get_search_field_value()),t("body").append(e),s=e.width()+25,e.remove(),this.container.is(":visible")&&(s=Math.min(this.container.outerWidth()-10,s)),this.search_field.width(s)}},n.prototype.trigger_form_field_change=function(t){return this.form_field_jq.trigger("input",t),this.form_field_jq.trigger("change",t)},n}(e)}).call(this)},3559:(t,e,n)=>{"use strict";n.d(e,{Z:()=>u});var r={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};const i=function(t,e,n){var i,o=r[t];return i="string"==typeof o?o:1===e?o.one:o.other.replace("{{count}}",e.toString()),null!=n&&n.addSuffix?n.comparison&&n.comparison>0?"in "+i:i+" ago":i};function o(t){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.width?String(e.width):t.defaultWidth;return t.formats[n]||t.formats[t.defaultWidth]}}var a={date:o({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:o({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:o({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})};var s={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function c(t){return function(e,n){var r;if("formatting"===(null!=n&&n.context?String(n.context):"standalone")&&t.formattingValues){var i=t.defaultFormattingWidth||t.defaultWidth,o=null!=n&&n.width?String(n.width):i;r=t.formattingValues[o]||t.formattingValues[i]}else{var a=t.defaultWidth,s=null!=n&&n.width?String(n.width):t.defaultWidth;r=t.values[s]||t.values[a]}return r[t.argumentCallback?t.argumentCallback(e):e]}}function l(t){return function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.width,i=r&&t.matchPatterns[r]||t.matchPatterns[t.defaultMatchWidth],o=e.match(i);if(!o)return null;var a,s=o[0],c=r&&t.parsePatterns[r]||t.parsePatterns[t.defaultParseWidth],l=Array.isArray(c)?function(t,e){for(var n=0;n<t.length;n++)if(e(t[n]))return n;return}(c,(function(t){return t.test(s)})):function(t,e){for(var n in t)if(t.hasOwnProperty(n)&&e(t[n]))return n;return}(c,(function(t){return t.test(s)}));return a=t.valueCallback?t.valueCallback(l):l,{value:a=n.valueCallback?n.valueCallback(a):a,rest:e.slice(s.length)}}}const u={code:"en-US",formatDistance:i,formatLong:a,formatRelative:function(t,e,n,r){return s[t]},localize:{ordinalNumber:function(t,e){var n=Number(t),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:c({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:c({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:c({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:c({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:c({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:function(t){return function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.match(t.matchPattern);if(!r)return null;var i=r[0],o=e.match(t.parsePattern);if(!o)return null;var a=t.valueCallback?t.valueCallback(o[0]):o[0];return{value:a=n.valueCallback?n.valueCallback(a):a,rest:e.slice(i.length)}}}({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(t){return parseInt(t,10)}}),era:l({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:l({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:l({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:l({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:l({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}}},1469:(t,e,n)=>{"use strict";n.d(e,{j:()=>i});var r={};function i(){return r}},1494:(t,e,n)=>{"use strict";n.d(e,{Z:()=>o});var r=function(t,e){switch(t){case"P":return e.date({width:"short"});case"PP":return e.date({width:"medium"});case"PPP":return e.date({width:"long"});default:return e.date({width:"full"})}},i=function(t,e){switch(t){case"p":return e.time({width:"short"});case"pp":return e.time({width:"medium"});case"ppp":return e.time({width:"long"});default:return e.time({width:"full"})}};const o={p:i,P:function(t,e){var n,o=t.match(/(P+)(p+)?/)||[],a=o[1],s=o[2];if(!s)return r(t,e);switch(a){case"P":n=e.dateTime({width:"short"});break;case"PP":n=e.dateTime({width:"medium"});break;case"PPP":n=e.dateTime({width:"long"});break;default:n=e.dateTime({width:"full"})}return n.replace("{{date}}",r(a,e)).replace("{{time}}",i(s,e))}}},7535:(t,e,n)=>{"use strict";function r(t){var e=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return e.setUTCFullYear(t.getFullYear()),t.getTime()-e.getTime()}n.d(e,{Z:()=>r})},7405:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var r=n(7411),i=n(1589),o=n(8861);function a(t){(0,i.Z)(1,arguments);var e=(0,r.Z)(t),n=e.getUTCFullYear(),a=new Date(0);a.setUTCFullYear(n+1,0,4),a.setUTCHours(0,0,0,0);var s=(0,o.Z)(a),c=new Date(0);c.setUTCFullYear(n,0,4),c.setUTCHours(0,0,0,0);var l=(0,o.Z)(c);return e.getTime()>=s.getTime()?n+1:e.getTime()>=l.getTime()?n:n-1}},2246:(t,e,n)=>{"use strict";n.d(e,{Z:()=>c});var r=n(7411),i=n(8861),o=n(7405),a=n(1589);var s=6048e5;function c(t){(0,a.Z)(1,arguments);var e=(0,r.Z)(t),n=(0,i.Z)(e).getTime()-function(t){(0,a.Z)(1,arguments);var e=(0,o.Z)(t),n=new Date(0);return n.setUTCFullYear(e,0,4),n.setUTCHours(0,0,0,0),(0,i.Z)(n)}(e).getTime();return Math.round(n/s)+1}},2510:(t,e,n)=>{"use strict";n.d(e,{Z:()=>c});var r=n(7411),i=n(1589),o=n(7958),a=n(1154),s=n(1469);function c(t,e){var n,c,l,u,f,h,d,p;(0,i.Z)(1,arguments);var m=(0,r.Z)(t),v=m.getUTCFullYear(),g=(0,s.j)(),y=(0,a.Z)(null!==(n=null!==(c=null!==(l=null!==(u=null==e?void 0:e.firstWeekContainsDate)&&void 0!==u?u:null==e||null===(f=e.locale)||void 0===f||null===(h=f.options)||void 0===h?void 0:h.firstWeekContainsDate)&&void 0!==l?l:g.firstWeekContainsDate)&&void 0!==c?c:null===(d=g.locale)||void 0===d||null===(p=d.options)||void 0===p?void 0:p.firstWeekContainsDate)&&void 0!==n?n:1);if(!(y>=1&&y<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var b=new Date(0);b.setUTCFullYear(v+1,0,y),b.setUTCHours(0,0,0,0);var w=(0,o.Z)(b,e),_=new Date(0);_.setUTCFullYear(v,0,y),_.setUTCHours(0,0,0,0);var x=(0,o.Z)(_,e);return m.getTime()>=w.getTime()?v+1:m.getTime()>=x.getTime()?v:v-1}},5672:(t,e,n)=>{"use strict";n.d(e,{Z:()=>u});var r=n(7411),i=n(7958),o=n(2510),a=n(1589),s=n(1154),c=n(1469);var l=6048e5;function u(t,e){(0,a.Z)(1,arguments);var n=(0,r.Z)(t),u=(0,i.Z)(n,e).getTime()-function(t,e){var n,r,l,u,f,h,d,p;(0,a.Z)(1,arguments);var m=(0,c.j)(),v=(0,s.Z)(null!==(n=null!==(r=null!==(l=null!==(u=null==e?void 0:e.firstWeekContainsDate)&&void 0!==u?u:null==e||null===(f=e.locale)||void 0===f||null===(h=f.options)||void 0===h?void 0:h.firstWeekContainsDate)&&void 0!==l?l:m.firstWeekContainsDate)&&void 0!==r?r:null===(d=m.locale)||void 0===d||null===(p=d.options)||void 0===p?void 0:p.firstWeekContainsDate)&&void 0!==n?n:1),g=(0,o.Z)(t,e),y=new Date(0);return y.setUTCFullYear(g,0,v),y.setUTCHours(0,0,0,0),(0,i.Z)(y,e)}(n,e).getTime();return Math.round(u/l)+1}},4918:(t,e,n)=>{"use strict";n.d(e,{Do:()=>a,Iu:()=>o,qp:()=>s});var r=["D","DD"],i=["YY","YYYY"];function o(t){return-1!==r.indexOf(t)}function a(t){return-1!==i.indexOf(t)}function s(t,e,n){if("YYYY"===t)throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(e,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("YY"===t)throw new RangeError("Use `yy` instead of `YY` (in `".concat(e,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("D"===t)throw new RangeError("Use `d` instead of `D` (in `".concat(e,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("DD"===t)throw new RangeError("Use `dd` instead of `DD` (in `".concat(e,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}},1589:(t,e,n)=>{"use strict";function r(t,e){if(e.length<t)throw new TypeError(t+" argument"+(t>1?"s":"")+" required, but only "+e.length+" present")}n.d(e,{Z:()=>r})},8861:(t,e,n)=>{"use strict";n.d(e,{Z:()=>o});var r=n(7411),i=n(1589);function o(t){(0,i.Z)(1,arguments);var e=(0,r.Z)(t),n=e.getUTCDay(),o=(n<1?7:0)+n-1;return e.setUTCDate(e.getUTCDate()-o),e.setUTCHours(0,0,0,0),e}},7958:(t,e,n)=>{"use strict";n.d(e,{Z:()=>s});var r=n(7411),i=n(1589),o=n(1154),a=n(1469);function s(t,e){var n,s,c,l,u,f,h,d;(0,i.Z)(1,arguments);var p=(0,a.j)(),m=(0,o.Z)(null!==(n=null!==(s=null!==(c=null!==(l=null==e?void 0:e.weekStartsOn)&&void 0!==l?l:null==e||null===(u=e.locale)||void 0===u||null===(f=u.options)||void 0===f?void 0:f.weekStartsOn)&&void 0!==c?c:p.weekStartsOn)&&void 0!==s?s:null===(h=p.locale)||void 0===h||null===(d=h.options)||void 0===d?void 0:d.weekStartsOn)&&void 0!==n?n:0);if(!(m>=0&&m<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var v=(0,r.Z)(t),g=v.getUTCDay(),y=(g<m?7:0)+g-m;return v.setUTCDate(v.getUTCDate()-y),v.setUTCHours(0,0,0,0),v}},1154:(t,e,n)=>{"use strict";function r(t){if(null===t||!0===t||!1===t)return NaN;var e=Number(t);return isNaN(e)?e:e<0?Math.ceil(e):Math.floor(e)}n.d(e,{Z:()=>r})},33:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var r=n(1154),i=n(7411),o=n(1589);function a(t,e){(0,o.Z)(2,arguments);var n=(0,i.Z)(t).getTime(),a=(0,r.Z)(e);return new Date(n+a)}},595:(t,e,n)=>{"use strict";n.d(e,{qk:()=>o,vh:()=>i,yJ:()=>r});Math.pow(10,8);var r=6e4,i=36e5,o=1e3},4158:(t,e,n)=>{"use strict";n.d(e,{Z:()=>s});var r=n(7535),i=n(3127),o=n(1589),a=864e5;function s(t,e){(0,o.Z)(2,arguments);var n=(0,i.Z)(t),s=(0,i.Z)(e),c=n.getTime()-(0,r.Z)(n),l=s.getTime()-(0,r.Z)(s);return Math.round((c-l)/a)}},7810:(t,e,n)=>{"use strict";n.d(e,{Z:()=>R});var r=n(9420),i=n(8716),o=n(7411),a=n(1589);var s=n(2246),c=n(7405),l=n(5672),u=n(2510);function f(t,e){for(var n=t<0?"-":"",r=Math.abs(t).toString();r.length<e;)r="0"+r;return n+r}const h={y:function(t,e){var n=t.getUTCFullYear(),r=n>0?n:1-n;return f("yy"===e?r%100:r,e.length)},M:function(t,e){var n=t.getUTCMonth();return"M"===e?String(n+1):f(n+1,2)},d:function(t,e){return f(t.getUTCDate(),e.length)},a:function(t,e){var n=t.getUTCHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];default:return"am"===n?"a.m.":"p.m."}},h:function(t,e){return f(t.getUTCHours()%12||12,e.length)},H:function(t,e){return f(t.getUTCHours(),e.length)},m:function(t,e){return f(t.getUTCMinutes(),e.length)},s:function(t,e){return f(t.getUTCSeconds(),e.length)},S:function(t,e){var n=e.length,r=t.getUTCMilliseconds();return f(Math.floor(r*Math.pow(10,n-3)),e.length)}};var d="midnight",p="noon",m="morning",v="afternoon",g="evening",y="night";function b(t,e){var n=t>0?"-":"+",r=Math.abs(t),i=Math.floor(r/60),o=r%60;if(0===o)return n+String(i);var a=e||"";return n+String(i)+a+f(o,2)}function w(t,e){return t%60==0?(t>0?"-":"+")+f(Math.abs(t)/60,2):_(t,e)}function _(t,e){var n=e||"",r=t>0?"-":"+",i=Math.abs(t);return r+f(Math.floor(i/60),2)+n+f(i%60,2)}const x={G:function(t,e,n){var r=t.getUTCFullYear()>0?1:0;switch(e){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});default:return n.era(r,{width:"wide"})}},y:function(t,e,n){if("yo"===e){var r=t.getUTCFullYear(),i=r>0?r:1-r;return n.ordinalNumber(i,{unit:"year"})}return h.y(t,e)},Y:function(t,e,n,r){var i=(0,u.Z)(t,r),o=i>0?i:1-i;return"YY"===e?f(o%100,2):"Yo"===e?n.ordinalNumber(o,{unit:"year"}):f(o,e.length)},R:function(t,e){return f((0,c.Z)(t),e.length)},u:function(t,e){return f(t.getUTCFullYear(),e.length)},Q:function(t,e,n){var r=Math.ceil((t.getUTCMonth()+1)/3);switch(e){case"Q":return String(r);case"QQ":return f(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(t,e,n){var r=Math.ceil((t.getUTCMonth()+1)/3);switch(e){case"q":return String(r);case"qq":return f(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(t,e,n){var r=t.getUTCMonth();switch(e){case"M":case"MM":return h.M(t,e);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(t,e,n){var r=t.getUTCMonth();switch(e){case"L":return String(r+1);case"LL":return f(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(t,e,n,r){var i=(0,l.Z)(t,r);return"wo"===e?n.ordinalNumber(i,{unit:"week"}):f(i,e.length)},I:function(t,e,n){var r=(0,s.Z)(t);return"Io"===e?n.ordinalNumber(r,{unit:"week"}):f(r,e.length)},d:function(t,e,n){return"do"===e?n.ordinalNumber(t.getUTCDate(),{unit:"date"}):h.d(t,e)},D:function(t,e,n){var r=function(t){(0,a.Z)(1,arguments);var e=(0,o.Z)(t),n=e.getTime();e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0);var r=n-e.getTime();return Math.floor(r/864e5)+1}(t);return"Do"===e?n.ordinalNumber(r,{unit:"dayOfYear"}):f(r,e.length)},E:function(t,e,n){var r=t.getUTCDay();switch(e){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(t,e,n,r){var i=t.getUTCDay(),o=(i-r.weekStartsOn+8)%7||7;switch(e){case"e":return String(o);case"ee":return f(o,2);case"eo":return n.ordinalNumber(o,{unit:"day"});case"eee":return n.day(i,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(i,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(i,{width:"short",context:"formatting"});default:return n.day(i,{width:"wide",context:"formatting"})}},c:function(t,e,n,r){var i=t.getUTCDay(),o=(i-r.weekStartsOn+8)%7||7;switch(e){case"c":return String(o);case"cc":return f(o,e.length);case"co":return n.ordinalNumber(o,{unit:"day"});case"ccc":return n.day(i,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(i,{width:"narrow",context:"standalone"});case"cccccc":return n.day(i,{width:"short",context:"standalone"});default:return n.day(i,{width:"wide",context:"standalone"})}},i:function(t,e,n){var r=t.getUTCDay(),i=0===r?7:r;switch(e){case"i":return String(i);case"ii":return f(i,e.length);case"io":return n.ordinalNumber(i,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(t,e,n){var r=t.getUTCHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(t,e,n){var r,i=t.getUTCHours();switch(r=12===i?p:0===i?d:i/12>=1?"pm":"am",e){case"b":case"bb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(t,e,n){var r,i=t.getUTCHours();switch(r=i>=17?g:i>=12?v:i>=4?m:y,e){case"B":case"BB":case"BBB":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},h:function(t,e,n){if("ho"===e){var r=t.getUTCHours()%12;return 0===r&&(r=12),n.ordinalNumber(r,{unit:"hour"})}return h.h(t,e)},H:function(t,e,n){return"Ho"===e?n.ordinalNumber(t.getUTCHours(),{unit:"hour"}):h.H(t,e)},K:function(t,e,n){var r=t.getUTCHours()%12;return"Ko"===e?n.ordinalNumber(r,{unit:"hour"}):f(r,e.length)},k:function(t,e,n){var r=t.getUTCHours();return 0===r&&(r=24),"ko"===e?n.ordinalNumber(r,{unit:"hour"}):f(r,e.length)},m:function(t,e,n){return"mo"===e?n.ordinalNumber(t.getUTCMinutes(),{unit:"minute"}):h.m(t,e)},s:function(t,e,n){return"so"===e?n.ordinalNumber(t.getUTCSeconds(),{unit:"second"}):h.s(t,e)},S:function(t,e){return h.S(t,e)},X:function(t,e,n,r){var i=(r._originalDate||t).getTimezoneOffset();if(0===i)return"Z";switch(e){case"X":return w(i);case"XXXX":case"XX":return _(i);default:return _(i,":")}},x:function(t,e,n,r){var i=(r._originalDate||t).getTimezoneOffset();switch(e){case"x":return w(i);case"xxxx":case"xx":return _(i);default:return _(i,":")}},O:function(t,e,n,r){var i=(r._originalDate||t).getTimezoneOffset();switch(e){case"O":case"OO":case"OOO":return"GMT"+b(i,":");default:return"GMT"+_(i,":")}},z:function(t,e,n,r){var i=(r._originalDate||t).getTimezoneOffset();switch(e){case"z":case"zz":case"zzz":return"GMT"+b(i,":");default:return"GMT"+_(i,":")}},t:function(t,e,n,r){var i=r._originalDate||t;return f(Math.floor(i.getTime()/1e3),e.length)},T:function(t,e,n,r){return f((r._originalDate||t).getTime(),e.length)}};var k=n(1494),O=n(7535),C=n(4918),S=n(1154),E=n(1469),T=n(3559),P=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,A=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,j=/^'([^]*?)'?$/,D=/''/g,M=/[a-zA-Z]/;function R(t,e,n){var s,c,l,u,f,h,d,p,m,v,g,y,b,w,_,R,I,N;(0,a.Z)(2,arguments);var L=String(e),$=(0,E.j)(),F=null!==(s=null!==(c=null==n?void 0:n.locale)&&void 0!==c?c:$.locale)&&void 0!==s?s:T.Z,B=(0,S.Z)(null!==(l=null!==(u=null!==(f=null!==(h=null==n?void 0:n.firstWeekContainsDate)&&void 0!==h?h:null==n||null===(d=n.locale)||void 0===d||null===(p=d.options)||void 0===p?void 0:p.firstWeekContainsDate)&&void 0!==f?f:$.firstWeekContainsDate)&&void 0!==u?u:null===(m=$.locale)||void 0===m||null===(v=m.options)||void 0===v?void 0:v.firstWeekContainsDate)&&void 0!==l?l:1);if(!(B>=1&&B<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var z=(0,S.Z)(null!==(g=null!==(y=null!==(b=null!==(w=null==n?void 0:n.weekStartsOn)&&void 0!==w?w:null==n||null===(_=n.locale)||void 0===_||null===(R=_.options)||void 0===R?void 0:R.weekStartsOn)&&void 0!==b?b:$.weekStartsOn)&&void 0!==y?y:null===(I=$.locale)||void 0===I||null===(N=I.options)||void 0===N?void 0:N.weekStartsOn)&&void 0!==g?g:0);if(!(z>=0&&z<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!F.localize)throw new RangeError("locale must contain localize property");if(!F.formatLong)throw new RangeError("locale must contain formatLong property");var H=(0,o.Z)(t);if(!(0,r.Z)(H))throw new RangeError("Invalid time value");var U=(0,O.Z)(H),q=(0,i.Z)(H,U),W={firstWeekContainsDate:B,weekStartsOn:z,locale:F,_originalDate:H};return L.match(A).map((function(t){var e=t[0];return"p"===e||"P"===e?(0,k.Z[e])(t,F.formatLong):t})).join("").match(P).map((function(r){if("''"===r)return"'";var i=r[0];if("'"===i)return function(t){var e=t.match(j);if(!e)return t;return e[1].replace(D,"'")}(r);var o=x[i];if(o)return null!=n&&n.useAdditionalWeekYearTokens||!(0,C.Do)(r)||(0,C.qp)(r,e,String(t)),null!=n&&n.useAdditionalDayOfYearTokens||!(0,C.Iu)(r)||(0,C.qp)(r,e,String(t)),o(q,r,F.localize,W);if(i.match(M))throw new RangeError("Format string contains an unescaped latin alphabet character `"+i+"`");return r})).join("")}},9420:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var r=n(1589);function i(t){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i(t)}var o=n(7411);function a(t){if((0,r.Z)(1,arguments),!function(t){return(0,r.Z)(1,arguments),t instanceof Date||"object"===i(t)&&"[object Date]"===Object.prototype.toString.call(t)}(t)&&"number"!=typeof t)return!1;var e=(0,o.Z)(t);return!isNaN(Number(e))}},962:(t,e,n)=>{"use strict";n.d(e,{Z:()=>oo});var r=n(3559),i=n(8716),o=n(7411);function a(t,e){if(null==t)throw new TypeError("assign requires that input parameter not be null or undefined");for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}var s=n(1494),c=n(7535),l=n(4918),u=n(1154),f=n(1589);function h(t){return h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},h(t)}function d(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&p(t,e)}function p(t,e){return p=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},p(t,e)}function m(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=g(t);if(e){var i=g(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return function(t,e){if(e&&("object"===h(e)||"function"==typeof e))return e;return v(t)}(this,n)}}function v(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function g(t){return g=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},g(t)}function y(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function b(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function w(t,e,n){return e&&b(t.prototype,e),n&&b(t,n),t}function _(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var x=function(){function t(){y(this,t),_(this,"subPriority",0)}return w(t,[{key:"validate",value:function(t,e){return!0}}]),t}(),k=function(t){d(n,t);var e=m(n);function n(t,r,i,o,a){var s;return y(this,n),(s=e.call(this)).value=t,s.validateValue=r,s.setValue=i,s.priority=o,a&&(s.subPriority=a),s}return w(n,[{key:"validate",value:function(t,e){return this.validateValue(t,this.value,e)}},{key:"set",value:function(t,e,n){return this.setValue(t,e,this.value,n)}}]),n}(x),O=function(t){d(n,t);var e=m(n);function n(){var t;y(this,n);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return _(v(t=e.call.apply(e,[this].concat(i))),"priority",10),_(v(t),"subPriority",-1),t}return w(n,[{key:"set",value:function(t,e){if(e.timestampIsSet)return t;var n=new Date(0);return n.setFullYear(t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()),n.setHours(t.getUTCHours(),t.getUTCMinutes(),t.getUTCSeconds(),t.getUTCMilliseconds()),n}}]),n}(x);function C(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var S=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}return function(t,e,n){e&&C(t.prototype,e),n&&C(t,n)}(t,[{key:"run",value:function(t,e,n,r){var i=this.parse(t,e,n,r);return i?{setter:new k(i.value,this.validate,this.set,this.priority,this.subPriority),rest:i.rest}:null}},{key:"validate",value:function(t,e,n){return!0}}]),t}();function E(t){return E="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},E(t)}function T(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function P(t,e){return P=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},P(t,e)}function A(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=D(t);if(e){var i=D(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return function(t,e){if(e&&("object"===E(e)||"function"==typeof e))return e;return j(t)}(this,n)}}function j(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function D(t){return D=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},D(t)}function M(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var R=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&P(t,e)}(n,t);var e=A(n);function n(){var t;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,n);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return M(j(t=e.call.apply(e,[this].concat(i))),"priority",140),M(j(t),"incompatibleTokens",["R","u","t","T"]),t}return function(t,e,n){e&&T(t.prototype,e),n&&T(t,n)}(n,[{key:"parse",value:function(t,e,n){switch(e){case"G":case"GG":case"GGG":return n.era(t,{width:"abbreviated"})||n.era(t,{width:"narrow"});case"GGGGG":return n.era(t,{width:"narrow"});default:return n.era(t,{width:"wide"})||n.era(t,{width:"abbreviated"})||n.era(t,{width:"narrow"})}}},{key:"set",value:function(t,e,n){return e.era=n,t.setUTCFullYear(n,0,1),t.setUTCHours(0,0,0,0),t}}]),n}(S),I=n(595),N=/^(1[0-2]|0?\d)/,L=/^(3[0-1]|[0-2]?\d)/,$=/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,F=/^(5[0-3]|[0-4]?\d)/,B=/^(2[0-3]|[0-1]?\d)/,z=/^(2[0-4]|[0-1]?\d)/,H=/^(1[0-1]|0?\d)/,U=/^(1[0-2]|0?\d)/,q=/^[0-5]?\d/,W=/^[0-5]?\d/,V=/^\d/,Z=/^\d{1,2}/,Y=/^\d{1,3}/,X=/^\d{1,4}/,K=/^-?\d+/,G=/^-?\d/,Q=/^-?\d{1,2}/,J=/^-?\d{1,3}/,tt=/^-?\d{1,4}/,et=/^([+-])(\d{2})(\d{2})?|Z/,nt=/^([+-])(\d{2})(\d{2})|Z/,rt=/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,it=/^([+-])(\d{2}):(\d{2})|Z/,ot=/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/;function at(t,e){return t?{value:e(t.value),rest:t.rest}:t}function st(t,e){var n=e.match(t);return n?{value:parseInt(n[0],10),rest:e.slice(n[0].length)}:null}function ct(t,e){var n=e.match(t);if(!n)return null;if("Z"===n[0])return{value:0,rest:e.slice(1)};var r="+"===n[1]?1:-1,i=n[2]?parseInt(n[2],10):0,o=n[3]?parseInt(n[3],10):0,a=n[5]?parseInt(n[5],10):0;return{value:r*(i*I.vh+o*I.yJ+a*I.qk),rest:e.slice(n[0].length)}}function lt(t){return st(K,t)}function ut(t,e){switch(t){case 1:return st(V,e);case 2:return st(Z,e);case 3:return st(Y,e);case 4:return st(X,e);default:return st(new RegExp("^\\d{1,"+t+"}"),e)}}function ft(t,e){switch(t){case 1:return st(G,e);case 2:return st(Q,e);case 3:return st(J,e);case 4:return st(tt,e);default:return st(new RegExp("^-?\\d{1,"+t+"}"),e)}}function ht(t){switch(t){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;default:return 0}}function dt(t,e){var n,r=e>0,i=r?e:1-e;if(i<=50)n=t||100;else{var o=i+50;n=t+100*Math.floor(o/100)-(t>=o%100?100:0)}return r?n:1-n}function pt(t){return t%400==0||t%4==0&&t%100!=0}function mt(t){return mt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},mt(t)}function vt(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function gt(t,e){return gt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},gt(t,e)}function yt(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=wt(t);if(e){var i=wt(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return function(t,e){if(e&&("object"===mt(e)||"function"==typeof e))return e;return bt(t)}(this,n)}}function bt(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function wt(t){return wt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},wt(t)}function _t(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var xt=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&gt(t,e)}(n,t);var e=yt(n);function n(){var t;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,n);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return _t(bt(t=e.call.apply(e,[this].concat(i))),"priority",130),_t(bt(t),"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"]),t}return function(t,e,n){e&&vt(t.prototype,e),n&&vt(t,n)}(n,[{key:"parse",value:function(t,e,n){var r=function(t){return{year:t,isTwoDigitYear:"yy"===e}};switch(e){case"y":return at(ut(4,t),r);case"yo":return at(n.ordinalNumber(t,{unit:"year"}),r);default:return at(ut(e.length,t),r)}}},{key:"validate",value:function(t,e){return e.isTwoDigitYear||e.year>0}},{key:"set",value:function(t,e,n){var r=t.getUTCFullYear();if(n.isTwoDigitYear){var i=dt(n.year,r);return t.setUTCFullYear(i,0,1),t.setUTCHours(0,0,0,0),t}var o="era"in e&&1!==e.era?1-n.year:n.year;return t.setUTCFullYear(o,0,1),t.setUTCHours(0,0,0,0),t}}]),n}(S),kt=n(2510),Ot=n(7958);function Ct(t){return Ct="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ct(t)}function St(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Et(t,e){return Et=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},Et(t,e)}function Tt(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=At(t);if(e){var i=At(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return function(t,e){if(e&&("object"===Ct(e)||"function"==typeof e))return e;return Pt(t)}(this,n)}}function Pt(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function At(t){return At=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},At(t)}function jt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Dt=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Et(t,e)}(n,t);var e=Tt(n);function n(){var t;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,n);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return jt(Pt(t=e.call.apply(e,[this].concat(i))),"priority",130),jt(Pt(t),"incompatibleTokens",["y","R","u","Q","q","M","L","I","d","D","i","t","T"]),t}return function(t,e,n){e&&St(t.prototype,e),n&&St(t,n)}(n,[{key:"parse",value:function(t,e,n){var r=function(t){return{year:t,isTwoDigitYear:"YY"===e}};switch(e){case"Y":return at(ut(4,t),r);case"Yo":return at(n.ordinalNumber(t,{unit:"year"}),r);default:return at(ut(e.length,t),r)}}},{key:"validate",value:function(t,e){return e.isTwoDigitYear||e.year>0}},{key:"set",value:function(t,e,n,r){var i=(0,kt.Z)(t,r);if(n.isTwoDigitYear){var o=dt(n.year,i);return t.setUTCFullYear(o,0,r.firstWeekContainsDate),t.setUTCHours(0,0,0,0),(0,Ot.Z)(t,r)}var a="era"in e&&1!==e.era?1-n.year:n.year;return t.setUTCFullYear(a,0,r.firstWeekContainsDate),t.setUTCHours(0,0,0,0),(0,Ot.Z)(t,r)}}]),n}(S),Mt=n(8861);function Rt(t){return Rt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Rt(t)}function It(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Nt(t,e){return Nt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},Nt(t,e)}function Lt(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Ft(t);if(e){var i=Ft(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return function(t,e){if(e&&("object"===Rt(e)||"function"==typeof e))return e;return $t(t)}(this,n)}}function $t(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ft(t){return Ft=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},Ft(t)}function Bt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var zt=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Nt(t,e)}(n,t);var e=Lt(n);function n(){var t;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,n);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return Bt($t(t=e.call.apply(e,[this].concat(i))),"priority",130),Bt($t(t),"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]),t}return function(t,e,n){e&&It(t.prototype,e),n&&It(t,n)}(n,[{key:"parse",value:function(t,e){return ft("R"===e?4:e.length,t)}},{key:"set",value:function(t,e,n){var r=new Date(0);return r.setUTCFullYear(n,0,4),r.setUTCHours(0,0,0,0),(0,Mt.Z)(r)}}]),n}(S);function Ht(t){return Ht="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ht(t)}function Ut(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function qt(t,e){return qt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},qt(t,e)}function Wt(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Zt(t);if(e){var i=Zt(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return function(t,e){if(e&&("object"===Ht(e)||"function"==typeof e))return e;return Vt(t)}(this,n)}}function Vt(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Zt(t){return Zt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},Zt(t)}function Yt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Xt=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&qt(t,e)}(n,t);var e=Wt(n);function n(){var t;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,n);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return Yt(Vt(t=e.call.apply(e,[this].concat(i))),"priority",130),Yt(Vt(t),"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"]),t}return function(t,e,n){e&&Ut(t.prototype,e),n&&Ut(t,n)}(n,[{key:"parse",value:function(t,e){return ft("u"===e?4:e.length,t)}},{key:"set",value:function(t,e,n){return t.setUTCFullYear(n,0,1),t.setUTCHours(0,0,0,0),t}}]),n}(S);function Kt(t){return Kt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Kt(t)}function Gt(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Qt(t,e){return Qt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},Qt(t,e)}function Jt(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=ee(t);if(e){var i=ee(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return function(t,e){if(e&&("object"===Kt(e)||"function"==typeof e))return e;return te(t)}(this,n)}}function te(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ee(t){return ee=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},ee(t)}function ne(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var re=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Qt(t,e)}(n,t);var e=Jt(n);function n(){var t;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,n);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return ne(te(t=e.call.apply(e,[this].concat(i))),"priority",120),ne(te(t),"incompatibleTokens",["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]),t}return function(t,e,n){e&&Gt(t.prototype,e),n&&Gt(t,n)}(n,[{key:"parse",value:function(t,e,n){switch(e){case"Q":case"QQ":return ut(e.length,t);case"Qo":return n.ordinalNumber(t,{unit:"quarter"});case"QQQ":return n.quarter(t,{width:"abbreviated",context:"formatting"})||n.quarter(t,{width:"narrow",context:"formatting"});case"QQQQQ":return n.quarter(t,{width:"narrow",context:"formatting"});default:return n.quarter(t,{width:"wide",context:"formatting"})||n.quarter(t,{width:"abbreviated",context:"formatting"})||n.quarter(t,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(t,e){return e>=1&&e<=4}},{key:"set",value:function(t,e,n){return t.setUTCMonth(3*(n-1),1),t.setUTCHours(0,0,0,0),t}}]),n}(S);function ie(t){return ie="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ie(t)}function oe(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function ae(t,e){return ae=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},ae(t,e)}function se(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=le(t);if(e){var i=le(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return function(t,e){if(e&&("object"===ie(e)||"function"==typeof e))return e;return ce(t)}(this,n)}}function ce(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function le(t){return le=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},le(t)}function ue(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var fe=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ae(t,e)}(n,t);var e=se(n);function n(){var t;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,n);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return ue(ce(t=e.call.apply(e,[this].concat(i))),"priority",120),ue(ce(t),"incompatibleTokens",["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]),t}return function(t,e,n){e&&oe(t.prototype,e),n&&oe(t,n)}(n,[{key:"parse",value:function(t,e,n){switch(e){case"q":case"qq":return ut(e.length,t);case"qo":return n.ordinalNumber(t,{unit:"quarter"});case"qqq":return n.quarter(t,{width:"abbreviated",context:"standalone"})||n.quarter(t,{width:"narrow",context:"standalone"});case"qqqqq":return n.quarter(t,{width:"narrow",context:"standalone"});default:return n.quarter(t,{width:"wide",context:"standalone"})||n.quarter(t,{width:"abbreviated",context:"standalone"})||n.quarter(t,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(t,e){return e>=1&&e<=4}},{key:"set",value:function(t,e,n){return t.setUTCMonth(3*(n-1),1),t.setUTCHours(0,0,0,0),t}}]),n}(S);function he(t){return he="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},he(t)}function de(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function pe(t,e){return pe=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},pe(t,e)}function me(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=ge(t);if(e){var i=ge(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return function(t,e){if(e&&("object"===he(e)||"function"==typeof e))return e;return ve(t)}(this,n)}}function ve(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ge(t){return ge=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},ge(t)}function ye(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var be=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&pe(t,e)}(n,t);var e=me(n);function n(){var t;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,n);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return ye(ve(t=e.call.apply(e,[this].concat(i))),"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]),ye(ve(t),"priority",110),t}return function(t,e,n){e&&de(t.prototype,e),n&&de(t,n)}(n,[{key:"parse",value:function(t,e,n){var r=function(t){return t-1};switch(e){case"M":return at(st(N,t),r);case"MM":return at(ut(2,t),r);case"Mo":return at(n.ordinalNumber(t,{unit:"month"}),r);case"MMM":return n.month(t,{width:"abbreviated",context:"formatting"})||n.month(t,{width:"narrow",context:"formatting"});case"MMMMM":return n.month(t,{width:"narrow",context:"formatting"});default:return n.month(t,{width:"wide",context:"formatting"})||n.month(t,{width:"abbreviated",context:"formatting"})||n.month(t,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(t,e){return e>=0&&e<=11}},{key:"set",value:function(t,e,n){return t.setUTCMonth(n,1),t.setUTCHours(0,0,0,0),t}}]),n}(S);function we(t){return we="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},we(t)}function _e(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function xe(t,e){return xe=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},xe(t,e)}function ke(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Ce(t);if(e){var i=Ce(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return function(t,e){if(e&&("object"===we(e)||"function"==typeof e))return e;return Oe(t)}(this,n)}}function Oe(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ce(t){return Ce=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},Ce(t)}function Se(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Ee=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&xe(t,e)}(n,t);var e=ke(n);function n(){var t;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,n);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return Se(Oe(t=e.call.apply(e,[this].concat(i))),"priority",110),Se(Oe(t),"incompatibleTokens",["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]),t}return function(t,e,n){e&&_e(t.prototype,e),n&&_e(t,n)}(n,[{key:"parse",value:function(t,e,n){var r=function(t){return t-1};switch(e){case"L":return at(st(N,t),r);case"LL":return at(ut(2,t),r);case"Lo":return at(n.ordinalNumber(t,{unit:"month"}),r);case"LLL":return n.month(t,{width:"abbreviated",context:"standalone"})||n.month(t,{width:"narrow",context:"standalone"});case"LLLLL":return n.month(t,{width:"narrow",context:"standalone"});default:return n.month(t,{width:"wide",context:"standalone"})||n.month(t,{width:"abbreviated",context:"standalone"})||n.month(t,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(t,e){return e>=0&&e<=11}},{key:"set",value:function(t,e,n){return t.setUTCMonth(n,1),t.setUTCHours(0,0,0,0),t}}]),n}(S),Te=n(5672);function Pe(t){return Pe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Pe(t)}function Ae(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function je(t,e){return je=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},je(t,e)}function De(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Re(t);if(e){var i=Re(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return function(t,e){if(e&&("object"===Pe(e)||"function"==typeof e))return e;return Me(t)}(this,n)}}function Me(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Re(t){return Re=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},Re(t)}function Ie(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Ne=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&je(t,e)}(n,t);var e=De(n);function n(){var t;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,n);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return Ie(Me(t=e.call.apply(e,[this].concat(i))),"priority",100),Ie(Me(t),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"]),t}return function(t,e,n){e&&Ae(t.prototype,e),n&&Ae(t,n)}(n,[{key:"parse",value:function(t,e,n){switch(e){case"w":return st(F,t);case"wo":return n.ordinalNumber(t,{unit:"week"});default:return ut(e.length,t)}}},{key:"validate",value:function(t,e){return e>=1&&e<=53}},{key:"set",value:function(t,e,n,r){return(0,Ot.Z)(function(t,e,n){(0,f.Z)(2,arguments);var r=(0,o.Z)(t),i=(0,u.Z)(e),a=(0,Te.Z)(r,n)-i;return r.setUTCDate(r.getUTCDate()-7*a),r}(t,n,r),r)}}]),n}(S),Le=n(2246);function $e(t){return $e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},$e(t)}function Fe(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Be(t,e){return Be=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},Be(t,e)}function ze(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Ue(t);if(e){var i=Ue(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return function(t,e){if(e&&("object"===$e(e)||"function"==typeof e))return e;return He(t)}(this,n)}}function He(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ue(t){return Ue=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},Ue(t)}function qe(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var We=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Be(t,e)}(n,t);var e=ze(n);function n(){var t;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,n);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return qe(He(t=e.call.apply(e,[this].concat(i))),"priority",100),qe(He(t),"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]),t}return function(t,e,n){e&&Fe(t.prototype,e),n&&Fe(t,n)}(n,[{key:"parse",value:function(t,e,n){switch(e){case"I":return st(F,t);case"Io":return n.ordinalNumber(t,{unit:"week"});default:return ut(e.length,t)}}},{key:"validate",value:function(t,e){return e>=1&&e<=53}},{key:"set",value:function(t,e,n){return(0,Mt.Z)(function(t,e){(0,f.Z)(2,arguments);var n=(0,o.Z)(t),r=(0,u.Z)(e),i=(0,Le.Z)(n)-r;return n.setUTCDate(n.getUTCDate()-7*i),n}(t,n))}}]),n}(S);function Ve(t){return Ve="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ve(t)}function Ze(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Ye(t,e){return Ye=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},Ye(t,e)}function Xe(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Ge(t);if(e){var i=Ge(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return function(t,e){if(e&&("object"===Ve(e)||"function"==typeof e))return e;return Ke(t)}(this,n)}}function Ke(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ge(t){return Ge=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},Ge(t)}function Qe(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Je=[31,28,31,30,31,30,31,31,30,31,30,31],tn=[31,29,31,30,31,30,31,31,30,31,30,31],en=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ye(t,e)}(n,t);var e=Xe(n);function n(){var t;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,n);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return Qe(Ke(t=e.call.apply(e,[this].concat(i))),"priority",90),Qe(Ke(t),"subPriority",1),Qe(Ke(t),"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"]),t}return function(t,e,n){e&&Ze(t.prototype,e),n&&Ze(t,n)}(n,[{key:"parse",value:function(t,e,n){switch(e){case"d":return st(L,t);case"do":return n.ordinalNumber(t,{unit:"date"});default:return ut(e.length,t)}}},{key:"validate",value:function(t,e){var n=pt(t.getUTCFullYear()),r=t.getUTCMonth();return n?e>=1&&e<=tn[r]:e>=1&&e<=Je[r]}},{key:"set",value:function(t,e,n){return t.setUTCDate(n),t.setUTCHours(0,0,0,0),t}}]),n}(S);function nn(t){return nn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},nn(t)}function rn(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function on(t,e){return on=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},on(t,e)}function an(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=cn(t);if(e){var i=cn(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return function(t,e){if(e&&("object"===nn(e)||"function"==typeof e))return e;return sn(t)}(this,n)}}function sn(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function cn(t){return cn=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},cn(t)}function ln(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var un=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&on(t,e)}(n,t);var e=an(n);function n(){var t;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,n);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return ln(sn(t=e.call.apply(e,[this].concat(i))),"priority",90),ln(sn(t),"subpriority",1),ln(sn(t),"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]),t}return function(t,e,n){e&&rn(t.prototype,e),n&&rn(t,n)}(n,[{key:"parse",value:function(t,e,n){switch(e){case"D":case"DD":return st($,t);case"Do":return n.ordinalNumber(t,{unit:"date"});default:return ut(e.length,t)}}},{key:"validate",value:function(t,e){return pt(t.getUTCFullYear())?e>=1&&e<=366:e>=1&&e<=365}},{key:"set",value:function(t,e,n){return t.setUTCMonth(0,n),t.setUTCHours(0,0,0,0),t}}]),n}(S),fn=n(1469);function hn(t,e,n){var r,i,a,s,c,l,h,d;(0,f.Z)(2,arguments);var p=(0,fn.j)(),m=(0,u.Z)(null!==(r=null!==(i=null!==(a=null!==(s=null==n?void 0:n.weekStartsOn)&&void 0!==s?s:null==n||null===(c=n.locale)||void 0===c||null===(l=c.options)||void 0===l?void 0:l.weekStartsOn)&&void 0!==a?a:p.weekStartsOn)&&void 0!==i?i:null===(h=p.locale)||void 0===h||null===(d=h.options)||void 0===d?void 0:d.weekStartsOn)&&void 0!==r?r:0);if(!(m>=0&&m<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var v=(0,o.Z)(t),g=(0,u.Z)(e),y=((g%7+7)%7<m?7:0)+g-v.getUTCDay();return v.setUTCDate(v.getUTCDate()+y),v}function dn(t){return dn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},dn(t)}function pn(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function mn(t,e){return mn=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},mn(t,e)}function vn(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=yn(t);if(e){var i=yn(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return function(t,e){if(e&&("object"===dn(e)||"function"==typeof e))return e;return gn(t)}(this,n)}}function gn(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function yn(t){return yn=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},yn(t)}function bn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var wn=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&mn(t,e)}(n,t);var e=vn(n);function n(){var t;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,n);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return bn(gn(t=e.call.apply(e,[this].concat(i))),"priority",90),bn(gn(t),"incompatibleTokens",["D","i","e","c","t","T"]),t}return function(t,e,n){e&&pn(t.prototype,e),n&&pn(t,n)}(n,[{key:"parse",value:function(t,e,n){switch(e){case"E":case"EE":case"EEE":return n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"});case"EEEEE":return n.day(t,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"});default:return n.day(t,{width:"wide",context:"formatting"})||n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(t,e){return e>=0&&e<=6}},{key:"set",value:function(t,e,n,r){return(t=hn(t,n,r)).setUTCHours(0,0,0,0),t}}]),n}(S);function _n(t){return _n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_n(t)}function xn(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function kn(t,e){return kn=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},kn(t,e)}function On(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Sn(t);if(e){var i=Sn(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return function(t,e){if(e&&("object"===_n(e)||"function"==typeof e))return e;return Cn(t)}(this,n)}}function Cn(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Sn(t){return Sn=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},Sn(t)}function En(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Tn=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&kn(t,e)}(n,t);var e=On(n);function n(){var t;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,n);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return En(Cn(t=e.call.apply(e,[this].concat(i))),"priority",90),En(Cn(t),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]),t}return function(t,e,n){e&&xn(t.prototype,e),n&&xn(t,n)}(n,[{key:"parse",value:function(t,e,n,r){var i=function(t){var e=7*Math.floor((t-1)/7);return(t+r.weekStartsOn+6)%7+e};switch(e){case"e":case"ee":return at(ut(e.length,t),i);case"eo":return at(n.ordinalNumber(t,{unit:"day"}),i);case"eee":return n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"});case"eeeee":return n.day(t,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"});default:return n.day(t,{width:"wide",context:"formatting"})||n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(t,e){return e>=0&&e<=6}},{key:"set",value:function(t,e,n,r){return(t=hn(t,n,r)).setUTCHours(0,0,0,0),t}}]),n}(S);function Pn(t){return Pn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Pn(t)}function An(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function jn(t,e){return jn=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},jn(t,e)}function Dn(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Rn(t);if(e){var i=Rn(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return function(t,e){if(e&&("object"===Pn(e)||"function"==typeof e))return e;return Mn(t)}(this,n)}}function Mn(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Rn(t){return Rn=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},Rn(t)}function In(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Nn=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&jn(t,e)}(n,t);var e=Dn(n);function n(){var t;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,n);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return In(Mn(t=e.call.apply(e,[this].concat(i))),"priority",90),In(Mn(t),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]),t}return function(t,e,n){e&&An(t.prototype,e),n&&An(t,n)}(n,[{key:"parse",value:function(t,e,n,r){var i=function(t){var e=7*Math.floor((t-1)/7);return(t+r.weekStartsOn+6)%7+e};switch(e){case"c":case"cc":return at(ut(e.length,t),i);case"co":return at(n.ordinalNumber(t,{unit:"day"}),i);case"ccc":return n.day(t,{width:"abbreviated",context:"standalone"})||n.day(t,{width:"short",context:"standalone"})||n.day(t,{width:"narrow",context:"standalone"});case"ccccc":return n.day(t,{width:"narrow",context:"standalone"});case"cccccc":return n.day(t,{width:"short",context:"standalone"})||n.day(t,{width:"narrow",context:"standalone"});default:return n.day(t,{width:"wide",context:"standalone"})||n.day(t,{width:"abbreviated",context:"standalone"})||n.day(t,{width:"short",context:"standalone"})||n.day(t,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(t,e){return e>=0&&e<=6}},{key:"set",value:function(t,e,n,r){return(t=hn(t,n,r)).setUTCHours(0,0,0,0),t}}]),n}(S);function Ln(t){return Ln="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ln(t)}function $n(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Fn(t,e){return Fn=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},Fn(t,e)}function Bn(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Hn(t);if(e){var i=Hn(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return function(t,e){if(e&&("object"===Ln(e)||"function"==typeof e))return e;return zn(t)}(this,n)}}function zn(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Hn(t){return Hn=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},Hn(t)}function Un(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var qn=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Fn(t,e)}(n,t);var e=Bn(n);function n(){var t;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,n);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return Un(zn(t=e.call.apply(e,[this].concat(i))),"priority",90),Un(zn(t),"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]),t}return function(t,e,n){e&&$n(t.prototype,e),n&&$n(t,n)}(n,[{key:"parse",value:function(t,e,n){var r=function(t){return 0===t?7:t};switch(e){case"i":case"ii":return ut(e.length,t);case"io":return n.ordinalNumber(t,{unit:"day"});case"iii":return at(n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"}),r);case"iiiii":return at(n.day(t,{width:"narrow",context:"formatting"}),r);case"iiiiii":return at(n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"}),r);default:return at(n.day(t,{width:"wide",context:"formatting"})||n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"}),r)}}},{key:"validate",value:function(t,e){return e>=1&&e<=7}},{key:"set",value:function(t,e,n){return t=function(t,e){(0,f.Z)(2,arguments);var n=(0,u.Z)(e);n%7==0&&(n-=7);var r=(0,o.Z)(t),i=((n%7+7)%7<1?7:0)+n-r.getUTCDay();return r.setUTCDate(r.getUTCDate()+i),r}(t,n),t.setUTCHours(0,0,0,0),t}}]),n}(S);function Wn(t){return Wn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Wn(t)}function Vn(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Zn(t,e){return Zn=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},Zn(t,e)}function Yn(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Kn(t);if(e){var i=Kn(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return function(t,e){if(e&&("object"===Wn(e)||"function"==typeof e))return e;return Xn(t)}(this,n)}}function Xn(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Kn(t){return Kn=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},Kn(t)}function Gn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Qn=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Zn(t,e)}(n,t);var e=Yn(n);function n(){var t;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,n);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return Gn(Xn(t=e.call.apply(e,[this].concat(i))),"priority",80),Gn(Xn(t),"incompatibleTokens",["b","B","H","k","t","T"]),t}return function(t,e,n){e&&Vn(t.prototype,e),n&&Vn(t,n)}(n,[{key:"parse",value:function(t,e,n){switch(e){case"a":case"aa":case"aaa":return n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"});case"aaaaa":return n.dayPeriod(t,{width:"narrow",context:"formatting"});default:return n.dayPeriod(t,{width:"wide",context:"formatting"})||n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(t,e,n){return t.setUTCHours(ht(n),0,0,0),t}}]),n}(S);function Jn(t){return Jn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Jn(t)}function tr(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function er(t,e){return er=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},er(t,e)}function nr(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=ir(t);if(e){var i=ir(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return function(t,e){if(e&&("object"===Jn(e)||"function"==typeof e))return e;return rr(t)}(this,n)}}function rr(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ir(t){return ir=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},ir(t)}function or(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var ar=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&er(t,e)}(n,t);var e=nr(n);function n(){var t;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,n);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return or(rr(t=e.call.apply(e,[this].concat(i))),"priority",80),or(rr(t),"incompatibleTokens",["a","B","H","k","t","T"]),t}return function(t,e,n){e&&tr(t.prototype,e),n&&tr(t,n)}(n,[{key:"parse",value:function(t,e,n){switch(e){case"b":case"bb":case"bbb":return n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"});case"bbbbb":return n.dayPeriod(t,{width:"narrow",context:"formatting"});default:return n.dayPeriod(t,{width:"wide",context:"formatting"})||n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(t,e,n){return t.setUTCHours(ht(n),0,0,0),t}}]),n}(S);function sr(t){return sr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},sr(t)}function cr(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function lr(t,e){return lr=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},lr(t,e)}function ur(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=hr(t);if(e){var i=hr(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return function(t,e){if(e&&("object"===sr(e)||"function"==typeof e))return e;return fr(t)}(this,n)}}function fr(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function hr(t){return hr=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},hr(t)}function dr(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var pr=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&lr(t,e)}(n,t);var e=ur(n);function n(){var t;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,n);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return dr(fr(t=e.call.apply(e,[this].concat(i))),"priority",80),dr(fr(t),"incompatibleTokens",["a","b","t","T"]),t}return function(t,e,n){e&&cr(t.prototype,e),n&&cr(t,n)}(n,[{key:"parse",value:function(t,e,n){switch(e){case"B":case"BB":case"BBB":return n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"});case"BBBBB":return n.dayPeriod(t,{width:"narrow",context:"formatting"});default:return n.dayPeriod(t,{width:"wide",context:"formatting"})||n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(t,e,n){return t.setUTCHours(ht(n),0,0,0),t}}]),n}(S);function mr(t){return mr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},mr(t)}function vr(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function gr(t,e){return gr=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},gr(t,e)}function yr(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=wr(t);if(e){var i=wr(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return function(t,e){if(e&&("object"===mr(e)||"function"==typeof e))return e;return br(t)}(this,n)}}function br(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function wr(t){return wr=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},wr(t)}function _r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var xr=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&gr(t,e)}(n,t);var e=yr(n);function n(){var t;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,n);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return _r(br(t=e.call.apply(e,[this].concat(i))),"priority",70),_r(br(t),"incompatibleTokens",["H","K","k","t","T"]),t}return function(t,e,n){e&&vr(t.prototype,e),n&&vr(t,n)}(n,[{key:"parse",value:function(t,e,n){switch(e){case"h":return st(U,t);case"ho":return n.ordinalNumber(t,{unit:"hour"});default:return ut(e.length,t)}}},{key:"validate",value:function(t,e){return e>=1&&e<=12}},{key:"set",value:function(t,e,n){var r=t.getUTCHours()>=12;return r&&n<12?t.setUTCHours(n+12,0,0,0):r||12!==n?t.setUTCHours(n,0,0,0):t.setUTCHours(0,0,0,0),t}}]),n}(S);function kr(t){return kr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},kr(t)}function Or(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Cr(t,e){return Cr=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},Cr(t,e)}function Sr(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Tr(t);if(e){var i=Tr(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return function(t,e){if(e&&("object"===kr(e)||"function"==typeof e))return e;return Er(t)}(this,n)}}function Er(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Tr(t){return Tr=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},Tr(t)}function Pr(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Ar=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Cr(t,e)}(n,t);var e=Sr(n);function n(){var t;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,n);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return Pr(Er(t=e.call.apply(e,[this].concat(i))),"priority",70),Pr(Er(t),"incompatibleTokens",["a","b","h","K","k","t","T"]),t}return function(t,e,n){e&&Or(t.prototype,e),n&&Or(t,n)}(n,[{key:"parse",value:function(t,e,n){switch(e){case"H":return st(B,t);case"Ho":return n.ordinalNumber(t,{unit:"hour"});default:return ut(e.length,t)}}},{key:"validate",value:function(t,e){return e>=0&&e<=23}},{key:"set",value:function(t,e,n){return t.setUTCHours(n,0,0,0),t}}]),n}(S);function jr(t){return jr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},jr(t)}function Dr(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Mr(t,e){return Mr=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},Mr(t,e)}function Rr(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Nr(t);if(e){var i=Nr(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return function(t,e){if(e&&("object"===jr(e)||"function"==typeof e))return e;return Ir(t)}(this,n)}}function Ir(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Nr(t){return Nr=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},Nr(t)}function Lr(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var $r=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Mr(t,e)}(n,t);var e=Rr(n);function n(){var t;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,n);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return Lr(Ir(t=e.call.apply(e,[this].concat(i))),"priority",70),Lr(Ir(t),"incompatibleTokens",["h","H","k","t","T"]),t}return function(t,e,n){e&&Dr(t.prototype,e),n&&Dr(t,n)}(n,[{key:"parse",value:function(t,e,n){switch(e){case"K":return st(H,t);case"Ko":return n.ordinalNumber(t,{unit:"hour"});default:return ut(e.length,t)}}},{key:"validate",value:function(t,e){return e>=0&&e<=11}},{key:"set",value:function(t,e,n){return t.getUTCHours()>=12&&n<12?t.setUTCHours(n+12,0,0,0):t.setUTCHours(n,0,0,0),t}}]),n}(S);function Fr(t){return Fr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Fr(t)}function Br(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function zr(t,e){return zr=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},zr(t,e)}function Hr(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=qr(t);if(e){var i=qr(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return function(t,e){if(e&&("object"===Fr(e)||"function"==typeof e))return e;return Ur(t)}(this,n)}}function Ur(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function qr(t){return qr=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},qr(t)}function Wr(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Vr=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&zr(t,e)}(n,t);var e=Hr(n);function n(){var t;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,n);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return Wr(Ur(t=e.call.apply(e,[this].concat(i))),"priority",70),Wr(Ur(t),"incompatibleTokens",["a","b","h","H","K","t","T"]),t}return function(t,e,n){e&&Br(t.prototype,e),n&&Br(t,n)}(n,[{key:"parse",value:function(t,e,n){switch(e){case"k":return st(z,t);case"ko":return n.ordinalNumber(t,{unit:"hour"});default:return ut(e.length,t)}}},{key:"validate",value:function(t,e){return e>=1&&e<=24}},{key:"set",value:function(t,e,n){var r=n<=24?n%24:n;return t.setUTCHours(r,0,0,0),t}}]),n}(S);function Zr(t){return Zr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Zr(t)}function Yr(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Xr(t,e){return Xr=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},Xr(t,e)}function Kr(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Qr(t);if(e){var i=Qr(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return function(t,e){if(e&&("object"===Zr(e)||"function"==typeof e))return e;return Gr(t)}(this,n)}}function Gr(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Qr(t){return Qr=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},Qr(t)}function Jr(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var ti=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Xr(t,e)}(n,t);var e=Kr(n);function n(){var t;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,n);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return Jr(Gr(t=e.call.apply(e,[this].concat(i))),"priority",60),Jr(Gr(t),"incompatibleTokens",["t","T"]),t}return function(t,e,n){e&&Yr(t.prototype,e),n&&Yr(t,n)}(n,[{key:"parse",value:function(t,e,n){switch(e){case"m":return st(q,t);case"mo":return n.ordinalNumber(t,{unit:"minute"});default:return ut(e.length,t)}}},{key:"validate",value:function(t,e){return e>=0&&e<=59}},{key:"set",value:function(t,e,n){return t.setUTCMinutes(n,0,0),t}}]),n}(S);function ei(t){return ei="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ei(t)}function ni(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function ri(t,e){return ri=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},ri(t,e)}function ii(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=ai(t);if(e){var i=ai(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return function(t,e){if(e&&("object"===ei(e)||"function"==typeof e))return e;return oi(t)}(this,n)}}function oi(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ai(t){return ai=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},ai(t)}function si(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var ci=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ri(t,e)}(n,t);var e=ii(n);function n(){var t;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,n);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return si(oi(t=e.call.apply(e,[this].concat(i))),"priority",50),si(oi(t),"incompatibleTokens",["t","T"]),t}return function(t,e,n){e&&ni(t.prototype,e),n&&ni(t,n)}(n,[{key:"parse",value:function(t,e,n){switch(e){case"s":return st(W,t);case"so":return n.ordinalNumber(t,{unit:"second"});default:return ut(e.length,t)}}},{key:"validate",value:function(t,e){return e>=0&&e<=59}},{key:"set",value:function(t,e,n){return t.setUTCSeconds(n,0),t}}]),n}(S);function li(t){return li="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},li(t)}function ui(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function fi(t,e){return fi=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},fi(t,e)}function hi(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=pi(t);if(e){var i=pi(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return function(t,e){if(e&&("object"===li(e)||"function"==typeof e))return e;return di(t)}(this,n)}}function di(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function pi(t){return pi=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},pi(t)}function mi(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var vi=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&fi(t,e)}(n,t);var e=hi(n);function n(){var t;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,n);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return mi(di(t=e.call.apply(e,[this].concat(i))),"priority",30),mi(di(t),"incompatibleTokens",["t","T"]),t}return function(t,e,n){e&&ui(t.prototype,e),n&&ui(t,n)}(n,[{key:"parse",value:function(t,e){return at(ut(e.length,t),(function(t){return Math.floor(t*Math.pow(10,3-e.length))}))}},{key:"set",value:function(t,e,n){return t.setUTCMilliseconds(n),t}}]),n}(S);function gi(t){return gi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},gi(t)}function yi(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function bi(t,e){return bi=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},bi(t,e)}function wi(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=xi(t);if(e){var i=xi(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return function(t,e){if(e&&("object"===gi(e)||"function"==typeof e))return e;return _i(t)}(this,n)}}function _i(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function xi(t){return xi=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},xi(t)}function ki(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Oi=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&bi(t,e)}(n,t);var e=wi(n);function n(){var t;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,n);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return ki(_i(t=e.call.apply(e,[this].concat(i))),"priority",10),ki(_i(t),"incompatibleTokens",["t","T","x"]),t}return function(t,e,n){e&&yi(t.prototype,e),n&&yi(t,n)}(n,[{key:"parse",value:function(t,e){switch(e){case"X":return ct(et,t);case"XX":return ct(nt,t);case"XXXX":return ct(rt,t);case"XXXXX":return ct(ot,t);default:return ct(it,t)}}},{key:"set",value:function(t,e,n){return e.timestampIsSet?t:new Date(t.getTime()-n)}}]),n}(S);function Ci(t){return Ci="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ci(t)}function Si(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Ei(t,e){return Ei=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},Ei(t,e)}function Ti(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Ai(t);if(e){var i=Ai(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return function(t,e){if(e&&("object"===Ci(e)||"function"==typeof e))return e;return Pi(t)}(this,n)}}function Pi(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ai(t){return Ai=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},Ai(t)}function ji(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Di=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ei(t,e)}(n,t);var e=Ti(n);function n(){var t;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,n);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return ji(Pi(t=e.call.apply(e,[this].concat(i))),"priority",10),ji(Pi(t),"incompatibleTokens",["t","T","X"]),t}return function(t,e,n){e&&Si(t.prototype,e),n&&Si(t,n)}(n,[{key:"parse",value:function(t,e){switch(e){case"x":return ct(et,t);case"xx":return ct(nt,t);case"xxxx":return ct(rt,t);case"xxxxx":return ct(ot,t);default:return ct(it,t)}}},{key:"set",value:function(t,e,n){return e.timestampIsSet?t:new Date(t.getTime()-n)}}]),n}(S);function Mi(t){return Mi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Mi(t)}function Ri(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Ii(t,e){return Ii=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},Ii(t,e)}function Ni(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=$i(t);if(e){var i=$i(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return function(t,e){if(e&&("object"===Mi(e)||"function"==typeof e))return e;return Li(t)}(this,n)}}function Li(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function $i(t){return $i=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},$i(t)}function Fi(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Bi=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ii(t,e)}(n,t);var e=Ni(n);function n(){var t;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,n);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return Fi(Li(t=e.call.apply(e,[this].concat(i))),"priority",40),Fi(Li(t),"incompatibleTokens","*"),t}return function(t,e,n){e&&Ri(t.prototype,e),n&&Ri(t,n)}(n,[{key:"parse",value:function(t){return lt(t)}},{key:"set",value:function(t,e,n){return[new Date(1e3*n),{timestampIsSet:!0}]}}]),n}(S);function zi(t){return zi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},zi(t)}function Hi(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Ui(t,e){return Ui=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},Ui(t,e)}function qi(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Vi(t);if(e){var i=Vi(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return function(t,e){if(e&&("object"===zi(e)||"function"==typeof e))return e;return Wi(t)}(this,n)}}function Wi(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Vi(t){return Vi=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},Vi(t)}function Zi(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Yi=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ui(t,e)}(n,t);var e=qi(n);function n(){var t;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,n);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return Zi(Wi(t=e.call.apply(e,[this].concat(i))),"priority",20),Zi(Wi(t),"incompatibleTokens","*"),t}return function(t,e,n){e&&Hi(t.prototype,e),n&&Hi(t,n)}(n,[{key:"parse",value:function(t){return lt(t)}},{key:"set",value:function(t,e,n){return[new Date(n),{timestampIsSet:!0}]}}]),n}(S),Xi={G:new R,y:new xt,Y:new Dt,R:new zt,u:new Xt,Q:new re,q:new fe,M:new be,L:new Ee,w:new Ne,I:new We,d:new en,D:new un,E:new wn,e:new Tn,c:new Nn,i:new qn,a:new Qn,b:new ar,B:new pr,h:new xr,H:new Ar,K:new $r,k:new Vr,m:new ti,s:new ci,S:new vi,X:new Oi,x:new Di,t:new Bi,T:new Yi};function Ki(t){return Ki="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ki(t)}function Gi(t,e){var n;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(n=function(t,e){if(!t)return;if("string"==typeof t)return Qi(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Qi(t,e)}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,i=function(){};return{s:i,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:i}}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 o,a=!0,s=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return a=t.done,t},e:function(t){s=!0,o=t},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function Qi(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var Ji=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,to=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,eo=/^'([^]*?)'?$/,no=/''/g,ro=/\S/,io=/[a-zA-Z]/;function oo(t,e,n,h){var d,p,m,v,g,y,b,w,_,x,k,C,S,E,T,P,A,j;(0,f.Z)(3,arguments);var D=String(t),M=String(e),R=(0,fn.j)(),I=null!==(d=null!==(p=null==h?void 0:h.locale)&&void 0!==p?p:R.locale)&&void 0!==d?d:r.Z;if(!I.match)throw new RangeError("locale must contain match property");var N=(0,u.Z)(null!==(m=null!==(v=null!==(g=null!==(y=null==h?void 0:h.firstWeekContainsDate)&&void 0!==y?y:null==h||null===(b=h.locale)||void 0===b||null===(w=b.options)||void 0===w?void 0:w.firstWeekContainsDate)&&void 0!==g?g:R.firstWeekContainsDate)&&void 0!==v?v:null===(_=R.locale)||void 0===_||null===(x=_.options)||void 0===x?void 0:x.firstWeekContainsDate)&&void 0!==m?m:1);if(!(N>=1&&N<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var L=(0,u.Z)(null!==(k=null!==(C=null!==(S=null!==(E=null==h?void 0:h.weekStartsOn)&&void 0!==E?E:null==h||null===(T=h.locale)||void 0===T||null===(P=T.options)||void 0===P?void 0:P.weekStartsOn)&&void 0!==S?S:R.weekStartsOn)&&void 0!==C?C:null===(A=R.locale)||void 0===A||null===(j=A.options)||void 0===j?void 0:j.weekStartsOn)&&void 0!==k?k:0);if(!(L>=0&&L<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(""===M)return""===D?(0,o.Z)(n):new Date(NaN);var $,F={firstWeekContainsDate:N,weekStartsOn:L,locale:I},B=[new O],z=M.match(to).map((function(t){var e=t[0];return e in s.Z?(0,s.Z[e])(t,I.formatLong):t})).join("").match(Ji),H=[],U=Gi(z);try{var q=function(){var e=$.value;null!=h&&h.useAdditionalWeekYearTokens||!(0,l.Do)(e)||(0,l.qp)(e,M,t),null!=h&&h.useAdditionalDayOfYearTokens||!(0,l.Iu)(e)||(0,l.qp)(e,M,t);var n=e[0],r=Xi[n];if(r){var i=r.incompatibleTokens;if(Array.isArray(i)){var o=H.find((function(t){return i.includes(t.token)||t.token===n}));if(o)throw new RangeError("The format string mustn't contain `".concat(o.fullToken,"` and `").concat(e,"` at the same time"))}else if("*"===r.incompatibleTokens&&H.length>0)throw new RangeError("The format string mustn't contain `".concat(e,"` and any other token at the same time"));H.push({token:n,fullToken:e});var a=r.run(D,e,I.match,F);if(!a)return{v:new Date(NaN)};B.push(a.setter),D=a.rest}else{if(n.match(io))throw new RangeError("Format string contains an unescaped latin alphabet character `"+n+"`");if("''"===e?e="'":"'"===n&&(e=function(t){return t.match(eo)[1].replace(no,"'")}(e)),0!==D.indexOf(e))return{v:new Date(NaN)};D=D.slice(e.length)}};for(U.s();!($=U.n()).done;){var W=q();if("object"===Ki(W))return W.v}}catch(t){U.e(t)}finally{U.f()}if(D.length>0&&ro.test(D))return new Date(NaN);var V=B.map((function(t){return t.priority})).sort((function(t,e){return e-t})).filter((function(t,e,n){return n.indexOf(t)===e})).map((function(t){return B.filter((function(e){return e.priority===t})).sort((function(t,e){return e.subPriority-t.subPriority}))})).map((function(t){return t[0]})),Z=(0,o.Z)(n);if(isNaN(Z.getTime()))return new Date(NaN);var Y,X=(0,i.Z)(Z,(0,c.Z)(Z)),K={},G=Gi(V);try{for(G.s();!(Y=G.n()).done;){var Q=Y.value;if(!Q.validate(X,F))return new Date(NaN);var J=Q.set(X,K,F);Array.isArray(J)?(X=J[0],a(K,J[1])):X=J}}catch(t){G.e(t)}finally{G.f()}return X}},3127:(t,e,n)=>{"use strict";n.d(e,{Z:()=>o});var r=n(7411),i=n(1589);function o(t){(0,i.Z)(1,arguments);var e=(0,r.Z)(t);return e.setHours(0,0,0,0),e}},8716:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var r=n(33),i=n(1589),o=n(1154);function a(t,e){(0,i.Z)(2,arguments);var n=(0,o.Z)(e);return(0,r.Z)(t,-n)}},7411:(t,e,n)=>{"use strict";n.d(e,{Z:()=>o});var r=n(1589);function i(t){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i(t)}function o(t){(0,r.Z)(1,arguments);var e=Object.prototype.toString.call(t);return t instanceof Date||"object"===i(t)&&"[object Date]"===e?new Date(t.getTime()):"number"==typeof t||"[object Number]"===e?new Date(t):("string"!=typeof t&&"[object String]"!==e||"undefined"==typeof console||(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn((new Error).stack)),new Date(NaN))}},3603:(t,e,n)=>{"use strict";t=n.nmd(t);var r=n(2702),i=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}();function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var s=function(){function t(){a(this,t)}return i(t,[{key:"on",value:function(t,e){return this._callbacks=this._callbacks||{},this._callbacks[t]||(this._callbacks[t]=[]),this._callbacks[t].push(e),this}},{key:"emit",value:function(t){this._callbacks=this._callbacks||{};var e=this._callbacks[t];if(e){for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];for(var o=0,a=a=e;;){if(o>=a.length)break;a[o++].apply(this,r)}}return this}},{key:"off",value:function(t,e){if(!this._callbacks||0===arguments.length)return this._callbacks={},this;var n=this._callbacks[t];if(!n)return this;if(1===arguments.length)return delete this._callbacks[t],this;for(var r=0;r<n.length;r++){if(n[r]===e){n.splice(r,1);break}}return this}}]),t}(),c=function(t){function e(t,n){a(this,e);var r,i=o(this,(e.__proto__||Object.getPrototypeOf(e)).call(this)),s=void 0;if(i.element=t,i.version=e.version,i.defaultOptions.previewTemplate=i.defaultOptions.previewTemplate.replace(/\n*/g,""),i.clickableElements=[],i.listeners=[],i.files=[],"string"==typeof i.element&&(i.element=document.querySelector(i.element)),!i.element||null==i.element.nodeType)throw new Error("Invalid dropzone element.");if(i.element.dropzone)throw new Error("Dropzone already attached.");e.instances.push(i),i.element.dropzone=i;var c,l=null!=(r=e.optionsForElement(i.element))?r:{};if(i.options=e.extend({},i.defaultOptions,l,null!=n?n:{}),i.options.forceFallback||!e.isBrowserSupported())return c=i.options.fallback.call(i),o(i,c);if(null==i.options.url&&(i.options.url=i.element.getAttribute("action")),!i.options.url)throw new Error("No URL provided.");if(i.options.acceptedFiles&&i.options.acceptedMimeTypes)throw new Error("You can't provide both 'acceptedFiles' and 'acceptedMimeTypes'. 'acceptedMimeTypes' is deprecated.");if(i.options.uploadMultiple&&i.options.chunking)throw new Error("You cannot set both: uploadMultiple and chunking.");return i.options.acceptedMimeTypes&&(i.options.acceptedFiles=i.options.acceptedMimeTypes,delete i.options.acceptedMimeTypes),null!=i.options.renameFilename&&(i.options.renameFile=function(t){return i.options.renameFilename.call(i,t.name,t)}),i.options.method=i.options.method.toUpperCase(),(s=i.getExistingFallback())&&s.parentNode&&s.parentNode.removeChild(s),!1!==i.options.previewsContainer&&(i.options.previewsContainer?i.previewsContainer=e.getElement(i.options.previewsContainer,"previewsContainer"):i.previewsContainer=i.element),i.options.clickable&&(!0===i.options.clickable?i.clickableElements=[i.element]:i.clickableElements=e.getElements(i.options.clickable,"clickable")),i.init(),i}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),i(e,null,[{key:"initClass",value:function(){this.prototype.Emitter=s,this.prototype.events=["drop","dragstart","dragend","dragenter","dragover","dragleave","addedfile","addedfiles","removedfile","thumbnail","error","errormultiple","processing","processingmultiple","uploadprogress","totaluploadprogress","sending","sendingmultiple","success","successmultiple","canceled","canceledmultiple","complete","completemultiple","reset","maxfilesexceeded","maxfilesreached","queuecomplete"],this.prototype.defaultOptions={url:null,method:"post",withCredentials:!1,timeout:3e4,parallelUploads:2,uploadMultiple:!1,chunking:!1,forceChunking:!1,chunkSize:2e6,parallelChunkUploads:!1,retryChunks:!1,retryChunksLimit:3,maxFilesize:256,paramName:"file",createImageThumbnails:!0,maxThumbnailFilesize:10,thumbnailWidth:120,thumbnailHeight:120,thumbnailMethod:"crop",resizeWidth:null,resizeHeight:null,resizeMimeType:null,resizeQuality:.8,resizeMethod:"contain",filesizeBase:1e3,maxFiles:null,headers:null,clickable:!0,ignoreHiddenFiles:!0,acceptedFiles:null,acceptedMimeTypes:null,autoProcessQueue:!0,autoQueue:!0,addRemoveLinks:!1,previewsContainer:null,hiddenInputContainer:"body",capture:null,renameFilename:null,renameFile:null,forceFallback:!1,dictDefaultMessage:"Drop files here to upload",dictFallbackMessage:"Your browser does not support drag'n'drop file uploads.",dictFallbackText:"Please use the fallback form below to upload your files like in the olden days.",dictFileTooBig:"File is too big ({{filesize}}MiB). Max filesize: {{maxFilesize}}MiB.",dictInvalidFileType:"You can't upload files of this type.",dictResponseError:"Server responded with {{statusCode}} code.",dictCancelUpload:"Cancel upload",dictUploadCanceled:"Upload canceled.",dictCancelUploadConfirmation:"Are you sure you want to cancel this upload?",dictRemoveFile:"Remove file",dictRemoveFileConfirmation:null,dictMaxFilesExceeded:"You can not upload any more files.",dictFileSizeUnits:{tb:"TB",gb:"GB",mb:"MB",kb:"KB",b:"b"},init:function(){},params:function(t,e,n){if(n)return{dzuuid:n.file.upload.uuid,dzchunkindex:n.index,dztotalfilesize:n.file.size,dzchunksize:this.options.chunkSize,dztotalchunkcount:n.file.upload.totalChunkCount,dzchunkbyteoffset:n.index*this.options.chunkSize}},accept:function(t,e){return e()},chunksUploaded:function(t,e){e()},fallback:function(){var t=void 0;this.element.className=this.element.className+" dz-browser-not-supported";for(var n=0,r=r=this.element.getElementsByTagName("div");;){if(n>=r.length)break;var i=r[n++];if(/(^| )dz-message($| )/.test(i.className)){t=i,i.className="dz-message";break}}t||(t=e.createElement('<div class="dz-message"><span></span></div>'),this.element.appendChild(t));var o=t.getElementsByTagName("span")[0];return o&&(null!=o.textContent?o.textContent=this.options.dictFallbackMessage:null!=o.innerText&&(o.innerText=this.options.dictFallbackMessage)),this.element.appendChild(this.getFallbackForm())},resize:function(t,e,n,r){var i={srcX:0,srcY:0,srcWidth:t.width,srcHeight:t.height},o=t.width/t.height;null==e&&null==n?(e=i.srcWidth,n=i.srcHeight):null==e?e=n*o:null==n&&(n=e/o);var a=(e=Math.min(e,i.srcWidth))/(n=Math.min(n,i.srcHeight));if(i.srcWidth>e||i.srcHeight>n)if("crop"===r)o>a?(i.srcHeight=t.height,i.srcWidth=i.srcHeight*a):(i.srcWidth=t.width,i.srcHeight=i.srcWidth/a);else{if("contain"!==r)throw new Error("Unknown resizeMethod '"+r+"'");o>a?n=e/o:e=n*o}return i.srcX=(t.width-i.srcWidth)/2,i.srcY=(t.height-i.srcHeight)/2,i.trgWidth=e,i.trgHeight=n,i},transformFile:function(t,e){return(this.options.resizeWidth||this.options.resizeHeight)&&t.type.match(/image.*/)?this.resizeImage(t,this.options.resizeWidth,this.options.resizeHeight,this.options.resizeMethod,e):e(t)},previewTemplate:'<div class="dz-preview dz-file-preview">\n  <div class="dz-image"><img data-dz-thumbnail /></div>\n  <div class="dz-details">\n    <div class="dz-size"><span data-dz-size></span></div>\n    <div class="dz-filename"><span data-dz-name></span></div>\n  </div>\n  <div class="dz-progress"><span class="dz-upload" data-dz-uploadprogress></span></div>\n  <div class="dz-error-message"><span data-dz-errormessage></span></div>\n  <div class="dz-success-mark">\n    <svg width="54px" height="54px" viewBox="0 0 54 54" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns">\n      <title>Check</title>\n      <defs></defs>\n      <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage">\n        <path d="M23.5,31.8431458 L17.5852419,25.9283877 C16.0248253,24.3679711 13.4910294,24.366835 11.9289322,25.9289322 C10.3700136,27.4878508 10.3665912,30.0234455 11.9283877,31.5852419 L20.4147581,40.0716123 C20.5133999,40.1702541 20.6159315,40.2626649 20.7218615,40.3488435 C22.2835669,41.8725651 24.794234,41.8626202 26.3461564,40.3106978 L43.3106978,23.3461564 C44.8771021,21.7797521 44.8758057,19.2483887 43.3137085,17.6862915 C41.7547899,16.1273729 39.2176035,16.1255422 37.6538436,17.6893022 L23.5,31.8431458 Z M27,53 C41.3594035,53 53,41.3594035 53,27 C53,12.6405965 41.3594035,1 27,1 C12.6405965,1 1,12.6405965 1,27 C1,41.3594035 12.6405965,53 27,53 Z" id="Oval-2" stroke-opacity="0.198794158" stroke="#747474" fill-opacity="0.816519475" fill="#FFFFFF" sketch:type="MSShapeGroup"></path>\n      </g>\n    </svg>\n  </div>\n  <div class="dz-error-mark">\n    <svg width="54px" height="54px" viewBox="0 0 54 54" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns">\n      <title>Error</title>\n      <defs></defs>\n      <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage">\n        <g id="Check-+-Oval-2" sketch:type="MSLayerGroup" stroke="#747474" stroke-opacity="0.198794158" fill="#FFFFFF" fill-opacity="0.816519475">\n          <path d="M32.6568542,29 L38.3106978,23.3461564 C39.8771021,21.7797521 39.8758057,19.2483887 38.3137085,17.6862915 C36.7547899,16.1273729 34.2176035,16.1255422 32.6538436,17.6893022 L27,23.3431458 L21.3461564,17.6893022 C19.7823965,16.1255422 17.2452101,16.1273729 15.6862915,17.6862915 C14.1241943,19.2483887 14.1228979,21.7797521 15.6893022,23.3461564 L21.3431458,29 L15.6893022,34.6538436 C14.1228979,36.2202479 14.1241943,38.7516113 15.6862915,40.3137085 C17.2452101,41.8726271 19.7823965,41.8744578 21.3461564,40.3106978 L27,34.6568542 L32.6538436,40.3106978 C34.2176035,41.8744578 36.7547899,41.8726271 38.3137085,40.3137085 C39.8758057,38.7516113 39.8771021,36.2202479 38.3106978,34.6538436 L32.6568542,29 Z M27,53 C41.3594035,53 53,41.3594035 53,27 C53,12.6405965 41.3594035,1 27,1 C12.6405965,1 1,12.6405965 1,27 C1,41.3594035 12.6405965,53 27,53 Z" id="Oval-2" sketch:type="MSShapeGroup"></path>\n        </g>\n      </g>\n    </svg>\n  </div>\n</div>',drop:function(t){return this.element.classList.remove("dz-drag-hover")},dragstart:function(t){},dragend:function(t){return this.element.classList.remove("dz-drag-hover")},dragenter:function(t){return this.element.classList.add("dz-drag-hover")},dragover:function(t){return this.element.classList.add("dz-drag-hover")},dragleave:function(t){return this.element.classList.remove("dz-drag-hover")},paste:function(t){},reset:function(){return this.element.classList.remove("dz-started")},addedfile:function(t){var n=this;if(this.element===this.previewsContainer&&this.element.classList.add("dz-started"),this.previewsContainer){t.previewElement=e.createElement(this.options.previewTemplate.trim()),t.previewTemplate=t.previewElement,this.previewsContainer.appendChild(t.previewElement);for(var r=0,i=i=t.previewElement.querySelectorAll("[data-dz-name]");;){if(r>=i.length)break;var o=i[r++];o.textContent=t.name}for(var a=0,s=s=t.previewElement.querySelectorAll("[data-dz-size]");!(a>=s.length);)(o=s[a++]).innerHTML=this.filesize(t.size);this.options.addRemoveLinks&&(t._removeLink=e.createElement('<a class="dz-remove" href="javascript:undefined;" data-dz-remove>'+this.options.dictRemoveFile+"</a>"),t.previewElement.appendChild(t._removeLink));for(var c=function(r){return r.preventDefault(),r.stopPropagation(),t.status===e.UPLOADING?e.confirm(n.options.dictCancelUploadConfirmation,(function(){return n.removeFile(t)})):n.options.dictRemoveFileConfirmation?e.confirm(n.options.dictRemoveFileConfirmation,(function(){return n.removeFile(t)})):n.removeFile(t)},l=0,u=u=t.previewElement.querySelectorAll("[data-dz-remove]");;){if(l>=u.length)break;u[l++].addEventListener("click",c)}}},removedfile:function(t){return null!=t.previewElement&&null!=t.previewElement.parentNode&&t.previewElement.parentNode.removeChild(t.previewElement),this._updateMaxFilesReachedClass()},thumbnail:function(t,e){if(t.previewElement){t.previewElement.classList.remove("dz-file-preview");for(var n=0,r=r=t.previewElement.querySelectorAll("[data-dz-thumbnail]");;){if(n>=r.length)break;var i=r[n++];i.alt=t.name,i.src=e}return setTimeout((function(){return t.previewElement.classList.add("dz-image-preview")}),1)}},error:function(t,e){if(t.previewElement){t.previewElement.classList.add("dz-error"),"String"!=typeof e&&e.error&&(e=e.error);for(var n=0,r=r=t.previewElement.querySelectorAll("[data-dz-errormessage]");;){if(n>=r.length)break;r[n++].textContent=e}}},errormultiple:function(){},processing:function(t){if(t.previewElement&&(t.previewElement.classList.add("dz-processing"),t._removeLink))return t._removeLink.textContent=this.options.dictCancelUpload},processingmultiple:function(){},uploadprogress:function(t,e,n){if(t.previewElement)for(var r=0,i=i=t.previewElement.querySelectorAll("[data-dz-uploadprogress]");;){if(r>=i.length)break;var o=i[r++];"PROGRESS"===o.nodeName?o.value=e:o.style.width=e+"%"}},totaluploadprogress:function(){},sending:function(){},sendingmultiple:function(){},success:function(t){if(t.previewElement)return t.previewElement.classList.add("dz-success")},successmultiple:function(){},canceled:function(t){return this.emit("error",t,this.options.dictUploadCanceled)},canceledmultiple:function(){},complete:function(t){if(t._removeLink&&(t._removeLink.textContent=this.options.dictRemoveFile),t.previewElement)return t.previewElement.classList.add("dz-complete")},completemultiple:function(){},maxfilesexceeded:function(){},maxfilesreached:function(){},queuecomplete:function(){},addedfiles:function(){}},this.prototype._thumbnailQueue=[],this.prototype._processingThumbnail=!1}},{key:"extend",value:function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];for(var i=0,o=o=n;;){if(i>=o.length)break;var a=o[i++];for(var s in a){var c=a[s];t[s]=c}}return t}}]),i(e,[{key:"getAcceptedFiles",value:function(){return this.files.filter((function(t){return t.accepted})).map((function(t){return t}))}},{key:"getRejectedFiles",value:function(){return this.files.filter((function(t){return!t.accepted})).map((function(t){return t}))}},{key:"getFilesWithStatus",value:function(t){return this.files.filter((function(e){return e.status===t})).map((function(t){return t}))}},{key:"getQueuedFiles",value:function(){return this.getFilesWithStatus(e.QUEUED)}},{key:"getUploadingFiles",value:function(){return this.getFilesWithStatus(e.UPLOADING)}},{key:"getAddedFiles",value:function(){return this.getFilesWithStatus(e.ADDED)}},{key:"getActiveFiles",value:function(){return this.files.filter((function(t){return t.status===e.UPLOADING||t.status===e.QUEUED})).map((function(t){return t}))}},{key:"init",value:function(){var t=this;if("form"===this.element.tagName&&this.element.setAttribute("enctype","multipart/form-data"),this.element.classList.contains("dropzone")&&!this.element.querySelector(".dz-message")&&this.element.appendChild(e.createElement('<div class="dz-default dz-message"><span>'+this.options.dictDefaultMessage+"</span></div>")),this.clickableElements.length){!function e(){return t.hiddenFileInput&&t.hiddenFileInput.parentNode.removeChild(t.hiddenFileInput),t.hiddenFileInput=document.createElement("input"),t.hiddenFileInput.setAttribute("type","file"),(null===t.options.maxFiles||t.options.maxFiles>1)&&t.hiddenFileInput.setAttribute("multiple","multiple"),t.hiddenFileInput.className="dz-hidden-input",null!==t.options.acceptedFiles&&t.hiddenFileInput.setAttribute("accept",t.options.acceptedFiles),null!==t.options.capture&&t.hiddenFileInput.setAttribute("capture",t.options.capture),t.hiddenFileInput.style.visibility="hidden",t.hiddenFileInput.style.position="absolute",t.hiddenFileInput.style.top="0",t.hiddenFileInput.style.left="0",t.hiddenFileInput.style.height="0",t.hiddenFileInput.style.width="0",document.querySelector(t.options.hiddenInputContainer).appendChild(t.hiddenFileInput),t.hiddenFileInput.addEventListener("change",(function(){var n=t.hiddenFileInput.files;if(n.length)for(var r=0,i=i=n;;){if(r>=i.length)break;var o=i[r++];t.addFile(o)}return t.emit("addedfiles",n),e()}))}()}this.URL=null!==window.URL?window.URL:window.webkitURL;for(var n=0,r=r=this.events;;){if(n>=r.length)break;var i=r[n++];this.on(i,this.options[i])}this.on("uploadprogress",(function(){return t.updateTotalUploadProgress()})),this.on("removedfile",(function(){return t.updateTotalUploadProgress()})),this.on("canceled",(function(e){return t.emit("complete",e)})),this.on("complete",(function(e){if(0===t.getAddedFiles().length&&0===t.getUploadingFiles().length&&0===t.getQueuedFiles().length)return setTimeout((function(){return t.emit("queuecomplete")}),0)}));var o=function(t){return t.stopPropagation(),t.preventDefault?t.preventDefault():t.returnValue=!1};return this.listeners=[{element:this.element,events:{dragstart:function(e){return t.emit("dragstart",e)},dragenter:function(e){return o(e),t.emit("dragenter",e)},dragover:function(e){var n=void 0;try{n=e.dataTransfer.effectAllowed}catch(t){}return e.dataTransfer.dropEffect="move"===n||"linkMove"===n?"move":"copy",o(e),t.emit("dragover",e)},dragleave:function(e){return t.emit("dragleave",e)},drop:function(e){return o(e),t.drop(e)},dragend:function(e){return t.emit("dragend",e)}}}],this.clickableElements.forEach((function(n){return t.listeners.push({element:n,events:{click:function(r){return(n!==t.element||r.target===t.element||e.elementInside(r.target,t.element.querySelector(".dz-message")))&&t.hiddenFileInput.click(),!0}}})})),this.enable(),this.options.init.call(this)}},{key:"destroy",value:function(){return this.disable(),this.removeAllFiles(!0),(null!=this.hiddenFileInput?this.hiddenFileInput.parentNode:void 0)&&(this.hiddenFileInput.parentNode.removeChild(this.hiddenFileInput),this.hiddenFileInput=null),delete this.element.dropzone,e.instances.splice(e.instances.indexOf(this),1)}},{key:"updateTotalUploadProgress",value:function(){var t=void 0,e=0,n=0;if(this.getActiveFiles().length){for(var r=0,i=i=this.getActiveFiles();;){if(r>=i.length)break;var o=i[r++];e+=o.upload.bytesSent,n+=o.upload.total}t=100*e/n}else t=100;return this.emit("totaluploadprogress",t,n,e)}},{key:"_getParamName",value:function(t){return"function"==typeof this.options.paramName?this.options.paramName(t):this.options.paramName+(this.options.uploadMultiple?"["+t+"]":"")}},{key:"_renameFile",value:function(t){return"function"!=typeof this.options.renameFile?t.name:this.options.renameFile(t)}},{key:"getFallbackForm",value:function(){var t,n=void 0;if(t=this.getExistingFallback())return t;var r='<div class="dz-fallback">';this.options.dictFallbackText&&(r+="<p>"+this.options.dictFallbackText+"</p>"),r+='<input type="file" name="'+this._getParamName(0)+'" '+(this.options.uploadMultiple?'multiple="multiple"':void 0)+' /><input type="submit" value="Upload!"></div>';var i=e.createElement(r);return"FORM"!==this.element.tagName?(n=e.createElement('<form action="'+this.options.url+'" enctype="multipart/form-data" method="'+this.options.method+'"></form>')).appendChild(i):(this.element.setAttribute("enctype","multipart/form-data"),this.element.setAttribute("method",this.options.method)),null!=n?n:i}},{key:"getExistingFallback",value:function(){for(var t=function(t){for(var e=0,n=n=t;;){if(e>=n.length)break;var r=n[e++];if(/(^| )fallback($| )/.test(r.className))return r}},e=["div","form"],n=0;n<e.length;n++){var r,i=e[n];if(r=t(this.element.getElementsByTagName(i)))return r}}},{key:"setupEventListeners",value:function(){return this.listeners.map((function(t){return function(){var e=[];for(var n in t.events){var r=t.events[n];e.push(t.element.addEventListener(n,r,!1))}return e}()}))}},{key:"removeEventListeners",value:function(){return this.listeners.map((function(t){return function(){var e=[];for(var n in t.events){var r=t.events[n];e.push(t.element.removeEventListener(n,r,!1))}return e}()}))}},{key:"disable",value:function(){var t=this;return this.clickableElements.forEach((function(t){return t.classList.remove("dz-clickable")})),this.removeEventListeners(),this.disabled=!0,this.files.map((function(e){return t.cancelUpload(e)}))}},{key:"enable",value:function(){return delete this.disabled,this.clickableElements.forEach((function(t){return t.classList.add("dz-clickable")})),this.setupEventListeners()}},{key:"filesize",value:function(t){var e=0,n="b";if(t>0){for(var r=["tb","gb","mb","kb","b"],i=0;i<r.length;i++){var o=r[i];if(t>=Math.pow(this.options.filesizeBase,4-i)/10){e=t/Math.pow(this.options.filesizeBase,4-i),n=o;break}}e=Math.round(10*e)/10}return"<strong>"+e+"</strong> "+this.options.dictFileSizeUnits[n]}},{key:"_updateMaxFilesReachedClass",value:function(){return null!=this.options.maxFiles&&this.getAcceptedFiles().length>=this.options.maxFiles?(this.getAcceptedFiles().length===this.options.maxFiles&&this.emit("maxfilesreached",this.files),this.element.classList.add("dz-max-files-reached")):this.element.classList.remove("dz-max-files-reached")}},{key:"drop",value:function(t){if(t.dataTransfer){this.emit("drop",t);for(var e=[],n=0;n<t.dataTransfer.files.length;n++)e[n]=t.dataTransfer.files[n];if(this.emit("addedfiles",e),e.length){var r=t.dataTransfer.items;r&&r.length&&null!=r[0].webkitGetAsEntry?this._addFilesFromItems(r):this.handleFiles(e)}}}},{key:"paste",value:function(t){if(null!=function(t,e){return null!=t?e(t):void 0}(null!=t?t.clipboardData:void 0,(function(t){return t.items}))){this.emit("paste",t);var e=t.clipboardData.items;return e.length?this._addFilesFromItems(e):void 0}}},{key:"handleFiles",value:function(t){for(var e=0,n=n=t;;){if(e>=n.length)break;var r=n[e++];this.addFile(r)}}},{key:"_addFilesFromItems",value:function(t){var e=this;return function(){for(var n=[],r=0,i=i=t;;){if(r>=i.length)break;var o,a=i[r++];null!=a.webkitGetAsEntry&&(o=a.webkitGetAsEntry())?o.isFile?n.push(e.addFile(a.getAsFile())):o.isDirectory?n.push(e._addFilesFromDirectory(o,o.name)):n.push(void 0):null!=a.getAsFile&&(null==a.kind||"file"===a.kind)?n.push(e.addFile(a.getAsFile())):n.push(void 0)}return n}()}},{key:"_addFilesFromDirectory",value:function(t,e){var n=this,r=t.createReader(),i=function(t){return function(t,e,n){return null!=t&&"function"==typeof t[e]?n(t,e):void 0}(console,"log",(function(e){return e.log(t)}))};return function t(){return r.readEntries((function(r){if(r.length>0){for(var i=0,o=o=r;;){if(i>=o.length)break;var a=o[i++];a.isFile?a.file((function(t){if(!n.options.ignoreHiddenFiles||"."!==t.name.substring(0,1))return t.fullPath=e+"/"+t.name,n.addFile(t)})):a.isDirectory&&n._addFilesFromDirectory(a,e+"/"+a.name)}t()}return null}),i)}()}},{key:"accept",value:function(t,n){return t.size>1024*this.options.maxFilesize*1024?n(this.options.dictFileTooBig.replace("{{filesize}}",Math.round(t.size/1024/10.24)/100).replace("{{maxFilesize}}",this.options.maxFilesize)):e.isValidFile(t,this.options.acceptedFiles)?null!=this.options.maxFiles&&this.getAcceptedFiles().length>=this.options.maxFiles?(n(this.options.dictMaxFilesExceeded.replace("{{maxFiles}}",this.options.maxFiles)),this.emit("maxfilesexceeded",t)):this.options.accept.call(this,t,n):n(this.options.dictInvalidFileType)}},{key:"addFile",value:function(t){var n=this;return t.upload={uuid:e.uuidv4(),progress:0,total:t.size,bytesSent:0,filename:this._renameFile(t),chunked:this.options.chunking&&(this.options.forceChunking||t.size>this.options.chunkSize),totalChunkCount:Math.ceil(t.size/this.options.chunkSize)},this.files.push(t),t.status=e.ADDED,this.emit("addedfile",t),this._enqueueThumbnail(t),this.accept(t,(function(e){return e?(t.accepted=!1,n._errorProcessing([t],e)):(t.accepted=!0,n.options.autoQueue&&n.enqueueFile(t)),n._updateMaxFilesReachedClass()}))}},{key:"enqueueFiles",value:function(t){for(var e=0,n=n=t;;){if(e>=n.length)break;var r=n[e++];this.enqueueFile(r)}return null}},{key:"enqueueFile",value:function(t){var n=this;if(t.status!==e.ADDED||!0!==t.accepted)throw new Error("This file can't be queued because it has already been processed or was rejected.");if(t.status=e.QUEUED,this.options.autoProcessQueue)return setTimeout((function(){return n.processQueue()}),0)}},{key:"_enqueueThumbnail",value:function(t){var e=this;if(this.options.createImageThumbnails&&t.type.match(/image.*/)&&t.size<=1024*this.options.maxThumbnailFilesize*1024)return this._thumbnailQueue.push(t),setTimeout((function(){return e._processThumbnailQueue()}),0)}},{key:"_processThumbnailQueue",value:function(){var t=this;if(!this._processingThumbnail&&0!==this._thumbnailQueue.length){this._processingThumbnail=!0;var e=this._thumbnailQueue.shift();return this.createThumbnail(e,this.options.thumbnailWidth,this.options.thumbnailHeight,this.options.thumbnailMethod,!0,(function(n){return t.emit("thumbnail",e,n),t._processingThumbnail=!1,t._processThumbnailQueue()}))}}},{key:"removeFile",value:function(t){if(t.status===e.UPLOADING&&this.cancelUpload(t),this.files=l(this.files,t),this.emit("removedfile",t),0===this.files.length)return this.emit("reset")}},{key:"removeAllFiles",value:function(t){null==t&&(t=!1);for(var n=0,r=r=this.files.slice();;){if(n>=r.length)break;var i=r[n++];(i.status!==e.UPLOADING||t)&&this.removeFile(i)}return null}},{key:"resizeImage",value:function(t,n,r,i,o){var a=this;return this.createThumbnail(t,n,r,i,!1,(function(n,r){if(null==r)return o(t);var i=a.options.resizeMimeType;null==i&&(i=t.type);var s=r.toDataURL(i,a.options.resizeQuality);return"image/jpeg"!==i&&"image/jpg"!==i||(s=h.restore(t.dataURL,s)),o(e.dataURItoBlob(s))}))}},{key:"createThumbnail",value:function(t,e,n,r,i,o){var a=this,s=new FileReader;return s.onload=function(){if(t.dataURL=s.result,"image/svg+xml"!==t.type)return a.createThumbnailFromUrl(t,e,n,r,i,o);null!=o&&o(s.result)},s.readAsDataURL(t)}},{key:"createThumbnailFromUrl",value:function(t,e,n,r,i,o,a){var s=this,c=document.createElement("img");return a&&(c.crossOrigin=a),c.onload=function(){var a=function(t){return t(1)};return"undefined"!=typeof EXIF&&null!==EXIF&&i&&(a=function(t){return EXIF.getData(c,(function(){return t(EXIF.getTag(this,"Orientation"))}))}),a((function(i){t.width=c.width,t.height=c.height;var a=s.options.resize.call(s,t,e,n,r),l=document.createElement("canvas"),u=l.getContext("2d");switch(l.width=a.trgWidth,l.height=a.trgHeight,i>4&&(l.width=a.trgHeight,l.height=a.trgWidth),i){case 2:u.translate(l.width,0),u.scale(-1,1);break;case 3:u.translate(l.width,l.height),u.rotate(Math.PI);break;case 4:u.translate(0,l.height),u.scale(1,-1);break;case 5:u.rotate(.5*Math.PI),u.scale(1,-1);break;case 6:u.rotate(.5*Math.PI),u.translate(0,-l.height);break;case 7:u.rotate(.5*Math.PI),u.translate(l.width,-l.height),u.scale(-1,1);break;case 8:u.rotate(-.5*Math.PI),u.translate(-l.width,0)}f(u,c,null!=a.srcX?a.srcX:0,null!=a.srcY?a.srcY:0,a.srcWidth,a.srcHeight,null!=a.trgX?a.trgX:0,null!=a.trgY?a.trgY:0,a.trgWidth,a.trgHeight);var h=l.toDataURL("image/png");if(null!=o)return o(h,l)}))},null!=o&&(c.onerror=o),c.src=t.dataURL}},{key:"processQueue",value:function(){var t=this.options.parallelUploads,e=this.getUploadingFiles().length,n=e;if(!(e>=t)){var r=this.getQueuedFiles();if(r.length>0){if(this.options.uploadMultiple)return this.processFiles(r.slice(0,t-e));for(;n<t;){if(!r.length)return;this.processFile(r.shift()),n++}}}}},{key:"processFile",value:function(t){return this.processFiles([t])}},{key:"processFiles",value:function(t){for(var n=0,r=r=t;;){if(n>=r.length)break;var i=r[n++];i.processing=!0,i.status=e.UPLOADING,this.emit("processing",i)}return this.options.uploadMultiple&&this.emit("processingmultiple",t),this.uploadFiles(t)}},{key:"_getFilesWithXhr",value:function(t){return this.files.filter((function(e){return e.xhr===t})).map((function(t){return t}))}},{key:"cancelUpload",value:function(t){if(t.status===e.UPLOADING){for(var n=this._getFilesWithXhr(t.xhr),r=0,i=i=n;;){if(r>=i.length)break;i[r++].status=e.CANCELED}void 0!==t.xhr&&t.xhr.abort();for(var o=0,a=a=n;;){if(o>=a.length)break;var s=a[o++];this.emit("canceled",s)}this.options.uploadMultiple&&this.emit("canceledmultiple",n)}else t.status!==e.ADDED&&t.status!==e.QUEUED||(t.status=e.CANCELED,this.emit("canceled",t),this.options.uploadMultiple&&this.emit("canceledmultiple",[t]));if(this.options.autoProcessQueue)return this.processQueue()}},{key:"resolveOption",value:function(t){if("function"==typeof t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return t.apply(this,n)}return t}},{key:"uploadFile",value:function(t){return this.uploadFiles([t])}},{key:"uploadFiles",value:function(t){var n=this;this._transformFiles(t,(function(r){if(t[0].upload.chunked){var i=t[0],o=r[0];i.upload.chunks=[];var a=function(){for(var r=0;void 0!==i.upload.chunks[r];)r++;if(!(r>=i.upload.totalChunkCount)){0;var a=r*n.options.chunkSize,s=Math.min(a+n.options.chunkSize,i.size),c={name:n._getParamName(0),data:o.webkitSlice?o.webkitSlice(a,s):o.slice(a,s),filename:i.upload.filename,chunkIndex:r};i.upload.chunks[r]={file:i,index:r,dataBlock:c,status:e.UPLOADING,progress:0,retries:0},n._uploadData(t,[c])}};if(i.upload.finishedChunkUpload=function(r){var o=!0;r.status=e.SUCCESS,r.dataBlock=null;for(var s=0;s<i.upload.totalChunkCount;s++){if(void 0===i.upload.chunks[s])return a();i.upload.chunks[s].status!==e.SUCCESS&&(o=!1)}o&&n.options.chunksUploaded(i,(function(){n._finished(t,"",null)}))},n.options.parallelChunkUploads)for(var s=0;s<i.upload.totalChunkCount;s++)a();else a()}else{for(var c=[],l=0;l<t.length;l++)c[l]={name:n._getParamName(l),data:r[l],filename:t[l].upload.filename};n._uploadData(t,c)}}))}},{key:"_getChunk",value:function(t,e){for(var n=0;n<t.upload.totalChunkCount;n++)if(void 0!==t.upload.chunks[n]&&t.upload.chunks[n].xhr===e)return t.upload.chunks[n]}},{key:"_uploadData",value:function(t,n){for(var r=this,i=new XMLHttpRequest,o=0,a=a=t;;){if(o>=a.length)break;a[o++].xhr=i}t[0].upload.chunked&&(t[0].upload.chunks[n[0].chunkIndex].xhr=i);var s=this.resolveOption(this.options.method,t),c=this.resolveOption(this.options.url,t);i.open(s,c,!0),i.timeout=this.resolveOption(this.options.timeout,t),i.withCredentials=!!this.options.withCredentials,i.onload=function(e){r._finishedUploading(t,i,e)},i.onerror=function(){r._handleUploadError(t,i)},(null!=i.upload?i.upload:i).onprogress=function(e){return r._updateFilesUploadProgress(t,i,e)};var l={Accept:"application/json","Cache-Control":"no-cache","X-Requested-With":"XMLHttpRequest"};for(var u in this.options.headers&&e.extend(l,this.options.headers),l){var f=l[u];f&&i.setRequestHeader(u,f)}var h=new FormData;if(this.options.params){var d=this.options.params;for(var p in"function"==typeof d&&(d=d.call(this,t,i,t[0].upload.chunked?this._getChunk(t[0],i):null)),d){var m=d[p];h.append(p,m)}}for(var v=0,g=g=t;;){if(v>=g.length)break;var y=g[v++];this.emit("sending",y,i,h)}this.options.uploadMultiple&&this.emit("sendingmultiple",t,i,h),this._addFormElementData(h);for(var b=0;b<n.length;b++){var w=n[b];h.append(w.name,w.data,w.filename)}this.submitRequest(i,h,t)}},{key:"_transformFiles",value:function(t,e){for(var n=this,r=[],i=0,o=function(o){n.options.transformFile.call(n,t[o],(function(n){r[o]=n,++i===t.length&&e(r)}))},a=0;a<t.length;a++)o(a)}},{key:"_addFormElementData",value:function(t){if("FORM"===this.element.tagName)for(var e=0,n=n=this.element.querySelectorAll("input, textarea, select, button");;){if(e>=n.length)break;var r=n[e++],i=r.getAttribute("name"),o=r.getAttribute("type");if(o&&(o=o.toLowerCase()),null!=i)if("SELECT"===r.tagName&&r.hasAttribute("multiple"))for(var a=0,s=s=r.options;;){if(a>=s.length)break;var c=s[a++];c.selected&&t.append(i,c.value)}else(!o||"checkbox"!==o&&"radio"!==o||r.checked)&&t.append(i,r.value)}}},{key:"_updateFilesUploadProgress",value:function(t,e,n){var r=void 0;if(void 0!==n){if(r=100*n.loaded/n.total,t[0].upload.chunked){var i=t[0],o=this._getChunk(i,e);o.progress=r,o.total=n.total,o.bytesSent=n.loaded;i.upload.progress=0,i.upload.total=0,i.upload.bytesSent=0;for(var a=0;a<i.upload.totalChunkCount;a++)void 0!==i.upload.chunks[a]&&void 0!==i.upload.chunks[a].progress&&(i.upload.progress+=i.upload.chunks[a].progress,i.upload.total+=i.upload.chunks[a].total,i.upload.bytesSent+=i.upload.chunks[a].bytesSent);i.upload.progress=i.upload.progress/i.upload.totalChunkCount}else for(var s=0,c=c=t;;){if(s>=c.length)break;var l=c[s++];l.upload.progress=r,l.upload.total=n.total,l.upload.bytesSent=n.loaded}for(var u=0,f=f=t;;){if(u>=f.length)break;var h=f[u++];this.emit("uploadprogress",h,h.upload.progress,h.upload.bytesSent)}}else{var d=!0;r=100;for(var p=0,m=m=t;;){if(p>=m.length)break;var v=m[p++];100===v.upload.progress&&v.upload.bytesSent===v.upload.total||(d=!1),v.upload.progress=r,v.upload.bytesSent=v.upload.total}if(d)return;for(var g=0,y=y=t;;){if(g>=y.length)break;var b=y[g++];this.emit("uploadprogress",b,r,b.upload.bytesSent)}}}},{key:"_finishedUploading",value:function(t,n,r){var i=void 0;if(t[0].status!==e.CANCELED&&4===n.readyState){if("arraybuffer"!==n.responseType&&"blob"!==n.responseType&&(i=n.responseText,n.getResponseHeader("content-type")&&~n.getResponseHeader("content-type").indexOf("application/json")))try{i=JSON.parse(i)}catch(t){r=t,i="Invalid JSON response from server."}this._updateFilesUploadProgress(t),200<=n.status&&n.status<300?t[0].upload.chunked?t[0].upload.finishedChunkUpload(this._getChunk(t[0],n)):this._finished(t,i,r):this._handleUploadError(t,n,i)}}},{key:"_handleUploadError",value:function(t,n,r){if(t[0].status!==e.CANCELED){if(t[0].upload.chunked&&this.options.retryChunks){var i=this._getChunk(t[0],n);if(i.retries++<this.options.retryChunksLimit)return void this._uploadData(t,[i.dataBlock]);console.warn("Retried this chunk too often. Giving up.")}for(var o=0,a=a=t;;){if(o>=a.length)break;a[o++];this._errorProcessing(t,r||this.options.dictResponseError.replace("{{statusCode}}",n.status),n)}}}},{key:"submitRequest",value:function(t,e,n){t.send(e)}},{key:"_finished",value:function(t,n,r){for(var i=0,o=o=t;;){if(i>=o.length)break;var a=o[i++];a.status=e.SUCCESS,this.emit("success",a,n,r),this.emit("complete",a)}if(this.options.uploadMultiple&&(this.emit("successmultiple",t,n,r),this.emit("completemultiple",t)),this.options.autoProcessQueue)return this.processQueue()}},{key:"_errorProcessing",value:function(t,n,r){for(var i=0,o=o=t;;){if(i>=o.length)break;var a=o[i++];a.status=e.ERROR,this.emit("error",a,n,r),this.emit("complete",a)}if(this.options.uploadMultiple&&(this.emit("errormultiple",t,n,r),this.emit("completemultiple",t)),this.options.autoProcessQueue)return this.processQueue()}}],[{key:"uuidv4",value:function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(t){var e=16*Math.random()|0;return("x"===t?e:3&e|8).toString(16)}))}}]),e}(s);c.initClass(),c.version="5.4.0",c.options={},c.optionsForElement=function(t){return t.getAttribute("id")?c.options[u(t.getAttribute("id"))]:void 0},c.instances=[],c.forElement=function(t){if("string"==typeof t&&(t=document.querySelector(t)),null==(null!=t?t.dropzone:void 0))throw new Error("No Dropzone found for given element. This is probably because you're trying to access it before Dropzone had the time to initialize. Use the `init` option to setup any additional observers on your Dropzone.");return t.dropzone},c.autoDiscover=!0,c.discover=function(){var t=void 0;if(document.querySelectorAll)t=document.querySelectorAll(".dropzone");else{t=[];var e=function(e){return function(){for(var n=[],r=0,i=i=e;;){if(r>=i.length)break;var o=i[r++];/(^| )dropzone($| )/.test(o.className)?n.push(t.push(o)):n.push(void 0)}return n}()};e(document.getElementsByTagName("div")),e(document.getElementsByTagName("form"))}return function(){for(var e=[],n=0,r=r=t;;){if(n>=r.length)break;var i=r[n++];!1!==c.optionsForElement(i)?e.push(new c(i)):e.push(void 0)}return e}()},c.blacklistedBrowsers=[/opera.*(Macintosh|Windows Phone).*version\/12/i],c.isBrowserSupported=function(){var t=!0;if(window.File&&window.FileReader&&window.FileList&&window.Blob&&window.FormData&&document.querySelector)if("classList"in document.createElement("a"))for(var e=0,n=n=c.blacklistedBrowsers;;){if(e>=n.length)break;n[e++].test(navigator.userAgent)&&(t=!1)}else t=!1;else t=!1;return t},c.dataURItoBlob=function(t){for(var e=atob(t.split(",")[1]),n=t.split(",")[0].split(":")[1].split(";")[0],r=new ArrayBuffer(e.length),i=new Uint8Array(r),o=0,a=e.length,s=0<=a;s?o<=a:o>=a;s?o++:o--)i[o]=e.charCodeAt(o);return new Blob([r],{type:n})};var l=function(t,e){return t.filter((function(t){return t!==e})).map((function(t){return t}))},u=function(t){return t.replace(/[\-_](\w)/g,(function(t){return t.charAt(1).toUpperCase()}))};c.createElement=function(t){var e=document.createElement("div");return e.innerHTML=t,e.childNodes[0]},c.elementInside=function(t,e){if(t===e)return!0;for(;t=t.parentNode;)if(t===e)return!0;return!1},c.getElement=function(t,e){var n=void 0;if("string"==typeof t?n=document.querySelector(t):null!=t.nodeType&&(n=t),null==n)throw new Error("Invalid `"+e+"` option provided. Please provide a CSS selector or a plain HTML element.");return n},c.getElements=function(t,e){var n=void 0,r=void 0;if(t instanceof Array){r=[];try{for(var i=0,o=o=t;!(i>=o.length);)n=o[i++],r.push(this.getElement(n,e))}catch(t){r=null}}else if("string"==typeof t){r=[];for(var a=0,s=s=document.querySelectorAll(t);!(a>=s.length);)n=s[a++],r.push(n)}else null!=t.nodeType&&(r=[t]);if(null==r||!r.length)throw new Error("Invalid `"+e+"` option provided. Please provide a CSS selector, a plain HTML element or a list of those.");return r},c.confirm=function(t,e,n){return window.confirm(t)?e():null!=n?n():void 0},c.isValidFile=function(t,e){if(!e)return!0;e=e.split(",");for(var n=t.type,r=n.replace(/\/.*$/,""),i=0,o=o=e;;){if(i>=o.length)break;var a=o[i++];if("."===(a=a.trim()).charAt(0)){if(-1!==t.name.toLowerCase().indexOf(a.toLowerCase(),t.name.length-a.length))return!0}else if(/\/\*$/.test(a)){if(r===a.replace(/\/.*$/,""))return!0}else if(n===a)return!0}return!1},null!=r&&(r.fn.dropzone=function(t){return this.each((function(){return new c(this,t)}))}),null!==t?t.exports=c:window.Dropzone=c,c.ADDED="added",c.QUEUED="queued",c.ACCEPTED=c.QUEUED,c.UPLOADING="uploading",c.PROCESSING=c.UPLOADING,c.CANCELED="canceled",c.ERROR="error",c.SUCCESS="success";var f=function(t,e,n,r,i,o,a,s,c,l){var u=function(t){t.naturalWidth;var e=t.naturalHeight,n=document.createElement("canvas");n.width=1,n.height=e;var r=n.getContext("2d");r.drawImage(t,0,0);for(var i=r.getImageData(1,0,1,e).data,o=0,a=e,s=e;s>o;)0===i[4*(s-1)+3]?a=s:o=s,s=a+o>>1;var c=s/e;return 0===c?1:c}(e);return t.drawImage(e,n,r,i,o,a,s,c,l/u)},h=function(){function t(){a(this,t)}return i(t,null,[{key:"initClass",value:function(){this.KEY_STR="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}},{key:"encode64",value:function(t){for(var e="",n=void 0,r=void 0,i="",o=void 0,a=void 0,s=void 0,c="",l=0;o=(n=t[l++])>>2,a=(3&n)<<4|(r=t[l++])>>4,s=(15&r)<<2|(i=t[l++])>>6,c=63&i,isNaN(r)?s=c=64:isNaN(i)&&(c=64),e=e+this.KEY_STR.charAt(o)+this.KEY_STR.charAt(a)+this.KEY_STR.charAt(s)+this.KEY_STR.charAt(c),n=r=i="",o=a=s=c="",l<t.length;);return e}},{key:"restore",value:function(t,e){if(!t.match("data:image/jpeg;base64,"))return e;var n=this.decode64(t.replace("data:image/jpeg;base64,","")),r=this.slice2Segments(n),i=this.exifManipulation(e,r);return"data:image/jpeg;base64,"+this.encode64(i)}},{key:"exifManipulation",value:function(t,e){var n=this.getExifArray(e),r=this.insertExif(t,n);return new Uint8Array(r)}},{key:"getExifArray",value:function(t){for(var e=void 0,n=0;n<t.length;){if(255===(e=t[n])[0]&225===e[1])return e;n++}return[]}},{key:"insertExif",value:function(t,e){var n=t.replace("data:image/jpeg;base64,",""),r=this.decode64(n),i=r.indexOf(255,3),o=r.slice(0,i),a=r.slice(i),s=o;return s=(s=s.concat(e)).concat(a)}},{key:"slice2Segments",value:function(t){for(var e=0,n=[];;){if(255===t[e]&218===t[e+1])break;if(255===t[e]&216===t[e+1])e+=2;else{var r=e+(256*t[e+2]+t[e+3])+2,i=t.slice(e,r);n.push(i),e=r}if(e>t.length)break}return n}},{key:"decode64",value:function(t){var e=void 0,n=void 0,r="",i=void 0,o=void 0,a="",s=0,c=[];for(/[^A-Za-z0-9\+\/\=]/g.exec(t)&&console.warn("There were invalid base64 characters in the input text.\nValid base64 characters are A-Z, a-z, 0-9, '+', '/',and '='\nExpect errors in decoding."),t=t.replace(/[^A-Za-z0-9\+\/\=]/g,"");e=this.KEY_STR.indexOf(t.charAt(s++))<<2|(i=this.KEY_STR.indexOf(t.charAt(s++)))>>4,n=(15&i)<<4|(o=this.KEY_STR.indexOf(t.charAt(s++)))>>2,r=(3&o)<<6|(a=this.KEY_STR.indexOf(t.charAt(s++))),c.push(e),64!==o&&c.push(n),64!==a&&c.push(r),e=n=r="",i=o=a="",s<t.length;);return c}}]),t}();h.initClass();c._autoDiscoverFunction=function(){if(c.autoDiscover)return c.discover()},function(t,e){var n=!1,r=!0,i=t.document,o=i.documentElement,a=i.addEventListener?"addEventListener":"attachEvent",s=i.addEventListener?"removeEventListener":"detachEvent",c=i.addEventListener?"":"on",l=function r(o){if("readystatechange"!==o.type||"complete"===i.readyState)return("load"===o.type?t:i)[s](c+o.type,r,!1),!n&&(n=!0)?e.call(t,o.type||o):void 0};if("complete"!==i.readyState){if(i.createEventObject&&o.doScroll){try{r=!t.frameElement}catch(t){}r&&function t(){try{o.doScroll("left")}catch(e){return void setTimeout(t,50)}return l("poll")}()}i[a](c+"DOMContentLoaded",l,!1),i[a](c+"readystatechange",l,!1),t[a](c+"load",l,!1)}}(window,c._autoDiscoverFunction)},2702:(t,e,n)=>{var r=n(3044),i=n(6579);void 0===i.$&&(i.$=r),void 0===i.jQuery&&(i.jQuery=r),t.exports=r},6579:(t,e,n)=>{"use strict";t.exports=function(){if("object"==typeof globalThis)return globalThis;var t;try{t=this||new Function("return this")()}catch(t){if("object"==typeof window)return window;if("object"==typeof self)return self;if(void 0!==n.g)return n.g}return t}()},1496:(t,e,n)=>{"use strict";var r,i,o,a=[n(8855),n(7930),n(4200),n(3101),n(2725),n(8738)],s=-1,c=[],l=!1;function u(){r&&i&&(r=!1,i.length?c=i.concat(c):s=-1,c.length&&f())}function f(){if(!r){l=!1,r=!0;for(var t=c.length,e=setTimeout(u);t;){for(i=c,c=[];i&&++s<t;)i[s].run();s=-1,t=c.length}i=null,s=-1,r=!1,clearTimeout(e)}}for(var h=-1,d=a.length;++h<d;)if(a[h]&&a[h].test&&a[h].test()){o=a[h].install(f);break}function p(t,e){this.fun=t,this.array=e}p.prototype.run=function(){var t=this.fun,e=this.array;switch(e.length){case 0:return t();case 1:return t(e[0]);case 2:return t(e[0],e[1]);case 3:return t(e[0],e[1],e[2]);default:return t.apply(null,e)}},t.exports=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];c.push(new p(t,e)),l||r||(l=!0,o())}},3101:(t,e,n)=>{"use strict";e.test=function(){return!n.g.setImmediate&&void 0!==n.g.MessageChannel},e.install=function(t){var e=new n.g.MessageChannel;return e.port1.onmessage=t,function(){e.port2.postMessage(0)}}},4200:(t,e,n)=>{"use strict";var r=n.g.MutationObserver||n.g.WebKitMutationObserver;e.test=function(){return r},e.install=function(t){var e=0,i=new r(t),o=n.g.document.createTextNode("");return i.observe(o,{characterData:!0}),function(){o.data=e=++e%2}}},7930:(t,e,n)=>{"use strict";e.test=function(){return"function"==typeof n.g.queueMicrotask},e.install=function(t){return function(){n.g.queueMicrotask(t)}}},2725:(t,e,n)=>{"use strict";e.test=function(){return"document"in n.g&&"onreadystatechange"in n.g.document.createElement("script")},e.install=function(t){return function(){var e=n.g.document.createElement("script");return e.onreadystatechange=function(){t(),e.onreadystatechange=null,e.parentNode.removeChild(e),e=null},n.g.document.documentElement.appendChild(e),t}}},8738:(t,e)=>{"use strict";e.test=function(){return!0},e.install=function(t){return function(){setTimeout(t,0)}}},6644:(t,e,n)=>{var r,i,o;!function(a){i=[n(9432)],r=function(t){var e,n=t.validator,r="unobtrusiveValidation";function i(t,e,n){t.rules[e]=n,t.message&&(t.messages[e]=t.message)}function o(t){return t.replace(/^\s+|\s+$/g,"").split(/\s*,\s*/g)}function a(t){return t.replace(/([!"#$%&'()*+,./:;<=>?@\[\\\]^`{|}~])/g,"\\$1")}function s(t){return t.substr(0,t.lastIndexOf(".")+1)}function c(t,e){return 0===t.indexOf("*.")&&(t=t.replace("*.",e)),t}function l(e,n){var r=t(this).find("[data-valmsg-for='"+a(n[0].name)+"']"),i=r.attr("data-valmsg-replace"),o=i?!1!==t.parseJSON(i):null;r.removeClass("field-validation-valid").addClass("field-validation-error"),e.data("unobtrusiveContainer",r),o?(r.empty(),e.removeClass("input-validation-error").appendTo(r)):e.hide()}function u(e,n){var r=t(this).find("[data-valmsg-summary=true]"),i=r.find("ul");i&&i.length&&n.errorList.length&&(i.empty(),r.addClass("validation-summary-errors").removeClass("validation-summary-valid"),t.each(n.errorList,(function(){t("<li />").html(this.message).appendTo(i)})))}function f(e){var n=e.data("unobtrusiveContainer");if(n){var r=n.attr("data-valmsg-replace"),i=r?t.parseJSON(r):null;n.addClass("field-validation-valid").removeClass("field-validation-error"),e.removeData("unobtrusiveContainer"),i&&n.empty()}}function h(e){var n=t(this),r="__jquery_unobtrusive_validation_form_reset";if(!n.data(r)){n.data(r,!0);try{n.data("validator").resetForm()}finally{n.removeData(r)}n.find(".validation-summary-errors").addClass("validation-summary-valid").removeClass("validation-summary-errors"),n.find(".field-validation-error").addClass("field-validation-valid").removeClass("field-validation-error").removeData("unobtrusiveContainer").find(">*").removeData("unobtrusiveContainer")}}function d(e){var i=t(e),o=i.data(r),a=t.proxy(h,e),s=n.unobtrusive.options||{},c=function(n,r){var i=s[n];i&&t.isFunction(i)&&i.apply(e,r)};return o||(o={options:{errorClass:s.errorClass||"input-validation-error",errorElement:s.errorElement||"span",errorPlacement:function(){l.apply(e,arguments),c("errorPlacement",arguments)},invalidHandler:function(){u.apply(e,arguments),c("invalidHandler",arguments)},messages:{},rules:{},success:function(){f.apply(e,arguments),c("success",arguments)}},attachValidation:function(){i.off("reset."+r,a).on("reset."+r,a).validate(this.options)},validate:function(){return i.validate(),i.valid()}},i.data(r,o)),o}n.unobtrusive={adapters:[],parseElement:function(e,n){var r,i,o,a=t(e),s=a.parents("form")[0];s&&((r=d(s)).options.rules[e.name]=i={},r.options.messages[e.name]=o={},t.each(this.adapters,(function(){var n="data-val-"+this.name,r=a.attr(n),c={};void 0!==r&&(n+="-",t.each(this.params,(function(){c[this]=a.attr(n+this)})),this.adapt({element:e,form:s,message:r,params:c,rules:i,messages:o}))})),t.extend(i,{__dummy__:!0}),n||r.attachValidation())},parse:function(e){var r=t(e),i=r.parents().addBack().filter("form").add(r.find("form")).has("[data-val=true]");r.find("[data-val=true]").each((function(){n.unobtrusive.parseElement(this,!0)})),i.each((function(){var t=d(this);t&&t.attachValidation()}))}},(e=n.unobtrusive.adapters).add=function(t,e,n){return n||(n=e,e=[]),this.push({name:t,params:e,adapt:n}),this},e.addBool=function(t,e){return this.add(t,(function(n){i(n,e||t,!0)}))},e.addMinMax=function(t,e,n,r,o,a){return this.add(t,[o||"min",a||"max"],(function(t){var o=t.params.min,a=t.params.max;o&&a?i(t,r,[o,a]):o?i(t,e,o):a&&i(t,n,a)}))},e.addSingleVal=function(t,e,n){return this.add(t,[e||"val"],(function(r){i(r,n||t,r.params[e])}))},n.addMethod("__dummy__",(function(t,e,n){return!0})),n.addMethod("regex",(function(t,e,n){var r;return!!this.optional(e)||(r=new RegExp(n).exec(t))&&0===r.index&&r[0].length===t.length})),n.addMethod("nonalphamin",(function(t,e,n){var r;return n&&(r=(r=t.match(/\W/g))&&r.length>=n),r})),n.methods.extension?(e.addSingleVal("accept","mimtype"),e.addSingleVal("extension","extension")):e.addSingleVal("extension","extension","accept");return e.addSingleVal("regex","pattern"),e.addBool("creditcard").addBool("date").addBool("digits").addBool("email").addBool("number").addBool("url"),e.addMinMax("length","minlength","maxlength","rangelength").addMinMax("range","min","max","range"),e.addMinMax("minlength","minlength").addMinMax("maxlength","minlength","maxlength"),e.add("equalto",["other"],(function(e){var n=s(e.element.name),r=c(e.params.other,n);i(e,"equalTo",t(e.form).find(":input").filter("[name='"+a(r)+"']")[0])})),e.add("required",(function(t){"INPUT"===t.element.tagName.toUpperCase()&&"CHECKBOX"===t.element.type.toUpperCase()||i(t,"required",!0)})),e.add("remote",["url","type","additionalfields"],(function(e){var n={url:e.params.url,type:e.params.type||"GET",data:{}},r=s(e.element.name);t.each(o(e.params.additionalfields||e.element.name),(function(i,o){var s=c(o,r);n.data[s]=function(){var n=t(e.form).find(":input").filter("[name='"+a(s)+"']");return n.is(":checkbox")?n.filter(":checked").val()||n.filter(":hidden").val()||"":n.is(":radio")?n.filter(":checked").val()||"":n.val()}})),i(e,"remote",n)})),e.add("password",["min","nonalphamin","regex"],(function(t){t.params.min&&i(t,"minlength",t.params.min),t.params.nonalphamin&&i(t,"nonalphamin",t.params.nonalphamin),t.params.regex&&i(t,"regex",t.params.regex)})),e.add("fileextensions",["extensions"],(function(t){i(t,"extension",t.params.extensions)})),t((function(){n.unobtrusive.parse(document)})),n.unobtrusive},void 0===(o="function"==typeof r?r.apply(e,i):r)||(t.exports=o)}()},9432:(t,e,n)=>{var r,i,o;!function(a){i=[n(2702)],r=function(t){t.extend(t.fn,{validate:function(e){if(this.length){var n=t.data(this[0],"validator");return n||(this.attr("novalidate","novalidate"),n=new t.validator(e,this[0]),t.data(this[0],"validator",n),n.settings.onsubmit&&(this.on("click.validate",":submit",(function(e){n.submitButton=e.currentTarget,t(this).hasClass("cancel")&&(n.cancelSubmit=!0),void 0!==t(this).attr("formnovalidate")&&(n.cancelSubmit=!0)})),this.on("submit.validate",(function(e){function r(){var r,i;return n.submitButton&&(n.settings.submitHandler||n.formSubmitted)&&(r=t("<input type='hidden'/>").attr("name",n.submitButton.name).val(t(n.submitButton).val()).appendTo(n.currentForm)),!(n.settings.submitHandler&&!n.settings.debug)||(i=n.settings.submitHandler.call(n,n.currentForm,e),r&&r.remove(),void 0!==i&&i)}return n.settings.debug&&e.preventDefault(),n.cancelSubmit?(n.cancelSubmit=!1,r()):n.form()?n.pendingRequest?(n.formSubmitted=!0,!1):r():(n.focusInvalid(),!1)}))),n)}e&&e.debug&&window.console&&console.warn("Nothing selected, can't validate, returning nothing.")},valid:function(){var e,n,r;return t(this[0]).is("form")?e=this.validate().form():(r=[],e=!0,n=t(this[0].form).validate(),this.each((function(){(e=n.element(this)&&e)||(r=r.concat(n.errorList))})),n.errorList=r),e},rules:function(e,n){var r,i,o,a,s,c,l=this[0],u=void 0!==this.attr("contenteditable")&&"false"!==this.attr("contenteditable");if(null!=l&&(!l.form&&u&&(l.form=this.closest("form")[0],l.name=this.attr("name")),null!=l.form)){if(e)switch(i=(r=t.data(l.form,"validator").settings).rules,o=t.validator.staticRules(l),e){case"add":t.extend(o,t.validator.normalizeRule(n)),delete o.messages,i[l.name]=o,n.messages&&(r.messages[l.name]=t.extend(r.messages[l.name],n.messages));break;case"remove":return n?(c={},t.each(n.split(/\s/),(function(t,e){c[e]=o[e],delete o[e]})),c):(delete i[l.name],o)}return(a=t.validator.normalizeRules(t.extend({},t.validator.classRules(l),t.validator.attributeRules(l),t.validator.dataRules(l),t.validator.staticRules(l)),l)).required&&(s=a.required,delete a.required,a=t.extend({required:s},a)),a.remote&&(s=a.remote,delete a.remote,a=t.extend(a,{remote:s})),a}}});var e=function(t){return t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")};t.extend(t.expr.pseudos||t.expr[":"],{blank:function(n){return!e(""+t(n).val())},filled:function(n){var r=t(n).val();return null!==r&&!!e(""+r)},unchecked:function(e){return!t(e).prop("checked")}}),t.validator=function(e,n){this.settings=t.extend(!0,{},t.validator.defaults,e),this.currentForm=n,this.init()},t.validator.format=function(e,n){return 1===arguments.length?function(){var n=t.makeArray(arguments);return n.unshift(e),t.validator.format.apply(this,n)}:(void 0===n||(arguments.length>2&&n.constructor!==Array&&(n=t.makeArray(arguments).slice(1)),n.constructor!==Array&&(n=[n]),t.each(n,(function(t,n){e=e.replace(new RegExp("\\{"+t+"\\}","g"),(function(){return n}))}))),e)},t.extend(t.validator,{defaults:{messages:{},groups:{},rules:{},errorClass:"error",pendingClass:"pending",validClass:"valid",errorElement:"label",focusCleanup:!1,focusInvalid:!0,errorContainer:t([]),errorLabelContainer:t([]),onsubmit:!0,ignore:":hidden",ignoreTitle:!1,onfocusin:function(t){this.lastActive=t,this.settings.focusCleanup&&(this.settings.unhighlight&&this.settings.unhighlight.call(this,t,this.settings.errorClass,this.settings.validClass),this.hideThese(this.errorsFor(t)))},onfocusout:function(t){this.checkable(t)||!(t.name in this.submitted)&&this.optional(t)||this.element(t)},onkeyup:function(e,n){var r=[16,17,18,20,35,36,37,38,39,40,45,144,225];9===n.which&&""===this.elementValue(e)||-1!==t.inArray(n.keyCode,r)||(e.name in this.submitted||e.name in this.invalid)&&this.element(e)},onclick:function(t){t.name in this.submitted?this.element(t):t.parentNode.name in this.submitted&&this.element(t.parentNode)},highlight:function(e,n,r){"radio"===e.type?this.findByName(e.name).addClass(n).removeClass(r):t(e).addClass(n).removeClass(r)},unhighlight:function(e,n,r){"radio"===e.type?this.findByName(e.name).removeClass(n).addClass(r):t(e).removeClass(n).addClass(r)}},setDefaults:function(e){t.extend(t.validator.defaults,e)},messages:{required:"This field is required.",remote:"Please fix this field.",email:"Please enter a valid email address.",url:"Please enter a valid URL.",date:"Please enter a valid date.",dateISO:"Please enter a valid date (ISO).",number:"Please enter a valid number.",digits:"Please enter only digits.",equalTo:"Please enter the same value again.",maxlength:t.validator.format("Please enter no more than {0} characters."),minlength:t.validator.format("Please enter at least {0} characters."),rangelength:t.validator.format("Please enter a value between {0} and {1} characters long."),range:t.validator.format("Please enter a value between {0} and {1}."),max:t.validator.format("Please enter a value less than or equal to {0}."),min:t.validator.format("Please enter a value greater than or equal to {0}."),step:t.validator.format("Please enter a multiple of {0}.")},autoCreateRanges:!1,prototype:{init:function(){this.labelContainer=t(this.settings.errorLabelContainer),this.errorContext=this.labelContainer.length&&this.labelContainer||t(this.currentForm),this.containers=t(this.settings.errorContainer).add(this.settings.errorLabelContainer),this.submitted={},this.valueCache={},this.pendingRequest=0,this.pending={},this.invalid={},this.reset();var e,n=this.currentForm,r=this.groups={};function i(e){var r=void 0!==t(this).attr("contenteditable")&&"false"!==t(this).attr("contenteditable");if(!this.form&&r&&(this.form=t(this).closest("form")[0],this.name=t(this).attr("name")),n===this.form){var i=t.data(this.form,"validator"),o="on"+e.type.replace(/^validate/,""),a=i.settings;a[o]&&!t(this).is(a.ignore)&&a[o].call(i,this,e)}}t.each(this.settings.groups,(function(e,n){"string"==typeof n&&(n=n.split(/\s/)),t.each(n,(function(t,n){r[n]=e}))})),e=this.settings.rules,t.each(e,(function(n,r){e[n]=t.validator.normalizeRule(r)})),t(this.currentForm).on("focusin.validate focusout.validate keyup.validate",":text, [type='password'], [type='file'], select, textarea, [type='number'], [type='search'], [type='tel'], [type='url'], [type='email'], [type='datetime'], [type='date'], [type='month'], [type='week'], [type='time'], [type='datetime-local'], [type='range'], [type='color'], [type='radio'], [type='checkbox'], [contenteditable], [type='button']",i).on("click.validate","select, option, [type='radio'], [type='checkbox']",i),this.settings.invalidHandler&&t(this.currentForm).on("invalid-form.validate",this.settings.invalidHandler)},form:function(){return this.checkForm(),t.extend(this.submitted,this.errorMap),this.invalid=t.extend({},this.errorMap),this.valid()||t(this.currentForm).triggerHandler("invalid-form",[this]),this.showErrors(),this.valid()},checkForm:function(){this.prepareForm();for(var t=0,e=this.currentElements=this.elements();e[t];t++)this.check(e[t]);return this.valid()},element:function(e){var n,r,i=this.clean(e),o=this.validationTargetFor(i),a=this,s=!0;return void 0===o?delete this.invalid[i.name]:(this.prepareElement(o),this.currentElements=t(o),(r=this.groups[o.name])&&t.each(this.groups,(function(t,e){e===r&&t!==o.name&&(i=a.validationTargetFor(a.clean(a.findByName(t))))&&i.name in a.invalid&&(a.currentElements.push(i),s=a.check(i)&&s)})),n=!1!==this.check(o),s=s&&n,this.invalid[o.name]=!n,this.numberOfInvalids()||(this.toHide=this.toHide.add(this.containers)),this.showErrors(),t(e).attr("aria-invalid",!n)),s},showErrors:function(e){if(e){var n=this;t.extend(this.errorMap,e),this.errorList=t.map(this.errorMap,(function(t,e){return{message:t,element:n.findByName(e)[0]}})),this.successList=t.grep(this.successList,(function(t){return!(t.name in e)}))}this.settings.showErrors?this.settings.showErrors.call(this,this.errorMap,this.errorList):this.defaultShowErrors()},resetForm:function(){t.fn.resetForm&&t(this.currentForm).resetForm(),this.invalid={},this.submitted={},this.prepareForm(),this.hideErrors();var e=this.elements().removeData("previousValue").removeAttr("aria-invalid");this.resetElements(e)},resetElements:function(t){var e;if(this.settings.unhighlight)for(e=0;t[e];e++)this.settings.unhighlight.call(this,t[e],this.settings.errorClass,""),this.findByName(t[e].name).removeClass(this.settings.validClass);else t.removeClass(this.settings.errorClass).removeClass(this.settings.validClass)},numberOfInvalids:function(){return this.objectLength(this.invalid)},objectLength:function(t){var e,n=0;for(e in t)void 0!==t[e]&&null!==t[e]&&!1!==t[e]&&n++;return n},hideErrors:function(){this.hideThese(this.toHide)},hideThese:function(t){t.not(this.containers).text(""),this.addWrapper(t).hide()},valid:function(){return 0===this.size()},size:function(){return this.errorList.length},focusInvalid:function(){if(this.settings.focusInvalid)try{t(this.findLastActive()||this.errorList.length&&this.errorList[0].element||[]).filter(":visible").trigger("focus").trigger("focusin")}catch(t){}},findLastActive:function(){var e=this.lastActive;return e&&1===t.grep(this.errorList,(function(t){return t.element.name===e.name})).length&&e},elements:function(){var e=this,n={};return t(this.currentForm).find("input, select, textarea, [contenteditable]").not(":submit, :reset, :image, :disabled").not(this.settings.ignore).filter((function(){var r=this.name||t(this).attr("name"),i=void 0!==t(this).attr("contenteditable")&&"false"!==t(this).attr("contenteditable");return!r&&e.settings.debug&&window.console&&console.error("%o has no name assigned",this),i&&(this.form=t(this).closest("form")[0],this.name=r),this.form===e.currentForm&&(!(r in n||!e.objectLength(t(this).rules()))&&(n[r]=!0,!0))}))},clean:function(e){return t(e)[0]},errors:function(){var e=this.settings.errorClass.split(" ").join(".");return t(this.settings.errorElement+"."+e,this.errorContext)},resetInternals:function(){this.successList=[],this.errorList=[],this.errorMap={},this.toShow=t([]),this.toHide=t([])},reset:function(){this.resetInternals(),this.currentElements=t([])},prepareForm:function(){this.reset(),this.toHide=this.errors().add(this.containers)},prepareElement:function(t){this.reset(),this.toHide=this.errorsFor(t)},elementValue:function(e){var n,r,i=t(e),o=e.type,a=void 0!==i.attr("contenteditable")&&"false"!==i.attr("contenteditable");return"radio"===o||"checkbox"===o?this.findByName(e.name).filter(":checked").val():"number"===o&&void 0!==e.validity?e.validity.badInput?"NaN":i.val():(n=a?i.text():i.val(),"file"===o?"C:\\fakepath\\"===n.substr(0,12)?n.substr(12):(r=n.lastIndexOf("/"))>=0||(r=n.lastIndexOf("\\"))>=0?n.substr(r+1):n:"string"==typeof n?n.replace(/\r/g,""):n)},check:function(e){e=this.validationTargetFor(this.clean(e));var n,r,i,o,a=t(e).rules(),s=t.map(a,(function(t,e){return e})).length,c=!1,l=this.elementValue(e);for(r in"function"==typeof a.normalizer?o=a.normalizer:"function"==typeof this.settings.normalizer&&(o=this.settings.normalizer),o&&(l=o.call(e,l),delete a.normalizer),a){i={method:r,parameters:a[r]};try{if("dependency-mismatch"===(n=t.validator.methods[r].call(this,l,e,i.parameters))&&1===s){c=!0;continue}if(c=!1,"pending"===n)return void(this.toHide=this.toHide.not(this.errorsFor(e)));if(!n)return this.formatAndAdd(e,i),!1}catch(t){throw this.settings.debug&&window.console&&(e.id,i.method),t instanceof TypeError&&(t.message+=".  Exception occurred when checking element "+e.id+", check the '"+i.method+"' method."),t}}if(!c)return this.objectLength(a)&&this.successList.push(e),!0},customDataMessage:function(e,n){return t(e).data("msg"+n.charAt(0).toUpperCase()+n.substring(1).toLowerCase())||t(e).data("msg")},customMessage:function(t,e){var n=this.settings.messages[t];return n&&(n.constructor===String?n:n[e])},findDefined:function(){for(var t=0;t<arguments.length;t++)if(void 0!==arguments[t])return arguments[t]},defaultMessage:function(e,n){"string"==typeof n&&(n={method:n});var r=this.findDefined(this.customMessage(e.name,n.method),this.customDataMessage(e,n.method),!this.settings.ignoreTitle&&e.title||void 0,t.validator.messages[n.method],"<strong>Warning: No message defined for "+e.name+"</strong>"),i=/\$?\{(\d+)\}/g;return"function"==typeof r?r=r.call(this,n.parameters,e):i.test(r)&&(r=t.validator.format(r.replace(i,"{$1}"),n.parameters)),r},formatAndAdd:function(t,e){var n=this.defaultMessage(t,e);this.errorList.push({message:n,element:t,method:e.method}),this.errorMap[t.name]=n,this.submitted[t.name]=n},addWrapper:function(t){return this.settings.wrapper&&(t=t.add(t.parent(this.settings.wrapper))),t},defaultShowErrors:function(){var t,e,n;for(t=0;this.errorList[t];t++)n=this.errorList[t],this.settings.highlight&&this.settings.highlight.call(this,n.element,this.settings.errorClass,this.settings.validClass),this.showLabel(n.element,n.message);if(this.errorList.length&&(this.toShow=this.toShow.add(this.containers)),this.settings.success)for(t=0;this.successList[t];t++)this.showLabel(this.successList[t]);if(this.settings.unhighlight)for(t=0,e=this.validElements();e[t];t++)this.settings.unhighlight.call(this,e[t],this.settings.errorClass,this.settings.validClass);this.toHide=this.toHide.not(this.toShow),this.hideErrors(),this.addWrapper(this.toShow).show()},validElements:function(){return this.currentElements.not(this.invalidElements())},invalidElements:function(){return t(this.errorList).map((function(){return this.element}))},showLabel:function(e,n){var r,i,o,a,s=this.errorsFor(e),c=this.idOrName(e),l=t(e).attr("aria-describedby");s.length?(s.removeClass(this.settings.validClass).addClass(this.settings.errorClass),s.html(n)):(r=s=t("<"+this.settings.errorElement+">").attr("id",c+"-error").addClass(this.settings.errorClass).html(n||""),this.settings.wrapper&&(r=s.hide().show().wrap("<"+this.settings.wrapper+"/>").parent()),this.labelContainer.length?this.labelContainer.append(r):this.settings.errorPlacement?this.settings.errorPlacement.call(this,r,t(e)):r.insertAfter(e),s.is("label")?s.attr("for",c):0===s.parents("label[for='"+this.escapeCssMeta(c)+"']").length&&(o=s.attr("id"),l?l.match(new RegExp("\\b"+this.escapeCssMeta(o)+"\\b"))||(l+=" "+o):l=o,t(e).attr("aria-describedby",l),(i=this.groups[e.name])&&(a=this,t.each(a.groups,(function(e,n){n===i&&t("[name='"+a.escapeCssMeta(e)+"']",a.currentForm).attr("aria-describedby",s.attr("id"))}))))),!n&&this.settings.success&&(s.text(""),"string"==typeof this.settings.success?s.addClass(this.settings.success):this.settings.success(s,e)),this.toShow=this.toShow.add(s)},errorsFor:function(e){var n=this.escapeCssMeta(this.idOrName(e)),r=t(e).attr("aria-describedby"),i="label[for='"+n+"'], label[for='"+n+"'] *";return r&&(i=i+", #"+this.escapeCssMeta(r).replace(/\s+/g,", #")),this.errors().filter(i)},escapeCssMeta:function(t){return void 0===t?"":t.replace(/([\\!"#$%&'()*+,./:;<=>?@\[\]^`{|}~])/g,"\\$1")},idOrName:function(t){return this.groups[t.name]||(this.checkable(t)?t.name:t.id||t.name)},validationTargetFor:function(e){return this.checkable(e)&&(e=this.findByName(e.name)),t(e).not(this.settings.ignore)[0]},checkable:function(t){return/radio|checkbox/i.test(t.type)},findByName:function(e){return t(this.currentForm).find("[name='"+this.escapeCssMeta(e)+"']")},getLength:function(e,n){switch(n.nodeName.toLowerCase()){case"select":return t("option:selected",n).length;case"input":if(this.checkable(n))return this.findByName(n.name).filter(":checked").length}return e.length},depend:function(t,e){return!this.dependTypes[typeof t]||this.dependTypes[typeof t](t,e)},dependTypes:{boolean:function(t){return t},string:function(e,n){return!!t(e,n.form).length},function:function(t,e){return t(e)}},optional:function(e){var n=this.elementValue(e);return!t.validator.methods.required.call(this,n,e)&&"dependency-mismatch"},startRequest:function(e){this.pending[e.name]||(this.pendingRequest++,t(e).addClass(this.settings.pendingClass),this.pending[e.name]=!0)},stopRequest:function(e,n){this.pendingRequest--,this.pendingRequest<0&&(this.pendingRequest=0),delete this.pending[e.name],t(e).removeClass(this.settings.pendingClass),n&&0===this.pendingRequest&&this.formSubmitted&&this.form()&&0===this.pendingRequest?(t(this.currentForm).trigger("submit"),this.submitButton&&t("input:hidden[name='"+this.submitButton.name+"']",this.currentForm).remove(),this.formSubmitted=!1):!n&&0===this.pendingRequest&&this.formSubmitted&&(t(this.currentForm).triggerHandler("invalid-form",[this]),this.formSubmitted=!1)},previousValue:function(e,n){return n="string"==typeof n&&n||"remote",t.data(e,"previousValue")||t.data(e,"previousValue",{old:null,valid:!0,message:this.defaultMessage(e,{method:n})})},destroy:function(){this.resetForm(),t(this.currentForm).off(".validate").removeData("validator").find(".validate-equalTo-blur").off(".validate-equalTo").removeClass("validate-equalTo-blur").find(".validate-lessThan-blur").off(".validate-lessThan").removeClass("validate-lessThan-blur").find(".validate-lessThanEqual-blur").off(".validate-lessThanEqual").removeClass("validate-lessThanEqual-blur").find(".validate-greaterThanEqual-blur").off(".validate-greaterThanEqual").removeClass("validate-greaterThanEqual-blur").find(".validate-greaterThan-blur").off(".validate-greaterThan").removeClass("validate-greaterThan-blur")}},classRuleSettings:{required:{required:!0},email:{email:!0},url:{url:!0},date:{date:!0},dateISO:{dateISO:!0},number:{number:!0},digits:{digits:!0},creditcard:{creditcard:!0}},addClassRules:function(e,n){e.constructor===String?this.classRuleSettings[e]=n:t.extend(this.classRuleSettings,e)},classRules:function(e){var n={},r=t(e).attr("class");return r&&t.each(r.split(" "),(function(){this in t.validator.classRuleSettings&&t.extend(n,t.validator.classRuleSettings[this])})),n},normalizeAttributeRule:function(t,e,n,r){/min|max|step/.test(n)&&(null===e||/number|range|text/.test(e))&&(r=Number(r),isNaN(r)&&(r=void 0)),r||0===r?t[n]=r:e===n&&"range"!==e&&(t["date"===e?"dateISO":n]=!0)},attributeRules:function(e){var n,r,i={},o=t(e),a=e.getAttribute("type");for(n in t.validator.methods)"required"===n?(""===(r=e.getAttribute(n))&&(r=!0),r=!!r):r=o.attr(n),this.normalizeAttributeRule(i,a,n,r);return i.maxlength&&/-1|2147483647|524288/.test(i.maxlength)&&delete i.maxlength,i},dataRules:function(e){var n,r,i={},o=t(e),a=e.getAttribute("type");for(n in t.validator.methods)""===(r=o.data("rule"+n.charAt(0).toUpperCase()+n.substring(1).toLowerCase()))&&(r=!0),this.normalizeAttributeRule(i,a,n,r);return i},staticRules:function(e){var n={},r=t.data(e.form,"validator");return r.settings.rules&&(n=t.validator.normalizeRule(r.settings.rules[e.name])||{}),n},normalizeRules:function(e,n){return t.each(e,(function(r,i){if(!1!==i){if(i.param||i.depends){var o=!0;switch(typeof i.depends){case"string":o=!!t(i.depends,n.form).length;break;case"function":o=i.depends.call(n,n)}o?e[r]=void 0===i.param||i.param:(t.data(n.form,"validator").resetElements(t(n)),delete e[r])}}else delete e[r]})),t.each(e,(function(t,r){e[t]="function"==typeof r&&"normalizer"!==t?r(n):r})),t.each(["minlength","maxlength"],(function(){e[this]&&(e[this]=Number(e[this]))})),t.each(["rangelength","range"],(function(){var t;e[this]&&(Array.isArray(e[this])?e[this]=[Number(e[this][0]),Number(e[this][1])]:"string"==typeof e[this]&&(t=e[this].replace(/[\[\]]/g,"").split(/[\s,]+/),e[this]=[Number(t[0]),Number(t[1])]))})),t.validator.autoCreateRanges&&(null!=e.min&&null!=e.max&&(e.range=[e.min,e.max],delete e.min,delete e.max),null!=e.minlength&&null!=e.maxlength&&(e.rangelength=[e.minlength,e.maxlength],delete e.minlength,delete e.maxlength)),e},normalizeRule:function(e){if("string"==typeof e){var n={};t.each(e.split(/\s/),(function(){n[this]=!0})),e=n}return e},addMethod:function(e,n,r){t.validator.methods[e]=n,t.validator.messages[e]=void 0!==r?r:t.validator.messages[e],n.length<3&&t.validator.addClassRules(e,t.validator.normalizeRule(e))},methods:{required:function(e,n,r){if(!this.depend(r,n))return"dependency-mismatch";if("select"===n.nodeName.toLowerCase()){var i=t(n).val();return i&&i.length>0}return this.checkable(n)?this.getLength(e,n)>0:null!=e&&e.length>0},email:function(t,e){return this.optional(e)||/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/.test(t)},url:function(t,e){return this.optional(e)||/^(?:(?:(?:https?|ftp):)?\/\/)(?:(?:[^\]\[?\/<~#`!@$^&*()+=}|:";',>{ ]|%[0-9A-Fa-f]{2})+(?::(?:[^\]\[?\/<~#`!@$^&*()+=}|:";',>{ ]|%[0-9A-Fa-f]{2})*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z0-9\u00a1-\uffff][a-z0-9\u00a1-\uffff_-]{0,62})?[a-z0-9\u00a1-\uffff]\.)+(?:[a-z\u00a1-\uffff]{2,}\.?))(?::\d{2,5})?(?:[/?#]\S*)?$/i.test(t)},date:function(){var t=!1;return function(e,n){return t||(t=!0,this.settings.debug&&window.console&&console.warn("The `date` method is deprecated and will be removed in version '2.0.0'.\nPlease don't use it, since it relies on the Date constructor, which\nbehaves very differently across browsers and locales. Use `dateISO`\ninstead or one of the locale specific methods in `localizations/`\nand `additional-methods.js`.")),this.optional(n)||!/Invalid|NaN/.test(new Date(e).toString())}}(),dateISO:function(t,e){return this.optional(e)||/^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])$/.test(t)},number:function(t,e){return this.optional(e)||/^(?:-?\d+|-?\d{1,3}(?:,\d{3})+)?(?:\.\d+)?$/.test(t)},digits:function(t,e){return this.optional(e)||/^\d+$/.test(t)},minlength:function(t,e,n){var r=Array.isArray(t)?t.length:this.getLength(t,e);return this.optional(e)||r>=n},maxlength:function(t,e,n){var r=Array.isArray(t)?t.length:this.getLength(t,e);return this.optional(e)||r<=n},rangelength:function(t,e,n){var r=Array.isArray(t)?t.length:this.getLength(t,e);return this.optional(e)||r>=n[0]&&r<=n[1]},min:function(t,e,n){return this.optional(e)||t>=n},max:function(t,e,n){return this.optional(e)||t<=n},range:function(t,e,n){return this.optional(e)||t>=n[0]&&t<=n[1]},step:function(e,n,r){var i,o=t(n).attr("type"),a="Step attribute on input type "+o+" is not supported.",s=["text","number","range"],c=new RegExp("\\b"+o+"\\b"),l=function(t){var e=(""+t).match(/(?:\.(\d+))?$/);return e&&e[1]?e[1].length:0},u=function(t){return Math.round(t*Math.pow(10,i))},f=!0;if(o&&!c.test(s.join()))throw new Error(a);return i=l(r),(l(e)>i||u(e)%u(r)!=0)&&(f=!1),this.optional(n)||f},equalTo:function(e,n,r){var i=t(r);return this.settings.onfocusout&&i.not(".validate-equalTo-blur").length&&i.addClass("validate-equalTo-blur").on("blur.validate-equalTo",(function(){t(n).valid()})),e===i.val()},remote:function(e,n,r,i){if(this.optional(n))return"dependency-mismatch";i="string"==typeof i&&i||"remote";var o,a,s,c=this.previousValue(n,i);return this.settings.messages[n.name]||(this.settings.messages[n.name]={}),c.originalMessage=c.originalMessage||this.settings.messages[n.name][i],this.settings.messages[n.name][i]=c.message,r="string"==typeof r&&{url:r}||r,s=t.param(t.extend({data:e},r.data)),c.old===s?c.valid:(c.old=s,o=this,this.startRequest(n),(a={})[n.name]=e,t.ajax(t.extend(!0,{mode:"abort",port:"validate"+n.name,dataType:"json",data:a,context:o.currentForm,success:function(t){var r,a,s,l=!0===t||"true"===t;o.settings.messages[n.name][i]=c.originalMessage,l?(s=o.formSubmitted,o.resetInternals(),o.toHide=o.errorsFor(n),o.formSubmitted=s,o.successList.push(n),o.invalid[n.name]=!1,o.showErrors()):(r={},a=t||o.defaultMessage(n,{method:i,parameters:e}),r[n.name]=c.message=a,o.invalid[n.name]=!0,o.showErrors(r)),c.valid=l,o.stopRequest(n,l)}},r)),"pending")}}});var n,r={};t.ajaxPrefilter?t.ajaxPrefilter((function(t,e,n){var i=t.port;"abort"===t.mode&&(r[i]&&r[i].abort(),r[i]=n)})):(n=t.ajax,t.ajax=function(e){var i=("mode"in e?e:t.ajaxSettings).mode,o=("port"in e?e:t.ajaxSettings).port;return"abort"===i?(r[o]&&r[o].abort(),r[o]=n.apply(this,arguments),r[o]):n.apply(this,arguments)});return t},void 0===(o="function"==typeof r?r.apply(e,i):r)||(t.exports=o)}()},3044:function(t,e){var n;!function(e,n){"use strict";"object"==typeof t.exports?t.exports=e.document?n(e,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return n(t)}:n(e)}("undefined"!=typeof window?window:this,(function(r,i){"use strict";var o=[],a=Object.getPrototypeOf,s=o.slice,c=o.flat?function(t){return o.flat.call(t)}:function(t){return o.concat.apply([],t)},l=o.push,u=o.indexOf,f={},h=f.toString,d=f.hasOwnProperty,p=d.toString,m=p.call(Object),v={},g=function(t){return"function"==typeof t&&"number"!=typeof t.nodeType&&"function"!=typeof t.item},y=function(t){return null!=t&&t===t.window},b=r.document,w={type:!0,src:!0,nonce:!0,noModule:!0};function _(t,e,n){var r,i,o=(n=n||b).createElement("script");if(o.text=t,e)for(r in w)(i=e[r]||e.getAttribute&&e.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function x(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?f[h.call(t)]||"object":typeof t}var k="3.6.4",O=function(t,e){return new O.fn.init(t,e)};function C(t){var e=!!t&&"length"in t&&t.length,n=x(t);return!g(t)&&!y(t)&&("array"===n||0===e||"number"==typeof e&&e>0&&e-1 in t)}O.fn=O.prototype={jquery:k,constructor:O,length:0,toArray:function(){return s.call(this)},get:function(t){return null==t?s.call(this):t<0?this[t+this.length]:this[t]},pushStack:function(t){var e=O.merge(this.constructor(),t);return e.prevObject=this,e},each:function(t){return O.each(this,t)},map:function(t){return this.pushStack(O.map(this,(function(e,n){return t.call(e,n,e)})))},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(O.grep(this,(function(t,e){return(e+1)%2})))},odd:function(){return this.pushStack(O.grep(this,(function(t,e){return e%2})))},eq:function(t){var e=this.length,n=+t+(t<0?e:0);return this.pushStack(n>=0&&n<e?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:l,sort:o.sort,splice:o.splice},O.extend=O.fn.extend=function(){var t,e,n,r,i,o,a=arguments[0]||{},s=1,c=arguments.length,l=!1;for("boolean"==typeof a&&(l=a,a=arguments[s]||{},s++),"object"==typeof a||g(a)||(a={}),s===c&&(a=this,s--);s<c;s++)if(null!=(t=arguments[s]))for(e in t)r=t[e],"__proto__"!==e&&a!==r&&(l&&r&&(O.isPlainObject(r)||(i=Array.isArray(r)))?(n=a[e],o=i&&!Array.isArray(n)?[]:i||O.isPlainObject(n)?n:{},i=!1,a[e]=O.extend(l,o,r)):void 0!==r&&(a[e]=r));return a},O.extend({expando:"jQuery"+(k+Math.random()).replace(/\D/g,""),isReady:!0,error:function(t){throw new Error(t)},noop:function(){},isPlainObject:function(t){var e,n;return!(!t||"[object Object]"!==h.call(t))&&(!(e=a(t))||"function"==typeof(n=d.call(e,"constructor")&&e.constructor)&&p.call(n)===m)},isEmptyObject:function(t){var e;for(e in t)return!1;return!0},globalEval:function(t,e,n){_(t,{nonce:e&&e.nonce},n)},each:function(t,e){var n,r=0;if(C(t))for(n=t.length;r<n&&!1!==e.call(t[r],r,t[r]);r++);else for(r in t)if(!1===e.call(t[r],r,t[r]))break;return t},makeArray:function(t,e){var n=e||[];return null!=t&&(C(Object(t))?O.merge(n,"string"==typeof t?[t]:t):l.call(n,t)),n},inArray:function(t,e,n){return null==e?-1:u.call(e,t,n)},merge:function(t,e){for(var n=+e.length,r=0,i=t.length;r<n;r++)t[i++]=e[r];return t.length=i,t},grep:function(t,e,n){for(var r=[],i=0,o=t.length,a=!n;i<o;i++)!e(t[i],i)!==a&&r.push(t[i]);return r},map:function(t,e,n){var r,i,o=0,a=[];if(C(t))for(r=t.length;o<r;o++)null!=(i=e(t[o],o,n))&&a.push(i);else for(o in t)null!=(i=e(t[o],o,n))&&a.push(i);return c(a)},guid:1,support:v}),"function"==typeof Symbol&&(O.fn[Symbol.iterator]=o[Symbol.iterator]),O.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),(function(t,e){f["[object "+e+"]"]=e.toLowerCase()}));var S=function(t){var e,n,r,i,o,a,s,c,l,u,f,h,d,p,m,v,g,y,b,w="sizzle"+1*new Date,_=t.document,x=0,k=0,O=ct(),C=ct(),S=ct(),E=ct(),T=function(t,e){return t===e&&(f=!0),0},P={}.hasOwnProperty,A=[],j=A.pop,D=A.push,M=A.push,R=A.slice,I=function(t,e){for(var n=0,r=t.length;n<r;n++)if(t[n]===e)return n;return-1},N="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",L="[\\x20\\t\\r\\n\\f]",$="(?:\\\\[\\da-fA-F]{1,6}"+L+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",F="\\["+L+"*("+$+")(?:"+L+"*([*^$|!~]?=)"+L+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+$+"))|)"+L+"*\\]",B=":("+$+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+F+")*)|.*)\\)|)",z=new RegExp(L+"+","g"),H=new RegExp("^"+L+"+|((?:^|[^\\\\])(?:\\\\.)*)"+L+"+$","g"),U=new RegExp("^"+L+"*,"+L+"*"),q=new RegExp("^"+L+"*([>+~]|"+L+")"+L+"*"),W=new RegExp(L+"|>"),V=new RegExp(B),Z=new RegExp("^"+$+"$"),Y={ID:new RegExp("^#("+$+")"),CLASS:new RegExp("^\\.("+$+")"),TAG:new RegExp("^("+$+"|[*])"),ATTR:new RegExp("^"+F),PSEUDO:new RegExp("^"+B),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+L+"*(even|odd|(([+-]|)(\\d*)n|)"+L+"*(?:([+-]|)"+L+"*(\\d+)|))"+L+"*\\)|)","i"),bool:new RegExp("^(?:"+N+")$","i"),needsContext:new RegExp("^"+L+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+L+"*((?:-\\d)?\\d*)"+L+"*\\)|)(?=[^-]|$)","i")},X=/HTML$/i,K=/^(?:input|select|textarea|button)$/i,G=/^h\d$/i,Q=/^[^{]+\{\s*\[native \w/,J=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,tt=/[+~]/,et=new RegExp("\\\\[\\da-fA-F]{1,6}"+L+"?|\\\\([^\\r\\n\\f])","g"),nt=function(t,e){var n="0x"+t.slice(1)-65536;return e||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},rt=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,it=function(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t},ot=function(){h()},at=wt((function(t){return!0===t.disabled&&"fieldset"===t.nodeName.toLowerCase()}),{dir:"parentNode",next:"legend"});try{M.apply(A=R.call(_.childNodes),_.childNodes),A[_.childNodes.length].nodeType}catch(t){M={apply:A.length?function(t,e){D.apply(t,R.call(e))}:function(t,e){for(var n=t.length,r=0;t[n++]=e[r++];);t.length=n-1}}}function st(t,e,r,i){var o,s,l,u,f,p,g,y=e&&e.ownerDocument,_=e?e.nodeType:9;if(r=r||[],"string"!=typeof t||!t||1!==_&&9!==_&&11!==_)return r;if(!i&&(h(e),e=e||d,m)){if(11!==_&&(f=J.exec(t)))if(o=f[1]){if(9===_){if(!(l=e.getElementById(o)))return r;if(l.id===o)return r.push(l),r}else if(y&&(l=y.getElementById(o))&&b(e,l)&&l.id===o)return r.push(l),r}else{if(f[2])return M.apply(r,e.getElementsByTagName(t)),r;if((o=f[3])&&n.getElementsByClassName&&e.getElementsByClassName)return M.apply(r,e.getElementsByClassName(o)),r}if(n.qsa&&!E[t+" "]&&(!v||!v.test(t))&&(1!==_||"object"!==e.nodeName.toLowerCase())){if(g=t,y=e,1===_&&(W.test(t)||q.test(t))){for((y=tt.test(t)&&gt(e.parentNode)||e)===e&&n.scope||((u=e.getAttribute("id"))?u=u.replace(rt,it):e.setAttribute("id",u=w)),s=(p=a(t)).length;s--;)p[s]=(u?"#"+u:":scope")+" "+bt(p[s]);g=p.join(",")}try{return M.apply(r,y.querySelectorAll(g)),r}catch(e){E(t,!0)}finally{u===w&&e.removeAttribute("id")}}}return c(t.replace(H,"$1"),e,r,i)}function ct(){var t=[];return function e(n,i){return t.push(n+" ")>r.cacheLength&&delete e[t.shift()],e[n+" "]=i}}function lt(t){return t[w]=!0,t}function ut(t){var e=d.createElement("fieldset");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function ft(t,e){for(var n=t.split("|"),i=n.length;i--;)r.attrHandle[n[i]]=e}function ht(t,e){var n=e&&t,r=n&&1===t.nodeType&&1===e.nodeType&&t.sourceIndex-e.sourceIndex;if(r)return r;if(n)for(;n=n.nextSibling;)if(n===e)return-1;return t?1:-1}function dt(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function pt(t){return function(e){var n=e.nodeName.toLowerCase();return("input"===n||"button"===n)&&e.type===t}}function mt(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&at(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function vt(t){return lt((function(e){return e=+e,lt((function(n,r){for(var i,o=t([],n.length,e),a=o.length;a--;)n[i=o[a]]&&(n[i]=!(r[i]=n[i]))}))}))}function gt(t){return t&&void 0!==t.getElementsByTagName&&t}for(e in n=st.support={},o=st.isXML=function(t){var e=t&&t.namespaceURI,n=t&&(t.ownerDocument||t).documentElement;return!X.test(e||n&&n.nodeName||"HTML")},h=st.setDocument=function(t){var e,i,a=t?t.ownerDocument||t:_;return a!=d&&9===a.nodeType&&a.documentElement?(p=(d=a).documentElement,m=!o(d),_!=d&&(i=d.defaultView)&&i.top!==i&&(i.addEventListener?i.addEventListener("unload",ot,!1):i.attachEvent&&i.attachEvent("onunload",ot)),n.scope=ut((function(t){return p.appendChild(t).appendChild(d.createElement("div")),void 0!==t.querySelectorAll&&!t.querySelectorAll(":scope fieldset div").length})),n.cssHas=ut((function(){try{return d.querySelector(":has(*,:jqfake)"),!1}catch(t){return!0}})),n.attributes=ut((function(t){return t.className="i",!t.getAttribute("className")})),n.getElementsByTagName=ut((function(t){return t.appendChild(d.createComment("")),!t.getElementsByTagName("*").length})),n.getElementsByClassName=Q.test(d.getElementsByClassName),n.getById=ut((function(t){return p.appendChild(t).id=w,!d.getElementsByName||!d.getElementsByName(w).length})),n.getById?(r.filter.ID=function(t){var e=t.replace(et,nt);return function(t){return t.getAttribute("id")===e}},r.find.ID=function(t,e){if(void 0!==e.getElementById&&m){var n=e.getElementById(t);return n?[n]:[]}}):(r.filter.ID=function(t){var e=t.replace(et,nt);return function(t){var n=void 0!==t.getAttributeNode&&t.getAttributeNode("id");return n&&n.value===e}},r.find.ID=function(t,e){if(void 0!==e.getElementById&&m){var n,r,i,o=e.getElementById(t);if(o){if((n=o.getAttributeNode("id"))&&n.value===t)return[o];for(i=e.getElementsByName(t),r=0;o=i[r++];)if((n=o.getAttributeNode("id"))&&n.value===t)return[o]}return[]}}),r.find.TAG=n.getElementsByTagName?function(t,e){return void 0!==e.getElementsByTagName?e.getElementsByTagName(t):n.qsa?e.querySelectorAll(t):void 0}:function(t,e){var n,r=[],i=0,o=e.getElementsByTagName(t);if("*"===t){for(;n=o[i++];)1===n.nodeType&&r.push(n);return r}return o},r.find.CLASS=n.getElementsByClassName&&function(t,e){if(void 0!==e.getElementsByClassName&&m)return e.getElementsByClassName(t)},g=[],v=[],(n.qsa=Q.test(d.querySelectorAll))&&(ut((function(t){var e;p.appendChild(t).innerHTML="<a id='"+w+"'></a><select id='"+w+"-\r\\' msallowcapture=''><option selected=''></option></select>",t.querySelectorAll("[msallowcapture^='']").length&&v.push("[*^$]="+L+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||v.push("\\["+L+"*(?:value|"+N+")"),t.querySelectorAll("[id~="+w+"-]").length||v.push("~="),(e=d.createElement("input")).setAttribute("name",""),t.appendChild(e),t.querySelectorAll("[name='']").length||v.push("\\["+L+"*name"+L+"*="+L+"*(?:''|\"\")"),t.querySelectorAll(":checked").length||v.push(":checked"),t.querySelectorAll("a#"+w+"+*").length||v.push(".#.+[+~]"),t.querySelectorAll("\\\f"),v.push("[\\r\\n\\f]")})),ut((function(t){t.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var e=d.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&v.push("name"+L+"*[*^$|!~]?="),2!==t.querySelectorAll(":enabled").length&&v.push(":enabled",":disabled"),p.appendChild(t).disabled=!0,2!==t.querySelectorAll(":disabled").length&&v.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),v.push(",.*:")}))),(n.matchesSelector=Q.test(y=p.matches||p.webkitMatchesSelector||p.mozMatchesSelector||p.oMatchesSelector||p.msMatchesSelector))&&ut((function(t){n.disconnectedMatch=y.call(t,"*"),y.call(t,"[s!='']:x"),g.push("!=",B)})),n.cssHas||v.push(":has"),v=v.length&&new RegExp(v.join("|")),g=g.length&&new RegExp(g.join("|")),e=Q.test(p.compareDocumentPosition),b=e||Q.test(p.contains)?function(t,e){var n=9===t.nodeType&&t.documentElement||t,r=e&&e.parentNode;return t===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):t.compareDocumentPosition&&16&t.compareDocumentPosition(r)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},T=e?function(t,e){if(t===e)return f=!0,0;var r=!t.compareDocumentPosition-!e.compareDocumentPosition;return r||(1&(r=(t.ownerDocument||t)==(e.ownerDocument||e)?t.compareDocumentPosition(e):1)||!n.sortDetached&&e.compareDocumentPosition(t)===r?t==d||t.ownerDocument==_&&b(_,t)?-1:e==d||e.ownerDocument==_&&b(_,e)?1:u?I(u,t)-I(u,e):0:4&r?-1:1)}:function(t,e){if(t===e)return f=!0,0;var n,r=0,i=t.parentNode,o=e.parentNode,a=[t],s=[e];if(!i||!o)return t==d?-1:e==d?1:i?-1:o?1:u?I(u,t)-I(u,e):0;if(i===o)return ht(t,e);for(n=t;n=n.parentNode;)a.unshift(n);for(n=e;n=n.parentNode;)s.unshift(n);for(;a[r]===s[r];)r++;return r?ht(a[r],s[r]):a[r]==_?-1:s[r]==_?1:0},d):d},st.matches=function(t,e){return st(t,null,null,e)},st.matchesSelector=function(t,e){if(h(t),n.matchesSelector&&m&&!E[e+" "]&&(!g||!g.test(e))&&(!v||!v.test(e)))try{var r=y.call(t,e);if(r||n.disconnectedMatch||t.document&&11!==t.document.nodeType)return r}catch(t){E(e,!0)}return st(e,d,null,[t]).length>0},st.contains=function(t,e){return(t.ownerDocument||t)!=d&&h(t),b(t,e)},st.attr=function(t,e){(t.ownerDocument||t)!=d&&h(t);var i=r.attrHandle[e.toLowerCase()],o=i&&P.call(r.attrHandle,e.toLowerCase())?i(t,e,!m):void 0;return void 0!==o?o:n.attributes||!m?t.getAttribute(e):(o=t.getAttributeNode(e))&&o.specified?o.value:null},st.escape=function(t){return(t+"").replace(rt,it)},st.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},st.uniqueSort=function(t){var e,r=[],i=0,o=0;if(f=!n.detectDuplicates,u=!n.sortStable&&t.slice(0),t.sort(T),f){for(;e=t[o++];)e===t[o]&&(i=r.push(o));for(;i--;)t.splice(r[i],1)}return u=null,t},i=st.getText=function(t){var e,n="",r=0,o=t.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)n+=i(t)}else if(3===o||4===o)return t.nodeValue}else for(;e=t[r++];)n+=i(e);return n},r=st.selectors={cacheLength:50,createPseudo:lt,match:Y,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(et,nt),t[3]=(t[3]||t[4]||t[5]||"").replace(et,nt),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||st.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&st.error(t[0]),t},PSEUDO:function(t){var e,n=!t[6]&&t[2];return Y.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":n&&V.test(n)&&(e=a(n,!0))&&(e=n.indexOf(")",n.length-e)-n.length)&&(t[0]=t[0].slice(0,e),t[2]=n.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(et,nt).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=O[t+" "];return e||(e=new RegExp("(^|"+L+")"+t+"("+L+"|$)"))&&O(t,(function(t){return e.test("string"==typeof t.className&&t.className||void 0!==t.getAttribute&&t.getAttribute("class")||"")}))},ATTR:function(t,e,n){return function(r){var i=st.attr(r,t);return null==i?"!="===e:!e||(i+="","="===e?i===n:"!="===e?i!==n:"^="===e?n&&0===i.indexOf(n):"*="===e?n&&i.indexOf(n)>-1:"$="===e?n&&i.slice(-n.length)===n:"~="===e?(" "+i.replace(z," ")+" ").indexOf(n)>-1:"|="===e&&(i===n||i.slice(0,n.length+1)===n+"-"))}},CHILD:function(t,e,n,r,i){var o="nth"!==t.slice(0,3),a="last"!==t.slice(-4),s="of-type"===e;return 1===r&&0===i?function(t){return!!t.parentNode}:function(e,n,c){var l,u,f,h,d,p,m=o!==a?"nextSibling":"previousSibling",v=e.parentNode,g=s&&e.nodeName.toLowerCase(),y=!c&&!s,b=!1;if(v){if(o){for(;m;){for(h=e;h=h[m];)if(s?h.nodeName.toLowerCase()===g:1===h.nodeType)return!1;p=m="only"===t&&!p&&"nextSibling"}return!0}if(p=[a?v.firstChild:v.lastChild],a&&y){for(b=(d=(l=(u=(f=(h=v)[w]||(h[w]={}))[h.uniqueID]||(f[h.uniqueID]={}))[t]||[])[0]===x&&l[1])&&l[2],h=d&&v.childNodes[d];h=++d&&h&&h[m]||(b=d=0)||p.pop();)if(1===h.nodeType&&++b&&h===e){u[t]=[x,d,b];break}}else if(y&&(b=d=(l=(u=(f=(h=e)[w]||(h[w]={}))[h.uniqueID]||(f[h.uniqueID]={}))[t]||[])[0]===x&&l[1]),!1===b)for(;(h=++d&&h&&h[m]||(b=d=0)||p.pop())&&((s?h.nodeName.toLowerCase()!==g:1!==h.nodeType)||!++b||(y&&((u=(f=h[w]||(h[w]={}))[h.uniqueID]||(f[h.uniqueID]={}))[t]=[x,b]),h!==e)););return(b-=i)===r||b%r==0&&b/r>=0}}},PSEUDO:function(t,e){var n,i=r.pseudos[t]||r.setFilters[t.toLowerCase()]||st.error("unsupported pseudo: "+t);return i[w]?i(e):i.length>1?(n=[t,t,"",e],r.setFilters.hasOwnProperty(t.toLowerCase())?lt((function(t,n){for(var r,o=i(t,e),a=o.length;a--;)t[r=I(t,o[a])]=!(n[r]=o[a])})):function(t){return i(t,0,n)}):i}},pseudos:{not:lt((function(t){var e=[],n=[],r=s(t.replace(H,"$1"));return r[w]?lt((function(t,e,n,i){for(var o,a=r(t,null,i,[]),s=t.length;s--;)(o=a[s])&&(t[s]=!(e[s]=o))})):function(t,i,o){return e[0]=t,r(e,null,o,n),e[0]=null,!n.pop()}})),has:lt((function(t){return function(e){return st(t,e).length>0}})),contains:lt((function(t){return t=t.replace(et,nt),function(e){return(e.textContent||i(e)).indexOf(t)>-1}})),lang:lt((function(t){return Z.test(t||"")||st.error("unsupported lang: "+t),t=t.replace(et,nt).toLowerCase(),function(e){var n;do{if(n=m?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(n=n.toLowerCase())===t||0===n.indexOf(t+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}})),target:function(e){var n=t.location&&t.location.hash;return n&&n.slice(1)===e.id},root:function(t){return t===p},focus:function(t){return t===d.activeElement&&(!d.hasFocus||d.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:mt(!1),disabled:mt(!0),checked:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,!0===t.selected},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!r.pseudos.empty(t)},header:function(t){return G.test(t.nodeName)},input:function(t){return K.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){var e;return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(e=t.getAttribute("type"))||"text"===e.toLowerCase())},first:vt((function(){return[0]})),last:vt((function(t,e){return[e-1]})),eq:vt((function(t,e,n){return[n<0?n+e:n]})),even:vt((function(t,e){for(var n=0;n<e;n+=2)t.push(n);return t})),odd:vt((function(t,e){for(var n=1;n<e;n+=2)t.push(n);return t})),lt:vt((function(t,e,n){for(var r=n<0?n+e:n>e?e:n;--r>=0;)t.push(r);return t})),gt:vt((function(t,e,n){for(var r=n<0?n+e:n;++r<e;)t.push(r);return t}))}},r.pseudos.nth=r.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})r.pseudos[e]=dt(e);for(e in{submit:!0,reset:!0})r.pseudos[e]=pt(e);function yt(){}function bt(t){for(var e=0,n=t.length,r="";e<n;e++)r+=t[e].value;return r}function wt(t,e,n){var r=e.dir,i=e.next,o=i||r,a=n&&"parentNode"===o,s=k++;return e.first?function(e,n,i){for(;e=e[r];)if(1===e.nodeType||a)return t(e,n,i);return!1}:function(e,n,c){var l,u,f,h=[x,s];if(c){for(;e=e[r];)if((1===e.nodeType||a)&&t(e,n,c))return!0}else for(;e=e[r];)if(1===e.nodeType||a)if(u=(f=e[w]||(e[w]={}))[e.uniqueID]||(f[e.uniqueID]={}),i&&i===e.nodeName.toLowerCase())e=e[r]||e;else{if((l=u[o])&&l[0]===x&&l[1]===s)return h[2]=l[2];if(u[o]=h,h[2]=t(e,n,c))return!0}return!1}}function _t(t){return t.length>1?function(e,n,r){for(var i=t.length;i--;)if(!t[i](e,n,r))return!1;return!0}:t[0]}function xt(t,e,n,r,i){for(var o,a=[],s=0,c=t.length,l=null!=e;s<c;s++)(o=t[s])&&(n&&!n(o,r,i)||(a.push(o),l&&e.push(s)));return a}function kt(t,e,n,r,i,o){return r&&!r[w]&&(r=kt(r)),i&&!i[w]&&(i=kt(i,o)),lt((function(o,a,s,c){var l,u,f,h=[],d=[],p=a.length,m=o||function(t,e,n){for(var r=0,i=e.length;r<i;r++)st(t,e[r],n);return n}(e||"*",s.nodeType?[s]:s,[]),v=!t||!o&&e?m:xt(m,h,t,s,c),g=n?i||(o?t:p||r)?[]:a:v;if(n&&n(v,g,s,c),r)for(l=xt(g,d),r(l,[],s,c),u=l.length;u--;)(f=l[u])&&(g[d[u]]=!(v[d[u]]=f));if(o){if(i||t){if(i){for(l=[],u=g.length;u--;)(f=g[u])&&l.push(v[u]=f);i(null,g=[],l,c)}for(u=g.length;u--;)(f=g[u])&&(l=i?I(o,f):h[u])>-1&&(o[l]=!(a[l]=f))}}else g=xt(g===a?g.splice(p,g.length):g),i?i(null,a,g,c):M.apply(a,g)}))}function Ot(t){for(var e,n,i,o=t.length,a=r.relative[t[0].type],s=a||r.relative[" "],c=a?1:0,u=wt((function(t){return t===e}),s,!0),f=wt((function(t){return I(e,t)>-1}),s,!0),h=[function(t,n,r){var i=!a&&(r||n!==l)||((e=n).nodeType?u(t,n,r):f(t,n,r));return e=null,i}];c<o;c++)if(n=r.relative[t[c].type])h=[wt(_t(h),n)];else{if((n=r.filter[t[c].type].apply(null,t[c].matches))[w]){for(i=++c;i<o&&!r.relative[t[i].type];i++);return kt(c>1&&_t(h),c>1&&bt(t.slice(0,c-1).concat({value:" "===t[c-2].type?"*":""})).replace(H,"$1"),n,c<i&&Ot(t.slice(c,i)),i<o&&Ot(t=t.slice(i)),i<o&&bt(t))}h.push(n)}return _t(h)}return yt.prototype=r.filters=r.pseudos,r.setFilters=new yt,a=st.tokenize=function(t,e){var n,i,o,a,s,c,l,u=C[t+" "];if(u)return e?0:u.slice(0);for(s=t,c=[],l=r.preFilter;s;){for(a in n&&!(i=U.exec(s))||(i&&(s=s.slice(i[0].length)||s),c.push(o=[])),n=!1,(i=q.exec(s))&&(n=i.shift(),o.push({value:n,type:i[0].replace(H," ")}),s=s.slice(n.length)),r.filter)!(i=Y[a].exec(s))||l[a]&&!(i=l[a](i))||(n=i.shift(),o.push({value:n,type:a,matches:i}),s=s.slice(n.length));if(!n)break}return e?s.length:s?st.error(t):C(t,c).slice(0)},s=st.compile=function(t,e){var n,i=[],o=[],s=S[t+" "];if(!s){for(e||(e=a(t)),n=e.length;n--;)(s=Ot(e[n]))[w]?i.push(s):o.push(s);s=S(t,function(t,e){var n=e.length>0,i=t.length>0,o=function(o,a,s,c,u){var f,p,v,g=0,y="0",b=o&&[],w=[],_=l,k=o||i&&r.find.TAG("*",u),O=x+=null==_?1:Math.random()||.1,C=k.length;for(u&&(l=a==d||a||u);y!==C&&null!=(f=k[y]);y++){if(i&&f){for(p=0,a||f.ownerDocument==d||(h(f),s=!m);v=t[p++];)if(v(f,a||d,s)){c.push(f);break}u&&(x=O)}n&&((f=!v&&f)&&g--,o&&b.push(f))}if(g+=y,n&&y!==g){for(p=0;v=e[p++];)v(b,w,a,s);if(o){if(g>0)for(;y--;)b[y]||w[y]||(w[y]=j.call(c));w=xt(w)}M.apply(c,w),u&&!o&&w.length>0&&g+e.length>1&&st.uniqueSort(c)}return u&&(x=O,l=_),b};return n?lt(o):o}(o,i)),s.selector=t}return s},c=st.select=function(t,e,n,i){var o,c,l,u,f,h="function"==typeof t&&t,d=!i&&a(t=h.selector||t);if(n=n||[],1===d.length){if((c=d[0]=d[0].slice(0)).length>2&&"ID"===(l=c[0]).type&&9===e.nodeType&&m&&r.relative[c[1].type]){if(!(e=(r.find.ID(l.matches[0].replace(et,nt),e)||[])[0]))return n;h&&(e=e.parentNode),t=t.slice(c.shift().value.length)}for(o=Y.needsContext.test(t)?0:c.length;o--&&(l=c[o],!r.relative[u=l.type]);)if((f=r.find[u])&&(i=f(l.matches[0].replace(et,nt),tt.test(c[0].type)&&gt(e.parentNode)||e))){if(c.splice(o,1),!(t=i.length&&bt(c)))return M.apply(n,i),n;break}}return(h||s(t,d))(i,e,!m,n,!e||tt.test(t)&&gt(e.parentNode)||e),n},n.sortStable=w.split("").sort(T).join("")===w,n.detectDuplicates=!!f,h(),n.sortDetached=ut((function(t){return 1&t.compareDocumentPosition(d.createElement("fieldset"))})),ut((function(t){return t.innerHTML="<a href='#'></a>","#"===t.firstChild.getAttribute("href")}))||ft("type|href|height|width",(function(t,e,n){if(!n)return t.getAttribute(e,"type"===e.toLowerCase()?1:2)})),n.attributes&&ut((function(t){return t.innerHTML="<input/>",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")}))||ft("value",(function(t,e,n){if(!n&&"input"===t.nodeName.toLowerCase())return t.defaultValue})),ut((function(t){return null==t.getAttribute("disabled")}))||ft(N,(function(t,e,n){var r;if(!n)return!0===t[e]?e.toLowerCase():(r=t.getAttributeNode(e))&&r.specified?r.value:null})),st}(r);O.find=S,O.expr=S.selectors,O.expr[":"]=O.expr.pseudos,O.uniqueSort=O.unique=S.uniqueSort,O.text=S.getText,O.isXMLDoc=S.isXML,O.contains=S.contains,O.escapeSelector=S.escape;var E=function(t,e,n){for(var r=[],i=void 0!==n;(t=t[e])&&9!==t.nodeType;)if(1===t.nodeType){if(i&&O(t).is(n))break;r.push(t)}return r},T=function(t,e){for(var n=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&n.push(t);return n},P=O.expr.match.needsContext;function A(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()}var j=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function D(t,e,n){return g(e)?O.grep(t,(function(t,r){return!!e.call(t,r,t)!==n})):e.nodeType?O.grep(t,(function(t){return t===e!==n})):"string"!=typeof e?O.grep(t,(function(t){return u.call(e,t)>-1!==n})):O.filter(e,t,n)}O.filter=function(t,e,n){var r=e[0];return n&&(t=":not("+t+")"),1===e.length&&1===r.nodeType?O.find.matchesSelector(r,t)?[r]:[]:O.find.matches(t,O.grep(e,(function(t){return 1===t.nodeType})))},O.fn.extend({find:function(t){var e,n,r=this.length,i=this;if("string"!=typeof t)return this.pushStack(O(t).filter((function(){for(e=0;e<r;e++)if(O.contains(i[e],this))return!0})));for(n=this.pushStack([]),e=0;e<r;e++)O.find(t,i[e],n);return r>1?O.uniqueSort(n):n},filter:function(t){return this.pushStack(D(this,t||[],!1))},not:function(t){return this.pushStack(D(this,t||[],!0))},is:function(t){return!!D(this,"string"==typeof t&&P.test(t)?O(t):t||[],!1).length}});var M,R=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(O.fn.init=function(t,e,n){var r,i;if(!t)return this;if(n=n||M,"string"==typeof t){if(!(r="<"===t[0]&&">"===t[t.length-1]&&t.length>=3?[null,t,null]:R.exec(t))||!r[1]&&e)return!e||e.jquery?(e||n).find(t):this.constructor(e).find(t);if(r[1]){if(e=e instanceof O?e[0]:e,O.merge(this,O.parseHTML(r[1],e&&e.nodeType?e.ownerDocument||e:b,!0)),j.test(r[1])&&O.isPlainObject(e))for(r in e)g(this[r])?this[r](e[r]):this.attr(r,e[r]);return this}return(i=b.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return t.nodeType?(this[0]=t,this.length=1,this):g(t)?void 0!==n.ready?n.ready(t):t(O):O.makeArray(t,this)}).prototype=O.fn,M=O(b);var I=/^(?:parents|prev(?:Until|All))/,N={children:!0,contents:!0,next:!0,prev:!0};function L(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}O.fn.extend({has:function(t){var e=O(t,this),n=e.length;return this.filter((function(){for(var t=0;t<n;t++)if(O.contains(this,e[t]))return!0}))},closest:function(t,e){var n,r=0,i=this.length,o=[],a="string"!=typeof t&&O(t);if(!P.test(t))for(;r<i;r++)for(n=this[r];n&&n!==e;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&O.find.matchesSelector(n,t))){o.push(n);break}return this.pushStack(o.length>1?O.uniqueSort(o):o)},index:function(t){return t?"string"==typeof t?u.call(O(t),this[0]):u.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(O.uniqueSort(O.merge(this.get(),O(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),O.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return E(t,"parentNode")},parentsUntil:function(t,e,n){return E(t,"parentNode",n)},next:function(t){return L(t,"nextSibling")},prev:function(t){return L(t,"previousSibling")},nextAll:function(t){return E(t,"nextSibling")},prevAll:function(t){return E(t,"previousSibling")},nextUntil:function(t,e,n){return E(t,"nextSibling",n)},prevUntil:function(t,e,n){return E(t,"previousSibling",n)},siblings:function(t){return T((t.parentNode||{}).firstChild,t)},children:function(t){return T(t.firstChild)},contents:function(t){return null!=t.contentDocument&&a(t.contentDocument)?t.contentDocument:(A(t,"template")&&(t=t.content||t),O.merge([],t.childNodes))}},(function(t,e){O.fn[t]=function(n,r){var i=O.map(this,e,n);return"Until"!==t.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=O.filter(r,i)),this.length>1&&(N[t]||O.uniqueSort(i),I.test(t)&&i.reverse()),this.pushStack(i)}}));var $=/[^\x20\t\r\n\f]+/g;function F(t){return t}function B(t){throw t}function z(t,e,n,r){var i;try{t&&g(i=t.promise)?i.call(t).done(e).fail(n):t&&g(i=t.then)?i.call(t,e,n):e.apply(void 0,[t].slice(r))}catch(t){n.apply(void 0,[t])}}O.Callbacks=function(t){t="string"==typeof t?function(t){var e={};return O.each(t.match($)||[],(function(t,n){e[n]=!0})),e}(t):O.extend({},t);var e,n,r,i,o=[],a=[],s=-1,c=function(){for(i=i||t.once,r=e=!0;a.length;s=-1)for(n=a.shift();++s<o.length;)!1===o[s].apply(n[0],n[1])&&t.stopOnFalse&&(s=o.length,n=!1);t.memory||(n=!1),e=!1,i&&(o=n?[]:"")},l={add:function(){return o&&(n&&!e&&(s=o.length-1,a.push(n)),function e(n){O.each(n,(function(n,r){g(r)?t.unique&&l.has(r)||o.push(r):r&&r.length&&"string"!==x(r)&&e(r)}))}(arguments),n&&!e&&c()),this},remove:function(){return O.each(arguments,(function(t,e){for(var n;(n=O.inArray(e,o,n))>-1;)o.splice(n,1),n<=s&&s--})),this},has:function(t){return t?O.inArray(t,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return i=a=[],o=n="",this},disabled:function(){return!o},lock:function(){return i=a=[],n||e||(o=n=""),this},locked:function(){return!!i},fireWith:function(t,n){return i||(n=[t,(n=n||[]).slice?n.slice():n],a.push(n),e||c()),this},fire:function(){return l.fireWith(this,arguments),this},fired:function(){return!!r}};return l},O.extend({Deferred:function(t){var e=[["notify","progress",O.Callbacks("memory"),O.Callbacks("memory"),2],["resolve","done",O.Callbacks("once memory"),O.Callbacks("once memory"),0,"resolved"],["reject","fail",O.Callbacks("once memory"),O.Callbacks("once memory"),1,"rejected"]],n="pending",i={state:function(){return n},always:function(){return o.done(arguments).fail(arguments),this},catch:function(t){return i.then(null,t)},pipe:function(){var t=arguments;return O.Deferred((function(n){O.each(e,(function(e,r){var i=g(t[r[4]])&&t[r[4]];o[r[1]]((function(){var t=i&&i.apply(this,arguments);t&&g(t.promise)?t.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[r[0]+"With"](this,i?[t]:arguments)}))})),t=null})).promise()},then:function(t,n,i){var o=0;function a(t,e,n,i){return function(){var s=this,c=arguments,l=function(){var r,l;if(!(t<o)){if((r=n.apply(s,c))===e.promise())throw new TypeError("Thenable self-resolution");l=r&&("object"==typeof r||"function"==typeof r)&&r.then,g(l)?i?l.call(r,a(o,e,F,i),a(o,e,B,i)):(o++,l.call(r,a(o,e,F,i),a(o,e,B,i),a(o,e,F,e.notifyWith))):(n!==F&&(s=void 0,c=[r]),(i||e.resolveWith)(s,c))}},u=i?l:function(){try{l()}catch(r){O.Deferred.exceptionHook&&O.Deferred.exceptionHook(r,u.stackTrace),t+1>=o&&(n!==B&&(s=void 0,c=[r]),e.rejectWith(s,c))}};t?u():(O.Deferred.getStackHook&&(u.stackTrace=O.Deferred.getStackHook()),r.setTimeout(u))}}return O.Deferred((function(r){e[0][3].add(a(0,r,g(i)?i:F,r.notifyWith)),e[1][3].add(a(0,r,g(t)?t:F)),e[2][3].add(a(0,r,g(n)?n:B))})).promise()},promise:function(t){return null!=t?O.extend(t,i):i}},o={};return O.each(e,(function(t,r){var a=r[2],s=r[5];i[r[1]]=a.add,s&&a.add((function(){n=s}),e[3-t][2].disable,e[3-t][3].disable,e[0][2].lock,e[0][3].lock),a.add(r[3].fire),o[r[0]]=function(){return o[r[0]+"With"](this===o?void 0:this,arguments),this},o[r[0]+"With"]=a.fireWith})),i.promise(o),t&&t.call(o,o),o},when:function(t){var e=arguments.length,n=e,r=Array(n),i=s.call(arguments),o=O.Deferred(),a=function(t){return function(n){r[t]=this,i[t]=arguments.length>1?s.call(arguments):n,--e||o.resolveWith(r,i)}};if(e<=1&&(z(t,o.done(a(n)).resolve,o.reject,!e),"pending"===o.state()||g(i[n]&&i[n].then)))return o.then();for(;n--;)z(i[n],a(n),o.reject);return o.promise()}});var H=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;O.Deferred.exceptionHook=function(t,e){r.console&&r.console.warn&&t&&H.test(t.name)&&r.console.warn("jQuery.Deferred exception: "+t.message,t.stack,e)},O.readyException=function(t){r.setTimeout((function(){throw t}))};var U=O.Deferred();function q(){b.removeEventListener("DOMContentLoaded",q),r.removeEventListener("load",q),O.ready()}O.fn.ready=function(t){return U.then(t).catch((function(t){O.readyException(t)})),this},O.extend({isReady:!1,readyWait:1,ready:function(t){(!0===t?--O.readyWait:O.isReady)||(O.isReady=!0,!0!==t&&--O.readyWait>0||U.resolveWith(b,[O]))}}),O.ready.then=U.then,"complete"===b.readyState||"loading"!==b.readyState&&!b.documentElement.doScroll?r.setTimeout(O.ready):(b.addEventListener("DOMContentLoaded",q),r.addEventListener("load",q));var W=function(t,e,n,r,i,o,a){var s=0,c=t.length,l=null==n;if("object"===x(n))for(s in i=!0,n)W(t,e,s,n[s],!0,o,a);else if(void 0!==r&&(i=!0,g(r)||(a=!0),l&&(a?(e.call(t,r),e=null):(l=e,e=function(t,e,n){return l.call(O(t),n)})),e))for(;s<c;s++)e(t[s],n,a?r:r.call(t[s],s,e(t[s],n)));return i?t:l?e.call(t):c?e(t[0],n):o},V=/^-ms-/,Z=/-([a-z])/g;function Y(t,e){return e.toUpperCase()}function X(t){return t.replace(V,"ms-").replace(Z,Y)}var K=function(t){return 1===t.nodeType||9===t.nodeType||!+t.nodeType};function G(){this.expando=O.expando+G.uid++}G.uid=1,G.prototype={cache:function(t){var e=t[this.expando];return e||(e={},K(t)&&(t.nodeType?t[this.expando]=e:Object.defineProperty(t,this.expando,{value:e,configurable:!0}))),e},set:function(t,e,n){var r,i=this.cache(t);if("string"==typeof e)i[X(e)]=n;else for(r in e)i[X(r)]=e[r];return i},get:function(t,e){return void 0===e?this.cache(t):t[this.expando]&&t[this.expando][X(e)]},access:function(t,e,n){return void 0===e||e&&"string"==typeof e&&void 0===n?this.get(t,e):(this.set(t,e,n),void 0!==n?n:e)},remove:function(t,e){var n,r=t[this.expando];if(void 0!==r){if(void 0!==e){n=(e=Array.isArray(e)?e.map(X):(e=X(e))in r?[e]:e.match($)||[]).length;for(;n--;)delete r[e[n]]}(void 0===e||O.isEmptyObject(r))&&(t.nodeType?t[this.expando]=void 0:delete t[this.expando])}},hasData:function(t){var e=t[this.expando];return void 0!==e&&!O.isEmptyObject(e)}};var Q=new G,J=new G,tt=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,et=/[A-Z]/g;function nt(t,e,n){var r;if(void 0===n&&1===t.nodeType)if(r="data-"+e.replace(et,"-$&").toLowerCase(),"string"==typeof(n=t.getAttribute(r))){try{n=function(t){return"true"===t||"false"!==t&&("null"===t?null:t===+t+""?+t:tt.test(t)?JSON.parse(t):t)}(n)}catch(t){}J.set(t,e,n)}else n=void 0;return n}O.extend({hasData:function(t){return J.hasData(t)||Q.hasData(t)},data:function(t,e,n){return J.access(t,e,n)},removeData:function(t,e){J.remove(t,e)},_data:function(t,e,n){return Q.access(t,e,n)},_removeData:function(t,e){Q.remove(t,e)}}),O.fn.extend({data:function(t,e){var n,r,i,o=this[0],a=o&&o.attributes;if(void 0===t){if(this.length&&(i=J.get(o),1===o.nodeType&&!Q.get(o,"hasDataAttrs"))){for(n=a.length;n--;)a[n]&&0===(r=a[n].name).indexOf("data-")&&(r=X(r.slice(5)),nt(o,r,i[r]));Q.set(o,"hasDataAttrs",!0)}return i}return"object"==typeof t?this.each((function(){J.set(this,t)})):W(this,(function(e){var n;if(o&&void 0===e)return void 0!==(n=J.get(o,t))||void 0!==(n=nt(o,t))?n:void 0;this.each((function(){J.set(this,t,e)}))}),null,e,arguments.length>1,null,!0)},removeData:function(t){return this.each((function(){J.remove(this,t)}))}}),O.extend({queue:function(t,e,n){var r;if(t)return e=(e||"fx")+"queue",r=Q.get(t,e),n&&(!r||Array.isArray(n)?r=Q.access(t,e,O.makeArray(n)):r.push(n)),r||[]},dequeue:function(t,e){e=e||"fx";var n=O.queue(t,e),r=n.length,i=n.shift(),o=O._queueHooks(t,e);"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===e&&n.unshift("inprogress"),delete o.stop,i.call(t,(function(){O.dequeue(t,e)}),o)),!r&&o&&o.empty.fire()},_queueHooks:function(t,e){var n=e+"queueHooks";return Q.get(t,n)||Q.access(t,n,{empty:O.Callbacks("once memory").add((function(){Q.remove(t,[e+"queue",n])}))})}}),O.fn.extend({queue:function(t,e){var n=2;return"string"!=typeof t&&(e=t,t="fx",n--),arguments.length<n?O.queue(this[0],t):void 0===e?this:this.each((function(){var n=O.queue(this,t,e);O._queueHooks(this,t),"fx"===t&&"inprogress"!==n[0]&&O.dequeue(this,t)}))},dequeue:function(t){return this.each((function(){O.dequeue(this,t)}))},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){var n,r=1,i=O.Deferred(),o=this,a=this.length,s=function(){--r||i.resolveWith(o,[o])};for("string"!=typeof t&&(e=t,t=void 0),t=t||"fx";a--;)(n=Q.get(o[a],t+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),i.promise(e)}});var rt=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,it=new RegExp("^(?:([+-])=|)("+rt+")([a-z%]*)$","i"),ot=["Top","Right","Bottom","Left"],at=b.documentElement,st=function(t){return O.contains(t.ownerDocument,t)},ct={composed:!0};at.getRootNode&&(st=function(t){return O.contains(t.ownerDocument,t)||t.getRootNode(ct)===t.ownerDocument});var lt=function(t,e){return"none"===(t=e||t).style.display||""===t.style.display&&st(t)&&"none"===O.css(t,"display")};function ut(t,e,n,r){var i,o,a=20,s=r?function(){return r.cur()}:function(){return O.css(t,e,"")},c=s(),l=n&&n[3]||(O.cssNumber[e]?"":"px"),u=t.nodeType&&(O.cssNumber[e]||"px"!==l&&+c)&&it.exec(O.css(t,e));if(u&&u[3]!==l){for(c/=2,l=l||u[3],u=+c||1;a--;)O.style(t,e,u+l),(1-o)*(1-(o=s()/c||.5))<=0&&(a=0),u/=o;u*=2,O.style(t,e,u+l),n=n||[]}return n&&(u=+u||+c||0,i=n[1]?u+(n[1]+1)*n[2]:+n[2],r&&(r.unit=l,r.start=u,r.end=i)),i}var ft={};function ht(t){var e,n=t.ownerDocument,r=t.nodeName,i=ft[r];return i||(e=n.body.appendChild(n.createElement(r)),i=O.css(e,"display"),e.parentNode.removeChild(e),"none"===i&&(i="block"),ft[r]=i,i)}function dt(t,e){for(var n,r,i=[],o=0,a=t.length;o<a;o++)(r=t[o]).style&&(n=r.style.display,e?("none"===n&&(i[o]=Q.get(r,"display")||null,i[o]||(r.style.display="")),""===r.style.display&&lt(r)&&(i[o]=ht(r))):"none"!==n&&(i[o]="none",Q.set(r,"display",n)));for(o=0;o<a;o++)null!=i[o]&&(t[o].style.display=i[o]);return t}O.fn.extend({show:function(){return dt(this,!0)},hide:function(){return dt(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each((function(){lt(this)?O(this).show():O(this).hide()}))}});var pt=/^(?:checkbox|radio)$/i,mt=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,vt=/^$|^module$|\/(?:java|ecma)script/i;!function(){var t=b.createDocumentFragment().appendChild(b.createElement("div")),e=b.createElement("input");e.setAttribute("type","radio"),e.setAttribute("checked","checked"),e.setAttribute("name","t"),t.appendChild(e),v.checkClone=t.cloneNode(!0).cloneNode(!0).lastChild.checked,t.innerHTML="<textarea>x</textarea>",v.noCloneChecked=!!t.cloneNode(!0).lastChild.defaultValue,t.innerHTML="<option></option>",v.option=!!t.lastChild}();var gt={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 yt(t,e){var n;return n=void 0!==t.getElementsByTagName?t.getElementsByTagName(e||"*"):void 0!==t.querySelectorAll?t.querySelectorAll(e||"*"):[],void 0===e||e&&A(t,e)?O.merge([t],n):n}function bt(t,e){for(var n=0,r=t.length;n<r;n++)Q.set(t[n],"globalEval",!e||Q.get(e[n],"globalEval"))}gt.tbody=gt.tfoot=gt.colgroup=gt.caption=gt.thead,gt.th=gt.td,v.option||(gt.optgroup=gt.option=[1,"<select multiple='multiple'>","</select>"]);var wt=/<|&#?\w+;/;function _t(t,e,n,r,i){for(var o,a,s,c,l,u,f=e.createDocumentFragment(),h=[],d=0,p=t.length;d<p;d++)if((o=t[d])||0===o)if("object"===x(o))O.merge(h,o.nodeType?[o]:o);else if(wt.test(o)){for(a=a||f.appendChild(e.createElement("div")),s=(mt.exec(o)||["",""])[1].toLowerCase(),c=gt[s]||gt._default,a.innerHTML=c[1]+O.htmlPrefilter(o)+c[2],u=c[0];u--;)a=a.lastChild;O.merge(h,a.childNodes),(a=f.firstChild).textContent=""}else h.push(e.createTextNode(o));for(f.textContent="",d=0;o=h[d++];)if(r&&O.inArray(o,r)>-1)i&&i.push(o);else if(l=st(o),a=yt(f.appendChild(o),"script"),l&&bt(a),n)for(u=0;o=a[u++];)vt.test(o.type||"")&&n.push(o);return f}var xt=/^([^.]*)(?:\.(.+)|)/;function kt(){return!0}function Ot(){return!1}function Ct(t,e){return t===function(){try{return b.activeElement}catch(t){}}()==("focus"===e)}function St(t,e,n,r,i,o){var a,s;if("object"==typeof e){for(s in"string"!=typeof n&&(r=r||n,n=void 0),e)St(t,s,n,r,e[s],o);return t}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=Ot;else if(!i)return t;return 1===o&&(a=i,i=function(t){return O().off(t),a.apply(this,arguments)},i.guid=a.guid||(a.guid=O.guid++)),t.each((function(){O.event.add(this,e,i,r,n)}))}function Et(t,e,n){n?(Q.set(t,e,!1),O.event.add(t,e,{namespace:!1,handler:function(t){var r,i,o=Q.get(this,e);if(1&t.isTrigger&&this[e]){if(o.length)(O.event.special[e]||{}).delegateType&&t.stopPropagation();else if(o=s.call(arguments),Q.set(this,e,o),r=n(this,e),this[e](),o!==(i=Q.get(this,e))||r?Q.set(this,e,!1):i={},o!==i)return t.stopImmediatePropagation(),t.preventDefault(),i&&i.value}else o.length&&(Q.set(this,e,{value:O.event.trigger(O.extend(o[0],O.Event.prototype),o.slice(1),this)}),t.stopImmediatePropagation())}})):void 0===Q.get(t,e)&&O.event.add(t,e,kt)}O.event={global:{},add:function(t,e,n,r,i){var o,a,s,c,l,u,f,h,d,p,m,v=Q.get(t);if(K(t))for(n.handler&&(n=(o=n).handler,i=o.selector),i&&O.find.matchesSelector(at,i),n.guid||(n.guid=O.guid++),(c=v.events)||(c=v.events=Object.create(null)),(a=v.handle)||(a=v.handle=function(e){return void 0!==O&&O.event.triggered!==e.type?O.event.dispatch.apply(t,arguments):void 0}),l=(e=(e||"").match($)||[""]).length;l--;)d=m=(s=xt.exec(e[l])||[])[1],p=(s[2]||"").split(".").sort(),d&&(f=O.event.special[d]||{},d=(i?f.delegateType:f.bindType)||d,f=O.event.special[d]||{},u=O.extend({type:d,origType:m,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&O.expr.match.needsContext.test(i),namespace:p.join(".")},o),(h=c[d])||((h=c[d]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(t,r,p,a)||t.addEventListener&&t.addEventListener(d,a)),f.add&&(f.add.call(t,u),u.handler.guid||(u.handler.guid=n.guid)),i?h.splice(h.delegateCount++,0,u):h.push(u),O.event.global[d]=!0)},remove:function(t,e,n,r,i){var o,a,s,c,l,u,f,h,d,p,m,v=Q.hasData(t)&&Q.get(t);if(v&&(c=v.events)){for(l=(e=(e||"").match($)||[""]).length;l--;)if(d=m=(s=xt.exec(e[l])||[])[1],p=(s[2]||"").split(".").sort(),d){for(f=O.event.special[d]||{},h=c[d=(r?f.delegateType:f.bindType)||d]||[],s=s[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=h.length;o--;)u=h[o],!i&&m!==u.origType||n&&n.guid!==u.guid||s&&!s.test(u.namespace)||r&&r!==u.selector&&("**"!==r||!u.selector)||(h.splice(o,1),u.selector&&h.delegateCount--,f.remove&&f.remove.call(t,u));a&&!h.length&&(f.teardown&&!1!==f.teardown.call(t,p,v.handle)||O.removeEvent(t,d,v.handle),delete c[d])}else for(d in c)O.event.remove(t,d+e[l],n,r,!0);O.isEmptyObject(c)&&Q.remove(t,"handle events")}},dispatch:function(t){var e,n,r,i,o,a,s=new Array(arguments.length),c=O.event.fix(t),l=(Q.get(this,"events")||Object.create(null))[c.type]||[],u=O.event.special[c.type]||{};for(s[0]=c,e=1;e<arguments.length;e++)s[e]=arguments[e];if(c.delegateTarget=this,!u.preDispatch||!1!==u.preDispatch.call(this,c)){for(a=O.event.handlers.call(this,c,l),e=0;(i=a[e++])&&!c.isPropagationStopped();)for(c.currentTarget=i.elem,n=0;(o=i.handlers[n++])&&!c.isImmediatePropagationStopped();)c.rnamespace&&!1!==o.namespace&&!c.rnamespace.test(o.namespace)||(c.handleObj=o,c.data=o.data,void 0!==(r=((O.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,s))&&!1===(c.result=r)&&(c.preventDefault(),c.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,c),c.result}},handlers:function(t,e){var n,r,i,o,a,s=[],c=e.delegateCount,l=t.target;if(c&&l.nodeType&&!("click"===t.type&&t.button>=1))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&("click"!==t.type||!0!==l.disabled)){for(o=[],a={},n=0;n<c;n++)void 0===a[i=(r=e[n]).selector+" "]&&(a[i]=r.needsContext?O(i,this).index(l)>-1:O.find(i,this,null,[l]).length),a[i]&&o.push(r);o.length&&s.push({elem:l,handlers:o})}return l=this,c<e.length&&s.push({elem:l,handlers:e.slice(c)}),s},addProp:function(t,e){Object.defineProperty(O.Event.prototype,t,{enumerable:!0,configurable:!0,get:g(e)?function(){if(this.originalEvent)return e(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[t]},set:function(e){Object.defineProperty(this,t,{enumerable:!0,configurable:!0,writable:!0,value:e})}})},fix:function(t){return t[O.expando]?t:new O.Event(t)},special:{load:{noBubble:!0},click:{setup:function(t){var e=this||t;return pt.test(e.type)&&e.click&&A(e,"input")&&Et(e,"click",kt),!1},trigger:function(t){var e=this||t;return pt.test(e.type)&&e.click&&A(e,"input")&&Et(e,"click"),!0},_default:function(t){var e=t.target;return pt.test(e.type)&&e.click&&A(e,"input")&&Q.get(e,"click")||A(e,"a")}},beforeunload:{postDispatch:function(t){void 0!==t.result&&t.originalEvent&&(t.originalEvent.returnValue=t.result)}}}},O.removeEvent=function(t,e,n){t.removeEventListener&&t.removeEventListener(e,n)},O.Event=function(t,e){if(!(this instanceof O.Event))return new O.Event(t,e);t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||void 0===t.defaultPrevented&&!1===t.returnValue?kt:Ot,this.target=t.target&&3===t.target.nodeType?t.target.parentNode:t.target,this.currentTarget=t.currentTarget,this.relatedTarget=t.relatedTarget):this.type=t,e&&O.extend(this,e),this.timeStamp=t&&t.timeStamp||Date.now(),this[O.expando]=!0},O.Event.prototype={constructor:O.Event,isDefaultPrevented:Ot,isPropagationStopped:Ot,isImmediatePropagationStopped:Ot,isSimulated:!1,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=kt,t&&!this.isSimulated&&t.preventDefault()},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=kt,t&&!this.isSimulated&&t.stopPropagation()},stopImmediatePropagation:function(){var t=this.originalEvent;this.isImmediatePropagationStopped=kt,t&&!this.isSimulated&&t.stopImmediatePropagation(),this.stopPropagation()}},O.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},O.event.addProp),O.each({focus:"focusin",blur:"focusout"},(function(t,e){O.event.special[t]={setup:function(){return Et(this,t,Ct),!1},trigger:function(){return Et(this,t),!0},_default:function(e){return Q.get(e.target,t)},delegateType:e}})),O.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},(function(t,e){O.event.special[t]={delegateType:e,bindType:e,handle:function(t){var n,r=t.relatedTarget,i=t.handleObj;return r&&(r===this||O.contains(this,r))||(t.type=i.origType,n=i.handler.apply(this,arguments),t.type=e),n}}})),O.fn.extend({on:function(t,e,n,r){return St(this,t,e,n,r)},one:function(t,e,n,r){return St(this,t,e,n,r,1)},off:function(t,e,n){var r,i;if(t&&t.preventDefault&&t.handleObj)return r=t.handleObj,O(t.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof t){for(i in t)this.off(i,e,t[i]);return this}return!1!==e&&"function"!=typeof e||(n=e,e=void 0),!1===n&&(n=Ot),this.each((function(){O.event.remove(this,t,n,e)}))}});var Tt=/<script|<style|<link/i,Pt=/checked\s*(?:[^=]|=\s*.checked.)/i,At=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function jt(t,e){return A(t,"table")&&A(11!==e.nodeType?e:e.firstChild,"tr")&&O(t).children("tbody")[0]||t}function Dt(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function Mt(t){return"true/"===(t.type||"").slice(0,5)?t.type=t.type.slice(5):t.removeAttribute("type"),t}function Rt(t,e){var n,r,i,o,a,s;if(1===e.nodeType){if(Q.hasData(t)&&(s=Q.get(t).events))for(i in Q.remove(e,"handle events"),s)for(n=0,r=s[i].length;n<r;n++)O.event.add(e,i,s[i][n]);J.hasData(t)&&(o=J.access(t),a=O.extend({},o),J.set(e,a))}}function It(t,e){var n=e.nodeName.toLowerCase();"input"===n&&pt.test(t.type)?e.checked=t.checked:"input"!==n&&"textarea"!==n||(e.defaultValue=t.defaultValue)}function Nt(t,e,n,r){e=c(e);var i,o,a,s,l,u,f=0,h=t.length,d=h-1,p=e[0],m=g(p);if(m||h>1&&"string"==typeof p&&!v.checkClone&&Pt.test(p))return t.each((function(i){var o=t.eq(i);m&&(e[0]=p.call(this,i,o.html())),Nt(o,e,n,r)}));if(h&&(o=(i=_t(e,t[0].ownerDocument,!1,t,r)).firstChild,1===i.childNodes.length&&(i=o),o||r)){for(s=(a=O.map(yt(i,"script"),Dt)).length;f<h;f++)l=i,f!==d&&(l=O.clone(l,!0,!0),s&&O.merge(a,yt(l,"script"))),n.call(t[f],l,f);if(s)for(u=a[a.length-1].ownerDocument,O.map(a,Mt),f=0;f<s;f++)l=a[f],vt.test(l.type||"")&&!Q.access(l,"globalEval")&&O.contains(u,l)&&(l.src&&"module"!==(l.type||"").toLowerCase()?O._evalUrl&&!l.noModule&&O._evalUrl(l.src,{nonce:l.nonce||l.getAttribute("nonce")},u):_(l.textContent.replace(At,""),l,u))}return t}function Lt(t,e,n){for(var r,i=e?O.filter(e,t):t,o=0;null!=(r=i[o]);o++)n||1!==r.nodeType||O.cleanData(yt(r)),r.parentNode&&(n&&st(r)&&bt(yt(r,"script")),r.parentNode.removeChild(r));return t}O.extend({htmlPrefilter:function(t){return t},clone:function(t,e,n){var r,i,o,a,s=t.cloneNode(!0),c=st(t);if(!(v.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||O.isXMLDoc(t)))for(a=yt(s),r=0,i=(o=yt(t)).length;r<i;r++)It(o[r],a[r]);if(e)if(n)for(o=o||yt(t),a=a||yt(s),r=0,i=o.length;r<i;r++)Rt(o[r],a[r]);else Rt(t,s);return(a=yt(s,"script")).length>0&&bt(a,!c&&yt(t,"script")),s},cleanData:function(t){for(var e,n,r,i=O.event.special,o=0;void 0!==(n=t[o]);o++)if(K(n)){if(e=n[Q.expando]){if(e.events)for(r in e.events)i[r]?O.event.remove(n,r):O.removeEvent(n,r,e.handle);n[Q.expando]=void 0}n[J.expando]&&(n[J.expando]=void 0)}}}),O.fn.extend({detach:function(t){return Lt(this,t,!0)},remove:function(t){return Lt(this,t)},text:function(t){return W(this,(function(t){return void 0===t?O.text(this):this.empty().each((function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=t)}))}),null,t,arguments.length)},append:function(){return Nt(this,arguments,(function(t){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||jt(this,t).appendChild(t)}))},prepend:function(){return Nt(this,arguments,(function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=jt(this,t);e.insertBefore(t,e.firstChild)}}))},before:function(){return Nt(this,arguments,(function(t){this.parentNode&&this.parentNode.insertBefore(t,this)}))},after:function(){return Nt(this,arguments,(function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)}))},empty:function(){for(var t,e=0;null!=(t=this[e]);e++)1===t.nodeType&&(O.cleanData(yt(t,!1)),t.textContent="");return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map((function(){return O.clone(this,t,e)}))},html:function(t){return W(this,(function(t){var e=this[0]||{},n=0,r=this.length;if(void 0===t&&1===e.nodeType)return e.innerHTML;if("string"==typeof t&&!Tt.test(t)&&!gt[(mt.exec(t)||["",""])[1].toLowerCase()]){t=O.htmlPrefilter(t);try{for(;n<r;n++)1===(e=this[n]||{}).nodeType&&(O.cleanData(yt(e,!1)),e.innerHTML=t);e=0}catch(t){}}e&&this.empty().append(t)}),null,t,arguments.length)},replaceWith:function(){var t=[];return Nt(this,arguments,(function(e){var n=this.parentNode;O.inArray(this,t)<0&&(O.cleanData(yt(this)),n&&n.replaceChild(e,this))}),t)}}),O.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},(function(t,e){O.fn[t]=function(t){for(var n,r=[],i=O(t),o=i.length-1,a=0;a<=o;a++)n=a===o?this:this.clone(!0),O(i[a])[e](n),l.apply(r,n.get());return this.pushStack(r)}}));var $t=new RegExp("^("+rt+")(?!px)[a-z%]+$","i"),Ft=/^--/,Bt=function(t){var e=t.ownerDocument.defaultView;return e&&e.opener||(e=r),e.getComputedStyle(t)},zt=function(t,e,n){var r,i,o={};for(i in e)o[i]=t.style[i],t.style[i]=e[i];for(i in r=n.call(t),e)t.style[i]=o[i];return r},Ht=new RegExp(ot.join("|"),"i"),Ut="[\\x20\\t\\r\\n\\f]",qt=new RegExp("^"+Ut+"+|((?:^|[^\\\\])(?:\\\\.)*)"+Ut+"+$","g");function Wt(t,e,n){var r,i,o,a,s=Ft.test(e),c=t.style;return(n=n||Bt(t))&&(a=n.getPropertyValue(e)||n[e],s&&a&&(a=a.replace(qt,"$1")||void 0),""!==a||st(t)||(a=O.style(t,e)),!v.pixelBoxStyles()&&$t.test(a)&&Ht.test(e)&&(r=c.width,i=c.minWidth,o=c.maxWidth,c.minWidth=c.maxWidth=c.width=a,a=n.width,c.width=r,c.minWidth=i,c.maxWidth=o)),void 0!==a?a+"":a}function Vt(t,e){return{get:function(){if(!t())return(this.get=e).apply(this,arguments);delete this.get}}}!function(){function t(){if(u){l.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%",at.appendChild(l).appendChild(u);var t=r.getComputedStyle(u);n="1%"!==t.top,c=12===e(t.marginLeft),u.style.right="60%",a=36===e(t.right),i=36===e(t.width),u.style.position="absolute",o=12===e(u.offsetWidth/3),at.removeChild(l),u=null}}function e(t){return Math.round(parseFloat(t))}var n,i,o,a,s,c,l=b.createElement("div"),u=b.createElement("div");u.style&&(u.style.backgroundClip="content-box",u.cloneNode(!0).style.backgroundClip="",v.clearCloneStyle="content-box"===u.style.backgroundClip,O.extend(v,{boxSizingReliable:function(){return t(),i},pixelBoxStyles:function(){return t(),a},pixelPosition:function(){return t(),n},reliableMarginLeft:function(){return t(),c},scrollboxSize:function(){return t(),o},reliableTrDimensions:function(){var t,e,n,i;return null==s&&(t=b.createElement("table"),e=b.createElement("tr"),n=b.createElement("div"),t.style.cssText="position:absolute;left:-11111px;border-collapse:separate",e.style.cssText="border:1px solid",e.style.height="1px",n.style.height="9px",n.style.display="block",at.appendChild(t).appendChild(e).appendChild(n),i=r.getComputedStyle(e),s=parseInt(i.height,10)+parseInt(i.borderTopWidth,10)+parseInt(i.borderBottomWidth,10)===e.offsetHeight,at.removeChild(t)),s}}))}();var Zt=["Webkit","Moz","ms"],Yt=b.createElement("div").style,Xt={};function Kt(t){var e=O.cssProps[t]||Xt[t];return e||(t in Yt?t:Xt[t]=function(t){for(var e=t[0].toUpperCase()+t.slice(1),n=Zt.length;n--;)if((t=Zt[n]+e)in Yt)return t}(t)||t)}var Gt=/^(none|table(?!-c[ea]).+)/,Qt={position:"absolute",visibility:"hidden",display:"block"},Jt={letterSpacing:"0",fontWeight:"400"};function te(t,e,n){var r=it.exec(e);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):e}function ee(t,e,n,r,i,o){var a="width"===e?1:0,s=0,c=0;if(n===(r?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(c+=O.css(t,n+ot[a],!0,i)),r?("content"===n&&(c-=O.css(t,"padding"+ot[a],!0,i)),"margin"!==n&&(c-=O.css(t,"border"+ot[a]+"Width",!0,i))):(c+=O.css(t,"padding"+ot[a],!0,i),"padding"!==n?c+=O.css(t,"border"+ot[a]+"Width",!0,i):s+=O.css(t,"border"+ot[a]+"Width",!0,i));return!r&&o>=0&&(c+=Math.max(0,Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-o-c-s-.5))||0),c}function ne(t,e,n){var r=Bt(t),i=(!v.boxSizingReliable()||n)&&"border-box"===O.css(t,"boxSizing",!1,r),o=i,a=Wt(t,e,r),s="offset"+e[0].toUpperCase()+e.slice(1);if($t.test(a)){if(!n)return a;a="auto"}return(!v.boxSizingReliable()&&i||!v.reliableTrDimensions()&&A(t,"tr")||"auto"===a||!parseFloat(a)&&"inline"===O.css(t,"display",!1,r))&&t.getClientRects().length&&(i="border-box"===O.css(t,"boxSizing",!1,r),(o=s in t)&&(a=t[s])),(a=parseFloat(a)||0)+ee(t,e,n||(i?"border":"content"),o,r,a)+"px"}function re(t,e,n,r,i){return new re.prototype.init(t,e,n,r,i)}O.extend({cssHooks:{opacity:{get:function(t,e){if(e){var n=Wt(t,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(t,e,n,r){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var i,o,a,s=X(e),c=Ft.test(e),l=t.style;if(c||(e=Kt(s)),a=O.cssHooks[e]||O.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(i=a.get(t,!1,r))?i:l[e];"string"===(o=typeof n)&&(i=it.exec(n))&&i[1]&&(n=ut(t,e,i),o="number"),null!=n&&n==n&&("number"!==o||c||(n+=i&&i[3]||(O.cssNumber[s]?"":"px")),v.clearCloneStyle||""!==n||0!==e.indexOf("background")||(l[e]="inherit"),a&&"set"in a&&void 0===(n=a.set(t,n,r))||(c?l.setProperty(e,n):l[e]=n))}},css:function(t,e,n,r){var i,o,a,s=X(e);return Ft.test(e)||(e=Kt(s)),(a=O.cssHooks[e]||O.cssHooks[s])&&"get"in a&&(i=a.get(t,!0,n)),void 0===i&&(i=Wt(t,e,r)),"normal"===i&&e in Jt&&(i=Jt[e]),""===n||n?(o=parseFloat(i),!0===n||isFinite(o)?o||0:i):i}}),O.each(["height","width"],(function(t,e){O.cssHooks[e]={get:function(t,n,r){if(n)return!Gt.test(O.css(t,"display"))||t.getClientRects().length&&t.getBoundingClientRect().width?ne(t,e,r):zt(t,Qt,(function(){return ne(t,e,r)}))},set:function(t,n,r){var i,o=Bt(t),a=!v.scrollboxSize()&&"absolute"===o.position,s=(a||r)&&"border-box"===O.css(t,"boxSizing",!1,o),c=r?ee(t,e,r,s,o):0;return s&&a&&(c-=Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-parseFloat(o[e])-ee(t,e,"border",!1,o)-.5)),c&&(i=it.exec(n))&&"px"!==(i[3]||"px")&&(t.style[e]=n,n=O.css(t,e)),te(0,n,c)}}})),O.cssHooks.marginLeft=Vt(v.reliableMarginLeft,(function(t,e){if(e)return(parseFloat(Wt(t,"marginLeft"))||t.getBoundingClientRect().left-zt(t,{marginLeft:0},(function(){return t.getBoundingClientRect().left})))+"px"})),O.each({margin:"",padding:"",border:"Width"},(function(t,e){O.cssHooks[t+e]={expand:function(n){for(var r=0,i={},o="string"==typeof n?n.split(" "):[n];r<4;r++)i[t+ot[r]+e]=o[r]||o[r-2]||o[0];return i}},"margin"!==t&&(O.cssHooks[t+e].set=te)})),O.fn.extend({css:function(t,e){return W(this,(function(t,e,n){var r,i,o={},a=0;if(Array.isArray(e)){for(r=Bt(t),i=e.length;a<i;a++)o[e[a]]=O.css(t,e[a],!1,r);return o}return void 0!==n?O.style(t,e,n):O.css(t,e)}),t,e,arguments.length>1)}}),O.Tween=re,re.prototype={constructor:re,init:function(t,e,n,r,i,o){this.elem=t,this.prop=n,this.easing=i||O.easing._default,this.options=e,this.start=this.now=this.cur(),this.end=r,this.unit=o||(O.cssNumber[n]?"":"px")},cur:function(){var t=re.propHooks[this.prop];return t&&t.get?t.get(this):re.propHooks._default.get(this)},run:function(t){var e,n=re.propHooks[this.prop];return this.options.duration?this.pos=e=O.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):this.pos=e=t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):re.propHooks._default.set(this),this}},re.prototype.init.prototype=re.prototype,re.propHooks={_default:{get:function(t){var e;return 1!==t.elem.nodeType||null!=t.elem[t.prop]&&null==t.elem.style[t.prop]?t.elem[t.prop]:(e=O.css(t.elem,t.prop,""))&&"auto"!==e?e:0},set:function(t){O.fx.step[t.prop]?O.fx.step[t.prop](t):1!==t.elem.nodeType||!O.cssHooks[t.prop]&&null==t.elem.style[Kt(t.prop)]?t.elem[t.prop]=t.now:O.style(t.elem,t.prop,t.now+t.unit)}}},re.propHooks.scrollTop=re.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},O.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},_default:"swing"},O.fx=re.prototype.init,O.fx.step={};var ie,oe,ae=/^(?:toggle|show|hide)$/,se=/queueHooks$/;function ce(){oe&&(!1===b.hidden&&r.requestAnimationFrame?r.requestAnimationFrame(ce):r.setTimeout(ce,O.fx.interval),O.fx.tick())}function le(){return r.setTimeout((function(){ie=void 0})),ie=Date.now()}function ue(t,e){var n,r=0,i={height:t};for(e=e?1:0;r<4;r+=2-e)i["margin"+(n=ot[r])]=i["padding"+n]=t;return e&&(i.opacity=i.width=t),i}function fe(t,e,n){for(var r,i=(he.tweeners[e]||[]).concat(he.tweeners["*"]),o=0,a=i.length;o<a;o++)if(r=i[o].call(n,e,t))return r}function he(t,e,n){var r,i,o=0,a=he.prefilters.length,s=O.Deferred().always((function(){delete c.elem})),c=function(){if(i)return!1;for(var e=ie||le(),n=Math.max(0,l.startTime+l.duration-e),r=1-(n/l.duration||0),o=0,a=l.tweens.length;o<a;o++)l.tweens[o].run(r);return s.notifyWith(t,[l,r,n]),r<1&&a?n:(a||s.notifyWith(t,[l,1,0]),s.resolveWith(t,[l]),!1)},l=s.promise({elem:t,props:O.extend({},e),opts:O.extend(!0,{specialEasing:{},easing:O.easing._default},n),originalProperties:e,originalOptions:n,startTime:ie||le(),duration:n.duration,tweens:[],createTween:function(e,n){var r=O.Tween(t,l.opts,e,n,l.opts.specialEasing[e]||l.opts.easing);return l.tweens.push(r),r},stop:function(e){var n=0,r=e?l.tweens.length:0;if(i)return this;for(i=!0;n<r;n++)l.tweens[n].run(1);return e?(s.notifyWith(t,[l,1,0]),s.resolveWith(t,[l,e])):s.rejectWith(t,[l,e]),this}}),u=l.props;for(!function(t,e){var n,r,i,o,a;for(n in t)if(i=e[r=X(n)],o=t[n],Array.isArray(o)&&(i=o[1],o=t[n]=o[0]),n!==r&&(t[r]=o,delete t[n]),(a=O.cssHooks[r])&&"expand"in a)for(n in o=a.expand(o),delete t[r],o)n in t||(t[n]=o[n],e[n]=i);else e[r]=i}(u,l.opts.specialEasing);o<a;o++)if(r=he.prefilters[o].call(l,t,u,l.opts))return g(r.stop)&&(O._queueHooks(l.elem,l.opts.queue).stop=r.stop.bind(r)),r;return O.map(u,fe,l),g(l.opts.start)&&l.opts.start.call(t,l),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always),O.fx.timer(O.extend(c,{elem:t,anim:l,queue:l.opts.queue})),l}O.Animation=O.extend(he,{tweeners:{"*":[function(t,e){var n=this.createTween(t,e);return ut(n.elem,t,it.exec(e),n),n}]},tweener:function(t,e){g(t)?(e=t,t=["*"]):t=t.match($);for(var n,r=0,i=t.length;r<i;r++)n=t[r],he.tweeners[n]=he.tweeners[n]||[],he.tweeners[n].unshift(e)},prefilters:[function(t,e,n){var r,i,o,a,s,c,l,u,f="width"in e||"height"in e,h=this,d={},p=t.style,m=t.nodeType&&lt(t),v=Q.get(t,"fxshow");for(r in n.queue||(null==(a=O._queueHooks(t,"fx")).unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,h.always((function(){h.always((function(){a.unqueued--,O.queue(t,"fx").length||a.empty.fire()}))}))),e)if(i=e[r],ae.test(i)){if(delete e[r],o=o||"toggle"===i,i===(m?"hide":"show")){if("show"!==i||!v||void 0===v[r])continue;m=!0}d[r]=v&&v[r]||O.style(t,r)}if((c=!O.isEmptyObject(e))||!O.isEmptyObject(d))for(r in f&&1===t.nodeType&&(n.overflow=[p.overflow,p.overflowX,p.overflowY],null==(l=v&&v.display)&&(l=Q.get(t,"display")),"none"===(u=O.css(t,"display"))&&(l?u=l:(dt([t],!0),l=t.style.display||l,u=O.css(t,"display"),dt([t]))),("inline"===u||"inline-block"===u&&null!=l)&&"none"===O.css(t,"float")&&(c||(h.done((function(){p.display=l})),null==l&&(u=p.display,l="none"===u?"":u)),p.display="inline-block")),n.overflow&&(p.overflow="hidden",h.always((function(){p.overflow=n.overflow[0],p.overflowX=n.overflow[1],p.overflowY=n.overflow[2]}))),c=!1,d)c||(v?"hidden"in v&&(m=v.hidden):v=Q.access(t,"fxshow",{display:l}),o&&(v.hidden=!m),m&&dt([t],!0),h.done((function(){for(r in m||dt([t]),Q.remove(t,"fxshow"),d)O.style(t,r,d[r])}))),c=fe(m?v[r]:0,r,h),r in v||(v[r]=c.start,m&&(c.end=c.start,c.start=0))}],prefilter:function(t,e){e?he.prefilters.unshift(t):he.prefilters.push(t)}}),O.speed=function(t,e,n){var r=t&&"object"==typeof t?O.extend({},t):{complete:n||!n&&e||g(t)&&t,duration:t,easing:n&&e||e&&!g(e)&&e};return O.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in O.fx.speeds?r.duration=O.fx.speeds[r.duration]:r.duration=O.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){g(r.old)&&r.old.call(this),r.queue&&O.dequeue(this,r.queue)},r},O.fn.extend({fadeTo:function(t,e,n,r){return this.filter(lt).css("opacity",0).show().end().animate({opacity:e},t,n,r)},animate:function(t,e,n,r){var i=O.isEmptyObject(t),o=O.speed(e,n,r),a=function(){var e=he(this,O.extend({},t),o);(i||Q.get(this,"finish"))&&e.stop(!0)};return a.finish=a,i||!1===o.queue?this.each(a):this.queue(o.queue,a)},stop:function(t,e,n){var r=function(t){var e=t.stop;delete t.stop,e(n)};return"string"!=typeof t&&(n=e,e=t,t=void 0),e&&this.queue(t||"fx",[]),this.each((function(){var e=!0,i=null!=t&&t+"queueHooks",o=O.timers,a=Q.get(this);if(i)a[i]&&a[i].stop&&r(a[i]);else for(i in a)a[i]&&a[i].stop&&se.test(i)&&r(a[i]);for(i=o.length;i--;)o[i].elem!==this||null!=t&&o[i].queue!==t||(o[i].anim.stop(n),e=!1,o.splice(i,1));!e&&n||O.dequeue(this,t)}))},finish:function(t){return!1!==t&&(t=t||"fx"),this.each((function(){var e,n=Q.get(this),r=n[t+"queue"],i=n[t+"queueHooks"],o=O.timers,a=r?r.length:0;for(n.finish=!0,O.queue(this,t,[]),i&&i.stop&&i.stop.call(this,!0),e=o.length;e--;)o[e].elem===this&&o[e].queue===t&&(o[e].anim.stop(!0),o.splice(e,1));for(e=0;e<a;e++)r[e]&&r[e].finish&&r[e].finish.call(this);delete n.finish}))}}),O.each(["toggle","show","hide"],(function(t,e){var n=O.fn[e];O.fn[e]=function(t,r,i){return null==t||"boolean"==typeof t?n.apply(this,arguments):this.animate(ue(e,!0),t,r,i)}})),O.each({slideDown:ue("show"),slideUp:ue("hide"),slideToggle:ue("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},(function(t,e){O.fn[t]=function(t,n,r){return this.animate(e,t,n,r)}})),O.timers=[],O.fx.tick=function(){var t,e=0,n=O.timers;for(ie=Date.now();e<n.length;e++)(t=n[e])()||n[e]!==t||n.splice(e--,1);n.length||O.fx.stop(),ie=void 0},O.fx.timer=function(t){O.timers.push(t),O.fx.start()},O.fx.interval=13,O.fx.start=function(){oe||(oe=!0,ce())},O.fx.stop=function(){oe=null},O.fx.speeds={slow:600,fast:200,_default:400},O.fn.delay=function(t,e){return t=O.fx&&O.fx.speeds[t]||t,e=e||"fx",this.queue(e,(function(e,n){var i=r.setTimeout(e,t);n.stop=function(){r.clearTimeout(i)}}))},function(){var t=b.createElement("input"),e=b.createElement("select").appendChild(b.createElement("option"));t.type="checkbox",v.checkOn=""!==t.value,v.optSelected=e.selected,(t=b.createElement("input")).value="t",t.type="radio",v.radioValue="t"===t.value}();var de,pe=O.expr.attrHandle;O.fn.extend({attr:function(t,e){return W(this,O.attr,t,e,arguments.length>1)},removeAttr:function(t){return this.each((function(){O.removeAttr(this,t)}))}}),O.extend({attr:function(t,e,n){var r,i,o=t.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===t.getAttribute?O.prop(t,e,n):(1===o&&O.isXMLDoc(t)||(i=O.attrHooks[e.toLowerCase()]||(O.expr.match.bool.test(e)?de:void 0)),void 0!==n?null===n?void O.removeAttr(t,e):i&&"set"in i&&void 0!==(r=i.set(t,n,e))?r:(t.setAttribute(e,n+""),n):i&&"get"in i&&null!==(r=i.get(t,e))?r:null==(r=O.find.attr(t,e))?void 0:r)},attrHooks:{type:{set:function(t,e){if(!v.radioValue&&"radio"===e&&A(t,"input")){var n=t.value;return t.setAttribute("type",e),n&&(t.value=n),e}}}},removeAttr:function(t,e){var n,r=0,i=e&&e.match($);if(i&&1===t.nodeType)for(;n=i[r++];)t.removeAttribute(n)}}),de={set:function(t,e,n){return!1===e?O.removeAttr(t,n):t.setAttribute(n,n),n}},O.each(O.expr.match.bool.source.match(/\w+/g),(function(t,e){var n=pe[e]||O.find.attr;pe[e]=function(t,e,r){var i,o,a=e.toLowerCase();return r||(o=pe[a],pe[a]=i,i=null!=n(t,e,r)?a:null,pe[a]=o),i}}));var me=/^(?:input|select|textarea|button)$/i,ve=/^(?:a|area)$/i;function ge(t){return(t.match($)||[]).join(" ")}function ye(t){return t.getAttribute&&t.getAttribute("class")||""}function be(t){return Array.isArray(t)?t:"string"==typeof t&&t.match($)||[]}O.fn.extend({prop:function(t,e){return W(this,O.prop,t,e,arguments.length>1)},removeProp:function(t){return this.each((function(){delete this[O.propFix[t]||t]}))}}),O.extend({prop:function(t,e,n){var r,i,o=t.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&O.isXMLDoc(t)||(e=O.propFix[e]||e,i=O.propHooks[e]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(t,n,e))?r:t[e]=n:i&&"get"in i&&null!==(r=i.get(t,e))?r:t[e]},propHooks:{tabIndex:{get:function(t){var e=O.find.attr(t,"tabindex");return e?parseInt(e,10):me.test(t.nodeName)||ve.test(t.nodeName)&&t.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),v.optSelected||(O.propHooks.selected={get:function(t){var e=t.parentNode;return e&&e.parentNode&&e.parentNode.selectedIndex,null},set:function(t){var e=t.parentNode;e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex)}}),O.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){O.propFix[this.toLowerCase()]=this})),O.fn.extend({addClass:function(t){var e,n,r,i,o,a;return g(t)?this.each((function(e){O(this).addClass(t.call(this,e,ye(this)))})):(e=be(t)).length?this.each((function(){if(r=ye(this),n=1===this.nodeType&&" "+ge(r)+" "){for(o=0;o<e.length;o++)i=e[o],n.indexOf(" "+i+" ")<0&&(n+=i+" ");a=ge(n),r!==a&&this.setAttribute("class",a)}})):this},removeClass:function(t){var e,n,r,i,o,a;return g(t)?this.each((function(e){O(this).removeClass(t.call(this,e,ye(this)))})):arguments.length?(e=be(t)).length?this.each((function(){if(r=ye(this),n=1===this.nodeType&&" "+ge(r)+" "){for(o=0;o<e.length;o++)for(i=e[o];n.indexOf(" "+i+" ")>-1;)n=n.replace(" "+i+" "," ");a=ge(n),r!==a&&this.setAttribute("class",a)}})):this:this.attr("class","")},toggleClass:function(t,e){var n,r,i,o,a=typeof t,s="string"===a||Array.isArray(t);return g(t)?this.each((function(n){O(this).toggleClass(t.call(this,n,ye(this),e),e)})):"boolean"==typeof e&&s?e?this.addClass(t):this.removeClass(t):(n=be(t),this.each((function(){if(s)for(o=O(this),i=0;i<n.length;i++)r=n[i],o.hasClass(r)?o.removeClass(r):o.addClass(r);else void 0!==t&&"boolean"!==a||((r=ye(this))&&Q.set(this,"__className__",r),this.setAttribute&&this.setAttribute("class",r||!1===t?"":Q.get(this,"__className__")||""))})))},hasClass:function(t){var e,n,r=0;for(e=" "+t+" ";n=this[r++];)if(1===n.nodeType&&(" "+ge(ye(n))+" ").indexOf(e)>-1)return!0;return!1}});var we=/\r/g;O.fn.extend({val:function(t){var e,n,r,i=this[0];return arguments.length?(r=g(t),this.each((function(n){var i;1===this.nodeType&&(null==(i=r?t.call(this,n,O(this).val()):t)?i="":"number"==typeof i?i+="":Array.isArray(i)&&(i=O.map(i,(function(t){return null==t?"":t+""}))),(e=O.valHooks[this.type]||O.valHooks[this.nodeName.toLowerCase()])&&"set"in e&&void 0!==e.set(this,i,"value")||(this.value=i))}))):i?(e=O.valHooks[i.type]||O.valHooks[i.nodeName.toLowerCase()])&&"get"in e&&void 0!==(n=e.get(i,"value"))?n:"string"==typeof(n=i.value)?n.replace(we,""):null==n?"":n:void 0}}),O.extend({valHooks:{option:{get:function(t){var e=O.find.attr(t,"value");return null!=e?e:ge(O.text(t))}},select:{get:function(t){var e,n,r,i=t.options,o=t.selectedIndex,a="select-one"===t.type,s=a?null:[],c=a?o+1:i.length;for(r=o<0?c:a?o:0;r<c;r++)if(((n=i[r]).selected||r===o)&&!n.disabled&&(!n.parentNode.disabled||!A(n.parentNode,"optgroup"))){if(e=O(n).val(),a)return e;s.push(e)}return s},set:function(t,e){for(var n,r,i=t.options,o=O.makeArray(e),a=i.length;a--;)((r=i[a]).selected=O.inArray(O.valHooks.option.get(r),o)>-1)&&(n=!0);return n||(t.selectedIndex=-1),o}}}}),O.each(["radio","checkbox"],(function(){O.valHooks[this]={set:function(t,e){if(Array.isArray(e))return t.checked=O.inArray(O(t).val(),e)>-1}},v.checkOn||(O.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})})),v.focusin="onfocusin"in r;var _e=/^(?:focusinfocus|focusoutblur)$/,xe=function(t){t.stopPropagation()};O.extend(O.event,{trigger:function(t,e,n,i){var o,a,s,c,l,u,f,h,p=[n||b],m=d.call(t,"type")?t.type:t,v=d.call(t,"namespace")?t.namespace.split("."):[];if(a=h=s=n=n||b,3!==n.nodeType&&8!==n.nodeType&&!_e.test(m+O.event.triggered)&&(m.indexOf(".")>-1&&(v=m.split("."),m=v.shift(),v.sort()),l=m.indexOf(":")<0&&"on"+m,(t=t[O.expando]?t:new O.Event(m,"object"==typeof t&&t)).isTrigger=i?2:3,t.namespace=v.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+v.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=n),e=null==e?[t]:O.makeArray(e,[t]),f=O.event.special[m]||{},i||!f.trigger||!1!==f.trigger.apply(n,e))){if(!i&&!f.noBubble&&!y(n)){for(c=f.delegateType||m,_e.test(c+m)||(a=a.parentNode);a;a=a.parentNode)p.push(a),s=a;s===(n.ownerDocument||b)&&p.push(s.defaultView||s.parentWindow||r)}for(o=0;(a=p[o++])&&!t.isPropagationStopped();)h=a,t.type=o>1?c:f.bindType||m,(u=(Q.get(a,"events")||Object.create(null))[t.type]&&Q.get(a,"handle"))&&u.apply(a,e),(u=l&&a[l])&&u.apply&&K(a)&&(t.result=u.apply(a,e),!1===t.result&&t.preventDefault());return t.type=m,i||t.isDefaultPrevented()||f._default&&!1!==f._default.apply(p.pop(),e)||!K(n)||l&&g(n[m])&&!y(n)&&((s=n[l])&&(n[l]=null),O.event.triggered=m,t.isPropagationStopped()&&h.addEventListener(m,xe),n[m](),t.isPropagationStopped()&&h.removeEventListener(m,xe),O.event.triggered=void 0,s&&(n[l]=s)),t.result}},simulate:function(t,e,n){var r=O.extend(new O.Event,n,{type:t,isSimulated:!0});O.event.trigger(r,null,e)}}),O.fn.extend({trigger:function(t,e){return this.each((function(){O.event.trigger(t,e,this)}))},triggerHandler:function(t,e){var n=this[0];if(n)return O.event.trigger(t,e,n,!0)}}),v.focusin||O.each({focus:"focusin",blur:"focusout"},(function(t,e){var n=function(t){O.event.simulate(e,t.target,O.event.fix(t))};O.event.special[e]={setup:function(){var r=this.ownerDocument||this.document||this,i=Q.access(r,e);i||r.addEventListener(t,n,!0),Q.access(r,e,(i||0)+1)},teardown:function(){var r=this.ownerDocument||this.document||this,i=Q.access(r,e)-1;i?Q.access(r,e,i):(r.removeEventListener(t,n,!0),Q.remove(r,e))}}}));var ke=r.location,Oe={guid:Date.now()},Ce=/\?/;O.parseXML=function(t){var e,n;if(!t||"string"!=typeof t)return null;try{e=(new r.DOMParser).parseFromString(t,"text/xml")}catch(t){}return n=e&&e.getElementsByTagName("parsererror")[0],e&&!n||O.error("Invalid XML: "+(n?O.map(n.childNodes,(function(t){return t.textContent})).join("\n"):t)),e};var Se=/\[\]$/,Ee=/\r?\n/g,Te=/^(?:submit|button|image|reset|file)$/i,Pe=/^(?:input|select|textarea|keygen)/i;function Ae(t,e,n,r){var i;if(Array.isArray(e))O.each(e,(function(e,i){n||Se.test(t)?r(t,i):Ae(t+"["+("object"==typeof i&&null!=i?e:"")+"]",i,n,r)}));else if(n||"object"!==x(e))r(t,e);else for(i in e)Ae(t+"["+i+"]",e[i],n,r)}O.param=function(t,e){var n,r=[],i=function(t,e){var n=g(e)?e():e;r[r.length]=encodeURIComponent(t)+"="+encodeURIComponent(null==n?"":n)};if(null==t)return"";if(Array.isArray(t)||t.jquery&&!O.isPlainObject(t))O.each(t,(function(){i(this.name,this.value)}));else for(n in t)Ae(n,t[n],e,i);return r.join("&")},O.fn.extend({serialize:function(){return O.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var t=O.prop(this,"elements");return t?O.makeArray(t):this})).filter((function(){var t=this.type;return this.name&&!O(this).is(":disabled")&&Pe.test(this.nodeName)&&!Te.test(t)&&(this.checked||!pt.test(t))})).map((function(t,e){var n=O(this).val();return null==n?null:Array.isArray(n)?O.map(n,(function(t){return{name:e.name,value:t.replace(Ee,"\r\n")}})):{name:e.name,value:n.replace(Ee,"\r\n")}})).get()}});var je=/%20/g,De=/#.*$/,Me=/([?&])_=[^&]*/,Re=/^(.*?):[ \t]*([^\r\n]*)$/gm,Ie=/^(?:GET|HEAD)$/,Ne=/^\/\//,Le={},$e={},Fe="*/".concat("*"),Be=b.createElement("a");function ze(t){return function(e,n){"string"!=typeof e&&(n=e,e="*");var r,i=0,o=e.toLowerCase().match($)||[];if(g(n))for(;r=o[i++];)"+"===r[0]?(r=r.slice(1)||"*",(t[r]=t[r]||[]).unshift(n)):(t[r]=t[r]||[]).push(n)}}function He(t,e,n,r){var i={},o=t===$e;function a(s){var c;return i[s]=!0,O.each(t[s]||[],(function(t,s){var l=s(e,n,r);return"string"!=typeof l||o||i[l]?o?!(c=l):void 0:(e.dataTypes.unshift(l),a(l),!1)})),c}return a(e.dataTypes[0])||!i["*"]&&a("*")}function Ue(t,e){var n,r,i=O.ajaxSettings.flatOptions||{};for(n in e)void 0!==e[n]&&((i[n]?t:r||(r={}))[n]=e[n]);return r&&O.extend(!0,t,r),t}Be.href=ke.href,O.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:ke.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(ke.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Fe,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":O.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?Ue(Ue(t,O.ajaxSettings),e):Ue(O.ajaxSettings,t)},ajaxPrefilter:ze(Le),ajaxTransport:ze($e),ajax:function(t,e){"object"==typeof t&&(e=t,t=void 0),e=e||{};var n,i,o,a,s,c,l,u,f,h,d=O.ajaxSetup({},e),p=d.context||d,m=d.context&&(p.nodeType||p.jquery)?O(p):O.event,v=O.Deferred(),g=O.Callbacks("once memory"),y=d.statusCode||{},w={},_={},x="canceled",k={readyState:0,getResponseHeader:function(t){var e;if(l){if(!a)for(a={};e=Re.exec(o);)a[e[1].toLowerCase()+" "]=(a[e[1].toLowerCase()+" "]||[]).concat(e[2]);e=a[t.toLowerCase()+" "]}return null==e?null:e.join(", ")},getAllResponseHeaders:function(){return l?o:null},setRequestHeader:function(t,e){return null==l&&(t=_[t.toLowerCase()]=_[t.toLowerCase()]||t,w[t]=e),this},overrideMimeType:function(t){return null==l&&(d.mimeType=t),this},statusCode:function(t){var e;if(t)if(l)k.always(t[k.status]);else for(e in t)y[e]=[y[e],t[e]];return this},abort:function(t){var e=t||x;return n&&n.abort(e),C(0,e),this}};if(v.promise(k),d.url=((t||d.url||ke.href)+"").replace(Ne,ke.protocol+"//"),d.type=e.method||e.type||d.method||d.type,d.dataTypes=(d.dataType||"*").toLowerCase().match($)||[""],null==d.crossDomain){c=b.createElement("a");try{c.href=d.url,c.href=c.href,d.crossDomain=Be.protocol+"//"+Be.host!=c.protocol+"//"+c.host}catch(t){d.crossDomain=!0}}if(d.data&&d.processData&&"string"!=typeof d.data&&(d.data=O.param(d.data,d.traditional)),He(Le,d,e,k),l)return k;for(f in(u=O.event&&d.global)&&0==O.active++&&O.event.trigger("ajaxStart"),d.type=d.type.toUpperCase(),d.hasContent=!Ie.test(d.type),i=d.url.replace(De,""),d.hasContent?d.data&&d.processData&&0===(d.contentType||"").indexOf("application/x-www-form-urlencoded")&&(d.data=d.data.replace(je,"+")):(h=d.url.slice(i.length),d.data&&(d.processData||"string"==typeof d.data)&&(i+=(Ce.test(i)?"&":"?")+d.data,delete d.data),!1===d.cache&&(i=i.replace(Me,"$1"),h=(Ce.test(i)?"&":"?")+"_="+Oe.guid+++h),d.url=i+h),d.ifModified&&(O.lastModified[i]&&k.setRequestHeader("If-Modified-Since",O.lastModified[i]),O.etag[i]&&k.setRequestHeader("If-None-Match",O.etag[i])),(d.data&&d.hasContent&&!1!==d.contentType||e.contentType)&&k.setRequestHeader("Content-Type",d.contentType),k.setRequestHeader("Accept",d.dataTypes[0]&&d.accepts[d.dataTypes[0]]?d.accepts[d.dataTypes[0]]+("*"!==d.dataTypes[0]?", "+Fe+"; q=0.01":""):d.accepts["*"]),d.headers)k.setRequestHeader(f,d.headers[f]);if(d.beforeSend&&(!1===d.beforeSend.call(p,k,d)||l))return k.abort();if(x="abort",g.add(d.complete),k.done(d.success),k.fail(d.error),n=He($e,d,e,k)){if(k.readyState=1,u&&m.trigger("ajaxSend",[k,d]),l)return k;d.async&&d.timeout>0&&(s=r.setTimeout((function(){k.abort("timeout")}),d.timeout));try{l=!1,n.send(w,C)}catch(t){if(l)throw t;C(-1,t)}}else C(-1,"No Transport");function C(t,e,a,c){var f,h,b,w,_,x=e;l||(l=!0,s&&r.clearTimeout(s),n=void 0,o=c||"",k.readyState=t>0?4:0,f=t>=200&&t<300||304===t,a&&(w=function(t,e,n){for(var r,i,o,a,s=t.contents,c=t.dataTypes;"*"===c[0];)c.shift(),void 0===r&&(r=t.mimeType||e.getResponseHeader("Content-Type"));if(r)for(i in s)if(s[i]&&s[i].test(r)){c.unshift(i);break}if(c[0]in n)o=c[0];else{for(i in n){if(!c[0]||t.converters[i+" "+c[0]]){o=i;break}a||(a=i)}o=o||a}if(o)return o!==c[0]&&c.unshift(o),n[o]}(d,k,a)),!f&&O.inArray("script",d.dataTypes)>-1&&O.inArray("json",d.dataTypes)<0&&(d.converters["text script"]=function(){}),w=function(t,e,n,r){var i,o,a,s,c,l={},u=t.dataTypes.slice();if(u[1])for(a in t.converters)l[a.toLowerCase()]=t.converters[a];for(o=u.shift();o;)if(t.responseFields[o]&&(n[t.responseFields[o]]=e),!c&&r&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),c=o,o=u.shift())if("*"===o)o=c;else if("*"!==c&&c!==o){if(!(a=l[c+" "+o]||l["* "+o]))for(i in l)if((s=i.split(" "))[1]===o&&(a=l[c+" "+s[0]]||l["* "+s[0]])){!0===a?a=l[i]:!0!==l[i]&&(o=s[0],u.unshift(s[1]));break}if(!0!==a)if(a&&t.throws)e=a(e);else try{e=a(e)}catch(t){return{state:"parsererror",error:a?t:"No conversion from "+c+" to "+o}}}return{state:"success",data:e}}(d,w,k,f),f?(d.ifModified&&((_=k.getResponseHeader("Last-Modified"))&&(O.lastModified[i]=_),(_=k.getResponseHeader("etag"))&&(O.etag[i]=_)),204===t||"HEAD"===d.type?x="nocontent":304===t?x="notmodified":(x=w.state,h=w.data,f=!(b=w.error))):(b=x,!t&&x||(x="error",t<0&&(t=0))),k.status=t,k.statusText=(e||x)+"",f?v.resolveWith(p,[h,x,k]):v.rejectWith(p,[k,x,b]),k.statusCode(y),y=void 0,u&&m.trigger(f?"ajaxSuccess":"ajaxError",[k,d,f?h:b]),g.fireWith(p,[k,x]),u&&(m.trigger("ajaxComplete",[k,d]),--O.active||O.event.trigger("ajaxStop")))}return k},getJSON:function(t,e,n){return O.get(t,e,n,"json")},getScript:function(t,e){return O.get(t,void 0,e,"script")}}),O.each(["get","post"],(function(t,e){O[e]=function(t,n,r,i){return g(n)&&(i=i||r,r=n,n=void 0),O.ajax(O.extend({url:t,type:e,dataType:i,data:n,success:r},O.isPlainObject(t)&&t))}})),O.ajaxPrefilter((function(t){var e;for(e in t.headers)"content-type"===e.toLowerCase()&&(t.contentType=t.headers[e]||"")})),O._evalUrl=function(t,e,n){return O.ajax({url:t,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(t){O.globalEval(t,e,n)}})},O.fn.extend({wrapAll:function(t){var e;return this[0]&&(g(t)&&(t=t.call(this[0])),e=O(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map((function(){for(var t=this;t.firstElementChild;)t=t.firstElementChild;return t})).append(this)),this},wrapInner:function(t){return g(t)?this.each((function(e){O(this).wrapInner(t.call(this,e))})):this.each((function(){var e=O(this),n=e.contents();n.length?n.wrapAll(t):e.append(t)}))},wrap:function(t){var e=g(t);return this.each((function(n){O(this).wrapAll(e?t.call(this,n):t)}))},unwrap:function(t){return this.parent(t).not("body").each((function(){O(this).replaceWith(this.childNodes)})),this}}),O.expr.pseudos.hidden=function(t){return!O.expr.pseudos.visible(t)},O.expr.pseudos.visible=function(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)},O.ajaxSettings.xhr=function(){try{return new r.XMLHttpRequest}catch(t){}};var qe={0:200,1223:204},We=O.ajaxSettings.xhr();v.cors=!!We&&"withCredentials"in We,v.ajax=We=!!We,O.ajaxTransport((function(t){var e,n;if(v.cors||We&&!t.crossDomain)return{send:function(i,o){var a,s=t.xhr();if(s.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(a in t.xhrFields)s[a]=t.xhrFields[a];for(a in t.mimeType&&s.overrideMimeType&&s.overrideMimeType(t.mimeType),t.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest"),i)s.setRequestHeader(a,i[a]);e=function(t){return function(){e&&(e=n=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===t?s.abort():"error"===t?"number"!=typeof s.status?o(0,"error"):o(s.status,s.statusText):o(qe[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=e(),n=s.onerror=s.ontimeout=e("error"),void 0!==s.onabort?s.onabort=n:s.onreadystatechange=function(){4===s.readyState&&r.setTimeout((function(){e&&n()}))},e=e("abort");try{s.send(t.hasContent&&t.data||null)}catch(t){if(e)throw t}},abort:function(){e&&e()}}})),O.ajaxPrefilter((function(t){t.crossDomain&&(t.contents.script=!1)})),O.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(t){return O.globalEval(t),t}}}),O.ajaxPrefilter("script",(function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET")})),O.ajaxTransport("script",(function(t){var e,n;if(t.crossDomain||t.scriptAttrs)return{send:function(r,i){e=O("<script>").attr(t.scriptAttrs||{}).prop({charset:t.scriptCharset,src:t.url}).on("load error",n=function(t){e.remove(),n=null,t&&i("error"===t.type?404:200,t.type)}),b.head.appendChild(e[0])},abort:function(){n&&n()}}}));var Ve=[],Ze=/(=)\?(?=&|$)|\?\?/;O.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=Ve.pop()||O.expando+"_"+Oe.guid++;return this[t]=!0,t}}),O.ajaxPrefilter("json jsonp",(function(t,e,n){var i,o,a,s=!1!==t.jsonp&&(Ze.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&Ze.test(t.data)&&"data");if(s||"jsonp"===t.dataTypes[0])return i=t.jsonpCallback=g(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,s?t[s]=t[s].replace(Ze,"$1"+i):!1!==t.jsonp&&(t.url+=(Ce.test(t.url)?"&":"?")+t.jsonp+"="+i),t.converters["script json"]=function(){return a||O.error(i+" was not called"),a[0]},t.dataTypes[0]="json",o=r[i],r[i]=function(){a=arguments},n.always((function(){void 0===o?O(r).removeProp(i):r[i]=o,t[i]&&(t.jsonpCallback=e.jsonpCallback,Ve.push(i)),a&&g(o)&&o(a[0]),a=o=void 0})),"script"})),v.createHTMLDocument=function(){var t=b.implementation.createHTMLDocument("").body;return t.innerHTML="<form></form><form></form>",2===t.childNodes.length}(),O.parseHTML=function(t,e,n){return"string"!=typeof t?[]:("boolean"==typeof e&&(n=e,e=!1),e||(v.createHTMLDocument?((r=(e=b.implementation.createHTMLDocument("")).createElement("base")).href=b.location.href,e.head.appendChild(r)):e=b),o=!n&&[],(i=j.exec(t))?[e.createElement(i[1])]:(i=_t([t],e,o),o&&o.length&&O(o).remove(),O.merge([],i.childNodes)));var r,i,o},O.fn.load=function(t,e,n){var r,i,o,a=this,s=t.indexOf(" ");return s>-1&&(r=ge(t.slice(s)),t=t.slice(0,s)),g(e)?(n=e,e=void 0):e&&"object"==typeof e&&(i="POST"),a.length>0&&O.ajax({url:t,type:i||"GET",dataType:"html",data:e}).done((function(t){o=arguments,a.html(r?O("<div>").append(O.parseHTML(t)).find(r):t)})).always(n&&function(t,e){a.each((function(){n.apply(this,o||[t.responseText,e,t])}))}),this},O.expr.pseudos.animated=function(t){return O.grep(O.timers,(function(e){return t===e.elem})).length},O.offset={setOffset:function(t,e,n){var r,i,o,a,s,c,l=O.css(t,"position"),u=O(t),f={};"static"===l&&(t.style.position="relative"),s=u.offset(),o=O.css(t,"top"),c=O.css(t,"left"),("absolute"===l||"fixed"===l)&&(o+c).indexOf("auto")>-1?(a=(r=u.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(c)||0),g(e)&&(e=e.call(t,n,O.extend({},s))),null!=e.top&&(f.top=e.top-s.top+a),null!=e.left&&(f.left=e.left-s.left+i),"using"in e?e.using.call(t,f):u.css(f)}},O.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each((function(e){O.offset.setOffset(this,t,e)}));var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var t,e,n,r=this[0],i={top:0,left:0};if("fixed"===O.css(r,"position"))e=r.getBoundingClientRect();else{for(e=this.offset(),n=r.ownerDocument,t=r.offsetParent||n.documentElement;t&&(t===n.body||t===n.documentElement)&&"static"===O.css(t,"position");)t=t.parentNode;t&&t!==r&&1===t.nodeType&&((i=O(t).offset()).top+=O.css(t,"borderTopWidth",!0),i.left+=O.css(t,"borderLeftWidth",!0))}return{top:e.top-i.top-O.css(r,"marginTop",!0),left:e.left-i.left-O.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map((function(){for(var t=this.offsetParent;t&&"static"===O.css(t,"position");)t=t.offsetParent;return t||at}))}}),O.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(t,e){var n="pageYOffset"===e;O.fn[t]=function(r){return W(this,(function(t,r,i){var o;if(y(t)?o=t:9===t.nodeType&&(o=t.defaultView),void 0===i)return o?o[e]:t[r];o?o.scrollTo(n?o.pageXOffset:i,n?i:o.pageYOffset):t[r]=i}),t,r,arguments.length)}})),O.each(["top","left"],(function(t,e){O.cssHooks[e]=Vt(v.pixelPosition,(function(t,n){if(n)return n=Wt(t,e),$t.test(n)?O(t).position()[e]+"px":n}))})),O.each({Height:"height",Width:"width"},(function(t,e){O.each({padding:"inner"+t,content:e,"":"outer"+t},(function(n,r){O.fn[r]=function(i,o){var a=arguments.length&&(n||"boolean"!=typeof i),s=n||(!0===i||!0===o?"margin":"border");return W(this,(function(e,n,i){var o;return y(e)?0===r.indexOf("outer")?e["inner"+t]:e.document.documentElement["client"+t]:9===e.nodeType?(o=e.documentElement,Math.max(e.body["scroll"+t],o["scroll"+t],e.body["offset"+t],o["offset"+t],o["client"+t])):void 0===i?O.css(e,n,s):O.style(e,n,i,s)}),e,a?i:void 0,a)}}))})),O.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],(function(t,e){O.fn[e]=function(t){return this.on(e,t)}})),O.fn.extend({bind:function(t,e,n){return this.on(t,null,e,n)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,n,r){return this.on(e,t,n,r)},undelegate:function(t,e,n){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",n)},hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)}}),O.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),(function(t,e){O.fn[e]=function(t,n){return arguments.length>0?this.on(e,null,t,n):this.trigger(e)}}));var Ye=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;O.proxy=function(t,e){var n,r,i;if("string"==typeof e&&(n=t[e],e=t,t=n),g(t))return r=s.call(arguments,2),i=function(){return t.apply(e||this,r.concat(s.call(arguments)))},i.guid=t.guid=t.guid||O.guid++,i},O.holdReady=function(t){t?O.readyWait++:O.ready(!0)},O.isArray=Array.isArray,O.parseJSON=JSON.parse,O.nodeName=A,O.isFunction=g,O.isWindow=y,O.camelCase=X,O.type=x,O.now=Date.now,O.isNumeric=function(t){var e=O.type(t);return("number"===e||"string"===e)&&!isNaN(t-parseFloat(t))},O.trim=function(t){return null==t?"":(t+"").replace(Ye,"$1")},void 0===(n=function(){return O}.apply(e,[]))||(t.exports=n);var Xe=r.jQuery,Ke=r.$;return O.noConflict=function(t){return r.$===O&&(r.$=Ke),t&&r.jQuery===O&&(r.jQuery=Xe),O},void 0===i&&(r.jQuery=r.$=O),O}))},5518:(t,e,n)=>{var r=n(3806),i=function(t){var e="",n=Object.keys(t);return n.forEach((function(i,o){var a=t[i];(function(t){return/[height|width]$/.test(t)})(i=r(i))&&"number"==typeof a&&(a+="px"),e+=!0===a?i:!1===a?"not "+i:"("+i+": "+a+")",o<n.length-1&&(e+=" and ")})),e};t.exports=function(t){var e="";return"string"==typeof t?t:t instanceof Array?(t.forEach((function(n,r){e+=i(n),r<t.length-1&&(e+=", ")})),e):i(t)}},572:(t,e,n)=>{var r,i,o,a=n(2702);!function(s){i=[n(2702)],r=function(t){var e,n,r,i,o,s,c="Close",l="BeforeClose",u="AfterClose",f="BeforeAppend",h="MarkupParse",d="Open",p="Change",m="mfp",v="."+m,g="mfp-ready",y="mfp-removing",b="mfp-prevent-close",w=function(){},_=!!a,x=t(window),k=function(t,n){e.ev.on(m+t+v,n)},O=function(e,n,r,i){var o=document.createElement("div");return o.className="mfp-"+e,r&&(o.innerHTML=r),i?n&&n.appendChild(o):(o=t(o),n&&o.appendTo(n)),o},C=function(n,r){e.ev.triggerHandler(m+n,r),e.st.callbacks&&(n=n.charAt(0).toLowerCase()+n.slice(1),e.st.callbacks[n]&&e.st.callbacks[n].apply(e,t.isArray(r)?r:[r]))},S=function(n){return n===s&&e.currTemplate.closeBtn||(e.currTemplate.closeBtn=t(e.st.closeMarkup.replace("%title%",e.st.tClose)),s=n),e.currTemplate.closeBtn},E=function(){t.magnificPopup.instance||((e=new w).init(),t.magnificPopup.instance=e)},T=function(){var t=document.createElement("p").style,e=["ms","O","Moz","Webkit"];if(void 0!==t.transition)return!0;for(;e.length;)if(e.pop()+"Transition"in t)return!0;return!1};w.prototype={constructor:w,init:function(){var n=navigator.appVersion;e.isLowIE=e.isIE8=document.all&&!document.addEventListener,e.isAndroid=/android/gi.test(n),e.isIOS=/iphone|ipad|ipod/gi.test(n),e.supportsTransition=T(),e.probablyMobile=e.isAndroid||e.isIOS||/(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test(navigator.userAgent),r=t(document),e.popupsCache={}},open:function(n){var i;if(!1===n.isObj){e.items=n.items.toArray(),e.index=0;var a,s=n.items;for(i=0;i<s.length;i++)if((a=s[i]).parsed&&(a=a.el[0]),a===n.el[0]){e.index=i;break}}else e.items=t.isArray(n.items)?n.items:[n.items],e.index=n.index||0;if(!e.isOpen){e.types=[],o="",n.mainEl&&n.mainEl.length?e.ev=n.mainEl.eq(0):e.ev=r,n.key?(e.popupsCache[n.key]||(e.popupsCache[n.key]={}),e.currTemplate=e.popupsCache[n.key]):e.currTemplate={},e.st=t.extend(!0,{},t.magnificPopup.defaults,n),e.fixedContentPos="auto"===e.st.fixedContentPos?!e.probablyMobile:e.st.fixedContentPos,e.st.modal&&(e.st.closeOnContentClick=!1,e.st.closeOnBgClick=!1,e.st.showCloseBtn=!1,e.st.enableEscapeKey=!1),e.bgOverlay||(e.bgOverlay=O("bg").on("click"+v,(function(){e.close()})),e.wrap=O("wrap").attr("tabindex",-1).on("click"+v,(function(t){e._checkIfClose(t.target)&&e.close()})),e.container=O("container",e.wrap)),e.contentContainer=O("content"),e.st.preloader&&(e.preloader=O("preloader",e.container,e.st.tLoading));var c=t.magnificPopup.modules;for(i=0;i<c.length;i++){var l=c[i];l=l.charAt(0).toUpperCase()+l.slice(1),e["init"+l].call(e)}C("BeforeOpen"),e.st.showCloseBtn&&(e.st.closeBtnInside?(k(h,(function(t,e,n,r){n.close_replaceWith=S(r.type)})),o+=" mfp-close-btn-in"):e.wrap.append(S())),e.st.alignTop&&(o+=" mfp-align-top"),e.fixedContentPos?e.wrap.css({overflow:e.st.overflowY,overflowX:"hidden",overflowY:e.st.overflowY}):e.wrap.css({top:x.scrollTop(),position:"absolute"}),(!1===e.st.fixedBgPos||"auto"===e.st.fixedBgPos&&!e.fixedContentPos)&&e.bgOverlay.css({height:r.height(),position:"absolute"}),e.st.enableEscapeKey&&r.on("keyup"+v,(function(t){27===t.keyCode&&e.close()})),x.on("resize"+v,(function(){e.updateSize()})),e.st.closeOnContentClick||(o+=" mfp-auto-cursor"),o&&e.wrap.addClass(o);var u=e.wH=x.height(),f={};if(e.fixedContentPos&&e._hasScrollBar(u)){var p=e._getScrollbarSize();p&&(f.marginRight=p)}e.fixedContentPos&&(e.isIE7?t("body, html").css("overflow","hidden"):f.overflow="hidden");var m=e.st.mainClass;return e.isIE7&&(m+=" mfp-ie7"),m&&e._addClassToMFP(m),e.updateItemHTML(),C("BuildControls"),t("html").css(f),e.bgOverlay.add(e.wrap).prependTo(e.st.prependTo||t(document.body)),e._lastFocusedEl=document.activeElement,setTimeout((function(){e.content?(e._addClassToMFP(g),e._setFocus()):e.bgOverlay.addClass(g),r.on("focusin"+v,e._onFocusIn)}),16),e.isOpen=!0,e.updateSize(u),C(d),n}e.updateItemHTML()},close:function(){e.isOpen&&(C(l),e.isOpen=!1,e.st.removalDelay&&!e.isLowIE&&e.supportsTransition?(e._addClassToMFP(y),setTimeout((function(){e._close()}),e.st.removalDelay)):e._close())},_close:function(){C(c);var n=y+" "+g+" ";if(e.bgOverlay.detach(),e.wrap.detach(),e.container.empty(),e.st.mainClass&&(n+=e.st.mainClass+" "),e._removeClassFromMFP(n),e.fixedContentPos){var i={marginRight:""};e.isIE7?t("body, html").css("overflow",""):i.overflow="",t("html").css(i)}r.off("keyup"+v+" focusin"+v),e.ev.off(v),e.wrap.attr("class","mfp-wrap").removeAttr("style"),e.bgOverlay.attr("class","mfp-bg"),e.container.attr("class","mfp-container"),!e.st.showCloseBtn||e.st.closeBtnInside&&!0!==e.currTemplate[e.currItem.type]||e.currTemplate.closeBtn&&e.currTemplate.closeBtn.detach(),e.st.autoFocusLast&&e._lastFocusedEl&&t(e._lastFocusedEl).focus(),e.currItem=null,e.content=null,e.currTemplate=null,e.prevHeight=0,C(u)},updateSize:function(t){if(e.isIOS){var n=document.documentElement.clientWidth/window.innerWidth,r=window.innerHeight*n;e.wrap.css("height",r),e.wH=r}else e.wH=t||x.height();e.fixedContentPos||e.wrap.css("height",e.wH),C("Resize")},updateItemHTML:function(){var n=e.items[e.index];e.contentContainer.detach(),e.content&&e.content.detach(),n.parsed||(n=e.parseEl(e.index));var r=n.type;if(C("BeforeChange",[e.currItem?e.currItem.type:"",r]),e.currItem=n,!e.currTemplate[r]){var o=!!e.st[r]&&e.st[r].markup;C("FirstMarkupParse",o),e.currTemplate[r]=!o||t(o)}i&&i!==n.type&&e.container.removeClass("mfp-"+i+"-holder");var a=e["get"+r.charAt(0).toUpperCase()+r.slice(1)](n,e.currTemplate[r]);e.appendContent(a,r),n.preloaded=!0,C(p,n),i=n.type,e.container.prepend(e.contentContainer),C("AfterChange")},appendContent:function(t,n){e.content=t,t?e.st.showCloseBtn&&e.st.closeBtnInside&&!0===e.currTemplate[n]?e.content.find(".mfp-close").length||e.content.append(S()):e.content=t:e.content="",C(f),e.container.addClass("mfp-"+n+"-holder"),e.contentContainer.append(e.content)},parseEl:function(n){var r,i=e.items[n];if(i.tagName?i={el:t(i)}:(r=i.type,i={data:i,src:i.src}),i.el){for(var o=e.types,a=0;a<o.length;a++)if(i.el.hasClass("mfp-"+o[a])){r=o[a];break}i.src=i.el.attr("data-mfp-src"),i.src||(i.src=i.el.attr("href"))}return i.type=r||e.st.type||"inline",i.index=n,i.parsed=!0,e.items[n]=i,C("ElementParse",i),e.items[n]},addGroup:function(t,n){var r=function(r){r.mfpEl=this,e._openClick(r,t,n)};n||(n={});var i="click.magnificPopup";n.mainEl=t,n.items?(n.isObj=!0,t.off(i).on(i,r)):(n.isObj=!1,n.delegate?t.off(i).on(i,n.delegate,r):(n.items=t,t.off(i).on(i,r)))},_openClick:function(n,r,i){if((void 0!==i.midClick?i.midClick:t.magnificPopup.defaults.midClick)||!(2===n.which||n.ctrlKey||n.metaKey||n.altKey||n.shiftKey)){var o=void 0!==i.disableOn?i.disableOn:t.magnificPopup.defaults.disableOn;if(o)if(t.isFunction(o)){if(!o.call(e))return!0}else if(x.width()<o)return!0;n.type&&(n.preventDefault(),e.isOpen&&n.stopPropagation()),i.el=t(n.mfpEl),i.delegate&&(i.items=r.find(i.delegate)),e.open(i)}},updateStatus:function(t,r){if(e.preloader){n!==t&&e.container.removeClass("mfp-s-"+n),r||"loading"!==t||(r=e.st.tLoading);var i={status:t,text:r};C("UpdateStatus",i),t=i.status,r=i.text,e.preloader.html(r),e.preloader.find("a").on("click",(function(t){t.stopImmediatePropagation()})),e.container.addClass("mfp-s-"+t),n=t}},_checkIfClose:function(n){if(!t(n).hasClass(b)){var r=e.st.closeOnContentClick,i=e.st.closeOnBgClick;if(r&&i)return!0;if(!e.content||t(n).hasClass("mfp-close")||e.preloader&&n===e.preloader[0])return!0;if(n===e.content[0]||t.contains(e.content[0],n)){if(r)return!0}else if(i&&t.contains(document,n))return!0;return!1}},_addClassToMFP:function(t){e.bgOverlay.addClass(t),e.wrap.addClass(t)},_removeClassFromMFP:function(t){this.bgOverlay.removeClass(t),e.wrap.removeClass(t)},_hasScrollBar:function(t){return(e.isIE7?r.height():document.body.scrollHeight)>(t||x.height())},_setFocus:function(){(e.st.focus?e.content.find(e.st.focus).eq(0):e.wrap).focus()},_onFocusIn:function(n){if(n.target!==e.wrap[0]&&!t.contains(e.wrap[0],n.target))return e._setFocus(),!1},_parseMarkup:function(e,n,r){var i;r.data&&(n=t.extend(r.data,n)),C(h,[e,n,r]),t.each(n,(function(n,r){if(void 0===r||!1===r)return!0;if((i=n.split("_")).length>1){var o=e.find(v+"-"+i[0]);if(o.length>0){var a=i[1];"replaceWith"===a?o[0]!==r[0]&&o.replaceWith(r):"img"===a?o.is("img")?o.attr("src",r):o.replaceWith(t("<img>").attr("src",r).attr("class",o.attr("class"))):o.attr(i[1],r)}}else e.find(v+"-"+n).html(r)}))},_getScrollbarSize:function(){if(void 0===e.scrollbarSize){var t=document.createElement("div");t.style.cssText="width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;",document.body.appendChild(t),e.scrollbarSize=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return e.scrollbarSize}},t.magnificPopup={instance:null,proto:w.prototype,modules:[],open:function(e,n){return E(),(e=e?t.extend(!0,{},e):{}).isObj=!0,e.index=n||0,this.instance.open(e)},close:function(){return t.magnificPopup.instance&&t.magnificPopup.instance.close()},registerModule:function(e,n){n.options&&(t.magnificPopup.defaults[e]=n.options),t.extend(this.proto,n.proto),this.modules.push(e)},defaults:{disableOn:0,key:null,midClick:!1,mainClass:"",preloader:!0,focus:"",closeOnContentClick:!1,closeOnBgClick:!0,closeBtnInside:!0,showCloseBtn:!0,enableEscapeKey:!0,modal:!1,alignTop:!1,removalDelay:0,prependTo:null,fixedContentPos:"auto",fixedBgPos:"auto",overflowY:"auto",closeMarkup:'<button title="%title%" type="button" class="mfp-close">&#215;</button>',tClose:"Close (Esc)",tLoading:"Loading...",autoFocusLast:!0}},t.fn.magnificPopup=function(n){E();var r=t(this);if("string"==typeof n)if("open"===n){var i,o=_?r.data("magnificPopup"):r[0].magnificPopup,a=parseInt(arguments[1],10)||0;o.items?i=o.items[a]:(i=r,o.delegate&&(i=i.find(o.delegate)),i=i.eq(a)),e._openClick({mfpEl:i},r,o)}else e.isOpen&&e[n].apply(e,Array.prototype.slice.call(arguments,1));else n=t.extend(!0,{},n),_?r.data("magnificPopup",n):r[0].magnificPopup=n,e.addGroup(r,n);return r};var P,A,j,D="inline",M=function(){j&&(A.after(j.addClass(P)).detach(),j=null)};t.magnificPopup.registerModule(D,{options:{hiddenClass:"hide",markup:"",tNotFound:"Content not found"},proto:{initInline:function(){e.types.push(D),k(c+"."+D,(function(){M()}))},getInline:function(n,r){if(M(),n.src){var i=e.st.inline,o=t(n.src);if(o.length){var a=o[0].parentNode;a&&a.tagName&&(A||(P=i.hiddenClass,A=O(P),P="mfp-"+P),j=o.after(A).detach().removeClass(P)),e.updateStatus("ready")}else e.updateStatus("error",i.tNotFound),o=t("<div>");return n.inlineElement=o,o}return e.updateStatus("ready"),e._parseMarkup(r,{},n),r}}});var R,I="ajax",N=function(){R&&t(document.body).removeClass(R)},L=function(){N(),e.req&&e.req.abort()};t.magnificPopup.registerModule(I,{options:{settings:null,cursor:"mfp-ajax-cur",tError:'<a href="%url%">The content</a> could not be loaded.'},proto:{initAjax:function(){e.types.push(I),R=e.st.ajax.cursor,k(c+"."+I,L),k("BeforeChange."+I,L)},getAjax:function(n){R&&t(document.body).addClass(R),e.updateStatus("loading");var r=t.extend({url:n.src,success:function(r,i,o){var a={data:r,xhr:o};C("ParseAjax",a),e.appendContent(t(a.data),I),n.finished=!0,N(),e._setFocus(),setTimeout((function(){e.wrap.addClass(g)}),16),e.updateStatus("ready"),C("AjaxContentAdded")},error:function(){N(),n.finished=n.loadError=!0,e.updateStatus("error",e.st.ajax.tError.replace("%url%",n.src))}},e.st.ajax.settings);return e.req=t.ajax(r),""}}});var $,F=function(n){if(n.data&&void 0!==n.data.title)return n.data.title;var r=e.st.image.titleSrc;if(r){if(t.isFunction(r))return r.call(e,n);if(n.el)return n.el.attr(r)||""}return""};t.magnificPopup.registerModule("image",{options:{markup:'<div class="mfp-figure"><div class="mfp-close"></div><figure><div class="mfp-img"></div><figcaption><div class="mfp-bottom-bar"><div class="mfp-title"></div><div class="mfp-counter"></div></div></figcaption></figure></div>',cursor:"mfp-zoom-out-cur",titleSrc:"title",verticalFit:!0,tError:'<a href="%url%">The image</a> could not be loaded.'},proto:{initImage:function(){var n=e.st.image,r=".image";e.types.push("image"),k(d+r,(function(){"image"===e.currItem.type&&n.cursor&&t(document.body).addClass(n.cursor)})),k(c+r,(function(){n.cursor&&t(document.body).removeClass(n.cursor),x.off("resize"+v)})),k("Resize"+r,e.resizeImage),e.isLowIE&&k("AfterChange",e.resizeImage)},resizeImage:function(){var t=e.currItem;if(t&&t.img&&e.st.image.verticalFit){var n=0;e.isLowIE&&(n=parseInt(t.img.css("padding-top"),10)+parseInt(t.img.css("padding-bottom"),10)),t.img.css("max-height",e.wH-n)}},_onImageHasSize:function(t){t.img&&(t.hasSize=!0,$&&clearInterval($),t.isCheckingImgSize=!1,C("ImageHasSize",t),t.imgHidden&&(e.content&&e.content.removeClass("mfp-loading"),t.imgHidden=!1))},findImageSize:function(t){var n=0,r=t.img[0],i=function(o){$&&clearInterval($),$=setInterval((function(){r.naturalWidth>0?e._onImageHasSize(t):(n>200&&clearInterval($),3===++n?i(10):40===n?i(50):100===n&&i(500))}),o)};i(1)},getImage:function(n,r){var i=0,o=function(){n&&(n.img[0].complete?(n.img.off(".mfploader"),n===e.currItem&&(e._onImageHasSize(n),e.updateStatus("ready")),n.hasSize=!0,n.loaded=!0,C("ImageLoadComplete")):++i<200?setTimeout(o,100):a())},a=function(){n&&(n.img.off(".mfploader"),n===e.currItem&&(e._onImageHasSize(n),e.updateStatus("error",s.tError.replace("%url%",n.src))),n.hasSize=!0,n.loaded=!0,n.loadError=!0)},s=e.st.image,c=r.find(".mfp-img");if(c.length){var l=document.createElement("img");l.className="mfp-img",n.el&&n.el.find("img").length&&(l.alt=n.el.find("img").attr("alt")),n.img=t(l).on("load.mfploader",o).on("error.mfploader",a),l.src=n.src,c.is("img")&&(n.img=n.img.clone()),(l=n.img[0]).naturalWidth>0?n.hasSize=!0:l.width||(n.hasSize=!1)}return e._parseMarkup(r,{title:F(n),img_replaceWith:n.img},n),e.resizeImage(),n.hasSize?($&&clearInterval($),n.loadError?(r.addClass("mfp-loading"),e.updateStatus("error",s.tError.replace("%url%",n.src))):(r.removeClass("mfp-loading"),e.updateStatus("ready")),r):(e.updateStatus("loading"),n.loading=!0,n.hasSize||(n.imgHidden=!0,r.addClass("mfp-loading"),e.findImageSize(n)),r)}}});var B,z=function(){return void 0===B&&(B=void 0!==document.createElement("p").style.MozTransform),B};t.magnificPopup.registerModule("zoom",{options:{enabled:!1,easing:"ease-in-out",duration:300,opener:function(t){return t.is("img")?t:t.find("img")}},proto:{initZoom:function(){var t,n=e.st.zoom,r=".zoom";if(n.enabled&&e.supportsTransition){var i,o,a=n.duration,s=function(t){var e=t.clone().removeAttr("style").removeAttr("class").addClass("mfp-animated-image"),r="all "+n.duration/1e3+"s "+n.easing,i={position:"fixed",zIndex:9999,left:0,top:0,"-webkit-backface-visibility":"hidden"},o="transition";return i["-webkit-"+o]=i["-moz-"+o]=i["-o-"+o]=i[o]=r,e.css(i),e},u=function(){e.content.css("visibility","visible")};k("BuildControls"+r,(function(){if(e._allowZoom()){if(clearTimeout(i),e.content.css("visibility","hidden"),!(t=e._getItemToZoom()))return void u();(o=s(t)).css(e._getOffset()),e.wrap.append(o),i=setTimeout((function(){o.css(e._getOffset(!0)),i=setTimeout((function(){u(),setTimeout((function(){o.remove(),t=o=null,C("ZoomAnimationEnded")}),16)}),a)}),16)}})),k(l+r,(function(){if(e._allowZoom()){if(clearTimeout(i),e.st.removalDelay=a,!t){if(!(t=e._getItemToZoom()))return;o=s(t)}o.css(e._getOffset(!0)),e.wrap.append(o),e.content.css("visibility","hidden"),setTimeout((function(){o.css(e._getOffset())}),16)}})),k(c+r,(function(){e._allowZoom()&&(u(),o&&o.remove(),t=null)}))}},_allowZoom:function(){return"image"===e.currItem.type},_getItemToZoom:function(){return!!e.currItem.hasSize&&e.currItem.img},_getOffset:function(n){var r,i=(r=n?e.currItem.img:e.st.zoom.opener(e.currItem.el||e.currItem)).offset(),o=parseInt(r.css("padding-top"),10),a=parseInt(r.css("padding-bottom"),10);i.top-=t(window).scrollTop()-o;var s={width:r.width(),height:(_?r.innerHeight():r[0].offsetHeight)-a-o};return z()?s["-moz-transform"]=s.transform="translate("+i.left+"px,"+i.top+"px)":(s.left=i.left,s.top=i.top),s}}});var H="iframe",U="//about:blank",q=function(t){if(e.currTemplate[H]){var n=e.currTemplate[H].find("iframe");n.length&&(t||(n[0].src=U),e.isIE8&&n.css("display",t?"block":"none"))}};t.magnificPopup.registerModule(H,{options:{markup:'<div class="mfp-iframe-scaler"><div class="mfp-close"></div><iframe class="mfp-iframe" src="//about:blank" frameborder="0" allowfullscreen></iframe></div>',srcAction:"iframe_src",patterns:{youtube:{index:"youtube.com",id:"v=",src:"//www.youtube.com/embed/%id%?autoplay=1"},vimeo:{index:"vimeo.com/",id:"/",src:"//player.vimeo.com/video/%id%?autoplay=1"},gmaps:{index:"//maps.google.",src:"%id%&output=embed"}}},proto:{initIframe:function(){e.types.push(H),k("BeforeChange",(function(t,e,n){e!==n&&(e===H?q():n===H&&q(!0))})),k(c+"."+H,(function(){q()}))},getIframe:function(n,r){var i=n.src,o=e.st.iframe;t.each(o.patterns,(function(){if(i.indexOf(this.index)>-1)return this.id&&(i="string"==typeof this.id?i.substr(i.lastIndexOf(this.id)+this.id.length,i.length):this.id.call(this,i)),i=this.src.replace("%id%",i),!1}));var a={};return o.srcAction&&(a[o.srcAction]=i),e._parseMarkup(r,a,n),e.updateStatus("ready"),r}}});var W=function(t){var n=e.items.length;return t>n-1?t-n:t<0?n+t:t},V=function(t,e,n){return t.replace(/%curr%/gi,e+1).replace(/%total%/gi,n)};t.magnificPopup.registerModule("gallery",{options:{enabled:!1,arrowMarkup:'<button title="%title%" type="button" class="mfp-arrow mfp-arrow-%dir%"></button>',preload:[0,2],navigateByImgClick:!0,arrows:!0,tPrev:"Previous (Left arrow key)",tNext:"Next (Right arrow key)",tCounter:"%curr% of %total%"},proto:{initGallery:function(){var n=e.st.gallery,i=".mfp-gallery";if(e.direction=!0,!n||!n.enabled)return!1;o+=" mfp-gallery",k(d+i,(function(){n.navigateByImgClick&&e.wrap.on("click"+i,".mfp-img",(function(){if(e.items.length>1)return e.next(),!1})),r.on("keydown"+i,(function(t){37===t.keyCode?e.prev():39===t.keyCode&&e.next()}))})),k("UpdateStatus"+i,(function(t,n){n.text&&(n.text=V(n.text,e.currItem.index,e.items.length))})),k(h+i,(function(t,r,i,o){var a=e.items.length;i.counter=a>1?V(n.tCounter,o.index,a):""})),k("BuildControls"+i,(function(){if(e.items.length>1&&n.arrows&&!e.arrowLeft){var r=n.arrowMarkup,i=e.arrowLeft=t(r.replace(/%title%/gi,n.tPrev).replace(/%dir%/gi,"left")).addClass(b),o=e.arrowRight=t(r.replace(/%title%/gi,n.tNext).replace(/%dir%/gi,"right")).addClass(b);i.click((function(){e.prev()})),o.click((function(){e.next()})),e.container.append(i.add(o))}})),k(p+i,(function(){e._preloadTimeout&&clearTimeout(e._preloadTimeout),e._preloadTimeout=setTimeout((function(){e.preloadNearbyImages(),e._preloadTimeout=null}),16)})),k(c+i,(function(){r.off(i),e.wrap.off("click"+i),e.arrowRight=e.arrowLeft=null}))},next:function(){e.direction=!0,e.index=W(e.index+1),e.updateItemHTML()},prev:function(){e.direction=!1,e.index=W(e.index-1),e.updateItemHTML()},goTo:function(t){e.direction=t>=e.index,e.index=t,e.updateItemHTML()},preloadNearbyImages:function(){var t,n=e.st.gallery.preload,r=Math.min(n[0],e.items.length),i=Math.min(n[1],e.items.length);for(t=1;t<=(e.direction?i:r);t++)e._preloadItem(e.index+t);for(t=1;t<=(e.direction?r:i);t++)e._preloadItem(e.index-t)},_preloadItem:function(n){if(n=W(n),!e.items[n].preloaded){var r=e.items[n];r.parsed||(r=e.parseEl(n)),C("LazyLoad",r),"image"===r.type&&(r.img=t('<img class="mfp-img" />').on("load.mfploader",(function(){r.hasSize=!0})).on("error.mfploader",(function(){r.hasSize=!0,r.loadError=!0,C("LazyLoadError",r)})).attr("src",r.src)),r.preloaded=!0}}}});var Z="retina";t.magnificPopup.registerModule(Z,{options:{replaceSrc:function(t){return t.src.replace(/\.\w+$/,(function(t){return"@2x"+t}))},ratio:1},proto:{initRetina:function(){if(window.devicePixelRatio>1){var t=e.st.retina,n=t.ratio;(n=isNaN(n)?n():n)>1&&(k("ImageHasSize."+Z,(function(t,e){e.img.css({"max-width":e.img[0].naturalWidth/n,width:"100%"})})),k("ElementParse."+Z,(function(e,r){r.src=t.replaceSrc(r,n)})))}}}}),E()},void 0===(o="function"==typeof r?r.apply(e,i):r)||(t.exports=o)}()},6021:function(t){!function(e,n){t.exports=function(){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:r})},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=1)}([function(t,e){t.exports=function(t,e,n,r,i,o){var a,s=t=t||{},c=typeof t.default;"object"!==c&&"function"!==c||(a=t,s=t.default);var l,u="function"==typeof s?s.options:s;if(e&&(u.render=e.render,u.staticRenderFns=e.staticRenderFns,u._compiled=!0),n&&(u.functional=!0),i&&(u._scopeId=i),o?(l=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(o)},u._ssrRegister=l):r&&(l=r),l){var f=u.functional,h=f?u.render:u.beforeCreate;f?(u._injectStyles=l,u.render=function(t,e){return l.call(e),h(t,e)}):u.beforeCreate=h?[].concat(h,l):[l]}return{esModule:a,exports:s,options:u}}},function(t,e,n){var r=n(0)(n(2),null,!1,null,null,null);r.options.__file="src/PrettyCheckbox.vue",t.exports=r.exports},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(3),i={name:"pretty-checkbox",input_type:"checkbox",model:r.model,props:r.props,data:r.data,computed:r.computed,watch:r.watch,mounted:r.mounted,methods:r.methods,render:r.render};e.default=i},function(t,e,n){var r=n(0)(n(4),n(5),!1,null,null,null);r.options.__file="src/PrettyInput.vue",t.exports=r.exports},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"pretty-input",model:{prop:"modelValue",event:"change"},props:{type:String,name:String,value:{},modelValue:{},trueValue:{},falseValue:{},checked:{},disabled:{},required:{},indeterminate:{},color:String,offColor:String,hoverColor:String,indeterminateColor:String,toggle:{},hover:{},focus:{}},data:function(){return{m_checked:void 0,default_mode:!1}},computed:{_type:function(){return this.$options.input_type?this.$options.input_type:this.type?this.type:"checkbox"},shouldBeChecked:function(){return void 0!==this.modelValue?"radio"===this._type?this.modelValue===this.value:this.modelValue instanceof Array?this.modelValue.includes(this.value):this._trueValue?this.modelValue===this.trueValue:"string"==typeof this.modelValue||!!this.modelValue:void 0===this.m_checked?this.m_checked="string"==typeof this.checked||!!this.checked:this.m_checked},_disabled:function(){return"string"==typeof this.disabled||!!this.disabled},_required:function(){return"string"==typeof this.required||!!this.required},_indeterminate:function(){return"string"==typeof this.indeterminate||!!this.indeterminate},_trueValue:function(){return"string"==typeof this.trueValue?this.trueValue:!!this.trueValue},_falseValue:function(){return"string"==typeof this.falseValue?this.falseValue:!!this.falseValue},_toggle:function(){return"string"==typeof this.toggle||!!this.toggle},_hover:function(){return"string"==typeof this.hover||!!this.hover},_focus:function(){return"string"==typeof this.focus||!!this.focus},classes:function(){return{pretty:!0,"p-default":this.default_mode,"p-round":"radio"===this._type&&this.default_mode,"p-toggle":this._toggle,"p-has-hover":this._hover,"p-has-focus":this._focus,"p-has-indeterminate":this._indeterminate}},onClasses:function(){var t={state:!0,"p-on":this._toggle};return this.color&&(t["p-"+this.color]=!0),t},offClasses:function(){var t={state:!0,"p-off":!0};return this.offColor&&(t["p-"+this.offColor]=!0),t},hoverClasses:function(){var t={state:!0,"p-is-hover":!0};return this.hoverColor&&(t["p-"+this.hoverColor]=!0),t},indeterminateClasses:function(){var t={state:!0,"p-is-indeterminate":!0};return this.indeterminateColor&&(t["p-"+this.indeterminateColor]=!0),t}},watch:{checked:function(t){this.m_checked=t},indeterminate:function(t){this.$refs.input.indeterminate=t}},mounted:function(){this.$vnode.data&&!this.$vnode.data.staticClass&&(this.default_mode=!0),this._indeterminate&&(this.$refs.input.indeterminate=!0),this.$el.setAttribute("p-"+this._type,"")},methods:{updateInput:function(t){if("radio"!==this._type){this.$emit("update:indeterminate",!1);var e=t.target.checked;if(this.m_checked=e,this.modelValue instanceof Array){var n=[].concat(function(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}(this.modelValue));e?n.push(this.value):n.splice(n.indexOf(this.value),1),this.$emit("change",n)}else this.$emit("change",e?!this._trueValue||this.trueValue:!!this._falseValue&&this.falseValue)}else this.$emit("change",this.value)}}}},function(t,e,n){var r=function(){var t=this.$createElement,e=this._self._c||t;return e("div",{class:this.classes},[e("input",{ref:"input",attrs:{type:this._type,name:this.name,disabled:this._disabled,required:this._required},domProps:{checked:this.shouldBeChecked,value:this.value},on:{change:this.updateInput}}),this._v(" "),e("div",{class:this.onClasses},[this._t("extra"),this._v(" "),e("label",[this._t("default")],2)],2),this._v(" "),this._toggle?e("div",{class:this.offClasses},[this._t("off-extra"),this._v(" "),this._t("off-label")],2):this._e(),this._v(" "),this._hover?e("div",{class:this.hoverClasses},[this._t("hover-extra"),this._v(" "),this._t("hover-label")],2):this._e(),this._v(" "),this._indeterminate?e("div",{class:this.indeterminateClasses},[this._t("indeterminate-extra"),this._v(" "),this._t("indeterminate-label")],2):this._e()])};r._withStripped=!0,t.exports={render:r,staticRenderFns:[]}}])}()}("undefined"!=typeof self&&self)},9234:t=>{!function(){"use strict";t.exports={polyfill:function(){var t=window,e=document;if(!("scrollBehavior"in e.documentElement.style)||!0===t.__forceSmoothScrollPolyfill__){var n=t.HTMLElement||t.Element,r=468,i={scroll:t.scroll||t.scrollTo,scrollBy:t.scrollBy,elementScroll:n.prototype.scroll||s,scrollIntoView:n.prototype.scrollIntoView},o=t.performance&&t.performance.now?t.performance.now.bind(t.performance):Date.now,a=function(t){return new RegExp(["MSIE ","Trident/","Edge/"].join("|")).test(t)}(t.navigator.userAgent)?1:0;t.scroll=t.scrollTo=function(){void 0!==arguments[0]&&(!0!==c(arguments[0])?d.call(t,e.body,void 0!==arguments[0].left?~~arguments[0].left:t.scrollX||t.pageXOffset,void 0!==arguments[0].top?~~arguments[0].top:t.scrollY||t.pageYOffset):i.scroll.call(t,void 0!==arguments[0].left?arguments[0].left:"object"!=typeof arguments[0]?arguments[0]:t.scrollX||t.pageXOffset,void 0!==arguments[0].top?arguments[0].top:void 0!==arguments[1]?arguments[1]:t.scrollY||t.pageYOffset))},t.scrollBy=function(){void 0!==arguments[0]&&(c(arguments[0])?i.scrollBy.call(t,void 0!==arguments[0].left?arguments[0].left:"object"!=typeof arguments[0]?arguments[0]:0,void 0!==arguments[0].top?arguments[0].top:void 0!==arguments[1]?arguments[1]:0):d.call(t,e.body,~~arguments[0].left+(t.scrollX||t.pageXOffset),~~arguments[0].top+(t.scrollY||t.pageYOffset)))},n.prototype.scroll=n.prototype.scrollTo=function(){if(void 0!==arguments[0])if(!0!==c(arguments[0])){var t=arguments[0].left,e=arguments[0].top;d.call(this,this,void 0===t?this.scrollLeft:~~t,void 0===e?this.scrollTop:~~e)}else{if("number"==typeof arguments[0]&&void 0===arguments[1])throw new SyntaxError("Value could not be converted");i.elementScroll.call(this,void 0!==arguments[0].left?~~arguments[0].left:"object"!=typeof arguments[0]?~~arguments[0]:this.scrollLeft,void 0!==arguments[0].top?~~arguments[0].top:void 0!==arguments[1]?~~arguments[1]:this.scrollTop)}},n.prototype.scrollBy=function(){void 0!==arguments[0]&&(!0!==c(arguments[0])?this.scroll({left:~~arguments[0].left+this.scrollLeft,top:~~arguments[0].top+this.scrollTop,behavior:arguments[0].behavior}):i.elementScroll.call(this,void 0!==arguments[0].left?~~arguments[0].left+this.scrollLeft:~~arguments[0]+this.scrollLeft,void 0!==arguments[0].top?~~arguments[0].top+this.scrollTop:~~arguments[1]+this.scrollTop))},n.prototype.scrollIntoView=function(){if(!0!==c(arguments[0])){var n=function(t){for(;t!==e.body&&!1===f(t);)t=t.parentNode||t.host;return t}(this),r=n.getBoundingClientRect(),o=this.getBoundingClientRect();n!==e.body?(d.call(this,n,n.scrollLeft+o.left-r.left,n.scrollTop+o.top-r.top),"fixed"!==t.getComputedStyle(n).position&&t.scrollBy({left:r.left,top:r.top,behavior:"smooth"})):t.scrollBy({left:o.left,top:o.top,behavior:"smooth"})}else i.scrollIntoView.call(this,void 0===arguments[0]||arguments[0])}}function s(t,e){this.scrollLeft=t,this.scrollTop=e}function c(t){if(null===t||"object"!=typeof t||void 0===t.behavior||"auto"===t.behavior||"instant"===t.behavior)return!0;if("object"==typeof t&&"smooth"===t.behavior)return!1;throw new TypeError("behavior member of ScrollOptions "+t.behavior+" is not a valid value for enumeration ScrollBehavior.")}function l(t,e){return"Y"===e?t.clientHeight+a<t.scrollHeight:"X"===e?t.clientWidth+a<t.scrollWidth:void 0}function u(e,n){var r=t.getComputedStyle(e,null)["overflow"+n];return"auto"===r||"scroll"===r}function f(t){var e=l(t,"Y")&&u(t,"Y"),n=l(t,"X")&&u(t,"X");return e||n}function h(e){var n,i,a,s=(o()-e.startTime)/r;n=function(t){return.5*(1-Math.cos(Math.PI*t))}(s=s>1?1:s),i=e.startX+(e.x-e.startX)*n,a=e.startY+(e.y-e.startY)*n,e.method.call(e.scrollable,i,a),i===e.x&&a===e.y||t.requestAnimationFrame(h.bind(t,e))}function d(n,r,a){var c,l,u,f,d=o();n===e.body?(c=t,l=t.scrollX||t.pageXOffset,u=t.scrollY||t.pageYOffset,f=i.scroll):(c=n,l=n.scrollLeft,u=n.scrollTop,f=s),h({scrollable:c,method:f,startTime:d,startX:l,startY:u,x:r,y:a})}}}}()},4893:()=>{var t=function(){function t(t){return document.querySelectorAll(t)}function e(t){return t.className.match(u)}function n(t,e,n){var a,s=o(t,e,n),c=r(t,e,n,s),l=void 0!==s.title?s.title:function(t){var e;return"twitter"==t&&(e=i("twitter:title")),e||document.title}(e),u=void 0!==s.text?s.text:function(t){var e;return"twitter"==t&&(e=i("twitter:description")),e||i("description")}(e),f=s.image?s.image:i("og:image"),h=void 0!==s.via?s.via:i("twitter:site"),d={shareUrl:c,title:l,text:u,image:f,via:h,options:t,shareUrlEncoded:function(){return encodeURIComponent(this.shareUrl)}};switch(e){case"facebook":a="https://www.facebook.com/share.php?u="+d.shareUrlEncoded();break;case"twitter":a="https://twitter.com/intent/tweet?url="+d.shareUrlEncoded()+"&text="+encodeURIComponent(l+(u&&l?" - ":"")+u),h&&(a+="&via="+h.replace("@",""));break;case"google-plus":a="https://plus.google.com/share?url="+d.shareUrlEncoded();break;case"pinterest":a="https://pinterest.com/pin/create/button/?url="+d.shareUrlEncoded()+"&description="+encodeURIComponent(u),f&&(a+="&media="+encodeURIComponent(f));break;case"tumblr":a="https://www.tumblr.com/share/link?url="+d.shareUrlEncoded()+"&name="+encodeURIComponent(l)+"&description="+encodeURIComponent(u);break;case"linkedin":a="https://www.linkedin.com/shareArticle?mini=true&url="+d.shareUrlEncoded()+"&title="+encodeURIComponent(l)+"&summary="+encodeURIComponent(u);break;case"vk":a="https://vkontakte.ru/share.php?url="+d.shareUrlEncoded();break;case"buffer":a="https://buffer.com/add?source=button&url="+d.shareUrlEncoded()+"&text="+encodeURIComponent(u);break;case"email":a="mailto:?subject="+encodeURIComponent(l)+"&body="+encodeURIComponent(l+"\n"+c+"\n\n"+u+"\n")}return d.networkUrl=a,t.onBeforeOpen&&t.onBeforeOpen(n,e,d),d.networkUrl}function r(t,e,n,r){return(r=r||o(t,e,n)).url||window.location.href}function i(e,n){var r,i=t("meta["+(n||(0===e.indexOf("og:")?"property":"name"))+'="'+e+'"]');return i.length&&(r=i[0].getAttribute("content")||""),r||""}function o(t,e,n){var r,i,o,a,s=["url","title","text","image"],c={},l=n.parentNode;for(a in"twitter"==e&&s.push("via"),s)o="data-"+(i=s[a]),void 0!==(r=n.getAttribute(o)||l.getAttribute(o)||(t[e]&&void 0!==t[e][i]?t[e][i]:t[i]))&&(c[i]=r);return c}function a(t,e){var n=document.createElement("div");n.innerHTML=e,n.className="ssk-num",t.appendChild(n)}function s(t,e,n,r){var i,o,a=encodeURIComponent(e);switch(t){case"facebook":i="https://graph.facebook.com/?id="+a,o=function(t){return r(t.share?t.share.share_count:0)};break;case"twitter":n&&n.twitter&&n.twitter.countCallback&&n.twitter.countCallback(e,r);break;case"google-plus":return o=function(t){if((t=JSON.parse(t)).length)return r(t[0].result.metadata.globalCounts.count)},void function(t,e,n){var r=new XMLHttpRequest;r.onreadystatechange=function(){4===this.readyState&&this.status>=200&&this.status<400&&e(this.responseText)},r.open("POST",t,!0),r.setRequestHeader("Content-Type","application/json"),r.send(n)}(i="https://clients6.google.com/rpc?key=AIzaSyCKSbrvQasunBoV16zDH9R33D88CeLr9gQ",o,'[{"method":"pos.plusones.get","id":"p","params":{"id":"'+e+'","userId":"@viewer","groupId":"@self","nolog":true},"jsonrpc":"2.0","key":"p","apiVersion":"v1"}]');case"linkedin":i="https://www.linkedin.com/countserv/count/share?url="+a,o=function(t){return r(t.count)};break;case"pinterest":i="https://api.pinterest.com/v1/urls/count.json?url="+a,o=function(t){return r(t.count)};break;case"vk":i="https://vk.com/share.php?act=count&url="+a,o=function(t){return r(t)};break;case"buffer":i="https://api.bufferapp.com/1/links/shares.json?url="+a,o=function(t){return r(t.shares)}}i&&o&&function(t,e,n){var r="cb_"+t+"_"+Math.round(1e5*Math.random()),i=document.createElement("script");window[r]=function(t){try{delete window[r]}catch(t){}document.body.removeChild(i),n(t)},"vk"==t?window.VK={Share:{count:function(t,e){window[r](e)}}}:"google-plus"==t&&(window.services={gplus:{cb:window[r]}}),i.src=e+(e.indexOf("?")>=0?"&":"?")+"callback="+r,document.body.appendChild(i)}(t,i,o)}var c,l,u=/(twitter|facebook|google-plus|pinterest|tumblr|vk|linkedin|buffer|email)/;return l=function(e){var n=e||{},r=n.selector||".ssk";this.nodes=t(r),this.options=n},l.prototype={share:function(){function t(t){var r,i=function(t){var e=t||window.event;return e.preventDefault?e.preventDefault():(e.returnValue=!1,e.cancelBubble=!0),e.currentTarget||e.srcElement}(t),a=e(i),s=a[0];if(a&&(r=n(o,s,i))){if(window.twttr&&-1!==i.getAttribute("href").indexOf("twitter.com/intent/"))return void i.setAttribute("href",r);if("email"!==s){var c,l;"buffer"===s?(c=800,l=680):(c=575,l=400);var u=function(t,e,n){var r,i,o;return e&&n?(i=document.documentElement.clientWidth/2-e/2,o="status=1,resizable=yes,width="+e+",height="+n+",top="+(document.documentElement.clientHeight-n)/2+",left="+i,r=window.open(t,"",o)):r=window.open(t),r.focus(),r}(r,c,l);if(o.onOpen&&o.onOpen(i,s,r,u),o.onClose)var f=window.setInterval((function(){!1!==u.closed&&(window.clearInterval(f),o.onClose(i,s,r,u))}),250)}else document.location=r}}var i=this.nodes,o=this.options,c={},l=function(){i.length&&(function(t,e){for(var n=0;n<t.length;n++)e(t[n],n)}(i,(function(n){var i,a=e(n);if(a){if(n.getAttribute("data-ssk-ready")){if(!o.reinitialize||!n._skkListener)return;!function(t,e,n){t.removeEventListener?t.removeEventListener(e,n):t.detachEvent("on"+e,n)}(n,"click",n._skkListener)}n.setAttribute("data-ssk-ready",!0),function(t,e,n){t.addEventListener?t.addEventListener(e,n):t.attachEvent("on"+e,(function(){n.call(t)}))}(n,"click",t),n._skkListener=t,-1!==n.parentNode.className.indexOf("ssk-count")&&((i=(a=a[0])+"*|*"+r(o,a,n))in c||(c[i]=[]),c[i].push(n))}})),function(){var t,e;for(t in c)e=t.split("*|*"),function(t){s(e[0],e[1],o,(function(e){for(var n in t)a(t[n],e)}))}(c[t])}())};return!0===o.forceInit?l():function(t){"loading"!=document.readyState?t():document.addEventListener?document.addEventListener("DOMContentLoaded",t):document.attachEvent("onreadystatechange",(function(){"loading"!=document.readyState&&t()}))}(l),this.nodes}},c=function(t){return new l(t)},{init:function(t){return c(t).share()}}}();window.SocialShareKit=t},5861:(t,e,n)=>{"use strict";n.d(e,{ZP:()=>se});var r=n(2702);function i(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function o(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?i(Object(n),!0).forEach((function(e){s(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function a(t){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},a(t)}function s(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function c(){return c=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},c.apply(this,arguments)}function l(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}function u(t){if("undefined"!=typeof window&&window.navigator)return!!navigator.userAgent.match(t)}var f=u(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),h=u(/Edge/i),d=u(/firefox/i),p=u(/safari/i)&&!u(/chrome/i)&&!u(/android/i),m=u(/iP(ad|od|hone)/i),v=u(/chrome/i)&&u(/android/i),g={capture:!1,passive:!1};function y(t,e,n){t.addEventListener(e,n,!f&&g)}function b(t,e,n){t.removeEventListener(e,n,!f&&g)}function w(t,e){if(e){if(">"===e[0]&&(e=e.substring(1)),t)try{if(t.matches)return t.matches(e);if(t.msMatchesSelector)return t.msMatchesSelector(e);if(t.webkitMatchesSelector)return t.webkitMatchesSelector(e)}catch(t){return!1}return!1}}function _(t){return t.host&&t!==document&&t.host.nodeType?t.host:t.parentNode}function x(t,e,n,r){if(t){n=n||document;do{if(null!=e&&(">"===e[0]?t.parentNode===n&&w(t,e):w(t,e))||r&&t===n)return t;if(t===n)break}while(t=_(t))}return null}var k,O=/\s+/g;function C(t,e,n){if(t&&e)if(t.classList)t.classList[n?"add":"remove"](e);else{var r=(" "+t.className+" ").replace(O," ").replace(" "+e+" "," ");t.className=(r+(n?" "+e:"")).replace(O," ")}}function S(t,e,n){var r=t&&t.style;if(r){if(void 0===n)return document.defaultView&&document.defaultView.getComputedStyle?n=document.defaultView.getComputedStyle(t,""):t.currentStyle&&(n=t.currentStyle),void 0===e?n:n[e];e in r||-1!==e.indexOf("webkit")||(e="-webkit-"+e),r[e]=n+("string"==typeof n?"":"px")}}function E(t,e){var n="";if("string"==typeof t)n=t;else do{var r=S(t,"transform");r&&"none"!==r&&(n=r+" "+n)}while(!e&&(t=t.parentNode));var i=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return i&&new i(n)}function T(t,e,n){if(t){var r=t.getElementsByTagName(e),i=0,o=r.length;if(n)for(;i<o;i++)n(r[i],i);return r}return[]}function P(){var t=document.scrollingElement;return t||document.documentElement}function A(t,e,n,r,i){if(t.getBoundingClientRect||t===window){var o,a,s,c,l,u,h;if(t!==window&&t.parentNode&&t!==P()?(a=(o=t.getBoundingClientRect()).top,s=o.left,c=o.bottom,l=o.right,u=o.height,h=o.width):(a=0,s=0,c=window.innerHeight,l=window.innerWidth,u=window.innerHeight,h=window.innerWidth),(e||n)&&t!==window&&(i=i||t.parentNode,!f))do{if(i&&i.getBoundingClientRect&&("none"!==S(i,"transform")||n&&"static"!==S(i,"position"))){var d=i.getBoundingClientRect();a-=d.top+parseInt(S(i,"border-top-width")),s-=d.left+parseInt(S(i,"border-left-width")),c=a+o.height,l=s+o.width;break}}while(i=i.parentNode);if(r&&t!==window){var p=E(i||t),m=p&&p.a,v=p&&p.d;p&&(c=(a/=v)+(u/=v),l=(s/=m)+(h/=m))}return{top:a,left:s,bottom:c,right:l,width:h,height:u}}}function j(t,e,n){for(var r=N(t,!0),i=A(t)[e];r;){var o=A(r)[n];if(!("top"===n||"left"===n?i>=o:i<=o))return r;if(r===P())break;r=N(r,!1)}return!1}function D(t,e,n,r){for(var i=0,o=0,a=t.children;o<a.length;){if("none"!==a[o].style.display&&a[o]!==Bt.ghost&&(r||a[o]!==Bt.dragged)&&x(a[o],n.draggable,t,!1)){if(i===e)return a[o];i++}o++}return null}function M(t,e){for(var n=t.lastElementChild;n&&(n===Bt.ghost||"none"===S(n,"display")||e&&!w(n,e));)n=n.previousElementSibling;return n||null}function R(t,e){var n=0;if(!t||!t.parentNode)return-1;for(;t=t.previousElementSibling;)"TEMPLATE"===t.nodeName.toUpperCase()||t===Bt.clone||e&&!w(t,e)||n++;return n}function I(t){var e=0,n=0,r=P();if(t)do{var i=E(t),o=i.a,a=i.d;e+=t.scrollLeft*o,n+=t.scrollTop*a}while(t!==r&&(t=t.parentNode));return[e,n]}function N(t,e){if(!t||!t.getBoundingClientRect)return P();var n=t,r=!1;do{if(n.clientWidth<n.scrollWidth||n.clientHeight<n.scrollHeight){var i=S(n);if(n.clientWidth<n.scrollWidth&&("auto"==i.overflowX||"scroll"==i.overflowX)||n.clientHeight<n.scrollHeight&&("auto"==i.overflowY||"scroll"==i.overflowY)){if(!n.getBoundingClientRect||n===document.body)return P();if(r||e)return n;r=!0}}}while(n=n.parentNode);return P()}function L(t,e){return Math.round(t.top)===Math.round(e.top)&&Math.round(t.left)===Math.round(e.left)&&Math.round(t.height)===Math.round(e.height)&&Math.round(t.width)===Math.round(e.width)}function $(t,e){return function(){if(!k){var n=arguments;1===n.length?t.call(this,n[0]):t.apply(this,n),k=setTimeout((function(){k=void 0}),e)}}}function F(t,e,n){t.scrollLeft+=e,t.scrollTop+=n}function B(t){var e=window.Polymer,n=r||window.Zepto;return e&&e.dom?e.dom(t).cloneNode(!0):n?n(t).clone(!0)[0]:t.cloneNode(!0)}var z="Sortable"+(new Date).getTime();function H(){var t,e=[];return{captureAnimationState:function(){(e=[],this.options.animation)&&[].slice.call(this.el.children).forEach((function(t){if("none"!==S(t,"display")&&t!==Bt.ghost){e.push({target:t,rect:A(t)});var n=o({},e[e.length-1].rect);if(t.thisAnimationDuration){var r=E(t,!0);r&&(n.top-=r.f,n.left-=r.e)}t.fromRect=n}}))},addAnimationState:function(t){e.push(t)},removeAnimationState:function(t){e.splice(function(t,e){for(var n in t)if(t.hasOwnProperty(n))for(var r in e)if(e.hasOwnProperty(r)&&e[r]===t[n][r])return Number(n);return-1}(e,{target:t}),1)},animateAll:function(n){var r=this;if(!this.options.animation)return clearTimeout(t),void("function"==typeof n&&n());var i=!1,o=0;e.forEach((function(t){var e=0,n=t.target,a=n.fromRect,s=A(n),c=n.prevFromRect,l=n.prevToRect,u=t.rect,f=E(n,!0);f&&(s.top-=f.f,s.left-=f.e),n.toRect=s,n.thisAnimationDuration&&L(c,s)&&!L(a,s)&&(u.top-s.top)/(u.left-s.left)==(a.top-s.top)/(a.left-s.left)&&(e=function(t,e,n,r){return Math.sqrt(Math.pow(e.top-t.top,2)+Math.pow(e.left-t.left,2))/Math.sqrt(Math.pow(e.top-n.top,2)+Math.pow(e.left-n.left,2))*r.animation}(u,c,l,r.options)),L(s,a)||(n.prevFromRect=a,n.prevToRect=s,e||(e=r.options.animation),r.animate(n,u,s,e)),e&&(i=!0,o=Math.max(o,e),clearTimeout(n.animationResetTimer),n.animationResetTimer=setTimeout((function(){n.animationTime=0,n.prevFromRect=null,n.fromRect=null,n.prevToRect=null,n.thisAnimationDuration=null}),e),n.thisAnimationDuration=e)})),clearTimeout(t),i?t=setTimeout((function(){"function"==typeof n&&n()}),o):"function"==typeof n&&n(),e=[]},animate:function(t,e,n,r){if(r){S(t,"transition",""),S(t,"transform","");var i=E(this.el),o=i&&i.a,a=i&&i.d,s=(e.left-n.left)/(o||1),c=(e.top-n.top)/(a||1);t.animatingX=!!s,t.animatingY=!!c,S(t,"transform","translate3d("+s+"px,"+c+"px,0)"),this.forRepaintDummy=function(t){return t.offsetWidth}(t),S(t,"transition","transform "+r+"ms"+(this.options.easing?" "+this.options.easing:"")),S(t,"transform","translate3d(0,0,0)"),"number"==typeof t.animated&&clearTimeout(t.animated),t.animated=setTimeout((function(){S(t,"transition",""),S(t,"transform",""),t.animated=!1,t.animatingX=!1,t.animatingY=!1}),r)}}}}var U=[],q={initializeByDefault:!0},W={mount:function(t){for(var e in q)q.hasOwnProperty(e)&&!(e in t)&&(t[e]=q[e]);U.forEach((function(e){if(e.pluginName===t.pluginName)throw"Sortable: Cannot mount plugin ".concat(t.pluginName," more than once")})),U.push(t)},pluginEvent:function(t,e,n){var r=this;this.eventCanceled=!1,n.cancel=function(){r.eventCanceled=!0};var i=t+"Global";U.forEach((function(r){e[r.pluginName]&&(e[r.pluginName][i]&&e[r.pluginName][i](o({sortable:e},n)),e.options[r.pluginName]&&e[r.pluginName][t]&&e[r.pluginName][t](o({sortable:e},n)))}))},initializePlugins:function(t,e,n,r){for(var i in U.forEach((function(r){var i=r.pluginName;if(t.options[i]||r.initializeByDefault){var o=new r(t,e,t.options);o.sortable=t,o.options=t.options,t[i]=o,c(n,o.defaults)}})),t.options)if(t.options.hasOwnProperty(i)){var o=this.modifyOption(t,i,t.options[i]);void 0!==o&&(t.options[i]=o)}},getEventProperties:function(t,e){var n={};return U.forEach((function(r){"function"==typeof r.eventProperties&&c(n,r.eventProperties.call(e[r.pluginName],t))})),n},modifyOption:function(t,e,n){var r;return U.forEach((function(i){t[i.pluginName]&&i.optionListeners&&"function"==typeof i.optionListeners[e]&&(r=i.optionListeners[e].call(t[i.pluginName],n))})),r}};function V(t){var e=t.sortable,n=t.rootEl,r=t.name,i=t.targetEl,a=t.cloneEl,s=t.toEl,c=t.fromEl,l=t.oldIndex,u=t.newIndex,d=t.oldDraggableIndex,p=t.newDraggableIndex,m=t.originalEvent,v=t.putSortable,g=t.extraEventProperties;if(e=e||n&&n[z]){var y,b=e.options,w="on"+r.charAt(0).toUpperCase()+r.substr(1);!window.CustomEvent||f||h?(y=document.createEvent("Event")).initEvent(r,!0,!0):y=new CustomEvent(r,{bubbles:!0,cancelable:!0}),y.to=s||n,y.from=c||n,y.item=i||n,y.clone=a,y.oldIndex=l,y.newIndex=u,y.oldDraggableIndex=d,y.newDraggableIndex=p,y.originalEvent=m,y.pullMode=v?v.lastPutMode:void 0;var _=o(o({},g),W.getEventProperties(r,e));for(var x in _)y[x]=_[x];n&&n.dispatchEvent(y),b[w]&&b[w].call(e,y)}}var Z=["evt"],Y=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.evt,i=l(n,Z);W.pluginEvent.bind(Bt)(t,e,o({dragEl:K,parentEl:G,ghostEl:Q,rootEl:J,nextEl:tt,lastDownEl:et,cloneEl:nt,cloneHidden:rt,dragStarted:vt,putSortable:lt,activeSortable:Bt.active,originalEvent:r,oldIndex:it,oldDraggableIndex:at,newIndex:ot,newDraggableIndex:st,hideGhostForTarget:Nt,unhideGhostForTarget:Lt,cloneNowHidden:function(){rt=!0},cloneNowShown:function(){rt=!1},dispatchSortableEvent:function(t){X({sortable:e,name:t,originalEvent:r})}},i))};function X(t){V(o({putSortable:lt,cloneEl:nt,targetEl:K,rootEl:J,oldIndex:it,oldDraggableIndex:at,newIndex:ot,newDraggableIndex:st},t))}var K,G,Q,J,tt,et,nt,rt,it,ot,at,st,ct,lt,ut,ft,ht,dt,pt,mt,vt,gt,yt,bt,wt,_t=!1,xt=!1,kt=[],Ot=!1,Ct=!1,St=[],Et=!1,Tt=[],Pt="undefined"!=typeof document,At=m,jt=h||f?"cssFloat":"float",Dt=Pt&&!v&&!m&&"draggable"in document.createElement("div"),Mt=function(){if(Pt){if(f)return!1;var t=document.createElement("x");return t.style.cssText="pointer-events:auto","auto"===t.style.pointerEvents}}(),Rt=function(t,e){var n=S(t),r=parseInt(n.width)-parseInt(n.paddingLeft)-parseInt(n.paddingRight)-parseInt(n.borderLeftWidth)-parseInt(n.borderRightWidth),i=D(t,0,e),o=D(t,1,e),a=i&&S(i),s=o&&S(o),c=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+A(i).width,l=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+A(o).width;if("flex"===n.display)return"column"===n.flexDirection||"column-reverse"===n.flexDirection?"vertical":"horizontal";if("grid"===n.display)return n.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(i&&a.float&&"none"!==a.float){var u="left"===a.float?"left":"right";return!o||"both"!==s.clear&&s.clear!==u?"horizontal":"vertical"}return i&&("block"===a.display||"flex"===a.display||"table"===a.display||"grid"===a.display||c>=r&&"none"===n[jt]||o&&"none"===n[jt]&&c+l>r)?"vertical":"horizontal"},It=function(t){function e(t,n){return function(r,i,o,a){var s=r.options.group.name&&i.options.group.name&&r.options.group.name===i.options.group.name;if(null==t&&(n||s))return!0;if(null==t||!1===t)return!1;if(n&&"clone"===t)return t;if("function"==typeof t)return e(t(r,i,o,a),n)(r,i,o,a);var c=(n?r:i).options.group.name;return!0===t||"string"==typeof t&&t===c||t.join&&t.indexOf(c)>-1}}var n={},r=t.group;r&&"object"==a(r)||(r={name:r}),n.name=r.name,n.checkPull=e(r.pull,!0),n.checkPut=e(r.put),n.revertClone=r.revertClone,t.group=n},Nt=function(){!Mt&&Q&&S(Q,"display","none")},Lt=function(){!Mt&&Q&&S(Q,"display","")};Pt&&!v&&document.addEventListener("click",(function(t){if(xt)return t.preventDefault(),t.stopPropagation&&t.stopPropagation(),t.stopImmediatePropagation&&t.stopImmediatePropagation(),xt=!1,!1}),!0);var $t=function(t){if(K){var e=function(t,e){var n;return kt.some((function(r){var i=r[z].options.emptyInsertThreshold;if(i&&!M(r)){var o=A(r),a=t>=o.left-i&&t<=o.right+i,s=e>=o.top-i&&e<=o.bottom+i;return a&&s?n=r:void 0}})),n}((t=t.touches?t.touches[0]:t).clientX,t.clientY);if(e){var n={};for(var r in t)t.hasOwnProperty(r)&&(n[r]=t[r]);n.target=n.rootEl=e,n.preventDefault=void 0,n.stopPropagation=void 0,e[z]._onDragOver(n)}}},Ft=function(t){K&&K.parentNode[z]._isOutsideThisEl(t.target)};function Bt(t,e){if(!t||!t.nodeType||1!==t.nodeType)throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(t));this.el=t,this.options=e=c({},e),t[z]=this;var n={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(t.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return Rt(t,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(t,e){t.setData("Text",e.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:!1!==Bt.supportPointer&&"PointerEvent"in window&&!p,emptyInsertThreshold:5};for(var r in W.initializePlugins(this,t,n),n)!(r in e)&&(e[r]=n[r]);for(var i in It(e),this)"_"===i.charAt(0)&&"function"==typeof this[i]&&(this[i]=this[i].bind(this));this.nativeDraggable=!e.forceFallback&&Dt,this.nativeDraggable&&(this.options.touchStartThreshold=1),e.supportPointer?y(t,"pointerdown",this._onTapStart):(y(t,"mousedown",this._onTapStart),y(t,"touchstart",this._onTapStart)),this.nativeDraggable&&(y(t,"dragover",this),y(t,"dragenter",this)),kt.push(this.el),e.store&&e.store.get&&this.sort(e.store.get(this)||[]),c(this,H())}function zt(t,e,n,r,i,o,a,s){var c,l,u=t[z],d=u.options.onMove;return!window.CustomEvent||f||h?(c=document.createEvent("Event")).initEvent("move",!0,!0):c=new CustomEvent("move",{bubbles:!0,cancelable:!0}),c.to=e,c.from=t,c.dragged=n,c.draggedRect=r,c.related=i||e,c.relatedRect=o||A(e),c.willInsertAfter=s,c.originalEvent=a,t.dispatchEvent(c),d&&(l=d.call(u,c,a)),l}function Ht(t){t.draggable=!1}function Ut(){Et=!1}function qt(t){for(var e=t.tagName+t.className+t.src+t.href+t.textContent,n=e.length,r=0;n--;)r+=e.charCodeAt(n);return r.toString(36)}function Wt(t){return setTimeout(t,0)}function Vt(t){return clearTimeout(t)}Bt.prototype={constructor:Bt,_isOutsideThisEl:function(t){this.el.contains(t)||t===this.el||(gt=null)},_getDirection:function(t,e){return"function"==typeof this.options.direction?this.options.direction.call(this,t,e,K):this.options.direction},_onTapStart:function(t){if(t.cancelable){var e=this,n=this.el,r=this.options,i=r.preventOnFilter,o=t.type,a=t.touches&&t.touches[0]||t.pointerType&&"touch"===t.pointerType&&t,s=(a||t).target,c=t.target.shadowRoot&&(t.path&&t.path[0]||t.composedPath&&t.composedPath()[0])||s,l=r.filter;if(function(t){Tt.length=0;var e=t.getElementsByTagName("input"),n=e.length;for(;n--;){var r=e[n];r.checked&&Tt.push(r)}}(n),!K&&!(/mousedown|pointerdown/.test(o)&&0!==t.button||r.disabled)&&!c.isContentEditable&&(this.nativeDraggable||!p||!s||"SELECT"!==s.tagName.toUpperCase())&&!((s=x(s,r.draggable,n,!1))&&s.animated||et===s)){if(it=R(s),at=R(s,r.draggable),"function"==typeof l){if(l.call(this,t,s,this))return X({sortable:e,rootEl:c,name:"filter",targetEl:s,toEl:n,fromEl:n}),Y("filter",e,{evt:t}),void(i&&t.cancelable&&t.preventDefault())}else if(l&&(l=l.split(",").some((function(r){if(r=x(c,r.trim(),n,!1))return X({sortable:e,rootEl:r,name:"filter",targetEl:s,fromEl:n,toEl:n}),Y("filter",e,{evt:t}),!0}))))return void(i&&t.cancelable&&t.preventDefault());r.handle&&!x(c,r.handle,n,!1)||this._prepareDragStart(t,a,s)}}},_prepareDragStart:function(t,e,n){var r,i=this,o=i.el,a=i.options,s=o.ownerDocument;if(n&&!K&&n.parentNode===o){var c=A(n);if(J=o,G=(K=n).parentNode,tt=K.nextSibling,et=n,ct=a.group,Bt.dragged=K,ut={target:K,clientX:(e||t).clientX,clientY:(e||t).clientY},pt=ut.clientX-c.left,mt=ut.clientY-c.top,this._lastX=(e||t).clientX,this._lastY=(e||t).clientY,K.style["will-change"]="all",r=function(){Y("delayEnded",i,{evt:t}),Bt.eventCanceled?i._onDrop():(i._disableDelayedDragEvents(),!d&&i.nativeDraggable&&(K.draggable=!0),i._triggerDragStart(t,e),X({sortable:i,name:"choose",originalEvent:t}),C(K,a.chosenClass,!0))},a.ignore.split(",").forEach((function(t){T(K,t.trim(),Ht)})),y(s,"dragover",$t),y(s,"mousemove",$t),y(s,"touchmove",$t),y(s,"mouseup",i._onDrop),y(s,"touchend",i._onDrop),y(s,"touchcancel",i._onDrop),d&&this.nativeDraggable&&(this.options.touchStartThreshold=4,K.draggable=!0),Y("delayStart",this,{evt:t}),!a.delay||a.delayOnTouchOnly&&!e||this.nativeDraggable&&(h||f))r();else{if(Bt.eventCanceled)return void this._onDrop();y(s,"mouseup",i._disableDelayedDrag),y(s,"touchend",i._disableDelayedDrag),y(s,"touchcancel",i._disableDelayedDrag),y(s,"mousemove",i._delayedDragTouchMoveHandler),y(s,"touchmove",i._delayedDragTouchMoveHandler),a.supportPointer&&y(s,"pointermove",i._delayedDragTouchMoveHandler),i._dragStartTimer=setTimeout(r,a.delay)}}},_delayedDragTouchMoveHandler:function(t){var e=t.touches?t.touches[0]:t;Math.max(Math.abs(e.clientX-this._lastX),Math.abs(e.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){K&&Ht(K),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var t=this.el.ownerDocument;b(t,"mouseup",this._disableDelayedDrag),b(t,"touchend",this._disableDelayedDrag),b(t,"touchcancel",this._disableDelayedDrag),b(t,"mousemove",this._delayedDragTouchMoveHandler),b(t,"touchmove",this._delayedDragTouchMoveHandler),b(t,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(t,e){e=e||"touch"==t.pointerType&&t,!this.nativeDraggable||e?this.options.supportPointer?y(document,"pointermove",this._onTouchMove):y(document,e?"touchmove":"mousemove",this._onTouchMove):(y(K,"dragend",this),y(J,"dragstart",this._onDragStart));try{document.selection?Wt((function(){document.selection.empty()})):window.getSelection().removeAllRanges()}catch(t){}},_dragStarted:function(t,e){if(_t=!1,J&&K){Y("dragStarted",this,{evt:e}),this.nativeDraggable&&y(document,"dragover",Ft);var n=this.options;!t&&C(K,n.dragClass,!1),C(K,n.ghostClass,!0),Bt.active=this,t&&this._appendGhost(),X({sortable:this,name:"start",originalEvent:e})}else this._nulling()},_emulateDragOver:function(){if(ft){this._lastX=ft.clientX,this._lastY=ft.clientY,Nt();for(var t=document.elementFromPoint(ft.clientX,ft.clientY),e=t;t&&t.shadowRoot&&(t=t.shadowRoot.elementFromPoint(ft.clientX,ft.clientY))!==e;)e=t;if(K.parentNode[z]._isOutsideThisEl(t),e)do{if(e[z]){if(e[z]._onDragOver({clientX:ft.clientX,clientY:ft.clientY,target:t,rootEl:e})&&!this.options.dragoverBubble)break}t=e}while(e=e.parentNode);Lt()}},_onTouchMove:function(t){if(ut){var e=this.options,n=e.fallbackTolerance,r=e.fallbackOffset,i=t.touches?t.touches[0]:t,o=Q&&E(Q,!0),a=Q&&o&&o.a,s=Q&&o&&o.d,c=At&&wt&&I(wt),l=(i.clientX-ut.clientX+r.x)/(a||1)+(c?c[0]-St[0]:0)/(a||1),u=(i.clientY-ut.clientY+r.y)/(s||1)+(c?c[1]-St[1]:0)/(s||1);if(!Bt.active&&!_t){if(n&&Math.max(Math.abs(i.clientX-this._lastX),Math.abs(i.clientY-this._lastY))<n)return;this._onDragStart(t,!0)}if(Q){o?(o.e+=l-(ht||0),o.f+=u-(dt||0)):o={a:1,b:0,c:0,d:1,e:l,f:u};var f="matrix(".concat(o.a,",").concat(o.b,",").concat(o.c,",").concat(o.d,",").concat(o.e,",").concat(o.f,")");S(Q,"webkitTransform",f),S(Q,"mozTransform",f),S(Q,"msTransform",f),S(Q,"transform",f),ht=l,dt=u,ft=i}t.cancelable&&t.preventDefault()}},_appendGhost:function(){if(!Q){var t=this.options.fallbackOnBody?document.body:J,e=A(K,!0,At,!0,t),n=this.options;if(At){for(wt=t;"static"===S(wt,"position")&&"none"===S(wt,"transform")&&wt!==document;)wt=wt.parentNode;wt!==document.body&&wt!==document.documentElement?(wt===document&&(wt=P()),e.top+=wt.scrollTop,e.left+=wt.scrollLeft):wt=P(),St=I(wt)}C(Q=K.cloneNode(!0),n.ghostClass,!1),C(Q,n.fallbackClass,!0),C(Q,n.dragClass,!0),S(Q,"transition",""),S(Q,"transform",""),S(Q,"box-sizing","border-box"),S(Q,"margin",0),S(Q,"top",e.top),S(Q,"left",e.left),S(Q,"width",e.width),S(Q,"height",e.height),S(Q,"opacity","0.8"),S(Q,"position",At?"absolute":"fixed"),S(Q,"zIndex","100000"),S(Q,"pointerEvents","none"),Bt.ghost=Q,t.appendChild(Q),S(Q,"transform-origin",pt/parseInt(Q.style.width)*100+"% "+mt/parseInt(Q.style.height)*100+"%")}},_onDragStart:function(t,e){var n=this,r=t.dataTransfer,i=n.options;Y("dragStart",this,{evt:t}),Bt.eventCanceled?this._onDrop():(Y("setupClone",this),Bt.eventCanceled||((nt=B(K)).removeAttribute("id"),nt.draggable=!1,nt.style["will-change"]="",this._hideClone(),C(nt,this.options.chosenClass,!1),Bt.clone=nt),n.cloneId=Wt((function(){Y("clone",n),Bt.eventCanceled||(n.options.removeCloneOnHide||J.insertBefore(nt,K),n._hideClone(),X({sortable:n,name:"clone"}))})),!e&&C(K,i.dragClass,!0),e?(xt=!0,n._loopId=setInterval(n._emulateDragOver,50)):(b(document,"mouseup",n._onDrop),b(document,"touchend",n._onDrop),b(document,"touchcancel",n._onDrop),r&&(r.effectAllowed="move",i.setData&&i.setData.call(n,r,K)),y(document,"drop",n),S(K,"transform","translateZ(0)")),_t=!0,n._dragStartId=Wt(n._dragStarted.bind(n,e,t)),y(document,"selectstart",n),vt=!0,p&&S(document.body,"user-select","none"))},_onDragOver:function(t){var e,n,r,i,a=this.el,s=t.target,c=this.options,l=c.group,u=Bt.active,f=ct===l,h=c.sort,d=lt||u,p=this,m=!1;if(!Et){if(void 0!==t.preventDefault&&t.cancelable&&t.preventDefault(),s=x(s,c.draggable,a,!0),$("dragOver"),Bt.eventCanceled)return m;if(K.contains(t.target)||s.animated&&s.animatingX&&s.animatingY||p._ignoreWhileAnimating===s)return H(!1);if(xt=!1,u&&!c.disabled&&(f?h||(r=G!==J):lt===this||(this.lastPutMode=ct.checkPull(this,u,K,t))&&l.checkPut(this,u,K,t))){if(i="vertical"===this._getDirection(t,s),e=A(K),$("dragOverValid"),Bt.eventCanceled)return m;if(r)return G=J,B(),this._hideClone(),$("revert"),Bt.eventCanceled||(tt?J.insertBefore(K,tt):J.appendChild(K)),H(!0);var v=M(a,c.draggable);if(!v||function(t,e,n){var r=A(M(n.el,n.options.draggable)),i=10;return e?t.clientX>r.right+i||t.clientX<=r.right&&t.clientY>r.bottom&&t.clientX>=r.left:t.clientX>r.right&&t.clientY>r.top||t.clientX<=r.right&&t.clientY>r.bottom+i}(t,i,this)&&!v.animated){if(v===K)return H(!1);if(v&&a===t.target&&(s=v),s&&(n=A(s)),!1!==zt(J,a,K,e,s,n,t,!!s))return B(),v&&v.nextSibling?a.insertBefore(K,v.nextSibling):a.appendChild(K),G=a,U(),H(!0)}else if(v&&function(t,e,n){var r=A(D(n.el,0,n.options,!0)),i=10;return e?t.clientX<r.left-i||t.clientY<r.top&&t.clientX<r.right:t.clientY<r.top-i||t.clientY<r.bottom&&t.clientX<r.left}(t,i,this)){var g=D(a,0,c,!0);if(g===K)return H(!1);if(n=A(s=g),!1!==zt(J,a,K,e,s,n,t,!1))return B(),a.insertBefore(K,g),G=a,U(),H(!0)}else if(s.parentNode===a){n=A(s);var y,b,w,_=K.parentNode!==a,k=!function(t,e,n){var r=n?t.left:t.top,i=n?t.right:t.bottom,o=n?t.width:t.height,a=n?e.left:e.top,s=n?e.right:e.bottom,c=n?e.width:e.height;return r===a||i===s||r+o/2===a+c/2}(K.animated&&K.toRect||e,s.animated&&s.toRect||n,i),O=i?"top":"left",E=j(s,"top","top")||j(K,"top","top"),T=E?E.scrollTop:void 0;if(gt!==s&&(b=n[O],Ot=!1,Ct=!k&&c.invertSwap||_),y=function(t,e,n,r,i,o,a,s){var c=r?t.clientY:t.clientX,l=r?n.height:n.width,u=r?n.top:n.left,f=r?n.bottom:n.right,h=!1;if(!a)if(s&&bt<l*i){if(!Ot&&(1===yt?c>u+l*o/2:c<f-l*o/2)&&(Ot=!0),Ot)h=!0;else if(1===yt?c<u+bt:c>f-bt)return-yt}else if(c>u+l*(1-i)/2&&c<f-l*(1-i)/2)return function(t){return R(K)<R(t)?1:-1}(e);if((h=h||a)&&(c<u+l*o/2||c>f-l*o/2))return c>u+l/2?1:-1;return 0}(t,s,n,i,k?1:c.swapThreshold,null==c.invertedSwapThreshold?c.swapThreshold:c.invertedSwapThreshold,Ct,gt===s),0!==y){var P=R(K);do{P-=y,w=G.children[P]}while(w&&("none"===S(w,"display")||w===Q))}if(0===y||w===s)return H(!1);gt=s,yt=y;var I=s.nextElementSibling,N=!1,L=zt(J,a,K,e,s,n,t,N=1===y);if(!1!==L)return 1!==L&&-1!==L||(N=1===L),Et=!0,setTimeout(Ut,30),B(),N&&!I?a.appendChild(K):s.parentNode.insertBefore(K,N?I:s),E&&F(E,0,T-E.scrollTop),G=K.parentNode,void 0===b||Ct||(bt=Math.abs(b-A(s)[O])),U(),H(!0)}if(a.contains(K))return H(!1)}return!1}function $(c,l){Y(c,p,o({evt:t,isOwner:f,axis:i?"vertical":"horizontal",revert:r,dragRect:e,targetRect:n,canSort:h,fromSortable:d,target:s,completed:H,onMove:function(n,r){return zt(J,a,K,e,n,A(n),t,r)},changed:U},l))}function B(){$("dragOverAnimationCapture"),p.captureAnimationState(),p!==d&&d.captureAnimationState()}function H(e){return $("dragOverCompleted",{insertion:e}),e&&(f?u._hideClone():u._showClone(p),p!==d&&(C(K,lt?lt.options.ghostClass:u.options.ghostClass,!1),C(K,c.ghostClass,!0)),lt!==p&&p!==Bt.active?lt=p:p===Bt.active&&lt&&(lt=null),d===p&&(p._ignoreWhileAnimating=s),p.animateAll((function(){$("dragOverAnimationComplete"),p._ignoreWhileAnimating=null})),p!==d&&(d.animateAll(),d._ignoreWhileAnimating=null)),(s===K&&!K.animated||s===a&&!s.animated)&&(gt=null),c.dragoverBubble||t.rootEl||s===document||(K.parentNode[z]._isOutsideThisEl(t.target),!e&&$t(t)),!c.dragoverBubble&&t.stopPropagation&&t.stopPropagation(),m=!0}function U(){ot=R(K),st=R(K,c.draggable),X({sortable:p,name:"change",toEl:a,newIndex:ot,newDraggableIndex:st,originalEvent:t})}},_ignoreWhileAnimating:null,_offMoveEvents:function(){b(document,"mousemove",this._onTouchMove),b(document,"touchmove",this._onTouchMove),b(document,"pointermove",this._onTouchMove),b(document,"dragover",$t),b(document,"mousemove",$t),b(document,"touchmove",$t)},_offUpEvents:function(){var t=this.el.ownerDocument;b(t,"mouseup",this._onDrop),b(t,"touchend",this._onDrop),b(t,"pointerup",this._onDrop),b(t,"touchcancel",this._onDrop),b(document,"selectstart",this)},_onDrop:function(t){var e=this.el,n=this.options;ot=R(K),st=R(K,n.draggable),Y("drop",this,{evt:t}),G=K&&K.parentNode,ot=R(K),st=R(K,n.draggable),Bt.eventCanceled||(_t=!1,Ct=!1,Ot=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),Vt(this.cloneId),Vt(this._dragStartId),this.nativeDraggable&&(b(document,"drop",this),b(e,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),p&&S(document.body,"user-select",""),S(K,"transform",""),t&&(vt&&(t.cancelable&&t.preventDefault(),!n.dropBubble&&t.stopPropagation()),Q&&Q.parentNode&&Q.parentNode.removeChild(Q),(J===G||lt&&"clone"!==lt.lastPutMode)&&nt&&nt.parentNode&&nt.parentNode.removeChild(nt),K&&(this.nativeDraggable&&b(K,"dragend",this),Ht(K),K.style["will-change"]="",vt&&!_t&&C(K,lt?lt.options.ghostClass:this.options.ghostClass,!1),C(K,this.options.chosenClass,!1),X({sortable:this,name:"unchoose",toEl:G,newIndex:null,newDraggableIndex:null,originalEvent:t}),J!==G?(ot>=0&&(X({rootEl:G,name:"add",toEl:G,fromEl:J,originalEvent:t}),X({sortable:this,name:"remove",toEl:G,originalEvent:t}),X({rootEl:G,name:"sort",toEl:G,fromEl:J,originalEvent:t}),X({sortable:this,name:"sort",toEl:G,originalEvent:t})),lt&&lt.save()):ot!==it&&ot>=0&&(X({sortable:this,name:"update",toEl:G,originalEvent:t}),X({sortable:this,name:"sort",toEl:G,originalEvent:t})),Bt.active&&(null!=ot&&-1!==ot||(ot=it,st=at),X({sortable:this,name:"end",toEl:G,originalEvent:t}),this.save())))),this._nulling()},_nulling:function(){Y("nulling",this),J=K=G=Q=tt=nt=et=rt=ut=ft=vt=ot=st=it=at=gt=yt=lt=ct=Bt.dragged=Bt.ghost=Bt.clone=Bt.active=null,Tt.forEach((function(t){t.checked=!0})),Tt.length=ht=dt=0},handleEvent:function(t){switch(t.type){case"drop":case"dragend":this._onDrop(t);break;case"dragenter":case"dragover":K&&(this._onDragOver(t),function(t){t.dataTransfer&&(t.dataTransfer.dropEffect="move");t.cancelable&&t.preventDefault()}(t));break;case"selectstart":t.preventDefault()}},toArray:function(){for(var t,e=[],n=this.el.children,r=0,i=n.length,o=this.options;r<i;r++)x(t=n[r],o.draggable,this.el,!1)&&e.push(t.getAttribute(o.dataIdAttr)||qt(t));return e},sort:function(t,e){var n={},r=this.el;this.toArray().forEach((function(t,e){var i=r.children[e];x(i,this.options.draggable,r,!1)&&(n[t]=i)}),this),e&&this.captureAnimationState(),t.forEach((function(t){n[t]&&(r.removeChild(n[t]),r.appendChild(n[t]))})),e&&this.animateAll()},save:function(){var t=this.options.store;t&&t.set&&t.set(this)},closest:function(t,e){return x(t,e||this.options.draggable,this.el,!1)},option:function(t,e){var n=this.options;if(void 0===e)return n[t];var r=W.modifyOption(this,t,e);n[t]=void 0!==r?r:e,"group"===t&&It(n)},destroy:function(){Y("destroy",this);var t=this.el;t[z]=null,b(t,"mousedown",this._onTapStart),b(t,"touchstart",this._onTapStart),b(t,"pointerdown",this._onTapStart),this.nativeDraggable&&(b(t,"dragover",this),b(t,"dragenter",this)),Array.prototype.forEach.call(t.querySelectorAll("[draggable]"),(function(t){t.removeAttribute("draggable")})),this._onDrop(),this._disableDelayedDragEvents(),kt.splice(kt.indexOf(this.el),1),this.el=t=null},_hideClone:function(){if(!rt){if(Y("hideClone",this),Bt.eventCanceled)return;S(nt,"display","none"),this.options.removeCloneOnHide&&nt.parentNode&&nt.parentNode.removeChild(nt),rt=!0}},_showClone:function(t){if("clone"===t.lastPutMode){if(rt){if(Y("showClone",this),Bt.eventCanceled)return;K.parentNode!=J||this.options.group.revertClone?tt?J.insertBefore(nt,tt):J.appendChild(nt):J.insertBefore(nt,K),this.options.group.revertClone&&this.animate(K,nt),S(nt,"display",""),rt=!1}}else this._hideClone()}},Pt&&y(document,"touchmove",(function(t){(Bt.active||_t)&&t.cancelable&&t.preventDefault()})),Bt.utils={on:y,off:b,css:S,find:T,is:function(t,e){return!!x(t,e,t,!1)},extend:function(t,e){if(t&&e)for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t},throttle:$,closest:x,toggleClass:C,clone:B,index:R,nextTick:Wt,cancelNextTick:Vt,detectDirection:Rt,getChild:D},Bt.get=function(t){return t[z]},Bt.mount=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];e[0].constructor===Array&&(e=e[0]),e.forEach((function(t){if(!t.prototype||!t.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(t));t.utils&&(Bt.utils=o(o({},Bt.utils),t.utils)),W.mount(t)}))},Bt.create=function(t,e){return new Bt(t,e)},Bt.version="1.15.0";var Zt,Yt,Xt,Kt,Gt,Qt,Jt=[],te=!1;function ee(){Jt.forEach((function(t){clearInterval(t.pid)})),Jt=[]}function ne(){clearInterval(Qt)}var re=$((function(t,e,n,r){if(e.scroll){var i,o=(t.touches?t.touches[0]:t).clientX,a=(t.touches?t.touches[0]:t).clientY,s=e.scrollSensitivity,c=e.scrollSpeed,l=P(),u=!1;Yt!==n&&(Yt=n,ee(),Zt=e.scroll,i=e.scrollFn,!0===Zt&&(Zt=N(n,!0)));var f=0,h=Zt;do{var d=h,p=A(d),m=p.top,v=p.bottom,g=p.left,y=p.right,b=p.width,w=p.height,_=void 0,x=void 0,k=d.scrollWidth,O=d.scrollHeight,C=S(d),E=d.scrollLeft,T=d.scrollTop;d===l?(_=b<k&&("auto"===C.overflowX||"scroll"===C.overflowX||"visible"===C.overflowX),x=w<O&&("auto"===C.overflowY||"scroll"===C.overflowY||"visible"===C.overflowY)):(_=b<k&&("auto"===C.overflowX||"scroll"===C.overflowX),x=w<O&&("auto"===C.overflowY||"scroll"===C.overflowY));var j=_&&(Math.abs(y-o)<=s&&E+b<k)-(Math.abs(g-o)<=s&&!!E),D=x&&(Math.abs(v-a)<=s&&T+w<O)-(Math.abs(m-a)<=s&&!!T);if(!Jt[f])for(var M=0;M<=f;M++)Jt[M]||(Jt[M]={});Jt[f].vx==j&&Jt[f].vy==D&&Jt[f].el===d||(Jt[f].el=d,Jt[f].vx=j,Jt[f].vy=D,clearInterval(Jt[f].pid),0==j&&0==D||(u=!0,Jt[f].pid=setInterval(function(){r&&0===this.layer&&Bt.active._onTouchMove(Gt);var e=Jt[this.layer].vy?Jt[this.layer].vy*c:0,n=Jt[this.layer].vx?Jt[this.layer].vx*c:0;"function"==typeof i&&"continue"!==i.call(Bt.dragged.parentNode[z],n,e,t,Gt,Jt[this.layer].el)||F(Jt[this.layer].el,n,e)}.bind({layer:f}),24))),f++}while(e.bubbleScroll&&h!==l&&(h=N(h,!1)));te=u}}),30),ie=function(t){var e=t.originalEvent,n=t.putSortable,r=t.dragEl,i=t.activeSortable,o=t.dispatchSortableEvent,a=t.hideGhostForTarget,s=t.unhideGhostForTarget;if(e){var c=n||i;a();var l=e.changedTouches&&e.changedTouches.length?e.changedTouches[0]:e,u=document.elementFromPoint(l.clientX,l.clientY);s(),c&&!c.el.contains(u)&&(o("spill"),this.onSpill({dragEl:r,putSortable:n}))}};function oe(){}function ae(){}oe.prototype={startIndex:null,dragStart:function(t){var e=t.oldDraggableIndex;this.startIndex=e},onSpill:function(t){var e=t.dragEl,n=t.putSortable;this.sortable.captureAnimationState(),n&&n.captureAnimationState();var r=D(this.sortable.el,this.startIndex,this.options);r?this.sortable.el.insertBefore(e,r):this.sortable.el.appendChild(e),this.sortable.animateAll(),n&&n.animateAll()},drop:ie},c(oe,{pluginName:"revertOnSpill"}),ae.prototype={onSpill:function(t){var e=t.dragEl,n=t.putSortable||this.sortable;n.captureAnimationState(),e.parentNode&&e.parentNode.removeChild(e),n.animateAll()},drop:ie},c(ae,{pluginName:"removeOnSpill"});Bt.mount(new function(){function t(){for(var t in this.defaults={scroll:!0,forceAutoScrollFallback:!1,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0},this)"_"===t.charAt(0)&&"function"==typeof this[t]&&(this[t]=this[t].bind(this))}return t.prototype={dragStarted:function(t){var e=t.originalEvent;this.sortable.nativeDraggable?y(document,"dragover",this._handleAutoScroll):this.options.supportPointer?y(document,"pointermove",this._handleFallbackAutoScroll):e.touches?y(document,"touchmove",this._handleFallbackAutoScroll):y(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(t){var e=t.originalEvent;this.options.dragOverBubble||e.rootEl||this._handleAutoScroll(e)},drop:function(){this.sortable.nativeDraggable?b(document,"dragover",this._handleAutoScroll):(b(document,"pointermove",this._handleFallbackAutoScroll),b(document,"touchmove",this._handleFallbackAutoScroll),b(document,"mousemove",this._handleFallbackAutoScroll)),ne(),ee(),function(){clearTimeout(k),k=void 0}()},nulling:function(){Gt=Yt=Zt=te=Qt=Xt=Kt=null,Jt.length=0},_handleFallbackAutoScroll:function(t){this._handleAutoScroll(t,!0)},_handleAutoScroll:function(t,e){var n=this,r=(t.touches?t.touches[0]:t).clientX,i=(t.touches?t.touches[0]:t).clientY,o=document.elementFromPoint(r,i);if(Gt=t,e||this.options.forceAutoScrollFallback||h||f||p){re(t,this.options,o,e);var a=N(o,!0);!te||Qt&&r===Xt&&i===Kt||(Qt&&ne(),Qt=setInterval((function(){var o=N(document.elementFromPoint(r,i),!0);o!==a&&(a=o,ee()),re(t,n.options,o,e)}),10),Xt=r,Kt=i)}else{if(!this.options.bubbleScroll||N(o,!0)===P())return void ee();re(t,this.options,N(o,!1),!1)}}},c(t,{pluginName:"scroll",initializeByDefault:!0})}),Bt.mount(ae,oe);const se=Bt},3806:t=>{t.exports=function(t){return t.replace(/[A-Z]/g,(function(t){return"-"+t.toLowerCase()})).toLowerCase()}},677:(t,e,n)=>{"use strict";n.d(e,{mG:()=>r});function r(t,e,n,r){return new(n||(n=Promise))((function(i,o){function a(t){try{c(r.next(t))}catch(t){o(t)}}function s(t){try{c(r.throw(t))}catch(t){o(t)}}function c(t){t.done?i(t.value):function(t){return t instanceof n?t:new n((function(e){e(t)}))}(t.value).then(a,s)}c((r=r.apply(t,e||[])).next())}))}Object.create;Object.create},4725:function(t){!function(e,n){t.exports=function(){"use strict";function t(){return t=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},t.apply(this,arguments)}var e="undefined"!=typeof window,n=e&&!("onscroll"in window)||"undefined"!=typeof navigator&&/(gle|ing|ro)bot|crawl|spider/i.test(navigator.userAgent),r=e&&"IntersectionObserver"in window,i=e&&"classList"in document.createElement("p"),o=e&&window.devicePixelRatio>1,a={elements_selector:".lazy",container:n||e?document:null,threshold:300,thresholds:null,data_src:"src",data_srcset:"srcset",data_sizes:"sizes",data_bg:"bg",data_bg_hidpi:"bg-hidpi",data_bg_multi:"bg-multi",data_bg_multi_hidpi:"bg-multi-hidpi",data_bg_set:"bg-set",data_poster:"poster",class_applied:"applied",class_loading:"loading",class_loaded:"loaded",class_error:"error",class_entered:"entered",class_exited:"exited",unobserve_completed:!0,unobserve_entered:!1,cancel_on_exit:!0,callback_enter:null,callback_exit:null,callback_applied:null,callback_loading:null,callback_loaded:null,callback_error:null,callback_finish:null,callback_cancel:null,use_native:!1,restore_on_error:!1},s=function(e){return t({},a,e)},c=function(t,e){var n,r="LazyLoad::Initialized",i=new t(e);try{n=new CustomEvent(r,{detail:{instance:i}})}catch(t){(n=document.createEvent("CustomEvent")).initCustomEvent(r,!1,!1,{instance:i})}window.dispatchEvent(n)},l=function(t,e){if(e)if(e.length)for(var n,r=0;n=e[r];r+=1)c(t,n);else c(t,e)},u="src",f="srcset",h="sizes",d="poster",p="llOriginalAttrs",m="data",v="loading",g="loaded",y="applied",b="entered",w="error",_="native",x="data-",k="ll-status",O=function(t,e){return t.getAttribute(x+e)},C=function(t,e,n){var r=x+e;null!==n?t.setAttribute(r,n):t.removeAttribute(r)},S=function(t){return O(t,k)},E=function(t,e){return C(t,k,e)},T=function(t){return E(t,null)},P=function(t){return null===S(t)},A=function(t){return S(t)===v},j=function(t){return S(t)===w},D=function(t){return S(t)===_},M=[v,g,y,w],R=function(t){return M.indexOf(S(t))>=0},I=function(t,e,n,r){t&&(void 0===r?void 0===n?t(e):t(e,n):t(e,n,r))},N=function(t,e){i?t.classList.add(e):t.className+=(t.className?" ":"")+e},L=function(t,e){i?t.classList.remove(e):t.className=t.className.replace(new RegExp("(^|\\s+)"+e+"(\\s+|$)")," ").replace(/^\s+/,"").replace(/\s+$/,"")},$=function(t){t.llTempImage=document.createElement("IMG")},F=function(t){delete t.llTempImage},B=function(t){return t.llTempImage},z=function(t,e){if(e){var n=e._observer;n&&n.unobserve(t)}},H=function(t){t.disconnect()},U=function(t,e,n){e.unobserve_entered&&z(t,n)},q=function(t,e){t&&(t.loadingCount+=e)},W=function(t){t&&(t.toLoadCount-=1)},V=function(t,e){t&&(t.toLoadCount=e)},Z=function(t){return t.loadingCount>0},Y=function(t){return t.toLoadCount>0},X=function(t){for(var e,n=[],r=0;e=t.children[r];r+=1)"SOURCE"===e.tagName&&n.push(e);return n},K=function(t,e){var n=t.parentNode;n&&"PICTURE"===n.tagName&&X(n).forEach(e)},G=function(t,e){X(t).forEach(e)},Q=[u],J=[u,d],tt=[u,f,h],et=[m],nt=function(t){return!!t[p]},rt=function(t){return t[p]},it=function(t){return delete t[p]},ot=function(t,e){if(!nt(t)){var n={};e.forEach((function(e){n[e]=t.getAttribute(e)})),t[p]=n}},at=function(t){nt(t)||(t[p]={backgroundImage:t.style.backgroundImage})},st=function(t,e,n){n?t.setAttribute(e,n):t.removeAttribute(e)},ct=function(t,e){if(nt(t)){var n=rt(t);e.forEach((function(e){st(t,e,n[e])}))}},lt=function(t){if(nt(t)){var e=rt(t);t.style.backgroundImage=e.backgroundImage}},ut=function(t,e,n){N(t,e.class_applied),E(t,y),n&&(e.unobserve_completed&&z(t,e),I(e.callback_applied,t,n))},ft=function(t,e,n){N(t,e.class_loading),E(t,v),n&&(q(n,1),I(e.callback_loading,t,n))},ht=function(t,e,n){n&&t.setAttribute(e,n)},dt=function(t,e){ht(t,h,O(t,e.data_sizes)),ht(t,f,O(t,e.data_srcset)),ht(t,u,O(t,e.data_src))},pt=function(t,e,n){var r=O(t,e.data_bg),i=O(t,e.data_bg_hidpi),a=o&&i?i:r;a&&(t.style.backgroundImage='url("'.concat(a,'")'),B(t).setAttribute(u,a),ft(t,e,n))},mt=function(t,e,n){var r=O(t,e.data_bg_multi),i=O(t,e.data_bg_multi_hidpi),a=o&&i?i:r;a&&(t.style.backgroundImage=a,ut(t,e,n))},vt=function(t,e,n){var r=O(t,e.data_bg_set);if(r){var i=r.split("|"),o=i.map((function(t){return"image-set(".concat(t,")")}));t.style.backgroundImage=o.join(),""===t.style.backgroundImage&&(o=i.map((function(t){return"-webkit-image-set(".concat(t,")")})),t.style.backgroundImage=o.join()),ut(t,e,n)}},gt={IMG:function(t,e){K(t,(function(t){ot(t,tt),dt(t,e)})),ot(t,tt),dt(t,e)},IFRAME:function(t,e){ot(t,Q),ht(t,u,O(t,e.data_src))},VIDEO:function(t,e){G(t,(function(t){ot(t,Q),ht(t,u,O(t,e.data_src))})),ot(t,J),ht(t,d,O(t,e.data_poster)),ht(t,u,O(t,e.data_src)),t.load()},OBJECT:function(t,e){ot(t,et),ht(t,m,O(t,e.data_src))}},yt=function(t,e){var n=gt[t.tagName];n&&n(t,e)},bt=function(t,e,n){var r=gt[t.tagName];r&&(r(t,e),ft(t,e,n))},wt=["IMG","IFRAME","VIDEO","OBJECT"],_t=function(t){return wt.indexOf(t.tagName)>-1},xt=function(t,e){!e||Z(e)||Y(e)||I(t.callback_finish,e)},kt=function(t,e,n){t.addEventListener(e,n),t.llEvLisnrs[e]=n},Ot=function(t,e,n){t.removeEventListener(e,n)},Ct=function(t){return!!t.llEvLisnrs},St=function(t,e,n){Ct(t)||(t.llEvLisnrs={});var r="VIDEO"===t.tagName?"loadeddata":"load";kt(t,r,e),kt(t,"error",n)},Et=function(t){if(Ct(t)){var e=t.llEvLisnrs;for(var n in e){var r=e[n];Ot(t,n,r)}delete t.llEvLisnrs}},Tt=function(t,e,n){F(t),q(n,-1),W(n),L(t,e.class_loading),e.unobserve_completed&&z(t,n)},Pt=function(t,e,n,r){var i=D(e);Tt(e,n,r),N(e,n.class_loaded),E(e,g),I(n.callback_loaded,e,r),i||xt(n,r)},At=function(t,e,n,r){var i=D(e);Tt(e,n,r),N(e,n.class_error),E(e,w),I(n.callback_error,e,r),n.restore_on_error&&ct(e,tt),i||xt(n,r)},jt=function(t,e,n){var r=B(t)||t;Ct(r)||St(r,(function(i){Pt(i,t,e,n),Et(r)}),(function(i){At(i,t,e,n),Et(r)}))},Dt=function(t,e,n){$(t),jt(t,e,n),at(t),pt(t,e,n),mt(t,e,n),vt(t,e,n)},Mt=function(t,e,n){jt(t,e,n),bt(t,e,n)},Rt=function(t,e,n){_t(t)?Mt(t,e,n):Dt(t,e,n)},It=function(t,e,n){t.setAttribute("loading","lazy"),jt(t,e,n),yt(t,e),E(t,_)},Nt=function(t){t.removeAttribute(u),t.removeAttribute(f),t.removeAttribute(h)},Lt=function(t){K(t,(function(t){Nt(t)})),Nt(t)},$t=function(t){K(t,(function(t){ct(t,tt)})),ct(t,tt)},Ft={IMG:$t,IFRAME:function(t){ct(t,Q)},VIDEO:function(t){G(t,(function(t){ct(t,Q)})),ct(t,J),t.load()},OBJECT:function(t){ct(t,et)}},Bt=function(t){var e=Ft[t.tagName];e?e(t):lt(t)},zt=function(t,e){P(t)||D(t)||(L(t,e.class_entered),L(t,e.class_exited),L(t,e.class_applied),L(t,e.class_loading),L(t,e.class_loaded),L(t,e.class_error))},Ht=function(t,e){Bt(t),zt(t,e),T(t),it(t)},Ut=function(t,e,n,r){n.cancel_on_exit&&A(t)&&"IMG"===t.tagName&&(Et(t),Lt(t),$t(t),L(t,n.class_loading),q(r,-1),T(t),I(n.callback_cancel,t,e,r))},qt=function(t,e,n,r){var i=R(t);E(t,b),N(t,n.class_entered),L(t,n.class_exited),U(t,n,r),I(n.callback_enter,t,e,r),i||Rt(t,n,r)},Wt=function(t,e,n,r){P(t)||(N(t,n.class_exited),Ut(t,e,n,r),I(n.callback_exit,t,e,r))},Vt=["IMG","IFRAME","VIDEO"],Zt=function(t){return t.use_native&&"loading"in HTMLImageElement.prototype},Yt=function(t,e,n){t.forEach((function(t){-1!==Vt.indexOf(t.tagName)&&It(t,e,n)})),V(n,0)},Xt=function(t){return t.isIntersecting||t.intersectionRatio>0},Kt=function(t){return{root:t.container===document?null:t.container,rootMargin:t.thresholds||t.threshold+"px"}},Gt=function(t,e,n){t.forEach((function(t){return Xt(t)?qt(t.target,t,e,n):Wt(t.target,t,e,n)}))},Qt=function(t,e){e.forEach((function(e){t.observe(e)}))},Jt=function(t,e){H(t),Qt(t,e)},te=function(t,e){r&&!Zt(t)&&(e._observer=new IntersectionObserver((function(n){Gt(n,t,e)}),Kt(t)))},ee=function(t){return Array.prototype.slice.call(t)},ne=function(t){return t.container.querySelectorAll(t.elements_selector)},re=function(t){return ee(t).filter(P)},ie=function(t){return j(t)},oe=function(t){return ee(t).filter(ie)},ae=function(t,e){return re(t||ne(e))},se=function(t,e){oe(ne(t)).forEach((function(e){L(e,t.class_error),T(e)})),e.update()},ce=function(t,n){e&&(n._onlineHandler=function(){se(t,n)},window.addEventListener("online",n._onlineHandler))},le=function(t){e&&window.removeEventListener("online",t._onlineHandler)},ue=function(t,e){var n=s(t);this._settings=n,this.loadingCount=0,te(n,this),ce(n,this),this.update(e)};ue.prototype={update:function(t){var e=this._settings,i=ae(t,e);V(this,i.length),!n&&r?Zt(e)?Yt(i,e,this):Jt(this._observer,i):this.loadAll(i)},destroy:function(){this._observer&&this._observer.disconnect(),le(this),ne(this._settings).forEach((function(t){it(t)})),delete this._observer,delete this._settings,delete this._onlineHandler,delete this.loadingCount,delete this.toLoadCount},loadAll:function(t){var e=this,n=this._settings;ae(t,n).forEach((function(t){z(t,e),Rt(t,n,e)}))},restoreAll:function(){var t=this._settings;ne(t).forEach((function(e){Ht(e,t)}))}},ue.load=function(t,e){var n=s(e);Rt(t,n)},ue.resetStatus=function(t){T(t)},e&&l(ue,window.lazyLoadOptions);return ue}()}()},8407:(t,e,n)=>{"use strict";n.d(e,{Z:()=>O});var r=n(6979);/^2\./.test(r.ZP.version)||r.ZP.util.warn("VueClickaway 2.2.2 only supports Vue 2.x, and does not support Vue "+r.ZP.version);var i="_vue_clickaway_handler";function o(t,e,n){a(t);var r=n.context,o=e.value;if("function"==typeof o){var s=!1;setTimeout((function(){s=!0}),0),t[i]=function(e){var n=e.path||(e.composedPath?e.composedPath():void 0);if(s&&(n?n.indexOf(t)<0:!t.contains(e.target)))return o.call(r,e)},document.documentElement.addEventListener("click",t[i],!1)}}function a(t){document.documentElement.removeEventListener("click",t[i],!1),delete t[i]}var s={bind:o,update:function(t,e){e.value!==e.oldValue&&o(t,e)},unbind:a};Array.from||(Array.from=t=>[].slice.call(t)),Array.isArray||(Array.isArray=t=>"[object Array]"===Object.prototype.toString.call(t));const c=Array.from,l=Array.isArray,u=27,f=37,h=38,d=39,p=40,m=(t,e,n)=>{t&&t.addEventListener&&t.addEventListener(e,n)},v=(t,e,n)=>{t&&t.removeEventListener&&t.removeEventListener(e,n)},g=t=>y(t)?t.getBoundingClientRect():null,y=t=>Boolean(t&&t.nodeType===Node.ELEMENT_NODE),b=t=>{if(!y(t)||!((t,e)=>!(!t||"function"!=typeof t.contains)&&t.contains(e))(document.body,t))return!1;if("none"===t.style.display)return!1;const e=g(t);return Boolean(e&&e.height>0&&e.width>0)},w=(t,e)=>c((y(e)?e:document).querySelectorAll(t)),_=(t,e,n)=>{e&&y(t)&&t.setAttribute(e,n)},x=(t,e)=>{let n=t.parentElement;for(;null!==n&&!n.classList.contains(e);)n=n.parentElement;return n},k=(t,e={},n={},r={})=>{const i=n[t]||r[t];return"function"==typeof i?i(e):i},O={directives:{onClickaway:s},props:{closeOnClick:{type:Boolean,default:!0},closeOnScroll:{type:Boolean,default:!0},lazy:{type:Boolean,default:!1},itemSelector:{type:[String,Array],default:()=>[".v-context-item",".v-context > li > a"]},role:{type:String,default:"menu"},subMenuOffset:{type:Number,default:10},useScrollHeight:{type:Boolean,default:!1},useScrollWidth:{type:Boolean,default:!1},heightOffset:{type:Number,default:25},widthOffset:{type:Number,default:25},tag:{type:String,default:"ul"}},computed:{style(){return this.show?{top:`${this.top}px`,left:`${this.left}px`}:null}},data:()=>({top:null,left:null,show:!1,data:null,localItemSelector:"",activeSubMenu:null}),created(){this.localItemSelector=this.mapItemSelector(this.itemSelector)},beforeDestroy(){this.closeOnScroll&&this.removeScrollEventListener()},methods:{addScrollEventListener(){m(window,"scroll",this.close)},addHoverEventListener(t){t.querySelectorAll(".v-context__sub").forEach((t=>{m(t,"mouseenter",this.openSubMenu),m(t,"mouseleave",this.closeSubMenu)}))},close(){if(this.show){for(;null!==this.activeSubMenu;)x(this.activeSubMenu,"v-context__sub").dispatchEvent(new Event("mouseleave"));this.resetData(),this.removeHoverEventListener(this.$el),this.closeOnScroll&&this.removeScrollEventListener(),this.$emit("close")}},focusItem(t,e){const n=e.find(((e,n)=>n===t));n&&n.focus()},focusNext(t,e){this.show&&(t.preventDefault(),t.stopPropagation(),this.$nextTick((()=>{const n=this.getItems();if(n.length<1)return;let r=n.indexOf(t.target);e&&r>0?r--:!e&&r<n.length-1&&r++,r<0&&(r=0),this.focusItem(r,n)})))},getItems(){return(t=>(t||[]).filter(b))(w(this.localItemSelector,this.activeSubMenu||this.$el))},mapItemSelector:t=>(l(t)&&(t=t.map((t=>`${t}:not(.disabled):not([disabled])`)).join(", ")),t),onClick(){this.close()},onKeydown(t){const e=t.keyCode;if(e===u)this.close();else if(e===p)this.focusNext(t,!1);else if(e===h)this.focusNext(t,!0);else if(e===d){const e=x(t.target,"v-context__sub");e&&e.getElementsByClassName("v-context")[0]!==this.activeSubMenu&&(e.dispatchEvent(new Event("mouseenter")),this.focusNext(t,!1))}else if(e===f){if(!this.activeSubMenu)return;const t=x(this.activeSubMenu,"v-context__sub");t.dispatchEvent(new Event("mouseleave"));const e=this.getItems(),n=e.indexOf(t.getElementsByTagName("a")[0]);this.focusItem(n,e)}},open(t,e){this.data=e,this.show=!0,this.$nextTick((()=>{[this.top,this.left]=this.positionMenu(t.clientY,t.clientX,this.$el),this.$el.focus(),this.setItemRoles(),this.addHoverEventListener(this.$el),this.closeOnScroll&&this.addScrollEventListener(),this.$emit("open",t,this.data,this.top,this.left)}))},openSubMenu(t){const e=this.getSubMenuElementByEvent(t),n=x(e.parentElement,"v-context"),r=g(t.target);if(this.activeSubMenu!==n)for(;null!==this.activeSubMenu&&this.activeSubMenu!==n&&this.activeSubMenu!==e;)x(this.activeSubMenu,"v-context__sub").dispatchEvent(new Event("mouseleave"));e.style.display="block";let[i,o]=this.positionMenu(r.top,r.right-this.subMenuOffset,e);e.style.left=`${o}px`,e.style.top=`${i}px`,this.activeSubMenu=e},closeSubMenu(t){const e=this.getSubMenuElementByEvent(t),n=x(e,"v-context");if(this.activeSubMenu!==e)for(;null!==this.activeSubMenu&&this.activeSubMenu!==e;)x(this.activeSubMenu,"v-context__sub").dispatchEvent(new Event("mouseleave"));e.style.display="none",this.activeSubMenu=n&&x(n,"v-context__sub")?n:null},getSubMenuElementByEvent:t=>t.target.getElementsByTagName("ul")[0],positionMenu(t,e,n){const r=this.useScrollHeight?n.scrollHeight:n.offsetHeight,i=window.innerHeight-r-this.heightOffset,o=this.useScrollWidth?n.scrollWidth:n.offsetWidth,a=window.innerWidth-o-this.widthOffset;return t>i&&(t=i),e>a&&(e=a),[t,e]},removeScrollEventListener(){v(window,"scroll",this.close)},removeHoverEventListener(t){t.querySelectorAll(".v-context__sub").forEach((t=>{v(t,"mouseenter",this.openSubMenu),v(t,"mouseleave",this.closeSubMenu)}))},resetData(){this.top=null,this.left=null,this.data=null,this.show=!1},setItemRoles(){w(this.localItemSelector,this.$el).forEach((t=>{_(t,"role","menuitem"),_(t,"tabindex","-1")}))}},watch:{closeOnScroll(t,e){t!==e&&(t&&this.show?this.addScrollEventListener():this.removeScrollEventListener())},itemSelector(t,e){t!==e&&(this.localItemSelector=this.mapItemSelector(t))}},render(t){if(this.lazy&&!this.show)return t(!1);const e={"!contextmenu":t=>{t.preventDefault()},keydown:this.onKeydown};this.closeOnClick&&(e.click=this.onClick);const n=[{name:"on-clickaway",value:this.close,rawName:"v-on-clickaway"}];return this.lazy||n.push({name:"show",value:this.show,rawName:"v-show",expression:"show"}),t(this.tag,{staticClass:"v-context",style:this.style,attrs:{tabindex:"-1",role:this.role,"aria-hidden":this.lazy?null:String(!this.show)},on:e,directives:n},[k("default",{data:this.data},this.$scopedSlots,this.$slots)])}}},7952:(t,e,n)=>{"use strict";function r(t,e,n,r,i,o,a,s){var c,l="function"==typeof t?t.options:t;if(e&&(l.render=e,l.staticRenderFns=n,l._compiled=!0),r&&(l.functional=!0),o&&(l._scopeId="data-v-"+o),a?(c=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},l._ssrRegister=c):i&&(c=s?function(){i.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:i),c)if(l.functional){l._injectStyles=c;var u=l.render;l.render=function(t,e){return c.call(e),u(t,e)}}else{var f=l.beforeCreate;l.beforeCreate=f?[].concat(f,c):[c]}return{exports:t,options:l}}n.d(e,{Z:()=>r})},4611:(t,e,n)=>{"use strict";n.d(e,{Z:()=>l});var r=n(5518),i=n.n(r);function o(t){var e=Object.keys(t),n=e.map((function(e){return t[e]})),r=[0].concat(function(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}(n.slice(0,-1))),o=r.reduce((function(t,n,o){var a=Object.assign({minWidth:n},o<e.length-1?{maxWidth:r[o+1]-1}:{}),s=i()(a);return Object.assign(t,function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}({},e[o],s))}),{});return o}function a(t){return"[object Array]"===Object.prototype.toString.call(t)}var s={props:{mq:{required:!0,type:[String,Array]}},computed:{plusModifier:function(){return!a(this.mq)&&"+"===this.mq.slice(-1)},activeBreakpoints:function(){var t=Object.keys(this.$mqAvailableBreakpoints),e=this.plusModifier?this.mq.slice(0,-1):a(this.mq)?this.mq:[this.mq];return this.plusModifier?function(t,e){var n=t.findIndex((function(t){return t===e}));return t.slice(n)}(t,e):e}},render:function(t,e){return this.activeBreakpoints.includes(this.$mq)?t("div",this.$slots.default):t()}},c={sm:450,md:1250,lg:1/0};const l={install:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.breakpoints,r=void 0===n?c:n,i=e.defaultBreakpoint,a=void 0===i?"sm":i,l=!1,u=new t({data:function(){return{currentBreakpoint:a}}});t.filter("mq",(function(t,e){return function(t,e,n){return function n(r){if(void 0!==e[r])return e[r];var i=t.findIndex((function(t){return t===r})),o=-1!==i||0!==i?t[i-1]:null;return o?void 0!==e[o]?e[o]:n(o):e[i]}(n)}(Object.keys(r),e,t)})),t.mixin({computed:{$mq:function(){return u.currentBreakpoint}},created:function(){this.$isServer&&(u.currentBreakpoint=a)},mounted:function(){if(!l){var t=o(r),e=function(e){!function(t,e){var n=window.matchMedia(t),r=function(t){t.matches&&e()};n.addListener(r),r(n)}(t[e],(function(){u.currentBreakpoint=e}))};for(var n in t)e(n);l=!0}}}),t.prototype.$mqAvailableBreakpoints=r,t.component("MqLayout",s)}}},7209:(t,e,n)=>{"use strict";function r(t,e){for(var n in e)t[n]=e[n];return t}n.d(e,{ZP:()=>Zt});var i=/[!'()*]/g,o=function(t){return"%"+t.charCodeAt(0).toString(16)},a=/%2C/g,s=function(t){return encodeURIComponent(t).replace(i,o).replace(a,",")};function c(t){try{return decodeURIComponent(t)}catch(t){0}return t}var l=function(t){return null==t||"object"==typeof t?t:String(t)};function u(t){var e={};return(t=t.trim().replace(/^(\?|#|&)/,""))?(t.split("&").forEach((function(t){var n=t.replace(/\+/g," ").split("="),r=c(n.shift()),i=n.length>0?c(n.join("=")):null;void 0===e[r]?e[r]=i:Array.isArray(e[r])?e[r].push(i):e[r]=[e[r],i]})),e):e}function f(t){var e=t?Object.keys(t).map((function(e){var n=t[e];if(void 0===n)return"";if(null===n)return s(e);if(Array.isArray(n)){var r=[];return n.forEach((function(t){void 0!==t&&(null===t?r.push(s(e)):r.push(s(e)+"="+s(t)))})),r.join("&")}return s(e)+"="+s(n)})).filter((function(t){return t.length>0})).join("&"):null;return e?"?"+e:""}var h=/\/?$/;function d(t,e,n,r){var i=r&&r.options.stringifyQuery,o=e.query||{};try{o=p(o)}catch(t){}var a={name:e.name||t&&t.name,meta:t&&t.meta||{},path:e.path||"/",hash:e.hash||"",query:o,params:e.params||{},fullPath:g(e,i),matched:t?v(t):[]};return n&&(a.redirectedFrom=g(n,i)),Object.freeze(a)}function p(t){if(Array.isArray(t))return t.map(p);if(t&&"object"==typeof t){var e={};for(var n in t)e[n]=p(t[n]);return e}return t}var m=d(null,{path:"/"});function v(t){for(var e=[];t;)e.unshift(t),t=t.parent;return e}function g(t,e){var n=t.path,r=t.query;void 0===r&&(r={});var i=t.hash;return void 0===i&&(i=""),(n||"/")+(e||f)(r)+i}function y(t,e,n){return e===m?t===e:!!e&&(t.path&&e.path?t.path.replace(h,"")===e.path.replace(h,"")&&(n||t.hash===e.hash&&b(t.query,e.query)):!(!t.name||!e.name)&&(t.name===e.name&&(n||t.hash===e.hash&&b(t.query,e.query)&&b(t.params,e.params))))}function b(t,e){if(void 0===t&&(t={}),void 0===e&&(e={}),!t||!e)return t===e;var n=Object.keys(t).sort(),r=Object.keys(e).sort();return n.length===r.length&&n.every((function(n,i){var o=t[n];if(r[i]!==n)return!1;var a=e[n];return null==o||null==a?o===a:"object"==typeof o&&"object"==typeof a?b(o,a):String(o)===String(a)}))}function w(t){for(var e=0;e<t.matched.length;e++){var n=t.matched[e];for(var r in n.instances){var i=n.instances[r],o=n.enteredCbs[r];if(i&&o){delete n.enteredCbs[r];for(var a=0;a<o.length;a++)i._isBeingDestroyed||o[a](i)}}}}var _={name:"RouterView",functional:!0,props:{name:{type:String,default:"default"}},render:function(t,e){var n=e.props,i=e.children,o=e.parent,a=e.data;a.routerView=!0;for(var s=o.$createElement,c=n.name,l=o.$route,u=o._routerViewCache||(o._routerViewCache={}),f=0,h=!1;o&&o._routerRoot!==o;){var d=o.$vnode?o.$vnode.data:{};d.routerView&&f++,d.keepAlive&&o._directInactive&&o._inactive&&(h=!0),o=o.$parent}if(a.routerViewDepth=f,h){var p=u[c],m=p&&p.component;return m?(p.configProps&&x(m,a,p.route,p.configProps),s(m,a,i)):s()}var v=l.matched[f],g=v&&v.components[c];if(!v||!g)return u[c]=null,s();u[c]={component:g},a.registerRouteInstance=function(t,e){var n=v.instances[c];(e&&n!==t||!e&&n===t)&&(v.instances[c]=e)},(a.hook||(a.hook={})).prepatch=function(t,e){v.instances[c]=e.componentInstance},a.hook.init=function(t){t.data.keepAlive&&t.componentInstance&&t.componentInstance!==v.instances[c]&&(v.instances[c]=t.componentInstance),w(l)};var y=v.props&&v.props[c];return y&&(r(u[c],{route:l,configProps:y}),x(g,a,l,y)),s(g,a,i)}};function x(t,e,n,i){var o=e.props=function(t,e){switch(typeof e){case"undefined":return;case"object":return e;case"function":return e(t);case"boolean":return e?t.params:void 0}}(n,i);if(o){o=e.props=r({},o);var a=e.attrs=e.attrs||{};for(var s in o)t.props&&s in t.props||(a[s]=o[s],delete o[s])}}function k(t,e,n){var r=t.charAt(0);if("/"===r)return t;if("?"===r||"#"===r)return e+t;var i=e.split("/");n&&i[i.length-1]||i.pop();for(var o=t.replace(/^\//,"").split("/"),a=0;a<o.length;a++){var s=o[a];".."===s?i.pop():"."!==s&&i.push(s)}return""!==i[0]&&i.unshift(""),i.join("/")}function O(t){return t.replace(/\/(?:\s*\/)+/g,"/")}var C=Array.isArray||function(t){return"[object Array]"==Object.prototype.toString.call(t)},S=z,E=D,T=function(t,e){return I(D(t,e),e)},P=I,A=B,j=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function D(t,e){for(var n,r=[],i=0,o=0,a="",s=e&&e.delimiter||"/";null!=(n=j.exec(t));){var c=n[0],l=n[1],u=n.index;if(a+=t.slice(o,u),o=u+c.length,l)a+=l[1];else{var f=t[o],h=n[2],d=n[3],p=n[4],m=n[5],v=n[6],g=n[7];a&&(r.push(a),a="");var y=null!=h&&null!=f&&f!==h,b="+"===v||"*"===v,w="?"===v||"*"===v,_=n[2]||s,x=p||m;r.push({name:d||i++,prefix:h||"",delimiter:_,optional:w,repeat:b,partial:y,asterisk:!!g,pattern:x?L(x):g?".*":"[^"+N(_)+"]+?"})}}return o<t.length&&(a+=t.substr(o)),a&&r.push(a),r}function M(t){return encodeURI(t).replace(/[\/?#]/g,(function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()}))}function R(t){return encodeURI(t).replace(/[?#]/g,(function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()}))}function I(t,e){for(var n=new Array(t.length),r=0;r<t.length;r++)"object"==typeof t[r]&&(n[r]=new RegExp("^(?:"+t[r].pattern+")$",F(e)));return function(e,r){for(var i="",o=e||{},a=(r||{}).pretty?M:encodeURIComponent,s=0;s<t.length;s++){var c=t[s];if("string"!=typeof c){var l,u=o[c.name];if(null==u){if(c.optional){c.partial&&(i+=c.prefix);continue}throw new TypeError('Expected "'+c.name+'" to be defined')}if(C(u)){if(!c.repeat)throw new TypeError('Expected "'+c.name+'" to not repeat, but received `'+JSON.stringify(u)+"`");if(0===u.length){if(c.optional)continue;throw new TypeError('Expected "'+c.name+'" to not be empty')}for(var f=0;f<u.length;f++){if(l=a(u[f]),!n[s].test(l))throw new TypeError('Expected all "'+c.name+'" to match "'+c.pattern+'", but received `'+JSON.stringify(l)+"`");i+=(0===f?c.prefix:c.delimiter)+l}}else{if(l=c.asterisk?R(u):a(u),!n[s].test(l))throw new TypeError('Expected "'+c.name+'" to match "'+c.pattern+'", but received "'+l+'"');i+=c.prefix+l}}else i+=c}return i}}function N(t){return t.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function L(t){return t.replace(/([=!:$\/()])/g,"\\$1")}function $(t,e){return t.keys=e,t}function F(t){return t&&t.sensitive?"":"i"}function B(t,e,n){C(e)||(n=e||n,e=[]);for(var r=(n=n||{}).strict,i=!1!==n.end,o="",a=0;a<t.length;a++){var s=t[a];if("string"==typeof s)o+=N(s);else{var c=N(s.prefix),l="(?:"+s.pattern+")";e.push(s),s.repeat&&(l+="(?:"+c+l+")*"),o+=l=s.optional?s.partial?c+"("+l+")?":"(?:"+c+"("+l+"))?":c+"("+l+")"}}var u=N(n.delimiter||"/"),f=o.slice(-u.length)===u;return r||(o=(f?o.slice(0,-u.length):o)+"(?:"+u+"(?=$))?"),o+=i?"$":r&&f?"":"(?="+u+"|$)",$(new RegExp("^"+o,F(n)),e)}function z(t,e,n){return C(e)||(n=e||n,e=[]),n=n||{},t instanceof RegExp?function(t,e){var n=t.source.match(/\((?!\?)/g);if(n)for(var r=0;r<n.length;r++)e.push({name:r,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return $(t,e)}(t,e):C(t)?function(t,e,n){for(var r=[],i=0;i<t.length;i++)r.push(z(t[i],e,n).source);return $(new RegExp("(?:"+r.join("|")+")",F(n)),e)}(t,e,n):function(t,e,n){return B(D(t,n),e,n)}(t,e,n)}S.parse=E,S.compile=T,S.tokensToFunction=P,S.tokensToRegExp=A;var H=Object.create(null);function U(t,e,n){e=e||{};try{var r=H[t]||(H[t]=S.compile(t));return"string"==typeof e.pathMatch&&(e[0]=e.pathMatch),r(e,{pretty:!0})}catch(t){return""}finally{delete e[0]}}function q(t,e,n,i){var o="string"==typeof t?{path:t}:t;if(o._normalized)return o;if(o.name){var a=(o=r({},t)).params;return a&&"object"==typeof a&&(o.params=r({},a)),o}if(!o.path&&o.params&&e){(o=r({},o))._normalized=!0;var s=r(r({},e.params),o.params);if(e.name)o.name=e.name,o.params=s;else if(e.matched.length){var c=e.matched[e.matched.length-1].path;o.path=U(c,s,e.path)}else 0;return o}var f=function(t){var e="",n="",r=t.indexOf("#");r>=0&&(e=t.slice(r),t=t.slice(0,r));var i=t.indexOf("?");return i>=0&&(n=t.slice(i+1),t=t.slice(0,i)),{path:t,query:n,hash:e}}(o.path||""),h=e&&e.path||"/",d=f.path?k(f.path,h,n||o.append):h,p=function(t,e,n){void 0===e&&(e={});var r,i=n||u;try{r=i(t||"")}catch(t){r={}}for(var o in e){var a=e[o];r[o]=Array.isArray(a)?a.map(l):l(a)}return r}(f.query,o.query,i&&i.options.parseQuery),m=o.hash||f.hash;return m&&"#"!==m.charAt(0)&&(m="#"+m),{_normalized:!0,path:d,query:p,hash:m}}var W,V=function(){},Z={name:"RouterLink",props:{to:{type:[String,Object],required:!0},tag:{type:String,default:"a"},custom:Boolean,exact:Boolean,exactPath:Boolean,append:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,ariaCurrentValue:{type:String,default:"page"},event:{type:[String,Array],default:"click"}},render:function(t){var e=this,n=this.$router,i=this.$route,o=n.resolve(this.to,i,this.append),a=o.location,s=o.route,c=o.href,l={},u=n.options.linkActiveClass,f=n.options.linkExactActiveClass,p=null==u?"router-link-active":u,m=null==f?"router-link-exact-active":f,v=null==this.activeClass?p:this.activeClass,g=null==this.exactActiveClass?m:this.exactActiveClass,b=s.redirectedFrom?d(null,q(s.redirectedFrom),null,n):s;l[g]=y(i,b,this.exactPath),l[v]=this.exact||this.exactPath?l[g]:function(t,e){return 0===t.path.replace(h,"/").indexOf(e.path.replace(h,"/"))&&(!e.hash||t.hash===e.hash)&&function(t,e){for(var n in e)if(!(n in t))return!1;return!0}(t.query,e.query)}(i,b);var w=l[g]?this.ariaCurrentValue:null,_=function(t){Y(t)&&(e.replace?n.replace(a,V):n.push(a,V))},x={click:Y};Array.isArray(this.event)?this.event.forEach((function(t){x[t]=_})):x[this.event]=_;var k={class:l},O=!this.$scopedSlots.$hasNormal&&this.$scopedSlots.default&&this.$scopedSlots.default({href:c,route:s,navigate:_,isActive:l[v],isExactActive:l[g]});if(O){if(1===O.length)return O[0];if(O.length>1||!O.length)return 0===O.length?t():t("span",{},O)}if("a"===this.tag)k.on=x,k.attrs={href:c,"aria-current":w};else{var C=X(this.$slots.default);if(C){C.isStatic=!1;var S=C.data=r({},C.data);for(var E in S.on=S.on||{},S.on){var T=S.on[E];E in x&&(S.on[E]=Array.isArray(T)?T:[T])}for(var P in x)P in S.on?S.on[P].push(x[P]):S.on[P]=_;var A=C.data.attrs=r({},C.data.attrs);A.href=c,A["aria-current"]=w}else k.on=x}return t(this.tag,k,this.$slots.default)}};function Y(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey||t.defaultPrevented||void 0!==t.button&&0!==t.button)){if(t.currentTarget&&t.currentTarget.getAttribute){var e=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return t.preventDefault&&t.preventDefault(),!0}}function X(t){if(t)for(var e,n=0;n<t.length;n++){if("a"===(e=t[n]).tag)return e;if(e.children&&(e=X(e.children)))return e}}var K="undefined"!=typeof window;function G(t,e,n,r,i){var o=e||[],a=n||Object.create(null),s=r||Object.create(null);t.forEach((function(t){Q(o,a,s,t,i)}));for(var c=0,l=o.length;c<l;c++)"*"===o[c]&&(o.push(o.splice(c,1)[0]),l--,c--);return{pathList:o,pathMap:a,nameMap:s}}function Q(t,e,n,r,i,o){var a=r.path,s=r.name;var c=r.pathToRegexpOptions||{},l=function(t,e,n){n||(t=t.replace(/\/$/,""));if("/"===t[0])return t;if(null==e)return t;return O(e.path+"/"+t)}(a,i,c.strict);"boolean"==typeof r.caseSensitive&&(c.sensitive=r.caseSensitive);var u={path:l,regex:J(l,c),components:r.components||{default:r.component},alias:r.alias?"string"==typeof r.alias?[r.alias]:r.alias:[],instances:{},enteredCbs:{},name:s,parent:i,matchAs:o,redirect:r.redirect,beforeEnter:r.beforeEnter,meta:r.meta||{},props:null==r.props?{}:r.components?r.props:{default:r.props}};if(r.children&&r.children.forEach((function(r){var i=o?O(o+"/"+r.path):void 0;Q(t,e,n,r,u,i)})),e[u.path]||(t.push(u.path),e[u.path]=u),void 0!==r.alias)for(var f=Array.isArray(r.alias)?r.alias:[r.alias],h=0;h<f.length;++h){0;var d={path:f[h],children:r.children};Q(t,e,n,d,i,u.path||"/")}s&&(n[s]||(n[s]=u))}function J(t,e){return S(t,[],e)}function tt(t,e){var n=G(t),r=n.pathList,i=n.pathMap,o=n.nameMap;function a(t,n,a){var s=q(t,n,!1,e),l=s.name;if(l){var u=o[l];if(!u)return c(null,s);var f=u.regex.keys.filter((function(t){return!t.optional})).map((function(t){return t.name}));if("object"!=typeof s.params&&(s.params={}),n&&"object"==typeof n.params)for(var h in n.params)!(h in s.params)&&f.indexOf(h)>-1&&(s.params[h]=n.params[h]);return s.path=U(u.path,s.params),c(u,s,a)}if(s.path){s.params={};for(var d=0;d<r.length;d++){var p=r[d],m=i[p];if(et(m.regex,s.path,s.params))return c(m,s,a)}}return c(null,s)}function s(t,n){var r=t.redirect,i="function"==typeof r?r(d(t,n,null,e)):r;if("string"==typeof i&&(i={path:i}),!i||"object"!=typeof i)return c(null,n);var s=i,l=s.name,u=s.path,f=n.query,h=n.hash,p=n.params;if(f=s.hasOwnProperty("query")?s.query:f,h=s.hasOwnProperty("hash")?s.hash:h,p=s.hasOwnProperty("params")?s.params:p,l){o[l];return a({_normalized:!0,name:l,query:f,hash:h,params:p},void 0,n)}if(u){var m=function(t,e){return k(t,e.parent?e.parent.path:"/",!0)}(u,t);return a({_normalized:!0,path:U(m,p),query:f,hash:h},void 0,n)}return c(null,n)}function c(t,n,r){return t&&t.redirect?s(t,r||n):t&&t.matchAs?function(t,e,n){var r=a({_normalized:!0,path:U(n,e.params)});if(r){var i=r.matched,o=i[i.length-1];return e.params=r.params,c(o,e)}return c(null,e)}(0,n,t.matchAs):d(t,n,r,e)}return{match:a,addRoute:function(t,e){var n="object"!=typeof t?o[t]:void 0;G([e||t],r,i,o,n),n&&n.alias.length&&G(n.alias.map((function(t){return{path:t,children:[e]}})),r,i,o,n)},getRoutes:function(){return r.map((function(t){return i[t]}))},addRoutes:function(t){G(t,r,i,o)}}}function et(t,e,n){var r=e.match(t);if(!r)return!1;if(!n)return!0;for(var i=1,o=r.length;i<o;++i){var a=t.keys[i-1];a&&(n[a.name||"pathMatch"]="string"==typeof r[i]?c(r[i]):r[i])}return!0}var nt=K&&window.performance&&window.performance.now?window.performance:Date;function rt(){return nt.now().toFixed(3)}var it=rt();function ot(){return it}function at(t){return it=t}var st=Object.create(null);function ct(){"scrollRestoration"in window.history&&(window.history.scrollRestoration="manual");var t=window.location.protocol+"//"+window.location.host,e=window.location.href.replace(t,""),n=r({},window.history.state);return n.key=ot(),window.history.replaceState(n,"",e),window.addEventListener("popstate",ft),function(){window.removeEventListener("popstate",ft)}}function lt(t,e,n,r){if(t.app){var i=t.options.scrollBehavior;i&&t.app.$nextTick((function(){var o=function(){var t=ot();if(t)return st[t]}(),a=i.call(t,e,n,r?o:null);a&&("function"==typeof a.then?a.then((function(t){vt(t,o)})).catch((function(t){0})):vt(a,o))}))}}function ut(){var t=ot();t&&(st[t]={x:window.pageXOffset,y:window.pageYOffset})}function ft(t){ut(),t.state&&t.state.key&&at(t.state.key)}function ht(t){return pt(t.x)||pt(t.y)}function dt(t){return{x:pt(t.x)?t.x:window.pageXOffset,y:pt(t.y)?t.y:window.pageYOffset}}function pt(t){return"number"==typeof t}var mt=/^#\d/;function vt(t,e){var n="object"==typeof t;if(n&&"string"==typeof t.selector){var r=mt.test(t.selector)?document.getElementById(t.selector.slice(1)):document.querySelector(t.selector);if(r){var i=t.offset&&"object"==typeof t.offset?t.offset:{};e=function(t,e){var n=document.documentElement.getBoundingClientRect(),r=t.getBoundingClientRect();return{x:r.left-n.left-e.x,y:r.top-n.top-e.y}}(r,i=function(t){return{x:pt(t.x)?t.x:0,y:pt(t.y)?t.y:0}}(i))}else ht(t)&&(e=dt(t))}else n&&ht(t)&&(e=dt(t));e&&("scrollBehavior"in document.documentElement.style?window.scrollTo({left:e.x,top:e.y,behavior:t.behavior}):window.scrollTo(e.x,e.y))}var gt=K&&function(){var t=window.navigator.userAgent;return(-1===t.indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&(window.history&&"function"==typeof window.history.pushState)}();function yt(t,e){ut();var n=window.history;try{if(e){var i=r({},n.state);i.key=ot(),n.replaceState(i,"",t)}else n.pushState({key:at(rt())},"",t)}catch(n){window.location[e?"replace":"assign"](t)}}function bt(t){yt(t,!0)}var wt={redirected:2,aborted:4,cancelled:8,duplicated:16};function _t(t,e){return kt(t,e,wt.redirected,'Redirected when going from "'+t.fullPath+'" to "'+function(t){if("string"==typeof t)return t;if("path"in t)return t.path;var e={};return Ot.forEach((function(n){n in t&&(e[n]=t[n])})),JSON.stringify(e,null,2)}(e)+'" via a navigation guard.')}function xt(t,e){return kt(t,e,wt.cancelled,'Navigation cancelled from "'+t.fullPath+'" to "'+e.fullPath+'" with a new navigation.')}function kt(t,e,n,r){var i=new Error(r);return i._isRouter=!0,i.from=t,i.to=e,i.type=n,i}var Ot=["params","query","hash"];function Ct(t){return Object.prototype.toString.call(t).indexOf("Error")>-1}function St(t,e){return Ct(t)&&t._isRouter&&(null==e||t.type===e)}function Et(t,e,n){var r=function(i){i>=t.length?n():t[i]?e(t[i],(function(){r(i+1)})):r(i+1)};r(0)}function Tt(t){return function(e,n,r){var i=!1,o=0,a=null;Pt(t,(function(t,e,n,s){if("function"==typeof t&&void 0===t.cid){i=!0,o++;var c,l=Dt((function(e){(function(t){return t.__esModule||jt&&"Module"===t[Symbol.toStringTag]})(e)&&(e=e.default),t.resolved="function"==typeof e?e:W.extend(e),n.components[s]=e,--o<=0&&r()})),u=Dt((function(t){var e="Failed to resolve async component "+s+": "+t;a||(a=Ct(t)?t:new Error(e),r(a))}));try{c=t(l,u)}catch(t){u(t)}if(c)if("function"==typeof c.then)c.then(l,u);else{var f=c.component;f&&"function"==typeof f.then&&f.then(l,u)}}})),i||r()}}function Pt(t,e){return At(t.map((function(t){return Object.keys(t.components).map((function(n){return e(t.components[n],t.instances[n],t,n)}))})))}function At(t){return Array.prototype.concat.apply([],t)}var jt="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;function Dt(t){var e=!1;return function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];if(!e)return e=!0,t.apply(this,n)}}var Mt=function(t,e){this.router=t,this.base=function(t){if(!t)if(K){var e=document.querySelector("base");t=(t=e&&e.getAttribute("href")||"/").replace(/^https?:\/\/[^\/]+/,"")}else t="/";"/"!==t.charAt(0)&&(t="/"+t);return t.replace(/\/$/,"")}(e),this.current=m,this.pending=null,this.ready=!1,this.readyCbs=[],this.readyErrorCbs=[],this.errorCbs=[],this.listeners=[]};function Rt(t,e,n,r){var i=Pt(t,(function(t,r,i,o){var a=function(t,e){"function"!=typeof t&&(t=W.extend(t));return t.options[e]}(t,e);if(a)return Array.isArray(a)?a.map((function(t){return n(t,r,i,o)})):n(a,r,i,o)}));return At(r?i.reverse():i)}function It(t,e){if(e)return function(){return t.apply(e,arguments)}}Mt.prototype.listen=function(t){this.cb=t},Mt.prototype.onReady=function(t,e){this.ready?t():(this.readyCbs.push(t),e&&this.readyErrorCbs.push(e))},Mt.prototype.onError=function(t){this.errorCbs.push(t)},Mt.prototype.transitionTo=function(t,e,n){var r,i=this;try{r=this.router.match(t,this.current)}catch(t){throw this.errorCbs.forEach((function(e){e(t)})),t}var o=this.current;this.confirmTransition(r,(function(){i.updateRoute(r),e&&e(r),i.ensureURL(),i.router.afterHooks.forEach((function(t){t&&t(r,o)})),i.ready||(i.ready=!0,i.readyCbs.forEach((function(t){t(r)})))}),(function(t){n&&n(t),t&&!i.ready&&(St(t,wt.redirected)&&o===m||(i.ready=!0,i.readyErrorCbs.forEach((function(e){e(t)}))))}))},Mt.prototype.confirmTransition=function(t,e,n){var r=this,i=this.current;this.pending=t;var o=function(t){!St(t)&&Ct(t)&&(r.errorCbs.length?r.errorCbs.forEach((function(e){e(t)})):console.error(t)),n&&n(t)},a=t.matched.length-1,s=i.matched.length-1;if(y(t,i)&&a===s&&t.matched[a]===i.matched[s])return this.ensureURL(),t.hash&&lt(this.router,i,t,!1),o(function(t,e){var n=kt(t,e,wt.duplicated,'Avoided redundant navigation to current location: "'+t.fullPath+'".');return n.name="NavigationDuplicated",n}(i,t));var c=function(t,e){var n,r=Math.max(t.length,e.length);for(n=0;n<r&&t[n]===e[n];n++);return{updated:e.slice(0,n),activated:e.slice(n),deactivated:t.slice(n)}}(this.current.matched,t.matched),l=c.updated,u=c.deactivated,f=c.activated,h=[].concat(function(t){return Rt(t,"beforeRouteLeave",It,!0)}(u),this.router.beforeHooks,function(t){return Rt(t,"beforeRouteUpdate",It)}(l),f.map((function(t){return t.beforeEnter})),Tt(f)),d=function(e,n){if(r.pending!==t)return o(xt(i,t));try{e(t,i,(function(e){!1===e?(r.ensureURL(!0),o(function(t,e){return kt(t,e,wt.aborted,'Navigation aborted from "'+t.fullPath+'" to "'+e.fullPath+'" via a navigation guard.')}(i,t))):Ct(e)?(r.ensureURL(!0),o(e)):"string"==typeof e||"object"==typeof e&&("string"==typeof e.path||"string"==typeof e.name)?(o(_t(i,t)),"object"==typeof e&&e.replace?r.replace(e):r.push(e)):n(e)}))}catch(t){o(t)}};Et(h,d,(function(){var n=function(t){return Rt(t,"beforeRouteEnter",(function(t,e,n,r){return function(t,e,n){return function(r,i,o){return t(r,i,(function(t){"function"==typeof t&&(e.enteredCbs[n]||(e.enteredCbs[n]=[]),e.enteredCbs[n].push(t)),o(t)}))}}(t,n,r)}))}(f);Et(n.concat(r.router.resolveHooks),d,(function(){if(r.pending!==t)return o(xt(i,t));r.pending=null,e(t),r.router.app&&r.router.app.$nextTick((function(){w(t)}))}))}))},Mt.prototype.updateRoute=function(t){this.current=t,this.cb&&this.cb(t)},Mt.prototype.setupListeners=function(){},Mt.prototype.teardown=function(){this.listeners.forEach((function(t){t()})),this.listeners=[],this.current=m,this.pending=null};var Nt=function(t){function e(e,n){t.call(this,e,n),this._startLocation=Lt(this.base)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setupListeners=function(){var t=this;if(!(this.listeners.length>0)){var e=this.router,n=e.options.scrollBehavior,r=gt&&n;r&&this.listeners.push(ct());var i=function(){var n=t.current,i=Lt(t.base);t.current===m&&i===t._startLocation||t.transitionTo(i,(function(t){r&&lt(e,t,n,!0)}))};window.addEventListener("popstate",i),this.listeners.push((function(){window.removeEventListener("popstate",i)}))}},e.prototype.go=function(t){window.history.go(t)},e.prototype.push=function(t,e,n){var r=this,i=this.current;this.transitionTo(t,(function(t){yt(O(r.base+t.fullPath)),lt(r.router,t,i,!1),e&&e(t)}),n)},e.prototype.replace=function(t,e,n){var r=this,i=this.current;this.transitionTo(t,(function(t){bt(O(r.base+t.fullPath)),lt(r.router,t,i,!1),e&&e(t)}),n)},e.prototype.ensureURL=function(t){if(Lt(this.base)!==this.current.fullPath){var e=O(this.base+this.current.fullPath);t?yt(e):bt(e)}},e.prototype.getCurrentLocation=function(){return Lt(this.base)},e}(Mt);function Lt(t){var e=window.location.pathname,n=e.toLowerCase(),r=t.toLowerCase();return!t||n!==r&&0!==n.indexOf(O(r+"/"))||(e=e.slice(t.length)),(e||"/")+window.location.search+window.location.hash}var $t=function(t){function e(e,n,r){t.call(this,e,n),r&&function(t){var e=Lt(t);if(!/^\/#/.test(e))return window.location.replace(O(t+"/#"+e)),!0}(this.base)||Ft()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setupListeners=function(){var t=this;if(!(this.listeners.length>0)){var e=this.router.options.scrollBehavior,n=gt&&e;n&&this.listeners.push(ct());var r=function(){var e=t.current;Ft()&&t.transitionTo(Bt(),(function(r){n&&lt(t.router,r,e,!0),gt||Ut(r.fullPath)}))},i=gt?"popstate":"hashchange";window.addEventListener(i,r),this.listeners.push((function(){window.removeEventListener(i,r)}))}},e.prototype.push=function(t,e,n){var r=this,i=this.current;this.transitionTo(t,(function(t){Ht(t.fullPath),lt(r.router,t,i,!1),e&&e(t)}),n)},e.prototype.replace=function(t,e,n){var r=this,i=this.current;this.transitionTo(t,(function(t){Ut(t.fullPath),lt(r.router,t,i,!1),e&&e(t)}),n)},e.prototype.go=function(t){window.history.go(t)},e.prototype.ensureURL=function(t){var e=this.current.fullPath;Bt()!==e&&(t?Ht(e):Ut(e))},e.prototype.getCurrentLocation=function(){return Bt()},e}(Mt);function Ft(){var t=Bt();return"/"===t.charAt(0)||(Ut("/"+t),!1)}function Bt(){var t=window.location.href,e=t.indexOf("#");return e<0?"":t=t.slice(e+1)}function zt(t){var e=window.location.href,n=e.indexOf("#");return(n>=0?e.slice(0,n):e)+"#"+t}function Ht(t){gt?yt(zt(t)):window.location.hash=t}function Ut(t){gt?bt(zt(t)):window.location.replace(zt(t))}var qt=function(t){function e(e,n){t.call(this,e,n),this.stack=[],this.index=-1}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.push=function(t,e,n){var r=this;this.transitionTo(t,(function(t){r.stack=r.stack.slice(0,r.index+1).concat(t),r.index++,e&&e(t)}),n)},e.prototype.replace=function(t,e,n){var r=this;this.transitionTo(t,(function(t){r.stack=r.stack.slice(0,r.index).concat(t),e&&e(t)}),n)},e.prototype.go=function(t){var e=this,n=this.index+t;if(!(n<0||n>=this.stack.length)){var r=this.stack[n];this.confirmTransition(r,(function(){var t=e.current;e.index=n,e.updateRoute(r),e.router.afterHooks.forEach((function(e){e&&e(r,t)}))}),(function(t){St(t,wt.duplicated)&&(e.index=n)}))}},e.prototype.getCurrentLocation=function(){var t=this.stack[this.stack.length-1];return t?t.fullPath:"/"},e.prototype.ensureURL=function(){},e}(Mt),Wt=function(t){void 0===t&&(t={}),this.app=null,this.apps=[],this.options=t,this.beforeHooks=[],this.resolveHooks=[],this.afterHooks=[],this.matcher=tt(t.routes||[],this);var e=t.mode||"hash";switch(this.fallback="history"===e&&!gt&&!1!==t.fallback,this.fallback&&(e="hash"),K||(e="abstract"),this.mode=e,e){case"history":this.history=new Nt(this,t.base);break;case"hash":this.history=new $t(this,t.base,this.fallback);break;case"abstract":this.history=new qt(this,t.base)}},Vt={currentRoute:{configurable:!0}};Wt.prototype.match=function(t,e,n){return this.matcher.match(t,e,n)},Vt.currentRoute.get=function(){return this.history&&this.history.current},Wt.prototype.init=function(t){var e=this;if(this.apps.push(t),t.$once("hook:destroyed",(function(){var n=e.apps.indexOf(t);n>-1&&e.apps.splice(n,1),e.app===t&&(e.app=e.apps[0]||null),e.app||e.history.teardown()})),!this.app){this.app=t;var n=this.history;if(n instanceof Nt||n instanceof $t){var r=function(t){n.setupListeners(),function(t){var r=n.current,i=e.options.scrollBehavior;gt&&i&&"fullPath"in t&&lt(e,t,r,!1)}(t)};n.transitionTo(n.getCurrentLocation(),r,r)}n.listen((function(t){e.apps.forEach((function(e){e._route=t}))}))}},Wt.prototype.beforeEach=function(t){return Yt(this.beforeHooks,t)},Wt.prototype.beforeResolve=function(t){return Yt(this.resolveHooks,t)},Wt.prototype.afterEach=function(t){return Yt(this.afterHooks,t)},Wt.prototype.onReady=function(t,e){this.history.onReady(t,e)},Wt.prototype.onError=function(t){this.history.onError(t)},Wt.prototype.push=function(t,e,n){var r=this;if(!e&&!n&&"undefined"!=typeof Promise)return new Promise((function(e,n){r.history.push(t,e,n)}));this.history.push(t,e,n)},Wt.prototype.replace=function(t,e,n){var r=this;if(!e&&!n&&"undefined"!=typeof Promise)return new Promise((function(e,n){r.history.replace(t,e,n)}));this.history.replace(t,e,n)},Wt.prototype.go=function(t){this.history.go(t)},Wt.prototype.back=function(){this.go(-1)},Wt.prototype.forward=function(){this.go(1)},Wt.prototype.getMatchedComponents=function(t){var e=t?t.matched?t:this.resolve(t).route:this.currentRoute;return e?[].concat.apply([],e.matched.map((function(t){return Object.keys(t.components).map((function(e){return t.components[e]}))}))):[]},Wt.prototype.resolve=function(t,e,n){var r=q(t,e=e||this.history.current,n,this),i=this.match(r,e),o=i.redirectedFrom||i.fullPath,a=function(t,e,n){var r="hash"===n?"#"+e:e;return t?O(t+"/"+r):r}(this.history.base,o,this.mode);return{location:r,route:i,href:a,normalizedTo:r,resolved:i}},Wt.prototype.getRoutes=function(){return this.matcher.getRoutes()},Wt.prototype.addRoute=function(t,e){this.matcher.addRoute(t,e),this.history.current!==m&&this.history.transitionTo(this.history.getCurrentLocation())},Wt.prototype.addRoutes=function(t){this.matcher.addRoutes(t),this.history.current!==m&&this.history.transitionTo(this.history.getCurrentLocation())},Object.defineProperties(Wt.prototype,Vt);var Zt=Wt;function Yt(t,e){return t.push(e),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}Wt.install=function t(e){if(!t.installed||W!==e){t.installed=!0,W=e;var n=function(t){return void 0!==t},r=function(t,e){var r=t.$options._parentVnode;n(r)&&n(r=r.data)&&n(r=r.registerRouteInstance)&&r(t,e)};e.mixin({beforeCreate:function(){n(this.$options.router)?(this._routerRoot=this,this._router=this.$options.router,this._router.init(this),e.util.defineReactive(this,"_route",this._router.history.current)):this._routerRoot=this.$parent&&this.$parent._routerRoot||this,r(this,this)},destroyed:function(){r(this)}}),Object.defineProperty(e.prototype,"$router",{get:function(){return this._routerRoot._router}}),Object.defineProperty(e.prototype,"$route",{get:function(){return this._routerRoot._route}}),e.component("RouterView",_),e.component("RouterLink",Z);var i=e.config.optionMergeStrategies;i.beforeRouteEnter=i.beforeRouteLeave=i.beforeRouteUpdate=i.created}},Wt.version="3.6.5",Wt.isNavigationFailure=St,Wt.NavigationFailureType=wt,Wt.START_LOCATION=m,K&&window.Vue&&window.Vue.use(Wt)},8938:t=>{var e=null,n={key:"vue-session-key",flash_key:"vue-session-flash-key",setAll:function(t){e.setItem(n.key,JSON.stringify(t))},install:function(t,r){e=r&&"persist"in r&&r.persist?window.localStorage:window.sessionStorage,t.prototype.$session={flash:{parent:function(){return t.prototype.$session},get:function(t){var e=(this.parent().getAll()[n.flash_key]||{})[t];return this.remove(t),e},set:function(t,e){var r=this.parent().getAll(),i=r[n.flash_key]||{};i[t]=e,r[n.flash_key]=i,n.setAll(r)},remove:function(t){var e=this.parent().getAll(),r=e[n.flash_key]||{};delete r[t],e[n.flash_key]=r,n.setAll(e)}},getAll:function(){return JSON.parse(e.getItem(n.key))||{}},set:function(t,e){if("session-id"==t)return!1;var r=this.getAll();"session-id"in r||(this.start(),r=this.getAll()),r[t]=e,n.setAll(r)},get:function(t){return this.getAll()[t]},start:function(){var t=this.getAll();t["session-id"]="sess:"+Date.now(),n.setAll(t)},renew:function(t){var e=this.getAll();e["session-id"]="sess:"+t,n.setAll(e)},exists:function(){return"session-id"in this.getAll()},has:function(t){return t in this.getAll()},remove:function(t){var e=this.getAll();delete e[t],n.setAll(e)},clear:function(){var t=this.getAll();n.setAll({"session-id":t["session-id"]})},destroy:function(){n.setAll({})},id:function(){return this.get("session-id")}}}};t.exports=n},4592:function(t){!function(e,n){t.exports=n()}(0,(function(){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:r})},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=0)}([function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.VueSimpleSpinner=void 0;var r=function(t){return t&&t.__esModule?t:{default:t}}(n(1));"undefined"!=typeof window&&window.Vue&&Vue.component("vue-simple-spinner",r.default),e.VueSimpleSpinner=r.default,e.default=r.default},function(t,e,n){n(2);var r=n(7)(n(8),n(9),null,null);t.exports=r.exports},function(t,e,n){var r=n(3);"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);n(5)("d89557e4",r,!0)},function(t,e,n){(t.exports=n(4)()).push([t.i,".vue-simple-spinner{transition:all .3s linear}@keyframes vue-simple-spinner-spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}",""])},function(t,e){t.exports=function(){var t=[];return t.toString=function(){for(var t=[],e=0;e<this.length;e++){var n=this[e];n[2]?t.push("@media "+n[2]+"{"+n[1]+"}"):t.push(n[1])}return t.join("")},t.i=function(e,n){"string"==typeof e&&(e=[[null,e,""]]);for(var r={},i=0;i<this.length;i++){var o=this[i][0];"number"==typeof o&&(r[o]=!0)}for(i=0;i<e.length;i++){var a=e[i];"number"==typeof a[0]&&r[a[0]]||(n&&!a[2]?a[2]=n:n&&(a[2]="("+a[2]+") and ("+n+")"),t.push(a))}},t}},function(t,e,n){var r="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!r)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var i=n(6),o={},a=r&&(document.head||document.getElementsByTagName("head")[0]),s=null,c=0,l=!1,u=function(){},f="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function h(t){for(var e=0;e<t.length;e++){var n=t[e],r=o[n.id];if(r){r.refs++;for(var i=0;i<r.parts.length;i++)r.parts[i](n.parts[i]);for(;i<n.parts.length;i++)r.parts.push(p(n.parts[i]));r.parts.length>n.parts.length&&(r.parts.length=n.parts.length)}else{var a=[];for(i=0;i<n.parts.length;i++)a.push(p(n.parts[i]));o[n.id]={id:n.id,refs:1,parts:a}}}}function d(){var t=document.createElement("style");return t.type="text/css",a.appendChild(t),t}function p(t){var e,n,r=document.querySelector('style[data-vue-ssr-id~="'+t.id+'"]');if(r){if(l)return u;r.parentNode.removeChild(r)}if(f){var i=c++;r=s||(s=d()),e=v.bind(null,r,i,!1),n=v.bind(null,r,i,!0)}else r=d(),e=g.bind(null,r),n=function(){r.parentNode.removeChild(r)};return e(t),function(r){if(r){if(r.css===t.css&&r.media===t.media&&r.sourceMap===t.sourceMap)return;e(t=r)}else n()}}t.exports=function(t,e,n){l=n;var r=i(t,e);return h(r),function(e){for(var n=[],a=0;a<r.length;a++){var s=r[a];(c=o[s.id]).refs--,n.push(c)}e?h(r=i(t,e)):r=[];for(a=0;a<n.length;a++){var c;if(0===(c=n[a]).refs){for(var l=0;l<c.parts.length;l++)c.parts[l]();delete o[c.id]}}}};var m=function(){var t=[];return function(e,n){return t[e]=n,t.filter(Boolean).join("\n")}}();function v(t,e,n,r){var i=n?"":r.css;if(t.styleSheet)t.styleSheet.cssText=m(e,i);else{var o=document.createTextNode(i),a=t.childNodes;a[e]&&t.removeChild(a[e]),a.length?t.insertBefore(o,a[e]):t.appendChild(o)}}function g(t,e){var n=e.css,r=e.media,i=e.sourceMap;if(r&&t.setAttribute("media",r),i&&(n+="\n/*# sourceURL="+i.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */"),t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}},function(t,e){t.exports=function(t,e){for(var n=[],r={},i=0;i<e.length;i++){var o=e[i],a=o[0],s={id:t+":"+i,css:o[1],media:o[2],sourceMap:o[3]};r[a]?r[a].parts.push(s):n.push(r[a]={id:a,parts:[s]})}return n}},function(t,e){t.exports=function(t,e,n,r){var i,o=t=t||{},a=typeof t.default;"object"!==a&&"function"!==a||(i=t,o=t.default);var s="function"==typeof o?o.options:o;if(e&&(s.render=e.render,s.staticRenderFns=e.staticRenderFns),n&&(s._scopeId=n),r){var c=Object.create(s.computed||null);Object.keys(r).forEach((function(t){var e=r[t];c[t]=function(){return e}})),s.computed=c}return{esModule:i,exports:o,options:s}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(t){return!isNaN(parseFloat(t))&&isFinite(t)};e.default={props:{size:{default:32},"line-size":{type:Number,default:3},"line-bg-color":{type:String,default:"#eee"},"line-fg-color":{type:String,default:"#2196f3"},speed:{type:Number,default:.8},spacing:{type:Number,default:4},message:{type:String,default:""},"font-size":{type:Number,default:13},"text-fg-color":{type:String,default:"#555"}},computed:{size_px:function(){switch(this.size){case"tiny":return 12;case"small":return 16;case"medium":return 32;case"large":return 48;case"big":return 64;case"huge":return 96;case"massive":return 128}return r(this.size)?this.size:32},line_size_px:function(){switch(this.size){case"tiny":return 1;case"small":return 2;case"medium":case"large":return 3;case"big":case"huge":return 4;case"massive":return 5}return r(this.lineSize)?this.lineSize:4},text_margin_top:function(){switch(this.size){case"tiny":case"small":case"medium":case"large":case"big":case"huge":case"massive":return Math.min(Math.max(Math.ceil(this.size_px/8),3),12)}return r(this.spacing)?this.spacing:4},text_font_size:function(){switch(this.size){case"tiny":case"small":case"medium":case"large":case"big":case"huge":case"massive":return Math.min(Math.max(Math.ceil(.4*this.size_px),11),32)}return r(this.fontSize)?this.fontSize:13},spinner_style:function(){return{margin:"0 auto","border-radius":"100%",border:this.line_size_px+"px solid "+this.lineBgColor,"border-top":this.line_size_px+"px solid "+this.lineFgColor,width:this.size_px+"px",height:this.size_px+"px",animation:"vue-simple-spinner-spin "+this.speed+"s linear infinite"}},text_style:function(){return{"margin-top":this.text_margin_top+"px",color:this.textFgColor,"font-size":this.text_font_size+"px","text-align":"center"}}}}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("div",{staticClass:"vue-simple-spinner",style:t.spinner_style}),t._v(" "),t.message.length>0?n("div",{staticClass:"vue-simple-spinner-text",style:t.text_style},[t._v(t._s(t.message))]):t._e()])},staticRenderFns:[]}}]).default}))},8081:function(t,e,n){!function(e,r){t.exports=function(){"use strict";var t="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:{},e={exports:{}};e.exports=function(){const t=t=>{const e=[];for(let n=0;n<t.length;n++)-1===e.indexOf(t[n])&&e.push(t[n]);return e},e=t=>t.charAt(0).toUpperCase()+t.slice(1),n=t=>Array.prototype.slice.call(t),r=t=>{},i=t=>{},o=[],a=t=>{o.includes(t)||(o.push(t),r(t))},s=(t,e)=>{a('"'.concat(t,'" is deprecated and will be removed in the next major release. Please use "').concat(e,'" instead.'))},c=t=>"function"==typeof t?t():t,l=t=>t&&"function"==typeof t.toPromise,u=t=>l(t)?t.toPromise():Promise.resolve(t),f=t=>t&&Promise.resolve(t)===t,h={title:"",titleText:"",text:"",html:"",footer:"",icon:void 0,iconColor:void 0,iconHtml:void 0,template:void 0,toast:!1,showClass:{popup:"swal2-show",backdrop:"swal2-backdrop-show",icon:"swal2-icon-show"},hideClass:{popup:"swal2-hide",backdrop:"swal2-backdrop-hide",icon:"swal2-icon-hide"},customClass:{},target:"body",color:void 0,backdrop:!0,heightAuto:!0,allowOutsideClick:!0,allowEscapeKey:!0,allowEnterKey:!0,stopKeydownPropagation:!0,keydownListenerCapture:!1,showConfirmButton:!0,showDenyButton:!1,showCancelButton:!1,preConfirm:void 0,preDeny:void 0,confirmButtonText:"OK",confirmButtonAriaLabel:"",confirmButtonColor:void 0,denyButtonText:"No",denyButtonAriaLabel:"",denyButtonColor:void 0,cancelButtonText:"Cancel",cancelButtonAriaLabel:"",cancelButtonColor:void 0,buttonsStyling:!0,reverseButtons:!1,focusConfirm:!0,focusDeny:!1,focusCancel:!1,returnFocus:!0,showCloseButton:!1,closeButtonHtml:"&times;",closeButtonAriaLabel:"Close this dialog",loaderHtml:"",showLoaderOnConfirm:!1,showLoaderOnDeny:!1,imageUrl:void 0,imageWidth:void 0,imageHeight:void 0,imageAlt:"",timer:void 0,timerProgressBar:!1,width:void 0,padding:void 0,background:void 0,input:void 0,inputPlaceholder:"",inputLabel:"",inputValue:"",inputOptions:{},inputAutoTrim:!0,inputAttributes:{},inputValidator:void 0,returnInputValueOnDeny:!1,validationMessage:void 0,grow:!1,position:"center",progressSteps:[],currentProgressStep:void 0,progressStepsDistance:void 0,willOpen:void 0,didOpen:void 0,didRender:void 0,willClose:void 0,didClose:void 0,didDestroy:void 0,scrollbarPadding:!0},d=["allowEscapeKey","allowOutsideClick","background","buttonsStyling","cancelButtonAriaLabel","cancelButtonColor","cancelButtonText","closeButtonAriaLabel","closeButtonHtml","color","confirmButtonAriaLabel","confirmButtonColor","confirmButtonText","currentProgressStep","customClass","denyButtonAriaLabel","denyButtonColor","denyButtonText","didClose","didDestroy","footer","hideClass","html","icon","iconColor","iconHtml","imageAlt","imageHeight","imageUrl","imageWidth","preConfirm","preDeny","progressSteps","returnFocus","reverseButtons","showCancelButton","showCloseButton","showConfirmButton","showDenyButton","text","title","titleText","willClose"],p={},m=["allowOutsideClick","allowEnterKey","backdrop","focusConfirm","focusDeny","focusCancel","returnFocus","heightAuto","keydownListenerCapture"],v=t=>Object.prototype.hasOwnProperty.call(h,t),g=t=>-1!==d.indexOf(t),y=t=>p[t],b=t=>{v(t)||r('Unknown parameter "'.concat(t,'"'))},w=t=>{m.includes(t)&&r('The parameter "'.concat(t,'" is incompatible with toasts'))},_=t=>{y(t)&&s(t,y(t))},x=t=>{!t.backdrop&&t.allowOutsideClick&&r('"allowOutsideClick" parameter requires `backdrop` parameter to be set to `true`');for(const e in t)b(e),t.toast&&w(e),_(e)},k="swal2-",O=t=>{const e={};for(const n in t)e[t[n]]=k+t[n];return e},C=O(["container","shown","height-auto","iosfix","popup","modal","no-backdrop","no-transition","toast","toast-shown","show","hide","close","title","html-container","actions","confirm","deny","cancel","default-outline","footer","icon","icon-content","image","input","file","range","select","radio","checkbox","label","textarea","inputerror","input-label","validation-message","progress-steps","active-progress-step","progress-step","progress-step-line","loader","loading","styled","top","top-start","top-end","top-left","top-right","center","center-start","center-end","center-left","center-right","bottom","bottom-start","bottom-end","bottom-left","bottom-right","grow-row","grow-column","grow-fullscreen","rtl","timer-progress-bar","timer-progress-bar-container","scrollbar-measure","icon-success","icon-warning","icon-info","icon-question","icon-error"]),S=O(["success","warning","info","question","error"]),E=()=>document.body.querySelector(".".concat(C.container)),T=t=>{const e=E();return e?e.querySelector(t):null},P=t=>T(".".concat(t)),A=()=>P(C.popup),j=()=>P(C.icon),D=()=>P(C.title),M=()=>P(C["html-container"]),R=()=>P(C.image),I=()=>P(C["progress-steps"]),N=()=>P(C["validation-message"]),L=()=>T(".".concat(C.actions," .").concat(C.confirm)),$=()=>T(".".concat(C.actions," .").concat(C.deny)),F=()=>P(C["input-label"]),B=()=>T(".".concat(C.loader)),z=()=>T(".".concat(C.actions," .").concat(C.cancel)),H=()=>P(C.actions),U=()=>P(C.footer),q=()=>P(C["timer-progress-bar"]),W=()=>P(C.close),V='\n  a[href],\n  area[href],\n  input:not([disabled]),\n  select:not([disabled]),\n  textarea:not([disabled]),\n  button:not([disabled]),\n  iframe,\n  object,\n  embed,\n  [tabindex="0"],\n  [contenteditable],\n  audio[controls],\n  video[controls],\n  summary\n',Z=()=>{const e=n(A().querySelectorAll('[tabindex]:not([tabindex="-1"]):not([tabindex="0"])')).sort(((t,e)=>{const n=parseInt(t.getAttribute("tabindex")),r=parseInt(e.getAttribute("tabindex"));return n>r?1:n<r?-1:0})),r=n(A().querySelectorAll(V)).filter((t=>"-1"!==t.getAttribute("tabindex")));return t(e.concat(r)).filter((t=>dt(t)))},Y=()=>!J(document.body,C["toast-shown"])&&!J(document.body,C["no-backdrop"]),X=()=>A()&&J(A(),C.toast),K=()=>A().hasAttribute("data-loading"),G={previousBodyPadding:null},Q=(t,e)=>{if(t.textContent="",e){const r=(new DOMParser).parseFromString(e,"text/html");n(r.querySelector("head").childNodes).forEach((e=>{t.appendChild(e)})),n(r.querySelector("body").childNodes).forEach((e=>{t.appendChild(e)}))}},J=(t,e)=>{if(!e)return!1;const n=e.split(/\s+/);for(let e=0;e<n.length;e++)if(!t.classList.contains(n[e]))return!1;return!0},tt=(t,e)=>{n(t.classList).forEach((n=>{Object.values(C).includes(n)||Object.values(S).includes(n)||Object.values(e.showClass).includes(n)||t.classList.remove(n)}))},et=(t,e,n)=>{if(tt(t,e),e.customClass&&e.customClass[n]){if("string"!=typeof e.customClass[n]&&!e.customClass[n].forEach)return r("Invalid type of customClass.".concat(n,'! Expected string or iterable object, got "').concat(typeof e.customClass[n],'"'));ot(t,e.customClass[n])}},nt=(t,e)=>{if(!e)return null;switch(e){case"select":case"textarea":case"file":return t.querySelector(".".concat(C.popup," > .").concat(C[e]));case"checkbox":return t.querySelector(".".concat(C.popup," > .").concat(C.checkbox," input"));case"radio":return t.querySelector(".".concat(C.popup," > .").concat(C.radio," input:checked"))||t.querySelector(".".concat(C.popup," > .").concat(C.radio," input:first-child"));case"range":return t.querySelector(".".concat(C.popup," > .").concat(C.range," input"));default:return t.querySelector(".".concat(C.popup," > .").concat(C.input))}},rt=t=>{if(t.focus(),"file"!==t.type){const e=t.value;t.value="",t.value=e}},it=(t,e,n)=>{t&&e&&("string"==typeof e&&(e=e.split(/\s+/).filter(Boolean)),e.forEach((e=>{Array.isArray(t)?t.forEach((t=>{n?t.classList.add(e):t.classList.remove(e)})):n?t.classList.add(e):t.classList.remove(e)})))},ot=(t,e)=>{it(t,e,!0)},at=(t,e)=>{it(t,e,!1)},st=(t,e)=>{const r=n(t.childNodes);for(let t=0;t<r.length;t++)if(J(r[t],e))return r[t]},ct=(t,e,n)=>{n==="".concat(parseInt(n))&&(n=parseInt(n)),n||0===parseInt(n)?t.style[e]="number"==typeof n?"".concat(n,"px"):n:t.style.removeProperty(e)},lt=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"flex";t.style.display=e},ut=t=>{t.style.display="none"},ft=(t,e,n,r)=>{const i=t.querySelector(e);i&&(i.style[n]=r)},ht=(t,e,n)=>{e?lt(t,n):ut(t)},dt=t=>!(!t||!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)),pt=()=>!dt(L())&&!dt($())&&!dt(z()),mt=t=>!!(t.scrollHeight>t.clientHeight),vt=t=>{const e=window.getComputedStyle(t),n=parseFloat(e.getPropertyValue("animation-duration")||"0"),r=parseFloat(e.getPropertyValue("transition-duration")||"0");return n>0||r>0},gt=function(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const n=q();dt(n)&&(e&&(n.style.transition="none",n.style.width="100%"),setTimeout((()=>{n.style.transition="width ".concat(t/1e3,"s linear"),n.style.width="0%"}),10))},yt=()=>{const t=q(),e=parseInt(window.getComputedStyle(t).width);t.style.removeProperty("transition"),t.style.width="100%";const n=e/parseInt(window.getComputedStyle(t).width)*100;t.style.removeProperty("transition"),t.style.width="".concat(n,"%")},bt=()=>"undefined"==typeof window||"undefined"==typeof document,wt=100,_t={},xt=()=>{_t.previousActiveElement&&_t.previousActiveElement.focus?(_t.previousActiveElement.focus(),_t.previousActiveElement=null):document.body&&document.body.focus()},kt=t=>new Promise((e=>{if(!t)return e();const n=window.scrollX,r=window.scrollY;_t.restoreFocusTimeout=setTimeout((()=>{xt(),e()}),wt),window.scrollTo(n,r)})),Ot='\n <div aria-labelledby="'.concat(C.title,'" aria-describedby="').concat(C["html-container"],'" class="').concat(C.popup,'" tabindex="-1">\n   <button type="button" class="').concat(C.close,'"></button>\n   <ul class="').concat(C["progress-steps"],'"></ul>\n   <div class="').concat(C.icon,'"></div>\n   <img class="').concat(C.image,'" />\n   <h2 class="').concat(C.title,'" id="').concat(C.title,'"></h2>\n   <div class="').concat(C["html-container"],'" id="').concat(C["html-container"],'"></div>\n   <input class="').concat(C.input,'" />\n   <input type="file" class="').concat(C.file,'" />\n   <div class="').concat(C.range,'">\n     <input type="range" />\n     <output></output>\n   </div>\n   <select class="').concat(C.select,'"></select>\n   <div class="').concat(C.radio,'"></div>\n   <label for="').concat(C.checkbox,'" class="').concat(C.checkbox,'">\n     <input type="checkbox" />\n     <span class="').concat(C.label,'"></span>\n   </label>\n   <textarea class="').concat(C.textarea,'"></textarea>\n   <div class="').concat(C["validation-message"],'" id="').concat(C["validation-message"],'"></div>\n   <div class="').concat(C.actions,'">\n     <div class="').concat(C.loader,'"></div>\n     <button type="button" class="').concat(C.confirm,'"></button>\n     <button type="button" class="').concat(C.deny,'"></button>\n     <button type="button" class="').concat(C.cancel,'"></button>\n   </div>\n   <div class="').concat(C.footer,'"></div>\n   <div class="').concat(C["timer-progress-bar-container"],'">\n     <div class="').concat(C["timer-progress-bar"],'"></div>\n   </div>\n </div>\n').replace(/(^|\n)\s*/g,""),Ct=()=>{const t=E();return!!t&&(t.remove(),at([document.documentElement,document.body],[C["no-backdrop"],C["toast-shown"],C["has-column"]]),!0)},St=()=>{_t.currentInstance.resetValidationMessage()},Et=()=>{const t=A(),e=st(t,C.input),n=st(t,C.file),r=t.querySelector(".".concat(C.range," input")),i=t.querySelector(".".concat(C.range," output")),o=st(t,C.select),a=t.querySelector(".".concat(C.checkbox," input")),s=st(t,C.textarea);e.oninput=St,n.onchange=St,o.onchange=St,a.onchange=St,s.oninput=St,r.oninput=()=>{St(),i.value=r.value},r.onchange=()=>{St(),r.nextSibling.value=r.value}},Tt=t=>"string"==typeof t?document.querySelector(t):t,Pt=t=>{const e=A();e.setAttribute("role",t.toast?"alert":"dialog"),e.setAttribute("aria-live",t.toast?"polite":"assertive"),t.toast||e.setAttribute("aria-modal","true")},At=t=>{"rtl"===window.getComputedStyle(t).direction&&ot(E(),C.rtl)},jt=t=>{const e=Ct();if(bt())return void i("SweetAlert2 requires document to initialize");const n=document.createElement("div");n.className=C.container,e&&ot(n,C["no-transition"]),Q(n,Ot);const r=Tt(t.target);r.appendChild(n),Pt(t),At(r),Et()},Dt=(t,e)=>{t instanceof HTMLElement?e.appendChild(t):"object"==typeof t?Mt(t,e):t&&Q(e,t)},Mt=(t,e)=>{t.jquery?Rt(e,t):Q(e,t.toString())},Rt=(t,e)=>{if(t.textContent="",0 in e)for(let n=0;n in e;n++)t.appendChild(e[n].cloneNode(!0));else t.appendChild(e.cloneNode(!0))},It=(()=>{if(bt())return!1;const t=document.createElement("div"),e={WebkitAnimation:"webkitAnimationEnd",animation:"animationend"};for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&void 0!==t.style[n])return e[n];return!1})(),Nt=()=>{const t=document.createElement("div");t.className=C["scrollbar-measure"],document.body.appendChild(t);const e=t.getBoundingClientRect().width-t.clientWidth;return document.body.removeChild(t),e},Lt=(t,e)=>{const n=H(),r=B();e.showConfirmButton||e.showDenyButton||e.showCancelButton?lt(n):ut(n),et(n,e,"actions"),$t(n,r,e),Q(r,e.loaderHtml),et(r,e,"loader")};function $t(t,e,n){const r=L(),i=$(),o=z();Bt(r,"confirm",n),Bt(i,"deny",n),Bt(o,"cancel",n),Ft(r,i,o,n),n.reverseButtons&&(n.toast?(t.insertBefore(o,r),t.insertBefore(i,r)):(t.insertBefore(o,e),t.insertBefore(i,e),t.insertBefore(r,e)))}function Ft(t,e,n,r){if(!r.buttonsStyling)return at([t,e,n],C.styled);ot([t,e,n],C.styled),r.confirmButtonColor&&(t.style.backgroundColor=r.confirmButtonColor,ot(t,C["default-outline"])),r.denyButtonColor&&(e.style.backgroundColor=r.denyButtonColor,ot(e,C["default-outline"])),r.cancelButtonColor&&(n.style.backgroundColor=r.cancelButtonColor,ot(n,C["default-outline"]))}function Bt(t,n,r){ht(t,r["show".concat(e(n),"Button")],"inline-block"),Q(t,r["".concat(n,"ButtonText")]),t.setAttribute("aria-label",r["".concat(n,"ButtonAriaLabel")]),t.className=C[n],et(t,r,"".concat(n,"Button")),ot(t,r["".concat(n,"ButtonClass")])}function zt(t,e){"string"==typeof e?t.style.background=e:e||ot([document.documentElement,document.body],C["no-backdrop"])}function Ht(t,e){e in C?ot(t,C[e]):(r('The "position" parameter is not valid, defaulting to "center"'),ot(t,C.center))}function Ut(t,e){if(e&&"string"==typeof e){const n="grow-".concat(e);n in C&&ot(t,C[n])}}const qt=(t,e)=>{const n=E();n&&(zt(n,e.backdrop),Ht(n,e.position),Ut(n,e.grow),et(n,e,"container"))};var Wt={awaitingPromise:new WeakMap,promise:new WeakMap,innerParams:new WeakMap,domCache:new WeakMap};const Vt=["input","file","range","select","radio","checkbox","textarea"],Zt=(t,e)=>{const n=A(),r=Wt.innerParams.get(t),i=!r||e.input!==r.input;Vt.forEach((t=>{const r=C[t],o=st(n,r);Kt(t,e.inputAttributes),o.className=r,i&&ut(o)})),e.input&&(i&&Yt(e),Gt(e))},Yt=t=>{if(!ee[t.input])return i('Unexpected type of input! Expected "text", "email", "password", "number", "tel", "select", "radio", "checkbox", "textarea", "file" or "url", got "'.concat(t.input,'"'));const e=te(t.input),n=ee[t.input](e,t);lt(n),setTimeout((()=>{rt(n)}))},Xt=t=>{for(let e=0;e<t.attributes.length;e++){const n=t.attributes[e].name;["type","value","style"].includes(n)||t.removeAttribute(n)}},Kt=(t,e)=>{const n=nt(A(),t);if(n){Xt(n);for(const t in e)n.setAttribute(t,e[t])}},Gt=t=>{const e=te(t.input);t.customClass&&ot(e,t.customClass.input)},Qt=(t,e)=>{t.placeholder&&!e.inputPlaceholder||(t.placeholder=e.inputPlaceholder)},Jt=(t,e,n)=>{if(n.inputLabel){t.id=C.input;const r=document.createElement("label"),i=C["input-label"];r.setAttribute("for",t.id),r.className=i,ot(r,n.customClass.inputLabel),r.innerText=n.inputLabel,e.insertAdjacentElement("beforebegin",r)}},te=t=>{const e=C[t]?C[t]:C.input;return st(A(),e)},ee={};ee.text=ee.email=ee.password=ee.number=ee.tel=ee.url=(t,e)=>("string"==typeof e.inputValue||"number"==typeof e.inputValue?t.value=e.inputValue:f(e.inputValue)||r('Unexpected type of inputValue! Expected "string", "number" or "Promise", got "'.concat(typeof e.inputValue,'"')),Jt(t,t,e),Qt(t,e),t.type=e.input,t),ee.file=(t,e)=>(Jt(t,t,e),Qt(t,e),t),ee.range=(t,e)=>{const n=t.querySelector("input"),r=t.querySelector("output");return n.value=e.inputValue,n.type=e.input,r.value=e.inputValue,Jt(n,t,e),t},ee.select=(t,e)=>{if(t.textContent="",e.inputPlaceholder){const n=document.createElement("option");Q(n,e.inputPlaceholder),n.value="",n.disabled=!0,n.selected=!0,t.appendChild(n)}return Jt(t,t,e),t},ee.radio=t=>(t.textContent="",t),ee.checkbox=(t,e)=>{const n=nt(A(),"checkbox");n.value="1",n.id=C.checkbox,n.checked=Boolean(e.inputValue);const r=t.querySelector("span");return Q(r,e.inputPlaceholder),t},ee.textarea=(t,e)=>{t.value=e.inputValue,Qt(t,e),Jt(t,t,e);const n=t=>parseInt(window.getComputedStyle(t).marginLeft)+parseInt(window.getComputedStyle(t).marginRight);return setTimeout((()=>{if("MutationObserver"in window){const e=parseInt(window.getComputedStyle(A()).width);new MutationObserver((()=>{const r=t.offsetWidth+n(t);A().style.width=r>e?"".concat(r,"px"):null})).observe(t,{attributes:!0,attributeFilter:["style"]})}})),t};const ne=(t,e)=>{const n=M();et(n,e,"htmlContainer"),e.html?(Dt(e.html,n),lt(n,"block")):e.text?(n.textContent=e.text,lt(n,"block")):ut(n),Zt(t,e)},re=(t,e)=>{const n=U();ht(n,e.footer),e.footer&&Dt(e.footer,n),et(n,e,"footer")},ie=(t,e)=>{const n=W();Q(n,e.closeButtonHtml),et(n,e,"closeButton"),ht(n,e.showCloseButton),n.setAttribute("aria-label",e.closeButtonAriaLabel)},oe=(t,e)=>{const n=Wt.innerParams.get(t),r=j();return n&&e.icon===n.icon?(ue(r,e),void ae(r,e)):e.icon||e.iconHtml?e.icon&&-1===Object.keys(S).indexOf(e.icon)?(i('Unknown icon! Expected "success", "error", "warning", "info" or "question", got "'.concat(e.icon,'"')),ut(r)):(lt(r),ue(r,e),ae(r,e),void ot(r,e.showClass.icon)):ut(r)},ae=(t,e)=>{for(const n in S)e.icon!==n&&at(t,S[n]);ot(t,S[e.icon]),fe(t,e),se(),et(t,e,"icon")},se=()=>{const t=A(),e=window.getComputedStyle(t).getPropertyValue("background-color"),n=t.querySelectorAll("[class^=swal2-success-circular-line], .swal2-success-fix");for(let t=0;t<n.length;t++)n[t].style.backgroundColor=e},ce='\n  <div class="swal2-success-circular-line-left"></div>\n  <span class="swal2-success-line-tip"></span> <span class="swal2-success-line-long"></span>\n  <div class="swal2-success-ring"></div> <div class="swal2-success-fix"></div>\n  <div class="swal2-success-circular-line-right"></div>\n',le='\n  <span class="swal2-x-mark">\n    <span class="swal2-x-mark-line-left"></span>\n    <span class="swal2-x-mark-line-right"></span>\n  </span>\n',ue=(t,e)=>{t.textContent="",e.iconHtml?Q(t,he(e.iconHtml)):"success"===e.icon?Q(t,ce):"error"===e.icon?Q(t,le):Q(t,he({question:"?",warning:"!",info:"i"}[e.icon]))},fe=(t,e)=>{if(e.iconColor){t.style.color=e.iconColor,t.style.borderColor=e.iconColor;for(const n of[".swal2-success-line-tip",".swal2-success-line-long",".swal2-x-mark-line-left",".swal2-x-mark-line-right"])ft(t,n,"backgroundColor",e.iconColor);ft(t,".swal2-success-ring","borderColor",e.iconColor)}},he=t=>'<div class="'.concat(C["icon-content"],'">').concat(t,"</div>"),de=(t,e)=>{const n=R();if(!e.imageUrl)return ut(n);lt(n,""),n.setAttribute("src",e.imageUrl),n.setAttribute("alt",e.imageAlt),ct(n,"width",e.imageWidth),ct(n,"height",e.imageHeight),n.className=C.image,et(n,e,"image")},pe=t=>{const e=document.createElement("li");return ot(e,C["progress-step"]),Q(e,t),e},me=t=>{const e=document.createElement("li");return ot(e,C["progress-step-line"]),t.progressStepsDistance&&(e.style.width=t.progressStepsDistance),e},ve=(t,e)=>{const n=I();if(!e.progressSteps||0===e.progressSteps.length)return ut(n);lt(n),n.textContent="",e.currentProgressStep>=e.progressSteps.length&&r("Invalid currentProgressStep parameter, it should be less than progressSteps.length (currentProgressStep like JS arrays starts from 0)"),e.progressSteps.forEach(((t,r)=>{const i=pe(t);if(n.appendChild(i),r===e.currentProgressStep&&ot(i,C["active-progress-step"]),r!==e.progressSteps.length-1){const t=me(e);n.appendChild(t)}}))},ge=(t,e)=>{const n=D();ht(n,e.title||e.titleText,"block"),e.title&&Dt(e.title,n),e.titleText&&(n.innerText=e.titleText),et(n,e,"title")},ye=(t,e)=>{const n=E(),r=A();e.toast?(ct(n,"width",e.width),r.style.width="100%",r.insertBefore(B(),j())):ct(r,"width",e.width),ct(r,"padding",e.padding),e.color&&(r.style.color=e.color),e.background&&(r.style.background=e.background),ut(N()),be(r,e)},be=(t,e)=>{t.className="".concat(C.popup," ").concat(dt(t)?e.showClass.popup:""),e.toast?(ot([document.documentElement,document.body],C["toast-shown"]),ot(t,C.toast)):ot(t,C.modal),et(t,e,"popup"),"string"==typeof e.customClass&&ot(t,e.customClass),e.icon&&ot(t,C["icon-".concat(e.icon)])},we=(t,e)=>{ye(t,e),qt(t,e),ve(t,e),oe(t,e),de(t,e),ge(t,e),ie(t,e),ne(t,e),Lt(t,e),re(t,e),"function"==typeof e.didRender&&e.didRender(A())},_e=Object.freeze({cancel:"cancel",backdrop:"backdrop",close:"close",esc:"esc",timer:"timer"}),xe=()=>{n(document.body.children).forEach((t=>{t===E()||t.contains(E())||(t.hasAttribute("aria-hidden")&&t.setAttribute("data-previous-aria-hidden",t.getAttribute("aria-hidden")),t.setAttribute("aria-hidden","true"))}))},ke=()=>{n(document.body.children).forEach((t=>{t.hasAttribute("data-previous-aria-hidden")?(t.setAttribute("aria-hidden",t.getAttribute("data-previous-aria-hidden")),t.removeAttribute("data-previous-aria-hidden")):t.removeAttribute("aria-hidden")}))},Oe=["swal-title","swal-html","swal-footer"],Ce=t=>{const e="string"==typeof t.template?document.querySelector(t.template):t.template;if(!e)return{};const n=e.content;return De(n),Object.assign(Se(n),Ee(n),Te(n),Pe(n),Ae(n),je(n,Oe))},Se=t=>{const e={};return n(t.querySelectorAll("swal-param")).forEach((t=>{Me(t,["name","value"]);const n=t.getAttribute("name"),r=t.getAttribute("value");"boolean"==typeof h[n]&&"false"===r&&(e[n]=!1),"object"==typeof h[n]&&(e[n]=JSON.parse(r))})),e},Ee=t=>{const r={};return n(t.querySelectorAll("swal-button")).forEach((t=>{Me(t,["type","color","aria-label"]);const n=t.getAttribute("type");r["".concat(n,"ButtonText")]=t.innerHTML,r["show".concat(e(n),"Button")]=!0,t.hasAttribute("color")&&(r["".concat(n,"ButtonColor")]=t.getAttribute("color")),t.hasAttribute("aria-label")&&(r["".concat(n,"ButtonAriaLabel")]=t.getAttribute("aria-label"))})),r},Te=t=>{const e={},n=t.querySelector("swal-image");return n&&(Me(n,["src","width","height","alt"]),n.hasAttribute("src")&&(e.imageUrl=n.getAttribute("src")),n.hasAttribute("width")&&(e.imageWidth=n.getAttribute("width")),n.hasAttribute("height")&&(e.imageHeight=n.getAttribute("height")),n.hasAttribute("alt")&&(e.imageAlt=n.getAttribute("alt"))),e},Pe=t=>{const e={},n=t.querySelector("swal-icon");return n&&(Me(n,["type","color"]),n.hasAttribute("type")&&(e.icon=n.getAttribute("type")),n.hasAttribute("color")&&(e.iconColor=n.getAttribute("color")),e.iconHtml=n.innerHTML),e},Ae=t=>{const e={},r=t.querySelector("swal-input");r&&(Me(r,["type","label","placeholder","value"]),e.input=r.getAttribute("type")||"text",r.hasAttribute("label")&&(e.inputLabel=r.getAttribute("label")),r.hasAttribute("placeholder")&&(e.inputPlaceholder=r.getAttribute("placeholder")),r.hasAttribute("value")&&(e.inputValue=r.getAttribute("value")));const i=t.querySelectorAll("swal-input-option");return i.length&&(e.inputOptions={},n(i).forEach((t=>{Me(t,["value"]);const n=t.getAttribute("value"),r=t.innerHTML;e.inputOptions[n]=r}))),e},je=(t,e)=>{const n={};for(const r in e){const i=e[r],o=t.querySelector(i);o&&(Me(o,[]),n[i.replace(/^swal-/,"")]=o.innerHTML.trim())}return n},De=t=>{const e=Oe.concat(["swal-param","swal-button","swal-image","swal-icon","swal-input","swal-input-option"]);n(t.children).forEach((t=>{const n=t.tagName.toLowerCase();-1===e.indexOf(n)&&r("Unrecognized element <".concat(n,">"))}))},Me=(t,e)=>{n(t.attributes).forEach((n=>{-1===e.indexOf(n.name)&&r(['Unrecognized attribute "'.concat(n.name,'" on <').concat(t.tagName.toLowerCase(),">."),"".concat(e.length?"Allowed attributes are: ".concat(e.join(", ")):"To set the value, use HTML within the element.")])}))};var Re={email:(t,e)=>/^[a-zA-Z0-9.+_-]+@[a-zA-Z0-9.-]+\.[a-zA-Z0-9-]{2,24}$/.test(t)?Promise.resolve():Promise.resolve(e||"Invalid email address"),url:(t,e)=>/^https?:\/\/(www\.)?[-a-zA-Z0-9@:%._+~#=]{1,256}\.[a-z]{2,63}\b([-a-zA-Z0-9@:%_+.~#?&/=]*)$/.test(t)?Promise.resolve():Promise.resolve(e||"Invalid URL")};function Ie(t){t.inputValidator||Object.keys(Re).forEach((e=>{t.input===e&&(t.inputValidator=Re[e])}))}function Ne(t){(!t.target||"string"==typeof t.target&&!document.querySelector(t.target)||"string"!=typeof t.target&&!t.target.appendChild)&&(r('Target parameter is not valid, defaulting to "body"'),t.target="body")}function Le(t){Ie(t),t.showLoaderOnConfirm&&!t.preConfirm&&r("showLoaderOnConfirm is set to true, but preConfirm is not defined.\nshowLoaderOnConfirm should be used together with preConfirm, see usage example:\nhttps://sweetalert2.github.io/#ajax-request"),Ne(t),"string"==typeof t.title&&(t.title=t.title.split("\n").join("<br />")),jt(t)}class $e{constructor(t,e){this.callback=t,this.remaining=e,this.running=!1,this.start()}start(){return this.running||(this.running=!0,this.started=new Date,this.id=setTimeout(this.callback,this.remaining)),this.remaining}stop(){return this.running&&(this.running=!1,clearTimeout(this.id),this.remaining-=(new Date).getTime()-this.started.getTime()),this.remaining}increase(t){const e=this.running;return e&&this.stop(),this.remaining+=t,e&&this.start(),this.remaining}getTimerLeft(){return this.running&&(this.stop(),this.start()),this.remaining}isRunning(){return this.running}}const Fe=()=>{null===G.previousBodyPadding&&document.body.scrollHeight>window.innerHeight&&(G.previousBodyPadding=parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right")),document.body.style.paddingRight="".concat(G.previousBodyPadding+Nt(),"px"))},Be=()=>{null!==G.previousBodyPadding&&(document.body.style.paddingRight="".concat(G.previousBodyPadding,"px"),G.previousBodyPadding=null)},ze=()=>{if((/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream||"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1)&&!J(document.body,C.iosfix)){const t=document.body.scrollTop;document.body.style.top="".concat(-1*t,"px"),ot(document.body,C.iosfix),Ue(),He()}},He=()=>{const t=navigator.userAgent,e=!!t.match(/iPad/i)||!!t.match(/iPhone/i),n=!!t.match(/WebKit/i);if(e&&n&&!t.match(/CriOS/i)){const t=44;A().scrollHeight>window.innerHeight-t&&(E().style.paddingBottom="".concat(t,"px"))}},Ue=()=>{const t=E();let e;t.ontouchstart=t=>{e=qe(t)},t.ontouchmove=t=>{e&&(t.preventDefault(),t.stopPropagation())}},qe=t=>{const e=t.target,n=E();return!(We(t)||Ve(t)||e!==n&&(mt(n)||"INPUT"===e.tagName||"TEXTAREA"===e.tagName||mt(M())&&M().contains(e)))},We=t=>t.touches&&t.touches.length&&"stylus"===t.touches[0].touchType,Ve=t=>t.touches&&t.touches.length>1,Ze=()=>{if(J(document.body,C.iosfix)){const t=parseInt(document.body.style.top,10);at(document.body,C.iosfix),document.body.style.top="",document.body.scrollTop=-1*t}},Ye=10,Xe=t=>{const e=E(),n=A();"function"==typeof t.willOpen&&t.willOpen(n);const r=window.getComputedStyle(document.body).overflowY;Je(e,n,t),setTimeout((()=>{Ge(e,n)}),Ye),Y()&&(Qe(e,t.scrollbarPadding,r),xe()),X()||_t.previousActiveElement||(_t.previousActiveElement=document.activeElement),"function"==typeof t.didOpen&&setTimeout((()=>t.didOpen(n))),at(e,C["no-transition"])},Ke=t=>{const e=A();if(t.target!==e)return;const n=E();e.removeEventListener(It,Ke),n.style.overflowY="auto"},Ge=(t,e)=>{It&&vt(e)?(t.style.overflowY="hidden",e.addEventListener(It,Ke)):t.style.overflowY="auto"},Qe=(t,e,n)=>{ze(),e&&"hidden"!==n&&Fe(),setTimeout((()=>{t.scrollTop=0}))},Je=(t,e,n)=>{ot(t,n.showClass.backdrop),e.style.setProperty("opacity","0","important"),lt(e,"grid"),setTimeout((()=>{ot(e,n.showClass.popup),e.style.removeProperty("opacity")}),Ye),ot([document.documentElement,document.body],C.shown),n.heightAuto&&n.backdrop&&!n.toast&&ot([document.documentElement,document.body],C["height-auto"])},tn=t=>{let e=A();e||new qr,e=A();const n=B();X()?ut(j()):en(e,t),lt(n),e.setAttribute("data-loading",!0),e.setAttribute("aria-busy",!0),e.focus()},en=(t,e)=>{const n=H(),r=B();!e&&dt(L())&&(e=L()),lt(n),e&&(ut(e),r.setAttribute("data-button-to-replace",e.className)),r.parentNode.insertBefore(r,e),ot([t,n],C.loading)},nn=(t,e)=>{"select"===e.input||"radio"===e.input?cn(t,e):["text","email","number","tel","textarea"].includes(e.input)&&(l(e.inputValue)||f(e.inputValue))&&(tn(L()),ln(t,e))},rn=(t,e)=>{const n=t.getInput();if(!n)return null;switch(e.input){case"checkbox":return on(n);case"radio":return an(n);case"file":return sn(n);default:return e.inputAutoTrim?n.value.trim():n.value}},on=t=>t.checked?1:0,an=t=>t.checked?t.value:null,sn=t=>t.files.length?null!==t.getAttribute("multiple")?t.files:t.files[0]:null,cn=(t,e)=>{const n=A(),r=t=>un[e.input](n,fn(t),e);l(e.inputOptions)||f(e.inputOptions)?(tn(L()),u(e.inputOptions).then((e=>{t.hideLoading(),r(e)}))):"object"==typeof e.inputOptions?r(e.inputOptions):i("Unexpected type of inputOptions! Expected object, Map or Promise, got ".concat(typeof e.inputOptions))},ln=(t,e)=>{const n=t.getInput();ut(n),u(e.inputValue).then((r=>{n.value="number"===e.input?parseFloat(r)||0:"".concat(r),lt(n),n.focus(),t.hideLoading()})).catch((e=>{i("Error in inputValue promise: ".concat(e)),n.value="",lt(n),n.focus(),t.hideLoading()}))},un={select:(t,e,n)=>{const r=st(t,C.select),i=(t,e,r)=>{const i=document.createElement("option");i.value=r,Q(i,e),i.selected=hn(r,n.inputValue),t.appendChild(i)};e.forEach((t=>{const e=t[0],n=t[1];if(Array.isArray(n)){const t=document.createElement("optgroup");t.label=e,t.disabled=!1,r.appendChild(t),n.forEach((e=>i(t,e[1],e[0])))}else i(r,n,e)})),r.focus()},radio:(t,e,n)=>{const r=st(t,C.radio);e.forEach((t=>{const e=t[0],i=t[1],o=document.createElement("input"),a=document.createElement("label");o.type="radio",o.name=C.radio,o.value=e,hn(e,n.inputValue)&&(o.checked=!0);const s=document.createElement("span");Q(s,i),s.className=C.label,a.appendChild(o),a.appendChild(s),r.appendChild(a)}));const i=r.querySelectorAll("input");i.length&&i[0].focus()}},fn=t=>{const e=[];return"undefined"!=typeof Map&&t instanceof Map?t.forEach(((t,n)=>{let r=t;"object"==typeof r&&(r=fn(r)),e.push([n,r])})):Object.keys(t).forEach((n=>{let r=t[n];"object"==typeof r&&(r=fn(r)),e.push([n,r])})),e},hn=(t,e)=>e&&e.toString()===t.toString(),dn=t=>{const e=Wt.innerParams.get(t);t.disableButtons(),e.input?vn(t,"confirm"):_n(t,!0)},pn=t=>{const e=Wt.innerParams.get(t);t.disableButtons(),e.returnInputValueOnDeny?vn(t,"deny"):yn(t,!1)},mn=(t,e)=>{t.disableButtons(),e(_e.cancel)},vn=(t,n)=>{const r=Wt.innerParams.get(t);if(!r.input)return i('The "input" parameter is needed to be set when using returnInputValueOn'.concat(e(n)));const o=rn(t,r);r.inputValidator?gn(t,o,n):t.getInput().checkValidity()?"deny"===n?yn(t,o):_n(t,o):(t.enableButtons(),t.showValidationMessage(r.validationMessage))},gn=(t,e,n)=>{const r=Wt.innerParams.get(t);t.disableInput(),Promise.resolve().then((()=>u(r.inputValidator(e,r.validationMessage)))).then((r=>{t.enableButtons(),t.enableInput(),r?t.showValidationMessage(r):"deny"===n?yn(t,e):_n(t,e)}))},yn=(t,e)=>{const n=Wt.innerParams.get(t||void 0);n.showLoaderOnDeny&&tn($()),n.preDeny?(Wt.awaitingPromise.set(t||void 0,!0),Promise.resolve().then((()=>u(n.preDeny(e,n.validationMessage)))).then((n=>{!1===n?t.hideLoading():t.closePopup({isDenied:!0,value:void 0===n?e:n})})).catch((e=>wn(t||void 0,e)))):t.closePopup({isDenied:!0,value:e})},bn=(t,e)=>{t.closePopup({isConfirmed:!0,value:e})},wn=(t,e)=>{t.rejectPromise(e)},_n=(t,e)=>{const n=Wt.innerParams.get(t||void 0);n.showLoaderOnConfirm&&tn(),n.preConfirm?(t.resetValidationMessage(),Wt.awaitingPromise.set(t||void 0,!0),Promise.resolve().then((()=>u(n.preConfirm(e,n.validationMessage)))).then((n=>{dt(N())||!1===n?t.hideLoading():bn(t,void 0===n?e:n)})).catch((e=>wn(t||void 0,e)))):bn(t,e)},xn=(t,e,n)=>{Wt.innerParams.get(t).toast?kn(t,e,n):(Sn(e),En(e),Tn(t,e,n))},kn=(t,e,n)=>{e.popup.onclick=()=>{const e=Wt.innerParams.get(t);e&&(On(e)||e.timer||e.input)||n(_e.close)}},On=t=>t.showConfirmButton||t.showDenyButton||t.showCancelButton||t.showCloseButton;let Cn=!1;const Sn=t=>{t.popup.onmousedown=()=>{t.container.onmouseup=function(e){t.container.onmouseup=void 0,e.target===t.container&&(Cn=!0)}}},En=t=>{t.container.onmousedown=()=>{t.popup.onmouseup=function(e){t.popup.onmouseup=void 0,(e.target===t.popup||t.popup.contains(e.target))&&(Cn=!0)}}},Tn=(t,e,n)=>{e.container.onclick=r=>{const i=Wt.innerParams.get(t);Cn?Cn=!1:r.target===e.container&&c(i.allowOutsideClick)&&n(_e.backdrop)}},Pn=()=>dt(A()),An=()=>L()&&L().click(),jn=()=>$()&&$().click(),Dn=()=>z()&&z().click(),Mn=(t,e,n,r)=>{e.keydownTarget&&e.keydownHandlerAdded&&(e.keydownTarget.removeEventListener("keydown",e.keydownHandler,{capture:e.keydownListenerCapture}),e.keydownHandlerAdded=!1),n.toast||(e.keydownHandler=e=>Ln(t,e,r),e.keydownTarget=n.keydownListenerCapture?window:A(),e.keydownListenerCapture=n.keydownListenerCapture,e.keydownTarget.addEventListener("keydown",e.keydownHandler,{capture:e.keydownListenerCapture}),e.keydownHandlerAdded=!0)},Rn=(t,e,n)=>{const r=Z();if(r.length)return(e+=n)===r.length?e=0:-1===e&&(e=r.length-1),r[e].focus();A().focus()},In=["ArrowRight","ArrowDown"],Nn=["ArrowLeft","ArrowUp"],Ln=(t,e,n)=>{const r=Wt.innerParams.get(t);r&&(r.stopKeydownPropagation&&e.stopPropagation(),"Enter"===e.key?$n(t,e,r):"Tab"===e.key?Fn(e,r):[...In,...Nn].includes(e.key)?Bn(e.key):"Escape"===e.key&&zn(e,r,n))},$n=(t,e,n)=>{if(c(n.allowEnterKey)&&!e.isComposing&&e.target&&t.getInput()&&e.target.outerHTML===t.getInput().outerHTML){if(["textarea","file"].includes(n.input))return;An(),e.preventDefault()}},Fn=(t,e)=>{const n=t.target,r=Z();let i=-1;for(let t=0;t<r.length;t++)if(n===r[t]){i=t;break}t.shiftKey?Rn(e,i,-1):Rn(e,i,1),t.stopPropagation(),t.preventDefault()},Bn=t=>{if(![L(),$(),z()].includes(document.activeElement))return;const e=In.includes(t)?"nextElementSibling":"previousElementSibling",n=document.activeElement[e];n instanceof HTMLElement&&n.focus()},zn=(t,e,n)=>{c(e.allowEscapeKey)&&(t.preventDefault(),n(_e.esc))},Hn=t=>"object"==typeof t&&t.jquery,Un=t=>t instanceof Element||Hn(t),qn=t=>{const e={};return"object"!=typeof t[0]||Un(t[0])?["title","html","icon"].forEach(((n,r)=>{const o=t[r];"string"==typeof o||Un(o)?e[n]=o:void 0!==o&&i("Unexpected type of ".concat(n,'! Expected "string" or "Element", got ').concat(typeof o))})):Object.assign(e,t[0]),e};function Wn(){const t=this;for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return new t(...n)}function Vn(t){class e extends(this){_main(e,n){return super._main(e,Object.assign({},t,n))}}return e}const Zn=()=>_t.timeout&&_t.timeout.getTimerLeft(),Yn=()=>{if(_t.timeout)return yt(),_t.timeout.stop()},Xn=()=>{if(_t.timeout){const t=_t.timeout.start();return gt(t),t}},Kn=()=>{const t=_t.timeout;return t&&(t.running?Yn():Xn())},Gn=t=>{if(_t.timeout){const e=_t.timeout.increase(t);return gt(e,!0),e}},Qn=()=>_t.timeout&&_t.timeout.isRunning();let Jn=!1;const tr={};function er(){tr[arguments.length>0&&void 0!==arguments[0]?arguments[0]:"data-swal-template"]=this,Jn||(document.body.addEventListener("click",nr),Jn=!0)}const nr=t=>{for(let e=t.target;e&&e!==document;e=e.parentNode)for(const t in tr){const n=e.getAttribute(t);if(n)return void tr[t].fire({template:n})}};var rr=Object.freeze({isValidParameter:v,isUpdatableParameter:g,isDeprecatedParameter:y,argsToParams:qn,isVisible:Pn,clickConfirm:An,clickDeny:jn,clickCancel:Dn,getContainer:E,getPopup:A,getTitle:D,getHtmlContainer:M,getImage:R,getIcon:j,getInputLabel:F,getCloseButton:W,getActions:H,getConfirmButton:L,getDenyButton:$,getCancelButton:z,getLoader:B,getFooter:U,getTimerProgressBar:q,getFocusableElements:Z,getValidationMessage:N,isLoading:K,fire:Wn,mixin:Vn,showLoading:tn,enableLoading:tn,getTimerLeft:Zn,stopTimer:Yn,resumeTimer:Xn,toggleTimer:Kn,increaseTimer:Gn,isTimerRunning:Qn,bindClickHandler:er});function ir(){const t=Wt.innerParams.get(this);if(!t)return;const e=Wt.domCache.get(this);ut(e.loader),X()?t.icon&&lt(j()):or(e),at([e.popup,e.actions],C.loading),e.popup.removeAttribute("aria-busy"),e.popup.removeAttribute("data-loading"),e.confirmButton.disabled=!1,e.denyButton.disabled=!1,e.cancelButton.disabled=!1}const or=t=>{const e=t.popup.getElementsByClassName(t.loader.getAttribute("data-button-to-replace"));e.length?lt(e[0],"inline-block"):pt()&&ut(t.actions)};function ar(t){const e=Wt.innerParams.get(t||this),n=Wt.domCache.get(t||this);return n?nt(n.popup,e.input):null}var sr={swalPromiseResolve:new WeakMap,swalPromiseReject:new WeakMap};function cr(t,e,n,r){X()?yr(t,r):(kt(n).then((()=>yr(t,r))),_t.keydownTarget.removeEventListener("keydown",_t.keydownHandler,{capture:_t.keydownListenerCapture}),_t.keydownHandlerAdded=!1),/^((?!chrome|android).)*safari/i.test(navigator.userAgent)?(e.setAttribute("style","display:none !important"),e.removeAttribute("class"),e.innerHTML=""):e.remove(),Y()&&(Be(),Ze(),ke()),lr()}function lr(){at([document.documentElement,document.body],[C.shown,C["height-auto"],C["no-backdrop"],C["toast-shown"]])}function ur(t){t=mr(t);const e=sr.swalPromiseResolve.get(this),n=hr(this);this.isAwaitingPromise()?t.isDismissed||(pr(this),e(t)):n&&e(t)}function fr(){return!!Wt.awaitingPromise.get(this)}const hr=t=>{const e=A();if(!e)return!1;const n=Wt.innerParams.get(t);if(!n||J(e,n.hideClass.popup))return!1;at(e,n.showClass.popup),ot(e,n.hideClass.popup);const r=E();return at(r,n.showClass.backdrop),ot(r,n.hideClass.backdrop),vr(t,e,n),!0};function dr(t){const e=sr.swalPromiseReject.get(this);pr(this),e&&e(t)}const pr=t=>{t.isAwaitingPromise()&&(Wt.awaitingPromise.delete(t),Wt.innerParams.get(t)||t._destroy())},mr=t=>void 0===t?{isConfirmed:!1,isDenied:!1,isDismissed:!0}:Object.assign({isConfirmed:!1,isDenied:!1,isDismissed:!1},t),vr=(t,e,n)=>{const r=E(),i=It&&vt(e);"function"==typeof n.willClose&&n.willClose(e),i?gr(t,e,r,n.returnFocus,n.didClose):cr(t,r,n.returnFocus,n.didClose)},gr=(t,e,n,r,i)=>{_t.swalCloseEventFinishedCallback=cr.bind(null,t,n,r,i),e.addEventListener(It,(function(t){t.target===e&&(_t.swalCloseEventFinishedCallback(),delete _t.swalCloseEventFinishedCallback)}))},yr=(t,e)=>{setTimeout((()=>{"function"==typeof e&&e.bind(t.params)(),t._destroy()}))};function br(t,e,n){const r=Wt.domCache.get(t);e.forEach((t=>{r[t].disabled=n}))}function wr(t,e){if(!t)return!1;if("radio"===t.type){const n=t.parentNode.parentNode.querySelectorAll("input");for(let t=0;t<n.length;t++)n[t].disabled=e}else t.disabled=e}function _r(){br(this,["confirmButton","denyButton","cancelButton"],!1)}function xr(){br(this,["confirmButton","denyButton","cancelButton"],!0)}function kr(){return wr(this.getInput(),!1)}function Or(){return wr(this.getInput(),!0)}function Cr(t){const e=Wt.domCache.get(this),n=Wt.innerParams.get(this);Q(e.validationMessage,t),e.validationMessage.className=C["validation-message"],n.customClass&&n.customClass.validationMessage&&ot(e.validationMessage,n.customClass.validationMessage),lt(e.validationMessage);const r=this.getInput();r&&(r.setAttribute("aria-invalid",!0),r.setAttribute("aria-describedby",C["validation-message"]),rt(r),ot(r,C.inputerror))}function Sr(){const t=Wt.domCache.get(this);t.validationMessage&&ut(t.validationMessage);const e=this.getInput();e&&(e.removeAttribute("aria-invalid"),e.removeAttribute("aria-describedby"),at(e,C.inputerror))}function Er(){return Wt.domCache.get(this).progressSteps}function Tr(t){const e=A(),n=Wt.innerParams.get(this);if(!e||J(e,n.hideClass.popup))return r("You're trying to update the closed or closing popup, that won't work. Use the update() method in preConfirm parameter or show a new popup.");const i=Pr(t),o=Object.assign({},n,i);we(this,o),Wt.innerParams.set(this,o),Object.defineProperties(this,{params:{value:Object.assign({},this.params,t),writable:!1,enumerable:!0}})}const Pr=t=>{const e={};return Object.keys(t).forEach((n=>{g(n)?e[n]=t[n]:r('Invalid parameter to update: "'.concat(n,'". Updatable params are listed here: https://github.com/sweetalert2/sweetalert2/blob/master/src/utils/params.js\n\nIf you think this parameter should be updatable, request it here: https://github.com/sweetalert2/sweetalert2/issues/new?template=02_feature_request.md'))})),e};function Ar(){const t=Wt.domCache.get(this),e=Wt.innerParams.get(this);e?(t.popup&&_t.swalCloseEventFinishedCallback&&(_t.swalCloseEventFinishedCallback(),delete _t.swalCloseEventFinishedCallback),_t.deferDisposalTimer&&(clearTimeout(_t.deferDisposalTimer),delete _t.deferDisposalTimer),"function"==typeof e.didDestroy&&e.didDestroy(),jr(this)):Dr(this)}const jr=t=>{Dr(t),delete t.params,delete _t.keydownHandler,delete _t.keydownTarget,delete _t.currentInstance},Dr=t=>{t.isAwaitingPromise()?(Mr(Wt,t),Wt.awaitingPromise.set(t,!0)):(Mr(sr,t),Mr(Wt,t))},Mr=(t,e)=>{for(const n in t)t[n].delete(e)};var Rr=Object.freeze({hideLoading:ir,disableLoading:ir,getInput:ar,close:ur,isAwaitingPromise:fr,rejectPromise:dr,closePopup:ur,closeModal:ur,closeToast:ur,enableButtons:_r,disableButtons:xr,enableInput:kr,disableInput:Or,showValidationMessage:Cr,resetValidationMessage:Sr,getProgressSteps:Er,update:Tr,_destroy:Ar});let Ir;class Nr{constructor(){if("undefined"==typeof window)return;Ir=this;for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];const r=Object.freeze(this.constructor.argsToParams(e));Object.defineProperties(this,{params:{value:r,writable:!1,enumerable:!0,configurable:!0}});const i=this._main(this.params);Wt.promise.set(this,i)}_main(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};x(Object.assign({},e,t)),_t.currentInstance&&(_t.currentInstance._destroy(),Y()&&ke()),_t.currentInstance=this;const n=$r(t,e);Le(n),Object.freeze(n),_t.timeout&&(_t.timeout.stop(),delete _t.timeout),clearTimeout(_t.restoreFocusTimeout);const r=Fr(this);return we(this,n),Wt.innerParams.set(this,n),Lr(this,r,n)}then(t){return Wt.promise.get(this).then(t)}finally(t){return Wt.promise.get(this).finally(t)}}const Lr=(t,e,n)=>new Promise(((r,i)=>{const o=e=>{t.closePopup({isDismissed:!0,dismiss:e})};sr.swalPromiseResolve.set(t,r),sr.swalPromiseReject.set(t,i),e.confirmButton.onclick=()=>dn(t),e.denyButton.onclick=()=>pn(t),e.cancelButton.onclick=()=>mn(t,o),e.closeButton.onclick=()=>o(_e.close),xn(t,e,o),Mn(t,_t,n,o),nn(t,n),Xe(n),Br(_t,n,o),zr(e,n),setTimeout((()=>{e.container.scrollTop=0}))})),$r=(t,e)=>{const n=Ce(t),r=Object.assign({},h,e,n,t);return r.showClass=Object.assign({},h.showClass,r.showClass),r.hideClass=Object.assign({},h.hideClass,r.hideClass),r},Fr=t=>{const e={popup:A(),container:E(),actions:H(),confirmButton:L(),denyButton:$(),cancelButton:z(),loader:B(),closeButton:W(),validationMessage:N(),progressSteps:I()};return Wt.domCache.set(t,e),e},Br=(t,e,n)=>{const r=q();ut(r),e.timer&&(t.timeout=new $e((()=>{n("timer"),delete t.timeout}),e.timer),e.timerProgressBar&&(lt(r),et(r,e,"timerProgressBar"),setTimeout((()=>{t.timeout&&t.timeout.running&&gt(e.timer)}))))},zr=(t,e)=>{if(!e.toast)return c(e.allowEnterKey)?void(Hr(t,e)||Rn(e,-1,1)):Ur()},Hr=(t,e)=>e.focusDeny&&dt(t.denyButton)?(t.denyButton.focus(),!0):e.focusCancel&&dt(t.cancelButton)?(t.cancelButton.focus(),!0):!(!e.focusConfirm||!dt(t.confirmButton)||(t.confirmButton.focus(),0)),Ur=()=>{document.activeElement instanceof HTMLElement&&"function"==typeof document.activeElement.blur&&document.activeElement.blur()};Object.assign(Nr.prototype,Rr),Object.assign(Nr,rr),Object.keys(Rr).forEach((t=>{Nr[t]=function(){if(Ir)return Ir[t](...arguments)}})),Nr.DismissReason=_e,Nr.version="11.4.0";const qr=Nr;return qr.default=qr,qr}(),void 0!==t&&t.Sweetalert2&&(t.swal=t.sweetAlert=t.Swal=t.SweetAlert=t.Sweetalert2);var r=e.exports;return class{static install(t,e={}){var n;const i=r.mixin(e),o=function(...t){return i.fire.call(i,...t)};Object.assign(o,r),Object.keys(r).filter((t=>"function"==typeof r[t])).forEach((t=>{o[t]=i[t].bind(i)})),(null==(n=t.config)?void 0:n.globalProperties)&&!t.config.globalProperties.$swal?(t.config.globalProperties.$swal=o,t.provide("$swal",o)):Object.prototype.hasOwnProperty.call(t,"$swal")||(t.prototype.$swal=o,t.swal=o)}}}()}()},6529:function(t){!function(e,n){t.exports=n()}("undefined"!=typeof self&&self,(function(){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=0)}([function(t,e,n){"use strict";n.r(e);var r={};n.r(r),n.d(r,"capitalize",(function(){return m})),n.d(r,"uppercase",(function(){return v})),n.d(r,"lowercase",(function(){return g})),n.d(r,"placeholder",(function(){return y})),n.d(r,"truncate",(function(){return b})),n.d(r,"repeat",(function(){return w})),n.d(r,"wrap",(function(){return _})),n.d(r,"reverse",(function(){return x}));var i={};n.r(i),n.d(i,"limitBy",(function(){return k})),n.d(i,"filterBy",(function(){return C})),n.d(i,"orderBy",(function(){return S})),n.d(i,"find",(function(){return E}));var o={};function a(t){return function(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}}(t)||function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function s(t){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},s(t)}n.r(o),n.d(o,"currency",(function(){return T})),n.d(o,"bytes",(function(){return P})),n.d(o,"pluralize",(function(){return A})),n.d(o,"ordinal",(function(){return j})),n.d(o,"number",(function(){return M})),n.d(o,"percent",(function(){return R}));var c=Array.prototype,l=Object.prototype,u=(c.slice,l.toString),f={isArray:function(t){return Array.isArray(t)}},h=Math.pow(2,53)-1;function d(t,e){return e.length?d(t[e[0]],e.slice(1)):t}f.isArrayLike=function(t){if("object"!==s(t)||!t)return!1;var e=t.length;return"number"==typeof e&&e%1==0&&e>=0&&e<=h},f.isObject=function(t){var e=s(t);return"function"===e||"object"===e&&!!t},f.each=function(t,e){var n,r;if(f.isArray(t))for(n=0,r=t.length;n<r&&!1!==e(t[n],n,t);n++);else for(n in t)if(!1===e(t[n],n,t))break;return t},f.each(["Arguments","Function","String","Number","Date","RegExp","Error"],(function(t){f["is"+t]=function(e){return u.call(e)==="[object "+t+"]"}})),f.toArray=function(t,e){e=e||0;for(var n=t.length-e,r=new Array(n);n--;)r[n]=t[n+e];return r},f.toNumber=function(t){if("string"!=typeof t)return t;var e=Number(t);return isNaN(e)?t:e},f.convertRangeToArray=function(t){return a(Array(t+1).keys()).slice(1)},f.convertArray=function(t){if(f.isArray(t))return t;if(f.isPlainObject(t)){for(var e,n=Object.keys(t),r=n.length,i=new Array(r);r--;)e=n[r],i[r]={$key:e,$value:t[e]};return i}return t||[]},f.getPath=function(t,e){return d(t,e.split("."))};u=Object.prototype.toString;f.isPlainObject=function(t){return"[object Object]"===u.call(t)},f.exist=function(t){return null!=t};var p=f;var m=function(t,e){var n=this&&this.capitalize?this.capitalize:{},r=null!=(e=e||n).onlyFirstLetter&&e.onlyFirstLetter;return t||0===t?!0===r?t.toString().charAt(0).toUpperCase()+t.toString().slice(1):(t=t.toString().toLowerCase().split(" ")).map((function(t){return t.charAt(0).toUpperCase()+t.slice(1)})).join(" "):""};var v=function(t){return t||0===t?t.toString().toUpperCase():""};var g=function(t){return t||0===t?t.toString().toLowerCase():""};var y=function(t,e){return void 0===t||""===t||null===t?e:t};var b=function(t,e){return e=e||15,t&&"string"==typeof t?t.length<=e?t:t.substring(0,e)+"...":""},w=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return e?t.toString().repeat(e):""},_=function(t,e){return[e,t,e].join("")},x=function(t){return Array.from(t).reverse().join("")};var k=function(t,e,n){return t=p.isArray(t)?t:p.convertRangeToArray(t),n=n?parseInt(n,10):0,"number"==typeof(e=p.toNumber(e))?t.slice(n,n+e):t};function O(t,e){var n;if(p.isPlainObject(t)){var r=Object.keys(t);for(n=r.length;n--;)if(O(t[r[n]],e))return!0}else if(p.isArray(t)){for(n=t.length;n--;)if(O(t[n],e))return!0}else if(null!=t)return t.toString().toLowerCase().indexOf(e)>-1}var C=function(t,e){if(t=p.convertArray(t),null==e)return t;if("function"==typeof e)return t.filter(e);e=(""+e).toLowerCase();for(var n,r,i,o,a=Array.prototype.concat.apply([],p.toArray(arguments,2)),s=[],c=0,l=t.length;c<l;c++)if(i=(n=t[c])&&n.$value||n,o=a.length){for(;o--;)if("$key"===(r=a[o])&&O(n.$key,e)||O(p.getPath(i,r),e)){s.push(n);break}}else O(n,e)&&s.push(n);return s};var S=function(t){var e,n=null;t=p.convertArray(t);var r=p.toArray(arguments,1),i=r[r.length-1];"number"==typeof i?(i=i<0?-1:1,r=r.length>1?r.slice(0,-1):r):i=1;var o=r[0];if(!o)return t;function a(t,n,r){var o=e[r];return o&&("$key"!==o&&(p.isObject(t)&&"$value"in t&&(t=t.$value),p.isObject(n)&&"$value"in n&&(n=n.$value)),t=p.isObject(t)?p.getPath(t,o):t,n=p.isObject(n)?p.getPath(n,o):n,t="string"==typeof t?t.toLowerCase():t,n="string"==typeof n?n.toLowerCase():n),t===n?0:t>n?i:-i}return"function"==typeof o?n=function(t,e){return o(t,e)*i}:(e=Array.prototype.concat.apply([],r),n=function(t,r,i){return(i=i||0)>=e.length-1?a(t,r,i):a(t,r,i)||n(t,r,i+1)}),t.slice().sort(n)};var E=function(t,e){var n=C.apply(this,arguments);return n.splice(1),n};var T=function(t,e,n,r){var i,o,a,s,c=this&&this.currency?this.currency:{};e=p.exist(e)?e:c.symbol,n=p.exist(n)?n:c.decimalDigits,r=r||c;var l=/(\d{3})(?=\d)/g;if(t=parseFloat(t),!isFinite(t)||!t&&0!==t)return"";e=void 0!==e?e:"$",n=void 0!==n?n:2,i=null!=r.thousandsSeparator?r.thousandsSeparator:",",o=null==r.symbolOnLeft||r.symbolOnLeft,a=null!=r.spaceBetweenAmountAndSymbol&&r.spaceBetweenAmountAndSymbol,s=null!=r.showPlusSign&&r.showPlusSign;var u=function(t,e){return(+(Math.round(+(t+"e"+e))+"e"+-e)).toFixed(e)}(Math.abs(t),n);u=r.decimalSeparator?u.replace(".",r.decimalSeparator):u;var f=n?u.slice(0,-1-n):u,h=f.length%3,d=h>0?f.slice(0,h)+(f.length>3?i:""):"",m=n?u.slice(-1-n):"";return e=a?o?e+" ":" "+e:e,(t>0&&s?"+":"")+(t<0?"-":"")+(e=o?e+d+f.slice(h).replace(l,"$1"+i)+m:d+f.slice(h).replace(l,"$1"+i)+m+e)};var P=function(t,e){var n=this&&this.bytes?this.bytes:{};return e=void 0!==(e=p.exist(e)?e:n.decimalDigits)?e:2,(t=null===t||isNaN(t)?0:t)>=Math.pow(1024,4)?"".concat((t/Math.pow(1024,4)).toFixed(e)," TB"):t>=Math.pow(1024,3)?"".concat((t/Math.pow(1024,3)).toFixed(e)," GB"):t>=Math.pow(1024,2)?"".concat((t/Math.pow(1024,2)).toFixed(e)," MB"):t>=1024?"".concat((t/1024).toFixed(e)," kB"):"".concat(t,1===t?" byte":" bytes")};var A=function(t,e,n){var r=this&&this.pluralize?this.pluralize:{},i="";return!0===(null!=(n=n||r).includeNumber&&n.includeNumber)&&(i+=t+" "),!t&&0!==t||!e||(Array.isArray(e)?i+=e[t-1]||e[e.length-1]:i+=e+(1===t?"":"s")),i};var j=function(t,e){var n=this&&this.ordinal?this.ordinal:{},r="";!0===(null!=(e=e||n).includeNumber&&e.includeNumber)&&(r+=t);var i=t%10,o=t%100;return r+=1==i&&11!=o?"st":2==i&&12!=o?"nd":3==i&&13!=o?"rd":"th"};function D(t,e){return(+(Math.round(+(t+"e"+e))+"e"+-e)).toFixed(e)}Math.sign=function(t){return 0===(t=+t)||isNaN(t)?t:t>0?1:-1};var M=function(t,e,n){var r=this&&this.number?this.number:{};n=n||r;var i=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"0",e=/([\+\-])?([0-9\,]+)?([\.0-9]+)?([a\s]+)?/,n=t?t.match(e):["","","","",""],r=n[3],i=r?r.match(/0/g).length:0;return{sign:n[1]||"",base:n[2]||"",decimals:i,unit:n[4]||""}}(e=p.exist(e)?e:r.format),o=function(t){return{float:Math.abs(parseFloat(t)),int:Math.abs(parseInt(t)),sign:Math.sign(t)<0?"-":""}}(t),a=null!=n.thousandsSeparator?n.thousandsSeparator:",",s=null!=n.decimalSeparator?n.decimalSeparator:".";if(i.sign=i.sign||o.sign,i.unit){var c=function(t,e){var n,r=/\.0+$|(\.[0-9]*[1-9])0+$/,i=[{value:1,symbol:""},{value:1e3,symbol:"K"},{value:1e6,symbol:"M"},{value:1e9,symbol:"B"},{value:1e12,symbol:"T"}];for(n=i.length-1;n>0&&!(t>=i[n].value);n--);return t=(t/i[n].value).toFixed(e.decimals).replace(r,"$1"),t+e.unit.replace("a",i[n].symbol)}(o.float,i);return i.sign+c}var l=function(t,e,n,r){var i=/(\d+)(\d{3})/,o=t.toString().split("."),a=o[0],s=o.length>1?r+o[1]:"";switch(e){case"":a="";break;case"0,0":for(;i.test(a);)a=a.replace(i,"$1"+n+"$2")}return a+s}(D(o.float,i.decimals),i.base,a,s);return i.sign+l};var R=function(t,e,n,r){var i=this&&this.percent?this.percent:{};r=r||i,n=void 0!==(n=p.exist(n)?n:i.multiplier)?n:100,e=void 0!==(e=p.exist(e)?e:i.decimalDigits)?e:0;var o=null!=r.decimalSeparator?r.decimalSeparator:".";return t=null===t||isNaN(t)?0:t,"".concat((t*n).toFixed(e).replace(".",o),"%")};function I(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var N={install:function(t,e){p.each(r,(function(n,r){t.filter(r,n.bind(e))})),p.each(o,(function(n,r){t.filter(r,n.bind(e))}))},mixin:{methods:function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),r.forEach((function(e){I(t,e,n[e])}))}return t}({},i)}};e.default=N;"undefined"!=typeof window&&window.Vue&&(window.Vue.use(N),window.Vue2Filters=N)}])}))},6979:(t,e,n)=>{"use strict";n.d(e,{EB:()=>Ze,IU:()=>Wt,Jd:()=>$n,SU:()=>Gt,X3:()=>qt,XI:()=>Xt,YP:()=>yn,ZP:()=>Cr,aZ:()=>Bn,bv:()=>Ln,h:()=>_n,i8:()=>Fn,iH:()=>Yt,nZ:()=>Ve});var r=Object.freeze({}),i=Array.isArray;function o(t){return null==t}function a(t){return null!=t}function s(t){return!0===t}function c(t){return"string"==typeof t||"number"==typeof t||"symbol"==typeof t||"boolean"==typeof t}function l(t){return"function"==typeof t}function u(t){return null!==t&&"object"==typeof t}var f=Object.prototype.toString;function h(t){return"[object Object]"===f.call(t)}function d(t){return"[object RegExp]"===f.call(t)}function p(t){var e=parseFloat(String(t));return e>=0&&Math.floor(e)===e&&isFinite(t)}function m(t){return a(t)&&"function"==typeof t.then&&"function"==typeof t.catch}function v(t){return null==t?"":Array.isArray(t)||h(t)&&t.toString===f?JSON.stringify(t,g,2):String(t)}function g(t,e){return e&&e.__v_isRef?e.value:e}function y(t){var e=parseFloat(t);return isNaN(e)?t:e}function b(t,e){for(var n=Object.create(null),r=t.split(","),i=0;i<r.length;i++)n[r[i]]=!0;return e?function(t){return n[t.toLowerCase()]}:function(t){return n[t]}}var w=b("slot,component",!0),_=b("key,ref,slot,slot-scope,is");function x(t,e){var n=t.length;if(n){if(e===t[n-1])return void(t.length=n-1);var r=t.indexOf(e);if(r>-1)return t.splice(r,1)}}var k=Object.prototype.hasOwnProperty;function O(t,e){return k.call(t,e)}function C(t){var e=Object.create(null);return function(n){return e[n]||(e[n]=t(n))}}var S=/-(\w)/g,E=C((function(t){return t.replace(S,(function(t,e){return e?e.toUpperCase():""}))})),T=C((function(t){return t.charAt(0).toUpperCase()+t.slice(1)})),P=/\B([A-Z])/g,A=C((function(t){return t.replace(P,"-$1").toLowerCase()}));var j=Function.prototype.bind?function(t,e){return t.bind(e)}:function(t,e){function n(n){var r=arguments.length;return r?r>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n};function D(t,e){e=e||0;for(var n=t.length-e,r=new Array(n);n--;)r[n]=t[n+e];return r}function M(t,e){for(var n in e)t[n]=e[n];return t}function R(t){for(var e={},n=0;n<t.length;n++)t[n]&&M(e,t[n]);return e}function I(t,e,n){}var N=function(t,e,n){return!1},L=function(t){return t};function $(t,e){if(t===e)return!0;var n=u(t),r=u(e);if(!n||!r)return!n&&!r&&String(t)===String(e);try{var i=Array.isArray(t),o=Array.isArray(e);if(i&&o)return t.length===e.length&&t.every((function(t,n){return $(t,e[n])}));if(t instanceof Date&&e instanceof Date)return t.getTime()===e.getTime();if(i||o)return!1;var a=Object.keys(t),s=Object.keys(e);return a.length===s.length&&a.every((function(n){return $(t[n],e[n])}))}catch(t){return!1}}function F(t,e){for(var n=0;n<t.length;n++)if($(t[n],e))return n;return-1}function B(t){var e=!1;return function(){e||(e=!0,t.apply(this,arguments))}}function z(t,e){return t===e?0===t&&1/t!=1/e:t==t||e==e}var H="data-server-rendered",U=["component","directive","filter"],q=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch","renderTracked","renderTriggered"],W={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:N,isReservedAttr:N,isUnknownElement:N,getTagNamespace:I,parsePlatformTagName:L,mustUseProp:N,async:!0,_lifecycleHooks:q},V=/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 Z(t){var e=(t+"").charCodeAt(0);return 36===e||95===e}function Y(t,e,n,r){Object.defineProperty(t,e,{value:n,enumerable:!!r,writable:!0,configurable:!0})}var X=new RegExp("[^".concat(V.source,".$_\\d]"));var K="__proto__"in{},G="undefined"!=typeof window,Q=G&&window.navigator.userAgent.toLowerCase(),J=Q&&/msie|trident/.test(Q),tt=Q&&Q.indexOf("msie 9.0")>0,et=Q&&Q.indexOf("edge/")>0;Q&&Q.indexOf("android");var nt=Q&&/iphone|ipad|ipod|ios/.test(Q);Q&&/chrome\/\d+/.test(Q),Q&&/phantomjs/.test(Q);var rt,it=Q&&Q.match(/firefox\/(\d+)/),ot={}.watch,at=!1;if(G)try{var st={};Object.defineProperty(st,"passive",{get:function(){at=!0}}),window.addEventListener("test-passive",null,st)}catch(t){}var ct=function(){return void 0===rt&&(rt=!G&&void 0!==n.g&&(n.g.process&&"server"===n.g.process.env.VUE_ENV)),rt},lt=G&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function ut(t){return"function"==typeof t&&/native code/.test(t.toString())}var ft,ht="undefined"!=typeof Symbol&&ut(Symbol)&&"undefined"!=typeof Reflect&&ut(Reflect.ownKeys);ft="undefined"!=typeof Set&&ut(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return!0===this.set[t]},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var dt=null;function pt(t){void 0===t&&(t=null),t||dt&&dt._scope.off(),dt=t,t&&t._scope.on()}var mt=function(){function t(t,e,n,r,i,o,a,s){this.tag=t,this.data=e,this.children=n,this.text=r,this.elm=i,this.ns=void 0,this.context=o,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=e&&e.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}return Object.defineProperty(t.prototype,"child",{get:function(){return this.componentInstance},enumerable:!1,configurable:!0}),t}(),vt=function(t){void 0===t&&(t="");var e=new mt;return e.text=t,e.isComment=!0,e};function gt(t){return new mt(void 0,void 0,void 0,String(t))}function yt(t){var e=new mt(t.tag,t.data,t.children&&t.children.slice(),t.text,t.elm,t.context,t.componentOptions,t.asyncFactory);return e.ns=t.ns,e.isStatic=t.isStatic,e.key=t.key,e.isComment=t.isComment,e.fnContext=t.fnContext,e.fnOptions=t.fnOptions,e.fnScopeId=t.fnScopeId,e.asyncMeta=t.asyncMeta,e.isCloned=!0,e}"function"==typeof SuppressedError&&SuppressedError;var bt=0,wt=[],_t=function(){for(var t=0;t<wt.length;t++){var e=wt[t];e.subs=e.subs.filter((function(t){return t})),e._pending=!1}wt.length=0},xt=function(){function t(){this._pending=!1,this.id=bt++,this.subs=[]}return t.prototype.addSub=function(t){this.subs.push(t)},t.prototype.removeSub=function(t){this.subs[this.subs.indexOf(t)]=null,this._pending||(this._pending=!0,wt.push(this))},t.prototype.depend=function(e){t.target&&t.target.addDep(this)},t.prototype.notify=function(t){var e=this.subs.filter((function(t){return t}));for(var n=0,r=e.length;n<r;n++){0,e[n].update()}},t}();xt.target=null;var kt=[];function Ot(t){kt.push(t),xt.target=t}function Ct(){kt.pop(),xt.target=kt[kt.length-1]}var St=Array.prototype,Et=Object.create(St);["push","pop","shift","unshift","splice","sort","reverse"].forEach((function(t){var e=St[t];Y(Et,t,(function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var i,o=e.apply(this,n),a=this.__ob__;switch(t){case"push":case"unshift":i=n;break;case"splice":i=n.slice(2)}return i&&a.observeArray(i),a.dep.notify(),o}))}));var Tt=Object.getOwnPropertyNames(Et),Pt={},At=!0;function jt(t){At=t}var Dt={notify:I,depend:I,addSub:I,removeSub:I},Mt=function(){function t(t,e,n){if(void 0===e&&(e=!1),void 0===n&&(n=!1),this.value=t,this.shallow=e,this.mock=n,this.dep=n?Dt:new xt,this.vmCount=0,Y(t,"__ob__",this),i(t)){if(!n)if(K)t.__proto__=Et;else for(var r=0,o=Tt.length;r<o;r++){Y(t,s=Tt[r],Et[s])}e||this.observeArray(t)}else{var a=Object.keys(t);for(r=0;r<a.length;r++){var s;It(t,s=a[r],Pt,void 0,e,n)}}}return t.prototype.observeArray=function(t){for(var e=0,n=t.length;e<n;e++)Rt(t[e],!1,this.mock)},t}();function Rt(t,e,n){return t&&O(t,"__ob__")&&t.__ob__ instanceof Mt?t.__ob__:!At||!n&&ct()||!i(t)&&!h(t)||!Object.isExtensible(t)||t.__v_skip||Zt(t)||t instanceof mt?void 0:new Mt(t,e,n)}function It(t,e,n,r,o,a,s){void 0===s&&(s=!1);var c=new xt,l=Object.getOwnPropertyDescriptor(t,e);if(!l||!1!==l.configurable){var u=l&&l.get,f=l&&l.set;u&&!f||n!==Pt&&2!==arguments.length||(n=t[e]);var h=o?n&&n.__ob__:Rt(n,!1,a);return Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){var e=u?u.call(t):n;return xt.target&&(c.depend(),h&&(h.dep.depend(),i(e)&&$t(e))),Zt(e)&&!o?e.value:e},set:function(e){var r=u?u.call(t):n;if(z(r,e)){if(f)f.call(t,e);else{if(u)return;if(!o&&Zt(r)&&!Zt(e))return void(r.value=e);n=e}h=o?e&&e.__ob__:Rt(e,!1,a),c.notify()}}}),c}}function Nt(t,e,n){if(!Ut(t)){var r=t.__ob__;return i(t)&&p(e)?(t.length=Math.max(t.length,e),t.splice(e,1,n),r&&!r.shallow&&r.mock&&Rt(n,!1,!0),n):e in t&&!(e in Object.prototype)?(t[e]=n,n):t._isVue||r&&r.vmCount?n:r?(It(r.value,e,n,void 0,r.shallow,r.mock),r.dep.notify(),n):(t[e]=n,n)}}function Lt(t,e){if(i(t)&&p(e))t.splice(e,1);else{var n=t.__ob__;t._isVue||n&&n.vmCount||Ut(t)||O(t,e)&&(delete t[e],n&&n.dep.notify())}}function $t(t){for(var e=void 0,n=0,r=t.length;n<r;n++)(e=t[n])&&e.__ob__&&e.__ob__.dep.depend(),i(e)&&$t(e)}function Ft(t){return Bt(t,!0),Y(t,"__v_isShallow",!0),t}function Bt(t,e){if(!Ut(t)){Rt(t,e,ct());0}}function zt(t){return Ut(t)?zt(t.__v_raw):!(!t||!t.__ob__)}function Ht(t){return!(!t||!t.__v_isShallow)}function Ut(t){return!(!t||!t.__v_isReadonly)}function qt(t){return zt(t)||Ut(t)}function Wt(t){var e=t&&t.__v_raw;return e?Wt(e):t}var Vt="__v_isRef";function Zt(t){return!(!t||!0!==t.__v_isRef)}function Yt(t){return Kt(t,!1)}function Xt(t){return Kt(t,!0)}function Kt(t,e){if(Zt(t))return t;var n={};return Y(n,Vt,!0),Y(n,"__v_isShallow",e),Y(n,"dep",It(n,"value",t,null,e,ct())),n}function Gt(t){return Zt(t)?t.value:t}function Qt(t,e,n){Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:function(){var t=e[n];if(Zt(t))return t.value;var r=t&&t.__ob__;return r&&r.dep.depend(),t},set:function(t){var r=e[n];Zt(r)&&!Zt(t)?r.value=t:e[n]=t}})}var Jt=C((function(t){var e="&"===t.charAt(0),n="~"===(t=e?t.slice(1):t).charAt(0),r="!"===(t=n?t.slice(1):t).charAt(0);return{name:t=r?t.slice(1):t,once:n,capture:r,passive:e}}));function te(t,e){function n(){var t=n.fns;if(!i(t))return kn(t,null,arguments,e,"v-on handler");for(var r=t.slice(),o=0;o<r.length;o++)kn(r[o],null,arguments,e,"v-on handler")}return n.fns=t,n}function ee(t,e,n,r,i,a){var c,l,u,f;for(c in t)l=t[c],u=e[c],f=Jt(c),o(l)||(o(u)?(o(l.fns)&&(l=t[c]=te(l,a)),s(f.once)&&(l=t[c]=i(f.name,l,f.capture)),n(f.name,l,f.capture,f.passive,f.params)):l!==u&&(u.fns=l,t[c]=u));for(c in e)o(t[c])&&r((f=Jt(c)).name,e[c],f.capture)}function ne(t,e,n){var r;t instanceof mt&&(t=t.data.hook||(t.data.hook={}));var i=t[e];function c(){n.apply(this,arguments),x(r.fns,c)}o(i)?r=te([c]):a(i.fns)&&s(i.merged)?(r=i).fns.push(c):r=te([i,c]),r.merged=!0,t[e]=r}function re(t,e,n,r,i){if(a(e)){if(O(e,n))return t[n]=e[n],i||delete e[n],!0;if(O(e,r))return t[n]=e[r],i||delete e[r],!0}return!1}function ie(t){return c(t)?[gt(t)]:i(t)?ae(t):void 0}function oe(t){return a(t)&&a(t.text)&&function(t){return!1===t}(t.isComment)}function ae(t,e){var n,r,l,u,f=[];for(n=0;n<t.length;n++)o(r=t[n])||"boolean"==typeof r||(u=f[l=f.length-1],i(r)?r.length>0&&(oe((r=ae(r,"".concat(e||"","_").concat(n)))[0])&&oe(u)&&(f[l]=gt(u.text+r[0].text),r.shift()),f.push.apply(f,r)):c(r)?oe(u)?f[l]=gt(u.text+r):""!==r&&f.push(gt(r)):oe(r)&&oe(u)?f[l]=gt(u.text+r.text):(s(t._isVList)&&a(r.tag)&&o(r.key)&&a(e)&&(r.key="__vlist".concat(e,"_").concat(n,"__")),f.push(r)));return f}var se=1,ce=2;function le(t,e,n,r,o,f){return(i(n)||c(n))&&(o=r,r=n,n=void 0),s(f)&&(o=ce),function(t,e,n,r,o){if(a(n)&&a(n.__ob__))return vt();a(n)&&a(n.is)&&(e=n.is);if(!e)return vt();0;i(r)&&l(r[0])&&((n=n||{}).scopedSlots={default:r[0]},r.length=0);o===ce?r=ie(r):o===se&&(r=function(t){for(var e=0;e<t.length;e++)if(i(t[e]))return Array.prototype.concat.apply([],t);return t}(r));var s,c;if("string"==typeof e){var f=void 0;c=t.$vnode&&t.$vnode.ns||W.getTagNamespace(e),s=W.isReservedTag(e)?new mt(W.parsePlatformTagName(e),n,r,void 0,void 0,t):n&&n.pre||!a(f=br(t.$options,"components",e))?new mt(e,n,r,void 0,void 0,t):lr(f,n,t,r,e)}else s=lr(e,n,t,r);return i(s)?s:a(s)?(a(c)&&ue(s,c),a(n)&&function(t){u(t.style)&&Hn(t.style);u(t.class)&&Hn(t.class)}(n),s):vt()}(t,e,n,r,o)}function ue(t,e,n){if(t.ns=e,"foreignObject"===t.tag&&(e=void 0,n=!0),a(t.children))for(var r=0,i=t.children.length;r<i;r++){var c=t.children[r];a(c.tag)&&(o(c.ns)||s(n)&&"svg"!==c.tag)&&ue(c,e,n)}}function fe(t,e){var n,r,o,s,c=null;if(i(t)||"string"==typeof t)for(c=new Array(t.length),n=0,r=t.length;n<r;n++)c[n]=e(t[n],n);else if("number"==typeof t)for(c=new Array(t),n=0;n<t;n++)c[n]=e(n+1,n);else if(u(t))if(ht&&t[Symbol.iterator]){c=[];for(var l=t[Symbol.iterator](),f=l.next();!f.done;)c.push(e(f.value,c.length)),f=l.next()}else for(o=Object.keys(t),c=new Array(o.length),n=0,r=o.length;n<r;n++)s=o[n],c[n]=e(t[s],s,n);return a(c)||(c=[]),c._isVList=!0,c}function he(t,e,n,r){var i,o=this.$scopedSlots[t];o?(n=n||{},r&&(n=M(M({},r),n)),i=o(n)||(l(e)?e():e)):i=this.$slots[t]||(l(e)?e():e);var a=n&&n.slot;return a?this.$createElement("template",{slot:a},i):i}function de(t){return br(this.$options,"filters",t,!0)||L}function pe(t,e){return i(t)?-1===t.indexOf(e):t!==e}function me(t,e,n,r,i){var o=W.keyCodes[e]||n;return i&&r&&!W.keyCodes[e]?pe(i,r):o?pe(o,t):r?A(r)!==e:void 0===t}function ve(t,e,n,r,o){if(n)if(u(n)){i(n)&&(n=R(n));var a=void 0,s=function(i){if("class"===i||"style"===i||_(i))a=t;else{var s=t.attrs&&t.attrs.type;a=r||W.mustUseProp(e,s,i)?t.domProps||(t.domProps={}):t.attrs||(t.attrs={})}var c=E(i),l=A(i);c in a||l in a||(a[i]=n[i],o&&((t.on||(t.on={}))["update:".concat(i)]=function(t){n[i]=t}))};for(var c in n)s(c)}else;return t}function ge(t,e){var n=this._staticTrees||(this._staticTrees=[]),r=n[t];return r&&!e||be(r=n[t]=this.$options.staticRenderFns[t].call(this._renderProxy,this._c,this),"__static__".concat(t),!1),r}function ye(t,e,n){return be(t,"__once__".concat(e).concat(n?"_".concat(n):""),!0),t}function be(t,e,n){if(i(t))for(var r=0;r<t.length;r++)t[r]&&"string"!=typeof t[r]&&we(t[r],"".concat(e,"_").concat(r),n);else we(t,e,n)}function we(t,e,n){t.isStatic=!0,t.key=e,t.isOnce=n}function _e(t,e){if(e)if(h(e)){var n=t.on=t.on?M({},t.on):{};for(var r in e){var i=n[r],o=e[r];n[r]=i?[].concat(i,o):o}}else;return t}function xe(t,e,n,r){e=e||{$stable:!n};for(var o=0;o<t.length;o++){var a=t[o];i(a)?xe(a,e,n):a&&(a.proxy&&(a.fn.proxy=!0),e[a.key]=a.fn)}return r&&(e.$key=r),e}function ke(t,e){for(var n=0;n<e.length;n+=2){var r=e[n];"string"==typeof r&&r&&(t[e[n]]=e[n+1])}return t}function Oe(t,e){return"string"==typeof t?e+t:t}function Ce(t){t._o=ye,t._n=y,t._s=v,t._l=fe,t._t=he,t._q=$,t._i=F,t._m=ge,t._f=de,t._k=me,t._b=ve,t._v=gt,t._e=vt,t._u=xe,t._g=_e,t._d=ke,t._p=Oe}function Se(t,e){if(!t||!t.length)return{};for(var n={},r=0,i=t.length;r<i;r++){var o=t[r],a=o.data;if(a&&a.attrs&&a.attrs.slot&&delete a.attrs.slot,o.context!==e&&o.fnContext!==e||!a||null==a.slot)(n.default||(n.default=[])).push(o);else{var s=a.slot,c=n[s]||(n[s]=[]);"template"===o.tag?c.push.apply(c,o.children||[]):c.push(o)}}for(var l in n)n[l].every(Ee)&&delete n[l];return n}function Ee(t){return t.isComment&&!t.asyncFactory||" "===t.text}function Te(t){return t.isComment&&t.asyncFactory}function Pe(t,e,n,i){var o,a=Object.keys(n).length>0,s=e?!!e.$stable:!a,c=e&&e.$key;if(e){if(e._normalized)return e._normalized;if(s&&i&&i!==r&&c===i.$key&&!a&&!i.$hasNormal)return i;for(var l in o={},e)e[l]&&"$"!==l[0]&&(o[l]=Ae(t,n,l,e[l]))}else o={};for(var u in n)u in o||(o[u]=je(n,u));return e&&Object.isExtensible(e)&&(e._normalized=o),Y(o,"$stable",s),Y(o,"$key",c),Y(o,"$hasNormal",a),o}function Ae(t,e,n,r){var o=function(){var e=dt;pt(t);var n=arguments.length?r.apply(null,arguments):r({}),o=(n=n&&"object"==typeof n&&!i(n)?[n]:ie(n))&&n[0];return pt(e),n&&(!o||1===n.length&&o.isComment&&!Te(o))?void 0:n};return r.proxy&&Object.defineProperty(e,n,{get:o,enumerable:!0,configurable:!0}),o}function je(t,e){return function(){return t[e]}}function De(t){return{get attrs(){if(!t._attrsProxy){var e=t._attrsProxy={};Y(e,"_v_attr_proxy",!0),Me(e,t.$attrs,r,t,"$attrs")}return t._attrsProxy},get listeners(){t._listenersProxy||Me(t._listenersProxy={},t.$listeners,r,t,"$listeners");return t._listenersProxy},get slots(){return function(t){t._slotsProxy||Ie(t._slotsProxy={},t.$scopedSlots);return t._slotsProxy}(t)},emit:j(t.$emit,t),expose:function(e){e&&Object.keys(e).forEach((function(n){return Qt(t,e,n)}))}}}function Me(t,e,n,r,i){var o=!1;for(var a in e)a in t?e[a]!==n[a]&&(o=!0):(o=!0,Re(t,a,r,i));for(var a in t)a in e||(o=!0,delete t[a]);return o}function Re(t,e,n,r){Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){return n[r][e]}})}function Ie(t,e){for(var n in e)t[n]=e[n];for(var n in t)n in e||delete t[n]}var Ne,Le,$e=null;function Fe(t,e){return(t.__esModule||ht&&"Module"===t[Symbol.toStringTag])&&(t=t.default),u(t)?e.extend(t):t}function Be(t){if(i(t))for(var e=0;e<t.length;e++){var n=t[e];if(a(n)&&(a(n.componentOptions)||Te(n)))return n}}function ze(t,e){Ne.$on(t,e)}function He(t,e){Ne.$off(t,e)}function Ue(t,e){var n=Ne;return function r(){null!==e.apply(null,arguments)&&n.$off(t,r)}}function qe(t,e,n){Ne=t,ee(e,n||{},ze,He,Ue,t),Ne=void 0}var We=function(){function t(t){void 0===t&&(t=!1),this.detached=t,this.active=!0,this.effects=[],this.cleanups=[],this.parent=Le,!t&&Le&&(this.index=(Le.scopes||(Le.scopes=[])).push(this)-1)}return t.prototype.run=function(t){if(this.active){var e=Le;try{return Le=this,t()}finally{Le=e}}else 0},t.prototype.on=function(){Le=this},t.prototype.off=function(){Le=this.parent},t.prototype.stop=function(t){if(this.active){var e=void 0,n=void 0;for(e=0,n=this.effects.length;e<n;e++)this.effects[e].teardown();for(e=0,n=this.cleanups.length;e<n;e++)this.cleanups[e]();if(this.scopes)for(e=0,n=this.scopes.length;e<n;e++)this.scopes[e].stop(!0);if(!this.detached&&this.parent&&!t){var r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0,this.active=!1}},t}();function Ve(){return Le}function Ze(t){Le&&Le.cleanups.push(t)}var Ye=null;function Xe(t){var e=Ye;return Ye=t,function(){Ye=e}}function Ke(t){for(;t&&(t=t.$parent);)if(t._inactive)return!0;return!1}function Ge(t,e){if(e){if(t._directInactive=!1,Ke(t))return}else if(t._directInactive)return;if(t._inactive||null===t._inactive){t._inactive=!1;for(var n=0;n<t.$children.length;n++)Ge(t.$children[n]);Je(t,"activated")}}function Qe(t,e){if(!(e&&(t._directInactive=!0,Ke(t))||t._inactive)){t._inactive=!0;for(var n=0;n<t.$children.length;n++)Qe(t.$children[n]);Je(t,"deactivated")}}function Je(t,e,n,r){void 0===r&&(r=!0),Ot();var i=dt,o=Ve();r&&pt(t);var a=t.$options[e],s="".concat(e," hook");if(a)for(var c=0,l=a.length;c<l;c++)kn(a[c],t,n||null,t,s);t._hasHookEvent&&t.$emit("hook:"+e),r&&(pt(i),o&&o.on()),Ct()}var tn=[],en=[],nn={},rn=!1,on=!1,an=0;var sn=0,cn=Date.now;if(G&&!J){var ln=window.performance;ln&&"function"==typeof ln.now&&cn()>document.createEvent("Event").timeStamp&&(cn=function(){return ln.now()})}var un=function(t,e){if(t.post){if(!e.post)return 1}else if(e.post)return-1;return t.id-e.id};function fn(){var t,e;for(sn=cn(),on=!0,tn.sort(un),an=0;an<tn.length;an++)(t=tn[an]).before&&t.before(),e=t.id,nn[e]=null,t.run();var n=en.slice(),r=tn.slice();!function(){an=tn.length=en.length=0,nn={},rn=on=!1}(),function(t){for(var e=0;e<t.length;e++)t[e]._inactive=!0,Ge(t[e],!0)}(n),function(t){var e=t.length;for(;e--;){var n=t[e],r=n.vm;r&&r._watcher===n&&r._isMounted&&!r._isDestroyed&&Je(r,"updated")}}(r),_t(),lt&&W.devtools&&lt.emit("flush")}function hn(t){var e=t.id;if(null==nn[e]&&(t!==xt.target||!t.noRecurse)){if(nn[e]=!0,on){for(var n=tn.length-1;n>an&&tn[n].id>t.id;)n--;tn.splice(n+1,0,t)}else tn.push(t);rn||(rn=!0,In(fn))}}var dn="watcher",pn="".concat(dn," callback"),mn="".concat(dn," getter"),vn="".concat(dn," cleanup");var gn={};function yn(t,e,n){return bn(t,e,n)}function bn(t,e,n){var o=void 0===n?r:n,a=o.immediate,s=o.deep,c=o.flush,u=void 0===c?"pre":c;o.onTrack,o.onTrigger;var f,h,d=dt,p=function(t,e,n){void 0===n&&(n=null);var r=kn(t,null,n,d,e);return s&&r&&r.__ob__&&r.__ob__.dep.depend(),r},m=!1,v=!1;if(Zt(t)?(f=function(){return t.value},m=Ht(t)):zt(t)?(f=function(){return t.__ob__.dep.depend(),t},s=!0):i(t)?(v=!0,m=t.some((function(t){return zt(t)||Ht(t)})),f=function(){return t.map((function(t){return Zt(t)?t.value:zt(t)?(t.__ob__.dep.depend(),Hn(t)):l(t)?p(t,mn):void 0}))}):f=l(t)?e?function(){return p(t,mn)}:function(){if(!d||!d._isDestroyed)return h&&h(),p(t,dn,[y])}:I,e&&s){var g=f;f=function(){return Hn(g())}}var y=function(t){h=b.onStop=function(){p(t,vn)}};if(ct())return y=I,e?a&&p(e,pn,[f(),v?[]:void 0,y]):f(),I;var b=new Wn(dt,f,I,{lazy:!0});b.noRecurse=!e;var w=v?[]:gn;return b.run=function(){if(b.active)if(e){var t=b.get();(s||m||(v?t.some((function(t,e){return z(t,w[e])})):z(t,w)))&&(h&&h(),p(e,pn,[t,w===gn?void 0:w,y]),w=t)}else b.get()},"sync"===u?b.update=b.run:"post"===u?(b.post=!0,b.update=function(){return hn(b)}):b.update=function(){if(d&&d===dt&&!d._isMounted){var t=d._preWatchers||(d._preWatchers=[]);t.indexOf(b)<0&&t.push(b)}else hn(b)},e?a?b.run():w=b.get():"post"===u&&d?d.$once("hook:mounted",(function(){return b.get()})):b.get(),function(){b.teardown()}}function wn(t){var e=t._provided,n=t.$parent&&t.$parent._provided;return n===e?t._provided=Object.create(n):e}function _n(t,e,n){return le(dt,t,e,n,2,!0)}function xn(t,e,n){Ot();try{if(e)for(var r=e;r=r.$parent;){var i=r.$options.errorCaptured;if(i)for(var o=0;o<i.length;o++)try{if(!1===i[o].call(r,t,e,n))return}catch(t){On(t,r,"errorCaptured hook")}}On(t,e,n)}finally{Ct()}}function kn(t,e,n,r,i){var o;try{(o=n?t.apply(e,n):t.call(e))&&!o._isVue&&m(o)&&!o._handled&&(o.catch((function(t){return xn(t,r,i+" (Promise/async)")})),o._handled=!0)}catch(t){xn(t,r,i)}return o}function On(t,e,n){if(W.errorHandler)try{return W.errorHandler.call(null,t,e,n)}catch(e){e!==t&&Cn(e,null,"config.errorHandler")}Cn(t,e,n)}function Cn(t,e,n){if(!G||"undefined"==typeof console)throw t;console.error(t)}var Sn,En=!1,Tn=[],Pn=!1;function An(){Pn=!1;var t=Tn.slice(0);Tn.length=0;for(var e=0;e<t.length;e++)t[e]()}if("undefined"!=typeof Promise&&ut(Promise)){var jn=Promise.resolve();Sn=function(){jn.then(An),nt&&setTimeout(I)},En=!0}else if(J||"undefined"==typeof MutationObserver||!ut(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())Sn="undefined"!=typeof setImmediate&&ut(setImmediate)?function(){setImmediate(An)}:function(){setTimeout(An,0)};else{var Dn=1,Mn=new MutationObserver(An),Rn=document.createTextNode(String(Dn));Mn.observe(Rn,{characterData:!0}),Sn=function(){Dn=(Dn+1)%2,Rn.data=String(Dn)},En=!0}function In(t,e){var n;if(Tn.push((function(){if(t)try{t.call(e)}catch(t){xn(t,e,"nextTick")}else n&&n(e)})),Pn||(Pn=!0,Sn()),!t&&"undefined"!=typeof Promise)return new Promise((function(t){n=t}))}function Nn(t){return function(e,n){if(void 0===n&&(n=dt),n)return function(t,e,n){var r=t.$options;r[e]=mr(r[e],n)}(n,t,e)}}Nn("beforeMount");var Ln=Nn("mounted"),$n=(Nn("beforeUpdate"),Nn("updated"),Nn("beforeDestroy"));Nn("destroyed"),Nn("activated"),Nn("deactivated"),Nn("serverPrefetch"),Nn("renderTracked"),Nn("renderTriggered"),Nn("errorCaptured");var Fn="2.7.16";function Bn(t){return t}var zn=new ft;function Hn(t){return Un(t,zn),zn.clear(),t}function Un(t,e){var n,r,o=i(t);if(!(!o&&!u(t)||t.__v_skip||Object.isFrozen(t)||t instanceof mt)){if(t.__ob__){var a=t.__ob__.dep.id;if(e.has(a))return;e.add(a)}if(o)for(n=t.length;n--;)Un(t[n],e);else if(Zt(t))Un(t.value,e);else for(n=(r=Object.keys(t)).length;n--;)Un(t[r[n]],e)}}var qn=0,Wn=function(){function t(t,e,n,r,i){!function(t,e){void 0===e&&(e=Le),e&&e.active&&e.effects.push(t)}(this,Le&&!Le._vm?Le:t?t._scope:void 0),(this.vm=t)&&i&&(t._watcher=this),r?(this.deep=!!r.deep,this.user=!!r.user,this.lazy=!!r.lazy,this.sync=!!r.sync,this.before=r.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++qn,this.active=!0,this.post=!1,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new ft,this.newDepIds=new ft,this.expression="",l(e)?this.getter=e:(this.getter=function(t){if(!X.test(t)){var e=t.split(".");return function(t){for(var n=0;n<e.length;n++){if(!t)return;t=t[e[n]]}return t}}}(e),this.getter||(this.getter=I)),this.value=this.lazy?void 0:this.get()}return t.prototype.get=function(){var t;Ot(this);var e=this.vm;try{t=this.getter.call(e,e)}catch(t){if(!this.user)throw t;xn(t,e,'getter for watcher "'.concat(this.expression,'"'))}finally{this.deep&&Hn(t),Ct(),this.cleanupDeps()}return t},t.prototype.addDep=function(t){var e=t.id;this.newDepIds.has(e)||(this.newDepIds.add(e),this.newDeps.push(t),this.depIds.has(e)||t.addSub(this))},t.prototype.cleanupDeps=function(){for(var t=this.deps.length;t--;){var e=this.deps[t];this.newDepIds.has(e.id)||e.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},t.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():hn(this)},t.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||u(t)||this.deep){var e=this.value;if(this.value=t,this.user){var n='callback for watcher "'.concat(this.expression,'"');kn(this.cb,this.vm,[t,e],this.vm,n)}else this.cb.call(this.vm,t,e)}}},t.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},t.prototype.depend=function(){for(var t=this.deps.length;t--;)this.deps[t].depend()},t.prototype.teardown=function(){if(this.vm&&!this.vm._isBeingDestroyed&&x(this.vm._scope.effects,this),this.active){for(var t=this.deps.length;t--;)this.deps[t].removeSub(this);this.active=!1,this.onStop&&this.onStop()}},t}(),Vn={enumerable:!0,configurable:!0,get:I,set:I};function Zn(t,e,n){Vn.get=function(){return this[e][n]},Vn.set=function(t){this[e][n]=t},Object.defineProperty(t,n,Vn)}function Yn(t){var e=t.$options;if(e.props&&function(t,e){var n=t.$options.propsData||{},r=t._props=Ft({}),i=t.$options._propKeys=[],o=!t.$parent;o||jt(!1);var a=function(o){i.push(o);var a=wr(o,e,n,t);It(r,o,a,void 0,!0),o in t||Zn(t,"_props",o)};for(var s in e)a(s);jt(!0)}(t,e.props),function(t){var e=t.$options,n=e.setup;if(n){var r=t._setupContext=De(t);pt(t),Ot();var i=kn(n,null,[t._props||Ft({}),r],t,"setup");if(Ct(),pt(),l(i))e.render=i;else if(u(i))if(t._setupState=i,i.__sfc){var o=t._setupProxy={};for(var a in i)"__sfc"!==a&&Qt(o,i,a)}else for(var a in i)Z(a)||Qt(t,i,a)}}(t),e.methods&&function(t,e){t.$options.props;for(var n in e)t[n]="function"!=typeof e[n]?I:j(e[n],t)}(t,e.methods),e.data)!function(t){var e=t.$options.data;e=t._data=l(e)?function(t,e){Ot();try{return t.call(e,e)}catch(t){return xn(t,e,"data()"),{}}finally{Ct()}}(e,t):e||{},h(e)||(e={});var n=Object.keys(e),r=t.$options.props,i=(t.$options.methods,n.length);for(;i--;){var o=n[i];0,r&&O(r,o)||Z(o)||Zn(t,"_data",o)}var a=Rt(e);a&&a.vmCount++}(t);else{var n=Rt(t._data={});n&&n.vmCount++}e.computed&&function(t,e){var n=t._computedWatchers=Object.create(null),r=ct();for(var i in e){var o=e[i],a=l(o)?o:o.get;0,r||(n[i]=new Wn(t,a||I,I,Xn)),i in t||Kn(t,i,o)}}(t,e.computed),e.watch&&e.watch!==ot&&function(t,e){for(var n in e){var r=e[n];if(i(r))for(var o=0;o<r.length;o++)Jn(t,n,r[o]);else Jn(t,n,r)}}(t,e.watch)}var Xn={lazy:!0};function Kn(t,e,n){var r=!ct();l(n)?(Vn.get=r?Gn(e):Qn(n),Vn.set=I):(Vn.get=n.get?r&&!1!==n.cache?Gn(e):Qn(n.get):I,Vn.set=n.set||I),Object.defineProperty(t,e,Vn)}function Gn(t){return function(){var e=this._computedWatchers&&this._computedWatchers[t];if(e)return e.dirty&&e.evaluate(),xt.target&&e.depend(),e.value}}function Qn(t){return function(){return t.call(this,this)}}function Jn(t,e,n,r){return h(n)&&(r=n,n=n.handler),"string"==typeof n&&(n=t[n]),t.$watch(e,n,r)}function tr(t,e){if(t){for(var n=Object.create(null),r=ht?Reflect.ownKeys(t):Object.keys(t),i=0;i<r.length;i++){var o=r[i];if("__ob__"!==o){var a=t[o].from;if(a in e._provided)n[o]=e._provided[a];else if("default"in t[o]){var s=t[o].default;n[o]=l(s)?s.call(e):s}else 0}}return n}}var er=0;function nr(t){var e=t.options;if(t.super){var n=nr(t.super);if(n!==t.superOptions){t.superOptions=n;var r=function(t){var e,n=t.options,r=t.sealedOptions;for(var i in n)n[i]!==r[i]&&(e||(e={}),e[i]=n[i]);return e}(t);r&&M(t.extendOptions,r),(e=t.options=yr(n,t.extendOptions)).name&&(e.components[e.name]=t)}}return e}function rr(t,e,n,o,a){var c,l=this,u=a.options;O(o,"_uid")?(c=Object.create(o))._original=o:(c=o,o=o._original);var f=s(u._compiled),h=!f;this.data=t,this.props=e,this.children=n,this.parent=o,this.listeners=t.on||r,this.injections=tr(u.inject,o),this.slots=function(){return l.$slots||Pe(o,t.scopedSlots,l.$slots=Se(n,o)),l.$slots},Object.defineProperty(this,"scopedSlots",{enumerable:!0,get:function(){return Pe(o,t.scopedSlots,this.slots())}}),f&&(this.$options=u,this.$slots=this.slots(),this.$scopedSlots=Pe(o,t.scopedSlots,this.$slots)),u._scopeId?this._c=function(t,e,n,r){var a=le(c,t,e,n,r,h);return a&&!i(a)&&(a.fnScopeId=u._scopeId,a.fnContext=o),a}:this._c=function(t,e,n,r){return le(c,t,e,n,r,h)}}function ir(t,e,n,r,i){var o=yt(t);return o.fnContext=n,o.fnOptions=r,e.slot&&((o.data||(o.data={})).slot=e.slot),o}function or(t,e){for(var n in e)t[E(n)]=e[n]}function ar(t){return t.name||t.__name||t._componentTag}Ce(rr.prototype);var sr={init:function(t,e){if(t.componentInstance&&!t.componentInstance._isDestroyed&&t.data.keepAlive){var n=t;sr.prepatch(n,n)}else{(t.componentInstance=function(t,e){var n={_isComponent:!0,_parentVnode:t,parent:e},r=t.data.inlineTemplate;a(r)&&(n.render=r.render,n.staticRenderFns=r.staticRenderFns);return new t.componentOptions.Ctor(n)}(t,Ye)).$mount(e?t.elm:void 0,e)}},prepatch:function(t,e){var n=e.componentOptions;!function(t,e,n,i,o){var a=i.data.scopedSlots,s=t.$scopedSlots,c=!!(a&&!a.$stable||s!==r&&!s.$stable||a&&t.$scopedSlots.$key!==a.$key||!a&&t.$scopedSlots.$key),l=!!(o||t.$options._renderChildren||c),u=t.$vnode;t.$options._parentVnode=i,t.$vnode=i,t._vnode&&(t._vnode.parent=i),t.$options._renderChildren=o;var f=i.data.attrs||r;t._attrsProxy&&Me(t._attrsProxy,f,u.data&&u.data.attrs||r,t,"$attrs")&&(l=!0),t.$attrs=f,n=n||r;var h=t.$options._parentListeners;if(t._listenersProxy&&Me(t._listenersProxy,n,h||r,t,"$listeners"),t.$listeners=t.$options._parentListeners=n,qe(t,n,h),e&&t.$options.props){jt(!1);for(var d=t._props,p=t.$options._propKeys||[],m=0;m<p.length;m++){var v=p[m],g=t.$options.props;d[v]=wr(v,g,e,t)}jt(!0),t.$options.propsData=e}l&&(t.$slots=Se(o,i.context),t.$forceUpdate())}(e.componentInstance=t.componentInstance,n.propsData,n.listeners,e,n.children)},insert:function(t){var e=t.context,n=t.componentInstance;n._isMounted||(n._isMounted=!0,Je(n,"mounted")),t.data.keepAlive&&(e._isMounted?function(t){t._inactive=!1,en.push(t)}(n):Ge(n,!0))},destroy:function(t){var e=t.componentInstance;e._isDestroyed||(t.data.keepAlive?Qe(e,!0):e.$destroy())}},cr=Object.keys(sr);function lr(t,e,n,c,l){if(!o(t)){var f=n.$options._base;if(u(t)&&(t=f.extend(t)),"function"==typeof t){var h;if(o(t.cid)&&(t=function(t,e){if(s(t.error)&&a(t.errorComp))return t.errorComp;if(a(t.resolved))return t.resolved;var n=$e;if(n&&a(t.owners)&&-1===t.owners.indexOf(n)&&t.owners.push(n),s(t.loading)&&a(t.loadingComp))return t.loadingComp;if(n&&!a(t.owners)){var r=t.owners=[n],i=!0,c=null,l=null;n.$on("hook:destroyed",(function(){return x(r,n)}));var f=function(t){for(var e=0,n=r.length;e<n;e++)r[e].$forceUpdate();t&&(r.length=0,null!==c&&(clearTimeout(c),c=null),null!==l&&(clearTimeout(l),l=null))},h=B((function(n){t.resolved=Fe(n,e),i?r.length=0:f(!0)})),d=B((function(e){a(t.errorComp)&&(t.error=!0,f(!0))})),p=t(h,d);return u(p)&&(m(p)?o(t.resolved)&&p.then(h,d):m(p.component)&&(p.component.then(h,d),a(p.error)&&(t.errorComp=Fe(p.error,e)),a(p.loading)&&(t.loadingComp=Fe(p.loading,e),0===p.delay?t.loading=!0:c=setTimeout((function(){c=null,o(t.resolved)&&o(t.error)&&(t.loading=!0,f(!1))}),p.delay||200)),a(p.timeout)&&(l=setTimeout((function(){l=null,o(t.resolved)&&d(null)}),p.timeout)))),i=!1,t.loading?t.loadingComp:t.resolved}}(h=t,f),void 0===t))return function(t,e,n,r,i){var o=vt();return o.asyncFactory=t,o.asyncMeta={data:e,context:n,children:r,tag:i},o}(h,e,n,c,l);e=e||{},nr(t),a(e.model)&&function(t,e){var n=t.model&&t.model.prop||"value",r=t.model&&t.model.event||"input";(e.attrs||(e.attrs={}))[n]=e.model.value;var o=e.on||(e.on={}),s=o[r],c=e.model.callback;a(s)?(i(s)?-1===s.indexOf(c):s!==c)&&(o[r]=[c].concat(s)):o[r]=c}(t.options,e);var d=function(t,e,n){var r=e.options.props;if(!o(r)){var i={},s=t.attrs,c=t.props;if(a(s)||a(c))for(var l in r){var u=A(l);re(i,c,l,u,!0)||re(i,s,l,u,!1)}return i}}(e,t);if(s(t.options.functional))return function(t,e,n,o,s){var c=t.options,l={},u=c.props;if(a(u))for(var f in u)l[f]=wr(f,u,e||r);else a(n.attrs)&&or(l,n.attrs),a(n.props)&&or(l,n.props);var h=new rr(n,l,s,o,t),d=c.render.call(null,h._c,h);if(d instanceof mt)return ir(d,n,h.parent,c);if(i(d)){for(var p=ie(d)||[],m=new Array(p.length),v=0;v<p.length;v++)m[v]=ir(p[v],n,h.parent,c);return m}}(t,d,e,n,c);var p=e.on;if(e.on=e.nativeOn,s(t.options.abstract)){var v=e.slot;e={},v&&(e.slot=v)}!function(t){for(var e=t.hook||(t.hook={}),n=0;n<cr.length;n++){var r=cr[n],i=e[r],o=sr[r];i===o||i&&i._merged||(e[r]=i?ur(o,i):o)}}(e);var g=ar(t.options)||l;return new mt("vue-component-".concat(t.cid).concat(g?"-".concat(g):""),e,void 0,void 0,void 0,n,{Ctor:t,propsData:d,listeners:p,tag:l,children:c},h)}}}function ur(t,e){var n=function(n,r){t(n,r),e(n,r)};return n._merged=!0,n}var fr=I,hr=W.optionMergeStrategies;function dr(t,e,n){if(void 0===n&&(n=!0),!e)return t;for(var r,i,o,a=ht?Reflect.ownKeys(e):Object.keys(e),s=0;s<a.length;s++)"__ob__"!==(r=a[s])&&(i=t[r],o=e[r],n&&O(t,r)?i!==o&&h(i)&&h(o)&&dr(i,o):Nt(t,r,o));return t}function pr(t,e,n){return n?function(){var r=l(e)?e.call(n,n):e,i=l(t)?t.call(n,n):t;return r?dr(r,i):i}:e?t?function(){return dr(l(e)?e.call(this,this):e,l(t)?t.call(this,this):t)}:e:t}function mr(t,e){var n=e?t?t.concat(e):i(e)?e:[e]:t;return n?function(t){for(var e=[],n=0;n<t.length;n++)-1===e.indexOf(t[n])&&e.push(t[n]);return e}(n):n}function vr(t,e,n,r){var i=Object.create(t||null);return e?M(i,e):i}hr.data=function(t,e,n){return n?pr(t,e,n):e&&"function"!=typeof e?t:pr(t,e)},q.forEach((function(t){hr[t]=mr})),U.forEach((function(t){hr[t+"s"]=vr})),hr.watch=function(t,e,n,r){if(t===ot&&(t=void 0),e===ot&&(e=void 0),!e)return Object.create(t||null);if(!t)return e;var o={};for(var a in M(o,t),e){var s=o[a],c=e[a];s&&!i(s)&&(s=[s]),o[a]=s?s.concat(c):i(c)?c:[c]}return o},hr.props=hr.methods=hr.inject=hr.computed=function(t,e,n,r){if(!t)return e;var i=Object.create(null);return M(i,t),e&&M(i,e),i},hr.provide=function(t,e){return t?function(){var n=Object.create(null);return dr(n,l(t)?t.call(this):t),e&&dr(n,l(e)?e.call(this):e,!1),n}:e};var gr=function(t,e){return void 0===e?t:e};function yr(t,e,n){if(l(e)&&(e=e.options),function(t,e){var n=t.props;if(n){var r,o,a={};if(i(n))for(r=n.length;r--;)"string"==typeof(o=n[r])&&(a[E(o)]={type:null});else if(h(n))for(var s in n)o=n[s],a[E(s)]=h(o)?o:{type:o};t.props=a}}(e),function(t,e){var n=t.inject;if(n){var r=t.inject={};if(i(n))for(var o=0;o<n.length;o++)r[n[o]]={from:n[o]};else if(h(n))for(var a in n){var s=n[a];r[a]=h(s)?M({from:a},s):{from:s}}}}(e),function(t){var e=t.directives;if(e)for(var n in e){var r=e[n];l(r)&&(e[n]={bind:r,update:r})}}(e),!e._base&&(e.extends&&(t=yr(t,e.extends,n)),e.mixins))for(var r=0,o=e.mixins.length;r<o;r++)t=yr(t,e.mixins[r],n);var a,s={};for(a in t)c(a);for(a in e)O(t,a)||c(a);function c(r){var i=hr[r]||gr;s[r]=i(t[r],e[r],n,r)}return s}function br(t,e,n,r){if("string"==typeof n){var i=t[e];if(O(i,n))return i[n];var o=E(n);if(O(i,o))return i[o];var a=T(o);return O(i,a)?i[a]:i[n]||i[o]||i[a]}}function wr(t,e,n,r){var i=e[t],o=!O(n,t),a=n[t],s=Or(Boolean,i.type);if(s>-1)if(o&&!O(i,"default"))a=!1;else if(""===a||a===A(t)){var c=Or(String,i.type);(c<0||s<c)&&(a=!0)}if(void 0===a){a=function(t,e,n){if(!O(e,"default"))return;var r=e.default;0;if(t&&t.$options.propsData&&void 0===t.$options.propsData[n]&&void 0!==t._props[n])return t._props[n];return l(r)&&"Function"!==xr(e.type)?r.call(t):r}(r,i,t);var u=At;jt(!0),Rt(a),jt(u)}return a}var _r=/^\s*function (\w+)/;function xr(t){var e=t&&t.toString().match(_r);return e?e[1]:""}function kr(t,e){return xr(t)===xr(e)}function Or(t,e){if(!i(e))return kr(e,t)?0:-1;for(var n=0,r=e.length;n<r;n++)if(kr(e[n],t))return n;return-1}function Cr(t){this._init(t)}function Sr(t){t.cid=0;var e=1;t.extend=function(t){t=t||{};var n=this,r=n.cid,i=t._Ctor||(t._Ctor={});if(i[r])return i[r];var o=ar(t)||ar(n.options);var a=function(t){this._init(t)};return(a.prototype=Object.create(n.prototype)).constructor=a,a.cid=e++,a.options=yr(n.options,t),a.super=n,a.options.props&&function(t){var e=t.options.props;for(var n in e)Zn(t.prototype,"_props",n)}(a),a.options.computed&&function(t){var e=t.options.computed;for(var n in e)Kn(t.prototype,n,e[n])}(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,U.forEach((function(t){a[t]=n[t]})),o&&(a.options.components[o]=a),a.superOptions=n.options,a.extendOptions=t,a.sealedOptions=M({},a.options),i[r]=a,a}}function Er(t){return t&&(ar(t.Ctor.options)||t.tag)}function Tr(t,e){return i(t)?t.indexOf(e)>-1:"string"==typeof t?t.split(",").indexOf(e)>-1:!!d(t)&&t.test(e)}function Pr(t,e){var n=t.cache,r=t.keys,i=t._vnode,o=t.$vnode;for(var a in n){var s=n[a];if(s){var c=s.name;c&&!e(c)&&Ar(n,a,r,i)}}o.componentOptions.children=void 0}function Ar(t,e,n,r){var i=t[e];!i||r&&i.tag===r.tag||i.componentInstance.$destroy(),t[e]=null,x(n,e)}!function(t){t.prototype._init=function(t){var e=this;e._uid=er++,e._isVue=!0,e.__v_skip=!0,e._scope=new We(!0),e._scope.parent=void 0,e._scope._vm=!0,t&&t._isComponent?function(t,e){var n=t.$options=Object.create(t.constructor.options),r=e._parentVnode;n.parent=e.parent,n._parentVnode=r;var i=r.componentOptions;n.propsData=i.propsData,n._parentListeners=i.listeners,n._renderChildren=i.children,n._componentTag=i.tag,e.render&&(n.render=e.render,n.staticRenderFns=e.staticRenderFns)}(e,t):e.$options=yr(nr(e.constructor),t||{},e),e._renderProxy=e,e._self=e,function(t){var e=t.$options,n=e.parent;if(n&&!e.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(t)}t.$parent=n,t.$root=n?n.$root:t,t.$children=[],t.$refs={},t._provided=n?n._provided:Object.create(null),t._watcher=null,t._inactive=null,t._directInactive=!1,t._isMounted=!1,t._isDestroyed=!1,t._isBeingDestroyed=!1}(e),function(t){t._events=Object.create(null),t._hasHookEvent=!1;var e=t.$options._parentListeners;e&&qe(t,e)}(e),function(t){t._vnode=null,t._staticTrees=null;var e=t.$options,n=t.$vnode=e._parentVnode,i=n&&n.context;t.$slots=Se(e._renderChildren,i),t.$scopedSlots=n?Pe(t.$parent,n.data.scopedSlots,t.$slots):r,t._c=function(e,n,r,i){return le(t,e,n,r,i,!1)},t.$createElement=function(e,n,r,i){return le(t,e,n,r,i,!0)};var o=n&&n.data;It(t,"$attrs",o&&o.attrs||r,null,!0),It(t,"$listeners",e._parentListeners||r,null,!0)}(e),Je(e,"beforeCreate",void 0,!1),function(t){var e=tr(t.$options.inject,t);e&&(jt(!1),Object.keys(e).forEach((function(n){It(t,n,e[n])})),jt(!0))}(e),Yn(e),function(t){var e=t.$options.provide;if(e){var n=l(e)?e.call(t):e;if(!u(n))return;for(var r=wn(t),i=ht?Reflect.ownKeys(n):Object.keys(n),o=0;o<i.length;o++){var a=i[o];Object.defineProperty(r,a,Object.getOwnPropertyDescriptor(n,a))}}}(e),Je(e,"created"),e.$options.el&&e.$mount(e.$options.el)}}(Cr),function(t){var e={get:function(){return this._data}},n={get:function(){return this._props}};Object.defineProperty(t.prototype,"$data",e),Object.defineProperty(t.prototype,"$props",n),t.prototype.$set=Nt,t.prototype.$delete=Lt,t.prototype.$watch=function(t,e,n){var r=this;if(h(e))return Jn(r,t,e,n);(n=n||{}).user=!0;var i=new Wn(r,t,e,n);if(n.immediate){var o='callback for immediate watcher "'.concat(i.expression,'"');Ot(),kn(e,r,[i.value],r,o),Ct()}return function(){i.teardown()}}}(Cr),function(t){var e=/^hook:/;t.prototype.$on=function(t,n){var r=this;if(i(t))for(var o=0,a=t.length;o<a;o++)r.$on(t[o],n);else(r._events[t]||(r._events[t]=[])).push(n),e.test(t)&&(r._hasHookEvent=!0);return r},t.prototype.$once=function(t,e){var n=this;function r(){n.$off(t,r),e.apply(n,arguments)}return r.fn=e,n.$on(t,r),n},t.prototype.$off=function(t,e){var n=this;if(!arguments.length)return n._events=Object.create(null),n;if(i(t)){for(var r=0,o=t.length;r<o;r++)n.$off(t[r],e);return n}var a,s=n._events[t];if(!s)return n;if(!e)return n._events[t]=null,n;for(var c=s.length;c--;)if((a=s[c])===e||a.fn===e){s.splice(c,1);break}return n},t.prototype.$emit=function(t){var e=this,n=e._events[t];if(n){n=n.length>1?D(n):n;for(var r=D(arguments,1),i='event handler for "'.concat(t,'"'),o=0,a=n.length;o<a;o++)kn(n[o],e,r,e,i)}return e}}(Cr),function(t){t.prototype._update=function(t,e){var n=this,r=n.$el,i=n._vnode,o=Xe(n);n._vnode=t,n.$el=i?n.__patch__(i,t):n.__patch__(n.$el,t,e,!1),o(),r&&(r.__vue__=null),n.$el&&(n.$el.__vue__=n);for(var a=n;a&&a.$vnode&&a.$parent&&a.$vnode===a.$parent._vnode;)a.$parent.$el=a.$el,a=a.$parent},t.prototype.$forceUpdate=function(){this._watcher&&this._watcher.update()},t.prototype.$destroy=function(){var t=this;if(!t._isBeingDestroyed){Je(t,"beforeDestroy"),t._isBeingDestroyed=!0;var e=t.$parent;!e||e._isBeingDestroyed||t.$options.abstract||x(e.$children,t),t._scope.stop(),t._data.__ob__&&t._data.__ob__.vmCount--,t._isDestroyed=!0,t.__patch__(t._vnode,null),Je(t,"destroyed"),t.$off(),t.$el&&(t.$el.__vue__=null),t.$vnode&&(t.$vnode.parent=null)}}}(Cr),function(t){Ce(t.prototype),t.prototype.$nextTick=function(t){return In(t,this)},t.prototype._render=function(){var t=this,e=t.$options,n=e.render,r=e._parentVnode;r&&t._isMounted&&(t.$scopedSlots=Pe(t.$parent,r.data.scopedSlots,t.$slots,t.$scopedSlots),t._slotsProxy&&Ie(t._slotsProxy,t.$scopedSlots)),t.$vnode=r;var o,a=dt,s=$e;try{pt(t),$e=t,o=n.call(t._renderProxy,t.$createElement)}catch(e){xn(e,t,"render"),o=t._vnode}finally{$e=s,pt(a)}return i(o)&&1===o.length&&(o=o[0]),o instanceof mt||(o=vt()),o.parent=r,o}}(Cr);var jr=[String,RegExp,Array],Dr={name:"keep-alive",abstract:!0,props:{include:jr,exclude:jr,max:[String,Number]},methods:{cacheVNode:function(){var t=this,e=t.cache,n=t.keys,r=t.vnodeToCache,i=t.keyToCache;if(r){var o=r.tag,a=r.componentInstance,s=r.componentOptions;e[i]={name:Er(s),tag:o,componentInstance:a},n.push(i),this.max&&n.length>parseInt(this.max)&&Ar(e,n[0],n,this._vnode),this.vnodeToCache=null}}},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var t in this.cache)Ar(this.cache,t,this.keys)},mounted:function(){var t=this;this.cacheVNode(),this.$watch("include",(function(e){Pr(t,(function(t){return Tr(e,t)}))})),this.$watch("exclude",(function(e){Pr(t,(function(t){return!Tr(e,t)}))}))},updated:function(){this.cacheVNode()},render:function(){var t=this.$slots.default,e=Be(t),n=e&&e.componentOptions;if(n){var r=Er(n),i=this.include,o=this.exclude;if(i&&(!r||!Tr(i,r))||o&&r&&Tr(o,r))return e;var a=this.cache,s=this.keys,c=null==e.key?n.Ctor.cid+(n.tag?"::".concat(n.tag):""):e.key;a[c]?(e.componentInstance=a[c].componentInstance,x(s,c),s.push(c)):(this.vnodeToCache=e,this.keyToCache=c),e.data.keepAlive=!0}return e||t&&t[0]}},Mr={KeepAlive:Dr};!function(t){var e={get:function(){return W}};Object.defineProperty(t,"config",e),t.util={warn:fr,extend:M,mergeOptions:yr,defineReactive:It},t.set=Nt,t.delete=Lt,t.nextTick=In,t.observable=function(t){return Rt(t),t},t.options=Object.create(null),U.forEach((function(e){t.options[e+"s"]=Object.create(null)})),t.options._base=t,M(t.options.components,Mr),function(t){t.use=function(t){var e=this._installedPlugins||(this._installedPlugins=[]);if(e.indexOf(t)>-1)return this;var n=D(arguments,1);return n.unshift(this),l(t.install)?t.install.apply(t,n):l(t)&&t.apply(null,n),e.push(t),this}}(t),function(t){t.mixin=function(t){return this.options=yr(this.options,t),this}}(t),Sr(t),function(t){U.forEach((function(e){t[e]=function(t,n){return n?("component"===e&&h(n)&&(n.name=n.name||t,n=this.options._base.extend(n)),"directive"===e&&l(n)&&(n={bind:n,update:n}),this.options[e+"s"][t]=n,n):this.options[e+"s"][t]}}))}(t)}(Cr),Object.defineProperty(Cr.prototype,"$isServer",{get:ct}),Object.defineProperty(Cr.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(Cr,"FunctionalRenderContext",{value:rr}),Cr.version=Fn;var Rr=b("style,class"),Ir=b("input,textarea,option,select,progress"),Nr=function(t,e,n){return"value"===n&&Ir(t)&&"button"!==e||"selected"===n&&"option"===t||"checked"===n&&"input"===t||"muted"===n&&"video"===t},Lr=b("contenteditable,draggable,spellcheck"),$r=b("events,caret,typing,plaintext-only"),Fr=function(t,e){return qr(e)||"false"===e?"false":"contenteditable"===t&&$r(e)?e:"true"},Br=b("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,truespeed,typemustmatch,visible"),zr="http://www.w3.org/1999/xlink",Hr=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},Ur=function(t){return Hr(t)?t.slice(6,t.length):""},qr=function(t){return null==t||!1===t};function Wr(t){for(var e=t.data,n=t,r=t;a(r.componentInstance);)(r=r.componentInstance._vnode)&&r.data&&(e=Vr(r.data,e));for(;a(n=n.parent);)n&&n.data&&(e=Vr(e,n.data));return function(t,e){if(a(t)||a(e))return Zr(t,Yr(e));return""}(e.staticClass,e.class)}function Vr(t,e){return{staticClass:Zr(t.staticClass,e.staticClass),class:a(t.class)?[t.class,e.class]:e.class}}function Zr(t,e){return t?e?t+" "+e:t:e||""}function Yr(t){return Array.isArray(t)?function(t){for(var e,n="",r=0,i=t.length;r<i;r++)a(e=Yr(t[r]))&&""!==e&&(n&&(n+=" "),n+=e);return n}(t):u(t)?function(t){var e="";for(var n in t)t[n]&&(e&&(e+=" "),e+=n);return e}(t):"string"==typeof t?t:""}var Xr={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},Kr=b("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"),Gr=b("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),Qr=function(t){return Kr(t)||Gr(t)};function Jr(t){return Gr(t)?"svg":"math"===t?"math":void 0}var ti=Object.create(null);var ei=b("text,number,password,search,email,tel,url");function ni(t){if("string"==typeof t){var e=document.querySelector(t);return e||document.createElement("div")}return t}var ri=Object.freeze({__proto__:null,createElement:function(t,e){var n=document.createElement(t);return"select"!==t||e.data&&e.data.attrs&&void 0!==e.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n},createElementNS:function(t,e){return document.createElementNS(Xr[t],e)},createTextNode:function(t){return document.createTextNode(t)},createComment:function(t){return document.createComment(t)},insertBefore:function(t,e,n){t.insertBefore(e,n)},removeChild:function(t,e){t.removeChild(e)},appendChild:function(t,e){t.appendChild(e)},parentNode:function(t){return t.parentNode},nextSibling:function(t){return t.nextSibling},tagName:function(t){return t.tagName},setTextContent:function(t,e){t.textContent=e},setStyleScope:function(t,e){t.setAttribute(e,"")}}),ii={create:function(t,e){oi(e)},update:function(t,e){t.data.ref!==e.data.ref&&(oi(t,!0),oi(e))},destroy:function(t){oi(t,!0)}};function oi(t,e){var n=t.data.ref;if(a(n)){var r=t.context,o=t.componentInstance||t.elm,s=e?null:o,c=e?void 0:o;if(l(n))kn(n,r,[s],r,"template ref function");else{var u=t.data.refInFor,f="string"==typeof n||"number"==typeof n,h=Zt(n),d=r.$refs;if(f||h)if(u){var p=f?d[n]:n.value;e?i(p)&&x(p,o):i(p)?p.includes(o)||p.push(o):f?(d[n]=[o],ai(r,n,d[n])):n.value=[o]}else if(f){if(e&&d[n]!==o)return;d[n]=c,ai(r,n,s)}else if(h){if(e&&n.value!==o)return;n.value=s}else 0}}}function ai(t,e,n){var r=t._setupState;r&&O(r,e)&&(Zt(r[e])?r[e].value=n:r[e]=n)}var si=new mt("",{},[]),ci=["create","activate","update","remove","destroy"];function li(t,e){return t.key===e.key&&t.asyncFactory===e.asyncFactory&&(t.tag===e.tag&&t.isComment===e.isComment&&a(t.data)===a(e.data)&&function(t,e){if("input"!==t.tag)return!0;var n,r=a(n=t.data)&&a(n=n.attrs)&&n.type,i=a(n=e.data)&&a(n=n.attrs)&&n.type;return r===i||ei(r)&&ei(i)}(t,e)||s(t.isAsyncPlaceholder)&&o(e.asyncFactory.error))}function ui(t,e,n){var r,i,o={};for(r=e;r<=n;++r)a(i=t[r].key)&&(o[i]=r);return o}var fi={create:hi,update:hi,destroy:function(t){hi(t,si)}};function hi(t,e){(t.data.directives||e.data.directives)&&function(t,e){var n,r,i,o=t===si,a=e===si,s=pi(t.data.directives,t.context),c=pi(e.data.directives,e.context),l=[],u=[];for(n in c)r=s[n],i=c[n],r?(i.oldValue=r.value,i.oldArg=r.arg,vi(i,"update",e,t),i.def&&i.def.componentUpdated&&u.push(i)):(vi(i,"bind",e,t),i.def&&i.def.inserted&&l.push(i));if(l.length){var f=function(){for(var n=0;n<l.length;n++)vi(l[n],"inserted",e,t)};o?ne(e,"insert",f):f()}u.length&&ne(e,"postpatch",(function(){for(var n=0;n<u.length;n++)vi(u[n],"componentUpdated",e,t)}));if(!o)for(n in s)c[n]||vi(s[n],"unbind",t,t,a)}(t,e)}var di=Object.create(null);function pi(t,e){var n,r,i=Object.create(null);if(!t)return i;for(n=0;n<t.length;n++){if((r=t[n]).modifiers||(r.modifiers=di),i[mi(r)]=r,e._setupState&&e._setupState.__sfc){var o=r.def||br(e,"_setupState","v-"+r.name);r.def="function"==typeof o?{bind:o,update:o}:o}r.def=r.def||br(e.$options,"directives",r.name)}return i}function mi(t){return t.rawName||"".concat(t.name,".").concat(Object.keys(t.modifiers||{}).join("."))}function vi(t,e,n,r,i){var o=t.def&&t.def[e];if(o)try{o(n.elm,t,n,r,i)}catch(r){xn(r,n.context,"directive ".concat(t.name," ").concat(e," hook"))}}var gi=[ii,fi];function yi(t,e){var n=e.componentOptions;if(!(a(n)&&!1===n.Ctor.options.inheritAttrs||o(t.data.attrs)&&o(e.data.attrs))){var r,i,c=e.elm,l=t.data.attrs||{},u=e.data.attrs||{};for(r in(a(u.__ob__)||s(u._v_attr_proxy))&&(u=e.data.attrs=M({},u)),u)i=u[r],l[r]!==i&&bi(c,r,i,e.data.pre);for(r in(J||et)&&u.value!==l.value&&bi(c,"value",u.value),l)o(u[r])&&(Hr(r)?c.removeAttributeNS(zr,Ur(r)):Lr(r)||c.removeAttribute(r))}}function bi(t,e,n,r){r||t.tagName.indexOf("-")>-1?wi(t,e,n):Br(e)?qr(n)?t.removeAttribute(e):(n="allowfullscreen"===e&&"EMBED"===t.tagName?"true":e,t.setAttribute(e,n)):Lr(e)?t.setAttribute(e,Fr(e,n)):Hr(e)?qr(n)?t.removeAttributeNS(zr,Ur(e)):t.setAttributeNS(zr,e,n):wi(t,e,n)}function wi(t,e,n){if(qr(n))t.removeAttribute(e);else{if(J&&!tt&&"TEXTAREA"===t.tagName&&"placeholder"===e&&""!==n&&!t.__ieph){var r=function(e){e.stopImmediatePropagation(),t.removeEventListener("input",r)};t.addEventListener("input",r),t.__ieph=!0}t.setAttribute(e,n)}}var _i={create:yi,update:yi};function xi(t,e){var n=e.elm,r=e.data,i=t.data;if(!(o(r.staticClass)&&o(r.class)&&(o(i)||o(i.staticClass)&&o(i.class)))){var s=Wr(e),c=n._transitionClasses;a(c)&&(s=Zr(s,Yr(c))),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}var ki,Oi,Ci,Si,Ei,Ti,Pi={create:xi,update:xi},Ai=/[\w).+\-_$\]]/;function ji(t){var e,n,r,i,o,a=!1,s=!1,c=!1,l=!1,u=0,f=0,h=0,d=0;for(r=0;r<t.length;r++)if(n=e,e=t.charCodeAt(r),a)39===e&&92!==n&&(a=!1);else if(s)34===e&&92!==n&&(s=!1);else if(c)96===e&&92!==n&&(c=!1);else if(l)47===e&&92!==n&&(l=!1);else if(124!==e||124===t.charCodeAt(r+1)||124===t.charCodeAt(r-1)||u||f||h){switch(e){case 34:s=!0;break;case 39:a=!0;break;case 96:c=!0;break;case 40:h++;break;case 41:h--;break;case 91:f++;break;case 93:f--;break;case 123:u++;break;case 125:u--}if(47===e){for(var p=r-1,m=void 0;p>=0&&" "===(m=t.charAt(p));p--);m&&Ai.test(m)||(l=!0)}}else void 0===i?(d=r+1,i=t.slice(0,r).trim()):v();function v(){(o||(o=[])).push(t.slice(d,r).trim()),d=r+1}if(void 0===i?i=t.slice(0,r).trim():0!==d&&v(),o)for(r=0;r<o.length;r++)i=Di(i,o[r]);return i}function Di(t,e){var n=e.indexOf("(");if(n<0)return'_f("'.concat(e,'")(').concat(t,")");var r=e.slice(0,n),i=e.slice(n+1);return'_f("'.concat(r,'")(').concat(t).concat(")"!==i?","+i:i)}function Mi(t,e){console.error("[Vue compiler]: ".concat(t))}function Ri(t,e){return t?t.map((function(t){return t[e]})).filter((function(t){return t})):[]}function Ii(t,e,n,r,i){(t.props||(t.props=[])).push(qi({name:e,value:n,dynamic:i},r)),t.plain=!1}function Ni(t,e,n,r,i){(i?t.dynamicAttrs||(t.dynamicAttrs=[]):t.attrs||(t.attrs=[])).push(qi({name:e,value:n,dynamic:i},r)),t.plain=!1}function Li(t,e,n,r){t.attrsMap[e]=n,t.attrsList.push(qi({name:e,value:n},r))}function $i(t,e,n,r,i,o,a,s){(t.directives||(t.directives=[])).push(qi({name:e,rawName:n,value:r,arg:i,isDynamicArg:o,modifiers:a},s)),t.plain=!1}function Fi(t,e,n){return n?"_p(".concat(e,',"').concat(t,'")'):t+e}function Bi(t,e,n,i,o,a,s,c){var l;(i=i||r).right?c?e="(".concat(e,")==='click'?'contextmenu':(").concat(e,")"):"click"===e&&(e="contextmenu",delete i.right):i.middle&&(c?e="(".concat(e,")==='click'?'mouseup':(").concat(e,")"):"click"===e&&(e="mouseup")),i.capture&&(delete i.capture,e=Fi("!",e,c)),i.once&&(delete i.once,e=Fi("~",e,c)),i.passive&&(delete i.passive,e=Fi("&",e,c)),i.native?(delete i.native,l=t.nativeEvents||(t.nativeEvents={})):l=t.events||(t.events={});var u=qi({value:n.trim(),dynamic:c},s);i!==r&&(u.modifiers=i);var f=l[e];Array.isArray(f)?o?f.unshift(u):f.push(u):l[e]=f?o?[u,f]:[f,u]:u,t.plain=!1}function zi(t,e,n){var r=Hi(t,":"+e)||Hi(t,"v-bind:"+e);if(null!=r)return ji(r);if(!1!==n){var i=Hi(t,e);if(null!=i)return JSON.stringify(i)}}function Hi(t,e,n){var r;if(null!=(r=t.attrsMap[e]))for(var i=t.attrsList,o=0,a=i.length;o<a;o++)if(i[o].name===e){i.splice(o,1);break}return n&&delete t.attrsMap[e],r}function Ui(t,e){for(var n=t.attrsList,r=0,i=n.length;r<i;r++){var o=n[r];if(e.test(o.name))return n.splice(r,1),o}}function qi(t,e){return e&&(null!=e.start&&(t.start=e.start),null!=e.end&&(t.end=e.end)),t}function Wi(t,e,n){var r=n||{},i=r.number,o="$$v",a=o;r.trim&&(a="(typeof ".concat(o," === 'string'")+"? ".concat(o,".trim()")+": ".concat(o,")")),i&&(a="_n(".concat(a,")"));var s=Vi(e,a);t.model={value:"(".concat(e,")"),expression:JSON.stringify(e),callback:"function (".concat(o,") {").concat(s,"}")}}function Vi(t,e){var n=function(t){if(t=t.trim(),ki=t.length,t.indexOf("[")<0||t.lastIndexOf("]")<ki-1)return(Si=t.lastIndexOf("."))>-1?{exp:t.slice(0,Si),key:'"'+t.slice(Si+1)+'"'}:{exp:t,key:null};Oi=t,Si=Ei=Ti=0;for(;!Yi();)Xi(Ci=Zi())?Gi(Ci):91===Ci&&Ki(Ci);return{exp:t.slice(0,Ei),key:t.slice(Ei+1,Ti)}}(t);return null===n.key?"".concat(t,"=").concat(e):"$set(".concat(n.exp,", ").concat(n.key,", ").concat(e,")")}function Zi(){return Oi.charCodeAt(++Si)}function Yi(){return Si>=ki}function Xi(t){return 34===t||39===t}function Ki(t){var e=1;for(Ei=Si;!Yi();)if(Xi(t=Zi()))Gi(t);else if(91===t&&e++,93===t&&e--,0===e){Ti=Si;break}}function Gi(t){for(var e=t;!Yi()&&(t=Zi())!==e;);}var Qi,Ji="__r",to="__c";function eo(t,e,n){var r=Qi;return function i(){null!==e.apply(null,arguments)&&io(t,i,n,r)}}var no=En&&!(it&&Number(it[1])<=53);function ro(t,e,n,r){if(no){var i=sn,o=e;e=o._wrapper=function(t){if(t.target===t.currentTarget||t.timeStamp>=i||t.timeStamp<=0||t.target.ownerDocument!==document)return o.apply(this,arguments)}}Qi.addEventListener(t,e,at?{capture:n,passive:r}:n)}function io(t,e,n,r){(r||Qi).removeEventListener(t,e._wrapper||e,n)}function oo(t,e){if(!o(t.data.on)||!o(e.data.on)){var n=e.data.on||{},r=t.data.on||{};Qi=e.elm||t.elm,function(t){if(a(t[Ji])){var e=J?"change":"input";t[e]=[].concat(t[Ji],t[e]||[]),delete t[Ji]}a(t[to])&&(t.change=[].concat(t[to],t.change||[]),delete t[to])}(n),ee(n,r,ro,io,eo,e.context),Qi=void 0}}var ao,so={create:oo,update:oo,destroy:function(t){return oo(t,si)}};function co(t,e){if(!o(t.data.domProps)||!o(e.data.domProps)){var n,r,i=e.elm,c=t.data.domProps||{},l=e.data.domProps||{};for(n in(a(l.__ob__)||s(l._v_attr_proxy))&&(l=e.data.domProps=M({},l)),c)n in l||(i[n]="");for(n in l){if(r=l[n],"textContent"===n||"innerHTML"===n){if(e.children&&(e.children.length=0),r===c[n])continue;1===i.childNodes.length&&i.removeChild(i.childNodes[0])}if("value"===n&&"PROGRESS"!==i.tagName){i._value=r;var u=o(r)?"":String(r);lo(i,u)&&(i.value=u)}else if("innerHTML"===n&&Gr(i.tagName)&&o(i.innerHTML)){(ao=ao||document.createElement("div")).innerHTML="<svg>".concat(r,"</svg>");for(var f=ao.firstChild;i.firstChild;)i.removeChild(i.firstChild);for(;f.firstChild;)i.appendChild(f.firstChild)}else if(r!==c[n])try{i[n]=r}catch(t){}}}}function lo(t,e){return!t.composing&&("OPTION"===t.tagName||function(t,e){var n=!0;try{n=document.activeElement!==t}catch(t){}return n&&t.value!==e}(t,e)||function(t,e){var n=t.value,r=t._vModifiers;if(a(r)){if(r.number)return y(n)!==y(e);if(r.trim)return n.trim()!==e.trim()}return n!==e}(t,e))}var uo={create:co,update:co},fo=C((function(t){var e={},n=/:(.+)/;return t.split(/;(?![^(]*\))/g).forEach((function(t){if(t){var r=t.split(n);r.length>1&&(e[r[0].trim()]=r[1].trim())}})),e}));function ho(t){var e=po(t.style);return t.staticStyle?M(t.staticStyle,e):e}function po(t){return Array.isArray(t)?R(t):"string"==typeof t?fo(t):t}var mo,vo=/^--/,go=/\s*!important$/,yo=function(t,e,n){if(vo.test(e))t.style.setProperty(e,n);else if(go.test(n))t.style.setProperty(A(e),n.replace(go,""),"important");else{var r=wo(e);if(Array.isArray(n))for(var i=0,o=n.length;i<o;i++)t.style[r]=n[i];else t.style[r]=n}},bo=["Webkit","Moz","ms"],wo=C((function(t){if(mo=mo||document.createElement("div").style,"filter"!==(t=E(t))&&t in mo)return t;for(var e=t.charAt(0).toUpperCase()+t.slice(1),n=0;n<bo.length;n++){var r=bo[n]+e;if(r in mo)return r}}));function _o(t,e){var n=e.data,r=t.data;if(!(o(n.staticStyle)&&o(n.style)&&o(r.staticStyle)&&o(r.style))){var i,s,c=e.elm,l=r.staticStyle,u=r.normalizedStyle||r.style||{},f=l||u,h=po(e.data.style)||{};e.data.normalizedStyle=a(h.__ob__)?M({},h):h;var d=function(t,e){var n,r={};if(e)for(var i=t;i.componentInstance;)(i=i.componentInstance._vnode)&&i.data&&(n=ho(i.data))&&M(r,n);(n=ho(t.data))&&M(r,n);for(var o=t;o=o.parent;)o.data&&(n=ho(o.data))&&M(r,n);return r}(e,!0);for(s in f)o(d[s])&&yo(c,s,"");for(s in d)i=d[s],yo(c,s,null==i?"":i)}}var xo={create:_o,update:_o},ko=/\s+/;function Oo(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(ko).forEach((function(e){return t.classList.add(e)})):t.classList.add(e);else{var n=" ".concat(t.getAttribute("class")||""," ");n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function Co(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(ko).forEach((function(e){return t.classList.remove(e)})):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{for(var n=" ".concat(t.getAttribute("class")||""," "),r=" "+e+" ";n.indexOf(r)>=0;)n=n.replace(r," ");(n=n.trim())?t.setAttribute("class",n):t.removeAttribute("class")}}function So(t){if(t){if("object"==typeof t){var e={};return!1!==t.css&&M(e,Eo(t.name||"v")),M(e,t),e}return"string"==typeof t?Eo(t):void 0}}var Eo=C((function(t){return{enterClass:"".concat(t,"-enter"),enterToClass:"".concat(t,"-enter-to"),enterActiveClass:"".concat(t,"-enter-active"),leaveClass:"".concat(t,"-leave"),leaveToClass:"".concat(t,"-leave-to"),leaveActiveClass:"".concat(t,"-leave-active")}})),To=G&&!tt,Po="transition",Ao="animation",jo="transition",Do="transitionend",Mo="animation",Ro="animationend";To&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(jo="WebkitTransition",Do="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Mo="WebkitAnimation",Ro="webkitAnimationEnd"));var Io=G?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function No(t){Io((function(){Io(t)}))}function Lo(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),Oo(t,e))}function $o(t,e){t._transitionClasses&&x(t._transitionClasses,e),Co(t,e)}function Fo(t,e,n){var r=zo(t,e),i=r.type,o=r.timeout,a=r.propCount;if(!i)return n();var s=i===Po?Do:Ro,c=0,l=function(){t.removeEventListener(s,u),n()},u=function(e){e.target===t&&++c>=a&&l()};setTimeout((function(){c<a&&l()}),o+1),t.addEventListener(s,u)}var Bo=/\b(transform|all)(,|$)/;function zo(t,e){var n,r=window.getComputedStyle(t),i=(r[jo+"Delay"]||"").split(", "),o=(r[jo+"Duration"]||"").split(", "),a=Ho(i,o),s=(r[Mo+"Delay"]||"").split(", "),c=(r[Mo+"Duration"]||"").split(", "),l=Ho(s,c),u=0,f=0;return e===Po?a>0&&(n=Po,u=a,f=o.length):e===Ao?l>0&&(n=Ao,u=l,f=c.length):f=(n=(u=Math.max(a,l))>0?a>l?Po:Ao:null)?n===Po?o.length:c.length:0,{type:n,timeout:u,propCount:f,hasTransform:n===Po&&Bo.test(r[jo+"Property"])}}function Ho(t,e){for(;t.length<e.length;)t=t.concat(t);return Math.max.apply(null,e.map((function(e,n){return Uo(e)+Uo(t[n])})))}function Uo(t){return 1e3*Number(t.slice(0,-1).replace(",","."))}function qo(t,e){var n=t.elm;a(n._leaveCb)&&(n._leaveCb.cancelled=!0,n._leaveCb());var r=So(t.data.transition);if(!o(r)&&!a(n._enterCb)&&1===n.nodeType){for(var i=r.css,s=r.type,c=r.enterClass,f=r.enterToClass,h=r.enterActiveClass,d=r.appearClass,p=r.appearToClass,m=r.appearActiveClass,v=r.beforeEnter,g=r.enter,b=r.afterEnter,w=r.enterCancelled,_=r.beforeAppear,x=r.appear,k=r.afterAppear,O=r.appearCancelled,C=r.duration,S=Ye,E=Ye.$vnode;E&&E.parent;)S=E.context,E=E.parent;var T=!S._isMounted||!t.isRootInsert;if(!T||x||""===x){var P=T&&d?d:c,A=T&&m?m:h,j=T&&p?p:f,D=T&&_||v,M=T&&l(x)?x:g,R=T&&k||b,I=T&&O||w,N=y(u(C)?C.enter:C);0;var L=!1!==i&&!tt,$=Zo(M),F=n._enterCb=B((function(){L&&($o(n,j),$o(n,A)),F.cancelled?(L&&$o(n,P),I&&I(n)):R&&R(n),n._enterCb=null}));t.data.show||ne(t,"insert",(function(){var e=n.parentNode,r=e&&e._pending&&e._pending[t.key];r&&r.tag===t.tag&&r.elm._leaveCb&&r.elm._leaveCb(),M&&M(n,F)})),D&&D(n),L&&(Lo(n,P),Lo(n,A),No((function(){$o(n,P),F.cancelled||(Lo(n,j),$||(Vo(N)?setTimeout(F,N):Fo(n,s,F)))}))),t.data.show&&(e&&e(),M&&M(n,F)),L||$||F()}}}function Wo(t,e){var n=t.elm;a(n._enterCb)&&(n._enterCb.cancelled=!0,n._enterCb());var r=So(t.data.transition);if(o(r)||1!==n.nodeType)return e();if(!a(n._leaveCb)){var i=r.css,s=r.type,c=r.leaveClass,l=r.leaveToClass,f=r.leaveActiveClass,h=r.beforeLeave,d=r.leave,p=r.afterLeave,m=r.leaveCancelled,v=r.delayLeave,g=r.duration,b=!1!==i&&!tt,w=Zo(d),_=y(u(g)?g.leave:g);0;var x=n._leaveCb=B((function(){n.parentNode&&n.parentNode._pending&&(n.parentNode._pending[t.key]=null),b&&($o(n,l),$o(n,f)),x.cancelled?(b&&$o(n,c),m&&m(n)):(e(),p&&p(n)),n._leaveCb=null}));v?v(k):k()}function k(){x.cancelled||(!t.data.show&&n.parentNode&&((n.parentNode._pending||(n.parentNode._pending={}))[t.key]=t),h&&h(n),b&&(Lo(n,c),Lo(n,f),No((function(){$o(n,c),x.cancelled||(Lo(n,l),w||(Vo(_)?setTimeout(x,_):Fo(n,s,x)))}))),d&&d(n,x),b||w||x())}}function Vo(t){return"number"==typeof t&&!isNaN(t)}function Zo(t){if(o(t))return!1;var e=t.fns;return a(e)?Zo(Array.isArray(e)?e[0]:e):(t._length||t.length)>1}function Yo(t,e){!0!==e.data.show&&qo(e)}var Xo=function(t){var e,n,r={},l=t.modules,u=t.nodeOps;for(e=0;e<ci.length;++e)for(r[ci[e]]=[],n=0;n<l.length;++n)a(l[n][ci[e]])&&r[ci[e]].push(l[n][ci[e]]);function f(t){var e=u.parentNode(t);a(e)&&u.removeChild(e,t)}function h(t,e,n,i,o,c,l){if(a(t.elm)&&a(c)&&(t=c[l]=yt(t)),t.isRootInsert=!o,!function(t,e,n,i){var o=t.data;if(a(o)){var c=a(t.componentInstance)&&o.keepAlive;if(a(o=o.hook)&&a(o=o.init)&&o(t,!1),a(t.componentInstance))return d(t,e),p(n,t.elm,i),s(c)&&function(t,e,n,i){var o,s=t;for(;s.componentInstance;)if(a(o=(s=s.componentInstance._vnode).data)&&a(o=o.transition)){for(o=0;o<r.activate.length;++o)r.activate[o](si,s);e.push(s);break}p(n,t.elm,i)}(t,e,n,i),!0}}(t,e,n,i)){var f=t.data,h=t.children,v=t.tag;a(v)?(t.elm=t.ns?u.createElementNS(t.ns,v):u.createElement(v,t),y(t),m(t,h,e),a(f)&&g(t,e),p(n,t.elm,i)):s(t.isComment)?(t.elm=u.createComment(t.text),p(n,t.elm,i)):(t.elm=u.createTextNode(t.text),p(n,t.elm,i))}}function d(t,e){a(t.data.pendingInsert)&&(e.push.apply(e,t.data.pendingInsert),t.data.pendingInsert=null),t.elm=t.componentInstance.$el,v(t)?(g(t,e),y(t)):(oi(t),e.push(t))}function p(t,e,n){a(t)&&(a(n)?u.parentNode(n)===t&&u.insertBefore(t,e,n):u.appendChild(t,e))}function m(t,e,n){if(i(e)){0;for(var r=0;r<e.length;++r)h(e[r],n,t.elm,null,!0,e,r)}else c(t.text)&&u.appendChild(t.elm,u.createTextNode(String(t.text)))}function v(t){for(;t.componentInstance;)t=t.componentInstance._vnode;return a(t.tag)}function g(t,n){for(var i=0;i<r.create.length;++i)r.create[i](si,t);a(e=t.data.hook)&&(a(e.create)&&e.create(si,t),a(e.insert)&&n.push(t))}function y(t){var e;if(a(e=t.fnScopeId))u.setStyleScope(t.elm,e);else for(var n=t;n;)a(e=n.context)&&a(e=e.$options._scopeId)&&u.setStyleScope(t.elm,e),n=n.parent;a(e=Ye)&&e!==t.context&&e!==t.fnContext&&a(e=e.$options._scopeId)&&u.setStyleScope(t.elm,e)}function w(t,e,n,r,i,o){for(;r<=i;++r)h(n[r],o,t,e,!1,n,r)}function _(t){var e,n,i=t.data;if(a(i))for(a(e=i.hook)&&a(e=e.destroy)&&e(t),e=0;e<r.destroy.length;++e)r.destroy[e](t);if(a(e=t.children))for(n=0;n<t.children.length;++n)_(t.children[n])}function x(t,e,n){for(;e<=n;++e){var r=t[e];a(r)&&(a(r.tag)?(k(r),_(r)):f(r.elm))}}function k(t,e){if(a(e)||a(t.data)){var n,i=r.remove.length+1;for(a(e)?e.listeners+=i:e=function(t,e){function n(){0==--n.listeners&&f(t)}return n.listeners=e,n}(t.elm,i),a(n=t.componentInstance)&&a(n=n._vnode)&&a(n.data)&&k(n,e),n=0;n<r.remove.length;++n)r.remove[n](t,e);a(n=t.data.hook)&&a(n=n.remove)?n(t,e):e()}else f(t.elm)}function O(t,e,n,r){for(var i=n;i<r;i++){var o=e[i];if(a(o)&&li(t,o))return i}}function C(t,e,n,i,c,l){if(t!==e){a(e.elm)&&a(i)&&(e=i[c]=yt(e));var f=e.elm=t.elm;if(s(t.isAsyncPlaceholder))a(e.asyncFactory.resolved)?T(t.elm,e,n):e.isAsyncPlaceholder=!0;else if(s(e.isStatic)&&s(t.isStatic)&&e.key===t.key&&(s(e.isCloned)||s(e.isOnce)))e.componentInstance=t.componentInstance;else{var d,p=e.data;a(p)&&a(d=p.hook)&&a(d=d.prepatch)&&d(t,e);var m=t.children,g=e.children;if(a(p)&&v(e)){for(d=0;d<r.update.length;++d)r.update[d](t,e);a(d=p.hook)&&a(d=d.update)&&d(t,e)}o(e.text)?a(m)&&a(g)?m!==g&&function(t,e,n,r,i){var s,c,l,f=0,d=0,p=e.length-1,m=e[0],v=e[p],g=n.length-1,y=n[0],b=n[g],_=!i;for(;f<=p&&d<=g;)o(m)?m=e[++f]:o(v)?v=e[--p]:li(m,y)?(C(m,y,r,n,d),m=e[++f],y=n[++d]):li(v,b)?(C(v,b,r,n,g),v=e[--p],b=n[--g]):li(m,b)?(C(m,b,r,n,g),_&&u.insertBefore(t,m.elm,u.nextSibling(v.elm)),m=e[++f],b=n[--g]):li(v,y)?(C(v,y,r,n,d),_&&u.insertBefore(t,v.elm,m.elm),v=e[--p],y=n[++d]):(o(s)&&(s=ui(e,f,p)),o(c=a(y.key)?s[y.key]:O(y,e,f,p))?h(y,r,t,m.elm,!1,n,d):li(l=e[c],y)?(C(l,y,r,n,d),e[c]=void 0,_&&u.insertBefore(t,l.elm,m.elm)):h(y,r,t,m.elm,!1,n,d),y=n[++d]);f>p?w(t,o(n[g+1])?null:n[g+1].elm,n,d,g,r):d>g&&x(e,f,p)}(f,m,g,n,l):a(g)?(a(t.text)&&u.setTextContent(f,""),w(f,null,g,0,g.length-1,n)):a(m)?x(m,0,m.length-1):a(t.text)&&u.setTextContent(f,""):t.text!==e.text&&u.setTextContent(f,e.text),a(p)&&a(d=p.hook)&&a(d=d.postpatch)&&d(t,e)}}}function S(t,e,n){if(s(n)&&a(t.parent))t.parent.data.pendingInsert=e;else for(var r=0;r<e.length;++r)e[r].data.hook.insert(e[r])}var E=b("attrs,class,staticClass,staticStyle,key");function T(t,e,n,r){var i,o=e.tag,c=e.data,l=e.children;if(r=r||c&&c.pre,e.elm=t,s(e.isComment)&&a(e.asyncFactory))return e.isAsyncPlaceholder=!0,!0;if(a(c)&&(a(i=c.hook)&&a(i=i.init)&&i(e,!0),a(i=e.componentInstance)))return d(e,n),!0;if(a(o)){if(a(l))if(t.hasChildNodes())if(a(i=c)&&a(i=i.domProps)&&a(i=i.innerHTML)){if(i!==t.innerHTML)return!1}else{for(var u=!0,f=t.firstChild,h=0;h<l.length;h++){if(!f||!T(f,l[h],n,r)){u=!1;break}f=f.nextSibling}if(!u||f)return!1}else m(e,l,n);if(a(c)){var p=!1;for(var v in c)if(!E(v)){p=!0,g(e,n);break}!p&&c.class&&Hn(c.class)}}else t.data!==e.text&&(t.data=e.text);return!0}return function(t,e,n,i){if(!o(e)){var c=!1,l=[];if(o(t))c=!0,h(e,l);else{var f=a(t.nodeType);if(!f&&li(t,e))C(t,e,l,null,null,i);else{if(f){if(1===t.nodeType&&t.hasAttribute(H)&&(t.removeAttribute(H),n=!0),s(n)&&T(t,e,l))return S(e,l,!0),t;t=function(t){return new mt(u.tagName(t).toLowerCase(),{},[],void 0,t)}(t)}var d=t.elm,p=u.parentNode(d);if(h(e,l,d._leaveCb?null:p,u.nextSibling(d)),a(e.parent))for(var m=e.parent,g=v(e);m;){for(var y=0;y<r.destroy.length;++y)r.destroy[y](m);if(m.elm=e.elm,g){for(var b=0;b<r.create.length;++b)r.create[b](si,m);var w=m.data.hook.insert;if(w.merged)for(var k=w.fns.slice(1),O=0;O<k.length;O++)k[O]()}else oi(m);m=m.parent}a(p)?x([t],0,0):a(t.tag)&&_(t)}}return S(e,l,c),e.elm}a(t)&&_(t)}}({nodeOps:ri,modules:[_i,Pi,so,uo,xo,G?{create:Yo,activate:Yo,remove:function(t,e){!0!==t.data.show?Wo(t,e):e()}}:{}].concat(gi)});tt&&document.addEventListener("selectionchange",(function(){var t=document.activeElement;t&&t.vmodel&&ra(t,"input")}));var Ko={inserted:function(t,e,n,r){"select"===n.tag?(r.elm&&!r.elm._vOptions?ne(n,"postpatch",(function(){Ko.componentUpdated(t,e,n)})):Go(t,e,n.context),t._vOptions=[].map.call(t.options,ta)):("textarea"===n.tag||ei(t.type))&&(t._vModifiers=e.modifiers,e.modifiers.lazy||(t.addEventListener("compositionstart",ea),t.addEventListener("compositionend",na),t.addEventListener("change",na),tt&&(t.vmodel=!0)))},componentUpdated:function(t,e,n){if("select"===n.tag){Go(t,e,n.context);var r=t._vOptions,i=t._vOptions=[].map.call(t.options,ta);if(i.some((function(t,e){return!$(t,r[e])})))(t.multiple?e.value.some((function(t){return Jo(t,i)})):e.value!==e.oldValue&&Jo(e.value,i))&&ra(t,"change")}}};function Go(t,e,n){Qo(t,e,n),(J||et)&&setTimeout((function(){Qo(t,e,n)}),0)}function Qo(t,e,n){var r=e.value,i=t.multiple;if(!i||Array.isArray(r)){for(var o,a,s=0,c=t.options.length;s<c;s++)if(a=t.options[s],i)o=F(r,ta(a))>-1,a.selected!==o&&(a.selected=o);else if($(ta(a),r))return void(t.selectedIndex!==s&&(t.selectedIndex=s));i||(t.selectedIndex=-1)}}function Jo(t,e){return e.every((function(e){return!$(e,t)}))}function ta(t){return"_value"in t?t._value:t.value}function ea(t){t.target.composing=!0}function na(t){t.target.composing&&(t.target.composing=!1,ra(t.target,"input"))}function ra(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function ia(t){return!t.componentInstance||t.data&&t.data.transition?t:ia(t.componentInstance._vnode)}var oa={bind:function(t,e,n){var r=e.value,i=(n=ia(n)).data&&n.data.transition,o=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;r&&i?(n.data.show=!0,qo(n,(function(){t.style.display=o}))):t.style.display=r?o:"none"},update:function(t,e,n){var r=e.value;!r!=!e.oldValue&&((n=ia(n)).data&&n.data.transition?(n.data.show=!0,r?qo(n,(function(){t.style.display=t.__vOriginalDisplay})):Wo(n,(function(){t.style.display="none"}))):t.style.display=r?t.__vOriginalDisplay:"none")},unbind:function(t,e,n,r,i){i||(t.style.display=t.__vOriginalDisplay)}},aa={model:Ko,show:oa},sa={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 ca(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?ca(Be(e.children)):t}function la(t){var e={},n=t.$options;for(var r in n.propsData)e[r]=t[r];var i=n._parentListeners;for(var r in i)e[E(r)]=i[r];return e}function ua(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}var fa=function(t){return t.tag||Te(t)},ha=function(t){return"show"===t.name},da={name:"transition",props:sa,abstract:!0,render:function(t){var e=this,n=this.$slots.default;if(n&&(n=n.filter(fa)).length){0;var r=this.mode;0;var i=n[0];if(function(t){for(;t=t.parent;)if(t.data.transition)return!0}(this.$vnode))return i;var o=ca(i);if(!o)return i;if(this._leaving)return ua(t,i);var a="__transition-".concat(this._uid,"-");o.key=null==o.key?o.isComment?a+"comment":a+o.tag:c(o.key)?0===String(o.key).indexOf(a)?o.key:a+o.key:o.key;var s=(o.data||(o.data={})).transition=la(this),l=this._vnode,u=ca(l);if(o.data.directives&&o.data.directives.some(ha)&&(o.data.show=!0),u&&u.data&&!function(t,e){return e.key===t.key&&e.tag===t.tag}(o,u)&&!Te(u)&&(!u.componentInstance||!u.componentInstance._vnode.isComment)){var f=u.data.transition=M({},s);if("out-in"===r)return this._leaving=!0,ne(f,"afterLeave",(function(){e._leaving=!1,e.$forceUpdate()})),ua(t,i);if("in-out"===r){if(Te(o))return l;var h,d=function(){h()};ne(s,"afterEnter",d),ne(s,"enterCancelled",d),ne(f,"delayLeave",(function(t){h=t}))}}return i}}},pa=M({tag:String,moveClass:String},sa);delete pa.mode;var ma={props:pa,beforeMount:function(){var t=this,e=this._update;this._update=function(n,r){var i=Xe(t);t.__patch__(t._vnode,t.kept,!1,!0),t._vnode=t.kept,i(),e.call(t,n,r)}},render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,i=this.$slots.default||[],o=this.children=[],a=la(this),s=0;s<i.length;s++){if((u=i[s]).tag)if(null!=u.key&&0!==String(u.key).indexOf("__vlist"))o.push(u),n[u.key]=u,(u.data||(u.data={})).transition=a;else;}if(r){var c=[],l=[];for(s=0;s<r.length;s++){var u;(u=r[s]).data.transition=a,u.data.pos=u.elm.getBoundingClientRect(),n[u.key]?c.push(u):l.push(u)}this.kept=t(e,null,c),this.removed=l}return t(e,null,o)},updated:function(){var t=this.prevChildren,e=this.moveClass||(this.name||"v")+"-move";t.length&&this.hasMove(t[0].elm,e)&&(t.forEach(va),t.forEach(ga),t.forEach(ya),this._reflow=document.body.offsetHeight,t.forEach((function(t){if(t.data.moved){var n=t.elm,r=n.style;Lo(n,e),r.transform=r.WebkitTransform=r.transitionDuration="",n.addEventListener(Do,n._moveCb=function t(r){r&&r.target!==n||r&&!/transform$/.test(r.propertyName)||(n.removeEventListener(Do,t),n._moveCb=null,$o(n,e))})}})))},methods:{hasMove:function(t,e){if(!To)return!1;if(this._hasMove)return this._hasMove;var n=t.cloneNode();t._transitionClasses&&t._transitionClasses.forEach((function(t){Co(n,t)})),Oo(n,e),n.style.display="none",this.$el.appendChild(n);var r=zo(n);return this.$el.removeChild(n),this._hasMove=r.hasTransform}}};function va(t){t.elm._moveCb&&t.elm._moveCb(),t.elm._enterCb&&t.elm._enterCb()}function ga(t){t.data.newPos=t.elm.getBoundingClientRect()}function ya(t){var e=t.data.pos,n=t.data.newPos,r=e.left-n.left,i=e.top-n.top;if(r||i){t.data.moved=!0;var o=t.elm.style;o.transform=o.WebkitTransform="translate(".concat(r,"px,").concat(i,"px)"),o.transitionDuration="0s"}}var ba={Transition:da,TransitionGroup:ma};Cr.config.mustUseProp=Nr,Cr.config.isReservedTag=Qr,Cr.config.isReservedAttr=Rr,Cr.config.getTagNamespace=Jr,Cr.config.isUnknownElement=function(t){if(!G)return!0;if(Qr(t))return!1;if(t=t.toLowerCase(),null!=ti[t])return ti[t];var e=document.createElement(t);return t.indexOf("-")>-1?ti[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:ti[t]=/HTMLUnknownElement/.test(e.toString())},M(Cr.options.directives,aa),M(Cr.options.components,ba),Cr.prototype.__patch__=G?Xo:I,Cr.prototype.$mount=function(t,e){return function(t,e,n){var r;t.$el=e,t.$options.render||(t.$options.render=vt),Je(t,"beforeMount"),r=function(){t._update(t._render(),n)},new Wn(t,r,I,{before:function(){t._isMounted&&!t._isDestroyed&&Je(t,"beforeUpdate")}},!0),n=!1;var i=t._preWatchers;if(i)for(var o=0;o<i.length;o++)i[o].run();return null==t.$vnode&&(t._isMounted=!0,Je(t,"mounted")),t}(this,t=t&&G?ni(t):void 0,e)},G&&setTimeout((function(){W.devtools&&lt&&lt.emit("init",Cr)}),0);var wa=/\{\{((?:.|\r?\n)+?)\}\}/g,_a=/[-.*+?^${}()|[\]\/\\]/g,xa=C((function(t){var e=t[0].replace(_a,"\\$&"),n=t[1].replace(_a,"\\$&");return new RegExp(e+"((?:.|\\n)+?)"+n,"g")}));var ka={staticKeys:["staticClass"],transformNode:function(t,e){e.warn;var n=Hi(t,"class");n&&(t.staticClass=JSON.stringify(n.replace(/\s+/g," ").trim()));var r=zi(t,"class",!1);r&&(t.classBinding=r)},genData:function(t){var e="";return t.staticClass&&(e+="staticClass:".concat(t.staticClass,",")),t.classBinding&&(e+="class:".concat(t.classBinding,",")),e}};var Oa,Ca={staticKeys:["staticStyle"],transformNode:function(t,e){e.warn;var n=Hi(t,"style");n&&(t.staticStyle=JSON.stringify(fo(n)));var r=zi(t,"style",!1);r&&(t.styleBinding=r)},genData:function(t){var e="";return t.staticStyle&&(e+="staticStyle:".concat(t.staticStyle,",")),t.styleBinding&&(e+="style:(".concat(t.styleBinding,"),")),e}},Sa=function(t){return(Oa=Oa||document.createElement("div")).innerHTML=t,Oa.textContent},Ea=b("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),Ta=b("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),Pa=b("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"),Aa=/^\s*([^\s"'<>\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,ja=/^\s*((?:v-[\w-]+:|@|:|#)\[[^=]+?\][^\s"'<>\/=]*)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,Da="[a-zA-Z_][\\-\\.0-9_a-zA-Z".concat(V.source,"]*"),Ma="((?:".concat(Da,"\\:)?").concat(Da,")"),Ra=new RegExp("^<".concat(Ma)),Ia=/^\s*(\/?)>/,Na=new RegExp("^<\\/".concat(Ma,"[^>]*>")),La=/^<!DOCTYPE [^>]+>/i,$a=/^<!\--/,Fa=/^<!\[/,Ba=b("script,style,textarea",!0),za={},Ha={"&lt;":"<","&gt;":">","&quot;":'"',"&amp;":"&","&#10;":"\n","&#9;":"\t","&#39;":"'"},Ua=/&(?:lt|gt|quot|amp|#39);/g,qa=/&(?:lt|gt|quot|amp|#39|#10|#9);/g,Wa=b("pre,textarea",!0),Va=function(t,e){return t&&Wa(t)&&"\n"===e[0]};function Za(t,e){var n=e?qa:Ua;return t.replace(n,(function(t){return Ha[t]}))}function Ya(t,e){for(var n,r,i=[],o=e.expectHTML,a=e.isUnaryTag||N,s=e.canBeLeftOpenTag||N,c=0,l=function(){if(n=t,r&&Ba(r)){var l=0,h=r.toLowerCase(),d=za[h]||(za[h]=new RegExp("([\\s\\S]*?)(</"+h+"[^>]*>)","i"));x=t.replace(d,(function(t,n,r){return l=r.length,Ba(h)||"noscript"===h||(n=n.replace(/<!\--([\s\S]*?)-->/g,"$1").replace(/<!\[CDATA\[([\s\S]*?)]]>/g,"$1")),Va(h,n)&&(n=n.slice(1)),e.chars&&e.chars(n),""}));c+=t.length-x.length,t=x,f(h,c-l,c)}else{var p=t.indexOf("<");if(0===p){if($a.test(t)){var m=t.indexOf("--\x3e");if(m>=0)return e.shouldKeepComment&&e.comment&&e.comment(t.substring(4,m),c,c+m+3),u(m+3),"continue"}if(Fa.test(t)){var v=t.indexOf("]>");if(v>=0)return u(v+2),"continue"}var g=t.match(La);if(g)return u(g[0].length),"continue";var y=t.match(Na);if(y){var b=c;return u(y[0].length),f(y[1],b,c),"continue"}var w=function(){var e=t.match(Ra);if(e){var n={tagName:e[1],attrs:[],start:c};u(e[0].length);for(var r=void 0,i=void 0;!(r=t.match(Ia))&&(i=t.match(ja)||t.match(Aa));)i.start=c,u(i[0].length),i.end=c,n.attrs.push(i);if(r)return n.unarySlash=r[1],u(r[0].length),n.end=c,n}}();if(w)return function(t){var n=t.tagName,c=t.unarySlash;o&&("p"===r&&Pa(n)&&f(r),s(n)&&r===n&&f(n));for(var l=a(n)||!!c,u=t.attrs.length,h=new Array(u),d=0;d<u;d++){var p=t.attrs[d],m=p[3]||p[4]||p[5]||"",v="a"===n&&"href"===p[1]?e.shouldDecodeNewlinesForHref:e.shouldDecodeNewlines;h[d]={name:p[1],value:Za(m,v)}}l||(i.push({tag:n,lowerCasedTag:n.toLowerCase(),attrs:h,start:t.start,end:t.end}),r=n);e.start&&e.start(n,h,l,t.start,t.end)}(w),Va(w.tagName,t)&&u(1),"continue"}var _=void 0,x=void 0,k=void 0;if(p>=0){for(x=t.slice(p);!(Na.test(x)||Ra.test(x)||$a.test(x)||Fa.test(x)||(k=x.indexOf("<",1))<0);)p+=k,x=t.slice(p);_=t.substring(0,p)}p<0&&(_=t),_&&u(_.length),e.chars&&_&&e.chars(_,c-_.length,c)}if(t===n)return e.chars&&e.chars(t),"break"};t;){if("break"===l())break}function u(e){c+=e,t=t.substring(e)}function f(t,n,o){var a,s;if(null==n&&(n=c),null==o&&(o=c),t)for(s=t.toLowerCase(),a=i.length-1;a>=0&&i[a].lowerCasedTag!==s;a--);else a=0;if(a>=0){for(var l=i.length-1;l>=a;l--)e.end&&e.end(i[l].tag,n,o);i.length=a,r=a&&i[a-1].tag}else"br"===s?e.start&&e.start(t,[],!0,n,o):"p"===s&&(e.start&&e.start(t,[],!1,n,o),e.end&&e.end(t,n,o))}f()}var Xa,Ka,Ga,Qa,Ja,ts,es,ns,rs=/^@|^v-on:/,is=/^v-|^@|^:|^#/,os=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,as=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,ss=/^\(|\)$/g,cs=/^\[.*\]$/,ls=/:(.*)$/,us=/^:|^\.|^v-bind:/,fs=/\.[^.\]]+(?=[^\]]*$)/g,hs=/^v-slot(:|$)|^#/,ds=/[\r\n]/,ps=/[ \f\t\r\n]+/g,ms=C(Sa),vs="_empty_";function gs(t,e,n){return{type:1,tag:t,attrsList:e,attrsMap:Os(e),rawAttrsMap:{},parent:n,children:[]}}function ys(t,e){Xa=e.warn||Mi,ts=e.isPreTag||N,es=e.mustUseProp||N,ns=e.getTagNamespace||N;var n=e.isReservedTag||N;(function(t){return!(!(t.component||t.attrsMap[":is"]||t.attrsMap["v-bind:is"])&&(t.attrsMap.is?n(t.attrsMap.is):n(t.tag)))}),Ga=Ri(e.modules,"transformNode"),Qa=Ri(e.modules,"preTransformNode"),Ja=Ri(e.modules,"postTransformNode"),Ka=e.delimiters;var r,i,o=[],a=!1!==e.preserveWhitespace,s=e.whitespace,c=!1,l=!1;function u(t){if(f(t),c||t.processed||(t=bs(t,e)),o.length||t===r||r.if&&(t.elseif||t.else)&&_s(r,{exp:t.elseif,block:t}),i&&!t.forbidden)if(t.elseif||t.else)!function(t,e){var n=function(t){var e=t.length;for(;e--;){if(1===t[e].type)return t[e];t.pop()}}(e.children);n&&n.if&&_s(n,{exp:t.elseif,block:t})}(t,i);else{if(t.slotScope){var n=t.slotTarget||'"default"';(i.scopedSlots||(i.scopedSlots={}))[n]=t}i.children.push(t),t.parent=i}t.children=t.children.filter((function(t){return!t.slotScope})),f(t),t.pre&&(c=!1),ts(t.tag)&&(l=!1);for(var a=0;a<Ja.length;a++)Ja[a](t,e)}function f(t){if(!l)for(var e=void 0;(e=t.children[t.children.length-1])&&3===e.type&&" "===e.text;)t.children.pop()}return Ya(t,{warn:Xa,expectHTML:e.expectHTML,isUnaryTag:e.isUnaryTag,canBeLeftOpenTag:e.canBeLeftOpenTag,shouldDecodeNewlines:e.shouldDecodeNewlines,shouldDecodeNewlinesForHref:e.shouldDecodeNewlinesForHref,shouldKeepComment:e.comments,outputSourceRange:e.outputSourceRange,start:function(t,n,a,s,f){var h=i&&i.ns||ns(t);J&&"svg"===h&&(n=function(t){for(var e=[],n=0;n<t.length;n++){var r=t[n];Cs.test(r.name)||(r.name=r.name.replace(Ss,""),e.push(r))}return e}(n));var d=gs(t,n,i);h&&(d.ns=h),function(t){return"style"===t.tag||"script"===t.tag&&(!t.attrsMap.type||"text/javascript"===t.attrsMap.type)}(d)&&!ct()&&(d.forbidden=!0);for(var p=0;p<Qa.length;p++)d=Qa[p](d,e)||d;c||(!function(t){null!=Hi(t,"v-pre")&&(t.pre=!0)}(d),d.pre&&(c=!0)),ts(d.tag)&&(l=!0),c?function(t){var e=t.attrsList,n=e.length;if(n)for(var r=t.attrs=new Array(n),i=0;i<n;i++)r[i]={name:e[i].name,value:JSON.stringify(e[i].value)},null!=e[i].start&&(r[i].start=e[i].start,r[i].end=e[i].end);else t.pre||(t.plain=!0)}(d):d.processed||(ws(d),function(t){var e=Hi(t,"v-if");if(e)t.if=e,_s(t,{exp:e,block:t});else{null!=Hi(t,"v-else")&&(t.else=!0);var n=Hi(t,"v-else-if");n&&(t.elseif=n)}}(d),function(t){var e=Hi(t,"v-once");null!=e&&(t.once=!0)}(d)),r||(r=d),a?u(d):(i=d,o.push(d))},end:function(t,e,n){var r=o[o.length-1];o.length-=1,i=o[o.length-1],u(r)},chars:function(t,e,n){if(i&&(!J||"textarea"!==i.tag||i.attrsMap.placeholder!==t)){var r=i.children;if(t=l||t.trim()?function(t){return"script"===t.tag||"style"===t.tag}(i)?t:ms(t):r.length?s?"condense"===s&&ds.test(t)?"":" ":a?" ":"":""){l||"condense"!==s||(t=t.replace(ps," "));var o=void 0,u=void 0;!c&&" "!==t&&(o=function(t,e){var n=e?xa(e):wa;if(n.test(t)){for(var r,i,o,a=[],s=[],c=n.lastIndex=0;r=n.exec(t);){(i=r.index)>c&&(s.push(o=t.slice(c,i)),a.push(JSON.stringify(o)));var l=ji(r[1].trim());a.push("_s(".concat(l,")")),s.push({"@binding":l}),c=i+r[0].length}return c<t.length&&(s.push(o=t.slice(c)),a.push(JSON.stringify(o))),{expression:a.join("+"),tokens:s}}}(t,Ka))?u={type:2,expression:o.expression,tokens:o.tokens,text:t}:" "===t&&r.length&&" "===r[r.length-1].text||(u={type:3,text:t}),u&&r.push(u)}}},comment:function(t,e,n){if(i){var r={type:3,text:t,isComment:!0};0,i.children.push(r)}}}),r}function bs(t,e){!function(t){var e=zi(t,"key");if(e){t.key=e}}(t),t.plain=!t.key&&!t.scopedSlots&&!t.attrsList.length,function(t){var e=zi(t,"ref");e&&(t.ref=e,t.refInFor=function(t){var e=t;for(;e;){if(void 0!==e.for)return!0;e=e.parent}return!1}(t))}(t),function(t){var e;"template"===t.tag?(e=Hi(t,"scope"),t.slotScope=e||Hi(t,"slot-scope")):(e=Hi(t,"slot-scope"))&&(t.slotScope=e);var n=zi(t,"slot");n&&(t.slotTarget='""'===n?'"default"':n,t.slotTargetDynamic=!(!t.attrsMap[":slot"]&&!t.attrsMap["v-bind:slot"]),"template"===t.tag||t.slotScope||Ni(t,"slot",n,function(t,e){return t.rawAttrsMap[":"+e]||t.rawAttrsMap["v-bind:"+e]||t.rawAttrsMap[e]}(t,"slot")));if("template"===t.tag){if(a=Ui(t,hs)){0;var r=xs(a),i=r.name,o=r.dynamic;t.slotTarget=i,t.slotTargetDynamic=o,t.slotScope=a.value||vs}}else{var a;if(a=Ui(t,hs)){0;var s=t.scopedSlots||(t.scopedSlots={}),c=xs(a),l=c.name,u=(o=c.dynamic,s[l]=gs("template",[],t));u.slotTarget=l,u.slotTargetDynamic=o,u.children=t.children.filter((function(t){if(!t.slotScope)return t.parent=u,!0})),u.slotScope=a.value||vs,t.children=[],t.plain=!1}}}(t),function(t){"slot"===t.tag&&(t.slotName=zi(t,"name"))}(t),function(t){var e;(e=zi(t,"is"))&&(t.component=e);null!=Hi(t,"inline-template")&&(t.inlineTemplate=!0)}(t);for(var n=0;n<Ga.length;n++)t=Ga[n](t,e)||t;return function(t){var e,n,r,i,o,a,s,c,l=t.attrsList;for(e=0,n=l.length;e<n;e++){if(r=i=l[e].name,o=l[e].value,is.test(r))if(t.hasBindings=!0,(a=ks(r.replace(is,"")))&&(r=r.replace(fs,"")),us.test(r))r=r.replace(us,""),o=ji(o),(c=cs.test(r))&&(r=r.slice(1,-1)),a&&(a.prop&&!c&&"innerHtml"===(r=E(r))&&(r="innerHTML"),a.camel&&!c&&(r=E(r)),a.sync&&(s=Vi(o,"$event"),c?Bi(t,'"update:"+('.concat(r,")"),s,null,!1,0,l[e],!0):(Bi(t,"update:".concat(E(r)),s,null,!1,0,l[e]),A(r)!==E(r)&&Bi(t,"update:".concat(A(r)),s,null,!1,0,l[e])))),a&&a.prop||!t.component&&es(t.tag,t.attrsMap.type,r)?Ii(t,r,o,l[e],c):Ni(t,r,o,l[e],c);else if(rs.test(r))r=r.replace(rs,""),(c=cs.test(r))&&(r=r.slice(1,-1)),Bi(t,r,o,a,!1,0,l[e],c);else{var u=(r=r.replace(is,"")).match(ls),f=u&&u[1];c=!1,f&&(r=r.slice(0,-(f.length+1)),cs.test(f)&&(f=f.slice(1,-1),c=!0)),$i(t,r,i,o,f,c,a,l[e])}else Ni(t,r,JSON.stringify(o),l[e]),!t.component&&"muted"===r&&es(t.tag,t.attrsMap.type,r)&&Ii(t,r,"true",l[e])}}(t),t}function ws(t){var e;if(e=Hi(t,"v-for")){var n=function(t){var e=t.match(os);if(!e)return;var n={};n.for=e[2].trim();var r=e[1].trim().replace(ss,""),i=r.match(as);i?(n.alias=r.replace(as,"").trim(),n.iterator1=i[1].trim(),i[2]&&(n.iterator2=i[2].trim())):n.alias=r;return n}(e);n&&M(t,n)}}function _s(t,e){t.ifConditions||(t.ifConditions=[]),t.ifConditions.push(e)}function xs(t){var e=t.name.replace(hs,"");return e||"#"!==t.name[0]&&(e="default"),cs.test(e)?{name:e.slice(1,-1),dynamic:!0}:{name:'"'.concat(e,'"'),dynamic:!1}}function ks(t){var e=t.match(fs);if(e){var n={};return e.forEach((function(t){n[t.slice(1)]=!0})),n}}function Os(t){for(var e={},n=0,r=t.length;n<r;n++)e[t[n].name]=t[n].value;return e}var Cs=/^xmlns:NS\d+/,Ss=/^NS\d+:/;function Es(t){return gs(t.tag,t.attrsList.slice(),t.parent)}var Ts=[ka,Ca,{preTransformNode:function(t,e){if("input"===t.tag){var n=t.attrsMap;if(!n["v-model"])return;var r=void 0;if((n[":type"]||n["v-bind:type"])&&(r=zi(t,"type")),n.type||r||!n["v-bind"]||(r="(".concat(n["v-bind"],").type")),r){var i=Hi(t,"v-if",!0),o=i?"&&(".concat(i,")"):"",a=null!=Hi(t,"v-else",!0),s=Hi(t,"v-else-if",!0),c=Es(t);ws(c),Li(c,"type","checkbox"),bs(c,e),c.processed=!0,c.if="(".concat(r,")==='checkbox'")+o,_s(c,{exp:c.if,block:c});var l=Es(t);Hi(l,"v-for",!0),Li(l,"type","radio"),bs(l,e),_s(c,{exp:"(".concat(r,")==='radio'")+o,block:l});var u=Es(t);return Hi(u,"v-for",!0),Li(u,":type",r),bs(u,e),_s(c,{exp:i,block:u}),a?c.else=!0:s&&(c.elseif=s),c}}}}];var Ps,As,js={model:function(t,e,n){n;var r=e.value,i=e.modifiers,o=t.tag,a=t.attrsMap.type;if(t.component)return Wi(t,r,i),!1;if("select"===o)!function(t,e,n){var r=n&&n.number,i='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 ".concat(r?"_n(val)":"val","})"),o="$event.target.multiple ? $$selectedVal : $$selectedVal[0]",a="var $$selectedVal = ".concat(i,";");a="".concat(a," ").concat(Vi(e,o)),Bi(t,"change",a,null,!0)}(t,r,i);else if("input"===o&&"checkbox"===a)!function(t,e,n){var r=n&&n.number,i=zi(t,"value")||"null",o=zi(t,"true-value")||"true",a=zi(t,"false-value")||"false";Ii(t,"checked","Array.isArray(".concat(e,")")+"?_i(".concat(e,",").concat(i,")>-1")+("true"===o?":(".concat(e,")"):":_q(".concat(e,",").concat(o,")"))),Bi(t,"change","var $$a=".concat(e,",")+"$$el=$event.target,"+"$$c=$$el.checked?(".concat(o,"):(").concat(a,");")+"if(Array.isArray($$a)){"+"var $$v=".concat(r?"_n("+i+")":i,",")+"$$i=_i($$a,$$v);"+"if($$el.checked){$$i<0&&(".concat(Vi(e,"$$a.concat([$$v])"),")}")+"else{$$i>-1&&(".concat(Vi(e,"$$a.slice(0,$$i).concat($$a.slice($$i+1))"),")}")+"}else{".concat(Vi(e,"$$c"),"}"),null,!0)}(t,r,i);else if("input"===o&&"radio"===a)!function(t,e,n){var r=n&&n.number,i=zi(t,"value")||"null";i=r?"_n(".concat(i,")"):i,Ii(t,"checked","_q(".concat(e,",").concat(i,")")),Bi(t,"change",Vi(e,i),null,!0)}(t,r,i);else if("input"===o||"textarea"===o)!function(t,e,n){var r=t.attrsMap.type;0;var i=n||{},o=i.lazy,a=i.number,s=i.trim,c=!o&&"range"!==r,l=o?"change":"range"===r?Ji:"input",u="$event.target.value";s&&(u="$event.target.value.trim()");a&&(u="_n(".concat(u,")"));var f=Vi(e,u);c&&(f="if($event.target.composing)return;".concat(f));Ii(t,"value","(".concat(e,")")),Bi(t,l,f,null,!0),(s||a)&&Bi(t,"blur","$forceUpdate()")}(t,r,i);else{if(!W.isReservedTag(o))return Wi(t,r,i),!1}return!0},text:function(t,e){e.value&&Ii(t,"textContent","_s(".concat(e.value,")"),e)},html:function(t,e){e.value&&Ii(t,"innerHTML","_s(".concat(e.value,")"),e)}},Ds={expectHTML:!0,modules:Ts,directives:js,isPreTag:function(t){return"pre"===t},isUnaryTag:Ea,mustUseProp:Nr,canBeLeftOpenTag:Ta,isReservedTag:Qr,getTagNamespace:Jr,staticKeys:function(t){return t.reduce((function(t,e){return t.concat(e.staticKeys||[])}),[]).join(",")}(Ts)},Ms=C((function(t){return b("type,tag,attrsList,attrsMap,plain,parent,children,attrs,start,end,rawAttrsMap"+(t?","+t:""))}));function Rs(t,e){t&&(Ps=Ms(e.staticKeys||""),As=e.isReservedTag||N,Is(t),Ns(t,!1))}function Is(t){if(t.static=function(t){if(2===t.type)return!1;if(3===t.type)return!0;return!(!t.pre&&(t.hasBindings||t.if||t.for||w(t.tag)||!As(t.tag)||function(t){for(;t.parent;){if("template"!==(t=t.parent).tag)return!1;if(t.for)return!0}return!1}(t)||!Object.keys(t).every(Ps)))}(t),1===t.type){if(!As(t.tag)&&"slot"!==t.tag&&null==t.attrsMap["inline-template"])return;for(var e=0,n=t.children.length;e<n;e++){var r=t.children[e];Is(r),r.static||(t.static=!1)}if(t.ifConditions)for(e=1,n=t.ifConditions.length;e<n;e++){var i=t.ifConditions[e].block;Is(i),i.static||(t.static=!1)}}}function Ns(t,e){if(1===t.type){if((t.static||t.once)&&(t.staticInFor=e),t.static&&t.children.length&&(1!==t.children.length||3!==t.children[0].type))return void(t.staticRoot=!0);if(t.staticRoot=!1,t.children)for(var n=0,r=t.children.length;n<r;n++)Ns(t.children[n],e||!!t.for);if(t.ifConditions)for(n=1,r=t.ifConditions.length;n<r;n++)Ns(t.ifConditions[n].block,e)}}var Ls=/^([\w$_]+|\([^)]*?\))\s*=>|^function(?:\s+[\w$]+)?\s*\(/,$s=/\([^)]*?\);*$/,Fs=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,Bs={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},zs={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"]},Hs=function(t){return"if(".concat(t,")return null;")},Us={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:Hs("$event.target !== $event.currentTarget"),ctrl:Hs("!$event.ctrlKey"),shift:Hs("!$event.shiftKey"),alt:Hs("!$event.altKey"),meta:Hs("!$event.metaKey"),left:Hs("'button' in $event && $event.button !== 0"),middle:Hs("'button' in $event && $event.button !== 1"),right:Hs("'button' in $event && $event.button !== 2")};function qs(t,e){var n=e?"nativeOn:":"on:",r="",i="";for(var o in t){var a=Ws(t[o]);t[o]&&t[o].dynamic?i+="".concat(o,",").concat(a,","):r+='"'.concat(o,'":').concat(a,",")}return r="{".concat(r.slice(0,-1),"}"),i?n+"_d(".concat(r,",[").concat(i.slice(0,-1),"])"):n+r}function Ws(t){if(!t)return"function(){}";if(Array.isArray(t))return"[".concat(t.map((function(t){return Ws(t)})).join(","),"]");var e=Fs.test(t.value),n=Ls.test(t.value),r=Fs.test(t.value.replace($s,""));if(t.modifiers){var i="",o="",a=[],s=function(e){if(Us[e])o+=Us[e],Bs[e]&&a.push(e);else if("exact"===e){var n=t.modifiers;o+=Hs(["ctrl","shift","alt","meta"].filter((function(t){return!n[t]})).map((function(t){return"$event.".concat(t,"Key")})).join("||"))}else a.push(e)};for(var c in t.modifiers)s(c);a.length&&(i+=function(t){return"if(!$event.type.indexOf('key')&&"+"".concat(t.map(Vs).join("&&"),")return null;")}(a)),o&&(i+=o);var l=e?"return ".concat(t.value,".apply(null, arguments)"):n?"return (".concat(t.value,").apply(null, arguments)"):r?"return ".concat(t.value):t.value;return"function($event){".concat(i).concat(l,"}")}return e||n?t.value:"function($event){".concat(r?"return ".concat(t.value):t.value,"}")}function Vs(t){var e=parseInt(t,10);if(e)return"$event.keyCode!==".concat(e);var n=Bs[t],r=zs[t];return"_k($event.keyCode,"+"".concat(JSON.stringify(t),",")+"".concat(JSON.stringify(n),",")+"$event.key,"+"".concat(JSON.stringify(r))+")"}var Zs={on:function(t,e){t.wrapListeners=function(t){return"_g(".concat(t,",").concat(e.value,")")}},bind:function(t,e){t.wrapData=function(n){return"_b(".concat(n,",'").concat(t.tag,"',").concat(e.value,",").concat(e.modifiers&&e.modifiers.prop?"true":"false").concat(e.modifiers&&e.modifiers.sync?",true":"",")")}},cloak:I},Ys=function(){return function(t){this.options=t,this.warn=t.warn||Mi,this.transforms=Ri(t.modules,"transformCode"),this.dataGenFns=Ri(t.modules,"genData"),this.directives=M(M({},Zs),t.directives);var e=t.isReservedTag||N;this.maybeComponent=function(t){return!!t.component||!e(t.tag)},this.onceId=0,this.staticRenderFns=[],this.pre=!1}}();function Xs(t,e){var n=new Ys(e),r=t?"script"===t.tag?"null":Ks(t,n):'_c("div")';return{render:"with(this){return ".concat(r,"}"),staticRenderFns:n.staticRenderFns}}function Ks(t,e){if(t.parent&&(t.pre=t.pre||t.parent.pre),t.staticRoot&&!t.staticProcessed)return Gs(t,e);if(t.once&&!t.onceProcessed)return Qs(t,e);if(t.for&&!t.forProcessed)return ec(t,e);if(t.if&&!t.ifProcessed)return Js(t,e);if("template"!==t.tag||t.slotTarget||e.pre){if("slot"===t.tag)return function(t,e){var n=t.slotName||'"default"',r=oc(t,e),i="_t(".concat(n).concat(r?",function(){return ".concat(r,"}"):""),o=t.attrs||t.dynamicAttrs?cc((t.attrs||[]).concat(t.dynamicAttrs||[]).map((function(t){return{name:E(t.name),value:t.value,dynamic:t.dynamic}}))):null,a=t.attrsMap["v-bind"];!o&&!a||r||(i+=",null");o&&(i+=",".concat(o));a&&(i+="".concat(o?"":",null",",").concat(a));return i+")"}(t,e);var n=void 0;if(t.component)n=function(t,e,n){var r=e.inlineTemplate?null:oc(e,n,!0);return"_c(".concat(t,",").concat(nc(e,n)).concat(r?",".concat(r):"",")")}(t.component,t,e);else{var r=void 0,i=e.maybeComponent(t);(!t.plain||t.pre&&i)&&(r=nc(t,e));var o=void 0,a=e.options.bindings;i&&a&&!1!==a.__isScriptSetup&&(o=function(t,e){var n=E(e),r=T(n),i=function(i){return t[e]===i?e:t[n]===i?n:t[r]===i?r:void 0},o=i("setup-const")||i("setup-reactive-const");if(o)return o;var a=i("setup-let")||i("setup-ref")||i("setup-maybe-ref");if(a)return a}(a,t.tag)),o||(o="'".concat(t.tag,"'"));var s=t.inlineTemplate?null:oc(t,e,!0);n="_c(".concat(o).concat(r?",".concat(r):"").concat(s?",".concat(s):"",")")}for(var c=0;c<e.transforms.length;c++)n=e.transforms[c](t,n);return n}return oc(t,e)||"void 0"}function Gs(t,e){t.staticProcessed=!0;var n=e.pre;return t.pre&&(e.pre=t.pre),e.staticRenderFns.push("with(this){return ".concat(Ks(t,e),"}")),e.pre=n,"_m(".concat(e.staticRenderFns.length-1).concat(t.staticInFor?",true":"",")")}function Qs(t,e){if(t.onceProcessed=!0,t.if&&!t.ifProcessed)return Js(t,e);if(t.staticInFor){for(var n="",r=t.parent;r;){if(r.for){n=r.key;break}r=r.parent}return n?"_o(".concat(Ks(t,e),",").concat(e.onceId++,",").concat(n,")"):Ks(t,e)}return Gs(t,e)}function Js(t,e,n,r){return t.ifProcessed=!0,tc(t.ifConditions.slice(),e,n,r)}function tc(t,e,n,r){if(!t.length)return r||"_e()";var i=t.shift();return i.exp?"(".concat(i.exp,")?").concat(o(i.block),":").concat(tc(t,e,n,r)):"".concat(o(i.block));function o(t){return n?n(t,e):t.once?Qs(t,e):Ks(t,e)}}function ec(t,e,n,r){var i=t.for,o=t.alias,a=t.iterator1?",".concat(t.iterator1):"",s=t.iterator2?",".concat(t.iterator2):"";return t.forProcessed=!0,"".concat(r||"_l","((").concat(i,"),")+"function(".concat(o).concat(a).concat(s,"){")+"return ".concat((n||Ks)(t,e))+"})"}function nc(t,e){var n="{",r=function(t,e){var n=t.directives;if(!n)return;var r,i,o,a,s="directives:[",c=!1;for(r=0,i=n.length;r<i;r++){o=n[r],a=!0;var l=e.directives[o.name];l&&(a=!!l(t,o,e.warn)),a&&(c=!0,s+='{name:"'.concat(o.name,'",rawName:"').concat(o.rawName,'"').concat(o.value?",value:(".concat(o.value,"),expression:").concat(JSON.stringify(o.value)):"").concat(o.arg?",arg:".concat(o.isDynamicArg?o.arg:'"'.concat(o.arg,'"')):"").concat(o.modifiers?",modifiers:".concat(JSON.stringify(o.modifiers)):"","},"))}if(c)return s.slice(0,-1)+"]"}(t,e);r&&(n+=r+","),t.key&&(n+="key:".concat(t.key,",")),t.ref&&(n+="ref:".concat(t.ref,",")),t.refInFor&&(n+="refInFor:true,"),t.pre&&(n+="pre:true,"),t.component&&(n+='tag:"'.concat(t.tag,'",'));for(var i=0;i<e.dataGenFns.length;i++)n+=e.dataGenFns[i](t);if(t.attrs&&(n+="attrs:".concat(cc(t.attrs),",")),t.props&&(n+="domProps:".concat(cc(t.props),",")),t.events&&(n+="".concat(qs(t.events,!1),",")),t.nativeEvents&&(n+="".concat(qs(t.nativeEvents,!0),",")),t.slotTarget&&!t.slotScope&&(n+="slot:".concat(t.slotTarget,",")),t.scopedSlots&&(n+="".concat(function(t,e,n){var r=t.for||Object.keys(e).some((function(t){var n=e[t];return n.slotTargetDynamic||n.if||n.for||rc(n)})),i=!!t.if;if(!r)for(var o=t.parent;o;){if(o.slotScope&&o.slotScope!==vs||o.for){r=!0;break}o.if&&(i=!0),o=o.parent}var a=Object.keys(e).map((function(t){return ic(e[t],n)})).join(",");return"scopedSlots:_u([".concat(a,"]").concat(r?",null,true":"").concat(!r&&i?",null,false,".concat(function(t){var e=5381,n=t.length;for(;n;)e=33*e^t.charCodeAt(--n);return e>>>0}(a)):"",")")}(t,t.scopedSlots,e),",")),t.model&&(n+="model:{value:".concat(t.model.value,",callback:").concat(t.model.callback,",expression:").concat(t.model.expression,"},")),t.inlineTemplate){var o=function(t,e){var n=t.children[0];0;if(n&&1===n.type){var r=Xs(n,e.options);return"inlineTemplate:{render:function(){".concat(r.render,"},staticRenderFns:[").concat(r.staticRenderFns.map((function(t){return"function(){".concat(t,"}")})).join(","),"]}")}}(t,e);o&&(n+="".concat(o,","))}return n=n.replace(/,$/,"")+"}",t.dynamicAttrs&&(n="_b(".concat(n,',"').concat(t.tag,'",').concat(cc(t.dynamicAttrs),")")),t.wrapData&&(n=t.wrapData(n)),t.wrapListeners&&(n=t.wrapListeners(n)),n}function rc(t){return 1===t.type&&("slot"===t.tag||t.children.some(rc))}function ic(t,e){var n=t.attrsMap["slot-scope"];if(t.if&&!t.ifProcessed&&!n)return Js(t,e,ic,"null");if(t.for&&!t.forProcessed)return ec(t,e,ic);var r=t.slotScope===vs?"":String(t.slotScope),i="function(".concat(r,"){")+"return ".concat("template"===t.tag?t.if&&n?"(".concat(t.if,")?").concat(oc(t,e)||"undefined",":undefined"):oc(t,e)||"undefined":Ks(t,e),"}"),o=r?"":",proxy:true";return"{key:".concat(t.slotTarget||'"default"',",fn:").concat(i).concat(o,"}")}function oc(t,e,n,r,i){var o=t.children;if(o.length){var a=o[0];if(1===o.length&&a.for&&"template"!==a.tag&&"slot"!==a.tag){var s=n?e.maybeComponent(a)?",1":",0":"";return"".concat((r||Ks)(a,e)).concat(s)}var c=n?function(t,e){for(var n=0,r=0;r<t.length;r++){var i=t[r];if(1===i.type){if(ac(i)||i.ifConditions&&i.ifConditions.some((function(t){return ac(t.block)}))){n=2;break}(e(i)||i.ifConditions&&i.ifConditions.some((function(t){return e(t.block)})))&&(n=1)}}return n}(o,e.maybeComponent):0,l=i||sc;return"[".concat(o.map((function(t){return l(t,e)})).join(","),"]").concat(c?",".concat(c):"")}}function ac(t){return void 0!==t.for||"template"===t.tag||"slot"===t.tag}function sc(t,e){return 1===t.type?Ks(t,e):3===t.type&&t.isComment?function(t){return"_e(".concat(JSON.stringify(t.text),")")}(t):function(t){return"_v(".concat(2===t.type?t.expression:lc(JSON.stringify(t.text)),")")}(t)}function cc(t){for(var e="",n="",r=0;r<t.length;r++){var i=t[r],o=lc(i.value);i.dynamic?n+="".concat(i.name,",").concat(o,","):e+='"'.concat(i.name,'":').concat(o,",")}return e="{".concat(e.slice(0,-1),"}"),n?"_d(".concat(e,",[").concat(n.slice(0,-1),"])"):e}function lc(t){return t.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 uc(t,e){try{return new Function(t)}catch(n){return e.push({err:n,code:t}),I}}function fc(t){var e=Object.create(null);return function(n,r,i){(r=M({},r)).warn;delete r.warn;var o=r.delimiters?String(r.delimiters)+n:n;if(e[o])return e[o];var a=t(n,r);var s={},c=[];return s.render=uc(a.render,c),s.staticRenderFns=a.staticRenderFns.map((function(t){return uc(t,c)})),e[o]=s}}var hc,dc=function(t){return function(e){function n(n,r){var i=Object.create(e),o=[],a=[];if(r)for(var s in r.modules&&(i.modules=(e.modules||[]).concat(r.modules)),r.directives&&(i.directives=M(Object.create(e.directives||null),r.directives)),r)"modules"!==s&&"directives"!==s&&(i[s]=r[s]);i.warn=function(t,e,n){(n?a:o).push(t)};var c=t(n.trim(),i);return c.errors=o,c.tips=a,c}return{compile:n,compileToFunctions:fc(n)}}}((function(t,e){var n=ys(t.trim(),e);!1!==e.optimize&&Rs(n,e);var r=Xs(n,e);return{ast:n,render:r.render,staticRenderFns:r.staticRenderFns}})),pc=dc(Ds).compileToFunctions;function mc(t){return(hc=hc||document.createElement("div")).innerHTML=t?'<a href="\n"/>':'<div a="\n"/>',hc.innerHTML.indexOf("&#10;")>0}var vc=!!G&&mc(!1),gc=!!G&&mc(!0),yc=C((function(t){var e=ni(t);return e&&e.innerHTML})),bc=Cr.prototype.$mount;Cr.prototype.$mount=function(t,e){if((t=t&&ni(t))===document.body||t===document.documentElement)return this;var n=this.$options;if(!n.render){var r=n.template;if(r)if("string"==typeof r)"#"===r.charAt(0)&&(r=yc(r));else{if(!r.nodeType)return this;r=r.innerHTML}else t&&(r=function(t){if(t.outerHTML)return t.outerHTML;var e=document.createElement("div");return e.appendChild(t.cloneNode(!0)),e.innerHTML}(t));if(r){0;var i=pc(r,{outputSourceRange:!1,shouldDecodeNewlines:vc,shouldDecodeNewlinesForHref:gc,delimiters:n.delimiters,comments:n.comments},this),o=i.render,a=i.staticRenderFns;n.render=o,n.staticRenderFns=a}}return bc.call(this,t,e)},Cr.compile=pc},5400:(t,e,n)=>{"use strict";n.d(e,{aZ:()=>Ge,iH:()=>Ut});var r=Object.freeze({}),i=Array.isArray;function o(t){return null==t}function a(t){return null!=t}function s(t){return!0===t}function c(t){return"string"==typeof t||"number"==typeof t||"symbol"==typeof t||"boolean"==typeof t}function l(t){return"function"==typeof t}function u(t){return null!==t&&"object"==typeof t}var f=Object.prototype.toString;function h(t){return"[object Object]"===f.call(t)}function d(t){return"[object RegExp]"===f.call(t)}function p(t){var e=parseFloat(String(t));return e>=0&&Math.floor(e)===e&&isFinite(t)}function m(t){return a(t)&&"function"==typeof t.then&&"function"==typeof t.catch}function v(t){return null==t?"":Array.isArray(t)||h(t)&&t.toString===f?JSON.stringify(t,g,2):String(t)}function g(t,e){return e&&e.__v_isRef?e.value:e}function y(t){var e=parseFloat(t);return isNaN(e)?t:e}function b(t,e){for(var n=Object.create(null),r=t.split(","),i=0;i<r.length;i++)n[r[i]]=!0;return e?function(t){return n[t.toLowerCase()]}:function(t){return n[t]}}b("slot,component",!0);var w=b("key,ref,slot,slot-scope,is");function _(t,e){var n=t.length;if(n){if(e===t[n-1])return void(t.length=n-1);var r=t.indexOf(e);if(r>-1)return t.splice(r,1)}}var x=Object.prototype.hasOwnProperty;function k(t,e){return x.call(t,e)}function O(t){var e=Object.create(null);return function(n){return e[n]||(e[n]=t(n))}}var C=/-(\w)/g,S=O((function(t){return t.replace(C,(function(t,e){return e?e.toUpperCase():""}))})),E=O((function(t){return t.charAt(0).toUpperCase()+t.slice(1)})),T=/\B([A-Z])/g,P=O((function(t){return t.replace(T,"-$1").toLowerCase()}));var A=Function.prototype.bind?function(t,e){return t.bind(e)}:function(t,e){function n(n){var r=arguments.length;return r?r>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n};function j(t,e){e=e||0;for(var n=t.length-e,r=new Array(n);n--;)r[n]=t[n+e];return r}function D(t,e){for(var n in e)t[n]=e[n];return t}function M(t){for(var e={},n=0;n<t.length;n++)t[n]&&D(e,t[n]);return e}function R(t,e,n){}var I=function(t,e,n){return!1},N=function(t){return t};function L(t,e){if(t===e)return!0;var n=u(t),r=u(e);if(!n||!r)return!n&&!r&&String(t)===String(e);try{var i=Array.isArray(t),o=Array.isArray(e);if(i&&o)return t.length===e.length&&t.every((function(t,n){return L(t,e[n])}));if(t instanceof Date&&e instanceof Date)return t.getTime()===e.getTime();if(i||o)return!1;var a=Object.keys(t),s=Object.keys(e);return a.length===s.length&&a.every((function(n){return L(t[n],e[n])}))}catch(t){return!1}}function $(t,e){for(var n=0;n<t.length;n++)if(L(t[n],e))return n;return-1}function F(t){var e=!1;return function(){e||(e=!0,t.apply(this,arguments))}}function B(t,e){return t===e?0===t&&1/t!=1/e:t==t||e==e}var z="data-server-rendered",H=["component","directive","filter"],U=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch","renderTracked","renderTriggered"],q={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:I,isReservedAttr:I,isUnknownElement:I,getTagNamespace:R,parsePlatformTagName:N,mustUseProp:I,async:!0,_lifecycleHooks:U},W=/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 V(t){var e=(t+"").charCodeAt(0);return 36===e||95===e}function Z(t,e,n,r){Object.defineProperty(t,e,{value:n,enumerable:!!r,writable:!0,configurable:!0})}var Y=new RegExp("[^".concat(W.source,".$_\\d]"));var X="__proto__"in{},K="undefined"!=typeof window,G=K&&window.navigator.userAgent.toLowerCase(),Q=G&&/msie|trident/.test(G),J=G&&G.indexOf("msie 9.0")>0,tt=G&&G.indexOf("edge/")>0;G&&G.indexOf("android");var et=G&&/iphone|ipad|ipod|ios/.test(G);G&&/chrome\/\d+/.test(G),G&&/phantomjs/.test(G);var nt,rt=G&&G.match(/firefox\/(\d+)/),it={}.watch,ot=!1;if(K)try{var at={};Object.defineProperty(at,"passive",{get:function(){ot=!0}}),window.addEventListener("test-passive",null,at)}catch(t){}var st=function(){return void 0===nt&&(nt=!K&&void 0!==n.g&&(n.g.process&&"server"===n.g.process.env.VUE_ENV)),nt},ct=K&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function lt(t){return"function"==typeof t&&/native code/.test(t.toString())}var ut,ft="undefined"!=typeof Symbol&&lt(Symbol)&&"undefined"!=typeof Reflect&&lt(Reflect.ownKeys);ut="undefined"!=typeof Set&&lt(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return!0===this.set[t]},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var ht=null;function dt(t){void 0===t&&(t=null),t||ht&&ht._scope.off(),ht=t,t&&t._scope.on()}var pt=function(){function t(t,e,n,r,i,o,a,s){this.tag=t,this.data=e,this.children=n,this.text=r,this.elm=i,this.ns=void 0,this.context=o,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=e&&e.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}return Object.defineProperty(t.prototype,"child",{get:function(){return this.componentInstance},enumerable:!1,configurable:!0}),t}(),mt=function(t){void 0===t&&(t="");var e=new pt;return e.text=t,e.isComment=!0,e};function vt(t){return new pt(void 0,void 0,void 0,String(t))}function gt(t){var e=new pt(t.tag,t.data,t.children&&t.children.slice(),t.text,t.elm,t.context,t.componentOptions,t.asyncFactory);return e.ns=t.ns,e.isStatic=t.isStatic,e.key=t.key,e.isComment=t.isComment,e.fnContext=t.fnContext,e.fnOptions=t.fnOptions,e.fnScopeId=t.fnScopeId,e.asyncMeta=t.asyncMeta,e.isCloned=!0,e}"function"==typeof SuppressedError&&SuppressedError;var yt=0,bt=[],wt=function(){for(var t=0;t<bt.length;t++){var e=bt[t];e.subs=e.subs.filter((function(t){return t})),e._pending=!1}bt.length=0},_t=function(){function t(){this._pending=!1,this.id=yt++,this.subs=[]}return t.prototype.addSub=function(t){this.subs.push(t)},t.prototype.removeSub=function(t){this.subs[this.subs.indexOf(t)]=null,this._pending||(this._pending=!0,bt.push(this))},t.prototype.depend=function(e){t.target&&t.target.addDep(this)},t.prototype.notify=function(t){var e=this.subs.filter((function(t){return t}));for(var n=0,r=e.length;n<r;n++){0,e[n].update()}},t}();_t.target=null;var xt=[];function kt(t){xt.push(t),_t.target=t}function Ot(){xt.pop(),_t.target=xt[xt.length-1]}var Ct=Array.prototype,St=Object.create(Ct);["push","pop","shift","unshift","splice","sort","reverse"].forEach((function(t){var e=Ct[t];Z(St,t,(function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var i,o=e.apply(this,n),a=this.__ob__;switch(t){case"push":case"unshift":i=n;break;case"splice":i=n.slice(2)}return i&&a.observeArray(i),a.dep.notify(),o}))}));var Et=Object.getOwnPropertyNames(St),Tt={},Pt=!0;function At(t){Pt=t}var jt={notify:R,depend:R,addSub:R,removeSub:R},Dt=function(){function t(t,e,n){if(void 0===e&&(e=!1),void 0===n&&(n=!1),this.value=t,this.shallow=e,this.mock=n,this.dep=n?jt:new _t,this.vmCount=0,Z(t,"__ob__",this),i(t)){if(!n)if(X)t.__proto__=St;else for(var r=0,o=Et.length;r<o;r++){Z(t,s=Et[r],St[s])}e||this.observeArray(t)}else{var a=Object.keys(t);for(r=0;r<a.length;r++){var s;Rt(t,s=a[r],Tt,void 0,e,n)}}}return t.prototype.observeArray=function(t){for(var e=0,n=t.length;e<n;e++)Mt(t[e],!1,this.mock)},t}();function Mt(t,e,n){return t&&k(t,"__ob__")&&t.__ob__ instanceof Dt?t.__ob__:!Pt||!n&&st()||!i(t)&&!h(t)||!Object.isExtensible(t)||t.__v_skip||Ht(t)||t instanceof pt?void 0:new Dt(t,e,n)}function Rt(t,e,n,r,o,a,s){void 0===s&&(s=!1);var c=new _t,l=Object.getOwnPropertyDescriptor(t,e);if(!l||!1!==l.configurable){var u=l&&l.get,f=l&&l.set;u&&!f||n!==Tt&&2!==arguments.length||(n=t[e]);var h=o?n&&n.__ob__:Mt(n,!1,a);return Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){var e=u?u.call(t):n;return _t.target&&(c.depend(),h&&(h.dep.depend(),i(e)&&Lt(e))),Ht(e)&&!o?e.value:e},set:function(e){var r=u?u.call(t):n;if(B(r,e)){if(f)f.call(t,e);else{if(u)return;if(!o&&Ht(r)&&!Ht(e))return void(r.value=e);n=e}h=o?e&&e.__ob__:Mt(e,!1,a),c.notify()}}}),c}}function It(t,e,n){if(!Bt(t)){var r=t.__ob__;return i(t)&&p(e)?(t.length=Math.max(t.length,e),t.splice(e,1,n),r&&!r.shallow&&r.mock&&Mt(n,!1,!0),n):e in t&&!(e in Object.prototype)?(t[e]=n,n):t._isVue||r&&r.vmCount?n:r?(Rt(r.value,e,n,void 0,r.shallow,r.mock),r.dep.notify(),n):(t[e]=n,n)}}function Nt(t,e){if(i(t)&&p(e))t.splice(e,1);else{var n=t.__ob__;t._isVue||n&&n.vmCount||Bt(t)||k(t,e)&&(delete t[e],n&&n.dep.notify())}}function Lt(t){for(var e=void 0,n=0,r=t.length;n<r;n++)(e=t[n])&&e.__ob__&&e.__ob__.dep.depend(),i(e)&&Lt(e)}function $t(t){return Ft(t,!0),Z(t,"__v_isShallow",!0),t}function Ft(t,e){if(!Bt(t)){Mt(t,e,st());0}}function Bt(t){return!(!t||!t.__v_isReadonly)}var zt="__v_isRef";function Ht(t){return!(!t||!0!==t.__v_isRef)}function Ut(t){return qt(t,!1)}function qt(t,e){if(Ht(t))return t;var n={};return Z(n,zt,!0),Z(n,"__v_isShallow",e),Z(n,"dep",Rt(n,"value",t,null,e,st())),n}function Wt(t,e,n){Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:function(){var t=e[n];if(Ht(t))return t.value;var r=t&&t.__ob__;return r&&r.dep.depend(),t},set:function(t){var r=e[n];Ht(r)&&!Ht(t)?r.value=t:e[n]=t}})}var Vt="watcher";"".concat(Vt," callback"),"".concat(Vt," getter"),"".concat(Vt," cleanup");var Zt;var Yt=function(){function t(t){void 0===t&&(t=!1),this.detached=t,this.active=!0,this.effects=[],this.cleanups=[],this.parent=Zt,!t&&Zt&&(this.index=(Zt.scopes||(Zt.scopes=[])).push(this)-1)}return t.prototype.run=function(t){if(this.active){var e=Zt;try{return Zt=this,t()}finally{Zt=e}}else 0},t.prototype.on=function(){Zt=this},t.prototype.off=function(){Zt=this.parent},t.prototype.stop=function(t){if(this.active){var e=void 0,n=void 0;for(e=0,n=this.effects.length;e<n;e++)this.effects[e].teardown();for(e=0,n=this.cleanups.length;e<n;e++)this.cleanups[e]();if(this.scopes)for(e=0,n=this.scopes.length;e<n;e++)this.scopes[e].stop(!0);if(!this.detached&&this.parent&&!t){var r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0,this.active=!1}},t}();function Xt(t){var e=t._provided,n=t.$parent&&t.$parent._provided;return n===e?t._provided=Object.create(n):e}var Kt=O((function(t){var e="&"===t.charAt(0),n="~"===(t=e?t.slice(1):t).charAt(0),r="!"===(t=n?t.slice(1):t).charAt(0);return{name:t=r?t.slice(1):t,once:n,capture:r,passive:e}}));function Gt(t,e){function n(){var t=n.fns;if(!i(t))return Le(t,null,arguments,e,"v-on handler");for(var r=t.slice(),o=0;o<r.length;o++)Le(r[o],null,arguments,e,"v-on handler")}return n.fns=t,n}function Qt(t,e,n,r,i,a){var c,l,u,f;for(c in t)l=t[c],u=e[c],f=Kt(c),o(l)||(o(u)?(o(l.fns)&&(l=t[c]=Gt(l,a)),s(f.once)&&(l=t[c]=i(f.name,l,f.capture)),n(f.name,l,f.capture,f.passive,f.params)):l!==u&&(u.fns=l,t[c]=u));for(c in e)o(t[c])&&r((f=Kt(c)).name,e[c],f.capture)}function Jt(t,e,n){var r;t instanceof pt&&(t=t.data.hook||(t.data.hook={}));var i=t[e];function c(){n.apply(this,arguments),_(r.fns,c)}o(i)?r=Gt([c]):a(i.fns)&&s(i.merged)?(r=i).fns.push(c):r=Gt([i,c]),r.merged=!0,t[e]=r}function te(t,e,n,r,i){if(a(e)){if(k(e,n))return t[n]=e[n],i||delete e[n],!0;if(k(e,r))return t[n]=e[r],i||delete e[r],!0}return!1}function ee(t){return c(t)?[vt(t)]:i(t)?re(t):void 0}function ne(t){return a(t)&&a(t.text)&&function(t){return!1===t}(t.isComment)}function re(t,e){var n,r,l,u,f=[];for(n=0;n<t.length;n++)o(r=t[n])||"boolean"==typeof r||(u=f[l=f.length-1],i(r)?r.length>0&&(ne((r=re(r,"".concat(e||"","_").concat(n)))[0])&&ne(u)&&(f[l]=vt(u.text+r[0].text),r.shift()),f.push.apply(f,r)):c(r)?ne(u)?f[l]=vt(u.text+r):""!==r&&f.push(vt(r)):ne(r)&&ne(u)?f[l]=vt(u.text+r.text):(s(t._isVList)&&a(r.tag)&&o(r.key)&&a(e)&&(r.key="__vlist".concat(e,"_").concat(n,"__")),f.push(r)));return f}function ie(t,e){var n,r,o,s,c=null;if(i(t)||"string"==typeof t)for(c=new Array(t.length),n=0,r=t.length;n<r;n++)c[n]=e(t[n],n);else if("number"==typeof t)for(c=new Array(t),n=0;n<t;n++)c[n]=e(n+1,n);else if(u(t))if(ft&&t[Symbol.iterator]){c=[];for(var l=t[Symbol.iterator](),f=l.next();!f.done;)c.push(e(f.value,c.length)),f=l.next()}else for(o=Object.keys(t),c=new Array(o.length),n=0,r=o.length;n<r;n++)s=o[n],c[n]=e(t[s],s,n);return a(c)||(c=[]),c._isVList=!0,c}function oe(t,e,n,r){var i,o=this.$scopedSlots[t];o?(n=n||{},r&&(n=D(D({},r),n)),i=o(n)||(l(e)?e():e)):i=this.$slots[t]||(l(e)?e():e);var a=n&&n.slot;return a?this.$createElement("template",{slot:a},i):i}function ae(t){return qn(this.$options,"filters",t,!0)||N}function se(t,e){return i(t)?-1===t.indexOf(e):t!==e}function ce(t,e,n,r,i){var o=q.keyCodes[e]||n;return i&&r&&!q.keyCodes[e]?se(i,r):o?se(o,t):r?P(r)!==e:void 0===t}function le(t,e,n,r,o){if(n)if(u(n)){i(n)&&(n=M(n));var a=void 0,s=function(i){if("class"===i||"style"===i||w(i))a=t;else{var s=t.attrs&&t.attrs.type;a=r||q.mustUseProp(e,s,i)?t.domProps||(t.domProps={}):t.attrs||(t.attrs={})}var c=S(i),l=P(i);c in a||l in a||(a[i]=n[i],o&&((t.on||(t.on={}))["update:".concat(i)]=function(t){n[i]=t}))};for(var c in n)s(c)}else;return t}function ue(t,e){var n=this._staticTrees||(this._staticTrees=[]),r=n[t];return r&&!e||he(r=n[t]=this.$options.staticRenderFns[t].call(this._renderProxy,this._c,this),"__static__".concat(t),!1),r}function fe(t,e,n){return he(t,"__once__".concat(e).concat(n?"_".concat(n):""),!0),t}function he(t,e,n){if(i(t))for(var r=0;r<t.length;r++)t[r]&&"string"!=typeof t[r]&&de(t[r],"".concat(e,"_").concat(r),n);else de(t,e,n)}function de(t,e,n){t.isStatic=!0,t.key=e,t.isOnce=n}function pe(t,e){if(e)if(h(e)){var n=t.on=t.on?D({},t.on):{};for(var r in e){var i=n[r],o=e[r];n[r]=i?[].concat(i,o):o}}else;return t}function me(t,e,n,r){e=e||{$stable:!n};for(var o=0;o<t.length;o++){var a=t[o];i(a)?me(a,e,n):a&&(a.proxy&&(a.fn.proxy=!0),e[a.key]=a.fn)}return r&&(e.$key=r),e}function ve(t,e){for(var n=0;n<e.length;n+=2){var r=e[n];"string"==typeof r&&r&&(t[e[n]]=e[n+1])}return t}function ge(t,e){return"string"==typeof t?e+t:t}function ye(t){t._o=fe,t._n=y,t._s=v,t._l=ie,t._t=oe,t._q=L,t._i=$,t._m=ue,t._f=ae,t._k=ce,t._b=le,t._v=vt,t._e=mt,t._u=me,t._g=pe,t._d=ve,t._p=ge}function be(t,e){if(!t||!t.length)return{};for(var n={},r=0,i=t.length;r<i;r++){var o=t[r],a=o.data;if(a&&a.attrs&&a.attrs.slot&&delete a.attrs.slot,o.context!==e&&o.fnContext!==e||!a||null==a.slot)(n.default||(n.default=[])).push(o);else{var s=a.slot,c=n[s]||(n[s]=[]);"template"===o.tag?c.push.apply(c,o.children||[]):c.push(o)}}for(var l in n)n[l].every(we)&&delete n[l];return n}function we(t){return t.isComment&&!t.asyncFactory||" "===t.text}function _e(t){return t.isComment&&t.asyncFactory}function xe(t,e,n,i){var o,a=Object.keys(n).length>0,s=e?!!e.$stable:!a,c=e&&e.$key;if(e){if(e._normalized)return e._normalized;if(s&&i&&i!==r&&c===i.$key&&!a&&!i.$hasNormal)return i;for(var l in o={},e)e[l]&&"$"!==l[0]&&(o[l]=ke(t,n,l,e[l]))}else o={};for(var u in n)u in o||(o[u]=Oe(n,u));return e&&Object.isExtensible(e)&&(e._normalized=o),Z(o,"$stable",s),Z(o,"$key",c),Z(o,"$hasNormal",a),o}function ke(t,e,n,r){var o=function(){var e=ht;dt(t);var n=arguments.length?r.apply(null,arguments):r({}),o=(n=n&&"object"==typeof n&&!i(n)?[n]:ee(n))&&n[0];return dt(e),n&&(!o||1===n.length&&o.isComment&&!_e(o))?void 0:n};return r.proxy&&Object.defineProperty(e,n,{get:o,enumerable:!0,configurable:!0}),o}function Oe(t,e){return function(){return t[e]}}function Ce(t){return{get attrs(){if(!t._attrsProxy){var e=t._attrsProxy={};Z(e,"_v_attr_proxy",!0),Se(e,t.$attrs,r,t,"$attrs")}return t._attrsProxy},get listeners(){t._listenersProxy||Se(t._listenersProxy={},t.$listeners,r,t,"$listeners");return t._listenersProxy},get slots(){return function(t){t._slotsProxy||Te(t._slotsProxy={},t.$scopedSlots);return t._slotsProxy}(t)},emit:A(t.$emit,t),expose:function(e){e&&Object.keys(e).forEach((function(n){return Wt(t,e,n)}))}}}function Se(t,e,n,r,i){var o=!1;for(var a in e)a in t?e[a]!==n[a]&&(o=!0):(o=!0,Ee(t,a,r,i));for(var a in t)a in e||(o=!0,delete t[a]);return o}function Ee(t,e,n,r){Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){return n[r][e]}})}function Te(t,e){for(var n in e)t[n]=e[n];for(var n in t)n in e||delete t[n]}var Pe=null;function Ae(t,e){return(t.__esModule||ft&&"Module"===t[Symbol.toStringTag])&&(t=t.default),u(t)?e.extend(t):t}function je(t){if(i(t))for(var e=0;e<t.length;e++){var n=t[e];if(a(n)&&(a(n.componentOptions)||_e(n)))return n}}var De=1,Me=2;function Re(t,e,n,r,o,f){return(i(n)||c(n))&&(o=r,r=n,n=void 0),s(f)&&(o=Me),function(t,e,n,r,o){if(a(n)&&a(n.__ob__))return mt();a(n)&&a(n.is)&&(e=n.is);if(!e)return mt();0;i(r)&&l(r[0])&&((n=n||{}).scopedSlots={default:r[0]},r.length=0);o===Me?r=ee(r):o===De&&(r=function(t){for(var e=0;e<t.length;e++)if(i(t[e]))return Array.prototype.concat.apply([],t);return t}(r));var s,c;if("string"==typeof e){var f=void 0;c=t.$vnode&&t.$vnode.ns||q.getTagNamespace(e),s=q.isReservedTag(e)?new pt(q.parsePlatformTagName(e),n,r,void 0,void 0,t):n&&n.pre||!a(f=qn(t.$options,"components",e))?new pt(e,n,r,void 0,void 0,t):Rn(f,n,t,r,e)}else s=Rn(e,n,t,r);return i(s)?s:a(s)?(a(c)&&Ie(s,c),a(n)&&function(t){u(t.style)&&Je(t.style);u(t.class)&&Je(t.class)}(n),s):mt()}(t,e,n,r,o)}function Ie(t,e,n){if(t.ns=e,"foreignObject"===t.tag&&(e=void 0,n=!0),a(t.children))for(var r=0,i=t.children.length;r<i;r++){var c=t.children[r];a(c.tag)&&(o(c.ns)||s(n)&&"svg"!==c.tag)&&Ie(c,e,n)}}function Ne(t,e,n){kt();try{if(e)for(var r=e;r=r.$parent;){var i=r.$options.errorCaptured;if(i)for(var o=0;o<i.length;o++)try{if(!1===i[o].call(r,t,e,n))return}catch(t){$e(t,r,"errorCaptured hook")}}$e(t,e,n)}finally{Ot()}}function Le(t,e,n,r,i){var o;try{(o=n?t.apply(e,n):t.call(e))&&!o._isVue&&m(o)&&!o._handled&&(o.catch((function(t){return Ne(t,r,i+" (Promise/async)")})),o._handled=!0)}catch(t){Ne(t,r,i)}return o}function $e(t,e,n){if(q.errorHandler)try{return q.errorHandler.call(null,t,e,n)}catch(e){e!==t&&Fe(e,null,"config.errorHandler")}Fe(t,e,n)}function Fe(t,e,n){if(!K||"undefined"==typeof console)throw t;console.error(t)}var Be,ze=!1,He=[],Ue=!1;function qe(){Ue=!1;var t=He.slice(0);He.length=0;for(var e=0;e<t.length;e++)t[e]()}if("undefined"!=typeof Promise&&lt(Promise)){var We=Promise.resolve();Be=function(){We.then(qe),et&&setTimeout(R)},ze=!0}else if(Q||"undefined"==typeof MutationObserver||!lt(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())Be="undefined"!=typeof setImmediate&&lt(setImmediate)?function(){setImmediate(qe)}:function(){setTimeout(qe,0)};else{var Ve=1,Ze=new MutationObserver(qe),Ye=document.createTextNode(String(Ve));Ze.observe(Ye,{characterData:!0}),Be=function(){Ve=(Ve+1)%2,Ye.data=String(Ve)},ze=!0}function Xe(t,e){var n;if(He.push((function(){if(t)try{t.call(e)}catch(t){Ne(t,e,"nextTick")}else n&&n(e)})),Ue||(Ue=!0,Be()),!t&&"undefined"!=typeof Promise)return new Promise((function(t){n=t}))}function Ke(t){return function(e,n){if(void 0===n&&(n=ht),n)return function(t,e,n){var r=t.$options;r[e]=Bn(r[e],n)}(n,t,e)}}Ke("beforeMount"),Ke("mounted"),Ke("beforeUpdate"),Ke("updated"),Ke("beforeDestroy"),Ke("destroyed"),Ke("activated"),Ke("deactivated"),Ke("serverPrefetch"),Ke("renderTracked"),Ke("renderTriggered"),Ke("errorCaptured");function Ge(t){return t}var Qe=new ut;function Je(t){return tn(t,Qe),Qe.clear(),t}function tn(t,e){var n,r,o=i(t);if(!(!o&&!u(t)||t.__v_skip||Object.isFrozen(t)||t instanceof pt)){if(t.__ob__){var a=t.__ob__.dep.id;if(e.has(a))return;e.add(a)}if(o)for(n=t.length;n--;)tn(t[n],e);else if(Ht(t))tn(t.value,e);else for(n=(r=Object.keys(t)).length;n--;)tn(t[r[n]],e)}}var en,nn=0,rn=function(){function t(t,e,n,r,i){!function(t,e){void 0===e&&(e=Zt),e&&e.active&&e.effects.push(t)}(this,Zt&&!Zt._vm?Zt:t?t._scope:void 0),(this.vm=t)&&i&&(t._watcher=this),r?(this.deep=!!r.deep,this.user=!!r.user,this.lazy=!!r.lazy,this.sync=!!r.sync,this.before=r.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++nn,this.active=!0,this.post=!1,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new ut,this.newDepIds=new ut,this.expression="",l(e)?this.getter=e:(this.getter=function(t){if(!Y.test(t)){var e=t.split(".");return function(t){for(var n=0;n<e.length;n++){if(!t)return;t=t[e[n]]}return t}}}(e),this.getter||(this.getter=R)),this.value=this.lazy?void 0:this.get()}return t.prototype.get=function(){var t;kt(this);var e=this.vm;try{t=this.getter.call(e,e)}catch(t){if(!this.user)throw t;Ne(t,e,'getter for watcher "'.concat(this.expression,'"'))}finally{this.deep&&Je(t),Ot(),this.cleanupDeps()}return t},t.prototype.addDep=function(t){var e=t.id;this.newDepIds.has(e)||(this.newDepIds.add(e),this.newDeps.push(t),this.depIds.has(e)||t.addSub(this))},t.prototype.cleanupDeps=function(){for(var t=this.deps.length;t--;){var e=this.deps[t];this.newDepIds.has(e.id)||e.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},t.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():Sn(this)},t.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||u(t)||this.deep){var e=this.value;if(this.value=t,this.user){var n='callback for watcher "'.concat(this.expression,'"');Le(this.cb,this.vm,[t,e],this.vm,n)}else this.cb.call(this.vm,t,e)}}},t.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},t.prototype.depend=function(){for(var t=this.deps.length;t--;)this.deps[t].depend()},t.prototype.teardown=function(){if(this.vm&&!this.vm._isBeingDestroyed&&_(this.vm._scope.effects,this),this.active){for(var t=this.deps.length;t--;)this.deps[t].removeSub(this);this.active=!1,this.onStop&&this.onStop()}},t}();function on(t,e){en.$on(t,e)}function an(t,e){en.$off(t,e)}function sn(t,e){var n=en;return function r(){null!==e.apply(null,arguments)&&n.$off(t,r)}}function cn(t,e,n){en=t,Qt(e,n||{},on,an,sn,t),en=void 0}var ln=null;function un(t){var e=ln;return ln=t,function(){ln=e}}function fn(t){for(;t&&(t=t.$parent);)if(t._inactive)return!0;return!1}function hn(t,e){if(e){if(t._directInactive=!1,fn(t))return}else if(t._directInactive)return;if(t._inactive||null===t._inactive){t._inactive=!1;for(var n=0;n<t.$children.length;n++)hn(t.$children[n]);pn(t,"activated")}}function dn(t,e){if(!(e&&(t._directInactive=!0,fn(t))||t._inactive)){t._inactive=!0;for(var n=0;n<t.$children.length;n++)dn(t.$children[n]);pn(t,"deactivated")}}function pn(t,e,n,r){void 0===r&&(r=!0),kt();var i=ht,o=function(){return Zt}();r&&dt(t);var a=t.$options[e],s="".concat(e," hook");if(a)for(var c=0,l=a.length;c<l;c++)Le(a[c],t,n||null,t,s);t._hasHookEvent&&t.$emit("hook:"+e),r&&(dt(i),o&&o.on()),Ot()}var mn=[],vn=[],gn={},yn=!1,bn=!1,wn=0;var _n=0,xn=Date.now;if(K&&!Q){var kn=window.performance;kn&&"function"==typeof kn.now&&xn()>document.createEvent("Event").timeStamp&&(xn=function(){return kn.now()})}var On=function(t,e){if(t.post){if(!e.post)return 1}else if(e.post)return-1;return t.id-e.id};function Cn(){var t,e;for(_n=xn(),bn=!0,mn.sort(On),wn=0;wn<mn.length;wn++)(t=mn[wn]).before&&t.before(),e=t.id,gn[e]=null,t.run();var n=vn.slice(),r=mn.slice();!function(){wn=mn.length=vn.length=0,gn={},yn=bn=!1}(),function(t){for(var e=0;e<t.length;e++)t[e]._inactive=!0,hn(t[e],!0)}(n),function(t){var e=t.length;for(;e--;){var n=t[e],r=n.vm;r&&r._watcher===n&&r._isMounted&&!r._isDestroyed&&pn(r,"updated")}}(r),wt(),ct&&q.devtools&&ct.emit("flush")}function Sn(t){var e=t.id;if(null==gn[e]&&(t!==_t.target||!t.noRecurse)){if(gn[e]=!0,bn){for(var n=mn.length-1;n>wn&&mn[n].id>t.id;)n--;mn.splice(n+1,0,t)}else mn.push(t);yn||(yn=!0,Xe(Cn))}}function En(t,e){if(t){for(var n=Object.create(null),r=ft?Reflect.ownKeys(t):Object.keys(t),i=0;i<r.length;i++){var o=r[i];if("__ob__"!==o){var a=t[o].from;if(a in e._provided)n[o]=e._provided[a];else if("default"in t[o]){var s=t[o].default;n[o]=l(s)?s.call(e):s}else 0}}return n}}function Tn(t,e,n,o,a){var c,l=this,u=a.options;k(o,"_uid")?(c=Object.create(o))._original=o:(c=o,o=o._original);var f=s(u._compiled),h=!f;this.data=t,this.props=e,this.children=n,this.parent=o,this.listeners=t.on||r,this.injections=En(u.inject,o),this.slots=function(){return l.$slots||xe(o,t.scopedSlots,l.$slots=be(n,o)),l.$slots},Object.defineProperty(this,"scopedSlots",{enumerable:!0,get:function(){return xe(o,t.scopedSlots,this.slots())}}),f&&(this.$options=u,this.$slots=this.slots(),this.$scopedSlots=xe(o,t.scopedSlots,this.$slots)),u._scopeId?this._c=function(t,e,n,r){var a=Re(c,t,e,n,r,h);return a&&!i(a)&&(a.fnScopeId=u._scopeId,a.fnContext=o),a}:this._c=function(t,e,n,r){return Re(c,t,e,n,r,h)}}function Pn(t,e,n,r,i){var o=gt(t);return o.fnContext=n,o.fnOptions=r,e.slot&&((o.data||(o.data={})).slot=e.slot),o}function An(t,e){for(var n in e)t[S(n)]=e[n]}function jn(t){return t.name||t.__name||t._componentTag}ye(Tn.prototype);var Dn={init:function(t,e){if(t.componentInstance&&!t.componentInstance._isDestroyed&&t.data.keepAlive){var n=t;Dn.prepatch(n,n)}else{(t.componentInstance=function(t,e){var n={_isComponent:!0,_parentVnode:t,parent:e},r=t.data.inlineTemplate;a(r)&&(n.render=r.render,n.staticRenderFns=r.staticRenderFns);return new t.componentOptions.Ctor(n)}(t,ln)).$mount(e?t.elm:void 0,e)}},prepatch:function(t,e){var n=e.componentOptions;!function(t,e,n,i,o){var a=i.data.scopedSlots,s=t.$scopedSlots,c=!!(a&&!a.$stable||s!==r&&!s.$stable||a&&t.$scopedSlots.$key!==a.$key||!a&&t.$scopedSlots.$key),l=!!(o||t.$options._renderChildren||c),u=t.$vnode;t.$options._parentVnode=i,t.$vnode=i,t._vnode&&(t._vnode.parent=i),t.$options._renderChildren=o;var f=i.data.attrs||r;t._attrsProxy&&Se(t._attrsProxy,f,u.data&&u.data.attrs||r,t,"$attrs")&&(l=!0),t.$attrs=f,n=n||r;var h=t.$options._parentListeners;if(t._listenersProxy&&Se(t._listenersProxy,n,h||r,t,"$listeners"),t.$listeners=t.$options._parentListeners=n,cn(t,n,h),e&&t.$options.props){At(!1);for(var d=t._props,p=t.$options._propKeys||[],m=0;m<p.length;m++){var v=p[m],g=t.$options.props;d[v]=Wn(v,g,e,t)}At(!0),t.$options.propsData=e}l&&(t.$slots=be(o,i.context),t.$forceUpdate())}(e.componentInstance=t.componentInstance,n.propsData,n.listeners,e,n.children)},insert:function(t){var e=t.context,n=t.componentInstance;n._isMounted||(n._isMounted=!0,pn(n,"mounted")),t.data.keepAlive&&(e._isMounted?function(t){t._inactive=!1,vn.push(t)}(n):hn(n,!0))},destroy:function(t){var e=t.componentInstance;e._isDestroyed||(t.data.keepAlive?dn(e,!0):e.$destroy())}},Mn=Object.keys(Dn);function Rn(t,e,n,c,l){if(!o(t)){var f=n.$options._base;if(u(t)&&(t=f.extend(t)),"function"==typeof t){var h;if(o(t.cid)&&(t=function(t,e){if(s(t.error)&&a(t.errorComp))return t.errorComp;if(a(t.resolved))return t.resolved;var n=Pe;if(n&&a(t.owners)&&-1===t.owners.indexOf(n)&&t.owners.push(n),s(t.loading)&&a(t.loadingComp))return t.loadingComp;if(n&&!a(t.owners)){var r=t.owners=[n],i=!0,c=null,l=null;n.$on("hook:destroyed",(function(){return _(r,n)}));var f=function(t){for(var e=0,n=r.length;e<n;e++)r[e].$forceUpdate();t&&(r.length=0,null!==c&&(clearTimeout(c),c=null),null!==l&&(clearTimeout(l),l=null))},h=F((function(n){t.resolved=Ae(n,e),i?r.length=0:f(!0)})),d=F((function(e){a(t.errorComp)&&(t.error=!0,f(!0))})),p=t(h,d);return u(p)&&(m(p)?o(t.resolved)&&p.then(h,d):m(p.component)&&(p.component.then(h,d),a(p.error)&&(t.errorComp=Ae(p.error,e)),a(p.loading)&&(t.loadingComp=Ae(p.loading,e),0===p.delay?t.loading=!0:c=setTimeout((function(){c=null,o(t.resolved)&&o(t.error)&&(t.loading=!0,f(!1))}),p.delay||200)),a(p.timeout)&&(l=setTimeout((function(){l=null,o(t.resolved)&&d(null)}),p.timeout)))),i=!1,t.loading?t.loadingComp:t.resolved}}(h=t,f),void 0===t))return function(t,e,n,r,i){var o=mt();return o.asyncFactory=t,o.asyncMeta={data:e,context:n,children:r,tag:i},o}(h,e,n,c,l);e=e||{},or(t),a(e.model)&&function(t,e){var n=t.model&&t.model.prop||"value",r=t.model&&t.model.event||"input";(e.attrs||(e.attrs={}))[n]=e.model.value;var o=e.on||(e.on={}),s=o[r],c=e.model.callback;a(s)?(i(s)?-1===s.indexOf(c):s!==c)&&(o[r]=[c].concat(s)):o[r]=c}(t.options,e);var d=function(t,e,n){var r=e.options.props;if(!o(r)){var i={},s=t.attrs,c=t.props;if(a(s)||a(c))for(var l in r){var u=P(l);te(i,c,l,u,!0)||te(i,s,l,u,!1)}return i}}(e,t);if(s(t.options.functional))return function(t,e,n,o,s){var c=t.options,l={},u=c.props;if(a(u))for(var f in u)l[f]=Wn(f,u,e||r);else a(n.attrs)&&An(l,n.attrs),a(n.props)&&An(l,n.props);var h=new Tn(n,l,s,o,t),d=c.render.call(null,h._c,h);if(d instanceof pt)return Pn(d,n,h.parent,c);if(i(d)){for(var p=ee(d)||[],m=new Array(p.length),v=0;v<p.length;v++)m[v]=Pn(p[v],n,h.parent,c);return m}}(t,d,e,n,c);var p=e.on;if(e.on=e.nativeOn,s(t.options.abstract)){var v=e.slot;e={},v&&(e.slot=v)}!function(t){for(var e=t.hook||(t.hook={}),n=0;n<Mn.length;n++){var r=Mn[n],i=e[r],o=Dn[r];i===o||i&&i._merged||(e[r]=i?In(o,i):o)}}(e);var g=jn(t.options)||l;return new pt("vue-component-".concat(t.cid).concat(g?"-".concat(g):""),e,void 0,void 0,void 0,n,{Ctor:t,propsData:d,listeners:p,tag:l,children:c},h)}}}function In(t,e){var n=function(n,r){t(n,r),e(n,r)};return n._merged=!0,n}var Nn=R,Ln=q.optionMergeStrategies;function $n(t,e,n){if(void 0===n&&(n=!0),!e)return t;for(var r,i,o,a=ft?Reflect.ownKeys(e):Object.keys(e),s=0;s<a.length;s++)"__ob__"!==(r=a[s])&&(i=t[r],o=e[r],n&&k(t,r)?i!==o&&h(i)&&h(o)&&$n(i,o):It(t,r,o));return t}function Fn(t,e,n){return n?function(){var r=l(e)?e.call(n,n):e,i=l(t)?t.call(n,n):t;return r?$n(r,i):i}:e?t?function(){return $n(l(e)?e.call(this,this):e,l(t)?t.call(this,this):t)}:e:t}function Bn(t,e){var n=e?t?t.concat(e):i(e)?e:[e]:t;return n?function(t){for(var e=[],n=0;n<t.length;n++)-1===e.indexOf(t[n])&&e.push(t[n]);return e}(n):n}function zn(t,e,n,r){var i=Object.create(t||null);return e?D(i,e):i}Ln.data=function(t,e,n){return n?Fn(t,e,n):e&&"function"!=typeof e?t:Fn(t,e)},U.forEach((function(t){Ln[t]=Bn})),H.forEach((function(t){Ln[t+"s"]=zn})),Ln.watch=function(t,e,n,r){if(t===it&&(t=void 0),e===it&&(e=void 0),!e)return Object.create(t||null);if(!t)return e;var o={};for(var a in D(o,t),e){var s=o[a],c=e[a];s&&!i(s)&&(s=[s]),o[a]=s?s.concat(c):i(c)?c:[c]}return o},Ln.props=Ln.methods=Ln.inject=Ln.computed=function(t,e,n,r){if(!t)return e;var i=Object.create(null);return D(i,t),e&&D(i,e),i},Ln.provide=function(t,e){return t?function(){var n=Object.create(null);return $n(n,l(t)?t.call(this):t),e&&$n(n,l(e)?e.call(this):e,!1),n}:e};var Hn=function(t,e){return void 0===e?t:e};function Un(t,e,n){if(l(e)&&(e=e.options),function(t,e){var n=t.props;if(n){var r,o,a={};if(i(n))for(r=n.length;r--;)"string"==typeof(o=n[r])&&(a[S(o)]={type:null});else if(h(n))for(var s in n)o=n[s],a[S(s)]=h(o)?o:{type:o};t.props=a}}(e),function(t,e){var n=t.inject;if(n){var r=t.inject={};if(i(n))for(var o=0;o<n.length;o++)r[n[o]]={from:n[o]};else if(h(n))for(var a in n){var s=n[a];r[a]=h(s)?D({from:a},s):{from:s}}}}(e),function(t){var e=t.directives;if(e)for(var n in e){var r=e[n];l(r)&&(e[n]={bind:r,update:r})}}(e),!e._base&&(e.extends&&(t=Un(t,e.extends,n)),e.mixins))for(var r=0,o=e.mixins.length;r<o;r++)t=Un(t,e.mixins[r],n);var a,s={};for(a in t)c(a);for(a in e)k(t,a)||c(a);function c(r){var i=Ln[r]||Hn;s[r]=i(t[r],e[r],n,r)}return s}function qn(t,e,n,r){if("string"==typeof n){var i=t[e];if(k(i,n))return i[n];var o=S(n);if(k(i,o))return i[o];var a=E(o);return k(i,a)?i[a]:i[n]||i[o]||i[a]}}function Wn(t,e,n,r){var i=e[t],o=!k(n,t),a=n[t],s=Xn(Boolean,i.type);if(s>-1)if(o&&!k(i,"default"))a=!1;else if(""===a||a===P(t)){var c=Xn(String,i.type);(c<0||s<c)&&(a=!0)}if(void 0===a){a=function(t,e,n){if(!k(e,"default"))return;var r=e.default;0;if(t&&t.$options.propsData&&void 0===t.$options.propsData[n]&&void 0!==t._props[n])return t._props[n];return l(r)&&"Function"!==Zn(e.type)?r.call(t):r}(r,i,t);var u=Pt;At(!0),Mt(a),At(u)}return a}var Vn=/^\s*function (\w+)/;function Zn(t){var e=t&&t.toString().match(Vn);return e?e[1]:""}function Yn(t,e){return Zn(t)===Zn(e)}function Xn(t,e){if(!i(e))return Yn(e,t)?0:-1;for(var n=0,r=e.length;n<r;n++)if(Yn(e[n],t))return n;return-1}var Kn={enumerable:!0,configurable:!0,get:R,set:R};function Gn(t,e,n){Kn.get=function(){return this[e][n]},Kn.set=function(t){this[e][n]=t},Object.defineProperty(t,n,Kn)}function Qn(t){var e=t.$options;if(e.props&&function(t,e){var n=t.$options.propsData||{},r=t._props=$t({}),i=t.$options._propKeys=[],o=!t.$parent;o||At(!1);var a=function(o){i.push(o);var a=Wn(o,e,n,t);Rt(r,o,a,void 0,!0),o in t||Gn(t,"_props",o)};for(var s in e)a(s);At(!0)}(t,e.props),function(t){var e=t.$options,n=e.setup;if(n){var r=t._setupContext=Ce(t);dt(t),kt();var i=Le(n,null,[t._props||$t({}),r],t,"setup");if(Ot(),dt(),l(i))e.render=i;else if(u(i))if(t._setupState=i,i.__sfc){var o=t._setupProxy={};for(var a in i)"__sfc"!==a&&Wt(o,i,a)}else for(var a in i)V(a)||Wt(t,i,a)}}(t),e.methods&&function(t,e){t.$options.props;for(var n in e)t[n]="function"!=typeof e[n]?R:A(e[n],t)}(t,e.methods),e.data)!function(t){var e=t.$options.data;e=t._data=l(e)?function(t,e){kt();try{return t.call(e,e)}catch(t){return Ne(t,e,"data()"),{}}finally{Ot()}}(e,t):e||{},h(e)||(e={});var n=Object.keys(e),r=t.$options.props,i=(t.$options.methods,n.length);for(;i--;){var o=n[i];0,r&&k(r,o)||V(o)||Gn(t,"_data",o)}var a=Mt(e);a&&a.vmCount++}(t);else{var n=Mt(t._data={});n&&n.vmCount++}e.computed&&function(t,e){var n=t._computedWatchers=Object.create(null),r=st();for(var i in e){var o=e[i],a=l(o)?o:o.get;0,r||(n[i]=new rn(t,a||R,R,Jn)),i in t||tr(t,i,o)}}(t,e.computed),e.watch&&e.watch!==it&&function(t,e){for(var n in e){var r=e[n];if(i(r))for(var o=0;o<r.length;o++)rr(t,n,r[o]);else rr(t,n,r)}}(t,e.watch)}var Jn={lazy:!0};function tr(t,e,n){var r=!st();l(n)?(Kn.get=r?er(e):nr(n),Kn.set=R):(Kn.get=n.get?r&&!1!==n.cache?er(e):nr(n.get):R,Kn.set=n.set||R),Object.defineProperty(t,e,Kn)}function er(t){return function(){var e=this._computedWatchers&&this._computedWatchers[t];if(e)return e.dirty&&e.evaluate(),_t.target&&e.depend(),e.value}}function nr(t){return function(){return t.call(this,this)}}function rr(t,e,n,r){return h(n)&&(r=n,n=n.handler),"string"==typeof n&&(n=t[n]),t.$watch(e,n,r)}var ir=0;function or(t){var e=t.options;if(t.super){var n=or(t.super);if(n!==t.superOptions){t.superOptions=n;var r=function(t){var e,n=t.options,r=t.sealedOptions;for(var i in n)n[i]!==r[i]&&(e||(e={}),e[i]=n[i]);return e}(t);r&&D(t.extendOptions,r),(e=t.options=Un(n,t.extendOptions)).name&&(e.components[e.name]=t)}}return e}function ar(t){this._init(t)}function sr(t){t.cid=0;var e=1;t.extend=function(t){t=t||{};var n=this,r=n.cid,i=t._Ctor||(t._Ctor={});if(i[r])return i[r];var o=jn(t)||jn(n.options);var a=function(t){this._init(t)};return(a.prototype=Object.create(n.prototype)).constructor=a,a.cid=e++,a.options=Un(n.options,t),a.super=n,a.options.props&&function(t){var e=t.options.props;for(var n in e)Gn(t.prototype,"_props",n)}(a),a.options.computed&&function(t){var e=t.options.computed;for(var n in e)tr(t.prototype,n,e[n])}(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,H.forEach((function(t){a[t]=n[t]})),o&&(a.options.components[o]=a),a.superOptions=n.options,a.extendOptions=t,a.sealedOptions=D({},a.options),i[r]=a,a}}function cr(t){return t&&(jn(t.Ctor.options)||t.tag)}function lr(t,e){return i(t)?t.indexOf(e)>-1:"string"==typeof t?t.split(",").indexOf(e)>-1:!!d(t)&&t.test(e)}function ur(t,e){var n=t.cache,r=t.keys,i=t._vnode,o=t.$vnode;for(var a in n){var s=n[a];if(s){var c=s.name;c&&!e(c)&&fr(n,a,r,i)}}o.componentOptions.children=void 0}function fr(t,e,n,r){var i=t[e];!i||r&&i.tag===r.tag||i.componentInstance.$destroy(),t[e]=null,_(n,e)}!function(t){t.prototype._init=function(t){var e=this;e._uid=ir++,e._isVue=!0,e.__v_skip=!0,e._scope=new Yt(!0),e._scope.parent=void 0,e._scope._vm=!0,t&&t._isComponent?function(t,e){var n=t.$options=Object.create(t.constructor.options),r=e._parentVnode;n.parent=e.parent,n._parentVnode=r;var i=r.componentOptions;n.propsData=i.propsData,n._parentListeners=i.listeners,n._renderChildren=i.children,n._componentTag=i.tag,e.render&&(n.render=e.render,n.staticRenderFns=e.staticRenderFns)}(e,t):e.$options=Un(or(e.constructor),t||{},e),e._renderProxy=e,e._self=e,function(t){var e=t.$options,n=e.parent;if(n&&!e.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(t)}t.$parent=n,t.$root=n?n.$root:t,t.$children=[],t.$refs={},t._provided=n?n._provided:Object.create(null),t._watcher=null,t._inactive=null,t._directInactive=!1,t._isMounted=!1,t._isDestroyed=!1,t._isBeingDestroyed=!1}(e),function(t){t._events=Object.create(null),t._hasHookEvent=!1;var e=t.$options._parentListeners;e&&cn(t,e)}(e),function(t){t._vnode=null,t._staticTrees=null;var e=t.$options,n=t.$vnode=e._parentVnode,i=n&&n.context;t.$slots=be(e._renderChildren,i),t.$scopedSlots=n?xe(t.$parent,n.data.scopedSlots,t.$slots):r,t._c=function(e,n,r,i){return Re(t,e,n,r,i,!1)},t.$createElement=function(e,n,r,i){return Re(t,e,n,r,i,!0)};var o=n&&n.data;Rt(t,"$attrs",o&&o.attrs||r,null,!0),Rt(t,"$listeners",e._parentListeners||r,null,!0)}(e),pn(e,"beforeCreate",void 0,!1),function(t){var e=En(t.$options.inject,t);e&&(At(!1),Object.keys(e).forEach((function(n){Rt(t,n,e[n])})),At(!0))}(e),Qn(e),function(t){var e=t.$options.provide;if(e){var n=l(e)?e.call(t):e;if(!u(n))return;for(var r=Xt(t),i=ft?Reflect.ownKeys(n):Object.keys(n),o=0;o<i.length;o++){var a=i[o];Object.defineProperty(r,a,Object.getOwnPropertyDescriptor(n,a))}}}(e),pn(e,"created"),e.$options.el&&e.$mount(e.$options.el)}}(ar),function(t){var e={get:function(){return this._data}},n={get:function(){return this._props}};Object.defineProperty(t.prototype,"$data",e),Object.defineProperty(t.prototype,"$props",n),t.prototype.$set=It,t.prototype.$delete=Nt,t.prototype.$watch=function(t,e,n){var r=this;if(h(e))return rr(r,t,e,n);(n=n||{}).user=!0;var i=new rn(r,t,e,n);if(n.immediate){var o='callback for immediate watcher "'.concat(i.expression,'"');kt(),Le(e,r,[i.value],r,o),Ot()}return function(){i.teardown()}}}(ar),function(t){var e=/^hook:/;t.prototype.$on=function(t,n){var r=this;if(i(t))for(var o=0,a=t.length;o<a;o++)r.$on(t[o],n);else(r._events[t]||(r._events[t]=[])).push(n),e.test(t)&&(r._hasHookEvent=!0);return r},t.prototype.$once=function(t,e){var n=this;function r(){n.$off(t,r),e.apply(n,arguments)}return r.fn=e,n.$on(t,r),n},t.prototype.$off=function(t,e){var n=this;if(!arguments.length)return n._events=Object.create(null),n;if(i(t)){for(var r=0,o=t.length;r<o;r++)n.$off(t[r],e);return n}var a,s=n._events[t];if(!s)return n;if(!e)return n._events[t]=null,n;for(var c=s.length;c--;)if((a=s[c])===e||a.fn===e){s.splice(c,1);break}return n},t.prototype.$emit=function(t){var e=this,n=e._events[t];if(n){n=n.length>1?j(n):n;for(var r=j(arguments,1),i='event handler for "'.concat(t,'"'),o=0,a=n.length;o<a;o++)Le(n[o],e,r,e,i)}return e}}(ar),function(t){t.prototype._update=function(t,e){var n=this,r=n.$el,i=n._vnode,o=un(n);n._vnode=t,n.$el=i?n.__patch__(i,t):n.__patch__(n.$el,t,e,!1),o(),r&&(r.__vue__=null),n.$el&&(n.$el.__vue__=n);for(var a=n;a&&a.$vnode&&a.$parent&&a.$vnode===a.$parent._vnode;)a.$parent.$el=a.$el,a=a.$parent},t.prototype.$forceUpdate=function(){this._watcher&&this._watcher.update()},t.prototype.$destroy=function(){var t=this;if(!t._isBeingDestroyed){pn(t,"beforeDestroy"),t._isBeingDestroyed=!0;var e=t.$parent;!e||e._isBeingDestroyed||t.$options.abstract||_(e.$children,t),t._scope.stop(),t._data.__ob__&&t._data.__ob__.vmCount--,t._isDestroyed=!0,t.__patch__(t._vnode,null),pn(t,"destroyed"),t.$off(),t.$el&&(t.$el.__vue__=null),t.$vnode&&(t.$vnode.parent=null)}}}(ar),function(t){ye(t.prototype),t.prototype.$nextTick=function(t){return Xe(t,this)},t.prototype._render=function(){var t=this,e=t.$options,n=e.render,r=e._parentVnode;r&&t._isMounted&&(t.$scopedSlots=xe(t.$parent,r.data.scopedSlots,t.$slots,t.$scopedSlots),t._slotsProxy&&Te(t._slotsProxy,t.$scopedSlots)),t.$vnode=r;var o,a=ht,s=Pe;try{dt(t),Pe=t,o=n.call(t._renderProxy,t.$createElement)}catch(e){Ne(e,t,"render"),o=t._vnode}finally{Pe=s,dt(a)}return i(o)&&1===o.length&&(o=o[0]),o instanceof pt||(o=mt()),o.parent=r,o}}(ar);var hr=[String,RegExp,Array],dr={KeepAlive:{name:"keep-alive",abstract:!0,props:{include:hr,exclude:hr,max:[String,Number]},methods:{cacheVNode:function(){var t=this,e=t.cache,n=t.keys,r=t.vnodeToCache,i=t.keyToCache;if(r){var o=r.tag,a=r.componentInstance,s=r.componentOptions;e[i]={name:cr(s),tag:o,componentInstance:a},n.push(i),this.max&&n.length>parseInt(this.max)&&fr(e,n[0],n,this._vnode),this.vnodeToCache=null}}},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var t in this.cache)fr(this.cache,t,this.keys)},mounted:function(){var t=this;this.cacheVNode(),this.$watch("include",(function(e){ur(t,(function(t){return lr(e,t)}))})),this.$watch("exclude",(function(e){ur(t,(function(t){return!lr(e,t)}))}))},updated:function(){this.cacheVNode()},render:function(){var t=this.$slots.default,e=je(t),n=e&&e.componentOptions;if(n){var r=cr(n),i=this.include,o=this.exclude;if(i&&(!r||!lr(i,r))||o&&r&&lr(o,r))return e;var a=this.cache,s=this.keys,c=null==e.key?n.Ctor.cid+(n.tag?"::".concat(n.tag):""):e.key;a[c]?(e.componentInstance=a[c].componentInstance,_(s,c),s.push(c)):(this.vnodeToCache=e,this.keyToCache=c),e.data.keepAlive=!0}return e||t&&t[0]}}};!function(t){var e={get:function(){return q}};Object.defineProperty(t,"config",e),t.util={warn:Nn,extend:D,mergeOptions:Un,defineReactive:Rt},t.set=It,t.delete=Nt,t.nextTick=Xe,t.observable=function(t){return Mt(t),t},t.options=Object.create(null),H.forEach((function(e){t.options[e+"s"]=Object.create(null)})),t.options._base=t,D(t.options.components,dr),function(t){t.use=function(t){var e=this._installedPlugins||(this._installedPlugins=[]);if(e.indexOf(t)>-1)return this;var n=j(arguments,1);return n.unshift(this),l(t.install)?t.install.apply(t,n):l(t)&&t.apply(null,n),e.push(t),this}}(t),function(t){t.mixin=function(t){return this.options=Un(this.options,t),this}}(t),sr(t),function(t){H.forEach((function(e){t[e]=function(t,n){return n?("component"===e&&h(n)&&(n.name=n.name||t,n=this.options._base.extend(n)),"directive"===e&&l(n)&&(n={bind:n,update:n}),this.options[e+"s"][t]=n,n):this.options[e+"s"][t]}}))}(t)}(ar),Object.defineProperty(ar.prototype,"$isServer",{get:st}),Object.defineProperty(ar.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(ar,"FunctionalRenderContext",{value:Tn}),ar.version="2.7.16";var pr=b("style,class"),mr=b("input,textarea,option,select,progress"),vr=b("contenteditable,draggable,spellcheck"),gr=b("events,caret,typing,plaintext-only"),yr=function(t,e){return kr(e)||"false"===e?"false":"contenteditable"===t&&gr(e)?e:"true"},br=b("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,truespeed,typemustmatch,visible"),wr="http://www.w3.org/1999/xlink",_r=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},xr=function(t){return _r(t)?t.slice(6,t.length):""},kr=function(t){return null==t||!1===t};function Or(t){for(var e=t.data,n=t,r=t;a(r.componentInstance);)(r=r.componentInstance._vnode)&&r.data&&(e=Cr(r.data,e));for(;a(n=n.parent);)n&&n.data&&(e=Cr(e,n.data));return function(t,e){if(a(t)||a(e))return Sr(t,Er(e));return""}(e.staticClass,e.class)}function Cr(t,e){return{staticClass:Sr(t.staticClass,e.staticClass),class:a(t.class)?[t.class,e.class]:e.class}}function Sr(t,e){return t?e?t+" "+e:t:e||""}function Er(t){return Array.isArray(t)?function(t){for(var e,n="",r=0,i=t.length;r<i;r++)a(e=Er(t[r]))&&""!==e&&(n&&(n+=" "),n+=e);return n}(t):u(t)?function(t){var e="";for(var n in t)t[n]&&(e&&(e+=" "),e+=n);return e}(t):"string"==typeof t?t:""}var Tr={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},Pr=b("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"),Ar=b("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),jr=function(t){return Pr(t)||Ar(t)};var Dr=Object.create(null);var Mr=b("text,number,password,search,email,tel,url");var Rr=Object.freeze({__proto__:null,createElement:function(t,e){var n=document.createElement(t);return"select"!==t||e.data&&e.data.attrs&&void 0!==e.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n},createElementNS:function(t,e){return document.createElementNS(Tr[t],e)},createTextNode:function(t){return document.createTextNode(t)},createComment:function(t){return document.createComment(t)},insertBefore:function(t,e,n){t.insertBefore(e,n)},removeChild:function(t,e){t.removeChild(e)},appendChild:function(t,e){t.appendChild(e)},parentNode:function(t){return t.parentNode},nextSibling:function(t){return t.nextSibling},tagName:function(t){return t.tagName},setTextContent:function(t,e){t.textContent=e},setStyleScope:function(t,e){t.setAttribute(e,"")}}),Ir={create:function(t,e){Nr(e)},update:function(t,e){t.data.ref!==e.data.ref&&(Nr(t,!0),Nr(e))},destroy:function(t){Nr(t,!0)}};function Nr(t,e){var n=t.data.ref;if(a(n)){var r=t.context,o=t.componentInstance||t.elm,s=e?null:o,c=e?void 0:o;if(l(n))Le(n,r,[s],r,"template ref function");else{var u=t.data.refInFor,f="string"==typeof n||"number"==typeof n,h=Ht(n),d=r.$refs;if(f||h)if(u){var p=f?d[n]:n.value;e?i(p)&&_(p,o):i(p)?p.includes(o)||p.push(o):f?(d[n]=[o],Lr(r,n,d[n])):n.value=[o]}else if(f){if(e&&d[n]!==o)return;d[n]=c,Lr(r,n,s)}else if(h){if(e&&n.value!==o)return;n.value=s}else 0}}}function Lr(t,e,n){var r=t._setupState;r&&k(r,e)&&(Ht(r[e])?r[e].value=n:r[e]=n)}var $r=new pt("",{},[]),Fr=["create","activate","update","remove","destroy"];function Br(t,e){return t.key===e.key&&t.asyncFactory===e.asyncFactory&&(t.tag===e.tag&&t.isComment===e.isComment&&a(t.data)===a(e.data)&&function(t,e){if("input"!==t.tag)return!0;var n,r=a(n=t.data)&&a(n=n.attrs)&&n.type,i=a(n=e.data)&&a(n=n.attrs)&&n.type;return r===i||Mr(r)&&Mr(i)}(t,e)||s(t.isAsyncPlaceholder)&&o(e.asyncFactory.error))}function zr(t,e,n){var r,i,o={};for(r=e;r<=n;++r)a(i=t[r].key)&&(o[i]=r);return o}var Hr={create:Ur,update:Ur,destroy:function(t){Ur(t,$r)}};function Ur(t,e){(t.data.directives||e.data.directives)&&function(t,e){var n,r,i,o=t===$r,a=e===$r,s=Wr(t.data.directives,t.context),c=Wr(e.data.directives,e.context),l=[],u=[];for(n in c)r=s[n],i=c[n],r?(i.oldValue=r.value,i.oldArg=r.arg,Zr(i,"update",e,t),i.def&&i.def.componentUpdated&&u.push(i)):(Zr(i,"bind",e,t),i.def&&i.def.inserted&&l.push(i));if(l.length){var f=function(){for(var n=0;n<l.length;n++)Zr(l[n],"inserted",e,t)};o?Jt(e,"insert",f):f()}u.length&&Jt(e,"postpatch",(function(){for(var n=0;n<u.length;n++)Zr(u[n],"componentUpdated",e,t)}));if(!o)for(n in s)c[n]||Zr(s[n],"unbind",t,t,a)}(t,e)}var qr=Object.create(null);function Wr(t,e){var n,r,i=Object.create(null);if(!t)return i;for(n=0;n<t.length;n++){if((r=t[n]).modifiers||(r.modifiers=qr),i[Vr(r)]=r,e._setupState&&e._setupState.__sfc){var o=r.def||qn(e,"_setupState","v-"+r.name);r.def="function"==typeof o?{bind:o,update:o}:o}r.def=r.def||qn(e.$options,"directives",r.name)}return i}function Vr(t){return t.rawName||"".concat(t.name,".").concat(Object.keys(t.modifiers||{}).join("."))}function Zr(t,e,n,r,i){var o=t.def&&t.def[e];if(o)try{o(n.elm,t,n,r,i)}catch(r){Ne(r,n.context,"directive ".concat(t.name," ").concat(e," hook"))}}var Yr=[Ir,Hr];function Xr(t,e){var n=e.componentOptions;if(!(a(n)&&!1===n.Ctor.options.inheritAttrs||o(t.data.attrs)&&o(e.data.attrs))){var r,i,c=e.elm,l=t.data.attrs||{},u=e.data.attrs||{};for(r in(a(u.__ob__)||s(u._v_attr_proxy))&&(u=e.data.attrs=D({},u)),u)i=u[r],l[r]!==i&&Kr(c,r,i,e.data.pre);for(r in(Q||tt)&&u.value!==l.value&&Kr(c,"value",u.value),l)o(u[r])&&(_r(r)?c.removeAttributeNS(wr,xr(r)):vr(r)||c.removeAttribute(r))}}function Kr(t,e,n,r){r||t.tagName.indexOf("-")>-1?Gr(t,e,n):br(e)?kr(n)?t.removeAttribute(e):(n="allowfullscreen"===e&&"EMBED"===t.tagName?"true":e,t.setAttribute(e,n)):vr(e)?t.setAttribute(e,yr(e,n)):_r(e)?kr(n)?t.removeAttributeNS(wr,xr(e)):t.setAttributeNS(wr,e,n):Gr(t,e,n)}function Gr(t,e,n){if(kr(n))t.removeAttribute(e);else{if(Q&&!J&&"TEXTAREA"===t.tagName&&"placeholder"===e&&""!==n&&!t.__ieph){var r=function(e){e.stopImmediatePropagation(),t.removeEventListener("input",r)};t.addEventListener("input",r),t.__ieph=!0}t.setAttribute(e,n)}}var Qr={create:Xr,update:Xr};function Jr(t,e){var n=e.elm,r=e.data,i=t.data;if(!(o(r.staticClass)&&o(r.class)&&(o(i)||o(i.staticClass)&&o(i.class)))){var s=Or(e),c=n._transitionClasses;a(c)&&(s=Sr(s,Er(c))),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}var ti,ei={create:Jr,update:Jr},ni="__r",ri="__c";function ii(t,e,n){var r=ti;return function i(){null!==e.apply(null,arguments)&&si(t,i,n,r)}}var oi=ze&&!(rt&&Number(rt[1])<=53);function ai(t,e,n,r){if(oi){var i=_n,o=e;e=o._wrapper=function(t){if(t.target===t.currentTarget||t.timeStamp>=i||t.timeStamp<=0||t.target.ownerDocument!==document)return o.apply(this,arguments)}}ti.addEventListener(t,e,ot?{capture:n,passive:r}:n)}function si(t,e,n,r){(r||ti).removeEventListener(t,e._wrapper||e,n)}function ci(t,e){if(!o(t.data.on)||!o(e.data.on)){var n=e.data.on||{},r=t.data.on||{};ti=e.elm||t.elm,function(t){if(a(t[ni])){var e=Q?"change":"input";t[e]=[].concat(t[ni],t[e]||[]),delete t[ni]}a(t[ri])&&(t.change=[].concat(t[ri],t.change||[]),delete t[ri])}(n),Qt(n,r,ai,si,ii,e.context),ti=void 0}}var li,ui={create:ci,update:ci,destroy:function(t){return ci(t,$r)}};function fi(t,e){if(!o(t.data.domProps)||!o(e.data.domProps)){var n,r,i=e.elm,c=t.data.domProps||{},l=e.data.domProps||{};for(n in(a(l.__ob__)||s(l._v_attr_proxy))&&(l=e.data.domProps=D({},l)),c)n in l||(i[n]="");for(n in l){if(r=l[n],"textContent"===n||"innerHTML"===n){if(e.children&&(e.children.length=0),r===c[n])continue;1===i.childNodes.length&&i.removeChild(i.childNodes[0])}if("value"===n&&"PROGRESS"!==i.tagName){i._value=r;var u=o(r)?"":String(r);hi(i,u)&&(i.value=u)}else if("innerHTML"===n&&Ar(i.tagName)&&o(i.innerHTML)){(li=li||document.createElement("div")).innerHTML="<svg>".concat(r,"</svg>");for(var f=li.firstChild;i.firstChild;)i.removeChild(i.firstChild);for(;f.firstChild;)i.appendChild(f.firstChild)}else if(r!==c[n])try{i[n]=r}catch(t){}}}}function hi(t,e){return!t.composing&&("OPTION"===t.tagName||function(t,e){var n=!0;try{n=document.activeElement!==t}catch(t){}return n&&t.value!==e}(t,e)||function(t,e){var n=t.value,r=t._vModifiers;if(a(r)){if(r.number)return y(n)!==y(e);if(r.trim)return n.trim()!==e.trim()}return n!==e}(t,e))}var di={create:fi,update:fi},pi=O((function(t){var e={},n=/:(.+)/;return t.split(/;(?![^(]*\))/g).forEach((function(t){if(t){var r=t.split(n);r.length>1&&(e[r[0].trim()]=r[1].trim())}})),e}));function mi(t){var e=vi(t.style);return t.staticStyle?D(t.staticStyle,e):e}function vi(t){return Array.isArray(t)?M(t):"string"==typeof t?pi(t):t}var gi,yi=/^--/,bi=/\s*!important$/,wi=function(t,e,n){if(yi.test(e))t.style.setProperty(e,n);else if(bi.test(n))t.style.setProperty(P(e),n.replace(bi,""),"important");else{var r=xi(e);if(Array.isArray(n))for(var i=0,o=n.length;i<o;i++)t.style[r]=n[i];else t.style[r]=n}},_i=["Webkit","Moz","ms"],xi=O((function(t){if(gi=gi||document.createElement("div").style,"filter"!==(t=S(t))&&t in gi)return t;for(var e=t.charAt(0).toUpperCase()+t.slice(1),n=0;n<_i.length;n++){var r=_i[n]+e;if(r in gi)return r}}));function ki(t,e){var n=e.data,r=t.data;if(!(o(n.staticStyle)&&o(n.style)&&o(r.staticStyle)&&o(r.style))){var i,s,c=e.elm,l=r.staticStyle,u=r.normalizedStyle||r.style||{},f=l||u,h=vi(e.data.style)||{};e.data.normalizedStyle=a(h.__ob__)?D({},h):h;var d=function(t,e){var n,r={};if(e)for(var i=t;i.componentInstance;)(i=i.componentInstance._vnode)&&i.data&&(n=mi(i.data))&&D(r,n);(n=mi(t.data))&&D(r,n);for(var o=t;o=o.parent;)o.data&&(n=mi(o.data))&&D(r,n);return r}(e,!0);for(s in f)o(d[s])&&wi(c,s,"");for(s in d)i=d[s],wi(c,s,null==i?"":i)}}var Oi={create:ki,update:ki},Ci=/\s+/;function Si(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(Ci).forEach((function(e){return t.classList.add(e)})):t.classList.add(e);else{var n=" ".concat(t.getAttribute("class")||""," ");n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function Ei(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(Ci).forEach((function(e){return t.classList.remove(e)})):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{for(var n=" ".concat(t.getAttribute("class")||""," "),r=" "+e+" ";n.indexOf(r)>=0;)n=n.replace(r," ");(n=n.trim())?t.setAttribute("class",n):t.removeAttribute("class")}}function Ti(t){if(t){if("object"==typeof t){var e={};return!1!==t.css&&D(e,Pi(t.name||"v")),D(e,t),e}return"string"==typeof t?Pi(t):void 0}}var Pi=O((function(t){return{enterClass:"".concat(t,"-enter"),enterToClass:"".concat(t,"-enter-to"),enterActiveClass:"".concat(t,"-enter-active"),leaveClass:"".concat(t,"-leave"),leaveToClass:"".concat(t,"-leave-to"),leaveActiveClass:"".concat(t,"-leave-active")}})),Ai=K&&!J,ji="transition",Di="animation",Mi="transition",Ri="transitionend",Ii="animation",Ni="animationend";Ai&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(Mi="WebkitTransition",Ri="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Ii="WebkitAnimation",Ni="webkitAnimationEnd"));var Li=K?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function $i(t){Li((function(){Li(t)}))}function Fi(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),Si(t,e))}function Bi(t,e){t._transitionClasses&&_(t._transitionClasses,e),Ei(t,e)}function zi(t,e,n){var r=Ui(t,e),i=r.type,o=r.timeout,a=r.propCount;if(!i)return n();var s=i===ji?Ri:Ni,c=0,l=function(){t.removeEventListener(s,u),n()},u=function(e){e.target===t&&++c>=a&&l()};setTimeout((function(){c<a&&l()}),o+1),t.addEventListener(s,u)}var Hi=/\b(transform|all)(,|$)/;function Ui(t,e){var n,r=window.getComputedStyle(t),i=(r[Mi+"Delay"]||"").split(", "),o=(r[Mi+"Duration"]||"").split(", "),a=qi(i,o),s=(r[Ii+"Delay"]||"").split(", "),c=(r[Ii+"Duration"]||"").split(", "),l=qi(s,c),u=0,f=0;return e===ji?a>0&&(n=ji,u=a,f=o.length):e===Di?l>0&&(n=Di,u=l,f=c.length):f=(n=(u=Math.max(a,l))>0?a>l?ji:Di:null)?n===ji?o.length:c.length:0,{type:n,timeout:u,propCount:f,hasTransform:n===ji&&Hi.test(r[Mi+"Property"])}}function qi(t,e){for(;t.length<e.length;)t=t.concat(t);return Math.max.apply(null,e.map((function(e,n){return Wi(e)+Wi(t[n])})))}function Wi(t){return 1e3*Number(t.slice(0,-1).replace(",","."))}function Vi(t,e){var n=t.elm;a(n._leaveCb)&&(n._leaveCb.cancelled=!0,n._leaveCb());var r=Ti(t.data.transition);if(!o(r)&&!a(n._enterCb)&&1===n.nodeType){for(var i=r.css,s=r.type,c=r.enterClass,f=r.enterToClass,h=r.enterActiveClass,d=r.appearClass,p=r.appearToClass,m=r.appearActiveClass,v=r.beforeEnter,g=r.enter,b=r.afterEnter,w=r.enterCancelled,_=r.beforeAppear,x=r.appear,k=r.afterAppear,O=r.appearCancelled,C=r.duration,S=ln,E=ln.$vnode;E&&E.parent;)S=E.context,E=E.parent;var T=!S._isMounted||!t.isRootInsert;if(!T||x||""===x){var P=T&&d?d:c,A=T&&m?m:h,j=T&&p?p:f,D=T&&_||v,M=T&&l(x)?x:g,R=T&&k||b,I=T&&O||w,N=y(u(C)?C.enter:C);0;var L=!1!==i&&!J,$=Xi(M),B=n._enterCb=F((function(){L&&(Bi(n,j),Bi(n,A)),B.cancelled?(L&&Bi(n,P),I&&I(n)):R&&R(n),n._enterCb=null}));t.data.show||Jt(t,"insert",(function(){var e=n.parentNode,r=e&&e._pending&&e._pending[t.key];r&&r.tag===t.tag&&r.elm._leaveCb&&r.elm._leaveCb(),M&&M(n,B)})),D&&D(n),L&&(Fi(n,P),Fi(n,A),$i((function(){Bi(n,P),B.cancelled||(Fi(n,j),$||(Yi(N)?setTimeout(B,N):zi(n,s,B)))}))),t.data.show&&(e&&e(),M&&M(n,B)),L||$||B()}}}function Zi(t,e){var n=t.elm;a(n._enterCb)&&(n._enterCb.cancelled=!0,n._enterCb());var r=Ti(t.data.transition);if(o(r)||1!==n.nodeType)return e();if(!a(n._leaveCb)){var i=r.css,s=r.type,c=r.leaveClass,l=r.leaveToClass,f=r.leaveActiveClass,h=r.beforeLeave,d=r.leave,p=r.afterLeave,m=r.leaveCancelled,v=r.delayLeave,g=r.duration,b=!1!==i&&!J,w=Xi(d),_=y(u(g)?g.leave:g);0;var x=n._leaveCb=F((function(){n.parentNode&&n.parentNode._pending&&(n.parentNode._pending[t.key]=null),b&&(Bi(n,l),Bi(n,f)),x.cancelled?(b&&Bi(n,c),m&&m(n)):(e(),p&&p(n)),n._leaveCb=null}));v?v(k):k()}function k(){x.cancelled||(!t.data.show&&n.parentNode&&((n.parentNode._pending||(n.parentNode._pending={}))[t.key]=t),h&&h(n),b&&(Fi(n,c),Fi(n,f),$i((function(){Bi(n,c),x.cancelled||(Fi(n,l),w||(Yi(_)?setTimeout(x,_):zi(n,s,x)))}))),d&&d(n,x),b||w||x())}}function Yi(t){return"number"==typeof t&&!isNaN(t)}function Xi(t){if(o(t))return!1;var e=t.fns;return a(e)?Xi(Array.isArray(e)?e[0]:e):(t._length||t.length)>1}function Ki(t,e){!0!==e.data.show&&Vi(e)}var Gi=function(t){var e,n,r={},l=t.modules,u=t.nodeOps;for(e=0;e<Fr.length;++e)for(r[Fr[e]]=[],n=0;n<l.length;++n)a(l[n][Fr[e]])&&r[Fr[e]].push(l[n][Fr[e]]);function f(t){var e=u.parentNode(t);a(e)&&u.removeChild(e,t)}function h(t,e,n,i,o,c,l){if(a(t.elm)&&a(c)&&(t=c[l]=gt(t)),t.isRootInsert=!o,!function(t,e,n,i){var o=t.data;if(a(o)){var c=a(t.componentInstance)&&o.keepAlive;if(a(o=o.hook)&&a(o=o.init)&&o(t,!1),a(t.componentInstance))return d(t,e),p(n,t.elm,i),s(c)&&function(t,e,n,i){var o,s=t;for(;s.componentInstance;)if(a(o=(s=s.componentInstance._vnode).data)&&a(o=o.transition)){for(o=0;o<r.activate.length;++o)r.activate[o]($r,s);e.push(s);break}p(n,t.elm,i)}(t,e,n,i),!0}}(t,e,n,i)){var f=t.data,h=t.children,v=t.tag;a(v)?(t.elm=t.ns?u.createElementNS(t.ns,v):u.createElement(v,t),y(t),m(t,h,e),a(f)&&g(t,e),p(n,t.elm,i)):s(t.isComment)?(t.elm=u.createComment(t.text),p(n,t.elm,i)):(t.elm=u.createTextNode(t.text),p(n,t.elm,i))}}function d(t,e){a(t.data.pendingInsert)&&(e.push.apply(e,t.data.pendingInsert),t.data.pendingInsert=null),t.elm=t.componentInstance.$el,v(t)?(g(t,e),y(t)):(Nr(t),e.push(t))}function p(t,e,n){a(t)&&(a(n)?u.parentNode(n)===t&&u.insertBefore(t,e,n):u.appendChild(t,e))}function m(t,e,n){if(i(e)){0;for(var r=0;r<e.length;++r)h(e[r],n,t.elm,null,!0,e,r)}else c(t.text)&&u.appendChild(t.elm,u.createTextNode(String(t.text)))}function v(t){for(;t.componentInstance;)t=t.componentInstance._vnode;return a(t.tag)}function g(t,n){for(var i=0;i<r.create.length;++i)r.create[i]($r,t);a(e=t.data.hook)&&(a(e.create)&&e.create($r,t),a(e.insert)&&n.push(t))}function y(t){var e;if(a(e=t.fnScopeId))u.setStyleScope(t.elm,e);else for(var n=t;n;)a(e=n.context)&&a(e=e.$options._scopeId)&&u.setStyleScope(t.elm,e),n=n.parent;a(e=ln)&&e!==t.context&&e!==t.fnContext&&a(e=e.$options._scopeId)&&u.setStyleScope(t.elm,e)}function w(t,e,n,r,i,o){for(;r<=i;++r)h(n[r],o,t,e,!1,n,r)}function _(t){var e,n,i=t.data;if(a(i))for(a(e=i.hook)&&a(e=e.destroy)&&e(t),e=0;e<r.destroy.length;++e)r.destroy[e](t);if(a(e=t.children))for(n=0;n<t.children.length;++n)_(t.children[n])}function x(t,e,n){for(;e<=n;++e){var r=t[e];a(r)&&(a(r.tag)?(k(r),_(r)):f(r.elm))}}function k(t,e){if(a(e)||a(t.data)){var n,i=r.remove.length+1;for(a(e)?e.listeners+=i:e=function(t,e){function n(){0==--n.listeners&&f(t)}return n.listeners=e,n}(t.elm,i),a(n=t.componentInstance)&&a(n=n._vnode)&&a(n.data)&&k(n,e),n=0;n<r.remove.length;++n)r.remove[n](t,e);a(n=t.data.hook)&&a(n=n.remove)?n(t,e):e()}else f(t.elm)}function O(t,e,n,r){for(var i=n;i<r;i++){var o=e[i];if(a(o)&&Br(t,o))return i}}function C(t,e,n,i,c,l){if(t!==e){a(e.elm)&&a(i)&&(e=i[c]=gt(e));var f=e.elm=t.elm;if(s(t.isAsyncPlaceholder))a(e.asyncFactory.resolved)?T(t.elm,e,n):e.isAsyncPlaceholder=!0;else if(s(e.isStatic)&&s(t.isStatic)&&e.key===t.key&&(s(e.isCloned)||s(e.isOnce)))e.componentInstance=t.componentInstance;else{var d,p=e.data;a(p)&&a(d=p.hook)&&a(d=d.prepatch)&&d(t,e);var m=t.children,g=e.children;if(a(p)&&v(e)){for(d=0;d<r.update.length;++d)r.update[d](t,e);a(d=p.hook)&&a(d=d.update)&&d(t,e)}o(e.text)?a(m)&&a(g)?m!==g&&function(t,e,n,r,i){var s,c,l,f=0,d=0,p=e.length-1,m=e[0],v=e[p],g=n.length-1,y=n[0],b=n[g],_=!i;for(;f<=p&&d<=g;)o(m)?m=e[++f]:o(v)?v=e[--p]:Br(m,y)?(C(m,y,r,n,d),m=e[++f],y=n[++d]):Br(v,b)?(C(v,b,r,n,g),v=e[--p],b=n[--g]):Br(m,b)?(C(m,b,r,n,g),_&&u.insertBefore(t,m.elm,u.nextSibling(v.elm)),m=e[++f],b=n[--g]):Br(v,y)?(C(v,y,r,n,d),_&&u.insertBefore(t,v.elm,m.elm),v=e[--p],y=n[++d]):(o(s)&&(s=zr(e,f,p)),o(c=a(y.key)?s[y.key]:O(y,e,f,p))?h(y,r,t,m.elm,!1,n,d):Br(l=e[c],y)?(C(l,y,r,n,d),e[c]=void 0,_&&u.insertBefore(t,l.elm,m.elm)):h(y,r,t,m.elm,!1,n,d),y=n[++d]);f>p?w(t,o(n[g+1])?null:n[g+1].elm,n,d,g,r):d>g&&x(e,f,p)}(f,m,g,n,l):a(g)?(a(t.text)&&u.setTextContent(f,""),w(f,null,g,0,g.length-1,n)):a(m)?x(m,0,m.length-1):a(t.text)&&u.setTextContent(f,""):t.text!==e.text&&u.setTextContent(f,e.text),a(p)&&a(d=p.hook)&&a(d=d.postpatch)&&d(t,e)}}}function S(t,e,n){if(s(n)&&a(t.parent))t.parent.data.pendingInsert=e;else for(var r=0;r<e.length;++r)e[r].data.hook.insert(e[r])}var E=b("attrs,class,staticClass,staticStyle,key");function T(t,e,n,r){var i,o=e.tag,c=e.data,l=e.children;if(r=r||c&&c.pre,e.elm=t,s(e.isComment)&&a(e.asyncFactory))return e.isAsyncPlaceholder=!0,!0;if(a(c)&&(a(i=c.hook)&&a(i=i.init)&&i(e,!0),a(i=e.componentInstance)))return d(e,n),!0;if(a(o)){if(a(l))if(t.hasChildNodes())if(a(i=c)&&a(i=i.domProps)&&a(i=i.innerHTML)){if(i!==t.innerHTML)return!1}else{for(var u=!0,f=t.firstChild,h=0;h<l.length;h++){if(!f||!T(f,l[h],n,r)){u=!1;break}f=f.nextSibling}if(!u||f)return!1}else m(e,l,n);if(a(c)){var p=!1;for(var v in c)if(!E(v)){p=!0,g(e,n);break}!p&&c.class&&Je(c.class)}}else t.data!==e.text&&(t.data=e.text);return!0}return function(t,e,n,i){if(!o(e)){var c=!1,l=[];if(o(t))c=!0,h(e,l);else{var f=a(t.nodeType);if(!f&&Br(t,e))C(t,e,l,null,null,i);else{if(f){if(1===t.nodeType&&t.hasAttribute(z)&&(t.removeAttribute(z),n=!0),s(n)&&T(t,e,l))return S(e,l,!0),t;t=function(t){return new pt(u.tagName(t).toLowerCase(),{},[],void 0,t)}(t)}var d=t.elm,p=u.parentNode(d);if(h(e,l,d._leaveCb?null:p,u.nextSibling(d)),a(e.parent))for(var m=e.parent,g=v(e);m;){for(var y=0;y<r.destroy.length;++y)r.destroy[y](m);if(m.elm=e.elm,g){for(var b=0;b<r.create.length;++b)r.create[b]($r,m);var w=m.data.hook.insert;if(w.merged)for(var k=w.fns.slice(1),O=0;O<k.length;O++)k[O]()}else Nr(m);m=m.parent}a(p)?x([t],0,0):a(t.tag)&&_(t)}}return S(e,l,c),e.elm}a(t)&&_(t)}}({nodeOps:Rr,modules:[Qr,ei,ui,di,Oi,K?{create:Ki,activate:Ki,remove:function(t,e){!0!==t.data.show?Zi(t,e):e()}}:{}].concat(Yr)});J&&document.addEventListener("selectionchange",(function(){var t=document.activeElement;t&&t.vmodel&&oo(t,"input")}));var Qi={inserted:function(t,e,n,r){"select"===n.tag?(r.elm&&!r.elm._vOptions?Jt(n,"postpatch",(function(){Qi.componentUpdated(t,e,n)})):Ji(t,e,n.context),t._vOptions=[].map.call(t.options,no)):("textarea"===n.tag||Mr(t.type))&&(t._vModifiers=e.modifiers,e.modifiers.lazy||(t.addEventListener("compositionstart",ro),t.addEventListener("compositionend",io),t.addEventListener("change",io),J&&(t.vmodel=!0)))},componentUpdated:function(t,e,n){if("select"===n.tag){Ji(t,e,n.context);var r=t._vOptions,i=t._vOptions=[].map.call(t.options,no);if(i.some((function(t,e){return!L(t,r[e])})))(t.multiple?e.value.some((function(t){return eo(t,i)})):e.value!==e.oldValue&&eo(e.value,i))&&oo(t,"change")}}};function Ji(t,e,n){to(t,e,n),(Q||tt)&&setTimeout((function(){to(t,e,n)}),0)}function to(t,e,n){var r=e.value,i=t.multiple;if(!i||Array.isArray(r)){for(var o,a,s=0,c=t.options.length;s<c;s++)if(a=t.options[s],i)o=$(r,no(a))>-1,a.selected!==o&&(a.selected=o);else if(L(no(a),r))return void(t.selectedIndex!==s&&(t.selectedIndex=s));i||(t.selectedIndex=-1)}}function eo(t,e){return e.every((function(e){return!L(e,t)}))}function no(t){return"_value"in t?t._value:t.value}function ro(t){t.target.composing=!0}function io(t){t.target.composing&&(t.target.composing=!1,oo(t.target,"input"))}function oo(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function ao(t){return!t.componentInstance||t.data&&t.data.transition?t:ao(t.componentInstance._vnode)}var so={bind:function(t,e,n){var r=e.value,i=(n=ao(n)).data&&n.data.transition,o=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;r&&i?(n.data.show=!0,Vi(n,(function(){t.style.display=o}))):t.style.display=r?o:"none"},update:function(t,e,n){var r=e.value;!r!=!e.oldValue&&((n=ao(n)).data&&n.data.transition?(n.data.show=!0,r?Vi(n,(function(){t.style.display=t.__vOriginalDisplay})):Zi(n,(function(){t.style.display="none"}))):t.style.display=r?t.__vOriginalDisplay:"none")},unbind:function(t,e,n,r,i){i||(t.style.display=t.__vOriginalDisplay)}},co={model:Qi,show:so},lo={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 uo(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?uo(je(e.children)):t}function fo(t){var e={},n=t.$options;for(var r in n.propsData)e[r]=t[r];var i=n._parentListeners;for(var r in i)e[S(r)]=i[r];return e}function ho(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}var po=function(t){return t.tag||_e(t)},mo=function(t){return"show"===t.name},vo={name:"transition",props:lo,abstract:!0,render:function(t){var e=this,n=this.$slots.default;if(n&&(n=n.filter(po)).length){0;var r=this.mode;0;var i=n[0];if(function(t){for(;t=t.parent;)if(t.data.transition)return!0}(this.$vnode))return i;var o=uo(i);if(!o)return i;if(this._leaving)return ho(t,i);var a="__transition-".concat(this._uid,"-");o.key=null==o.key?o.isComment?a+"comment":a+o.tag:c(o.key)?0===String(o.key).indexOf(a)?o.key:a+o.key:o.key;var s=(o.data||(o.data={})).transition=fo(this),l=this._vnode,u=uo(l);if(o.data.directives&&o.data.directives.some(mo)&&(o.data.show=!0),u&&u.data&&!function(t,e){return e.key===t.key&&e.tag===t.tag}(o,u)&&!_e(u)&&(!u.componentInstance||!u.componentInstance._vnode.isComment)){var f=u.data.transition=D({},s);if("out-in"===r)return this._leaving=!0,Jt(f,"afterLeave",(function(){e._leaving=!1,e.$forceUpdate()})),ho(t,i);if("in-out"===r){if(_e(o))return l;var h,d=function(){h()};Jt(s,"afterEnter",d),Jt(s,"enterCancelled",d),Jt(f,"delayLeave",(function(t){h=t}))}}return i}}},go=D({tag:String,moveClass:String},lo);delete go.mode;var yo={props:go,beforeMount:function(){var t=this,e=this._update;this._update=function(n,r){var i=un(t);t.__patch__(t._vnode,t.kept,!1,!0),t._vnode=t.kept,i(),e.call(t,n,r)}},render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,i=this.$slots.default||[],o=this.children=[],a=fo(this),s=0;s<i.length;s++){if((u=i[s]).tag)if(null!=u.key&&0!==String(u.key).indexOf("__vlist"))o.push(u),n[u.key]=u,(u.data||(u.data={})).transition=a;else;}if(r){var c=[],l=[];for(s=0;s<r.length;s++){var u;(u=r[s]).data.transition=a,u.data.pos=u.elm.getBoundingClientRect(),n[u.key]?c.push(u):l.push(u)}this.kept=t(e,null,c),this.removed=l}return t(e,null,o)},updated:function(){var t=this.prevChildren,e=this.moveClass||(this.name||"v")+"-move";t.length&&this.hasMove(t[0].elm,e)&&(t.forEach(bo),t.forEach(wo),t.forEach(_o),this._reflow=document.body.offsetHeight,t.forEach((function(t){if(t.data.moved){var n=t.elm,r=n.style;Fi(n,e),r.transform=r.WebkitTransform=r.transitionDuration="",n.addEventListener(Ri,n._moveCb=function t(r){r&&r.target!==n||r&&!/transform$/.test(r.propertyName)||(n.removeEventListener(Ri,t),n._moveCb=null,Bi(n,e))})}})))},methods:{hasMove:function(t,e){if(!Ai)return!1;if(this._hasMove)return this._hasMove;var n=t.cloneNode();t._transitionClasses&&t._transitionClasses.forEach((function(t){Ei(n,t)})),Si(n,e),n.style.display="none",this.$el.appendChild(n);var r=Ui(n);return this.$el.removeChild(n),this._hasMove=r.hasTransform}}};function bo(t){t.elm._moveCb&&t.elm._moveCb(),t.elm._enterCb&&t.elm._enterCb()}function wo(t){t.data.newPos=t.elm.getBoundingClientRect()}function _o(t){var e=t.data.pos,n=t.data.newPos,r=e.left-n.left,i=e.top-n.top;if(r||i){t.data.moved=!0;var o=t.elm.style;o.transform=o.WebkitTransform="translate(".concat(r,"px,").concat(i,"px)"),o.transitionDuration="0s"}}var xo={Transition:vo,TransitionGroup:yo};ar.config.mustUseProp=function(t,e,n){return"value"===n&&mr(t)&&"button"!==e||"selected"===n&&"option"===t||"checked"===n&&"input"===t||"muted"===n&&"video"===t},ar.config.isReservedTag=jr,ar.config.isReservedAttr=pr,ar.config.getTagNamespace=function(t){return Ar(t)?"svg":"math"===t?"math":void 0},ar.config.isUnknownElement=function(t){if(!K)return!0;if(jr(t))return!1;if(t=t.toLowerCase(),null!=Dr[t])return Dr[t];var e=document.createElement(t);return t.indexOf("-")>-1?Dr[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:Dr[t]=/HTMLUnknownElement/.test(e.toString())},D(ar.options.directives,co),D(ar.options.components,xo),ar.prototype.__patch__=K?Gi:R,ar.prototype.$mount=function(t,e){return function(t,e,n){var r;t.$el=e,t.$options.render||(t.$options.render=mt),pn(t,"beforeMount"),r=function(){t._update(t._render(),n)},new rn(t,r,R,{before:function(){t._isMounted&&!t._isDestroyed&&pn(t,"beforeUpdate")}},!0),n=!1;var i=t._preWatchers;if(i)for(var o=0;o<i.length;o++)i[o].run();return null==t.$vnode&&(t._isMounted=!0,pn(t,"mounted")),t}(this,t=t&&K?function(t){if("string"==typeof t){return document.querySelector(t)||document.createElement("div")}return t}(t):void 0,e)},K&&setTimeout((function(){q.devtools&&ct&&ct.emit("init",ar)}),0)},4513:(t,e,n)=>{"use strict";function r(t){return parseInt(t,10)}function i(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function o(t,e,n){var r=t.x-e.x,i=t.y-e.y,o=Math.sqrt(r*r+i*i),a=r/o,s=i/o;return{x:e.x+a*n,y:e.y+s*n}}function a(t,e){var n=t.shift();return"M"+n.x+" "+n.y+t.map((function(a,s){var c=t[s+1],l=t[s-1]||n,u=c&&function(t,e,n){return r(t.x+n.x)===r(2*e.x)&&r(t.y+n.y)===r(2*e.y)}(c,a,l);if(!c||u)return"L"+a.x+" "+a.y;var f=Math.min(i(l,a),i(c,a)),h=f/2<e?f/2:e,d=o(l,a,h),p=o(c,a,h);return"L"+d.x+" "+d.y+"S"+a.x+" "+a.y+" "+p.x+" "+p.y})).join("")}n.d(e,{Z:()=>u});var s={props:["smooth","data","boundary","radius","id","max","min"],render:function(t){var e=this,n=e.data,r=e.smooth,i=e.boundary,o=e.radius,s=e.id,c=function(t,e,n){var r=e.minX,i=e.minY,o=e.maxX,a=e.maxY,s=n.max,c=n.min;t=t.map((function(t){return"number"==typeof t?t:t.value}));var l=Math.min.apply(Math,t.concat([c]))-.001,u=(o-r)/(t.length-1),f=(a-i)/(Math.max.apply(Math,t.concat([s]))+.001-l);return t.map((function(e,n){return{x:n*u+r,y:a-(e-l)*f+1e-5*+(n===t.length-1)-1e-5*+(0===n)}}))}(n,i,{max:e.max,min:e.min});return t("path",{attrs:{d:a(c,r?o:0),fill:"none",stroke:"url(#"+s+")"}})}},c={props:["gradient","gradientDirection","id"],render:function(t){var e=this,n=e.gradient,r=e.gradientDirection,i=e.id,o=n.length-1||1,a=n.slice().reverse().map((function(e,n){return t("stop",{attrs:{offset:n/o,"stop-color":e}})}));return t("defs",[t("linearGradient",{attrs:{id:i,x1:+("left"===r),y1:+("top"===r),x2:+("right"===r),y2:+("bottom"===r)}},a)])}},l={name:"Trend",props:{data:{type:Array,required:!0},autoDraw:Boolean,autoDrawDuration:{type:Number,default:2e3},autoDrawEasing:{type:String,default:"ease"},gradient:{type:Array,default:function(){return["#000"]}},gradientDirection:{type:String,default:"top"},max:{type:Number,default:-1/0},min:{type:Number,default:1/0},height:Number,width:Number,padding:{type:Number,default:8},radius:{type:Number,default:10},smooth:Boolean},watch:{data:{immediate:!0,handler:function(t){var e=this;this.$nextTick((function(){if(!e.$isServer&&e.$refs.path&&e.autoDraw){var t=e.$refs.path.$el,n=t.getTotalLength();t.style.transition="none",t.style.strokeDasharray=n+" "+n,t.style.strokeDashoffset=Math.abs(n-(e.lastLength||0)),t.getBoundingClientRect(),t.style.transition="stroke-dashoffset "+e.autoDrawDuration+"ms "+e.autoDrawEasing,t.style.strokeDashoffset=0,e.lastLength=n}}))}}},render:function(t){if(this.data&&!(this.data.length<2)){var e=this,n=e.width,r=e.height,i=e.padding,o=n||300,a=r||75,l={minX:i,minY:i,maxX:o-i,maxY:a-i},u=this.$props;return u.boundary=l,u.id="vue-trend-"+this._uid,t("svg",{attrs:{width:n||"100%",height:r||"25%",viewBox:"0 0 "+o+" "+a}},[t(c,{props:u}),t(s,{props:u,ref:"path"})])}},install:function(t){t.component(l.name,l)}};"undefined"!=typeof window&&window.Vue&&window.Vue.use(l);const u=l},5998:(t,e,n)=>{var r=n(2702);!function(){"use strict";var t=0,e={};function n(r){if(!r)throw new Error("No options passed to Waypoint constructor");if(!r.element)throw new Error("No element option passed to Waypoint constructor");if(!r.handler)throw new Error("No handler option passed to Waypoint constructor");this.key="waypoint-"+t,this.options=n.Adapter.extend({},n.defaults,r),this.element=this.options.element,this.adapter=new n.Adapter(this.element),this.callback=r.handler,this.axis=this.options.horizontal?"horizontal":"vertical",this.enabled=this.options.enabled,this.triggerPoint=null,this.group=n.Group.findOrCreate({name:this.options.group,axis:this.axis}),this.context=n.Context.findOrCreateByElement(this.options.context),n.offsetAliases[this.options.offset]&&(this.options.offset=n.offsetAliases[this.options.offset]),this.group.add(this),this.context.add(this),e[this.key]=this,t+=1}n.prototype.queueTrigger=function(t){this.group.queueTrigger(this,t)},n.prototype.trigger=function(t){this.enabled&&this.callback&&this.callback.apply(this,t)},n.prototype.destroy=function(){this.context.remove(this),this.group.remove(this),delete e[this.key]},n.prototype.disable=function(){return this.enabled=!1,this},n.prototype.enable=function(){return this.context.refresh(),this.enabled=!0,this},n.prototype.next=function(){return this.group.next(this)},n.prototype.previous=function(){return this.group.previous(this)},n.invokeAll=function(t){var n=[];for(var r in e)n.push(e[r]);for(var i=0,o=n.length;i<o;i++)n[i][t]()},n.destroyAll=function(){n.invokeAll("destroy")},n.disableAll=function(){n.invokeAll("disable")},n.enableAll=function(){for(var t in n.Context.refreshAll(),e)e[t].enabled=!0;return this},n.refreshAll=function(){n.Context.refreshAll()},n.viewportHeight=function(){return window.innerHeight||document.documentElement.clientHeight},n.viewportWidth=function(){return document.documentElement.clientWidth},n.adapters=[],n.defaults={context:window,continuous:!0,enabled:!0,group:"default",horizontal:!1,offset:0},n.offsetAliases={"bottom-in-view":function(){return this.context.innerHeight()-this.adapter.outerHeight()},"right-in-view":function(){return this.context.innerWidth()-this.adapter.outerWidth()}},window.Waypoint=n}(),function(){"use strict";function t(t){window.setTimeout(t,1e3/60)}var e=0,n={},r=window.Waypoint,i=window.onload;function o(t){this.element=t,this.Adapter=r.Adapter,this.adapter=new this.Adapter(t),this.key="waypoint-context-"+e,this.didScroll=!1,this.didResize=!1,this.oldScroll={x:this.adapter.scrollLeft(),y:this.adapter.scrollTop()},this.waypoints={vertical:{},horizontal:{}},t.waypointContextKey=this.key,n[t.waypointContextKey]=this,e+=1,r.windowContext||(r.windowContext=!0,r.windowContext=new o(window)),this.createThrottledScrollHandler(),this.createThrottledResizeHandler()}o.prototype.add=function(t){var e=t.options.horizontal?"horizontal":"vertical";this.waypoints[e][t.key]=t,this.refresh()},o.prototype.checkEmpty=function(){var t=this.Adapter.isEmptyObject(this.waypoints.horizontal),e=this.Adapter.isEmptyObject(this.waypoints.vertical),r=this.element==this.element.window;t&&e&&!r&&(this.adapter.off(".waypoints"),delete n[this.key])},o.prototype.createThrottledResizeHandler=function(){var t=this;function e(){t.handleResize(),t.didResize=!1}this.adapter.on("resize.waypoints",(function(){t.didResize||(t.didResize=!0,r.requestAnimationFrame(e))}))},o.prototype.createThrottledScrollHandler=function(){var t=this;function e(){t.handleScroll(),t.didScroll=!1}this.adapter.on("scroll.waypoints",(function(){t.didScroll&&!r.isTouch||(t.didScroll=!0,r.requestAnimationFrame(e))}))},o.prototype.handleResize=function(){r.Context.refreshAll()},o.prototype.handleScroll=function(){var t={},e={horizontal:{newScroll:this.adapter.scrollLeft(),oldScroll:this.oldScroll.x,forward:"right",backward:"left"},vertical:{newScroll:this.adapter.scrollTop(),oldScroll:this.oldScroll.y,forward:"down",backward:"up"}};for(var n in e){var r=e[n],i=r.newScroll>r.oldScroll?r.forward:r.backward;for(var o in this.waypoints[n]){var a=this.waypoints[n][o];if(null!==a.triggerPoint){var s=r.oldScroll<a.triggerPoint,c=r.newScroll>=a.triggerPoint;(s&&c||!s&&!c)&&(a.queueTrigger(i),t[a.group.id]=a.group)}}}for(var l in t)t[l].flushTriggers();this.oldScroll={x:e.horizontal.newScroll,y:e.vertical.newScroll}},o.prototype.innerHeight=function(){return this.element==this.element.window?r.viewportHeight():this.adapter.innerHeight()},o.prototype.remove=function(t){delete this.waypoints[t.axis][t.key],this.checkEmpty()},o.prototype.innerWidth=function(){return this.element==this.element.window?r.viewportWidth():this.adapter.innerWidth()},o.prototype.destroy=function(){var t=[];for(var e in this.waypoints)for(var n in this.waypoints[e])t.push(this.waypoints[e][n]);for(var r=0,i=t.length;r<i;r++)t[r].destroy()},o.prototype.refresh=function(){var t,e=this.element==this.element.window,n=e?void 0:this.adapter.offset(),i={};for(var o in this.handleScroll(),t={horizontal:{contextOffset:e?0:n.left,contextScroll:e?0:this.oldScroll.x,contextDimension:this.innerWidth(),oldScroll:this.oldScroll.x,forward:"right",backward:"left",offsetProp:"left"},vertical:{contextOffset:e?0:n.top,contextScroll:e?0:this.oldScroll.y,contextDimension:this.innerHeight(),oldScroll:this.oldScroll.y,forward:"down",backward:"up",offsetProp:"top"}}){var a=t[o];for(var s in this.waypoints[o]){var c,l,u,f,h=this.waypoints[o][s],d=h.options.offset,p=h.triggerPoint,m=0,v=null==p;h.element!==h.element.window&&(m=h.adapter.offset()[a.offsetProp]),"function"==typeof d?d=d.apply(h):"string"==typeof d&&(d=parseFloat(d),h.options.offset.indexOf("%")>-1&&(d=Math.ceil(a.contextDimension*d/100))),c=a.contextScroll-a.contextOffset,h.triggerPoint=Math.floor(m+c-d),l=p<a.oldScroll,u=h.triggerPoint>=a.oldScroll,f=!l&&!u,!v&&(l&&u)?(h.queueTrigger(a.backward),i[h.group.id]=h.group):(!v&&f||v&&a.oldScroll>=h.triggerPoint)&&(h.queueTrigger(a.forward),i[h.group.id]=h.group)}}return r.requestAnimationFrame((function(){for(var t in i)i[t].flushTriggers()})),this},o.findOrCreateByElement=function(t){return o.findByElement(t)||new o(t)},o.refreshAll=function(){for(var t in n)n[t].refresh()},o.findByElement=function(t){return n[t.waypointContextKey]},window.onload=function(){i&&i(),o.refreshAll()},r.requestAnimationFrame=function(e){(window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||t).call(window,e)},r.Context=o}(),function(){"use strict";function t(t,e){return t.triggerPoint-e.triggerPoint}function e(t,e){return e.triggerPoint-t.triggerPoint}var n={vertical:{},horizontal:{}},r=window.Waypoint;function i(t){this.name=t.name,this.axis=t.axis,this.id=this.name+"-"+this.axis,this.waypoints=[],this.clearTriggerQueues(),n[this.axis][this.name]=this}i.prototype.add=function(t){this.waypoints.push(t)},i.prototype.clearTriggerQueues=function(){this.triggerQueues={up:[],down:[],left:[],right:[]}},i.prototype.flushTriggers=function(){for(var n in this.triggerQueues){var r=this.triggerQueues[n],i="up"===n||"left"===n;r.sort(i?e:t);for(var o=0,a=r.length;o<a;o+=1){var s=r[o];(s.options.continuous||o===r.length-1)&&s.trigger([n])}}this.clearTriggerQueues()},i.prototype.next=function(e){this.waypoints.sort(t);var n=r.Adapter.inArray(e,this.waypoints);return n===this.waypoints.length-1?null:this.waypoints[n+1]},i.prototype.previous=function(e){this.waypoints.sort(t);var n=r.Adapter.inArray(e,this.waypoints);return n?this.waypoints[n-1]:null},i.prototype.queueTrigger=function(t,e){this.triggerQueues[e].push(t)},i.prototype.remove=function(t){var e=r.Adapter.inArray(t,this.waypoints);e>-1&&this.waypoints.splice(e,1)},i.prototype.first=function(){return this.waypoints[0]},i.prototype.last=function(){return this.waypoints[this.waypoints.length-1]},i.findOrCreate=function(t){return n[t.axis][t.name]||new i(t)},r.Group=i}(),function(){"use strict";var t=r,e=window.Waypoint;function n(e){this.$element=t(e)}t.each(["innerHeight","innerWidth","off","offset","on","outerHeight","outerWidth","scrollLeft","scrollTop"],(function(t,e){n.prototype[e]=function(){var t=Array.prototype.slice.call(arguments);return this.$element[e].apply(this.$element,t)}})),t.each(["extend","inArray","isEmptyObject"],(function(e,r){n[r]=t[r]})),e.adapters.push({name:"jquery",Adapter:n}),e.Adapter=n}(),function(){"use strict";var t=window.Waypoint;function e(e){return function(){var n=[],r=arguments[0];return e.isFunction(arguments[0])&&((r=e.extend({},arguments[1])).handler=arguments[0]),this.each((function(){var i=e.extend({},r,{element:this});"string"==typeof i.context&&(i.context=e(this).closest(i.context)[0]),n.push(new t(i))})),n}}r&&(r.fn.waypoint=e(r)),window.Zepto&&(window.Zepto.fn.waypoint=e(window.Zepto))}()},9397:(t,e,n)=>{var r=n(2702);!function(){"use strict";var t=r,e=window.Waypoint;function n(r){this.options=t.extend({},e.defaults,n.defaults,r),this.element=this.options.element,this.$element=t(this.element),this.createWrapper(),this.createWaypoint()}n.prototype.createWaypoint=function(){var n=this.options.handler;this.waypoint=new e(t.extend({},this.options,{element:this.wrapper,handler:t.proxy((function(t){var e=this.options.direction.indexOf(t)>-1,r=e?this.$element.outerHeight(!0):"";this.$wrapper.height(r),this.$element.toggleClass(this.options.stuckClass,e),n&&n.call(this,t)}),this)}))},n.prototype.createWrapper=function(){this.options.wrapper&&this.$element.wrap(this.options.wrapper),this.$wrapper=this.$element.parent(),this.wrapper=this.$wrapper[0]},n.prototype.destroy=function(){this.$element.parent()[0]===this.wrapper&&(this.waypoint.destroy(),this.$element.removeClass(this.options.stuckClass),this.options.wrapper&&this.$element.unwrap())},n.defaults={wrapper:'<div class="sticky-wrapper" />',stuckClass:"stuck",direction:"down right"},e.Sticky=n}()},818:(t,e,n)=>{var r=n(5259).default;function i(){"use strict";t.exports=i=function(){return n},t.exports.__esModule=!0,t.exports.default=t.exports;var e,n={},o=Object.prototype,a=o.hasOwnProperty,s=Object.defineProperty||function(t,e,n){t[e]=n.value},c="function"==typeof Symbol?Symbol:{},l=c.iterator||"@@iterator",u=c.asyncIterator||"@@asyncIterator",f=c.toStringTag||"@@toStringTag";function h(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{h({},"")}catch(e){h=function(t,e,n){return t[e]=n}}function d(t,e,n,r){var i=e&&e.prototype instanceof w?e:w,o=Object.create(i.prototype),a=new M(r||[]);return s(o,"_invoke",{value:P(t,n,a)}),o}function p(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}n.wrap=d;var m="suspendedStart",v="suspendedYield",g="executing",y="completed",b={};function w(){}function _(){}function x(){}var k={};h(k,l,(function(){return this}));var O=Object.getPrototypeOf,C=O&&O(O(R([])));C&&C!==o&&a.call(C,l)&&(k=C);var S=x.prototype=w.prototype=Object.create(k);function E(t){["next","throw","return"].forEach((function(e){h(t,e,(function(t){return this._invoke(e,t)}))}))}function T(t,e){function n(i,o,s,c){var l=p(t[i],t,o);if("throw"!==l.type){var u=l.arg,f=u.value;return f&&"object"==r(f)&&a.call(f,"__await")?e.resolve(f.__await).then((function(t){n("next",t,s,c)}),(function(t){n("throw",t,s,c)})):e.resolve(f).then((function(t){u.value=t,s(u)}),(function(t){return n("throw",t,s,c)}))}c(l.arg)}var i;s(this,"_invoke",{value:function(t,r){function o(){return new e((function(e,i){n(t,r,e,i)}))}return i=i?i.then(o,o):o()}})}function P(t,n,r){var i=m;return function(o,a){if(i===g)throw new Error("Generator is already running");if(i===y){if("throw"===o)throw a;return{value:e,done:!0}}for(r.method=o,r.arg=a;;){var s=r.delegate;if(s){var c=A(s,r);if(c){if(c===b)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(i===m)throw i=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);i=g;var l=p(t,n,r);if("normal"===l.type){if(i=r.done?y:v,l.arg===b)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(i=y,r.method="throw",r.arg=l.arg)}}}function A(t,n){var r=n.method,i=t.iterator[r];if(i===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,A(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),b;var o=p(i,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,b;var a=o.arg;return a?a.done?(n[t.resultName]=a.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,b):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,b)}function j(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function D(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function M(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(j,this),this.reset(!0)}function R(t){if(t||""===t){var n=t[l];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,o=function n(){for(;++i<t.length;)if(a.call(t,i))return n.value=t[i],n.done=!1,n;return n.value=e,n.done=!0,n};return o.next=o}}throw new TypeError(r(t)+" is not iterable")}return _.prototype=x,s(S,"constructor",{value:x,configurable:!0}),s(x,"constructor",{value:_,configurable:!0}),_.displayName=h(x,f,"GeneratorFunction"),n.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===_||"GeneratorFunction"===(e.displayName||e.name))},n.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,x):(t.__proto__=x,h(t,f,"GeneratorFunction")),t.prototype=Object.create(S),t},n.awrap=function(t){return{__await:t}},E(T.prototype),h(T.prototype,u,(function(){return this})),n.AsyncIterator=T,n.async=function(t,e,r,i,o){void 0===o&&(o=Promise);var a=new T(d(t,e,r,i),o);return n.isGeneratorFunction(e)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},E(S),h(S,f,"Generator"),h(S,l,(function(){return this})),h(S,"toString",(function(){return"[object Generator]"})),n.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},n.values=R,M.prototype={constructor:M,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(D),!t)for(var n in this)"t"===n.charAt(0)&&a.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function r(r,i){return s.type="throw",s.arg=t,n.next=r,i&&(n.method="next",n.arg=e),!!i}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],s=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var c=a.call(o,"catchLoc"),l=a.call(o,"finallyLoc");if(c&&l){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(c){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&a.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var o=i?i.completion:{};return o.type=t,o.arg=e,i?(this.method="next",this.next=i.finallyLoc,b):this.complete(o)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),b},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),D(n),b}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;D(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:R(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),b}},n}t.exports=i,t.exports.__esModule=!0,t.exports.default=t.exports},5259:t=>{function e(n){return t.exports=e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports.__esModule=!0,t.exports.default=t.exports,e(n)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports},3838:(t,e,n)=>{var r=n(818)();t.exports=r;try{regeneratorRuntime=r}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}},1171:(t,e,n)=>{"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}n.d(e,{Z:()=>r})},6113:(t,e,n)=>{"use strict";function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}function i(t){var e=function(t,e){if("object"!=r(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,e||"default");if("object"!=r(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==r(e)?e:String(e)}function o(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,i(r.key),r)}}function a(t,e,n){return e&&o(t.prototype,e),n&&o(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}n.d(e,{Z:()=>a})},1509:(t,e,n)=>{"use strict";function r(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function i(t){return function(t){if(Array.isArray(t))return r(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return r(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(t,e):void 0}}(t)||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.")}()}n.d(e,{Z:()=>i})},3800:(t,e,n)=>{"use strict";n.d(e,{Z:()=>qt});var r={};function i(t,e){return function(){return t.apply(e,arguments)}}n.r(r),n.d(r,{hasBrowserEnv:()=>et,hasStandardBrowserEnv:()=>nt,hasStandardBrowserWebWorkerEnv:()=>rt});const{toString:o}=Object.prototype,{getPrototypeOf:a}=Object,s=(t=>e=>{const n=o.call(e);return t[n]||(t[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),c=t=>(t=t.toLowerCase(),e=>s(e)===t),l=t=>e=>typeof e===t,{isArray:u}=Array,f=l("undefined");const h=c("ArrayBuffer");const d=l("string"),p=l("function"),m=l("number"),v=t=>null!==t&&"object"==typeof t,g=t=>{if("object"!==s(t))return!1;const e=a(t);return!(null!==e&&e!==Object.prototype&&null!==Object.getPrototypeOf(e)||Symbol.toStringTag in t||Symbol.iterator in t)},y=c("Date"),b=c("File"),w=c("Blob"),_=c("FileList"),x=c("URLSearchParams");function k(t,e,{allOwnKeys:n=!1}={}){if(null==t)return;let r,i;if("object"!=typeof t&&(t=[t]),u(t))for(r=0,i=t.length;r<i;r++)e.call(null,t[r],r,t);else{const i=n?Object.getOwnPropertyNames(t):Object.keys(t),o=i.length;let a;for(r=0;r<o;r++)a=i[r],e.call(null,t[a],a,t)}}function O(t,e){e=e.toLowerCase();const n=Object.keys(t);let r,i=n.length;for(;i-- >0;)if(r=n[i],e===r.toLowerCase())return r;return null}const C=(()=>"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global)(),S=t=>!f(t)&&t!==C;const E=(t=>e=>t&&e instanceof t)("undefined"!=typeof Uint8Array&&a(Uint8Array)),T=c("HTMLFormElement"),P=(({hasOwnProperty:t})=>(e,n)=>t.call(e,n))(Object.prototype),A=c("RegExp"),j=(t,e)=>{const n=Object.getOwnPropertyDescriptors(t),r={};k(n,((n,i)=>{let o;!1!==(o=e(n,i,t))&&(r[i]=o||n)})),Object.defineProperties(t,r)},D="abcdefghijklmnopqrstuvwxyz",M="0123456789",R={DIGIT:M,ALPHA:D,ALPHA_DIGIT:D+D.toUpperCase()+M};const I=c("AsyncFunction"),N={isArray:u,isArrayBuffer:h,isBuffer:function(t){return null!==t&&!f(t)&&null!==t.constructor&&!f(t.constructor)&&p(t.constructor.isBuffer)&&t.constructor.isBuffer(t)},isFormData:t=>{let e;return t&&("function"==typeof FormData&&t instanceof FormData||p(t.append)&&("formdata"===(e=s(t))||"object"===e&&p(t.toString)&&"[object FormData]"===t.toString()))},isArrayBufferView:function(t){let e;return e="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&h(t.buffer),e},isString:d,isNumber:m,isBoolean:t=>!0===t||!1===t,isObject:v,isPlainObject:g,isUndefined:f,isDate:y,isFile:b,isBlob:w,isRegExp:A,isFunction:p,isStream:t=>v(t)&&p(t.pipe),isURLSearchParams:x,isTypedArray:E,isFileList:_,forEach:k,merge:function t(){const{caseless:e}=S(this)&&this||{},n={},r=(r,i)=>{const o=e&&O(n,i)||i;g(n[o])&&g(r)?n[o]=t(n[o],r):g(r)?n[o]=t({},r):u(r)?n[o]=r.slice():n[o]=r};for(let t=0,e=arguments.length;t<e;t++)arguments[t]&&k(arguments[t],r);return n},extend:(t,e,n,{allOwnKeys:r}={})=>(k(e,((e,r)=>{n&&p(e)?t[r]=i(e,n):t[r]=e}),{allOwnKeys:r}),t),trim:t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:t=>(65279===t.charCodeAt(0)&&(t=t.slice(1)),t),inherits:(t,e,n,r)=>{t.prototype=Object.create(e.prototype,r),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:e.prototype}),n&&Object.assign(t.prototype,n)},toFlatObject:(t,e,n,r)=>{let i,o,s;const c={};if(e=e||{},null==t)return e;do{for(i=Object.getOwnPropertyNames(t),o=i.length;o-- >0;)s=i[o],r&&!r(s,t,e)||c[s]||(e[s]=t[s],c[s]=!0);t=!1!==n&&a(t)}while(t&&(!n||n(t,e))&&t!==Object.prototype);return e},kindOf:s,kindOfTest:c,endsWith:(t,e,n)=>{t=String(t),(void 0===n||n>t.length)&&(n=t.length),n-=e.length;const r=t.indexOf(e,n);return-1!==r&&r===n},toArray:t=>{if(!t)return null;if(u(t))return t;let e=t.length;if(!m(e))return null;const n=new Array(e);for(;e-- >0;)n[e]=t[e];return n},forEachEntry:(t,e)=>{const n=(t&&t[Symbol.iterator]).call(t);let r;for(;(r=n.next())&&!r.done;){const n=r.value;e.call(t,n[0],n[1])}},matchAll:(t,e)=>{let n;const r=[];for(;null!==(n=t.exec(e));)r.push(n);return r},isHTMLForm:T,hasOwnProperty:P,hasOwnProp:P,reduceDescriptors:j,freezeMethods:t=>{j(t,((e,n)=>{if(p(t)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const r=t[n];p(r)&&(e.enumerable=!1,"writable"in e?e.writable=!1:e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))}))},toObjectSet:(t,e)=>{const n={},r=t=>{t.forEach((t=>{n[t]=!0}))};return u(t)?r(t):r(String(t).split(e)),n},toCamelCase:t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(t,e,n){return e.toUpperCase()+n})),noop:()=>{},toFiniteNumber:(t,e)=>(t=+t,Number.isFinite(t)?t:e),findKey:O,global:C,isContextDefined:S,ALPHABET:R,generateString:(t=16,e=R.ALPHA_DIGIT)=>{let n="";const{length:r}=e;for(;t--;)n+=e[Math.random()*r|0];return n},isSpecCompliantForm:function(t){return!!(t&&p(t.append)&&"FormData"===t[Symbol.toStringTag]&&t[Symbol.iterator])},toJSONObject:t=>{const e=new Array(10),n=(t,r)=>{if(v(t)){if(e.indexOf(t)>=0)return;if(!("toJSON"in t)){e[r]=t;const i=u(t)?[]:{};return k(t,((t,e)=>{const o=n(t,r+1);!f(o)&&(i[e]=o)})),e[r]=void 0,i}}return t};return n(t,0)},isAsyncFn:I,isThenable:t=>t&&(v(t)||p(t))&&p(t.then)&&p(t.catch)};function L(t,e,n,r,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=t,this.name="AxiosError",e&&(this.code=e),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i)}N.inherits(L,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:N.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const $=L.prototype,F={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((t=>{F[t]={value:t}})),Object.defineProperties(L,F),Object.defineProperty($,"isAxiosError",{value:!0}),L.from=(t,e,n,r,i,o)=>{const a=Object.create($);return N.toFlatObject(t,a,(function(t){return t!==Error.prototype}),(t=>"isAxiosError"!==t)),L.call(a,t.message,e,n,r,i),a.cause=t,a.name=t.name,o&&Object.assign(a,o),a};const B=L;function z(t){return N.isPlainObject(t)||N.isArray(t)}function H(t){return N.endsWith(t,"[]")?t.slice(0,-2):t}function U(t,e,n){return t?t.concat(e).map((function(t,e){return t=H(t),!n&&e?"["+t+"]":t})).join(n?".":""):e}const q=N.toFlatObject(N,{},null,(function(t){return/^is[A-Z]/.test(t)}));const W=function(t,e,n){if(!N.isObject(t))throw new TypeError("target must be an object");e=e||new FormData;const r=(n=N.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(t,e){return!N.isUndefined(e[t])}))).metaTokens,i=n.visitor||l,o=n.dots,a=n.indexes,s=(n.Blob||"undefined"!=typeof Blob&&Blob)&&N.isSpecCompliantForm(e);if(!N.isFunction(i))throw new TypeError("visitor must be a function");function c(t){if(null===t)return"";if(N.isDate(t))return t.toISOString();if(!s&&N.isBlob(t))throw new B("Blob is not supported. Use a Buffer instead.");return N.isArrayBuffer(t)||N.isTypedArray(t)?s&&"function"==typeof Blob?new Blob([t]):Buffer.from(t):t}function l(t,n,i){let s=t;if(t&&!i&&"object"==typeof t)if(N.endsWith(n,"{}"))n=r?n:n.slice(0,-2),t=JSON.stringify(t);else if(N.isArray(t)&&function(t){return N.isArray(t)&&!t.some(z)}(t)||(N.isFileList(t)||N.endsWith(n,"[]"))&&(s=N.toArray(t)))return n=H(n),s.forEach((function(t,r){!N.isUndefined(t)&&null!==t&&e.append(!0===a?U([n],r,o):null===a?n:n+"[]",c(t))})),!1;return!!z(t)||(e.append(U(i,n,o),c(t)),!1)}const u=[],f=Object.assign(q,{defaultVisitor:l,convertValue:c,isVisitable:z});if(!N.isObject(t))throw new TypeError("data must be an object");return function t(n,r){if(!N.isUndefined(n)){if(-1!==u.indexOf(n))throw Error("Circular reference detected in "+r.join("."));u.push(n),N.forEach(n,(function(n,o){!0===(!(N.isUndefined(n)||null===n)&&i.call(e,n,N.isString(o)?o.trim():o,r,f))&&t(n,r?r.concat(o):[o])})),u.pop()}}(t),e};function V(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,(function(t){return e[t]}))}function Z(t,e){this._pairs=[],t&&W(t,this,e)}const Y=Z.prototype;Y.append=function(t,e){this._pairs.push([t,e])},Y.toString=function(t){const e=t?function(e){return t.call(this,e,V)}:V;return this._pairs.map((function(t){return e(t[0])+"="+e(t[1])}),"").join("&")};const X=Z;function K(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function G(t,e,n){if(!e)return t;const r=n&&n.encode||K,i=n&&n.serialize;let o;if(o=i?i(e,n):N.isURLSearchParams(e)?e.toString():new X(e,n).toString(r),o){const e=t.indexOf("#");-1!==e&&(t=t.slice(0,e)),t+=(-1===t.indexOf("?")?"?":"&")+o}return t}const Q=class{constructor(){this.handlers=[]}use(t,e,n){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){N.forEach(this.handlers,(function(e){null!==e&&t(e)}))}},J={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},tt={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:X,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]},et="undefined"!=typeof window&&"undefined"!=typeof document,nt=(t=>et&&["ReactNative","NativeScript","NS"].indexOf(t)<0)("undefined"!=typeof navigator&&navigator.product),rt=(()=>"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts)(),it={...r,...tt};const ot=function(t){function e(t,n,r,i){let o=t[i++];if("__proto__"===o)return!0;const a=Number.isFinite(+o),s=i>=t.length;if(o=!o&&N.isArray(r)?r.length:o,s)return N.hasOwnProp(r,o)?r[o]=[r[o],n]:r[o]=n,!a;r[o]&&N.isObject(r[o])||(r[o]=[]);return e(t,n,r[o],i)&&N.isArray(r[o])&&(r[o]=function(t){const e={},n=Object.keys(t);let r;const i=n.length;let o;for(r=0;r<i;r++)o=n[r],e[o]=t[o];return e}(r[o])),!a}if(N.isFormData(t)&&N.isFunction(t.entries)){const n={};return N.forEachEntry(t,((t,r)=>{e(function(t){return N.matchAll(/\w+|\[(\w*)]/g,t).map((t=>"[]"===t[0]?"":t[1]||t[0]))}(t),r,n,0)})),n}return null};const at={transitional:J,adapter:["xhr","http"],transformRequest:[function(t,e){const n=e.getContentType()||"",r=n.indexOf("application/json")>-1,i=N.isObject(t);i&&N.isHTMLForm(t)&&(t=new FormData(t));if(N.isFormData(t))return r?JSON.stringify(ot(t)):t;if(N.isArrayBuffer(t)||N.isBuffer(t)||N.isStream(t)||N.isFile(t)||N.isBlob(t))return t;if(N.isArrayBufferView(t))return t.buffer;if(N.isURLSearchParams(t))return e.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let o;if(i){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(t,e){return W(t,new it.classes.URLSearchParams,Object.assign({visitor:function(t,e,n,r){return it.isNode&&N.isBuffer(t)?(this.append(e,t.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},e))}(t,this.formSerializer).toString();if((o=N.isFileList(t))||n.indexOf("multipart/form-data")>-1){const e=this.env&&this.env.FormData;return W(o?{"files[]":t}:t,e&&new e,this.formSerializer)}}return i||r?(e.setContentType("application/json",!1),function(t,e,n){if(N.isString(t))try{return(e||JSON.parse)(t),N.trim(t)}catch(t){if("SyntaxError"!==t.name)throw t}return(n||JSON.stringify)(t)}(t)):t}],transformResponse:[function(t){const e=this.transitional||at.transitional,n=e&&e.forcedJSONParsing,r="json"===this.responseType;if(t&&N.isString(t)&&(n&&!this.responseType||r)){const n=!(e&&e.silentJSONParsing)&&r;try{return JSON.parse(t)}catch(t){if(n){if("SyntaxError"===t.name)throw B.from(t,B.ERR_BAD_RESPONSE,this,null,this.response);throw t}}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:it.classes.FormData,Blob:it.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};N.forEach(["delete","get","head","post","put","patch"],(t=>{at.headers[t]={}}));const st=at,ct=N.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),lt=Symbol("internals");function ut(t){return t&&String(t).trim().toLowerCase()}function ft(t){return!1===t||null==t?t:N.isArray(t)?t.map(ft):String(t)}function ht(t,e,n,r,i){return N.isFunction(r)?r.call(this,e,n):(i&&(e=n),N.isString(e)?N.isString(r)?-1!==e.indexOf(r):N.isRegExp(r)?r.test(e):void 0:void 0)}class dt{constructor(t){t&&this.set(t)}set(t,e,n){const r=this;function i(t,e,n){const i=ut(e);if(!i)throw new Error("header name must be a non-empty string");const o=N.findKey(r,i);(!o||void 0===r[o]||!0===n||void 0===n&&!1!==r[o])&&(r[o||e]=ft(t))}const o=(t,e)=>N.forEach(t,((t,n)=>i(t,n,e)));return N.isPlainObject(t)||t instanceof this.constructor?o(t,e):N.isString(t)&&(t=t.trim())&&!(t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim()))(t)?o((t=>{const e={};let n,r,i;return t&&t.split("\n").forEach((function(t){i=t.indexOf(":"),n=t.substring(0,i).trim().toLowerCase(),r=t.substring(i+1).trim(),!n||e[n]&&ct[n]||("set-cookie"===n?e[n]?e[n].push(r):e[n]=[r]:e[n]=e[n]?e[n]+", "+r:r)})),e})(t),e):null!=t&&i(e,t,n),this}get(t,e){if(t=ut(t)){const n=N.findKey(this,t);if(n){const t=this[n];if(!e)return t;if(!0===e)return function(t){const e=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(t);)e[r[1]]=r[2];return e}(t);if(N.isFunction(e))return e.call(this,t,n);if(N.isRegExp(e))return e.exec(t);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,e){if(t=ut(t)){const n=N.findKey(this,t);return!(!n||void 0===this[n]||e&&!ht(0,this[n],n,e))}return!1}delete(t,e){const n=this;let r=!1;function i(t){if(t=ut(t)){const i=N.findKey(n,t);!i||e&&!ht(0,n[i],i,e)||(delete n[i],r=!0)}}return N.isArray(t)?t.forEach(i):i(t),r}clear(t){const e=Object.keys(this);let n=e.length,r=!1;for(;n--;){const i=e[n];t&&!ht(0,this[i],i,t,!0)||(delete this[i],r=!0)}return r}normalize(t){const e=this,n={};return N.forEach(this,((r,i)=>{const o=N.findKey(n,i);if(o)return e[o]=ft(r),void delete e[i];const a=t?function(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((t,e,n)=>e.toUpperCase()+n))}(i):String(i).trim();a!==i&&delete e[i],e[a]=ft(r),n[a]=!0})),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const e=Object.create(null);return N.forEach(this,((n,r)=>{null!=n&&!1!==n&&(e[r]=t&&N.isArray(n)?n.join(", "):n)})),e}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([t,e])=>t+": "+e)).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...e){const n=new this(t);return e.forEach((t=>n.set(t))),n}static accessor(t){const e=(this[lt]=this[lt]={accessors:{}}).accessors,n=this.prototype;function r(t){const r=ut(t);e[r]||(!function(t,e){const n=N.toCamelCase(" "+e);["get","set","has"].forEach((r=>{Object.defineProperty(t,r+n,{value:function(t,n,i){return this[r].call(this,e,t,n,i)},configurable:!0})}))}(n,t),e[r]=!0)}return N.isArray(t)?t.forEach(r):r(t),this}}dt.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),N.reduceDescriptors(dt.prototype,(({value:t},e)=>{let n=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(t){this[n]=t}}})),N.freezeMethods(dt);const pt=dt;function mt(t,e){const n=this||st,r=e||n,i=pt.from(r.headers);let o=r.data;return N.forEach(t,(function(t){o=t.call(n,o,i.normalize(),e?e.status:void 0)})),i.normalize(),o}function vt(t){return!(!t||!t.__CANCEL__)}function gt(t,e,n){B.call(this,null==t?"canceled":t,B.ERR_CANCELED,e,n),this.name="CanceledError"}N.inherits(gt,B,{__CANCEL__:!0});const yt=gt;const bt=it.hasStandardBrowserEnv?{write(t,e,n,r,i,o){const a=[t+"="+encodeURIComponent(e)];N.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),N.isString(r)&&a.push("path="+r),N.isString(i)&&a.push("domain="+i),!0===o&&a.push("secure"),document.cookie=a.join("; ")},read(t){const e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove(t){this.write(t,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};function wt(t,e){return t&&!function(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}(e)?function(t,e){return e?t.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):t}(t,e):e}const _t=it.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),e=document.createElement("a");let n;function r(n){let r=n;return t&&(e.setAttribute("href",r),r=e.href),e.setAttribute("href",r),{href:e.href,protocol:e.protocol?e.protocol.replace(/:$/,""):"",host:e.host,search:e.search?e.search.replace(/^\?/,""):"",hash:e.hash?e.hash.replace(/^#/,""):"",hostname:e.hostname,port:e.port,pathname:"/"===e.pathname.charAt(0)?e.pathname:"/"+e.pathname}}return n=r(window.location.href),function(t){const e=N.isString(t)?r(t):t;return e.protocol===n.protocol&&e.host===n.host}}():function(){return function(){return!0}}();const xt=function(t,e){t=t||10;const n=new Array(t),r=new Array(t);let i,o=0,a=0;return e=void 0!==e?e:1e3,function(s){const c=Date.now(),l=r[a];i||(i=c),n[o]=s,r[o]=c;let u=a,f=0;for(;u!==o;)f+=n[u++],u%=t;if(o=(o+1)%t,o===a&&(a=(a+1)%t),c-i<e)return;const h=l&&c-l;return h?Math.round(1e3*f/h):void 0}};function kt(t,e){let n=0;const r=xt(50,250);return i=>{const o=i.loaded,a=i.lengthComputable?i.total:void 0,s=o-n,c=r(s);n=o;const l={loaded:o,total:a,progress:a?o/a:void 0,bytes:s,rate:c||void 0,estimated:c&&a&&o<=a?(a-o)/c:void 0,event:i};l[e?"download":"upload"]=!0,t(l)}}const Ot={http:null,xhr:"undefined"!=typeof XMLHttpRequest&&function(t){return new Promise((function(e,n){let r=t.data;const i=pt.from(t.headers).normalize();let o,a,{responseType:s,withXSRFToken:c}=t;function l(){t.cancelToken&&t.cancelToken.unsubscribe(o),t.signal&&t.signal.removeEventListener("abort",o)}if(N.isFormData(r))if(it.hasStandardBrowserEnv||it.hasStandardBrowserWebWorkerEnv)i.setContentType(!1);else if(!1!==(a=i.getContentType())){const[t,...e]=a?a.split(";").map((t=>t.trim())).filter(Boolean):[];i.setContentType([t||"multipart/form-data",...e].join("; "))}let u=new XMLHttpRequest;if(t.auth){const e=t.auth.username||"",n=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";i.set("Authorization","Basic "+btoa(e+":"+n))}const f=wt(t.baseURL,t.url);function h(){if(!u)return;const r=pt.from("getAllResponseHeaders"in u&&u.getAllResponseHeaders());!function(t,e,n){const r=n.config.validateStatus;n.status&&r&&!r(n.status)?e(new B("Request failed with status code "+n.status,[B.ERR_BAD_REQUEST,B.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):t(n)}((function(t){e(t),l()}),(function(t){n(t),l()}),{data:s&&"text"!==s&&"json"!==s?u.response:u.responseText,status:u.status,statusText:u.statusText,headers:r,config:t,request:u}),u=null}if(u.open(t.method.toUpperCase(),G(f,t.params,t.paramsSerializer),!0),u.timeout=t.timeout,"onloadend"in u?u.onloadend=h:u.onreadystatechange=function(){u&&4===u.readyState&&(0!==u.status||u.responseURL&&0===u.responseURL.indexOf("file:"))&&setTimeout(h)},u.onabort=function(){u&&(n(new B("Request aborted",B.ECONNABORTED,t,u)),u=null)},u.onerror=function(){n(new B("Network Error",B.ERR_NETWORK,t,u)),u=null},u.ontimeout=function(){let e=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded";const r=t.transitional||J;t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),n(new B(e,r.clarifyTimeoutError?B.ETIMEDOUT:B.ECONNABORTED,t,u)),u=null},it.hasStandardBrowserEnv&&(c&&N.isFunction(c)&&(c=c(t)),c||!1!==c&&_t(f))){const e=t.xsrfHeaderName&&t.xsrfCookieName&&bt.read(t.xsrfCookieName);e&&i.set(t.xsrfHeaderName,e)}void 0===r&&i.setContentType(null),"setRequestHeader"in u&&N.forEach(i.toJSON(),(function(t,e){u.setRequestHeader(e,t)})),N.isUndefined(t.withCredentials)||(u.withCredentials=!!t.withCredentials),s&&"json"!==s&&(u.responseType=t.responseType),"function"==typeof t.onDownloadProgress&&u.addEventListener("progress",kt(t.onDownloadProgress,!0)),"function"==typeof t.onUploadProgress&&u.upload&&u.upload.addEventListener("progress",kt(t.onUploadProgress)),(t.cancelToken||t.signal)&&(o=e=>{u&&(n(!e||e.type?new yt(null,t,u):e),u.abort(),u=null)},t.cancelToken&&t.cancelToken.subscribe(o),t.signal&&(t.signal.aborted?o():t.signal.addEventListener("abort",o)));const d=function(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}(f);d&&-1===it.protocols.indexOf(d)?n(new B("Unsupported protocol "+d+":",B.ERR_BAD_REQUEST,t)):u.send(r||null)}))}};N.forEach(Ot,((t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch(t){}Object.defineProperty(t,"adapterName",{value:e})}}));const Ct=t=>`- ${t}`,St=t=>N.isFunction(t)||null===t||!1===t,Et=t=>{t=N.isArray(t)?t:[t];const{length:e}=t;let n,r;const i={};for(let o=0;o<e;o++){let e;if(n=t[o],r=n,!St(n)&&(r=Ot[(e=String(n)).toLowerCase()],void 0===r))throw new B(`Unknown adapter '${e}'`);if(r)break;i[e||"#"+o]=r}if(!r){const t=Object.entries(i).map((([t,e])=>`adapter ${t} `+(!1===e?"is not supported by the environment":"is not available in the build")));let n=e?t.length>1?"since :\n"+t.map(Ct).join("\n"):" "+Ct(t[0]):"as no adapter specified";throw new B("There is no suitable adapter to dispatch the request "+n,"ERR_NOT_SUPPORT")}return r};function Tt(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new yt(null,t)}function Pt(t){Tt(t),t.headers=pt.from(t.headers),t.data=mt.call(t,t.transformRequest),-1!==["post","put","patch"].indexOf(t.method)&&t.headers.setContentType("application/x-www-form-urlencoded",!1);return Et(t.adapter||st.adapter)(t).then((function(e){return Tt(t),e.data=mt.call(t,t.transformResponse,e),e.headers=pt.from(e.headers),e}),(function(e){return vt(e)||(Tt(t),e&&e.response&&(e.response.data=mt.call(t,t.transformResponse,e.response),e.response.headers=pt.from(e.response.headers))),Promise.reject(e)}))}const At=t=>t instanceof pt?t.toJSON():t;function jt(t,e){e=e||{};const n={};function r(t,e,n){return N.isPlainObject(t)&&N.isPlainObject(e)?N.merge.call({caseless:n},t,e):N.isPlainObject(e)?N.merge({},e):N.isArray(e)?e.slice():e}function i(t,e,n){return N.isUndefined(e)?N.isUndefined(t)?void 0:r(void 0,t,n):r(t,e,n)}function o(t,e){if(!N.isUndefined(e))return r(void 0,e)}function a(t,e){return N.isUndefined(e)?N.isUndefined(t)?void 0:r(void 0,t):r(void 0,e)}function s(n,i,o){return o in e?r(n,i):o in t?r(void 0,n):void 0}const c={url:o,method:o,data:o,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:s,headers:(t,e)=>i(At(t),At(e),!0)};return N.forEach(Object.keys(Object.assign({},t,e)),(function(r){const o=c[r]||i,a=o(t[r],e[r],r);N.isUndefined(a)&&o!==s||(n[r]=a)})),n}const Dt="1.6.7",Mt={};["object","boolean","number","function","string","symbol"].forEach(((t,e)=>{Mt[t]=function(n){return typeof n===t||"a"+(e<1?"n ":" ")+t}}));const Rt={};Mt.transitional=function(t,e,n){function r(t,e){return"[Axios v1.6.7] Transitional option '"+t+"'"+e+(n?". "+n:"")}return(n,i,o)=>{if(!1===t)throw new B(r(i," has been removed"+(e?" in "+e:"")),B.ERR_DEPRECATED);return e&&!Rt[i]&&(Rt[i]=!0,console.warn(r(i," has been deprecated since v"+e+" and will be removed in the near future"))),!t||t(n,i,o)}};const It={assertOptions:function(t,e,n){if("object"!=typeof t)throw new B("options must be an object",B.ERR_BAD_OPTION_VALUE);const r=Object.keys(t);let i=r.length;for(;i-- >0;){const o=r[i],a=e[o];if(a){const e=t[o],n=void 0===e||a(e,o,t);if(!0!==n)throw new B("option "+o+" must be "+n,B.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new B("Unknown option "+o,B.ERR_BAD_OPTION)}},validators:Mt},Nt=It.validators;class Lt{constructor(t){this.defaults=t,this.interceptors={request:new Q,response:new Q}}async request(t,e){try{return await this._request(t,e)}catch(t){if(t instanceof Error){let e;Error.captureStackTrace?Error.captureStackTrace(e={}):e=new Error;const n=e.stack?e.stack.replace(/^.+\n/,""):"";t.stack?n&&!String(t.stack).endsWith(n.replace(/^.+\n.+\n/,""))&&(t.stack+="\n"+n):t.stack=n}throw t}}_request(t,e){"string"==typeof t?(e=e||{}).url=t:e=t||{},e=jt(this.defaults,e);const{transitional:n,paramsSerializer:r,headers:i}=e;void 0!==n&&It.assertOptions(n,{silentJSONParsing:Nt.transitional(Nt.boolean),forcedJSONParsing:Nt.transitional(Nt.boolean),clarifyTimeoutError:Nt.transitional(Nt.boolean)},!1),null!=r&&(N.isFunction(r)?e.paramsSerializer={serialize:r}:It.assertOptions(r,{encode:Nt.function,serialize:Nt.function},!0)),e.method=(e.method||this.defaults.method||"get").toLowerCase();let o=i&&N.merge(i.common,i[e.method]);i&&N.forEach(["delete","get","head","post","put","patch","common"],(t=>{delete i[t]})),e.headers=pt.concat(o,i);const a=[];let s=!0;this.interceptors.request.forEach((function(t){"function"==typeof t.runWhen&&!1===t.runWhen(e)||(s=s&&t.synchronous,a.unshift(t.fulfilled,t.rejected))}));const c=[];let l;this.interceptors.response.forEach((function(t){c.push(t.fulfilled,t.rejected)}));let u,f=0;if(!s){const t=[Pt.bind(this),void 0];for(t.unshift.apply(t,a),t.push.apply(t,c),u=t.length,l=Promise.resolve(e);f<u;)l=l.then(t[f++],t[f++]);return l}u=a.length;let h=e;for(f=0;f<u;){const t=a[f++],e=a[f++];try{h=t(h)}catch(t){e.call(this,t);break}}try{l=Pt.call(this,h)}catch(t){return Promise.reject(t)}for(f=0,u=c.length;f<u;)l=l.then(c[f++],c[f++]);return l}getUri(t){return G(wt((t=jt(this.defaults,t)).baseURL,t.url),t.params,t.paramsSerializer)}}N.forEach(["delete","get","head","options"],(function(t){Lt.prototype[t]=function(e,n){return this.request(jt(n||{},{method:t,url:e,data:(n||{}).data}))}})),N.forEach(["post","put","patch"],(function(t){function e(e){return function(n,r,i){return this.request(jt(i||{},{method:t,headers:e?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}Lt.prototype[t]=e(),Lt.prototype[t+"Form"]=e(!0)}));const $t=Lt;class Ft{constructor(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");let e;this.promise=new Promise((function(t){e=t}));const n=this;this.promise.then((t=>{if(!n._listeners)return;let e=n._listeners.length;for(;e-- >0;)n._listeners[e](t);n._listeners=null})),this.promise.then=t=>{let e;const r=new Promise((t=>{n.subscribe(t),e=t})).then(t);return r.cancel=function(){n.unsubscribe(e)},r},t((function(t,r,i){n.reason||(n.reason=new yt(t,r,i),e(n.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){this.reason?t(this.reason):this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const e=this._listeners.indexOf(t);-1!==e&&this._listeners.splice(e,1)}static source(){let t;return{token:new Ft((function(e){t=e})),cancel:t}}}const Bt=Ft;const zt={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(zt).forEach((([t,e])=>{zt[e]=t}));const Ht=zt;const Ut=function t(e){const n=new $t(e),r=i($t.prototype.request,n);return N.extend(r,$t.prototype,n,{allOwnKeys:!0}),N.extend(r,n,null,{allOwnKeys:!0}),r.create=function(n){return t(jt(e,n))},r}(st);Ut.Axios=$t,Ut.CanceledError=yt,Ut.CancelToken=Bt,Ut.isCancel=vt,Ut.VERSION=Dt,Ut.toFormData=W,Ut.AxiosError=B,Ut.Cancel=Ut.CanceledError,Ut.all=function(t){return Promise.all(t)},Ut.spread=function(t){return function(e){return t.apply(null,e)}},Ut.isAxiosError=function(t){return N.isObject(t)&&!0===t.isAxiosError},Ut.mergeConfig=jt,Ut.AxiosHeaders=pt,Ut.formToJSON=t=>ot(N.isHTMLForm(t)?new FormData(t):t),Ut.getAdapter=Et,Ut.HttpStatusCode=Ht,Ut.default=Ut;const qt=Ut},8719:(t,e,n)=>{"use strict";function r(){}n.d(e,{uw:()=>mo,kL:()=>vi,Gu:()=>qi,De:()=>Yi,ST:()=>Wn,jn:()=>Ci,f$:()=>bo,od:()=>Ei,FB:()=>Eo,Dx:()=>Ki,u:()=>fo,IQ:()=>Yn});const i=(()=>{let t=0;return()=>t++})();function o(t){return null==t}function a(t){if(Array.isArray&&Array.isArray(t))return!0;const e=Object.prototype.toString.call(t);return"[object"===e.slice(0,7)&&"Array]"===e.slice(-6)}function s(t){return null!==t&&"[object Object]"===Object.prototype.toString.call(t)}function c(t){return("number"==typeof t||t instanceof Number)&&isFinite(+t)}function l(t,e){return c(t)?t:e}function u(t,e){return void 0===t?e:t}const f=(t,e)=>"string"==typeof t&&t.endsWith("%")?parseFloat(t)/100*e:+t;function h(t,e,n){if(t&&"function"==typeof t.call)return t.apply(n,e)}function d(t,e,n,r){let i,o,c;if(a(t))if(o=t.length,r)for(i=o-1;i>=0;i--)e.call(n,t[i],i);else for(i=0;i<o;i++)e.call(n,t[i],i);else if(s(t))for(c=Object.keys(t),o=c.length,i=0;i<o;i++)e.call(n,t[c[i]],c[i])}function p(t,e){let n,r,i,o;if(!t||!e||t.length!==e.length)return!1;for(n=0,r=t.length;n<r;++n)if(i=t[n],o=e[n],i.datasetIndex!==o.datasetIndex||i.index!==o.index)return!1;return!0}function m(t){if(a(t))return t.map(m);if(s(t)){const e=Object.create(null),n=Object.keys(t),r=n.length;let i=0;for(;i<r;++i)e[n[i]]=m(t[n[i]]);return e}return t}function v(t){return-1===["__proto__","prototype","constructor"].indexOf(t)}function g(t,e,n,r){if(!v(t))return;const i=e[t],o=n[t];s(i)&&s(o)?y(i,o,r):e[t]=m(o)}function y(t,e,n){const r=a(e)?e:[e],i=r.length;if(!s(t))return t;const o=(n=n||{}).merger||g;let c;for(let e=0;e<i;++e){if(c=r[e],!s(c))continue;const i=Object.keys(c);for(let e=0,r=i.length;e<r;++e)o(i[e],t,c,n)}return t}function b(t,e){return y(t,e,{merger:w})}function w(t,e,n){if(!v(t))return;const r=e[t],i=n[t];s(r)&&s(i)?b(r,i):Object.prototype.hasOwnProperty.call(e,t)||(e[t]=m(i))}const _={"":t=>t,x:t=>t.x,y:t=>t.y};function x(t,e){const n=_[e]||(_[e]=function(t){const e=function(t){const e=t.split("."),n=[];let r="";for(const t of e)r+=t,r.endsWith("\\")?r=r.slice(0,-1)+".":(n.push(r),r="");return n}(t);return t=>{for(const n of e){if(""===n)break;t=t&&t[n]}return t}}(e));return n(t)}function k(t){return t.charAt(0).toUpperCase()+t.slice(1)}const O=t=>void 0!==t,C=t=>"function"==typeof t,S=(t,e)=>{if(t.size!==e.size)return!1;for(const n of t)if(!e.has(n))return!1;return!0};const E=Math.PI,T=2*E,P=T+E,A=Number.POSITIVE_INFINITY,j=E/180,D=E/2,M=E/4,R=2*E/3,I=Math.log10,N=Math.sign;function L(t,e,n){return Math.abs(t-e)<n}function $(t){const e=Math.round(t);t=L(t,e,t/1e3)?e:t;const n=Math.pow(10,Math.floor(I(t))),r=t/n;return(r<=1?1:r<=2?2:r<=5?5:10)*n}function F(t){return!isNaN(parseFloat(t))&&isFinite(t)}function B(t,e,n){let r,i,o;for(r=0,i=t.length;r<i;r++)o=t[r][n],isNaN(o)||(e.min=Math.min(e.min,o),e.max=Math.max(e.max,o))}function z(t){return t*(E/180)}function H(t){return t*(180/E)}function U(t){if(!c(t))return;let e=1,n=0;for(;Math.round(t*e)/e!==t;)e*=10,n++;return n}function q(t,e){const n=e.x-t.x,r=e.y-t.y,i=Math.sqrt(n*n+r*r);let o=Math.atan2(r,n);return o<-.5*E&&(o+=T),{angle:o,distance:i}}function W(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function V(t,e){return(t-e+P)%T-E}function Z(t){return(t%T+T)%T}function Y(t,e,n,r){const i=Z(t),o=Z(e),a=Z(n),s=Z(o-i),c=Z(a-i),l=Z(i-o),u=Z(i-a);return i===o||i===a||r&&o===a||s>c&&l<u}function X(t,e,n){return Math.max(e,Math.min(n,t))}function K(t,e,n,r=1e-6){return t>=Math.min(e,n)-r&&t<=Math.max(e,n)+r}function G(t,e,n){n=n||(n=>t[n]<e);let r,i=t.length-1,o=0;for(;i-o>1;)r=o+i>>1,n(r)?o=r:i=r;return{lo:o,hi:i}}const Q=(t,e,n,r)=>G(t,n,r?r=>{const i=t[r][e];return i<n||i===n&&t[r+1][e]===n}:r=>t[r][e]<n),J=(t,e,n)=>G(t,n,(r=>t[r][e]>=n));const tt=["push","pop","shift","splice","unshift"];function et(t,e){const n=t._chartjs;if(!n)return;const r=n.listeners,i=r.indexOf(e);-1!==i&&r.splice(i,1),r.length>0||(tt.forEach((e=>{delete t[e]})),delete t._chartjs)}function nt(t){const e=new Set;let n,r;for(n=0,r=t.length;n<r;++n)e.add(t[n]);return e.size===r?t:Array.from(e)}const rt=function(){return"undefined"==typeof window?function(t){return t()}:window.requestAnimationFrame}();function it(t,e){let n=!1;return function(...r){n||(n=!0,rt.call(window,(()=>{n=!1,t.apply(e,r)})))}}const ot=t=>"start"===t?"left":"end"===t?"right":"center",at=(t,e,n)=>"start"===t?e:"end"===t?n:(e+n)/2;function st(t,e,n){const r=e.length;let i=0,o=r;if(t._sorted){const{iScale:a,_parsed:s}=t,c=a.axis,{min:l,max:u,minDefined:f,maxDefined:h}=a.getUserBounds();f&&(i=X(Math.min(Q(s,a.axis,l).lo,n?r:Q(e,c,a.getPixelForValue(l)).lo),0,r-1)),o=h?X(Math.max(Q(s,a.axis,u,!0).hi+1,n?0:Q(e,c,a.getPixelForValue(u),!0).hi+1),i,r)-i:r-i}return{start:i,count:o}}function ct(t){const{xScale:e,yScale:n,_scaleRanges:r}=t,i={xmin:e.min,xmax:e.max,ymin:n.min,ymax:n.max};if(!r)return t._scaleRanges=i,!0;const o=r.xmin!==e.min||r.xmax!==e.max||r.ymin!==n.min||r.ymax!==n.max;return Object.assign(r,i),o}const lt=t=>0===t||1===t,ut=(t,e,n)=>-Math.pow(2,10*(t-=1))*Math.sin((t-e)*T/n),ft=(t,e,n)=>Math.pow(2,-10*t)*Math.sin((t-e)*T/n)+1,ht={linear:t=>t,easeInQuad:t=>t*t,easeOutQuad:t=>-t*(t-2),easeInOutQuad:t=>(t/=.5)<1?.5*t*t:-.5*(--t*(t-2)-1),easeInCubic:t=>t*t*t,easeOutCubic:t=>(t-=1)*t*t+1,easeInOutCubic:t=>(t/=.5)<1?.5*t*t*t:.5*((t-=2)*t*t+2),easeInQuart:t=>t*t*t*t,easeOutQuart:t=>-((t-=1)*t*t*t-1),easeInOutQuart:t=>(t/=.5)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2),easeInQuint:t=>t*t*t*t*t,easeOutQuint:t=>(t-=1)*t*t*t*t+1,easeInOutQuint:t=>(t/=.5)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2),easeInSine:t=>1-Math.cos(t*D),easeOutSine:t=>Math.sin(t*D),easeInOutSine:t=>-.5*(Math.cos(E*t)-1),easeInExpo:t=>0===t?0:Math.pow(2,10*(t-1)),easeOutExpo:t=>1===t?1:1-Math.pow(2,-10*t),easeInOutExpo:t=>lt(t)?t:t<.5?.5*Math.pow(2,10*(2*t-1)):.5*(2-Math.pow(2,-10*(2*t-1))),easeInCirc:t=>t>=1?t:-(Math.sqrt(1-t*t)-1),easeOutCirc:t=>Math.sqrt(1-(t-=1)*t),easeInOutCirc:t=>(t/=.5)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1),easeInElastic:t=>lt(t)?t:ut(t,.075,.3),easeOutElastic:t=>lt(t)?t:ft(t,.075,.3),easeInOutElastic(t){const e=.1125;return lt(t)?t:t<.5?.5*ut(2*t,e,.45):.5+.5*ft(2*t-1,e,.45)},easeInBack(t){const e=1.70158;return t*t*((e+1)*t-e)},easeOutBack(t){const e=1.70158;return(t-=1)*t*((e+1)*t+e)+1},easeInOutBack(t){let e=1.70158;return(t/=.5)<1?t*t*((1+(e*=1.525))*t-e)*.5:.5*((t-=2)*t*((1+(e*=1.525))*t+e)+2)},easeInBounce:t=>1-ht.easeOutBounce(1-t),easeOutBounce(t){const e=7.5625,n=2.75;return t<1/n?e*t*t:t<2/n?e*(t-=1.5/n)*t+.75:t<2.5/n?e*(t-=2.25/n)*t+.9375:e*(t-=2.625/n)*t+.984375},easeInOutBounce:t=>t<.5?.5*ht.easeInBounce(2*t):.5*ht.easeOutBounce(2*t-1)+.5};var dt=ht;function pt(t){return t+.5|0}const mt=(t,e,n)=>Math.max(Math.min(t,n),e);function vt(t){return mt(pt(2.55*t),0,255)}function gt(t){return mt(pt(255*t),0,255)}function yt(t){return mt(pt(t/2.55)/100,0,1)}function bt(t){return mt(pt(100*t),0,100)}const wt={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},_t=[..."0123456789ABCDEF"],xt=t=>_t[15&t],kt=t=>_t[(240&t)>>4]+_t[15&t],Ot=t=>(240&t)>>4==(15&t);function Ct(t){var e=(t=>Ot(t.r)&&Ot(t.g)&&Ot(t.b)&&Ot(t.a))(t)?xt:kt;return t?"#"+e(t.r)+e(t.g)+e(t.b)+((t,e)=>t<255?e(t):"")(t.a,e):void 0}const St=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function Et(t,e,n){const r=e*Math.min(n,1-n),i=(e,i=(e+t/30)%12)=>n-r*Math.max(Math.min(i-3,9-i,1),-1);return[i(0),i(8),i(4)]}function Tt(t,e,n){const r=(r,i=(r+t/60)%6)=>n-n*e*Math.max(Math.min(i,4-i,1),0);return[r(5),r(3),r(1)]}function Pt(t,e,n){const r=Et(t,1,.5);let i;for(e+n>1&&(i=1/(e+n),e*=i,n*=i),i=0;i<3;i++)r[i]*=1-e-n,r[i]+=e;return r}function At(t){const e=t.r/255,n=t.g/255,r=t.b/255,i=Math.max(e,n,r),o=Math.min(e,n,r),a=(i+o)/2;let s,c,l;return i!==o&&(l=i-o,c=a>.5?l/(2-i-o):l/(i+o),s=function(t,e,n,r,i){return t===i?(e-n)/r+(e<n?6:0):e===i?(n-t)/r+2:(t-e)/r+4}(e,n,r,l,i),s=60*s+.5),[0|s,c||0,a]}function jt(t,e,n,r){return(Array.isArray(e)?t(e[0],e[1],e[2]):t(e,n,r)).map(gt)}function Dt(t,e,n){return jt(Et,t,e,n)}function Mt(t){return(t%360+360)%360}function Rt(t){const e=St.exec(t);let n,r=255;if(!e)return;e[5]!==n&&(r=e[6]?vt(+e[5]):gt(+e[5]));const i=Mt(+e[2]),o=+e[3]/100,a=+e[4]/100;return n="hwb"===e[1]?function(t,e,n){return jt(Pt,t,e,n)}(i,o,a):"hsv"===e[1]?function(t,e,n){return jt(Tt,t,e,n)}(i,o,a):Dt(i,o,a),{r:n[0],g:n[1],b:n[2],a:r}}const It={x:"dark",Z:"light",Y:"re",X:"blu",W:"gr",V:"medium",U:"slate",A:"ee",T:"ol",S:"or",B:"ra",C:"lateg",D:"ights",R:"in",Q:"turquois",E:"hi",P:"ro",O:"al",N:"le",M:"de",L:"yello",F:"en",K:"ch",G:"arks",H:"ea",I:"ightg",J:"wh"},Nt={OiceXe:"f0f8ff",antiquewEte:"faebd7",aqua:"ffff",aquamarRe:"7fffd4",azuY:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"0",blanKedOmond:"ffebcd",Xe:"ff",XeviTet:"8a2be2",bPwn:"a52a2a",burlywood:"deb887",caMtXe:"5f9ea0",KartYuse:"7fff00",KocTate:"d2691e",cSO:"ff7f50",cSnflowerXe:"6495ed",cSnsilk:"fff8dc",crimson:"dc143c",cyan:"ffff",xXe:"8b",xcyan:"8b8b",xgTMnPd:"b8860b",xWay:"a9a9a9",xgYF:"6400",xgYy:"a9a9a9",xkhaki:"bdb76b",xmagFta:"8b008b",xTivegYF:"556b2f",xSange:"ff8c00",xScEd:"9932cc",xYd:"8b0000",xsOmon:"e9967a",xsHgYF:"8fbc8f",xUXe:"483d8b",xUWay:"2f4f4f",xUgYy:"2f4f4f",xQe:"ced1",xviTet:"9400d3",dAppRk:"ff1493",dApskyXe:"bfff",dimWay:"696969",dimgYy:"696969",dodgerXe:"1e90ff",fiYbrick:"b22222",flSOwEte:"fffaf0",foYstWAn:"228b22",fuKsia:"ff00ff",gaRsbSo:"dcdcdc",ghostwEte:"f8f8ff",gTd:"ffd700",gTMnPd:"daa520",Way:"808080",gYF:"8000",gYFLw:"adff2f",gYy:"808080",honeyMw:"f0fff0",hotpRk:"ff69b4",RdianYd:"cd5c5c",Rdigo:"4b0082",ivSy:"fffff0",khaki:"f0e68c",lavFMr:"e6e6fa",lavFMrXsh:"fff0f5",lawngYF:"7cfc00",NmoncEffon:"fffacd",ZXe:"add8e6",ZcSO:"f08080",Zcyan:"e0ffff",ZgTMnPdLw:"fafad2",ZWay:"d3d3d3",ZgYF:"90ee90",ZgYy:"d3d3d3",ZpRk:"ffb6c1",ZsOmon:"ffa07a",ZsHgYF:"20b2aa",ZskyXe:"87cefa",ZUWay:"778899",ZUgYy:"778899",ZstAlXe:"b0c4de",ZLw:"ffffe0",lime:"ff00",limegYF:"32cd32",lRF:"faf0e6",magFta:"ff00ff",maPon:"800000",VaquamarRe:"66cdaa",VXe:"cd",VScEd:"ba55d3",VpurpN:"9370db",VsHgYF:"3cb371",VUXe:"7b68ee",VsprRggYF:"fa9a",VQe:"48d1cc",VviTetYd:"c71585",midnightXe:"191970",mRtcYam:"f5fffa",mistyPse:"ffe4e1",moccasR:"ffe4b5",navajowEte:"ffdead",navy:"80",Tdlace:"fdf5e6",Tive:"808000",TivedBb:"6b8e23",Sange:"ffa500",SangeYd:"ff4500",ScEd:"da70d6",pOegTMnPd:"eee8aa",pOegYF:"98fb98",pOeQe:"afeeee",pOeviTetYd:"db7093",papayawEp:"ffefd5",pHKpuff:"ffdab9",peru:"cd853f",pRk:"ffc0cb",plum:"dda0dd",powMrXe:"b0e0e6",purpN:"800080",YbeccapurpN:"663399",Yd:"ff0000",Psybrown:"bc8f8f",PyOXe:"4169e1",saddNbPwn:"8b4513",sOmon:"fa8072",sandybPwn:"f4a460",sHgYF:"2e8b57",sHshell:"fff5ee",siFna:"a0522d",silver:"c0c0c0",skyXe:"87ceeb",UXe:"6a5acd",UWay:"708090",UgYy:"708090",snow:"fffafa",sprRggYF:"ff7f",stAlXe:"4682b4",tan:"d2b48c",teO:"8080",tEstN:"d8bfd8",tomato:"ff6347",Qe:"40e0d0",viTet:"ee82ee",JHt:"f5deb3",wEte:"ffffff",wEtesmoke:"f5f5f5",Lw:"ffff00",LwgYF:"9acd32"};let Lt;function $t(t){Lt||(Lt=function(){const t={},e=Object.keys(Nt),n=Object.keys(It);let r,i,o,a,s;for(r=0;r<e.length;r++){for(a=s=e[r],i=0;i<n.length;i++)o=n[i],s=s.replace(o,It[o]);o=parseInt(Nt[a],16),t[s]=[o>>16&255,o>>8&255,255&o]}return t}(),Lt.transparent=[0,0,0,0]);const e=Lt[t.toLowerCase()];return e&&{r:e[0],g:e[1],b:e[2],a:4===e.length?e[3]:255}}const Ft=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;const Bt=t=>t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055,zt=t=>t<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4);function Ht(t,e,n){if(t){let r=At(t);r[e]=Math.max(0,Math.min(r[e]+r[e]*n,0===e?360:1)),r=Dt(r),t.r=r[0],t.g=r[1],t.b=r[2]}}function Ut(t,e){return t?Object.assign(e||{},t):t}function qt(t){var e={r:0,g:0,b:0,a:255};return Array.isArray(t)?t.length>=3&&(e={r:t[0],g:t[1],b:t[2],a:255},t.length>3&&(e.a=gt(t[3]))):(e=Ut(t,{r:0,g:0,b:0,a:1})).a=gt(e.a),e}function Wt(t){return"r"===t.charAt(0)?function(t){const e=Ft.exec(t);let n,r,i,o=255;if(e){if(e[7]!==n){const t=+e[7];o=e[8]?vt(t):mt(255*t,0,255)}return n=+e[1],r=+e[3],i=+e[5],n=255&(e[2]?vt(n):mt(n,0,255)),r=255&(e[4]?vt(r):mt(r,0,255)),i=255&(e[6]?vt(i):mt(i,0,255)),{r:n,g:r,b:i,a:o}}}(t):Rt(t)}class Vt{constructor(t){if(t instanceof Vt)return t;const e=typeof t;let n;"object"===e?n=qt(t):"string"===e&&(n=function(t){var e,n=t.length;return"#"===t[0]&&(4===n||5===n?e={r:255&17*wt[t[1]],g:255&17*wt[t[2]],b:255&17*wt[t[3]],a:5===n?17*wt[t[4]]:255}:7!==n&&9!==n||(e={r:wt[t[1]]<<4|wt[t[2]],g:wt[t[3]]<<4|wt[t[4]],b:wt[t[5]]<<4|wt[t[6]],a:9===n?wt[t[7]]<<4|wt[t[8]]:255})),e}(t)||$t(t)||Wt(t)),this._rgb=n,this._valid=!!n}get valid(){return this._valid}get rgb(){var t=Ut(this._rgb);return t&&(t.a=yt(t.a)),t}set rgb(t){this._rgb=qt(t)}rgbString(){return this._valid?function(t){return t&&(t.a<255?`rgba(${t.r}, ${t.g}, ${t.b}, ${yt(t.a)})`:`rgb(${t.r}, ${t.g}, ${t.b})`)}(this._rgb):void 0}hexString(){return this._valid?Ct(this._rgb):void 0}hslString(){return this._valid?function(t){if(!t)return;const e=At(t),n=e[0],r=bt(e[1]),i=bt(e[2]);return t.a<255?`hsla(${n}, ${r}%, ${i}%, ${yt(t.a)})`:`hsl(${n}, ${r}%, ${i}%)`}(this._rgb):void 0}mix(t,e){if(t){const n=this.rgb,r=t.rgb;let i;const o=e===i?.5:e,a=2*o-1,s=n.a-r.a,c=((a*s==-1?a:(a+s)/(1+a*s))+1)/2;i=1-c,n.r=255&c*n.r+i*r.r+.5,n.g=255&c*n.g+i*r.g+.5,n.b=255&c*n.b+i*r.b+.5,n.a=o*n.a+(1-o)*r.a,this.rgb=n}return this}interpolate(t,e){return t&&(this._rgb=function(t,e,n){const r=zt(yt(t.r)),i=zt(yt(t.g)),o=zt(yt(t.b));return{r:gt(Bt(r+n*(zt(yt(e.r))-r))),g:gt(Bt(i+n*(zt(yt(e.g))-i))),b:gt(Bt(o+n*(zt(yt(e.b))-o))),a:t.a+n*(e.a-t.a)}}(this._rgb,t._rgb,e)),this}clone(){return new Vt(this.rgb)}alpha(t){return this._rgb.a=gt(t),this}clearer(t){return this._rgb.a*=1-t,this}greyscale(){const t=this._rgb,e=pt(.3*t.r+.59*t.g+.11*t.b);return t.r=t.g=t.b=e,this}opaquer(t){return this._rgb.a*=1+t,this}negate(){const t=this._rgb;return t.r=255-t.r,t.g=255-t.g,t.b=255-t.b,this}lighten(t){return Ht(this._rgb,2,t),this}darken(t){return Ht(this._rgb,2,-t),this}saturate(t){return Ht(this._rgb,1,t),this}desaturate(t){return Ht(this._rgb,1,-t),this}rotate(t){return function(t,e){var n=At(t);n[0]=Mt(n[0]+e),n=Dt(n),t.r=n[0],t.g=n[1],t.b=n[2]}(this._rgb,t),this}}function Zt(t){return new Vt(t)}function Yt(t){if(t&&"object"==typeof t){const e=t.toString();return"[object CanvasPattern]"===e||"[object CanvasGradient]"===e}return!1}function Xt(t){return Yt(t)?t:Zt(t)}function Kt(t){return Yt(t)?t:Zt(t).saturate(.5).darken(.1).hexString()}const Gt=["x","y","borderWidth","radius","tension"],Qt=["color","borderColor","backgroundColor"];const Jt=new Map;function te(t,e,n){return function(t,e){e=e||{};const n=t+JSON.stringify(e);let r=Jt.get(n);return r||(r=new Intl.NumberFormat(t,e),Jt.set(n,r)),r}(e,n).format(t)}const ee={values:t=>a(t)?t:""+t,numeric(t,e,n){if(0===t)return"0";const r=this.chart.options.locale;let i,o=t;if(n.length>1){const e=Math.max(Math.abs(n[0].value),Math.abs(n[n.length-1].value));(e<1e-4||e>1e15)&&(i="scientific"),o=function(t,e){let n=e.length>3?e[2].value-e[1].value:e[1].value-e[0].value;Math.abs(n)>=1&&t!==Math.floor(t)&&(n=t-Math.floor(t));return n}(t,n)}const a=I(Math.abs(o)),s=Math.max(Math.min(-1*Math.floor(a),20),0),c={notation:i,minimumFractionDigits:s,maximumFractionDigits:s};return Object.assign(c,this.options.ticks.format),te(t,r,c)},logarithmic(t,e,n){if(0===t)return"0";const r=n[e].significand||t/Math.pow(10,Math.floor(I(t)));return[1,2,3,5,10,15].includes(r)||e>.8*n.length?ee.numeric.call(this,t,e,n):""}};var ne={formatters:ee};const re=Object.create(null),ie=Object.create(null);function oe(t,e){if(!e)return t;const n=e.split(".");for(let e=0,r=n.length;e<r;++e){const r=n[e];t=t[r]||(t[r]=Object.create(null))}return t}function ae(t,e,n){return"string"==typeof e?y(oe(t,e),n):y(oe(t,""),e)}class se{constructor(t,e){this.animation=void 0,this.backgroundColor="rgba(0,0,0,0.1)",this.borderColor="rgba(0,0,0,0.1)",this.color="#666",this.datasets={},this.devicePixelRatio=t=>t.chart.platform.getDevicePixelRatio(),this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(t,e)=>Kt(e.backgroundColor),this.hoverBorderColor=(t,e)=>Kt(e.borderColor),this.hoverColor=(t,e)=>Kt(e.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(t),this.apply(e)}set(t,e){return ae(this,t,e)}get(t){return oe(this,t)}describe(t,e){return ae(ie,t,e)}override(t,e){return ae(re,t,e)}route(t,e,n,r){const i=oe(this,t),o=oe(this,n),a="_"+e;Object.defineProperties(i,{[a]:{value:i[e],writable:!0},[e]:{enumerable:!0,get(){const t=this[a],e=o[r];return s(t)?Object.assign({},e,t):u(t,e)},set(t){this[a]=t}}})}apply(t){t.forEach((t=>t(this)))}}var ce=new se({_scriptable:t=>!t.startsWith("on"),_indexable:t=>"events"!==t,hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}},[function(t){t.set("animation",{delay:void 0,duration:1e3,easing:"easeOutQuart",fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0}),t.describe("animation",{_fallback:!1,_indexable:!1,_scriptable:t=>"onProgress"!==t&&"onComplete"!==t&&"fn"!==t}),t.set("animations",{colors:{type:"color",properties:Qt},numbers:{type:"number",properties:Gt}}),t.describe("animations",{_fallback:"animation"}),t.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:t=>0|t}}}})},function(t){t.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})},function(t){t.set("scale",{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:"ticks",grace:0,grid:{display:!0,lineWidth:1,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(t,e)=>e.lineWidth,tickColor:(t,e)=>e.color,offset:!1},border:{display:!0,dash:[],dashOffset:0,width:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:ne.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),t.route("scale.ticks","color","","color"),t.route("scale.grid","color","","borderColor"),t.route("scale.border","color","","borderColor"),t.route("scale.title","color","","color"),t.describe("scale",{_fallback:!1,_scriptable:t=>!t.startsWith("before")&&!t.startsWith("after")&&"callback"!==t&&"parser"!==t,_indexable:t=>"borderDash"!==t&&"tickBorderDash"!==t&&"dash"!==t}),t.describe("scales",{_fallback:"scale"}),t.describe("scale.ticks",{_scriptable:t=>"backdropPadding"!==t&&"callback"!==t,_indexable:t=>"backdropPadding"!==t})}]);function le(t,e,n,r,i){let o=e[i];return o||(o=e[i]=t.measureText(i).width,n.push(i)),o>r&&(r=o),r}function ue(t,e,n){const r=t.currentDevicePixelRatio,i=0!==n?Math.max(n/2,.5):0;return Math.round((e-i)*r)/r+i}function fe(t,e){(e=e||t.getContext("2d")).save(),e.resetTransform(),e.clearRect(0,0,t.width,t.height),e.restore()}function he(t,e,n,r){de(t,e,n,r,null)}function de(t,e,n,r,i){let o,a,s,c,l,u,f,h;const d=e.pointStyle,p=e.rotation,m=e.radius;let v=(p||0)*j;if(d&&"object"==typeof d&&(o=d.toString(),"[object HTMLImageElement]"===o||"[object HTMLCanvasElement]"===o))return t.save(),t.translate(n,r),t.rotate(v),t.drawImage(d,-d.width/2,-d.height/2,d.width,d.height),void t.restore();if(!(isNaN(m)||m<=0)){switch(t.beginPath(),d){default:i?t.ellipse(n,r,i/2,m,0,0,T):t.arc(n,r,m,0,T),t.closePath();break;case"triangle":u=i?i/2:m,t.moveTo(n+Math.sin(v)*u,r-Math.cos(v)*m),v+=R,t.lineTo(n+Math.sin(v)*u,r-Math.cos(v)*m),v+=R,t.lineTo(n+Math.sin(v)*u,r-Math.cos(v)*m),t.closePath();break;case"rectRounded":l=.516*m,c=m-l,a=Math.cos(v+M)*c,f=Math.cos(v+M)*(i?i/2-l:c),s=Math.sin(v+M)*c,h=Math.sin(v+M)*(i?i/2-l:c),t.arc(n-f,r-s,l,v-E,v-D),t.arc(n+h,r-a,l,v-D,v),t.arc(n+f,r+s,l,v,v+D),t.arc(n-h,r+a,l,v+D,v+E),t.closePath();break;case"rect":if(!p){c=Math.SQRT1_2*m,u=i?i/2:c,t.rect(n-u,r-c,2*u,2*c);break}v+=M;case"rectRot":f=Math.cos(v)*(i?i/2:m),a=Math.cos(v)*m,s=Math.sin(v)*m,h=Math.sin(v)*(i?i/2:m),t.moveTo(n-f,r-s),t.lineTo(n+h,r-a),t.lineTo(n+f,r+s),t.lineTo(n-h,r+a),t.closePath();break;case"crossRot":v+=M;case"cross":f=Math.cos(v)*(i?i/2:m),a=Math.cos(v)*m,s=Math.sin(v)*m,h=Math.sin(v)*(i?i/2:m),t.moveTo(n-f,r-s),t.lineTo(n+f,r+s),t.moveTo(n+h,r-a),t.lineTo(n-h,r+a);break;case"star":f=Math.cos(v)*(i?i/2:m),a=Math.cos(v)*m,s=Math.sin(v)*m,h=Math.sin(v)*(i?i/2:m),t.moveTo(n-f,r-s),t.lineTo(n+f,r+s),t.moveTo(n+h,r-a),t.lineTo(n-h,r+a),v+=M,f=Math.cos(v)*(i?i/2:m),a=Math.cos(v)*m,s=Math.sin(v)*m,h=Math.sin(v)*(i?i/2:m),t.moveTo(n-f,r-s),t.lineTo(n+f,r+s),t.moveTo(n+h,r-a),t.lineTo(n-h,r+a);break;case"line":a=i?i/2:Math.cos(v)*m,s=Math.sin(v)*m,t.moveTo(n-a,r-s),t.lineTo(n+a,r+s);break;case"dash":t.moveTo(n,r),t.lineTo(n+Math.cos(v)*(i?i/2:m),r+Math.sin(v)*m)}t.fill(),e.borderWidth>0&&t.stroke()}}function pe(t,e,n){return n=n||.5,!e||t&&t.x>e.left-n&&t.x<e.right+n&&t.y>e.top-n&&t.y<e.bottom+n}function me(t,e){t.save(),t.beginPath(),t.rect(e.left,e.top,e.right-e.left,e.bottom-e.top),t.clip()}function ve(t){t.restore()}function ge(t,e,n,r,i){if(!e)return t.lineTo(n.x,n.y);if("middle"===i){const r=(e.x+n.x)/2;t.lineTo(r,e.y),t.lineTo(r,n.y)}else"after"===i!=!!r?t.lineTo(e.x,n.y):t.lineTo(n.x,e.y);t.lineTo(n.x,n.y)}function ye(t,e,n,r){if(!e)return t.lineTo(n.x,n.y);t.bezierCurveTo(r?e.cp1x:e.cp2x,r?e.cp1y:e.cp2y,r?n.cp2x:n.cp1x,r?n.cp2y:n.cp1y,n.x,n.y)}function be(t,e,n,r,i,s={}){const c=a(e)?e:[e],l=s.strokeWidth>0&&""!==s.strokeColor;let u,f;for(t.save(),t.font=i.string,function(t,e){e.translation&&t.translate(e.translation[0],e.translation[1]);o(e.rotation)||t.rotate(e.rotation);e.color&&(t.fillStyle=e.color);e.textAlign&&(t.textAlign=e.textAlign);e.textBaseline&&(t.textBaseline=e.textBaseline)}(t,s),u=0;u<c.length;++u)f=c[u],s.backdrop&&_e(t,s.backdrop),l&&(s.strokeColor&&(t.strokeStyle=s.strokeColor),o(s.strokeWidth)||(t.lineWidth=s.strokeWidth),t.strokeText(f,n,r,s.maxWidth)),t.fillText(f,n,r,s.maxWidth),we(t,n,r,f,s),r+=i.lineHeight;t.restore()}function we(t,e,n,r,i){if(i.strikethrough||i.underline){const o=t.measureText(r),a=e-o.actualBoundingBoxLeft,s=e+o.actualBoundingBoxRight,c=n-o.actualBoundingBoxAscent,l=n+o.actualBoundingBoxDescent,u=i.strikethrough?(c+l)/2:l;t.strokeStyle=t.fillStyle,t.beginPath(),t.lineWidth=i.decorationWidth||2,t.moveTo(a,u),t.lineTo(s,u),t.stroke()}}function _e(t,e){const n=t.fillStyle;t.fillStyle=e.color,t.fillRect(e.left,e.top,e.width,e.height),t.fillStyle=n}function xe(t,e){const{x:n,y:r,w:i,h:o,radius:a}=e;t.arc(n+a.topLeft,r+a.topLeft,a.topLeft,-D,E,!0),t.lineTo(n,r+o-a.bottomLeft),t.arc(n+a.bottomLeft,r+o-a.bottomLeft,a.bottomLeft,E,D,!0),t.lineTo(n+i-a.bottomRight,r+o),t.arc(n+i-a.bottomRight,r+o-a.bottomRight,a.bottomRight,D,0,!0),t.lineTo(n+i,r+a.topRight),t.arc(n+i-a.topRight,r+a.topRight,a.topRight,0,-D,!0),t.lineTo(n+a.topLeft,r)}const ke=/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/,Oe=/^(normal|italic|initial|inherit|unset|(oblique( -?[0-9]?[0-9]deg)?))$/;function Ce(t,e){const n=(""+t).match(ke);if(!n||"normal"===n[1])return 1.2*e;switch(t=+n[2],n[3]){case"px":return t;case"%":t/=100}return e*t}const Se=t=>+t||0;function Ee(t,e){const n={},r=s(e),i=r?Object.keys(e):e,o=s(t)?r?n=>u(t[n],t[e[n]]):e=>t[e]:()=>t;for(const t of i)n[t]=Se(o(t));return n}function Te(t){return Ee(t,{top:"y",right:"x",bottom:"y",left:"x"})}function Pe(t){return Ee(t,["topLeft","topRight","bottomLeft","bottomRight"])}function Ae(t){const e=Te(t);return e.width=e.left+e.right,e.height=e.top+e.bottom,e}function je(t,e){t=t||{},e=e||ce.font;let n=u(t.size,e.size);"string"==typeof n&&(n=parseInt(n,10));let r=u(t.style,e.style);r&&!(""+r).match(Oe)&&(console.warn('Invalid font style specified: "'+r+'"'),r=void 0);const i={family:u(t.family,e.family),lineHeight:Ce(u(t.lineHeight,e.lineHeight),n),size:n,style:r,weight:u(t.weight,e.weight),string:""};return i.string=function(t){return!t||o(t.size)||o(t.family)?null:(t.style?t.style+" ":"")+(t.weight?t.weight+" ":"")+t.size+"px "+t.family}(i),i}function De(t,e,n,r){let i,o,s,c=!0;for(i=0,o=t.length;i<o;++i)if(s=t[i],void 0!==s&&(void 0!==e&&"function"==typeof s&&(s=s(e),c=!1),void 0!==n&&a(s)&&(s=s[n%s.length],c=!1),void 0!==s))return r&&!c&&(r.cacheable=!1),s}function Me(t,e){return Object.assign(Object.create(t),e)}function Re(t,e=[""],n=t,r,i=(()=>t[0])){O(r)||(r=We("_fallback",t));const o={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:t,_rootScopes:n,_fallback:r,_getTarget:i,override:i=>Re([i,...t],e,n,r)};return new Proxy(o,{deleteProperty:(e,n)=>(delete e[n],delete e._keys,delete t[0][n],!0),get:(n,r)=>Fe(n,r,(()=>function(t,e,n,r){let i;for(const o of e)if(i=We(Le(o,t),n),O(i))return $e(t,i)?Ue(n,r,t,i):i}(r,e,t,n))),getOwnPropertyDescriptor:(t,e)=>Reflect.getOwnPropertyDescriptor(t._scopes[0],e),getPrototypeOf:()=>Reflect.getPrototypeOf(t[0]),has:(t,e)=>Ve(t).includes(e),ownKeys:t=>Ve(t),set(t,e,n){const r=t._storage||(t._storage=i());return t[e]=r[e]=n,delete t._keys,!0}})}function Ie(t,e,n,r){const i={_cacheable:!1,_proxy:t,_context:e,_subProxy:n,_stack:new Set,_descriptors:Ne(t,r),setContext:e=>Ie(t,e,n,r),override:i=>Ie(t.override(i),e,n,r)};return new Proxy(i,{deleteProperty:(e,n)=>(delete e[n],delete t[n],!0),get:(t,e,n)=>Fe(t,e,(()=>function(t,e,n){const{_proxy:r,_context:i,_subProxy:o,_descriptors:c}=t;let l=r[e];C(l)&&c.isScriptable(e)&&(l=function(t,e,n,r){const{_proxy:i,_context:o,_subProxy:a,_stack:s}=n;if(s.has(t))throw new Error("Recursion detected: "+Array.from(s).join("->")+"->"+t);s.add(t),e=e(o,a||r),s.delete(t),$e(t,e)&&(e=Ue(i._scopes,i,t,e));return e}(e,l,t,n));a(l)&&l.length&&(l=function(t,e,n,r){const{_proxy:i,_context:o,_subProxy:a,_descriptors:c}=n;if(O(o.index)&&r(t))e=e[o.index%e.length];else if(s(e[0])){const n=e,r=i._scopes.filter((t=>t!==n));e=[];for(const s of n){const n=Ue(r,i,t,s);e.push(Ie(n,o,a&&a[t],c))}}return e}(e,l,t,c.isIndexable));$e(e,l)&&(l=Ie(l,i,o&&o[e],c));return l}(t,e,n))),getOwnPropertyDescriptor:(e,n)=>e._descriptors.allKeys?Reflect.has(t,n)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(t,n),getPrototypeOf:()=>Reflect.getPrototypeOf(t),has:(e,n)=>Reflect.has(t,n),ownKeys:()=>Reflect.ownKeys(t),set:(e,n,r)=>(t[n]=r,delete e[n],!0)})}function Ne(t,e={scriptable:!0,indexable:!0}){const{_scriptable:n=e.scriptable,_indexable:r=e.indexable,_allKeys:i=e.allKeys}=t;return{allKeys:i,scriptable:n,indexable:r,isScriptable:C(n)?n:()=>n,isIndexable:C(r)?r:()=>r}}const Le=(t,e)=>t?t+k(e):e,$e=(t,e)=>s(e)&&"adapters"!==t&&(null===Object.getPrototypeOf(e)||e.constructor===Object);function Fe(t,e,n){if(Object.prototype.hasOwnProperty.call(t,e))return t[e];const r=n();return t[e]=r,r}function Be(t,e,n){return C(t)?t(e,n):t}const ze=(t,e)=>!0===t?e:"string"==typeof t?x(e,t):void 0;function He(t,e,n,r,i){for(const o of e){const e=ze(n,o);if(e){t.add(e);const o=Be(e._fallback,n,i);if(O(o)&&o!==n&&o!==r)return o}else if(!1===e&&O(r)&&n!==r)return null}return!1}function Ue(t,e,n,r){const i=e._rootScopes,o=Be(e._fallback,n,r),c=[...t,...i],l=new Set;l.add(r);let u=qe(l,c,n,o||n,r);return null!==u&&((!O(o)||o===n||(u=qe(l,c,o,u,r),null!==u))&&Re(Array.from(l),[""],i,o,(()=>function(t,e,n){const r=t._getTarget();e in r||(r[e]={});const i=r[e];if(a(i)&&s(n))return n;return i||{}}(e,n,r))))}function qe(t,e,n,r,i){for(;n;)n=He(t,e,n,r,i);return n}function We(t,e){for(const n of e){if(!n)continue;const e=n[t];if(O(e))return e}}function Ve(t){let e=t._keys;return e||(e=t._keys=function(t){const e=new Set;for(const n of t)for(const t of Object.keys(n).filter((t=>!t.startsWith("_"))))e.add(t);return Array.from(e)}(t._scopes)),e}const Ze=Number.EPSILON||1e-14,Ye=(t,e)=>e<t.length&&!t[e].skip&&t[e],Xe=t=>"x"===t?"y":"x";function Ke(t,e,n,r){const i=t.skip?e:t,o=e,a=n.skip?e:n,s=W(o,i),c=W(a,o);let l=s/(s+c),u=c/(s+c);l=isNaN(l)?0:l,u=isNaN(u)?0:u;const f=r*l,h=r*u;return{previous:{x:o.x-f*(a.x-i.x),y:o.y-f*(a.y-i.y)},next:{x:o.x+h*(a.x-i.x),y:o.y+h*(a.y-i.y)}}}function Ge(t,e="x"){const n=Xe(e),r=t.length,i=Array(r).fill(0),o=Array(r);let a,s,c,l=Ye(t,0);for(a=0;a<r;++a)if(s=c,c=l,l=Ye(t,a+1),c){if(l){const t=l[e]-c[e];i[a]=0!==t?(l[n]-c[n])/t:0}o[a]=s?l?N(i[a-1])!==N(i[a])?0:(i[a-1]+i[a])/2:i[a-1]:i[a]}!function(t,e,n){const r=t.length;let i,o,a,s,c,l=Ye(t,0);for(let u=0;u<r-1;++u)c=l,l=Ye(t,u+1),c&&l&&(L(e[u],0,Ze)?n[u]=n[u+1]=0:(i=n[u]/e[u],o=n[u+1]/e[u],s=Math.pow(i,2)+Math.pow(o,2),s<=9||(a=3/Math.sqrt(s),n[u]=i*a*e[u],n[u+1]=o*a*e[u])))}(t,i,o),function(t,e,n="x"){const r=Xe(n),i=t.length;let o,a,s,c=Ye(t,0);for(let l=0;l<i;++l){if(a=s,s=c,c=Ye(t,l+1),!s)continue;const i=s[n],u=s[r];a&&(o=(i-a[n])/3,s[`cp1${n}`]=i-o,s[`cp1${r}`]=u-o*e[l]),c&&(o=(c[n]-i)/3,s[`cp2${n}`]=i+o,s[`cp2${r}`]=u+o*e[l])}}(t,o,e)}function Qe(t,e,n){return Math.max(Math.min(t,n),e)}function Je(t,e,n,r,i){let o,a,s,c;if(e.spanGaps&&(t=t.filter((t=>!t.skip))),"monotone"===e.cubicInterpolationMode)Ge(t,i);else{let n=r?t[t.length-1]:t[0];for(o=0,a=t.length;o<a;++o)s=t[o],c=Ke(n,s,t[Math.min(o+1,a-(r?0:1))%a],e.tension),s.cp1x=c.previous.x,s.cp1y=c.previous.y,s.cp2x=c.next.x,s.cp2y=c.next.y,n=s}e.capBezierPoints&&function(t,e){let n,r,i,o,a,s=pe(t[0],e);for(n=0,r=t.length;n<r;++n)a=o,o=s,s=n<r-1&&pe(t[n+1],e),o&&(i=t[n],a&&(i.cp1x=Qe(i.cp1x,e.left,e.right),i.cp1y=Qe(i.cp1y,e.top,e.bottom)),s&&(i.cp2x=Qe(i.cp2x,e.left,e.right),i.cp2y=Qe(i.cp2y,e.top,e.bottom)))}(t,n)}function tn(){return"undefined"!=typeof window&&"undefined"!=typeof document}function en(t){let e=t.parentNode;return e&&"[object ShadowRoot]"===e.toString()&&(e=e.host),e}function nn(t,e,n){let r;return"string"==typeof t?(r=parseInt(t,10),-1!==t.indexOf("%")&&(r=r/100*e.parentNode[n])):r=t,r}const rn=t=>t.ownerDocument.defaultView.getComputedStyle(t,null);const on=["top","right","bottom","left"];function an(t,e,n){const r={};n=n?"-"+n:"";for(let i=0;i<4;i++){const o=on[i];r[o]=parseFloat(t[e+"-"+o+n])||0}return r.width=r.left+r.right,r.height=r.top+r.bottom,r}const sn=(t,e,n)=>(t>0||e>0)&&(!n||!n.shadowRoot);function cn(t,e){if("native"in t)return t;const{canvas:n,currentDevicePixelRatio:r}=e,i=rn(n),o="border-box"===i.boxSizing,a=an(i,"padding"),s=an(i,"border","width"),{x:c,y:l,box:u}=function(t,e){const n=t.touches,r=n&&n.length?n[0]:t,{offsetX:i,offsetY:o}=r;let a,s,c=!1;if(sn(i,o,t.target))a=i,s=o;else{const t=e.getBoundingClientRect();a=r.clientX-t.left,s=r.clientY-t.top,c=!0}return{x:a,y:s,box:c}}(t,n),f=a.left+(u&&s.left),h=a.top+(u&&s.top);let{width:d,height:p}=e;return o&&(d-=a.width+s.width,p-=a.height+s.height),{x:Math.round((c-f)/d*n.width/r),y:Math.round((l-h)/p*n.height/r)}}const ln=t=>Math.round(10*t)/10;function un(t,e,n,r){const i=rn(t),o=an(i,"margin"),a=nn(i.maxWidth,t,"clientWidth")||A,s=nn(i.maxHeight,t,"clientHeight")||A,c=function(t,e,n){let r,i;if(void 0===e||void 0===n){const o=en(t);if(o){const t=o.getBoundingClientRect(),a=rn(o),s=an(a,"border","width"),c=an(a,"padding");e=t.width-c.width-s.width,n=t.height-c.height-s.height,r=nn(a.maxWidth,o,"clientWidth"),i=nn(a.maxHeight,o,"clientHeight")}else e=t.clientWidth,n=t.clientHeight}return{width:e,height:n,maxWidth:r||A,maxHeight:i||A}}(t,e,n);let{width:l,height:u}=c;if("content-box"===i.boxSizing){const t=an(i,"border","width"),e=an(i,"padding");l-=e.width+t.width,u-=e.height+t.height}l=Math.max(0,l-o.width),u=Math.max(0,r?Math.floor(l/r):u-o.height),l=ln(Math.min(l,a,c.maxWidth)),u=ln(Math.min(u,s,c.maxHeight)),l&&!u&&(u=ln(l/2));return(void 0!==e||void 0!==n)&&r&&c.height&&u>c.height&&(u=c.height,l=ln(Math.floor(u*r))),{width:l,height:u}}function fn(t,e,n){const r=e||1,i=Math.floor(t.height*r),o=Math.floor(t.width*r);t.height=i/r,t.width=o/r;const a=t.canvas;return a.style&&(n||!a.style.height&&!a.style.width)&&(a.style.height=`${t.height}px`,a.style.width=`${t.width}px`),(t.currentDevicePixelRatio!==r||a.height!==i||a.width!==o)&&(t.currentDevicePixelRatio=r,a.height=i,a.width=o,t.ctx.setTransform(r,0,0,r,0,0),!0)}const hn=function(){let t=!1;try{const e={get passive(){return t=!0,!1}};window.addEventListener("test",null,e),window.removeEventListener("test",null,e)}catch(t){}return t}();function dn(t,e){const n=function(t,e){return rn(t).getPropertyValue(e)}(t,e),r=n&&n.match(/^(\d+)(\.\d+)?px$/);return r?+r[1]:void 0}function pn(t,e,n,r){return{x:t.x+n*(e.x-t.x),y:t.y+n*(e.y-t.y)}}function mn(t,e,n,r){return{x:t.x+n*(e.x-t.x),y:"middle"===r?n<.5?t.y:e.y:"after"===r?n<1?t.y:e.y:n>0?e.y:t.y}}function vn(t,e,n,r){const i={x:t.cp2x,y:t.cp2y},o={x:e.cp1x,y:e.cp1y},a=pn(t,i,n),s=pn(i,o,n),c=pn(o,e,n),l=pn(a,s,n),u=pn(s,c,n);return pn(l,u,n)}function gn(t,e,n){return t?function(t,e){return{x:n=>t+t+e-n,setWidth(t){e=t},textAlign:t=>"center"===t?t:"right"===t?"left":"right",xPlus:(t,e)=>t-e,leftForLtr:(t,e)=>t-e}}(e,n):function(){return{x:t=>t,setWidth(t){},textAlign:t=>t,xPlus:(t,e)=>t+e,leftForLtr:(t,e)=>t}}()}function yn(t,e){let n,r;"ltr"!==e&&"rtl"!==e||(n=t.canvas.style,r=[n.getPropertyValue("direction"),n.getPropertyPriority("direction")],n.setProperty("direction",e,"important"),t.prevTextDirection=r)}function bn(t,e){void 0!==e&&(delete t.prevTextDirection,t.canvas.style.setProperty("direction",e[0],e[1]))}function wn(t){return"angle"===t?{between:Y,compare:V,normalize:Z}:{between:K,compare:(t,e)=>t-e,normalize:t=>t}}function _n({start:t,end:e,count:n,loop:r,style:i}){return{start:t%n,end:e%n,loop:r&&(e-t+1)%n==0,style:i}}function xn(t,e,n){if(!n)return[t];const{property:r,start:i,end:o}=n,a=e.length,{compare:s,between:c,normalize:l}=wn(r),{start:u,end:f,loop:h,style:d}=function(t,e,n){const{property:r,start:i,end:o}=n,{between:a,normalize:s}=wn(r),c=e.length;let l,u,{start:f,end:h,loop:d}=t;if(d){for(f+=c,h+=c,l=0,u=c;l<u&&a(s(e[f%c][r]),i,o);++l)f--,h--;f%=c,h%=c}return h<f&&(h+=c),{start:f,end:h,loop:d,style:t.style}}(t,e,n),p=[];let m,v,g,y=!1,b=null;const w=()=>y||(()=>c(i,g,m)&&0!==s(i,g))(),_=()=>!y||(()=>0===s(o,m)||c(o,g,m))();for(let t=u,n=u;t<=f;++t)v=e[t%a],v.skip||(m=l(v[r]),m!==g&&(y=c(m,i,o),null===b&&w()&&(b=0===s(m,i)?t:n),null!==b&&_()&&(p.push(_n({start:b,end:t,loop:h,count:a,style:d})),b=null),n=t,g=m));return null!==b&&p.push(_n({start:b,end:f,loop:h,count:a,style:d})),p}function kn(t,e){const n=[],r=t.segments;for(let i=0;i<r.length;i++){const o=xn(r[i],t.points,e);o.length&&n.push(...o)}return n}function On(t,e,n,r){return r&&r.setContext&&n?function(t,e,n,r){const i=t._chart.getContext(),o=Cn(t.options),{_datasetIndex:a,options:{spanGaps:s}}=t,c=n.length,l=[];let u=o,f=e[0].start,h=f;function d(t,e,r,i){const o=s?-1:1;if(t!==e){for(t+=c;n[t%c].skip;)t-=o;for(;n[e%c].skip;)e+=o;t%c!=e%c&&(l.push({start:t%c,end:e%c,loop:r,style:i}),u=i,f=e%c)}}for(const t of e){f=s?f:t.start;let e,o=n[f%c];for(h=f+1;h<=t.end;h++){const s=n[h%c];e=Cn(r.setContext(Me(i,{type:"segment",p0:o,p1:s,p0DataIndex:(h-1)%c,p1DataIndex:h%c,datasetIndex:a}))),Sn(e,u)&&d(f,h-1,t.loop,u),o=s,u=e}f<h-1&&d(f,h-1,t.loop,u)}return l}(t,e,n,r):e}function Cn(t){return{backgroundColor:t.backgroundColor,borderCapStyle:t.borderCapStyle,borderDash:t.borderDash,borderDashOffset:t.borderDashOffset,borderJoinStyle:t.borderJoinStyle,borderWidth:t.borderWidth,borderColor:t.borderColor}}function Sn(t,e){return e&&JSON.stringify(t)!==JSON.stringify(e)}class En{constructor(){this._request=null,this._charts=new Map,this._running=!1,this._lastDate=void 0}_notify(t,e,n,r){const i=e.listeners[r],o=e.duration;i.forEach((r=>r({chart:t,initial:e.initial,numSteps:o,currentStep:Math.min(n-e.start,o)})))}_refresh(){this._request||(this._running=!0,this._request=rt.call(window,(()=>{this._update(),this._request=null,this._running&&this._refresh()})))}_update(t=Date.now()){let e=0;this._charts.forEach(((n,r)=>{if(!n.running||!n.items.length)return;const i=n.items;let o,a=i.length-1,s=!1;for(;a>=0;--a)o=i[a],o._active?(o._total>n.duration&&(n.duration=o._total),o.tick(t),s=!0):(i[a]=i[i.length-1],i.pop());s&&(r.draw(),this._notify(r,n,t,"progress")),i.length||(n.running=!1,this._notify(r,n,t,"complete"),n.initial=!1),e+=i.length})),this._lastDate=t,0===e&&(this._running=!1)}_getAnims(t){const e=this._charts;let n=e.get(t);return n||(n={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},e.set(t,n)),n}listen(t,e,n){this._getAnims(t).listeners[e].push(n)}add(t,e){e&&e.length&&this._getAnims(t).items.push(...e)}has(t){return this._getAnims(t).items.length>0}start(t){const e=this._charts.get(t);e&&(e.running=!0,e.start=Date.now(),e.duration=e.items.reduce(((t,e)=>Math.max(t,e._duration)),0),this._refresh())}running(t){if(!this._running)return!1;const e=this._charts.get(t);return!!(e&&e.running&&e.items.length)}stop(t){const e=this._charts.get(t);if(!e||!e.items.length)return;const n=e.items;let r=n.length-1;for(;r>=0;--r)n[r].cancel();e.items=[],this._notify(t,e,Date.now(),"complete")}remove(t){return this._charts.delete(t)}}var Tn=new En;const Pn="transparent",An={boolean:(t,e,n)=>n>.5?e:t,color(t,e,n){const r=Xt(t||Pn),i=r.valid&&Xt(e||Pn);return i&&i.valid?i.mix(r,n).hexString():e},number:(t,e,n)=>t+(e-t)*n};class jn{constructor(t,e,n,r){const i=e[n];r=De([t.to,r,i,t.from]);const o=De([t.from,i,r]);this._active=!0,this._fn=t.fn||An[t.type||typeof o],this._easing=dt[t.easing]||dt.linear,this._start=Math.floor(Date.now()+(t.delay||0)),this._duration=this._total=Math.floor(t.duration),this._loop=!!t.loop,this._target=e,this._prop=n,this._from=o,this._to=r,this._promises=void 0}active(){return this._active}update(t,e,n){if(this._active){this._notify(!1);const r=this._target[this._prop],i=n-this._start,o=this._duration-i;this._start=n,this._duration=Math.floor(Math.max(o,t.duration)),this._total+=i,this._loop=!!t.loop,this._to=De([t.to,e,r,t.from]),this._from=De([t.from,r,e])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(t){const e=t-this._start,n=this._duration,r=this._prop,i=this._from,o=this._loop,a=this._to;let s;if(this._active=i!==a&&(o||e<n),!this._active)return this._target[r]=a,void this._notify(!0);e<0?this._target[r]=i:(s=e/n%2,s=o&&s>1?2-s:s,s=this._easing(Math.min(1,Math.max(0,s))),this._target[r]=this._fn(i,a,s))}wait(){const t=this._promises||(this._promises=[]);return new Promise(((e,n)=>{t.push({res:e,rej:n})}))}_notify(t){const e=t?"res":"rej",n=this._promises||[];for(let t=0;t<n.length;t++)n[t][e]()}}class Dn{constructor(t,e){this._chart=t,this._properties=new Map,this.configure(e)}configure(t){if(!s(t))return;const e=Object.keys(ce.animation),n=this._properties;Object.getOwnPropertyNames(t).forEach((r=>{const i=t[r];if(!s(i))return;const o={};for(const t of e)o[t]=i[t];(a(i.properties)&&i.properties||[r]).forEach((t=>{t!==r&&n.has(t)||n.set(t,o)}))}))}_animateOptions(t,e){const n=e.options,r=function(t,e){if(!e)return;let n=t.options;if(!n)return void(t.options=e);n.$shared&&(t.options=n=Object.assign({},n,{$shared:!1,$animations:{}}));return n}(t,n);if(!r)return[];const i=this._createAnimations(r,n);return n.$shared&&function(t,e){const n=[],r=Object.keys(e);for(let e=0;e<r.length;e++){const i=t[r[e]];i&&i.active()&&n.push(i.wait())}return Promise.all(n)}(t.options.$animations,n).then((()=>{t.options=n}),(()=>{})),i}_createAnimations(t,e){const n=this._properties,r=[],i=t.$animations||(t.$animations={}),o=Object.keys(e),a=Date.now();let s;for(s=o.length-1;s>=0;--s){const c=o[s];if("$"===c.charAt(0))continue;if("options"===c){r.push(...this._animateOptions(t,e));continue}const l=e[c];let u=i[c];const f=n.get(c);if(u){if(f&&u.active()){u.update(f,l,a);continue}u.cancel()}f&&f.duration?(i[c]=u=new jn(f,t,c,l),r.push(u)):t[c]=l}return r}update(t,e){if(0===this._properties.size)return void Object.assign(t,e);const n=this._createAnimations(t,e);return n.length?(Tn.add(this._chart,n),!0):void 0}}function Mn(t,e){const n=t&&t.options||{},r=n.reverse,i=void 0===n.min?e:0,o=void 0===n.max?e:0;return{start:r?o:i,end:r?i:o}}function Rn(t,e){const n=[],r=t._getSortedDatasetMetas(e);let i,o;for(i=0,o=r.length;i<o;++i)n.push(r[i].index);return n}function In(t,e,n,r={}){const i=t.keys,o="single"===r.mode;let a,s,l,u;if(null!==e){for(a=0,s=i.length;a<s;++a){if(l=+i[a],l===n){if(r.all)continue;break}u=t.values[l],c(u)&&(o||0===e||N(e)===N(u))&&(e+=u)}return e}}function Nn(t,e){const n=t&&t.options.stacked;return n||void 0===n&&void 0!==e.stack}function Ln(t,e,n){const r=t[e]||(t[e]={});return r[n]||(r[n]={})}function $n(t,e,n,r){for(const i of e.getMatchingVisibleMetas(r).reverse()){const e=t[i.index];if(n&&e>0||!n&&e<0)return i.index}return null}function Fn(t,e){const{chart:n,_cachedMeta:r}=t,i=n._stacks||(n._stacks={}),{iScale:o,vScale:a,index:s}=r,c=o.axis,l=a.axis,u=function(t,e,n){return`${t.id}.${e.id}.${n.stack||n.type}`}(o,a,r),f=e.length;let h;for(let t=0;t<f;++t){const n=e[t],{[c]:o,[l]:f}=n;h=(n._stacks||(n._stacks={}))[l]=Ln(i,u,o),h[s]=f,h._top=$n(h,a,!0,r.type),h._bottom=$n(h,a,!1,r.type)}}function Bn(t,e){const n=t.scales;return Object.keys(n).filter((t=>n[t].axis===e)).shift()}function zn(t,e){const n=t.controller.index,r=t.vScale&&t.vScale.axis;if(r){e=e||t._parsed;for(const t of e){const e=t._stacks;if(!e||void 0===e[r]||void 0===e[r][n])return;delete e[r][n]}}}const Hn=t=>"reset"===t||"none"===t,Un=(t,e)=>e?t:Object.assign({},t);class qn{static defaults={};static datasetElementType=null;static dataElementType=null;constructor(t,e){this.chart=t,this._ctx=t.ctx,this.index=e,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.supportsDecimation=!1,this.$context=void 0,this._syncList=[],this.datasetElementType=new.target.datasetElementType,this.dataElementType=new.target.dataElementType,this.initialize()}initialize(){const t=this._cachedMeta;this.configure(),this.linkScales(),t._stacked=Nn(t.vScale,t),this.addElements(),this.options.fill&&!this.chart.isPluginEnabled("filler")&&console.warn("Tried to use the 'fill' option without the 'Filler' plugin enabled. Please import and register the 'Filler' plugin and make sure it is not disabled in the options")}updateIndex(t){this.index!==t&&zn(this._cachedMeta),this.index=t}linkScales(){const t=this.chart,e=this._cachedMeta,n=this.getDataset(),r=(t,e,n,r)=>"x"===t?e:"r"===t?r:n,i=e.xAxisID=u(n.xAxisID,Bn(t,"x")),o=e.yAxisID=u(n.yAxisID,Bn(t,"y")),a=e.rAxisID=u(n.rAxisID,Bn(t,"r")),s=e.indexAxis,c=e.iAxisID=r(s,i,o,a),l=e.vAxisID=r(s,o,i,a);e.xScale=this.getScaleForId(i),e.yScale=this.getScaleForId(o),e.rScale=this.getScaleForId(a),e.iScale=this.getScaleForId(c),e.vScale=this.getScaleForId(l)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(t){return this.chart.scales[t]}_getOtherScale(t){const e=this._cachedMeta;return t===e.iScale?e.vScale:e.iScale}reset(){this._update("reset")}_destroy(){const t=this._cachedMeta;this._data&&et(this._data,this),t._stacked&&zn(t)}_dataCheck(){const t=this.getDataset(),e=t.data||(t.data=[]),n=this._data;if(s(e))this._data=function(t){const e=Object.keys(t),n=new Array(e.length);let r,i,o;for(r=0,i=e.length;r<i;++r)o=e[r],n[r]={x:o,y:t[o]};return n}(e);else if(n!==e){if(n){et(n,this);const t=this._cachedMeta;zn(t),t._parsed=[]}e&&Object.isExtensible(e)&&function(t,e){t._chartjs?t._chartjs.listeners.push(e):(Object.defineProperty(t,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[e]}}),tt.forEach((e=>{const n="_onData"+k(e),r=t[e];Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value(...e){const i=r.apply(this,e);return t._chartjs.listeners.forEach((t=>{"function"==typeof t[n]&&t[n](...e)})),i}})})))}(e,this),this._syncList=[],this._data=e}}addElements(){const t=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(t.dataset=new this.datasetElementType)}buildOrUpdateElements(t){const e=this._cachedMeta,n=this.getDataset();let r=!1;this._dataCheck();const i=e._stacked;e._stacked=Nn(e.vScale,e),e.stack!==n.stack&&(r=!0,zn(e),e.stack=n.stack),this._resyncElements(t),(r||i!==e._stacked)&&Fn(this,e._parsed)}configure(){const t=this.chart.config,e=t.datasetScopeKeys(this._type),n=t.getOptionScopes(this.getDataset(),e,!0);this.options=t.createResolver(n,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(t,e){const{_cachedMeta:n,_data:r}=this,{iScale:i,_stacked:o}=n,c=i.axis;let l,u,f,h=0===t&&e===r.length||n._sorted,d=t>0&&n._parsed[t-1];if(!1===this._parsing)n._parsed=r,n._sorted=!0,f=r;else{f=a(r[t])?this.parseArrayData(n,r,t,e):s(r[t])?this.parseObjectData(n,r,t,e):this.parsePrimitiveData(n,r,t,e);const i=()=>null===u[c]||d&&u[c]<d[c];for(l=0;l<e;++l)n._parsed[l+t]=u=f[l],h&&(i()&&(h=!1),d=u);n._sorted=h}o&&Fn(this,f)}parsePrimitiveData(t,e,n,r){const{iScale:i,vScale:o}=t,a=i.axis,s=o.axis,c=i.getLabels(),l=i===o,u=new Array(r);let f,h,d;for(f=0,h=r;f<h;++f)d=f+n,u[f]={[a]:l||i.parse(c[d],d),[s]:o.parse(e[d],d)};return u}parseArrayData(t,e,n,r){const{xScale:i,yScale:o}=t,a=new Array(r);let s,c,l,u;for(s=0,c=r;s<c;++s)l=s+n,u=e[l],a[s]={x:i.parse(u[0],l),y:o.parse(u[1],l)};return a}parseObjectData(t,e,n,r){const{xScale:i,yScale:o}=t,{xAxisKey:a="x",yAxisKey:s="y"}=this._parsing,c=new Array(r);let l,u,f,h;for(l=0,u=r;l<u;++l)f=l+n,h=e[f],c[l]={x:i.parse(x(h,a),f),y:o.parse(x(h,s),f)};return c}getParsed(t){return this._cachedMeta._parsed[t]}getDataElement(t){return this._cachedMeta.data[t]}applyStack(t,e,n){const r=this.chart,i=this._cachedMeta,o=e[t.axis];return In({keys:Rn(r,!0),values:e._stacks[t.axis]},o,i.index,{mode:n})}updateRangeFromParsed(t,e,n,r){const i=n[e.axis];let o=null===i?NaN:i;const a=r&&n._stacks[e.axis];r&&a&&(r.values=a,o=In(r,i,this._cachedMeta.index)),t.min=Math.min(t.min,o),t.max=Math.max(t.max,o)}getMinMax(t,e){const n=this._cachedMeta,r=n._parsed,i=n._sorted&&t===n.iScale,o=r.length,a=this._getOtherScale(t),s=((t,e,n)=>t&&!e.hidden&&e._stacked&&{keys:Rn(n,!0),values:null})(e,n,this.chart),l={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY},{min:u,max:f}=function(t){const{min:e,max:n,minDefined:r,maxDefined:i}=t.getUserBounds();return{min:r?e:Number.NEGATIVE_INFINITY,max:i?n:Number.POSITIVE_INFINITY}}(a);let h,d;function p(){d=r[h];const e=d[a.axis];return!c(d[t.axis])||u>e||f<e}for(h=0;h<o&&(p()||(this.updateRangeFromParsed(l,t,d,s),!i));++h);if(i)for(h=o-1;h>=0;--h)if(!p()){this.updateRangeFromParsed(l,t,d,s);break}return l}getAllParsedValues(t){const e=this._cachedMeta._parsed,n=[];let r,i,o;for(r=0,i=e.length;r<i;++r)o=e[r][t.axis],c(o)&&n.push(o);return n}getMaxOverflow(){return!1}getLabelAndValue(t){const e=this._cachedMeta,n=e.iScale,r=e.vScale,i=this.getParsed(t);return{label:n?""+n.getLabelForValue(i[n.axis]):"",value:r?""+r.getLabelForValue(i[r.axis]):""}}_update(t){const e=this._cachedMeta;this.update(t||"default"),e._clip=function(t){let e,n,r,i;return s(t)?(e=t.top,n=t.right,r=t.bottom,i=t.left):e=n=r=i=t,{top:e,right:n,bottom:r,left:i,disabled:!1===t}}(u(this.options.clip,function(t,e,n){if(!1===n)return!1;const r=Mn(t,n),i=Mn(e,n);return{top:i.end,right:r.end,bottom:i.start,left:r.start}}(e.xScale,e.yScale,this.getMaxOverflow())))}update(t){}draw(){const t=this._ctx,e=this.chart,n=this._cachedMeta,r=n.data||[],i=e.chartArea,o=[],a=this._drawStart||0,s=this._drawCount||r.length-a,c=this.options.drawActiveElementsOnTop;let l;for(n.dataset&&n.dataset.draw(t,i,a,s),l=a;l<a+s;++l){const e=r[l];e.hidden||(e.active&&c?o.push(e):e.draw(t,i))}for(l=0;l<o.length;++l)o[l].draw(t,i)}getStyle(t,e){const n=e?"active":"default";return void 0===t&&this._cachedMeta.dataset?this.resolveDatasetElementOptions(n):this.resolveDataElementOptions(t||0,n)}getContext(t,e,n){const r=this.getDataset();let i;if(t>=0&&t<this._cachedMeta.data.length){const e=this._cachedMeta.data[t];i=e.$context||(e.$context=function(t,e,n){return Me(t,{active:!1,dataIndex:e,parsed:void 0,raw:void 0,element:n,index:e,mode:"default",type:"data"})}(this.getContext(),t,e)),i.parsed=this.getParsed(t),i.raw=r.data[t],i.index=i.dataIndex=t}else i=this.$context||(this.$context=function(t,e){return Me(t,{active:!1,dataset:void 0,datasetIndex:e,index:e,mode:"default",type:"dataset"})}(this.chart.getContext(),this.index)),i.dataset=r,i.index=i.datasetIndex=this.index;return i.active=!!e,i.mode=n,i}resolveDatasetElementOptions(t){return this._resolveElementOptions(this.datasetElementType.id,t)}resolveDataElementOptions(t,e){return this._resolveElementOptions(this.dataElementType.id,e,t)}_resolveElementOptions(t,e="default",n){const r="active"===e,i=this._cachedDataOpts,o=t+"-"+e,a=i[o],s=this.enableOptionSharing&&O(n);if(a)return Un(a,s);const c=this.chart.config,l=c.datasetElementScopeKeys(this._type,t),u=r?[`${t}Hover`,"hover",t,""]:[t,""],f=c.getOptionScopes(this.getDataset(),l),h=Object.keys(ce.elements[t]),d=c.resolveNamedOptions(f,h,(()=>this.getContext(n,r)),u);return d.$shared&&(d.$shared=s,i[o]=Object.freeze(Un(d,s))),d}_resolveAnimations(t,e,n){const r=this.chart,i=this._cachedDataOpts,o=`animation-${e}`,a=i[o];if(a)return a;let s;if(!1!==r.options.animation){const r=this.chart.config,i=r.datasetAnimationScopeKeys(this._type,e),o=r.getOptionScopes(this.getDataset(),i);s=r.createResolver(o,this.getContext(t,n,e))}const c=new Dn(r,s&&s.animations);return s&&s._cacheable&&(i[o]=Object.freeze(c)),c}getSharedOptions(t){if(t.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},t))}includeOptions(t,e){return!e||Hn(t)||this.chart._animationsDisabled}_getSharedOptions(t,e){const n=this.resolveDataElementOptions(t,e),r=this._sharedOptions,i=this.getSharedOptions(n),o=this.includeOptions(e,i)||i!==r;return this.updateSharedOptions(i,e,n),{sharedOptions:i,includeOptions:o}}updateElement(t,e,n,r){Hn(r)?Object.assign(t,n):this._resolveAnimations(e,r).update(t,n)}updateSharedOptions(t,e,n){t&&!Hn(e)&&this._resolveAnimations(void 0,e).update(t,n)}_setStyle(t,e,n,r){t.active=r;const i=this.getStyle(e,r);this._resolveAnimations(e,n,r).update(t,{options:!r&&this.getSharedOptions(i)||i})}removeHoverStyle(t,e,n){this._setStyle(t,n,"active",!1)}setHoverStyle(t,e,n){this._setStyle(t,n,"active",!0)}_removeDatasetHoverStyle(){const t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!1)}_setDatasetHoverStyle(){const t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!0)}_resyncElements(t){const e=this._data,n=this._cachedMeta.data;for(const[t,e,n]of this._syncList)this[t](e,n);this._syncList=[];const r=n.length,i=e.length,o=Math.min(i,r);o&&this.parse(0,o),i>r?this._insertElements(r,i-r,t):i<r&&this._removeElements(i,r-i)}_insertElements(t,e,n=!0){const r=this._cachedMeta,i=r.data,o=t+e;let a;const s=t=>{for(t.length+=e,a=t.length-1;a>=o;a--)t[a]=t[a-e]};for(s(i),a=t;a<o;++a)i[a]=new this.dataElementType;this._parsing&&s(r._parsed),this.parse(t,e),n&&this.updateElements(i,t,e,"reset")}updateElements(t,e,n,r){}_removeElements(t,e){const n=this._cachedMeta;if(this._parsing){const r=n._parsed.splice(t,e);n._stacked&&zn(n,r)}n.data.splice(t,e)}_sync(t){if(this._parsing)this._syncList.push(t);else{const[e,n,r]=t;this[e](n,r)}this.chart._dataChanges.push([this.index,...t])}_onDataPush(){const t=arguments.length;this._sync(["_insertElements",this.getDataset().data.length-t,t])}_onDataPop(){this._sync(["_removeElements",this._cachedMeta.data.length-1,1])}_onDataShift(){this._sync(["_removeElements",0,1])}_onDataSplice(t,e){e&&this._sync(["_removeElements",t,e]);const n=arguments.length-2;n&&this._sync(["_insertElements",t,n])}_onDataUnshift(){this._sync(["_insertElements",0,arguments.length])}}class Wn extends qn{static id="line";static defaults={datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1};static overrides={scales:{_index_:{type:"category"},_value_:{type:"linear"}}};initialize(){this.enableOptionSharing=!0,this.supportsDecimation=!0,super.initialize()}update(t){const e=this._cachedMeta,{dataset:n,data:r=[],_dataset:i}=e,o=this.chart._animationsDisabled;let{start:a,count:s}=st(e,r,o);this._drawStart=a,this._drawCount=s,ct(e)&&(a=0,s=r.length),n._chart=this.chart,n._datasetIndex=this.index,n._decimated=!!i._decimated,n.points=r;const c=this.resolveDatasetElementOptions(t);this.options.showLine||(c.borderWidth=0),c.segment=this.options.segment,this.updateElement(n,void 0,{animated:!o,options:c},t),this.updateElements(r,a,s,t)}updateElements(t,e,n,r){const i="reset"===r,{iScale:a,vScale:s,_stacked:c,_dataset:l}=this._cachedMeta,{sharedOptions:u,includeOptions:f}=this._getSharedOptions(e,r),h=a.axis,d=s.axis,{spanGaps:p,segment:m}=this.options,v=F(p)?p:Number.POSITIVE_INFINITY,g=this.chart._animationsDisabled||i||"none"===r,y=e+n,b=t.length;let w=e>0&&this.getParsed(e-1);for(let n=0;n<b;++n){const p=t[n],b=g?p:{};if(n<e||n>=y){b.skip=!0;continue}const _=this.getParsed(n),x=o(_[d]),k=b[h]=a.getPixelForValue(_[h],n),O=b[d]=i||x?s.getBasePixel():s.getPixelForValue(c?this.applyStack(s,_,c):_[d],n);b.skip=isNaN(k)||isNaN(O)||x,b.stop=n>0&&Math.abs(_[h]-w[h])>v,m&&(b.parsed=_,b.raw=l.data[n]),f&&(b.options=u||this.resolveDataElementOptions(n,p.active?"active":r)),g||this.updateElement(p,n,b,r),w=_}}getMaxOverflow(){const t=this._cachedMeta,e=t.dataset,n=e.options&&e.options.borderWidth||0,r=t.data||[];if(!r.length)return n;const i=r[0].size(this.resolveDataElementOptions(0)),o=r[r.length-1].size(this.resolveDataElementOptions(r.length-1));return Math.max(n,i,o)/2}draw(){const t=this._cachedMeta;t.dataset.updateControlPoints(this.chart.chartArea,t.iScale.axis),super.draw()}}function Vn(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}class Zn{static override(t){Object.assign(Zn.prototype,t)}constructor(t){this.options=t||{}}init(){}formats(){return Vn()}parse(){return Vn()}format(){return Vn()}add(){return Vn()}diff(){return Vn()}startOf(){return Vn()}endOf(){return Vn()}}var Yn={_date:Zn};function Xn(t,e,n,r){const{controller:i,data:o,_sorted:a}=t,s=i._cachedMeta.iScale;if(s&&e===s.axis&&"r"!==e&&a&&o.length){const t=s._reversePixels?J:Q;if(!r)return t(o,e,n);if(i._sharedOptions){const r=o[0],i="function"==typeof r.getRange&&r.getRange(e);if(i){const r=t(o,e,n-i),a=t(o,e,n+i);return{lo:r.lo,hi:a.hi}}}}return{lo:0,hi:o.length-1}}function Kn(t,e,n,r,i){const o=t.getSortedVisibleDatasetMetas(),a=n[e];for(let t=0,n=o.length;t<n;++t){const{index:n,data:s}=o[t],{lo:c,hi:l}=Xn(o[t],e,a,i);for(let t=c;t<=l;++t){const e=s[t];e.skip||r(e,n,t)}}}function Gn(t,e,n,r,i){const o=[];if(!i&&!t.isPointInArea(e))return o;return Kn(t,n,e,(function(n,a,s){(i||pe(n,t.chartArea,0))&&n.inRange(e.x,e.y,r)&&o.push({element:n,datasetIndex:a,index:s})}),!0),o}function Qn(t,e,n,r,i,o){let a=[];const s=function(t){const e=-1!==t.indexOf("x"),n=-1!==t.indexOf("y");return function(t,r){const i=e?Math.abs(t.x-r.x):0,o=n?Math.abs(t.y-r.y):0;return Math.sqrt(Math.pow(i,2)+Math.pow(o,2))}}(n);let c=Number.POSITIVE_INFINITY;return Kn(t,n,e,(function(n,l,u){const f=n.inRange(e.x,e.y,i);if(r&&!f)return;const h=n.getCenterPoint(i);if(!(!!o||t.isPointInArea(h))&&!f)return;const d=s(e,h);d<c?(a=[{element:n,datasetIndex:l,index:u}],c=d):d===c&&a.push({element:n,datasetIndex:l,index:u})})),a}function Jn(t,e,n,r,i,o){return o||t.isPointInArea(e)?"r"!==n||r?Qn(t,e,n,r,i,o):function(t,e,n,r){let i=[];return Kn(t,n,e,(function(t,n,o){const{startAngle:a,endAngle:s}=t.getProps(["startAngle","endAngle"],r),{angle:c}=q(t,{x:e.x,y:e.y});Y(c,a,s)&&i.push({element:t,datasetIndex:n,index:o})})),i}(t,e,n,i):[]}function tr(t,e,n,r,i){const o=[],a="x"===n?"inXRange":"inYRange";let s=!1;return Kn(t,n,e,((t,r,c)=>{t[a](e[n],i)&&(o.push({element:t,datasetIndex:r,index:c}),s=s||t.inRange(e.x,e.y,i))})),r&&!s?[]:o}var er={evaluateInteractionItems:Kn,modes:{index(t,e,n,r){const i=cn(e,t),o=n.axis||"x",a=n.includeInvisible||!1,s=n.intersect?Gn(t,i,o,r,a):Jn(t,i,o,!1,r,a),c=[];return s.length?(t.getSortedVisibleDatasetMetas().forEach((t=>{const e=s[0].index,n=t.data[e];n&&!n.skip&&c.push({element:n,datasetIndex:t.index,index:e})})),c):[]},dataset(t,e,n,r){const i=cn(e,t),o=n.axis||"xy",a=n.includeInvisible||!1;let s=n.intersect?Gn(t,i,o,r,a):Jn(t,i,o,!1,r,a);if(s.length>0){const e=s[0].datasetIndex,n=t.getDatasetMeta(e).data;s=[];for(let t=0;t<n.length;++t)s.push({element:n[t],datasetIndex:e,index:t})}return s},point:(t,e,n,r)=>Gn(t,cn(e,t),n.axis||"xy",r,n.includeInvisible||!1),nearest(t,e,n,r){const i=cn(e,t),o=n.axis||"xy",a=n.includeInvisible||!1;return Jn(t,i,o,n.intersect,r,a)},x:(t,e,n,r)=>tr(t,cn(e,t),"x",n.intersect,r),y:(t,e,n,r)=>tr(t,cn(e,t),"y",n.intersect,r)}};const nr=["left","top","right","bottom"];function rr(t,e){return t.filter((t=>t.pos===e))}function ir(t,e){return t.filter((t=>-1===nr.indexOf(t.pos)&&t.box.axis===e))}function or(t,e){return t.sort(((t,n)=>{const r=e?n:t,i=e?t:n;return r.weight===i.weight?r.index-i.index:r.weight-i.weight}))}function ar(t,e){const n=function(t){const e={};for(const n of t){const{stack:t,pos:r,stackWeight:i}=n;if(!t||!nr.includes(r))continue;const o=e[t]||(e[t]={count:0,placed:0,weight:0,size:0});o.count++,o.weight+=i}return e}(t),{vBoxMaxWidth:r,hBoxMaxHeight:i}=e;let o,a,s;for(o=0,a=t.length;o<a;++o){s=t[o];const{fullSize:a}=s.box,c=n[s.stack],l=c&&s.stackWeight/c.weight;s.horizontal?(s.width=l?l*r:a&&e.availableWidth,s.height=i):(s.width=r,s.height=l?l*i:a&&e.availableHeight)}return n}function sr(t,e,n,r){return Math.max(t[n],e[n])+Math.max(t[r],e[r])}function cr(t,e){t.top=Math.max(t.top,e.top),t.left=Math.max(t.left,e.left),t.bottom=Math.max(t.bottom,e.bottom),t.right=Math.max(t.right,e.right)}function lr(t,e,n,r){const{pos:i,box:o}=n,a=t.maxPadding;if(!s(i)){n.size&&(t[i]-=n.size);const e=r[n.stack]||{size:0,count:1};e.size=Math.max(e.size,n.horizontal?o.height:o.width),n.size=e.size/e.count,t[i]+=n.size}o.getPadding&&cr(a,o.getPadding());const c=Math.max(0,e.outerWidth-sr(a,t,"left","right")),l=Math.max(0,e.outerHeight-sr(a,t,"top","bottom")),u=c!==t.w,f=l!==t.h;return t.w=c,t.h=l,n.horizontal?{same:u,other:f}:{same:f,other:u}}function ur(t,e){const n=e.maxPadding;function r(t){const r={left:0,top:0,right:0,bottom:0};return t.forEach((t=>{r[t]=Math.max(e[t],n[t])})),r}return r(t?["left","right"]:["top","bottom"])}function fr(t,e,n,r){const i=[];let o,a,s,c,l,u;for(o=0,a=t.length,l=0;o<a;++o){s=t[o],c=s.box,c.update(s.width||e.w,s.height||e.h,ur(s.horizontal,e));const{same:a,other:f}=lr(e,n,s,r);l|=a&&i.length,u=u||f,c.fullSize||i.push(s)}return l&&fr(i,e,n,r)||u}function hr(t,e,n,r,i){t.top=n,t.left=e,t.right=e+r,t.bottom=n+i,t.width=r,t.height=i}function dr(t,e,n,r){const i=n.padding;let{x:o,y:a}=e;for(const s of t){const t=s.box,c=r[s.stack]||{count:1,placed:0,weight:1},l=s.stackWeight/c.weight||1;if(s.horizontal){const r=e.w*l,o=c.size||t.height;O(c.start)&&(a=c.start),t.fullSize?hr(t,i.left,a,n.outerWidth-i.right-i.left,o):hr(t,e.left+c.placed,a,r,o),c.start=a,c.placed+=r,a=t.bottom}else{const r=e.h*l,a=c.size||t.width;O(c.start)&&(o=c.start),t.fullSize?hr(t,o,i.top,a,n.outerHeight-i.bottom-i.top):hr(t,o,e.top+c.placed,a,r),c.start=o,c.placed+=r,o=t.right}}e.x=o,e.y=a}var pr={addBox(t,e){t.boxes||(t.boxes=[]),e.fullSize=e.fullSize||!1,e.position=e.position||"top",e.weight=e.weight||0,e._layers=e._layers||function(){return[{z:0,draw(t){e.draw(t)}}]},t.boxes.push(e)},removeBox(t,e){const n=t.boxes?t.boxes.indexOf(e):-1;-1!==n&&t.boxes.splice(n,1)},configure(t,e,n){e.fullSize=n.fullSize,e.position=n.position,e.weight=n.weight},update(t,e,n,r){if(!t)return;const i=Ae(t.options.layout.padding),o=Math.max(e-i.width,0),a=Math.max(n-i.height,0),s=function(t){const e=function(t){const e=[];let n,r,i,o,a,s;for(n=0,r=(t||[]).length;n<r;++n)i=t[n],({position:o,options:{stack:a,stackWeight:s=1}}=i),e.push({index:n,box:i,pos:o,horizontal:i.isHorizontal(),weight:i.weight,stack:a&&o+a,stackWeight:s});return e}(t),n=or(e.filter((t=>t.box.fullSize)),!0),r=or(rr(e,"left"),!0),i=or(rr(e,"right")),o=or(rr(e,"top"),!0),a=or(rr(e,"bottom")),s=ir(e,"x"),c=ir(e,"y");return{fullSize:n,leftAndTop:r.concat(o),rightAndBottom:i.concat(c).concat(a).concat(s),chartArea:rr(e,"chartArea"),vertical:r.concat(i).concat(c),horizontal:o.concat(a).concat(s)}}(t.boxes),c=s.vertical,l=s.horizontal;d(t.boxes,(t=>{"function"==typeof t.beforeLayout&&t.beforeLayout()}));const u=c.reduce(((t,e)=>e.box.options&&!1===e.box.options.display?t:t+1),0)||1,f=Object.freeze({outerWidth:e,outerHeight:n,padding:i,availableWidth:o,availableHeight:a,vBoxMaxWidth:o/2/u,hBoxMaxHeight:a/2}),h=Object.assign({},i);cr(h,Ae(r));const p=Object.assign({maxPadding:h,w:o,h:a,x:i.left,y:i.top},i),m=ar(c.concat(l),f);fr(s.fullSize,p,f,m),fr(c,p,f,m),fr(l,p,f,m)&&fr(c,p,f,m),function(t){const e=t.maxPadding;function n(n){const r=Math.max(e[n]-t[n],0);return t[n]+=r,r}t.y+=n("top"),t.x+=n("left"),n("right"),n("bottom")}(p),dr(s.leftAndTop,p,f,m),p.x+=p.w,p.y+=p.h,dr(s.rightAndBottom,p,f,m),t.chartArea={left:p.left,top:p.top,right:p.left+p.w,bottom:p.top+p.h,height:p.h,width:p.w},d(s.chartArea,(e=>{const n=e.box;Object.assign(n,t.chartArea),n.update(p.w,p.h,{left:0,top:0,right:0,bottom:0})}))}};class mr{acquireContext(t,e){}releaseContext(t){return!1}addEventListener(t,e,n){}removeEventListener(t,e,n){}getDevicePixelRatio(){return 1}getMaximumSize(t,e,n,r){return e=Math.max(0,e||t.width),n=n||t.height,{width:e,height:Math.max(0,r?Math.floor(e/r):n)}}isAttached(t){return!0}updateConfig(t){}}class vr extends mr{acquireContext(t){return t&&t.getContext&&t.getContext("2d")||null}updateConfig(t){t.options.animation=!1}}const gr="$chartjs",yr={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},br=t=>null===t||""===t;const wr=!!hn&&{passive:!0};function _r(t,e,n){t.canvas.removeEventListener(e,n,wr)}function xr(t,e){for(const n of t)if(n===e||n.contains(e))return!0}function kr(t,e,n){const r=t.canvas,i=new MutationObserver((t=>{let e=!1;for(const n of t)e=e||xr(n.addedNodes,r),e=e&&!xr(n.removedNodes,r);e&&n()}));return i.observe(document,{childList:!0,subtree:!0}),i}function Or(t,e,n){const r=t.canvas,i=new MutationObserver((t=>{let e=!1;for(const n of t)e=e||xr(n.removedNodes,r),e=e&&!xr(n.addedNodes,r);e&&n()}));return i.observe(document,{childList:!0,subtree:!0}),i}const Cr=new Map;let Sr=0;function Er(){const t=window.devicePixelRatio;t!==Sr&&(Sr=t,Cr.forEach(((e,n)=>{n.currentDevicePixelRatio!==t&&e()})))}function Tr(t,e,n){const r=t.canvas,i=r&&en(r);if(!i)return;const o=it(((t,e)=>{const r=i.clientWidth;n(t,e),r<i.clientWidth&&n()}),window),a=new ResizeObserver((t=>{const e=t[0],n=e.contentRect.width,r=e.contentRect.height;0===n&&0===r||o(n,r)}));return a.observe(i),function(t,e){Cr.size||window.addEventListener("resize",Er),Cr.set(t,e)}(t,o),a}function Pr(t,e,n){n&&n.disconnect(),"resize"===e&&function(t){Cr.delete(t),Cr.size||window.removeEventListener("resize",Er)}(t)}function Ar(t,e,n){const r=t.canvas,i=it((e=>{null!==t.ctx&&n(function(t,e){const n=yr[t.type]||t.type,{x:r,y:i}=cn(t,e);return{type:n,chart:e,native:t,x:void 0!==r?r:null,y:void 0!==i?i:null}}(e,t))}),t);return function(t,e,n){t.addEventListener(e,n,wr)}(r,e,i),i}class jr extends mr{acquireContext(t,e){const n=t&&t.getContext&&t.getContext("2d");return n&&n.canvas===t?(function(t,e){const n=t.style,r=t.getAttribute("height"),i=t.getAttribute("width");if(t[gr]={initial:{height:r,width:i,style:{display:n.display,height:n.height,width:n.width}}},n.display=n.display||"block",n.boxSizing=n.boxSizing||"border-box",br(i)){const e=dn(t,"width");void 0!==e&&(t.width=e)}if(br(r))if(""===t.style.height)t.height=t.width/(e||2);else{const e=dn(t,"height");void 0!==e&&(t.height=e)}}(t,e),n):null}releaseContext(t){const e=t.canvas;if(!e[gr])return!1;const n=e[gr].initial;["height","width"].forEach((t=>{const r=n[t];o(r)?e.removeAttribute(t):e.setAttribute(t,r)}));const r=n.style||{};return Object.keys(r).forEach((t=>{e.style[t]=r[t]})),e.width=e.width,delete e[gr],!0}addEventListener(t,e,n){this.removeEventListener(t,e);const r=t.$proxies||(t.$proxies={}),i={attach:kr,detach:Or,resize:Tr}[e]||Ar;r[e]=i(t,e,n)}removeEventListener(t,e){const n=t.$proxies||(t.$proxies={}),r=n[e];if(!r)return;({attach:Pr,detach:Pr,resize:Pr}[e]||_r)(t,e,r),n[e]=void 0}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(t,e,n,r){return un(t,e,n,r)}isAttached(t){const e=en(t);return!(!e||!e.isConnected)}}class Dr{static defaults={};static defaultRoutes=void 0;active=!1;tooltipPosition(t){const{x:e,y:n}=this.getProps(["x","y"],t);return{x:e,y:n}}hasValue(){return F(this.x)&&F(this.y)}getProps(t,e){const n=this.$animations;if(!e||!n)return this;const r={};return t.forEach((t=>{r[t]=n[t]&&n[t].active()?n[t]._to:this[t]})),r}}function Mr(t,e){const n=t.options.ticks,r=function(t){const e=t.options.offset,n=t._tickSize(),r=t._length/n+(e?0:1),i=t._maxLength/n;return Math.floor(Math.min(r,i))}(t),i=Math.min(n.maxTicksLimit||r,r),a=n.major.enabled?function(t){const e=[];let n,r;for(n=0,r=t.length;n<r;n++)t[n].major&&e.push(n);return e}(e):[],s=a.length,c=a[0],l=a[s-1],u=[];if(s>i)return function(t,e,n,r){let i,o=0,a=n[0];for(r=Math.ceil(r),i=0;i<t.length;i++)i===a&&(e.push(t[i]),o++,a=n[o*r])}(e,u,a,s/i),u;const f=function(t,e,n){const r=function(t){const e=t.length;let n,r;if(e<2)return!1;for(r=t[0],n=1;n<e;++n)if(t[n]-t[n-1]!==r)return!1;return r}(t),i=e.length/n;if(!r)return Math.max(i,1);const o=function(t){const e=[],n=Math.sqrt(t);let r;for(r=1;r<n;r++)t%r==0&&(e.push(r),e.push(t/r));return n===(0|n)&&e.push(n),e.sort(((t,e)=>t-e)).pop(),e}(r);for(let t=0,e=o.length-1;t<e;t++){const e=o[t];if(e>i)return e}return Math.max(i,1)}(a,e,i);if(s>0){let t,n;const r=s>1?Math.round((l-c)/(s-1)):null;for(Rr(e,u,f,o(r)?0:c-r,c),t=0,n=s-1;t<n;t++)Rr(e,u,f,a[t],a[t+1]);return Rr(e,u,f,l,o(r)?e.length:l+r),u}return Rr(e,u,f),u}function Rr(t,e,n,r,i){const o=u(r,0),a=Math.min(u(i,t.length),t.length);let s,c,l,f=0;for(n=Math.ceil(n),i&&(s=i-r,n=s/Math.floor(s/n)),l=o;l<0;)f++,l=Math.round(o+f*n);for(c=Math.max(o,0);c<a;c++)c===l&&(e.push(t[c]),f++,l=Math.round(o+f*n))}const Ir=(t,e,n)=>"top"===e||"left"===e?t[e]+n:t[e]-n;function Nr(t,e){const n=[],r=t.length/e,i=t.length;let o=0;for(;o<i;o+=r)n.push(t[Math.floor(o)]);return n}function Lr(t,e,n){const r=t.ticks.length,i=Math.min(e,r-1),o=t._startPixel,a=t._endPixel,s=1e-6;let c,l=t.getPixelForTick(i);if(!(n&&(c=1===r?Math.max(l-o,a-l):0===e?(t.getPixelForTick(1)-l)/2:(l-t.getPixelForTick(i-1))/2,l+=i<e?c:-c,l<o-s||l>a+s)))return l}function $r(t){return t.drawTicks?t.tickLength:0}function Fr(t,e){if(!t.display)return 0;const n=je(t.font,e),r=Ae(t.padding);return(a(t.text)?t.text.length:1)*n.lineHeight+r.height}function Br(t,e,n){let r=ot(t);return(n&&"right"!==e||!n&&"right"===e)&&(r=(t=>"left"===t?"right":"right"===t?"left":t)(r)),r}class zr extends Dr{constructor(t){super(),this.id=t.id,this.type=t.type,this.options=void 0,this.ctx=t.ctx,this.chart=t.chart,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this._margins={left:0,right:0,top:0,bottom:0},this.maxWidth=void 0,this.maxHeight=void 0,this.paddingTop=void 0,this.paddingBottom=void 0,this.paddingLeft=void 0,this.paddingRight=void 0,this.axis=void 0,this.labelRotation=void 0,this.min=void 0,this.max=void 0,this._range=void 0,this.ticks=[],this._gridLineItems=null,this._labelItems=null,this._labelSizes=null,this._length=0,this._maxLength=0,this._longestTextCache={},this._startPixel=void 0,this._endPixel=void 0,this._reversePixels=!1,this._userMax=void 0,this._userMin=void 0,this._suggestedMax=void 0,this._suggestedMin=void 0,this._ticksLength=0,this._borderValue=0,this._cache={},this._dataLimitsCached=!1,this.$context=void 0}init(t){this.options=t.setContext(this.getContext()),this.axis=t.axis,this._userMin=this.parse(t.min),this._userMax=this.parse(t.max),this._suggestedMin=this.parse(t.suggestedMin),this._suggestedMax=this.parse(t.suggestedMax)}parse(t,e){return t}getUserBounds(){let{_userMin:t,_userMax:e,_suggestedMin:n,_suggestedMax:r}=this;return t=l(t,Number.POSITIVE_INFINITY),e=l(e,Number.NEGATIVE_INFINITY),n=l(n,Number.POSITIVE_INFINITY),r=l(r,Number.NEGATIVE_INFINITY),{min:l(t,n),max:l(e,r),minDefined:c(t),maxDefined:c(e)}}getMinMax(t){let e,{min:n,max:r,minDefined:i,maxDefined:o}=this.getUserBounds();if(i&&o)return{min:n,max:r};const a=this.getMatchingVisibleMetas();for(let s=0,c=a.length;s<c;++s)e=a[s].controller.getMinMax(this,t),i||(n=Math.min(n,e.min)),o||(r=Math.max(r,e.max));return n=o&&n>r?r:n,r=i&&n>r?n:r,{min:l(n,l(r,n)),max:l(r,l(n,r))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){const t=this.chart.data;return this.options.labels||(this.isHorizontal()?t.xLabels:t.yLabels)||t.labels||[]}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){h(this.options.beforeUpdate,[this])}update(t,e,n){const{beginAtZero:r,grace:i,ticks:o}=this.options,a=o.sampleSize;this.beforeUpdate(),this.maxWidth=t,this.maxHeight=e,this._margins=n=Object.assign({left:0,right:0,top:0,bottom:0},n),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+n.left+n.right:this.height+n.top+n.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=function(t,e,n){const{min:r,max:i}=t,o=f(e,(i-r)/2),a=(t,e)=>n&&0===t?0:t+e;return{min:a(r,-Math.abs(o)),max:a(i,o)}}(this,i,r),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const s=a<this.ticks.length;this._convertTicksToLabels(s?Nr(this.ticks,a):this.ticks),this.configure(),this.beforeCalculateLabelRotation(),this.calculateLabelRotation(),this.afterCalculateLabelRotation(),o.display&&(o.autoSkip||"auto"===o.source)&&(this.ticks=Mr(this,this.ticks),this._labelSizes=null,this.afterAutoSkip()),s&&this._convertTicksToLabels(this.ticks),this.beforeFit(),this.fit(),this.afterFit(),this.afterUpdate()}configure(){let t,e,n=this.options.reverse;this.isHorizontal()?(t=this.left,e=this.right):(t=this.top,e=this.bottom,n=!n),this._startPixel=t,this._endPixel=e,this._reversePixels=n,this._length=e-t,this._alignToPixels=this.options.alignToPixels}afterUpdate(){h(this.options.afterUpdate,[this])}beforeSetDimensions(){h(this.options.beforeSetDimensions,[this])}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=0,this.right=this.width):(this.height=this.maxHeight,this.top=0,this.bottom=this.height),this.paddingLeft=0,this.paddingTop=0,this.paddingRight=0,this.paddingBottom=0}afterSetDimensions(){h(this.options.afterSetDimensions,[this])}_callHooks(t){this.chart.notifyPlugins(t,this.getContext()),h(this.options[t],[this])}beforeDataLimits(){this._callHooks("beforeDataLimits")}determineDataLimits(){}afterDataLimits(){this._callHooks("afterDataLimits")}beforeBuildTicks(){this._callHooks("beforeBuildTicks")}buildTicks(){return[]}afterBuildTicks(){this._callHooks("afterBuildTicks")}beforeTickToLabelConversion(){h(this.options.beforeTickToLabelConversion,[this])}generateTickLabels(t){const e=this.options.ticks;let n,r,i;for(n=0,r=t.length;n<r;n++)i=t[n],i.label=h(e.callback,[i.value,n,t],this)}afterTickToLabelConversion(){h(this.options.afterTickToLabelConversion,[this])}beforeCalculateLabelRotation(){h(this.options.beforeCalculateLabelRotation,[this])}calculateLabelRotation(){const t=this.options,e=t.ticks,n=this.ticks.length,r=e.minRotation||0,i=e.maxRotation;let o,a,s,c=r;if(!this._isVisible()||!e.display||r>=i||n<=1||!this.isHorizontal())return void(this.labelRotation=r);const l=this._getLabelSizes(),u=l.widest.width,f=l.highest.height,h=X(this.chart.width-u,0,this.maxWidth);o=t.offset?this.maxWidth/n:h/(n-1),u+6>o&&(o=h/(n-(t.offset?.5:1)),a=this.maxHeight-$r(t.grid)-e.padding-Fr(t.title,this.chart.options.font),s=Math.sqrt(u*u+f*f),c=H(Math.min(Math.asin(X((l.highest.height+6)/o,-1,1)),Math.asin(X(a/s,-1,1))-Math.asin(X(f/s,-1,1)))),c=Math.max(r,Math.min(i,c))),this.labelRotation=c}afterCalculateLabelRotation(){h(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){h(this.options.beforeFit,[this])}fit(){const t={width:0,height:0},{chart:e,options:{ticks:n,title:r,grid:i}}=this,o=this._isVisible(),a=this.isHorizontal();if(o){const o=Fr(r,e.options.font);if(a?(t.width=this.maxWidth,t.height=$r(i)+o):(t.height=this.maxHeight,t.width=$r(i)+o),n.display&&this.ticks.length){const{first:e,last:r,widest:i,highest:o}=this._getLabelSizes(),s=2*n.padding,c=z(this.labelRotation),l=Math.cos(c),u=Math.sin(c);if(a){const e=n.mirror?0:u*i.width+l*o.height;t.height=Math.min(this.maxHeight,t.height+e+s)}else{const e=n.mirror?0:l*i.width+u*o.height;t.width=Math.min(this.maxWidth,t.width+e+s)}this._calculatePadding(e,r,u,l)}}this._handleMargins(),a?(this.width=this._length=e.width-this._margins.left-this._margins.right,this.height=t.height):(this.width=t.width,this.height=this._length=e.height-this._margins.top-this._margins.bottom)}_calculatePadding(t,e,n,r){const{ticks:{align:i,padding:o},position:a}=this.options,s=0!==this.labelRotation,c="top"!==a&&"x"===this.axis;if(this.isHorizontal()){const a=this.getPixelForTick(0)-this.left,l=this.right-this.getPixelForTick(this.ticks.length-1);let u=0,f=0;s?c?(u=r*t.width,f=n*e.height):(u=n*t.height,f=r*e.width):"start"===i?f=e.width:"end"===i?u=t.width:"inner"!==i&&(u=t.width/2,f=e.width/2),this.paddingLeft=Math.max((u-a+o)*this.width/(this.width-a),0),this.paddingRight=Math.max((f-l+o)*this.width/(this.width-l),0)}else{let n=e.height/2,r=t.height/2;"start"===i?(n=0,r=t.height):"end"===i&&(n=e.height,r=0),this.paddingTop=n+o,this.paddingBottom=r+o}}_handleMargins(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}afterFit(){h(this.options.afterFit,[this])}isHorizontal(){const{axis:t,position:e}=this.options;return"top"===e||"bottom"===e||"x"===t}isFullSize(){return this.options.fullSize}_convertTicksToLabels(t){let e,n;for(this.beforeTickToLabelConversion(),this.generateTickLabels(t),e=0,n=t.length;e<n;e++)o(t[e].label)&&(t.splice(e,1),n--,e--);this.afterTickToLabelConversion()}_getLabelSizes(){let t=this._labelSizes;if(!t){const e=this.options.ticks.sampleSize;let n=this.ticks;e<n.length&&(n=Nr(n,e)),this._labelSizes=t=this._computeLabelSizes(n,n.length)}return t}_computeLabelSizes(t,e){const{ctx:n,_longestTextCache:r}=this,i=[],s=[];let c,l,u,f,h,p,m,v,g,y,b,w=0,_=0;for(c=0;c<e;++c){if(f=t[c].label,h=this._resolveTickFontOptions(c),n.font=p=h.string,m=r[p]=r[p]||{data:{},gc:[]},v=h.lineHeight,g=y=0,o(f)||a(f)){if(a(f))for(l=0,u=f.length;l<u;++l)b=f[l],o(b)||a(b)||(g=le(n,m.data,m.gc,g,b),y+=v)}else g=le(n,m.data,m.gc,g,f),y=v;i.push(g),s.push(y),w=Math.max(g,w),_=Math.max(y,_)}!function(t,e){d(t,(t=>{const n=t.gc,r=n.length/2;let i;if(r>e){for(i=0;i<r;++i)delete t.data[n[i]];n.splice(0,r)}}))}(r,e);const x=i.indexOf(w),k=s.indexOf(_),O=t=>({width:i[t]||0,height:s[t]||0});return{first:O(0),last:O(e-1),widest:O(x),highest:O(k),widths:i,heights:s}}getLabelForValue(t){return t}getPixelForValue(t,e){return NaN}getValueForPixel(t){}getPixelForTick(t){const e=this.ticks;return t<0||t>e.length-1?null:this.getPixelForValue(e[t].value)}getPixelForDecimal(t){this._reversePixels&&(t=1-t);const e=this._startPixel+t*this._length;return function(t){return X(t,-32768,32767)}(this._alignToPixels?ue(this.chart,e,0):e)}getDecimalForPixel(t){const e=(t-this._startPixel)/this._length;return this._reversePixels?1-e:e}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){const{min:t,max:e}=this;return t<0&&e<0?e:t>0&&e>0?t:0}getContext(t){const e=this.ticks||[];if(t>=0&&t<e.length){const n=e[t];return n.$context||(n.$context=function(t,e,n){return Me(t,{tick:n,index:e,type:"tick"})}(this.getContext(),t,n))}return this.$context||(this.$context=function(t,e){return Me(t,{scale:e,type:"scale"})}(this.chart.getContext(),this))}_tickSize(){const t=this.options.ticks,e=z(this.labelRotation),n=Math.abs(Math.cos(e)),r=Math.abs(Math.sin(e)),i=this._getLabelSizes(),o=t.autoSkipPadding||0,a=i?i.widest.width+o:0,s=i?i.highest.height+o:0;return this.isHorizontal()?s*n>a*r?a/n:s/r:s*r<a*n?s/n:a/r}_isVisible(){const t=this.options.display;return"auto"!==t?!!t:this.getMatchingVisibleMetas().length>0}_computeGridLineItems(t){const e=this.axis,n=this.chart,r=this.options,{grid:i,position:o,border:a}=r,c=i.offset,l=this.isHorizontal(),f=this.ticks.length+(c?1:0),h=$r(i),d=[],p=a.setContext(this.getContext()),m=p.display?p.width:0,v=m/2,g=function(t){return ue(n,t,m)};let y,b,w,_,x,k,O,C,S,E,T,P;if("top"===o)y=g(this.bottom),k=this.bottom-h,C=y-v,E=g(t.top)+v,P=t.bottom;else if("bottom"===o)y=g(this.top),E=t.top,P=g(t.bottom)-v,k=y+v,C=this.top+h;else if("left"===o)y=g(this.right),x=this.right-h,O=y-v,S=g(t.left)+v,T=t.right;else if("right"===o)y=g(this.left),S=t.left,T=g(t.right)-v,x=y+v,O=this.left+h;else if("x"===e){if("center"===o)y=g((t.top+t.bottom)/2+.5);else if(s(o)){const t=Object.keys(o)[0],e=o[t];y=g(this.chart.scales[t].getPixelForValue(e))}E=t.top,P=t.bottom,k=y+v,C=k+h}else if("y"===e){if("center"===o)y=g((t.left+t.right)/2);else if(s(o)){const t=Object.keys(o)[0],e=o[t];y=g(this.chart.scales[t].getPixelForValue(e))}x=y-v,O=x-h,S=t.left,T=t.right}const A=u(r.ticks.maxTicksLimit,f),j=Math.max(1,Math.ceil(f/A));for(b=0;b<f;b+=j){const t=this.getContext(b),e=i.setContext(t),r=a.setContext(t),o=e.lineWidth,s=e.color,u=r.dash||[],f=r.dashOffset,h=e.tickWidth,p=e.tickColor,m=e.tickBorderDash||[],v=e.tickBorderDashOffset;w=Lr(this,b,c),void 0!==w&&(_=ue(n,w,o),l?x=O=S=T=_:k=C=E=P=_,d.push({tx1:x,ty1:k,tx2:O,ty2:C,x1:S,y1:E,x2:T,y2:P,width:o,color:s,borderDash:u,borderDashOffset:f,tickWidth:h,tickColor:p,tickBorderDash:m,tickBorderDashOffset:v}))}return this._ticksLength=f,this._borderValue=y,d}_computeLabelItems(t){const e=this.axis,n=this.options,{position:r,ticks:i}=n,o=this.isHorizontal(),c=this.ticks,{align:l,crossAlign:u,padding:f,mirror:h}=i,d=$r(n.grid),p=d+f,m=h?-f:p,v=-z(this.labelRotation),g=[];let y,b,w,_,x,k,O,C,S,E,T,P,A="middle";if("top"===r)k=this.bottom-m,O=this._getXAxisLabelAlignment();else if("bottom"===r)k=this.top+m,O=this._getXAxisLabelAlignment();else if("left"===r){const t=this._getYAxisLabelAlignment(d);O=t.textAlign,x=t.x}else if("right"===r){const t=this._getYAxisLabelAlignment(d);O=t.textAlign,x=t.x}else if("x"===e){if("center"===r)k=(t.top+t.bottom)/2+p;else if(s(r)){const t=Object.keys(r)[0],e=r[t];k=this.chart.scales[t].getPixelForValue(e)+p}O=this._getXAxisLabelAlignment()}else if("y"===e){if("center"===r)x=(t.left+t.right)/2-p;else if(s(r)){const t=Object.keys(r)[0],e=r[t];x=this.chart.scales[t].getPixelForValue(e)}O=this._getYAxisLabelAlignment(d).textAlign}"y"===e&&("start"===l?A="top":"end"===l&&(A="bottom"));const j=this._getLabelSizes();for(y=0,b=c.length;y<b;++y){w=c[y],_=w.label;const t=i.setContext(this.getContext(y));C=this.getPixelForTick(y)+i.labelOffset,S=this._resolveTickFontOptions(y),E=S.lineHeight,T=a(_)?_.length:1;const e=T/2,n=t.color,s=t.textStrokeColor,l=t.textStrokeWidth;let f,d=O;if(o?(x=C,"inner"===O&&(d=y===b-1?this.options.reverse?"left":"right":0===y?this.options.reverse?"right":"left":"center"),P="top"===r?"near"===u||0!==v?-T*E+E/2:"center"===u?-j.highest.height/2-e*E+E:-j.highest.height+E/2:"near"===u||0!==v?E/2:"center"===u?j.highest.height/2-e*E:j.highest.height-T*E,h&&(P*=-1),0===v||t.showLabelBackdrop||(x+=E/2*Math.sin(v))):(k=C,P=(1-T)*E/2),t.showLabelBackdrop){const e=Ae(t.backdropPadding),n=j.heights[y],r=j.widths[y];let i=P-e.top,o=0-e.left;switch(A){case"middle":i-=n/2;break;case"bottom":i-=n}switch(O){case"center":o-=r/2;break;case"right":o-=r}f={left:o,top:i,width:r+e.width,height:n+e.height,color:t.backdropColor}}g.push({rotation:v,label:_,font:S,color:n,strokeColor:s,strokeWidth:l,textOffset:P,textAlign:d,textBaseline:A,translation:[x,k],backdrop:f})}return g}_getXAxisLabelAlignment(){const{position:t,ticks:e}=this.options;if(-z(this.labelRotation))return"top"===t?"left":"right";let n="center";return"start"===e.align?n="left":"end"===e.align?n="right":"inner"===e.align&&(n="inner"),n}_getYAxisLabelAlignment(t){const{position:e,ticks:{crossAlign:n,mirror:r,padding:i}}=this.options,o=t+i,a=this._getLabelSizes().widest.width;let s,c;return"left"===e?r?(c=this.right+i,"near"===n?s="left":"center"===n?(s="center",c+=a/2):(s="right",c+=a)):(c=this.right-o,"near"===n?s="right":"center"===n?(s="center",c-=a/2):(s="left",c=this.left)):"right"===e?r?(c=this.left+i,"near"===n?s="right":"center"===n?(s="center",c-=a/2):(s="left",c-=a)):(c=this.left+o,"near"===n?s="left":"center"===n?(s="center",c+=a/2):(s="right",c=this.right)):s="right",{textAlign:s,x:c}}_computeLabelArea(){if(this.options.ticks.mirror)return;const t=this.chart,e=this.options.position;return"left"===e||"right"===e?{top:0,left:this.left,bottom:t.height,right:this.right}:"top"===e||"bottom"===e?{top:this.top,left:0,bottom:this.bottom,right:t.width}:void 0}drawBackground(){const{ctx:t,options:{backgroundColor:e},left:n,top:r,width:i,height:o}=this;e&&(t.save(),t.fillStyle=e,t.fillRect(n,r,i,o),t.restore())}getLineWidthForValue(t){const e=this.options.grid;if(!this._isVisible()||!e.display)return 0;const n=this.ticks.findIndex((e=>e.value===t));if(n>=0){return e.setContext(this.getContext(n)).lineWidth}return 0}drawGrid(t){const e=this.options.grid,n=this.ctx,r=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(t));let i,o;const a=(t,e,r)=>{r.width&&r.color&&(n.save(),n.lineWidth=r.width,n.strokeStyle=r.color,n.setLineDash(r.borderDash||[]),n.lineDashOffset=r.borderDashOffset,n.beginPath(),n.moveTo(t.x,t.y),n.lineTo(e.x,e.y),n.stroke(),n.restore())};if(e.display)for(i=0,o=r.length;i<o;++i){const t=r[i];e.drawOnChartArea&&a({x:t.x1,y:t.y1},{x:t.x2,y:t.y2},t),e.drawTicks&&a({x:t.tx1,y:t.ty1},{x:t.tx2,y:t.ty2},{color:t.tickColor,width:t.tickWidth,borderDash:t.tickBorderDash,borderDashOffset:t.tickBorderDashOffset})}}drawBorder(){const{chart:t,ctx:e,options:{border:n,grid:r}}=this,i=n.setContext(this.getContext()),o=n.display?i.width:0;if(!o)return;const a=r.setContext(this.getContext(0)).lineWidth,s=this._borderValue;let c,l,u,f;this.isHorizontal()?(c=ue(t,this.left,o)-o/2,l=ue(t,this.right,a)+a/2,u=f=s):(u=ue(t,this.top,o)-o/2,f=ue(t,this.bottom,a)+a/2,c=l=s),e.save(),e.lineWidth=i.width,e.strokeStyle=i.color,e.beginPath(),e.moveTo(c,u),e.lineTo(l,f),e.stroke(),e.restore()}drawLabels(t){if(!this.options.ticks.display)return;const e=this.ctx,n=this._computeLabelArea();n&&me(e,n);const r=this._labelItems||(this._labelItems=this._computeLabelItems(t));let i,o;for(i=0,o=r.length;i<o;++i){const t=r[i],n=t.font;be(e,t.label,0,t.textOffset,n,t)}n&&ve(e)}drawTitle(){const{ctx:t,options:{position:e,title:n,reverse:r}}=this;if(!n.display)return;const i=je(n.font),o=Ae(n.padding),c=n.align;let l=i.lineHeight/2;"bottom"===e||"center"===e||s(e)?(l+=o.bottom,a(n.text)&&(l+=i.lineHeight*(n.text.length-1))):l+=o.top;const{titleX:u,titleY:f,maxWidth:h,rotation:d}=function(t,e,n,r){const{top:i,left:o,bottom:a,right:c,chart:l}=t,{chartArea:u,scales:f}=l;let h,d,p,m=0;const v=a-i,g=c-o;if(t.isHorizontal()){if(d=at(r,o,c),s(n)){const t=Object.keys(n)[0],r=n[t];p=f[t].getPixelForValue(r)+v-e}else p="center"===n?(u.bottom+u.top)/2+v-e:Ir(t,n,e);h=c-o}else{if(s(n)){const t=Object.keys(n)[0],r=n[t];d=f[t].getPixelForValue(r)-g+e}else d="center"===n?(u.left+u.right)/2-g+e:Ir(t,n,e);p=at(r,a,i),m="left"===n?-D:D}return{titleX:d,titleY:p,maxWidth:h,rotation:m}}(this,l,e,c);be(t,n.text,0,0,i,{color:n.color,maxWidth:h,rotation:d,textAlign:Br(c,e,r),textBaseline:"middle",translation:[u,f]})}draw(t){this._isVisible()&&(this.drawBackground(),this.drawGrid(t),this.drawBorder(),this.drawTitle(),this.drawLabels(t))}_layers(){const t=this.options,e=t.ticks&&t.ticks.z||0,n=u(t.grid&&t.grid.z,-1),r=u(t.border&&t.border.z,0);return this._isVisible()&&this.draw===zr.prototype.draw?[{z:n,draw:t=>{this.drawBackground(),this.drawGrid(t),this.drawTitle()}},{z:r,draw:()=>{this.drawBorder()}},{z:e,draw:t=>{this.drawLabels(t)}}]:[{z:e,draw:t=>{this.draw(t)}}]}getMatchingVisibleMetas(t){const e=this.chart.getSortedVisibleDatasetMetas(),n=this.axis+"AxisID",r=[];let i,o;for(i=0,o=e.length;i<o;++i){const o=e[i];o[n]!==this.id||t&&o.type!==t||r.push(o)}return r}_resolveTickFontOptions(t){return je(this.options.ticks.setContext(this.getContext(t)).font)}_maxDigits(){const t=this._resolveTickFontOptions(0).lineHeight;return(this.isHorizontal()?this.width:this.height)/t}}class Hr{constructor(t,e,n){this.type=t,this.scope=e,this.override=n,this.items=Object.create(null)}isForType(t){return Object.prototype.isPrototypeOf.call(this.type.prototype,t.prototype)}register(t){const e=Object.getPrototypeOf(t);let n;(function(t){return"id"in t&&"defaults"in t})(e)&&(n=this.register(e));const r=this.items,i=t.id,o=this.scope+"."+i;if(!i)throw new Error("class does not have id: "+t);return i in r||(r[i]=t,function(t,e,n){const r=y(Object.create(null),[n?ce.get(n):{},ce.get(e),t.defaults]);ce.set(e,r),t.defaultRoutes&&function(t,e){Object.keys(e).forEach((n=>{const r=n.split("."),i=r.pop(),o=[t].concat(r).join("."),a=e[n].split("."),s=a.pop(),c=a.join(".");ce.route(o,i,c,s)}))}(e,t.defaultRoutes);t.descriptors&&ce.describe(e,t.descriptors)}(t,o,n),this.override&&ce.override(t.id,t.overrides)),o}get(t){return this.items[t]}unregister(t){const e=this.items,n=t.id,r=this.scope;n in e&&delete e[n],r&&n in ce[r]&&(delete ce[r][n],this.override&&delete re[n])}}class Ur{constructor(){this.controllers=new Hr(qn,"datasets",!0),this.elements=new Hr(Dr,"elements"),this.plugins=new Hr(Object,"plugins"),this.scales=new Hr(zr,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...t){this._each("register",t)}remove(...t){this._each("unregister",t)}addControllers(...t){this._each("register",t,this.controllers)}addElements(...t){this._each("register",t,this.elements)}addPlugins(...t){this._each("register",t,this.plugins)}addScales(...t){this._each("register",t,this.scales)}getController(t){return this._get(t,this.controllers,"controller")}getElement(t){return this._get(t,this.elements,"element")}getPlugin(t){return this._get(t,this.plugins,"plugin")}getScale(t){return this._get(t,this.scales,"scale")}removeControllers(...t){this._each("unregister",t,this.controllers)}removeElements(...t){this._each("unregister",t,this.elements)}removePlugins(...t){this._each("unregister",t,this.plugins)}removeScales(...t){this._each("unregister",t,this.scales)}_each(t,e,n){[...e].forEach((e=>{const r=n||this._getRegistryForType(e);n||r.isForType(e)||r===this.plugins&&e.id?this._exec(t,r,e):d(e,(e=>{const r=n||this._getRegistryForType(e);this._exec(t,r,e)}))}))}_exec(t,e,n){const r=k(t);h(n["before"+r],[],n),e[t](n),h(n["after"+r],[],n)}_getRegistryForType(t){for(let e=0;e<this._typedRegistries.length;e++){const n=this._typedRegistries[e];if(n.isForType(t))return n}return this.plugins}_get(t,e,n){const r=e.get(t);if(void 0===r)throw new Error('"'+t+'" is not a registered '+n+".");return r}}var qr=new Ur;class Wr{constructor(){this._init=[]}notify(t,e,n,r){"beforeInit"===e&&(this._init=this._createDescriptors(t,!0),this._notify(this._init,t,"install"));const i=r?this._descriptors(t).filter(r):this._descriptors(t),o=this._notify(i,t,e,n);return"afterDestroy"===e&&(this._notify(i,t,"stop"),this._notify(this._init,t,"uninstall")),o}_notify(t,e,n,r){r=r||{};for(const i of t){const t=i.plugin;if(!1===h(t[n],[e,r,i.options],t)&&r.cancelable)return!1}return!0}invalidate(){o(this._cache)||(this._oldCache=this._cache,this._cache=void 0)}_descriptors(t){if(this._cache)return this._cache;const e=this._cache=this._createDescriptors(t);return this._notifyStateChanges(t),e}_createDescriptors(t,e){const n=t&&t.config,r=u(n.options&&n.options.plugins,{}),i=function(t){const e={},n=[],r=Object.keys(qr.plugins.items);for(let t=0;t<r.length;t++)n.push(qr.getPlugin(r[t]));const i=t.plugins||[];for(let t=0;t<i.length;t++){const r=i[t];-1===n.indexOf(r)&&(n.push(r),e[r.id]=!0)}return{plugins:n,localIds:e}}(n);return!1!==r||e?function(t,{plugins:e,localIds:n},r,i){const o=[],a=t.getContext();for(const s of e){const e=s.id,c=Vr(r[e],i);null!==c&&o.push({plugin:s,options:Zr(t.config,{plugin:s,local:n[e]},c,a)})}return o}(t,i,r,e):[]}_notifyStateChanges(t){const e=this._oldCache||[],n=this._cache,r=(t,e)=>t.filter((t=>!e.some((e=>t.plugin.id===e.plugin.id))));this._notify(r(e,n),t,"stop"),this._notify(r(n,e),t,"start")}}function Vr(t,e){return e||!1!==t?!0===t?{}:t:null}function Zr(t,{plugin:e,local:n},r,i){const o=t.pluginScopeKeys(e),a=t.getOptionScopes(r,o);return n&&e.defaults&&a.push(e.defaults),t.createResolver(a,i,[""],{scriptable:!1,indexable:!1,allKeys:!0})}function Yr(t,e){const n=ce.datasets[t]||{};return((e.datasets||{})[t]||{}).indexAxis||e.indexAxis||n.indexAxis||"x"}function Xr(t,e){if("x"===t||"y"===t||"r"===t)return t;if(t=e.axis||function(t){return"top"===t||"bottom"===t?"x":"left"===t||"right"===t?"y":void 0}(e.position)||t.length>1&&Xr(t[0].toLowerCase(),e))return t;throw new Error(`Cannot determine type of '${name}' axis. Please provide 'axis' or 'position' option.`)}function Kr(t){const e=t.options||(t.options={});e.plugins=u(e.plugins,{}),e.scales=function(t,e){const n=re[t.type]||{scales:{}},r=e.scales||{},i=Yr(t.type,e),o=Object.create(null);return Object.keys(r).forEach((t=>{const e=r[t];if(!s(e))return console.error(`Invalid scale configuration for scale: ${t}`);if(e._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${t}`);const a=Xr(t,e),c=function(t,e){return t===e?"_index_":"_value_"}(a,i),l=n.scales||{};o[t]=b(Object.create(null),[{axis:a},e,l[a],l[c]])})),t.data.datasets.forEach((n=>{const i=n.type||t.type,a=n.indexAxis||Yr(i,e),s=(re[i]||{}).scales||{};Object.keys(s).forEach((t=>{const e=function(t,e){let n=t;return"_index_"===t?n=e:"_value_"===t&&(n="x"===e?"y":"x"),n}(t,a),i=n[e+"AxisID"]||e;o[i]=o[i]||Object.create(null),b(o[i],[{axis:e},r[i],s[t]])}))})),Object.keys(o).forEach((t=>{const e=o[t];b(e,[ce.scales[e.type],ce.scale])})),o}(t,e)}function Gr(t){return(t=t||{}).datasets=t.datasets||[],t.labels=t.labels||[],t}const Qr=new Map,Jr=new Set;function ti(t,e){let n=Qr.get(t);return n||(n=e(),Qr.set(t,n),Jr.add(n)),n}const ei=(t,e,n)=>{const r=x(e,n);void 0!==r&&t.add(r)};class ni{constructor(t){this._config=function(t){return(t=t||{}).data=Gr(t.data),Kr(t),t}(t),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(t){this._config.type=t}get data(){return this._config.data}set data(t){this._config.data=Gr(t)}get options(){return this._config.options}set options(t){this._config.options=t}get plugins(){return this._config.plugins}update(){const t=this._config;this.clearCache(),Kr(t)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(t){return ti(t,(()=>[[`datasets.${t}`,""]]))}datasetAnimationScopeKeys(t,e){return ti(`${t}.transition.${e}`,(()=>[[`datasets.${t}.transitions.${e}`,`transitions.${e}`],[`datasets.${t}`,""]]))}datasetElementScopeKeys(t,e){return ti(`${t}-${e}`,(()=>[[`datasets.${t}.elements.${e}`,`datasets.${t}`,`elements.${e}`,""]]))}pluginScopeKeys(t){const e=t.id;return ti(`${this.type}-plugin-${e}`,(()=>[[`plugins.${e}`,...t.additionalOptionScopes||[]]]))}_cachedScopes(t,e){const n=this._scopeCache;let r=n.get(t);return r&&!e||(r=new Map,n.set(t,r)),r}getOptionScopes(t,e,n){const{options:r,type:i}=this,o=this._cachedScopes(t,n),a=o.get(e);if(a)return a;const s=new Set;e.forEach((e=>{t&&(s.add(t),e.forEach((e=>ei(s,t,e)))),e.forEach((t=>ei(s,r,t))),e.forEach((t=>ei(s,re[i]||{},t))),e.forEach((t=>ei(s,ce,t))),e.forEach((t=>ei(s,ie,t)))}));const c=Array.from(s);return 0===c.length&&c.push(Object.create(null)),Jr.has(e)&&o.set(e,c),c}chartOptionScopes(){const{options:t,type:e}=this;return[t,re[e]||{},ce.datasets[e]||{},{type:e},ce,ie]}resolveNamedOptions(t,e,n,r=[""]){const i={$shared:!0},{resolver:o,subPrefixes:s}=ri(this._resolverCache,t,r);let c=o;if(function(t,e){const{isScriptable:n,isIndexable:r}=Ne(t);for(const i of e){const e=n(i),o=r(i),s=(o||e)&&t[i];if(e&&(C(s)||ii(s))||o&&a(s))return!0}return!1}(o,e)){i.$shared=!1;c=Ie(o,n=C(n)?n():n,this.createResolver(t,n,s))}for(const t of e)i[t]=c[t];return i}createResolver(t,e,n=[""],r){const{resolver:i}=ri(this._resolverCache,t,n);return s(e)?Ie(i,e,void 0,r):i}}function ri(t,e,n){let r=t.get(e);r||(r=new Map,t.set(e,r));const i=n.join();let o=r.get(i);if(!o){o={resolver:Re(e,n),subPrefixes:n.filter((t=>!t.toLowerCase().includes("hover")))},r.set(i,o)}return o}const ii=t=>s(t)&&Object.getOwnPropertyNames(t).reduce(((e,n)=>e||C(t[n])),!1);const oi=["top","bottom","left","right","chartArea"];function ai(t,e){return"top"===t||"bottom"===t||-1===oi.indexOf(t)&&"x"===e}function si(t,e){return function(n,r){return n[t]===r[t]?n[e]-r[e]:n[t]-r[t]}}function ci(t){const e=t.chart,n=e.options.animation;e.notifyPlugins("afterRender"),h(n&&n.onComplete,[t],e)}function li(t){const e=t.chart,n=e.options.animation;h(n&&n.onProgress,[t],e)}function ui(t){return tn()&&"string"==typeof t?t=document.getElementById(t):t&&t.length&&(t=t[0]),t&&t.canvas&&(t=t.canvas),t}const fi={},hi=t=>{const e=ui(t);return Object.values(fi).filter((t=>t.canvas===e)).pop()};function di(t,e,n){const r=Object.keys(t);for(const i of r){const r=+i;if(r>=e){const o=t[i];delete t[i],(n>0||r>e)&&(t[r+n]=o)}}}class pi{static defaults=ce;static instances=fi;static overrides=re;static registry=qr;static version="4.0.1";static getChart=hi;static register(...t){qr.add(...t),mi()}static unregister(...t){qr.remove(...t),mi()}constructor(t,e){const n=this.config=new ni(e),r=ui(t),o=hi(r);if(o)throw new Error("Canvas is already in use. Chart with ID '"+o.id+"' must be destroyed before the canvas with ID '"+o.canvas.id+"' can be reused.");const a=n.createResolver(n.chartOptionScopes(),this.getContext());this.platform=new(n.platform||function(t){return!tn()||"undefined"!=typeof OffscreenCanvas&&t instanceof OffscreenCanvas?vr:jr}(r)),this.platform.updateConfig(n);const s=this.platform.acquireContext(r,a.aspectRatio),c=s&&s.canvas,l=c&&c.height,u=c&&c.width;this.id=i(),this.ctx=s,this.canvas=c,this.width=u,this.height=l,this._options=a,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new Wr,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=function(t,e){let n;return function(...r){return e?(clearTimeout(n),n=setTimeout(t,e,r)):t.apply(this,r),e}}((t=>this.update(t)),a.resizeDelay||0),this._dataChanges=[],fi[this.id]=this,s&&c?(Tn.listen(this,"complete",ci),Tn.listen(this,"progress",li),this._initialize(),this.attached&&this.update()):console.error("Failed to create chart: can't acquire context from the given item")}get aspectRatio(){const{options:{aspectRatio:t,maintainAspectRatio:e},width:n,height:r,_aspectRatio:i}=this;return o(t)?e&&i?i:r?n/r:null:t}get data(){return this.config.data}set data(t){this.config.data=t}get options(){return this._options}set options(t){this.config.options=t}get registry(){return qr}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():fn(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return fe(this.canvas,this.ctx),this}stop(){return Tn.stop(this),this}resize(t,e){Tn.running(this)?this._resizeBeforeDraw={width:t,height:e}:this._resize(t,e)}_resize(t,e){const n=this.options,r=this.canvas,i=n.maintainAspectRatio&&this.aspectRatio,o=this.platform.getMaximumSize(r,t,e,i),a=n.devicePixelRatio||this.platform.getDevicePixelRatio(),s=this.width?"resize":"attach";this.width=o.width,this.height=o.height,this._aspectRatio=this.aspectRatio,fn(this,a,!0)&&(this.notifyPlugins("resize",{size:o}),h(n.onResize,[this,o],this),this.attached&&this._doResize(s)&&this.render())}ensureScalesHaveIDs(){d(this.options.scales||{},((t,e)=>{t.id=e}))}buildOrUpdateScales(){const t=this.options,e=t.scales,n=this.scales,r=Object.keys(n).reduce(((t,e)=>(t[e]=!1,t)),{});let i=[];e&&(i=i.concat(Object.keys(e).map((t=>{const n=e[t],r=Xr(t,n),i="r"===r,o="x"===r;return{options:n,dposition:i?"chartArea":o?"bottom":"left",dtype:i?"radialLinear":o?"category":"linear"}})))),d(i,(e=>{const i=e.options,o=i.id,a=Xr(o,i),s=u(i.type,e.dtype);void 0!==i.position&&ai(i.position,a)===ai(e.dposition)||(i.position=e.dposition),r[o]=!0;let c=null;if(o in n&&n[o].type===s)c=n[o];else{c=new(qr.getScale(s))({id:o,type:s,ctx:this.ctx,chart:this}),n[c.id]=c}c.init(i,t)})),d(r,((t,e)=>{t||delete n[e]})),d(n,(t=>{pr.configure(this,t,t.options),pr.addBox(this,t)}))}_updateMetasets(){const t=this._metasets,e=this.data.datasets.length,n=t.length;if(t.sort(((t,e)=>t.index-e.index)),n>e){for(let t=e;t<n;++t)this._destroyDatasetMeta(t);t.splice(e,n-e)}this._sortedMetasets=t.slice(0).sort(si("order","index"))}_removeUnreferencedMetasets(){const{_metasets:t,data:{datasets:e}}=this;t.length>e.length&&delete this._stacks,t.forEach(((t,n)=>{0===e.filter((e=>e===t._dataset)).length&&this._destroyDatasetMeta(n)}))}buildOrUpdateControllers(){const t=[],e=this.data.datasets;let n,r;for(this._removeUnreferencedMetasets(),n=0,r=e.length;n<r;n++){const r=e[n];let i=this.getDatasetMeta(n);const o=r.type||this.config.type;if(i.type&&i.type!==o&&(this._destroyDatasetMeta(n),i=this.getDatasetMeta(n)),i.type=o,i.indexAxis=r.indexAxis||Yr(o,this.options),i.order=r.order||0,i.index=n,i.label=""+r.label,i.visible=this.isDatasetVisible(n),i.controller)i.controller.updateIndex(n),i.controller.linkScales();else{const e=qr.getController(o),{datasetElementType:r,dataElementType:a}=ce.datasets[o];Object.assign(e,{dataElementType:qr.getElement(a),datasetElementType:r&&qr.getElement(r)}),i.controller=new e(this,n),t.push(i.controller)}}return this._updateMetasets(),t}_resetElements(){d(this.data.datasets,((t,e)=>{this.getDatasetMeta(e).controller.reset()}),this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(t){const e=this.config;e.update();const n=this._options=e.createResolver(e.chartOptionScopes(),this.getContext()),r=this._animationsDisabled=!n.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),!1===this.notifyPlugins("beforeUpdate",{mode:t,cancelable:!0}))return;const i=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let o=0;for(let t=0,e=this.data.datasets.length;t<e;t++){const{controller:e}=this.getDatasetMeta(t),n=!r&&-1===i.indexOf(e);e.buildOrUpdateElements(n),o=Math.max(+e.getMaxOverflow(),o)}o=this._minPadding=n.layout.autoPadding?o:0,this._updateLayout(o),r||d(i,(t=>{t.reset()})),this._updateDatasets(t),this.notifyPlugins("afterUpdate",{mode:t}),this._layers.sort(si("z","_idx"));const{_active:a,_lastEvent:s}=this;s?this._eventHandler(s,!0):a.length&&this._updateHoverStyles(a,a,!0),this.render()}_updateScales(){d(this.scales,(t=>{pr.removeBox(this,t)})),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const t=this.options,e=new Set(Object.keys(this._listeners)),n=new Set(t.events);S(e,n)&&!!this._responsiveListeners===t.responsive||(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){const{_hiddenIndices:t}=this,e=this._getUniformDataChanges()||[];for(const{method:n,start:r,count:i}of e){di(t,r,"_removeElements"===n?-i:i)}}_getUniformDataChanges(){const t=this._dataChanges;if(!t||!t.length)return;this._dataChanges=[];const e=this.data.datasets.length,n=e=>new Set(t.filter((t=>t[0]===e)).map(((t,e)=>e+","+t.splice(1).join(",")))),r=n(0);for(let t=1;t<e;t++)if(!S(r,n(t)))return;return Array.from(r).map((t=>t.split(","))).map((t=>({method:t[1],start:+t[2],count:+t[3]})))}_updateLayout(t){if(!1===this.notifyPlugins("beforeLayout",{cancelable:!0}))return;pr.update(this,this.width,this.height,t);const e=this.chartArea,n=e.width<=0||e.height<=0;this._layers=[],d(this.boxes,(t=>{n&&"chartArea"===t.position||(t.configure&&t.configure(),this._layers.push(...t._layers()))}),this),this._layers.forEach(((t,e)=>{t._idx=e})),this.notifyPlugins("afterLayout")}_updateDatasets(t){if(!1!==this.notifyPlugins("beforeDatasetsUpdate",{mode:t,cancelable:!0})){for(let t=0,e=this.data.datasets.length;t<e;++t)this.getDatasetMeta(t).controller.configure();for(let e=0,n=this.data.datasets.length;e<n;++e)this._updateDataset(e,C(t)?t({datasetIndex:e}):t);this.notifyPlugins("afterDatasetsUpdate",{mode:t})}}_updateDataset(t,e){const n=this.getDatasetMeta(t),r={meta:n,index:t,mode:e,cancelable:!0};!1!==this.notifyPlugins("beforeDatasetUpdate",r)&&(n.controller._update(e),r.cancelable=!1,this.notifyPlugins("afterDatasetUpdate",r))}render(){!1!==this.notifyPlugins("beforeRender",{cancelable:!0})&&(Tn.has(this)?this.attached&&!Tn.running(this)&&Tn.start(this):(this.draw(),ci({chart:this})))}draw(){let t;if(this._resizeBeforeDraw){const{width:t,height:e}=this._resizeBeforeDraw;this._resize(t,e),this._resizeBeforeDraw=null}if(this.clear(),this.width<=0||this.height<=0)return;if(!1===this.notifyPlugins("beforeDraw",{cancelable:!0}))return;const e=this._layers;for(t=0;t<e.length&&e[t].z<=0;++t)e[t].draw(this.chartArea);for(this._drawDatasets();t<e.length;++t)e[t].draw(this.chartArea);this.notifyPlugins("afterDraw")}_getSortedDatasetMetas(t){const e=this._sortedMetasets,n=[];let r,i;for(r=0,i=e.length;r<i;++r){const i=e[r];t&&!i.visible||n.push(i)}return n}getSortedVisibleDatasetMetas(){return this._getSortedDatasetMetas(!0)}_drawDatasets(){if(!1===this.notifyPlugins("beforeDatasetsDraw",{cancelable:!0}))return;const t=this.getSortedVisibleDatasetMetas();for(let e=t.length-1;e>=0;--e)this._drawDataset(t[e]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(t){const e=this.ctx,n=t._clip,r=!n.disabled,i=function(t){const{xScale:e,yScale:n}=t;if(e&&n)return{left:e.left,right:e.right,top:n.top,bottom:n.bottom}}(t)||this.chartArea,o={meta:t,index:t.index,cancelable:!0};!1!==this.notifyPlugins("beforeDatasetDraw",o)&&(r&&me(e,{left:!1===n.left?0:i.left-n.left,right:!1===n.right?this.width:i.right+n.right,top:!1===n.top?0:i.top-n.top,bottom:!1===n.bottom?this.height:i.bottom+n.bottom}),t.controller.draw(),r&&ve(e),o.cancelable=!1,this.notifyPlugins("afterDatasetDraw",o))}isPointInArea(t){return pe(t,this.chartArea,this._minPadding)}getElementsAtEventForMode(t,e,n,r){const i=er.modes[e];return"function"==typeof i?i(this,t,n,r):[]}getDatasetMeta(t){const e=this.data.datasets[t],n=this._metasets;let r=n.filter((t=>t&&t._dataset===e)).pop();return r||(r={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:e&&e.order||0,index:t,_dataset:e,_parsed:[],_sorted:!1},n.push(r)),r}getContext(){return this.$context||(this.$context=Me(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(t){const e=this.data.datasets[t];if(!e)return!1;const n=this.getDatasetMeta(t);return"boolean"==typeof n.hidden?!n.hidden:!e.hidden}setDatasetVisibility(t,e){this.getDatasetMeta(t).hidden=!e}toggleDataVisibility(t){this._hiddenIndices[t]=!this._hiddenIndices[t]}getDataVisibility(t){return!this._hiddenIndices[t]}_updateVisibility(t,e,n){const r=n?"show":"hide",i=this.getDatasetMeta(t),o=i.controller._resolveAnimations(void 0,r);O(e)?(i.data[e].hidden=!n,this.update()):(this.setDatasetVisibility(t,n),o.update(i,{visible:n}),this.update((e=>e.datasetIndex===t?r:void 0)))}hide(t,e){this._updateVisibility(t,e,!1)}show(t,e){this._updateVisibility(t,e,!0)}_destroyDatasetMeta(t){const e=this._metasets[t];e&&e.controller&&e.controller._destroy(),delete this._metasets[t]}_stop(){let t,e;for(this.stop(),Tn.remove(this),t=0,e=this.data.datasets.length;t<e;++t)this._destroyDatasetMeta(t)}destroy(){this.notifyPlugins("beforeDestroy");const{canvas:t,ctx:e}=this;this._stop(),this.config.clearCache(),t&&(this.unbindEvents(),fe(t,e),this.platform.releaseContext(e),this.canvas=null,this.ctx=null),delete fi[this.id],this.notifyPlugins("afterDestroy")}toBase64Image(...t){return this.canvas.toDataURL(...t)}bindEvents(){this.bindUserEvents(),this.options.responsive?this.bindResponsiveEvents():this.attached=!0}bindUserEvents(){const t=this._listeners,e=this.platform,n=(n,r)=>{e.addEventListener(this,n,r),t[n]=r},r=(t,e,n)=>{t.offsetX=e,t.offsetY=n,this._eventHandler(t)};d(this.options.events,(t=>n(t,r)))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const t=this._responsiveListeners,e=this.platform,n=(n,r)=>{e.addEventListener(this,n,r),t[n]=r},r=(n,r)=>{t[n]&&(e.removeEventListener(this,n,r),delete t[n])},i=(t,e)=>{this.canvas&&this.resize(t,e)};let o;const a=()=>{r("attach",a),this.attached=!0,this.resize(),n("resize",i),n("detach",o)};o=()=>{this.attached=!1,r("resize",i),this._stop(),this._resize(0,0),n("attach",a)},e.isAttached(this.canvas)?a():o()}unbindEvents(){d(this._listeners,((t,e)=>{this.platform.removeEventListener(this,e,t)})),this._listeners={},d(this._responsiveListeners,((t,e)=>{this.platform.removeEventListener(this,e,t)})),this._responsiveListeners=void 0}updateHoverStyle(t,e,n){const r=n?"set":"remove";let i,o,a,s;for("dataset"===e&&(i=this.getDatasetMeta(t[0].datasetIndex),i.controller["_"+r+"DatasetHoverStyle"]()),a=0,s=t.length;a<s;++a){o=t[a];const e=o&&this.getDatasetMeta(o.datasetIndex).controller;e&&e[r+"HoverStyle"](o.element,o.datasetIndex,o.index)}}getActiveElements(){return this._active||[]}setActiveElements(t){const e=this._active||[],n=t.map((({datasetIndex:t,index:e})=>{const n=this.getDatasetMeta(t);if(!n)throw new Error("No dataset found at index "+t);return{datasetIndex:t,element:n.data[e],index:e}}));!p(n,e)&&(this._active=n,this._lastEvent=null,this._updateHoverStyles(n,e))}notifyPlugins(t,e,n){return this._plugins.notify(this,t,e,n)}isPluginEnabled(t){return 1===this._plugins._cache.filter((e=>e.plugin.id===t)).length}_updateHoverStyles(t,e,n){const r=this.options.hover,i=(t,e)=>t.filter((t=>!e.some((e=>t.datasetIndex===e.datasetIndex&&t.index===e.index)))),o=i(e,t),a=n?t:i(t,e);o.length&&this.updateHoverStyle(o,r.mode,!1),a.length&&r.mode&&this.updateHoverStyle(a,r.mode,!0)}_eventHandler(t,e){const n={event:t,replay:e,cancelable:!0,inChartArea:this.isPointInArea(t)},r=e=>(e.options.events||this.options.events).includes(t.native.type);if(!1===this.notifyPlugins("beforeEvent",n,r))return;const i=this._handleEvent(t,e,n.inChartArea);return n.cancelable=!1,this.notifyPlugins("afterEvent",n,r),(i||n.changed)&&this.render(),this}_handleEvent(t,e,n){const{_active:r=[],options:i}=this,o=e,a=this._getActiveElements(t,r,n,o),s=function(t){return"mouseup"===t.type||"click"===t.type||"contextmenu"===t.type}(t),c=function(t,e,n,r){return n&&"mouseout"!==t.type?r?e:t:null}(t,this._lastEvent,n,s);n&&(this._lastEvent=null,h(i.onHover,[t,a,this],this),s&&h(i.onClick,[t,a,this],this));const l=!p(a,r);return(l||e)&&(this._active=a,this._updateHoverStyles(a,r,e)),this._lastEvent=c,l}_getActiveElements(t,e,n,r){if("mouseout"===t.type)return[];if(!n)return e;const i=this.options.hover;return this.getElementsAtEventForMode(t,i.mode,i,r)}}function mi(){return d(pi.instances,(t=>t._plugins.invalidate()))}var vi=pi;function gi(t,e,n=e){t.lineCap=u(n.borderCapStyle,e.borderCapStyle),t.setLineDash(u(n.borderDash,e.borderDash)),t.lineDashOffset=u(n.borderDashOffset,e.borderDashOffset),t.lineJoin=u(n.borderJoinStyle,e.borderJoinStyle),t.lineWidth=u(n.borderWidth,e.borderWidth),t.strokeStyle=u(n.borderColor,e.borderColor)}function yi(t,e,n){t.lineTo(n.x,n.y)}function bi(t,e,n={}){const r=t.length,{start:i=0,end:o=r-1}=n,{start:a,end:s}=e,c=Math.max(i,a),l=Math.min(o,s),u=i<a&&o<a||i>s&&o>s;return{count:r,start:c,loop:e.loop,ilen:l<c&&!u?r+l-c:l-c}}function wi(t,e,n,r){const{points:i,options:o}=e,{count:a,start:s,loop:c,ilen:l}=bi(i,n,r),u=function(t){return t.stepped?ge:t.tension||"monotone"===t.cubicInterpolationMode?ye:yi}(o);let f,h,d,{move:p=!0,reverse:m}=r||{};for(f=0;f<=l;++f)h=i[(s+(m?l-f:f))%a],h.skip||(p?(t.moveTo(h.x,h.y),p=!1):u(t,d,h,m,o.stepped),d=h);return c&&(h=i[(s+(m?l:0))%a],u(t,d,h,m,o.stepped)),!!c}function _i(t,e,n,r){const i=e.points,{count:o,start:a,ilen:s}=bi(i,n,r),{move:c=!0,reverse:l}=r||{};let u,f,h,d,p,m,v=0,g=0;const y=t=>(a+(l?s-t:t))%o,b=()=>{d!==p&&(t.lineTo(v,p),t.lineTo(v,d),t.lineTo(v,m))};for(c&&(f=i[y(0)],t.moveTo(f.x,f.y)),u=0;u<=s;++u){if(f=i[y(u)],f.skip)continue;const e=f.x,n=f.y,r=0|e;r===h?(n<d?d=n:n>p&&(p=n),v=(g*v+e)/++g):(b(),t.lineTo(e,n),h=r,g=0,d=p=n),m=n}b()}function xi(t){const e=t.options,n=e.borderDash&&e.borderDash.length;return!(t._decimated||t._loop||e.tension||"monotone"===e.cubicInterpolationMode||e.stepped||n)?_i:wi}const ki="function"==typeof Path2D;function Oi(t,e,n,r){ki&&!e.options.segment?function(t,e,n,r){let i=e._path;i||(i=e._path=new Path2D,e.path(i,n,r)&&i.closePath()),gi(t,e.options),t.stroke(i)}(t,e,n,r):function(t,e,n,r){const{segments:i,options:o}=e,a=xi(e);for(const s of i)gi(t,o,s.style),t.beginPath(),a(t,e,s,{start:n,end:n+r-1})&&t.closePath(),t.stroke()}(t,e,n,r)}class Ci extends Dr{static id="line";static defaults={borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderWidth:3,capBezierPoints:!0,cubicInterpolationMode:"default",fill:!1,spanGaps:!1,stepped:!1,tension:0};static defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};static descriptors={_scriptable:!0,_indexable:t=>"borderDash"!==t&&"fill"!==t};constructor(t){super(),this.animated=!0,this.options=void 0,this._chart=void 0,this._loop=void 0,this._fullLoop=void 0,this._path=void 0,this._points=void 0,this._segments=void 0,this._decimated=!1,this._pointsUpdated=!1,this._datasetIndex=void 0,t&&Object.assign(this,t)}updateControlPoints(t,e){const n=this.options;if((n.tension||"monotone"===n.cubicInterpolationMode)&&!n.stepped&&!this._pointsUpdated){const r=n.spanGaps?this._loop:this._fullLoop;Je(this._points,n,t,r,e),this._pointsUpdated=!0}}set points(t){this._points=t,delete this._segments,delete this._path,this._pointsUpdated=!1}get points(){return this._points}get segments(){return this._segments||(this._segments=function(t,e){const n=t.points,r=t.options.spanGaps,i=n.length;if(!i)return[];const o=!!t._loop,{start:a,end:s}=function(t,e,n,r){let i=0,o=e-1;if(n&&!r)for(;i<e&&!t[i].skip;)i++;for(;i<e&&t[i].skip;)i++;for(i%=e,n&&(o+=i);o>i&&t[o%e].skip;)o--;return o%=e,{start:i,end:o}}(n,i,o,r);return On(t,!0===r?[{start:a,end:s,loop:o}]:function(t,e,n,r){const i=t.length,o=[];let a,s=e,c=t[e];for(a=e+1;a<=n;++a){const n=t[a%i];n.skip||n.stop?c.skip||(r=!1,o.push({start:e%i,end:(a-1)%i,loop:r}),e=s=n.stop?a:null):(s=a,c.skip&&(e=a)),c=n}return null!==s&&o.push({start:e%i,end:s%i,loop:r}),o}(n,a,s<a?s+i:s,!!t._fullLoop&&0===a&&s===i-1),n,e)}(this,this.options.segment))}first(){const t=this.segments,e=this.points;return t.length&&e[t[0].start]}last(){const t=this.segments,e=this.points,n=t.length;return n&&e[t[n-1].end]}interpolate(t,e){const n=this.options,r=t[e],i=this.points,o=kn(this,{property:e,start:r,end:r});if(!o.length)return;const a=[],s=function(t){return t.stepped?mn:t.tension||"monotone"===t.cubicInterpolationMode?vn:pn}(n);let c,l;for(c=0,l=o.length;c<l;++c){const{start:l,end:u}=o[c],f=i[l],h=i[u];if(f===h){a.push(f);continue}const d=s(f,h,Math.abs((r-f[e])/(h[e]-f[e])),n.stepped);d[e]=t[e],a.push(d)}return 1===a.length?a[0]:a}pathSegment(t,e,n){return xi(this)(t,this,e,n)}path(t,e,n){const r=this.segments,i=xi(this);let o=this._loop;e=e||0,n=n||this.points.length-e;for(const a of r)o&=i(t,this,a,{start:e,end:e+n-1});return!!o}draw(t,e,n,r){const i=this.options||{};(this.points||[]).length&&i.borderWidth&&(t.save(),Oi(t,this,n,r),t.restore()),this.animated&&(this._pointsUpdated=!1,this._path=void 0)}}function Si(t,e,n,r){const i=t.options,{[n]:o}=t.getProps([n],r);return Math.abs(e-o)<i.radius+i.hitRadius}class Ei extends Dr{static id="point";static defaults={borderWidth:1,hitRadius:1,hoverBorderWidth:1,hoverRadius:4,pointStyle:"circle",radius:3,rotation:0};static defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};constructor(t){super(),this.options=void 0,this.parsed=void 0,this.skip=void 0,this.stop=void 0,t&&Object.assign(this,t)}inRange(t,e,n){const r=this.options,{x:i,y:o}=this.getProps(["x","y"],n);return Math.pow(t-i,2)+Math.pow(e-o,2)<Math.pow(r.hitRadius+r.radius,2)}inXRange(t,e){return Si(this,t,"x",e)}inYRange(t,e){return Si(this,t,"y",e)}getCenterPoint(t){const{x:e,y:n}=this.getProps(["x","y"],t);return{x:e,y:n}}size(t){let e=(t=t||this.options||{}).radius||0;e=Math.max(e,e&&t.hoverRadius||0);return 2*(e+(e&&t.borderWidth||0))}draw(t,e){const n=this.options;this.skip||n.radius<.1||!pe(this,e,this.size(n)/2)||(t.strokeStyle=n.borderColor,t.lineWidth=n.borderWidth,t.fillStyle=n.backgroundColor,he(t,n,this.x,this.y))}getRange(){const t=this.options||{};return t.radius+t.hitRadius}}function Ti(t,e,n,r){if(r)return;let i=e[t],o=n[t];return"angle"===t&&(i=Z(i),o=Z(o)),{property:t,start:i,end:o}}function Pi(t,e,n){for(;e>t;e--){const t=n[e];if(!isNaN(t.x)&&!isNaN(t.y))break}return e}function Ai(t,e,n,r){return t&&e?r(t[n],e[n]):t?t[n]:e?e[n]:0}function ji(t,e){let n=[],r=!1;return a(t)?(r=!0,n=t):n=function(t,e){const{x:n=null,y:r=null}=t||{},i=e.points,o=[];return e.segments.forEach((({start:t,end:e})=>{e=Pi(t,e,i);const a=i[t],s=i[e];null!==r?(o.push({x:a.x,y:r}),o.push({x:s.x,y:r})):null!==n&&(o.push({x:n,y:a.y}),o.push({x:n,y:s.y}))})),o}(t,e),n.length?new Ci({points:n,options:{tension:0},_loop:r,_fullLoop:r}):null}function Di(t){return t&&!1!==t.fill}function Mi(t,e,n){let r=t[e].fill;const i=[e];let o;if(!n)return r;for(;!1!==r&&-1===i.indexOf(r);){if(!c(r))return r;if(o=t[r],!o)return!1;if(o.visible)return r;i.push(r),r=o.fill}return!1}function Ri(t,e,n){const r=function(t){const e=t.options,n=e.fill;let r=u(n&&n.target,n);void 0===r&&(r=!!e.backgroundColor);if(!1===r||null===r)return!1;if(!0===r)return"origin";return r}(t);if(s(r))return!isNaN(r.value)&&r;let i=parseFloat(r);return c(i)&&Math.floor(i)===i?function(t,e,n,r){"-"!==t&&"+"!==t||(n=e+n);if(n===e||n<0||n>=r)return!1;return n}(r[0],e,i,n):["origin","start","end","stack","shape"].indexOf(r)>=0&&r}function Ii(t,e,n){const r=[];for(let i=0;i<n.length;i++){const o=n[i],{first:a,last:s,point:c}=Ni(o,e,"x");if(!(!c||a&&s))if(a)r.unshift(c);else if(t.push(c),!s)break}t.push(...r)}function Ni(t,e,n){const r=t.interpolate(e,n);if(!r)return{};const i=r[n],o=t.segments,a=t.points;let s=!1,c=!1;for(let t=0;t<o.length;t++){const e=o[t],r=a[e.start][n],l=a[e.end][n];if(K(i,r,l)){s=i===r,c=i===l;break}}return{first:s,last:c,point:r}}class Li{constructor(t){this.x=t.x,this.y=t.y,this.radius=t.radius}pathSegment(t,e,n){const{x:r,y:i,radius:o}=this;return e=e||{start:0,end:T},t.arc(r,i,o,e.end,e.start,!0),!n.bounds}interpolate(t){const{x:e,y:n,radius:r}=this,i=t.angle;return{x:e+Math.cos(i)*r,y:n+Math.sin(i)*r,angle:i}}}function $i(t){const{chart:e,fill:n,line:r}=t;if(c(n))return function(t,e){const n=t.getDatasetMeta(e),r=n&&t.isDatasetVisible(e);return r?n.dataset:null}(e,n);if("stack"===n)return function(t){const{scale:e,index:n,line:r}=t,i=[],o=r.segments,a=r.points,s=function(t,e){const n=[],r=t.getMatchingVisibleMetas("line");for(let t=0;t<r.length;t++){const i=r[t];if(i.index===e)break;i.hidden||n.unshift(i.dataset)}return n}(e,n);s.push(ji({x:null,y:e.bottom},r));for(let t=0;t<o.length;t++){const e=o[t];for(let t=e.start;t<=e.end;t++)Ii(i,a[t],s)}return new Ci({points:i,options:{}})}(t);if("shape"===n)return!0;const i=function(t){const e=t.scale||{};if(e.getPointPositionForValue)return function(t){const{scale:e,fill:n}=t,r=e.options,i=e.getLabels().length,o=r.reverse?e.max:e.min,a=function(t,e,n){let r;return r="start"===t?n:"end"===t?e.options.reverse?e.min:e.max:s(t)?t.value:e.getBaseValue(),r}(n,e,o),c=[];if(r.grid.circular){const t=e.getPointPositionForValue(0,o);return new Li({x:t.x,y:t.y,radius:e.getDistanceFromCenterForValue(a)})}for(let t=0;t<i;++t)c.push(e.getPointPositionForValue(t,a));return c}(t);return function(t){const{scale:e={},fill:n}=t,r=function(t,e){let n=null;return"start"===t?n=e.bottom:"end"===t?n=e.top:s(t)?n=e.getPixelForValue(t.value):e.getBasePixel&&(n=e.getBasePixel()),n}(n,e);if(c(r)){const t=e.isHorizontal();return{x:t?r:null,y:t?null:r}}return null}(t)}(t);return i instanceof Li?i:ji(i,r)}function Fi(t,e,n){const r=$i(e),{line:i,scale:o,axis:a}=e,s=i.options,c=s.fill,l=s.backgroundColor,{above:u=l,below:f=l}=c||{};r&&i.points.length&&(me(t,n),function(t,e){const{line:n,target:r,above:i,below:o,area:a,scale:s}=e,c=n._loop?"angle":e.axis;t.save(),"x"===c&&o!==i&&(Bi(t,r,a.top),zi(t,{line:n,target:r,color:i,scale:s,property:c}),t.restore(),t.save(),Bi(t,r,a.bottom));zi(t,{line:n,target:r,color:o,scale:s,property:c}),t.restore()}(t,{line:i,target:r,above:u,below:f,area:n,scale:o,axis:a}),ve(t))}function Bi(t,e,n){const{segments:r,points:i}=e;let o=!0,a=!1;t.beginPath();for(const s of r){const{start:r,end:c}=s,l=i[r],u=i[Pi(r,c,i)];o?(t.moveTo(l.x,l.y),o=!1):(t.lineTo(l.x,n),t.lineTo(l.x,l.y)),a=!!e.pathSegment(t,s,{move:a}),a?t.closePath():t.lineTo(u.x,n)}t.lineTo(e.first().x,n),t.closePath(),t.clip()}function zi(t,e){const{line:n,target:r,property:i,color:o,scale:a}=e,s=function(t,e,n){const r=t.segments,i=t.points,o=e.points,a=[];for(const t of r){let{start:r,end:s}=t;s=Pi(r,s,i);const c=Ti(n,i[r],i[s],t.loop);if(!e.segments){a.push({source:t,target:c,start:i[r],end:i[s]});continue}const l=kn(e,c);for(const e of l){const r=Ti(n,o[e.start],o[e.end],e.loop),s=xn(t,i,r);for(const t of s)a.push({source:t,target:e,start:{[n]:Ai(c,r,"start",Math.max)},end:{[n]:Ai(c,r,"end",Math.min)}})}}return a}(n,r,i);for(const{source:e,target:c,start:l,end:u}of s){const{style:{backgroundColor:s=o}={}}=e,f=!0!==r;t.save(),t.fillStyle=s,Hi(t,a,f&&Ti(i,l,u)),t.beginPath();const h=!!n.pathSegment(t,e);let d;if(f){h?t.closePath():Ui(t,r,u,i);const e=!!r.pathSegment(t,c,{move:h,reverse:!0});d=h&&e,d||Ui(t,r,l,i)}t.closePath(),t.fill(d?"evenodd":"nonzero"),t.restore()}}function Hi(t,e,n){const{top:r,bottom:i}=e.chart.chartArea,{property:o,start:a,end:s}=n||{};"x"===o&&(t.beginPath(),t.rect(a,r,s-a,i-r),t.clip())}function Ui(t,e,n,r){const i=e.interpolate(n,r);i&&t.lineTo(i.x,i.y)}var qi={id:"filler",afterDatasetsUpdate(t,e,n){const r=(t.data.datasets||[]).length,i=[];let o,a,s,c;for(a=0;a<r;++a)o=t.getDatasetMeta(a),s=o.dataset,c=null,s&&s.options&&s instanceof Ci&&(c={visible:t.isDatasetVisible(a),index:a,fill:Ri(s,a,r),chart:t,axis:o.controller.options.indexAxis,scale:o.vScale,line:s}),o.$filler=c,i.push(c);for(a=0;a<r;++a)c=i[a],c&&!1!==c.fill&&(c.fill=Mi(i,a,n.propagate))},beforeDraw(t,e,n){const r="beforeDraw"===n.drawTime,i=t.getSortedVisibleDatasetMetas(),o=t.chartArea;for(let e=i.length-1;e>=0;--e){const n=i[e].$filler;n&&(n.line.updateControlPoints(o,n.axis),r&&n.fill&&Fi(t.ctx,n,o))}},beforeDatasetsDraw(t,e,n){if("beforeDatasetsDraw"!==n.drawTime)return;const r=t.getSortedVisibleDatasetMetas();for(let e=r.length-1;e>=0;--e){const n=r[e].$filler;Di(n)&&Fi(t.ctx,n,t.chartArea)}},beforeDatasetDraw(t,e,n){const r=e.meta.$filler;Di(r)&&"beforeDatasetDraw"===n.drawTime&&Fi(t.ctx,r,t.chartArea)},defaults:{propagate:!0,drawTime:"beforeDatasetDraw"}};const Wi=(t,e)=>{let{boxHeight:n=e,boxWidth:r=e}=t;return t.usePointStyle&&(n=Math.min(n,e),r=t.pointStyleWidth||Math.min(r,e)),{boxWidth:r,boxHeight:n,itemHeight:Math.max(e,n)}};class Vi extends Dr{constructor(t){super(),this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=t.chart,this.options=t.options,this.ctx=t.ctx,this.legendItems=void 0,this.columnSizes=void 0,this.lineWidths=void 0,this.maxHeight=void 0,this.maxWidth=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.height=void 0,this.width=void 0,this._margins=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(t,e,n){this.maxWidth=t,this.maxHeight=e,this._margins=n,this.setDimensions(),this.buildLabels(),this.fit()}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=this._margins.left,this.right=this.width):(this.height=this.maxHeight,this.top=this._margins.top,this.bottom=this.height)}buildLabels(){const t=this.options.labels||{};let e=h(t.generateLabels,[this.chart],this)||[];t.filter&&(e=e.filter((e=>t.filter(e,this.chart.data)))),t.sort&&(e=e.sort(((e,n)=>t.sort(e,n,this.chart.data)))),this.options.reverse&&e.reverse(),this.legendItems=e}fit(){const{options:t,ctx:e}=this;if(!t.display)return void(this.width=this.height=0);const n=t.labels,r=je(n.font),i=r.size,o=this._computeTitleHeight(),{boxWidth:a,itemHeight:s}=Wi(n,i);let c,l;e.font=r.string,this.isHorizontal()?(c=this.maxWidth,l=this._fitRows(o,i,a,s)+10):(l=this.maxHeight,c=this._fitCols(o,r,a,s)+10),this.width=Math.min(c,t.maxWidth||this.maxWidth),this.height=Math.min(l,t.maxHeight||this.maxHeight)}_fitRows(t,e,n,r){const{ctx:i,maxWidth:o,options:{labels:{padding:a}}}=this,s=this.legendHitBoxes=[],c=this.lineWidths=[0],l=r+a;let u=t;i.textAlign="left",i.textBaseline="middle";let f=-1,h=-l;return this.legendItems.forEach(((t,d)=>{const p=n+e/2+i.measureText(t.text).width;(0===d||c[c.length-1]+p+2*a>o)&&(u+=l,c[c.length-(d>0?0:1)]=0,h+=l,f++),s[d]={left:0,top:h,row:f,width:p,height:r},c[c.length-1]+=p+a})),u}_fitCols(t,e,n,r){const{ctx:i,maxHeight:o,options:{labels:{padding:a}}}=this,s=this.legendHitBoxes=[],c=this.columnSizes=[],l=o-t;let u=a,f=0,h=0,d=0,p=0;return this.legendItems.forEach(((t,o)=>{const{itemWidth:m,itemHeight:v}=function(t,e,n,r,i){const o=function(t,e,n,r){let i=t.text;i&&"string"!=typeof i&&(i=i.reduce(((t,e)=>t.length>e.length?t:e)));return e+n.size/2+r.measureText(i).width}(r,t,e,n),a=function(t,e,n){let r=t;"string"!=typeof e.text&&(r=Zi(e,n));return r}(i,r,e.lineHeight);return{itemWidth:o,itemHeight:a}}(n,e,i,t,r);o>0&&h+v+2*a>l&&(u+=f+a,c.push({width:f,height:h}),d+=f+a,p++,f=h=0),s[o]={left:d,top:h,col:p,width:m,height:v},f=Math.max(f,m),h+=v+a})),u+=f,c.push({width:f,height:h}),u}adjustHitBoxes(){if(!this.options.display)return;const t=this._computeTitleHeight(),{legendHitBoxes:e,options:{align:n,labels:{padding:r},rtl:i}}=this,o=gn(i,this.left,this.width);if(this.isHorizontal()){let i=0,a=at(n,this.left+r,this.right-this.lineWidths[i]);for(const s of e)i!==s.row&&(i=s.row,a=at(n,this.left+r,this.right-this.lineWidths[i])),s.top+=this.top+t+r,s.left=o.leftForLtr(o.x(a),s.width),a+=s.width+r}else{let i=0,a=at(n,this.top+t+r,this.bottom-this.columnSizes[i].height);for(const s of e)s.col!==i&&(i=s.col,a=at(n,this.top+t+r,this.bottom-this.columnSizes[i].height)),s.top=a,s.left+=this.left+r,s.left=o.leftForLtr(o.x(s.left),s.width),a+=s.height+r}}isHorizontal(){return"top"===this.options.position||"bottom"===this.options.position}draw(){if(this.options.display){const t=this.ctx;me(t,this),this._draw(),ve(t)}}_draw(){const{options:t,columnSizes:e,lineWidths:n,ctx:r}=this,{align:i,labels:o}=t,a=ce.color,s=gn(t.rtl,this.left,this.width),c=je(o.font),{padding:l}=o,f=c.size,h=f/2;let d;this.drawTitle(),r.textAlign=s.textAlign("left"),r.textBaseline="middle",r.lineWidth=.5,r.font=c.string;const{boxWidth:p,boxHeight:m,itemHeight:v}=Wi(o,f),g=this.isHorizontal(),y=this._computeTitleHeight();d=g?{x:at(i,this.left+l,this.right-n[0]),y:this.top+l+y,line:0}:{x:this.left+l,y:at(i,this.top+y+l,this.bottom-e[0].height),line:0},yn(this.ctx,t.textDirection);const b=v+l;this.legendItems.forEach(((w,_)=>{r.strokeStyle=w.fontColor,r.fillStyle=w.fontColor;const x=r.measureText(w.text).width,k=s.textAlign(w.textAlign||(w.textAlign=o.textAlign)),O=p+h+x;let C=d.x,S=d.y;s.setWidth(this.width),g?_>0&&C+O+l>this.right&&(S=d.y+=b,d.line++,C=d.x=at(i,this.left+l,this.right-n[d.line])):_>0&&S+b>this.bottom&&(C=d.x=C+e[d.line].width+l,d.line++,S=d.y=at(i,this.top+y+l,this.bottom-e[d.line].height));if(function(t,e,n){if(isNaN(p)||p<=0||isNaN(m)||m<0)return;r.save();const i=u(n.lineWidth,1);if(r.fillStyle=u(n.fillStyle,a),r.lineCap=u(n.lineCap,"butt"),r.lineDashOffset=u(n.lineDashOffset,0),r.lineJoin=u(n.lineJoin,"miter"),r.lineWidth=i,r.strokeStyle=u(n.strokeStyle,a),r.setLineDash(u(n.lineDash,[])),o.usePointStyle){const a={radius:m*Math.SQRT2/2,pointStyle:n.pointStyle,rotation:n.rotation,borderWidth:i},c=s.xPlus(t,p/2);de(r,a,c,e+h,o.pointStyleWidth&&p)}else{const o=e+Math.max((f-m)/2,0),a=s.leftForLtr(t,p),c=Pe(n.borderRadius);r.beginPath(),Object.values(c).some((t=>0!==t))?xe(r,{x:a,y:o,w:p,h:m,radius:c}):r.rect(a,o,p,m),r.fill(),0!==i&&r.stroke()}r.restore()}(s.x(C),S,w),C=((t,e,n,r)=>t===(r?"left":"right")?n:"center"===t?(e+n)/2:e)(k,C+p+h,g?C+O:this.right,t.rtl),function(t,e,n){be(r,n.text,t,e+v/2,c,{strikethrough:n.hidden,textAlign:s.textAlign(n.textAlign)})}(s.x(C),S,w),g)d.x+=O+l;else if("string"!=typeof w.text){const t=c.lineHeight;d.y+=Zi(w,t)}else d.y+=b})),bn(this.ctx,t.textDirection)}drawTitle(){const t=this.options,e=t.title,n=je(e.font),r=Ae(e.padding);if(!e.display)return;const i=gn(t.rtl,this.left,this.width),o=this.ctx,a=e.position,s=n.size/2,c=r.top+s;let l,u=this.left,f=this.width;if(this.isHorizontal())f=Math.max(...this.lineWidths),l=this.top+c,u=at(t.align,u,this.right-f);else{const e=this.columnSizes.reduce(((t,e)=>Math.max(t,e.height)),0);l=c+at(t.align,this.top,this.bottom-e-t.labels.padding-this._computeTitleHeight())}const h=at(a,u,u+f);o.textAlign=i.textAlign(ot(a)),o.textBaseline="middle",o.strokeStyle=e.color,o.fillStyle=e.color,o.font=n.string,be(o,e.text,h,l,n)}_computeTitleHeight(){const t=this.options.title,e=je(t.font),n=Ae(t.padding);return t.display?e.lineHeight+n.height:0}_getLegendItemAt(t,e){let n,r,i;if(K(t,this.left,this.right)&&K(e,this.top,this.bottom))for(i=this.legendHitBoxes,n=0;n<i.length;++n)if(r=i[n],K(t,r.left,r.left+r.width)&&K(e,r.top,r.top+r.height))return this.legendItems[n];return null}handleEvent(t){const e=this.options;if(!function(t,e){if(("mousemove"===t||"mouseout"===t)&&(e.onHover||e.onLeave))return!0;if(e.onClick&&("click"===t||"mouseup"===t))return!0;return!1}(t.type,e))return;const n=this._getLegendItemAt(t.x,t.y);if("mousemove"===t.type||"mouseout"===t.type){const r=this._hoveredItem,i=((t,e)=>null!==t&&null!==e&&t.datasetIndex===e.datasetIndex&&t.index===e.index)(r,n);r&&!i&&h(e.onLeave,[t,r,this],this),this._hoveredItem=n,n&&!i&&h(e.onHover,[t,n,this],this)}else n&&h(e.onClick,[t,n,this],this)}}function Zi(t,e){return e*(t.text?t.text.length+.5:0)}var Yi={id:"legend",_element:Vi,start(t,e,n){const r=t.legend=new Vi({ctx:t.ctx,options:n,chart:t});pr.configure(t,r,n),pr.addBox(t,r)},stop(t){pr.removeBox(t,t.legend),delete t.legend},beforeUpdate(t,e,n){const r=t.legend;pr.configure(t,r,n),r.options=n},afterUpdate(t){const e=t.legend;e.buildLabels(),e.adjustHitBoxes()},afterEvent(t,e){e.replay||t.legend.handleEvent(e.event)},defaults:{display:!0,position:"top",align:"center",fullSize:!0,reverse:!1,weight:1e3,onClick(t,e,n){const r=e.datasetIndex,i=n.chart;i.isDatasetVisible(r)?(i.hide(r),e.hidden=!0):(i.show(r),e.hidden=!1)},onHover:null,onLeave:null,labels:{color:t=>t.chart.options.color,boxWidth:40,padding:10,generateLabels(t){const e=t.data.datasets,{labels:{usePointStyle:n,pointStyle:r,textAlign:i,color:o,useBorderRadius:a,borderRadius:s}}=t.legend.options;return t._getSortedDatasetMetas().map((t=>{const c=t.controller.getStyle(n?0:void 0),l=Ae(c.borderWidth);return{text:e[t.index].label,fillStyle:c.backgroundColor,fontColor:o,hidden:!t.visible,lineCap:c.borderCapStyle,lineDash:c.borderDash,lineDashOffset:c.borderDashOffset,lineJoin:c.borderJoinStyle,lineWidth:(l.width+l.height)/4,strokeStyle:c.borderColor,pointStyle:r||c.pointStyle,rotation:c.rotation,textAlign:i||c.textAlign,borderRadius:a&&(s||c.borderRadius),datasetIndex:t.index}}),this)}},title:{color:t=>t.chart.options.color,display:!1,position:"center",text:""}},descriptors:{_scriptable:t=>!t.startsWith("on"),labels:{_scriptable:t=>!["generateLabels","filter","sort"].includes(t)}}};class Xi extends Dr{constructor(t){super(),this.chart=t.chart,this.options=t.options,this.ctx=t.ctx,this._padding=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(t,e){const n=this.options;if(this.left=0,this.top=0,!n.display)return void(this.width=this.height=this.right=this.bottom=0);this.width=this.right=t,this.height=this.bottom=e;const r=a(n.text)?n.text.length:1;this._padding=Ae(n.padding);const i=r*je(n.font).lineHeight+this._padding.height;this.isHorizontal()?this.height=i:this.width=i}isHorizontal(){const t=this.options.position;return"top"===t||"bottom"===t}_drawArgs(t){const{top:e,left:n,bottom:r,right:i,options:o}=this,a=o.align;let s,c,l,u=0;return this.isHorizontal()?(c=at(a,n,i),l=e+t,s=i-n):("left"===o.position?(c=n+t,l=at(a,r,e),u=-.5*E):(c=i-t,l=at(a,e,r),u=.5*E),s=r-e),{titleX:c,titleY:l,maxWidth:s,rotation:u}}draw(){const t=this.ctx,e=this.options;if(!e.display)return;const n=je(e.font),r=n.lineHeight/2+this._padding.top,{titleX:i,titleY:o,maxWidth:a,rotation:s}=this._drawArgs(r);be(t,e.text,0,0,n,{color:e.color,maxWidth:a,rotation:s,textAlign:ot(e.align),textBaseline:"middle",translation:[i,o]})}}var Ki={id:"title",_element:Xi,start(t,e,n){!function(t,e){const n=new Xi({ctx:t.ctx,options:e,chart:t});pr.configure(t,n,e),pr.addBox(t,n),t.titleBlock=n}(t,n)},stop(t){const e=t.titleBlock;pr.removeBox(t,e),delete t.titleBlock},beforeUpdate(t,e,n){const r=t.titleBlock;pr.configure(t,r,n),r.options=n},defaults:{align:"center",display:!1,font:{weight:"bold"},fullSize:!0,padding:10,position:"top",text:"",weight:2e3},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};new WeakMap;const Gi={average(t){if(!t.length)return!1;let e,n,r=0,i=0,o=0;for(e=0,n=t.length;e<n;++e){const n=t[e].element;if(n&&n.hasValue()){const t=n.tooltipPosition();r+=t.x,i+=t.y,++o}}return{x:r/o,y:i/o}},nearest(t,e){if(!t.length)return!1;let n,r,i,o=e.x,a=e.y,s=Number.POSITIVE_INFINITY;for(n=0,r=t.length;n<r;++n){const r=t[n].element;if(r&&r.hasValue()){const t=W(e,r.getCenterPoint());t<s&&(s=t,i=r)}}if(i){const t=i.tooltipPosition();o=t.x,a=t.y}return{x:o,y:a}}};function Qi(t,e){return e&&(a(e)?Array.prototype.push.apply(t,e):t.push(e)),t}function Ji(t){return("string"==typeof t||t instanceof String)&&t.indexOf("\n")>-1?t.split("\n"):t}function to(t,e){const{element:n,datasetIndex:r,index:i}=e,o=t.getDatasetMeta(r).controller,{label:a,value:s}=o.getLabelAndValue(i);return{chart:t,label:a,parsed:o.getParsed(i),raw:t.data.datasets[r].data[i],formattedValue:s,dataset:o.getDataset(),dataIndex:i,datasetIndex:r,element:n}}function eo(t,e){const n=t.chart.ctx,{body:r,footer:i,title:o}=t,{boxWidth:a,boxHeight:s}=e,c=je(e.bodyFont),l=je(e.titleFont),u=je(e.footerFont),f=o.length,h=i.length,p=r.length,m=Ae(e.padding);let v=m.height,g=0,y=r.reduce(((t,e)=>t+e.before.length+e.lines.length+e.after.length),0);if(y+=t.beforeBody.length+t.afterBody.length,f&&(v+=f*l.lineHeight+(f-1)*e.titleSpacing+e.titleMarginBottom),y){v+=p*(e.displayColors?Math.max(s,c.lineHeight):c.lineHeight)+(y-p)*c.lineHeight+(y-1)*e.bodySpacing}h&&(v+=e.footerMarginTop+h*u.lineHeight+(h-1)*e.footerSpacing);let b=0;const w=function(t){g=Math.max(g,n.measureText(t).width+b)};return n.save(),n.font=l.string,d(t.title,w),n.font=c.string,d(t.beforeBody.concat(t.afterBody),w),b=e.displayColors?a+2+e.boxPadding:0,d(r,(t=>{d(t.before,w),d(t.lines,w),d(t.after,w)})),b=0,n.font=u.string,d(t.footer,w),n.restore(),g+=m.width,{width:g,height:v}}function no(t,e,n,r){const{x:i,width:o}=n,{width:a,chartArea:{left:s,right:c}}=t;let l="center";return"center"===r?l=i<=(s+c)/2?"left":"right":i<=o/2?l="left":i>=a-o/2&&(l="right"),function(t,e,n,r){const{x:i,width:o}=r,a=n.caretSize+n.caretPadding;return"left"===t&&i+o+a>e.width||"right"===t&&i-o-a<0||void 0}(l,t,e,n)&&(l="center"),l}function ro(t,e,n){const r=n.yAlign||e.yAlign||function(t,e){const{y:n,height:r}=e;return n<r/2?"top":n>t.height-r/2?"bottom":"center"}(t,n);return{xAlign:n.xAlign||e.xAlign||no(t,e,n,r),yAlign:r}}function io(t,e,n,r){const{caretSize:i,caretPadding:o,cornerRadius:a}=t,{xAlign:s,yAlign:c}=n,l=i+o,{topLeft:u,topRight:f,bottomLeft:h,bottomRight:d}=Pe(a);let p=function(t,e){let{x:n,width:r}=t;return"right"===e?n-=r:"center"===e&&(n-=r/2),n}(e,s);const m=function(t,e,n){let{y:r,height:i}=t;return"top"===e?r+=n:r-="bottom"===e?i+n:i/2,r}(e,c,l);return"center"===c?"left"===s?p+=l:"right"===s&&(p-=l):"left"===s?p-=Math.max(u,h)+i:"right"===s&&(p+=Math.max(f,d)+i),{x:X(p,0,r.width-e.width),y:X(m,0,r.height-e.height)}}function oo(t,e,n){const r=Ae(n.padding);return"center"===e?t.x+t.width/2:"right"===e?t.x+t.width-r.right:t.x+r.left}function ao(t){return Qi([],Ji(t))}function so(t,e){const n=e&&e.dataset&&e.dataset.tooltip&&e.dataset.tooltip.callbacks;return n?t.override(n):t}const co={beforeTitle:r,title(t){if(t.length>0){const e=t[0],n=e.chart.data.labels,r=n?n.length:0;if(this&&this.options&&"dataset"===this.options.mode)return e.dataset.label||"";if(e.label)return e.label;if(r>0&&e.dataIndex<r)return n[e.dataIndex]}return""},afterTitle:r,beforeBody:r,beforeLabel:r,label(t){if(this&&this.options&&"dataset"===this.options.mode)return t.label+": "+t.formattedValue||t.formattedValue;let e=t.dataset.label||"";e&&(e+=": ");const n=t.formattedValue;return o(n)||(e+=n),e},labelColor(t){const e=t.chart.getDatasetMeta(t.datasetIndex).controller.getStyle(t.dataIndex);return{borderColor:e.borderColor,backgroundColor:e.backgroundColor,borderWidth:e.borderWidth,borderDash:e.borderDash,borderDashOffset:e.borderDashOffset,borderRadius:0}},labelTextColor(){return this.options.bodyColor},labelPointStyle(t){const e=t.chart.getDatasetMeta(t.datasetIndex).controller.getStyle(t.dataIndex);return{pointStyle:e.pointStyle,rotation:e.rotation}},afterLabel:r,afterBody:r,beforeFooter:r,footer:r,afterFooter:r};function lo(t,e,n,r){const i=t[e].call(n,r);return void 0===i?co[e].call(n,r):i}class uo extends Dr{static positioners=Gi;constructor(t){super(),this.opacity=0,this._active=[],this._eventPosition=void 0,this._size=void 0,this._cachedAnimations=void 0,this._tooltipItems=[],this.$animations=void 0,this.$context=void 0,this.chart=t.chart,this.options=t.options,this.dataPoints=void 0,this.title=void 0,this.beforeBody=void 0,this.body=void 0,this.afterBody=void 0,this.footer=void 0,this.xAlign=void 0,this.yAlign=void 0,this.x=void 0,this.y=void 0,this.height=void 0,this.width=void 0,this.caretX=void 0,this.caretY=void 0,this.labelColors=void 0,this.labelPointStyles=void 0,this.labelTextColors=void 0}initialize(t){this.options=t,this._cachedAnimations=void 0,this.$context=void 0}_resolveAnimations(){const t=this._cachedAnimations;if(t)return t;const e=this.chart,n=this.options.setContext(this.getContext()),r=n.enabled&&e.options.animation&&n.animations,i=new Dn(this.chart,r);return r._cacheable&&(this._cachedAnimations=Object.freeze(i)),i}getContext(){return this.$context||(this.$context=function(t,e,n){return Me(t,{tooltip:e,tooltipItems:n,type:"tooltip"})}(this.chart.getContext(),this,this._tooltipItems))}getTitle(t,e){const{callbacks:n}=e,r=lo(n,"beforeTitle",this,t),i=lo(n,"title",this,t),o=lo(n,"afterTitle",this,t);let a=[];return a=Qi(a,Ji(r)),a=Qi(a,Ji(i)),a=Qi(a,Ji(o)),a}getBeforeBody(t,e){return ao(lo(e.callbacks,"beforeBody",this,t))}getBody(t,e){const{callbacks:n}=e,r=[];return d(t,(t=>{const e={before:[],lines:[],after:[]},i=so(n,t);Qi(e.before,Ji(lo(i,"beforeLabel",this,t))),Qi(e.lines,lo(i,"label",this,t)),Qi(e.after,Ji(lo(i,"afterLabel",this,t))),r.push(e)})),r}getAfterBody(t,e){return ao(lo(e.callbacks,"afterBody",this,t))}getFooter(t,e){const{callbacks:n}=e,r=lo(n,"beforeFooter",this,t),i=lo(n,"footer",this,t),o=lo(n,"afterFooter",this,t);let a=[];return a=Qi(a,Ji(r)),a=Qi(a,Ji(i)),a=Qi(a,Ji(o)),a}_createItems(t){const e=this._active,n=this.chart.data,r=[],i=[],o=[];let a,s,c=[];for(a=0,s=e.length;a<s;++a)c.push(to(this.chart,e[a]));return t.filter&&(c=c.filter(((e,r,i)=>t.filter(e,r,i,n)))),t.itemSort&&(c=c.sort(((e,r)=>t.itemSort(e,r,n)))),d(c,(e=>{const n=so(t.callbacks,e);r.push(lo(n,"labelColor",this,e)),i.push(lo(n,"labelPointStyle",this,e)),o.push(lo(n,"labelTextColor",this,e))})),this.labelColors=r,this.labelPointStyles=i,this.labelTextColors=o,this.dataPoints=c,c}update(t,e){const n=this.options.setContext(this.getContext()),r=this._active;let i,o=[];if(r.length){const t=Gi[n.position].call(this,r,this._eventPosition);o=this._createItems(n),this.title=this.getTitle(o,n),this.beforeBody=this.getBeforeBody(o,n),this.body=this.getBody(o,n),this.afterBody=this.getAfterBody(o,n),this.footer=this.getFooter(o,n);const e=this._size=eo(this,n),a=Object.assign({},t,e),s=ro(this.chart,n,a),c=io(n,a,s,this.chart);this.xAlign=s.xAlign,this.yAlign=s.yAlign,i={opacity:1,x:c.x,y:c.y,width:e.width,height:e.height,caretX:t.x,caretY:t.y}}else 0!==this.opacity&&(i={opacity:0});this._tooltipItems=o,this.$context=void 0,i&&this._resolveAnimations().update(this,i),t&&n.external&&n.external.call(this,{chart:this.chart,tooltip:this,replay:e})}drawCaret(t,e,n,r){const i=this.getCaretPosition(t,n,r);e.lineTo(i.x1,i.y1),e.lineTo(i.x2,i.y2),e.lineTo(i.x3,i.y3)}getCaretPosition(t,e,n){const{xAlign:r,yAlign:i}=this,{caretSize:o,cornerRadius:a}=n,{topLeft:s,topRight:c,bottomLeft:l,bottomRight:u}=Pe(a),{x:f,y:h}=t,{width:d,height:p}=e;let m,v,g,y,b,w;return"center"===i?(b=h+p/2,"left"===r?(m=f,v=m-o,y=b+o,w=b-o):(m=f+d,v=m+o,y=b-o,w=b+o),g=m):(v="left"===r?f+Math.max(s,l)+o:"right"===r?f+d-Math.max(c,u)-o:this.caretX,"top"===i?(y=h,b=y-o,m=v-o,g=v+o):(y=h+p,b=y+o,m=v+o,g=v-o),w=y),{x1:m,x2:v,x3:g,y1:y,y2:b,y3:w}}drawTitle(t,e,n){const r=this.title,i=r.length;let o,a,s;if(i){const c=gn(n.rtl,this.x,this.width);for(t.x=oo(this,n.titleAlign,n),e.textAlign=c.textAlign(n.titleAlign),e.textBaseline="middle",o=je(n.titleFont),a=n.titleSpacing,e.fillStyle=n.titleColor,e.font=o.string,s=0;s<i;++s)e.fillText(r[s],c.x(t.x),t.y+o.lineHeight/2),t.y+=o.lineHeight+a,s+1===i&&(t.y+=n.titleMarginBottom-a)}}_drawColorBox(t,e,n,r,i){const o=this.labelColors[n],a=this.labelPointStyles[n],{boxHeight:c,boxWidth:l,boxPadding:u}=i,f=je(i.bodyFont),h=oo(this,"left",i),d=r.x(h),p=c<f.lineHeight?(f.lineHeight-c)/2:0,m=e.y+p;if(i.usePointStyle){const e={radius:Math.min(l,c)/2,pointStyle:a.pointStyle,rotation:a.rotation,borderWidth:1},n=r.leftForLtr(d,l)+l/2,s=m+c/2;t.strokeStyle=i.multiKeyBackground,t.fillStyle=i.multiKeyBackground,he(t,e,n,s),t.strokeStyle=o.borderColor,t.fillStyle=o.backgroundColor,he(t,e,n,s)}else{t.lineWidth=s(o.borderWidth)?Math.max(...Object.values(o.borderWidth)):o.borderWidth||1,t.strokeStyle=o.borderColor,t.setLineDash(o.borderDash||[]),t.lineDashOffset=o.borderDashOffset||0;const e=r.leftForLtr(d,l-u),n=r.leftForLtr(r.xPlus(d,1),l-u-2),a=Pe(o.borderRadius);Object.values(a).some((t=>0!==t))?(t.beginPath(),t.fillStyle=i.multiKeyBackground,xe(t,{x:e,y:m,w:l,h:c,radius:a}),t.fill(),t.stroke(),t.fillStyle=o.backgroundColor,t.beginPath(),xe(t,{x:n,y:m+1,w:l-2,h:c-2,radius:a}),t.fill()):(t.fillStyle=i.multiKeyBackground,t.fillRect(e,m,l,c),t.strokeRect(e,m,l,c),t.fillStyle=o.backgroundColor,t.fillRect(n,m+1,l-2,c-2))}t.fillStyle=this.labelTextColors[n]}drawBody(t,e,n){const{body:r}=this,{bodySpacing:i,bodyAlign:o,displayColors:a,boxHeight:s,boxWidth:c,boxPadding:l}=n,u=je(n.bodyFont);let f=u.lineHeight,h=0;const p=gn(n.rtl,this.x,this.width),m=function(n){e.fillText(n,p.x(t.x+h),t.y+f/2),t.y+=f+i},v=p.textAlign(o);let g,y,b,w,_,x,k;for(e.textAlign=o,e.textBaseline="middle",e.font=u.string,t.x=oo(this,v,n),e.fillStyle=n.bodyColor,d(this.beforeBody,m),h=a&&"right"!==v?"center"===o?c/2+l:c+2+l:0,w=0,x=r.length;w<x;++w){for(g=r[w],y=this.labelTextColors[w],e.fillStyle=y,d(g.before,m),b=g.lines,a&&b.length&&(this._drawColorBox(e,t,w,p,n),f=Math.max(u.lineHeight,s)),_=0,k=b.length;_<k;++_)m(b[_]),f=u.lineHeight;d(g.after,m)}h=0,f=u.lineHeight,d(this.afterBody,m),t.y-=i}drawFooter(t,e,n){const r=this.footer,i=r.length;let o,a;if(i){const s=gn(n.rtl,this.x,this.width);for(t.x=oo(this,n.footerAlign,n),t.y+=n.footerMarginTop,e.textAlign=s.textAlign(n.footerAlign),e.textBaseline="middle",o=je(n.footerFont),e.fillStyle=n.footerColor,e.font=o.string,a=0;a<i;++a)e.fillText(r[a],s.x(t.x),t.y+o.lineHeight/2),t.y+=o.lineHeight+n.footerSpacing}}drawBackground(t,e,n,r){const{xAlign:i,yAlign:o}=this,{x:a,y:s}=t,{width:c,height:l}=n,{topLeft:u,topRight:f,bottomLeft:h,bottomRight:d}=Pe(r.cornerRadius);e.fillStyle=r.backgroundColor,e.strokeStyle=r.borderColor,e.lineWidth=r.borderWidth,e.beginPath(),e.moveTo(a+u,s),"top"===o&&this.drawCaret(t,e,n,r),e.lineTo(a+c-f,s),e.quadraticCurveTo(a+c,s,a+c,s+f),"center"===o&&"right"===i&&this.drawCaret(t,e,n,r),e.lineTo(a+c,s+l-d),e.quadraticCurveTo(a+c,s+l,a+c-d,s+l),"bottom"===o&&this.drawCaret(t,e,n,r),e.lineTo(a+h,s+l),e.quadraticCurveTo(a,s+l,a,s+l-h),"center"===o&&"left"===i&&this.drawCaret(t,e,n,r),e.lineTo(a,s+u),e.quadraticCurveTo(a,s,a+u,s),e.closePath(),e.fill(),r.borderWidth>0&&e.stroke()}_updateAnimationTarget(t){const e=this.chart,n=this.$animations,r=n&&n.x,i=n&&n.y;if(r||i){const n=Gi[t.position].call(this,this._active,this._eventPosition);if(!n)return;const o=this._size=eo(this,t),a=Object.assign({},n,this._size),s=ro(e,t,a),c=io(t,a,s,e);r._to===c.x&&i._to===c.y||(this.xAlign=s.xAlign,this.yAlign=s.yAlign,this.width=o.width,this.height=o.height,this.caretX=n.x,this.caretY=n.y,this._resolveAnimations().update(this,c))}}_willRender(){return!!this.opacity}draw(t){const e=this.options.setContext(this.getContext());let n=this.opacity;if(!n)return;this._updateAnimationTarget(e);const r={width:this.width,height:this.height},i={x:this.x,y:this.y};n=Math.abs(n)<.001?0:n;const o=Ae(e.padding),a=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;e.enabled&&a&&(t.save(),t.globalAlpha=n,this.drawBackground(i,t,r,e),yn(t,e.textDirection),i.y+=o.top,this.drawTitle(i,t,e),this.drawBody(i,t,e),this.drawFooter(i,t,e),bn(t,e.textDirection),t.restore())}getActiveElements(){return this._active||[]}setActiveElements(t,e){const n=this._active,r=t.map((({datasetIndex:t,index:e})=>{const n=this.chart.getDatasetMeta(t);if(!n)throw new Error("Cannot find a dataset at index "+t);return{datasetIndex:t,element:n.data[e],index:e}})),i=!p(n,r),o=this._positionChanged(r,e);(i||o)&&(this._active=r,this._eventPosition=e,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(t,e,n=!0){if(e&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;const r=this.options,i=this._active||[],o=this._getActiveElements(t,i,e,n),a=this._positionChanged(o,t),s=e||!p(o,i)||a;return s&&(this._active=o,(r.enabled||r.external)&&(this._eventPosition={x:t.x,y:t.y},this.update(!0,e))),s}_getActiveElements(t,e,n,r){const i=this.options;if("mouseout"===t.type)return[];if(!r)return e;const o=this.chart.getElementsAtEventForMode(t,i.mode,i,n);return i.reverse&&o.reverse(),o}_positionChanged(t,e){const{caretX:n,caretY:r,options:i}=this,o=Gi[i.position].call(this,t,e);return!1!==o&&(n!==o.x||r!==o.y)}}var fo={id:"tooltip",_element:uo,positioners:Gi,afterInit(t,e,n){n&&(t.tooltip=new uo({chart:t,options:n}))},beforeUpdate(t,e,n){t.tooltip&&t.tooltip.initialize(n)},reset(t,e,n){t.tooltip&&t.tooltip.initialize(n)},afterDraw(t){const e=t.tooltip;if(e&&e._willRender()){const n={tooltip:e};if(!1===t.notifyPlugins("beforeTooltipDraw",{...n,cancelable:!0}))return;e.draw(t.ctx),t.notifyPlugins("afterTooltipDraw",n)}},afterEvent(t,e){if(t.tooltip){const n=e.replay;t.tooltip.handleEvent(e.event,n,e.inChartArea)&&(e.changed=!0)}},defaults:{enabled:!0,external:null,position:"average",backgroundColor:"rgba(0,0,0,0.8)",titleColor:"#fff",titleFont:{weight:"bold"},titleSpacing:2,titleMarginBottom:6,titleAlign:"left",bodyColor:"#fff",bodySpacing:2,bodyFont:{},bodyAlign:"left",footerColor:"#fff",footerSpacing:2,footerMarginTop:6,footerFont:{weight:"bold"},footerAlign:"left",padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(t,e)=>e.bodyFont.size,boxWidth:(t,e)=>e.bodyFont.size,multiKeyBackground:"#fff",displayColors:!0,boxPadding:0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:co},defaultRoutes:{bodyFont:"font",footerFont:"font",titleFont:"font"},descriptors:{_scriptable:t=>"filter"!==t&&"itemSort"!==t&&"external"!==t,_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]};function ho(t,e,n,r){const i=t.indexOf(e);if(-1===i)return((t,e,n,r)=>("string"==typeof e?(n=t.push(e)-1,r.unshift({index:n,label:e})):isNaN(e)&&(n=null),n))(t,e,n,r);return i!==t.lastIndexOf(e)?n:i}function po(t){const e=this.getLabels();return t>=0&&t<e.length?e[t]:t}class mo extends zr{static id="category";static defaults={ticks:{callback:po}};constructor(t){super(t),this._startValue=void 0,this._valueRange=0,this._addedLabels=[]}init(t){const e=this._addedLabels;if(e.length){const t=this.getLabels();for(const{index:n,label:r}of e)t[n]===r&&t.splice(n,1);this._addedLabels=[]}super.init(t)}parse(t,e){if(o(t))return null;const n=this.getLabels();return((t,e)=>null===t?null:X(Math.round(t),0,e))(e=isFinite(e)&&n[e]===t?e:ho(n,t,u(e,t),this._addedLabels),n.length-1)}determineDataLimits(){const{minDefined:t,maxDefined:e}=this.getUserBounds();let{min:n,max:r}=this.getMinMax(!0);"ticks"===this.options.bounds&&(t||(n=0),e||(r=this.getLabels().length-1)),this.min=n,this.max=r}buildTicks(){const t=this.min,e=this.max,n=this.options.offset,r=[];let i=this.getLabels();i=0===t&&e===i.length-1?i:i.slice(t,e+1),this._valueRange=Math.max(i.length-(n?0:1),1),this._startValue=this.min-(n?.5:0);for(let n=t;n<=e;n++)r.push({value:n});return r}getLabelForValue(t){return po.call(this,t)}configure(){super.configure(),this.isHorizontal()||(this._reversePixels=!this._reversePixels)}getPixelForValue(t){return"number"!=typeof t&&(t=this.parse(t)),null===t?NaN:this.getPixelForDecimal((t-this._startValue)/this._valueRange)}getPixelForTick(t){const e=this.ticks;return t<0||t>e.length-1?null:this.getPixelForValue(e[t].value)}getValueForPixel(t){return Math.round(this._startValue+this.getDecimalForPixel(t)*this._valueRange)}getBasePixel(){return this.bottom}}function vo(t,e){const n=[],{bounds:r,step:i,min:a,max:s,precision:c,count:l,maxTicks:u,maxDigits:f,includeBounds:h}=t,d=i||1,p=u-1,{min:m,max:v}=e,g=!o(a),y=!o(s),b=!o(l),w=(v-m)/(f+1);let _,x,k,O,C=$((v-m)/p/d)*d;if(C<1e-14&&!g&&!y)return[{value:m},{value:v}];O=Math.ceil(v/C)-Math.floor(m/C),O>p&&(C=$(O*C/p/d)*d),o(c)||(_=Math.pow(10,c),C=Math.ceil(C*_)/_),"ticks"===r?(x=Math.floor(m/C)*C,k=Math.ceil(v/C)*C):(x=m,k=v),g&&y&&i&&function(t,e){const n=Math.round(t);return n-e<=t&&n+e>=t}((s-a)/i,C/1e3)?(O=Math.round(Math.min((s-a)/C,u)),C=(s-a)/O,x=a,k=s):b?(x=g?a:x,k=y?s:k,O=l-1,C=(k-x)/O):(O=(k-x)/C,O=L(O,Math.round(O),C/1e3)?Math.round(O):Math.ceil(O));const S=Math.max(U(C),U(x));_=Math.pow(10,o(c)?S:c),x=Math.round(x*_)/_,k=Math.round(k*_)/_;let E=0;for(g&&(h&&x!==a?(n.push({value:a}),x<a&&E++,L(Math.round((x+E*C)*_)/_,a,go(a,w,t))&&E++):x<a&&E++);E<O;++E)n.push({value:Math.round((x+E*C)*_)/_});return y&&h&&k!==s?n.length&&L(n[n.length-1].value,s,go(s,w,t))?n[n.length-1].value=s:n.push({value:s}):y&&k!==s||n.push({value:k}),n}function go(t,e,{horizontal:n,minRotation:r}){const i=z(r),o=(n?Math.sin(i):Math.cos(i))||.001,a=.75*e*(""+t).length;return Math.min(e/o,a)}class yo extends zr{constructor(t){super(t),this.start=void 0,this.end=void 0,this._startValue=void 0,this._endValue=void 0,this._valueRange=0}parse(t,e){return o(t)||("number"==typeof t||t instanceof Number)&&!isFinite(+t)?null:+t}handleTickRangeOptions(){const{beginAtZero:t}=this.options,{minDefined:e,maxDefined:n}=this.getUserBounds();let{min:r,max:i}=this;const o=t=>r=e?r:t,a=t=>i=n?i:t;if(t){const t=N(r),e=N(i);t<0&&e<0?a(0):t>0&&e>0&&o(0)}if(r===i){let e=0===i?1:Math.abs(.05*i);a(i+e),t||o(r-e)}this.min=r,this.max=i}getTickLimit(){const t=this.options.ticks;let e,{maxTicksLimit:n,stepSize:r}=t;return r?(e=Math.ceil(this.max/r)-Math.floor(this.min/r)+1,e>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${r} would result generating up to ${e} ticks. Limiting to 1000.`),e=1e3)):(e=this.computeTickLimit(),n=n||11),n&&(e=Math.min(n,e)),e}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const t=this.options,e=t.ticks;let n=this.getTickLimit();n=Math.max(2,n);const r=vo({maxTicks:n,bounds:t.bounds,min:t.min,max:t.max,precision:e.precision,step:e.stepSize,count:e.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:e.minRotation||0,includeBounds:!1!==e.includeBounds},this._range||this);return"ticks"===t.bounds&&B(r,this,"value"),t.reverse?(r.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),r}configure(){const t=this.ticks;let e=this.min,n=this.max;if(super.configure(),this.options.offset&&t.length){const r=(n-e)/Math.max(t.length-1,1)/2;e-=r,n+=r}this._startValue=e,this._endValue=n,this._valueRange=n-e}getLabelForValue(t){return te(t,this.chart.options.locale,this.options.ticks.format)}}class bo extends yo{static id="linear";static defaults={ticks:{callback:ne.formatters.numeric}};determineDataLimits(){const{min:t,max:e}=this.getMinMax(!0);this.min=c(t)?t:0,this.max=c(e)?e:1,this.handleTickRangeOptions()}computeTickLimit(){const t=this.isHorizontal(),e=t?this.width:this.height,n=z(this.options.ticks.minRotation),r=(t?Math.sin(n):Math.cos(n))||.001,i=this._resolveTickFontOptions(0);return Math.ceil(e/Math.min(40,i.lineHeight/r))}getPixelForValue(t){return null===t?NaN:this.getPixelForDecimal((t-this._startValue)/this._valueRange)}getValueForPixel(t){return this._startValue+this.getDecimalForPixel(t)*this._valueRange}}ne.formatters.logarithmic;ne.formatters.numeric;const wo={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},_o=Object.keys(wo);function xo(t,e){return t-e}function ko(t,e){if(o(e))return null;const n=t._adapter,{parser:r,round:i,isoWeekday:a}=t._parseOpts;let s=e;return"function"==typeof r&&(s=r(s)),c(s)||(s="string"==typeof r?n.parse(s,r):n.parse(s)),null===s?null:(i&&(s="week"!==i||!F(a)&&!0!==a?n.startOf(s,i):n.startOf(s,"isoWeek",a)),+s)}function Oo(t,e,n,r){const i=_o.length;for(let o=_o.indexOf(t);o<i-1;++o){const t=wo[_o[o]],i=t.steps?t.steps:Number.MAX_SAFE_INTEGER;if(t.common&&Math.ceil((n-e)/(i*t.size))<=r)return _o[o]}return _o[i-1]}function Co(t,e,n){if(n){if(n.length){const{lo:r,hi:i}=G(n,e);t[n[r]>=e?n[r]:n[i]]=!0}}else t[e]=!0}function So(t,e,n){const r=[],i={},o=e.length;let a,s;for(a=0;a<o;++a)s=e[a],i[s]=a,r.push({value:s,major:!1});return 0!==o&&n?function(t,e,n,r){const i=t._adapter,o=+i.startOf(e[0].value,r),a=e[e.length-1].value;let s,c;for(s=o;s<=a;s=+i.add(s,1,r))c=n[s],c>=0&&(e[c].major=!0);return e}(t,r,i,n):r}class Eo extends zr{static id="time";static defaults={bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{source:"auto",callback:!1,major:{enabled:!1}}};constructor(t){super(t),this._cache={data:[],labels:[],all:[]},this._unit="day",this._majorUnit=void 0,this._offsets={},this._normalized=!1,this._parseOpts=void 0}init(t,e={}){const n=t.time||(t.time={}),r=this._adapter=new Yn._date(t.adapters.date);r.init(e),b(n.displayFormats,r.formats()),this._parseOpts={parser:n.parser,round:n.round,isoWeekday:n.isoWeekday},super.init(t),this._normalized=e.normalized}parse(t,e){return void 0===t?null:ko(this,t)}beforeLayout(){super.beforeLayout(),this._cache={data:[],labels:[],all:[]}}determineDataLimits(){const t=this.options,e=this._adapter,n=t.time.unit||"day";let{min:r,max:i,minDefined:o,maxDefined:a}=this.getUserBounds();function s(t){o||isNaN(t.min)||(r=Math.min(r,t.min)),a||isNaN(t.max)||(i=Math.max(i,t.max))}o&&a||(s(this._getLabelBounds()),"ticks"===t.bounds&&"labels"===t.ticks.source||s(this.getMinMax(!1))),r=c(r)&&!isNaN(r)?r:+e.startOf(Date.now(),n),i=c(i)&&!isNaN(i)?i:+e.endOf(Date.now(),n)+1,this.min=Math.min(r,i-1),this.max=Math.max(r+1,i)}_getLabelBounds(){const t=this.getLabelTimestamps();let e=Number.POSITIVE_INFINITY,n=Number.NEGATIVE_INFINITY;return t.length&&(e=t[0],n=t[t.length-1]),{min:e,max:n}}buildTicks(){const t=this.options,e=t.time,n=t.ticks,r="labels"===n.source?this.getLabelTimestamps():this._generate();"ticks"===t.bounds&&r.length&&(this.min=this._userMin||r[0],this.max=this._userMax||r[r.length-1]);const i=this.min,o=function(t,e,n){let r=0,i=t.length;for(;r<i&&t[r]<e;)r++;for(;i>r&&t[i-1]>n;)i--;return r>0||i<t.length?t.slice(r,i):t}(r,i,this.max);return this._unit=e.unit||(n.autoSkip?Oo(e.minUnit,this.min,this.max,this._getLabelCapacity(i)):function(t,e,n,r,i){for(let o=_o.length-1;o>=_o.indexOf(n);o--){const n=_o[o];if(wo[n].common&&t._adapter.diff(i,r,n)>=e-1)return n}return _o[n?_o.indexOf(n):0]}(this,o.length,e.minUnit,this.min,this.max)),this._majorUnit=n.major.enabled&&"year"!==this._unit?function(t){for(let e=_o.indexOf(t)+1,n=_o.length;e<n;++e)if(wo[_o[e]].common)return _o[e]}(this._unit):void 0,this.initOffsets(r),t.reverse&&o.reverse(),So(this,o,this._majorUnit)}afterAutoSkip(){this.options.offsetAfterAutoskip&&this.initOffsets(this.ticks.map((t=>+t.value)))}initOffsets(t=[]){let e,n,r=0,i=0;this.options.offset&&t.length&&(e=this.getDecimalForValue(t[0]),r=1===t.length?1-e:(this.getDecimalForValue(t[1])-e)/2,n=this.getDecimalForValue(t[t.length-1]),i=1===t.length?n:(n-this.getDecimalForValue(t[t.length-2]))/2);const o=t.length<3?.5:.25;r=X(r,0,o),i=X(i,0,o),this._offsets={start:r,end:i,factor:1/(r+1+i)}}_generate(){const t=this._adapter,e=this.min,n=this.max,r=this.options,i=r.time,o=i.unit||Oo(i.minUnit,e,n,this._getLabelCapacity(e)),a=u(r.ticks.stepSize,1),s="week"===o&&i.isoWeekday,c=F(s)||!0===s,l={};let f,h,d=e;if(c&&(d=+t.startOf(d,"isoWeek",s)),d=+t.startOf(d,c?"day":o),t.diff(n,e,o)>1e5*a)throw new Error(e+" and "+n+" are too far apart with stepSize of "+a+" "+o);const p="data"===r.ticks.source&&this.getDataTimestamps();for(f=d,h=0;f<n;f=+t.add(f,a,o),h++)Co(l,f,p);return f!==n&&"ticks"!==r.bounds&&1!==h||Co(l,f,p),Object.keys(l).sort(((t,e)=>t-e)).map((t=>+t))}getLabelForValue(t){const e=this._adapter,n=this.options.time;return n.tooltipFormat?e.format(t,n.tooltipFormat):e.format(t,n.displayFormats.datetime)}_tickFormatFunction(t,e,n,r){const i=this.options,o=i.ticks.callback;if(o)return h(o,[t,e,n],this);const a=i.time.displayFormats,s=this._unit,c=this._majorUnit,l=s&&a[s],u=c&&a[c],f=n[e],d=c&&u&&f&&f.major;return this._adapter.format(t,r||(d?u:l))}generateTickLabels(t){let e,n,r;for(e=0,n=t.length;e<n;++e)r=t[e],r.label=this._tickFormatFunction(r.value,e,t)}getDecimalForValue(t){return null===t?NaN:(t-this.min)/(this.max-this.min)}getPixelForValue(t){const e=this._offsets,n=this.getDecimalForValue(t);return this.getPixelForDecimal((e.start+n)*e.factor)}getValueForPixel(t){const e=this._offsets,n=this.getDecimalForPixel(t)/e.factor-e.end;return this.min+n*(this.max-this.min)}_getLabelSize(t){const e=this.options.ticks,n=this.ctx.measureText(t).width,r=z(this.isHorizontal()?e.maxRotation:e.minRotation),i=Math.cos(r),o=Math.sin(r),a=this._resolveTickFontOptions(0).size;return{w:n*i+a*o,h:n*o+a*i}}_getLabelCapacity(t){const e=this.options.time,n=e.displayFormats,r=n[e.unit]||n.millisecond,i=this._tickFormatFunction(t,0,So(this,[t],this._majorUnit),r),o=this._getLabelSize(i),a=Math.floor(this.isHorizontal()?this.width/o.w:this.height/o.h)-1;return a>0?a:1}getDataTimestamps(){let t,e,n=this._cache.data||[];if(n.length)return n;const r=this.getMatchingVisibleMetas();if(this._normalized&&r.length)return this._cache.data=r[0].controller.getAllParsedValues(this);for(t=0,e=r.length;t<e;++t)n=n.concat(r[t].controller.getAllParsedValues(this));return this._cache.data=this.normalize(n)}getLabelTimestamps(){const t=this._cache.labels||[];let e,n;if(t.length)return t;const r=this.getLabels();for(e=0,n=r.length;e<n;++e)t.push(ko(this,r[e]));return this._cache.labels=this._normalized?t:this.normalize(t)}normalize(t){return nt(t.sort(xo))}}},3254:(t,e,n)=>{"use strict";n.d(e,{Z:()=>A});var r={Identity:function(t){return t},True:function(){return!0},Blank:function(){}},i="boolean",o="number",a="string",s="undefined",c="function",l={"":r.Identity},u=function(t){if(null==t)return r.Identity;if(typeof t===a){let e=l[t];if(null!=e)return e;if(-1===t.indexOf("=>")){const n=new RegExp("[$]+","g");let r,i=0;for(;null!=(r=n.exec(t));)r[0].length>i&&(i=r[0].length);const o=[];for(let t=1;t<=i;t++){let e="";for(let n=0;n<t;n++)e+="$";o.push(e)}const a=o.join(",");return e=new Function(a,"return "+t),l[t]=e,e}{const n=t.match(/^[(\s]*([^()]*?)[)\s]*=>(.*)/);return e=new Function(n[1],n[2].match(/\breturn\b/)?n[2]:"return "+n[2]),l[t]=e,e}}return t},f=function(t,e,n){Object.defineProperty(t,e,{enumerable:!1,configurable:!0,writable:!0,value:n})},h=function(t,e){return t===e?0:t>e?1:-1},d=function(t){null!=t&&t.dispose()},p=function(){return"undefined"!=typeof Symbol&&void 0!==Symbol.iterator},m=0,v=1,g=2,y=function(t,e,n){var r=new b,i=m;this.current=r.current,this.moveNext=function(){try{switch(i){case m:i=v,t();case v:return!!e.apply(r)||(this.dispose(),!1);case g:return!1}}catch(t){throw this.dispose(),t}},this.dispose=function(){if(i==v)try{n()}finally{i=g}}},b=function(){var t=null;this.current=function(){return t},this.yieldReturn=function(e){return t=e,!0},this.yieldBreak=function(){return!1}},w=function(t){this.getEnumerator=t};(w.Utils={}).createLambda=function(t){return u(t)},w.Utils.createEnumerable=function(t){return new w(t)},w.Utils.createEnumerator=function(t,e,n){return new y(t,e,n)},w.Utils.extendTo=function(t){var e,n=t.prototype;t===Array?(e=O.prototype,f(n,"getSource",(function(){return this}))):(e=w.prototype,f(n,"getEnumerator",(function(){return w.from(this).getEnumerator()})));for(let t in e){const r=e[t];n[t]!=r&&(null!=n[t]&&(t+="ByLinq",n[t]==r)||r instanceof Function&&f(n,t,r))}},w.Utils.recallFrom=function(t){var e,n=t.prototype;t===Array?(e=O.prototype,delete n.getSource):(e=w.prototype,delete n.getEnumerator);for(const t in e){const r=e[t];n[t+"ByLinq"]?delete n[t+"ByLinq"]:n[t]==r&&r instanceof Function&&delete n[t]}},w.choice=function(){var t=arguments;return new w((function(){return new y((function(){t=t[0]instanceof Array?t[0]:null!=t[0].getEnumerator?t[0].toArray():t}),(function(){return this.yieldReturn(t[Math.floor(Math.random()*t.length)])}),r.Blank)}))},w.cycle=function(){var t=arguments;return new w((function(){var e=0;return new y((function(){t=t[0]instanceof Array?t[0]:null!=t[0].getEnumerator?t[0].toArray():t}),(function(){return e>=t.length&&(e=0),this.yieldReturn(t[e++])}),r.Blank)}))},w.empty=function(){return new w((function(){return new y(r.Blank,(function(){return!1}),r.Blank)}))},w.from=function(t){if(null==t)return w.empty();if(t instanceof w)return t;if(typeof t==o||typeof t==i)return w.repeat(t,1);if(typeof t==a)return new w((function(){var e=0;return new y(r.Blank,(function(){return e<t.length&&this.yieldReturn(t.charAt(e++))}),r.Blank)}));if(typeof t!=c){if(typeof t.length==o)return new O(t);if("undefined"!=typeof Symbol&&void 0!==t[Symbol.iterator])return new w((function(){return new y(r.Blank,(function(){var e=t.next();return!e.done&&this.yieldReturn(e.value)}),r.Blank)}))}return new w((function(){var e=[],n=0;return new y((function(){for(const n in t){const r=t[n];r instanceof Function||!Object.prototype.hasOwnProperty.call(t,n)||e.push({key:n,value:r})}}),(function(){return n<e.length&&this.yieldReturn(e[n++])}),r.Blank)}))},w.make=function(t){return w.repeat(t,1)},w.matches=function(t,e,n){return null==n&&(n=""),e instanceof RegExp&&(n+=e.ignoreCase?"i":"",n+=e.multiline?"m":"",e=e.source),-1===n.indexOf("g")&&(n+="g"),new w((function(){var i;return new y((function(){i=new RegExp(e,n)}),(function(){var e=i.exec(t);return!!e&&this.yieldReturn(e)}),r.Blank)}))},w.range=function(t,e,n){return null==n&&(n=1),new w((function(){var i,o=0;return new y((function(){i=t-n}),(function(){return o++<e?this.yieldReturn(i+=n):this.yieldBreak()}),r.Blank)}))},w.rangeDown=function(t,e,n){return null==n&&(n=1),new w((function(){var i,o=0;return new y((function(){i=t+n}),(function(){return o++<e?this.yieldReturn(i-=n):this.yieldBreak()}),r.Blank)}))},w.rangeTo=function(t,e,n){return null==n&&(n=1),new w(t<e?function(){var i;return new y((function(){i=t-n}),(function(){var t=i+=n;return t<=e?this.yieldReturn(t):this.yieldBreak()}),r.Blank)}:function(){var i;return new y((function(){i=t+n}),(function(){var t=i-=n;return t>=e?this.yieldReturn(t):this.yieldBreak()}),r.Blank)})},w.repeat=function(t,e){return null!=e?w.repeat(t).take(e):new w((function(){return new y(r.Blank,(function(){return this.yieldReturn(t)}),r.Blank)}))},w.repeatWithFinalize=function(t,e){return t=u(t),e=u(e),new w((function(){var n;return new y((function(){n=t()}),(function(){return this.yieldReturn(n)}),(function(){null!=n&&(e(n),n=null)}))}))},w.generate=function(t,e){return null!=e?w.generate(t).take(e):(t=u(t),new w((function(){return new y(r.Blank,(function(){return this.yieldReturn(t())}),r.Blank)})))},w.toInfinity=function(t,e){return null==t&&(t=0),null==e&&(e=1),new w((function(){var n;return new y((function(){n=t-e}),(function(){return this.yieldReturn(n+=e)}),r.Blank)}))},w.toNegativeInfinity=function(t,e){return null==t&&(t=0),null==e&&(e=1),new w((function(){var n;return new y((function(){n=t+e}),(function(){return this.yieldReturn(n-=e)}),r.Blank)}))},w.unfold=function(t,e){return e=u(e),new w((function(){var n,i=!0;return new y(r.Blank,(function(){return i?(i=!1,n=t,this.yieldReturn(n)):(n=e(n),this.yieldReturn(n))}),r.Blank)}))},w.defer=function(t){return new w((function(){var e;return new y((function(){e=w.from(t()).getEnumerator()}),(function(){return e.moveNext()?this.yieldReturn(e.current()):this.yieldBreak()}),(function(){d(e)}))}))},w.prototype.traverseBreadthFirst=function(t,e){var n=this;return t=u(t),e=u(e),new w((function(){var r,i=0,o=[];return new y((function(){r=n.getEnumerator()}),(function(){for(;;){if(r.moveNext())return o.push(r.current()),this.yieldReturn(e(r.current(),i));const n=w.from(o).selectMany((function(e){return t(e)}));if(!n.any())return!1;i++,o=[],d(r),r=n.getEnumerator()}}),(function(){d(r)}))}))},w.prototype.traverseDepthFirst=function(t,e){var n=this;return t=u(t),e=u(e),new w((function(){var r,i=[];return new y((function(){r=n.getEnumerator()}),(function(){for(;;){if(r.moveNext()){const n=e(r.current(),i.length);return i.push(r),r=w.from(t(r.current())).getEnumerator(),this.yieldReturn(n)}if(i.length<=0)return!1;d(r),r=i.pop()}}),(function(){try{d(r)}finally{w.from(i).forEach((function(t){t.dispose()}))}}))}))},w.prototype.flatten=function(){var t=this;return new w((function(){var e,n=null;return new y((function(){e=t.getEnumerator()}),(function(){for(;;){if(null!=n){if(n.moveNext())return this.yieldReturn(n.current());n=null}if(e.moveNext()){if(e.current()instanceof Array){d(n),n=w.from(e.current()).selectMany(r.Identity).flatten().getEnumerator();continue}return this.yieldReturn(e.current())}return!1}}),(function(){try{d(e)}finally{d(n)}}))}))},w.prototype.pairwise=function(t){var e=this;return t=u(t),new w((function(){var n;return new y((function(){(n=e.getEnumerator()).moveNext()}),(function(){var e=n.current();return!!n.moveNext()&&this.yieldReturn(t(e,n.current()))}),(function(){d(n)}))}))},w.prototype.scan=function(t,e){var n;null==e?(e=u(t),n=!1):(e=u(e),n=!0);var r=this;return new w((function(){var i,o,a=!0;return new y((function(){i=r.getEnumerator()}),(function(){if(a){if(a=!1,n)return this.yieldReturn(o=t);if(i.moveNext())return this.yieldReturn(o=i.current())}return!!i.moveNext()&&this.yieldReturn(o=e(o,i.current()))}),(function(){d(i)}))}))},w.prototype.select=function(t){if((t=u(t)).length<=1)return new S(this,null,t);var e=this;return new w((function(){var n,r=0;return new y((function(){n=e.getEnumerator()}),(function(){return!!n.moveNext()&&this.yieldReturn(t(n.current(),r++))}),(function(){d(n)}))}))},w.prototype.selectMany=function(t,e){var n=this;return t=u(t),null==e&&(e=function(t,e){return e}),e=u(e),new w((function(){var r,i=void 0,o=0;return new y((function(){r=n.getEnumerator()}),(function(){if(void 0===i&&!r.moveNext())return!1;do{if(null==i){const e=t(r.current(),o++);i=w.from(e).getEnumerator()}if(i.moveNext())return this.yieldReturn(e(r.current(),i.current()));d(i),i=null}while(r.moveNext());return!1}),(function(){try{d(r)}finally{d(i)}}))}))},w.prototype.where=function(t){if((t=u(t)).length<=1)return new C(this,t);var e=this;return new w((function(){var n,r=0;return new y((function(){n=e.getEnumerator()}),(function(){for(;n.moveNext();)if(t(n.current(),r++))return this.yieldReturn(n.current());return!1}),(function(){d(n)}))}))},w.prototype.choose=function(t){t=u(t);var e=this;return new w((function(){var n,r=0;return new y((function(){n=e.getEnumerator()}),(function(){for(;n.moveNext();){const e=t(n.current(),r++);if(null!=e)return this.yieldReturn(e)}return this.yieldBreak()}),(function(){d(n)}))}))},w.prototype.ofType=function(t){var e;switch(t){case Number:e=o;break;case String:e=a;break;case Boolean:e=i;break;case Function:e=c;break;default:e=null}return null===e?this.where((function(e){return e instanceof t})):this.where((function(t){return typeof t===e}))},w.prototype.zip=function(){var t=arguments,e=u(arguments[arguments.length-1]),n=this;if(2==arguments.length){const t=arguments[0];return new w((function(){var r,i,o=0;return new y((function(){r=n.getEnumerator(),i=w.from(t).getEnumerator()}),(function(){return!(!r.moveNext()||!i.moveNext())&&this.yieldReturn(e(r.current(),i.current(),o++))}),(function(){try{d(r)}finally{d(i)}}))}))}return new w((function(){var r,i=0;return new y((function(){var e=w.make(n).concat(w.from(t).takeExceptLast().select(w.from)).select((function(t){return t.getEnumerator()})).toArray();r=w.from(e)}),(function(){if(r.all((function(t){return t.moveNext()}))){const t=r.select((function(t){return t.current()})).toArray();return t.push(i++),this.yieldReturn(e.apply(null,t))}return this.yieldBreak()}),(function(){w.from(r).forEach(d)}))}))},w.prototype.merge=function(){var t=arguments,e=this;return new w((function(){var n,r=-1;return new y((function(){n=w.make(e).concat(w.from(t).select(w.from)).select((function(t){return t.getEnumerator()})).toArray()}),(function(){for(;n.length>0;){r=r>=n.length-1?0:r+1;const t=n[r];if(t.moveNext())return this.yieldReturn(t.current());t.dispose(),n.splice(r--,1)}return this.yieldBreak()}),(function(){w.from(n).forEach(d)}))}))},w.prototype.join=function(t,e,n,i,o){e=u(e),n=u(n),i=u(i),o=u(o);var a=this;return new w((function(){var s,c,l=null,u=0;return new y((function(){s=a.getEnumerator(),c=w.from(t).toLookup(n,r.Identity,o)}),(function(){for(;;){if(null!=l){let t=l[u++];if(void 0!==t)return this.yieldReturn(i(s.current(),t));t=null,u=0}if(!s.moveNext())return!1;{const t=e(s.current());l=c.get(t).toArray()}}}),(function(){d(s)}))}))},w.prototype.leftJoin=function(t,e,n,i,o){e=u(e),n=u(n),i=u(i),o=u(o);var a=this;return new w((function(){var s,c,l=null,u=0;return new y((function(){s=a.getEnumerator(),c=w.from(t).toLookup(n,r.Identity,o)}),(function(){for(;;){if(null!=l){let t=l[u++];if(void 0!==t)return this.yieldReturn(i(s.current(),t));t=null,u=0}if(!s.moveNext())return!1;{const t=e(s.current());if(null==(l=c.get(t).toArray())||0==l.length)return this.yieldReturn(i(s.current(),null))}}}),(function(){d(s)}))}))},w.prototype.groupJoin=function(t,e,n,i,o){e=u(e),n=u(n),i=u(i),o=u(o);var a=this;return new w((function(){var s=a.getEnumerator(),c=null;return new y((function(){s=a.getEnumerator(),c=w.from(t).toLookup(n,r.Identity,o)}),(function(){if(s.moveNext()){const t=c.get(e(s.current()));return this.yieldReturn(i(s.current(),t))}return!1}),(function(){d(s)}))}))},w.prototype.all=function(t){t=u(t);var e=!0;return this.forEach((function(n){if(!t(n))return e=!1,!1})),e},w.prototype.any=function(t){t=u(t);var e=this.getEnumerator();try{if(0==arguments.length)return e.moveNext();for(;e.moveNext();)if(t(e.current()))return!0;return!1}finally{d(e)}},w.prototype.isEmpty=function(){return!this.any()},w.prototype.concat=function(){var t=this;if(1==arguments.length){const e=arguments[0];return new w((function(){var n,r;return new y((function(){n=t.getEnumerator()}),(function(){if(null==r){if(n.moveNext())return this.yieldReturn(n.current());r=w.from(e).getEnumerator()}return!!r.moveNext()&&this.yieldReturn(r.current())}),(function(){try{d(n)}finally{d(r)}}))}))}{const e=arguments;return new w((function(){var n;return new y((function(){n=w.make(t).concat(w.from(e).select(w.from)).select((function(t){return t.getEnumerator()})).toArray()}),(function(){for(;n.length>0;){const t=n[0];if(t.moveNext())return this.yieldReturn(t.current());t.dispose(),n.splice(0,1)}return this.yieldBreak()}),(function(){w.from(n).forEach(d)}))}))}},w.prototype.insert=function(t,e){var n=this;return new w((function(){var r,i,o=0,a=!1;return new y((function(){r=n.getEnumerator(),i=w.from(e).getEnumerator()}),(function(){return o==t&&i.moveNext()?(a=!0,this.yieldReturn(i.current())):r.moveNext()?(o++,this.yieldReturn(r.current())):!(a||!i.moveNext())&&this.yieldReturn(i.current())}),(function(){try{d(r)}finally{d(i)}}))}))},w.prototype.alternate=function(t){var e=this;return new w((function(){var n,r,i,o;return new y((function(){i=t instanceof Array||null!=t.getEnumerator?w.from(w.from(t).toArray()):w.make(t),(r=e.getEnumerator()).moveNext()&&(n=r.current())}),(function(){for(;;){if(null!=o){if(o.moveNext())return this.yieldReturn(o.current());o=null}if(null!=n||!r.moveNext()){if(null!=n){const t=n;return n=null,this.yieldReturn(t)}return this.yieldBreak()}n=r.current(),o=i.getEnumerator()}}),(function(){try{d(r)}finally{d(o)}}))}))},w.prototype.contains=function(t,e){e=u(e);var n=this.getEnumerator();try{for(;n.moveNext();)if(e(n.current())===t)return!0;return!1}finally{d(n)}},w.prototype.defaultIfEmpty=function(t){var e=this;return void 0===t&&(t=null),new w((function(){var n,r=!0;return new y((function(){n=e.getEnumerator()}),(function(){return n.moveNext()?(r=!1,this.yieldReturn(n.current())):!!r&&(r=!1,this.yieldReturn(t))}),(function(){d(n)}))}))},w.prototype.distinct=function(t){return this.except(w.empty(),t)},w.prototype.distinctUntilChanged=function(t){t=u(t);var e=this;return new w((function(){var n,r,i;return new y((function(){n=e.getEnumerator()}),(function(){for(;n.moveNext();){const e=t(n.current());if(i)return i=!1,r=e,this.yieldReturn(n.current());if(r!==e)return r=e,this.yieldReturn(n.current())}return this.yieldBreak()}),(function(){d(n)}))}))},w.prototype.except=function(t,e){e=u(e);var n=this;return new w((function(){var r,i;return new y((function(){r=n.getEnumerator(),i=new E(e),w.from(t).forEach((function(t){i.add(t)}))}),(function(){for(;r.moveNext();){const t=r.current();if(!i.contains(t))return i.add(t),this.yieldReturn(t)}return!1}),(function(){d(r)}))}))},w.prototype.intersect=function(t,e){e=u(e);var n=this;return new w((function(){var r,i,o;return new y((function(){r=n.getEnumerator(),i=new E(e),w.from(t).forEach((function(t){i.add(t)})),o=new E(e)}),(function(){for(;r.moveNext();){const t=r.current();if(!o.contains(t)&&i.contains(t))return o.add(t),this.yieldReturn(t)}return!1}),(function(){d(r)}))}))},w.prototype.sequenceEqual=function(t,e){e=u(e);var n=this.getEnumerator();try{const r=w.from(t).getEnumerator();try{for(;n.moveNext();)if(!r.moveNext()||e(n.current())!==e(r.current()))return!1;return!r.moveNext()}finally{d(r)}}finally{d(n)}},w.prototype.union=function(t,e){e=u(e);var n=this;return new w((function(){var r,i,o;return new y((function(){r=n.getEnumerator(),o=new E(e)}),(function(){var e;if(void 0===i){for(;r.moveNext();)if(e=r.current(),!o.contains(e))return o.add(e),this.yieldReturn(e);i=w.from(t).getEnumerator()}for(;i.moveNext();)if(e=i.current(),!o.contains(e))return o.add(e),this.yieldReturn(e);return!1}),(function(){try{d(r)}finally{d(i)}}))}))},w.prototype.orderBy=function(t,e){return new _(this,t,e,!1)},w.prototype.orderByDescending=function(t,e){return new _(this,t,e,!0)},w.prototype.reverse=function(){var t=this;return new w((function(){var e,n;return new y((function(){e=t.toArray(),n=e.length}),(function(){return n>0&&this.yieldReturn(e[--n])}),r.Blank)}))},w.prototype.shuffle=function(){var t=this;return new w((function(){var e;return new y((function(){e=t.toArray()}),(function(){if(e.length>0){const t=Math.floor(Math.random()*e.length);return this.yieldReturn(e.splice(t,1)[0])}return!1}),r.Blank)}))},w.prototype.weightedSample=function(t){t=u(t);var e=this;return new w((function(){var n,i=0;return new y((function(){n=e.choose((function(e){var n=t(e);return n<=0?null:{value:e,bound:i+=n}})).toArray()}),(function(){if(n.length>0){const t=Math.floor(Math.random()*i)+1;let e=-1,r=n.length;for(;r-e>1;){const i=Math.floor((e+r)/2);n[i].bound>=t?r=i:e=i}return this.yieldReturn(n[r].value)}return this.yieldBreak()}),r.Blank)}))},w.prototype.groupBy=function(t,e,n,r){var i=this;return t=u(t),e=u(e),null!=n&&(n=u(n)),r=u(r),new w((function(){var o;return new y((function(){o=i.toLookup(t,e,r).toEnumerable().getEnumerator()}),(function(){for(;o.moveNext();)return null==n?this.yieldReturn(o.current()):this.yieldReturn(n(o.current().key(),o.current()));return!1}),(function(){d(o)}))}))},w.prototype.partitionBy=function(t,e,n,r){var i,o=this;return t=u(t),e=u(e),r=u(r),null==n?(i=!1,n=function(t,e){return new P(t,e)}):(i=!0,n=u(n)),new w((function(){var a,s,c,l=[];return new y((function(){(a=o.getEnumerator()).moveNext()&&(s=t(a.current()),c=r(s),l.push(e(a.current())))}),(function(){for(var o;1==(o=a.moveNext())&&c===r(t(a.current()));)l.push(e(a.current()));if(l.length>0){const u=n(s,i?w.from(l):l);return o?(s=t(a.current()),c=r(s),l=[e(a.current())]):l=[],this.yieldReturn(u)}return!1}),(function(){d(a)}))}))},w.prototype.buffer=function(t){var e=this;return new w((function(){var n;return new y((function(){n=e.getEnumerator()}),(function(){for(var e=[],r=0;n.moveNext();)if(e.push(n.current()),++r>=t)return this.yieldReturn(e);return e.length>0&&this.yieldReturn(e)}),(function(){d(n)}))}))},w.prototype.aggregate=function(t,e,n){return(n=u(n))(this.scan(t,e,n).last())},w.prototype.average=function(t){t=u(t);var e=0,n=0;return this.forEach((function(r){e+=t(r),++n})),e/n},w.prototype.count=function(t){t=null==t?r.True:u(t);var e=0;return this.forEach((function(n,r){t(n,r)&&++e})),e},w.prototype.max=function(t){return null==t&&(t=r.Identity),this.select(t).aggregate((function(t,e){return t>e?t:e}))},w.prototype.min=function(t){return null==t&&(t=r.Identity),this.select(t).aggregate((function(t,e){return t<e?t:e}))},w.prototype.maxBy=function(t){return t=u(t),this.aggregate((function(e,n){return t(e)>t(n)?e:n}))},w.prototype.minBy=function(t){return t=u(t),this.aggregate((function(e,n){return t(e)<t(n)?e:n}))},w.prototype.sum=function(t){return null==t&&(t=r.Identity),this.select(t).aggregate(0,(function(t,e){return t+e}))},w.prototype.elementAt=function(t){var e,n=!1;if(this.forEach((function(r,i){if(i==t)return e=r,n=!0,!1})),!n)throw new Error("index is less than 0 or greater than or equal to the number of elements in source.");return e},w.prototype.elementAtOrDefault=function(t,e){var n;void 0===e&&(e=null);var r=!1;return this.forEach((function(e,i){if(i==t)return n=e,r=!0,!1})),r?n:e},w.prototype.first=function(t){if(null!=t)return this.where(t).first();var e,n=!1;if(this.forEach((function(t){return e=t,n=!0,!1})),!n)throw new Error("first:No element satisfies the condition.");return e},w.prototype.firstOrDefault=function(t,e){if(void 0!==t){if(typeof t===c||typeof u(t)===c)return this.where(t).firstOrDefault(void 0,e);e=t}var n,r=!1;return this.forEach((function(t){return n=t,r=!0,!1})),r?n:e},w.prototype.last=function(t){if(null!=t)return this.where(t).last();var e,n=!1;if(this.forEach((function(t){n=!0,e=t})),!n)throw new Error("last:No element satisfies the condition.");return e},w.prototype.lastOrDefault=function(t,e){if(void 0!==t){if(typeof t===c||typeof u(t)===c)return this.where(t).lastOrDefault(void 0,e);e=t}var n,r=!1;return this.forEach((function(t){r=!0,n=t})),r?n:e},w.prototype.single=function(t){if(null!=t)return this.where(t).single();var e,n=!1;if(this.forEach((function(t){if(n)throw new Error("single:sequence contains more than one element.");n=!0,e=t})),!n)throw new Error("single:No element satisfies the condition.");return e},w.prototype.singleOrDefault=function(t,e){if(void 0===e&&(e=null),null!=t)return this.where(t).singleOrDefault(null,e);var n,r=!1;return this.forEach((function(t){if(r)throw new Error("single:sequence contains more than one element.");r=!0,n=t})),r?n:e},w.prototype.skip=function(t){var e=this;return new w((function(){var n,r=0;return new y((function(){for(n=e.getEnumerator();r++<t&&n.moveNext(););}),(function(){return!!n.moveNext()&&this.yieldReturn(n.current())}),(function(){d(n)}))}))},w.prototype.skipWhile=function(t){t=u(t);var e=this;return new w((function(){var n,r=0,i=!1;return new y((function(){n=e.getEnumerator()}),(function(){for(;!i;){if(!n.moveNext())return!1;if(!t(n.current(),r++))return i=!0,this.yieldReturn(n.current())}return!!n.moveNext()&&this.yieldReturn(n.current())}),(function(){d(n)}))}))},w.prototype.take=function(t){var e=this;return new w((function(){var n,r=0;return new y((function(){n=e.getEnumerator()}),(function(){return!!(r++<t&&n.moveNext())&&this.yieldReturn(n.current())}),(function(){d(n)}))}))},w.prototype.takeWhile=function(t){t=u(t);var e=this;return new w((function(){var n,r=0;return new y((function(){n=e.getEnumerator()}),(function(){return!(!n.moveNext()||!t(n.current(),r++))&&this.yieldReturn(n.current())}),(function(){d(n)}))}))},w.prototype.takeExceptLast=function(t){null==t&&(t=1);var e=this;return new w((function(){if(t<=0)return e.getEnumerator();var n,r=[];return new y((function(){n=e.getEnumerator()}),(function(){for(;n.moveNext();){if(r.length==t)return r.push(n.current()),this.yieldReturn(r.shift());r.push(n.current())}return!1}),(function(){d(n)}))}))},w.prototype.takeFromLast=function(t){if(t<=0||null==t)return w.empty();var e=this;return new w((function(){var n,r,i=[];return new y((function(){n=e.getEnumerator()}),(function(){for(;n.moveNext();)i.length==t&&i.shift(),i.push(n.current());return null==r&&(r=w.from(i).getEnumerator()),!!r.moveNext()&&this.yieldReturn(r.current())}),(function(){d(r)}))}))},w.prototype.indexOf=function(t){var e=null;return typeof t===c?this.forEach((function(n,r){if(t(n,r))return e=r,!1})):this.forEach((function(n,r){if(n===t)return e=r,!1})),null!==e?e:-1},w.prototype.lastIndexOf=function(t){var e=-1;return typeof t===c?this.forEach((function(n,r){t(n,r)&&(e=r)})):this.forEach((function(n,r){n===t&&(e=r)})),e},w.prototype.cast=function(){return this},w.prototype.asEnumerable=function(){return w.from(this)},w.prototype.toArray=function(){var t=[];return this.forEach((function(e){t.push(e)})),t},w.prototype.toLookup=function(t,e,n){t=u(t),e=u(e),n=u(n);var r=new E(n);return this.forEach((function(n){var i=t(n),o=e(n),a=r.get(i);void 0!==a?a.push(o):r.add(i,[o])})),new T(r)},w.prototype.toObject=function(t,e){t=u(t),e=u(e);var n={};return this.forEach((function(r){n[t(r)]=e(r)})),n},w.prototype.toDictionary=function(t,e,n){t=u(t),e=u(e),n=u(n);var r=new E(n);return this.forEach((function(n){r.add(t(n),e(n))})),r},w.prototype.toJSONString=function(t,e){if(typeof JSON===s||null==JSON.stringify)throw new Error("toJSONString can't find JSON.stringify. This works native JSON support Browser or include json2.js");return JSON.stringify(this.toArray(),t,e)},w.prototype.toJoinedString=function(t,e){return null==t&&(t=""),null==e&&(e=r.Identity),this.select(e).toArray().join(t)},w.prototype.doAction=function(t){var e=this;return t=u(t),new w((function(){var n,r=0;return new y((function(){n=e.getEnumerator()}),(function(){return!!n.moveNext()&&(t(n.current(),r++),this.yieldReturn(n.current()))}),(function(){d(n)}))}))},w.prototype.forEach=function(t){t=u(t);var e=0,n=this.getEnumerator();try{for(;n.moveNext()&&!1!==t(n.current(),e++););}finally{d(n)}},w.prototype.force=function(){var t=this.getEnumerator();try{for(;t.moveNext(););}finally{d(t)}},w.prototype.letBind=function(t){t=u(t);var e=this;return new w((function(){var n;return new y((function(){n=w.from(t(e)).getEnumerator()}),(function(){return!!n.moveNext()&&this.yieldReturn(n.current())}),(function(){d(n)}))}))},w.prototype.share=function(){var t,e=this,n=!1;return new k((function(){return new y((function(){null==t&&(t=e.getEnumerator())}),(function(){if(n)throw new Error("enumerator is disposed");return!!t.moveNext()&&this.yieldReturn(t.current())}),r.Blank)}),(function(){n=!0,d(t)}))},w.prototype.memoize=function(){var t,e,n=this,i=!1;return new k((function(){var o=-1;return new y((function(){null==e&&(e=n.getEnumerator(),t=[])}),(function(){if(i)throw new Error("enumerator is disposed");return o++,t.length<=o?!!e.moveNext()&&this.yieldReturn(t[o]=e.current()):this.yieldReturn(t[o])}),r.Blank)}),(function(){i=!0,d(e),t=null}))},p()&&(w.prototype[Symbol.iterator]=function(){return{enumerator:this.getEnumerator(),next:function(){return this.enumerator.moveNext()?{done:!1,value:this.enumerator.current()}:{done:!0}}}}),w.prototype.catchError=function(t){t=u(t);var e=this;return new w((function(){var n;return new y((function(){n=e.getEnumerator()}),(function(){try{return!!n.moveNext()&&this.yieldReturn(n.current())}catch(e){return t(e),!1}}),(function(){d(n)}))}))},w.prototype.finallyAction=function(t){t=u(t);var e=this;return new w((function(){var n;return new y((function(){n=e.getEnumerator()}),(function(){return!!n.moveNext()&&this.yieldReturn(n.current())}),(function(){try{d(n)}finally{t()}}))}))},w.prototype.log=function(t){return t=u(t),this.doAction((function(e){typeof console!==s&&t(e)}))},w.prototype.trace=function(t,e){return null==t&&(t="Trace"),e=u(e),this.doAction((function(t){typeof console!==s&&e(t)}))};var _=function(t,e,n,r,i){this.source=t,this.keySelector=u(e),this.descending=r,this.parent=i,n&&(this.comparer=u(n))};_.prototype=new w,_.prototype.createOrderedEnumerable=function(t,e,n){return new _(this.source,t,e,n,this)},_.prototype.thenBy=function(t,e){return this.createOrderedEnumerable(t,e,!1)},_.prototype.thenByDescending=function(t,e){return this.createOrderedEnumerable(t,e,!0)},_.prototype.getEnumerator=function(){var t,e,n=this,i=0;return new y((function(){t=[],e=[],n.source.forEach((function(n,r){t.push(n),e.push(r)}));var r=x.create(n,null);r.GenerateKeys(t),e.sort((function(t,e){return r.compare(t,e)}))}),(function(){return i<e.length&&this.yieldReturn(t[e[i++]])}),r.Blank)};var x=function(t,e,n,r){this.keySelector=t,this.descending=n,this.child=r,this.comparer=e,this.keys=null};x.create=function(t,e){var n=new x(t.keySelector,t.comparer,t.descending,e);return null!=t.parent?x.create(t.parent,n):n},x.prototype.GenerateKeys=function(t){var e=t.length,n=this.keySelector,r=new Array(e);for(let i=0;i<e;i++)r[i]=n(t[i]);this.keys=r,null!=this.child&&this.child.GenerateKeys(t)},x.prototype.compare=function(t,e){var n=this.comparer?this.comparer(this.keys[t],this.keys[e]):h(this.keys[t],this.keys[e]);return 0==n?null!=this.child?this.child.compare(t,e):h(t,e):this.descending?-n:n};var k=function(t,e){this.dispose=e,w.call(this,t)};k.prototype=new w;var O=function(t){this.getSource=function(){return t}};O.prototype=new w,O.prototype.any=function(t){return null==t?this.getSource().length>0:w.prototype.any.apply(this,arguments)},O.prototype.count=function(t){return null==t?this.getSource().length:w.prototype.count.apply(this,arguments)},O.prototype.elementAt=function(t){var e=this.getSource();return 0<=t&&t<e.length?e[t]:w.prototype.elementAt.apply(this,arguments)},O.prototype.elementAtOrDefault=function(t,e){void 0===e&&(e=null);var n=this.getSource();return 0<=t&&t<n.length?n[t]:e},O.prototype.first=function(t){var e=this.getSource();return null==t&&e.length>0?e[0]:w.prototype.first.apply(this,arguments)},O.prototype.firstOrDefault=function(t,e){if(void 0!==t)return w.prototype.firstOrDefault.apply(this,arguments);e=t;var n=this.getSource();return n.length>0?n[0]:e},O.prototype.last=function(t){var e=this.getSource();return null==t&&e.length>0?e[e.length-1]:w.prototype.last.apply(this,arguments)},O.prototype.lastOrDefault=function(t,e){if(void 0!==t)return w.prototype.lastOrDefault.apply(this,arguments);e=t;var n=this.getSource();return n.length>0?n[n.length-1]:e},O.prototype.skip=function(t){var e=this.getSource();return new w((function(){var n;return new y((function(){n=t<0?0:t}),(function(){return n<e.length&&this.yieldReturn(e[n++])}),r.Blank)}))},O.prototype.takeExceptLast=function(t){return null==t&&(t=1),this.take(this.getSource().length-t)},O.prototype.takeFromLast=function(t){return this.skip(this.getSource().length-t)},O.prototype.reverse=function(){var t=this.getSource();return new w((function(){var e;return new y((function(){e=t.length}),(function(){return e>0&&this.yieldReturn(t[--e])}),r.Blank)}))},O.prototype.sequenceEqual=function(t,e){return(!(t instanceof O||t instanceof Array)||null!=e||w.from(t).count()==this.count())&&w.prototype.sequenceEqual.apply(this,arguments)},O.prototype.toJoinedString=function(t,e){var n=this.getSource();return null==e&&n instanceof Array?(null==t&&(t=""),n.join(t)):w.prototype.toJoinedString.apply(this,arguments)},O.prototype.getEnumerator=function(){var t=this.getSource(),e=-1;return{current:function(){return t[e]},moveNext:function(){return++e<t.length},dispose:r.Blank}};var C=function(t,e){this.prevSource=t,this.prevPredicate=e};C.prototype=new w,C.prototype.where=function(t){if((t=u(t)).length<=1){const e=this.prevPredicate,n=function(n){return e(n)&&t(n)};return new C(this.prevSource,n)}return w.prototype.where.call(this,t)},C.prototype.select=function(t){return(t=u(t)).length<=1?new S(this.prevSource,this.prevPredicate,t):w.prototype.select.call(this,t)},C.prototype.getEnumerator=function(){var t,e=this.prevPredicate,n=this.prevSource;return new y((function(){t=n.getEnumerator()}),(function(){for(;t.moveNext();)if(e(t.current()))return this.yieldReturn(t.current());return!1}),(function(){d(t)}))};var S=function(t,e,n){this.prevSource=t,this.prevPredicate=e,this.prevSelector=n};S.prototype=new w,S.prototype.where=function(t){return(t=u(t)).length<=1?new C(this,t):w.prototype.where.call(this,t)},S.prototype.select=function(t){if((t=u(t)).length<=1){const e=this.prevSelector,n=function(n){return t(e(n))};return new S(this.prevSource,this.prevPredicate,n)}return w.prototype.select.call(this,t)},S.prototype.getEnumerator=function(){var t,e=this.prevPredicate,n=this.prevSelector,r=this.prevSource;return new y((function(){t=r.getEnumerator()}),(function(){for(;t.moveNext();)if(null==e||e(t.current()))return this.yieldReturn(n(t.current()));return!1}),(function(){d(t)}))};var E=function(){var t=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e=function(t){return null===t?"null":void 0===t?"undefined":typeof t.toString===c?t.toString():Object.prototype.toString.call(t)},n=function(t,e){this.key=t,this.value=e,this.prev=null,this.next=null},i=function(){this.first=null,this.last=null};i.prototype={addLast:function(t){null!=this.last?(this.last.next=t,t.prev=this.last,this.last=t):this.first=this.last=t},replace:function(t,e){null!=t.prev?(t.prev.next=e,e.prev=t.prev):this.first=e,null!=t.next?(t.next.prev=e,e.next=t.next):this.last=e},remove:function(t){null!=t.prev?t.prev.next=t.next:this.first=t.next,null!=t.next?t.next.prev=t.prev:this.last=t.prev}};var o=function(t){this.countField=0,this.entryList=new i,this.buckets={},this.compareSelector=null==t?r.Identity:t};return o.prototype={add:function(r,i){var o=this.compareSelector(r),a=e(o),s=new n(r,i);if(t(this.buckets,a)){const t=this.buckets[a];for(let e=0;e<t.length;e++)if(this.compareSelector(t[e].key)===o)return this.entryList.replace(t[e],s),void(t[e]=s);t.push(s)}else this.buckets[a]=[s];this.countField++,this.entryList.addLast(s)},get:function(n){var r=this.compareSelector(n),i=e(r);if(t(this.buckets,i)){var o=this.buckets[i];for(let t=0;t<o.length;t++){const e=o[t];if(this.compareSelector(e.key)===r)return e.value}}},set:function(r,i){var o=this.compareSelector(r),a=e(o);if(t(this.buckets,a)){const t=this.buckets[a];for(let e=0;e<t.length;e++)if(this.compareSelector(t[e].key)===o){const o=new n(r,i);return this.entryList.replace(t[e],o),t[e]=o,!0}}return!1},contains:function(n){var r=this.compareSelector(n),i=e(r);if(!t(this.buckets,i))return!1;var o=this.buckets[i];for(let t=0;t<o.length;t++)if(this.compareSelector(o[t].key)===r)return!0;return!1},clear:function(){this.countField=0,this.buckets={},this.entryList=new i},remove:function(n){var r=this.compareSelector(n),i=e(r);if(t(this.buckets,i)){var o=this.buckets[i];for(let t=0;t<o.length;t++)if(this.compareSelector(o[t].key)===r)return this.entryList.remove(o[t]),o.splice(t,1),0==o.length&&delete this.buckets[i],void this.countField--}},count:function(){return this.countField},toEnumerable:function(){var t=this;return new w((function(){var e;return new y((function(){e=t.entryList.first}),(function(){if(null!=e){const t={key:e.key,value:e.value};return e=e.next,this.yieldReturn(t)}return!1}),r.Blank)}))}},o}(),T=function(t){this.count=function(){return t.count()},this.get=function(e){return w.from(t.get(e))},this.contains=function(e){return t.contains(e)},this.toEnumerable=function(){return t.toEnumerable().select((function(t){return new P(t.key,t.value)}))}},P=function(t,e){this.key=function(){return t},O.call(this,e)};P.prototype=new O;const A=w},4939:(t,e,n)=>{"use strict";n.d(e,{x1:()=>d});var r=n(6979),i=n(8719);const o={data:{type:Object,required:!0},options:{type:Object,default:()=>({})},plugins:{type:Array,default:()=>[]},datasetIdKey:{type:String,default:"label"},updateMode:{type:String,default:void 0}},a={type:{type:String,required:!0},...o},s="2"===r.i8[0]?(t,e)=>Object.assign(t,{attrs:e}):(t,e)=>Object.assign(t,e);function c(t){return(0,r.X3)(t)?(0,r.IU)(t):t}function l(t,e){t.labels=e}function u(t,e,n){const r=[];t.datasets=e.map((e=>{const i=t.datasets.find((t=>t[n]===e[n]));return i&&e.data&&!r.includes(i)?(r.push(i),Object.assign(i,e),i):{...e}}))}const f=(0,r.aZ)({props:a,setup(t,e){let{expose:n}=e;const o=(0,r.iH)(null),a=(0,r.XI)(null);n({chart:a});return(0,r.bv)((()=>{if(!o.value)return;const{type:e,data:n,options:s,plugins:c,datasetIdKey:f}=t,h=function(t,e){const n={labels:[],datasets:[]};return l(n,t.labels),u(n,t.datasets,e),n}(n,f),d=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t;return(0,r.X3)(e)?new Proxy(t,{}):t}(h,n);a.value=new i.kL(o.value,{type:e,data:d,options:{...s},plugins:c})})),(0,r.Jd)((()=>{const t=(0,r.IU)(a.value);t&&(t.destroy(),a.value=null)})),(0,r.YP)([()=>t.options,()=>t.data],((e,n)=>{let[i,o]=e,[s,f]=n;const h=(0,r.IU)(a.value);if(!h)return;let d=!1;if(i){const t=c(i),e=c(s);t&&t!==e&&(!function(t,e){const n=t.options;n&&e&&Object.assign(n,e)}(h,t),d=!0)}if(o){const e=c(o.labels),n=c(f.labels),r=c(o.datasets),i=c(f.datasets);e!==n&&(l(h.config.data,e),d=!0),r&&r!==i&&(u(h.config.data,r,t.datasetIdKey),d=!0)}d&&(e=>{e.update(t.updateMode)})(h)}),{deep:!0}),()=>(0,r.h)("canvas",{ref:o})}});function h(t,e){return i.kL.register(e),(0,r.aZ)({props:o,setup(e,n){let{expose:i}=n;const o=(0,r.XI)(null),a=t=>{o.value=t?.chart};return i({chart:o}),()=>(0,r.h)(f,s({ref:a},{type:t,...e}))}})}const d=h("line",i.ST)}}]);
//# sourceMappingURL=app-vendor.js.map;
